@ornikar/kitt-universal 9.1.3 → 9.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 (63) hide show
  1. package/dist/definitions/ModalBehaviour/ModalBehaviour.d.ts +18 -0
  2. package/dist/definitions/ModalBehaviour/ModalBehaviour.d.ts.map +1 -0
  3. package/dist/definitions/ModalBehaviour/ModalBehaviourPortal.d.ts +7 -0
  4. package/dist/definitions/ModalBehaviour/ModalBehaviourPortal.d.ts.map +1 -0
  5. package/dist/definitions/ModalBehaviour/ModalBehaviourPortal.web.d.ts +4 -0
  6. package/dist/definitions/ModalBehaviour/ModalBehaviourPortal.web.d.ts.map +1 -0
  7. package/dist/definitions/ModalBehaviour/OnCloseContext.d.ts +11 -0
  8. package/dist/definitions/ModalBehaviour/OnCloseContext.d.ts.map +1 -0
  9. package/dist/definitions/NavigationModal/Body.d.ts +9 -0
  10. package/dist/definitions/NavigationModal/Body.d.ts.map +1 -0
  11. package/dist/definitions/NavigationModal/ContentPadding.d.ts +7 -0
  12. package/dist/definitions/NavigationModal/ContentPadding.d.ts.map +1 -0
  13. package/dist/definitions/NavigationModal/Footer.d.ts +11 -0
  14. package/dist/definitions/NavigationModal/Footer.d.ts.map +1 -0
  15. package/dist/definitions/NavigationModal/Header.d.ts +31 -0
  16. package/dist/definitions/NavigationModal/Header.d.ts.map +1 -0
  17. package/dist/definitions/NavigationModal/NavigationModal.d.ts +17 -0
  18. package/dist/definitions/NavigationModal/NavigationModal.d.ts.map +1 -0
  19. package/dist/definitions/NavigationModal/NavigationModalContainer.d.ts +8 -0
  20. package/dist/definitions/NavigationModal/NavigationModalContainer.d.ts.map +1 -0
  21. package/dist/definitions/index.d.ts +6 -0
  22. package/dist/definitions/index.d.ts.map +1 -1
  23. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +3498 -3556
  24. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
  25. package/dist/definitions/native-base/acceptable-native-base-props.d.ts +9 -0
  26. package/dist/definitions/native-base/acceptable-native-base-props.d.ts.map +1 -0
  27. package/dist/definitions/native-base/layout.d.ts +23 -0
  28. package/dist/definitions/native-base/layout.d.ts.map +1 -0
  29. package/dist/definitions/native-base/primitives.d.ts +21 -0
  30. package/dist/definitions/native-base/primitives.d.ts.map +1 -0
  31. package/dist/definitions/themes/default.d.ts +1 -0
  32. package/dist/definitions/themes/default.d.ts.map +1 -1
  33. package/dist/definitions/themes/late-ocean/navigationModal.d.ts +6 -0
  34. package/dist/definitions/themes/late-ocean/navigationModal.d.ts.map +1 -0
  35. package/dist/definitions/typography/Typography.d.ts.map +1 -1
  36. package/dist/index-browser-all.es.android.js +378 -70
  37. package/dist/index-browser-all.es.android.js.map +1 -1
  38. package/dist/index-browser-all.es.ios.js +378 -70
  39. package/dist/index-browser-all.es.ios.js.map +1 -1
  40. package/dist/index-browser-all.es.js +378 -70
  41. package/dist/index-browser-all.es.js.map +1 -1
  42. package/dist/index-browser-all.es.web.js +457 -126
  43. package/dist/index-browser-all.es.web.js.map +1 -1
  44. package/dist/index-node-14.17.cjs.js +337 -19
  45. package/dist/index-node-14.17.cjs.js.map +1 -1
  46. package/dist/index-node-14.17.cjs.web.css +1 -0
  47. package/dist/index-node-14.17.cjs.web.js +349 -19
  48. package/dist/index-node-14.17.cjs.web.js.map +1 -1
  49. package/dist/linaria-themes-browser-all.es.android.js +7 -1
  50. package/dist/linaria-themes-browser-all.es.android.js.map +1 -1
  51. package/dist/linaria-themes-browser-all.es.ios.js +7 -1
  52. package/dist/linaria-themes-browser-all.es.ios.js.map +1 -1
  53. package/dist/linaria-themes-browser-all.es.js +7 -1
  54. package/dist/linaria-themes-browser-all.es.js.map +1 -1
  55. package/dist/linaria-themes-browser-all.es.web.js +7 -1
  56. package/dist/linaria-themes-browser-all.es.web.js.map +1 -1
  57. package/dist/linaria-themes-node-14.17.cjs.js +7 -1
  58. package/dist/linaria-themes-node-14.17.cjs.js.map +1 -1
  59. package/dist/linaria-themes-node-14.17.cjs.web.js +7 -1
  60. package/dist/linaria-themes-node-14.17.cjs.web.js.map +1 -1
  61. package/dist/styles.css +1 -0
  62. package/dist/tsbuildinfo +1 -1
  63. package/package.json +6 -3
@@ -1,26 +1,27 @@
1
1
  import _objectSpread from '@babel/runtime/helpers/objectSpread2';
2
2
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
- import { View, Image, Pressable, Linking, useWindowDimensions, TextInput, StyleSheet, ScrollView, Modal as Modal$1, Text as Text$2 } from 'react-native';
3
+ import { View as View$1, Image, Pressable as Pressable$1, Linking, useWindowDimensions, TextInput, StyleSheet, ScrollView as ScrollView$1, Modal as Modal$1, Text as Text$2 } from 'react-native';
4
4
  export { useWindowDimensions as useWindowSize } from 'react-native';
5
5
  import { UserIcon, CheckboxMark, EyeOffIcon, EyeIcon, ArcIcon, InfoIcon, AlertTriangleIcon, CheckIcon, AlertCircleIcon, XIcon, TooltipArrowIcon } from '@ornikar/kitt-icons';
6
6
  export * from '@ornikar/kitt-icons';
7
7
  import styled, { useTheme, css, ThemeProvider } from 'styled-components/native';
8
- import { cloneElement, useContext, createContext, forwardRef, useMemo, useState, Fragment, Children, useEffect } from 'react';
8
+ import { cloneElement, useContext, createContext, forwardRef, useMemo, useState, Fragment, useEffect, Children } from 'react';
9
9
  import { jsx, jsxs, Fragment as Fragment$1 } from 'react/jsx-runtime';
10
- import { Text as Text$1, Image as Image$1, extendTheme, NativeBaseProvider } from 'native-base';
11
- import { styled as styled$1 } from '@linaria/react';
12
10
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
11
+ import { Text as Text$1, Image as Image$1, NativeBaseProvider, extendTheme, Stack as Stack$1, VStack as VStack$1, HStack as HStack$1, View as View$2, ScrollView as ScrollView$2, Pressable as Pressable$2 } from 'native-base';
12
+ import { styled as styled$1 } from '@linaria/react';
13
13
  import { parse } from 'twemoji-parser';
14
14
  import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
15
15
  import _regeneratorRuntime from '@babel/runtime/regenerator';
16
16
  import _extends from '@babel/runtime/helpers/extends';
17
17
  import { useSafeAreaInsets } from 'react-native-safe-area-context';
18
+ import { Portal } from 'react-portal';
18
19
  import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
19
20
  import { useFloating, offset, shift, flip, getScrollParents } from '@floating-ui/react-dom';
20
21
  import { makeDecorator } from '@storybook/addons';
21
22
 
22
23
  var defaultIconSize = 20;
