-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat(Tile): update Tile AI styles to phase 2 spec #15596
feat(Tile): update Tile AI styles to phase 2 spec #15596
Conversation
✅ Deploy Preview for v11-carbon-react ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
When checking for the hover state, I realized my selected state designs have been inconsistent with the new carbon tile designs. It should not have a background change, only a border change.
a172159
to
a11cd20
Compare
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.
🔥
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.
Yes! That looks good! Ship it 🎉 👍
8114072
### Related Ticket(s) Follows: carbon-design-system/carbon#15596 & carbon-design-system/carbon#15591 ### Description Updates Tile with carbon gradient ### Changelog **Changed** - new carbon upgrade (using RC atm -> will need to update to full release) - updated tile slug styles like core - the new core styles fix an error with number-input slug revert styles <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) -->
### Related Ticket(s) Follows: carbon-design-system/carbon#15596 & carbon-design-system/carbon#15591 ### Description Updates Tile with carbon gradient ### Changelog **Changed** - new carbon upgrade (using RC atm -> will need to update to full release) - updated tile slug styles like core - the new core styles fix an error with number-input slug revert styles <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) -->
### Related Ticket(s) Follows: carbon-design-system#15596 & carbon-design-system#15591 ### Description Updates Tile with carbon gradient ### Changelog **Changed** - new carbon upgrade (using RC atm -> will need to update to full release) - updated tile slug styles like core - the new core styles fix an error with number-input slug revert styles <!-- React and Web Component deploy previews are enabled by default. --> <!-- To enable additional available deploy previews, apply the following --> <!-- labels for the corresponding package: --> <!-- *** "test: e2e": Codesandbox examples and e2e integration tests --> <!-- *** "package: services": Services --> <!-- *** "package: utilities": Utilities --> <!-- *** "RTL": React / Web Components (RTL) --> <!-- *** "feature flag": React / Web Components (experimental) -->
Closes #15595
Updates
Tile
to new phase 2 AI specChangelog
New
ClickableTile
andSelectableTile
hover statescallout-gradient
mixin that takes in a background. Right now, only configured to handlelayer
(Tile
) and defaults tobackground
(Callout
)box-shadow
added toTile
Changed
border-radius
from16px
to8px
on theTile
with rounded cornersRemoved
Testing / Reviewing
Go to
unstable__Slug --> Examples --> Tile
and ensure all states match the spec.Questions
@aagonzales is there a state for selected + hover?