-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ch-tab-render][ch-flexible-layout-render]
Remove the direction
p…
…roperty in favor of the `tabListPosition` property (#460) * Remove the "direction" property in favor of the "tabListPosition" property The new "tabListPosition" property allows users have more control over the position of the ch-tab-render's tab-list. Also, refactor the styling with parts to improve semantics and make the ch-tab-render more customizable. Breaking changes: - Removed the "direction" property in favor of the "tabListPosition" property. Migrating from "direction" to "tabListPosition": + direction = "block" ---> tabListPosition = "block-start" + direction = "inline" ---> tabListPosition = "inline-start" - The following parts were renamed: + "button" ---> "tab" + "page" ---> "panel" + "page-container" ---> "panel-container" - Removed the "drag-preview" and "drag-preview-element" parts in favor of the "tab dragging" part. - "Removed the "drag-preview--outside-tab-list" part in favor of the "dragging-out-of-tab-list" part. - "Removed the "drag-preview--inside-tab-list__block" part in favor of the "dragging-over-tab-list block" part. - "Removed the "drag-preview--inside-tab-list__inline" part in favor of the "dragging-over-tab-list inline" part. - Removed "block-size: 100%" CSS property from the ch-tab-render, since it can break margin styling. Use "display: grid" in the ch-tab-render container or a different solution to stretch the ch-tab-render to the parent container size. * Removed tabDirection and tabPosition properties in favor of the tabListPosition property Same breaking changes applies for the ch-flexible-layout-render. Simplified part exporting to avoid exporting parts that are not used. * Use reserved-names in layout-splitter * Fix breaking changes in showcase * Improve styling with parts in the flexible-layout component * Improve showcase * Fix unit tests
- Loading branch information
Showing
29 changed files
with
539 additions
and
636 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
Oops, something went wrong.