-
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
Add TypeScript types to the xTile family of components #13536 #13631
Add TypeScript types to the xTile family of components #13536 #13631
Conversation
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
69b7d42
to
02baaab
Compare
✅ Deploy Preview for carbon-components-react ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
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.
Mostly LGTM, I'm doing some research on the name
& value
props to confirm we're good to remove but in the meantime, looks like some CI checks are failing and also I think we should add the light
prop to the components' interface. See https://github.com/carbon-design-system/carbon/blob/main/packages/react/src/components/ComboBox/ComboBox.tsx#L170
TIA!
482fd81
to
8842ea6
Compare
@kubijo thanks for your work so far on this one. There's some remaining feedback to address here I think and status checks are failing. |
8842ea6
to
184ff1c
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.
This is most of the way there, looks like there's one outstanding comment @kubijo #13631 (comment). Other than that LGTM
1ec242e
to
2af4627
Compare
2af4627
to
2f5e54a
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.
LGTM!
Refs carbon-design-system#13537, carbon-design-system#13631. Update PropTypes so "name" and "value" are reported as deprecated. (The description already included @deprecated, but that's different.) More importantly, stop marking "value" as required. Properties cannot be deprecated and required at the same time.
Refs carbon-design-system#13537, carbon-design-system#13631. Update PropTypes so "name" and "value" are reported as deprecated. (The description already included @deprecated, but that's different.) More importantly, stop marking "value" as required. Properties cannot be deprecated and required at the same time.
* fix(selectable-tile): don't require deprecated property "value" Refs #13537, #13631. Update PropTypes so "name" and "value" are reported as deprecated. (The description already included @deprecated, but that's different.) More importantly, stop marking "value" as required. Properties cannot be deprecated and required at the same time. * fix(selectable-tile): remove deprecated properties from test Refs #13537, #13631.
I previously fixed PropTypes but forgot to update the Typescript declaration. Fixes carbon-design-system#16977. Refs carbon-design-system#13537, carbon-design-system#13631.
I previously fixed PropTypes but forgot to update the Typescript declaration. Fixes carbon-design-system#16977. Refs carbon-design-system#13537, carbon-design-system#13631.
Closes #13542, #13536, #13537
Changelog
New
Tile
,SelectableTile
,ExpandableTile
,TileAboveTheFoldContent
,TileBelowTheFoldContent