@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,22 +1,22 @@
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
- import _extends from '@babel/runtime/helpers/extends';
20
20
  import { useSafeAreaInsets } from 'react-native-safe-area-context';
21
21
  import Svg, { Circle as Circle$1 } from 'react-native-svg';
22
22
  import { Picker as Picker$1 } from '@react-native-picker/picker';
@@ -24,39 +24,173 @@ import { LinearGradient } from 'expo-linear-gradient';
24
24
  import { useFloating, offset, shift, flip } from '@floating-ui/react-native';
25
25
  import { makeDecorator } from '@storybook/addons';
26
26
 
27
- var defaultIconSize = 20;
28
- var IconContainer$1 = /*#__PURE__*/styled.View.withConfig({
29
- displayName: "Icon__IconContainer"
30
- })(["color:", ";width:", "px;height:", "px;align-self:", ";"], function (_ref) {
31
- var $color = _ref.$color;
32
- return $color;
27
+ var Stack = Stack$1;
28
+ var VStack = VStack$1;
29
+ var HStack = HStack$1;
30
+
31
+ function warn(message) {
32
+ if (process.env.NODE_ENV !== 'production') {
33
+ console.warn(message);
34
+ }
35
+ }
36
+ function deprecatedMessage(symbol, deprecation, replaceBy) {
37
+ var replaceMessage = replaceBy === undefined ? '' : ", please use ".concat(replaceBy, " instead");
38
+ warn("[Deprecation] in ".concat(symbol, ": ").concat(deprecation, " is deprecated").concat(replaceMessage, "."));
39
+ }
40
+ function deprecatedInComponent(component, deprecation, replaceBy) {
41
+ deprecatedMessage("<".concat(component, " />"), deprecation, replaceBy);
42
+ }
43
+
44
+ var hasVariant = function (button, variant) {
45
+ return variant in button;
46
+ };
47
+
48
+ function getVariantValuesIfExist(theme, type, variant) {
49
+ var button = theme.kitt.button[type];
50
+
51
+ if (hasVariant(button, variant)) {
52
+ return button[variant];
53
+ }
54
+
55
+ return theme.kitt.button[type]["default"];
56
+ }
57
+
58
+ var StyledPressable = /*#__PURE__*/styled.Pressable.withConfig({
59
+ displayName: "AnimatedButtonPressable__StyledPressable"
60
+ })(["", ""], function (_ref) {
61
+ var $isStretch = _ref.$isStretch;
62
+ if ($isStretch) return undefined;
63
+ return 'align-self: flex-start;';
64
+ });
65
+ var StyledAnimatedView = /*#__PURE__*/styled(Animated.View).withConfig({
66
+ displayName: "AnimatedButtonPressable__StyledAnimatedView"
67
+ })(["border-radius:", "px;"], function (_ref2) {
68
+ var theme = _ref2.theme;
69
+ return theme.kitt.button.borderRadius;
70
+ });
71
+ var AnimatedButtonPressable = /*#__PURE__*/forwardRef(function (_ref3, ref) {
72
+ var children = _ref3.children,
73
+ disabled = _ref3.disabled,
74
+ accessibilityRole = _ref3.accessibilityRole,
75
+ $type = _ref3.$type,
76
+ $variant = _ref3.$variant,
77
+ $isStretch = _ref3.$isStretch,
78
+ href = _ref3.href,
79
+ hrefAttrs = _ref3.hrefAttrs,
80
+ testID = _ref3.testID,
81
+ onPress = _ref3.onPress;
82
+ var theme = /*#__PURE__*/useTheme();
83
+ var pressed = useSharedValue(0);
84
+ var color = useSharedValue(0);
85
+
86
+ var _getVariantValuesIfEx = getVariantValuesIfExist(theme, $type, $variant),
87
+ backgroundColor = _getVariantValuesIfEx.backgroundColor,
88
+ pressedBackgroundColor = _getVariantValuesIfEx.pressedBackgroundColor;
89
+
90
+ var scale = theme.kitt.button.scale;
91
+ var scaleStyles = useAnimatedStyle(function () {
92
+ var _f = function () {
93
+ return {
94
+ backgroundColor: interpolateColor(color.value, [0, 1], [backgroundColor, pressedBackgroundColor]),
95
+ transform: [{
96
+ scale: withSpring(pressed.value ? scale.base.active : scale.base["default"])
97
+ }]
98
+ };
99
+ };
100
+
101
+ _f._closure = {
102
+ interpolateColor: interpolateColor,
103
+ color: color,
104
+ backgroundColor: backgroundColor,
105
+ pressedBackgroundColor: pressedBackgroundColor,
106
+ withSpring: withSpring,
107
+ pressed: pressed,
108
+ scale: {
109
+ base: {
110
+ active: scale.base.active,
111
+ "default": scale.base["default"]
112
+ }
113
+ }
114
+ };
115
+ _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)}]};}}";
116
+ _f.__workletHash = 5368461229978;
117
+ _f.__location = "/home/circleci/repo/@ornikar/kitt-universal/src/Button/AnimatedButtonPressable.tsx (56:41)";
118
+ _f.__optimalization = 2;
119
+ return _f;
120
+ }());
121
+
122
+ var handlePressInOut = function (pressIn) {
123
+ color.value = withSpring(pressIn ? 1 : 0);
124
+ pressed.value = pressIn ? 1 : 0;
125
+ };
126
+
127
+ return /*#__PURE__*/jsx(StyledPressable, {
128
+ ref: ref,
129
+ disabled: disabled,
130
+ accessibilityRole: accessibilityRole,
131
+ testID: testID,
132
+ href: href,
133
+ hrefAttrs: hrefAttrs,
134
+ $isStretch: $isStretch,
135
+ $type: $type,
136
+ onPress: onPress,
137
+ onPressIn: function onPressIn() {
138
+ handlePressInOut(true);
139
+ },
140
+ onPressOut: function onPressOut() {
141
+ handlePressInOut(false);
142
+ },
143
+ children: /*#__PURE__*/jsx(StyledAnimatedView, {
144
+ style: disabled ? [{
145
+ transform: [{
146
+ scale: 1
147
+ }]
148
+ }] : [scaleStyles],
149
+ children: children
150
+ })
151
+ });
152
+ });
153
+
154
+ var BaseStyledButtonPressable = /*#__PURE__*/styled.View.withConfig({
155
+ displayName: "BaseStyledButtonPressable"
156
+ })(["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) {
157
+ var theme = _ref.theme;
158
+ return theme.kitt.button.minWidth;
33
159
  }, function (_ref2) {
34
- var $size = _ref2.$size;
35
- return $size;
160
+ var theme = _ref2.theme,
161
+ $isStretch = _ref2.$isStretch;
162
+ return $isStretch ? '100%' : "".concat(theme.kitt.button.maxWidth, "px");
36
163
  }, function (_ref3) {
37
- var $size = _ref3.$size;
38
- return $size;
164
+ var $isStretch = _ref3.$isStretch;
165
+ return $isStretch ? '100%' : 'auto';
39
166
  }, function (_ref4) {
40
- var _ref4$$align = _ref4.$align,
41
- $align = _ref4$$align === void 0 ? 'auto' : _ref4$$align;
42
- return $align;
167
+ var theme = _ref4.theme;
168
+ return theme.kitt.button.minHeight;
169
+ }, function (_ref5) {
170
+ var theme = _ref5.theme;
171
+ return theme.kitt.button.borderRadius;
172
+ }, function (_ref6) {
173
+ var theme = _ref6.theme,
174
+ $isDisabled = _ref6.$isDisabled,
175
+ $type = _ref6.$type,
176
+ $variant = _ref6.$variant;
177
+ if ($isDisabled) return theme.kitt.button.disabled["default"].backgroundColor;
178
+ if (Platform.OS !== 'web') return 'transparent';
179
+ return getVariantValuesIfExist(theme, $type, $variant).backgroundColor;
180
+ }, function (_ref7) {
181
+ var theme = _ref7.theme,
182
+ $size = _ref7.$size,
183
+ $isDisabled = _ref7.$isDisabled;
184
+ var _theme$kitt$button$co = theme.kitt.button.contentPadding,
185
+ large = _theme$kitt$button$co.large,
186
+ defaultPadding = _theme$kitt$button$co["default"],
187
+ disabledPadding = _theme$kitt$button$co.disabled,
188
+ xLarge = _theme$kitt$button$co.xLarge;
189
+ if ($size === 'large') return large;
190
+ if ($size === 'xlarge') return xLarge;
191
+ if ($isDisabled) return disabledPadding;
192
+ return defaultPadding;
43
193
  });
