@bigbinary/neetoui 5.2.21 → 5.2.22
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/formik.cjs.js +4 -3
- package/formik.cjs.js.map +1 -1
- package/formik.js +4 -3
- package/formik.js.map +1 -1
- package/index.cjs.js +4 -3
- package/index.cjs.js.map +1 -1
- package/index.js +4 -3
- package/index.js.map +1 -1
- package/layouts.cjs.js.map +1 -1
- package/layouts.js.map +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -11601,10 +11601,11 @@ var getScrollbarWidth = function getScrollbarWidth() {
|
|
|
11601
11601
|
return scrollbarWidth;
|
|
11602
11602
|
};
|
|
11603
11603
|
var noop$2 = function noop() {};
|
|
11604
|
-
var hyphenize = function hyphenize(
|
|
11604
|
+
var hyphenize = function hyphenize(input) {
|
|
11605
11605
|
var fallbackString = "nui";
|
|
11606
|
-
if (
|
|
11607
|
-
|
|
11606
|
+
if (typeof input === "number") return String(input);
|
|
11607
|
+
if (input && typeof input === "string" && input.replace) {
|
|
11608
|
+
return input.replace(/[\s_]/g, "-").replace(/([a-z])([A-Z])/g, "$1-$2").replace(/-+/g, "-").toLowerCase();
|
|
11608
11609
|
}
|
|
11609
11610
|
return fallbackString;
|
|
11610
11611
|
};
|