@ornikar/kitt-universal 23.7.0 → 23.8.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 +14 -0
- package/dist/definitions/TabBar/TabBarItem.d.ts +2 -1
- package/dist/definitions/TabBar/TabBarItem.d.ts.map +1 -1
- package/dist/index-metro.es.android.js +2 -0
- package/dist/index-metro.es.android.js.map +1 -1
- package/dist/index-metro.es.ios.js +2 -0
- package/dist/index-metro.es.ios.js.map +1 -1
- package/dist/index-node-20.10.cjs.js +2 -0
- package/dist/index-node-20.10.cjs.js.map +1 -1
- package/dist/index-node-20.10.cjs.web.js +2 -0
- package/dist/index-node-20.10.cjs.web.js.map +1 -1
- package/dist/index-node-20.10.es.mjs +2 -0
- package/dist/index-node-20.10.es.mjs.map +1 -1
- package/dist/index-node-20.10.es.web.mjs +2 -0
- package/dist/index-node-20.10.es.web.mjs.map +1 -1
- package/dist/index.es.js +2 -0
- package/dist/index.es.js.map +1 -1
- package/dist/index.es.web.js +2 -0
- package/dist/index.es.web.js.map +1 -1
- package/dist/tsbuildinfo +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [23.8.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@23.7.0...@ornikar/kitt-universal@23.8.0) (2024-04-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* setup new react-map-universal package OSE-8942 ([#2362](https://github.com/ornikar/kitt/issues/2362)) ([293934f](https://github.com/ornikar/kitt/commit/293934fe645993a8be44271e568401b40e883371))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* **tab-bar:** pass testID props on tab bar items [no issue] ([#2364](https://github.com/ornikar/kitt/issues/2364)) ([a02c593](https://github.com/ornikar/kitt/commit/a02c593279fd1a8c49ec2f39a33329f860e8b418))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
6
20
|
## [23.7.0](https://github.com/ornikar/kitt/compare/@ornikar/kitt-universal@23.6.1...@ornikar/kitt-universal@23.7.0) (2024-04-12)
|
|
7
21
|
|
|
8
22
|
|
|
@@ -6,8 +6,9 @@ export interface TabBarItemProps {
|
|
|
6
6
|
name: ReactNode;
|
|
7
7
|
icon?: TypographyIconProps['icon'];
|
|
8
8
|
color?: TabBarItemColor;
|
|
9
|
+
testID?: PressableProps['testID'];
|
|
9
10
|
isActive?: boolean;
|
|
10
11
|
onPress?: PressableProps['onPress'];
|
|
11
12
|
}
|
|
12
|
-
export declare function TabBarItem({ name, icon, color, isActive, onPress }: TabBarItemProps): ReactNode;
|
|
13
|
+
export declare function TabBarItem({ name, icon, color, testID, isActive, onPress, }: TabBarItemProps): ReactNode;
|
|
13
14
|
//# sourceMappingURL=TabBarItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TabBarItem.d.ts","sourceRoot":"","sources":["../../../src/TabBar/TabBarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAIhE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAIxE,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,OAAO,CAAC;AAEhD,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,CAAC,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC;IACnC,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;CACrC;AAkCD,wBAAgB,UAAU,CAAC,
|
|
1
|
+
{"version":3,"file":"TabBarItem.d.ts","sourceRoot":"","sources":["../../../src/TabBar/TabBarItem.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAIhE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAIxE,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,OAAO,CAAC;AAEhD,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,SAAS,CAAC;IAChB,IAAI,CAAC,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC;IACnC,KAAK,CAAC,EAAE,eAAe,CAAC;IACxB,MAAM,CAAC,EAAE,cAAc,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,cAAc,CAAC,SAAS,CAAC,CAAC;CACrC;AAkCD,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,IAAI,EACJ,KAAe,EACf,MAAM,EACN,QAAgB,EAChB,OAAO,GACR,EAAE,eAAe,GAAG,SAAS,CAgC7B"}
|
|
@@ -10579,12 +10579,14 @@ function TabBarItem({
|
|
|
10579
10579
|
name,
|
|
10580
10580
|
icon,
|
|
10581
10581
|
color = 'black',
|
|
10582
|
+
testID,
|
|
10582
10583
|
isActive = false,
|
|
10583
10584
|
onPress
|
|
10584
10585
|
}) {
|
|
10585
10586
|
const typographyColor = useTabBarItemColor(color, isActive);
|
|
10586
10587
|
const indicatorColor = useTabBarIndicatorColor(color, isActive);
|
|
10587
10588
|
return /*#__PURE__*/jsx(Pressable, {
|
|
10589
|
+
testID: testID,
|
|
10588
10590
|
onPress: onPress,
|
|
10589
10591
|
children: /*#__PURE__*/jsxs(HStack, {
|
|
10590
10592
|
height: 56,
|