-
Notifications
You must be signed in to change notification settings - Fork 842
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Emotion] Convert EuiResizableContainer and EuiResizablePanel (#6287)
* [EuiResizableContainer] Convert styles * [EuiResizablePanel] Emotion setup - basic styles only - leave wrapper modifier classes in for now - will handle in another commit + rename inlineStyles due to var name conflict * [EuiResizablePanel] Convert & update padding CSS - Add new `euiPaddingSizeCSS` util that our internal components can use to generate a CSS map, and update `useEuiPaddingSize` to call that util instead of being its own fn - Remove panel padding size map in favor of calling euiPaddingSize util directly - Remove modifier map and ts error + add wrapperPadding unit test * [EuiResizablePanel] Convert remaining collapse CSS to Emotion + DRY out axis direction to a const * [EuiResizablePanel] Remove remaining modifier classes in favor of data attributes - left out isCollapsible modifier - consumers can likely look for the collapsible button instead + fix misc parseInt usage missing `10` radix - prefer parseFloat instead * [EuiResizablePanel] Convert inline style dimensions to logical properties + simplify conditional logic + fix logicalSizeStyle util not correctly camelCasing keys * [EuiResizablePanel] Remove Sass files * [docs] Convert all resizable examples to Typescript * Changelog
- Loading branch information
Constance
authored
Oct 18, 2022
1 parent
8081fda
commit 177a2b3
Showing
25 changed files
with
331 additions
and
263 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
...le_container/resizable_container_basic.js → ...e_container/resizable_container_basic.tsx
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
2 changes: 1 addition & 1 deletion
2
...container/resizable_container_vertical.js → ...ontainer/resizable_container_vertical.tsx
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
File renamed without changes.
Oops, something went wrong.