-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Polaris v9 #4910
Comments
The web folks have a ticket to investigate using dart-sass as node-sass has been deprecated for a while. Using dart-sass with polaris-react's public API spits out lots of deprecation warnings. I pushed for the removal of the rem/em/px functions as the vast majority of those deprecation warnings are due to the usage of those functions. I've been telling folks "lets wait till polaris v9 as that'll remove most of the deprecation warnings and thus make the investigation easier". Would it be possible to reconsider this stance, and either get |
@BPScott removing |
Per #4725 |
@BPScott what approach would you suggest for quieting the |
It's not really fixable in place unfortunately. We'd need to reduce usage of I had an idea for how that could be done in #4861 (comment)
|
#4937 removes the |
As we'll be removing lots of the content within |
Overview
Timeline
Prepare for RC
@import '../../styles/common';
in components #5019rem
v9
withmain
#5002main
#5003Blockers
Task Breakdown
Communication strategy
Documentation page on polaris.shopify.com
Migration guide
polaris-tokens
package #4883Cleanup
filter()
function table inside of a details dropdown in the migration guide #5130/web
Deprecate public api
SCSS functions
Replace SCSS functions related to tokens with css custom properties. If a scss function can be replaced with a css custom property it should. Document any scss functions that cannot be removed right now in Follow Up Tasks below.
foundation/_accessibility.scss
@mixin high-contrast-outline
with outline/border tokens #4913@mixin high-contrast-border
with border tokens #4914foundation/_borders.scss
@function border
with border tokens #4915foundation/_colors.scss
@function ms-high-contrast-color
with values #4916foundation/_typography.scss
@function font-family
with new token(s) #4918foundation/_utilities.scss
@function available-names
#4920@function map-extend
#4921@function em
shared/_icons.scss
icon-size()
with tokens #4923shared/_interaction-state.scss
@mixin state()
with value #4988shared/_layout.scss
shared/_layout.scss
#4926shared/_links.scss
@mixin unstyled-link()
with hard coded #4927shared/_lists.scss
@mixin unstyled-list
with hard coded #4928shared/_printing.scss
@mixin when-printing
with value #4985@mixin when-not-printing
with value #4986shared/_private-breakpoints.scss
shared/_private-breakpoints.scss
#4930shared/_skeleton.scss
@mixin skeleton-page-secondary-actions-layout
with value #4983@mixin skeleton-page-header-layout
with value #4984shared/_printing.scss
shared/_printing.scss
#4929The text was updated successfully, but these errors were encountered: