@thecb/components 7.13.3-beta.10 → 7.13.3-beta.12
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
|
@@ -38009,7 +38009,8 @@ var Card = function Card(_ref) {
|
|
|
38009
38009
|
}, /*#__PURE__*/React__default.createElement(Stack, {
|
|
38010
38010
|
fullHeight: true,
|
|
38011
38011
|
childGap: "0",
|
|
38012
|
-
bottomItem: numberOfChildren
|
|
38012
|
+
bottomItem: numberOfChildren,
|
|
38013
|
+
direction: "row"
|
|
38013
38014
|
}, headerText && /*#__PURE__*/React__default.createElement(CardHeader, {
|
|
38014
38015
|
headerText: headerText,
|
|
38015
38016
|
headerColor: themeValues.headerColor,
|
|
@@ -40375,48 +40376,6 @@ var fallbackValues$D = {
|
|
|
40375
40376
|
bodyBackgroundColor: bodyBackgroundColor
|
|
40376
40377
|
};
|
|
40377
40378
|
|
|
40378
|
-
var ChevronIconWhite = function ChevronIconWhite(_ref) {
|
|
40379
|
-
var themeValues = _ref.themeValues,
|
|
40380
|
-
iconFill = _ref.iconFill;
|
|
40381
|
-
return /*#__PURE__*/React__default.createElement("svg", {
|
|
40382
|
-
width: "24",
|
|
40383
|
-
height: "24",
|
|
40384
|
-
viewBox: "0 0 24 24",
|
|
40385
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
40386
|
-
xmlnsXlink: "http://www.w3.org/1999/xlink",
|
|
40387
|
-
style: {
|
|
40388
|
-
display: "inline-block",
|
|
40389
|
-
verticalAlign: "text-bottom"
|
|
40390
|
-
}
|
|
40391
|
-
}, /*#__PURE__*/React__default.createElement("defs", null, /*#__PURE__*/React__default.createElement("polygon", {
|
|
40392
|
-
id: "icon-chevron-path-1",
|
|
40393
|
-
points: "10.4099998 6 9 7.40999976 13.5799996 11.9999996 9 16.5899995 10.4099998 17.9999993 16.4099994 11.9999996"
|
|
40394
|
-
})), /*#__PURE__*/React__default.createElement("g", {
|
|
40395
|
-
id: "icon-chevron-Icon/Chevron-Down",
|
|
40396
|
-
fill: "#ffffff",
|
|
40397
|
-
fillRule: "evenodd"
|
|
40398
|
-
}, /*#__PURE__*/React__default.createElement("mask", {
|
|
40399
|
-
id: "icon-chevron-mask-2"
|
|
40400
|
-
}, /*#__PURE__*/React__default.createElement("use", {
|
|
40401
|
-
fill: iconFill !== null && iconFill !== void 0 ? iconFill : themeValues.singleIconColor,
|
|
40402
|
-
xlinkHref: "#icon-chevron-path-1"
|
|
40403
|
-
})), /*#__PURE__*/React__default.createElement("use", {
|
|
40404
|
-
fill: iconFill !== null && iconFill !== void 0 ? iconFill : themeValues.singleIconColor,
|
|
40405
|
-
id: "icon-chevron-Fill-2",
|
|
40406
|
-
xlinkHref: "#icon-chevron-path-1"
|
|
40407
|
-
}), /*#__PURE__*/React__default.createElement("g", {
|
|
40408
|
-
id: "Colors/Blue-Dark",
|
|
40409
|
-
mask: "url(#icon-chevron-mask-2)",
|
|
40410
|
-
fill: iconFill !== null && iconFill !== void 0 ? iconFill : themeValues.singleIconColor
|
|
40411
|
-
}, /*#__PURE__*/React__default.createElement("rect", {
|
|
40412
|
-
id: "icon-chevron-rect",
|
|
40413
|
-
width: "24",
|
|
40414
|
-
height: "24"
|
|
40415
|
-
}))));
|
|
40416
|
-
};
|
|
40417
|
-
|
|
40418
|
-
var ChevronIconWhite$1 = themeComponent(ChevronIconWhite, "Icons", fallbackValues$2, "secondary");
|
|
40419
|
-
|
|
40420
40379
|
var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
40421
40380
|
var _label$replaceAll;
|
|
40422
40381
|
|
|
@@ -40444,9 +40403,11 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
40444
40403
|
_ref$index = _ref.index,
|
|
40445
40404
|
index = _ref$index === void 0 ? 1 : _ref$index,
|
|
40446
40405
|
_ref$iconColor = _ref.iconColor,
|
|
40406
|
+
iconColor = _ref$iconColor === void 0 ? "" : _ref$iconColor,
|
|
40447
40407
|
_ref$extraStyles = _ref.extraStyles,
|
|
40448
40408
|
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
40449
|
-
CustomIcon = _ref.CustomIcon
|
|
40409
|
+
_ref$CustomIcon = _ref.CustomIcon,
|
|
40410
|
+
CustomIcon = _ref$CustomIcon === void 0 ? null : _ref$CustomIcon;
|
|
40450
40411
|
|
|
40451
40412
|
var handleKeyDown = function handleKeyDown(e) {
|
|
40452
40413
|
if (e.keyCode === 13) {
|
|
@@ -40525,7 +40486,11 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
40525
40486
|
}, title), /*#__PURE__*/React__default.createElement(Motion, {
|
|
40526
40487
|
variants: icon,
|
|
40527
40488
|
extraStyles: "display: flex; align-items: center;"
|
|
40528
|
-
}, CustomIcon ? /*#__PURE__*/React__default.createElement(CustomIcon,
|
|
40489
|
+
}, !!CustomIcon ? /*#__PURE__*/React__default.createElement(CustomIcon, {
|
|
40490
|
+
color: iconColor
|
|
40491
|
+
}) : /*#__PURE__*/React__default.createElement(ChevronIcon$1, {
|
|
40492
|
+
color: iconColor
|
|
40493
|
+
}))))), /*#__PURE__*/React__default.createElement(AnimatePresence, {
|
|
40529
40494
|
initial: false
|
|
40530
40495
|
}, isOpen && /*#__PURE__*/React__default.createElement(Motion, {
|
|
40531
40496
|
padding: "0",
|