@ornikar/kitt-universal 27.9.1-canary.b005d681364bb7e16454f696f46b5af55d721a97.0 → 27.9.1-canary.f58d71b1dad7167039ee1fbddbcf093a87688e98.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 +5 -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 +2 -1
  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 +106 -92
  13. package/dist/index-metro.es.android.js.map +1 -1
  14. package/dist/index-metro.es.ios.js +106 -92
  15. package/dist/index-metro.es.ios.js.map +1 -1
  16. package/dist/index-node-22.17.cjs.js +19 -4
  17. package/dist/index-node-22.17.cjs.js.map +1 -1
  18. package/dist/index-node-22.17.cjs.web.js +15 -3
  19. package/dist/index-node-22.17.cjs.web.js.map +1 -1
  20. package/dist/index-node-22.17.es.mjs +19 -4
  21. package/dist/index-node-22.17.es.mjs.map +1 -1
  22. package/dist/index-node-22.17.es.web.mjs +15 -3
  23. package/dist/index-node-22.17.es.web.mjs.map +1 -1
  24. package/dist/index.es.js +107 -92
  25. package/dist/index.es.js.map +1 -1
  26. package/dist/index.es.web.js +15 -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
@@ -1897,6 +1897,11 @@ const icon = {
1897
1897
  defaultSize: 20
1898
1898
  };
1899
1899
 
1900
+ const iconButton = {
1901
+ width: button.height.default,
1902
+ height: button.height.default
1903
+ };
1904
+
1900
1905
  const listItem = {
1901
1906
  padding: '12px 16px',
1902
1907
  verticalPadding: 12,
@@ -2625,6 +2630,7 @@ const theme = {
2625
2630
  forms,
2626
2631
  highlight,
2627
2632
  icon,
2633
+ iconButton,
2628
2634
  buttonBadge,
2629
2635
  listItem,
2630
2636
  pageLoader,
@@ -4292,11 +4298,12 @@ function TopNavBar({
4292
4298
  titleAlign = 'center',
4293
4299
  stickers,
4294
4300
  mode = 'default',
4295
- hasSeparator = true
4301
+ hasSeparator = true,
4302
+ testID
4296
4303
  }) {
4297
4304
  const isLargeTitleMode = mode === 'largeTitle';
4298
4305
  const leftEmptySpace = !left && titleAlign === 'left' ? null : /*#__PURE__*/jsxRuntime.jsx(View, {
4299
- width: "kitt.button.minWidth"
4306
+ width: "kitt.iconButton.width"
4300
4307
  });
4301
4308
  return /*#__PURE__*/jsxRuntime.jsxs(VStack, {
4302
4309
  space: isLargeTitleMode ? 'kitt.2' : undefined,
@@ -4308,6 +4315,7 @@ function TopNavBar({
4308
4315
  paddingBottom: "kitt.3",
4309
4316
  borderBottomWidth: hasSeparator && mode === 'default' ? 1 : 0,
4310
4317
  borderColor: "kitt.separator",
4318
+ testID: testID,
4311
4319
  children: [/*#__PURE__*/jsxRuntime.jsxs(HStack, {
4312
4320
  alignItems: "center",
4313
4321
  justifyContent: !title && !left ? 'flex-end' : 'space-between',
@@ -4324,7 +4332,7 @@ function TopNavBar({
4324
4332
  children: title
4325
4333
  }) : null
4326
4334
  }) : null, right ?? /*#__PURE__*/jsxRuntime.jsx(View, {
4327
- width: "kitt.button.minWidth"
4335
+ width: "kitt.iconButton.width"
4328
4336
  })]
4329
4337
  }), mode === 'largeTitle' ? /*#__PURE__*/jsxRuntime.jsxs(VStack, {
4330
4338
  space: "kitt.4",
@@ -9813,6 +9821,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
9813
9821
  }
9814
9822
  }
9815
9823
  },
9824
+ iconButton: {
9825
+ width: theme.iconButton.width,
9826
+ height: theme.iconButton.height
9827
+ },
9816
9828
  pageLoader: {
9817
9829
  size: theme.pageLoader.size
9818
9830
  },