@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
package/dist/index.es.web.js
CHANGED
|
@@ -873,15 +873,15 @@ var card = {
|
|
|
873
873
|
}
|
|
874
874
|
};
|
|
875
875
|
|
|
876
|
-
var webAnimationContentDuration$
|
|
877
|
-
var webAnimationContentEasing$
|
|
876
|
+
var webAnimationContentDuration$1 = 400;
|
|
877
|
+
var webAnimationContentEasing$1 = {
|
|
878
878
|
x1: 0.77,
|
|
879
879
|
y1: 0,
|
|
880
880
|
x2: 0.175,
|
|
881
881
|
y2: 1
|
|
882
882
|
};
|
|
883
|
-
var webAnimationOverlayDuration$
|
|
884
|
-
var webAnimationOverlayEasing$
|
|
883
|
+
var webAnimationOverlayDuration$1 = 250;
|
|
884
|
+
var webAnimationOverlayEasing$1 = {
|
|
885
885
|
x1: 0.42,
|
|
886
886
|
y1: 0,
|
|
887
887
|
x2: 1,
|
|
@@ -916,12 +916,12 @@ var cardModal = {
|
|
|
916
916
|
},
|
|
917
917
|
animation: {
|
|
918
918
|
overlay: {
|
|
919
|
-
duration: webAnimationOverlayDuration$
|
|
920
|
-
easing: webAnimationOverlayEasing$
|
|
919
|
+
duration: webAnimationOverlayDuration$1,
|
|
920
|
+
easing: webAnimationOverlayEasing$1
|
|
921
921
|
},
|
|
922
922
|
content: {
|
|
923
|
-
duration: webAnimationContentDuration$
|
|
924
|
-
easing: webAnimationContentEasing$
|
|
923
|
+
duration: webAnimationContentDuration$1,
|
|
924
|
+
easing: webAnimationContentEasing$1
|
|
925
925
|
}
|
|
926
926
|
}
|
|
927
927
|
};
|
|
@@ -977,15 +977,15 @@ var choices = {
|
|
|
977
977
|
}
|
|
978
978
|
};
|
|
979
979
|
|
|
980
|
-
var webAnimationContentDuration
|
|
981
|
-
var webAnimationContentEasing
|
|
980
|
+
var webAnimationContentDuration = 400;
|
|
981
|
+
var webAnimationContentEasing = {
|
|
982
982
|
x1: 0.77,
|
|
983
983
|
y1: 0,
|
|
984
984
|
x2: 0.175,
|
|
985
985
|
y2: 1
|
|
986
986
|
};
|
|
987
|
-
var webAnimationOverlayDuration
|
|
988
|
-
var webAnimationOverlayEasing
|
|
987
|
+
var webAnimationOverlayDuration = 250;
|
|
988
|
+
var webAnimationOverlayEasing = {
|
|
989
989
|
x1: 0.42,
|
|
990
990
|
y1: 0,
|
|
991
991
|
x2: 1,
|
|
@@ -1007,12 +1007,12 @@ var dialogModal = {
|
|
|
1007
1007
|
},
|
|
1008
1008
|
animation: {
|
|
1009
1009
|
overlay: {
|
|
1010
|
-
duration: webAnimationOverlayDuration
|
|
1011
|
-
easing: webAnimationOverlayEasing
|
|
1010
|
+
duration: webAnimationOverlayDuration,
|
|
1011
|
+
easing: webAnimationOverlayEasing
|
|
1012
1012
|
},
|
|
1013
1013
|
content: {
|
|
1014
|
-
duration: webAnimationContentDuration
|
|
1015
|
-
easing: webAnimationContentEasing
|
|
1014
|
+
duration: webAnimationContentDuration,
|
|
1015
|
+
easing: webAnimationContentEasing
|
|
1016
1016
|
}
|
|
1017
1017
|
}
|
|
1018
1018
|
};
|
|
@@ -1921,20 +1921,6 @@ var forms = {
|
|
|
1921
1921
|
timePicker: timePicker
|
|
1922
1922
|
};
|
|
1923
1923
|
|
|
1924
|
-
var webAnimationContentDuration = 600;
|
|
1925
|
-
var webAnimationContentEasing = {
|
|
1926
|
-
x1: 0.77,
|
|
1927
|
-
y1: 0,
|
|
1928
|
-
x2: 0.175,
|
|
1929
|
-
y2: 1
|
|
1930
|
-
};
|
|
1931
|
-
var webAnimationOverlayDuration = 250;
|
|
1932
|
-
var webAnimationOverlayEasing = {
|
|
1933
|
-
x1: 0.42,
|
|
1934
|
-
y1: 0,
|
|
1935
|
-
x2: 1,
|
|
1936
|
-
y2: 1
|
|
1937
|
-
};
|
|
1938
1924
|
var fullscreenModal = {
|
|
1939
1925
|
header: {
|
|
1940
1926
|
height: 56
|
|
@@ -1948,12 +1934,22 @@ var fullscreenModal = {
|
|
|
1948
1934
|
},
|
|
1949
1935
|
animation: {
|
|
1950
1936
|
overlay: {
|
|
1951
|
-
duration:
|
|
1952
|
-
easing:
|
|
1937
|
+
duration: 250,
|
|
1938
|
+
easing: {
|
|
1939
|
+
x1: 0.42,
|
|
1940
|
+
y1: 0,
|
|
1941
|
+
x2: 1,
|
|
1942
|
+
y2: 1
|
|
1943
|
+
}
|
|
1953
1944
|
},
|
|
1954
1945
|
content: {
|
|
1955
|
-
duration:
|
|
1956
|
-
easing:
|
|
1946
|
+
duration: 600,
|
|
1947
|
+
easing: {
|
|
1948
|
+
x1: 0.77,
|
|
1949
|
+
y1: 0,
|
|
1950
|
+
x2: 0.175,
|
|
1951
|
+
y2: 1
|
|
1952
|
+
}
|
|
1957
1953
|
}
|
|
1958
1954
|
}
|
|
1959
1955
|
};
|
|
@@ -4393,17 +4389,17 @@ var contentAnimationClassNames = {
|
|
|
4393
4389
|
exit: contentAnimatioExit,
|
|
4394
4390
|
exitActive: contentAnimatioExitActive
|
|
4395
4391
|
};
|
|
4396
|
-
var opacityEnter
|
|
4397
|
-
var opacityEnterActive
|
|
4398
|
-
var opacityExit
|
|
4399
|
-
var opacityExitActive
|
|
4400
|
-
var opacityClassNames
|
|
4401
|
-
appear: opacityEnter
|
|
4402
|
-
appearActive: opacityEnterActive
|
|
4403
|
-
enter: opacityEnter
|
|
4404
|
-
enterActive: opacityEnterActive
|
|
4405
|
-
exit: opacityExit
|
|
4406
|
-
exitActive: opacityExitActive
|
|
4392
|
+
var opacityEnter = "kitt-u_opacityEnter_o1ae40dx";
|
|
4393
|
+
var opacityEnterActive = "kitt-u_opacityEnterActive_o1t4vl7b";
|
|
4394
|
+
var opacityExit = "kitt-u_opacityExit_ogyytm1";
|
|
4395
|
+
var opacityExitActive = "kitt-u_opacityExitActive_o18xvk52";
|
|
4396
|
+
var opacityClassNames = {
|
|
4397
|
+
appear: opacityEnter,
|
|
4398
|
+
appearActive: opacityEnterActive,
|
|
4399
|
+
enter: opacityEnter,
|
|
4400
|
+
enterActive: opacityEnterActive,
|
|
4401
|
+
exit: opacityExit,
|
|
4402
|
+
exitActive: opacityExitActive
|
|
4407
4403
|
};
|
|
4408
4404
|
function CardModalAnimation(_ref) {
|
|
4409
4405
|
var children = _ref.children,
|
|
@@ -4437,7 +4433,7 @@ function CardModalAnimation(_ref) {
|
|
|
4437
4433
|
children: [/*#__PURE__*/jsx(CSSTransition, _objectSpread(_objectSpread({}, sharedProps), {}, {
|
|
4438
4434
|
nodeRef: overlayRef,
|
|
4439
4435
|
timeout: isAnimationEnabled ? animation.overlay.duration : 0,
|
|
4440
|
-
classNames: opacityClassNames
|
|
4436
|
+
classNames: opacityClassNames,
|
|
4441
4437
|
children: /*#__PURE__*/jsx(Overlay, {
|
|
4442
4438
|
ref: overlayRef,
|
|
4443
4439
|
onPress: onClose
|
|
@@ -7925,30 +7921,24 @@ function FullscreenModalFooter(_ref) {
|
|
|
7925
7921
|
}));
|
|
7926
7922
|
}
|
|
7927
7923
|
|
|
7924
|
+
var 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"};
|
|
7925
|
+
|
|
7928
7926
|
var _excluded$i = ["children", "appear", "visible", "unmountOnExit", "isAnimationEnabled", "onEnter", "onEntered", "onExit", "onExited", "onClose"];
|
|
7929
|
-
var
|
|
7930
|
-
|
|
7931
|
-
|
|
7932
|
-
|
|
7933
|
-
|
|
7934
|
-
|
|
7935
|
-
|
|
7936
|
-
enter: slideInFromBottomEnter,
|
|
7937
|
-
enterActive: slideInFromBottomEnterActive,
|
|
7938
|
-
exit: slideInFromBottomExit,
|
|
7939
|
-
exitActive: slideInFromBottomExitActive
|
|
7927
|
+
var overlayClassNames = {
|
|
7928
|
+
appear: styles$1['overlay-enter'],
|
|
7929
|
+
appearActive: styles$1['overlay-enter-active'],
|
|
7930
|
+
enter: styles$1['overlay-enter'],
|
|
7931
|
+
enterActive: styles$1['overlay-enter-active'],
|
|
7932
|
+
exit: styles$1['overlay-exit'],
|
|
7933
|
+
exitActive: styles$1['overlay-exit-active']
|
|
7940
7934
|
};
|
|
7941
|
-
var
|
|
7942
|
-
|
|
7943
|
-
|
|
7944
|
-
|
|
7945
|
-
|
|
7946
|
-
|
|
7947
|
-
|
|
7948
|
-
enter: opacityEnter,
|
|
7949
|
-
enterActive: opacityEnterActive,
|
|
7950
|
-
exit: opacityExit,
|
|
7951
|
-
exitActive: opacityExitActive
|
|
7935
|
+
var slideInClassNames = {
|
|
7936
|
+
appear: styles$1['content-enter'],
|
|
7937
|
+
appearActive: styles$1['content-enter-active'],
|
|
7938
|
+
enter: styles$1['content-enter'],
|
|
7939
|
+
enterActive: styles$1['content-enter-active'],
|
|
7940
|
+
exit: styles$1['content-exit'],
|
|
7941
|
+
exitActive: styles$1['content-exit-active']
|
|
7952
7942
|
};
|
|
7953
7943
|
function FullscreenModalAnimation(_ref) {
|
|
7954
7944
|
var children = _ref.children,
|
|
@@ -7976,28 +7966,41 @@ function FullscreenModalAnimation(_ref) {
|
|
|
7976
7966
|
appear: appear,
|
|
7977
7967
|
unmountOnExit: unmountOnExit
|
|
7978
7968
|
};
|
|
7979
|
-
|
|
7980
|
-
|
|
7981
|
-
|
|
7982
|
-
|
|
7983
|
-
|
|
7984
|
-
|
|
7985
|
-
|
|
7986
|
-
|
|
7987
|
-
|
|
7988
|
-
|
|
7989
|
-
|
|
7990
|
-
|
|
7991
|
-
|
|
7992
|
-
|
|
7993
|
-
|
|
7994
|
-
|
|
7995
|
-
|
|
7996
|
-
|
|
7997
|
-
|
|
7998
|
-
|
|
7999
|
-
|
|
8000
|
-
|
|
7969
|
+
|
|
7970
|
+
// CSS custom properties for theme-based animation values
|
|
7971
|
+
var overlayEasing = animation.overlay.easing;
|
|
7972
|
+
var contentEasing = animation.content.easing;
|
|
7973
|
+
var cssVariables = {
|
|
7974
|
+
'--overlay-duration': "".concat(animation.overlay.duration, "ms"),
|
|
7975
|
+
'--overlay-easing': "cubic-bezier(".concat(overlayEasing.x1, ", ").concat(overlayEasing.y1, ", ").concat(overlayEasing.x2, ", ").concat(overlayEasing.y2, ")"),
|
|
7976
|
+
'--content-duration': "".concat(animation.content.duration, "ms"),
|
|
7977
|
+
'--content-easing': "cubic-bezier(".concat(contentEasing.x1, ", ").concat(contentEasing.y1, ", ").concat(contentEasing.x2, ", ").concat(contentEasing.y2, ")")
|
|
7978
|
+
};
|
|
7979
|
+
return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
|
|
7980
|
+
children: /*#__PURE__*/jsxs("div", {
|
|
7981
|
+
style: cssVariables,
|
|
7982
|
+
children: [/*#__PURE__*/jsx(CSSTransition, _objectSpread(_objectSpread({}, sharedProps), {}, {
|
|
7983
|
+
nodeRef: overlayRef,
|
|
7984
|
+
timeout: isAnimationEnabled ? animation.overlay.duration : 0,
|
|
7985
|
+
classNames: overlayClassNames,
|
|
7986
|
+
children: /*#__PURE__*/jsx(Overlay, {
|
|
7987
|
+
ref: overlayRef,
|
|
7988
|
+
onPress: onClose
|
|
7989
|
+
})
|
|
7990
|
+
})), /*#__PURE__*/jsx(CSSTransition, _objectSpread(_objectSpread({}, sharedProps), {}, {
|
|
7991
|
+
nodeRef: contentRef,
|
|
7992
|
+
timeout: isAnimationEnabled ? animation.content.duration : 0,
|
|
7993
|
+
classNames: slideInClassNames,
|
|
7994
|
+
onEnter: onEnter,
|
|
7995
|
+
onEntered: onEntered,
|
|
7996
|
+
onExit: onExit,
|
|
7997
|
+
onExited: onExited,
|
|
7998
|
+
children: /*#__PURE__*/jsx(View, {
|
|
7999
|
+
ref: contentRef,
|
|
8000
|
+
children: children
|
|
8001
|
+
})
|
|
8002
|
+
}))]
|
|
8003
|
+
})
|
|
8001
8004
|
}));
|
|
8002
8005
|
}
|
|
8003
8006
|
|