@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
|
@@ -1897,6 +1897,11 @@ const icon = {
|
|
|
1897
1897
|
defaultSize: 20
|
|
1898
1898
|
};
|
|
1899
1899
|
|
|
1900
|
+
const iconButton = {
|
|
1901
|
+
width: button.height.medium,
|
|
1902
|
+
height: button.height.medium
|
|
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,
|
|
@@ -4434,7 +4440,7 @@ function TopNavBar({
|
|
|
4434
4440
|
}) {
|
|
4435
4441
|
const isLargeTitleMode = mode === 'largeTitle';
|
|
4436
4442
|
const leftEmptySpace = !left && titleAlign === 'left' ? null : /*#__PURE__*/jsx(View, {
|
|
4437
|
-
width: "kitt.
|
|
4443
|
+
width: "kitt.iconButton.width"
|
|
4438
4444
|
});
|
|
4439
4445
|
return /*#__PURE__*/jsxs(VStack, {
|
|
4440
4446
|
space: isLargeTitleMode ? 'kitt.2' : undefined,
|
|
@@ -4462,7 +4468,7 @@ function TopNavBar({
|
|
|
4462
4468
|
children: title
|
|
4463
4469
|
}) : null
|
|
4464
4470
|
}) : null, right !== null && right !== void 0 ? right : /*#__PURE__*/jsx(View, {
|
|
4465
|
-
width: "kitt.
|
|
4471
|
+
width: "kitt.iconButton.width"
|
|
4466
4472
|
})]
|
|
4467
4473
|
}), mode === 'largeTitle' ? /*#__PURE__*/jsxs(VStack, {
|
|
4468
4474
|
space: "kitt.4",
|
|
@@ -10637,6 +10643,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10637
10643
|
}
|
|
10638
10644
|
}
|
|
10639
10645
|
},
|
|
10646
|
+
iconButton: {
|
|
10647
|
+
width: theme.iconButton.width,
|
|
10648
|
+
height: theme.iconButton.height
|
|
10649
|
+
},
|
|
10640
10650
|
pageLoader: {
|
|
10641
10651
|
size: theme.pageLoader.size
|
|
10642
10652
|
},
|