@thecb/components 7.13.3-beta.5 → 7.13.3-beta.7

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
@@ -40401,11 +40401,10 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
40401
40401
  name = _ref$name === void 0 ? "" : _ref$name,
40402
40402
  _ref$index = _ref.index,
40403
40403
  index = _ref$index === void 0 ? 1 : _ref$index,
40404
- _ref$headerEl = _ref.headerEl,
40405
- headerEl = _ref$headerEl === void 0 ? null : _ref$headerEl,
40406
40404
  _ref$iconColor = _ref.iconColor,
40407
- iconColor = _ref$iconColor === void 0 ? null : _ref$iconColor,
40408
- extraStyles = _ref.extraStyles;
40405
+ iconColor = _ref$iconColor === void 0 ? "" : _ref$iconColor,
40406
+ _ref$extraStyles = _ref.extraStyles,
40407
+ extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles;
40409
40408
 
40410
40409
  var handleKeyDown = function handleKeyDown(e) {
40411
40410
  if (e.keyCode === 13) {
@@ -40475,8 +40474,8 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
40475
40474
  align: "center"
40476
40475
  }, customTitle ? /*#__PURE__*/React__default.createElement(Box, {
40477
40476
  width: "calc(100% - 36px)",
40478
- padding: "0px"
40479
- }, headerEl ? headerEl : title) : /*#__PURE__*/React__default.createElement(Title$1, {
40477
+ padding: "0"
40478
+ }, title) : /*#__PURE__*/React__default.createElement(Title$1, {
40480
40479
  weight: FONT_WEIGHT_SEMIBOLD,
40481
40480
  color: themeValues.titleColor,
40482
40481
  as: "h6",
@@ -40485,7 +40484,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
40485
40484
  variants: icon,
40486
40485
  extraStyles: "display: flex; align-items: center;"
40487
40486
  }, /*#__PURE__*/React__default.createElement(ChevronIcon$1, {
40488
- color: iconColor || ""
40487
+ color: iconColor || inherit
40489
40488
  }))))), /*#__PURE__*/React__default.createElement(AnimatePresence, {
40490
40489
  initial: false
40491
40490
  }, isOpen && /*#__PURE__*/React__default.createElement(Motion, {