@ornikar/kitt-universal 32.2.1-canary.b6a558c2a534e5d22cad1dfac7725ddeca489e44.0 → 32.3.1-canary.e5e3462569f2f32f91e8d06437eb0642c84cb55f.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.
Files changed (51) hide show
  1. package/CHANGELOG.md +11 -2
  2. package/dist/definitions/Choices/AnimatedChoiceItemView.d.ts +2 -1
  3. package/dist/definitions/Choices/AnimatedChoiceItemView.d.ts.map +1 -1
  4. package/dist/definitions/Choices/AnimatedChoiceItemView.web.d.ts +1 -1
  5. package/dist/definitions/Choices/AnimatedChoiceItemView.web.d.ts.map +1 -1
  6. package/dist/definitions/Choices/ChoiceItem.d.ts +2 -1
  7. package/dist/definitions/Choices/ChoiceItem.d.ts.map +1 -1
  8. package/dist/definitions/Choices/ChoiceItemContainer.d.ts +2 -1
  9. package/dist/definitions/Choices/ChoiceItemContainer.d.ts.map +1 -1
  10. package/dist/definitions/Choices/Choices.d.ts +5 -5
  11. package/dist/definitions/Choices/Choices.d.ts.map +1 -1
  12. package/dist/definitions/FullscreenModal/FullscreenModalAnimation.web.d.ts.map +1 -1
  13. package/dist/definitions/themes/late-ocean/fullscreenModal.d.ts +0 -14
  14. package/dist/definitions/themes/late-ocean/fullscreenModal.d.ts.map +1 -1
  15. package/dist/index-metro.es.android.js +69 -48
  16. package/dist/index-metro.es.android.js.map +1 -1
  17. package/dist/index-metro.es.ios.js +69 -48
  18. package/dist/index-metro.es.ios.js.map +1 -1
  19. package/dist/index-node-22.17.cjs.js +70 -46
  20. package/dist/index-node-22.17.cjs.js.map +1 -1
  21. package/dist/index-node-22.17.cjs.web.css +38 -8
  22. package/dist/index-node-22.17.cjs.web.js +135 -104
  23. package/dist/index-node-22.17.cjs.web.js.map +1 -1
  24. package/dist/index-node-22.17.es.mjs +71 -47
  25. package/dist/index-node-22.17.es.mjs.map +1 -1
  26. package/dist/index-node-22.17.es.web.css +38 -8
  27. package/dist/index-node-22.17.es.web.mjs +136 -105
  28. package/dist/index-node-22.17.es.web.mjs.map +1 -1
  29. package/dist/index.es.js +72 -48
  30. package/dist/index.es.js.map +1 -1
  31. package/dist/index.es.web.js +135 -104
  32. package/dist/index.es.web.js.map +1 -1
  33. package/dist/linaria-themes-metro.es.android.js +34 -38
  34. package/dist/linaria-themes-metro.es.android.js.map +1 -1
  35. package/dist/linaria-themes-metro.es.ios.js +34 -38
  36. package/dist/linaria-themes-metro.es.ios.js.map +1 -1
  37. package/dist/linaria-themes-node-22.17.cjs.js +34 -38
  38. package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
  39. package/dist/linaria-themes-node-22.17.cjs.web.js +34 -38
  40. package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
  41. package/dist/linaria-themes-node-22.17.es.mjs +34 -38
  42. package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
  43. package/dist/linaria-themes-node-22.17.es.web.mjs +34 -38
  44. package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
  45. package/dist/linaria-themes.es.js +34 -38
  46. package/dist/linaria-themes.es.js.map +1 -1
  47. package/dist/linaria-themes.es.web.js +34 -38
  48. package/dist/linaria-themes.es.web.js.map +1 -1
  49. package/dist/styles.css +38 -8
  50. package/dist/tsbuildinfo +1 -1
  51. 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
