@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.
- package/AGENTS.md +11 -1
- package/CHANGELOG.md +101 -0
- package/CONSUMING.md +3 -3
- package/DESIGN.md +26 -26
- package/NOTICE.md +4 -4
- package/README.md +23 -14
- package/UPGRADING.md +35 -1
- package/dist/chunks/{empty-state-DNoThgfV.js → empty-state-ChC_xZfg.js} +109 -92
- package/dist/chunks/{form-By82qZcC.js → form-zCZ_B83I.js} +16 -16
- package/dist/css-contract.json +1 -0
- package/dist/fonts/ibm-plex-mono-400.woff2 +0 -0
- package/dist/fonts/ibm-plex-mono-LICENSE.txt +93 -0
- package/dist/fonts/plus-jakarta-sans-400.woff2 +0 -0
- package/dist/fonts/plus-jakarta-sans-500.woff2 +0 -0
- package/dist/fonts/plus-jakarta-sans-700.woff2 +0 -0
- package/dist/fonts/plus-jakarta-sans-LICENSE.txt +22 -0
- package/dist/fonts.css +19 -19
- package/dist/form.js +1 -1
- package/dist/hirobius-ui.js +1263 -1190
- package/dist/manifest.js +5 -4
- package/dist/patterns.js +164 -162
- package/dist/styles.css +1 -1
- package/dist/tokens.css +1 -1
- package/dist/tokens.js +16 -3
- package/dist/types/src/app/components/asset-img.d.ts +1 -0
- package/dist/types/src/app/components/button.d.ts +1 -1
- package/dist/types/src/app/components/callout.d.ts +2 -1
- package/dist/types/src/app/components/card.d.ts +5 -3
- package/dist/types/src/app/components/code-block.d.ts +1 -0
- package/dist/types/src/app/components/combobox.d.ts +1 -1
- package/dist/types/src/app/components/data-table-section.d.ts +1 -0
- package/dist/types/src/app/components/destructive-section.d.ts +1 -0
- package/dist/types/src/app/components/divider.d.ts +1 -1
- package/dist/types/src/app/components/error-pattern.d.ts +1 -0
- package/dist/types/src/app/components/form-actions.d.ts +1 -0
- package/dist/types/src/app/components/form.d.ts +1 -0
- package/dist/types/src/app/components/grid.d.ts +1 -1
- package/dist/types/src/app/components/icon.d.ts +1 -1
- package/dist/types/src/app/components/metric-tiles.d.ts +3 -0
- package/dist/types/src/app/components/page-header.d.ts +2 -0
- package/dist/types/src/app/components/page.d.ts +1 -0
- package/dist/types/src/app/components/reveal.d.ts +1 -0
- package/dist/types/src/app/components/stack.d.ts +1 -1
- package/dist/types/src/app/components/tabs.d.ts +3 -1
- package/dist/types/src/app/context/hds-theme.d.ts +1 -1
- package/dist/types/src/app/design-system/generated-token-refs.d.ts +13 -0
- package/dist/types/src/app/design-system/generated-token-values.d.ts +16 -3
- package/dist/types/src/app/hooks/useInteractionState.d.ts +7 -1
- package/dist/types/src/index.d.ts +47 -0
- package/dist/variables.css +35 -24
- package/docs/CONSUMING.md +5 -5
- package/hirobius.tokens.json +91 -44
- package/llms.txt +29 -7
- package/package.json +12 -7
- package/public/hds-manifest.json +277 -119
- package/public/llms/components.txt +1 -1
- package/public/llms-full.txt +56 -34
- package/public/llms.txt +29 -7
- package/src/app/data/component-api.json +53 -18
- package/upgrade/index.json +15 -1
- package/upgrade/releases/0.23.0.json +259 -0
- package/upgrade/releases/0.23.1.json +108 -0
- package/upgrade/schema.json +114 -1
- package/dist/fonts/geist-mono-400.woff2 +0 -0
- package/dist/fonts/satoshi-400.woff2 +0 -0
- package/dist/fonts/satoshi-500.woff2 +0 -0
- package/dist/fonts/satoshi-700.woff2 +0 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": "0.23.1",
|
|
3
|
+
"date": "2026-10-11",
|
|
4
|
+
"bump": "patch",
|
|
5
|
+
"summary": "6 that look different.",
|
|
6
|
+
"backfilled": false,
|
|
7
|
+
"steps": [
|
|
8
|
+
{
|
|
9
|
+
"id": "0.23.1/value-changed/--hds-font-family",
|
|
10
|
+
"kind": "value-changed",
|
|
11
|
+
"impact": "look",
|
|
12
|
+
"plain": "The scoped HDS font variable now names Plus Jakarta Sans first instead of Satoshi.",
|
|
13
|
+
"detect": {
|
|
14
|
+
"cssVars": [
|
|
15
|
+
"--hds-font-family"
|
|
16
|
+
],
|
|
17
|
+
"cssVarWrites": [
|
|
18
|
+
"--hds-font-family"
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
"facts": [
|
|
22
|
+
"css-var-changed:--hds-font-family::root"
|
|
23
|
+
],
|
|
24
|
+
"source": "CHANGELOG.md:20"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"id": "0.23.1/value-changed/--primitive-typography-family-display",
|
|
28
|
+
"kind": "value-changed",
|
|
29
|
+
"impact": "look",
|
|
30
|
+
"plain": "Display and title text now renders in Plus Jakarta Sans instead of Satoshi.",
|
|
31
|
+
"detect": {
|
|
32
|
+
"cssVars": [
|
|
33
|
+
"--primitive-typography-family-display"
|
|
34
|
+
],
|
|
35
|
+
"cssVarWrites": [
|
|
36
|
+
"--primitive-typography-family-display"
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
"facts": [
|
|
40
|
+
"css-var-changed:--primitive-typography-family-display::root"
|
|
41
|
+
],
|
|
42
|
+
"source": "CHANGELOG.md:20"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"id": "0.23.1/value-changed/--primitive-typography-family-primary",
|
|
46
|
+
"kind": "value-changed",
|
|
47
|
+
"impact": "look",
|
|
48
|
+
"plain": "Body, UI and caption text now renders in Plus Jakarta Sans instead of Satoshi.",
|
|
49
|
+
"detect": {
|
|
50
|
+
"cssVars": [
|
|
51
|
+
"--primitive-typography-family-primary"
|
|
52
|
+
],
|
|
53
|
+
"cssVarWrites": [
|
|
54
|
+
"--primitive-typography-family-primary"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"facts": [
|
|
58
|
+
"css-var-changed:--primitive-typography-family-primary::root"
|
|
59
|
+
],
|
|
60
|
+
"source": "CHANGELOG.md:20"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"id": "0.23.1/look/font-face-Satoshi-400-normal",
|
|
64
|
+
"kind": "look",
|
|
65
|
+
"impact": "look",
|
|
66
|
+
"plain": "fonts.css no longer declares Satoshi 400; it declares Plus Jakarta Sans 400 instead, so drop any font-family: Satoshi of your own.",
|
|
67
|
+
"detect": {
|
|
68
|
+
"regex": [
|
|
69
|
+
"Satoshi"
|
|
70
|
+
]
|
|
71
|
+
},
|
|
72
|
+
"facts": [
|
|
73
|
+
"font-face-removed:Satoshi/400/normal"
|
|
74
|
+
],
|
|
75
|
+
"source": "CHANGELOG.md:20"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"id": "0.23.1/look/font-face-Satoshi-500-normal",
|
|
79
|
+
"kind": "look",
|
|
80
|
+
"impact": "look",
|
|
81
|
+
"plain": "fonts.css no longer declares Satoshi 500; it declares Plus Jakarta Sans 500 instead, so drop any font-family: Satoshi of your own.",
|
|
82
|
+
"detect": {
|
|
83
|
+
"regex": [
|
|
84
|
+
"Satoshi"
|
|
85
|
+
]
|
|
86
|
+
},
|
|
87
|
+
"facts": [
|
|
88
|
+
"font-face-removed:Satoshi/500/normal"
|
|
89
|
+
],
|
|
90
|
+
"source": "CHANGELOG.md:20"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "0.23.1/look/font-face-Satoshi-700-normal",
|
|
94
|
+
"kind": "look",
|
|
95
|
+
"impact": "look",
|
|
96
|
+
"plain": "fonts.css no longer declares Satoshi 700; it declares Plus Jakarta Sans 700 instead, so drop any font-family: Satoshi of your own.",
|
|
97
|
+
"detect": {
|
|
98
|
+
"regex": [
|
|
99
|
+
"Satoshi"
|
|
100
|
+
]
|
|
101
|
+
},
|
|
102
|
+
"facts": [
|
|
103
|
+
"font-face-removed:Satoshi/700/normal"
|
|
104
|
+
],
|
|
105
|
+
"source": "CHANGELOG.md:20"
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
}
|
package/upgrade/schema.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
3
|
"title": "@hirobius/design-system upgrade ledger",
|
|
4
|
-
"description": "Generated from scripts/upgrade/schema.mjs; do not edit. The root validates a release ledger (upgrade/releases/<version>.json); $defs.index validates upgrade/index.json, $defs.snapshot a release snapshot (docs/api/releases/<version>.json), $defs.pendingNote a changeset's upgrade note (upgrade/pending/<changeset>.json) and $defs.upgradeReport what the upgrade command prints with --json.",
|
|
4
|
+
"description": "Generated from scripts/upgrade/schema.mjs; do not edit. The root validates a release ledger (upgrade/releases/<version>.json); $defs.index validates upgrade/index.json, $defs.snapshot a release snapshot (docs/api/releases/<version>.json), $defs.cssContract dist/css-contract.json, $defs.pendingNote a changeset's upgrade note (upgrade/pending/<changeset>.json) and $defs.upgradeReport what the upgrade command prints with --json.",
|
|
5
5
|
"$ref": "#/$defs/release",
|
|
6
6
|
"$defs": {
|
|
7
7
|
"auto": {
|
|
@@ -27,6 +27,115 @@
|
|
|
27
27
|
"additionalProperties": false,
|
|
28
28
|
"description": "The codemod that applies this step for the consumer."
|
|
29
29
|
},
|
|
30
|
+
"cssContract": {
|
|
31
|
+
"type": "object",
|
|
32
|
+
"properties": {
|
|
33
|
+
"format": {
|
|
34
|
+
"type": "number",
|
|
35
|
+
"const": 1
|
|
36
|
+
},
|
|
37
|
+
"bundles": {
|
|
38
|
+
"type": "object",
|
|
39
|
+
"propertyNames": {
|
|
40
|
+
"type": "string",
|
|
41
|
+
"pattern": "\\.css$"
|
|
42
|
+
},
|
|
43
|
+
"additionalProperties": {
|
|
44
|
+
"type": "object",
|
|
45
|
+
"properties": {
|
|
46
|
+
"classes": {
|
|
47
|
+
"type": "array",
|
|
48
|
+
"items": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"minLength": 1
|
|
51
|
+
},
|
|
52
|
+
"description": "Every class name a selector names, unescaped as written in className, sorted."
|
|
53
|
+
},
|
|
54
|
+
"fontFaces": {
|
|
55
|
+
"type": "array",
|
|
56
|
+
"items": {
|
|
57
|
+
"type": "object",
|
|
58
|
+
"properties": {
|
|
59
|
+
"family": {
|
|
60
|
+
"type": "string"
|
|
61
|
+
},
|
|
62
|
+
"weight": {
|
|
63
|
+
"type": "string"
|
|
64
|
+
},
|
|
65
|
+
"style": {
|
|
66
|
+
"type": "string"
|
|
67
|
+
},
|
|
68
|
+
"src": {
|
|
69
|
+
"type": "array",
|
|
70
|
+
"items": {
|
|
71
|
+
"type": "string"
|
|
72
|
+
},
|
|
73
|
+
"description": "Each url() basename, data:<type> for an inlined face, or local(<name>)."
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"required": [
|
|
77
|
+
"family",
|
|
78
|
+
"weight",
|
|
79
|
+
"style",
|
|
80
|
+
"src"
|
|
81
|
+
],
|
|
82
|
+
"additionalProperties": false
|
|
83
|
+
},
|
|
84
|
+
"description": "Each @font-face, sorted."
|
|
85
|
+
},
|
|
86
|
+
"layers": {
|
|
87
|
+
"type": "array",
|
|
88
|
+
"items": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"minLength": 1
|
|
91
|
+
},
|
|
92
|
+
"description": "The @layer names, in declaration order."
|
|
93
|
+
},
|
|
94
|
+
"variables": {
|
|
95
|
+
"type": "object",
|
|
96
|
+
"propertyNames": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"pattern": "^--"
|
|
99
|
+
},
|
|
100
|
+
"additionalProperties": {
|
|
101
|
+
"type": "object",
|
|
102
|
+
"propertyNames": {
|
|
103
|
+
"type": "string"
|
|
104
|
+
},
|
|
105
|
+
"additionalProperties": {
|
|
106
|
+
"type": "string"
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
"description": "Each custom property declared in a context rule: context (the selector, after its enclosing at-rules, as minified) -> the value that wins there."
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
"required": [
|
|
113
|
+
"classes",
|
|
114
|
+
"fontFaces",
|
|
115
|
+
"layers",
|
|
116
|
+
"variables"
|
|
117
|
+
],
|
|
118
|
+
"additionalProperties": false
|
|
119
|
+
},
|
|
120
|
+
"description": "Each stylesheet package.json#exports names, by its exports key."
|
|
121
|
+
},
|
|
122
|
+
"publicClasses": {
|
|
123
|
+
"type": "array",
|
|
124
|
+
"items": {
|
|
125
|
+
"type": "string",
|
|
126
|
+
"minLength": 1
|
|
127
|
+
},
|
|
128
|
+
"description": "Classes the manifest declares public beyond the hds-* prefix (public/hds-manifest.json publicClasses)."
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
"required": [
|
|
132
|
+
"format",
|
|
133
|
+
"bundles",
|
|
134
|
+
"publicClasses"
|
|
135
|
+
],
|
|
136
|
+
"additionalProperties": false,
|
|
137
|
+
"description": "dist/css-contract.json (scripts/build-css-contract.mjs, hds#449): the CSS surface of the stylesheets a release ships."
|
|
138
|
+
},
|
|
30
139
|
"detect": {
|
|
31
140
|
"type": "object",
|
|
32
141
|
"properties": {
|
|
@@ -500,6 +609,10 @@
|
|
|
500
609
|
"type": "string"
|
|
501
610
|
},
|
|
502
611
|
"description": "package.json#files."
|
|
612
|
+
},
|
|
613
|
+
"css": {
|
|
614
|
+
"description": "The CSS contract of its stylesheets; absent for a snapshot read from source, which has no built CSS.",
|
|
615
|
+
"$ref": "#/$defs/cssContract"
|
|
503
616
|
}
|
|
504
617
|
},
|
|
505
618
|
"required": [
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|