@ornikar/kitt-universal 5.0.2 → 7.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 (79) hide show
  1. package/dist/definitions/Avatar/Avatar.d.ts +5 -4
  2. package/dist/definitions/Avatar/Avatar.d.ts.map +1 -1
  3. package/dist/definitions/Button/AnimatedButtonPressable.d.ts +2 -1
  4. package/dist/definitions/Button/AnimatedButtonPressable.d.ts.map +1 -1
  5. package/dist/definitions/Button/AnimatedButtonPressable.web.d.ts +2 -1
  6. package/dist/definitions/Button/AnimatedButtonPressable.web.d.ts.map +1 -1
  7. package/dist/definitions/Button/BaseStyledButtonPressable.d.ts +2 -1
  8. package/dist/definitions/Button/BaseStyledButtonPressable.d.ts.map +1 -1
  9. package/dist/definitions/Button/Button.d.ts +2 -1
  10. package/dist/definitions/Button/Button.d.ts.map +1 -1
  11. package/dist/definitions/Button/ButtonContent.d.ts +4 -3
  12. package/dist/definitions/Button/ButtonContent.d.ts.map +1 -1
  13. package/dist/definitions/Button/getVariantValuesIfExist.d.ts +5 -0
  14. package/dist/definitions/Button/getVariantValuesIfExist.d.ts.map +1 -0
  15. package/dist/definitions/ExternalLink/ExternalLink.d.ts +3 -3
  16. package/dist/definitions/ExternalLink/ExternalLink.d.ts.map +1 -1
  17. package/dist/definitions/Icon/Icon.d.ts +10 -2
  18. package/dist/definitions/Icon/Icon.d.ts.map +1 -1
  19. package/dist/definitions/Icon/SpinningIcon.d.ts +4 -3
  20. package/dist/definitions/Icon/SpinningIcon.d.ts.map +1 -1
  21. package/dist/definitions/Icon/SpinningIcon.web.d.ts +1 -1
  22. package/dist/definitions/Icon/SpinningIcon.web.d.ts.map +1 -1
  23. package/dist/definitions/LoaderIcon/LoaderIcon.d.ts +7 -0
  24. package/dist/definitions/LoaderIcon/LoaderIcon.d.ts.map +1 -0
  25. package/dist/definitions/Overlay/Overlay.d.ts +4 -3
  26. package/dist/definitions/Overlay/Overlay.d.ts.map +1 -1
  27. package/dist/definitions/PageLoader/PageLoader.d.ts +4 -0
  28. package/dist/definitions/PageLoader/PageLoader.d.ts.map +1 -0
  29. package/dist/definitions/PageLoader/PageLoader.web.d.ts +3 -0
  30. package/dist/definitions/PageLoader/PageLoader.web.d.ts.map +1 -0
  31. package/dist/definitions/forms/InputText/InputTextContainer.web.d.ts +1 -1
  32. package/dist/definitions/index.d.ts +7 -4
  33. package/dist/definitions/index.d.ts.map +1 -1
  34. package/dist/definitions/themes/default.d.ts +37 -36
  35. package/dist/definitions/themes/default.d.ts.map +1 -1
  36. package/dist/definitions/themes/late-ocean/avatar.d.ts +7 -3
  37. package/dist/definitions/themes/late-ocean/avatar.d.ts.map +1 -1
  38. package/dist/definitions/themes/late-ocean/button.d.ts +26 -9
  39. package/dist/definitions/themes/late-ocean/button.d.ts.map +1 -1
  40. package/dist/definitions/themes/late-ocean/pageLoader.d.ts +5 -0
  41. package/dist/definitions/themes/late-ocean/pageLoader.d.ts.map +1 -0
  42. package/dist/definitions/utils/tests/renderWithProvidersUtils.d.ts +4 -2
  43. package/dist/definitions/utils/tests/renderWithProvidersUtils.d.ts.map +1 -1
  44. package/dist/index-browser-all.es.android.js +265 -305
  45. package/dist/index-browser-all.es.android.js.map +1 -1
  46. package/dist/index-browser-all.es.ios.js +265 -305
  47. package/dist/index-browser-all.es.ios.js.map +1 -1
  48. package/dist/index-browser-all.es.js +265 -305
  49. package/dist/index-browser-all.es.js.map +1 -1
  50. package/dist/index-browser-all.es.web.js +375 -399
  51. package/dist/index-browser-all.es.web.js.map +1 -1
  52. package/dist/index-node-14.17.cjs.js +208 -146
  53. package/dist/index-node-14.17.cjs.js.map +1 -1
  54. package/dist/index-node-14.17.cjs.web.css +2 -2
  55. package/dist/index-node-14.17.cjs.web.js +247 -177
  56. package/dist/index-node-14.17.cjs.web.js.map +1 -1
  57. package/dist/linaria-themes-browser-all.es.android.js +72 -43
  58. package/dist/linaria-themes-browser-all.es.android.js.map +1 -1
  59. package/dist/linaria-themes-browser-all.es.ios.js +72 -43
  60. package/dist/linaria-themes-browser-all.es.ios.js.map +1 -1
  61. package/dist/linaria-themes-browser-all.es.js +72 -43
  62. package/dist/linaria-themes-browser-all.es.js.map +1 -1
  63. package/dist/linaria-themes-browser-all.es.web.js +72 -43
  64. package/dist/linaria-themes-browser-all.es.web.js.map +1 -1
  65. package/dist/linaria-themes-node-14.17.cjs.js +72 -43
  66. package/dist/linaria-themes-node-14.17.cjs.js.map +1 -1
  67. package/dist/linaria-themes-node-14.17.cjs.web.js +72 -43
  68. package/dist/linaria-themes-node-14.17.cjs.web.js.map +1 -1
  69. package/dist/styles.css +2 -2
  70. package/dist/tsbuildinfo +1 -1
  71. package/package.json +9 -8
  72. package/dist/definitions/Loader/LargeLoader.d.ts +0 -7
  73. package/dist/definitions/Loader/LargeLoader.d.ts.map +0 -1
  74. package/dist/definitions/Loader/LargeLoader.web.d.ts +0 -3
  75. package/dist/definitions/Loader/LargeLoader.web.d.ts.map +0 -1
  76. package/dist/definitions/Loader/Loader.d.ts +0 -8
  77. package/dist/definitions/Loader/Loader.d.ts.map +0 -1
  78. package/dist/definitions/Loader/Loader.web.d.ts +0 -8
  79. package/dist/definitions/Loader/Loader.web.d.ts.map +0 -1
@@ -1,13 +1,13 @@
1
- import _defineProperty from '@babel/runtime/helpers/defineProperty';
1
+ import _objectSpread from '@babel/runtime/helpers/objectSpread2';
2
2
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
3
  import { View, Text as Text$1, useWindowDimensions, Image, Pressable, TextInput, StyleSheet, ScrollView, Modal as Modal$1 } from 'react-native';
4
4
  export { useWindowDimensions as useWindowSize } from 'react-native';
5
- import { UserIcon, CheckboxMark, EyeOffIcon, EyeIcon, LoaderIcon, InfoIcon, AlertTriangleIcon, CheckIcon, AlertCircleIcon, XIcon, TooltipArrowIcon } from '@ornikar/kitt-icons';
5
+ import { UserIcon, CheckboxMark, EyeOffIcon, EyeIcon, ArcIcon, InfoIcon, AlertTriangleIcon, CheckIcon, AlertCircleIcon, XIcon, TooltipArrowIcon } from '@ornikar/kitt-icons';
6
6
  export * from '@ornikar/kitt-icons';
7
- import styled$1, { useTheme, css, ThemeProvider } from 'styled-components/native';
8
- import { forwardRef, cloneElement, useContext, createContext, useMemo, useState, Fragment, Children, useEffect } from 'react';
9
- import { styled } from '@linaria/react';
7
+ import styled, { useTheme, css, ThemeProvider } from 'styled-components/native';
8
+ import { cloneElement, useContext, createContext, forwardRef, useMemo, useState, Fragment, Children, useEffect } from 'react';
10
9
  import { jsx, jsxs, Fragment as Fragment$1 } from 'react/jsx-runtime';
10
+ import { styled as styled$1 } from '@linaria/react';
11
11
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
12
12
  import { parse } from 'twemoji-parser';
13
13
  import _extends from '@babel/runtime/helpers/extends';
@@ -16,75 +16,38 @@ import _toConsumableArray from '@babel/runtime/helpers/toConsumableArray';
16
16
  import { useFloating, offset, shift, flip, getScrollParents } from '@floating-ui/react-dom';
17
17
  import { makeDecorator } from '@storybook/addons';
18
18
 