- .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);}
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$2 = 400;
868
- const webAnimationContentEasing$2 = {
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$2 = 250;
875
- const webAnimationOverlayEasing$2 = {
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$2,
911
- easing: webAnimationOverlayEasing$2
910
+ duration: webAnimationOverlayDuration$1,
911
+ easing: webAnimationOverlayEasing$1
912
912
  },
913
913
  content: {
914
- duration: webAnimationContentDuration$2,
915
- easing: webAnimationContentEasing$2
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$1 = 400;
972
- const webAnimationContentEasing$1 = {
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$1 = 250;
979
- const webAnimationOverlayEasing$1 = {
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$1,
1002
- easing: webAnimationOverlayEasing$1
1001
+ duration: webAnimationOverlayDuration,
1002
+ easing: webAnimationOverlayEasing
1003
1003
  },
1004
1004
  content: {
1005
- duration: webAnimationContentDuration$1,
1006
- easing: webAnimationContentEasing$1
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: 1,
1065
- borderRadius: 4,
1066
- height: 24,
1067
- width: 24,
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,
@@ -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: webAnimationOverlayDuration,
1943
- easing: webAnimationOverlayEasing
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: webAnimationContentDuration,
1947
- easing: webAnimationContentEasing
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$1 = "kitt-u_opacityEnter_o1ae40dx";
4365
- const opacityEnterActive$1 = "kitt-u_opacityEnterActive_o1t4vl7b";
4366
- const opacityExit$1 = "kitt-u_opacityExit_ogyytm1";
4367
- const opacityExitActive$1 = "kitt-u_opacityExitActive_o18xvk52";
4368
- const opacityClassNames$1 = {
4369
- appear: opacityEnter$1,
4370
- appearActive: opacityEnterActive$1,
4371
- enter: opacityEnter$1,
4372
- enterActive: opacityEnterActive$1,
4373
- exit: opacityExit$1,
4374
- exitActive: opacityExitActive$1
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$1,
4406
+ classNames: opacityClassNames,
4411
4407
  children: /*#__PURE__*/jsxRuntime.jsx(Overlay, {
4412
4408
  ref: overlayRef,
4413
4409
  onPress: onClose
@@ -4710,7 +4706,8 @@ function AnimatedChoiceItemView({
4710
4706
  isPressed,
4711
4707
  isDisabled,
4712
4708
  isSelected,
4713
- hasError
4709
+ hasError,
4710
+ shouldExpand = false
4714
4711
  }) {
4715
4712
  const theme = useTheme();
4716
4713
  return /*#__PURE__*/jsxRuntime.jsx(View, {
@@ -4729,6 +4726,8 @@ function AnimatedChoiceItemView({
4729
4726
  isPressed
4730
4727
  }),
4731
4728
  padding: size === 'small' ? 'kitt.2' : 'kitt.4',
4729
+ flexGrow: shouldExpand ? 1 : undefined,
4730
+ flexShrink: shouldExpand ? 1 : undefined,
4732
4731
  _web: {
4733
4732
  style: {
4734
4733
  transitionProperty: theme.kitt.choices.item.transition.property,
@@ -4764,6 +4763,7 @@ function ChoiceItem({
4764
4763
  value,
4765
4764
  selected,
4766
4765
  disabled,
4766
+ shouldExpand = false,
4767
4767
  children,
4768
4768
  isPressedInternal,
4769
4769
  isHoveredInternal,
@@ -4799,6 +4799,8 @@ function ChoiceItem({
4799
4799
  checked: selected
4800
4800
  },
4801
4801
  style: style,
4802
+ flexGrow: shouldExpand ? 1 : undefined,
4803
+ flexShrink: shouldExpand ? 1 : undefined,
4802
4804
  onBlur: onBlur,
4803
4805
  onFocus: onFocus,
4804
4806
  onPress: e => {
@@ -4818,6 +4820,8 @@ function ChoiceItem({
4818
4820
  });
4819
4821
  return /*#__PURE__*/jsxRuntime.jsxs(VStack, {
4820
4822
  space: "kitt.2",
4823
+ flexGrow: shouldExpand ? 1 : undefined,
4824
+ flexShrink: shouldExpand ? 1 : undefined,
4821
4825
  children: [/*#__PURE__*/jsxRuntime.jsxs(AnimatedChoiceItemView, {
4822
4826
  animatedStyles: backgroundStyles,
4823
4827
  isHovered: isHovered || isHoveredInternal,
@@ -4825,10 +4829,13 @@ function ChoiceItem({
4825
4829
  isSelected: selected,
4826
4830
  isPressed: isPressed || isPressedInternal,
4827
4831
  hasError: hasError,
4832
+ shouldExpand: shouldExpand,
4828
4833
  size: size,
4829
4834
  children: [/*#__PURE__*/jsxRuntime.jsxs(Stack, {
4830
4835
  alignItems: "center",
4831
4836
  space: "kitt.2",
4837
+ flexGrow: shouldExpand ? 1 : undefined,
4838
+ flexShrink: shouldExpand ? 1 : undefined,
4832
4839
  children: [icon ? /*#__PURE__*/jsxRuntime.jsx(TypographyIcon, {
4833
4840
  color: textColor,
4834
4841
  icon: icon
@@ -4857,36 +4864,49 @@ function ChoiceItem({
4857
4864
  function ChoiceItemContainer({
4858
4865
  children,
4859
4866
  direction,
4867
+ shouldExpand,
4860
4868
  isLast
4861
4869
  }) {
4862
4870
  const currentItemMarginValue = isLast ? undefined : 'kitt.3';
4863
- const flexProps = direction === 'row' ? {
4871
+ const directionFlexProps = direction === 'row' ? {
4864
4872
  flexGrow: 1,
4865
4873
  flexShrink: 1,
4866
4874
  flexBasis: 0
4867
4875
  } : {};
4876
+ const shouldExpandFlexProps = shouldExpand ? {
4877
+ flexGrow: 1,
4878
+ flexShrink: 1
4879
+ } : {};
4868
4880
  return /*#__PURE__*/jsxRuntime.jsx(View, {
4869
4881
  marginRight: direction === 'row' ? currentItemMarginValue : undefined,
4870
4882
  marginBottom: direction === 'column' ? currentItemMarginValue : undefined,
4871
- ...flexProps,
4883
+ ...directionFlexProps,
4884
+ ...shouldExpandFlexProps,
4872
4885
  children: children
4873
4886
  });
4874
4887
  }
4875
4888
 
4876
4889
  function ChoicesContainer({
4877
4890
  direction,
4891
+ shouldExpand,
4878
4892
  contentContainerStyle,
4879
4893
  ...props
4880
4894
  }) {
4895
+ const shouldExpandFlexProps = shouldExpand ? {
4896
+ flexGrow: 1,
4897
+ flexShrink: 1
4898
+ } : {};
4881
4899
  if (direction === 'row') {
4882
- return /*#__PURE__*/jsxRuntime.jsx(reactNative.ScrollView, {
4900
+ return /*#__PURE__*/jsxRuntime.jsx(ScrollView, {
4883
4901
  horizontal: true,
4884
- contentContainerStyle: contentContainerStyle,
4885
- ...props
4902
+ contentContainerStyle: shouldExpand ? shouldExpandFlexProps : contentContainerStyle,
4903
+ ...props,
4904
+ ...shouldExpandFlexProps
4886
4905
  });
4887
4906
  }
4888
- return /*#__PURE__*/jsxRuntime.jsx(reactNative.View, {
4889
- ...props
4907
+ return /*#__PURE__*/jsxRuntime.jsx(View, {
4908
+ ...props,
4909
+ ...shouldExpandFlexProps
4890
4910
  });
4891
4911
  }
4892
4912
 
@@ -4898,6 +4918,7 @@ function Choices({
4898
4918
  type,
4899
4919
  direction = 'column',
4900
4920
  disabled,
4921
+ shouldExpand = false,
4901
4922
  children,
4902
4923
  value,
4903
4924
  onPress,
@@ -4914,6 +4935,7 @@ function Choices({
4914
4935
  const sharedProps = {
4915
4936
  type,
4916
4937
  disabled,
4938
+ shouldExpand,
4917
4939
  onPress: !isForm ? onPress : undefined,
4918
4940
  onChange: isForm ? newValue => {
4919
4941
  setCurrentValue(newValue);
@@ -4925,6 +4947,7 @@ function Choices({
4925
4947
  };
4926
4948
  return /*#__PURE__*/jsxRuntime.jsx(ChoicesContainer, {
4927
4949
  direction: direction,
4950
+ shouldExpand: shouldExpand,
4928
4951
  testID: testID,
4929
4952
  id: id,
4930
4953
  style: style,
@@ -4936,6 +4959,7 @@ function Choices({
4936
4959
  });
4937
4960
  return /*#__PURE__*/jsxRuntime.jsx(ChoiceItemContainer, {
4938
4961
  direction: direction,
4962
+ shouldExpand: shouldExpand,
4939
4963
  isLast: index === childrenArray.length - 1,
4940
4964
  children: element
4941
4965
  }, child.key);
@@ -7746,29 +7770,23 @@ function FullscreenModalFooter({
7746
7770
  });
7747
7771
  }
7748
7772
 
7749
- const slideInFromBottomEnter = "kitt-u_slideInFromBottomEnter_s1717rto";
7750
- const slideInFromBottomEnterActive = "kitt-u_slideInFromBottomEnterActive_sux6xgc";
7751
- const slideInFromBottomExit = "kitt-u_slideInFromBottomExit_sl0lsxt";
7752
- const slideInFromBottomExitActive = "kitt-u_slideInFromBottomExitActive_srlzzmu";
7753
- const slideInClassNames = {
7754
- appear: slideInFromBottomEnter,
7755
- appearActive: slideInFromBottomEnterActive,
7756
- enter: slideInFromBottomEnter,
7757
- enterActive: slideInFromBottomEnterActive,
7758
- exit: slideInFromBottomExit,
7759
- exitActive: slideInFromBottomExitActive
7773
+ 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"};
7774
+
7775
+ const overlayClassNames = {
7776
+ appear: styles$1['overlay-enter'],
7777
+ appearActive: styles$1['overlay-enter-active'],
7778
+ enter: styles$1['overlay-enter'],
7779
+ enterActive: styles$1['overlay-enter-active'],
7780
+ exit: styles$1['overlay-exit'],
7781
+ exitActive: styles$1['overlay-exit-active']
7760
7782
  };
7761
- const opacityEnter = "kitt-u_opacityEnter_okm44hr";
7762
- const opacityEnterActive = "kitt-u_opacityEnterActive_o2w8t0i";
7763
- const opacityExit = "kitt-u_opacityExit_o14r8iix";
7764
- const opacityExitActive = "kitt-u_opacityExitActive_oim72y2";
7765
- const opacityClassNames = {
7766
- appear: opacityEnter,
7767
- appearActive: opacityEnterActive,
7768
- enter: opacityEnter,
7769
- enterActive: opacityEnterActive,
7770
- exit: opacityExit,
7771
- exitActive: opacityExitActive
7783
+ const slideInClassNames = {
7784
+ appear: styles$1['content-enter'],
7785
+ appearActive: styles$1['content-enter-active'],
7786
+ enter: styles$1['content-enter'],
7787
+ enterActive: styles$1['content-enter-active'],
7788
+ exit: styles$1['content-exit'],
7789
+ exitActive: styles$1['content-exit-active']
7772
7790
  };
7773
7791
  function FullscreenModalAnimation({
7774
7792
  children,
@@ -7796,31 +7814,44 @@ function FullscreenModalAnimation({
7796
7814
  appear,
7797
7815
  unmountOnExit
7798
7816
  };
7799
- return /*#__PURE__*/jsxRuntime.jsxs(View, {
7817
+
7818
+ // CSS custom properties for theme-based animation values
7819
+ const overlayEasing = animation.overlay.easing;
7820
+ const contentEasing = animation.content.easing;
7821
+ const cssVariables = {
7822
+ '--overlay-duration': `${animation.overlay.duration}ms`,
7823
+ '--overlay-easing': `cubic-bezier(${overlayEasing.x1}, ${overlayEasing.y1}, ${overlayEasing.x2}, ${overlayEasing.y2})`,
7824
+ '--content-duration': `${animation.content.duration}ms`,
7825
+ '--content-easing': `cubic-bezier(${contentEasing.x1}, ${contentEasing.y1}, ${contentEasing.x2}, ${contentEasing.y2})`
7826
+ };
7827
+ return /*#__PURE__*/jsxRuntime.jsx(View, {
7800
7828
  ...props,
7801
- children: [/*#__PURE__*/jsxRuntime.jsx(reactTransitionGroup.CSSTransition, {
7802
- ...sharedProps,
7803
- nodeRef: overlayRef,
7804
- timeout: isAnimationEnabled ? animation.overlay.duration : 0,
7805
- classNames: opacityClassNames,
7806
- children: /*#__PURE__*/jsxRuntime.jsx(Overlay, {
7807
- ref: overlayRef,
7808
- onPress: onClose
7809
- })
7810
- }), /*#__PURE__*/jsxRuntime.jsx(reactTransitionGroup.CSSTransition, {
7811
- ...sharedProps,
7812
- nodeRef: contentRef,
7813
- timeout: isAnimationEnabled ? animation.content.duration : 0,
7814
- classNames: slideInClassNames,
7815
- onEnter: onEnter,
7816
- onEntered: onEntered,
7817
- onExit: onExit,
7818
- onExited: onExited,
7819
- children: /*#__PURE__*/jsxRuntime.jsx(View, {
7820
- ref: contentRef,
7821
- children: children
7822
- })
7823
- })]
7829
+ children: /*#__PURE__*/jsxRuntime.jsxs("div", {
7830
+ style: cssVariables,
7831
+ children: [/*#__PURE__*/jsxRuntime.jsx(reactTransitionGroup.CSSTransition, {
7832
+ ...sharedProps,
7833
+ nodeRef: overlayRef,
7834
+ timeout: isAnimationEnabled ? animation.overlay.duration : 0,
7835
+ classNames: overlayClassNames,
7836
+ children: /*#__PURE__*/jsxRuntime.jsx(Overlay, {
7837
+ ref: overlayRef,
7838
+ onPress: onClose
7839
+ })
7840
+ }), /*#__PURE__*/jsxRuntime.jsx(reactTransitionGroup.CSSTransition, {
7841
+ ...sharedProps,
7842
+ nodeRef: contentRef,
7843
+ timeout: isAnimationEnabled ? animation.content.duration : 0,
7844
+ classNames: slideInClassNames,
7845
+ onEnter: onEnter,
7846
+ onEntered: onEntered,
7847
+ onExit: onExit,
7848
+ onExited: onExited,
7849
+ children: /*#__PURE__*/jsxRuntime.jsx(View, {
7850
+ ref: contentRef,
7851
+ children: children
7852
+ })
7853
+ })]
7854
+ })
7824
7855
  });
7825
7856
  }
7826
7857