@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
|
@@ -1890,6 +1890,11 @@ const icon = {
|
|
|
1890
1890
|
defaultSize: 20
|
|
1891
1891
|
};
|
|
1892
1892
|
|
|
1893
|
+
const iconButton = {
|
|
1894
|
+
width: button.height.default,
|
|
1895
|
+
height: button.height.default
|
|
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,
|
|
@@ -4285,11 +4291,12 @@ function TopNavBar({
|
|
|
4285
4291
|
titleAlign = 'center',
|
|
4286
4292
|
stickers,
|
|
4287
4293
|
mode = 'default',
|
|
4288
|
-
hasSeparator = true
|
|
4294
|
+
hasSeparator = true,
|
|
4295
|
+
testID
|
|
4289
4296
|
}) {
|
|
4290
4297
|
const isLargeTitleMode = mode === 'largeTitle';
|
|
4291
4298
|
const leftEmptySpace = !left && titleAlign === 'left' ? null : /*#__PURE__*/jsx(View, {
|
|
4292
|
-
width: "kitt.
|
|
4299
|
+
width: "kitt.iconButton.width"
|
|
4293
4300
|
});
|
|
4294
4301
|
return /*#__PURE__*/jsxs(VStack, {
|
|
4295
4302
|
space: isLargeTitleMode ? 'kitt.2' : undefined,
|
|
@@ -4301,6 +4308,7 @@ function TopNavBar({
|
|
|
4301
4308
|
paddingBottom: "kitt.3",
|
|
4302
4309
|
borderBottomWidth: hasSeparator && mode === 'default' ? 1 : 0,
|
|
4303
4310
|
borderColor: "kitt.separator",
|
|
4311
|
+
testID: testID,
|
|
4304
4312
|
children: [/*#__PURE__*/jsxs(HStack, {
|
|
4305
4313
|
alignItems: "center",
|
|
4306
4314
|
justifyContent: !title && !left ? 'flex-end' : 'space-between',
|
|
@@ -4317,7 +4325,7 @@ function TopNavBar({
|
|
|
4317
4325
|
children: title
|
|
4318
4326
|
}) : null
|
|
4319
4327
|
}) : null, right ?? /*#__PURE__*/jsx(View, {
|
|
4320
|
-
width: "kitt.
|
|
4328
|
+
width: "kitt.iconButton.width"
|
|
4321
4329
|
})]
|
|
4322
4330
|
}), mode === 'largeTitle' ? /*#__PURE__*/jsxs(VStack, {
|
|
4323
4331
|
space: "kitt.4",
|
|
@@ -9806,6 +9814,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
9806
9814
|
}
|
|
9807
9815
|
}
|
|
9808
9816
|
},
|
|
9817
|
+
iconButton: {
|
|
9818
|
+
width: theme.iconButton.width,
|
|
9819
|
+
height: theme.iconButton.height
|
|
9820
|
+
},
|
|
9809
9821
|
pageLoader: {
|
|
9810
9822
|
size: theme.pageLoader.size
|
|
9811
9823
|
},
|