@ornikar/kitt-universal 27.3.1-canary.2a1e1042a7d526c8c6b6197a77f84626e0e5d206.0 → 27.5.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 (70) hide show
  1. package/CHANGELOG.md +11 -14
  2. package/dist/definitions/BaseMessage/helper.d.ts.map +1 -1
  3. package/dist/definitions/CardModal/CardModalAnimation/CardModalAnimation.web.d.ts.map +1 -1
  4. package/dist/definitions/DialogModal/DialogModalAnimation/DialogModalAnimation.web.d.ts.map +1 -1
  5. package/dist/definitions/FullscreenModal/FullscreenModalAnimation.web.d.ts.map +1 -1
  6. package/dist/definitions/GoogleMapsAutocompleteProvider/GoogleMapsAutocompleteProvider.d.ts.map +1 -1
  7. package/dist/definitions/Highlight/AnimatedContainer/AnimatedContainer.d.ts +1 -1
  8. package/dist/definitions/Highlight/AnimatedContainer/AnimatedContainer.d.ts.map +1 -1
  9. package/dist/definitions/Highlight/AnimatedContainer/AnimatedContainer.web.d.ts.map +1 -1
  10. package/dist/definitions/Highlight/Highlight.d.ts.map +1 -1
  11. package/dist/definitions/MapMarker/MapMarker.d.ts +2 -5
  12. package/dist/definitions/MapMarker/MapMarker.d.ts.map +1 -1
  13. package/dist/definitions/MapMarker/constants.d.ts +6 -0
  14. package/dist/definitions/MapMarker/constants.d.ts.map +1 -0
  15. package/dist/definitions/MapMarker/utils/getBackgroundColor.d.ts +2 -1
  16. package/dist/definitions/MapMarker/utils/getBackgroundColor.d.ts.map +1 -1
  17. package/dist/definitions/Picker/Picker.web.d.ts.map +1 -1
  18. package/dist/definitions/TabBar/TabBar.d.ts.map +1 -1
  19. package/dist/definitions/TimePicker/TimePicker.web.d.ts.map +1 -1
  20. package/dist/definitions/themes/late-ocean/cardModal.d.ts +21 -4
  21. package/dist/definitions/themes/late-ocean/cardModal.d.ts.map +1 -1
  22. package/dist/definitions/themes/late-ocean/dialogModal.d.ts +21 -4
  23. package/dist/definitions/themes/late-ocean/dialogModal.d.ts.map +1 -1
  24. package/dist/definitions/themes/late-ocean/fullscreenModal.d.ts +21 -4
  25. package/dist/definitions/themes/late-ocean/fullscreenModal.d.ts.map +1 -1
  26. package/dist/definitions/themes/late-ocean/highlight.d.ts +4 -0
  27. package/dist/definitions/themes/late-ocean/highlight.d.ts.map +1 -1
  28. package/dist/definitions/themes/late-ocean/shadows.d.ts +4 -2
  29. package/dist/definitions/themes/late-ocean/shadows.d.ts.map +1 -1
  30. package/dist/definitions/themes/late-ocean/skeleton.d.ts +2 -1
  31. package/dist/definitions/themes/late-ocean/skeleton.d.ts.map +1 -1
  32. package/dist/definitions/typography/Typography.d.ts +6 -18
  33. package/dist/definitions/typography/Typography.d.ts.map +1 -1
  34. package/dist/index-metro.es.android.js +124 -50
  35. package/dist/index-metro.es.android.js.map +1 -1
  36. package/dist/index-metro.es.ios.js +124 -50
  37. package/dist/index-metro.es.ios.js.map +1 -1
  38. package/dist/index-node-22.17.cjs.js +123 -49
  39. package/dist/index-node-22.17.cjs.js.map +1 -1
  40. package/dist/index-node-22.17.cjs.web.css +2 -2
  41. package/dist/index-node-22.17.cjs.web.js +87 -41
  42. package/dist/index-node-22.17.cjs.web.js.map +1 -1
  43. package/dist/index-node-22.17.es.mjs +123 -49
  44. package/dist/index-node-22.17.es.mjs.map +1 -1
  45. package/dist/index-node-22.17.es.web.css +2 -2
  46. package/dist/index-node-22.17.es.web.mjs +87 -41
  47. package/dist/index-node-22.17.es.web.mjs.map +1 -1
  48. package/dist/index.es.js +210 -174
  49. package/dist/index.es.js.map +1 -1
  50. package/dist/index.es.web.js +157 -113
  51. package/dist/index.es.web.js.map +1 -1
  52. package/dist/linaria-themes-metro.es.android.js +50 -16
  53. package/dist/linaria-themes-metro.es.android.js.map +1 -1
  54. package/dist/linaria-themes-metro.es.ios.js +50 -16
  55. package/dist/linaria-themes-metro.es.ios.js.map +1 -1
  56. package/dist/linaria-themes-node-22.17.cjs.js +50 -16
  57. package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
  58. package/dist/linaria-themes-node-22.17.cjs.web.js +50 -16
  59. package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
  60. package/dist/linaria-themes-node-22.17.es.mjs +50 -16
  61. package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
  62. package/dist/linaria-themes-node-22.17.es.web.mjs +50 -16
  63. package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
  64. package/dist/linaria-themes.es.js +51 -17
  65. package/dist/linaria-themes.es.js.map +1 -1
  66. package/dist/linaria-themes.es.web.js +51 -17
  67. package/dist/linaria-themes.es.web.js.map +1 -1
  68. package/dist/styles.css +2 -2
  69. package/dist/tsbuildinfo +1 -1
  70. package/package.json +28 -28
