@vantageos/mosaic 0.3.0-alpha.1 → 0.3.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/CHANGELOG.md +175 -0
- package/README.md +12 -0
- package/dist/{Alert.schema-BQsZGG6P.d.cts → Alert.schema-LPJE5gFP.d.cts} +31 -1
- package/dist/{Alert.schema-BQsZGG6P.d.ts → Alert.schema-LPJE5gFP.d.ts} +31 -1
- package/dist/MarkdownRenderer.schema-Rx7kIeVA.d.cts +22 -0
- package/dist/MarkdownRenderer.schema-Rx7kIeVA.d.ts +22 -0
- package/dist/ProgressBar.schema-CdVYx0Wq.d.cts +22 -0
- package/dist/ProgressBar.schema-CdVYx0Wq.d.ts +22 -0
- package/dist/StatusBadge.schema-1tOjB4Ir.d.cts +22 -0
- package/dist/StatusBadge.schema-1tOjB4Ir.d.ts +22 -0
- package/dist/artifacts.cjs +126 -2
- package/dist/artifacts.cjs.map +1 -1
- package/dist/artifacts.d.cts +3 -21
- package/dist/artifacts.d.ts +3 -21
- package/dist/artifacts.js +126 -2
- package/dist/artifacts.js.map +1 -1
- package/dist/confirmation.cjs +126 -2
- package/dist/confirmation.cjs.map +1 -1
- package/dist/confirmation.d.cts +3 -32
- package/dist/confirmation.d.ts +3 -32
- package/dist/confirmation.js +126 -2
- package/dist/confirmation.js.map +1 -1
- package/dist/display.cjs +129 -2
- package/dist/display.cjs.map +1 -1
- package/dist/display.d.cts +132 -2
- package/dist/display.d.ts +132 -2
- package/dist/display.js +129 -2
- package/dist/display.js.map +1 -1
- package/dist/forms.cjs +20 -17
- package/dist/forms.cjs.map +1 -1
- package/dist/forms.js +20 -17
- package/dist/forms.js.map +1 -1
- package/dist/index.cjs +129 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -7
- package/dist/index.d.ts +9 -7
- package/dist/index.js +129 -2
- package/dist/index.js.map +1 -1
- package/dist/media.cjs +126 -2
- package/dist/media.cjs.map +1 -1
- package/dist/media.d.cts +3 -21
- package/dist/media.d.ts +3 -21
- package/dist/media.js +126 -2
- package/dist/media.js.map +1 -1
- package/dist/preact/artifacts.d.ts +39 -1
- package/dist/preact/artifacts.js +234 -0
- package/dist/preact/artifacts.js.map +1 -1
- package/dist/preact/confirmation.d.ts +31 -1
- package/dist/preact/confirmation.js +245 -5
- package/dist/preact/confirmation.js.map +1 -1
- package/dist/preact/display.d.ts +127 -1
- package/dist/preact/display.js +419 -11
- package/dist/preact/display.js.map +1 -1
- package/dist/preact/forms.js +22 -19
- package/dist/preact/forms.js.map +1 -1
- package/dist/preact/input.js +2 -2
- package/dist/preact/progress.d.ts +35 -1
- package/dist/preact/progress.js +263 -0
- package/dist/preact/progress.js.map +1 -1
- package/dist/progress.cjs +126 -2
- package/dist/progress.cjs.map +1 -1
- package/dist/progress.d.cts +3 -21
- package/dist/progress.d.ts +3 -21
- package/dist/progress.js +126 -2
- package/dist/progress.js.map +1 -1
- package/dist/react/artifacts.cjs +241 -0
- package/dist/react/artifacts.cjs.map +1 -1
- package/dist/react/artifacts.d.cts +20 -1
- package/dist/react/artifacts.d.ts +20 -1
- package/dist/react/artifacts.js +234 -0
- package/dist/react/artifacts.js.map +1 -1
- package/dist/react/confirmation.cjs +248 -2
- package/dist/react/confirmation.cjs.map +1 -1
- package/dist/react/confirmation.d.cts +3 -3
- package/dist/react/confirmation.d.ts +3 -3
- package/dist/react/confirmation.js +244 -4
- package/dist/react/confirmation.js.map +1 -1
- package/dist/react/display.cjs +418 -2
- package/dist/react/display.cjs.map +1 -1
- package/dist/react/display.d.cts +20 -3
- package/dist/react/display.d.ts +20 -3
- package/dist/react/display.js +413 -4
- package/dist/react/display.js.map +1 -1
- package/dist/react/forms.cjs +20 -17
- package/dist/react/forms.cjs.map +1 -1
- package/dist/react/forms.js +20 -17
- package/dist/react/forms.js.map +1 -1
- package/dist/react/progress.cjs +266 -0
- package/dist/react/progress.cjs.map +1 -1
- package/dist/react/progress.d.cts +17 -1
- package/dist/react/progress.d.ts +17 -1
- package/dist/react/progress.js +263 -0
- package/dist/react/progress.js.map +1 -1
- package/package.json +231 -228
- package/registry.yaml +34 -21
- package/dist/Skeleton.schema-BO0ca2UX.d.cts +0 -135
- package/dist/Skeleton.schema-BO0ca2UX.d.ts +0 -135
package/package.json
CHANGED
|
@@ -1,229 +1,232 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
2
|
+
"name": "@vantageos/mosaic",
|
|
3
|
+
"version": "0.3.1",
|
|
4
|
+
"description": "Fleet-wide MCP UI design system — 6-category taxonomy, Zod-validated, registry-gated, streaming-ready, cross-runtime (React 19 + Preact 10).",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"require": "./dist/index.cjs"
|
|
14
|
+
},
|
|
15
|
+
"./progress": {
|
|
16
|
+
"types": "./dist/progress.d.ts",
|
|
17
|
+
"import": "./dist/progress.js",
|
|
18
|
+
"require": "./dist/progress.cjs"
|
|
19
|
+
},
|
|
20
|
+
"./input": {
|
|
21
|
+
"types": "./dist/input.d.ts",
|
|
22
|
+
"import": "./dist/input.js",
|
|
23
|
+
"require": "./dist/input.cjs"
|
|
24
|
+
},
|
|
25
|
+
"./display": {
|
|
26
|
+
"types": "./dist/display.d.ts",
|
|
27
|
+
"import": "./dist/display.js",
|
|
28
|
+
"require": "./dist/display.cjs"
|
|
29
|
+
},
|
|
30
|
+
"./artifacts": {
|
|
31
|
+
"types": "./dist/artifacts.d.ts",
|
|
32
|
+
"import": "./dist/artifacts.js",
|
|
33
|
+
"require": "./dist/artifacts.cjs"
|
|
34
|
+
},
|
|
35
|
+
"./confirmation": {
|
|
36
|
+
"types": "./dist/confirmation.d.ts",
|
|
37
|
+
"import": "./dist/confirmation.js",
|
|
38
|
+
"require": "./dist/confirmation.cjs"
|
|
39
|
+
},
|
|
40
|
+
"./media": {
|
|
41
|
+
"types": "./dist/media.d.ts",
|
|
42
|
+
"import": "./dist/media.js",
|
|
43
|
+
"require": "./dist/media.cjs"
|
|
44
|
+
},
|
|
45
|
+
"./forms": {
|
|
46
|
+
"types": "./dist/forms.d.ts",
|
|
47
|
+
"import": "./dist/forms.js",
|
|
48
|
+
"require": "./dist/forms.cjs"
|
|
49
|
+
},
|
|
50
|
+
"./react": {
|
|
51
|
+
"types": "./dist/react/index.d.ts",
|
|
52
|
+
"import": "./dist/react/index.js",
|
|
53
|
+
"require": "./dist/react/index.cjs"
|
|
54
|
+
},
|
|
55
|
+
"./react/progress": {
|
|
56
|
+
"types": "./dist/react/progress.d.ts",
|
|
57
|
+
"import": "./dist/react/progress.js",
|
|
58
|
+
"require": "./dist/react/progress.cjs"
|
|
59
|
+
},
|
|
60
|
+
"./react/input": {
|
|
61
|
+
"types": "./dist/react/input.d.ts",
|
|
62
|
+
"import": "./dist/react/input.js",
|
|
63
|
+
"require": "./dist/react/input.cjs"
|
|
64
|
+
},
|
|
65
|
+
"./react/display": {
|
|
66
|
+
"types": "./dist/react/display.d.ts",
|
|
67
|
+
"import": "./dist/react/display.js",
|
|
68
|
+
"require": "./dist/react/display.cjs"
|
|
69
|
+
},
|
|
70
|
+
"./react/artifacts": {
|
|
71
|
+
"types": "./dist/react/artifacts.d.ts",
|
|
72
|
+
"import": "./dist/react/artifacts.js",
|
|
73
|
+
"require": "./dist/react/artifacts.cjs"
|
|
74
|
+
},
|
|
75
|
+
"./react/confirmation": {
|
|
76
|
+
"types": "./dist/react/confirmation.d.ts",
|
|
77
|
+
"import": "./dist/react/confirmation.js",
|
|
78
|
+
"require": "./dist/react/confirmation.cjs"
|
|
79
|
+
},
|
|
80
|
+
"./react/media": {
|
|
81
|
+
"types": "./dist/react/media.d.ts",
|
|
82
|
+
"import": "./dist/react/media.js",
|
|
83
|
+
"require": "./dist/react/media.cjs"
|
|
84
|
+
},
|
|
85
|
+
"./react/forms": {
|
|
86
|
+
"types": "./dist/react/forms.d.ts",
|
|
87
|
+
"import": "./dist/react/forms.js",
|
|
88
|
+
"require": "./dist/react/forms.cjs"
|
|
89
|
+
},
|
|
90
|
+
"./preact": {
|
|
91
|
+
"types": "./dist/preact/index.d.ts",
|
|
92
|
+
"import": "./dist/preact/index.js"
|
|
93
|
+
},
|
|
94
|
+
"./preact/progress": {
|
|
95
|
+
"types": "./dist/preact/progress.d.ts",
|
|
96
|
+
"import": "./dist/preact/progress.js"
|
|
97
|
+
},
|
|
98
|
+
"./preact/input": {
|
|
99
|
+
"types": "./dist/preact/input.d.ts",
|
|
100
|
+
"import": "./dist/preact/input.js"
|
|
101
|
+
},
|
|
102
|
+
"./preact/display": {
|
|
103
|
+
"types": "./dist/preact/display.d.ts",
|
|
104
|
+
"import": "./dist/preact/display.js"
|
|
105
|
+
},
|
|
106
|
+
"./preact/artifacts": {
|
|
107
|
+
"types": "./dist/preact/artifacts.d.ts",
|
|
108
|
+
"import": "./dist/preact/artifacts.js"
|
|
109
|
+
},
|
|
110
|
+
"./preact/confirmation": {
|
|
111
|
+
"types": "./dist/preact/confirmation.d.ts",
|
|
112
|
+
"import": "./dist/preact/confirmation.js"
|
|
113
|
+
},
|
|
114
|
+
"./preact/media": {
|
|
115
|
+
"types": "./dist/preact/media.d.ts",
|
|
116
|
+
"import": "./dist/preact/media.js"
|
|
117
|
+
},
|
|
118
|
+
"./preact/forms": {
|
|
119
|
+
"types": "./dist/preact/forms.d.ts",
|
|
120
|
+
"import": "./dist/preact/forms.js"
|
|
121
|
+
},
|
|
122
|
+
"./tokens": {
|
|
123
|
+
"types": "./dist/tokens.d.ts",
|
|
124
|
+
"import": "./dist/tokens.js",
|
|
125
|
+
"require": "./dist/tokens.cjs"
|
|
126
|
+
},
|
|
127
|
+
"./server": {
|
|
128
|
+
"types": "./dist/server.d.ts",
|
|
129
|
+
"import": "./dist/server.js",
|
|
130
|
+
"require": "./dist/server.cjs"
|
|
131
|
+
},
|
|
132
|
+
"./registry.yaml": "./registry.yaml"
|
|
133
|
+
},
|
|
134
|
+
"files": [
|
|
135
|
+
"dist",
|
|
136
|
+
"registry.yaml",
|
|
137
|
+
"README.md",
|
|
138
|
+
"CHANGELOG.md"
|
|
139
|
+
],
|
|
140
|
+
"sideEffects": false,
|
|
141
|
+
"scripts": {
|
|
142
|
+
"prebuild": "node -e \"require('node:fs').rmSync('dist',{recursive:true,force:true})\"",
|
|
143
|
+
"build": "NODE_OPTIONS=--max-old-space-size=8192 tsup",
|
|
144
|
+
"dev": "tsup --watch",
|
|
145
|
+
"test": "vitest run",
|
|
146
|
+
"lint": "biome check --error-on-warnings src",
|
|
147
|
+
"size-limit": "size-limit",
|
|
148
|
+
"build-storybook": "storybook build -o storybook-static",
|
|
149
|
+
"prepublishOnly": "node scripts/rewrite-workspace-deps.mjs && pnpm run build && pnpm run test && pnpm run size-limit && node scripts/check-eta-gate.js",
|
|
150
|
+
"postpublish": "git checkout HEAD -- package.json && echo '[postpublish] reverted package.json — workspace:* refs restored for monorepo dev'"
|
|
151
|
+
},
|
|
152
|
+
"peerDependencies": {
|
|
153
|
+
"@hookform/resolvers": "^3.10.0",
|
|
154
|
+
"@mcp-ui/client": "7.1.1",
|
|
155
|
+
"preact": "^10.25.0",
|
|
156
|
+
"react": "^19.1.0",
|
|
157
|
+
"react-dom": "^19.1.0",
|
|
158
|
+
"react-hook-form": "^7.54.0",
|
|
159
|
+
"react-i18next": "15.5.2",
|
|
160
|
+
"rxjs": "^7.8.0"
|
|
161
|
+
},
|
|
162
|
+
"peerDependenciesMeta": {
|
|
163
|
+
"@hookform/resolvers": {
|
|
164
|
+
"optional": true
|
|
165
|
+
},
|
|
166
|
+
"@mcp-ui/client": {
|
|
167
|
+
"optional": true
|
|
168
|
+
},
|
|
169
|
+
"preact": {
|
|
170
|
+
"optional": true
|
|
171
|
+
},
|
|
172
|
+
"react": {
|
|
173
|
+
"optional": true
|
|
174
|
+
},
|
|
175
|
+
"react-dom": {
|
|
176
|
+
"optional": true
|
|
177
|
+
},
|
|
178
|
+
"react-hook-form": {
|
|
179
|
+
"optional": true
|
|
180
|
+
},
|
|
181
|
+
"react-i18next": {
|
|
182
|
+
"optional": true
|
|
183
|
+
},
|
|
184
|
+
"rxjs": {
|
|
185
|
+
"optional": true
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"dependencies": {
|
|
189
|
+
"@lit-labs/react": "1.0.6",
|
|
190
|
+
"@mcp-ui/server": "6.1.0",
|
|
191
|
+
"@tanstack/react-virtual": "3.13.6",
|
|
192
|
+
"@vantageos/mosaic-tokens": "^0.2.0",
|
|
193
|
+
"dompurify": "3.2.4",
|
|
194
|
+
"marked": "15.0.7",
|
|
195
|
+
"zod": "3.25.28"
|
|
196
|
+
},
|
|
197
|
+
"devDependencies": {
|
|
198
|
+
"@axe-core/playwright": "4.10.1",
|
|
199
|
+
"@babel/parser": "7.29.7",
|
|
200
|
+
"@babel/traverse": "7.29.7",
|
|
201
|
+
"@biomejs/biome": "1.9.4",
|
|
202
|
+
"@hookform/resolvers": "^3.10.0",
|
|
203
|
+
"@playwright/test": "1.50.1",
|
|
204
|
+
"@size-limit/preset-small-lib": "11.2.0",
|
|
205
|
+
"@storybook/builder-vite": "8.6.18",
|
|
206
|
+
"@storybook/react": "8.6.18",
|
|
207
|
+
"@storybook/react-vite": "8.6.18",
|
|
208
|
+
"@storybook/test-runner": "0.21.0",
|
|
209
|
+
"@tailwindcss/vite": "4.1.8",
|
|
210
|
+
"@testing-library/react": "16.3.0",
|
|
211
|
+
"@testing-library/user-event": "14.6.1",
|
|
212
|
+
"@types/babel__traverse": "7.28.0",
|
|
213
|
+
"@types/dompurify": "3.0.5",
|
|
214
|
+
"@types/react": "19.1.0",
|
|
215
|
+
"@types/react-dom": "19.1.0",
|
|
216
|
+
"@vitejs/plugin-react": "4.3.4",
|
|
217
|
+
"@vitest/coverage-v8": "3.2.2",
|
|
218
|
+
"jsdom": "26.0.0",
|
|
219
|
+
"preact": "10.27.1",
|
|
220
|
+
"react": "19.1.0",
|
|
221
|
+
"react-dom": "19.1.0",
|
|
222
|
+
"react-hook-form": "^7.54.0",
|
|
223
|
+
"size-limit": "11.2.0",
|
|
224
|
+
"storybook": "8.6.18",
|
|
225
|
+
"tailwindcss": "4.1.8",
|
|
226
|
+
"tsup": "8.4.0",
|
|
227
|
+
"typescript": "5.8.3",
|
|
228
|
+
"vite": "6.3.5",
|
|
229
|
+
"vite-plugin-singlefile": "2.1.0",
|
|
230
|
+
"vitest": "3.2.2"
|
|
231
|
+
}
|
|
232
|
+
}
|
package/registry.yaml
CHANGED
|
@@ -50,35 +50,35 @@ components:
|
|
|
50
50
|
category: forms
|
|
51
51
|
schema: src/components/forms/useMosaicForm.schema.ts
|
|
52
52
|
zodExport: UseMosaicFormOptionsSchema
|
|
53
|
-
i18nKeys: []
|
|
53
|
+
i18nKeys: ["useMosaicForm.error.invalidProps"]
|
|
54
54
|
sizeLimit: "20KB"
|
|
55
55
|
a11yLevel: WCAG-AA
|
|
56
56
|
- name: FormProvider
|
|
57
57
|
category: forms
|
|
58
58
|
schema: src/components/forms/FormProvider.schema.ts
|
|
59
59
|
zodExport: FormProviderPropsSchema
|
|
60
|
-
i18nKeys: []
|
|
60
|
+
i18nKeys: ["FormProvider.error.invalidProps"]
|
|
61
61
|
sizeLimit: "10KB"
|
|
62
62
|
a11yLevel: WCAG-AA
|
|
63
63
|
- name: FormField
|
|
64
64
|
category: forms
|
|
65
65
|
schema: src/components/forms/FormField.schema.ts
|
|
66
66
|
zodExport: FormFieldPropsSchema
|
|
67
|
-
i18nKeys: []
|
|
67
|
+
i18nKeys: ["FormField.error.invalidProps"]
|
|
68
68
|
sizeLimit: "10KB"
|
|
69
69
|
a11yLevel: WCAG-AA
|
|
70
70
|
- name: ErrorDisplay
|
|
71
71
|
category: forms
|
|
72
72
|
schema: src/components/forms/ErrorDisplay.schema.ts
|
|
73
73
|
zodExport: ErrorDisplayPropsSchema
|
|
74
|
-
i18nKeys: []
|
|
74
|
+
i18nKeys: ["ErrorDisplay.error.required", "ErrorDisplay.error.min", "ErrorDisplay.error.max", "ErrorDisplay.error.minLength", "ErrorDisplay.error.maxLength", "ErrorDisplay.error.pattern", "ErrorDisplay.error.email", "ErrorDisplay.error.url", "ErrorDisplay.error.generic"]
|
|
75
75
|
sizeLimit: "5KB"
|
|
76
76
|
a11yLevel: WCAG-AA
|
|
77
77
|
- name: SubmitButton
|
|
78
78
|
category: forms
|
|
79
79
|
schema: src/components/forms/SubmitButton.schema.ts
|
|
80
80
|
zodExport: SubmitButtonPropsSchema
|
|
81
|
-
i18nKeys: []
|
|
81
|
+
i18nKeys: ["SubmitButton.aria.submit", "SubmitButton.state.loading", "SubmitButton.error.invalidProps"]
|
|
82
82
|
sizeLimit: "10KB"
|
|
83
83
|
a11yLevel: WCAG-AA
|
|
84
84
|
runtimes: ["react", "preact"]
|
|
@@ -92,6 +92,20 @@ components:
|
|
|
92
92
|
a11yLevel: WCAG-AA
|
|
93
93
|
runtimes: ["react", "preact"]
|
|
94
94
|
convergence: ["hermes", "chi"]
|
|
95
|
+
- name: EmptyState
|
|
96
|
+
category: display
|
|
97
|
+
schema: src/components/display/EmptyState.schema.ts
|
|
98
|
+
zodExport: EmptyStatePropsSchema
|
|
99
|
+
i18nKeys: ["EmptyState.error.invalidProps"]
|
|
100
|
+
sizeLimit: "15KB"
|
|
101
|
+
a11yLevel: WCAG-AA
|
|
102
|
+
- name: Toast
|
|
103
|
+
category: confirmation
|
|
104
|
+
schema: src/components/confirmation/Toast.schema.ts
|
|
105
|
+
zodExport: ToastPropsSchema
|
|
106
|
+
i18nKeys: ["Toast.aria.close", "Toast.error.invalidProps"]
|
|
107
|
+
sizeLimit: "20KB"
|
|
108
|
+
a11yLevel: WCAG-AA
|
|
95
109
|
- name: Alert
|
|
96
110
|
category: confirmation
|
|
97
111
|
schema: src/components/confirmation/Alert.schema.ts
|
|
@@ -149,49 +163,48 @@ components:
|
|
|
149
163
|
category: forms
|
|
150
164
|
schema: src/components/forms/Input.schema.ts
|
|
151
165
|
zodExport: InputPropsSchema
|
|
166
|
+
i18nKeys: ["Input.aria.label", "Input.error.required", "Input.error.invalid", "Input.error.tooLong", "Input.error.tooShort", "Input.error.invalidProps"]
|
|
167
|
+
sizeLimit: "10KB"
|
|
168
|
+
a11yLevel: WCAG-AA
|
|
152
169
|
- name: FieldArray
|
|
153
170
|
category: forms
|
|
154
171
|
schema: src/components/forms/FieldArray.schema.ts
|
|
155
172
|
zodExport: FieldArrayPropsSchema
|
|
156
|
-
i18nKeys: []
|
|
173
|
+
i18nKeys: ["FieldArray.aria.list", "FieldArray.aria.addItem", "FieldArray.aria.removeItem", "FieldArray.error.invalidProps"]
|
|
174
|
+
sizeLimit: "10KB"
|
|
175
|
+
a11yLevel: WCAG-AA
|
|
157
176
|
- name: Checkbox
|
|
158
177
|
category: forms
|
|
159
178
|
schema: src/components/forms/Checkbox.schema.ts
|
|
160
179
|
zodExport: CheckboxPropsSchema
|
|
161
|
-
i18nKeys: []
|
|
180
|
+
i18nKeys: ["Checkbox.aria.label", "Checkbox.error.required", "Checkbox.error.invalidProps"]
|
|
162
181
|
sizeLimit: "10KB"
|
|
163
182
|
a11yLevel: WCAG-AA
|
|
164
183
|
- name: RadioGroup
|
|
165
184
|
category: forms
|
|
166
185
|
schema: src/components/forms/RadioGroup.schema.ts
|
|
167
186
|
zodExport: RadioGroupPropsSchema
|
|
168
|
-
i18nKeys: ["RadioGroup.error.invalidProps"]
|
|
169
|
-
|
|
187
|
+
i18nKeys: ["RadioGroup.aria.label", "RadioGroup.error.required", "RadioGroup.error.invalidProps"]
|
|
188
|
+
sizeLimit: "15KB"
|
|
189
|
+
a11yLevel: WCAG-AA
|
|
170
190
|
- name: Select
|
|
171
191
|
category: forms
|
|
172
192
|
schema: src/components/forms/Select.schema.ts
|
|
173
193
|
zodExport: SelectPropsSchema
|
|
174
|
-
i18nKeys:
|
|
175
|
-
- Select.placeholder
|
|
176
|
-
- Select.search.placeholder
|
|
177
|
-
- Select.empty
|
|
178
|
-
|
|
194
|
+
i18nKeys: ["Select.placeholder", "Select.search.placeholder", "Select.empty", "Select.error.required", "Select.error.invalidProps"]
|
|
179
195
|
sizeLimit: "15KB"
|
|
180
|
-
|
|
196
|
+
a11yLevel: WCAG-AA
|
|
181
197
|
- name: Textarea
|
|
182
198
|
category: forms
|
|
183
199
|
schema: src/components/forms/Textarea.schema.ts
|
|
184
200
|
zodExport: TextareaPropsSchema
|
|
185
|
-
|
|
186
|
-
category: forms
|
|
187
|
-
schema: src/components/forms/Checkbox.schema.ts
|
|
188
|
-
zodExport: CheckboxPropsSchema
|
|
189
|
-
i18nKeys: []
|
|
201
|
+
i18nKeys: ["Textarea.aria.label", "Textarea.error.required", "Textarea.error.tooLong", "Textarea.counter.remaining", "Textarea.error.invalidProps"]
|
|
190
202
|
sizeLimit: "10KB"
|
|
203
|
+
a11yLevel: WCAG-AA
|
|
191
204
|
- name: MultiSelect
|
|
192
205
|
category: forms
|
|
193
206
|
schema: src/components/forms/MultiSelect.schema.ts
|
|
194
207
|
zodExport: MultiSelectPropsSchema
|
|
195
|
-
i18nKeys: []
|
|
208
|
+
i18nKeys: ["MultiSelect.aria.label", "MultiSelect.aria.removeChip", "MultiSelect.error.required", "MultiSelect.error.maxItems", "MultiSelect.placeholder", "MultiSelect.search.placeholder", "MultiSelect.empty", "MultiSelect.error.invalidProps"]
|
|
196
209
|
sizeLimit: "20KB"
|
|
197
210
|
a11yLevel: WCAG-AA
|