@thecb/components 7.0.2-beta.4 → 7.0.2-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/dist/index.cjs.js CHANGED
@@ -37449,6 +37449,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
37449
37449
  }
37450
37450
  };
37451
37451
 
37452
+ React.useEffect(function () {}, [isOpen]);
37452
37453
  var numChildren = typeof children === "Array" ? children.length : 1;
37453
37454
  var label = name !== "" ? name : !customTitle ? title : "collapsible section";
37454
37455
  var id = "".concat(label === null || label === void 0 ? void 0 : (_label$replaceAll = label.replaceAll(" ", "-")) === null || _label$replaceAll === void 0 ? void 0 : _label$replaceAll.toLowerCase(), "-").concat(index);
@@ -37614,7 +37615,7 @@ var Copyable = function Copyable(_ref2) {
37614
37615
  top: "-65px",
37615
37616
  right: "auto",
37616
37617
  bottom: "auto",
37617
- left: "-50%"
37618
+ left: "50%"
37618
37619
  };
37619
37620
  var popoverArrowPosition = {
37620
37621
  arrowTop: "auto",
@@ -37656,7 +37657,7 @@ var Copyable = function Copyable(_ref2) {
37656
37657
  position: popoverPosition,
37657
37658
  arrowPosition: popoverArrowPosition,
37658
37659
  popoverID: popoverID,
37659
- extraStyles: "> button#btnPopover".concat(popoverID, " { margin: 0 }; ").concat(extraStyles),
37660
+ extraStyles: "> button#btnPopover".concat(popoverID, " { margin: 0 }; > #Disclosed").concat(popoverID, " { transform: translateX(-50%); }; ").concat(extraStyles),
37660
37661
  triggerText: CopyableText({
37661
37662
  text: text,
37662
37663
  onClick: onClick