@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;}
|
|
@@ -864,15 +864,15 @@ const card = {
|
|
|
864
864
|
}
|
|
865
865
|
};
|
|
866
866
|
|
|
867
|
-
const webAnimationContentDuration$
|
|
868
|
-
const webAnimationContentEasing$
|
|
867
|
+
const webAnimationContentDuration$1 = 400;
|
|
868
|
+
const webAnimationContentEasing$1 = {
|
|
869
869
|
x1: 0.77,
|
|
870
870
|
y1: 0,
|
|
871
871
|
x2: 0.175,
|
|
872
872
|
y2: 1
|
|
873
873
|
};
|
|
874
|
-
const webAnimationOverlayDuration$
|
|
875
|
-
const webAnimationOverlayEasing$
|
|
874
|
+
const webAnimationOverlayDuration$1 = 250;
|
|
875
|
+
const webAnimationOverlayEasing$1 = {
|
|
876
876
|
x1: 0.42,
|
|
877
877
|
y1: 0,
|
|
878
878
|
x2: 1,
|
|
@@ -907,12 +907,12 @@ const cardModal = {
|
|
|
907
907
|
},
|
|
908
908
|
animation: {
|
|
909
909
|
overlay: {
|
|
910
|
-
duration: webAnimationOverlayDuration$
|
|
911
|
-
easing: webAnimationOverlayEasing$
|
|
910
|
+
duration: webAnimationOverlayDuration$1,
|
|
911
|
+
easing: webAnimationOverlayEasing$1
|
|
912
912
|
},
|
|
913
913
|
content: {
|
|
914
|
-
duration: webAnimationContentDuration$
|
|
915
|
-
easing: webAnimationContentEasing$
|
|
914
|
+
duration: webAnimationContentDuration$1,
|
|
915
|
+
easing: webAnimationContentEasing$1
|
|
916
916
|
}
|
|
917
917
|
}
|
|
918
918
|
};
|
|
@@ -968,15 +968,15 @@ const choices = {
|
|
|
968
968
|
}
|
|
969
969
|
};
|
|
970
970
|
|
|
971
|
-
const webAnimationContentDuration
|
|
972
|
-
const webAnimationContentEasing
|
|
971
|
+
const webAnimationContentDuration = 400;
|
|
972
|
+
const webAnimationContentEasing = {
|
|
973
973
|
x1: 0.77,
|
|
974
974
|
y1: 0,
|
|
975
975
|
x2: 0.175,
|
|
976
976
|
y2: 1
|
|
977
977
|
};
|
|
978
|
-
const webAnimationOverlayDuration
|
|
979
|
-
const webAnimationOverlayEasing
|
|
978
|
+
const webAnimationOverlayDuration = 250;
|
|
979
|
+
const webAnimationOverlayEasing = {
|
|
980
980
|
x1: 0.42,
|
|
981
981
|
y1: 0,
|
|
982
982
|
x2: 1,
|
|
@@ -998,12 +998,12 @@ const dialogModal = {
|
|
|
998
998
|
},
|
|
999
999
|
animation: {
|
|
1000
1000
|
overlay: {
|
|
1001
|
-
duration: webAnimationOverlayDuration
|
|
1002
|
-
easing: webAnimationOverlayEasing
|
|
1001
|
+
duration: webAnimationOverlayDuration,
|
|
1002
|
+
easing: webAnimationOverlayEasing
|
|
1003
1003
|
},
|
|
1004
1004
|
content: {
|
|
1005
|
-
duration: webAnimationContentDuration
|
|
1006
|
-
easing: webAnimationContentEasing
|
|
1005
|
+
duration: webAnimationContentDuration,
|
|
1006
|
+
easing: webAnimationContentEasing
|
|
1007
1007
|
}
|
|
1008
1008
|
}
|
|
1009
1009
|
};
|
|
@@ -1912,20 +1912,6 @@ const forms = {
|
|
|
1912
1912
|
timePicker
|
|
1913
1913
|
};
|
|
1914
1914
|
|
|
1915
|
-
const webAnimationContentDuration = 600;
|
|
1916
|
-
const webAnimationContentEasing = {
|
|
1917
|
-
x1: 0.77,
|
|
1918
|
-
y1: 0,
|
|
1919
|
-
x2: 0.175,
|
|
1920
|
-
y2: 1
|
|
1921
|
-
};
|
|
1922
|
-
const webAnimationOverlayDuration = 250;
|
|
1923
|
-
const webAnimationOverlayEasing = {
|
|
1924
|
-
x1: 0.42,
|
|
1925
|
-
y1: 0,
|
|
1926
|
-
x2: 1,
|
|
1927
|
-
y2: 1
|
|
1928
|
-
};
|
|
1929
1915
|
const fullscreenModal = {
|
|
1930
1916
|
header: {
|
|
1931
1917
|
height: 56
|
|
@@ -1939,12 +1925,22 @@ const fullscreenModal = {
|
|
|
1939
1925
|
},
|
|
1940
1926
|
animation: {
|
|
1941
1927
|
overlay: {
|
|
1942
|
-
duration:
|
|
1943
|
-
easing:
|
|
1928
|
+
duration: 250,
|
|
1929
|
+
easing: {
|
|
1930
|
+
x1: 0.42,
|
|
1931
|
+
y1: 0,
|
|
1932
|
+
x2: 1,
|
|
1933
|
+
y2: 1
|
|
1934
|
+
}
|
|
1944
1935
|
},
|
|
1945
1936
|
content: {
|
|
1946
|
-
duration:
|
|
1947
|
-
easing:
|
|
1937
|
+
duration: 600,
|
|
1938
|
+
easing: {
|
|
1939
|
+
x1: 0.77,
|
|
1940
|
+
y1: 0,
|
|
1941
|
+
x2: 0.175,
|
|
1942
|
+
y2: 1
|
|
1943
|
+
}
|
|
1948
1944
|
}
|
|
1949
1945
|
}
|
|
1950
1946
|
};
|
|
@@ -4361,17 +4357,17 @@ const contentAnimationClassNames = {
|
|
|
4361
4357
|
exit: contentAnimatioExit,
|
|
4362
4358
|
exitActive: contentAnimatioExitActive
|
|
4363
4359
|
};
|
|
4364
|
-
const opacityEnter
|
|
4365
|
-
const opacityEnterActive
|
|
4366
|
-
const opacityExit
|
|
4367
|
-
const opacityExitActive
|
|
4368
|
-
const opacityClassNames
|
|
4369
|
-
appear: opacityEnter
|
|
4370
|
-
appearActive: opacityEnterActive
|
|
4371
|
-
enter: opacityEnter
|
|
4372
|
-
enterActive: opacityEnterActive
|
|
4373
|
-
exit: opacityExit
|
|
4374
|
-
exitActive: opacityExitActive
|
|
4360
|
+
const opacityEnter = "kitt-u_opacityEnter_o1ae40dx";
|
|
4361
|
+
const opacityEnterActive = "kitt-u_opacityEnterActive_o1t4vl7b";
|
|
4362
|
+
const opacityExit = "kitt-u_opacityExit_ogyytm1";
|
|
4363
|
+
const opacityExitActive = "kitt-u_opacityExitActive_o18xvk52";
|
|
4364
|
+
const opacityClassNames = {
|
|
4365
|
+
appear: opacityEnter,
|
|
4366
|
+
appearActive: opacityEnterActive,
|
|
4367
|
+
enter: opacityEnter,
|
|
4368
|
+
enterActive: opacityEnterActive,
|
|
4369
|
+
exit: opacityExit,
|
|
4370
|
+
exitActive: opacityExitActive
|
|
4375
4371
|
};
|
|
4376
4372
|
function CardModalAnimation({
|
|
4377
4373
|
children,
|
|
@@ -4407,7 +4403,7 @@ function CardModalAnimation({
|
|
|
4407
4403
|
...sharedProps,
|
|
4408
4404
|
nodeRef: overlayRef,
|
|
4409
4405
|
timeout: isAnimationEnabled ? animation.overlay.duration : 0,
|
|
4410
|
-
classNames: opacityClassNames
|
|
4406
|
+
classNames: opacityClassNames,
|
|
4411
4407
|
children: /*#__PURE__*/jsxRuntime.jsx(Overlay, {
|
|
4412
4408
|
ref: overlayRef,
|
|
4413
4409
|
onPress: onClose
|
|
@@ -7746,29 +7742,23 @@ function FullscreenModalFooter({
|
|
|
7746
7742
|
});
|
|
7747
7743
|
}
|
|
7748
7744
|
|
|
7749
|
-
const
|
|
7750
|
-
|
|
7751
|
-
const
|
|
7752
|
-
|
|
7753
|
-
|
|
7754
|
-
|
|
7755
|
-
|
|
7756
|
-
|
|
7757
|
-
|
|
7758
|
-
exit: slideInFromBottomExit,
|
|
7759
|
-
exitActive: slideInFromBottomExitActive
|
|
7745
|
+
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"};
|
|
7746
|
+
|
|
7747
|
+
const overlayClassNames = {
|
|
7748
|
+
appear: styles$1['overlay-enter'],
|
|
7749
|
+
appearActive: styles$1['overlay-enter-active'],
|
|
7750
|
+
enter: styles$1['overlay-enter'],
|
|
7751
|
+
enterActive: styles$1['overlay-enter-active'],
|
|
7752
|
+
exit: styles$1['overlay-exit'],
|
|
7753
|
+
exitActive: styles$1['overlay-exit-active']
|
|
7760
7754
|
};
|
|
7761
|
-
const
|
|
7762
|
-
|
|
7763
|
-
|
|
7764
|
-
|
|
7765
|
-
|
|
7766
|
-
|
|
7767
|
-
|
|
7768
|
-
enter: opacityEnter,
|
|
7769
|
-
enterActive: opacityEnterActive,
|
|
7770
|
-
exit: opacityExit,
|
|
7771
|
-
exitActive: opacityExitActive
|
|
7755
|
+
const slideInClassNames = {
|
|
7756
|
+
appear: styles$1['content-enter'],
|
|
7757
|
+
appearActive: styles$1['content-enter-active'],
|
|
7758
|
+
enter: styles$1['content-enter'],
|
|
7759
|
+
enterActive: styles$1['content-enter-active'],
|
|
7760
|
+
exit: styles$1['content-exit'],
|
|
7761
|
+
exitActive: styles$1['content-exit-active']
|
|
7772
7762
|
};
|
|
7773
7763
|
function FullscreenModalAnimation({
|
|
7774
7764
|
children,
|
|
@@ -7796,31 +7786,44 @@ function FullscreenModalAnimation({
|
|
|
7796
7786
|
appear,
|
|
7797
7787
|
unmountOnExit
|
|
7798
7788
|
};
|
|
7799
|
-
|
|
7789
|
+
|
|
7790
|
+
// CSS custom properties for theme-based animation values
|
|
7791
|
+
const overlayEasing = animation.overlay.easing;
|
|
7792
|
+
const contentEasing = animation.content.easing;
|
|
7793
|
+
const cssVariables = {
|
|
7794
|
+
'--overlay-duration': `${animation.overlay.duration}ms`,
|
|
7795
|
+
'--overlay-easing': `cubic-bezier(${overlayEasing.x1}, ${overlayEasing.y1}, ${overlayEasing.x2}, ${overlayEasing.y2})`,
|
|
7796
|
+
'--content-duration': `${animation.content.duration}ms`,
|
|
7797
|
+
'--content-easing': `cubic-bezier(${contentEasing.x1}, ${contentEasing.y1}, ${contentEasing.x2}, ${contentEasing.y2})`
|
|
7798
|
+
};
|
|
7799
|
+
return /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
7800
7800
|
...props,
|
|
7801
|
-
children:
|
|
7802
|
-
|
|
7803
|
-
|
|
7804
|
-
|
|
7805
|
-
|
|
7806
|
-
|
|
7807
|
-
|
|
7808
|
-
|
|
7809
|
-
|
|
7810
|
-
|
|
7811
|
-
|
|
7812
|
-
|
|
7813
|
-
|
|
7814
|
-
|
|
7815
|
-
|
|
7816
|
-
|
|
7817
|
-
|
|
7818
|
-
|
|
7819
|
-
|
|
7820
|
-
|
|
7821
|
-
children:
|
|
7822
|
-
|
|
7823
|
-
|
|
7801
|
+
children: /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
7802
|
+
style: cssVariables,
|
|
7803
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(reactTransitionGroup.CSSTransition, {
|
|
7804
|
+
...sharedProps,
|
|
7805
|
+
nodeRef: overlayRef,
|
|
7806
|
+
timeout: isAnimationEnabled ? animation.overlay.duration : 0,
|
|
7807
|
+
classNames: overlayClassNames,
|
|
7808
|
+
children: /*#__PURE__*/jsxRuntime.jsx(Overlay, {
|
|
7809
|
+
ref: overlayRef,
|
|
7810
|
+
onPress: onClose
|
|
7811
|
+
})
|
|
7812
|
+
}), /*#__PURE__*/jsxRuntime.jsx(reactTransitionGroup.CSSTransition, {
|
|
7813
|
+
...sharedProps,
|
|
7814
|
+
nodeRef: contentRef,
|
|
7815
|
+
timeout: isAnimationEnabled ? animation.content.duration : 0,
|
|
7816
|
+
classNames: slideInClassNames,
|
|
7817
|
+
onEnter: onEnter,
|
|
7818
|
+
onEntered: onEntered,
|
|
7819
|
+
onExit: onExit,
|
|
7820
|
+
onExited: onExited,
|
|
7821
|
+
children: /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
7822
|
+
ref: contentRef,
|
|
7823
|
+
children: children
|
|
7824
|
+
})
|
|
7825
|
+
})]
|
|
7826
|
+
})
|
|
7824
7827
|
});
|
|
7825
7828
|
}
|
|
7826
7829
|
|