@ornikar/kitt-universal 4.1.0 → 4.3.1

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 (92) hide show
  1. package/dist/definitions/ListItem/ListItem.d.ts.map +1 -1
  2. package/dist/definitions/Tooltip/Tooltip.d.ts.map +1 -1
  3. package/dist/definitions/forms/InputEmail/InputEmail.d.ts +7 -0
  4. package/dist/definitions/forms/InputEmail/InputEmail.d.ts.map +1 -0
  5. package/dist/definitions/forms/InputText/InputText.d.ts.map +1 -1
  6. package/dist/definitions/forms/InputText/InputTextContainer.d.ts +8 -0
  7. package/dist/definitions/forms/InputText/InputTextContainer.d.ts.map +1 -0
  8. package/dist/definitions/forms/InputText/InputTextContainer.web.d.ts +11 -0
  9. package/dist/definitions/forms/InputText/InputTextContainer.web.d.ts.map +1 -0
  10. package/dist/definitions/index.d.ts +2 -0
  11. package/dist/definitions/index.d.ts.map +1 -1
  12. package/dist/definitions/themes/default.d.ts +19 -93
  13. package/dist/definitions/themes/default.d.ts.map +1 -1
  14. package/dist/definitions/themes/late-ocean/{avatarLateOceanTheme.d.ts → avatar.d.ts} +2 -2
  15. package/dist/definitions/themes/late-ocean/avatar.d.ts.map +1 -0
  16. package/dist/definitions/themes/late-ocean/button.d.ts +6 -6
  17. package/dist/definitions/themes/late-ocean/card.d.ts +13 -0
  18. package/dist/definitions/themes/late-ocean/card.d.ts.map +1 -0
  19. package/dist/definitions/themes/late-ocean/{colorsLateOceanTheme.d.ts → colors.d.ts} +2 -2
  20. package/dist/definitions/themes/late-ocean/colors.d.ts.map +1 -0
  21. package/dist/definitions/themes/late-ocean/{feedbackMessage.d.ts → feedback.d.ts} +1 -1
  22. package/dist/definitions/themes/late-ocean/feedback.d.ts.map +1 -0
  23. package/dist/definitions/themes/late-ocean/forms.d.ts +1 -17
  24. package/dist/definitions/themes/late-ocean/forms.d.ts.map +1 -1
  25. package/dist/definitions/themes/late-ocean/{fullScreenModalLateOceanTheme.d.ts → fullScreenModal.d.ts} +2 -2
  26. package/dist/definitions/themes/late-ocean/fullScreenModal.d.ts.map +1 -0
  27. package/dist/definitions/themes/late-ocean/input.d.ts +9 -4
  28. package/dist/definitions/themes/late-ocean/input.d.ts.map +1 -1
  29. package/dist/definitions/themes/late-ocean/inputField.d.ts +5 -0
  30. package/dist/definitions/themes/late-ocean/inputField.d.ts.map +1 -0
  31. package/dist/definitions/themes/late-ocean/listItem.d.ts +8 -0
  32. package/dist/definitions/themes/late-ocean/listItem.d.ts.map +1 -0
  33. package/dist/definitions/themes/late-ocean/{radioLateOceanTheme.d.ts → radio.d.ts} +6 -5
  34. package/dist/definitions/themes/late-ocean/radio.d.ts.map +1 -0
  35. package/dist/definitions/themes/late-ocean/shadows.d.ts +4 -0
  36. package/dist/definitions/themes/late-ocean/shadows.d.ts.map +1 -0
  37. package/dist/definitions/themes/late-ocean/{skeletonTheme.d.ts → skeleton.d.ts} +2 -2
  38. package/dist/definitions/themes/late-ocean/skeleton.d.ts.map +1 -0
  39. package/dist/definitions/themes/late-ocean/tag.d.ts +18 -0
  40. package/dist/definitions/themes/late-ocean/tag.d.ts.map +1 -0
  41. package/dist/definitions/themes/late-ocean/{typographyLateOceanTheme.d.ts → typography.d.ts} +5 -4
  42. package/dist/definitions/themes/late-ocean/typography.d.ts.map +1 -0
  43. package/dist/definitions/themes/palettes/lateOceanColorPalette.d.ts +1 -0
  44. package/dist/definitions/themes/palettes/lateOceanColorPalette.d.ts.map +1 -1
  45. package/dist/definitions/typography/Typography.d.ts +2 -2
  46. package/dist/definitions/typography/Typography.d.ts.map +1 -1
  47. package/dist/definitions/typography/TypographyEmoji.d.ts.map +1 -1
  48. package/dist/index-browser-all.es.android.js +274 -262
  49. package/dist/index-browser-all.es.android.js.map +1 -1
  50. package/dist/index-browser-all.es.ios.js +274 -262
  51. package/dist/index-browser-all.es.ios.js.map +1 -1
  52. package/dist/index-browser-all.es.js +274 -262
  53. package/dist/index-browser-all.es.js.map +1 -1
  54. package/dist/index-browser-all.es.web.js +313 -275
  55. package/dist/index-browser-all.es.web.js.map +1 -1
  56. package/dist/index-node-14.17.cjs.js +248 -237
  57. package/dist/index-node-14.17.cjs.js.map +1 -1
  58. package/dist/index-node-14.17.cjs.web.css +1 -0
  59. package/dist/index-node-14.17.cjs.web.js +279 -239
  60. package/dist/index-node-14.17.cjs.web.js.map +1 -1
  61. package/dist/linaria-themes-browser-all.es.android.js +105 -99
  62. package/dist/linaria-themes-browser-all.es.android.js.map +1 -1
  63. package/dist/linaria-themes-browser-all.es.ios.js +105 -99
  64. package/dist/linaria-themes-browser-all.es.ios.js.map +1 -1
  65. package/dist/linaria-themes-browser-all.es.js +105 -99
  66. package/dist/linaria-themes-browser-all.es.js.map +1 -1
  67. package/dist/linaria-themes-browser-all.es.web.js +105 -99
  68. package/dist/linaria-themes-browser-all.es.web.js.map +1 -1
  69. package/dist/linaria-themes-node-14.17.cjs.js +105 -99
  70. package/dist/linaria-themes-node-14.17.cjs.js.map +1 -1
  71. package/dist/linaria-themes-node-14.17.cjs.web.js +105 -99
  72. package/dist/linaria-themes-node-14.17.cjs.web.js.map +1 -1
  73. package/dist/styles.css +1 -0
  74. package/dist/tsbuildinfo +1 -1
  75. package/package.json +3 -3
  76. package/dist/definitions/themes/late-ocean/avatarLateOceanTheme.d.ts.map +0 -1
  77. package/dist/definitions/themes/late-ocean/cardLateOceanTheme.d.ts +0 -18
  78. package/dist/definitions/themes/late-ocean/cardLateOceanTheme.d.ts.map +0 -1
  79. package/dist/definitions/themes/late-ocean/colorsLateOceanTheme.d.ts.map +0 -1
  80. package/dist/definitions/themes/late-ocean/feedbackMessage.d.ts.map +0 -1
  81. package/dist/definitions/themes/late-ocean/fullScreenModalLateOceanTheme.d.ts.map +0 -1
  82. package/dist/definitions/themes/late-ocean/inputFieldLateOceanTheme.d.ts +0 -5
  83. package/dist/definitions/themes/late-ocean/inputFieldLateOceanTheme.d.ts.map +0 -1
  84. package/dist/definitions/themes/late-ocean/listItemLateOceanTheme.d.ts +0 -7
  85. package/dist/definitions/themes/late-ocean/listItemLateOceanTheme.d.ts.map +0 -1
  86. package/dist/definitions/themes/late-ocean/radioLateOceanTheme.d.ts.map +0 -1
  87. package/dist/definitions/themes/late-ocean/shadowsLateOceanTheme.d.ts +0 -4
  88. package/dist/definitions/themes/late-ocean/shadowsLateOceanTheme.d.ts.map +0 -1
  89. package/dist/definitions/themes/late-ocean/skeletonTheme.d.ts.map +0 -1
  90. package/dist/definitions/themes/late-ocean/tagLateOceanTheme.d.ts +0 -41
  91. package/dist/definitions/themes/late-ocean/tagLateOceanTheme.d.ts.map +0 -1
  92. package/dist/definitions/themes/late-ocean/typographyLateOceanTheme.d.ts.map +0 -1
