@xsolla/xui-icons-product 0.73.0 → 0.75.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/native/index.js.flow +90 -0
- package/package.json +4 -2
- package/web/index.js.flow +90 -0
|
@@ -0,0 +1,90 @@
|
|
|
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 from "react";
|
|
9
|
+
declare interface ProductIconProps {
|
|
10
|
+
/**
|
|
11
|
+
* Size in pixels. Default: 24
|
|
12
|
+
*/
|
|
13
|
+
size?: number;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Icon color. If not provided, uses original colors
|
|
17
|
+
*/
|
|
18
|
+
color?: string;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Additional CSS class
|
|
22
|
+
*/
|
|
23
|
+
className?: string;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Inline styles
|
|
27
|
+
*/
|
|
28
|
+
style?: React.CSSProperties;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Test ID for testing frameworks (web)
|
|
32
|
+
*/
|
|
33
|
+
"data-testid"?: string;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Test ID for testing frameworks (React Native)
|
|
37
|
+
*/
|
|
38
|
+
testID?: string;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Accessible label for screen readers
|
|
42
|
+
*/
|
|
43
|
+
"aria-label"?: string;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Hide from screen readers (default: true if no aria-label)
|
|
47
|
+
*/
|
|
48
|
+
"aria-hidden"?: boolean;
|
|
49
|
+
}
|
|
50
|
+
declare type ProductIconComponent = React.FC<ProductIconProps>;
|
|
51
|
+
declare type ProductIconInternalProps = {
|
|
52
|
+
coloredContent: string,
|
|
53
|
+
monoContent: string,
|
|
54
|
+
...
|
|
55
|
+
} & ProductIconProps;
|
|
56
|
+
declare var BaseIcon: React.FC<ProductIconInternalProps>;
|
|
57
|
+
declare var Accelerator: React.FC<ProductIconProps>;
|
|
58
|
+
declare var AntiFraud: React.FC<ProductIconProps>;
|
|
59
|
+
declare var BuyButton: React.FC<ProductIconProps>;
|
|
60
|
+
declare var Documentation: React.FC<ProductIconProps>;
|
|
61
|
+
declare var Funding: React.FC<ProductIconProps>;
|
|
62
|
+
declare var Gip: React.FC<ProductIconProps>;
|
|
63
|
+
declare var InGameStore: React.FC<ProductIconProps>;
|
|
64
|
+
declare var Launcher: React.FC<ProductIconProps>;
|
|
65
|
+
declare var Login: React.FC<ProductIconProps>;
|
|
66
|
+
declare var PartnerNetwork: React.FC<ProductIconProps>;
|
|
67
|
+
declare var PayStation: React.FC<ProductIconProps>;
|
|
68
|
+
declare var PlayerInventory: React.FC<ProductIconProps>;
|
|
69
|
+
declare var Publisher: React.FC<ProductIconProps>;
|
|
70
|
+
declare var SiteBuilder: React.FC<ProductIconProps>;
|
|
71
|
+
declare var Subscriptions: React.FC<ProductIconProps>;
|
|
72
|
+
export type { ProductIconComponent, ProductIconProps };
|
|
73
|
+
declare export {
|
|
74
|
+
Accelerator,
|
|
75
|
+
AntiFraud,
|
|
76
|
+
BaseIcon,
|
|
77
|
+
BuyButton,
|
|
78
|
+
Documentation,
|
|
79
|
+
Funding,
|
|
80
|
+
Gip,
|
|
81
|
+
InGameStore,
|
|
82
|
+
Launcher,
|
|
83
|
+
Login,
|
|
84
|
+
PartnerNetwork,
|
|
85
|
+
PayStation,
|
|
86
|
+
PlayerInventory,
|
|
87
|
+
Publisher,
|
|
88
|
+
SiteBuilder,
|
|
89
|
+
Subscriptions,
|
|
90
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsolla/xui-icons-product",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.75.0",
|
|
4
4
|
"main": "./web/index.js",
|
|
5
5
|
"module": "./web/index.mjs",
|
|
6
6
|
"types": "./web/index.d.ts",
|
|
@@ -41,8 +41,10 @@
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
+
"@vitest/coverage-v8": "^4.0.18",
|
|
44
45
|
"tsup": "^8.0.0",
|
|
45
|
-
"typescript": "^5.0.0"
|
|
46
|
+
"typescript": "^5.0.0",
|
|
47
|
+
"vitest": "^4.0.18"
|
|
46
48
|
},
|
|
47
49
|
"scripts": {
|
|
48
50
|
"generate": "node scripts/generate-icons.js",
|
|
@@ -0,0 +1,90 @@
|
|
|
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 from "react";
|
|
9
|
+
declare interface ProductIconProps {
|
|
10
|
+
/**
|
|
11
|
+
* Size in pixels. Default: 24
|
|
12
|
+
*/
|
|
13
|
+
size?: number;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Icon color. If not provided, uses original colors
|
|
17
|
+
*/
|
|
18
|
+
color?: string;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Additional CSS class
|
|
22
|
+
*/
|
|
23
|
+
className?: string;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Inline styles
|
|
27
|
+
*/
|
|
28
|
+
style?: React.CSSProperties;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Test ID for testing frameworks (web)
|
|
32
|
+
*/
|
|
33
|
+
"data-testid"?: string;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Test ID for testing frameworks (React Native)
|
|
37
|
+
*/
|
|
38
|
+
testID?: string;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Accessible label for screen readers
|
|
42
|
+
*/
|
|
43
|
+
"aria-label"?: string;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Hide from screen readers (default: true if no aria-label)
|
|
47
|
+
*/
|
|
48
|
+
"aria-hidden"?: boolean;
|
|
49
|
+
}
|
|
50
|
+
declare type ProductIconComponent = React.FC<ProductIconProps>;
|
|
51
|
+
declare type ProductIconInternalProps = {
|
|
52
|
+
coloredContent: string,
|
|
53
|
+
monoContent: string,
|
|
54
|
+
...
|
|
55
|
+
} & ProductIconProps;
|
|
56
|
+
declare var BaseIcon: React.FC<ProductIconInternalProps>;
|
|
57
|
+
declare var Accelerator: React.FC<ProductIconProps>;
|
|
58
|
+
declare var AntiFraud: React.FC<ProductIconProps>;
|
|
59
|
+
declare var BuyButton: React.FC<ProductIconProps>;
|
|
60
|
+
declare var Documentation: React.FC<ProductIconProps>;
|
|
61
|
+
declare var Funding: React.FC<ProductIconProps>;
|
|
62
|
+
declare var Gip: React.FC<ProductIconProps>;
|
|
63
|
+
declare var InGameStore: React.FC<ProductIconProps>;
|
|
64
|
+
declare var Launcher: React.FC<ProductIconProps>;
|
|
65
|
+
declare var Login: React.FC<ProductIconProps>;
|
|
66
|
+
declare var PartnerNetwork: React.FC<ProductIconProps>;
|
|
67
|
+
declare var PayStation: React.FC<ProductIconProps>;
|
|
68
|
+
declare var PlayerInventory: React.FC<ProductIconProps>;
|
|
69
|
+
declare var Publisher: React.FC<ProductIconProps>;
|
|
70
|
+
declare var SiteBuilder: React.FC<ProductIconProps>;
|
|
71
|
+
declare var Subscriptions: React.FC<ProductIconProps>;
|
|
72
|
+
export type { ProductIconComponent, ProductIconProps };
|
|
73
|
+
declare export {
|
|
74
|
+
Accelerator,
|
|
75
|
+
AntiFraud,
|
|
76
|
+
BaseIcon,
|
|
77
|
+
BuyButton,
|
|
78
|
+
Documentation,
|
|
79
|
+
Funding,
|
|
80
|
+
Gip,
|
|
81
|
+
InGameStore,
|
|
82
|
+
Launcher,
|
|
83
|
+
Login,
|
|
84
|
+
PartnerNetwork,
|
|
85
|
+
PayStation,
|
|
86
|
+
PlayerInventory,
|
|
87
|
+
Publisher,
|
|
88
|
+
SiteBuilder,
|
|
89
|
+
Subscriptions,
|
|
90
|
+
};
|