-
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
fix: Revert spaceNumber values to pixel values and deprecate it #2345
fix: Revert spaceNumber values to pixel values and deprecate it #2345
Conversation
1 flaky test on run #6328 ↗︎
Details:
cypress/integration/Autocomplete.spec.ts • 1 flaky testReview all test suite changes for PR #2345 ↗︎ |
```tsx | ||
// With `rem` based `space` tokens | ||
{ | ||
padding: `calc(${space.xl} + 2px)`; // 42px |
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.
use PEMDAS
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.
😉
We've deprecated `Table` and `TableRow` as well as all of their exported members. Please consider using [`Table in Preview`](https://workday.github.io/canvas-kit/?path=/docs/preview-table--basic) instead. | ||
**PR:** [#2344](https://github.com/Workday/canvas-kit/pull/2344) | ||
|
||
We've deprecated `Table` and `TableRow` as well as all of their exported members. Please use [`Table`](https://workday.github.io/canvas-kit/?path=/docs/preview-table--basic) in Preview instead. |
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.
Should we add a comment here on how the Table
in preview is a full Table?
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.
can you clarify? do you mean a compound component?
Overall looks good! I just had some small comments. |
Summary
Fixes: #2338
Release Category
Tokens
Release Note
We've deprecated
spaceNumbers
and encourage users to use our rem basedspace
tokens.