@ornikar/kitt-universal 27.9.1-canary.b005d681364bb7e16454f696f46b5af55d721a97.0 → 27.9.1-canary.f2c8ce09203150f3f2cb65aacb7c85ea25435b9f.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 (45) hide show
  1. package/CHANGELOG.md +6 -1
  2. package/dist/definitions/NavigationBottomSheet/NavigationBottomSheet.d.ts +2 -3
  3. package/dist/definitions/NavigationBottomSheet/NavigationBottomSheet.d.ts.map +1 -1
  4. package/dist/definitions/TopNavBar/TopNavBar.d.ts +4 -2
  5. package/dist/definitions/TopNavBar/TopNavBar.d.ts.map +1 -1
  6. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +8 -14
  7. package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
  8. package/dist/definitions/themes/default.d.ts +1 -0
  9. package/dist/definitions/themes/default.d.ts.map +1 -1
  10. package/dist/definitions/themes/late-ocean/iconButton.d.ts +6 -0
  11. package/dist/definitions/themes/late-ocean/iconButton.d.ts.map +1 -0
  12. package/dist/index-metro.es.android.js +108 -92
  13. package/dist/index-metro.es.android.js.map +1 -1
  14. package/dist/index-metro.es.ios.js +108 -92
  15. package/dist/index-metro.es.ios.js.map +1 -1
  16. package/dist/index-node-22.17.cjs.js +21 -4
  17. package/dist/index-node-22.17.cjs.js.map +1 -1
  18. package/dist/index-node-22.17.cjs.web.js +17 -3
  19. package/dist/index-node-22.17.cjs.web.js.map +1 -1
  20. package/dist/index-node-22.17.es.mjs +21 -4
  21. package/dist/index-node-22.17.es.mjs.map +1 -1
  22. package/dist/index-node-22.17.es.web.mjs +17 -3
  23. package/dist/index-node-22.17.es.web.mjs.map +1 -1
  24. package/dist/index.es.js +109 -92
  25. package/dist/index.es.js.map +1 -1
  26. package/dist/index.es.web.js +17 -3
  27. package/dist/index.es.web.js.map +1 -1
  28. package/dist/linaria-themes-metro.es.android.js +6 -0
  29. package/dist/linaria-themes-metro.es.android.js.map +1 -1
  30. package/dist/linaria-themes-metro.es.ios.js +6 -0
  31. package/dist/linaria-themes-metro.es.ios.js.map +1 -1
  32. package/dist/linaria-themes-node-22.17.cjs.js +6 -0
  33. package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
  34. package/dist/linaria-themes-node-22.17.cjs.web.js +6 -0
  35. package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
  36. package/dist/linaria-themes-node-22.17.es.mjs +6 -0
  37. package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
  38. package/dist/linaria-themes-node-22.17.es.web.mjs +6 -0
  39. package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
  40. package/dist/linaria-themes.es.js +6 -0
  41. package/dist/linaria-themes.es.js.map +1 -1
  42. package/dist/linaria-themes.es.web.js +6 -0
  43. package/dist/linaria-themes.es.web.js.map +1 -1
  44. package/dist/tsbuildinfo +1 -1
  45. package/package.json +1 -1
@@ -1917,6 +1917,11 @@ const icon = {
1917
1917
  defaultSize: 20
1918
1918
  };
1919
1919
 
1920
+ const iconButton = {
1921
+ width: button.height.default,
1922
+ height: button.height.default
1923
+ };
1924
+
1920
1925
  const listItem = {
1921
1926
  padding: '12px 16px',
1922
1927
  verticalPadding: 12,
@@ -2645,6 +2650,7 @@ const theme = {
2645
2650
  forms,
2646
2651
  highlight,
2647
2652
  icon,
2653
+ iconButton,
2648
2654
  buttonBadge,
2649
2655
  listItem,
2650
2656
  pageLoader,
@@ -4451,11 +4457,13 @@ function TopNavBar({
4451
4457
  titleAlign = 'center',
4452
4458
  stickers,
4453
4459
  mode = 'default',
4454
- hasSeparator = true
4460
+ hasSeparator = true,
4461
+ backgroundColor,
4462
+ testID
4455
4463
  }) {
4456
4464
  const isLargeTitleMode = mode === 'largeTitle';
4457
4465
  const leftEmptySpace = !left && titleAlign === 'left' ? null : /*#__PURE__*/jsxRuntime.jsx(View, {
4458
- width: "kitt.button.minWidth"
4466
+ width: "kitt.iconButton.width"
4459
4467
  });
4460
4468
  return /*#__PURE__*/jsxRuntime.jsxs(VStack, {
4461
4469
  space: isLargeTitleMode ? 'kitt.2' : undefined,
@@ -4465,8 +4473,10 @@ function TopNavBar({
4465
4473
  paddingX: "kitt.2",
4466
4474
  paddingTop: isLargeTitleMode ? 'kitt.2' : 'kitt.3',
4467
4475
  paddingBottom: "kitt.3",
4476
+ backgroundColor: backgroundColor,
4468
4477
  borderBottomWidth: hasSeparator && mode === 'default' ? 1 : 0,
4469
4478
  borderColor: "kitt.separator",
4479
+ testID: testID,
4470
4480
  children: [/*#__PURE__*/jsxRuntime.jsxs(HStack, {
4471
4481
  alignItems: "center",
4472
4482
  justifyContent: !title && !left ? 'flex-end' : 'space-between',
@@ -4483,7 +4493,7 @@ function TopNavBar({
4483
4493
  children: title
4484
4494
  }) : null
4485
4495
  }) : null, right ?? /*#__PURE__*/jsxRuntime.jsx(View, {
4486
- width: "kitt.button.minWidth"
4496
+ width: "kitt.iconButton.width"
4487
4497
  })]
4488
4498
  }), mode === 'largeTitle' ? /*#__PURE__*/jsxRuntime.jsxs(VStack, {
4489
4499
  space: "kitt.4",
@@ -10640,6 +10650,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
10640
10650
  }
10641
10651
  }
10642
10652
  },
10653
+ iconButton: {
10654
+ width: theme.iconButton.width,
10655
+ height: theme.iconButton.height
10656
+ },
10643
10657
  pageLoader: {
10644
10658
  size: theme.pageLoader.size
10645
10659
  },
@@ -11598,7 +11612,10 @@ function NavigationBottomSheet({
11598
11612
  * Web only: display right CloseButton
11599
11613
  */
11600
11614
 
11601
- function NavigationBottomSheetHeader(props) {
11615
+ function NavigationBottomSheetHeader({
11616
+ right,
11617
+ ...props
11618
+ }) {
11602
11619
  return /*#__PURE__*/jsxRuntime.jsx(TopNavBar, {
11603
11620
  ...props
11604
11621
  });