Repository navigation
Releases
GhostVue 0.5.0
@ghostvue/vue
Minor Changes
-
8403010: Add the experimental headless
GhostBoard: an issue board over app-owned columns and cards. Columns render as headed sections and cards as ordered lists inside one named, focusable scroll region. Each movable card has a Move to… button that opens a dialog with Column and Position fields and makes onerequestMove({ cardId, fromColumnId, toColumnId, placement })call; the app answers{ status: 'accepted' }after applying the move to its records, or{ status: 'rejected', message }, which stays visible in the dialog or on the card. The board keeps focus on cards by ID through reorders, announces outcomes, supportssuggestPlacement,describeMove,openMove, and same-column reorder animation throughmoveTransition. ExportsGhostBoardand itsBoard*types. Dragging is not included yet. -
569fe68:
GhostDataTableanduseGhostDataTableacceptenablePagination(defaulttrue). Whenfalse, a local table shows every filtered and sorted row as one page:getRowModel()returns the pre-pagination rows,pageCountis1, and thepaginationv-model is ignored. Server tables (manualPagination) ignore the option. The themedGhostDataTableforwards it. -
95264ed:
GhostDataTableanduseGhostDataTableadd opt-in query-wide selection for server-paged, server-filtered tables. SetenableQuerySelection(withmanualPaginationandmanualFiltering) and bindv-model:selection: once the visible page is fully selected,selectAllMatching()turns the selection into{ mode: 'query', query, excludedIds, matchCount, matchCountExact }, a frozen snapshot of the committed filters plus the rows the operator unchecked afterwards, so a bulk action can send it to the server without downloading every matching id. New bindings and template ref members:selection,selectedCount,selectedCountKind,canSelectAllMatching,selectAllMatching, andselectionAnnouncement;rowCountExact: falsemarks an estimated total. A filter change clears a query selection.GhostDataTablePresetandGhostDataTableTablerender a polite selection live region (localize it withselectionAnnouncementLabel), and the preset's#bulkActionsslot getsselection,excludedCount,selectedCountKind,canSelectAllMatching, andselectAllMatching. The themedGhostDataTableforwards the new props, event, and exposed members.Existing tables are unchanged unless they opt in. With
enableQuerySelection,selectionis the source of truth:selectedRowIdsbecomes a read-only projection that is[]inquerymode, a boundselectedRowIdsis ignored with a development warning (GHOST044), and#bulkActionsselectedCountcounts the whole query selection. -
addb7d7: Add the experimental headless
GhostGantt: a date-only Gantt chart over an app-owned schedule. It renders a namedtreegridwith hierarchical task rows (title, inclusive dates, and finish-to-start dependencies, including links to tasks that are not in the schedule) aligned with anaria-hiddentimeline of bars, milestones, connectors, and a today marker positioned by day-offset custom properties. Rows have one Tab stop, hierarchy keys, controlledv-model:expandedandv-model:selected, and an Edit dates dialog that proposes oneeditRequest({ taskId, intent, proposed }); the app accepts by supplying revisedtasksor rejects with ataskErrorsentry. ExportsGhostGanttand itsGantt*types. Dragging bars and resizing edges are not included yet. -
3beb7a9: Scoped styles now reach portaled content roots. The
*Contentparts of dialog, drawer, popover, hover card, tooltip, dropdown, context and menubar menus, submenus, select, combobox, command palette and date picker, the dialog, drawer and command palette overlays, and the toast viewport put the consumer's<style scoped>attribute on the element that receivesclass. This holds whether the part teleports or renders with:portal="false", for both the headless parts in@ghostvue/vueand the themed parts in@ghostvue/themes. When the part is the single root of your component, it also gets the scope attributes Vue passes down from that component's parents, as an element root would.A scoped
.booking-dialog { inline-size: 40rem }onGhostDialogContentused to match nothing and now applies. Review scoped rules on these parts before upgrading: rules that silently did nothing will start to apply. Unscoped and:global()rules keep working, and:slotted()rules and parts rendered from render functions (no scope id) are unchanged. -
e462284: Add
GhostQueryBuilder, an experimental headless editor for saved, grouped
filters, withuseGhostQueryBuilder,defineQueryFields,
validateQueryExpressionand their types. It renders nested AND/OR groups
with NOT, adds and removes conditions with focus recovery, names every group,
condition and control, links issues to their controls, announces results in a
polite status region, and ships the text value editor plus thevalueslot
for app-supplied editors. -
4807f49:
GhostQueryBuilderships built-in choice, yes/no, date and number value
editors, also rendered by thevalueslot'sDefaultEditor. Choice fields
use aGhostSelect(withmultiplefor "is any of" and "is none of") that
offers only active options; yes/no fields use aGhostRadioGroupwith no
selection until one is picked; number fields useGhostNumberInput; date
fields useGhostDatePicker. "Is between" shows "From" and "To" controls,
and a range with one end blocks Apply with "Enter both dates." or "Enter both
numbers." and focuses the missing end.0andfalseare ordinary values,
and a cleared input removes the value. Date text that a picker has not
committed blocks Apply as pending. A retained value an editor cannot show
(such as a restored unparseable date) is printed next to it as the
value-textpart. A native reset of the enclosing form does not change the
draft. Date popups carry theghost-query-builder-calendarclass. -
6b9c45e:
GhostLinkandGhostBreadcrumbLink(headless and themed) type theirastarget.asis now a type parameter (TTarget), so withvueCompilerOptions.strictTemplatesthe props of a component target are checked:<GhostLink :as="RouterLink" to="/settings">typesto, and a missing or mistyped required prop of the target is a compile-time error. Attributes of the anchor that the target does not declare (aria-label,@click) are still accepted. An element target admits that element's attributes, soGhostBreadcrumbLink as="button"no longer accepts anchor-only attributes such ashref.GhostLinksetshrefonly on a native anchor, as before, sohrefis now a type error with a component target. Default usage andas="a"are unchanged, and nothing changes at runtime.@ghostvue/vueexportsGhostAsAttributes, the attribute type that follows anastarget. The headlessGhostLinkslots (default,externalIndicator) are typed as optional, which they always were at runtime. Both components' manifests list theasprop type asGhostLinkElement | TTarget(GhostBreadcrumbLinkElement | TTarget).
@ghostvue/themes
Minor Changes
-
569fe68:
GhostDataTableanduseGhostDataTableacceptenablePagination(defaulttrue). Whenfalse, a local table shows every filtered and sorted row as one page:getRowModel()returns the pre-pagination rows,pageCountis1, and thepaginationv-model is ignored. Server tables (manualPagination) ignore the option. The themedGhostDataTableforwards it. -
95264ed:
GhostDataTableanduseGhostDataTableadd opt-in query-wide selection for server-paged, server-filtered tables. SetenableQuerySelection(withmanualPaginationandmanualFiltering) and bindv-model:selection: once the visible page is fully selected,selectAllMatching()turns the selection into{ mode: 'query', query, excludedIds, matchCount, matchCountExact }, a frozen snapshot of the committed filters plus the rows the operator unchecked afterwards, so a bulk action can send it to the server without downloading every matching id. New bindings and template ref members:selection,selectedCount,selectedCountKind,canSelectAllMatching,selectAllMatching, andselectionAnnouncement;rowCountExact: falsemarks an estimated total. A filter change clears a query selection.GhostDataTablePresetandGhostDataTableTablerender a polite selection live region (localize it withselectionAnnouncementLabel), and the preset's#bulkActionsslot getsselection,excludedCount,selectedCountKind,canSelectAllMatching, andselectAllMatching. The themedGhostDataTableforwards the new props, event, and exposed members.Existing tables are unchanged unless they opt in. With
enableQuerySelection,selectionis the source of truth:selectedRowIdsbecomes a read-only projection that is[]inquerymode, a boundselectedRowIdsis ignored with a development warning (GHOST044), and#bulkActionsselectedCountcounts the whole query selection. -
3beb7a9: Scoped styles now reach portaled content roots. The
*Contentparts of dialog, drawer, popover, hover card, tooltip, dropdown, context and menubar menus, submenus, select, combobox, command palette and date picker, the dialog, drawer and command palette overlays, and the toast viewport put the consumer's<style scoped>attribute on the element that receivesclass. This holds whether the part teleports or renders with:portal="false", for both the headless parts in@ghostvue/vueand the themed parts in@ghostvue/themes. When the part is the single root of yo...
GhostVue 0.4.0
@ghostvue/vue
Minor Changes
-
12bec6c: Add an
accessibleLabelprop to theGhostCalendarGrid#cellslot and theGhostCalendarCelldefault slot. It is the full localized date the cell already uses as itsaria-label, such as "Saturday, June 15, 2024", and is not the visible day; renderdate.dayfor the day number. TheformattedDateslot prop is deprecated: it is still passed with the same value and type, and will not be removed before 1.0. ThemedGhostCalendarGridandGhostCalendarCellnow type their slots the same way, and@ghostvue/themesre-exportsGhostCalendarGridCellSlotProps. The Calendar guide adds a themed custom day cell example that keeps the day number and marks days with a dot. -
428d660: Add chat building blocks.
GhostScrollAreagains opt-instickToBottom: the view follows new content while the reader is at the bottom, stops as soon as they scroll up (wheel, keys, scrollbar, touch, or assistive technology), and resumes when they return to the bottom.v-model:stuckreports and controls following, the exposedscrollToBottom(options?)returns to the latest content, anddata-stuckmirrors the state. Following is instant, never moves focus, keeps a keyboard-focused control on screen, and pauses while a pointer or finger is down.useGhostScrollAreaacceptsstickToBottom,stuck, andonStuckChangeand returnsstuckandscrollToBottom. The themedGhostScrollAreaforwards the props and model and now exposeselementandscrollToBottom(). Withorientation="horizontal"the prop is ignored with development warningGHOST028.GhostTextareagains opt-insubmitOnEnter:Entersubmits the form owner withrequestSubmit()andShift+Enterinserts a newline. IME composition, read-only textareas, and held-key repeats never submit, and a consumer@keydownruns first and can cancel it. Without a form owner,Enterstays native and development warningGHOST029is logged.- New experimental
GhostChatMessageanduseGhostChatMessage: one<article>per message withavatar,header,bubble, andfooterparts,side(startorend), arrivalstatus(complete,typing, orstreaming), and a visually hiddentypingLabel. The header names the article; the component never setsaria-busy. The themedGhostChatMessageadds side-aware bubbles, a forced-colors outline, and typing dots that stop under reduced motion.
Fix: a focused
GhostScrollArearoot keeps itstabindex,role, andaria-labeluntil it loses focus when tabbable content arrives, so focus no longer drops to the page. -
c5bf52a: Add
GhostRadioCardandGhostCheckboxCard(experimental), card-shaped members ofGhostRadioGroupandGhostCheckboxGroup. Each renders a native<label>around the group's existing radio or checkbox, so a click anywhere on the card selects it with no script, and the group keeps its model, form submission, reset, and keyboard behavior. The card root mirrorsdata-state="checked"anddata-disabledfor styling. The default slot names the option througharia-labelledby, and an optionaldescriptionslot becomes its accessible description. The themed cards reuse the card surface tokens, draw a doubled primary border and selected tint, show one focus ring on the card, and keep a thickerHighlightborder in forced colors.Fix:
GhostRadioGroupItemnow calls a consumer@changelistener after its own handler instead of dropping it. -
f0bcb68: Add
GhostCodeBlockand a clipboard helper.GhostCodeBlockrenders a code sample from markup your own highlighter produced (Shiki, Prism, highlight.js, or none), passed in the default slot, with the raw text ascode. It adds a header with a title, a language label and anactionsslot, a Copy button whose name and visible text never change, a polite status announcement, horizontal scrolling for long lines (the<pre>becomes a named tab stop only while it overflows), and an optional fold (foldLines,v-model:expanded) that clips long samples visually while every line stays available to screen readers. Copy writescodeorcopyText, never the rendered markup. When the write fails, the code is selected andCtrl+C,⌘Cor the device's Copy menu completes the copy with the same text.copySettledreports each result.useGhostCodeBlockexposes the same behavior for custom markup. GhostVue bundles no highlighter and the component never callsv-html.useGhostClipboardgives any copy control the same state (idle,copied,failed), a keyed announcement for a live region, and a latest-request-wins rule;writeClipboardTextis the stateless write underneath and resolvesfalseinstead of throwing during SSR, on insecure origins, and when the write is denied.The themed
GhostCodeBlockin@ghostvue/themesadds the surface, border, quiet Copy and fold buttons, a check mark while copied, the failure text, and a fade over the last visible line of a collapsed sample. It ships asrecipes/code-block.cssand indefault.css. A new semantic token,--ghost-type-family-mono, sets the code font. New development warnings: GHOST035 (a<pre>inside the slot) and GHOST036 (an invalidfoldLines). -
c369659: Add
emptyDescriptionandemptyActionslayout slots toGhostDataTablePreset. List them inlayoutSlotsto put a description and actions, such as a Clear filters button, in the empty-state row. The title still comes fromemptyTitleatemptyHeadingLevel, so the row keeps one heading. Without the opt-in, the empty row is unchanged and a column with either id keeps its cell slot. The themed preset forwards both slots. -
259276b:
GhostDatePickererrors now flow into the surroundingGhostFieldandGhostForm. A rejected date or range (for example fromvalidateRangeorisDateDisabled) marks the field holding that input invalid and shows the picker's reason inGhostFieldError, instead of the form's message for an empty value. A range-wide error goes to the start field only, so it is announced once, and the input links the field's error instead of the picker's own description. InsideGhostForm, picker errors block submit, count inisInvalid,fieldErrors,getFieldError, andissues, and a submit attempt,validate(), orvalidateField()reveals uncommitted drafts andrequired. Rejected or uncommitted drafts can no longer submit a stale committed value.clearErrorsandsetFieldErrorsdo not remove picker errors. Disabled, readonly, and standalone pickers outside aGhostFieldare unchanged. If you render the sloterrorsbeside a field yourself, remove that copy to avoid showing the message twice.The themed
GhostDatePickernow types its default slot like the headless root, soerrorsisGhostDatePickerError[]instead ofany. -
5445638: Add
GhostListbox(experimental), a standalone, always-visible listbox for surfaces such as a mail message list, a file list, or a picker panel.GhostListbox,GhostListboxOption,GhostListboxGroup, andGhostListboxLabelfollow the WAI-ARIA APG listbox pattern: one Tab stop rendered astabindex, arrow,Home/End, and typeahead movement,orientationwith right-to-left support, andloop. Single mode has astring | undefinedmodel and optionalselectionFollowsFocus;multiple(typed from the template, as inGhostSelect) has astring[]model in selection order with the APG multi-select keys (Space,Shift+Arrow,Shift+Space,Ctrl+Shift+Home/End,Ctrl+A, withCmdon macOS) and desktop pointer selection whose plain click is set byselectionBehavior(toggleorreplace). Focus moves to the next option when the focused one is removed, the selection is never changed by removal or filtering, andfocusOption(value)moves focus without selecting. The themed parts in@ghostvue/themesuse the Select row tokens for the active density, the shared selected fill and focus ring, a coarse-pointer touch floor, and forced-colors styles.GhostContextMenuTriggergainsfocusTarget(default'self', unchanged behavior).focusTarget="descendant"makes the trigger a passive wrapper around a composite such asGhostListbox: no tab stop or popup attributes, the menu opens for the option under the pointer or the focused option (selecting it if it was not selected), keyboard opening anchors at that option, a pointer down on another row closes the menu, and focus returns to the option, or to the list's next option when the menu action removed it. New development warnings: GHOST030 to GHOST034, GHOST037, and GHOST038. -
088bc06: Component manifests gain a
summary: one plain-language line of 12 words or fewer that says what the component is for, such as "Button for actions, with loading and disabled states." Every manifest in@ghostvue/vue/manifest.json,@ghostvue/themes/manifest.json, and the@ghostvue/mcpbundle now has one and usesschemaVersion1.2.0. The longerdescriptionis unchanged. The manifest schema (https://ghostvue.dev/schemas/v1/manifest.schema.json) definessummaryas optional, so documents withschemaVersion1.0.0or1.1.0stay valid; tools reading older documents should fall back todescription. -
2ec8ca6:
GhostDropdownMenuCheckboxItem,GhostContextMenuCheckboxItemandGhostMenubarCheckboxItemnow accept plainv-model(modelValue/update:modelValue) alongsidev-model:checked, matchingGhostCheckboxandGhostSwitch. Before this, plainv-modelcompiled, type-checked and rendered, but the item ignored it. Every toggle emits bothupdate:checkedandupdate:modelValue; when both props are bound,checkeddecides the rendered state. -
8fdc0be: Add
GhostStepper, a progress indicator for multi-step flows. It renders a labelle...
GhostVue 0.3.0
@ghostvue/vue
Minor Changes
-
700b967: Add the experimental
GhostDataGridcomponent anduseGhostDataGridcomposable: an editable APG data grid over your own rows. It has oneTabstop, arrow-key,Home/End,Ctrl+Home/Ctrl+End, andPage Up/Page Downcell navigation (with right-to-left support), and a labeled single-line editor on editable cells.Enter,F2, or a second press opens the editor;EnterandTabpropose a changed value once througheditRequest, andEscapeor an outside press discards it. The app accepts an edit by updatingdata, where focus follows the edited cell through reorders, or rejects it withcellErrors, which are shown, described, and announced.The MCP catalog includes the GhostDataGrid manifest, usage page, and examples.
-
c141d8a: Add opt-in multi-column sorting to
GhostDataTable,useGhostDataTable, and the@ghostvue/themesDataTable. Tables withoutenableMultiSortkeep single-column sorting, their header button order, and their server queries unchanged.enableMultiSortturns it on for every sortable column.Shift+click,Shift+Enter, andShift+Spaceadd a column at the lowest priority, flip it from ascending to descending in place, or remove it. Plain activation advances the primary column on its own, or starts another column on its own.isMultiSortEventdecides which activations add a column. Pass() => truefor touch and screen reader users and pair it with a visible control that calls the newclearSorting().maxMultiSortColCountcaps the sorted columns and ignores a new column at the cap.toggleSorting(columnId, multi?),getSortIndex, headersortIndexandsortPriority, and thesortAnnouncementslot binding support manual compositions.getDataTableSortButtonPropsacceptsdescribedById.- Only the primary header carries
aria-sort. Sorted headers getdata-sort-priority.GhostDataTableTableandGhostDataTablePresetdescribe each sorted button's rank and direction, show anaria-hiddenrank badge, and announce user sort changes in a polite live region, localized withsortDescriptionLabelandsortAnnouncementLabel. - Server tables receive the ordered column ids and directions in
query.sorting, with onestateChangeper change. - The themed DataTable forwards the new props and styles the rank badge. The MCP catalog includes the new multi-sort example.
Patch Changes
- 21272c1: The
GhostCalendarmanifest descriptions, and the themedGhostTabs,GhostContextMenu, andGhostMenubarmanifest descriptions, now describe the components instead of repeating scaffolding notes. The text appears in each package'smanifest.json, the docs component catalog, and the theme reference pages. - c825013: Keep the themed DatePicker calendar within the available space beside its input, and scroll focused controls into view inside a centered dialog.
- b36bf91:
GhostScrollSpykeeps the activated section active while a link click orscrollTo()scrolls to it, so sections passed on the way no longer flash as active. Tracking resumes when the scroll ends or as soon as the reader starts scrolling with the wheel, touch, keyboard, or a pointer.
@ghostvue/themes
Minor Changes
-
c70efcb: Themed
GhostBadgeaddssuccessandwarningtones. They take their colors from the existing--ghost-status-success-*and--ghost-status-warning-*tokens, so a status badge keeps its meaning in every theme:accentfollows the brand color and turns purple in Vibrant or grey in Mono. In thesolidvariant the two tones swap the status text and fill colors and have no gradient.GhostBadgeTonegains both values. Existing tones, defaults, andGhostButtontones are unchanged. -
c141d8a: Add opt-in multi-column sorting to
GhostDataTable,useGhostDataTable, and the@ghostvue/themesDataTable. Tables withoutenableMultiSortkeep single-column sorting, their header button order, and their server queries unchanged.enableMultiSortturns it on for every sortable column.Shift+click,Shift+Enter, andShift+Spaceadd a column at the lowest priority, flip it from ascending to descending in place, or remove it. Plain activation advances the primary column on its own, or starts another column on its own.isMultiSortEventdecides which activations add a column. Pass() => truefor touch and screen reader users and pair it with a visible control that calls the newclearSorting().maxMultiSortColCountcaps the sorted columns and ignores a new column at the cap.toggleSorting(columnId, multi?),getSortIndex, headersortIndexandsortPriority, and thesortAnnouncementslot binding support manual compositions.getDataTableSortButtonPropsacceptsdescribedById.- Only the primary header carries
aria-sort. Sorted headers getdata-sort-priority.GhostDataTableTableandGhostDataTablePresetdescribe each sorted button's rank and direction, show anaria-hiddenrank badge, and announce user sort changes in a polite live region, localized withsortDescriptionLabelandsortAnnouncementLabel. - Server tables receive the ordered column ids and directions in
query.sorting, with onestateChangeper change. - The themed DataTable forwards the new props and styles the rank badge. The MCP catalog includes the new multi-sort example.
Patch Changes
- 21272c1: The
GhostCalendarmanifest descriptions, and the themedGhostTabs,GhostContextMenu, andGhostMenubarmanifest descriptions, now describe the components instead of repeating scaffolding notes. The text appears in each package'smanifest.json, the docs component catalog, and the theme reference pages. - d54f91f: Themed controls that set their own padding now follow the shared control scale, so they line up with buttons and inputs instead of standing taller. At the default density,
GhostSegmentedControlandGhostToggleGrouptracks are 36px tall (was 68px),GhostTabstriggers 36px (was 50px),GhostMenubartriggers 32px (was 50px), theGhostDatePickerinputs and trigger 36px (was 44px), and theGhostFileUploadtrigger and remove buttons 36px and 32px (was 44px).GhostCalendardays and month buttons are 32px squares (was up to 44px), which makes the date picker surface about 274px wide instead of 366px; its close button now sits in the month header row beside the previous and next buttons, with the month title at the start, and the status line takes space under the month only while it has text.GhostScrollSpylinks are 32px tall (was 44px). All of these still grow to 44px on coarse pointers, and they followdata-ghost-density. To keep an earlier size, setmin-block-sizeor padding on the part. - 4e49b65: Improve outline and ghost action contrast inside themed danger alerts, including the focus ring and outline button border.
- c825013: Keep the themed DatePicker calendar within the available space beside its input, and scroll focused controls into view inside a centered dialog.
- 9db5db5: Themed table cells now centre their content on the row, so plain text lines up with the label of a button, badge, or sort control in the same row, and sortable and plain column headers share one line. In the themed data table, the sort mark sits next to its label, header labels start on the same edge as the column's cell text, and the selection and expand columns are only as wide as their control. For rows of wrapping prose, set
vertical-align: baselineortopon the cells. - Updated dependencies [21272c1]
- Updated dependencies [700b967]
- Updated dependencies [c141d8a]
- Updated dependencies [c825013]
- Updated dependencies [b36bf91]
- @ghostvue/vue@0.3.0
@ghostvue/nuxt
Patch Changes
- Updated dependencies [c70efcb]
- Updated dependencies [21272c1]
- Updated dependencies [d54f91f]
- Updated dependencies [4e49b65]
- Updated dependencies [700b967]
- Updated dependencies [c141d8a]
- Updated dependencies [c825013]
- Updated dependencies [b36bf91]
- Updated dependencies [9db5db5]
- @ghostvue/themes@0.3.0
- @ghostvue/vue@0.3.0
@ghostvue/eslint-plugin
No changes in this release.
@ghostvue/mcp
Patch Changes
-
700b967: Add the experimental
GhostDataGridcomponent anduseGhostDataGridcomposable: an editable APG data grid over your own rows. It has oneTabstop, arrow-key,Home/End,Ctrl+Home/Ctrl+End, andPage Up/Page Downcell navigation (with right-to-left support), and a labeled single-line editor on editable cells.Enter,F2, or a second press opens the editor;EnterandTabpropose a changed value once througheditRequest, andEscapeor an outside press discards it. The app accepts an edit by updatingdata, where focus follows the edited cell through reorders, or rejects it withcellErrors, which are shown, described, and announced.The MCP catalog includes the GhostDataGrid manifest, usage page, and examples.
-
c141d8a: Add opt-in multi-column sorting to
GhostDataTable,useGhostDataTable, and the@ghostvue/themesDataTable. Tables withoutenableMultiSortkeep single-column sorting, their header button order, and their server queries unchanged.enableMultiSortturns it on for every sortable column.Shift+click,Shift+Enter, andShift+Spaceadd a column at the lowest priority, flip it from ascending to descending in place, or remove it. Plain activation advances the primary column on its own, or starts another column on its ow...
GhostVue 0.2.1
@ghostvue/vue
Patch Changes
- 8140338: The
GhostCalendarmanifest descriptions, and the themedGhostTabs,GhostContextMenu, andGhostMenubarmanifest descriptions, now describe the components instead of repeating scaffolding notes. The text appears in each package'smanifest.json, the docs component catalog, and the theme reference pages. - 8dc9e8c:
GhostScrollSpykeeps the activated section active while a link click orscrollTo()scrolls to it, so sections passed on the way no longer flash as active. Tracking resumes when the scroll ends or as soon as the reader starts scrolling with the wheel, touch, keyboard, or a pointer.
@ghostvue/themes
Patch Changes
- 8140338: The
GhostCalendarmanifest descriptions, and the themedGhostTabs,GhostContextMenu, andGhostMenubarmanifest descriptions, now describe the components instead of repeating scaffolding notes. The text appears in each package'smanifest.json, the docs component catalog, and the theme reference pages. - d4f0f13: Improve outline and ghost action contrast inside themed danger alerts, including the focus ring and outline button border.
- e9b73d0: Themed table cells now centre their content on the row, so plain text lines up with the label of a button, badge, or sort control in the same row, and sortable and plain column headers share one line. In the themed data table, the sort mark sits next to its label, header labels start on the same edge as the column's cell text, and the selection and expand columns are only as wide as their control. For rows of wrapping prose, set
vertical-align: baselineortopon the cells. - Updated dependencies [8140338]
- Updated dependencies [8dc9e8c]
- @ghostvue/vue@0.2.1
@ghostvue/nuxt
Patch Changes
- Updated dependencies [8140338]
- Updated dependencies [d4f0f13]
- Updated dependencies [8dc9e8c]
- Updated dependencies [e9b73d0]
- @ghostvue/vue@0.2.1
- @ghostvue/themes@0.2.1
@ghostvue/eslint-plugin
No changes in this release.
@ghostvue/mcp
No changes in this release.
GhostVue 0.2.0
@ghostvue/vue
Minor Changes
-
1324857: Add experimental GhostTagsInput for entering and removing free-form strings with accessible keyboard navigation and native form submission, validation, and reset.
-
5d9acb9: Add
GhostCheckboxGroupanduseGhostCheckboxGroupfor visible multi-value checkbox choices with astring[]v-model, native form submission and reset, and focus restoration when a focused member unmounts. -
164a60b: Add
GhostFormanduseGhostFormfor Standard Schema v1 form validation, typed output transformation on submit, progressive error visibility, async validation epoch safety, and native form reset suppression. ExtendGhostFieldandGhostFieldErrorwith optionalnamewiring and scoped error slot props while preserving standalone prop-driven behavior. -
62044e2: Use the shared submenu parts inside ContextMenu and Menubar. Nested actions support inline and portaled menus, return focus to the invoking row or menu trigger, and follow the host's text direction. Menubar also supports moving from a child command to the next top-level menu.
-
3581e10: Add shared submenu parts to DropdownMenu, with nested keyboard and pointer navigation, inline or portaled content, and styled menu surfaces.
-
5a5aed9: Overlays can now animate out. New
GhostPresenceanduseGhostPresencekeep a closing surface mounted withdata-state="closed"only while its own CSS transition or animation runs, then unmount it.GhostDialog,GhostDrawer,GhostCommandPalette,GhostPopover,GhostHoverCard, andGhostDatePickeruse it with no new props:update:open, triggeraria-expanded, focus return,Escapelayering, scroll lock, and backgroundinertstill change the moment an overlay closes, and the departing surface isinertwithpointer-events: none. Reopening mid-exit reuses the same element. Without exit CSS, overlays unmount in the same frame as before.Content and overlay parts of these hosts now report
data-state="closed"while exiting (previously they only ever rendereddata-state="open"), and their exposedelementstays set until the node unmounts.@ghostvue/themesadds exit recipes for those surfaces and the Dialog, Drawer, and CommandPalette backdrops: a fade with the entry's travel reversed over--ghost-motion-exit-duration, or a fade only under reduced motion. Dialog and CommandPalette backdrops also fade in. Dialog and Drawer geometry and forced-colors rules no longer require[data-state='open']. Themed overlays now stay in the DOM for about 120ms after closing, so tests that expect them gone immediately should wait for removal.New development warning
GHOST014reports a multi-rootGhostPresenceslot that never boundsetElement. -
60f5bb8: Add
multipleselection support toGhostSelect,useGhostSelect, and the@ghostvue/themesGhostSelectwrapper while preserving single-select scalar compatibility.GhostSelectbecomes generic overMultiple extends boolean = falseso scalar templates inferstring | undefinedandmultipletemplates inferreadonly string[]inputs withstring[]updates.- Multiple mode keeps selection order, never mutates or aliases consumer arrays, emits fresh duplicate-free
string[]values, and submits one hidden form input per selected value (or an unnamed reset anchor when empty) with order-independentrequiredvalidation. GhostSelectValueadds{ values, labels }scoped default slot props andmessages.listSeparator(default', ').GhostSelectContextbecomes a union discriminated bymultiple, withreplaceSelectionand a readonlyselectedValueref on the multiple branch.- The MCP catalog includes the new Select examples and exposed template-ref members for generic components.
Patch Changes
- c2ff9c2: Teach everyday Calendar range and locale use with themed examples. The new
calendar/availabilityexample books a studio range around booked days, andcalendar/office-localeswitches locale, week start, and month button names per office. Both appear in the themed manifest and the MCP themed layer filter. The headlesscalendar/basic,calendar/range,calendar/controlled,calendar/locale, andcalendar/unselectedexamples keep their IDs and source and move under an Advanced section of the guide. - 63c6d86: Lead the CommandPalette guide with themed command search.
command-palette/themednow opens from an app-owned Mod+J shortcut as well as its trigger, and is titled "Search and run commands".command-palette/asyncis now a themed page search with visible loading text and an empty message that names the query, and its manifest ownership moves from@ghostvue/vueto@ghostvue/themes. The headlesscommand-palette/basic,command-palette/shortcut(now Mod+J) andcommand-palette/virtualizedexamples keep their IDs and bring their own overlay and surface CSS. - 6456661: Lead the DatePicker guide with a themed trip booking example. The existing controlled, validation, formatting, RTL, and nested-dialog example IDs now return themed source and appear in the themed manifest and MCP layer filter. The basic and range examples still show headless styling.
- c63797d: Lead the FileUpload guide with the themed asset submission journey. The
file-upload/asset-submissionexample now lists each rejected file in aGhostFieldErrorlinked to the trigger, rejects a second file with an attached name, clears the error when the list changes, and reports the file names its form submits throughFormData. The headless file upload examples keep their IDs and source. - 7f47074: Add input group examples to the Input manifests and example catalog. The themed unit-suffix recipe reads a visible unit as the input's first description without submitting it. The themed clearable search pairs a decorative icon with a Clear button that never submits and returns focus to the field. A headless version uses the same markup with consumer-owned styles.
- b27391e: Add themed and headless address examples to the Field manifests and example catalog. The themed recipe shows how to label a native fieldset, associate group and field errors, and inspect submitted values. The headless recipe uses the same native grouping with consumer-owned styles.
- ad7283f: Teach both ScrollArea orientations with themed examples.
scroll-area/horizontalis now a themed, keyboard-reachable strip of deployment environment tiles, and its manifest ownership moves from@ghostvue/vueto@ghostvue/themes.scroll-area/themedshows a realistic inbox. The headlessscroll-area/basicandscroll-area/composableexamples keep their IDs and source. - ebbc637: Teach Table row headers and horizontal overflow, and Pagination paging, with themed examples.
table/row-headersis now a themed service health table whose row headers name each record.table/contain-horizontalis a themed deployments table that scrolls inside a caption-named region.pagination/themedpages through a themed invoice table, andpagination/controlledandpagination/ellipsisare themed audit log and catalog pagers. Manifest ownership oftable/row-headers,table/contain-horizontal,pagination/controlled, andpagination/ellipsismoves from@ghostvue/vueto@ghostvue/themes. The headlesstable/basic,table/composable, andpagination/basicexamples keep their IDs and source. - 7755938: Update the Field, Input, and Textarea guides to teach form states with themed examples. The existing
field/checkboxexample now uses the themed checkbox and is returned under the themed layer in the component manifests and MCP catalog. - a695cfe: Lead the Breadcrumb, Link, Kbd, and InteractiveSurface guides with themed examples.
link/documentation-footernow links to real in-app routes beside its new-tab and same-tab external links.link/routernow importsGhostLinkfrom@ghostvue/themes, and its manifest ownership moves from@ghostvue/vueto@ghostvue/themes. Eachinteractive-surface/feature-tilestile now has a focusable link as its action. The tile and card styles ininteractive-surface/feature-tilesandinteractive-surface/basicnow apply: the themed surface forwardsclassto an inner element, so scoped styles never matched it.breadcrumb/basicbrings its own consumer CSS for an inline trail. The headless examples keep their IDs and move under an Advanced section of each guide. - 7e3604b: Lead the Toast guide with the themed save-and-retry example. The
toast/themedexample is now titled "Save and retry", and its source names the success, persistent error, and retry steps; each retry updates the same toast in place and counts the attempt. The headless toast examples keep their IDs and source. - f1cf6f5: Fix
GhostTooltipProviderbriefly showing two tooltips when the pointer moves between adjacent triggers. Opening a tooltip now hides any other open tooltip in the same provider immediately instead of waiting for itscloseDelay.
@ghostvue/themes
Minor Changes
- 1324857: Add experimental GhostTagsInput for entering and removing free-form strings with accessible keyboard navigation and native form submission, validation, and reset.
- 5d9acb9: Add
GhostCheckboxGroupanduseGhostCheckboxGroupfor visible multi-value checkbox choices with astring[]v-model, native form submission and reset, and focus restoration when a focused member unmounts. - 62044e2: Use the shared submenu parts inside ContextMenu and Menubar. Nested actions support inline and portaled menus, return focus to the invoking row or menu trigger, and follow the host's text direction. Menubar also supports moving from a child command to the next top-level menu.
- 3581e10: Add shared submenu parts t...
GhostVue 0.1.0
GhostVue’s first public release ships a headless-first Vue 3 component library, an optional theme layer, Nuxt integration, an ESLint plugin, and an MCP server. All five packages ship together at 0.1.0.
Highlights
- Vue ships accessible, unstyled components and composables, a component auto-import resolver, and machine-readable component manifests. This release includes ScrollSpy and headless DataTable.
- Themes ships themed wrappers, design tokens, and four built-in themes (default, Calm, Vibrant, and Mono), plus a themed single-sort DataTable with sticky headers and accessible selection.
- Nuxt auto-imports the headless components and composables by default, with opt-in themed wrappers and CSS.
- ESLint checks GhostVue props, slots, and
v-modelusage against the published component manifests. - MCP exposes a read-only, offline stdio server so coding agents can discover components, examples, docs, and design tokens.
Packages and changelogs
| Package on npm | Changelog |
|---|---|
@ghostvue/vue@0.1.0 |
Changes |
@ghostvue/themes@0.1.0 |
Changes |
@ghostvue/nuxt@0.1.0 |
Changes |
@ghostvue/eslint-plugin@0.1.0 |
Changes |
@ghostvue/mcp@0.1.0 |
Changes |
The Vue peer range is ^3.5.0. The Nuxt module supports Nuxt ^4.6.0, and the MCP server requires Node >=22.
Verification
All five npm tarball hashes matched the release rehearsal, and a clean public install passed with registry signatures and provenance attestations verified. Publish workflow · Verification job · Release evidence