Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

Add table component tokens#469

Merged
sai-san merged 15 commits intomasterfrom
add-table-tokens
Sep 28, 2021
Merged

Add table component tokens#469
sai-san merged 15 commits intomasterfrom
add-table-tokens

Conversation

@sai-san
Copy link
Copy Markdown
Contributor

@sai-san sai-san commented Sep 2, 2021

This makes available a first draft of the tokens needed to style the simple table component.

Issue: T289053

This removes the label style and adds a token to reduce the line-height of "body" so this can be used as the default style by all components.
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Sep 2, 2021

Comment thread tokens/properties/global.json Outdated
Comment thread tokens/properties/components/Table.json Outdated
@sai-san sai-san marked this pull request as ready for review September 28, 2021 13:04
This PR creates a Story for the Table component added in this commit.

* Add Table Story
* Add min width for normalized column header

Co-authored-by: Itamar Givon <itamar.givon.dev@gmail.com>
Co-authored-by: Silvan Heintze <59574251+Silvan-WMDE@users.noreply.github.com>
Co-authored-by: SaiSan <sarai.sanchez@wikimedia.de>
Bug: T291077
Copy link
Copy Markdown
Member

@itamargiv itamargiv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAICT all the tokens look great, thank you!

@sai-san sai-san merged commit 018681d into master Sep 28, 2021
@sai-san sai-san deleted the add-table-tokens branch September 28, 2021 14:02
jakobw pushed a commit that referenced this pull request Nov 4, 2021
* Add body-component line-height

This removes the label style and adds a token to reduce the line-height of "body" so this can be used as the default style by all components.

* Update ToggleButton.json

* 💥 Breaking changes 💥

* Add table component tokens

* Update Table.json

* Correct line-height

* Align small line-height with design guidelines

* Update Table.json

* Update Table.json

Wondering whether those height tokens should be renamed altogether

* Update tokens/properties/components/Table.json

* Add Table Story (#489)

This PR creates a Story for the Table component added in this commit.

* Add Table Story
* Add min width for normalized column header

Co-authored-by: Itamar Givon <itamar.givon.dev@gmail.com>
Co-authored-by: Silvan Heintze <59574251+Silvan-WMDE@users.noreply.github.com>
Co-authored-by: SaiSan <sarai.sanchez@wikimedia.de>
Bug: T291077

Co-authored-by: Guergana Tzatchkova <guergana.tzatchkova@wikimedia.de>
Co-authored-by: Itamar Givon <itamar.givon.dev@gmail.com>
Co-authored-by: Silvan Heintze <59574251+Silvan-WMDE@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants