@thecb/components 7.13.3-beta.4 → 7.13.3-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -26,7 +26,8 @@ const CollapsibleSection = ({
|
|
|
26
26
|
name = "",
|
|
27
27
|
index = 1,
|
|
28
28
|
headerEl = null,
|
|
29
|
-
iconColor = null
|
|
29
|
+
iconColor = null,
|
|
30
|
+
extraStyles
|
|
30
31
|
}) => {
|
|
31
32
|
const handleKeyDown = e => {
|
|
32
33
|
if (e.keyCode === 13) {
|
|
@@ -88,7 +89,7 @@ const CollapsibleSection = ({
|
|
|
88
89
|
hoverStyles={`cursor: pointer;`}
|
|
89
90
|
tabIndex="0"
|
|
90
91
|
onKeyDown={handleKeyDown}
|
|
91
|
-
extraStyles={`z-index: 25
|
|
92
|
+
extraStyles={`z-index: 25;`.concat(extraStyles)}
|
|
92
93
|
role="button"
|
|
93
94
|
aria-expanded={isOpen.toString()}
|
|
94
95
|
aria-controls={id}
|
|
@@ -96,7 +97,7 @@ const CollapsibleSection = ({
|
|
|
96
97
|
>
|
|
97
98
|
<Cluster justify="space-between" align="center">
|
|
98
99
|
{customTitle ? (
|
|
99
|
-
<Box width="calc(100% - 36px)" padding="0px"
|
|
100
|
+
<Box width="calc(100% - 36px)" padding="0px">
|
|
100
101
|
{headerEl ? headerEl : title}
|
|
101
102
|
</Box>
|
|
102
103
|
) : (
|
|
@@ -105,9 +106,8 @@ const CollapsibleSection = ({
|
|
|
105
106
|
color={themeValues.titleColor}
|
|
106
107
|
as="h6"
|
|
107
108
|
variant="small"
|
|
108
|
-
id="cristin"
|
|
109
109
|
>
|
|
110
|
-
{
|
|
110
|
+
{title}
|
|
111
111
|
</Title>
|
|
112
112
|
)}
|
|
113
113
|
<Motion
|