@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
@@ -1908,6 +1908,11 @@ var icon = {
1908
1908
  defaultSize: 20
1909
1909
  };
1910
1910
 
1911
+ var iconButton = {
1912
+ width: button.height["default"],
1913
+ height: button.height["default"]
1914
+ };
1915
+
1911
1916
  var listItem = {
1912
1917
  padding: '12px 16px',
1913
1918
  verticalPadding: 12,
@@ -2638,6 +2643,7 @@ var theme = {
2638
2643
  forms: forms,
2639
2644
  highlight: highlight,
2640
2645
  icon: icon,
2646
+ iconButton: iconButton,
2641
2647
  buttonBadge: buttonBadge,
2642
2648
  listItem: listItem,
2643
2649
  pageLoader: pageLoader,
@@ -4327,10 +4333,11 @@ function TopNavBar(_ref) {
4327
4333
  _ref$mode = _ref.mode,
4328
4334
  mode = _ref$mode === void 0 ? 'default' : _ref$mode,
4329
4335
  _ref$hasSeparator = _ref.hasSeparator,
4330
- hasSeparator = _ref$hasSeparator === void 0 ? true : _ref$hasSeparator;
4336
+ hasSeparator = _ref$hasSeparator === void 0 ? true : _ref$hasSeparator,
4337
+ testID = _ref.testID;
4331
4338
  var isLargeTitleMode = mode === 'largeTitle';
4332
4339
  var leftEmptySpace = !left && titleAlign === 'left' ? null : /*#__PURE__*/jsx(View, {
4333
- width: "kitt.button.minWidth"
4340
+ width: "kitt.iconButton.width"
4334
4341
  });
4335
4342
  return /*#__PURE__*/jsxs(VStack, {
4336
4343
  space: isLargeTitleMode ? 'kitt.2' : undefined,
@@ -4342,6 +4349,7 @@ function TopNavBar(_ref) {
4342
4349
  paddingBottom: "kitt.3",
4343
4350
  borderBottomWidth: hasSeparator && mode === 'default' ? 1 : 0,
4344
4351
  borderColor: "kitt.separator",
4352
+ testID: testID,
4345
4353
  children: [/*#__PURE__*/jsxs(HStack, {
4346
4354
  alignItems: "center",
4347
4355
  justifyContent: !title && !left ? 'flex-end' : 'space-between',
@@ -4358,7 +4366,7 @@ function TopNavBar(_ref) {
4358
4366
  children: title
4359
4367
  }) : null
4360
4368
  }) : null, right !== null && right !== void 0 ? right : /*#__PURE__*/jsx(View, {
4361
- width: "kitt.button.minWidth"
4369
+ width: "kitt.iconButton.width"
4362
4370
  })]
4363
4371
  }), mode === 'largeTitle' ? /*#__PURE__*/jsxs(VStack, {
4364
4372
  space: "kitt.4",
@@ -9996,6 +10004,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
9996
10004
  }
9997
10005
  }
9998
10006
  },
10007
+ iconButton: {
10008
+ width: theme.iconButton.width,
10009
+ height: theme.iconButton.height
10010
+ },
9999
10011
  pageLoader: {
10000
10012
  size: theme.pageLoader.size
10001
10013
  },