@hirobius/design-system 0.12.0 → 0.13.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 CHANGED
@@ -1,5 +1,31 @@
1
1
  # Hirobius Design System
2
2
 
3
+ > ## 🧊 FROZEN — on the shelf (2026-07-09)
4
+ >
5
+ > **HDS is a complete, shelved package. Active development is paused.** It is not
6
+ > being ditched — it's a finished, tested body of work kept in git to check out
7
+ > later: 133 components (Radix + `cva`), 351 DTCG tokens, ~110 Storybook stories,
8
+ > a full guardrail suite, and the published `@hirobius/design-system@0.13.0` on npm.
9
+ >
10
+ > **Why:** the design system was absorbing more maintenance (its highest-commit
11
+ > month) than its two consumers justified — the marketing-site factory
12
+ > (`hirobius/clients`) uses only its token spine (no React components), and the
13
+ > only component consumer (the internal `hirobius/ops` dashboard) is dormant.
14
+ >
15
+ > **What "frozen" means:** no new development. `0.13.0` is the **final clean cut**
16
+ > (it folds in the icon fix + the static-primitive CSS layer + the scroll recipe);
17
+ > the release workflow was re-enabled just to ship it and may be re-frozen after.
18
+ > Chromatic stays manual-only. The published package stays installable. All future
19
+ > work is tracked in the wind-down epic **#80**.
20
+ >
21
+ > **To take it off the shelf:** restore the `pull_request`/`push` triggers in
22
+ > `.github/workflows/{chromatic,release}.yml`, resume from `main`, and pick work
23
+ > from #80.
24
+ >
25
+ > **One human step (credential-gated, not automatable):** optionally run `npm
26
+ deprecate "@hirobius/design-system@<=0.12.0" "Frozen — see the repo README"` to
27
+ > flag the package as paused for npm browsers. It does not break installs.
28
+
3
29
  A publishable React + TypeScript component library, backed by a governed design-token pipeline, a documentation site, and an automated verification suite — all in one repository.
4
30
 
5
31
  ## Using the published package
@@ -46,17 +72,22 @@ HDS theming is driven by root attributes + CSS variables, so it works with **zer
46
72
  JavaScript** — set them on any element (React, Astro, plain HTML) and every HDS
47
73
  descendant re-skins:
48
74
 
49
- | Dial | Attribute / var | Values | Default |
50
- | --- | --- | --- | --- |
51
- | theme | `data-theme` | `dark` | light (unset) |
52
- | density | `data-density` | `compact` | comfortable (unset) |
53
- | brand | `data-brand` (+ `data-tenant` alias) | overlay slug | base (unset) |
54
- | font | `--hds-font-family` / `--hds-font-family-mono` | any font-family | Satoshi / Geist Mono |
75
+ | Dial | Attribute / var | Values | Default |
76
+ | ------- | ---------------------------------------------- | --------------- | -------------------- |
77
+ | theme | `data-theme` | `dark` | light (unset) |
78
+ | density | `data-density` | `compact` | comfortable (unset) |
79
+ | brand | `data-brand` (+ `data-tenant` alias) | overlay slug | base (unset) |
80
+ | font | `--hds-font-family` / `--hds-font-family-mono` | any font-family | Satoshi / Geist Mono |
55
81
 
56
82
  ```html
57
83
  <!-- zero-JS: static markup (e.g. an Astro layout) -->
58
- <div data-hds data-theme="dark" data-density="compact" data-brand="acme"
59
- style="--hds-font-family: 'Inter', sans-serif">
84
+ <div
85
+ data-hds
86
+ data-theme="dark"
87
+ data-density="compact"
88
+ data-brand="acme"
89
+ style="--hds-font-family: 'Inter', sans-serif"
90
+ >
60
91
  …
61
92
  </div>
62
93
  ```
@@ -57,7 +57,7 @@ const Dn = {
57
57
  e,
58
58
  {
59
59
  ref: l,
60
- size: d,
60
+ size: typeof d == "number" ? d : void 0,
61
61
  color: a,
62
62
  className: i,
63
63
  style: u,
@@ -9879,6 +9879,7 @@ const Vl = {
9879
9879
  consumers: [
9880
9880
  "src/app/components/skeleton.test.tsx",
9881
9881
  "src/stories/patterns-layout.stories.tsx",
9882
+ "src/stories/patterns-scroll.stories.tsx",
9882
9883
  "src/stories/skeleton.stories.tsx"
9883
9884
  ],
9884
9885
  tokenMapping: {},
@@ -12412,6 +12413,7 @@ const Vl = {
12412
12413
  "src/stories/app-shell.stories.tsx",
12413
12414
  "src/stories/grid.stories.tsx",
12414
12415
  "src/stories/patterns-layout.stories.tsx",
12416
+ "src/stories/pin.stories.tsx",
12415
12417
  "src/stories/side-nav.stories.tsx",
12416
12418
  "src/stories/sidebar.stories.tsx"
12417
12419
  ],
@@ -12549,7 +12551,12 @@ const Vl = {
12549
12551
  exportName: "Pin",
12550
12552
  sizing: "panel"
12551
12553
  },
12552
- consumers: [],
12554
+ consumers: [
12555
+ "src/app/components/pin.test.tsx",
12556
+ "src/stories/patterns-scroll.stories.tsx",
12557
+ "src/stories/pin.stories.tsx",
12558
+ "src/stories/reveal.stories.tsx"
12559
+ ],
12553
12560
  tokenMapping: {},
12554
12561
  variantAxes: [],
12555
12562
  componentProperties: [],
@@ -12598,7 +12605,10 @@ const Vl = {
12598
12605
  sizing: "panel"
12599
12606
  },
12600
12607
  consumers: [
12601
- "src/app/components/pin.tsx"
12608
+ "src/app/components/pin.tsx",
12609
+ "src/app/components/reveal.test.tsx",
12610
+ "src/stories/patterns-scroll.stories.tsx",
12611
+ "src/stories/reveal.stories.tsx"
12602
12612
  ],
12603
12613
  tokenMapping: {},
12604
12614
  variantAxes: [],