@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.d.ts CHANGED
@@ -296,7 +296,6 @@ interface CollapsibleSectionProps {
296
296
  sectionGap?: string;
297
297
  name?: string;
298
298
  index?: number;
299
- overflowY?: string;
300
299
  }
301
300
 
302
301
  declare const CollapsibleSection: React.FC<Expand<CollapsibleSectionProps> &
package/dist/index.esm.js CHANGED
@@ -37433,9 +37433,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
37433
37433
  _ref$name = _ref.name,
37434
37434
  name = _ref$name === void 0 ? "" : _ref$name,
37435
37435
  _ref$index = _ref.index,
37436
- index = _ref$index === void 0 ? 1 : _ref$index,
37437
- _ref$overflowY = _ref.overflowY,
37438
- overflowY = _ref$overflowY === void 0 ? "hidden" : _ref$overflowY;
37436
+ index = _ref$index === void 0 ? 1 : _ref$index;
37439
37437
 
37440
37438
  var handleKeyDown = function handleKeyDown(e) {
37441
37439
  if (e.keyCode === 13) {
@@ -37524,7 +37522,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
37524
37522
  initial: initiallyOpen ? "open" : "closed",
37525
37523
  exit: "closed",
37526
37524
  variants: wrapper,
37527
- extraStyles: "transform-origin: 100% 0; overflow-y: ".concat(overflowY, ";"),
37525
+ extraStyles: "transform-origin: 100% 0; overflow-y: hidden",
37528
37526
  id: "".concat(id, "-content"),
37529
37527
  role: "region",
37530
37528
  "aria-labelledby": "".concat(id, "-button")
@@ -37608,7 +37606,7 @@ var Copyable = function Copyable(_ref2) {
37608
37606
  top: "-65px",
37609
37607
  right: "auto",
37610
37608
  bottom: "auto",
37611
- left: "50%"
37609
+ left: "-50%"
37612
37610
  };
37613
37611
  var popoverArrowPosition = {
37614
37612
  arrowTop: "auto",
@@ -37650,7 +37648,7 @@ var Copyable = function Copyable(_ref2) {
37650
37648
  position: popoverPosition,
37651
37649
  arrowPosition: popoverArrowPosition,
37652
37650
  popoverID: popoverID,
37653
- extraStyles: "> button#btnPopover".concat(popoverID, " { margin: 0 }; #Disclosed").concat(popoverID, " { transform: translateX(-50%); }; ").concat(extraStyles),
37651
+ extraStyles: "> button#btnPopover".concat(popoverID, " { margin: 0 }; ").concat(extraStyles),
37654
37652
  triggerText: CopyableText({
37655
37653
  text: text,
37656
37654
  onClick: onClick