@ghostvue/mcp 0.1.0 → 0.2.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/dist/assets/bundle.json +2 -2
- package/dist/assets/component-exports.json +1 -0
- package/dist/assets/docs/pages.json +1 -1
- package/dist/assets/examples/catalog.json +1 -1
- package/dist/assets/examples/sources/accordion/billing-faq.vue +123 -0
- package/dist/assets/examples/sources/avatar/team-roster.vue +69 -5
- package/dist/assets/examples/sources/badge/release-channels.vue +1 -1
- package/dist/assets/examples/sources/breadcrumb/basic.vue +60 -15
- package/dist/assets/examples/sources/button/refresh-status.vue +95 -0
- package/dist/assets/examples/sources/calendar/availability.vue +235 -0
- package/dist/assets/examples/sources/calendar/office-locale.vue +197 -0
- package/dist/assets/examples/sources/card/project-summary.vue +38 -3
- package/dist/assets/examples/sources/checkbox-group/basic.vue +56 -0
- package/dist/assets/examples/sources/checkbox-group/field.vue +73 -0
- package/dist/assets/examples/sources/checkbox-group/form.vue +100 -0
- package/dist/assets/examples/sources/checkbox-group/headless.vue +68 -0
- package/dist/assets/examples/sources/checkbox-group/notification-preferences.vue +380 -0
- package/dist/assets/examples/sources/collapsible/shipment-history.vue +135 -0
- package/dist/assets/examples/sources/combobox/review-request-form.vue +415 -0
- package/dist/assets/examples/sources/command-palette/async.vue +60 -12
- package/dist/assets/examples/sources/command-palette/basic.vue +123 -2
- package/dist/assets/examples/sources/command-palette/shortcut.vue +132 -5
- package/dist/assets/examples/sources/command-palette/themed.vue +44 -4
- package/dist/assets/examples/sources/command-palette/virtualized.vue +124 -3
- package/dist/assets/examples/sources/context-menu/themed.vue +81 -26
- package/dist/assets/examples/sources/data-table/themed-invoices.vue +219 -44
- package/dist/assets/examples/sources/date-picker/controlled.vue +8 -293
- package/dist/assets/examples/sources/date-picker/custom-format.vue +6 -295
- package/dist/assets/examples/sources/date-picker/nested-dialog.vue +28 -350
- package/dist/assets/examples/sources/date-picker/rtl.vue +5 -294
- package/dist/assets/examples/sources/date-picker/themed.vue +2 -2
- package/dist/assets/examples/sources/date-picker/validation.vue +8 -294
- package/dist/assets/examples/sources/dropdown-menu/nested-export.vue +56 -0
- package/dist/assets/examples/sources/empty-state/search-results.vue +26 -1
- package/dist/assets/examples/sources/field/billing-address-headless.vue +93 -0
- package/dist/assets/examples/sources/field/billing-address.vue +192 -0
- package/dist/assets/examples/sources/field/checkbox.vue +10 -2
- package/dist/assets/examples/sources/field/themed.vue +12 -11
- package/dist/assets/examples/sources/file-upload/asset-submission.vue +96 -36
- package/dist/assets/examples/sources/form/async-validation.vue +180 -0
- package/dist/assets/examples/sources/form/composable.vue +146 -0
- package/dist/assets/examples/sources/form/nested-webhooks.vue +233 -0
- package/dist/assets/examples/sources/form/profile-schema.vue +376 -0
- package/dist/assets/examples/sources/inline-alert/billing-notices.vue +26 -5
- package/dist/assets/examples/sources/inline-alert/feed-status.vue +229 -0
- package/dist/assets/examples/sources/input/clearable-search-headless.vue +162 -0
- package/dist/assets/examples/sources/input/clearable-search.vue +225 -0
- package/dist/assets/examples/sources/input/unit-suffix.vue +109 -0
- package/dist/assets/examples/sources/interactive-surface/basic.vue +20 -8
- package/dist/assets/examples/sources/interactive-surface/feature-tiles.vue +42 -8
- package/dist/assets/examples/sources/kbd/command-shortcuts.vue +0 -1
- package/dist/assets/examples/sources/link/documentation-footer.vue +11 -4
- package/dist/assets/examples/sources/link/router.vue +9 -5
- package/dist/assets/examples/sources/menubar/themed.vue +46 -10
- package/dist/assets/examples/sources/number-input/order-limits.vue +5 -0
- package/dist/assets/examples/sources/number-input/themed.vue +12 -6
- package/dist/assets/examples/sources/number-input/workshop-booking.vue +207 -0
- package/dist/assets/examples/sources/pagination/controlled.vue +83 -18
- package/dist/assets/examples/sources/pagination/ellipsis.vue +44 -14
- package/dist/assets/examples/sources/pagination/themed.vue +161 -21
- package/dist/assets/examples/sources/presence/basic.vue +81 -0
- package/dist/assets/examples/sources/presence/portal.vue +92 -0
- package/dist/assets/examples/sources/progress/report-export.vue +160 -0
- package/dist/assets/examples/sources/scroll-area/activity-feed.vue +0 -1
- package/dist/assets/examples/sources/scroll-area/horizontal.vue +169 -14
- package/dist/assets/examples/sources/scroll-area/themed.vue +42 -3
- package/dist/assets/examples/sources/scroll-spy/themed.vue +180 -31
- package/dist/assets/examples/sources/select/alert-routing-form.vue +356 -0
- package/dist/assets/examples/sources/select/multiple-form.vue +201 -0
- package/dist/assets/examples/sources/select/multiple-labels.vue +142 -0
- package/dist/assets/examples/sources/skeleton/profile-loading.vue +28 -4
- package/dist/assets/examples/sources/slider/audio-mixer.vue +8 -2
- package/dist/assets/examples/sources/slider/price-filter.vue +162 -0
- package/dist/assets/examples/sources/slider/vertical.vue +3 -2
- package/dist/assets/examples/sources/spinner/sync-status.vue +13 -10
- package/dist/assets/examples/sources/switch/form.vue +43 -11
- package/dist/assets/examples/sources/table/contain-horizontal.vue +24 -12
- package/dist/assets/examples/sources/table/row-headers.vue +118 -19
- package/dist/assets/examples/sources/tabs/review-sections.vue +43 -0
- package/dist/assets/examples/sources/tags-input/headless-field.vue +31 -0
- package/dist/assets/examples/sources/tags-input/project-labels.vue +64 -0
- package/dist/assets/examples/sources/tags-input/read-only.vue +12 -0
- package/dist/assets/examples/sources/toast/themed.vue +42 -19
- package/dist/assets/examples/sources/toolbar/themed.vue +22 -4
- package/dist/assets/examples/sources/tooltip/themed.vue +12 -1
- package/dist/assets/examples/sources/tree/themed.vue +70 -17
- package/dist/assets/manifests/themes/ghost-accordion.manifest.json +1 -0
- package/dist/assets/manifests/themes/ghost-button.manifest.json +1 -0
- package/dist/assets/manifests/themes/ghost-calendar.manifest.json +3 -1
- package/dist/assets/manifests/themes/ghost-checkbox-group.manifest.json +90 -0
- package/dist/assets/manifests/themes/ghost-collapsible.manifest.json +1 -0
- package/dist/assets/manifests/themes/ghost-combobox.manifest.json +1 -0
- package/dist/assets/manifests/themes/ghost-command-palette.manifest.json +2 -1
- package/dist/assets/manifests/themes/ghost-date-picker.manifest.json +5 -0
- package/dist/assets/manifests/themes/ghost-dropdown-menu.manifest.json +9 -0
- package/dist/assets/manifests/themes/ghost-field.manifest.json +10 -2
- package/dist/assets/manifests/themes/ghost-inline-alert.manifest.json +1 -0
- package/dist/assets/manifests/themes/ghost-input.manifest.json +3 -1
- package/dist/assets/manifests/themes/ghost-link.manifest.json +2 -1
- package/dist/assets/manifests/themes/ghost-number-input.manifest.json +1 -0
- package/dist/assets/manifests/themes/ghost-pagination.manifest.json +6 -2
- package/dist/assets/manifests/themes/ghost-progress.manifest.json +1 -0
- package/dist/assets/manifests/themes/ghost-radio-group-item.manifest.json +63 -0
- package/dist/assets/manifests/themes/ghost-scroll-area.manifest.json +12 -2
- package/dist/assets/manifests/themes/ghost-select.manifest.json +3 -0
- package/dist/assets/manifests/themes/ghost-slider.manifest.json +1 -0
- package/dist/assets/manifests/themes/ghost-table.manifest.json +2 -1
- package/dist/assets/manifests/themes/ghost-tags-input.manifest.json +255 -0
- package/dist/assets/manifests/vue/ghost-checkbox-group.manifest.json +173 -0
- package/dist/assets/manifests/vue/ghost-command-palette-content.manifest.json +6 -2
- package/dist/assets/manifests/vue/ghost-command-palette-overlay.manifest.json +6 -2
- package/dist/assets/manifests/vue/ghost-command-palette.manifest.json +0 -1
- package/dist/assets/manifests/vue/ghost-context-menu-content.manifest.json +3 -3
- package/dist/assets/manifests/vue/ghost-context-menu.manifest.json +1 -1
- package/dist/assets/manifests/vue/ghost-data-table-preset.manifest.json +1 -1
- package/dist/assets/manifests/vue/ghost-data-table-table.manifest.json +1 -1
- package/dist/assets/manifests/vue/ghost-data-table.manifest.json +99 -2
- package/dist/assets/manifests/vue/ghost-date-picker-content.manifest.json +12 -3
- package/dist/assets/manifests/vue/ghost-date-picker.manifest.json +1 -6
- package/dist/assets/manifests/vue/ghost-dialog-content.manifest.json +6 -2
- package/dist/assets/manifests/vue/ghost-dialog-overlay.manifest.json +6 -2
- package/dist/assets/manifests/vue/ghost-drawer-content.manifest.json +6 -2
- package/dist/assets/manifests/vue/ghost-drawer-overlay.manifest.json +6 -2
- package/dist/assets/manifests/vue/ghost-field-error.manifest.json +12 -1
- package/dist/assets/manifests/vue/ghost-field.manifest.json +35 -3
- package/dist/assets/manifests/vue/ghost-form.manifest.json +221 -0
- package/dist/assets/manifests/vue/ghost-hover-card-content.manifest.json +12 -3
- package/dist/assets/manifests/vue/ghost-input.manifest.json +2 -1
- package/dist/assets/manifests/vue/ghost-link.manifest.json +1 -2
- package/dist/assets/manifests/vue/ghost-menubar-content.manifest.json +3 -3
- package/dist/assets/manifests/vue/ghost-menubar.manifest.json +4 -4
- package/dist/assets/manifests/vue/ghost-pagination.manifest.json +0 -2
- package/dist/assets/manifests/vue/ghost-popover-content.manifest.json +6 -2
- package/dist/assets/manifests/vue/ghost-presence.manifest.json +96 -0
- package/dist/assets/manifests/vue/ghost-scroll-area.manifest.json +0 -1
- package/dist/assets/manifests/vue/ghost-select-content.manifest.json +6 -1
- package/dist/assets/manifests/vue/ghost-select-group.manifest.json +6 -1
- package/dist/assets/manifests/vue/ghost-select-label.manifest.json +6 -1
- package/dist/assets/manifests/vue/ghost-select-option.manifest.json +6 -1
- package/dist/assets/manifests/vue/ghost-select-trigger.manifest.json +6 -1
- package/dist/assets/manifests/vue/ghost-select-value.manifest.json +18 -2
- package/dist/assets/manifests/vue/ghost-select.manifest.json +18 -6
- package/dist/assets/manifests/vue/ghost-submenu-content.manifest.json +168 -0
- package/dist/assets/manifests/vue/ghost-submenu-trigger.manifest.json +102 -0
- package/dist/assets/manifests/vue/ghost-submenu.manifest.json +59 -0
- package/dist/assets/manifests/vue/ghost-table.manifest.json +0 -2
- package/dist/assets/manifests/vue/ghost-tabs.manifest.json +2 -1
- package/dist/assets/manifests/vue/ghost-tags-input.manifest.json +260 -0
- package/dist/assets/tokens.json +15 -0
- package/dist/components.d.ts +5 -0
- package/dist/components.js +80 -11
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"name": "GhostContextMenu",
|
|
5
5
|
"package": "@ghostvue/vue",
|
|
6
6
|
"status": "experimental",
|
|
7
|
-
"description": "
|
|
7
|
+
"description": "Provides open state and a pointer anchor for a context menu with flat or nested file and item actions.",
|
|
8
8
|
"props": [
|
|
9
9
|
{
|
|
10
10
|
"name": "defaultOpen",
|
|
@@ -166,6 +166,6 @@
|
|
|
166
166
|
"spec": {
|
|
167
167
|
"path": "docs/components/data-table-spec.md",
|
|
168
168
|
"status": "approved",
|
|
169
|
-
"evidence": "Zac approved the headless spec in PR #272 and the themed addendum in PR #374 (merge 5fd3fd46)."
|
|
169
|
+
"evidence": "Zac approved the headless spec in PR #272 and the themed addendum in PR #374 (merge 5fd3fd46). On 2026-11-29 he approved Q1–Q5 for the 0.3.0 multi-sort addendum in chat, recorded in #585."
|
|
170
170
|
}
|
|
171
171
|
}
|
|
@@ -51,6 +51,6 @@
|
|
|
51
51
|
"spec": {
|
|
52
52
|
"path": "docs/components/data-table-spec.md",
|
|
53
53
|
"status": "approved",
|
|
54
|
-
"evidence": "Zac approved the headless spec in PR #272 and the themed addendum in PR #374 (merge 5fd3fd46)."
|
|
54
|
+
"evidence": "Zac approved the headless spec in PR #272 and the themed addendum in PR #374 (merge 5fd3fd46). On 2026-11-29 he approved Q1–Q5 for the 0.3.0 multi-sort addendum in chat, recorded in #585."
|
|
55
55
|
}
|
|
56
56
|
}
|
|
@@ -256,7 +256,104 @@
|
|
|
256
256
|
"description": "Primary content."
|
|
257
257
|
}
|
|
258
258
|
],
|
|
259
|
-
"exposed": [
|
|
259
|
+
"exposed": [
|
|
260
|
+
{
|
|
261
|
+
"name": "getPrePaginationRowModel",
|
|
262
|
+
"kind": "method",
|
|
263
|
+
"type": "() => readonly import('./ghost-data-table').DataTableRow<TData>[]",
|
|
264
|
+
"description": "Exposed method `getPrePaginationRowModel`."
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"name": "getRowModel",
|
|
268
|
+
"kind": "method",
|
|
269
|
+
"type": "() => readonly import('./ghost-data-table').DataTableRow<TData>[]",
|
|
270
|
+
"description": "Exposed method `getRowModel`."
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
"name": "getSelectedRowModel",
|
|
274
|
+
"kind": "method",
|
|
275
|
+
"type": "() => readonly import('./ghost-data-table').DataTableRow<TData>[]",
|
|
276
|
+
"description": "Exposed method `getSelectedRowModel`."
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
"name": "resetRowSelection",
|
|
280
|
+
"kind": "method",
|
|
281
|
+
"type": "() => void",
|
|
282
|
+
"description": "Exposed method `resetRowSelection`."
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"name": "retry",
|
|
286
|
+
"kind": "method",
|
|
287
|
+
"type": "() => void",
|
|
288
|
+
"description": "Re-emits `stateChange` with the current query and a fresh `requestId`."
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"name": "setColumnFilter",
|
|
292
|
+
"kind": "method",
|
|
293
|
+
"type": "(columnId: string, value: unknown) => void",
|
|
294
|
+
"description": "Exposed method `setColumnFilter`."
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"name": "setColumnFilters",
|
|
298
|
+
"kind": "method",
|
|
299
|
+
"type": "(columnFilters: import('./ghost-data-table').DataTableColumnFilter[]) => void",
|
|
300
|
+
"description": "Exposed method `setColumnFilters`."
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"name": "setGlobalFilter",
|
|
304
|
+
"kind": "method",
|
|
305
|
+
"type": "(globalFilter: unknown) => void",
|
|
306
|
+
"description": "Exposed method `setGlobalFilter`."
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"name": "setPageIndex",
|
|
310
|
+
"kind": "method",
|
|
311
|
+
"type": "(pageIndex: number) => void",
|
|
312
|
+
"description": "Exposed method `setPageIndex`."
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"name": "setPageSize",
|
|
316
|
+
"kind": "method",
|
|
317
|
+
"type": "(pageSize: number) => void",
|
|
318
|
+
"description": "Exposed method `setPageSize`."
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"name": "setPagination",
|
|
322
|
+
"kind": "method",
|
|
323
|
+
"type": "(pagination: import('./ghost-data-table').DataTablePaginationState) => void",
|
|
324
|
+
"description": "Exposed method `setPagination`."
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"name": "setSorting",
|
|
328
|
+
"kind": "method",
|
|
329
|
+
"type": "(sorting: import('./ghost-data-table').DataTableColumnSort[]) => void",
|
|
330
|
+
"description": "Exposed method `setSorting`."
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"name": "toggleAllRowsSelected",
|
|
334
|
+
"kind": "method",
|
|
335
|
+
"type": "(value?: boolean) => void",
|
|
336
|
+
"description": "Exposed method `toggleAllRowsSelected`."
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"name": "toggleRowExpanded",
|
|
340
|
+
"kind": "method",
|
|
341
|
+
"type": "(rowId: import('./ghost-data-table').DataTableRowId, value?: boolean) => void",
|
|
342
|
+
"description": "Exposed method `toggleRowExpanded`."
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"name": "toggleRowSelected",
|
|
346
|
+
"kind": "method",
|
|
347
|
+
"type": "(rowId: import('./ghost-data-table').DataTableRowId, value?: boolean) => void",
|
|
348
|
+
"description": "Exposed method `toggleRowSelected`."
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
"name": "toggleSorting",
|
|
352
|
+
"kind": "method",
|
|
353
|
+
"type": "(columnId: string) => void",
|
|
354
|
+
"description": "Exposed method `toggleSorting`."
|
|
355
|
+
}
|
|
356
|
+
],
|
|
260
357
|
"styling": {
|
|
261
358
|
"parts": [],
|
|
262
359
|
"states": [],
|
|
@@ -282,6 +379,6 @@
|
|
|
282
379
|
"spec": {
|
|
283
380
|
"path": "docs/components/data-table-spec.md",
|
|
284
381
|
"status": "approved",
|
|
285
|
-
"evidence": "Zac approved the headless spec in PR #272 and the themed addendum in PR #374 (merge 5fd3fd46)."
|
|
382
|
+
"evidence": "Zac approved the headless spec in PR #272 and the themed addendum in PR #374 (merge 5fd3fd46). On 2026-11-29 he approved Q1–Q5 for the 0.3.0 multi-sort addendum in chat, recorded in #585."
|
|
286
383
|
}
|
|
287
384
|
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"name": "GhostDatePickerContent",
|
|
5
5
|
"package": "@ghostvue/vue",
|
|
6
6
|
"status": "experimental",
|
|
7
|
-
"description": "Anchored modal dialog positioned next to the input, with a Close control, error summary, polite status, and the calendar by default.",
|
|
7
|
+
"description": "Anchored modal dialog positioned next to the input, with a Close control, error summary, polite status, and the calendar by default. After logical close it stays mounted with data-state=\"closed\", inert, and pointer-events: none only while its own CSS exit transition or animation runs (useGhostPresence), then unmounts; focus, dismissal, scroll lock, and background inert release immediately.",
|
|
8
8
|
"props": [
|
|
9
9
|
{
|
|
10
10
|
"name": "closeLabel",
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
"name": "element",
|
|
100
100
|
"kind": "property",
|
|
101
101
|
"type": "HTMLElement | null",
|
|
102
|
-
"description": "
|
|
102
|
+
"description": "Mounted picker surface element while open or exiting; null once unmounted."
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
105
|
"name": "focus",
|
|
@@ -110,7 +110,16 @@
|
|
|
110
110
|
],
|
|
111
111
|
"styling": {
|
|
112
112
|
"parts": [],
|
|
113
|
-
"states": [
|
|
113
|
+
"states": [
|
|
114
|
+
{
|
|
115
|
+
"name": "open",
|
|
116
|
+
"description": "Applied on data-state while mounted and open."
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "closed",
|
|
120
|
+
"description": "Applied on data-state while the surface plays its exit motion after logical close; the surface is also inert with inline pointer-events: none until it unmounts."
|
|
121
|
+
}
|
|
122
|
+
],
|
|
114
123
|
"cssProperties": []
|
|
115
124
|
},
|
|
116
125
|
"accessibility": {
|
|
@@ -337,12 +337,7 @@
|
|
|
337
337
|
},
|
|
338
338
|
"examples": [
|
|
339
339
|
"date-picker/basic",
|
|
340
|
-
"date-picker/range"
|
|
341
|
-
"date-picker/controlled",
|
|
342
|
-
"date-picker/validation",
|
|
343
|
-
"date-picker/custom-format",
|
|
344
|
-
"date-picker/rtl",
|
|
345
|
-
"date-picker/nested-dialog"
|
|
340
|
+
"date-picker/range"
|
|
346
341
|
],
|
|
347
342
|
"spec": {
|
|
348
343
|
"path": "docs/components/date-picker-spec.md",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"name": "GhostDialogContent",
|
|
5
5
|
"package": "@ghostvue/vue",
|
|
6
6
|
"status": "experimental",
|
|
7
|
-
"description": "Headless dialog surface for GhostDialog. Composes GhostPortal, useScrollLock, useInertOthers, useDismissableLayer, and
|
|
7
|
+
"description": "Headless dialog surface for GhostDialog. Composes GhostPortal, useScrollLock, useInertOthers, useDismissableLayer, useFocusScope, and useGhostPresence, and is unmounted while closed. After logical close it stays mounted with data-state=\"closed\", inert, and pointer-events: none only while its own CSS exit transition or animation runs (useGhostPresence), then unmounts; focus, dismissal, scroll lock, and background inert release immediately.",
|
|
8
8
|
"props": [
|
|
9
9
|
{
|
|
10
10
|
"name": "as",
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"name": "element",
|
|
97
97
|
"kind": "property",
|
|
98
98
|
"type": "HTMLElement | null",
|
|
99
|
-
"description": "
|
|
99
|
+
"description": "Mounted dialog surface element while open or exiting; null once unmounted."
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
102
|
"name": "focus",
|
|
@@ -116,6 +116,10 @@
|
|
|
116
116
|
{
|
|
117
117
|
"name": "open",
|
|
118
118
|
"description": "Applied on data-state while mounted and open."
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "closed",
|
|
122
|
+
"description": "Applied on data-state while the surface plays its exit motion after logical close; the surface is also inert with inline pointer-events: none until it unmounts."
|
|
119
123
|
}
|
|
120
124
|
],
|
|
121
125
|
"cssProperties": []
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"name": "GhostDialogOverlay",
|
|
5
5
|
"package": "@ghostvue/vue",
|
|
6
6
|
"status": "experimental",
|
|
7
|
-
"description": "Headless modal backdrop overlay for GhostDialog. Renders only when the dialog is open and modal is true; marked aria-hidden=\"true\" and excluded from inert isolation.",
|
|
7
|
+
"description": "Headless modal backdrop overlay for GhostDialog. Renders only when the dialog is open and modal is true; marked aria-hidden=\"true\" and excluded from inert isolation. After logical close it stays mounted with data-state=\"closed\" and pointer-events: none only while its own CSS exit fade runs, then unmounts.",
|
|
8
8
|
"props": [
|
|
9
9
|
{
|
|
10
10
|
"name": "as",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"name": "element",
|
|
52
52
|
"kind": "property",
|
|
53
53
|
"type": "HTMLElement | null",
|
|
54
|
-
"description": "
|
|
54
|
+
"description": "Mounted overlay element while open and modal or exiting; null otherwise."
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"name": "focus",
|
|
@@ -71,6 +71,10 @@
|
|
|
71
71
|
{
|
|
72
72
|
"name": "open",
|
|
73
73
|
"description": "Applied on data-state while open and modal."
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "closed",
|
|
77
|
+
"description": "Applied on data-state while the backdrop plays its exit fade after logical close; inline pointer-events: none lets clicks reach the page."
|
|
74
78
|
}
|
|
75
79
|
],
|
|
76
80
|
"cssProperties": []
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"name": "GhostDrawerContent",
|
|
5
5
|
"package": "@ghostvue/vue",
|
|
6
6
|
"status": "experimental",
|
|
7
|
-
"description": "Headless edge-anchored drawer surface for GhostDrawer. Shares GhostDialogContent's focus scope, dismissable layer, scroll lock, and inert isolation; sets data-side and a portal-safe data-dir (plus dir=\"rtl\" when right-to-left) so themes can map logical sides to physical viewport edges.
|
|
7
|
+
"description": "Headless edge-anchored drawer surface for GhostDrawer. Shares GhostDialogContent's focus scope, dismissable layer, scroll lock, and inert isolation; sets data-side and a portal-safe data-dir (plus dir=\"rtl\" when right-to-left) so themes can map logical sides to physical viewport edges. Unmounted while closed. After logical close it stays mounted with data-state=\"closed\", inert, and pointer-events: none only while its own CSS exit transition or animation runs (useGhostPresence), then unmounts; focus, dismissal, scroll lock, and background inert release immediately.",
|
|
8
8
|
"props": [
|
|
9
9
|
{
|
|
10
10
|
"name": "as",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
"name": "element",
|
|
89
89
|
"kind": "property",
|
|
90
90
|
"type": "HTMLElement | null",
|
|
91
|
-
"description": "
|
|
91
|
+
"description": "Mounted drawer surface element while open or exiting; null once unmounted."
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
"name": "focus",
|
|
@@ -109,6 +109,10 @@
|
|
|
109
109
|
"name": "open",
|
|
110
110
|
"description": "Applied on data-state while mounted and open."
|
|
111
111
|
},
|
|
112
|
+
{
|
|
113
|
+
"name": "closed",
|
|
114
|
+
"description": "Applied on data-state while the surface plays its exit motion after logical close; the surface is also inert with inline pointer-events: none until it unmounts."
|
|
115
|
+
},
|
|
112
116
|
{
|
|
113
117
|
"name": "side",
|
|
114
118
|
"description": "data-side reports the effective side (content override or root side)."
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"name": "GhostDrawerOverlay",
|
|
5
5
|
"package": "@ghostvue/vue",
|
|
6
6
|
"status": "experimental",
|
|
7
|
-
"description": "Headless modal backdrop for GhostDrawer. Renders only when the drawer is open and modal is true; marked aria-hidden=\"true\", carries data-side, and is excluded from inert isolation.",
|
|
7
|
+
"description": "Headless modal backdrop for GhostDrawer. Renders only when the drawer is open and modal is true; marked aria-hidden=\"true\", carries data-side, and is excluded from inert isolation. After logical close it stays mounted with data-state=\"closed\" and pointer-events: none only while its own CSS exit fade runs, then unmounts.",
|
|
8
8
|
"props": [
|
|
9
9
|
{
|
|
10
10
|
"name": "as",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"name": "element",
|
|
52
52
|
"kind": "property",
|
|
53
53
|
"type": "HTMLElement | null",
|
|
54
|
-
"description": "
|
|
54
|
+
"description": "Mounted overlay element while open and modal or exiting; null otherwise."
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"name": "focus",
|
|
@@ -71,6 +71,10 @@
|
|
|
71
71
|
{
|
|
72
72
|
"name": "open",
|
|
73
73
|
"description": "Applied on data-state while open and modal."
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "closed",
|
|
77
|
+
"description": "Applied on data-state while the backdrop plays its exit fade after logical close; inline pointer-events: none lets clicks reach the page."
|
|
74
78
|
}
|
|
75
79
|
],
|
|
76
80
|
"cssProperties": []
|
|
@@ -20,7 +20,18 @@
|
|
|
20
20
|
"slots": [
|
|
21
21
|
{
|
|
22
22
|
"name": "default",
|
|
23
|
-
"props": [
|
|
23
|
+
"props": [
|
|
24
|
+
{
|
|
25
|
+
"name": "errors",
|
|
26
|
+
"type": "readonly string[]",
|
|
27
|
+
"description": "Slot prop `errors`."
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "message",
|
|
31
|
+
"type": "string | undefined",
|
|
32
|
+
"description": "Slot prop `message`."
|
|
33
|
+
}
|
|
34
|
+
],
|
|
24
35
|
"description": "Primary content."
|
|
25
36
|
}
|
|
26
37
|
],
|
|
@@ -24,11 +24,17 @@
|
|
|
24
24
|
{
|
|
25
25
|
"name": "invalid",
|
|
26
26
|
"type": "boolean",
|
|
27
|
-
"default": false,
|
|
28
27
|
"required": false,
|
|
29
28
|
"description": "Propagates invalid semantics and root data-state.",
|
|
30
29
|
"deprecated": false
|
|
31
30
|
},
|
|
31
|
+
{
|
|
32
|
+
"name": "name",
|
|
33
|
+
"type": "string",
|
|
34
|
+
"required": false,
|
|
35
|
+
"description": "Canonical dot-path key associating this field with an ancestor `GhostForm`.",
|
|
36
|
+
"deprecated": false
|
|
37
|
+
},
|
|
32
38
|
{
|
|
33
39
|
"name": "required",
|
|
34
40
|
"type": "boolean",
|
|
@@ -43,7 +49,33 @@
|
|
|
43
49
|
"slots": [
|
|
44
50
|
{
|
|
45
51
|
"name": "default",
|
|
46
|
-
"props": [
|
|
52
|
+
"props": [
|
|
53
|
+
{
|
|
54
|
+
"name": "dirty",
|
|
55
|
+
"type": "boolean",
|
|
56
|
+
"description": "Slot prop `dirty`."
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "error",
|
|
60
|
+
"type": "string | undefined",
|
|
61
|
+
"description": "Slot prop `error`."
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "errors",
|
|
65
|
+
"type": "readonly string[]",
|
|
66
|
+
"description": "Slot prop `errors`."
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "invalid",
|
|
70
|
+
"type": "boolean",
|
|
71
|
+
"description": "Slot prop `invalid`."
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"name": "touched",
|
|
75
|
+
"type": "boolean",
|
|
76
|
+
"description": "Slot prop `touched`."
|
|
77
|
+
}
|
|
78
|
+
],
|
|
47
79
|
"description": "Field parts (label, description, control, error) in consumer-chosen order."
|
|
48
80
|
}
|
|
49
81
|
],
|
|
@@ -100,10 +132,10 @@
|
|
|
100
132
|
]
|
|
101
133
|
},
|
|
102
134
|
"examples": [
|
|
135
|
+
"field/billing-address-headless",
|
|
103
136
|
"field/basic",
|
|
104
137
|
"field/invalid",
|
|
105
138
|
"field/textarea",
|
|
106
|
-
"field/checkbox",
|
|
107
139
|
"field/themed"
|
|
108
140
|
]
|
|
109
141
|
}
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.1.0",
|
|
3
|
+
"source": "generated",
|
|
4
|
+
"name": "GhostForm",
|
|
5
|
+
"package": "@ghostvue/vue",
|
|
6
|
+
"status": "experimental",
|
|
7
|
+
"description": "Headless Standard Schema v1 form container backed by useGhostForm. Manages progressive field and form error visibility, async validation epochs, submit locking, focus-on-invalid recovery, and native form reset coordination.",
|
|
8
|
+
"props": [
|
|
9
|
+
{
|
|
10
|
+
"name": "focusInvalidOnSubmit",
|
|
11
|
+
"type": "boolean",
|
|
12
|
+
"default": true,
|
|
13
|
+
"required": false,
|
|
14
|
+
"description": "Moves focus after DOM flush to the first focusable invalid control when submit fails.",
|
|
15
|
+
"deprecated": false
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "initialIssues",
|
|
19
|
+
"type": "readonly StandardSchemaV1.Issue[]",
|
|
20
|
+
"required": false,
|
|
21
|
+
"description": "Optional seed issues partitioned synchronously at setup without calling `validate()`.",
|
|
22
|
+
"deprecated": false
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"name": "novalidate",
|
|
26
|
+
"type": "boolean",
|
|
27
|
+
"default": true,
|
|
28
|
+
"required": false,
|
|
29
|
+
"description": "Sets HTML `novalidate` on `<form>` so Standard Schema v1 owns submit validation.",
|
|
30
|
+
"deprecated": false
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "revalidateOn",
|
|
34
|
+
"type": "GhostFormValidateTrigger",
|
|
35
|
+
"default": "change",
|
|
36
|
+
"required": false,
|
|
37
|
+
"description": "Trigger that re-validates a field once it has visible issues or after submit.",
|
|
38
|
+
"deprecated": false
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"name": "schema",
|
|
42
|
+
"type": "TSchema",
|
|
43
|
+
"required": true,
|
|
44
|
+
"description": "Standard Schema v1 validator (`schema['~standard'].version === 1`).",
|
|
45
|
+
"deprecated": false
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "schemaOptions",
|
|
49
|
+
"type": "StandardSchemaV1.Options",
|
|
50
|
+
"required": false,
|
|
51
|
+
"description": "Optional vendor options forwarded as the second argument to `validate()`.",
|
|
52
|
+
"deprecated": false
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "validateOn",
|
|
56
|
+
"type": "GhostFormValidateTrigger",
|
|
57
|
+
"default": "submit",
|
|
58
|
+
"required": false,
|
|
59
|
+
"description": "Trigger that first reveals issues on an untouched field before the first submit.",
|
|
60
|
+
"deprecated": false
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"name": "values",
|
|
64
|
+
"type": "NoInfer<TValues>",
|
|
65
|
+
"required": true,
|
|
66
|
+
"description": "Consumer-owned input state passed to `schema['~standard'].validate`.",
|
|
67
|
+
"deprecated": false
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"models": [],
|
|
71
|
+
"events": [
|
|
72
|
+
{
|
|
73
|
+
"name": "invalid",
|
|
74
|
+
"payloadType": "GhostFormInvalidPayload<TValues>",
|
|
75
|
+
"description": "Emitted when a submit attempt fails schema validation on an active epoch."
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "reset",
|
|
79
|
+
"payloadType": "Event | null",
|
|
80
|
+
"description": "Emitted after imperative reset() or a non-cancelled native form reset completes."
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "submit",
|
|
84
|
+
"payloadType": "GhostFormSubmitPayload<StandardSchemaV1.InferOutput<TSchema>, TValues>",
|
|
85
|
+
"description": "Emitted with transformed schema output and waitUntil/setFieldErrors helpers when submit validation succeeds."
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
"slots": [
|
|
89
|
+
{
|
|
90
|
+
"name": "default",
|
|
91
|
+
"props": [],
|
|
92
|
+
"description": "Form controls, GhostField instances, and action buttons receiving GhostFormSlotProps."
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"exposed": [
|
|
96
|
+
{
|
|
97
|
+
"name": "clearErrors",
|
|
98
|
+
"kind": "method",
|
|
99
|
+
"type": "(path?: import('./ghost-form').GhostFormFieldPath<TValues> | undefined) => void",
|
|
100
|
+
"description": "Exposed method `clearErrors`."
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "element",
|
|
104
|
+
"kind": "property",
|
|
105
|
+
"type": "HTMLFormElement | null",
|
|
106
|
+
"description": "Exposed property `element`."
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "reset",
|
|
110
|
+
"kind": "method",
|
|
111
|
+
"type": "() => void",
|
|
112
|
+
"description": "Exposed method `reset`."
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "setFieldErrors",
|
|
116
|
+
"kind": "method",
|
|
117
|
+
"type": "(path: (string & {}) | import('./ghost-form').GhostFormFieldPath<TValues>, messages: readonly string[]) => void",
|
|
118
|
+
"description": "Exposed method `setFieldErrors`."
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "setFormErrors",
|
|
122
|
+
"kind": "method",
|
|
123
|
+
"type": "(messages: readonly string[]) => void",
|
|
124
|
+
"description": "Exposed method `setFormErrors`."
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "submit",
|
|
128
|
+
"kind": "method",
|
|
129
|
+
"type": "(event?: SubmitEvent | null) => Promise<import('./ghost-form').GhostFormSubmitResult<StandardSchemaV1.InferOutput<TSchema>>>",
|
|
130
|
+
"description": "Exposed method `submit`."
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "validate",
|
|
134
|
+
"kind": "method",
|
|
135
|
+
"type": "() => Promise<import('./ghost-form').GhostFormValidateResult<StandardSchemaV1.InferOutput<TSchema>>>",
|
|
136
|
+
"description": "Exposed method `validate`."
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "validateField",
|
|
140
|
+
"kind": "method",
|
|
141
|
+
"type": "(path: import('./ghost-form').GhostFormFieldPath<TValues>) => Promise<readonly StandardSchemaV1.Issue[]>",
|
|
142
|
+
"description": "Exposed method `validateField`."
|
|
143
|
+
}
|
|
144
|
+
],
|
|
145
|
+
"styling": {
|
|
146
|
+
"parts": [
|
|
147
|
+
{
|
|
148
|
+
"name": "root",
|
|
149
|
+
"description": "Native <form> element carrying class ghost-form and novalidate."
|
|
150
|
+
}
|
|
151
|
+
],
|
|
152
|
+
"states": [
|
|
153
|
+
{
|
|
154
|
+
"name": "submitting",
|
|
155
|
+
"description": "Active during submit validation and any awaited onSubmit or waitUntil promises."
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"name": "validating",
|
|
159
|
+
"description": "Active while an asynchronous background or validate() check is pending and not submitting."
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"name": "invalid",
|
|
163
|
+
"description": "Active when visible field or form errors exist and neither pending flag is active."
|
|
164
|
+
}
|
|
165
|
+
],
|
|
166
|
+
"cssProperties": []
|
|
167
|
+
},
|
|
168
|
+
"accessibility": {
|
|
169
|
+
"role": "form",
|
|
170
|
+
"apgPattern": "https://www.w3.org/WAI/ARIA/apg/",
|
|
171
|
+
"keyboard": {
|
|
172
|
+
"Enter": "Submits the form from native text inputs or focused submit buttons without triggering a page reload; composite popups such as GhostSelect isolate Enter to option selection.",
|
|
173
|
+
"Tab": "Moves focus sequentially between form controls and actions; focusout triggers blur validation when validateOn or revalidateOn is 'blur'."
|
|
174
|
+
},
|
|
175
|
+
"requiredAriaAttributes": [
|
|
176
|
+
"aria-busy",
|
|
177
|
+
"aria-invalid",
|
|
178
|
+
"aria-describedby"
|
|
179
|
+
],
|
|
180
|
+
"verification": {
|
|
181
|
+
"automatedKeyboard": {
|
|
182
|
+
"status": "passed",
|
|
183
|
+
"keys": {
|
|
184
|
+
"Enter": [
|
|
185
|
+
{
|
|
186
|
+
"spec": "tests/e2e/form.spec.ts",
|
|
187
|
+
"title": "GhostForm › validates on keyboard Enter, moves focus to first invalid field, isolates popup Enter, repairs, and passes axe",
|
|
188
|
+
"package": "@ghostvue/vue"
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
"Tab": [
|
|
192
|
+
{
|
|
193
|
+
"spec": "tests/e2e/form.spec.ts",
|
|
194
|
+
"title": "GhostForm › validates on keyboard Enter, moves focus to first invalid field, isolates popup Enter, repairs, and passes axe",
|
|
195
|
+
"package": "@ghostvue/vue"
|
|
196
|
+
}
|
|
197
|
+
]
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
"manual": {
|
|
201
|
+
"status": "not-reviewed",
|
|
202
|
+
"evidence": []
|
|
203
|
+
},
|
|
204
|
+
"assistiveTechnology": {
|
|
205
|
+
"status": "not-reviewed",
|
|
206
|
+
"evidence": []
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
},
|
|
210
|
+
"examples": [
|
|
211
|
+
"form/profile-schema",
|
|
212
|
+
"form/async-validation",
|
|
213
|
+
"form/nested-webhooks",
|
|
214
|
+
"form/composable"
|
|
215
|
+
],
|
|
216
|
+
"spec": {
|
|
217
|
+
"path": "docs/components/form-spec.md",
|
|
218
|
+
"status": "approved",
|
|
219
|
+
"evidence": "Zac signed off on the GhostForm proposal (F1-F5 as proposed) at eda553c2c6b6a0a098db1c5aafff8a9893848719, recorded by zprue743 on PR #487 (2026-11-28), with follow-up spec revisions for submit-lock preservation and native-reset suppression."
|
|
220
|
+
}
|
|
221
|
+
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"name": "GhostHoverCardContent",
|
|
5
5
|
"package": "@ghostvue/vue",
|
|
6
6
|
"status": "experimental",
|
|
7
|
-
"description": "Positioned floating hover-card surface with role=\"dialog\".",
|
|
7
|
+
"description": "Positioned floating hover-card surface with role=\"dialog\". After logical close it stays mounted with data-state=\"closed\", inert, and pointer-events: none only while its own CSS exit transition or animation runs (useGhostPresence), then unmounts; focus, dismissal, release immediately.",
|
|
8
8
|
"props": [
|
|
9
9
|
{
|
|
10
10
|
"name": "as",
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
"name": "element",
|
|
91
91
|
"kind": "property",
|
|
92
92
|
"type": "HTMLElement | null",
|
|
93
|
-
"description": "
|
|
93
|
+
"description": "Mounted card element while open or exiting; null once unmounted."
|
|
94
94
|
},
|
|
95
95
|
{
|
|
96
96
|
"name": "focus",
|
|
@@ -101,7 +101,16 @@
|
|
|
101
101
|
],
|
|
102
102
|
"styling": {
|
|
103
103
|
"parts": [],
|
|
104
|
-
"states": [
|
|
104
|
+
"states": [
|
|
105
|
+
{
|
|
106
|
+
"name": "open",
|
|
107
|
+
"description": "Applied on data-state while mounted and open."
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "closed",
|
|
111
|
+
"description": "Applied on data-state while the surface plays its exit motion after logical close; the surface is also inert with inline pointer-events: none until it unmounts."
|
|
112
|
+
}
|
|
113
|
+
],
|
|
105
114
|
"cssProperties": []
|
|
106
115
|
},
|
|
107
116
|
"accessibility": {
|