@echothink-ui/activity 0.1.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.
Files changed (39) hide show
  1. package/README.md +5 -0
  2. package/dist/components/ActivityFeed.d.ts +7 -0
  3. package/dist/components/ActivityTimeline.d.ts +6 -0
  4. package/dist/components/AlertBanner.d.ts +10 -0
  5. package/dist/components/ChangelogPanel.d.ts +6 -0
  6. package/dist/components/IncidentPanel.d.ts +6 -0
  7. package/dist/components/MentionList.d.ts +7 -0
  8. package/dist/components/NotificationCenter.d.ts +10 -0
  9. package/dist/components/NotificationItem.d.ts +8 -0
  10. package/dist/components/SubscriptionPreferences.d.ts +7 -0
  11. package/dist/components/SystemStatusBanner.d.ts +9 -0
  12. package/dist/components/WatcherList.d.ts +8 -0
  13. package/dist/components/helpers.d.ts +4 -0
  14. package/dist/components/types.d.ts +65 -0
  15. package/dist/index.cjs +944 -0
  16. package/dist/index.cjs.map +1 -0
  17. package/dist/index.css +711 -0
  18. package/dist/index.css.map +1 -0
  19. package/dist/index.d.ts +16 -0
  20. package/dist/index.js +904 -0
  21. package/dist/index.js.map +1 -0
  22. package/package.json +43 -0
  23. package/src/components/ActivityFeed.tsx +83 -0
  24. package/src/components/ActivityTimeline.tsx +178 -0
  25. package/src/components/AlertBanner.tsx +69 -0
  26. package/src/components/ChangelogPanel.tsx +100 -0
  27. package/src/components/IncidentPanel.tsx +82 -0
  28. package/src/components/MentionList.tsx +85 -0
  29. package/src/components/NotificationCenter.tsx +117 -0
  30. package/src/components/NotificationItem.tsx +99 -0
  31. package/src/components/SubscriptionPreferences.test.tsx +64 -0
  32. package/src/components/SubscriptionPreferences.tsx +140 -0
  33. package/src/components/SystemStatusBanner.tsx +46 -0
  34. package/src/components/WatcherList.test.tsx +50 -0
  35. package/src/components/WatcherList.tsx +122 -0
  36. package/src/components/helpers.ts +15 -0
  37. package/src/components/types.ts +71 -0
  38. package/src/index.tsx +31 -0
  39. package/src/styles.css +854 -0
