@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;}
@@ -3,7 +3,7 @@ import { View as View$1, ScrollView as ScrollView$1, Pressable as Pressable$1, I
3
3
  export { useClipboard, useContrastText, useMediaQuery, useSx, useToken } from 'native-base';
4
4
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
5
5
  import { SpinnerGapRegularIcon, UserRegularIcon, XRegularIcon, ArrowLeftRegularIcon, CaretUpFillIcon, CaretDownFillIcon, MapPinRegularIcon, EyeClosedRegularIcon, EyeRegularIcon, CheckCircleFillIcon, CaretDownRegularIcon, CaretRightRegularIcon, InfoRegularIcon, WarningRegularIcon, CheckRegularIcon, WarningCircleRegularIcon, ArrowCounterClockwiseRegularIcon, InfoFillIcon, WarningCircleFillIcon, WarningFillIcon } from '@ornikar/kitt-icons/phosphor';
6
- import { Animated, Easing, ScrollView as ScrollView$2, View as View$2, StyleSheet, Modal, Linking, Pressable as Pressable$2, useWindowDimensions } from 'react-native';
6
+ import { Animated, Easing, StyleSheet, Modal, Linking, Pressable as Pressable$2, useWindowDimensions } from 'react-native';
7
7
  export { useWindowDimensions as useWindowSize } from 'react-native';
8
8
  import { createPortal } from 'react-dom';
9
9
  import { CSSTransition } from 'react-transition-group';
@@ -855,15 +855,15 @@ const card = {
855
855
  }
856
856
  };
857
857
 
