@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
|
@@ -4741,7 +4741,9 @@ function onDatePartChange({
|
|
|
4741
4741
|
|
|
4742
4742
|
function stringToNumber(text) {
|
|
4743
4743
|
if (text.length === 0) return undefined;
|
|
4744
|
-
|
|
4744
|
+
const parsedText = parseInt(text, 10);
|
|
4745
|
+
if (isNumber(parsedText)) return parsedText;
|
|
4746
|
+
return undefined;
|
|
4745
4747
|
}
|
|
4746
4748
|
|
|
4747
4749
|
function getCurrentInternalForcedState$1({
|