@ornikar/kitt-universal 22.2.0 → 22.2.1
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/CHANGELOG.md +9 -0
- package/dist/definitions/forms/DatePicker/utils/stringToNumber.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +3 -1
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +3 -1
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-18.18.cjs.js +3 -1
- package/dist/index-node-18.18.cjs.js.map +1 -1
- package/dist/index-node-18.18.cjs.web.js +3 -1
- package/dist/index-node-18.18.cjs.web.js.map +1 -1
- package/dist/index-node-18.18.es.mjs +3 -1
- package/dist/index-node-18.18.es.mjs.map +1 -1
- package/dist/index-node-18.18.es.web.mjs +3 -1
- package/dist/index-node-18.18.es.web.mjs.map +1 -1
- package/dist/index.es.js +3 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +3 -1
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -4486,7 +4486,9 @@ function onDatePartChange({
|
|
|
4486
4486
|
|
|
4487
4487
|
function stringToNumber(text) {
|
|
4488
4488
|
if (text.length === 0) return undefined;
|
|
4489
|
-
|
|
4489
|
+
const parsedText = parseInt(text, 10);
|
|
4490
|
+
if (isNumber(parsedText)) return parsedText;
|
|
4491
|
+
return undefined;
|
|
4490
4492
|
}
|
|
4491
4493
|
|
|
4492
4494
|
function getCurrentInternalForcedState$1({
|