@atlaskit/ads-mcp 0.0.1

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 (63) hide show
  1. package/CHANGELOG.md +1 -0
  2. package/LICENSE.md +11 -0
  3. package/README.md +29 -0
  4. package/build/tsconfig.json +17 -0
  5. package/dist/cjs/index.js +95 -0
  6. package/dist/cjs/instructions.js +7 -0
  7. package/dist/cjs/schema.js +11 -0
  8. package/dist/cjs/tools/get-component-details/index.js +88 -0
  9. package/dist/cjs/tools/get-components/components.js +2044 -0
  10. package/dist/cjs/tools/get-components/index.js +56 -0
  11. package/dist/cjs/tools/get-icons/index.js +64 -0
  12. package/dist/cjs/tools/get-tokens/index.js +50 -0
  13. package/dist/cjs/tools/get-tokens/tokens.js +778 -0
  14. package/dist/es2019/index.js +49 -0
  15. package/dist/es2019/instructions.js +5 -0
  16. package/dist/es2019/schema.js +13 -0
  17. package/dist/es2019/tools/get-component-details/index.js +51 -0
  18. package/dist/es2019/tools/get-components/components.js +2941 -0
  19. package/dist/es2019/tools/get-components/index.js +32 -0
  20. package/dist/es2019/tools/get-icons/index.js +45 -0
  21. package/dist/es2019/tools/get-tokens/index.js +31 -0
  22. package/dist/es2019/tools/get-tokens/tokens.js +772 -0
  23. package/dist/esm/index.js +92 -0
  24. package/dist/esm/instructions.js +1 -0
  25. package/dist/esm/schema.js +4 -0
  26. package/dist/esm/tools/get-component-details/index.js +81 -0
  27. package/dist/esm/tools/get-components/components.js +2038 -0
  28. package/dist/esm/tools/get-components/index.js +49 -0
  29. package/dist/esm/tools/get-icons/index.js +57 -0
  30. package/dist/esm/tools/get-tokens/index.js +43 -0
  31. package/dist/esm/tools/get-tokens/tokens.js +772 -0
  32. package/dist/types/index.d.ts +1 -0
  33. package/dist/types/instructions.d.ts +1 -0
  34. package/dist/types/schema.d.ts +9 -0
  35. package/dist/types/tools/get-component-details/index.d.ts +39 -0
  36. package/dist/types/tools/get-components/components.d.ts +20 -0
  37. package/dist/types/tools/get-components/index.d.ts +23 -0
  38. package/dist/types/tools/get-icons/index.d.ts +23 -0
  39. package/dist/types/tools/get-tokens/index.d.ts +23 -0
  40. package/dist/types/tools/get-tokens/tokens.d.ts +15 -0
  41. package/dist/types-ts4.5/index.d.ts +1 -0
  42. package/dist/types-ts4.5/instructions.d.ts +1 -0
  43. package/dist/types-ts4.5/schema.d.ts +15 -0
  44. package/dist/types-ts4.5/tools/get-component-details/index.d.ts +39 -0
  45. package/dist/types-ts4.5/tools/get-components/components.d.ts +20 -0
  46. package/dist/types-ts4.5/tools/get-components/index.d.ts +23 -0
  47. package/dist/types-ts4.5/tools/get-icons/index.d.ts +23 -0
  48. package/dist/types-ts4.5/tools/get-tokens/index.d.ts +23 -0
  49. package/dist/types-ts4.5/tools/get-tokens/tokens.d.ts +15 -0
  50. package/index.js +5 -0
  51. package/package.json +43 -0
  52. package/src/index.tsx +70 -0
  53. package/src/instructions.tsx +5 -0
  54. package/src/schema.tsx +19 -0
  55. package/src/tools/get-component-details/index.tsx +64 -0
  56. package/src/tools/get-components/components.tsx +3477 -0
  57. package/src/tools/get-components/index.tsx +36 -0
  58. package/src/tools/get-icons/index.tsx +49 -0
  59. package/src/tools/get-tokens/index.tsx +35 -0
  60. package/src/tools/get-tokens/tokens.tsx +726 -0
  61. package/tsconfig.app.json +42 -0
  62. package/tsconfig.dev.json +38 -0
  63. package/tsconfig.json +14 -0
