@ornikar/kitt-universal 31.4.1-canary.2fdbcaad37b7e76ba2442f7c56a4939349d51eb1.0 → 32.0.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 +14 -6
- package/dist/definitions/DialogModal/DialogModalAnimation/DialogModalAnimation.d.ts +1 -1
- package/dist/definitions/DialogModal/DialogModalAnimation/DialogModalAnimation.d.ts.map +1 -1
- package/dist/definitions/FullscreenModal/FullscreenModalAnimation.web.d.ts.map +1 -1
- package/dist/definitions/forms/InputAddress/InputAddress.d.ts +12 -8
- package/dist/definitions/forms/InputAddress/InputAddress.d.ts.map +1 -1
- package/dist/definitions/forms/InputAddress/InputAddressLegacy.d.ts +15 -0
- package/dist/definitions/forms/InputAddress/InputAddressLegacy.d.ts.map +1 -0
- package/dist/definitions/forms/InputAddress/InputAddressOption.d.ts +5 -4
- package/dist/definitions/forms/InputAddress/InputAddressOption.d.ts.map +1 -1
- package/dist/definitions/forms/InputAddress/InputAddressOptionLegacy.d.ts +7 -0
- package/dist/definitions/forms/InputAddress/InputAddressOptionLegacy.d.ts.map +1 -0
- package/dist/definitions/index.d.ts +4 -1
- package/dist/definitions/index.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/fullscreenModal.d.ts +14 -0
- package/dist/definitions/themes/late-ocean/fullscreenModal.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +184 -101
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +184 -101
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +119 -36
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.css +8 -38
- package/dist/index-node-22.17.cjs.web.js +177 -101
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +119 -37
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.css +8 -38
- package/dist/index-node-22.17.es.web.mjs +177 -102
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +185 -101
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +225 -148
- package/dist/index.es.web.js.map +1 -1
- package/dist/linaria-themes-metro.es.android.js +34 -30
- package/dist/linaria-themes-metro.es.android.js.map +1 -1
- package/dist/linaria-themes-metro.es.ios.js +34 -30
- package/dist/linaria-themes-metro.es.ios.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.js +34 -30
- package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.web.js +34 -30
- package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
- package/dist/linaria-themes-node-22.17.es.mjs +34 -30
- package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
- package/dist/linaria-themes-node-22.17.es.web.mjs +34 -30
- package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
- package/dist/linaria-themes.es.js +34 -30
- package/dist/linaria-themes.es.js.map +1 -1
- package/dist/linaria-themes.es.web.js +34 -30
- package/dist/linaria-themes.es.web.js.map +1 -1
- package/dist/styles.css +8 -38
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -7,44 +7,14 @@
|
|
|
7
7
|
.kitt-u_opacityExit_ogyytm1{opacity:1;}
|
|
8
8
|
.kitt-u_opacityExitActive_o18xvk52{opacity:0;-webkit-transition:opacity 250ms cubic-bezier(0.42,0,1,1);transition:opacity 250ms cubic-bezier(0.42,0,1,1);}
|
|
9
9
|
.kitt-u_inputTextContainer_i1encr9g{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:relative;}.kitt-u_inputTextContainer_i1encr9g > *::-ms-clear,.kitt-u_inputTextContainer_i1encr9g > *::-ms-reveal{display:none;}.kitt-u_inputTextContainer_i1encr9g > *{-webkit-transition:border-color 200ms ease-in-out,background-color 200ms ease-in-out;transition:border-color 200ms ease-in-out,background-color 200ms ease-in-out;}
|
|
10
|
-
|
|
11
|
-
.
|
|
12
|
-
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.FullscreenModalAnimation-module_overlay-exit__Qx1WE {
|
|
21
|
-
opacity: 1;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.FullscreenModalAnimation-module_overlay-exit-active__lFR3x {
|
|
25
|
-
opacity: 0;
|
|
26
|
-
transition: opacity var(--overlay-duration) var(--overlay-easing);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/* Content animation styles - uses CSS variables for theme values */
|
|
30
|
-
.FullscreenModalAnimation-module_content-enter__JmCWa {
|
|
31
|
-
transform: translateY(100%);
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.FullscreenModalAnimation-module_content-enter-active__iaNRs {
|
|
35
|
-
transform: translateY(0);
|
|
36
|
-
transition: transform var(--content-duration) var(--content-easing);
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
.FullscreenModalAnimation-module_content-exit__hB0wY {
|
|
40
|
-
transform: translateY(0);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.FullscreenModalAnimation-module_content-exit-active__BPVPo {
|
|
44
|
-
transform: translateY(100%);
|
|
45
|
-
transition: transform var(--content-duration) var(--content-easing);
|
|
46
|
-
}
|
|
47
|
-
|
|
10
|
+
.kitt-u_slideInFromBottomEnter_s1717rto{-webkit-transform:translateY(100%);-ms-transform:translateY(100%);transform:translateY(100%);}
|
|
11
|
+
.kitt-u_slideInFromBottomEnterActive_sux6xgc{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);-webkit-transition:-webkit-transform 600ms cubic-bezier(0.77,0,0.175,1);-webkit-transition:transform 600ms cubic-bezier(0.77,0,0.175,1);transition:transform 600ms cubic-bezier(0.77,0,0.175,1);}
|
|
12
|
+
.kitt-u_slideInFromBottomExit_sl0lsxt{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);}
|
|
13
|
+
.kitt-u_slideInFromBottomExitActive_srlzzmu{-webkit-transform:translateY(100%);-ms-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform 600ms cubic-bezier(0.77,0,0.175,1);-webkit-transition:transform 600ms cubic-bezier(0.77,0,0.175,1);transition:transform 600ms cubic-bezier(0.77,0,0.175,1);}
|
|
14
|
+
.kitt-u_opacityEnter_okm44hr{opacity:0;}
|
|
15
|
+
.kitt-u_opacityEnterActive_o2w8t0i{opacity:1;-webkit-transition:opacity 250ms cubic-bezier(0.42,1,0,1);transition:opacity 250ms cubic-bezier(0.42,1,0,1);}
|
|
16
|
+
.kitt-u_opacityExit_o14r8iix{opacity:1;}
|
|
17
|
+
.kitt-u_opacityExitActive_oim72y2{opacity:0;-webkit-transition:opacity 250ms cubic-bezier(0.42,1,0,1);transition:opacity 250ms cubic-bezier(0.42,1,0,1);}
|
|
48
18
|
.kitt-u_enter_ereraf{-webkit-transform:translateY(8px);-ms-transform:translateY(8px);transform:translateY(8px);opacity:0;}
|
|
49
19
|
.kitt-u_enterActive_e1jmsjrm{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);opacity:1;-webkit-transition:all 300ms ease-in-out;transition:all 300ms ease-in-out;}
|
|
50
20
|
.kitt-u_exit_e1mwnccz{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);opacity:1;}
|
|
@@ -847,15 +847,15 @@ const card = {
|
|
|
847
847
|
}
|
|
848
848
|
};
|
|
849
849
|
|
|
850
|
-
const webAnimationContentDuration$
|
|
851
|
-
const webAnimationContentEasing$
|
|
850
|
+
const webAnimationContentDuration$2 = 400;
|
|
851
|
+
const webAnimationContentEasing$2 = {
|
|
852
852
|
x1: 0.77,
|
|
853
853
|
y1: 0,
|
|
854
854
|
x2: 0.175,
|
|
855
855
|
y2: 1
|
|
856
856
|
};
|
|
857
|
-
const webAnimationOverlayDuration$
|
|
858
|
-
const webAnimationOverlayEasing$
|
|
857
|
+
const webAnimationOverlayDuration$2 = 250;
|
|
858
|
+
const webAnimationOverlayEasing$2 = {
|
|
859
859
|
x1: 0.42,
|
|
860
860
|
y1: 0,
|
|
861
861
|
x2: 1,
|
|
@@ -890,12 +890,12 @@ const cardModal = {
|
|
|
890
890
|
},
|
|
891
891
|
animation: {
|
|
892
892
|
overlay: {
|
|
893
|
-
duration: webAnimationOverlayDuration$
|
|
894
|
-
easing: webAnimationOverlayEasing$
|
|
893
|
+
duration: webAnimationOverlayDuration$2,
|
|
894
|
+
easing: webAnimationOverlayEasing$2
|
|
895
895
|
},
|
|
896
896
|
content: {
|
|
897
|
-
duration: webAnimationContentDuration$
|
|
898
|
-
easing: webAnimationContentEasing$
|
|
897
|
+
duration: webAnimationContentDuration$2,
|
|
898
|
+
easing: webAnimationContentEasing$2
|
|
899
899
|
}
|
|
900
900
|
}
|
|
901
901
|
};
|
|
@@ -951,15 +951,15 @@ const choices = {
|
|
|
951
951
|
}
|
|
952
952
|
};
|
|
953
953
|
|
|
954
|
-
const webAnimationContentDuration = 400;
|
|
955
|
-
const webAnimationContentEasing = {
|
|
954
|
+
const webAnimationContentDuration$1 = 400;
|
|
955
|
+
const webAnimationContentEasing$1 = {
|
|
956
956
|
x1: 0.77,
|
|
957
957
|
y1: 0,
|
|
958
958
|
x2: 0.175,
|
|
959
959
|
y2: 1
|
|
960
960
|
};
|
|
961
|
-
const webAnimationOverlayDuration = 250;
|
|
962
|
-
const webAnimationOverlayEasing = {
|
|
961
|
+
const webAnimationOverlayDuration$1 = 250;
|
|
962
|
+
const webAnimationOverlayEasing$1 = {
|
|
963
963
|
x1: 0.42,
|
|
964
964
|
y1: 0,
|
|
965
965
|
x2: 1,
|
|
@@ -981,12 +981,12 @@ const dialogModal = {
|
|
|
981
981
|
},
|
|
982
982
|
animation: {
|
|
983
983
|
overlay: {
|
|
984
|
-
duration: webAnimationOverlayDuration,
|
|
985
|
-
easing: webAnimationOverlayEasing
|
|
984
|
+
duration: webAnimationOverlayDuration$1,
|
|
985
|
+
easing: webAnimationOverlayEasing$1
|
|
986
986
|
},
|
|
987
987
|
content: {
|
|
988
|
-
duration: webAnimationContentDuration,
|
|
989
|
-
easing: webAnimationContentEasing
|
|
988
|
+
duration: webAnimationContentDuration$1,
|
|
989
|
+
easing: webAnimationContentEasing$1
|
|
990
990
|
}
|
|
991
991
|
}
|
|
992
992
|
};
|
|
@@ -1895,6 +1895,20 @@ const forms = {
|
|
|
1895
1895
|
timePicker
|
|
1896
1896
|
};
|
|
1897
1897
|
|
|
1898
|
+
const webAnimationContentDuration = 600;
|
|
1899
|
+
const webAnimationContentEasing = {
|
|
1900
|
+
x1: 0.77,
|
|
1901
|
+
y1: 0,
|
|
1902
|
+
x2: 0.175,
|
|
1903
|
+
y2: 1
|
|
1904
|
+
};
|
|
1905
|
+
const webAnimationOverlayDuration = 250;
|
|
1906
|
+
const webAnimationOverlayEasing = {
|
|
1907
|
+
x1: 0.42,
|
|
1908
|
+
y1: 0,
|
|
1909
|
+
x2: 1,
|
|
1910
|
+
y2: 1
|
|
1911
|
+
};
|
|
1898
1912
|
const fullscreenModal = {
|
|
1899
1913
|
header: {
|
|
1900
1914
|
height: 56
|
|
@@ -1908,22 +1922,12 @@ const fullscreenModal = {
|
|
|
1908
1922
|
},
|
|
1909
1923
|
animation: {
|
|
1910
1924
|
overlay: {
|
|
1911
|
-
duration:
|
|
1912
|
-
easing:
|
|
1913
|
-
x1: 0.42,
|
|
1914
|
-
y1: 0,
|
|
1915
|
-
x2: 1,
|
|
1916
|
-
y2: 1
|
|
1917
|
-
}
|
|
1925
|
+
duration: webAnimationOverlayDuration,
|
|
1926
|
+
easing: webAnimationOverlayEasing
|
|
1918
1927
|
},
|
|
1919
1928
|
content: {
|
|
1920
|
-
duration:
|
|
1921
|
-
easing:
|
|
1922
|
-
x1: 0.77,
|
|
1923
|
-
y1: 0,
|
|
1924
|
-
x2: 0.175,
|
|
1925
|
-
y2: 1
|
|
1926
|
-
}
|
|
1929
|
+
duration: webAnimationContentDuration,
|
|
1930
|
+
easing: webAnimationContentEasing
|
|
1927
1931
|
}
|
|
1928
1932
|
}
|
|
1929
1933
|
};
|
|
@@ -4340,17 +4344,17 @@ const contentAnimationClassNames = {
|
|
|
4340
4344
|
exit: contentAnimatioExit,
|
|
4341
4345
|
exitActive: contentAnimatioExitActive
|
|
4342
4346
|
};
|
|
4343
|
-
const opacityEnter = "kitt-u_opacityEnter_o1ae40dx";
|
|
4344
|
-
const opacityEnterActive = "kitt-u_opacityEnterActive_o1t4vl7b";
|
|
4345
|
-
const opacityExit = "kitt-u_opacityExit_ogyytm1";
|
|
4346
|
-
const opacityExitActive = "kitt-u_opacityExitActive_o18xvk52";
|
|
4347
|
-
const opacityClassNames = {
|
|
4348
|
-
appear: opacityEnter,
|
|
4349
|
-
appearActive: opacityEnterActive,
|
|
4350
|
-
enter: opacityEnter,
|
|
4351
|
-
enterActive: opacityEnterActive,
|
|
4352
|
-
exit: opacityExit,
|
|
4353
|
-
exitActive: opacityExitActive
|
|
4347
|
+
const opacityEnter$1 = "kitt-u_opacityEnter_o1ae40dx";
|
|
4348
|
+
const opacityEnterActive$1 = "kitt-u_opacityEnterActive_o1t4vl7b";
|
|
4349
|
+
const opacityExit$1 = "kitt-u_opacityExit_ogyytm1";
|
|
4350
|
+
const opacityExitActive$1 = "kitt-u_opacityExitActive_o18xvk52";
|
|
4351
|
+
const opacityClassNames$1 = {
|
|
4352
|
+
appear: opacityEnter$1,
|
|
4353
|
+
appearActive: opacityEnterActive$1,
|
|
4354
|
+
enter: opacityEnter$1,
|
|
4355
|
+
enterActive: opacityEnterActive$1,
|
|
4356
|
+
exit: opacityExit$1,
|
|
4357
|
+
exitActive: opacityExitActive$1
|
|
4354
4358
|
};
|
|
4355
4359
|
function CardModalAnimation({
|
|
4356
4360
|
children,
|
|
@@ -4386,7 +4390,7 @@ function CardModalAnimation({
|
|
|
4386
4390
|
...sharedProps,
|
|
4387
4391
|
nodeRef: overlayRef,
|
|
4388
4392
|
timeout: isAnimationEnabled ? animation.overlay.duration : 0,
|
|
4389
|
-
classNames: opacityClassNames,
|
|
4393
|
+
classNames: opacityClassNames$1,
|
|
4390
4394
|
children: /*#__PURE__*/jsxRuntime.jsx(Overlay, {
|
|
4391
4395
|
ref: overlayRef,
|
|
4392
4396
|
onPress: onClose
|
|
@@ -5042,7 +5046,8 @@ function DialogModalAnimation({
|
|
|
5042
5046
|
onEntered,
|
|
5043
5047
|
onExit,
|
|
5044
5048
|
onExited,
|
|
5045
|
-
onClose
|
|
5049
|
+
onClose,
|
|
5050
|
+
testID
|
|
5046
5051
|
}) {
|
|
5047
5052
|
const [isModalVisible, setIsModalVisible] = react.useState(visible);
|
|
5048
5053
|
const [isContentVisible, setIsContentVisible] = react.useState(false);
|
|
@@ -5076,6 +5081,7 @@ function DialogModalAnimation({
|
|
|
5076
5081
|
flexGrow: 1,
|
|
5077
5082
|
justifyContent: "center",
|
|
5078
5083
|
alignItems: "center",
|
|
5084
|
+
testID: testID,
|
|
5079
5085
|
children: [/*#__PURE__*/jsxRuntime.jsx(NativeOpacityAnimation, {
|
|
5080
5086
|
visible: isContentVisible,
|
|
5081
5087
|
onExited: handleAnimationExited,
|
|
@@ -6322,6 +6328,82 @@ function ImagePicker({
|
|
|
6322
6328
|
});
|
|
6323
6329
|
}
|
|
6324
6330
|
|
|
6331
|
+
function InputAddressOption({
|
|
6332
|
+
item,
|
|
6333
|
+
mainText,
|
|
6334
|
+
secondaryText
|
|
6335
|
+
}) {
|
|
6336
|
+
const sharedTransform = {
|
|
6337
|
+
style: {
|
|
6338
|
+
transform: 'translateY(4px)'
|
|
6339
|
+
}
|
|
6340
|
+
};
|
|
6341
|
+
return /*#__PURE__*/jsxRuntime.jsx(Autocomplete.Option, {
|
|
6342
|
+
item: item,
|
|
6343
|
+
testID: "kitt.InputAddressOption.item",
|
|
6344
|
+
children: /*#__PURE__*/jsxRuntime.jsxs(HStack, {
|
|
6345
|
+
space: "kitt.2",
|
|
6346
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(View, {
|
|
6347
|
+
_web: sharedTransform,
|
|
6348
|
+
_ios: sharedTransform,
|
|
6349
|
+
_android: sharedTransform,
|
|
6350
|
+
children: /*#__PURE__*/jsxRuntime.jsx(TypographyIcon, {
|
|
6351
|
+
icon: /*#__PURE__*/jsxRuntime.jsx(phosphor.MapPinRegularIcon, {}),
|
|
6352
|
+
color: "black"
|
|
6353
|
+
})
|
|
6354
|
+
}), /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
6355
|
+
flexShrink: 1,
|
|
6356
|
+
children: /*#__PURE__*/jsxRuntime.jsxs(Typography.Text, {
|
|
6357
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(Typography.Text, {
|
|
6358
|
+
variant: "bold",
|
|
6359
|
+
children: mainText
|
|
6360
|
+
}), secondaryText ? /*#__PURE__*/jsxRuntime.jsxs(Typography.Text, {
|
|
6361
|
+
color: "black-light",
|
|
6362
|
+
variant: "bold",
|
|
6363
|
+
children: [' ', secondaryText]
|
|
6364
|
+
}) : null]
|
|
6365
|
+
})
|
|
6366
|
+
})]
|
|
6367
|
+
})
|
|
6368
|
+
});
|
|
6369
|
+
}
|
|
6370
|
+
|
|
6371
|
+
function InputAddress({
|
|
6372
|
+
errorElement,
|
|
6373
|
+
initialValue,
|
|
6374
|
+
emptyResultsElement,
|
|
6375
|
+
onChange,
|
|
6376
|
+
items,
|
|
6377
|
+
isLoading,
|
|
6378
|
+
hasError,
|
|
6379
|
+
onInputChange,
|
|
6380
|
+
onSelectItem,
|
|
6381
|
+
convertInitialValue,
|
|
6382
|
+
renderItem,
|
|
6383
|
+
...props
|
|
6384
|
+
}) {
|
|
6385
|
+
const formattedInitialValue = initialValue ? convertInitialValue(initialValue) : undefined;
|
|
6386
|
+
return /*#__PURE__*/jsxRuntime.jsx(Autocomplete, {
|
|
6387
|
+
...props,
|
|
6388
|
+
initialValue: formattedInitialValue,
|
|
6389
|
+
right: isLoading ? /*#__PURE__*/jsxRuntime.jsx(Icon, {
|
|
6390
|
+
icon: /*#__PURE__*/jsxRuntime.jsx(LoaderIcon, {}),
|
|
6391
|
+
color: "kitt.black"
|
|
6392
|
+
}) : undefined,
|
|
6393
|
+
errorElement: hasError ? errorElement : null,
|
|
6394
|
+
emptyResultsElement: items.length === 0 ? emptyResultsElement : null,
|
|
6395
|
+
onInputChange: value => onInputChange(value),
|
|
6396
|
+
onChange: item => onSelectItem(item, onChange),
|
|
6397
|
+
children: items.map(item => {
|
|
6398
|
+
const itemElement = renderItem(item);
|
|
6399
|
+
return /*#__PURE__*/react.cloneElement(itemElement, {
|
|
6400
|
+
item
|
|
6401
|
+
});
|
|
6402
|
+
})
|
|
6403
|
+
});
|
|
6404
|
+
}
|
|
6405
|
+
InputAddress.Option = InputAddressOption;
|
|
6406
|
+
|
|
6325
6407
|
const GoogleMapsApiKeyContext = /*#__PURE__*/react.createContext(undefined);
|
|
6326
6408
|
function GoogleMapsApiKeyProvider({
|
|
6327
6409
|
children,
|
|
@@ -6647,7 +6729,7 @@ function useGoogleMapsAutocomplete() {
|
|
|
6647
6729
|
return context;
|
|
6648
6730
|
}
|
|
6649
6731
|
|
|
6650
|
-
function
|
|
6732
|
+
function InputAddressOptionLegacy({
|
|
6651
6733
|
item
|
|
6652
6734
|
}) {
|
|
6653
6735
|
const sharedTransform = {
|
|
@@ -6657,7 +6739,7 @@ function InputAddressOption({
|
|
|
6657
6739
|
};
|
|
6658
6740
|
return /*#__PURE__*/jsxRuntime.jsx(Autocomplete.Option, {
|
|
6659
6741
|
item: item,
|
|
6660
|
-
testID: "kitt.
|
|
6742
|
+
testID: "kitt.InputAddressOptionLegacy.item",
|
|
6661
6743
|
children: /*#__PURE__*/jsxRuntime.jsxs(HStack, {
|
|
6662
6744
|
space: "kitt.2",
|
|
6663
6745
|
children: [/*#__PURE__*/jsxRuntime.jsx(View, {
|
|
@@ -6718,7 +6800,7 @@ function formatInitialValueToAutocompletePrediction(address, placeId) {
|
|
|
6718
6800
|
};
|
|
6719
6801
|
}
|
|
6720
6802
|
|
|
6721
|
-
function
|
|
6803
|
+
function InputAddressLegacy({
|
|
6722
6804
|
initialValue,
|
|
6723
6805
|
itemToString = defaultItemToString,
|
|
6724
6806
|
errorElement,
|
|
@@ -6751,12 +6833,12 @@ function InputAddress({
|
|
|
6751
6833
|
onChange: v => {
|
|
6752
6834
|
onSelectItem(v, onChange);
|
|
6753
6835
|
},
|
|
6754
|
-
children: state.items.map(item => /*#__PURE__*/jsxRuntime.jsx(
|
|
6836
|
+
children: state.items.map(item => /*#__PURE__*/jsxRuntime.jsx(InputAddressOptionLegacy, {
|
|
6755
6837
|
item: item
|
|
6756
6838
|
}, item.place_id))
|
|
6757
6839
|
});
|
|
6758
6840
|
}
|
|
6759
|
-
|
|
6841
|
+
InputAddressLegacy.Option = InputAddressOptionLegacy;
|
|
6760
6842
|
|
|
6761
6843
|
const InputEmail = /*#__PURE__*/react.forwardRef((props, ref) => {
|
|
6762
6844
|
return /*#__PURE__*/jsxRuntime.jsx(InputText, {
|
|
@@ -7647,23 +7729,29 @@ function FullscreenModalFooter({
|
|
|
7647
7729
|
});
|
|
7648
7730
|
}
|
|
7649
7731
|
|
|
7650
|
-
const
|
|
7651
|
-
|
|
7652
|
-
const
|
|
7653
|
-
|
|
7654
|
-
appearActive: styles$1['overlay-enter-active'],
|
|
7655
|
-
enter: styles$1['overlay-enter'],
|
|
7656
|
-
enterActive: styles$1['overlay-enter-active'],
|
|
7657
|
-
exit: styles$1['overlay-exit'],
|
|
7658
|
-
exitActive: styles$1['overlay-exit-active']
|
|
7659
|
-
};
|
|
7732
|
+
const slideInFromBottomEnter = "kitt-u_slideInFromBottomEnter_s1717rto";
|
|
7733
|
+
const slideInFromBottomEnterActive = "kitt-u_slideInFromBottomEnterActive_sux6xgc";
|
|
7734
|
+
const slideInFromBottomExit = "kitt-u_slideInFromBottomExit_sl0lsxt";
|
|
7735
|
+
const slideInFromBottomExitActive = "kitt-u_slideInFromBottomExitActive_srlzzmu";
|
|
7660
7736
|
const slideInClassNames = {
|
|
7661
|
-
appear:
|
|
7662
|
-
appearActive:
|
|
7663
|
-
enter:
|
|
7664
|
-
enterActive:
|
|
7665
|
-
exit:
|
|
7666
|
-
exitActive:
|
|
7737
|
+
appear: slideInFromBottomEnter,
|
|
7738
|
+
appearActive: slideInFromBottomEnterActive,
|
|
7739
|
+
enter: slideInFromBottomEnter,
|
|
7740
|
+
enterActive: slideInFromBottomEnterActive,
|
|
7741
|
+
exit: slideInFromBottomExit,
|
|
7742
|
+
exitActive: slideInFromBottomExitActive
|
|
7743
|
+
};
|
|
7744
|
+
const opacityEnter = "kitt-u_opacityEnter_okm44hr";
|
|
7745
|
+
const opacityEnterActive = "kitt-u_opacityEnterActive_o2w8t0i";
|
|
7746
|
+
const opacityExit = "kitt-u_opacityExit_o14r8iix";
|
|
7747
|
+
const opacityExitActive = "kitt-u_opacityExitActive_oim72y2";
|
|
7748
|
+
const opacityClassNames = {
|
|
7749
|
+
appear: opacityEnter,
|
|
7750
|
+
appearActive: opacityEnterActive,
|
|
7751
|
+
enter: opacityEnter,
|
|
7752
|
+
enterActive: opacityEnterActive,
|
|
7753
|
+
exit: opacityExit,
|
|
7754
|
+
exitActive: opacityExitActive
|
|
7667
7755
|
};
|
|
7668
7756
|
function FullscreenModalAnimation({
|
|
7669
7757
|
children,
|
|
@@ -7691,44 +7779,31 @@ function FullscreenModalAnimation({
|
|
|
7691
7779
|
appear,
|
|
7692
7780
|
unmountOnExit
|
|
7693
7781
|
};
|
|
7694
|
-
|
|
7695
|
-
// CSS custom properties for theme-based animation values
|
|
7696
|
-
const overlayEasing = animation.overlay.easing;
|
|
7697
|
-
const contentEasing = animation.content.easing;
|
|
7698
|
-
const cssVariables = {
|
|
7699
|
-
'--overlay-duration': `${animation.overlay.duration}ms`,
|
|
7700
|
-
'--overlay-easing': `cubic-bezier(${overlayEasing.x1}, ${overlayEasing.y1}, ${overlayEasing.x2}, ${overlayEasing.y2})`,
|
|
7701
|
-
'--content-duration': `${animation.content.duration}ms`,
|
|
7702
|
-
'--content-easing': `cubic-bezier(${contentEasing.x1}, ${contentEasing.y1}, ${contentEasing.x2}, ${contentEasing.y2})`
|
|
7703
|
-
};
|
|
7704
|
-
return /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
7782
|
+
return /*#__PURE__*/jsxRuntime.jsxs(View, {
|
|
7705
7783
|
...props,
|
|
7706
|
-
children: /*#__PURE__*/jsxRuntime.
|
|
7707
|
-
|
|
7708
|
-
|
|
7709
|
-
|
|
7710
|
-
|
|
7711
|
-
|
|
7712
|
-
|
|
7713
|
-
|
|
7714
|
-
|
|
7715
|
-
|
|
7716
|
-
|
|
7717
|
-
|
|
7718
|
-
|
|
7719
|
-
|
|
7720
|
-
|
|
7721
|
-
|
|
7722
|
-
|
|
7723
|
-
|
|
7724
|
-
|
|
7725
|
-
|
|
7726
|
-
children:
|
|
7727
|
-
|
|
7728
|
-
|
|
7729
|
-
})
|
|
7730
|
-
})]
|
|
7731
|
-
})
|
|
7784
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(reactTransitionGroup.CSSTransition, {
|
|
7785
|
+
...sharedProps,
|
|
7786
|
+
nodeRef: overlayRef,
|
|
7787
|
+
timeout: isAnimationEnabled ? animation.overlay.duration : 0,
|
|
7788
|
+
classNames: opacityClassNames,
|
|
7789
|
+
children: /*#__PURE__*/jsxRuntime.jsx(Overlay, {
|
|
7790
|
+
ref: overlayRef,
|
|
7791
|
+
onPress: onClose
|
|
7792
|
+
})
|
|
7793
|
+
}), /*#__PURE__*/jsxRuntime.jsx(reactTransitionGroup.CSSTransition, {
|
|
7794
|
+
...sharedProps,
|
|
7795
|
+
nodeRef: contentRef,
|
|
7796
|
+
timeout: isAnimationEnabled ? animation.content.duration : 0,
|
|
7797
|
+
classNames: slideInClassNames,
|
|
7798
|
+
onEnter: onEnter,
|
|
7799
|
+
onEntered: onEntered,
|
|
7800
|
+
onExit: onExit,
|
|
7801
|
+
onExited: onExited,
|
|
7802
|
+
children: /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
7803
|
+
ref: contentRef,
|
|
7804
|
+
children: children
|
|
7805
|
+
})
|
|
7806
|
+
})]
|
|
7732
7807
|
});
|
|
7733
7808
|
}
|
|
7734
7809
|
|
|
@@ -13767,6 +13842,7 @@ exports.Image = Image;
|
|
|
13767
13842
|
exports.ImagePicker = ImagePicker;
|
|
13768
13843
|
exports.InfoCard = InfoCard;
|
|
13769
13844
|
exports.InputAddress = InputAddress;
|
|
13845
|
+
exports.InputAddressLegacy = InputAddressLegacy;
|
|
13770
13846
|
exports.InputEmail = InputEmail;
|
|
13771
13847
|
exports.InputFeedback = InputFeedback;
|
|
13772
13848
|
exports.InputField = InputField;
|