@assure-one/design-system 0.4.0 → 0.5.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/README.md +13 -14
- package/dist/index.d.ts +304 -71
- package/dist/index.js +552 -174
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/tokens/index.d.ts +3 -5
- package/dist/tokens/index.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
# Assure One Design System
|
|
2
2
|
|
|
3
|
-
The single source of truth for visual design across all Assure
|
|
3
|
+
The single source of truth for visual design across all Assure products.
|
|
4
4
|
|
|
5
5
|
- **Tokens** — semantic CSS variables (color, type, spacing, motion) consumed by every product.
|
|
6
6
|
- **Primitives** — accessible React components built on Radix + Tailwind 4.
|
|
7
|
-
- **
|
|
7
|
+
- **Composites** — common patterns (DataTable, PageHeader, Sidebar, Kanban).
|
|
8
|
+
|
|
9
|
+
## Documentation
|
|
10
|
+
|
|
11
|
+
- [**`CHANGELOG.md`**](./CHANGELOG.md) — release-by-release log of what shipped.
|
|
12
|
+
- [**`CONTRIBUTING.md`**](./CONTRIBUTING.md) — dev loop, release flow, versioning, pitfalls.
|
|
13
|
+
- [**`CLAUDE.md`**](./CLAUDE.md) — invariants and conventions for AI assistants working in this repo.
|
|
14
|
+
- [**`claude-skills/`**](./claude-skills) — drop-in Claude Code skill for consuming projects.
|
|
8
15
|
|
|
9
16
|
## Install
|
|
10
17
|
|
|
@@ -38,6 +45,8 @@ pnpm typecheck
|
|
|
38
45
|
pnpm lint
|
|
39
46
|
```
|
|
40
47
|
|
|
48
|
+
See [`CONTRIBUTING.md`](./CONTRIBUTING.md) for the full dev loop, including iterating against a real consuming app.
|
|
49
|
+
|
|
41
50
|
## Architecture
|
|
42
51
|
|
|
43
52
|
3-tier token system (W3C Design Tokens spec compatible):
|
|
@@ -49,16 +58,6 @@ color.navy.700 → color.action.primary.bg → button.primary.bg
|
|
|
49
58
|
|
|
50
59
|
Components consume **system tokens**, never reference values directly. Themes (light, dark, per-product accent) re-map system → reference without touching component code.
|
|
51
60
|
|
|
52
|
-
##
|
|
53
|
-
|
|
54
|
-
We use [Changesets](https://github.com/changesets/changesets). Every PR with a user-visible change includes a changeset:
|
|
55
|
-
|
|
56
|
-
```bash
|
|
57
|
-
pnpm changeset
|
|
58
|
-
```
|
|
59
|
-
|
|
60
|
-
Merging to `main` triggers a "Version Packages" PR. Merging that PR publishes to GitHub Packages.
|
|
61
|
-
|
|
62
|
-
## Status
|
|
61
|
+
## Releases
|
|
63
62
|
|
|
64
|
-
|
|
63
|
+
Tag-driven publish to public npm. See [`CONTRIBUTING.md`](./CONTRIBUTING.md#release-flow) for the full flow; past releases in [`CHANGELOG.md`](./CHANGELOG.md).
|