-
Notifications
You must be signed in to change notification settings - Fork 56
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: table updates to match UI Kit v1.4.3 #1501
Conversation
Deploy preview for fundamental ready! Built with commit 9f389c3 |
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.
-
The Column Header bar should be 40px tall.
-
The color strip on the left of the rows should have 4 px rounded corners on top and bottom left corners.
-
Can we also double check that the link text in the rows is the correct Action 1 color? It doesn't look right.
-
Can we confirm that the spacing from the colored marker and the check box is 12px?
@LeoT7508 all changes are posted, pls review again - https://deploy-preview-1501--fundamental.netlify.com/components/table.html |
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.
Looks like the row heights are 50px, they should be 60px.
Can we also make sure that link text is the right color? (0A6ED1)
@LeoT7508 - this sounds like scope creep. This PR is about adding highlight support for table rows. Either this PR needs to be retitled, or non-semantic color work needs to happen in another PR. |
This is part of the overall tables updates. I will name the PR to reflect the full scope of the changes. |
Cool, we can handle those other pieces later. |
I looked into the row height. The default height is if you agree, pls approve the PR. |
I don't know if that totally makes sense. Because if we have different elements in rows then the row heights will vary and the tables will look broken. What issues will we run into with more complex scenarios? I prefer having a consistent design vs something that could vary and not look right. |
We have dealt with those, but we should make the base size 60 always unless we have 2 lines of text. |
The cell height is controlled by padding. We can set to 60px for sure plain text, but the height will increase if we add any component, for example, an identifier or a button. and we will quickly run into verticle alignment issues if we set a fixed height of 60px let's get on a call. I can explain the issue. |
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.
Changes look good, padding inside table rows make sense.
* add semantic highlighting support for table rows
Closes #1500
adds semantic highlighting support for table rows
Test
Changelog
New
fd-table__row--valid
,fd-table__row--warning
,fd-table__row--error
andfd-table__row--information
modifiers for semantic row highlightingChanged
nothing
Removed
nothing