@hirobius/design-system 0.22.0 → 0.23.1

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 (67) hide show
  1. package/AGENTS.md +11 -1
  2. package/CHANGELOG.md +101 -0
  3. package/CONSUMING.md +3 -3
  4. package/DESIGN.md +26 -26
  5. package/NOTICE.md +4 -4
  6. package/README.md +23 -14
  7. package/UPGRADING.md +35 -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/ibm-plex-mono-LICENSE.txt +93 -0
  13. package/dist/fonts/plus-jakarta-sans-400.woff2 +0 -0
  14. package/dist/fonts/plus-jakarta-sans-500.woff2 +0 -0
  15. package/dist/fonts/plus-jakarta-sans-700.woff2 +0 -0
  16. package/dist/fonts/plus-jakarta-sans-LICENSE.txt +22 -0
  17. package/dist/fonts.css +19 -19
  18. package/dist/form.js +1 -1
  19. package/dist/hirobius-ui.js +1263 -1190
  20. package/dist/manifest.js +5 -4
  21. package/dist/patterns.js +164 -162
  22. package/dist/styles.css +1 -1
  23. package/dist/tokens.css +1 -1
  24. package/dist/tokens.js +16 -3
  25. package/dist/types/src/app/components/asset-img.d.ts +1 -0
  26. package/dist/types/src/app/components/button.d.ts +1 -1
  27. package/dist/types/src/app/components/callout.d.ts +2 -1
  28. package/dist/types/src/app/components/card.d.ts +5 -3
  29. package/dist/types/src/app/components/code-block.d.ts +1 -0
  30. package/dist/types/src/app/components/combobox.d.ts +1 -1
  31. package/dist/types/src/app/components/data-table-section.d.ts +1 -0
  32. package/dist/types/src/app/components/destructive-section.d.ts +1 -0
  33. package/dist/types/src/app/components/divider.d.ts +1 -1
  34. package/dist/types/src/app/components/error-pattern.d.ts +1 -0
  35. package/dist/types/src/app/components/form-actions.d.ts +1 -0
  36. package/dist/types/src/app/components/form.d.ts +1 -0
  37. package/dist/types/src/app/components/grid.d.ts +1 -1
  38. package/dist/types/src/app/components/icon.d.ts +1 -1
  39. package/dist/types/src/app/components/metric-tiles.d.ts +3 -0
  40. package/dist/types/src/app/components/page-header.d.ts +2 -0
  41. package/dist/types/src/app/components/page.d.ts +1 -0
  42. package/dist/types/src/app/components/reveal.d.ts +1 -0
  43. package/dist/types/src/app/components/stack.d.ts +1 -1
  44. package/dist/types/src/app/components/tabs.d.ts +3 -1
  45. package/dist/types/src/app/context/hds-theme.d.ts +1 -1
  46. package/dist/types/src/app/design-system/generated-token-refs.d.ts +13 -0
  47. package/dist/types/src/app/design-system/generated-token-values.d.ts +16 -3
  48. package/dist/types/src/app/hooks/useInteractionState.d.ts +7 -1
  49. package/dist/types/src/index.d.ts +47 -0
  50. package/dist/variables.css +35 -24
  51. package/docs/CONSUMING.md +5 -5
  52. package/hirobius.tokens.json +91 -44
  53. package/llms.txt +29 -7
  54. package/package.json +12 -7
  55. package/public/hds-manifest.json +277 -119
  56. package/public/llms/components.txt +1 -1
  57. package/public/llms-full.txt +56 -34
  58. package/public/llms.txt +29 -7
  59. package/src/app/data/component-api.json +53 -18
  60. package/upgrade/index.json +15 -1
  61. package/upgrade/releases/0.23.0.json +259 -0
  62. package/upgrade/releases/0.23.1.json +108 -0
  63. package/upgrade/schema.json +114 -1
  64. package/dist/fonts/geist-mono-400.woff2 +0 -0
  65. package/dist/fonts/satoshi-400.woff2 +0 -0
  66. package/dist/fonts/satoshi-500.woff2 +0 -0
  67. package/dist/fonts/satoshi-700.woff2 +0 -0
