@ornikar/kitt-universal 32.2.0 → 32.3.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 +9 -0
- package/dist/definitions/FullscreenModal/FullscreenModalAnimation.web.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/index-metro.es.android.js +30 -34
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +30 -34
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +30 -34
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.css +38 -8
- package/dist/index-node-22.17.cjs.web.js +95 -92
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +30 -34
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.css +38 -8
- package/dist/index-node-22.17.es.web.mjs +95 -92
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +30 -34
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +93 -90
- package/dist/index.es.web.js.map +1 -1
- package/dist/linaria-themes-metro.es.android.js +30 -34
- package/dist/linaria-themes-metro.es.android.js.map +1 -1
- package/dist/linaria-themes-metro.es.ios.js +30 -34
- package/dist/linaria-themes-metro.es.ios.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.js +30 -34
- package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.web.js +30 -34
- package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
- package/dist/linaria-themes-node-22.17.es.mjs +30 -34
- package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
- package/dist/linaria-themes-node-22.17.es.web.mjs +30 -34
- package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
- package/dist/linaria-themes.es.js +30 -34
- package/dist/linaria-themes.es.js.map +1 -1
- package/dist/linaria-themes.es.web.js +30 -34
- package/dist/linaria-themes.es.web.js.map +1 -1
- package/dist/styles.css +38 -8
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -7,14 +7,44 @@
|
|
|
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
|
-
|
|
10
|
+
/* Overlay animation styles - uses CSS variables for theme values */
|
|
11
|
+
.FullscreenModalAnimation-module_overlay-enter__L1J1X {
|
|
12
|
+
opacity: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.FullscreenModalAnimation-module_overlay-enter-active__gDEVb {
|
|
16
|
+
opacity: 1;
|
|
17
|
+
transition: opacity var(--overlay-duration) var(--overlay-easing);
|
|
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
|
+
|
|
18
48
|
.kitt-u_enter_ereraf{-webkit-transform:translateY(8px);-ms-transform:translateY(8px);transform:translateY(8px);opacity:0;}
|
|
19
49
|
.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;}
|
|
20
50
|
.kitt-u_exit_e1mwnccz{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);opacity:1;}
|
|
@@ -855,15 +855,15 @@ const card = {
|
|
|
855
855
|
}
|
|
856
856
|
};
|
|
857
857
|
|
|
858
|
-
const webAnimationContentDuration$
|
|
859
|
-
const webAnimationContentEasing$
|
|
858
|
+
const webAnimationContentDuration$1 = 400;
|
|
859
|
+
const webAnimationContentEasing$1 = {
|
|
860
860
|
x1: 0.77,
|
|
861
861
|
y1: 0,
|
|
862
862
|
x2: 0.175,
|
|
863
863
|
y2: 1
|
|
864
864
|
};
|
|
865
|
-
const webAnimationOverlayDuration$
|
|
866
|
-
const webAnimationOverlayEasing$
|
|
865
|
+
const webAnimationOverlayDuration$1 = 250;
|
|
866
|
+
const webAnimationOverlayEasing$1 = {
|
|
867
867
|
x1: 0.42,
|
|
868
868
|
y1: 0,
|
|
869
869
|
x2: 1,
|
|
@@ -898,12 +898,12 @@ const cardModal = {
|
|
|
898
898
|
},
|
|
899
899
|
animation: {
|
|
900
900
|
overlay: {
|
|
901
|
-
duration: webAnimationOverlayDuration$
|
|
902
|
-
easing: webAnimationOverlayEasing$
|
|
901
|
+
duration: webAnimationOverlayDuration$1,
|
|
902
|
+
easing: webAnimationOverlayEasing$1
|
|
903
903
|
},
|
|
904
904
|
content: {
|
|
905
|
-
duration: webAnimationContentDuration$
|
|
906
|
-
easing: webAnimationContentEasing$
|
|
905
|
+
duration: webAnimationContentDuration$1,
|
|
906
|
+
easing: webAnimationContentEasing$1
|
|
907
907
|
}
|
|
908
908
|
}
|
|
909
909
|
};
|
|
@@ -959,15 +959,15 @@ const choices = {
|
|
|
959
959
|
}
|
|
960
960
|
};
|
|
961
961
|
|
|
962
|
-
const webAnimationContentDuration
|
|
963
|
-
const webAnimationContentEasing
|
|
962
|
+
const webAnimationContentDuration = 400;
|
|
963
|
+
const webAnimationContentEasing = {
|
|
964
964
|
x1: 0.77,
|
|
965
965
|
y1: 0,
|
|
966
966
|
x2: 0.175,
|
|
967
967
|
y2: 1
|
|
968
968
|
};
|
|
969
|
-
const webAnimationOverlayDuration
|
|
970
|
-
const webAnimationOverlayEasing
|
|
969
|
+
const webAnimationOverlayDuration = 250;
|
|
970
|
+
const webAnimationOverlayEasing = {
|
|
971
971
|
x1: 0.42,
|
|
972
972
|
y1: 0,
|
|
973
973
|
x2: 1,
|
|
@@ -989,12 +989,12 @@ const dialogModal = {
|
|
|
989
989
|
},
|
|
990
990
|
animation: {
|
|
991
991
|
overlay: {
|
|
992
|
-
duration: webAnimationOverlayDuration
|
|
993
|
-
easing: webAnimationOverlayEasing
|
|
992
|
+
duration: webAnimationOverlayDuration,
|
|
993
|
+
easing: webAnimationOverlayEasing
|
|
994
994
|
},
|
|
995
995
|
content: {
|
|
996
|
-
duration: webAnimationContentDuration
|
|
997
|
-
easing: webAnimationContentEasing
|
|
996
|
+
duration: webAnimationContentDuration,
|
|
997
|
+
easing: webAnimationContentEasing
|
|
998
998
|
}
|
|
999
999
|
}
|
|
1000
1000
|
};
|
|
@@ -1903,20 +1903,6 @@ const forms = {
|
|
|
1903
1903
|
timePicker
|
|
1904
1904
|
};
|
|
1905
1905
|
|
|
1906
|
-
const webAnimationContentDuration = 600;
|
|
1907
|
-
const webAnimationContentEasing = {
|
|
1908
|
-
x1: 0.77,
|
|
1909
|
-
y1: 0,
|
|
1910
|
-
x2: 0.175,
|
|
1911
|
-
y2: 1
|
|
1912
|
-
};
|
|
1913
|
-
const webAnimationOverlayDuration = 250;
|
|
1914
|
-
const webAnimationOverlayEasing = {
|
|
1915
|
-
x1: 0.42,
|
|
1916
|
-
y1: 0,
|
|
1917
|
-
x2: 1,
|
|
1918
|
-
y2: 1
|
|
1919
|
-
};
|
|
1920
1906
|
const fullscreenModal = {
|
|
1921
1907
|
header: {
|
|
1922
1908
|
height: 56
|
|
@@ -1930,12 +1916,22 @@ const fullscreenModal = {
|
|
|
1930
1916
|
},
|
|
1931
1917
|
animation: {
|
|
1932
1918
|
overlay: {
|
|
1933
|
-
duration:
|
|
1934
|
-
easing:
|
|
1919
|
+
duration: 250,
|
|
1920
|
+
easing: {
|
|
1921
|
+
x1: 0.42,
|
|
1922
|
+
y1: 0,
|
|
1923
|
+
x2: 1,
|
|
1924
|
+
y2: 1
|
|
1925
|
+
}
|
|
1935
1926
|
},
|
|
1936
1927
|
content: {
|
|
1937
|
-
duration:
|
|
1938
|
-
easing:
|
|
1928
|
+
duration: 600,
|
|
1929
|
+
easing: {
|
|
1930
|
+
x1: 0.77,
|
|
1931
|
+
y1: 0,
|
|
1932
|
+
x2: 0.175,
|
|
1933
|
+
y2: 1
|
|
1934
|
+
}
|
|
1939
1935
|
}
|
|
1940
1936
|
}
|
|
1941
1937
|
};
|
|
@@ -4352,17 +4348,17 @@ const contentAnimationClassNames = {
|
|
|
4352
4348
|
exit: contentAnimatioExit,
|
|
4353
4349
|
exitActive: contentAnimatioExitActive
|
|
4354
4350
|
};
|
|
4355
|
-
const opacityEnter
|
|
4356
|
-
const opacityEnterActive
|
|
4357
|
-
const opacityExit
|
|
4358
|
-
const opacityExitActive
|
|
4359
|
-
const opacityClassNames
|
|
4360
|
-
appear: opacityEnter
|
|
4361
|
-
appearActive: opacityEnterActive
|
|
4362
|
-
enter: opacityEnter
|
|
4363
|
-
enterActive: opacityEnterActive
|
|
4364
|
-
exit: opacityExit
|
|
4365
|
-
exitActive: opacityExitActive
|
|
4351
|
+
const opacityEnter = "kitt-u_opacityEnter_o1ae40dx";
|
|
4352
|
+
const opacityEnterActive = "kitt-u_opacityEnterActive_o1t4vl7b";
|
|
4353
|
+
const opacityExit = "kitt-u_opacityExit_ogyytm1";
|
|
4354
|
+
const opacityExitActive = "kitt-u_opacityExitActive_o18xvk52";
|
|
4355
|
+
const opacityClassNames = {
|
|
4356
|
+
appear: opacityEnter,
|
|
4357
|
+
appearActive: opacityEnterActive,
|
|
4358
|
+
enter: opacityEnter,
|
|
4359
|
+
enterActive: opacityEnterActive,
|
|
4360
|
+
exit: opacityExit,
|
|
4361
|
+
exitActive: opacityExitActive
|
|
4366
4362
|
};
|
|
4367
4363
|
function CardModalAnimation({
|
|
4368
4364
|
children,
|
|
@@ -4398,7 +4394,7 @@ function CardModalAnimation({
|
|
|
4398
4394
|
...sharedProps,
|
|
4399
4395
|
nodeRef: overlayRef,
|
|
4400
4396
|
timeout: isAnimationEnabled ? animation.overlay.duration : 0,
|
|
4401
|
-
classNames: opacityClassNames
|
|
4397
|
+
classNames: opacityClassNames,
|
|
4402
4398
|
children: /*#__PURE__*/jsx(Overlay, {
|
|
4403
4399
|
ref: overlayRef,
|
|
4404
4400
|
onPress: onClose
|
|
@@ -7737,29 +7733,23 @@ function FullscreenModalFooter({
|
|
|
7737
7733
|
});
|
|
7738
7734
|
}
|
|
7739
7735
|
|
|
7740
|
-
const
|
|
7741
|
-
|
|
7742
|
-
const
|
|
7743
|
-
|
|
7744
|
-
|
|
7745
|
-
|
|
7746
|
-
|
|
7747
|
-
|
|
7748
|
-
|
|
7749
|
-
exit: slideInFromBottomExit,
|
|
7750
|
-
exitActive: slideInFromBottomExitActive
|
|
7736
|
+
const styles$1 = {"overlay-enter":"FullscreenModalAnimation-module_overlay-enter__L1J1X","overlay-enter-active":"FullscreenModalAnimation-module_overlay-enter-active__gDEVb","overlay-exit":"FullscreenModalAnimation-module_overlay-exit__Qx1WE","overlay-exit-active":"FullscreenModalAnimation-module_overlay-exit-active__lFR3x","content-enter":"FullscreenModalAnimation-module_content-enter__JmCWa","content-enter-active":"FullscreenModalAnimation-module_content-enter-active__iaNRs","content-exit":"FullscreenModalAnimation-module_content-exit__hB0wY","content-exit-active":"FullscreenModalAnimation-module_content-exit-active__BPVPo"};
|
|
7737
|
+
|
|
7738
|
+
const overlayClassNames = {
|
|
7739
|
+
appear: styles$1['overlay-enter'],
|
|
7740
|
+
appearActive: styles$1['overlay-enter-active'],
|
|
7741
|
+
enter: styles$1['overlay-enter'],
|
|
7742
|
+
enterActive: styles$1['overlay-enter-active'],
|
|
7743
|
+
exit: styles$1['overlay-exit'],
|
|
7744
|
+
exitActive: styles$1['overlay-exit-active']
|
|
7751
7745
|
};
|
|
7752
|
-
const
|
|
7753
|
-
|
|
7754
|
-
|
|
7755
|
-
|
|
7756
|
-
|
|
7757
|
-
|
|
7758
|
-
|
|
7759
|
-
enter: opacityEnter,
|
|
7760
|
-
enterActive: opacityEnterActive,
|
|
7761
|
-
exit: opacityExit,
|
|
7762
|
-
exitActive: opacityExitActive
|
|
7746
|
+
const slideInClassNames = {
|
|
7747
|
+
appear: styles$1['content-enter'],
|
|
7748
|
+
appearActive: styles$1['content-enter-active'],
|
|
7749
|
+
enter: styles$1['content-enter'],
|
|
7750
|
+
enterActive: styles$1['content-enter-active'],
|
|
7751
|
+
exit: styles$1['content-exit'],
|
|
7752
|
+
exitActive: styles$1['content-exit-active']
|
|
7763
7753
|
};
|
|
7764
7754
|
function FullscreenModalAnimation({
|
|
7765
7755
|
children,
|
|
@@ -7787,31 +7777,44 @@ function FullscreenModalAnimation({
|
|
|
7787
7777
|
appear,
|
|
7788
7778
|
unmountOnExit
|
|
7789
7779
|
};
|
|
7790
|
-
|
|
7780
|
+
|
|
7781
|
+
// CSS custom properties for theme-based animation values
|
|
7782
|
+
const overlayEasing = animation.overlay.easing;
|
|
7783
|
+
const contentEasing = animation.content.easing;
|
|
7784
|
+
const cssVariables = {
|
|
7785
|
+
'--overlay-duration': `${animation.overlay.duration}ms`,
|
|
7786
|
+
'--overlay-easing': `cubic-bezier(${overlayEasing.x1}, ${overlayEasing.y1}, ${overlayEasing.x2}, ${overlayEasing.y2})`,
|
|
7787
|
+
'--content-duration': `${animation.content.duration}ms`,
|
|
7788
|
+
'--content-easing': `cubic-bezier(${contentEasing.x1}, ${contentEasing.y1}, ${contentEasing.x2}, ${contentEasing.y2})`
|
|
7789
|
+
};
|
|
7790
|
+
return /*#__PURE__*/jsx(View, {
|
|
7791
7791
|
...props,
|
|
7792
|
-
children:
|
|
7793
|
-
|
|
7794
|
-
|
|
7795
|
-
|
|
7796
|
-
|
|
7797
|
-
|
|
7798
|
-
|
|
7799
|
-
|
|
7800
|
-
|
|
7801
|
-
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
|
|
7808
|
-
|
|
7809
|
-
|
|
7810
|
-
|
|
7811
|
-
|
|
7812
|
-
children:
|
|
7813
|
-
|
|
7814
|
-
|
|
7792
|
+
children: /*#__PURE__*/jsxs("div", {
|
|
7793
|
+
style: cssVariables,
|
|
7794
|
+
children: [/*#__PURE__*/jsx(CSSTransition, {
|
|
7795
|
+
...sharedProps,
|
|
7796
|
+
nodeRef: overlayRef,
|
|
7797
|
+
timeout: isAnimationEnabled ? animation.overlay.duration : 0,
|
|
7798
|
+
classNames: overlayClassNames,
|
|
7799
|
+
children: /*#__PURE__*/jsx(Overlay, {
|
|
7800
|
+
ref: overlayRef,
|
|
7801
|
+
onPress: onClose
|
|
7802
|
+
})
|
|
7803
|
+
}), /*#__PURE__*/jsx(CSSTransition, {
|
|
7804
|
+
...sharedProps,
|
|
7805
|
+
nodeRef: contentRef,
|
|
7806
|
+
timeout: isAnimationEnabled ? animation.content.duration : 0,
|
|
7807
|
+
classNames: slideInClassNames,
|
|
7808
|
+
onEnter: onEnter,
|
|
7809
|
+
onEntered: onEntered,
|
|
7810
|
+
onExit: onExit,
|
|
7811
|
+
onExited: onExited,
|
|
7812
|
+
children: /*#__PURE__*/jsx(View, {
|
|
7813
|
+
ref: contentRef,
|
|
7814
|
+
children: children
|
|
7815
|
+
})
|
|
7816
|
+
})]
|
|
7817
|
+
})
|
|
7815
7818
|
});
|
|
7816
7819
|
}
|
|
7817
7820
|
|