-
Notifications
You must be signed in to change notification settings - Fork 221
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
chore: Combine Icon Buttons with Primary, Secondary and Tertiary #1477
chore: Combine Icon Buttons with Primary, Secondary and Tertiary #1477
Conversation
… mc-icon-buttons-mapping
Test summaryRun details
View run in Cypress Dashboard ➡️ This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard |
Co-authored-by: Nicholas Boll <[email protected]>
… mc-icon-buttons-mapping
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, Manny! Just a bit of cleanup, but it's looking solid overall.
modules/preview-react/breadcrumbs/lib/Breadcrumbs/Dropdown/Button.tsx
Outdated
Show resolved
Hide resolved
modules/preview-react/breadcrumbs/lib/Breadcrumbs/Dropdown/Button.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Alan B Smith <[email protected]>
Co-authored-by: Alan B Smith <[email protected]>
Co-authored-by: Alan B Smith <[email protected]>
Co-authored-by: Alan B Smith <[email protected]>
Co-authored-by: Raisa Primerova <[email protected]>
modules/preview-react/breadcrumbs/lib/Breadcrumbs/Dropdown/Button.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ship it, @mannycarrera4. Great work! 🚀
* fix(popup): Remove containerElement prop from Popper * chore!: Combine Icon Buttons with Primary, Secondary and Tertiary (#1477) Fixes: #1379 [category:Components] - Combined Icon Buttons with Primary, Secondary, and Tertiary buttons - Remove IconButton component - Add a new XS, L sizes - Removed the `toggled` prop when migrating over Icon Buttons - Converted `SegmentedControl` into a compound component and it no longer renders `IconButton` as children - Changed the values of `IconPosition`: `left` | `right` - > `start` | `end` - Refactored `AccentIcon`, `AppletIcon`, `Graphic`, `Icon`, `Svg`, `SystemIcon`, and `SystemIconCircle` to use create component and remove `iconRef` prop and now just pass the ref forward - Remove `dataLabel` prop from `PrimaryButton` and `SecondaryButton` * feat(popup): Add codemod to remove containerElement prop from Popper Co-authored-by: Manuel Carrera <[email protected]> Co-authored-by: Alan B Smith <[email protected]>
Summary
Fixes: #1379
BREAKING CHANGES
toggled
prop when migrating over Icon ButtonsSegmentedControl
into a compound component and it no longer rendersIconButton
as childrenIconPosition
:left
|right
- >start
|end
AccentIcon
,AppletIcon
,Graphic
,Icon
,Svg
,SystemIcon
, andSystemIconCircle
to use create component and removeiconRef
prop and now just pass the ref forwarddataLabel
prop fromPrimaryButton
andSecondaryButton
Checklist