@adobe/spectrum-tokens 13.0.0-beta.9 → 13.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 (52) hide show
  1. package/CHANGELOG.md +9324 -0
  2. package/README.md +4 -0
  3. package/dist/json/drover.json +1006 -242
  4. package/dist/json/variables.json +16945 -7107
  5. package/index.js +60 -0
  6. package/moon.yml +2 -2
  7. package/package.json +13 -8
  8. package/schemas/token-types/alias.json +1 -0
  9. package/schemas/token-types/color-set.json +4 -3
  10. package/schemas/token-types/color.json +1 -0
  11. package/schemas/token-types/dimension.json +1 -0
  12. package/schemas/token-types/font-family.json +1 -0
  13. package/schemas/token-types/font-size.json +1 -0
  14. package/schemas/token-types/font-style.json +1 -0
  15. package/schemas/token-types/font-weight.json +1 -0
  16. package/schemas/token-types/gradient-stop.json +27 -0
  17. package/schemas/token-types/multiplier.json +2 -1
  18. package/schemas/token-types/opacity.json +1 -0
  19. package/schemas/token-types/scale-set.json +7 -0
  20. package/schemas/token-types/system-set.json +83 -0
  21. package/schemas/token-types/text-align.json +27 -0
  22. package/schemas/token-types/text-transform.json +1 -0
  23. package/schemas/token-types/token.json +14 -2
  24. package/src/color-aliases.json +669 -97
  25. package/src/color-component.json +286 -18
  26. package/src/color-palette.json +736 -347
  27. package/src/icons.json +974 -20
  28. package/src/layout-component.json +4686 -896
  29. package/src/layout.json +411 -171
  30. package/src/semantic-color-palette.json +125 -1
  31. package/src/typography.json +299 -90
  32. package/tasks/addIds.js +7 -9
  33. package/tasks/addPrivate.js +22 -0
  34. package/tasks/buildManifest.js +1 -1
  35. package/tasks/buildSpectrumTokens.js +1 -1
  36. package/tasks/deprecateExpress.js +1 -1
  37. package/tasks/diff.js +19 -5
  38. package/tasks/lib/augmentExpressTokens.js +1 -1
  39. package/test/checkComponentProps.js +29 -0
  40. package/test/checkId.test.js +1 -37
  41. package/test/checkManifest.test.js +1 -1
  42. package/test/checkPrivate.js +22 -0
  43. package/test/checkSetsUnique.js +54 -0
  44. package/test/checkUniqueTokenNames.js +32 -0
  45. package/test/componentSchemaValidator.test.js +1 -1
  46. package/test/deprecateExpress.test.js +1 -1
  47. package/test/drover.test.js +1 -1
  48. package/test/schemaValidator.test.js +1 -1
  49. package/test/schemaValidators/alias.test.js +1 -1
  50. package/test/snapshots/deprecateExpress.test.js.md +1 -1
  51. package/test/snapshots/deprecateExpress.test.js.snap +0 -0
  52. package/test/tokenSchemaValidator.test.js +1 -1
package/README.md CHANGED
@@ -70,3 +70,7 @@ npm install --save @adobe/spectrum-tokens
70
70
  ```
71
71
 
72
72
  If you need to use the older and more complete set of tokens side by side with the v12.x.x release while the development of this migration is ongoing, you can use the [`@adobe/spectrum-tokens-depreacated`](https://www.npmjs.com/package/@adobe/spectrum-tokens-deprecated) package, which is an archived release of `@adobe/spectrum-tokens@11.8.0`.
73
+
74
+ ## Token Types and `$schema`
75
+
76
+ Tokens now have a `$schema` property that relates to a type defined in the `schemas/token-types/` directory. Even those these are being released as part of the regular releases, they shouldn't be considered formal API yet. There are planned adjustments with further data integration in design tools and workflows. Ideally, designers would be able to author new tokens and manage type across all the data.