@xsolla/xui-nav-bar 0.119.0 → 0.121.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/package.json +3 -3
- package/native/index.js.flow +0 -59
- package/web/index.js.flow +0 -59
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsolla/xui-nav-bar",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.121.0",
|
|
4
4
|
"main": "./web/index.js",
|
|
5
5
|
"module": "./web/index.mjs",
|
|
6
6
|
"types": "./web/index.d.ts",
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"build:native": "PLATFORM=native tsup"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xsolla/xui-core": "0.
|
|
14
|
-
"@xsolla/xui-primitives-core": "0.
|
|
13
|
+
"@xsolla/xui-core": "0.121.0",
|
|
14
|
+
"@xsolla/xui-primitives-core": "0.121.0"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
17
|
"react": ">=16.8.0"
|
package/native/index.js.flow
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for index
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.21.0
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import React, { Node } from "react";
|
|
9
|
-
declare interface NavBarProps {
|
|
10
|
-
/**
|
|
11
|
-
* Size variant of the NavBar
|
|
12
|
-
* @default 'm'
|
|
13
|
-
*/
|
|
14
|
-
size?: "sm" | "md" | "lg";
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Whether to show a bottom border
|
|
18
|
-
* @default false
|
|
19
|
-
*/
|
|
20
|
-
bordered?: boolean;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Custom background color
|
|
24
|
-
*/
|
|
25
|
-
backgroundColor?: string;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Content of the NavBar, typically StartSlot, Center, and EndSlot
|
|
29
|
-
*/
|
|
30
|
-
children?: Node;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Test ID for testing frameworks
|
|
34
|
-
*/
|
|
35
|
-
testID?: string;
|
|
36
|
-
}
|
|
37
|
-
declare interface NavBarSlotProps {
|
|
38
|
-
/**
|
|
39
|
-
* Slot content
|
|
40
|
-
*/
|
|
41
|
-
children?: Node;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Test ID for testing frameworks
|
|
45
|
-
*/
|
|
46
|
-
testID?: string;
|
|
47
|
-
}
|
|
48
|
-
declare var NavBarRoot: React.FC<NavBarProps>;
|
|
49
|
-
declare var NavBar: {
|
|
50
|
-
...React.FC<NavBarProps>,
|
|
51
|
-
...{
|
|
52
|
-
StartSlot: React.FC<NavBarSlotProps>,
|
|
53
|
-
Center: React.FC<NavBarSlotProps>,
|
|
54
|
-
EndSlot: React.FC<NavBarSlotProps>,
|
|
55
|
-
...
|
|
56
|
-
},
|
|
57
|
-
};
|
|
58
|
-
export type { NavBarProps, NavBarSlotProps };
|
|
59
|
-
declare export { NavBar, NavBarRoot };
|
package/web/index.js.flow
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Flowtype definitions for index
|
|
3
|
-
* Generated by Flowgen from a Typescript Definition
|
|
4
|
-
* Flowgen v1.21.0
|
|
5
|
-
* @flow
|
|
6
|
-
*/
|
|
7
|
-
|
|
8
|
-
import React, { Node } from "react";
|
|
9
|
-
declare interface NavBarProps {
|
|
10
|
-
/**
|
|
11
|
-
* Size variant of the NavBar
|
|
12
|
-
* @default 'm'
|
|
13
|
-
*/
|
|
14
|
-
size?: "sm" | "md" | "lg";
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* Whether to show a bottom border
|
|
18
|
-
* @default false
|
|
19
|
-
*/
|
|
20
|
-
bordered?: boolean;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Custom background color
|
|
24
|
-
*/
|
|
25
|
-
backgroundColor?: string;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Content of the NavBar, typically StartSlot, Center, and EndSlot
|
|
29
|
-
*/
|
|
30
|
-
children?: Node;
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* Test ID for testing frameworks
|
|
34
|
-
*/
|
|
35
|
-
testID?: string;
|
|
36
|
-
}
|
|
37
|
-
declare interface NavBarSlotProps {
|
|
38
|
-
/**
|
|
39
|
-
* Slot content
|
|
40
|
-
*/
|
|
41
|
-
children?: Node;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Test ID for testing frameworks
|
|
45
|
-
*/
|
|
46
|
-
testID?: string;
|
|
47
|
-
}
|
|
48
|
-
declare var NavBarRoot: React.FC<NavBarProps>;
|
|
49
|
-
declare var NavBar: {
|
|
50
|
-
...React.FC<NavBarProps>,
|
|
51
|
-
...{
|
|
52
|
-
StartSlot: React.FC<NavBarSlotProps>,
|
|
53
|
-
Center: React.FC<NavBarSlotProps>,
|
|
54
|
-
EndSlot: React.FC<NavBarSlotProps>,
|
|
55
|
-
...
|
|
56
|
-
},
|
|
57
|
-
};
|
|
58
|
-
export type { NavBarProps, NavBarSlotProps };
|
|
59
|
-
declare export { NavBar, NavBarRoot };
|