@sentry/scraps 0.6.0 → 0.7.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 (88) hide show
  1. package/README.md +27 -0
  2. package/dist/alert/alert.js +10 -7
  3. package/dist/compactSelect/compactSelect.d.ts +2 -2
  4. package/dist/compactSelect/compactSelect.js +37 -23
  5. package/dist/compactSelect/control.js +12 -9
  6. package/dist/compactSelect/gridList/index.js +35 -36
  7. package/dist/compactSelect/gridList/option.d.ts +4 -1
  8. package/dist/compactSelect/gridList/option.js +4 -3
  9. package/dist/compactSelect/gridList/section.d.ts +10 -3
  10. package/dist/compactSelect/gridList/section.js +16 -33
  11. package/dist/compactSelect/listBox/index.d.ts +1 -1
  12. package/dist/compactSelect/listBox/index.js +46 -58
  13. package/dist/compactSelect/listBox/section.d.ts +10 -8
  14. package/dist/compactSelect/listBox/section.js +11 -30
  15. package/dist/compactSelect/styles.d.ts +6 -7
  16. package/dist/compactSelect/styles.js +1 -23
  17. package/dist/diagnostics/context.d.ts +12 -0
  18. package/dist/diagnostics/context.js +11 -0
  19. package/dist/diagnostics/index.d.ts +2 -0
  20. package/dist/diagnostics/index.js +1 -0
  21. package/dist/disclosure/disclosure.js +1 -1
  22. package/dist/dragHandle/dragHandle.js +3 -5
  23. package/dist/dropdownMenu/context.d.ts +10 -0
  24. package/dist/dropdownMenu/context.js +2 -1
  25. package/dist/dropdownMenu/item.d.ts +2 -7
  26. package/dist/dropdownMenu/item.js +13 -7
  27. package/dist/dropdownMenu/list.js +25 -23
  28. package/dist/dropdownMenu/useDropdownMenuRowLayout.js +6 -14
  29. package/dist/form/field/radioGroupField.d.ts +7 -0
  30. package/dist/form/field/radioGroupField.js +14 -0
  31. package/dist/form/field/selectField.d.ts +3 -4
  32. package/dist/form/field/selectField.js +16 -24
  33. package/dist/layout/container.d.ts +18 -7
  34. package/dist/layout/container.js +8 -11
  35. package/dist/layout/flex.js +1 -1
  36. package/dist/layout/grid.js +2 -2
  37. package/dist/layout/index.d.ts +1 -1
  38. package/dist/layout/index.js +1 -1
  39. package/dist/layout/stack.js +1 -1
  40. package/dist/layout/styles.d.ts +28 -8
  41. package/dist/layout/styles.js +67 -13
  42. package/dist/layout/surface.d.ts +2 -2
  43. package/dist/layout/surface.js +6 -3
  44. package/dist/menu/menu.js +4 -4
  45. package/dist/menu/selectValue.d.ts +2 -6
  46. package/dist/modal/components.js +2 -2
  47. package/dist/overlayArrow.js +2 -2
  48. package/dist/select/chips.d.ts +14 -0
  49. package/dist/select/chips.js +45 -0
  50. package/dist/select/filter.js +7 -11
  51. package/dist/select/index.d.ts +1 -1
  52. package/dist/select/indicators.d.ts +11 -0
  53. package/dist/select/indicators.js +61 -0
  54. package/dist/select/menu.d.ts +44 -0
  55. package/dist/select/menu.js +103 -0
  56. package/dist/select/option.d.ts +23 -15
  57. package/dist/select/option.js +66 -58
  58. package/dist/select/options.d.ts +31 -0
  59. package/dist/select/options.js +74 -0
  60. package/dist/select/select.d.ts +24 -11
  61. package/dist/select/select.js +527 -429
  62. package/dist/select/styles.d.ts +148 -2
  63. package/dist/select/styles.js +156 -1
  64. package/dist/select/types.d.ts +6 -7
  65. package/dist/select/types.js +4 -0
  66. package/dist/select/utils.d.ts +2 -0
  67. package/dist/select/utils.js +4 -0
  68. package/dist/separator/separator.d.ts +2 -2
  69. package/dist/separator/separator.js +4 -3
  70. package/dist/slot/slot.js +16 -12
  71. package/dist/tabs/tab.js +3 -1
  72. package/dist/theme/index.d.ts +2 -0
  73. package/dist/theme/index.js +2 -0
  74. package/dist/theme/types.d.ts +1 -0
  75. package/dist/theme/useResolvedTheme.d.ts +12 -0
  76. package/dist/theme/useResolvedTheme.js +20 -0
  77. package/dist/theme/variables.css +1116 -0
  78. package/dist/theme/variables.d.ts +985 -0
  79. package/dist/theme/variables.js +455 -0
  80. package/dist/useVirtualCollection.d.ts +14 -1
  81. package/dist/useVirtualCollection.js +59 -3
  82. package/package.json +12 -6
  83. package/dist/compactSelect/useVirtualizedItems.d.ts +0 -52
  84. package/dist/compactSelect/useVirtualizedItems.js +0 -74
  85. package/dist/select/reactSelectWrapper.d.ts +0 -8
  86. package/dist/select/reactSelectWrapper.js +0 -25
  87. package/dist/select/virtualizedMenuList.d.ts +0 -24
  88. package/dist/select/virtualizedMenuList.js +0 -123
