-
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
Remove deprecated v8 custom properties, functions, mixins, and mixin maps from stylelint-polaris
#7622
Comments
@alex-page Is this still something we want to do within this project scope? |
This needs to happen in v11 imo |
stylelint-polaris
stylelint-polaris
stylelint-polaris
stylelint-polaris
stylelint-polaris
Creating a audit here of which deprecated v8 custom properties, functions, mixins, and maps we can remove from Custom Properties
Functions & Mixins
Mixin Maps
In addition to removing the above mixins/functions and maps we should also remove these values from the |
stylelint-polaris
stylelint-polaris
stylelint-polaris
stylelint-polaris
…maps from `stylelint-polaris` (#8455) ### WHY are these changes introduced? Fixes #7622 <hr> 🚨 **Before this PR ships we need to remove the same values from the `_legacy-polaris-v8` file if they exist.** 🚨 - [x] Shopify/web#84457 <hr> ### WHAT is this pull request doing? Removes deprecated v8 custom properties, functions, mixins, and maps from `stylelint-polaris` that do not exist in web (see the linked issue above for a list of these values). --------- Co-authored-by: Aaron Casanova <[email protected]>
## @shopify/polaris v11.0.0 ### Dependencies - [x] #8200 ### NodeJS - [x] #8201 ### TypeScript - [x] #8203 ### Components - [x] #7349 - [x] #7397 - [x] #7962 - [x] #8187 - [x] #8184 - [x] #8206 - [x] #7990 - [x] #8468 - [x] #8577 - [x] #8631 - [x] #8962 ## @shopify/polaris-tokens v7.0.0 ### Tokens - [x] #6920 - [x] #8245 - [x] #4826 - [x] #8405 ## @shopify/stylelint-polaris v7.0.0 - [x] #7622 - [x] #8419 # Post @shopify/polaris v11 shipping - [ ] #8420 ## Low priority or not ready breaking changes - [x] Remove deprecated layout components - [x] Release Layout primitive components --------- Co-authored-by: Tim Layton <[email protected]> Co-authored-by: Ryan Musgrave <[email protected]> Co-authored-by: Ryan Musgrave <[email protected]> Co-authored-by: aveline <[email protected]> Co-authored-by: Kyle Durand <[email protected]> Co-authored-by: Matt Gregg <[email protected]> Co-authored-by: Alex Page <[email protected]> Co-authored-by: Lo Kim <[email protected]> Co-authored-by: Ben Scott <[email protected]> Co-authored-by: Aaron Casanova <[email protected]> Co-authored-by: Sam Rose <[email protected]> Co-authored-by: Sam Rose <[email protected]> Co-authored-by: Marc Thomas <[email protected]> Co-authored-by: Alex Page <[email protected]> Co-authored-by: Chloe Rice <[email protected]> Co-authored-by: Chloe Rice <[email protected]> Co-authored-by: Joe Thomas <[email protected]> Co-authored-by: Yuraima Estevez <[email protected]> Co-authored-by: shopify-github-actions-access[bot] <109624739+shopify-github-actions-access[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…maps from `stylelint-polaris` (Shopify#8455) ### WHY are these changes introduced? Fixes Shopify#7622 <hr> 🚨 **Before this PR ships we need to remove the same values from the `_legacy-polaris-v8` file if they exist.** 🚨 - [x] https://github.com/Shopify/web/pull/84457 <hr> ### WHAT is this pull request doing? Removes deprecated v8 custom properties, functions, mixins, and maps from `stylelint-polaris` that do not exist in web (see the linked issue above for a list of these values). --------- Co-authored-by: Aaron Casanova <[email protected]>
## @shopify/polaris v11.0.0 ### Dependencies - [x] Shopify#8200 ### NodeJS - [x] Shopify#8201 ### TypeScript - [x] Shopify#8203 ### Components - [x] Shopify#7349 - [x] Shopify#7397 - [x] Shopify#7962 - [x] Shopify#8187 - [x] Shopify#8184 - [x] Shopify#8206 - [x] Shopify#7990 - [x] Shopify#8468 - [x] Shopify#8577 - [x] Shopify#8631 - [x] Shopify#8962 ## @shopify/polaris-tokens v7.0.0 ### Tokens - [x] Shopify#6920 - [x] Shopify#8245 - [x] Shopify#4826 - [x] Shopify#8405 ## @shopify/stylelint-polaris v7.0.0 - [x] Shopify#7622 - [x] Shopify#8419 # Post @shopify/polaris v11 shipping - [ ] Shopify#8420 ## Low priority or not ready breaking changes - [x] Remove deprecated layout components - [x] Release Layout primitive components --------- Co-authored-by: Tim Layton <[email protected]> Co-authored-by: Ryan Musgrave <[email protected]> Co-authored-by: Ryan Musgrave <[email protected]> Co-authored-by: aveline <[email protected]> Co-authored-by: Kyle Durand <[email protected]> Co-authored-by: Matt Gregg <[email protected]> Co-authored-by: Alex Page <[email protected]> Co-authored-by: Lo Kim <[email protected]> Co-authored-by: Ben Scott <[email protected]> Co-authored-by: Aaron Casanova <[email protected]> Co-authored-by: Sam Rose <[email protected]> Co-authored-by: Sam Rose <[email protected]> Co-authored-by: Marc Thomas <[email protected]> Co-authored-by: Alex Page <[email protected]> Co-authored-by: Chloe Rice <[email protected]> Co-authored-by: Chloe Rice <[email protected]> Co-authored-by: Joe Thomas <[email protected]> Co-authored-by: Yuraima Estevez <[email protected]> Co-authored-by: shopify-github-actions-access[bot] <109624739+shopify-github-actions-access[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
…maps from `stylelint-polaris` (Shopify#8455) ### WHY are these changes introduced? Fixes Shopify#7622 <hr> 🚨 **Before this PR ships we need to remove the same values from the `_legacy-polaris-v8` file if they exist.** 🚨 - [x] Shopify/web#84457 <hr> ### WHAT is this pull request doing? Removes deprecated v8 custom properties, functions, mixins, and maps from `stylelint-polaris` that do not exist in web (see the linked issue above for a list of these values). --------- Co-authored-by: Aaron Casanova <[email protected]>
Remove the following deprecated v8 custom properties, functions, mixins, and maps from
stylelint-polaris
(can happen on main branch before v11). If any of these exist in the_legacy-polaris-v8.scss
file they should be removed if possible.Remove Now
Custom Properties
--p-badge-font-weight
--p-badge-mix-blend-mode
--p-button-drop-shadow
--p-button-font-weight
--p-button-inner-shadow
--p-button-pressed-inner-shadow
--p-card-shadow
--p-duration-1-0-0
--p-duration-1-5-0
--p-icon-size
--p-modal-shadow
--p-non-null-content
--p-popover-shadow
--p-override-none
--p-override-one
--p-override-transparent
--p-override-visible
--p-override-zero
--p-range-slider-thumb-scale
--p-text-field-focus-ring-border-radius
--p-top-bar-shadow
Functions & Mixins
border()
border-radius()
border-width()
color-icon()
duration()
easing()
font-family()
icon-size()
px()
skeleton-page-header-layout()
skeleton-page-secondary-actions-layout()
spacing()
Mixin Maps
$duration-data
$polaris-duration-map
$easing-data
$typography-condensed
$font-family-data
$spacing-data
$actions-vertical-spacing
$border-radius-data
$border-width-data
$border-radius-data
$borders-data
Remove In the Future
The following need to be removed from web before we can remove them from stylelint:
Custom Properties
--p-border-radius-wide
Functions & Mixins
available-names()
color()
color-multiply()
em()
filter()
hidden-when-printing()
high-contrast-border()
high-contrast-outline()
map-extend()
ms-high-contrast-color()
print-hidden()
rem()
shadow()
skeleton-shimmer()
state()
unstyled-link()
unstyled-list()
when-not-printing()
z-index()
Mixin Maps
$polaris-colors
color()
)$color-filter-palette-data
filter()
)$color-palette-data
color()
)$base-font-size
rem()
)$line-height-data
line-height()
)$font-size-data
font-size()
)$default-browser-font-size
em()
)$layout-width-data
layout-width()
)$navigation-width
layout-width()
)$small-thumbnail-size
thumbnail-size()
)$large-thumbnail-size
thumbnail-size()
)$medium-thumbnail-size
thumbnail-size()
)$thumbnail-sizes
thumbnail-size()
)$polaris-spacing
$shadows-data
shadow()
)$fixed-element-stacking-order
$global-elements
$skeleton-shimmer-duration
skeleton-shimmer()
The text was updated successfully, but these errors were encountered: