@ghostvue/vue 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (338) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +40 -2
  3. package/dist/.registries/component-names.generated.d.ts +3 -0
  4. package/dist/GhostAccordion.vue.d.ts +38 -0
  5. package/dist/GhostAccordionContent.vue.d.ts +26 -0
  6. package/dist/GhostAccordionItem.vue.d.ts +20 -0
  7. package/dist/GhostAccordionTrigger.vue.d.ts +23 -0
  8. package/dist/GhostAvatar.vue.d.ts +27 -0
  9. package/dist/GhostBadge.vue.d.ts +16 -0
  10. package/dist/GhostBreadcrumb.vue.d.ts +28 -0
  11. package/dist/GhostBreadcrumbEllipsis.vue.d.ts +20 -0
  12. package/dist/GhostBreadcrumbItem.vue.d.ts +25 -0
  13. package/dist/GhostBreadcrumbLink.vue.d.ts +25 -0
  14. package/dist/GhostBreadcrumbList.vue.d.ts +25 -0
  15. package/dist/GhostBreadcrumbPage.vue.d.ts +25 -0
  16. package/dist/GhostBreadcrumbSeparator.vue.d.ts +25 -0
  17. package/dist/GhostButton.vue.d.ts +25 -0
  18. package/dist/GhostCalendar.vue.d.ts +57 -0
  19. package/dist/GhostCalendarCell.vue.d.ts +35 -0
  20. package/dist/GhostCalendarGrid.vue.d.ts +19 -0
  21. package/dist/GhostCalendarHeader.vue.d.ts +24 -0
  22. package/dist/GhostCalendarHeading.vue.d.ts +22 -0
  23. package/dist/GhostCalendarNextButton.vue.d.ts +24 -0
  24. package/dist/GhostCalendarPrevButton.vue.d.ts +24 -0
  25. package/dist/GhostCard.vue.d.ts +18 -0
  26. package/dist/GhostCheckbox.vue.d.ts +48 -0
  27. package/dist/GhostCollapsible.vue.d.ts +31 -0
  28. package/dist/GhostCollapsibleContent.vue.d.ts +30 -0
  29. package/dist/GhostCollapsibleTrigger.vue.d.ts +28 -0
  30. package/dist/GhostCombobox.vue.d.ts +69 -0
  31. package/dist/GhostComboboxContent.vue.d.ts +41 -0
  32. package/dist/GhostComboboxEmpty.vue.d.ts +21 -0
  33. package/dist/GhostComboboxGroup.vue.d.ts +21 -0
  34. package/dist/GhostComboboxInput.vue.d.ts +11 -0
  35. package/dist/GhostComboboxLabel.vue.d.ts +21 -0
  36. package/dist/GhostComboboxOption.vue.d.ts +29 -0
  37. package/dist/GhostComboboxTrigger.vue.d.ts +26 -0
  38. package/dist/GhostCommandPalette.vue.d.ts +57 -0
  39. package/dist/GhostCommandPaletteContent.vue.d.ts +47 -0
  40. package/dist/GhostCommandPaletteEmpty.vue.d.ts +25 -0
  41. package/dist/GhostCommandPaletteGroup.vue.d.ts +25 -0
  42. package/dist/GhostCommandPaletteInput.vue.d.ts +13 -0
  43. package/dist/GhostCommandPaletteItem.vue.d.ts +33 -0
  44. package/dist/GhostCommandPaletteLabel.vue.d.ts +25 -0
  45. package/dist/GhostCommandPaletteList.vue.d.ts +25 -0
  46. package/dist/GhostCommandPaletteOverlay.vue.d.ts +32 -0
  47. package/dist/GhostCommandPaletteSeparator.vue.d.ts +10 -0
  48. package/dist/GhostCommandPaletteTitle.vue.d.ts +25 -0
  49. package/dist/GhostCommandPaletteTrigger.vue.d.ts +28 -0
  50. package/dist/GhostContextMenu.vue.d.ts +26 -0
  51. package/dist/GhostContextMenuCheckboxItem.vue.d.ts +63 -0
  52. package/dist/GhostContextMenuContent.vue.d.ts +39 -0
  53. package/dist/GhostContextMenuGroup.vue.d.ts +21 -0
  54. package/dist/GhostContextMenuItem.vue.d.ts +30 -0
  55. package/dist/GhostContextMenuLabel.vue.d.ts +21 -0
  56. package/dist/GhostContextMenuRadioGroup.vue.d.ts +31 -0
  57. package/dist/GhostContextMenuRadioItem.vue.d.ts +31 -0
  58. package/dist/GhostContextMenuSeparator.vue.d.ts +11 -0
  59. package/dist/GhostContextMenuTrigger.vue.d.ts +28 -0
  60. package/dist/GhostDataTable.vue.d.ts +29 -0
  61. package/dist/GhostDataTablePreset.vue.d.ts +21 -0
  62. package/dist/GhostDataTableTable.vue.d.ts +20 -0
  63. package/dist/GhostDatePicker.vue.d.ts +106 -0
  64. package/dist/GhostDatePickerCalendar.vue.d.ts +16 -0
  65. package/dist/GhostDatePickerContent.vue.d.ts +46 -0
  66. package/dist/GhostDatePickerInput.vue.d.ts +19 -0
  67. package/dist/GhostDatePickerTrigger.vue.d.ts +14 -0
  68. package/dist/GhostDialog.vue.d.ts +31 -0
  69. package/dist/GhostDialogClose.vue.d.ts +28 -0
  70. package/dist/GhostDialogContent.vue.d.ts +50 -0
  71. package/dist/GhostDialogDescription.vue.d.ts +25 -0
  72. package/dist/GhostDialogOverlay.vue.d.ts +32 -0
  73. package/dist/GhostDialogTitle.vue.d.ts +25 -0
  74. package/dist/GhostDialogTrigger.vue.d.ts +28 -0
  75. package/dist/GhostDrawer.vue.d.ts +39 -0
  76. package/dist/GhostDrawerClose.vue.d.ts +28 -0
  77. package/dist/GhostDrawerContent.vue.d.ts +47 -0
  78. package/dist/GhostDrawerDescription.vue.d.ts +25 -0
  79. package/dist/GhostDrawerOverlay.vue.d.ts +32 -0
  80. package/dist/GhostDrawerTitle.vue.d.ts +25 -0
  81. package/dist/GhostDrawerTrigger.vue.d.ts +28 -0
  82. package/dist/GhostDropdownMenu.vue.d.ts +26 -0
  83. package/dist/GhostDropdownMenuCheckboxItem.vue.d.ts +63 -0
  84. package/dist/GhostDropdownMenuContent.vue.d.ts +39 -0
  85. package/dist/GhostDropdownMenuGroup.vue.d.ts +21 -0
  86. package/dist/GhostDropdownMenuItem.vue.d.ts +30 -0
  87. package/dist/GhostDropdownMenuLabel.vue.d.ts +21 -0
  88. package/dist/GhostDropdownMenuRadioGroup.vue.d.ts +31 -0
  89. package/dist/GhostDropdownMenuRadioItem.vue.d.ts +31 -0
  90. package/dist/GhostDropdownMenuSeparator.vue.d.ts +11 -0
  91. package/dist/GhostDropdownMenuTrigger.vue.d.ts +26 -0
  92. package/dist/GhostEmptyState.vue.d.ts +19 -0
  93. package/dist/GhostField.vue.d.ts +28 -0
  94. package/dist/GhostFieldControl.vue.d.ts +13 -0
  95. package/dist/GhostFieldDescription.vue.d.ts +21 -0
  96. package/dist/GhostFieldError.vue.d.ts +21 -0
  97. package/dist/GhostFieldLabel.vue.d.ts +30 -0
  98. package/dist/GhostFileUpload.vue.d.ts +64 -0
  99. package/dist/GhostFileUploadDropzone.vue.d.ts +13 -0
  100. package/dist/GhostFileUploadItem.vue.d.ts +17 -0
  101. package/dist/GhostFileUploadItemRemove.vue.d.ts +13 -0
  102. package/dist/GhostFileUploadList.vue.d.ts +13 -0
  103. package/dist/GhostFileUploadTrigger.vue.d.ts +19 -0
  104. package/dist/GhostHoverCard.vue.d.ts +37 -0
  105. package/dist/GhostHoverCardContent.vue.d.ts +47 -0
  106. package/dist/GhostHoverCardTrigger.vue.d.ts +28 -0
  107. package/dist/GhostInlineAlert.vue.d.ts +19 -0
  108. package/dist/GhostInput.vue.d.ts +26 -0
  109. package/dist/GhostInteractiveSurface.vue.d.ts +25 -0
  110. package/dist/GhostKbd.vue.d.ts +25 -0
  111. package/dist/GhostLink.vue.d.ts +25 -0
  112. package/dist/GhostMenubar.vue.d.ts +27 -0
  113. package/dist/GhostMenubarCheckboxItem.vue.d.ts +63 -0
  114. package/dist/GhostMenubarContent.vue.d.ts +39 -0
  115. package/dist/GhostMenubarGroup.vue.d.ts +21 -0
  116. package/dist/GhostMenubarItem.vue.d.ts +30 -0
  117. package/dist/GhostMenubarLabel.vue.d.ts +21 -0
  118. package/dist/GhostMenubarMenu.vue.d.ts +26 -0
  119. package/dist/GhostMenubarRadioGroup.vue.d.ts +31 -0
  120. package/dist/GhostMenubarRadioItem.vue.d.ts +31 -0
  121. package/dist/GhostMenubarSeparator.vue.d.ts +11 -0
  122. package/dist/GhostMenubarTrigger.vue.d.ts +26 -0
  123. package/dist/GhostNumberInput.vue.d.ts +37 -0
  124. package/dist/GhostPagination.vue.d.ts +53 -0
  125. package/dist/GhostPopover.vue.d.ts +28 -0
  126. package/dist/GhostPopoverClose.vue.d.ts +28 -0
  127. package/dist/GhostPopoverContent.vue.d.ts +47 -0
  128. package/dist/GhostPopoverTrigger.vue.d.ts +28 -0
  129. package/dist/GhostPortal.vue.d.ts +28 -0
  130. package/dist/GhostProgress.vue.d.ts +14 -0
  131. package/dist/GhostRadioGroup.vue.d.ts +36 -0
  132. package/dist/GhostRadioGroupItem.vue.d.ts +10 -0
  133. package/dist/GhostScrollArea.vue.d.ts +17 -0
  134. package/dist/GhostScrollSpy.vue.d.ts +57 -0
  135. package/dist/GhostScrollSpyItem.vue.d.ts +26 -0
  136. package/dist/GhostScrollSpyLink.vue.d.ts +27 -0
  137. package/dist/GhostScrollSpyList.vue.d.ts +24 -0
  138. package/dist/GhostSegmentedControl.vue.d.ts +44 -0
  139. package/dist/GhostSegmentedControlIndicator.vue.d.ts +3 -0
  140. package/dist/GhostSegmentedControlItem.vue.d.ts +30 -0
  141. package/dist/GhostSelect.vue.d.ts +51 -0
  142. package/dist/GhostSelectContent.vue.d.ts +41 -0
  143. package/dist/GhostSelectGroup.vue.d.ts +21 -0
  144. package/dist/GhostSelectLabel.vue.d.ts +21 -0
  145. package/dist/GhostSelectOption.vue.d.ts +29 -0
  146. package/dist/GhostSelectTrigger.vue.d.ts +26 -0
  147. package/dist/GhostSelectValue.vue.d.ts +17 -0
  148. package/dist/GhostSeparator.vue.d.ts +7 -0
  149. package/dist/GhostSkeleton.vue.d.ts +18 -0
  150. package/dist/GhostSlider.vue.d.ts +141 -0
  151. package/dist/GhostSpinner.vue.d.ts +8 -0
  152. package/dist/GhostSwitch.vue.d.ts +37 -0
  153. package/dist/GhostTable.vue.d.ts +15 -0
  154. package/dist/GhostTableBody.vue.d.ts +13 -0
  155. package/dist/GhostTableCaption.vue.d.ts +13 -0
  156. package/dist/GhostTableCell.vue.d.ts +13 -0
  157. package/dist/GhostTableFoot.vue.d.ts +13 -0
  158. package/dist/GhostTableHead.vue.d.ts +13 -0
  159. package/dist/GhostTableHeaderCell.vue.d.ts +13 -0
  160. package/dist/GhostTableRow.vue.d.ts +13 -0
  161. package/dist/GhostTabs.vue.d.ts +37 -0
  162. package/dist/GhostTabsContent.vue.d.ts +27 -0
  163. package/dist/GhostTabsList.vue.d.ts +25 -0
  164. package/dist/GhostTabsTrigger.vue.d.ts +30 -0
  165. package/dist/GhostTextarea.vue.d.ts +29 -0
  166. package/dist/GhostToast.vue.d.ts +17 -0
  167. package/dist/GhostToastAction.vue.d.ts +17 -0
  168. package/dist/GhostToastClose.vue.d.ts +16 -0
  169. package/dist/GhostToastDescription.vue.d.ts +12 -0
  170. package/dist/GhostToastProvider.vue.d.ts +24 -0
  171. package/dist/GhostToastTitle.vue.d.ts +12 -0
  172. package/dist/GhostToastViewport.vue.d.ts +25 -0
  173. package/dist/GhostToggleGroup.vue.d.ts +41 -0
  174. package/dist/GhostToggleGroupItem.vue.d.ts +30 -0
  175. package/dist/GhostToolbar.vue.d.ts +29 -0
  176. package/dist/GhostTooltip.vue.d.ts +36 -0
  177. package/dist/GhostTooltipContent.vue.d.ts +47 -0
  178. package/dist/GhostTooltipProvider.vue.d.ts +16 -0
  179. package/dist/GhostTooltipTrigger.vue.d.ts +28 -0
  180. package/dist/GhostTree.vue.d.ts +59 -0
  181. package/dist/GhostTreeGroup.vue.d.ts +22 -0
  182. package/dist/GhostTreeItem.vue.d.ts +27 -0
  183. package/dist/GhostTreeTrigger.vue.d.ts +25 -0
  184. package/dist/GhostVisuallyHidden.vue.d.ts +19 -0
  185. package/dist/accordion-header-keyboard.d.ts +11 -0
  186. package/dist/calendar-date-math.d.ts +16 -0
  187. package/dist/calendar-intl.d.ts +7 -0
  188. package/dist/calendar-public-date.d.ts +1 -0
  189. package/dist/command-palette-context.d.ts +6 -0
  190. package/dist/data-table-interaction.d.ts +57 -0
  191. package/dist/data-table-processing.d.ts +32 -0
  192. package/dist/data-table-render.d.ts +40 -0
  193. package/dist/data-table-slot-bindings.d.ts +21 -0
  194. package/dist/date-picker-calendar-bridge.d.ts +25 -0
  195. package/dist/date-picker-value.d.ts +33 -0
  196. package/dist/define-data-table-columns.d.ts +89 -0
  197. package/dist/dev-codes.d.ts +143 -0
  198. package/dist/dialog-shared.d.ts +169 -0
  199. package/dist/dismissable-layer-stack.d.ts +27 -0
  200. package/dist/form-reset.d.ts +21 -0
  201. package/dist/get-pagination-range.d.ts +24 -0
  202. package/dist/get-tabbable-elements.d.ts +22 -0
  203. package/dist/ghost-accordion.d.ts +120 -0
  204. package/dist/ghost-avatar.d.ts +41 -0
  205. package/dist/ghost-badge.d.ts +11 -0
  206. package/dist/ghost-breadcrumb.d.ts +114 -0
  207. package/dist/ghost-button.d.ts +39 -0
  208. package/dist/ghost-calendar.d.ts +148 -0
  209. package/dist/ghost-card.d.ts +29 -0
  210. package/dist/ghost-checkbox.d.ts +51 -0
  211. package/dist/ghost-collapsible.d.ts +104 -0
  212. package/dist/ghost-combobox.d.ts +217 -0
  213. package/dist/ghost-command-palette.d.ts +377 -0
  214. package/dist/ghost-context-menu.d.ts +226 -0
  215. package/dist/ghost-data-table-preset.d.ts +107 -0
  216. package/dist/ghost-data-table-table.d.ts +76 -0
  217. package/dist/ghost-data-table.d.ts +508 -0
  218. package/dist/ghost-date-picker.d.ts +301 -0
  219. package/dist/ghost-dialog.d.ts +254 -0
  220. package/dist/ghost-drawer.d.ts +268 -0
  221. package/dist/ghost-dropdown-menu.d.ts +226 -0
  222. package/dist/ghost-empty-state.d.ts +26 -0
  223. package/dist/ghost-field.d.ts +151 -0
  224. package/dist/ghost-file-upload-accept.d.ts +32 -0
  225. package/dist/ghost-file-upload-messages.d.ts +14 -0
  226. package/dist/ghost-file-upload.d.ts +325 -0
  227. package/dist/ghost-hover-card.d.ts +192 -0
  228. package/dist/ghost-inline-alert.d.ts +34 -0
  229. package/dist/ghost-input.d.ts +71 -0
  230. package/dist/ghost-interactive-surface.d.ts +41 -0
  231. package/dist/ghost-kbd.d.ts +39 -0
  232. package/dist/ghost-link.d.ts +58 -0
  233. package/dist/ghost-menubar.d.ts +260 -0
  234. package/dist/ghost-number-input.d.ts +88 -0
  235. package/dist/ghost-pagination.d.ts +92 -0
  236. package/dist/ghost-popover.d.ts +188 -0
  237. package/dist/ghost-portal.d.ts +21 -0
  238. package/dist/ghost-progress.d.ts +40 -0
  239. package/dist/ghost-radio-group.d.ts +100 -0
  240. package/dist/ghost-scroll-area.d.ts +46 -0
  241. package/dist/ghost-scroll-spy.d.ts +150 -0
  242. package/dist/ghost-segmented-control.d.ts +124 -0
  243. package/dist/ghost-select.d.ts +131 -0
  244. package/dist/ghost-separator.d.ts +33 -0
  245. package/dist/ghost-skeleton.d.ts +14 -0
  246. package/dist/ghost-slider.d.ts +99 -0
  247. package/dist/ghost-spinner.d.ts +22 -0
  248. package/dist/ghost-switch.d.ts +77 -0
  249. package/dist/ghost-table.d.ts +62 -0
  250. package/dist/ghost-tabs.d.ts +154 -0
  251. package/dist/ghost-textarea.d.ts +78 -0
  252. package/dist/ghost-toast.d.ts +219 -0
  253. package/dist/ghost-toggle-group.d.ts +123 -0
  254. package/dist/ghost-toolbar.d.ts +23 -0
  255. package/dist/ghost-tooltip-provider.d.ts +37 -0
  256. package/dist/ghost-tooltip.d.ts +190 -0
  257. package/dist/ghost-tree.d.ts +355 -0
  258. package/dist/ghost-visually-hidden.d.ts +27 -0
  259. package/dist/ghostvue.js +17534 -0
  260. package/dist/has-tabbable-descendants.d.ts +2 -0
  261. package/dist/index.d.ts +307 -0
  262. package/dist/invoke-attr-handler.d.ts +15 -0
  263. package/dist/is-ime-composing.d.ts +28 -0
  264. package/dist/manifest.json +17098 -0
  265. package/dist/measure-scroll-overflow.d.ts +6 -0
  266. package/dist/menu-item-activation.d.ts +39 -0
  267. package/dist/resolver.d.ts +49 -0
  268. package/dist/resolver.js +14 -0
  269. package/dist/scroll-spy-motion.d.ts +26 -0
  270. package/dist/sort-by-document-order.d.ts +23 -0
  271. package/dist/sync-calendar-focus-tab-stops.d.ts +2 -0
  272. package/dist/sync-segmented-control-item-order.d.ts +5 -0
  273. package/dist/sync-tabs-selection-tab-stops.d.ts +7 -0
  274. package/dist/sync-toggle-group-selection-tab-stops.d.ts +14 -0
  275. package/dist/typeahead-match.d.ts +15 -0
  276. package/dist/use-collapsible-content-hidden.d.ts +28 -0
  277. package/dist/use-controllable-state.d.ts +20 -0
  278. package/dist/use-dismissable-layer.d.ts +40 -0
  279. package/dist/use-floating.d.ts +38 -0
  280. package/dist/use-focus-scope.d.ts +34 -0
  281. package/dist/use-ghost-accordion.d.ts +5 -0
  282. package/dist/use-ghost-avatar.d.ts +28 -0
  283. package/dist/use-ghost-badge.d.ts +13 -0
  284. package/dist/use-ghost-breadcrumb.d.ts +19 -0
  285. package/dist/use-ghost-button.d.ts +18 -0
  286. package/dist/use-ghost-calendar.d.ts +3 -0
  287. package/dist/use-ghost-card.d.ts +15 -0
  288. package/dist/use-ghost-checkbox.d.ts +24 -0
  289. package/dist/use-ghost-collapsible.d.ts +8 -0
  290. package/dist/use-ghost-combobox.d.ts +65 -0
  291. package/dist/use-ghost-command-palette.d.ts +24 -0
  292. package/dist/use-ghost-context-menu.d.ts +14 -0
  293. package/dist/use-ghost-data-table.d.ts +55 -0
  294. package/dist/use-ghost-date-picker.d.ts +11 -0
  295. package/dist/use-ghost-dialog.d.ts +10 -0
  296. package/dist/use-ghost-drawer.d.ts +11 -0
  297. package/dist/use-ghost-dropdown-menu.d.ts +5 -0
  298. package/dist/use-ghost-empty-state.d.ts +18 -0
  299. package/dist/use-ghost-field-part-content.d.ts +15 -0
  300. package/dist/use-ghost-field.d.ts +10 -0
  301. package/dist/use-ghost-file-upload.d.ts +16 -0
  302. package/dist/use-ghost-hover-card.d.ts +8 -0
  303. package/dist/use-ghost-id.d.ts +6 -0
  304. package/dist/use-ghost-inline-alert.d.ts +20 -0
  305. package/dist/use-ghost-input.d.ts +29 -0
  306. package/dist/use-ghost-interactive-surface.d.ts +21 -0
  307. package/dist/use-ghost-kbd.d.ts +35 -0
  308. package/dist/use-ghost-link.d.ts +20 -0
  309. package/dist/use-ghost-menu-collection.d.ts +19 -0
  310. package/dist/use-ghost-menubar-menu.d.ts +3 -0
  311. package/dist/use-ghost-menubar.d.ts +10 -0
  312. package/dist/use-ghost-number-input.d.ts +63 -0
  313. package/dist/use-ghost-pagination.d.ts +22 -0
  314. package/dist/use-ghost-popover.d.ts +8 -0
  315. package/dist/use-ghost-progress.d.ts +33 -0
  316. package/dist/use-ghost-radio-group.d.ts +5 -0
  317. package/dist/use-ghost-scroll-area.d.ts +23 -0
  318. package/dist/use-ghost-scroll-spy.d.ts +25 -0
  319. package/dist/use-ghost-segmented-control.d.ts +6 -0
  320. package/dist/use-ghost-select.d.ts +52 -0
  321. package/dist/use-ghost-separator.d.ts +19 -0
  322. package/dist/use-ghost-skeleton.d.ts +19 -0
  323. package/dist/use-ghost-slider.d.ts +65 -0
  324. package/dist/use-ghost-spinner.d.ts +18 -0
  325. package/dist/use-ghost-switch.d.ts +39 -0
  326. package/dist/use-ghost-table.d.ts +70 -0
  327. package/dist/use-ghost-tabs.d.ts +5 -0
  328. package/dist/use-ghost-textarea.d.ts +44 -0
  329. package/dist/use-ghost-toast.d.ts +56 -0
  330. package/dist/use-ghost-toggle-group.d.ts +6 -0
  331. package/dist/use-ghost-toolbar.d.ts +23 -0
  332. package/dist/use-ghost-tooltip.d.ts +8 -0
  333. package/dist/use-ghost-tree.d.ts +14 -0
  334. package/dist/use-ghost-visually-hidden.d.ts +35 -0
  335. package/dist/use-inert-others.d.ts +20 -0
  336. package/dist/use-roving-focus.d.ts +20 -0
  337. package/dist/use-scroll-lock.d.ts +13 -0
  338. package/package.json +59 -4