44
- function Icon(_ref5) {
45
- var icon = _ref5.icon,
46
- _ref5$size = _ref5.size,
47
- size = _ref5$size === void 0 ? defaultIconSize : _ref5$size,
48
- align = _ref5.align,
49
- color = _ref5.color;
50
- var clonedIcon = /*#__PURE__*/cloneElement(icon, {
51
- color: color
52
- });
53
- return /*#__PURE__*/jsx(IconContainer$1, {
54
- $align: align,
55
- $size: size,
56
- $color: color,
57
- children: clonedIcon
58
- });
59
- }
60
194
 
61
195
  var KittBreakpoints = {
62
196
  /**
@@ -115,7 +249,7 @@ var KittBreakpointNameEnum;
115
249
  KittBreakpointNameEnum["WIDE"] = "wide";
116
250
  })(KittBreakpointNameEnum || (KittBreakpointNameEnum = {}));
117
251
 
118
- var _excluded$l = ["accessibilityRole", "base", "small", "medium", "large", "wide", "type", "variant", "color"];
252
+ var _excluded$n = ["accessibilityRole", "base", "small", "medium", "large", "wide", "type", "variant", "color"];
119
253
  var IsHeaderTypographyContext = /*#__PURE__*/createContext(undefined);
120
254
  var TypographyColorContext = /*#__PURE__*/createContext('black');
121
255
  function useTypographyColor() {
@@ -187,7 +321,7 @@ function Typography(_ref) {
187
321
  } : _ref$type,
188
322
  variant = _ref.variant,
189
323
  color = _ref.color,
190
- otherProps = _objectWithoutProperties(_ref, _excluded$l);
324
+ otherProps = _objectWithoutProperties(_ref, _excluded$n);
191
325
 
192
326
  var isHeaderTypographyInContext = useContext(IsHeaderTypographyContext);
193
327
  var defaultColor = useTypographyDefaultColor();
@@ -284,264 +418,48 @@ Typography.h3 = createHeading(3, 'header3');
284
418
  Typography.h4 = createHeading(4, 'header4');
285
419
  /** @deprecated use Typography.Header6 */
286
420
 
287
- Typography.h5 = createHeading(5, 'header5');
288
-
289
- var _excluded$k = ["size", "round", "light", "sizeVariant"];
290
-
291
- var getInitials = function (firstname, lastname) {
292
- return "".concat(firstname[0]).concat(lastname[0]).toUpperCase();
293
- };
294
-
295
- var StyledAvatarView = /*#__PURE__*/styled.View.withConfig({
296
- displayName: "Avatar__StyledAvatarView"
297
- })(["border-radius:", ";background-color:", ";height:", "px;width:", "px;overflow:hidden;align-items:center;justify-content:center;"], function (_ref) {
298
- var theme = _ref.theme,
299
- $isRound = _ref.$isRound,
300
- $size = _ref.$size,
301
- $sizeVariant = _ref.$sizeVariant;
302
- if ($isRound) return "".concat($size / 2, "px");
303
- return "".concat($sizeVariant === 'large' ? theme.kitt.avatar.large.borderRadius : theme.kitt.avatar.borderRadius, "px");
304
- }, function (_ref2) {
305
- var theme = _ref2.theme,
306
- $isLight = _ref2.$isLight;
307
- return $isLight ? theme.kitt.avatar.light.backgroundColor : theme.kitt.avatar["default"].backgroundColor;
308
- }, function (_ref3) {
309
- var $size = _ref3.$size;
310
- return $size;
311
- }, function (_ref4) {
312
- var $size = _ref4.$size;
313
- return $size;
314
- });
315
-
316
- function AvatarContent(_ref5) {
317
- var size = _ref5.size,
318
- src = _ref5.src,
319
- firstname = _ref5.firstname,
320
- lastname = _ref5.lastname,
321
- alt = _ref5.alt,
322
- isLight = _ref5.isLight,
323
- sizeVariant = _ref5.sizeVariant;
324
-
325
- if (src) {
326
- return /*#__PURE__*/jsx(Image, {
327
- source: {
328
- uri: src
329
- },
330
- style: {
331
- width: size,
332
- height: size
333
- },
334
- accessibilityLabel: alt
335
- });
336
- }
337
-
338
- if (firstname && lastname) {
339
- return /*#__PURE__*/jsx(Typography.Text, {
340
- base: sizeVariant === 'large' ? 'body-large' : 'body-small',
341
- variant: sizeVariant === 'large' ? 'bold' : 'regular',
342
- color: isLight ? 'black' : 'white',
343
- children: getInitials(firstname, lastname)
344
- });
345
- }
346
-
347
- return /*#__PURE__*/jsx(Icon, {
348
- icon: /*#__PURE__*/jsx(UserIcon, {}),
349
- color: isLight ? 'black' : 'white',
350
- size: size / 2
351
- });
352
- }
353
-
354
- function Avatar(_ref6) {
355
- var _ref6$size = _ref6.size,
356
- size = _ref6$size === void 0 ? 40 : _ref6$size,
357
- round = _ref6.round,
358
- light = _ref6.light,
359
- sizeVariant = _ref6.sizeVariant,
360
- props = _objectWithoutProperties(_ref6, _excluded$k);
361
-
362
- return /*#__PURE__*/jsx(StyledAvatarView, {
363
- $size: size,
364
- $isRound: round,
365
- $isLight: light,
366
- $sizeVariant: sizeVariant,
367
- children: /*#__PURE__*/jsx(AvatarContent, _objectSpread({
368
- size: size,
369
- isLight: light,
370
- sizeVariant: sizeVariant
371
- }, props))
372
- });
373
- }
374
-
375
- function warn(message) {
376
- if (process.env.NODE_ENV !== 'production') {
377
- console.warn(message);
378
- }
379
- }
380
- function deprecatedMessage(symbol, deprecation, replaceBy) {
381
- var replaceMessage = replaceBy === undefined ? '' : ", please use ".concat(replaceBy, " instead");
382
- warn("[Deprecation] in ".concat(symbol, ": ").concat(deprecation, " is deprecated").concat(replaceMessage, "."));
383
- }
384
- function deprecatedInComponent(component, deprecation, replaceBy) {
385
- deprecatedMessage("<".concat(component, " />"), deprecation, replaceBy);
386
- }
387
-
388
- var hasVariant = function (button, variant) {
389
- return variant in button;
390
- };
391
-
392
- function getVariantValuesIfExist(theme, type, variant) {
393
- var button = theme.kitt.button[type];
394
-
395
- if (hasVariant(button, variant)) {
396
- return button[variant];
397
- }
398
-
399
- return theme.kitt.button[type]["default"];
400
- }
401
-
402
- var StyledPressable = /*#__PURE__*/styled.Pressable.withConfig({
403
- displayName: "AnimatedButtonPressable__StyledPressable"
404
- })(["", ""], function (_ref) {
405
- var $isStretch = _ref.$isStretch;
406
- if ($isStretch) return undefined;
407
- return 'align-self: flex-start;';
408
- });
409
- var StyledAnimatedView = /*#__PURE__*/styled(Animated.View).withConfig({
410
- displayName: "AnimatedButtonPressable__StyledAnimatedView"
411
- })(["border-radius:", "px;"], function (_ref2) {
412
- var theme = _ref2.theme;
413
- return theme.kitt.button.borderRadius;
414
- });
415
- var AnimatedButtonPressable = /*#__PURE__*/forwardRef(function (_ref3, ref) {
416
- var children = _ref3.children,
417
- disabled = _ref3.disabled,
418
- accessibilityRole = _ref3.accessibilityRole,
419
- $type = _ref3.$type,
420
- $variant = _ref3.$variant,
421
- $isStretch = _ref3.$isStretch,
422
- href = _ref3.href,
423
- hrefAttrs = _ref3.hrefAttrs,
424
- testID = _ref3.testID,
425
- onPress = _ref3.onPress;
426
- var theme = /*#__PURE__*/useTheme();
427
- var pressed = useSharedValue(0);
428
- var color = useSharedValue(0);
429
-
430
- var _getVariantValuesIfEx = getVariantValuesIfExist(theme, $type, $variant),
431
- backgroundColor = _getVariantValuesIfEx.backgroundColor,
432
- pressedBackgroundColor = _getVariantValuesIfEx.pressedBackgroundColor;
433
-
434
- var scale = theme.kitt.button.scale;
435
- var scaleStyles = useAnimatedStyle(function () {
436
- var _f = function () {
437
- return {
438
- backgroundColor: interpolateColor(color.value, [0, 1], [backgroundColor, pressedBackgroundColor]),
439
- transform: [{
440
- scale: withSpring(pressed.value ? scale.base.active : scale.base["default"])
441
- }]
442
- };
443
- };
444
-
445
- _f._closure = {
446
- interpolateColor: interpolateColor,
447
- color: color,
448
- backgroundColor: backgroundColor,
449
- pressedBackgroundColor: pressedBackgroundColor,
450
- withSpring: withSpring,
451
- pressed: pressed,
452
- scale: {
453
- base: {
454
- active: scale.base.active,
455
- "default": scale.base["default"]
456
- }
457
- }
458
- };
459
- _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)}]};}}";
460
- _f.__workletHash = 5368461229978;
461
- _f.__location = "/home/circleci/repo/@ornikar/kitt-universal/src/Button/AnimatedButtonPressable.tsx (56:41)";
462
- _f.__optimalization = 2;
463
- return _f;
464
- }());
465
-
466
- var handlePressInOut = function (pressIn) {
467
- color.value = withSpring(pressIn ? 1 : 0);
468
- pressed.value = pressIn ? 1 : 0;
469
- };
470
-
471
- return /*#__PURE__*/jsx(StyledPressable, {
472
- ref: ref,
473
- disabled: disabled,
474
- accessibilityRole: accessibilityRole,
475
- testID: testID,
476
- href: href,
477
- hrefAttrs: hrefAttrs,
478
- $isStretch: $isStretch,
479
- $type: $type,
480
- onPress: onPress,
481
- onPressIn: function onPressIn() {
482
- handlePressInOut(true);
483
- },
484
- onPressOut: function onPressOut() {
485
- handlePressInOut(false);
486
- },
487
- children: /*#__PURE__*/jsx(StyledAnimatedView, {
488
- style: disabled ? [{
489
- transform: [{
490
- scale: 1
491
- }]
492
- }] : [scaleStyles],
493
- children: children
494
- })
495
- });
496
- });
421
+ Typography.h5 = createHeading(5, 'header5');
497
422
 
