-
Notifications
You must be signed in to change notification settings - Fork 106
feat(ui-table): migrate table to new theming system #2315
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
base: v12
Are you sure you want to change the base?
Conversation
|
d62c911 to
f3f5d41
Compare
f3f5d41 to
8b4df57
Compare
adamlobler
left a comment
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.
I just checked it visually, it looks good on every theme 🙌
|
Can you please update the upgrade guide with the removed/renamed tokens? |
| componentTheme: NewComponentTypes['TableRowHeader'], | ||
| props: TableRowHeaderProps | ||
| ): TableRowHeaderStyle => { | ||
| const { textAlign } = props |
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 is a borderColor token in TableRowHeader which I don't see being used here.
| type TableBodyProps = TableBodyOwnProps & | ||
| WithStyleProps<TableBodyTheme, TableBodyStyle> & | ||
| OtherHTMLAttributes<TableBodyOwnProps> | ||
| WithStyleProps<null, TableBodyStyle> & { | ||
| themeOverride?: ThemeOverrideValue | ||
| } & OtherHTMLAttributes<TableBodyOwnProps> |
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.
I thought adding the themeOverride param was only needed for the functional components using useStyle? see: https://instructure.slack.com/archives/G01DAT0KGKE/p1764326076310209

Closes INSTUI-4810
Test:
Check if every token is used (use the excel sheet in the JIRA ticket)