@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.js
CHANGED
|
@@ -11568,10 +11568,11 @@ var getScrollbarWidth = function getScrollbarWidth() {
|
|
|
11568
11568
|
return scrollbarWidth;
|
|
11569
11569
|
};
|
|
11570
11570
|
var noop$2 = function noop() {};
|
|
11571
|
-
var hyphenize = function hyphenize(
|
|
11571
|
+
var hyphenize = function hyphenize(input) {
|
|
11572
11572
|
var fallbackString = "nui";
|
|
11573
|
-
if (
|
|
11574
|
-
|
|
11573
|
+
if (typeof input === "number") return String(input);
|
|
11574
|
+
if (input && typeof input === "string" && input.replace) {
|
|
11575
|
+
return input.replace(/[\s_]/g, "-").replace(/([a-z])([A-Z])/g, "$1-$2").replace(/-+/g, "-").toLowerCase();
|
|
11575
11576
|
}
|
|
11576
11577
|
return fallbackString;
|
|
11577
11578
|
};
|