@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
|
@@ -1894,6 +1894,11 @@ const icon = {
|
|
|
1894
1894
|
defaultSize: 20
|
|
1895
1895
|
};
|
|
1896
1896
|
|
|
1897
|
+
const iconButton = {
|
|
1898
|
+
width: button.height.medium,
|
|
1899
|
+
height: button.height.medium
|
|
1900
|
+
};
|
|
1901
|
+
|
|
1897
1902
|
const listItem = {
|
|
1898
1903
|
padding: '12px 16px',
|
|
1899
1904
|
verticalPadding: 12,
|
|
@@ -2622,6 +2627,7 @@ const theme = {
|
|
|
2622
2627
|
forms,
|
|
2623
2628
|
highlight,
|
|
2624
2629
|
icon,
|
|
2630
|
+
iconButton,
|
|
2625
2631
|
buttonBadge,
|
|
2626
2632
|
listItem,
|
|
2627
2633
|
pageLoader,
|
|
@@ -4432,7 +4438,7 @@ function TopNavBar({
|
|
|
4432
4438
|
}) {
|
|
4433
4439
|
const isLargeTitleMode = mode === 'largeTitle';
|
|
4434
4440
|
const leftEmptySpace = !left && titleAlign === 'left' ? null : /*#__PURE__*/jsx(View, {
|
|
4435
|
-
width: "kitt.
|
|
4441
|
+
width: "kitt.iconButton.width"
|
|
4436
4442
|
});
|
|
4437
4443
|
return /*#__PURE__*/jsxs(VStack, {
|
|
4438
4444
|
space: isLargeTitleMode ? 'kitt.2' : undefined,
|
|
@@ -4460,7 +4466,7 @@ function TopNavBar({
|
|
|
4460
4466
|
children: title
|
|
4461
4467
|
}) : null
|
|
4462
4468
|
}) : null, right ?? /*#__PURE__*/jsx(View, {
|
|
4463
|
-
width: "kitt.
|
|
4469
|
+
width: "kitt.iconButton.width"
|
|
4464
4470
|
})]
|
|
4465
4471
|
}), mode === 'largeTitle' ? /*#__PURE__*/jsxs(VStack, {
|
|
4466
4472
|
space: "kitt.4",
|
|
@@ -10617,6 +10623,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10617
10623
|
}
|
|
10618
10624
|
}
|
|
10619
10625
|
},
|
|
10626
|
+
iconButton: {
|
|
10627
|
+
width: theme.iconButton.width,
|
|
10628
|
+
height: theme.iconButton.height
|
|
10629
|
+
},
|
|
10620
10630
|
pageLoader: {
|
|
10621
10631
|
size: theme.pageLoader.size
|
|
10622
10632
|
},
|