@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/formik.js
CHANGED
|
@@ -17519,10 +17519,11 @@ var getScrollbarWidth = function getScrollbarWidth() {
|
|
|
17519
17519
|
return scrollbarWidth;
|
|
17520
17520
|
};
|
|
17521
17521
|
var noop$1 = function noop() {};
|
|
17522
|
-
var hyphenize = function hyphenize(
|
|
17522
|
+
var hyphenize = function hyphenize(input) {
|
|
17523
17523
|
var fallbackString = "nui";
|
|
17524
|
-
if (
|
|
17525
|
-
|
|
17524
|
+
if (typeof input === "number") return String(input);
|
|
17525
|
+
if (input && typeof input === "string" && input.replace) {
|
|
17526
|
+
return input.replace(/[\s_]/g, "-").replace(/([a-z])([A-Z])/g, "$1-$2").replace(/-+/g, "-").toLowerCase();
|
|
17526
17527
|
}
|
|
17527
17528
|
return fallbackString;
|
|
17528
17529
|
};
|