@salutejs/plasma-new-hope 0.192.3-canary.1550.11813906469.0 → 0.193.0-canary.1546.11814894884.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cjs/components/Badge/Badge.css +4 -4
- package/cjs/components/Badge/Badge.js +17 -7
- package/cjs/components/Badge/Badge.js.map +1 -1
- package/cjs/components/Badge/Badge.tokens.js +10 -5
- package/cjs/components/Badge/Badge.tokens.js.map +1 -1
- package/cjs/components/Badge/variations/_clear/base.js +1 -1
- package/cjs/components/Badge/variations/_clear/base.js.map +1 -1
- package/cjs/components/Badge/variations/_clear/base_wiboj8.css +1 -0
- package/cjs/components/Badge/variations/_size/base.js +1 -1
- package/cjs/components/Badge/variations/_size/base.js.map +1 -1
- package/{es/components/Badge/variations/_size/base_to0y5x.css → cjs/components/Badge/variations/_size/base_bu5opk.css} +1 -1
- package/cjs/components/Badge/variations/_transparent/base.js +1 -1
- package/cjs/components/Badge/variations/_transparent/base.js.map +1 -1
- package/cjs/components/Badge/variations/_transparent/base_aapqhz.css +1 -0
- package/cjs/components/Badge/variations/_view/base.js +1 -1
- package/cjs/components/Badge/variations/_view/base.js.map +1 -1
- package/cjs/components/Badge/variations/_view/base_j3xzf3.css +1 -0
- package/cjs/index.css +4 -4
- package/emotion/cjs/components/Badge/Badge.js +17 -7
- package/emotion/cjs/components/Badge/Badge.tokens.js +10 -6
- package/emotion/cjs/components/Badge/variations/_clear/base.js +1 -1
- package/emotion/cjs/components/Badge/variations/_size/base.js +2 -1
- package/emotion/cjs/components/Badge/variations/_transparent/base.js +1 -1
- package/emotion/cjs/components/Badge/variations/_view/base.js +1 -1
- package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +15 -15
- package/emotion/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +23 -6
- package/emotion/cjs/examples/plasma_web/components/Badge/Badge.config.js +14 -14
- package/emotion/cjs/examples/plasma_web/components/Badge/Badge.stories.tsx +27 -6
- package/emotion/es/components/Badge/Badge.js +18 -8
- package/emotion/es/components/Badge/Badge.tokens.js +9 -5
- package/emotion/es/components/Badge/variations/_clear/base.js +2 -2
- package/emotion/es/components/Badge/variations/_size/base.js +3 -2
- package/emotion/es/components/Badge/variations/_transparent/base.js +2 -2
- package/emotion/es/components/Badge/variations/_view/base.js +2 -2
- package/emotion/es/examples/plasma_b2c/components/Badge/Badge.config.js +15 -15
- package/emotion/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +23 -6
- package/emotion/es/examples/plasma_web/components/Badge/Badge.config.js +14 -14
- package/emotion/es/examples/plasma_web/components/Badge/Badge.stories.tsx +27 -6
- package/es/components/Badge/Badge.css +4 -4
- package/es/components/Badge/Badge.js +20 -10
- package/es/components/Badge/Badge.js.map +1 -1
- package/es/components/Badge/Badge.tokens.js +10 -6
- package/es/components/Badge/Badge.tokens.js.map +1 -1
- package/es/components/Badge/variations/_clear/base.js +1 -1
- package/es/components/Badge/variations/_clear/base.js.map +1 -1
- package/es/components/Badge/variations/_clear/base_wiboj8.css +1 -0
- package/es/components/Badge/variations/_size/base.js +1 -1
- package/es/components/Badge/variations/_size/base.js.map +1 -1
- package/{cjs/components/Badge/variations/_size/base_to0y5x.css → es/components/Badge/variations/_size/base_bu5opk.css} +1 -1
- package/es/components/Badge/variations/_transparent/base.js +1 -1
- package/es/components/Badge/variations/_transparent/base.js.map +1 -1
- package/es/components/Badge/variations/_transparent/base_aapqhz.css +1 -0
- package/es/components/Badge/variations/_view/base.js +1 -1
- package/es/components/Badge/variations/_view/base.js.map +1 -1
- package/es/components/Badge/variations/_view/base_j3xzf3.css +1 -0
- package/es/index.css +4 -4
- package/package.json +2 -2
- package/styled-components/cjs/components/Badge/Badge.js +17 -7
- package/styled-components/cjs/components/Badge/Badge.tokens.js +10 -6
- package/styled-components/cjs/components/Badge/variations/_clear/base.js +1 -1
- package/styled-components/cjs/components/Badge/variations/_size/base.js +2 -1
- package/styled-components/cjs/components/Badge/variations/_transparent/base.js +1 -1
- package/styled-components/cjs/components/Badge/variations/_view/base.js +1 -1
- package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.config.js +5 -5
- package/styled-components/cjs/examples/plasma_b2c/components/Badge/Badge.stories.tsx +23 -6
- package/styled-components/cjs/examples/plasma_web/components/Badge/Badge.config.js +5 -5
- package/styled-components/cjs/examples/plasma_web/components/Badge/Badge.stories.tsx +27 -6
- package/styled-components/es/components/Badge/Badge.js +18 -8
- package/styled-components/es/components/Badge/Badge.tokens.js +9 -5
- package/styled-components/es/components/Badge/variations/_clear/base.js +2 -2
- package/styled-components/es/components/Badge/variations/_size/base.js +3 -2
- package/styled-components/es/components/Badge/variations/_transparent/base.js +2 -2
- package/styled-components/es/components/Badge/variations/_view/base.js +2 -2
- package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.config.js +5 -5
- package/styled-components/es/examples/plasma_b2c/components/Badge/Badge.stories.tsx +23 -6
- package/styled-components/es/examples/plasma_web/components/Badge/Badge.config.js +5 -5
- package/styled-components/es/examples/plasma_web/components/Badge/Badge.stories.tsx +27 -6
- package/types/components/Badge/Badge.d.ts.map +1 -1
- package/types/components/Badge/Badge.tokens.d.ts +8 -4
- package/types/components/Badge/Badge.tokens.d.ts.map +1 -1
- package/types/components/Badge/Badge.types.d.ts +18 -5
- package/types/components/Badge/Badge.types.d.ts.map +1 -1
- package/types/components/Badge/variations/_clear/base.d.ts.map +1 -1
- package/types/components/Badge/variations/_size/base.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Badge/Badge.config.d.ts.map +1 -1
- package/types/examples/plasma_b2c/components/Badge/Badge.d.ts +61 -4
- package/types/examples/plasma_b2c/components/Badge/Badge.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Badge/Badge.config.d.ts.map +1 -1
- package/types/examples/plasma_web/components/Badge/Badge.d.ts +61 -4
- package/types/examples/plasma_web/components/Badge/Badge.d.ts.map +1 -1
- package/cjs/components/Badge/variations/_clear/base_oopyb7.css +0 -1
- package/cjs/components/Badge/variations/_transparent/base_1l6036y.css +0 -1
- package/cjs/components/Badge/variations/_view/base_qlxank.css +0 -1
- package/es/components/Badge/variations/_clear/base_oopyb7.css +0 -1
- package/es/components/Badge/variations/_transparent/base_1l6036y.css +0 -1
- package/es/components/Badge/variations/_view/base_qlxank.css +0 -1
@@ -29,11 +29,14 @@ export declare const Badge: import("react").FunctionComponent<import("../../../.
|
|
29
29
|
};
|
30
30
|
}> & ((import("react").HTMLAttributes<HTMLDivElement> & {
|
31
31
|
text?: string | undefined;
|
32
|
-
|
33
|
-
|
32
|
+
customColor?: string | undefined;
|
33
|
+
customBackgroundColor?: string | undefined;
|
34
34
|
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
35
35
|
size?: string | undefined;
|
36
36
|
view?: string | undefined;
|
37
|
+
} & {
|
38
|
+
contentLeft?: import("react").ReactNode;
|
39
|
+
contentRight?: undefined;
|
37
40
|
} & {
|
38
41
|
children?: import("react").ReactNode;
|
39
42
|
} & {
|
@@ -42,11 +45,14 @@ export declare const Badge: import("react").FunctionComponent<import("../../../.
|
|
42
45
|
transparent?: false | undefined;
|
43
46
|
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
44
47
|
text?: string | undefined;
|
45
|
-
|
46
|
-
|
48
|
+
customColor?: string | undefined;
|
49
|
+
customBackgroundColor?: string | undefined;
|
47
50
|
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
48
51
|
size?: string | undefined;
|
49
52
|
view?: string | undefined;
|
53
|
+
} & {
|
54
|
+
contentLeft?: import("react").ReactNode;
|
55
|
+
contentRight?: undefined;
|
50
56
|
} & {
|
51
57
|
children?: import("react").ReactNode;
|
52
58
|
} & {
|
@@ -55,11 +61,62 @@ export declare const Badge: import("react").FunctionComponent<import("../../../.
|
|
55
61
|
clear?: false | undefined;
|
56
62
|
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
57
63
|
text?: string | undefined;
|
64
|
+
customColor?: string | undefined;
|
65
|
+
customBackgroundColor?: string | undefined;
|
66
|
+
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
67
|
+
size?: string | undefined;
|
68
|
+
view?: string | undefined;
|
69
|
+
} & {
|
58
70
|
contentLeft?: import("react").ReactNode;
|
71
|
+
contentRight?: undefined;
|
72
|
+
} & {
|
73
|
+
children?: import("react").ReactNode;
|
74
|
+
} & {
|
75
|
+
pilled?: boolean | undefined;
|
76
|
+
transparent?: true | undefined;
|
77
|
+
clear?: false | undefined;
|
78
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
79
|
+
text?: string | undefined;
|
80
|
+
customColor?: string | undefined;
|
81
|
+
customBackgroundColor?: string | undefined;
|
82
|
+
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
83
|
+
size?: string | undefined;
|
84
|
+
view?: string | undefined;
|
85
|
+
} & {
|
86
|
+
contentLeft?: undefined;
|
59
87
|
contentRight?: import("react").ReactNode;
|
88
|
+
} & {
|
89
|
+
children?: import("react").ReactNode;
|
90
|
+
} & {
|
91
|
+
clear?: true | undefined;
|
92
|
+
pilled?: false | undefined;
|
93
|
+
transparent?: false | undefined;
|
94
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
95
|
+
text?: string | undefined;
|
96
|
+
customColor?: string | undefined;
|
97
|
+
customBackgroundColor?: string | undefined;
|
60
98
|
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
61
99
|
size?: string | undefined;
|
62
100
|
view?: string | undefined;
|
101
|
+
} & {
|
102
|
+
contentLeft?: undefined;
|
103
|
+
contentRight?: import("react").ReactNode;
|
104
|
+
} & {
|
105
|
+
children?: import("react").ReactNode;
|
106
|
+
} & {
|
107
|
+
pilled?: true | undefined;
|
108
|
+
transparent?: boolean | undefined;
|
109
|
+
clear?: false | undefined;
|
110
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
111
|
+
text?: string | undefined;
|
112
|
+
customColor?: string | undefined;
|
113
|
+
customBackgroundColor?: string | undefined;
|
114
|
+
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
115
|
+
size?: string | undefined;
|
116
|
+
view?: string | undefined;
|
117
|
+
} & {
|
118
|
+
contentLeft?: undefined;
|
119
|
+
contentRight?: import("react").ReactNode;
|
63
120
|
} & {
|
64
121
|
children?: import("react").ReactNode;
|
65
122
|
} & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Badge/Badge.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,KAAK
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_b2c/components/Badge/Badge.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAA0B,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Badge.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Badge/Badge.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
1
|
+
{"version":3,"file":"Badge.config.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Badge/Badge.config.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmKlB,CAAC"}
|
@@ -26,11 +26,14 @@ export declare const Badge: import("react").FunctionComponent<import("../../../.
|
|
26
26
|
};
|
27
27
|
}> & ((import("react").HTMLAttributes<HTMLDivElement> & {
|
28
28
|
text?: string | undefined;
|
29
|
-
|
30
|
-
|
29
|
+
customColor?: string | undefined;
|
30
|
+
customBackgroundColor?: string | undefined;
|
31
31
|
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
32
32
|
size?: string | undefined;
|
33
33
|
view?: string | undefined;
|
34
|
+
} & {
|
35
|
+
contentLeft?: import("react").ReactNode;
|
36
|
+
contentRight?: undefined;
|
34
37
|
} & {
|
35
38
|
children?: import("react").ReactNode;
|
36
39
|
} & {
|
@@ -39,11 +42,14 @@ export declare const Badge: import("react").FunctionComponent<import("../../../.
|
|
39
42
|
transparent?: false | undefined;
|
40
43
|
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
41
44
|
text?: string | undefined;
|
42
|
-
|
43
|
-
|
45
|
+
customColor?: string | undefined;
|
46
|
+
customBackgroundColor?: string | undefined;
|
44
47
|
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
45
48
|
size?: string | undefined;
|
46
49
|
view?: string | undefined;
|
50
|
+
} & {
|
51
|
+
contentLeft?: import("react").ReactNode;
|
52
|
+
contentRight?: undefined;
|
47
53
|
} & {
|
48
54
|
children?: import("react").ReactNode;
|
49
55
|
} & {
|
@@ -52,11 +58,62 @@ export declare const Badge: import("react").FunctionComponent<import("../../../.
|
|
52
58
|
clear?: false | undefined;
|
53
59
|
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
54
60
|
text?: string | undefined;
|
61
|
+
customColor?: string | undefined;
|
62
|
+
customBackgroundColor?: string | undefined;
|
63
|
+
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
64
|
+
size?: string | undefined;
|
65
|
+
view?: string | undefined;
|
66
|
+
} & {
|
55
67
|
contentLeft?: import("react").ReactNode;
|
68
|
+
contentRight?: undefined;
|
69
|
+
} & {
|
70
|
+
children?: import("react").ReactNode;
|
71
|
+
} & {
|
72
|
+
pilled?: boolean | undefined;
|
73
|
+
transparent?: true | undefined;
|
74
|
+
clear?: false | undefined;
|
75
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
76
|
+
text?: string | undefined;
|
77
|
+
customColor?: string | undefined;
|
78
|
+
customBackgroundColor?: string | undefined;
|
79
|
+
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
80
|
+
size?: string | undefined;
|
81
|
+
view?: string | undefined;
|
82
|
+
} & {
|
83
|
+
contentLeft?: undefined;
|
56
84
|
contentRight?: import("react").ReactNode;
|
85
|
+
} & {
|
86
|
+
children?: import("react").ReactNode;
|
87
|
+
} & {
|
88
|
+
clear?: true | undefined;
|
89
|
+
pilled?: false | undefined;
|
90
|
+
transparent?: false | undefined;
|
91
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
92
|
+
text?: string | undefined;
|
93
|
+
customColor?: string | undefined;
|
94
|
+
customBackgroundColor?: string | undefined;
|
57
95
|
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
58
96
|
size?: string | undefined;
|
59
97
|
view?: string | undefined;
|
98
|
+
} & {
|
99
|
+
contentLeft?: undefined;
|
100
|
+
contentRight?: import("react").ReactNode;
|
101
|
+
} & {
|
102
|
+
children?: import("react").ReactNode;
|
103
|
+
} & {
|
104
|
+
pilled?: true | undefined;
|
105
|
+
transparent?: boolean | undefined;
|
106
|
+
clear?: false | undefined;
|
107
|
+
} & import("react").RefAttributes<HTMLDivElement>) | (import("react").HTMLAttributes<HTMLDivElement> & {
|
108
|
+
text?: string | undefined;
|
109
|
+
customColor?: string | undefined;
|
110
|
+
customBackgroundColor?: string | undefined;
|
111
|
+
maxWidth?: import("csstype").Property.Width<string | number> | undefined;
|
112
|
+
size?: string | undefined;
|
113
|
+
view?: string | undefined;
|
114
|
+
} & {
|
115
|
+
contentLeft?: undefined;
|
116
|
+
contentRight?: import("react").ReactNode;
|
60
117
|
} & {
|
61
118
|
children?: import("react").ReactNode;
|
62
119
|
} & {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Badge/Badge.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,KAAK
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../src/examples/plasma_web/components/Badge/Badge.ts"],"names":[],"mappings":";AAOA,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDAA0B,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
.b1e1wuvi.badge-clear{color:var(--plasma-badge-color-clear);background-color:transparent;padding:0;}
|
@@ -1 +0,0 @@
|
|
1
|
-
.binquhc.badge-transparent{color:var(--plasma-badge-color-transparent);background-color:var(--plasma-badge-background-transparent);}
|
@@ -1 +0,0 @@
|
|
1
|
-
.b5zny0e{color:var(--plasma-badge-color);background-color:var(--plasma-badge-background);}
|
@@ -1 +0,0 @@
|
|
1
|
-
.b1e1wuvi.badge-clear{color:var(--plasma-badge-color-clear);background-color:transparent;padding:0;}
|
@@ -1 +0,0 @@
|
|
1
|
-
.binquhc.badge-transparent{color:var(--plasma-badge-color-transparent);background-color:var(--plasma-badge-background-transparent);}
|
@@ -1 +0,0 @@
|
|
1
|
-
.b5zny0e{color:var(--plasma-badge-color);background-color:var(--plasma-badge-background);}
|