@ornikar/kitt-universal 27.9.1-canary.b005d681364bb7e16454f696f46b5af55d721a97.0 → 27.9.1-canary.f58d71b1dad7167039ee1fbddbcf093a87688e98.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 +5 -1
- package/dist/definitions/NavigationBottomSheet/NavigationBottomSheet.d.ts +2 -3
- package/dist/definitions/NavigationBottomSheet/NavigationBottomSheet.d.ts.map +1 -1
- package/dist/definitions/TopNavBar/TopNavBar.d.ts +2 -1
- package/dist/definitions/TopNavBar/TopNavBar.d.ts.map +1 -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 +106 -92
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +106 -92
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-22.17.cjs.js +19 -4
- package/dist/index-node-22.17.cjs.js.map +1 -1
- package/dist/index-node-22.17.cjs.web.js +15 -3
- package/dist/index-node-22.17.cjs.web.js.map +1 -1
- package/dist/index-node-22.17.es.mjs +19 -4
- package/dist/index-node-22.17.es.mjs.map +1 -1
- package/dist/index-node-22.17.es.web.mjs +15 -3
- package/dist/index-node-22.17.es.web.mjs.map +1 -1
- package/dist/index.es.js +107 -92
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +15 -3
- 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.default,
|
|
1902
|
+
height: button.height.default
|
|
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,
|
|
@@ -4292,11 +4298,12 @@ function TopNavBar({
|
|
|
4292
4298
|
titleAlign = 'center',
|
|
4293
4299
|
stickers,
|
|
4294
4300
|
mode = 'default',
|
|
4295
|
-
hasSeparator = true
|
|
4301
|
+
hasSeparator = true,
|
|
4302
|
+
testID
|
|
4296
4303
|
}) {
|
|
4297
4304
|
const isLargeTitleMode = mode === 'largeTitle';
|
|
4298
4305
|
const leftEmptySpace = !left && titleAlign === 'left' ? null : /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
4299
|
-
width: "kitt.
|
|
4306
|
+
width: "kitt.iconButton.width"
|
|
4300
4307
|
});
|
|
4301
4308
|
return /*#__PURE__*/jsxRuntime.jsxs(VStack, {
|
|
4302
4309
|
space: isLargeTitleMode ? 'kitt.2' : undefined,
|
|
@@ -4308,6 +4315,7 @@ function TopNavBar({
|
|
|
4308
4315
|
paddingBottom: "kitt.3",
|
|
4309
4316
|
borderBottomWidth: hasSeparator && mode === 'default' ? 1 : 0,
|
|
4310
4317
|
borderColor: "kitt.separator",
|
|
4318
|
+
testID: testID,
|
|
4311
4319
|
children: [/*#__PURE__*/jsxRuntime.jsxs(HStack, {
|
|
4312
4320
|
alignItems: "center",
|
|
4313
4321
|
justifyContent: !title && !left ? 'flex-end' : 'space-between',
|
|
@@ -4324,7 +4332,7 @@ function TopNavBar({
|
|
|
4324
4332
|
children: title
|
|
4325
4333
|
}) : null
|
|
4326
4334
|
}) : null, right ?? /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
4327
|
-
width: "kitt.
|
|
4335
|
+
width: "kitt.iconButton.width"
|
|
4328
4336
|
})]
|
|
4329
4337
|
}), mode === 'largeTitle' ? /*#__PURE__*/jsxRuntime.jsxs(VStack, {
|
|
4330
4338
|
space: "kitt.4",
|
|
@@ -9813,6 +9821,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
9813
9821
|
}
|
|
9814
9822
|
}
|
|
9815
9823
|
},
|
|
9824
|
+
iconButton: {
|
|
9825
|
+
width: theme.iconButton.width,
|
|
9826
|
+
height: theme.iconButton.height
|
|
9827
|
+
},
|
|
9816
9828
|
pageLoader: {
|
|
9817
9829
|
size: theme.pageLoader.size
|
|
9818
9830
|
},
|