@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';
@@ -224,7 +224,7 @@ function Typography(_ref) {
224
224
  });
225
225
  }
226
226
  var currentColor = !color && !hasTypographyAncestor ? defaultColor : color;
227
- var text = /*#__PURE__*/jsx(Text$1, _objectSpread({
227
+ var text = /*#__PURE__*/jsx(Text, _objectSpread({
228
228
  accessibilityRole: accessibilityRole || undefined,
229
229
  fontSize: fontSizeForNativeBase,
230
230
  lineHeight: hasTypographyAncestor ? undefined : fontSizeForNativeBase,
@@ -2698,11 +2698,36 @@ var checkbox = {
2698
2698
  height: 20,
2699
2699
  width: 20,
2700
2700
  iconSize: 14,
2701
- borderColor: colors.separator,
2702
- backgroundColor: colors.uiBackgroundLight,
2703
- checkedBorderColor: colors.primary,
2704
- checkedBackgroundColor: colors.primary,
2705
- markColor: colors.uiBackgroundLight
2701
+ markColor: colors.uiBackgroundLight,
2702
+ textSpacing: 10,
2703
+ "default": {
2704
+ borderColor: colors.separator,
2705
+ backgroundColor: colors.uiBackgroundLight
2706
+ },
2707
+ checked: {
2708
+ borderColor: colors.primary,
2709
+ backgroundColor: colors.primary
2710
+ },
2711
+ focus: {
2712
+ borderColor: colors.primary,
2713
+ backgroundColor: colors.uiBackgroundLight
2714
+ },
2715
+ hover: {
2716
+ borderColor: colors.primary,
2717
+ backgroundColor: colors.uiBackgroundLight
2718
+ },
2719
+ pressed: {
2720
+ borderColor: colors.primary,
2721
+ backgroundColor: colors.uiBackgroundLight
2722
+ },
2723
+ disabled: {
2724
+ borderColor: colors.separator,
2725
+ backgroundColor: colors.disabled
2726
+ },
2727
+ transition: {
2728
+ duration: '200ms',
2729
+ timingFunction: 'ease-out'
2730
+ }
2706
2731
  };
2707
2732
 
2708
2733
  var datePicker = {
@@ -2898,18 +2923,31 @@ var inputTag = {
2898
2923
  var radio = {
2899
2924
  size: 18,
2900
2925
  unchecked: {
2901
- backgroundColor: colors.uiBackgroundLight,
2902
2926
  borderWidth: 2,
2927
+ backgroundColor: colors.uiBackgroundLight,
2903
2928
  borderColor: lateOceanColorPalette.black200
2904
2929
  },
2905
2930
  checked: {
2906
2931
  backgroundColor: colors.primary,
2932
+ borderColor: colors.transparent,
2907
2933
  innerSize: 5,
2908
2934
  innerBackgroundColor: colors.uiBackgroundLight
2909
2935
  },
2936
+ hover: {
2937
+ backgroundColor: colors.uiBackgroundLight,
2938
+ borderColor: colors.primary
2939
+ },
2940
+ pressed: {
2941
+ backgroundColor: colors.uiBackgroundLight,
2942
+ borderColor: colors.primary
2943
+ },
2910
2944
  disabled: {
2911
2945
  backgroundColor: colors.disabled,
2912
2946
  borderColor: colors.separator
2947
+ },
2948
+ transition: {
2949
+ duration: '200ms',
2950
+ timingFunction: 'ease-out'
2913
2951
  }
2914
2952
  };
2915
2953
 
@@ -3351,73 +3389,120 @@ function useKittTheme() {
3351
3389
  }, [dimensions]);
3352
3390
  }
3353
3391
 
3354
- var CheckboxAndLabelPressableWrapper = /*#__PURE__*/styled.Pressable.withConfig({
3355
- displayName: "Checkbox__CheckboxAndLabelPressableWrapper"
3356
- })(["display:flex;flex-direction:row;"]);
3357
- var CheckboxContainer = /*#__PURE__*/styled.View.withConfig({
3358
- displayName: "Checkbox__CheckboxContainer"
3359
- })(["display:flex;flex-direction:row;align-items:center;justify-content:center;height:", "px;width:", "px;position:relative;border-radius:", "px;", " margin-right:", ";"], function (_ref) {
3360
- var theme = _ref.theme;
3361
- return theme.kitt.forms.checkbox.height;
3362
- }, function (_ref2) {
3363
- var theme = _ref2.theme;
3364
- return theme.kitt.forms.checkbox.width;
3365
- }, function (_ref3) {
3366
- var theme = _ref3.theme;
3367
- return theme.kitt.forms.checkbox.borderRadius;
3368
- }, function (_ref4) {
3369
- var $isChecked = _ref4.$isChecked,
3370
- theme = _ref4.theme;
3371
- var _theme$kitt$forms$che = theme.kitt.forms.checkbox,
3372
- checkedBackgroundColor = _theme$kitt$forms$che.checkedBackgroundColor,
3373
- checkedBorderColor = _theme$kitt$forms$che.checkedBorderColor,
3374
- borderColor = _theme$kitt$forms$che.borderColor,
3375
- borderWidth = _theme$kitt$forms$che.borderWidth,
3376
- backgroundColor = _theme$kitt$forms$che.backgroundColor;
3377
- if ($isChecked) {
3378
- return css(["background-color:", ";border:", ";"], checkedBackgroundColor, "".concat(borderWidth, "px solid ").concat(checkedBorderColor));
3379
- }
3380
- return css(["background-color:", ";border:", ";"], backgroundColor, "".concat(borderWidth, "px solid ").concat(borderColor));
3381
- }, function (_ref5) {
3382
- var theme = _ref5.theme,
3383
- $hasLabel = _ref5.$hasLabel;
3384
- if (!$hasLabel) return '0px';
3385
- return "".concat(theme.kitt.spacing * 2.5, "px;");
3386
- });
3387
- function Checkbox(_ref6) {
3388
- var onChange = _ref6.onChange,
3389
- onBlur = _ref6.onBlur,
3390
- onFocus = _ref6.onFocus,
3391
- checked = _ref6.checked,
3392
- _ref6$hitSlop = _ref6.hitSlop,
3393
- hitSlop = _ref6$hitSlop === void 0 ? 40 : _ref6$hitSlop,
3394
- id = _ref6.id,
3395
- children = _ref6.children;
3392
+ function getBackgroundColor$1(_ref) {
3393
+ var isDisabled = _ref.isDisabled,
3394
+ isPressed = _ref.isPressed,
3395
+ isHovered = _ref.isHovered,
3396
+ isFocused = _ref.isFocused,
3397
+ isChecked = _ref.isChecked;
3398
+ if (isChecked) return 'kitt.forms.checkbox.checked.backgroundColor';
3399
+ if (isDisabled) return 'kitt.forms.checkbox.disabled.backgroundColor';
3400
+ if (isPressed) return 'kitt.forms.checkbox.pressed.backgroundColor';
3401
+ if (isHovered) return 'kitt.forms.checkbox.hover.backgroundColor';
3402
+ if (isFocused) return 'kitt.forms.checkbox.focus.backgroundColor';
3403
+ return 'kitt.forms.checkbox.default.backgroundColor';
3404
+ }
3405
+
3406
+ function getBorderColor$1(_ref) {
3407
+ var isDisabled = _ref.isDisabled,
3408
+ isPressed = _ref.isPressed,
3409
+ isHovered = _ref.isHovered,
3410
+ isFocused = _ref.isFocused,
3411
+ isChecked = _ref.isChecked;
3412
+ if (isChecked) return 'kitt.forms.checkbox.checked.borderColor';
3413
+ if (isDisabled) return 'kitt.forms.checkbox.disabled.borderColor';
3414
+ if (isPressed) return 'kitt.forms.checkbox.pressed.borderColor';
3415
+ if (isHovered) return 'kitt.forms.checkbox.hover.borderColor';
3416
+ if (isFocused) return 'kitt.forms.checkbox.focus.borderColor';
3417
+ return 'kitt.forms.checkbox.default.borderColor';
3418
+ }
3419
+
3420
+ var Checkbox = /*#__PURE__*/forwardRef(function (_ref, ref) {
3421
+ var checked = _ref.checked,
3422
+ _ref$hitSlop = _ref.hitSlop,
3423
+ hitSlop = _ref$hitSlop === void 0 ? 40 : _ref$hitSlop,
3424
+ id = _ref.id,
3425
+ _children = _ref.children,
3426
+ disabled = _ref.disabled,
3427
+ onChange = _ref.onChange,
3428
+ onBlur = _ref.onBlur,
3429
+ onFocus = _ref.onFocus;
3396
3430
  var theme = useKittTheme();
3397
- return /*#__PURE__*/jsxs(CheckboxAndLabelPressableWrapper, {
3431
+ return /*#__PURE__*/jsx(Pressable, {
3432
+ ref: ref,
3433
+ testID: id,
3398
3434
  accessibilityRole: "checkbox",
3399
3435
  accessibilityState: {
3400
3436
  checked: checked
3401
3437
  },
3402
3438
  hitSlop: hitSlop,
3439
+ disabled: disabled,
3403
3440
  onPress: function handlePress(e) {
3404
3441
  if (onFocus) onFocus(e);
3405
3442
  if (onChange) onChange(!checked, e);
3406
3443
  if (onBlur) onBlur(e);
3407
3444
  },
3408
- children: [/*#__PURE__*/jsx(CheckboxContainer, {
3409
- $isChecked: checked,
3410
- $hasLabel: !!children,
3411
- testID: id,
3412
- children: checked ? /*#__PURE__*/jsx(Icon, {
3413
- align: "center",
3414
- color: theme.kitt.forms.checkbox.markColor,
3415
- size: theme.kitt.forms.checkbox.iconSize,
3416
- icon: /*#__PURE__*/jsx(CheckboxMark, {})
3417
- }) : null
3418
- }), children]
3445
+ children: function children(_ref2) {
3446
+ var isHovered = _ref2.isHovered,
3447
+ isPressed = _ref2.isPressed,
3448
+ isFocused = _ref2.isFocused;
3449
+ return /*#__PURE__*/jsxs(HStack, {
3450
+ space: _children ? 'kitt.forms.checkbox.textSpacing' : undefined,
3451
+ children: [/*#__PURE__*/jsx(View, {
3452
+ display: "flex",
3453
+ flexDirection: "row",
3454
+ alignItems: "center",
3455
+ justifyContent: "center",
3456
+ marginTop: _children ? 'kitt.1' : undefined,
3457
+ height: "kitt.forms.checkbox.height",
3458
+ width: "kitt.forms.checkbox.width",
3459
+ borderRadius: "kitt.forms.checkbox.borderRadius",
3460
+ borderWidth: "kitt.forms.checkbox.borderWidth",
3461
+ borderColor: getBorderColor$1({
3462
+ isDisabled: disabled,
3463
+ isFocused: isFocused,
3464
+ isHovered: isHovered,
3465
+ isPressed: isPressed,
3466
+ isChecked: checked
3467
+ }),
3468
+ backgroundColor: getBackgroundColor$1({
3469
+ isDisabled: disabled,
3470
+ isFocused: isFocused,
3471
+ isHovered: isHovered,
3472
+ isPressed: isPressed,
3473
+ isChecked: checked
3474
+ }),
3475
+ _web: {
3476
+ style: {
3477
+ transitionDuration: theme.kitt.forms.checkbox.transition.duration,
3478
+ transitionProperty: 'all',
3479
+ transitionTimingFunction: theme.kitt.forms.checkbox.transition.timingFunction
3480
+ }
3481
+ },
3482
+ children: /*#__PURE__*/jsx(View, {
3483
+ opacity: checked ? 1 : 0,
3484
+ _web: {
3485
+ style: {
3486
+ transitionDuration: theme.kitt.forms.checkbox.transition.duration,
3487
+ transitionProperty: 'opacity',
3488
+ transitionTimingFunction: theme.kitt.forms.checkbox.transition.timingFunction
3489
+ }
3490
+ },
3491
+ children: /*#__PURE__*/jsx(Icon, {
3492
+ align: "center",
3493
+ color: theme.kitt.forms.checkbox.markColor,
3494
+ size: theme.kitt.forms.checkbox.iconSize,
3495
+ icon: /*#__PURE__*/jsx(CheckboxMark, {})
3496
+ })
3497
+ })
3498
+ }), _children ? /*#__PURE__*/jsx(View, {
3499
+ flexShrink: 1,
3500
+ children: _children
3501
+ }) : null]
3502
+ });
3503
+ }
3419
3504
  });
3420
- }
3505
+ });
3421
3506
 
3422
3507
  function prefixWithZero(value) {
3423
3508
  var maxLength = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
@@ -3722,7 +3807,8 @@ var InputPart = /*#__PURE__*/forwardRef(function (_ref2, ref) {
3722
3807
  isHoveredInternal = _ref2.isHoveredInternal,
3723
3808
  isPressedInternal = _ref2.isPressedInternal,
3724
3809
  onChange = _ref2.onChange,
3725
- onBlur = _ref2.onBlur;
3810
+ onBlur = _ref2.onBlur,
3811
+ onSubmitEditing = _ref2.onSubmitEditing;
3726
3812
  return /*#__PURE__*/jsx(InputText, {
3727
3813
  ref: ref,
3728
3814
  internalForceState: getCurrentInternalForcedState({
@@ -3737,7 +3823,8 @@ var InputPart = /*#__PURE__*/forwardRef(function (_ref2, ref) {
3737
3823
  keyboardType: "numeric",
3738
3824
  textAlign: "center",
3739
3825
  onChange: onChange,
3740
- onBlur: onBlur
3826
+ onBlur: onBlur,
3827
+ onSubmitEditing: onSubmitEditing
3741
3828
  });
3742
3829
  });
3743
3830
 
@@ -3753,8 +3840,8 @@ function PartContainer(_ref) {
3753
3840
  });
3754
3841
  }
3755
3842
 
3756
- var _excluded$k = ["value", "testID", "id", "stretch", "placeholder", "minDate", "maxDate", "disabled", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "onChange", "onBlur", "onFocus"];
3757
- function KeyboardDatePicker(_ref) {
3843
+ var _excluded$k = ["value", "testID", "id", "stretch", "placeholder", "minDate", "maxDate", "disabled", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "onChange", "onBlur", "onFocus", "onSubmitEditing"];
3844
+ var KeyboardDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
3758
3845
  var value = _ref.value,
3759
3846
  testID = _ref.testID,
3760
3847
  id = _ref.id,
@@ -3768,9 +3855,9 @@ function KeyboardDatePicker(_ref) {
3768
3855
  isPressedInternal = _ref.isPressedInternal,
3769
3856
  onChange = _ref.onChange,
3770
3857
  onBlur = _ref.onBlur,
3771
- onFocus = _ref.onFocus;
3858
+ onFocus = _ref.onFocus,
3859
+ onSubmitEditing = _ref.onSubmitEditing;
3772
3860
  _objectWithoutProperties(_ref, _excluded$k);
3773
- var dayRef = useRef(null);
3774
3861
  var monthRef = useRef(null);
3775
3862
  var yearRef = useRef(null);
3776
3863
  var defaultValue = value;
@@ -3809,7 +3896,7 @@ function KeyboardDatePicker(_ref) {
3809
3896
  isStretch: stretch,
3810
3897
  width: "kitt.forms.datePicker.day.minWidth",
3811
3898
  children: /*#__PURE__*/jsx(InputPart, _objectSpread(_objectSpread({
3812
- ref: dayRef
3899
+ ref: ref
3813
3900
  }, sharedInputPartProps), {}, {
3814
3901
  placeholder: placeholder === null || placeholder === void 0 ? void 0 : placeholder.day,
3815
3902
  value: state.displayedDay,
@@ -3827,6 +3914,9 @@ function KeyboardDatePicker(_ref) {
3827
3914
  return dispatch({
3828
3915
  type: 'day-blur'
3829
3916
  });
3917
+ },
3918
+ onSubmitEditing: function () {
3919
+ if (monthRef.current) monthRef.current.focus();
3830
3920
  }
3831
3921
  }))
3832
3922
  }), /*#__PURE__*/jsx(PartContainer, {
@@ -3851,6 +3941,9 @@ function KeyboardDatePicker(_ref) {
3851
3941
  return dispatch({
3852
3942
  type: 'month-blur'
3853
3943
  });
3944
+ },
3945
+ onSubmitEditing: function () {
3946
+ if (yearRef.current) yearRef.current.focus();
3854
3947
  }
3855
3948
  }))
3856
3949
  }), /*#__PURE__*/jsx(PartContainer, {
@@ -3871,14 +3964,15 @@ function KeyboardDatePicker(_ref) {
3871
3964
  return dispatch({
3872
3965
  type: 'year-blur'
3873
3966
  });
3874
- }
3967
+ },
3968
+ onSubmitEditing: onSubmitEditing
3875
3969
  }))
3876
3970
  })]
3877
3971
  })
3878
3972
  });
