You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(CollapsiblePanel): add hideExpansionControls (not hidden by default) (#421)
* refactor(collapsible-panel): to show but disable header icon when disabled
* feat(collapsible-panel): add hideExpansionControls
* chore(collapible-panel): simplify application for theme css
* feat(collapsible-panel): add visual route specs for expansion controls and disabled
* fix(collapsible-panel): to default not to be disabled
* feat(collapsible-panel): add more visual specs
|`header`|`node`| ✅ | - | - | The title being rendered at top left of the panel |
39
-
|`secondaryHeader`|`node`|| - | - | A secondary header for the panel (only pass if needed) ||
40
-
|`onToggle`|`func`| (required only if controlled as in `isClosed` is passed) | - | - | function to be triggered whenever the user clicks the top area to collapse the panel's content |
41
-
|`isClosed`|`bool`|| - | false | Indicates if the panel's content should be collapsed or shown |
42
-
|`isSticky`|`bool`|| - | false | Makes the panel's header sticky in regards to the page's scroll |
43
-
|`description`|`String`|| - || If passed will be shown below the title as more information regarding the panel |
44
-
|`isDisabled`|`bool`|| - | false | Disables the panel and all interactions with it |
45
-
|`children`|`node`|| - | - | The actual content rendered inside the panel |
46
-
|`headerControls`|`node`|| - | - | Controls at the top right part of the panel |
|`theme`|`string`||['dark', 'light']| 'light' | The main color combination of the for the panel header and container |
50
-
|`condensed`|`bool`|| - | false | Whenever `true` the headers and content itself will consume less space in that to the borders are smaller and everything has less padding |
|`header`|`node`| ✅ | - | - | The title being rendered at top left of the panel |
39
+
|`secondaryHeader`|`node`|| - | - | A secondary header for the panel (only pass if needed) ||
40
+
|`onToggle`|`func`| (required only if controlled as in `isClosed` is passed) | - | - | function to be triggered whenever the user clicks the top area to collapse the panel's content |
41
+
|`isClosed`|`bool`|| - | false | Indicates if the panel's content should be collapsed or shown |
42
+
|`isSticky`|`bool`|| - | false | Makes the panel's header sticky in regards to the page's scroll |
43
+
|`description`|`String`|| - || If passed will be shown below the title as more information regarding the panel |
44
+
|`isDisabled`|`bool`|| - | false | Disables the panel and all interactions with it |
45
+
|`children`|`node`|| - | - | The actual content rendered inside the panel |
46
+
|`hideExpansionControls`|`bool`|| - | - | Controls the visibility of the expansion controls on the left |
47
+
|`headerControls`|`node`|| - | - | Controls at the top right part of the panel |
|`theme`|`string`||['dark', 'light']| 'light' | The main color combination of the for the panel header and container |
51
+
|`condensed`|`bool`|| - | false | Whenever `true` the headers and content itself will consume less space in that to the borders are smaller and everything has less padding |
0 commit comments