@ghostvue/themes 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (376) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +59 -2
  3. package/THIRD_PARTY_NOTICES.md +30 -0
  4. package/dist/base.css +341 -0
  5. package/dist/calm.css +1909 -0
  6. package/dist/components.d.ts +153 -0
  7. package/dist/components.js +148 -0
  8. package/dist/default.css +11271 -0
  9. package/dist/define.d.ts +75 -0
  10. package/dist/define.js +5952 -0
  11. package/dist/flagship-themes.d.ts +5 -0
  12. package/dist/flagship-themes.js +3 -0
  13. package/dist/generated/tokens.d.ts +5286 -0
  14. package/dist/generated/tokens.js +5283 -0
  15. package/dist/ghost-accordion-content.d.ts +26 -0
  16. package/dist/ghost-accordion-content.js +22 -0
  17. package/dist/ghost-accordion-item.d.ts +24 -0
  18. package/dist/ghost-accordion-item.js +16 -0
  19. package/dist/ghost-accordion-trigger.d.ts +17 -0
  20. package/dist/ghost-accordion-trigger.js +33 -0
  21. package/dist/ghost-accordion.d.ts +72 -0
  22. package/dist/ghost-accordion.js +56 -0
  23. package/dist/ghost-avatar.d.ts +60 -0
  24. package/dist/ghost-avatar.js +39 -0
  25. package/dist/ghost-badge.d.ts +46 -0
  26. package/dist/ghost-badge.js +33 -0
  27. package/dist/ghost-breadcrumb-ellipsis.d.ts +16 -0
  28. package/dist/ghost-breadcrumb-ellipsis.js +20 -0
  29. package/dist/ghost-breadcrumb-item.d.ts +18 -0
  30. package/dist/ghost-breadcrumb-item.js +20 -0
  31. package/dist/ghost-breadcrumb-link.d.ts +18 -0
  32. package/dist/ghost-breadcrumb-link.js +33 -0
  33. package/dist/ghost-breadcrumb-list.d.ts +18 -0
  34. package/dist/ghost-breadcrumb-list.js +27 -0
  35. package/dist/ghost-breadcrumb-page.d.ts +18 -0
  36. package/dist/ghost-breadcrumb-page.js +20 -0
  37. package/dist/ghost-breadcrumb-separator.d.ts +18 -0
  38. package/dist/ghost-breadcrumb-separator.js +20 -0
  39. package/dist/ghost-breadcrumb.d.ts +34 -0
  40. package/dist/ghost-breadcrumb.js +27 -0
  41. package/dist/ghost-button.d.ts +102 -0
  42. package/dist/ghost-button.js +66 -0
  43. package/dist/ghost-calendar-cell.d.ts +15 -0
  44. package/dist/ghost-calendar-cell.js +12 -0
  45. package/dist/ghost-calendar-grid.d.ts +5 -0
  46. package/dist/ghost-calendar-grid.js +21 -0
  47. package/dist/ghost-calendar-header.d.ts +3 -0
  48. package/dist/ghost-calendar-header.js +9 -0
  49. package/dist/ghost-calendar-heading.d.ts +3 -0
  50. package/dist/ghost-calendar-heading.js +9 -0
  51. package/dist/ghost-calendar-next-button.d.ts +9 -0
  52. package/dist/ghost-calendar-next-button.js +18 -0
  53. package/dist/ghost-calendar-prev-button.d.ts +9 -0
  54. package/dist/ghost-calendar-prev-button.js +18 -0
  55. package/dist/ghost-calendar.d.ts +119 -0
  56. package/dist/ghost-calendar.js +101 -0
  57. package/dist/ghost-card.d.ts +33 -0
  58. package/dist/ghost-card.js +36 -0
  59. package/dist/ghost-checkbox-group.d.ts +50 -0
  60. package/dist/ghost-checkbox-group.js +56 -0
  61. package/dist/ghost-checkbox.d.ts +76 -0
  62. package/dist/ghost-checkbox.js +59 -0
  63. package/dist/ghost-collapsible-content.d.ts +28 -0
  64. package/dist/ghost-collapsible-content.js +41 -0
  65. package/dist/ghost-collapsible-trigger.d.ts +28 -0
  66. package/dist/ghost-collapsible-trigger.js +41 -0
  67. package/dist/ghost-collapsible.d.ts +44 -0
  68. package/dist/ghost-collapsible.js +38 -0
  69. package/dist/ghost-combobox-content.d.ts +82 -0
  70. package/dist/ghost-combobox-content.js +58 -0
  71. package/dist/ghost-combobox-input.d.ts +28 -0
  72. package/dist/ghost-combobox-input.js +36 -0
  73. package/dist/ghost-combobox-trigger.d.ts +28 -0
  74. package/dist/ghost-combobox-trigger.js +36 -0
  75. package/dist/ghost-combobox.d.ts +179 -0
  76. package/dist/ghost-combobox.js +98 -0
  77. package/dist/ghost-command-palette-content.d.ts +86 -0
  78. package/dist/ghost-command-palette-content.js +55 -0
  79. package/dist/ghost-command-palette-overlay.d.ts +40 -0
  80. package/dist/ghost-command-palette-overlay.js +40 -0
  81. package/dist/ghost-command-palette.d.ts +114 -0
  82. package/dist/ghost-command-palette.js +93 -0
  83. package/dist/ghost-context-menu-checkbox-item.d.ts +50 -0
  84. package/dist/ghost-context-menu-checkbox-item.js +57 -0
  85. package/dist/ghost-context-menu-content.d.ts +85 -0
  86. package/dist/ghost-context-menu-content.js +75 -0
  87. package/dist/ghost-context-menu-group.d.ts +19 -0
  88. package/dist/ghost-context-menu-group.js +23 -0
  89. package/dist/ghost-context-menu-item.d.ts +32 -0
  90. package/dist/ghost-context-menu-item.js +43 -0
  91. package/dist/ghost-context-menu-label.d.ts +19 -0
  92. package/dist/ghost-context-menu-label.js +23 -0
  93. package/dist/ghost-context-menu-radio-group.d.ts +50 -0
  94. package/dist/ghost-context-menu-radio-group.js +46 -0
  95. package/dist/ghost-context-menu-radio-item.d.ts +40 -0
  96. package/dist/ghost-context-menu-radio-item.js +53 -0
  97. package/dist/ghost-context-menu-separator.d.ts +28 -0
  98. package/dist/ghost-context-menu-separator.js +28 -0
  99. package/dist/ghost-context-menu-trigger.d.ts +28 -0
  100. package/dist/ghost-context-menu-trigger.js +41 -0
  101. package/dist/ghost-context-menu.d.ts +35 -0
  102. package/dist/ghost-context-menu.js +33 -0
  103. package/dist/ghost-data-table-preset.d.ts +31 -0
  104. package/dist/ghost-data-table-preset.js +12 -0
  105. package/dist/ghost-data-table-table.d.ts +30 -0
  106. package/dist/ghost-data-table-table.js +9 -0
  107. package/dist/ghost-data-table.d.ts +94 -0
  108. package/dist/ghost-data-table.js +105 -0
  109. package/dist/ghost-date-picker-calendar.d.ts +9 -0
  110. package/dist/ghost-date-picker-calendar.js +30 -0
  111. package/dist/ghost-date-picker-content.d.ts +95 -0
  112. package/dist/ghost-date-picker-content.js +58 -0
  113. package/dist/ghost-date-picker-input.d.ts +46 -0
  114. package/dist/ghost-date-picker-input.js +39 -0
  115. package/dist/ghost-date-picker-trigger.d.ts +6 -0
  116. package/dist/ghost-date-picker-trigger.js +22 -0
  117. package/dist/ghost-date-picker.d.ts +245 -0
  118. package/dist/ghost-date-picker.js +68 -0
  119. package/dist/ghost-dialog-close.d.ts +28 -0
  120. package/dist/ghost-dialog-close.js +37 -0
  121. package/dist/ghost-dialog-content.d.ts +95 -0
  122. package/dist/ghost-dialog-content.js +78 -0
  123. package/dist/ghost-dialog-description.d.ts +19 -0
  124. package/dist/ghost-dialog-description.js +37 -0
  125. package/dist/ghost-dialog-overlay.d.ts +40 -0
  126. package/dist/ghost-dialog-overlay.js +46 -0
  127. package/dist/ghost-dialog-title.d.ts +19 -0
  128. package/dist/ghost-dialog-title.js +33 -0
  129. package/dist/ghost-dialog-trigger.d.ts +28 -0
  130. package/dist/ghost-dialog-trigger.js +37 -0
  131. package/dist/ghost-dialog.d.ts +44 -0
  132. package/dist/ghost-dialog.js +38 -0
  133. package/dist/ghost-drawer-close.d.ts +28 -0
  134. package/dist/ghost-drawer-close.js +37 -0
  135. package/dist/ghost-drawer-content.d.ts +87 -0
  136. package/dist/ghost-drawer-content.js +73 -0
  137. package/dist/ghost-drawer-description.d.ts +19 -0
  138. package/dist/ghost-drawer-description.js +36 -0
  139. package/dist/ghost-drawer-overlay.d.ts +40 -0
  140. package/dist/ghost-drawer-overlay.js +46 -0
  141. package/dist/ghost-drawer-title.d.ts +19 -0
  142. package/dist/ghost-drawer-title.js +32 -0
  143. package/dist/ghost-drawer-trigger.d.ts +28 -0
  144. package/dist/ghost-drawer-trigger.js +37 -0
  145. package/dist/ghost-drawer.d.ts +62 -0
  146. package/dist/ghost-drawer.js +48 -0
  147. package/dist/ghost-dropdown-menu-checkbox-item.d.ts +50 -0
  148. package/dist/ghost-dropdown-menu-checkbox-item.js +57 -0
  149. package/dist/ghost-dropdown-menu-content.d.ts +85 -0
  150. package/dist/ghost-dropdown-menu-content.js +75 -0
  151. package/dist/ghost-dropdown-menu-group.d.ts +19 -0
  152. package/dist/ghost-dropdown-menu-group.js +23 -0
  153. package/dist/ghost-dropdown-menu-item.d.ts +32 -0
  154. package/dist/ghost-dropdown-menu-item.js +47 -0
  155. package/dist/ghost-dropdown-menu-label.d.ts +19 -0
  156. package/dist/ghost-dropdown-menu-label.js +23 -0
  157. package/dist/ghost-dropdown-menu-radio-group.d.ts +50 -0
  158. package/dist/ghost-dropdown-menu-radio-group.js +46 -0
  159. package/dist/ghost-dropdown-menu-radio-item.d.ts +40 -0
  160. package/dist/ghost-dropdown-menu-radio-item.js +53 -0
  161. package/dist/ghost-dropdown-menu-separator.d.ts +28 -0
  162. package/dist/ghost-dropdown-menu-separator.js +28 -0
  163. package/dist/ghost-dropdown-menu-trigger.d.ts +28 -0
  164. package/dist/ghost-dropdown-menu-trigger.js +41 -0
  165. package/dist/ghost-dropdown-menu.d.ts +35 -0
  166. package/dist/ghost-dropdown-menu.js +33 -0
  167. package/dist/ghost-empty-state.d.ts +31 -0
  168. package/dist/ghost-empty-state.js +35 -0
  169. package/dist/ghost-field.d.ts +53 -0
  170. package/dist/ghost-field.js +49 -0
  171. package/dist/ghost-file-upload-dropzone.d.ts +9 -0
  172. package/dist/ghost-file-upload-dropzone.js +23 -0
  173. package/dist/ghost-file-upload-item-remove.d.ts +10 -0
  174. package/dist/ghost-file-upload-item-remove.js +30 -0
  175. package/dist/ghost-file-upload-list.d.ts +10 -0
  176. package/dist/ghost-file-upload-list.js +24 -0
  177. package/dist/ghost-file-upload-trigger.d.ts +18 -0
  178. package/dist/ghost-file-upload-trigger.js +30 -0
  179. package/dist/ghost-file-upload.d.ts +147 -0
  180. package/dist/ghost-file-upload.js +98 -0
  181. package/dist/ghost-hover-card-content.d.ts +85 -0
  182. package/dist/ghost-hover-card-content.js +75 -0
  183. package/dist/ghost-hover-card-trigger.d.ts +28 -0
  184. package/dist/ghost-hover-card-trigger.js +41 -0
  185. package/dist/ghost-hover-card.d.ts +62 -0
  186. package/dist/ghost-hover-card.js +48 -0
  187. package/dist/ghost-inline-alert.d.ts +62 -0
  188. package/dist/ghost-inline-alert.js +50 -0
  189. package/dist/ghost-input.d.ts +100 -0
  190. package/dist/ghost-input.js +60 -0
  191. package/dist/ghost-interactive-surface.d.ts +31 -0
  192. package/dist/ghost-interactive-surface.js +36 -0
  193. package/dist/ghost-kbd.d.ts +42 -0
  194. package/dist/ghost-kbd.js +32 -0
  195. package/dist/ghost-link.d.ts +94 -0
  196. package/dist/ghost-link.js +59 -0
  197. package/dist/ghost-menubar-checkbox-item.d.ts +50 -0
  198. package/dist/ghost-menubar-checkbox-item.js +57 -0
  199. package/dist/ghost-menubar-content.d.ts +85 -0
  200. package/dist/ghost-menubar-content.js +71 -0
  201. package/dist/ghost-menubar-group.d.ts +19 -0
  202. package/dist/ghost-menubar-group.js +19 -0
  203. package/dist/ghost-menubar-item.d.ts +32 -0
  204. package/dist/ghost-menubar-item.js +43 -0
  205. package/dist/ghost-menubar-label.d.ts +19 -0
  206. package/dist/ghost-menubar-label.js +19 -0
  207. package/dist/ghost-menubar-menu.d.ts +35 -0
  208. package/dist/ghost-menubar-menu.js +33 -0
  209. package/dist/ghost-menubar-radio-group.d.ts +50 -0
  210. package/dist/ghost-menubar-radio-group.js +46 -0
  211. package/dist/ghost-menubar-radio-item.d.ts +40 -0
  212. package/dist/ghost-menubar-radio-item.js +53 -0
  213. package/dist/ghost-menubar-separator.d.ts +28 -0
  214. package/dist/ghost-menubar-separator.js +28 -0
  215. package/dist/ghost-menubar-trigger.d.ts +28 -0
  216. package/dist/ghost-menubar-trigger.js +37 -0
  217. package/dist/ghost-menubar.d.ts +28 -0
  218. package/dist/ghost-menubar.js +33 -0
  219. package/dist/ghost-number-input.d.ts +153 -0
  220. package/dist/ghost-number-input.js +87 -0
  221. package/dist/ghost-pagination.d.ts +151 -0
  222. package/dist/ghost-pagination.js +71 -0
  223. package/dist/ghost-popover-close.d.ts +28 -0
  224. package/dist/ghost-popover-close.js +37 -0
  225. package/dist/ghost-popover-content.d.ts +86 -0
  226. package/dist/ghost-popover-content.js +72 -0
  227. package/dist/ghost-popover-trigger.d.ts +28 -0
  228. package/dist/ghost-popover-trigger.js +37 -0
  229. package/dist/ghost-popover.d.ts +35 -0
  230. package/dist/ghost-popover.js +33 -0
  231. package/dist/ghost-progress.d.ts +69 -0
  232. package/dist/ghost-progress.js +37 -0
  233. package/dist/ghost-radio-group-item.d.ts +37 -0
  234. package/dist/ghost-radio-group-item.js +33 -0
  235. package/dist/ghost-radio-group.d.ts +91 -0
  236. package/dist/ghost-radio-group.js +65 -0
  237. package/dist/ghost-scroll-area.d.ts +49 -0
  238. package/dist/ghost-scroll-area.js +32 -0
  239. package/dist/ghost-scroll-spy-item.d.ts +27 -0
  240. package/dist/ghost-scroll-spy-item.js +29 -0
  241. package/dist/ghost-scroll-spy-link.d.ts +44 -0
  242. package/dist/ghost-scroll-spy-link.js +39 -0
  243. package/dist/ghost-scroll-spy-list.d.ts +18 -0
  244. package/dist/ghost-scroll-spy-list.js +27 -0
  245. package/dist/ghost-scroll-spy.d.ts +121 -0
  246. package/dist/ghost-scroll-spy.js +83 -0
  247. package/dist/ghost-segmented-control-item.d.ts +36 -0
  248. package/dist/ghost-segmented-control-item.js +47 -0
  249. package/dist/ghost-segmented-control.d.ts +77 -0
  250. package/dist/ghost-segmented-control.js +73 -0
  251. package/dist/ghost-select-content.d.ts +82 -0
  252. package/dist/ghost-select-content.js +58 -0
  253. package/dist/ghost-select-trigger.d.ts +28 -0
  254. package/dist/ghost-select-trigger.js +36 -0
  255. package/dist/ghost-select.d.ts +54 -0
  256. package/dist/ghost-select.js +51 -0
  257. package/dist/ghost-separator.d.ts +41 -0
  258. package/dist/ghost-separator.js +34 -0
  259. package/dist/ghost-skeleton.d.ts +34 -0
  260. package/dist/ghost-skeleton.js +31 -0
  261. package/dist/ghost-slider.d.ts +150 -0
  262. package/dist/ghost-slider.js +83 -0
  263. package/dist/ghost-spinner.d.ts +42 -0
  264. package/dist/ghost-spinner.js +26 -0
  265. package/dist/ghost-submenu-content.d.ts +22 -0
  266. package/dist/ghost-submenu-content.js +17 -0
  267. package/dist/ghost-submenu-trigger.d.ts +11 -0
  268. package/dist/ghost-submenu-trigger.js +11 -0
  269. package/dist/ghost-submenu.d.ts +1 -0
  270. package/dist/ghost-submenu.js +1 -0
  271. package/dist/ghost-switch.d.ts +102 -0
  272. package/dist/ghost-switch.js +68 -0
  273. package/dist/ghost-table.d.ts +30 -0
  274. package/dist/ghost-table.js +36 -0
  275. package/dist/ghost-tabs-content.d.ts +27 -0
  276. package/dist/ghost-tabs-content.js +38 -0
  277. package/dist/ghost-tabs-list.d.ts +19 -0
  278. package/dist/ghost-tabs-list.js +33 -0
  279. package/dist/ghost-tabs-trigger.d.ts +36 -0
  280. package/dist/ghost-tabs-trigger.js +43 -0
  281. package/dist/ghost-tabs.d.ts +59 -0
  282. package/dist/ghost-tabs.js +45 -0
  283. package/dist/ghost-tags-input.d.ts +75 -0
  284. package/dist/ghost-tags-input.js +54 -0
  285. package/dist/ghost-textarea.d.ts +109 -0
  286. package/dist/ghost-textarea.js +66 -0
  287. package/dist/ghost-toast-viewport.d.ts +43 -0
  288. package/dist/ghost-toast-viewport.js +74 -0
  289. package/dist/ghost-toast.d.ts +54 -0
  290. package/dist/ghost-toast.js +48 -0
  291. package/dist/ghost-toggle-group-item.d.ts +36 -0
  292. package/dist/ghost-toggle-group-item.js +43 -0
  293. package/dist/ghost-toggle-group.d.ts +77 -0
  294. package/dist/ghost-toggle-group.js +69 -0
  295. package/dist/ghost-toolbar.d.ts +6 -0
  296. package/dist/ghost-toolbar.js +24 -0
  297. package/dist/ghost-tooltip-content.d.ts +86 -0
  298. package/dist/ghost-tooltip-content.js +72 -0
  299. package/dist/ghost-tooltip-trigger.d.ts +28 -0
  300. package/dist/ghost-tooltip-trigger.js +37 -0
  301. package/dist/ghost-tooltip.d.ts +62 -0
  302. package/dist/ghost-tooltip.js +50 -0
  303. package/dist/ghost-tree-group.d.ts +32 -0
  304. package/dist/ghost-tree-group.js +39 -0
  305. package/dist/ghost-tree-item.d.ts +45 -0
  306. package/dist/ghost-tree-item.js +42 -0
  307. package/dist/ghost-tree-trigger.d.ts +40 -0
  308. package/dist/ghost-tree-trigger.js +43 -0
  309. package/dist/ghost-tree.d.ts +122 -0
  310. package/dist/ghost-tree.js +98 -0
  311. package/dist/index.d.ts +153 -0
  312. package/dist/index.js +149 -0
  313. package/dist/manifest.json +6835 -0
  314. package/dist/mono.css +1874 -0
  315. package/dist/recipes/accordion.css +42 -0
  316. package/dist/recipes/avatar.css +87 -0
  317. package/dist/recipes/badge.css +170 -0
  318. package/dist/recipes/breadcrumb.css +149 -0
  319. package/dist/recipes/button.css +632 -0
  320. package/dist/recipes/calendar.css +292 -0
  321. package/dist/recipes/card.css +54 -0
  322. package/dist/recipes/checkbox-group.css +30 -0
  323. package/dist/recipes/checkbox.css +262 -0
  324. package/dist/recipes/collapsible.css +304 -0
  325. package/dist/recipes/combobox.css +276 -0
  326. package/dist/recipes/command-palette.css +296 -0
  327. package/dist/recipes/context-menu.css +138 -0
  328. package/dist/recipes/data-table.css +462 -0
  329. package/dist/recipes/date-picker.css +292 -0
  330. package/dist/recipes/dialog.css +199 -0
  331. package/dist/recipes/drawer.css +436 -0
  332. package/dist/recipes/dropdown-menu.css +138 -0
  333. package/dist/recipes/empty-state.css +66 -0
  334. package/dist/recipes/field.css +63 -0
  335. package/dist/recipes/file-upload.css +260 -0
  336. package/dist/recipes/hover-card.css +83 -0
  337. package/dist/recipes/inline-alert.css +172 -0
  338. package/dist/recipes/input.css +176 -0
  339. package/dist/recipes/kbd.css +113 -0
  340. package/dist/recipes/link.css +158 -0
  341. package/dist/recipes/menubar.css +161 -0
  342. package/dist/recipes/number-input.css +222 -0
  343. package/dist/recipes/pagination.css +143 -0
  344. package/dist/recipes/popover.css +102 -0
  345. package/dist/recipes/progress.css +124 -0
  346. package/dist/recipes/radio-group.css +200 -0
  347. package/dist/recipes/scroll-area.css +72 -0
  348. package/dist/recipes/scroll-spy.css +72 -0
  349. package/dist/recipes/segmented-control.css +237 -0
  350. package/dist/recipes/select.css +299 -0
  351. package/dist/recipes/separator.css +41 -0
  352. package/dist/recipes/skeleton.css +132 -0
  353. package/dist/recipes/slider.css +239 -0
  354. package/dist/recipes/spinner.css +93 -0
  355. package/dist/recipes/switch.css +314 -0
  356. package/dist/recipes/table.css +120 -0
  357. package/dist/recipes/tabs.css +139 -0
  358. package/dist/recipes/tags-input.css +120 -0
  359. package/dist/recipes/textarea.css +148 -0
  360. package/dist/recipes/toast.css +321 -0
  361. package/dist/recipes/toggle-group.css +92 -0
  362. package/dist/recipes/toolbar.css +25 -0
  363. package/dist/recipes/tooltip.css +48 -0
  364. package/dist/recipes/tree.css +231 -0
  365. package/dist/start-theme-transition.d.ts +9 -0
  366. package/dist/start-theme-transition.js +27 -0
  367. package/dist/tokens/primitives.json +612 -0
  368. package/dist/tokens/seeds.json +23 -0
  369. package/dist/tokens/semantic.compact.json +175 -0
  370. package/dist/tokens/semantic.dark.json +583 -0
  371. package/dist/tokens/semantic.json +1656 -0
  372. package/dist/tokens/semantic.spacious.json +175 -0
  373. package/dist/tokens.css +1874 -0
  374. package/dist/tokens.json +6152 -0
  375. package/dist/vibrant.css +1874 -0
  376. package/package.json +75 -4
