@vmz/ui 0.0.3 → 0.0.4
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 +23 -1
- package/conformance/fixtures/button-control-motion.json +22 -0
- package/conformance/fixtures/dialog-overlay-motion.json +27 -0
- package/conformance/fixtures/drawer-overlay-motion.json +27 -0
- package/conformance/pack.v0.json +7 -0
- package/contracts/token-requirements.v0.json +604 -2
- package/package.json +50 -2
- package/presets/web-surface.v0.json +34 -0
- package/src/components/Accordion.vmz +112 -0
- package/src/components/Alert.vmz +84 -0
- package/src/components/AppShell.vmz +97 -0
- package/src/components/Autocomplete.vmz +176 -0
- package/src/components/Badge.vmz +63 -0
- package/src/components/Breadcrumb.vmz +66 -0
- package/src/components/BulkActions.vmz +52 -0
- package/src/components/Button.vmz +71 -4
- package/src/components/Callout.vmz +80 -0
- package/src/components/Card.vmz +81 -0
- package/src/components/Checkbox.vmz +69 -0
- package/src/components/CodeBlock.vmz +67 -0
- package/src/components/ConsoleShell.vmz +127 -0
- package/src/components/DataTable.vmz +220 -0
- package/src/components/DatePicker.vmz +93 -0
- package/src/components/Dialog.vmz +442 -0
- package/src/components/Drawer.vmz +435 -0
- package/src/components/Empty.vmz +52 -0
- package/src/components/Field.vmz +88 -0
- package/src/components/FilterBar.vmz +27 -0
- package/src/components/Form.vmz +72 -0
- package/src/components/FormItem.vmz +78 -0
- package/src/components/Link.vmz +48 -0
- package/src/components/List.vmz +116 -0
- package/src/components/Menu.vmz +270 -0
- package/src/components/Notification.vmz +83 -0
- package/src/components/Pagination.vmz +81 -0
- package/src/components/Popover.vmz +253 -0
- package/src/components/Prose.vmz +83 -0
- package/src/components/QueryForm.vmz +39 -0
- package/src/components/RadioGroup.vmz +135 -0
- package/src/components/Result.vmz +84 -0
- package/src/components/Select.vmz +351 -0
- package/src/components/Skeleton.vmz +80 -0
- package/src/components/Spinner.vmz +45 -0
- package/src/components/Steps.vmz +107 -0
- package/src/components/Switch.vmz +109 -0
- package/src/components/Table.vmz +134 -0
- package/src/components/Tabs.vmz +132 -0
- package/src/components/TextArea.vmz +91 -0
- package/src/components/Timeline.vmz +67 -0
- package/src/components/Toc.vmz +77 -0
- package/src/components/Tooltip.vmz +68 -0
- package/src/components/Tree.vmz +215 -0
- package/src/components/Upload.vmz +102 -0
package/README.md
CHANGED
|
@@ -13,4 +13,26 @@ VMZ Design ≠ VMZ UI
|
|
|
13
13
|
`componentsRoot` config.
|
|
14
14
|
- **Never** hardcodes brand hex (`#176BFF`, etc.). Applications provide values via `/designs`.
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
## Preview `0.0.4`
|
|
17
|
+
|
|
18
|
+
This is a **preview** release. It is **not** `production-ready` and **not** a mature / production UI.
|
|
19
|
+
|
|
20
|
+
Headline surface for this cut:
|
|
21
|
+
|
|
22
|
+
- Commercial / Console / Document-Product composition dogfood (homepage)
|
|
23
|
+
- Form depth, Structure, Overlay stacking, DataTable (ordinary HTML table — not `@vmz/ui-data-grid`)
|
|
24
|
+
- Density / RTL / preset materialize
|
|
25
|
+
- Motion continuity + interrupt/cancel
|
|
26
|
+
- Motion compiler IR thin gate (`pnpm verify -- motion-ir`)
|
|
27
|
+
- UI7 conformance pack (`@vmz/ui/conformance` + `pnpm verify -- ui7`)
|
|
28
|
+
|
|
29
|
+
Verify:
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
pnpm verify -- ui-automation
|
|
33
|
+
pnpm verify -- ui7
|
|
34
|
+
pnpm verify -- official-dogfood
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Still open relative to Browser Production Profile v1: `browser-production` aggregate core gaps, `@vmz/ui-data-grid`, UI7
|
|
38
|
+
browser-timing depth, sibling `vmz-panel` product app.
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "vmz.ui.conformance.fixture.v0",
|
|
3
|
+
"id": "ui7.button.control-motion",
|
|
4
|
+
"title": "Button control Motion IR — Style Theme token family",
|
|
5
|
+
"artifact": {
|
|
6
|
+
"kind": "program.json",
|
|
7
|
+
"component": "Button"
|
|
8
|
+
},
|
|
9
|
+
"assertions": [
|
|
10
|
+
{
|
|
11
|
+
"schema": "vmz.test.assertion.v0",
|
|
12
|
+
"kind": "motion",
|
|
13
|
+
"expect": {
|
|
14
|
+
"status": "partial",
|
|
15
|
+
"kinds": ["control"],
|
|
16
|
+
"token": "motion.control",
|
|
17
|
+
"reducedMotion": "honor",
|
|
18
|
+
"planMotionTransition": true
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "vmz.ui.conformance.fixture.v0",
|
|
3
|
+
"id": "ui7.dialog.overlay-motion",
|
|
4
|
+
"title": "Dialog overlay Motion IR — token + region affects + cancel edges",
|
|
5
|
+
"artifact": {
|
|
6
|
+
"kind": "program.json",
|
|
7
|
+
"component": "Dialog"
|
|
8
|
+
},
|
|
9
|
+
"assertions": [
|
|
10
|
+
{
|
|
11
|
+
"schema": "vmz.test.assertion.v0",
|
|
12
|
+
"kind": "motion",
|
|
13
|
+
"expect": {
|
|
14
|
+
"status": "partial",
|
|
15
|
+
"kinds": ["overlay-enter", "overlay-exit"],
|
|
16
|
+
"token": "motion.overlay",
|
|
17
|
+
"cancelable": true,
|
|
18
|
+
"generation": true,
|
|
19
|
+
"reducedMotion": "honor",
|
|
20
|
+
"hasRegion": true,
|
|
21
|
+
"affectsRegion": true,
|
|
22
|
+
"cancelsFrom": ["motion:reverse", "effect:_cancelExit", "lifecycle:destroy"],
|
|
23
|
+
"planMotionTransition": true
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "vmz.ui.conformance.fixture.v0",
|
|
3
|
+
"id": "ui7.drawer.overlay-motion",
|
|
4
|
+
"title": "Drawer overlay Motion IR — token + region affects + cancel edges",
|
|
5
|
+
"artifact": {
|
|
6
|
+
"kind": "program.json",
|
|
7
|
+
"component": "Drawer"
|
|
8
|
+
},
|
|
9
|
+
"assertions": [
|
|
10
|
+
{
|
|
11
|
+
"schema": "vmz.test.assertion.v0",
|
|
12
|
+
"kind": "motion",
|
|
13
|
+
"expect": {
|
|
14
|
+
"status": "partial",
|
|
15
|
+
"kinds": ["overlay-enter", "overlay-exit"],
|
|
16
|
+
"token": "motion.overlay",
|
|
17
|
+
"cancelable": true,
|
|
18
|
+
"generation": true,
|
|
19
|
+
"reducedMotion": "honor",
|
|
20
|
+
"hasRegion": true,
|
|
21
|
+
"affectsRegion": true,
|
|
22
|
+
"cancelsFrom": ["motion:reverse", "effect:_cancelExit", "lifecycle:destroy"],
|
|
23
|
+
"planMotionTransition": true
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema": "vmz.ui.conformance.pack.v0",
|
|
3
|
+
"id": "ui7",
|
|
4
|
+
"title": "@vmz/ui conformance pack (thin)",
|
|
5
|
+
"description": "External fixtures for Motion IR depth + overlay/control contracts. Consumed by pnpm verify -- ui7 (program.json + vmz test compile motion). Not a second test framework.",
|
|
6
|
+
"fixtures": ["fixtures/dialog-overlay-motion.json", "fixtures/drawer-overlay-motion.json", "fixtures/button-control-motion.json"]
|
|
7
|
+
}
|