@ornikar/kitt-universal 32.2.1-canary.b6a558c2a534e5d22cad1dfac7725ddeca489e44.0 → 32.3.1-canary.282229fbcb79b0e70662d8927eccac40f40e40d3.0
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 +13 -2
- package/dist/definitions/FullscreenModal/FullscreenModalAnimation.web.d.ts.map +1 -1
- package/dist/definitions/forms/InputText/InputText.d.ts.map +1 -1
- package/dist/definitions/forms/InputText/InputTextContainer.d.ts +2 -1
- package/dist/definitions/forms/InputText/InputTextContainer.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/fullscreenModal.d.ts +0 -14
- package/dist/definitions/themes/late-ocean/fullscreenModal.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/input.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +94 -76
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +94 -76
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +94 -76
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.css +38 -9
- package/dist/index-node-22.17.cjs.web.js +161 -135
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +94 -76
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.css +38 -9
- package/dist/index-node-22.17.es.web.mjs +161 -135
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +97 -78
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +162 -135
- package/dist/index.es.web.js.map +1 -1
- package/dist/linaria-themes-metro.es.android.js +34 -39
- package/dist/linaria-themes-metro.es.android.js.map +1 -1
- package/dist/linaria-themes-metro.es.ios.js +34 -39
- package/dist/linaria-themes-metro.es.ios.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.js +34 -39
- package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.web.js +34 -39
- package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
- package/dist/linaria-themes-node-22.17.es.mjs +34 -39
- package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
- package/dist/linaria-themes-node-22.17.es.web.mjs +34 -39
- package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
- package/dist/linaria-themes.es.js +34 -39
- package/dist/linaria-themes.es.js.map +1 -1
- package/dist/linaria-themes.es.web.js +34 -39
- package/dist/linaria-themes.es.web.js.map +1 -1
- package/dist/styles.css +38 -9
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/definitions/forms/InputText/InputTextContainer.web.d.ts +0 -4
- package/dist/definitions/forms/InputText/InputTextContainer.web.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,12 +3,23 @@
|
|
|
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
|
-
## [32.
|
|
6
|
+
## [32.3.1-canary.282229fbcb79b0e70662d8927eccac40f40e40d3.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@32.3.0...@ornikar/kitt-universal@32.3.1-canary.282229fbcb79b0e70662d8927eccac40f40e40d3.0) (2025-12-12)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Features
|
|
10
10
|
|
|
11
|
-
*
|
|
11
|
+
* deleted web only version ([1be7cd6](https://github.com/ornikar/kitt/commit/1be7cd6cfd53fd51f336e900488f437e52401b67))
|
|
12
|
+
* replaced with universal version ([8d4925f](https://github.com/ornikar/kitt/commit/8d4925ff832fc7b52dd19136aed67262a952f896))
|
|
13
|
+
* updated snapshots ([282229f](https://github.com/ornikar/kitt/commit/282229fbcb79b0e70662d8927eccac40f40e40d3))
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [32.3.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@32.2.0...@ornikar/kitt-universal@32.3.0) (2025-12-11)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* **kitt-universal/FullscreenModal:** remove linaria from `FullscreenModal` OSE-18320 ([#2800](https://github.com/ornikar/kitt/issues/2800)) ([3f1b30c](https://github.com/ornikar/kitt/commit/3f1b30c7f1e4be93003c40798a4f57f9232c3de7))
|
|
12
23
|
|
|
13
24
|
|
|
14
25
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FullscreenModalAnimation.web.d.ts","sourceRoot":"","sources":["../../../src/FullscreenModal/FullscreenModalAnimation.web.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FullscreenModalAnimation.web.d.ts","sourceRoot":"","sources":["../../../src/FullscreenModal/FullscreenModalAnimation.web.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAU,MAAM,OAAO,CAAC;AAK/C,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,4BAA4B,CAAC;AAqBhF,wBAAgB,wBAAwB,CAAC,EACvC,QAAQ,EACR,MAAa,EACb,OAAO,EACP,aAAoB,EACpB,kBAAyB,EACzB,OAAO,EACP,SAAS,EACT,MAAM,EACN,QAAQ,EACR,OAAO,EACP,GAAG,KAAK,EACT,EAAE,6BAA6B,GAAG,SAAS,CAqD3C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputText.d.ts","sourceRoot":"","sources":["../../../../src/forms/InputText/InputText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,SAAS,IAAI,WAAW,EAAE,cAAc,IAAI,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEjG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAIxC,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAG7D,MAAM,WAAW,cAAe,SAAQ,MAAM,CAAC,gBAAgB,EAAE,IAAI,CAAC;IACpE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,OAAO,CAAC,EAAE,eAAe,CAAC,SAAS,GAAG,UAAU,CAAC,CAAC;IAClD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE5B,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,YAAY,CAAC;CACnC;AAED,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"InputText.d.ts","sourceRoot":"","sources":["../../../../src/forms/InputText/InputText.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6CAA6C,CAAC;AACnF,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,SAAS,IAAI,WAAW,EAAE,cAAc,IAAI,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEjG,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AAIxC,OAAO,KAAK,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAG7D,MAAM,WAAW,cAAe,SAAQ,MAAM,CAAC,gBAAgB,EAAE,IAAI,CAAC;IACpE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,OAAO,CAAC,EAAE,eAAe,CAAC,SAAS,GAAG,UAAU,CAAC,CAAC;IAClD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAE5B,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACzB,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,KAAK,CAAC,EAAE,SAAS,CAAC;IAClB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,YAAY,CAAC;CACnC;AAED,eAAO,MAAM,SAAS,wGAsErB,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
export interface InputTextContainerProps {
|
|
3
3
|
children: NonNullable<ReactNode>;
|
|
4
|
+
isHovered?: boolean;
|
|
4
5
|
}
|
|
5
|
-
export declare function InputTextContainer({ children }: InputTextContainerProps): ReactNode;
|
|
6
|
+
export declare function InputTextContainer({ children, isHovered }: InputTextContainerProps): ReactNode;
|
|
6
7
|
//# sourceMappingURL=InputTextContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputTextContainer.d.ts","sourceRoot":"","sources":["../../../../src/forms/InputText/InputTextContainer.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"InputTextContainer.d.ts","sourceRoot":"","sources":["../../../../src/forms/InputText/InputTextContainer.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,MAAM,WAAW,uBAAuB;IACtC,QAAQ,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IACjC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,uBAAuB,GAAG,SAAS,CAwB9F"}
|
|
@@ -26,20 +26,6 @@ export interface FullscreenModalTheme {
|
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
28
|
}
|
|
29
|
-
export declare const webAnimationContentDuration = 600;
|
|
30
|
-
export declare const webAnimationContentEasing: {
|
|
31
|
-
x1: number;
|
|
32
|
-
y1: number;
|
|
33
|
-
x2: number;
|
|
34
|
-
y2: number;
|
|
35
|
-
};
|
|
36
|
-
export declare const webAnimationOverlayDuration = 250;
|
|
37
|
-
export declare const webAnimationOverlayEasing: {
|
|
38
|
-
x1: number;
|
|
39
|
-
y1: number;
|
|
40
|
-
x2: number;
|
|
41
|
-
y2: number;
|
|
42
|
-
};
|
|
43
29
|
export declare const fullscreenModal: FullscreenModalTheme;
|
|
44
30
|
export {};
|
|
45
31
|
//# sourceMappingURL=fullscreenModal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fullscreenModal.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/fullscreenModal.ts"],"names":[],"mappings":"AAAA,UAAU,MAAM;IACd,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE;QACN,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,MAAM,EAAE;QACN,eAAe,EAAE,MAAM,CAAC;KACzB,CAAC;IACF,iBAAiB,EAAE,MAAM,CAAC;IAC1B,IAAI,EAAE;QACJ,eAAe,EAAE,MAAM,CAAC;KACzB,CAAC;IACF,SAAS,EAAE;QACT,OAAO,EAAE;YACP,QAAQ,EAAE,MAAM,CAAC;YACjB,MAAM,EAAE,MAAM,CAAC;SAChB,CAAC;QACF,OAAO,EAAE;YACP,QAAQ,EAAE,MAAM,CAAC;YACjB,MAAM,EAAE,MAAM,CAAC;SAChB,CAAC;KACH,CAAC;CACH;AAED,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"fullscreenModal.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/fullscreenModal.ts"],"names":[],"mappings":"AAAA,UAAU,MAAM;IACd,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;IACX,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE;QACN,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;IACF,MAAM,EAAE;QACN,eAAe,EAAE,MAAM,CAAC;KACzB,CAAC;IACF,iBAAiB,EAAE,MAAM,CAAC;IAC1B,IAAI,EAAE;QACJ,eAAe,EAAE,MAAM,CAAC;KACzB,CAAC;IACF,SAAS,EAAE;QACT,OAAO,EAAE;YACP,QAAQ,EAAE,MAAM,CAAC;YACjB,MAAM,EAAE,MAAM,CAAC;SAChB,CAAC;QACF,OAAO,EAAE;YACP,QAAQ,EAAE,MAAM,CAAC;YACjB,MAAM,EAAE,MAAM,CAAC;SAChB,CAAC;KACH,CAAC;CACH;AAED,eAAO,MAAM,eAAe,EAAE,oBA+B7B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGtD,MAAM,WAAW,eAAe;IAC9B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"input.d.ts","sourceRoot":"","sources":["../../../../src/themes/late-ocean/input.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAGtD,MAAM,WAAW,eAAe;IAC9B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,YAAY,EAAE,eAAe,CAAC,CAAC;AAqCpE,MAAM,WAAW,UAAU;IACzB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE;QACL,SAAS,EAAE,MAAM,CAAC;QAClB,WAAW,EAAE,MAAM,CAAC;KACrB,CAAC;IACF,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM,CAAC;KACd,CAAC;IACF,OAAO,EAAE;QACP,UAAU,EAAE,MAAM,CAAC;QACnB,QAAQ,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,cAAc,EAAE;QACd,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,UAAU,EAAE;QACV,UAAU,EAAE,MAAM,EAAE,CAAC;QACrB,QAAQ,EAAE,MAAM,CAAC;QACjB,cAAc,EAAE,MAAM,CAAC;KACxB,CAAC;IACF,MAAM,EAAE,eAAe,CAAC;CACzB;AAED,eAAO,MAAM,oBAAoB,UAAU,CAAC;AAC5C,eAAO,MAAM,0BAA0B,gBAAgB,CAAC;AACxD,eAAO,MAAM,sBAAsB,UAAuC,CAAC;AAE3E,eAAO,MAAM,KAAK,EAAE,UAwBnB,CAAC"}
|
|
@@ -860,15 +860,15 @@ const card = {
|
|
|
860
860
|
}
|
|
861
861
|
};
|
|
862
862
|
|
|
863
|
-
const webAnimationContentDuration$
|
|
864
|
-
const webAnimationContentEasing$
|
|
863
|
+
const webAnimationContentDuration$1 = 400;
|
|
864
|
+
const webAnimationContentEasing$1 = {
|
|
865
865
|
x1: 0.77,
|
|
866
866
|
y1: 0,
|
|
867
867
|
x2: 0.175,
|
|
868
868
|
y2: 1
|
|
869
869
|
};
|
|
870
|
-
const webAnimationOverlayDuration$
|
|
871
|
-
const webAnimationOverlayEasing$
|
|
870
|
+
const webAnimationOverlayDuration$1 = 250;
|
|
871
|
+
const webAnimationOverlayEasing$1 = {
|
|
872
872
|
x1: 0.42,
|
|
873
873
|
y1: 0,
|
|
874
874
|
x2: 1,
|
|
@@ -903,12 +903,12 @@ const cardModal = {
|
|
|
903
903
|
},
|
|
904
904
|
animation: {
|
|
905
905
|
overlay: {
|
|
906
|
-
duration: webAnimationOverlayDuration$
|
|
907
|
-
easing: webAnimationOverlayEasing$
|
|
906
|
+
duration: webAnimationOverlayDuration$1,
|
|
907
|
+
easing: webAnimationOverlayEasing$1
|
|
908
908
|
},
|
|
909
909
|
content: {
|
|
910
|
-
duration: webAnimationContentDuration$
|
|
911
|
-
easing: webAnimationContentEasing$
|
|
910
|
+
duration: webAnimationContentDuration$1,
|
|
911
|
+
easing: webAnimationContentEasing$1
|
|
912
912
|
}
|
|
913
913
|
}
|
|
914
914
|
};
|
|
@@ -964,15 +964,15 @@ const choices = {
|
|
|
964
964
|
}
|
|
965
965
|
};
|
|
966
966
|
|
|
967
|
-
const webAnimationContentDuration
|
|
968
|
-
const webAnimationContentEasing
|
|
967
|
+
const webAnimationContentDuration = 400;
|
|
968
|
+
const webAnimationContentEasing = {
|
|
969
969
|
x1: 0.77,
|
|
970
970
|
y1: 0,
|
|
971
971
|
x2: 0.175,
|
|
972
972
|
y2: 1
|
|
973
973
|
};
|
|
974
|
-
const webAnimationOverlayDuration
|
|
975
|
-
const webAnimationOverlayEasing
|
|
974
|
+
const webAnimationOverlayDuration = 250;
|
|
975
|
+
const webAnimationOverlayEasing = {
|
|
976
976
|
x1: 0.42,
|
|
977
977
|
y1: 0,
|
|
978
978
|
x2: 1,
|
|
@@ -994,12 +994,12 @@ const dialogModal = {
|
|
|
994
994
|
},
|
|
995
995
|
animation: {
|
|
996
996
|
overlay: {
|
|
997
|
-
duration: webAnimationOverlayDuration
|
|
998
|
-
easing: webAnimationOverlayEasing
|
|
997
|
+
duration: webAnimationOverlayDuration,
|
|
998
|
+
easing: webAnimationOverlayEasing
|
|
999
999
|
},
|
|
1000
1000
|
content: {
|
|
1001
|
-
duration: webAnimationContentDuration
|
|
1002
|
-
easing: webAnimationContentEasing
|
|
1001
|
+
duration: webAnimationContentDuration,
|
|
1002
|
+
easing: webAnimationContentEasing
|
|
1003
1003
|
}
|
|
1004
1004
|
}
|
|
1005
1005
|
};
|
|
@@ -1057,10 +1057,10 @@ const autocomplete = {
|
|
|
1057
1057
|
};
|
|
1058
1058
|
|
|
1059
1059
|
const checkbox = {
|
|
1060
|
-
borderWidth:
|
|
1061
|
-
borderRadius:
|
|
1062
|
-
height:
|
|
1063
|
-
width:
|
|
1060
|
+
borderWidth: 2,
|
|
1061
|
+
borderRadius: 5,
|
|
1062
|
+
height: 20,
|
|
1063
|
+
width: 20,
|
|
1064
1064
|
iconSize: 14,
|
|
1065
1065
|
markColor: colors.uiBackgroundLight,
|
|
1066
1066
|
textSpacing: 10,
|
|
@@ -1123,7 +1123,6 @@ const inputStatesStyle = {
|
|
|
1123
1123
|
color: deepPurpleColorPalette.black
|
|
1124
1124
|
},
|
|
1125
1125
|
hover: {
|
|
1126
|
-
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
1127
1126
|
borderColor: deepPurpleColorPalette['beige.4'],
|
|
1128
1127
|
color: deepPurpleColorPalette.black
|
|
1129
1128
|
},
|
|
@@ -1908,20 +1907,6 @@ const forms = {
|
|
|
1908
1907
|
timePicker
|
|
1909
1908
|
};
|
|
1910
1909
|
|
|
1911
|
-
const webAnimationContentDuration = 600;
|
|
1912
|
-
const webAnimationContentEasing = {
|
|
1913
|
-
x1: 0.77,
|
|
1914
|
-
y1: 0,
|
|
1915
|
-
x2: 0.175,
|
|
1916
|
-
y2: 1
|
|
1917
|
-
};
|
|
1918
|
-
const webAnimationOverlayDuration = 250;
|
|
1919
|
-
const webAnimationOverlayEasing = {
|
|
1920
|
-
x1: 0.42,
|
|
1921
|
-
y1: 0,
|
|
1922
|
-
x2: 1,
|
|
1923
|
-
y2: 1
|
|
1924
|
-
};
|
|
1925
1910
|
const fullscreenModal = {
|
|
1926
1911
|
header: {
|
|
1927
1912
|
height: 56
|
|
@@ -1935,12 +1920,22 @@ const fullscreenModal = {
|
|
|
1935
1920
|
},
|
|
1936
1921
|
animation: {
|
|
1937
1922
|
overlay: {
|
|
1938
|
-
duration:
|
|
1939
|
-
easing:
|
|
1923
|
+
duration: 250,
|
|
1924
|
+
easing: {
|
|
1925
|
+
x1: 0.42,
|
|
1926
|
+
y1: 0,
|
|
1927
|
+
x2: 1,
|
|
1928
|
+
y2: 1
|
|
1929
|
+
}
|
|
1940
1930
|
},
|
|
1941
1931
|
content: {
|
|
1942
|
-
duration:
|
|
1943
|
-
easing:
|
|
1932
|
+
duration: 600,
|
|
1933
|
+
easing: {
|
|
1934
|
+
x1: 0.77,
|
|
1935
|
+
y1: 0,
|
|
1936
|
+
x2: 0.175,
|
|
1937
|
+
y2: 1
|
|
1938
|
+
}
|
|
1944
1939
|
}
|
|
1945
1940
|
}
|
|
1946
1941
|
};
|
|
@@ -5530,11 +5525,29 @@ function InputPressable(_ref) {
|
|
|
5530
5525
|
}
|
|
5531
5526
|
|
|
5532
5527
|
function InputTextContainer({
|
|
5533
|
-
children
|
|
5528
|
+
children,
|
|
5529
|
+
isHovered
|
|
5534
5530
|
}) {
|
|
5535
|
-
|
|
5536
|
-
|
|
5537
|
-
|
|
5531
|
+
const theme = useTheme();
|
|
5532
|
+
const sx = useSx();
|
|
5533
|
+
const styles = sx({
|
|
5534
|
+
borderRadius: input.borderRadius
|
|
5535
|
+
});
|
|
5536
|
+
const animatedBackground = useAnimatedStyle(() => {
|
|
5537
|
+
const baseBackgroundColor = theme.kitt.palettes.deepPurple.white;
|
|
5538
|
+
const hoverBackgroundColor = theme.kitt.palettes.deepPurple['beige.1'];
|
|
5539
|
+
return {
|
|
5540
|
+
backgroundColor: withTiming(isHovered ? hoverBackgroundColor : baseBackgroundColor, {
|
|
5541
|
+
duration: 200
|
|
5542
|
+
})
|
|
5543
|
+
};
|
|
5544
|
+
}, [isHovered, theme]);
|
|
5545
|
+
return /*#__PURE__*/jsx(Animated.View, {
|
|
5546
|
+
style: [styles, animatedBackground],
|
|
5547
|
+
children: /*#__PURE__*/jsx(View, {
|
|
5548
|
+
position: "relative",
|
|
5549
|
+
children: children
|
|
5550
|
+
})
|
|
5538
5551
|
});
|
|
5539
5552
|
}
|
|
5540
5553
|
|
|
@@ -5561,39 +5574,44 @@ const InputText = /*#__PURE__*/forwardRef((_ref, ref) => {
|
|
|
5561
5574
|
base: 'body-m'
|
|
5562
5575
|
});
|
|
5563
5576
|
const shouldHandleSingleLineOnIOS = Platform.OS === 'ios' && !multiline;
|
|
5564
|
-
return /*#__PURE__*/
|
|
5565
|
-
children:
|
|
5566
|
-
|
|
5567
|
-
|
|
5568
|
-
|
|
5569
|
-
|
|
5570
|
-
|
|
5571
|
-
|
|
5572
|
-
|
|
5573
|
-
|
|
5574
|
-
|
|
5575
|
-
|
|
5576
|
-
|
|
5577
|
-
|
|
5578
|
-
|
|
5579
|
-
|
|
5580
|
-
|
|
5581
|
-
|
|
5582
|
-
|
|
5583
|
-
|
|
5584
|
-
|
|
5585
|
-
|
|
5586
|
-
|
|
5587
|
-
|
|
5588
|
-
|
|
5589
|
-
|
|
5590
|
-
|
|
5591
|
-
|
|
5592
|
-
|
|
5593
|
-
|
|
5594
|
-
|
|
5595
|
-
|
|
5596
|
-
|
|
5577
|
+
return /*#__PURE__*/jsx(Pressable, {
|
|
5578
|
+
children: ({
|
|
5579
|
+
isHovered
|
|
5580
|
+
}) => /*#__PURE__*/jsxs(InputTextContainer, {
|
|
5581
|
+
isHovered: internalForceState ? internalForceState === 'hover' : isHovered,
|
|
5582
|
+
children: [/*#__PURE__*/jsx(Input, _objectSpread(_objectSpread({
|
|
5583
|
+
ref: ref,
|
|
5584
|
+
multiline: multiline,
|
|
5585
|
+
id: id,
|
|
5586
|
+
isDisabled: internalForceState ? internalForceState === 'disabled' : disabled,
|
|
5587
|
+
isHovered: internalForceState ? internalForceState === 'hover' : undefined,
|
|
5588
|
+
isFocused: internalForceState ? internalForceState === 'focus' : undefined,
|
|
5589
|
+
inputMode: inputMode,
|
|
5590
|
+
autoComplete: autoComplete,
|
|
5591
|
+
autoCorrect: autoCorrect,
|
|
5592
|
+
textContentType: textContentType,
|
|
5593
|
+
fontSize: fontSizeForNativeBase,
|
|
5594
|
+
lineHeight:
|
|
5595
|
+
// On basic text input, we set the line-height to zero for iOS to fix vertical text alignment
|
|
5596
|
+
// This is a iOS only fix since having 0 as a line-height value breaks text inputs on Android
|
|
5597
|
+
shouldHandleSingleLineOnIOS ? 0 : fontSizeForNativeBase,
|
|
5598
|
+
fontWeight: "bodies.regular",
|
|
5599
|
+
fontFamily: "bodies.regular",
|
|
5600
|
+
py: !multiline && Platform.OS !== 'web' ? 0 : undefined,
|
|
5601
|
+
variant: variant
|
|
5602
|
+
}, props), {}, {
|
|
5603
|
+
height: multiline ? height : 'kitt.forms.input.minHeight',
|
|
5604
|
+
onSubmitEditing: multiline ? () => null : onSubmitEditing
|
|
5605
|
+
})), right ? /*#__PURE__*/jsx(View, {
|
|
5606
|
+
position: "absolute",
|
|
5607
|
+
right: 0,
|
|
5608
|
+
top: 0,
|
|
5609
|
+
bottom: 0,
|
|
5610
|
+
justifyContent: "center",
|
|
5611
|
+
padding: theme.kitt.forms.input.rightContainer.padding,
|
|
5612
|
+
children: right
|
|
5613
|
+
}) : null]
|
|
5614
|
+
})
|
|
5597
5615
|
});
|
|
5598
5616
|
});
|
|
5599
5617
|
|