@adobe/design-system-registry 1.4.0 → 3.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 +53 -0
- package/package.json +2 -2
- package/registry/anatomy-terms.json +18 -0
- package/registry/categories.json +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,58 @@
|
|
|
1
1
|
# @adobe/design-system-registry
|
|
2
2
|
|
|
3
|
+
## 3.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#924](https://github.com/adobe/spectrum-design-data/pull/924) [`20bb703`](https://github.com/adobe/spectrum-design-data/commit/20bb7035ad7d62513670bfb393b70766a295e51c) 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
|
+
|
|
25
|
+
### Patch Changes
|
|
26
|
+
|
|
27
|
+
- [#927](https://github.com/adobe/spectrum-design-data/pull/927) [`6a855e9`](https://github.com/adobe/spectrum-design-data/commit/6a855e98caad99d8799e4c2ed4a822a5776bd2da) Thanks [@GarthDB](https://github.com/GarthDB)! - Add `disclosure-triangle`, `picker`, `progress-bar` to anatomy-terms.json.
|
|
28
|
+
|
|
29
|
+
Closes the spec/registry divergence surfaced during SPEC-035 implementation
|
|
30
|
+
(#924) — these three names appear in the canonical vocabulary table in
|
|
31
|
+
spec/anatomy-format.md but were missing from the registry, causing SPEC-035
|
|
32
|
+
to advisory-warn on them. Resolves #925.
|
|
33
|
+
|
|
34
|
+
## 2.0.0
|
|
35
|
+
|
|
36
|
+
### Major Changes
|
|
37
|
+
|
|
38
|
+
- [#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
|
|
39
|
+
align the `data-visualization` category id across all surfaces.
|
|
40
|
+
- `spec/registry.md` — marks the categories.json gap closed; SPEC-034
|
|
41
|
+
is now the authoritative validator for `meta.category`.
|
|
42
|
+
- `schemas/component.schema.json` — loosens `meta.category` from a
|
|
43
|
+
hard-coded enum to a free-form string; SPEC-034 (warning-level) is
|
|
44
|
+
the single source of validation.
|
|
45
|
+
- `rules/rules.yaml` — adds SPEC-034
|
|
46
|
+
(`component-category-registry-sync`, severity: warning).
|
|
47
|
+
- `packages/design-system-registry/registry/categories.json` — removes
|
|
48
|
+
the `"data visualization"` alias from `data-visualization`; kebab-case
|
|
49
|
+
is the sole canonical form.
|
|
50
|
+
- `components/table.json` — migrates `meta.category` from
|
|
51
|
+
`"data visualization"` to `"data-visualization"`.
|
|
52
|
+
- `docs/rfc-coordination.md` — RFC #661 open question marked resolved.
|
|
53
|
+
- SDK: new `spec034.rs` rule + `categories()` accessor on `RegistryData`
|
|
54
|
+
- codegen updated to embed `categories.json`.
|
|
55
|
+
|
|
3
56
|
## 1.4.0
|
|
4
57
|
|
|
5
58
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/design-system-registry",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.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.9"
|
|
48
48
|
},
|
|
49
49
|
"scripts": {
|
|
50
50
|
"validate": "node scripts/validate-registry.js",
|
|
@@ -716,6 +716,24 @@
|
|
|
716
716
|
"label": "Guest Icon",
|
|
717
717
|
"description": "Icon displayed in an avatar representing an unauthenticated guest user",
|
|
718
718
|
"usedIn": ["s2-docs"]
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
"id": "disclosure-triangle",
|
|
722
|
+
"label": "Disclosure Triangle",
|
|
723
|
+
"description": "Expand/collapse indicator for accordion, tree, or disclosure components",
|
|
724
|
+
"usedIn": ["tokens", "component-schemas"]
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
"id": "picker",
|
|
728
|
+
"label": "Picker",
|
|
729
|
+
"description": "Dropdown trigger area — the visible affordance, not the overlay",
|
|
730
|
+
"usedIn": ["tokens", "component-schemas"]
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
"id": "progress-bar",
|
|
734
|
+
"label": "Progress Bar",
|
|
735
|
+
"description": "Visual progress fill track indicating completion level",
|
|
736
|
+
"usedIn": ["tokens", "component-schemas"]
|
|
719
737
|
}
|
|
720
738
|
]
|
|
721
739
|
}
|