858
- const webAnimationContentDuration$2 = 400;
859
- const webAnimationContentEasing$2 = {
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$2 = 250;
866
- const webAnimationOverlayEasing$2 = {
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$2,
902
- easing: webAnimationOverlayEasing$2
901
+ duration: webAnimationOverlayDuration$1,
902
+ easing: webAnimationOverlayEasing$1
903
903
  },
904
904
  content: {
905
- duration: webAnimationContentDuration$2,
906
- easing: webAnimationContentEasing$2
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$1 = 400;
963
- const webAnimationContentEasing$1 = {
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$1 = 250;
970
- const webAnimationOverlayEasing$1 = {
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$1,
993
- easing: webAnimationOverlayEasing$1
992
+ duration: webAnimationOverlayDuration,
993
+ easing: webAnimationOverlayEasing
994
994
  },
995
995
  content: {
996
- duration: webAnimationContentDuration$1,
997
- easing: webAnimationContentEasing$1
996
+ duration: webAnimationContentDuration,
997
+ easing: webAnimationContentEasing
998
998
  }
999
999
  }
1000
1000
  };
@@ -1052,10 +1052,10 @@ const autocomplete = {
1052
1052
  };
1053
1053
 
1054
1054
  const checkbox = {
1055
- borderWidth: 1,
1056
- borderRadius: 4,
1057
- height: 24,
1058
- width: 24,
1055
+ borderWidth: 2,
1056
+ borderRadius: 5,
1057
+ height: 20,
1058
+ width: 20,
1059
1059
  iconSize: 14,
1060
1060
  markColor: colors.uiBackgroundLight,
1061
1061
  textSpacing: 10,
@@ -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: webAnimationOverlayDuration,
1934
- easing: webAnimationOverlayEasing
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: webAnimationContentDuration,
1938
- easing: webAnimationContentEasing
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$1 = "kitt-u_opacityEnter_o1ae40dx";
4356
- const opacityEnterActive$1 = "kitt-u_opacityEnterActive_o1t4vl7b";
4357
- const opacityExit$1 = "kitt-u_opacityExit_ogyytm1";
4358
- const opacityExitActive$1 = "kitt-u_opacityExitActive_o18xvk52";
4359
- const opacityClassNames$1 = {
4360
- appear: opacityEnter$1,
4361
- appearActive: opacityEnterActive$1,
4362
- enter: opacityEnter$1,
4363
- enterActive: opacityEnterActive$1,
4364
- exit: opacityExit$1,
4365
- exitActive: opacityExitActive$1
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$1,
4397
+ classNames: opacityClassNames,
4402
4398
  children: /*#__PURE__*/jsx(Overlay, {
4403
4399
  ref: overlayRef,
4404
4400
  onPress: onClose
@@ -4701,7 +4697,8 @@ function AnimatedChoiceItemView({
4701
4697
  isPressed,
4702
4698
  isDisabled,
4703
4699
  isSelected,
4704
- hasError
4700
+ hasError,
4701
+ shouldExpand = false
4705
4702
  }) {
4706
4703
  const theme = useTheme();
4707
4704
  return /*#__PURE__*/jsx(View, {
@@ -4720,6 +4717,8 @@ function AnimatedChoiceItemView({
4720
4717
  isPressed
4721
4718
  }),
4722
4719
  padding: size === 'small' ? 'kitt.2' : 'kitt.4',
4720
+ flexGrow: shouldExpand ? 1 : undefined,
4721
+ flexShrink: shouldExpand ? 1 : undefined,
4723
4722
  _web: {
4724
4723
  style: {
4725
4724
  transitionProperty: theme.kitt.choices.item.transition.property,
@@ -4755,6 +4754,7 @@ function ChoiceItem({
4755
4754
  value,
4756
4755
  selected,
4757
4756
  disabled,
4757
+ shouldExpand = false,
4758
4758
  children,
4759
4759
  isPressedInternal,
4760
4760
  isHoveredInternal,
@@ -4790,6 +4790,8 @@ function ChoiceItem({
4790
4790
  checked: selected
4791
4791
  },
4792
4792
  style: style,
4793
+ flexGrow: shouldExpand ? 1 : undefined,
4794
+ flexShrink: shouldExpand ? 1 : undefined,
4793
4795
  onBlur: onBlur,
4794
4796
  onFocus: onFocus,
4795
4797
  onPress: e => {
@@ -4809,6 +4811,8 @@ function ChoiceItem({
4809
4811
  });
4810
4812
  return /*#__PURE__*/jsxs(VStack, {
4811
4813
  space: "kitt.2",
4814
+ flexGrow: shouldExpand ? 1 : undefined,
4815
+ flexShrink: shouldExpand ? 1 : undefined,
4812
4816
  children: [/*#__PURE__*/jsxs(AnimatedChoiceItemView, {
4813
4817
  animatedStyles: backgroundStyles,
4814
4818
  isHovered: isHovered || isHoveredInternal,
@@ -4816,10 +4820,13 @@ function ChoiceItem({
4816
4820
  isSelected: selected,
4817
4821
  isPressed: isPressed || isPressedInternal,
4818
4822
  hasError: hasError,
4823
+ shouldExpand: shouldExpand,
4819
4824
  size: size,
4820
4825
  children: [/*#__PURE__*/jsxs(Stack, {
4821
4826
  alignItems: "center",
4822
4827
  space: "kitt.2",
4828
+ flexGrow: shouldExpand ? 1 : undefined,
4829
+ flexShrink: shouldExpand ? 1 : undefined,
4823
4830
  children: [icon ? /*#__PURE__*/jsx(TypographyIcon, {
4824
4831
  color: textColor,
4825
4832
  icon: icon
@@ -4848,36 +4855,49 @@ function ChoiceItem({
4848
4855
  function ChoiceItemContainer({
4849
4856
  children,
4850
4857
  direction,
4858
+ shouldExpand,
4851
4859
  isLast
4852
4860
  }) {
4853
4861
  const currentItemMarginValue = isLast ? undefined : 'kitt.3';
4854
- const flexProps = direction === 'row' ? {
4862
+ const directionFlexProps = direction === 'row' ? {
4855
4863
  flexGrow: 1,
4856
4864
  flexShrink: 1,
4857
4865
  flexBasis: 0
4858
4866
  } : {};
4867
+ const shouldExpandFlexProps = shouldExpand ? {
4868
+ flexGrow: 1,
4869
+ flexShrink: 1
4870
+ } : {};
4859
4871
  return /*#__PURE__*/jsx(View, {
4860
4872
  marginRight: direction === 'row' ? currentItemMarginValue : undefined,
4861
4873
  marginBottom: direction === 'column' ? currentItemMarginValue : undefined,
4862
- ...flexProps,
4874
+ ...directionFlexProps,
4875
+ ...shouldExpandFlexProps,
4863
4876
  children: children
4864
4877
  });
4865
4878
  }
4866
4879
 
4867
4880
  function ChoicesContainer({
4868
4881
  direction,
4882
+ shouldExpand,
4869
4883
  contentContainerStyle,
4870
4884
  ...props
4871
4885
  }) {
4886
+ const shouldExpandFlexProps = shouldExpand ? {
4887
+ flexGrow: 1,
4888
+ flexShrink: 1
4889
+ } : {};
4872
4890
  if (direction === 'row') {
4873
- return /*#__PURE__*/jsx(ScrollView$2, {
4891
+ return /*#__PURE__*/jsx(ScrollView, {
4874
4892
  horizontal: true,
4875
- contentContainerStyle: contentContainerStyle,
4876
- ...props
4893
+ contentContainerStyle: shouldExpand ? shouldExpandFlexProps : contentContainerStyle,
4894
+ ...props,
4895
+ ...shouldExpandFlexProps
4877
4896
  });
4878
4897
  }
4879
- return /*#__PURE__*/jsx(View$2, {
4880
- ...props
4898
+ return /*#__PURE__*/jsx(View, {
4899
+ ...props,
4900
+ ...shouldExpandFlexProps
4881
4901
  });
4882
4902
  }
4883
4903
 
@@ -4889,6 +4909,7 @@ function Choices({
4889
4909
  type,
4890
4910
  direction = 'column',
4891
4911
  disabled,
4912
+ shouldExpand = false,
4892
4913
  children,
4893
4914
  value,
4894
4915
  onPress,
@@ -4905,6 +4926,7 @@ function Choices({
4905
4926
  const sharedProps = {
4906
4927
  type,
4907
4928
  disabled,
4929
+ shouldExpand,
4908
4930
  onPress: !isForm ? onPress : undefined,
4909
4931
  onChange: isForm ? newValue => {
4910
4932
  setCurrentValue(newValue);
@@ -4916,6 +4938,7 @@ function Choices({
4916
4938
  };
4917
4939
  return /*#__PURE__*/jsx(ChoicesContainer, {
4918
4940
  direction: direction,
4941
+ shouldExpand: shouldExpand,
4919
4942
  testID: testID,
4920
4943
  id: id,
4921
4944
  style: style,
@@ -4927,6 +4950,7 @@ function Choices({
4927
4950
  });
4928
4951
  return /*#__PURE__*/jsx(ChoiceItemContainer, {
4929
4952
  direction: direction,
4953
+ shouldExpand: shouldExpand,
4930
4954
  isLast: index === childrenArray.length - 1,
4931
4955
  children: element
4932
4956
  }, child.key);
@@ -7737,29 +7761,23 @@ function FullscreenModalFooter({
7737
7761
  });
7738
7762
  }
7739
7763
 
7740
- const slideInFromBottomEnter = "kitt-u_slideInFromBottomEnter_s1717rto";
7741
- const slideInFromBottomEnterActive = "kitt-u_slideInFromBottomEnterActive_sux6xgc";
7742
- const slideInFromBottomExit = "kitt-u_slideInFromBottomExit_sl0lsxt";
7743
- const slideInFromBottomExitActive = "kitt-u_slideInFromBottomExitActive_srlzzmu";
7744
- const slideInClassNames = {
7745
- appear: slideInFromBottomEnter,
7746
- appearActive: slideInFromBottomEnterActive,
7747
- enter: slideInFromBottomEnter,
7748
- enterActive: slideInFromBottomEnterActive,
7749
- exit: slideInFromBottomExit,
7750
- exitActive: slideInFromBottomExitActive
7764
+ 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"};
7765
+
7766
+ const overlayClassNames = {
7767
+ appear: styles$1['overlay-enter'],
7768
+ appearActive: styles$1['overlay-enter-active'],
7769
+ enter: styles$1['overlay-enter'],
7770
+ enterActive: styles$1['overlay-enter-active'],
7771
+ exit: styles$1['overlay-exit'],
7772
+ exitActive: styles$1['overlay-exit-active']
7751
7773
  };
7752
- const opacityEnter = "kitt-u_opacityEnter_okm44hr";
7753
- const opacityEnterActive = "kitt-u_opacityEnterActive_o2w8t0i";
7754
- const opacityExit = "kitt-u_opacityExit_o14r8iix";
7755
- const opacityExitActive = "kitt-u_opacityExitActive_oim72y2";
7756
- const opacityClassNames = {
7757
- appear: opacityEnter,
7758
- appearActive: opacityEnterActive,
7759
- enter: opacityEnter,
7760
- enterActive: opacityEnterActive,
7761
- exit: opacityExit,
7762
- exitActive: opacityExitActive
7774
+ const slideInClassNames = {
7775
+ appear: styles$1['content-enter'],
7776
+ appearActive: styles$1['content-enter-active'],
7777
+ enter: styles$1['content-enter'],
7778
+ enterActive: styles$1['content-enter-active'],
7779
+ exit: styles$1['content-exit'],
7780
+ exitActive: styles$1['content-exit-active']
7763
7781
  };
7764
7782
  function FullscreenModalAnimation({
7765
7783
  children,
@@ -7787,31 +7805,44 @@ function FullscreenModalAnimation({
7787
7805
  appear,
7788
7806
  unmountOnExit
7789
7807
  };
7790
- return /*#__PURE__*/jsxs(View, {
7808
+
7809
+ // CSS custom properties for theme-based animation values
7810
+ const overlayEasing = animation.overlay.easing;
7811
+ const contentEasing = animation.content.easing;
7812
+ const cssVariables = {
7813
+ '--overlay-duration': `${animation.overlay.duration}ms`,
7814
+ '--overlay-easing': `cubic-bezier(${overlayEasing.x1}, ${overlayEasing.y1}, ${overlayEasing.x2}, ${overlayEasing.y2})`,
7815
+ '--content-duration': `${animation.content.duration}ms`,
7816
+ '--content-easing': `cubic-bezier(${contentEasing.x1}, ${contentEasing.y1}, ${contentEasing.x2}, ${contentEasing.y2})`
7817
+ };
7818
+ return /*#__PURE__*/jsx(View, {
7791
7819
  ...props,
7792
- children: [/*#__PURE__*/jsx(CSSTransition, {
7793
- ...sharedProps,
7794
- nodeRef: overlayRef,
7795
- timeout: isAnimationEnabled ? animation.overlay.duration : 0,
7796
- classNames: opacityClassNames,
7797
- children: /*#__PURE__*/jsx(Overlay, {
7798
- ref: overlayRef,
7799
- onPress: onClose
7800
- })
7801
- }), /*#__PURE__*/jsx(CSSTransition, {
7802
- ...sharedProps,
7803
- nodeRef: contentRef,
7804
- timeout: isAnimationEnabled ? animation.content.duration : 0,
7805
- classNames: slideInClassNames,
7806
- onEnter: onEnter,
7807
- onEntered: onEntered,
7808
- onExit: onExit,
7809
- onExited: onExited,
7810
- children: /*#__PURE__*/jsx(View, {
7811
- ref: contentRef,
7812
- children: children
7813
- })
7814
- })]
7820
+ children: /*#__PURE__*/jsxs("div", {
7821
+ style: cssVariables,
7822
+ children: [/*#__PURE__*/jsx(CSSTransition, {
7823
+ ...sharedProps,
7824
+ nodeRef: overlayRef,
7825
+ timeout: isAnimationEnabled ? animation.overlay.duration : 0,
7826
+ classNames: overlayClassNames,
7827
+ children: /*#__PURE__*/jsx(Overlay, {
7828
+ ref: overlayRef,
7829
+ onPress: onClose
7830
+ })
7831
+ }), /*#__PURE__*/jsx(CSSTransition, {
7832
+ ...sharedProps,
7833
+ nodeRef: contentRef,
7834
+ timeout: isAnimationEnabled ? animation.content.duration : 0,
7835
+ classNames: slideInClassNames,
7836
+ onEnter: onEnter,
7837
+ onEntered: onEntered,
7838
+ onExit: onExit,
7839
+ onExited: onExited,
7840
+ children: /*#__PURE__*/jsx(View, {
7841
+ ref: contentRef,
7842
+ children: children
7843
+ })
7844
+ })]
7845
+ })
7815
7846
  });
7816
7847
  }
7817
7848