@vantageos/mosaic 0.2.1 โ 0.3.0-alpha.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/README.md +181 -0
- package/dist/Alert.schema-BQsZGG6P.d.cts +41 -0
- package/dist/Alert.schema-BQsZGG6P.d.ts +41 -0
- package/dist/ConfirmDialog-B3CQQGmJ.d.cts +34 -0
- package/dist/ConfirmDialog-B3CQQGmJ.d.ts +34 -0
- package/dist/Skeleton.schema-BO0ca2UX.d.cts +135 -0
- package/dist/Skeleton.schema-BO0ca2UX.d.ts +135 -0
- package/dist/Tabs.schema-BzcEyeq8.d.cts +79 -0
- package/dist/Tabs.schema-BzcEyeq8.d.ts +79 -0
- package/dist/artifacts.cjs +20 -2
- package/dist/artifacts.cjs.map +1 -1
- package/dist/artifacts.js +20 -2
- package/dist/artifacts.js.map +1 -1
- package/dist/confirmation.cjs +44 -2
- package/dist/confirmation.cjs.map +1 -1
- package/dist/confirmation.d.cts +34 -1
- package/dist/confirmation.d.ts +34 -1
- package/dist/confirmation.js +41 -3
- package/dist/confirmation.js.map +1 -1
- package/dist/display.cjs +145 -2
- package/dist/display.cjs.map +1 -1
- package/dist/display.d.cts +1 -0
- package/dist/display.d.ts +1 -0
- package/dist/display.js +140 -3
- package/dist/display.js.map +1 -1
- package/dist/forms.cjs +1412 -0
- package/dist/forms.cjs.map +1 -0
- package/dist/forms.d.cts +159 -0
- package/dist/forms.d.ts +159 -0
- package/dist/forms.js +1331 -0
- package/dist/forms.js.map +1 -0
- package/dist/index-CwXVgtGb.d.cts +917 -0
- package/dist/index-CwXVgtGb.d.ts +917 -0
- package/dist/index.cjs +188 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +177 -3
- package/dist/index.js.map +1 -1
- package/dist/input.cjs +19 -0
- package/dist/input.cjs.map +1 -1
- package/dist/input.d.cts +4 -34
- package/dist/input.d.ts +4 -34
- package/dist/input.js +18 -1
- package/dist/input.js.map +1 -1
- package/dist/media.cjs +20 -2
- package/dist/media.cjs.map +1 -1
- package/dist/media.js +20 -2
- package/dist/media.js.map +1 -1
- package/dist/preact/artifacts.d.ts +2 -0
- package/dist/preact/confirmation.d.ts +86 -0
- package/dist/preact/confirmation.js +263 -0
- package/dist/preact/confirmation.js.map +1 -1
- package/dist/preact/display.d.ts +241 -0
- package/dist/preact/display.js +366 -0
- package/dist/preact/display.js.map +1 -1
- package/dist/preact/forms.d.ts +875 -0
- package/dist/preact/forms.js +1323 -0
- package/dist/preact/forms.js.map +1 -0
- package/dist/preact/index.d.ts +2 -0
- package/dist/preact/input.d.ts +89 -0
- package/dist/preact/input.js +194 -0
- package/dist/preact/input.js.map +1 -1
- package/dist/preact/media.d.ts +2 -0
- package/dist/preact/progress.d.ts +2 -0
- package/dist/progress.cjs +20 -2
- package/dist/progress.cjs.map +1 -1
- package/dist/progress.js +20 -2
- package/dist/progress.js.map +1 -1
- package/dist/react/confirmation.cjs +267 -0
- package/dist/react/confirmation.cjs.map +1 -1
- package/dist/react/confirmation.d.cts +21 -1
- package/dist/react/confirmation.d.ts +21 -1
- package/dist/react/confirmation.js +263 -0
- package/dist/react/confirmation.js.map +1 -1
- package/dist/react/display.cjs +372 -0
- package/dist/react/display.cjs.map +1 -1
- package/dist/react/display.d.cts +112 -1
- package/dist/react/display.d.ts +112 -1
- package/dist/react/display.js +362 -0
- package/dist/react/display.js.map +1 -1
- package/dist/react/forms.cjs +1384 -0
- package/dist/react/forms.cjs.map +1 -0
- package/dist/react/forms.d.cts +5 -0
- package/dist/react/forms.d.ts +5 -0
- package/dist/react/forms.js +1323 -0
- package/dist/react/forms.js.map +1 -0
- package/dist/react/input.cjs +197 -0
- package/dist/react/input.cjs.map +1 -1
- package/dist/react/input.d.cts +13 -1
- package/dist/react/input.d.ts +13 -1
- package/dist/react/input.js +194 -0
- package/dist/react/input.js.map +1 -1
- package/dist/tokens.d.cts +35 -0
- package/dist/tokens.d.ts +35 -0
- package/package.json +74 -49
- package/registry.yaml +154 -1
package/registry.yaml
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
version: "0.
|
|
1
|
+
version: "0.3.0-alpha.1"
|
|
2
2
|
components:
|
|
3
3
|
- name: ProgressBar
|
|
4
4
|
category: progress
|
|
@@ -42,3 +42,156 @@ components:
|
|
|
42
42
|
i18nKeys: ["StatusBadge.aria.status", "StatusBadge.error.invalidProps"]
|
|
43
43
|
sizeLimit: "15KB"
|
|
44
44
|
a11yLevel: WCAG-AA
|
|
45
|
+
# โโโ Forms category (NEW 7th category โ v0.3.0-alpha.1 scaffold T10) โโโโโโโโ
|
|
46
|
+
# Wrapper around react-hook-form + @hookform/resolvers/zod. Field primitives
|
|
47
|
+
# (Input, Textarea, Select, Checkbox, MultiSelect, RadioGroup, FieldArray)
|
|
48
|
+
# land in T11-T20 per docs/v0.3.0-plan.md ยง7.
|
|
49
|
+
- name: useMosaicForm
|
|
50
|
+
category: forms
|
|
51
|
+
schema: src/components/forms/useMosaicForm.schema.ts
|
|
52
|
+
zodExport: UseMosaicFormOptionsSchema
|
|
53
|
+
i18nKeys: []
|
|
54
|
+
sizeLimit: "20KB"
|
|
55
|
+
a11yLevel: WCAG-AA
|
|
56
|
+
- name: FormProvider
|
|
57
|
+
category: forms
|
|
58
|
+
schema: src/components/forms/FormProvider.schema.ts
|
|
59
|
+
zodExport: FormProviderPropsSchema
|
|
60
|
+
i18nKeys: []
|
|
61
|
+
sizeLimit: "10KB"
|
|
62
|
+
a11yLevel: WCAG-AA
|
|
63
|
+
- name: FormField
|
|
64
|
+
category: forms
|
|
65
|
+
schema: src/components/forms/FormField.schema.ts
|
|
66
|
+
zodExport: FormFieldPropsSchema
|
|
67
|
+
i18nKeys: []
|
|
68
|
+
sizeLimit: "10KB"
|
|
69
|
+
a11yLevel: WCAG-AA
|
|
70
|
+
- name: ErrorDisplay
|
|
71
|
+
category: forms
|
|
72
|
+
schema: src/components/forms/ErrorDisplay.schema.ts
|
|
73
|
+
zodExport: ErrorDisplayPropsSchema
|
|
74
|
+
i18nKeys: []
|
|
75
|
+
sizeLimit: "5KB"
|
|
76
|
+
a11yLevel: WCAG-AA
|
|
77
|
+
- name: SubmitButton
|
|
78
|
+
category: forms
|
|
79
|
+
schema: src/components/forms/SubmitButton.schema.ts
|
|
80
|
+
zodExport: SubmitButtonPropsSchema
|
|
81
|
+
i18nKeys: []
|
|
82
|
+
sizeLimit: "10KB"
|
|
83
|
+
a11yLevel: WCAG-AA
|
|
84
|
+
runtimes: ["react", "preact"]
|
|
85
|
+
convergence: ["chi", "hermes"]
|
|
86
|
+
- name: Skeleton
|
|
87
|
+
category: display
|
|
88
|
+
schema: src/components/display/Skeleton.schema.ts
|
|
89
|
+
zodExport: SkeletonPropsSchema
|
|
90
|
+
i18nKeys: ["Skeleton.aria.label", "Skeleton.error.invalidProps"]
|
|
91
|
+
sizeLimit: "80KB"
|
|
92
|
+
a11yLevel: WCAG-AA
|
|
93
|
+
runtimes: ["react", "preact"]
|
|
94
|
+
convergence: ["hermes", "chi"]
|
|
95
|
+
- name: Alert
|
|
96
|
+
category: confirmation
|
|
97
|
+
schema: src/components/confirmation/Alert.schema.ts
|
|
98
|
+
zodExport: AlertPropsSchema
|
|
99
|
+
i18nKeys: ["Alert.aria.dismiss", "Alert.error.invalidProps"]
|
|
100
|
+
sizeLimit: "30KB"
|
|
101
|
+
a11yLevel: WCAG-AA
|
|
102
|
+
runtimes: ["react", "preact"]
|
|
103
|
+
convergence: ["hermes", "demeter"]
|
|
104
|
+
wcag:
|
|
105
|
+
- variant=error โ role=alert + aria-live=assertive
|
|
106
|
+
- all others โ role=status + aria-live=polite
|
|
107
|
+
- aria-atomic=true on container
|
|
108
|
+
- dismiss button aria-label localized (EN + FR)
|
|
109
|
+
- dismiss button focus-visible ring
|
|
110
|
+
- PERSISTENT inline (no auto-dismiss)
|
|
111
|
+
- name: Tabs
|
|
112
|
+
category: input
|
|
113
|
+
schema: src/components/input/Tabs.schema.ts
|
|
114
|
+
zodExport: TabsPropsSchema
|
|
115
|
+
i18nKeys: ["Tabs.error.invalidProps"]
|
|
116
|
+
sizeLimit: "30KB"
|
|
117
|
+
a11yLevel: WCAG-AA
|
|
118
|
+
runtimes: ["react", "preact"]
|
|
119
|
+
convergence: ["hermes"]
|
|
120
|
+
wcag:
|
|
121
|
+
- role=tablist on container
|
|
122
|
+
- role=tab + aria-selected + aria-controls on each tab button
|
|
123
|
+
- role=tabpanel + aria-labelledby on each panel
|
|
124
|
+
- roving tabindex (active tab = 0, others = -1)
|
|
125
|
+
- ArrowLeft/Right (horizontal) or ArrowUp/Down (vertical)
|
|
126
|
+
- Home/End keyboard navigation
|
|
127
|
+
- disabled tabs skipped in keyboard nav
|
|
128
|
+
- name: VirtualList
|
|
129
|
+
category: display
|
|
130
|
+
schema: src/components/display/VirtualList.schema.ts
|
|
131
|
+
zodExport: VirtualListPropsSchema
|
|
132
|
+
i18nKeys: ["VirtualList.empty.message", "VirtualList.error.invalidProps"]
|
|
133
|
+
sizeLimit: "80KB"
|
|
134
|
+
a11yLevel: WCAG-AA
|
|
135
|
+
crossRuntime: true
|
|
136
|
+
runtimes: ["react", "preact"]
|
|
137
|
+
convergence: ["Hermes", "Mu", "future-BUs"]
|
|
138
|
+
- name: ConfirmModal
|
|
139
|
+
category: confirmation
|
|
140
|
+
alias: true
|
|
141
|
+
aliasOf: ConfirmDialog
|
|
142
|
+
schema: src/components/input/ConfirmDialog.schema.ts
|
|
143
|
+
zodExport: ConfirmDialogPropsSchema
|
|
144
|
+
i18nKeys: ["ConfirmDialog.button.confirm", "ConfirmDialog.button.cancel", "ConfirmDialog.aria.dialog"]
|
|
145
|
+
sizeLimit: "30KB"
|
|
146
|
+
a11yLevel: WCAG-AA
|
|
147
|
+
note: "v0.3.0-alpha.0 T9 โ thin re-export of ConfirmDialog under the ConfirmModal name for Chi gptpowerups-extension naming bridge. Referential identity invariant. Exposed on @vantageos/mosaic/{react,preact}/confirmation."
|
|
148
|
+
- name: Input
|
|
149
|
+
category: forms
|
|
150
|
+
schema: src/components/forms/Input.schema.ts
|
|
151
|
+
zodExport: InputPropsSchema
|
|
152
|
+
- name: FieldArray
|
|
153
|
+
category: forms
|
|
154
|
+
schema: src/components/forms/FieldArray.schema.ts
|
|
155
|
+
zodExport: FieldArrayPropsSchema
|
|
156
|
+
i18nKeys: []
|
|
157
|
+
- name: Checkbox
|
|
158
|
+
category: forms
|
|
159
|
+
schema: src/components/forms/Checkbox.schema.ts
|
|
160
|
+
zodExport: CheckboxPropsSchema
|
|
161
|
+
i18nKeys: []
|
|
162
|
+
sizeLimit: "10KB"
|
|
163
|
+
a11yLevel: WCAG-AA
|
|
164
|
+
- name: RadioGroup
|
|
165
|
+
category: forms
|
|
166
|
+
schema: src/components/forms/RadioGroup.schema.ts
|
|
167
|
+
zodExport: RadioGroupPropsSchema
|
|
168
|
+
i18nKeys: ["RadioGroup.error.invalidProps"]
|
|
169
|
+
# โโโ Forms field primitives (Wave 2 T11-T20) โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
170
|
+
- name: Select
|
|
171
|
+
category: forms
|
|
172
|
+
schema: src/components/forms/Select.schema.ts
|
|
173
|
+
zodExport: SelectPropsSchema
|
|
174
|
+
i18nKeys:
|
|
175
|
+
- Select.placeholder
|
|
176
|
+
- Select.search.placeholder
|
|
177
|
+
- Select.empty
|
|
178
|
+
|
|
179
|
+
sizeLimit: "15KB"
|
|
180
|
+
# โโโ Forms field primitives (Wave 2 T11-T20) โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
|
|
181
|
+
- name: Textarea
|
|
182
|
+
category: forms
|
|
183
|
+
schema: src/components/forms/Textarea.schema.ts
|
|
184
|
+
zodExport: TextareaPropsSchema
|
|
185
|
+
- name: Checkbox
|
|
186
|
+
category: forms
|
|
187
|
+
schema: src/components/forms/Checkbox.schema.ts
|
|
188
|
+
zodExport: CheckboxPropsSchema
|
|
189
|
+
i18nKeys: []
|
|
190
|
+
sizeLimit: "10KB"
|
|
191
|
+
- name: MultiSelect
|
|
192
|
+
category: forms
|
|
193
|
+
schema: src/components/forms/MultiSelect.schema.ts
|
|
194
|
+
zodExport: MultiSelectPropsSchema
|
|
195
|
+
i18nKeys: []
|
|
196
|
+
sizeLimit: "20KB"
|
|
197
|
+
a11yLevel: WCAG-AA
|