@xsolla/xui-typography 0.119.0 → 0.120.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 -68
- package/web/index.js.flow +0 -68
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xsolla/xui-typography",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.120.0",
|
|
4
4
|
"main": "./web/index.js",
|
|
5
5
|
"module": "./web/index.mjs",
|
|
6
6
|
"types": "./web/index.d.ts",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"test:coverage": "vitest run --coverage"
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
|
-
"@xsolla/xui-core": "0.
|
|
17
|
-
"@xsolla/xui-primitives-core": "0.
|
|
16
|
+
"@xsolla/xui-core": "0.120.0",
|
|
17
|
+
"@xsolla/xui-primitives-core": "0.120.0"
|
|
18
18
|
},
|
|
19
19
|
"peerDependencies": {
|
|
20
20
|
"react": ">=16.8.0",
|
package/native/index.js.flow
DELETED
|
@@ -1,68 +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 * as react from "react";
|
|
9
|
-
import { Node, ElementType } from "react";
|
|
10
|
-
declare type AlignType = "center" | "inherit" | "justify" | "left" | "right";
|
|
11
|
-
declare type VariantType =
|
|
12
|
-
| "h1"
|
|
13
|
-
| "h2"
|
|
14
|
-
| "h3"
|
|
15
|
-
| "h4"
|
|
16
|
-
| "h5"
|
|
17
|
-
| "display"
|
|
18
|
-
| "bodyLg"
|
|
19
|
-
| "bodyLgAccent"
|
|
20
|
-
| "bodyLgParagraph"
|
|
21
|
-
| "bodyMd"
|
|
22
|
-
| "bodyMdAccent"
|
|
23
|
-
| "bodyMdParagraph"
|
|
24
|
-
| "bodySm"
|
|
25
|
-
| "bodySmAccent"
|
|
26
|
-
| "bodySmParagraph"
|
|
27
|
-
| "bodyXs"
|
|
28
|
-
| "bodyXsAccent"
|
|
29
|
-
| "bodyXsParagraph";
|
|
30
|
-
declare type ThemeColorType =
|
|
31
|
-
| "primary"
|
|
32
|
-
| "secondary"
|
|
33
|
-
| "tertiary"
|
|
34
|
-
| "brand"
|
|
35
|
-
| "brandSecondary"
|
|
36
|
-
| "success"
|
|
37
|
-
| "warning"
|
|
38
|
-
| "alert"
|
|
39
|
-
| "neutral";
|
|
40
|
-
declare type ColorType = ThemeColorType | "inherit";
|
|
41
|
-
declare type ProductContext = "b2c" | "b2b" | "paystation" | "presentation";
|
|
42
|
-
declare type TypographyProps = {
|
|
43
|
-
children?: Node,
|
|
44
|
-
align?: AlignType,
|
|
45
|
-
noWrap?: boolean,
|
|
46
|
-
variant?: VariantType,
|
|
47
|
-
color?: ColorType | string,
|
|
48
|
-
marginBottom?: number,
|
|
49
|
-
marginTop?: number,
|
|
50
|
-
as?: ElementType,
|
|
51
|
-
productContext?: ProductContext,
|
|
52
|
-
"aria-hidden"?: boolean,
|
|
53
|
-
"aria-live"?: "polite" | "assertive" | "off",
|
|
54
|
-
...
|
|
55
|
-
} & $Diff<any, { color: any }>;
|
|
56
|
-
declare var Typography: react.ForwardRefExoticComponent<{
|
|
57
|
-
...$Diff<TypographyProps, { ref: any }>,
|
|
58
|
-
...react.RefAttributes<any>,
|
|
59
|
-
}>;
|
|
60
|
-
export type {
|
|
61
|
-
AlignType,
|
|
62
|
-
ColorType,
|
|
63
|
-
ProductContext,
|
|
64
|
-
ThemeColorType,
|
|
65
|
-
TypographyProps,
|
|
66
|
-
VariantType,
|
|
67
|
-
};
|
|
68
|
-
declare export { Typography };
|
package/web/index.js.flow
DELETED
|
@@ -1,68 +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 * as react from "react";
|
|
9
|
-
import { Node, ElementType } from "react";
|
|
10
|
-
declare type AlignType = "center" | "inherit" | "justify" | "left" | "right";
|
|
11
|
-
declare type VariantType =
|
|
12
|
-
| "h1"
|
|
13
|
-
| "h2"
|
|
14
|
-
| "h3"
|
|
15
|
-
| "h4"
|
|
16
|
-
| "h5"
|
|
17
|
-
| "display"
|
|
18
|
-
| "bodyLg"
|
|
19
|
-
| "bodyLgAccent"
|
|
20
|
-
| "bodyLgParagraph"
|
|
21
|
-
| "bodyMd"
|
|
22
|
-
| "bodyMdAccent"
|
|
23
|
-
| "bodyMdParagraph"
|
|
24
|
-
| "bodySm"
|
|
25
|
-
| "bodySmAccent"
|
|
26
|
-
| "bodySmParagraph"
|
|
27
|
-
| "bodyXs"
|
|
28
|
-
| "bodyXsAccent"
|
|
29
|
-
| "bodyXsParagraph";
|
|
30
|
-
declare type ThemeColorType =
|
|
31
|
-
| "primary"
|
|
32
|
-
| "secondary"
|
|
33
|
-
| "tertiary"
|
|
34
|
-
| "brand"
|
|
35
|
-
| "brandSecondary"
|
|
36
|
-
| "success"
|
|
37
|
-
| "warning"
|
|
38
|
-
| "alert"
|
|
39
|
-
| "neutral";
|
|
40
|
-
declare type ColorType = ThemeColorType | "inherit";
|
|
41
|
-
declare type ProductContext = "b2c" | "b2b" | "paystation" | "presentation";
|
|
42
|
-
declare type TypographyProps = {
|
|
43
|
-
children?: Node,
|
|
44
|
-
align?: AlignType,
|
|
45
|
-
noWrap?: boolean,
|
|
46
|
-
variant?: VariantType,
|
|
47
|
-
color?: ColorType | string,
|
|
48
|
-
marginBottom?: number,
|
|
49
|
-
marginTop?: number,
|
|
50
|
-
as?: ElementType,
|
|
51
|
-
productContext?: ProductContext,
|
|
52
|
-
"aria-hidden"?: boolean,
|
|
53
|
-
"aria-live"?: "polite" | "assertive" | "off",
|
|
54
|
-
...
|
|
55
|
-
} & $Diff<any, { color: any }>;
|
|
56
|
-
declare var Typography: react.ForwardRefExoticComponent<{
|
|
57
|
-
...$Diff<TypographyProps, { ref: any }>,
|
|
58
|
-
...react.RefAttributes<any>,
|
|
59
|
-
}>;
|
|
60
|
-
export type {
|
|
61
|
-
AlignType,
|
|
62
|
-
ColorType,
|
|
63
|
-
ProductContext,
|
|
64
|
-
ThemeColorType,
|
|
65
|
-
TypographyProps,
|
|
66
|
-
VariantType,
|
|
67
|
-
};
|
|
68
|
-
declare export { Typography };
|