@xsolla/xui-icon-wrapper 0.74.0 → 0.76.0-pr116.1769658469
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 +46 -0
- package/package.json +4 -4
- package/web/index.js.flow +46 -0
|
@@ -0,0 +1,46 @@
|
|
|
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 IconWrapperProps {
|
|
10
|
+
/**
|
|
11
|
+
* Size of the wrapper
|
|
12
|
+
*/
|
|
13
|
+
size?: "xl" | "lg" | "md" | "sm" | "xs" | "xxs";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Shape of the wrapper
|
|
17
|
+
*/
|
|
18
|
+
shape?: "none" | "full" | "smooth";
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Type of content being wrapped. Affects default styling.
|
|
22
|
+
*/
|
|
23
|
+
type?: "icon" | "label" | "image" | "avatar" | "brand" | "custom";
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Children to be rendered inside the wrapper
|
|
27
|
+
*/
|
|
28
|
+
children?: React.ReactNode;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Background color override
|
|
32
|
+
*/
|
|
33
|
+
backgroundColor?: string;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Border color override
|
|
37
|
+
*/
|
|
38
|
+
borderColor?: string;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* A universal container component used to display small visual elements in a consistent and scalable way.
|
|
42
|
+
* It ensures uniform sizing, alignment, and shapes across different types of content.
|
|
43
|
+
*/
|
|
44
|
+
declare var IconWrapper: React.FC<IconWrapperProps>;
|
|
45
|
+
export type { IconWrapperProps };
|
|
46
|
+
declare export { IconWrapper };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsolla/xui-icon-wrapper",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.76.0-pr116.1769658469",
|
|
4
4
|
"main": "./web/index.js",
|
|
5
5
|
"module": "./web/index.mjs",
|
|
6
6
|
"types": "./web/index.d.ts",
|
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
"build:native": "PLATFORM=native tsup"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xsolla/xui-core": "0.
|
|
14
|
-
"@xsolla/xui-icons": "0.
|
|
15
|
-
"@xsolla/xui-primitives-core": "0.
|
|
13
|
+
"@xsolla/xui-core": "0.76.0-pr116.1769658469",
|
|
14
|
+
"@xsolla/xui-icons": "0.76.0-pr116.1769658469",
|
|
15
|
+
"@xsolla/xui-primitives-core": "0.76.0-pr116.1769658469"
|
|
16
16
|
},
|
|
17
17
|
"peerDependencies": {
|
|
18
18
|
"react": ">=16.8.0",
|
|
@@ -0,0 +1,46 @@
|
|
|
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 IconWrapperProps {
|
|
10
|
+
/**
|
|
11
|
+
* Size of the wrapper
|
|
12
|
+
*/
|
|
13
|
+
size?: "xl" | "lg" | "md" | "sm" | "xs" | "xxs";
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Shape of the wrapper
|
|
17
|
+
*/
|
|
18
|
+
shape?: "none" | "full" | "smooth";
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Type of content being wrapped. Affects default styling.
|
|
22
|
+
*/
|
|
23
|
+
type?: "icon" | "label" | "image" | "avatar" | "brand" | "custom";
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Children to be rendered inside the wrapper
|
|
27
|
+
*/
|
|
28
|
+
children?: React.ReactNode;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Background color override
|
|
32
|
+
*/
|
|
33
|
+
backgroundColor?: string;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Border color override
|
|
37
|
+
*/
|
|
38
|
+
borderColor?: string;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* A universal container component used to display small visual elements in a consistent and scalable way.
|
|
42
|
+
* It ensures uniform sizing, alignment, and shapes across different types of content.
|
|
43
|
+
*/
|
|
44
|
+
declare var IconWrapper: React.FC<IconWrapperProps>;
|
|
45
|
+
export type { IconWrapperProps };
|
|
46
|
+
declare export { IconWrapper };
|