@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
|
@@ -1917,6 +1917,11 @@ const icon = {
|
|
|
1917
1917
|
defaultSize: 20
|
|
1918
1918
|
};
|
|
1919
1919
|
|
|
1920
|
+
const iconButton = {
|
|
1921
|
+
width: button.height.medium,
|
|
1922
|
+
height: button.height.medium
|
|
1923
|
+
};
|
|
1924
|
+
|
|
1920
1925
|
const listItem = {
|
|
1921
1926
|
padding: '12px 16px',
|
|
1922
1927
|
verticalPadding: 12,
|
|
@@ -2645,6 +2650,7 @@ const theme = {
|
|
|
2645
2650
|
forms,
|
|
2646
2651
|
highlight,
|
|
2647
2652
|
icon,
|
|
2653
|
+
iconButton,
|
|
2648
2654
|
buttonBadge,
|
|
2649
2655
|
listItem,
|
|
2650
2656
|
pageLoader,
|
|
@@ -4455,7 +4461,7 @@ function TopNavBar({
|
|
|
4455
4461
|
}) {
|
|
4456
4462
|
const isLargeTitleMode = mode === 'largeTitle';
|
|
4457
4463
|
const leftEmptySpace = !left && titleAlign === 'left' ? null : /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
4458
|
-
width: "kitt.
|
|
4464
|
+
width: "kitt.iconButton.width"
|
|
4459
4465
|
});
|
|
4460
4466
|
return /*#__PURE__*/jsxRuntime.jsxs(VStack, {
|
|
4461
4467
|
space: isLargeTitleMode ? 'kitt.2' : undefined,
|
|
@@ -4483,7 +4489,7 @@ function TopNavBar({
|
|
|
4483
4489
|
children: title
|
|
4484
4490
|
}) : null
|
|
4485
4491
|
}) : null, right ?? /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
4486
|
-
width: "kitt.
|
|
4492
|
+
width: "kitt.iconButton.width"
|
|
4487
4493
|
})]
|
|
4488
4494
|
}), mode === 'largeTitle' ? /*#__PURE__*/jsxRuntime.jsxs(VStack, {
|
|
4489
4495
|
space: "kitt.4",
|
|
@@ -10640,6 +10646,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10640
10646
|
}
|
|
10641
10647
|
}
|
|
10642
10648
|
},
|
|
10649
|
+
iconButton: {
|
|
10650
|
+
width: theme.iconButton.width,
|
|
10651
|
+
height: theme.iconButton.height
|
|
10652
|
+
},
|
|
10643
10653
|
pageLoader: {
|
|
10644
10654
|
size: theme.pageLoader.size
|
|
10645
10655
|
},
|