@ornikar/kitt-universal 27.5.1-canary.eac3fc19869888632e3a59913cf9f700a72b0dad.0 → 27.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/CHANGELOG.md +15 -4
  2. package/dist/definitions/TabBar/TabBar.d.ts +6 -4
  3. package/dist/definitions/TabBar/TabBar.d.ts.map +1 -1
  4. package/dist/definitions/TabBar/TabBarItem.d.ts +11 -1
  5. package/dist/definitions/TabBar/TabBarItem.d.ts.map +1 -1
  6. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +180 -12
  7. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
  8. package/dist/definitions/themes/default.d.ts +1 -12
  9. package/dist/definitions/themes/default.d.ts.map +1 -1
  10. package/dist/definitions/themes/late-ocean/icon.d.ts +0 -20
  11. package/dist/definitions/themes/late-ocean/icon.d.ts.map +1 -1
  12. package/dist/definitions/themes/late-ocean/tabBar.d.ts +34 -0
  13. package/dist/definitions/themes/late-ocean/tabBar.d.ts.map +1 -0
  14. package/dist/definitions/typography/Typography.d.ts.map +1 -1
  15. package/dist/definitions/typography/TypographyIcon.d.ts.map +1 -1
  16. package/dist/definitions/typography/utils/getTypographyFamily.d.ts +2 -1
  17. package/dist/definitions/typography/utils/getTypographyFamily.d.ts.map +1 -1
  18. package/dist/index-metro.es.android.js +565 -250
  19. package/dist/index-metro.es.android.js.map +1 -1
  20. package/dist/index-metro.es.ios.js +565 -250
  21. package/dist/index-metro.es.ios.js.map +1 -1
  22. package/dist/index-node-22.17.cjs.js +456 -140
  23. package/dist/index-node-22.17.cjs.js.map +1 -1
  24. package/dist/index-node-22.17.cjs.web.js +457 -141
  25. package/dist/index-node-22.17.cjs.web.js.map +1 -1
  26. package/dist/index-node-22.17.es.mjs +456 -140
  27. package/dist/index-node-22.17.es.mjs.map +1 -1
  28. package/dist/index-node-22.17.es.web.mjs +457 -141
  29. package/dist/index-node-22.17.es.web.mjs.map +1 -1
  30. package/dist/index.es.js +567 -242
  31. package/dist/index.es.js.map +1 -1
  32. package/dist/index.es.web.js +566 -241
  33. package/dist/index.es.web.js.map +1 -1
  34. package/dist/linaria-themes-metro.es.android.js +179 -36
  35. package/dist/linaria-themes-metro.es.android.js.map +1 -1
  36. package/dist/linaria-themes-metro.es.ios.js +179 -36
  37. package/dist/linaria-themes-metro.es.ios.js.map +1 -1
  38. package/dist/linaria-themes-node-22.17.cjs.js +179 -36
  39. package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
  40. package/dist/linaria-themes-node-22.17.cjs.web.js +179 -36
  41. package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
  42. package/dist/linaria-themes-node-22.17.es.mjs +179 -36
  43. package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
  44. package/dist/linaria-themes-node-22.17.es.web.mjs +179 -36
  45. package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
  46. package/dist/linaria-themes.es.js +179 -36
  47. package/dist/linaria-themes.es.js.map +1 -1
  48. package/dist/linaria-themes.es.web.js +179 -36
  49. package/dist/linaria-themes.es.web.js.map +1 -1
  50. package/dist/tsbuildinfo +1 -1
  51. package/package.json +3 -3
  52. package/scripts/codemods/card-modal.js +155 -0
  53. package/scripts/codemods/fullscreen-modal.js +155 -0
  54. package/scripts/codemods/navigation-modal.js +155 -0
  55. package/scripts/{run-transformers.js → run-codemods.js} +30 -32
  56. package/scripts/transformers/card-modal.js +0 -101
  57. package/scripts/transformers/fullscreen-modal.js +0 -101
  58. package/scripts/transformers/navigation-modal.js +0 -101
  59. /package/scripts/{transformers → codemods}/__testfixtures__/card-modal/basic.input.js +0 -0
  60. /package/scripts/{transformers → codemods}/__testfixtures__/card-modal/basic.output.js +0 -0
  61. /package/scripts/{transformers → codemods}/__testfixtures__/card-modal/withExpressions.input.js +0 -0
  62. /package/scripts/{transformers → codemods}/__testfixtures__/card-modal/withExpressions.output.js +0 -0
  63. /package/scripts/{transformers → codemods}/__testfixtures__/card-modal/wrongOrder.input.js +0 -0
  64. /package/scripts/{transformers → codemods}/__testfixtures__/card-modal/wrongOrder.output.js +0 -0
  65. /package/scripts/{transformers → codemods}/__testfixtures__/fullscreen-modal/basic.input.js +0 -0
  66. /package/scripts/{transformers → codemods}/__testfixtures__/fullscreen-modal/basic.output.js +0 -0
  67. /package/scripts/{transformers → codemods}/__testfixtures__/fullscreen-modal/withExpressions.input.js +0 -0
  68. /package/scripts/{transformers → codemods}/__testfixtures__/fullscreen-modal/withExpressions.output.js +0 -0
  69. /package/scripts/{transformers → codemods}/__testfixtures__/fullscreen-modal/wrongOrder.input.js +0 -0
  70. /package/scripts/{transformers → codemods}/__testfixtures__/fullscreen-modal/wrongOrder.output.js +0 -0
  71. /package/scripts/{transformers → codemods}/__testfixtures__/navigation-modal/basic.input.js +0 -0
  72. /package/scripts/{transformers → codemods}/__testfixtures__/navigation-modal/basic.output.js +0 -0
  73. /package/scripts/{transformers → codemods}/__testfixtures__/navigation-modal/withExpressions.input.js +0 -0
  74. /package/scripts/{transformers → codemods}/__testfixtures__/navigation-modal/withExpressions.output.js +0 -0
  75. /package/scripts/{transformers → codemods}/__testfixtures__/navigation-modal/wrongOrder.input.js +0 -0
  76. /package/scripts/{transformers → codemods}/__testfixtures__/navigation-modal/wrongOrder.output.js +0 -0
  77. /package/scripts/{transformers → codemods}/__tests__/card-modal.test.js +0 -0
  78. /package/scripts/{transformers → codemods}/__tests__/fullscreen-modal.test.js +0 -0
  79. /package/scripts/{transformers → codemods}/__tests__/navigation-modal.test.js +0 -0
@@ -1904,43 +1904,8 @@ var highlight = {
1904
1904
  }
1905
1905
  };
1906
1906
 
1907
- var getIconSizeFromFontSize = function (fontSize) {
1908
- if (fontSize <= 14) return 16;
1909
- if (fontSize <= 16) return 20;
1910
- return 24;
1911
- };
1912
- var createTypographyIconSizeConfig = function (baseAndSmallFontSize, mediumAndWideFontSize) {
1913
- var baseAndSmallIconSize = getIconSizeFromFontSize(baseAndSmallFontSize);
1914
- var mediumAndWideIconSize = getIconSizeFromFontSize(mediumAndWideFontSize);
1915
- return {
1916
- baseAndSmall: {
1917
- iconSize: baseAndSmallIconSize
1918
- },
1919
- mediumAndWide: {
1920
- iconSize: mediumAndWideIconSize
1921
- }
1922
- };
1923
- };
1924
1907
  var icon = {
1925
- defaultSize: 20,
1926
- // Note: this is based on typography updated sizes, not current https://github.com/ornikar/kitt/pull/2130
1927
- typographySize: {
1928
- // also known as xxlarge
1929
- header1: createTypographyIconSizeConfig(40, 56),
1930
- // also known as xlarge
1931
- header2: createTypographyIconSizeConfig(32, 48),
1932
- // also known as medium
1933
- header3: createTypographyIconSizeConfig(24, 40),
1934
- // also known as xsmall
1935
- header4: createTypographyIconSizeConfig(18, 24),
1936
- // also known as xxsmall
1937
- header5: createTypographyIconSizeConfig(18, 18),
1938
- 'body-large': createTypographyIconSizeConfig(18, 24),
1939
- 'body-medium': createTypographyIconSizeConfig(18, 18),
1940
- body: createTypographyIconSizeConfig(16, 16),
1941
- 'body-small': createTypographyIconSizeConfig(14, 14),
1942
- 'body-xsmall': createTypographyIconSizeConfig(12, 12)
1943
- }
1908
+ defaultSize: 20
1944
1909
  };
1945
1910
 
1946
1911
  var iconButton = {
@@ -2367,6 +2332,183 @@ var skeleton$1 = {
2367
2332
  }
2368
2333
  };
2369
2334
 
