@adobe/spectrum-tokens 13.1.0 → 13.3.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.
@@ -435,6 +435,11 @@
435
435
  "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
436
436
  "value": "{informative-color-300}",
437
437
  "uuid": "4cbe010f-0608-47e3-bf27-c7da70a70b9e"
438
+ },
439
+ "wireframe": {
440
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
441
+ "value": "{informative-color-200}",
442
+ "uuid": "71ebebf0-95e7-45f7-9f6f-d14ef51cf4f0"
438
443
  }
439
444
  }
440
445
  },
@@ -450,6 +455,11 @@
450
455
  "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
451
456
  "value": "{positive-color-300}",
452
457
  "uuid": "c7644c81-1b2c-40ee-b3a6-b25e88fc34ea"
458
+ },
459
+ "wireframe": {
460
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
461
+ "value": "{positive-color-200}",
462
+ "uuid": "531be3e1-ddfa-4d3b-9a7f-73d7f0e38cd9"
453
463
  }
454
464
  }
455
465
  },
@@ -465,6 +475,11 @@
465
475
  "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
466
476
  "value": "{notice-color-300}",
467
477
  "uuid": "c9bfd62b-95c7-47d3-bace-ce3f2bfaade8"
478
+ },
479
+ "wireframe": {
480
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
481
+ "value": "{notice-color-200}",
482
+ "uuid": "163958bd-7303-4328-ad3c-b04f8dacaf32"
468
483
  }
469
484
  }
470
485
  },
@@ -480,6 +495,11 @@
480
495
  "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
481
496
  "value": "{negative-color-300}",
482
497
  "uuid": "c7575b76-8035-4037-8bd5-e8bdb82bddc3"
498
+ },
499
+ "wireframe": {
500
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
501
+ "value": "{negative-color-200}",
502
+ "uuid": "ea3ceaa2-235b-4c55-88b2-c0d744434d83"
483
503
  }
484
504
  }
485
505
  },
@@ -520,6 +540,11 @@
520
540
  "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
521
541
  "value": "{accent-color-300}",
522
542
  "uuid": "c120499e-98c4-442d-971f-31dee8d16c4d"
543
+ },
544
+ "wireframe": {
545
+ "$schema": "https://opensource.adobe.com/spectrum-tokens/schemas/token-types/alias.json",
546
+ "value": "{accent-color-200}",
547
+ "uuid": "5c9c8a1c-c4ac-45e5-ba5f-b08edd9f4297"
523
548
  }
524
549
  }
525
550
  }
@@ -15,20 +15,20 @@ import { getAllTokens, isDeprecated } from "../index.js";
15
15
 
16
16
  test("Single set properties shouldn't be deprecated", async (t) => {
17
17
  const tokens = await getAllTokens();
18
+ const failingTokens = [];
18
19
  for (const [tokenName, token] of Object.entries(tokens)) {
19
20
  if (
20
21
  Object.hasOwn(token, "sets") &&
21
22
  !isDeprecated(token) &&
22
- JSON.stringify(token.sets).indexOf("deprecated") > -1
23
+ JSON.stringify(token.sets).indexOf("deprecated") > -1 &&
24
+ !Object.values(token.sets).every((setValue) =>
25
+ Object.hasOwn(setValue, "deprecated"),
26
+ )
23
27
  ) {
24
- t.truthy(
25
- Object.values(token.sets).every((setValue) =>
26
- Object.hasOwn(setValue, "deprecated"),
27
- ),
28
- );
28
+ failingTokens.push(tokenName);
29
29
  }
30
30
  }
31
- t.pass();
31
+ t.deepEqual(failingTokens, []);
32
32
  });
33
33
 
34
34
  test("Sets should have unique values", async (t) => {