@adobe/spectrum-tokens 14.6.0 → 14.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.
- package/CHANGELOG.md +50 -4
- package/dist/json/drover.json +8 -311
- package/dist/json/variables.json +915 -4414
- package/naming-exceptions.json +632 -3543
- package/package.json +1 -1
- package/schemas/token-file.json +1 -1
- package/schemas/token-types/{text-align.json → alignment.json} +4 -4
- package/snapshots/validation-snapshot.json +0 -175
- package/src/color-aliases.json +27 -262
- package/src/color-component.json +17 -161
- package/src/icons.json +23 -454
- package/src/layout-component.json +760 -1693
- package/src/layout.json +34 -133
- package/src/semantic-color-palette.json +5 -45
- package/src/typography.json +39 -737
- package/test/checkComponentProps.js +4 -6
- package/schemas/token-types/typography-scale.json +0 -82
package/src/color-component.json
CHANGED
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
"floating-action-button-drop-shadow-color": {
|
|
223
223
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
224
224
|
"component": "floating-action-button",
|
|
225
|
-
"uuid": "
|
|
225
|
+
"uuid": "d66d3a56-1ba0-4ce7-a263-eb46a4d17af0",
|
|
226
226
|
"value": "{transparent-black-300}"
|
|
227
227
|
},
|
|
228
228
|
"floating-action-button-shadow-color": {
|
|
@@ -416,26 +416,11 @@
|
|
|
416
416
|
},
|
|
417
417
|
"uuid": "d34281bc-ac57-407a-b8e5-1dbdedd45797"
|
|
418
418
|
},
|
|
419
|
-
"select-box-border-color-selected": {
|
|
420
|
-
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
421
|
-
"component": "select-box",
|
|
422
|
-
"uuid": "1037e6a3-72a3-4b74-a50b-059d341541ef",
|
|
423
|
-
"value": "{gray-800}"
|
|
424
|
-
},
|
|
425
419
|
"select-box-selected-border-color": {
|
|
426
420
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
427
421
|
"component": "select-box",
|
|
428
422
|
"uuid": "4bbb81b1-09fb-4ebe-80b5-cebb75c13839",
|
|
429
|
-
"value": "{gray-800}"
|
|
430
|
-
"deprecated": true,
|
|
431
|
-
"deprecated_comment": "Renamed to spec-order name. Use `select-box-border-color-selected` instead.",
|
|
432
|
-
"renamed": "select-box-border-color-selected"
|
|
433
|
-
},
|
|
434
|
-
"stack-item-background-color-default-selected": {
|
|
435
|
-
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
436
|
-
"component": "stack-item",
|
|
437
|
-
"uuid": "4d9100d7-894e-4a60-afda-ea9cdeb7f035",
|
|
438
|
-
"value": "{gray-100}"
|
|
423
|
+
"value": "{gray-800}"
|
|
439
424
|
},
|
|
440
425
|
"stack-item-background-color-down": {
|
|
441
426
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
@@ -443,62 +428,29 @@
|
|
|
443
428
|
"uuid": "c99360a4-de28-48e6-80ad-93adb714d388",
|
|
444
429
|
"value": "{gray-100}"
|
|
445
430
|
},
|
|
446
|
-
"stack-item-background-color-down-selected": {
|
|
447
|
-
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
448
|
-
"component": "stack-item",
|
|
449
|
-
"uuid": "e1a45809-1462-4963-a987-0808c64394d1",
|
|
450
|
-
"value": "{gray-200}"
|
|
451
|
-
},
|
|
452
431
|
"stack-item-background-color-hover": {
|
|
453
432
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
454
433
|
"component": "stack-item",
|
|
455
434
|
"uuid": "022a6244-ce6c-4c3f-82a1-e2f5118d3c5e",
|
|
456
435
|
"value": "{gray-100}"
|
|
457
436
|
},
|
|
458
|
-
"stack-item-background-color-hover-selected": {
|
|
459
|
-
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
460
|
-
"component": "stack-item",
|
|
461
|
-
"uuid": "e976db05-0f29-46af-acf0-6155543ce8ed",
|
|
462
|
-
"value": "{gray-200}"
|
|
463
|
-
},
|
|
464
437
|
"stack-item-background-color-key-focus": {
|
|
465
438
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
466
439
|
"component": "stack-item",
|
|
467
440
|
"uuid": "a0251da6-7517-4712-85a1-29ca7f16ef91",
|
|
468
|
-
"value": "{gray-100}",
|
|
469
|
-
"deprecated": true,
|
|
470
|
-
"deprecated_comment": "Renamed to spec-order name. Use `stack-item-background-color-keyboard-focus` instead.",
|
|
471
|
-
"renamed": "stack-item-background-color-keyboard-focus"
|
|
472
|
-
},
|
|
473
|
-
"stack-item-background-color-keyboard-focus": {
|
|
474
|
-
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
475
|
-
"component": "stack-item",
|
|
476
|
-
"uuid": "55182ee4-3126-49da-8936-86989ae2eef7",
|
|
477
441
|
"value": "{gray-100}"
|
|
478
442
|
},
|
|
479
|
-
"stack-item-background-selected-color-keyboard-focus": {
|
|
480
|
-
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
481
|
-
"component": "stack-item",
|
|
482
|
-
"uuid": "55775c6a-d1f5-4b83-a78b-11c500997ea4",
|
|
483
|
-
"value": "{gray-200}"
|
|
484
|
-
},
|
|
485
443
|
"stack-item-selected-background-color-default": {
|
|
486
444
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
487
445
|
"component": "stack-item",
|
|
488
446
|
"uuid": "128c4963-471a-44e3-9fb5-328d92d0266d",
|
|
489
|
-
"value": "{gray-100}"
|
|
490
|
-
"deprecated": true,
|
|
491
|
-
"deprecated_comment": "Renamed to spec-order name. Use `stack-item-background-color-default-selected` instead.",
|
|
492
|
-
"renamed": "stack-item-background-color-default-selected"
|
|
447
|
+
"value": "{gray-100}"
|
|
493
448
|
},
|
|
494
449
|
"stack-item-selected-background-color-down": {
|
|
495
450
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
496
451
|
"component": "stack-item",
|
|
497
|
-
"
|
|
498
|
-
"
|
|
499
|
-
"deprecated": true,
|
|
500
|
-
"deprecated_comment": "Renamed to spec-order name. Use `stack-item-background-color-down-selected` instead.",
|
|
501
|
-
"renamed": "stack-item-background-color-down-selected"
|
|
452
|
+
"value": "{gray-300}",
|
|
453
|
+
"uuid": "1ad58d16-66da-44ae-829e-9ee1ff56a857"
|
|
502
454
|
},
|
|
503
455
|
"stack-item-selected-background-color-emphasized": {
|
|
504
456
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
@@ -510,19 +462,13 @@
|
|
|
510
462
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
511
463
|
"component": "stack-item",
|
|
512
464
|
"uuid": "a1bcd6c6-ef3e-42e4-8d88-2fafe2b318da",
|
|
513
|
-
"value": "{gray-200}"
|
|
514
|
-
"deprecated": true,
|
|
515
|
-
"deprecated_comment": "Renamed to spec-order name. Use `stack-item-background-color-hover-selected` instead.",
|
|
516
|
-
"renamed": "stack-item-background-color-hover-selected"
|
|
465
|
+
"value": "{gray-200}"
|
|
517
466
|
},
|
|
518
467
|
"stack-item-selected-background-color-key-focus": {
|
|
519
468
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
520
469
|
"component": "stack-item",
|
|
521
470
|
"uuid": "93f433f2-2d0b-4225-8b39-b10000808360",
|
|
522
|
-
"value": "{gray-200}"
|
|
523
|
-
"deprecated": true,
|
|
524
|
-
"deprecated_comment": "Renamed to spec-order name. Use `stack-item-background-selected-color-keyboard-focus` instead.",
|
|
525
|
-
"renamed": "stack-item-background-selected-color-keyboard-focus"
|
|
471
|
+
"value": "{gray-200}"
|
|
526
472
|
},
|
|
527
473
|
"standard-panel-gripper-color": {
|
|
528
474
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
@@ -552,19 +498,13 @@
|
|
|
552
498
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
553
499
|
"component": "swatch",
|
|
554
500
|
"uuid": "c49cd7ae-7657-458b-871a-6b4f28bca535",
|
|
555
|
-
"value": "{black}"
|
|
556
|
-
"deprecated": true,
|
|
557
|
-
"deprecated_comment": "Renamed to spec-order name. Use `swatch-icon-border-color-disabled` instead.",
|
|
558
|
-
"renamed": "swatch-icon-border-color-disabled"
|
|
501
|
+
"value": "{black}"
|
|
559
502
|
},
|
|
560
503
|
"swatch-disabled-icon-border-opacity": {
|
|
561
504
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/opacity.json",
|
|
562
505
|
"component": "swatch",
|
|
563
506
|
"uuid": "cdbba3b6-cb51-4fec-88f0-273d4bb59a18",
|
|
564
|
-
"value": "0.42"
|
|
565
|
-
"deprecated": true,
|
|
566
|
-
"deprecated_comment": "Renamed to spec-order name. Use `swatch-icon-border-opacity-disabled` instead.",
|
|
567
|
-
"renamed": "swatch-icon-border-opacity-disabled"
|
|
507
|
+
"value": "0.42"
|
|
568
508
|
},
|
|
569
509
|
"swatch-group-border-color": {
|
|
570
510
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
@@ -572,89 +512,29 @@
|
|
|
572
512
|
"uuid": "08b8d06a-5475-47bf-ad2e-9f52ee07345a",
|
|
573
513
|
"value": "{gray-1000}"
|
|
574
514
|
},
|
|
575
|
-
"swatch-icon-border-color-disabled": {
|
|
576
|
-
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
577
|
-
"component": "swatch",
|
|
578
|
-
"uuid": "baf5681d-9262-4a4a-9fcb-50c8e18aeb77",
|
|
579
|
-
"value": "{black}"
|
|
580
|
-
},
|
|
581
|
-
"swatch-icon-border-opacity-disabled": {
|
|
582
|
-
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/opacity.json",
|
|
583
|
-
"component": "swatch",
|
|
584
|
-
"uuid": "0611023f-1657-4c07-9dac-b3351f68668b",
|
|
585
|
-
"value": "0.42"
|
|
586
|
-
},
|
|
587
|
-
"table-row-background-color-selected": {
|
|
588
|
-
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
589
|
-
"component": "table",
|
|
590
|
-
"uuid": "b70d4d2a-55ec-4225-87c7-111ab24cc15e",
|
|
591
|
-
"value": "{informative-background-color-default}"
|
|
592
|
-
},
|
|
593
|
-
"table-row-background-opacity-hover-selected": {
|
|
594
|
-
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/opacity.json",
|
|
595
|
-
"component": "table",
|
|
596
|
-
"uuid": "d4c78211-a97a-4f31-9105-976c91521934",
|
|
597
|
-
"value": "0.15"
|
|
598
|
-
},
|
|
599
|
-
"table-row-background-opacity-selected": {
|
|
600
|
-
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/opacity.json",
|
|
601
|
-
"component": "table",
|
|
602
|
-
"uuid": "6b483c73-fc70-448a-95fa-d9ffbac0e6c7",
|
|
603
|
-
"value": "0.1"
|
|
604
|
-
},
|
|
605
|
-
"table-row-color-hover": {
|
|
606
|
-
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
607
|
-
"component": "table",
|
|
608
|
-
"uuid": "5b5933de-fcb5-41e4-9854-cf21e3f48803",
|
|
609
|
-
"value": "{gray-900}"
|
|
610
|
-
},
|
|
611
515
|
"table-row-down-opacity": {
|
|
612
516
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/opacity.json",
|
|
613
517
|
"component": "table",
|
|
614
518
|
"uuid": "75ae742c-e96e-494f-9880-746bb2849575",
|
|
615
|
-
"value": "0.1"
|
|
616
|
-
"deprecated": true,
|
|
617
|
-
"deprecated_comment": "Renamed to spec-order name. Use `table-row-opacity-down` instead.",
|
|
618
|
-
"renamed": "table-row-opacity-down"
|
|
519
|
+
"value": "0.1"
|
|
619
520
|
},
|
|
620
521
|
"table-row-hover-color": {
|
|
621
522
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
622
523
|
"component": "table",
|
|
623
524
|
"uuid": "44aedb76-5483-4ac3-a6f5-8cf71c2bd376",
|
|
624
|
-
"value": "{gray-900}"
|
|
625
|
-
"deprecated": true,
|
|
626
|
-
"deprecated_comment": "Renamed to spec-order name. Use `table-row-color-hover` instead.",
|
|
627
|
-
"renamed": "table-row-color-hover"
|
|
525
|
+
"value": "{gray-900}"
|
|
628
526
|
},
|
|
629
527
|
"table-row-hover-opacity": {
|
|
630
528
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/opacity.json",
|
|
631
529
|
"component": "table",
|
|
632
530
|
"uuid": "e287d553-3712-4d6e-98f0-6075107e85fe",
|
|
633
|
-
"value": "0.07",
|
|
634
|
-
"deprecated": true,
|
|
635
|
-
"deprecated_comment": "Renamed to spec-order name. Use `table-row-opacity-hover` instead.",
|
|
636
|
-
"renamed": "table-row-opacity-hover"
|
|
637
|
-
},
|
|
638
|
-
"table-row-opacity-down": {
|
|
639
|
-
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/opacity.json",
|
|
640
|
-
"component": "table",
|
|
641
|
-
"uuid": "97c86246-81e3-4719-a9bf-6920f42d2c51",
|
|
642
|
-
"value": "0.1"
|
|
643
|
-
},
|
|
644
|
-
"table-row-opacity-hover": {
|
|
645
|
-
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/opacity.json",
|
|
646
|
-
"component": "table",
|
|
647
|
-
"uuid": "c6a8d500-ba21-4e62-9ee1-945c6ca60174",
|
|
648
531
|
"value": "0.07"
|
|
649
532
|
},
|
|
650
533
|
"table-selected-row-background-color": {
|
|
651
534
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
652
535
|
"component": "table",
|
|
653
536
|
"uuid": "b7537f50-bd49-44b6-a171-19943d443d24",
|
|
654
|
-
"value": "{informative-background-color-default}"
|
|
655
|
-
"deprecated": true,
|
|
656
|
-
"deprecated_comment": "Renamed to spec-order name. Use `table-row-background-color-selected` instead.",
|
|
657
|
-
"renamed": "table-row-background-color-selected"
|
|
537
|
+
"value": "{informative-background-color-default}"
|
|
658
538
|
},
|
|
659
539
|
"table-selected-row-background-color-non-emphasized": {
|
|
660
540
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
@@ -666,19 +546,13 @@
|
|
|
666
546
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/opacity.json",
|
|
667
547
|
"component": "table",
|
|
668
548
|
"uuid": "61b3aa04-0e7e-44b8-a4c8-8442a4ebf549",
|
|
669
|
-
"value": "0.1"
|
|
670
|
-
"deprecated": true,
|
|
671
|
-
"deprecated_comment": "Renamed to spec-order name. Use `table-row-background-opacity-selected` instead.",
|
|
672
|
-
"renamed": "table-row-background-opacity-selected"
|
|
549
|
+
"value": "0.1"
|
|
673
550
|
},
|
|
674
551
|
"table-selected-row-background-opacity-hover": {
|
|
675
552
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/opacity.json",
|
|
676
553
|
"component": "table",
|
|
677
554
|
"uuid": "ce2851bc-8ae1-4b27-8cd6-f191c9cd7fe9",
|
|
678
|
-
"value": "0.15"
|
|
679
|
-
"deprecated": true,
|
|
680
|
-
"deprecated_comment": "Renamed to spec-order name. Use `table-row-background-opacity-hover-selected` instead.",
|
|
681
|
-
"renamed": "table-row-background-opacity-hover-selected"
|
|
555
|
+
"value": "0.15"
|
|
682
556
|
},
|
|
683
557
|
"table-selected-row-background-opacity-non-emphasized": {
|
|
684
558
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/opacity.json",
|
|
@@ -710,24 +584,12 @@
|
|
|
710
584
|
"uuid": "92418bcd-5f0f-4f26-9a96-51f8c9e871bf",
|
|
711
585
|
"value": "{opacity-disabled}"
|
|
712
586
|
},
|
|
713
|
-
"tree-view-row-background-default-selected": {
|
|
714
|
-
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
715
|
-
"component": "tree-view",
|
|
716
|
-
"uuid": "e3a2d117-ef07-4a09-bfd8-e3f566d34f68",
|
|
717
|
-
"value": "{gray-100}"
|
|
718
|
-
},
|
|
719
587
|
"tree-view-row-background-hover": {
|
|
720
588
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
721
589
|
"component": "tree-view",
|
|
722
590
|
"uuid": "39d26185-da40-47b5-b4b3-e47689129256",
|
|
723
591
|
"value": "{gray-100}"
|
|
724
592
|
},
|
|
725
|
-
"tree-view-row-background-hover-selected": {
|
|
726
|
-
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
727
|
-
"component": "tree-view",
|
|
728
|
-
"uuid": "0a6a86bb-abf5-4e7b-919d-8e65824e10c0",
|
|
729
|
-
"value": "{gray-100}"
|
|
730
|
-
},
|
|
731
593
|
"tree-view-selected-row-background-color-emphasized": {
|
|
732
594
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
733
595
|
"component": "tree-view",
|
|
@@ -738,18 +600,12 @@
|
|
|
738
600
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
739
601
|
"component": "tree-view",
|
|
740
602
|
"uuid": "8f19994d-f49a-42ea-97bd-98ab1d76d02d",
|
|
741
|
-
"value": "{gray-100}"
|
|
742
|
-
"deprecated": true,
|
|
743
|
-
"deprecated_comment": "Renamed to spec-order name. Use `tree-view-row-background-default-selected` instead.",
|
|
744
|
-
"renamed": "tree-view-row-background-default-selected"
|
|
603
|
+
"value": "{gray-100}"
|
|
745
604
|
},
|
|
746
605
|
"tree-view-selected-row-background-hover": {
|
|
747
606
|
"$schema": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alias.json",
|
|
748
607
|
"component": "tree-view",
|
|
749
608
|
"uuid": "c325ed8f-8248-40c3-a0f0-efba57638f24",
|
|
750
|
-
"value": "{gray-100}"
|
|
751
|
-
"deprecated": true,
|
|
752
|
-
"deprecated_comment": "Renamed to spec-order name. Use `tree-view-row-background-hover-selected` instead.",
|
|
753
|
-
"renamed": "tree-view-row-background-hover-selected"
|
|
609
|
+
"value": "{gray-100}"
|
|
754
610
|
}
|
|
755
|
-
}
|
|
611
|
+
}
|