2335
+ var tabBar = {
2336
+ underline: {
2337
+ "default": {
2338
+ active: {
2339
+ color: {
2340
+ "default": deepPurpleColorPalette['deepPurple.8'],
2341
+ focused: deepPurpleColorPalette['deepPurple.8'],
2342
+ hovered: deepPurpleColorPalette['deepPurple.8'],
2343
+ pressed: deepPurpleColorPalette['deepPurple.8']
2344
+ },
2345
+ indicator: {
2346
+ backgroundColor: deepPurpleColorPalette['deepPurple.8']
2347
+ }
2348
+ },
2349
+ inactive: {
2350
+ color: {
2351
+ "default": deepPurpleColorPalette['grey.5'],
2352
+ focused: deepPurpleColorPalette['grey.5'],
2353
+ hovered: deepPurpleColorPalette['deepPurple.8'],
2354
+ pressed: deepPurpleColorPalette['deepPurple.8']
2355
+ },
2356
+ indicator: {
2357
+ backgroundColor: undefined
2358
+ }
2359
+ },
2360
+ disabled: {
2361
+ color: {
2362
+ "default": deepPurpleColorPalette['grey.3'],
2363
+ focused: deepPurpleColorPalette['grey.3'],
2364
+ hovered: deepPurpleColorPalette['grey.3'],
2365
+ pressed: deepPurpleColorPalette['grey.3']
2366
+ },
2367
+ indicator: {
2368
+ backgroundColor: undefined
2369
+ }
2370
+ },
2371
+ borderBottomColor: deepPurpleColorPalette['beige.3']
2372
+ },
2373
+ revert: {
2374
+ active: {
2375
+ color: {
2376
+ "default": deepPurpleColorPalette['grey.0'],
2377
+ focused: deepPurpleColorPalette['grey.0'],
2378
+ hovered: deepPurpleColorPalette['grey.0'],
2379
+ pressed: deepPurpleColorPalette['grey.0']
2380
+ },
2381
+ indicator: {
2382
+ backgroundColor: deepPurpleColorPalette['grey.0']
2383
+ }
2384
+ },
2385
+ inactive: {
2386
+ color: {
2387
+ "default": deepPurpleColorPalette['white-alpha.80'],
2388
+ focused: deepPurpleColorPalette['white-alpha.80'],
2389
+ hovered: deepPurpleColorPalette['grey.0'],
2390
+ pressed: deepPurpleColorPalette['grey.0']
2391
+ },
2392
+ indicator: {
2393
+ backgroundColor: undefined
2394
+ }
2395
+ },
2396
+ disabled: {
2397
+ color: {
2398
+ "default": deepPurpleColorPalette['white-alpha.20'],
2399
+ focused: deepPurpleColorPalette['white-alpha.20'],
2400
+ hovered: deepPurpleColorPalette['white-alpha.20'],
2401
+ pressed: deepPurpleColorPalette['white-alpha.20']
2402
+ },
2403
+ indicator: {
2404
+ backgroundColor: undefined
2405
+ }
2406
+ },
2407
+ borderBottomColor: deepPurpleColorPalette['white-alpha.20']
2408
+ }
2409
+ },
2410
+ solid: {
2411
+ "default": {
2412
+ active: {
2413
+ color: {
2414
+ "default": deepPurpleColorPalette['grey.0'],
2415
+ focused: deepPurpleColorPalette['grey.0'],
2416
+ hovered: deepPurpleColorPalette['grey.0'],
2417
+ pressed: deepPurpleColorPalette['grey.0']
2418
+ },
2419
+ backgroundColor: {
2420
+ "default": deepPurpleColorPalette['deepPurple.8'],
2421
+ focused: deepPurpleColorPalette['deepPurple.8'],
2422
+ hovered: deepPurpleColorPalette['deepPurple.8'],
2423
+ pressed: deepPurpleColorPalette['deepPurple.8']
2424
+ },
2425
+ borderRadius: 4,
2426
+ indicator: {
2427
+ backgroundColor: undefined
2428
+ }
2429
+ },
2430
+ inactive: {
2431
+ color: {
2432
+ "default": deepPurpleColorPalette['grey.5'],
2433
+ focused: deepPurpleColorPalette['grey.5'],
2434
+ hovered: deepPurpleColorPalette['grey.5'],
2435
+ pressed: deepPurpleColorPalette['grey.5']
2436
+ },
2437
+ backgroundColor: {
2438
+ "default": undefined,
2439
+ focused: undefined,
2440
+ hovered: deepPurpleColorPalette['beige.1'],
2441
+ pressed: deepPurpleColorPalette['beige.1']
2442
+ },
2443
+ borderRadius: 4,
2444
+ indicator: {
2445
+ backgroundColor: undefined
2446
+ }
2447
+ },
2448
+ disabled: {
2449
+ color: {
2450
+ "default": deepPurpleColorPalette['grey.3'],
2451
+ focused: deepPurpleColorPalette['grey.3'],
2452
+ hovered: deepPurpleColorPalette['grey.3'],
2453
+ pressed: deepPurpleColorPalette['grey.3']
2454
+ },
2455
+ indicator: {
2456
+ backgroundColor: undefined
2457
+ }
2458
+ }
2459
+ },
2460
+ revert: {
2461
+ active: {
2462
+ color: {
2463
+ "default": deepPurpleColorPalette['deepPurple.8'],
2464
+ focused: deepPurpleColorPalette['deepPurple.8'],
2465
+ hovered: deepPurpleColorPalette['deepPurple.8'],
2466
+ pressed: deepPurpleColorPalette['deepPurple.8']
2467
+ },
2468
+ backgroundColor: {
2469
+ "default": deepPurpleColorPalette['grey.0'],
2470
+ focused: deepPurpleColorPalette['grey.0'],
2471
+ hovered: deepPurpleColorPalette['grey.0'],
2472
+ pressed: deepPurpleColorPalette['grey.0']
2473
+ },
2474
+ borderRadius: 4,
2475
+ indicator: {
2476
+ backgroundColor: undefined
2477
+ }
2478
+ },
2479
+ inactive: {
2480
+ color: {
2481
+ "default": deepPurpleColorPalette['white-alpha.80'],
2482
+ focused: deepPurpleColorPalette['white-alpha.80'],
2483
+ hovered: deepPurpleColorPalette['white-alpha.80'],
2484
+ pressed: deepPurpleColorPalette['white-alpha.80']
2485
+ },
2486
+ backgroundColor: {
2487
+ "default": undefined,
2488
+ focused: undefined,
2489
+ hovered: deepPurpleColorPalette['white-alpha.10'],
2490
+ pressed: deepPurpleColorPalette['white-alpha.10']
2491
+ },
2492
+ borderRadius: 4,
2493
+ indicator: {
2494
+ backgroundColor: undefined
2495
+ }
2496
+ },
2497
+ disabled: {
2498
+ color: {
2499
+ "default": deepPurpleColorPalette['white-alpha.20'],
2500
+ focused: deepPurpleColorPalette['white-alpha.20'],
2501
+ hovered: deepPurpleColorPalette['white-alpha.20'],
2502
+ pressed: deepPurpleColorPalette['white-alpha.20']
2503
+ },
2504
+ indicator: {
2505
+ backgroundColor: undefined
2506
+ }
2507
+ }
2508
+ }
2509
+ }
2510
+ };
2511
+
2370
2512
  var tag = {
2371
2513
  borderRadius: 16,
2372
2514
  icon: {
@@ -2508,6 +2650,7 @@ var theme = {
2508
2650
  picker: picker,
2509
2651
  shadows: shadows,
2510
2652
  skeleton: skeleton$1,
2653
+ tabBar: tabBar,
2511
2654
  tag: tag,
2512
2655
  tooltip: tooltip,
2513
2656
  typography: typography,
@@ -2608,7 +2751,7 @@ function ActionCardDisabled(_ref) {
2608
2751
  });
2609
2752
  }
2610
2753
 
2611
- var _excluded$S = ["children", "variant", "borderVariant", "borderRadius", "disabled", "isHovered", "isPressed", "isFocused"];
2754
+ var _excluded$R = ["children", "variant", "borderVariant", "borderRadius", "disabled", "isHovered", "isPressed", "isFocused"];
2612
2755
  function ActionCard(_ref) {
2613
2756
  var children = _ref.children,
2614
2757
  _ref$variant = _ref.variant,
@@ -2621,7 +2764,7 @@ function ActionCard(_ref) {
2621
2764
  isHovered = _ref.isHovered,
2622
2765
  isPressed = _ref.isPressed,
2623
2766
  isFocused = _ref.isFocused,
2624
- props = _objectWithoutProperties(_ref, _excluded$S);
2767
+ props = _objectWithoutProperties(_ref, _excluded$R);
2625
2768
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
2626
2769
  children: disabled ? /*#__PURE__*/jsx(ActionCardDisabled, {
2627
2770
  borderRadius: borderRadius,
@@ -2943,17 +3086,23 @@ var getTypographyFamilyWithAncestorValue = function (type, typographyFamilyInCon
2943
3086
  if (typographyFamilyInContext != null) return typographyFamilyInContext;
2944
3087
  throw new Error('You must set a "base" prop or wrap this Typography in one that does.');
2945
3088
  };
3089
+ var getTypographyTypeWithAncestorValue = function (type, typographyTypeInContext) {
3090
+ // check if all values are not undefined
3091
+ var isAllValuesUndefined = Object.values(type).every(function (value) {
3092
+ return value === undefined;
3093
+ });
2946
3094
 
2947
- var _excluded$R = ["accessibilityRole", "base", "small", "medium", "large", "wide", "type", "variant", "color"];
3095
+ // if every values are undefined and we hgave a typographyTypeInContext, we use the parent typography type (typographyTypeInContext)
3096
+ return !!isAllValuesUndefined && !!typographyTypeInContext ? typographyTypeInContext : type;
3097
+ };
3098
+
3099
+ var _excluded$Q = ["accessibilityRole", "base", "small", "medium", "large", "wide", "type", "variant", "color"];
2948
3100
  var TypographyFamilyContext = /*#__PURE__*/createContext(null);
2949
3101
  var TypographyTypeContext = /*#__PURE__*/createContext(null);
2950
3102
  var TypographyColorContext = /*#__PURE__*/createContext('black');
2951
3103
  function useTypographyColor() {
2952
3104
  return useContext(TypographyColorContext);
2953
3105
  }
2954
- function useTypographyAncestorType() {
2955
- return useContext(TypographyTypeContext);
2956
- }
2957
3106
  var TypographyDefaultColorContext = /*#__PURE__*/createContext(undefined);
2958
3107
  function useTypographyDefaultColor() {
2959
3108
  return useContext(TypographyDefaultColorContext);
@@ -3054,7 +3203,7 @@ function getUniversalFontWeight(type, variant, typographyFamily) {
3054
3203
  };
3055
3204
  }
3056
3205
  function Typography(_ref2) {
3057
- var _type$base;
3206
+ var _typographyType$base;
3058
3207
  var accessibilityRole = _ref2.accessibilityRole,
3059
3208
  legacyBase = _ref2.base,
3060
3209
  legacySmall = _ref2.small,
@@ -3071,12 +3220,14 @@ function Typography(_ref2) {
3071
3220
  } : _ref2$type,
3072
3221
  variant = _ref2.variant,
3073
3222
  color = _ref2.color,
3074
- otherProps = _objectWithoutProperties(_ref2, _excluded$R);
3223
+ otherProps = _objectWithoutProperties(_ref2, _excluded$Q);
3075
3224
  var sx = useSx();
3076
3225
  var typographyFamilyInContext = useContext(TypographyFamilyContext);
3226
+ var typographyTypeInContext = useContext(TypographyTypeContext);
3077
3227
  var defaultColor = useTypographyDefaultColor();
3078
3228
  var hasTypographyAncestor = typographyFamilyInContext !== null;
3079
- var baseOrDefaultToBody = hasTypographyAncestor ? type.base : (_type$base = type.base) !== null && _type$base !== void 0 ? _type$base : 'body-m';
3229
+ var typographyType = getTypographyTypeWithAncestorValue(type, typographyTypeInContext);
3230
+ var baseOrDefaultToBody = (_typographyType$base = typographyType.base) !== null && _typographyType$base !== void 0 ? _typographyType$base : 'body-m';
3080
3231
  var typographyFamily = getTypographyFamilyWithAncestorValue(baseOrDefaultToBody, typographyFamilyInContext);
3081
3232
  var fontSizeForNativeBase = createNativeBaseFontSize(_objectSpread(_objectSpread({}, type), {}, {
3082
3233
  base: baseOrDefaultToBody
@@ -3113,7 +3264,7 @@ function Typography(_ref2) {
3113
3264
  var content = baseOrDefaultToBody ? /*#__PURE__*/jsx(TypographyFamilyContext.Provider, {
3114
3265
  value: typographyFamily,
3115
3266
  children: /*#__PURE__*/jsx(TypographyTypeContext.Provider, {
3116
- value: type,
3267
+ value: typographyType,
3117
3268
  children: text
3118
3269
  })
3119
3270
  }) : text;
@@ -3211,30 +3362,12 @@ function Icon(_ref) {
3211
3362
  });
3212
3363
  }
3213
3364
 
3214
- var _excluded$Q = ["color", "size"],
3365
+ var _excluded$P = ["color", "size"],
3215
3366
  _excluded2$6 = ["color"];
3216
- function getIconSizeConfigKeyFromTypeName(breakpointName) {
3217
- return breakpointName === KittBreakpointNameEnum.BASE || breakpointName === KittBreakpointNameEnum.SMALL ? 'baseAndSmall' : 'mediumAndWide';
3218
- }
3219
- function createNativeBaseIconSize(type) {
3220
- var typeWithMediumForced = _objectSpread(_objectSpread({}, type), {}, {
3221
- medium: type.medium || type.small || type.base
3222
- });
3223
- var iconSizeForNativeBase = {};
3224
- [KittBreakpointNameEnum.BASE, KittBreakpointNameEnum.SMALL, KittBreakpointNameEnum.MEDIUM, KittBreakpointNameEnum.LARGE, KittBreakpointNameEnum.WIDE].forEach(function (typeName) {
3225
- var value = typeWithMediumForced[typeName];
3226
- if (value) {
3227
- iconSizeForNativeBase[typeName] = "kitt.icon.typographySize.".concat(value, ".").concat(getIconSizeConfigKeyFromTypeName(typeName), ".iconSize");
3228
- }
3229
- });
3230
- return iconSizeForNativeBase;
3231
- }
3232
3367
  function TypographyIconSpecifiedColor(_ref) {
3233
3368
  var color = _ref.color,
3234
3369
  size = _ref.size,
3235
- props = _objectWithoutProperties(_ref, _excluded$Q);
3236
- var ancestorType = useTypographyAncestorType();
3237
- var iconSize = size || (ancestorType ? createNativeBaseIconSize(ancestorType) : undefined);
3370
+ props = _objectWithoutProperties(_ref, _excluded$P);
3238
3371
  var colorValue = getTypographyColorValue(color);
3239
3372
  var sx = useSx();
3240
3373
  var _sx = sx({
@@ -3242,7 +3375,7 @@ function TypographyIconSpecifiedColor(_ref) {
3242
3375
  }),
3243
3376
  colorStyleValue = _sx.color;
3244
3377
  return /*#__PURE__*/jsx(Icon, _objectSpread(_objectSpread({}, props), {}, {
3245
- size: iconSize,
3378
+ size: size,
3246
3379
  color: colorStyleValue
3247
3380
  }));
3248
3381
  }
@@ -3274,7 +3407,7 @@ var getButtonTextColorByType = function (type, variant, isHovered, isPressed, is
3274
3407
  return "".concat(baseKey, ".default");
3275
3408
  };
3276
3409
 
3277
- var _excluded$P = ["type", "variant", "isDisabled", "icon", "children", "isHovered", "isPressed", "isFocused", "innerSpacing", "size"];
3410
+ var _excluded$O = ["type", "variant", "isDisabled", "icon", "children", "isHovered", "isPressed", "isFocused", "innerSpacing", "size"];
3278
3411
  function ButtonContentChildren(_ref) {
3279
3412
  var type = _ref.type,
3280
3413
  icon = _ref.icon,
@@ -3374,7 +3507,7 @@ function ButtonContent(_ref2) {
3374
3507
  _ref2.isFocused;
3375
3508
  var innerSpacing = _ref2.innerSpacing,
3376
3509
  size = _ref2.size,
3377
- props = _objectWithoutProperties(_ref2, _excluded$P);
3510
+ props = _objectWithoutProperties(_ref2, _excluded$O);
3378
3511
  var color = getButtonTextColorByType(type, variant, isHovered, isPressed, isDisabled);
3379
3512
  return /*#__PURE__*/jsx(View, {
3380
3513
  _web: {
@@ -3573,7 +3706,7 @@ function LoaderIcon(_ref) {
3573
3706
  });
3574
3707
  }
3575
3708
 
3576
- var _excluded$O = ["as", "onPress", "disabled", "icon", "stretch"];
3709
+ var _excluded$N = ["as", "onPress", "disabled", "icon", "stretch"];
3577
3710
  var ActionsItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
3578
3711
  var as = _ref.as,
3579
3712
  onPress = _ref.onPress,
@@ -3584,7 +3717,7 @@ var ActionsItem = /*#__PURE__*/forwardRef(function (_ref, ref) {
3584
3717
  base: true,
3585
3718
  medium: false
3586
3719
  } : _ref$stretch,
3587
- props = _objectWithoutProperties(_ref, _excluded$O);
3720
+ props = _objectWithoutProperties(_ref, _excluded$N);
3588
3721
  var _useState = useState(false),
3589
3722
  _useState2 = _slicedToArray(_useState, 2),
3590
3723
  isLoading = _useState2[0],
@@ -3662,7 +3795,7 @@ function ActionsButton(_ref) {
3662
3795
  }, props));
3663
3796
  }
3664
3797
 
3665
- var _excluded$N = ["children", "layout", "reversed"];
3798
+ var _excluded$M = ["children", "layout", "reversed"];
3666
3799
  function getCurrentLayout(layout) {
3667
3800
  if (!layout) return {
3668
3801
  base: 'stretch',
@@ -3694,7 +3827,7 @@ function Actions(_ref) {
3694
3827
  reversed = _ref$reversed === void 0 ? {
3695
3828
  base: false
3696
3829
  } : _ref$reversed,
3697
- props = _objectWithoutProperties(_ref, _excluded$N);
3830
+ props = _objectWithoutProperties(_ref, _excluded$M);
3698
3831
  var shouldReverse = typeof reversed === 'boolean' ? {
3699
3832
  base: !!reversed
3700
3833
  } : createResponsiveStyleFromProp(reversed, true, false);
@@ -3747,7 +3880,7 @@ function getInitials(firstname, lastname) {
3747
3880
  return "".concat(firstname[0]).concat(lastname[0]).toUpperCase();
3748
3881
  }
3749
3882
 
3750
- var _excluded$M = ["size", "round", "light", "sizeVariant", "width", "height", "dark", "disabled"];
3883
+ var _excluded$L = ["size", "round", "light", "sizeVariant", "width", "height", "dark", "disabled"];
3751
3884
  function AvatarContent(_ref) {
3752
3885
  var size = _ref.size,
3753
3886
  src = _ref.src,
@@ -3810,7 +3943,7 @@ function Avatar(_ref2) {
3810
3943
  height = _ref2.height,
3811
3944
  dark = _ref2.dark,
3812
3945
  disabled = _ref2.disabled,
3813
- props = _objectWithoutProperties(_ref2, _excluded$M);
3946
+ props = _objectWithoutProperties(_ref2, _excluded$L);
3814
3947
  var currentSize = getCurrentSize({
3815
3948
  size: size,
3816
3949
  sizeVariant: sizeVariant
@@ -3993,7 +4126,7 @@ function CardModalRotationContainer(props) {
3993
4126
  }, props));
3994
4127
  }
3995
4128
 
3996
- var _excluded$L = ["children", "appear", "visible", "unmountOnExit", "isAnimationEnabled", "onEnter", "onEntered", "onExit", "onExited", "onClose"];
4129
+ var _excluded$K = ["children", "appear", "visible", "unmountOnExit", "isAnimationEnabled", "onEnter", "onEntered", "onExit", "onExited", "onClose"];
3997
4130
  var contentAnimationEnter$1 = "kitt-u_contentAnimationEnter_c11xxy4r";
3998
4131
  var contentAnimatioEnterActive$1 = "kitt-u_contentAnimatioEnterActive_cl52117";
3999
4132
  var contentAnimatioExit$1 = "kitt-u_contentAnimatioExit_cyjczep";
@@ -4032,7 +4165,7 @@ function CardModalAnimation(_ref) {
4032
4165
  onExit = _ref.onExit,
4033
4166
  onExited = _ref.onExited,
4034
4167
  onClose = _ref.onClose,
4035
- props = _objectWithoutProperties(_ref, _excluded$L);
4168
+ props = _objectWithoutProperties(_ref, _excluded$K);
4036
4169
  var theme = useTheme();
4037
4170
  var animation = theme.kitt.cardModal.animation;
4038
4171
  var sharedProps = {
@@ -4065,13 +4198,13 @@ function CardModalAnimation(_ref) {
4065
4198
  }));
4066
4199
  }
4067
4200
 
4068
- var _excluded$K = ["children", "visible", "onClose", "onExited"];
4201
+ var _excluded$J = ["children", "visible", "onClose", "onExited"];
4069
4202
  function CardModalBehaviour(_ref) {
4070
4203
  var children = _ref.children,
4071
4204
  visible = _ref.visible,
4072
4205
  onClose = _ref.onClose,
4073
4206
  onExited = _ref.onExited,
4074
- props = _objectWithoutProperties(_ref, _excluded$K);
4207
+ props = _objectWithoutProperties(_ref, _excluded$J);
4075
4208
  var _useState = useState(visible),
4076
4209
  _useState2 = _slicedToArray(_useState, 2),
4077
4210
  isModalBehaviourVisible = _useState2[0],
@@ -4096,7 +4229,7 @@ function CardModalBehaviour(_ref) {
4096
4229
  });
4097
4230
  }
4098
4231
 
4099
- var _excluded$J = ["children", "paddingX", "paddingY"];
4232
+ var _excluded$I = ["children", "paddingX", "paddingY"];
4100
4233
  function CardModalBody(_ref) {
4101
4234
  var children = _ref.children,
4102
4235
  _ref$paddingX = _ref.paddingX,
@@ -4109,7 +4242,7 @@ function CardModalBody(_ref) {
4109
4242
  base: 'kitt.4',
4110
4243
  medium: 'kitt.6'
4111
4244
  } : _ref$paddingY,
4112
- props = _objectWithoutProperties(_ref, _excluded$J);
4245
+ props = _objectWithoutProperties(_ref, _excluded$I);
4113
4246
  return /*#__PURE__*/jsx(ScrollView, _objectSpread(_objectSpread({
4114
4247
  showsVerticalScrollIndicator: false,
4115
4248
  _contentContainerStyle: {
@@ -4121,7 +4254,7 @@ function CardModalBody(_ref) {
4121
4254
  }));
4122
4255
  }
4123
4256
 
4124
- var _excluded$I = ["children", "padding", "hasSeparator"];
4257
+ var _excluded$H = ["children", "padding", "hasSeparator"];
4125
4258
  function CardModalFooter(_ref) {
4126
4259
  var children = _ref.children,
4127
4260
  _ref$padding = _ref.padding,
@@ -4131,7 +4264,7 @@ function CardModalFooter(_ref) {
4131
4264
  } : _ref$padding,
4132
4265
  _ref$hasSeparator = _ref.hasSeparator,
4133
4266
  hasSeparator = _ref$hasSeparator === void 0 ? true : _ref$hasSeparator,
4134
- props = _objectWithoutProperties(_ref, _excluded$I);
4267
+ props = _objectWithoutProperties(_ref, _excluded$H);
4135
4268
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
4136
4269
  marginTop: "kitt.2",
4137
4270
  padding: padding,
@@ -4145,7 +4278,7 @@ function CardModalFooter(_ref) {
4145
4278
  }));
4146
4279
  }
4147
4280
 
4148
- var _excluded$H = ["children", "title", "paddingBottom", "hasSeparator", "right", "left"];
4281
+ var _excluded$G = ["children", "title", "paddingBottom", "hasSeparator", "right", "left"];
4149
4282
  function CardModalHeader(_ref) {
4150
4283
  var children = _ref.children,
4151
4284
  title = _ref.title,
@@ -4158,7 +4291,7 @@ function CardModalHeader(_ref) {
4158
4291
  hasSeparator = _ref$hasSeparator === void 0 ? true : _ref$hasSeparator,
4159
4292
  right = _ref.right,
4160
4293
  left = _ref.left,
4161
- props = _objectWithoutProperties(_ref, _excluded$H);
4294
+ props = _objectWithoutProperties(_ref, _excluded$G);
4162
4295
  var defaultContainerPadding = {
4163
4296
  base: 'kitt.4',
4164
4297
  medium: 'kitt.6'
@@ -4196,7 +4329,7 @@ function CardModalHeader(_ref) {
4196
4329
  }));
4197
4330
  }
4198
4331
 
4199
- var _excluded$G = ["backgroundColor", "maxWidth", "withoutShadow", "children", "header", "body", "footer"];
4332
+ var _excluded$F = ["backgroundColor", "maxWidth", "withoutShadow", "children", "header", "body", "footer"];
4200
4333
  function CardModal(_ref) {
4201
4334
  var _ref$backgroundColor = _ref.backgroundColor,
4202
4335
  backgroundColor = _ref$backgroundColor === void 0 ? 'kitt.uiBackgroundLight' : _ref$backgroundColor,
@@ -4207,7 +4340,7 @@ function CardModal(_ref) {
4207
4340
  header = _ref.header,
4208
4341
  body = _ref.body,
4209
4342
  footer = _ref.footer,
4210
- props = _objectWithoutProperties(_ref, _excluded$G);
4343
+ props = _objectWithoutProperties(_ref, _excluded$F);
4211
4344
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
4212
4345
  overflow: "hidden",
4213
4346
  backgroundColor: backgroundColor,
@@ -4422,11 +4555,11 @@ function ChoiceItemContainer(_ref) {
4422
4555
  }));
4423
4556
  }
4424
4557
 
4425
- var _excluded$F = ["direction", "contentContainerStyle"];
4558
+ var _excluded$E = ["direction", "contentContainerStyle"];
4426
4559
  function ChoicesContainer(_ref) {
4427
4560
  var direction = _ref.direction,
4428
4561
  contentContainerStyle = _ref.contentContainerStyle,
4429
- props = _objectWithoutProperties(_ref, _excluded$F);
4562
+ props = _objectWithoutProperties(_ref, _excluded$E);
4430
4563
  if (direction === 'row') {
4431
4564
  return /*#__PURE__*/jsx(ScrollView$2, _objectSpread({
4432
4565
  horizontal: true,
@@ -4501,7 +4634,7 @@ var ChoicesElements = {
4501
4634
  ButtonChoices: ButtonChoices
4502
4635
  };
4503
4636
 
4504
- var _excluded$E = ["children", "appear", "visible", "unmountOnExit", "isAnimationEnabled", "onEnter", "onEntered", "onExit", "onExited", "onClose"];
4637
+ var _excluded$D = ["children", "appear", "visible", "unmountOnExit", "isAnimationEnabled", "onEnter", "onEntered", "onExit", "onExited", "onClose"];
4505
4638
  var contentAnimationEnter = "kitt-u_contentAnimationEnter_c1i0gle8";
4506
4639
  var contentAnimatioEnterActive = "kitt-u_contentAnimatioEnterActive_c1jmfkjw";
4507
4640
  var contentAnimatioExit = "kitt-u_contentAnimatioExit_cwjstxl";
@@ -4540,7 +4673,7 @@ function DialogModalAnimation(_ref) {
4540
4673
  onExit = _ref.onExit,
4541
4674
  onExited = _ref.onExited,
4542
4675
  onClose = _ref.onClose,
4543
- props = _objectWithoutProperties(_ref, _excluded$E);
4676
+ props = _objectWithoutProperties(_ref, _excluded$D);
4544
4677
  var theme = useTheme();
4545
4678
  var animation = theme.kitt.dialogModal.animation;
4546
4679
  var sharedProps = {
@@ -4575,13 +4708,13 @@ function DialogModalAnimation(_ref) {
4575
4708
  }));
4576
4709
  }
4577
4710
 
4578
- var _excluded$D = ["children", "visible", "onClose", "onExited"];
4711
+ var _excluded$C = ["children", "visible", "onClose", "onExited"];
4579
4712
  function DialogModalBehaviour(_ref) {
4580
4713
  var children = _ref.children,
4581
4714
  visible = _ref.visible,
4582
4715
  onClose = _ref.onClose,
4583
4716
  onExited = _ref.onExited,
4584
- props = _objectWithoutProperties(_ref, _excluded$D);
4717
+ props = _objectWithoutProperties(_ref, _excluded$C);
4585
4718
  var _useState = useState(visible),
4586
4719
  _useState2 = _slicedToArray(_useState, 2),
4587
4720
  isModalBehaviourVisible = _useState2[0],
@@ -4612,7 +4745,7 @@ function DialogModalBehaviour(_ref) {
4612
4745
  });
4613
4746
  }
4614
4747
 
4615
- var _excluded$C = ["stretch"];
4748
+ var _excluded$B = ["stretch"];
4616
4749
  function DialogModal(_ref) {
4617
4750
  var illustration = _ref.illustration,
4618
4751
  title = _ref.title,
@@ -4652,7 +4785,7 @@ DialogModal.ModalBehaviour = DialogModalBehaviour;
4652
4785
  function DialogModalButton(_ref2) {
4653
4786
  var _ref2$stretch = _ref2.stretch,
4654
4787
  stretch = _ref2$stretch === void 0 ? true : _ref2$stretch,
4655
- props = _objectWithoutProperties(_ref2, _excluded$C);
4788
+ props = _objectWithoutProperties(_ref2, _excluded$B);
4656
4789
  return /*#__PURE__*/jsx(Actions.Button, _objectSpread({
4657
4790
  stretch: stretch
4658
4791
  }, props));
@@ -4689,7 +4822,7 @@ function Emoji(_ref) {
4689
4822
  });
4690
4823
  }
4691
4824
 
4692
- var _excluded$B = ["as", "appScheme", "appValue", "onPress", "onOpenAppError"],
4825
+ var _excluded$A = ["as", "appScheme", "appValue", "onPress", "onOpenAppError"],
4693
4826
  _excluded2$5 = ["phoneNumber", "children"],
4694
4827
  _excluded3$4 = ["phoneNumber", "children"],
4695
4828
  _excluded4$3 = ["emailAddress", "children"];
@@ -4699,7 +4832,7 @@ function ExternalAppLink(_ref) {
4699
4832
  appValue = _ref.appValue,
4700
4833
  onPress = _ref.onPress,
4701
4834
  onOpenAppError = _ref.onOpenAppError,
4702
- rest = _objectWithoutProperties(_ref, _excluded$B);
4835
+ rest = _objectWithoutProperties(_ref, _excluded$A);
4703
4836
  var href = "".concat(appScheme, ":").concat(appValue);
4704
4837
  var handleOnPress = /*#__PURE__*/function () {
4705
4838
  var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(e) {
@@ -4794,14 +4927,14 @@ var defaultOpenLinkBehavior = {
4794
4927
  web: 'targetBlank'
4795
4928
  };
4796
4929
 
4797
- var _excluded$A = ["as", "href", "openLinkBehavior", "onPress"];
4930
+ var _excluded$z = ["as", "href", "openLinkBehavior", "onPress"];
4798
4931
  function ExternalLink(_ref) {
4799
4932
  var Component = _ref.as,
4800
4933
  href = _ref.href,
4801
4934
  _ref$openLinkBehavior = _ref.openLinkBehavior,
4802
4935
  openLinkBehavior = _ref$openLinkBehavior === void 0 ? defaultOpenLinkBehavior : _ref$openLinkBehavior,
4803
4936
  onPress = _ref.onPress,
4804
- rest = _objectWithoutProperties(_ref, _excluded$A);
4937
+ rest = _objectWithoutProperties(_ref, _excluded$z);
4805
4938
  return /*#__PURE__*/jsx(Component, _objectSpread(_objectSpread({}, rest), {}, {
4806
4939
  accessibilityRole: "link",
4807
4940
  href: href,
@@ -4877,7 +5010,7 @@ function InputTextContainer(props) {
4877
5010
  }, props));
4878
5011
  }
4879
5012
 
4880
- var _excluded$z = ["id", "right", "state", "variant", "internalForceState", "disabled", "autoCorrect", "textContentType", "autoComplete", "inputMode", "multiline", "height", "onSubmitEditing"];
5013
+ var _excluded$y = ["id", "right", "state", "variant", "internalForceState", "disabled", "autoCorrect", "textContentType", "autoComplete", "inputMode", "multiline", "height", "onSubmitEditing"];
4881
5014
  var InputText = /*#__PURE__*/forwardRef(function (_ref, ref) {
4882
5015
  var id = _ref.id,
4883
5016
  right = _ref.right;
@@ -4898,7 +5031,7 @@ var InputText = /*#__PURE__*/forwardRef(function (_ref, ref) {
4898
5031
  multiline = _ref.multiline,
4899
5032
  height = _ref.height,
4900
5033
  onSubmitEditing = _ref.onSubmitEditing,
4901
- props = _objectWithoutProperties(_ref, _excluded$z);
5034
+ props = _objectWithoutProperties(_ref, _excluded$y);
4902
5035
  var theme = useTheme();
4903
5036
  var fontSizeForNativeBase = createNativeBaseFontSize({
4904
5037
  base: 'body-m'
@@ -5022,12 +5155,12 @@ function AutocompleteItemsListContainer(_ref) {
5022
5155
  });
5023
5156
  }
5024
5157
 
5025
- var _excluded$y = ["children", "testID"];
5158
+ var _excluded$x = ["children", "testID"];
5026
5159
  function AutocompleteOption(_ref) {
5027
5160
  var children = _ref.children,
5028
5161
  _ref$testID = _ref.testID,
5029
5162
  testID = _ref$testID === void 0 ? 'kitt.Autocomplete.option' : _ref$testID,
5030
- props = _objectWithoutProperties(_ref, _excluded$y);
5163
+ props = _objectWithoutProperties(_ref, _excluded$x);
5031
5164
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
5032
5165
  paddingX: {
5033
5166
  base: 'kitt.2',
@@ -5040,7 +5173,7 @@ function AutocompleteOption(_ref) {
5040
5173
  }));
5041
5174
  }
5042
5175
 
5043
- var _excluded$x = ["children", "name", "disabled", "placeholder", "isInitialOpen", "initialValue", "containerProps", "filterItemBasedOnCurrentInputValue", "checkSelectedItem", "itemToString", "right", "onChange", "onFocus", "onBlur", "onInputChange", "onSelectItem", "onOuterPress", "errorElement", "emptyResultsElement", "inputTestID", "listContainerTestID", "zIndex", "maxItemContainerHeight"],
5176
+ var _excluded$w = ["children", "name", "disabled", "placeholder", "isInitialOpen", "initialValue", "containerProps", "filterItemBasedOnCurrentInputValue", "checkSelectedItem", "itemToString", "right", "onChange", "onFocus", "onBlur", "onInputChange", "onSelectItem", "onOuterPress", "errorElement", "emptyResultsElement", "inputTestID", "listContainerTestID", "zIndex", "maxItemContainerHeight"],
5044
5177
  _excluded2$4 = ["onClick", "onPress"],
5045
5178
  _excluded3$3 = ["onKeyDown", "onFocus", "onBlur", "onChange"],
5046
5179
  _excluded4$2 = ["onClick", "onPress", "role", "aria-selected"];
@@ -5074,7 +5207,7 @@ function Autocomplete(_ref) {
5074
5207
  _ref$zIndex = _ref.zIndex,
5075
5208
  zIndex = _ref$zIndex === void 0 ? 1000 : _ref$zIndex,
5076
5209
  maxItemContainerHeight = _ref.maxItemContainerHeight,
5077
- props = _objectWithoutProperties(_ref, _excluded$x);
5210
+ props = _objectWithoutProperties(_ref, _excluded$w);
5078
5211
  var childrenArray = Children.toArray(_children);
5079
5212
  var items = childrenArray.filter(isReactElement).map(function (child) {
5080
5213
  return {
@@ -5281,7 +5414,7 @@ function getBorderColor$1(_ref) {
5281
5414
  return 'kitt.forms.checkbox.default.borderColor';
5282
5415
  }
5283
5416
 
5284
- var _excluded$w = ["checked", "hitSlop", "children", "disabled", "onChange", "onBlur", "onFocus"];
5417
+ var _excluded$v = ["checked", "hitSlop", "children", "disabled", "onChange", "onBlur", "onFocus"];
5285
5418
  var Checkbox = /*#__PURE__*/forwardRef(function (_ref, ref) {
5286
5419
  var checked = _ref.checked,
5287
5420
  _ref$hitSlop = _ref.hitSlop,
@@ -5291,7 +5424,7 @@ var Checkbox = /*#__PURE__*/forwardRef(function (_ref, ref) {
5291
5424
  onChange = _ref.onChange,
5292
5425
  onBlur = _ref.onBlur,
5293
5426
  onFocus = _ref.onFocus,
5294
- props = _objectWithoutProperties(_ref, _excluded$w);
5427
+ props = _objectWithoutProperties(_ref, _excluded$v);
5295
5428
  var theme = useTheme();
5296
5429
  return /*#__PURE__*/jsx(Pressable, _objectSpread(_objectSpread({
5297
5430
  hitSlop: hitSlop
@@ -5607,7 +5740,7 @@ function PartContainer(_ref) {
5607
5740
  });
5608
5741
  }
5609
5742
 
5610
- var _excluded$v = ["id", "value", "testID", "stretch", "placeholder", "minDate", "maxDate", "disabled", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "enterKeyHint", "onChange", "onBlur", "onFocus", "onSubmitEditing"];
5743
+ var _excluded$u = ["id", "value", "testID", "stretch", "placeholder", "minDate", "maxDate", "disabled", "isFocusedInternal", "isHoveredInternal", "isPressedInternal", "enterKeyHint", "onChange", "onBlur", "onFocus", "onSubmitEditing"];
5611
5744
  var KeyboardDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
5612
5745
  var id = _ref.id,
5613
5746
  value = _ref.value,
@@ -5625,7 +5758,7 @@ var KeyboardDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
5625
5758
  onBlur = _ref.onBlur,
5626
5759
  onFocus = _ref.onFocus,
5627
5760
  onSubmitEditing = _ref.onSubmitEditing;
5628
- _objectWithoutProperties(_ref, _excluded$v);
5761
+ _objectWithoutProperties(_ref, _excluded$u);
5629
5762
  var monthRef = useRef(null);
5630
5763
  var yearRef = useRef(null);
5631
5764
  var defaultValue = value;
@@ -5765,10 +5898,10 @@ var KeyboardDatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
5765
5898
  });
5766
5899
  });
5767
5900
 
5768
- var _excluded$u = ["value"];
5901
+ var _excluded$t = ["value"];
5769
5902
  var DatePicker = /*#__PURE__*/forwardRef(function (_ref, ref) {
5770
5903
  var value = _ref.value,
5771
- props = _objectWithoutProperties(_ref, _excluded$u);
5904
+ props = _objectWithoutProperties(_ref, _excluded$t);
5772
5905
  // in apps, final-form can give a string value that will break the component
5773
5906
  var currentValue = value || undefined;
5774
5907
  return /*#__PURE__*/jsx(KeyboardDatePicker, _objectSpread(_objectSpread({
@@ -6352,7 +6485,7 @@ function formatInitialValueToAutocompletePrediction(address, placeId) {
6352
6485
  };
6353
6486
  }
6354
6487
 
6355
- var _excluded$t = ["initialValue", "itemToString", "errorElement", "emptyResultsElement", "onChange"];
6488
+ var _excluded$s = ["initialValue", "itemToString", "errorElement", "emptyResultsElement", "onChange"];
6356
6489
  function InputAddress(_ref) {
6357
6490
  var initialValue = _ref.initialValue,
6358
6491
  _ref$itemToString = _ref.itemToString,
@@ -6360,7 +6493,7 @@ function InputAddress(_ref) {
6360
6493
  errorElement = _ref.errorElement,
6361
6494
  emptyResultsElement = _ref.emptyResultsElement,
6362
6495
  _onChange = _ref.onChange,
6363
- props = _objectWithoutProperties(_ref, _excluded$t);
6496
+ props = _objectWithoutProperties(_ref, _excluded$s);
6364
6497
  var _useGoogleMapsAutocom = useGoogleMapsAutocomplete(),
6365
6498
  state = _useGoogleMapsAutocom.state,
6366
6499
  _onInputChange = _useGoogleMapsAutocom.onInputChange,
@@ -6457,10 +6590,10 @@ var InputIban = /*#__PURE__*/forwardRef(function (props, ref) {
6457
6590
  }, props));
6458
6591
  });
6459
6592
 
6460
- var _excluded$s = ["onChange"];
6593
+ var _excluded$r = ["onChange"];
6461
6594
  var InputNumber = /*#__PURE__*/forwardRef(function (_ref, ref) {
6462
6595
  var onChange = _ref.onChange,
6463
- props = _objectWithoutProperties(_ref, _excluded$s);
6596
+ props = _objectWithoutProperties(_ref, _excluded$r);
6464
6597
  return /*#__PURE__*/jsx(InputText, _objectSpread(_objectSpread({
6465
6598
  ref: ref
6466
6599
  }, props), {}, {
@@ -6477,11 +6610,11 @@ var InputNumber = /*#__PURE__*/forwardRef(function (_ref, ref) {
6477
6610
  }));
6478
6611
  });
6479
6612
 
6480
- var _excluded$r = ["isPasswordDefaultVisible", "right"];
6613
+ var _excluded$q = ["isPasswordDefaultVisible", "right"];
6481
6614
  var InputPassword = /*#__PURE__*/forwardRef(function (_ref, ref) {
6482
6615
  var isPasswordDefaultVisible = _ref.isPasswordDefaultVisible,
6483
6616
  right = _ref.right,
6484
- props = _objectWithoutProperties(_ref, _excluded$r);
6617
+ props = _objectWithoutProperties(_ref, _excluded$q);
6485
6618
  var _useState = useState(Boolean(isPasswordDefaultVisible)),
6486
6619
  _useState2 = _slicedToArray(_useState, 2),
6487
6620
  isVisible = _useState2[0],
@@ -6509,7 +6642,7 @@ var InputPassword = /*#__PURE__*/forwardRef(function (_ref, ref) {
6509
6642
  }));
6510
6643
  });
6511
6644
 
6512
- var _excluded$q = ["enterKeyHint", "autoComplete", "phoneNumberLength", "onChange"];
6645
+ var _excluded$p = ["enterKeyHint", "autoComplete", "phoneNumberLength", "onChange"];
6513
6646
  function isPhoneNumberValid(number) {
6514
6647
  return isValidNumber(number);
6515
6648
  }
@@ -6523,7 +6656,7 @@ var InputPhone = /*#__PURE__*/forwardRef(function (_ref, ref) {
6523
6656
  _ref$phoneNumberLengt = _ref.phoneNumberLength,
6524
6657
  phoneNumberLength = _ref$phoneNumberLengt === void 0 ? 10 : _ref$phoneNumberLengt,
6525
6658
  onChange = _ref.onChange,
6526
- props = _objectWithoutProperties(_ref, _excluded$q);
6659
+ props = _objectWithoutProperties(_ref, _excluded$p);
6527
6660
  var currentEnterKeyHint = enterKeyHint ? getEnterKeyHintForNumericInput(enterKeyHint) : undefined;
6528
6661
  return /*#__PURE__*/jsx(InputText, _objectSpread(_objectSpread({
6529
6662
  ref: ref
@@ -6959,7 +7092,7 @@ function RadioButton(_ref) {
6959
7092
  });
6960
7093
  }
6961
7094
 
6962
- var _excluded$p = ["children", "stretch", "value", "disabled", "onFocus", "onBlur", "onChange"];
7095
+ var _excluded$o = ["children", "stretch", "value", "disabled", "onFocus", "onBlur", "onChange"];
6963
7096
  function RadioButtonGroupItem(_ref) {
6964
7097
  var props = _extends({}, (_objectDestructuringEmpty(_ref), _ref));
6965
7098
  return /*#__PURE__*/jsx(RadioButton, _objectSpread({}, props));
@@ -6972,7 +7105,7 @@ function RadioButtonGroup(_ref2) {
6972
7105
  onFocus = _ref2.onFocus,
6973
7106
  onBlur = _ref2.onBlur,
6974
7107
  onChange = _ref2.onChange,
6975
- props = _objectWithoutProperties(_ref2, _excluded$p);
7108
+ props = _objectWithoutProperties(_ref2, _excluded$o);
6976
7109
  var _useState = useState(value),
6977
7110
  _useState2 = _slicedToArray(_useState, 2),
6978
7111
  currentValue = _useState2[0],
@@ -7004,12 +7137,12 @@ function RadioButtonGroup(_ref2) {
7004
7137
  }
7005
7138
  RadioButtonGroup.RadioButton = RadioButtonGroupItem;
7006
7139
 
7007
- var _excluded$o = ["helper", "limit"];
7140
+ var _excluded$n = ["helper", "limit"];
7008
7141
  var TextArea = /*#__PURE__*/forwardRef(function (_ref, ref) {
7009
7142
  var _props$value, _props$value2;
7010
7143
  var helper = _ref.helper,
7011
7144
  limit = _ref.limit,
7012
- props = _objectWithoutProperties(_ref, _excluded$o);
7145
+ props = _objectWithoutProperties(_ref, _excluded$n);
7013
7146
  var shouldDisplayLimit = limit && limit > 0;
7014
7147
  var isLimitReached = ((_props$value = props.value) === null || _props$value === void 0 ? void 0 : _props$value.length) === limit;
7015
7148
  var limitContainerAnimatedStyle = useAnimatedStyle(function () {
@@ -7168,7 +7301,7 @@ function ToggleAnimated(_ref) {
7168
7301
  });
7169
7302
  }
7170
7303
 
7171
- var _excluded$n = ["isDisabled", "isHoveredInternal", "isFocusedInternal", "isPressedInternal", "label", "variant", "size", "value", "onChange"];
7304
+ var _excluded$m = ["isDisabled", "isHoveredInternal", "isFocusedInternal", "isPressedInternal", "label", "variant", "size", "value", "onChange"];
7172
7305
  var getLabelTypographyType = function (size) {
7173
7306
  return size === 'medium' ? 'body-m' : 'body-l';
7174
7307
  };
@@ -7190,7 +7323,7 @@ function Toggle(_ref) {
7190
7323
  value = _ref$value === void 0 ? false : _ref$value,
7191
7324
  _ref$onChange = _ref.onChange,
7192
7325
  onChange = _ref$onChange === void 0 ? function () {} : _ref$onChange,
7193
- props = _objectWithoutProperties(_ref, _excluded$n);
7326
+ props = _objectWithoutProperties(_ref, _excluded$m);
7194
7327
  var theme = useKittTheme();
7195
7328
  return /*#__PURE__*/jsxs(HStack, _objectSpread(_objectSpread({
7196
7329
  alignItems: "center"
@@ -7229,13 +7362,13 @@ function Toggle(_ref) {
7229
7362
  }));
7230
7363
  }
7231
7364
 
7232
- var _excluded$m = ["children", "shouldHandleBottomNotch", "style", "shouldHandleTopNotch"];
7365
+ var _excluded$l = ["children", "shouldHandleBottomNotch", "style", "shouldHandleTopNotch"];
7233
7366
  function FullscreenModalBody(_ref) {
7234
7367
  var children = _ref.children,
7235
7368
  shouldHandleBottomNotch = _ref.shouldHandleBottomNotch,
7236
7369
  style = _ref.style,
7237
7370
  shouldHandleTopNotch = _ref.shouldHandleTopNotch,
7238
- props = _objectWithoutProperties(_ref, _excluded$m);
7371
+ props = _objectWithoutProperties(_ref, _excluded$l);
7239
7372
  var _useSafeAreaInsets = useSafeAreaInsets(),
7240
7373
  bottom = _useSafeAreaInsets.bottom,
7241
7374
  top = _useSafeAreaInsets.top;
@@ -7255,14 +7388,14 @@ function FullscreenModalBody(_ref) {
7255
7388
  }));
7256
7389
  }
7257
7390
 
7258
- var _excluded$l = ["shouldHandleBottomNotch", "hasSeparator", "children"];
7391
+ var _excluded$k = ["shouldHandleBottomNotch", "hasSeparator", "children"];
7259
7392
  function FullscreenModalFooter(_ref) {
7260
7393
  var _ref$shouldHandleBott = _ref.shouldHandleBottomNotch,
7261
7394
  shouldHandleBottomNotch = _ref$shouldHandleBott === void 0 ? true : _ref$shouldHandleBott,
7262
7395
  _ref$hasSeparator = _ref.hasSeparator,
7263
7396
  hasSeparator = _ref$hasSeparator === void 0 ? true : _ref$hasSeparator,
7264
7397
  children = _ref.children,
7265
- props = _objectWithoutProperties(_ref, _excluded$l);
7398
+ props = _objectWithoutProperties(_ref, _excluded$k);
7266
7399
  var _useSafeAreaInsets = useSafeAreaInsets(),
7267
7400
  bottom = _useSafeAreaInsets.bottom;
7268
7401
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
@@ -7279,7 +7412,7 @@ function FullscreenModalFooter(_ref) {
7279
7412
  }));
7280
7413
  }
7281
7414
 
7282
- var _excluded$k = ["children", "appear", "visible", "unmountOnExit", "isAnimationEnabled", "onEnter", "onEntered", "onExit", "onExited", "onClose"];
7415
+ var _excluded$j = ["children", "appear", "visible", "unmountOnExit", "isAnimationEnabled", "onEnter", "onEntered", "onExit", "onExited", "onClose"];
7283
7416
  var slideInFromBottomEnter = "kitt-u_slideInFromBottomEnter_s1717rto";
7284
7417
  var slideInFromBottomEnterActive = "kitt-u_slideInFromBottomEnterActive_sux6xgc";
7285
7418
  var slideInFromBottomExit = "kitt-u_slideInFromBottomExit_sl0lsxt";
@@ -7318,7 +7451,7 @@ function FullscreenModalAnimation(_ref) {
7318
7451
  onExit = _ref.onExit,
7319
7452
  onExited = _ref.onExited,
7320
7453
  onClose = _ref.onClose,
7321
- props = _objectWithoutProperties(_ref, _excluded$k);
7454
+ props = _objectWithoutProperties(_ref, _excluded$j);
7322
7455
  var theme = useTheme();
7323
7456
  var animation = theme.kitt.fullscreenModal.animation;
7324
7457
  var sharedProps = {
@@ -7345,13 +7478,13 @@ function FullscreenModalAnimation(_ref) {
7345
7478
  }));
7346
7479
  }
7347
7480
 
7348
- var _excluded$j = ["children", "visible", "onClose", "onExited"];
7481
+ var _excluded$i = ["children", "visible", "onClose", "onExited"];
7349
7482
  function FullscreenModalBehaviour(_ref) {
7350
7483
  var children = _ref.children,
7351
7484
  visible = _ref.visible,
7352
7485
  onClose = _ref.onClose,
7353
7486
  onExited = _ref.onExited,
7354
- props = _objectWithoutProperties(_ref, _excluded$j);
7487
+ props = _objectWithoutProperties(_ref, _excluded$i);
7355
7488
  var _useState = useState(visible),
7356
7489
  _useState2 = _slicedToArray(_useState, 2),
7357
7490
  isModalBehaviourVisible = _useState2[0],
@@ -7398,7 +7531,7 @@ function FullscreenModalContainer(_ref) {
7398
7531
  });
7399
7532
  }
7400
7533
 
7401
- var _excluded$i = ["hasSeparator", "isTransparent", "title", "children", "right", "left", "shouldHandleTopNotch"];
7534
+ var _excluded$h = ["hasSeparator", "isTransparent", "title", "children", "right", "left", "shouldHandleTopNotch"];
7402
7535
  function FullscreenModalHeader(_ref) {
7403
7536
  var _ref$hasSeparator = _ref.hasSeparator,
7404
7537
  hasSeparator = _ref$hasSeparator === void 0 ? true : _ref$hasSeparator,
@@ -7409,7 +7542,7 @@ function FullscreenModalHeader(_ref) {
7409
7542
  left = _ref.left,
7410
7543
  _ref$shouldHandleTopN = _ref.shouldHandleTopNotch,
7411
7544
  shouldHandleTopNotch = _ref$shouldHandleTopN === void 0 ? true : _ref$shouldHandleTopN,
7412
- props = _objectWithoutProperties(_ref, _excluded$i);
7545
+ props = _objectWithoutProperties(_ref, _excluded$h);
7413
7546
  var _useSafeAreaInsets = useSafeAreaInsets(),
7414
7547
  top = _useSafeAreaInsets.top;
7415
7548
  var hasRight = Boolean(right);
@@ -7755,7 +7888,7 @@ var getButtonTypeAndVariant = function (iconColor) {
7755
7888
  }
7756
7889
  };
7757
7890
 
7758
- var _excluded$h = ["color", "ariaLabel"];
7891
+ var _excluded$g = ["color", "ariaLabel"];
7759
7892
  /**
7760
7893
  * @deprecated IconButton should only be used as a navigation button
7761
7894
  * Other use cases should use a <Button> component with an icon
@@ -7764,7 +7897,7 @@ function IconButton(_ref) {
7764
7897
  var _ref$color = _ref.color,
7765
7898
  color = _ref$color === void 0 ? 'black' : _ref$color;
7766
7899
  _ref.ariaLabel;
7767
- var props = _objectWithoutProperties(_ref, _excluded$h);
7900
+ var props = _objectWithoutProperties(_ref, _excluded$g);
7768
7901
  var _getButtonTypeAndVari = getButtonTypeAndVariant(color),
7769
7902
  legacyColorToType = _getButtonTypeAndVari.type,
7770
7903
  legacyColorToVariant = _getButtonTypeAndVari.variant;
@@ -7860,10 +7993,10 @@ function useKittMapConfig() {
7860
7993
  return context;
7861
7994
  }
7862
7995
 
7863
- var _excluded$g = ["children"];
7996
+ var _excluded$f = ["children"];
7864
7997
  function ListItemContent(_ref) {
7865
7998
  var children = _ref.children,
7866
- rest = _objectWithoutProperties(_ref, _excluded$g);
7999
+ rest = _objectWithoutProperties(_ref, _excluded$f);
7867
8000
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
7868
8001
  alignSelf: "center",
7869
8002
  flexBasis: "0%",
@@ -7874,14 +8007,14 @@ function ListItemContent(_ref) {
7874
8007
  }));
7875
8008
  }
7876
8009
 
7877
- var _excluded$f = ["children", "side"],
8010
+ var _excluded$e = ["children", "side"],
7878
8011
  _excluded2$3 = ["children", "align"];
7879
8012
  // Handles the vertical alignment of the side elements of the list item
7880
8013
  function ListItemSideContainer(_ref) {
7881
8014
  var children = _ref.children,
7882
8015
  _ref$side = _ref.side,
7883
8016
  side = _ref$side === void 0 ? 'left' : _ref$side,
7884
- rest = _objectWithoutProperties(_ref, _excluded$f);
8017
+ rest = _objectWithoutProperties(_ref, _excluded$e);
7885
8018
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({
7886
8019
  flexDirection: "row",
7887
8020
  marginLeft: side === 'right' ? 'kitt.2' : undefined,
@@ -7902,7 +8035,7 @@ function ListItemSideContent(_ref2) {
7902
8035
  }));
7903
8036
  }
7904
8037
 
7905
- var _excluded$e = ["children", "withPadding", "borders", "left", "right", "onPress"];
8038
+ var _excluded$d = ["children", "withPadding", "borders", "left", "right", "onPress"];
7906
8039
  function ListItem(_ref) {
7907
8040
  var children = _ref.children,
7908
8041
  withPadding = _ref.withPadding,
@@ -7910,7 +8043,7 @@ function ListItem(_ref) {
7910
8043
  left = _ref.left,
7911
8044
  right = _ref.right,
7912
8045
  onPress = _ref.onPress,
7913
- rest = _objectWithoutProperties(_ref, _excluded$e);
8046
+ rest = _objectWithoutProperties(_ref, _excluded$d);
7914
8047
  var Wrapper = onPress ? Pressable$2 : Fragment$1;
7915
8048
  var wrapperProps = onPress ? _objectSpread({
7916
8049
  accessibilityRole: 'button',
@@ -8083,7 +8216,7 @@ var getBackgroundColor$1 = function (_ref) {
8083
8216
  return isSelected || isHovered ? theme.mapMarker.meetingPoint.selected : theme.mapMarker.meetingPoint["default"];
8084
8217
  };
8085
8218
 
8086
- var _excluded$d = ["onPress", "testID"];
8219
+ var _excluded$c = ["onPress", "testID"];
8087
8220
  function StaticMapMarker$1(_ref) {
8088
8221
  var variant = _ref.variant,
8089
8222
  isHovered = _ref.isHovered,
@@ -8142,7 +8275,7 @@ function StaticMapMarker$1(_ref) {
8142
8275
  function MapMarker(_ref2) {
8143
8276
  var onPress = _ref2.onPress,
8144
8277
  testID = _ref2.testID,
8145
- props = _objectWithoutProperties(_ref2, _excluded$d);
8278
+ props = _objectWithoutProperties(_ref2, _excluded$c);
8146
8279
  return /*#__PURE__*/jsx(Pressable$1, {
8147
8280
  testID: testID,
8148
8281
  onPress: onPress,
@@ -8291,6 +8424,7 @@ var overridenNativeBaseSizeandSpaceScale = Object.fromEntries([1, 2, 3, 4, 5, 6,
8291
8424
  }));
8292
8425
  // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types, @typescript-eslint/explicit-function-return-type -- let typescript infer types
8293
8426
  function createKittNativeBaseCustomTheme(theme, appTheme) {
8427
+ var _theme$tabBar$solid$d, _theme$tabBar$solid$d2, _theme$tabBar$solid$d3, _theme$tabBar$solid$d4, _theme$tabBar$solid$d5, _theme$tabBar$solid$d6, _theme$tabBar$solid$d7, _theme$tabBar$solid$d8, _theme$tabBar$solid$r, _theme$tabBar$solid$r2, _theme$tabBar$solid$r3, _theme$tabBar$solid$r4, _theme$tabBar$solid$r5, _theme$tabBar$solid$r6, _theme$tabBar$solid$r7, _theme$tabBar$solid$r8;
8294
8428
  var spaces = createKittSpaces(theme);
8295
8429
  var appBreakpoints = (appTheme === null || appTheme === void 0 ? void 0 : appTheme.breakpoints) || {};
8296
8430
  var extendedTheme = extendTheme({
@@ -8993,6 +9127,148 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
8993
9127
  backgroundColor: theme.picker.web.optionsContainer.backgroundColor
8994
9128
  }
8995
9129
  }
9130
+ },
9131
+ tabBar: {
9132
+ underline: {
9133
+ "default": {
9134
+ active: {
9135
+ color: {
9136
+ "default": theme.tabBar.underline["default"].active.color["default"],
9137
+ focused: theme.tabBar.underline["default"].active.color.focused,
9138
+ hovered: theme.tabBar.underline["default"].active.color.hovered,
9139
+ pressed: theme.tabBar.underline["default"].active.color.pressed
9140
+ },
9141
+ indicator: {
9142
+ backgroundColor: theme.tabBar.underline["default"].active.indicator.backgroundColor
9143
+ }
9144
+ },
9145
+ inactive: {
9146
+ color: {
9147
+ "default": theme.tabBar.underline["default"].inactive.color["default"],
9148
+ focused: theme.tabBar.underline["default"].inactive.color.focused,
9149
+ hovered: theme.tabBar.underline["default"].inactive.color.hovered,
9150
+ pressed: theme.tabBar.underline["default"].inactive.color.pressed
9151
+ }
9152
+ },
9153
+ disabled: {
9154
+ color: {
9155
+ "default": theme.tabBar.underline["default"].disabled.color["default"],
9156
+ focused: theme.tabBar.underline["default"].disabled.color.focused,
9157
+ hovered: theme.tabBar.underline["default"].disabled.color.hovered,
9158
+ pressed: theme.tabBar.underline["default"].disabled.color.pressed
9159
+ }
9160
+ },
9161
+ borderBottomColor: theme.tabBar.underline["default"].borderBottomColor
9162
+ },
9163
+ revert: {
9164
+ active: {
9165
+ color: {
9166
+ "default": theme.tabBar.underline.revert.active.color["default"],
9167
+ focused: theme.tabBar.underline.revert.active.color.focused,
9168
+ hovered: theme.tabBar.underline.revert.active.color.hovered,
9169
+ pressed: theme.tabBar.underline.revert.active.color.pressed
9170
+ },
9171
+ indicator: {
9172
+ backgroundColor: theme.tabBar.underline.revert.active.indicator.backgroundColor
9173
+ }
9174
+ },
9175
+ inactive: {
9176
+ color: {
9177
+ "default": theme.tabBar.underline.revert.inactive.color["default"],
9178
+ focused: theme.tabBar.underline.revert.inactive.color.focused,
9179
+ hovered: theme.tabBar.underline.revert.inactive.color.hovered,
9180
+ pressed: theme.tabBar.underline.revert.inactive.color.pressed
9181
+ }
9182
+ },
9183
+ disabled: {
9184
+ color: {
9185
+ "default": theme.tabBar.underline.revert.disabled.color["default"],
9186
+ focused: theme.tabBar.underline.revert.disabled.color.focused,
9187
+ hovered: theme.tabBar.underline.revert.disabled.color.hovered,
9188
+ pressed: theme.tabBar.underline.revert.disabled.color.pressed
9189
+ }
9190
+ },
9191
+ borderBottomColor: theme.tabBar.underline.revert.borderBottomColor
9192
+ }
9193
+ },
9194
+ solid: {
9195
+ "default": {
9196
+ active: {
9197
+ color: {
9198
+ "default": theme.tabBar.solid["default"].active.color["default"],
9199
+ focused: theme.tabBar.solid["default"].active.color.focused,
9200
+ hovered: theme.tabBar.solid["default"].active.color.hovered,
9201
+ pressed: theme.tabBar.solid["default"].active.color.pressed
9202
+ },
9203
+ backgroundColor: {
9204
+ "default": (_theme$tabBar$solid$d = theme.tabBar.solid["default"].active.backgroundColor) === null || _theme$tabBar$solid$d === void 0 ? void 0 : _theme$tabBar$solid$d["default"],
9205
+ focused: (_theme$tabBar$solid$d2 = theme.tabBar.solid["default"].active.backgroundColor) === null || _theme$tabBar$solid$d2 === void 0 ? void 0 : _theme$tabBar$solid$d2.focused,
9206
+ hovered: (_theme$tabBar$solid$d3 = theme.tabBar.solid["default"].active.backgroundColor) === null || _theme$tabBar$solid$d3 === void 0 ? void 0 : _theme$tabBar$solid$d3.hovered,
9207
+ pressed: (_theme$tabBar$solid$d4 = theme.tabBar.solid["default"].active.backgroundColor) === null || _theme$tabBar$solid$d4 === void 0 ? void 0 : _theme$tabBar$solid$d4.pressed
9208
+ }
9209
+ },
9210
+ inactive: {
9211
+ color: {
9212
+ "default": theme.tabBar.solid["default"].inactive.color["default"],
9213
+ focused: theme.tabBar.solid["default"].inactive.color.focused,
9214
+ hovered: theme.tabBar.solid["default"].inactive.color.hovered,
9215
+ pressed: theme.tabBar.solid["default"].inactive.color.pressed
9216
+ },
9217
+ backgroundColor: {
9218
+ "default": (_theme$tabBar$solid$d5 = theme.tabBar.solid["default"].inactive.backgroundColor) === null || _theme$tabBar$solid$d5 === void 0 ? void 0 : _theme$tabBar$solid$d5["default"],
9219
+ focused: (_theme$tabBar$solid$d6 = theme.tabBar.solid["default"].inactive.backgroundColor) === null || _theme$tabBar$solid$d6 === void 0 ? void 0 : _theme$tabBar$solid$d6.focused,
9220
+ hovered: (_theme$tabBar$solid$d7 = theme.tabBar.solid["default"].inactive.backgroundColor) === null || _theme$tabBar$solid$d7 === void 0 ? void 0 : _theme$tabBar$solid$d7.hovered,
9221
+ pressed: (_theme$tabBar$solid$d8 = theme.tabBar.solid["default"].inactive.backgroundColor) === null || _theme$tabBar$solid$d8 === void 0 ? void 0 : _theme$tabBar$solid$d8.pressed
9222
+ }
9223
+ },
9224
+ disabled: {
9225
+ color: {
9226
+ "default": theme.tabBar.solid["default"].disabled.color["default"],
9227
+ focused: theme.tabBar.solid["default"].disabled.color.focused,
9228
+ hovered: theme.tabBar.solid["default"].disabled.color.hovered,
9229
+ pressed: theme.tabBar.solid["default"].disabled.color.pressed
9230
+ }
9231
+ }
9232
+ },
9233
+ revert: {
9234
+ active: {
9235
+ color: {
9236
+ "default": theme.tabBar.solid.revert.active.color["default"],
9237
+ focused: theme.tabBar.solid.revert.active.color.focused,
9238
+ hovered: theme.tabBar.solid.revert.active.color.hovered,
9239
+ pressed: theme.tabBar.solid.revert.active.color.pressed
9240
+ },
9241
+ backgroundColor: {
9242
+ "default": (_theme$tabBar$solid$r = theme.tabBar.solid.revert.active.backgroundColor) === null || _theme$tabBar$solid$r === void 0 ? void 0 : _theme$tabBar$solid$r["default"],
9243
+ focused: (_theme$tabBar$solid$r2 = theme.tabBar.solid.revert.active.backgroundColor) === null || _theme$tabBar$solid$r2 === void 0 ? void 0 : _theme$tabBar$solid$r2.focused,
9244
+ hovered: (_theme$tabBar$solid$r3 = theme.tabBar.solid.revert.active.backgroundColor) === null || _theme$tabBar$solid$r3 === void 0 ? void 0 : _theme$tabBar$solid$r3.hovered,
9245
+ pressed: (_theme$tabBar$solid$r4 = theme.tabBar.solid.revert.active.backgroundColor) === null || _theme$tabBar$solid$r4 === void 0 ? void 0 : _theme$tabBar$solid$r4.pressed
9246
+ }
9247
+ },
9248
+ inactive: {
9249
+ color: {
9250
+ "default": theme.tabBar.solid.revert.inactive.color["default"],
9251
+ focused: theme.tabBar.solid.revert.inactive.color.focused,
9252
+ hovered: theme.tabBar.solid.revert.inactive.color.hovered,
9253
+ pressed: theme.tabBar.solid.revert.inactive.color.pressed
9254
+ },
9255
+ backgroundColor: {
9256
+ "default": (_theme$tabBar$solid$r5 = theme.tabBar.solid.revert.inactive.backgroundColor) === null || _theme$tabBar$solid$r5 === void 0 ? void 0 : _theme$tabBar$solid$r5["default"],
9257
+ focused: (_theme$tabBar$solid$r6 = theme.tabBar.solid.revert.inactive.backgroundColor) === null || _theme$tabBar$solid$r6 === void 0 ? void 0 : _theme$tabBar$solid$r6.focused,
9258
+ hovered: (_theme$tabBar$solid$r7 = theme.tabBar.solid.revert.inactive.backgroundColor) === null || _theme$tabBar$solid$r7 === void 0 ? void 0 : _theme$tabBar$solid$r7.hovered,
9259
+ pressed: (_theme$tabBar$solid$r8 = theme.tabBar.solid.revert.inactive.backgroundColor) === null || _theme$tabBar$solid$r8 === void 0 ? void 0 : _theme$tabBar$solid$r8.pressed
9260
+ }
9261
+ },
9262
+ disabled: {
9263
+ color: {
9264
+ "default": theme.tabBar.solid.revert.disabled.color["default"],
9265
+ focused: theme.tabBar.solid.revert.disabled.color.focused,
9266
+ hovered: theme.tabBar.solid.revert.disabled.color.hovered,
9267
+ pressed: theme.tabBar.solid.revert.disabled.color.pressed
9268
+ }
9269
+ }
9270
+ }
9271
+ }
8996
9272
  }
8997
9273
  }),
8998
9274
  app: appTheme === null || appTheme === void 0 ? void 0 : appTheme.colors
@@ -9068,6 +9344,44 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
9068
9344
  highlight: {
9069
9345
  borderRadius: theme.highlight.borderRadius
9070
9346
  },
9347
+ tabBar: {
9348
+ underline: {
9349
+ "default": {
9350
+ active: {
9351
+ borderRadius: theme.tabBar.underline["default"].active.borderRadius
9352
+ },
9353
+ inactive: {
9354
+ borderRadius: theme.tabBar.underline["default"].inactive.borderRadius
9355
+ }
9356
+ },
9357
+ revert: {
9358
+ active: {
9359
+ borderRadius: theme.tabBar.underline.revert.active.borderRadius
9360
+ },
9361
+ inactive: {
9362
+ borderRadius: theme.tabBar.underline.revert.inactive.borderRadius
9363
+ }
9364
+ }
9365
+ },
9366
+ solid: {
9367
+ "default": {
9368
+ active: {
9369
+ borderRadius: theme.tabBar.solid["default"].active.borderRadius
9370
+ },
9371
+ inactive: {
9372
+ borderRadius: theme.tabBar.solid["default"].inactive.borderRadius
9373
+ }
9374
+ },
9375
+ revert: {
9376
+ active: {
9377
+ borderRadius: theme.tabBar.solid.revert.active.borderRadius
9378
+ },
9379
+ inactive: {
9380
+ borderRadius: theme.tabBar.solid.revert.inactive.borderRadius
9381
+ }
9382
+ }
9383
+ }
9384
+ },
9071
9385
  tag: {
9072
9386
  borderRadius: theme.tag.borderRadius
9073
9387
  },
@@ -10635,7 +10949,7 @@ function KittNativeBaseProvider(_ref) {
10635
10949
  });
10636
10950
  }
10637
10951
 
10638
- var _excluded$c = ["scrollEnabled", "ListHeaderComponent", "ListFooterComponent", "data", "numColumns", "ListHeaderComponentStyle", "ListFooterComponentStyle", "contentContainerStyle", "keyExtractor", "renderItem"];
10952
+ var _excluded$b = ["scrollEnabled", "ListHeaderComponent", "ListFooterComponent", "data", "numColumns", "ListHeaderComponentStyle", "ListFooterComponentStyle", "contentContainerStyle", "keyExtractor", "renderItem"];
10639
10953
  function NativeOnlyFlatList(_ref) {
10640
10954
  var scrollEnabled = _ref.scrollEnabled,
10641
10955
  ListHeaderComponent = _ref.ListHeaderComponent,
@@ -10650,7 +10964,7 @@ function NativeOnlyFlatList(_ref) {
10650
10964
  return index.toString();
10651
10965
  } : _ref$keyExtractor,
10652
10966
  renderItem = _ref.renderItem,
10653
- props = _objectWithoutProperties(_ref, _excluded$c);
10967
+ props = _objectWithoutProperties(_ref, _excluded$b);
10654
10968
  return /*#__PURE__*/jsxs(ScrollView$1, _objectSpread(_objectSpread({
10655
10969
  scrollEnabled: scrollEnabled,
10656
10970
  contentContainerStyle: contentContainerStyle
@@ -10680,7 +10994,7 @@ function NativeOnlyFlatList(_ref) {
10680
10994
  }));
10681
10995
  }
10682
10996
 
10683
- var _excluded$b = ["children", "visible", "appear", "onExited", "onEnter", "onExit", "onClose"];
10997
+ var _excluded$a = ["children", "visible", "appear", "onExited", "onEnter", "onExit", "onClose"];
10684
10998
  function NavigationModalBehaviour(_ref) {
10685
10999
  var children = _ref.children,
10686
11000
  visible = _ref.visible,
@@ -10690,7 +11004,7 @@ function NavigationModalBehaviour(_ref) {
10690
11004
  onEnter = _ref.onEnter,
10691
11005
  onExit = _ref.onExit,
10692
11006
  onClose = _ref.onClose,
10693
- props = _objectWithoutProperties(_ref, _excluded$b);
11007
+ props = _objectWithoutProperties(_ref, _excluded$a);
10694
11008
  var AnimationComponent = useBreakpointValue({
10695
11009
  base: FullscreenModalAnimation,
10696
11010
  small: CardModalAnimation
@@ -10953,7 +11267,7 @@ function webUseSelectReducer(state, actionAndChanges, options) {
10953
11267
  }
10954
11268
  }
10955
11269
 
10956
- var _excluded$a = ["onClick"],
11270
+ var _excluded$9 = ["onClick"],
10957
11271
  _excluded2$2 = ["ref"],
10958
11272
  _excluded3$2 = ["onClick", "aria-selected"];
10959
11273
  var enter = "kitt-u_enter_ereraf";
@@ -11020,7 +11334,7 @@ function Picker(_ref) {
11020
11334
  getItemProps = _useSelect.getItemProps;
11021
11335
  var _getToggleButtonProps = getToggleButtonProps(),
11022
11336
  onPressTrigger = _getToggleButtonProps.onClick,
11023
- restToggleProps = _objectWithoutProperties(_getToggleButtonProps, _excluded$a);
11337
+ restToggleProps = _objectWithoutProperties(_getToggleButtonProps, _excluded$9);
11024
11338
  var _useFloating = useFloating({
11025
11339
  placement: itemsPlacement,
11026
11340
  strategy: 'fixed',
@@ -11100,7 +11414,7 @@ function Picker(_ref) {
11100
11414
  paddingY: "kitt.2",
11101
11415
  children: childrenArray.map(function (child, index) {
11102
11416
  var currentValue = items[index];
11103
- if (!currentValue) throw new Error("Picker: No value found for item at index ".concat(index));
11417
+ if (currentValue === undefined) throw new Error("Picker: No value found for item at index ".concat(index));
11104
11418
  var _getItemProps = getItemProps({
11105
11419
  item: currentValue,
11106
11420
  index: index,
@@ -11207,7 +11521,7 @@ function SkeletonContent(_ref) {
11207
11521
  });
11208
11522
  }
11209
11523
 
11210
- var _excluded$9 = ["isLoading", "style"],
11524
+ var _excluded$8 = ["isLoading", "style"],
11211
11525
  _excluded2$1 = ["size"],
11212
11526
  _excluded3$1 = ["size"],
11213
11527
  _excluded4$1 = ["size"];
@@ -11215,7 +11529,7 @@ function Skeleton(_ref) {
11215
11529
  var _ref$isLoading = _ref.isLoading,
11216
11530
  isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading,
11217
11531
  style = _ref.style,
11218
- props = _objectWithoutProperties(_ref, _excluded$9);
11532
+ props = _objectWithoutProperties(_ref, _excluded$8);
11219
11533
  var _useState = useState(0),
11220
11534
  _useState2 = _slicedToArray(_useState, 2),
11221
11535
  width = _useState2[0],
@@ -11398,7 +11712,7 @@ function getShouldDisplay2x() {
11398
11712
  return window.devicePixelRatio ? window.devicePixelRatio > 1 : false;
11399
11713
  }
11400
11714
 
11401
- var _excluded$8 = ["width", "height", "alt", "apiToken", "mapId", "marker", "center", "onLoaded", "onError"];
11715
+ var _excluded$7 = ["width", "height", "alt", "apiToken", "mapId", "marker", "center", "onLoaded", "onError"];
11402
11716
  var mapBoxMaxPictureWidth = 1280;
11403
11717
 
11404
11718
  // Mapbox requestable width for image is between 1 - 1280px
@@ -11416,7 +11730,7 @@ function StaticMap(_ref) {
11416
11730
  center = _ref.center,
11417
11731
  onLoaded = _ref.onLoaded,
11418
11732
  onError = _ref.onError,
11419
- props = _objectWithoutProperties(_ref, _excluded$8);
11733
+ props = _objectWithoutProperties(_ref, _excluded$7);
11420
11734
  var _useState = useState(getPictureWidth(width)),
11421
11735
  _useState2 = _slicedToArray(_useState, 2),
11422
11736
  currentWidth = _useState2[0],
@@ -11506,12 +11820,12 @@ StaticMap.Loader = StaticMapLoader;
11506
11820
  StaticMap.Error = StaticMapError;
11507
11821
  StaticMap.Marker = StaticMapMarker;
11508
11822
 
11509
- var _excluded$7 = ["direction", "wrap"];
11823
+ var _excluded$6 = ["direction", "wrap"];
11510
11824
  function Flex(_ref) {
11511
11825
  var direction = _ref.direction,
11512
11826
  _ref$wrap = _ref.wrap,
11513
11827
  wrap = _ref$wrap === void 0 ? 'wrap' : _ref$wrap,
11514
- props = _objectWithoutProperties(_ref, _excluded$7);
11828
+ props = _objectWithoutProperties(_ref, _excluded$6);
11515
11829
  return /*#__PURE__*/jsx(View, _objectSpread(_objectSpread({}, props), {}, {
11516
11830
  flexDirection: direction,
11517
11831
  flexWrap: wrap
@@ -11649,7 +11963,7 @@ function Story(_ref) {
11649
11963
  });
11650
11964
  }
11651
11965
 
11652
- var _excluded$6 = ["title", "children", "internalIsDemoSection"],
11966
+ var _excluded$5 = ["title", "children", "internalIsDemoSection"],
11653
11967
  _excluded2 = ["title", "children"],
11654
11968
  _excluded3 = ["title", "children"],
11655
11969
  _excluded4 = ["children"];
@@ -11657,7 +11971,7 @@ function StorySection(_ref) {
11657
11971
  var title = _ref.title,
11658
11972
  children = _ref.children,
11659
11973
  internalIsDemoSection = _ref.internalIsDemoSection,
11660
- props = _objectWithoutProperties(_ref, _excluded$6);
11974
+ props = _objectWithoutProperties(_ref, _excluded$5);
11661
11975
  if (title === 'Demo' && !internalIsDemoSection) throw new Error('Use StorySection.Demo instead');
11662
11976
  return /*#__PURE__*/jsxs(View, _objectSpread(_objectSpread({
11663
11977
  marginBottom: "kitt.8"
@@ -11794,99 +12108,100 @@ var StoryGrid = {
11794
12108
  Col: StoryGridCol
11795
12109
  };
11796
12110
 
11797
- function useTabBarItemColor(color, isActive) {
11798
- var _useKittTheme = useKittTheme(),
11799
- kittTheme = _useKittTheme.kitt;
11800
- switch (color) {
11801
- case 'black':
11802
- {
11803
- return isActive ? kittTheme.colors.primary : kittTheme.colors.blackLight;
11804
- }
11805
- case 'white':
11806
- {
11807
- return isActive ? kittTheme.palettes.deepPurple.white : kittTheme.palettes.deepPurple['white-alpha.80'];
11808
- }
11809
- default:
11810
- {
11811
- return isActive ? kittTheme.colors.primary : kittTheme.colors.blackLight;
11812
- }
11813
- }
11814
- }
11815
- function useTabBarIndicatorColor(color, isActive) {
11816
- var _useKittTheme2 = useKittTheme(),
11817
- kittTheme = _useKittTheme2.kitt;
11818
- switch (color) {
11819
- case 'black':
11820
- {
11821
- return isActive ? kittTheme.colors.primary : kittTheme.palettes.deepPurple.transparent;
11822
- }
11823
- case 'white':
11824
- {
11825
- return isActive ? kittTheme.palettes.deepPurple.white : kittTheme.palettes.deepPurple.transparent;
11826
- }
11827
- default:
11828
- {
11829
- return isActive ? kittTheme.colors.primary : kittTheme.palettes.deepPurple.transparent;
11830
- }
11831
- }
11832
- }
12111
+ var getVariantFromColor = function (color) {
12112
+ if (color === 'white') return 'revert';
12113
+ return 'default';
12114
+ };
12115
+ var getTabBarItemActiveState = function (isActive, disabled) {
12116
+ if (disabled) return 'disabled';
12117
+ if (isActive) return 'active';
12118
+ return 'inactive';
12119
+ };
12120
+ var getTabBarItemState = function (isHovered, isPressed, isFocused) {
12121
+ if (isHovered) return 'hovered';
12122
+ if (isPressed) return 'pressed';
12123
+ if (isFocused) return 'focused';
12124
+ return 'default';
12125
+ };
11833
12126
  function TabBarItem(_ref) {
11834
12127
  var name = _ref.name,
11835
12128
  icon = _ref.icon,
11836
- _ref$color = _ref.color,
11837
- color = _ref$color === void 0 ? 'black' : _ref$color,
12129
+ _ref$variant = _ref.variant,
12130
+ variant = _ref$variant === void 0 ? 'default' : _ref$variant,
12131
+ _ref$type = _ref.type,
12132
+ type = _ref$type === void 0 ? 'underline' : _ref$type,
12133
+ color = _ref.color,
11838
12134
  testID = _ref.testID,
12135
+ disabled = _ref.disabled,
11839
12136
  _ref$isActive = _ref.isActive,
11840
12137
  isActive = _ref$isActive === void 0 ? false : _ref$isActive,
12138
+ _ref$isFocusedInterna = _ref.isFocusedInternal,
12139
+ isFocusedInternal = _ref$isFocusedInterna === void 0 ? false : _ref$isFocusedInterna,
12140
+ _ref$isHoveredInterna = _ref.isHoveredInternal,
12141
+ isHoveredInternal = _ref$isHoveredInterna === void 0 ? false : _ref$isHoveredInterna,
12142
+ _ref$isPressedInterna = _ref.isPressedInternal,
12143
+ isPressedInternal = _ref$isPressedInterna === void 0 ? false : _ref$isPressedInterna,
11841
12144
  onPress = _ref.onPress;
11842
- var typographyColor = useTabBarItemColor(color, isActive);
11843
- var indicatorColor = useTabBarIndicatorColor(color, isActive);
12145
+ // Keep backward compatibility with color property
12146
+ var definedVariant = color ? getVariantFromColor(color) : variant;
12147
+ var activeState = getTabBarItemActiveState(isActive, disabled);
12148
+ var baseTheme = "kitt.tabBar.".concat(type, ".").concat(definedVariant, ".").concat(activeState);
11844
12149
  return /*#__PURE__*/jsx(Pressable, {
12150
+ disabled: disabled,
11845
12151
  testID: testID,
11846
12152
  onPress: onPress,
11847
- children: /*#__PURE__*/jsxs(HStack, {
11848
- height: 56,
11849
- alignItems: "center",
11850
- position: "relative",
11851
- children: [icon ? /*#__PURE__*/jsx(View, {
11852
- marginRight: "kitt.1",
11853
- children: /*#__PURE__*/jsx(TypographyIcon, {
11854
- color: typographyColor,
11855
- icon: icon
11856
- })
11857
- }) : null, /*#__PURE__*/jsx(Typography.Text, {
11858
- numberOfLines: 1,
11859
- color: typographyColor,
11860
- variant: isActive ? 'bold' : undefined,
11861
- children: name
11862
- }), /*#__PURE__*/jsx(View, {
11863
- borderRadius: 100,
11864
- backgroundColor: indicatorColor,
11865
- position: "absolute",
11866
- bottom: -1 // in order to be over tab bar's border bottom
11867
- ,
11868
- width: "100%",
11869
- height: 4
11870
- })]
11871
- })
12153
+ children: function children(_ref2) {
12154
+ var isHovered = _ref2.isHovered,
12155
+ isPressed = _ref2.isPressed,
12156
+ isFocused = _ref2.isFocused;
12157
+ var state = getTabBarItemState(isHovered || isHoveredInternal, isPressed || isPressedInternal, isFocused || isFocusedInternal);
12158
+ return /*#__PURE__*/jsxs(HStack, {
12159
+ alignItems: "center",
12160
+ position: "relative",
12161
+ paddingY: "kitt.2",
12162
+ paddingRight: "kitt.2",
12163
+ paddingLeft: icon ? undefined : 'kitt.2',
12164
+ backgroundColor: "".concat(baseTheme, ".backgroundColor.").concat(state),
12165
+ borderRadius: "".concat(baseTheme, ".borderRadius"),
12166
+ children: [icon ? /*#__PURE__*/jsx(View, {
12167
+ marginRight: "kitt.2",
12168
+ children: /*#__PURE__*/jsx(TypographyIcon, {
12169
+ color: "".concat(baseTheme, ".color.").concat(state),
12170
+ icon: icon
12171
+ })
12172
+ }) : null, /*#__PURE__*/jsx(Typography.Text, {
12173
+ base: "label-large",
12174
+ numberOfLines: 1,
12175
+ color: "".concat(baseTheme, ".color.").concat(state),
12176
+ children: name
12177
+ }), type !== 'solid' ? /*#__PURE__*/jsx(View, {
12178
+ backgroundColor: "".concat(baseTheme, ".indicator.backgroundColor"),
12179
+ position: "absolute",
12180
+ bottom: -1 // in order to be over tab bar's border bottom
12181
+ ,
12182
+ left: 0,
12183
+ right: 0,
12184
+ height: 2
12185
+ }) : null]
12186
+ });
12187
+ }
11872
12188
  });
11873
12189
  }
11874
12190
 
11875
- var _excluded$5 = ["tabs", "color", "align", "activeTabIndex", "renderTabItem", "onChangeTab"];
11876
12191
  function TabBar(_ref) {
11877
12192
  var tabs = _ref.tabs,
11878
- _ref$color = _ref.color,
11879
- color = _ref$color === void 0 ? 'black' : _ref$color,
12193
+ _ref$variant = _ref.variant,
12194
+ variant = _ref$variant === void 0 ? 'default' : _ref$variant,
12195
+ _ref$type = _ref.type,
12196
+ type = _ref$type === void 0 ? 'underline' : _ref$type,
11880
12197
  _ref$align = _ref.align,
11881
12198
  align = _ref$align === void 0 ? 'left' : _ref$align,
12199
+ color = _ref.color,
11882
12200
  _ref$activeTabIndex = _ref.activeTabIndex,
11883
12201
  activeTabIndex = _ref$activeTabIndex === void 0 ? 0 : _ref$activeTabIndex,
11884
12202
  renderTabItem = _ref.renderTabItem,
11885
- onChangeTab = _ref.onChangeTab,
11886
- props = _objectWithoutProperties(_ref, _excluded$5);
12203
+ onChangeTab = _ref.onChangeTab;
11887
12204
  var sx = useSx();
11888
- var _useKittTheme = useKittTheme(),
11889
- kittTheme = _useKittTheme.kitt;
11890
12205
  var tabItems = tabs.map(function (tab, index) {
11891
12206
  return renderTabItem({
11892
12207
  tab: tab,
@@ -11894,26 +12209,36 @@ function TabBar(_ref) {
11894
12209
  isActive: activeTabIndex === index
11895
12210
  });
11896
12211
  });
11897
- var scrollViewStyles = sx({
12212
+ var styles = {
11898
12213
  justifyContent: align,
11899
12214
  paddingRight: align === 'center' ? 'kitt.2' : 'kitt.12',
11900
- minWidth: '100%',
11901
- borderBottomWidth: 1,
11902
- borderBottomColor: kittTheme.palettes.deepPurple['beige.2']
11903
- });
12215
+ minWidth: '100%'
12216
+ };
12217
+
12218
+ // Keep backward compatibility with color property
12219
+ var definedVariant = color ? getVariantFromColor(color) : variant;
12220
+ if (type !== 'solid') {
12221
+ styles = _objectSpread(_objectSpread({}, styles), {}, {
12222
+ borderBottomWidth: 1,
12223
+ borderBottomColor: "kitt.tabBar.".concat(type, ".").concat(definedVariant, ".borderBottomColor")
12224
+ });
12225
+ }
12226
+ var scrollViewStyles = sx(styles);
12227
+ var space = type === 'solid' ? 'kitt.2' : 'kitt.4';
11904
12228
  return /*#__PURE__*/jsx(ScrollView, {
11905
12229
  horizontal: true,
11906
12230
  showsHorizontalScrollIndicator: false,
11907
12231
  contentContainerStyle: scrollViewStyles,
11908
- children: /*#__PURE__*/jsx(HStack, _objectSpread(_objectSpread({
11909
- space: align === 'center' ? 'kitt.16' : 'kitt.4'
11910
- }, props), {}, {
12232
+ children: /*#__PURE__*/jsx(HStack, {
12233
+ space: align === 'center' ? 'kitt.16' : space,
11911
12234
  children: Children.map(tabItems, function (child, index) {
11912
12235
  var tab = tabs[index];
11913
12236
  if (!tab) throw new Error("TabBar: tab is undefined at index ".concat(index));
11914
12237
  return /*#__PURE__*/jsx(View, {
11915
12238
  children: /*#__PURE__*/cloneElement(child, {
11916
12239
  color: color,
12240
+ variant: definedVariant,
12241
+ type: type,
11917
12242
  onPress: function onPress(event) {
11918
12243
  var _child$props$onPress, _child$props;
11919
12244
  onChangeTab({
@@ -11925,7 +12250,7 @@ function TabBar(_ref) {
11925
12250
  })
11926
12251
  }, tab.key);
11927
12252
  })
11928
- }))
12253
+ })
11929
12254
  });
11930
12255
  }
11931
12256
  TabBar.Item = TabBarItem;