@pingux/astro 2.138.0-alpha.3 → 2.138.0-alpha.4
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/lib/cjs/components/Messages/Message.js +2 -1
- package/lib/cjs/components/Text/Text.styles.d.ts +841 -0
- package/lib/cjs/components/Text/Text.styles.js +2 -1
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.d.ts +20 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +5 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/message.d.ts +6 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/message.js +7 -1
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/text.d.ts +7 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/text.js +7 -0
- package/lib/cjs/styles/themeOverrides/nextGenDarkMode/variants/variants.d.ts +6 -0
- package/lib/cjs/styles/themes/next-gen/next-gen.d.ts +37 -1
- package/lib/cjs/styles/themes/next-gen/variants/button.d.ts +11 -0
- package/lib/cjs/styles/themes/next-gen/variants/button.js +13 -1
- package/lib/cjs/styles/themes/next-gen/variants/messages.d.ts +16 -1
- package/lib/cjs/styles/themes/next-gen/variants/messages.js +25 -10
- package/lib/cjs/styles/themes/next-gen/variants/text.d.ts +10 -0
- package/lib/cjs/styles/themes/next-gen/variants/text.js +10 -0
- package/lib/cjs/styles/themes/next-gen/variants/variants.d.ts +16 -1
- package/lib/components/Messages/Message.js +2 -1
- package/lib/components/Text/Text.styles.js +2 -1
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/buttons.js +5 -0
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/message.js +7 -1
- package/lib/styles/themeOverrides/nextGenDarkMode/variants/text.js +7 -0
- package/lib/styles/themes/next-gen/variants/button.js +13 -1
- package/lib/styles/themes/next-gen/variants/messages.js +25 -10
- package/lib/styles/themes/next-gen/variants/text.js +10 -0
- package/package.json +1 -1
@@ -248,6 +248,7 @@ var text = _objectSpread(_objectSpread(_objectSpread({
|
|
248
248
|
textEllipsis: textEllipsis,
|
249
249
|
title: title,
|
250
250
|
copyRightText: copyRightText,
|
251
|
-
attachmentTitle: attachmentTitle
|
251
|
+
attachmentTitle: attachmentTitle,
|
252
|
+
messagesText: _objectSpread({}, base)
|
252
253
|
});
|
253
254
|
exports.text = text;
|
@@ -252,6 +252,26 @@ declare const buttons: {
|
|
252
252
|
};
|
253
253
|
};
|
254
254
|
};
|
255
|
+
messageCloseButton: {
|
256
|
+
'&.is-hovered': {
|
257
|
+
backgroundColor: string;
|
258
|
+
};
|
259
|
+
path: {
|
260
|
+
fill: string;
|
261
|
+
};
|
262
|
+
'&.is-focused': {
|
263
|
+
outline: string;
|
264
|
+
outlineColor: string;
|
265
|
+
outlineOffset: string;
|
266
|
+
};
|
267
|
+
'&.is-pressed': {
|
268
|
+
backgroundColor: string;
|
269
|
+
borderColor: string;
|
270
|
+
path: {
|
271
|
+
fill: string;
|
272
|
+
};
|
273
|
+
};
|
274
|
+
};
|
255
275
|
};
|
256
276
|
};
|
257
277
|
export default buttons;
|
@@ -10,7 +10,7 @@ var message = {
|
|
10
10
|
backgroundColor: 'background.secondary',
|
11
11
|
color: 'white !important',
|
12
12
|
'> span': {
|
13
|
-
color: '
|
13
|
+
color: 'white !important'
|
14
14
|
},
|
15
15
|
'&.is-success': {
|
16
16
|
bg: 'background.secondary',
|
@@ -52,6 +52,12 @@ var message = {
|
|
52
52
|
fill: 'text.message'
|
53
53
|
}
|
54
54
|
},
|
55
|
+
'&.is-default, > button > svg': {
|
56
|
+
color: 'white !important',
|
57
|
+
path: {
|
58
|
+
fill: 'text.message'
|
59
|
+
}
|
60
|
+
},
|
55
61
|
'&.is-error': {
|
56
62
|
borderLeftColor: 'red-500'
|
57
63
|
}
|
@@ -1198,6 +1198,17 @@ declare const _default: {
|
|
1198
1198
|
};
|
1199
1199
|
};
|
1200
1200
|
messageCloseButton: {
|
1201
|
+
minWidth: string;
|
1202
|
+
width: string;
|
1203
|
+
height: string;
|
1204
|
+
'& > svg': {
|
1205
|
+
minWidth: string;
|
1206
|
+
width: string;
|
1207
|
+
height: string;
|
1208
|
+
path: {
|
1209
|
+
fill: string;
|
1210
|
+
};
|
1211
|
+
};
|
1201
1212
|
cursor: string;
|
1202
1213
|
transition: string;
|
1203
1214
|
outline: string;
|
@@ -1763,6 +1774,16 @@ declare const _default: {
|
|
1763
1774
|
fontSize: string;
|
1764
1775
|
fontWeight: number;
|
1765
1776
|
};
|
1777
|
+
messagesText: {
|
1778
|
+
'&.is-success, &.is-warning, &.is-error, &.is-default': {
|
1779
|
+
color: string;
|
1780
|
+
'& > a': {
|
1781
|
+
fontWeight: string;
|
1782
|
+
textDecoration: string;
|
1783
|
+
color: string;
|
1784
|
+
};
|
1785
|
+
};
|
1786
|
+
};
|
1766
1787
|
h1: {
|
1767
1788
|
fontSize: string;
|
1768
1789
|
fontWeight: number;
|
@@ -3489,6 +3510,9 @@ declare const _default: {
|
|
3489
3510
|
};
|
3490
3511
|
};
|
3491
3512
|
message: {
|
3513
|
+
wrapper: {
|
3514
|
+
gap: string;
|
3515
|
+
};
|
3492
3516
|
item: {
|
3493
3517
|
maxWidth: number;
|
3494
3518
|
pointerEvents: string;
|
@@ -3502,7 +3526,20 @@ declare const _default: {
|
|
3502
3526
|
borderLeftColor: string;
|
3503
3527
|
color: string;
|
3504
3528
|
fontSize: string;
|
3529
|
+
lineHeight: string;
|
3505
3530
|
borderRadius: number;
|
3531
|
+
'& > svg': {
|
3532
|
+
minWidth: string;
|
3533
|
+
width: string;
|
3534
|
+
height: string;
|
3535
|
+
color: string;
|
3536
|
+
path: {
|
3537
|
+
fill: string;
|
3538
|
+
transform: string;
|
3539
|
+
transformOrigin: string;
|
3540
|
+
};
|
3541
|
+
alignSelf: string;
|
3542
|
+
};
|
3506
3543
|
'&.is-success': {
|
3507
3544
|
bg: string;
|
3508
3545
|
borderLeftColor: string;
|
@@ -3515,7 +3552,6 @@ declare const _default: {
|
|
3515
3552
|
};
|
3516
3553
|
'&.is-error, > .is-error': {
|
3517
3554
|
bg: string;
|
3518
|
-
color: string;
|
3519
3555
|
};
|
3520
3556
|
'&.is-error, > button > svg': {
|
3521
3557
|
color: string;
|
@@ -942,6 +942,17 @@ declare const buttons: {
|
|
942
942
|
};
|
943
943
|
};
|
944
944
|
messageCloseButton: {
|
945
|
+
minWidth: string;
|
946
|
+
width: string;
|
947
|
+
height: string;
|
948
|
+
'& > svg': {
|
949
|
+
minWidth: string;
|
950
|
+
width: string;
|
951
|
+
height: string;
|
952
|
+
path: {
|
953
|
+
fill: string;
|
954
|
+
};
|
955
|
+
};
|
945
956
|
cursor: string;
|
946
957
|
transition: string;
|
947
958
|
outline: string;
|
@@ -452,7 +452,19 @@ var iconButtons = {
|
|
452
452
|
}
|
453
453
|
}, transitions)
|
454
454
|
},
|
455
|
-
messageCloseButton: _objectSpread({}, baseIconButton),
|
455
|
+
messageCloseButton: _objectSpread(_objectSpread({}, baseIconButton), {}, {
|
456
|
+
minWidth: '28px',
|
457
|
+
width: '28px',
|
458
|
+
height: '28px',
|
459
|
+
'& > svg': {
|
460
|
+
minWidth: '18px',
|
461
|
+
width: '18px',
|
462
|
+
height: '18px',
|
463
|
+
path: {
|
464
|
+
fill: '#455469 !important'
|
465
|
+
}
|
466
|
+
}
|
467
|
+
}),
|
456
468
|
headerNav: _objectSpread(_objectSpread({}, baseIconButton), {}, {
|
457
469
|
borderRadius: '4px',
|
458
470
|
path: {
|
@@ -1,4 +1,7 @@
|
|
1
1
|
export declare const message: {
|
2
|
+
wrapper: {
|
3
|
+
gap: string;
|
4
|
+
};
|
2
5
|
item: {
|
3
6
|
maxWidth: number;
|
4
7
|
pointerEvents: string;
|
@@ -12,7 +15,20 @@ export declare const message: {
|
|
12
15
|
borderLeftColor: string;
|
13
16
|
color: string;
|
14
17
|
fontSize: string;
|
18
|
+
lineHeight: string;
|
15
19
|
borderRadius: number;
|
20
|
+
'& > svg': {
|
21
|
+
minWidth: string;
|
22
|
+
width: string;
|
23
|
+
height: string;
|
24
|
+
color: string;
|
25
|
+
path: {
|
26
|
+
fill: string;
|
27
|
+
transform: string;
|
28
|
+
transformOrigin: string;
|
29
|
+
};
|
30
|
+
alignSelf: string;
|
31
|
+
};
|
16
32
|
'&.is-success': {
|
17
33
|
bg: string;
|
18
34
|
borderLeftColor: string;
|
@@ -25,7 +41,6 @@ export declare const message: {
|
|
25
41
|
};
|
26
42
|
'&.is-error, > .is-error': {
|
27
43
|
bg: string;
|
28
|
-
color: string;
|
29
44
|
};
|
30
45
|
'&.is-error, > button > svg': {
|
31
46
|
color: string;
|
@@ -6,38 +6,53 @@ _Object$defineProperty(exports, "__esModule", {
|
|
6
6
|
});
|
7
7
|
exports.message = void 0;
|
8
8
|
var message = {
|
9
|
+
wrapper: {
|
10
|
+
gap: 'md'
|
11
|
+
},
|
9
12
|
item: {
|
10
13
|
maxWidth: 400,
|
11
14
|
pointerEvents: 'all',
|
12
|
-
mb: '
|
13
|
-
p: '
|
15
|
+
mb: '0',
|
16
|
+
p: '20px 16px 20px 20px',
|
14
17
|
wordBreak: 'break-word',
|
15
18
|
alignItems: 'center',
|
16
19
|
backgroundColor: 'blue-100',
|
17
20
|
borderLeftWidth: '5px',
|
18
21
|
borderLeftStyle: 'solid',
|
19
|
-
borderLeftColor: '
|
20
|
-
color: '
|
22
|
+
borderLeftColor: 'blue',
|
23
|
+
color: 'gray-700',
|
21
24
|
fontSize: '15px !important',
|
25
|
+
lineHeight: '1.3',
|
22
26
|
borderRadius: 4,
|
27
|
+
'& > svg': {
|
28
|
+
minWidth: '20px',
|
29
|
+
width: '20px',
|
30
|
+
height: '20px',
|
31
|
+
color: 'gray-700',
|
32
|
+
path: {
|
33
|
+
fill: 'gray-700',
|
34
|
+
transform: 'scale(0.96)',
|
35
|
+
transformOrigin: 'center'
|
36
|
+
},
|
37
|
+
alignSelf: 'start'
|
38
|
+
},
|
23
39
|
'&.is-success': {
|
24
40
|
bg: 'green-100',
|
25
41
|
borderLeftColor: 'green-500',
|
26
|
-
color: '
|
42
|
+
color: 'gray-700'
|
27
43
|
},
|
28
44
|
'&.is-warning': {
|
29
45
|
bg: 'warning.light',
|
30
46
|
borderLeftColor: 'yellow-500',
|
31
|
-
color: '
|
47
|
+
color: 'gray-700 '
|
32
48
|
},
|
33
49
|
'&.is-error, > .is-error': {
|
34
|
-
bg: 'red-100'
|
35
|
-
color: 'text.message'
|
50
|
+
bg: 'red-100'
|
36
51
|
},
|
37
52
|
'&.is-error, > button > svg': {
|
38
|
-
color: '
|
53
|
+
color: 'gray-700 !important',
|
39
54
|
path: {
|
40
|
-
fill: '
|
55
|
+
fill: 'gray-700'
|
41
56
|
}
|
42
57
|
},
|
43
58
|
'&.is-error': {
|
@@ -5,6 +5,16 @@ export declare const text: {
|
|
5
5
|
fontSize: string;
|
6
6
|
fontWeight: number;
|
7
7
|
};
|
8
|
+
messagesText: {
|
9
|
+
'&.is-success, &.is-warning, &.is-error, &.is-default': {
|
10
|
+
color: string;
|
11
|
+
'& > a': {
|
12
|
+
fontWeight: string;
|
13
|
+
textDecoration: string;
|
14
|
+
color: string;
|
15
|
+
};
|
16
|
+
};
|
17
|
+
};
|
8
18
|
h1: {
|
9
19
|
fontSize: string;
|
10
20
|
fontWeight: number;
|
@@ -124,6 +124,16 @@ var text = _objectSpread(_objectSpread({
|
|
124
124
|
color: 'text.primary',
|
125
125
|
fontSize: 'lg',
|
126
126
|
fontWeight: 2
|
127
|
+
},
|
128
|
+
messagesText: {
|
129
|
+
'&.is-success, &.is-warning, &.is-error, &.is-default': {
|
130
|
+
color: 'gray-700',
|
131
|
+
'& > a': {
|
132
|
+
fontWeight: '600',
|
133
|
+
textDecoration: 'underline',
|
134
|
+
color: 'gray-700'
|
135
|
+
}
|
136
|
+
}
|
127
137
|
}
|
128
138
|
});
|
129
139
|
exports.text = text;
|
@@ -161,6 +161,9 @@ declare const _default: {
|
|
161
161
|
};
|
162
162
|
};
|
163
163
|
message: {
|
164
|
+
wrapper: {
|
165
|
+
gap: string;
|
166
|
+
};
|
164
167
|
item: {
|
165
168
|
maxWidth: number;
|
166
169
|
pointerEvents: string;
|
@@ -174,7 +177,20 @@ declare const _default: {
|
|
174
177
|
borderLeftColor: string;
|
175
178
|
color: string;
|
176
179
|
fontSize: string;
|
180
|
+
lineHeight: string;
|
177
181
|
borderRadius: number;
|
182
|
+
'& > svg': {
|
183
|
+
minWidth: string;
|
184
|
+
width: string;
|
185
|
+
height: string;
|
186
|
+
color: string;
|
187
|
+
path: {
|
188
|
+
fill: string;
|
189
|
+
transform: string;
|
190
|
+
transformOrigin: string;
|
191
|
+
};
|
192
|
+
alignSelf: string;
|
193
|
+
};
|
178
194
|
'&.is-success': {
|
179
195
|
bg: string;
|
180
196
|
borderLeftColor: string;
|
@@ -187,7 +203,6 @@ declare const _default: {
|
|
187
203
|
};
|
188
204
|
'&.is-error, > .is-error': {
|
189
205
|
bg: string;
|
190
|
-
color: string;
|
191
206
|
};
|
192
207
|
'&.is-error, > button > svg': {
|
193
208
|
color: string;
|
@@ -113,7 +113,8 @@ var Message = /*#__PURE__*/forwardRef(function (_ref2, ref) {
|
|
113
113
|
}, messageIcon, ___EmotionJSX(Text, {
|
114
114
|
className: statusClasses,
|
115
115
|
color: color,
|
116
|
-
mr: "md"
|
116
|
+
mr: "md",
|
117
|
+
variant: "messagesText"
|
117
118
|
}, children), ___EmotionJSX(CloseButton, {
|
118
119
|
onPress: onCloseHandler,
|
119
120
|
variant: "messageCloseButton",
|
@@ -239,5 +239,6 @@ export var text = _objectSpread(_objectSpread(_objectSpread({
|
|
239
239
|
textEllipsis: textEllipsis,
|
240
240
|
title: title,
|
241
241
|
copyRightText: copyRightText,
|
242
|
-
attachmentTitle: attachmentTitle
|
242
|
+
attachmentTitle: attachmentTitle,
|
243
|
+
messagesText: _objectSpread({}, base)
|
243
244
|
});
|
@@ -3,7 +3,7 @@ export var message = {
|
|
3
3
|
backgroundColor: 'background.secondary',
|
4
4
|
color: 'white !important',
|
5
5
|
'> span': {
|
6
|
-
color: '
|
6
|
+
color: 'white !important'
|
7
7
|
},
|
8
8
|
'&.is-success': {
|
9
9
|
bg: 'background.secondary',
|
@@ -45,6 +45,12 @@ export var message = {
|
|
45
45
|
fill: 'text.message'
|
46
46
|
}
|
47
47
|
},
|
48
|
+
'&.is-default, > button > svg': {
|
49
|
+
color: 'white !important',
|
50
|
+
path: {
|
51
|
+
fill: 'text.message'
|
52
|
+
}
|
53
|
+
},
|
48
54
|
'&.is-error': {
|
49
55
|
borderLeftColor: 'red-500'
|
50
56
|
}
|
@@ -444,7 +444,19 @@ var iconButtons = {
|
|
444
444
|
}
|
445
445
|
}, transitions)
|
446
446
|
},
|
447
|
-
messageCloseButton: _objectSpread({}, baseIconButton),
|
447
|
+
messageCloseButton: _objectSpread(_objectSpread({}, baseIconButton), {}, {
|
448
|
+
minWidth: '28px',
|
449
|
+
width: '28px',
|
450
|
+
height: '28px',
|
451
|
+
'& > svg': {
|
452
|
+
minWidth: '18px',
|
453
|
+
width: '18px',
|
454
|
+
height: '18px',
|
455
|
+
path: {
|
456
|
+
fill: '#455469 !important'
|
457
|
+
}
|
458
|
+
}
|
459
|
+
}),
|
448
460
|
headerNav: _objectSpread(_objectSpread({}, baseIconButton), {}, {
|
449
461
|
borderRadius: '4px',
|
450
462
|
path: {
|
@@ -1,36 +1,51 @@
|
|
1
1
|
export var message = {
|
2
|
+
wrapper: {
|
3
|
+
gap: 'md'
|
4
|
+
},
|
2
5
|
item: {
|
3
6
|
maxWidth: 400,
|
4
7
|
pointerEvents: 'all',
|
5
|
-
mb: '
|
6
|
-
p: '
|
8
|
+
mb: '0',
|
9
|
+
p: '20px 16px 20px 20px',
|
7
10
|
wordBreak: 'break-word',
|
8
11
|
alignItems: 'center',
|
9
12
|
backgroundColor: 'blue-100',
|
10
13
|
borderLeftWidth: '5px',
|
11
14
|
borderLeftStyle: 'solid',
|
12
|
-
borderLeftColor: '
|
13
|
-
color: '
|
15
|
+
borderLeftColor: 'blue',
|
16
|
+
color: 'gray-700',
|
14
17
|
fontSize: '15px !important',
|
18
|
+
lineHeight: '1.3',
|
15
19
|
borderRadius: 4,
|
20
|
+
'& > svg': {
|
21
|
+
minWidth: '20px',
|
22
|
+
width: '20px',
|
23
|
+
height: '20px',
|
24
|
+
color: 'gray-700',
|
25
|
+
path: {
|
26
|
+
fill: 'gray-700',
|
27
|
+
transform: 'scale(0.96)',
|
28
|
+
transformOrigin: 'center'
|
29
|
+
},
|
30
|
+
alignSelf: 'start'
|
31
|
+
},
|
16
32
|
'&.is-success': {
|
17
33
|
bg: 'green-100',
|
18
34
|
borderLeftColor: 'green-500',
|
19
|
-
color: '
|
35
|
+
color: 'gray-700'
|
20
36
|
},
|
21
37
|
'&.is-warning': {
|
22
38
|
bg: 'warning.light',
|
23
39
|
borderLeftColor: 'yellow-500',
|
24
|
-
color: '
|
40
|
+
color: 'gray-700 '
|
25
41
|
},
|
26
42
|
'&.is-error, > .is-error': {
|
27
|
-
bg: 'red-100'
|
28
|
-
color: 'text.message'
|
43
|
+
bg: 'red-100'
|
29
44
|
},
|
30
45
|
'&.is-error, > button > svg': {
|
31
|
-
color: '
|
46
|
+
color: 'gray-700 !important',
|
32
47
|
path: {
|
33
|
-
fill: '
|
48
|
+
fill: 'gray-700'
|
34
49
|
}
|
35
50
|
},
|
36
51
|
'&.is-error': {
|
@@ -117,5 +117,15 @@ export var text = _objectSpread(_objectSpread({
|
|
117
117
|
color: 'text.primary',
|
118
118
|
fontSize: 'lg',
|
119
119
|
fontWeight: 2
|
120
|
+
},
|
121
|
+
messagesText: {
|
122
|
+
'&.is-success, &.is-warning, &.is-error, &.is-default': {
|
123
|
+
color: 'gray-700',
|
124
|
+
'& > a': {
|
125
|
+
fontWeight: '600',
|
126
|
+
textDecoration: 'underline',
|
127
|
+
color: 'gray-700'
|
128
|
+
}
|
129
|
+
}
|
120
130
|
}
|
121
131
|
});
|