react-jupiter 5.11.28 → 5.11.30
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/avatar/index.js
CHANGED
package/button/index.js
CHANGED
package/button/theme.js
CHANGED
|
@@ -10,19 +10,19 @@ height:56
|
|
|
10
10
|
},
|
|
11
11
|
md:{
|
|
12
12
|
padding:"4px 32px",
|
|
13
|
-
font:
|
|
13
|
+
font:16,
|
|
14
14
|
minWidth:128,
|
|
15
15
|
height:48
|
|
16
16
|
},
|
|
17
17
|
sm:{
|
|
18
18
|
padding:"2px 16px",
|
|
19
|
-
font:
|
|
19
|
+
font:13,
|
|
20
20
|
minWidth:80,
|
|
21
21
|
height:36
|
|
22
22
|
},
|
|
23
23
|
xs:{
|
|
24
24
|
padding:"2px 8px",
|
|
25
|
-
font:
|
|
25
|
+
font:10,
|
|
26
26
|
minWidth:64,
|
|
27
27
|
height:32
|
|
28
28
|
}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
adsLabelUrl="https://evand
|
|
5
|
+
adsLabelUrl="https://static.evand.net/assets/images/other/ads-label.svg",
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
finishedLabelUrl="https://evand
|
|
8
|
+
finishedLabelUrl="https://static.evand.net/assets/images/other/finished-text-label.svg",
|
|
9
9
|
|
|
10
10
|
EventCardLabel=(a)=>{let{type:b}=a;
|
|
11
11
|
switch(b){
|
package/card/event-card/index.js
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
finishedClockLabelUrl="https://evand
|
|
28
|
+
finishedClockLabelUrl="https://static.evand.net/assets/images/other/finished-clock-label.svg",
|
|
29
29
|
defaultCoverUrl="https://static.evand.net/assets/images/defaults/event-cover.jpg",
|
|
30
30
|
EventCard=(a)=>
|
|
31
31
|
|
package/package.json
CHANGED
package/typography/text/index.js
CHANGED
|
@@ -23,17 +23,18 @@ const renderString=(a)=>
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
|
|
26
|
-
|
|
26
|
+
|
|
27
|
+
{let{size:d=_theme.default.defaultSize,color:e="default",underline:f=!1,lineThrough:g=!1,strong:h=!1,bold:i=!1,fontWight:j=400,emphasized:k=!1,subScript:l=!1,supScript:m=!1,marked:n=!1,label:o=!1,isDisplayBlock:p=!1,isCutWithEllipsis:q=!1,children:b,...c}=a;
|
|
27
28
|
if(void 0===b)return null;
|
|
28
29
|
|
|
29
|
-
let
|
|
30
|
+
let r;
|
|
30
31
|
|
|
31
32
|
|
|
32
33
|
|
|
33
34
|
|
|
34
35
|
|
|
35
36
|
|
|
36
|
-
switch(
|
|
37
|
+
switch(r=h?"strong":k?"emphasized":l?"subScript":m?"supScript":"span",r){
|
|
37
38
|
case"strong":
|
|
38
39
|
return/*#__PURE__*/(
|
|
39
40
|
_react.default.createElement(_index.Strong,_extends({
|
|
@@ -41,9 +42,9 @@ size:d,
|
|
|
41
42
|
color:e,
|
|
42
43
|
underline:f&&!g,
|
|
43
44
|
lineThrough:g&&!f,
|
|
44
|
-
emphasized:
|
|
45
|
-
marked:
|
|
46
|
-
isLabel:n
|
|
45
|
+
emphasized:k,
|
|
46
|
+
marked:n&&!o,
|
|
47
|
+
isLabel:o&&!n,
|
|
47
48
|
"data-test":"strong"},
|
|
48
49
|
c),
|
|
49
50
|
|
|
@@ -58,8 +59,8 @@ color:e,
|
|
|
58
59
|
underline:f&&!g,
|
|
59
60
|
lineThrough:g&&!f,
|
|
60
61
|
bold:i,
|
|
61
|
-
marked:
|
|
62
|
-
isLabel:n
|
|
62
|
+
marked:n&&!o,
|
|
63
|
+
isLabel:o&&!n,
|
|
63
64
|
"data-test":"emphasized"},
|
|
64
65
|
c),
|
|
65
66
|
|
|
@@ -86,12 +87,13 @@ spanSize:d,
|
|
|
86
87
|
spanColor:e,
|
|
87
88
|
underline:f&&!g,
|
|
88
89
|
lineThrough:g&&!f,
|
|
89
|
-
marked:
|
|
90
|
-
isLabel:n
|
|
90
|
+
marked:n&&!o,
|
|
91
|
+
isLabel:o&&!n,
|
|
91
92
|
bold:i,
|
|
93
|
+
fontWight:j,
|
|
92
94
|
"data-test":"span",
|
|
93
|
-
isDisplayBlock:
|
|
94
|
-
isCutWithEllipsis:
|
|
95
|
+
isDisplayBlock:p,
|
|
96
|
+
isCutWithEllipsis:q},
|
|
95
97
|
c),
|
|
96
98
|
|
|
97
99
|
b
|
|
@@ -30,13 +30,13 @@ b.colors.gray400,"; padding: 2px 8px; border-radius: 2px;"):
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
String=exports.String=_styledComponents.default.span(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["\n font-family: 'IranSharp';\n font-size: ",";\n ","\n ","\n color: ",";\n ","
|
|
33
|
+
String=exports.String=_styledComponents.default.span(_templateObject3||(_templateObject3=_taggedTemplateLiteral(["\n font-family: 'IranSharp';\n font-size: ",";\n ","\n ","\n color: ",";\n font-weight: ",";\n ","\n ","\n ","\n ","\n ","\n"])),
|
|
34
34
|
|
|
35
35
|
(a)=>{let{spanSize:b}=a;return"".concat(b,"px")},
|
|
36
36
|
(a)=>{let{underline:b}=a;return b?"text-decoration: underline;":""},
|
|
37
37
|
(a)=>{let{lineThrough:b}=a;return b?"text-decoration: line-through;":""},
|
|
38
38
|
(a)=>{let{theme:b,spanColor:c}=a;return(0,_theme.getColorFromName)(b,c)},
|
|
39
|
-
(a)=>{let{bold:b}=a;return b?"
|
|
39
|
+
(a)=>{let{bold:b,fontWeight:c}=a;return b?"bold":c},
|
|
40
40
|
(a)=>{let{theme:b,marked:c}=a;return c?"background-color: ".concat(b.colors.blue200,";"):""},
|
|
41
41
|
(a)=>{let{theme:b,isLabel:c}=a;return c?"background-color: ".concat(
|
|
42
42
|
b.colors.gray400,"; padding: 2px 8px; border-radius: 2px;"):
|