-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[Layout foundations] Add LegacyCard
component
#8238
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
Merged
Merged
Conversation
This file contains hidden or 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
9b93031
to
5cfd737
Compare
size-limit report 📦
|
5cfd737
to
bd3db91
Compare
LegacyCard
LegacyCard
component
aveline
approved these changes
Feb 1, 2023
Co-authored-by: aveline <aveline@users.noreply.github.com>
ec6ce53
to
2b642d7
Compare
sarahill
approved these changes
Feb 2, 2023
Merged
laurkim
pushed a commit
that referenced
this pull request
Feb 3, 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@10.26.0 ### Minor Changes - [#8240](#8240) [`31abdab37`](31abdab) Thanks [@laurkim](https://github.com/laurkim)! - Added `LegacyStack` component - [#8238](#8238) [`bb8b551d4`](bb8b551) Thanks [@laurkim](https://github.com/laurkim)! - Added `LegacyCard` component ### Patch Changes - [#8256](#8256) [`43776be71`](43776be) Thanks [@aveline](https://github.com/aveline)! - - Fixed `Bleed` width behavior - Fixed `Banner` content width - [#8244](#8244) [`0ee432500`](0ee4325) Thanks [@samrose3](https://github.com/samrose3)! - Disallow text-transform property in Stylelint Polaris - Updated dependencies \[[`1b1394d32`](1b1394d)]: - @shopify/polaris-tokens@6.4.0 ## @shopify/polaris-tokens@6.4.0 ### Minor Changes - [#8245](#8245) [`1b1394d32`](1b1394d) Thanks [@lgriffee](https://github.com/lgriffee)! - Added new z-index tokens that will be the default in v7.0.0 ## @shopify/stylelint-polaris@5.2.0 ### Minor Changes - [#8244](#8244) [`0ee432500`](0ee4325) Thanks [@samrose3](https://github.com/samrose3)! - Disallow text-transform property in Stylelint Polaris ### Patch Changes - Updated dependencies \[[`1b1394d32`](1b1394d)]: - @shopify/polaris-tokens@6.4.0 ## @shopify/polaris-cli@0.1.2 ### Patch Changes - Updated dependencies \[]: - @shopify/polaris-migrator@0.11.4 ## @shopify/polaris-migrator@0.11.4 ### Patch Changes - Updated dependencies \[[`1b1394d32`](1b1394d), [`0ee432500`](0ee4325)]: - @shopify/polaris-tokens@6.4.0 - @shopify/stylelint-polaris@5.2.0 ## polaris.shopify.com@0.32.0 ### Minor Changes - [#8240](#8240) [`31abdab37`](31abdab) Thanks [@laurkim](https://github.com/laurkim)! - Added `LegacyStack` component - [#8238](#8238) [`bb8b551d4`](bb8b551) Thanks [@laurkim](https://github.com/laurkim)! - Added `LegacyCard` component ### Patch Changes - Updated dependencies \[[`43776be71`](43776be), [`31abdab37`](31abdab), [`1b1394d32`](1b1394d), [`0ee432500`](0ee4325), [`bb8b551d4`](bb8b551)]: - @shopify/polaris@10.26.0 - @shopify/polaris-tokens@6.4.0 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Merged
juzser
pushed a commit
to juzser/polaris
that referenced
this pull request
Jul 27, 2023
### WHY are these changes introduced? Resolves Shopify#8231. Creating a `LegacyCard` component that is a duplicate of the existing `Card` in light of upcoming work to replace this with the `AlphaCard` component. ### WHAT is this pull request doing? Adds `LegacyCard` to `polaris-react`. Adds `LegacyCard` page to style guide with examples and prop table. <!-- ℹ️ Delete the following for small / trivial changes --> ### How to 🎩 🖥 [Local development instructions](https://github.com/Shopify/polaris/blob/main/README.md#local-development) 🗒 [General tophatting guidelines](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting.md) 📄 [Changelog guidelines](https://github.com/Shopify/polaris/blob/main/.github/CONTRIBUTING.md#changelog) ### 🎩 checklist - [ ] Tested on [mobile](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting.md#cross-browser-testing) - [ ] Tested on [multiple browsers](https://help.shopify.com/en/manual/shopify-admin/supported-browsers) - [ ] Tested for [accessibility](https://github.com/Shopify/polaris/blob/main/documentation/Accessibility%20testing.md) - [ ] Updated the component's `README.md` with documentation changes - [x] [Tophatted documentation](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting%20documentation.md) changes in the style guide --------- Co-authored-by: aveline <aveline@users.noreply.github.com>
juzser
pushed a commit
to juzser/polaris
that referenced
this pull request
Jul 27, 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@10.26.0 ### Minor Changes - [Shopify#8240](Shopify#8240) [`31abdab37`](Shopify@31abdab) Thanks [@laurkim](https://github.com/laurkim)! - Added `LegacyStack` component - [Shopify#8238](Shopify#8238) [`bb8b551d4`](Shopify@bb8b551) Thanks [@laurkim](https://github.com/laurkim)! - Added `LegacyCard` component ### Patch Changes - [Shopify#8256](Shopify#8256) [`43776be71`](Shopify@43776be) Thanks [@aveline](https://github.com/aveline)! - - Fixed `Bleed` width behavior - Fixed `Banner` content width - [Shopify#8244](Shopify#8244) [`0ee432500`](Shopify@0ee4325) Thanks [@samrose3](https://github.com/samrose3)! - Disallow text-transform property in Stylelint Polaris - Updated dependencies \[[`1b1394d32`](Shopify@1b1394d)]: - @shopify/polaris-tokens@6.4.0 ## @shopify/polaris-tokens@6.4.0 ### Minor Changes - [Shopify#8245](Shopify#8245) [`1b1394d32`](Shopify@1b1394d) Thanks [@lgriffee](https://github.com/lgriffee)! - Added new z-index tokens that will be the default in v7.0.0 ## @shopify/stylelint-polaris@5.2.0 ### Minor Changes - [Shopify#8244](Shopify#8244) [`0ee432500`](Shopify@0ee4325) Thanks [@samrose3](https://github.com/samrose3)! - Disallow text-transform property in Stylelint Polaris ### Patch Changes - Updated dependencies \[[`1b1394d32`](Shopify@1b1394d)]: - @shopify/polaris-tokens@6.4.0 ## @shopify/polaris-cli@0.1.2 ### Patch Changes - Updated dependencies \[]: - @shopify/polaris-migrator@0.11.4 ## @shopify/polaris-migrator@0.11.4 ### Patch Changes - Updated dependencies \[[`1b1394d32`](Shopify@1b1394d), [`0ee432500`](Shopify@0ee4325)]: - @shopify/polaris-tokens@6.4.0 - @shopify/stylelint-polaris@5.2.0 ## polaris.shopify.com@0.32.0 ### Minor Changes - [Shopify#8240](Shopify#8240) [`31abdab37`](Shopify@31abdab) Thanks [@laurkim](https://github.com/laurkim)! - Added `LegacyStack` component - [Shopify#8238](Shopify#8238) [`bb8b551d4`](Shopify@bb8b551) Thanks [@laurkim](https://github.com/laurkim)! - Added `LegacyCard` component ### Patch Changes - Updated dependencies \[[`43776be71`](Shopify@43776be), [`31abdab37`](Shopify@31abdab), [`1b1394d32`](Shopify@1b1394d), [`0ee432500`](Shopify@0ee4325), [`bb8b551d4`](Shopify@bb8b551)]: - @shopify/polaris@10.26.0 - @shopify/polaris-tokens@6.4.0 Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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?
Resolves #8231.
Creating a
LegacyCard
component that is a duplicate of the existingCard
in light of upcoming work to replace this with theAlphaCard
component.WHAT is this pull request doing?
Adds
LegacyCard
topolaris-react
.Adds
LegacyCard
page to style guide with examples and prop table.How to 🎩
🖥 Local development instructions
🗒 General tophatting guidelines
📄 Changelog guidelines
🎩 checklist
README.md
with documentation changes