@adobe/spectrum-tokens 15.5.0 → 15.5.1

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/AGENTS.md ADDED
@@ -0,0 +1,17 @@
1
+ <!-- Copyright 2026 Adobe. All rights reserved. -->
2
+
3
+ # [**@adobe/spectrum-tokens**](https://github.com/adobe/spectrum-tokens)
4
+
5
+ Spectrum design tokens as published to npm.
6
+
7
+ * **Audience:** consumer. **Lifecycle:** active. **npm:** published.
8
+ * Repository-wide rules are in [the root AGENTS.md](../../AGENTS.md). The [repository index](../../docs/repo-index.md) lists every project.
9
+ * `llms.txt` in this directory is generated; edit `README.md` or `.ai/inventory.json` and run `pnpm ai:sync`.
10
+ * This package is published: user-visible changes need a changeset.
11
+
12
+ ## Commands
13
+
14
+ ```bash
15
+ moon run tokens:test
16
+ moon run tokens:build
17
+ ```
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # [**@adobe/spectrum-tokens**](https://github.com/adobe/spectrum-design-data)
2
2
 
3
+ ## 15.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1538](https://github.com/adobe/spectrum-design-data/pull/1538) [`a5fc42f`](https://github.com/adobe/spectrum-design-data/commit/a5fc42ff5dc5b1c0dbc569a733021061e3a57115) Thanks [@GarthDB](https://github.com/GarthDB)! - Token-type schemas and `naming-exceptions.json` now live in canonical packages.
8
+ - **design-data-spec/schemas**: authoritative `token-types/` and `token-file.json`, exported as
9
+ `@adobe/design-data-spec/schemas/*`. `sync-token-schemas.mjs` generates copies; CI checks drift.
10
+ - **design-data/naming-exceptions.json**: moved here from `packages/tokens`.
11
+ - **packages/tokens**: `schemas/` and `naming-exceptions.json` are now generated copies.
12
+ - **docs/site/public/schemas**: regenerated, which updates six drifted files at the `$id` URLs.
13
+ - **sdk CLI**: resolves the new locations first, falls back to the old layout for older tags,
14
+ and bumps the embedded snapshot layout.
15
+ - **tools/design-data**: `validate` resolves schemas through `@adobe/design-data-spec`.
16
+
3
17
  ## 15.5.0
4
18
 
5
19
  ### Minor Changes
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Spectrum Tokens
2
2
 
3
+ > **Generated legacy output.** `@adobe/spectrum-tokens` is generated from the canonical data in [`packages/design-data`](../design-data/) and kept for existing npm consumers. `schemas/` and `naming-exceptions.json` are generated copies (sources: [`design-data-spec/schemas`](../design-data-spec/schemas/) and [`design-data/naming-exceptions.json`](../design-data/naming-exceptions.json)). Don't build new tooling on this package; see `.ai/rules/legacy-tokens.md`.
4
+
3
5
  Design tokens are primarily name-value pairs used to store design decisions and distributed in a way platforms, implementations, and products can use across design tools and coding languages. These value types are represented as data, which include spacing, color, typography, object styles, animation, etc. These can represent anything defined by design: a color as an RGB value, an opacity as a number, and an animation ease function as Bezier coordinates. They're used in place of hard-coded values to ensure flexibility and unity across all product experiences.
4
6
 
5
7
  Design tokens are directly integrated into our component libraries, UI kits, and the Spectrum XD plugin. They cover the various options of platform scales, color themes, component states, and more. We also offer teams a variety of token types to use directly within their products if they are not using a Spectrum component library.
package/llms.txt ADDED
@@ -0,0 +1,32 @@
1
+ # @adobe/spectrum-tokens
2
+
3
+ > Design tokens for Spectrum, Adobe's design system
4
+
5
+ > **Generated legacy output.** `@adobe/spectrum-tokens` is generated from the canonical data in [`packages/design-data`](../design-data/) and kept for existing npm consumers. `schemas/` and `naming-exceptions.json` are generated copies (sources: [`design-data-spec/schemas`](../design-data-spec/schemas/) and [`design-data/naming-exceptions.json`](../design-data/naming-exceptions.json)). Don't build new tooling on this package; see `.ai/rules/legacy-tokens.md`.
6
+
7
+ Design tokens are primarily name-value pairs used to store design decisions and distributed in a way platforms, implementations, and products can use across design tools and coding languages. These value types are represented as data, which include spacing, color, typography, object styles, animation, etc. These can represent anything defined by design: a color as an RGB value, an opacity as a number, and an animation ease function as Bezier coordinates. They're used in place of hard-coded values to ensure flexibility and unity across all product experiences.
8
+
9
+ Design tokens are directly integrated into our component libraries, UI kits, and the Spectrum XD plugin. They cover the various options of platform scales, color…
10
+
11
+ ## Install
12
+
13
+ `npm install @adobe/spectrum-tokens`
14
+
15
+ ## Documentation
16
+
17
+ - [README](https://github.com/adobe/spectrum-design-data/blob/main/packages/tokens/README.md): usage and API overview
18
+ - [Getting started](https://github.com/adobe/spectrum-design-data/blob/main/packages/tokens/README.md#getting-started)
19
+ - [Design Data validation](https://github.com/adobe/spectrum-design-data/blob/main/packages/tokens/README.md#design-data-validation)
20
+ - [Generate a Diff from the last release](https://github.com/adobe/spectrum-design-data/blob/main/packages/tokens/README.md#generate-a-diff-from-the-last-release)
21
+ - [Versioning](https://github.com/adobe/spectrum-design-data/blob/main/packages/tokens/README.md#versioning)
22
+ - [Deprecations](https://github.com/adobe/spectrum-design-data/blob/main/packages/tokens/README.md#deprecations)
23
+ - [Releases](https://github.com/adobe/spectrum-design-data/blob/main/packages/tokens/README.md#releases)
24
+ - [Spectrum Tokens 11.x.x and 12.x.x](https://github.com/adobe/spectrum-design-data/blob/main/packages/tokens/README.md#spectrum-tokens-11xx-and-12xx)
25
+ - [Token Types and `$schema`](https://github.com/adobe/spectrum-design-data/blob/main/packages/tokens/README.md#token-types-and-schema)
26
+ - [Repository index](https://github.com/adobe/spectrum-design-data/blob/main/docs/repo-index.md): how this package fits in the repository
27
+
28
+ ## Optional
29
+
30
+ - [Changelog](https://github.com/adobe/spectrum-design-data/blob/main/packages/tokens/CHANGELOG.md)
31
+ - [npm package](https://www.npmjs.com/package/@adobe/spectrum-tokens)
32
+ - [Source](https://github.com/adobe/spectrum-design-data/blob/main/packages/tokens/)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/spectrum-tokens",
3
- "version": "15.5.0",
3
+ "version": "15.5.1",
4
4
  "description": "Design tokens for Spectrum, Adobe's design system",
5
5
  "type": "module",
6
6
  "main": "index.js",