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