package/dist/index.css ADDED
@@ -0,0 +1,711 @@
1
+ @import "@echothink-ui/core/styles.css";
2
+
3
+ /* src/styles.css */
4
+ .eth-activity-system-status-banner {
5
+ --eth-alert-accent: var(--eth-color-info);
6
+ --eth-alert-background: color-mix( in srgb, var(--eth-alert-accent) 8%, var(--eth-color-layer-01) );
7
+ --eth-alert-border: var(--eth-color-border-subtle);
8
+ box-shadow: inset 3px 0 0 var(--eth-alert-accent);
9
+ min-block-size: 3rem;
10
+ }
11
+ .eth-activity-system-status-banner.eth-activity-alert-banner--warning {
12
+ --eth-alert-accent: var(--eth-color-warning);
13
+ --eth-alert-background: color-mix( in srgb, var(--eth-color-warning) 16%, var(--eth-color-layer-01) );
14
+ }
15
+ .eth-activity-system-status-banner.eth-activity-alert-banner--danger {
16
+ --eth-alert-accent: var(--eth-color-danger);
17
+ --eth-alert-background: color-mix( in srgb, var(--eth-color-danger) 7%, var(--eth-color-layer-01) );
18
+ }
19
+ .eth-activity-system-status-banner .eth-inline-notification.cds--inline-notification {
20
+ min-block-size: 3rem;
21
+ }
22
+ .eth-activity-system-status-banner .cds--inline-notification__text-wrapper {
23
+ align-items: baseline;
24
+ column-gap: var(--eth-space-sm);
25
+ display: flex;
26
+ flex-wrap: wrap;
27
+ min-inline-size: 0;
28
+ }
29
+ .eth-activity-system-status-banner .cds--inline-notification__subtitle {
30
+ color: var(--eth-color-text-secondary);
31
+ }
32
+ .eth-activity-notification-item,
33
+ .eth-activity-notification-center {
34
+ --eth-activity-notification-layer: var(--eth-color-layer-01);
35
+ --eth-activity-notification-layer-hover: var(--eth-color-layer-hover);
36
+ --eth-activity-notification-border: var(--eth-color-border-subtle);
37
+ --eth-activity-notification-focus: var(--eth-color-focus);
38
+ --eth-activity-notification-text-primary: var(--eth-color-text-primary);
39
+ --eth-activity-notification-text-secondary: var(--eth-color-text-secondary);
40
+ }
41
+ .eth-activity-notification-center {
42
+ inline-size: min(100%, 42rem);
43
+ min-inline-size: 0;
44
+ }
45
+ .eth-activity-notification-center.eth-surface {
46
+ gap: var(--eth-space-lg);
47
+ }
48
+ .eth-activity-notification-center .eth-surface__header {
49
+ border-block-end: 1px solid var(--eth-color-border-subtle);
50
+ padding-block-end: var(--eth-space-lg);
51
+ }
52
+ .eth-activity-notification-center .eth-surface__subtitle {
53
+ font-size: calc(0.875rem * var(--eth-text-scale, 1));
54
+ line-height: 1.4286;
55
+ margin-block-start: var(--eth-space-xs);
56
+ }
57
+ .eth-activity-notification-center__toolbar {
58
+ align-items: center;
59
+ display: flex;
60
+ justify-content: flex-end;
61
+ min-inline-size: 0;
62
+ }
63
+ .eth-activity-notification-center__groups,
64
+ .eth-activity-notification-center__group,
65
+ .eth-activity-notification-center__items {
66
+ display: grid;
67
+ min-inline-size: 0;
68
+ }
69
+ .eth-activity-notification-center__groups {
70
+ gap: var(--eth-space-xl);
71
+ }
72
+ .eth-activity-notification-center__group {
73
+ gap: var(--eth-space-sm);
74
+ }
75
+ .eth-activity-notification-center__group h3 {
76
+ color: var(--eth-color-text-secondary);
77
+ font-size: calc(0.75rem * var(--eth-text-scale, 1));
78
+ font-weight: 600;
79
+ line-height: 1.3333;
80
+ margin: 0;
81
+ text-transform: uppercase;
82
+ }
83
+ .eth-activity-notification-center__items {
84
+ border-block-start: 1px solid var(--eth-color-border-subtle);
85
+ list-style: none;
86
+ margin: 0;
87
+ padding: 0;
88
+ }
89
+ .eth-activity-notification-center__row {
90
+ align-items: start;
91
+ border-block-end: 1px solid var(--eth-color-border-subtle);
92
+ display: grid;
93
+ gap: var(--eth-space-sm);
94
+ grid-template-columns: minmax(0, 1fr) max-content;
95
+ min-inline-size: 0;
96
+ padding-block: var(--eth-space-sm);
97
+ }
98
+ .eth-activity-notification-center__row > .eth-button {
99
+ justify-self: end;
100
+ margin-block-start: var(--eth-space-sm);
101
+ }
102
+ .eth-activity-notification-center__empty {
103
+ background: var(--eth-color-layer-02);
104
+ border: 1px dashed var(--eth-color-border-subtle);
105
+ color: var(--eth-color-text-secondary);
106
+ font-size: calc(0.875rem * var(--eth-text-scale, 1));
107
+ line-height: 1.4286;
108
+ margin: 0;
109
+ padding: var(--eth-space-lg);
110
+ }
111
+ .eth-activity-notification-item {
112
+ --eth-activity-notification-accent: var(--eth-color-info);
113
+ align-items: stretch;
114
+ background: var(--eth-activity-notification-layer);
115
+ border: 1px solid var(--eth-activity-notification-border);
116
+ border-inline-start: 3px solid var(--eth-activity-notification-accent);
117
+ color: var(--eth-activity-notification-text-primary);
118
+ display: grid;
119
+ inline-size: 100%;
120
+ max-inline-size: 100%;
121
+ min-inline-size: 0;
122
+ }
123
+ .eth-activity-notification-item[data-severity=warning] {
124
+ --eth-activity-notification-accent: var(--eth-color-warning);
125
+ }
126
+ .eth-activity-notification-item[data-severity=danger],
127
+ .eth-activity-notification-item[data-severity=error] {
128
+ --eth-activity-notification-accent: var(--eth-color-danger);
129
+ }
130
+ .eth-activity-notification-item[data-severity=success] {
131
+ --eth-activity-notification-accent: var(--eth-color-success);
132
+ }
133
+ .eth-activity-notification-item--read {
134
+ --eth-activity-notification-accent: var(--eth-activity-notification-border);
135
+ background: var(--eth-color-layer-02);
136
+ }
137
+ .eth-activity-notification-item__main {
138
+ align-items: start;
139
+ background: transparent;
140
+ border: 0;
141
+ color: inherit;
142
+ display: grid;
143
+ gap: var(--eth-space-md);
144
+ grid-template-columns: max-content minmax(0, 1fr) max-content;
145
+ inline-size: 100%;
146
+ min-block-size: 3.5rem;
147
+ min-inline-size: 0;
148
+ padding: var(--eth-space-md);
149
+ text-align: start;
150
+ }
151
+ button.eth-activity-notification-item__main {
152
+ cursor: pointer;
153
+ font: inherit;
154
+ transition: background-color 110ms cubic-bezier(0.2, 0, 0.38, 0.9);
155
+ }
156
+ button.eth-activity-notification-item__main:hover {
157
+ background: var(--eth-activity-notification-layer-hover);
158
+ }
159
+ button.eth-activity-notification-item__main:focus-visible,
160
+ .eth-activity-notification-item__actions :where(button, a):focus-visible {
161
+ outline: 2px solid var(--eth-activity-notification-focus);
162
+ outline-offset: -2px;
163
+ }
164
+ .eth-activity-notification-item__severity {
165
+ justify-self: start;
166
+ }
167
+ .eth-activity-notification-item__content {
168
+ display: grid;
169
+ gap: var(--eth-space-xs);
170
+ min-inline-size: 0;
171
+ }
172
+ .eth-activity-notification-item__title,
173
+ .eth-activity-notification-item__body {
174
+ font-size: calc(0.875rem * var(--eth-text-scale, 1));
175
+ line-height: 1.4286;
176
+ min-inline-size: 0;
177
+ overflow-wrap: anywhere;
178
+ }
179
+ .eth-activity-notification-item__title {
180
+ color: var(--eth-activity-notification-text-primary);
181
+ font-weight: 600;
182
+ }
183
+ .eth-activity-notification-item--read .eth-activity-notification-item__title {
184
+ font-weight: 400;
185
+ }
186
+ .eth-activity-notification-item__body {
187
+ color: var(--eth-activity-notification-text-secondary);
188
+ }
189
+ .eth-activity-notification-item__time {
190
+ color: var(--eth-activity-notification-text-secondary);
191
+ font-family: var(--eth-font-mono, "IBM Plex Mono", monospace);
192
+ font-size: calc(0.75rem * var(--eth-text-scale, 1));
193
+ font-variant-numeric: tabular-nums;
194
+ justify-self: end;
195
+ line-height: 1.3333;
196
+ white-space: nowrap;
197
+ }
198
+ .eth-activity-notification-item--read .eth-activity-notification-item__title,
199
+ .eth-activity-notification-item--read .eth-activity-notification-item__body,
200
+ .eth-activity-notification-item--read .eth-activity-notification-item__time {
201
+ color: var(--eth-color-text-secondary);
202
+ }
203
+ .eth-activity-notification-item__actions {
204
+ align-items: center;
205
+ border-block-start: 1px solid var(--eth-color-border-subtle);
206
+ display: flex;
207
+ flex-wrap: wrap;
208
+ gap: var(--eth-space-sm);
209
+ justify-content: flex-start;
210
+ min-inline-size: 0;
211
+ padding: var(--eth-space-sm) var(--eth-space-md);
212
+ }
213
+ .eth-activity-notification-item__actions .eth-actions {
214
+ gap: var(--eth-space-sm);
215
+ }
216
+ .eth-activity-notification-item__actions .eth-button {
217
+ margin: 0;
218
+ }
219
+ .eth-activity-notification-center__row .eth-activity-notification-item {
220
+ inline-size: 100%;
221
+ }
222
+ .eth-activity-subscription-preferences {
223
+ align-content: start;
224
+ background: var(--eth-color-layer-01);
225
+ border: 1px solid var(--eth-color-border-subtle);
226
+ border-radius: 0;
227
+ color: var(--eth-color-text-primary);
228
+ display: grid;
229
+ gap: 0;
230
+ inline-size: min(100%, 48rem);
231
+ min-inline-size: 0;
232
+ padding: 0;
233
+ }
234
+ .eth-activity-subscription-preferences > .eth-surface__header {
235
+ background: var(--eth-color-layer-02);
236
+ border-block-end: 1px solid var(--eth-color-border-subtle);
237
+ padding: var(--eth-space-xl);
238
+ }
239
+ .eth-activity-subscription-preferences .eth-surface__heading h2 {
240
+ color: var(--eth-color-text-primary);
241
+ font-size: calc(1rem * var(--eth-text-scale, 1));
242
+ font-weight: 600;
243
+ line-height: 1.375;
244
+ margin: 0;
245
+ }
246
+ .eth-activity-subscription-preferences .eth-surface__description {
247
+ color: var(--eth-color-text-secondary);
248
+ font-size: calc(0.875rem * var(--eth-text-scale, 1));
249
+ line-height: 1.4286;
250
+ max-inline-size: 38rem;
251
+ }
252
+ .eth-activity-subscription-preferences__categories {
253
+ display: grid;
254
+ min-inline-size: 0;
255
+ }
256
+ .eth-activity-subscription-preferences__category {
257
+ align-items: start;
258
+ border-block-end: 1px solid var(--eth-color-border-subtle);
259
+ column-gap: var(--eth-space-2xl);
260
+ display: grid;
261
+ grid-template-columns: minmax(10rem, 14rem) minmax(0, 1fr);
262
+ margin: 0;
263
+ min-inline-size: 0;
264
+ padding: var(--eth-space-lg) var(--eth-space-xl);
265
+ row-gap: var(--eth-space-lg);
266
+ }
267
+ .eth-activity-subscription-preferences__category:last-child {
268
+ border-block-end: 0;
269
+ }
270
+ .eth-activity-subscription-preferences__category-header {
271
+ display: grid;
272
+ gap: var(--eth-space-xs);
273
+ min-inline-size: 0;
274
+ }
275
+ .eth-activity-subscription-preferences__category h3 {
276
+ color: var(--eth-color-text-primary);
277
+ font-size: calc(0.875rem * var(--eth-text-scale, 1));
278
+ font-weight: 600;
279
+ line-height: 1.2857;
280
+ margin: 0;
281
+ overflow-wrap: anywhere;
282
+ }
283
+ .eth-activity-subscription-preferences__category-description,
284
+ .eth-activity-subscription-preferences__channel-description,
285
+ .eth-activity-subscription-preferences__channel-empty,
286
+ .eth-activity-subscription-preferences__empty {
287
+ color: var(--eth-color-text-secondary);
288
+ font-size: calc(0.875rem * var(--eth-text-scale, 1));
289
+ line-height: 1.4286;
290
+ margin: 0;
291
+ }
292
+ .eth-activity-subscription-preferences__channels {
293
+ border: 1px solid var(--eth-color-border-subtle);
294
+ display: grid;
295
+ min-inline-size: 0;
296
+ }
297
+ .eth-activity-subscription-preferences__channel {
298
+ align-items: center;
299
+ background: var(--eth-color-layer-01);
300
+ display: grid;
301
+ gap: var(--eth-space-lg);
302
+ grid-template-columns: minmax(0, 1fr) max-content;
303
+ min-block-size: 3rem;
304
+ min-inline-size: 0;
305
+ padding: var(--eth-space-md);
306
+ }
307
+ .eth-activity-subscription-preferences__channel + .eth-activity-subscription-preferences__channel {
308
+ border-block-start: 1px solid var(--eth-color-border-subtle);
309
+ }
310
+ .eth-activity-subscription-preferences__channel--disabled {
311
+ background: var(--eth-color-layer-02);
312
+ }
313
+ .eth-activity-subscription-preferences__channel-copy {
314
+ display: grid;
315
+ gap: var(--eth-space-xs);
316
+ min-inline-size: 0;
317
+ }
318
+ .eth-activity-subscription-preferences__channel-label {
319
+ color: var(--eth-color-text-primary);
320
+ font-size: calc(0.875rem * var(--eth-text-scale, 1));
321
+ font-weight: 600;
322
+ line-height: 1.4286;
323
+ overflow-wrap: anywhere;
324
+ }
325
+ .eth-activity-subscription-preferences__channel--disabled .eth-activity-subscription-preferences__channel-label,
326
+ .eth-activity-subscription-preferences__channel--disabled .eth-activity-subscription-preferences__channel-description {
327
+ color: var(--eth-color-text-helper);
328
+ }
329
+ .eth-activity-subscription-preferences__channel .cds--toggle {
330
+ margin: 0;
331
+ max-inline-size: 100%;
332
+ min-inline-size: 0;
333
+ }
334
+ .eth-activity-subscription-preferences__channel-empty,
335
+ .eth-activity-subscription-preferences__empty {
336
+ background: var(--eth-color-layer-02);
337
+ padding: var(--eth-space-lg);
338
+ }
339
+ .eth-activity-subscription-preferences__empty {
340
+ border-block-start: 1px solid var(--eth-color-border-subtle);
341
+ padding-inline: var(--eth-space-xl);
342
+ }
343
+ .eth-activity-watcher-list {
344
+ inline-size: min(100%, 34rem);
345
+ min-inline-size: 0;
346
+ }
347
+ .eth-activity-watcher-list .eth-surface__header {
348
+ border-block-end: 1px solid var(--eth-color-border-subtle);
349
+ padding-block-end: var(--eth-space-md);
350
+ }
351
+ .eth-activity-watcher-list__items {
352
+ border: 1px solid var(--eth-color-border-subtle);
353
+ display: grid;
354
+ list-style: none;
355
+ margin: 0;
356
+ min-inline-size: 0;
357
+ padding: 0;
358
+ }
359
+ .eth-activity-watcher-list__item {
360
+ align-items: center;
361
+ background: var(--eth-color-layer-01);
362
+ display: grid;
363
+ gap: var(--eth-space-md);
364
+ grid-template-columns: 2.25rem minmax(0, 1fr) max-content;
365
+ min-block-size: 3.5rem;
366
+ min-inline-size: 0;
367
+ padding: var(--eth-space-md);
368
+ }
369
+ .eth-activity-watcher-list__item + .eth-activity-watcher-list__item {
370
+ border-block-start: 1px solid var(--eth-color-border-subtle);
371
+ }
372
+ .eth-activity-watcher-list__avatar {
373
+ align-items: center;
374
+ background: var(--eth-color-layer-02);
375
+ block-size: 2.25rem;
376
+ border: 1px solid var(--eth-color-border-subtle);
377
+ color: var(--eth-color-text-primary);
378
+ display: inline-flex;
379
+ font-size: calc(0.75rem * var(--eth-text-scale, 1));
380
+ font-weight: 600;
381
+ inline-size: 2.25rem;
382
+ justify-content: center;
383
+ line-height: 1.3333;
384
+ overflow: hidden;
385
+ }
386
+ .eth-activity-watcher-list__avatar img {
387
+ block-size: 100%;
388
+ inline-size: 100%;
389
+ object-fit: cover;
390
+ }
391
+ .eth-activity-watcher-list__identity {
392
+ display: grid;
393
+ gap: var(--eth-space-xs);
394
+ min-inline-size: 0;
395
+ }
396
+ .eth-activity-watcher-list__identity strong {
397
+ color: var(--eth-color-text-primary);
398
+ font-size: calc(0.875rem * var(--eth-text-scale, 1));
399
+ font-weight: 600;
400
+ line-height: 1.4286;
401
+ overflow-wrap: anywhere;
402
+ }
403
+ .eth-activity-watcher-list__identity span,
404
+ .eth-activity-watcher-list__empty {
405
+ color: var(--eth-color-text-secondary);
406
+ font-size: calc(0.75rem * var(--eth-text-scale, 1));
407
+ line-height: 1.3333;
408
+ }
409
+ .eth-activity-watcher-list__actions {
410
+ align-items: center;
411
+ display: inline-flex;
412
+ flex-wrap: wrap;
413
+ gap: var(--eth-space-sm);
414
+ justify-content: flex-end;
415
+ justify-self: end;
416
+ min-inline-size: 0;
417
+ }
418
+ .eth-activity-watcher-list__actions .eth-icon-button {
419
+ margin: 0;
420
+ }
421
+ .eth-activity-watcher-list__footer {
422
+ align-items: center;
423
+ border-block-start: 1px solid var(--eth-color-border-subtle);
424
+ display: flex;
425
+ flex-wrap: wrap;
426
+ gap: var(--eth-space-sm);
427
+ min-inline-size: 0;
428
+ padding-block-start: var(--eth-space-md);
429
+ }
430
+ .eth-activity-watcher-list__empty {
431
+ background: var(--eth-color-layer-02);
432
+ border: 1px dashed var(--eth-color-border-subtle);
433
+ margin: 0;
434
+ padding: var(--eth-space-lg);
435
+ }
436
+ .eth-activity-mention-list {
437
+ min-inline-size: 0;
438
+ }
439
+ .eth-activity-mention-list__items {
440
+ border-block-start: 1px solid var(--eth-color-border-subtle);
441
+ display: grid;
442
+ list-style: none;
443
+ margin: 0;
444
+ min-inline-size: 0;
445
+ padding: 0;
446
+ }
447
+ .eth-activity-mention-list__item {
448
+ align-items: flex-start;
449
+ border-block-end: 1px solid var(--eth-color-border-subtle);
450
+ display: grid;
451
+ gap: var(--eth-space-lg);
452
+ grid-template-columns: 2.5rem minmax(0, 1fr) max-content;
453
+ min-inline-size: 0;
454
+ padding-block: var(--eth-space-lg);
455
+ }
456
+ .eth-activity-mention-list__item:last-child {
457
+ border-block-end: 0;
458
+ }
459
+ .eth-activity-mention-list__avatar {
460
+ align-items: center;
461
+ background: var(--eth-color-layer-02);
462
+ block-size: 2.5rem;
463
+ border: 1px solid var(--eth-color-border-subtle);
464
+ color: var(--eth-color-text-primary);
465
+ display: inline-flex;
466
+ flex: 0 0 auto;
467
+ font-size: calc(0.75rem * var(--eth-text-scale, 1));
468
+ font-weight: 600;
469
+ inline-size: 2.5rem;
470
+ justify-content: center;
471
+ line-height: 1.3333;
472
+ }
473
+ .eth-activity-mention-list__content {
474
+ display: grid;
475
+ gap: var(--eth-space-xs);
476
+ min-inline-size: 0;
477
+ }
478
+ .eth-activity-mention-list__header {
479
+ align-items: center;
480
+ display: flex;
481
+ flex-wrap: wrap;
482
+ gap: var(--eth-space-sm);
483
+ min-inline-size: 0;
484
+ }
485
+ .eth-activity-mention-list__sender {
486
+ color: var(--eth-color-text-primary);
487
+ font-size: calc(0.875rem * var(--eth-text-scale, 1));
488
+ font-weight: 600;
489
+ line-height: 1.4286;
490
+ }
491
+ .eth-activity-mention-list__reference {
492
+ align-items: center;
493
+ background: var(--eth-color-layer-02);
494
+ border: 1px solid var(--eth-color-border-subtle);
495
+ color: var(--eth-color-text-secondary);
496
+ display: inline-flex;
497
+ font-family: var(--eth-font-mono, "IBM Plex Mono", monospace);
498
+ font-size: calc(0.75rem * var(--eth-text-scale, 1));
499
+ line-height: 1.3333;
500
+ min-block-size: 1.5rem;
501
+ padding-inline: var(--eth-space-sm);
502
+ }
503
+ .eth-activity-mention-list__excerpt {
504
+ color: var(--eth-color-text-primary);
505
+ font-size: calc(0.875rem * var(--eth-text-scale, 1));
506
+ line-height: 1.4286;
507
+ margin: 0;
508
+ overflow-wrap: anywhere;
509
+ }
510
+ .eth-activity-mention-list__time,
511
+ .eth-activity-mention-list__empty {
512
+ color: var(--eth-color-text-secondary);
513
+ font-size: calc(0.75rem * var(--eth-text-scale, 1));
514
+ line-height: 1.3333;
515
+ }
516
+ .eth-activity-mention-list__time {
517
+ font-family: var(--eth-font-mono, "IBM Plex Mono", monospace);
518
+ font-variant-numeric: tabular-nums;
519
+ }
520
+ .eth-activity-mention-list__item > .eth-button {
521
+ justify-self: end;
522
+ min-inline-size: 5rem;
523
+ }
524
+ .eth-activity-mention-list__empty {
525
+ background: var(--eth-color-layer-02);
526
+ border: 1px dashed var(--eth-color-border-subtle);
527
+ margin: 0;
528
+ padding: var(--eth-space-lg);
529
+ }
530
+ .eth-activity-incident-panel {
531
+ min-inline-size: 0;
532
+ }
533
+ .eth-activity-incident-panel__list {
534
+ display: grid;
535
+ gap: var(--eth-space-md);
536
+ min-inline-size: 0;
537
+ }
538
+ .eth-activity-incident-panel__incident {
539
+ --eth-activity-incident-accent: var(--eth-color-info);
540
+ --eth-activity-incident-row: var(--eth-color-layer-02);
541
+ --eth-activity-incident-row-border: var(--eth-color-border-subtle);
542
+ background: var(--eth-activity-incident-row);
543
+ border: 1px solid var(--eth-activity-incident-row-border);
544
+ border-inline-start: 4px solid var(--eth-activity-incident-accent);
545
+ color: var(--eth-color-text-primary);
546
+ display: grid;
547
+ gap: var(--eth-space-md);
548
+ min-inline-size: 0;
549
+ padding: var(--eth-space-lg);
550
+ }
551
+ .eth-activity-incident-panel__incident[data-severity=danger] {
552
+ --eth-activity-incident-accent: var(--eth-color-danger);
553
+ }
554
+ .eth-activity-incident-panel__incident[data-severity=warning] {
555
+ --eth-activity-incident-accent: var(--eth-color-warning);
556
+ }
557
+ .eth-activity-incident-panel__incident[data-severity=success] {
558
+ --eth-activity-incident-accent: var(--eth-color-success);
559
+ }
560
+ .eth-activity-incident-panel__incident-header {
561
+ align-items: flex-start;
562
+ display: grid;
563
+ gap: var(--eth-space-md);
564
+ grid-template-columns: minmax(0, 1fr) max-content;
565
+ min-inline-size: 0;
566
+ }
567
+ .eth-activity-incident-panel__summary {
568
+ display: grid;
569
+ gap: var(--eth-space-xs);
570
+ min-inline-size: 0;
571
+ }
572
+ .eth-activity-incident-panel__summary h3 {
573
+ color: var(--eth-color-text-primary);
574
+ font-size: calc(1rem * var(--eth-text-scale, 1));
575
+ font-weight: 600;
576
+ line-height: 1.375;
577
+ margin: 0;
578
+ overflow-wrap: anywhere;
579
+ }
580
+ .eth-activity-incident-panel__summary p,
581
+ .eth-activity-incident-panel__empty {
582
+ color: var(--eth-color-text-secondary);
583
+ font-size: calc(0.875rem * var(--eth-text-scale, 1));
584
+ line-height: 1.4286;
585
+ margin: 0;
586
+ }
587
+ .eth-activity-incident-panel__severity {
588
+ justify-self: end;
589
+ }
590
+ .eth-activity-incident-panel__metadata {
591
+ background: var(--eth-activity-incident-row-border);
592
+ border: 1px solid var(--eth-activity-incident-row-border);
593
+ display: grid;
594
+ gap: 1px;
595
+ grid-template-columns: repeat(auto-fit, minmax(min(100%, 9rem), 1fr));
596
+ margin: 0;
597
+ min-inline-size: 0;
598
+ }
599
+ .eth-activity-incident-panel__metadata div {
600
+ background: var(--eth-color-layer-01);
601
+ min-inline-size: 0;
602
+ padding: var(--eth-space-md);
603
+ }
604
+ .eth-activity-incident-panel__metadata dt {
605
+ color: var(--eth-color-text-secondary);
606
+ font-size: calc(0.75rem * var(--eth-text-scale, 1));
607
+ line-height: 1.3333;
608
+ margin: 0 0 var(--eth-space-xs);
609
+ }
610
+ .eth-activity-incident-panel__metadata dd {
611
+ color: var(--eth-color-text-primary);
612
+ font-size: calc(0.875rem * var(--eth-text-scale, 1));
613
+ font-weight: 600;
614
+ line-height: 1.4286;
615
+ margin: 0;
616
+ min-inline-size: 0;
617
+ }
618
+ .eth-activity-incident-panel__metadata time {
619
+ font-family: var(--eth-font-mono, "IBM Plex Mono", monospace);
620
+ font-variant-numeric: tabular-nums;
621
+ }
622
+ .eth-activity-incident-panel__status {
623
+ --eth-activity-incident-status-color: var(--eth-color-info);
624
+ align-items: center;
625
+ display: inline-flex;
626
+ gap: var(--eth-space-xs);
627
+ max-inline-size: 100%;
628
+ min-inline-size: 0;
629
+ }
630
+ .eth-activity-incident-panel__status > span {
631
+ background: var(--eth-activity-incident-status-color);
632
+ block-size: 0.5rem;
633
+ border-radius: 50%;
634
+ flex: 0 0 auto;
635
+ inline-size: 0.5rem;
636
+ }
637
+ .eth-activity-incident-panel__status[data-status=investigating] {
638
+ --eth-activity-incident-status-color: var(--eth-color-warning);
639
+ }
640
+ .eth-activity-incident-panel__status[data-status=resolved] {
641
+ --eth-activity-incident-status-color: var(--eth-color-success);
642
+ }
643
+ .eth-activity-incident-panel__empty {
644
+ background: var(--eth-color-layer-02);
645
+ border: 1px dashed var(--eth-color-border-subtle);
646
+ padding: var(--eth-space-lg);
647
+ }
648
+ @media (width <= 42rem) {
649
+ .eth-activity-notification-center__row {
650
+ grid-template-columns: minmax(0, 1fr);
651
+ }
652
+ .eth-activity-notification-center__row > .eth-button {
653
+ justify-self: start;
654
+ margin-block-start: 0;
655
+ }
656
+ .eth-activity-notification-item__main {
657
+ grid-template-columns: max-content minmax(0, 1fr);
658
+ }
659
+ .eth-activity-notification-item__severity {
660
+ grid-row: 1 / span 2;
661
+ }
662
+ .eth-activity-notification-item__time {
663
+ grid-column: 2;
664
+ grid-row: 2;
665
+ justify-self: start;
666
+ }
667
+ .eth-activity-notification-item__actions {
668
+ justify-content: flex-start;
669
+ }
670
+ .eth-activity-subscription-preferences {
671
+ inline-size: 100%;
672
+ }
673
+ .eth-activity-subscription-preferences > .eth-surface__header,
674
+ .eth-activity-subscription-preferences__category,
675
+ .eth-activity-subscription-preferences__empty {
676
+ padding-inline: var(--eth-space-lg);
677
+ }
678
+ .eth-activity-subscription-preferences__category {
679
+ grid-template-columns: 1fr;
680
+ }
681
+ .eth-activity-subscription-preferences__channel {
682
+ grid-template-columns: minmax(0, 1fr);
683
+ }
684
+ .eth-activity-watcher-list__item {
685
+ align-items: start;
686
+ grid-template-columns: 2.25rem minmax(0, 1fr);
687
+ }
688
+ .eth-activity-watcher-list__actions {
689
+ grid-column: 2;
690
+ justify-content: flex-start;
691
+ justify-self: start;
692
+ }
693
+ .eth-activity-mention-list__item {
694
+ grid-template-columns: 2rem minmax(0, 1fr);
695
+ }
696
+ .eth-activity-mention-list__avatar {
697
+ block-size: 2rem;
698
+ inline-size: 2rem;
699
+ }
700
+ .eth-activity-mention-list__item > .eth-button {
701
+ grid-column: 2;
702
+ justify-self: start;
703
+ }
704
+ .eth-activity-incident-panel__incident-header {
705
+ grid-template-columns: 1fr;
706
+ }
707
+ .eth-activity-incident-panel__severity {
708
+ justify-self: start;
709
+ }
710
+ }
711
+ /*# sourceMappingURL=index.css.map */