@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
@@ -1894,6 +1894,11 @@ const icon = {
1894
1894
  defaultSize: 20
1895
1895
  };
1896
1896
 
1897
+ const iconButton = {
1898
+ width: button.height.default,
1899
+ height: button.height.default
1900
+ };
1901
+
1897
1902
  const listItem = {
1898
1903
  padding: '12px 16px',
1899
1904
  verticalPadding: 12,
@@ -2622,6 +2627,7 @@ const theme = {
2622
2627
  forms,
2623
2628
  highlight,
2624
2629
  icon,
2630
+ iconButton,
2625
2631
  buttonBadge,
2626
2632
  listItem,
2627
2633
  pageLoader,
@@ -4428,11 +4434,13 @@ function TopNavBar({
4428
4434
  titleAlign = 'center',
4429
4435
  stickers,
4430
4436
  mode = 'default',
4431
- hasSeparator = true
4437
+ hasSeparator = true,
4438
+ backgroundColor,
4439
+ testID
4432
4440
  }) {
4433
4441
  const isLargeTitleMode = mode === 'largeTitle';
4434
4442
  const leftEmptySpace = !left && titleAlign === 'left' ? null : /*#__PURE__*/jsx(View, {
4435
- width: "kitt.button.minWidth"
4443
+ width: "kitt.iconButton.width"
4436
4444
  });
4437
4445
  return /*#__PURE__*/jsxs(VStack, {
4438
4446
  space: isLargeTitleMode ? 'kitt.2' : undefined,
@@ -4442,8 +4450,10 @@ function TopNavBar({
4442
4450
  paddingX: "kitt.2",
4443
4451
  paddingTop: isLargeTitleMode ? 'kitt.2' : 'kitt.3',
4444
4452
  paddingBottom: "kitt.3",
4453
+ backgroundColor: backgroundColor,
4445
4454
  borderBottomWidth: hasSeparator && mode === 'default' ? 1 : 0,
4446
4455
  borderColor: "kitt.separator",
4456
+ testID: testID,
4447
4457
  children: [/*#__PURE__*/jsxs(HStack, {
4448
4458
  alignItems: "center",
4449
4459
  justifyContent: !title && !left ? 'flex-end' : 'space-between',
@@ -4460,7 +4470,7 @@ function TopNavBar({
4460
4470
  children: title
4461
4471
  }) : null
4462
4472
  }) : null, right ?? /*#__PURE__*/jsx(View, {
4463
- width: "kitt.button.minWidth"
4473
+ width: "kitt.iconButton.width"
4464
4474
  })]
4465
4475
  }), mode === 'largeTitle' ? /*#__PURE__*/jsxs(VStack, {
4466
4476
  space: "kitt.4",
@@ -10617,6 +10627,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
10617
10627
  }
10618
10628
  }
10619
10629
  },
10630
+ iconButton: {
10631
+ width: theme.iconButton.width,
10632
+ height: theme.iconButton.height
10633
+ },
10620
10634
  pageLoader: {
10621
10635
  size: theme.pageLoader.size
10622
10636
  },
@@ -11575,7 +11589,10 @@ function NavigationBottomSheet({
11575
11589
  * Web only: display right CloseButton
11576
11590
  */
11577
11591
 
11578
- function NavigationBottomSheetHeader(props) {
11592
+ function NavigationBottomSheetHeader({
11593
+ right,
11594
+ ...props
11595
+ }) {
11579
11596
  return /*#__PURE__*/jsx(TopNavBar, {
11580
11597
  ...props
11581
11598
  });