@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.esm.js
CHANGED
|
@@ -41216,7 +41216,7 @@ var CollapsibleSection = function CollapsibleSection(_ref) {
|
|
|
41216
41216
|
};
|
|
41217
41217
|
var numChildren = typeof children === "Array" ? children.length : 1;
|
|
41218
41218
|
var label = name !== "" ? name : !customTitle ? title : "collapsible section";
|
|
41219
|
-
var id = "".concat(label === null || label === void 0 || (_label$replaceAll = label.replaceAll(" ", "-")) === null || _label$replaceAll === void 0 ? void 0 : _label$replaceAll.toLowerCase(), "-").concat(index);
|
|
41219
|
+
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);
|
|
41220
41220
|
var wrapper = {
|
|
41221
41221
|
open: {
|
|
41222
41222
|
height: openHeight,
|