@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
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.0.0",
|
|
3
|
+
"source": "handwritten",
|
|
4
|
+
"name": "GhostRadioGroupItem",
|
|
5
|
+
"package": "@ghostvue/themes",
|
|
6
|
+
"status": "experimental",
|
|
7
|
+
"description": "Themed GhostRadioGroupItem radio with the default ring and dot styles.",
|
|
8
|
+
"props": [
|
|
9
|
+
{
|
|
10
|
+
"name": "size",
|
|
11
|
+
"type": "'sm' | 'md' | 'lg'",
|
|
12
|
+
"default": "md",
|
|
13
|
+
"required": false,
|
|
14
|
+
"description": "Radio density hook. The default omits data-size so CSS can treat a missing hook as md.",
|
|
15
|
+
"deprecated": false
|
|
16
|
+
}
|
|
17
|
+
],
|
|
18
|
+
"models": [],
|
|
19
|
+
"events": [],
|
|
20
|
+
"slots": [],
|
|
21
|
+
"exposed": [
|
|
22
|
+
{
|
|
23
|
+
"name": "element",
|
|
24
|
+
"kind": "property",
|
|
25
|
+
"type": "HTMLInputElement | null",
|
|
26
|
+
"description": "Headless radio input after mount; null before mount."
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "focus",
|
|
30
|
+
"kind": "method",
|
|
31
|
+
"type": "(options?: FocusOptions) => void",
|
|
32
|
+
"description": "Focus the radio input."
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "blur",
|
|
36
|
+
"kind": "method",
|
|
37
|
+
"type": "() => void",
|
|
38
|
+
"description": "Blur the radio input."
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
"styling": {
|
|
42
|
+
"parts": [
|
|
43
|
+
{
|
|
44
|
+
"name": "item",
|
|
45
|
+
"description": "Native radio input with the themed ring and dot."
|
|
46
|
+
}
|
|
47
|
+
],
|
|
48
|
+
"states": [
|
|
49
|
+
{
|
|
50
|
+
"name": "checked",
|
|
51
|
+
"description": "Selected option."
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"cssProperties": []
|
|
55
|
+
},
|
|
56
|
+
"accessibility": {
|
|
57
|
+
"role": "radio",
|
|
58
|
+
"apgPattern": "https://www.w3.org/WAI/ARIA/apg/patterns/radio/",
|
|
59
|
+
"keyboard": {},
|
|
60
|
+
"requiredAriaAttributes": []
|
|
61
|
+
},
|
|
62
|
+
"examples": []
|
|
63
|
+
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"name": "GhostScrollArea",
|
|
5
5
|
"package": "@ghostvue/themes",
|
|
6
6
|
"status": "experimental",
|
|
7
|
-
"description": "Themed native scroll container. Adds data-themed and scrollbar
|
|
7
|
+
"description": "Themed native scroll container. Adds data-themed, scrollbar containment, and scrollbar clearance (inline-end padding for vertical, block-end for horizontal, both for both) so overlay scrollbars never cover content; behavior matches @ghostvue/vue GhostScrollArea.",
|
|
8
8
|
"props": [
|
|
9
9
|
{
|
|
10
10
|
"name": "as",
|
|
@@ -51,7 +51,16 @@
|
|
|
51
51
|
"styling": {
|
|
52
52
|
"parts": [],
|
|
53
53
|
"states": [],
|
|
54
|
-
"cssProperties": [
|
|
54
|
+
"cssProperties": [
|
|
55
|
+
{
|
|
56
|
+
"name": "--ghost-border-strong",
|
|
57
|
+
"description": "Native scrollbar thumb color where scrollbar-color is supported."
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "--ghost-space-inset-scrollbar",
|
|
61
|
+
"description": "Clearance padding on the scrollbar edge of each enabled axis."
|
|
62
|
+
}
|
|
63
|
+
]
|
|
55
64
|
},
|
|
56
65
|
"accessibility": {
|
|
57
66
|
"role": "native scrolling",
|
|
@@ -61,6 +70,7 @@
|
|
|
61
70
|
},
|
|
62
71
|
"examples": [
|
|
63
72
|
"scroll-area/activity-feed",
|
|
73
|
+
"scroll-area/horizontal",
|
|
64
74
|
"scroll-area/themed"
|
|
65
75
|
]
|
|
66
76
|
}
|
|
@@ -0,0 +1,255 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.1.0",
|
|
3
|
+
"source": "handwritten",
|
|
4
|
+
"name": "GhostTagsInput",
|
|
5
|
+
"package": "@ghostvue/themes",
|
|
6
|
+
"status": "experimental",
|
|
7
|
+
"description": "Themed GhostTagsInput for entering and removing free-form strings in native forms.",
|
|
8
|
+
"props": [
|
|
9
|
+
{
|
|
10
|
+
"name": "defaultValue",
|
|
11
|
+
"type": "readonly string[]",
|
|
12
|
+
"required": false,
|
|
13
|
+
"description": "Initial uncontrolled tags and reset baseline.",
|
|
14
|
+
"deprecated": false
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"name": "delimiters",
|
|
18
|
+
"type": "readonly (',' | ';')[]",
|
|
19
|
+
"required": false,
|
|
20
|
+
"description": "Optional typed and pasted separators.",
|
|
21
|
+
"deprecated": false
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"name": "disabled",
|
|
25
|
+
"type": "boolean",
|
|
26
|
+
"required": false,
|
|
27
|
+
"description": "Disables editing, focus and submission.",
|
|
28
|
+
"deprecated": false
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"name": "invalid",
|
|
32
|
+
"type": "boolean",
|
|
33
|
+
"required": false,
|
|
34
|
+
"description": "Consumer-owned invalid state.",
|
|
35
|
+
"deprecated": false
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "messages",
|
|
39
|
+
"type": "Partial<GhostTagsInputMessages>",
|
|
40
|
+
"required": false,
|
|
41
|
+
"description": "Localized button, announcement and validation text.",
|
|
42
|
+
"deprecated": false
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "modelValue",
|
|
46
|
+
"type": "readonly string[]",
|
|
47
|
+
"required": false,
|
|
48
|
+
"description": "Controlled committed tags.",
|
|
49
|
+
"deprecated": false
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"name": "name",
|
|
53
|
+
"type": "string",
|
|
54
|
+
"required": false,
|
|
55
|
+
"description": "Repeated native form field name.",
|
|
56
|
+
"deprecated": false
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"name": "readonly",
|
|
60
|
+
"type": "boolean",
|
|
61
|
+
"required": false,
|
|
62
|
+
"description": "Prevents edits while preserving focus and submission.",
|
|
63
|
+
"deprecated": false
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "required",
|
|
67
|
+
"type": "boolean",
|
|
68
|
+
"required": false,
|
|
69
|
+
"description": "Requires a committed tag while editable.",
|
|
70
|
+
"deprecated": false
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
"models": [
|
|
74
|
+
{
|
|
75
|
+
"prop": "modelValue",
|
|
76
|
+
"event": "update:modelValue",
|
|
77
|
+
"type": "readonly string[]",
|
|
78
|
+
"description": "Fresh proposal for the committed tag sequence."
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"events": [],
|
|
82
|
+
"slots": [
|
|
83
|
+
{
|
|
84
|
+
"name": "tag",
|
|
85
|
+
"props": [
|
|
86
|
+
{
|
|
87
|
+
"name": "value",
|
|
88
|
+
"type": "string",
|
|
89
|
+
"description": "Normalized tag string."
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"description": "Formats tag text while the component retains its remove control."
|
|
93
|
+
}
|
|
94
|
+
],
|
|
95
|
+
"exposed": [
|
|
96
|
+
{
|
|
97
|
+
"name": "element",
|
|
98
|
+
"kind": "property",
|
|
99
|
+
"type": "HTMLInputElement | null",
|
|
100
|
+
"description": "Native text input after mount."
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "focus",
|
|
104
|
+
"kind": "method",
|
|
105
|
+
"type": "() => void",
|
|
106
|
+
"description": "Focuses the native entry."
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"styling": {
|
|
110
|
+
"parts": [
|
|
111
|
+
{
|
|
112
|
+
"name": "root",
|
|
113
|
+
"description": "Widget container."
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"name": "list",
|
|
117
|
+
"description": "List of committed tags."
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
"name": "tag",
|
|
121
|
+
"description": "A committed tag."
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"name": "remove",
|
|
125
|
+
"description": "Native remove button."
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "input",
|
|
129
|
+
"description": "Native text input."
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "status",
|
|
133
|
+
"description": "Persistent polite status region."
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
"states": [
|
|
137
|
+
{
|
|
138
|
+
"name": "disabled",
|
|
139
|
+
"description": "The field is disabled."
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"name": "readonly",
|
|
143
|
+
"description": "The field is read-only."
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "invalid",
|
|
147
|
+
"description": "The consumer marked the field invalid."
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"cssProperties": []
|
|
151
|
+
},
|
|
152
|
+
"accessibility": {
|
|
153
|
+
"role": "textbox",
|
|
154
|
+
"apgPattern": "https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_roving_tabindex",
|
|
155
|
+
"keyboard": {
|
|
156
|
+
"Enter": "Commit a nonempty draft or activate a focused remove button.",
|
|
157
|
+
"Space": "Activate a focused remove button.",
|
|
158
|
+
"Backspace": "From an empty draft focus the last remove button, or remove the focused tag.",
|
|
159
|
+
"Delete": "Remove the focused tag.",
|
|
160
|
+
"ArrowLeft": "Move along the tags or back to the entry, reversed in RTL.",
|
|
161
|
+
"ArrowRight": "Move along the tags or back to the entry, reversed in RTL.",
|
|
162
|
+
"Home": "Focus the first remove button from a remove button.",
|
|
163
|
+
"End": "Focus the text entry from a remove button.",
|
|
164
|
+
"Tab": "Enter through the text entry or leave the widget."
|
|
165
|
+
},
|
|
166
|
+
"requiredAriaAttributes": [],
|
|
167
|
+
"verification": {
|
|
168
|
+
"automatedKeyboard": {
|
|
169
|
+
"status": "passed",
|
|
170
|
+
"keys": {
|
|
171
|
+
"Enter": [
|
|
172
|
+
{
|
|
173
|
+
"package": "@ghostvue/themes",
|
|
174
|
+
"spec": "tests/e2e/ghost-tags-input.spec.ts",
|
|
175
|
+
"title": "TagsInput navigates and removes tags with real focus @cross-browser"
|
|
176
|
+
}
|
|
177
|
+
],
|
|
178
|
+
"Space": [
|
|
179
|
+
{
|
|
180
|
+
"package": "@ghostvue/themes",
|
|
181
|
+
"spec": "tests/e2e/ghost-tags-input.spec.ts",
|
|
182
|
+
"title": "TagsInput navigates and removes tags with real focus @cross-browser"
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"Backspace": [
|
|
186
|
+
{
|
|
187
|
+
"package": "@ghostvue/themes",
|
|
188
|
+
"spec": "tests/e2e/ghost-tags-input.spec.ts",
|
|
189
|
+
"title": "TagsInput navigates and removes tags with real focus @cross-browser"
|
|
190
|
+
}
|
|
191
|
+
],
|
|
192
|
+
"Delete": [
|
|
193
|
+
{
|
|
194
|
+
"package": "@ghostvue/themes",
|
|
195
|
+
"spec": "tests/e2e/ghost-tags-input.spec.ts",
|
|
196
|
+
"title": "TagsInput navigates and removes tags with real focus @cross-browser"
|
|
197
|
+
}
|
|
198
|
+
],
|
|
199
|
+
"ArrowLeft": [
|
|
200
|
+
{
|
|
201
|
+
"package": "@ghostvue/themes",
|
|
202
|
+
"spec": "tests/e2e/ghost-tags-input.spec.ts",
|
|
203
|
+
"title": "TagsInput navigates and removes tags with real focus @cross-browser"
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
"ArrowRight": [
|
|
207
|
+
{
|
|
208
|
+
"package": "@ghostvue/themes",
|
|
209
|
+
"spec": "tests/e2e/ghost-tags-input.spec.ts",
|
|
210
|
+
"title": "TagsInput navigates and removes tags with real focus @cross-browser"
|
|
211
|
+
}
|
|
212
|
+
],
|
|
213
|
+
"Home": [
|
|
214
|
+
{
|
|
215
|
+
"package": "@ghostvue/themes",
|
|
216
|
+
"spec": "tests/e2e/ghost-tags-input.spec.ts",
|
|
217
|
+
"title": "TagsInput navigates and removes tags with real focus @cross-browser"
|
|
218
|
+
}
|
|
219
|
+
],
|
|
220
|
+
"End": [
|
|
221
|
+
{
|
|
222
|
+
"package": "@ghostvue/themes",
|
|
223
|
+
"spec": "tests/e2e/ghost-tags-input.spec.ts",
|
|
224
|
+
"title": "TagsInput navigates and removes tags with real focus @cross-browser"
|
|
225
|
+
}
|
|
226
|
+
],
|
|
227
|
+
"Tab": [
|
|
228
|
+
{
|
|
229
|
+
"package": "@ghostvue/themes",
|
|
230
|
+
"spec": "tests/e2e/ghost-tags-input.spec.ts",
|
|
231
|
+
"title": "TagsInput navigates and removes tags with real focus @cross-browser"
|
|
232
|
+
}
|
|
233
|
+
]
|
|
234
|
+
}
|
|
235
|
+
},
|
|
236
|
+
"manual": {
|
|
237
|
+
"status": "not-reviewed",
|
|
238
|
+
"evidence": []
|
|
239
|
+
},
|
|
240
|
+
"assistiveTechnology": {
|
|
241
|
+
"status": "not-reviewed",
|
|
242
|
+
"evidence": []
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
},
|
|
246
|
+
"examples": [
|
|
247
|
+
"tags-input/project-labels",
|
|
248
|
+
"tags-input/read-only"
|
|
249
|
+
],
|
|
250
|
+
"spec": {
|
|
251
|
+
"path": "docs/components/tags-input-spec.md",
|
|
252
|
+
"status": "approved",
|
|
253
|
+
"evidence": "Zac approved the GhostTagsInput design at 4bfa587a621d63bd0533f3be6c627675bf884d5f in https://github.com/zprue743/ghostvue/pull/550#issuecomment-7250732253."
|
|
254
|
+
}
|
|
255
|
+
}
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1.1.0",
|
|
3
|
+
"source": "generated",
|
|
4
|
+
"name": "GhostCheckboxGroup",
|
|
5
|
+
"package": "@ghostvue/vue",
|
|
6
|
+
"status": "experimental",
|
|
7
|
+
"description": "Headless native checkbox group root with string[] v-model, form reset, and focus restoration on focused member removal.",
|
|
8
|
+
"props": [
|
|
9
|
+
{
|
|
10
|
+
"name": "as",
|
|
11
|
+
"type": "GhostCheckboxGroupElement",
|
|
12
|
+
"default": "fieldset",
|
|
13
|
+
"required": false,
|
|
14
|
+
"description": "Root host. A `fieldset` needs no role. Any other host gets `role=\"group\"`.",
|
|
15
|
+
"deprecated": false
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"name": "defaultValue",
|
|
19
|
+
"type": "readonly TValue[]",
|
|
20
|
+
"default": "[]",
|
|
21
|
+
"required": false,
|
|
22
|
+
"description": "Uncontrolled seed and form-reset baseline. Shallow-copied once at setup;\nlater prop changes and later mutation of the passed array are ignored.",
|
|
23
|
+
"deprecated": false
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "disabled",
|
|
27
|
+
"type": "boolean",
|
|
28
|
+
"default": false,
|
|
29
|
+
"required": false,
|
|
30
|
+
"description": "Disables every member input natively. On a `fieldset` root it also sets\nthe native `disabled` attribute.",
|
|
31
|
+
"deprecated": false
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "invalid",
|
|
35
|
+
"type": "boolean",
|
|
36
|
+
"default": false,
|
|
37
|
+
"required": false,
|
|
38
|
+
"description": "Group-level error hook for Field or form integration. Sets\n`data-state=\"invalid\"` and `aria-invalid=\"true\"` on the root.",
|
|
39
|
+
"deprecated": false
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "modelValue",
|
|
43
|
+
"type": "readonly TValue[]",
|
|
44
|
+
"required": false,
|
|
45
|
+
"description": "Controlled selection. `undefined` is uncontrolled. `[]` is a defined\nempty selection. Accepts readonly and frozen arrays; never mutated.",
|
|
46
|
+
"deprecated": false
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "name",
|
|
50
|
+
"type": "string",
|
|
51
|
+
"required": false,
|
|
52
|
+
"description": "Native `name` applied to every member input. Without a group `name`,\nmembers without their own `name` submit nothing.",
|
|
53
|
+
"deprecated": false
|
|
54
|
+
}
|
|
55
|
+
],
|
|
56
|
+
"models": [
|
|
57
|
+
{
|
|
58
|
+
"prop": "modelValue",
|
|
59
|
+
"event": "update:modelValue",
|
|
60
|
+
"type": "readonly TValue[]",
|
|
61
|
+
"description": "v-model binding for `modelValue`."
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"events": [],
|
|
65
|
+
"slots": [
|
|
66
|
+
{
|
|
67
|
+
"name": "default",
|
|
68
|
+
"props": [],
|
|
69
|
+
"description": "Member checkboxes, labels, legend, descriptions, and non-member content."
|
|
70
|
+
}
|
|
71
|
+
],
|
|
72
|
+
"exposed": [
|
|
73
|
+
{
|
|
74
|
+
"name": "blur",
|
|
75
|
+
"kind": "method",
|
|
76
|
+
"type": "() => void",
|
|
77
|
+
"description": "Blurs the active member if it is inside the group."
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "element",
|
|
81
|
+
"kind": "property",
|
|
82
|
+
"type": "HTMLElement | null",
|
|
83
|
+
"description": "The root element after mount, or `null` before mount."
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "focus",
|
|
87
|
+
"kind": "method",
|
|
88
|
+
"type": "(options?: FocusOptions) => void",
|
|
89
|
+
"description": "Focuses the first enabled checked member in DOM order, else the first enabled member."
|
|
90
|
+
}
|
|
91
|
+
],
|
|
92
|
+
"styling": {
|
|
93
|
+
"parts": [
|
|
94
|
+
{
|
|
95
|
+
"name": "root",
|
|
96
|
+
"description": "Fieldset or role=\"group\" host for member checkboxes and optional non-member controls."
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"states": [
|
|
100
|
+
{
|
|
101
|
+
"name": "invalid",
|
|
102
|
+
"description": "Group-level error state. Wins over disabled when both apply."
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "disabled",
|
|
106
|
+
"description": "Whole group disabled."
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"cssProperties": []
|
|
110
|
+
},
|
|
111
|
+
"accessibility": {
|
|
112
|
+
"role": "group",
|
|
113
|
+
"apgPattern": "https://www.w3.org/WAI/ARIA/apg/patterns/checkbox/",
|
|
114
|
+
"keyboard": {
|
|
115
|
+
"Tab": "Moves focus to the next enabled checkbox in DOM order, skipping disabled checkboxes.",
|
|
116
|
+
"Shift+Tab": "Moves focus to the previous enabled checkbox in DOM order.",
|
|
117
|
+
"Space": "Toggles the focused checkbox. On a member it emits the next string[] model once.",
|
|
118
|
+
"Enter": "Does not toggle checkboxes. Inside a form, triggers implicit submission."
|
|
119
|
+
},
|
|
120
|
+
"requiredAriaAttributes": [],
|
|
121
|
+
"verification": {
|
|
122
|
+
"automatedKeyboard": {
|
|
123
|
+
"status": "passed",
|
|
124
|
+
"keys": {
|
|
125
|
+
"Tab": [
|
|
126
|
+
{
|
|
127
|
+
"spec": "tests/e2e/checkbox-group.spec.ts",
|
|
128
|
+
"title": "GhostCheckboxGroup › supports Tab/Shift+Tab order, Space toggling, Enter no-op, and focus after removal @cross-browser",
|
|
129
|
+
"package": "@ghostvue/vue"
|
|
130
|
+
}
|
|
131
|
+
],
|
|
132
|
+
"Shift+Tab": [
|
|
133
|
+
{
|
|
134
|
+
"spec": "tests/e2e/checkbox-group.spec.ts",
|
|
135
|
+
"title": "GhostCheckboxGroup › supports Tab/Shift+Tab order, Space toggling, Enter no-op, and focus after removal @cross-browser",
|
|
136
|
+
"package": "@ghostvue/vue"
|
|
137
|
+
}
|
|
138
|
+
],
|
|
139
|
+
"Space": [
|
|
140
|
+
{
|
|
141
|
+
"spec": "tests/e2e/checkbox-group.spec.ts",
|
|
142
|
+
"title": "GhostCheckboxGroup › supports Tab/Shift+Tab order, Space toggling, Enter no-op, and focus after removal @cross-browser",
|
|
143
|
+
"package": "@ghostvue/vue"
|
|
144
|
+
}
|
|
145
|
+
],
|
|
146
|
+
"Enter": [
|
|
147
|
+
{
|
|
148
|
+
"spec": "tests/e2e/checkbox-group.spec.ts",
|
|
149
|
+
"title": "GhostCheckboxGroup › supports Tab/Shift+Tab order, Space toggling, Enter no-op, and focus after removal @cross-browser",
|
|
150
|
+
"package": "@ghostvue/vue"
|
|
151
|
+
}
|
|
152
|
+
]
|
|
153
|
+
}
|
|
154
|
+
},
|
|
155
|
+
"manual": {
|
|
156
|
+
"status": "not-reviewed",
|
|
157
|
+
"evidence": []
|
|
158
|
+
},
|
|
159
|
+
"assistiveTechnology": {
|
|
160
|
+
"status": "not-reviewed",
|
|
161
|
+
"evidence": []
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"examples": [
|
|
166
|
+
"checkbox-group/headless"
|
|
167
|
+
],
|
|
168
|
+
"spec": {
|
|
169
|
+
"path": "docs/components/checkbox-group-spec.md",
|
|
170
|
+
"status": "approved",
|
|
171
|
+
"evidence": "Design sign-off on the recommended CG1–CG7 decisions at commit 28ae0b6 (28ae0b6efc75f3ad698c84f07fdb3b1180939aa4), recorded by repo admin zprue743 on behalf of Zac on 2026-11-28 in PR #504: https://github.com/zprue743/ghostvue/pull/504#issuecomment-7240055885. Design approval only; not merge approval or release inclusion."
|
|
172
|
+
}
|
|
173
|
+
}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"name": "GhostCommandPaletteContent",
|
|
5
5
|
"package": "@ghostvue/vue",
|
|
6
6
|
"status": "experimental",
|
|
7
|
-
"description": "Dialog surface (role=\"dialog\") composing the shared dialog focus scope, scroll lock, inert background, and dismissal. Focuses the command input on open by default and hosts the polite live region. Unmounted while closed.",
|
|
7
|
+
"description": "Dialog surface (role=\"dialog\") composing the shared dialog focus scope, scroll lock, inert background, and dismissal. Focuses the command input on open by default and hosts the polite live region. 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 palette surface element while open or exiting; null once unmounted."
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
"name": "focus",
|
|
@@ -112,6 +112,10 @@
|
|
|
112
112
|
{
|
|
113
113
|
"name": "open",
|
|
114
114
|
"description": "data-state=\"open\" while mounted."
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "closed",
|
|
118
|
+
"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
119
|
}
|
|
116
120
|
],
|
|
117
121
|
"cssProperties": []
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"name": "GhostCommandPaletteOverlay",
|
|
5
5
|
"package": "@ghostvue/vue",
|
|
6
6
|
"status": "experimental",
|
|
7
|
-
"description": "Modal backdrop rendered only while the palette is open and modal. Pressing it dismisses the palette.",
|
|
7
|
+
"description": "Modal backdrop rendered only while the palette is open and modal. Pressing it dismisses the palette. 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": "data-state=\"open\" while mounted."
|
|
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": "GhostContextMenuContent",
|
|
5
5
|
"package": "@ghostvue/vue",
|
|
6
6
|
"status": "experimental",
|
|
7
|
-
"description": "
|
|
7
|
+
"description": "Menu surface anchored to the invoking target, with local item navigation and shared submenu support.",
|
|
8
8
|
"props": [
|
|
9
9
|
{
|
|
10
10
|
"name": "as",
|
|
@@ -105,8 +105,8 @@
|
|
|
105
105
|
"cssProperties": []
|
|
106
106
|
},
|
|
107
107
|
"accessibility": {
|
|
108
|
-
"role": "
|
|
109
|
-
"apgPattern": "https://www.w3.org/WAI/ARIA/apg/",
|
|
108
|
+
"role": "menu",
|
|
109
|
+
"apgPattern": "https://www.w3.org/WAI/ARIA/apg/patterns/menubar/",
|
|
110
110
|
"keyboard": {},
|
|
111
111
|
"requiredAriaAttributes": []
|
|
112
112
|
},
|