@@ -0,0 +1,93 @@
1
+ Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-ThinItalic.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-ExtraLight.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-ExtraLightItalic.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-Light.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-LightItalic.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-Regular.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-Italic.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-Medium.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-MediumItalic.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-SemiBold.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-SemiBoldItalic.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-Bold.ttf: Copyright 2017 IBM Corp. All rights reserved. IBMPlexMono-BoldItalic.ttf: Copyright 2017 IBM Corp. All rights reserved.
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ http://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
@@ -0,0 +1,22 @@
1
+ This font is licensed under SIL Open Font License (OFL), Version 1.1.
2
+
3
+ Copyright © 2026 Tokotype
4
+ https://github.com/tokotype/PlusJakartaSans
5
+
6
+ -----------------------------------------------------------SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
7
+ -----------------------------------------------------------
8
+ PREAMBLEThe goals of the Open Font License (OFL) are to stimulate worldwidedevelopment of collaborative font projects, to support the font creationefforts of academic and linguistic communities, and to provide a free andopen framework in which fonts may be shared and improved in partnershipwith others.
9
+ The OFL allows the licensed fonts to be used, studied, modified andredistributed freely as long as they are not sold by themselves. Thefonts, including any derivative works, can be bundled, embedded,redistributed and/or sold with any software provided that any reservednames are not used by derivative works. The fonts and derivatives,however, cannot be released under any other type of license. Therequirement for fonts to remain under this license does not applyto any document created using the fonts or their derivatives.
10
+ DEFINITIONS"Font Software" refers to the set of files released by the CopyrightHolder(s) under this license and clearly marked as such. This mayinclude source files, build scripts and documentation.
11
+ "Reserved Font Name" refers to any names specified as such after thecopyright statement(s).
12
+ "Original Version" refers to the collection of Font Software components asdistributed by the Copyright Holder(s).
13
+ "Modified Version" refers to any derivative made by adding to, deleting,or substituting -- in part or in whole -- any of the components of theOriginal Version, by changing formats or by porting the Font Software to anew environment.
14
+ "Author" refers to any designer, engineer, programmer, technicalwriter or other person who contributed to the Font Software.
15
+ PERMISSION & CONDITIONSPermission is hereby granted, free of charge, to any person obtaininga copy of the Font Software, to use, study, copy, merge, embed, modify,redistribute, and sell modified and unmodified copies of the FontSoftware, subject to the following conditions:
16
+ 1) Neither the Font Software nor any of its individual components,in Original or Modified Versions, may be sold by itself.
17
+ 2) Original or Modified Versions of the Font Software may be bundled,redistributed and/or sold with any software, provided that each copycontains the above copyright notice and this license. These can beincluded either as stand-alone text files, human-readable headers orin the appropriate machine-readable metadata fields within text orbinary files as long as those fields can be easily viewed by the user.
18
+ 3) No Modified Version of the Font Software may use the Reserved FontName(s) unless explicit written permission is granted by the correspondingCopyright Holder. This restriction only applies to the primary font name aspresented to the users.
19
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the FontSoftware shall not be used to promote, endorse or advertise anyModified Version, except to acknowledge the contribution(s) of theCopyright Holder(s) and the Author(s) or with their explicit writtenpermission.
20
+ 5) The Font Software, modified or unmodified, in part or in whole,must be distributed entirely under this license, and must not bedistributed under any other license. The requirement for fonts toremain under this license does not apply to any document createdusing the Font Software.
21
+ TERMINATIONThis license becomes null and void if any of the above conditions arenot met.
22
+ DISCLAIMERTHE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OFMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENTOF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THECOPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIALDAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISINGFROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROMOTHER DEALINGS IN THE FONT SOFTWARE.
package/dist/fonts.css CHANGED
@@ -1,52 +1,52 @@
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
1
+ /* @hirobius/design-system/fonts.css — OPTIONAL brand fonts: Plus Jakarta Sans 400/500/700
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. */
6
6
  /* Hirobius Design System — font-face declarations.
7
7
  *
8
8
  * Faces (type ramp, Adrian 2026-10-07, hds#483):
9
- * - Satoshi 400 — body
10
- * - Satoshi 500 — ui, caption
11
- * - Satoshi 700 — display, title
12
- * - Geist Mono 400 — mono
9
+ * - Plus Jakarta Sans 400 — body
10
+ * - Plus Jakarta Sans 500 — ui, caption
11
+ * - Plus Jakarta Sans 700 — display, title
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.
16
16
  */
17
17
 
18
- /* Satoshi — Indian Type Foundry, ITF Free Font License via Fontshare. */
19
- /* Satoshi Regular — body (400), hds#483 type ramp. */
18
+ /* Plus Jakarta Sans — Tokotype, SIL Open Font License 1.1 (LICENSE.txt alongside). */
19
+ /* Plus Jakarta Sans Regular — body (400), hds#483 type ramp. */
20
20
  @font-face {
21
- font-family: 'Satoshi';
22
- src: url('./fonts/satoshi-400.woff2') format('woff2');
21
+ font-family: 'Plus Jakarta Sans';
22
+ src: url('./fonts/plus-jakarta-sans-400.woff2') format('woff2');
23
23
  font-weight: 400;
24
24
  font-style: normal;
25
25
  font-display: swap;
26
26
  }
27
27
 
28
- /* Satoshi Medium — ui and caption (500). */
28
+ /* Plus Jakarta Sans Medium — ui and caption (500). */
29
29
  @font-face {
30
- font-family: 'Satoshi';
31
- src: url('./fonts/satoshi-500.woff2') format('woff2');
30
+ font-family: 'Plus Jakarta Sans';
31
+ src: url('./fonts/plus-jakarta-sans-500.woff2') format('woff2');
32
32
  font-weight: 500;
33
33
  font-style: normal;
34
34
  font-display: swap;
35
35
  }
36
36
 
37
- /* Satoshi Bold — display/heading weight (700), replaces Clash Display (#48). */
37
+ /* Plus Jakarta Sans Bold — display/heading weight (700), replaces Clash Display (#48). */
38
38
  @font-face {
39
- font-family: 'Satoshi';
40
- src: url('./fonts/satoshi-700.woff2') format('woff2');
39
+ font-family: 'Plus Jakarta Sans';
40
+ src: url('./fonts/plus-jakarta-sans-700.woff2') format('woff2');
41
41
  font-weight: 700;
42
42
  font-style: normal;
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",