@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
@@ -1,8 +1,8 @@
1
1
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
2
2
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
- import { UserIcon, EyeOffIcon, EyeIcon, XIcon, InfoIcon, AlertTriangleIcon, CheckIcon, AlertCircleIcon } from '@ornikar/kitt-icons';
3
+ import { UserIcon, EyeOffIcon, EyeIcon, InfoIcon, AlertTriangleIcon, CheckIcon, AlertCircleIcon, XIcon, TooltipArrowIcon } from '@ornikar/kitt-icons';
4
4
  export * from '@ornikar/kitt-icons';
5
- import { Animated, Easing, useWindowDimensions, Image, Platform, Linking, Pressable, TextInput, ActivityIndicator, TouchableOpacity, View, StyleSheet, ScrollView, Modal as Modal$1, Text as Text$1 } from 'react-native';
5
+ import { Animated, Easing, useWindowDimensions, Image, Platform, Linking, TextInput, Pressable, ActivityIndicator, View, StyleSheet, ScrollView, Modal as Modal$1, Text as Text$1 } from 'react-native';
6
6
  export { useWindowDimensions as useWindowSize } from 'react-native';
7
7
  import styled, { useTheme, css, ThemeProvider } from 'styled-components/native';
8
8
  import { useRef, useEffect, cloneElement, useContext, createContext, forwardRef, useMemo, useState, Fragment, Children } from 'react';
@@ -51,7 +51,7 @@ function SpinningIcon(_ref) {
51
51
  });
52
52
  }
53
53
 
