@ornikar/kitt-universal 27.9.1-canary.4b911192ae095bb2eb65643367ed285b3f849cd8.0 → 27.9.1-canary.51004cd27185355acc481c9933556ade7509bc80.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.
- package/CHANGELOG.md +2 -1
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts +8 -14
- package/dist/definitions/native-base/KittNativeBaseProvider.d.ts.map +1 -1
- package/dist/definitions/themes/default.d.ts +1 -0
- package/dist/definitions/themes/default.d.ts.map +1 -1
- package/dist/definitions/themes/late-ocean/iconButton.d.ts +6 -0
- package/dist/definitions/themes/late-ocean/iconButton.d.ts.map +1 -0
- package/dist/index-metro.es.android.js +12 -2
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +12 -2
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +12 -2
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.js +12 -2
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +12 -2
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.mjs +12 -2
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +12 -2
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +12 -2
- package/dist/index.es.web.js.map +1 -1
- package/dist/linaria-themes-metro.es.android.js +6 -0
- package/dist/linaria-themes-metro.es.android.js.map +1 -1
- package/dist/linaria-themes-metro.es.ios.js +6 -0
- package/dist/linaria-themes-metro.es.ios.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.js +6 -0
- package/dist/linaria-themes-node-22.17.cjs.js.map +1 -1
- package/dist/linaria-themes-node-22.17.cjs.web.js +6 -0
- package/dist/linaria-themes-node-22.17.cjs.web.js.map +1 -1
- package/dist/linaria-themes-node-22.17.es.mjs +6 -0
- package/dist/linaria-themes-node-22.17.es.mjs.map +1 -1
- package/dist/linaria-themes-node-22.17.es.web.mjs +6 -0
- package/dist/linaria-themes-node-22.17.es.web.mjs.map +1 -1
- package/dist/linaria-themes.es.js +6 -0
- package/dist/linaria-themes.es.js.map +1 -1
- package/dist/linaria-themes.es.web.js +6 -0
- package/dist/linaria-themes.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1890,6 +1890,11 @@ const icon = {
|
|
|
1890
1890
|
defaultSize: 20
|
|
1891
1891
|
};
|
|
1892
1892
|
|
|
1893
|
+
const iconButton = {
|
|
1894
|
+
width: button.height.medium,
|
|
1895
|
+
height: button.height.medium
|
|
1896
|
+
};
|
|
1897
|
+
|
|
1893
1898
|
const listItem = {
|
|
1894
1899
|
padding: '12px 16px',
|
|
1895
1900
|
verticalPadding: 12,
|
|
@@ -2618,6 +2623,7 @@ const theme = {
|
|
|
2618
2623
|
forms,
|
|
2619
2624
|
highlight,
|
|
2620
2625
|
icon,
|
|
2626
|
+
iconButton,
|
|
2621
2627
|
buttonBadge,
|
|
2622
2628
|
listItem,
|
|
2623
2629
|
pageLoader,
|
|
@@ -4289,7 +4295,7 @@ function TopNavBar({
|
|
|
4289
4295
|
}) {
|
|
4290
4296
|
const isLargeTitleMode = mode === 'largeTitle';
|
|
4291
4297
|
const leftEmptySpace = !left && titleAlign === 'left' ? null : /*#__PURE__*/jsx(View, {
|
|
4292
|
-
width: "kitt.
|
|
4298
|
+
width: "kitt.iconButton.width"
|
|
4293
4299
|
});
|
|
4294
4300
|
return /*#__PURE__*/jsxs(VStack, {
|
|
4295
4301
|
space: isLargeTitleMode ? 'kitt.2' : undefined,
|
|
@@ -4317,7 +4323,7 @@ function TopNavBar({
|
|
|
4317
4323
|
children: title
|
|
4318
4324
|
}) : null
|
|
4319
4325
|
}) : null, right ?? /*#__PURE__*/jsx(View, {
|
|
4320
|
-
width: "kitt.
|
|
4326
|
+
width: "kitt.iconButton.width"
|
|
4321
4327
|
})]
|
|
4322
4328
|
}), mode === 'largeTitle' ? /*#__PURE__*/jsxs(VStack, {
|
|
4323
4329
|
space: "kitt.4",
|
|
@@ -9806,6 +9812,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
9806
9812
|
}
|
|
9807
9813
|
}
|
|
9808
9814
|
},
|
|
9815
|
+
iconButton: {
|
|
9816
|
+
width: theme.iconButton.width,
|
|
9817
|
+
height: theme.iconButton.height
|
|
9818
|
+
},
|
|
9809
9819
|
pageLoader: {
|
|
9810
9820
|
size: theme.pageLoader.size
|
|
9811
9821
|
},
|