498
- var BaseStyledButtonPressable = /*#__PURE__*/styled.View.withConfig({
499
- displayName: "BaseStyledButtonPressable"
500
- })(["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) {
501
- var theme = _ref.theme;
502
- return theme.kitt.button.minWidth;
423
+ var defaultIconSize = 20;
424
+ var IconContainer$1 = /*#__PURE__*/styled.View.withConfig({
425
+ displayName: "Icon__IconContainer"
426
+ })(["color:", ";width:", "px;height:", "px;align-self:", ";"], function (_ref) {
427
+ var $color = _ref.$color;
428
+ return $color;
503
429
  }, function (_ref2) {
504
- var theme = _ref2.theme,
505
- $isStretch = _ref2.$isStretch;
506
- return $isStretch ? '100%' : "".concat(theme.kitt.button.maxWidth, "px");
430
+ var $size = _ref2.$size;
431
+ return $size;
507
432
  }, function (_ref3) {
508
- var $isStretch = _ref3.$isStretch;
509
- return $isStretch ? '100%' : 'auto';
433
+ var $size = _ref3.$size;
434
+ return $size;
510
435
  }, function (_ref4) {
511
- var theme = _ref4.theme;
512
- return theme.kitt.button.minHeight;
513
- }, function (_ref5) {
514
- var theme = _ref5.theme;
515
- return theme.kitt.button.borderRadius;
516
- }, function (_ref6) {
517
- var theme = _ref6.theme,
518
- $isDisabled = _ref6.$isDisabled,
519
- $type = _ref6.$type,
520
- $variant = _ref6.$variant;
521
- if ($isDisabled) return theme.kitt.button.disabled["default"].backgroundColor;
522
- if (Platform.OS !== 'web') return 'transparent';
523
- return getVariantValuesIfExist(theme, $type, $variant).backgroundColor;
524
- }, function (_ref7) {
525
- var theme = _ref7.theme,
526
- $size = _ref7.$size,
527
- $isDisabled = _ref7.$isDisabled;
528
- var _theme$kitt$button$co = theme.kitt.button.contentPadding,
529
- large = _theme$kitt$button$co.large,
530
- defaultPadding = _theme$kitt$button$co["default"],
531
- disabledPadding = _theme$kitt$button$co.disabled,
532
- xLarge = _theme$kitt$button$co.xLarge;
533
- if ($size === 'large') return large;
534
- if ($size === 'xlarge') return xLarge;
535
- if ($isDisabled) return disabledPadding;
536
- return defaultPadding;
436
+ var _ref4$$align = _ref4.$align,
437
+ $align = _ref4$$align === void 0 ? 'auto' : _ref4$$align;
438
+ return $align;
537
439
  });
440
+ function Icon(_ref5) {
441
+ var icon = _ref5.icon,
442
+ _ref5$size = _ref5.size,
443
+ size = _ref5$size === void 0 ? defaultIconSize : _ref5$size,
444
+ align = _ref5.align,
445
+ color = _ref5.color;
446
+ var clonedIcon = /*#__PURE__*/cloneElement(icon, {
447
+ color: color
448
+ });
449
+ return /*#__PURE__*/jsx(IconContainer$1, {
450
+ $align: align,
451
+ $size: size,
452
+ $color: color,
453
+ children: clonedIcon
454
+ });
455
+ }
538
456
 
539
- var _excluded$j = ["color"],
457
+ var _excluded$m = ["color"],
540
458
  _excluded2$3 = ["color"];
541
459
 
542
460
  function TypographyIconSpecifiedColor(_ref) {
543
461
  var color = _ref.color,
544
- props = _objectWithoutProperties(_ref, _excluded$j);
462
+ props = _objectWithoutProperties(_ref, _excluded$m);
545
463
 
546
464
  var theme = /*#__PURE__*/useTheme();
547
465
  return /*#__PURE__*/jsx(Icon, _objectSpread(_objectSpread({}, props), {}, {
@@ -573,7 +491,7 @@ function isSubtle(type) {
573
491
  return type.startsWith('subtle');
574
492
  }
575
493
 
576
- var _excluded$i = ["type", "variant", "isDisabled", "$isStretch", "icon", "children"];
494
+ var _excluded$l = ["type", "variant", "isDisabled", "$isStretch", "icon", "children"];
577
495
 
578
496
  var getTextColorByType = function (type, variant) {
579
497
  switch (type) {
@@ -678,7 +596,7 @@ function ButtonContentChildren(_ref4) {
678
596
  };
679
597
  return /*#__PURE__*/jsxs(StyledChildrenWithIcon, {
680
598
  children: [icon && iconPosition === 'left' ? /*#__PURE__*/jsx(ButtonIcon, _objectSpread(_objectSpread({}, buttonIconSharedProps), {}, {
681
- testID: "button-left-icon",
599
+ testID: "button.ButtonContent.leftButtonIcon",
682
600
  icon: icon
683
601
  })) : null, /*#__PURE__*/jsx(StyledButtonText, {
684
602
  base: "body",
@@ -715,7 +633,7 @@ function ButtonContent(_ref7) {
715
633
  $isStretch = _ref7.$isStretch,
716
634
  icon = _ref7.icon,
717
635
  children = _ref7.children,
718
- props = _objectWithoutProperties(_ref7, _excluded$i);
636
+ props = _objectWithoutProperties(_ref7, _excluded$l);
719
637
 
720
638
  var color = isDisabled ? 'black-light' : getTextColorByType(type, variant);
721
639
  return /*#__PURE__*/jsx(ButtonContentContainer, {
@@ -820,7 +738,286 @@ var Button = /*#__PURE__*/forwardRef(function (_ref2, ref) {
820
738
  }), Platform.OS !== 'web' && disabled ? /*#__PURE__*/jsx(StyledDisabled, {}) : null]
821
739
  })
822
740
  });
823
- });
741
+ });
742
+
743
+ function SpinningIcon(_ref) {
744
+ var icon = _ref.icon,
745
+ color = _ref.color;
746
+
747
+ if (process.env.NODE_ENV !== 'production' && !color) {
748
+ throw new Error("Invalid color passed to SpinningIcon: ".concat(String(color)));
749
+ }
750
+
751
+ var clonedIcon = /*#__PURE__*/cloneElement(icon, {
752
+ color: color
753
+ });
754
+ var animationRef = useRef(new Animated$1.Value(0));
755
+ var rotation = animationRef.current.interpolate({
756
+ inputRange: [0, 1],
757
+ outputRange: ['0deg', '360deg']
758
+ });
759
+ useEffect(function () {
760
+ if (process.env.NODE_ENV === 'test') return undefined;
761
+ var animation = Animated$1.loop(Animated$1.timing(animationRef.current, {
762
+ toValue: 1,
763
+ duration: 1100,
764
+ easing: Easing.linear,
765
+ useNativeDriver: true
766
+ }));
767
+ animation.start();
768
+ return function () {
769
+ if (process.env.NODE_ENV === 'test') return undefined;
770
+ animation.stop();
771
+ return undefined;
772
+ };
773
+ }, []);
774
+ return /*#__PURE__*/jsx(Animated$1.View, {
775
+ style: {
776
+ transform: [{
777
+ rotate: rotation
778
+ }]
779
+ },
780
+ children: clonedIcon
781
+ });
782
+ }
783
+
784
+ function LoaderIcon(_ref) {
785
+ var color = _ref.color;
786
+ return /*#__PURE__*/jsx(SpinningIcon, {
787
+ color: color,
788
+ icon: /*#__PURE__*/jsx(ArcIcon, {})
789
+ });
790
+ }
791
+
792
+ var View = View$1;
793
+ var ScrollView = ScrollView$1;
794
+ var Pressable = Pressable$1;
795
+
796
+ function matchWindowSize(_ref, _ref2) {
797
+ var width = _ref.width,
798
+ height = _ref.height;
799
+ var minWidth = _ref2.minWidth,
800
+ maxWidth = _ref2.maxWidth,
801
+ minHeight = _ref2.minHeight,
802
+ maxHeight = _ref2.maxHeight;
803
+ var hasWidthMatched = width ? (!minWidth || width >= minWidth) && (!maxWidth || width <= maxWidth) : true;
804
+ var hasHeightMatched = height ? (!minHeight || height >= minHeight) && (!maxHeight || height <= maxHeight) : true;
805
+ return hasWidthMatched && hasHeightMatched;
806
+ }
807
+ function useMatchWindowSize(options) {
808
+ var _useWindowDimensions = useWindowDimensions(),
809
+ width = _useWindowDimensions.width,
810
+ height = _useWindowDimensions.height;
811
+
812
+ return matchWindowSize({
813
+ width: width,
814
+ height: height
815
+ }, options);
816
+ }
817
+
818
+ var _excluded$k = ["as", "onPress", "disabled", "icon"];
819
+ function ActionsItem(_ref) {
820
+ var as = _ref.as,
821
+ onPress = _ref.onPress,
822
+ disabled = _ref.disabled,
823
+ icon = _ref.icon,
824
+ props = _objectWithoutProperties(_ref, _excluded$k);
825
+
826
+ var isMedium = useMatchWindowSize({
827
+ minWidth: KittBreakpoints.MEDIUM
828
+ });
829
+
830
+ var _useState = useState(false),
831
+ _useState2 = _slicedToArray(_useState, 2),
832
+ isLoading = _useState2[0],
833
+ setIsLoading = _useState2[1];
834
+
835
+ var mountedRef = useRef(false); // effect just for tracking mounted state, as onPress can unmount the ActionButton
836
+
837
+ useEffect(function () {
838
+ mountedRef.current = true;
839
+ return function () {
840
+ mountedRef.current = false;
841
+ };
842
+ }, []);
843
+ return /*#__PURE__*/jsx(View, {
844
+ children: /*#__PURE__*/jsx(as, _objectSpread(_objectSpread({}, props), {}, {
845
+ stretch: !isMedium ? true : undefined,
846
+ disabled: isLoading ? true : disabled,
847
+ icon: isLoading ? /*#__PURE__*/jsx(LoaderIcon, {}) : icon,
848
+ onPress: function handlePress(e) {
849
+ var callPressAndUpdateLoadingState = /*#__PURE__*/function () {
850
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
851
+ return _regeneratorRuntime.wrap(function (_context) {
852
+ while (1) {
853
+ switch (_context.prev = _context.next) {
854
+ case 0:
855
+ if (onPress) {
856
+ _context.next = 2;
857
+ break;
858
+ }
859
+
860
+ return _context.abrupt("return");
861
+
862
+ case 2:
863
+ setIsLoading(true);
864
+ _context.prev = 3;
865
+ _context.next = 6;
866
+ return onPress(e);
867
+
868
+ case 6:
869
+ if (mountedRef.current) {
870
+ setIsLoading(false);
871
+ }
872
+
873
+ _context.next = 13;
874
+ break;
875
+
876
+ case 9:
877
+ _context.prev = 9;
878
+ _context.t0 = _context["catch"](3);
879
+
880
+ if (mountedRef.current) {
881
+ setIsLoading(false);
882
+ }
883
+
884
+ throw _context.t0;
885
+
886
+ case 13:
887
+ case "end":
888
+ return _context.stop();
889
+ }
890
+ }
891
+ }, _callee, null, [[3, 9]]);
892
+ }));
893
+
894
+ return function () {
895
+ return _ref2.apply(this, arguments);
896
+ };
897
+ }();
898
+
899
+ callPressAndUpdateLoadingState();
900
+ }
901
+ }))
902
+ });
903
+ }
904
+
905
+ function ActionsButton(_ref) {
906
+ var props = _extends({}, _ref);
907
+
908
+ return /*#__PURE__*/jsx(ActionsItem, _objectSpread({
909
+ as: Button
910
+ }, props));
911
+ }
912
+
913
+ var _excluded$j = ["children"];
914
+ function Actions(_ref) {
915
+ var children = _ref.children,
916
+ props = _objectWithoutProperties(_ref, _excluded$j);
917
+
918
+ return /*#__PURE__*/jsx(Stack, _objectSpread(_objectSpread({
919
+ alignItems: {
920
+ base: 'stretch',
921
+ medium: 'center'
922
+ },
923
+ direction: {
924
+ base: 'column',
925
+ medium: 'row'
926
+ },
927
+ flex: 1
928
+ }, props), {}, {
929
+ space: "kitt.3",
930
+ children: children
931
+ }));
932
+ }
933
+ Actions.Button = ActionsButton;
934
+ Actions.Item = ActionsItem;
935
+
936
+ var _excluded$i = ["size", "round", "light", "sizeVariant"];
937
+
938
+ var getInitials = function (firstname, lastname) {
939
+ return "".concat(firstname[0]).concat(lastname[0]).toUpperCase();
940
+ };
941
+
942
+ var StyledAvatarView = /*#__PURE__*/styled.View.withConfig({
943
+ displayName: "Avatar__StyledAvatarView"
944
+ })(["border-radius:", ";background-color:", ";height:", "px;width:", "px;overflow:hidden;align-items:center;justify-content:center;"], function (_ref) {
945
+ var theme = _ref.theme,
946
+ $isRound = _ref.$isRound,
947
+ $size = _ref.$size,
948
+ $sizeVariant = _ref.$sizeVariant;
949
+ if ($isRound) return "".concat($size / 2, "px");
950
+ return "".concat($sizeVariant === 'large' ? theme.kitt.avatar.large.borderRadius : theme.kitt.avatar.borderRadius, "px");
951
+ }, function (_ref2) {
952
+ var theme = _ref2.theme,
953
+ $isLight = _ref2.$isLight;
954
+ return $isLight ? theme.kitt.avatar.light.backgroundColor : theme.kitt.avatar["default"].backgroundColor;
955
+ }, function (_ref3) {
956
+ var $size = _ref3.$size;
957
+ return $size;
958
+ }, function (_ref4) {
959
+ var $size = _ref4.$size;
960
+ return $size;
961
+ });
962
+
963
+ function AvatarContent(_ref5) {
964
+ var size = _ref5.size,
965
+ src = _ref5.src,
966
+ firstname = _ref5.firstname,
967
+ lastname = _ref5.lastname,
968
+ alt = _ref5.alt,
969
+ isLight = _ref5.isLight,
970
+ sizeVariant = _ref5.sizeVariant;
971
+
972
+ if (src) {
973
+ return /*#__PURE__*/jsx(Image, {
974
+ source: {
975
+ uri: src
976
+ },
977
+ style: {
978
+ width: size,
979
+ height: size
980
+ },
981
+ accessibilityLabel: alt
982
+ });
983
+ }
984
+
985
+ if (firstname && lastname) {
986
+ return /*#__PURE__*/jsx(Typography.Text, {
987
+ base: sizeVariant === 'large' ? 'body-large' : 'body-small',
988
+ variant: sizeVariant === 'large' ? 'bold' : 'regular',
989
+ color: isLight ? 'black' : 'white',
990
+ children: getInitials(firstname, lastname)
991
+ });
992
+ }
993
+
994
+ return /*#__PURE__*/jsx(Icon, {
995
+ icon: /*#__PURE__*/jsx(UserIcon, {}),
996
+ color: isLight ? 'black' : 'white',
997
+ size: size / 2
998
+ });
999
+ }
1000
+
1001
+ function Avatar(_ref6) {
1002
+ var _ref6$size = _ref6.size,
1003
+ size = _ref6$size === void 0 ? 40 : _ref6$size,
1004
+ round = _ref6.round,
1005
+ light = _ref6.light,
1006
+ sizeVariant = _ref6.sizeVariant,
1007
+ props = _objectWithoutProperties(_ref6, _excluded$i);
1008
+
1009
+ return /*#__PURE__*/jsx(StyledAvatarView, {
1010
+ $size: size,
1011
+ $isRound: round,
1012
+ $isLight: light,
1013
+ $sizeVariant: sizeVariant,
1014
+ children: /*#__PURE__*/jsx(AvatarContent, _objectSpread({
1015
+ size: size,
1016
+ isLight: light,
1017
+ sizeVariant: sizeVariant
1018
+ }, props))
1019
+ });
1020
+ }
824
1021
 
825
1022
  var Container$5 = /*#__PURE__*/styled.View.withConfig({
826
1023
  displayName: "Card__Container"
@@ -851,6 +1048,88 @@ function Card(_ref6) {
851
1048
  });
852
1049
  }
853
1050
 
1051
+ var useNativeAnimation = function (_ref) {
1052
+ var selected = _ref.selected,
1053
+ disabled = _ref.disabled,
1054
+ isPressedInternal = _ref.isPressedInternal;
1055
+ var theme = /*#__PURE__*/useTheme();
1056
+ var pressed = useSharedValue(Boolean(isPressedInternal));
1057
+ var progress = useDerivedValue(function () {
1058
+ var _f = function () {
1059
+ return withTiming(pressed.value ? 1 : 0, {
1060
+ duration: theme.kitt.choices.item.transition.duration
1061
+ });
1062
+ };
1063
+
1064
+ _f._closure = {
1065
+ withTiming: withTiming,
1066
+ pressed: pressed,
1067
+ theme: {
1068
+ kitt: {
1069
+ choices: {
1070
+ item: {
1071
+ transition: {
1072
+ duration: theme.kitt.choices.item.transition.duration
1073
+ }
1074
+ }
1075
+ }
1076
+ }
1077
+ }
1078
+ };
1079
+ _f.asString = "function _f(){const{withTiming,pressed,theme}=jsThis._closure;{return withTiming(pressed.value?1:0,{duration:theme.kitt.choices.item.transition.duration});}}";
1080
+ _f.__workletHash = 1120030177160;
1081
+ _f.__location = "/home/circleci/repo/@ornikar/kitt-universal/src/Choices/hooks/useNativeAnimation.tsx (31:35)";
1082
+ return _f;
1083
+ }());
1084
+ var backgroundStyles = useAnimatedStyle(function () {
1085
+ var _f = function () {
1086
+ var _theme$kitt$choices$i = theme.kitt.choices.item.backgroundColor,
1087
+ defaultBg = _theme$kitt$choices$i["default"],
1088
+ pressedBg = _theme$kitt$choices$i.pressed,
1089
+ selectedBg = _theme$kitt$choices$i.selected,
1090
+ disabledBg = _theme$kitt$choices$i.disabled;
1091
+ if (disabled) return {
1092
+ backgroundColor: disabledBg
1093
+ };
1094
+ if (selected) return {
1095
+ backgroundColor: selectedBg
1096
+ };
1097
+ return {
1098
+ backgroundColor: interpolateColor(progress.value, [0, 1], [defaultBg, pressedBg])
1099
+ };
1100
+ };
1101
+
1102
+ _f._closure = {
1103
+ theme: {
1104
+ kitt: {
1105
+ choices: {
1106
+ item: {
1107
+ backgroundColor: theme.kitt.choices.item.backgroundColor
1108
+ }
1109
+ }
1110
+ }
1111
+ },
1112
+ disabled: disabled,
1113
+ selected: selected,
1114
+ interpolateColor: interpolateColor,
1115
+ progress: progress
1116
+ };
1117
+ _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])};}}";
1118
+ _f.__workletHash = 15506726129309;
1119
+ _f.__location = "/home/circleci/repo/@ornikar/kitt-universal/src/Choices/hooks/useNativeAnimation.tsx (35:44)";
1120
+ return _f;
1121
+ }());
1122
+ return {
1123
+ onPressIn: function onPressIn() {
1124
+ pressed.value = true;
1125
+ },
1126
+ onPressOut: function onPressOut() {
1127
+ pressed.value = false;
1128
+ },
1129
+ backgroundStyles: backgroundStyles
1130
+ };
1131
+ };
1132
+
854
1133
  function getCurrentTextColor(_ref) {
855
1134
  var isDisabled = _ref.isDisabled,
856
1135
  isSelected = _ref.isSelected,
@@ -869,7 +1148,7 @@ function getBorderRadius(defaultRadius, variant) {
869
1148
  return defaultRadius;
870
1149
  }
871
1150
 
872
- var DisabledBorder = /*#__PURE__*/styled(View$1).withConfig({
1151
+ var DisabledBorder = /*#__PURE__*/styled(View$2).withConfig({
873
1152
  displayName: "ChoiceItem__DisabledBorder"
874
1153
  })(["border-radius:", "px;", ";"], function (_ref2) {
875
1154
  var theme = _ref2.theme,
@@ -882,7 +1161,7 @@ var DisabledBorder = /*#__PURE__*/styled(View$1).withConfig({
882
1161
  color = _theme$kitt$choices$i.color;
883
1162
  return css(["border:", "px solid ", ";"], width, color);
884
1163
  });
885
- var ChoiceItemView = /*#__PURE__*/styled(Animated.View).withConfig({
1164
+ var ChoiceItemView = /*#__PURE__*/styled(Platform.OS === 'web' ? View$2 : Animated.View).withConfig({
886
1165
  displayName: "ChoiceItem__ChoiceItemView"
887
1166
  })(["position:relative;border-radius:", "px;background-color:", ";", ";", ""], function (_ref4) {
888
1167
  var theme = _ref4.theme,
@@ -938,73 +1217,15 @@ function ChoiceItem(_ref8) {
938
1217
  onChange = _ref8.onChange,
939
1218
  onBlur = _ref8.onBlur,
940
1219
  onFocus = _ref8.onFocus;
941
- var theme = /*#__PURE__*/useTheme();
942
- var pressed = useSharedValue(Boolean(isPressedInternal));
943
- var progress = useDerivedValue(function () {
944
- var _f = function () {
945
- return withTiming(pressed.value ? 1 : 0, {
946
- duration: theme.kitt.choices.item.transition.duration
947
- });
948
- };
949
-
950
- _f._closure = {
951
- withTiming: withTiming,
952
- pressed: pressed,
953
- theme: {
954
- kitt: {
955
- choices: {
956
- item: {
957
- transition: {
958
- duration: theme.kitt.choices.item.transition.duration
959
- }
960
- }
961
- }
962
- }
963
- }
964
- };
965
- _f.asString = "function _f(){const{withTiming,pressed,theme}=jsThis._closure;{return withTiming(pressed.value?1:0,{duration:theme.kitt.choices.item.transition.duration});}}";
966
- _f.__workletHash = 1120030177160;
967
- _f.__location = "/home/circleci/repo/@ornikar/kitt-universal/src/Choices/ChoiceItem.tsx (180:35)";
968
- return _f;
969
- }());
970
- var backgroundStyles = useAnimatedStyle(function () {
971
- var _f = function () {
972
- var _theme$kitt$choices$i5 = theme.kitt.choices.item.backgroundColor,
973
- defaultBg = _theme$kitt$choices$i5["default"],
974
- pressedBg = _theme$kitt$choices$i5.pressed,
975
- selectedBg = _theme$kitt$choices$i5.selected,
976
- disabledBg = _theme$kitt$choices$i5.disabled;
977
- if (disabled) return {
978
- backgroundColor: disabledBg
979
- };
980
- if (selected) return {
981
- backgroundColor: selectedBg
982
- };
983
- return {
984
- backgroundColor: interpolateColor(progress.value, [0, 1], [defaultBg, pressedBg])
985
- };
986
- };
987
1220
 
988
- _f._closure = {
989
- theme: {
990
- kitt: {
991
- choices: {
992
- item: {
993
- backgroundColor: theme.kitt.choices.item.backgroundColor
994
- }
995
- }
996
- }
997
- },
998
- disabled: disabled,
999
- selected: selected,
1000
- interpolateColor: interpolateColor,
1001
- progress: progress
1002
- };
1003
- _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])};}}";
1004
- _f.__workletHash = 15506726129309;
1005
- _f.__location = "/home/circleci/repo/@ornikar/kitt-universal/src/Choices/ChoiceItem.tsx (184:44)";
1006
- return _f;
1007
- }());
1221
+ var _useNativeAnimation = useNativeAnimation({
1222
+ selected: selected,
1223
+ disabled: disabled,
1224
+ isPressedInternal: isPressedInternal
1225
+ }),
1226
+ onPressIn = _useNativeAnimation.onPressIn,
1227
+ onPressOut = _useNativeAnimation.onPressOut,
1228
+ backgroundStyles = _useNativeAnimation.backgroundStyles;
1008
1229
 
1009
1230
  var handleChange = function () {
1010
1231
  if (!onChange) return; // Checkbox can be toggled
@@ -1017,7 +1238,7 @@ function ChoiceItem(_ref8) {
1017
1238
  onChange(value);
1018
1239
  };
1019
1240
 
1020
- return /*#__PURE__*/jsx(Pressable$1, {
1241
+ return /*#__PURE__*/jsx(Pressable, {
1021
1242
  disabled: disabled,
1022
1243
  accessibilityRole: type,
1023
1244
  accessibilityState: {
@@ -1031,12 +1252,8 @@ function ChoiceItem(_ref8) {
1031
1252
  handleChange();
1032
1253
  if (onBlur) onBlur(e);
1033
1254
  },
1034
- onPressIn: function onPressIn() {
1035
- pressed.value = true;
1036
- },
1037
- onPressOut: function onPressOut() {
1038
- pressed.value = false;
1039
- },
1255
+ onPressIn: onPressIn,
1256
+ onPressOut: onPressOut,
1040
1257
  children: function children(_ref9) {
1041
1258
  var isHovered = _ref9.isHovered,
1042
1259
  isPressed = _ref9.isPressed;
@@ -1064,7 +1281,7 @@ function ChoiceItem(_ref8) {
1064
1281
  });
1065
1282
  }
1066
1283
 
1067
- var ChoiceItemContainer = /*#__PURE__*/styled(View$1).withConfig({
1284
+ var ChoiceItemContainer = /*#__PURE__*/styled(View$2).withConfig({
1068
1285
  displayName: "ChoiceItemContainer"
1069
1286
  })(["", ""], function (_ref) {
1070
1287
  var theme = _ref.theme,
@@ -1088,12 +1305,12 @@ function ChoicesContainer(_ref) {
1088
1305
  props = _objectWithoutProperties(_ref, _excluded$h);
1089
1306
 
1090
1307
  if (direction === 'row') {
1091
- return /*#__PURE__*/jsx(ScrollView$1, _objectSpread({
1308
+ return /*#__PURE__*/jsx(ScrollView$2, _objectSpread({
1092
1309
  horizontal: true
1093
1310
  }, props));
1094
1311
  }
1095
1312
 
1096
- return /*#__PURE__*/jsx(View$1, _objectSpread({}, props));
1313
+ return /*#__PURE__*/jsx(View$2, _objectSpread({}, props));
1097
1314
  }
1098
1315
 
1099
1316
  function Choices(_ref2) {
@@ -1750,8 +1967,14 @@ var input = {
1750
1967
  };
1751
1968
 
1752
1969
  var inputField = {
1970
+ containerPaddingTop: 5,
1971
+ containerPaddingBottom: 10,
1972
+ feedbackPaddingTop: {
1973
+ base: 5,
1974
+ small: 10
1975
+ },
1753
1976
  labelContainerPaddingBottom: 5,
1754
- iconMarginLeft: 6
1977
+ labelFeedbackMarginLeft: 6
1755
1978
  };
1756
1979
 
1757
1980
  var inputTag = {
@@ -2008,28 +2231,6 @@ var theme = {
2008
2231
  navigationModal: navigationModal
2009
2232
  };
2010
2233
 
2011
- function matchWindowSize(_ref, _ref2) {
2012
- var width = _ref.width,
2013
- height = _ref.height;
2014
- var minWidth = _ref2.minWidth,
2015
- maxWidth = _ref2.maxWidth,
2016
- minHeight = _ref2.minHeight,
2017
- maxHeight = _ref2.maxHeight;
2018
- var hasWidthMatched = width ? (!minWidth || width >= minWidth) && (!maxWidth || width <= maxWidth) : true;
2019
- var hasHeightMatched = height ? (!minHeight || height >= minHeight) && (!maxHeight || height <= maxHeight) : true;
2020
- return hasWidthMatched && hasHeightMatched;
2021
- }
2022
- function useMatchWindowSize(options) {
2023
- var _useWindowDimensions = useWindowDimensions(),
2024
- width = _useWindowDimensions.width,
2025
- height = _useWindowDimensions.height;
2026
-
2027
- return matchWindowSize({
2028
- width: width,
2029
- height: height
2030
- }, options);
2031
- }
2032
-
2033
2234
  function createWindowSizeHelper(dimensions) {
2034
2235
  return {
2035
2236
  matchWindowSize: function matchWindowSize$1(options) {
@@ -2381,7 +2582,7 @@ var BodyView = /*#__PURE__*/styled.View.withConfig({
2381
2582
  });
2382
2583
  function ModalBody(_ref3) {
2383
2584
  var children = _ref3.children;
2384
- return /*#__PURE__*/jsx(ScrollView$1, {
2585
+ return /*#__PURE__*/jsx(ScrollView$2, {
2385
2586
  children: /*#__PURE__*/jsx(BodyView, {
2386
2587
  children: children
2387
2588
  })
@@ -3033,40 +3234,25 @@ function InputFeedback(_ref) {
3033
3234
  });
3034
3235
  }
3035
3236
 
3036
- var FieldContainer = /*#__PURE__*/styled.View.withConfig({
3037
- displayName: "InputField__FieldContainer"
3038
- })(["padding:5px 0 10px;"]);
3039
- var FeedbackContainer = /*#__PURE__*/styled.View.withConfig({
3040
- displayName: "InputField__FeedbackContainer"
3041
- })(["", ";"], function (_ref) {
3042
- var theme = _ref.theme;
3043
- return theme.responsive.ifWindowSizeMatches({
3044
- minWidth: KittBreakpoints.SMALL
3045
- }, 'padding-top: 10px', 'padding-top: 5px');
3046
- });
3047
- var FieldLabelContainer = /*#__PURE__*/styled.View.withConfig({
3048
- displayName: "InputField__FieldLabelContainer"
3049
- })(["flex-direction:row;align-items:center;padding-bottom:", "px;"], function (_ref2) {
3050
- var theme = _ref2.theme;
3051
- return theme.kitt.forms.inputField.labelContainerPaddingBottom;
3052
- });
3053
- var LabelContainer = /*#__PURE__*/styled.View.withConfig({
3054
- displayName: "InputField__LabelContainer"
3055
- })(["margin-right:", "px;"], function (_ref3) {
3056
- var theme = _ref3.theme;
3057
- return theme.kitt.forms.inputField.iconMarginLeft;
3058
- });
3059
- function InputField(_ref4) {
3060
- var label = _ref4.label,
3061
- labelFeedback = _ref4.labelFeedback,
3062
- input = _ref4.input,
3063
- feedback = _ref4.feedback;
3064
- return /*#__PURE__*/jsxs(FieldContainer, {
3065
- children: [label ? /*#__PURE__*/jsxs(FieldLabelContainer, {
3066
- children: [/*#__PURE__*/jsx(LabelContainer, {
3237
+ function InputField(_ref) {
3238
+ var label = _ref.label,
3239
+ labelFeedback = _ref.labelFeedback,
3240
+ input = _ref.input,
3241
+ feedback = _ref.feedback;
3242
+ var theme = /*#__PURE__*/useTheme();
3243
+ return /*#__PURE__*/jsxs(View, {
3244
+ paddingTop: theme.kitt.forms.inputField.containerPaddingTop,
3245
+ paddingBottom: theme.kitt.forms.inputField.containerPaddingBottom,
3246
+ children: [label ? /*#__PURE__*/jsxs(View, {
3247
+ flexDirection: "row",
3248
+ alignItems: "center",
3249
+ paddingBottom: theme.kitt.forms.inputField.labelContainerPaddingBottom,
3250
+ children: [/*#__PURE__*/jsx(View, {
3251
+ marginRight: theme.kitt.forms.inputField.labelFeedbackMarginLeft,
3067
3252
  children: label
3068
3253
  }), labelFeedback]
3069
- }) : null, input, feedback ? /*#__PURE__*/jsx(FeedbackContainer, {
3254
+ }) : null, input, feedback ? /*#__PURE__*/jsx(View, {
3255
+ paddingTop: theme.kitt.forms.inputField.feedbackPaddingTop,
3070
3256
  children: feedback
3071
3257
  }) : null]
3072
3258
  });
@@ -3149,7 +3335,7 @@ var getTypographyColor = function (type) {
3149
3335
  return type ? 'white' : 'black';
3150
3336
  };
3151
3337
 
3152
- var InputTagContainer = /*#__PURE__*/styled(View$1).withConfig({
3338
+ var InputTagContainer = /*#__PURE__*/styled(View$2).withConfig({
3153
3339
  displayName: "InputTag__InputTagContainer"
3154
3340
  })(["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) {
3155
3341
  var theme = _ref.theme;
@@ -3171,7 +3357,7 @@ var InputTagContainer = /*#__PURE__*/styled(View$1).withConfig({
3171
3357
  var theme = _ref3.theme;
3172
3358
  return theme.kitt.forms.inputTag.borderRadius;
3173
3359
  });
3174
- var IconContainer = /*#__PURE__*/styled(View$1).withConfig({
3360
+ var IconContainer = /*#__PURE__*/styled(View$2).withConfig({
3175
3361
  displayName: "InputTag__IconContainer"
3176
3362
  })(["margin-right:", "px;"], function (_ref4) {
3177
3363
  var theme = _ref4.theme;
@@ -3471,47 +3657,6 @@ function FullScreenModal(_ref2) {
3471
3657
  FullScreenModal.Header = FullScreenModalHeader;
3472
3658
  FullScreenModal.Body = FullScreenModalBody;
3473
3659
 
3474
- function SpinningIcon(_ref) {
3475
- var icon = _ref.icon,
3476
- color = _ref.color;
3477
-
3478
- if (process.env.NODE_ENV !== 'production' && !color) {
3479
- throw new Error("Invalid color passed to SpinningIcon: ".concat(String(color)));
3480
- }
3481
-
3482
- var clonedIcon = /*#__PURE__*/cloneElement(icon, {
3483
- color: color
3484
- });
3485
- var animationRef = useRef(new Animated$1.Value(0));
3486
- var rotation = animationRef.current.interpolate({
3487
- inputRange: [0, 1],
3488
- outputRange: ['0deg', '360deg']
3489
- });
3490
- useEffect(function () {
3491
- if (process.env.NODE_ENV === 'test') return undefined;
3492
- var animation = Animated$1.loop(Animated$1.timing(animationRef.current, {
3493
- toValue: 1,
3494
- duration: 1100,
3495
- easing: Easing.linear,
3496
- useNativeDriver: true
3497
- }));
3498
- animation.start();
3499
- return function () {
3500
- if (process.env.NODE_ENV === 'test') return undefined;
3501
- animation.stop();
3502
- return undefined;
3503
- };
3504
- }, []);
3505
- return /*#__PURE__*/jsx(Animated$1.View, {
3506
- style: {
3507
- transform: [{
3508
- rotate: rotation
3509
- }]
3510
- },
3511
- children: clonedIcon
3512
- });
3513
- }
3514
-
3515
3660
  var _excluded$7 = ["children"];
3516
3661
  var ContentView = /*#__PURE__*/styled.View.withConfig({
3517
3662
  displayName: "ListItemContent__ContentView"
@@ -3638,14 +3783,6 @@ ListItem.Content = ListItemContent;
3638
3783
  ListItem.SideContent = ListItemSideContent;
3639
3784
  ListItem.SideContainer = ListItemSideContainer;
3640
3785
 
3641
- function LoaderIcon(_ref) {
3642
- var color = _ref.color;
3643
- return /*#__PURE__*/jsx(SpinningIcon, {
3644
- color: color,
3645
- icon: /*#__PURE__*/jsx(ArcIcon, {})
3646
- });
3647
- }
3648
-
3649
3786
  function IconContent(_ref) {
3650
3787
  var type = _ref.type,
3651
3788
  color = _ref.color;
@@ -3831,7 +3968,7 @@ function CloseButton(_ref) {
3831
3968
  });
3832
3969
  }
3833
3970
 
3834
- var ModalBehaviourContainer = /*#__PURE__*/styled(View$1).withConfig({
3971
+ var ModalBehaviourContainer = /*#__PURE__*/styled(View$2).withConfig({
3835
3972
  displayName: "ModalBehaviour__ModalBehaviourContainer"
3836
3973
  })(["", ""], function () {
3837
3974
  if (Platform.OS !== 'web') return undefined;
@@ -3998,16 +4135,8 @@ function KittNativeBaseProvider(_ref) {
3998
4135
  });
3999
4136
  }
4000
4137
 
4001
- var Stack = Stack$1;
4002
- var VStack = VStack$1;
4003
- var HStack = HStack$1;
4004
-
4005
- var View = View$2;
4006
- var ScrollView = ScrollView$2;
4007
- var Pressable = Pressable$1;
4008
-
4009
4138
  var _excluded$4 = ["children"];
4010
- var ViewWithPadding = /*#__PURE__*/styled(View$1).withConfig({
4139
+ var ViewWithPadding = /*#__PURE__*/styled(View$2).withConfig({
4011
4140
  displayName: "ContentPadding__ViewWithPadding"
4012
4141
  })(["padding:", ";"], function (_ref) {
4013
4142
  var theme = _ref.theme;
@@ -4113,7 +4242,7 @@ var HeaderContainer = /*#__PURE__*/styled(ContentPadding).withConfig({
4113
4242
  return theme.kitt.colors.separator;
4114
4243
  });
4115
4244
  });
4116
- var Row = /*#__PURE__*/styled(View$1).withConfig({
4245
+ var Row = /*#__PURE__*/styled(View$2).withConfig({
4117
4246
  displayName: "Header__Row"
4118
4247
  })(["flex-direction:row;justify-content:", ";align-items:center;"], function (_ref7) {
4119
4248
  var $hasContent = _ref7.$hasContent,
@@ -4126,7 +4255,7 @@ var ButtonContainer = /*#__PURE__*/styled.View.withConfig({
4126
4255
  var theme = _ref8.theme;
4127
4256
  return theme.kitt.iconButton.width;
4128
4257
  });
4129
- var ChildrenComponent = /*#__PURE__*/styled(View$1).withConfig({
4258
+ var ChildrenComponent = /*#__PURE__*/styled(View$2).withConfig({
4130
4259
  displayName: "Header__ChildrenComponent"
4131
4260
  })(["flex:1;align-items:center;", ";"], function (_ref9) {
4132
4261
  var theme = _ref9.theme,
@@ -4185,7 +4314,7 @@ function Header(_ref12) {
4185
4314
  });
4186
4315
  }
4187
4316
 
4188
- var NavigationModalContainer = /*#__PURE__*/styled(View$1).withConfig({
4317
+ var NavigationModalContainer = /*#__PURE__*/styled(View$2).withConfig({
4189
4318
  displayName: "NavigationModalContainer"
4190
4319
  })(["position:relative;background-color:", ";flex:1;", ""], function (_ref) {
4191
4320
  var theme = _ref.theme,
@@ -4196,7 +4325,7 @@ var NavigationModalContainer = /*#__PURE__*/styled(View$1).withConfig({
4196
4325
  return css(["min-height:100vh;"]);
4197
4326
  });
4198
4327
 
4199
- var ContainerWithoutHeader = /*#__PURE__*/styled(View$1).withConfig({
4328
+ var ContainerWithoutHeader = /*#__PURE__*/styled(View$2).withConfig({
4200
4329
  displayName: "NavigationModal__ContainerWithoutHeader"
4201
4330
  })(["justify-content:space-between;flex:1;"]);
4202
4331
  function NavigationModal(_ref) {
@@ -4206,10 +4335,10 @@ function NavigationModal(_ref) {
4206
4335
  backgroundColor = _ref.backgroundColor;
4207
4336
  return /*#__PURE__*/jsxs(NavigationModalContainer, {
4208
4337
  $backgroundColor: backgroundColor,
4209
- children: [header ? /*#__PURE__*/jsx(View$1, {
4338
+ children: [header ? /*#__PURE__*/jsx(View$2, {
4210
4339
  children: header
4211
4340
  }) : null, /*#__PURE__*/jsxs(ContainerWithoutHeader, {
4212
- children: [/*#__PURE__*/jsx(ScrollView$1, {
4341
+ children: [/*#__PURE__*/jsx(ScrollView$2, {
4213
4342
  bounces: false,
4214
4343
  contentContainerStyle: {
4215
4344
  flexGrow: 1,
@@ -4489,7 +4618,7 @@ function Picker(_ref) {
4489
4618
  color: item.props.value === value ? theme.picker.ios.selected.color : undefined
4490
4619
  });
4491
4620
  })
4492
- }) : /*#__PURE__*/jsx(ScrollView$1, {
4621
+ }) : /*#__PURE__*/jsx(ScrollView$2, {
4493
4622
  testID: testID,
4494
4623
  children: React.Children.map(children, function (child) {
4495
4624
  var item = child;
@@ -4577,7 +4706,7 @@ function SkeletonContent(_ref3) {
4577
4706
  });
4578
4707
  }
4579
4708
 
4580
- var SkeletonContainer = /*#__PURE__*/styled(View$1).withConfig({
4709
+ var SkeletonContainer = /*#__PURE__*/styled(View$2).withConfig({
4581
4710
  displayName: "Skeleton__SkeletonContainer"
4582
4711
  })(["overflow:hidden;"]);
4583
4712
  function Skeleton(_ref) {
@@ -5081,7 +5210,7 @@ function ModalDateTimePicker(_ref2) {
5081
5210
  }) : null, /*#__PURE__*/jsx(Modal.Body, {
5082
5211
  children: /*#__PURE__*/jsx(DateTimePicker, {
5083
5212
  is24Hour: true,
5084
- testID: "date-picker-native-element",
5213
+ testID: "timePicker.ModalDateTimePicker.dateTimeNativePicker",
5085
5214
  value: currentValue,
5086
5215
  mode: "time",
5087
5216
  display: Platform.OS === 'ios' ? 'spinner' : 'default',
@@ -5188,7 +5317,7 @@ function TimePicker(_ref) {
5188
5317
  children: displayedValue
5189
5318
  }), Platform.OS === 'android' && isTimePickerModalVisible ? /*#__PURE__*/jsx(DateTimePicker, {
5190
5319
  is24Hour: true,
5191
- testID: "date-picker-native-element",
5320
+ testID: "timePicker.TimePicker.dateTimeNativePicker",
5192
5321
  value: dateTimePickerValue,
5193
5322
  mode: "time",
5194
5323
  display: "default",
@@ -5227,7 +5356,7 @@ var StyledTooltipContent = /*#__PURE__*/styled.View.withConfig({
5227
5356
 
5228
5357
  function ArrowView(props) {
5229
5358
  var theme = /*#__PURE__*/useTheme();
5230
- return /*#__PURE__*/jsx(View$1, _objectSpread(_objectSpread({}, props), {}, {
5359
+ return /*#__PURE__*/jsx(View$2, _objectSpread(_objectSpread({}, props), {}, {
5231
5360
  children: /*#__PURE__*/jsx(TooltipArrowIcon, {
5232
5361
  color: theme.kitt.tooltip.backgroundColor
5233
5362
  })
@@ -5333,7 +5462,7 @@ function Tooltip(_ref) {
5333
5462
  });
5334
5463
  }, [x, y, reference, floating, update, refs, middlewareData, onUpdate]);
5335
5464
  return /*#__PURE__*/jsxs(TooltipContainer, {
5336
- children: [/*#__PURE__*/jsx(View$1, {
5465
+ children: [/*#__PURE__*/jsx(View$2, {
5337
5466
  ref: reference,
5338
5467
  children: /*#__PURE__*/jsx(Pressable$2, {
5339
5468
  accessibilityRole: "button",
@@ -5342,7 +5471,7 @@ function Tooltip(_ref) {
5342
5471
  },
5343
5472
  children: children
5344
5473
  })
5345
- }), /*#__PURE__*/jsx(View$1, {
5474
+ }), /*#__PURE__*/jsx(View$2, {
5346
5475
  ref: floating,
5347
5476
  accessibilityElementsHidden: !pressed.value,
5348
5477
  importantForAccessibility: pressed.value === true ? 'auto' : 'no-hide-descendants',
@@ -5575,5 +5704,5 @@ function withTheme(WrappedComponent) {
5575
5704
  });
5576
5705
  }
5577
5706
 
5578
- 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 };
5707
+ 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 };
5579
5708
  //# sourceMappingURL=index-browser-all.es.android.js.map