@maggioli-design-system/mds-push-notification 2.3.0 → 2.4.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/dist/cjs/{index-c4051bde.js → index-2739a668.js} +132 -90
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mds-push-notification.cjs.entry.js +2 -2
- package/dist/cjs/mds-push-notification.cjs.js +2 -2
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/mds-push-notification/mds-push-notification.css +99 -190
- package/dist/components/mds-push-notification.js +1 -1
- package/dist/documentation.json +2 -2
- package/dist/esm/{index-40893e6d.js → index-38c987c4.js} +132 -90
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mds-push-notification.entry.js +2 -2
- package/dist/esm/mds-push-notification.js +3 -3
- package/dist/esm-es5/index-38c987c4.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mds-push-notification.entry.js +2 -2
- package/dist/esm-es5/mds-push-notification.js +1 -1
- package/dist/mds-push-notification/mds-push-notification.esm.js +1 -1
- package/dist/mds-push-notification/mds-push-notification.js +1 -1
- package/dist/mds-push-notification/{p-be470da4.system.js → p-3ff83b9f.system.js} +1 -1
- package/dist/mds-push-notification/p-63f2820b.entry.js +6 -0
- package/dist/mds-push-notification/p-a3768283.js +2 -0
- package/dist/mds-push-notification/p-a41d6818.system.entry.js +6 -0
- package/dist/mds-push-notification/p-a5939fb7.system.js +2 -0
- package/dist/stats.json +29 -30
- package/documentation.json +2 -2
- package/package.json +6 -6
- package/src/components/mds-push-notification/css/mds-push-notification-pref-animation.css +5 -14
- package/src/components/mds-push-notification/css/mds-push-notification-pref-contrast.css +6 -15
- package/src/components/mds-push-notification/css/mds-push-notification-pref-theme.css +7 -12
- package/src/components/mds-push-notification/css/mds-push-notification-variant-label.css +40 -72
- package/src/components/mds-push-notification/css/mds-push-notification-variant-primary.css +4 -9
- package/src/components/mds-push-notification/css/mds-push-notification-variant-state.css +16 -30
- package/src/components/mds-push-notification/mds-push-notification.css +4 -7
- package/src/tailwind/components.css +2 -48
- package/src/tailwind/index.css +4 -0
- package/www/build/mds-push-notification.esm.js +1 -1
- package/www/build/mds-push-notification.js +1 -1
- package/www/build/{p-be470da4.system.js → p-3ff83b9f.system.js} +1 -1
- package/www/build/p-63f2820b.entry.js +6 -0
- package/www/build/p-a3768283.js +2 -0
- package/www/build/p-a41d6818.system.entry.js +6 -0
- package/www/build/p-a5939fb7.system.js +2 -0
- package/dist/esm-es5/index-40893e6d.js +0 -1
- package/dist/mds-push-notification/p-3b18d74e.js +0 -2
- package/dist/mds-push-notification/p-5e9cbc6e.entry.js +0 -6
- package/dist/mds-push-notification/p-764f675d.system.entry.js +0 -6
- package/dist/mds-push-notification/p-91b16fd4.system.js +0 -2
- package/www/build/p-3b18d74e.js +0 -2
- package/www/build/p-5e9cbc6e.entry.js +0 -6
- package/www/build/p-764f675d.system.entry.js +0 -6
- package/www/build/p-91b16fd4.system.js +0 -2
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
@tailwind components;
|
|
2
|
-
@tailwind utilities;
|
|
3
2
|
|
|
4
3
|
:host {
|
|
5
|
-
|
|
6
4
|
--mds-push-notification-duration: 200ms;
|
|
7
5
|
--mds-push-notification-icon-background-color: transparent;
|
|
8
6
|
--mds-push-notification-icon-color: rgb(var(--tone-neutral-04));
|
|
@@ -30,7 +28,6 @@
|
|
|
30
28
|
}
|
|
31
29
|
|
|
32
30
|
:host([deletable="false"]){
|
|
33
|
-
|
|
34
31
|
padding-right: 1rem;
|
|
35
32
|
}
|
|
36
33
|
|
|
@@ -40,9 +37,7 @@
|
|
|
40
37
|
}
|
|
41
38
|
|
|
42
39
|
.actions{
|
|
43
|
-
|
|
44
40
|
gap: 0.5rem;
|
|
45
|
-
|
|
46
41
|
padding-top: 0.5rem;
|
|
47
42
|
|
|
48
43
|
display: flex;
|
|
@@ -56,9 +51,7 @@
|
|
|
56
51
|
}
|
|
57
52
|
|
|
58
53
|
.picture{
|
|
59
|
-
|
|
60
54
|
max-width: 3rem;
|
|
61
|
-
|
|
62
55
|
border-radius: 0.25rem;
|
|
63
56
|
|
|
64
57
|
box-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
@@ -66,13 +59,9 @@
|
|
|
66
59
|
}
|
|
67
60
|
|
|
68
61
|
.close-button{
|
|
69
|
-
|
|
70
62
|
padding: 0.375rem;
|
|
71
|
-
|
|
72
63
|
transition-property: opacity;
|
|
73
|
-
|
|
74
64
|
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
75
|
-
|
|
76
65
|
transition-duration: 150ms;
|
|
77
66
|
|
|
78
67
|
background-color: transparent;
|
|
@@ -83,7 +72,7 @@
|
|
|
83
72
|
top: 0;
|
|
84
73
|
}
|
|
85
74
|
|
|
86
|
-
:host(:hover) .close-button {
|
|
75
|
+
:host-context(:not(.safari)):host(:hover) .close-button {
|
|
87
76
|
opacity: 1;
|
|
88
77
|
}
|
|
89
78
|
|
|
@@ -94,7 +83,6 @@
|
|
|
94
83
|
}
|
|
95
84
|
|
|
96
85
|
.header{
|
|
97
|
-
|
|
98
86
|
gap: 0.25rem;
|
|
99
87
|
|
|
100
88
|
align-items: baseline;
|
|
@@ -111,7 +99,6 @@
|
|
|
111
99
|
}
|
|
112
100
|
|
|
113
101
|
.time{
|
|
114
|
-
|
|
115
102
|
margin-right: 0.25rem;
|
|
116
103
|
|
|
117
104
|
flex-shrink: 0;
|
|
@@ -119,25 +106,21 @@
|
|
|
119
106
|
}
|
|
120
107
|
|
|
121
108
|
.subject {
|
|
122
|
-
|
|
123
109
|
--mds-text-line-clamp: var(--mds-push-notification-subject-line-clamp);
|
|
124
110
|
|
|
125
|
-
line-height:
|
|
111
|
+
line-height: 1.25rem;
|
|
126
112
|
text-overflow: ellipsis;
|
|
127
113
|
}
|
|
128
114
|
|
|
129
115
|
.message {
|
|
130
|
-
|
|
131
116
|
--mds-text-line-clamp: var(--mds-push-notification-message-line-clamp);
|
|
132
117
|
|
|
133
|
-
line-height:
|
|
118
|
+
line-height: 1.25rem;
|
|
134
119
|
text-overflow: ellipsis;
|
|
135
120
|
}
|
|
136
121
|
|
|
137
122
|
.avatar{
|
|
138
|
-
|
|
139
123
|
height: 2.25rem;
|
|
140
|
-
|
|
141
124
|
width: 2.25rem;
|
|
142
125
|
|
|
143
126
|
background-color: var(--mds-push-notification-icon-background-color);
|
|
@@ -146,7 +129,6 @@
|
|
|
146
129
|
}
|
|
147
130
|
|
|
148
131
|
.avatar::part(svg){
|
|
149
|
-
|
|
150
132
|
width: 1.5rem;
|
|
151
133
|
}
|
|
152
134
|
|
|
@@ -155,360 +137,287 @@
|
|
|
155
137
|
}
|
|
156
138
|
|
|
157
139
|
:host([icon]) .avatar::part(wrapper){
|
|
158
|
-
|
|
159
140
|
padding: 0.375rem;
|
|
160
141
|
}
|
|
161
142
|
|
|
162
|
-
|
|
143
|
+
:host-context(.pref-animation-reduce) {
|
|
144
|
+
transition-duration: 0s;
|
|
145
|
+
}
|
|
163
146
|
|
|
164
|
-
|
|
147
|
+
@media (prefers-reduced-motion) {
|
|
148
|
+
:host-context(.pref-animation-system) {
|
|
149
|
+
transition-duration: 0s;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
:host-context(.pref-theme-dark) {
|
|
154
|
+
--mds-push-notification-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;
|
|
165
155
|
|
|
156
|
+
background-color: rgb(var(--tone-neutral-09));
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
@media (prefers-color-scheme: dark) {
|
|
160
|
+
:host-context(.pref-theme-system) {
|
|
161
|
+
--mds-push-notification-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;
|
|
162
|
+
|
|
163
|
+
background-color: rgb(var(--tone-neutral-09));
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
:host-context(.pref-contrast-more) {
|
|
168
|
+
--mds-push-notification-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.6) inset;
|
|
169
|
+
|
|
170
|
+
color: rgb(var(--tone-neutral-01));
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
@media (prefers-contrast: more) {
|
|
174
|
+
:host-context(.pref-contrast-system) {
|
|
175
|
+
--mds-push-notification-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.6) inset;
|
|
176
|
+
|
|
177
|
+
color: rgb(var(--tone-neutral-01));
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
:host([variant="primary"][tone="strong"]) {
|
|
166
182
|
--mds-push-notification-icon-background-color: rgb(var(--variant-primary-05));
|
|
167
183
|
--mds-push-notification-icon-color: rgb(var(--variant-primary-10));
|
|
168
184
|
}
|
|
169
185
|
|
|
170
|
-
:host(
|
|
171
|
-
:host(
|
|
172
|
-
|
|
186
|
+
:host([variant="primary"]),
|
|
187
|
+
:host([variant="primary"][tone="weak"]) {
|
|
173
188
|
--mds-push-notification-icon-background-color: rgb(var(--variant-primary-09));
|
|
174
189
|
--mds-push-notification-icon-color: rgb(var(--variant-primary-05));
|
|
175
190
|
}
|
|
176
191
|
|
|
177
|
-
:host(
|
|
178
|
-
|
|
192
|
+
:host([variant="primary"][tone="quiet"]) {
|
|
179
193
|
--mds-push-notification-icon-background-color: transparent;
|
|
180
194
|
--mds-push-notification-icon-color: rgb(var(--variant-primary-05));
|
|
181
195
|
}
|
|
182
196
|
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
:host( [variant="orange"][tone="strong"] ) {
|
|
186
|
-
|
|
197
|
+
:host([variant="orange"][tone="strong"]) {
|
|
187
198
|
--mds-push-notification-icon-background-color: rgb(var(--label-orange-05));
|
|
188
199
|
--mds-push-notification-icon-color: rgb(var(--label-orange-10));
|
|
189
200
|
}
|
|
190
201
|
|
|
191
|
-
:host(
|
|
192
|
-
:host(
|
|
193
|
-
|
|
202
|
+
:host([variant="orange"]),
|
|
203
|
+
:host([variant="orange"][tone="weak"]) {
|
|
194
204
|
--mds-push-notification-icon-background-color: rgb(var(--label-orange-09));
|
|
195
205
|
--mds-push-notification-icon-color: rgb(var(--label-orange-05));
|
|
196
206
|
}
|
|
197
207
|
|
|
198
|
-
:host(
|
|
199
|
-
|
|
208
|
+
:host([variant="orange"][tone="quiet"]) {
|
|
200
209
|
--mds-push-notification-icon-background-color: transparent;
|
|
201
210
|
--mds-push-notification-icon-color: rgb(var(--label-orange-05));
|
|
202
211
|
}
|
|
203
212
|
|
|
204
|
-
:host(
|
|
205
|
-
|
|
213
|
+
:host([variant="amaranth"][tone="strong"]) {
|
|
206
214
|
--mds-push-notification-icon-background-color: rgb(var(--label-amaranth-05));
|
|
207
215
|
--mds-push-notification-icon-color: rgb(var(--label-amaranth-10));
|
|
208
216
|
}
|
|
209
217
|
|
|
210
|
-
:host(
|
|
211
|
-
:host(
|
|
212
|
-
|
|
218
|
+
:host([variant="amaranth"]),
|
|
219
|
+
:host([variant="amaranth"][tone="weak"]) {
|
|
213
220
|
--mds-push-notification-icon-background-color: rgb(var(--label-amaranth-09));
|
|
214
221
|
--mds-push-notification-icon-color: rgb(var(--label-amaranth-05));
|
|
215
222
|
}
|
|
216
223
|
|
|
217
|
-
:host(
|
|
218
|
-
|
|
224
|
+
:host([variant="amaranth"][tone="quiet"]) {
|
|
219
225
|
--mds-push-notification-icon-background-color: transparent;
|
|
220
226
|
--mds-push-notification-icon-color: rgb(var(--label-amaranth-05));
|
|
221
227
|
}
|
|
222
228
|
|
|
223
|
-
:host(
|
|
224
|
-
|
|
229
|
+
:host([variant="orchid"][tone="strong"]) {
|
|
225
230
|
--mds-push-notification-icon-background-color: rgb(var(--label-orchid-05));
|
|
226
231
|
--mds-push-notification-icon-color: rgb(var(--label-orchid-10));
|
|
227
232
|
}
|
|
228
233
|
|
|
229
|
-
:host(
|
|
230
|
-
:host(
|
|
231
|
-
|
|
234
|
+
:host([variant="orchid"]),
|
|
235
|
+
:host([variant="orchid"][tone="weak"]) {
|
|
232
236
|
--mds-push-notification-icon-background-color: rgb(var(--label-orchid-09));
|
|
233
237
|
--mds-push-notification-icon-color: rgb(var(--label-orchid-05));
|
|
234
238
|
}
|
|
235
239
|
|
|
236
|
-
:host(
|
|
237
|
-
|
|
240
|
+
:host([variant="orchid"][tone="quiet"]) {
|
|
238
241
|
--mds-push-notification-icon-background-color: transparent;
|
|
239
242
|
--mds-push-notification-icon-color: rgb(var(--label-orchid-05));
|
|
240
243
|
}
|
|
241
244
|
|
|
242
|
-
:host(
|
|
243
|
-
|
|
245
|
+
:host([variant="violet"][tone="strong"]) {
|
|
244
246
|
--mds-push-notification-icon-background-color: rgb(var(--label-violet-05));
|
|
245
247
|
--mds-push-notification-icon-color: rgb(var(--label-violet-10));
|
|
246
248
|
}
|
|
247
249
|
|
|
248
|
-
:host(
|
|
249
|
-
:host(
|
|
250
|
-
|
|
250
|
+
:host([variant="violet"]),
|
|
251
|
+
:host([variant="violet"][tone="weak"]) {
|
|
251
252
|
--mds-push-notification-icon-background-color: rgb(var(--label-violet-09));
|
|
252
253
|
--mds-push-notification-icon-color: rgb(var(--label-violet-05));
|
|
253
254
|
}
|
|
254
255
|
|
|
255
|
-
:host(
|
|
256
|
-
|
|
256
|
+
:host([variant="violet"][tone="quiet"]) {
|
|
257
257
|
--mds-push-notification-icon-background-color: transparent;
|
|
258
258
|
--mds-push-notification-icon-color: rgb(var(--label-violet-05));
|
|
259
259
|
}
|
|
260
260
|
|
|
261
|
-
:host(
|
|
262
|
-
|
|
261
|
+
:host([variant="blue"][tone="strong"]) {
|
|
263
262
|
--mds-push-notification-icon-background-color: rgb(var(--label-blue-05));
|
|
264
263
|
--mds-push-notification-icon-color: rgb(var(--label-blue-10));
|
|
265
264
|
}
|
|
266
265
|
|
|
267
|
-
:host(
|
|
268
|
-
:host(
|
|
269
|
-
|
|
266
|
+
:host([variant="blue"]),
|
|
267
|
+
:host([variant="blue"][tone="weak"]) {
|
|
270
268
|
--mds-push-notification-icon-background-color: rgb(var(--label-blue-09));
|
|
271
269
|
--mds-push-notification-icon-color: rgb(var(--label-blue-05));
|
|
272
270
|
}
|
|
273
271
|
|
|
274
|
-
:host(
|
|
275
|
-
|
|
272
|
+
:host([variant="blue"][tone="quiet"]) {
|
|
276
273
|
--mds-push-notification-icon-background-color: transparent;
|
|
277
274
|
--mds-push-notification-icon-color: rgb(var(--label-blue-05));
|
|
278
275
|
}
|
|
279
276
|
|
|
280
|
-
:host(
|
|
281
|
-
|
|
277
|
+
:host([variant="sky"][tone="strong"]) {
|
|
282
278
|
--mds-push-notification-icon-background-color: rgb(var(--label-sky-05));
|
|
283
279
|
--mds-push-notification-icon-color: rgb(var(--label-sky-10));
|
|
284
280
|
}
|
|
285
281
|
|
|
286
|
-
:host(
|
|
287
|
-
:host(
|
|
288
|
-
|
|
282
|
+
:host([variant="sky"]),
|
|
283
|
+
:host([variant="sky"][tone="weak"]) {
|
|
289
284
|
--mds-push-notification-icon-background-color: rgb(var(--label-sky-09));
|
|
290
285
|
--mds-push-notification-icon-color: rgb(var(--label-sky-05));
|
|
291
286
|
}
|
|
292
287
|
|
|
293
|
-
:host(
|
|
294
|
-
|
|
288
|
+
:host([variant="sky"][tone="quiet"]) {
|
|
295
289
|
--mds-push-notification-icon-background-color: transparent;
|
|
296
290
|
--mds-push-notification-icon-color: rgb(var(--label-sky-05));
|
|
297
291
|
}
|
|
298
292
|
|
|
299
|
-
:host(
|
|
300
|
-
|
|
293
|
+
:host([variant="aqua"][tone="strong"]) {
|
|
301
294
|
--mds-push-notification-icon-background-color: rgb(var(--label-aqua-05));
|
|
302
295
|
--mds-push-notification-icon-color: rgb(var(--label-aqua-10));
|
|
303
296
|
}
|
|
304
297
|
|
|
305
|
-
:host(
|
|
306
|
-
:host(
|
|
307
|
-
|
|
298
|
+
:host([variant="aqua"]),
|
|
299
|
+
:host([variant="aqua"][tone="weak"]) {
|
|
308
300
|
--mds-push-notification-icon-background-color: rgb(var(--label-aqua-09));
|
|
309
301
|
--mds-push-notification-icon-color: rgb(var(--label-aqua-05));
|
|
310
302
|
}
|
|
311
303
|
|
|
312
|
-
:host(
|
|
313
|
-
|
|
304
|
+
:host([variant="aqua"][tone="quiet"]) {
|
|
314
305
|
--mds-push-notification-icon-background-color: transparent;
|
|
315
306
|
--mds-push-notification-icon-color: rgb(var(--label-aqua-05));
|
|
316
307
|
}
|
|
317
308
|
|
|
318
|
-
:host(
|
|
319
|
-
|
|
309
|
+
:host([variant="green"][tone="strong"]) {
|
|
320
310
|
--mds-push-notification-icon-background-color: rgb(var(--label-green-05));
|
|
321
311
|
--mds-push-notification-icon-color: rgb(var(--label-green-10));
|
|
322
312
|
}
|
|
323
313
|
|
|
324
|
-
:host(
|
|
325
|
-
:host(
|
|
326
|
-
|
|
314
|
+
:host([variant="green"]),
|
|
315
|
+
:host([variant="green"][tone="weak"]) {
|
|
327
316
|
--mds-push-notification-icon-background-color: rgb(var(--label-green-09));
|
|
328
317
|
--mds-push-notification-icon-color: rgb(var(--label-green-05));
|
|
329
318
|
}
|
|
330
319
|
|
|
331
|
-
:host(
|
|
332
|
-
|
|
320
|
+
:host([variant="green"][tone="quiet"]) {
|
|
333
321
|
--mds-push-notification-icon-background-color: transparent;
|
|
334
322
|
--mds-push-notification-icon-color: rgb(var(--label-green-05));
|
|
335
323
|
}
|
|
336
324
|
|
|
337
|
-
:host(
|
|
338
|
-
|
|
325
|
+
:host([variant="lime"][tone="strong"]) {
|
|
339
326
|
--mds-push-notification-icon-background-color: rgb(var(--label-lime-05));
|
|
340
327
|
--mds-push-notification-icon-color: rgb(var(--label-lime-10));
|
|
341
328
|
}
|
|
342
329
|
|
|
343
|
-
:host(
|
|
344
|
-
:host(
|
|
345
|
-
|
|
330
|
+
:host([variant="lime"]),
|
|
331
|
+
:host([variant="lime"][tone="weak"]) {
|
|
346
332
|
--mds-push-notification-icon-background-color: rgb(var(--label-lime-09));
|
|
347
333
|
--mds-push-notification-icon-color: rgb(var(--label-lime-05));
|
|
348
334
|
}
|
|
349
335
|
|
|
350
|
-
:host(
|
|
351
|
-
|
|
336
|
+
:host([variant="lime"][tone="quiet"]) {
|
|
352
337
|
--mds-push-notification-icon-background-color: transparent;
|
|
353
338
|
--mds-push-notification-icon-color: rgb(var(--label-lime-05));
|
|
354
339
|
}
|
|
355
340
|
|
|
356
|
-
:host(
|
|
357
|
-
|
|
341
|
+
:host([variant="yellow"][tone="strong"]) {
|
|
358
342
|
--mds-push-notification-icon-background-color: rgb(var(--label-yellow-05));
|
|
359
343
|
--mds-push-notification-icon-color: rgb(var(--label-yellow-10));
|
|
360
344
|
}
|
|
361
345
|
|
|
362
|
-
:host(
|
|
363
|
-
:host(
|
|
364
|
-
|
|
346
|
+
:host([variant="yellow"]),
|
|
347
|
+
:host([variant="yellow"][tone="weak"]) {
|
|
365
348
|
--mds-push-notification-icon-background-color: rgb(var(--label-yellow-09));
|
|
366
349
|
--mds-push-notification-icon-color: rgb(var(--label-yellow-05));
|
|
367
350
|
}
|
|
368
351
|
|
|
369
|
-
:host(
|
|
370
|
-
|
|
352
|
+
:host([variant="yellow"][tone="quiet"]) {
|
|
371
353
|
--mds-push-notification-icon-background-color: transparent;
|
|
372
354
|
--mds-push-notification-icon-color: rgb(var(--label-yellow-05));
|
|
373
355
|
}
|
|
374
356
|
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
:host( [variant="error"][tone="strong"] ) {
|
|
378
|
-
|
|
357
|
+
:host([variant="error"][tone="strong"]) {
|
|
379
358
|
--mds-push-notification-icon-background-color: rgb(var(--status-error-05));
|
|
380
359
|
--mds-push-notification-icon-color: rgb(var(--status-error-10));
|
|
381
360
|
}
|
|
382
361
|
|
|
383
|
-
:host(
|
|
384
|
-
:host(
|
|
385
|
-
|
|
362
|
+
:host([variant="error"]),
|
|
363
|
+
:host([variant="error"][tone="weak"]) {
|
|
386
364
|
--mds-push-notification-icon-background-color: rgb(var(--status-error-09));
|
|
387
365
|
--mds-push-notification-icon-color: rgb(var(--status-error-05));
|
|
388
366
|
}
|
|
389
367
|
|
|
390
|
-
:host(
|
|
391
|
-
|
|
368
|
+
:host([variant="error"][tone="quiet"]) {
|
|
392
369
|
--mds-push-notification-icon-background-color: transparent;
|
|
393
370
|
--mds-push-notification-icon-color: rgb(var(--status-error-05));
|
|
394
371
|
}
|
|
395
372
|
|
|
396
|
-
:host(
|
|
397
|
-
|
|
373
|
+
:host([variant="warning"][tone="strong"]) {
|
|
398
374
|
--mds-push-notification-icon-background-color: rgb(var(--status-warning-05));
|
|
399
375
|
--mds-push-notification-icon-color: rgb(var(--status-warning-10));
|
|
400
376
|
}
|
|
401
377
|
|
|
402
|
-
:host(
|
|
403
|
-
:host(
|
|
404
|
-
|
|
378
|
+
:host([variant="warning"]),
|
|
379
|
+
:host([variant="warning"][tone="weak"]) {
|
|
405
380
|
--mds-push-notification-icon-background-color: rgb(var(--status-warning-09));
|
|
406
381
|
--mds-push-notification-icon-color: rgb(var(--status-warning-05));
|
|
407
382
|
}
|
|
408
383
|
|
|
409
|
-
:host(
|
|
410
|
-
|
|
384
|
+
:host([variant="warning"][tone="quiet"]) {
|
|
411
385
|
--mds-push-notification-icon-background-color: transparent;
|
|
412
386
|
--mds-push-notification-icon-color: rgb(var(--status-warning-05));
|
|
413
387
|
}
|
|
414
388
|
|
|
415
|
-
:host(
|
|
416
|
-
|
|
389
|
+
:host([variant="success"][tone="strong"]) {
|
|
417
390
|
--mds-push-notification-icon-background-color: rgb(var(--status-success-05));
|
|
418
391
|
--mds-push-notification-icon-color: rgb(var(--status-success-10));
|
|
419
392
|
}
|
|
420
393
|
|
|
421
|
-
:host(
|
|
422
|
-
:host(
|
|
423
|
-
|
|
394
|
+
:host([variant="success"]),
|
|
395
|
+
:host([variant="success"][tone="weak"]) {
|
|
424
396
|
--mds-push-notification-icon-background-color: rgb(var(--status-success-09));
|
|
425
397
|
--mds-push-notification-icon-color: rgb(var(--status-success-05));
|
|
426
398
|
}
|
|
427
399
|
|
|
428
|
-
:host(
|
|
429
|
-
|
|
400
|
+
:host([variant="success"][tone="quiet"]) {
|
|
430
401
|
--mds-push-notification-icon-background-color: transparent;
|
|
431
402
|
--mds-push-notification-icon-color: rgb(var(--status-success-05));
|
|
432
403
|
}
|
|
433
404
|
|
|
434
|
-
:host(
|
|
435
|
-
|
|
405
|
+
:host([variant="info"][tone="strong"]) {
|
|
436
406
|
--mds-push-notification-icon-background-color: rgb(var(--status-info-05));
|
|
437
407
|
--mds-push-notification-icon-color: rgb(var(--status-info-10));
|
|
438
408
|
}
|
|
439
409
|
|
|
440
|
-
:host(
|
|
441
|
-
:host(
|
|
442
|
-
|
|
410
|
+
:host([variant="info"]),
|
|
411
|
+
:host([variant="info"][tone="weak"]) {
|
|
443
412
|
--mds-push-notification-icon-background-color: rgb(var(--status-info-09));
|
|
444
413
|
--mds-push-notification-icon-color: rgb(var(--status-info-05));
|
|
445
414
|
}
|
|
446
415
|
|
|
447
|
-
:host(
|
|
448
|
-
|
|
416
|
+
:host([variant="info"][tone="quiet"]) {
|
|
449
417
|
--mds-push-notification-icon-background-color: transparent;
|
|
450
418
|
--mds-push-notification-icon-color: rgb(var(--status-info-05));
|
|
451
419
|
}
|
|
452
420
|
|
|
453
|
-
@tailwind utilities;
|
|
454
|
-
|
|
455
|
-
@container style(--magma-pref-animation: reduce) {
|
|
456
|
-
:host,
|
|
457
|
-
.close-button {
|
|
458
|
-
transition-duration: 0s;
|
|
459
|
-
}
|
|
460
|
-
}
|
|
461
|
-
|
|
462
|
-
@container style(--magma-pref-animation: system) {
|
|
463
|
-
|
|
464
|
-
@media (prefers-reduced-motion) {
|
|
465
|
-
:host,
|
|
466
|
-
.close-button {
|
|
467
|
-
transition-duration: 0s;
|
|
468
|
-
}
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
@tailwind utilities;
|
|
473
|
-
|
|
474
|
-
@container style(--magma-pref-theme: dark) {
|
|
475
|
-
:host {
|
|
476
|
-
|
|
477
|
-
--mds-push-notification-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;
|
|
478
|
-
}
|
|
479
|
-
}
|
|
480
|
-
|
|
481
|
-
@container style(--magma-pref-theme: system) {
|
|
482
|
-
|
|
483
|
-
@media (prefers-color-scheme: dark) {
|
|
484
|
-
:host {
|
|
485
|
-
|
|
486
|
-
--mds-push-notification-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;
|
|
487
|
-
}
|
|
488
|
-
}
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
@container style(--magma-pref-contrast: more) {
|
|
492
|
-
:host {
|
|
493
|
-
|
|
494
|
-
--mds-push-notification-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.6) inset;
|
|
495
|
-
|
|
496
|
-
color: rgb(var(--tone-neutral-01));
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
@container style(--magma-pref-contrast: system) {
|
|
501
|
-
|
|
502
|
-
@media (prefers-contrast: more) {
|
|
503
|
-
:host {
|
|
504
|
-
|
|
505
|
-
--mds-push-notification-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.6) inset;
|
|
506
|
-
|
|
507
|
-
color: rgb(var(--tone-neutral-01));
|
|
508
|
-
}
|
|
509
|
-
}
|
|
510
|
-
}
|
|
511
|
-
|
|
512
421
|
:host(:not(:is([hydrated], .hydrated))) {
|
|
513
422
|
animation-duration: 0s;
|
|
514
423
|
border-color: transparent;
|
|
@@ -997,7 +997,7 @@ const sanitizeISO8601Date = (dateString) => {
|
|
|
997
997
|
return new Date(dateString).toISOString();
|
|
998
998
|
};
|
|
999
999
|
|
|
1000
|
-
const mdsPushNotificationCss = "@tailwind components;\n@tailwind utilities;\n\n:host {\n\n --mds-push-notification-duration: 200ms;\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--tone-neutral-04));\n --mds-push-notification-message-line-clamp: 2;\n --mds-push-notification-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n --mds-push-notification-subject-line-clamp: 1;\n --mds-push-notification-timing-function: cubic-bezier(1, 0, 0, 1);\n min-width: 18rem;\n max-width: 20rem;\n gap: 1rem;\n border-radius: 0.5rem;\n padding: 1rem;\n padding-right: 2rem;\n\n -ms-flex-align: start;\n\n align-items: flex-start;\n background-color: rgb(var(--tone-neutral));\n -webkit-box-shadow: var(--mds-push-notification-shadow);\n box-shadow: var(--mds-push-notification-shadow);\n color: rgb(var(--tone-neutral-02));\n display: -ms-flexbox;\n display: flex;\n pointer-events: auto;\n position: relative;\n -webkit-transition-duration: var(--mds-push-notification-duration);\n transition-duration: var(--mds-push-notification-duration);\n -webkit-transition-property: background-color, color, margin, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, color, margin, -webkit-box-shadow, -webkit-transform;\n transition-property: background-color, box-shadow, color, margin, transform;\n transition-property: background-color, box-shadow, color, margin, transform, -webkit-box-shadow, -webkit-transform;\n -webkit-transition-timing-function: var(--mds-push-notification-timing-function);\n transition-timing-function: var(--mds-push-notification-timing-function);\n}\n\n:host([deletable=\"false\"]){\n\n padding-right: 1rem;\n}\n\n.content {\n display: grid;\n -ms-flex-positive: 1;\n flex-grow: 1;\n}\n\n.actions{\n\n gap: 0.5rem;\n\n padding-top: 0.5rem;\n\n display: -ms-flexbox;\n\n display: flex;\n -ms-flex-wrap: wrap;\n flex-wrap: wrap;\n min-width: 1px;\n}\n\n.avatar,\n.picture {\n -ms-flex-negative: 0;\n flex-shrink: 0;\n}\n\n.picture{\n\n max-width: 3rem;\n\n border-radius: 0.25rem;\n\n -webkit-box-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);\n\n box-shadow: 0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);\n width: 100%;\n}\n\n.close-button{\n\n padding: 0.375rem;\n\n -webkit-transition-property: opacity;\n\n transition-property: opacity;\n\n -webkit-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);\n\n -webkit-transition-duration: 150ms;\n\n transition-duration: 150ms;\n\n background-color: transparent;\n fill: rgb(var(--tone-neutral-06));\n opacity: 0;\n position: absolute;\n right: 0;\n top: 0;\n}\n\n:host(:hover) .close-button {\n opacity: 1;\n}\n\n.close-button:focus-visible,\n.close-button:hover {\n fill: rgb(var(--tone-neutral-03));\n opacity: 1;\n}\n\n.header{\n\n gap: 0.25rem;\n\n -ms-flex-align: baseline;\n\n align-items: baseline;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: justify;\n justify-content: space-between;\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.infos {\n display: -ms-flexbox;\n display: flex;\n -ms-flex-direction: column;\n flex-direction: column;\n}\n\n.time{\n\n margin-right: 0.25rem;\n\n -ms-flex-negative: 0;\n\n flex-shrink: 0;\n white-space: nowrap;\n}\n\n.subject {\n\n --mds-text-line-clamp: var(--mds-push-notification-subject-line-clamp);\n\n line-height: 0.875rem;\n text-overflow: ellipsis;\n}\n\n.message {\n\n --mds-text-line-clamp: var(--mds-push-notification-message-line-clamp);\n\n line-height: 0.875rem;\n text-overflow: ellipsis;\n}\n\n.avatar{\n\n height: 2.25rem;\n\n width: 2.25rem;\n\n background-color: var(--mds-push-notification-icon-background-color);\n border-radius: 1000px;\n fill: var(--mds-push-notification-icon-color);\n}\n\n.avatar::part(svg){\n\n width: 1.5rem;\n}\n\n:host([src]) .avatar {\n background-color: transparent;\n}\n\n:host([icon]) .avatar::part(wrapper){\n\n padding: 0.375rem;\n}\n\n@tailwind utilities;\n\n:host( [variant=\"primary\"][tone=\"strong\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--variant-primary-05));\n --mds-push-notification-icon-color: rgb(var(--variant-primary-10));\n}\n\n:host( [variant=\"primary\"] ),\n:host( [variant=\"primary\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--variant-primary-09));\n --mds-push-notification-icon-color: rgb(var(--variant-primary-05));\n}\n\n:host( [variant=\"primary\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--variant-primary-05));\n}\n\n@tailwind utilities;\n\n:host( [variant=\"orange\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-orange-05));\n --mds-push-notification-icon-color: rgb(var(--label-orange-10));\n}\n\n:host( [variant=\"orange\"] ),\n:host( [variant=\"orange\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-orange-09));\n --mds-push-notification-icon-color: rgb(var(--label-orange-05));\n}\n\n:host( [variant=\"orange\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-orange-05));\n}\n\n:host( [variant=\"amaranth\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-amaranth-05));\n --mds-push-notification-icon-color: rgb(var(--label-amaranth-10));\n}\n\n:host( [variant=\"amaranth\"] ),\n:host( [variant=\"amaranth\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-amaranth-09));\n --mds-push-notification-icon-color: rgb(var(--label-amaranth-05));\n}\n\n:host( [variant=\"amaranth\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-amaranth-05));\n}\n\n:host( [variant=\"orchid\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-orchid-05));\n --mds-push-notification-icon-color: rgb(var(--label-orchid-10));\n}\n\n:host( [variant=\"orchid\"] ),\n:host( [variant=\"orchid\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-orchid-09));\n --mds-push-notification-icon-color: rgb(var(--label-orchid-05));\n}\n\n:host( [variant=\"orchid\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-orchid-05));\n}\n\n:host( [variant=\"violet\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-violet-05));\n --mds-push-notification-icon-color: rgb(var(--label-violet-10));\n}\n\n:host( [variant=\"violet\"] ),\n:host( [variant=\"violet\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-violet-09));\n --mds-push-notification-icon-color: rgb(var(--label-violet-05));\n}\n\n:host( [variant=\"violet\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-violet-05));\n}\n\n:host( [variant=\"blue\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-blue-05));\n --mds-push-notification-icon-color: rgb(var(--label-blue-10));\n}\n\n:host( [variant=\"blue\"] ),\n:host( [variant=\"blue\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-blue-09));\n --mds-push-notification-icon-color: rgb(var(--label-blue-05));\n}\n\n:host( [variant=\"blue\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-blue-05));\n}\n\n:host( [variant=\"sky\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-sky-05));\n --mds-push-notification-icon-color: rgb(var(--label-sky-10));\n}\n\n:host( [variant=\"sky\"] ),\n:host( [variant=\"sky\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-sky-09));\n --mds-push-notification-icon-color: rgb(var(--label-sky-05));\n}\n\n:host( [variant=\"sky\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-sky-05));\n}\n\n:host( [variant=\"aqua\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-aqua-05));\n --mds-push-notification-icon-color: rgb(var(--label-aqua-10));\n}\n\n:host( [variant=\"aqua\"] ),\n:host( [variant=\"aqua\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-aqua-09));\n --mds-push-notification-icon-color: rgb(var(--label-aqua-05));\n}\n\n:host( [variant=\"aqua\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-aqua-05));\n}\n\n:host( [variant=\"green\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-green-05));\n --mds-push-notification-icon-color: rgb(var(--label-green-10));\n}\n\n:host( [variant=\"green\"] ),\n:host( [variant=\"green\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-green-09));\n --mds-push-notification-icon-color: rgb(var(--label-green-05));\n}\n\n:host( [variant=\"green\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-green-05));\n}\n\n:host( [variant=\"lime\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-lime-05));\n --mds-push-notification-icon-color: rgb(var(--label-lime-10));\n}\n\n:host( [variant=\"lime\"] ),\n:host( [variant=\"lime\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-lime-09));\n --mds-push-notification-icon-color: rgb(var(--label-lime-05));\n}\n\n:host( [variant=\"lime\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-lime-05));\n}\n\n:host( [variant=\"yellow\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--label-yellow-05));\n --mds-push-notification-icon-color: rgb(var(--label-yellow-10));\n}\n\n:host( [variant=\"yellow\"] ),\n:host( [variant=\"yellow\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--label-yellow-09));\n --mds-push-notification-icon-color: rgb(var(--label-yellow-05));\n}\n\n:host( [variant=\"yellow\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--label-yellow-05));\n}\n\n@tailwind utilities;\n\n:host( [variant=\"error\"][tone=\"strong\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--status-error-05));\n --mds-push-notification-icon-color: rgb(var(--status-error-10));\n}\n\n:host( [variant=\"error\"] ),\n:host( [variant=\"error\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--status-error-09));\n --mds-push-notification-icon-color: rgb(var(--status-error-05));\n}\n\n:host( [variant=\"error\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--status-error-05));\n}\n\n:host( [variant=\"warning\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--status-warning-05));\n --mds-push-notification-icon-color: rgb(var(--status-warning-10));\n}\n\n:host( [variant=\"warning\"] ),\n:host( [variant=\"warning\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--status-warning-09));\n --mds-push-notification-icon-color: rgb(var(--status-warning-05));\n}\n\n:host( [variant=\"warning\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--status-warning-05));\n}\n\n:host( [variant=\"success\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--status-success-05));\n --mds-push-notification-icon-color: rgb(var(--status-success-10));\n}\n\n:host( [variant=\"success\"] ),\n:host( [variant=\"success\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--status-success-09));\n --mds-push-notification-icon-color: rgb(var(--status-success-05));\n}\n\n:host( [variant=\"success\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--status-success-05));\n}\n\n:host( [variant=\"info\"][tone=\"strong\"] ) {\n \n --mds-push-notification-icon-background-color: rgb(var(--status-info-05));\n --mds-push-notification-icon-color: rgb(var(--status-info-10));\n}\n\n:host( [variant=\"info\"] ),\n:host( [variant=\"info\"][tone=\"weak\"] ) {\n\n --mds-push-notification-icon-background-color: rgb(var(--status-info-09));\n --mds-push-notification-icon-color: rgb(var(--status-info-05));\n}\n\n:host( [variant=\"info\"][tone=\"quiet\"] ) {\n\n --mds-push-notification-icon-background-color: transparent;\n --mds-push-notification-icon-color: rgb(var(--status-info-05));\n}\n\n@tailwind utilities;\n\n@container style(--magma-pref-animation: reduce) {\n :host,\n .close-button {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n}\n\n@container style(--magma-pref-animation: system) {\n\n @media (prefers-reduced-motion) {\n :host,\n .close-button {\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n }\n }\n}\n\n@tailwind utilities;\n\n@container style(--magma-pref-theme: dark) {\n :host {\n\n --mds-push-notification-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;\n }\n}\n\n@container style(--magma-pref-theme: system) {\n\n @media (prefers-color-scheme: dark) {\n :host {\n\n --mds-push-notification-shadow: 0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;\n }\n }\n}\n\n@container style(--magma-pref-contrast: more) {\n :host {\n\n --mds-push-notification-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.6) inset;\n\n color: rgb(var(--tone-neutral-01));\n }\n}\n\n@container style(--magma-pref-contrast: system) {\n\n @media (prefers-contrast: more) {\n :host {\n\n --mds-push-notification-shadow: 0 0 0 2px rgb(var(--tone-neutral-01) / 0.6) inset;\n\n color: rgb(var(--tone-neutral-01));\n }\n }\n}\n\n:host(:not(:is([hydrated], .hydrated))) {\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n/* TODO refact(stencil): Uses only used selector from parent shadowDOM component */\n\nmds-accordion:not(:is([hydrated], .hydrated)),\nmds-accordion-item:not(:is([hydrated], .hydrated)),\nmds-accordion-timer:not(:is([hydrated], .hydrated)),\nmds-accordion-timer-item:not(:is([hydrated], .hydrated)),\nmds-author:not(:is([hydrated], .hydrated)),\nmds-avatar:not(:is([hydrated], .hydrated)),\nmds-badge:not(:is([hydrated], .hydrated)),\nmds-banner:not(:is([hydrated], .hydrated)),\nmds-benchmark-bar:not(:is([hydrated], .hydrated)),\nmds-bibliography:not(:is([hydrated], .hydrated)),\nmds-breadcrumb:not(:is([hydrated], .hydrated)),\nmds-breadcrumb-item:not(:is([hydrated], .hydrated)),\nmds-button:not(:is([hydrated], .hydrated)),\nmds-card:not(:is([hydrated], .hydrated)),\nmds-card-content:not(:is([hydrated], .hydrated)),\nmds-card-footer:not(:is([hydrated], .hydrated)),\nmds-card-header:not(:is([hydrated], .hydrated)),\nmds-card-media:not(:is([hydrated], .hydrated)),\nmds-chip:not(:is([hydrated], .hydrated)),\nmds-details:not(:is([hydrated], .hydrated)),\nmds-dropdown:not(:is([hydrated], .hydrated)),\nmds-entity:not(:is([hydrated], .hydrated)),\nmds-file:not(:is([hydrated], .hydrated)),\nmds-file-preview:not(:is([hydrated], .hydrated)),\nmds-filter:not(:is([hydrated], .hydrated)),\nmds-filter-item:not(:is([hydrated], .hydrated)),\nmds-header:not(:is([hydrated], .hydrated)),\nmds-header-bar:not(:is([hydrated], .hydrated)),\nmds-help:not(:is([hydrated], .hydrated)),\nmds-horizontal-scroll:not(:is([hydrated], .hydrated)),\nmds-hr:not(:is([hydrated], .hydrated)),\nmds-icon:not(:is([hydrated], .hydrated)),\nmds-img:not(:is([hydrated], .hydrated)),\nmds-input:not(:is([hydrated], .hydrated)),\nmds-input-field:not(:is([hydrated], .hydrated)),\nmds-input-range:not(:is([hydrated], .hydrated)),\nmds-input-select:not(:is([hydrated], .hydrated)),\nmds-input-switch:not(:is([hydrated], .hydrated)),\nmds-input-tip:not(:is([hydrated], .hydrated)),\nmds-input-tip-item:not(:is([hydrated], .hydrated)),\nmds-input-upload:not(:is([hydrated], .hydrated)),\nmds-keyboard:not(:is([hydrated], .hydrated)),\nmds-keyboard-key:not(:is([hydrated], .hydrated)),\nmds-kpi:not(:is([hydrated], .hydrated)),\nmds-kpi-item:not(:is([hydrated], .hydrated)),\nmds-label:not(:is([hydrated], .hydrated)),\nmds-list:not(:is([hydrated], .hydrated)),\nmds-list-item:not(:is([hydrated], .hydrated)),\nmds-modal:not(:is([hydrated], .hydrated)),\nmds-note:not(:is([hydrated], .hydrated)),\nmds-notification:not(:is([hydrated], .hydrated)),\nmds-paginator:not(:is([hydrated], .hydrated)),\nmds-paginator-item:not(:is([hydrated], .hydrated)),\nmds-pref:not(:is([hydrated], .hydrated)),\nmds-pref-animation:not(:is([hydrated], .hydrated)),\nmds-pref-consumption:not(:is([hydrated], .hydrated)),\nmds-pref-contrast:not(:is([hydrated], .hydrated)),\nmds-pref-language:not(:is([hydrated], .hydrated)),\nmds-pref-language-item:not(:is([hydrated], .hydrated)),\nmds-pref-theme:not(:is([hydrated], .hydrated)),\nmds-price-table:not(:is([hydrated], .hydrated)),\nmds-price-table-features:not(:is([hydrated], .hydrated)),\nmds-price-table-features-cell:not(:is([hydrated], .hydrated)),\nmds-price-table-features-row:not(:is([hydrated], .hydrated)),\nmds-price-table-header:not(:is([hydrated], .hydrated)),\nmds-price-table-list:not(:is([hydrated], .hydrated)),\nmds-price-table-list-item:not(:is([hydrated], .hydrated)),\nmds-progress:not(:is([hydrated], .hydrated)),\nmds-push-notification:not(:is([hydrated], .hydrated)),\nmds-push-notifications:not(:is([hydrated], .hydrated)),\nmds-quote:not(:is([hydrated], .hydrated)),\nmds-separator:not(:is([hydrated], .hydrated)),\nmds-spinner:not(:is([hydrated], .hydrated)),\nmds-stepper-bar:not(:is([hydrated], .hydrated)),\nmds-stepper-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab:not(:is([hydrated], .hydrated)),\nmds-tab-bar:not(:is([hydrated], .hydrated)),\nmds-tab-bar-item:not(:is([hydrated], .hydrated)),\nmds-tab-item:not(:is([hydrated], .hydrated)),\nmds-table:not(:is([hydrated], .hydrated)),\nmds-table-body:not(:is([hydrated], .hydrated)),\nmds-table-cell:not(:is([hydrated], .hydrated)),\nmds-table-footer:not(:is([hydrated], .hydrated)),\nmds-table-header:not(:is([hydrated], .hydrated)),\nmds-table-header-cell:not(:is([hydrated], .hydrated)),\nmds-table-row:not(:is([hydrated], .hydrated)),\nmds-text:not(:is([hydrated], .hydrated)),\nmds-toast:not(:is([hydrated], .hydrated)),\nmds-tooltip:not(:is([hydrated], .hydrated)),\nmds-tree:not(:is([hydrated], .hydrated)),\nmds-tree-item:not(:is([hydrated], .hydrated)),\nmds-url-view:not(:is([hydrated], .hydrated)),\nmds-usage:not(:is([hydrated], .hydrated)),\nmds-video-wall:not(:is([hydrated], .hydrated)),\nmds-zero:not(:is([hydrated], .hydrated))\n{\n -webkit-animation-duration: 0s;\n animation-duration: 0s;\n border-color: transparent;\n -webkit-box-shadow: 0 0 0 transparent;\n box-shadow: 0 0 0 transparent;\n opacity: 0;\n outline-color: transparent;\n -webkit-transition-delay: 0s;\n transition-delay: 0s;\n -webkit-transition-duration: 0s;\n transition-duration: 0s;\n visibility: hidden;\n}\n\n";
|
|
1000
|
+
const mdsPushNotificationCss = "@tailwind components; :host{--mds-push-notification-duration:200ms;--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--tone-neutral-04));--mds-push-notification-message-line-clamp:2;--mds-push-notification-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);--mds-push-notification-subject-line-clamp:1;--mds-push-notification-timing-function:cubic-bezier(1, 0, 0, 1);min-width:18rem;max-width:20rem;gap:1rem;border-radius:0.5rem;padding:1rem;padding-right:2rem;-ms-flex-align:start;align-items:flex-start;background-color:rgb(var(--tone-neutral));-webkit-box-shadow:var(--mds-push-notification-shadow);box-shadow:var(--mds-push-notification-shadow);color:rgb(var(--tone-neutral-02));display:-ms-flexbox;display:flex;pointer-events:auto;position:relative;-webkit-transition-duration:var(--mds-push-notification-duration);transition-duration:var(--mds-push-notification-duration);-webkit-transition-property:background-color, color, margin, -webkit-box-shadow, -webkit-transform;transition-property:background-color, color, margin, -webkit-box-shadow, -webkit-transform;transition-property:background-color, box-shadow, color, margin, transform;transition-property:background-color, box-shadow, color, margin, transform, -webkit-box-shadow, -webkit-transform;-webkit-transition-timing-function:var(--mds-push-notification-timing-function);transition-timing-function:var(--mds-push-notification-timing-function)}:host([deletable=\"false\"]){padding-right:1rem}.content{display:grid;-ms-flex-positive:1;flex-grow:1}.actions{gap:0.5rem;padding-top:0.5rem;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;min-width:1px}.avatar,.picture{-ms-flex-negative:0;flex-shrink:0}.picture{max-width:3rem;border-radius:0.25rem;-webkit-box-shadow:0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);box-shadow:0 0 1px 1px rgb(0 0 0 / 0.06), 0 1px 2px 0 rgb(0 0 0 / 0.05);width:100%}.close-button{padding:0.375rem;-webkit-transition-property:opacity;transition-property:opacity;-webkit-transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);-webkit-transition-duration:150ms;transition-duration:150ms;background-color:transparent;fill:rgb(var(--tone-neutral-06));opacity:0;position:absolute;right:0;top:0}:host-context(:not(.safari)):host(:hover) .close-button{opacity:1}.close-button:focus-visible,.close-button:hover{fill:rgb(var(--tone-neutral-03));opacity:1}.header{gap:0.25rem;-ms-flex-align:baseline;align-items:baseline;display:-ms-flexbox;display:flex;-ms-flex-pack:justify;justify-content:space-between;min-width:0;overflow:hidden;text-overflow:ellipsis}.infos{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}.time{margin-right:0.25rem;-ms-flex-negative:0;flex-shrink:0;white-space:nowrap}.subject{--mds-text-line-clamp:var(--mds-push-notification-subject-line-clamp);line-height:1.25rem;text-overflow:ellipsis}.message{--mds-text-line-clamp:var(--mds-push-notification-message-line-clamp);line-height:1.25rem;text-overflow:ellipsis}.avatar{height:2.25rem;width:2.25rem;background-color:var(--mds-push-notification-icon-background-color);border-radius:1000px;fill:var(--mds-push-notification-icon-color)}.avatar::part(svg){width:1.5rem}:host([src]) .avatar{background-color:transparent}:host([icon]) .avatar::part(wrapper){padding:0.375rem}:host-context(.pref-animation-reduce){-webkit-transition-duration:0s;transition-duration:0s}@media (prefers-reduced-motion){:host-context(.pref-animation-system){-webkit-transition-duration:0s;transition-duration:0s}}:host-context(.pref-theme-dark){--mds-push-notification-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;background-color:rgb(var(--tone-neutral-09))}@media (prefers-color-scheme: dark){:host-context(.pref-theme-system){--mds-push-notification-shadow:0 0 0 1px rgb(var(--tone-neutral-01) / 0.3) inset;background-color:rgb(var(--tone-neutral-09))}}:host-context(.pref-contrast-more){--mds-push-notification-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6) inset;color:rgb(var(--tone-neutral-01))}@media (prefers-contrast: more){:host-context(.pref-contrast-system){--mds-push-notification-shadow:0 0 0 2px rgb(var(--tone-neutral-01) / 0.6) inset;color:rgb(var(--tone-neutral-01))}}:host([variant=\"primary\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--variant-primary-05));--mds-push-notification-icon-color:rgb(var(--variant-primary-10))}:host([variant=\"primary\"]),:host([variant=\"primary\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--variant-primary-09));--mds-push-notification-icon-color:rgb(var(--variant-primary-05))}:host([variant=\"primary\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--variant-primary-05))}:host([variant=\"orange\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-orange-05));--mds-push-notification-icon-color:rgb(var(--label-orange-10))}:host([variant=\"orange\"]),:host([variant=\"orange\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-orange-09));--mds-push-notification-icon-color:rgb(var(--label-orange-05))}:host([variant=\"orange\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-orange-05))}:host([variant=\"amaranth\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-amaranth-05));--mds-push-notification-icon-color:rgb(var(--label-amaranth-10))}:host([variant=\"amaranth\"]),:host([variant=\"amaranth\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-amaranth-09));--mds-push-notification-icon-color:rgb(var(--label-amaranth-05))}:host([variant=\"amaranth\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-amaranth-05))}:host([variant=\"orchid\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-orchid-05));--mds-push-notification-icon-color:rgb(var(--label-orchid-10))}:host([variant=\"orchid\"]),:host([variant=\"orchid\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-orchid-09));--mds-push-notification-icon-color:rgb(var(--label-orchid-05))}:host([variant=\"orchid\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-orchid-05))}:host([variant=\"violet\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-violet-05));--mds-push-notification-icon-color:rgb(var(--label-violet-10))}:host([variant=\"violet\"]),:host([variant=\"violet\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-violet-09));--mds-push-notification-icon-color:rgb(var(--label-violet-05))}:host([variant=\"violet\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-violet-05))}:host([variant=\"blue\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-blue-05));--mds-push-notification-icon-color:rgb(var(--label-blue-10))}:host([variant=\"blue\"]),:host([variant=\"blue\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-blue-09));--mds-push-notification-icon-color:rgb(var(--label-blue-05))}:host([variant=\"blue\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-blue-05))}:host([variant=\"sky\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-sky-05));--mds-push-notification-icon-color:rgb(var(--label-sky-10))}:host([variant=\"sky\"]),:host([variant=\"sky\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-sky-09));--mds-push-notification-icon-color:rgb(var(--label-sky-05))}:host([variant=\"sky\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-sky-05))}:host([variant=\"aqua\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-aqua-05));--mds-push-notification-icon-color:rgb(var(--label-aqua-10))}:host([variant=\"aqua\"]),:host([variant=\"aqua\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-aqua-09));--mds-push-notification-icon-color:rgb(var(--label-aqua-05))}:host([variant=\"aqua\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-aqua-05))}:host([variant=\"green\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-green-05));--mds-push-notification-icon-color:rgb(var(--label-green-10))}:host([variant=\"green\"]),:host([variant=\"green\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-green-09));--mds-push-notification-icon-color:rgb(var(--label-green-05))}:host([variant=\"green\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-green-05))}:host([variant=\"lime\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-lime-05));--mds-push-notification-icon-color:rgb(var(--label-lime-10))}:host([variant=\"lime\"]),:host([variant=\"lime\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-lime-09));--mds-push-notification-icon-color:rgb(var(--label-lime-05))}:host([variant=\"lime\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-lime-05))}:host([variant=\"yellow\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--label-yellow-05));--mds-push-notification-icon-color:rgb(var(--label-yellow-10))}:host([variant=\"yellow\"]),:host([variant=\"yellow\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--label-yellow-09));--mds-push-notification-icon-color:rgb(var(--label-yellow-05))}:host([variant=\"yellow\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--label-yellow-05))}:host([variant=\"error\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--status-error-05));--mds-push-notification-icon-color:rgb(var(--status-error-10))}:host([variant=\"error\"]),:host([variant=\"error\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--status-error-09));--mds-push-notification-icon-color:rgb(var(--status-error-05))}:host([variant=\"error\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--status-error-05))}:host([variant=\"warning\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--status-warning-05));--mds-push-notification-icon-color:rgb(var(--status-warning-10))}:host([variant=\"warning\"]),:host([variant=\"warning\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--status-warning-09));--mds-push-notification-icon-color:rgb(var(--status-warning-05))}:host([variant=\"warning\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--status-warning-05))}:host([variant=\"success\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--status-success-05));--mds-push-notification-icon-color:rgb(var(--status-success-10))}:host([variant=\"success\"]),:host([variant=\"success\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--status-success-09));--mds-push-notification-icon-color:rgb(var(--status-success-05))}:host([variant=\"success\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--status-success-05))}:host([variant=\"info\"][tone=\"strong\"]){--mds-push-notification-icon-background-color:rgb(var(--status-info-05));--mds-push-notification-icon-color:rgb(var(--status-info-10))}:host([variant=\"info\"]),:host([variant=\"info\"][tone=\"weak\"]){--mds-push-notification-icon-background-color:rgb(var(--status-info-09));--mds-push-notification-icon-color:rgb(var(--status-info-05))}:host([variant=\"info\"][tone=\"quiet\"]){--mds-push-notification-icon-background-color:transparent;--mds-push-notification-icon-color:rgb(var(--status-info-05))}:host(:not(:is([hydrated],.hydrated))){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}mds-accordion:not(:is([hydrated],.hydrated)),mds-accordion-item:not(:is([hydrated],.hydrated)),mds-accordion-timer:not(:is([hydrated],.hydrated)),mds-accordion-timer-item:not(:is([hydrated],.hydrated)),mds-author:not(:is([hydrated],.hydrated)),mds-avatar:not(:is([hydrated],.hydrated)),mds-badge:not(:is([hydrated],.hydrated)),mds-banner:not(:is([hydrated],.hydrated)),mds-benchmark-bar:not(:is([hydrated],.hydrated)),mds-bibliography:not(:is([hydrated],.hydrated)),mds-breadcrumb:not(:is([hydrated],.hydrated)),mds-breadcrumb-item:not(:is([hydrated],.hydrated)),mds-button:not(:is([hydrated],.hydrated)),mds-card:not(:is([hydrated],.hydrated)),mds-card-content:not(:is([hydrated],.hydrated)),mds-card-footer:not(:is([hydrated],.hydrated)),mds-card-header:not(:is([hydrated],.hydrated)),mds-card-media:not(:is([hydrated],.hydrated)),mds-chip:not(:is([hydrated],.hydrated)),mds-details:not(:is([hydrated],.hydrated)),mds-dropdown:not(:is([hydrated],.hydrated)),mds-entity:not(:is([hydrated],.hydrated)),mds-file:not(:is([hydrated],.hydrated)),mds-file-preview:not(:is([hydrated],.hydrated)),mds-filter:not(:is([hydrated],.hydrated)),mds-filter-item:not(:is([hydrated],.hydrated)),mds-header:not(:is([hydrated],.hydrated)),mds-header-bar:not(:is([hydrated],.hydrated)),mds-help:not(:is([hydrated],.hydrated)),mds-horizontal-scroll:not(:is([hydrated],.hydrated)),mds-hr:not(:is([hydrated],.hydrated)),mds-icon:not(:is([hydrated],.hydrated)),mds-img:not(:is([hydrated],.hydrated)),mds-input:not(:is([hydrated],.hydrated)),mds-input-field:not(:is([hydrated],.hydrated)),mds-input-range:not(:is([hydrated],.hydrated)),mds-input-select:not(:is([hydrated],.hydrated)),mds-input-switch:not(:is([hydrated],.hydrated)),mds-input-tip:not(:is([hydrated],.hydrated)),mds-input-tip-item:not(:is([hydrated],.hydrated)),mds-input-upload:not(:is([hydrated],.hydrated)),mds-keyboard:not(:is([hydrated],.hydrated)),mds-keyboard-key:not(:is([hydrated],.hydrated)),mds-kpi:not(:is([hydrated],.hydrated)),mds-kpi-item:not(:is([hydrated],.hydrated)),mds-label:not(:is([hydrated],.hydrated)),mds-list:not(:is([hydrated],.hydrated)),mds-list-item:not(:is([hydrated],.hydrated)),mds-modal:not(:is([hydrated],.hydrated)),mds-note:not(:is([hydrated],.hydrated)),mds-notification:not(:is([hydrated],.hydrated)),mds-paginator:not(:is([hydrated],.hydrated)),mds-paginator-item:not(:is([hydrated],.hydrated)),mds-pref:not(:is([hydrated],.hydrated)),mds-pref-animation:not(:is([hydrated],.hydrated)),mds-pref-consumption:not(:is([hydrated],.hydrated)),mds-pref-contrast:not(:is([hydrated],.hydrated)),mds-pref-language:not(:is([hydrated],.hydrated)),mds-pref-language-item:not(:is([hydrated],.hydrated)),mds-pref-theme:not(:is([hydrated],.hydrated)),mds-price-table:not(:is([hydrated],.hydrated)),mds-price-table-features:not(:is([hydrated],.hydrated)),mds-price-table-features-cell:not(:is([hydrated],.hydrated)),mds-price-table-features-row:not(:is([hydrated],.hydrated)),mds-price-table-header:not(:is([hydrated],.hydrated)),mds-price-table-list:not(:is([hydrated],.hydrated)),mds-price-table-list-item:not(:is([hydrated],.hydrated)),mds-progress:not(:is([hydrated],.hydrated)),mds-push-notification:not(:is([hydrated],.hydrated)),mds-push-notifications:not(:is([hydrated],.hydrated)),mds-quote:not(:is([hydrated],.hydrated)),mds-separator:not(:is([hydrated],.hydrated)),mds-spinner:not(:is([hydrated],.hydrated)),mds-stepper-bar:not(:is([hydrated],.hydrated)),mds-stepper-bar-item:not(:is([hydrated],.hydrated)),mds-tab:not(:is([hydrated],.hydrated)),mds-tab-bar:not(:is([hydrated],.hydrated)),mds-tab-bar-item:not(:is([hydrated],.hydrated)),mds-tab-item:not(:is([hydrated],.hydrated)),mds-table:not(:is([hydrated],.hydrated)),mds-table-body:not(:is([hydrated],.hydrated)),mds-table-cell:not(:is([hydrated],.hydrated)),mds-table-footer:not(:is([hydrated],.hydrated)),mds-table-header:not(:is([hydrated],.hydrated)),mds-table-header-cell:not(:is([hydrated],.hydrated)),mds-table-row:not(:is([hydrated],.hydrated)),mds-text:not(:is([hydrated],.hydrated)),mds-toast:not(:is([hydrated],.hydrated)),mds-tooltip:not(:is([hydrated],.hydrated)),mds-tree:not(:is([hydrated],.hydrated)),mds-tree-item:not(:is([hydrated],.hydrated)),mds-url-view:not(:is([hydrated],.hydrated)),mds-usage:not(:is([hydrated],.hydrated)),mds-video-wall:not(:is([hydrated],.hydrated)),mds-zero:not(:is([hydrated],.hydrated)){-webkit-animation-duration:0s;animation-duration:0s;border-color:transparent;-webkit-box-shadow:0 0 0 transparent;box-shadow:0 0 0 transparent;opacity:0;outline-color:transparent;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s;visibility:hidden}";
|
|
1001
1001
|
const MdsPushNotificationStyle0 = mdsPushNotificationCss;
|
|
1002
1002
|
|
|
1003
1003
|
dayjs.extend(relativeTime);
|