@xsolla/xui-logos-xsolla 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 +1 -1
- package/native/index.js.flow +0 -98
- package/web/index.js.flow +0 -98
package/package.json
CHANGED
package/native/index.js.flow
DELETED
|
@@ -1,98 +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, { CSSProperties } from "react";
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Logo variant - full logo with icon and text, text only, or just the icon
|
|
12
|
-
*/
|
|
13
|
-
declare type LogoVariant = "full" | "text" | "icon";
|
|
14
|
-
/**
|
|
15
|
-
* Logo color variants matching brand guidelines
|
|
16
|
-
*/
|
|
17
|
-
declare type LogoColor = "black" | "brand" | "white";
|
|
18
|
-
/**
|
|
19
|
-
* Logo size presets
|
|
20
|
-
* - xs: 18px height
|
|
21
|
-
* - sm: 24px height (default)
|
|
22
|
-
* - md: 32px height
|
|
23
|
-
*/
|
|
24
|
-
declare type LogoSize = "xs" | "sm" | "md";
|
|
25
|
-
/**
|
|
26
|
-
* Size values in pixels for each preset
|
|
27
|
-
*/
|
|
28
|
-
declare var LOGO_SIZES: { [key: LogoSize]: number, ... };
|
|
29
|
-
/**
|
|
30
|
-
* Brand colors in hex values
|
|
31
|
-
*/
|
|
32
|
-
declare var LOGO_COLORS: { [key: LogoColor]: string, ... };
|
|
33
|
-
/**
|
|
34
|
-
* Props for the XsollaLogo component
|
|
35
|
-
*/
|
|
36
|
-
declare interface XsollaLogoProps {
|
|
37
|
-
/**
|
|
38
|
-
* Logo variant - 'full' shows icon + text, 'text' shows text only, 'icon' shows only the icon
|
|
39
|
-
* @default 'full'
|
|
40
|
-
*/
|
|
41
|
-
variant?: LogoVariant;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Logo color
|
|
45
|
-
* @default 'brand'
|
|
46
|
-
*/
|
|
47
|
-
color?: LogoColor;
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Logo size - preset name or custom pixel height
|
|
51
|
-
* @default 'sm' (24px)
|
|
52
|
-
*/
|
|
53
|
-
size?: LogoSize | number;
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Additional CSS class name
|
|
57
|
-
*/
|
|
58
|
-
className?: string;
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* Additional inline styles
|
|
62
|
-
*/
|
|
63
|
-
style?: CSSProperties;
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* Test ID for testing purposes
|
|
67
|
-
*/
|
|
68
|
-
"data-testid"?: string;
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Accessible label for screen readers
|
|
72
|
-
*/
|
|
73
|
-
"aria-label"?: string;
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Whether to hide from screen readers
|
|
77
|
-
*/
|
|
78
|
-
"aria-hidden"?: boolean;
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* React Native accessibility label
|
|
82
|
-
*/
|
|
83
|
-
accessibilityLabel?: string;
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Xsolla brand logo component
|
|
87
|
-
* @example // Full logo in brand color (default)
|
|
88
|
-
* <Xsolla />
|
|
89
|
-
* @example // Text only
|
|
90
|
-
* <Xsolla variant="text" />
|
|
91
|
-
* @example // Icon only
|
|
92
|
-
* <Xsolla variant="icon" />
|
|
93
|
-
* @example // Black color, medium size
|
|
94
|
-
* <Xsolla color="black" size="md" />
|
|
95
|
-
*/
|
|
96
|
-
declare var Xsolla: React.FC<XsollaLogoProps>;
|
|
97
|
-
export type { LogoColor, LogoSize, LogoVariant, XsollaLogoProps };
|
|
98
|
-
declare export { LOGO_COLORS, LOGO_SIZES, Xsolla, Xsolla as default };
|
package/web/index.js.flow
DELETED
|
@@ -1,98 +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, { CSSProperties } from "react";
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Logo variant - full logo with icon and text, text only, or just the icon
|
|
12
|
-
*/
|
|
13
|
-
declare type LogoVariant = "full" | "text" | "icon";
|
|
14
|
-
/**
|
|
15
|
-
* Logo color variants matching brand guidelines
|
|
16
|
-
*/
|
|
17
|
-
declare type LogoColor = "black" | "brand" | "white";
|
|
18
|
-
/**
|
|
19
|
-
* Logo size presets
|
|
20
|
-
* - xs: 18px height
|
|
21
|
-
* - sm: 24px height (default)
|
|
22
|
-
* - md: 32px height
|
|
23
|
-
*/
|
|
24
|
-
declare type LogoSize = "xs" | "sm" | "md";
|
|
25
|
-
/**
|
|
26
|
-
* Size values in pixels for each preset
|
|
27
|
-
*/
|
|
28
|
-
declare var LOGO_SIZES: { [key: LogoSize]: number, ... };
|
|
29
|
-
/**
|
|
30
|
-
* Brand colors in hex values
|
|
31
|
-
*/
|
|
32
|
-
declare var LOGO_COLORS: { [key: LogoColor]: string, ... };
|
|
33
|
-
/**
|
|
34
|
-
* Props for the XsollaLogo component
|
|
35
|
-
*/
|
|
36
|
-
declare interface XsollaLogoProps {
|
|
37
|
-
/**
|
|
38
|
-
* Logo variant - 'full' shows icon + text, 'text' shows text only, 'icon' shows only the icon
|
|
39
|
-
* @default 'full'
|
|
40
|
-
*/
|
|
41
|
-
variant?: LogoVariant;
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* Logo color
|
|
45
|
-
* @default 'brand'
|
|
46
|
-
*/
|
|
47
|
-
color?: LogoColor;
|
|
48
|
-
|
|
49
|
-
/**
|
|
50
|
-
* Logo size - preset name or custom pixel height
|
|
51
|
-
* @default 'sm' (24px)
|
|
52
|
-
*/
|
|
53
|
-
size?: LogoSize | number;
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* Additional CSS class name
|
|
57
|
-
*/
|
|
58
|
-
className?: string;
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* Additional inline styles
|
|
62
|
-
*/
|
|
63
|
-
style?: CSSProperties;
|
|
64
|
-
|
|
65
|
-
/**
|
|
66
|
-
* Test ID for testing purposes
|
|
67
|
-
*/
|
|
68
|
-
"data-testid"?: string;
|
|
69
|
-
|
|
70
|
-
/**
|
|
71
|
-
* Accessible label for screen readers
|
|
72
|
-
*/
|
|
73
|
-
"aria-label"?: string;
|
|
74
|
-
|
|
75
|
-
/**
|
|
76
|
-
* Whether to hide from screen readers
|
|
77
|
-
*/
|
|
78
|
-
"aria-hidden"?: boolean;
|
|
79
|
-
|
|
80
|
-
/**
|
|
81
|
-
* React Native accessibility label
|
|
82
|
-
*/
|
|
83
|
-
accessibilityLabel?: string;
|
|
84
|
-
}
|
|
85
|
-
/**
|
|
86
|
-
* Xsolla brand logo component
|
|
87
|
-
* @example // Full logo in brand color (default)
|
|
88
|
-
* <Xsolla />
|
|
89
|
-
* @example // Text only
|
|
90
|
-
* <Xsolla variant="text" />
|
|
91
|
-
* @example // Icon only
|
|
92
|
-
* <Xsolla variant="icon" />
|
|
93
|
-
* @example // Black color, medium size
|
|
94
|
-
* <Xsolla color="black" size="md" />
|
|
95
|
-
*/
|
|
96
|
-
declare var Xsolla: React.FC<XsollaLogoProps>;
|
|
97
|
-
export type { LogoColor, LogoSize, LogoVariant, XsollaLogoProps };
|
|
98
|
-
declare export { LOGO_COLORS, LOGO_SIZES, Xsolla, Xsolla as default };
|