@atlaskit/tokens 1.0.0 → 1.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 (43) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/cjs/artifacts/replacement-mapping.js +2 -210
  3. package/dist/cjs/artifacts/themes/atlassian-spacing.js +2 -2
  4. package/dist/cjs/artifacts/token-default-values.js +1 -67
  5. package/dist/cjs/artifacts/token-names.js +1 -67
  6. package/dist/cjs/artifacts/tokens-raw/atlassian-spacing.js +1 -1581
  7. package/dist/cjs/get-token-value.js +1 -1
  8. package/dist/cjs/get-token.js +1 -1
  9. package/dist/cjs/tokens/atlassian-spacing/spacing.js +0 -227
  10. package/dist/cjs/tokens/default/spacing/spacing.js +0 -620
  11. package/dist/cjs/version.json +1 -1
  12. package/dist/es2019/artifacts/replacement-mapping.js +2 -210
  13. package/dist/es2019/artifacts/themes/atlassian-spacing.js +1 -67
  14. package/dist/es2019/artifacts/token-default-values.js +1 -67
  15. package/dist/es2019/artifacts/token-names.js +1 -67
  16. package/dist/es2019/artifacts/tokens-raw/atlassian-spacing.js +1 -1581
  17. package/dist/es2019/get-token-value.js +1 -1
  18. package/dist/es2019/get-token.js +1 -1
  19. package/dist/es2019/tokens/atlassian-spacing/spacing.js +0 -227
  20. package/dist/es2019/tokens/default/spacing/spacing.js +0 -620
  21. package/dist/es2019/version.json +1 -1
  22. package/dist/esm/artifacts/replacement-mapping.js +2 -210
  23. package/dist/esm/artifacts/themes/atlassian-spacing.js +2 -2
  24. package/dist/esm/artifacts/token-default-values.js +1 -67
  25. package/dist/esm/artifacts/token-names.js +1 -67
  26. package/dist/esm/artifacts/tokens-raw/atlassian-spacing.js +1 -1581
  27. package/dist/esm/get-token-value.js +1 -1
  28. package/dist/esm/get-token.js +1 -1
  29. package/dist/esm/tokens/atlassian-spacing/spacing.js +0 -227
  30. package/dist/esm/tokens/default/spacing/spacing.js +0 -620
  31. package/dist/esm/version.json +1 -1
  32. package/dist/types/artifacts/replacement-mapping.d.ts +1 -1
  33. package/dist/types/artifacts/themes/atlassian-spacing.d.ts +2 -2
  34. package/dist/types/artifacts/token-default-values.d.ts +1 -67
  35. package/dist/types/artifacts/token-names.d.ts +1 -133
  36. package/dist/types/artifacts/tokens-raw/atlassian-spacing.d.ts +1 -89
  37. package/dist/types/artifacts/types-internal.d.ts +2 -2
  38. package/dist/types/artifacts/types.d.ts +2 -2
  39. package/dist/types/types.d.ts +0 -106
  40. package/figma/atlassian-spacing.json +1 -761
  41. package/package.json +1 -1
  42. package/report.api.md +0 -132
  43. package/tmp/api-report-tmp.d.ts +0 -132
@@ -146,626 +146,6 @@ var spacing = {
146
146
  description: 'Use for larger layout-specific spacing.'
147
147
  }
148
148
  }
