@ornikar/kitt-universal 9.4.0 → 9.7.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 (63) hide show
  1. package/dist/definitions/Actions/Actions.d.ts +13 -0
  2. package/dist/definitions/Actions/Actions.d.ts.map +1 -0
  3. package/dist/definitions/Actions/ActionsButton.d.ts +9 -0
  4. package/dist/definitions/Actions/ActionsButton.d.ts.map +1 -0
  5. package/dist/definitions/Actions/ActionsItem.d.ts +12 -0
  6. package/dist/definitions/Actions/ActionsItem.d.ts.map +1 -0
  7. package/dist/definitions/Choices/ChoiceItem.d.ts.map +1 -1
  8. package/dist/definitions/Choices/hooks/useNativeAnimation.d.ts +14 -0
  9. package/dist/definitions/Choices/hooks/useNativeAnimation.d.ts.map +1 -0
  10. package/dist/definitions/Choices/hooks/useNativeAnimation.web.d.ts +7 -0
  11. package/dist/definitions/Choices/hooks/useNativeAnimation.web.d.ts.map +1 -0
  12. package/dist/definitions/IconButton/IconButton.d.ts +1 -1
  13. package/dist/definitions/IconButton/IconButton.d.ts.map +1 -1
  14. package/dist/definitions/IconButton/PressableAnimatedContainer.d.ts +1 -1
  15. package/dist/definitions/IconButton/PressableAnimatedContainer.d.ts.map +1 -1
  16. package/dist/definitions/forms/InputField/InputField.d.ts.map +1 -1
  17. package/dist/definitions/forms/InputText/InputTextContainer.web.d.ts +1 -1
  18. package/dist/definitions/index.d.ts +4 -0
  19. package/dist/definitions/index.d.ts.map +1 -1
  20. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +15 -15
  21. package/dist/definitions/native-base/acceptable-native-base-props.d.ts +5 -0
  22. package/dist/definitions/native-base/acceptable-native-base-props.d.ts.map +1 -1
  23. package/dist/definitions/native-base/layout.d.ts +4 -5
  24. package/dist/definitions/native-base/layout.d.ts.map +1 -1
  25. package/dist/definitions/native-base/primitives.d.ts +4 -5
  26. package/dist/definitions/native-base/primitives.d.ts.map +1 -1
  27. package/dist/definitions/story-components/StoryBlock.d.ts +1 -1
  28. package/dist/definitions/themes/default.d.ts +7 -1
  29. package/dist/definitions/themes/default.d.ts.map +1 -1
  30. package/dist/definitions/themes/late-ocean/forms.d.ts +7 -1
  31. package/dist/definitions/themes/late-ocean/forms.d.ts.map +1 -1
  32. package/dist/definitions/themes/late-ocean/inputField.d.ts +7 -1
  33. package/dist/definitions/themes/late-ocean/inputField.d.ts.map +1 -1
  34. package/dist/definitions/typography/TypographyLink.d.ts +1 -1
  35. package/dist/definitions/typography/TypographyLink.d.ts.map +1 -1
  36. package/dist/index-browser-all.es.android.js +629 -500
  37. package/dist/index-browser-all.es.android.js.map +1 -1
  38. package/dist/index-browser-all.es.ios.js +629 -500
  39. package/dist/index-browser-all.es.ios.js.map +1 -1
  40. package/dist/index-browser-all.es.js +629 -500
  41. package/dist/index-browser-all.es.js.map +1 -1
  42. package/dist/index-browser-all.es.web.js +647 -602
  43. package/dist/index-browser-all.es.web.js.map +1 -1
  44. package/dist/index-node-14.17.cjs.js +564 -474
  45. package/dist/index-node-14.17.cjs.js.map +1 -1
  46. package/dist/index-node-14.17.cjs.web.css +1 -1
  47. package/dist/index-node-14.17.cjs.web.js +573 -565
  48. package/dist/index-node-14.17.cjs.web.js.map +1 -1
  49. package/dist/linaria-themes-browser-all.es.android.js +7 -1
  50. package/dist/linaria-themes-browser-all.es.android.js.map +1 -1
  51. package/dist/linaria-themes-browser-all.es.ios.js +7 -1
  52. package/dist/linaria-themes-browser-all.es.ios.js.map +1 -1
  53. package/dist/linaria-themes-browser-all.es.js +7 -1
  54. package/dist/linaria-themes-browser-all.es.js.map +1 -1
  55. package/dist/linaria-themes-browser-all.es.web.js +7 -1
  56. package/dist/linaria-themes-browser-all.es.web.js.map +1 -1
  57. package/dist/linaria-themes-node-14.17.cjs.js +7 -1
  58. package/dist/linaria-themes-node-14.17.cjs.js.map +1 -1
  59. package/dist/linaria-themes-node-14.17.cjs.web.js +7 -1
  60. package/dist/linaria-themes-node-14.17.cjs.web.js.map +1 -1
  61. package/dist/styles.css +1 -1
  62. package/dist/tsbuildinfo +1 -1
  63. package/package.json +27 -2
@@ -1,23 +1,23 @@
1
1
  import _objectSpread from '@babel/runtime/helpers/objectSpread2';
2
2
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
- import { UserIcon, CheckboxMark, XIcon, EyeOffIcon, EyeIcon, ArcIcon, InfoIcon, AlertTriangleIcon, CheckIcon, AlertCircleIcon, TooltipArrowIcon } from '@ornikar/kitt-icons';
4
- export * from '@ornikar/kitt-icons';
5
- import { Platform, Image, StyleSheet, View as View$1, ScrollView as ScrollView$1, Linking, useWindowDimensions, Pressable as Pressable$2, Modal as Modal$1, Text as Text$2, TextInput, Animated as Animated$1, Easing } from 'react-native';
3
+ import { Stack as Stack$1, VStack as VStack$1, HStack as HStack$1, Text as Text$1, View as View$1, ScrollView as ScrollView$1, Pressable as Pressable$1, Image as Image$1, NativeBaseProvider, extendTheme } from 'native-base';
4
+ import _extends from '@babel/runtime/helpers/extends';
5
+ import React, { forwardRef, useContext, createContext, cloneElement, useRef, useEffect, useState, Children, useMemo, Fragment as Fragment$1 } from 'react';
6
+ import { Platform, Animated as Animated$1, Easing, useWindowDimensions, Image, StyleSheet, View as View$2, ScrollView as ScrollView$2, Linking, Pressable as Pressable$2, Modal as Modal$1, Text as Text$2, TextInput } from 'react-native';
6
7
  export { useWindowDimensions as useWindowSize } from 'react-native';
8
+ import Animated, { useSharedValue, useAnimatedStyle, interpolateColor, withSpring, useDerivedValue, withTiming, useAnimatedProps, withDelay, Easing as Easing$1, withRepeat, interpolate } from 'react-native-reanimated';
7
9
  import styled, { useTheme, css, ThemeProvider } from 'styled-components/native';
8
- import React, { cloneElement, useContext, createContext, forwardRef, useState, Children, useMemo, useEffect, useRef, Fragment as Fragment$1 } from 'react';
9
10
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
10
11
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
11
- import { Text as Text$1, Pressable as Pressable$1, Image as Image$1, NativeBaseProvider, extendTheme, Stack as Stack$1, VStack as VStack$1, HStack as HStack$1, View as View$2, ScrollView as ScrollView$2 } from 'native-base';
12
- import Animated, { useSharedValue, useAnimatedStyle, interpolateColor, withSpring, useDerivedValue, withTiming, useAnimatedProps, withDelay, Easing as Easing$1, withRepeat, interpolate } from 'react-native-reanimated';
13
- import { parse } from 'twemoji-parser';
14
12
  import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
15
13
  import _regeneratorRuntime from '@babel/runtime/regenerator';
14
+ import { ArcIcon, UserIcon, CheckboxMark, XIcon, EyeOffIcon, EyeIcon, InfoIcon, AlertTriangleIcon, CheckIcon, AlertCircleIcon, TooltipArrowIcon } from '@ornikar/kitt-icons';
15
+ export * from '@ornikar/kitt-icons';
16
+ import { parse } from 'twemoji-parser';
16
17
  import { openBrowserAsync } from 'expo-web-browser';
17
18
  import DateTimePicker, { DateTimePickerAndroid } from '@react-native-community/datetimepicker';
18
19
  import { FormattedMessage } from 'react-intl';
19
20
  import { styled as styled$1 } from '@linaria/react';
20
- import _extends from '@babel/runtime/helpers/extends';
21
21
  import { useSafeAreaInsets } from 'react-native-safe-area-context';
22
22
  import Svg, { Circle as Circle$1 } from 'react-native-svg';
23
23
  import { Picker as Picker$1 } from '@react-native-picker/picker';
@@ -25,39 +25,173 @@ import { LinearGradient } from 'expo-linear-gradient';
25
25
  import { useFloating, offset, shift, flip } from '@floating-ui/react-native';
26
26
  import { makeDecorator } from '@storybook/addons';
27
27
 
