@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
|
@@ -6,15 +6,44 @@
|
|
|
6
6
|
.kitt-u_opacityEnterActive_o1t4vl7b{opacity:1;-webkit-transition:opacity 250ms cubic-bezier(0.42,0,1,1);transition:opacity 250ms cubic-bezier(0.42,0,1,1);}
|
|
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
|
-
|
|
10
|
-
.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
.
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
9
|
+
/* Overlay animation styles - uses CSS variables for theme values */
|
|
10
|
+
.FullscreenModalAnimation-module_overlay-enter__L1J1X {
|
|
11
|
+
opacity: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.FullscreenModalAnimation-module_overlay-enter-active__gDEVb {
|
|
15
|
+
opacity: 1;
|
|
16
|
+
transition: opacity var(--overlay-duration) var(--overlay-easing);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.FullscreenModalAnimation-module_overlay-exit__Qx1WE {
|
|
20
|
+
opacity: 1;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.FullscreenModalAnimation-module_overlay-exit-active__lFR3x {
|
|
24
|
+
opacity: 0;
|
|
25
|
+
transition: opacity var(--overlay-duration) var(--overlay-easing);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* Content animation styles - uses CSS variables for theme values */
|
|
29
|
+
.FullscreenModalAnimation-module_content-enter__JmCWa {
|
|
30
|
+
transform: translateY(100%);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.FullscreenModalAnimation-module_content-enter-active__iaNRs {
|
|
34
|
+
transform: translateY(0);
|
|
35
|
+
transition: transform var(--content-duration) var(--content-easing);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.FullscreenModalAnimation-module_content-exit__hB0wY {
|
|
39
|
+
transform: translateY(0);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.FullscreenModalAnimation-module_content-exit-active__BPVPo {
|
|
43
|
+
transform: translateY(100%);
|
|
44
|
+
transition: transform var(--content-duration) var(--content-easing);
|
|
45
|
+
}
|
|
46
|
+
|
|
18
47
|
.kitt-u_enter_ereraf{-webkit-transform:translateY(8px);-ms-transform:translateY(8px);transform:translateY(8px);opacity:0;}
|
|
19
48
|
.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
49
|
.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
|
};
|
|
@@ -1061,10 +1061,10 @@ const autocomplete = {
|
|
|
1061
1061
|
};
|
|
1062
1062
|
|
|
1063
1063
|
const checkbox = {
|
|
1064
|
-
borderWidth:
|
|
1065
|
-
borderRadius:
|
|
1066
|
-
height:
|
|
1067
|
-
width:
|
|
1064
|
+
borderWidth: 2,
|
|
1065
|
+
borderRadius: 5,
|
|
1066
|
+
height: 20,
|
|
1067
|
+
width: 20,
|
|
1068
1068
|
iconSize: 14,
|
|
1069
1069
|
markColor: colors.uiBackgroundLight,
|
|
1070
1070
|
textSpacing: 10,
|
|
@@ -1127,7 +1127,6 @@ const inputStatesStyle = {
|
|
|
1127
1127
|
color: deepPurpleColorPalette.black
|
|
1128
1128
|
},
|
|
1129
1129
|
hover: {
|
|
1130
|
-
backgroundColor: deepPurpleColorPalette['beige.1'],
|
|
1131
1130
|
borderColor: deepPurpleColorPalette['beige.4'],
|
|
1132
1131
|
color: deepPurpleColorPalette.black
|
|
1133
1132
|
},
|
|
@@ -1912,20 +1911,6 @@ const forms = {
|
|
|
1912
1911
|
timePicker
|
|
1913
1912
|
};
|
|
1914
1913
|
|
|
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
1914
|
const fullscreenModal = {
|
|
1930
1915
|
header: {
|
|
1931
1916
|
height: 56
|
|
@@ -1939,12 +1924,22 @@ const fullscreenModal = {
|
|
|
1939
1924
|
},
|
|
1940
1925
|
animation: {
|
|
1941
1926
|
overlay: {
|
|
1942
|
-
duration:
|
|
1943
|
-
easing:
|
|
1927
|
+
duration: 250,
|
|
1928
|
+
easing: {
|
|
1929
|
+
x1: 0.42,
|
|
1930
|
+
y1: 0,
|
|
1931
|
+
x2: 1,
|
|
1932
|
+
y2: 1
|
|
1933
|
+
}
|
|
1944
1934
|
},
|
|
1945
1935
|
content: {
|
|
1946
|
-
duration:
|
|
1947
|
-
easing:
|
|
1936
|
+
duration: 600,
|
|
1937
|
+
easing: {
|
|
1938
|
+
x1: 0.77,
|
|
1939
|
+
y1: 0,
|
|
1940
|
+
x2: 0.175,
|
|
1941
|
+
y2: 1
|
|
1942
|
+
}
|
|
1948
1943
|
}
|
|
1949
1944
|
}
|
|
1950
1945
|
};
|
|
@@ -4361,17 +4356,17 @@ const contentAnimationClassNames = {
|
|
|
4361
4356
|
exit: contentAnimatioExit,
|
|
4362
4357
|
exitActive: contentAnimatioExitActive
|
|
4363
4358
|
};
|
|
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
|
|
4359
|
+
const opacityEnter = "kitt-u_opacityEnter_o1ae40dx";
|
|
4360
|
+
const opacityEnterActive = "kitt-u_opacityEnterActive_o1t4vl7b";
|
|
4361
|
+
const opacityExit = "kitt-u_opacityExit_ogyytm1";
|
|
4362
|
+
const opacityExitActive = "kitt-u_opacityExitActive_o18xvk52";
|
|
4363
|
+
const opacityClassNames = {
|
|
4364
|
+
appear: opacityEnter,
|
|
4365
|
+
appearActive: opacityEnterActive,
|
|
4366
|
+
enter: opacityEnter,
|
|
4367
|
+
enterActive: opacityEnterActive,
|
|
4368
|
+
exit: opacityExit,
|
|
4369
|
+
exitActive: opacityExitActive
|
|
4375
4370
|
};
|
|
4376
4371
|
function CardModalAnimation({
|
|
4377
4372
|
children,
|
|
@@ -4407,7 +4402,7 @@ function CardModalAnimation({
|
|
|
4407
4402
|
...sharedProps,
|
|
4408
4403
|
nodeRef: overlayRef,
|
|
4409
4404
|
timeout: isAnimationEnabled ? animation.overlay.duration : 0,
|
|
4410
|
-
classNames: opacityClassNames
|
|
4405
|
+
classNames: opacityClassNames,
|
|
4411
4406
|
children: /*#__PURE__*/jsxRuntime.jsx(Overlay, {
|
|
4412
4407
|
ref: overlayRef,
|
|
4413
4408
|
onPress: onClose
|
|
@@ -5373,11 +5368,30 @@ function InputPressable({
|
|
|
5373
5368
|
});
|
|
5374
5369
|
}
|
|
5375
5370
|
|
|
5376
|
-
|
|
5377
|
-
|
|
5378
|
-
|
|
5379
|
-
|
|
5380
|
-
|
|
5371
|
+
function InputTextContainer({
|
|
5372
|
+
children,
|
|
5373
|
+
isHovered
|
|
5374
|
+
}) {
|
|
5375
|
+
const theme = useTheme();
|
|
5376
|
+
const sx = nativeBase.useSx();
|
|
5377
|
+
const styles = sx({
|
|
5378
|
+
borderRadius: input.borderRadius
|
|
5379
|
+
});
|
|
5380
|
+
const animatedBackground = Animated.useAnimatedStyle(() => {
|
|
5381
|
+
const baseBackgroundColor = theme.kitt.palettes.deepPurple.white;
|
|
5382
|
+
const hoverBackgroundColor = theme.kitt.palettes.deepPurple['beige.1'];
|
|
5383
|
+
return {
|
|
5384
|
+
backgroundColor: Animated.withTiming(isHovered ? hoverBackgroundColor : baseBackgroundColor, {
|
|
5385
|
+
duration: 200
|
|
5386
|
+
})
|
|
5387
|
+
};
|
|
5388
|
+
}, [isHovered, theme]);
|
|
5389
|
+
return /*#__PURE__*/jsxRuntime.jsx(Animated__default.View, {
|
|
5390
|
+
style: [styles, animatedBackground],
|
|
5391
|
+
children: /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
5392
|
+
position: "relative",
|
|
5393
|
+
children: children
|
|
5394
|
+
})
|
|
5381
5395
|
});
|
|
5382
5396
|
}
|
|
5383
5397
|
|
|
@@ -5401,39 +5415,44 @@ const InputText = /*#__PURE__*/react.forwardRef(({
|
|
|
5401
5415
|
const fontSizeForNativeBase = createNativeBaseFontSize({
|
|
5402
5416
|
base: 'body-m'
|
|
5403
5417
|
});
|
|
5404
|
-
return /*#__PURE__*/jsxRuntime.
|
|
5405
|
-
children:
|
|
5406
|
-
|
|
5407
|
-
|
|
5408
|
-
|
|
5409
|
-
|
|
5410
|
-
|
|
5411
|
-
|
|
5412
|
-
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
|
|
5416
|
-
|
|
5417
|
-
|
|
5418
|
-
|
|
5419
|
-
|
|
5420
|
-
|
|
5421
|
-
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
|
|
5426
|
-
|
|
5427
|
-
|
|
5428
|
-
|
|
5429
|
-
|
|
5430
|
-
|
|
5431
|
-
|
|
5432
|
-
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
|
|
5436
|
-
|
|
5418
|
+
return /*#__PURE__*/jsxRuntime.jsx(Pressable, {
|
|
5419
|
+
children: ({
|
|
5420
|
+
isHovered
|
|
5421
|
+
}) => /*#__PURE__*/jsxRuntime.jsxs(InputTextContainer, {
|
|
5422
|
+
isHovered: internalForceState ? internalForceState === 'hover' : isHovered,
|
|
5423
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(nativeBase.Input, {
|
|
5424
|
+
ref: ref,
|
|
5425
|
+
multiline: multiline,
|
|
5426
|
+
id: id,
|
|
5427
|
+
isDisabled: internalForceState ? internalForceState === 'disabled' : disabled,
|
|
5428
|
+
isHovered: internalForceState ? internalForceState === 'hover' : undefined,
|
|
5429
|
+
isFocused: internalForceState ? internalForceState === 'focus' : undefined,
|
|
5430
|
+
inputMode: inputMode,
|
|
5431
|
+
autoComplete: autoComplete,
|
|
5432
|
+
autoCorrect: autoCorrect,
|
|
5433
|
+
textContentType: textContentType,
|
|
5434
|
+
fontSize: fontSizeForNativeBase,
|
|
5435
|
+
lineHeight:
|
|
5436
|
+
// On basic text input, we set the line-height to zero for iOS to fix vertical text alignment
|
|
5437
|
+
// This is a iOS only fix since having 0 as a line-height value breaks text inputs on Android
|
|
5438
|
+
fontSizeForNativeBase,
|
|
5439
|
+
fontWeight: "bodies.regular",
|
|
5440
|
+
fontFamily: "bodies.regular",
|
|
5441
|
+
py: !multiline && "web" !== 'web' ? 0 : undefined,
|
|
5442
|
+
variant: variant,
|
|
5443
|
+
...props,
|
|
5444
|
+
height: multiline ? height : 'kitt.forms.input.minHeight',
|
|
5445
|
+
onSubmitEditing: multiline ? () => null : onSubmitEditing
|
|
5446
|
+
}), right ? /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
5447
|
+
position: "absolute",
|
|
5448
|
+
right: 0,
|
|
5449
|
+
top: 0,
|
|
5450
|
+
bottom: 0,
|
|
5451
|
+
justifyContent: "center",
|
|
5452
|
+
padding: theme.kitt.forms.input.rightContainer.padding,
|
|
5453
|
+
children: right
|
|
5454
|
+
}) : null]
|
|
5455
|
+
})
|
|
5437
5456
|
});
|
|
5438
5457
|
});
|
|
5439
5458
|
|
|
@@ -7746,29 +7765,23 @@ function FullscreenModalFooter({
|
|
|
7746
7765
|
});
|
|
7747
7766
|
}
|
|
7748
7767
|
|
|
7749
|
-
const
|
|
7750
|
-
|
|
7751
|
-
const
|
|
7752
|
-
|
|
7753
|
-
|
|
7754
|
-
|
|
7755
|
-
|
|
7756
|
-
|
|
7757
|
-
|
|
7758
|
-
exit: slideInFromBottomExit,
|
|
7759
|
-
exitActive: slideInFromBottomExitActive
|
|
7768
|
+
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"};
|
|
7769
|
+
|
|
7770
|
+
const overlayClassNames = {
|
|
7771
|
+
appear: styles$1['overlay-enter'],
|
|
7772
|
+
appearActive: styles$1['overlay-enter-active'],
|
|
7773
|
+
enter: styles$1['overlay-enter'],
|
|
7774
|
+
enterActive: styles$1['overlay-enter-active'],
|
|
7775
|
+
exit: styles$1['overlay-exit'],
|
|
7776
|
+
exitActive: styles$1['overlay-exit-active']
|
|
7760
7777
|
};
|
|
7761
|
-
const
|
|
7762
|
-
|
|
7763
|
-
|
|
7764
|
-
|
|
7765
|
-
|
|
7766
|
-
|
|
7767
|
-
|
|
7768
|
-
enter: opacityEnter,
|
|
7769
|
-
enterActive: opacityEnterActive,
|
|
7770
|
-
exit: opacityExit,
|
|
7771
|
-
exitActive: opacityExitActive
|
|
7778
|
+
const slideInClassNames = {
|
|
7779
|
+
appear: styles$1['content-enter'],
|
|
7780
|
+
appearActive: styles$1['content-enter-active'],
|
|
7781
|
+
enter: styles$1['content-enter'],
|
|
7782
|
+
enterActive: styles$1['content-enter-active'],
|
|
7783
|
+
exit: styles$1['content-exit'],
|
|
7784
|
+
exitActive: styles$1['content-exit-active']
|
|
7772
7785
|
};
|
|
7773
7786
|
function FullscreenModalAnimation({
|
|
7774
7787
|
children,
|
|
@@ -7796,31 +7809,44 @@ function FullscreenModalAnimation({
|
|
|
7796
7809
|
appear,
|
|
7797
7810
|
unmountOnExit
|
|
7798
7811
|
};
|
|
7799
|
-
|
|
7812
|
+
|
|
7813
|
+
// CSS custom properties for theme-based animation values
|
|
7814
|
+
const overlayEasing = animation.overlay.easing;
|
|
7815
|
+
const contentEasing = animation.content.easing;
|
|
7816
|
+
const cssVariables = {
|
|
7817
|
+
'--overlay-duration': `${animation.overlay.duration}ms`,
|
|
7818
|
+
'--overlay-easing': `cubic-bezier(${overlayEasing.x1}, ${overlayEasing.y1}, ${overlayEasing.x2}, ${overlayEasing.y2})`,
|
|
7819
|
+
'--content-duration': `${animation.content.duration}ms`,
|
|
7820
|
+
'--content-easing': `cubic-bezier(${contentEasing.x1}, ${contentEasing.y1}, ${contentEasing.x2}, ${contentEasing.y2})`
|
|
7821
|
+
};
|
|
7822
|
+
return /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
7800
7823
|
...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
|
-
|
|
7824
|
+
children: /*#__PURE__*/jsxRuntime.jsxs("div", {
|
|
7825
|
+
style: cssVariables,
|
|
7826
|
+
children: [/*#__PURE__*/jsxRuntime.jsx(reactTransitionGroup.CSSTransition, {
|
|
7827
|
+
...sharedProps,
|
|
7828
|
+
nodeRef: overlayRef,
|
|
7829
|
+
timeout: isAnimationEnabled ? animation.overlay.duration : 0,
|
|
7830
|
+
classNames: overlayClassNames,
|
|
7831
|
+
children: /*#__PURE__*/jsxRuntime.jsx(Overlay, {
|
|
7832
|
+
ref: overlayRef,
|
|
7833
|
+
onPress: onClose
|
|
7834
|
+
})
|
|
7835
|
+
}), /*#__PURE__*/jsxRuntime.jsx(reactTransitionGroup.CSSTransition, {
|
|
7836
|
+
...sharedProps,
|
|
7837
|
+
nodeRef: contentRef,
|
|
7838
|
+
timeout: isAnimationEnabled ? animation.content.duration : 0,
|
|
7839
|
+
classNames: slideInClassNames,
|
|
7840
|
+
onEnter: onEnter,
|
|
7841
|
+
onEntered: onEntered,
|
|
7842
|
+
onExit: onExit,
|
|
7843
|
+
onExited: onExited,
|
|
7844
|
+
children: /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
7845
|
+
ref: contentRef,
|
|
7846
|
+
children: children
|
|
7847
|
+
})
|
|
7848
|
+
})]
|
|
7849
|
+
})
|
|
7824
7850
|
});
|
|
7825
7851
|
}
|
|
7826
7852
|
|