@thecb/components 11.1.5 → 11.1.6-beta.0

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
@@ -41224,7 +41224,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
41224
41224
  };
41225
41225
  var numChildren = typeof children === "Array" ? children.length : 1;
41226
41226
  var label = name !== "" ? name : !customTitle ? title : "collapsible section";
41227
- var id = "".concat(label === null || label === void 0 || (_label$replaceAll = label.replaceAll(" ", "-")) === null || _label$replaceAll === void 0 ? void 0 : _label$replaceAll.toLowerCase(), "-").concat(index);
41227
+ var id = "".concat(label === null || label === void 0 || (_label$replaceAll = label.replaceAll) === null || _label$replaceAll === void 0 || (_label$replaceAll = _label$replaceAll.call(label, " ", "-")) === null || _label$replaceAll === void 0 ? void 0 : _label$replaceAll.toLowerCase(), "-").concat(index);
41228
41228
  var wrapper = {
41229
41229
  open: {
41230
41230
  height: openHeight,