@adobe/spectrum-tokens 14.6.0 → 14.8.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spectrum-tokens",
3
- "version": "14.6.0",
3
+ "version": "14.8.0",
4
4
  "description": "Design tokens for Spectrum, Adobe's design system",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -8,6 +8,7 @@
8
8
  "^[a-z0-9]+(-[a-z0-9]+)*$": {
9
9
  "anyOf": [
10
10
  { "$ref": "token-types/alias.json" },
11
+ { "$ref": "token-types/alignment.json" },
11
12
  { "$ref": "token-types/color.json" },
12
13
  { "$ref": "token-types/color-set.json" },
13
14
  { "$ref": "token-types/dimension.json" },
@@ -22,7 +23,6 @@
22
23
  { "$ref": "token-types/scale-set.json" },
23
24
  { "$ref": "token-types/set.json" },
24
25
  { "$ref": "token-types/system-set.json" },
25
- { "$ref": "token-types/text-align.json" },
26
26
  { "$ref": "token-types/text-transform.json" },
27
27
  { "$ref": "token-types/token.json" },
28
28
  { "$ref": "token-types/typography.json" }
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "$schema": "https://json-schema.org/draft/2020-12/schema",
3
- "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/text-align.json",
4
- "title": "Text align",
5
- "description": "Sets the horizontal alignment of the inline-level content inside a block element",
3
+ "$id": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alignment.json",
4
+ "title": "Alignment",
5
+ "description": "Defines an alignment value (horizontal, vertical, or text) along a single axis. Keyword values are direction-aware: 'start' and 'end' resolve based on writing mode or layout direction.",
6
6
  "type": "object",
7
7
  "allOf": [
8
8
  {
@@ -11,7 +11,7 @@
11
11
  ],
12
12
  "properties": {
13
13
  "$schema": {
14
- "const": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/text-align.json"
14
+ "const": "https://opensource.adobe.com/spectrum-design-data/schemas/token-types/alignment.json"
15
15
  },
16
16
  "value": {
17
17
  "type": "string",
@@ -99,6 +99,13 @@
99
99
  "severity": "info",
100
100
  "message": "Known naming exception: 'focus-indicator-color' does not match canonical generation rules (tracked in naming-exceptions.json)"
101
101
  },
102
+ {
103
+ "file": "./src/color-aliases.json",
104
+ "token": "stack-item-selected-background-color-highlight",
105
+ "rule_id": "SPEC-007",
106
+ "severity": "warning",
107
+ "message": "Token 'stack-item-selected-background-color-highlight' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
108
+ },
102
109
  {
103
110
  "file": "./src/color-aliases.json",
104
111
  "token": "static-black-focus-indicator-color",
@@ -120,13 +127,6 @@
120
127
  "severity": "info",
121
128
  "message": "Known naming exception: 'select-box-selected-border-color' does not match canonical generation rules (tracked in naming-exceptions.json)"
122
129
  },
123
- {
124
- "file": "./src/color-component.json",
125
- "token": "stack-item-background-selected-color-keyboard-focus",
126
- "rule_id": "SPEC-007",
127
- "severity": "warning",
128
- "message": "Token 'stack-item-background-selected-color-keyboard-focus' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
129
- },
130
130
  {
131
131
  "file": "./src/color-component.json",
132
132
  "token": "stack-item-selected-background-color-default",
@@ -260,62 +260,6 @@
260
260
  "severity": "info",
261
261
  "message": "Known naming exception: 'tree-view-selected-row-background-hover' does not match canonical generation rules (tracked in naming-exceptions.json)"
262
262
  },
263
- {
264
- "file": "./src/icons.json",
265
- "token": "blue-icon-background-color",
266
- "rule_id": "SPEC-007",
267
- "severity": "warning",
268
- "message": "Token 'blue-icon-background-color' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
269
- },
270
- {
271
- "file": "./src/icons.json",
272
- "token": "brown-icon-background-color",
273
- "rule_id": "SPEC-007",
274
- "severity": "warning",
275
- "message": "Token 'brown-icon-background-color' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
276
- },
277
- {
278
- "file": "./src/icons.json",
279
- "token": "celery-icon-background-color",
280
- "rule_id": "SPEC-007",
281
- "severity": "warning",
282
- "message": "Token 'celery-icon-background-color' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
283
- },
284
- {
285
- "file": "./src/icons.json",
286
- "token": "chartreuse-icon-background-color",
287
- "rule_id": "SPEC-007",
288
- "severity": "warning",
289
- "message": "Token 'chartreuse-icon-background-color' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
290
- },
291
- {
292
- "file": "./src/icons.json",
293
- "token": "cinnamon-icon-background-color",
294
- "rule_id": "SPEC-007",
295
- "severity": "warning",
296
- "message": "Token 'cinnamon-icon-background-color' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
297
- },
298
- {
299
- "file": "./src/icons.json",
300
- "token": "cyan-icon-background-color",
301
- "rule_id": "SPEC-007",
302
- "severity": "warning",
303
- "message": "Token 'cyan-icon-background-color' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
304
- },
305
- {
306
- "file": "./src/icons.json",
307
- "token": "fuchsia-icon-background-color",
308
- "rule_id": "SPEC-007",
309
- "severity": "warning",
310
- "message": "Token 'fuchsia-icon-background-color' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
311
- },
312
- {
313
- "file": "./src/icons.json",
314
- "token": "green-icon-background-color",
315
- "rule_id": "SPEC-007",
316
- "severity": "warning",
317
- "message": "Token 'green-icon-background-color' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
318
- },
319
263
  {
320
264
  "file": "./src/icons.json",
321
265
  "token": "icon-color-disabled-primary",
@@ -330,111 +274,6 @@
330
274
  "severity": "info",
331
275
  "message": "Known naming exception: 'icon-color-emphasized-background' does not match canonical generation rules (tracked in naming-exceptions.json)"
332
276
  },
333
- {
334
- "file": "./src/icons.json",
335
- "token": "indigo-icon-background-color",
336
- "rule_id": "SPEC-007",
337
- "severity": "warning",
338
- "message": "Token 'indigo-icon-background-color' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
339
- },
340
- {
341
- "file": "./src/icons.json",
342
- "token": "inverse-icon-background-color",
343
- "rule_id": "SPEC-007",
344
- "severity": "warning",
345
- "message": "Token 'inverse-icon-background-color' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
346
- },
347
- {
348
- "file": "./src/icons.json",
349
- "token": "magenta-icon-background-color",
350
- "rule_id": "SPEC-007",
351
- "severity": "warning",
352
- "message": "Token 'magenta-icon-background-color' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
353
- },
354
- {
355
- "file": "./src/icons.json",
356
- "token": "orange-icon-background-color",
357
- "rule_id": "SPEC-007",
358
- "severity": "warning",
359
- "message": "Token 'orange-icon-background-color' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
360
- },
361
- {
362
- "file": "./src/icons.json",
363
- "token": "pink-icon-background-color",
364
- "rule_id": "SPEC-007",
365
- "severity": "warning",
366
- "message": "Token 'pink-icon-background-color' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
367
- },
368
- {
369
- "file": "./src/icons.json",
370
- "token": "primary-icon-color-default",
371
- "rule_id": "SPEC-007",
372
- "severity": "warning",
373
- "message": "Token 'primary-icon-color-default' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
374
- },
375
- {
376
- "file": "./src/icons.json",
377
- "token": "primary-icon-color-disabled",
378
- "rule_id": "SPEC-007",
379
- "severity": "warning",
380
- "message": "Token 'primary-icon-color-disabled' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
381
- },
382
- {
383
- "file": "./src/icons.json",
384
- "token": "primary-icon-color-down",
385
- "rule_id": "SPEC-007",
386
- "severity": "warning",
387
- "message": "Token 'primary-icon-color-down' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
388
- },
389
- {
390
- "file": "./src/icons.json",
391
- "token": "primary-icon-color-hover",
392
- "rule_id": "SPEC-007",
393
- "severity": "warning",
394
- "message": "Token 'primary-icon-color-hover' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
395
- },
396
- {
397
- "file": "./src/icons.json",
398
- "token": "purple-icon-background-color",
399
- "rule_id": "SPEC-007",
400
- "severity": "warning",
401
- "message": "Token 'purple-icon-background-color' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
402
- },
403
- {
404
- "file": "./src/icons.json",
405
- "token": "red-icon-background-color",
406
- "rule_id": "SPEC-007",
407
- "severity": "warning",
408
- "message": "Token 'red-icon-background-color' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
409
- },
410
- {
411
- "file": "./src/icons.json",
412
- "token": "seafoam-icon-background-color",
413
- "rule_id": "SPEC-007",
414
- "severity": "warning",
415
- "message": "Token 'seafoam-icon-background-color' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
416
- },
417
- {
418
- "file": "./src/icons.json",
419
- "token": "silver-icon-background-color",
420
- "rule_id": "SPEC-007",
421
- "severity": "warning",
422
- "message": "Token 'silver-icon-background-color' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
423
- },
424
- {
425
- "file": "./src/icons.json",
426
- "token": "turquoise-icon-background-color",
427
- "rule_id": "SPEC-007",
428
- "severity": "warning",
429
- "message": "Token 'turquoise-icon-background-color' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
430
- },
431
- {
432
- "file": "./src/icons.json",
433
- "token": "yellow-icon-background-color",
434
- "rule_id": "SPEC-007",
435
- "severity": "warning",
436
- "message": "Token 'yellow-icon-background-color' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
437
- },
438
277
  {
439
278
  "file": "./src/layout-component.json",
440
279
  "token": "accordion-focus-indicator-gap",
@@ -659,6 +498,20 @@
659
498
  "severity": "info",
660
499
  "message": "Known naming exception: 'stack-item-selected-background-opacity-emphasized-key-focus' does not match canonical generation rules (tracked in naming-exceptions.json)"
661
500
  },
501
+ {
502
+ "file": "./src/layout-component.json",
503
+ "token": "stack-item-selected-background-opacity-highlight",
504
+ "rule_id": "SPEC-007",
505
+ "severity": "warning",
506
+ "message": "Token 'stack-item-selected-background-opacity-highlight' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
507
+ },
508
+ {
509
+ "file": "./src/layout-component.json",
510
+ "token": "stack-item-selected-background-opacity-highlight-hover",
511
+ "rule_id": "SPEC-007",
512
+ "severity": "warning",
513
+ "message": "Token 'stack-item-selected-background-opacity-highlight-hover' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
514
+ },
662
515
  {
663
516
  "file": "./src/layout-component.json",
664
517
  "token": "steplist-step-default-height-extra-large",
@@ -939,13 +792,6 @@
939
792
  "severity": "info",
940
793
  "message": "Known naming exception: 'focus-indicator-gap' does not match canonical generation rules (tracked in naming-exceptions.json)"
941
794
  },
942
- {
943
- "file": "./src/layout.json",
944
- "token": "focus-indicator-side",
945
- "rule_id": "SPEC-007",
946
- "severity": "warning",
947
- "message": "Token 'focus-indicator-side' does not roundtrip through name-object generation rules and is not in the exceptions allowlist"
948
- },
949
795
  {
950
796
  "file": "./src/layout.json",
951
797
  "token": "focus-indicator-thickness",