@@ -0,0 +1,122 @@
1
+ import { type PropType } from 'vue';
2
+ import { type GhostTreeDirection, type GhostTreeElement, type GhostTreeExposed, type GhostTreeSelectionMode, type GhostTreeSelectPayload, type GhostTreeSlotProps, type GhostTreeTogglePayload, type GhostTreeValue } from '@ghostvue/vue';
3
+ /**
4
+ * Themed {@link GhostTree} root wrapper.
5
+ * Importing it loads the default stylesheet; behavior stays on the unstyled primitive.
6
+ */
7
+ export declare const GhostTree: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
+ as: {
9
+ type: PropType<GhostTreeElement>;
10
+ default: string;
11
+ };
12
+ selectionMode: {
13
+ type: PropType<GhostTreeSelectionMode>;
14
+ default: string;
15
+ };
16
+ modelValue: {
17
+ type: PropType<GhostTreeValue>;
18
+ default: undefined;
19
+ };
20
+ defaultValue: {
21
+ type: PropType<GhostTreeValue>;
22
+ default: undefined;
23
+ };
24
+ expanded: {
25
+ type: PropType<string[] | undefined>;
26
+ default: undefined;
27
+ };
28
+ defaultExpanded: {
29
+ type: PropType<string[]>;
30
+ default: () => never[];
31
+ };
32
+ allowDeselect: {
33
+ type: BooleanConstructor;
34
+ default: boolean;
35
+ };
36
+ expandOnClick: {
37
+ type: BooleanConstructor;
38
+ default: boolean;
39
+ };
40
+ loop: {
41
+ type: BooleanConstructor;
42
+ default: boolean;
43
+ };
44
+ dir: {
45
+ type: PropType<GhostTreeDirection | undefined>;
46
+ default: undefined;
47
+ };
48
+ disabled: {
49
+ type: BooleanConstructor;
50
+ default: boolean;
51
+ };
52
+ }>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
53
+ [key: string]: any;
54
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
55
+ 'update:modelValue': (value: GhostTreeValue) => value is string | string[] | undefined;
56
+ 'update:expanded': (expanded: string[]) => boolean;
57
+ select: (payload: GhostTreeSelectPayload) => boolean;
58
+ toggle: (payload: GhostTreeTogglePayload) => boolean;
59
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
60
+ as: {
61
+ type: PropType<GhostTreeElement>;
62
+ default: string;
63
+ };
64
+ selectionMode: {
65
+ type: PropType<GhostTreeSelectionMode>;
66
+ default: string;
67
+ };
68
+ modelValue: {
69
+ type: PropType<GhostTreeValue>;
70
+ default: undefined;
71
+ };
72
+ defaultValue: {
73
+ type: PropType<GhostTreeValue>;
74
+ default: undefined;
75
+ };
76
+ expanded: {
77
+ type: PropType<string[] | undefined>;
78
+ default: undefined;
79
+ };
80
+ defaultExpanded: {
81
+ type: PropType<string[]>;
82
+ default: () => never[];
83
+ };
84
+ allowDeselect: {
85
+ type: BooleanConstructor;
86
+ default: boolean;
87
+ };
88
+ expandOnClick: {
89
+ type: BooleanConstructor;
90
+ default: boolean;
91
+ };
92
+ loop: {
93
+ type: BooleanConstructor;
94
+ default: boolean;
95
+ };
96
+ dir: {
97
+ type: PropType<GhostTreeDirection | undefined>;
98
+ default: undefined;
99
+ };
100
+ disabled: {
101
+ type: BooleanConstructor;
102
+ default: boolean;
103
+ };
104
+ }>> & Readonly<{
105
+ onSelect?: (payload: GhostTreeSelectPayload) => any;
106
+ onToggle?: (payload: GhostTreeTogglePayload) => any;
107
+ "onUpdate:modelValue"?: (value: GhostTreeValue) => any;
108
+ "onUpdate:expanded"?: (expanded: string[]) => any;
109
+ }>, {
110
+ as: GhostTreeElement;
111
+ disabled: boolean;
112
+ modelValue: GhostTreeValue;
113
+ defaultValue: GhostTreeValue;
114
+ selectionMode: GhostTreeSelectionMode;
115
+ allowDeselect: boolean;
116
+ dir: GhostTreeDirection | undefined;
117
+ loop: boolean;
118
+ expanded: string[] | undefined;
119
+ defaultExpanded: string[];
120
+ expandOnClick: boolean;
121
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
122
+ export type { GhostTreeDirection, GhostTreeExposed, GhostTreeSelectionMode, GhostTreeSelectPayload, GhostTreeSlotProps, GhostTreeTogglePayload, GhostTreeValue, };
@@ -0,0 +1,98 @@
1
+ import { defineComponent, h, ref } from 'vue';
2
+ import { GhostTree as GhostUnstyledTree, } from '@ghostvue/vue';
3
+ /**
4
+ * Themed {@link GhostTree} root wrapper.
5
+ * Importing it loads the default stylesheet; behavior stays on the unstyled primitive.
6
+ */
7
+ export const GhostTree = defineComponent({
8
+ name: 'GhostTree',
9
+ inheritAttrs: false,
10
+ props: {
11
+ as: {
12
+ type: [String, Object, Function],
13
+ default: 'ul',
14
+ },
15
+ selectionMode: {
16
+ type: String,
17
+ default: 'single',
18
+ },
19
+ modelValue: {
20
+ type: [String, Array],
21
+ default: undefined,
22
+ },
23
+ defaultValue: {
24
+ type: [String, Array],
25
+ default: undefined,
26
+ },
27
+ expanded: {
28
+ type: Array,
29
+ default: undefined,
30
+ },
31
+ defaultExpanded: {
32
+ type: Array,
33
+ default: () => [],
34
+ },
35
+ allowDeselect: { type: Boolean, default: false },
36
+ expandOnClick: { type: Boolean, default: true },
37
+ loop: { type: Boolean, default: false },
38
+ dir: {
39
+ type: String,
40
+ default: undefined,
41
+ },
42
+ disabled: { type: Boolean, default: false },
43
+ },
44
+ emits: {
45
+ 'update:modelValue': (value) => value === undefined || typeof value === 'string' || Array.isArray(value),
46
+ 'update:expanded': (expanded) => Array.isArray(expanded),
47
+ select: (payload) => typeof payload === 'object',
48
+ toggle: (payload) => typeof payload === 'object',
49
+ },
50
+ setup(props, { attrs, emit, slots, expose }) {
51
+ const inner = ref(null);
52
+ expose({
53
+ get element() {
54
+ return inner.value?.element ?? null;
55
+ },
56
+ focus(options) {
57
+ inner.value?.focus(options);
58
+ },
59
+ blur() {
60
+ inner.value?.blur();
61
+ },
62
+ });
63
+ // `select` / `toggle` share names with native DOM events. Keeping their
64
+ // forwarders out of the literal props object stops TypeScript from
65
+ // resolving `h()` to the intrinsic-element overload.
66
+ const semanticEventForwarders = {
67
+ onSelect: (payload) => {
68
+ emit('select', payload);
69
+ },
70
+ onToggle: (payload) => {
71
+ emit('toggle', payload);
72
+ },
73
+ };
74
+ return () => h(GhostUnstyledTree, {
75
+ ...attrs,
76
+ ref: inner,
77
+ as: props.as,
78
+ selectionMode: props.selectionMode,
79
+ modelValue: props.modelValue,
80
+ defaultValue: props.defaultValue,
81
+ expanded: props.expanded,
82
+ defaultExpanded: props.defaultExpanded,
83
+ allowDeselect: props.allowDeselect,
84
+ expandOnClick: props.expandOnClick,
85
+ loop: props.loop,
86
+ dir: props.dir,
87
+ disabled: props.disabled,
88
+ 'data-themed': '',
89
+ 'onUpdate:modelValue': (next) => {
90
+ emit('update:modelValue', next);
91
+ },
92
+ 'onUpdate:expanded': (next) => {
93
+ emit('update:expanded', next);
94
+ },
95
+ ...semanticEventForwarders,
96
+ }, slots);
97
+ },
98
+ });
@@ -0,0 +1,153 @@
1
+ /** Themed wrappers and default CSS. One `GhostBadge` or `GhostButton` import loads the stylesheet. */
2
+ export { tokens, tokenModes, type DesignToken, type TokenMode, type TokenName, } from './generated/tokens.js';
3
+ export { startThemeTransition } from './start-theme-transition.js';
4
+ export { flagshipThemes, themeNames, type FlagshipThemeName, type ThemeName, } from './flagship-themes.js';
5
+ export { GhostBadge, type GhostBadgeExposed, type GhostBadgeSize, type GhostBadgeTone, type GhostBadgeVariant, } from './ghost-badge.js';
6
+ export { GhostAvatar, type GhostAvatarExposed, type GhostAvatarSize, } from './ghost-avatar.js';
7
+ export { GhostBreadcrumb, GhostBreadcrumbEllipsis, GhostBreadcrumbItem, GhostBreadcrumbLink, GhostBreadcrumbList, GhostBreadcrumbPage, GhostBreadcrumbSeparator, type GhostBreadcrumbElement, type GhostBreadcrumbEllipsisExposed, type GhostBreadcrumbEllipsisProps, type GhostBreadcrumbExposed, type GhostBreadcrumbItemElement, type GhostBreadcrumbItemExposed, type GhostBreadcrumbLinkElement, type GhostBreadcrumbLinkExposed, type GhostBreadcrumbListElement, type GhostBreadcrumbListExposed, type GhostBreadcrumbPageElement, type GhostBreadcrumbPageExposed, type GhostBreadcrumbProps, type GhostBreadcrumbSeparatorElement, type GhostBreadcrumbSeparatorExposed, } from './ghost-breadcrumb.js';
8
+ export { GhostButton, type GhostButtonExposed, type GhostButtonInteractive, type GhostButtonSize, type GhostButtonTone, type GhostButtonType, type GhostButtonVariant, } from './ghost-button.js';
9
+ export { GhostCheckbox, type GhostCheckboxExposed, type GhostCheckboxSize, type GhostCheckboxTone, } from './ghost-checkbox.js';
10
+ export { GhostCheckboxGroup, type GhostCheckboxGroupExposed, } from './ghost-checkbox-group.js';
11
+ export { GhostInteractiveSurface, type InteractiveEffect, type InteractiveSurfaceElement, type GhostInteractiveSurfaceExposed, } from './ghost-interactive-surface.js';
12
+ export { GhostKbd, type GhostKbdPlatform, type GhostKbdSize } from './ghost-kbd.js';
13
+ export { GhostLink, type GhostLinkAppearance, type GhostLinkExposed, type GhostLinkSize, type GhostLinkTone, type GhostLinkVariant, } from './ghost-link.js';
14
+ export { GhostSkeleton, type GhostSkeletonElement, type GhostSkeletonShape, } from './ghost-skeleton.js';
15
+ export { GhostSpinner, type GhostSpinnerSize, type GhostSpinnerTone, } from './ghost-spinner.js';
16
+ export { GhostPopover, type GhostPopoverSlotProps } from './ghost-popover.js';
17
+ export { GhostPopoverTrigger, type GhostPopoverTriggerElement, type GhostPopoverTriggerExposed, } from './ghost-popover-trigger.js';
18
+ export { GhostPopoverContent, type GhostPopoverContentElement, type GhostPopoverContentExposed, type GhostPopoverFlipOptions, type GhostPopoverOffsetOptions, type GhostPopoverPlacement, type GhostPopoverShiftOptions, type GhostPopoverStrategy, } from './ghost-popover-content.js';
19
+ export { GhostPopoverClose, type GhostPopoverCloseElement, type GhostPopoverCloseExposed, } from './ghost-popover-close.js';
20
+ export { GhostDropdownMenu, type GhostDropdownMenuSlotProps, } from './ghost-dropdown-menu.js';
21
+ export { GhostDropdownMenuTrigger, type GhostDropdownMenuTriggerElement, type GhostDropdownMenuTriggerExposed, } from './ghost-dropdown-menu-trigger.js';
22
+ export { GhostDropdownMenuContent, type GhostDropdownMenuContentElement, type GhostDropdownMenuContentExposed, type GhostDropdownMenuFlipOptions, type GhostDropdownMenuOffsetOptions, type GhostDropdownMenuPlacement, type GhostDropdownMenuShiftOptions, type GhostDropdownMenuStrategy, } from './ghost-dropdown-menu-content.js';
23
+ export { GhostDropdownMenuItem, type GhostDropdownMenuItemElement, type GhostDropdownMenuItemExposed, } from './ghost-dropdown-menu-item.js';
24
+ export { GhostDropdownMenuCheckboxItem, type GhostDropdownMenuCheckboxItemElement, type GhostDropdownMenuCheckboxItemExposed, } from './ghost-dropdown-menu-checkbox-item.js';
25
+ export { GhostDropdownMenuRadioItem, type GhostDropdownMenuRadioItemElement, type GhostDropdownMenuRadioItemExposed, } from './ghost-dropdown-menu-radio-item.js';
26
+ export { GhostDropdownMenuRadioGroup, type GhostDropdownMenuRadioGroupElement, } from './ghost-dropdown-menu-radio-group.js';
27
+ export { GhostDropdownMenuLabel, type GhostDropdownMenuLabelElement, } from './ghost-dropdown-menu-label.js';
28
+ export { GhostDropdownMenuSeparator, type GhostDropdownMenuSeparatorElement, } from './ghost-dropdown-menu-separator.js';
29
+ export { GhostDropdownMenuGroup, type GhostDropdownMenuGroupElement, } from './ghost-dropdown-menu-group.js';
30
+ export { GhostSubmenu, type GhostSubmenuProps } from './ghost-submenu.js';
31
+ export { GhostSubmenuTrigger, type GhostSubmenuTriggerProps } from './ghost-submenu-trigger.js';
32
+ export { GhostSubmenuContent, type GhostSubmenuContentProps } from './ghost-submenu-content.js';
33
+ export { GhostSelect, type GhostSelectExposed, type GhostSelectModelValue, type GhostSelectProps, type GhostSelectValueInput, } from './ghost-select.js';
34
+ export { GhostSelectTrigger, type GhostSelectTriggerElement, type GhostSelectTriggerExposed, } from './ghost-select-trigger.js';
35
+ export { GhostSelectContent, type GhostSelectContentElement, type GhostSelectContentExposed, type GhostSelectFlipOptions, type GhostSelectOffsetOptions, type GhostSelectPlacement, type GhostSelectShiftOptions, type GhostSelectStrategy, } from './ghost-select-content.js';
36
+ export { GhostSelectValue, GhostSelectOption, GhostSelectGroup, GhostSelectLabel, type GhostSelectMessages, useGhostSelect, } from '@ghostvue/vue';
37
+ export { GhostDialog, type GhostDialogSlotProps } from './ghost-dialog.js';
38
+ export { GhostDialogTrigger, type GhostDialogTriggerElement, type GhostDialogTriggerExposed, } from './ghost-dialog-trigger.js';
39
+ export { GhostDialogOverlay, type GhostDialogOverlayElement, type GhostDialogOverlayExposed, } from './ghost-dialog-overlay.js';
40
+ export { GhostDialogContent, type GhostDialogContentElement, type GhostDialogContentExposed, type GhostDialogContentRole, } from './ghost-dialog-content.js';
41
+ export { GhostDialogTitle, type GhostDialogTitleElement, type GhostDialogTitleExposed, } from './ghost-dialog-title.js';
42
+ export { GhostDialogDescription, type GhostDialogDescriptionElement, type GhostDialogDescriptionExposed, } from './ghost-dialog-description.js';
43
+ export { GhostDialogClose, type GhostDialogCloseElement, type GhostDialogCloseExposed, } from './ghost-dialog-close.js';
44
+ export { GhostHoverCard, type GhostHoverCardSlotProps, } from './ghost-hover-card.js';
45
+ export { GhostHoverCardTrigger, type GhostHoverCardTriggerElement, type GhostHoverCardTriggerExposed, } from './ghost-hover-card-trigger.js';
46
+ export { GhostHoverCardContent, type GhostHoverCardContentElement, type GhostHoverCardContentExposed, type GhostHoverCardFlipOptions, type GhostHoverCardOffsetOptions, type GhostHoverCardPlacement, type GhostHoverCardShiftOptions, type GhostHoverCardStrategy, } from './ghost-hover-card-content.js';
47
+ export { GhostSeparator, type GhostSeparatorElement, type GhostSeparatorOrientation, } from './ghost-separator.js';
48
+ export { GhostScrollArea, type GhostScrollAreaOrientation, type GhostScrollAreaOverflowType, } from './ghost-scroll-area.js';
49
+ export { GhostScrollSpy, GhostScrollSpyList, GhostScrollSpyItem, GhostScrollSpyLink, type GhostScrollSpyElement, type GhostScrollSpyExposed, type GhostScrollSpyListElement, type GhostScrollSpyListExposed, type GhostScrollSpyItemElement, type GhostScrollSpyItemExposed, type GhostScrollSpyLinkExposed, type GhostScrollSpyProps, } from './ghost-scroll-spy.js';
50
+ export { GhostProgress, type GhostProgressSize, type GhostProgressTone, } from './ghost-progress.js';
51
+ export { GhostInput, type GhostInputExposed, type GhostInputSize, type GhostInputType, } from './ghost-input.js';
52
+ export { GhostInlineAlert, type GhostInlineAlertExposed, type GhostInlineAlertTone, type GhostInlineAlertVariant, } from './ghost-inline-alert.js';
53
+ export { GhostSwitch, type GhostSwitchExposed, type GhostSwitchSize, type GhostSwitchTone, } from './ghost-switch.js';
54
+ export { GhostTextarea, type GhostTextareaExposed, type GhostTextareaSize, } from './ghost-textarea.js';
55
+ export { GhostTagsInput, type GhostTagsInputExposed, type GhostTagsInputMessages, type GhostTagsInputProps } from './ghost-tags-input.js';
56
+ export { GhostCollapsible, type GhostCollapsibleSlotProps, } from './ghost-collapsible.js';
57
+ export { GhostCollapsibleTrigger, type GhostCollapsibleTriggerElement, type GhostCollapsibleTriggerExposed, } from './ghost-collapsible-trigger.js';
58
+ export { GhostCollapsibleContent, type GhostCollapsibleContentElement, type GhostCollapsibleContentExposed, } from './ghost-collapsible-content.js';
59
+ export { GhostField, GhostFieldControl, GhostFieldDescription, GhostFieldError, GhostFieldLabel, type GhostFieldControlSlotProps, type GhostFieldErrorSlotProps, type GhostFieldExposed, type GhostFieldLabelAssociate, type GhostFieldSlotProps, } from './ghost-field.js';
60
+ export { GhostTabs, type GhostTabsSlotProps } from './ghost-tabs.js';
61
+ export { GhostTabsList, type GhostTabsListElement, type GhostTabsListExposed, } from './ghost-tabs-list.js';
62
+ export { GhostTabsTrigger, type GhostTabsTriggerElement, type GhostTabsTriggerExposed, } from './ghost-tabs-trigger.js';
63
+ export { GhostTabsContent, type GhostTabsContentElement, type GhostTabsContentExposed, } from './ghost-tabs-content.js';
64
+ export { GhostTable, type GhostTableExposed } from './ghost-table.js';
65
+ export { GhostAccordion, GhostAccordionItem, GhostAccordionTrigger, GhostAccordionContent, type GhostAccordionContentElement, type GhostAccordionContentExposed, type GhostAccordionExposed, type GhostAccordionHeadingLevel, type GhostAccordionItemProps, type GhostAccordionTriggerElement, type GhostAccordionTriggerExposed, type GhostAccordionType, type GhostAccordionValue, } from './ghost-accordion.js';
66
+ export { GhostEmptyState, type GhostEmptyStateExposed, } from './ghost-empty-state.js';
67
+ export { GhostCard, type GhostCardExposed, type GhostCardInteractive, } from './ghost-card.js';
68
+ export { GhostPagination, type GhostPaginationExposed, } from './ghost-pagination.js';
69
+ export { GhostSegmentedControl, type GhostSegmentedControlExposed, } from './ghost-segmented-control.js';
70
+ export { GhostSegmentedControlItem, type GhostSegmentedControlItemElement, type GhostSegmentedControlItemExposed, } from './ghost-segmented-control-item.js';
71
+ export { GhostToggleGroup, type GhostToggleGroupExposed, } from './ghost-toggle-group.js';
72
+ export { GhostToggleGroupItem, type GhostToggleGroupItemElement, type GhostToggleGroupItemExposed, } from './ghost-toggle-group-item.js';
73
+ export { GhostToolbar, type GhostToolbarExposed } from './ghost-toolbar.js';
74
+ export { GhostRadioGroup, GhostRadioGroupItem, type GhostRadioGroupExposed, type GhostRadioGroupItemExposed, type GhostRadioGroupSize, } from './ghost-radio-group.js';
75
+ export { GhostTooltip, type GhostTooltipSlotProps } from './ghost-tooltip.js';
76
+ export { GhostTooltipTrigger, type GhostTooltipTriggerElement, type GhostTooltipTriggerExposed, } from './ghost-tooltip-trigger.js';
77
+ export { GhostTooltipContent, type GhostTooltipContentElement, type GhostTooltipContentExposed, type GhostTooltipFlipOptions, type GhostTooltipOffsetOptions, type GhostTooltipPlacement, type GhostTooltipShiftOptions, type GhostTooltipStrategy, type GhostPortalTarget, } from './ghost-tooltip-content.js';
78
+ export { GhostNumberInput, type GhostNumberInputExposed, } from './ghost-number-input.js';
79
+ export { GhostSlider, type GhostSliderExposed } from './ghost-slider.js';
80
+ export type { GhostSliderMessages } from '@ghostvue/vue';
81
+ export { GhostCombobox, type GhostComboboxExposed } from './ghost-combobox.js';
82
+ export { GhostComboboxInput, type GhostComboboxInputElement, type GhostComboboxInputExposed, } from './ghost-combobox-input.js';
83
+ export { GhostComboboxTrigger, type GhostComboboxTriggerElement, type GhostComboboxTriggerExposed, } from './ghost-combobox-trigger.js';
84
+ export { GhostComboboxContent, type GhostComboboxContentElement, type GhostComboboxContentExposed, type GhostComboboxFlipOptions, type GhostComboboxOffsetOptions, type GhostComboboxPlacement, type GhostComboboxShiftOptions, type GhostComboboxStrategy, } from './ghost-combobox-content.js';
85
+ export { GhostComboboxOption, GhostComboboxGroup, GhostComboboxLabel, GhostComboboxEmpty, type GhostComboboxMessages, useGhostCombobox, useGhostComboboxAsyncSearch, } from '@ghostvue/vue';
86
+ export { GhostContextMenu, type GhostContextMenuSlotProps, } from './ghost-context-menu.js';
87
+ export { GhostContextMenuTrigger, type GhostContextMenuTriggerElement, type GhostContextMenuTriggerExposed, } from './ghost-context-menu-trigger.js';
88
+ export { GhostContextMenuContent, type GhostContextMenuContentElement, type GhostContextMenuContentExposed, type GhostContextMenuFlipOptions, type GhostContextMenuOffsetOptions, type GhostContextMenuPlacement, type GhostContextMenuShiftOptions, type GhostContextMenuStrategy, } from './ghost-context-menu-content.js';
89
+ export { GhostContextMenuItem, type GhostContextMenuItemElement, type GhostContextMenuItemExposed, } from './ghost-context-menu-item.js';
90
+ export { GhostContextMenuCheckboxItem, type GhostContextMenuCheckboxItemElement, type GhostContextMenuCheckboxItemExposed, } from './ghost-context-menu-checkbox-item.js';
91
+ export { GhostContextMenuRadioItem, type GhostContextMenuRadioItemElement, type GhostContextMenuRadioItemExposed, } from './ghost-context-menu-radio-item.js';
92
+ export { GhostContextMenuRadioGroup, type GhostContextMenuRadioGroupElement, } from './ghost-context-menu-radio-group.js';
93
+ export { GhostContextMenuLabel, type GhostContextMenuLabelElement, } from './ghost-context-menu-label.js';
94
+ export { GhostContextMenuSeparator, type GhostContextMenuSeparatorElement, } from './ghost-context-menu-separator.js';
95
+ export { GhostContextMenuGroup, type GhostContextMenuGroupElement, } from './ghost-context-menu-group.js';
96
+ export { GhostMenubar, type GhostMenubarExposed, type GhostMenubarProps, } from './ghost-menubar.js';
97
+ export { GhostMenubarMenu, type GhostMenubarMenuSlotProps, } from './ghost-menubar-menu.js';
98
+ export { GhostMenubarTrigger, type GhostMenubarTriggerElement, type GhostMenubarTriggerExposed, } from './ghost-menubar-trigger.js';
99
+ export { GhostMenubarContent, type GhostMenubarContentElement, type GhostMenubarContentExposed, type GhostMenubarFlipOptions, type GhostMenubarOffsetOptions, type GhostMenubarPlacement, type GhostMenubarShiftOptions, type GhostMenubarStrategy, } from './ghost-menubar-content.js';
100
+ export { GhostMenubarItem, type GhostMenubarItemElement, type GhostMenubarItemExposed, } from './ghost-menubar-item.js';
101
+ export { GhostMenubarCheckboxItem, type GhostMenubarCheckboxItemElement, type GhostMenubarCheckboxItemExposed, } from './ghost-menubar-checkbox-item.js';
102
+ export { GhostMenubarRadioItem, type GhostMenubarRadioItemElement, type GhostMenubarRadioItemExposed, } from './ghost-menubar-radio-item.js';
103
+ export { GhostMenubarRadioGroup, type GhostMenubarRadioGroupElement, } from './ghost-menubar-radio-group.js';
104
+ export { GhostMenubarLabel, type GhostMenubarLabelElement, } from './ghost-menubar-label.js';
105
+ export { GhostMenubarSeparator, type GhostMenubarSeparatorElement, } from './ghost-menubar-separator.js';
106
+ export { GhostMenubarGroup, type GhostMenubarGroupElement, } from './ghost-menubar-group.js';
107
+ export { CalendarDate, parseDate, type DateValue } from '@ghostvue/vue';
108
+ export { GhostCalendar, type GhostCalendarSlotProps } from './ghost-calendar.js';
109
+ export { GhostCalendarHeader } from './ghost-calendar-header.js';
110
+ export { GhostCalendarHeading } from './ghost-calendar-heading.js';
111
+ export { GhostCalendarPrevButton } from './ghost-calendar-prev-button.js';
112
+ export { GhostCalendarNextButton } from './ghost-calendar-next-button.js';
113
+ export { GhostCalendarGrid } from './ghost-calendar-grid.js';
114
+ export { GhostCalendarCell } from './ghost-calendar-cell.js';
115
+ export { GhostDrawer, type GhostDrawerDirection, type GhostDrawerSide, type GhostDrawerSlotProps, } from './ghost-drawer.js';
116
+ export { GhostDrawerTrigger, type GhostDrawerTriggerElement, type GhostDrawerTriggerExposed, } from './ghost-drawer-trigger.js';
117
+ export { GhostDrawerOverlay, type GhostDrawerOverlayElement, type GhostDrawerOverlayExposed, } from './ghost-drawer-overlay.js';
118
+ export { GhostDrawerContent, type GhostDrawerContentElement, type GhostDrawerContentExposed, type GhostDrawerContentRole, } from './ghost-drawer-content.js';
119
+ export { GhostDrawerTitle, type GhostDrawerTitleElement, type GhostDrawerTitleExposed, } from './ghost-drawer-title.js';
120
+ export { GhostDrawerDescription, type GhostDrawerDescriptionElement, type GhostDrawerDescriptionExposed, } from './ghost-drawer-description.js';
121
+ export { GhostDrawerClose, type GhostDrawerCloseElement, type GhostDrawerCloseExposed, } from './ghost-drawer-close.js';
122
+ export { GhostTree, type GhostTreeDirection, type GhostTreeExposed, type GhostTreeSelectionMode, type GhostTreeSelectPayload, type GhostTreeSlotProps, type GhostTreeTogglePayload, type GhostTreeValue, } from './ghost-tree.js';
123
+ export { GhostTreeItem, type GhostTreeItemElement, type GhostTreeItemExposed, type GhostTreeItemSlotProps, } from './ghost-tree-item.js';
124
+ export { GhostTreeTrigger, type GhostTreeTriggerAction, type GhostTreeTriggerElement, type GhostTreeTriggerExposed, type GhostTreeTriggerSlotProps, } from './ghost-tree-trigger.js';
125
+ export { GhostTreeGroup, type GhostTreeGroupElement, type GhostTreeGroupExposed, } from './ghost-tree-group.js';
126
+ export { GhostFileUpload, type GhostFileUploadEntry, type GhostFileUploadExposed, type GhostFileUploadMessages, type GhostFileUploadRejection, type GhostFileUploadSlotProps, type GhostFileUploadValidate, } from './ghost-file-upload.js';
127
+ export { GhostFileUploadDropzone, type GhostFileUploadDropzoneExposed, type GhostFileUploadDropzoneSlotProps, } from './ghost-file-upload-dropzone.js';
128
+ export { GhostFileUploadTrigger, type GhostFileUploadTriggerExposed, } from './ghost-file-upload-trigger.js';
129
+ export { GhostFileUploadList, type GhostFileUploadListExposed, } from './ghost-file-upload-list.js';
130
+ export { GhostFileUploadItemRemove, type GhostFileUploadItemRemoveExposed, } from './ghost-file-upload-item-remove.js';
131
+ export { GhostFileUploadItem, type GhostFileUploadItemExposed, useGhostFileUpload, } from '@ghostvue/vue';
132
+ export { GhostDatePicker, type GhostDatePickerError, type GhostDatePickerRange, type GhostDatePickerSlotProps, type GhostDatePickerValue, } from './ghost-date-picker.js';
133
+ export { GhostDatePickerInput, type GhostDatePickerInputExposed, } from './ghost-date-picker-input.js';
134
+ export { GhostDatePickerTrigger, type GhostDatePickerPartExposed, } from './ghost-date-picker-trigger.js';
135
+ export { GhostDatePickerContent } from './ghost-date-picker-content.js';
136
+ export { GhostDatePickerCalendar } from './ghost-date-picker-calendar.js';
137
+ export { GhostCommandPalette, type GhostCommandPaletteCommandPayload, type GhostCommandPaletteExposed, type GhostCommandPaletteSearchPayload, type GhostCommandPaletteSlotProps, } from './ghost-command-palette.js';
138
+ export { GhostCommandPaletteOverlay, type GhostCommandPaletteOverlayElement, type GhostCommandPaletteOverlayExposed, } from './ghost-command-palette-overlay.js';
139
+ export { GhostCommandPaletteContent, type GhostCommandPaletteContentElement, type GhostCommandPaletteContentExposed, } from './ghost-command-palette-content.js';
140
+ export { GhostCommandPaletteTrigger, GhostCommandPaletteTitle, GhostCommandPaletteInput, GhostCommandPaletteList, GhostCommandPaletteItem, GhostCommandPaletteGroup, GhostCommandPaletteLabel, GhostCommandPaletteEmpty, GhostCommandPaletteSeparator, useGhostCommandPalette, useGhostCommandPaletteAsyncSearch, } from '@ghostvue/vue';
141
+ export { GhostToast, type GhostToastExposed, type GhostToastRecord, type GhostToastSlotProps, type GhostToastTone, type GhostToastVariant, } from './ghost-toast.js';
142
+ export { GhostToastViewport, type GhostToastViewportElement, type GhostToastViewportExposed, type GhostToastViewportItemSlotProps, type GhostToastViewportSlotProps, } from './ghost-toast-viewport.js';
143
+ export { GhostToastProvider, GhostToastTitle, GhostToastDescription, GhostToastAction, GhostToastClose, useGhostToast, ghostToastProviderContextKey, type GhostToastActionOptions, type GhostToastId, type GhostToastOptions, type GhostToastProviderProps, type GhostToastType, type GhostToastUpdateOptions, type GhostToastUrgency, type UseGhostToastOptions, type UseGhostToastReturn, } from '@ghostvue/vue';
144
+ export { GhostDataTable, type GhostDataTableSize, type GhostDataTableThemedExposed, type GhostDataTableThemedProps, type GhostDataTableVariant, } from './ghost-data-table.js';
145
+ export { GhostDataTablePreset } from './ghost-data-table-preset.js';
146
+ export { GhostDataTableTable } from './ghost-data-table-table.js';
147
+ export { getDataTableHeaderCellProps, getDataTableHeaderSelectionCheckboxProps, getDataTableRowExpandButtonProps, getDataTableRowSelectionCheckboxProps, getDataTableSortButtonProps, } from '@ghostvue/vue';
148
+ export { useGhostDataTable, useGhostDataTableServerRequest, } from '@ghostvue/vue';
149
+ export { defineDataTableColumns } from '@ghostvue/vue';
150
+ export type { DataTableAccessorFnColumn, DataTableAccessorFnColumnDef, DataTableAccessorKeyColumn, DataTableAccessorKeyColumnDef, DataTableColumnHelper, DataTableTypedCellContext, } from '@ghostvue/vue';
151
+ export type { DataTableCellContext, DataTableColumnDef, DataTableColumnFilter, DataTableColumnSort, DataTableControlLabelOptions, DataTableDetailRowProps, DataTableExpandButtonOptions, DataTableExpandButtonProps, DataTableGetRowId, DataTableHeader, DataTableHeaderCellProps, DataTableHeaderSelectionState, DataTableInteractionState, DataTablePaginationState, DataTableQueryState, DataTableRow, DataTableRowId, DataTableRowProps, DataTableSelectionCheckboxProps, DataTableSlotRow, DataTableSortButtonProps, DataTableSortDirection, DataTableStateChangePayload, DataTableTableRootProps, GhostDataTableEmits, GhostDataTableExposed, GhostDataTableProps, GhostDataTableSlotProps, UseGhostDataTableBaseOptions, UseGhostDataTableLocalPaginationOptions, UseGhostDataTableManualPaginationOptions, UseGhostDataTableOptions, UseGhostDataTableReturn, UseGhostDataTableServerRequestReturn, } from '@ghostvue/vue';
152
+ export type { DataTableColumnRow, DataTableColumnValue, DataTableTableColumnRef, GhostDataTableTableCellSlotProps, GhostDataTableTableProps, GhostDataTableTableSlots, } from '@ghostvue/vue';
153
+ export type { GhostDataTablePresetBulkActionsSlotProps, GhostDataTablePresetDetailSlotProps, GhostDataTablePresetFooterSlotProps, GhostDataTablePresetLayoutSlotName, GhostDataTablePresetProps, GhostDataTablePresetSearchSlotProps, GhostDataTablePresetSlots, } from '@ghostvue/vue';
package/dist/index.js ADDED
@@ -0,0 +1,149 @@
1
+ /** Themed wrappers and default CSS. One `GhostBadge` or `GhostButton` import loads the stylesheet. */
2
+ import './default.css';
3
+ export { tokens, tokenModes, } from './generated/tokens';
4
+ export { startThemeTransition } from './start-theme-transition';
5
+ export { flagshipThemes, themeNames, } from './flagship-themes';
6
+ export { GhostBadge, } from './ghost-badge';
7
+ export { GhostAvatar, } from './ghost-avatar';
8
+ export { GhostBreadcrumb, GhostBreadcrumbEllipsis, GhostBreadcrumbItem, GhostBreadcrumbLink, GhostBreadcrumbList, GhostBreadcrumbPage, GhostBreadcrumbSeparator, } from './ghost-breadcrumb';
9
+ export { GhostButton, } from './ghost-button';
10
+ export { GhostCheckbox, } from './ghost-checkbox';
11
+ export { GhostCheckboxGroup, } from './ghost-checkbox-group';
12
+ export { GhostInteractiveSurface, } from './ghost-interactive-surface';
13
+ export { GhostKbd } from './ghost-kbd';
14
+ export { GhostLink, } from './ghost-link';
15
+ export { GhostSkeleton, } from './ghost-skeleton';
16
+ export { GhostSpinner, } from './ghost-spinner';
17
+ export { GhostPopover } from './ghost-popover';
18
+ export { GhostPopoverTrigger, } from './ghost-popover-trigger';
19
+ export { GhostPopoverContent, } from './ghost-popover-content';
20
+ export { GhostPopoverClose, } from './ghost-popover-close';
21
+ export { GhostDropdownMenu, } from './ghost-dropdown-menu';
22
+ export { GhostDropdownMenuTrigger, } from './ghost-dropdown-menu-trigger';
23
+ export { GhostDropdownMenuContent, } from './ghost-dropdown-menu-content';
24
+ export { GhostDropdownMenuItem, } from './ghost-dropdown-menu-item';
25
+ export { GhostDropdownMenuCheckboxItem, } from './ghost-dropdown-menu-checkbox-item';
26
+ export { GhostDropdownMenuRadioItem, } from './ghost-dropdown-menu-radio-item';
27
+ export { GhostDropdownMenuRadioGroup, } from './ghost-dropdown-menu-radio-group';
28
+ export { GhostDropdownMenuLabel, } from './ghost-dropdown-menu-label';
29
+ export { GhostDropdownMenuSeparator, } from './ghost-dropdown-menu-separator';
30
+ export { GhostDropdownMenuGroup, } from './ghost-dropdown-menu-group';
31
+ export { GhostSubmenu } from './ghost-submenu';
32
+ export { GhostSubmenuTrigger } from './ghost-submenu-trigger';
33
+ export { GhostSubmenuContent } from './ghost-submenu-content';
34
+ export { GhostSelect, } from './ghost-select';
35
+ export { GhostSelectTrigger, } from './ghost-select-trigger';
36
+ export { GhostSelectContent, } from './ghost-select-content';
37
+ export { GhostSelectValue, GhostSelectOption, GhostSelectGroup, GhostSelectLabel, useGhostSelect, } from '@ghostvue/vue';
38
+ export { GhostDialog } from './ghost-dialog';
39
+ export { GhostDialogTrigger, } from './ghost-dialog-trigger';
40
+ export { GhostDialogOverlay, } from './ghost-dialog-overlay';
41
+ export { GhostDialogContent, } from './ghost-dialog-content';
42
+ export { GhostDialogTitle, } from './ghost-dialog-title';
43
+ export { GhostDialogDescription, } from './ghost-dialog-description';
44
+ export { GhostDialogClose, } from './ghost-dialog-close';
45
+ export { GhostHoverCard, } from './ghost-hover-card';
46
+ export { GhostHoverCardTrigger, } from './ghost-hover-card-trigger';
47
+ export { GhostHoverCardContent, } from './ghost-hover-card-content';
48
+ export { GhostSeparator, } from './ghost-separator';
49
+ export { GhostScrollArea, } from './ghost-scroll-area';
50
+ export { GhostScrollSpy, GhostScrollSpyList, GhostScrollSpyItem, GhostScrollSpyLink, } from './ghost-scroll-spy';
51
+ export { GhostProgress, } from './ghost-progress';
52
+ export { GhostInput, } from './ghost-input';
53
+ export { GhostInlineAlert, } from './ghost-inline-alert';
54
+ export { GhostSwitch, } from './ghost-switch';
55
+ export { GhostTextarea, } from './ghost-textarea';
56
+ export { GhostTagsInput } from './ghost-tags-input';
57
+ export { GhostCollapsible, } from './ghost-collapsible';
58
+ export { GhostCollapsibleTrigger, } from './ghost-collapsible-trigger';
59
+ export { GhostCollapsibleContent, } from './ghost-collapsible-content';
60
+ export { GhostField, GhostFieldControl, GhostFieldDescription, GhostFieldError, GhostFieldLabel, } from './ghost-field';
61
+ export { GhostTabs } from './ghost-tabs';
62
+ export { GhostTabsList, } from './ghost-tabs-list';
63
+ export { GhostTabsTrigger, } from './ghost-tabs-trigger';
64
+ export { GhostTabsContent, } from './ghost-tabs-content';
65
+ export { GhostTable } from './ghost-table';
66
+ export { GhostAccordion, GhostAccordionItem, GhostAccordionTrigger, GhostAccordionContent, } from './ghost-accordion';
67
+ export { GhostEmptyState, } from './ghost-empty-state';
68
+ export { GhostCard, } from './ghost-card';
69
+ export { GhostPagination, } from './ghost-pagination';
70
+ export { GhostSegmentedControl, } from './ghost-segmented-control';
71
+ export { GhostSegmentedControlItem, } from './ghost-segmented-control-item';
72
+ export { GhostToggleGroup, } from './ghost-toggle-group';
73
+ export { GhostToggleGroupItem, } from './ghost-toggle-group-item';
74
+ export { GhostToolbar } from './ghost-toolbar';
75
+ export { GhostRadioGroup, GhostRadioGroupItem, } from './ghost-radio-group';
76
+ export { GhostTooltip } from './ghost-tooltip';
77
+ export { GhostTooltipTrigger, } from './ghost-tooltip-trigger';
78
+ export { GhostTooltipContent, } from './ghost-tooltip-content';
79
+ export { GhostNumberInput, } from './ghost-number-input';
80
+ export { GhostSlider } from './ghost-slider';
81
+ export { GhostCombobox } from './ghost-combobox';
82
+ export { GhostComboboxInput, } from './ghost-combobox-input';
83
+ export { GhostComboboxTrigger, } from './ghost-combobox-trigger';
84
+ export { GhostComboboxContent, } from './ghost-combobox-content';
85
+ export { GhostComboboxOption, GhostComboboxGroup, GhostComboboxLabel, GhostComboboxEmpty, useGhostCombobox, useGhostComboboxAsyncSearch, } from '@ghostvue/vue';
86
+ export { GhostContextMenu, } from './ghost-context-menu';
87
+ export { GhostContextMenuTrigger, } from './ghost-context-menu-trigger';
88
+ export { GhostContextMenuContent, } from './ghost-context-menu-content';
89
+ export { GhostContextMenuItem, } from './ghost-context-menu-item';
90
+ export { GhostContextMenuCheckboxItem, } from './ghost-context-menu-checkbox-item';
91
+ export { GhostContextMenuRadioItem, } from './ghost-context-menu-radio-item';
92
+ export { GhostContextMenuRadioGroup, } from './ghost-context-menu-radio-group';
93
+ export { GhostContextMenuLabel, } from './ghost-context-menu-label';
94
+ export { GhostContextMenuSeparator, } from './ghost-context-menu-separator';
95
+ export { GhostContextMenuGroup, } from './ghost-context-menu-group';
96
+ export { GhostMenubar, } from './ghost-menubar';
97
+ export { GhostMenubarMenu, } from './ghost-menubar-menu';
98
+ export { GhostMenubarTrigger, } from './ghost-menubar-trigger';
99
+ export { GhostMenubarContent, } from './ghost-menubar-content';
100
+ export { GhostMenubarItem, } from './ghost-menubar-item';
101
+ export { GhostMenubarCheckboxItem, } from './ghost-menubar-checkbox-item';
102
+ export { GhostMenubarRadioItem, } from './ghost-menubar-radio-item';
103
+ export { GhostMenubarRadioGroup, } from './ghost-menubar-radio-group';
104
+ export { GhostMenubarLabel, } from './ghost-menubar-label';
105
+ export { GhostMenubarSeparator, } from './ghost-menubar-separator';
106
+ export { GhostMenubarGroup, } from './ghost-menubar-group';
107
+ export { CalendarDate, parseDate } from '@ghostvue/vue';
108
+ export { GhostCalendar } from './ghost-calendar';
109
+ export { GhostCalendarHeader } from './ghost-calendar-header';
110
+ export { GhostCalendarHeading } from './ghost-calendar-heading';
111
+ export { GhostCalendarPrevButton } from './ghost-calendar-prev-button';
112
+ export { GhostCalendarNextButton } from './ghost-calendar-next-button';
113
+ export { GhostCalendarGrid } from './ghost-calendar-grid';
114
+ export { GhostCalendarCell } from './ghost-calendar-cell';
115
+ export { GhostDrawer, } from './ghost-drawer';
116
+ export { GhostDrawerTrigger, } from './ghost-drawer-trigger';
117
+ export { GhostDrawerOverlay, } from './ghost-drawer-overlay';
118
+ export { GhostDrawerContent, } from './ghost-drawer-content';
119
+ export { GhostDrawerTitle, } from './ghost-drawer-title';
120
+ export { GhostDrawerDescription, } from './ghost-drawer-description';
121
+ export { GhostDrawerClose, } from './ghost-drawer-close';
122
+ export { GhostTree, } from './ghost-tree';
123
+ export { GhostTreeItem, } from './ghost-tree-item';
124
+ export { GhostTreeTrigger, } from './ghost-tree-trigger';
125
+ export { GhostTreeGroup, } from './ghost-tree-group';
126
+ export { GhostFileUpload, } from './ghost-file-upload';
127
+ export { GhostFileUploadDropzone, } from './ghost-file-upload-dropzone';
128
+ export { GhostFileUploadTrigger, } from './ghost-file-upload-trigger';
129
+ export { GhostFileUploadList, } from './ghost-file-upload-list';
130
+ export { GhostFileUploadItemRemove, } from './ghost-file-upload-item-remove';
131
+ export { GhostFileUploadItem, useGhostFileUpload, } from '@ghostvue/vue';
132
+ export { GhostDatePicker, } from './ghost-date-picker';
133
+ export { GhostDatePickerInput, } from './ghost-date-picker-input';
134
+ export { GhostDatePickerTrigger, } from './ghost-date-picker-trigger';
135
+ export { GhostDatePickerContent } from './ghost-date-picker-content';
136
+ export { GhostDatePickerCalendar } from './ghost-date-picker-calendar';
137
+ export { GhostCommandPalette, } from './ghost-command-palette';
138
+ export { GhostCommandPaletteOverlay, } from './ghost-command-palette-overlay';
139
+ export { GhostCommandPaletteContent, } from './ghost-command-palette-content';
140
+ export { GhostCommandPaletteTrigger, GhostCommandPaletteTitle, GhostCommandPaletteInput, GhostCommandPaletteList, GhostCommandPaletteItem, GhostCommandPaletteGroup, GhostCommandPaletteLabel, GhostCommandPaletteEmpty, GhostCommandPaletteSeparator, useGhostCommandPalette, useGhostCommandPaletteAsyncSearch, } from '@ghostvue/vue';
141
+ export { GhostToast, } from './ghost-toast';
142
+ export { GhostToastViewport, } from './ghost-toast-viewport';
143
+ export { GhostToastProvider, GhostToastTitle, GhostToastDescription, GhostToastAction, GhostToastClose, useGhostToast, ghostToastProviderContextKey, } from '@ghostvue/vue';
144
+ export { GhostDataTable, } from './ghost-data-table';
145
+ export { GhostDataTablePreset } from './ghost-data-table-preset';
146
+ export { GhostDataTableTable } from './ghost-data-table-table';
147
+ export { getDataTableHeaderCellProps, getDataTableHeaderSelectionCheckboxProps, getDataTableRowExpandButtonProps, getDataTableRowSelectionCheckboxProps, getDataTableSortButtonProps, } from '@ghostvue/vue';
148
+ export { useGhostDataTable, useGhostDataTableServerRequest, } from '@ghostvue/vue';
149
+ export { defineDataTableColumns } from '@ghostvue/vue';