54
- var IconContainer$1 = /*#__PURE__*/styled.View.withConfig({
54
+ var IconContainer = /*#__PURE__*/styled.View.withConfig({
55
55
  displayName: "Icon__IconContainer"
56
56
  })(["color:", ";width:", "px;height:", "px;align-self:", ";"], function (_ref) {
57
57
  var color = _ref.color;
@@ -77,7 +77,7 @@ function Icon(_ref5) {
77
77
  var clonedIcon = /*#__PURE__*/cloneElement(icon, {
78
78
  color: color
79
79
  });
80
- return /*#__PURE__*/jsx(IconContainer$1, {
80
+ return /*#__PURE__*/jsx(IconContainer, {
81
81
  align: align,
82
82
  size: size,
83
83
  color: color,
@@ -137,9 +137,9 @@ var KittBreakpointsMax = {
137
137
 
138
138
  var _excluded$e = ["accessibilityRole", "base", "small", "medium", "large", "variant", "color"];
139
139
 
140
- function ownKeys$j(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
140
+ function ownKeys$k(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
141
141
 
142
- function _objectSpread$j(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$j(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$j(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
142
+ function _objectSpread$k(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$k(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$k(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
143
143
  var IsHeaderTypographyContext = /*#__PURE__*/createContext(undefined);
144
144
  var TypographyColorContext = /*#__PURE__*/createContext('black');
145
145
  function useTypographyColor() {
@@ -179,7 +179,7 @@ var StyledTypography = /*#__PURE__*/styled.Text.withConfig({
179
179
  headers = _theme$kitt$typograph.headers,
180
180
  bodies = _theme$kitt$typograph.bodies;
181
181
  var typeConfigKey = getTypographyTypeConfigKey(theme);
182
- return "\n /* type */\n ".concat(!$typeForCurrentWindowSize ? '' : "\n font-family: ".concat($isHeader ? headers.fontFamily[$variant] : bodies.fontFamily[$variant], ";\n font-size: ").concat($isHeader ? headers.configs[$typeForCurrentWindowSize][typeConfigKey].fontSize : bodies.configs[$typeForCurrentWindowSize][typeConfigKey].fontSize, ";\n line-height: ").concat($isHeader ? headers.configs[$typeForCurrentWindowSize][typeConfigKey].lineHeight : bodies.configs[$typeForCurrentWindowSize][typeConfigKey].lineHeight, ";\n "), "\n\n /* variant */\n font-weight: ").concat($isHeader ? headers.fontWeight : bodies.fontWeight[$variant], ";\n font-style: ").concat($isHeader ? headers.fontStyle : bodies.fontStyle[$variant], ";\n ");
182
+ return "\n /* type */\n ".concat(!$typeForCurrentWindowSize ? '' : "\n font-family: ".concat($isHeader ? headers.fontFamily[$variant] : bodies.fontFamily[$variant], ";\n font-size: ").concat($isHeader ? headers.configs[$typeForCurrentWindowSize][typeConfigKey].fontSize : bodies.configs[$typeForCurrentWindowSize][typeConfigKey].fontSize, "px;\n line-height: ").concat($isHeader ? headers.configs[$typeForCurrentWindowSize][typeConfigKey].lineHeight : bodies.configs[$typeForCurrentWindowSize][typeConfigKey].lineHeight, "px;\n "), "\n\n /* variant */\n font-weight: ").concat($isHeader ? headers.fontWeight : bodies.fontWeight[$variant], ";\n font-style: ").concat($isHeader ? headers.fontStyle : bodies.fontStyle[$variant], ";\n ");
183
183
  }, function (_ref2) {
184
184
  var theme = _ref2.theme,
185
185
  $color = _ref2.$color;
@@ -232,14 +232,14 @@ function Typography(_ref4) {
232
232
  var nonNullableVariant = variant !== null && variant !== void 0 ? variant : isHeader ? 'bold' : 'regular';
233
233
  var content = baseOrDefaultToBody ? /*#__PURE__*/jsx(IsHeaderTypographyContext.Provider, {
234
234
  value: isHeader,
235
- children: /*#__PURE__*/jsx(StyledTypography, _objectSpread$j({
235
+ children: /*#__PURE__*/jsx(StyledTypography, _objectSpread$k({
236
236
  $color: colorOrDefaultToBlack,
237
237
  $isHeader: isHeader,
238
238
  $typeForCurrentWindowSize: typeForCurrentWindowSize,
239
239
  $variant: nonNullableVariant,
240
240
  accessibilityRole: accessibilityRole || undefined
241
241
  }, otherProps))
242
- }) : /*#__PURE__*/jsx(StyledTypography, _objectSpread$j({
242
+ }) : /*#__PURE__*/jsx(StyledTypography, _objectSpread$k({
243
243
  $color: colorOrDefaultToBlack,
244
244
  $isHeader: isHeader,
245
245
  $variant: nonNullableVariant,
@@ -252,13 +252,13 @@ function Typography(_ref4) {
252
252
  }
253
253
 
254
254
  function TypographyText(props) {
255
- return /*#__PURE__*/jsx(Typography, _objectSpread$j({
255
+ return /*#__PURE__*/jsx(Typography, _objectSpread$k({
256
256
  accessibilityRole: null
257
257
  }, props));
258
258
  }
259
259
 
260
260
  function TypographyParagraph(props) {
261
- return /*#__PURE__*/jsx(Typography, _objectSpread$j({
261
+ return /*#__PURE__*/jsx(Typography, _objectSpread$k({
262
262
  accessibilityRole: "paragraph"
263
263
  }, props));
264
264
  }
@@ -266,7 +266,7 @@ function TypographyParagraph(props) {
266
266
  var createHeading = function (level, defaultBase) {
267
267
  // https://github.com/necolas/react-native-web/issues/401
268
268
  function TypographyHeading(props) {
269
- return /*#__PURE__*/jsx(Typography, _objectSpread$j(_objectSpread$j({
269
+ return /*#__PURE__*/jsx(Typography, _objectSpread$k(_objectSpread$k({
270
270
  accessibilityRole: "header",
271
271
  base: defaultBase
272
272
  }, props), {}, {
@@ -304,9 +304,9 @@ Typography.h5 = createHeading(5, 'header5');
304
304
 
305
305
  var _excluded$d = ["size", "base", "round", "light"];
306
306
 
307
- function ownKeys$i(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
307
+ function ownKeys$j(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
308
308
 
309
- function _objectSpread$i(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$i(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$i(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
309
+ function _objectSpread$j(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$j(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$j(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
310
310
 
311
311
  var getInitials = function (firstname, lastname) {
312
312
  return "".concat(firstname[0]).concat(lastname[0]).toUpperCase();
@@ -319,7 +319,7 @@ var StyledAvatarView = /*#__PURE__*/styled.View.withConfig({
319
319
  $isRound = _ref.$isRound,
320
320
  $size = _ref.$size;
321
321
  if ($isRound) return "".concat($size / 2, "px");
322
- return theme.kitt.avatar.borderRadius;
322
+ return "".concat(theme.kitt.avatar.borderRadius, "px");
323
323
  }, function (_ref2) {
324
324
  var theme = _ref2.theme,
325
325
  $isLight = _ref2.$isLight;
@@ -383,7 +383,7 @@ function Avatar(_ref6) {
383
383
  $size: size,
384
384
  $isRound: round,
385
385
  $isLight: light,
386
- children: /*#__PURE__*/jsx(AvatarContent, _objectSpread$i({
386
+ children: /*#__PURE__*/jsx(AvatarContent, _objectSpread$j({
387
387
  size: size,
388
388
  base: base,
389
389
  isLight: light
@@ -400,7 +400,7 @@ var StyledPressable = /*#__PURE__*/styled.Pressable.withConfig({
400
400
  });
401
401
  var StyledAnimatedView = /*#__PURE__*/styled(Animated$1.View).withConfig({
402
402
  displayName: "AnimatedButtonPressable__StyledAnimatedView"
403
- })(["border-radius:", ";"], function (_ref2) {
403
+ })(["border-radius:", "px;"], function (_ref2) {
404
404
  var theme = _ref2.theme;
405
405
  return theme.kitt.button.borderRadius;
406
406
  });
@@ -489,13 +489,13 @@ var AnimatedButtonPressable = /*#__PURE__*/forwardRef(function (_ref3, ref) {
489
489
 
490
490
  var BaseStyledButtonPressable = /*#__PURE__*/styled.View.withConfig({
491
491
  displayName: "BaseStyledButtonPressable"
492
- })(["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:", ";"], function (_ref) {
492
+ })(["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:", ";"], function (_ref) {
493
493
  var theme = _ref.theme;
494
494
  return theme.kitt.button.minWidth;
495
495
  }, function (_ref2) {
496
496
  var theme = _ref2.theme,
497
497
  $isStretch = _ref2.$isStretch;
498
- return $isStretch ? '100%' : theme.kitt.button.maxWidth;
498
+ return $isStretch ? '100%' : "".concat(theme.kitt.button.maxWidth, "px");
499
499
  }, function (_ref3) {
500
500
  var $isStretch = _ref3.$isStretch;
501
501
  return $isStretch ? '100%' : 'auto';
@@ -528,23 +528,23 @@ var BaseStyledButtonPressable = /*#__PURE__*/styled.View.withConfig({
528
528
  var _excluded$c = ["color"],
529
529
  _excluded2$2 = ["color"];
530
530
 
531
- function ownKeys$h(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
531
+ function ownKeys$i(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
532
532
 
533
- function _objectSpread$h(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$h(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$h(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
533
+ function _objectSpread$i(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$i(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$i(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
534
534
 
535
535
  function TypographyIconSpecifiedColor(_ref) {
536
536
  var color = _ref.color,
537
537
  props = _objectWithoutProperties(_ref, _excluded$c);
538
538
 
539
539
  var theme = /*#__PURE__*/useTheme();
540
- return /*#__PURE__*/jsx(Icon, _objectSpread$h(_objectSpread$h({}, props), {}, {
540
+ return /*#__PURE__*/jsx(Icon, _objectSpread$i(_objectSpread$i({}, props), {}, {
541
541
  color: color === 'inherit' ? 'inherit' : theme.kitt.typography.colors[color]
542
542
  }));
543
543
  }
544
544
 
545
545
  function TypographyIconInheritColor(props) {
546
546
  var color = useTypographyColor();
547
- return /*#__PURE__*/jsx(TypographyIconSpecifiedColor, _objectSpread$h({
547
+ return /*#__PURE__*/jsx(TypographyIconSpecifiedColor, _objectSpread$i({
548
548
  color: color
549
549
  }, props));
550
550
  }
@@ -554,12 +554,12 @@ function TypographyIcon(_ref2) {
554
554
  props = _objectWithoutProperties(_ref2, _excluded2$2);
555
555
 
556
556
  if (color) {
557
- return /*#__PURE__*/jsx(TypographyIconSpecifiedColor, _objectSpread$h({
557
+ return /*#__PURE__*/jsx(TypographyIconSpecifiedColor, _objectSpread$i({
558
558
  color: color
559
559
  }, props));
560
560
  }
561
561
 
562
- return /*#__PURE__*/jsx(TypographyIconInheritColor, _objectSpread$h({}, props));
562
+ return /*#__PURE__*/jsx(TypographyIconInheritColor, _objectSpread$i({}, props));
563
563
  }
564
564
 
565
565
  function isSubtle(type) {
@@ -568,9 +568,9 @@ function isSubtle(type) {
568
568
 
569
569
  var _excluded$b = ["type", "isDisabled", "$isStretch", "icon", "children"];
570
570
 
571
- function ownKeys$g(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
571
+ function ownKeys$h(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
572
572
 
573
- function _objectSpread$g(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$g(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$g(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
573
+ function _objectSpread$h(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$h(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$h(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
574
574
 
575
575
  var getTextColorByType = function (type) {
576
576
  switch (type) {
@@ -609,7 +609,7 @@ var StyledButtonText = /*#__PURE__*/styled(Typography.Text).withConfig({
609
609
  if (Platform.OS !== 'web' || $isDisabled || !isSubtle($type)) return undefined;
610
610
  return 'color: inherit';
611
611
  });
612
- var StyledIconContainer = /*#__PURE__*/styled.View.withConfig({
612
+ var StyledIconContainer$1 = /*#__PURE__*/styled.View.withConfig({
613
613
  displayName: "ButtonContent__StyledIconContainer"
614
614
  })(["", ""], function (_ref2) {
615
615
  var theme = _ref2.theme,
@@ -629,7 +629,7 @@ function ButtonIcon(_ref3) {
629
629
  spin = _ref3.spin,
630
630
  iconPosition = _ref3.iconPosition,
631
631
  testID = _ref3.testID;
632
- return /*#__PURE__*/jsx(StyledIconContainer, {
632
+ return /*#__PURE__*/jsx(StyledIconContainer$1, {
633
633
  $iconPosition: iconPosition,
634
634
  children: /*#__PURE__*/jsx(TypographyIcon, {
635
635
  icon: icon,
@@ -676,7 +676,7 @@ function ButtonContentChildren(_ref4) {
676
676
  color: isWebSubtle ? 'inherit' : color
677
677
  };
678
678
  return /*#__PURE__*/jsxs(StyledChildrenWithIcon, {
679
- children: [icon && iconPosition === 'left' ? /*#__PURE__*/jsx(ButtonIcon, _objectSpread$g(_objectSpread$g({}, buttonIconSharedProps), {}, {
679
+ children: [icon && iconPosition === 'left' ? /*#__PURE__*/jsx(ButtonIcon, _objectSpread$h(_objectSpread$h({}, buttonIconSharedProps), {}, {
680
680
  testID: "button-left-icon",
681
681
  icon: icon
682
682
  })) : null, /*#__PURE__*/jsx(StyledButtonText, {
@@ -687,7 +687,7 @@ function ButtonContentChildren(_ref4) {
687
687
  ,
688
688
  color: isWebSubtle ? undefined : color,
689
689
  children: children
690
- }), icon && iconPosition === 'right' ? /*#__PURE__*/jsx(ButtonIcon, _objectSpread$g(_objectSpread$g({}, buttonIconSharedProps), {}, {
690
+ }), icon && iconPosition === 'right' ? /*#__PURE__*/jsx(ButtonIcon, _objectSpread$h(_objectSpread$h({}, buttonIconSharedProps), {}, {
691
691
  icon: icon
692
692
  })) : null]
693
693
  });
@@ -720,7 +720,7 @@ function ButtonContent(_ref7) {
720
720
  $isSubtle: isSubtle(type),
721
721
  $isStretch: $isStretch,
722
722
  $isIconOnly: Boolean(!children && icon),
723
- children: /*#__PURE__*/jsx(ButtonContentChildren, _objectSpread$g(_objectSpread$g({
723
+ children: /*#__PURE__*/jsx(ButtonContentChildren, _objectSpread$h(_objectSpread$h({
724
724
  icon: icon,
725
725
  type: type,
726
726
  isDisabled: isDisabled,
@@ -733,12 +733,12 @@ function ButtonContent(_ref7) {
733
733
 
734
734
  var StyledDisabled = /*#__PURE__*/styled.View.withConfig({
735
735
  displayName: "StyledDisabled"
736
- })(["position:absolute;top:0;left:0;right:0;bottom:0;border:", ";border-radius:", ";"], function (_ref) {
736
+ })(["position:absolute;top:0;left:0;right:0;bottom:0;border:", ";border-radius:", "px;"], function (_ref) {
737
737
  var theme = _ref.theme;
738
738
  var _theme$kitt$button = theme.kitt.button,
739
739
  borderWidth = _theme$kitt$button.borderWidth,
740
740
  disabled = _theme$kitt$button.disabled;
741
- return "".concat(borderWidth.disabled, " solid ").concat(disabled.borderColor);
741
+ return "".concat(borderWidth.disabled, "px solid ").concat(disabled.borderColor);
742
742
  }, function (_ref2) {
743
743
  var theme = _ref2.theme;
744
744
  return theme.kitt.button.borderRadius;
@@ -789,15 +789,15 @@ var Button = /*#__PURE__*/forwardRef(function (_ref, ref) {
789
789
  });
790
790
  });
791
791
 
792
- var Container$6 = /*#__PURE__*/styled.View.withConfig({
792
+ var Container$5 = /*#__PURE__*/styled.View.withConfig({
793
793
  displayName: "Card__Container"
794
- })(["background-color:", ";padding:", ";border-radius:", ";border-width:", ";border-color:", ";"], function (_ref) {
794
+ })(["background-color:", ";padding:", "px;border-radius:", "px;border-width:", "px;border-color:", ";"], function (_ref) {
795
795
  var theme = _ref.theme,
796
796
  type = _ref.type;
797
797
  return theme.kitt.card[type].backgroundColor;
798
798
  }, function (_ref2) {
799
799
  var theme = _ref2.theme;
800
- return theme.kitt.card.padding;
800
+ return theme.kitt.spacing * 4;
801
801
  }, function (_ref3) {
802
802
  var theme = _ref3.theme;
803
803
  return theme.kitt.card.borderRadius;
@@ -812,7 +812,7 @@ var Container$6 = /*#__PURE__*/styled.View.withConfig({
812
812
  function Card(_ref6) {
813
813
  var children = _ref6.children,
814
814
  type = _ref6.type;
815
- return /*#__PURE__*/jsx(Container$6, {
815
+ return /*#__PURE__*/jsx(Container$5, {
816
816
  type: type,
817
817
  children: children
818
818
  });
@@ -859,9 +859,9 @@ var defaultOpenLinkBehavior = {
859
859
 
860
860
  var _excluded$a = ["as", "href", "openLinkBehavior", "onPress"];
861
861
 
862
- function ownKeys$f(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
862
+ function ownKeys$g(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
863
863
 
864
- function _objectSpread$f(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$f(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$f(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
864
+ function _objectSpread$g(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$g(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$g(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
865
865
  function ExternalLink(_ref) {
866
866
  var Component = _ref.as,
867
867
  href = _ref.href,
@@ -870,7 +870,7 @@ function ExternalLink(_ref) {
870
870
  onPress = _ref.onPress,
871
871
  rest = _objectWithoutProperties(_ref, _excluded$a);
872
872
 
873
- return /*#__PURE__*/jsx(Component, _objectSpread$f(_objectSpread$f({}, rest), {}, {
873
+ return /*#__PURE__*/jsx(Component, _objectSpread$g(_objectSpread$g({}, rest), {}, {
874
874
  onPress: function handleOnPress() {
875
875
  if (onPress) onPress();
876
876
  if (!href) return;
@@ -899,106 +899,7 @@ function ExternalLink(_ref) {
899
899
  }));
900
900
  }
901
901
 
902
- var getColorFromState = function (state) {
903
- switch (state) {
904
- case 'invalid':
905
- return 'danger';
906
-
907
- case 'valid':
908
- default:
909
- return 'black-light';
910
- }
911
- };
912
-
913
- function InputFeedback(_ref) {
914
- var state = _ref.state,
915
- testID = _ref.testID,
916
- children = _ref.children;
917
- return /*#__PURE__*/jsx(Typography.Text, {
918
- base: "body-small",
919
- color: getColorFromState(state),
920
- testID: testID,
921
- children: children
922
- });
923
- }
924
-
925
- var FieldContainer = /*#__PURE__*/styled.View.withConfig({
926
- displayName: "InputField__FieldContainer"
927
- })(["padding:5px 0 10px;"]);
928
- var FeedbackContainer = /*#__PURE__*/styled.View.withConfig({
929
- displayName: "InputField__FeedbackContainer"
930
- })(["", ";"], function (_ref) {
931
- var theme = _ref.theme;
932
- return theme.responsive.ifWindowSizeMatches({
933
- minWidth: KittBreakpoints.SMALL
934
- }, 'padding-top: 10px', 'padding-top: 5px');
935
- });
936
- var FieldLabelContainer = /*#__PURE__*/styled.View.withConfig({
937
- displayName: "InputField__FieldLabelContainer"
938
- })(["flex-direction:row;align-items:center;padding-bottom:", "px;"], function (_ref2) {
939
- var theme = _ref2.theme;
940
- return theme.kitt.forms.inputField.labelContainerPaddingBottom;
941
- });
942
- var LabelContainer = /*#__PURE__*/styled.View.withConfig({
943
- displayName: "InputField__LabelContainer"
944
- })(["margin-right:", "px;"], function (_ref3) {
945
- var theme = _ref3.theme;
946
- return theme.kitt.forms.inputField.iconMarginLeft;
947
- });
948
- function InputField(_ref4) {
949
- var label = _ref4.label,
950
- labelFeedback = _ref4.labelFeedback,
951
- input = _ref4.input,
952
- feedback = _ref4.feedback;
953
- return /*#__PURE__*/jsxs(FieldContainer, {
954
- children: [label ? /*#__PURE__*/jsxs(FieldLabelContainer, {
955
- children: [/*#__PURE__*/jsx(LabelContainer, {
956
- children: label
957
- }), labelFeedback]
958
- }) : null, input, feedback ? /*#__PURE__*/jsx(FeedbackContainer, {
959
- children: feedback
960
- }) : null]
961
- });
962
- }
963
-
964
- function getIconColor(state, disabled) {
965
- if (disabled) return 'black-light';
966
-
967
- switch (state) {
968
- case 'invalid':
969
- return 'danger';
970
-
971
- case 'valid':
972
- return 'success';
973
-
974
- default:
975
- return undefined;
976
- }
977
- }
978
-
979
- function InputIcon(_ref) {
980
- var icon = _ref.icon,
981
- state = _ref.state,
982
- disabled = _ref.disabled;
983
- var theme = /*#__PURE__*/useTheme();
984
- var color = getIconColor(state, disabled);
985
- return /*#__PURE__*/jsx(TypographyIcon, {
986
- color: color,
987
- icon: icon,
988
- size: theme.kitt.forms.input.icon.size
989
- });
990
- }
991
-
992
- function ownKeys$e(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
993
-
994
- function _objectSpread$e(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$e(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$e(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
995
- function InputPressable(_ref) {
996
- var props = _extends({}, _ref);
997
-
998
- return /*#__PURE__*/jsx(Pressable, _objectSpread$e({}, props));
999
- }
1000
-
1001
- var styledTextInputMixin = /*#__PURE__*/css(["background-color:", ";border-width:", ";border-radius:", ";border-color:", ";font-size:", ";color:", ";font-family:", ";"], function (_ref) {
902
+ var styledTextInputMixin = /*#__PURE__*/css(["background-color:", ";border-width:", "px;border-radius:", "px;border-color:", ";font-size:", ";color:", ";font-family:", ";"], function (_ref) {
1002
903
  var theme = _ref.theme,
1003
904
  $state = _ref.$state;
1004
905
  return $state === 'disabled' ? theme.kitt.forms.input.states.disabled.backgroundColor : theme.kitt.forms.input.states["default"].backgroundColor;
@@ -1015,7 +916,7 @@ var styledTextInputMixin = /*#__PURE__*/css(["background-color:", ";border-width
1015
916
  }, function (_ref5) {
1016
917
  var theme = _ref5.theme;
1017
918
  var typeConfigKey = getTypographyTypeConfigKey(theme);
1018
- return theme.kitt.typography.types.bodies.configs.body[typeConfigKey].fontSize;
919
+ return "".concat(theme.kitt.typography.types.bodies.configs.body[typeConfigKey].fontSize, "px");
1019
920
  }, function (_ref6) {
1020
921
  var theme = _ref6.theme,
1021
922
  $state = _ref6.$state;
@@ -1035,14 +936,18 @@ function getInputUIState(_ref) {
1035
936
  return 'default';
1036
937
  }
1037
938
 
939
+ var InputTextContainer = /*#__PURE__*/styled.View.withConfig({
940
+ displayName: "InputTextContainer"
941
+ })(["position:relative;"]);
942
+
1038
943
  var _excluded$9 = ["id", "right", "minHeight", "state", "internalForceState", "disabled", "autoCorrect", "textContentType", "autoCompleteType", "keyboardType", "onFocus", "onBlur"];
1039
944
 
1040
- function ownKeys$d(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
945
+ function ownKeys$f(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1041
946
 
1042
- function _objectSpread$d(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$d(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$d(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
947
+ function _objectSpread$f(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$f(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$f(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1043
948
  var StyledTextInput = /*#__PURE__*/styled(TextInput).withConfig({
1044
949
  displayName: "InputText__StyledTextInput"
1045
- })(["", " padding:", ";line-height:", ";min-height:", "px;"], styledTextInputMixin, function (_ref) {
950
+ })(["", " padding:", ";line-height:", ";width:100%;min-height:", "px;"], styledTextInputMixin, function (_ref) {
1046
951
  var theme = _ref.theme,
1047
952
  multiline = _ref.multiline;
1048
953
 
@@ -1056,14 +961,11 @@ var StyledTextInput = /*#__PURE__*/styled(TextInput).withConfig({
1056
961
  multiline = _ref2.multiline;
1057
962
  if (!multiline && Platform.OS === 'ios') return 0;
1058
963
  var typeConfigKey = getTypographyTypeConfigKey(theme);
1059
- return theme.kitt.typography.types.bodies.configs.body[typeConfigKey].lineHeight;
964
+ return "".concat(theme.kitt.typography.types.bodies.configs.body[typeConfigKey].lineHeight, "px");
1060
965
  }, function (_ref3) {
1061
966
  var $minHeight = _ref3.$minHeight;
1062
967
  return $minHeight;
1063
968
  });
1064
- var InputTextContainer = /*#__PURE__*/styled.View.withConfig({
1065
- displayName: "InputText__InputTextContainer"
1066
- })(["position:relative;"]);
1067
969
  var RightInputContainer = /*#__PURE__*/styled.View.withConfig({
1068
970
  displayName: "InputText__RightInputContainer"
1069
971
  })(["position:absolute;right:0;top:0;bottom:0;justify-content:center;padding:10px;"]);
@@ -1101,7 +1003,8 @@ var InputText = /*#__PURE__*/forwardRef(function (_ref4, ref) {
1101
1003
  formState: formState
1102
1004
  });
1103
1005
  return /*#__PURE__*/jsxs(InputTextContainer, {
1104
- children: [/*#__PURE__*/jsx(StyledTextInput, _objectSpread$d(_objectSpread$d({
1006
+ $isDisabled: disabled,
1007
+ children: [/*#__PURE__*/jsx(StyledTextInput, _objectSpread$f(_objectSpread$f({
1105
1008
  ref: ref,
1106
1009
  nativeID: id,
1107
1010
  editable: !disabled,
@@ -1128,6 +1031,116 @@ var InputText = /*#__PURE__*/forwardRef(function (_ref4, ref) {
1128
1031
  });
1129
1032
  });
1130
1033
 
1034
+ function ownKeys$e(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1035
+
1036
+ function _objectSpread$e(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$e(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$e(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1037
+ function InputEmail(props) {
1038
+ return /*#__PURE__*/jsx(InputText, _objectSpread$e({
1039
+ autoCompleteType: "email",
1040
+ keyboardType: "email-address",
1041
+ textContentType: "emailAddress"
1042
+ }, props));
1043
+ }
1044
+
1045
+ var getColorFromState = function (state) {
1046
+ switch (state) {
1047
+ case 'invalid':
1048
+ return 'danger';
1049
+
1050
+ case 'valid':
1051
+ default:
1052
+ return 'black-light';
1053
+ }
1054
+ };
1055
+
1056
+ function InputFeedback(_ref) {
1057
+ var state = _ref.state,
1058
+ testID = _ref.testID,
1059
+ children = _ref.children;
1060
+ return /*#__PURE__*/jsx(Typography.Text, {
1061
+ base: "body-small",
1062
+ color: getColorFromState(state),
1063
+ testID: testID,
1064
+ children: children
1065
+ });
1066
+ }
1067
+
1068
+ var FieldContainer = /*#__PURE__*/styled.View.withConfig({
1069
+ displayName: "InputField__FieldContainer"
1070
+ })(["padding:5px 0 10px;"]);
1071
+ var FeedbackContainer = /*#__PURE__*/styled.View.withConfig({
1072
+ displayName: "InputField__FeedbackContainer"
1073
+ })(["", ";"], function (_ref) {
1074
+ var theme = _ref.theme;
1075
+ return theme.responsive.ifWindowSizeMatches({
1076
+ minWidth: KittBreakpoints.SMALL
1077
+ }, 'padding-top: 10px', 'padding-top: 5px');
1078
+ });
1079
+ var FieldLabelContainer = /*#__PURE__*/styled.View.withConfig({
1080
+ displayName: "InputField__FieldLabelContainer"
1081
+ })(["flex-direction:row;align-items:center;padding-bottom:", "px;"], function (_ref2) {
1082
+ var theme = _ref2.theme;
1083
+ return theme.kitt.forms.inputField.labelContainerPaddingBottom;
1084
+ });
1085
+ var LabelContainer = /*#__PURE__*/styled.View.withConfig({
1086
+ displayName: "InputField__LabelContainer"
1087
+ })(["margin-right:", "px;"], function (_ref3) {
1088
+ var theme = _ref3.theme;
1089
+ return theme.kitt.forms.inputField.iconMarginLeft;
1090
+ });
1091
+ function InputField(_ref4) {
1092
+ var label = _ref4.label,
1093
+ labelFeedback = _ref4.labelFeedback,
1094
+ input = _ref4.input,
1095
+ feedback = _ref4.feedback;
1096
+ return /*#__PURE__*/jsxs(FieldContainer, {
1097
+ children: [label ? /*#__PURE__*/jsxs(FieldLabelContainer, {
1098
+ children: [/*#__PURE__*/jsx(LabelContainer, {
1099
+ children: label
1100
+ }), labelFeedback]
1101
+ }) : null, input, feedback ? /*#__PURE__*/jsx(FeedbackContainer, {
1102
+ children: feedback
1103
+ }) : null]
1104
+ });
1105
+ }
1106
+
1107
+ function getIconColor(state, disabled) {
1108
+ if (disabled) return 'black-light';
1109
+
1110
+ switch (state) {
1111
+ case 'invalid':
1112
+ return 'danger';
1113
+
1114
+ case 'valid':
1115
+ return 'success';
1116
+
1117
+ default:
1118
+ return undefined;
1119
+ }
1120
+ }
1121
+
1122
+ function InputIcon(_ref) {
1123
+ var icon = _ref.icon,
1124
+ state = _ref.state,
1125
+ disabled = _ref.disabled;
1126
+ var theme = /*#__PURE__*/useTheme();
1127
+ var color = getIconColor(state, disabled);
1128
+ return /*#__PURE__*/jsx(TypographyIcon, {
1129
+ color: color,
1130
+ icon: icon,
1131
+ size: theme.kitt.forms.input.icon.size
1132
+ });
1133
+ }
1134
+
1135
+ function ownKeys$d(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1136
+
1137
+ function _objectSpread$d(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$d(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$d(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1138
+ function InputPressable(_ref) {
1139
+ var props = _extends({}, _ref);
1140
+
1141
+ return /*#__PURE__*/jsx(Pressable, _objectSpread$d({}, props));
1142
+ }
1143
+
1131
1144
  var _excluded$8 = ["isPasswordDefaultVisible", "right"];
1132
1145
 
1133
1146
  function ownKeys$c(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -1176,7 +1189,7 @@ function Label(_ref) {
1176
1189
 
1177
1190
  var OuterRadio = /*#__PURE__*/styled.View.withConfig({
1178
1191
  displayName: "Radio__OuterRadio"
1179
- })(["background-color:", ";width:", "px;height:", "px;border-radius:", "px;border-width:", ";border-color:", ";"], function (_ref) {
1192
+ })(["background-color:", ";width:", "px;height:", "px;border-radius:", "px;border-width:", "px;border-color:", ";"], function (_ref) {
1180
1193
  var theme = _ref.theme,
1181
1194
  disabled = _ref.disabled;
1182
1195
  return theme.kitt.forms.radio[disabled ? 'disabled' : 'unchecked'].backgroundColor;
@@ -1227,7 +1240,7 @@ var SelectedInnerRadio = /*#__PURE__*/styled.View.withConfig({
1227
1240
  var theme = _ref14.theme;
1228
1241
  return theme.kitt.forms.radio.checked.innerSize / 2;
1229
1242
  });
1230
- var Container$5 = /*#__PURE__*/styled.Pressable.withConfig({
1243
+ var Container$4 = /*#__PURE__*/styled.Pressable.withConfig({
1231
1244
  displayName: "Radio__Container"
1232
1245
  })(["flex-direction:row;align-items:center;"]);
1233
1246
  var Text = /*#__PURE__*/styled(Typography.Text).withConfig({
@@ -1244,7 +1257,7 @@ function Radio(_ref16) {
1244
1257
  _ref16$disabled = _ref16.disabled,
1245
1258
  disabled = _ref16$disabled === void 0 ? false : _ref16$disabled,
1246
1259
  children = _ref16.children;
1247
- return /*#__PURE__*/jsxs(Container$5, {
1260
+ return /*#__PURE__*/jsxs(Container$4, {
1248
1261
  nativeID: id,
1249
1262
  disabled: disabled,
1250
1263
  accessibilityRole: "radio",
@@ -1422,7 +1435,7 @@ function FullScreenModalHeader(_ref6) {
1422
1435
  });
1423
1436
  }
1424
1437
 
1425
- var Container$4 = /*#__PURE__*/styled.View.withConfig({
1438
+ var Container$3 = /*#__PURE__*/styled.View.withConfig({
1426
1439
  displayName: "FullScreenModal__Container"
1427
1440
  })(["flex:1;background-color:", ";"], function (_ref) {
1428
1441
  var theme = _ref.theme;
@@ -1430,7 +1443,7 @@ var Container$4 = /*#__PURE__*/styled.View.withConfig({
1430
1443
  });
1431
1444
  function FullScreenModal(_ref2) {
1432
1445
  var children = _ref2.children;
1433
- return /*#__PURE__*/jsx(Container$4, {
1446
+ return /*#__PURE__*/jsx(Container$3, {
1434
1447
  children: children
1435
1448
  });
1436
1449
  }
@@ -1706,11 +1719,11 @@ var SideContainerView = /*#__PURE__*/styled.View.withConfig({
1706
1719
  })(["flex-direction:row;margin-left:", ";margin-right:", ";"], function (_ref) {
1707
1720
  var theme = _ref.theme,
1708
1721
  side = _ref.side;
1709
- return side === 'right' ? theme.kitt.listItem.innerMargin : 0;
1722
+ return side === 'right' ? "".concat(theme.kitt.listItem.innerMargin, "px") : 0;
1710
1723
  }, function (_ref2) {
1711
1724
  var theme = _ref2.theme,
1712
1725
  side = _ref2.side;
1713
- return side === 'left' ? theme.kitt.listItem.innerMargin : 0;
1726
+ return side === 'left' ? "".concat(theme.kitt.listItem.innerMargin, "px") : 0;
1714
1727
  }); // Handles the vertical alignment of the side elements of the list item
1715
1728
 
1716
1729
  function ListItemSideContainer(_ref3) {
@@ -1761,15 +1774,15 @@ var ContainerView = /*#__PURE__*/styled.View.withConfig({
1761
1774
  var borderWidth = theme.kitt.listItem.borderWidth;
1762
1775
 
1763
1776
  if (borders === 'top') {
1764
- return "border-top-width: ".concat(borderWidth);
1777
+ return "border-top-width: ".concat(borderWidth, "px");
1765
1778
  }
1766
1779
 
1767
1780
  if (borders === 'bottom') {
1768
- return "border-bottom-width: ".concat(borderWidth);
1781
+ return "border-bottom-width: ".concat(borderWidth, "px");
1769
1782
  }
1770
1783
 
1771
1784
  if (borders === 'both') {
1772
- return "border-top-width: ".concat(borderWidth, "; border-bottom-width: ").concat(borderWidth);
1785
+ return css(["border-top-width:", "px;border-bottom-width:", "px;"], borderWidth, borderWidth);
1773
1786
  }
1774
1787
 
1775
1788
  return 'border: none';
@@ -1844,55 +1857,32 @@ function LargeLoader(_ref) {
1844
1857
  });
1845
1858
  }
1846
1859
 
1847
- var xIconSize = 14;
1848
- var mainIconSize = 20;
1849
- var Container$3 = /*#__PURE__*/styled.View.withConfig({
1850
- displayName: "Message__Container"
1851
- })(["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;"], function (_ref) {
1852
- var theme = _ref.theme,
1853
- noRadius = _ref.noRadius;
1854
- return noRadius ? 0 : theme.kitt.spacing * 5;
1855
- }, function (_ref2) {
1856
- var theme = _ref2.theme,
1857
- type = _ref2.type;
1858
- return theme.kitt.feedbackMessage.backgroundColors[type];
1859
- }, function (_ref3) {
1860
- var theme = _ref3.theme;
1861
- return theme.kitt.spacing * 4;
1862
- }, function (_ref4) {
1863
- var theme = _ref4.theme;
1864
- return theme.kitt.spacing * 4;
1865
- }, function (_ref5) {
1866
- var theme = _ref5.theme;
1867
- return theme.kitt.spacing * 4;
1868
- }, function (_ref6) {
1869
- var _insets$top;
1860
+ function IconContent(_ref) {
1861
+ var type = _ref.type,
1862
+ color = _ref.color;
1870
1863
 
1871
- var theme = _ref6.theme,
1872
- insets = _ref6.insets;
1873
- return ((_insets$top = insets === null || insets === void 0 ? void 0 : insets.top) !== null && _insets$top !== void 0 ? _insets$top : 0) + theme.kitt.spacing * 4;
1874
- });
1875
- var CloseContainer = /*#__PURE__*/styled(TouchableOpacity).withConfig({
1876
- displayName: "Message__CloseContainer"
1877
- })(["margin-left:", "px;padding:", "px;"], function (_ref7) {
1878
- var theme = _ref7.theme;
1879
- return theme.kitt.spacing * 4;
1880
- }, function (_ref8) {
1881
- var theme = _ref8.theme;
1882
- return theme.kitt.spacing;
1883
- });
1884
- var IconContainer = /*#__PURE__*/styled.View.withConfig({
1885
- displayName: "Message__IconContainer"
1886
- })(["margin-right:", "px;"], function (_ref9) {
1887
- var theme = _ref9.theme;
1888
- return theme.kitt.spacing * 4;
1889
- });
1890
- var Content = /*#__PURE__*/styled.Text.withConfig({
1891
- displayName: "Message__Content"
1892
- })(["text-align:", ";flex:1;"], function (_ref10) {
1893
- var centeredText = _ref10.centeredText;
1894
- return centeredText ? 'center' : 'left';
1895
- });
1864
+ switch (type) {
1865
+ case 'warning':
1866
+ return /*#__PURE__*/jsx(AlertCircleIcon, {
1867
+ color: color
1868
+ });
1869
+
1870
+ case 'success':
1871
+ return /*#__PURE__*/jsx(CheckIcon, {
1872
+ color: color
1873
+ });
1874
+
1875
+ case 'danger':
1876
+ return /*#__PURE__*/jsx(AlertTriangleIcon, {
1877
+ color: color
1878
+ });
1879
+
1880
+ default:
1881
+ return /*#__PURE__*/jsx(InfoIcon, {
1882
+ color: color
1883
+ });
1884
+ }
1885
+ }
1896
1886
 
1897
1887
  var getColorByType = function (type) {
1898
1888
  switch (type) {
@@ -1907,63 +1897,117 @@ var getColorByType = function (type) {
1907
1897
  return 'black';
1908
1898
  }
1909
1899
  };
1910
-
1911
- function getIconContent(type) {
1912
- switch (type) {
1913
- case 'warning':
1914
- return /*#__PURE__*/jsx(AlertCircleIcon, {});
1915
-
1900
+ var getIconButtonColor = function (messageType) {
1901
+ switch (messageType) {
1916
1902
  case 'success':
1917
- return /*#__PURE__*/jsx(CheckIcon, {});
1918
-
1919
1903
  case 'danger':
1920
- return /*#__PURE__*/jsx(AlertTriangleIcon, {});
1904
+ return 'white';
1921
1905
 
1906
+ case 'warning':
1922
1907
  default:
1923
- return /*#__PURE__*/jsx(InfoIcon, {});
1908
+ return 'black';
1924
1909
  }
1925
- }
1910
+ };
1911
+
1912
+ var StyledMessageContainer = /*#__PURE__*/styled.View.withConfig({
1913
+ displayName: "BaseMessage__StyledMessageContainer"
1914
+ })(["flex-direction:row;align-items:flex-start;justify-content:space-between;min-height:60px;padding-top:", "px;border-radius:", "px;background-color:", ";"], function (_ref) {
1915
+ var _$insets$top;
1926
1916
 
1927
- function Message(_ref11) {
1928
- var _ref11$type = _ref11.type,
1929
- type = _ref11$type === void 0 ? 'info' : _ref11$type,
1930
- children = _ref11.children,
1931
- _ref11$noRadius = _ref11.noRadius,
1932
- noRadius = _ref11$noRadius === void 0 ? false : _ref11$noRadius,
1933
- _ref11$centeredText = _ref11.centeredText,
1934
- centeredText = _ref11$centeredText === void 0 ? false : _ref11$centeredText,
1935
- onDismiss = _ref11.onDismiss,
1936
- insets = _ref11.insets;
1917
+ var $insets = _ref.$insets;
1918
+ return (_$insets$top = $insets === null || $insets === void 0 ? void 0 : $insets.top) !== null && _$insets$top !== void 0 ? _$insets$top : 0;
1919
+ }, function (_ref2) {
1920
+ var theme = _ref2.theme,
1921
+ $hasNoRadius = _ref2.$hasNoRadius;
1922
+ return $hasNoRadius ? 0 : theme.kitt.spacing * 5;
1923
+ }, function (_ref3) {
1924
+ var theme = _ref3.theme,
1925
+ $type = _ref3.$type;
1926
+ return theme.kitt.feedbackMessage[$type].backgroundColor;
1927
+ });
1928
+ var StyledDismissWrapper = /*#__PURE__*/styled.View.withConfig({
1929
+ displayName: "BaseMessage__StyledDismissWrapper"
1930
+ })(["align-items:center;align-items:flex-start;margin:", ";"], function (_ref4) {
1931
+ var theme = _ref4.theme;
1932
+ var spacing = theme.kitt.spacing;
1933
+ return "".concat(spacing * 2.5, "px ").concat(spacing * 2, "px 0 ").concat(spacing * 5, "px");
1934
+ });
1935
+ var StyledIconContainer = /*#__PURE__*/styled.View.withConfig({
1936
+ displayName: "BaseMessage__StyledIconContainer"
1937
+ })(["margin:", ";"], function (_ref5) {
1938
+ var theme = _ref5.theme;
1939
+ var spacing = theme.kitt.spacing;
1940
+ return "".concat(spacing, "px ").concat(spacing * 5, "px 0 0");
1941
+ });
1942
+ var StyledTextContent = /*#__PURE__*/styled(Typography.Text).withConfig({
1943
+ displayName: "BaseMessage__StyledTextContent"
1944
+ })(["flex:1;text-align:", ";"], function (_ref6) {
1945
+ var $isCenteredText = _ref6.$isCenteredText;
1946
+ return $isCenteredText ? 'center' : 'left';
1947
+ });
1948
+ var StyledMessageContent = /*#__PURE__*/styled.View.withConfig({
1949
+ displayName: "BaseMessage__StyledMessageContent"
1950
+ })(["display:flex;flex-direction:row;flex-grow:1;align-self:center;align-items:flex-start;flex-shrink:1;padding:", ";"], function (_ref7) {
1951
+ var theme = _ref7.theme;
1952
+ var spacing = theme.kitt.spacing;
1953
+ return "".concat(spacing * 4, "px ").concat(spacing * 5, "px");
1954
+ });
1955
+ function BaseMessage(_ref8) {
1956
+ var _ref8$type = _ref8.type,
1957
+ type = _ref8$type === void 0 ? 'info' : _ref8$type,
1958
+ children = _ref8.children,
1959
+ hasNoRadius = _ref8.hasNoRadius,
1960
+ centeredText = _ref8.centeredText,
1961
+ insets = _ref8.insets,
1962
+ onDismiss = _ref8.onDismiss;
1937
1963
  var color = getColorByType(type);
1938
- return /*#__PURE__*/jsxs(Container$3, {
1939
- type: type,
1940
- noRadius: noRadius,
1941
- insets: insets,
1942
- children: [!centeredText ? /*#__PURE__*/jsx(IconContainer, {
1943
- children: /*#__PURE__*/jsx(Icon, {
1944
- size: mainIconSize,
1945
- color: color,
1946
- icon: getIconContent(type)
1947
- })
1948
- }) : null, /*#__PURE__*/jsx(Content, {
1949
- type: type,
1950
- centeredText: centeredText,
1951
- children: /*#__PURE__*/jsx(Typography.Text, {
1952
- base: "body-small",
1964
+ return /*#__PURE__*/jsxs(StyledMessageContainer, {
1965
+ $type: type,
1966
+ $hasNoRadius: hasNoRadius,
1967
+ $insets: insets,
1968
+ children: [/*#__PURE__*/jsxs(StyledMessageContent, {
1969
+ children: [centeredText ? null : /*#__PURE__*/jsx(StyledIconContainer, {
1970
+ children: /*#__PURE__*/jsx(Icon, {
1971
+ color: color,
1972
+ icon: /*#__PURE__*/jsx(IconContent, {
1973
+ type: type,
1974
+ color: color
1975
+ })
1976
+ })
1977
+ }), /*#__PURE__*/jsx(StyledTextContent, {
1978
+ $isCenteredText: centeredText,
1979
+ base: "body",
1953
1980
  color: color,
1954
1981
  children: children
1955
- })
1956
- }), onDismiss ? /*#__PURE__*/jsx(CloseContainer, {
1957
- onPress: onDismiss,
1958
- children: /*#__PURE__*/jsx(Icon, {
1982
+ })]
1983
+ }), onDismiss ? /*#__PURE__*/jsx(StyledDismissWrapper, {
1984
+ children: /*#__PURE__*/jsx(IconButton, {
1985
+ color: getIconButtonColor(type),
1959
1986
  icon: /*#__PURE__*/jsx(XIcon, {}),
1960
- size: xIconSize,
1961
- color: color
1987
+ onPress: onDismiss
1962
1988
  })
1963
1989
  }) : null]
1964
1990
  });
1965
1991
  }
1966
1992
 
1993
+ function Message(_ref) {
1994
+ var _ref$type = _ref.type,
1995
+ type = _ref$type === void 0 ? 'info' : _ref$type,
1996
+ children = _ref.children,
1997
+ hasNoRadius = _ref.hasNoRadius,
1998
+ centeredText = _ref.centeredText,
1999
+ insets = _ref.insets,
2000
+ onDismiss = _ref.onDismiss;
2001
+ return /*#__PURE__*/jsx(BaseMessage, {
2002
+ insets: insets,
2003
+ hasNoRadius: hasNoRadius,
2004
+ type: type,
2005
+ centeredText: centeredText,
2006
+ onDismiss: onDismiss,
2007
+ children: children
2008
+ });
2009
+ }
2010
+
1967
2011
  function ownKeys$5(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1968
2012
 
1969
2013
  function _objectSpread$5(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$5(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$5(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
@@ -2082,12 +2126,12 @@ var ModalView = /*#__PURE__*/styled.View.withConfig({
2082
2126
  });
2083
2127
  var ContentView = /*#__PURE__*/styled.View.withConfig({
2084
2128
  displayName: "Modal__ContentView"
2085
- })(["position:relative;display:flex;flex-direction:column;max-height:100%;max-width:540px;height:auto;width:100%;border-radius:", ";background-color:", ";"], function (_ref3) {
2129
+ })(["position:relative;display:flex;flex-direction:column;max-height:100%;max-width:540px;height:auto;width:100%;border-radius:", "px;background-color:", ";"], function (_ref3) {
2086
2130
  var theme = _ref3.theme;
2087
2131
  return theme.kitt.card.borderRadius;
2088
2132
  }, function (_ref4) {
2089
2133
  var theme = _ref4.theme;
2090
- return theme.kitt.palettes.lateOcean.white;
2134
+ return theme.kitt.colors.uiBackgroundLight;
2091
2135
  });
2092
2136
  function Modal(_ref5) {
2093
2137
  var visible = _ref5.visible,
@@ -2122,19 +2166,22 @@ function Notification(_ref) {
2122
2166
  var type = _ref.type,
2123
2167
  children = _ref.children,
2124
2168
  centeredText = _ref.centeredText,
2125
- onDelete = _ref.onDelete;
2169
+ insets = _ref.insets,
2170
+ onDelete = _ref.onDelete,
2171
+ onDismiss = _ref.onDismiss;
2126
2172
 
2127
- var _useSafeAreaInsets = useSafeAreaInsets(),
2128
- top = _useSafeAreaInsets.top;
2173
+ if ((process.env.NODE_ENV !== "production")) {
2174
+ if (onDelete) {
2175
+ throw new Error('onDelete is deprecated us onDismiss instead');
2176
+ }
2177
+ }
2129
2178
 
2130
- return /*#__PURE__*/jsx(Message, {
2131
- noRadius: true,
2179
+ return /*#__PURE__*/jsx(BaseMessage, {
2180
+ hasNoRadius: true,
2132
2181
  type: type,
2133
2182
  centeredText: centeredText,
2134
- insets: {
2135
- top: top
2136
- },
2137
- onDismiss: onDelete,
2183
+ insets: insets,
2184
+ onDismiss: onDismiss,
2138
2185
  children: children
2139
2186
  });
2140
2187
  }
@@ -2202,6 +2249,9 @@ function SkeletonContent(_ref3) {
2202
2249
  });
2203
2250
  }
2204
2251
 
2252
+ var SkeletonContainer = /*#__PURE__*/styled(View).withConfig({
2253
+ displayName: "Skeleton__SkeletonContainer"
2254
+ })(["overflow:hidden;"]);
2205
2255
  function Skeleton(_ref) {
2206
2256
  var isLoading = _ref.isLoading,
2207
2257
  style = _ref.style;
@@ -2211,7 +2261,7 @@ function Skeleton(_ref) {
2211
2261
  width = _useState2[0],
2212
2262
  setWidth = _useState2[1];
2213
2263
 
2214
- return /*#__PURE__*/jsx(View, {
2264
+ return /*#__PURE__*/jsx(SkeletonContainer, {
2215
2265
  style: style,
2216
2266
  onLayout: function onLayout(_ref2) {
2217
2267
  var nativeEvent = _ref2.nativeEvent;
@@ -2225,7 +2275,7 @@ function Skeleton(_ref) {
2225
2275
  }
2226
2276
  var Bar = /*#__PURE__*/styled(Skeleton).withConfig({
2227
2277
  displayName: "Skeleton__Bar"
2228
- })(["width:100%;height:", "px;border-radius:", "px;overflow:hidden;"], function (_ref3) {
2278
+ })(["width:100%;height:", "px;border-radius:", "px;"], function (_ref3) {
2229
2279
  var theme = _ref3.theme;
2230
2280
  return theme.kitt.spacing * 2;
2231
2281
  }, function (_ref4) {
@@ -2234,7 +2284,7 @@ var Bar = /*#__PURE__*/styled(Skeleton).withConfig({
2234
2284
  });
2235
2285
  var Circle = /*#__PURE__*/styled(Skeleton).withConfig({
2236
2286
  displayName: "Skeleton__Circle"
2237
- })(["width:", "px;height:", "px;border-radius:", "px;overflow:hidden;"], function (_ref5) {
2287
+ })(["width:", "px;height:", "px;border-radius:", "px;"], function (_ref5) {
2238
2288
  var theme = _ref5.theme;
2239
2289
  return theme.kitt.spacing * 12;
2240
2290
  }, function (_ref6) {
@@ -2246,7 +2296,7 @@ var Circle = /*#__PURE__*/styled(Skeleton).withConfig({
2246
2296
  });
2247
2297
  var Square = /*#__PURE__*/styled(Skeleton).withConfig({
2248
2298
  displayName: "Skeleton__Square"
2249
- })(["width:", "px;height:", "px;border-radius:", "px;overflow:hidden;"], function (_ref8) {
2299
+ })(["width:", "px;height:", "px;border-radius:", "px;"], function (_ref8) {
2250
2300
  var theme = _ref8.theme;
2251
2301
  return theme.kitt.spacing * 12;
2252
2302
  }, function (_ref9) {
@@ -2608,7 +2658,7 @@ var StoryGrid = {
2608
2658
 
2609
2659
  var Container$1 = /*#__PURE__*/styled.View.withConfig({
2610
2660
  displayName: "Tag__Container"
2611
- })(["background-color:", ";border-width:", ";border-color:", ";padding:", ";border-radius:", ";align-self:flex-start;"], function (_ref) {
2661
+ })(["background-color:", ";border-width:", "px;border-color:", ";padding:", ";border-radius:", "px;align-self:flex-start;"], function (_ref) {
2612
2662
  var theme = _ref.theme,
2613
2663
  type = _ref.type,
2614
2664
  variant = _ref.variant;
@@ -2678,6 +2728,7 @@ var lateOceanColorPalette = {
2678
2728
  warmEmbrace: '#F4D3CE',
2679
2729
  warmEmbraceLight1: '#FFEDE6',
2680
2730
  black1000: '#000000',
2731
+ black800: '#2C293D',
2681
2732
  black555: '#737373',
2682
2733
  black200: '#CCCCCC',
2683
2734
  black100: '#E5E5E5',
@@ -2693,7 +2744,7 @@ var lateOceanColorPalette = {
2693
2744
  moonPurpleLight1: '#EDEBFC'
2694
2745
  };
2695
2746
 
2696
- var colorsLateOceanTheme = {
2747
+ var colors = {
2697
2748
  primary: lateOceanColorPalette.lateOcean,
2698
2749
  primaryLight: lateOceanColorPalette.lateOceanLight1,
2699
2750
  accent: lateOceanColorPalette.warmEmbrace,
@@ -2701,6 +2752,8 @@ var colorsLateOceanTheme = {
2701
2752
  success: lateOceanColorPalette.viride,
2702
2753
  correct: lateOceanColorPalette.viride,
2703
2754
  danger: lateOceanColorPalette.englishVermillon,
2755
+ info: lateOceanColorPalette.aero,
2756
+ warning: lateOceanColorPalette.goldCrayola,
2704
2757
  separator: lateOceanColorPalette.black100,
2705
2758
  hover: lateOceanColorPalette.black100,
2706
2759
  black: lateOceanColorPalette.black1000,
@@ -2716,24 +2769,24 @@ var colorsLateOceanTheme = {
2716
2769
  };
2717
2770
 
2718
2771
  var avatar = {
2719
- borderRadius: '10px',
2772
+ borderRadius: 10,
2720
2773
  "default": {
2721
- backgroundColor: colorsLateOceanTheme.primary
2774
+ backgroundColor: colors.primary
2722
2775
  },
2723
2776
  light: {
2724
2777
  backgroundColor: lateOceanColorPalette.black100
2725
2778
  }
2726
2779
  };
2727
2780
 
2728
- var buttonLateOceanTheme = {
2729
- borderRadius: '30px',
2781
+ var button = {
2782
+ borderRadius: 30,
2730
2783
  borderWidth: {
2731
- disabled: '2px',
2732
- focus: '3px'
2784
+ disabled: 2,
2785
+ focus: 3
2733
2786
  },
2734
- minHeight: '40px',
2735
- minWidth: '40px',
2736
- maxWidth: '335px',
2787
+ minHeight: 40,
2788
+ minWidth: 40,
2789
+ maxWidth: 335,
2737
2790
  scale: {
2738
2791
  base: {
2739
2792
  "default": 1,
@@ -2760,9 +2813,9 @@ var buttonLateOceanTheme = {
2760
2813
  focusBorderColor: 'rgba(0, 0, 0, 0.1)'
2761
2814
  },
2762
2815
  primary: {
2763
- backgroundColor: colorsLateOceanTheme.primary,
2764
- pressedBackgroundColor: colorsLateOceanTheme.primaryLight,
2765
- hoverBackgroundColor: colorsLateOceanTheme.primaryLight,
2816
+ backgroundColor: colors.primary,
2817
+ pressedBackgroundColor: colors.primaryLight,
2818
+ hoverBackgroundColor: colors.primaryLight,
2766
2819
  focusBorderColor: 'rgba(76, 52, 224, 0.2)'
2767
2820
  },
2768
2821
  white: {
@@ -2772,56 +2825,61 @@ var buttonLateOceanTheme = {
2772
2825
  focusBorderColor: 'rgba(255, 255, 255, 0.1)'
2773
2826
  },
2774
2827
  subtle: {
2775
- backgroundColor: colorsLateOceanTheme.transparent,
2776
- pressedBackgroundColor: colorsLateOceanTheme.transparent,
2777
- hoverBackgroundColor: colorsLateOceanTheme.transparent,
2828
+ backgroundColor: colors.transparent,
2829
+ pressedBackgroundColor: colors.transparent,
2830
+ hoverBackgroundColor: colors.transparent,
2778
2831
  focusBorderColor: 'rgba(76, 52, 224, 0.2)',
2779
- color: colorsLateOceanTheme.primary,
2832
+ color: colors.primary,
2780
2833
  hoverColor: 'rgba(76, 52, 224, 0.8)',
2781
2834
  activeColor: 'rgba(76, 52, 224, 0.8)'
2782
2835
  },
2783
2836
  'subtle-dark': {
2784
- backgroundColor: colorsLateOceanTheme.transparent,
2785
- pressedBackgroundColor: colorsLateOceanTheme.transparent,
2786
- hoverBackgroundColor: colorsLateOceanTheme.transparent,
2837
+ backgroundColor: colors.transparent,
2838
+ pressedBackgroundColor: colors.transparent,
2839
+ hoverBackgroundColor: colors.transparent,
2787
2840
  focusBorderColor: 'rgba(0, 0, 0, 0.1)',
2788
- color: colorsLateOceanTheme.black,
2841
+ color: colors.black,
2789
2842
  hoverColor: 'rgba(0, 0, 0, 0.8)',
2790
2843
  activeColor: 'rgba(0, 0, 0, 0.8)'
2791
2844
  },
2792
2845
  disabled: {
2793
- backgroundColor: colorsLateOceanTheme.disabled,
2794
- pressedBackgroundColor: colorsLateOceanTheme.disabled,
2795
- hoverBackgroundColor: colorsLateOceanTheme.disabled,
2846
+ backgroundColor: colors.disabled,
2847
+ pressedBackgroundColor: colors.disabled,
2848
+ hoverBackgroundColor: colors.disabled,
2796
2849
  focusBorderColor: lateOceanColorPalette.black100,
2797
2850
  borderColor: lateOceanColorPalette.black100
2798
2851
  }
2799
2852
  };
2800
2853
 
2801
- var cardLateOceanTheme = {
2802
- borderRadius: '20px',
2803
- borderWidth: '2px',
2804
- padding: '16px',
2854
+ var card = {
2855
+ borderRadius: 20,
2856
+ borderWidth: 2,
2805
2857
  primary: {
2806
- backgroundColor: lateOceanColorPalette.white,
2807
- borderColor: lateOceanColorPalette.lateOcean
2858
+ backgroundColor: colors.uiBackgroundLight,
2859
+ borderColor: colors.primary
2808
2860
  },
2809
2861
  secondary: {
2810
- backgroundColor: lateOceanColorPalette.white,
2811
- borderColor: lateOceanColorPalette.black100
2862
+ backgroundColor: colors.uiBackgroundLight,
2863
+ borderColor: colors.separator
2812
2864
  },
2813
2865
  subtle: {
2814
2866
  backgroundColor: lateOceanColorPalette.black50,
2815
- borderColor: lateOceanColorPalette.black100
2867
+ borderColor: colors.separator
2816
2868
  }
2817
2869
  };
2818
2870
 
2819
- var feedbackMessageLateOceanTheme = {
2820
- backgroundColors: {
2821
- success: lateOceanColorPalette.viride,
2822
- danger: lateOceanColorPalette.englishVermillon,
2823
- warning: lateOceanColorPalette.goldCrayola,
2824
- info: lateOceanColorPalette.aero
2871
+ var feedbackMessage = {
2872
+ danger: {
2873
+ backgroundColor: colors.danger
2874
+ },
2875
+ success: {
2876
+ backgroundColor: colors.success
2877
+ },
2878
+ info: {
2879
+ backgroundColor: colors.info
2880
+ },
2881
+ warning: {
2882
+ backgroundColor: colors.warning
2825
2883
  }
2826
2884
  };
2827
2885
 
@@ -2831,18 +2889,19 @@ var calcLineHeight = function (fontSize, lineHeightMultiplier) {
2831
2889
  var createTypographyTypeConfig = function (lineHeightMultiplier, baseAndSmallFontSize, mediumAndWideFontSize) {
2832
2890
  return {
2833
2891
  baseAndSmall: {
2834
- fontSize: "".concat(baseAndSmallFontSize, "px"),
2835
- lineHeight: "".concat(calcLineHeight(baseAndSmallFontSize, lineHeightMultiplier), "px")
2892
+ fontSize: baseAndSmallFontSize,
2893
+ lineHeight: calcLineHeight(baseAndSmallFontSize, lineHeightMultiplier)
2836
2894
  },
2837
2895
  mediumAndWide: {
2838
- fontSize: "".concat(mediumAndWideFontSize, "px"),
2839
- lineHeight: "".concat(calcLineHeight(mediumAndWideFontSize, lineHeightMultiplier), "px")
2896
+ fontSize: mediumAndWideFontSize,
2897
+ lineHeight: calcLineHeight(mediumAndWideFontSize, lineHeightMultiplier)
2840
2898
  }
2841
2899
  };
2842
2900
  };
2843
- var typographyLateOceanTheme = {
2901
+ var typography = {
2844
2902
  colors: {
2845
2903
  black: lateOceanColorPalette.black1000,
2904
+ 'black-anthracite': lateOceanColorPalette.black800,
2846
2905
  'black-light': lateOceanColorPalette.black555,
2847
2906
  white: lateOceanColorPalette.white,
2848
2907
  'white-light': lateOceanColorPalette.white,
@@ -2902,17 +2961,17 @@ var typographyLateOceanTheme = {
2902
2961
 
2903
2962
  var inputStatesStyle = {
2904
2963
  "default": {
2905
- backgroundColor: colorsLateOceanTheme.uiBackgroundLight,
2906
- borderColor: colorsLateOceanTheme.separator,
2964
+ backgroundColor: colors.uiBackgroundLight,
2965
+ borderColor: colors.separator,
2907
2966
  color: 'black'
2908
2967
  },
2909
2968
  pending: {
2910
- backgroundColor: colorsLateOceanTheme.uiBackgroundLight,
2911
- borderColor: colorsLateOceanTheme.separator,
2969
+ backgroundColor: colors.uiBackgroundLight,
2970
+ borderColor: colors.separator,
2912
2971
  color: 'black'
2913
2972
  },
2914
2973
  valid: {
2915
- backgroundColor: colorsLateOceanTheme.uiBackgroundLight,
2974
+ backgroundColor: colors.uiBackgroundLight,
2916
2975
  borderColor: lateOceanColorPalette.black100,
2917
2976
  color: 'black'
2918
2977
  },
@@ -2921,56 +2980,61 @@ var inputStatesStyle = {
2921
2980
  color: 'black'
2922
2981
  },
2923
2982
  focus: {
2924
- borderColor: colorsLateOceanTheme.primary,
2983
+ borderColor: colors.primary,
2925
2984
  color: 'black'
2926
2985
  },
2927
2986
  disabled: {
2928
- backgroundColor: colorsLateOceanTheme.disabled,
2929
- borderColor: colorsLateOceanTheme.separator,
2987
+ backgroundColor: colors.disabled,
2988
+ borderColor: colors.separator,
2930
2989
  color: 'black-light'
2931
2990
  },
2932
2991
  invalid: {
2933
- borderColor: colorsLateOceanTheme.danger,
2992
+ borderColor: colors.separator,
2934
2993
  color: 'black'
2935
2994
  }
2936
2995
  };
2937
2996
  var input = {
2938
2997
  color: {
2939
- selection: colorsLateOceanTheme.primary,
2940
- placeholder: typographyLateOceanTheme.colors['black-light']
2998
+ selection: colors.primary,
2999
+ placeholder: typography.colors['black-light']
2941
3000
  },
2942
- borderWidth: '2px',
2943
- borderRadius: '10px',
3001
+ borderWidth: 2,
3002
+ borderRadius: 10,
2944
3003
  icon: {
2945
3004
  size: 20
2946
3005
  },
2947
3006
  padding: {
2948
- "default": '7px 16px',
2949
- iOSSingleLine: '12px 16px'
3007
+ "default": '5px 16px',
3008
+ iOSSingleLine: '9px 16px'
3009
+ },
3010
+ transition: {
3011
+ property: 'border-color',
3012
+ duration: '200ms',
3013
+ timingFunction: 'ease-in-out'
2950
3014
  },
2951
3015
  states: inputStatesStyle
2952
3016
  };
2953
3017
 
2954
- var inputFieldLateOceanTheme = {
3018
+ var inputField = {
2955
3019
  labelContainerPaddingBottom: 5,
2956
3020
  iconMarginLeft: 6
2957
3021
  };
2958
3022
 
2959
- var radioLateOceanTheme = {
3023
+ var radio = {
2960
3024
  size: 18,
2961
3025
  unchecked: {
2962
- backgroundColor: lateOceanColorPalette.white,
2963
- borderWidth: '2px',
3026
+ backgroundColor: colors.uiBackgroundLight,
3027
+ borderWidth: 2,
2964
3028
  borderColor: lateOceanColorPalette.black200
2965
3029
  },
2966
3030
  checked: {
2967
- backgroundColor: lateOceanColorPalette.lateOcean,
3031
+ backgroundColor: colors.primary,
2968
3032
  innerSize: 5,
2969
- innerBackgroundColor: lateOceanColorPalette.white
3033
+ innerBackgroundColor: colors.uiBackgroundLight
2970
3034
  },
2971
3035
  disabled: {
2972
- backgroundColor: lateOceanColorPalette.black50,
2973
- borderColor: lateOceanColorPalette.black100
3036
+ backgroundColor: colors.disabled,
3037
+ borderColor: colors.separator
2974
3038
  }
2975
3039
  };
2976
3040
 
@@ -2980,12 +3044,12 @@ var textArea = {
2980
3044
 
2981
3045
  var forms = {
2982
3046
  input: input,
2983
- radio: radioLateOceanTheme,
2984
- inputField: inputFieldLateOceanTheme,
3047
+ radio: radio,
3048
+ inputField: inputField,
2985
3049
  textArea: textArea
2986
3050
  };
2987
3051
 
2988
- var fullScreenModalLateOceanTheme = {
3052
+ var fullScreenModal = {
2989
3053
  header: {
2990
3054
  paddingVertical: 12,
2991
3055
  paddingHorizontal: 16,
@@ -3017,77 +3081,77 @@ var iconButton = {
3017
3081
  },
3018
3082
  disabled: {
3019
3083
  scale: 1,
3020
- backgroundColor: buttonLateOceanTheme.disabled.backgroundColor,
3021
- borderColor: buttonLateOceanTheme.disabled.borderColor
3084
+ backgroundColor: button.disabled.backgroundColor,
3085
+ borderColor: button.disabled.borderColor
3022
3086
  },
3023
3087
  "default": {
3024
- pressedBackgroundColor: buttonLateOceanTheme["default"].pressedBackgroundColor
3088
+ pressedBackgroundColor: button["default"].pressedBackgroundColor
3025
3089
  },
3026
3090
  white: {
3027
- pressedBackgroundColor: buttonLateOceanTheme.white.hoverBackgroundColor
3091
+ pressedBackgroundColor: button.white.hoverBackgroundColor
3028
3092
  }
3029
3093
  };
3030
3094
 
3031
- var listItemLateOceanTheme = {
3095
+ var listItem = {
3032
3096
  padding: '12px 16px',
3033
- borderColor: colorsLateOceanTheme.separator,
3034
- borderWidth: '1px',
3035
- innerMargin: '8px'
3097
+ borderColor: colors.separator,
3098
+ borderWidth: 1,
3099
+ innerMargin: 8
3036
3100
  };
3037
3101
 
3038
- var shadowsLateOceanTheme = {
3102
+ var shadows = {
3039
3103
  medium: '0px 10px 20px rgba(41, 48, 51, 0.25)'
3040
3104
  };
3041
3105
 
3042
- var skeletonTheme = {
3106
+ var skeleton = {
3043
3107
  backgroundColor: lateOceanColorPalette.black100,
3044
3108
  flareColor: lateOceanColorPalette.black200,
3045
3109
  animationDuration: 1000
3046
3110
  };
3047
3111
 
3048
- var tagLateOceanTheme = {
3049
- borderRadius: '10px',
3112
+ var tag = {
3113
+ borderRadius: 10,
3050
3114
  padding: '2px 12px',
3051
3115
  primary: {
3052
3116
  fill: {
3053
3117
  backgroundColor: lateOceanColorPalette.moonPurpleLight1,
3054
- borderWidth: '0',
3055
- borderColor: lateOceanColorPalette.transparent
3118
+ borderWidth: 0,
3119
+ borderColor: colors.transparent
3056
3120
  },
3057
3121
  outline: {
3058
- backgroundColor: lateOceanColorPalette.transparent,
3059
- borderWidth: '1px',
3060
- borderColor: lateOceanColorPalette.lateOcean
3122
+ backgroundColor: colors.transparent,
3123
+ borderWidth: 1,
3124
+ borderColor: colors.primary
3061
3125
  }
3062
3126
  },
3063
3127
  "default": {
3064
3128
  fill: {
3065
3129
  backgroundColor: lateOceanColorPalette.black50,
3066
- borderWidth: '0',
3067
- borderColor: lateOceanColorPalette.transparent
3130
+ borderWidth: 0,
3131
+ borderColor: colors.transparent
3068
3132
  },
3069
3133
  outline: {
3070
- backgroundColor: lateOceanColorPalette.transparent,
3071
- borderWidth: '1px',
3072
- borderColor: lateOceanColorPalette.black1000
3134
+ backgroundColor: colors.transparent,
3135
+ borderWidth: 1,
3136
+ borderColor: colors.black
3073
3137
  }
3074
3138
  },
3075
3139
  danger: {
3076
3140
  fill: {
3077
3141
  backgroundColor: lateOceanColorPalette.warmEmbrace,
3078
- borderWidth: '0',
3079
- borderColor: lateOceanColorPalette.transparent
3142
+ borderWidth: 0,
3143
+ borderColor: colors.transparent
3080
3144
  },
3081
3145
  outline: {
3082
- backgroundColor: lateOceanColorPalette.transparent,
3083
- borderWidth: '1px',
3084
- borderColor: colorsLateOceanTheme.danger
3146
+ backgroundColor: colors.transparent,
3147
+ borderWidth: 1,
3148
+ borderColor: colors.danger
3085
3149
  }
3086
3150
  }
3087
3151
  };
3088
3152
 
3089
3153
  var tooltip = {
3090
- backgroundColor: colorsLateOceanTheme.black,
3154
+ backgroundColor: colors.black,
3091
3155
  borderRadius: 10,
3092
3156
  opacity: 0.95,
3093
3157
  horizontalPadding: 16,
@@ -3120,23 +3184,23 @@ var breakpoints = {
3120
3184
 
3121
3185
  var theme = {
3122
3186
  spacing: 4,
3123
- colors: colorsLateOceanTheme,
3187
+ colors: colors,
3124
3188
  palettes: {
3125
3189
  lateOcean: lateOceanColorPalette
3126
3190
  },
3127
3191
  avatar: avatar,
3128
- button: buttonLateOceanTheme,
3129
- card: cardLateOceanTheme,
3130
- feedbackMessage: feedbackMessageLateOceanTheme,
3192
+ button: button,
3193
+ card: card,
3194
+ feedbackMessage: feedbackMessage,
3131
3195
  forms: forms,
3132
- typography: typographyLateOceanTheme,
3133
- tag: tagLateOceanTheme,
3134
- shadows: shadowsLateOceanTheme,
3135
- fullScreenModal: fullScreenModalLateOceanTheme,
3196
+ typography: typography,
3197
+ tag: tag,
3198
+ shadows: shadows,
3199
+ fullScreenModal: fullScreenModal,
3136
3200
  iconButton: iconButton,
3137
- listItem: listItemLateOceanTheme,
3201
+ listItem: listItem,
3138
3202
  tooltip: tooltip,
3139
- skeleton: skeletonTheme,
3203
+ skeleton: skeleton,
3140
3204
  breakpoints: breakpoints
3141
3205
  };
3142
3206
 
@@ -3301,25 +3365,6 @@ function TimePicker(_ref) {
3301
3365
  function ownKeys$3(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3302
3366
 
3303
3367
  function _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$3(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$3(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3304
-
3305
- var Arrow = function (props) {
3306
- return /*#__PURE__*/jsx("svg", _objectSpread$3(_objectSpread$3({}, props), {}, {
3307
- children: /*#__PURE__*/jsx("path", {
3308
- fillRule: "evenodd",
3309
- clipRule: "evenodd",
3310
- 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",
3311
- fill: "currentColor"
3312
- })
3313
- }));
3314
- };
3315
-
3316
- Arrow.defaultProps = {
3317
- width: "36",
3318
- height: "8",
3319
- viewBox: "0 0 36 9",
3320
- fill: "none",
3321
- xmlns: "http://www.w3.org/2000/svg"
3322
- };
3323
3368
  var StyledTooltipView = /*#__PURE__*/styled.View.withConfig({
3324
3369
  displayName: "TooltipView__StyledTooltipView"
3325
3370
  })(["align-items:center;"]);
@@ -3342,7 +3387,7 @@ var StyledTooltipContent = /*#__PURE__*/styled.View.withConfig({
3342
3387
  function ArrowView(props) {
3343
3388
  var theme = /*#__PURE__*/useTheme();
3344
3389
  return /*#__PURE__*/jsx(View, _objectSpread$3(_objectSpread$3({}, props), {}, {
3345
- children: /*#__PURE__*/jsx(Arrow, {
3390
+ children: /*#__PURE__*/jsx(TooltipArrowIcon, {
3346
3391
  color: theme.kitt.tooltip.backgroundColor
3347
3392
  })
3348
3393
  }));
@@ -3417,7 +3462,7 @@ function Tooltip(_ref) {
3417
3462
  };
3418
3463
  _f.asString = "function _f(){const{withSpring,pressed,theme}=jsThis._closure;{return{opacity:withSpring(pressed.value?theme.kitt.tooltip.opacity:0)};}}";
3419
3464
  _f.__workletHash = 15953928507970;
3420
- _f.__location = "/home/circleci/repo/@ornikar/kitt-universal/src/Tooltip/Tooltip.tsx (57:41)";
3465
+ _f.__location = "/home/circleci/repo/@ornikar/kitt-universal/src/Tooltip/Tooltip.tsx (59:41)";
3421
3466
  _f.__optimalization = 2;
3422
3467
 
3423
3468
  global.__reanimatedWorkletInit(_f);
@@ -3503,13 +3548,8 @@ function TypographyEmoji(_ref2) {
3503
3548
  var typeConfig = getTypographyTypeConfig(typeForCurrentWindowSize || 'body', theme);
3504
3549
  var typeConfigKey = getTypographyTypeConfigKey(theme);
3505
3550
  var fontSize = typeConfig[typeConfigKey].fontSize;
3506
-
3507
- if ((process.env.NODE_ENV !== "production")) {
3508
- if (!fontSize.endsWith('px')) throw new Error("Unexpected font-size value: ".concat(fontSize));
3509
- }
3510
-
3511
3551
  return /*#__PURE__*/jsx(StyledTypographyEmoji, {
3512
- size: parseInt(fontSize.slice(0, -2), 10),
3552
+ size: fontSize,
3513
3553
  emoji: emoji
3514
3554
  });
3515
3555
  }
@@ -3674,9 +3714,7 @@ function MatchWindowSize(_ref) {
3674
3714
 
3675
3715
  var match = useMatchWindowSize(matchWindowSizeOptions);
3676
3716
  if (!match) return null;
3677
- return /*#__PURE__*/jsx(Fragment$1, {
3678
- children: children
3679
- });
3717
+ return children;
3680
3718
  }
3681
3719
 
3682
3720
  function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
@@ -3703,5 +3741,5 @@ function withTheme(WrappedComponent) {
3703
3741
  });
3704
3742
  }
3705
3743
 
3706
- export { Avatar, Button, Card, Emoji, ExternalLink, Flex, FullScreenModal, Icon, IconButton, InputFeedback, InputField, InputIcon, InputPassword, InputPressable, InputText, KittBreakpoints, KittBreakpointsMax, KittThemeDecorator, KittThemeProvider, Label, LargeLoader, ListItem, Loader, MatchWindowSize, Message, Modal, Notification, Radio, DeprecatedSection as Section, Skeleton, Story, StoryBlock, StoryContainer, StoryDecorator, StoryGrid, StorySection, StoryTitle, StyleWebWrapper, Tag, TextArea, TimePicker, Tooltip, Typography, TypographyEmoji, TypographyIcon, TypographyLink, createWindowSizeHelper, hex2rgba, matchWindowSize, styledTextInputMixin, theme, useKittTheme, useMatchWindowSize, useStoryBlockColor, withTheme };
3744
+ export { Avatar, Button, Card, Emoji, ExternalLink, Flex, FullScreenModal, Icon, IconButton, InputEmail, InputFeedback, InputField, InputIcon, InputPassword, InputPressable, InputText, KittBreakpoints, KittBreakpointsMax, KittThemeDecorator, KittThemeProvider, Label, LargeLoader, ListItem, Loader, MatchWindowSize, Message, Modal, Notification, Radio, DeprecatedSection as Section, Skeleton, Story, StoryBlock, StoryContainer, StoryDecorator, StoryGrid, StorySection, StoryTitle, StyleWebWrapper, Tag, TextArea, TimePicker, Tooltip, Typography, TypographyEmoji, TypographyIcon, TypographyLink, createWindowSizeHelper, hex2rgba, matchWindowSize, styledTextInputMixin, theme, useKittTheme, useMatchWindowSize, useStoryBlockColor, withTheme };
3707
3745
  //# sourceMappingURL=index-browser-all.es.ios.js.map