@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thecb/components",
3
- "version": "7.0.2-beta.3",
3
+ "version": "7.0.2-beta.4",
4
4
  "description": "Common lib for CityBase react components",
5
5
  "main": "dist/index.cjs.js",
6
6
  "typings": "dist/index.d.ts",
@@ -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: ${overflowY};`}
129
+ extraStyles={`transform-origin: 100% 0; overflow-y: hidden`}
131
130
  id={`${id}-content`}
132
131
  role={"region"}
133
132
  aria-labelledby={`${id}-button`}
@@ -19,7 +19,6 @@ export interface CollapsibleSectionProps {
19
19
  sectionGap?: string;
20
20
  name?: string;
21
21
  index?: number;
22
- overflowY?: string;
23
22
  }
24
23
 
25
24
  export const CollapsibleSection: React.FC<Expand<CollapsibleSectionProps> &