19
- function ownKeys$n(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
20
-
21
- function _objectSpread$n(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$n(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$n(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
22
- // type $Without<T, K extends keyof any> = T extends any ? Pick<T, Exclude<keyof T, K>> : never;
23
- // type $DeepPartial<T> = { [P in keyof T]?: $DeepPartial<T[P]> };
24
- // export function withTheme<Props extends { theme: DefaultTheme }, C>(
25
- // WrappedComponent: ComponentType<Props> & C,
26
- // ): ComponentType<SetOptional<Props, 'theme'>> & hoistNonReactStatics.NonReactStatics<typeof WrappedComponent> {
27
- // return function ThemedComponent(props) {
28
- // const theme = useTheme();
29
- // return (<WrappedComponent theme={theme} {...(props as any)} />) as any;
30
- // };
31
- // }
32
- function withTheme(WrappedComponent) {
33
- // eslint-disable-next-line prefer-arrow-callback
34
- return /*#__PURE__*/forwardRef(function (props, ref) {
35
- var theme = /*#__PURE__*/useTheme();
36
- return /*#__PURE__*/jsx(WrappedComponent, _objectSpread$n({
37
- ref: ref,
38
- theme: theme
39
- }, props));
40
- });
41
- }
42
-
43
- var StyledSpinningIconContainer = withTheme( /*#__PURE__*/styled("div")({
44
- name: "StyledSpinningIconContainer",
45
- "class": "kitt-u_StyledSpinningIconContainer_ssn8o83"
46
- }));
47
- function SpinningIcon(_ref) {
48
- var children = _ref.children;
49
- return /*#__PURE__*/jsx(StyledSpinningIconContainer, {
50
- children: children
51
- });
52
- }
53
-
54
- var IconContainer$1 = /*#__PURE__*/styled$1(View).withConfig({
19
+ var defaultIconSize = 20;
20
+ var IconContainer$1 = /*#__PURE__*/styled(View).withConfig({
55
21
  displayName: "Icon__IconContainer",
56
22
  componentId: "kitt-universal__sc-usm0ol-0"
57
23
  })(["color:", ";width:", "px;height:", "px;align-self:", ";"], function (_ref) {
58
- var color = _ref.color;
59
- return color;
24
+ var $color = _ref.$color;
25
+ return $color;
60
26
  }, function (_ref2) {
61
- var size = _ref2.size;
62
- return size;
27
+ var $size = _ref2.$size;
28
+ return $size;
63
29
  }, function (_ref3) {
64
- var size = _ref3.size;
65
- return size;
30
+ var $size = _ref3.$size;
31
+ return $size;
66
32
  }, function (_ref4) {
67
- var _ref4$align = _ref4.align,
68
- align = _ref4$align === void 0 ? 'auto' : _ref4$align;
69
- return align;
33
+ var _ref4$$align = _ref4.$align,
34
+ $align = _ref4$$align === void 0 ? 'auto' : _ref4$$align;
35
+ return $align;
70
36
  });
71
37
  function Icon(_ref5) {
72
38
  var icon = _ref5.icon,
73
39
  _ref5$size = _ref5.size,
74
- size = _ref5$size === void 0 ? 20 : _ref5$size,
75
- spin = _ref5.spin,
40
+ size = _ref5$size === void 0 ? defaultIconSize : _ref5$size,
76
41
  align = _ref5.align,
77
42
  color = _ref5.color;
78
43
  var clonedIcon = /*#__PURE__*/cloneElement(icon, {
79
44
  color: color
80
45
  });
81
46
  return /*#__PURE__*/jsx(IconContainer$1, {
82
- align: align,
83
- size: size,
84
- color: color,
85
- children: spin ? /*#__PURE__*/jsx(SpinningIcon, {
86
- children: clonedIcon
87
- }) : clonedIcon
47
+ $align: align,
48
+ $size: size,
49
+ $color: color,
50
+ children: clonedIcon
88
51
  });
89
52
  }
90
53
 
@@ -137,10 +100,6 @@ var KittBreakpointsMax = {
137
100
  };
138
101
 
139
102
  var _excluded$g = ["accessibilityRole", "base", "small", "medium", "large", "variant", "color"];
140
-
141
- function ownKeys$m(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
142
-
143
- function _objectSpread$m(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$m(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$m(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
144
103
  var IsHeaderTypographyContext = /*#__PURE__*/createContext(undefined);
145
104
  var TypographyColorContext = /*#__PURE__*/createContext('black');
146
105
  function useTypographyColor() {
@@ -169,7 +128,7 @@ function getTypographyTypeConfig(type, theme) {
169
128
 
170
129
  return theme.kitt.typography.types.bodies.configs[type];
171
130
  }
172
- var StyledTypography = /*#__PURE__*/styled$1(Text$1).withConfig({
131
+ var StyledTypography = /*#__PURE__*/styled(Text$1).withConfig({
173
132
  displayName: "Typography__StyledTypography",
174
133
  componentId: "kitt-universal__sc-1dz700q-0"
175
134
  })(["", " ", ""], function (_ref) {
@@ -234,14 +193,14 @@ function Typography(_ref4) {
234
193
  var nonNullableVariant = variant !== null && variant !== void 0 ? variant : isHeader ? 'bold' : 'regular';
235
194
  var content = baseOrDefaultToBody ? /*#__PURE__*/jsx(IsHeaderTypographyContext.Provider, {
236
195
  value: isHeader,
237
- children: /*#__PURE__*/jsx(StyledTypography, _objectSpread$m({
196
+ children: /*#__PURE__*/jsx(StyledTypography, _objectSpread({
238
197
  $color: colorOrDefaultToBlack,
239
198
  $isHeader: isHeader,
240
199
  $typeForCurrentWindowSize: typeForCurrentWindowSize,
241
200
  $variant: nonNullableVariant,
242
201
  accessibilityRole: accessibilityRole || undefined
243
202
  }, otherProps))
244
- }) : /*#__PURE__*/jsx(StyledTypography, _objectSpread$m({
203
+ }) : /*#__PURE__*/jsx(StyledTypography, _objectSpread({
245
204
  $color: colorOrDefaultToBlack,
246
205
  $isHeader: isHeader,
247
206
  $variant: nonNullableVariant,
@@ -254,13 +213,13 @@ function Typography(_ref4) {
254
213
  }
255
214
 
256
215
  function TypographyText(props) {
257
- return /*#__PURE__*/jsx(Typography, _objectSpread$m({
216
+ return /*#__PURE__*/jsx(Typography, _objectSpread({
258
217
  accessibilityRole: null
259
218
  }, props));
260
219
  }
261
220
 
262
221
  function TypographyParagraph(props) {
263
- return /*#__PURE__*/jsx(Typography, _objectSpread$m({
222
+ return /*#__PURE__*/jsx(Typography, _objectSpread({
264
223
  accessibilityRole: "paragraph"
265
224
  }, props));
266
225
  }
@@ -268,7 +227,7 @@ function TypographyParagraph(props) {
268
227
  var createHeading = function (level, defaultBase) {
269
228
  // https://github.com/necolas/react-native-web/issues/401
270
229
  function TypographyHeading(props) {
271
- return /*#__PURE__*/jsx(Typography, _objectSpread$m(_objectSpread$m({
230
+ return /*#__PURE__*/jsx(Typography, _objectSpread(_objectSpread({
272
231
  accessibilityRole: "header",
273
232
  base: defaultBase
274
233
  }, props), {}, {
@@ -304,25 +263,22 @@ Typography.h4 = createHeading(4, 'header4');
304
263
 
305
264
  Typography.h5 = createHeading(5, 'header5');
306
265
 
307
- var _excluded$f = ["size", "base", "round", "light"];
308
-
309
- function ownKeys$l(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
310
-
311
- function _objectSpread$l(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$l(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$l(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
266
+ var _excluded$f = ["size", "round", "light", "sizeVariant"];
312
267
 
313
268
  var getInitials = function (firstname, lastname) {
314
269
  return "".concat(firstname[0]).concat(lastname[0]).toUpperCase();
315
270
  };
316
271
 
317
- var StyledAvatarView = /*#__PURE__*/styled$1(View).withConfig({
272
+ var StyledAvatarView = /*#__PURE__*/styled(View).withConfig({
318
273
  displayName: "Avatar__StyledAvatarView",
319
274
  componentId: "kitt-universal__sc-9miubv-0"
320
275
  })(["border-radius:", ";background-color:", ";height:", "px;width:", "px;overflow:hidden;align-items:center;justify-content:center;"], function (_ref) {
321
276
  var theme = _ref.theme,
322
277
  $isRound = _ref.$isRound,
323
- $size = _ref.$size;
278
+ $size = _ref.$size,
279
+ $sizeVariant = _ref.$sizeVariant;
324
280
  if ($isRound) return "".concat($size / 2, "px");
325
- return "".concat(theme.kitt.avatar.borderRadius, "px");
281
+ return "".concat($sizeVariant === 'large' ? theme.kitt.avatar.large.borderRadius : theme.kitt.avatar.borderRadius, "px");
326
282
  }, function (_ref2) {
327
283
  var theme = _ref2.theme,
328
284
  $isLight = _ref2.$isLight;
@@ -341,8 +297,8 @@ function AvatarContent(_ref5) {
341
297
  firstname = _ref5.firstname,
342
298
  lastname = _ref5.lastname,
343
299
  alt = _ref5.alt,
344
- base = _ref5.base,
345
- isLight = _ref5.isLight;
300
+ isLight = _ref5.isLight,
301
+ sizeVariant = _ref5.sizeVariant;
346
302
 
347
303
  if (src) {
348
304
  return /*#__PURE__*/jsx(Image, {
@@ -359,8 +315,8 @@ function AvatarContent(_ref5) {
359
315
 
360
316
  if (firstname && lastname) {
361
317
  return /*#__PURE__*/jsx(Typography.Text, {
362
- base: base,
363
- variant: "bold",
318
+ base: sizeVariant === 'large' ? 'body-large' : 'body',
319
+ variant: sizeVariant === 'large' ? 'bold' : 'regular',
364
320
  color: isLight ? 'black' : 'white',
365
321
  children: getInitials(firstname, lastname)
366
322
  });
@@ -376,34 +332,65 @@ function AvatarContent(_ref5) {
376
332
  function Avatar(_ref6) {
377
333
  var _ref6$size = _ref6.size,
378
334
  size = _ref6$size === void 0 ? 40 : _ref6$size,
379
- _ref6$base = _ref6.base,
380
- base = _ref6$base === void 0 ? 'body-small' : _ref6$base,
381
335
  round = _ref6.round,
382
336
  light = _ref6.light,
337
+ sizeVariant = _ref6.sizeVariant,
383
338
  props = _objectWithoutProperties(_ref6, _excluded$f);
384
339
 
385
340
  return /*#__PURE__*/jsx(StyledAvatarView, {
386
341
  $size: size,
387
342
  $isRound: round,
388
343
  $isLight: light,
389
- children: /*#__PURE__*/jsx(AvatarContent, _objectSpread$l({
344
+ $sizeVariant: sizeVariant,
345
+ children: /*#__PURE__*/jsx(AvatarContent, _objectSpread({
390
346
  size: size,
391
- base: base,
392
- isLight: light
347
+ isLight: light,
348
+ sizeVariant: sizeVariant
393
349
  }, props))
394
350
  });
395
351
  }
396
352
 
397
- function isSubtle(type) {
398
- return type.startsWith('subtle');
353
+ // type $Without<T, K extends keyof any> = T extends any ? Pick<T, Exclude<keyof T, K>> : never;
354
+ // type $DeepPartial<T> = { [P in keyof T]?: $DeepPartial<T[P]> };
355
+ // export function withTheme<Props extends { theme: DefaultTheme }, C>(
356
+ // WrappedComponent: ComponentType<Props> & C,
357
+ // ): ComponentType<SetOptional<Props, 'theme'>> & hoistNonReactStatics.NonReactStatics<typeof WrappedComponent> {
358
+ // return function ThemedComponent(props) {
359
+ // const theme = useTheme();
360
+ // return (<WrappedComponent theme={theme} {...(props as any)} />) as any;
361
+ // };
362
+ // }
363
+ function withTheme(WrappedComponent) {
364
+ // eslint-disable-next-line prefer-arrow-callback
365
+ return /*#__PURE__*/forwardRef(function (props, ref) {
366
+ var theme = /*#__PURE__*/useTheme();
367
+ return /*#__PURE__*/jsx(WrappedComponent, _objectSpread({
368
+ ref: ref,
369
+ theme: theme
370
+ }, props));
371
+ });
399
372
  }
400
373
 
401
- var _excluded$e = ["$type", "$isStretch", "disabled"];
374
+ var hasVariant = function (button, variant) {
375
+ return variant in button;
376
+ };
377
+
378
+ function getVariantValuesIfExist(theme, type, variant) {
379
+ var button = theme.kitt.button[type];
380
+
381
+ if (hasVariant(button, variant)) {
382
+ return button[variant];
383
+ }
384
+
385
+ return theme.kitt.button[type]["default"];
386
+ }
402
387
 
403
- function ownKeys$k(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
388
+ function isSubtle(type) {
389
+ return type.startsWith('subtle');
390
+ }
404
391
 
405
- function _objectSpread$k(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$k(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$k(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
406
- var AnimatedButtonPressableContainer = withTheme( /*#__PURE__*/styled("div")({
392
+ var _excluded$e = ["$type", "$variant", "$isStretch", "disabled"];
393
+ var AnimatedButtonPressableContainer = withTheme( /*#__PURE__*/styled$1("div")({
407
394
  name: "AnimatedButtonPressableContainer",
408
395
  "class": "kitt-u_AnimatedButtonPressableContainer_a1vkj3mh",
409
396
  vars: {
@@ -427,9 +414,10 @@ var AnimatedButtonPressableContainer = withTheme( /*#__PURE__*/styled("div")({
427
414
  "a1vkj3mh-5": [function (_ref5) {
428
415
  var theme = _ref5.theme,
429
416
  $type = _ref5.$type,
417
+ $variant = _ref5.$variant,
430
418
  $isDisabled = _ref5.$isDisabled;
431
- if ($isDisabled) return theme.kitt.button.disabled.hoverBackgroundColor;
432
- return theme.kitt.button[$type].hoverBackgroundColor;
419
+ if ($isDisabled) return theme.kitt.button.disabled["default"].hoverBackgroundColor;
420
+ return getVariantValuesIfExist(theme, $type, $variant).hoverBackgroundColor;
433
421
  }],
434
422
  "a1vkj3mh-6": [function (_ref6) {
435
423
  var theme = _ref6.theme;
@@ -460,12 +448,13 @@ var AnimatedButtonPressableContainer = withTheme( /*#__PURE__*/styled("div")({
460
448
  }],
461
449
  "a1vkj3mh-14": [function (_ref12) {
462
450
  var theme = _ref12.theme;
463
- return "".concat(theme.kitt.button.borderWidth.disabled, "px solid ").concat(theme.kitt.button.disabled.borderColor);
451
+ return "".concat(theme.kitt.button.borderWidth.disabled, "px solid ").concat(theme.kitt.button.disabled["default"].borderColor);
464
452
  }],
465
453
  "a1vkj3mh-15": [function (_ref13) {
466
454
  var theme = _ref13.theme,
467
- $type = _ref13.$type;
468
- return "".concat(theme.kitt.button.borderWidth.focus, "px solid ").concat(theme.kitt.button[$type].focusBorderColor);
455
+ $type = _ref13.$type,
456
+ $variant = _ref13.$variant;
457
+ return "".concat(theme.kitt.button.borderWidth.focus, "px solid ").concat(getVariantValuesIfExist(theme, $type, $variant).focusBorderColor);
469
458
  }],
470
459
  "a1vkj3mh-16": [function (_ref14) {
471
460
  var theme = _ref14.theme;
@@ -476,29 +465,42 @@ var AnimatedButtonPressableContainer = withTheme( /*#__PURE__*/styled("div")({
476
465
  $type = _ref15.$type,
477
466
  $isDisabled = _ref15.$isDisabled;
478
467
  if ($isDisabled) return theme.kitt.typography.colors['black-light'];
479
- if (!isSubtle($type)) return 'inherit';
480
- return theme.kitt.button[$type].color;
468
+
469
+ if (isSubtle($type)) {
470
+ return theme.kitt.button[$type]["default"].color;
471
+ }
472
+
473
+ return 'inherit';
481
474
  }],
482
475
  "a1vkj3mh-19": [function (_ref16) {
483
476
  var theme = _ref16.theme,
484
477
  $type = _ref16.$type,
485
478
  $isDisabled = _ref16.$isDisabled;
486
479
  if ($isDisabled) return theme.kitt.typography.colors['black-light'];
487
- if (!isSubtle($type)) return 'inherit';
488
- return theme.kitt.button[$type].hoverColor;
480
+
481
+ if (isSubtle($type)) {
482
+ return theme.kitt.button[$type]["default"].hoverColor;
483
+ }
484
+
485
+ return 'inherit';
489
486
  }],
490
487
  "a1vkj3mh-20": [function (_ref17) {
491
488
  var theme = _ref17.theme,
492
489
  $type = _ref17.$type,
493
490
  $isDisabled = _ref17.$isDisabled;
494
491
  if ($isDisabled) return theme.kitt.typography.colors['black-light'];
495
- if (!isSubtle($type)) return 'inherit';
496
- return theme.kitt.button[$type].activeColor;
492
+
493
+ if (isSubtle($type)) {
494
+ return theme.kitt.button[$type]["default"].activeColor;
495
+ }
496
+
497
+ return 'inherit';
497
498
  }]
498
499
  }
499
500
  }));
500
501
  var AnimatedButtonPressable = /*#__PURE__*/forwardRef(function (_ref18, ref) {
501
502
  var $type = _ref18.$type,
503
+ $variant = _ref18.$variant,
502
504
  $isStretch = _ref18.$isStretch,
503
505
  disabled = _ref18.disabled,
504
506
  props = _objectWithoutProperties(_ref18, _excluded$e);
@@ -506,15 +508,16 @@ var AnimatedButtonPressable = /*#__PURE__*/forwardRef(function (_ref18, ref) {
506
508
  return /*#__PURE__*/jsx(AnimatedButtonPressableContainer, {
507
509
  ref: ref,
508
510
  $type: $type,
511
+ $variant: $variant,
509
512
  $isDisabled: !!disabled,
510
513
  $isStretch: $isStretch,
511
- children: /*#__PURE__*/jsx(Pressable, _objectSpread$k({
514
+ children: /*#__PURE__*/jsx(Pressable, _objectSpread({
512
515
  disabled: disabled
513
516
  }, props))
514
517
  });
515
518
  });
516
519
 
517
- var BaseStyledButtonPressable = /*#__PURE__*/styled$1(View).withConfig({
520
+ var BaseStyledButtonPressable = /*#__PURE__*/styled(View).withConfig({
518
521
  displayName: "BaseStyledButtonPressable",
519
522
  componentId: "kitt-universal__sc-4k8lse-0"
520
523
  })(["position:relative;min-width:", "px;max-width:", ";width:", ";min-height:", "px;border-radius:", "px;flex-direction:row;align-items:center;justify-content:center;align-self:flex-start;background-color:", ";padding:", ";"], function (_ref) {
@@ -536,9 +539,10 @@ var BaseStyledButtonPressable = /*#__PURE__*/styled$1(View).withConfig({
536
539
  }, function (_ref6) {
537
540
  var theme = _ref6.theme,
538
541
  $isDisabled = _ref6.$isDisabled,
539
- $type = _ref6.$type;
540
- if ($isDisabled) return theme.kitt.button.disabled.backgroundColor;
541
- return theme.kitt.button[$type].backgroundColor;
542
+ $type = _ref6.$type,
543
+ $variant = _ref6.$variant;
544
+ if ($isDisabled) return theme.kitt.button.disabled["default"].backgroundColor;
545
+ return getVariantValuesIfExist(theme, $type, $variant).backgroundColor;
542
546
  }, function (_ref7) {
543
547
  var theme = _ref7.theme,
544
548
  $isLarge = _ref7.$isLarge,
@@ -555,23 +559,19 @@ var BaseStyledButtonPressable = /*#__PURE__*/styled$1(View).withConfig({
555
559
  var _excluded$d = ["color"],
556
560
  _excluded2$2 = ["color"];
557
561
 
558
- function ownKeys$j(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
559
-
560
- function _objectSpread$j(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$j(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$j(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
561
-
562
562
  function TypographyIconSpecifiedColor(_ref) {
563
563
  var color = _ref.color,
564
564
  props = _objectWithoutProperties(_ref, _excluded$d);
565
565
 
566
566
  var theme = /*#__PURE__*/useTheme();
567
- return /*#__PURE__*/jsx(Icon, _objectSpread$j(_objectSpread$j({}, props), {}, {
567
+ return /*#__PURE__*/jsx(Icon, _objectSpread(_objectSpread({}, props), {}, {
568
568
  color: color === 'inherit' ? 'inherit' : theme.kitt.typography.colors[color]
569
569
  }));
570
570
  }
571
571
 
572
572
  function TypographyIconInheritColor(props) {
573
573
  var color = useTypographyColor();
574
- return /*#__PURE__*/jsx(TypographyIconSpecifiedColor, _objectSpread$j({
574
+ return /*#__PURE__*/jsx(TypographyIconSpecifiedColor, _objectSpread({
575
575
  color: color
576
576
  }, props));
577
577
  }
@@ -581,24 +581,20 @@ function TypographyIcon(_ref2) {
581
581
  props = _objectWithoutProperties(_ref2, _excluded2$2);
582
582
 
583
583
  if (color) {
584
- return /*#__PURE__*/jsx(TypographyIconSpecifiedColor, _objectSpread$j({
584
+ return /*#__PURE__*/jsx(TypographyIconSpecifiedColor, _objectSpread({
585
585
  color: color
586
586
  }, props));
587
587
  }
588
588
 
589
- return /*#__PURE__*/jsx(TypographyIconInheritColor, _objectSpread$j({}, props));
589
+ return /*#__PURE__*/jsx(TypographyIconInheritColor, _objectSpread({}, props));
590
590
  }
591
591
 
592
- var _excluded$c = ["type", "isDisabled", "$isStretch", "icon", "children"];
593
-
594
- function ownKeys$i(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
595
-
596
- function _objectSpread$i(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$i(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$i(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
592
+ var _excluded$c = ["type", "variant", "isDisabled", "$isStretch", "icon", "children"];
597
593
 
598
- var getTextColorByType = function (type) {
594
+ var getTextColorByType = function (type, variant) {
599
595
  switch (type) {
600
596
  case 'primary':
601
- return 'white';
597
+ return variant === 'ghost' ? 'primary' : 'white';
602
598
 
603
599
  case 'white':
604
600
  return 'white';
@@ -614,7 +610,7 @@ var getTextColorByType = function (type) {
614
610
  }
615
611
  };
616
612
 
617
- var StyledButtonText = /*#__PURE__*/styled$1(Typography.Text).withConfig({
613
+ var StyledButtonText = /*#__PURE__*/styled(Typography.Text).withConfig({
618
614
  displayName: "ButtonContent__StyledButtonText",
619
615
  componentId: "kitt-universal__sc-dnyw3n-0"
620
616
  })(["text-align:center;", " ", ""], function () {
@@ -632,7 +628,7 @@ var StyledButtonText = /*#__PURE__*/styled$1(Typography.Text).withConfig({
632
628
  if ($isDisabled || !isSubtle($type)) return undefined;
633
629
  return 'color: inherit';
634
630
  });
635
- var StyledIconContainer$1 = /*#__PURE__*/styled$1(View).withConfig({
631
+ var StyledIconContainer$1 = /*#__PURE__*/styled(View).withConfig({
636
632
  displayName: "ButtonContent__StyledIconContainer",
637
633
  componentId: "kitt-universal__sc-dnyw3n-1"
638
634
  })(["", ""], function (_ref2) {
@@ -650,21 +646,19 @@ var StyledIconContainer$1 = /*#__PURE__*/styled$1(View).withConfig({
650
646
  function ButtonIcon(_ref3) {
651
647
  var icon = _ref3.icon,
652
648
  color = _ref3.color,
653
- spin = _ref3.spin,
654
649
  iconPosition = _ref3.iconPosition,
655
650
  testID = _ref3.testID;
656
651
  return /*#__PURE__*/jsx(StyledIconContainer$1, {
657
652
  $iconPosition: iconPosition,
658
653
  children: /*#__PURE__*/jsx(TypographyIcon, {
659
654
  icon: icon,
660
- spin: spin,
661
655
  testID: testID,
662
656
  color: color
663
657
  })
664
658
  });
665
659
  }
666
660
 
667
- var StyledChildrenWithIcon = /*#__PURE__*/styled$1(View).withConfig({
661
+ var StyledChildrenWithIcon = /*#__PURE__*/styled(View).withConfig({
668
662
  displayName: "ButtonContent__StyledChildrenWithIcon",
669
663
  componentId: "kitt-universal__sc-dnyw3n-2"
670
664
  })(["align-items:center;justify-content:center;flex-direction:row;"]);
@@ -672,7 +666,6 @@ function ButtonContentChildren(_ref4) {
672
666
  var type = _ref4.type,
673
667
  icon = _ref4.icon,
674
668
  iconPosition = _ref4.iconPosition,
675
- iconSpin = _ref4.iconSpin,
676
669
  isDisabled = _ref4.isDisabled,
677
670
  color = _ref4.color,
678
671
  children = _ref4.children;
@@ -686,9 +679,8 @@ function ButtonContentChildren(_ref4) {
686
679
  var isWebSubtle = isSubtle(type) && "web" === 'web' && !isDisabled;
687
680
 
688
681
  if (!children) {
689
- return /*#__PURE__*/jsx(TypographyIcon, {
690
- spin: iconSpin // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
691
- ,
682
+ return /*#__PURE__*/jsx(TypographyIcon // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
683
+ , {
692
684
  icon: icon,
693
685
  color: isWebSubtle ? 'inherit' : color
694
686
  });
@@ -696,12 +688,11 @@ function ButtonContentChildren(_ref4) {
696
688
 
697
689
  var buttonIconSharedProps = {
698
690
  type: type,
699
- spin: iconSpin,
700
691
  iconPosition: iconPosition,
701
692
  color: isWebSubtle ? 'inherit' : color
702
693
  };
703
694
  return /*#__PURE__*/jsxs(StyledChildrenWithIcon, {
704
- children: [icon && iconPosition === 'left' ? /*#__PURE__*/jsx(ButtonIcon, _objectSpread$i(_objectSpread$i({}, buttonIconSharedProps), {}, {
695
+ children: [icon && iconPosition === 'left' ? /*#__PURE__*/jsx(ButtonIcon, _objectSpread(_objectSpread({}, buttonIconSharedProps), {}, {
705
696
  testID: "button-left-icon",
706
697
  icon: icon
707
698
  })) : null, /*#__PURE__*/jsx(StyledButtonText, {
@@ -712,12 +703,12 @@ function ButtonContentChildren(_ref4) {
712
703
  ,
713
704
  color: isWebSubtle ? undefined : color,
714
705
  children: children
715
- }), icon && iconPosition === 'right' ? /*#__PURE__*/jsx(ButtonIcon, _objectSpread$i(_objectSpread$i({}, buttonIconSharedProps), {}, {
706
+ }), icon && iconPosition === 'right' ? /*#__PURE__*/jsx(ButtonIcon, _objectSpread(_objectSpread({}, buttonIconSharedProps), {}, {
716
707
  icon: icon
717
708
  })) : null]
718
709
  });
719
710
  }
720
- var ButtonContentContainer = /*#__PURE__*/styled$1(View).withConfig({
711
+ var ButtonContentContainer = /*#__PURE__*/styled(View).withConfig({
721
712
  displayName: "ButtonContent__ButtonContentContainer",
722
713
  componentId: "kitt-universal__sc-dnyw3n-3"
723
714
  })(["line-height:16px;", " ", ";"], function (_ref5) {
@@ -732,18 +723,19 @@ var ButtonContentContainer = /*#__PURE__*/styled$1(View).withConfig({
732
723
  });
733
724
  function ButtonContent(_ref7) {
734
725
  var type = _ref7.type,
726
+ variant = _ref7.variant,
735
727
  isDisabled = _ref7.isDisabled,
736
728
  $isStretch = _ref7.$isStretch,
737
729
  icon = _ref7.icon,
738
730
  children = _ref7.children,
739
731
  props = _objectWithoutProperties(_ref7, _excluded$c);
740
732
 
741
- var color = isDisabled ? 'black-light' : getTextColorByType(type);
733
+ var color = isDisabled ? 'black-light' : getTextColorByType(type, variant);
742
734
  return /*#__PURE__*/jsx(ButtonContentContainer, {
743
735
  $isSubtle: isSubtle(type),
744
736
  $isStretch: $isStretch,
745
737
  $isIconOnly: Boolean(!children && icon),
746
- children: /*#__PURE__*/jsx(ButtonContentChildren, _objectSpread$i(_objectSpread$i({
738
+ children: /*#__PURE__*/jsx(ButtonContentChildren, _objectSpread(_objectSpread({
747
739
  icon: icon,
748
740
  type: type,
749
741
  isDisabled: isDisabled,
@@ -758,19 +750,25 @@ var Button = /*#__PURE__*/forwardRef(function (_ref, ref) {
758
750
  var children = _ref.children,
759
751
  _ref$type = _ref.type,
760
752
  type = _ref$type === void 0 ? 'default' : _ref$type,
753
+ _ref$variant = _ref.variant,
754
+ variant = _ref$variant === void 0 ? 'default' : _ref$variant,
761
755
  disabled = _ref.disabled,
762
756
  stretch = _ref.stretch,
763
757
  large = _ref.large,
764
758
  icon = _ref.icon,
765
759
  _ref$iconPosition = _ref.iconPosition,
766
760
  iconPosition = _ref$iconPosition === void 0 ? 'left' : _ref$iconPosition,
767
- iconSpin = _ref.iconSpin,
768
761
  testID = _ref.testID,
769
762
  href = _ref.href,
770
763
  hrefAttrs = _ref.hrefAttrs,
771
764
  _ref$accessibilityRol = _ref.accessibilityRole,
772
765
  accessibilityRole = _ref$accessibilityRol === void 0 ? 'button' : _ref$accessibilityRol,
773
766
  onPress = _ref.onPress;
767
+
768
+ if ((process.env.NODE_ENV !== "production") && variant === 'ghost' && type !== 'primary') {
769
+ throw new Error('variant=ghost is only allowed with type=primary');
770
+ }
771
+
774
772
  return /*#__PURE__*/jsx(AnimatedButtonPressable, {
775
773
  ref: ref,
776
774
  accessibilityRole: accessibilityRole,
@@ -780,26 +778,28 @@ var Button = /*#__PURE__*/forwardRef(function (_ref, ref) {
780
778
  disabled: disabled,
781
779
  $isStretch: stretch,
782
780
  $type: type,
781
+ $variant: variant,
783
782
  onPress: onPress,
784
783
  children: /*#__PURE__*/jsxs(BaseStyledButtonPressable, {
785
784
  $type: type,
785
+ $variant: variant,
786
786
  $isStretch: stretch,
787
787
  $isLarge: large,
788
788
  $isDisabled: disabled,
789
789
  children: [/*#__PURE__*/jsx(ButtonContent, {
790
790
  type: type,
791
+ variant: variant,
791
792
  $isStretch: stretch,
792
793
  isDisabled: disabled,
793
794
  icon: icon,
794
795
  iconPosition: iconPosition,
795
- iconSpin: iconSpin,
796
796
  children: children
797
797
  }), null]
798
798
  })
799
799
  });
800
800
  });
801
801
 
802
- var Container$3 = /*#__PURE__*/styled$1(View).withConfig({
802
+ var Container$3 = /*#__PURE__*/styled(View).withConfig({
803
803
  displayName: "Card__Container",
804
804
  componentId: "kitt-universal__sc-1n9psug-0"
805
805
  })(["background-color:", ";padding:", "px;border-radius:", "px;border-width:", "px;border-color:", ";"], function (_ref) {
@@ -829,7 +829,7 @@ function Card(_ref6) {
829
829
  });
830
830
  }
831
831
 
832
- var StyledEmoji = /*#__PURE__*/styled$1(Image).withConfig({
832
+ var StyledEmoji = /*#__PURE__*/styled(Image).withConfig({
833
833
  displayName: "Emoji__StyledEmoji",
834
834
  componentId: "kitt-universal__sc-ggl6wj-0"
835
835
  })(["width:", "px;height:", "px;"], function (_ref) {
@@ -870,10 +870,6 @@ var defaultOpenLinkBehavior = {
870
870
  };
871
871
 
872
872
  var _excluded$b = ["as", "href", "openLinkBehavior", "onPress"];
873
-
874
- function ownKeys$h(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
875
-
876
- function _objectSpread$h(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$h(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$h(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
877
873
  function ExternalLink(_ref) {
878
874
  var Component = _ref.as,
879
875
  href = _ref.href,
@@ -882,7 +878,7 @@ function ExternalLink(_ref) {
882
878
  onPress = _ref.onPress,
883
879
  rest = _objectWithoutProperties(_ref, _excluded$b);
884
880
 
885
- return /*#__PURE__*/jsx(Component, _objectSpread$h(_objectSpread$h({}, rest), {}, {
881
+ return /*#__PURE__*/jsx(Component, _objectSpread(_objectSpread({}, rest), {}, {
886
882
  href: href,
887
883
  hrefAttrs: (openLinkBehavior === null || openLinkBehavior === void 0 ? void 0 : openLinkBehavior.web) === 'targetSelf' ? undefined : {
888
884
  target: '_blank',
@@ -947,6 +943,9 @@ var avatar = {
947
943
  },
948
944
  light: {
949
945
  backgroundColor: lateOceanColorPalette.black100
946
+ },
947
+ large: {
948
+ borderRadius: 30
950
949
  }
951
950
  };
952
951
 
@@ -970,56 +969,77 @@ var button = {
970
969
  }
971
970
  },
972
971
  contentPadding: {
973
- "default": '8px 16px 7px',
974
- large: '12px 24px 11px',
975
- disabled: '6px 14px 5px'
972
+ "default": '7px 16px 7px',
973
+ large: '11px 24px 11px',
974
+ disabled: '5px 14px 5px'
976
975
  },
977
976
  transition: {
978
977
  duration: '200ms',
979
978
  timingFunction: 'cubic-bezier(0.645, 0.045, 0.355, 1)'
980
979
  },
981
980
  "default": {
982
- backgroundColor: 'rgba(0, 0, 0, 0.05)',
983
- pressedBackgroundColor: 'rgba(0, 0, 0, 0.1)',
984
- hoverBackgroundColor: 'rgba(0, 0, 0, 0.1)',
985
- focusBorderColor: 'rgba(0, 0, 0, 0.1)'
981
+ "default": {
982
+ backgroundColor: 'rgba(0, 0, 0, 0.05)',
983
+ pressedBackgroundColor: 'rgba(0, 0, 0, 0.1)',
984
+ hoverBackgroundColor: 'rgba(0, 0, 0, 0.1)',
985
+ focusBorderColor: 'rgba(0, 0, 0, 0.1)'
986
+ }
986
987
  },
987
988
  primary: {
988
- backgroundColor: colors.primary,
989
- pressedBackgroundColor: colors.primaryLight,
990
- hoverBackgroundColor: colors.primaryLight,
991
- focusBorderColor: 'rgba(76, 52, 224, 0.2)'
989
+ "default": {
990
+ backgroundColor: colors.primary,
991
+ pressedBackgroundColor: colors.primaryLight,
992
+ hoverBackgroundColor: colors.primaryLight,
993
+ focusBorderColor: 'rgba(76, 52, 224, 0.2)'
994
+ },
995
+ ghost: {
996
+ backgroundColor: colors.uiBackgroundLight,
997
+ pressedBackgroundColor: colors.uiBackground,
998
+ hoverBackgroundColor: colors.hover,
999
+ focusBorderColor: 'rgba(255,255,255, 0.4)',
1000
+ color: colors.primary,
1001
+ hoverColor: colors.hover,
1002
+ activeColor: colors.hover
1003
+ }
992
1004
  },
993
1005
  white: {
994
- backgroundColor: 'rgba(255, 255, 255, 0.05)',
995
- pressedBackgroundColor: 'rgba(255, 255, 255, 0.1)',
996
- hoverBackgroundColor: 'rgba(255, 255, 255, 0.1)',
997
- focusBorderColor: 'rgba(255, 255, 255, 0.1)'
1006
+ "default": {
1007
+ backgroundColor: 'rgba(255, 255, 255, 0.05)',
1008
+ pressedBackgroundColor: 'rgba(255, 255, 255, 0.1)',
1009
+ hoverBackgroundColor: 'rgba(255, 255, 255, 0.1)',
1010
+ focusBorderColor: 'rgba(255, 255, 255, 0.1)'
1011
+ }
998
1012
  },
999
1013
  subtle: {
1000
- backgroundColor: colors.transparent,
1001
- pressedBackgroundColor: colors.transparent,
1002
- hoverBackgroundColor: colors.transparent,
1003
- focusBorderColor: 'rgba(76, 52, 224, 0.2)',
1004
- color: colors.primary,
1005
- hoverColor: 'rgba(76, 52, 224, 0.8)',
1006
- activeColor: 'rgba(76, 52, 224, 0.8)'
1014
+ "default": {
1015
+ backgroundColor: colors.transparent,
1016
+ pressedBackgroundColor: colors.transparent,
1017
+ hoverBackgroundColor: colors.transparent,
1018
+ focusBorderColor: 'rgba(76, 52, 224, 0.2)',
1019
+ color: colors.primary,
1020
+ hoverColor: 'rgba(76, 52, 224, 0.8)',
1021
+ activeColor: 'rgba(76, 52, 224, 0.8)'
1022
+ }
1007
1023
  },
1008
1024
  'subtle-dark': {
1009
- backgroundColor: colors.transparent,
1010
- pressedBackgroundColor: colors.transparent,
1011
- hoverBackgroundColor: colors.transparent,
1012
- focusBorderColor: 'rgba(0, 0, 0, 0.1)',
1013
- color: colors.black,
1014
- hoverColor: 'rgba(0, 0, 0, 0.8)',
1015
- activeColor: 'rgba(0, 0, 0, 0.8)'
1025
+ "default": {
1026
+ backgroundColor: colors.transparent,
1027
+ pressedBackgroundColor: colors.transparent,
1028
+ hoverBackgroundColor: colors.transparent,
1029
+ focusBorderColor: 'rgba(0, 0, 0, 0.1)',
1030
+ color: colors.black,
1031
+ hoverColor: 'rgba(0, 0, 0, 0.8)',
1032
+ activeColor: 'rgba(0, 0, 0, 0.8)'
1033
+ }
1016
1034
  },
1017
1035
  disabled: {
1018
- backgroundColor: colors.disabled,
1019
- pressedBackgroundColor: colors.disabled,
1020
- hoverBackgroundColor: colors.disabled,
1021
- focusBorderColor: lateOceanColorPalette.black100,
1022
- borderColor: lateOceanColorPalette.black100
1036
+ "default": {
1037
+ backgroundColor: colors.disabled,
1038
+ pressedBackgroundColor: colors.disabled,
1039
+ hoverBackgroundColor: colors.disabled,
1040
+ focusBorderColor: lateOceanColorPalette.black100,
1041
+ borderColor: lateOceanColorPalette.black100
1042
+ }
1023
1043
  }
1024
1044
  };
1025
1045
 
@@ -1299,14 +1319,14 @@ var iconButton = {
1299
1319
  },
1300
1320
  disabled: {
1301
1321
  scale: 1,
1302
- backgroundColor: button.disabled.backgroundColor,
1303
- borderColor: button.disabled.borderColor
1322
+ backgroundColor: button.disabled["default"].backgroundColor,
1323
+ borderColor: button.disabled["default"].borderColor
1304
1324
  },
1305
1325
  "default": {
1306
- pressedBackgroundColor: button["default"].pressedBackgroundColor
1326
+ pressedBackgroundColor: button["default"]["default"].pressedBackgroundColor
1307
1327
  },
1308
1328
  white: {
1309
- pressedBackgroundColor: button.white.hoverBackgroundColor
1329
+ pressedBackgroundColor: button.white["default"].hoverBackgroundColor
1310
1330
  }
1311
1331
  };
1312
1332
 
@@ -1317,6 +1337,10 @@ var listItem = {
1317
1337
  innerMargin: 8
1318
1338
  };
1319
1339
 
1340
+ var pageLoader = {
1341
+ size: 60
1342
+ };
1343
+
1320
1344
  var shadows = {
1321
1345
  medium: '0px 10px 20px rgba(41, 48, 51, 0.25)'
1322
1346
  };
@@ -1407,19 +1431,20 @@ var theme = {
1407
1431
  lateOcean: lateOceanColorPalette
1408
1432
  },
1409
1433
  avatar: avatar,
1434
+ breakpoints: breakpoints,
1410
1435
  button: button,
1411
1436
  card: card,
1412
1437
  feedbackMessage: feedbackMessage,
1413
1438
  forms: forms,
1414
- typography: typography,
1415
- tag: tag,
1416
- shadows: shadows,
1417
1439
  fullScreenModal: fullScreenModal,
1418
1440
  iconButton: iconButton,
1419
1441
  listItem: listItem,
1420
- tooltip: tooltip,
1442
+ pageLoader: pageLoader,
1443
+ shadows: shadows,
1421
1444
  skeleton: skeleton,
1422
- breakpoints: breakpoints
1445
+ tag: tag,
1446
+ tooltip: tooltip,
1447
+ typography: typography
1423
1448
  };
1424
1449
 
1425
1450
  function matchWindowSize(_ref, _ref2) {
@@ -1495,11 +1520,11 @@ function useKittTheme() {
1495
1520
  }, [dimensions]);
1496
1521
  }
1497
1522
 
1498
- var CheckboxAndLabelPressableWrapper = /*#__PURE__*/styled$1(Pressable).withConfig({
1523
+ var CheckboxAndLabelPressableWrapper = /*#__PURE__*/styled(Pressable).withConfig({
1499
1524
  displayName: "Checkbox__CheckboxAndLabelPressableWrapper",
1500
1525
  componentId: "kitt-universal__sc-1sav1n6-0"
1501
1526
  })(["display:flex;flex-direction:row;"]);
1502
- var CheckboxContainer = /*#__PURE__*/styled$1(View).withConfig({
1527
+ var CheckboxContainer = /*#__PURE__*/styled(View).withConfig({
1503
1528
  displayName: "Checkbox__CheckboxContainer",
1504
1529
  componentId: "kitt-universal__sc-1sav1n6-1"
1505
1530
  })(["display:flex;flex-direction:row;align-items:center;justify-content:center;height:", "px;width:", "px;position:relative;border-radius:", "px;", " margin-right:", ";"], function (_ref) {
@@ -1604,11 +1629,11 @@ var styledTextInputMixin = /*#__PURE__*/css(["background-color:", ";border-width
1604
1629
  return theme.kitt.typography.types.bodies.fontFamily.regular;
1605
1630
  });
1606
1631
 
1607
- var StyledTypographyText = /*#__PURE__*/styled$1(Typography.Text).withConfig({
1632
+ var StyledTypographyText = /*#__PURE__*/styled(Typography.Text).withConfig({
1608
1633
  displayName: "DatePickerInputPart__StyledTypographyText",
1609
1634
  componentId: "kitt-universal__sc-11fmlmi-0"
1610
1635
  })(["text-align:center;"]);
1611
- var ViewInput = /*#__PURE__*/styled$1(View).withConfig({
1636
+ var ViewInput = /*#__PURE__*/styled(View).withConfig({
1612
1637
  displayName: "DatePickerInputPart__ViewInput",
1613
1638
  componentId: "kitt-universal__sc-11fmlmi-1"
1614
1639
  })(["", " padding:", ";min-height:", "px;min-width:", ";"], styledTextInputMixin, function (_ref) {
@@ -1643,15 +1668,11 @@ function DatePickerInputPart(_ref4) {
1643
1668
  });
1644
1669
  }
1645
1670
 
1646
- function ownKeys$g(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1647
-
1648
- function _objectSpread$g(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$g(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$g(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1649
-
1650
1671
  function prefixWithZero(value) {
1651
1672
  return "".concat(value).padStart(2, '0');
1652
1673
  }
1653
1674
 
1654
- var PartContainer = /*#__PURE__*/styled$1(View).withConfig({
1675
+ var PartContainer = /*#__PURE__*/styled(View).withConfig({
1655
1676
  displayName: "DatePickerInputs__PartContainer",
1656
1677
  componentId: "kitt-universal__sc-j9hin5-0"
1657
1678
  })(["margin-right:", ";", ";"], function (_ref) {
@@ -1662,7 +1683,7 @@ var PartContainer = /*#__PURE__*/styled$1(View).withConfig({
1662
1683
  var $isStretch = _ref2.$isStretch;
1663
1684
  return $isStretch ? css(["flex:0.33;flex-grow:1;"]) : undefined;
1664
1685
  });
1665
- var DatePickerPressable = /*#__PURE__*/styled$1(Pressable).withConfig({
1686
+ var DatePickerPressable = /*#__PURE__*/styled(Pressable).withConfig({
1666
1687
  displayName: "DatePickerInputs__DatePickerPressable",
1667
1688
  componentId: "kitt-universal__sc-j9hin5-1"
1668
1689
  })(["display:flex;flex-direction:row;", ";"], function (_ref3) {
@@ -1702,14 +1723,14 @@ function DatePickerInputs(_ref4) {
1702
1723
  onPress: handleModalOpen,
1703
1724
  children: [/*#__PURE__*/jsx(PartContainer, {
1704
1725
  $isStretch: stretch,
1705
- children: /*#__PURE__*/jsx(DatePickerInputPart, _objectSpread$g(_objectSpread$g({}, sharedPartProps), {}, {
1726
+ children: /*#__PURE__*/jsx(DatePickerInputPart, _objectSpread(_objectSpread({}, sharedPartProps), {}, {
1706
1727
  partName: "day",
1707
1728
  value: currentValue ? prefixWithZero(currentValue.getDate()) : undefined,
1708
1729
  placeholder: placeholder === null || placeholder === void 0 ? void 0 : placeholder.day
1709
1730
  }))
1710
1731
  }), /*#__PURE__*/jsx(PartContainer, {
1711
1732
  $isStretch: stretch,
1712
- children: /*#__PURE__*/jsx(DatePickerInputPart, _objectSpread$g(_objectSpread$g({}, sharedPartProps), {}, {
1733
+ children: /*#__PURE__*/jsx(DatePickerInputPart, _objectSpread(_objectSpread({}, sharedPartProps), {}, {
1713
1734
  partName: "month",
1714
1735
  value: currentValue ? prefixWithZero(currentValue.getMonth() + 1) : undefined,
1715
1736
  placeholder: placeholder === null || placeholder === void 0 ? void 0 : placeholder.month
@@ -1717,7 +1738,7 @@ function DatePickerInputs(_ref4) {
1717
1738
  }), /*#__PURE__*/jsx(PartContainer, {
1718
1739
  $isLast: true,
1719
1740
  $isStretch: stretch,
1720
- children: /*#__PURE__*/jsx(DatePickerInputPart, _objectSpread$g(_objectSpread$g({}, sharedPartProps), {}, {
1741
+ children: /*#__PURE__*/jsx(DatePickerInputPart, _objectSpread(_objectSpread({}, sharedPartProps), {}, {
1721
1742
  partName: "year",
1722
1743
  value: currentValue ? currentValue.getFullYear() : undefined,
1723
1744
  placeholder: placeholder === null || placeholder === void 0 ? void 0 : placeholder.year
@@ -1727,24 +1748,20 @@ function DatePickerInputs(_ref4) {
1727
1748
  }
1728
1749
 
1729
1750
  var _excluded$a = ["value"];
1730
-
1731
- function ownKeys$f(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1732
-
1733
- function _objectSpread$f(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$f(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$f(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1734
1751
  // This is not yet implemented
1735
1752
  // We still display the inputs for chromatic
1736
1753
  function DatePicker(_ref) {
1737
1754
  var value = _ref.value,
1738
1755
  props = _objectWithoutProperties(_ref, _excluded$a);
1739
1756
 
1740
- return /*#__PURE__*/jsx(DatePickerInputs, _objectSpread$f({
1757
+ return /*#__PURE__*/jsx(DatePickerInputs, _objectSpread({
1741
1758
  handleModalOpen: function handleModalOpen() {},
1742
1759
  currentValue: value,
1743
1760
  isFocused: false
1744
1761
  }, props));
1745
1762
  }
1746
1763
 
1747
- var InputTextContainer = withTheme( /*#__PURE__*/styled("div")({
1764
+ var InputTextContainer = withTheme( /*#__PURE__*/styled$1("div")({
1748
1765
  name: "InputTextContainer",
1749
1766
  "class": "kitt-u_InputTextContainer_i1encr9g",
1750
1767
  vars: {
@@ -1776,11 +1793,7 @@ var InputTextContainer = withTheme( /*#__PURE__*/styled("div")({
1776
1793
  }));
1777
1794
 
1778
1795
  var _excluded$9 = ["id", "right", "minHeight", "state", "internalForceState", "disabled", "autoCorrect", "textContentType", "autoCompleteType", "keyboardType", "onFocus", "onBlur"];
1779
-
1780
- function ownKeys$e(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1781
-
1782
- function _objectSpread$e(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$e(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$e(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1783
- var StyledTextInput = /*#__PURE__*/styled$1(TextInput).withConfig({
1796
+ var StyledTextInput = /*#__PURE__*/styled(TextInput).withConfig({
1784
1797
  displayName: "InputText__StyledTextInput",
1785
1798
  componentId: "kitt-universal__sc-uke279-0"
1786
1799
  })(["", " padding:", ";line-height:", ";width:100%;min-height:", "px;"], styledTextInputMixin, function (_ref) {
@@ -1802,7 +1815,7 @@ var StyledTextInput = /*#__PURE__*/styled$1(TextInput).withConfig({
1802
1815
  var $minHeight = _ref3.$minHeight;
1803
1816
  return $minHeight;
1804
1817
  });
1805
- var RightInputContainer = /*#__PURE__*/styled$1(View).withConfig({
1818
+ var RightInputContainer = /*#__PURE__*/styled(View).withConfig({
1806
1819
  displayName: "InputText__RightInputContainer",
1807
1820
  componentId: "kitt-universal__sc-uke279-1"
1808
1821
  })(["position:absolute;right:0;top:0;bottom:0;justify-content:center;padding:10px;"]);
@@ -1841,7 +1854,7 @@ var InputText = /*#__PURE__*/forwardRef(function (_ref4, ref) {
1841
1854
  });
1842
1855
  return /*#__PURE__*/jsxs(InputTextContainer, {
1843
1856
  $isDisabled: disabled,
1844
- children: [/*#__PURE__*/jsx(StyledTextInput, _objectSpread$e(_objectSpread$e({
1857
+ children: [/*#__PURE__*/jsx(StyledTextInput, _objectSpread(_objectSpread({
1845
1858
  ref: ref,
1846
1859
  nativeID: id,
1847
1860
  editable: !disabled,
@@ -1868,11 +1881,8 @@ var InputText = /*#__PURE__*/forwardRef(function (_ref4, ref) {
1868
1881
  });
1869
1882
  });
1870
1883
 
1871
- function ownKeys$d(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1872
-
1873
- function _objectSpread$d(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$d(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$d(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1874
1884
  function InputEmail(props) {
1875
- return /*#__PURE__*/jsx(InputText, _objectSpread$d({
1885
+ return /*#__PURE__*/jsx(InputText, _objectSpread({
1876
1886
  autoCompleteType: "email",
1877
1887
  keyboardType: "email-address",
1878
1888
  textContentType: "emailAddress",
@@ -1903,11 +1913,11 @@ function InputFeedback(_ref) {
1903
1913
  });
1904
1914
  }
1905
1915
 
1906
- var FieldContainer = /*#__PURE__*/styled$1(View).withConfig({
1916
+ var FieldContainer = /*#__PURE__*/styled(View).withConfig({
1907
1917
  displayName: "InputField__FieldContainer",
1908
1918
  componentId: "kitt-universal__sc-13fkixs-0"
1909
1919
  })(["padding:5px 0 10px;"]);
1910
- var FeedbackContainer = /*#__PURE__*/styled$1(View).withConfig({
1920
+ var FeedbackContainer = /*#__PURE__*/styled(View).withConfig({
1911
1921
  displayName: "InputField__FeedbackContainer",
1912
1922
  componentId: "kitt-universal__sc-13fkixs-1"
1913
1923
  })(["", ";"], function (_ref) {
@@ -1916,14 +1926,14 @@ var FeedbackContainer = /*#__PURE__*/styled$1(View).withConfig({
1916
1926
  minWidth: KittBreakpoints.SMALL
1917
1927
  }, 'padding-top: 10px', 'padding-top: 5px');
1918
1928
  });
1919
- var FieldLabelContainer = /*#__PURE__*/styled$1(View).withConfig({
1929
+ var FieldLabelContainer = /*#__PURE__*/styled(View).withConfig({
1920
1930
  displayName: "InputField__FieldLabelContainer",
1921
1931
  componentId: "kitt-universal__sc-13fkixs-2"
1922
1932
  })(["flex-direction:row;align-items:center;padding-bottom:", "px;"], function (_ref2) {
1923
1933
  var theme = _ref2.theme;
1924
1934
  return theme.kitt.forms.inputField.labelContainerPaddingBottom;
1925
1935
  });
1926
- var LabelContainer = /*#__PURE__*/styled$1(View).withConfig({
1936
+ var LabelContainer = /*#__PURE__*/styled(View).withConfig({
1927
1937
  displayName: "InputField__LabelContainer",
1928
1938
  componentId: "kitt-universal__sc-13fkixs-3"
1929
1939
  })(["margin-right:", "px;"], function (_ref3) {
@@ -1974,20 +1984,13 @@ function InputIcon(_ref) {
1974
1984
  });
1975
1985
  }
1976
1986
 
1977
- function ownKeys$c(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1978
-
1979
- function _objectSpread$c(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$c(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$c(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1980
1987
  function InputPressable(_ref) {
1981
1988
  var props = _extends({}, _ref);
1982
1989
 
1983
- return /*#__PURE__*/jsx(Pressable, _objectSpread$c({}, props));
1990
+ return /*#__PURE__*/jsx(Pressable, _objectSpread({}, props));
1984
1991
  }
1985
1992
 
1986
1993
  var _excluded$8 = ["isPasswordDefaultVisible", "right"];
1987
-
1988
- function ownKeys$b(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
1989
-
1990
- function _objectSpread$b(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$b(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$b(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
1991
1994
  function InputPassword(_ref) {
1992
1995
  var isPasswordDefaultVisible = _ref.isPasswordDefaultVisible,
1993
1996
  right = _ref.right,
@@ -1998,7 +2001,7 @@ function InputPassword(_ref) {
1998
2001
  isVisible = _useState2[0],
1999
2002
  setIsVisible = _useState2[1];
2000
2003
 
2001
- return /*#__PURE__*/jsx(InputText, _objectSpread$b(_objectSpread$b({}, props), {}, {
2004
+ return /*#__PURE__*/jsx(InputText, _objectSpread(_objectSpread({}, props), {}, {
2002
2005
  textContentType: "password",
2003
2006
  autoCompleteType: "password",
2004
2007
  autoCorrect: false,
@@ -2017,11 +2020,8 @@ function InputPassword(_ref) {
2017
2020
  }));
2018
2021
  }
2019
2022
 
2020
- function ownKeys$a(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
2021
-
2022
- function _objectSpread$a(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$a(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$a(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
2023
2023
  function InputPhone(props) {
2024
- return /*#__PURE__*/jsx(InputText, _objectSpread$a(_objectSpread$a({}, props), {}, {
2024
+ return /*#__PURE__*/jsx(InputText, _objectSpread(_objectSpread({}, props), {}, {
2025
2025
  autoCompleteType: "tel",
2026
2026
  keyboardType: "number-pad",
2027
2027
  textContentType: "telephoneNumber"
@@ -2032,7 +2032,7 @@ var getTypographyColor = function (type) {
2032
2032
  return type ? 'white' : 'black';
2033
2033
  };
2034
2034
 
2035
- var InputTagContainer = /*#__PURE__*/styled$1(View).withConfig({
2035
+ var InputTagContainer = /*#__PURE__*/styled(View).withConfig({
2036
2036
  displayName: "InputTag__InputTagContainer",
2037
2037
  componentId: "kitt-universal__sc-1511dsf-0"
2038
2038
  })(["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) {
@@ -2055,7 +2055,7 @@ var InputTagContainer = /*#__PURE__*/styled$1(View).withConfig({
2055
2055
  var theme = _ref3.theme;
2056
2056
  return theme.kitt.forms.inputTag.borderRadius;
2057
2057
  });
2058
- var IconContainer = /*#__PURE__*/styled$1(View).withConfig({
2058
+ var IconContainer = /*#__PURE__*/styled(View).withConfig({
2059
2059
  displayName: "InputTag__IconContainer",
2060
2060
  componentId: "kitt-universal__sc-1511dsf-1"
2061
2061
  })(["margin-right:", "px;"], function (_ref4) {
@@ -2096,7 +2096,7 @@ function Label(_ref) {
2096
2096
  });
2097
2097
  }
2098
2098
 
2099
- var OuterRadio = /*#__PURE__*/styled$1(View).withConfig({
2099
+ var OuterRadio = /*#__PURE__*/styled(View).withConfig({
2100
2100
  displayName: "Radio__OuterRadio",
2101
2101
  componentId: "kitt-universal__sc-1mdgr2o-0"
2102
2102
  })(["background-color:", ";width:", "px;height:", "px;border-radius:", "px;border-width:", "px;border-color:", ";"], function (_ref) {
@@ -2120,7 +2120,7 @@ var OuterRadio = /*#__PURE__*/styled$1(View).withConfig({
2120
2120
  disabled = _ref6.disabled;
2121
2121
  return theme.kitt.forms.radio[disabled ? 'disabled' : 'unchecked'].borderColor;
2122
2122
  });
2123
- var SelectedOuterRadio = /*#__PURE__*/styled$1(View).withConfig({
2123
+ var SelectedOuterRadio = /*#__PURE__*/styled(View).withConfig({
2124
2124
  displayName: "Radio__SelectedOuterRadio",
2125
2125
  componentId: "kitt-universal__sc-1mdgr2o-1"
2126
2126
  })(["background-color:", ";width:", "px;height:", "px;border-radius:", "px;justify-content:center;align-items:center;"], function (_ref7) {
@@ -2136,7 +2136,7 @@ var SelectedOuterRadio = /*#__PURE__*/styled$1(View).withConfig({
2136
2136
  var theme = _ref10.theme;
2137
2137
  return theme.kitt.forms.radio.size / 2;
2138
2138
  });
2139
- var SelectedInnerRadio = /*#__PURE__*/styled$1(View).withConfig({
2139
+ var SelectedInnerRadio = /*#__PURE__*/styled(View).withConfig({
2140
2140
  displayName: "Radio__SelectedInnerRadio",
2141
2141
  componentId: "kitt-universal__sc-1mdgr2o-2"
2142
2142
  })(["background-color:", ";width:", "px;height:", "px;border-radius:", "px;"], function (_ref11) {
@@ -2152,11 +2152,11 @@ var SelectedInnerRadio = /*#__PURE__*/styled$1(View).withConfig({
2152
2152
  var theme = _ref14.theme;
2153
2153
  return theme.kitt.forms.radio.checked.innerSize / 2;
2154
2154
  });
2155
- var Container$2 = /*#__PURE__*/styled$1(Pressable).withConfig({
2155
+ var Container$2 = /*#__PURE__*/styled(Pressable).withConfig({
2156
2156
  displayName: "Radio__Container",
2157
2157
  componentId: "kitt-universal__sc-1mdgr2o-3"
2158
2158
  })(["flex-direction:row;align-items:center;"]);
2159
- var Text = /*#__PURE__*/styled$1(Typography.Text).withConfig({
2159
+ var Text = /*#__PURE__*/styled(Typography.Text).withConfig({
2160
2160
  displayName: "Radio__Text",
2161
2161
  componentId: "kitt-universal__sc-1mdgr2o-4"
2162
2162
  })(["margin-left:", "px;"], function (_ref15) {
@@ -2192,21 +2192,18 @@ function Radio(_ref16) {
2192
2192
  });
2193
2193
  }
2194
2194
 
2195
- function ownKeys$9(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
2196
-
2197
- function _objectSpread$9(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$9(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$9(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
2198
2195
  function TextArea(_ref) {
2199
2196
  var props = _extends({}, _ref);
2200
2197
 
2201
2198
  var theme = /*#__PURE__*/useTheme();
2202
- return /*#__PURE__*/jsx(InputText, _objectSpread$9({
2199
+ return /*#__PURE__*/jsx(InputText, _objectSpread({
2203
2200
  multiline: true,
2204
2201
  textAlignVertical: "top",
2205
2202
  minHeight: theme.kitt.forms.textArea.minHeight
2206
2203
  }, props));
2207
2204
  }
2208
2205
 
2209
- var Body = /*#__PURE__*/styled$1(View).withConfig({
2206
+ var Body = /*#__PURE__*/styled(View).withConfig({
2210
2207
  displayName: "Body",
2211
2208
  componentId: "kitt-universal__sc-1ofncfn-0"
2212
2209
  })(["", " background-color:", ";flex:1;"], function (_ref) {
@@ -2225,7 +2222,7 @@ function FullScreenModalBody(_ref3) {
2225
2222
  });
2226
2223
  }
2227
2224
 
2228
- var SideContainer = /*#__PURE__*/styled$1(View).withConfig({
2225
+ var SideContainer = /*#__PURE__*/styled(View).withConfig({
2229
2226
  displayName: "Header__SideContainer",
2230
2227
  componentId: "kitt-universal__sc-dfmxi1-0"
2231
2228
  })(["", ""], function (_ref) {
@@ -2245,7 +2242,7 @@ function getHeaderHorizontalMediumPadding(spacing) {
2245
2242
  return spacing * 6;
2246
2243
  }
2247
2244
 
2248
- var Header = /*#__PURE__*/styled$1(View).withConfig({
2245
+ var Header = /*#__PURE__*/styled(View).withConfig({
2249
2246
  displayName: "Header",
2250
2247
  componentId: "kitt-universal__sc-dfmxi1-1"
2251
2248
  })(["", ";border-bottom-color:", ";border-bottom-width:1px;flex-direction:row;align-items:center;"], function (_ref2) {
@@ -2263,7 +2260,7 @@ var Header = /*#__PURE__*/styled$1(View).withConfig({
2263
2260
  var theme = _ref3.theme;
2264
2261
  return theme.kitt.fullScreenModal.header.borderColor;
2265
2262
  });
2266
- var HeaderContent = /*#__PURE__*/styled$1(View).withConfig({
2263
+ var HeaderContent = /*#__PURE__*/styled(View).withConfig({
2267
2264
  displayName: "Header__HeaderContent",
2268
2265
  componentId: "kitt-universal__sc-dfmxi1-2"
2269
2266
  })(["", ";", ";justify-content:center;align-items:center;"], function (_ref4) {
@@ -2353,7 +2350,7 @@ function FullScreenModalHeader(_ref6) {
2353
2350
  });
2354
2351
  }
2355
2352
 
2356
- var Container$1 = /*#__PURE__*/styled$1(View).withConfig({
2353
+ var Container$1 = /*#__PURE__*/styled(View).withConfig({
2357
2354
  displayName: "FullScreenModal__Container",
2358
2355
  componentId: "kitt-universal__sc-11qpbe3-0"
2359
2356
  })(["flex:1;background-color:", ";"], function (_ref) {
@@ -2369,28 +2366,35 @@ function FullScreenModal(_ref2) {
2369
2366
  FullScreenModal.Header = FullScreenModalHeader;
2370
2367
  FullScreenModal.Body = FullScreenModalBody;
2371
2368
 
2372
- var _excluded$7 = ["as", "children"];
2373
-
2374
- function ownKeys$8(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
2369
+ var StyledSpinningIconContainer = withTheme( /*#__PURE__*/styled$1("div")({
2370
+ name: "StyledSpinningIconContainer",
2371
+ "class": "kitt-u_StyledSpinningIconContainer_ssn8o83"
2372
+ }));
2373
+ function SpinningIcon(_ref) {
2374
+ var icon = _ref.icon,
2375
+ color = _ref.color;
2376
+ var clonedIcon = /*#__PURE__*/cloneElement(icon, {
2377
+ color: color
2378
+ });
2379
+ return /*#__PURE__*/jsx(StyledSpinningIconContainer, {
2380
+ children: clonedIcon
2381
+ });
2382
+ }
2375
2383
 
2376
- function _objectSpread$8(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$8(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$8(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
2384
+ var _excluded$7 = ["as", "children"];
2377
2385
  function StyleWebWrapper(_ref) {
2378
2386
  var as = _ref.as,
2379
2387
  children = _ref.children,
2380
2388
  props = _objectWithoutProperties(_ref, _excluded$7);
2381
2389
 
2382
2390
  // as or default to div. If as is undefined, T is div but typescript is not sure
2383
- return /*#__PURE__*/jsx(as || 'div', _objectSpread$8(_objectSpread$8({}, props), {}, {
2391
+ return /*#__PURE__*/jsx(as || 'div', _objectSpread(_objectSpread({}, props), {}, {
2384
2392
  children: children
2385
2393
  }));
2386
2394
  }
2387
2395
 
2388
2396
  var _excluded$6 = ["color", "disabled"];
2389
-
2390
- function ownKeys$7(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
2391
-
2392
- function _objectSpread$7(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$7(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$7(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
2393
- var PressableIconButtonWebWrapper = withTheme( /*#__PURE__*/styled("div")({
2397
+ var PressableIconButtonWebWrapper = withTheme( /*#__PURE__*/styled$1("div")({
2394
2398
  name: "PressableIconButtonWebWrapper",
2395
2399
  "class": "kitt-u_PressableIconButtonWebWrapper_p1nlccvg",
2396
2400
  vars: {
@@ -2422,7 +2426,7 @@ var PressableIconButtonWebWrapper = withTheme( /*#__PURE__*/styled("div")({
2422
2426
  }]
2423
2427
  }
2424
2428
  }));
2425
- var StyledPressableIconButton = /*#__PURE__*/styled$1(Pressable).withConfig({
2429
+ var StyledPressableIconButton = /*#__PURE__*/styled(Pressable).withConfig({
2426
2430
  displayName: "PressableIconButton__StyledPressableIconButton",
2427
2431
  componentId: "kitt-universal__sc-1m6jo3s-0"
2428
2432
  })(["border-radius:", "px;width:", "px;height:", "px;align-items:center;justify-content:center;position:relative;background-color:transparent;", ";"], function (_ref5) {
@@ -2455,7 +2459,7 @@ function PressableIconButton(_ref9) {
2455
2459
  as: PressableIconButtonWebWrapper,
2456
2460
  $isWhite: color === 'white',
2457
2461
  $isDisabled: Boolean(disabled),
2458
- children: /*#__PURE__*/jsx(StyledPressableIconButton, _objectSpread$7(_objectSpread$7({}, props), {}, {
2462
+ children: /*#__PURE__*/jsx(StyledPressableIconButton, _objectSpread(_objectSpread({}, props), {}, {
2459
2463
  disabled: disabled
2460
2464
  }))
2461
2465
  });
@@ -2475,7 +2479,7 @@ function PressableAnimatedContainer(_ref) {
2475
2479
  });
2476
2480
  }
2477
2481
 
2478
- var IconButtonContentBorder = /*#__PURE__*/styled$1(View).withConfig({
2482
+ var IconButtonContentBorder = /*#__PURE__*/styled(View).withConfig({
2479
2483
  displayName: "IconButton__IconButtonContentBorder",
2480
2484
  componentId: "kitt-universal__sc-swelbf-0"
2481
2485
  })(["border:", ";border-color:", ";width:", "px;height:", "px;align-items:center;justify-content:center;border-radius:", "px;"], function (_ref) {
@@ -2533,11 +2537,7 @@ function IconButton(_ref7) {
2533
2537
  }
2534
2538
 
2535
2539
  var _excluded$5 = ["children"];
2536
-
2537
- function ownKeys$6(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
2538
-
2539
- function _objectSpread$6(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$6(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$6(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
2540
- var ContentView$1 = /*#__PURE__*/styled$1(View).withConfig({
2540
+ var ContentView$1 = /*#__PURE__*/styled(View).withConfig({
2541
2541
  displayName: "ListItemContent__ContentView",
2542
2542
  componentId: "kitt-universal__sc-57q0u9-0"
2543
2543
  })(["flex:1 0 0%;align-self:center;"]);
@@ -2545,18 +2545,14 @@ function ListItemContent(_ref) {
2545
2545
  var children = _ref.children,
2546
2546
  rest = _objectWithoutProperties(_ref, _excluded$5);
2547
2547
 
2548
- return /*#__PURE__*/jsx(ContentView$1, _objectSpread$6(_objectSpread$6({}, rest), {}, {
2548
+ return /*#__PURE__*/jsx(ContentView$1, _objectSpread(_objectSpread({}, rest), {}, {
2549
2549
  children: children
2550
2550
  }));
2551
2551
  }
2552
2552
 
2553
2553
  var _excluded$4 = ["children", "side"],
2554
2554
  _excluded2$1 = ["children", "align"];
2555
-
2556
- function ownKeys$5(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
2557
-
2558
- function _objectSpread$5(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$5(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$5(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
2559
- var SideContainerView = /*#__PURE__*/styled$1(View).withConfig({
2555
+ var SideContainerView = /*#__PURE__*/styled(View).withConfig({
2560
2556
  displayName: "ListItemSideContent__SideContainerView",
2561
2557
  componentId: "kitt-universal__sc-1vajiw-0"
2562
2558
  })(["flex-direction:row;margin-left:", ";margin-right:", ";"], function (_ref) {
@@ -2575,13 +2571,13 @@ function ListItemSideContainer(_ref3) {
2575
2571
  side = _ref3$side === void 0 ? 'left' : _ref3$side,
2576
2572
  rest = _objectWithoutProperties(_ref3, _excluded$4);
2577
2573
 
2578
- return /*#__PURE__*/jsx(SideContainerView, _objectSpread$5(_objectSpread$5({
2574
+ return /*#__PURE__*/jsx(SideContainerView, _objectSpread(_objectSpread({
2579
2575
  side: side
2580
2576
  }, rest), {}, {
2581
2577
  children: children
2582
2578
  }));
2583
2579
  }
2584
- var SideContentView = /*#__PURE__*/styled$1(View).withConfig({
2580
+ var SideContentView = /*#__PURE__*/styled(View).withConfig({
2585
2581
  displayName: "ListItemSideContent__SideContentView",
2586
2582
  componentId: "kitt-universal__sc-1vajiw-1"
2587
2583
  })(["align-self:", ";"], function (_ref4) {
@@ -2594,7 +2590,7 @@ function ListItemSideContent(_ref5) {
2594
2590
  align = _ref5$align === void 0 ? 'auto' : _ref5$align,
2595
2591
  rest = _objectWithoutProperties(_ref5, _excluded2$1);
2596
2592
 
2597
- return /*#__PURE__*/jsx(SideContentView, _objectSpread$5(_objectSpread$5({
2593
+ return /*#__PURE__*/jsx(SideContentView, _objectSpread(_objectSpread({
2598
2594
  align: align
2599
2595
  }, rest), {}, {
2600
2596
  children: children
@@ -2602,11 +2598,7 @@ function ListItemSideContent(_ref5) {
2602
2598
  }
2603
2599
 
2604
2600
  var _excluded$3 = ["children", "withPadding", "borders", "left", "right", "onPress"];
2605
-
2606
- function ownKeys$4(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
2607
-
2608
- function _objectSpread$4(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$4(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$4(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
2609
- var ContainerView = /*#__PURE__*/styled$1(View).withConfig({
2601
+ var ContainerView = /*#__PURE__*/styled(View).withConfig({
2610
2602
  displayName: "ListItem__ContainerView",
2611
2603
  componentId: "kitt-universal__sc-2afp9s-0"
2612
2604
  })(["flex-direction:row;padding:", ";", ";border-color:", ";background-color:", ";"], function (_ref) {
@@ -2648,13 +2640,13 @@ function ListItem(_ref5) {
2648
2640
  rest = _objectWithoutProperties(_ref5, _excluded$3);
2649
2641
 
2650
2642
  var Wrapper = onPress ? Pressable : Fragment;
2651
- var wrapperProps = onPress ? _objectSpread$4({
2643
+ var wrapperProps = onPress ? _objectSpread({
2652
2644
  accessibilityRole: 'button',
2653
2645
  onPress: onPress
2654
2646
  }, rest) : undefined;
2655
2647
  var containerProps = onPress ? undefined : rest;
2656
- return /*#__PURE__*/jsx(Wrapper, _objectSpread$4(_objectSpread$4({}, wrapperProps), {}, {
2657
- children: /*#__PURE__*/jsxs(ContainerView, _objectSpread$4(_objectSpread$4({
2648
+ return /*#__PURE__*/jsx(Wrapper, _objectSpread(_objectSpread({}, wrapperProps), {}, {
2649
+ children: /*#__PURE__*/jsxs(ContainerView, _objectSpread(_objectSpread({
2658
2650
  withPadding: withPadding,
2659
2651
  borders: borders
2660
2652
  }, containerProps), {}, {
@@ -2674,56 +2666,11 @@ ListItem.Content = ListItemContent;
2674
2666
  ListItem.SideContent = ListItemSideContent;
2675
2667
  ListItem.SideContainer = ListItemSideContainer;
2676
2668
 
2677
- var LargeLoaderContainer = withTheme( /*#__PURE__*/styled("div")({
2678
- name: "LargeLoaderContainer",
2679
- "class": "kitt-u_LargeLoaderContainer_l2im3sa",
2680
- vars: {
2681
- "l2im3sa-0": [function (_ref) {
2682
- var theme = _ref.theme;
2683
- return theme.kitt.colors.separator;
2684
- }],
2685
- "l2im3sa-1": [function (_ref2) {
2686
- var theme = _ref2.theme;
2687
- return theme.kitt.colors.primary;
2688
- }]
2689
- }
2690
- }));
2691
- function LargeLoader() {
2692
- return /*#__PURE__*/jsx(LargeLoaderContainer, {
2693
- children: /*#__PURE__*/jsxs("svg", {
2694
- width: "60",
2695
- height: "60",
2696
- children: [/*#__PURE__*/jsx("g", {
2697
- "data-large-loader": "base",
2698
- children: /*#__PURE__*/jsx("circle", {
2699
- cx: "30",
2700
- cy: "30",
2701
- r: "27",
2702
- fill: "none"
2703
- })
2704
- }), /*#__PURE__*/jsx("g", {
2705
- "data-large-loader": "fill",
2706
- children: /*#__PURE__*/jsx("circle", {
2707
- cx: "30",
2708
- cy: "30",
2709
- r: "27",
2710
- fill: "none"
2711
- })
2712
- })]
2713
- })
2714
- });
2715
- }
2716
-
2717
- function Loader(_ref) {
2718
- var _ref$color = _ref.color,
2719
- color = _ref$color === void 0 ? 'primary' : _ref$color,
2720
- _ref$size = _ref.size,
2721
- size = _ref$size === void 0 ? 20 : _ref$size;
2722
- return /*#__PURE__*/jsx(TypographyIcon, {
2723
- spin: true,
2669
+ function LoaderIcon(_ref) {
2670
+ var color = _ref.color;
2671
+ return /*#__PURE__*/jsx(SpinningIcon, {
2724
2672
  color: color,
2725
- size: size,
2726
- icon: /*#__PURE__*/jsx(LoaderIcon, {})
2673
+ icon: /*#__PURE__*/jsx(ArcIcon, {})
2727
2674
  });
2728
2675
  }
2729
2676
 
@@ -2779,7 +2726,7 @@ var getIconButtonColor = function (messageType) {
2779
2726
  }
2780
2727
  };
2781
2728
 
2782
- var StyledMessageContainer = /*#__PURE__*/styled$1(View).withConfig({
2729
+ var StyledMessageContainer = /*#__PURE__*/styled(View).withConfig({
2783
2730
  displayName: "BaseMessage__StyledMessageContainer",
2784
2731
  componentId: "kitt-universal__sc-eepeiz-0"
2785
2732
  })(["flex-direction:row;align-items:flex-start;justify-content:space-between;min-height:60px;padding-top:", "px;border-radius:", "px;background-color:", ";"], function (_ref) {
@@ -2796,7 +2743,7 @@ var StyledMessageContainer = /*#__PURE__*/styled$1(View).withConfig({
2796
2743
  $type = _ref3.$type;
2797
2744
  return theme.kitt.feedbackMessage[$type].backgroundColor;
2798
2745
  });
2799
- var StyledDismissWrapper = /*#__PURE__*/styled$1(View).withConfig({
2746
+ var StyledDismissWrapper = /*#__PURE__*/styled(View).withConfig({
2800
2747
  displayName: "BaseMessage__StyledDismissWrapper",
2801
2748
  componentId: "kitt-universal__sc-eepeiz-1"
2802
2749
  })(["align-items:center;align-items:flex-start;margin:", ";"], function (_ref4) {
@@ -2804,7 +2751,7 @@ var StyledDismissWrapper = /*#__PURE__*/styled$1(View).withConfig({
2804
2751
  var spacing = theme.kitt.spacing;
2805
2752
  return "".concat(spacing * 2.5, "px ").concat(spacing * 2, "px 0 ").concat(spacing * 5, "px");
2806
2753
  });
2807
- var StyledIconContainer = /*#__PURE__*/styled$1(View).withConfig({
2754
+ var StyledIconContainer = /*#__PURE__*/styled(View).withConfig({
2808
2755
  displayName: "BaseMessage__StyledIconContainer",
2809
2756
  componentId: "kitt-universal__sc-eepeiz-2"
2810
2757
  })(["margin:", ";"], function (_ref5) {
@@ -2812,14 +2759,14 @@ var StyledIconContainer = /*#__PURE__*/styled$1(View).withConfig({
2812
2759
  var spacing = theme.kitt.spacing;
2813
2760
  return "".concat(spacing, "px ").concat(spacing * 5, "px 0 0");
2814
2761
  });
2815
- var StyledTextContent = /*#__PURE__*/styled$1(Typography.Text).withConfig({
2762
+ var StyledTextContent = /*#__PURE__*/styled(Typography.Text).withConfig({
2816
2763
  displayName: "BaseMessage__StyledTextContent",
2817
2764
  componentId: "kitt-universal__sc-eepeiz-3"
2818
2765
  })(["flex:1;text-align:", ";"], function (_ref6) {
2819
2766
  var $isCenteredText = _ref6.$isCenteredText;
2820
2767
  return $isCenteredText ? 'center' : 'left';
2821
2768
  });
2822
- var StyledMessageContent = /*#__PURE__*/styled$1(View).withConfig({
2769
+ var StyledMessageContent = /*#__PURE__*/styled(View).withConfig({
2823
2770
  displayName: "BaseMessage__StyledMessageContent",
2824
2771
  componentId: "kitt-universal__sc-eepeiz-4"
2825
2772
  })(["display:flex;flex-direction:row;flex-grow:1;align-self:center;align-items:flex-start;flex-shrink:1;padding:", ";"], function (_ref7) {
@@ -2883,29 +2830,27 @@ function Message(_ref) {
2883
2830
  });
2884
2831
  }
2885
2832
 
2886
- function ownKeys$3(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
2887
-
2888
- function _objectSpread$3(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$3(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$3(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
2889
2833
  // Don't use styled.Pressable here - babel-plugin-styled-components-react-native-web only supports tagged templates
2890
- var OverlayPressable = /*#__PURE__*/styled$1(Pressable).withConfig({
2834
+ var OverlayPressable = /*#__PURE__*/styled(Pressable).withConfig({
2891
2835
  displayName: "Overlay__OverlayPressable",
2892
2836
  componentId: "kitt-universal__sc-1cz1gbr-0"
2893
2837
  })(function (_ref) {
2894
2838
  var theme = _ref.theme;
2895
- return _objectSpread$3(_objectSpread$3({}, StyleSheet.absoluteFillObject), {}, {
2839
+ return _objectSpread(_objectSpread({}, StyleSheet.absoluteFillObject), {}, {
2896
2840
  backgroundColor: theme.kitt.colors.overlay.dark
2897
2841
  });
2898
2842
  });
2899
2843
  function Overlay(_ref2) {
2900
- var onPress = _ref2.onPress;
2844
+ var onPress = _ref2.onPress,
2845
+ children = _ref2.children;
2901
2846
  return /*#__PURE__*/jsx(OverlayPressable, {
2902
2847
  accessibilityRole: "none",
2903
2848
  onPress: onPress,
2904
- children: /*#__PURE__*/jsx(View, {})
2849
+ children: children
2905
2850
  });
2906
2851
  }
2907
2852
 
2908
- var BodyView = /*#__PURE__*/styled$1(View).withConfig({
2853
+ var BodyView = /*#__PURE__*/styled(View).withConfig({
2909
2854
  displayName: "Body__BodyView",
2910
2855
  componentId: "kitt-universal__sc-17fwpo4-0"
2911
2856
  })(["padding:", "px ", "px;"], function (_ref) {
@@ -2924,7 +2869,7 @@ function ModalBody(_ref3) {
2924
2869
  });
2925
2870
  }
2926
2871
 
2927
- var FooterView = /*#__PURE__*/styled$1(View).withConfig({
2872
+ var FooterView = /*#__PURE__*/styled(View).withConfig({
2928
2873
  displayName: "Footer__FooterView",
2929
2874
  componentId: "kitt-universal__sc-1ujq2dc-0"
2930
2875
  })(["flex:0 0 auto;padding:", "px;border-top-width:1px;border-top-color:", ";"], function (_ref) {
@@ -2943,7 +2888,7 @@ function ModalFooter(_ref3) {
2943
2888
 
2944
2889
  var OnCloseContext = /*#__PURE__*/createContext(function () {});
2945
2890
 
2946
- var HeaderView = /*#__PURE__*/styled$1(View).withConfig({
2891
+ var HeaderView = /*#__PURE__*/styled(View).withConfig({
2947
2892
  displayName: "Header__HeaderView",
2948
2893
  componentId: "kitt-universal__sc-1iwabch-0"
2949
2894
  })(["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) {
@@ -2953,21 +2898,21 @@ var HeaderView = /*#__PURE__*/styled$1(View).withConfig({
2953
2898
  var theme = _ref2.theme;
2954
2899
  return theme.kitt.colors.separator;
2955
2900
  });
2956
- var LeftIconView = /*#__PURE__*/styled$1(View).withConfig({
2901
+ var LeftIconView = /*#__PURE__*/styled(View).withConfig({
2957
2902
  displayName: "Header__LeftIconView",
2958
2903
  componentId: "kitt-universal__sc-1iwabch-1"
2959
2904
  })(["align-self:flex-start;margin-right:", "px;"], function (_ref3) {
2960
2905
  var theme = _ref3.theme;
2961
2906
  return theme.kitt.spacing * 2;
2962
2907
  });
2963
- var RightIconView = /*#__PURE__*/styled$1(View).withConfig({
2908
+ var RightIconView = /*#__PURE__*/styled(View).withConfig({
2964
2909
  displayName: "Header__RightIconView",
2965
2910
  componentId: "kitt-universal__sc-1iwabch-2"
2966
2911
  })(["align-self:flex-start;margin-left:", "px;"], function (_ref4) {
2967
2912
  var theme = _ref4.theme;
2968
2913
  return theme.kitt.spacing * 2;
2969
2914
  });
2970
- var TitleView = /*#__PURE__*/styled$1(View).withConfig({
2915
+ var TitleView = /*#__PURE__*/styled(View).withConfig({
2971
2916
  displayName: "Header__TitleView",
2972
2917
  componentId: "kitt-universal__sc-1iwabch-3"
2973
2918
  })(["padding-left:", "px;flex-shrink:1;"], function (_ref5) {
@@ -2996,7 +2941,7 @@ function ModalHeader(_ref6) {
2996
2941
  });
2997
2942
  }
2998
2943
 
2999
- var ModalView = /*#__PURE__*/styled$1(View).withConfig({
2944
+ var ModalView = /*#__PURE__*/styled(View).withConfig({
3000
2945
  displayName: "Modal__ModalView",
3001
2946
  componentId: "kitt-universal__sc-1xy2w5u-0"
3002
2947
  })(["top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;padding:", "px ", "px;"], function (_ref) {
@@ -3006,7 +2951,7 @@ var ModalView = /*#__PURE__*/styled$1(View).withConfig({
3006
2951
  var theme = _ref2.theme;
3007
2952
  return theme.kitt.spacing * 4;
3008
2953
  });
3009
- var ContentView = /*#__PURE__*/styled$1(View).withConfig({
2954
+ var ContentView = /*#__PURE__*/styled(View).withConfig({
3010
2955
  displayName: "Modal__ContentView",
3011
2956
  componentId: "kitt-universal__sc-1xy2w5u-1"
3012
2957
  })(["position:relative;display:flex;flex-direction:column;max-height:100%;max-width:540px;height:auto;width:100%;border-radius:", "px;background-color:", ";"], function (_ref3) {
@@ -3069,7 +3014,49 @@ function Notification(_ref) {
3069
3014
  });
3070
3015
  }
3071
3016
 
3072
- var StyledSkeleton = withTheme( /*#__PURE__*/styled("div")({
3017
+ var PageLoaderContainer = withTheme( /*#__PURE__*/styled$1("div")({
3018
+ name: "PageLoaderContainer",
3019
+ "class": "kitt-u_PageLoaderContainer_ptkwz2j",
3020
+ vars: {
3021
+ "ptkwz2j-0": [function (_ref) {
3022
+ var theme = _ref.theme;
3023
+ return theme.kitt.colors.separator;
3024
+ }],
3025
+ "ptkwz2j-1": [function (_ref2) {
3026
+ var theme = _ref2.theme;
3027
+ return theme.kitt.colors.primary;
3028
+ }]
3029
+ }
3030
+ }));
3031
+ function PageLoader() {
3032
+ var theme = /*#__PURE__*/useTheme();
3033
+ var size = theme.kitt.pageLoader.size;
3034
+ return /*#__PURE__*/jsx(PageLoaderContainer, {
3035
+ children: /*#__PURE__*/jsxs("svg", {
3036
+ width: size,
3037
+ height: size,
3038
+ children: [/*#__PURE__*/jsx("g", {
3039
+ "data-large-loader": "base",
3040
+ children: /*#__PURE__*/jsx("circle", {
3041
+ cx: "30",
3042
+ cy: "30",
3043
+ r: "27",
3044
+ fill: "none"
3045
+ })
3046
+ }), /*#__PURE__*/jsx("g", {
3047
+ "data-large-loader": "fill",
3048
+ children: /*#__PURE__*/jsx("circle", {
3049
+ cx: "30",
3050
+ cy: "30",
3051
+ r: "27",
3052
+ fill: "none"
3053
+ })
3054
+ })]
3055
+ })
3056
+ });
3057
+ }
3058
+
3059
+ var StyledSkeleton = withTheme( /*#__PURE__*/styled$1("div")({
3073
3060
  name: "StyledSkeleton",
3074
3061
  "class": "kitt-u_StyledSkeleton_sc3upcl",
3075
3062
  vars: {
@@ -3095,7 +3082,7 @@ function SkeletonContent(_ref4) {
3095
3082
  });
3096
3083
  }
3097
3084
 
3098
- var SkeletonContainer = /*#__PURE__*/styled$1(View).withConfig({
3085
+ var SkeletonContainer = /*#__PURE__*/styled(View).withConfig({
3099
3086
  displayName: "Skeleton__SkeletonContainer",
3100
3087
  componentId: "kitt-universal__sc-1w5cm3i-0"
3101
3088
  })(["overflow:hidden;"]);
@@ -3120,7 +3107,7 @@ function Skeleton(_ref) {
3120
3107
  })
3121
3108
  });
3122
3109
  }
3123
- var Bar = /*#__PURE__*/styled$1(Skeleton).withConfig({
3110
+ var Bar = /*#__PURE__*/styled(Skeleton).withConfig({
3124
3111
  displayName: "Skeleton__Bar",
3125
3112
  componentId: "kitt-universal__sc-1w5cm3i-1"
3126
3113
  })(["width:100%;height:", "px;border-radius:", "px;"], function (_ref3) {
@@ -3130,7 +3117,7 @@ var Bar = /*#__PURE__*/styled$1(Skeleton).withConfig({
3130
3117
  var theme = _ref4.theme;
3131
3118
  return theme.kitt.spacing * 2;
3132
3119
  });
3133
- var Circle = /*#__PURE__*/styled$1(Skeleton).withConfig({
3120
+ var Circle = /*#__PURE__*/styled(Skeleton).withConfig({
3134
3121
  displayName: "Skeleton__Circle",
3135
3122
  componentId: "kitt-universal__sc-1w5cm3i-2"
3136
3123
  })(["width:", "px;height:", "px;border-radius:", "px;"], function (_ref5) {
@@ -3143,7 +3130,7 @@ var Circle = /*#__PURE__*/styled$1(Skeleton).withConfig({
3143
3130
  var theme = _ref7.theme;
3144
3131
  return theme.kitt.spacing * 6;
3145
3132
  });
3146
- var Square = /*#__PURE__*/styled$1(Skeleton).withConfig({
3133
+ var Square = /*#__PURE__*/styled(Skeleton).withConfig({
3147
3134
  displayName: "Skeleton__Square",
3148
3135
  componentId: "kitt-universal__sc-1w5cm3i-3"
3149
3136
  })(["width:", "px;height:", "px;border-radius:", "px;"], function (_ref8) {
@@ -3160,7 +3147,7 @@ Skeleton.Bar = Bar;
3160
3147
  Skeleton.Circle = Circle;
3161
3148
  Skeleton.Square = Square;
3162
3149
 
3163
- var Flex = /*#__PURE__*/styled$1(View).withConfig({
3150
+ var Flex = /*#__PURE__*/styled(View).withConfig({
3164
3151
  shouldForwardProp: function shouldForwardProp(prop, defaultValidatorFn) {
3165
3152
  return !['direction', 'padding'].includes(prop) && defaultValidatorFn(prop);
3166
3153
  }
@@ -3217,7 +3204,7 @@ var useStoryBlockColor = function (color) {
3217
3204
  var storyBlockColor = useContext(StoryBlockColorContext);
3218
3205
  return color || storyBlockColor;
3219
3206
  };
3220
- var StyledStoryBlockView = /*#__PURE__*/styled$1(View).withConfig({
3207
+ var StyledStoryBlockView = /*#__PURE__*/styled(View).withConfig({
3221
3208
  displayName: "StoryBlock__StyledStoryBlockView",
3222
3209
  componentId: "kitt-universal__sc-3w4hdm-0"
3223
3210
  })(["padding:16px ", "px 0;margin:0 -", "px;background:", ";"], storyPadding, storyPadding, function (_ref) {
@@ -3240,11 +3227,11 @@ function StoryBlock(_ref2) {
3240
3227
  });
3241
3228
  }
3242
3229
 
3243
- var StoryTitleContainer = /*#__PURE__*/styled$1(View).withConfig({
3230
+ var StoryTitleContainer = /*#__PURE__*/styled(View).withConfig({
3244
3231
  displayName: "StoryTitle__StoryTitleContainer",
3245
3232
  componentId: "kitt-universal__sc-sic7hb-0"
3246
3233
  })(["margin-bottom:30px;"]);
3247
- var StorySubTitleContainer = /*#__PURE__*/styled$1(View).withConfig({
3234
+ var StorySubTitleContainer = /*#__PURE__*/styled(View).withConfig({
3248
3235
  displayName: "StoryTitle__StorySubTitleContainer",
3249
3236
  componentId: "kitt-universal__sc-sic7hb-1"
3250
3237
  })(["margin-bottom:10px;"]);
@@ -3319,7 +3306,7 @@ StoryTitle.Level2 = StoryTitleLevel2;
3319
3306
  StoryTitle.Level3 = StoryTitleLevel3;
3320
3307
  StoryTitle.Level4 = StoryTitleLevel4;
3321
3308
 
3322
- var StoryContainer$1 = /*#__PURE__*/styled$1(ScrollView).withConfig({
3309
+ var StoryContainer$1 = /*#__PURE__*/styled(ScrollView).withConfig({
3323
3310
  displayName: "Story__StoryContainer",
3324
3311
  componentId: "kitt-universal__sc-1kwdg2p-0"
3325
3312
  })(["padding:", "px;"], storyPadding);
@@ -3338,11 +3325,7 @@ function Story(_ref) {
3338
3325
  var _excluded$2 = ["title", "children", "internalIsDemoSection"],
3339
3326
  _excluded2 = ["title", "children"],
3340
3327
  _excluded3 = ["title", "children"];
3341
-
3342
- function ownKeys$2(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3343
-
3344
- function _objectSpread$2(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$2(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$2(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3345
- var StyledSection = /*#__PURE__*/styled$1(View).withConfig({
3328
+ var StyledSection = /*#__PURE__*/styled(View).withConfig({
3346
3329
  displayName: "StorySection__StyledSection",
3347
3330
  componentId: "kitt-universal__sc-1b3liv5-0"
3348
3331
  })(["margin-bottom:32px;"]);
@@ -3353,13 +3336,13 @@ function StorySection(_ref) {
3353
3336
  props = _objectWithoutProperties(_ref, _excluded$2);
3354
3337
 
3355
3338
  if (title === 'Demo' && !internalIsDemoSection) throw new Error('Use StorySection.Demo instead');
3356
- return /*#__PURE__*/jsxs(StyledSection, _objectSpread$2(_objectSpread$2({}, props), {}, {
3339
+ return /*#__PURE__*/jsxs(StyledSection, _objectSpread(_objectSpread({}, props), {}, {
3357
3340
  children: [/*#__PURE__*/jsx(StoryTitle.Level2, {
3358
3341
  children: title
3359
3342
  }), children]
3360
3343
  }));
3361
3344
  }
3362
- var StyledSubSection = /*#__PURE__*/styled$1(View).withConfig({
3345
+ var StyledSubSection = /*#__PURE__*/styled(View).withConfig({
3363
3346
  displayName: "StorySection__StyledSubSection",
3364
3347
  componentId: "kitt-universal__sc-1b3liv5-1"
3365
3348
  })(["margin-bottom:16px;"]);
@@ -3369,14 +3352,14 @@ function SubSection(_ref2) {
3369
3352
  children = _ref2.children,
3370
3353
  props = _objectWithoutProperties(_ref2, _excluded2);
3371
3354
 
3372
- return /*#__PURE__*/jsxs(StyledSubSection, _objectSpread$2(_objectSpread$2({}, props), {}, {
3355
+ return /*#__PURE__*/jsxs(StyledSubSection, _objectSpread(_objectSpread({}, props), {}, {
3373
3356
  children: [/*#__PURE__*/jsx(StoryTitle.Level3, {
3374
3357
  children: title
3375
3358
  }), children]
3376
3359
  }));
3377
3360
  }
3378
3361
 
3379
- var StyledBlockSection = /*#__PURE__*/styled$1(View).withConfig({
3362
+ var StyledBlockSection = /*#__PURE__*/styled(View).withConfig({
3380
3363
  displayName: "StorySection__StyledBlockSection",
3381
3364
  componentId: "kitt-universal__sc-1b3liv5-2"
3382
3365
  })(["margin-bottom:16px;"]);
@@ -3386,14 +3369,14 @@ function BlockSection(_ref3) {
3386
3369
  children = _ref3.children,
3387
3370
  props = _objectWithoutProperties(_ref3, _excluded3);
3388
3371
 
3389
- return /*#__PURE__*/jsxs(StyledBlockSection, _objectSpread$2(_objectSpread$2({}, props), {}, {
3372
+ return /*#__PURE__*/jsxs(StyledBlockSection, _objectSpread(_objectSpread({}, props), {}, {
3390
3373
  children: [/*#__PURE__*/jsx(StoryTitle.Level4, {
3391
3374
  children: title
3392
3375
  }), children]
3393
3376
  }));
3394
3377
  }
3395
3378
 
3396
- var StyledDemoSection = /*#__PURE__*/styled$1(View).withConfig({
3379
+ var StyledDemoSection = /*#__PURE__*/styled(View).withConfig({
3397
3380
  displayName: "StorySection__StyledDemoSection",
3398
3381
  componentId: "kitt-universal__sc-1b3liv5-3"
3399
3382
  })(["margin-bottom:64px;"]);
@@ -3442,19 +3425,19 @@ function StoryDecorator(storyFn, context) {
3442
3425
  });
3443
3426
  }
3444
3427
 
3445
- var SmallScreenRow = /*#__PURE__*/styled$1(View).withConfig({
3428
+ var SmallScreenRow = /*#__PURE__*/styled(View).withConfig({
3446
3429
  displayName: "StoryGrid__SmallScreenRow",
3447
3430
  componentId: "kitt-universal__sc-4z5new-0"
3448
3431
  })(["flex-direction:column;margin:0;"]);
3449
- var SmallScreenCol = /*#__PURE__*/styled$1(View).withConfig({
3432
+ var SmallScreenCol = /*#__PURE__*/styled(View).withConfig({
3450
3433
  displayName: "StoryGrid__SmallScreenCol",
3451
3434
  componentId: "kitt-universal__sc-4z5new-1"
3452
3435
  })(["padding:8px 0 16px;"]);
3453
- var FlexRow = /*#__PURE__*/styled$1(View).withConfig({
3436
+ var FlexRow = /*#__PURE__*/styled(View).withConfig({
3454
3437
  displayName: "StoryGrid__FlexRow",
3455
3438
  componentId: "kitt-universal__sc-4z5new-2"
3456
3439
  })(["flex-direction:row;margin:0 -4px 16px;"]);
3457
- var FlexCol = /*#__PURE__*/styled$1(View).withConfig({
3440
+ var FlexCol = /*#__PURE__*/styled(View).withConfig({
3458
3441
  displayName: "StoryGrid__FlexCol",
3459
3442
  componentId: "kitt-universal__sc-4z5new-3"
3460
3443
  })(["flex-grow:1;flex-basis:0;margin:0 8px;"]);
@@ -3515,7 +3498,7 @@ var StoryGrid = {
3515
3498
  Col: StoryGridCol
3516
3499
  };
3517
3500
 
3518
- var Container = /*#__PURE__*/styled$1(View).withConfig({
3501
+ var Container = /*#__PURE__*/styled(View).withConfig({
3519
3502
  displayName: "Tag__Container",
3520
3503
  componentId: "kitt-universal__sc-19jmowi-0"
3521
3504
  })(["background-color:", ";border-width:", "px;border-color:", ";padding:", ";border-radius:", "px;align-self:flex-start;"], function (_ref) {
@@ -3587,14 +3570,11 @@ function TimePicker() {
3587
3570
  });
3588
3571
  }
3589
3572
 
3590
- function ownKeys$1(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3591
-
3592
- function _objectSpread$1(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3593
- var StyledTooltipView = /*#__PURE__*/styled$1(View).withConfig({
3573
+ var StyledTooltipView = /*#__PURE__*/styled(View).withConfig({
3594
3574
  displayName: "TooltipView__StyledTooltipView",
3595
3575
  componentId: "kitt-universal__sc-156zm6m-0"
3596
3576
  })(["align-items:center;"]);
3597
- var StyledTooltipContent = /*#__PURE__*/styled$1(View).withConfig({
3577
+ var StyledTooltipContent = /*#__PURE__*/styled(View).withConfig({
3598
3578
  displayName: "TooltipView__StyledTooltipContent",
3599
3579
  componentId: "kitt-universal__sc-156zm6m-1"
3600
3580
  })(["background-color:", ";border-radius:", "px;opacity:", ";padding:", ";"], function (_ref) {
@@ -3613,14 +3593,14 @@ var StyledTooltipContent = /*#__PURE__*/styled$1(View).withConfig({
3613
3593
 
3614
3594
  function ArrowView(props) {
3615
3595
  var theme = /*#__PURE__*/useTheme();
3616
- return /*#__PURE__*/jsx(View, _objectSpread$1(_objectSpread$1({}, props), {}, {
3596
+ return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
3617
3597
  children: /*#__PURE__*/jsx(TooltipArrowIcon, {
3618
3598
  color: theme.kitt.tooltip.backgroundColor
3619
3599
  })
3620
3600
  }));
3621
3601
  }
3622
3602
 
3623
- var StyledArrow = /*#__PURE__*/styled$1(ArrowView).withConfig({
3603
+ var StyledArrow = /*#__PURE__*/styled(ArrowView).withConfig({
3624
3604
  displayName: "TooltipView__StyledArrow",
3625
3605
  componentId: "kitt-universal__sc-156zm6m-2"
3626
3606
  })(["color:", ";transform:", ";"], function (_ref5) {
@@ -3653,11 +3633,11 @@ var tooltipDefaultFloatingStrategy = {
3653
3633
  web: 'absolute'
3654
3634
  };
3655
3635
 
3656
- var StyledTooltipTrigger = /*#__PURE__*/styled$1(Pressable).withConfig({
3636
+ var StyledTooltipTrigger = /*#__PURE__*/styled(Pressable).withConfig({
3657
3637
  displayName: "Tooltipweb__StyledTooltipTrigger",
3658
3638
  componentId: "kitt-universal__sc-zn1y6f-0"
3659
3639
  })(["display:inline-flex;align-self:baseline;"]);
3660
- var WebAnimatedTooltip = /*#__PURE__*/styled$1(View).withConfig({
3640
+ var WebAnimatedTooltip = /*#__PURE__*/styled(View).withConfig({
3661
3641
  displayName: "Tooltipweb__WebAnimatedTooltip",
3662
3642
  componentId: "kitt-universal__sc-zn1y6f-1"
3663
3643
  })(["opacity:", ";transition:opacity 200ms;visibility:", ";"], function (_ref) {
@@ -3786,7 +3766,7 @@ function Tooltip(_ref3) {
3786
3766
  }
3787
3767
  Tooltip.View = TooltipView;
3788
3768
 
3789
- var StyledTypographyEmoji = /*#__PURE__*/styled$1(Emoji).withConfig({
3769
+ var StyledTypographyEmoji = /*#__PURE__*/styled(Emoji).withConfig({
3790
3770
  displayName: "TypographyEmoji__StyledTypographyEmoji",
3791
3771
  componentId: "kitt-universal__sc-1if5guu-0"
3792
3772
  })(["align-self:center;", ""], function (_ref) {
@@ -3813,11 +3793,7 @@ function TypographyEmoji(_ref2) {
3813
3793
  }
3814
3794
 
3815
3795
  var _excluded$1 = ["children", "disabled", "noUnderline", "href", "hrefAttrs", "onPress"];
3816
-
3817
- function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3818
-
3819
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
3820
- var TypographyLinkWebWrapper = withTheme( /*#__PURE__*/styled("span")({
3796
+ var TypographyLinkWebWrapper = withTheme( /*#__PURE__*/styled$1("span")({
3821
3797
  name: "TypographyLinkWebWrapper",
3822
3798
  "class": "kitt-u_TypographyLinkWebWrapper_tcwz3nt",
3823
3799
  vars: {
@@ -3827,7 +3803,7 @@ var TypographyLinkWebWrapper = withTheme( /*#__PURE__*/styled("span")({
3827
3803
  }]
3828
3804
  }
3829
3805
  }));
3830
- var StyledLink = /*#__PURE__*/styled$1(Text$1).withConfig({
3806
+ var StyledLink = /*#__PURE__*/styled(Text$1).withConfig({
3831
3807
  displayName: "TypographyLink__StyledLink",
3832
3808
  componentId: "kitt-universal__sc-1o1zy30-0"
3833
3809
  })(["text-decoration:", ";", ";", ";"], function (_ref2) {
@@ -3911,5 +3887,5 @@ function MatchWindowSize(_ref) {
3911
3887
  return children;
3912
3888
  }
3913
3889
 
3914
- export { Avatar, Button, Card, Checkbox, DatePicker, Emoji, ExternalLink, Flex, FullScreenModal, Icon, IconButton, InputEmail, InputFeedback, InputField, InputIcon, InputPassword, InputPhone, InputPressable, InputTag, InputText, KittBreakpoints, KittBreakpointsMax, KittThemeDecorator, KittThemeProvider, Label, LargeLoader, ListItem, Loader, MatchWindowSize, Message, Modal, Notification, Radio, DeprecatedSection as Section, Skeleton, Story, StoryBlock, StoryContainer, StoryDecorator, StoryGrid, StorySection, StoryTitle, StyleWebWrapper, Tag, TextArea, TimePicker, Tooltip, Typography, TypographyEmoji, TypographyIcon, TypographyLink, createWindowSizeHelper, hex2rgba, matchWindowSize, styledTextInputMixin, theme, useKittTheme, useMatchWindowSize, useStoryBlockColor, withTheme };
3890
+ export { Avatar, Button, Card, Checkbox, DatePicker, Emoji, ExternalLink, Flex, FullScreenModal, Icon, IconButton, InputEmail, InputFeedback, InputField, InputIcon, InputPassword, InputPhone, InputPressable, InputTag, InputText, KittBreakpoints, KittBreakpointsMax, KittThemeDecorator, KittThemeProvider, Label, ListItem, LoaderIcon, MatchWindowSize, Message, Modal, Notification, Overlay, PageLoader, Radio, DeprecatedSection as Section, Skeleton, SpinningIcon, Story, StoryBlock, StoryContainer, StoryDecorator, StoryGrid, StorySection, StoryTitle, StyleWebWrapper, Tag, TextArea, TimePicker, Tooltip, Typography, TypographyEmoji, TypographyIcon, TypographyLink, createWindowSizeHelper, hex2rgba, matchWindowSize, styledTextInputMixin, theme, useKittTheme, useMatchWindowSize, useStoryBlockColor, withTheme };
3915
3891
  //# sourceMappingURL=index-browser-all.es.web.js.map