Skip to content

Releases

GhostVue 0.5.0

Choose a tag to compare

@github-actions github-actions released this 06 Dec 15:28
8aae14b

Verified npm publication

@ghostvue/vue

Install from npm

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 one requestMove({ 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, supports suggestPlacement, describeMove, openMove, and same-column reorder animation through moveTransition. Exports GhostBoard and its Board* types. Dragging is not included yet.

  • 569fe68: GhostDataTable and useGhostDataTable accept enablePagination (default true). When false, a local table shows every filtered and sorted row as one page: getRowModel() returns the pre-pagination rows, pageCount is 1, and the pagination v-model is ignored. Server tables (manualPagination) ignore the option. The themed GhostDataTable forwards it.

  • 95264ed: GhostDataTable and useGhostDataTable add opt-in query-wide selection for server-paged, server-filtered tables. Set enableQuerySelection (with manualPagination and manualFiltering) and bind v-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, and selectionAnnouncement; rowCountExact: false marks an estimated total. A filter change clears a query selection. GhostDataTablePreset and GhostDataTableTable render a polite selection live region (localize it with selectionAnnouncementLabel), and the preset's #bulkActions slot gets selection, excludedCount, selectedCountKind, canSelectAllMatching, and selectAllMatching. The themed GhostDataTable forwards the new props, event, and exposed members.

    Existing tables are unchanged unless they opt in. With enableQuerySelection, selection is the source of truth: selectedRowIds becomes a read-only projection that is [] in query mode, a bound selectedRowIds is ignored with a development warning (GHOST044), and #bulkActions selectedCount counts the whole query selection.

  • addb7d7: Add the experimental headless GhostGantt: a date-only Gantt chart over an app-owned schedule. It renders a named treegrid with hierarchical task rows (title, inclusive dates, and finish-to-start dependencies, including links to tasks that are not in the schedule) aligned with an aria-hidden timeline of bars, milestones, connectors, and a today marker positioned by day-offset custom properties. Rows have one Tab stop, hierarchy keys, controlled v-model:expanded and v-model:selected, and an Edit dates dialog that proposes one editRequest ({ taskId, intent, proposed }); the app accepts by supplying revised tasks or rejects with a taskErrors entry. Exports GhostGantt and its Gantt* types. Dragging bars and resizing edges are not included yet.

  • 3beb7a9: Scoped styles now reach portaled content roots. The *Content parts 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 receives class. This holds whether the part teleports or renders with :portal="false", for both the headless parts in @ghostvue/vue and 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 } on GhostDialogContent used 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, with useGhostQueryBuilder, defineQueryFields,
    validateQueryExpression and 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 the value slot
    for app-supplied editors.

  • 4807f49: GhostQueryBuilder ships built-in choice, yes/no, date and number value
    editors, also rendered by the value slot's DefaultEditor. Choice fields
    use a GhostSelect (with multiple for "is any of" and "is none of") that
    offers only active options; yes/no fields use a GhostRadioGroup with no
    selection until one is picked; number fields use GhostNumberInput; date
    fields use GhostDatePicker. "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. 0 and false are 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-text part. A native reset of the enclosing form does not change the
    draft. Date popups carry the ghost-query-builder-calendar class.

  • 6b9c45e: GhostLink and GhostBreadcrumbLink (headless and themed) type their as target. as is now a type parameter (TTarget), so with vueCompilerOptions.strictTemplates the props of a component target are checked: <GhostLink :as="RouterLink" to="/settings"> types to, 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, so GhostBreadcrumbLink as="button" no longer accepts anchor-only attributes such as href. GhostLink sets href only on a native anchor, as before, so href is now a type error with a component target. Default usage and as="a" are unchanged, and nothing changes at runtime.

    @ghostvue/vue exports GhostAsAttributes, the attribute type that follows an as target. The headless GhostLink slots (default, externalIndicator) are typed as optional, which they always were at runtime. Both components' manifests list the as prop type as GhostLinkElement | TTarget (GhostBreadcrumbLinkElement | TTarget).

@ghostvue/themes

Install from npm

Minor Changes

  • 569fe68: GhostDataTable and useGhostDataTable accept enablePagination (default true). When false, a local table shows every filtered and sorted row as one page: getRowModel() returns the pre-pagination rows, pageCount is 1, and the pagination v-model is ignored. Server tables (manualPagination) ignore the option. The themed GhostDataTable forwards it.

  • 95264ed: GhostDataTable and useGhostDataTable add opt-in query-wide selection for server-paged, server-filtered tables. Set enableQuerySelection (with manualPagination and manualFiltering) and bind v-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, and selectionAnnouncement; rowCountExact: false marks an estimated total. A filter change clears a query selection. GhostDataTablePreset and GhostDataTableTable render a polite selection live region (localize it with selectionAnnouncementLabel), and the preset's #bulkActions slot gets selection, excludedCount, selectedCountKind, canSelectAllMatching, and selectAllMatching. The themed GhostDataTable forwards the new props, event, and exposed members.

    Existing tables are unchanged unless they opt in. With enableQuerySelection, selection is the source of truth: selectedRowIds becomes a read-only projection that is [] in query mode, a bound selectedRowIds is ignored with a development warning (GHOST044), and #bulkActions selectedCount counts the whole query selection.

  • 3beb7a9: Scoped styles now reach portaled content roots. The *Content parts 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 receives class. This holds whether the part teleports or renders with :portal="false", for both the headless parts in @ghostvue/vue and the themed parts in @ghostvue/themes. When the part is the single root of yo...

Read more

GhostVue 0.4.0

Choose a tag to compare

@github-actions github-actions released this 04 Dec 02:04
03c6c12

Verified npm publication

@ghostvue/vue

Install from npm

Minor Changes

  • 12bec6c: Add an accessibleLabel prop to the GhostCalendarGrid #cell slot and the GhostCalendarCell default slot. It is the full localized date the cell already uses as its aria-label, such as "Saturday, June 15, 2024", and is not the visible day; render date.day for the day number. The formattedDate slot prop is deprecated: it is still passed with the same value and type, and will not be removed before 1.0. Themed GhostCalendarGrid and GhostCalendarCell now type their slots the same way, and @ghostvue/themes re-exports GhostCalendarGridCellSlotProps. 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.

    • GhostScrollArea gains opt-in stickToBottom: 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:stuck reports and controls following, the exposed scrollToBottom(options?) returns to the latest content, and data-stuck mirrors the state. Following is instant, never moves focus, keeps a keyboard-focused control on screen, and pauses while a pointer or finger is down. useGhostScrollArea accepts stickToBottom, stuck, and onStuckChange and returns stuck and scrollToBottom. The themed GhostScrollArea forwards the props and model and now exposes element and scrollToBottom(). With orientation="horizontal" the prop is ignored with development warning GHOST028.
    • GhostTextarea gains opt-in submitOnEnter: Enter submits the form owner with requestSubmit() and Shift+Enter inserts a newline. IME composition, read-only textareas, and held-key repeats never submit, and a consumer @keydown runs first and can cancel it. Without a form owner, Enter stays native and development warning GHOST029 is logged.
    • New experimental GhostChatMessage and useGhostChatMessage: one <article> per message with avatar, header, bubble, and footer parts, side (start or end), arrival status (complete, typing, or streaming), and a visually hidden typingLabel. The header names the article; the component never sets aria-busy. The themed GhostChatMessage adds side-aware bubbles, a forced-colors outline, and typing dots that stop under reduced motion.

    Fix: a focused GhostScrollArea root keeps its tabindex, role, and aria-label until it loses focus when tabbable content arrives, so focus no longer drops to the page.

  • c5bf52a: Add GhostRadioCard and GhostCheckboxCard (experimental), card-shaped members of GhostRadioGroup and GhostCheckboxGroup. 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 mirrors data-state="checked" and data-disabled for styling. The default slot names the option through aria-labelledby, and an optional description slot 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 thicker Highlight border in forced colors.

    Fix: GhostRadioGroupItem now calls a consumer @change listener after its own handler instead of dropping it.

  • f0bcb68: Add GhostCodeBlock and a clipboard helper. GhostCodeBlock renders a code sample from markup your own highlighter produced (Shiki, Prism, highlight.js, or none), passed in the default slot, with the raw text as code. It adds a header with a title, a language label and an actions slot, 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 writes code or copyText, never the rendered markup. When the write fails, the code is selected and Ctrl+C, ⌘C or the device's Copy menu completes the copy with the same text. copySettled reports each result. useGhostCodeBlock exposes the same behavior for custom markup. GhostVue bundles no highlighter and the component never calls v-html.

    useGhostClipboard gives any copy control the same state (idle, copied, failed), a keyed announcement for a live region, and a latest-request-wins rule; writeClipboardText is the stateless write underneath and resolves false instead of throwing during SSR, on insecure origins, and when the write is denied.

    The themed GhostCodeBlock in @ghostvue/themes adds 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 as recipes/code-block.css and in default.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 invalid foldLines).

  • c369659: Add emptyDescription and emptyActions layout slots to GhostDataTablePreset. List them in layoutSlots to put a description and actions, such as a Clear filters button, in the empty-state row. The title still comes from emptyTitle at emptyHeadingLevel, 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: GhostDatePicker errors now flow into the surrounding GhostField and GhostForm. A rejected date or range (for example from validateRange or isDateDisabled) marks the field holding that input invalid and shows the picker's reason in GhostFieldError, 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. Inside GhostForm, picker errors block submit, count in isInvalid, fieldErrors, getFieldError, and issues, and a submit attempt, validate(), or validateField() reveals uncommitted drafts and required. Rejected or uncommitted drafts can no longer submit a stale committed value. clearErrors and setFieldErrors do not remove picker errors. Disabled, readonly, and standalone pickers outside a GhostField are unchanged. If you render the slot errors beside a field yourself, remove that copy to avoid showing the message twice.

    The themed GhostDatePicker now types its default slot like the headless root, so errors is GhostDatePickerError[] instead of any.

  • 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, and GhostListboxLabel follow the WAI-ARIA APG listbox pattern: one Tab stop rendered as tabindex, arrow, Home / End, and typeahead movement, orientation with right-to-left support, and loop. Single mode has a string | undefined model and optional selectionFollowsFocus; multiple (typed from the template, as in GhostSelect) has a string[] model in selection order with the APG multi-select keys (Space, Shift+Arrow, Shift+Space, Ctrl+Shift+Home / End, Ctrl+A, with Cmd on macOS) and desktop pointer selection whose plain click is set by selectionBehavior (toggle or replace). Focus moves to the next option when the focused one is removed, the selection is never changed by removal or filtering, and focusOption(value) moves focus without selecting. The themed parts in @ghostvue/themes use the Select row tokens for the active density, the shared selected fill and focus ring, a coarse-pointer touch floor, and forced-colors styles.

    GhostContextMenuTrigger gains focusTarget (default 'self', unchanged behavior). focusTarget="descendant" makes the trigger a passive wrapper around a composite such as GhostListbox: 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/mcp bundle now has one and uses schemaVersion 1.2.0. The longer description is unchanged. The manifest schema (https://ghostvue.dev/schemas/v1/manifest.schema.json) defines summary as optional, so documents with schemaVersion 1.0.0 or 1.1.0 stay valid; tools reading older documents should fall back to description.

  • 2ec8ca6: GhostDropdownMenuCheckboxItem, GhostContextMenuCheckboxItem and GhostMenubarCheckboxItem now accept plain v-model (modelValue / update:modelValue) alongside v-model:checked, matching GhostCheckbox and GhostSwitch. Before this, plain v-model compiled, type-checked and rendered, but the item ignored it. Every toggle emits both update:checked and update:modelValue; when both props are bound, checked decides the rendered state.

  • 8fdc0be: Add GhostStepper, a progress indicator for multi-step flows. It renders a labelle...

Read more

GhostVue 0.3.0

Choose a tag to compare

@github-actions github-actions released this 01 Dec 14:26
dcda872

Verified npm publication

@ghostvue/vue

Install from npm

Minor Changes

  • 700b967: Add the experimental GhostDataGrid component and useGhostDataGrid composable: an editable APG data grid over your own rows. It has one Tab stop, arrow-key, Home/End, Ctrl+Home/Ctrl+End, and Page Up/Page Down cell navigation (with right-to-left support), and a labeled single-line editor on editable cells. Enter, F2, or a second press opens the editor; Enter and Tab propose a changed value once through editRequest, and Escape or an outside press discards it. The app accepts an edit by updating data, where focus follows the edited cell through reorders, or rejects it with cellErrors, 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/themes DataTable. Tables without enableMultiSort keep single-column sorting, their header button order, and their server queries unchanged.

    • enableMultiSort turns it on for every sortable column. Shift+click, Shift+Enter, and Shift+Space add 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.
    • isMultiSortEvent decides which activations add a column. Pass () => true for touch and screen reader users and pair it with a visible control that calls the new clearSorting(). maxMultiSortColCount caps the sorted columns and ignores a new column at the cap.
    • toggleSorting(columnId, multi?), getSortIndex, header sortIndex and sortPriority, and the sortAnnouncement slot binding support manual compositions. getDataTableSortButtonProps accepts describedById.
    • Only the primary header carries aria-sort. Sorted headers get data-sort-priority. GhostDataTableTable and GhostDataTablePreset describe each sorted button's rank and direction, show an aria-hidden rank badge, and announce user sort changes in a polite live region, localized with sortDescriptionLabel and sortAnnouncementLabel.
    • Server tables receive the ordered column ids and directions in query.sorting, with one stateChange per 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 GhostCalendar manifest descriptions, and the themed GhostTabs, GhostContextMenu, and GhostMenubar manifest descriptions, now describe the components instead of repeating scaffolding notes. The text appears in each package's manifest.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: GhostScrollSpy keeps the activated section active while a link click or scrollTo() 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

Install from npm

Minor Changes

  • c70efcb: Themed GhostBadge adds success and warning tones. 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: accent follows the brand color and turns purple in Vibrant or grey in Mono. In the solid variant the two tones swap the status text and fill colors and have no gradient. GhostBadgeTone gains both values. Existing tones, defaults, and GhostButton tones are unchanged.

  • c141d8a: Add opt-in multi-column sorting to GhostDataTable, useGhostDataTable, and the @ghostvue/themes DataTable. Tables without enableMultiSort keep single-column sorting, their header button order, and their server queries unchanged.

    • enableMultiSort turns it on for every sortable column. Shift+click, Shift+Enter, and Shift+Space add 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.
    • isMultiSortEvent decides which activations add a column. Pass () => true for touch and screen reader users and pair it with a visible control that calls the new clearSorting(). maxMultiSortColCount caps the sorted columns and ignores a new column at the cap.
    • toggleSorting(columnId, multi?), getSortIndex, header sortIndex and sortPriority, and the sortAnnouncement slot binding support manual compositions. getDataTableSortButtonProps accepts describedById.
    • Only the primary header carries aria-sort. Sorted headers get data-sort-priority. GhostDataTableTable and GhostDataTablePreset describe each sorted button's rank and direction, show an aria-hidden rank badge, and announce user sort changes in a polite live region, localized with sortDescriptionLabel and sortAnnouncementLabel.
    • Server tables receive the ordered column ids and directions in query.sorting, with one stateChange per 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 GhostCalendar manifest descriptions, and the themed GhostTabs, GhostContextMenu, and GhostMenubar manifest descriptions, now describe the components instead of repeating scaffolding notes. The text appears in each package's manifest.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, GhostSegmentedControl and GhostToggleGroup tracks are 36px tall (was 68px), GhostTabs triggers 36px (was 50px), GhostMenubar triggers 32px (was 50px), the GhostDatePicker inputs and trigger 36px (was 44px), and the GhostFileUpload trigger and remove buttons 36px and 32px (was 44px). GhostCalendar days 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. GhostScrollSpy links are 32px tall (was 44px). All of these still grow to 44px on coarse pointers, and they follow data-ghost-density. To keep an earlier size, set min-block-size or 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: baseline or top on the cells.
  • Updated dependencies [21272c1]
  • Updated dependencies [700b967]
  • Updated dependencies [c141d8a]
  • Updated dependencies [c825013]
  • Updated dependencies [b36bf91]
    • @ghostvue/vue@0.3.0

@ghostvue/nuxt

Install from npm

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

Install from npm

No changes in this release.

@ghostvue/mcp

Install from npm

Patch Changes

  • 700b967: Add the experimental GhostDataGrid component and useGhostDataGrid composable: an editable APG data grid over your own rows. It has one Tab stop, arrow-key, Home/End, Ctrl+Home/Ctrl+End, and Page Up/Page Down cell navigation (with right-to-left support), and a labeled single-line editor on editable cells. Enter, F2, or a second press opens the editor; Enter and Tab propose a changed value once through editRequest, and Escape or an outside press discards it. The app accepts an edit by updating data, where focus follows the edited cell through reorders, or rejects it with cellErrors, 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/themes DataTable. Tables without enableMultiSort keep single-column sorting, their header button order, and their server queries unchanged.

    • enableMultiSort turns it on for every sortable column. Shift+click, Shift+Enter, and Shift+Space add 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...
Read more

GhostVue 0.2.1

Choose a tag to compare

@github-actions github-actions released this 30 Nov 16:44
250a59d

Verified npm publication

@ghostvue/vue

Install from npm

Patch Changes

  • 8140338: The GhostCalendar manifest descriptions, and the themed GhostTabs, GhostContextMenu, and GhostMenubar manifest descriptions, now describe the components instead of repeating scaffolding notes. The text appears in each package's manifest.json, the docs component catalog, and the theme reference pages.
  • 8dc9e8c: GhostScrollSpy keeps the activated section active while a link click or scrollTo() 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

Install from npm

Patch Changes

  • 8140338: The GhostCalendar manifest descriptions, and the themed GhostTabs, GhostContextMenu, and GhostMenubar manifest descriptions, now describe the components instead of repeating scaffolding notes. The text appears in each package's manifest.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: baseline or top on the cells.
  • Updated dependencies [8140338]
  • Updated dependencies [8dc9e8c]
    • @ghostvue/vue@0.2.1

@ghostvue/nuxt

Install from npm

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

Install from npm

No changes in this release.

@ghostvue/mcp

Install from npm

No changes in this release.

GhostVue 0.2.0

Choose a tag to compare

@github-actions github-actions released this 29 Nov 21:59
4774c4d

Verified npm publication

@ghostvue/vue

Install from npm

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 GhostCheckboxGroup and useGhostCheckboxGroup for visible multi-value checkbox choices with a string[] v-model, native form submission and reset, and focus restoration when a focused member unmounts.

  • 164a60b: Add GhostForm and useGhostForm for Standard Schema v1 form validation, typed output transformation on submit, progressive error visibility, async validation epoch safety, and native form reset suppression. Extend GhostField and GhostFieldError with optional name wiring 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 GhostPresence and useGhostPresence keep a closing surface mounted with data-state="closed" only while its own CSS transition or animation runs, then unmount it. GhostDialog, GhostDrawer, GhostCommandPalette, GhostPopover, GhostHoverCard, and GhostDatePicker use it with no new props: update:open, trigger aria-expanded, focus return, Escape layering, scroll lock, and background inert still change the moment an overlay closes, and the departing surface is inert with pointer-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 rendered data-state="open"), and their exposed element stays set until the node unmounts.

    @ghostvue/themes adds 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 GHOST014 reports a multi-root GhostPresence slot that never bound setElement.

  • 60f5bb8: Add multiple selection support to GhostSelect, useGhostSelect, and the @ghostvue/themes GhostSelect wrapper while preserving single-select scalar compatibility.

    • GhostSelect becomes generic over Multiple extends boolean = false so scalar templates infer string | undefined and multiple templates infer readonly string[] inputs with string[] 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-independent required validation.
    • GhostSelectValue adds { values, labels } scoped default slot props and messages.listSeparator (default ', ').
    • GhostSelectContext becomes a union discriminated by multiple, with replaceSelection and a readonly selectedValue ref 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/availability example books a studio range around booked days, and calendar/office-locale switches locale, week start, and month button names per office. Both appear in the themed manifest and the MCP themed layer filter. The headless calendar/basic, calendar/range, calendar/controlled, calendar/locale, and calendar/unselected examples 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/themed now opens from an app-owned Mod+J shortcut as well as its trigger, and is titled "Search and run commands". command-palette/async is now a themed page search with visible loading text and an empty message that names the query, and its manifest ownership moves from @ghostvue/vue to @ghostvue/themes. The headless command-palette/basic, command-palette/shortcut (now Mod+J) and command-palette/virtualized examples 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-submission example now lists each rejected file in a GhostFieldError linked 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 through FormData. 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/horizontal is now a themed, keyboard-reachable strip of deployment environment tiles, and its manifest ownership moves from @ghostvue/vue to @ghostvue/themes. scroll-area/themed shows a realistic inbox. The headless scroll-area/basic and scroll-area/composable examples keep their IDs and source.
  • ebbc637: Teach Table row headers and horizontal overflow, and Pagination paging, with themed examples. table/row-headers is now a themed service health table whose row headers name each record. table/contain-horizontal is a themed deployments table that scrolls inside a caption-named region. pagination/themed pages through a themed invoice table, and pagination/controlled and pagination/ellipsis are themed audit log and catalog pagers. Manifest ownership of table/row-headers, table/contain-horizontal, pagination/controlled, and pagination/ellipsis moves from @ghostvue/vue to @ghostvue/themes. The headless table/basic, table/composable, and pagination/basic examples keep their IDs and source.
  • 7755938: Update the Field, Input, and Textarea guides to teach form states with themed examples. The existing field/checkbox example 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-footer now links to real in-app routes beside its new-tab and same-tab external links. link/router now imports GhostLink from @ghostvue/themes, and its manifest ownership moves from @ghostvue/vue to @ghostvue/themes. Each interactive-surface/feature-tiles tile now has a focusable link as its action. The tile and card styles in interactive-surface/feature-tiles and interactive-surface/basic now apply: the themed surface forwards class to an inner element, so scoped styles never matched it. breadcrumb/basic brings 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/themed example 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 GhostTooltipProvider briefly 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 its closeDelay.

@ghostvue/themes

Install from npm

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 GhostCheckboxGroup and useGhostCheckboxGroup for visible multi-value checkbox choices with a string[] 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...
Read more

GhostVue 0.1.0

Choose a tag to compare

@zprue743 zprue743 released this 27 Nov 20:33
f467c4b

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-model usage 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