@ornikar/kitt-universal 4.0.0 → 4.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.
Files changed (107) hide show
  1. package/dist/definitions/BaseMessage/BaseMessage.d.ts +16 -0
  2. package/dist/definitions/BaseMessage/BaseMessage.d.ts.map +1 -0
  3. package/dist/definitions/BaseMessage/IconContent.d.ts +10 -0
  4. package/dist/definitions/BaseMessage/IconContent.d.ts.map +1 -0
  5. package/dist/definitions/BaseMessage/helper.d.ts +6 -0
  6. package/dist/definitions/BaseMessage/helper.d.ts.map +1 -0
  7. package/dist/definitions/ListItem/ListItem.d.ts.map +1 -1
  8. package/dist/definitions/Message/Message.d.ts +4 -12
  9. package/dist/definitions/Message/Message.d.ts.map +1 -1
  10. package/dist/definitions/Notification/Notification.d.ts +8 -8
  11. package/dist/definitions/Notification/Notification.d.ts.map +1 -1
  12. package/dist/definitions/Skeleton/Skeleton.d.ts.map +1 -1
  13. package/dist/definitions/Tooltip/Tooltip.d.ts.map +1 -1
  14. package/dist/definitions/Tooltip/TooltipView.d.ts.map +1 -1
  15. package/dist/definitions/forms/InputEmail/InputEmail.d.ts +7 -0
  16. package/dist/definitions/forms/InputEmail/InputEmail.d.ts.map +1 -0
  17. package/dist/definitions/forms/InputText/InputText.d.ts.map +1 -1
  18. package/dist/definitions/forms/InputText/InputTextContainer.d.ts +8 -0
  19. package/dist/definitions/forms/InputText/InputTextContainer.d.ts.map +1 -0
  20. package/dist/definitions/forms/InputText/InputTextContainer.web.d.ts +11 -0
  21. package/dist/definitions/forms/InputText/InputTextContainer.web.d.ts.map +1 -0
  22. package/dist/definitions/index.d.ts +2 -0
  23. package/dist/definitions/index.d.ts.map +1 -1
  24. package/dist/definitions/themes/default.d.ts +22 -101
  25. package/dist/definitions/themes/default.d.ts.map +1 -1
  26. package/dist/definitions/themes/late-ocean/{avatarLateOceanTheme.d.ts → avatar.d.ts} +2 -2
  27. package/dist/definitions/themes/late-ocean/avatar.d.ts.map +1 -0
  28. package/dist/definitions/themes/late-ocean/{buttonLateOceanTheme.d.ts → button.d.ts} +8 -8
  29. package/dist/definitions/themes/late-ocean/button.d.ts.map +1 -0
  30. package/dist/definitions/themes/late-ocean/card.d.ts +13 -0
  31. package/dist/definitions/themes/late-ocean/card.d.ts.map +1 -0
  32. package/dist/definitions/themes/late-ocean/{colorsLateOceanTheme.d.ts → colors.d.ts} +4 -2
  33. package/dist/definitions/themes/late-ocean/colors.d.ts.map +1 -0
  34. package/dist/definitions/themes/late-ocean/feedback.d.ts +11 -0
  35. package/dist/definitions/themes/late-ocean/feedback.d.ts.map +1 -0
  36. package/dist/definitions/themes/late-ocean/forms.d.ts +1 -17
  37. package/dist/definitions/themes/late-ocean/forms.d.ts.map +1 -1
  38. package/dist/definitions/themes/late-ocean/{fullScreenModalLateOceanTheme.d.ts → fullScreenModal.d.ts} +2 -2
  39. package/dist/definitions/themes/late-ocean/fullScreenModal.d.ts.map +1 -0
  40. package/dist/definitions/themes/late-ocean/input.d.ts +9 -4
  41. package/dist/definitions/themes/late-ocean/input.d.ts.map +1 -1
  42. package/dist/definitions/themes/late-ocean/inputField.d.ts +5 -0
  43. package/dist/definitions/themes/late-ocean/inputField.d.ts.map +1 -0
  44. package/dist/definitions/themes/late-ocean/listItem.d.ts +8 -0
  45. package/dist/definitions/themes/late-ocean/listItem.d.ts.map +1 -0
  46. package/dist/definitions/themes/late-ocean/{radioLateOceanTheme.d.ts → radio.d.ts} +6 -5
  47. package/dist/definitions/themes/late-ocean/radio.d.ts.map +1 -0
  48. package/dist/definitions/themes/late-ocean/shadows.d.ts +4 -0
  49. package/dist/definitions/themes/late-ocean/shadows.d.ts.map +1 -0
  50. package/dist/definitions/themes/late-ocean/{skeletonTheme.d.ts → skeleton.d.ts} +2 -2
  51. package/dist/definitions/themes/late-ocean/skeleton.d.ts.map +1 -0
  52. package/dist/definitions/themes/late-ocean/tag.d.ts +18 -0
  53. package/dist/definitions/themes/late-ocean/tag.d.ts.map +1 -0
  54. package/dist/definitions/themes/late-ocean/{typographyLateOceanTheme.d.ts → typography.d.ts} +5 -4
  55. package/dist/definitions/themes/late-ocean/typography.d.ts.map +1 -0
  56. package/dist/definitions/themes/palettes/lateOceanColorPalette.d.ts +1 -0
  57. package/dist/definitions/themes/palettes/lateOceanColorPalette.d.ts.map +1 -1
  58. package/dist/definitions/typography/Typography.d.ts +2 -2
  59. package/dist/definitions/typography/Typography.d.ts.map +1 -1
  60. package/dist/definitions/typography/TypographyEmoji.d.ts.map +1 -1
  61. package/dist/index-browser-all.es.android.js +443 -405
  62. package/dist/index-browser-all.es.android.js.map +1 -1
  63. package/dist/index-browser-all.es.ios.js +443 -405
  64. package/dist/index-browser-all.es.ios.js.map +1 -1
  65. package/dist/index-browser-all.es.js +443 -405
  66. package/dist/index-browser-all.es.js.map +1 -1
  67. package/dist/index-browser-all.es.web.js +492 -426
  68. package/dist/index-browser-all.es.web.js.map +1 -1
  69. package/dist/index-node-14.17.cjs.js +427 -370
  70. package/dist/index-node-14.17.cjs.js.map +1 -1
  71. package/dist/index-node-14.17.cjs.web.css +1 -0
  72. package/dist/index-node-14.17.cjs.web.js +458 -372
  73. package/dist/index-node-14.17.cjs.web.js.map +1 -1
  74. package/dist/linaria-themes-browser-all.es.android.js +122 -108
  75. package/dist/linaria-themes-browser-all.es.android.js.map +1 -1
  76. package/dist/linaria-themes-browser-all.es.ios.js +122 -108
  77. package/dist/linaria-themes-browser-all.es.ios.js.map +1 -1
  78. package/dist/linaria-themes-browser-all.es.js +122 -108
  79. package/dist/linaria-themes-browser-all.es.js.map +1 -1
  80. package/dist/linaria-themes-browser-all.es.web.js +122 -108
  81. package/dist/linaria-themes-browser-all.es.web.js.map +1 -1
  82. package/dist/linaria-themes-node-14.17.cjs.js +122 -108
  83. package/dist/linaria-themes-node-14.17.cjs.js.map +1 -1
  84. package/dist/linaria-themes-node-14.17.cjs.web.js +122 -108
  85. package/dist/linaria-themes-node-14.17.cjs.web.js.map +1 -1
  86. package/dist/styles.css +1 -0
  87. package/dist/tsbuildinfo +1 -1
  88. package/package.json +4 -4
  89. package/dist/definitions/themes/late-ocean/avatarLateOceanTheme.d.ts.map +0 -1
  90. package/dist/definitions/themes/late-ocean/buttonLateOceanTheme.d.ts.map +0 -1
  91. package/dist/definitions/themes/late-ocean/cardLateOceanTheme.d.ts +0 -18
  92. package/dist/definitions/themes/late-ocean/cardLateOceanTheme.d.ts.map +0 -1
  93. package/dist/definitions/themes/late-ocean/colorsLateOceanTheme.d.ts.map +0 -1
  94. package/dist/definitions/themes/late-ocean/feedbackMessageLateOceanTheme.d.ts +0 -9
  95. package/dist/definitions/themes/late-ocean/feedbackMessageLateOceanTheme.d.ts.map +0 -1
  96. package/dist/definitions/themes/late-ocean/fullScreenModalLateOceanTheme.d.ts.map +0 -1
  97. package/dist/definitions/themes/late-ocean/inputFieldLateOceanTheme.d.ts +0 -5
  98. package/dist/definitions/themes/late-ocean/inputFieldLateOceanTheme.d.ts.map +0 -1
  99. package/dist/definitions/themes/late-ocean/listItemLateOceanTheme.d.ts +0 -7
  100. package/dist/definitions/themes/late-ocean/listItemLateOceanTheme.d.ts.map +0 -1
  101. package/dist/definitions/themes/late-ocean/radioLateOceanTheme.d.ts.map +0 -1
  102. package/dist/definitions/themes/late-ocean/shadowsLateOceanTheme.d.ts +0 -4
  103. package/dist/definitions/themes/late-ocean/shadowsLateOceanTheme.d.ts.map +0 -1
  104. package/dist/definitions/themes/late-ocean/skeletonTheme.d.ts.map +0 -1
  105. package/dist/definitions/themes/late-ocean/tagLateOceanTheme.d.ts +0 -41
  106. package/dist/definitions/themes/late-ocean/tagLateOceanTheme.d.ts.map +0 -1
  107. package/dist/definitions/themes/late-ocean/typographyLateOceanTheme.d.ts.map +0 -1
