@hirobius/design-system 0.22.0 → 0.23.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 +11 -1
- package/CHANGELOG.md +74 -0
- package/CONSUMING.md +2 -2
- package/DESIGN.md +24 -24
- package/NOTICE.md +1 -1
- package/README.md +20 -12
- package/UPGRADING.md +22 -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.css +5 -5
- package/dist/form.js +1 -1
- package/dist/hirobius-ui.js +1254 -1181
- 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 +14 -1
- 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/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 +2 -0
- package/dist/types/src/app/components/page-header.d.ts +1 -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 +14 -1
- package/dist/types/src/app/hooks/useInteractionState.d.ts +7 -1
- package/dist/types/src/index.d.ts +47 -0
- package/dist/variables.css +33 -22
- package/docs/CONSUMING.md +2 -2
- package/hirobius.tokens.json +87 -40
- package/llms.txt +29 -7
- package/package.json +7 -6
- package/public/hds-manifest.json +257 -99
- package/public/llms/components.txt +1 -1
- package/public/llms-full.txt +54 -32
- package/public/llms.txt +29 -7
- package/src/app/data/component-api.json +51 -18
- package/upgrade/index.json +8 -1
- package/upgrade/releases/0.23.0.json +259 -0
- package/upgrade/schema.json +114 -1
- package/dist/fonts/geist-mono-400.woff2 +0 -0
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
|