-
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
Create migration for replacing v11 space
custom properties
#10305
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
aaronccasanova
approved these changes
Sep 18, 2023
/snapit |
🫰✨ Thanks @lgriffee! Your snapshots have been published to npm. Test the snapshots by updating your yarn add @shopify/polaris-migrator@0.0.0-snapshot-release-20230918165951 yarn add @shopify/polaris@0.0.0-snapshot-release-20230918165951 |
This was referenced Sep 18, 2023
Merged
laurkim
pushed a commit
that referenced
this pull request
Oct 4, 2023
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @shopify/polaris-migrator@0.23.0 ### Minor Changes - [#10579](#10579) [`b5a3622ca`](b5a3622) Thanks [@aaronccasanova](https://github.com/aaronccasanova)! - Created migration to replace deprecated `color` custom properties in Polaris v12.0.0 - [#10304](#10304) [`eb93b7f1c`](eb93b7f) Thanks [@lgriffee](https://github.com/lgriffee)! - Created migration to replace deprecated `font` custom properties in polaris-react v12.0.0 - [#10506](#10506) [`d901a07a3`](d901a07) Thanks [@lgriffee](https://github.com/lgriffee)! - Created migration to replace deprecated `border` custom properties in polaris-react v12.0.0 - [#10305](#10305) [`1b36b9256`](1b36b92) Thanks [@lgriffee](https://github.com/lgriffee)! - Created migration to replace deprecated `space` custom properties in polaris-react v12.0.0 - [#10306](#10306) [`dbae87e58`](dbae87e) Thanks [@lgriffee](https://github.com/lgriffee)! - Created migration to replace deprecated `shadow` custom properties in polaris-react v12.0.0 ## @shopify/polaris@11.26.0 ### Minor Changes - [#10788](#10788) [`82f10e830`](82f10e8) Thanks [@mrcthms](https://github.com/mrcthms)! - Deprecated the IndexFiltersManager component ## polaris.shopify.com@0.58.5 ### Patch Changes - Updated dependencies \[[`82f10e830`](82f10e8)]: - @shopify/polaris@11.26.0 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
mrcthms
pushed a commit
that referenced
this pull request
Oct 12, 2023
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. - [#10579](#10579) [`b5a3622ca`](b5a3622) Thanks [@aaronccasanova](https://github.com/aaronccasanova)! - Created migration to replace deprecated `color` custom properties in Polaris v12.0.0 - [#10304](#10304) [`eb93b7f1c`](eb93b7f) Thanks [@lgriffee](https://github.com/lgriffee)! - Created migration to replace deprecated `font` custom properties in polaris-react v12.0.0 - [#10506](#10506) [`d901a07a3`](d901a07) Thanks [@lgriffee](https://github.com/lgriffee)! - Created migration to replace deprecated `border` custom properties in polaris-react v12.0.0 - [#10305](#10305) [`1b36b9256`](1b36b92) Thanks [@lgriffee](https://github.com/lgriffee)! - Created migration to replace deprecated `space` custom properties in polaris-react v12.0.0 - [#10306](#10306) [`dbae87e58`](dbae87e) Thanks [@lgriffee](https://github.com/lgriffee)! - Created migration to replace deprecated `shadow` custom properties in polaris-react v12.0.0 - [#10788](#10788) [`82f10e830`](82f10e8) Thanks [@mrcthms](https://github.com/mrcthms)! - Deprecated the IndexFiltersManager component - Updated dependencies \[[`82f10e830`](82f10e8)]: - @shopify/polaris@11.26.0 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
mrcthms
pushed a commit
that referenced
this pull request
Oct 12, 2023
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. - [#10579](#10579) [`b5a3622ca`](b5a3622) Thanks [@aaronccasanova](https://github.com/aaronccasanova)! - Created migration to replace deprecated `color` custom properties in Polaris v12.0.0 - [#10304](#10304) [`eb93b7f1c`](eb93b7f) Thanks [@lgriffee](https://github.com/lgriffee)! - Created migration to replace deprecated `font` custom properties in polaris-react v12.0.0 - [#10506](#10506) [`d901a07a3`](d901a07) Thanks [@lgriffee](https://github.com/lgriffee)! - Created migration to replace deprecated `border` custom properties in polaris-react v12.0.0 - [#10305](#10305) [`1b36b9256`](1b36b92) Thanks [@lgriffee](https://github.com/lgriffee)! - Created migration to replace deprecated `space` custom properties in polaris-react v12.0.0 - [#10306](#10306) [`dbae87e58`](dbae87e) Thanks [@lgriffee](https://github.com/lgriffee)! - Created migration to replace deprecated `shadow` custom properties in polaris-react v12.0.0 - [#10788](#10788) [`82f10e830`](82f10e8) Thanks [@mrcthms](https://github.com/mrcthms)! - Deprecated the IndexFiltersManager component - Updated dependencies \[[`82f10e830`](82f10e8)]: - @shopify/polaris@11.26.0 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
AnnaCheba
pushed a commit
to AnnaCheba/polaris
that referenced
this pull request
Apr 22, 2024
…#10305) ### WHY are these changes introduced? Fixes Shopify#10445 ### WHAT is this pull request doing? This PR creates a migration for deprecated `space` custom properties in v12 using the generic codemod [`styles-replace-custom-property`](Shopify#8265). #### v12-styles-replace-custom-property-space | Deprecated CSS Custom Property | Replacement Value | | ----------------------------------------- | ---------------------------------- | | `--p-space-05` | `--p-space-050` | | `--p-space-1` | `--p-space-100` | | `--p-space-1_5-experimental` | `--p-space-150` | | `--p-space-2` | `--p-space-200` | | `--p-space-3` | `--p-space-300` | | `--p-space-4` | `--p-space-400` | | `--p-space-5` | `--p-space-500` | | `--p-space-6` | `--p-space-600` | | `--p-space-8` | `--p-space-800` | | `--p-space-10` | `--p-space-1000` | | `--p-space-12` | `--p-space-1200` | | `--p-space-16` | `--p-space-1600` | | `--p-space-20` | `--p-space-2000` | | `--p-space-24` | `--p-space-2400` | | `--p-space-28` | `--p-space-2800` | | `--p-space-32` | `--p-space-3200` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
WHY are these changes introduced?
Fixes #10445
WHAT is this pull request doing?
This PR creates a migration for deprecated
space
custom properties in v12 using the generic codemodstyles-replace-custom-property
.v12-styles-replace-custom-property-space
--p-space-05
--p-space-050
--p-space-1
--p-space-100
--p-space-1_5-experimental
--p-space-150
--p-space-2
--p-space-200
--p-space-3
--p-space-300
--p-space-4
--p-space-400
--p-space-5
--p-space-500
--p-space-6
--p-space-600
--p-space-8
--p-space-800
--p-space-10
--p-space-1000
--p-space-12
--p-space-1200
--p-space-16
--p-space-1600
--p-space-20
--p-space-2000
--p-space-24
--p-space-2400
--p-space-28
--p-space-2800
--p-space-32
--p-space-3200