@@ -0,0 +1,985 @@
1
+ export declare const themeVariables: {
2
+ shadow: {
3
+ high: string;
4
+ low: string;
5
+ medium: string;
6
+ };
7
+ tokens: {
8
+ background: {
9
+ /**
10
+ * The default background color for most containers.
11
+ */
12
+ primary: string;
13
+ /**
14
+ * A shade darker than `background.primary`, used with `background.primary` to
15
+ * visually communicate elevation/depth.
16
+ */
17
+ secondary: string;
18
+ /**
19
+ * A shade darker than `background.secondary`, used with `background.primary`
20
+ * and `background.secondaryto` visually communicate even more
21
+ * elevation/depth.
22
+ */
23
+ tertiary: string;
24
+ /**
25
+ * Used for small floating elements such as tooltips and dropdowns, to
26
+ * emphasize depth in dark mode.
27
+ */
28
+ overlay: string;
29
+ accent: {
30
+ /**
31
+ * Used to strongly emphasize blocks of content that inform users of
32
+ * important facts. Content sitting on this background color must use
33
+ * content.onVibrant.light to reach a sufficient contrast.
34
+ */
35
+ vibrant: string;
36
+ };
37
+ promotion: {
38
+ /**
39
+ * Used to strongly emphasize blocks of content that encourage users to
40
+ * invest in Sentry. Content sitting on this background color must use
41
+ * content.onVibrant.dark to reach a sufficient contrast.
42
+ */
43
+ vibrant: string;
44
+ };
45
+ danger: {
46
+ /**
47
+ * Used to strongly emphasize blocks of content that alert users of a issue.
48
+ * Content sitting on this background color must use content.onVibrant.light
49
+ * to reach a sufficient contrast.
50
+ */
51
+ vibrant: string;
52
+ };
53
+ warning: {
54
+ /**
55
+ * Used to strongly emphasize blocks of content that alert users of a
56
+ * potential issue. Content sitting on this background color must use
57
+ * content.onVibrant.light to reach a sufficient contrast.
58
+ */
59
+ vibrant: string;
60
+ };
61
+ success: {
62
+ /**
63
+ * Used to strongly emphasize blocks of content that inform users of a
64
+ * desired end-state. Content sitting on this background color must use
65
+ * content.onVibrant.light to reach a sufficient contrast.
66
+ */
67
+ vibrant: string;
68
+ };
69
+ transparent: {
70
+ neutral: {
71
+ /**
72
+ * Used to lightly emphasize blocks of content that inform users of less
73
+ * important facts.
74
+ */
75
+ muted: string;
76
+ };
77
+ accent: {
78
+ /**
79
+ * Used to lightly emphasize blocks of content that inform users of
80
+ * important facts.
81
+ */
82
+ muted: string;
83
+ };
84
+ promotion: {
85
+ /**
86
+ * Used to strongly emphasize blocks of content that encourage users to
87
+ * invest in Sentry.
88
+ */
89
+ muted: string;
90
+ };
91
+ danger: {
92
+ /**
93
+ * Used to lightly emphasize blocks of content that alert users of a
94
+ * issue.
95
+ */
96
+ muted: string;
97
+ };
98
+ warning: {
99
+ /**
100
+ * Used to lightly emphasize blocks of content that alert users of a
101
+ * potential issue.
102
+ */
103
+ muted: string;
104
+ };
105
+ success: {
106
+ /**
107
+ * Used to lightly emphasize blocks of content that inform users of a
108
+ * desired end-state.
109
+ */
110
+ muted: string;
111
+ };
112
+ };
113
+ };
114
+ border: {
115
+ /**
116
+ * The default border color for most containers.
117
+ */
118
+ primary: string;
119
+ /**
120
+ * A shade lighter than `border.primary`,used primarily for rows of repeated
121
+ * block elements such as table rows or list items wrapped in a container.
122
+ */
123
+ secondary: string;
124
+ neutral: {
125
+ /**
126
+ * Used situationally, but its primary purpose is to emphasize borders in
127
+ * data visualisations. This is the least intense token of its family, and
128
+ * the effects of using this tokens are more evident in dark mode.
129
+ */
130
+ muted: string;
131
+ /**
132
+ * Used situationally, but its primary purpose is to emphasize borders in
133
+ * data visualisations. This more intense than `border.neutral.muted`, and
134
+ * the effects of using this tokens are more evident in dark mode.
135
+ */
136
+ moderate: string;
137
+ /**
138
+ * Used situationally, but its primary purpose is to emphasize borders in
139
+ * data visualisations. This is the most intense of its family, and the
140
+ * effects of using this tokens are more evident in dark mode.
141
+ */
142
+ vibrant: string;
143
+ };
144
+ accent: {
145
+ /**
146
+ * Used situationally, but its primary purpose is to emphasize borders in
147
+ * data visualisations. This is the least intense token of its family, and
148
+ * the effects of using this tokens are more evident in dark mode.
149
+ */
150
+ muted: string;
151
+ /**
152
+ * Used situationally, but its primary purpose is to emphasize borders in
153
+ * data visualisations. This more intense than `border.accent.muted`, and
154
+ * the effects of using this tokens are more evident in dark mode.
155
+ */
156
+ moderate: string;
157
+ /**
158
+ * Used situationally, but its primary purpose is to emphasize borders in
159
+ * data visualisations. This is the most intense of its family, and the
160
+ * effects of using this tokens are more evident in dark mode.
161
+ */
162
+ vibrant: string;
163
+ };
164
+ promotion: {
165
+ /**
166
+ * Used situationally, but its primary purpose is to emphasize borders in
167
+ * data visualisations. This is the least intense token of its family, and
168
+ * the effects of using this tokens are more evident in dark mode.
169
+ */
170
+ muted: string;
171
+ /**
172
+ * Used situationally, but its primary purpose is to emphasize borders in
173
+ * data visualisations. This more intense than `border.promotion.muted`, and
174
+ * the effects of using this tokens are more evident in dark mode.
175
+ */
176
+ moderate: string;
177
+ /**
178
+ * Used situationally, but its primary purpose is to emphasize borders in
179
+ * data visualisations. This is the most intense of its family, and the
180
+ * effects of using this tokens are more evident in dark mode.
181
+ */
182
+ vibrant: string;
183
+ };
184
+ danger: {
185
+ /**
186
+ * Used situationally, but its primary purpose is to emphasize borders in
187
+ * data visualisations. This is the least intense token of its family, and
188
+ * the effects of using this tokens are more evident in dark mode.
189
+ */
190
+ muted: string;
191
+ /**
192
+ * Used situationally, but its primary purpose is to emphasize borders in
193
+ * data visualisations. This more intense than `border.danger.muted`, and
194
+ * the effects of using this tokens are more evident in dark mode.
195
+ */
196
+ moderate: string;
197
+ /**
198
+ * Used situationally, but its primary purpose is to emphasize borders in
199
+ * data visualisations. This is the most intense of its family, and the
200
+ * effects of using this tokens are more evident in dark mode.
201
+ */
202
+ vibrant: string;
203
+ };
204
+ warning: {
205
+ muted: string;
206
+ /**
207
+ * Used situationally, but its primary purpose is to emphasize borders in
208
+ * data visualisations. This more intense than `border.warning.muted`, and
209
+ * the effects of using this tokens are more evident in dark mode.
210
+ */
211
+ moderate: string;
212
+ /**
213
+ * Used situationally, but its primary purpose is to emphasize borders in
214
+ * data visualisations. This is the most intense of its family, and the
215
+ * effects of using this tokens are more evident in dark mode.
216
+ */
217
+ vibrant: string;
218
+ };
219
+ success: {
220
+ /**
221
+ * Used situationally, but its primary purpose is to emphasize borders in
222
+ * data visualisations. This is the least intense token of its family, and
223
+ * the effects of using this tokens are more evident in dark mode.
224
+ */
225
+ muted: string;
226
+ /**
227
+ * Used situationally, but its primary purpose is to emphasize borders in
228
+ * data visualisations. This more intense than `border.success.muted`, and
229
+ * the effects of using this tokens are more evident in dark mode.
230
+ */
231
+ moderate: string;
232
+ /**
233
+ * Used situationally, but its primary purpose is to emphasize borders in
234
+ * data visualisations. This is the most intense of its family, and the
235
+ * effects of using this tokens are more evident in dark mode.
236
+ */
237
+ vibrant: string;
238
+ };
239
+ onVibrant: {
240
+ /**
241
+ * Used for shapes or containers sitting on vibrant backgrounds such as;
242
+ * `background.accent.vibrant` or `background.danger.vibrant`.
243
+ */
244
+ light: string;
245
+ /**
246
+ * Used for shapes or containers sitting on vibrant backgrounds such as;
247
+ * `background.promotional.vibrant`, `background.warning.vibrant` or
248
+ * `background.success.vibrant`.
249
+ */
250
+ dark: string;
251
+ };
252
+ transparent: {
253
+ neutral: {
254
+ /**
255
+ * The transparent equivalent of `border.neutral.muted`.
256
+ */
257
+ muted: string;
258
+ /**
259
+ * The transparent equivalent of `border.neutral.moderate`.
260
+ */
261
+ moderate: string;
262
+ /**
263
+ * The transparent equivalent of `border.neutral.vibrant`.
264
+ */
265
+ vibrant: string;
266
+ };
267
+ accent: {
268
+ /**
269
+ * The transparent equivalent of `border.accent.muted`.
270
+ */
271
+ muted: string;
272
+ /**
273
+ * The transparent equivalent of `border.accent.moderate`.
274
+ */
275
+ moderate: string;
276
+ /**
277
+ * The transparent equivalent of `border.accent.vibrant`.
278
+ */
279
+ vibrant: string;
280
+ };
281
+ promotion: {
282
+ /**
283
+ * The transparent equivalent of `border.promotion.muted`.
284
+ */
285
+ muted: string;
286
+ /**
287
+ * The transparent equivalent of `border.promotion.moderate`.
288
+ */
289
+ moderate: string;
290
+ /**
291
+ * The transparent equivalent of `border.promotion.vibrant`.
292
+ */
293
+ vibrant: string;
294
+ };
295
+ danger: {
296
+ /**
297
+ * The transparent equivalent of `border.danger.muted`.
298
+ */
299
+ muted: string;
300
+ /**
301
+ * The transparent equivalent of `border.danger.moderate`.
302
+ */
303
+ moderate: string;
304
+ /**
305
+ * The transparent equivalent of `border.danger.vibrant`.
306
+ */
307
+ vibrant: string;
308
+ };
309
+ warning: {
310
+ /**
311
+ * The transparent equivalent of `border.warning.muted`.
312
+ */
313
+ muted: string;
314
+ /**
315
+ * The transparent equivalent of `border.warning.moderate`.
316
+ */
317
+ moderate: string;
318
+ /**
319
+ * The transparent equivalent of `border.warning.vibrant`.
320
+ */
321
+ vibrant: string;
322
+ };
323
+ success: {
324
+ /**
325
+ * The transparent equivalent of `border.success.muted`.
326
+ */
327
+ muted: string;
328
+ /**
329
+ * The transparent equivalent of `border.success.moderate`.
330
+ */
331
+ moderate: string;
332
+ /**
333
+ * The transparent equivalent of `border.success.vibrant`.
334
+ */
335
+ vibrant: string;
336
+ };
337
+ };
338
+ };
339
+ content: {
340
+ /**
341
+ * The default color for text and icons.
342
+ */
343
+ primary: string;
344
+ /**
345
+ * Used in combination with `content.primary` and `content.headings` to
346
+ * improve the visual hierarchy of content.
347
+ */
348
+ secondary: string;
349
+ /**
350
+ * Used for text and icons that inform users of important facts.
351
+ */
352
+ accent: string;
353
+ /**
354
+ * Used for text and icons that encourage users to invest in Sentry.
355
+ */
356
+ promotion: string;
357
+ /**
358
+ * Used for text and icons that alert users of a issue.
359
+ */
360
+ danger: string;
361
+ /**
362
+ * Used for text and icons that alert users of a potential issue.
363
+ */
364
+ warning: string;
365
+ /**
366
+ * Used for text and icons that inform users of a desired end-state.
367
+ */
368
+ success: string;
369
+ /**
370
+ * ✋ Purely for migration purposes, isn’t being used anyway in the new token
371
+ * system.
372
+ */
373
+ disabled: string;
374
+ /**
375
+ * Used only for text and icons that act as headers for pages or page
376
+ * sections.
377
+ */
378
+ headings: string;
379
+ onVibrant: {
380
+ /**
381
+ * Used for text and icons sitting on vibrant backgrounds such as;
382
+ * `background.accent.vibrant` or `background.danger.vibrant`.
383
+ */
384
+ light: string;
385
+ /**
386
+ * Used for text and icons sitting on vibrant backgrounds such as;
387
+ * `background.promotional.vibrant`, `background.warning.vibrant` or
388
+ * `background.success.vibrant`.
389
+ */
390
+ dark: string;
391
+ };
392
+ };
393
+ dataviz: {
394
+ categorical: readonly [readonly ["var(--scraps-dataviz-categorical-series1-1)"], readonly ["var(--scraps-dataviz-categorical-series2-1)", "var(--scraps-dataviz-categorical-series2-2)"], readonly ["var(--scraps-dataviz-categorical-series3-1)", "var(--scraps-dataviz-categorical-series3-2)", "var(--scraps-dataviz-categorical-series3-3)"], readonly ["var(--scraps-dataviz-categorical-series4-1)", "var(--scraps-dataviz-categorical-series4-2)", "var(--scraps-dataviz-categorical-series4-3)", "var(--scraps-dataviz-categorical-series4-4)"], readonly ["var(--scraps-dataviz-categorical-series5-1)", "var(--scraps-dataviz-categorical-series5-2)", "var(--scraps-dataviz-categorical-series5-3)", "var(--scraps-dataviz-categorical-series5-4)", "var(--scraps-dataviz-categorical-series5-5)"], readonly ["var(--scraps-dataviz-categorical-series6-1)", "var(--scraps-dataviz-categorical-series6-2)", "var(--scraps-dataviz-categorical-series6-3)", "var(--scraps-dataviz-categorical-series6-4)", "var(--scraps-dataviz-categorical-series6-5)", "var(--scraps-dataviz-categorical-series6-6)"], readonly ["var(--scraps-dataviz-categorical-series7-1)", "var(--scraps-dataviz-categorical-series7-2)", "var(--scraps-dataviz-categorical-series7-3)", "var(--scraps-dataviz-categorical-series7-4)", "var(--scraps-dataviz-categorical-series7-5)", "var(--scraps-dataviz-categorical-series7-6)", "var(--scraps-dataviz-categorical-series7-7)"], readonly ["var(--scraps-dataviz-categorical-series8-1)", "var(--scraps-dataviz-categorical-series8-2)", "var(--scraps-dataviz-categorical-series8-3)", "var(--scraps-dataviz-categorical-series8-4)", "var(--scraps-dataviz-categorical-series8-5)", "var(--scraps-dataviz-categorical-series8-6)", "var(--scraps-dataviz-categorical-series8-7)", "var(--scraps-dataviz-categorical-series8-8)"], readonly ["var(--scraps-dataviz-categorical-series9-1)", "var(--scraps-dataviz-categorical-series9-2)", "var(--scraps-dataviz-categorical-series9-3)", "var(--scraps-dataviz-categorical-series9-4)", "var(--scraps-dataviz-categorical-series9-5)", "var(--scraps-dataviz-categorical-series9-6)", "var(--scraps-dataviz-categorical-series9-7)", "var(--scraps-dataviz-categorical-series9-8)", "var(--scraps-dataviz-categorical-series9-9)"], readonly ["var(--scraps-dataviz-categorical-series10-1)", "var(--scraps-dataviz-categorical-series10-2)", "var(--scraps-dataviz-categorical-series10-3)", "var(--scraps-dataviz-categorical-series10-4)", "var(--scraps-dataviz-categorical-series10-5)", "var(--scraps-dataviz-categorical-series10-6)", "var(--scraps-dataviz-categorical-series10-7)", "var(--scraps-dataviz-categorical-series10-8)", "var(--scraps-dataviz-categorical-series10-9)", "var(--scraps-dataviz-categorical-series10-10)"], readonly ["var(--scraps-dataviz-categorical-series11-1)", "var(--scraps-dataviz-categorical-series11-2)", "var(--scraps-dataviz-categorical-series11-3)", "var(--scraps-dataviz-categorical-series11-4)", "var(--scraps-dataviz-categorical-series11-5)", "var(--scraps-dataviz-categorical-series11-6)", "var(--scraps-dataviz-categorical-series11-7)", "var(--scraps-dataviz-categorical-series11-8)", "var(--scraps-dataviz-categorical-series11-9)", "var(--scraps-dataviz-categorical-series11-10)", "var(--scraps-dataviz-categorical-series11-11)"]];
395
+ semantic: {
396
+ /**
397
+ * Used as an alternative to the default colour of the
398
+ * `data.viz.categorical` color scale.
399
+ */
400
+ neutral: string;
401
+ accent: string;
402
+ /**
403
+ * Used specifically for chart data that aims to visually communicate ideal
404
+ * outcomes.
405
+ */
406
+ good: string;
407
+ /**
408
+ * Used specifically for chart data that aims to visually communicate less
409
+ * than ideal outcomes.
410
+ */
411
+ meh: string;
412
+ /**
413
+ * Used specifically for chart data that aims to visually communicate
414
+ * negative outcomes.
415
+ */
416
+ bad: string;
417
+ /**
418
+ * Used specifically for release lines that can populate our charts.
419
+ */
420
+ release: string;
421
+ /**
422
+ * Used specifically for chart data that aims aggregate the remaining groups
423
+ * of a time-series.
424
+ */
425
+ other: string;
426
+ };
427
+ sequential: {
428
+ magma: {
429
+ series5: readonly ["var(--scraps-dataviz-sequential-magma-series5-1)", "var(--scraps-dataviz-sequential-magma-series5-2)", "var(--scraps-dataviz-sequential-magma-series5-3)", "var(--scraps-dataviz-sequential-magma-series5-4)", "var(--scraps-dataviz-sequential-magma-series5-5)"];
430
+ series6: readonly ["var(--scraps-dataviz-sequential-magma-series6-1)", "var(--scraps-dataviz-sequential-magma-series6-2)", "var(--scraps-dataviz-sequential-magma-series6-3)", "var(--scraps-dataviz-sequential-magma-series6-4)", "var(--scraps-dataviz-sequential-magma-series6-5)", "var(--scraps-dataviz-sequential-magma-series6-6)"];
431
+ series7: readonly ["var(--scraps-dataviz-sequential-magma-series7-1)", "var(--scraps-dataviz-sequential-magma-series7-2)", "var(--scraps-dataviz-sequential-magma-series7-3)", "var(--scraps-dataviz-sequential-magma-series7-4)", "var(--scraps-dataviz-sequential-magma-series7-5)", "var(--scraps-dataviz-sequential-magma-series7-6)", "var(--scraps-dataviz-sequential-magma-series7-7)"];
432
+ };
433
+ };
434
+ };
435
+ elevation: {
436
+ high: string;
437
+ low: string;
438
+ };
439
+ focus: {
440
+ default: string;
441
+ /**
442
+ * Used specifically when form elements use some form of validation which
443
+ * evaluates a users input to be ‘invalid’.
444
+ */
445
+ invalid: string;
446
+ onVibrant: {
447
+ /**
448
+ * Used specifically for chonky interactive elements of variant accent or
449
+ * danger
450
+ */
451
+ light: string;
452
+ /**
453
+ * Used specifically for chonky interactive elements of variant promotion,
454
+ * warning or success
455
+ */
456
+ dark: string;
457
+ };
458
+ };
459
+ graphics: {
460
+ neutral: {
461
+ /**
462
+ * Used situationally, but its primary purpose is to emphasize shapes in
463
+ * data visualisations. This is the least intense token of its family.
464
+ */
465
+ muted: string;
466
+ /**
467
+ * Used situationally, but its primary purpose is to emphasize shapes in
468
+ * data visualisations. This is more intense than `graphics.neutral.muted`.
469
+ */
470
+ moderate: string;
471
+ /**
472
+ * Used situationally, but its primary purpose is to emphasize shapes in
473
+ * data visualisations. This is the most intense token of its family.
474
+ */
475
+ vibrant: string;
476
+ };
477
+ accent: {
478
+ /**
479
+ * Used situationally, but its primary purpose is to emphasize shapes in
480
+ * data visualisations. This is the least intense token of its family.
481
+ */
482
+ muted: string;
483
+ /**
484
+ * Used situationally, but its primary purpose is to emphasize shapes in
485
+ * data visualisations. This is more intense than `graphics.accent.muted`.
486
+ */
487
+ moderate: string;
488
+ /**
489
+ * Used situationally, but its primary purpose is to emphasize shapes in
490
+ * data visualisations. This is the most intense token of its family.
491
+ */
492
+ vibrant: string;
493
+ };
494
+ promotion: {
495
+ /**
496
+ * Used situationally, but its primary purpose is to emphasize shapes in
497
+ * data visualisations. This is the least intense token of its family.
498
+ */
499
+ muted: string;
500
+ /**
501
+ * Used situationally, but its primary purpose is to emphasize shapes in
502
+ * data visualisations. This is more intense than
503
+ * `graphics.promotion.muted`.
504
+ */
505
+ moderate: string;
506
+ /**
507
+ * Used situationally, but its primary purpose is to emphasize shapes in
508
+ * data visualisations. This is the most intense token of its family.
509
+ */
510
+ vibrant: string;
511
+ };
512
+ danger: {
513
+ /**
514
+ * Used situationally, but its primary purpose is to emphasize shapes in
515
+ * data visualisations. This is the least intense token of its family.
516
+ */
517
+ muted: string;
518
+ /**
519
+ * Used situationally, but its primary purpose is to emphasize shapes in
520
+ * data visualisations. This is more intense than `graphics.danger.muted`.
521
+ */
522
+ moderate: string;
523
+ /**
524
+ * Used situationally, but its primary purpose is to emphasize shapes in
525
+ * data visualisations. This is the most intense token of its family.
526
+ */
527
+ vibrant: string;
528
+ };
529
+ warning: {
530
+ /**
531
+ * Used situationally, but its primary purpose is to emphasize shapes in
532
+ * data visualisations. This is the least intense token of its family.
533
+ */
534
+ muted: string;
535
+ /**
536
+ * Used situationally, but its primary purpose is to emphasize shapes in
537
+ * data visualisations. This is more intense than `graphics.warning.muted`.
538
+ */
539
+ moderate: string;
540
+ /**
541
+ * Used situationally, but its primary purpose is to emphasize shapes in
542
+ * data visualisations. This is the most intense token of its family.
543
+ */
544
+ vibrant: string;
545
+ };
546
+ success: {
547
+ /**
548
+ * Used situationally, but its primary purpose is to emphasize shapes in
549
+ * data visualisations. This is the least intense token of its family.
550
+ */
551
+ muted: string;
552
+ /**
553
+ * Used situationally, but its primary purpose is to emphasize shapes in
554
+ * data visualisations. This is more intense than `graphics.success.muted`.
555
+ */
556
+ moderate: string;
557
+ /**
558
+ * Used situationally, but its primary purpose is to emphasize shapes in
559
+ * data visualisations. This is the most intense token of its family.
560
+ */
561
+ vibrant: string;
562
+ };
563
+ };
564
+ interactive: {
565
+ chonky: {
566
+ debossed: {
567
+ neutral: {
568
+ content: {
569
+ /**
570
+ * The default color for the contents within a default variant of
571
+ * chonky form elements.
572
+ */
573
+ primary: string;
574
+ /**
575
+ * Used specifically for placeholders or labels within chonky form
576
+ * elements.
577
+ */
578
+ secondary: string;
579
+ /**
580
+ * Used specifically for validation errors within chonky form
581
+ * elements.
582
+ */
583
+ danger: string;
584
+ };
585
+ /**
586
+ * Used specifically for the sunken surface of chonky form elements.
587
+ * This token is intended to be used with
588
+ * `controls.chonky.debossed.neutral.chonk` to complete a default
589
+ * variant of chonky form elements.
590
+ */
591
+ background: string;
592
+ /**
593
+ * Used specifically for the sunken shadow of chonky form elements. This
594
+ * token is intended to be used with
595
+ * `controls.chonky.debossed.neutral.background` to complete a default
596
+ * variant of chonky form elements.
597
+ */
598
+ chonk: string;
599
+ };
600
+ accent: {
601
+ background: string;
602
+ chonk: string;
603
+ };
604
+ };
605
+ embossed: {
606
+ neutral: {
607
+ content: {
608
+ /**
609
+ * The default color for the contents within a default variant of
610
+ * chonky interactive elements.
611
+ */
612
+ primary: string;
613
+ /**
614
+ * Used specifically for the contents within a default variant of
615
+ * chonky interactive elements. This token is intended to be used with
616
+ * `controls.chonky.embossed.neutral.content.accent` for situations
617
+ * where you need to visually communicate a unselected state.
618
+ */
619
+ secondary: string;
620
+ /**
621
+ * Used specifically for the contents within a default variant of
622
+ * elements. This token is intended to be used with
623
+ * `controls.chonky.embossed.neutral.content.secondary` for situations
624
+ * where you need to visually communicate a selected state.
625
+ */
626
+ accent: string;
627
+ };
628
+ /**
629
+ * Used specifically for the protruding top-surface of chonky
630
+ * interactive elements. This token is intended to be used with
631
+ * `controls.chonky.embossed.neutral.chonk` to complete a default
632
+ * variant of chonky interactive elements.
633
+ */
634
+ background: string;
635
+ /**
636
+ * Used specifically for the protruding shadow of chonky interactive
637
+ * elements. This token is intended to be used with
638
+ * `controls.chonky.embossed.neutral.background` to complete a default
639
+ * variant of chonky interactive elements.
640
+ */
641
+ chonk: string;
642
+ };
643
+ accent: {
644
+ /**
645
+ * Used specifically for the contents within a accent variant of chonky
646
+ * interactive elements.
647
+ */
648
+ content: string;
649
+ /**
650
+ * Used specifically for the protruding top-surface of chonky
651
+ * interactive elements. This token is intended to be used with
652
+ * `controls.chonky.embossed.accent.chonk` to complete a accent variant
653
+ * of chonky interactive elements.
654
+ */
655
+ background: string;
656
+ /**
657
+ * Used specifically for the protruding shadow of chonky interactive
658
+ * elements. This token is intended to be used with
659
+ * `controls.chonky.embossed.accent.background` to complete an accent
660
+ * variant of chonky interactive elements.
661
+ */
662
+ chonk: string;
663
+ };
664
+ promotion: {
665
+ /**
666
+ * Used specifically for the contents within a promotion variant of
667
+ * chonky interactive elements.
668
+ */
669
+ content: string;
670
+ /**
671
+ * Used specifically for the protruding top-surface of chonky
672
+ * interactive elements. This token is intended to be used with
673
+ * `controls.chonky.embossed.promotion.chonk` to complete a promotion
674
+ * variant of chonky interactive elements.
675
+ */
676
+ background: string;
677
+ /**
678
+ * Used specifically for the protruding shadow of chonky interactive
679
+ * elements. This token is intended to be used with
680
+ * `controls.chonky.embossed.promotion.background` to complete an
681
+ * promotion variant of chonky interactive elements.
682
+ */
683
+ chonk: string;
684
+ };
685
+ danger: {
686
+ /**
687
+ * Used specifically for the contents within a danger variant of chonky
688
+ * interactive elements.
689
+ */
690
+ content: string;
691
+ /**
692
+ * Used specifically for the protruding top-surface of chonky
693
+ * interactive elements. This token intended to be used with
694
+ * `controls.chonky.embossed.danger.chonk` to complete a danger variant
695
+ * of chonky interactive elements.
696
+ */
697
+ background: string;
698
+ /**
699
+ * Used specifically for the protruding shadow of chonky interactive
700
+ * elements. This token is intended to be used with
701
+ * `controls.chonky.embossed.danger.background` to complete a danger
702
+ * variant of chonky interactive elements.
703
+ */
704
+ chonk: string;
705
+ };
706
+ warning: {
707
+ /**
708
+ * Used specifically for the contents within a warning variant of chonky
709
+ * interactive elements.
710
+ */
711
+ content: string;
712
+ /**
713
+ * Used specifically for the protruding top-surface of chonky
714
+ * interactive elements. This token is intended to be used with
715
+ * `controls.chonky.embossed.warning.chonk` to complete a warning
716
+ * variant of chonky interactive elements.
717
+ */
718
+ background: string;
719
+ /**
720
+ * Used specifically for the protruding shadow of chonky interactive
721
+ * elements. This token is intended to be used with
722
+ * `controls.chonky.embossed.warning.background` to complete a warning
723
+ * variant of chonky interactive elements.
724
+ */
725
+ chonk: string;
726
+ };
727
+ success: {
728
+ /**
729
+ * Used specifically for the contents within a success variant of chonky
730
+ * interactive elements.
731
+ */
732
+ content: string;
733
+ /**
734
+ * Used specifically for the protruding top-surface of chonky
735
+ * interactive elements. This token is intended to be used with
736
+ * `controls.chonky.embossed.success.chonk` to complete a success
737
+ * variant of chonky interactive elements.
738
+ */
739
+ background: string;
740
+ /**
741
+ * Used specifically for the protruding shadow of chonky interactive
742
+ * elements. This token is intended to be used with
743
+ * `controls.chonky.embossed.success.background` to complete a success
744
+ * variant of chonky interactive elements.
745
+ */
746
+ chonk: string;
747
+ };
748
+ };
749
+ };
750
+ disabled: string;
751
+ link: {
752
+ neutral: {
753
+ /**
754
+ * Used specifically for inline links or content thats wrapped by a link
755
+ * element. This token can be used with
756
+ * `controls.transparent.neutral.background.rest` to complete a neutral
757
+ * variant of transparent interactive elements.
758
+ */
759
+ rest: string;
760
+ /**
761
+ * Used specifically for inline links or content thats wrapped by a link
762
+ * element. This token can be used with
763
+ * `controls.transparent.neutral.background.hover` to complete a neutral
764
+ * variant of transparent interactive elements.
765
+ */
766
+ hover: string;
767
+ /**
768
+ * Used specifically for inline links or content thats wrapped by a link
769
+ * element. This token can be used with
770
+ * `controls.transparent.neutral.background.active` to complete a neutral
771
+ * variant of transparent interactive elements.
772
+ */
773
+ active: string;
774
+ };
775
+ accent: {
776
+ /**
777
+ * Used specifically for inline links or content thats wrapped by a link
778
+ * element. This token can be used with
779
+ * `controls.transparent.accent.background.rest` to complete a neutral
780
+ * variant of transparent interactive elements.
781
+ */
782
+ rest: string;
783
+ /**
784
+ * Used specifically for inline links or content thats wrapped by a link
785
+ * element. This token can be used with
786
+ * `controls.transparent.accent.background.hover` to complete a neutral
787
+ * variant of transparent interactive elements.
788
+ */
789
+ hover: string;
790
+ /**
791
+ * Used specifically for inline links or content thats wrapped by a link
792
+ * element. This token can be used with
793
+ * `controls.transparent.accent.background.active` to complete a neutral
794
+ * variant of transparent interactive elements.
795
+ */
796
+ active: string;
797
+ };
798
+ };
799
+ transparent: {
800
+ neutral: {
801
+ border: string;
802
+ content: {
803
+ /**
804
+ * The default color for the contents within a default variant of
805
+ * transparent interactive elements.
806
+ */
807
+ primary: string;
808
+ /**
809
+ * Used specifically for descriptions within a default variant of
810
+ * transparent interactive elements.
811
+ */
812
+ secondary: string;
813
+ /**
814
+ * Used specifically for headings within a default variant of
815
+ * transparent interactive elements.
816
+ */
817
+ headings: string;
818
+ };
819
+ background: {
820
+ /**
821
+ * Used specifically for the default state of transparent interactive
822
+ * elements. This token is intended to be used with
823
+ * `controls.transparent.neutral.content`.* to complete a default
824
+ * variant of transparent interactive elements.
825
+ */
826
+ rest: string;
827
+ /**
828
+ * Used specifically for the hover state of transparent interactive
829
+ * elements. This token is intended to be used with
830
+ * `controls.transparent.neutral.content`.* to complete a default
831
+ * variant of transparent interactive elements.
832
+ */
833
+ hover: string;
834
+ /**
835
+ * Used specifically for the pressed state of transparent interactive
836
+ * elements. This token is intended to be used with
837
+ * `controls.transparent.neutral.content`.* to complete a default
838
+ * variant of transparent interactive elements.
839
+ */
840
+ active: string;
841
+ };
842
+ };
843
+ accent: {
844
+ border: string;
845
+ content: {
846
+ /**
847
+ * The default color for the contents within a accent variant of
848
+ * transparent interactive elements.
849
+ */
850
+ primary: string;
851
+ /**
852
+ * Used specifically for descriptions within a accent variant of
853
+ * transparent interactive elements.
854
+ */
855
+ secondary: string;
856
+ headings: string;
857
+ };
858
+ background: {
859
+ /**
860
+ * Used specifically for the default state of transparent interactive
861
+ * elements. This token is intended to be used with
862
+ * `controls.transparent.accent.content`.* to complete a accent variant
863
+ * of transparent interactive elements.
864
+ */
865
+ rest: string;
866
+ /**
867
+ * Used specifically for the hover state of transparent interactive
868
+ * elements. This token is intended to be used with
869
+ * `controls.transparent.accent.content`.* to complete a accent variant
870
+ * of transparent interactive elements.
871
+ */
872
+ hover: string;
873
+ /**
874
+ * Used specifically for the pressed state of transparent interactive
875
+ * elements. This token is intended to be used with
876
+ * `controls.transparent.accent.content`.* to complete a accent variant
877
+ * of transparent interactive elements.
878
+ */
879
+ active: string;
880
+ };
881
+ selected: {
882
+ background: {
883
+ /**
884
+ * Used specifically for the default state of selected transparent
885
+ * interactive elements. This token is intended to be used with
886
+ * `controls.transparent.accent.content`.* to complete a accent
887
+ * variant of transparent interactive elements.
888
+ */
889
+ rest: string;
890
+ /**
891
+ * Used specifically for the hover state of selected transparent
892
+ * interactive elements. This token is intended to be used with
893
+ * `controls.transparent.accent.content`.* to complete a accent
894
+ * variant of transparent interactive elements.
895
+ */
896
+ hover: string;
897
+ /**
898
+ * Used specifically for the pressed state of selected transparent
899
+ * interactive elements. This token is intended to be used with
900
+ * `controls.transparent.accent.content`.* to complete a accent
901
+ * variant of transparent interactive elements.
902
+ */
903
+ active: string;
904
+ };
905
+ };
906
+ };
907
+ };
908
+ };
909
+ syntax: {
910
+ ansi: {
911
+ black: string;
912
+ blue: string;
913
+ brightBlack: string;
914
+ brightBlue: string;
915
+ brightCyan: string;
916
+ brightGreen: string;
917
+ brightMagenta: string;
918
+ brightRed: string;
919
+ brightWhite: string;
920
+ brightYellow: string;
921
+ cyan: string;
922
+ green: string;
923
+ magenta: string;
924
+ red: string;
925
+ white: string;
926
+ yellow: string;
927
+ };
928
+ /**
929
+ * The default color for <code/> elements that depend on our PrismJS theme.
930
+ */
931
+ base: string;
932
+ /**
933
+ * Situational background color for <code/> elements that depend on our
934
+ * PrismJS theme.
935
+ */
936
+ codeBackground: string;
937
+ /**
938
+ * Used specifically for <code/> that evaluates to a comment by PrismJS.
939
+ */
940
+ comment: string;
941
+ /**
942
+ * Used specifically for <code/> that evaluates to a function by PrismJS.
943
+ */
944
+ function: string;
945
+ /**
946
+ * ???
947
+ */
948
+ hightlightAccent: string;
949
+ /**
950
+ * Situational background color for emphasising rows of <code/> that depend on
951
+ * our PrismJS theme.
952
+ */
953
+ hightlightBackground: string;
954
+ /**
955
+ * The default color for inline <code/> elements that depend on our PrismJS
956
+ * theme.
957
+ */
958
+ inlineCode: string;
959
+ /**
960
+ * Used specifically for <code/> that evaluates to a keyword by PrismJS.
961
+ */
962
+ keyWord: string;
963
+ /**
964
+ * Used specifically for <code/> that evaluates to a operator by PrismJS.
965
+ */
966
+ operator: string;
967
+ /**
968
+ * Used specifically for <code/> that evaluates to a property by PrismJS.
969
+ */
970
+ property: string;
971
+ /**
972
+ * Used specifically for <code/> that evaluates to punctuation by PrismJS.
973
+ */
974
+ punctuation: string;
975
+ /**
976
+ * Used specifically for <code/> that evaluates to a selector by PrismJS.
977
+ */
978
+ selector: string;
979
+ /**
980
+ * Used specifically for <code/> that evaluates to a variable by PrismJS.
981
+ */
982
+ variable: string;
983
+ };
984
+ };
985
+ };