@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/dist/index.cjs.js
CHANGED
|
@@ -37441,9 +37441,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
37441
37441
|
_ref$name = _ref.name,
|
|
37442
37442
|
name = _ref$name === void 0 ? "" : _ref$name,
|
|
37443
37443
|
_ref$index = _ref.index,
|
|
37444
|
-
index = _ref$index === void 0 ? 1 : _ref$index
|
|
37445
|
-
_ref$overflowY = _ref.overflowY,
|
|
37446
|
-
overflowY = _ref$overflowY === void 0 ? "hidden" : _ref$overflowY;
|
|
37444
|
+
index = _ref$index === void 0 ? 1 : _ref$index;
|
|
37447
37445
|
|
|
37448
37446
|
var handleKeyDown = function handleKeyDown(e) {
|
|
37449
37447
|
if (e.keyCode === 13) {
|
|
@@ -37532,7 +37530,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
37532
37530
|
initial: initiallyOpen ? "open" : "closed",
|
|
37533
37531
|
exit: "closed",
|
|
37534
37532
|
variants: wrapper,
|
|
37535
|
-
extraStyles: "transform-origin: 100% 0; overflow-y: "
|
|
37533
|
+
extraStyles: "transform-origin: 100% 0; overflow-y: hidden",
|
|
37536
37534
|
id: "".concat(id, "-content"),
|
|
37537
37535
|
role: "region",
|
|
37538
37536
|
"aria-labelledby": "".concat(id, "-button")
|
|
@@ -37616,7 +37614,7 @@ var Copyable = function Copyable(_ref2) {
|
|
|
37616
37614
|
top: "-65px",
|
|
37617
37615
|
right: "auto",
|
|
37618
37616
|
bottom: "auto",
|
|
37619
|
-
left: "50%"
|
|
37617
|
+
left: "-50%"
|
|
37620
37618
|
};
|
|
37621
37619
|
var popoverArrowPosition = {
|
|
37622
37620
|
arrowTop: "auto",
|
|
@@ -37658,7 +37656,7 @@ var Copyable = function Copyable(_ref2) {
|
|
|
37658
37656
|
position: popoverPosition,
|
|
37659
37657
|
arrowPosition: popoverArrowPosition,
|
|
37660
37658
|
popoverID: popoverID,
|
|
37661
|
-
extraStyles: "> button#btnPopover".concat(popoverID, " { margin: 0 };
|
|
37659
|
+
extraStyles: "> button#btnPopover".concat(popoverID, " { margin: 0 }; ").concat(extraStyles),
|
|
37662
37660
|
triggerText: CopyableText({
|
|
37663
37661
|
text: text,
|
|
37664
37662
|
onClick: onClick
|