@hirobius/design-system 0.21.0 → 0.22.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/AGENTS.md +2 -0
- package/CHANGELOG.md +969 -0
- package/CONSUMING.md +23 -9
- package/MIGRATIONS.md +603 -0
- package/README.md +2 -0
- package/UPGRADING.md +222 -0
- package/codemods/hds-prefix.mjs +28 -13
- package/codemods/jsx-fold.mjs +28 -13
- package/codemods/lib/atomic-write.mjs +28 -0
- package/codemods/lib/installed-version.mjs +354 -0
- package/codemods/lib/project.mjs +395 -0
- package/codemods/lib/record.mjs +110 -0
- package/codemods/lib/scan.mjs +323 -0
- package/codemods/lib/semver.mjs +57 -0
- package/codemods/not-found-pattern.mjs +3 -3
- package/codemods/patterns-subpath.mjs +28 -12
- package/codemods/registry.mjs +67 -0
- package/codemods/tile-grid.mjs +3 -3
- package/codemods/upgrade.mjs +909 -0
- package/dist/hirobius-ui.js +1 -1
- package/dist/manifest.js +3 -3
- package/dist/styles.css +1 -1
- package/dist/tokens.css +1 -1
- package/dist/types/src/app/components/alert-dialog.d.ts +1 -1
- 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/avatar-group.d.ts +1 -1
- package/dist/types/src/app/components/avatar.d.ts +1 -1
- package/dist/types/src/app/components/badge.d.ts +1 -1
- package/dist/types/src/app/components/blockquote.d.ts +1 -1
- package/dist/types/src/app/components/breadcrumb.d.ts +1 -1
- package/dist/types/src/app/components/button.d.ts +1 -1
- package/dist/types/src/app/components/callout.d.ts +1 -1
- package/dist/types/src/app/components/card.d.ts +1 -1
- package/dist/types/src/app/components/checkbox.d.ts +1 -1
- package/dist/types/src/app/components/code-block.d.ts +1 -1
- package/dist/types/src/app/components/combobox.d.ts +1 -1
- package/dist/types/src/app/components/data-table-section.d.ts +1 -1
- package/dist/types/src/app/components/destructive-section.d.ts +1 -1
- package/dist/types/src/app/components/dialog.d.ts +1 -1
- package/dist/types/src/app/components/disclosure.d.ts +1 -1
- package/dist/types/src/app/components/divider.d.ts +1 -1
- package/dist/types/src/app/components/empty-state.d.ts +1 -1
- package/dist/types/src/app/components/field.d.ts +1 -1
- package/dist/types/src/app/components/form-actions.d.ts +1 -1
- package/dist/types/src/app/components/form.d.ts +1 -1
- package/dist/types/src/app/components/hds-tooltip.d.ts +1 -1
- package/dist/types/src/app/components/icon.d.ts +1 -1
- package/dist/types/src/app/components/inline-link.d.ts +1 -1
- package/dist/types/src/app/components/input.d.ts +1 -1
- package/dist/types/src/app/components/kbd.d.ts +1 -1
- package/dist/types/src/app/components/menu.d.ts +1 -1
- package/dist/types/src/app/components/metadata-list.d.ts +1 -1
- package/dist/types/src/app/components/metric-tiles.d.ts +1 -1
- package/dist/types/src/app/components/pagination.d.ts +1 -1
- package/dist/types/src/app/components/popover.d.ts +1 -1
- package/dist/types/src/app/components/progress.d.ts +1 -1
- package/dist/types/src/app/components/radio.d.ts +1 -1
- package/dist/types/src/app/components/select.d.ts +1 -1
- package/dist/types/src/app/components/skeleton.d.ts +1 -1
- package/dist/types/src/app/components/slider.d.ts +1 -1
- package/dist/types/src/app/components/spinner.d.ts +1 -1
- package/dist/types/src/app/components/stat.d.ts +1 -1
- package/dist/types/src/app/components/status-list-item.d.ts +1 -1
- package/dist/types/src/app/components/status-tile.d.ts +1 -1
- package/dist/types/src/app/components/table.d.ts +1 -1
- package/dist/types/src/app/components/tabs.d.ts +1 -1
- package/dist/types/src/app/components/tag.d.ts +1 -1
- package/dist/types/src/app/components/text.d.ts +1 -1
- package/dist/types/src/app/components/textarea.d.ts +1 -1
- package/dist/types/src/app/components/timestamp.d.ts +1 -1
- package/dist/types/src/app/components/toast.d.ts +1 -1
- package/dist/types/src/app/components/toggle.d.ts +1 -1
- package/dist/types/src/index.d.ts +79 -32
- package/hirobius.tokens.json +86 -39
- package/mcp/catalog.mjs +10 -7
- package/mcp/core-set.mjs +66 -0
- package/mcp/guide.mjs +9 -52
- package/package.json +23 -7
- package/public/hds-manifest.json +109 -109
- package/src/app/data/component-api.json +54 -54
- package/upgrade/index.json +208 -0
- package/upgrade/releases/0.17.0.json +962 -0
- package/upgrade/releases/0.18.0.json +8 -0
- package/upgrade/releases/0.19.0.json +233 -0
- package/upgrade/releases/0.19.1.json +8 -0
- package/upgrade/releases/0.20.0.json +5108 -0
- package/upgrade/releases/0.21.0.json +538 -0
- package/upgrade/releases/0.22.0.json +94 -0
- package/upgrade/schema.json +989 -0
|
@@ -0,0 +1,208 @@
|
|
|
1
|
+
{
|
|
2
|
+
"package": "@hirobius/design-system",
|
|
3
|
+
"latest": "0.22.0",
|
|
4
|
+
"floor": "0.16.0",
|
|
5
|
+
"versions": [
|
|
6
|
+
{
|
|
7
|
+
"version": "0.17.0",
|
|
8
|
+
"date": "2026-09-30",
|
|
9
|
+
"bump": "minor",
|
|
10
|
+
"breaking": 0,
|
|
11
|
+
"summary": "Adds /patterns and the standard type ramp; root pattern imports, Hds* names and seven spacing tokens are deprecated."
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"version": "0.18.0",
|
|
15
|
+
"date": "2026-09-30",
|
|
16
|
+
"bump": "minor",
|
|
17
|
+
"breaking": 0,
|
|
18
|
+
"summary": "Adds the hds-patterns-subpath codemod, which moves root imports of the deprecated pattern components to /patterns."
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"version": "0.19.0",
|
|
22
|
+
"date": "2026-09-30",
|
|
23
|
+
"bump": "minor",
|
|
24
|
+
"breaking": 0,
|
|
25
|
+
"summary": "Overlays portal into the nearest data-hds scope, compact density tightens spacing, containers share one radius; adds /icons."
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"version": "0.19.1",
|
|
29
|
+
"date": "2026-09-30",
|
|
30
|
+
"bump": "patch",
|
|
31
|
+
"breaking": 0,
|
|
32
|
+
"summary": "Smaller Button-only bundles for webpack and esbuild, and Storybook accessibility fixes; nothing for a consumer to change."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"version": "0.20.0",
|
|
36
|
+
"date": "2026-10-01",
|
|
37
|
+
"bump": "minor",
|
|
38
|
+
"breaking": 212,
|
|
39
|
+
"summary": "Pattern components move to /patterns; deprecated, lab and folded components, Hds* aliases and 7 runtime deps are removed."
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"version": "0.21.0",
|
|
43
|
+
"date": "2026-10-07",
|
|
44
|
+
"bump": "minor",
|
|
45
|
+
"breaking": 2,
|
|
46
|
+
"summary": "StatusDot is removed, fonts move to an opt-in fonts.css, the type ramp is cut to 5 roles; AGENTS.md, hds-mcp and the ESLint plugin ship."
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"version": "0.22.0",
|
|
50
|
+
"date": "2026-10-08",
|
|
51
|
+
"bump": "minor",
|
|
52
|
+
"breaking": 1,
|
|
53
|
+
"summary": "3 changes to make by hand (1 breaking), 1 that looks different and 2 deprecations."
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"deprecated": [
|
|
57
|
+
{
|
|
58
|
+
"name": "Box-sx-layout-names",
|
|
59
|
+
"removeIn": "1.0.0",
|
|
60
|
+
"step": "0.20.0/deprecated/Box-sx-layout-names"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "Divider.strong",
|
|
64
|
+
"removeIn": "1.0.0",
|
|
65
|
+
"step": "0.22.0/deprecated/Divider.strong"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "InlineCode.compact",
|
|
69
|
+
"removeIn": "1.0.0",
|
|
70
|
+
"step": "0.22.0/deprecated/InlineCode.compact"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "Stack-gap-layout-names",
|
|
74
|
+
"removeIn": "1.0.0",
|
|
75
|
+
"step": "0.20.0/deprecated/Stack-gap-layout-names"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "Text-variants",
|
|
79
|
+
"removeIn": "1.0.0",
|
|
80
|
+
"step": "0.21.0/deprecated/Text-variants"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "bg-[color:var(--semantic-color-feedback-bg-warning)]",
|
|
84
|
+
"removeIn": "1.0.0",
|
|
85
|
+
"step": "0.20.0/deprecated/kept-utilities"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"name": "border-[color:var(--semantic-color-feedback-warning)]/40",
|
|
89
|
+
"removeIn": "1.0.0",
|
|
90
|
+
"step": "0.20.0/deprecated/kept-utilities"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "data-[highlighted]:text-foreground",
|
|
94
|
+
"removeIn": "1.0.0",
|
|
95
|
+
"step": "0.20.0/deprecated/kept-utilities"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "data-[state=checked]:text-foreground",
|
|
99
|
+
"removeIn": "1.0.0",
|
|
100
|
+
"step": "0.20.0/deprecated/kept-utilities"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "group-hover:opacity-100",
|
|
104
|
+
"removeIn": "1.0.0",
|
|
105
|
+
"step": "0.20.0/deprecated/kept-utilities"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "h-3.5",
|
|
109
|
+
"removeIn": "1.0.0",
|
|
110
|
+
"step": "0.20.0/deprecated/kept-utilities"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "hds.density",
|
|
114
|
+
"removeIn": "1.0.0",
|
|
115
|
+
"step": "0.20.0/deprecated/hds.density"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"name": "max-w-2xl",
|
|
119
|
+
"removeIn": "1.0.0",
|
|
120
|
+
"step": "0.20.0/deprecated/kept-utilities"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "p-16",
|
|
124
|
+
"removeIn": "1.0.0",
|
|
125
|
+
"step": "0.20.0/deprecated/kept-utilities"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "pb-8",
|
|
129
|
+
"removeIn": "1.0.0",
|
|
130
|
+
"step": "0.20.0/deprecated/kept-utilities"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "pt-1",
|
|
134
|
+
"removeIn": "1.0.0",
|
|
135
|
+
"step": "0.20.0/deprecated/kept-utilities"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"name": "semantic.space.component.gap",
|
|
139
|
+
"removeIn": "1.0.0",
|
|
140
|
+
"step": "0.17.0/deprecated/semantic.space.component.gap"
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
"name": "semantic.space.component.padding",
|
|
144
|
+
"removeIn": "1.0.0",
|
|
145
|
+
"step": "0.17.0/deprecated/semantic.space.component.padding"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"name": "semantic.space.layout.gutter",
|
|
149
|
+
"removeIn": "1.0.0",
|
|
150
|
+
"step": "0.17.0/deprecated/semantic.space.layout.gutter"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "semantic.space.layout.inset",
|
|
154
|
+
"removeIn": "1.0.0",
|
|
155
|
+
"step": "0.17.0/deprecated/semantic.space.layout.inset"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"name": "semantic.space.layout.normal",
|
|
159
|
+
"removeIn": "1.0.0",
|
|
160
|
+
"step": "0.17.0/deprecated/semantic.space.layout.normal"
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"name": "semantic.space.layout.spacious",
|
|
164
|
+
"removeIn": "1.0.0",
|
|
165
|
+
"step": "0.17.0/deprecated/semantic.space.layout.spacious"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"name": "semantic.space.layout.tight",
|
|
169
|
+
"removeIn": "1.0.0",
|
|
170
|
+
"step": "0.17.0/deprecated/semantic.space.layout.tight"
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"name": "sm:inline-block",
|
|
174
|
+
"removeIn": "1.0.0",
|
|
175
|
+
"step": "0.20.0/deprecated/kept-utilities"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"name": "sm:text-4xl",
|
|
179
|
+
"removeIn": "1.0.0",
|
|
180
|
+
"step": "0.20.0/deprecated/kept-utilities"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"name": "text-[color:var(--semantic-color-feedback-warning)]",
|
|
184
|
+
"removeIn": "1.0.0",
|
|
185
|
+
"step": "0.20.0/deprecated/kept-utilities"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "text-muted-foreground/70",
|
|
189
|
+
"removeIn": "1.0.0",
|
|
190
|
+
"step": "0.20.0/deprecated/kept-utilities"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"name": "transition-[transform,opacity]",
|
|
194
|
+
"removeIn": "1.0.0",
|
|
195
|
+
"step": "0.20.0/deprecated/kept-utilities"
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"name": "typeStyles-aliases",
|
|
199
|
+
"removeIn": "1.0.0",
|
|
200
|
+
"step": "0.21.0/deprecated/typeStyles-aliases"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"name": "w-3.5",
|
|
204
|
+
"removeIn": "1.0.0",
|
|
205
|
+
"step": "0.20.0/deprecated/kept-utilities"
|
|
206
|
+
}
|
|
207
|
+
]
|
|
208
|
+
}
|