23
- var IconContainer$1 = /*#__PURE__*/styled(View).withConfig({
24
+ var IconContainer$1 = /*#__PURE__*/styled(View$1).withConfig({
24
25
  displayName: "Icon__IconContainer",
25
26
  componentId: "kitt-universal__sc-usm0ol-0"
26
27
  })(["color:", ";width:", "px;height:", "px;align-self:", ";"], function (_ref) {
@@ -111,7 +112,7 @@ var KittBreakpointNameEnum;
111
112
  KittBreakpointNameEnum["WIDE"] = "wide";
112
113
  })(KittBreakpointNameEnum || (KittBreakpointNameEnum = {}));
113
114
 
114
- var _excluded$h = ["accessibilityRole", "base", "small", "medium", "large", "wide", "type", "variant", "color"];
115
+ var _excluded$j = ["accessibilityRole", "base", "small", "medium", "large", "wide", "type", "variant", "color"];
115
116
  var IsHeaderTypographyContext = /*#__PURE__*/createContext(undefined);
116
117
  var TypographyColorContext = /*#__PURE__*/createContext('black');
117
118
  function useTypographyColor() {
@@ -172,7 +173,7 @@ function Typography(_ref) {
172
173
  } : _ref$type,
173
174
  variant = _ref.variant,
174
175
  color = _ref.color,
175
- otherProps = _objectWithoutProperties(_ref, _excluded$h);
176
+ otherProps = _objectWithoutProperties(_ref, _excluded$j);
176
177
 
177
178
  var isHeaderTypographyInContext = useContext(IsHeaderTypographyContext);
178
179
  var hasTypographyAncestor = isHeaderTypographyInContext !== undefined;
@@ -183,6 +184,18 @@ function Typography(_ref) {
183
184
  base: baseOrDefaultToBody
184
185
  }));
185
186
 
187
+ if (process.env.NODE_ENV !== 'production') {
188
+ Object.entries(type).forEach(function (_ref2) {
189
+ var _ref3 = _slicedToArray(_ref2, 2),
190
+ key = _ref3[0],
191
+ value = _ref3[1];
192
+
193
+ if (value && isTypeHeader(value) !== isHeader) {
194
+ throw new Error("Invalid value for \"".concat(key, "\": \"").concat(value, "\" is ").concat(isHeader ? 'not' : '', " an header. Don't mix headers and bodies."));
195
+ }
196
+ });
197
+ }
198
+
186
199
  var text = /*#__PURE__*/jsx(Text$1, _objectSpread({
187
200
  accessibilityRole: accessibilityRole || undefined,
188
201
  fontSize: fontSizeForNativeBase,
@@ -255,13 +268,13 @@ Typography.h4 = createHeading(4, 'header4');
255
268
 
256
269
  Typography.h5 = createHeading(5, 'header5');
257
270
 
258
- var _excluded$g = ["size", "round", "light", "sizeVariant"];
271
+ var _excluded$i = ["size", "round", "light", "sizeVariant"];
259
272
 
260
273
  var getInitials = function (firstname, lastname) {
261
274
  return "".concat(firstname[0]).concat(lastname[0]).toUpperCase();
262
275
  };
263
276
 
264
- var StyledAvatarView = /*#__PURE__*/styled(View).withConfig({
277
+ var StyledAvatarView = /*#__PURE__*/styled(View$1).withConfig({
265
278
  displayName: "Avatar__StyledAvatarView",
266
279
  componentId: "kitt-universal__sc-9miubv-0"
267
280
  })(["border-radius:", ";background-color:", ";height:", "px;width:", "px;overflow:hidden;align-items:center;justify-content:center;"], function (_ref) {
@@ -327,7 +340,7 @@ function Avatar(_ref6) {
327
340
  round = _ref6.round,
328
341
  light = _ref6.light,
329
342
  sizeVariant = _ref6.sizeVariant,
330
- props = _objectWithoutProperties(_ref6, _excluded$g);
343
+ props = _objectWithoutProperties(_ref6, _excluded$i);
331
344
 
332
345
  return /*#__PURE__*/jsx(StyledAvatarView, {
333
346
  $size: size,
@@ -394,7 +407,7 @@ function isSubtle(type) {
394
407
  return type.startsWith('subtle');
395
408
  }
396
409
 
397
- var _excluded$f = ["$type", "$variant", "$isStretch", "disabled"];
410
+ var _excluded$h = ["$type", "$variant", "$isStretch", "disabled"];
398
411
  var AnimatedButtonPressableContainer = withTheme( /*#__PURE__*/styled$1("div")({
399
412
  name: "AnimatedButtonPressableContainer",
400
413
  "class": "kitt-u_AnimatedButtonPressableContainer_a1vkj3mh",
@@ -508,7 +521,7 @@ var AnimatedButtonPressable = /*#__PURE__*/forwardRef(function (_ref18, ref) {
508
521
  $variant = _ref18.$variant,
509
522
  $isStretch = _ref18.$isStretch,
510
523
  disabled = _ref18.disabled,
511
- props = _objectWithoutProperties(_ref18, _excluded$f);
524
+ props = _objectWithoutProperties(_ref18, _excluded$h);
512
525
 
513
526
  return /*#__PURE__*/jsx(AnimatedButtonPressableContainer, {
514
527
  ref: ref,
@@ -516,13 +529,13 @@ var AnimatedButtonPressable = /*#__PURE__*/forwardRef(function (_ref18, ref) {
516
529
  $variant: $variant,
517
530
  $isDisabled: !!disabled,
518
531
  $isStretch: $isStretch,
519
- children: /*#__PURE__*/jsx(Pressable, _objectSpread({
532
+ children: /*#__PURE__*/jsx(Pressable$1, _objectSpread({
520
533
  disabled: disabled
521
534
  }, props))
522
535
  });
523
536
  });
524
537
 
525
- var BaseStyledButtonPressable = /*#__PURE__*/styled(View).withConfig({
538
+ var BaseStyledButtonPressable = /*#__PURE__*/styled(View$1).withConfig({
526
539
  displayName: "BaseStyledButtonPressable",
527
540
  componentId: "kitt-universal__sc-4k8lse-0"
528
541
  })(["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) {
@@ -563,12 +576,12 @@ var BaseStyledButtonPressable = /*#__PURE__*/styled(View).withConfig({
563
576
  return defaultPadding;
564
577
  });
565
578
 
566
- var _excluded$e = ["color"],
579
+ var _excluded$g = ["color"],
567
580
  _excluded2$3 = ["color"];
568
581
 
569
582
  function TypographyIconSpecifiedColor(_ref) {
570
583
  var color = _ref.color,
571
- props = _objectWithoutProperties(_ref, _excluded$e);
584
+ props = _objectWithoutProperties(_ref, _excluded$g);
572
585
 
573
586
  var theme = /*#__PURE__*/useTheme();
574
587
  return /*#__PURE__*/jsx(Icon, _objectSpread(_objectSpread({}, props), {}, {
@@ -596,7 +609,7 @@ function TypographyIcon(_ref2) {
596
609
  return /*#__PURE__*/jsx(TypographyIconInheritColor, _objectSpread({}, props));
597
610
  }
598
611
 
599
- var _excluded$d = ["type", "variant", "isDisabled", "$isStretch", "icon", "children"];
612
+ var _excluded$f = ["type", "variant", "isDisabled", "$isStretch", "icon", "children"];
600
613
 
601
614
  var getTextColorByType = function (type, variant) {
602
615
  switch (type) {
@@ -638,7 +651,7 @@ var StyledButtonText = /*#__PURE__*/styled(Typography.Text).withConfig({
638
651
  if ($isDisabled || !isSubtle($type)) return undefined;
639
652
  return 'color: inherit';
640
653
  });
641
- var StyledIconContainer$1 = /*#__PURE__*/styled(View).withConfig({
654
+ var StyledIconContainer$1 = /*#__PURE__*/styled(View$1).withConfig({
642
655
  displayName: "ButtonContent__StyledIconContainer",
643
656
  componentId: "kitt-universal__sc-dnyw3n-1"
644
657
  })(["", ""], function (_ref2) {
@@ -668,7 +681,7 @@ function ButtonIcon(_ref3) {
668
681
  });
669
682
  }
670
683
 
671
- var StyledChildrenWithIcon = /*#__PURE__*/styled(View).withConfig({
684
+ var StyledChildrenWithIcon = /*#__PURE__*/styled(View$1).withConfig({
672
685
  displayName: "ButtonContent__StyledChildrenWithIcon",
673
686
  componentId: "kitt-universal__sc-dnyw3n-2"
674
687
  })(["align-items:center;justify-content:center;flex-direction:row;"]);
@@ -718,7 +731,7 @@ function ButtonContentChildren(_ref4) {
718
731
  })) : null]
719
732
  });
720
733
  }
721
- var ButtonContentContainer = /*#__PURE__*/styled(View).withConfig({
734
+ var ButtonContentContainer = /*#__PURE__*/styled(View$1).withConfig({
722
735
  displayName: "ButtonContent__ButtonContentContainer",
723
736
  componentId: "kitt-universal__sc-dnyw3n-3"
724
737
  })(["line-height:16px;", " ", ";"], function (_ref5) {
@@ -738,7 +751,7 @@ function ButtonContent(_ref7) {
738
751
  $isStretch = _ref7.$isStretch,
739
752
  icon = _ref7.icon,
740
753
  children = _ref7.children,
741
- props = _objectWithoutProperties(_ref7, _excluded$d);
754
+ props = _objectWithoutProperties(_ref7, _excluded$f);
742
755
 
743
756
  var color = isDisabled ? 'black-light' : getTextColorByType(type, variant);
744
757
  return /*#__PURE__*/jsx(ButtonContentContainer, {
@@ -832,7 +845,7 @@ var Button = /*#__PURE__*/forwardRef(function (_ref2, ref) {
832
845
  });
833
846
  });
834
847
 
835
- var Container$3 = /*#__PURE__*/styled(View).withConfig({
848
+ var Container$3 = /*#__PURE__*/styled(View$1).withConfig({
836
849
  displayName: "Card__Container",
837
850
  componentId: "kitt-universal__sc-1n9psug-0"
838
851
  })(["background-color:", ";padding:", "px;border-radius:", "px;border-width:", "px;border-color:", ";"], function (_ref) {
@@ -892,7 +905,7 @@ function Emoji(_ref) {
892
905
  });
893
906
  }
894
907
 
895
- var _excluded$c = ["as", "appScheme", "appValue", "onPress", "onOpenAppError"],
908
+ var _excluded$e = ["as", "appScheme", "appValue", "onPress", "onOpenAppError"],
896
909
  _excluded2$2 = ["phoneNumber", "children"],
897
910
  _excluded3$1 = ["phoneNumber", "children"],
898
911
  _excluded4 = ["emailAddress", "children"];
@@ -902,7 +915,7 @@ function ExternalAppLink(_ref) {
902
915
  appValue = _ref.appValue,
903
916
  onPress = _ref.onPress,
904
917
  onOpenAppError = _ref.onOpenAppError,
905
- rest = _objectWithoutProperties(_ref, _excluded$c);
918
+ rest = _objectWithoutProperties(_ref, _excluded$e);
906
919
 
907
920
  var href = "".concat(appScheme, ":").concat(appValue);
908
921
 
@@ -925,26 +938,25 @@ function ExternalAppLink(_ref) {
925
938
  break;
926
939
  }
927
940
 
928
- Linking.openURL(href)["catch"](function (err) {
929
- console.error("An error occurred while opening ".concat(href), err);
930
- onOpenAppError === null || onOpenAppError === void 0 ? void 0 : onOpenAppError("An error occurred while opening ".concat(href));
931
- });
932
-
933
941
  if (!onPress) {
934
- _context.next = 10;
942
+ _context.next = 9;
935
943
  break;
936
944
  }
937
945
 
938
946
  onPress(e);
939
947
 
940
948
  if (!(e !== null && e !== void 0 && e.defaultPrevented)) {
941
- _context.next = 10;
949
+ _context.next = 9;
942
950
  break;
943
951
  }
944
952
 
945
953
  return _context.abrupt("return");
946
954
 
947
- case 10:
955
+ case 9:
956
+ Linking.openURL(href)["catch"](function (err) {
957
+ console.error("An error occurred while opening ".concat(href), err);
958
+ onOpenAppError === null || onOpenAppError === void 0 ? void 0 : onOpenAppError("An error occurred while opening ".concat(href));
959
+ });
948
960
  _context.next = 13;
949
961
  break;
950
962
 
@@ -1021,14 +1033,14 @@ var defaultOpenLinkBehavior = {
1021
1033
  web: 'targetBlank'
1022
1034
  };
1023
1035
 
1024
- var _excluded$b = ["as", "href", "openLinkBehavior", "onPress"];
1036
+ var _excluded$d = ["as", "href", "openLinkBehavior", "onPress"];
1025
1037
  function ExternalLink(_ref) {
1026
1038
  var Component = _ref.as,
1027
1039
  href = _ref.href,
1028
1040
  _ref$openLinkBehavior = _ref.openLinkBehavior,
1029
1041
  openLinkBehavior = _ref$openLinkBehavior === void 0 ? defaultOpenLinkBehavior : _ref$openLinkBehavior,
1030
1042
  onPress = _ref.onPress,
1031
- rest = _objectWithoutProperties(_ref, _excluded$b);
1043
+ rest = _objectWithoutProperties(_ref, _excluded$d);
1032
1044
 
1033
1045
  return /*#__PURE__*/jsx(Component, _objectSpread(_objectSpread({}, rest), {}, {
1034
1046
  href: href,
@@ -1502,6 +1514,11 @@ var listItem = {
1502
1514
  innerMargin: 8
1503
1515
  };
1504
1516
 
1517
+ var navigationModal = {
1518
+ height: 56,
1519
+ padding: 16
1520
+ };
1521
+
1505
1522
  var pageLoader = {
1506
1523
  size: 60,
1507
1524
  strokeWidth: 3,
@@ -1647,7 +1664,8 @@ var theme = {
1647
1664
  skeleton: skeleton,
1648
1665
  tag: tag,
1649
1666
  tooltip: tooltip,
1650
- typography: typography
1667
+ typography: typography,
1668
+ navigationModal: navigationModal
1651
1669
  };
1652
1670
 
1653
1671
  function matchWindowSize(_ref, _ref2) {
@@ -1723,11 +1741,11 @@ function useKittTheme() {
1723
1741
  }, [dimensions]);
1724
1742
  }
1725
1743
 
1726
- var CheckboxAndLabelPressableWrapper = /*#__PURE__*/styled(Pressable).withConfig({
1744
+ var CheckboxAndLabelPressableWrapper = /*#__PURE__*/styled(Pressable$1).withConfig({
1727
1745
  displayName: "Checkbox__CheckboxAndLabelPressableWrapper",
1728
1746
  componentId: "kitt-universal__sc-1sav1n6-0"
1729
1747
  })(["display:flex;flex-direction:row;"]);
1730
- var CheckboxContainer = /*#__PURE__*/styled(View).withConfig({
1748
+ var CheckboxContainer = /*#__PURE__*/styled(View$1).withConfig({
1731
1749
  displayName: "Checkbox__CheckboxContainer",
1732
1750
  componentId: "kitt-universal__sc-1sav1n6-1"
1733
1751
  })(["display:flex;flex-direction:row;align-items:center;justify-content:center;height:", "px;width:", "px;position:relative;border-radius:", "px;", " margin-right:", ";"], function (_ref) {
@@ -1836,7 +1854,7 @@ var StyledTypographyText = /*#__PURE__*/styled(Typography.Text).withConfig({
1836
1854
  displayName: "DatePickerInputPart__StyledTypographyText",
1837
1855
  componentId: "kitt-universal__sc-11fmlmi-0"
1838
1856
  })(["text-align:center;"]);
1839
- var ViewInput = /*#__PURE__*/styled(View).withConfig({
1857
+ var ViewInput = /*#__PURE__*/styled(View$1).withConfig({
1840
1858
  displayName: "DatePickerInputPart__ViewInput",
1841
1859
  componentId: "kitt-universal__sc-11fmlmi-1"
1842
1860
  })(["", " padding:", ";min-height:", "px;min-width:", ";"], styledTextInputMixin, function (_ref) {
@@ -1875,7 +1893,7 @@ function prefixWithZero(value) {
1875
1893
  return "".concat(value).padStart(2, '0');
1876
1894
  }
1877
1895
 
1878
- var PartContainer = /*#__PURE__*/styled(View).withConfig({
1896
+ var PartContainer = /*#__PURE__*/styled(View$1).withConfig({
1879
1897
  displayName: "DatePickerInputs__PartContainer",
1880
1898
  componentId: "kitt-universal__sc-j9hin5-0"
1881
1899
  })(["margin-right:", ";", ";"], function (_ref) {
@@ -1886,7 +1904,7 @@ var PartContainer = /*#__PURE__*/styled(View).withConfig({
1886
1904
  var $isStretch = _ref2.$isStretch;
1887
1905
  return $isStretch ? css(["flex:0.33;flex-grow:1;"]) : undefined;
1888
1906
  });
1889
- var DatePickerPressable = /*#__PURE__*/styled(Pressable).withConfig({
1907
+ var DatePickerPressable = /*#__PURE__*/styled(Pressable$1).withConfig({
1890
1908
  displayName: "DatePickerInputs__DatePickerPressable",
1891
1909
  componentId: "kitt-universal__sc-j9hin5-1"
1892
1910
  })(["display:flex;flex-direction:row;", ";"], function (_ref3) {
@@ -1950,12 +1968,12 @@ function DatePickerInputs(_ref4) {
1950
1968
  });
1951
1969
  }
1952
1970
 
1953
- var _excluded$a = ["value"];
1971
+ var _excluded$c = ["value"];
1954
1972
  // This is not yet implemented
1955
1973
  // We still display the inputs for chromatic
1956
1974
  function DatePicker(_ref) {
1957
1975
  var value = _ref.value,
1958
- props = _objectWithoutProperties(_ref, _excluded$a);
1976
+ props = _objectWithoutProperties(_ref, _excluded$c);
1959
1977
 
1960
1978
  return /*#__PURE__*/jsx(DatePickerInputs, _objectSpread({
1961
1979
  handleModalOpen: function handleModalOpen() {},
@@ -1995,7 +2013,7 @@ var InputTextContainer = withTheme( /*#__PURE__*/styled$1("div")({
1995
2013
  }
1996
2014
  }));
1997
2015
 
1998
- var _excluded$9 = ["id", "right", "minHeight", "state", "internalForceState", "disabled", "autoCorrect", "textContentType", "autoComplete", "keyboardType", "multiline", "onSubmitEditing", "onFocus", "onBlur"];
2016
+ var _excluded$b = ["id", "right", "minHeight", "state", "internalForceState", "disabled", "autoCorrect", "textContentType", "autoComplete", "keyboardType", "multiline", "onSubmitEditing", "onFocus", "onBlur"];
1999
2017
  var StyledTextInput = /*#__PURE__*/styled(TextInput).withConfig({
2000
2018
  displayName: "InputText__StyledTextInput",
2001
2019
  componentId: "kitt-universal__sc-uke279-0"
@@ -2015,7 +2033,7 @@ var StyledTextInput = /*#__PURE__*/styled(TextInput).withConfig({
2015
2033
  $minHeight = _ref3$$minHeight === void 0 ? theme.kitt.forms.input.minHeight : _ref3$$minHeight;
2016
2034
  return $minHeight;
2017
2035
  });
2018
- var RightInputContainer = /*#__PURE__*/styled(View).withConfig({
2036
+ var RightInputContainer = /*#__PURE__*/styled(View$1).withConfig({
2019
2037
  displayName: "InputText__RightInputContainer",
2020
2038
  componentId: "kitt-universal__sc-uke279-1"
2021
2039
  })(["position:absolute;right:0;top:0;bottom:0;justify-content:center;padding:10px;"]);
@@ -2039,7 +2057,7 @@ var InputText = /*#__PURE__*/forwardRef(function (_ref4, ref) {
2039
2057
  onSubmitEditing = _ref4.onSubmitEditing,
2040
2058
  _onFocus = _ref4.onFocus,
2041
2059
  _onBlur = _ref4.onBlur,
2042
- props = _objectWithoutProperties(_ref4, _excluded$9);
2060
+ props = _objectWithoutProperties(_ref4, _excluded$b);
2043
2061
 
2044
2062
  var theme = /*#__PURE__*/useTheme();
2045
2063
 
@@ -2118,11 +2136,11 @@ function InputFeedback(_ref) {
2118
2136
  });
2119
2137
  }
2120
2138
 
2121
- var FieldContainer = /*#__PURE__*/styled(View).withConfig({
2139
+ var FieldContainer = /*#__PURE__*/styled(View$1).withConfig({
2122
2140
  displayName: "InputField__FieldContainer",
2123
2141
  componentId: "kitt-universal__sc-13fkixs-0"
2124
2142
  })(["padding:5px 0 10px;"]);
2125
- var FeedbackContainer = /*#__PURE__*/styled(View).withConfig({
2143
+ var FeedbackContainer = /*#__PURE__*/styled(View$1).withConfig({
2126
2144
  displayName: "InputField__FeedbackContainer",
2127
2145
  componentId: "kitt-universal__sc-13fkixs-1"
2128
2146
  })(["", ";"], function (_ref) {
@@ -2131,14 +2149,14 @@ var FeedbackContainer = /*#__PURE__*/styled(View).withConfig({
2131
2149
  minWidth: KittBreakpoints.SMALL
2132
2150
  }, 'padding-top: 10px', 'padding-top: 5px');
2133
2151
  });
2134
- var FieldLabelContainer = /*#__PURE__*/styled(View).withConfig({
2152
+ var FieldLabelContainer = /*#__PURE__*/styled(View$1).withConfig({
2135
2153
  displayName: "InputField__FieldLabelContainer",
2136
2154
  componentId: "kitt-universal__sc-13fkixs-2"
2137
2155
  })(["flex-direction:row;align-items:center;padding-bottom:", "px;"], function (_ref2) {
2138
2156
  var theme = _ref2.theme;
2139
2157
  return theme.kitt.forms.inputField.labelContainerPaddingBottom;
2140
2158
  });
2141
- var LabelContainer = /*#__PURE__*/styled(View).withConfig({
2159
+ var LabelContainer = /*#__PURE__*/styled(View$1).withConfig({
2142
2160
  displayName: "InputField__LabelContainer",
2143
2161
  componentId: "kitt-universal__sc-13fkixs-3"
2144
2162
  })(["margin-right:", "px;"], function (_ref3) {
@@ -2192,14 +2210,14 @@ function InputIcon(_ref) {
2192
2210
  function InputPressable(_ref) {
2193
2211
  var props = _extends({}, _ref);
2194
2212
 
2195
- return /*#__PURE__*/jsx(Pressable, _objectSpread({}, props));
2213
+ return /*#__PURE__*/jsx(Pressable$1, _objectSpread({}, props));
2196
2214
  }
2197
2215
 
2198
- var _excluded$8 = ["isPasswordDefaultVisible", "right"];
2216
+ var _excluded$a = ["isPasswordDefaultVisible", "right"];
2199
2217
  function InputPassword(_ref) {
2200
2218
  var isPasswordDefaultVisible = _ref.isPasswordDefaultVisible,
2201
2219
  right = _ref.right,
2202
- props = _objectWithoutProperties(_ref, _excluded$8);
2220
+ props = _objectWithoutProperties(_ref, _excluded$a);
2203
2221
 
2204
2222
  var _useState = useState(Boolean(isPasswordDefaultVisible)),
2205
2223
  _useState2 = _slicedToArray(_useState, 2),
@@ -2238,7 +2256,7 @@ var getTypographyColor = function (type) {
2238
2256
  return type ? 'white' : 'black';
2239
2257
  };
2240
2258
 
2241
- var InputTagContainer = /*#__PURE__*/styled(View).withConfig({
2259
+ var InputTagContainer = /*#__PURE__*/styled(View$1).withConfig({
2242
2260
  displayName: "InputTag__InputTagContainer",
2243
2261
  componentId: "kitt-universal__sc-1511dsf-0"
2244
2262
  })(["align-items:center;justify-content:center;flex-direction:row;align-self:flex-start;overflow:hidden;padding-horizontal:", "px;background-color:", ";border-radius:", "px;"], function (_ref) {
@@ -2261,7 +2279,7 @@ var InputTagContainer = /*#__PURE__*/styled(View).withConfig({
2261
2279
  var theme = _ref3.theme;
2262
2280
  return theme.kitt.forms.inputTag.borderRadius;
2263
2281
  });
2264
- var IconContainer = /*#__PURE__*/styled(View).withConfig({
2282
+ var IconContainer = /*#__PURE__*/styled(View$1).withConfig({
2265
2283
  displayName: "InputTag__IconContainer",
2266
2284
  componentId: "kitt-universal__sc-1511dsf-1"
2267
2285
  })(["margin-right:", "px;"], function (_ref4) {
@@ -2302,7 +2320,7 @@ function Label(_ref) {
2302
2320
  });
2303
2321
  }
2304
2322
 
2305
- var OuterRadio = /*#__PURE__*/styled(View).withConfig({
2323
+ var OuterRadio = /*#__PURE__*/styled(View$1).withConfig({
2306
2324
  displayName: "Radio__OuterRadio",
2307
2325
  componentId: "kitt-universal__sc-1mdgr2o-0"
2308
2326
  })(["background-color:", ";width:", "px;height:", "px;border-radius:", "px;border-width:", "px;border-color:", ";"], function (_ref) {
@@ -2326,7 +2344,7 @@ var OuterRadio = /*#__PURE__*/styled(View).withConfig({
2326
2344
  disabled = _ref6.disabled;
2327
2345
  return theme.kitt.forms.radio[disabled ? 'disabled' : 'unchecked'].borderColor;
2328
2346
  });
2329
- var SelectedOuterRadio = /*#__PURE__*/styled(View).withConfig({
2347
+ var SelectedOuterRadio = /*#__PURE__*/styled(View$1).withConfig({
2330
2348
  displayName: "Radio__SelectedOuterRadio",
2331
2349
  componentId: "kitt-universal__sc-1mdgr2o-1"
2332
2350
  })(["background-color:", ";width:", "px;height:", "px;border-radius:", "px;justify-content:center;align-items:center;"], function (_ref7) {
@@ -2342,7 +2360,7 @@ var SelectedOuterRadio = /*#__PURE__*/styled(View).withConfig({
2342
2360
  var theme = _ref10.theme;
2343
2361
  return theme.kitt.forms.radio.size / 2;
2344
2362
  });
2345
- var SelectedInnerRadio = /*#__PURE__*/styled(View).withConfig({
2363
+ var SelectedInnerRadio = /*#__PURE__*/styled(View$1).withConfig({
2346
2364
  displayName: "Radio__SelectedInnerRadio",
2347
2365
  componentId: "kitt-universal__sc-1mdgr2o-2"
2348
2366
  })(["background-color:", ";width:", "px;height:", "px;border-radius:", "px;"], function (_ref11) {
@@ -2358,7 +2376,7 @@ var SelectedInnerRadio = /*#__PURE__*/styled(View).withConfig({
2358
2376
  var theme = _ref14.theme;
2359
2377
  return theme.kitt.forms.radio.checked.innerSize / 2;
2360
2378
  });
2361
- var Container$2 = /*#__PURE__*/styled(Pressable).withConfig({
2379
+ var Container$2 = /*#__PURE__*/styled(Pressable$1).withConfig({
2362
2380
  displayName: "Radio__Container",
2363
2381
  componentId: "kitt-universal__sc-1mdgr2o-3"
2364
2382
  })(["flex-direction:row;align-items:center;"]);
@@ -2409,7 +2427,7 @@ function TextArea(_ref) {
2409
2427
  }, props));
2410
2428
  }
2411
2429
 
2412
- var Body = /*#__PURE__*/styled(View).withConfig({
2430
+ var Body$1 = /*#__PURE__*/styled(View$1).withConfig({
2413
2431
  displayName: "Body",
2414
2432
  componentId: "kitt-universal__sc-1ofncfn-0"
2415
2433
  })(["", " background-color:", ";flex:1;"], function (_ref) {
@@ -2423,12 +2441,12 @@ var Body = /*#__PURE__*/styled(View).withConfig({
2423
2441
  });
2424
2442
  function FullScreenModalBody(_ref3) {
2425
2443
  var children = _ref3.children;
2426
- return /*#__PURE__*/jsx(Body, {
2444
+ return /*#__PURE__*/jsx(Body$1, {
2427
2445
  children: children
2428
2446
  });
2429
2447
  }
2430
2448
 
2431
- var SideContainer = /*#__PURE__*/styled(View).withConfig({
2449
+ var SideContainer = /*#__PURE__*/styled(View$1).withConfig({
2432
2450
  displayName: "Header__SideContainer",
2433
2451
  componentId: "kitt-universal__sc-dfmxi1-0"
2434
2452
  })(["", ""], function (_ref) {
@@ -2448,7 +2466,7 @@ function getHeaderHorizontalMediumPadding(spacing) {
2448
2466
  return spacing * 6;
2449
2467
  }
2450
2468
 
2451
- var Header = /*#__PURE__*/styled(View).withConfig({
2469
+ var Header$1 = /*#__PURE__*/styled(View$1).withConfig({
2452
2470
  displayName: "Header",
2453
2471
  componentId: "kitt-universal__sc-dfmxi1-1"
2454
2472
  })(["", ";border-bottom-color:", ";border-bottom-width:1px;flex-direction:row;align-items:center;"], function (_ref2) {
@@ -2466,7 +2484,7 @@ var Header = /*#__PURE__*/styled(View).withConfig({
2466
2484
  var theme = _ref3.theme;
2467
2485
  return theme.kitt.fullScreenModal.header.borderColor;
2468
2486
  });
2469
- var HeaderContent = /*#__PURE__*/styled(View).withConfig({
2487
+ var HeaderContent = /*#__PURE__*/styled(View$1).withConfig({
2470
2488
  displayName: "Header__HeaderContent",
2471
2489
  componentId: "kitt-universal__sc-dfmxi1-2"
2472
2490
  })(["", ";", ";justify-content:center;align-items:center;"], function (_ref4) {
@@ -2534,7 +2552,7 @@ function FullScreenModalHeader(_ref6) {
2534
2552
  setRightWidth(event.nativeEvent.layout.width);
2535
2553
  };
2536
2554
 
2537
- return /*#__PURE__*/jsxs(Header, {
2555
+ return /*#__PURE__*/jsxs(Header$1, {
2538
2556
  insetTop: top,
2539
2557
  children: [left ? /*#__PURE__*/jsx(SideContainer, {
2540
2558
  onLayout: function onLayout(e) {
@@ -2556,7 +2574,7 @@ function FullScreenModalHeader(_ref6) {
2556
2574
  });
2557
2575
  }
2558
2576
 
2559
- var Container$1 = /*#__PURE__*/styled(View).withConfig({
2577
+ var Container$1 = /*#__PURE__*/styled(View$1).withConfig({
2560
2578
  displayName: "FullScreenModal__Container",
2561
2579
  componentId: "kitt-universal__sc-11qpbe3-0"
2562
2580
  })(["flex:1;background-color:", ";"], function (_ref) {
@@ -2587,11 +2605,11 @@ function SpinningIcon(_ref) {
2587
2605
  });
2588
2606
  }
2589
2607
 
2590
- var _excluded$7 = ["as", "children"];
2608
+ var _excluded$9 = ["as", "children"];
2591
2609
  function StyleWebWrapper(_ref) {
2592
2610
  var as = _ref.as,
2593
2611
  children = _ref.children,
2594
- props = _objectWithoutProperties(_ref, _excluded$7);
2612
+ props = _objectWithoutProperties(_ref, _excluded$9);
2595
2613
 
2596
2614
  // as or default to div. If as is undefined, T is div but typescript is not sure
2597
2615
  return /*#__PURE__*/jsx(as || 'div', _objectSpread(_objectSpread({}, props), {}, {
@@ -2599,7 +2617,7 @@ function StyleWebWrapper(_ref) {
2599
2617
  }));
2600
2618
  }
2601
2619
 
2602
- var _excluded$6 = ["color", "disabled"];
2620
+ var _excluded$8 = ["color", "disabled"];
2603
2621
  var PressableIconButtonWebWrapper = withTheme( /*#__PURE__*/styled$1("div")({
2604
2622
  name: "PressableIconButtonWebWrapper",
2605
2623
  "class": "kitt-u_PressableIconButtonWebWrapper_p1nlccvg",
@@ -2632,7 +2650,7 @@ var PressableIconButtonWebWrapper = withTheme( /*#__PURE__*/styled$1("div")({
2632
2650
  }]
2633
2651
  }
2634
2652
  }));
2635
- var StyledPressableIconButton = /*#__PURE__*/styled(Pressable).withConfig({
2653
+ var StyledPressableIconButton = /*#__PURE__*/styled(Pressable$1).withConfig({
2636
2654
  displayName: "PressableIconButton__StyledPressableIconButton",
2637
2655
  componentId: "kitt-universal__sc-1m6jo3s-0"
2638
2656
  })(["border-radius:", "px;width:", "px;height:", "px;align-items:center;justify-content:center;position:relative;background-color:transparent;", ";"], function (_ref5) {
@@ -2659,7 +2677,7 @@ var StyledPressableIconButton = /*#__PURE__*/styled(Pressable).withConfig({
2659
2677
  function PressableIconButton(_ref9) {
2660
2678
  var color = _ref9.color,
2661
2679
  disabled = _ref9.disabled,
2662
- props = _objectWithoutProperties(_ref9, _excluded$6);
2680
+ props = _objectWithoutProperties(_ref9, _excluded$8);
2663
2681
 
2664
2682
  return /*#__PURE__*/jsx(StyleWebWrapper, {
2665
2683
  as: PressableIconButtonWebWrapper,
@@ -2685,7 +2703,7 @@ function PressableAnimatedContainer(_ref) {
2685
2703
  });
2686
2704
  }
2687
2705
 
2688
- var IconButtonContentBorder = /*#__PURE__*/styled(View).withConfig({
2706
+ var IconButtonContentBorder = /*#__PURE__*/styled(View$1).withConfig({
2689
2707
  displayName: "IconButton__IconButtonContentBorder",
2690
2708
  componentId: "kitt-universal__sc-swelbf-0"
2691
2709
  })(["border:", ";border-color:", ";width:", "px;height:", "px;align-items:center;justify-content:center;border-radius:", "px;"], function (_ref) {
@@ -2742,23 +2760,23 @@ function IconButton(_ref7) {
2742
2760
  });
2743
2761
  }
2744
2762
 
2745
- var _excluded$5 = ["children"];
2746
- var ContentView$1 = /*#__PURE__*/styled(View).withConfig({
2763
+ var _excluded$7 = ["children"];
2764
+ var ContentView$1 = /*#__PURE__*/styled(View$1).withConfig({
2747
2765
  displayName: "ListItemContent__ContentView",
2748
2766
  componentId: "kitt-universal__sc-57q0u9-0"
2749
2767
  })(["flex:1 0 0%;align-self:center;"]);
2750
2768
  function ListItemContent(_ref) {
2751
2769
  var children = _ref.children,
2752
- rest = _objectWithoutProperties(_ref, _excluded$5);
2770
+ rest = _objectWithoutProperties(_ref, _excluded$7);
2753
2771
 
2754
2772
  return /*#__PURE__*/jsx(ContentView$1, _objectSpread(_objectSpread({}, rest), {}, {
2755
2773
  children: children
2756
2774
  }));
2757
2775
  }
2758
2776
 
2759
- var _excluded$4 = ["children", "side"],
2777
+ var _excluded$6 = ["children", "side"],
2760
2778
  _excluded2$1 = ["children", "align"];
2761
- var SideContainerView = /*#__PURE__*/styled(View).withConfig({
2779
+ var SideContainerView = /*#__PURE__*/styled(View$1).withConfig({
2762
2780
  displayName: "ListItemSideContent__SideContainerView",
2763
2781
  componentId: "kitt-universal__sc-1vajiw-0"
2764
2782
  })(["flex-direction:row;margin-left:", ";margin-right:", ";"], function (_ref) {
@@ -2775,7 +2793,7 @@ function ListItemSideContainer(_ref3) {
2775
2793
  var children = _ref3.children,
2776
2794
  _ref3$side = _ref3.side,
2777
2795
  side = _ref3$side === void 0 ? 'left' : _ref3$side,
2778
- rest = _objectWithoutProperties(_ref3, _excluded$4);
2796
+ rest = _objectWithoutProperties(_ref3, _excluded$6);
2779
2797
 
2780
2798
  return /*#__PURE__*/jsx(SideContainerView, _objectSpread(_objectSpread({
2781
2799
  side: side
@@ -2783,7 +2801,7 @@ function ListItemSideContainer(_ref3) {
2783
2801
  children: children
2784
2802
  }));
2785
2803
  }
2786
- var SideContentView = /*#__PURE__*/styled(View).withConfig({
2804
+ var SideContentView = /*#__PURE__*/styled(View$1).withConfig({
2787
2805
  displayName: "ListItemSideContent__SideContentView",
2788
2806
  componentId: "kitt-universal__sc-1vajiw-1"
2789
2807
  })(["align-self:", ";"], function (_ref4) {
@@ -2803,8 +2821,8 @@ function ListItemSideContent(_ref5) {
2803
2821
  }));
2804
2822
  }
2805
2823
 
2806
- var _excluded$3 = ["children", "withPadding", "borders", "left", "right", "onPress"];
2807
- var ContainerView = /*#__PURE__*/styled(View).withConfig({
2824
+ var _excluded$5 = ["children", "withPadding", "borders", "left", "right", "onPress"];
2825
+ var ContainerView = /*#__PURE__*/styled(View$1).withConfig({
2808
2826
  displayName: "ListItem__ContainerView",
2809
2827
  componentId: "kitt-universal__sc-2afp9s-0"
2810
2828
  })(["flex-direction:row;padding:", ";", ";border-color:", ";background-color:", ";"], function (_ref) {
@@ -2843,9 +2861,9 @@ function ListItem(_ref5) {
2843
2861
  left = _ref5.left,
2844
2862
  right = _ref5.right,
2845
2863
  onPress = _ref5.onPress,
2846
- rest = _objectWithoutProperties(_ref5, _excluded$3);
2864
+ rest = _objectWithoutProperties(_ref5, _excluded$5);
2847
2865
 
2848
- var Wrapper = onPress ? Pressable : Fragment;
2866
+ var Wrapper = onPress ? Pressable$1 : Fragment;
2849
2867
  var wrapperProps = onPress ? _objectSpread({
2850
2868
  accessibilityRole: 'button',
2851
2869
  onPress: onPress
@@ -2932,7 +2950,7 @@ var getIconButtonColor = function (messageType) {
2932
2950
  }
2933
2951
  };
2934
2952
 
2935
- var StyledMessageContainer = /*#__PURE__*/styled(View).withConfig({
2953
+ var StyledMessageContainer = /*#__PURE__*/styled(View$1).withConfig({
2936
2954
  displayName: "BaseMessage__StyledMessageContainer",
2937
2955
  componentId: "kitt-universal__sc-eepeiz-0"
2938
2956
  })(["flex-direction:row;align-items:flex-start;justify-content:space-between;min-height:60px;padding-top:", "px;border-radius:", "px;background-color:", ";"], function (_ref) {
@@ -2949,7 +2967,7 @@ var StyledMessageContainer = /*#__PURE__*/styled(View).withConfig({
2949
2967
  $type = _ref3.$type;
2950
2968
  return theme.kitt.feedbackMessage[$type].backgroundColor;
2951
2969
  });
2952
- var StyledDismissWrapper = /*#__PURE__*/styled(View).withConfig({
2970
+ var StyledDismissWrapper = /*#__PURE__*/styled(View$1).withConfig({
2953
2971
  displayName: "BaseMessage__StyledDismissWrapper",
2954
2972
  componentId: "kitt-universal__sc-eepeiz-1"
2955
2973
  })(["align-items:center;align-items:flex-start;margin:", ";"], function (_ref4) {
@@ -2957,7 +2975,7 @@ var StyledDismissWrapper = /*#__PURE__*/styled(View).withConfig({
2957
2975
  var spacing = theme.kitt.spacing;
2958
2976
  return "".concat(spacing * 2.5, "px ").concat(spacing * 2, "px 0 ").concat(spacing * 5, "px");
2959
2977
  });
2960
- var StyledIconContainer = /*#__PURE__*/styled(View).withConfig({
2978
+ var StyledIconContainer = /*#__PURE__*/styled(View$1).withConfig({
2961
2979
  displayName: "BaseMessage__StyledIconContainer",
2962
2980
  componentId: "kitt-universal__sc-eepeiz-2"
2963
2981
  })(["margin:", ";"], function (_ref5) {
@@ -2972,7 +2990,7 @@ var StyledTextContent = /*#__PURE__*/styled(Typography.Text).withConfig({
2972
2990
  var $isCenteredText = _ref6.$isCenteredText;
2973
2991
  return $isCenteredText ? 'center' : 'left';
2974
2992
  });
2975
- var StyledMessageContent = /*#__PURE__*/styled(View).withConfig({
2993
+ var StyledMessageContent = /*#__PURE__*/styled(View$1).withConfig({
2976
2994
  displayName: "BaseMessage__StyledMessageContent",
2977
2995
  componentId: "kitt-universal__sc-eepeiz-4"
2978
2996
  })(["display:flex;flex-direction:row;flex-grow:1;align-self:center;align-items:flex-start;flex-shrink:1;padding:", ";"], function (_ref7) {
@@ -3037,7 +3055,7 @@ function Message(_ref) {
3037
3055
  }
3038
3056
 
3039
3057
  // Don't use styled.Pressable here - babel-plugin-styled-components-react-native-web only supports tagged templates
3040
- var OverlayPressable = /*#__PURE__*/styled(Pressable).withConfig({
3058
+ var OverlayPressable = /*#__PURE__*/styled(Pressable$1).withConfig({
3041
3059
  displayName: "Overlay__OverlayPressable",
3042
3060
  componentId: "kitt-universal__sc-1cz1gbr-0"
3043
3061
  })(function (_ref) {
@@ -3054,7 +3072,7 @@ function Overlay(_ref2) {
3054
3072
  });
3055
3073
  }
3056
3074
 
3057
- var BodyView = /*#__PURE__*/styled(View).withConfig({
3075
+ var BodyView = /*#__PURE__*/styled(View$1).withConfig({
3058
3076
  displayName: "Body__BodyView",
3059
3077
  componentId: "kitt-universal__sc-17fwpo4-0"
3060
3078
  })(["padding:", "px ", "px;"], function (_ref) {
@@ -3066,14 +3084,14 @@ var BodyView = /*#__PURE__*/styled(View).withConfig({
3066
3084
  });
3067
3085
  function ModalBody(_ref3) {
3068
3086
  var children = _ref3.children;
3069
- return /*#__PURE__*/jsx(ScrollView, {
3087
+ return /*#__PURE__*/jsx(ScrollView$1, {
3070
3088
  children: /*#__PURE__*/jsx(BodyView, {
3071
3089
  children: children
3072
3090
  })
3073
3091
  });
3074
3092
  }
3075
3093
 
3076
- var FooterView = /*#__PURE__*/styled(View).withConfig({
3094
+ var FooterView = /*#__PURE__*/styled(View$1).withConfig({
3077
3095
  displayName: "Footer__FooterView",
3078
3096
  componentId: "kitt-universal__sc-1ujq2dc-0"
3079
3097
  })(["flex:0 0 auto;padding:", "px;border-top-width:1px;border-top-color:", ";"], function (_ref) {
@@ -3090,9 +3108,9 @@ function ModalFooter(_ref3) {
3090
3108
  });
3091
3109
  }
3092
3110
 
3093
- var OnCloseContext = /*#__PURE__*/createContext(function () {});
3111
+ var OnCloseContext$1 = /*#__PURE__*/createContext(function () {});
3094
3112
 
3095
- var HeaderView = /*#__PURE__*/styled(View).withConfig({
3113
+ var HeaderView = /*#__PURE__*/styled(View$1).withConfig({
3096
3114
  displayName: "Header__HeaderView",
3097
3115
  componentId: "kitt-universal__sc-1iwabch-0"
3098
3116
  })(["position:relative;padding:", "px;display:flex;flex:0 0 auto;flex-direction:row;justify-content:space-between;align-items:center;border-bottom-width:1px;border-bottom-color:", ";min-height:57px;"], function (_ref) {
@@ -3102,21 +3120,21 @@ var HeaderView = /*#__PURE__*/styled(View).withConfig({
3102
3120
  var theme = _ref2.theme;
3103
3121
  return theme.kitt.colors.separator;
3104
3122
  });
3105
- var LeftIconView = /*#__PURE__*/styled(View).withConfig({
3123
+ var LeftIconView = /*#__PURE__*/styled(View$1).withConfig({
3106
3124
  displayName: "Header__LeftIconView",
3107
3125
  componentId: "kitt-universal__sc-1iwabch-1"
3108
3126
  })(["align-self:flex-start;margin-right:", "px;"], function (_ref3) {
3109
3127
  var theme = _ref3.theme;
3110
3128
  return theme.kitt.spacing * 2;
3111
3129
  });
3112
- var RightIconView = /*#__PURE__*/styled(View).withConfig({
3130
+ var RightIconView = /*#__PURE__*/styled(View$1).withConfig({
3113
3131
  displayName: "Header__RightIconView",
3114
3132
  componentId: "kitt-universal__sc-1iwabch-2"
3115
3133
  })(["align-self:flex-start;margin-left:", "px;"], function (_ref4) {
3116
3134
  var theme = _ref4.theme;
3117
3135
  return theme.kitt.spacing * 2;
3118
3136
  });
3119
- var TitleView = /*#__PURE__*/styled(View).withConfig({
3137
+ var TitleView = /*#__PURE__*/styled(View$1).withConfig({
3120
3138
  displayName: "Header__TitleView",
3121
3139
  componentId: "kitt-universal__sc-1iwabch-3"
3122
3140
  })(["padding-left:", "px;flex-shrink:1;"], function (_ref5) {
@@ -3128,7 +3146,7 @@ function ModalHeader(_ref6) {
3128
3146
  var left = _ref6.left,
3129
3147
  right = _ref6.right,
3130
3148
  children = _ref6.children;
3131
- var onClose = useContext(OnCloseContext);
3149
+ var onClose = useContext(OnCloseContext$1);
3132
3150
  var isIconLeft = !!left;
3133
3151
  return /*#__PURE__*/jsxs(HeaderView, {
3134
3152
  children: [isIconLeft && /*#__PURE__*/jsx(LeftIconView, {
@@ -3145,7 +3163,7 @@ function ModalHeader(_ref6) {
3145
3163
  });
3146
3164
  }
3147
3165
 
3148
- var ModalView = /*#__PURE__*/styled(View).withConfig({
3166
+ var ModalView = /*#__PURE__*/styled(View$1).withConfig({
3149
3167
  displayName: "Modal__ModalView",
3150
3168
  componentId: "kitt-universal__sc-1xy2w5u-0"
3151
3169
  })(["top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:", "px ", "px;"], function (_ref) {
@@ -3155,7 +3173,7 @@ var ModalView = /*#__PURE__*/styled(View).withConfig({
3155
3173
  var theme = _ref2.theme;
3156
3174
  return theme.kitt.spacing * 4;
3157
3175
  });
3158
- var ContentView = /*#__PURE__*/styled(View).withConfig({
3176
+ var ContentView = /*#__PURE__*/styled(View$1).withConfig({
3159
3177
  displayName: "Modal__ContentView",
3160
3178
  componentId: "kitt-universal__sc-1xy2w5u-1"
3161
3179
  })(["position:relative;display:flex;flex-direction:column;max-height:100%;max-width:540px;height:auto;width:100%;border-radius:", "px;background-color:", ";"], function (_ref3) {
@@ -3171,7 +3189,7 @@ function Modal(_ref5) {
3171
3189
  onClose = _ref5.onClose,
3172
3190
  onEntered = _ref5.onEntered,
3173
3191
  onExited = _ref5.onExited;
3174
- return /*#__PURE__*/jsx(OnCloseContext.Provider, {
3192
+ return /*#__PURE__*/jsx(OnCloseContext$1.Provider, {
3175
3193
  value: onClose,
3176
3194
  children: /*#__PURE__*/jsx(Modal$1, {
3177
3195
  transparent: true,
@@ -3194,6 +3212,77 @@ Modal.Header = ModalHeader;
3194
3212
  Modal.Body = ModalBody;
3195
3213
  Modal.Footer = ModalFooter;
3196
3214
 
3215
+ var overflowHidden = "kitt-u_overflowHidden_otm3u3";
3216
+
3217
+ function useBlockBodyScroll(isScrollBlocked) {
3218
+ useEffect(function () {
3219
+ if (isScrollBlocked) {
3220
+ document.body.classList.add(overflowHidden);
3221
+ } else {
3222
+ document.body.classList.remove(overflowHidden);
3223
+ }
3224
+ }, [isScrollBlocked]);
3225
+ }
3226
+
3227
+ function ModalBehaviourPortal(_ref) {
3228
+ var visible = _ref.visible,
3229
+ children = _ref.children;
3230
+ useBlockBodyScroll(Boolean(visible));
3231
+ return /*#__PURE__*/jsx(Portal, {
3232
+ children: children
3233
+ });
3234
+ }
3235
+
3236
+ var OnCloseContext = /*#__PURE__*/createContext(function () {});
3237
+ function OnCloseProvider(_ref) {
3238
+ var children = _ref.children,
3239
+ onClose = _ref.onClose;
3240
+ return /*#__PURE__*/jsx(OnCloseContext.Provider, {
3241
+ value: onClose,
3242
+ children: children
3243
+ });
3244
+ }
3245
+ function useOnCloseModalBehaviour() {
3246
+ var onClose = useContext(OnCloseContext);
3247
+ return onClose;
3248
+ }
3249
+
3250
+ function CloseButton(_ref) {
3251
+ var children = _ref.children,
3252
+ onPress = _ref.onPress;
3253
+ var onCloseContextCallback = useOnCloseModalBehaviour();
3254
+ return /*#__PURE__*/cloneElement(children, {
3255
+ onPress: function handleClose() {
3256
+ if (onPress) onPress();
3257
+ onCloseContextCallback();
3258
+ }
3259
+ });
3260
+ }
3261
+
3262
+ var ModalBehaviourContainer = /*#__PURE__*/styled(View$1).withConfig({
3263
+ displayName: "ModalBehaviour__ModalBehaviourContainer",
3264
+ componentId: "kitt-universal__sc-tj3606-0"
3265
+ })(["", ""], function () {
3266
+ return css(["position:fixed;top:0;left:0;width:100%;"]);
3267
+ });
3268
+ function ModalBehaviour(_ref2) {
3269
+ var children = _ref2.children,
3270
+ visible = _ref2.visible,
3271
+ style = _ref2.style,
3272
+ onClose = _ref2.onClose;
3273
+ return /*#__PURE__*/jsx(OnCloseProvider, {
3274
+ onClose: onClose,
3275
+ children: /*#__PURE__*/jsx(ModalBehaviourPortal, {
3276
+ visible: visible,
3277
+ children: visible ? /*#__PURE__*/jsx(ModalBehaviourContainer, {
3278
+ style: style,
3279
+ children: children
3280
+ }) : null
3281
+ })
3282
+ });
3283
+ }
3284
+ ModalBehaviour.CloseButton = CloseButton;
3285
+
3197
3286
  var createKittSpaces = function (spacing) {
3198
3287
  var sizes = {};
3199
3288
 
@@ -3202,12 +3291,17 @@ var createKittSpaces = function (spacing) {
3202
3291
  }
3203
3292
 
3204
3293
  return sizes;
3205
- }; // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/explicit-function-return-type -- let typescript infer types
3294
+ }; // reset native-base to be able to set size / space as a number
3295
+ // https://docs.nativebase.io/next/default-theme#h2-size
3296
+
3206
3297
 
3298
+ var overridenNativeBaseSizeandSpaceScale = Object.fromEntries([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64, 72, 80, 96, 0.5, 1.5, 2.5, 3.5].map(function (value) {
3299
+ return [value, value];
3300
+ })); // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/explicit-function-return-type -- let typescript infer types
3207
3301
 
3208
3302
  var createKittNativeBaseCustomTheme = function (theme) {
3209
3303
  var spaces = createKittSpaces(theme.spacing);
3210
- return extendTheme({
3304
+ var extendedTheme = extendTheme({
3211
3305
  colors: {
3212
3306
  kitt: _objectSpread(_objectSpread({}, theme.colors), {}, {
3213
3307
  typography: theme.typography.colors
@@ -3216,10 +3310,8 @@ var createKittNativeBaseCustomTheme = function (theme) {
3216
3310
  radii: {
3217
3311
  'kitt.borderRadius': theme.card.borderRadius
3218
3312
  },
3219
- sizes: _objectSpread(_objectSpread({}, spaces), Object.fromEntries([1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 20, 24, 32, 40, 48, 56, 64, 78, 80, 96, 0.5, 1.5, 2.5, 3.5].map(function (value) {
3220
- return [value, value];
3221
- }))),
3222
- space: spaces,
3313
+ sizes: _objectSpread(_objectSpread({}, spaces), overridenNativeBaseSizeandSpaceScale),
3314
+ space: _objectSpread(_objectSpread({}, spaces), overridenNativeBaseSizeandSpaceScale),
3223
3315
  breakpoints: {
3224
3316
  // kitt breakpoints
3225
3317
  base: KittBreakpoints.BASE,
@@ -3315,6 +3407,9 @@ var createKittNativeBaseCustomTheme = function (theme) {
3315
3407
  }
3316
3408
  }
3317
3409
  });
3410
+ return _objectSpread(_objectSpread({}, extendedTheme), {}, {
3411
+ space: extendedTheme.space
3412
+ });
3318
3413
  };
3319
3414
  function KittNativeBaseProvider(_ref) {
3320
3415
  var theme = _ref.theme,
@@ -3331,6 +3426,242 @@ function KittNativeBaseProvider(_ref) {
3331
3426
  });
3332
3427
  }
3333
3428
 
3429
+ var Stack = Stack$1;
3430
+ var VStack = VStack$1;
3431
+ var HStack = HStack$1;
3432
+
3433
+ var View = View$2;
3434
+ var ScrollView = ScrollView$2;
3435
+ var Pressable = Pressable$2;
3436
+
3437
+ var _excluded$4 = ["children"];
3438
+ var ViewWithPadding = /*#__PURE__*/styled(View$1).withConfig({
3439
+ displayName: "ContentPadding__ViewWithPadding",
3440
+ componentId: "kitt-universal__sc-1rprqcv-0"
3441
+ })(["padding:", ";"], function (_ref) {
3442
+ var theme = _ref.theme;
3443
+ return "0 ".concat(theme.kitt.navigationModal.padding, "px");
3444
+ });
3445
+ function ContentPadding(_ref2) {
3446
+ var children = _ref2.children,
3447
+ props = _objectWithoutProperties(_ref2, _excluded$4);
3448
+
3449
+ return /*#__PURE__*/jsx(ViewWithPadding, _objectSpread(_objectSpread({}, props), {}, {
3450
+ children: children
3451
+ }));
3452
+ }
3453
+
3454
+ var _excluded$3 = ["children", "shouldHandleBottomNotch", "style"];
3455
+ var StyledViewWithPadding = /*#__PURE__*/styled(ContentPadding).withConfig({
3456
+ displayName: "Body__StyledViewWithPadding",
3457
+ componentId: "kitt-universal__sc-oc39vn-0"
3458
+ })(["padding-top:", "px;padding-bottom:", "px;"], function (_ref) {
3459
+ var theme = _ref.theme;
3460
+ return theme.kitt.spacing * 6;
3461
+ }, function (_ref2) {
3462
+ var theme = _ref2.theme,
3463
+ $insetBottom = _ref2.$insetBottom;
3464
+ return Math.max(theme.kitt.spacing * 4, $insetBottom);
3465
+ });
3466
+ function Body(_ref3) {
3467
+ var children = _ref3.children,
3468
+ shouldHandleBottomNotch = _ref3.shouldHandleBottomNotch,
3469
+ style = _ref3.style,
3470
+ props = _objectWithoutProperties(_ref3, _excluded$3);
3471
+
3472
+ var _useSafeAreaInsets = useSafeAreaInsets(),
3473
+ bottom = _useSafeAreaInsets.bottom;
3474
+
3475
+ var insetBottom = shouldHandleBottomNotch ? bottom : 0;
3476
+ return /*#__PURE__*/jsx(StyledViewWithPadding, _objectSpread(_objectSpread({}, props), {}, {
3477
+ $insetBottom: insetBottom,
3478
+ style: style,
3479
+ children: children
3480
+ }));
3481
+ }
3482
+
3483
+ var FooterContainer = /*#__PURE__*/styled(ContentPadding).withConfig({
3484
+ displayName: "Footer__FooterContainer",
3485
+ componentId: "kitt-universal__sc-1yjprfg-0"
3486
+ })(["padding-top:", "px;padding-bottom:", "px;", ";"], function (_ref) {
3487
+ var theme = _ref.theme;
3488
+ return theme.kitt.spacing * 3;
3489
+ }, function (_ref2) {
3490
+ var theme = _ref2.theme,
3491
+ $insetBottom = _ref2.$insetBottom;
3492
+ return Math.max(theme.kitt.spacing * 3, $insetBottom);
3493
+ }, function (_ref3) {
3494
+ var $hasSeparator = _ref3.$hasSeparator;
3495
+ if (!$hasSeparator) return undefined;
3496
+ return css(["border-top-width:1px;border-top-color:", ";"], function (_ref4) {
3497
+ var theme = _ref4.theme;
3498
+ return theme.kitt.colors.separator;
3499
+ });
3500
+ });
3501
+ function Footer(_ref5) {
3502
+ var _ref5$shouldHandleBot = _ref5.shouldHandleBottomNotch,
3503
+ shouldHandleBottomNotch = _ref5$shouldHandleBot === void 0 ? true : _ref5$shouldHandleBot,
3504
+ _ref5$hasSeparator = _ref5.hasSeparator,
3505
+ hasSeparator = _ref5$hasSeparator === void 0 ? true : _ref5$hasSeparator,
3506
+ children = _ref5.children,
3507
+ style = _ref5.style;
3508
+
3509
+ var _useSafeAreaInsets = useSafeAreaInsets(),
3510
+ bottom = _useSafeAreaInsets.bottom;
3511
+
3512
+ var insetBottom = shouldHandleBottomNotch ? bottom : 0;
3513
+ return /*#__PURE__*/jsx(FooterContainer, {
3514
+ $insetBottom: insetBottom,
3515
+ $hasSeparator: hasSeparator,
3516
+ style: style,
3517
+ children: children
3518
+ });
3519
+ }
3520
+
3521
+ var HeaderContainer = /*#__PURE__*/styled(ContentPadding).withConfig({
3522
+ displayName: "Header__HeaderContainer",
3523
+ componentId: "kitt-universal__sc-1g7sbq-0"
3524
+ })(["height:", "px;width:100%;justify-content:center;background-color:", ";padding-right:", "px;padding-left:", "px;", ";"], function (_ref) {
3525
+ var theme = _ref.theme;
3526
+ return theme.kitt.navigationModal.height;
3527
+ }, function (_ref2) {
3528
+ var theme = _ref2.theme,
3529
+ $isTransparent = _ref2.$isTransparent;
3530
+ if ($isTransparent) return 'transparent';
3531
+ return theme.kitt.colors.uiBackgroundLight;
3532
+ }, function (_ref3) {
3533
+ var theme = _ref3.theme,
3534
+ $hasRight = _ref3.$hasRight;
3535
+ return $hasRight ? theme.kitt.spacing * 2 : theme.kitt.navigationModal.padding;
3536
+ }, function (_ref4) {
3537
+ var theme = _ref4.theme,
3538
+ $hasLeft = _ref4.$hasLeft;
3539
+ return $hasLeft ? theme.kitt.spacing * 2 : theme.kitt.navigationModal.padding;
3540
+ }, function (_ref5) {
3541
+ var $hasSeparator = _ref5.$hasSeparator;
3542
+ if (!$hasSeparator) return undefined;
3543
+ return css(["border-bottom-width:1px;border-bottom-color:", ";"], function (_ref6) {
3544
+ var theme = _ref6.theme;
3545
+ return theme.kitt.colors.separator;
3546
+ });
3547
+ });
3548
+ var Row = /*#__PURE__*/styled(View$1).withConfig({
3549
+ displayName: "Header__Row",
3550
+ componentId: "kitt-universal__sc-1g7sbq-1"
3551
+ })(["flex-direction:row;justify-content:", ";align-items:center;"], function (_ref7) {
3552
+ var $hasContent = _ref7.$hasContent,
3553
+ $hasLeft = _ref7.$hasLeft;
3554
+ return !$hasContent && !$hasLeft ? 'flex-end' : 'space-between';
3555
+ });
3556
+ var ButtonContainer = /*#__PURE__*/styled(View$1).withConfig({
3557
+ displayName: "Header__ButtonContainer",
3558
+ componentId: "kitt-universal__sc-1g7sbq-2"
3559
+ })(["width:", "px;"], function (_ref8) {
3560
+ var theme = _ref8.theme;
3561
+ return theme.kitt.iconButton.width;
3562
+ });
3563
+ var ChildrenComponent = /*#__PURE__*/styled(View$1).withConfig({
3564
+ displayName: "Header__ChildrenComponent",
3565
+ componentId: "kitt-universal__sc-1g7sbq-3"
3566
+ })(["flex:1;align-items:center;", ";"], function (_ref9) {
3567
+ var theme = _ref9.theme,
3568
+ $hasLeft = _ref9.$hasLeft,
3569
+ $hasRight = _ref9.$hasRight;
3570
+ var paddingHorizontal = theme.kitt.spacing * 2;
3571
+ return css(["padding-right:", "px;padding-left:", "px;"], $hasRight ? paddingHorizontal : 0, $hasLeft ? paddingHorizontal : 0);
3572
+ });
3573
+ var HeaderTitle = /*#__PURE__*/styled(Typography.Text).withConfig({
3574
+ displayName: "Header__HeaderTitle",
3575
+ componentId: "kitt-universal__sc-1g7sbq-4"
3576
+ })(["flex:1;text-align:", ";", ";"], function (_ref10) {
3577
+ var $hasLeft = _ref10.$hasLeft,
3578
+ $hasRight = _ref10.$hasRight;
3579
+ if (!$hasLeft && $hasRight) return 'left';
3580
+ return 'center';
3581
+ }, function (_ref11) {
3582
+ var theme = _ref11.theme,
3583
+ $hasLeft = _ref11.$hasLeft,
3584
+ $hasRight = _ref11.$hasRight;
3585
+ var paddingHorizontal = theme.kitt.spacing * 2;
3586
+ return css(["padding-right:", "px;padding-left:", "px;"], $hasRight ? paddingHorizontal : 0, $hasLeft ? paddingHorizontal : 0);
3587
+ });
3588
+ function Header(_ref12) {
3589
+ var _ref12$hasSeparator = _ref12.hasSeparator,
3590
+ hasSeparator = _ref12$hasSeparator === void 0 ? true : _ref12$hasSeparator,
3591
+ isTransparent = _ref12.isTransparent,
3592
+ title = _ref12.title,
3593
+ children = _ref12.children,
3594
+ right = _ref12.right,
3595
+ left = _ref12.left,
3596
+ style = _ref12.style;
3597
+ var sharedProps = {
3598
+ $hasLeft: Boolean(left),
3599
+ $hasRight: Boolean(right)
3600
+ };
3601
+ return /*#__PURE__*/jsx(HeaderContainer, {
3602
+ $isTransparent: isTransparent,
3603
+ $hasSeparator: hasSeparator,
3604
+ $hasLeft: Boolean(left),
3605
+ $hasRight: Boolean(right),
3606
+ style: style,
3607
+ children: /*#__PURE__*/jsxs(Row, _objectSpread(_objectSpread({
3608
+ $hasContent: Boolean(title || children)
3609
+ }, sharedProps), {}, {
3610
+ children: [left ? /*#__PURE__*/jsx(ButtonContainer, {
3611
+ children: left
3612
+ }) : null, title ? /*#__PURE__*/jsx(HeaderTitle, _objectSpread(_objectSpread({}, sharedProps), {}, {
3613
+ variant: "bold",
3614
+ children: title
3615
+ })) : null, children ? /*#__PURE__*/jsx(ChildrenComponent, _objectSpread(_objectSpread({}, sharedProps), {}, {
3616
+ children: children
3617
+ })) : null, right || left ? /*#__PURE__*/jsx(ButtonContainer, {
3618
+ children: right
3619
+ }) : null]
3620
+ }))
3621
+ });
3622
+ }
3623
+
3624
+ var NavigationModalContainer = /*#__PURE__*/styled(View$1).withConfig({
3625
+ displayName: "NavigationModalContainer",
3626
+ componentId: "kitt-universal__sc-n0bwvk-0"
3627
+ })(["position:relative;background-color:", ";flex:1;", ""], function (_ref) {
3628
+ var theme = _ref.theme,
3629
+ $backgroundColor = _ref.$backgroundColor;
3630
+ return $backgroundColor || theme.kitt.colors.uiBackgroundLight;
3631
+ }, function () {
3632
+ return css(["min-height:100vh;"]);
3633
+ });
3634
+
3635
+ var ContainerWithoutHeader = /*#__PURE__*/styled(View$1).withConfig({
3636
+ displayName: "NavigationModal__ContainerWithoutHeader",
3637
+ componentId: "kitt-universal__sc-ls8t24-0"
3638
+ })(["justify-content:space-between;flex:1;"]);
3639
+ function NavigationModal(_ref) {
3640
+ var body = _ref.body,
3641
+ header = _ref.header,
3642
+ footer = _ref.footer,
3643
+ backgroundColor = _ref.backgroundColor;
3644
+ return /*#__PURE__*/jsxs(NavigationModalContainer, {
3645
+ $backgroundColor: backgroundColor,
3646
+ children: [header ? /*#__PURE__*/jsx(View$1, {
3647
+ children: header
3648
+ }) : null, /*#__PURE__*/jsxs(ContainerWithoutHeader, {
3649
+ children: [/*#__PURE__*/jsx(ScrollView$1, {
3650
+ bounces: false,
3651
+ contentContainerStyle: {
3652
+ flexGrow: 1,
3653
+ position: 'relative'
3654
+ },
3655
+ children: body
3656
+ }), footer || null]
3657
+ })]
3658
+ });
3659
+ }
3660
+ NavigationModal.Header = Header;
3661
+ NavigationModal.Footer = Footer;
3662
+ NavigationModal.Body = Body;
3663
+ NavigationModal.Padding = ContentPadding;
3664
+
3334
3665
  function Notification(_ref) {
3335
3666
  var type = _ref.type,
3336
3667
  children = _ref.children,
@@ -3479,7 +3810,7 @@ function SkeletonContent(_ref4) {
3479
3810
  });
3480
3811
  }
3481
3812
 
3482
- var SkeletonContainer = /*#__PURE__*/styled(View).withConfig({
3813
+ var SkeletonContainer = /*#__PURE__*/styled(View$1).withConfig({
3483
3814
  displayName: "Skeleton__SkeletonContainer",
3484
3815
  componentId: "kitt-universal__sc-1w5cm3i-0"
3485
3816
  })(["overflow:hidden;"]);
@@ -3544,7 +3875,7 @@ Skeleton.Bar = Bar;
3544
3875
  Skeleton.Circle = Circle;
3545
3876
  Skeleton.Square = Square;
3546
3877
 
3547
- var Flex = /*#__PURE__*/styled(View).withConfig({
3878
+ var Flex = /*#__PURE__*/styled(View$1).withConfig({
3548
3879
  shouldForwardProp: function shouldForwardProp(prop, defaultValidatorFn) {
3549
3880
  return !['direction', 'padding'].includes(prop) && defaultValidatorFn(prop);
3550
3881
  }
@@ -3601,7 +3932,7 @@ var useStoryBlockColor = function (color) {
3601
3932
  var storyBlockColor = useContext(StoryBlockColorContext);
3602
3933
  return color || storyBlockColor;
3603
3934
  };
3604
- var StyledStoryBlockView = /*#__PURE__*/styled(View).withConfig({
3935
+ var StyledStoryBlockView = /*#__PURE__*/styled(View$1).withConfig({
3605
3936
  displayName: "StoryBlock__StyledStoryBlockView",
3606
3937
  componentId: "kitt-universal__sc-3w4hdm-0"
3607
3938
  })(["padding:16px ", "px 0;margin:0 -", "px;background:", ";"], storyPadding, storyPadding, function (_ref) {
@@ -3624,11 +3955,11 @@ function StoryBlock(_ref2) {
3624
3955
  });
3625
3956
  }
3626
3957
 
3627
- var StoryTitleContainer = /*#__PURE__*/styled(View).withConfig({
3958
+ var StoryTitleContainer = /*#__PURE__*/styled(View$1).withConfig({
3628
3959
  displayName: "StoryTitle__StoryTitleContainer",
3629
3960
  componentId: "kitt-universal__sc-sic7hb-0"
3630
3961
  })(["margin-bottom:30px;"]);
3631
- var StorySubTitleContainer = /*#__PURE__*/styled(View).withConfig({
3962
+ var StorySubTitleContainer = /*#__PURE__*/styled(View$1).withConfig({
3632
3963
  displayName: "StoryTitle__StorySubTitleContainer",
3633
3964
  componentId: "kitt-universal__sc-sic7hb-1"
3634
3965
  })(["margin-bottom:10px;"]);
@@ -3703,7 +4034,7 @@ StoryTitle.Level2 = StoryTitleLevel2;
3703
4034
  StoryTitle.Level3 = StoryTitleLevel3;
3704
4035
  StoryTitle.Level4 = StoryTitleLevel4;
3705
4036
 
3706
- var StoryContainer$1 = /*#__PURE__*/styled(ScrollView).withConfig({
4037
+ var StoryContainer$1 = /*#__PURE__*/styled(ScrollView$1).withConfig({
3707
4038
  displayName: "Story__StoryContainer",
3708
4039
  componentId: "kitt-universal__sc-1kwdg2p-0"
3709
4040
  })(["padding:", "px;"], storyPadding);
@@ -3722,7 +4053,7 @@ function Story(_ref) {
3722
4053
  var _excluded$2 = ["title", "children", "internalIsDemoSection"],
3723
4054
  _excluded2 = ["title", "children"],
3724
4055
  _excluded3 = ["title", "children"];
3725
- var StyledSection = /*#__PURE__*/styled(View).withConfig({
4056
+ var StyledSection = /*#__PURE__*/styled(View$1).withConfig({
3726
4057
  displayName: "StorySection__StyledSection",
3727
4058
  componentId: "kitt-universal__sc-1b3liv5-0"
3728
4059
  })(["margin-bottom:32px;"]);
@@ -3739,7 +4070,7 @@ function StorySection(_ref) {
3739
4070
  }), children]
3740
4071
  }));
3741
4072
  }
3742
- var StyledSubSection = /*#__PURE__*/styled(View).withConfig({
4073
+ var StyledSubSection = /*#__PURE__*/styled(View$1).withConfig({
3743
4074
  displayName: "StorySection__StyledSubSection",
3744
4075
  componentId: "kitt-universal__sc-1b3liv5-1"
3745
4076
  })(["margin-bottom:16px;"]);
@@ -3756,7 +4087,7 @@ function SubSection(_ref2) {
3756
4087
  }));
3757
4088
  }
3758
4089
 
3759
- var StyledBlockSection = /*#__PURE__*/styled(View).withConfig({
4090
+ var StyledBlockSection = /*#__PURE__*/styled(View$1).withConfig({
3760
4091
  displayName: "StorySection__StyledBlockSection",
3761
4092
  componentId: "kitt-universal__sc-1b3liv5-2"
3762
4093
  })(["margin-bottom:16px;"]);
@@ -3773,7 +4104,7 @@ function BlockSection(_ref3) {
3773
4104
  }));
3774
4105
  }
3775
4106
 
3776
- var StyledDemoSection = /*#__PURE__*/styled(View).withConfig({
4107
+ var StyledDemoSection = /*#__PURE__*/styled(View$1).withConfig({
3777
4108
  displayName: "StorySection__StyledDemoSection",
3778
4109
  componentId: "kitt-universal__sc-1b3liv5-3"
3779
4110
  })(["margin-bottom:64px;"]);
@@ -3822,19 +4153,19 @@ function StoryDecorator(storyFn, context) {
3822
4153
  });
3823
4154
  }
3824
4155
 
3825
- var SmallScreenRow = /*#__PURE__*/styled(View).withConfig({
4156
+ var SmallScreenRow = /*#__PURE__*/styled(View$1).withConfig({
3826
4157
  displayName: "StoryGrid__SmallScreenRow",
3827
4158
  componentId: "kitt-universal__sc-4z5new-0"
3828
4159
  })(["flex-direction:column;margin:0;"]);
3829
- var SmallScreenCol = /*#__PURE__*/styled(View).withConfig({
4160
+ var SmallScreenCol = /*#__PURE__*/styled(View$1).withConfig({
3830
4161
  displayName: "StoryGrid__SmallScreenCol",
3831
4162
  componentId: "kitt-universal__sc-4z5new-1"
3832
4163
  })(["padding:8px 0 16px;"]);
3833
- var FlexRow = /*#__PURE__*/styled(View).withConfig({
4164
+ var FlexRow = /*#__PURE__*/styled(View$1).withConfig({
3834
4165
  displayName: "StoryGrid__FlexRow",
3835
4166
  componentId: "kitt-universal__sc-4z5new-2"
3836
4167
  })(["flex-direction:row;margin:0 -4px 16px;"]);
3837
- var FlexCol = /*#__PURE__*/styled(View).withConfig({
4168
+ var FlexCol = /*#__PURE__*/styled(View$1).withConfig({
3838
4169
  displayName: "StoryGrid__FlexCol",
3839
4170
  componentId: "kitt-universal__sc-4z5new-3"
3840
4171
  })(["flex-grow:1;flex-basis:0;margin:0 8px;"]);
@@ -3895,7 +4226,7 @@ var StoryGrid = {
3895
4226
  Col: StoryGridCol
3896
4227
  };
3897
4228
 
3898
- var Container = /*#__PURE__*/styled(View).withConfig({
4229
+ var Container = /*#__PURE__*/styled(View$1).withConfig({
3899
4230
  displayName: "Tag__Container",
3900
4231
  componentId: "kitt-universal__sc-19jmowi-0"
3901
4232
  })(["background-color:", ";border-width:", "px;border-color:", ";padding:", ";border-radius:", "px;align-self:flex-start;"], function (_ref) {
@@ -3967,11 +4298,11 @@ function TimePicker() {
3967
4298
  });
3968
4299
  }
3969
4300
 
3970
- var StyledTooltipView = /*#__PURE__*/styled(View).withConfig({
4301
+ var StyledTooltipView = /*#__PURE__*/styled(View$1).withConfig({
3971
4302
  displayName: "TooltipView__StyledTooltipView",
3972
4303
  componentId: "kitt-universal__sc-156zm6m-0"
3973
4304
  })(["align-items:center;"]);
3974
- var StyledTooltipContent = /*#__PURE__*/styled(View).withConfig({
4305
+ var StyledTooltipContent = /*#__PURE__*/styled(View$1).withConfig({
3975
4306
  displayName: "TooltipView__StyledTooltipContent",
3976
4307
  componentId: "kitt-universal__sc-156zm6m-1"
3977
4308
  })(["background-color:", ";border-radius:", "px;opacity:", ";padding:", ";"], function (_ref) {
@@ -3990,7 +4321,7 @@ var StyledTooltipContent = /*#__PURE__*/styled(View).withConfig({
3990
4321
 
3991
4322
  function ArrowView(props) {
3992
4323
  var theme = /*#__PURE__*/useTheme();
3993
- return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
4324
+ return /*#__PURE__*/jsx(View$1, _objectSpread(_objectSpread({}, props), {}, {
3994
4325
  children: /*#__PURE__*/jsx(TooltipArrowIcon, {
3995
4326
  color: theme.kitt.tooltip.backgroundColor
3996
4327
  })
@@ -4030,11 +4361,11 @@ var tooltipDefaultFloatingStrategy = {
4030
4361
  web: 'absolute'
4031
4362
  };
4032
4363
 
4033
- var StyledTooltipTrigger = /*#__PURE__*/styled(Pressable).withConfig({
4364
+ var StyledTooltipTrigger = /*#__PURE__*/styled(Pressable$1).withConfig({
4034
4365
  displayName: "Tooltipweb__StyledTooltipTrigger",
4035
4366
  componentId: "kitt-universal__sc-zn1y6f-0"
4036
4367
  })(["display:inline-flex;align-self:baseline;"]);
4037
- var WebAnimatedTooltip = /*#__PURE__*/styled(View).withConfig({
4368
+ var WebAnimatedTooltip = /*#__PURE__*/styled(View$1).withConfig({
4038
4369
  displayName: "Tooltipweb__WebAnimatedTooltip",
4039
4370
  componentId: "kitt-universal__sc-zn1y6f-1"
4040
4371
  })(["opacity:", ";transition:opacity 200ms;visibility:", ";"], function (_ref) {
@@ -4366,5 +4697,5 @@ function MatchWindowSize(_ref) {
4366
4697
  return children;
4367
4698
  }
4368
4699
 
4369
- export { Avatar, Button, Card, Checkbox, DatePicker, Emoji, ExternalAppLink, ExternalLink, Flex, FullScreenModal, Icon, IconButton, InputEmail, InputFeedback, InputField, InputIcon, InputPassword, InputPhone, InputPressable, InputTag, InputText, KittBreakpoints, KittBreakpointsMax, KittNativeBaseProvider, KittThemeDecorator, KittThemeProvider, Label, ListItem, LoaderIcon, MatchWindowSize, Message, Modal, Notification, Overlay, PageLoader, Picker, Radio, DeprecatedSection as Section, Skeleton, SpinningIcon, 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 };
4700
+ export { Avatar, Button, Card, Checkbox, DatePicker, Emoji, ExternalAppLink, ExternalLink, Flex, FullScreenModal, HStack, Icon, IconButton, InputEmail, InputFeedback, InputField, InputIcon, InputPassword, InputPhone, InputPressable, InputTag, InputText, KittBreakpoints, KittBreakpointsMax, KittNativeBaseProvider, KittThemeDecorator, KittThemeProvider, Label, ListItem, LoaderIcon, MatchWindowSize, Message, Modal, ModalBehaviour, NavigationModal, Notification, Overlay, PageLoader, Picker, Pressable, Radio, ScrollView, DeprecatedSection as Section, Skeleton, SpinningIcon, Stack, Story, StoryBlock, StoryContainer, StoryDecorator, StoryGrid, StorySection, StoryTitle, StyleWebWrapper, Tag, TextArea, TimePicker, Tooltip, Typography, TypographyEmoji, TypographyIcon, TypographyLink, VStack, View, createWindowSizeHelper, hex2rgba, matchWindowSize, styledTextInputMixin, theme, useKittTheme, useMatchWindowSize, useStoryBlockColor, withTheme };
4370
4701
  //# sourceMappingURL=index-browser-all.es.web.js.map