-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add experimental contextual layout token system (#13287)
* chore: rename Layout folder into LayoutDirection * feat: build contextual layout poc * docs: add layoutSize and layoutDensity controls to storybook * chore(contained-list): migrate to contextual layout tokens * chore(content-switcher): migrate to contextual layout tokens * feat(contextual-layout-tokens): add support for redefinition * chore(tag): migrate to contextual layout tokens * feat(contextual-layout-tokens): support multiple properties per group * docs(styles): add contextual layout tokens * chore(button): migrate to contextual layout tokens * docs(contextual-layout-tokens): add reference * chore(icon-button): migrate to contextual layout tokens * fix(code-snippet): adjust style overrides for icon button * docs(contextual-layout-tokens): add sass helper outputs * fix(contained-list): adjust padding-block based on line-height * fix(code-snippet): adjust copy-button overrides * fix(file-uploader): emit layout size * docs(contextual-layout-tokens): add docs to Layout story * fix(code-snippet): pass correct size * docs(contained-list): fix stories * fix(icon-button): make default lg ref #13423 * fix(readme): resolve conflict * chore: align v12 deprecation comments * chore: revert local .all-contributors updates * docs(contextual-layout-tokens): fix comment position * chore: rename storybook layout controls * chore: only show layout controls in dev storybook * fix(button): move icon up 1px * fix(accordion): fix arrow icon position * fix(icon-button): fix icon position * fix(icon-button): fix icon position * fix(overflow-menu): fix icon position * fix(ui-shell): fix header action icon position * fix(code-snippet): fix icon position in button * fix(pagination): fix icon position in button * refactor(contextual-layout-tokens): alternative poc * refactor(contextual-layout-token): implement LayoutConstraint system * refactor(contextual-layout-tokens): re-implement redefine-tokens mixin * docs(contextual-layout-tokens): update docs to reflect refactor * fix(conextual-layout-tokens): remove outdated workarounds * fix(contained-list): make persistent search work with size variants * fix(content-switcher): fix icon-only styles * chore: update datatable snapshot * docs(layout): add information about LayoutConstraint * fix(copy-button): wrap in LayoutConstraint * chore: run prettier * fix: revert unrelated sort change in package.json * chore: update toc of style/docs/sass.md * docs(contextual-layout-tokens): fix css reference * docs(contextual-layout-tokens): fix copy-paste mistake --------- Co-authored-by: Alison Joseph <[email protected]> Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
- Loading branch information
1 parent
ad1031b
commit a1a5282
Showing
49 changed files
with
1,182 additions
and
256 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.