@@ -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
@@ -780,12 +780,12 @@ const Button = /*#__PURE__*/react.forwardRef(({
780
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
@@ -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, ({
@@ -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';
@@ -1946,11 +1986,11 @@ const ModalView = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactN
1946
1986
  const ContentView = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
1947
1987
  displayName: "Modal__ContentView",
1948
1988
  componentId: "kitt-universal__sc-1xy2w5u-1"
1949
- })(["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:", ";"], ({
1950
1990
  theme
1951
1991
  }) => theme.kitt.card.borderRadius, ({
1952
1992
  theme
1953
- }) => theme.kitt.palettes.lateOcean.white);
1993
+ }) => theme.kitt.colors.uiBackgroundLight);
1954
1994
  function Modal({
1955
1995
  visible,
1956
1996
  children,
@@ -2429,7 +2469,7 @@ const StoryGrid = {
2429
2469
  const Container = /*#__PURE__*/styled__default(BabelPluginStyledComponentsReactNative.View).withConfig({
2430
2470
  displayName: "Tag__Container",
2431
2471
  componentId: "kitt-universal__sc-19jmowi-0"
2432
- })(["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;"], ({
2433
2473
  theme,
2434
2474
  type,
2435
2475
  variant
@@ -2493,6 +2533,7 @@ const lateOceanColorPalette = {
2493
2533
  warmEmbrace: '#F4D3CE',
2494
2534
  warmEmbraceLight1: '#FFEDE6',
2495
2535
  black1000: '#000000',
2536
+ black800: '#2C293D',
2496
2537
  black555: '#737373',
2497
2538
  black200: '#CCCCCC',
2498
2539
  black100: '#E5E5E5',
@@ -2508,7 +2549,7 @@ const lateOceanColorPalette = {
2508
2549
  moonPurpleLight1: '#EDEBFC'
2509
2550
  };
2510
2551
 
2511
- const colorsLateOceanTheme = {
2552
+ const colors = {
2512
2553
  primary: lateOceanColorPalette.lateOcean,
2513
2554
  primaryLight: lateOceanColorPalette.lateOceanLight1,
2514
2555
  accent: lateOceanColorPalette.warmEmbrace,
@@ -2533,9 +2574,9 @@ const colorsLateOceanTheme = {
2533
2574
  };
2534
2575
 
2535
2576
  const avatar = {
2536
- borderRadius: '10px',
2577
+ borderRadius: 10,
2537
2578
  default: {
2538
- backgroundColor: colorsLateOceanTheme.primary
2579
+ backgroundColor: colors.primary
2539
2580
  },
2540
2581
  light: {
2541
2582
  backgroundColor: lateOceanColorPalette.black100
@@ -2543,14 +2584,14 @@ const avatar = {
2543
2584
  };
2544
2585
 
2545
2586
  const button = {
2546
- borderRadius: '30px',
2587
+ borderRadius: 30,
2547
2588
  borderWidth: {
2548
- disabled: '2px',
2549
- focus: '3px'
2589
+ disabled: 2,
2590
+ focus: 3
2550
2591
  },
2551
- minHeight: '40px',
2552
- minWidth: '40px',
2553
- maxWidth: '335px',
2592
+ minHeight: 40,
2593
+ minWidth: 40,
2594
+ maxWidth: 335,
2554
2595
  scale: {
2555
2596
  base: {
2556
2597
  default: 1,
@@ -2577,9 +2618,9 @@ const button = {
2577
2618
  focusBorderColor: 'rgba(0, 0, 0, 0.1)'
2578
2619
  },
2579
2620
  primary: {
2580
- backgroundColor: colorsLateOceanTheme.primary,
2581
- pressedBackgroundColor: colorsLateOceanTheme.primaryLight,
2582
- hoverBackgroundColor: colorsLateOceanTheme.primaryLight,
2621
+ backgroundColor: colors.primary,
2622
+ pressedBackgroundColor: colors.primaryLight,
2623
+ hoverBackgroundColor: colors.primaryLight,
2583
2624
  focusBorderColor: 'rgba(76, 52, 224, 0.2)'
2584
2625
  },
2585
2626
  white: {
@@ -2589,79 +2630,79 @@ const button = {
2589
2630
  focusBorderColor: 'rgba(255, 255, 255, 0.1)'
2590
2631
  },
2591
2632
  subtle: {
2592
- backgroundColor: colorsLateOceanTheme.transparent,
2593
- pressedBackgroundColor: colorsLateOceanTheme.transparent,
2594
- hoverBackgroundColor: colorsLateOceanTheme.transparent,
2633
+ backgroundColor: colors.transparent,
2634
+ pressedBackgroundColor: colors.transparent,
2635
+ hoverBackgroundColor: colors.transparent,
2595
2636
  focusBorderColor: 'rgba(76, 52, 224, 0.2)',
2596
- color: colorsLateOceanTheme.primary,
2637
+ color: colors.primary,
2597
2638
  hoverColor: 'rgba(76, 52, 224, 0.8)',
2598
2639
  activeColor: 'rgba(76, 52, 224, 0.8)'
2599
2640
  },
2600
2641
  'subtle-dark': {
2601
- backgroundColor: colorsLateOceanTheme.transparent,
2602
- pressedBackgroundColor: colorsLateOceanTheme.transparent,
2603
- hoverBackgroundColor: colorsLateOceanTheme.transparent,
2642
+ backgroundColor: colors.transparent,
2643
+ pressedBackgroundColor: colors.transparent,
2644
+ hoverBackgroundColor: colors.transparent,
2604
2645
  focusBorderColor: 'rgba(0, 0, 0, 0.1)',
2605
- color: colorsLateOceanTheme.black,
2646
+ color: colors.black,
2606
2647
  hoverColor: 'rgba(0, 0, 0, 0.8)',
2607
2648
  activeColor: 'rgba(0, 0, 0, 0.8)'
2608
2649
  },
2609
2650
  disabled: {
2610
- backgroundColor: colorsLateOceanTheme.disabled,
2611
- pressedBackgroundColor: colorsLateOceanTheme.disabled,
2612
- hoverBackgroundColor: colorsLateOceanTheme.disabled,
2651
+ backgroundColor: colors.disabled,
2652
+ pressedBackgroundColor: colors.disabled,
2653
+ hoverBackgroundColor: colors.disabled,
2613
2654
  focusBorderColor: lateOceanColorPalette.black100,
2614
2655
  borderColor: lateOceanColorPalette.black100
2615
2656
  }
2616
2657
  };
2617
2658
 
2618
- const cardLateOceanTheme = {
2619
- borderRadius: '20px',
2620
- borderWidth: '2px',
2621
- padding: '16px',
2659
+ const card = {
2660
+ borderRadius: 20,
2661
+ borderWidth: 2,
2622
2662
  primary: {
2623
- backgroundColor: lateOceanColorPalette.white,
2624
- borderColor: lateOceanColorPalette.lateOcean
2663
+ backgroundColor: colors.uiBackgroundLight,
2664
+ borderColor: colors.primary
2625
2665
  },
2626
2666
  secondary: {
2627
- backgroundColor: lateOceanColorPalette.white,
2628
- borderColor: lateOceanColorPalette.black100
2667
+ backgroundColor: colors.uiBackgroundLight,
2668
+ borderColor: colors.separator
2629
2669
  },
2630
2670
  subtle: {
2631
2671
  backgroundColor: lateOceanColorPalette.black50,
2632
- borderColor: lateOceanColorPalette.black100
2672
+ borderColor: colors.separator
2633
2673
  }
2634
2674
  };
2635
2675
 
2636
2676
  const feedbackMessage = {
2637
2677
  danger: {
2638
- backgroundColor: colorsLateOceanTheme.danger
2678
+ backgroundColor: colors.danger
2639
2679
  },
2640
2680
  success: {
2641
- backgroundColor: colorsLateOceanTheme.success
2681
+ backgroundColor: colors.success
2642
2682
  },
2643
2683
  info: {
2644
- backgroundColor: colorsLateOceanTheme.info
2684
+ backgroundColor: colors.info
2645
2685
  },
2646
2686
  warning: {
2647
- backgroundColor: colorsLateOceanTheme.warning
2687
+ backgroundColor: colors.warning
2648
2688
  }
2649
2689
  };
2650
2690
 
2651
2691
  const calcLineHeight = (fontSize, lineHeightMultiplier) => Math.round(fontSize * lineHeightMultiplier);
2652
2692
  const createTypographyTypeConfig = (lineHeightMultiplier, baseAndSmallFontSize, mediumAndWideFontSize) => ({
2653
2693
  baseAndSmall: {
2654
- fontSize: `${baseAndSmallFontSize}px`,
2655
- lineHeight: `${calcLineHeight(baseAndSmallFontSize, lineHeightMultiplier)}px`
2694
+ fontSize: baseAndSmallFontSize,
2695
+ lineHeight: calcLineHeight(baseAndSmallFontSize, lineHeightMultiplier)
2656
2696
  },
2657
2697
  mediumAndWide: {
2658
- fontSize: `${mediumAndWideFontSize}px`,
2659
- lineHeight: `${calcLineHeight(mediumAndWideFontSize, lineHeightMultiplier)}px`
2698
+ fontSize: mediumAndWideFontSize,
2699
+ lineHeight: calcLineHeight(mediumAndWideFontSize, lineHeightMultiplier)
2660
2700
  }
2661
2701
  });
2662
- const typographyLateOceanTheme = {
2702
+ const typography = {
2663
2703
  colors: {
2664
2704
  black: lateOceanColorPalette.black1000,
2705
+ 'black-anthracite': lateOceanColorPalette.black800,
2665
2706
  'black-light': lateOceanColorPalette.black555,
2666
2707
  white: lateOceanColorPalette.white,
2667
2708
  'white-light': lateOceanColorPalette.white,
@@ -2721,17 +2762,17 @@ const typographyLateOceanTheme = {
2721
2762
 
2722
2763
  const inputStatesStyle = {
2723
2764
  default: {
2724
- backgroundColor: colorsLateOceanTheme.uiBackgroundLight,
2725
- borderColor: colorsLateOceanTheme.separator,
2765
+ backgroundColor: colors.uiBackgroundLight,
2766
+ borderColor: colors.separator,
2726
2767
  color: 'black'
2727
2768
  },
2728
2769
  pending: {
2729
- backgroundColor: colorsLateOceanTheme.uiBackgroundLight,
2730
- borderColor: colorsLateOceanTheme.separator,
2770
+ backgroundColor: colors.uiBackgroundLight,
2771
+ borderColor: colors.separator,
2731
2772
  color: 'black'
2732
2773
  },
2733
2774
  valid: {
2734
- backgroundColor: colorsLateOceanTheme.uiBackgroundLight,
2775
+ backgroundColor: colors.uiBackgroundLight,
2735
2776
  borderColor: lateOceanColorPalette.black100,
2736
2777
  color: 'black'
2737
2778
  },
@@ -2740,56 +2781,61 @@ const inputStatesStyle = {
2740
2781
  color: 'black'
2741
2782
  },
2742
2783
  focus: {
2743
- borderColor: colorsLateOceanTheme.primary,
2784
+ borderColor: colors.primary,
2744
2785
  color: 'black'
2745
2786
  },
2746
2787
  disabled: {
2747
- backgroundColor: colorsLateOceanTheme.disabled,
2748
- borderColor: colorsLateOceanTheme.separator,
2788
+ backgroundColor: colors.disabled,
2789
+ borderColor: colors.separator,
2749
2790
  color: 'black-light'
2750
2791
  },
2751
2792
  invalid: {
2752
- borderColor: colorsLateOceanTheme.danger,
2793
+ borderColor: colors.separator,
2753
2794
  color: 'black'
2754
2795
  }
2755
2796
  };
2756
2797
  const input = {
2757
2798
  color: {
2758
- selection: colorsLateOceanTheme.primary,
2759
- placeholder: typographyLateOceanTheme.colors['black-light']
2799
+ selection: colors.primary,
2800
+ placeholder: typography.colors['black-light']
2760
2801
  },
2761
- borderWidth: '2px',
2762
- borderRadius: '10px',
2802
+ borderWidth: 2,
2803
+ borderRadius: 10,
2763
2804
  icon: {
2764
2805
  size: 20
2765
2806
  },
2766
2807
  padding: {
2767
- default: '7px 16px',
2768
- iOSSingleLine: '12px 16px'
2808
+ default: '5px 16px',
2809
+ iOSSingleLine: '7px 16px'
2810
+ },
2811
+ transition: {
2812
+ property: 'border-color',
2813
+ duration: '200ms',
2814
+ timingFunction: 'ease-in-out'
2769
2815
  },
2770
2816
  states: inputStatesStyle
2771
2817
  };
2772
2818
 
2773
- const inputFieldLateOceanTheme = {
2819
+ const inputField = {
2774
2820
  labelContainerPaddingBottom: 5,
2775
2821
  iconMarginLeft: 6
2776
2822
  };
2777
2823
 
2778
- const radioLateOceanTheme = {
2824
+ const radio = {
2779
2825
  size: 18,
2780
2826
  unchecked: {
2781
- backgroundColor: lateOceanColorPalette.white,
2782
- borderWidth: '2px',
2827
+ backgroundColor: colors.uiBackgroundLight,
2828
+ borderWidth: 2,
2783
2829
  borderColor: lateOceanColorPalette.black200
2784
2830
  },
2785
2831
  checked: {
2786
- backgroundColor: lateOceanColorPalette.lateOcean,
2832
+ backgroundColor: colors.primary,
2787
2833
  innerSize: 5,
2788
- innerBackgroundColor: lateOceanColorPalette.white
2834
+ innerBackgroundColor: colors.uiBackgroundLight
2789
2835
  },
2790
2836
  disabled: {
2791
- backgroundColor: lateOceanColorPalette.black50,
2792
- borderColor: lateOceanColorPalette.black100
2837
+ backgroundColor: colors.disabled,
2838
+ borderColor: colors.separator
2793
2839
  }
2794
2840
  };
2795
2841
 
@@ -2799,12 +2845,12 @@ const textArea = {
2799
2845
 
2800
2846
  const forms = {
2801
2847
  input,
2802
- radio: radioLateOceanTheme,
2803
- inputField: inputFieldLateOceanTheme,
2848
+ radio,
2849
+ inputField,
2804
2850
  textArea
2805
2851
  };
2806
2852
 
2807
- const fullScreenModalLateOceanTheme = {
2853
+ const fullScreenModal = {
2808
2854
  header: {
2809
2855
  paddingVertical: 12,
2810
2856
  paddingHorizontal: 16,
@@ -2847,66 +2893,66 @@ const iconButton = {
2847
2893
  }
2848
2894
  };
2849
2895
 
2850
- const listItemLateOceanTheme = {
2896
+ const listItem = {
2851
2897
  padding: '12px 16px',
2852
- borderColor: colorsLateOceanTheme.separator,
2853
- borderWidth: '1px',
2854
- innerMargin: '8px'
2898
+ borderColor: colors.separator,
2899
+ borderWidth: 1,
2900
+ innerMargin: 8
2855
2901
  };
2856
2902
 
2857
- const shadowsLateOceanTheme = {
2903
+ const shadows = {
2858
2904
  medium: '0px 10px 20px rgba(41, 48, 51, 0.25)'
2859
2905
  };
2860
2906
 
2861
- const skeletonTheme = {
2907
+ const skeleton = {
2862
2908
  backgroundColor: lateOceanColorPalette.black100,
2863
2909
  flareColor: lateOceanColorPalette.black200,
2864
2910
  animationDuration: 1000
2865
2911
  };
2866
2912
 
2867
- const tagLateOceanTheme = {
2868
- borderRadius: '10px',
2913
+ const tag = {
2914
+ borderRadius: 10,
2869
2915
  padding: '2px 12px',
2870
2916
  primary: {
2871
2917
  fill: {
2872
2918
  backgroundColor: lateOceanColorPalette.moonPurpleLight1,
2873
- borderWidth: '0',
2874
- borderColor: lateOceanColorPalette.transparent
2919
+ borderWidth: 0,
2920
+ borderColor: colors.transparent
2875
2921
  },
2876
2922
  outline: {
2877
- backgroundColor: lateOceanColorPalette.transparent,
2878
- borderWidth: '1px',
2879
- borderColor: lateOceanColorPalette.lateOcean
2923
+ backgroundColor: colors.transparent,
2924
+ borderWidth: 1,
2925
+ borderColor: colors.primary
2880
2926
  }
2881
2927
  },
2882
2928
  default: {
2883
2929
  fill: {
2884
2930
  backgroundColor: lateOceanColorPalette.black50,
2885
- borderWidth: '0',
2886
- borderColor: lateOceanColorPalette.transparent
2931
+ borderWidth: 0,
2932
+ borderColor: colors.transparent
2887
2933
  },
2888
2934
  outline: {
2889
- backgroundColor: lateOceanColorPalette.transparent,
2890
- borderWidth: '1px',
2891
- borderColor: lateOceanColorPalette.black1000
2935
+ backgroundColor: colors.transparent,
2936
+ borderWidth: 1,
2937
+ borderColor: colors.black
2892
2938
  }
2893
2939
  },
2894
2940
  danger: {
2895
2941
  fill: {
2896
2942
  backgroundColor: lateOceanColorPalette.warmEmbrace,
2897
- borderWidth: '0',
2898
- borderColor: lateOceanColorPalette.transparent
2943
+ borderWidth: 0,
2944
+ borderColor: colors.transparent
2899
2945
  },
2900
2946
  outline: {
2901
- backgroundColor: lateOceanColorPalette.transparent,
2902
- borderWidth: '1px',
2903
- borderColor: colorsLateOceanTheme.danger
2947
+ backgroundColor: colors.transparent,
2948
+ borderWidth: 1,
2949
+ borderColor: colors.danger
2904
2950
  }
2905
2951
  }
2906
2952
  };
2907
2953
 
2908
2954
  const tooltip = {
2909
- backgroundColor: colorsLateOceanTheme.black,
2955
+ backgroundColor: colors.black,
2910
2956
  borderRadius: 10,
2911
2957
  opacity: 0.95,
2912
2958
  horizontalPadding: 16,
@@ -2939,23 +2985,23 @@ const breakpoints = {
2939
2985
 
2940
2986
  const theme = {
2941
2987
  spacing: 4,
2942
- colors: colorsLateOceanTheme,
2988
+ colors,
2943
2989
  palettes: {
2944
2990
  lateOcean: lateOceanColorPalette
2945
2991
  },
2946
2992
  avatar,
2947
2993
  button,
2948
- card: cardLateOceanTheme,
2994
+ card,
2949
2995
  feedbackMessage,
2950
2996
  forms,
2951
- typography: typographyLateOceanTheme,
2952
- tag: tagLateOceanTheme,
2953
- shadows: shadowsLateOceanTheme,
2954
- fullScreenModal: fullScreenModalLateOceanTheme,
2997
+ typography,
2998
+ tag,
2999
+ shadows,
3000
+ fullScreenModal,
2955
3001
  iconButton,
2956
- listItem: listItemLateOceanTheme,
3002
+ listItem,
2957
3003
  tooltip,
2958
- skeleton: skeletonTheme,
3004
+ skeleton,
2959
3005
  breakpoints
2960
3006
  };
2961
3007
 
@@ -3169,13 +3215,8 @@ function TypographyEmoji({
3169
3215
  const {
3170
3216
  fontSize
3171
3217
  } = typeConfig[typeConfigKey];
3172
-
3173
- if ((process.env.NODE_ENV !== "production")) {
3174
- if (!fontSize.endsWith('px')) throw new Error(`Unexpected font-size value: ${fontSize}`);
3175
- }
3176
-
3177
3218
  return /*#__PURE__*/jsxRuntime.jsx(StyledTypographyEmoji, {
3178
- size: parseInt(fontSize.slice(0, -2), 10),
3219
+ size: fontSize,
3179
3220
  emoji: emoji
3180
3221
  });
3181
3222
  }
@@ -3334,9 +3375,7 @@ function MatchWindowSize({
3334
3375
  }) {
3335
3376
  const match = useMatchWindowSize(matchWindowSizeOptions);
3336
3377
  if (!match) return null;
3337
- return /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
3338
- children: children
3339
- });
3378
+ return children;
3340
3379
  }
3341
3380
 
3342
3381
  exports.useWindowSize = BabelPluginStyledComponentsReactNative.useWindowDimensions;
@@ -3349,6 +3388,7 @@ exports.Flex = Flex;
3349
3388
  exports.FullScreenModal = FullScreenModal;
3350
3389
  exports.Icon = Icon;
3351
3390
  exports.IconButton = IconButton;
3391
+ exports.InputEmail = InputEmail;
3352
3392
  exports.InputFeedback = InputFeedback;
3353
3393
  exports.InputField = InputField;
3354
3394
  exports.InputIcon = InputIcon;