@hirobius/design-system 0.16.0 → 0.17.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 +25 -69
- package/dist/chunks/LanguageContext-CH_bwzCq.js +83 -0
- package/dist/chunks/TokenDisplayContext-evZi_214.js +18 -0
- package/dist/chunks/activity-feed-C8_e-Btq.js +19955 -0
- package/dist/contexts.js +17 -16
- package/dist/hirobius-ui.js +3652 -23311
- package/dist/manifest.js +5 -5
- package/dist/patterns.js +423 -0
- package/dist/static.css +4 -4
- package/dist/styles.css +1 -1
- package/dist/tokens.css +1 -1
- package/dist/tokens.js +34 -13
- package/dist/types/src/app/components/activity-feed.d.ts +6 -4
- package/dist/types/src/app/components/app-shell.d.ts +6 -4
- package/dist/types/src/app/components/asset-img.d.ts +3 -1
- package/dist/types/src/app/components/avatar-group.d.ts +3 -3
- package/dist/types/src/app/components/avatar.d.ts +3 -3
- package/dist/types/src/app/components/badge.d.ts +3 -3
- package/dist/types/src/app/components/blockquote.d.ts +3 -3
- package/dist/types/src/app/components/breadcrumb.d.ts +3 -3
- package/dist/types/src/app/components/button-group.d.ts +3 -3
- package/dist/types/src/app/components/button.d.ts +6 -6
- package/dist/types/src/app/components/calendar.d.ts +3 -1
- package/dist/types/src/app/components/callout.d.ts +4 -4
- package/dist/types/src/app/components/card.d.ts +5 -5
- package/dist/types/src/app/components/carousel.d.ts +6 -4
- package/dist/types/src/app/components/checkbox.d.ts +3 -3
- package/dist/types/src/app/components/circular-progress.d.ts +3 -3
- package/dist/types/src/app/components/code-block.d.ts +20 -18
- package/dist/types/src/app/components/command-palette.d.ts +9 -9
- package/dist/types/src/app/components/component-instance-matrix.d.ts +1 -1
- package/dist/types/src/app/components/disclosure.d.ts +3 -3
- package/dist/types/src/app/components/divider.d.ts +4 -4
- package/dist/types/src/app/components/doc-link-card.d.ts +6 -4
- package/dist/types/src/app/components/error-pattern.d.ts +3 -1
- package/dist/types/src/app/components/field.d.ts +4 -4
- package/dist/types/src/app/components/file-input.d.ts +7 -5
- package/dist/types/src/app/components/hds-tooltip.d.ts +11 -11
- package/dist/types/src/app/components/heading-stack.d.ts +6 -6
- package/dist/types/src/app/components/hover-card.d.ts +1 -1
- package/dist/types/src/app/components/image-lightbox.d.ts +2 -0
- package/dist/types/src/app/components/inline-code.d.ts +3 -3
- package/dist/types/src/app/components/input-group.d.ts +3 -3
- package/dist/types/src/app/components/input.d.ts +5 -5
- package/dist/types/src/app/components/kbd.d.ts +3 -3
- package/dist/types/src/app/components/metadata-list.d.ts +3 -3
- package/dist/types/src/app/components/nav-group.d.ts +3 -3
- package/dist/types/src/app/components/nav-item.d.ts +10 -8
- package/dist/types/src/app/components/overflow-list.d.ts +3 -1
- package/dist/types/src/app/components/page.d.ts +3 -1
- package/dist/types/src/app/components/progress.d.ts +3 -3
- package/dist/types/src/app/components/radio.d.ts +3 -3
- package/dist/types/src/app/components/reveal.d.ts +3 -1
- package/dist/types/src/app/components/segmented-control.d.ts +31 -31
- package/dist/types/src/app/components/select.d.ts +3 -3
- package/dist/types/src/app/components/selectable-card.d.ts +3 -3
- package/dist/types/src/app/components/side-nav.d.ts +6 -4
- package/dist/types/src/app/components/skeleton.d.ts +3 -3
- package/dist/types/src/app/components/slider.d.ts +3 -3
- package/dist/types/src/app/components/spinner.d.ts +3 -3
- package/dist/types/src/app/components/stacked-card-rail.d.ts +32 -0
- package/dist/types/src/app/components/stat.d.ts +3 -3
- package/dist/types/src/app/components/status-dot.d.ts +4 -4
- package/dist/types/src/app/components/status-list-item.d.ts +3 -3
- package/dist/types/src/app/components/stepper.d.ts +6 -4
- package/dist/types/src/app/components/surface.d.ts +4 -4
- package/dist/types/src/app/components/table.d.ts +22 -11
- package/dist/types/src/app/components/tag.d.ts +4 -4
- package/dist/types/src/app/components/text.d.ts +3 -3
- package/dist/types/src/app/components/textarea.d.ts +4 -4
- package/dist/types/src/app/components/time-input.d.ts +3 -3
- package/dist/types/src/app/components/toast.d.ts +3 -3
- package/dist/types/src/app/components/toggle-button.d.ts +4 -4
- package/dist/types/src/app/components/toggle.d.ts +3 -3
- package/dist/types/src/app/components/token.d.ts +16 -16
- package/dist/types/src/app/components/toolbar.d.ts +1 -1
- package/dist/types/src/app/components/tooltip.d.ts +2 -2
- package/dist/types/src/app/components/top-nav.d.ts +3 -1
- package/dist/types/src/app/components/tree-list.d.ts +3 -1
- package/dist/types/src/app/design-system/generated-token-refs.d.ts +36 -0
- package/dist/types/src/app/design-system/generated-token-values.d.ts +10 -10
- package/dist/types/src/app/design-system/tokens.d.ts +16 -0
- package/dist/types/src/index.d.ts +193 -8
- package/dist/types/src/patterns.d.ts +37 -0
- package/dist/variables.css +42 -22
- package/hirobius.tokens.json +178 -57
- package/package.json +12 -9
- package/public/hds-manifest.json +473 -445
- package/dist/chunks/TokenDisplayContext-B3gxyQN7.js +0 -96
package/package.json
CHANGED
|
@@ -17,9 +17,10 @@
|
|
|
17
17
|
"type": "git",
|
|
18
18
|
"url": "git+https://github.com/hirobius/hds.git"
|
|
19
19
|
},
|
|
20
|
+
"author": "Adrian Milsap",
|
|
20
21
|
"license": "SEE LICENSE IN NOTICE.md",
|
|
21
22
|
"private": false,
|
|
22
|
-
"version": "0.
|
|
23
|
+
"version": "0.17.0",
|
|
23
24
|
"engines": {
|
|
24
25
|
"node": ">=20",
|
|
25
26
|
"pnpm": ">=8"
|
|
@@ -85,6 +86,11 @@
|
|
|
85
86
|
"import": "./dist/scroll.js",
|
|
86
87
|
"default": "./dist/scroll.js"
|
|
87
88
|
},
|
|
89
|
+
"./patterns": {
|
|
90
|
+
"types": "./dist/types/src/patterns.d.ts",
|
|
91
|
+
"import": "./dist/patterns.js",
|
|
92
|
+
"default": "./dist/patterns.js"
|
|
93
|
+
},
|
|
88
94
|
"./package.json": "./package.json"
|
|
89
95
|
},
|
|
90
96
|
"files": [
|
|
@@ -166,6 +172,7 @@
|
|
|
166
172
|
"@tailwindcss/vite": "^4.2.4",
|
|
167
173
|
"@testing-library/dom": "^10.4.0",
|
|
168
174
|
"@testing-library/react": "^16.1.0",
|
|
175
|
+
"@testing-library/user-event": "^14.6.7",
|
|
169
176
|
"@types/react": "^18.3.0",
|
|
170
177
|
"@types/react-dom": "^18.3.0",
|
|
171
178
|
"@types/three": "^0.183.1",
|
|
@@ -291,9 +298,11 @@
|
|
|
291
298
|
"check:secrets": "node scripts/check-secrets.mjs",
|
|
292
299
|
"check:security": "node scripts/check-security-baseline.mjs",
|
|
293
300
|
"check:semantic-report": "node scripts/audit-tokens.mjs --report-only",
|
|
294
|
-
"check:size": "pnpm build:lib && size-limit",
|
|
301
|
+
"check:size": "pnpm build:lib && node scripts/build-button-probe.mjs && size-limit",
|
|
295
302
|
"check:spacing": "node scripts/check-hardcoded-spacing.mjs",
|
|
303
|
+
"check:spacing-vocabulary": "node scripts/check-spacing-vocabulary.mjs",
|
|
296
304
|
"check:story-coverage": "node scripts/check-story-coverage.mjs",
|
|
305
|
+
"check:storybook-axe": "node scripts/check-storybook-axe.mjs",
|
|
297
306
|
"check:style-props": "node scripts/check-style-discipline.mjs --style-props-only",
|
|
298
307
|
"check:sync-map": "node scripts/check-sync-map.mjs",
|
|
299
308
|
"check:status-claims": "node scripts/check-status-claims.mjs --check",
|
|
@@ -346,7 +355,7 @@
|
|
|
346
355
|
"prebuild-storybook": "node scripts/generate-component-api.mjs",
|
|
347
356
|
"prebuild:lib": "node scripts/generate-component-api.mjs",
|
|
348
357
|
"prestorybook": "node scripts/generate-component-api.mjs",
|
|
349
|
-
"pretest": "node scripts/validate-manifest.mjs && node scripts/check-manifest-drift.mjs && node scripts/check-manifest-schema-semver.mjs && node scripts/audit-component-integrity.mjs --completeness && node scripts/check-source-canon.mjs && node scripts/check-binding-drift.mjs && node scripts/check-registry.mjs && node scripts/check-tenant-tokens.mjs && node scripts/check-props-exports.mjs && knip --no-exit-code && node scripts/check-dark-alias-flip.mjs && node scripts/generate-staging-inventory.mjs --check",
|
|
358
|
+
"pretest": "node scripts/validate-manifest.mjs && node scripts/check-manifest-drift.mjs && node scripts/check-manifest-schema-semver.mjs && node scripts/audit-component-integrity.mjs --completeness && node scripts/check-source-canon.mjs && node scripts/check-binding-drift.mjs && node scripts/check-registry.mjs && node scripts/check-tenant-tokens.mjs && node scripts/check-props-exports.mjs && knip --no-exit-code && node scripts/check-dark-alias-flip.mjs && node scripts/check-focus-states.mjs && node scripts/generate-staging-inventory.mjs --check",
|
|
350
359
|
"pretypecheck": "node scripts/audit-tokens.mjs --report-only",
|
|
351
360
|
"preview:build": "vite build --config preview/vite.config.mjs",
|
|
352
361
|
"promote": "node scripts/promote.mjs",
|
|
@@ -362,16 +371,10 @@
|
|
|
362
371
|
"sync-map": "node scripts/check-sync-map.mjs --gaps",
|
|
363
372
|
"sync:health": "node scripts/generate-manifest.mjs && node scripts/generate-component-api.mjs && node scripts/enrich-manifest.mjs && node scripts/build-tokens.mjs && node scripts/audit-tokens.mjs --report-only && node scripts/build-design-md.mjs",
|
|
364
373
|
"test": "vitest run --passWithNoTests",
|
|
365
|
-
"test:a11y": "echo 'RETIRED (#161): the Playwright browser suite drove the docs SPA deleted in #90 — see tests-archive/README.md. Storybook is the verification surface.' && exit 1",
|
|
366
|
-
"test:collision": "echo 'RETIRED (#161): the Playwright browser suite drove the docs SPA deleted in #90 — see tests-archive/README.md. Storybook is the verification surface.' && exit 1",
|
|
367
374
|
"test:compiler": "node -e \"import('./scripts/hds-jsx-compiler.mjs').then(m => console.log(JSON.stringify(m.compile(process.argv[1]), null, 2)))\" --",
|
|
368
375
|
"test:coverage": "vitest run --coverage",
|
|
369
376
|
"test:figma": "npx tsx scripts/figma-sync.ts",
|
|
370
|
-
"test:layout": "echo 'RETIRED (#161): the Playwright browser suite drove the docs SPA deleted in #90 — see tests-archive/README.md. Storybook is the verification surface.' && exit 1",
|
|
371
377
|
"test:phase1": "node scripts/test-phase1.mjs",
|
|
372
|
-
"test:responsive": "echo 'RETIRED (#161): the Playwright browser suite drove the docs SPA deleted in #90 — see tests-archive/README.md. Storybook is the verification surface.' && exit 1",
|
|
373
|
-
"test:visual": "echo 'RETIRED (#161): the Playwright browser suite drove the docs SPA deleted in #90 — see tests-archive/README.md. Storybook is the verification surface.' && exit 1",
|
|
374
|
-
"test:visual:update": "echo 'RETIRED (#161): the Playwright browser suite drove the docs SPA deleted in #90 — see tests-archive/README.md. Storybook is the verification surface.' && exit 1",
|
|
375
378
|
"test:watch": "vitest",
|
|
376
379
|
"tokens": "node scripts/generate-manifest.mjs && node scripts/generate-component-api.mjs && node scripts/enrich-manifest.mjs && node scripts/build-tokens.mjs && node scripts/audit-tokens.mjs --forbidden && node scripts/check-typography-discipline.mjs --overrides-only && node scripts/build-handoff.mjs && node scripts/build-design-md.mjs && node scripts/generate-llms-txt.mjs && node scripts/build-readme-counts.mjs",
|
|
377
380
|
"tokens:audit": "node scripts/audit-component-integrity.mjs --tokens",
|