149
- },
150
- spacing: {
151
- scale: {
152
- '0': {
153
- attributes: {
154
- group: 'spacing',
155
- state: 'active',
156
- introduced: '0.10.16',
157
- description: 'Equates to `0`. Can be used for resetting default spacing styles.'
158
- }
159
- },
160
- '025': {
161
- attributes: {
162
- group: 'spacing',
163
- state: 'active',
164
- suggest: ['1px', '3px'],
165
- introduced: '0.10.16',
166
- description: 'Use for spacing in compact scenarios. The smallest value in our scale.'
167
- }
168
- },
169
- '050': {
170
- attributes: {
171
- group: 'spacing',
172
- state: 'active',
173
- suggest: ['3px', '5px'],
174
- introduced: '0.10.16',
175
- description: 'Helpful guidance goes here'
176
- }
177
- },
178
- '075': {
179
- attributes: {
180
- group: 'spacing',
181
- state: 'active',
182
- suggest: ['5px', '7px'],
183
- introduced: '0.10.16',
184
- description: 'Helpful guidance goes here'
185
- }
186
- },
187
- '100': {
188
- attributes: {
189
- group: 'spacing',
190
- state: 'active',
191
- suggest: ['7px', '9px'],
192
- introduced: '0.10.16',
193
- description: 'Helpful guidance goes here'
194
- }
195
- },
196
- '150': {
197
- attributes: {
198
- group: 'spacing',
199
- state: 'active',
200
- suggest: ['10px', '11px', '13px', '14px'],
201
- introduced: '0.10.16',
202
- description: 'Helpful guidance goes here'
203
- }
204
- },
205
- '200': {
206
- attributes: {
207
- group: 'spacing',
208
- state: 'active',
209
- suggest: ['14px', '15px', '17px', '18px'],
210
- introduced: '0.10.16',
211
- description: 'Helpful guidance goes here'
212
- }
213
- },
214
- '250': {
215
- attributes: {
216
- group: 'spacing',
217
- state: 'active',
218
- suggest: ['19px', '21px', '22px', '23px'],
219
- introduced: '0.10.16',
220
- description: 'Helpful guidance goes here'
221
- }
222
- },
223
- '300': {
224
- attributes: {
225
- group: 'spacing',
226
- state: 'active',
227
- suggest: ['23px', '25px', '26px', '27px', '28px'],
228
- introduced: '0.10.16',
229
- description: 'Helpful guidance goes here'
230
- }
231
- },
232
- '400': {
233
- attributes: {
234
- group: 'spacing',
235
- state: 'active',
236
- suggest: ['28px', '29px', '30px', '31px', '33px', '34px', '35px'],
237
- introduced: '0.10.16',
238
- description: 'Helpful guidance goes here'
239
- }
240
- },
241
- '500': {
242
- attributes: {
243
- group: 'spacing',
244
- state: 'active',
245
- suggest: ['28px', '29px', '30px', '31px', '33px', '34px', '35px'],
246
- introduced: '0.10.16',
247
- description: 'Helpful guidance goes here'
248
- }
249
- },
250
- '600': {
251
- attributes: {
252
- group: 'spacing',
253
- state: 'active',
254
- introduced: '0.10.16',
255
- description: 'Helpful guidance goes here'
256
- }
257
- },
258
- '800': {
259
- attributes: {
260
- group: 'spacing',
261
- state: 'active',
262
- introduced: '0.12.0',
263
- pixelValue: '',
264
- description: 'Helpful guidance goes here'
265
- }
266
- },
267
- '1000': {
268
- attributes: {
269
- group: 'spacing',
270
- state: 'active',
271
- introduced: '0.12.0',
272
- pixelValue: '80px',
273
- description: 'Helpful guidance goes here'
274
- }
275
- }
276
- },
277
- scaleLinear: {
278
- '0': {
279
- attributes: {
280
- group: 'spacing',
281
- state: 'experimental',
282
- replacement: '0',
283
- introduced: '0.10.28',
284
- description: 'Helpful guidance goes here'
285
- }
286
- },
287
- '100': {
288
- attributes: {
289
- group: 'spacing',
290
- state: 'experimental',
291
- replacement: '2px',
292
- introduced: '0.10.28',
293
- description: 'Helpful guidance goes here'
294
- }
295
- },
296
- '200': {
297
- attributes: {
298
- group: 'spacing',
299
- state: 'experimental',
300
- replacement: '4px',
301
- introduced: '0.10.28',
302
- description: 'Helpful guidance goes here'
303
- }
304
- },
305
- '300': {
306
- attributes: {
307
- group: 'spacing',
308
- state: 'experimental',
309
- replacement: '6px',
310
- introduced: '0.10.28',
311
- description: 'Helpful guidance goes here'
312
- }
313
- },
314
- '400': {
315
- attributes: {
316
- group: 'spacing',
317
- state: 'experimental',
318
- replacement: '8px',
319
- introduced: '0.10.28',
320
- description: 'Helpful guidance goes here'
321
- }
322
- },
323
- '500': {
324
- attributes: {
325
- group: 'spacing',
326
- state: 'experimental',
327
- replacement: '12px',
328
- introduced: '0.10.28',
329
- description: 'Helpful guidance goes here'
330
- }
331
- },
332
- '600': {
333
- attributes: {
334
- group: 'spacing',
335
- state: 'experimental',
336
- replacement: '16px',
337
- introduced: '0.10.28',
338
- description: 'Helpful guidance goes here'
339
- }
340
- },
341
- '700': {
342
- attributes: {
343
- group: 'spacing',
344
- state: 'experimental',
345
- replacement: '20px',
346
- introduced: '0.10.28',
347
- description: 'Helpful guidance goes here'
348
- }
349
- },
350
- '800': {
351
- attributes: {
352
- group: 'spacing',
353
- state: 'experimental',
354
- replacement: '24px',
355
- introduced: '0.10.28',
356
- description: 'Helpful guidance goes here'
357
- }
358
- },
359
- '900': {
360
- attributes: {
361
- group: 'spacing',
362
- state: 'experimental',
363
- replacement: '32px',
364
- introduced: '0.10.28',
365
- description: 'Helpful guidance goes here'
366
- }
367
- },
368
- '1000': {
369
- attributes: {
370
- group: 'spacing',
371
- state: 'experimental',
372
- replacement: '40px',
373
- introduced: '0.10.28',
374
- description: 'Helpful guidance goes here'
375
- }
376
- },
377
- '1100': {
378
- attributes: {
379
- group: 'spacing',
380
- state: 'experimental',
381
- replacement: '48px',
382
- introduced: '0.10.28',
383
- description: 'Helpful guidance goes here'
384
- }
385
- }
386
- },
387
- size: {
388
- none: {
389
- attributes: {
390
- group: 'spacing',
391
- state: 'experimental',
392
- replacement: '0',
393
- introduced: '0.10.28',
394
- description: 'Helpful guidance goes here'
395
- }
396
- },
397
- xxxxSmall: {
398
- attributes: {
399
- group: 'spacing',
400
- state: 'experimental',
401
- replacement: '2px',
402
- introduced: '0.10.28',
403
- description: 'Helpful guidance goes here'
404
- }
405
- },
406
- xxxSmall: {
407
- attributes: {
408
- group: 'spacing',
409
- state: 'experimental',
410
- replacement: '4px',
411
- introduced: '0.10.28',
412
- description: 'Helpful guidance goes here'
413
- }
414
- },
415
- xxSmall: {
416
- attributes: {
417
- group: 'spacing',
418
- state: 'experimental',
419
- replacement: '6px',
420
- introduced: '0.10.28',
421
- description: 'Helpful guidance goes here'
422
- }
423
- },
424
- xsmall: {
425
- attributes: {
426
- group: 'spacing',
427
- state: 'experimental',
428
- replacement: '8px',
429
- introduced: '0.10.28',
430
- description: 'Helpful guidance goes here'
431
- }
432
- },
433
- small: {
434
- attributes: {
435
- group: 'spacing',
436
- state: 'experimental',
437
- replacement: '12px',
438
- introduced: '0.10.28',
439
- description: 'Helpful guidance goes here'
440
- }
441
- },
442
- medium: {
443
- attributes: {
444
- group: 'spacing',
445
- state: 'experimental',
446
- replacement: '16px',
447
- introduced: '0.10.28',
448
- description: 'Helpful guidance goes here'
449
- }
450
- },
451
- large: {
452
- attributes: {
453
- group: 'spacing',
454
- state: 'experimental',
455
- replacement: '20px',
456
- introduced: '0.10.28',
457
- description: 'Helpful guidance goes here'
458
- }
459
- },
460
- xlarge: {
461
- attributes: {
462
- group: 'spacing',
463
- state: 'experimental',
464
- replacement: '24px',
465
- introduced: '0.10.28',
466
- description: 'Helpful guidance goes here'
467
- }
468
- },
469
- xxlarge: {
470
- attributes: {
471
- group: 'spacing',
472
- state: 'experimental',
473
- replacement: '32px',
474
- introduced: '0.10.28',
475
- description: 'Helpful guidance goes here'
476
- }
477
- },
478
- xxxlarge: {
479
- attributes: {
480
- group: 'spacing',
481
- state: 'experimental',
482
- replacement: '40px',
483
- introduced: '0.10.28',
484
- description: 'Helpful guidance goes here'
485
- }
486
- },
487
- xxxxlarge: {
488
- attributes: {
489
- group: 'spacing',
490
- state: 'experimental',
491
- replacement: '48px',
492
- introduced: '0.10.28',
493
- description: 'Helpful guidance goes here'
494
- }
495
- }
496
- },
497
- ecl: {
498
- element: {
499
- '2': {
500
- attributes: {
501
- group: 'spacing',
502
- state: 'experimental',
503
- replacement: '2px',
504
- introduced: '0.10.28',
505
- description: 'Helpful guidance goes here'
506
- }
507
- },
508
- '4': {
509
- attributes: {
510
- group: 'spacing',
511
- state: 'experimental',
512
- replacement: '4px',
513
- introduced: '0.10.28',
514
- description: 'Helpful guidance goes here'
515
- }
516
- },
517
- '6': {
518
- attributes: {
519
- group: 'spacing',
520
- state: 'experimental',
521
- replacement: '6px',
522
- introduced: '0.10.28',
523
- description: 'Helpful guidance goes here'
524
- }
525
- },
526
- '8': {
527
- attributes: {
528
- group: 'spacing',
529
- state: 'experimental',
530
- replacement: '8px',
531
- introduced: '0.10.28',
532
- description: 'Helpful guidance goes here'
533
- }
534
- }
535
- },
536
- container: {
537
- '12': {
538
- attributes: {
539
- group: 'spacing',
540
- state: 'experimental',
541
- replacement: '12px',
542
- introduced: '0.10.28',
543
- description: 'Helpful guidance goes here'
544
- }
545
- },
546
- '16': {
547
- attributes: {
548
- group: 'spacing',
549
- state: 'experimental',
550
- replacement: '16px',
551
- introduced: '0.10.28',
552
- description: 'Helpful guidance goes here'
553
- }
554
- },
555
- '20': {
556
- attributes: {
557
- group: 'spacing',
558
- state: 'experimental',
559
- replacement: '20px',
560
- introduced: '0.10.28',
561
- description: 'Helpful guidance goes here'
562
- }
563
- },
564
- '24': {
565
- attributes: {
566
- group: 'spacing',
567
- state: 'experimental',
568
- replacement: '24px',
569
- introduced: '0.10.28',
570
- description: 'Helpful guidance goes here'
571
- }
572
- }
573
- },
574
- layout: {
575
- '32': {
576
- attributes: {
577
- group: 'spacing',
578
- state: 'experimental',
579
- replacement: '32px',
580
- introduced: '0.10.28',
581
- description: 'Helpful guidance goes here'
582
- }
583
- },
584
- '40': {
585
- attributes: {
586
- group: 'spacing',
587
- state: 'experimental',
588
- replacement: '40px',
589
- introduced: '0.10.28',
590
- description: 'Helpful guidance goes here'
591
- }
592
- },
593
- '64': {
594
- attributes: {
595
- group: 'spacing',
596
- state: 'experimental',
597
- replacement: '64px',
598
- introduced: '0.10.28',
599
- description: 'Helpful guidance goes here'
600
- }
601
- }
602
- }
603
- },
604
- ccc: {
605
- component: {
606
- '2': {
607
- attributes: {
608
- group: 'spacing',
609
- state: 'experimental',
610
- replacement: '2px',
611
- introduced: '0.10.28',
612
- description: 'Helpful guidance goes here'
613
- }
614
- },
615
- '4': {
616
- attributes: {
617
- group: 'spacing',
618
- state: 'experimental',
619
- replacement: '4px',
620
- introduced: '0.10.28',
621
- description: 'Helpful guidance goes here'
622
- }
623
- },
624
- '6': {
625
- attributes: {
626
- group: 'spacing',
627
- state: 'experimental',
628
- replacement: '6px',
629
- introduced: '0.10.28',
630
- description: 'Helpful guidance goes here'
631
- }
632
- },
633
- '8': {
634
- attributes: {
635
- group: 'spacing',
636
- state: 'experimental',
637
- replacement: '8px',
638
- introduced: '0.10.28',
639
- description: 'Helpful guidance goes here'
640
- }
641
- }
642
- },
643
- content: {
644
- '12': {
645
- attributes: {
646
- group: 'spacing',
647
- state: 'experimental',
648
- replacement: '12px',
649
- introduced: '0.10.28',
650
- description: 'Helpful guidance goes here'
651
- }
652
- },
653
- '16': {
654
- attributes: {
655
- group: 'spacing',
656
- state: 'experimental',
657
- replacement: '16px',
658
- introduced: '0.10.28',
659
- description: 'Helpful guidance goes here'
660
- }
661
- },
662
- '20': {
663
- attributes: {
664
- group: 'spacing',
665
- state: 'experimental',
666
- replacement: '20px',
667
- introduced: '0.10.28',
668
- description: 'Helpful guidance goes here'
669
- }
670
- },
671
- '24': {
672
- attributes: {
673
- group: 'spacing',
674
- state: 'experimental',
675
- replacement: '24px',
676
- introduced: '0.10.28',
677
- description: 'Helpful guidance goes here'
678
- }
679
- }
680
- },
681
- container: {
682
- '32': {
683
- attributes: {
684
- group: 'spacing',
685
- state: 'experimental',
686
- replacement: '32px',
687
- introduced: '0.10.28',
688
- description: 'Helpful guidance goes here'
689
- }
690
- },
691
- '40': {
692
- attributes: {
693
- group: 'spacing',
694
- state: 'experimental',
695
- replacement: '40px',
696
- introduced: '0.10.28',
697
- description: 'Helpful guidance goes here'
698
- }
699
- },
700
- '48': {
701
- attributes: {
702
- group: 'spacing',
703
- state: 'experimental',
704
- replacement: '48px',
705
- introduced: '0.10.28',
706
- description: 'Helpful guidance goes here'
707
- }
708
- }
709
- }
710
- },
711
- gap: {
712
- '100': {
713
- attributes: {
714
- group: 'spacing',
715
- state: 'experimental',
716
- replacement: '8px',
717
- introduced: '0.10.28',
718
- description: 'Helpful guidance goes here'
719
- }
720
- },
721
- '200': {
722
- attributes: {
723
- group: 'spacing',
724
- state: 'experimental',
725
- replacement: '16px',
726
- introduced: '0.10.28',
727
- description: 'Helpful guidance goes here'
728
- }
729
- },
730
- '300': {
731
- attributes: {
732
- group: 'spacing',
733
- state: 'experimental',
734
- replacement: '24px',
735
- introduced: '0.10.28',
736
- description: 'Helpful guidance goes here'
737
- }
738
- }
739
- },
740
- inset: {
741
- '100': {
742
- attributes: {
743
- group: 'spacing',
744
- state: 'experimental',
745
- replacement: '8px',
746
- introduced: '0.10.28',
747
- description: 'Helpful guidance goes here'
748
- }
749
- },
750
- '200': {
751
- attributes: {
752
- group: 'spacing',
753
- state: 'experimental',
754
- replacement: '16px',
755
- introduced: '0.10.28',
756
- description: 'Helpful guidance goes here'
757
- }
758
- },
759
- '300': {
760
- attributes: {
761
- group: 'spacing',
762
- state: 'experimental',
763
- replacement: '24px',
764
- introduced: '0.10.28',
765
- description: 'Helpful guidance goes here'
766
- }
767
- }
768
- }
769
149
  }
770
150
  };
771
151
  var _default = spacing;
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tokens",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "sideEffects": [
5
5
  "**/*.css"
6
6
  ]