@hirobius/design-system 0.14.0 → 0.16.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 (65) hide show
  1. package/README.md +4 -4
  2. package/dist/chunks/TokenDisplayContext-B3gxyQN7.js +1 -0
  3. package/dist/chunks/form-DnGRy27o.js +1 -0
  4. package/dist/contexts.js +1 -0
  5. package/dist/form.js +1 -0
  6. package/dist/hirobius-ui.js +5884 -4425
  7. package/dist/manifest.js +8 -8
  8. package/dist/scroll.js +1 -0
  9. package/dist/styles.css +1 -1
  10. package/dist/tokens.css +1 -1
  11. package/dist/tokens.js +40 -22
  12. package/dist/types/src/app/components/alert.d.ts +1 -1
  13. package/dist/types/src/app/components/asset-img.d.ts +1 -1
  14. package/dist/types/src/app/components/bleed.d.ts +1 -1
  15. package/dist/types/src/app/components/card.d.ts +3 -3
  16. package/dist/types/src/app/components/center.d.ts +1 -1
  17. package/dist/types/src/app/components/checkbox.d.ts +1 -2
  18. package/dist/types/src/app/components/cinematic-link.d.ts +8 -3
  19. package/dist/types/src/app/components/cluster.d.ts +1 -1
  20. package/dist/types/src/app/components/code-block.d.ts +1 -1
  21. package/dist/types/src/app/components/component-instance-matrix.d.ts +7 -1
  22. package/dist/types/src/app/components/container.d.ts +1 -1
  23. package/dist/types/src/app/components/cover.d.ts +1 -1
  24. package/dist/types/src/app/components/disclosure.d.ts +1 -1
  25. package/dist/types/src/app/components/doc-link-card.d.ts +1 -1
  26. package/dist/types/src/app/components/error-boundary.d.ts +1 -1
  27. package/dist/types/src/app/components/error-pattern.d.ts +1 -2
  28. package/dist/types/src/app/components/foundation-swatch.d.ts +6 -0
  29. package/dist/types/src/app/components/frame.d.ts +1 -1
  30. package/dist/types/src/app/components/grid.d.ts +2 -2
  31. package/dist/types/src/app/components/heading-stack.d.ts +1 -1
  32. package/dist/types/src/app/components/icon-button.d.ts +1 -2
  33. package/dist/types/src/app/components/image-lightbox.d.ts +1 -2
  34. package/dist/types/src/app/components/inline-code.d.ts +1 -1
  35. package/dist/types/src/app/components/inline-link.d.ts +1 -2
  36. package/dist/types/src/app/components/nav-group.d.ts +1 -1
  37. package/dist/types/src/app/components/nav-item.d.ts +1 -1
  38. package/dist/types/src/app/components/page.d.ts +1 -1
  39. package/dist/types/src/app/components/pin.d.ts +1 -2
  40. package/dist/types/src/app/components/radio.d.ts +1 -2
  41. package/dist/types/src/app/components/reveal.d.ts +1 -2
  42. package/dist/types/src/app/components/segmented-control.d.ts +1 -1
  43. package/dist/types/src/app/components/select.d.ts +29 -0
  44. package/dist/types/src/app/components/sidebar.d.ts +1 -1
  45. package/dist/types/src/app/components/sketch.d.ts +6 -0
  46. package/dist/types/src/app/components/slider.d.ts +1 -2
  47. package/dist/types/src/app/components/stack.d.ts +1 -1
  48. package/dist/types/src/app/components/stepper-field.d.ts +1 -2
  49. package/dist/types/src/app/components/surface.d.ts +1 -1
  50. package/dist/types/src/app/components/switcher.d.ts +1 -1
  51. package/dist/types/src/app/components/toggle.d.ts +1 -2
  52. package/dist/types/src/app/components/token.d.ts +8 -2
  53. package/dist/types/src/app/design-system/generated-token-refs.d.ts +3 -6
  54. package/dist/types/src/app/design-system/generated-token-values.d.ts +2 -6
  55. package/dist/types/src/app/design-system/tokens.d.ts +0 -5
  56. package/dist/types/src/app/layouts/CaseStudyLayout.d.ts +2 -3
  57. package/dist/types/src/app/layouts/DocLayout.d.ts +0 -2
  58. package/dist/types/src/app/layouts/HdsDocsShell.d.ts +72 -0
  59. package/dist/types/src/app/layouts/HdsSystemDocLayout.d.ts +8 -1
  60. package/dist/types/src/index.d.ts +23 -31
  61. package/dist/variables.css +58 -6
  62. package/hirobius.tokens.json +21 -31
  63. package/package.json +34 -22
  64. package/public/hds-manifest.json +1466 -179
  65. /package/dist/types/src/app/components/{lab/tokenUtils.d.ts → tokenUtils.d.ts} +0 -0
package/README.md CHANGED
@@ -12,9 +12,9 @@ A publishable React + TypeScript component library backed by a governed design-t
12
12
 
13
13
  <!-- auto:start:front-door-counts -->
14
14
 
15
- - **108** public component modules, exported from `src/index.ts`
16
- - **362** DTCG tokens in `hirobius.tokens.json`, compiled to CSS variables and TypeScript constants
17
- - **447** Storybook stories in **113** story files, reviewed visually in Chromatic
15
+ - **109** public component modules, exported from `src/index.ts`
16
+ - **359** DTCG tokens in `hirobius.tokens.json`, compiled to CSS variables and TypeScript constants
17
+ - **454** Storybook stories in **115** story files, reviewed visually in Chromatic
18
18
 
19
19
  <!-- auto:end:front-door-counts -->
20
20
 
@@ -153,7 +153,7 @@ Source-of-truth files:
153
153
 
154
154
  Each component has one Figma source: `figmaUrl` in `public/hds-manifest.json`, which `pnpm manifest:generate` sets from the `@figma` tag in the component JSDoc. `pnpm figma:links` keeps this table current and Storybook reads the same field (`parameters.design`). The Figma-side links (dev resources and component descriptions) exist only once someone runs their steps in [`figma/README.md`](figma/README.md).
155
155
 
156
- **44 of 139** components link a Figma node.
156
+ **44 of 140** components link a Figma node.
157
157
 
158
158
  | Component | Figma node | Story | Source |
159
159
  | ------------------ | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- | ----------------------------------------------------------------- |
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsx as r } from "react/jsx-runtime";
2
3
  import { useContext as i, createContext as a, forwardRef as w, useState as l, useEffect as L, useCallback as c } from "react";
3
4
  const d = a(null);
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsx as m, jsxs as u } from "react/jsx-runtime";
2
3
  import * as s from "react";
3
4
  import { cn as p } from "../cn.js";
package/dist/contexts.js CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { jsx as l, Fragment as I } from "react/jsx-runtime";
2
3
  import { useState as i, useCallback as a, useEffect as s, useContext as E, createContext as S } from "react";
3
4
  import { F as j, H as q, L as N, T as V, b as J, u as Q, a as U, c as W } from "./chunks/TokenDisplayContext-B3gxyQN7.js";
package/dist/form.js CHANGED
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { useForm as f, FormProvider as h, useController as v } from "react-hook-form";
2
3
  import { zodResolver as b } from "@hookform/resolvers/zod";
3
4
  import { jsx as t } from "react/jsx-runtime";