28
- var defaultIconSize = 20;
29
- var IconContainer$1 = /*#__PURE__*/styled.View.withConfig({
30
- displayName: "Icon__IconContainer"
31
- })(["color:", ";width:", "px;height:", "px;align-self:", ";"], function (_ref) {
32
- var $color = _ref.$color;
33
- return $color;
28
+ var Stack = Stack$1;
29
+ var VStack = VStack$1;
30
+ var HStack = HStack$1;
31
+
32
+ function warn(message) {
33
+ if (process.env.NODE_ENV !== 'production') {
34
+ console.warn(message);
35
+ }
36
+ }
37
+ function deprecatedMessage(symbol, deprecation, replaceBy) {
38
+ var replaceMessage = replaceBy === undefined ? '' : ", please use ".concat(replaceBy, " instead");
39
+ warn("[Deprecation] in ".concat(symbol, ": ").concat(deprecation, " is deprecated").concat(replaceMessage, "."));
40
+ }
41
+ function deprecatedInComponent(component, deprecation, replaceBy) {
42
+ deprecatedMessage("<".concat(component, " />"), deprecation, replaceBy);
43
+ }
44
+
45
+ var hasVariant = function (button, variant) {
46
+ return variant in button;
47
+ };
48
+
49
+ function getVariantValuesIfExist(theme, type, variant) {
50
+ var button = theme.kitt.button[type];
51
+
52
+ if (hasVariant(button, variant)) {
53
+ return button[variant];
54
+ }
55
+
56
+ return theme.kitt.button[type]["default"];
57
+ }
58
+
59
+ var StyledPressable = /*#__PURE__*/styled.Pressable.withConfig({
60
+ displayName: "AnimatedButtonPressable__StyledPressable"
61
+ })(["", ""], function (_ref) {
62
+ var $isStretch = _ref.$isStretch;
63
+ if ($isStretch) return undefined;
64
+ return 'align-self: flex-start;';
65
+ });
66
+ var StyledAnimatedView = /*#__PURE__*/styled(Animated.View).withConfig({
67
+ displayName: "AnimatedButtonPressable__StyledAnimatedView"
68
+ })(["border-radius:", "px;"], function (_ref2) {
69
+ var theme = _ref2.theme;
70
+ return theme.kitt.button.borderRadius;
71
+ });
72
+ var AnimatedButtonPressable = /*#__PURE__*/forwardRef(function (_ref3, ref) {
73
+ var children = _ref3.children,
74
+ disabled = _ref3.disabled,
75
+ accessibilityRole = _ref3.accessibilityRole,
76
+ $type = _ref3.$type,
77
+ $variant = _ref3.$variant,
78
+ $isStretch = _ref3.$isStretch,
79
+ href = _ref3.href,
80
+ hrefAttrs = _ref3.hrefAttrs,
81
+ testID = _ref3.testID,
82
+ onPress = _ref3.onPress;
83
+ var theme = /*#__PURE__*/useTheme();
84
+ var pressed = useSharedValue(0);
85
+ var color = useSharedValue(0);
86
+
87
+ var _getVariantValuesIfEx = getVariantValuesIfExist(theme, $type, $variant),
88
+ backgroundColor = _getVariantValuesIfEx.backgroundColor,
89
+ pressedBackgroundColor = _getVariantValuesIfEx.pressedBackgroundColor;
90
+
91
+ var scale = theme.kitt.button.scale;
92
+ var scaleStyles = useAnimatedStyle(function () {
93
+ var _f = function () {
94
+ return {
95
+ backgroundColor: interpolateColor(color.value, [0, 1], [backgroundColor, pressedBackgroundColor]),
96
+ transform: [{
97
+ scale: withSpring(pressed.value ? scale.base.active : scale.base["default"])
98
+ }]
99
+ };
100
+ };
101
+
102
+ _f._closure = {
103
+ interpolateColor: interpolateColor,
104
+ color: color,
105
+ backgroundColor: backgroundColor,
106
+ pressedBackgroundColor: pressedBackgroundColor,
107
+ withSpring: withSpring,
108
+ pressed: pressed,
109
+ scale: {
110
+ base: {
111
+ active: scale.base.active,
112
+ "default": scale.base["default"]
113
+ }
114
+ }
115
+ };
116
+ _f.asString = "function _f(){const{interpolateColor,color,backgroundColor,pressedBackgroundColor,withSpring,pressed,scale}=jsThis._closure;{return{backgroundColor:interpolateColor(color.value,[0,1],[backgroundColor,pressedBackgroundColor]),transform:[{scale:withSpring(pressed.value?scale.base.active:scale.base.default)}]};}}";
117
+ _f.__workletHash = 5368461229978;
118
+ _f.__location = "/home/circleci/repo/@ornikar/kitt-universal/src/Button/AnimatedButtonPressable.tsx (56:41)";
119
+ _f.__optimalization = 2;
120
+ return _f;
121
+ }());
122
+
123
+ var handlePressInOut = function (pressIn) {
124
+ color.value = withSpring(pressIn ? 1 : 0);
125
+ pressed.value = pressIn ? 1 : 0;
126
+ };
127
+
128
+ return /*#__PURE__*/jsx(StyledPressable, {
129
+ ref: ref,
130
+ disabled: disabled,
131
+ accessibilityRole: accessibilityRole,
132
+ testID: testID,
133
+ href: href,
134
+ hrefAttrs: hrefAttrs,
135
+ $isStretch: $isStretch,
136
+ $type: $type,
137
+ onPress: onPress,
138
+ onPressIn: function onPressIn() {
139
+ handlePressInOut(true);
140
+ },
141
+ onPressOut: function onPressOut() {
142
+ handlePressInOut(false);
143
+ },
144
+ children: /*#__PURE__*/jsx(StyledAnimatedView, {
145
+ style: disabled ? [{
146
+ transform: [{
147
+ scale: 1
148
+ }]
149
+ }] : [scaleStyles],
150
+ children: children
151
+ })
152
+ });
153
+ });
154
+
155
+ var BaseStyledButtonPressable = /*#__PURE__*/styled.View.withConfig({
156
+ displayName: "BaseStyledButtonPressable"
157
+ })(["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) {
158
+ var theme = _ref.theme;
159
+ return theme.kitt.button.minWidth;
34
160
  }, function (_ref2) {
35
- var $size = _ref2.$size;
36
- return $size;
161
+ var theme = _ref2.theme,
162
+ $isStretch = _ref2.$isStretch;
163
+ return $isStretch ? '100%' : "".concat(theme.kitt.button.maxWidth, "px");
37
164
  }, function (_ref3) {
38
- var $size = _ref3.$size;
39
- return $size;
165
+ var $isStretch = _ref3.$isStretch;
166
+ return $isStretch ? '100%' : 'auto';
40
167
  }, function (_ref4) {
41
- var _ref4$$align = _ref4.$align,
42
- $align = _ref4$$align === void 0 ? 'auto' : _ref4$$align;
43
- return $align;
168
+ var theme = _ref4.theme;
169
+ return theme.kitt.button.minHeight;
170
+ }, function (_ref5) {
171
+ var theme = _ref5.theme;
172
+ return theme.kitt.button.borderRadius;
173
+ }, function (_ref6) {
174
+ var theme = _ref6.theme,
175
+ $isDisabled = _ref6.$isDisabled,
176
+ $type = _ref6.$type,
177
+ $variant = _ref6.$variant;
178
+ if ($isDisabled) return theme.kitt.button.disabled["default"].backgroundColor;
179
+ if (Platform.OS !== 'web') return 'transparent';
180
+ return getVariantValuesIfExist(theme, $type, $variant).backgroundColor;
181
+ }, function (_ref7) {
182
+ var theme = _ref7.theme,
183
+ $size = _ref7.$size,
184
+ $isDisabled = _ref7.$isDisabled;
185
+ var _theme$kitt$button$co = theme.kitt.button.contentPadding,
186
+ large = _theme$kitt$button$co.large,
187
+ defaultPadding = _theme$kitt$button$co["default"],
188
+ disabledPadding = _theme$kitt$button$co.disabled,
189
+ xLarge = _theme$kitt$button$co.xLarge;
190
+ if ($size === 'large') return large;
191
+ if ($size === 'xlarge') return xLarge;
192
+ if ($isDisabled) return disabledPadding;
193
+ return defaultPadding;
44
194
  });
45
- function Icon(_ref5) {
46
- var icon = _ref5.icon,
47
- _ref5$size = _ref5.size,
48
- size = _ref5$size === void 0 ? defaultIconSize : _ref5$size,
49
- align = _ref5.align,
50
- color = _ref5.color;
51
- var clonedIcon = /*#__PURE__*/cloneElement(icon, {
52
- color: color
53
- });
54
- return /*#__PURE__*/jsx(IconContainer$1, {
55
- $align: align,
56
- $size: size,
57
- $color: color,
58
- children: clonedIcon
59
- });
60
- }
61
195
 
62
196
  var KittBreakpoints = {
63
197
  /**
@@ -116,7 +250,7 @@ var KittBreakpointNameEnum;
116
250
  KittBreakpointNameEnum["WIDE"] = "wide";
117
251
  })(KittBreakpointNameEnum || (KittBreakpointNameEnum = {}));
118
252
 
119
- var _excluded$l = ["accessibilityRole", "base", "small", "medium", "large", "wide", "type", "variant", "color"];
253
+ var _excluded$n = ["accessibilityRole", "base", "small", "medium", "large", "wide", "type", "variant", "color"];
120
254
  var IsHeaderTypographyContext = /*#__PURE__*/createContext(undefined);
121
255
  var TypographyColorContext = /*#__PURE__*/createContext('black');
122
256
  function useTypographyColor() {
@@ -188,7 +322,7 @@ function Typography(_ref) {
188
322
  } : _ref$type,
189
323
  variant = _ref.variant,
190
324
  color = _ref.color,
191
- otherProps = _objectWithoutProperties(_ref, _excluded$l);
325
+ otherProps = _objectWithoutProperties(_ref, _excluded$n);
192
326
 
193
327
  var isHeaderTypographyInContext = useContext(IsHeaderTypographyContext);
194
328
  var defaultColor = useTypographyDefaultColor();
@@ -285,264 +419,48 @@ Typography.h3 = createHeading(3, 'header3');
285
419
  Typography.h4 = createHeading(4, 'header4');
286
420
  /** @deprecated use Typography.Header6 */
287
421
 
288
- Typography.h5 = createHeading(5, 'header5');
289
-
290
- var _excluded$k = ["size", "round", "light", "sizeVariant"];
291
-
292
- var getInitials = function (firstname, lastname) {
293
- return "".concat(firstname[0]).concat(lastname[0]).toUpperCase();
294
- };
295
-
296
- var StyledAvatarView = /*#__PURE__*/styled.View.withConfig({
297
- displayName: "Avatar__StyledAvatarView"
298
- })(["border-radius:", ";background-color:", ";height:", "px;width:", "px;overflow:hidden;align-items:center;justify-content:center;"], function (_ref) {
299
- var theme = _ref.theme,
300
- $isRound = _ref.$isRound,
301
- $size = _ref.$size,
302
- $sizeVariant = _ref.$sizeVariant;
303
- if ($isRound) return "".concat($size / 2, "px");
304
- return "".concat($sizeVariant === 'large' ? theme.kitt.avatar.large.borderRadius : theme.kitt.avatar.borderRadius, "px");
305
- }, function (_ref2) {
306
- var theme = _ref2.theme,
307
- $isLight = _ref2.$isLight;
308
- return $isLight ? theme.kitt.avatar.light.backgroundColor : theme.kitt.avatar["default"].backgroundColor;
309
- }, function (_ref3) {
310
- var $size = _ref3.$size;
311
- return $size;
312
- }, function (_ref4) {
313
- var $size = _ref4.$size;
314
- return $size;
315
- });
316
-
317
- function AvatarContent(_ref5) {
318
- var size = _ref5.size,
319
- src = _ref5.src,
320
- firstname = _ref5.firstname,
321
- lastname = _ref5.lastname,
322
- alt = _ref5.alt,
323
- isLight = _ref5.isLight,
324
- sizeVariant = _ref5.sizeVariant;
325
-
326
- if (src) {
327
- return /*#__PURE__*/jsx(Image, {
328
- source: {
329
- uri: src
330
- },
331
- style: {
332
- width: size,
333
- height: size
334
- },
335
- accessibilityLabel: alt
336
- });
337
- }
338
-
339
- if (firstname && lastname) {
340
- return /*#__PURE__*/jsx(Typography.Text, {
341
- base: sizeVariant === 'large' ? 'body-large' : 'body-small',
342
- variant: sizeVariant === 'large' ? 'bold' : 'regular',
343
- color: isLight ? 'black' : 'white',
344
- children: getInitials(firstname, lastname)
345
- });
346
- }
347
-
348
- return /*#__PURE__*/jsx(Icon, {
349
- icon: /*#__PURE__*/jsx(UserIcon, {}),
350
- color: isLight ? 'black' : 'white',
351
- size: size / 2
352
- });
353
- }
354
-
355
- function Avatar(_ref6) {
356
- var _ref6$size = _ref6.size,
357
- size = _ref6$size === void 0 ? 40 : _ref6$size,
358
- round = _ref6.round,
359
- light = _ref6.light,
360
- sizeVariant = _ref6.sizeVariant,
361
- props = _objectWithoutProperties(_ref6, _excluded$k);
362
-
363
- return /*#__PURE__*/jsx(StyledAvatarView, {
364
- $size: size,
365
- $isRound: round,
366
- $isLight: light,
367
- $sizeVariant: sizeVariant,
368
- children: /*#__PURE__*/jsx(AvatarContent, _objectSpread({
369
- size: size,
370
- isLight: light,
371
- sizeVariant: sizeVariant
372
- }, props))
373
- });
374
- }
375
-
376
- function warn(message) {
377
- if (process.env.NODE_ENV !== 'production') {
378
- console.warn(message);
379
- }
380
- }
381
- function deprecatedMessage(symbol, deprecation, replaceBy) {
382
- var replaceMessage = replaceBy === undefined ? '' : ", please use ".concat(replaceBy, " instead");
383
- warn("[Deprecation] in ".concat(symbol, ": ").concat(deprecation, " is deprecated").concat(replaceMessage, "."));
384
- }
385
- function deprecatedInComponent(component, deprecation, replaceBy) {
386
- deprecatedMessage("<".concat(component, " />"), deprecation, replaceBy);
387
- }
388
-
389
- var hasVariant = function (button, variant) {
390
- return variant in button;
391
- };
392
-
393
- function getVariantValuesIfExist(theme, type, variant) {
394
- var button = theme.kitt.button[type];
395
-
396
- if (hasVariant(button, variant)) {
397
- return button[variant];
398
- }
399
-
400
- return theme.kitt.button[type]["default"];
401
- }
402
-
403
- var StyledPressable = /*#__PURE__*/styled.Pressable.withConfig({
404
- displayName: "AnimatedButtonPressable__StyledPressable"
405
- })(["", ""], function (_ref) {
406
- var $isStretch = _ref.$isStretch;
407
- if ($isStretch) return undefined;
408
- return 'align-self: flex-start;';
409
- });
410
- var StyledAnimatedView = /*#__PURE__*/styled(Animated.View).withConfig({
411
- displayName: "AnimatedButtonPressable__StyledAnimatedView"
412
- })(["border-radius:", "px;"], function (_ref2) {
413
- var theme = _ref2.theme;
414
- return theme.kitt.button.borderRadius;
415
- });
416
- var AnimatedButtonPressable = /*#__PURE__*/forwardRef(function (_ref3, ref) {
417
- var children = _ref3.children,
418
- disabled = _ref3.disabled,
419
- accessibilityRole = _ref3.accessibilityRole,
420
- $type = _ref3.$type,
421
- $variant = _ref3.$variant,
422
- $isStretch = _ref3.$isStretch,
423
- href = _ref3.href,
424
- hrefAttrs = _ref3.hrefAttrs,
425
- testID = _ref3.testID,
426
- onPress = _ref3.onPress;
427
- var theme = /*#__PURE__*/useTheme();
428
- var pressed = useSharedValue(0);
429
- var color = useSharedValue(0);
430
-
431
- var _getVariantValuesIfEx = getVariantValuesIfExist(theme, $type, $variant),
432
- backgroundColor = _getVariantValuesIfEx.backgroundColor,
433
- pressedBackgroundColor = _getVariantValuesIfEx.pressedBackgroundColor;
434
-
435
- var scale = theme.kitt.button.scale;
436
- var scaleStyles = useAnimatedStyle(function () {
437
- var _f = function () {
438
- return {
439
- backgroundColor: interpolateColor(color.value, [0, 1], [backgroundColor, pressedBackgroundColor]),
440
- transform: [{
441
- scale: withSpring(pressed.value ? scale.base.active : scale.base["default"])
442
- }]
443
- };
444
- };
445
-
446
- _f._closure = {
447
- interpolateColor: interpolateColor,
448
- color: color,
449
- backgroundColor: backgroundColor,
450
- pressedBackgroundColor: pressedBackgroundColor,
451
- withSpring: withSpring,
452
- pressed: pressed,
453
- scale: {
454
- base: {
455
- active: scale.base.active,
456
- "default": scale.base["default"]
457
- }
458
- }
459
- };
460
- _f.asString = "function _f(){const{interpolateColor,color,backgroundColor,pressedBackgroundColor,withSpring,pressed,scale}=jsThis._closure;{return{backgroundColor:interpolateColor(color.value,[0,1],[backgroundColor,pressedBackgroundColor]),transform:[{scale:withSpring(pressed.value?scale.base.active:scale.base.default)}]};}}";
461
- _f.__workletHash = 5368461229978;
462
- _f.__location = "/home/circleci/repo/@ornikar/kitt-universal/src/Button/AnimatedButtonPressable.tsx (56:41)";
463
- _f.__optimalization = 2;
464
- return _f;
465
- }());
466
-
467
- var handlePressInOut = function (pressIn) {
468
- color.value = withSpring(pressIn ? 1 : 0);
469
- pressed.value = pressIn ? 1 : 0;
470
- };
471
-
472
- return /*#__PURE__*/jsx(StyledPressable, {
473
- ref: ref,
474
- disabled: disabled,
475
- accessibilityRole: accessibilityRole,
476
- testID: testID,
477
- href: href,
478
- hrefAttrs: hrefAttrs,
479
- $isStretch: $isStretch,
480
- $type: $type,
481
- onPress: onPress,
482
- onPressIn: function onPressIn() {
483
- handlePressInOut(true);
484
- },
485
- onPressOut: function onPressOut() {
486
- handlePressInOut(false);
487
- },
488
- children: /*#__PURE__*/jsx(StyledAnimatedView, {
489
- style: disabled ? [{
490
- transform: [{
491
- scale: 1
492
- }]
493
- }] : [scaleStyles],
494
- children: children
495
- })
496
- });
497
- });
422
+ Typography.h5 = createHeading(5, 'header5');
498
423
 
499
- var BaseStyledButtonPressable = /*#__PURE__*/styled.View.withConfig({
500
- displayName: "BaseStyledButtonPressable"
501
- })(["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) {
502
- var theme = _ref.theme;
503
- return theme.kitt.button.minWidth;
424
+ var defaultIconSize = 20;
425
+ var IconContainer$1 = /*#__PURE__*/styled.View.withConfig({
426
+ displayName: "Icon__IconContainer"
427
+ })(["color:", ";width:", "px;height:", "px;align-self:", ";"], function (_ref) {
428
+ var $color = _ref.$color;
429
+ return $color;
504
430
  }, function (_ref2) {
505
- var theme = _ref2.theme,
506
- $isStretch = _ref2.$isStretch;
507
- return $isStretch ? '100%' : "".concat(theme.kitt.button.maxWidth, "px");
431
+ var $size = _ref2.$size;
432
+ return $size;
508
433
  }, function (_ref3) {
509
- var $isStretch = _ref3.$isStretch;
510
- return $isStretch ? '100%' : 'auto';
434
+ var $size = _ref3.$size;
435
+ return $size;
511
436
  }, function (_ref4) {
512
- var theme = _ref4.theme;
513
- return theme.kitt.button.minHeight;
514
- }, function (_ref5) {
515
- var theme = _ref5.theme;
516
- return theme.kitt.button.borderRadius;
517
- }, function (_ref6) {
518
- var theme = _ref6.theme,
519
- $isDisabled = _ref6.$isDisabled,
520
- $type = _ref6.$type,
521
- $variant = _ref6.$variant;
522
- if ($isDisabled) return theme.kitt.button.disabled["default"].backgroundColor;
523
- if (Platform.OS !== 'web') return 'transparent';
524
- return getVariantValuesIfExist(theme, $type, $variant).backgroundColor;
525
- }, function (_ref7) {
526
- var theme = _ref7.theme,
527
- $size = _ref7.$size,
528
- $isDisabled = _ref7.$isDisabled;
529
- var _theme$kitt$button$co = theme.kitt.button.contentPadding,
530
- large = _theme$kitt$button$co.large,
531
- defaultPadding = _theme$kitt$button$co["default"],
532
- disabledPadding = _theme$kitt$button$co.disabled,
533
- xLarge = _theme$kitt$button$co.xLarge;
534
- if ($size === 'large') return large;
535
- if ($size === 'xlarge') return xLarge;
536
- if ($isDisabled) return disabledPadding;
537
- return defaultPadding;
437
+ var _ref4$$align = _ref4.$align,
438
+ $align = _ref4$$align === void 0 ? 'auto' : _ref4$$align;
439
+ return $align;
538
440
  });
441
+ function Icon(_ref5) {
442
+ var icon = _ref5.icon,
443
+ _ref5$size = _ref5.size,
444
+ size = _ref5$size === void 0 ? defaultIconSize : _ref5$size,
445
+ align = _ref5.align,
446
+ color = _ref5.color;
447
+ var clonedIcon = /*#__PURE__*/cloneElement(icon, {
448
+ color: color
449
+ });
450
+ return /*#__PURE__*/jsx(IconContainer$1, {
451
+ $align: align,
452
+ $size: size,
453
+ $color: color,
454
+ children: clonedIcon
455
+ });
456
+ }
539
457
 
540
- var _excluded$j = ["color"],
458
+ var _excluded$m = ["color"],
541
459
  _excluded2$3 = ["color"];
542
460
 
543
461
  function TypographyIconSpecifiedColor(_ref) {
544
462
  var color = _ref.color,
545
- props = _objectWithoutProperties(_ref, _excluded$j);
463
+ props = _objectWithoutProperties(_ref, _excluded$m);
546
464
 
547
465
  var theme = /*#__PURE__*/useTheme();
548
466
  return /*#__PURE__*/jsx(Icon, _objectSpread(_objectSpread({}, props), {}, {
@@ -574,7 +492,7 @@ function isSubtle(type) {
574
492
  return type.startsWith('subtle');
575
493
  }
576
494
 
577
- var _excluded$i = ["type", "variant", "isDisabled", "$isStretch", "icon", "children"];
495
+ var _excluded$l = ["type", "variant", "isDisabled", "$isStretch", "icon", "children"];
578
496
 
579
497
  var getTextColorByType = function (type, variant) {
580
498
  switch (type) {
@@ -679,7 +597,7 @@ function ButtonContentChildren(_ref4) {
679
597
  };
680
598
  return /*#__PURE__*/jsxs(StyledChildrenWithIcon, {
681
599
  children: [icon && iconPosition === 'left' ? /*#__PURE__*/jsx(ButtonIcon, _objectSpread(_objectSpread({}, buttonIconSharedProps), {}, {
682
- testID: "button-left-icon",
600
+ testID: "button.ButtonContent.leftButtonIcon",
683
601
  icon: icon
684
602
  })) : null, /*#__PURE__*/jsx(StyledButtonText, {
685
603
  base: "body",
@@ -716,7 +634,7 @@ function ButtonContent(_ref7) {
716
634
  $isStretch = _ref7.$isStretch,
717
635
  icon = _ref7.icon,
718
636
  children = _ref7.children,
719
- props = _objectWithoutProperties(_ref7, _excluded$i);
637
+ props = _objectWithoutProperties(_ref7, _excluded$l);
720
638
 
721
639
  var color = isDisabled ? 'black-light' : getTextColorByType(type, variant);
722
640
  return /*#__PURE__*/jsx(ButtonContentContainer, {
@@ -821,7 +739,286 @@ var Button = /*#__PURE__*/forwardRef(function (_ref2, ref) {
821
739
  }), Platform.OS !== 'web' && disabled ? /*#__PURE__*/jsx(StyledDisabled, {}) : null]
822
740
  })
823
741
  });
824
- });
742
+ });
743
+
744
+ function SpinningIcon(_ref) {
745
+ var icon = _ref.icon,
746
+ color = _ref.color;
747
+
748
+ if (process.env.NODE_ENV !== 'production' && !color) {
749
+ throw new Error("Invalid color passed to SpinningIcon: ".concat(String(color)));
750
+ }
751
+
752
+ var clonedIcon = /*#__PURE__*/cloneElement(icon, {
753
+ color: color
754
+ });
755
+ var animationRef = useRef(new Animated$1.Value(0));
756
+ var rotation = animationRef.current.interpolate({
757
+ inputRange: [0, 1],
758
+ outputRange: ['0deg', '360deg']
759
+ });
760
+ useEffect(function () {
761
+ if (process.env.NODE_ENV === 'test') return undefined;
762
+ var animation = Animated$1.loop(Animated$1.timing(animationRef.current, {
763
+ toValue: 1,
764
+ duration: 1100,
765
+ easing: Easing.linear,
766
+ useNativeDriver: true
767
+ }));
768
+ animation.start();
769
+ return function () {
770
+ if (process.env.NODE_ENV === 'test') return undefined;
771
+ animation.stop();
772
+ return undefined;
773
+ };
774
+ }, []);
775
+ return /*#__PURE__*/jsx(Animated$1.View, {
776
+ style: {
777
+ transform: [{
778
+ rotate: rotation
779
+ }]
780
+ },
781
+ children: clonedIcon
782
+ });
783
+ }
784
+
785
+ function LoaderIcon(_ref) {
786
+ var color = _ref.color;
787
+ return /*#__PURE__*/jsx(SpinningIcon, {
788
+ color: color,
789
+ icon: /*#__PURE__*/jsx(ArcIcon, {})
790
+ });
791
+ }
792
+
793
+ var View = View$1;
794
+ var ScrollView = ScrollView$1;
795
+ var Pressable = Pressable$1;
796
+
797
+ function matchWindowSize(_ref, _ref2) {
798
+ var width = _ref.width,
799
+ height = _ref.height;
800
+ var minWidth = _ref2.minWidth,
801
+ maxWidth = _ref2.maxWidth,
802
+ minHeight = _ref2.minHeight,
803
+ maxHeight = _ref2.maxHeight;
804
+ var hasWidthMatched = width ? (!minWidth || width >= minWidth) && (!maxWidth || width <= maxWidth) : true;
805
+ var hasHeightMatched = height ? (!minHeight || height >= minHeight) && (!maxHeight || height <= maxHeight) : true;
806
+ return hasWidthMatched && hasHeightMatched;
807
+ }
808
+ function useMatchWindowSize(options) {
809
+ var _useWindowDimensions = useWindowDimensions(),
810
+ width = _useWindowDimensions.width,
811
+ height = _useWindowDimensions.height;
812
+
813
+ return matchWindowSize({
814
+ width: width,
815
+ height: height
816
+ }, options);
817
+ }
818
+
819
+ var _excluded$k = ["as", "onPress", "disabled", "icon"];
820
+ function ActionsItem(_ref) {
821
+ var as = _ref.as,
822
+ onPress = _ref.onPress,
823
+ disabled = _ref.disabled,
824
+ icon = _ref.icon,
825
+ props = _objectWithoutProperties(_ref, _excluded$k);
826
+
827
+ var isMedium = useMatchWindowSize({
828
+ minWidth: KittBreakpoints.MEDIUM
829
+ });
830
+
831
+ var _useState = useState(false),
832
+ _useState2 = _slicedToArray(_useState, 2),
833
+ isLoading = _useState2[0],
834
+ setIsLoading = _useState2[1];
835
+
836
+ var mountedRef = useRef(false); // effect just for tracking mounted state, as onPress can unmount the ActionButton
837
+
838
+ useEffect(function () {
839
+ mountedRef.current = true;
840
+ return function () {
841
+ mountedRef.current = false;
842
+ };
843
+ }, []);
844
+ return /*#__PURE__*/jsx(View, {
845
+ children: /*#__PURE__*/jsx(as, _objectSpread(_objectSpread({}, props), {}, {
846
+ stretch: !isMedium ? true : undefined,
847
+ disabled: isLoading ? true : disabled,
848
+ icon: isLoading ? /*#__PURE__*/jsx(LoaderIcon, {}) : icon,
849
+ onPress: function handlePress(e) {
850
+ var callPressAndUpdateLoadingState = /*#__PURE__*/function () {
851
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
852
+ return _regeneratorRuntime.wrap(function (_context) {
853
+ while (1) {
854
+ switch (_context.prev = _context.next) {
855
+ case 0:
856
+ if (onPress) {
857
+ _context.next = 2;
858
+ break;
859
+ }
860
+
861
+ return _context.abrupt("return");
862
+
863
+ case 2:
864
+ setIsLoading(true);
865
+ _context.prev = 3;
866
+ _context.next = 6;
867
+ return onPress(e);
868
+
869
+ case 6:
870
+ if (mountedRef.current) {
871
+ setIsLoading(false);
872
+ }
873
+
874
+ _context.next = 13;
875
+ break;
876
+
877
+ case 9:
878
+ _context.prev = 9;
879
+ _context.t0 = _context["catch"](3);
880
+
881
+ if (mountedRef.current) {
882
+ setIsLoading(false);
883
+ }
884
+
885
+ throw _context.t0;
886
+
887
+ case 13:
888
+ case "end":
889
+ return _context.stop();
890
+ }
891
+ }
892
+ }, _callee, null, [[3, 9]]);
893
+ }));
894
+
895
+ return function () {
896
+ return _ref2.apply(this, arguments);
897
+ };
898
+ }();
899
+
900
+ callPressAndUpdateLoadingState();
901
+ }
902
+ }))
903
+ });
904
+ }
905
+
906
+ function ActionsButton(_ref) {
907
+ var props = _extends({}, _ref);
908
+
909
+ return /*#__PURE__*/jsx(ActionsItem, _objectSpread({
910
+ as: Button
911
+ }, props));
912
+ }
913
+
914
+ var _excluded$j = ["children"];
915
+ function Actions(_ref) {
916
+ var children = _ref.children,
917
+ props = _objectWithoutProperties(_ref, _excluded$j);
918
+
919
+ return /*#__PURE__*/jsx(Stack, _objectSpread(_objectSpread({
920
+ alignItems: {
921
+ base: 'stretch',
922
+ medium: 'center'
923
+ },
924
+ direction: {
925
+ base: 'column',
926
+ medium: 'row'
927
+ },
928
+ flex: 1
929
+ }, props), {}, {
930
+ space: "kitt.3",
931
+ children: children
932
+ }));
933
+ }
934
+ Actions.Button = ActionsButton;
935
+ Actions.Item = ActionsItem;
936
+
937
+ var _excluded$i = ["size", "round", "light", "sizeVariant"];
938
+
939
+ var getInitials = function (firstname, lastname) {
940
+ return "".concat(firstname[0]).concat(lastname[0]).toUpperCase();
941
+ };
942
+
943
+ var StyledAvatarView = /*#__PURE__*/styled.View.withConfig({
944
+ displayName: "Avatar__StyledAvatarView"
945
+ })(["border-radius:", ";background-color:", ";height:", "px;width:", "px;overflow:hidden;align-items:center;justify-content:center;"], function (_ref) {
946
+ var theme = _ref.theme,
947
+ $isRound = _ref.$isRound,
948
+ $size = _ref.$size,
949
+ $sizeVariant = _ref.$sizeVariant;
950
+ if ($isRound) return "".concat($size / 2, "px");
951
+ return "".concat($sizeVariant === 'large' ? theme.kitt.avatar.large.borderRadius : theme.kitt.avatar.borderRadius, "px");
952
+ }, function (_ref2) {
953
+ var theme = _ref2.theme,
954
+ $isLight = _ref2.$isLight;
955
+ return $isLight ? theme.kitt.avatar.light.backgroundColor : theme.kitt.avatar["default"].backgroundColor;
956
+ }, function (_ref3) {
957
+ var $size = _ref3.$size;
958
+ return $size;
959
+ }, function (_ref4) {
960
+ var $size = _ref4.$size;
961
+ return $size;
962
+ });
963
+
964
+ function AvatarContent(_ref5) {
965
+ var size = _ref5.size,
966
+ src = _ref5.src,
967
+ firstname = _ref5.firstname,
968
+ lastname = _ref5.lastname,
969
+ alt = _ref5.alt,
970
+ isLight = _ref5.isLight,
971
+ sizeVariant = _ref5.sizeVariant;
972
+
973
+ if (src) {
974
+ return /*#__PURE__*/jsx(Image, {
975
+ source: {
976
+ uri: src
977
+ },
978
+ style: {
979
+ width: size,
980
+ height: size
981
+ },
982
+ accessibilityLabel: alt
983
+ });
984
+ }
985
+
986
+ if (firstname && lastname) {
987
+ return /*#__PURE__*/jsx(Typography.Text, {
988
+ base: sizeVariant === 'large' ? 'body-large' : 'body-small',
989
+ variant: sizeVariant === 'large' ? 'bold' : 'regular',
990
+ color: isLight ? 'black' : 'white',
991
+ children: getInitials(firstname, lastname)
992
+ });
993
+ }
994
+
995
+ return /*#__PURE__*/jsx(Icon, {
996
+ icon: /*#__PURE__*/jsx(UserIcon, {}),
997
+ color: isLight ? 'black' : 'white',
998
+ size: size / 2
999
+ });
1000
+ }
1001
+
1002
+ function Avatar(_ref6) {
1003
+ var _ref6$size = _ref6.size,
1004
+ size = _ref6$size === void 0 ? 40 : _ref6$size,
1005
+ round = _ref6.round,
1006
+ light = _ref6.light,
1007
+ sizeVariant = _ref6.sizeVariant,
1008
+ props = _objectWithoutProperties(_ref6, _excluded$i);
1009
+
1010
+ return /*#__PURE__*/jsx(StyledAvatarView, {
1011
+ $size: size,
1012
+ $isRound: round,
1013
+ $isLight: light,
1014
+ $sizeVariant: sizeVariant,
1015
+ children: /*#__PURE__*/jsx(AvatarContent, _objectSpread({
1016
+ size: size,
1017
+ isLight: light,
1018
+ sizeVariant: sizeVariant
1019
+ }, props))
1020
+ });
1021
+ }
825
1022
 
826
1023
  var Container$5 = /*#__PURE__*/styled.View.withConfig({
827
1024
  displayName: "Card__Container"
@@ -852,6 +1049,88 @@ function Card(_ref6) {
852
1049
  });
853
1050
  }
854
1051
 
1052
+ var useNativeAnimation = function (_ref) {
1053
+ var selected = _ref.selected,
1054
+ disabled = _ref.disabled,
1055
+ isPressedInternal = _ref.isPressedInternal;
1056
+ var theme = /*#__PURE__*/useTheme();
1057
+ var pressed = useSharedValue(Boolean(isPressedInternal));
1058
+ var progress = useDerivedValue(function () {
1059
+ var _f = function () {
1060
+ return withTiming(pressed.value ? 1 : 0, {
1061
+ duration: theme.kitt.choices.item.transition.duration
1062
+ });
1063
+ };
1064
+
1065
+ _f._closure = {
1066
+ withTiming: withTiming,
1067
+ pressed: pressed,
1068
+ theme: {
1069
+ kitt: {
1070
+ choices: {
1071
+ item: {
1072
+ transition: {
1073
+ duration: theme.kitt.choices.item.transition.duration
1074
+ }
1075
+ }
1076
+ }
1077
+ }
1078
+ }
1079
+ };
1080
+ _f.asString = "function _f(){const{withTiming,pressed,theme}=jsThis._closure;{return withTiming(pressed.value?1:0,{duration:theme.kitt.choices.item.transition.duration});}}";
1081
+ _f.__workletHash = 1120030177160;
1082
+ _f.__location = "/home/circleci/repo/@ornikar/kitt-universal/src/Choices/hooks/useNativeAnimation.tsx (31:35)";
1083
+ return _f;
1084
+ }());
1085
+ var backgroundStyles = useAnimatedStyle(function () {
1086
+ var _f = function () {
1087
+ var _theme$kitt$choices$i = theme.kitt.choices.item.backgroundColor,
1088
+ defaultBg = _theme$kitt$choices$i["default"],
1089
+ pressedBg = _theme$kitt$choices$i.pressed,
1090
+ selectedBg = _theme$kitt$choices$i.selected,
1091
+ disabledBg = _theme$kitt$choices$i.disabled;
1092
+ if (disabled) return {
1093
+ backgroundColor: disabledBg
1094
+ };
1095
+ if (selected) return {
1096
+ backgroundColor: selectedBg
1097
+ };
1098
+ return {
1099
+ backgroundColor: interpolateColor(progress.value, [0, 1], [defaultBg, pressedBg])
1100
+ };
1101
+ };
1102
+
1103
+ _f._closure = {
1104
+ theme: {
1105
+ kitt: {
1106
+ choices: {
1107
+ item: {
1108
+ backgroundColor: theme.kitt.choices.item.backgroundColor
1109
+ }
1110
+ }
1111
+ }
1112
+ },
1113
+ disabled: disabled,
1114
+ selected: selected,
1115
+ interpolateColor: interpolateColor,
1116
+ progress: progress
1117
+ };
1118
+ _f.asString = "function _f(){const{theme,disabled,selected,interpolateColor,progress}=jsThis._closure;{const{default:defaultBg,pressed:pressedBg,selected:selectedBg,disabled:disabledBg}=theme.kitt.choices.item.backgroundColor;if(disabled)return{backgroundColor:disabledBg};if(selected)return{backgroundColor:selectedBg};return{backgroundColor:interpolateColor(progress.value,[0,1],[defaultBg,pressedBg])};}}";
1119
+ _f.__workletHash = 15506726129309;
1120
+ _f.__location = "/home/circleci/repo/@ornikar/kitt-universal/src/Choices/hooks/useNativeAnimation.tsx (35:44)";
1121
+ return _f;
1122
+ }());
1123
+ return {
1124
+ onPressIn: function onPressIn() {
1125
+ pressed.value = true;
1126
+ },
1127
+ onPressOut: function onPressOut() {
1128
+ pressed.value = false;
1129
+ },
1130
+ backgroundStyles: backgroundStyles
1131
+ };
1132
+ };
1133
+
855
1134
  function getCurrentTextColor(_ref) {
856
1135
  var isDisabled = _ref.isDisabled,
857
1136
  isSelected = _ref.isSelected,
@@ -870,7 +1149,7 @@ function getBorderRadius(defaultRadius, variant) {
870
1149
  return defaultRadius;
871
1150
  }
872
1151
 
873
- var DisabledBorder = /*#__PURE__*/styled(View$1).withConfig({
1152
+ var DisabledBorder = /*#__PURE__*/styled(View$2).withConfig({
874
1153
  displayName: "ChoiceItem__DisabledBorder"
875
1154
  })(["border-radius:", "px;", ";"], function (_ref2) {
876
1155
  var theme = _ref2.theme,
@@ -883,7 +1162,7 @@ var DisabledBorder = /*#__PURE__*/styled(View$1).withConfig({
883
1162
  color = _theme$kitt$choices$i.color;
884
1163
  return css(["border:", "px solid ", ";"], width, color);
885
1164
  });
886
- var ChoiceItemView = /*#__PURE__*/styled(Animated.View).withConfig({
1165
+ var ChoiceItemView = /*#__PURE__*/styled(Platform.OS === 'web' ? View$2 : Animated.View).withConfig({
887
1166
  displayName: "ChoiceItem__ChoiceItemView"
888
1167
  })(["position:relative;border-radius:", "px;background-color:", ";", ";", ""], function (_ref4) {
889
1168
  var theme = _ref4.theme,
@@ -939,73 +1218,15 @@ function ChoiceItem(_ref8) {
939
1218
  onChange = _ref8.onChange,
940
1219
  onBlur = _ref8.onBlur,
941
1220
  onFocus = _ref8.onFocus;
942
- var theme = /*#__PURE__*/useTheme();
943
- var pressed = useSharedValue(Boolean(isPressedInternal));
944
- var progress = useDerivedValue(function () {
945
- var _f = function () {
946
- return withTiming(pressed.value ? 1 : 0, {
947
- duration: theme.kitt.choices.item.transition.duration
948
- });
949
- };
950
-
951
- _f._closure = {
952
- withTiming: withTiming,
953
- pressed: pressed,
954
- theme: {
955
- kitt: {
956
- choices: {
957
- item: {
958
- transition: {
959
- duration: theme.kitt.choices.item.transition.duration
960
- }
961
- }
962
- }
963
- }
964
- }
965
- };
966
- _f.asString = "function _f(){const{withTiming,pressed,theme}=jsThis._closure;{return withTiming(pressed.value?1:0,{duration:theme.kitt.choices.item.transition.duration});}}";
967
- _f.__workletHash = 1120030177160;
968
- _f.__location = "/home/circleci/repo/@ornikar/kitt-universal/src/Choices/ChoiceItem.tsx (180:35)";
969
- return _f;
970
- }());
971
- var backgroundStyles = useAnimatedStyle(function () {
972
- var _f = function () {
973
- var _theme$kitt$choices$i5 = theme.kitt.choices.item.backgroundColor,
974
- defaultBg = _theme$kitt$choices$i5["default"],
975
- pressedBg = _theme$kitt$choices$i5.pressed,
976
- selectedBg = _theme$kitt$choices$i5.selected,
977
- disabledBg = _theme$kitt$choices$i5.disabled;
978
- if (disabled) return {
979
- backgroundColor: disabledBg
980
- };
981
- if (selected) return {
982
- backgroundColor: selectedBg
983
- };
984
- return {
985
- backgroundColor: interpolateColor(progress.value, [0, 1], [defaultBg, pressedBg])
986
- };
987
- };
988
1221
 
989
- _f._closure = {
990
- theme: {
991
- kitt: {
992
- choices: {
993
- item: {
994
- backgroundColor: theme.kitt.choices.item.backgroundColor
995
- }
996
- }
997
- }
998
- },
999
- disabled: disabled,
1000
- selected: selected,
1001
- interpolateColor: interpolateColor,
1002
- progress: progress
1003
- };
1004
- _f.asString = "function _f(){const{theme,disabled,selected,interpolateColor,progress}=jsThis._closure;{const{default:defaultBg,pressed:pressedBg,selected:selectedBg,disabled:disabledBg}=theme.kitt.choices.item.backgroundColor;if(disabled)return{backgroundColor:disabledBg};if(selected)return{backgroundColor:selectedBg};return{backgroundColor:interpolateColor(progress.value,[0,1],[defaultBg,pressedBg])};}}";
1005
- _f.__workletHash = 15506726129309;
1006
- _f.__location = "/home/circleci/repo/@ornikar/kitt-universal/src/Choices/ChoiceItem.tsx (184:44)";
1007
- return _f;
1008
- }());
1222
+ var _useNativeAnimation = useNativeAnimation({
1223
+ selected: selected,
1224
+ disabled: disabled,
1225
+ isPressedInternal: isPressedInternal
1226
+ }),
1227
+ onPressIn = _useNativeAnimation.onPressIn,
1228
+ onPressOut = _useNativeAnimation.onPressOut,
1229
+ backgroundStyles = _useNativeAnimation.backgroundStyles;
1009
1230
 
1010
1231
  var handleChange = function () {
1011
1232
  if (!onChange) return; // Checkbox can be toggled
@@ -1018,7 +1239,7 @@ function ChoiceItem(_ref8) {
1018
1239
  onChange(value);
1019
1240
  };
1020
1241
 
1021
- return /*#__PURE__*/jsx(Pressable$1, {
1242
+ return /*#__PURE__*/jsx(Pressable, {
1022
1243
  disabled: disabled,
1023
1244
  accessibilityRole: type,
1024
1245
  accessibilityState: {
@@ -1032,12 +1253,8 @@ function ChoiceItem(_ref8) {
1032
1253
  handleChange();
1033
1254
  if (onBlur) onBlur(e);
1034
1255
  },
1035
- onPressIn: function onPressIn() {
1036
- pressed.value = true;
1037
- },
1038
- onPressOut: function onPressOut() {
1039
- pressed.value = false;
1040
- },
1256
+ onPressIn: onPressIn,
1257
+ onPressOut: onPressOut,
1041
1258
  children: function children(_ref9) {
1042
1259
  var isHovered = _ref9.isHovered,
1043
1260
  isPressed = _ref9.isPressed;
@@ -1065,7 +1282,7 @@ function ChoiceItem(_ref8) {
1065
1282
  });
1066
1283
  }
1067
1284
 
1068
- var ChoiceItemContainer = /*#__PURE__*/styled(View$1).withConfig({
1285
+ var ChoiceItemContainer = /*#__PURE__*/styled(View$2).withConfig({
1069
1286
  displayName: "ChoiceItemContainer"
1070
1287
  })(["", ""], function (_ref) {
1071
1288
  var theme = _ref.theme,
@@ -1089,12 +1306,12 @@ function ChoicesContainer(_ref) {
1089
1306
  props = _objectWithoutProperties(_ref, _excluded$h);
1090
1307
 
1091
1308
  if (direction === 'row') {
1092
- return /*#__PURE__*/jsx(ScrollView$1, _objectSpread({
1309
+ return /*#__PURE__*/jsx(ScrollView$2, _objectSpread({
1093
1310
  horizontal: true
1094
1311
  }, props));
1095
1312
  }
1096
1313
 
1097
- return /*#__PURE__*/jsx(View$1, _objectSpread({}, props));
1314
+ return /*#__PURE__*/jsx(View$2, _objectSpread({}, props));
1098
1315
  }
1099
1316
 
1100
1317
  function Choices(_ref2) {
@@ -1751,8 +1968,14 @@ var input = {
1751
1968
  };
1752
1969
 
1753
1970
  var inputField = {
1971
+ containerPaddingTop: 5,
1972
+ containerPaddingBottom: 10,
1973
+ feedbackPaddingTop: {
1974
+ base: 5,
1975
+ small: 10
1976
+ },
1754
1977
  labelContainerPaddingBottom: 5,
1755
- iconMarginLeft: 6
1978
+ labelFeedbackMarginLeft: 6
1756
1979
  };
1757
1980
 
1758
1981
  var inputTag = {
@@ -2009,28 +2232,6 @@ var theme = {
2009
2232
  navigationModal: navigationModal
2010
2233
  };
2011
2234
 
2012
- function matchWindowSize(_ref, _ref2) {
2013
- var width = _ref.width,
2014
- height = _ref.height;
2015
- var minWidth = _ref2.minWidth,
2016
- maxWidth = _ref2.maxWidth,
2017
- minHeight = _ref2.minHeight,
2018
- maxHeight = _ref2.maxHeight;
2019
- var hasWidthMatched = width ? (!minWidth || width >= minWidth) && (!maxWidth || width <= maxWidth) : true;
2020
- var hasHeightMatched = height ? (!minHeight || height >= minHeight) && (!maxHeight || height <= maxHeight) : true;
2021
- return hasWidthMatched && hasHeightMatched;
2022
- }
2023
- function useMatchWindowSize(options) {
2024
- var _useWindowDimensions = useWindowDimensions(),
2025
- width = _useWindowDimensions.width,
2026
- height = _useWindowDimensions.height;
2027
-
2028
- return matchWindowSize({
2029
- width: width,
2030
- height: height
2031
- }, options);
2032
- }
2033
-
2034
2235
  function createWindowSizeHelper(dimensions) {
2035
2236
  return {
2036
2237
  matchWindowSize: function matchWindowSize$1(options) {
@@ -2382,7 +2583,7 @@ var BodyView = /*#__PURE__*/styled.View.withConfig({
2382
2583
  });
2383
2584
  function ModalBody(_ref3) {
2384
2585
  var children = _ref3.children;
2385
- return /*#__PURE__*/jsx(ScrollView$1, {
2586
+ return /*#__PURE__*/jsx(ScrollView$2, {
2386
2587
  children: /*#__PURE__*/jsx(BodyView, {
2387
2588
  children: children
2388
2589
  })
@@ -3086,40 +3287,25 @@ function InputFeedback(_ref) {
3086
3287
  });
3087
3288
  }
3088
3289
 
3089
- var FieldContainer = /*#__PURE__*/styled.View.withConfig({
3090
- displayName: "InputField__FieldContainer"
3091
- })(["padding:5px 0 10px;"]);
3092
- var FeedbackContainer = /*#__PURE__*/styled.View.withConfig({
3093
- displayName: "InputField__FeedbackContainer"
3094
- })(["", ";"], function (_ref) {
3095
- var theme = _ref.theme;
3096
- return theme.responsive.ifWindowSizeMatches({
3097
- minWidth: KittBreakpoints.SMALL
3098
- }, 'padding-top: 10px', 'padding-top: 5px');
3099
- });
3100
- var FieldLabelContainer = /*#__PURE__*/styled.View.withConfig({
3101
- displayName: "InputField__FieldLabelContainer"
3102
- })(["flex-direction:row;align-items:center;padding-bottom:", "px;"], function (_ref2) {
3103
- var theme = _ref2.theme;
3104
- return theme.kitt.forms.inputField.labelContainerPaddingBottom;
3105
- });
3106
- var LabelContainer = /*#__PURE__*/styled.View.withConfig({
3107
- displayName: "InputField__LabelContainer"
3108
- })(["margin-right:", "px;"], function (_ref3) {
3109
- var theme = _ref3.theme;
3110
- return theme.kitt.forms.inputField.iconMarginLeft;
3111
- });
3112
- function InputField(_ref4) {
3113
- var label = _ref4.label,
3114
- labelFeedback = _ref4.labelFeedback,
3115
- input = _ref4.input,
3116
- feedback = _ref4.feedback;
3117
- return /*#__PURE__*/jsxs(FieldContainer, {
3118
- children: [label ? /*#__PURE__*/jsxs(FieldLabelContainer, {
3119
- children: [/*#__PURE__*/jsx(LabelContainer, {
3290
+ function InputField(_ref) {
3291
+ var label = _ref.label,
3292
+ labelFeedback = _ref.labelFeedback,
3293
+ input = _ref.input,
3294
+ feedback = _ref.feedback;
3295
+ var theme = /*#__PURE__*/useTheme();
3296
+ return /*#__PURE__*/jsxs(View, {
3297
+ paddingTop: theme.kitt.forms.inputField.containerPaddingTop,
3298
+ paddingBottom: theme.kitt.forms.inputField.containerPaddingBottom,
3299
+ children: [label ? /*#__PURE__*/jsxs(View, {
3300
+ flexDirection: "row",
3301
+ alignItems: "center",
3302
+ paddingBottom: theme.kitt.forms.inputField.labelContainerPaddingBottom,
3303
+ children: [/*#__PURE__*/jsx(View, {
3304
+ marginRight: theme.kitt.forms.inputField.labelFeedbackMarginLeft,
3120
3305
  children: label
3121
3306
  }), labelFeedback]
3122
- }) : null, input, feedback ? /*#__PURE__*/jsx(FeedbackContainer, {
3307
+ }) : null, input, feedback ? /*#__PURE__*/jsx(View, {
3308
+ paddingTop: theme.kitt.forms.inputField.feedbackPaddingTop,
3123
3309
  children: feedback
3124
3310
  }) : null]
3125
3311
  });
@@ -3202,7 +3388,7 @@ var getTypographyColor = function (type) {
3202
3388
  return type ? 'white' : 'black';
3203
3389
  };
3204
3390
 
3205
- var InputTagContainer = /*#__PURE__*/styled(View$1).withConfig({
3391
+ var InputTagContainer = /*#__PURE__*/styled(View$2).withConfig({
3206
3392
  displayName: "InputTag__InputTagContainer"
3207
3393
  })(["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) {
3208
3394
  var theme = _ref.theme;
@@ -3224,7 +3410,7 @@ var InputTagContainer = /*#__PURE__*/styled(View$1).withConfig({
3224
3410
  var theme = _ref3.theme;
3225
3411
  return theme.kitt.forms.inputTag.borderRadius;
3226
3412
  });
3227
- var IconContainer = /*#__PURE__*/styled(View$1).withConfig({
3413
+ var IconContainer = /*#__PURE__*/styled(View$2).withConfig({
3228
3414
  displayName: "InputTag__IconContainer"
3229
3415
  })(["margin-right:", "px;"], function (_ref4) {
3230
3416
  var theme = _ref4.theme;
@@ -3524,47 +3710,6 @@ function FullScreenModal(_ref2) {
3524
3710
  FullScreenModal.Header = FullScreenModalHeader;
3525
3711
  FullScreenModal.Body = FullScreenModalBody;
3526
3712
 
3527
- function SpinningIcon(_ref) {
3528
- var icon = _ref.icon,
3529
- color = _ref.color;
3530
-
3531
- if (process.env.NODE_ENV !== 'production' && !color) {
3532
- throw new Error("Invalid color passed to SpinningIcon: ".concat(String(color)));
3533
- }
3534
-
3535
- var clonedIcon = /*#__PURE__*/cloneElement(icon, {
3536
- color: color
3537
- });
3538
- var animationRef = useRef(new Animated$1.Value(0));
3539
- var rotation = animationRef.current.interpolate({
3540
- inputRange: [0, 1],
3541
- outputRange: ['0deg', '360deg']
3542
- });
3543
- useEffect(function () {
3544
- if (process.env.NODE_ENV === 'test') return undefined;
3545
- var animation = Animated$1.loop(Animated$1.timing(animationRef.current, {
3546
- toValue: 1,
3547
- duration: 1100,
3548
- easing: Easing.linear,
3549
- useNativeDriver: true
3550
- }));
3551
- animation.start();
3552
- return function () {
3553
- if (process.env.NODE_ENV === 'test') return undefined;
3554
- animation.stop();
3555
- return undefined;
3556
- };
3557
- }, []);
3558
- return /*#__PURE__*/jsx(Animated$1.View, {
3559
- style: {
3560
- transform: [{
3561
- rotate: rotation
3562
- }]
3563
- },
3564
- children: clonedIcon
3565
- });
3566
- }
3567
-
3568
3713
  var _excluded$7 = ["children"];
3569
3714
  var ContentView = /*#__PURE__*/styled.View.withConfig({
3570
3715
  displayName: "ListItemContent__ContentView"
@@ -3691,14 +3836,6 @@ ListItem.Content = ListItemContent;
3691
3836
  ListItem.SideContent = ListItemSideContent;
3692
3837
  ListItem.SideContainer = ListItemSideContainer;
3693
3838
 
3694
- function LoaderIcon(_ref) {
3695
- var color = _ref.color;
3696
- return /*#__PURE__*/jsx(SpinningIcon, {
3697
- color: color,
3698
- icon: /*#__PURE__*/jsx(ArcIcon, {})
3699
- });
3700
- }
3701
-
3702
3839
  function IconContent(_ref) {
3703
3840
  var type = _ref.type,
3704
3841
  color = _ref.color;
@@ -3884,7 +4021,7 @@ function CloseButton(_ref) {
3884
4021
  });
3885
4022
  }
3886
4023
 
3887
- var ModalBehaviourContainer = /*#__PURE__*/styled(View$1).withConfig({
4024
+ var ModalBehaviourContainer = /*#__PURE__*/styled(View$2).withConfig({
3888
4025
  displayName: "ModalBehaviour__ModalBehaviourContainer"
3889
4026
  })(["", ""], function () {
3890
4027
  if (Platform.OS !== 'web') return undefined;
@@ -4051,16 +4188,8 @@ function KittNativeBaseProvider(_ref) {
4051
4188
  });
4052
4189
  }
4053
4190
 
4054
- var Stack = Stack$1;
4055
- var VStack = VStack$1;
4056
- var HStack = HStack$1;
4057
-
4058
- var View = View$2;
4059
- var ScrollView = ScrollView$2;
4060
- var Pressable = Pressable$1;
4061
-
4062
4191
  var _excluded$4 = ["children"];
4063
- var ViewWithPadding = /*#__PURE__*/styled(View$1).withConfig({
4192
+ var ViewWithPadding = /*#__PURE__*/styled(View$2).withConfig({
4064
4193
  displayName: "ContentPadding__ViewWithPadding"
4065
4194
  })(["padding:", ";"], function (_ref) {
4066
4195
  var theme = _ref.theme;
@@ -4166,7 +4295,7 @@ var HeaderContainer = /*#__PURE__*/styled(ContentPadding).withConfig({
4166
4295
  return theme.kitt.colors.separator;
4167
4296
  });
4168
4297
  });
4169
- var Row = /*#__PURE__*/styled(View$1).withConfig({
4298
+ var Row = /*#__PURE__*/styled(View$2).withConfig({
4170
4299
  displayName: "Header__Row"
4171
4300
  })(["flex-direction:row;justify-content:", ";align-items:center;"], function (_ref7) {
4172
4301
  var $hasContent = _ref7.$hasContent,
@@ -4179,7 +4308,7 @@ var ButtonContainer = /*#__PURE__*/styled.View.withConfig({
4179
4308
  var theme = _ref8.theme;
4180
4309
  return theme.kitt.iconButton.width;
4181
4310
  });
4182
- var ChildrenComponent = /*#__PURE__*/styled(View$1).withConfig({
4311
+ var ChildrenComponent = /*#__PURE__*/styled(View$2).withConfig({
4183
4312
  displayName: "Header__ChildrenComponent"
4184
4313
  })(["flex:1;align-items:center;", ";"], function (_ref9) {
4185
4314
  var theme = _ref9.theme,
@@ -4238,7 +4367,7 @@ function Header(_ref12) {
4238
4367
  });
4239
4368
  }
4240
4369
 
4241
- var NavigationModalContainer = /*#__PURE__*/styled(View$1).withConfig({
4370
+ var NavigationModalContainer = /*#__PURE__*/styled(View$2).withConfig({
4242
4371
  displayName: "NavigationModalContainer"
4243
4372
  })(["position:relative;background-color:", ";flex:1;", ""], function (_ref) {
4244
4373
  var theme = _ref.theme,
@@ -4249,7 +4378,7 @@ var NavigationModalContainer = /*#__PURE__*/styled(View$1).withConfig({
4249
4378
  return css(["min-height:100vh;"]);
4250
4379
  });
4251
4380
 
4252
- var ContainerWithoutHeader = /*#__PURE__*/styled(View$1).withConfig({
4381
+ var ContainerWithoutHeader = /*#__PURE__*/styled(View$2).withConfig({
4253
4382
  displayName: "NavigationModal__ContainerWithoutHeader"
4254
4383
  })(["justify-content:space-between;flex:1;"]);
4255
4384
  function NavigationModal(_ref) {
@@ -4259,10 +4388,10 @@ function NavigationModal(_ref) {
4259
4388
  backgroundColor = _ref.backgroundColor;
4260
4389
  return /*#__PURE__*/jsxs(NavigationModalContainer, {
4261
4390
  $backgroundColor: backgroundColor,
4262
- children: [header ? /*#__PURE__*/jsx(View$1, {
4391
+ children: [header ? /*#__PURE__*/jsx(View$2, {
4263
4392
  children: header
4264
4393
  }) : null, /*#__PURE__*/jsxs(ContainerWithoutHeader, {
4265
- children: [/*#__PURE__*/jsx(ScrollView$1, {
4394
+ children: [/*#__PURE__*/jsx(ScrollView$2, {
4266
4395
  bounces: false,
4267
4396
  contentContainerStyle: {
4268
4397
  flexGrow: 1,
@@ -4542,7 +4671,7 @@ function Picker(_ref) {
4542
4671
  color: item.props.value === value ? theme.picker.ios.selected.color : undefined
4543
4672
  });
4544
4673
  })
4545
- }) : /*#__PURE__*/jsx(ScrollView$1, {
4674
+ }) : /*#__PURE__*/jsx(ScrollView$2, {
4546
4675
  testID: testID,
4547
4676
  children: React.Children.map(children, function (child) {
4548
4677
  var item = child;
@@ -4630,7 +4759,7 @@ function SkeletonContent(_ref3) {
4630
4759
  });
4631
4760
  }
4632
4761
 
4633
- var SkeletonContainer = /*#__PURE__*/styled(View$1).withConfig({
4762
+ var SkeletonContainer = /*#__PURE__*/styled(View$2).withConfig({
4634
4763
  displayName: "Skeleton__SkeletonContainer"
4635
4764
  })(["overflow:hidden;"]);
4636
4765
  function Skeleton(_ref) {
@@ -5134,7 +5263,7 @@ function ModalDateTimePicker(_ref2) {
5134
5263
  }) : null, /*#__PURE__*/jsx(Modal.Body, {
5135
5264
  children: /*#__PURE__*/jsx(DateTimePicker, {
5136
5265
  is24Hour: true,
5137
- testID: "date-picker-native-element",
5266
+ testID: "timePicker.ModalDateTimePicker.dateTimeNativePicker",
5138
5267
  value: currentValue,
5139
5268
  mode: "time",
5140
5269
  display: Platform.OS === 'ios' ? 'spinner' : 'default',
@@ -5241,7 +5370,7 @@ function TimePicker(_ref) {
5241
5370
  children: displayedValue
5242
5371
  }), Platform.OS === 'android' && isTimePickerModalVisible ? /*#__PURE__*/jsx(DateTimePicker, {
5243
5372
  is24Hour: true,
5244
- testID: "date-picker-native-element",
5373
+ testID: "timePicker.TimePicker.dateTimeNativePicker",
5245
5374
  value: dateTimePickerValue,
5246
5375
  mode: "time",
5247
5376
  display: "default",
@@ -5280,7 +5409,7 @@ var StyledTooltipContent = /*#__PURE__*/styled.View.withConfig({
5280
5409
 
5281
5410
  function ArrowView(props) {
5282
5411
  var theme = /*#__PURE__*/useTheme();
5283
- return /*#__PURE__*/jsx(View$1, _objectSpread(_objectSpread({}, props), {}, {
5412
+ return /*#__PURE__*/jsx(View$2, _objectSpread(_objectSpread({}, props), {}, {
5284
5413
  children: /*#__PURE__*/jsx(TooltipArrowIcon, {
5285
5414
  color: theme.kitt.tooltip.backgroundColor
5286
5415
  })
@@ -5386,7 +5515,7 @@ function Tooltip(_ref) {
5386
5515
  });
5387
5516
  }, [x, y, reference, floating, update, refs, middlewareData, onUpdate]);
5388
5517
  return /*#__PURE__*/jsxs(TooltipContainer, {
5389
- children: [/*#__PURE__*/jsx(View$1, {
5518
+ children: [/*#__PURE__*/jsx(View$2, {
5390
5519
  ref: reference,
5391
5520
  children: /*#__PURE__*/jsx(Pressable$2, {
5392
5521
  accessibilityRole: "button",
@@ -5395,7 +5524,7 @@ function Tooltip(_ref) {
5395
5524
  },
5396
5525
  children: children
5397
5526
  })
5398
- }), /*#__PURE__*/jsx(View$1, {
5527
+ }), /*#__PURE__*/jsx(View$2, {
5399
5528
  ref: floating,
5400
5529
  accessibilityElementsHidden: !pressed.value,
5401
5530
  importantForAccessibility: pressed.value === true ? 'auto' : 'no-hide-descendants',
@@ -5619,5 +5748,5 @@ function MatchWindowSize(_ref) {
5619
5748
  return children;
5620
5749
  }
5621
5750
 
5622
- export { Avatar, Button, Card, Checkbox, ChoicesElements, DatePicker, Emoji, ExternalAppLink, ExternalLink, Flex, FullScreenModal, HStack, Icon, IconButton, InputEmail, InputFeedback, InputField, InputIcon, InputPassword, InputPhone, InputPressable, InputTag, InputText, KittBreakpoints, KittBreakpointsMax, KittNativeBaseProvider, KittThemeDecorator, KittThemeProvider, Label, ListItem, LoaderIcon, MatchWindowSize, Message, Modal, ModalBehaviour, NavigationModal, Notification, Overlay, PageLoader, Picker, Pressable, Radio, ScrollView, DeprecatedSection as Section, Skeleton, SpinningIcon, Stack, Story, StoryBlock, StoryContainer, StoryDecorator, StoryGrid, StorySection, StoryTitle, StyleWebWrapper, Tag, TextArea, TimePicker, Tooltip, Typography, TypographyEmoji, TypographyIcon, TypographyLink, VStack, View, createChoicesComponent, createWindowSizeHelper, hex2rgba, matchWindowSize, styledTextInputMixin, theme, useKittTheme, useMatchWindowSize, useStoryBlockColor, withTheme };
5751
+ export { Actions, Avatar, Button, Card, Checkbox, ChoicesElements, DatePicker, Emoji, ExternalAppLink, ExternalLink, Flex, FullScreenModal, HStack, Icon, IconButton, InputEmail, InputFeedback, InputField, InputIcon, InputPassword, InputPhone, InputPressable, InputTag, InputText, KittBreakpoints, KittBreakpointsMax, KittNativeBaseProvider, KittThemeDecorator, KittThemeProvider, Label, ListItem, LoaderIcon, MatchWindowSize, Message, Modal, ModalBehaviour, NavigationModal, Notification, Overlay, PageLoader, Picker, Pressable, Radio, ScrollView, DeprecatedSection as Section, Skeleton, SpinningIcon, Stack, Story, StoryBlock, StoryContainer, StoryDecorator, StoryGrid, StorySection, StoryTitle, StyleWebWrapper, Tag, TextArea, TimePicker, Tooltip, Typography, TypographyEmoji, TypographyIcon, TypographyLink, VStack, View, createChoicesComponent, createWindowSizeHelper, hex2rgba, matchWindowSize, styledTextInputMixin, theme, useKittTheme, useMatchWindowSize, useStoryBlockColor, withTheme };
5623
5752
  //# sourceMappingURL=index-browser-all.es.js.map