@adobe/design-system-registry 1.4.0 → 2.0.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 +22 -0
- package/package.json +2 -2
- package/registry/categories.json +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @adobe/design-system-registry
|
|
2
2
|
|
|
3
|
+
## 2.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#923](https://github.com/adobe/spectrum-design-data/pull/923) [`f3a0a6b`](https://github.com/adobe/spectrum-design-data/commit/f3a0a6b6bc03774e870aad989c16d9b532406aaf) Thanks [@GarthDB](https://github.com/GarthDB)! - Close RFC #661 category validation gap: add SPEC-034 advisory rule and
|
|
8
|
+
align the `data-visualization` category id across all surfaces.
|
|
9
|
+
- `spec/registry.md` — marks the categories.json gap closed; SPEC-034
|
|
10
|
+
is now the authoritative validator for `meta.category`.
|
|
11
|
+
- `schemas/component.schema.json` — loosens `meta.category` from a
|
|
12
|
+
hard-coded enum to a free-form string; SPEC-034 (warning-level) is
|
|
13
|
+
the single source of validation.
|
|
14
|
+
- `rules/rules.yaml` — adds SPEC-034
|
|
15
|
+
(`component-category-registry-sync`, severity: warning).
|
|
16
|
+
- `packages/design-system-registry/registry/categories.json` — removes
|
|
17
|
+
the `"data visualization"` alias from `data-visualization`; kebab-case
|
|
18
|
+
is the sole canonical form.
|
|
19
|
+
- `components/table.json` — migrates `meta.category` from
|
|
20
|
+
`"data visualization"` to `"data-visualization"`.
|
|
21
|
+
- `docs/rfc-coordination.md` — RFC #661 open question marked resolved.
|
|
22
|
+
- SDK: new `spec034.rs` rule + `categories()` accessor on `RegistryData`
|
|
23
|
+
- codegen updated to embed `categories.json`.
|
|
24
|
+
|
|
3
25
|
## 1.4.0
|
|
4
26
|
|
|
5
27
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/design-system-registry",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"description": "A single source of truth for design system terminology used across Spectrum tokens, component schemas, and anatomy",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"ajv": "^8.17.1",
|
|
45
45
|
"ajv-formats": "^3.0.1",
|
|
46
46
|
"ava": "^6.0.1",
|
|
47
|
-
"@adobe/spectrum-component-api-schemas": "6.1.
|
|
47
|
+
"@adobe/spectrum-component-api-schemas": "6.1.8"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"validate": "node scripts/validate-registry.js",
|