3879
- }
3973
+ });
3880
3974
 
3881
- function PressableDateInputs(_ref) {
3975
+ var PressableDateInputs = /*#__PURE__*/forwardRef(function (_ref, ref) {
3882
3976
  var disabled = _ref.disabled,
3883
3977
  stretch = _ref.stretch,
3884
3978
  id = _ref.id,
@@ -3896,6 +3990,7 @@ function PressableDateInputs(_ref) {
3896
3990
  disabled: disabled
3897
3991
  };
3898
3992
  return /*#__PURE__*/jsx(Pressable, {
3993
+ ref: ref,
3899
3994
  display: "flex",
3900
3995
  flexDirection: "row",
3901
3996
  position: "relative",
@@ -3942,10 +4037,10 @@ function PressableDateInputs(_ref) {
3942
4037
  })]
3943
4038
  })
3944
4039
  });
3945
- }
4040
+ });
3946
4041
 
3947
4042
  var _excluded$j = ["onBlur", "onFocus", "pickerDefaultDate", "pickerUITestID", "isDefaultVisible", "value", "onChange"];
3948
- function DatePickerAndroid(_ref) {
4043
+ var DatePickerAndroid = /*#__PURE__*/forwardRef(function (_ref, ref) {
3949
4044
  var onBlur = _ref.onBlur,
3950
4045
  onFocus = _ref.onFocus,
3951
4046
  pickerDefaultDate = _ref.pickerDefaultDate,
@@ -3989,11 +4084,12 @@ function DatePickerAndroid(_ref) {
3989
4084
  // eslint-disable-next-line react-hooks/exhaustive-deps
3990
4085
  }, []);
3991
4086
  return /*#__PURE__*/jsx(PressableDateInputs, _objectSpread({
4087
+ ref: ref,
3992
4088
  value: currentValue,
3993
4089
  isFocusedInternal: isFocused,
3994
4090
  onPress: handleModalOpen
3995
4091
  }, props));
3996
- }
4092
+ });
3997
4093
 
