@ornikar/kitt-universal 11.2.0 → 13.0.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 (150) hide show
  1. package/.vscode/settings.json +3 -0
  2. package/babel-plugin-csf-to-jest.js +15 -1
  3. package/dist/definitions/BottomSheet/BottomSheet.d.ts +1 -1
  4. package/dist/definitions/Choices/AnimatedChoiceItemView.d.ts +15 -0
  5. package/dist/definitions/Choices/AnimatedChoiceItemView.d.ts.map +1 -0
  6. package/dist/definitions/Choices/AnimatedChoiceItemView.web.d.ts +4 -0
  7. package/dist/definitions/Choices/AnimatedChoiceItemView.web.d.ts.map +1 -0
  8. package/dist/definitions/Choices/ChoiceItem.d.ts +2 -3
  9. package/dist/definitions/Choices/ChoiceItem.d.ts.map +1 -1
  10. package/dist/definitions/Choices/ChoiceItemContainer.d.ts +5 -5
  11. package/dist/definitions/Choices/ChoiceItemContainer.d.ts.map +1 -1
  12. package/dist/definitions/Choices/utils/getBackgroundColor.d.ts +9 -0
  13. package/dist/definitions/Choices/utils/getBackgroundColor.d.ts.map +1 -0
  14. package/dist/definitions/Choices/utils/getBorderRadius.d.ts +3 -0
  15. package/dist/definitions/Choices/utils/getBorderRadius.d.ts.map +1 -0
  16. package/dist/definitions/Choices/utils/getCurrentTextColor.d.ts +10 -0
  17. package/dist/definitions/Choices/utils/getCurrentTextColor.d.ts.map +1 -0
  18. package/dist/definitions/Icon/SpinningIcon.web.d.ts.map +1 -1
  19. package/dist/definitions/ListItem/ListItem.d.ts.map +1 -1
  20. package/dist/definitions/ListItem/ListItemContent.d.ts.map +1 -1
  21. package/dist/definitions/ListItem/ListItemSideContent.d.ts.map +1 -1
  22. package/dist/definitions/Overlay/Overlay.d.ts.map +1 -1
  23. package/dist/definitions/PageLoader/PageLoader.d.ts.map +1 -1
  24. package/dist/definitions/PageLoader/PageLoader.web.d.ts.map +1 -1
  25. package/dist/definitions/Picker/Picker.d.ts.map +1 -1
  26. package/dist/definitions/Picker/PickerItem.d.ts.map +1 -1
  27. package/dist/definitions/Skeleton/SkeletonContent.d.ts.map +1 -1
  28. package/dist/definitions/Skeleton/SkeletonContent.web.d.ts.map +1 -1
  29. package/dist/definitions/Tag/Tag.d.ts.map +1 -1
  30. package/dist/definitions/TimePicker/ModalDateTimePicker.d.ts +7 -3
  31. package/dist/definitions/TimePicker/ModalDateTimePicker.d.ts.map +1 -1
  32. package/dist/definitions/TimePicker/TimePicker.d.ts +19 -8
  33. package/dist/definitions/TimePicker/TimePicker.d.ts.map +1 -1
  34. package/dist/definitions/TimePicker/TimePicker.web.d.ts +2 -1
  35. package/dist/definitions/TimePicker/TimePicker.web.d.ts.map +1 -1
  36. package/dist/definitions/TimePicker/TimePickerPressable.d.ts +20 -0
  37. package/dist/definitions/TimePicker/TimePickerPressable.d.ts.map +1 -0
  38. package/dist/definitions/TimePicker/utils/formatDateToTimeString.d.ts +2 -0
  39. package/dist/definitions/TimePicker/utils/formatDateToTimeString.d.ts.map +1 -0
  40. package/dist/definitions/TimePicker/utils/getCurrentInternalForcedState.d.ts +10 -0
  41. package/dist/definitions/TimePicker/utils/getCurrentInternalForcedState.d.ts.map +1 -0
  42. package/dist/definitions/VerticalSteps/Step.d.ts +16 -0
  43. package/dist/definitions/VerticalSteps/Step.d.ts.map +1 -0
  44. package/dist/definitions/VerticalSteps/StepIcon.d.ts +13 -0
  45. package/dist/definitions/VerticalSteps/StepIcon.d.ts.map +1 -0
  46. package/dist/definitions/VerticalSteps/VerticalSteps.d.ts +12 -0
  47. package/dist/definitions/VerticalSteps/VerticalSteps.d.ts.map +1 -0
  48. package/dist/definitions/VerticalSteps/utils/getStepState.d.ts +3 -0
  49. package/dist/definitions/VerticalSteps/utils/getStepState.d.ts.map +1 -0
  50. package/dist/definitions/forms/DatePicker/components/NativeUIDatePicker/ModalPlatformDateTimePicker.d.ts.map +1 -1
  51. package/dist/definitions/forms/InputTag/InputTag.d.ts.map +1 -1
  52. package/dist/definitions/forms/InputText/InputTextContainer.d.ts +2 -4
  53. package/dist/definitions/forms/InputText/InputTextContainer.d.ts.map +1 -1
  54. package/dist/definitions/forms/InputText/InputTextContainer.web.d.ts +2 -9
  55. package/dist/definitions/forms/InputText/InputTextContainer.web.d.ts.map +1 -1
  56. package/dist/definitions/forms/RadioButtonGroup/AnimatedContainer/AnimatedContainer.d.ts +1 -1
  57. package/dist/definitions/forms/RadioButtonGroup/AnimatedContainer/AnimatedContainer.d.ts.map +1 -1
  58. package/dist/definitions/index.d.ts +1 -6
  59. package/dist/definitions/index.d.ts.map +1 -1
  60. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +190 -0
  61. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
  62. package/dist/definitions/story-components/Flex.d.ts +6 -4
  63. package/dist/definitions/story-components/Flex.d.ts.map +1 -1
  64. package/dist/definitions/themes/default.d.ts +2 -0
  65. package/dist/definitions/themes/default.d.ts.map +1 -1
  66. package/dist/definitions/themes/late-ocean/choices.d.ts +2 -0
  67. package/dist/definitions/themes/late-ocean/choices.d.ts.map +1 -1
  68. package/dist/definitions/themes/late-ocean/forms.d.ts +1 -0
  69. package/dist/definitions/themes/late-ocean/forms.d.ts.map +1 -1
  70. package/dist/definitions/themes/late-ocean/input.d.ts +3 -0
  71. package/dist/definitions/themes/late-ocean/input.d.ts.map +1 -1
  72. package/dist/definitions/themes/late-ocean/listItem.d.ts +3 -0
  73. package/dist/definitions/themes/late-ocean/listItem.d.ts.map +1 -1
  74. package/dist/definitions/themes/late-ocean/pageLoader.d.ts +7 -0
  75. package/dist/definitions/themes/late-ocean/pageLoader.d.ts.map +1 -1
  76. package/dist/definitions/themes/late-ocean/picker.d.ts +3 -0
  77. package/dist/definitions/themes/late-ocean/picker.d.ts.map +1 -1
  78. package/dist/definitions/themes/late-ocean/skeleton.d.ts +2 -0
  79. package/dist/definitions/themes/late-ocean/skeleton.d.ts.map +1 -1
  80. package/dist/definitions/themes/late-ocean/tag.d.ts +3 -0
  81. package/dist/definitions/themes/late-ocean/tag.d.ts.map +1 -1
  82. package/dist/definitions/themes/late-ocean/timePicker.d.ts +5 -0
  83. package/dist/definitions/themes/late-ocean/timePicker.d.ts.map +1 -0
  84. package/dist/definitions/themes/late-ocean/verticalSteps.d.ts +14 -0
  85. package/dist/definitions/themes/late-ocean/verticalSteps.d.ts.map +1 -0
  86. package/dist/definitions/typography/TypographyLink.d.ts.map +1 -1
  87. package/dist/definitions/typography/TypographyLinkWebWrapper.d.ts +7 -0
  88. package/dist/definitions/typography/TypographyLinkWebWrapper.d.ts.map +1 -0
  89. package/dist/definitions/typography/TypographyLinkWebWrapper.web.d.ts +4 -0
  90. package/dist/definitions/typography/TypographyLinkWebWrapper.web.d.ts.map +1 -0
  91. package/dist/definitions/useKittTheme.d.ts +0 -3
  92. package/dist/definitions/useKittTheme.d.ts.map +1 -1
  93. package/dist/definitions/utils/StyleWebWrapper.d.ts +3 -0
  94. package/dist/definitions/utils/StyleWebWrapper.d.ts.map +1 -1
  95. package/dist/definitions/utils/storybook/KittThemeDecorator.d.ts +0 -5
  96. package/dist/definitions/utils/storybook/KittThemeDecorator.d.ts.map +1 -1
  97. package/dist/definitions/utils/windowSize/useMatchWindowSize.d.ts +4 -1
  98. package/dist/definitions/utils/windowSize/useMatchWindowSize.d.ts.map +1 -1
  99. package/dist/index-browser-all.es.android.js +1278 -1181
  100. package/dist/index-browser-all.es.android.js.map +1 -1
  101. package/dist/index-browser-all.es.ios.js +1278 -1181
  102. package/dist/index-browser-all.es.ios.js.map +1 -1
  103. package/dist/index-browser-all.es.js +1285 -1209
  104. package/dist/index-browser-all.es.js.map +1 -1
  105. package/dist/index-browser-all.es.web.js +819 -791
  106. package/dist/index-browser-all.es.web.js.map +1 -1
  107. package/dist/index-node-14.17.cjs.js +1143 -1041
  108. package/dist/index-node-14.17.cjs.js.map +1 -1
  109. package/dist/index-node-14.17.cjs.web.css +7 -5
  110. package/dist/index-node-14.17.cjs.web.js +693 -619
  111. package/dist/index-node-14.17.cjs.web.js.map +1 -1
  112. package/dist/linaria-themes-browser-all.es.android.js +59 -14
  113. package/dist/linaria-themes-browser-all.es.android.js.map +1 -1
  114. package/dist/linaria-themes-browser-all.es.ios.js +59 -14
  115. package/dist/linaria-themes-browser-all.es.ios.js.map +1 -1
  116. package/dist/linaria-themes-browser-all.es.js +59 -14
  117. package/dist/linaria-themes-browser-all.es.js.map +1 -1
  118. package/dist/linaria-themes-browser-all.es.web.js +59 -14
  119. package/dist/linaria-themes-browser-all.es.web.js.map +1 -1
  120. package/dist/linaria-themes-node-14.17.cjs.js +59 -14
  121. package/dist/linaria-themes-node-14.17.cjs.js.map +1 -1
  122. package/dist/linaria-themes-node-14.17.cjs.web.js +59 -14
  123. package/dist/linaria-themes-node-14.17.cjs.web.js.map +1 -1
  124. package/dist/styles.css +7 -5
  125. package/dist/tsbuildinfo +1 -1
  126. package/package.json +7 -11
  127. package/typings/react-native-web.d.ts +2 -0
  128. package/.stylelintrc +0 -3
  129. package/dist/definitions/Modal/Body.d.ts +0 -6
  130. package/dist/definitions/Modal/Body.d.ts.map +0 -1
  131. package/dist/definitions/Modal/Footer.d.ts +0 -6
  132. package/dist/definitions/Modal/Footer.d.ts.map +0 -1
  133. package/dist/definitions/Modal/Header.d.ts +0 -8
  134. package/dist/definitions/Modal/Header.d.ts.map +0 -1
  135. package/dist/definitions/Modal/Modal.d.ts +0 -21
  136. package/dist/definitions/Modal/Modal.d.ts.map +0 -1
  137. package/dist/definitions/Modal/OnCloseContext.d.ts +0 -3
  138. package/dist/definitions/Modal/OnCloseContext.d.ts.map +0 -1
  139. package/dist/definitions/TimePicker/useTimePicker.d.ts +0 -14
  140. package/dist/definitions/TimePicker/useTimePicker.d.ts.map +0 -1
  141. package/dist/definitions/forms/styledTextInputMixin.d.ts +0 -8
  142. package/dist/definitions/forms/styledTextInputMixin.d.ts.map +0 -1
  143. package/dist/definitions/utils/tests/styled-component-typing-test.d.ts +0 -19
  144. package/dist/definitions/utils/tests/styled-component-typing-test.d.ts.map +0 -1
  145. package/dist/definitions/utils/windowSize/createWindowSizeHelper.d.ts +0 -50
  146. package/dist/definitions/utils/windowSize/createWindowSizeHelper.d.ts.map +0 -1
  147. package/dist/definitions/utils/withTheme.d.ts +0 -7
  148. package/dist/definitions/utils/withTheme.d.ts.map +0 -1
  149. package/dist/index-browser-all.es.css +0 -1
  150. package/dist/index-node-14.17.cjs.css +0 -1
@@ -1,4 +1,4 @@
1
- import { useContext, createContext, forwardRef, cloneElement, useState, useRef, useEffect, useMemo, Children, useReducer, Fragment as Fragment$1 } from 'react';
1
+ import { useContext, createContext, forwardRef, cloneElement, useState, useRef, useEffect, useMemo, Children, useReducer, Fragment as Fragment$1, createElement } from 'react';
2
2
  import { View as View$1, ScrollView as ScrollView$1, Pressable as Pressable$1, Image as Image$1, FlatList as FlatList$1, SectionList as SectionList$1, Stack as Stack$1, VStack as VStack$1, HStack as HStack$1, Center as Center$1, useBreakpointValue, useSx, Text, Input, NativeBaseProvider, extendTheme } from 'native-base';
3
3
  export { useBreakpointValue, useClipboard, useMediaQuery, useSx, useToken } from 'native-base';
4
4
  import _objectSpread from '@babel/runtime/helpers/objectSpread2';
@@ -11,13 +11,10 @@ import _regeneratorRuntime from '@babel/runtime/helpers/regeneratorRuntime';
11
11
  import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
12
12
  import { ArcIcon, UserIcon, CheckboxMark, EyeOffIcon, EyeIcon, InfoIcon, AlertTriangleIcon, CheckIcon, AlertCircleIcon, XIcon, RotateCCWIcon, TooltipArrowIcon } from '@ornikar/kitt-icons';
13
13
  export * from '@ornikar/kitt-icons';
14
- import { styled } from '@linaria/react';
15
- import * as BabelPluginStyledComponentsReactNative from 'react-native';
16
- import { useWindowDimensions, Pressable as Pressable$2, StyleSheet, View as View$2, ScrollView as ScrollView$2, Linking, Modal as Modal$1 } from 'react-native';
14
+ import { useWindowDimensions, ScrollView as ScrollView$2, View as View$2, Linking, Pressable as Pressable$2 } from 'react-native';
17
15
  export { useWindowDimensions as useWindowSize } from 'react-native';
18
16
  import { Portal } from 'react-portal';
19
17
  import { CSSTransition } from 'react-transition-group';
20
- import styled$1, { css, ThemeProvider } from 'styled-components/native';
21
18
  import { parse } from 'twemoji-parser';
22
19
  import { parseNumber, getCountryCallingCode, isValidNumber } from 'libphonenumber-js';
23
20
  import { useSafeAreaInsets } from 'react-native-safe-area-context';
@@ -920,6 +917,9 @@ var inputStatesStyle = {
920
917
  color: colors.black
921
918
  }
922
919
  };
