@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
|
@@ -4491,7 +4491,9 @@ function onDatePartChange({
|
|
|
4491
4491
|
|
|
4492
4492
|
function stringToNumber(text) {
|
|
4493
4493
|
if (text.length === 0) return undefined;
|
|
4494
|
-
|
|
4494
|
+
const parsedText = parseInt(text, 10);
|
|
4495
|
+
if (isNumber(parsedText)) return parsedText;
|
|
4496
|
+
return undefined;
|
|
4495
4497
|
}
|
|
4496
4498
|
|
|
4497
4499
|
function getCurrentInternalForcedState$1({
|