@thecb/components 7.0.2-beta.3 → 7.0.2-beta.4
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/dist/index.cjs.js +4 -6
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.esm.js +4 -6
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/collapsible-section/CollapsibleSection.js +2 -3
- package/src/components/molecules/collapsible-section/index.d.ts +0 -1
package/package.json
CHANGED
|
@@ -24,8 +24,7 @@ const CollapsibleSection = ({
|
|
|
24
24
|
stackTitleContent,
|
|
25
25
|
sectionGap = "0.5rem",
|
|
26
26
|
name = "",
|
|
27
|
-
index = 1
|
|
28
|
-
overflowY = "hidden"
|
|
27
|
+
index = 1
|
|
29
28
|
}) => {
|
|
30
29
|
const handleKeyDown = e => {
|
|
31
30
|
if (e.keyCode === 13) {
|
|
@@ -127,7 +126,7 @@ const CollapsibleSection = ({
|
|
|
127
126
|
initial={initiallyOpen ? "open" : "closed"}
|
|
128
127
|
exit="closed"
|
|
129
128
|
variants={wrapper}
|
|
130
|
-
extraStyles={`transform-origin: 100% 0; overflow-y:
|
|
129
|
+
extraStyles={`transform-origin: 100% 0; overflow-y: hidden`}
|
|
131
130
|
id={`${id}-content`}
|
|
132
131
|
role={"region"}
|
|
133
132
|
aria-labelledby={`${id}-button`}
|