@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.esm.js
CHANGED
|
@@ -37441,6 +37441,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
37441
37441
|
}
|
|
37442
37442
|
};
|
|
37443
37443
|
|
|
37444
|
+
useEffect$1(function () {}, [isOpen]);
|
|
37444
37445
|
var numChildren = typeof children === "Array" ? children.length : 1;
|
|
37445
37446
|
var label = name !== "" ? name : !customTitle ? title : "collapsible section";
|
|
37446
37447
|
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);
|
|
@@ -37606,7 +37607,7 @@ var Copyable = function Copyable(_ref2) {
|
|
|
37606
37607
|
top: "-65px",
|
|
37607
37608
|
right: "auto",
|
|
37608
37609
|
bottom: "auto",
|
|
37609
|
-
left: "
|
|
37610
|
+
left: "50%"
|
|
37610
37611
|
};
|
|
37611
37612
|
var popoverArrowPosition = {
|
|
37612
37613
|
arrowTop: "auto",
|
|
@@ -37648,7 +37649,7 @@ var Copyable = function Copyable(_ref2) {
|
|
|
37648
37649
|
position: popoverPosition,
|
|
37649
37650
|
arrowPosition: popoverArrowPosition,
|
|
37650
37651
|
popoverID: popoverID,
|
|
37651
|
-
extraStyles: "> button#btnPopover".concat(popoverID, " { margin: 0 }; ").concat(extraStyles),
|
|
37652
|
+
extraStyles: "> button#btnPopover".concat(popoverID, " { margin: 0 }; > #Disclosed").concat(popoverID, " { transform: translateX(-50%); }; ").concat(extraStyles),
|
|
37652
37653
|
triggerText: CopyableText({
|
|
37653
37654
|
text: text,
|
|
37654
37655
|
onClick: onClick
|