@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.
- package/README.md +4 -4
- package/dist/chunks/TokenDisplayContext-B3gxyQN7.js +1 -0
- package/dist/chunks/form-DnGRy27o.js +1 -0
- package/dist/contexts.js +1 -0
- package/dist/form.js +1 -0
- package/dist/hirobius-ui.js +5884 -4425
- package/dist/manifest.js +8 -8
- package/dist/scroll.js +1 -0
- package/dist/styles.css +1 -1
- package/dist/tokens.css +1 -1
- package/dist/tokens.js +40 -22
- package/dist/types/src/app/components/alert.d.ts +1 -1
- package/dist/types/src/app/components/asset-img.d.ts +1 -1
- package/dist/types/src/app/components/bleed.d.ts +1 -1
- package/dist/types/src/app/components/card.d.ts +3 -3
- package/dist/types/src/app/components/center.d.ts +1 -1
- package/dist/types/src/app/components/checkbox.d.ts +1 -2
- package/dist/types/src/app/components/cinematic-link.d.ts +8 -3
- package/dist/types/src/app/components/cluster.d.ts +1 -1
- package/dist/types/src/app/components/code-block.d.ts +1 -1
- package/dist/types/src/app/components/component-instance-matrix.d.ts +7 -1
- package/dist/types/src/app/components/container.d.ts +1 -1
- package/dist/types/src/app/components/cover.d.ts +1 -1
- package/dist/types/src/app/components/disclosure.d.ts +1 -1
- package/dist/types/src/app/components/doc-link-card.d.ts +1 -1
- package/dist/types/src/app/components/error-boundary.d.ts +1 -1
- package/dist/types/src/app/components/error-pattern.d.ts +1 -2
- package/dist/types/src/app/components/foundation-swatch.d.ts +6 -0
- package/dist/types/src/app/components/frame.d.ts +1 -1
- package/dist/types/src/app/components/grid.d.ts +2 -2
- package/dist/types/src/app/components/heading-stack.d.ts +1 -1
- package/dist/types/src/app/components/icon-button.d.ts +1 -2
- package/dist/types/src/app/components/image-lightbox.d.ts +1 -2
- package/dist/types/src/app/components/inline-code.d.ts +1 -1
- package/dist/types/src/app/components/inline-link.d.ts +1 -2
- package/dist/types/src/app/components/nav-group.d.ts +1 -1
- package/dist/types/src/app/components/nav-item.d.ts +1 -1
- package/dist/types/src/app/components/page.d.ts +1 -1
- package/dist/types/src/app/components/pin.d.ts +1 -2
- package/dist/types/src/app/components/radio.d.ts +1 -2
- package/dist/types/src/app/components/reveal.d.ts +1 -2
- package/dist/types/src/app/components/segmented-control.d.ts +1 -1
- package/dist/types/src/app/components/select.d.ts +29 -0
- package/dist/types/src/app/components/sidebar.d.ts +1 -1
- package/dist/types/src/app/components/sketch.d.ts +6 -0
- package/dist/types/src/app/components/slider.d.ts +1 -2
- package/dist/types/src/app/components/stack.d.ts +1 -1
- package/dist/types/src/app/components/stepper-field.d.ts +1 -2
- package/dist/types/src/app/components/surface.d.ts +1 -1
- package/dist/types/src/app/components/switcher.d.ts +1 -1
- package/dist/types/src/app/components/toggle.d.ts +1 -2
- package/dist/types/src/app/components/token.d.ts +8 -2
- package/dist/types/src/app/design-system/generated-token-refs.d.ts +3 -6
- package/dist/types/src/app/design-system/generated-token-values.d.ts +2 -6
- package/dist/types/src/app/design-system/tokens.d.ts +0 -5
- package/dist/types/src/app/layouts/CaseStudyLayout.d.ts +2 -3
- package/dist/types/src/app/layouts/DocLayout.d.ts +0 -2
- package/dist/types/src/app/layouts/HdsDocsShell.d.ts +72 -0
- package/dist/types/src/app/layouts/HdsSystemDocLayout.d.ts +8 -1
- package/dist/types/src/index.d.ts +23 -31
- package/dist/variables.css +58 -6
- package/hirobius.tokens.json +21 -31
- package/package.json +34 -22
- package/public/hds-manifest.json +1466 -179
- /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
|
-
- **
|
|
16
|
-
- **
|
|
17
|
-
- **
|
|
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
|
|
156
|
+
**44 of 140** components link a Figma node.
|
|
157
157
|
|
|
158
158
|
| Component | Figma node | Story | Source |
|
|
159
159
|
| ------------------ | -------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- | ----------------------------------------------------------------- |
|
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