@@ -22,9 +22,9 @@
22
22
  .kitt-u_slideInFromBottomExit_sl0lsxt{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);}
23
23
  .kitt-u_slideInFromBottomExitActive_srlzzmu{-webkit-transform:translateY(100%);-ms-transform:translateY(100%);transform:translateY(100%);-webkit-transition:-webkit-transform 600ms cubic-bezier(0.77,0,0.175,1);-webkit-transition:transform 600ms cubic-bezier(0.77,0,0.175,1);transition:transform 600ms cubic-bezier(0.77,0,0.175,1);}
24
24
  .kitt-u_opacityEnter_okm44hr{opacity:0;}
25
- .kitt-u_opacityEnterActive_o2w8t0i{opacity:1;-webkit-transition:opacity 250ms cubic-bezier(0.42,0,1,1);transition:opacity 250ms cubic-bezier(0.42,0,1,1);}
25
+ .kitt-u_opacityEnterActive_o2w8t0i{opacity:1;-webkit-transition:opacity 250ms cubic-bezier(0.42,1,0,1);transition:opacity 250ms cubic-bezier(0.42,1,0,1);}
26
26
  .kitt-u_opacityExit_o14r8iix{opacity:1;}
27
- .kitt-u_opacityExitActive_oim72y2{opacity:0;-webkit-transition:opacity 250ms cubic-bezier(0.42,0,1,1);transition:opacity 250ms cubic-bezier(0.42,0,1,1);}
27
+ .kitt-u_opacityExitActive_oim72y2{opacity:0;-webkit-transition:opacity 250ms cubic-bezier(0.42,1,0,1);transition:opacity 250ms cubic-bezier(0.42,1,0,1);}
28
28
  .kitt-u_pageLoaderContainer_ptkwz2j{width:60px;height:60px;-webkit-transform:scale(-1) rotate(90deg);-ms-transform:scale(-1) rotate(90deg);transform:scale(-1) rotate(90deg);}@-webkit-keyframes PageLoaderInit-kitt-u_pageLoaderContainer_ptkwz2j{0%{stroke-dashoffset:169.64600329384882px;}100%{stroke-dashoffset:0;}}@keyframes PageLoaderInit-kitt-u_pageLoaderContainer_ptkwz2j{0%{stroke-dashoffset:169.64600329384882px;}100%{stroke-dashoffset:0;}}@-webkit-keyframes PageLoaderOffset-kitt-u_pageLoaderContainer_ptkwz2j{0%{stroke-dashoffset:169.64600329384882px;}100%{stroke-dashoffset:33.929200658769766px;}}@keyframes PageLoaderOffset-kitt-u_pageLoaderContainer_ptkwz2j{0%{stroke-dashoffset:169.64600329384882px;}100%{stroke-dashoffset:33.929200658769766px;}}@-webkit-keyframes PageLoaderRotation-kitt-u_pageLoaderContainer_ptkwz2j{0%{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}@keyframes PageLoaderRotation-kitt-u_pageLoaderContainer_ptkwz2j{0%{-webkit-transform:rotate(0deg);-ms-transform:rotate(0deg);transform:rotate(0deg);}100%{-webkit-transform:rotate(360deg);-ms-transform:rotate(360deg);transform:rotate(360deg);}}.kitt-u_pageLoaderContainer_ptkwz2j circle,.kitt-u_pageLoaderContainer_ptkwz2j g{-webkit-transform-origin:center center;-ms-transform-origin:center center;transform-origin:center center;}.kitt-u_pageLoaderContainer_ptkwz2j g[data-large-loader='base'] circle{-webkit-animation:1000ms cubic-bezier(0.39,0.575,0.565,1) 500ms forwards;animation:1000ms cubic-bezier(0.39,0.575,0.565,1) 500ms forwards;-webkit-animation-name:PageLoaderInit-kitt-u_pageLoaderContainer_ptkwz2j;animation-name:PageLoaderInit-kitt-u_pageLoaderContainer_ptkwz2j;}.kitt-u_pageLoaderContainer_ptkwz2j g[data-large-loader='fill']{-webkit-animation:1800ms linear 500ms infinite;animation:1800ms linear 500ms infinite;-webkit-animation-name:PageLoaderRotation-kitt-u_pageLoaderContainer_ptkwz2j;animation-name:PageLoaderRotation-kitt-u_pageLoaderContainer_ptkwz2j;}.kitt-u_pageLoaderContainer_ptkwz2j g[data-large-loader='fill'] circle{-webkit-animation:1800ms cubic-bezier(0.39,0.575,0.565,1) 500ms infinite alternate,2160ms linear 500ms infinite;animation:1800ms cubic-bezier(0.39,0.575,0.565,1) 500ms infinite alternate,2160ms linear 500ms infinite;-webkit-animation-name:PageLoaderOffset-kitt-u_pageLoaderContainer_ptkwz2j,PageLoaderRotation-kitt-u_pageLoaderContainer_ptkwz2j;animation-name:PageLoaderOffset-kitt-u_pageLoaderContainer_ptkwz2j,PageLoaderRotation-kitt-u_pageLoaderContainer_ptkwz2j;}
29
29
  .kitt-u_enter_ereraf{-webkit-transform:translateY(8px);-ms-transform:translateY(8px);transform:translateY(8px);opacity:0;}
30
30
  .kitt-u_enterActive_e1jmsjrm{-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0);opacity:1;-webkit-transition:all 300ms ease-in-out;transition:all 300ms ease-in-out;}
