Maturity & lifecycle
Every component, token, pattern and template in PrismDS carries a maturity status so consumers always know what is production-safe. Status is recorded per family in the snapshot below; individual components do not yet carry a status line of their own.
States
| Status | Meaning | Safe for production? |
|---|---|---|
experimental | Spike / proof-of-concept. API will change without notice. | No |
alpha | Usable, incomplete. Breaking changes likely. | Behind a flag only |
beta | Feature-complete, hardening. Breaking changes possible, announced. | Yes, with caution |
stable | Locked API, fully documented, a11y-verified. | Yes |
deprecated | Superseded; still ships with a migration path. Removed next major. | Migrate away |
legacy | Kept for an old product; no new adoption. | Existing use only |
internal-only | For Prism's own demos/kits; not part of the public surface. | No |
Current snapshot
- Tokens (colours, type, spacing, scales, density, signatures):
stable. - Themes: base light / dark / system, Industry and Enterprise. Deprecated:
data-theme="laboratory"(an alias ofindustry) and the--text-xs … --text-9xlnames (use the--fs-*roles). - Core / forms / feedback / navigation / overlays / datetime / layout / cards / typography:
stable. - states, data (DataGrid), charts, lockups, permissions:
beta— feature-complete, in real use across the kits, hardening. - business, controls, dashboard, industry, privacy, workflow, tv, theming: added since this snapshot was first written and not yet given a status.
- UI kits (CommerceOS, CampusOS, HealthOS, MediaOS, FinanceOS, HospitalityOS, EstateOS):
internal-onlyreference implementations. - Distribution: the registry (
@prism/<name>),@artoftechconsulting/prism-tokensand the Python packageprismdsship at one version.@artoftechconsulting/prism-native(React Native) is a proof of concept.
Deprecation policy
- Mark the item
deprecatedand add aDeprecated:note in its.prompt.mdnaming the replacement and the version it will be removed in. - Keep it shipping, unchanged, for at least one minor release.
- Remove only in a major release, with a
MIGRATIONentry.
Migration policy
- Every breaking change ships with a migration note: before/after snippet + a find-and-replace hint where possible.
- Renamed tokens get a temporary alias (
--old: var(--new);) for one minor cycle.
Breaking-change policy (semver)
- Patch — fixes, no API/visual change beyond the bug.
- Minor — additive: new components/tokens/props, new optional behaviour. Never removes or renames.
- Major — removals, renames, default-value changes, visual changes that could break layouts.
Recorded exception: 2.9.0. That minor release changed what data-theme="industry" means (it became the light variant; the dark one is industry-dark), removed the separate Laboratory theme files, and changed Industry's --accent. By this policy it should have been a major release. It shipped as 2.9.0 by decision, with laboratory kept as a deprecated alias and the migration written up in docs/INDUSTRY_THEME.md. It is an exception, not a precedent.
"Safe for production" checklist
- Status is
betaorstable. - Has
.d.ts,.prompt.md, and a@dsCardspecimen. - Passes the QA gates (a11y, RTL, dark, density, long-string).
- No
experimental/alphadependencies. - Tokens only — no hard-coded colours, sizes or fonts.
Release-readiness checklist
- The
ds-validategates pass. - README index + relevant
docs/updated. - Maturity statuses current; deprecations have migration notes.
-
packages/dist rebuilt if tokens/components changed. - Version bumped and the release tagged (the changelog page is generated from tags and PR titles).