Skip to content

Commit

Permalink
[Button] Consolidate se23 logic and styles (#10040)
Browse files Browse the repository at this point in the history
Resolves #9922.

Consolidates se23 beta logic and styles for `Button` and `_button.scss`.
Adds new styles where necessary in `Button.scss` to fix specificity
issues with styling.
Fixes Button tests.

[Storybook](https://5d559397bae39100201eedc1-uauurpoyku.chromatic.com/?path=/story/all-components-button--all)
[Prod
Storybook](https://storybook.polaris.shopify.com/?path=/story/all-components-button--all&globals=polarisSummerEditions2023:true)

> Things to tophat: UI and interactive states (i.e., focus, pressed,
hover) at different breakpoints

🖥 [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)

- [x] Tested on
[mobile](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting.md#cross-browser-testing)
- [x] 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
- [ ] [Tophatted
documentation](https://github.com/Shopify/polaris/blob/main/documentation/Tophatting%20documentation.md)
changes in the style guide
  • Loading branch information
laurkim authored and sam-b-rose committed Aug 15, 2023
1 parent cf09ee0 commit 071cc93
Show file tree
Hide file tree
Showing 4 changed files with 410 additions and 775 deletions.
Loading

0 comments on commit 071cc93

Please sign in to comment.