@@ -51,7 +51,7 @@ function SpinningIcon({
51
51
  });
52
52
  }
53
53
 
54
- const IconContainer$1 = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
54
+ const IconContainer = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
55
55
  displayName: "Icon__IconContainer",
56
56
  componentId: "kitt-universal__sc-usm0ol-0"
57
57
  })(["color:", ";width:", "px;height:", "px;align-self:", ";"], ({
@@ -73,7 +73,7 @@ function Icon({
73
73
  const clonedIcon = /*#__PURE__*/react.cloneElement(icon, {
74
74
  color
75
75
  });
76
- return /*#__PURE__*/jsxRuntime.jsx(IconContainer$1, {
76
+ return /*#__PURE__*/jsxRuntime.jsx(IconContainer, {
77
77
  align: align,
78
78
  size: size,
79
79
  color: color,
@@ -175,8 +175,8 @@ const StyledTypography = /*#__PURE__*/styled__default(BabelPluginStyledComponent
175
175
  /* type */
176
176
  ${!$typeForCurrentWindowSize ? '' : `
177
177
  font-family: ${$isHeader ? headers.fontFamily[$variant] : bodies.fontFamily[$variant]};
178
- font-size: ${$isHeader ? headers.configs[$typeForCurrentWindowSize][typeConfigKey].fontSize : bodies.configs[$typeForCurrentWindowSize][typeConfigKey].fontSize};
179
- line-height: ${$isHeader ? headers.configs[$typeForCurrentWindowSize][typeConfigKey].lineHeight : bodies.configs[$typeForCurrentWindowSize][typeConfigKey].lineHeight};
178
+ font-size: ${$isHeader ? headers.configs[$typeForCurrentWindowSize][typeConfigKey].fontSize : bodies.configs[$typeForCurrentWindowSize][typeConfigKey].fontSize}px;
179
+ line-height: ${$isHeader ? headers.configs[$typeForCurrentWindowSize][typeConfigKey].lineHeight : bodies.configs[$typeForCurrentWindowSize][typeConfigKey].lineHeight}px;
180
180
  `}
181
181
 
182
182
  /* variant */
@@ -322,7 +322,7 @@ const StyledAvatarView = /*#__PURE__*/styled__default(BabelPluginStyledComponent
322
322
  $size
323
323
  }) => {
324
324
  if ($isRound) return `${$size / 2}px`;
325
- return theme.kitt.avatar.borderRadius;
325
+ return `${theme.kitt.avatar.borderRadius}px`;
326
326
  }, ({
327
327
  theme,
328
328
  $isLight
@@ -430,7 +430,7 @@ const AnimatedButtonPressableContainer = withTheme( /*#__PURE__*/react$1.styled(
430
430
  }],
431
431
  "a1vkj3mh-7": [({
432
432
  theme
433
- }) => theme.kitt.button.borderRadius],
433
+ }) => theme.kitt.button.borderRadius, "px"],
434
434
  "a1vkj3mh-8": [({
435
435
  theme
436
436
  }) => `opacity ${theme.kitt.button.transition.duration} ${theme.kitt.button.transition.timingFunction}`],
@@ -439,20 +439,20 @@ const AnimatedButtonPressableContainer = withTheme( /*#__PURE__*/react$1.styled(
439
439
  }) => $isDisabled ? 1 : 0],
440
440
  "a1vkj3mh-10": [({
441
441
  theme
442
- }) => `-${theme.kitt.button.borderWidth.disabled}`],
442
+ }) => `-${theme.kitt.button.borderWidth.disabled}px`],
443
443
  "a1vkj3mh-12": [({
444
444
  theme
445
- }) => `calc(100% - ${parseInt(theme.kitt.button.borderWidth.disabled, 10) * 0.5}px)`],
445
+ }) => `calc(100% - ${theme.kitt.button.borderWidth.disabled * 0.5}px)`],
446
446
  "a1vkj3mh-14": [({
447
447
  theme
448
- }) => `${theme.kitt.button.disabled.borderColor} solid ${theme.kitt.button.borderWidth.disabled}`],
448
+ }) => `${theme.kitt.button.borderWidth.disabled}px solid ${theme.kitt.button.disabled.borderColor}`],
449
449
  "a1vkj3mh-15": [({
450
450
  theme,
451
451
  $type
452
- }) => `${theme.kitt.button.borderWidth.focus} solid ${theme.kitt.button[$type].focusBorderColor}`],
452
+ }) => `${theme.kitt.button.borderWidth.focus}px solid ${theme.kitt.button[$type].focusBorderColor}`],
453
453
  "a1vkj3mh-16": [({
454
454
  theme
455
- }) => `-${theme.kitt.button.borderWidth.focus}`],
455
+ }) => `-${theme.kitt.button.borderWidth.focus}px`],
456
456
  "a1vkj3mh-18": [({
457
457
  theme,
458
458
  $type,
@@ -503,12 +503,12 @@ const AnimatedButtonPressable = /*#__PURE__*/react.forwardRef(({
503
503
  const BaseStyledButtonPressable = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
504
504
  displayName: "BaseStyledButtonPressable",
505
505
  componentId: "kitt-universal__sc-4k8lse-0"
506
- })(["position:relative;min-width:", ";max-width:", ";width:", ";min-height:", ";border-radius:", ";flex-direction:row;align-items:center;justify-content:center;align-self:flex-start;background-color:", ";padding:", ";"], ({
506
+ })(["position:relative;min-width:", "px;max-width:", ";width:", ";min-height:", "px;border-radius:", "px;flex-direction:row;align-items:center;justify-content:center;align-self:flex-start;background-color:", ";padding:", ";"], ({
507
507
  theme
508
508
  }) => theme.kitt.button.minWidth, ({
509
509
  theme,
510
510
  $isStretch
511
- }) => $isStretch ? '100%' : theme.kitt.button.maxWidth, ({
511
+ }) => $isStretch ? '100%' : `${theme.kitt.button.maxWidth}px`, ({
512
512
  $isStretch
513
513
  }) => $isStretch ? '100%' : 'auto', ({
514
514
  theme
@@ -606,7 +606,7 @@ const StyledButtonText = /*#__PURE__*/styled__default(Typography.Text).withConfi
606
606
  if ($isDisabled || !isSubtle($type)) return undefined;
607
607
  return 'color: inherit';
608
608
  });
609
- const StyledIconContainer = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
609
+ const StyledIconContainer$1 = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
610
610
  displayName: "ButtonContent__StyledIconContainer",
611
611
  componentId: "kitt-universal__sc-dnyw3n-1"
612
612
  })(["", ""], ({
@@ -629,7 +629,7 @@ function ButtonIcon({
629
629
  iconPosition,
630
630
  testID
631
631
  }) {
632
- return /*#__PURE__*/jsxRuntime.jsx(StyledIconContainer, {
632
+ return /*#__PURE__*/jsxRuntime.jsx(StyledIconContainer$1, {
633
633
  $iconPosition: iconPosition,
634
634
  children: /*#__PURE__*/jsxRuntime.jsx(TypographyIcon, {
635
635
  icon: icon,
@@ -777,15 +777,15 @@ const Button = /*#__PURE__*/react.forwardRef(({
777
777
  });
778
778
  });
779
779
 
780
- const Container$4 = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
780
+ const Container$3 = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
781
781
  displayName: "Card__Container",
782
782
  componentId: "kitt-universal__sc-1n9psug-0"
783
- })(["background-color:", ";padding:", ";border-radius:", ";border-width:", ";border-color:", ";"], ({
783
+ })(["background-color:", ";padding:", "px;border-radius:", "px;border-width:", "px;border-color:", ";"], ({
784
784
  theme,
785
785
  type
786
786
  }) => theme.kitt.card[type].backgroundColor, ({
787
787
  theme
788
- }) => theme.kitt.card.padding, ({
788
+ }) => theme.kitt.spacing * 4, ({
789
789
  theme
790
790
  }) => theme.kitt.card.borderRadius, ({
791
791
  theme
@@ -797,7 +797,7 @@ function Card({
797
797
  children,
798
798
  type
799
799
  }) {
800
- return /*#__PURE__*/jsxRuntime.jsx(Container$4, {
800
+ return /*#__PURE__*/jsxRuntime.jsx(Container$3, {
801
801
  type: type,
802
802
  children: children
803
803
  });
@@ -853,107 +853,7 @@ function ExternalLink({
853
853
  });
854
854
  }
855
855
 
856
- const getColorFromState = state => {
857
- switch (state) {
858
- case 'invalid':
859
- return 'danger';
860
-
861
- case 'valid':
862
- default:
863
- return 'black-light';
864
- }
865
- };
866
-
867
- function InputFeedback({
868
- state,
869
- testID,
870
- children
871
- }) {
872
- return /*#__PURE__*/jsxRuntime.jsx(Typography.Text, {
873
- base: "body-small",
874
- color: getColorFromState(state),
875
- testID: testID,
876
- children: children
877
- });
878
- }
879
-
880
- const FieldContainer = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
881
- displayName: "InputField__FieldContainer",
882
- componentId: "kitt-universal__sc-13fkixs-0"
883
- })(["padding:5px 0 10px;"]);
884
- const FeedbackContainer = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
885
- displayName: "InputField__FeedbackContainer",
886
- componentId: "kitt-universal__sc-13fkixs-1"
887
- })(["", ";"], ({
888
- theme
889
- }) => theme.responsive.ifWindowSizeMatches({
890
- minWidth: KittBreakpoints.SMALL
891
- }, 'padding-top: 10px', 'padding-top: 5px'));
892
- const FieldLabelContainer = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
893
- displayName: "InputField__FieldLabelContainer",
894
- componentId: "kitt-universal__sc-13fkixs-2"
895
- })(["flex-direction:row;align-items:center;padding-bottom:", "px;"], ({
896
- theme
897
- }) => theme.kitt.forms.inputField.labelContainerPaddingBottom);
898
- const LabelContainer = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
899
- displayName: "InputField__LabelContainer",
900
- componentId: "kitt-universal__sc-13fkixs-3"
901
- })(["margin-right:", "px;"], ({
902
- theme
903
- }) => theme.kitt.forms.inputField.iconMarginLeft);
904
- function InputField({
905
- label,
906
- labelFeedback,
907
- input,
908
- feedback
909
- }) {
910
- return /*#__PURE__*/jsxRuntime.jsxs(FieldContainer, {
911
- children: [label ? /*#__PURE__*/jsxRuntime.jsxs(FieldLabelContainer, {
912
- children: [/*#__PURE__*/jsxRuntime.jsx(LabelContainer, {
913
- children: label
914
- }), labelFeedback]
915
- }) : null, input, feedback ? /*#__PURE__*/jsxRuntime.jsx(FeedbackContainer, {
916
- children: feedback
917
- }) : null]
918
- });
919
- }
920
-
921
- function getIconColor(state, disabled) {
922
- if (disabled) return 'black-light';
923
-
924
- switch (state) {
925
- case 'invalid':
926
- return 'danger';
927
-
928
- case 'valid':
929
- return 'success';
930
-
931
- default:
932
- return undefined;
933
- }
934
- }
935
-
936
- function InputIcon({
937
- icon,
938
- state,
939
- disabled
940
- }) {
941
- const theme = /*#__PURE__*/styled.useTheme();
942
- const color = getIconColor(state, disabled);
943
- return /*#__PURE__*/jsxRuntime.jsx(TypographyIcon, {
944
- color: color,
945
- icon: icon,
946
- size: theme.kitt.forms.input.icon.size
947
- });
948
- }
949
-
950
- function InputPressable({ ...props
951
- }) {
952
- return /*#__PURE__*/jsxRuntime.jsx(BabelPluginStyledComponentsReactNative.Pressable, { ...props
953
- });
954
- }
955
-
956
- const styledTextInputMixin = /*#__PURE__*/styled.css(["background-color:", ";border-width:", ";border-radius:", ";border-color:", ";font-size:", ";color:", ";font-family:", ";"], ({
856
+ const styledTextInputMixin = /*#__PURE__*/styled.css(["background-color:", ";border-width:", "px;border-radius:", "px;border-color:", ";font-size:", ";color:", ";font-family:", ";"], ({
957
857
  theme,
958
858
  $state
959
859
  }) => $state === 'disabled' ? theme.kitt.forms.input.states.disabled.backgroundColor : theme.kitt.forms.input.states.default.backgroundColor, ({
@@ -967,7 +867,7 @@ const styledTextInputMixin = /*#__PURE__*/styled.css(["background-color:", ";bor
967
867
  theme
968
868
  }) => {
969
869
  const typeConfigKey = getTypographyTypeConfigKey(theme);
970
- return theme.kitt.typography.types.bodies.configs.body[typeConfigKey].fontSize;
870
+ return `${theme.kitt.typography.types.bodies.configs.body[typeConfigKey].fontSize}px`;
971
871
  }, ({
972
872
  theme,
973
873
  $state
@@ -986,10 +886,44 @@ function getInputUIState({
986
886
  return 'default';
987
887
  }
988
888
 
889
+ const InputTextContainer = withTheme( /*#__PURE__*/react$1.styled("div")({
890
+ name: "InputTextContainer",
891
+ class: "i1encr9g",
892
+ vars: {
893
+ "i1encr9g-0": [({
894
+ $isDisabled
895
+ }) => $isDisabled ? 'not-allowed' : 'inherit'],
896
+ "i1encr9g-1": [({
897
+ theme
898
+ }) => {
899
+ const {
900
+ property,
901
+ duration,
902
+ timingFunction
903
+ } = theme.kitt.forms.input.transition;
904
+ return `${property} ${duration} ${timingFunction}`;
905
+ }],
906
+ "i1encr9g-2": [({
907
+ theme,
908
+ $isDisabled
909
+ }) => {
910
+ if ($isDisabled) return theme.kitt.forms.input.states.disabled.borderColor;
911
+ return theme.kitt.forms.input.states.hover.borderColor;
912
+ }],
913
+ "i1encr9g-3": [({
914
+ theme,
915
+ $isDisabled
916
+ }) => {
917
+ if ($isDisabled) return theme.kitt.forms.input.states.disabled.borderColor;
918
+ return theme.kitt.forms.input.states.focus.borderColor;
919
+ }]
920
+ }
921
+ }));
922
+
989
923
  const StyledTextInput = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.TextInput).withConfig({
990
924
  displayName: "InputText__StyledTextInput",
991
925
  componentId: "kitt-universal__sc-uke279-0"
992
- })(["", " padding:", ";line-height:", ";min-height:", "px;"], styledTextInputMixin, ({
926
+ })(["", " padding:", ";line-height:", ";width:100%;min-height:", "px;"], styledTextInputMixin, ({
993
927
  theme,
994
928
  multiline
995
929
  }) => {
@@ -1004,17 +938,13 @@ const StyledTextInput = /*#__PURE__*/styled__default(BabelPluginStyledComponents
1004
938
  }) => {
1005
939
  if (!multiline && "web" === 'ios') return 0;
1006
940
  const typeConfigKey = getTypographyTypeConfigKey(theme);
1007
- return theme.kitt.typography.types.bodies.configs.body[typeConfigKey].lineHeight;
941
+ return `${theme.kitt.typography.types.bodies.configs.body[typeConfigKey].lineHeight}px`;
1008
942
  }, ({
1009
943
  $minHeight
1010
944
  }) => $minHeight);
1011
- const InputTextContainer = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
1012
- displayName: "InputText__InputTextContainer",
1013
- componentId: "kitt-universal__sc-uke279-1"
1014
- })(["position:relative;"]);
1015
945
  const RightInputContainer = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
1016
946
  displayName: "InputText__RightInputContainer",
1017
- componentId: "kitt-universal__sc-uke279-2"
947
+ componentId: "kitt-universal__sc-uke279-1"
1018
948
  })(["position:absolute;right:0;top:0;bottom:0;justify-content:center;padding:10px;"]);
1019
949
  const InputText = /*#__PURE__*/react.forwardRef(({
1020
950
  id,
@@ -1039,6 +969,7 @@ const InputText = /*#__PURE__*/react.forwardRef(({
1039
969
  formState
1040
970
  });
1041
971
  return /*#__PURE__*/jsxRuntime.jsxs(InputTextContainer, {
972
+ $isDisabled: disabled,
1042
973
  children: [/*#__PURE__*/jsxRuntime.jsx(StyledTextInput, {
1043
974
  ref: ref,
1044
975
  nativeID: id,
@@ -1066,6 +997,115 @@ const InputText = /*#__PURE__*/react.forwardRef(({
1066
997
  });
1067
998
  });
1068
999
 
1000
+ function InputEmail(props) {
1001
+ return /*#__PURE__*/jsxRuntime.jsx(InputText, {
1002
+ autoCompleteType: "email",
1003
+ keyboardType: "email-address",
1004
+ textContentType: "emailAddress",
1005
+ ...props
1006
+ });
1007
+ }
1008
+
1009
+ const getColorFromState = state => {
1010
+ switch (state) {
1011
+ case 'invalid':
1012
+ return 'danger';
1013
+
1014
+ case 'valid':
1015
+ default:
1016
+ return 'black-light';
1017
+ }
1018
+ };
1019
+
1020
+ function InputFeedback({
1021
+ state,
1022
+ testID,
1023
+ children
1024
+ }) {
1025
+ return /*#__PURE__*/jsxRuntime.jsx(Typography.Text, {
1026
+ base: "body-small",
1027
+ color: getColorFromState(state),
1028
+ testID: testID,
1029
+ children: children
1030
+ });
1031
+ }
1032
+
1033
+ const FieldContainer = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
1034
+ displayName: "InputField__FieldContainer",
1035
+ componentId: "kitt-universal__sc-13fkixs-0"
1036
+ })(["padding:5px 0 10px;"]);
1037
+ const FeedbackContainer = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
1038
+ displayName: "InputField__FeedbackContainer",
1039
+ componentId: "kitt-universal__sc-13fkixs-1"
1040
+ })(["", ";"], ({
1041
+ theme
1042
+ }) => theme.responsive.ifWindowSizeMatches({
1043
+ minWidth: KittBreakpoints.SMALL
1044
+ }, 'padding-top: 10px', 'padding-top: 5px'));
1045
+ const FieldLabelContainer = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
1046
+ displayName: "InputField__FieldLabelContainer",
1047
+ componentId: "kitt-universal__sc-13fkixs-2"
1048
+ })(["flex-direction:row;align-items:center;padding-bottom:", "px;"], ({
1049
+ theme
1050
+ }) => theme.kitt.forms.inputField.labelContainerPaddingBottom);
1051
+ const LabelContainer = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
1052
+ displayName: "InputField__LabelContainer",
1053
+ componentId: "kitt-universal__sc-13fkixs-3"
1054
+ })(["margin-right:", "px;"], ({
1055
+ theme
1056
+ }) => theme.kitt.forms.inputField.iconMarginLeft);
1057
+ function InputField({
1058
+ label,
1059
+ labelFeedback,
1060
+ input,
1061
+ feedback
1062
+ }) {
1063
+ return /*#__PURE__*/jsxRuntime.jsxs(FieldContainer, {
1064
+ children: [label ? /*#__PURE__*/jsxRuntime.jsxs(FieldLabelContainer, {
1065
+ children: [/*#__PURE__*/jsxRuntime.jsx(LabelContainer, {
1066
+ children: label
1067
+ }), labelFeedback]
1068
+ }) : null, input, feedback ? /*#__PURE__*/jsxRuntime.jsx(FeedbackContainer, {
1069
+ children: feedback
1070
+ }) : null]
1071
+ });
1072
+ }
1073
+
1074
+ function getIconColor(state, disabled) {
1075
+ if (disabled) return 'black-light';
1076
+
1077
+ switch (state) {
1078
+ case 'invalid':
1079
+ return 'danger';
1080
+
1081
+ case 'valid':
1082
+ return 'success';
1083
+
1084
+ default:
1085
+ return undefined;
1086
+ }
1087
+ }
1088
+
1089
+ function InputIcon({
1090
+ icon,
1091
+ state,
1092
+ disabled
1093
+ }) {
1094
+ const theme = /*#__PURE__*/styled.useTheme();
1095
+ const color = getIconColor(state, disabled);
1096
+ return /*#__PURE__*/jsxRuntime.jsx(TypographyIcon, {
1097
+ color: color,
1098
+ icon: icon,
1099
+ size: theme.kitt.forms.input.icon.size
1100
+ });
1101
+ }
1102
+
1103
+ function InputPressable({ ...props
1104
+ }) {
1105
+ return /*#__PURE__*/jsxRuntime.jsx(BabelPluginStyledComponentsReactNative.Pressable, { ...props
1106
+ });
1107
+ }
1108
+
1069
1109
  function InputPassword({
1070
1110
  isPasswordDefaultVisible,
1071
1111
  right,
@@ -1103,7 +1143,7 @@ function Label({
1103
1143
  const OuterRadio = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
1104
1144
  displayName: "Radio__OuterRadio",
1105
1145
  componentId: "kitt-universal__sc-1mdgr2o-0"
1106
- })(["background-color:", ";width:", "px;height:", "px;border-radius:", "px;border-width:", ";border-color:", ";"], ({
1146
+ })(["background-color:", ";width:", "px;height:", "px;border-radius:", "px;border-width:", "px;border-color:", ";"], ({
1107
1147
  theme,
1108
1148
  disabled
1109
1149
  }) => theme.kitt.forms.radio[disabled ? 'disabled' : 'unchecked'].backgroundColor, ({
@@ -1142,7 +1182,7 @@ const SelectedInnerRadio = /*#__PURE__*/styled__default(BabelPluginStyledCompone
1142
1182
  }) => theme.kitt.forms.radio.checked.innerSize, ({
1143
1183
  theme
1144
1184
  }) => theme.kitt.forms.radio.checked.innerSize / 2);
1145
- const Container$3 = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.Pressable).withConfig({
1185
+ const Container$2 = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.Pressable).withConfig({
1146
1186
  displayName: "Radio__Container",
1147
1187
  componentId: "kitt-universal__sc-1mdgr2o-3"
1148
1188
  })(["flex-direction:row;align-items:center;"]);
@@ -1160,7 +1200,7 @@ function Radio({
1160
1200
  disabled = false,
1161
1201
  children
1162
1202
  }) {
1163
- return /*#__PURE__*/jsxRuntime.jsxs(Container$3, {
1203
+ return /*#__PURE__*/jsxRuntime.jsxs(Container$2, {
1164
1204
  nativeID: id,
1165
1205
  disabled: disabled,
1166
1206
  accessibilityRole: "radio",
@@ -1327,7 +1367,7 @@ function FullScreenModalHeader({
1327
1367
  });
1328
1368
  }
1329
1369
 
1330
- const Container$2 = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
1370
+ const Container$1 = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
1331
1371
  displayName: "FullScreenModal__Container",
1332
1372
  componentId: "kitt-universal__sc-11qpbe3-0"
1333
1373
  })(["flex:1;background-color:", ";"], ({
@@ -1336,7 +1376,7 @@ const Container$2 = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReac
1336
1376
  function FullScreenModal({
1337
1377
  children
1338
1378
  }) {
1339
- return /*#__PURE__*/jsxRuntime.jsx(Container$2, {
1379
+ return /*#__PURE__*/jsxRuntime.jsx(Container$1, {
1340
1380
  children: children
1341
1381
  });
1342
1382
  }
@@ -1518,10 +1558,10 @@ const SideContainerView = /*#__PURE__*/styled__default(BabelPluginStyledComponen
1518
1558
  })(["flex-direction:row;margin-left:", ";margin-right:", ";"], ({
1519
1559
  theme,
1520
1560
  side
1521
- }) => side === 'right' ? theme.kitt.listItem.innerMargin : 0, ({
1561
+ }) => side === 'right' ? `${theme.kitt.listItem.innerMargin}px` : 0, ({
1522
1562
  theme,
1523
1563
  side
1524
- }) => side === 'left' ? theme.kitt.listItem.innerMargin : 0); // Handles the vertical alignment of the side elements of the list item
1564
+ }) => side === 'left' ? `${theme.kitt.listItem.innerMargin}px` : 0); // Handles the vertical alignment of the side elements of the list item
1525
1565
 
1526
1566
  function ListItemSideContainer({
1527
1567
  children,
@@ -1567,15 +1607,15 @@ const ContainerView = /*#__PURE__*/styled__default(BabelPluginStyledComponentsRe
1567
1607
  } = theme.kitt.listItem;
1568
1608
 
1569
1609
  if (borders === 'top') {
1570
- return `border-top-width: ${borderWidth}`;
1610
+ return `border-top-width: ${borderWidth}px`;
1571
1611
  }
1572
1612
 
1573
1613
  if (borders === 'bottom') {
1574
- return `border-bottom-width: ${borderWidth}`;
1614
+ return `border-bottom-width: ${borderWidth}px`;
1575
1615
  }
1576
1616
 
1577
1617
  if (borders === 'both') {
1578
- return `border-top-width: ${borderWidth}; border-bottom-width: ${borderWidth}`;
1618
+ return styled.css(["border-top-width:", "px;border-bottom-width:", "px;"], borderWidth, borderWidth);
1579
1619
  }
1580
1620
 
1581
1621
  return 'border: none';
@@ -1671,47 +1711,32 @@ function Loader({
1671
1711
  });
1672
1712
  }
1673
1713
 
1674
- const xIconSize = 14;
1675
- const mainIconSize = 20;
1676
- const Container$1 = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
1677
- displayName: "Message__Container",
1678
- componentId: "kitt-universal__sc-c6400e-0"
1679
- })(["border-radius:", "px;background-color:", ";padding-bottom:", "px;padding-left:", "px;padding-right:", "px;padding-top:", "px;flex-direction:row;align-items:flex-start;justify-content:space-between;"], ({
1680
- theme,
1681
- noRadius
1682
- }) => noRadius ? 0 : theme.kitt.spacing * 5, ({
1683
- theme,
1684
- type
1685
- }) => theme.kitt.feedbackMessage.backgroundColors[type], ({
1686
- theme
1687
- }) => theme.kitt.spacing * 4, ({
1688
- theme
1689
- }) => theme.kitt.spacing * 4, ({
1690
- theme
1691
- }) => theme.kitt.spacing * 4, ({
1692
- theme,
1693
- insets
1694
- }) => (insets?.top ?? 0) + theme.kitt.spacing * 4);
1695
- const CloseContainer = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.TouchableOpacity).withConfig({
1696
- displayName: "Message__CloseContainer",
1697
- componentId: "kitt-universal__sc-c6400e-1"
1698
- })(["margin-left:", "px;padding:", "px;"], ({
1699
- theme
1700
- }) => theme.kitt.spacing * 4, ({
1701
- theme
1702
- }) => theme.kitt.spacing);
1703
- const IconContainer = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
1704
- displayName: "Message__IconContainer",
1705
- componentId: "kitt-universal__sc-c6400e-2"
1706
- })(["margin-right:", "px;"], ({
1707
- theme
1708
- }) => theme.kitt.spacing * 4);
1709
- const Content = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.Text).withConfig({
1710
- displayName: "Message__Content",
1711
- componentId: "kitt-universal__sc-c6400e-3"
1712
- })(["text-align:", ";flex:1;"], ({
1713
- centeredText
1714
- }) => centeredText ? 'center' : 'left');
1714
+ function IconContent({
1715
+ type,
1716
+ color
1717
+ }) {
1718
+ switch (type) {
1719
+ case 'warning':
1720
+ return /*#__PURE__*/jsxRuntime.jsx(kittIcons.AlertCircleIcon, {
1721
+ color: color
1722
+ });
1723
+
1724
+ case 'success':
1725
+ return /*#__PURE__*/jsxRuntime.jsx(kittIcons.CheckIcon, {
1726
+ color: color
1727
+ });
1728
+
1729
+ case 'danger':
1730
+ return /*#__PURE__*/jsxRuntime.jsx(kittIcons.AlertTriangleIcon, {
1731
+ color: color
1732
+ });
1733
+
1734
+ default:
1735
+ return /*#__PURE__*/jsxRuntime.jsx(kittIcons.InfoIcon, {
1736
+ color: color
1737
+ });
1738
+ }
1739
+ }
1715
1740
 
1716
1741
  const getColorByType = type => {
1717
1742
  switch (type) {
@@ -1726,61 +1751,125 @@ const getColorByType = type => {
1726
1751
  return 'black';
1727
1752
  }
1728
1753
  };
1729
-
1730
- function getIconContent(type) {
1731
- switch (type) {
1732
- case 'warning':
1733
- return /*#__PURE__*/jsxRuntime.jsx(kittIcons.AlertCircleIcon, {});
1734
-
1754
+ const getIconButtonColor = messageType => {
1755
+ switch (messageType) {
1735
1756
  case 'success':
1736
- return /*#__PURE__*/jsxRuntime.jsx(kittIcons.CheckIcon, {});
1737
-
1738
1757
  case 'danger':
1739
- return /*#__PURE__*/jsxRuntime.jsx(kittIcons.AlertTriangleIcon, {});
1758
+ return 'white';
1740
1759
 
1760
+ case 'warning':
1741
1761
  default:
1742
- return /*#__PURE__*/jsxRuntime.jsx(kittIcons.InfoIcon, {});
1762
+ return 'black';
1743
1763
  }
1744
- }
1764
+ };
1745
1765
 
1746
- function Message({
1766
+ const StyledMessageContainer = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
1767
+ displayName: "BaseMessage__StyledMessageContainer",
1768
+ componentId: "kitt-universal__sc-eepeiz-0"
1769
+ })(["flex-direction:row;align-items:flex-start;justify-content:space-between;min-height:60px;padding-top:", "px;border-radius:", "px;background-color:", ";"], ({
1770
+ $insets
1771
+ }) => $insets?.top ?? 0, ({
1772
+ theme,
1773
+ $hasNoRadius
1774
+ }) => $hasNoRadius ? 0 : theme.kitt.spacing * 5, ({
1775
+ theme,
1776
+ $type
1777
+ }) => theme.kitt.feedbackMessage[$type].backgroundColor);
1778
+ const StyledDismissWrapper = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
1779
+ displayName: "BaseMessage__StyledDismissWrapper",
1780
+ componentId: "kitt-universal__sc-eepeiz-1"
1781
+ })(["align-items:center;align-items:flex-start;margin:", ";"], ({
1782
+ theme
1783
+ }) => {
1784
+ const {
1785
+ spacing
1786
+ } = theme.kitt;
1787
+ return `${spacing * 2.5}px ${spacing * 2}px 0 ${spacing * 5}px`;
1788
+ });
1789
+ const StyledIconContainer = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
1790
+ displayName: "BaseMessage__StyledIconContainer",
1791
+ componentId: "kitt-universal__sc-eepeiz-2"
1792
+ })(["margin:", ";"], ({
1793
+ theme
1794
+ }) => {
1795
+ const {
1796
+ spacing
1797
+ } = theme.kitt;
1798
+ return `${spacing}px ${spacing * 5}px 0 0`;
1799
+ });
1800
+ const StyledTextContent = /*#__PURE__*/styled__default(Typography.Text).withConfig({
1801
+ displayName: "BaseMessage__StyledTextContent",
1802
+ componentId: "kitt-universal__sc-eepeiz-3"
1803
+ })(["flex:1;text-align:", ";"], ({
1804
+ $isCenteredText
1805
+ }) => $isCenteredText ? 'center' : 'left');
1806
+ const StyledMessageContent = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
1807
+ displayName: "BaseMessage__StyledMessageContent",
1808
+ componentId: "kitt-universal__sc-eepeiz-4"
1809
+ })(["display:flex;flex-direction:row;flex-grow:1;align-self:center;align-items:flex-start;flex-shrink:1;padding:", ";"], ({
1810
+ theme
1811
+ }) => {
1812
+ const {
1813
+ spacing
1814
+ } = theme.kitt;
1815
+ return `${spacing * 4}px ${spacing * 5}px`;
1816
+ });
1817
+ function BaseMessage({
1747
1818
  type = 'info',
1748
1819
  children,
1749
- noRadius = false,
1750
- centeredText = false,
1751
- onDismiss,
1752
- insets
1820
+ hasNoRadius,
1821
+ centeredText,
1822
+ insets,
1823
+ onDismiss
1753
1824
  }) {
1754
1825
  const color = getColorByType(type);
1755
- return /*#__PURE__*/jsxRuntime.jsxs(Container$1, {
1756
- type: type,
1757
- noRadius: noRadius,
1758
- insets: insets,
1759
- children: [!centeredText ? /*#__PURE__*/jsxRuntime.jsx(IconContainer, {
1760
- children: /*#__PURE__*/jsxRuntime.jsx(Icon, {
1761
- size: mainIconSize,
1762
- color: color,
1763
- icon: getIconContent(type)
1764
- })
1765
- }) : null, /*#__PURE__*/jsxRuntime.jsx(Content, {
1766
- type: type,
1767
- centeredText: centeredText,
1768
- children: /*#__PURE__*/jsxRuntime.jsx(Typography.Text, {
1769
- base: "body-small",
1826
+ return /*#__PURE__*/jsxRuntime.jsxs(StyledMessageContainer, {
1827
+ $type: type,
1828
+ $hasNoRadius: hasNoRadius,
1829
+ $insets: insets,
1830
+ children: [/*#__PURE__*/jsxRuntime.jsxs(StyledMessageContent, {
1831
+ children: [centeredText ? null : /*#__PURE__*/jsxRuntime.jsx(StyledIconContainer, {
1832
+ children: /*#__PURE__*/jsxRuntime.jsx(Icon, {
1833
+ color: color,
1834
+ icon: /*#__PURE__*/jsxRuntime.jsx(IconContent, {
1835
+ type: type,
1836
+ color: color
1837
+ })
1838
+ })
1839
+ }), /*#__PURE__*/jsxRuntime.jsx(StyledTextContent, {
1840
+ $isCenteredText: centeredText,
1841
+ base: "body",
1770
1842
  color: color,
1771
1843
  children: children
1772
- })
1773
- }), onDismiss ? /*#__PURE__*/jsxRuntime.jsx(CloseContainer, {
1774
- onPress: onDismiss,
1775
- children: /*#__PURE__*/jsxRuntime.jsx(Icon, {
1844
+ })]
1845
+ }), onDismiss ? /*#__PURE__*/jsxRuntime.jsx(StyledDismissWrapper, {
1846
+ children: /*#__PURE__*/jsxRuntime.jsx(IconButton, {
1847
+ color: getIconButtonColor(type),
1776
1848
  icon: /*#__PURE__*/jsxRuntime.jsx(kittIcons.XIcon, {}),
1777
- size: xIconSize,
1778
- color: color
1849
+ onPress: onDismiss
1779
1850
  })
1780
1851
  }) : null]
1781
1852
  });
1782
1853
  }
1783
1854
 
1855
+ function Message({
1856
+ type = 'info',
1857
+ children,
1858
+ hasNoRadius,
1859
+ centeredText,
1860
+ insets,
1861
+ onDismiss
1862
+ }) {
1863
+ return /*#__PURE__*/jsxRuntime.jsx(BaseMessage, {
1864
+ insets: insets,
1865
+ hasNoRadius: hasNoRadius,
1866
+ type: type,
1867
+ centeredText: centeredText,
1868
+ onDismiss: onDismiss,
1869
+ children: children
1870
+ });
1871
+ }
1872
+
1784
1873
  // Don't use styled.Pressable here - babel-plugin-styled-components-react-native-web only supports tagged templates
1785
1874
  const OverlayPressable = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.Pressable).withConfig({
1786
1875
  displayName: "Overlay__OverlayPressable",
@@ -1897,11 +1986,11 @@ const ModalView = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactN
1897
1986
  const ContentView = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
1898
1987
  displayName: "Modal__ContentView",
1899
1988
  componentId: "kitt-universal__sc-1xy2w5u-1"
1900
- })(["position:relative;display:flex;flex-direction:column;max-height:100%;max-width:540px;height:auto;width:100%;border-radius:", ";background-color:", ";"], ({
1989
+ })(["position:relative;display:flex;flex-direction:column;max-height:100%;max-width:540px;height:auto;width:100%;border-radius:", "px;background-color:", ";"], ({
1901
1990
  theme
1902
1991
  }) => theme.kitt.card.borderRadius, ({
1903
1992
  theme
1904
- }) => theme.kitt.palettes.lateOcean.white);
1993
+ }) => theme.kitt.colors.uiBackgroundLight);
1905
1994
  function Modal({
1906
1995
  visible,
1907
1996
  children,
@@ -1936,19 +2025,22 @@ function Notification({
1936
2025
  type,
1937
2026
  children,
1938
2027
  centeredText,
1939
- onDelete
2028
+ insets,
2029
+ onDelete,
2030
+ onDismiss
1940
2031
  }) {
1941
- const {
1942
- top
1943
- } = reactNativeSafeAreaContext.useSafeAreaInsets();
1944
- return /*#__PURE__*/jsxRuntime.jsx(Message, {
1945
- noRadius: true,
2032
+ if ((process.env.NODE_ENV !== "production")) {
2033
+ if (onDelete) {
2034
+ throw new Error('onDelete is deprecated us onDismiss instead');
2035
+ }
2036
+ }
2037
+
2038
+ return /*#__PURE__*/jsxRuntime.jsx(BaseMessage, {
2039
+ hasNoRadius: true,
1946
2040
  type: type,
1947
2041
  centeredText: centeredText,
1948
- insets: {
1949
- top
1950
- },
1951
- onDismiss: onDelete,
2042
+ insets: insets,
2043
+ onDismiss: onDismiss,
1952
2044
  children: children
1953
2045
  });
1954
2046
  }
@@ -1982,12 +2074,16 @@ function SkeletonContent({
1982
2074
  });
1983
2075
  }
1984
2076
 
2077
+ const SkeletonContainer = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
2078
+ displayName: "Skeleton__SkeletonContainer",
2079
+ componentId: "kitt-universal__sc-1w5cm3i-0"
2080
+ })(["overflow:hidden;"]);
1985
2081
  function Skeleton({
1986
2082
  isLoading,
1987
2083
  style
1988
2084
  }) {
1989
2085
  const [width, setWidth] = react.useState(0);
1990
- return /*#__PURE__*/jsxRuntime.jsx(BabelPluginStyledComponentsReactNative.View, {
2086
+ return /*#__PURE__*/jsxRuntime.jsx(SkeletonContainer, {
1991
2087
  style: style,
1992
2088
  onLayout: ({
1993
2089
  nativeEvent
@@ -2000,16 +2096,16 @@ function Skeleton({
2000
2096
  }
2001
2097
  const Bar = /*#__PURE__*/styled__default(Skeleton).withConfig({
2002
2098
  displayName: "Skeleton__Bar",
2003
- componentId: "kitt-universal__sc-1w5cm3i-0"
2004
- })(["width:100%;height:", "px;border-radius:", "px;overflow:hidden;"], ({
2099
+ componentId: "kitt-universal__sc-1w5cm3i-1"
2100
+ })(["width:100%;height:", "px;border-radius:", "px;"], ({
2005
2101
  theme
2006
2102
  }) => theme.kitt.spacing * 2, ({
2007
2103
  theme
2008
2104
  }) => theme.kitt.spacing * 2);
2009
2105
  const Circle = /*#__PURE__*/styled__default(Skeleton).withConfig({
2010
2106
  displayName: "Skeleton__Circle",
2011
- componentId: "kitt-universal__sc-1w5cm3i-1"
2012
- })(["width:", "px;height:", "px;border-radius:", "px;overflow:hidden;"], ({
2107
+ componentId: "kitt-universal__sc-1w5cm3i-2"
2108
+ })(["width:", "px;height:", "px;border-radius:", "px;"], ({
2013
2109
  theme
2014
2110
  }) => theme.kitt.spacing * 12, ({
2015
2111
  theme
@@ -2018,8 +2114,8 @@ const Circle = /*#__PURE__*/styled__default(Skeleton).withConfig({
2018
2114
  }) => theme.kitt.spacing * 6);
2019
2115
  const Square = /*#__PURE__*/styled__default(Skeleton).withConfig({
2020
2116
  displayName: "Skeleton__Square",
2021
- componentId: "kitt-universal__sc-1w5cm3i-2"
2022
- })(["width:", "px;height:", "px;border-radius:", "px;overflow:hidden;"], ({
2117
+ componentId: "kitt-universal__sc-1w5cm3i-3"
2118
+ })(["width:", "px;height:", "px;border-radius:", "px;"], ({
2023
2119
  theme
2024
2120
  }) => theme.kitt.spacing * 12, ({
2025
2121
  theme
@@ -2373,7 +2469,7 @@ const StoryGrid = {
2373
2469
  const Container = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
2374
2470
  displayName: "Tag__Container",
2375
2471
  componentId: "kitt-universal__sc-19jmowi-0"
2376
- })(["background-color:", ";border-width:", ";border-color:", ";padding:", ";border-radius:", ";align-self:flex-start;"], ({
2472
+ })(["background-color:", ";border-width:", "px;border-color:", ";padding:", ";border-radius:", "px;align-self:flex-start;"], ({
2377
2473
  theme,
2378
2474
  type,
2379
2475
  variant
@@ -2437,6 +2533,7 @@ const lateOceanColorPalette = {
2437
2533
  warmEmbrace: '#F4D3CE',
2438
2534
  warmEmbraceLight1: '#FFEDE6',
2439
2535
  black1000: '#000000',
2536
+ black800: '#2C293D',
2440
2537
  black555: '#737373',
2441
2538
  black200: '#CCCCCC',
2442
2539
  black100: '#E5E5E5',
@@ -2452,7 +2549,7 @@ const lateOceanColorPalette = {
2452
2549
  moonPurpleLight1: '#EDEBFC'
2453
2550
  };
2454
2551
 
2455
- const colorsLateOceanTheme = {
2552
+ const colors = {
2456
2553
  primary: lateOceanColorPalette.lateOcean,
2457
2554
  primaryLight: lateOceanColorPalette.lateOceanLight1,
2458
2555
  accent: lateOceanColorPalette.warmEmbrace,
@@ -2460,6 +2557,8 @@ const colorsLateOceanTheme = {
2460
2557
  success: lateOceanColorPalette.viride,
2461
2558
  correct: lateOceanColorPalette.viride,
2462
2559
  danger: lateOceanColorPalette.englishVermillon,
2560
+ info: lateOceanColorPalette.aero,
2561
+ warning: lateOceanColorPalette.goldCrayola,
2463
2562
  separator: lateOceanColorPalette.black100,
2464
2563
  hover: lateOceanColorPalette.black100,
2465
2564
  black: lateOceanColorPalette.black1000,
@@ -2475,24 +2574,24 @@ const colorsLateOceanTheme = {
2475
2574
  };
2476
2575
 
2477
2576
  const avatar = {
2478
- borderRadius: '10px',
2577
+ borderRadius: 10,
2479
2578
  default: {
2480
- backgroundColor: colorsLateOceanTheme.primary
2579
+ backgroundColor: colors.primary
2481
2580
  },
2482
2581
  light: {
2483
2582
  backgroundColor: lateOceanColorPalette.black100
2484
2583
  }
2485
2584
  };
2486
2585
 
2487
- const buttonLateOceanTheme = {
2488
- borderRadius: '30px',
2586
+ const button = {
2587
+ borderRadius: 30,
2489
2588
  borderWidth: {
2490
- disabled: '2px',
2491
- focus: '3px'
2589
+ disabled: 2,
2590
+ focus: 3
2492
2591
  },
2493
- minHeight: '40px',
2494
- minWidth: '40px',
2495
- maxWidth: '335px',
2592
+ minHeight: 40,
2593
+ minWidth: 40,
2594
+ maxWidth: 335,
2496
2595
  scale: {
2497
2596
  base: {
2498
2597
  default: 1,
@@ -2519,9 +2618,9 @@ const buttonLateOceanTheme = {
2519
2618
  focusBorderColor: 'rgba(0, 0, 0, 0.1)'
2520
2619
  },
2521
2620
  primary: {
2522
- backgroundColor: colorsLateOceanTheme.primary,
2523
- pressedBackgroundColor: colorsLateOceanTheme.primaryLight,
2524
- hoverBackgroundColor: colorsLateOceanTheme.primaryLight,
2621
+ backgroundColor: colors.primary,
2622
+ pressedBackgroundColor: colors.primaryLight,
2623
+ hoverBackgroundColor: colors.primaryLight,
2525
2624
  focusBorderColor: 'rgba(76, 52, 224, 0.2)'
2526
2625
  },
2527
2626
  white: {
@@ -2531,73 +2630,79 @@ const buttonLateOceanTheme = {
2531
2630
  focusBorderColor: 'rgba(255, 255, 255, 0.1)'
2532
2631
  },
2533
2632
  subtle: {
2534
- backgroundColor: colorsLateOceanTheme.transparent,
2535
- pressedBackgroundColor: colorsLateOceanTheme.transparent,
2536
- hoverBackgroundColor: colorsLateOceanTheme.transparent,
2633
+ backgroundColor: colors.transparent,
2634
+ pressedBackgroundColor: colors.transparent,
2635
+ hoverBackgroundColor: colors.transparent,
2537
2636
  focusBorderColor: 'rgba(76, 52, 224, 0.2)',
2538
- color: colorsLateOceanTheme.primary,
2637
+ color: colors.primary,
2539
2638
  hoverColor: 'rgba(76, 52, 224, 0.8)',
2540
2639
  activeColor: 'rgba(76, 52, 224, 0.8)'
2541
2640
  },
2542
2641
  'subtle-dark': {
2543
- backgroundColor: colorsLateOceanTheme.transparent,
2544
- pressedBackgroundColor: colorsLateOceanTheme.transparent,
2545
- hoverBackgroundColor: colorsLateOceanTheme.transparent,
2642
+ backgroundColor: colors.transparent,
2643
+ pressedBackgroundColor: colors.transparent,
2644
+ hoverBackgroundColor: colors.transparent,
2546
2645
  focusBorderColor: 'rgba(0, 0, 0, 0.1)',
2547
- color: colorsLateOceanTheme.black,
2646
+ color: colors.black,
2548
2647
  hoverColor: 'rgba(0, 0, 0, 0.8)',
2549
2648
  activeColor: 'rgba(0, 0, 0, 0.8)'
2550
2649
  },
2551
2650
  disabled: {
2552
- backgroundColor: colorsLateOceanTheme.disabled,
2553
- pressedBackgroundColor: colorsLateOceanTheme.disabled,
2554
- hoverBackgroundColor: colorsLateOceanTheme.disabled,
2651
+ backgroundColor: colors.disabled,
2652
+ pressedBackgroundColor: colors.disabled,
2653
+ hoverBackgroundColor: colors.disabled,
2555
2654
  focusBorderColor: lateOceanColorPalette.black100,
2556
2655
  borderColor: lateOceanColorPalette.black100
2557
2656
  }
2558
2657
  };
2559
2658
 
2560
- const cardLateOceanTheme = {
2561
- borderRadius: '20px',
2562
- borderWidth: '2px',
2563
- padding: '16px',
2659
+ const card = {
2660
+ borderRadius: 20,
2661
+ borderWidth: 2,
2564
2662
  primary: {
2565
- backgroundColor: lateOceanColorPalette.white,
2566
- borderColor: lateOceanColorPalette.lateOcean
2663
+ backgroundColor: colors.uiBackgroundLight,
2664
+ borderColor: colors.primary
2567
2665
  },
2568
2666
  secondary: {
2569
- backgroundColor: lateOceanColorPalette.white,
2570
- borderColor: lateOceanColorPalette.black100
2667
+ backgroundColor: colors.uiBackgroundLight,
2668
+ borderColor: colors.separator
2571
2669
  },
2572
2670
  subtle: {
2573
2671
  backgroundColor: lateOceanColorPalette.black50,
2574
- borderColor: lateOceanColorPalette.black100
2672
+ borderColor: colors.separator
2575
2673
  }
2576
2674
  };
2577
2675
 
2578
- const feedbackMessageLateOceanTheme = {
2579
- backgroundColors: {
2580
- success: lateOceanColorPalette.viride,
2581
- danger: lateOceanColorPalette.englishVermillon,
2582
- warning: lateOceanColorPalette.goldCrayola,
2583
- info: lateOceanColorPalette.aero
2676
+ const feedbackMessage = {
2677
+ danger: {
2678
+ backgroundColor: colors.danger
2679
+ },
2680
+ success: {
2681
+ backgroundColor: colors.success
2682
+ },
2683
+ info: {
2684
+ backgroundColor: colors.info
2685
+ },
2686
+ warning: {
2687
+ backgroundColor: colors.warning
2584
2688
  }
2585
2689
  };
2586
2690
 
2587
2691
  const calcLineHeight = (fontSize, lineHeightMultiplier) => Math.round(fontSize * lineHeightMultiplier);
2588
2692
  const createTypographyTypeConfig = (lineHeightMultiplier, baseAndSmallFontSize, mediumAndWideFontSize) => ({
2589
2693
  baseAndSmall: {
2590
- fontSize: `${baseAndSmallFontSize}px`,
2591
- lineHeight: `${calcLineHeight(baseAndSmallFontSize, lineHeightMultiplier)}px`
2694
+ fontSize: baseAndSmallFontSize,
2695
+ lineHeight: calcLineHeight(baseAndSmallFontSize, lineHeightMultiplier)
2592
2696
  },
2593
2697
  mediumAndWide: {
2594
- fontSize: `${mediumAndWideFontSize}px`,
2595
- lineHeight: `${calcLineHeight(mediumAndWideFontSize, lineHeightMultiplier)}px`
2698
+ fontSize: mediumAndWideFontSize,
2699
+ lineHeight: calcLineHeight(mediumAndWideFontSize, lineHeightMultiplier)
2596
2700
  }
2597
2701
  });
2598
- const typographyLateOceanTheme = {
2702
+ const typography = {
2599
2703
  colors: {
2600
2704
  black: lateOceanColorPalette.black1000,
2705
+ 'black-anthracite': lateOceanColorPalette.black800,
2601
2706
  'black-light': lateOceanColorPalette.black555,
2602
2707
  white: lateOceanColorPalette.white,
2603
2708
  'white-light': lateOceanColorPalette.white,
@@ -2657,17 +2762,17 @@ const typographyLateOceanTheme = {
2657
2762
 
2658
2763
  const inputStatesStyle = {
2659
2764
  default: {
2660
- backgroundColor: colorsLateOceanTheme.uiBackgroundLight,
2661
- borderColor: colorsLateOceanTheme.separator,
2765
+ backgroundColor: colors.uiBackgroundLight,
2766
+ borderColor: colors.separator,
2662
2767
  color: 'black'
2663
2768
  },
2664
2769
  pending: {
2665
- backgroundColor: colorsLateOceanTheme.uiBackgroundLight,
2666
- borderColor: colorsLateOceanTheme.separator,
2770
+ backgroundColor: colors.uiBackgroundLight,
2771
+ borderColor: colors.separator,
2667
2772
  color: 'black'
2668
2773
  },
2669
2774
  valid: {
2670
- backgroundColor: colorsLateOceanTheme.uiBackgroundLight,
2775
+ backgroundColor: colors.uiBackgroundLight,
2671
2776
  borderColor: lateOceanColorPalette.black100,
2672
2777
  color: 'black'
2673
2778
  },
@@ -2676,56 +2781,61 @@ const inputStatesStyle = {
2676
2781
  color: 'black'
2677
2782
  },
2678
2783
  focus: {
2679
- borderColor: colorsLateOceanTheme.primary,
2784
+ borderColor: colors.primary,
2680
2785
  color: 'black'
2681
2786
  },
2682
2787
  disabled: {
2683
- backgroundColor: colorsLateOceanTheme.disabled,
2684
- borderColor: colorsLateOceanTheme.separator,
2788
+ backgroundColor: colors.disabled,
2789
+ borderColor: colors.separator,
2685
2790
  color: 'black-light'
2686
2791
  },
2687
2792
  invalid: {
2688
- borderColor: colorsLateOceanTheme.danger,
2793
+ borderColor: colors.separator,
2689
2794
  color: 'black'
2690
2795
  }
2691
2796
  };
2692
2797
  const input = {
2693
2798
  color: {
2694
- selection: colorsLateOceanTheme.primary,
2695
- placeholder: typographyLateOceanTheme.colors['black-light']
2799
+ selection: colors.primary,
2800
+ placeholder: typography.colors['black-light']
2696
2801
  },
2697
- borderWidth: '2px',
2698
- borderRadius: '10px',
2802
+ borderWidth: 2,
2803
+ borderRadius: 10,
2699
2804
  icon: {
2700
2805
  size: 20
2701
2806
  },
2702
2807
  padding: {
2703
- default: '7px 16px',
2704
- iOSSingleLine: '12px 16px'
2808
+ default: '5px 16px',
2809
+ iOSSingleLine: '9px 16px'
2810
+ },
2811
+ transition: {
2812
+ property: 'border-color',
2813
+ duration: '200ms',
2814
+ timingFunction: 'ease-in-out'
2705
2815
  },
2706
2816
  states: inputStatesStyle
2707
2817
  };
2708
2818
 
2709
- const inputFieldLateOceanTheme = {
2819
+ const inputField = {
2710
2820
  labelContainerPaddingBottom: 5,
2711
2821
  iconMarginLeft: 6
2712
2822
  };
2713
2823
 
2714
- const radioLateOceanTheme = {
2824
+ const radio = {
2715
2825
  size: 18,
2716
2826
  unchecked: {
2717
- backgroundColor: lateOceanColorPalette.white,
2718
- borderWidth: '2px',
2827
+ backgroundColor: colors.uiBackgroundLight,
2828
+ borderWidth: 2,
2719
2829
  borderColor: lateOceanColorPalette.black200
2720
2830
  },
2721
2831
  checked: {
2722
- backgroundColor: lateOceanColorPalette.lateOcean,
2832
+ backgroundColor: colors.primary,
2723
2833
  innerSize: 5,
2724
- innerBackgroundColor: lateOceanColorPalette.white
2834
+ innerBackgroundColor: colors.uiBackgroundLight
2725
2835
  },
2726
2836
  disabled: {
2727
- backgroundColor: lateOceanColorPalette.black50,
2728
- borderColor: lateOceanColorPalette.black100
2837
+ backgroundColor: colors.disabled,
2838
+ borderColor: colors.separator
2729
2839
  }
2730
2840
  };
2731
2841
 
@@ -2735,12 +2845,12 @@ const textArea = {
2735
2845
 
2736
2846
  const forms = {
2737
2847
  input,
2738
- radio: radioLateOceanTheme,
2739
- inputField: inputFieldLateOceanTheme,
2848
+ radio,
2849
+ inputField,
2740
2850
  textArea
2741
2851
  };
2742
2852
 
2743
- const fullScreenModalLateOceanTheme = {
2853
+ const fullScreenModal = {
2744
2854
  header: {
2745
2855
  paddingVertical: 12,
2746
2856
  paddingHorizontal: 16,
@@ -2772,77 +2882,77 @@ const iconButton = {
2772
2882
  },
2773
2883
  disabled: {
2774
2884
  scale: 1,
2775
- backgroundColor: buttonLateOceanTheme.disabled.backgroundColor,
2776
- borderColor: buttonLateOceanTheme.disabled.borderColor
2885
+ backgroundColor: button.disabled.backgroundColor,
2886
+ borderColor: button.disabled.borderColor
2777
2887
  },
2778
2888
  default: {
2779
- pressedBackgroundColor: buttonLateOceanTheme.default.pressedBackgroundColor
2889
+ pressedBackgroundColor: button.default.pressedBackgroundColor
2780
2890
  },
2781
2891
  white: {
2782
- pressedBackgroundColor: buttonLateOceanTheme.white.hoverBackgroundColor
2892
+ pressedBackgroundColor: button.white.hoverBackgroundColor
2783
2893
  }
2784
2894
  };
2785
2895
 
2786
- const listItemLateOceanTheme = {
2896
+ const listItem = {
2787
2897
  padding: '12px 16px',
2788
- borderColor: colorsLateOceanTheme.separator,
2789
- borderWidth: '1px',
2790
- innerMargin: '8px'
2898
+ borderColor: colors.separator,
2899
+ borderWidth: 1,
2900
+ innerMargin: 8
2791
2901
  };
2792
2902
 
2793
- const shadowsLateOceanTheme = {
2903
+ const shadows = {
2794
2904
  medium: '0px 10px 20px rgba(41, 48, 51, 0.25)'
2795
2905
  };
2796
2906
 
2797
- const skeletonTheme = {
2907
+ const skeleton = {
2798
2908
  backgroundColor: lateOceanColorPalette.black100,
2799
2909
  flareColor: lateOceanColorPalette.black200,
2800
2910
  animationDuration: 1000
2801
2911
  };
2802
2912
 
2803
- const tagLateOceanTheme = {
2804
- borderRadius: '10px',
2913
+ const tag = {
2914
+ borderRadius: 10,
2805
2915
  padding: '2px 12px',
2806
2916
  primary: {
2807
2917
  fill: {
2808
2918
  backgroundColor: lateOceanColorPalette.moonPurpleLight1,
2809
- borderWidth: '0',
2810
- borderColor: lateOceanColorPalette.transparent
2919
+ borderWidth: 0,
2920
+ borderColor: colors.transparent
2811
2921
  },
2812
2922
  outline: {
2813
- backgroundColor: lateOceanColorPalette.transparent,
2814
- borderWidth: '1px',
2815
- borderColor: lateOceanColorPalette.lateOcean
2923
+ backgroundColor: colors.transparent,
2924
+ borderWidth: 1,
2925
+ borderColor: colors.primary
2816
2926
  }
2817
2927
  },
2818
2928
  default: {
2819
2929
  fill: {
2820
2930
  backgroundColor: lateOceanColorPalette.black50,
2821
- borderWidth: '0',
2822
- borderColor: lateOceanColorPalette.transparent
2931
+ borderWidth: 0,
2932
+ borderColor: colors.transparent
2823
2933
  },
2824
2934
  outline: {
2825
- backgroundColor: lateOceanColorPalette.transparent,
2826
- borderWidth: '1px',
2827
- borderColor: lateOceanColorPalette.black1000
2935
+ backgroundColor: colors.transparent,
2936
+ borderWidth: 1,
2937
+ borderColor: colors.black
2828
2938
  }
2829
2939
  },
2830
2940
  danger: {
2831
2941
  fill: {
2832
2942
  backgroundColor: lateOceanColorPalette.warmEmbrace,
2833
- borderWidth: '0',
2834
- borderColor: lateOceanColorPalette.transparent
2943
+ borderWidth: 0,
2944
+ borderColor: colors.transparent
2835
2945
  },
2836
2946
  outline: {
2837
- backgroundColor: lateOceanColorPalette.transparent,
2838
- borderWidth: '1px',
2839
- borderColor: colorsLateOceanTheme.danger
2947
+ backgroundColor: colors.transparent,
2948
+ borderWidth: 1,
2949
+ borderColor: colors.danger
2840
2950
  }
2841
2951
  }
2842
2952
  };
2843
2953
 
2844
2954
  const tooltip = {
2845
- backgroundColor: colorsLateOceanTheme.black,
2955
+ backgroundColor: colors.black,
2846
2956
  borderRadius: 10,
2847
2957
  opacity: 0.95,
2848
2958
  horizontalPadding: 16,
@@ -2875,23 +2985,23 @@ const breakpoints = {
2875
2985
 
2876
2986
  const theme = {
2877
2987
  spacing: 4,
2878
- colors: colorsLateOceanTheme,
2988
+ colors,
2879
2989
  palettes: {
2880
2990
  lateOcean: lateOceanColorPalette
2881
2991
  },
2882
2992
  avatar,
2883
- button: buttonLateOceanTheme,
2884
- card: cardLateOceanTheme,
2885
- feedbackMessage: feedbackMessageLateOceanTheme,
2993
+ button,
2994
+ card,
2995
+ feedbackMessage,
2886
2996
  forms,
2887
- typography: typographyLateOceanTheme,
2888
- tag: tagLateOceanTheme,
2889
- shadows: shadowsLateOceanTheme,
2890
- fullScreenModal: fullScreenModalLateOceanTheme,
2997
+ typography,
2998
+ tag,
2999
+ shadows,
3000
+ fullScreenModal,
2891
3001
  iconButton,
2892
- listItem: listItemLateOceanTheme,
3002
+ listItem,
2893
3003
  tooltip,
2894
- skeleton: skeletonTheme,
3004
+ skeleton,
2895
3005
  breakpoints
2896
3006
  };
2897
3007
 
@@ -2902,24 +3012,6 @@ function TimePicker() {
2902
3012
  });
2903
3013
  }
2904
3014
 
2905
- var Arrow = function (props) {
2906
- return /*#__PURE__*/jsxRuntime.jsx("svg", { ...props,
2907
- children: /*#__PURE__*/jsxRuntime.jsx("path", {
2908
- fillRule: "evenodd",
2909
- clipRule: "evenodd",
2910
- d: "M22.399 6.128C20.939 7.722 19.767 9 18 9s-2.938-1.278-4.399-2.872C11.187 3.494 7.984 0 0 0h36c-7.984 0-11.187 3.494-13.601 6.128z",
2911
- fill: "currentColor"
2912
- })
2913
- });
2914
- };
2915
-
2916
- Arrow.defaultProps = {
2917
- width: "36",
2918
- height: "8",
2919
- viewBox: "0 0 36 9",
2920
- fill: "none",
2921
- xmlns: "http://www.w3.org/2000/svg"
2922
- };
2923
3015
  const StyledTooltipView = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
2924
3016
  displayName: "TooltipView__StyledTooltipView",
2925
3017
  componentId: "kitt-universal__sc-156zm6m-0"
@@ -2940,7 +3032,7 @@ const StyledTooltipContent = /*#__PURE__*/styled__default(BabelPluginStyledCompo
2940
3032
  function ArrowView(props) {
2941
3033
  const theme = /*#__PURE__*/styled.useTheme();
2942
3034
  return /*#__PURE__*/jsxRuntime.jsx(BabelPluginStyledComponentsReactNative.View, { ...props,
2943
- children: /*#__PURE__*/jsxRuntime.jsx(Arrow, {
3035
+ children: /*#__PURE__*/jsxRuntime.jsx(kittIcons.TooltipArrowIcon, {
2944
3036
  color: theme.kitt.tooltip.backgroundColor
2945
3037
  })
2946
3038
  });
@@ -3123,13 +3215,8 @@ function TypographyEmoji({
3123
3215
  const {
3124
3216
  fontSize
3125
3217
  } = typeConfig[typeConfigKey];
3126
-
3127
- if ((process.env.NODE_ENV !== "production")) {
3128
- if (!fontSize.endsWith('px')) throw new Error(`Unexpected font-size value: ${fontSize}`);
3129
- }
3130
-
3131
3218
  return /*#__PURE__*/jsxRuntime.jsx(StyledTypographyEmoji, {
3132
- size: parseInt(fontSize.slice(0, -2), 10),
3219
+ size: fontSize,
3133
3220
  emoji: emoji
3134
3221
  });
3135
3222
  }
@@ -3288,9 +3375,7 @@ function MatchWindowSize({
3288
3375
  }) {
3289
3376
  const match = useMatchWindowSize(matchWindowSizeOptions);
3290
3377
  if (!match) return null;
3291
- return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
3292
- children: children
3293
- });
3378
+ return children;
3294
3379
  }
3295
3380
 
3296
3381
  exports.useWindowSize = BabelPluginStyledComponentsReactNative.useWindowDimensions;
@@ -3303,6 +3388,7 @@ exports.Flex = Flex;
3303
3388
  exports.FullScreenModal = FullScreenModal;
3304
3389
  exports.Icon = Icon;
3305
3390
  exports.IconButton = IconButton;
3391
+ exports.InputEmail = InputEmail;
3306
3392
  exports.InputFeedback = InputFeedback;
3307
3393
  exports.InputField = InputField;
3308
3394
  exports.InputIcon = InputIcon;