@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
@@ -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,12 @@ 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
+ backgroundColor = _ref.backgroundColor,
4338
+ testID = _ref.testID;
4331
4339
  var isLargeTitleMode = mode === 'largeTitle';
4332
4340
  var leftEmptySpace = !left && titleAlign === 'left' ? null : /*#__PURE__*/jsx(View, {
4333
- width: "kitt.button.minWidth"
4341
+ width: "kitt.iconButton.width"
4334
4342
  });
4335
4343
  return /*#__PURE__*/jsxs(VStack, {
4336
4344
  space: isLargeTitleMode ? 'kitt.2' : undefined,
@@ -4340,8 +4348,10 @@ function TopNavBar(_ref) {
4340
4348
  paddingX: "kitt.2",
4341
4349
  paddingTop: isLargeTitleMode ? 'kitt.2' : 'kitt.3',
4342
4350
  paddingBottom: "kitt.3",
4351
+ backgroundColor: backgroundColor,
4343
4352
  borderBottomWidth: hasSeparator && mode === 'default' ? 1 : 0,
4344
4353
  borderColor: "kitt.separator",
4354
+ testID: testID,
4345
4355
  children: [/*#__PURE__*/jsxs(HStack, {
4346
4356
  alignItems: "center",
4347
4357
  justifyContent: !title && !left ? 'flex-end' : 'space-between',
@@ -4358,7 +4368,7 @@ function TopNavBar(_ref) {
4358
4368
  children: title
4359
4369
  }) : null
4360
4370
  }) : null, right !== null && right !== void 0 ? right : /*#__PURE__*/jsx(View, {
4361
- width: "kitt.button.minWidth"
4371
+ width: "kitt.iconButton.width"
4362
4372
  })]
4363
4373
  }), mode === 'largeTitle' ? /*#__PURE__*/jsxs(VStack, {
4364
4374
  space: "kitt.4",
@@ -9996,6 +10006,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
9996
10006
  }
9997
10007
  }
9998
10008
  },
10009
+ iconButton: {
10010
+ width: theme.iconButton.width,
10011
+ height: theme.iconButton.height
10012
+ },
9999
10013
  pageLoader: {
10000
10014
  size: theme.pageLoader.size
10001
10015
  },