3998
4094
  var BodyView = /*#__PURE__*/styled.View.withConfig({
3999
4095
  displayName: "Body__BodyView"
@@ -4438,7 +4534,7 @@ function ModalPlatformDateTimePicker(_ref2) {
4438
4534
  onPress: function handleSubmit() {
4439
4535
  onChange(currentValue);
4440
4536
  },
4441
- children: validateButtonLabel ? /*#__PURE__*/jsx(Text$2, {
4537
+ children: validateButtonLabel ? /*#__PURE__*/jsx(Text$1, {
4442
4538
  children: validateButtonLabel
4443
4539
  }) : /*#__PURE__*/jsx(FormattedMessage, {
4444
4540
  id: "kitt-universal.ModalDateTimePicker.confirm"
@@ -4450,7 +4546,7 @@ function ModalPlatformDateTimePicker(_ref2) {
4450
4546
  }
4451
4547
 
4452
4548
  var _excluded$f = ["value", "pickerUITestID", "pickerUITitle", "pickerUIValidateButtonLabel", "isDefaultVisible", "pickerDefaultDate", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "onChange", "onFocus", "onBlur"];
4453
- function DefaultNativeUIDatePicker(_ref) {
4549
+ var DefaultNativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
4454
4550
  var value = _ref.value,
4455
4551
  pickerUITestID = _ref.pickerUITestID,
4456
4552
  pickerUITitle = _ref.pickerUITitle,
@@ -4483,6 +4579,7 @@ function DefaultNativeUIDatePicker(_ref) {
4483
4579
  };
4484
4580
  return /*#__PURE__*/jsxs(Fragment, {
4485
4581
  children: [/*#__PURE__*/jsx(PressableDateInputs, _objectSpread({
4582
+ ref: ref,
4486
4583
  value: currentValue,
4487
4584
  isFocusedInternal: isFocused || isFocusedInternal,
4488
4585
  isHoveredInternal: isHoveredInternal,
@@ -4507,10 +4604,10 @@ function DefaultNativeUIDatePicker(_ref) {
4507
4604
  }
4508
4605
  })]
4509
4606
  });
4510
- }
4607
+ });
4511
4608
 
4512
4609
  var _excluded$e = ["value", "pickerUITestID", "isDefaultVisible", "pickerDefaultDate", "onChange", "onBlur"];
4513
- function NativeUIDatePicker(_ref) {
4610
+ var NativeUIDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
4514
4611
  var value = _ref.value,
4515
4612
  pickerUITestID = _ref.pickerUITestID,
4516
4613
  isDefaultVisible = _ref.isDefaultVisible,
@@ -4520,6 +4617,7 @@ function NativeUIDatePicker(_ref) {
4520
4617
  props = _objectWithoutProperties(_ref, _excluded$e);
4521
4618
  if (Platform.OS === 'android') {
4522
4619
  return /*#__PURE__*/jsx(DatePickerAndroid, _objectSpread({
4620
+ ref: ref,
4523
4621
  pickerDefaultDate: pickerDefaultDate,
4524
4622
  pickerUITestID: pickerUITestID,
4525
4623
  isDefaultVisible: isDefaultVisible,
@@ -4529,40 +4627,48 @@ function NativeUIDatePicker(_ref) {
4529
4627
  }, props));
4530
4628
  }
4531
4629
  return /*#__PURE__*/jsx(DefaultNativeUIDatePicker, _objectSpread({
4630
+ ref: ref,
4532
4631
  value: value,
4533
4632
  isDefaultVisible: isDefaultVisible,
4534
4633
  pickerUITestID: pickerUITestID,
4535
4634
  onChange: onChange,
4536
4635
  onBlur: onBlur
4537
4636
  }, props));
4538
- }
4637
+ });
4539
4638
 
4540
- var _excluded$d = ["fillMode", "value"];
4541
- function DatePicker(_ref) {
4639
+ var _excluded$d = ["fillMode", "value", "onSubmitEditing"];
4640
+ var DatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
4542
4641
  var _ref$fillMode = _ref.fillMode,
4543
4642
  fillMode = _ref$fillMode === void 0 ? 'native' : _ref$fillMode,
4544
4643
  value = _ref.value,
4644
+ onSubmitEditing = _ref.onSubmitEditing,
4545
4645
  props = _objectWithoutProperties(_ref, _excluded$d);
4546
4646
  // in apps, final-form can give a string value that will break the component
4547
4647
  var currentValue = value || undefined;
4548
4648
  if (fillMode === 'keyboard') {
4549
- return /*#__PURE__*/jsx(KeyboardDatePicker, _objectSpread(_objectSpread({}, props), {}, {
4550
- value: currentValue
4649
+ return /*#__PURE__*/jsx(KeyboardDatePicker, _objectSpread(_objectSpread({
4650
+ ref: ref
4651
+ }, props), {}, {
4652
+ value: currentValue,
4653
+ onSubmitEditing: onSubmitEditing
4551
4654
  }));
4552
4655
  }
4553
- return /*#__PURE__*/jsx(NativeUIDatePicker, _objectSpread(_objectSpread({}, props), {}, {
4656
+ return /*#__PURE__*/jsx(NativeUIDatePicker, _objectSpread(_objectSpread({
4657
+ ref: ref
4658
+ }, props), {}, {
4554
4659
  value: currentValue
4555
4660
  }));
4556
- }
4661
+ });
4557
4662
 
4558
- function InputEmail(props) {
4663
+ var InputEmail = /*#__PURE__*/forwardRef(function (props, ref) {
4559
4664
  return /*#__PURE__*/jsx(InputText, _objectSpread({
4665
+ ref: ref,
4560
4666
  autoComplete: "email",
4561
4667
  keyboardType: "email-address",
4562
4668
  textContentType: "emailAddress",
4563
4669
  autoCapitalize: "none"
4564
4670
  }, props));
4565
- }
4671
+ });
4566
4672
 
4567
4673
  var getColorFromState = function (state) {
4568
4674
  switch (state) {
@@ -4639,7 +4745,7 @@ function InputPressable(_ref) {
4639
4745
  }
4640
4746
 
4641
4747
  var _excluded$c = ["isPasswordDefaultVisible", "right"];
4642
- function InputPassword(_ref) {
4748
+ var InputPassword = /*#__PURE__*/forwardRef(function (_ref, ref) {
4643
4749
  var isPasswordDefaultVisible = _ref.isPasswordDefaultVisible,
4644
4750
  right = _ref.right,
4645
4751
  props = _objectWithoutProperties(_ref, _excluded$c);
@@ -4647,7 +4753,9 @@ function InputPassword(_ref) {
4647
4753
  _useState2 = _slicedToArray(_useState, 2),
4648
4754
  isVisible = _useState2[0],
4649
4755
  setIsVisible = _useState2[1];
4650
- return /*#__PURE__*/jsx(InputText, _objectSpread(_objectSpread({}, props), {}, {
4756
+ return /*#__PURE__*/jsx(InputText, _objectSpread(_objectSpread({
4757
+ ref: ref
4758
+ }, props), {}, {
4651
4759
  textContentType: "password",
4652
4760
  autoComplete: "password",
4653
4761
  autoCorrect: false,
@@ -4665,15 +4773,17 @@ function InputPassword(_ref) {
4665
4773
  })
4666
4774
  })
4667
4775
  }));
4668
- }
4776
+ });
4669
4777
 
4670
- function InputPhone(props) {
4671
- return /*#__PURE__*/jsx(InputText, _objectSpread(_objectSpread({}, props), {}, {
4778
+ var InputPhone = /*#__PURE__*/forwardRef(function (props, ref) {
4779
+ return /*#__PURE__*/jsx(InputText, _objectSpread(_objectSpread({
4780
+ ref: ref
4781
+ }, props), {}, {
4672
4782
  autoComplete: "tel",
4673
4783
  keyboardType: "number-pad",
4674
4784
  textContentType: "telephoneNumber"
4675
4785
  }));
4676
- }
4786
+ });
4677
4787
 
4678
4788
  var getTypographyColor = function (type) {
4679
4789
  return type ? 'white' : 'black';
@@ -4737,96 +4847,150 @@ function Label(_ref) {
4737
4847
  });
4738
4848
  }
4739
4849
 
4740
- var OuterRadio = /*#__PURE__*/styled.View.withConfig({
4741
- displayName: "Radio__OuterRadio"
4742
- })(["background-color:", ";width:", "px;height:", "px;border-radius:", "px;border-width:", "px;border-color:", ";"], function (_ref) {
4743
- var theme = _ref.theme,
4744
- disabled = _ref.disabled;
4745
- return theme.kitt.forms.radio[disabled ? 'disabled' : 'unchecked'].backgroundColor;
4746
- }, function (_ref2) {
4747
- var theme = _ref2.theme;
4748
- return theme.kitt.forms.radio.size;
4749
- }, function (_ref3) {
4750
- var theme = _ref3.theme;
4751
- return theme.kitt.forms.radio.size;
4752
- }, function (_ref4) {
4753
- var theme = _ref4.theme;
4754
- return theme.kitt.forms.radio.size / 2;
4755
- }, function (_ref5) {
4756
- var theme = _ref5.theme;
4757
- return theme.kitt.forms.radio.unchecked.borderWidth;
4758
- }, function (_ref6) {
4759
- var theme = _ref6.theme,
4760
- disabled = _ref6.disabled;
4761
- return theme.kitt.forms.radio[disabled ? 'disabled' : 'unchecked'].borderColor;
4762
- });
4763
- var SelectedOuterRadio = /*#__PURE__*/styled.View.withConfig({
4764
- displayName: "Radio__SelectedOuterRadio"
4765
- })(["background-color:", ";width:", "px;height:", "px;border-radius:", "px;justify-content:center;align-items:center;"], function (_ref7) {
4766
- var theme = _ref7.theme;
4767
- return theme.kitt.forms.radio.checked.backgroundColor;
4768
- }, function (_ref8) {
4769
- var theme = _ref8.theme;
4770
- return theme.kitt.forms.radio.size;
4771
- }, function (_ref9) {
4772
- var theme = _ref9.theme;
4773
- return theme.kitt.forms.radio.size;
4774
- }, function (_ref10) {
4775
- var theme = _ref10.theme;
4776
- return theme.kitt.forms.radio.size / 2;
4777
- });
4778
- var SelectedInnerRadio = /*#__PURE__*/styled.View.withConfig({
4779
- displayName: "Radio__SelectedInnerRadio"
4780
- })(["background-color:", ";width:", "px;height:", "px;border-radius:", "px;"], function (_ref11) {
4781
- var theme = _ref11.theme;
4782
- return theme.kitt.forms.radio.checked.innerBackgroundColor;
4783
- }, function (_ref12) {
4784
- var theme = _ref12.theme;
4785
- return theme.kitt.forms.radio.checked.innerSize;
4786
- }, function (_ref13) {
4787
- var theme = _ref13.theme;
4788
- return theme.kitt.forms.radio.checked.innerSize;
4789
- }, function (_ref14) {
4790
- var theme = _ref14.theme;
4791
- return theme.kitt.forms.radio.checked.innerSize / 2;
4792
- });
4793
- var Container$3 = /*#__PURE__*/styled.Pressable.withConfig({
4794
- displayName: "Radio__Container"
4795
- })(["flex-direction:row;align-items:center;"]);
4796
- var Text = /*#__PURE__*/styled(Typography.Text).withConfig({
4797
- displayName: "Radio__Text"
4798
- })(["margin-left:", "px;"], function (_ref15) {
4799
- var theme = _ref15.theme;
4800
- return theme.kitt.spacing * 2;
4801
- });
4802
- function Radio(_ref16) {
4803
- var id = _ref16.id,
4804
- checked = _ref16.checked,
4805
- onChange = _ref16.onChange,
4806
- value = _ref16.value,
4807
- _ref16$disabled = _ref16.disabled,
4808
- disabled = _ref16$disabled === void 0 ? false : _ref16$disabled,
4809
- children = _ref16.children;
4810
- return /*#__PURE__*/jsxs(Container$3, {
4850
+ function InnerCircle(_ref) {
4851
+ var isChecked = _ref.isChecked;
4852
+ var theme = /*#__PURE__*/useTheme();
4853
+ var sharedTransform = [{
4854
+ scale: isChecked ? 1 : 0
4855
+ }];
4856
+ return /*#__PURE__*/jsx(View, {
4857
+ width: "kitt.forms.radio.innerCircle.size",
4858
+ height: "kitt.forms.radio.innerCircle.size",
4859
+ borderRadius: "kitt.forms.radio.innerCircle.borderRadius",
4860
+ backgroundColor: "kitt.forms.radio.innerCircle.backgroundColor",
4861
+ _web: {
4862
+ style: {
4863
+ transform: sharedTransform,
4864
+ transitionProperty: 'all',
4865
+ transitionDuration: theme.kitt.forms.radio.transition.duration,
4866
+ transitionTimingFunction: theme.kitt.forms.radio.transition.timingFunction
4867
+ }
4868
+ },
4869
+ _ios: {
4870
+ style: {
4871
+ transform: sharedTransform
4872
+ }
4873
+ },
4874
+ _android: {
4875
+ style: {
4876
+ transform: sharedTransform
4877
+ }
4878
+ }
4879
+ });
4880
+ }
4881
+
4882
+ function getBackgroundColor(_ref) {
4883
+ var isDisabled = _ref.isDisabled,
4884
+ isPressed = _ref.isPressed,
4885
+ isHovered = _ref.isHovered,
4886
+ isFocused = _ref.isFocused,
4887
+ isChecked = _ref.isChecked;
4888
+ if (isChecked) return 'kitt.forms.radio.checked.backgroundColor';
4889
+ if (isDisabled) return 'kitt.forms.radio.disabled.backgroundColor';
4890
+ if (isPressed) return 'kitt.forms.radio.pressed.backgroundColor';
4891
+ if (isHovered) return 'kitt.forms.radio.hover.backgroundColor';
4892
+ if (isFocused) return 'kitt.forms.radio.focus.backgroundColor';
4893
+ return 'kitt.forms.radio.default.backgroundColor';
4894
+ }
4895
+
4896
+ function getBorderColor(_ref) {
4897
+ var isDisabled = _ref.isDisabled,
4898
+ isPressed = _ref.isPressed,
4899
+ isHovered = _ref.isHovered,
4900
+ isFocused = _ref.isFocused,
4901
+ isChecked = _ref.isChecked;
4902
+ if (isChecked) return 'kitt.forms.radio.checked.borderColor';
4903
+ if (isDisabled) return 'kitt.forms.radio.disabled.borderColor';
4904
+ if (isPressed) return 'kitt.forms.radio.pressed.borderColor';
4905
+ if (isHovered) return 'kitt.forms.radio.hover.borderColor';
4906
+ if (isFocused) return 'kitt.forms.radio.focus.borderColor';
4907
+ return 'kitt.forms.radio.default.borderColor';
4908
+ }
4909
+
4910
+ function OuterCircle(_ref) {
4911
+ var children = _ref.children,
4912
+ isChecked = _ref.isChecked,
4913
+ isDisabled = _ref.isDisabled,
4914
+ isHovered = _ref.isHovered,
4915
+ isFocused = _ref.isFocused,
4916
+ isPressed = _ref.isPressed;
4917
+ var theme = /*#__PURE__*/useTheme();
4918
+ return /*#__PURE__*/jsx(View, {
4919
+ alignItems: "center",
4920
+ justifyContent: "center",
4921
+ borderWidth: "kitt.forms.radio.borderWidth",
4922
+ width: "kitt.forms.radio.size",
4923
+ height: "kitt.forms.radio.size",
4924
+ borderRadius: "kitt.forms.radio.borderRadius",
4925
+ backgroundColor: getBackgroundColor({
4926
+ isChecked: isChecked,
4927
+ isDisabled: isDisabled,
4928
+ isFocused: isFocused,
4929
+ isHovered: isHovered,
4930
+ isPressed: isPressed
4931
+ }),
4932
+ borderColor: getBorderColor({
4933
+ isChecked: isChecked,
4934
+ isDisabled: isDisabled,
4935
+ isFocused: isFocused,
4936
+ isHovered: isHovered,
4937
+ isPressed: isPressed
4938
+ }),
4939
+ _web: {
4940
+ style: {
4941
+ transitionProperty: 'all',
4942
+ transitionDuration: theme.kitt.forms.radio.transition.duration,
4943
+ transitionTimingFunction: theme.kitt.forms.radio.transition.timingFunction
4944
+ }
4945
+ },
4946
+ children: children
4947
+ });
4948
+ }
4949
+
4950
+ var Radio = /*#__PURE__*/forwardRef(function (_ref, ref) {
4951
+ var id = _ref.id,
4952
+ checked = _ref.checked,
4953
+ onChange = _ref.onChange,
4954
+ value = _ref.value,
4955
+ disabled = _ref.disabled,
4956
+ _children = _ref.children;
4957
+ return /*#__PURE__*/jsx(Pressable, {
4958
+ ref: ref,
4811
4959
  nativeID: id,
4812
4960
  disabled: disabled,
4813
4961
  accessibilityRole: "radio",
4814
4962
  "aria-checked": checked,
4815
4963
  focusable: checked && !disabled,
4964
+ flexDirection: "row",
4965
+ alignItems: "center",
4816
4966
  onPress: function handlePress() {
4817
4967
  onChange(value);
4818
4968
  },
4819
- children: [checked && !disabled ? /*#__PURE__*/jsx(SelectedOuterRadio, {
4820
- children: /*#__PURE__*/jsx(SelectedInnerRadio, {})
4821
- }) : /*#__PURE__*/jsx(OuterRadio, {
4822
- disabled: disabled
4823
- }), /*#__PURE__*/jsx(Text, {
4824
- base: "body",
4825
- color: disabled ? 'black-light' : 'black',
4826
- children: children
4827
- })]
4969
+ children: function children(_ref2) {
4970
+ var isHovered = _ref2.isHovered,
4971
+ isPressed = _ref2.isPressed,
4972
+ isFocused = _ref2.isFocused;
4973
+ return /*#__PURE__*/jsxs(HStack, {
4974
+ space: _children ? 'kitt.2' : undefined,
4975
+ alignItems: "center",
4976
+ children: [/*#__PURE__*/jsx(OuterCircle, {
4977
+ isChecked: checked,
4978
+ isDisabled: disabled,
4979
+ isHovered: isHovered,
4980
+ isFocused: isFocused,
4981
+ isPressed: isPressed,
4982
+ children: /*#__PURE__*/jsx(InnerCircle, {
4983
+ isChecked: checked
4984
+ })
4985
+ }), _children ? /*#__PURE__*/jsx(Typography.Text, {
4986
+ base: "body",
4987
+ color: disabled ? 'black-light' : 'black',
4988
+ children: _children
4989
+ }) : null]
4990
+ });
4991
+ }
4828
4992
  });
4829
- }
4993
+ });
4830
4994
 
4831
4995
  var StyledAnimatedView = /*#__PURE__*/styled(Animated.View).withConfig({
4832
4996
  displayName: "AnimatedContainer__StyledAnimatedView"
@@ -5120,15 +5284,15 @@ function RadioButtonGroup(_ref2) {
5120
5284
  }
5121
5285
  RadioButtonGroup.RadioButton = RadioButtonGroupItem;
5122
5286
 
5123
- function TextArea(_ref) {
5287
+ var TextArea = /*#__PURE__*/forwardRef(function (_ref, ref) {
5124
5288
  var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
5125
- var theme = /*#__PURE__*/useTheme();
5126
5289
  return /*#__PURE__*/jsx(InputText, _objectSpread({
5290
+ ref: ref,
5127
5291
  multiline: true,
5128
5292
  textAlignVertical: "top",
5129
- minHeight: theme.kitt.forms.textArea.minHeight
5293
+ minHeight: "kitt.forms.textArea.minHeight"
5130
5294
  }, props));
5131
- }
5295
+ });
5132
5296
 
5133
5297
  function Highlight(_ref) {
5134
5298
  var _ref$variant = _ref.variant,
@@ -5657,9 +5821,13 @@ function Message(_ref) {
5657
5821
  }
5658
5822
 
5659
5823
  var createKittSpaces = function (spacing) {
5660
- var sizes = {};
5824
+ var sizes = {
5825
+ positive: {},
5826
+ negative: {}
5827
+ };
5661
5828
  for (var size = 1; size <= 64; size++) {
5662
- sizes["kitt.".concat(size)] = size * spacing;
5829
+ sizes.positive["kitt.".concat(size)] = size * spacing;
5830
+ sizes.negative["-kitt.".concat(size)] = -size * spacing;
5663
5831
  }
5664
5832
  return sizes;
5665
5833
  };
@@ -5707,10 +5875,62 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
5707
5875
  backgroundColor: theme.forms.radioButtonGroup.item.backgroundColor
5708
5876
  }
5709
5877
  },
5710
- skeleton: {
5711
- backgroundColor: theme.skeleton.backgroundColor,
5712
- flareColor: theme.skeleton.flareColor
5878
+ checkbox: {
5879
+ markColor: theme.forms.checkbox.markColor,
5880
+ checked: {
5881
+ backgroundColor: theme.forms.checkbox.checked.backgroundColor,
5882
+ borderColor: theme.forms.checkbox.checked.borderColor
5883
+ },
5884
+ hover: {
5885
+ backgroundColor: theme.forms.checkbox.hover.backgroundColor,
5886
+ borderColor: theme.forms.checkbox.hover.borderColor
5887
+ },
5888
+ pressed: {
5889
+ backgroundColor: theme.forms.checkbox.pressed.backgroundColor,
5890
+ borderColor: theme.forms.checkbox.pressed.borderColor
5891
+ },
5892
+ focus: {
5893
+ backgroundColor: theme.forms.checkbox.focus.backgroundColor,
5894
+ borderColor: theme.forms.checkbox.focus.borderColor
5895
+ },
5896
+ "default": {
5897
+ backgroundColor: theme.forms.checkbox["default"].backgroundColor,
5898
+ borderColor: theme.forms.checkbox["default"].borderColor
5899
+ }
5900
+ },
5901
+ radio: {
5902
+ checked: {
5903
+ backgroundColor: theme.forms.radio.checked.backgroundColor,
5904
+ borderColor: theme.forms.radio.checked.borderColor
5905
+ },
5906
+ hover: {
5907
+ backgroundColor: theme.forms.radio.hover.backgroundColor,
5908
+ borderColor: theme.forms.radio.hover.borderColor
5909
+ },
5910
+ pressed: {
5911
+ backgroundColor: theme.forms.radio.pressed.backgroundColor,
5912
+ borderColor: theme.forms.radio.pressed.borderColor
5913
+ },
5914
+ focus: {
5915
+ backgroundColor: theme.forms.radio.pressed.backgroundColor,
5916
+ borderColor: theme.forms.radio.pressed.borderColor
5917
+ },
5918
+ disabled: {
5919
+ backgroundColor: theme.forms.radio.disabled.backgroundColor,
5920
+ borderColor: theme.forms.radio.disabled.borderColor
5921
+ },
5922
+ "default": {
5923
+ backgroundColor: theme.forms.radio.unchecked.backgroundColor,
5924
+ borderColor: theme.forms.radio.unchecked.borderColor
5925
+ },
5926
+ innerCircle: {
5927
+ backgroundColor: theme.forms.radio.checked.innerBackgroundColor
5928
+ }
5713
5929
  }
5930
+ },
5931
+ skeleton: {
5932
+ backgroundColor: theme.skeleton.backgroundColor,
5933
+ flareColor: theme.skeleton.flareColor
5714
5934
  }
5715
5935
  }),
5716
5936
  app: appTheme === null || appTheme === void 0 ? void 0 : appTheme.colors
@@ -5722,7 +5942,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
5722
5942
  sm: Number.MAX_SAFE_INTEGER,
5723
5943
  xl: Number.MAX_SAFE_INTEGER,
5724
5944
  xs: Number.MAX_SAFE_INTEGER
5725
- }, spaces), {}, {
5945
+ }, spaces.positive), {}, {
5726
5946
  kitt: {
5727
5947
  avatar: {
5728
5948
  borderRadius: theme.avatar.borderRadius,
@@ -5751,6 +5971,15 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
5751
5971
  item: {
5752
5972
  borderRadius: theme.forms.radioButtonGroup.item.borderRadius
5753
5973
  }
5974
+ },
5975
+ checkbox: {
5976
+ borderRadius: theme.forms.checkbox.borderRadius
5977
+ },
5978
+ radio: {
5979
+ borderRadius: theme.forms.radio.size * 0.5,
5980
+ innerCircle: {
5981
+ borderRadius: theme.forms.radio.checked.innerSize * 0.5
5982
+ }
5754
5983
  }
5755
5984
  },
5756
5985
  tooltip: {
@@ -5785,6 +6014,12 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
5785
6014
  item: {
5786
6015
  borderWidth: theme.forms.radioButtonGroup.item.borderWidth
5787
6016
  }
6017
+ },
6018
+ checkbox: {
6019
+ borderWidth: theme.forms.checkbox.borderWidth
6020
+ },
6021
+ radio: {
6022
+ borderWidth: theme.forms.radio.unchecked.borderWidth
5788
6023
  }
5789
6024
  },
5790
6025
  cardModal: {
@@ -5798,7 +6033,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
5798
6033
  },
5799
6034
  app: appTheme === null || appTheme === void 0 ? void 0 : appTheme.borderWidths
5800
6035
  },
5801
- sizes: _objectSpread(_objectSpread(_objectSpread({}, spaces), overridenNativeBaseSizeandSpaceScale), {}, {
6036
+ sizes: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, spaces.positive), spaces.negative), overridenNativeBaseSizeandSpaceScale), {}, {
5802
6037
  kitt: {
5803
6038
  avatar: {
5804
6039
  size: theme.avatar.size,
@@ -5844,6 +6079,21 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
5844
6079
  item: {
5845
6080
  minHeight: theme.forms.radioButtonGroup.item.minHeight
5846
6081
  }
6082
+ },
6083
+ checkbox: {
6084
+ height: theme.forms.checkbox.height,
6085
+ width: theme.forms.checkbox.width,
6086
+ iconSize: theme.forms.checkbox.iconSize,
6087
+ textSpacing: theme.forms.checkbox.textSpacing
6088
+ },
6089
+ radio: {
6090
+ size: theme.forms.radio.size,
6091
+ innerCircle: {
6092
+ size: theme.forms.radio.checked.innerSize
6093
+ }
6094
+ },
6095
+ textArea: {
6096
+ minHeight: theme.forms.textArea.minHeight
5847
6097
  }
5848
6098
  },
5849
6099
  iconButton: {
@@ -5872,7 +6122,7 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
5872
6122
  },
5873
6123
  app: appTheme === null || appTheme === void 0 ? void 0 : appTheme.sizes
5874
6124
  }),
5875
- space: _objectSpread(_objectSpread(_objectSpread({}, spaces), overridenNativeBaseSizeandSpaceScale), {}, {
6125
+ space: _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, spaces.positive), spaces.negative), overridenNativeBaseSizeandSpaceScale), {}, {
5876
6126
  kitt: {
5877
6127
  button: {
5878
6128
  padding: theme.button.padding
@@ -7783,7 +8033,7 @@ function ModalDateTimePicker(_ref2) {
7783
8033
  onPress: function handleSubmit() {
7784
8034
  onChange(currentValue);
7785
8035
  },
7786
- children: validateButtonLabel ? /*#__PURE__*/jsx(Text$2, {
8036
+ children: validateButtonLabel ? /*#__PURE__*/jsx(Text$1, {
7787
8037
  children: validateButtonLabel
7788
8038
  }) : /*#__PURE__*/jsx(FormattedMessage, {
7789
8039
  id: "kitt-universal.ModalDateTimePicker.confirm"