920
+ var webAnimationDuration = '200ms';
921
+ var webAnimationTimingFunction = 'ease-in-out';
922
+ var webAnimationProperty = 'border-color';
923
923
  var input = {
924
924
  minHeight: 40,
925
925
  color: {
@@ -939,9 +939,9 @@ var input = {
939
939
  vertical: 5
940
940
  },
941
941
  transition: {
942
- property: 'border-color',
943
- duration: '200ms',
944
- timingFunction: 'ease-in-out'
942
+ property: webAnimationProperty,
943
+ duration: webAnimationDuration,
944
+ timingFunction: webAnimationTimingFunction
945
945
  },
946
946
  states: inputStatesStyle
947
947
  };
@@ -1040,6 +1040,10 @@ var textArea = {
1040
1040
  minHeight: 120
1041
1041
  };
1042
1042
 
1043
+ var timePicker = {
1044
+ minWidth: 100
1045
+ };
1046
+
1043
1047
  var forms = {
1044
1048
  datePicker: datePicker,
1045
1049
  input: input,
@@ -1048,7 +1052,8 @@ var forms = {
1048
1052
  textArea: textArea,
1049
1053
  checkbox: checkbox,
1050
1054
  inputTag: inputTag,
1051
- radioButtonGroup: radioButtonGroup
1055
+ radioButtonGroup: radioButtonGroup,
1056
+ timePicker: timePicker
1052
1057
  };
1053
1058
 
1054
1059
  var webAnimationContentDuration = 600;
@@ -1138,25 +1143,34 @@ var iconButton = {
1138
1143
 
1139
1144
  var listItem = {
1140
1145
  padding: '12px 16px',
1146
+ verticalPadding: 12,
1147
+ horizontalPadding: 16,
1141
1148
  borderColor: colors.separator,
1142
1149
  borderWidth: 1,
1143
1150
  innerMargin: 8
1144
1151
  };
1145
1152
 
1153
+ var pageLoaderSize = 60;
1154
+ var pageLoaderStrokeWidth = 3;
1155
+ var webAnimationDelay = 500;
1156
+ var webAnimationCircleBackgroundFillDuration = 1000;
1157
+ var webAnimationFilledCircleFillDuration = 1800;
1158
+ var webAnimationFilledCircleRotationDuration = 2160;
1159
+ var fillEasingFunction = [0.39, 0.575, 0.565, 1];
1146
1160
  var pageLoader = {
1147
- size: 60,
1148
- strokeWidth: 3,
1161
+ size: pageLoaderSize,
1162
+ strokeWidth: pageLoaderStrokeWidth,
1149
1163
  colors: {
1150
1164
  base: colors.separator,
1151
1165
  fill: colors.primary
1152
1166
  },
1153
1167
  animation: {
1154
- delay: 500,
1155
- circleBackgroundFillDuration: 1000,
1156
- filledCircleFillDuration: 1800,
1168
+ delay: webAnimationDelay,
1169
+ circleBackgroundFillDuration: webAnimationCircleBackgroundFillDuration,
1170
+ filledCircleFillDuration: webAnimationFilledCircleFillDuration,
1157
1171
  groupFilledCircleRotationDuration: 1800,
1158
- filledCircleRotationDuration: 2160,
1159
- fillEasingFunction: [0.39, 0.575, 0.565, 1]
1172
+ filledCircleRotationDuration: webAnimationFilledCircleRotationDuration,
1173
+ fillEasingFunction: fillEasingFunction
1160
1174
  }
1161
1175
  };
1162
1176
 
@@ -1179,6 +1193,8 @@ var picker = {
1179
1193
  },
1180
1194
  android: {
1181
1195
  padding: '12px 24px',
1196
+ verticalPadding: 12,
1197
+ horizontalPadding: 24,
1182
1198
  "default": {
1183
1199
  backgroundColor: colors.transparent
1184
1200
  },
@@ -1254,9 +1270,11 @@ var shadows = {
1254
1270
  }
1255
1271
  };
1256
1272
 
1257
- var skeleton = {
1258
- backgroundColor: lateOceanColorPalette.black100,
1259
- flareColor: lateOceanColorPalette.black200,
1273
+ var skeletonBackgroundColor = lateOceanColorPalette.black100;
1274
+ var skeletonFlareColor = lateOceanColorPalette.black200;
1275
+ var skeleton$1 = {
1276
+ backgroundColor: skeletonBackgroundColor,
1277
+ flareColor: skeletonFlareColor,
1260
1278
  animationDuration: 1000,
1261
1279
  shape: {
1262
1280
  bar: {
@@ -1277,6 +1295,8 @@ var skeleton = {
1277
1295
  var tag = {
1278
1296
  borderRadius: 10,
1279
1297
  padding: '2px 12px',
1298
+ verticalPadding: 2,
1299
+ horizontalPadding: 12,
1280
1300
  primary: {
1281
1301
  fill: {
1282
1302
  backgroundColor: lateOceanColorPalette.moonPurpleLight1,
@@ -1353,6 +1373,27 @@ var tooltip = {
1353
1373
  }
1354
1374
  };
1355
1375
 
1376
+ var verticalSteps = {
1377
+ active: {
1378
+ icon: {
1379
+ backgroundColor: colors.primary,
1380
+ textColor: colors.white
1381
+ }
1382
+ },
1383
+ done: {
1384
+ icon: {
1385
+ backgroundColor: lateOceanColorPalette.moonPurple,
1386
+ textColor: colors.primary
1387
+ }
1388
+ },
1389
+ "default": {
1390
+ icon: {
1391
+ backgroundColor: colors.disabled,
1392
+ textColor: colors.blackDisabled
1393
+ }
1394
+ }
1395
+ };
1396
+
1356
1397
  var breakpoints = {
1357
1398
  values: {
1358
1399
  base: 0,
@@ -1399,12 +1440,13 @@ var theme = {
1399
1440
  pageLoader: pageLoader,
1400
1441
  picker: picker,
1401
1442
  shadows: shadows,
1402
- skeleton: skeleton,
1443
+ skeleton: skeleton$1,
1403
1444
  tag: tag,
1404
1445
  tooltip: tooltip,
1405
1446
  typography: typography,
1406
1447
  fullscreenModal: fullscreenModal,
1407
- actionCard: actionCard
1448
+ actionCard: actionCard,
1449
+ verticalSteps: verticalSteps
1408
1450
  };
1409
1451
 
1410
1452
  var KittThemeContext = /*#__PURE__*/createContext({
@@ -1752,7 +1794,7 @@ var isTypographyHeader = function (type, isHeaderTypographyInContext) {
1752
1794
  throw new Error('You must set a "base" prop or wrap this Typography in one that does.');
1753
1795
  };
1754
1796
 
1755
- var _excluded$D = ["accessibilityRole", "base", "small", "medium", "large", "wide", "type", "variant", "color"];
1797
+ var _excluded$F = ["accessibilityRole", "base", "small", "medium", "large", "wide", "type", "variant", "color"];
1756
1798
  var IsHeaderTypographyContext = /*#__PURE__*/createContext(undefined);
1757
1799
  var TypographyColorContext = /*#__PURE__*/createContext('black');
1758
1800
  function useTypographyColor() {
@@ -1802,7 +1844,7 @@ function Typography(_ref) {
1802
1844
  } : _ref$type,
1803
1845
  variant = _ref.variant,
1804
1846
  color = _ref.color,
1805
- otherProps = _objectWithoutProperties(_ref, _excluded$D);
1847
+ otherProps = _objectWithoutProperties(_ref, _excluded$F);
1806
1848
  var sx = useSx();
1807
1849
  var isHeaderTypographyInContext = useContext(IsHeaderTypographyContext);
1808
1850
  var defaultColor = useTypographyDefaultColor();
@@ -1907,11 +1949,11 @@ function Icon(_ref) {
1907
1949
  });
1908
1950
  }
1909
1951
 
1910
- var _excluded$C = ["color"],
1952
+ var _excluded$E = ["color"],
1911
1953
  _excluded2$5 = ["color"];
1912
1954
  function TypographyIconSpecifiedColor(_ref) {
1913
1955
  var color = _ref.color,
1914
- props = _objectWithoutProperties(_ref, _excluded$C);
1956
+ props = _objectWithoutProperties(_ref, _excluded$E);
1915
1957
  var sx = useSx();
1916
1958
  var colorStyle = sx({
1917
1959
  color: getTypographyColorValue(color)
@@ -1955,7 +1997,7 @@ var getTextColorByType = function (type, variant, isHovered, isPressed) {
1955
1997
  }
1956
1998
  };
1957
1999
 
1958
- var _excluded$B = ["type", "variant", "isDisabled", "icon", "children", "isHovered", "isPressed", "isFocused"];
2000
+ var _excluded$D = ["type", "variant", "isDisabled", "icon", "children", "isHovered", "isPressed", "isFocused"];
1959
2001
  function ButtonIcon(_ref) {
1960
2002
  var icon = _ref.icon,
1961
2003
  color = _ref.color,
@@ -2030,7 +2072,7 @@ function ButtonContent(_ref3) {
2030
2072
  isHovered = _ref3.isHovered,
2031
2073
  isPressed = _ref3.isPressed;
2032
2074
  _ref3.isFocused;
2033
- var props = _objectWithoutProperties(_ref3, _excluded$B);
2075
+ var props = _objectWithoutProperties(_ref3, _excluded$D);
2034
2076
  var color = isDisabled ? 'black-light' : getTextColorByType(type, variant, isHovered, isPressed);
2035
2077
  return /*#__PURE__*/jsx(View, {
2036
2078
  _web: {
@@ -2079,7 +2121,7 @@ function ButtonPadding(_ref2) {
2079
2121
  });
2080
2122
  }
2081
2123
 
2082
- function DisabledBorder$1() {
2124
+ function DisabledBorder() {
2083
2125
  return /*#__PURE__*/jsx(View, {
2084
2126
  position: "absolute",
2085
2127
  top: 0,
@@ -2217,7 +2259,7 @@ var Button = /*#__PURE__*/forwardRef(function (_ref, ref) {
2217
2259
  isPressed: isPressed,
2218
2260
  isFocused: isFocused,
2219
2261
  children: _children
2220
- }), disabled ? /*#__PURE__*/jsx(DisabledBorder$1, {}) : null, /*#__PURE__*/jsx(FocusBorder, {
2262
+ }), disabled ? /*#__PURE__*/jsx(DisabledBorder, {}) : null, /*#__PURE__*/jsx(FocusBorder, {
2221
2263
  type: type,
2222
2264
  variant: variant,
2223
2265
  isFocused: isFocused || isFocusedInternal,
@@ -2230,29 +2272,15 @@ var Button = /*#__PURE__*/forwardRef(function (_ref, ref) {
2230
2272
  });
2231
2273
  });
2232
2274
 
2233
- function withTheme(WrappedComponent) {
2234
- // eslint-disable-next-line prefer-arrow-callback
2235
- return /*#__PURE__*/forwardRef(function (props, ref) {
2236
- var theme = useTheme();
2237
- return /*#__PURE__*/jsx(WrappedComponent, _objectSpread({
2238
- ref: ref,
2239
- theme: theme
2240
- }, props));
2241
- });
2242
- }
2243
-
2244
- var StyledSpinningIconContainer = withTheme( /*#__PURE__*/styled('div')({
2245
- name: "StyledSpinningIconContainer",
2246
- "class": "kitt-u_StyledSpinningIconContainer_ssn8o83",
2247
- propsAsIs: false
2248
- }));
2275
+ var spinningIcon = "kitt-u_spinningIcon_ssn8o83";
2249
2276
  function SpinningIcon(_ref) {
2250
2277
  var icon = _ref.icon,
2251
2278
  color = _ref.color;
2252
2279
  var clonedIcon = /*#__PURE__*/cloneElement(icon, {
2253
2280
  color: color
2254
2281
  });
2255
- return /*#__PURE__*/jsx(StyledSpinningIconContainer, {
2282
+ return /*#__PURE__*/jsx("div", {
2283
+ className: spinningIcon,
2256
2284
  children: clonedIcon
2257
2285
  });
2258
2286
  }
@@ -2292,7 +2320,7 @@ function useMatchWindowSize(options) {
2292
2320
  }, options);
2293
2321
  }
2294
2322
 
2295
- var _excluded$A = ["as", "onPress", "disabled", "icon", "stretch"];
2323
+ var _excluded$C = ["as", "onPress", "disabled", "icon", "stretch"];
2296
2324
  function getCurrentStretchValue(isStretch, isMedium) {
2297
2325
  // Stretch will follow the value passed from the component occurence if defined
2298
2326
  if (isStretch) return isStretch;
@@ -2307,7 +2335,7 @@ function ActionsItem(_ref) {
2307
2335
  disabled = _ref.disabled,
2308
2336
  icon = _ref.icon,
2309
2337
  stretch = _ref.stretch,
2310
- props = _objectWithoutProperties(_ref, _excluded$A);
2338
+ props = _objectWithoutProperties(_ref, _excluded$C);
2311
2339
  var isMedium = useMatchWindowSize({
2312
2340
  minWidth: KittBreakpoints.MEDIUM
2313
2341
  });
@@ -2382,7 +2410,7 @@ function ActionsButton(_ref) {
2382
2410
  }, props));
2383
2411
  }
2384
2412
 
2385
- var _excluded$z = ["children", "layout"];
2413
+ var _excluded$B = ["children", "layout"];
2386
2414
  function getCurrentLayout(layout) {
2387
2415
  if (!layout) return {
2388
2416
  base: 'stretch',
@@ -2402,7 +2430,7 @@ function getCurrentDirection(layout) {
2402
2430
  function Actions(_ref) {
2403
2431
  var children = _ref.children,
2404
2432
  layout = _ref.layout,
2405
- props = _objectWithoutProperties(_ref, _excluded$z);
2433
+ props = _objectWithoutProperties(_ref, _excluded$B);
2406
2434
  var currentAlignItems = getCurrentLayout(layout);
2407
2435
  var currentDirection = getCurrentDirection(layout);
2408
2436
  return /*#__PURE__*/jsx(Stack, _objectSpread(_objectSpread({
@@ -2448,7 +2476,7 @@ function getInitials(firstname, lastname) {
2448
2476
  return "".concat(firstname[0]).concat(lastname[0]).toUpperCase();
2449
2477
  }
2450
2478
 
2451
- var _excluded$y = ["size", "round", "light", "sizeVariant"];
2479
+ var _excluded$A = ["size", "round", "light", "sizeVariant"];
2452
2480
  function AvatarContent(_ref) {
2453
2481
  var size = _ref.size,
2454
2482
  src = _ref.src,
@@ -2487,7 +2515,7 @@ function Avatar(_ref2) {
2487
2515
  round = _ref2.round,
2488
2516
  light = _ref2.light,
2489
2517
  sizeVariant = _ref2.sizeVariant,
2490
- props = _objectWithoutProperties(_ref2, _excluded$y);
2518
+ props = _objectWithoutProperties(_ref2, _excluded$A);
2491
2519
  var currentSize = getCurrentSize({
2492
2520
  size: size,
2493
2521
  sizeVariant: sizeVariant
@@ -2567,17 +2595,17 @@ function ModalBehaviourPortal(_ref) {
2567
2595
  });
2568
2596
  }
2569
2597
 
2570
- var OnCloseContext$1 = /*#__PURE__*/createContext(function () {});
2598
+ var OnCloseContext = /*#__PURE__*/createContext(function () {});
2571
2599
  function OnCloseProvider(_ref) {
2572
2600
  var children = _ref.children,
2573
2601
  onClose = _ref.onClose;
2574
- return /*#__PURE__*/jsx(OnCloseContext$1.Provider, {
2602
+ return /*#__PURE__*/jsx(OnCloseContext.Provider, {
2575
2603
  value: onClose,
2576
2604
  children: children
2577
2605
  });
2578
2606
  }
2579
2607
  function useOnCloseModalBehaviour() {
2580
- var onClose = useContext(OnCloseContext$1);
2608
+ var onClose = useContext(OnCloseContext);
2581
2609
  return onClose;
2582
2610
  }
2583
2611
 
@@ -2615,20 +2643,16 @@ function ModalBehaviour(_ref2) {
2615
2643
  }
2616
2644
  ModalBehaviour.CloseButton = CloseButton;
2617
2645
 
2618
- // Don't use styled.Pressable here - babel-plugin-styled-components-react-native-web only supports tagged templates
2619
- var OverlayPressable = /*#__PURE__*/styled$1(Pressable$2).withConfig({
2620
- displayName: "Overlay__OverlayPressable",
2621
- componentId: "kitt-universal__sc-1cz1gbr-0"
2622
- })(function (_ref) {
2623
- var theme = _ref.theme;
2624
- return _objectSpread(_objectSpread({}, StyleSheet.absoluteFillObject), {}, {
2625
- backgroundColor: theme.kitt.colors.overlay.dark
2626
- });
2627
- });
2628
- function Overlay(_ref2) {
2629
- var onPress = _ref2.onPress;
2630
- return /*#__PURE__*/jsx(OverlayPressable, {
2646
+ function Overlay(_ref) {
2647
+ var onPress = _ref.onPress;
2648
+ return /*#__PURE__*/jsx(Pressable, {
2631
2649
  accessibilityRole: "none",
2650
+ position: "absolute",
2651
+ top: "0",
2652
+ left: "0",
2653
+ right: "0",
2654
+ bottom: "0",
2655
+ backgroundColor: "kitt.overlay.dark",
2632
2656
  onPress: onPress
2633
2657
  });
2634
2658
  }
@@ -2642,7 +2666,7 @@ function CardModalRotationContainer(props) {
2642
2666
  }, props));
2643
2667
  }
2644
2668
 
2645
- var _excluded$x = ["children", "appear", "visible", "unmountOnExit", "isAnimationEnabled", "onEnter", "onEntered", "onExit", "onExited", "onClose"];
2669
+ var _excluded$z = ["children", "appear", "visible", "unmountOnExit", "isAnimationEnabled", "onEnter", "onEntered", "onExit", "onExited", "onClose"];
2646
2670
  var contentAnimationEnter$1 = "kitt-u_contentAnimationEnter_c11xxy4r";
2647
2671
  var contentAnimatioEnterActive$1 = "kitt-u_contentAnimatioEnterActive_cl52117";
2648
2672
  var contentAnimatioExit$1 = "kitt-u_contentAnimatioExit_cyjczep";
@@ -2681,7 +2705,7 @@ function CardModalAnimation(_ref) {
2681
2705
  onExit = _ref.onExit,
2682
2706
  onExited = _ref.onExited,
2683
2707
  onClose = _ref.onClose,
2684
- props = _objectWithoutProperties(_ref, _excluded$x);
2708
+ props = _objectWithoutProperties(_ref, _excluded$z);
2685
2709
  var theme = useTheme();
2686
2710
  var animation = theme.kitt.cardModal.animation;
2687
2711
  var sharedProps = {
@@ -2714,11 +2738,11 @@ function CardModalAnimation(_ref) {
2714
2738
  }));
2715
2739
  }
2716
2740
 
2717
- var _excluded$w = ["children"],
2741
+ var _excluded$y = ["children"],
2718
2742
  _excluded2$4 = ["children", "visible", "onClose", "onExited"];
2719
2743
  function CardModalScrollContainer(_ref) {
2720
2744
  var children = _ref.children,
2721
- props = _objectWithoutProperties(_ref, _excluded$w);
2745
+ props = _objectWithoutProperties(_ref, _excluded$y);
2722
2746
  return /*#__PURE__*/jsx(ScrollView, _objectSpread(_objectSpread({}, props), {}, {
2723
2747
  children: children
2724
2748
  }));
@@ -2759,7 +2783,7 @@ function CardModalBehaviour(_ref2) {
2759
2783
  });
2760
2784
  }
2761
2785
 
2762
- var _excluded$v = ["children", "paddingX", "paddingY"];
2786
+ var _excluded$x = ["children", "paddingX", "paddingY"];
2763
2787
  function CardModalBody(_ref) {
2764
2788
  var children = _ref.children,
2765
2789
  _ref$paddingX = _ref.paddingX,
@@ -2769,7 +2793,7 @@ function CardModalBody(_ref) {
2769
2793
  } : _ref$paddingX,
2770
2794
  _ref$paddingY = _ref.paddingY,
2771
2795
  paddingY = _ref$paddingY === void 0 ? 'kitt.4' : _ref$paddingY,
2772
- props = _objectWithoutProperties(_ref, _excluded$v);
2796
+ props = _objectWithoutProperties(_ref, _excluded$x);
2773
2797
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
2774
2798
  paddingX: paddingX,
2775
2799
  paddingY: paddingY
@@ -2778,7 +2802,7 @@ function CardModalBody(_ref) {
2778
2802
  }));
2779
2803
  }
2780
2804
 
2781
- var _excluded$u = ["children", "padding", "hasSeparator"];
2805
+ var _excluded$w = ["children", "padding", "hasSeparator"];
2782
2806
  function CardModalFooter(_ref) {
2783
2807
  var children = _ref.children,
2784
2808
  _ref$padding = _ref.padding,
@@ -2788,7 +2812,7 @@ function CardModalFooter(_ref) {
2788
2812
  } : _ref$padding,
2789
2813
  _ref$hasSeparator = _ref.hasSeparator,
2790
2814
  hasSeparator = _ref$hasSeparator === void 0 ? true : _ref$hasSeparator,
2791
- props = _objectWithoutProperties(_ref, _excluded$u);
2815
+ props = _objectWithoutProperties(_ref, _excluded$w);
2792
2816
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
2793
2817
  marginTop: "kitt.2",
2794
2818
  padding: padding,
@@ -2802,7 +2826,7 @@ function CardModalFooter(_ref) {
2802
2826
  }));
2803
2827
  }
2804
2828
 
2805
- var _excluded$t = ["children", "title", "paddingBottom", "hasSeparator", "right", "left"];
2829
+ var _excluded$v = ["children", "title", "paddingBottom", "hasSeparator", "right", "left"];
2806
2830
  function CardModalHeader(_ref) {
2807
2831
  var children = _ref.children,
2808
2832
  title = _ref.title,
@@ -2815,7 +2839,7 @@ function CardModalHeader(_ref) {
2815
2839
  hasSeparator = _ref$hasSeparator === void 0 ? true : _ref$hasSeparator,
2816
2840
  right = _ref.right,
2817
2841
  left = _ref.left,
2818
- props = _objectWithoutProperties(_ref, _excluded$t);
2842
+ props = _objectWithoutProperties(_ref, _excluded$v);
2819
2843
  var defaultContainerPadding = {
2820
2844
  base: 'kitt.4',
2821
2845
  medium: 'kitt.6'
@@ -2853,7 +2877,7 @@ function CardModalHeader(_ref) {
2853
2877
  }));
2854
2878
  }
2855
2879
 
2856
- var _excluded$s = ["backgroundColor", "maxWidth", "withoutShadow", "children", "header", "body", "footer"];
2880
+ var _excluded$u = ["backgroundColor", "maxWidth", "withoutShadow", "children", "header", "body", "footer"];
2857
2881
  function CardModal(_ref) {
2858
2882
  var _ref$backgroundColor = _ref.backgroundColor,
2859
2883
  backgroundColor = _ref$backgroundColor === void 0 ? 'kitt.uiBackgroundLight' : _ref$backgroundColor,
@@ -2864,7 +2888,7 @@ function CardModal(_ref) {
2864
2888
  header = _ref.header,
2865
2889
  body = _ref.body,
2866
2890
  footer = _ref.footer,
2867
- props = _objectWithoutProperties(_ref, _excluded$s);
2891
+ props = _objectWithoutProperties(_ref, _excluded$u);
2868
2892
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
2869
2893
  overflow: "hidden",
2870
2894
  backgroundColor: backgroundColor,
@@ -2882,6 +2906,62 @@ CardModal.Header = CardModalHeader;
2882
2906
  CardModal.Footer = CardModalFooter;
2883
2907
  CardModal.ModalBehaviour = CardModalBehaviour;
2884
2908
 
2909
+ function getBackgroundColor$3(_ref) {
2910
+ var isDisabled = _ref.isDisabled,
2911
+ isSelected = _ref.isSelected,
2912
+ isHovered = _ref.isHovered,
2913
+ isPressed = _ref.isPressed;
2914
+ if (isDisabled) return 'kitt.choices.item.disabled.backgroundColor';
2915
+ if (isSelected && isHovered) return 'kitt.choices.item.hoverWhenSelected.backgroundColor';
2916
+ if (isPressed) return 'kitt.choices.item.pressed.backgroundColor';
2917
+ if (isHovered) return 'kitt.choices.item.hover.backgroundColor';
2918
+ if (isSelected) return 'kitt.choices.item.selected.backgroundColor';
2919
+ return 'kitt.choices.item.default.backgroundColor';
2920
+ }
2921
+
2922
+ function getBorderRadius(variant) {
2923
+ // The clean way to have the rounded effect would have been to know the children height since radius >= height * 0.5
2924
+ // We don't control over the height of the rendered children we just go with a arbitrary really high value
2925
+ return variant === 'rounded' ? Number.MAX_SAFE_INTEGER : 'kitt.choices.item.borderRadius';
2926
+ }
2927
+
2928
+ function AnimatedChoiceItemView(_ref) {
2929
+ var children = _ref.children,
2930
+ variant = _ref.variant,
2931
+ size = _ref.size,
2932
+ isHovered = _ref.isHovered,
2933
+ isPressed = _ref.isPressed,
2934
+ isDisabled = _ref.isDisabled,
2935
+ isSelected = _ref.isSelected;
2936
+ var theme = useTheme();
2937
+ return /*#__PURE__*/jsx(View, {
2938
+ position: "relative",
2939
+ borderRadius: getBorderRadius(variant),
2940
+ backgroundColor: getBackgroundColor$3({
2941
+ isDisabled: isDisabled,
2942
+ isSelected: isSelected,
2943
+ isHovered: isHovered,
2944
+ isPressed: isPressed
2945
+ }),
2946
+ paddingX: size === 'small' ? 'kitt.4' : {
2947
+ base: 'kitt.4',
2948
+ small: 'kitt.6'
2949
+ },
2950
+ paddingY: size === 'small' ? 'kitt.2' : {
2951
+ base: 'kitt.4',
2952
+ small: 'kitt.6'
2953
+ },
2954
+ _web: {
2955
+ style: {
2956
+ transitionProperty: theme.kitt.choices.item.transition.property,
2957
+ transitionDuration: "".concat(theme.kitt.choices.item.transition.duration, "ms"),
2958
+ transitionTimingFunction: theme.kitt.choices.item.transition.timingFunction
2959
+ }
2960
+ },
2961
+ children: children
2962
+ });
2963
+ }
2964
+
2885
2965
  var useNativeAnimation$2 = function () {
2886
2966
  return {
2887
2967
  onPressIn: function onPressIn() {},
@@ -2900,92 +2980,26 @@ function getCurrentTextColor$1(_ref) {
2900
2980
  if (isSelected || isPressed) return 'white';
2901
2981
  return 'black';
2902
2982
  }
2903
- function getBorderRadius(defaultRadius, variant) {
2904
- // The clean way to have the rounded effect would have been to know the children height since radius >= height * 0.5
2905
- // We don't control over the height of the rendered children we just go with a arbitrary really high value
2906
2983
 
2907
- if (variant === 'rounded') return 800;
2908
- return defaultRadius;
2909
- }
2910
- var DisabledBorder = /*#__PURE__*/styled$1(View$2).withConfig({
2911
- displayName: "ChoiceItem__DisabledBorder",
2912
- componentId: "kitt-universal__sc-wuv3y6-0"
2913
- })(["border-radius:", "px;", ";"], function (_ref2) {
2914
- var theme = _ref2.theme,
2915
- $variant = _ref2.$variant;
2916
- return getBorderRadius(theme.kitt.choices.item.borderRadius, $variant);
2917
- }, function (_ref3) {
2918
- var theme = _ref3.theme;
2919
- var _theme$kitt$choices$i = theme.kitt.choices.item.disabled.border,
2920
- width = _theme$kitt$choices$i.width,
2921
- color = _theme$kitt$choices$i.color;
2922
- return css(["border:", "px solid ", ";"], width, color);
2923
- });
2924
- var ChoiceItemView = /*#__PURE__*/styled$1(View$2).withConfig({
2925
- displayName: "ChoiceItem__ChoiceItemView",
2926
- componentId: "kitt-universal__sc-wuv3y6-1"
2927
- })(["position:relative;border-radius:", "px;background-color:", ";", ";", ""], function (_ref4) {
2928
- var theme = _ref4.theme,
2929
- $variant = _ref4.$variant;
2930
- return getBorderRadius(theme.kitt.choices.item.borderRadius, $variant);
2931
- }, function (_ref5) {
2932
- var theme = _ref5.theme,
2933
- $isHovered = _ref5.$isHovered,
2934
- $isPressed = _ref5.$isPressed,
2935
- $isDisabled = _ref5.$isDisabled,
2936
- $isSelected = _ref5.$isSelected;
2937
- var _theme$kitt$choices$i2 = theme.kitt.choices.item.backgroundColor,
2938
- hoverWhenSelected = _theme$kitt$choices$i2.hoverWhenSelected,
2939
- hover = _theme$kitt$choices$i2.hover,
2940
- disabled = _theme$kitt$choices$i2.disabled,
2941
- selected = _theme$kitt$choices$i2.selected,
2942
- pressed = _theme$kitt$choices$i2.pressed,
2943
- defaultBackground = _theme$kitt$choices$i2["default"];
2944
- if ($isDisabled) return disabled;
2945
- if ($isSelected && $isHovered) return hoverWhenSelected;
2946
- if ($isPressed) return pressed;
2947
- if ($isHovered) return hover;
2948
- if ($isSelected) return selected;
2949
- return defaultBackground;
2950
- }, function (_ref6) {
2951
- var theme = _ref6.theme,
2952
- $size = _ref6.$size;
2953
- var _theme$kitt$choices$i3 = theme.kitt.choices.item.padding,
2954
- base = _theme$kitt$choices$i3.base,
2955
- small = _theme$kitt$choices$i3.small;
2956
- if ($size === 'small') {
2957
- return css(["padding:", "px ", "px;"], base / 2, base);
2958
- }
2959
- return theme.responsive.ifWindowSizeMatches({
2960
- minWidth: KittBreakpoints.SMALL
2961
- }, css(["padding:", "px;"], small), css(["padding:", "px;"], base));
2962
- }, function (_ref7) {
2963
- var theme = _ref7.theme;
2964
- var _theme$kitt$choices$i4 = theme.kitt.choices.item.transition,
2965
- property = _theme$kitt$choices$i4.property,
2966
- duration = _theme$kitt$choices$i4.duration,
2967
- timingFunction = _theme$kitt$choices$i4.timingFunction;
2968
- return css(["transition:", " ", "ms ", ";"], property, duration, timingFunction);
2969
- });
2970
- function ChoiceItem(_ref8) {
2971
- var _ref8$type = _ref8.type,
2972
- type = _ref8$type === void 0 ? 'button' : _ref8$type,
2973
- value = _ref8.value,
2974
- selected = _ref8.selected,
2975
- disabled = _ref8.disabled,
2976
- variant = _ref8.variant,
2977
- _children = _ref8.children,
2978
- isPressedInternal = _ref8.isPressedInternal,
2979
- isHoveredInternal = _ref8.isHoveredInternal,
2980
- onPress = _ref8.onPress,
2981
- onChange = _ref8.onChange,
2982
- onBlur = _ref8.onBlur,
2983
- onFocus = _ref8.onFocus,
2984
- size = _ref8.size;
2984
+ function ChoiceItem(_ref) {
2985
+ var _ref$type = _ref.type,
2986
+ type = _ref$type === void 0 ? 'button' : _ref$type,
2987
+ value = _ref.value,
2988
+ selected = _ref.selected,
2989
+ disabled = _ref.disabled,
2990
+ variant = _ref.variant,
2991
+ _children = _ref.children,
2992
+ isPressedInternal = _ref.isPressedInternal,
2993
+ isHoveredInternal = _ref.isHoveredInternal,
2994
+ onPress = _ref.onPress,
2995
+ onChange = _ref.onChange,
2996
+ onBlur = _ref.onBlur,
2997
+ onFocus = _ref.onFocus,
2998
+ size = _ref.size;
2985
2999
  var _useNativeAnimation = useNativeAnimation$2(),
2986
3000
  onPressIn = _useNativeAnimation.onPressIn,
2987
- onPressOut = _useNativeAnimation.onPressOut;
2988
- _useNativeAnimation.backgroundStyles;
3001
+ onPressOut = _useNativeAnimation.onPressOut,
3002
+ backgroundStyles = _useNativeAnimation.backgroundStyles;
2989
3003
  var handleChange = function () {
2990
3004
  if (!onChange) return;
2991
3005
 
@@ -3012,17 +3026,17 @@ function ChoiceItem(_ref8) {
3012
3026
  },
3013
3027
  onPressIn: onPressIn,
3014
3028
  onPressOut: onPressOut,
3015
- children: function children(_ref9) {
3016
- var isHovered = _ref9.isHovered,
3017
- isPressed = _ref9.isPressed;
3018
- return /*#__PURE__*/jsxs(ChoiceItemView, {
3019
- style: undefined,
3020
- $isHovered: isHovered || isHoveredInternal,
3021
- $isDisabled: disabled,
3022
- $isSelected: selected,
3023
- $isPressed: isPressed || isPressedInternal,
3024
- $variant: variant,
3025
- $size: size,
3029
+ children: function children(_ref2) {
3030
+ var isHovered = _ref2.isHovered,
3031
+ isPressed = _ref2.isPressed;
3032
+ return /*#__PURE__*/jsxs(AnimatedChoiceItemView, {
3033
+ animatedStyles: backgroundStyles,
3034
+ isHovered: isHovered || isHoveredInternal,
3035
+ isDisabled: disabled,
3036
+ isSelected: selected,
3037
+ isPressed: isPressed || isPressedInternal,
3038
+ variant: variant,
3039
+ size: size,
3026
3040
  children: [/*#__PURE__*/jsx(Typography.SetDefaultColor, {
3027
3041
  value: getCurrentTextColor$1({
3028
3042
  isDisabled: disabled,
@@ -3031,35 +3045,37 @@ function ChoiceItem(_ref8) {
3031
3045
  isHovered: isHovered || isHoveredInternal
3032
3046
  }),
3033
3047
  children: _children
3034
- }), disabled ? /*#__PURE__*/jsx(DisabledBorder, {
3035
- $variant: variant,
3036
- style: StyleSheet.absoluteFillObject
3048
+ }), disabled ? /*#__PURE__*/jsx(View, {
3049
+ borderRadius: getBorderRadius(variant),
3050
+ borderWidth: "kitt.choices.item.disabled.borderWidth",
3051
+ borderColor: "kitt.choices.item.disabled.borderColor",
3052
+ position: "absolute",
3053
+ top: "0",
3054
+ right: "0",
3055
+ left: "0",
3056
+ bottom: "0"
3037
3057
  }) : null]
3038
3058
  });
3039
3059
  }
3040
3060
  });
3041
3061
  }
3042
3062
 
3043
- var ChoiceItemContainer = /*#__PURE__*/styled$1(View$2).withConfig({
3044
- displayName: "ChoiceItemContainer",
3045
- componentId: "kitt-universal__sc-17uuimx-0"
3046
- })(["", ""], function (_ref) {
3047
- var theme = _ref.theme,
3048
- $isLast = _ref.$isLast,
3049
- $direction = _ref.$direction;
3050
- var _theme$kitt$choices$s = theme.kitt.choices.spacing,
3051
- row = _theme$kitt$choices$s.row,
3052
- column = _theme$kitt$choices$s.column;
3053
- if ($direction === 'row') {
3054
- return css(["margin-right:", "px;"], $isLast ? 0 : row);
3055
- }
3056
- return css(["margin-bottom:", "px;"], $isLast ? 0 : column);
3057
- });
3063
+ function ChoiceItemContainer(_ref) {
3064
+ var children = _ref.children,
3065
+ direction = _ref.direction,
3066
+ isLast = _ref.isLast;
3067
+ var currentItemMarginValue = isLast ? undefined : 'kitt.3';
3068
+ return /*#__PURE__*/jsx(View, {
3069
+ marginRight: direction === 'row' ? currentItemMarginValue : undefined,
3070
+ marginBottom: direction === 'column' ? currentItemMarginValue : undefined,
3071
+ children: children
3072
+ });
3073
+ }
3058
3074
 
3059
- var _excluded$r = ["direction"];
3075
+ var _excluded$t = ["direction"];
3060
3076
  function ChoicesContainer(_ref) {
3061
3077
  var direction = _ref.direction,
3062
- props = _objectWithoutProperties(_ref, _excluded$r);
3078
+ props = _objectWithoutProperties(_ref, _excluded$t);
3063
3079
  if (direction === 'row') {
3064
3080
  return /*#__PURE__*/jsx(ScrollView$2, _objectSpread({
3065
3081
  horizontal: true
@@ -3113,8 +3129,8 @@ function Choices(_ref2) {
3113
3129
  selected: isForm ? child.props.value === currentValue : undefined
3114
3130
  }, sharedProps));
3115
3131
  return /*#__PURE__*/jsx(ChoiceItemContainer, {
3116
- $direction: direction,
3117
- $isLast: index === childrenArray.length - 1,
3132
+ direction: direction,
3133
+ isLast: index === childrenArray.length - 1,
3118
3134
  children: element
3119
3135
  }, child.key);
3120
3136
  })
@@ -3131,7 +3147,7 @@ var ChoicesElements = {
3131
3147
  ButtonChoices: ButtonChoices
3132
3148
  };
3133
3149
 
3134
- var _excluded$q = ["children", "appear", "visible", "unmountOnExit", "isAnimationEnabled", "onEnter", "onEntered", "onExit", "onExited", "onClose"];
3150
+ var _excluded$s = ["children", "appear", "visible", "unmountOnExit", "isAnimationEnabled", "onEnter", "onEntered", "onExit", "onExited", "onClose"];
3135
3151
  var contentAnimationEnter = "kitt-u_contentAnimationEnter_c1i0gle8";
3136
3152
  var contentAnimatioEnterActive = "kitt-u_contentAnimatioEnterActive_c1jmfkjw";
3137
3153
  var contentAnimatioExit = "kitt-u_contentAnimatioExit_cwjstxl";
@@ -3170,7 +3186,7 @@ function DialogModalAnimation(_ref) {
3170
3186
  onExit = _ref.onExit,
3171
3187
  onExited = _ref.onExited,
3172
3188
  onClose = _ref.onClose,
3173
- props = _objectWithoutProperties(_ref, _excluded$q);
3189
+ props = _objectWithoutProperties(_ref, _excluded$s);
3174
3190
  var theme = useTheme();
3175
3191
  var animation = theme.kitt.dialogModal.animation;
3176
3192
  var sharedProps = {
@@ -3205,13 +3221,13 @@ function DialogModalAnimation(_ref) {
3205
3221
  }));
3206
3222
  }
3207
3223
 
3208
- var _excluded$p = ["children", "visible", "onClose", "onExited"];
3224
+ var _excluded$r = ["children", "visible", "onClose", "onExited"];
3209
3225
  function DialogModalBehaviour(_ref) {
3210
3226
  var children = _ref.children,
3211
3227
  visible = _ref.visible,
3212
3228
  onClose = _ref.onClose,
3213
3229
  onExited = _ref.onExited,
3214
- props = _objectWithoutProperties(_ref, _excluded$p);
3230
+ props = _objectWithoutProperties(_ref, _excluded$r);
3215
3231
  var _useState = useState(visible),
3216
3232
  _useState2 = _slicedToArray(_useState, 2),
3217
3233
  isModalBehaviourVisible = _useState2[0],
@@ -3242,7 +3258,7 @@ function DialogModalBehaviour(_ref) {
3242
3258
  });
3243
3259
  }
3244
3260
 
3245
- var _excluded$o = ["stretch"];
3261
+ var _excluded$q = ["stretch"];
3246
3262
  function DialogModal(_ref) {
3247
3263
  var illustration = _ref.illustration,
3248
3264
  title = _ref.title,
@@ -3283,7 +3299,7 @@ DialogModal.ModalBehaviour = DialogModalBehaviour;
3283
3299
  function DialogModalButton(_ref2) {
3284
3300
  var _ref2$stretch = _ref2.stretch,
3285
3301
  stretch = _ref2$stretch === void 0 ? true : _ref2$stretch,
3286
- props = _objectWithoutProperties(_ref2, _excluded$o);
3302
+ props = _objectWithoutProperties(_ref2, _excluded$q);
3287
3303
  return /*#__PURE__*/jsx(Actions.Button, _objectSpread({
3288
3304
  stretch: stretch
3289
3305
  }, props));
@@ -3320,7 +3336,7 @@ function Emoji(_ref) {
3320
3336
  });
3321
3337
  }
3322
3338
 
3323
- var _excluded$n = ["as", "appScheme", "appValue", "onPress", "onOpenAppError"],
3339
+ var _excluded$p = ["as", "appScheme", "appValue", "onPress", "onOpenAppError"],
3324
3340
  _excluded2$3 = ["phoneNumber", "children"],
3325
3341
  _excluded3$2 = ["phoneNumber", "children"],
3326
3342
  _excluded4$1 = ["emailAddress", "children"];
@@ -3330,7 +3346,7 @@ function ExternalAppLink(_ref) {
3330
3346
  appValue = _ref.appValue,
3331
3347
  onPress = _ref.onPress,
3332
3348
  onOpenAppError = _ref.onOpenAppError,
3333
- rest = _objectWithoutProperties(_ref, _excluded$n);
3349
+ rest = _objectWithoutProperties(_ref, _excluded$p);
3334
3350
  var href = "".concat(appScheme, ":").concat(appValue);
3335
3351
  var handleOnPress = /*#__PURE__*/function () {
3336
3352
  var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(e) {
@@ -3425,14 +3441,14 @@ var defaultOpenLinkBehavior = {
3425
3441
  web: 'targetBlank'
3426
3442
  };
3427
3443
 
3428
- var _excluded$m = ["as", "href", "openLinkBehavior", "onPress"];
3444
+ var _excluded$o = ["as", "href", "openLinkBehavior", "onPress"];
3429
3445
  function ExternalLink(_ref) {
3430
3446
  var Component = _ref.as,
3431
3447
  href = _ref.href,
3432
3448
  _ref$openLinkBehavior = _ref.openLinkBehavior,
3433
3449
  openLinkBehavior = _ref$openLinkBehavior === void 0 ? defaultOpenLinkBehavior : _ref$openLinkBehavior,
3434
3450
  onPress = _ref.onPress,
3435
- rest = _objectWithoutProperties(_ref, _excluded$m);
3451
+ rest = _objectWithoutProperties(_ref, _excluded$o);
3436
3452
  return /*#__PURE__*/jsx(Component, _objectSpread(_objectSpread({}, rest), {}, {
3437
3453
  href: href,
3438
3454
  hrefAttrs: (openLinkBehavior === null || openLinkBehavior === void 0 ? void 0 : openLinkBehavior.web) === 'targetSelf' ? undefined : {
@@ -3739,26 +3755,14 @@ function stringToNumber(text) {
3739
3755
  return parseInt(text, 10);
3740
3756
  }
3741
3757
 
3742
- var _exp$2 = function () {
3743
- return function (_ref) {
3744
- var theme = _ref.theme;
3745
- var _theme$kitt$forms$inp = theme.kitt.forms.input.transition,
3746
- property = _theme$kitt$forms$inp.property,
3747
- duration = _theme$kitt$forms$inp.duration,
3748
- timingFunction = _theme$kitt$forms$inp.timingFunction;
3749
- return "".concat(property, " ").concat(duration, " ").concat(timingFunction);
3750
- };
3751
- };
3752
- var InputTextContainer = withTheme( /*#__PURE__*/styled('div')({
3753
- name: "InputTextContainer",
3754
- "class": "kitt-u_InputTextContainer_i1encr9g",
3755
- propsAsIs: false,
3756
- vars: {
3757
- "i1encr9g-0": [_exp$2()]
3758
- }
3759
- }));
3758
+ var inputTextContainer = "kitt-u_inputTextContainer_i1encr9g";
3759
+ function InputTextContainer(props) {
3760
+ return /*#__PURE__*/jsx("div", _objectSpread({
3761
+ className: inputTextContainer
3762
+ }, props));
3763
+ }
3760
3764
 
3761
- var _excluded$l = ["id", "right", "state", "variant", "internalForceState", "disabled", "autoCorrect", "textContentType", "autoComplete", "keyboardType", "multiline", "onSubmitEditing"];
3765
+ var _excluded$n = ["id", "right", "state", "variant", "internalForceState", "disabled", "autoCorrect", "textContentType", "autoComplete", "keyboardType", "multiline", "onSubmitEditing"];
3762
3766
  var InputText = /*#__PURE__*/forwardRef(function (_ref, ref) {
3763
3767
  var id = _ref.id,
3764
3768
  right = _ref.right;
@@ -3778,13 +3782,12 @@ var InputText = /*#__PURE__*/forwardRef(function (_ref, ref) {
3778
3782
  keyboardType = _ref$keyboardType === void 0 ? 'default' : _ref$keyboardType,
3779
3783
  multiline = _ref.multiline,
3780
3784
  onSubmitEditing = _ref.onSubmitEditing,
3781
- props = _objectWithoutProperties(_ref, _excluded$l);
3785
+ props = _objectWithoutProperties(_ref, _excluded$n);
3782
3786
  var theme = useTheme();
3783
3787
  var fontSizeForNativeBase = createNativeBaseFontSize({
3784
3788
  base: 'body'
3785
3789
  });
3786
3790
  return /*#__PURE__*/jsxs(InputTextContainer, {
3787
- $isDisabled: disabled,
3788
3791
  children: [/*#__PURE__*/jsx(Input, _objectSpread(_objectSpread({
3789
3792
  ref: ref,
3790
3793
  multiline: multiline,
@@ -3821,7 +3824,7 @@ var InputText = /*#__PURE__*/forwardRef(function (_ref, ref) {
3821
3824
  });
3822
3825
  });
3823
3826
 
3824
- function getCurrentInternalForcedState(_ref) {
3827
+ function getCurrentInternalForcedState$1(_ref) {
3825
3828
  var isDisabled = _ref.isDisabled,
3826
3829
  isHoveredInternal = _ref.isHoveredInternal,
3827
3830
  isFocusedInternal = _ref.isFocusedInternal,
@@ -3845,7 +3848,7 @@ var InputPart = /*#__PURE__*/forwardRef(function (_ref2, ref) {
3845
3848
  onSubmitEditing = _ref2.onSubmitEditing;
3846
3849
  return /*#__PURE__*/jsx(InputText, {
3847
3850
  ref: ref,
3848
- internalForceState: getCurrentInternalForcedState({
3851
+ internalForceState: getCurrentInternalForcedState$1({
3849
3852
  isDisabled: disabled,
3850
3853
  isHoveredInternal: isHoveredInternal,
3851
3854
  isFocusedInternal: isFocusedInternal,
@@ -3875,7 +3878,7 @@ function PartContainer(_ref) {
3875
3878
  });
3876
3879
  }
3877
3880
 
3878
- var _excluded$k = ["value", "testID", "id", "stretch", "placeholder", "minDate", "maxDate", "disabled", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "returnKeyType", "onChange", "onBlur", "onFocus", "onSubmitEditing"];
3881
+ var _excluded$m = ["value", "testID", "id", "stretch", "placeholder", "minDate", "maxDate", "disabled", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "returnKeyType", "onChange", "onBlur", "onFocus", "onSubmitEditing"];
3879
3882
  var KeyboardDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
3880
3883
  var value = _ref.value,
3881
3884
  testID = _ref.testID,
@@ -3893,7 +3896,7 @@ var KeyboardDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
3893
3896
  onBlur = _ref.onBlur,
3894
3897
  onFocus = _ref.onFocus,
3895
3898
  onSubmitEditing = _ref.onSubmitEditing;
3896
- _objectWithoutProperties(_ref, _excluded$k);
3899
+ _objectWithoutProperties(_ref, _excluded$m);
3897
3900
  var monthRef = useRef(null);
3898
3901
  var yearRef = useRef(null);
3899
3902
  var defaultValue = value;
@@ -4033,10 +4036,10 @@ var KeyboardDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
4033
4036
  });
4034
4037
  });
4035
4038
 
4036
- var _excluded$j = ["value"];
4039
+ var _excluded$l = ["value"];
4037
4040
  var DatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
4038
4041
  var value = _ref.value,
4039
- props = _objectWithoutProperties(_ref, _excluded$j);
4042
+ props = _objectWithoutProperties(_ref, _excluded$l);
4040
4043
  // in apps, final-form can give a string value that will break the component
4041
4044
  var currentValue = value || undefined;
4042
4045
  return /*#__PURE__*/jsx(KeyboardDatePicker, _objectSpread(_objectSpread({
@@ -4130,11 +4133,11 @@ function InputPressable(_ref) {
4130
4133
  return /*#__PURE__*/jsx(Pressable$2, _objectSpread({}, props));
4131
4134
  }
4132
4135
 
4133
- var _excluded$i = ["isPasswordDefaultVisible", "right"];
4136
+ var _excluded$k = ["isPasswordDefaultVisible", "right"];
4134
4137
  var InputPassword = /*#__PURE__*/forwardRef(function (_ref, ref) {
4135
4138
  var isPasswordDefaultVisible = _ref.isPasswordDefaultVisible,
4136
4139
  right = _ref.right,
4137
- props = _objectWithoutProperties(_ref, _excluded$i);
4140
+ props = _objectWithoutProperties(_ref, _excluded$k);
4138
4141
  var _useState = useState(Boolean(isPasswordDefaultVisible)),
4139
4142
  _useState2 = _slicedToArray(_useState, 2),
4140
4143
  isVisible = _useState2[0],
@@ -4162,7 +4165,7 @@ var InputPassword = /*#__PURE__*/forwardRef(function (_ref, ref) {
4162
4165
  }));
4163
4166
  });
4164
4167
 
4165
- var _excluded$h = ["returnKeyType", "autoComplete", "phoneNumberLength", "value", "onChange"];
4168
+ var _excluded$j = ["returnKeyType", "autoComplete", "phoneNumberLength", "value", "onChange"];
4166
4169
  function isPhoneNumberValid(number) {
4167
4170
  return isValidNumber(number);
4168
4171
  }
@@ -4177,7 +4180,7 @@ var InputPhone = /*#__PURE__*/forwardRef(function (_ref, ref) {
4177
4180
  phoneNumberLength = _ref$phoneNumberLengt === void 0 ? 10 : _ref$phoneNumberLengt,
4178
4181
  value = _ref.value,
4179
4182
  onChange = _ref.onChange,
4180
- props = _objectWithoutProperties(_ref, _excluded$h);
4183
+ props = _objectWithoutProperties(_ref, _excluded$j);
4181
4184
  var _useState = useState(value),
4182
4185
  _useState2 = _slicedToArray(_useState, 2),
4183
4186
  currentValue = _useState2[0],
@@ -4225,48 +4228,29 @@ var InputPhone = /*#__PURE__*/forwardRef(function (_ref, ref) {
4225
4228
  var getTypographyColor = function (type) {
4226
4229
  return type ? 'white' : 'black';
4227
4230
  };
4228
- var InputTagContainer = /*#__PURE__*/styled$1(View$2).withConfig({
4229
- displayName: "InputTag__InputTagContainer",
4230
- componentId: "kitt-universal__sc-1511dsf-0"
4231
- })(["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) {
4232
- var theme = _ref.theme;
4233
- return theme.kitt.spacing * 2;
4234
- }, function (_ref2) {
4235
- var theme = _ref2.theme,
4236
- type = _ref2.type;
4237
- if (type === 'success') {
4238
- return theme.kitt.forms.inputTag.success.backgroundColor;
4239
- }
4240
- if (type === 'danger') {
4241
- return theme.kitt.forms.inputTag.danger.backgroundColor;
4242
- }
4243
- return theme.kitt.forms.inputTag["default"].backgroundColor;
4244
- }, function (_ref3) {
4245
- var theme = _ref3.theme;
4246
- return theme.kitt.forms.inputTag.borderRadius;
4247
- });
4248
- var IconContainer = /*#__PURE__*/styled$1(View$2).withConfig({
4249
- displayName: "InputTag__IconContainer",
4250
- componentId: "kitt-universal__sc-1511dsf-1"
4251
- })(["margin-right:", "px;"], function (_ref4) {
4252
- var theme = _ref4.theme;
4253
- return theme.kitt.spacing;
4254
- });
4255
- function InputTag(_ref5) {
4256
- var children = _ref5.children,
4257
- type = _ref5.type,
4258
- icon = _ref5.icon;
4231
+ function InputTag(_ref) {
4232
+ var children = _ref.children,
4233
+ type = _ref.type,
4234
+ icon = _ref.icon;
4259
4235
  var typographyColor = getTypographyColor(type);
4260
4236
  var theme = useTheme();
4261
- return /*#__PURE__*/jsxs(InputTagContainer, {
4262
- type: type,
4263
- children: [icon && /*#__PURE__*/jsx(IconContainer, {
4237
+ return /*#__PURE__*/jsxs(View, {
4238
+ alignItems: "center",
4239
+ justifyContent: "center",
4240
+ flexDirection: "row",
4241
+ alignSelf: "flex-start",
4242
+ overflow: "hidden",
4243
+ paddingX: "kitt.2",
4244
+ backgroundColor: "kitt.forms.inputTag.".concat(type || 'default', ".backgroundColor"),
4245
+ borderRadius: "kitt.forms.inputTag.borderRadius",
4246
+ children: [icon ? /*#__PURE__*/jsx(View, {
4247
+ marginRight: "kitt.1",
4264
4248
  children: /*#__PURE__*/jsx(TypographyIcon, {
4265
4249
  icon: icon,
4266
4250
  size: theme.kitt.forms.inputTag.iconSize,
4267
4251
  color: typographyColor
4268
4252
  })
4269
- }), /*#__PURE__*/jsx(Typography.Text, {
4253
+ }) : null, /*#__PURE__*/jsx(Typography.Text, {
4270
4254
  base: "body-small",
4271
4255
  color: typographyColor,
4272
4256
  children: children
@@ -4632,7 +4616,7 @@ function RadioButton(_ref) {
4632
4616
  });
4633
4617
  }
4634
4618
 
4635
- var _excluded$g = ["children", "stretch", "value", "disabled", "onFocus", "onBlur", "onChange"];
4619
+ var _excluded$i = ["children", "stretch", "value", "disabled", "onFocus", "onBlur", "onChange"];
4636
4620
  function RadioButtonGroupItem(_ref) {
4637
4621
  var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
4638
4622
  return /*#__PURE__*/jsx(RadioButton, _objectSpread({}, props));
@@ -4645,7 +4629,7 @@ function RadioButtonGroup(_ref2) {
4645
4629
  onFocus = _ref2.onFocus,
4646
4630
  onBlur = _ref2.onBlur,
4647
4631
  onChange = _ref2.onChange,
4648
- props = _objectWithoutProperties(_ref2, _excluded$g);
4632
+ props = _objectWithoutProperties(_ref2, _excluded$i);
4649
4633
  var _useState = useState(value),
4650
4634
  _useState2 = _slicedToArray(_useState, 2),
4651
4635
  currentValue = _useState2[0],
@@ -4687,13 +4671,13 @@ var TextArea = /*#__PURE__*/forwardRef(function (_ref, ref) {
4687
4671
  }, props));
4688
4672
  });
4689
4673
 
4690
- var _excluded$f = ["children", "shouldHandleBottomNotch", "style", "shouldHandleTopNotch"];
4674
+ var _excluded$h = ["children", "shouldHandleBottomNotch", "style", "shouldHandleTopNotch"];
4691
4675
  function FullscreenModalBody(_ref) {
4692
4676
  var children = _ref.children,
4693
4677
  shouldHandleBottomNotch = _ref.shouldHandleBottomNotch,
4694
4678
  style = _ref.style,
4695
4679
  shouldHandleTopNotch = _ref.shouldHandleTopNotch,
4696
- props = _objectWithoutProperties(_ref, _excluded$f);
4680
+ props = _objectWithoutProperties(_ref, _excluded$h);
4697
4681
  var _useSafeAreaInsets = useSafeAreaInsets(),
4698
4682
  bottom = _useSafeAreaInsets.bottom,
4699
4683
  top = _useSafeAreaInsets.top;
@@ -4710,14 +4694,14 @@ function FullscreenModalBody(_ref) {
4710
4694
  }));
4711
4695
  }
4712
4696
 
4713
- var _excluded$e = ["shouldHandleBottomNotch", "hasSeparator", "children"];
4697
+ var _excluded$g = ["shouldHandleBottomNotch", "hasSeparator", "children"];
4714
4698
  function FullscreenModalFooter(_ref) {
4715
4699
  var _ref$shouldHandleBott = _ref.shouldHandleBottomNotch,
4716
4700
  shouldHandleBottomNotch = _ref$shouldHandleBott === void 0 ? true : _ref$shouldHandleBott,
4717
4701
  _ref$hasSeparator = _ref.hasSeparator,
4718
4702
  hasSeparator = _ref$hasSeparator === void 0 ? true : _ref$hasSeparator,
4719
4703
  children = _ref.children,
4720
- props = _objectWithoutProperties(_ref, _excluded$e);
4704
+ props = _objectWithoutProperties(_ref, _excluded$g);
4721
4705
  var _useSafeAreaInsets = useSafeAreaInsets(),
4722
4706
  bottom = _useSafeAreaInsets.bottom;
4723
4707
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
@@ -4734,7 +4718,7 @@ function FullscreenModalFooter(_ref) {
4734
4718
  }));
4735
4719
  }
4736
4720
 
4737
- var _excluded$d = ["children", "appear", "visible", "unmountOnExit", "isAnimationEnabled", "onEnter", "onEntered", "onExit", "onExited", "onClose"];
4721
+ var _excluded$f = ["children", "appear", "visible", "unmountOnExit", "isAnimationEnabled", "onEnter", "onEntered", "onExit", "onExited", "onClose"];
4738
4722
  var slideInFromBottomEnter = "kitt-u_slideInFromBottomEnter_s1717rto";
4739
4723
  var slideInFromBottomEnterActive = "kitt-u_slideInFromBottomEnterActive_sux6xgc";
4740
4724
  var slideInFromBottomExit = "kitt-u_slideInFromBottomExit_sl0lsxt";
@@ -4773,7 +4757,7 @@ function FullscreenModalAnimation(_ref) {
4773
4757
  onExit = _ref.onExit,
4774
4758
  onExited = _ref.onExited,
4775
4759
  onClose = _ref.onClose,
4776
- props = _objectWithoutProperties(_ref, _excluded$d);
4760
+ props = _objectWithoutProperties(_ref, _excluded$f);
4777
4761
  var theme = useTheme();
4778
4762
  var animation = theme.kitt.fullscreenModal.animation;
4779
4763
  var sharedProps = {
@@ -4800,13 +4784,13 @@ function FullscreenModalAnimation(_ref) {
4800
4784
  }));
4801
4785
  }
4802
4786
 
4803
- var _excluded$c = ["children", "visible", "onClose", "onExited"];
4787
+ var _excluded$e = ["children", "visible", "onClose", "onExited"];
4804
4788
  function FullscreenModalBehaviour(_ref) {
4805
4789
  var children = _ref.children,
4806
4790
  visible = _ref.visible,
4807
4791
  onClose = _ref.onClose,
4808
4792
  onExited = _ref.onExited,
4809
- props = _objectWithoutProperties(_ref, _excluded$c);
4793
+ props = _objectWithoutProperties(_ref, _excluded$e);
4810
4794
  var _useState = useState(visible),
4811
4795
  _useState2 = _slicedToArray(_useState, 2),
4812
4796
  isModalBehaviourVisible = _useState2[0],
@@ -4850,7 +4834,7 @@ function FullscreenModalContainer(_ref) {
4850
4834
  });
4851
4835
  }
4852
4836
 
4853
- var _excluded$b = ["hasSeparator", "isTransparent", "title", "children", "right", "left", "shouldHandleTopNotch"];
4837
+ var _excluded$d = ["hasSeparator", "isTransparent", "title", "children", "right", "left", "shouldHandleTopNotch"];
4854
4838
  function FullscreenModalHeader(_ref) {
4855
4839
  var _ref$hasSeparator = _ref.hasSeparator,
4856
4840
  hasSeparator = _ref$hasSeparator === void 0 ? true : _ref$hasSeparator,
@@ -4861,7 +4845,7 @@ function FullscreenModalHeader(_ref) {
4861
4845
  left = _ref.left,
4862
4846
  _ref$shouldHandleTopN = _ref.shouldHandleTopNotch,
4863
4847
  shouldHandleTopNotch = _ref$shouldHandleTopN === void 0 ? true : _ref$shouldHandleTopN,
4864
- props = _objectWithoutProperties(_ref, _excluded$b);
4848
+ props = _objectWithoutProperties(_ref, _excluded$d);
4865
4849
  var _useSafeAreaInsets = useSafeAreaInsets(),
4866
4850
  top = _useSafeAreaInsets.top;
4867
4851
  var hasRight = Boolean(right);
@@ -4949,7 +4933,7 @@ function Highlight(_ref) {
4949
4933
  });
4950
4934
  }
4951
4935
 
4952
- var _excluded$a = ["color", "isDisabled"];
4936
+ var _excluded$c = ["color", "isDisabled"];
4953
4937
  function getBackgroundColor(color, isDisabled) {
4954
4938
  if (isDisabled) {
4955
4939
  return 'kitt.iconButton.disabled.backgroundColor';
@@ -4967,7 +4951,7 @@ function getBackgroundColor(color, isDisabled) {
4967
4951
  function Background(_ref) {
4968
4952
  var color = _ref.color,
4969
4953
  isDisabled = _ref.isDisabled,
4970
- props = _objectWithoutProperties(_ref, _excluded$a);
4954
+ props = _objectWithoutProperties(_ref, _excluded$c);
4971
4955
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
4972
4956
  width: "100%",
4973
4957
  height: "100%",
@@ -5158,102 +5142,57 @@ function useKittMapConfig() {
5158
5142
  return context;
5159
5143
  }
5160
5144
 
5161
- var _excluded$9 = ["children"];
5162
- var ContentView$1 = /*#__PURE__*/styled$1(BabelPluginStyledComponentsReactNative.View).withConfig({
5163
- displayName: "ListItemContent__ContentView",
5164
- componentId: "kitt-universal__sc-57q0u9-0"
5165
- })(["flex:1 0 0%;align-self:center;"]);
5145
+ var _excluded$b = ["children"];
5166
5146
  function ListItemContent(_ref) {
5167
5147
  var children = _ref.children,
5168
- rest = _objectWithoutProperties(_ref, _excluded$9);
5169
- return /*#__PURE__*/jsx(ContentView$1, _objectSpread(_objectSpread({}, rest), {}, {
5148
+ rest = _objectWithoutProperties(_ref, _excluded$b);
5149
+ return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
5150
+ alignSelf: "center",
5151
+ flexBasis: "0%",
5152
+ flexGrow: 1,
5153
+ flexShrink: 0
5154
+ }, rest), {}, {
5170
5155
  children: children
5171
5156
  }));
5172
5157
  }
5173
5158
 
5174
- var _excluded$8 = ["children", "side"],
5159
+ var _excluded$a = ["children", "side"],
5175
5160
  _excluded2$2 = ["children", "align"];
5176
- var SideContainerView = /*#__PURE__*/styled$1(BabelPluginStyledComponentsReactNative.View).withConfig({
5177
- displayName: "ListItemSideContent__SideContainerView",
5178
- componentId: "kitt-universal__sc-1vajiw-0"
5179
- })(["flex-direction:row;margin-left:", ";margin-right:", ";"], function (_ref) {
5180
- var theme = _ref.theme,
5181
- side = _ref.side;
5182
- return side === 'right' ? "".concat(theme.kitt.listItem.innerMargin, "px") : 0;
5183
- }, function (_ref2) {
5184
- var theme = _ref2.theme,
5185
- side = _ref2.side;
5186
- return side === 'left' ? "".concat(theme.kitt.listItem.innerMargin, "px") : 0;
5187
- });
5188
-
5189
5161
  // Handles the vertical alignment of the side elements of the list item
5190
- function ListItemSideContainer(_ref3) {
5191
- var children = _ref3.children,
5192
- _ref3$side = _ref3.side,
5193
- side = _ref3$side === void 0 ? 'left' : _ref3$side,
5194
- rest = _objectWithoutProperties(_ref3, _excluded$8);
5195
- return /*#__PURE__*/jsx(SideContainerView, _objectSpread(_objectSpread({
5196
- side: side
5162
+ function ListItemSideContainer(_ref) {
5163
+ var children = _ref.children,
5164
+ _ref$side = _ref.side,
5165
+ side = _ref$side === void 0 ? 'left' : _ref$side,
5166
+ rest = _objectWithoutProperties(_ref, _excluded$a);
5167
+ return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
5168
+ flexDirection: "row",
5169
+ marginLeft: side === 'right' ? 'kitt.2' : undefined,
5170
+ marginRight: side === 'left' ? 'kitt.2' : undefined
5197
5171
  }, rest), {}, {
5198
5172
  children: children
5199
5173
  }));
5200
5174
  }
5201
- var SideContentView = /*#__PURE__*/styled$1(BabelPluginStyledComponentsReactNative.View).withConfig({
5202
- displayName: "ListItemSideContent__SideContentView",
5203
- componentId: "kitt-universal__sc-1vajiw-1"
5204
- })(["align-self:", ";"], function (_ref4) {
5205
- var align = _ref4.align;
5206
- return align;
5207
- });
5208
- function ListItemSideContent(_ref5) {
5209
- var children = _ref5.children,
5210
- _ref5$align = _ref5.align,
5211
- align = _ref5$align === void 0 ? 'auto' : _ref5$align,
5212
- rest = _objectWithoutProperties(_ref5, _excluded2$2);
5213
- return /*#__PURE__*/jsx(SideContentView, _objectSpread(_objectSpread({
5214
- align: align
5175
+ function ListItemSideContent(_ref2) {
5176
+ var children = _ref2.children,
5177
+ _ref2$align = _ref2.align,
5178
+ align = _ref2$align === void 0 ? 'auto' : _ref2$align,
5179
+ rest = _objectWithoutProperties(_ref2, _excluded2$2);
5180
+ return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
5181
+ alignSelf: align
5215
5182
  }, rest), {}, {
5216
5183
  children: children
5217
5184
  }));
5218
5185
  }
5219
5186
 
5220
- var _excluded$7 = ["children", "withPadding", "borders", "left", "right", "onPress"];
5221
- var ContainerView = /*#__PURE__*/styled$1(BabelPluginStyledComponentsReactNative.View).withConfig({
5222
- displayName: "ListItem__ContainerView",
5223
- componentId: "kitt-universal__sc-2afp9s-0"
5224
- })(["flex-direction:row;padding:", ";", ";border-color:", ";background-color:", ";"], function (_ref) {
5225
- var withPadding = _ref.withPadding,
5226
- theme = _ref.theme;
5227
- return withPadding ? theme.kitt.listItem.padding : 0;
5228
- }, function (_ref2) {
5229
- var theme = _ref2.theme,
5230
- borders = _ref2.borders;
5231
- var borderWidth = theme.kitt.listItem.borderWidth;
5232
- if (borders === 'top') {
5233
- return "border-top-width: ".concat(borderWidth, "px");
5234
- }
5235
- if (borders === 'bottom') {
5236
- return "border-bottom-width: ".concat(borderWidth, "px");
5237
- }
5238
- if (borders === 'both') {
5239
- return css(["border-top-width:", "px;border-bottom-width:", "px;"], borderWidth, borderWidth);
5240
- }
5241
- return 'border: none';
5242
- }, function (_ref3) {
5243
- var theme = _ref3.theme;
5244
- return theme.kitt.listItem.borderColor;
5245
- }, function (_ref4) {
5246
- var theme = _ref4.theme;
5247
- return theme.kitt.colors.uiBackgroundLight;
5248
- });
5249
- function ListItem(_ref5) {
5250
- var children = _ref5.children,
5251
- withPadding = _ref5.withPadding,
5252
- borders = _ref5.borders,
5253
- left = _ref5.left,
5254
- right = _ref5.right,
5255
- onPress = _ref5.onPress,
5256
- rest = _objectWithoutProperties(_ref5, _excluded$7);
5187
+ var _excluded$9 = ["children", "withPadding", "borders", "left", "right", "onPress"];
5188
+ function ListItem(_ref) {
5189
+ var children = _ref.children,
5190
+ withPadding = _ref.withPadding,
5191
+ borders = _ref.borders,
5192
+ left = _ref.left,
5193
+ right = _ref.right,
5194
+ onPress = _ref.onPress,
5195
+ rest = _objectWithoutProperties(_ref, _excluded$9);
5257
5196
  var Wrapper = onPress ? Pressable$2 : Fragment$1;
5258
5197
  var wrapperProps = onPress ? _objectSpread({
5259
5198
  accessibilityRole: 'button',
@@ -5261,9 +5200,14 @@ function ListItem(_ref5) {
5261
5200
  }, rest) : undefined;
5262
5201
  var containerProps = onPress ? undefined : rest;
5263
5202
  return /*#__PURE__*/jsx(Wrapper, _objectSpread(_objectSpread({}, wrapperProps), {}, {
5264
- children: /*#__PURE__*/jsxs(ContainerView, _objectSpread(_objectSpread({
5265
- withPadding: withPadding,
5266
- borders: borders
5203
+ children: /*#__PURE__*/jsxs(View, _objectSpread(_objectSpread({
5204
+ flexDirection: "row",
5205
+ paddingX: withPadding ? 'kitt.listItem.horizontalPadding' : undefined,
5206
+ paddingY: withPadding ? 'kitt.listItem.verticalPadding' : undefined,
5207
+ borderColor: "kitt.listItem.borderColor",
5208
+ backgroundColor: "kitt.uiBackgroundLight",
5209
+ borderTopWidth: borders === 'top' || borders === 'both' ? 'kitt.listItem.borderWidth' : undefined,
5210
+ borderBottomWidth: borders === 'bottom' || borders === 'both' ? 'kitt.listItem.borderWidth' : undefined
5267
5211
  }, containerProps), {}, {
5268
5212
  children: [left ? /*#__PURE__*/jsx(ListItemSideContainer, {
5269
5213
  side: "left",
@@ -5638,151 +5582,6 @@ function Message(_ref) {
5638
5582
  });
5639
5583
  }
5640
5584
 
5641
- var BodyView = /*#__PURE__*/styled$1(BabelPluginStyledComponentsReactNative.View).withConfig({
5642
- displayName: "Body__BodyView",
5643
- componentId: "kitt-universal__sc-17fwpo4-0"
5644
- })(["padding:", "px ", "px;"], function (_ref) {
5645
- var theme = _ref.theme;
5646
- return theme.kitt.spacing * 6;
5647
- }, function (_ref2) {
5648
- var theme = _ref2.theme;
5649
- return theme.kitt.spacing * 4;
5650
- });
5651
- function ModalBody(_ref3) {
5652
- var children = _ref3.children;
5653
- return /*#__PURE__*/jsx(ScrollView$2, {
5654
- children: /*#__PURE__*/jsx(BodyView, {
5655
- children: children
5656
- })
5657
- });
5658
- }
5659
-
5660
- var FooterView = /*#__PURE__*/styled$1(BabelPluginStyledComponentsReactNative.View).withConfig({
5661
- displayName: "Footer__FooterView",
5662
- componentId: "kitt-universal__sc-1ujq2dc-0"
5663
- })(["flex:0 0 auto;padding:", "px;border-top-width:1px;border-top-color:", ";"], function (_ref) {
5664
- var theme = _ref.theme;
5665
- return theme.kitt.spacing * 4;
5666
- }, function (_ref2) {
5667
- var theme = _ref2.theme;
5668
- return theme.kitt.colors.separator;
5669
- });
5670
- function ModalFooter(_ref3) {
5671
- var children = _ref3.children;
5672
- return /*#__PURE__*/jsx(FooterView, {
5673
- children: children
5674
- });
5675
- }
5676
-
5677
- var OnCloseContext = /*#__PURE__*/createContext(function () {});
5678
-
5679
- var HeaderView = /*#__PURE__*/styled$1(BabelPluginStyledComponentsReactNative.View).withConfig({
5680
- displayName: "Header__HeaderView",
5681
- componentId: "kitt-universal__sc-1iwabch-0"
5682
- })(["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) {
5683
- var theme = _ref.theme;
5684
- return theme.kitt.spacing * 2;
5685
- }, function (_ref2) {
5686
- var theme = _ref2.theme;
5687
- return theme.kitt.colors.separator;
5688
- });
5689
- var LeftIconView = /*#__PURE__*/styled$1(BabelPluginStyledComponentsReactNative.View).withConfig({
5690
- displayName: "Header__LeftIconView",
5691
- componentId: "kitt-universal__sc-1iwabch-1"
5692
- })(["align-self:flex-start;margin-right:", "px;"], function (_ref3) {
5693
- var theme = _ref3.theme;
5694
- return theme.kitt.spacing * 2;
5695
- });
5696
- var RightIconView = /*#__PURE__*/styled$1(BabelPluginStyledComponentsReactNative.View).withConfig({
5697
- displayName: "Header__RightIconView",
5698
- componentId: "kitt-universal__sc-1iwabch-2"
5699
- })(["align-self:flex-start;margin-left:", "px;"], function (_ref4) {
5700
- var theme = _ref4.theme;
5701
- return theme.kitt.spacing * 2;
5702
- });
5703
- var TitleView = /*#__PURE__*/styled$1(BabelPluginStyledComponentsReactNative.View).withConfig({
5704
- displayName: "Header__TitleView",
5705
- componentId: "kitt-universal__sc-1iwabch-3"
5706
- })(["padding-left:", "px;flex-shrink:1;"], function (_ref5) {
5707
- var theme = _ref5.theme,
5708
- isIconLeft = _ref5.isIconLeft;
5709
- return isIconLeft ? 0 : theme.kitt.spacing * 2;
5710
- });
5711
- function ModalHeader(_ref6) {
5712
- var left = _ref6.left,
5713
- right = _ref6.right,
5714
- children = _ref6.children;
5715
- var onClose = useContext(OnCloseContext);
5716
- var isIconLeft = !!left;
5717
- return /*#__PURE__*/jsxs(HeaderView, {
5718
- children: [isIconLeft && /*#__PURE__*/jsx(LeftIconView, {
5719
- children: left
5720
- }), /*#__PURE__*/jsx(TitleView, {
5721
- isIconLeft: isIconLeft,
5722
- children: children
5723
- }), right !== undefined ? right : /*#__PURE__*/jsx(RightIconView, {
5724
- children: /*#__PURE__*/jsx(IconButton, {
5725
- icon: /*#__PURE__*/jsx(XIcon, {}),
5726
- onPress: onClose
5727
- })
5728
- })]
5729
- });
5730
- }
5731
-
5732
- var ModalView = /*#__PURE__*/styled$1(BabelPluginStyledComponentsReactNative.View).withConfig({
5733
- displayName: "Modal__ModalView",
5734
- componentId: "kitt-universal__sc-1xy2w5u-0"
5735
- })(["top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:", "px ", "px;"], function (_ref) {
5736
- var theme = _ref.theme;
5737
- return theme.kitt.spacing * 20;
5738
- }, function (_ref2) {
5739
- var theme = _ref2.theme;
5740
- return theme.kitt.spacing * 4;
5741
- });
5742
- var ContentView = /*#__PURE__*/styled$1(BabelPluginStyledComponentsReactNative.View).withConfig({
5743
- displayName: "Modal__ContentView",
5744
- componentId: "kitt-universal__sc-1xy2w5u-1"
5745
- })(["position:relative;display:flex;flex-direction:column;max-height:100%;max-width:540px;height:auto;width:100%;border-radius:", "px;background-color:", ";"], function (_ref3) {
5746
- var theme = _ref3.theme;
5747
- return theme.kitt.card.borderRadius;
5748
- }, function (_ref4) {
5749
- var theme = _ref4.theme;
5750
- return theme.kitt.colors.uiBackgroundLight;
5751
- });
5752
-
5753
- /**
5754
- * @deprecated This component will be deleted in a later Kitt Universal version. Use CardModal instead
5755
- */
5756
- function Modal(_ref5) {
5757
- var visible = _ref5.visible,
5758
- children = _ref5.children,
5759
- onClose = _ref5.onClose,
5760
- onEntered = _ref5.onEntered,
5761
- onExited = _ref5.onExited;
5762
- return /*#__PURE__*/jsx(OnCloseContext.Provider, {
5763
- value: onClose,
5764
- children: /*#__PURE__*/jsx(Modal$1, {
5765
- transparent: true,
5766
- animationType: "fade",
5767
- supportedOrientations: ['landscape', 'portrait'],
5768
- visible: visible,
5769
- onShow: onEntered,
5770
- onDismiss: onExited,
5771
- onRequestClose: onClose,
5772
- children: /*#__PURE__*/jsxs(ModalView, {
5773
- children: [/*#__PURE__*/jsx(Overlay, {
5774
- onPress: onClose
5775
- }), /*#__PURE__*/jsx(ContentView, {
5776
- children: children
5777
- })]
5778
- })
5779
- })
5780
- });
5781
- }
5782
- Modal.Header = ModalHeader;
5783
- Modal.Body = ModalBody;
5784
- Modal.Footer = ModalFooter;
5785
-
5786
5585
  var createKittSpaces = function (spacing) {
5787
5586
  var sizes = {
5788
5587
  positive: {},
@@ -5936,6 +5735,71 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
5936
5735
  'subtle-dark': theme.button['subtle-dark'],
5937
5736
  disabled: theme.button.disabled
5938
5737
  },
5738
+ choices: {
5739
+ item: {
5740
+ "default": {
5741
+ backgroundColor: theme.choices.item.backgroundColor["default"]
5742
+ },
5743
+ disabled: {
5744
+ backgroundColor: theme.choices.item.backgroundColor.disabled,
5745
+ borderColor: theme.choices.item.disabled.border.color
5746
+ },
5747
+ selected: {
5748
+ backgroundColor: theme.choices.item.backgroundColor.selected
5749
+ },
5750
+ pressed: {
5751
+ backgroundColor: theme.choices.item.backgroundColor.pressed
5752
+ },
5753
+ hover: {
5754
+ backgroundColor: theme.choices.item.backgroundColor.hover
5755
+ },
5756
+ hoverWhenSelected: {
5757
+ backgroundColor: theme.choices.item.backgroundColor.hoverWhenSelected
5758
+ }
5759
+ }
5760
+ },
5761
+ tag: {
5762
+ primary: {
5763
+ fill: {
5764
+ backgroundColor: theme.tag.primary.fill.backgroundColor,
5765
+ borderColor: theme.tag.primary.fill.borderColor
5766
+ },
5767
+ outline: {
5768
+ backgroundColor: theme.tag.primary.outline.backgroundColor,
5769
+ borderColor: theme.tag.primary.outline.borderColor
5770
+ }
5771
+ },
5772
+ "default": {
5773
+ fill: {
5774
+ backgroundColor: theme.tag["default"].fill.backgroundColor,
5775
+ borderColor: theme.tag["default"].fill.borderColor
5776
+ },
5777
+ outline: {
5778
+ backgroundColor: theme.tag["default"].outline.backgroundColor,
5779
+ borderColor: theme.tag["default"].outline.borderColor
5780
+ }
5781
+ },
5782
+ danger: {
5783
+ fill: {
5784
+ backgroundColor: theme.tag.danger.fill.backgroundColor,
5785
+ borderColor: theme.tag.danger.fill.borderColor
5786
+ },
5787
+ outline: {
5788
+ backgroundColor: theme.tag.danger.outline.backgroundColor,
5789
+ borderColor: theme.tag.danger.outline.borderColor
5790
+ }
5791
+ },
5792
+ warn: {
5793
+ fill: {
5794
+ backgroundColor: theme.tag.warn.fill.backgroundColor,
5795
+ borderColor: theme.tag.warn.fill.borderColor
5796
+ },
5797
+ outline: {
5798
+ backgroundColor: theme.tag.warn.outline.backgroundColor,
5799
+ borderColor: theme.tag.warn.outline.borderColor
5800
+ }
5801
+ }
5802
+ },
5939
5803
  tooltip: {
5940
5804
  backgroundColor: theme.tooltip.backgroundColor
5941
5805
  },
@@ -5959,6 +5823,17 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
5959
5823
  input: {
5960
5824
  states: theme.forms.input.states
5961
5825
  },
5826
+ inputTag: {
5827
+ danger: {
5828
+ backgroundColor: theme.forms.inputTag.danger.backgroundColor
5829
+ },
5830
+ "default": {
5831
+ backgroundColor: theme.forms.inputTag["default"].backgroundColor
5832
+ },
5833
+ success: {
5834
+ backgroundColor: theme.forms.inputTag.success.backgroundColor
5835
+ }
5836
+ },
5962
5837
  radioButtonGroup: {
5963
5838
  item: {
5964
5839
  borderColor: theme.forms.radioButtonGroup.item.borderColor,
@@ -6057,6 +5932,49 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
6057
5932
  dark: {
6058
5933
  backgroundColor: theme.highlight.dark.backgroundColor
6059
5934
  }
5935
+ },
5936
+ verticalSteps: {
5937
+ active: {
5938
+ icon: {
5939
+ backgroundColor: theme.verticalSteps.active.icon.backgroundColor,
5940
+ textColor: theme.verticalSteps.active.icon.textColor
5941
+ }
5942
+ },
5943
+ done: {
5944
+ icon: {
5945
+ backgroundColor: theme.verticalSteps.done.icon.backgroundColor,
5946
+ textColor: theme.verticalSteps.done.icon.textColor
5947
+ }
5948
+ },
5949
+ "default": {
5950
+ icon: {
5951
+ backgroundColor: theme.verticalSteps["default"].icon.backgroundColor,
5952
+ textColor: theme.verticalSteps["default"].icon.textColor
5953
+ }
5954
+ }
5955
+ },
5956
+ listItem: {
5957
+ borderColor: theme.listItem.borderColor
5958
+ },
5959
+ picker: {
5960
+ ios: {
5961
+ item: {
5962
+ selected: {
5963
+ color: theme.picker.ios.selected.color
5964
+ }
5965
+ }
5966
+ },
5967
+ android: {
5968
+ item: {
5969
+ "default": {
5970
+ backgroundColor: theme.picker.android["default"].backgroundColor
5971
+ },
5972
+ selected: {
5973
+ color: theme.picker.android.selected.color,
5974
+ backgroundColor: theme.picker.android.selected.backgroundColor
5975
+ }
5976
+ }
5977
+ }
6060
5978
  }
6061
5979
  }),
6062
5980
  app: appTheme === null || appTheme === void 0 ? void 0 : appTheme.colors
@@ -6091,6 +6009,11 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
6091
6009
  cardModal: {
6092
6010
  borderRadius: theme.cardModal.borderRadius
6093
6011
  },
6012
+ choices: {
6013
+ item: {
6014
+ borderRadius: theme.choices.item.borderRadius
6015
+ }
6016
+ },
6094
6017
  dialogModal: {
6095
6018
  borderRadius: theme.dialogModal.borderRadius
6096
6019
  },
@@ -6098,6 +6021,9 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
6098
6021
  input: {
6099
6022
  borderRadius: theme.forms.input.borderRadius
6100
6023
  },
6024
+ inputTag: {
6025
+ borderRadius: theme.forms.inputTag.borderRadius
6026
+ },
6101
6027
  radioButtonGroup: {
6102
6028
  item: {
6103
6029
  borderRadius: theme.forms.radioButtonGroup.item.borderRadius
@@ -6119,6 +6045,9 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
6119
6045
  iconButton: {
6120
6046
  borderRadius: theme.iconButton.borderRadius
6121
6047
  },
6048
+ tag: {
6049
+ borderRadius: theme.tag.borderRadius
6050
+ },
6122
6051
  tooltip: {
6123
6052
  borderRadius: theme.tooltip.borderRadius
6124
6053
  },
@@ -6230,6 +6159,13 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
6230
6159
  button: {
6231
6160
  borderWidth: theme.button.borderWidth
6232
6161
  },
6162
+ choices: {
6163
+ item: {
6164
+ disabled: {
6165
+ borderWidth: theme.choices.item.disabled.border.width
6166
+ }
6167
+ }
6168
+ },
6233
6169
  iconButton: {
6234
6170
  borderWidth: theme.iconButton.borderWidth
6235
6171
  },
@@ -6256,6 +6192,43 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
6256
6192
  footer: {
6257
6193
  borderWidth: theme.cardModal.footer.borderWidth
6258
6194
  }
6195
+ },
6196
+ listItem: {
6197
+ borderWidth: theme.listItem.borderWidth
6198
+ },
6199
+ tag: {
6200
+ primary: {
6201
+ fill: {
6202
+ borderWidth: theme.tag.primary.fill.borderWidth
6203
+ },
6204
+ outline: {
6205
+ borderWidth: theme.tag.primary.outline.borderWidth
6206
+ }
6207
+ },
6208
+ "default": {
6209
+ fill: {
6210
+ borderWidth: theme.tag["default"].fill.borderWidth
6211
+ },
6212
+ outline: {
6213
+ borderWidth: theme.tag["default"].outline.borderWidth
6214
+ }
6215
+ },
6216
+ danger: {
6217
+ fill: {
6218
+ borderWidth: theme.tag.danger.fill.borderWidth
6219
+ },
6220
+ outline: {
6221
+ borderWidth: theme.tag.danger.outline.borderWidth
6222
+ }
6223
+ },
6224
+ warn: {
6225
+ fill: {
6226
+ borderWidth: theme.tag.warn.fill.borderWidth
6227
+ },
6228
+ outline: {
6229
+ borderWidth: theme.tag.warn.outline.borderWidth
6230
+ }
6231
+ }
6259
6232
  }
6260
6233
  },
6261
6234
  app: appTheme === null || appTheme === void 0 ? void 0 : appTheme.borderWidths
@@ -6327,6 +6300,9 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
6327
6300
  },
6328
6301
  textArea: {
6329
6302
  minHeight: theme.forms.textArea.minHeight
6303
+ },
6304
+ timePicker: {
6305
+ minWidth: theme.forms.timePicker.minWidth
6330
6306
  }
6331
6307
  },
6332
6308
  iconButton: {
@@ -6339,6 +6315,9 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
6339
6315
  height: theme.fullscreenModal.header.height
6340
6316
  }
6341
6317
  },
6318
+ pageLoader: {
6319
+ size: theme.pageLoader.size
6320
+ },
6342
6321
  tooltip: {
6343
6322
  maxWidth: theme.tooltip.maxWidth,
6344
6323
  arrow: {
@@ -6358,6 +6337,16 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
6358
6337
  size: theme.skeleton.shape.square.size
6359
6338
  }
6360
6339
  }
6340
+ },
6341
+ picker: {
6342
+ ios: {
6343
+ "default": {
6344
+ height: theme.picker.ios["default"].height
6345
+ },
6346
+ landscape: {
6347
+ height: theme.picker.ios.landscape.height
6348
+ }
6349
+ }
6361
6350
  }
6362
6351
  },
6363
6352
  app: appTheme === null || appTheme === void 0 ? void 0 : appTheme.sizes
@@ -6403,10 +6392,26 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
6403
6392
  highlight: {
6404
6393
  padding: theme.highlight.padding
6405
6394
  },
6395
+ listItem: {
6396
+ verticalPadding: theme.listItem.verticalPadding,
6397
+ horizontalPadding: theme.listItem.horizontalPadding
6398
+ },
6399
+ tag: {
6400
+ verticalPadding: theme.tag.verticalPadding,
6401
+ horizontalPadding: theme.tag.horizontalPadding
6402
+ },
6406
6403
  tooltip: {
6407
6404
  horizontalPadding: theme.tooltip.horizontalPadding,
6408
6405
  verticalPadding: theme.tooltip.verticalPadding,
6409
6406
  floatingPadding: theme.tooltip.floatingPadding
6407
+ },
6408
+ picker: {
6409
+ android: {
6410
+ item: {
6411
+ verticalPadding: theme.picker.android.verticalPadding,
6412
+ horizontalPadding: theme.picker.android.horizontalPadding
6413
+ }
6414
+ }
6410
6415
  }
6411
6416
  },
6412
6417
  app: appTheme === null || appTheme === void 0 ? void 0 : appTheme.space
@@ -6976,7 +6981,7 @@ function KittNativeBaseProvider(_ref) {
6976
6981
  });
6977
6982
  }
6978
6983
 
6979
- var _excluded$6 = ["children", "visible", "appear", "onExited", "onEnter", "onExit", "onClose"];
6984
+ var _excluded$8 = ["children", "visible", "appear", "onExited", "onEnter", "onExit", "onClose"];
6980
6985
  function SimpleContainer(_ref) {
6981
6986
  var children = _ref.children;
6982
6987
  return children;
@@ -6990,7 +6995,7 @@ function NavigationModalBehaviour(_ref2) {
6990
6995
  onEnter = _ref2.onEnter,
6991
6996
  onExit = _ref2.onExit,
6992
6997
  onClose = _ref2.onClose,
6993
- props = _objectWithoutProperties(_ref2, _excluded$6);
6998
+ props = _objectWithoutProperties(_ref2, _excluded$8);
6994
6999
  var AnimationComponent = useBreakpointValue({
6995
7000
  base: FullscreenModalAnimation,
6996
7001
  small: CardModalAnimation
@@ -7110,94 +7115,11 @@ function Notification(_ref) {
7110
7115
  });
7111
7116
  }
7112
7117
 
7113
- var _exp3$1 = function () {
7114
- return function (_ref) {
7115
- var $circlePerimeter = _ref.$circlePerimeter;
7116
- return $circlePerimeter * 0.2;
7117
- };
7118
- };
7119
- var _exp5 = function () {
7120
- return function (_ref2) {
7121
- var theme = _ref2.theme;
7122
- return theme.kitt.pageLoader.size;
7123
- };
7124
- };
7125
- var _exp6 = function () {
7126
- return function (_ref3) {
7127
- var theme = _ref3.theme;
7128
- return theme.kitt.pageLoader.strokeWidth;
7129
- };
7130
- };
7131
- var _exp8 = function () {
7132
- return function (_ref4) {
7133
- var $circlePerimeter = _ref4.$circlePerimeter;
7134
- return $circlePerimeter;
7135
- };
7136
- };
7137
- var _exp9 = function () {
7138
- return function (_ref5) {
7139
- var theme = _ref5.theme;
7140
- return theme.kitt.pageLoader.colors.base;
7141
- };
7142
- };
7143
- var _exp10 = function () {
7144
- return function (_ref6) {
7145
- var theme = _ref6.theme;
7146
- var animation = theme.kitt.pageLoader.animation;
7147
- var _animation$fillEasing = _slicedToArray(animation.fillEasingFunction, 4),
7148
- x1 = _animation$fillEasing[0],
7149
- y1 = _animation$fillEasing[1],
7150
- x2 = _animation$fillEasing[2],
7151
- y2 = _animation$fillEasing[3];
7152
- return "".concat(animation.circleBackgroundFillDuration, "ms cubic-bezier(").concat(x1, ", ").concat(y1, ", ").concat(x2, ", ").concat(y2, ") ").concat(animation.delay, "ms forwards");
7153
- };
7154
- };
7155
- var _exp11 = function () {
7156
- return function (_ref7) {
7157
- var theme = _ref7.theme;
7158
- var animation = theme.kitt.pageLoader.animation;
7159
- return "".concat(animation.filledCircleFillDuration, "ms linear ").concat(animation.delay, "ms infinite");
7160
- };
7161
- };
7162
- var _exp12 = function () {
7163
- return function (_ref8) {
7164
- var theme = _ref8.theme;
7165
- return theme.kitt.pageLoader.colors.fill;
7166
- };
7167
- };
7168
- var _exp13 = function () {
7169
- return function (_ref9) {
7170
- var theme = _ref9.theme;
7171
- var animation = theme.kitt.pageLoader.animation;
7172
- var _animation$fillEasing2 = _slicedToArray(animation.fillEasingFunction, 4),
7173
- x1 = _animation$fillEasing2[0],
7174
- y1 = _animation$fillEasing2[1],
7175
- x2 = _animation$fillEasing2[2],
7176
- y2 = _animation$fillEasing2[3];
7177
- var fillAnimation = "".concat(animation.filledCircleFillDuration, "ms cubic-bezier(").concat(x1, ", ").concat(y1, ", ").concat(x2, ", ").concat(y2, ") ").concat(animation.delay, "ms infinite alternate");
7178
- var rotationAnimation = "".concat(animation.filledCircleRotationDuration, "ms linear ").concat(animation.delay, "ms infinite");
7179
- return [fillAnimation, rotationAnimation].join(',');
7180
- };
7181
- };
7182
- var PageLoaderContainer = withTheme( /*#__PURE__*/styled('div')({
7183
- name: "PageLoaderContainer",
7184
- "class": "kitt-u_PageLoaderContainer_ptkwz2j",
7185
- propsAsIs: false,
7186
- vars: {
7187
- "ptkwz2j-0": [_exp8(), "px"],
7188
- "ptkwz2j-1": [_exp3$1(), "px"],
7189
- "ptkwz2j-2": [_exp5(), "px"],
7190
- "ptkwz2j-3": [_exp6(), "px"],
7191
- "ptkwz2j-4": [_exp9()],
7192
- "ptkwz2j-5": [_exp10()],
7193
- "ptkwz2j-6": [_exp11()],
7194
- "ptkwz2j-7": [_exp12()],
7195
- "ptkwz2j-8": [_exp13()]
7196
- }
7197
- }));
7118
+ var pageLoaderContainer = "kitt-u_pageLoaderContainer_ptkwz2j";
7198
7119
  function PageLoader() {
7199
7120
  var theme = useTheme();
7200
7121
  var _theme$kitt$pageLoade = theme.kitt.pageLoader,
7122
+ colors = _theme$kitt$pageLoade.colors,
7201
7123
  size = _theme$kitt$pageLoade.size,
7202
7124
  strokeWidth = _theme$kitt$pageLoade.strokeWidth;
7203
7125
  var center = size * 0.5;
@@ -7207,19 +7129,27 @@ function PageLoader() {
7207
7129
  cx: center,
7208
7130
  cy: center,
7209
7131
  r: radius,
7210
- fill: 'none'
7132
+ fill: 'none',
7133
+ strokeWidth: strokeWidth,
7134
+ strokeDasharray: circlePerimeter,
7135
+ strokeDashoffset: circlePerimeter,
7136
+ strokeLinecap: 'round'
7211
7137
  };
7212
- return /*#__PURE__*/jsx(PageLoaderContainer, {
7213
- $circlePerimeter: circlePerimeter,
7138
+ return /*#__PURE__*/jsx("div", {
7139
+ className: pageLoaderContainer,
7214
7140
  children: /*#__PURE__*/jsxs("svg", {
7215
7141
  width: size,
7216
7142
  height: size,
7217
7143
  children: [/*#__PURE__*/jsx("g", {
7218
7144
  "data-large-loader": "base",
7219
- children: /*#__PURE__*/jsx("circle", _objectSpread({}, sharedProps))
7145
+ children: /*#__PURE__*/jsx("circle", _objectSpread(_objectSpread({}, sharedProps), {}, {
7146
+ stroke: colors.base
7147
+ }))
7220
7148
  }), /*#__PURE__*/jsx("g", {
7221
7149
  "data-large-loader": "fill",
7222
- children: /*#__PURE__*/jsx("circle", _objectSpread({}, sharedProps))
7150
+ children: /*#__PURE__*/jsx("circle", _objectSpread(_objectSpread({}, sharedProps), {}, {
7151
+ stroke: colors.fill
7152
+ }))
7223
7153
  })]
7224
7154
  })
7225
7155
  });
@@ -7285,43 +7215,15 @@ function SegmentedProgressBar(_ref) {
7285
7215
  });
7286
7216
  }
7287
7217
 
7288
- var _exp$1 = function () {
7289
- return function (_ref) {
7290
- var theme = _ref.theme;
7291
- return theme.kitt.skeleton.backgroundColor;
7292
- };
7293
- };
7294
- var _exp2$1 = function () {
7295
- return function (_ref2) {
7296
- var $isLoading = _ref2.$isLoading,
7297
- theme = _ref2.theme;
7298
- return $isLoading ? "linear-gradient(\n -90deg,\n ".concat(theme.kitt.skeleton.backgroundColor, ",\n ").concat(theme.kitt.skeleton.flareColor, " 50%,\n ").concat(theme.kitt.skeleton.backgroundColor, " 100%\n )") : 'none';
7299
- };
7300
- };
7301
- var _exp3 = function () {
7302
- return function (_ref3) {
7303
- var $isLoading = _ref3.$isLoading;
7304
- return $isLoading ? '1s ease-in-out infinite' : 'none';
7305
- };
7306
- };
7307
- var StyledSkeleton = withTheme( /*#__PURE__*/styled('div')({
7308
- name: "StyledSkeleton",
7309
- "class": "kitt-u_StyledSkeleton_sc3upcl",
7310
- propsAsIs: false,
7311
- vars: {
7312
- "sc3upcl-0": [_exp$1()],
7313
- "sc3upcl-1": [_exp2$1()],
7314
- "sc3upcl-2": [_exp3()]
7315
- }
7316
- }));
7317
- function SkeletonContent(_ref4) {
7318
- var isLoading = _ref4.isLoading;
7319
- return /*#__PURE__*/jsx(StyledSkeleton, {
7320
- $isLoading: isLoading
7218
+ var skeleton = "kitt-u_skeleton_sc3upcl";
7219
+ function SkeletonContent(_ref) {
7220
+ var isLoading = _ref.isLoading;
7221
+ return /*#__PURE__*/jsx("div", {
7222
+ className: (skeleton ) + " " + ((!isLoading ? "skeletonWithoutAnimation" : "") || "")
7321
7223
  });
7322
7224
  }
7323
7225
 
7324
- var _excluded$5 = ["isLoading", "style"],
7226
+ var _excluded$7 = ["isLoading", "style"],
7325
7227
  _excluded2$1 = ["size"],
7326
7228
  _excluded3$1 = ["size"],
7327
7229
  _excluded4 = ["size"];
@@ -7329,7 +7231,7 @@ function Skeleton(_ref) {
7329
7231
  var _ref$isLoading = _ref.isLoading,
7330
7232
  isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
7331
7233
  style = _ref.style,
7332
- props = _objectWithoutProperties(_ref, _excluded$5);
7234
+ props = _objectWithoutProperties(_ref, _excluded$7);
7333
7235
  var _useState = useState(0),
7334
7236
  _useState2 = _slicedToArray(_useState, 2),
7335
7237
  width = _useState2[0],
@@ -7528,7 +7430,7 @@ function getShouldDisplay2x() {
7528
7430
  return window.devicePixelRatio ? window.devicePixelRatio > 1 : false;
7529
7431
  }
7530
7432
 
7531
- var _excluded$4 = ["width", "height", "alt", "apiToken", "mapId", "marker", "center", "onLoaded", "onError"];
7433
+ var _excluded$6 = ["width", "height", "alt", "apiToken", "mapId", "marker", "center", "onLoaded", "onError"];
7532
7434
  var mapBoxMaxPictureWidth = 1280;
7533
7435
 
7534
7436
  // Mapbox requestable width for image is between 1 - 1280px
@@ -7546,7 +7448,7 @@ function StaticMap(_ref) {
7546
7448
  center = _ref.center,
7547
7449
  onLoaded = _ref.onLoaded,
7548
7450
  onError = _ref.onError,
7549
- props = _objectWithoutProperties(_ref, _excluded$4);
7451
+ props = _objectWithoutProperties(_ref, _excluded$6);
7550
7452
  var _useState = useState(getPictureWidth(width)),
7551
7453
  _useState2 = _slicedToArray(_useState, 2),
7552
7454
  currentWidth = _useState2[0],
@@ -7636,22 +7538,17 @@ StaticMap.Loader = StaticMapLoader;
7636
7538
  StaticMap.Error = StaticMapError;
7637
7539
  StaticMap.Marker = StaticMapMarker;
7638
7540
 
7639
- var Flex = /*#__PURE__*/styled$1(BabelPluginStyledComponentsReactNative.View).withConfig({
7640
- shouldForwardProp: function shouldForwardProp(prop, defaultValidatorFn) {
7641
- return !['direction', 'padding'].includes(prop) && defaultValidatorFn(prop);
7642
- }
7643
- }).withConfig({
7644
- displayName: "Flex",
7645
- componentId: "kitt-universal__sc-15q3v3h-0"
7646
- })(["display:flex;flex-direction:", ";flex-wrap:wrap;padding:", "px;"], function (_ref) {
7647
- var direction = _ref.direction;
7648
- return direction;
7649
- }, function (_ref2) {
7650
- var theme = _ref2.theme,
7651
- _ref2$padding = _ref2.padding,
7652
- padding = _ref2$padding === void 0 ? 0 : _ref2$padding;
7653
- return padding * theme.kitt.spacing;
7654
- });
7541
+ var _excluded$5 = ["direction", "wrap"];
7542
+ function Flex(_ref) {
7543
+ var direction = _ref.direction,
7544
+ _ref$wrap = _ref.wrap,
7545
+ wrap = _ref$wrap === void 0 ? 'wrap' : _ref$wrap,
7546
+ props = _objectWithoutProperties(_ref, _excluded$5);
7547
+ return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
7548
+ flexDirection: direction,
7549
+ flexWrap: wrap
7550
+ }));
7551
+ }
7655
7552
 
7656
7553
  var storyPadding = 'kitt.4';
7657
7554
 
@@ -7786,14 +7683,14 @@ function Story(_ref) {
7786
7683
  });
7787
7684
  }
7788
7685
 
7789
- var _excluded$3 = ["title", "children", "internalIsDemoSection"],
7686
+ var _excluded$4 = ["title", "children", "internalIsDemoSection"],
7790
7687
  _excluded2 = ["title", "children"],
7791
7688
  _excluded3 = ["title", "children"];
7792
7689
  function StorySection(_ref) {
7793
7690
  var title = _ref.title,
7794
7691
  children = _ref.children,
7795
7692
  internalIsDemoSection = _ref.internalIsDemoSection,
7796
- props = _objectWithoutProperties(_ref, _excluded$3);
7693
+ props = _objectWithoutProperties(_ref, _excluded$4);
7797
7694
  if (title === 'Demo' && !internalIsDemoSection) throw new Error('Use StorySection.Demo instead');
7798
7695
  return /*#__PURE__*/jsxs(View, _objectSpread(_objectSpread({
7799
7696
  marginBottom: "kitt.8"
@@ -7918,31 +7815,6 @@ var StoryGrid = {
7918
7815
  Col: StoryGridCol
7919
7816
  };
7920
7817
 
7921
- var Container = /*#__PURE__*/styled$1(BabelPluginStyledComponentsReactNative.View).withConfig({
7922
- displayName: "Tag__Container",
7923
- componentId: "kitt-universal__sc-19jmowi-0"
7924
- })(["background-color:", ";border-width:", "px;border-color:", ";padding:", ";border-radius:", "px;align-self:flex-start;"], function (_ref) {
7925
- var theme = _ref.theme,
7926
- type = _ref.type,
7927
- variant = _ref.variant;
7928
- return theme.kitt.tag[type][variant].backgroundColor;
7929
- }, function (_ref2) {
7930
- var theme = _ref2.theme,
7931
- type = _ref2.type,
7932
- variant = _ref2.variant;
7933
- return theme.kitt.tag[type][variant].borderWidth;
7934
- }, function (_ref3) {
7935
- var theme = _ref3.theme,
7936
- type = _ref3.type,
7937
- variant = _ref3.variant;
7938
- return theme.kitt.tag[type][variant].borderColor;
7939
- }, function (_ref4) {
7940
- var theme = _ref4.theme;
7941
- return theme.kitt.tag.padding;
7942
- }, function (_ref5) {
7943
- var theme = _ref5.theme;
7944
- return theme.kitt.tag.borderRadius;
7945
- });
7946
7818
  var getLabelColor = function (type, variant) {
7947
7819
  switch (type) {
7948
7820
  case 'danger':
@@ -7967,15 +7839,20 @@ var getLabelColor = function (type, variant) {
7967
7839
  }
7968
7840
  }
7969
7841
  };
7970
- function Tag(_ref6) {
7971
- var label = _ref6.label,
7972
- _ref6$type = _ref6.type,
7973
- type = _ref6$type === void 0 ? 'default' : _ref6$type,
7974
- _ref6$variant = _ref6.variant,
7975
- variant = _ref6$variant === void 0 ? 'fill' : _ref6$variant;
7976
- return /*#__PURE__*/jsx(Container, {
7977
- type: type,
7978
- variant: variant,
7842
+ function Tag(_ref) {
7843
+ var label = _ref.label,
7844
+ _ref$type = _ref.type,
7845
+ type = _ref$type === void 0 ? 'default' : _ref$type,
7846
+ _ref$variant = _ref.variant,
7847
+ variant = _ref$variant === void 0 ? 'fill' : _ref$variant;
7848
+ return /*#__PURE__*/jsx(View, {
7849
+ alignSelf: "flex-start",
7850
+ borderRadius: "kitt.tag.borderRadius",
7851
+ paddingX: "kitt.tag.horizontalPadding",
7852
+ paddingY: "kitt.tag.verticalPadding",
7853
+ backgroundColor: "kitt.tag.".concat(type, ".").concat(variant, ".backgroundColor"),
7854
+ borderColor: "kitt.tag.".concat(type, ".").concat(variant, ".borderColor"),
7855
+ borderWidth: "kitt.tag.".concat(type, ".").concat(variant, ".borderWidth"),
7979
7856
  children: /*#__PURE__*/jsx(Typography.Text, {
7980
7857
  base: "body-xsmall",
7981
7858
  color: getLabelColor(type, variant),
@@ -7984,10 +7861,88 @@ function Tag(_ref6) {
7984
7861
  });
7985
7862
  }
7986
7863
 
7987
- function TimePicker() {
7988
- return /*#__PURE__*/jsx(Typography.Text, {
7989
- base: "body",
7990
- children: "TimePicker is not implemented for the web"
7864
+ function formatNumberToTimeString(time) {
7865
+ return "".concat(String(time).padStart(2, '0'));
7866
+ }
7867
+ function formatDateToTimeString(date) {
7868
+ return "".concat(formatNumberToTimeString(date.getHours()), ":").concat(formatNumberToTimeString(date.getMinutes()));
7869
+ }
7870
+
7871
+ function getCurrentInternalForcedState(_ref) {
7872
+ var isDisabled = _ref.isDisabled,
7873
+ isHoveredInternal = _ref.isHoveredInternal,
7874
+ isFocusedInternal = _ref.isFocusedInternal,
7875
+ isPressedInternal = _ref.isPressedInternal;
7876
+ if (isDisabled) return 'disabled';
7877
+ if (isHoveredInternal) return 'hover';
7878
+ if (isFocusedInternal) return 'focus';
7879
+ if (isPressedInternal) return 'hover';
7880
+ return 'default';
7881
+ }
7882
+
7883
+ function TimePickerPressable(_ref) {
7884
+ var testID = _ref.testID,
7885
+ disabled = _ref.disabled,
7886
+ stretch = _ref.stretch,
7887
+ value = _ref.value,
7888
+ placeholder = _ref.placeholder,
7889
+ isHoveredInternal = _ref.isHoveredInternal,
7890
+ isFocusedInternal = _ref.isFocusedInternal,
7891
+ isPressedInternal = _ref.isPressedInternal,
7892
+ onPress = _ref.onPress;
7893
+ return /*#__PURE__*/jsx(Pressable, {
7894
+ testID: testID,
7895
+ disabled: disabled,
7896
+ accessibilityRole: "button",
7897
+ width: createResponsiveStyleFromProp(stretch, '100%', 'kitt.forms.timePicker.minWidth'),
7898
+ onPress: onPress,
7899
+ children: function children(_ref2) {
7900
+ var isHovered = _ref2.isHovered,
7901
+ isFocused = _ref2.isFocused,
7902
+ isPressed = _ref2.isPressed;
7903
+ return /*#__PURE__*/jsxs(View, {
7904
+ position: "relative",
7905
+ children: [/*#__PURE__*/jsx(InputText, {
7906
+ internalForceState: getCurrentInternalForcedState({
7907
+ isDisabled: disabled,
7908
+ isHoveredInternal: isHovered || isHoveredInternal,
7909
+ isFocusedInternal: isFocused || isFocusedInternal,
7910
+ isPressedInternal: isPressed || isPressedInternal
7911
+ }),
7912
+ value: value ? formatDateToTimeString(value) : undefined,
7913
+ placeholder: placeholder,
7914
+ disabled: disabled,
7915
+ textAlign: "center"
7916
+ }), /*#__PURE__*/jsx(View, {
7917
+ position: "absolute",
7918
+ top: "0",
7919
+ left: "0",
7920
+ height: "100%",
7921
+ width: "100%"
7922
+ })]
7923
+ });
7924
+ }
7925
+ });
7926
+ }
7927
+
7928
+ function TimePicker(_ref) {
7929
+ var testID = _ref.testID,
7930
+ disabled = _ref.disabled,
7931
+ stretch = _ref.stretch,
7932
+ value = _ref.value,
7933
+ placeholder = _ref.placeholder,
7934
+ isHoveredInternal = _ref.isHoveredInternal,
7935
+ isFocusedInternal = _ref.isFocusedInternal,
7936
+ isPressedInternal = _ref.isPressedInternal;
7937
+ return /*#__PURE__*/jsx(TimePickerPressable, {
7938
+ testID: testID,
7939
+ disabled: disabled,
7940
+ stretch: stretch,
7941
+ value: value,
7942
+ placeholder: placeholder,
7943
+ isHoveredInternal: isHoveredInternal,
7944
+ isFocusedInternal: isFocusedInternal,
7945
+ isPressedInternal: isPressedInternal
7991
7946
  });
7992
7947
  }
7993
7948
 
@@ -8320,51 +8275,29 @@ function TypographyEmoji(_ref3) {
8320
8275
  });
8321
8276
  }
8322
8277
 
8323
- var _excluded$2 = ["as", "children"];
8324
- function StyleWebWrapper(_ref) {
8325
- var as = _ref.as,
8326
- children = _ref.children,
8327
- props = _objectWithoutProperties(_ref, _excluded$2);
8328
- // as or default to div. If as is undefined, T is div but typescript is not sure
8329
- return /*#__PURE__*/jsx(as || 'div', _objectSpread(_objectSpread({}, props), {}, {
8278
+ // overrides :global(a) in Link styles.module.css
8279
+ var displayUnderline = "kitt-u_displayUnderline_dch42t";
8280
+ var displayUnderlineWhenHovered = "kitt-u_displayUnderlineWhenHovered_d80w0t7";
8281
+ function TypographyLinkWebWrapper(_ref) {
8282
+ var children = _ref.children,
8283
+ hasNoUnderline = _ref.hasNoUnderline;
8284
+ return /*#__PURE__*/jsx("span", {
8285
+ className: (displayUnderline ) + " " + ((hasNoUnderline ? displayUnderlineWhenHovered : undefined) || ""),
8330
8286
  children: children
8331
- }));
8287
+ });
8332
8288
  }
8333
8289
 
8334
- var _excluded$1 = ["children", "disabled", "noUnderline", "href", "hrefAttrs", "onPress"];
8335
- // overrides :global(a) in Link styles.module.css
8336
- var _exp = function () {
8337
- return function (_ref) {
8338
- var $hasNoUnderline = _ref.$hasNoUnderline;
8339
- return $hasNoUnderline ? 'none' : 'underline';
8340
- };
8341
- };
8342
- var _exp2 = function () {
8343
- return function (_ref2) {
8344
- var $hasNoUnderline = _ref2.$hasNoUnderline;
8345
- return $hasNoUnderline ? 'underline' : 'none';
8346
- };
8347
- };
8348
- var TypographyLinkWebWrapper = /*#__PURE__*/styled('span')({
8349
- name: "TypographyLinkWebWrapper",
8350
- "class": "kitt-u_TypographyLinkWebWrapper_tcwz3nt",
8351
- propsAsIs: false,
8352
- vars: {
8353
- "tcwz3nt-0": [_exp()],
8354
- "tcwz3nt-1": [_exp2()]
8355
- }
8356
- });
8357
- function TypographyLink(_ref3) {
8358
- var children = _ref3.children,
8359
- disabled = _ref3.disabled,
8360
- noUnderline = _ref3.noUnderline,
8361
- href = _ref3.href,
8362
- hrefAttrs = _ref3.hrefAttrs,
8363
- onPress = _ref3.onPress,
8364
- otherProps = _objectWithoutProperties(_ref3, _excluded$1);
8365
- return /*#__PURE__*/jsx(StyleWebWrapper, {
8366
- as: TypographyLinkWebWrapper,
8367
- $hasNoUnderline: noUnderline,
8290
+ var _excluded$3 = ["children", "disabled", "noUnderline", "href", "hrefAttrs", "onPress"];
8291
+ function TypographyLink(_ref) {
8292
+ var children = _ref.children,
8293
+ disabled = _ref.disabled,
8294
+ noUnderline = _ref.noUnderline,
8295
+ href = _ref.href,
8296
+ hrefAttrs = _ref.hrefAttrs,
8297
+ onPress = _ref.onPress,
8298
+ otherProps = _objectWithoutProperties(_ref, _excluded$3);
8299
+ return /*#__PURE__*/jsx(TypographyLinkWebWrapper, {
8300
+ hasNoUnderline: noUnderline,
8368
8301
  children: /*#__PURE__*/jsx(Typography, _objectSpread(_objectSpread({
8369
8302
  underline: !noUnderline,
8370
8303
  color: disabled ? 'black-disabled' : undefined,
@@ -8396,51 +8329,12 @@ function TypographyLink(_ref3) {
8396
8329
  });
8397
8330
  }
8398
8331
 
8399
- /** @deprecated use native-base responsive props or `useBreakpointValue` or `useMatchWindowSize` instead */
8400
- function createWindowSizeHelper(dimensions) {
8401
- return {
8402
- matchWindowSize: function matchWindowSize$1(options) {
8403
- return matchWindowSize(dimensions, options);
8404
- },
8405
- ifWindowSizeMatches: function ifWindowSizeMatches(options, valueIfTrue, valueIfFalse) {
8406
- return matchWindowSize(dimensions, options) ? valueIfTrue : valueIfFalse;
8407
- },
8408
- mapWindowWidth: function mapWindowWidth() {
8409
- for (var _len = arguments.length, widthList = new Array(_len), _key = 0; _key < _len; _key++) {
8410
- widthList[_key] = arguments[_key];
8411
- }
8412
- if ((process.env.NODE_ENV !== "production")) {
8413
- widthList.slice(1).forEach(function (_ref, index) {
8414
- var _ref2 = _slicedToArray(_ref, 1),
8415
- minWidth = _ref2[0];
8416
- var previousMinWidth = widthList[index][0];
8417
- if (previousMinWidth > minWidth) {
8418
- throw new Error("mapWindowWidth: sort your values to be mobile first. ".concat(minWidth, " is < ").concat(previousMinWidth, ", so ").concat(minWidth, " should be before ").concat(previousMinWidth, "."));
8419
- }
8420
- });
8421
- }
8422
- var found = widthList.find(function (_ref3) {
8423
- var _ref4 = _slicedToArray(_ref3, 2),
8424
- minWidth = _ref4[0];
8425
- _ref4[1];
8426
- return matchWindowSize(dimensions, {
8427
- minWidth: Number(minWidth)
8428
- });
8429
- });
8430
- if (!found) return null;
8431
- return found[1];
8432
- }
8433
- };
8434
- }
8435
-
8436
8332
  function useKittTheme() {
8437
- var dimensions = useWindowDimensions();
8438
8333
  return useMemo(function () {
8439
8334
  return {
8440
- kitt: theme,
8441
- responsive: createWindowSizeHelper(dimensions)
8335
+ kitt: theme
8442
8336
  };
8443
- }, [dimensions]);
8337
+ }, []);
8444
8338
  }
8445
8339
 
8446
8340
  function KittThemeProvider(_ref) {
@@ -8448,14 +8342,11 @@ function KittThemeProvider(_ref) {
8448
8342
  children = _ref.children,
8449
8343
  appTheme = _ref.appTheme;
8450
8344
  var theme = useKittTheme();
8451
- return /*#__PURE__*/jsx(ThemeProvider, {
8345
+ return /*#__PURE__*/jsx(KittNativeBaseProvider, {
8452
8346
  theme: theme,
8453
- children: /*#__PURE__*/jsx(KittNativeBaseProvider, {
8454
- theme: theme,
8455
- isSSR: isSSR,
8456
- appTheme: appTheme,
8457
- children: children
8458
- })
8347
+ isSSR: isSSR,
8348
+ appTheme: appTheme,
8349
+ children: children
8459
8350
  });
8460
8351
  }
8461
8352
  var KittThemeDecorator = makeDecorator({
@@ -8474,7 +8365,21 @@ var KittThemeDecorator = makeDecorator({
8474
8365
  }
8475
8366
  });
8476
8367
 
8477
- var _excluded = ["children"];
8368
+ var _excluded$2 = ["as", "children"];
8369
+ /**
8370
+ * @deprecated Use react-native Platform instead
8371
+ */
8372
+ function StyleWebWrapper(_ref) {
8373
+ var as = _ref.as,
8374
+ children = _ref.children,
8375
+ props = _objectWithoutProperties(_ref, _excluded$2);
8376
+ // as or default to div. If as is undefined, T is div but typescript is not sure
8377
+ return /*#__PURE__*/jsx(as || 'div', _objectSpread(_objectSpread({}, props), {}, {
8378
+ children: children
8379
+ }));
8380
+ }
8381
+
8382
+ var _excluded$1 = ["children"];
8478
8383
  /**
8479
8384
  * Display children if match window size options
8480
8385
  *
@@ -8482,7 +8387,7 @@ var _excluded = ["children"];
8482
8387
  */
8483
8388
  function MatchWindowSize(_ref) {
8484
8389
  var children = _ref.children,
8485
- matchWindowSizeOptions = _objectWithoutProperties(_ref, _excluded);
8390
+ matchWindowSizeOptions = _objectWithoutProperties(_ref, _excluded$1);
8486
8391
  var match = useMatchWindowSize(matchWindowSizeOptions);
8487
8392
  if (!match) return null;
8488
8393
  return children;
@@ -8498,5 +8403,128 @@ function useCurrentBreakpointName() {
8498
8403
  });
8499
8404
  }
8500
8405
 
8501
- export { ActionCard, Actions, Avatar, BottomSheet, Button, CardModal, Center, Checkbox, ChoicesElements, DatePicker, DialogModal, Emoji, ExternalAppLink, ExternalLink, FlatList, Flex, FullscreenModal, HStack, Highlight, Icon, IconButton, Image, InputEmail, InputFeedback, InputField, InputIcon, InputPassword, InputPhone, InputPressable, InputTag, InputText, KittBreakpointNameEnum, KittBreakpoints, KittBreakpointsMax, KittMapConfigProvider, KittNativeBaseProvider, KittThemeDecorator, KittThemeProvider, Label, ListItem, LoaderIcon, MapMarkerLarge, MapMarkerPosition, MapMarkerSimple, MatchWindowSize, Message, Modal, ModalBehaviour, NavigationModal, Notification, Overlay, PageLoader, Picker, Pressable, Radio, RadioButtonGroup, ScrollView, DeprecatedSection as Section, SectionList, SegmentedProgressBar, Skeleton, SpinningIcon, Stack, StaticMap, Story, StoryBlock, StoryContainer, StoryDecorator, StoryGrid, StorySection, StoryTitle, StyleWebWrapper, Tag, TextArea, TimePicker, Tooltip, Typography, TypographyEmoji, TypographyIcon, TypographyLink, VStack, View, createChoicesComponent, createResponsiveStyleFromProp, createWindowSizeHelper, getStaticMapImageUrl, hex2rgba, matchWindowSize, theme, useBottomSheet, useCurrentBreakpointName, useGetStaticMapImageUrl, useKittMapConfig, useKittTheme, useMatchWindowSize, useStaticBottomSheet, useStoryBlockColor, useTheme, withTheme };
8406
+ var backgroundColors = {
8407
+ done: 'kitt.verticalSteps.done.icon.backgroundColor',
8408
+ active: 'kitt.verticalSteps.active.icon.backgroundColor',
8409
+ "default": 'kitt.verticalSteps.default.icon.backgroundColor'
8410
+ };
8411
+ function IconStatus(_ref) {
8412
+ var state = _ref.state,
8413
+ index = _ref.index;
8414
+ if (state === 'done') {
8415
+ return /*#__PURE__*/jsx(TypographyIcon, {
8416
+ icon: /*#__PURE__*/jsx(CheckIcon, {}),
8417
+ color: "kitt.verticalSteps.done.icon.textColor"
8418
+ });
8419
+ }
8420
+ if (state === 'active') {
8421
+ return /*#__PURE__*/jsx(Typography.Text, {
8422
+ textAlign: "center",
8423
+ variant: "bold",
8424
+ color: "kitt.verticalSteps.active.icon.textColor",
8425
+ children: index + 1
8426
+ });
8427
+ }
8428
+ return /*#__PURE__*/jsx(Typography.Text, {
8429
+ textAlign: "center",
8430
+ variant: "bold",
8431
+ color: "kitt.verticalSteps.default.icon.textColor",
8432
+ children: index + 1
8433
+ });
8434
+ }
8435
+ function StepIcon(_ref2) {
8436
+ var index = _ref2.index,
8437
+ _ref2$state = _ref2.state,
8438
+ state = _ref2$state === void 0 ? 'default' : _ref2$state;
8439
+ return /*#__PURE__*/jsx(View, {
8440
+ justifyContent: "center",
8441
+ alignItems: "center",
8442
+ width: 30,
8443
+ height: 30,
8444
+ borderRadius: 15,
8445
+ backgroundColor: backgroundColors[state],
8446
+ children: /*#__PURE__*/jsx(IconStatus, {
8447
+ state: state,
8448
+ index: index
8449
+ })
8450
+ });
8451
+ }
8452
+
8453
+ function ExternalStep() {
8454
+ return null;
8455
+ }
8456
+ function Step(_ref) {
8457
+ var _ref$index = _ref.index,
8458
+ index = _ref$index === void 0 ? 0 : _ref$index,
8459
+ children = _ref.children,
8460
+ _ref$state = _ref.state,
8461
+ state = _ref$state === void 0 ? 'default' : _ref$state,
8462
+ _ref$isLast = _ref.isLast,
8463
+ isLast = _ref$isLast === void 0 ? false : _ref$isLast,
8464
+ _ref$shouldDisableNex = _ref.shouldDisableNextLink,
8465
+ shouldDisableNextLink = _ref$shouldDisableNex === void 0 ? false : _ref$shouldDisableNex;
8466
+ return /*#__PURE__*/jsxs(HStack$1, {
8467
+ space: "kitt.2",
8468
+ flexGrow: 1,
8469
+ children: [/*#__PURE__*/jsxs(View, {
8470
+ marginTop: "kitt.2",
8471
+ paddingY: "kitt.2",
8472
+ backgroundColor: "kitt.white",
8473
+ children: [/*#__PURE__*/jsx(StepIcon, {
8474
+ state: state,
8475
+ index: index
8476
+ }), !isLast ? /*#__PURE__*/jsx(View, {
8477
+ backgroundColor: shouldDisableNextLink ? 'kitt.palettes.lateOcean.black100' : 'kitt.palettes.lateOcean.moonPurple',
8478
+ width: 1,
8479
+ position: "absolute",
8480
+ top: 46,
8481
+ left: 15,
8482
+ zIndex: -1,
8483
+ height: "100%"
8484
+ }) : null]
8485
+ }), /*#__PURE__*/jsx(View, {
8486
+ flexGrow: 1,
8487
+ children: /*#__PURE__*/jsx(ActionCard, {
8488
+ variant: "primary",
8489
+ children: children
8490
+ })
8491
+ })]
8492
+ });
8493
+ }
8494
+
8495
+ function getStepState(index, activeIndex) {
8496
+ if (index === activeIndex) {
8497
+ return 'active';
8498
+ }
8499
+ if (index < activeIndex) {
8500
+ return 'done';
8501
+ }
8502
+ return 'default';
8503
+ }
8504
+
8505
+ var _excluded = ["children", "activeIndex"];
8506
+ function VerticalSteps(_ref) {
8507
+ var children = _ref.children,
8508
+ activeIndex = _ref.activeIndex,
8509
+ props = _objectWithoutProperties(_ref, _excluded);
8510
+ return /*#__PURE__*/jsx(VStack$1, _objectSpread(_objectSpread({
8511
+ space: "kitt.4",
8512
+ width: "100%"
8513
+ }, props), {}, {
8514
+ children: Children.map(children, function (child, index) {
8515
+ if ((process.env.NODE_ENV !== "production") && child.type !== ExternalStep) {
8516
+ throw new Error('VerticalSteps only accepts VerticalSteps.Step as children');
8517
+ }
8518
+ var isLast = index === Children.count(children) - 1;
8519
+ return /*#__PURE__*/createElement(Step, _objectSpread(_objectSpread({}, child.props), {}, {
8520
+ index: index,
8521
+ isLast: isLast,
8522
+ state: getStepState(index, activeIndex)
8523
+ }), child.props.children);
8524
+ })
8525
+ }));
8526
+ }
8527
+ VerticalSteps.Step = ExternalStep;
8528
+
8529
+ export { ActionCard, Actions, Avatar, BottomSheet, Button, CardModal, Center, Checkbox, ChoicesElements, DatePicker, DialogModal, Emoji, ExternalAppLink, ExternalLink, FlatList, Flex, FullscreenModal, HStack, Highlight, Icon, IconButton, Image, InputEmail, InputFeedback, InputField, InputIcon, InputPassword, InputPhone, InputPressable, InputTag, InputText, KittBreakpointNameEnum, KittBreakpoints, KittBreakpointsMax, KittMapConfigProvider, KittNativeBaseProvider, KittThemeDecorator, KittThemeProvider, Label, ListItem, LoaderIcon, MapMarkerLarge, MapMarkerPosition, MapMarkerSimple, MatchWindowSize, Message, ModalBehaviour, NavigationModal, Notification, Overlay, PageLoader, Picker, Pressable, Radio, RadioButtonGroup, ScrollView, DeprecatedSection as Section, SectionList, SegmentedProgressBar, Skeleton, SpinningIcon, Stack, StaticMap, Story, StoryBlock, StoryContainer, StoryDecorator, StoryGrid, StorySection, StoryTitle, StyleWebWrapper, Tag, TextArea, TimePicker, Tooltip, Typography, TypographyEmoji, TypographyIcon, TypographyLink, VStack, VerticalSteps, View, createChoicesComponent, createResponsiveStyleFromProp, getStaticMapImageUrl, hex2rgba, matchWindowSize, theme, useBottomSheet, useCurrentBreakpointName, useGetStaticMapImageUrl, useKittMapConfig, useKittTheme, useMatchWindowSize, useStaticBottomSheet, useStoryBlockColor, useTheme };
8502
8530
  //# sourceMappingURL=index-browser-all.es.web.js.map