@hirobius/design-system 0.22.0 → 0.23.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.
Files changed (57) hide show
  1. package/AGENTS.md +11 -1
  2. package/CHANGELOG.md +74 -0
  3. package/CONSUMING.md +2 -2
  4. package/DESIGN.md +24 -24
  5. package/NOTICE.md +1 -1
  6. package/README.md +20 -12
  7. package/UPGRADING.md +22 -1
  8. package/dist/chunks/{empty-state-DNoThgfV.js → empty-state-ChC_xZfg.js} +109 -92
  9. package/dist/chunks/{form-By82qZcC.js → form-zCZ_B83I.js} +16 -16
  10. package/dist/css-contract.json +1 -0
  11. package/dist/fonts/ibm-plex-mono-400.woff2 +0 -0
  12. package/dist/fonts.css +5 -5
  13. package/dist/form.js +1 -1
  14. package/dist/hirobius-ui.js +1254 -1181
  15. package/dist/manifest.js +5 -4
  16. package/dist/patterns.js +164 -162
  17. package/dist/styles.css +1 -1
  18. package/dist/tokens.css +1 -1
  19. package/dist/tokens.js +14 -1
  20. package/dist/types/src/app/components/asset-img.d.ts +1 -0
  21. package/dist/types/src/app/components/button.d.ts +1 -1
  22. package/dist/types/src/app/components/callout.d.ts +2 -1
  23. package/dist/types/src/app/components/card.d.ts +5 -3
  24. package/dist/types/src/app/components/code-block.d.ts +1 -0
  25. package/dist/types/src/app/components/combobox.d.ts +1 -1
  26. package/dist/types/src/app/components/data-table-section.d.ts +1 -0
  27. package/dist/types/src/app/components/destructive-section.d.ts +1 -0
  28. package/dist/types/src/app/components/divider.d.ts +1 -1
  29. package/dist/types/src/app/components/form-actions.d.ts +1 -0
  30. package/dist/types/src/app/components/form.d.ts +1 -0
  31. package/dist/types/src/app/components/grid.d.ts +1 -1
  32. package/dist/types/src/app/components/icon.d.ts +1 -1
  33. package/dist/types/src/app/components/metric-tiles.d.ts +2 -0
  34. package/dist/types/src/app/components/page-header.d.ts +1 -0
  35. package/dist/types/src/app/components/page.d.ts +1 -0
  36. package/dist/types/src/app/components/reveal.d.ts +1 -0
  37. package/dist/types/src/app/components/stack.d.ts +1 -1
  38. package/dist/types/src/app/components/tabs.d.ts +3 -1
  39. package/dist/types/src/app/context/hds-theme.d.ts +1 -1
  40. package/dist/types/src/app/design-system/generated-token-refs.d.ts +13 -0
  41. package/dist/types/src/app/design-system/generated-token-values.d.ts +14 -1
  42. package/dist/types/src/app/hooks/useInteractionState.d.ts +7 -1
  43. package/dist/types/src/index.d.ts +47 -0
  44. package/dist/variables.css +33 -22
  45. package/docs/CONSUMING.md +2 -2
  46. package/hirobius.tokens.json +87 -40
  47. package/llms.txt +29 -7
  48. package/package.json +7 -6
  49. package/public/hds-manifest.json +257 -99
  50. package/public/llms/components.txt +1 -1
  51. package/public/llms-full.txt +54 -32
  52. package/public/llms.txt +29 -7
  53. package/src/app/data/component-api.json +51 -18
  54. package/upgrade/index.json +8 -1
  55. package/upgrade/releases/0.23.0.json +259 -0
  56. package/upgrade/schema.json +114 -1
  57. package/dist/fonts/geist-mono-400.woff2 +0 -0
package/dist/fonts.css CHANGED
@@ -1,5 +1,5 @@
1
1
  /* @hirobius/design-system/fonts.css — OPTIONAL brand fonts: Satoshi 400/500/700
2
- * and Geist Mono 400. tokens.css and styles.css do not include them. Import this
2
+ * and IBM Plex Mono 400. tokens.css and styles.css do not include them. Import this
3
3
  * once at the app root for the HDS faces, or skip it and load your own; the
4
4
  * font-family variables in tokens.css fall back to the family stack either way.
5
5
  * The woff2 URLs are relative to this file so your bundler resolves and hashes them. */
@@ -9,7 +9,7 @@
9
9
  * - Satoshi 400 — body
10
10
  * - Satoshi 500 — ui, caption
11
11
  * - Satoshi 700 — display, title
12
- * - Geist Mono 400 — mono
12
+ * - IBM Plex Mono 400 — mono
13
13
  *
14
14
  * Audit gate: scripts/audit-typography-overrides.mjs fails on inline
15
15
  * fontWeight / textTransform outside the sketches lab and a small allowlist.
@@ -43,10 +43,10 @@
43
43
  font-display: swap;
44
44
  }
45
45
 
46
- /* Geist Mono — Vercel, OFL-1.1. */
46
+ /* IBM Plex Mono — IBM, OFL-1.1. */
47
47
  @font-face {
48
- font-family: 'Geist Mono'; /* impeccable-disable-line overused-font -- deliberate brand choice (Adrian directive 2026-05-04, see file header) */
49
- src: url('./fonts/geist-mono-400.woff2') format('woff2');
48
+ font-family: 'IBM Plex Mono';
49
+ src: url('./fonts/ibm-plex-mono-400.woff2') format('woff2');
50
50
  font-weight: 400;
51
51
  font-style: normal;
52
52
  font-display: swap;
package/dist/form.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import { useForm as f, FormProvider as h, useController as v } from "react-hook-form";
3
3
  import { zodResolver as b } from "@hookform/resolvers/zod";
4
4
  import { jsx as t } from "react/jsx-runtime";
5
- import { F as p, u as g, a as S } from "./chunks/form-By82qZcC.js";
5
+ import { F as p, u as g, a as S } from "./chunks/form-zCZ_B83I.js";
6
6
  function y(r, e) {
7
7
  return f({
8
8
  mode: "onTouched",