@@ -0,0 +1,772 @@
1
+ const textColorTokens = [{
2
+ name: 'color.text',
3
+ description: 'Use for primary text, such as body copy, sentence case headers, and buttons.',
4
+ example: {
5
+ light: '#172B4D',
6
+ dark: '#C7D1DB'
7
+ }
8
+ }, {
9
+ name: 'color.text.subtle',
10
+ description: 'Use for secondary text, such as navigation, subtle button links, input field labels, and all caps subheadings.',
11
+ example: {
12
+ light: '#44546F',
13
+ dark: '#9FADBC'
14
+ }
15
+ }, {
16
+ name: 'color.text.subtlest',
17
+ description: 'Use for tertiary text, such as meta-data, breadcrumbs, input field placeholder and helper text.',
18
+ example: {
19
+ light: '#626F86',
20
+ dark: '#738496'
21
+ }
22
+ }, {
23
+ name: 'color.text.disabled',
24
+ description: 'Use for text in a disabled state.',
25
+ example: {
26
+ light: '#091E424F',
27
+ dark: '#7384964F'
28
+ }
29
+ }, {
30
+ name: 'color.text.inverse',
31
+ description: 'Use for text on bold backgrounds.',
32
+ example: {
33
+ light: '#FFFFFF',
34
+ dark: '#1D2125'
35
+ }
36
+ }, {
37
+ name: 'color.text.selected',
38
+ description: 'Use for text in selected or opened states, such as tabs and dropdown buttons.',
39
+ example: {
40
+ light: '#0C66E4',
41
+ dark: '#85B8FF'
42
+ }
43
+ }, {
44
+ name: 'color.text.brand',
45
+ description: 'Use for text that reinforces our brand.',
46
+ example: {
47
+ light: '#0C66E4',
48
+ dark: '#85B8FF'
49
+ }
50
+ }, {
51
+ name: 'color.text.danger',
52
+ description: 'Use for critical text, such as input field error messaging.',
53
+ example: {
54
+ light: '#CA3521',
55
+ dark: '#FF9C8F'
56
+ }
57
+ }, {
58
+ name: 'color.text.warning',
59
+ description: 'Use for text to emphasize caution, such as in moved lozenges.',
60
+ example: {
61
+ light: '#B38600',
62
+ dark: '#E2B203'
63
+ }
64
+ }, {
65
+ name: 'color.text.warning.inverse',
66
+ description: 'Use for text when on bold warning backgrounds.',
67
+ example: {
68
+ light: '#172B4D',
69
+ dark: '#C7D1DB'
70
+ }
71
+ }, {
72
+ name: 'color.text.success',
73
+ description: 'Use for text to communicate a favorable outcome, such as input field success messaging.',
74
+ example: {
75
+ light: '#1F845A',
76
+ dark: '#4BCE97'
77
+ }
78
+ }, {
79
+ name: 'color.text.discovery',
80
+ description: 'Use for text to emphasize change or something new, such as in new lozenges.',
81
+ example: {
82
+ light: '#5E4DB2',
83
+ dark: '#B8ACF6'
84
+ }
85
+ }, {
86
+ name: 'color.text.information',
87
+ description: 'Use for informative text or to communicate something is in progress, such as in-progress lozenges.',
88
+ example: {
89
+ light: '#0C66E4',
90
+ dark: '#85B8FF'
91
+ }
92
+ }];
93
+ const linkColorTokens = [{
94
+ name: 'color.link',
95
+ description: 'Use for links in a default or hovered state. Add an underline for hovered states.',
96
+ example: {
97
+ light: '#0C66E4',
98
+ dark: '#85B8FF'
99
+ }
100
+ }, {
101
+ name: 'color.link.pressed',
102
+ description: 'Use for links in a pressed state.',
103
+ example: {
104
+ light: '#0055CC',
105
+ dark: '#579DFF'
106
+ }
107
+ }];
108
+ const backgroundColorTokens = [{
109
+ name: 'color.background.brand.bold',
110
+ description: 'Use for the background of elements used to reinforce our brand, but with more emphasis.',
111
+ example: {
112
+ light: '#0C66E4',
113
+ dark: '#1D7AFC'
114
+ }
115
+ }, {
116
+ name: 'color.background.brand.bold.hovered',
117
+ description: 'Hovered state of color.background.brand.bold.',
118
+ example: {
119
+ light: '#0055CC',
120
+ dark: '#388BFF'
121
+ }
122
+ }, {
123
+ name: 'color.background.brand.bold.pressed',
124
+ description: 'Pressed state of brand.bold',
125
+ example: {
126
+ light: '#09326C',
127
+ dark: '#1D7AFC'
128
+ }
129
+ }, {
130
+ name: 'color.background.brand.boldest',
131
+ description: 'Brand elements that need to stand out',
132
+ example: {
133
+ light: '#0C66E4',
134
+ dark: '#1D7AFC'
135
+ }
136
+ }, {
137
+ name: 'color.background.brand.boldest.hovered',
138
+ description: 'Hover state of brand.boldest',
139
+ example: {
140
+ light: '#0055CC',
141
+ dark: '#388BFF'
142
+ }
143
+ }, {
144
+ name: 'color.background.brand.boldest.pressed',
145
+ description: 'Pressed state of brand.boldest',
146
+ example: {
147
+ light: '#09326C',
148
+ dark: '#1D7AFC'
149
+ }
150
+ }, {
151
+ name: 'color.background.brand.subtlest',
152
+ description: 'Brand elements with less emphasis',
153
+ example: {
154
+ light: '#E9F2FF',
155
+ dark: '#0C66E4'
156
+ }
157
+ }, {
158
+ name: 'color.background.brand.subtlest.hovered',
159
+ description: 'Hover state of brand.subtlest',
160
+ example: {
161
+ light: '#CCE0FF',
162
+ dark: '#1D7AFC'
163
+ }
164
+ }, {
165
+ name: 'color.background.brand.subtlest.pressed',
166
+ description: 'Pressed state of brand.subtlest',
167
+ example: {
168
+ light: '#85B8FF',
169
+ dark: '#1D7AFC'
170
+ }
171
+ }, {
172
+ name: 'color.background.danger',
173
+ description: 'Critical information backgrounds',
174
+ example: {
175
+ light: '#FFEDEB',
176
+ dark: '#4F1C16'
177
+ }
178
+ }, {
179
+ name: 'color.background.danger.hovered',
180
+ description: 'Hover state of danger',
181
+ example: {
182
+ light: '#FFD5D2',
183
+ dark: '#5D1F1A'
184
+ }
185
+ }, {
186
+ name: 'color.background.danger.pressed',
187
+ description: 'Pressed state of danger',
188
+ example: {
189
+ light: '#FFC2BE',
190
+ dark: '#6D231B'
191
+ }
192
+ }, {
193
+ name: 'color.background.danger.bold',
194
+ description: 'Vibrant danger backgrounds',
195
+ example: {
196
+ light: '#CA3521',
197
+ dark: '#FF9C8F'
198
+ }
199
+ }, {
200
+ name: 'color.background.danger.bold.hovered',
201
+ description: 'Hover state of danger.bold',
202
+ example: {
203
+ light: '#AE2A19',
204
+ dark: '#FFB3A8'
205
+ }
206
+ }, {
207
+ name: 'color.background.danger.bold.pressed',
208
+ description: 'Pressed state of danger.bold',
209
+ example: {
210
+ light: '#601E16',
211
+ dark: '#FF9C8F'
212
+ }
213
+ }, {
214
+ name: 'color.background.discovery',
215
+ description: 'Change/new feature backgrounds',
216
+ example: {
217
+ light: '#F3F0FF',
218
+ dark: '#2B2451'
219
+ }
220
+ }, {
221
+ name: 'color.background.discovery.hovered',
222
+ description: 'Hover state of discovery',
223
+ example: {
224
+ light: '#DFD8FD',
225
+ dark: '#352C63'
226
+ }
227
+ }, {
228
+ name: 'color.background.discovery.pressed',
229
+ description: 'Pressed state of discovery',
230
+ example: {
231
+ light: '#C0B6F2',
232
+ dark: '#3D3274'
233
+ }
234
+ }, {
235
+ name: 'color.background.discovery.bold',
236
+ description: 'Vibrant discovery backgrounds',
237
+ example: {
238
+ light: '#5E4DB2',
239
+ dark: '#B8ACF6'
240
+ }
241
+ }, {
242
+ name: 'color.background.discovery.bold.hovered',
243
+ description: 'Hover state of discovery.bold',
244
+ example: {
245
+ light: '#4C3B9C',
246
+ dark: '#C7BFFF'
247
+ }
248
+ }, {
249
+ name: 'color.background.discovery.bold.pressed',
250
+ description: 'Pressed state of discovery.bold',
251
+ example: {
252
+ light: '#352C63',
253
+ dark: '#B8ACF6'
254
+ }
255
+ }, {
256
+ name: 'color.background.information',
257
+ description: 'Information/in-progress backgrounds',
258
+ example: {
259
+ light: '#E9F2FF',
260
+ dark: '#1C2B41'
261
+ }
262
+ }, {
263
+ name: 'color.background.information.hovered',
264
+ description: 'Hover state of information',
265
+ example: {
266
+ light: '#CCE0FF',
267
+ dark: '#22324B'
268
+ }
269
+ }, {
270
+ name: 'color.background.information.pressed',
271
+ description: 'Pressed state of information',
272
+ example: {
273
+ light: '#85B8FF',
274
+ dark: '#2B3E5C'
275
+ }
276
+ }, {
277
+ name: 'color.background.information.bold',
278
+ description: 'Vibrant information backgrounds',
279
+ example: {
280
+ light: '#0C66E4',
281
+ dark: '#85B8FF'
282
+ }
283
+ }, {
284
+ name: 'color.background.information.bold.hovered',
285
+ description: 'Hover state of information.bold',
286
+ example: {
287
+ light: '#0055CC',
288
+ dark: '#99C7FF'
289
+ }
290
+ }, {
291
+ name: 'color.background.information.bold.pressed',
292
+ description: 'Pressed state of information.bold',
293
+ example: {
294
+ light: '#09326C',
295
+ dark: '#85B8FF'
296
+ }
297
+ }];
298
+ const chartColorTokens = [{
299
+ name: 'color.chart.brand',
300
+ description: 'Our primary color for data visualisation. Use when only one color is required.',
301
+ example: {
302
+ light: '#0C66E4',
303
+ dark: '#85B8FF'
304
+ }
305
+ }, {
306
+ name: 'color.chart.danger',
307
+ description: 'For data visualisation communicating negative information, such as "off track".',
308
+ example: {
309
+ light: '#CA3521',
310
+ dark: '#FF9C8F'
311
+ }
312
+ }];
313
+ const blanketColorTokens = [{
314
+ name: 'color.blanket',
315
+ description: 'Use for the screen overlay that appears with modal dialogs',
316
+ example: {
317
+ light: 'rgba(9, 30, 66, 0.54)',
318
+ dark: 'rgba(255, 255, 255, 0.24)'
319
+ }
320
+ }, {
321
+ name: 'color.blanket.selected',
322
+ description: "Use as an overlay to communicate selected states when a simple background color change isn't possible, such as in Editor block elements",
323
+ example: {
324
+ light: 'rgba(9, 30, 66, 0.08)',
325
+ dark: 'rgba(255, 255, 255, 0.08)'
326
+ }
327
+ }];
328
+ const typographyTokens = [{
329
+ name: 'font.heading.xxlarge',
330
+ description: 'For overlapping brand with product promotions, such as marketplace content. Migrate instances of H900 to Heading XXL.'
331
+ }, {
332
+ name: 'font.heading.xlarge',
333
+ description: 'For overlapping brand with product promotions, such as marketplace content. Migrate instances of H800 to Heading XL.'
334
+ }, {
335
+ name: 'font.heading.large',
336
+ description: 'Product page titles, such as forms. Migrate instances of H700 to Heading L.'
337
+ }, {
338
+ name: 'font.heading.medium',
339
+ description: 'Headers in large components, such as modal dialogs. Migrate instances of H600 to Heading M.'
340
+ }, {
341
+ name: 'font.heading.small',
342
+ description: 'For headers in small components where space is limited. Migrate instances of H500 to Heading S.'
343
+ }, {
344
+ name: 'font.heading.xsmall',
345
+ description: 'For headers in small components where space is limited. Migrate instances of H400 to Heading XS.'
346
+ }, {
347
+ name: 'font.heading.xxsmall',
348
+ description: 'For headers in fine print or tight spaces. Use sparingly. Migrate instances of H100, H200 and H300 to Heading XXS.'
349
+ }, {
350
+ name: 'font.body.large',
351
+ description: 'For long-form text, such as in blogs.'
352
+ }, {
353
+ name: 'font.body',
354
+ description: 'Use in short descriptions or labels. The default size for text in components. Migrate instances of Paragraph Default and UI Text to Body M.'
355
+ }, {
356
+ name: 'font.body.small',
357
+ description: 'Use in secondary level content such as fine print or semantic messaging. Use sparingly. Migrate instances of Small text to Body S.'
358
+ }, {
359
+ name: 'font.body.UNSAFE_small',
360
+ description: 'UNSAFE - Do not use. Temporary 12px fontsize token. Will be deprecated and replaced with stable small token'
361
+ }, {
362
+ name: 'font.code',
363
+ description: 'For representing code only, either inline or in code blocks.'
364
+ }];
365
+ const fontWeightTokens = [{
366
+ name: 'font.weight.regular',
367
+ description: 'Default font weight for body text styles.',
368
+ example: {
369
+ default: '400'
370
+ }
371
+ }, {
372
+ name: 'font.weight.medium',
373
+ description: 'For all text that may appear beside iconography, such as in a button.',
374
+ example: {
375
+ default: '500'
376
+ }
377
+ }, {
378
+ name: 'font.weight.semibold',
379
+ description: 'Use with caution as fallback fonts do not support this font weight and will default to bold weight.',
380
+ example: {
381
+ default: '600'
382
+ }
383
+ }, {
384
+ name: 'font.weight.bold',
385
+ description: 'Use sparingly for emphasising text, such as in a lozenge.',
386
+ example: {
387
+ default: '700'
388
+ }
389
+ }];
390
+ const fontFamilyTokens = [{
391
+ name: 'font.family.heading',
392
+ description: 'For our default product UI heading text.'
393
+ }, {
394
+ name: 'font.family.body',
395
+ description: 'For our default product UI body text.'
396
+ }, {
397
+ name: 'font.family.code',
398
+ description: 'For representing code only.'
399
+ }, {
400
+ name: 'font.family.brand.heading',
401
+ description: 'For our brand heading text. Uses Charlie Display.'
402
+ }, {
403
+ name: 'font.family.brand.body',
404
+ description: 'For our brand body text. Uses Charlie Text.'
405
+ }];
406
+ const spacingTokens = [{
407
+ name: 'space.0',
408
+ description: 'Equates to `0`. Use for resetting default spacing styles.',
409
+ example: {
410
+ default: '0px'
411
+ }
412
+ }, {
413
+ name: 'space.025',
414
+ description: 'Use for small and compact pieces of UI.',
415
+ example: {
416
+ default: '2px'
417
+ }
418
+ }, {
419
+ name: 'space.050',
420
+ description: 'Use for small and compact pieces of UI.',
421
+ example: {
422
+ default: '4px'
423
+ }
424
+ }, {
425
+ name: 'space.075',
426
+ description: 'Use for small and compact pieces of UI.',
427
+ example: {
428
+ default: '6px'
429
+ }
430
+ }, {
431
+ name: 'space.100',
432
+ description: 'Use for small and compact pieces of UI.',
433
+ example: {
434
+ default: '8px'
435
+ }
436
+ }, {
437
+ name: 'space.150',
438
+ description: 'Use for larger and less dense pieces of UI.',
439
+ example: {
440
+ default: '12px'
441
+ }
442
+ }, {
443
+ name: 'space.200',
444
+ description: 'Use for larger and less dense pieces of UI.',
445
+ example: {
446
+ default: '16px'
447
+ }
448
+ }, {
449
+ name: 'space.250',
450
+ description: 'Use for larger and less dense pieces of UI.',
451
+ example: {
452
+ default: '20px'
453
+ }
454
+ }, {
455
+ name: 'space.300',
456
+ description: 'Use for larger and less dense pieces of UI.',
457
+ example: {
458
+ default: '24px'
459
+ }
460
+ }, {
461
+ name: 'space.400',
462
+ description: 'Use for the largest pieces of UI and for layout elements.',
463
+ example: {
464
+ default: '32px'
465
+ }
466
+ }, {
467
+ name: 'space.500',
468
+ description: 'Use for the largest pieces of UI and for layout elements.',
469
+ example: {
470
+ default: '40px'
471
+ }
472
+ }, {
473
+ name: 'space.600',
474
+ description: 'Use for the largest pieces of UI and for layout elements.',
475
+ example: {
476
+ default: '48px'
477
+ }
478
+ }, {
479
+ name: 'space.800',
480
+ description: 'Use for the largest pieces of UI and for layout elements.',
481
+ example: {
482
+ default: '64px'
483
+ }
484
+ }, {
485
+ name: 'space.1000',
486
+ description: 'Use for the largest pieces of UI and for layout elements.',
487
+ example: {
488
+ default: '80px'
489
+ }
490
+ }];
491
+ const negativeSpacingTokens = [{
492
+ name: 'space.negative.025',
493
+ description: 'Use to negate parent whitespace or overlap small pieces of UI.',
494
+ example: {
495
+ default: '-2px'
496
+ }
497
+ }, {
498
+ name: 'space.negative.050',
499
+ description: 'Use to negate parent whitespace or overlap small pieces of UI.',
500
+ example: {
501
+ default: '-4px'
502
+ }
503
+ }, {
504
+ name: 'space.negative.075',
505
+ description: 'Use to negate parent whitespace or overlap small pieces of UI.',
506
+ example: {
507
+ default: '-6px'
508
+ }
509
+ }, {
510
+ name: 'space.negative.100',
511
+ description: 'Use to negate parent whitespace or overlap small pieces of UI.',
512
+ example: {
513
+ default: '-8px'
514
+ }
515
+ }, {
516
+ name: 'space.negative.150',
517
+ description: 'Use to negate parent whitespace or overlap larger pieces of UI.',
518
+ example: {
519
+ default: '-12px'
520
+ }
521
+ }, {
522
+ name: 'space.negative.200',
523
+ description: 'Use to negate parent whitespace or overlap larger pieces of UI.',
524
+ example: {
525
+ default: '-16px'
526
+ }
527
+ }, {
528
+ name: 'space.negative.250',
529
+ description: 'Use to negate parent whitespace or overlap larger pieces of UI.',
530
+ example: {
531
+ default: '-20px'
532
+ }
533
+ }, {
534
+ name: 'space.negative.300',
535
+ description: 'Use to negate parent whitespace or overlap larger pieces of UI.',
536
+ example: {
537
+ default: '-24px'
538
+ }
539
+ }, {
540
+ name: 'space.negative.400',
541
+ description: 'Use to negate parent whitespace or overlap the largest pieces of UI.',
542
+ example: {
543
+ default: '-32px'
544
+ }
545
+ }];
546
+ const borderRadiusTokens = [{
547
+ name: 'border.radius.050',
548
+ description: 'Used for selection indicators, like tabs.',
549
+ example: {
550
+ default: '2px'
551
+ }
552
+ }, {
553
+ name: 'border.radius',
554
+ description: 'The default border radius.',
555
+ example: {
556
+ default: '3px'
557
+ }
558
+ }, {
559
+ name: 'border.radius.100',
560
+ description: 'Used for buttons and inputs.',
561
+ example: {
562
+ default: '3px'
563
+ }
564
+ }, {
565
+ name: 'border.radius.200',
566
+ description: 'Used for smaller cards.',
567
+ example: {
568
+ default: '4px'
569
+ }
570
+ }, {
571
+ name: 'border.radius.300',
572
+ description: 'Used for cards and larger containers.',
573
+ example: {
574
+ default: '8px'
575
+ }
576
+ }, {
577
+ name: 'border.radius.400',
578
+ description: 'Used for modals.',
579
+ example: {
580
+ default: '12px'
581
+ }
582
+ }, {
583
+ name: 'border.radius.circle',
584
+ description: 'Used for circular containers, like a rounded button.',
585
+ example: {
586
+ default: '50%'
587
+ }
588
+ }];
589
+ const borderWidthTokens = [{
590
+ name: 'border.width',
591
+ description: 'The default border width. Used for all borders.',
592
+ example: {
593
+ default: '1px'
594
+ }
595
+ }, {
596
+ name: 'border.width.0',
597
+ description: 'Used for zero width borders.',
598
+ example: {
599
+ default: '0px'
600
+ }
601
+ }, {
602
+ name: 'border.width.indicator',
603
+ description: 'Used for indicators like tab and menu selected states.',
604
+ example: {
605
+ default: '3px'
606
+ }
607
+ }, {
608
+ name: 'border.width.outline',
609
+ description: 'Used for focus, active or selected inputs.',
610
+ example: {
611
+ default: '2px'
612
+ }
613
+ }];
614
+ const surfaceElevationTokens = [{
615
+ name: 'elevation.surface',
616
+ description: 'Use as the primary background for the UI.',
617
+ example: {
618
+ light: '#FFFFFF',
619
+ dark: '#1D2125'
620
+ }
621
+ }, {
622
+ name: 'elevation.surface.hovered',
623
+ description: 'Hovered state of elevation.surface',
624
+ example: {
625
+ light: '#F7F8F9',
626
+ dark: '#2C3338'
627
+ }
628
+ }, {
629
+ name: 'elevation.surface.pressed',
630
+ description: 'Pressed state of elevation.surface',
631
+ example: {
632
+ light: '#F7F8F9',
633
+ dark: '#2C3338'
634
+ }
635
+ }, {
636
+ name: 'elevation.surface.overlay',
637
+ description: 'Use for the background of elements that sit on top of they UI, such as modals, dialogs, dropdown menus, floating toolbars, and floating single-action buttons. Also use for the background of raised cards in a dragged state. Combine with elevation.shadow.overlay.',
638
+ example: {
639
+ light: '#FFFFFF',
640
+ dark: '#1D2125'
641
+ }
642
+ }, {
643
+ name: 'elevation.surface.overlay.hovered',
644
+ description: 'Hovered state of elevation.surface.overlay',
645
+ example: {
646
+ light: '#F7F8F9',
647
+ dark: '#2C3338'
648
+ }
649
+ }, {
650
+ name: 'elevation.surface.overlay.pressed',
651
+ description: 'Pressed state of elevation.surface.overlay',
652
+ example: {
653
+ light: '#F7F8F9',
654
+ dark: '#2C3338'
655
+ }
656
+ }, {
657
+ name: 'elevation.surface.raised',
658
+ description: 'Use for the background of cards that can be moved, such as Jira cards on a Kanban board. Combine with elevation.shadow.raised.',
659
+ example: {
660
+ light: '#FFFFFF',
661
+ dark: '#1D2125'
662
+ }
663
+ }, {
664
+ name: 'elevation.surface.raised.hovered',
665
+ description: 'Hovered state of elevation.surface.raised',
666
+ example: {
667
+ light: '#F7F8F9',
668
+ dark: '#2C3338'
669
+ }
670
+ }, {
671
+ name: 'elevation.surface.raised.pressed',
672
+ description: 'Pressed state of elevation.surface.raised',
673
+ example: {
674
+ light: '#F7F8F9',
675
+ dark: '#2C3338'
676
+ }
677
+ }, {
678
+ name: 'elevation.surface.sunken',
679
+ description: 'A secondary background for the UI commonly used for grouping items, such as Jira cards in columns.',
680
+ example: {
681
+ light: '#F7F8F9',
682
+ dark: '#2C3338'
683
+ }
684
+ }];
685
+ const shadowElevationTokens = [{
686
+ name: 'elevation.shadow.overflow',
687
+ description: 'Use to create a shadow when content scrolls under other content.'
688
+ }, {
689
+ name: 'elevation.shadow.overflow.perimeter',
690
+ description: 'Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.spread to replicate the overflow shadow.'
691
+ }, {
692
+ name: 'elevation.shadow.overflow.spread',
693
+ description: 'Use only when elevation.shadow.overflow is not technically feasible to implement. Pair with elevation.shadow.overflow.perimeter to replicate the overflow shadow.'
694
+ }, {
695
+ name: 'elevation.shadow.overlay',
696
+ description: 'Use for the box shadow of elements that sit on top of the UI, such as modals, dropdown menus, flags, and inline dialogs. Combine with elevation.surface.overlay Also use for the box shadow of raised cards in a dragged state.'
697
+ }, {
698
+ name: 'elevation.shadow.raised',
699
+ description: 'Use for the box shadow of raised card elements, such as Jira cards on a Kanban board. Combine with elevation.surface.raised'
700
+ }];
701
+ const interactionTokens = [{
702
+ name: 'color.interaction.hovered',
703
+ description: 'Hover overlay',
704
+ example: {
705
+ light: '#091E4208',
706
+ dark: '#A1BDD908'
707
+ }
708
+ }, {
709
+ name: 'color.interaction.pressed',
710
+ description: 'Pressed overlay',
711
+ example: {
712
+ light: '#091E4214',
713
+ dark: '#A1BDD914'
714
+ }
715
+ }, {
716
+ name: 'color.interaction.inverse.hovered',
717
+ description: 'Inverse hover overlay',
718
+ example: {
719
+ light: '#FFFFFF14',
720
+ dark: '#FFFFFF14'
721
+ }
722
+ }, {
723
+ name: 'color.interaction.inverse.pressed',
724
+ description: 'Inverse pressed overlay',
725
+ example: {
726
+ light: '#FFFFFF29',
727
+ dark: '#FFFFFF29'
728
+ }
729
+ }];
730
+ const skeletonTokens = [{
731
+ name: 'color.skeleton',
732
+ description: 'Loading state',
733
+ example: {
734
+ light: '#091E4208',
735
+ dark: '#A1BDD908'
736
+ }
737
+ }, {
738
+ name: 'color.skeleton.subtle',
739
+ description: 'Loading effect',
740
+ example: {
741
+ light: '#091E4204',
742
+ dark: '#A1BDD904'
743
+ }
744
+ }];
745
+ const opacityTokens = [{
746
+ name: 'opacity.disabled',
747
+ description: 'Disabled state',
748
+ example: {
749
+ default: '0.4'
750
+ }
751
+ }, {
752
+ name: 'opacity.loading',
753
+ description: 'Loading state',
754
+ example: {
755
+ default: '0.4'
756
+ }
757
+ }];
758
+ const utilityTokens = [{
759
+ name: 'utility.UNSAFE.textTransformUppercase',
760
+ description: 'Text transform uppercase token used for backwards compatibility between new and old theming solutions'
761
+ }, {
762
+ name: 'utility.UNSAFE.transparent',
763
+ description: 'Transparent token used for backwards compatibility between new and old theming solutions'
764
+ }, {
765
+ name: 'utility.elevation.surface.current',
766
+ description: 'A dynamic token that represents the current surface color set by a parent element. It defaults to the "elevation.surface" token value.'
767
+ }];
768
+
769
+ /**
770
+ * All Atlassian Design System tokens
771
+ */
772
+ export const tokens = [...textColorTokens, ...linkColorTokens, ...backgroundColorTokens, ...chartColorTokens, ...blanketColorTokens, ...typographyTokens, ...fontWeightTokens, ...fontFamilyTokens, ...spacingTokens, ...negativeSpacingTokens, ...borderRadiusTokens, ...borderWidthTokens, ...surfaceElevationTokens, ...shadowElevationTokens, ...interactionTokens, ...skeletonTokens, ...opacityTokens, ...utilityTokens];