@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
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,15 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [22.2.1](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@22.2.0...@ornikar/kitt-universal@22.2.1) (2023-12-12)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* **kitt-universal:** component KeyboardDatePicker value conversion improvment OSE-5123 ([#2265](https://github.com/ornikar/kitt/issues/2265)) ([08fffc2](https://github.com/ornikar/kitt/commit/08fffc2b33c62bb9742bc07db5b10a4c732b9e24))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
6
15
|
## [22.2.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@22.1.1...@ornikar/kitt-universal@22.2.0) (2023-12-11)
|
|
7
16
|
|
|
8
17
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stringToNumber.d.ts","sourceRoot":"","sources":["../../../../../src/forms/DatePicker/utils/stringToNumber.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"stringToNumber.d.ts","sourceRoot":"","sources":["../../../../../src/forms/DatePicker/utils/stringToNumber.ts"],"names":[],"mappings":"AAEA,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,CAM/D"}
|
|
@@ -4742,7 +4742,9 @@ function onDatePartChange({
|
|
|
4742
4742
|
|
|
4743
4743
|
function stringToNumber(text) {
|
|
4744
4744
|
if (text.length === 0) return undefined;
|
|
4745
|
-
|
|
4745
|
+
const parsedText = parseInt(text, 10);
|
|
4746
|
+
if (isNumber(parsedText)) return parsedText;
|
|
4747
|
+
return undefined;
|
|
4746
4748
|
}
|
|
4747
4749
|
|
|
4748
4750
|
function getCurrentInternalForcedState$1({
|