package/LICENSE ADDED
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 GhostVue contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
package/README.md CHANGED
@@ -1,3 +1,41 @@
1
- # Temporary Holding Version
1
+ # @ghostvue/vue
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Headless, accessible Vue 3 components and `useGhost*` composables. Components
4
+ handle behavior, ARIA, IDs, and keyboard support and ship no CSS: style them
5
+ with your own classes or through their `ghost-*` classes and `data-part` /
6
+ `data-state` hooks. For a styled default, add
7
+ [`@ghostvue/themes`](https://www.npmjs.com/package/@ghostvue/themes).
8
+
9
+ ## Install
10
+
11
+ ```bash
12
+ pnpm add @ghostvue/vue
13
+ ```
14
+
15
+ Vue `^3.5.0` is a peer dependency.
16
+
17
+ ## Usage
18
+
19
+ ```vue
20
+ <script setup lang="ts">
21
+ import { GhostButton } from '@ghostvue/vue'
22
+
23
+ function save(): void {
24
+ // persist the form
25
+ }
26
+ </script>
27
+
28
+ <template>
29
+ <GhostButton @click="save">Save changes</GhostButton>
30
+ </template>
31
+ ```
32
+
33
+ `@ghostvue/vue/resolver` exports `GhostVueResolver()` for
34
+ `unplugin-vue-components`, and `@ghostvue/vue/manifest.json` is a
35
+ machine-readable collection of the component contracts.
36
+
37
+ ## Documentation
38
+
39
+ [ghostvue.dev](https://ghostvue.dev): see
40
+ [Getting started](https://ghostvue.dev/getting-started) and the
41
+ [component docs](https://ghostvue.dev/components/).
@@ -0,0 +1,3 @@
1
+ /** @generated by pnpm registries:write — do not edit. */
2
+ /** Headless `Ghost*` components exported by `@ghostvue/vue`. */
3
+ export declare const ghostVueComponentNames: readonly string[];
@@ -0,0 +1,38 @@
1
+ import { type GhostAccordionExposed, type GhostAccordionHeadingLevel, type GhostAccordionType, type GhostAccordionValue } from './ghost-accordion.js';
2
+ type __VLS_Props = {
3
+ /** Single or multiple expanded panels. */
4
+ type?: GhostAccordionType;
5
+ /** When `type` is `single`, allow closing the active panel. */
6
+ collapsible?: boolean;
7
+ /** Controlled expansion value. Omit for uncontrolled mode. */
8
+ modelValue?: GhostAccordionValue;
9
+ /** Initial expansion when `modelValue` is omitted. */
10
+ defaultValue?: GhostAccordionValue;
11
+ /** Heading level wrapping each accordion trigger (`h1`–`h6`). */
12
+ headingLevel?: GhostAccordionHeadingLevel;
13
+ /** Disables toggling on every item when `true`. */
14
+ disabled?: boolean;
15
+ };
16
+ type __VLS_Slots = {
17
+ default(): unknown;
18
+ };
19
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, GhostAccordionExposed, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ "update:modelValue": (value: GhostAccordionValue) => any;
21
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
22
+ "onUpdate:modelValue"?: (value: GhostAccordionValue) => any;
23
+ }>, {
24
+ disabled: boolean;
25
+ type: GhostAccordionType;
26
+ modelValue: GhostAccordionValue;
27
+ defaultValue: GhostAccordionValue;
28
+ headingLevel: GhostAccordionHeadingLevel;
29
+ collapsible: boolean;
30
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
31
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
32
+ declare const _default: typeof __VLS_export;
33
+ export default _default;
34
+ type __VLS_WithSlots<T, S> = T & {
35
+ new (): {
36
+ $slots: S;
37
+ };
38
+ };
@@ -0,0 +1,26 @@
1
+ import { type GhostAccordionContentElement } from './ghost-accordion.js';
2
+ import type { GhostCollapsibleContentExposed } from './ghost-collapsible.js';
3
+ type __VLS_Props = {
4
+ /** Tag name or component forwarded to the inner disclosure panel. */
5
+ as?: GhostAccordionContentElement;
6
+ /** Skips theme height animations even when motion is allowed. */
7
+ disableAnimation?: boolean;
8
+ };
9
+ declare const __VLS_template: () => {
10
+ __VLS_Slots: {
11
+ default?: (props: {}) => any;
12
+ };
13
+ };
14
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
15
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, GhostCollapsibleContentExposed, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
16
+ as: import("./ghost-collapsible.js").GhostCollapsibleContentElement;
17
+ disableAnimation: boolean;
18
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
+ declare const _default: typeof __VLS_export;
21
+ export default _default;
22
+ type __VLS_WithSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1,20 @@
1
+ type __VLS_Props = {
2
+ /** Stable value identifying this panel in the root `modelValue`. */
3
+ value: string;
4
+ /** Disables toggling on this item. */
5
+ disabled?: boolean;
6
+ };
7
+ type __VLS_Slots = {
8
+ default(): unknown;
9
+ };
10
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
+ disabled: boolean;
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ type __VLS_WithSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -0,0 +1,23 @@
1
+ import { type GhostAccordionTriggerElement } from './ghost-accordion.js';
2
+ import type { GhostCollapsibleTriggerExposed } from './ghost-collapsible.js';
3
+ type __VLS_Props = {
4
+ /** Tag name or component forwarded to the inner disclosure trigger. */
5
+ as?: GhostAccordionTriggerElement;
6
+ };
7
+ declare const __VLS_template: () => {
8
+ __VLS_Slots: {
9
+ default?: (props: {}) => any;
10
+ };
11
+ };
12
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
13
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, GhostCollapsibleTriggerExposed, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
14
+ as: import("./ghost-collapsible.js").GhostCollapsibleTriggerElement;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
16
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
19
+ type __VLS_WithSlots<T, S> = T & {
20
+ new (): {
21
+ $slots: S;
22
+ };
23
+ };
@@ -0,0 +1,27 @@
1
+ import type { GhostAvatarElement, GhostAvatarExposed } from './ghost-avatar.js';
2
+ type __VLS_Props = {
3
+ src?: string | undefined;
4
+ alt?: string | undefined;
5
+ name?: string | undefined;
6
+ as?: GhostAvatarElement;
7
+ };
8
+ declare const __VLS_template: () => {
9
+ __VLS_Slots: {
10
+ fallback?: (props: {}) => any;
11
+ };
12
+ };
13
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
14
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, GhostAvatarExposed, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
15
+ name: string | undefined;
16
+ src: string | undefined;
17
+ alt: string | undefined;
18
+ as: GhostAvatarElement;
19
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
20
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
+ declare const _default: typeof __VLS_export;
22
+ export default _default;
23
+ type __VLS_WithSlots<T, S> = T & {
24
+ new (): {
25
+ $slots: S;
26
+ };
27
+ };
@@ -0,0 +1,16 @@
1
+ import type { GhostBadgeExposed } from './ghost-badge.js';
2
+ declare const __VLS_template: () => {
3
+ __VLS_Slots: {
4
+ default?: (props: {}) => any;
5
+ };
6
+ };
7
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
8
+ declare const __VLS_base: import("vue").DefineComponent<{}, GhostBadgeExposed, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
9
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
10
+ declare const _default: typeof __VLS_export;
11
+ export default _default;
12
+ type __VLS_WithSlots<T, S> = T & {
13
+ new (): {
14
+ $slots: S;
15
+ };
16
+ };
@@ -0,0 +1,28 @@
1
+ import { type GhostBreadcrumbElement, type GhostBreadcrumbExposed } from './ghost-breadcrumb.js';
2
+ type __VLS_Props = {
3
+ /** Tag name or component rendered for the navigation landmark. */
4
+ as?: GhostBreadcrumbElement;
5
+ /** Accessible name for the breadcrumb navigation. */
6
+ ariaLabel?: string;
7
+ };
8
+ declare const __VLS_template: () => {
9
+ __VLS_Slots: {
10
+ default?: (props: {}) => any;
11
+ };
12
+ __VLS_TemplateRefs: {
13
+ host: {} | null;
14
+ };
15
+ };
16
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
17
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, GhostBreadcrumbExposed, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
18
+ as: GhostBreadcrumbElement;
19
+ ariaLabel: string;
20
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
21
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
+ declare const _default: typeof __VLS_export;
23
+ export default _default;
24
+ type __VLS_WithSlots<T, S> = T & {
25
+ new (): {
26
+ $slots: S;
27
+ };
28
+ };
@@ -0,0 +1,20 @@
1
+ import { type GhostBreadcrumbEllipsisExposed } from './ghost-breadcrumb.js';
2
+ type __VLS_Props = {
3
+ /** Accessible name for the ellipsis disclosure trigger. */
4
+ label?: string;
5
+ };
6
+ type __VLS_Slots = {
7
+ default(): unknown;
8
+ icon(): unknown;
9
+ };
10
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, GhostBreadcrumbEllipsisExposed, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
11
+ label: string;
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ type __VLS_WithSlots<T, S> = T & {
17
+ new (): {
18
+ $slots: S;
19
+ };
20
+ };
@@ -0,0 +1,25 @@
1
+ import { type GhostBreadcrumbItemElement, type GhostBreadcrumbItemExposed } from './ghost-breadcrumb.js';
2
+ type __VLS_Props = {
3
+ /** Tag name or component rendered for the list item. */
4
+ as?: GhostBreadcrumbItemElement;
5
+ };
6
+ declare const __VLS_template: () => {
7
+ __VLS_Slots: {
8
+ default?: (props: {}) => any;
9
+ };
10
+ __VLS_TemplateRefs: {
11
+ host: {} | null;
12
+ };
13
+ };
14
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
15
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, GhostBreadcrumbItemExposed, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
16
+ as: GhostBreadcrumbItemElement;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,25 @@
1
+ import { type GhostBreadcrumbLinkElement, type GhostBreadcrumbLinkExposed } from './ghost-breadcrumb.js';
2
+ type __VLS_Props = {
3
+ /** Tag name or component rendered for the ancestor segment. */
4
+ as?: GhostBreadcrumbLinkElement;
5
+ };
6
+ declare const __VLS_template: () => {
7
+ __VLS_Slots: {
8
+ default?: (props: {}) => any;
9
+ };
10
+ __VLS_TemplateRefs: {
11
+ host: {} | null;
12
+ };
13
+ };
14
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
15
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, GhostBreadcrumbLinkExposed, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
16
+ as: GhostBreadcrumbLinkElement;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,25 @@
1
+ import { type GhostBreadcrumbListElement, type GhostBreadcrumbListExposed } from './ghost-breadcrumb.js';
2
+ type __VLS_Props = {
3
+ /** Tag name or component rendered for the ordered list. */
4
+ as?: GhostBreadcrumbListElement;
5
+ };
6
+ declare const __VLS_template: () => {
7
+ __VLS_Slots: {
8
+ default?: (props: {}) => any;
9
+ };
10
+ __VLS_TemplateRefs: {
11
+ host: {} | null;
12
+ };
13
+ };
14
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
15
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, GhostBreadcrumbListExposed, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
16
+ as: GhostBreadcrumbListElement;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,25 @@
1
+ import { type GhostBreadcrumbPageElement, type GhostBreadcrumbPageExposed } from './ghost-breadcrumb.js';
2
+ type __VLS_Props = {
3
+ /** Tag name or component rendered for the current page segment. */
4
+ as?: GhostBreadcrumbPageElement;
5
+ };
6
+ declare const __VLS_template: () => {
7
+ __VLS_Slots: {
8
+ default?: (props: {}) => any;
9
+ };
10
+ __VLS_TemplateRefs: {
11
+ host: {} | null;
12
+ };
13
+ };
14
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
15
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, GhostBreadcrumbPageExposed, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
16
+ as: GhostBreadcrumbPageElement;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,25 @@
1
+ import { type GhostBreadcrumbSeparatorElement, type GhostBreadcrumbSeparatorExposed } from './ghost-breadcrumb.js';
2
+ type __VLS_Props = {
3
+ /** Tag name or component rendered for the decorative separator. */
4
+ as?: GhostBreadcrumbSeparatorElement;
5
+ };
6
+ declare const __VLS_template: () => {
7
+ __VLS_Slots: {
8
+ default?: (props: {}) => any;
9
+ };
10
+ __VLS_TemplateRefs: {
11
+ host: {} | null;
12
+ };
13
+ };
14
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
15
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, GhostBreadcrumbSeparatorExposed, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
16
+ as: GhostBreadcrumbSeparatorElement;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,25 @@
1
+ import type { GhostButtonExposed, GhostButtonType } from './ghost-button.js';
2
+ type __VLS_Props = {
3
+ disabled?: boolean;
4
+ loading?: boolean;
5
+ type?: GhostButtonType;
6
+ };
7
+ declare const __VLS_template: () => {
8
+ __VLS_Slots: {
9
+ default?: (props: {}) => any;
10
+ };
11
+ };
12
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
13
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, GhostButtonExposed, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
14
+ disabled: boolean;
15
+ loading: boolean;
16
+ type: GhostButtonType;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
@@ -0,0 +1,57 @@
1
+ import type { CalendarDate } from '@internationalized/date';
2
+ import { type GhostCalendarExposed, type GhostCalendarSelectionMode, type GhostCalendarValue } from './ghost-calendar.js';
3
+ type __VLS_Props = {
4
+ /**
5
+ * Controlled selection. Omit for uncontrolled state; `null` is a
6
+ * controlled empty selection that ignores `defaultValue`.
7
+ */
8
+ modelValue?: GhostCalendarValue | null;
9
+ defaultValue?: GhostCalendarValue;
10
+ selectionMode?: GhostCalendarSelectionMode;
11
+ minValue?: CalendarDate | undefined;
12
+ maxValue?: CalendarDate | undefined;
13
+ isDateDisabled?: ((date: CalendarDate) => boolean) | undefined;
14
+ locale?: string;
15
+ weekStartsOn?: number | undefined;
16
+ visibleMonth?: CalendarDate | undefined;
17
+ defaultVisibleMonth?: CalendarDate | undefined;
18
+ today?: CalendarDate | undefined;
19
+ disabled?: boolean;
20
+ };
21
+ type __VLS_Slots = {
22
+ default(props: {
23
+ modelValue: GhostCalendarValue;
24
+ visibleMonth: CalendarDate;
25
+ selectionMode: GhostCalendarSelectionMode;
26
+ }): unknown;
27
+ };
28
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, GhostCalendarExposed, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
+ select: (date: CalendarDate) => any;
30
+ "update:modelValue": (value: GhostCalendarValue) => any;
31
+ "update:visibleMonth": (month: CalendarDate) => any;
32
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
33
+ onSelect?: (date: CalendarDate) => any;
34
+ "onUpdate:modelValue"?: (value: GhostCalendarValue) => any;
35
+ "onUpdate:visibleMonth"?: (month: CalendarDate) => any;
36
+ }>, {
37
+ disabled: boolean;
38
+ modelValue: GhostCalendarValue | null;
39
+ defaultValue: GhostCalendarValue;
40
+ locale: string;
41
+ selectionMode: GhostCalendarSelectionMode;
42
+ minValue: CalendarDate | undefined;
43
+ maxValue: CalendarDate | undefined;
44
+ isDateDisabled: ((date: CalendarDate) => boolean) | undefined;
45
+ weekStartsOn: number | undefined;
46
+ visibleMonth: CalendarDate | undefined;
47
+ defaultVisibleMonth: CalendarDate | undefined;
48
+ today: CalendarDate | undefined;
49
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
50
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
51
+ declare const _default: typeof __VLS_export;
52
+ export default _default;
53
+ type __VLS_WithSlots<T, S> = T & {
54
+ new (): {
55
+ $slots: S;
56
+ };
57
+ };
@@ -0,0 +1,35 @@
1
+ import type { CalendarDate } from '@internationalized/date';
2
+ import { type GhostCalendarCellElement, type GhostCalendarPartExposed } from './ghost-calendar.js';
3
+ type __VLS_Props = {
4
+ as?: GhostCalendarCellElement;
5
+ date: CalendarDate;
6
+ };
7
+ declare const __VLS_template: () => {
8
+ __VLS_Slots: {
9
+ default?: (props: {
10
+ date: CalendarDate;
11
+ disabled: boolean;
12
+ selected: boolean;
13
+ focused: boolean;
14
+ today: boolean;
15
+ outsideMonth: boolean;
16
+ state: import("./ghost-calendar.js").GhostCalendarCellState;
17
+ formattedDate: string;
18
+ }) => any;
19
+ };
20
+ __VLS_TemplateRefs: {
21
+ host: {} | null;
22
+ };
23
+ };
24
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
25
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, GhostCalendarPartExposed, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
26
+ as: GhostCalendarCellElement;
27
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
28
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
+ declare const _default: typeof __VLS_export;
30
+ export default _default;
31
+ type __VLS_WithSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
@@ -0,0 +1,19 @@
1
+ import { type GhostCalendarGridCellSlotProps, type GhostCalendarGridElement, type GhostCalendarPartExposed } from './ghost-calendar.js';
2
+ type __VLS_Props = {
3
+ as?: GhostCalendarGridElement;
4
+ };
5
+ type __VLS_Slots = {
6
+ default(): unknown;
7
+ cell(props: GhostCalendarGridCellSlotProps): unknown;
8
+ };
9
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, GhostCalendarPartExposed, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
10
+ as: GhostCalendarGridElement;
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
+ declare const _default: typeof __VLS_export;
14
+ export default _default;
15
+ type __VLS_WithSlots<T, S> = T & {
16
+ new (): {
17
+ $slots: S;
18
+ };
19
+ };
@@ -0,0 +1,24 @@
1
+ import { type GhostCalendarHeaderElement, type GhostCalendarPartExposed } from './ghost-calendar.js';
2
+ type __VLS_Props = {
3
+ as?: GhostCalendarHeaderElement;
4
+ };
5
+ declare const __VLS_template: () => {
6
+ __VLS_Slots: {
7
+ default?: (props: {}) => any;
8
+ };
9
+ __VLS_TemplateRefs: {
10
+ host: {} | null;
11
+ };
12
+ };
13
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
14
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, GhostCalendarPartExposed, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
15
+ as: GhostCalendarHeaderElement;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,22 @@
1
+ import type { CalendarDate } from '@internationalized/date';
2
+ import { type GhostCalendarHeadingElement, type GhostCalendarPartExposed } from './ghost-calendar.js';
3
+ type __VLS_Props = {
4
+ as?: GhostCalendarHeadingElement;
5
+ };
6
+ type __VLS_Slots = {
7
+ default(props: {
8
+ label: string;
9
+ visibleMonth: CalendarDate;
10
+ }): unknown;
11
+ };
12
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, GhostCalendarPartExposed, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
13
+ as: GhostCalendarHeadingElement;
14
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
18
+ type __VLS_WithSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1,24 @@
1
+ import { type GhostCalendarNavButtonElement, type GhostCalendarPartExposed } from './ghost-calendar.js';
2
+ type __VLS_Props = {
3
+ as?: GhostCalendarNavButtonElement;
4
+ };
5
+ declare const __VLS_template: () => {
6
+ __VLS_Slots: {
7
+ default?: (props: {}) => any;
8
+ };
9
+ __VLS_TemplateRefs: {
10
+ host: {} | null;
11
+ };
12
+ };
13
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
14
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, GhostCalendarPartExposed, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
15
+ as: GhostCalendarNavButtonElement;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,24 @@
1
+ import { type GhostCalendarNavButtonElement, type GhostCalendarPartExposed } from './ghost-calendar.js';
2
+ type __VLS_Props = {
3
+ as?: GhostCalendarNavButtonElement;
4
+ };
5
+ declare const __VLS_template: () => {
6
+ __VLS_Slots: {
7
+ default?: (props: {}) => any;
8
+ };
9
+ __VLS_TemplateRefs: {
10
+ host: {} | null;
11
+ };
12
+ };
13
+ type __VLS_Slots = ReturnType<typeof __VLS_template>['__VLS_Slots'];
14
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, GhostCalendarPartExposed, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
15
+ as: GhostCalendarNavButtonElement;
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };