@ornikar/kitt-universal 9.34.2 → 9.36.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 (76) hide show
  1. package/dist/definitions/forms/Checkbox/Checkbox.d.ts +6 -5
  2. package/dist/definitions/forms/Checkbox/Checkbox.d.ts.map +1 -1
  3. package/dist/definitions/forms/Checkbox/utils/getBackgroundColor.d.ts +10 -0
  4. package/dist/definitions/forms/Checkbox/utils/getBackgroundColor.d.ts.map +1 -0
  5. package/dist/definitions/forms/Checkbox/utils/getBorderColor.d.ts +10 -0
  6. package/dist/definitions/forms/Checkbox/utils/getBorderColor.d.ts.map +1 -0
  7. package/dist/definitions/forms/DatePicker/DatePicker.d.ts +5 -2
  8. package/dist/definitions/forms/DatePicker/DatePicker.d.ts.map +1 -1
  9. package/dist/definitions/forms/DatePicker/components/InputPart.d.ts +1 -0
  10. package/dist/definitions/forms/DatePicker/components/InputPart.d.ts.map +1 -1
  11. package/dist/definitions/forms/DatePicker/components/KeyboardDatePicker.d.ts +5 -2
  12. package/dist/definitions/forms/DatePicker/components/KeyboardDatePicker.d.ts.map +1 -1
  13. package/dist/definitions/forms/DatePicker/components/NativeUIDatePicker/DatePickerAndroid.d.ts +3 -2
  14. package/dist/definitions/forms/DatePicker/components/NativeUIDatePicker/DatePickerAndroid.d.ts.map +1 -1
  15. package/dist/definitions/forms/DatePicker/components/NativeUIDatePicker/DefaultNativeUIDatePicker.d.ts +3 -2
  16. package/dist/definitions/forms/DatePicker/components/NativeUIDatePicker/DefaultNativeUIDatePicker.d.ts.map +1 -1
  17. package/dist/definitions/forms/DatePicker/components/NativeUIDatePicker/NativeUIDatePicker.d.ts +3 -2
  18. package/dist/definitions/forms/DatePicker/components/NativeUIDatePicker/NativeUIDatePicker.d.ts.map +1 -1
  19. package/dist/definitions/forms/DatePicker/components/PressableDateInputs.d.ts +3 -2
  20. package/dist/definitions/forms/DatePicker/components/PressableDateInputs.d.ts.map +1 -1
  21. package/dist/definitions/forms/InputEmail/InputEmail.d.ts +3 -2
  22. package/dist/definitions/forms/InputEmail/InputEmail.d.ts.map +1 -1
  23. package/dist/definitions/forms/InputPassword/InputPassword.d.ts +3 -2
  24. package/dist/definitions/forms/InputPassword/InputPassword.d.ts.map +1 -1
  25. package/dist/definitions/forms/InputPhone/InputPhone.d.ts +3 -2
  26. package/dist/definitions/forms/InputPhone/InputPhone.d.ts.map +1 -1
  27. package/dist/definitions/forms/InputText/InputText.d.ts +1 -1
  28. package/dist/definitions/forms/InputText/InputText.d.ts.map +1 -1
  29. package/dist/definitions/forms/Radio/InnerCircle.d.ts +7 -0
  30. package/dist/definitions/forms/Radio/InnerCircle.d.ts.map +1 -0
  31. package/dist/definitions/forms/Radio/OuterCircle.d.ts +12 -0
  32. package/dist/definitions/forms/Radio/OuterCircle.d.ts.map +1 -0
  33. package/dist/definitions/forms/Radio/Radio.d.ts +5 -4
  34. package/dist/definitions/forms/Radio/Radio.d.ts.map +1 -1
  35. package/dist/definitions/forms/Radio/utils/getBackgroundColor.d.ts +10 -0
  36. package/dist/definitions/forms/Radio/utils/getBackgroundColor.d.ts.map +1 -0
  37. package/dist/definitions/forms/Radio/utils/getBorderColor.d.ts +10 -0
  38. package/dist/definitions/forms/Radio/utils/getBorderColor.d.ts.map +1 -0
  39. package/dist/definitions/forms/TextArea/TextArea.d.ts +3 -2
  40. package/dist/definitions/forms/TextArea/TextArea.d.ts.map +1 -1
  41. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +284 -147
  42. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
  43. package/dist/definitions/themes/default.d.ts +29 -4
  44. package/dist/definitions/themes/default.d.ts.map +1 -1
  45. package/dist/definitions/themes/late-ocean/checkbox.d.ts +29 -4
  46. package/dist/definitions/themes/late-ocean/checkbox.d.ts.map +1 -1
  47. package/dist/definitions/themes/late-ocean/forms.d.ts +29 -4
  48. package/dist/definitions/themes/late-ocean/forms.d.ts.map +1 -1
  49. package/dist/definitions/themes/late-ocean/radio.d.ts +13 -0
  50. package/dist/definitions/themes/late-ocean/radio.d.ts.map +1 -1
  51. package/dist/index-browser-all.es.android.js +440 -190
  52. package/dist/index-browser-all.es.android.js.map +1 -1
  53. package/dist/index-browser-all.es.ios.js +440 -190
  54. package/dist/index-browser-all.es.ios.js.map +1 -1
  55. package/dist/index-browser-all.es.js +440 -190
  56. package/dist/index-browser-all.es.js.map +1 -1
  57. package/dist/index-browser-all.es.web.js +412 -180
  58. package/dist/index-browser-all.es.web.js.map +1 -1
  59. package/dist/index-node-14.17.cjs.js +433 -172
  60. package/dist/index-node-14.17.cjs.js.map +1 -1
  61. package/dist/index-node-14.17.cjs.web.js +408 -156
  62. package/dist/index-node-14.17.cjs.web.js.map +1 -1
  63. package/dist/linaria-themes-browser-all.es.android.js +44 -6
  64. package/dist/linaria-themes-browser-all.es.android.js.map +1 -1
  65. package/dist/linaria-themes-browser-all.es.ios.js +44 -6
  66. package/dist/linaria-themes-browser-all.es.ios.js.map +1 -1
  67. package/dist/linaria-themes-browser-all.es.js +44 -6
  68. package/dist/linaria-themes-browser-all.es.js.map +1 -1
  69. package/dist/linaria-themes-browser-all.es.web.js +44 -6
  70. package/dist/linaria-themes-browser-all.es.web.js.map +1 -1
  71. package/dist/linaria-themes-node-14.17.cjs.js +44 -6
  72. package/dist/linaria-themes-node-14.17.cjs.js.map +1 -1
  73. package/dist/linaria-themes-node-14.17.cjs.web.js +44 -6
  74. package/dist/linaria-themes-node-14.17.cjs.web.js.map +1 -1
  75. package/dist/tsbuildinfo +1 -1
  76. package/package.json +2 -2
@@ -1,6 +1,6 @@
1
1
  import _objectSpread from '@babel/runtime/helpers/objectSpread2';
2
2
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
3
- import { Stack as Stack$1, VStack as VStack$1, HStack as HStack$1, Center as Center$1, View as View$1, ScrollView as ScrollView$1, Pressable as Pressable$1, Image as Image$1, FlatList as FlatList$1, SectionList as SectionList$1, Text as Text$1, Input, NativeBaseProvider, extendTheme, useBreakpointValue } from 'native-base';
3
+ import { Stack as Stack$1, VStack as VStack$1, HStack as HStack$1, Center as Center$1, View as View$1, ScrollView as ScrollView$1, Pressable as Pressable$1, Image as Image$1, FlatList as FlatList$1, SectionList as SectionList$1, Text, Input, NativeBaseProvider, extendTheme, useBreakpointValue } from 'native-base';
4
4
  export { useBreakpointValue, useClipboard, useToken } from 'native-base';
5
5
  import _objectDestructuringEmpty from '@babel/runtime/helpers/objectDestructuringEmpty';
6
6
  import _extends from '@babel/runtime/helpers/extends';
@@ -9,7 +9,7 @@ import Animated, { useSharedValue, useAnimatedStyle, interpolateColor, withSprin
9
9
  import styled, { useTheme, css, withTheme as withTheme$1, ThemeProvider } from 'styled-components/native';
10
10
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
11
11
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
12
- import { Platform, Animated as Animated$1, Easing, useWindowDimensions, View as View$2, Pressable as Pressable$2, StyleSheet, Modal as Modal$1, ScrollView as ScrollView$2, Linking, Text as Text$2, PixelRatio } from 'react-native';
12
+ import { Platform, Animated as Animated$1, Easing, useWindowDimensions, View as View$2, Pressable as Pressable$2, StyleSheet, Modal as Modal$1, ScrollView as ScrollView$2, Linking, Text as Text$1, PixelRatio } from 'react-native';
13
13
  export { useWindowDimensions as useWindowSize } from 'react-native';
14
14
  import _regeneratorRuntime from '@babel/runtime/helpers/regeneratorRuntime';
15
15
  import _asyncToGenerator from '@babel/runtime/helpers/asyncToGenerator';
@@ -223,7 +223,7 @@ function Typography(_ref) {
223
223
  });
224
224
  }
225
225
  var currentColor = !color && !hasTypographyAncestor ? defaultColor : color;
226
- var text = /*#__PURE__*/jsx(Text$1, _objectSpread({
226
+ var text = /*#__PURE__*/jsx(Text, _objectSpread({
227
227
  accessibilityRole: accessibilityRole || undefined,
228
228
  fontSize: fontSizeForNativeBase,
229
229
  lineHeight: hasTypographyAncestor ? undefined : fontSizeForNativeBase,
@@ -2697,11 +2697,36 @@ var checkbox = {
2697
2697
  height: 20,
2698
2698
  width: 20,
2699
2699
  iconSize: 14,
2700
- borderColor: colors.separator,
2701
- backgroundColor: colors.uiBackgroundLight,
2702
- checkedBorderColor: colors.primary,
2703
- checkedBackgroundColor: colors.primary,
2704
- markColor: colors.uiBackgroundLight
2700
+ markColor: colors.uiBackgroundLight,
2701
+ textSpacing: 10,
2702
+ "default": {
2703
+ borderColor: colors.separator,
2704
+ backgroundColor: colors.uiBackgroundLight
2705
+ },
2706
+ checked: {
2707
+ borderColor: colors.primary,
2708
+ backgroundColor: colors.primary
2709
+ },
2710
+ focus: {
2711
+ borderColor: colors.primary,
2712
+ backgroundColor: colors.uiBackgroundLight
2713
+ },
2714
+ hover: {
2715
+ borderColor: colors.primary,
2716
+ backgroundColor: colors.uiBackgroundLight
2717
+ },
2718
+ pressed: {
2719
+ borderColor: colors.primary,
2720
+ backgroundColor: colors.uiBackgroundLight
2721
+ },
2722
+ disabled: {
2723
+ borderColor: colors.separator,
2724
+ backgroundColor: colors.disabled
2725
+ },
2726
+ transition: {
2727
+ duration: '200ms',
2728
+ timingFunction: 'ease-out'
2729
+ }
2705
2730
  };
2706
2731
 
2707
2732
  var datePicker = {
@@ -2897,18 +2922,31 @@ var inputTag = {
2897
2922
  var radio = {
2898
2923
  size: 18,
2899
2924
  unchecked: {
2900
- backgroundColor: colors.uiBackgroundLight,
2901
2925
  borderWidth: 2,
2926
+ backgroundColor: colors.uiBackgroundLight,
2902
2927
  borderColor: lateOceanColorPalette.black200
2903
2928
  },
2904
2929
  checked: {
2905
2930
  backgroundColor: colors.primary,
2931
+ borderColor: colors.transparent,
2906
2932
  innerSize: 5,
2907
2933
  innerBackgroundColor: colors.uiBackgroundLight
2908
2934
  },
2935
+ hover: {
2936
+ backgroundColor: colors.uiBackgroundLight,
2937
+ borderColor: colors.primary
2938
+ },
2939
+ pressed: {
2940
+ backgroundColor: colors.uiBackgroundLight,
2941
+ borderColor: colors.primary
2942
+ },
2909
2943
  disabled: {
2910
2944
  backgroundColor: colors.disabled,
2911
2945
  borderColor: colors.separator
2946
+ },
2947
+ transition: {
2948
+ duration: '200ms',
2949
+ timingFunction: 'ease-out'
2912
2950
  }
2913
2951
  };
2914
2952
 
@@ -3350,73 +3388,120 @@ function useKittTheme() {
3350
3388
  }, [dimensions]);
3351
3389
  }
3352
3390
 
3353
- var CheckboxAndLabelPressableWrapper = /*#__PURE__*/styled.Pressable.withConfig({
3354
- displayName: "Checkbox__CheckboxAndLabelPressableWrapper"
3355
- })(["display:flex;flex-direction:row;"]);
3356
- var CheckboxContainer = /*#__PURE__*/styled.View.withConfig({
3357
- displayName: "Checkbox__CheckboxContainer"
3358
- })(["display:flex;flex-direction:row;align-items:center;justify-content:center;height:", "px;width:", "px;position:relative;border-radius:", "px;", " margin-right:", ";"], function (_ref) {
3359
- var theme = _ref.theme;
3360
- return theme.kitt.forms.checkbox.height;
3361
- }, function (_ref2) {
3362
- var theme = _ref2.theme;
3363
- return theme.kitt.forms.checkbox.width;
3364
- }, function (_ref3) {
3365
- var theme = _ref3.theme;
3366
- return theme.kitt.forms.checkbox.borderRadius;
3367
- }, function (_ref4) {
3368
- var $isChecked = _ref4.$isChecked,
3369
- theme = _ref4.theme;
3370
- var _theme$kitt$forms$che = theme.kitt.forms.checkbox,
3371
- checkedBackgroundColor = _theme$kitt$forms$che.checkedBackgroundColor,
3372
- checkedBorderColor = _theme$kitt$forms$che.checkedBorderColor,
3373
- borderColor = _theme$kitt$forms$che.borderColor,
3374
- borderWidth = _theme$kitt$forms$che.borderWidth,
3375
- backgroundColor = _theme$kitt$forms$che.backgroundColor;
3376
- if ($isChecked) {
3377
- return css(["background-color:", ";border:", ";"], checkedBackgroundColor, "".concat(borderWidth, "px solid ").concat(checkedBorderColor));
3378
- }
3379
- return css(["background-color:", ";border:", ";"], backgroundColor, "".concat(borderWidth, "px solid ").concat(borderColor));
3380
- }, function (_ref5) {
3381
- var theme = _ref5.theme,
3382
- $hasLabel = _ref5.$hasLabel;
3383
- if (!$hasLabel) return '0px';
3384
- return "".concat(theme.kitt.spacing * 2.5, "px;");
3385
- });
3386
- function Checkbox(_ref6) {
3387
- var onChange = _ref6.onChange,
3388
- onBlur = _ref6.onBlur,
3389
- onFocus = _ref6.onFocus,
3390
- checked = _ref6.checked,
3391
- _ref6$hitSlop = _ref6.hitSlop,
3392
- hitSlop = _ref6$hitSlop === void 0 ? 40 : _ref6$hitSlop,
3393
- id = _ref6.id,
3394
- children = _ref6.children;
3391
+ function getBackgroundColor$1(_ref) {
3392
+ var isDisabled = _ref.isDisabled,
3393
+ isPressed = _ref.isPressed,
3394
+ isHovered = _ref.isHovered,
3395
+ isFocused = _ref.isFocused,
3396
+ isChecked = _ref.isChecked;
3397
+ if (isChecked) return 'kitt.forms.checkbox.checked.backgroundColor';
3398
+ if (isDisabled) return 'kitt.forms.checkbox.disabled.backgroundColor';
3399
+ if (isPressed) return 'kitt.forms.checkbox.pressed.backgroundColor';
3400
+ if (isHovered) return 'kitt.forms.checkbox.hover.backgroundColor';
3401
+ if (isFocused) return 'kitt.forms.checkbox.focus.backgroundColor';
3402
+ return 'kitt.forms.checkbox.default.backgroundColor';
3403
+ }
3404
+
3405
+ function getBorderColor$1(_ref) {
3406
+ var isDisabled = _ref.isDisabled,
3407
+ isPressed = _ref.isPressed,
3408
+ isHovered = _ref.isHovered,
3409
+ isFocused = _ref.isFocused,
3410
+ isChecked = _ref.isChecked;
3411
+ if (isChecked) return 'kitt.forms.checkbox.checked.borderColor';
3412
+ if (isDisabled) return 'kitt.forms.checkbox.disabled.borderColor';
3413
+ if (isPressed) return 'kitt.forms.checkbox.pressed.borderColor';
3414
+ if (isHovered) return 'kitt.forms.checkbox.hover.borderColor';
3415
+ if (isFocused) return 'kitt.forms.checkbox.focus.borderColor';
3416
+ return 'kitt.forms.checkbox.default.borderColor';
3417
+ }
3418
+
3419
+ var Checkbox = /*#__PURE__*/forwardRef(function (_ref, ref) {
3420
+ var checked = _ref.checked,
3421
+ _ref$hitSlop = _ref.hitSlop,
3422
+ hitSlop = _ref$hitSlop === void 0 ? 40 : _ref$hitSlop,
3423
+ id = _ref.id,
3424
+ _children = _ref.children,
3425
+ disabled = _ref.disabled,
3426
+ onChange = _ref.onChange,
3427
+ onBlur = _ref.onBlur,
3428
+ onFocus = _ref.onFocus;
3395
3429
  var theme = useKittTheme();
3396
- return /*#__PURE__*/jsxs(CheckboxAndLabelPressableWrapper, {
3430
+ return /*#__PURE__*/jsx(Pressable, {
3431
+ ref: ref,
3432
+ testID: id,
3397
3433
  accessibilityRole: "checkbox",
3398
3434
  accessibilityState: {
3399
3435
  checked: checked
3400
3436
  },
3401
3437
  hitSlop: hitSlop,
3438
+ disabled: disabled,
3402
3439
  onPress: function handlePress(e) {
3403
3440
  if (onFocus) onFocus(e);
3404
3441
  if (onChange) onChange(!checked, e);
3405
3442
  if (onBlur) onBlur(e);
3406
3443
  },
3407
- children: [/*#__PURE__*/jsx(CheckboxContainer, {
3408
- $isChecked: checked,
3409
- $hasLabel: !!children,
3410
- testID: id,
3411
- children: checked ? /*#__PURE__*/jsx(Icon, {
3412
- align: "center",
3413
- color: theme.kitt.forms.checkbox.markColor,
3414
- size: theme.kitt.forms.checkbox.iconSize,
3415
- icon: /*#__PURE__*/jsx(CheckboxMark, {})
3416
- }) : null
3417
- }), children]
3444
+ children: function children(_ref2) {
3445
+ var isHovered = _ref2.isHovered,
3446
+ isPressed = _ref2.isPressed,
3447
+ isFocused = _ref2.isFocused;
3448
+ return /*#__PURE__*/jsxs(HStack, {
3449
+ space: _children ? 'kitt.forms.checkbox.textSpacing' : undefined,
3450
+ children: [/*#__PURE__*/jsx(View, {
3451
+ display: "flex",
3452
+ flexDirection: "row",
3453
+ alignItems: "center",
3454
+ justifyContent: "center",
3455
+ marginTop: _children ? 'kitt.1' : undefined,
3456
+ height: "kitt.forms.checkbox.height",
3457
+ width: "kitt.forms.checkbox.width",
3458
+ borderRadius: "kitt.forms.checkbox.borderRadius",
3459
+ borderWidth: "kitt.forms.checkbox.borderWidth",
3460
+ borderColor: getBorderColor$1({
3461
+ isDisabled: disabled,
3462
+ isFocused: isFocused,
3463
+ isHovered: isHovered,
3464
+ isPressed: isPressed,
3465
+ isChecked: checked
3466
+ }),
3467
+ backgroundColor: getBackgroundColor$1({
3468
+ isDisabled: disabled,
3469
+ isFocused: isFocused,
3470
+ isHovered: isHovered,
3471
+ isPressed: isPressed,
3472
+ isChecked: checked
3473
+ }),
3474
+ _web: {
3475
+ style: {
3476
+ transitionDuration: theme.kitt.forms.checkbox.transition.duration,
3477
+ transitionProperty: 'all',
3478
+ transitionTimingFunction: theme.kitt.forms.checkbox.transition.timingFunction
3479
+ }
3480
+ },
3481
+ children: /*#__PURE__*/jsx(View, {
3482
+ opacity: checked ? 1 : 0,
3483
+ _web: {
3484
+ style: {
3485
+ transitionDuration: theme.kitt.forms.checkbox.transition.duration,
3486
+ transitionProperty: 'opacity',
3487
+ transitionTimingFunction: theme.kitt.forms.checkbox.transition.timingFunction
3488
+ }
3489
+ },
3490
+ children: /*#__PURE__*/jsx(Icon, {
3491
+ align: "center",
3492
+ color: theme.kitt.forms.checkbox.markColor,
3493
+ size: theme.kitt.forms.checkbox.iconSize,
3494
+ icon: /*#__PURE__*/jsx(CheckboxMark, {})
3495
+ })
3496
+ })
3497
+ }), _children ? /*#__PURE__*/jsx(View, {
3498
+ flexShrink: 1,
3499
+ children: _children
3500
+ }) : null]
3501
+ });
3502
+ }
3418
3503
  });
3419
- }
3504
+ });
3420
3505
 
3421
3506
  function prefixWithZero(value) {
3422
3507
  var maxLength = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
@@ -3721,7 +3806,8 @@ var InputPart = /*#__PURE__*/forwardRef(function (_ref2, ref) {
3721
3806
  isHoveredInternal = _ref2.isHoveredInternal,
3722
3807
  isPressedInternal = _ref2.isPressedInternal,
3723
3808
  onChange = _ref2.onChange,
3724
- onBlur = _ref2.onBlur;
3809
+ onBlur = _ref2.onBlur,
3810
+ onSubmitEditing = _ref2.onSubmitEditing;
3725
3811
  return /*#__PURE__*/jsx(InputText, {
3726
3812
  ref: ref,
3727
3813
  internalForceState: getCurrentInternalForcedState({
@@ -3736,7 +3822,8 @@ var InputPart = /*#__PURE__*/forwardRef(function (_ref2, ref) {
3736
3822
  keyboardType: "numeric",
3737
3823
  textAlign: "center",
3738
3824
  onChange: onChange,
3739
- onBlur: onBlur
3825
+ onBlur: onBlur,
3826
+ onSubmitEditing: onSubmitEditing
3740
3827
  });
3741
3828
  });
3742
3829
 
@@ -3752,8 +3839,8 @@ function PartContainer(_ref) {
3752
3839
  });
3753
3840
  }
3754
3841
 
3755
- var _excluded$k = ["value", "testID", "id", "stretch", "placeholder", "minDate", "maxDate", "disabled", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "onChange", "onBlur", "onFocus"];
3756
- function KeyboardDatePicker(_ref) {
3842
+ var _excluded$k = ["value", "testID", "id", "stretch", "placeholder", "minDate", "maxDate", "disabled", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "onChange", "onBlur", "onFocus", "onSubmitEditing"];
3843
+ var KeyboardDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
3757
3844
  var value = _ref.value,
3758
3845
  testID = _ref.testID,
3759
3846
  id = _ref.id,
@@ -3767,9 +3854,9 @@ function KeyboardDatePicker(_ref) {
3767
3854
  isPressedInternal = _ref.isPressedInternal,
3768
3855
  onChange = _ref.onChange,
3769
3856
  onBlur = _ref.onBlur,
3770
- onFocus = _ref.onFocus;
3857
+ onFocus = _ref.onFocus,
3858
+ onSubmitEditing = _ref.onSubmitEditing;
3771
3859
  _objectWithoutProperties(_ref, _excluded$k);
3772
- var dayRef = useRef(null);
3773
3860
  var monthRef = useRef(null);
3774
3861
  var yearRef = useRef(null);
3775
3862
  var defaultValue = value;
@@ -3808,7 +3895,7 @@ function KeyboardDatePicker(_ref) {
3808
3895
  isStretch: stretch,
3809
3896
  width: "kitt.forms.datePicker.day.minWidth",
3810
3897
  children: /*#__PURE__*/jsx(InputPart, _objectSpread(_objectSpread({
3811
- ref: dayRef
3898
+ ref: ref
3812
3899
  }, sharedInputPartProps), {}, {
3813
3900
  placeholder: placeholder === null || placeholder === void 0 ? void 0 : placeholder.day,
3814
3901
  value: state.displayedDay,
@@ -3826,6 +3913,9 @@ function KeyboardDatePicker(_ref) {
3826
3913
  return dispatch({
3827
3914
  type: 'day-blur'
3828
3915
  });
3916
+ },
3917
+ onSubmitEditing: function () {
3918
+ if (monthRef.current) monthRef.current.focus();
3829
3919
  }
3830
3920
  }))
3831
3921
  }), /*#__PURE__*/jsx(PartContainer, {
@@ -3850,6 +3940,9 @@ function KeyboardDatePicker(_ref) {
3850
3940
  return dispatch({
3851
3941
  type: 'month-blur'
3852
3942
  });
3943
+ },
3944
+ onSubmitEditing: function () {
3945
+ if (yearRef.current) yearRef.current.focus();
3853
3946
  }
3854
3947
  }))
3855
3948
  }), /*#__PURE__*/jsx(PartContainer, {
@@ -3870,14 +3963,15 @@ function KeyboardDatePicker(_ref) {
3870
3963
  return dispatch({
3871
3964
  type: 'year-blur'
3872
3965
  });
3873
- }
3966
+ },
3967
+ onSubmitEditing: onSubmitEditing
3874
3968
  }))
3875
3969
  })]
3876
3970
  })
3877
3971
  });
3878
- }
3972
+ });
3879
3973
 
3880
- function PressableDateInputs(_ref) {
3974
+ var PressableDateInputs = /*#__PURE__*/forwardRef(function (_ref, ref) {
3881
3975
  var disabled = _ref.disabled,
3882
3976
  stretch = _ref.stretch,
3883
3977
  id = _ref.id,
@@ -3895,6 +3989,7 @@ function PressableDateInputs(_ref) {
3895
3989
  disabled: disabled
3896
3990
  };
3897
3991
  return /*#__PURE__*/jsx(Pressable, {
3992
+ ref: ref,
3898
3993
  display: "flex",
3899
3994
  flexDirection: "row",
3900
3995
  position: "relative",
@@ -3941,10 +4036,10 @@ function PressableDateInputs(_ref) {
3941
4036
  })]
3942
4037
  })
3943
4038
  });
3944
- }
4039
+ });
3945
4040
 
3946
4041
  var _excluded$j = ["onBlur", "onFocus", "pickerDefaultDate", "pickerUITestID", "isDefaultVisible", "value", "onChange"];
3947
- function DatePickerAndroid(_ref) {
4042
+ var DatePickerAndroid = /*#__PURE__*/forwardRef(function (_ref, ref) {
3948
4043
  var onBlur = _ref.onBlur,
3949
4044
  onFocus = _ref.onFocus,
3950
4045
  pickerDefaultDate = _ref.pickerDefaultDate,
@@ -3988,11 +4083,12 @@ function DatePickerAndroid(_ref) {
3988
4083
  // eslint-disable-next-line react-hooks/exhaustive-deps
3989
4084
  }, []);
3990
4085
  return /*#__PURE__*/jsx(PressableDateInputs, _objectSpread({
4086
+ ref: ref,
3991
4087
  value: currentValue,
3992
4088
  isFocusedInternal: isFocused,
3993
4089
  onPress: handleModalOpen
3994
4090
  }, props));
3995
- }
4091
+ });
3996
4092
 
3997
4093
  var BodyView = /*#__PURE__*/styled.View.withConfig({
3998
4094
  displayName: "Body__BodyView"
@@ -4437,7 +4533,7 @@ function ModalPlatformDateTimePicker(_ref2) {
4437
4533
  onPress: function handleSubmit() {
4438
4534
  onChange(currentValue);
4439
4535
  },
4440
- children: validateButtonLabel ? /*#__PURE__*/jsx(Text$2, {
4536
+ children: validateButtonLabel ? /*#__PURE__*/jsx(Text$1, {
4441
4537
  children: validateButtonLabel
4442
4538
  }) : /*#__PURE__*/jsx(FormattedMessage, {
4443
4539
  id: "kitt-universal.ModalDateTimePicker.confirm"
@@ -4449,7 +4545,7 @@ function ModalPlatformDateTimePicker(_ref2) {
4449
4545
  }
4450
4546
 
4451
4547
  var _excluded$f = ["value", "pickerUITestID", "pickerUITitle", "pickerUIValidateButtonLabel", "isDefaultVisible", "pickerDefaultDate", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "onChange", "onFocus", "onBlur"];
4452
- function DefaultNativeUIDatePicker(_ref) {
4548
+ var DefaultNativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
4453
4549
  var value = _ref.value,
4454
4550
  pickerUITestID = _ref.pickerUITestID,
4455
4551
  pickerUITitle = _ref.pickerUITitle,
@@ -4482,6 +4578,7 @@ function DefaultNativeUIDatePicker(_ref) {
4482
4578
  };
4483
4579
  return /*#__PURE__*/jsxs(Fragment, {
4484
4580
  children: [/*#__PURE__*/jsx(PressableDateInputs, _objectSpread({
4581
+ ref: ref,
4485
4582
  value: currentValue,
4486
4583
  isFocusedInternal: isFocused || isFocusedInternal,
4487
4584
  isHoveredInternal: isHoveredInternal,
@@ -4506,10 +4603,10 @@ function DefaultNativeUIDatePicker(_ref) {
4506
4603
  }
4507
4604
  })]
4508
4605
  });
4509
- }
4606
+ });
4510
4607
 
4511
4608
  var _excluded$e = ["value", "pickerUITestID", "isDefaultVisible", "pickerDefaultDate", "onChange", "onBlur"];
4512
- function NativeUIDatePicker(_ref) {
4609
+ var NativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
4513
4610
  var value = _ref.value,
4514
4611
  pickerUITestID = _ref.pickerUITestID,
4515
4612
  isDefaultVisible = _ref.isDefaultVisible,
@@ -4519,6 +4616,7 @@ function NativeUIDatePicker(_ref) {
4519
4616
  props = _objectWithoutProperties(_ref, _excluded$e);
4520
4617
  if (Platform.OS === 'android') {
4521
4618
  return /*#__PURE__*/jsx(DatePickerAndroid, _objectSpread({
4619
+ ref: ref,
4522
4620
  pickerDefaultDate: pickerDefaultDate,
4523
4621
  pickerUITestID: pickerUITestID,
4524
4622
  isDefaultVisible: isDefaultVisible,
@@ -4528,40 +4626,48 @@ function NativeUIDatePicker(_ref) {
4528
4626
  }, props));
4529
4627
  }
4530
4628
  return /*#__PURE__*/jsx(DefaultNativeUIDatePicker, _objectSpread({
4629
+ ref: ref,
4531
4630
  value: value,
4532
4631
  isDefaultVisible: isDefaultVisible,
4533
4632
  pickerUITestID: pickerUITestID,
4534
4633
  onChange: onChange,
4535
4634
  onBlur: onBlur
4536
4635
  }, props));
4537
- }
4636
+ });
4538
4637
 
4539
- var _excluded$d = ["fillMode", "value"];
4540
- function DatePicker(_ref) {
4638
+ var _excluded$d = ["fillMode", "value", "onSubmitEditing"];
4639
+ var DatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
4541
4640
  var _ref$fillMode = _ref.fillMode,
4542
4641
  fillMode = _ref$fillMode === void 0 ? 'native' : _ref$fillMode,
4543
4642
  value = _ref.value,
4643
+ onSubmitEditing = _ref.onSubmitEditing,
4544
4644
  props = _objectWithoutProperties(_ref, _excluded$d);
4545
4645
  // in apps, final-form can give a string value that will break the component
4546
4646
  var currentValue = value || undefined;
4547
4647
  if (fillMode === 'keyboard') {
4548
- return /*#__PURE__*/jsx(KeyboardDatePicker, _objectSpread(_objectSpread({}, props), {}, {
4549
- value: currentValue
4648
+ return /*#__PURE__*/jsx(KeyboardDatePicker, _objectSpread(_objectSpread({
4649
+ ref: ref
4650
+ }, props), {}, {
4651
+ value: currentValue,
4652
+ onSubmitEditing: onSubmitEditing
4550
4653
  }));
4551
4654
  }
4552
- return /*#__PURE__*/jsx(NativeUIDatePicker, _objectSpread(_objectSpread({}, props), {}, {
4655
+ return /*#__PURE__*/jsx(NativeUIDatePicker, _objectSpread(_objectSpread({
4656
+ ref: ref
4657
+ }, props), {}, {
4553
4658
  value: currentValue
4554
4659
  }));
4555
- }
4660
+ });
4556
4661
 
4557
- function InputEmail(props) {
4662
+ var InputEmail = /*#__PURE__*/forwardRef(function (props, ref) {
4558
4663
  return /*#__PURE__*/jsx(InputText, _objectSpread({
4664
+ ref: ref,
4559
4665
  autoComplete: "email",
4560
4666
  keyboardType: "email-address",
4561
4667
  textContentType: "emailAddress",
4562
4668
  autoCapitalize: "none"
4563
4669
  }, props));
4564
- }
4670
+ });
4565
4671
 
4566
4672
  var getColorFromState = function (state) {
4567
4673
  switch (state) {
@@ -4638,7 +4744,7 @@ function InputPressable(_ref) {
4638
4744
  }
4639
4745
 
4640
4746
  var _excluded$c = ["isPasswordDefaultVisible", "right"];
4641
- function InputPassword(_ref) {
4747
+ var InputPassword = /*#__PURE__*/forwardRef(function (_ref, ref) {
4642
4748
  var isPasswordDefaultVisible = _ref.isPasswordDefaultVisible,
4643
4749
  right = _ref.right,
4644
4750
  props = _objectWithoutProperties(_ref, _excluded$c);
@@ -4646,7 +4752,9 @@ function InputPassword(_ref) {
4646
4752
  _useState2 = _slicedToArray(_useState, 2),
4647
4753
  isVisible = _useState2[0],
4648
4754
  setIsVisible = _useState2[1];
4649
- return /*#__PURE__*/jsx(InputText, _objectSpread(_objectSpread({}, props), {}, {
4755
+ return /*#__PURE__*/jsx(InputText, _objectSpread(_objectSpread({
4756
+ ref: ref
4757
+ }, props), {}, {
4650
4758
  textContentType: "password",
4651
4759
  autoComplete: "password",
4652
4760
  autoCorrect: false,
@@ -4664,15 +4772,17 @@ function InputPassword(_ref) {
4664
4772
  })
4665
4773
  })
4666
4774
  }));
4667
- }
4775
+ });
4668
4776
 
4669
- function InputPhone(props) {
4670
- return /*#__PURE__*/jsx(InputText, _objectSpread(_objectSpread({}, props), {}, {
4777
+ var InputPhone = /*#__PURE__*/forwardRef(function (props, ref) {
4778
+ return /*#__PURE__*/jsx(InputText, _objectSpread(_objectSpread({
4779
+ ref: ref
4780
+ }, props), {}, {
4671
4781
  autoComplete: "tel",
4672
4782
  keyboardType: "number-pad",
4673
4783
  textContentType: "telephoneNumber"
4674
4784
  }));
4675
- }
4785
+ });
4676
4786
 
4677
4787
  var getTypographyColor = function (type) {
4678
4788
  return type ? 'white' : 'black';
@@ -4736,96 +4846,150 @@ function Label(_ref) {
4736
4846
  });
4737
4847
  }
4738
4848
 
4739
- var OuterRadio = /*#__PURE__*/styled.View.withConfig({
4740
- displayName: "Radio__OuterRadio"
4741
- })(["background-color:", ";width:", "px;height:", "px;border-radius:", "px;border-width:", "px;border-color:", ";"], function (_ref) {
4742
- var theme = _ref.theme,
4743
- disabled = _ref.disabled;
4744
- return theme.kitt.forms.radio[disabled ? 'disabled' : 'unchecked'].backgroundColor;
4745
- }, function (_ref2) {
4746
- var theme = _ref2.theme;
4747
- return theme.kitt.forms.radio.size;
4748
- }, function (_ref3) {
4749
- var theme = _ref3.theme;
4750
- return theme.kitt.forms.radio.size;
4751
- }, function (_ref4) {
4752
- var theme = _ref4.theme;
4753
- return theme.kitt.forms.radio.size / 2;
4754
- }, function (_ref5) {
4755
- var theme = _ref5.theme;
4756
- return theme.kitt.forms.radio.unchecked.borderWidth;
4757
- }, function (_ref6) {
4758
- var theme = _ref6.theme,
4759
- disabled = _ref6.disabled;
4760
- return theme.kitt.forms.radio[disabled ? 'disabled' : 'unchecked'].borderColor;
4761
- });
4762
- var SelectedOuterRadio = /*#__PURE__*/styled.View.withConfig({
4763
- displayName: "Radio__SelectedOuterRadio"
4764
- })(["background-color:", ";width:", "px;height:", "px;border-radius:", "px;justify-content:center;align-items:center;"], function (_ref7) {
4765
- var theme = _ref7.theme;
4766
- return theme.kitt.forms.radio.checked.backgroundColor;
4767
- }, function (_ref8) {
4768
- var theme = _ref8.theme;
4769
- return theme.kitt.forms.radio.size;
4770
- }, function (_ref9) {
4771
- var theme = _ref9.theme;
4772
- return theme.kitt.forms.radio.size;
4773
- }, function (_ref10) {
4774
- var theme = _ref10.theme;
4775
- return theme.kitt.forms.radio.size / 2;
4776
- });
4777
- var SelectedInnerRadio = /*#__PURE__*/styled.View.withConfig({
4778
- displayName: "Radio__SelectedInnerRadio"
4779
- })(["background-color:", ";width:", "px;height:", "px;border-radius:", "px;"], function (_ref11) {
4780
- var theme = _ref11.theme;
4781
- return theme.kitt.forms.radio.checked.innerBackgroundColor;
4782
- }, function (_ref12) {
4783
- var theme = _ref12.theme;
4784
- return theme.kitt.forms.radio.checked.innerSize;
4785
- }, function (_ref13) {
4786
- var theme = _ref13.theme;
4787
- return theme.kitt.forms.radio.checked.innerSize;
4788
- }, function (_ref14) {
4789
- var theme = _ref14.theme;
4790
- return theme.kitt.forms.radio.checked.innerSize / 2;
4791
- });
4792
- var Container$3 = /*#__PURE__*/styled.Pressable.withConfig({
4793
- displayName: "Radio__Container"
4794
- })(["flex-direction:row;align-items:center;"]);
4795
- var Text = /*#__PURE__*/styled(Typography.Text).withConfig({
4796
- displayName: "Radio__Text"
4797
- })(["margin-left:", "px;"], function (_ref15) {
4798
- var theme = _ref15.theme;
4799
- return theme.kitt.spacing * 2;
4800
- });
4801
- function Radio(_ref16) {
4802
- var id = _ref16.id,
4803
- checked = _ref16.checked,
4804
- onChange = _ref16.onChange,
4805
- value = _ref16.value,
4806
- _ref16$disabled = _ref16.disabled,
4807
- disabled = _ref16$disabled === void 0 ? false : _ref16$disabled,
4808
- children = _ref16.children;
4809
- return /*#__PURE__*/jsxs(Container$3, {
4849
+ function InnerCircle(_ref) {
4850
+ var isChecked = _ref.isChecked;
4851
+ var theme = /*#__PURE__*/useTheme();
4852
+ var sharedTransform = [{
4853
+ scale: isChecked ? 1 : 0
4854
+ }];
4855
+ return /*#__PURE__*/jsx(View, {
4856
+ width: "kitt.forms.radio.innerCircle.size",
4857
+ height: "kitt.forms.radio.innerCircle.size",
4858
+ borderRadius: "kitt.forms.radio.innerCircle.borderRadius",
4859
+ backgroundColor: "kitt.forms.radio.innerCircle.backgroundColor",
4860
+ _web: {
4861
+ style: {
4862
+ transform: sharedTransform,
4863
+ transitionProperty: 'all',
4864
+ transitionDuration: theme.kitt.forms.radio.transition.duration,
4865
+ transitionTimingFunction: theme.kitt.forms.radio.transition.timingFunction
4866
+ }
4867
+ },
4868
+ _ios: {
4869
+ style: {
4870
+ transform: sharedTransform
4871
+ }
4872
+ },
4873
+ _android: {
4874
+ style: {
4875
+ transform: sharedTransform
4876
+ }
4877
+ }
4878
+ });
4879
+ }
4880
+
4881
+ function getBackgroundColor(_ref) {
4882
+ var isDisabled = _ref.isDisabled,
4883
+ isPressed = _ref.isPressed,
4884
+ isHovered = _ref.isHovered,
4885
+ isFocused = _ref.isFocused,
4886
+ isChecked = _ref.isChecked;
4887
+ if (isChecked) return 'kitt.forms.radio.checked.backgroundColor';
4888
+ if (isDisabled) return 'kitt.forms.radio.disabled.backgroundColor';
4889
+ if (isPressed) return 'kitt.forms.radio.pressed.backgroundColor';
4890
+ if (isHovered) return 'kitt.forms.radio.hover.backgroundColor';
4891
+ if (isFocused) return 'kitt.forms.radio.focus.backgroundColor';
4892
+ return 'kitt.forms.radio.default.backgroundColor';
4893
+ }
4894
+
4895
+ function getBorderColor(_ref) {
4896
+ var isDisabled = _ref.isDisabled,
4897
+ isPressed = _ref.isPressed,
4898
+ isHovered = _ref.isHovered,
4899
+ isFocused = _ref.isFocused,
4900
+ isChecked = _ref.isChecked;
4901
+ if (isChecked) return 'kitt.forms.radio.checked.borderColor';
4902
+ if (isDisabled) return 'kitt.forms.radio.disabled.borderColor';
4903
+ if (isPressed) return 'kitt.forms.radio.pressed.borderColor';
4904
+ if (isHovered) return 'kitt.forms.radio.hover.borderColor';
4905
+ if (isFocused) return 'kitt.forms.radio.focus.borderColor';
4906
+ return 'kitt.forms.radio.default.borderColor';
4907
+ }
4908
+
4909
+ function OuterCircle(_ref) {
4910
+ var children = _ref.children,
4911
+ isChecked = _ref.isChecked,
4912
+ isDisabled = _ref.isDisabled,
4913
+ isHovered = _ref.isHovered,
4914
+ isFocused = _ref.isFocused,
4915
+ isPressed = _ref.isPressed;
4916
+ var theme = /*#__PURE__*/useTheme();
4917
+ return /*#__PURE__*/jsx(View, {
4918
+ alignItems: "center",
4919
+ justifyContent: "center",
4920
+ borderWidth: "kitt.forms.radio.borderWidth",
4921
+ width: "kitt.forms.radio.size",
4922
+ height: "kitt.forms.radio.size",
4923
+ borderRadius: "kitt.forms.radio.borderRadius",
4924
+ backgroundColor: getBackgroundColor({
4925
+ isChecked: isChecked,
4926
+ isDisabled: isDisabled,
4927
+ isFocused: isFocused,
4928
+ isHovered: isHovered,
4929
+ isPressed: isPressed
4930
+ }),
4931
+ borderColor: getBorderColor({
4932
+ isChecked: isChecked,
4933
+ isDisabled: isDisabled,
4934
+ isFocused: isFocused,
4935
+ isHovered: isHovered,
4936
+ isPressed: isPressed
4937
+ }),
4938
+ _web: {
4939
+ style: {
4940
+ transitionProperty: 'all',
4941
+ transitionDuration: theme.kitt.forms.radio.transition.duration,
4942
+ transitionTimingFunction: theme.kitt.forms.radio.transition.timingFunction
4943
+ }
4944
+ },
4945
+ children: children
4946
+ });
4947
+ }
4948
+
4949
+ var Radio = /*#__PURE__*/forwardRef(function (_ref, ref) {
4950
+ var id = _ref.id,
4951
+ checked = _ref.checked,
4952
+ onChange = _ref.onChange,
4953
+ value = _ref.value,
4954
+ disabled = _ref.disabled,
4955
+ _children = _ref.children;
4956
+ return /*#__PURE__*/jsx(Pressable, {
4957
+ ref: ref,
4810
4958
  nativeID: id,
4811
4959
  disabled: disabled,
4812
4960
  accessibilityRole: "radio",
4813
4961
  "aria-checked": checked,
4814
4962
  focusable: checked && !disabled,
4963
+ flexDirection: "row",
4964
+ alignItems: "center",
4815
4965
  onPress: function handlePress() {
4816
4966
  onChange(value);
4817
4967
  },
4818
- children: [checked && !disabled ? /*#__PURE__*/jsx(SelectedOuterRadio, {
4819
- children: /*#__PURE__*/jsx(SelectedInnerRadio, {})
4820
- }) : /*#__PURE__*/jsx(OuterRadio, {
4821
- disabled: disabled
4822
- }), /*#__PURE__*/jsx(Text, {
4823
- base: "body",
4824
- color: disabled ? 'black-light' : 'black',
4825
- children: children
4826
- })]
4968
+ children: function children(_ref2) {
4969
+ var isHovered = _ref2.isHovered,
4970
+ isPressed = _ref2.isPressed,
4971
+ isFocused = _ref2.isFocused;
4972
+ return /*#__PURE__*/jsxs(HStack, {
4973
+ space: _children ? 'kitt.2' : undefined,
4974
+ alignItems: "center",
4975
+ children: [/*#__PURE__*/jsx(OuterCircle, {
4976
+ isChecked: checked,
4977
+ isDisabled: disabled,
4978
+ isHovered: isHovered,
4979
+ isFocused: isFocused,
4980
+ isPressed: isPressed,
4981
+ children: /*#__PURE__*/jsx(InnerCircle, {
4982
+ isChecked: checked
4983
+ })
4984
+ }), _children ? /*#__PURE__*/jsx(Typography.Text, {
4985
+ base: "body",
4986
+ color: disabled ? 'black-light' : 'black',
4987
+ children: _children
4988
+ }) : null]
4989
+ });
4990
+ }
4827
4991
  });
4828
- }
4992
+ });
4829
4993
 
4830
4994
  var StyledAnimatedView = /*#__PURE__*/styled(Animated.View).withConfig({
4831
4995
  displayName: "AnimatedContainer__StyledAnimatedView"
@@ -5119,15 +5283,15 @@ function RadioButtonGroup(_ref2) {
5119
5283
  }
5120
5284
  RadioButtonGroup.RadioButton = RadioButtonGroupItem;
5121
5285
 
5122
- function TextArea(_ref) {
5286
+ var TextArea = /*#__PURE__*/forwardRef(function (_ref, ref) {
5123
5287
  var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
5124
- var theme = /*#__PURE__*/useTheme();
5125
5288
  return /*#__PURE__*/jsx(InputText, _objectSpread({
5289
+ ref: ref,
5126
5290
  multiline: true,
5127
5291
  textAlignVertical: "top",
5128
- minHeight: theme.kitt.forms.textArea.minHeight
5292
+ minHeight: "kitt.forms.textArea.minHeight"
5129
5293
  }, props));
5130
- }
5294
+ });
5131
5295
 
5132
5296
  function Highlight(_ref) {
5133
5297
  var _ref$variant = _ref.variant,
@@ -5597,9 +5761,13 @@ function Message(_ref) {
5597
5761
  }
5598
5762
 
5599
5763
  var createKittSpaces = function (spacing) {
5600
- var sizes = {};
5764
+ var sizes = {
5765
+ positive: {},
5766
+ negative: {}
5767
+ };
5601
5768
  for (var size = 1; size <= 64; size++) {
5602
- sizes["kitt.".concat(size)] = size * spacing;
5769
+ sizes.positive["kitt.".concat(size)] = size * spacing;
5770
+ sizes.negative["-kitt.".concat(size)] = -size * spacing;
5603
5771
  }
5604
5772
  return sizes;
5605
5773
  };
@@ -5647,10 +5815,62 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
5647
5815
  backgroundColor: theme.forms.radioButtonGroup.item.backgroundColor
5648
5816
  }
5649
5817
  },
5650
- skeleton: {
5651
- backgroundColor: theme.skeleton.backgroundColor,
5652
- flareColor: theme.skeleton.flareColor
5818
+ checkbox: {
5819
+ markColor: theme.forms.checkbox.markColor,
5820
+ checked: {
5821
+ backgroundColor: theme.forms.checkbox.checked.backgroundColor,
5822
+ borderColor: theme.forms.checkbox.checked.borderColor
5823
+ },
5824
+ hover: {
5825
+ backgroundColor: theme.forms.checkbox.hover.backgroundColor,
5826
+ borderColor: theme.forms.checkbox.hover.borderColor
5827
+ },
5828
+ pressed: {
5829
+ backgroundColor: theme.forms.checkbox.pressed.backgroundColor,
5830
+ borderColor: theme.forms.checkbox.pressed.borderColor
5831
+ },
5832
+ focus: {
5833
+ backgroundColor: theme.forms.checkbox.focus.backgroundColor,
5834
+ borderColor: theme.forms.checkbox.focus.borderColor
5835
+ },
5836
+ "default": {
5837
+ backgroundColor: theme.forms.checkbox["default"].backgroundColor,
5838
+ borderColor: theme.forms.checkbox["default"].borderColor
5839
+ }
5840
+ },
5841
+ radio: {
5842
+ checked: {
5843
+ backgroundColor: theme.forms.radio.checked.backgroundColor,
5844
+ borderColor: theme.forms.radio.checked.borderColor
5845
+ },
5846
+ hover: {
5847
+ backgroundColor: theme.forms.radio.hover.backgroundColor,
5848
+ borderColor: theme.forms.radio.hover.borderColor
5849
+ },
5850
+ pressed: {
5851
+ backgroundColor: theme.forms.radio.pressed.backgroundColor,
5852
+ borderColor: theme.forms.radio.pressed.borderColor
5853
+ },
5854
+ focus: {
5855
+ backgroundColor: theme.forms.radio.pressed.backgroundColor,
5856
+ borderColor: theme.forms.radio.pressed.borderColor
5857
+ },
5858
+ disabled: {
5859
+ backgroundColor: theme.forms.radio.disabled.backgroundColor,
5860
+ borderColor: theme.forms.radio.disabled.borderColor
5861
+ },
5862
+ "default": {
5863
+ backgroundColor: theme.forms.radio.unchecked.backgroundColor,
5864
+ borderColor: theme.forms.radio.unchecked.borderColor
5865
+ },
5866
+ innerCircle: {
5867
+ backgroundColor: theme.forms.radio.checked.innerBackgroundColor
5868
+ }
5653
5869
  }
5870
+ },
5871
+ skeleton: {
5872
+ backgroundColor: theme.skeleton.backgroundColor,
5873
+ flareColor: theme.skeleton.flareColor
5654
5874
  }
5655
5875
  }),
5656
5876
  app: appTheme === null || appTheme === void 0 ? void 0 : appTheme.colors
@@ -5662,7 +5882,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
5662
5882
  sm: Number.MAX_SAFE_INTEGER,
5663
5883
  xl: Number.MAX_SAFE_INTEGER,
5664
5884
  xs: Number.MAX_SAFE_INTEGER
5665
- }, spaces), {}, {
5885
+ }, spaces.positive), {}, {
5666
5886
  kitt: {
5667
5887
  avatar: {
5668
5888
  borderRadius: theme.avatar.borderRadius,
@@ -5691,6 +5911,15 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
5691
5911
  item: {
5692
5912
  borderRadius: theme.forms.radioButtonGroup.item.borderRadius
5693
5913
  }
5914
+ },
5915
+ checkbox: {
5916
+ borderRadius: theme.forms.checkbox.borderRadius
5917
+ },
5918
+ radio: {
5919
+ borderRadius: theme.forms.radio.size * 0.5,
5920
+ innerCircle: {
5921
+ borderRadius: theme.forms.radio.checked.innerSize * 0.5
5922
+ }
5694
5923
  }
5695
5924
  },
5696
5925
  tooltip: {
@@ -5725,6 +5954,12 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
5725
5954
  item: {
5726
5955
  borderWidth: theme.forms.radioButtonGroup.item.borderWidth
5727
5956
  }
5957
+ },
5958
+ checkbox: {
5959
+ borderWidth: theme.forms.checkbox.borderWidth
5960
+ },
5961
+ radio: {
5962
+ borderWidth: theme.forms.radio.unchecked.borderWidth
5728
5963
  }
5729
5964
  },
5730
5965
  cardModal: {
@@ -5738,7 +5973,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
5738
5973
  },
5739
5974
  app: appTheme === null || appTheme === void 0 ? void 0 : appTheme.borderWidths
5740
5975
  },
5741
- sizes: _objectSpread(_objectSpread(_objectSpread({}, spaces), overridenNativeBaseSizeandSpaceScale), {}, {
5976
+ sizes: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, spaces.positive), spaces.negative), overridenNativeBaseSizeandSpaceScale), {}, {
5742
5977
  kitt: {
5743
5978
  avatar: {
5744
5979
  size: theme.avatar.size,
@@ -5784,6 +6019,21 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
5784
6019
  item: {
5785
6020
  minHeight: theme.forms.radioButtonGroup.item.minHeight
5786
6021
  }
6022
+ },
6023
+ checkbox: {
6024
+ height: theme.forms.checkbox.height,
6025
+ width: theme.forms.checkbox.width,
6026
+ iconSize: theme.forms.checkbox.iconSize,
6027
+ textSpacing: theme.forms.checkbox.textSpacing
6028
+ },
6029
+ radio: {
6030
+ size: theme.forms.radio.size,
6031
+ innerCircle: {
6032
+ size: theme.forms.radio.checked.innerSize
6033
+ }
6034
+ },
6035
+ textArea: {
6036
+ minHeight: theme.forms.textArea.minHeight
5787
6037
  }
5788
6038
  },
5789
6039
  iconButton: {
@@ -5812,7 +6062,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
5812
6062
  },
5813
6063
  app: appTheme === null || appTheme === void 0 ? void 0 : appTheme.sizes
5814
6064
  }),
5815
- space: _objectSpread(_objectSpread(_objectSpread({}, spaces), overridenNativeBaseSizeandSpaceScale), {}, {
6065
+ space: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, spaces.positive), spaces.negative), overridenNativeBaseSizeandSpaceScale), {}, {
5816
6066
  kitt: {
5817
6067
  button: {
5818
6068
  padding: theme.button.padding
@@ -7723,7 +7973,7 @@ function ModalDateTimePicker(_ref2) {
7723
7973
  onPress: function handleSubmit() {
7724
7974
  onChange(currentValue);
7725
7975
  },
7726
- children: validateButtonLabel ? /*#__PURE__*/jsx(Text$2, {
7976
+ children: validateButtonLabel ? /*#__PURE__*/jsx(Text$1, {
7727
7977
  children: validateButtonLabel
7728
7978
  }) : /*#__PURE__*/jsx(FormattedMessage, {
7729
7979
  id: "kitt-universal.ModalDateTimePicker.confirm"