@@ -740,13 +740,23 @@ const card = {
740
740
  };
741
741
 
742
742
  const webAnimationContentDuration$2 = 400;
743
- const webAnimationContentEasing$2 = [0.77, 0, 0.175, 1];
743
+ const webAnimationContentEasing$2 = {
744
+ x1: 0.77,
745
+ y1: 0,
746
+ x2: 0.175,
747
+ y2: 1
748
+ };
744
749
  const webAnimationOverlayDuration$2 = 250;
745
- const webAnimationOverlayEasing$2 = [0.42, 0, 1, 1];
750
+ const webAnimationOverlayEasing$2 = {
751
+ x1: 0.42,
752
+ y1: 0,
753
+ x2: 1,
754
+ y2: 1
755
+ };
746
756
  const maxWidth = 540;
747
757
  const overlayHorizontalPadding = 24;
748
758
  const cardModal = {
749
- borderRadius: 20,
759
+ borderRadius: spacing * 2,
750
760
  maxWidth,
751
761
  maxWidthWithPadding: maxWidth + overlayHorizontalPadding * 2,
752
762
  minHeight: 280,
@@ -834,11 +844,21 @@ const choices = {
834
844
  };
835
845
 
836
846
  const webAnimationContentDuration$1 = 400;
837
- const webAnimationContentEasing$1 = [0.77, 0, 0.175, 1];
847
+ const webAnimationContentEasing$1 = {
848
+ x1: 0.77,
849
+ y1: 0,
850
+ x2: 0.175,
851
+ y2: 1
852
+ };
838
853
  const webAnimationOverlayDuration$1 = 250;
839
- const webAnimationOverlayEasing$1 = [0.42, 0, 1, 1];
854
+ const webAnimationOverlayEasing$1 = {
855
+ x1: 0.42,
856
+ y1: 0,
857
+ x2: 1,
858
+ y2: 1
859
+ };
840
860
  const dialogModal = {
841
- borderRadius: 20,
861
+ borderRadius: spacing * 2,
842
862
  maxWidth: 540,
843
863
  overlayPadding: {
844
864
  horizontal: 24,
@@ -1768,9 +1788,19 @@ const forms = {
1768
1788
  };
1769
1789
 
1770
1790
  const webAnimationContentDuration = 600;
1771
- const webAnimationContentEasing = [0.77, 0, 0.175, 1];
1791
+ const webAnimationContentEasing = {
1792
+ x1: 0.77,
1793
+ y1: 0,
1794
+ x2: 0.175,
1795
+ y2: 1
1796
+ };
1772
1797
  const webAnimationOverlayDuration = 250;
1773
- const webAnimationOverlayEasing = [0.42, 0, 1, 1];
1798
+ const webAnimationOverlayEasing = {
1799
+ x1: 0.42,
1800
+ y1: 0,
1801
+ x2: 1,
1802
+ y2: 1
1803
+ };
1774
1804
  const fullscreenModal = {
1775
1805
  header: {
1776
1806
  height: 56
@@ -1807,10 +1837,10 @@ const highlight = {
1807
1837
  },
1808
1838
  primary: {
1809
1839
  default: {
1810
- backgroundColor: deepPurpleColorPalette['beige.2']
1840
+ backgroundColor: deepPurpleColorPalette['blue.1']
1811
1841
  },
1812
1842
  hover: {
1813
- backgroundColor: deepPurpleColorPalette['beige.4']
1843
+ backgroundColor: deepPurpleColorPalette['blue.2']
1814
1844
  }
1815
1845
  },
1816
1846
  secondary: {
@@ -1831,10 +1861,14 @@ const highlight = {
1831
1861
  },
1832
1862
  dark: {
1833
1863
  default: {
1834
- backgroundColor: deepPurpleColorPalette['beige.2']
1864
+ backgroundColor: deepPurpleColorPalette['grey.0'],
1865
+ borderWidth: 1,
1866
+ borderColor: deepPurpleColorPalette['beige.3']
1835
1867
  },
1836
1868
  hover: {
1837
- backgroundColor: deepPurpleColorPalette['beige.1']
1869
+ backgroundColor: deepPurpleColorPalette['beige.1'],
1870
+ borderWidth: 1,
1871
+ borderColor: deepPurpleColorPalette['beige.3']
1838
1872
  }
1839
1873
  },
1840
1874
  success: {
@@ -1914,8 +1948,8 @@ const listItem = {
1914
1948
 
1915
1949
  const mapMarker = {
1916
1950
  home: {
1917
- default: colors.primaryLight,
1918
- selected: colors.primary,
1951
+ default: deepPurpleColorPalette['grey.9'],
1952
+ selected: deepPurpleColorPalette['grey.7'],
1919
1953
  svg: {
1920
1954
  height: 36
1921
1955
  },
@@ -1925,8 +1959,8 @@ const mapMarker = {
1925
1959
  }
1926
1960
  },
1927
1961
  meetingPoint: {
1928
- default: colors.black,
1929
- selected: colors.blackAnthracite,
1962
+ default: deepPurpleColorPalette['deepPurple.8'],
1963
+ selected: deepPurpleColorPalette['deepPurple.6'],
1930
1964
  svg: {
1931
1965
  width: 40,
1932
1966
  height: 43
@@ -5702,7 +5736,7 @@ function DocumentPicker({
5702
5736
  ...documentPickerOptions,
5703
5737
  multiple: false
5704
5738
  });
5705
- if (!result.canceled && result.assets[0].file) {
5739
+ if (!result.canceled && result.assets[0]?.file) {
5706
5740
  onDocumentUpload(result.assets[0].file);
5707
5741
  }
5708
5742
  },
@@ -5733,7 +5767,7 @@ function ImagePicker({
5733
5767
  ...imagePickerOptions,
5734
5768
  allowsMultipleSelection: false
5735
5769
  });
5736
- if (!result.canceled) {
5770
+ if (!result.canceled && result.assets[0]) {
5737
5771
  onImageSelected(result.assets[0]);
5738
5772
  }
5739
5773
  },
@@ -5991,17 +6025,17 @@ function GoogleMapsAutocompleteProvider({
5991
6025
  dispatch({
5992
6026
  type: 'search-error'
5993
6027
  });
5994
- return;
5995
6028
  }
5996
-
5997
- // We cache the results to avoid calling the API again if the user types the same value
5998
- searchResultsCache.current[value] = results;
5999
- dispatch({
6000
- type: 'search-success',
6001
- payload: {
6002
- results
6003
- }
6004
- });
6029
+ if (results) {
6030
+ // We cache the results to avoid calling the API again if the user types the same value
6031
+ searchResultsCache.current[value] = results;
6032
+ dispatch({
6033
+ type: 'search-success',
6034
+ payload: {
6035
+ results
6036
+ }
6037
+ });
6038
+ }
6005
6039
  } catch (error) {
6006
6040
  dispatch({
6007
6041
  type: 'search-error'
@@ -7342,6 +7376,8 @@ function AnimatedContainer({
7342
7376
  },
7343
7377
  borderRadius: "kitt.highlight.borderRadius",
7344
7378
  padding: theme.kitt.highlight.padding[size],
7379
+ borderWidth: theme.kitt.highlight[variant].default.borderWidth,
7380
+ borderColor: theme.kitt.highlight[variant].default.borderColor,
7345
7381
  backgroundColor: isHovered ? theme.kitt.highlight[variant].hover.backgroundColor : theme.kitt.highlight[variant].default.backgroundColor,
7346
7382
  children: children
7347
7383
  });
@@ -7421,6 +7457,8 @@ function Highlight({
7421
7457
  borderRadius: "kitt.highlight.borderRadius",
7422
7458
  padding: theme.kitt.highlight.padding[size],
7423
7459
  backgroundColor: `kitt.highlight.${variant}.default.backgroundColor`,
7460
+ borderWidth: theme.kitt.highlight[variant].default.borderWidth,
7461
+ borderColor: theme.kitt.highlight[variant].default.borderColor,
7424
7462
  children: /*#__PURE__*/jsxRuntime.jsxs(HStack, {
7425
7463
  space: highlightStyle[size].spaceBetween,
7426
7464
  children: [icon && /*#__PURE__*/jsxRuntime.jsx(View, {
@@ -7758,12 +7796,11 @@ const SvgPinMarkerinline = props => /*#__PURE__*/jsxRuntime.jsxs("svg", {
7758
7796
  width: 34,
7759
7797
  height: 36,
7760
7798
  viewBox: "0 0 34 36",
7761
- fill: "none",
7799
+ fill: "currentColor",
7762
7800
  xmlns: "http://www.w3.org/2000/svg",
7763
7801
  ...props,
7764
7802
  children: [/*#__PURE__*/jsxRuntime.jsx("path", {
7765
7803
  d: "M17 .5C26.113.5 33.5 7.887 33.5 17c0 8.272-6.087 15.121-14.025 16.315-.05.008-.157.054-.337.211-.173.151-.351.345-.56.57a5.972 5.972 0 0 1-.662.637c-.232.181-.545.367-.916.367-.37 0-.684-.186-.916-.367a5.972 5.972 0 0 1-.662-.637c-.209-.224-.387-.419-.56-.57-.18-.157-.287-.203-.337-.21C6.586 32.12.5 25.271.5 17 .5 7.887 7.887.5 17 .5Z",
7766
- fill: "#7B66FF",
7767
7804
  stroke: "#fff"
7768
7805
  }), /*#__PURE__*/jsxRuntime.jsx("path", {
7769
7806
  d: "M17 10a5.506 5.506 0 0 0-5.5 5.5c0 4.706 5 8.26 5.213 8.41a.5.5 0 0 0 .574 0c.213-.15 5.213-3.704 5.213-8.41A5.506 5.506 0 0 0 17 10Zm0 3.5a2 2 0 1 1 0 4 2 2 0 0 1 0-4Z",
@@ -7788,6 +7825,13 @@ const SvgShadowinline = props => /*#__PURE__*/jsxRuntime.jsx("svg", {
7788
7825
  })
7789
7826
  });
7790
7827
 
7828
+ let MapMarkerVariantEnum = /*#__PURE__*/function (MapMarkerVariantEnum) {
7829
+ MapMarkerVariantEnum["HOME"] = "home";
7830
+ MapMarkerVariantEnum["MEETING_POINT"] = "meetingPoint";
7831
+ MapMarkerVariantEnum["CLOSE_MEETING_POINT"] = "closeMeetingPoint";
7832
+ return MapMarkerVariantEnum;
7833
+ }({});
7834
+
7791
7835
  const SCALE_DURATION = 300;
7792
7836
  const TRANSLATE_Y_DURATION = 150;
7793
7837
  const useNativeAnimation = ({
@@ -7844,18 +7888,12 @@ const getBackgroundColor$1 = ({
7844
7888
  isSelected,
7845
7889
  variant
7846
7890
  }) => {
7847
- if (variant === 'home') {
7891
+ if (variant === MapMarkerVariantEnum.HOME || variant === MapMarkerVariantEnum.CLOSE_MEETING_POINT) {
7848
7892
  return isSelected || isHovered ? theme.mapMarker.home.selected : theme.mapMarker.home.default;
7849
7893
  }
7850
7894
  return isSelected || isHovered ? theme.mapMarker.meetingPoint.selected : theme.mapMarker.meetingPoint.default;
7851
7895
  };
7852
7896
 
7853
- let MapMarkerVariantEnum = /*#__PURE__*/function (MapMarkerVariantEnum) {
7854
- MapMarkerVariantEnum["HOME"] = "home";
7855
- MapMarkerVariantEnum["MEETING_POINT"] = "meetingPoint";
7856
- MapMarkerVariantEnum["CLOSE_MEETING_POINT"] = "closeMeetingPoint";
7857
- return MapMarkerVariantEnum;
7858
- }({});
7859
7897
  function StaticMapMarker$1({
7860
7898
  variant,
7861
7899
  isHovered,
@@ -7958,6 +7996,8 @@ const getColorByType = type => {
7958
7996
  switch (type) {
7959
7997
  case 'success':
7960
7998
  case 'danger':
7999
+ case 'info':
8000
+ return 'white';
7961
8001
  case 'warning':
7962
8002
  default:
7963
8003
  return 'black';
@@ -7967,6 +8007,8 @@ const getIconButtonColor = messageType => {
7967
8007
  switch (messageType) {
7968
8008
  case 'success':
7969
8009
  case 'danger':
8010
+ case 'info':
8011
+ return 'ghost';
7970
8012
  case 'warning':
7971
8013
  default:
7972
8014
  return 'black';
@@ -7987,7 +8029,7 @@ function BaseMessage({
7987
8029
  justifyContent: "space-between",
7988
8030
  minHeight: "kitt.feedbackMessage.minHeight",
7989
8031
  paddingTop: insets?.top,
7990
- borderRadius: hasNoRadius ? undefined : 'kitt.5',
8032
+ borderRadius: hasNoRadius ? undefined : 'kitt.2',
7991
8033
  backgroundColor: `kitt.feedbackMessage.${type}.backgroundColor`,
7992
8034
  children: [/*#__PURE__*/jsxRuntime.jsxs(HStack, {
7993
8035
  flexGrow: 1,
@@ -7995,9 +8037,9 @@ function BaseMessage({
7995
8037
  alignSelf: "center",
7996
8038
  alignItems: "flex-start",
7997
8039
  paddingY: "kitt.4",
7998
- paddingX: "kitt.5",
8040
+ paddingX: "kitt.4",
7999
8041
  children: [centeredText ? null : /*#__PURE__*/jsxRuntime.jsx(View, {
8000
- marginRight: "kitt.5",
8042
+ marginRight: "kitt.2",
8001
8043
  children: /*#__PURE__*/jsxRuntime.jsx(Icon, {
8002
8044
  color: color,
8003
8045
  icon: /*#__PURE__*/jsxRuntime.jsx(IconContent, {
@@ -10886,6 +10928,7 @@ function Picker({
10886
10928
  paddingY: "kitt.2",
10887
10929
  children: childrenArray.map((child, index) => {
10888
10930
  const currentValue = items[index];
10931
+ if (!currentValue) throw new Error(`Picker: No value found for item at index ${index}`);
10889
10932
  const {
10890
10933
  onClick,
10891
10934
  'aria-selected': ariaSelected,
@@ -11695,12 +11738,13 @@ function TabBar({
11695
11738
  ...props,
11696
11739
  children: react.Children.map(tabItems, (child, index) => {
11697
11740
  const tab = tabs[index];
11741
+ if (!tab) throw new Error(`TabBar: tab is undefined at index ${index}`);
11698
11742
  return /*#__PURE__*/jsxRuntime.jsx(View, {
11699
11743
  children: /*#__PURE__*/react.cloneElement(child, {
11700
11744
  color,
11701
11745
  onPress: event => {
11702
11746
  onChangeTab({
11703
- tab: tabs[index],
11747
+ tab,
11704
11748
  index
11705
11749
  });
11706
11750
  child.props.onPress?.(event);
@@ -11848,6 +11892,7 @@ const TimePicker = /*#__PURE__*/react.forwardRef(({
11848
11892
  // Format is hh:mm hence 5 characters
11849
11893
  if (currentInputValue.length < 5 || !currentInputValue.includes(':')) return;
11850
11894
  const [hours, minutes] = currentInputValue.split(':');
11895
+ if (!hours || !minutes) return;
11851
11896
 
11852
11897
  // Prepare the next date. It clones the date value passed as prop if available
11853
11898
  const nextDate = value ? new Date(value) : new Date();
@@ -11888,6 +11933,7 @@ const TimePicker = /*#__PURE__*/react.forwardRef(({
11888
11933
  // When input has a value which is more than ':'
11889
11934
  if (hasSeparator && sanitizedValue.length > 1) {
11890
11935
  const [hours, minutes] = sanitizedValue.split(':');
11936
+ if (!hours || !minutes) return;
11891
11937
  const currentHours = getDisplayedHours(hours);
11892
11938
  const currentMinutes = getDisplayedMinutes(minutes);
11893
11939
  const nextValue = `${currentHours}:${currentMinutes}`;