@thecb/components 7.13.3-beta.1 → 7.13.3-beta.3
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
|
@@ -40402,7 +40402,9 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
40402
40402
|
_ref$index = _ref.index,
|
|
40403
40403
|
index = _ref$index === void 0 ? 1 : _ref$index,
|
|
40404
40404
|
_ref$headerEl = _ref.headerEl,
|
|
40405
|
-
headerEl = _ref$headerEl === void 0 ? null : _ref$headerEl
|
|
40405
|
+
headerEl = _ref$headerEl === void 0 ? null : _ref$headerEl,
|
|
40406
|
+
_ref$iconColor = _ref.iconColor,
|
|
40407
|
+
iconColor = _ref$iconColor === void 0 ? null : _ref$iconColor;
|
|
40406
40408
|
|
|
40407
40409
|
var handleKeyDown = function handleKeyDown(e) {
|
|
40408
40410
|
if (e.keyCode === 13) {
|
|
@@ -40484,7 +40486,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
40484
40486
|
variants: icon,
|
|
40485
40487
|
extraStyles: "display: flex; align-items: center;"
|
|
40486
40488
|
}, /*#__PURE__*/React__default.createElement(ChevronIcon$1, {
|
|
40487
|
-
color: iconColor
|
|
40489
|
+
color: iconColor || ""
|
|
40488
40490
|
}))))), /*#__PURE__*/React__default.createElement(AnimatePresence, {
|
|
40489
40491
|
initial: false
|
|
40490
40492
|
}, isOpen && /*#__PURE__*/React__default.createElement(Motion, {
|