@vmz/ui 0.0.3 → 0.1.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.
Files changed (53) hide show
  1. package/README.md +28 -1
  2. package/conformance/fixtures/button-control-motion.json +22 -0
  3. package/conformance/fixtures/dialog-overlay-motion.json +27 -0
  4. package/conformance/fixtures/drawer-overlay-motion.json +27 -0
  5. package/conformance/pack.v0.json +7 -0
  6. package/contracts/token-requirements.v0.json +643 -2
  7. package/package.json +50 -2
  8. package/presets/web-surface.v0.json +34 -0
  9. package/src/components/Accordion.vmz +112 -0
  10. package/src/components/Alert.vmz +84 -0
  11. package/src/components/AppShell.vmz +97 -0
  12. package/src/components/Autocomplete.vmz +176 -0
  13. package/src/components/Badge.vmz +63 -0
  14. package/src/components/Breadcrumb.vmz +66 -0
  15. package/src/components/BulkActions.vmz +52 -0
  16. package/src/components/Button.vmz +78 -5
  17. package/src/components/Callout.vmz +80 -0
  18. package/src/components/Card.vmz +80 -0
  19. package/src/components/Checkbox.vmz +69 -0
  20. package/src/components/CodeBlock.vmz +67 -0
  21. package/src/components/ConsoleShell.vmz +127 -0
  22. package/src/components/DataTable.vmz +220 -0
  23. package/src/components/DatePicker.vmz +591 -0
  24. package/src/components/Dialog.vmz +442 -0
  25. package/src/components/Drawer.vmz +435 -0
  26. package/src/components/Empty.vmz +52 -0
  27. package/src/components/Field.vmz +88 -0
  28. package/src/components/FilterBar.vmz +27 -0
  29. package/src/components/Form.vmz +72 -0
  30. package/src/components/FormItem.vmz +78 -0
  31. package/src/components/Link.vmz +48 -0
  32. package/src/components/List.vmz +116 -0
  33. package/src/components/Menu.vmz +270 -0
  34. package/src/components/Notification.vmz +83 -0
  35. package/src/components/Pagination.vmz +81 -0
  36. package/src/components/Popover.vmz +253 -0
  37. package/src/components/Prose.vmz +83 -0
  38. package/src/components/QueryForm.vmz +39 -0
  39. package/src/components/RadioGroup.vmz +135 -0
  40. package/src/components/Result.vmz +84 -0
  41. package/src/components/Select.vmz +355 -0
  42. package/src/components/Skeleton.vmz +80 -0
  43. package/src/components/Spinner.vmz +45 -0
  44. package/src/components/Steps.vmz +107 -0
  45. package/src/components/Switch.vmz +109 -0
  46. package/src/components/Table.vmz +134 -0
  47. package/src/components/Tabs.vmz +132 -0
  48. package/src/components/TextArea.vmz +91 -0
  49. package/src/components/Timeline.vmz +67 -0
  50. package/src/components/Toc.vmz +77 -0
  51. package/src/components/Tooltip.vmz +68 -0
  52. package/src/components/Tree.vmz +215 -0
  53. package/src/components/Upload.vmz +1233 -0
package/README.md CHANGED
@@ -13,4 +13,31 @@ VMZ Design ≠ VMZ UI
13
13
  `componentsRoot` config.
14
14
  - **Never** hardcodes brand hex (`#176BFF`, etc.). Applications provide values via `/designs`.
15
15
 
16
- ui-automation scope: package skeleton + `Button` probe + token requirement contract + `pnpm verify`.
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
+ - DatePicker owned calendar overlay (not native `input[type=date]` popup)
25
+ - Upload multipart binary (parent-owned FormData → `#server` File/Blob; progress/cancel)
26
+ - Density / RTL / preset materialize
27
+ - Motion continuity + interrupt/cancel
28
+ - Motion compiler IR thin gate (`pnpm verify -- motion-ir`)
29
+ - UI7 conformance pack (`@vmz/ui/conformance` + `pnpm verify -- ui7`)
30
+ - `@vmz/ui-data-grid` thin gate (virtualization + pinned column — not tree/group/pivot/edit)
31
+
32
+ Verify:
33
+
34
+ ```bash
35
+ pnpm verify -- ui-automation
36
+ pnpm verify -- ui7
37
+ pnpm verify -- ui-data-grid
38
+ pnpm verify -- official-dogfood
39
+ ```
40
+
41
+ Still open relative to Browser Production Profile v1: `browser-production` aggregate core gaps,
42
+ `@vmz/ui-data-grid` deep capabilities, Upload cross-page session / multi-file parallel chunks,
43
+ `@vmz/test` Browser Host U0–U1, 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
+ }