@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
|
@@ -1917,6 +1917,11 @@ const icon = {
|
|
|
1917
1917
|
defaultSize: 20
|
|
1918
1918
|
};
|
|
1919
1919
|
|
|
1920
|
+
const iconButton = {
|
|
1921
|
+
width: button.height.default,
|
|
1922
|
+
height: button.height.default
|
|
1923
|
+
};
|
|
1924
|
+
|
|
1920
1925
|
const listItem = {
|
|
1921
1926
|
padding: '12px 16px',
|
|
1922
1927
|
verticalPadding: 12,
|
|
@@ -2645,6 +2650,7 @@ const theme = {
|
|
|
2645
2650
|
forms,
|
|
2646
2651
|
highlight,
|
|
2647
2652
|
icon,
|
|
2653
|
+
iconButton,
|
|
2648
2654
|
buttonBadge,
|
|
2649
2655
|
listItem,
|
|
2650
2656
|
pageLoader,
|
|
@@ -4451,11 +4457,12 @@ function TopNavBar({
|
|
|
4451
4457
|
titleAlign = 'center',
|
|
4452
4458
|
stickers,
|
|
4453
4459
|
mode = 'default',
|
|
4454
|
-
hasSeparator = true
|
|
4460
|
+
hasSeparator = true,
|
|
4461
|
+
testID
|
|
4455
4462
|
}) {
|
|
4456
4463
|
const isLargeTitleMode = mode === 'largeTitle';
|
|
4457
4464
|
const leftEmptySpace = !left && titleAlign === 'left' ? null : /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
4458
|
-
width: "kitt.
|
|
4465
|
+
width: "kitt.iconButton.width"
|
|
4459
4466
|
});
|
|
4460
4467
|
return /*#__PURE__*/jsxRuntime.jsxs(VStack, {
|
|
4461
4468
|
space: isLargeTitleMode ? 'kitt.2' : undefined,
|
|
@@ -4467,6 +4474,7 @@ function TopNavBar({
|
|
|
4467
4474
|
paddingBottom: "kitt.3",
|
|
4468
4475
|
borderBottomWidth: hasSeparator && mode === 'default' ? 1 : 0,
|
|
4469
4476
|
borderColor: "kitt.separator",
|
|
4477
|
+
testID: testID,
|
|
4470
4478
|
children: [/*#__PURE__*/jsxRuntime.jsxs(HStack, {
|
|
4471
4479
|
alignItems: "center",
|
|
4472
4480
|
justifyContent: !title && !left ? 'flex-end' : 'space-between',
|
|
@@ -4483,7 +4491,7 @@ function TopNavBar({
|
|
|
4483
4491
|
children: title
|
|
4484
4492
|
}) : null
|
|
4485
4493
|
}) : null, right ?? /*#__PURE__*/jsxRuntime.jsx(View, {
|
|
4486
|
-
width: "kitt.
|
|
4494
|
+
width: "kitt.iconButton.width"
|
|
4487
4495
|
})]
|
|
4488
4496
|
}), mode === 'largeTitle' ? /*#__PURE__*/jsxRuntime.jsxs(VStack, {
|
|
4489
4497
|
space: "kitt.4",
|
|
@@ -10640,6 +10648,10 @@ function createKittNativeBaseCustomTheme(theme, appTheme) {
|
|
|
10640
10648
|
}
|
|
10641
10649
|
}
|
|
10642
10650
|
},
|
|
10651
|
+
iconButton: {
|
|
10652
|
+
width: theme.iconButton.width,
|
|
10653
|
+
height: theme.iconButton.height
|
|
10654
|
+
},
|
|
10643
10655
|
pageLoader: {
|
|
10644
10656
|
size: theme.pageLoader.size
|
|
10645
10657
|
},
|
|
@@ -11598,7 +11610,10 @@ function NavigationBottomSheet({
|
|
|
11598
11610
|
* Web only: display right CloseButton
|
|
11599
11611
|
*/
|
|
11600
11612
|
|
|
11601
|
-
function NavigationBottomSheetHeader(
|
|
11613
|
+
function NavigationBottomSheetHeader({
|
|
11614
|
+
right,
|
|
11615
|
+
...props
|
|
11616
|
+
}) {
|
|
11602
11617
|
return /*#__PURE__*/jsxRuntime.jsx(TopNavBar, {
|
|
11603
11618
|
...props
|
|
11604
11619
|
});
|