@xsolla/xui-link 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 -66
- package/web/index.js.flow +0 -66
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsolla/xui-link",
|
|
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,66 +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 type LinkSize = "sm" | "md" | "lg";
|
|
10
|
-
declare interface LinkProps {
|
|
11
|
-
/**
|
|
12
|
-
* Property to specify the size of the link.
|
|
13
|
-
* @default "md"
|
|
14
|
-
*/
|
|
15
|
-
size?: LinkSize;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* The URL or path for the link.
|
|
19
|
-
*/
|
|
20
|
-
href?: string;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Callback fired when the link is clicked.
|
|
24
|
-
*/
|
|
25
|
-
onClick?: () => void;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Whether the link is disabled.
|
|
29
|
-
* @default false
|
|
30
|
-
*/
|
|
31
|
-
disabled?: boolean;
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Whether the link should have an underline.
|
|
35
|
-
* @default false
|
|
36
|
-
*/
|
|
37
|
-
underline?: boolean;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* The content of the link.
|
|
41
|
-
*/
|
|
42
|
-
children?: Node;
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Target attribute for the link (e.g., "_blank", "_self").
|
|
46
|
-
*/
|
|
47
|
-
target?: string;
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Rel attribute for the link (e.g., "noopener noreferrer").
|
|
51
|
-
*/
|
|
52
|
-
rel?: string;
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Custom color for the link text
|
|
56
|
-
*/
|
|
57
|
-
color?: string;
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Test ID for testing frameworks
|
|
61
|
-
*/
|
|
62
|
-
testID?: string;
|
|
63
|
-
}
|
|
64
|
-
declare var Link: React.FC<LinkProps>;
|
|
65
|
-
export type { LinkProps, LinkSize };
|
|
66
|
-
declare export { Link };
|
package/web/index.js.flow
DELETED
|
@@ -1,66 +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 type LinkSize = "sm" | "md" | "lg";
|
|
10
|
-
declare interface LinkProps {
|
|
11
|
-
/**
|
|
12
|
-
* Property to specify the size of the link.
|
|
13
|
-
* @default "md"
|
|
14
|
-
*/
|
|
15
|
-
size?: LinkSize;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* The URL or path for the link.
|
|
19
|
-
*/
|
|
20
|
-
href?: string;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Callback fired when the link is clicked.
|
|
24
|
-
*/
|
|
25
|
-
onClick?: () => void;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Whether the link is disabled.
|
|
29
|
-
* @default false
|
|
30
|
-
*/
|
|
31
|
-
disabled?: boolean;
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* Whether the link should have an underline.
|
|
35
|
-
* @default false
|
|
36
|
-
*/
|
|
37
|
-
underline?: boolean;
|
|
38
|
-
|
|
39
|
-
/**
|
|
40
|
-
* The content of the link.
|
|
41
|
-
*/
|
|
42
|
-
children?: Node;
|
|
43
|
-
|
|
44
|
-
/**
|
|
45
|
-
* Target attribute for the link (e.g., "_blank", "_self").
|
|
46
|
-
*/
|
|
47
|
-
target?: string;
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Rel attribute for the link (e.g., "noopener noreferrer").
|
|
51
|
-
*/
|
|
52
|
-
rel?: string;
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Custom color for the link text
|
|
56
|
-
*/
|
|
57
|
-
color?: string;
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* Test ID for testing frameworks
|
|
61
|
-
*/
|
|
62
|
-
testID?: string;
|
|
63
|
-
}
|
|
64
|
-
declare var Link: React.FC<LinkProps>;
|
|
65
|
-
export type { LinkProps, LinkSize };
|
|
66
|
-
declare export { Link };
|