@comfyorg/design-system 1.1.0 → 1.3.0-alpha.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 (509) hide show
  1. package/README.md +113 -10
  2. package/dist/accordion/PropertiesAccordionItem.vue.d.ts +34 -0
  3. package/dist/accordion/PropertiesAccordionItem.vue.js +62 -0
  4. package/dist/badge/Badge.vue.d.ts +49 -0
  5. package/dist/badge/Badge.vue.js +1 -0
  6. package/dist/badge/CreditBadge.vue.d.ts +6 -0
  7. package/dist/badge/CreditBadge.vue.js +21 -0
  8. package/dist/badge/badge.variants.d.ts +12 -0
  9. package/dist/button/Button.vue.d.ts +31 -0
  10. package/dist/button/Button.vue.js +1 -0
  11. package/dist/button-group/ButtonGroup.vue.d.ts +18 -0
  12. package/dist/button-group/ButtonGroup.vue.js +35 -0
  13. package/dist/button-group/IconGroup.vue.d.ts +16 -0
  14. package/dist/button-group/IconGroup.vue.js +13 -0
  15. package/dist/card/Card.vue.d.ts +19 -0
  16. package/dist/card/Card.vue.js +1 -0
  17. package/dist/card/CardFooter.vue.d.ts +17 -0
  18. package/dist/card/CardFooter.vue.js +1 -0
  19. package/dist/card/CardHeader.vue.d.ts +17 -0
  20. package/dist/card/CardHeader.vue.js +1 -0
  21. package/dist/card/CoachmarkCard.vue.d.ts +24 -0
  22. package/dist/card/CoachmarkCard.vue.js +55 -0
  23. package/dist/card/card.variants.d.ts +11 -0
  24. package/dist/chart/Chart.vue.d.ts +12 -0
  25. package/dist/chart/Chart.vue.js +177 -0
  26. package/dist/chart/__tests__/chartTestUtils.d.ts +3 -0
  27. package/dist/chart/useChart.d.ts +4 -0
  28. package/dist/checkbox/Checkbox.vue.d.ts +25 -0
  29. package/dist/checkbox/Checkbox.vue.js +47 -0
  30. package/dist/chip/Tag.vue.d.ts +61 -0
  31. package/dist/chip/Tag.vue.js +71 -0
  32. package/dist/chip/TagRemoveButton.vue.d.ts +18 -0
  33. package/dist/chip/TagRemoveButton.vue.js +1 -0
  34. package/dist/color-picker/ColorPicker.vue.d.ts +23 -0
  35. package/dist/color-picker/ColorPicker.vue.js +139 -0
  36. package/dist/color-picker/ColorPickerPanel.vue.d.ts +27 -0
  37. package/dist/color-picker/ColorPickerPanel.vue.js +1 -0
  38. package/dist/color-picker/ColorPickerSaturationValue.vue.d.ts +17 -0
  39. package/dist/color-picker/ColorPickerSaturationValue.vue.js +1 -0
  40. package/dist/color-picker/ColorPickerSlider.vue.d.ts +17 -0
  41. package/dist/color-picker/ColorPickerSlider.vue.js +1 -0
  42. package/dist/color-picker/types.d.ts +22 -0
  43. package/dist/color-picker/types.js +0 -0
  44. package/dist/color-picker/useColorPicker.d.ts +33 -0
  45. package/dist/common/CanvasBanner.vue.d.ts +23 -0
  46. package/dist/common/CanvasBanner.vue.js +21 -0
  47. package/dist/common/ContentDivider.vue.d.ts +7 -0
  48. package/dist/common/ContentDivider.vue.js +20 -0
  49. package/dist/common/CustomFormValue.vue.d.ts +6 -0
  50. package/dist/common/CustomFormValue.vue.js +26 -0
  51. package/dist/common/DotSpinner.vue.d.ts +7 -0
  52. package/dist/common/DotSpinner.vue.js +32 -0
  53. package/dist/common/EditableText.vue.d.ts +16 -0
  54. package/dist/common/EditableText.vue.js +71 -0
  55. package/dist/common/HighlightedText.vue.d.ts +8 -0
  56. package/dist/common/HighlightedText.vue.js +49 -0
  57. package/dist/common/LoadingOverlay.vue.d.ts +18 -0
  58. package/dist/common/LoadingOverlay.vue.js +39 -0
  59. package/dist/common/MarkdownText.vue.d.ts +6 -0
  60. package/dist/common/MarkdownText.vue.js +91 -0
  61. package/dist/common/MarqueeLine.vue.d.ts +13 -0
  62. package/dist/common/MarqueeLine.vue.js +11 -0
  63. package/dist/common/NoResultsPlaceholder.vue.d.ts +28 -0
  64. package/dist/common/NoResultsPlaceholder.vue.js +49 -0
  65. package/dist/common/NotificationPopup.vue.d.ts +28 -0
  66. package/dist/common/NotificationPopup.vue.js +63 -0
  67. package/dist/common/OverlayIcon.vue.d.ts +13 -0
  68. package/dist/common/OverlayIcon.vue.js +1 -0
  69. package/dist/common/SanitizedHtml.vue.d.ts +8 -0
  70. package/dist/common/SanitizedHtml.vue.js +58 -0
  71. package/dist/common/TextDivider.vue.d.ts +8 -0
  72. package/dist/common/TextDivider.vue.js +34 -0
  73. package/dist/common/TextTicker.vue.d.ts +17 -0
  74. package/dist/common/TextTicker.vue.js +51 -0
  75. package/dist/common/TextTickerMultiLine.vue.d.ts +6 -0
  76. package/dist/common/TextTickerMultiLine.vue.js +51 -0
  77. package/dist/common/UserAvatar.vue.d.ts +9 -0
  78. package/dist/common/UserAvatar.vue.js +45 -0
  79. package/dist/common/VerticalDivider.vue.d.ts +3 -0
  80. package/dist/common/VerticalDivider.vue.js +14 -0
  81. package/dist/common/VideoCompareSlider.vue.d.ts +24 -0
  82. package/dist/common/VideoCompareSlider.vue.js +139 -0
  83. package/dist/common/ViewportWidgetShell.vue.d.ts +27 -0
  84. package/dist/common/ViewportWidgetShell.vue.js +56 -0
  85. package/dist/common/VirtualGrid.vue.d.ts +38 -0
  86. package/dist/common/VirtualGrid.vue.js +105 -0
  87. package/dist/common/highlightQuery.d.ts +6 -0
  88. package/dist/common/textTickerUtils.d.ts +1 -0
  89. package/dist/components.css +44 -0
  90. package/dist/composables/useAttrsClass.d.ts +12 -0
  91. package/dist/composables/useAttrsClass.js +17 -0
  92. package/dist/composables/usePopoverSizing.d.ts +12 -0
  93. package/dist/composables/usePopoverSizing.js +17 -0
  94. package/dist/confirm/ConfirmBody.vue.d.ts +8 -0
  95. package/dist/confirm/ConfirmBody.vue.js +25 -0
  96. package/dist/confirm/ConfirmFooter.vue.d.ts +18 -0
  97. package/dist/confirm/ConfirmFooter.vue.js +53 -0
  98. package/dist/confirm/ConfirmHeader.vue.d.ts +7 -0
  99. package/dist/confirm/ConfirmHeader.vue.js +25 -0
  100. package/dist/content-card/CardBottom.vue.d.ts +16 -0
  101. package/dist/content-card/CardBottom.vue.js +17 -0
  102. package/dist/content-card/CardContainer.vue.d.ts +26 -0
  103. package/dist/content-card/CardContainer.vue.js +59 -0
  104. package/dist/content-card/CardTop.vue.d.ts +36 -0
  105. package/dist/content-card/CardTop.vue.js +70 -0
  106. package/dist/dialog/Dialog.vue.d.ts +21 -0
  107. package/dist/dialog/Dialog.vue.js +23 -0
  108. package/dist/dialog/DialogClose.vue.d.ts +13 -0
  109. package/dist/dialog/DialogClose.vue.js +1 -0
  110. package/dist/dialog/DialogContent.vue.d.ts +36 -0
  111. package/dist/dialog/DialogContent.vue.js +1 -0
  112. package/dist/dialog/DialogDescription.vue.d.ts +18 -0
  113. package/dist/dialog/DialogDescription.vue.js +31 -0
  114. package/dist/dialog/DialogFooter.vue.d.ts +17 -0
  115. package/dist/dialog/DialogFooter.vue.js +22 -0
  116. package/dist/dialog/DialogHeader.vue.d.ts +17 -0
  117. package/dist/dialog/DialogHeader.vue.js +22 -0
  118. package/dist/dialog/DialogMaximize.vue.d.ts +10 -0
  119. package/dist/dialog/DialogMaximize.vue.js +25 -0
  120. package/dist/dialog/DialogOverlay.vue.d.ts +8 -0
  121. package/dist/dialog/DialogOverlay.vue.js +1 -0
  122. package/dist/dialog/DialogPanel.vue.d.ts +18 -0
  123. package/dist/dialog/DialogPanel.vue.js +53 -0
  124. package/dist/dialog/DialogPortal.vue.d.ts +14 -0
  125. package/dist/dialog/DialogPortal.vue.js +1 -0
  126. package/dist/dialog/DialogTitle.vue.d.ts +18 -0
  127. package/dist/dialog/DialogTitle.vue.js +1 -0
  128. package/dist/dialog/Dialogue.vue.d.ts +22 -0
  129. package/dist/dialog/Dialogue.vue.js +56 -0
  130. package/dist/dialog/dialog.variants.d.ts +16 -0
  131. package/dist/dialog/dialog.variants.js +38 -0
  132. package/dist/dialog/types.d.ts +6 -0
  133. package/dist/dialog/types.js +0 -0
  134. package/dist/field/Field.vue.d.ts +19 -0
  135. package/dist/field/Field.vue.js +39 -0
  136. package/dist/field/FieldDescription.vue.d.ts +17 -0
  137. package/dist/field/FieldDescription.vue.js +22 -0
  138. package/dist/field/FieldError.vue.d.ts +21 -0
  139. package/dist/field/FieldError.vue.js +37 -0
  140. package/dist/field/FieldGroup.vue.d.ts +17 -0
  141. package/dist/field/FieldGroup.vue.js +22 -0
  142. package/dist/field/FieldLabel.vue.d.ts +17 -0
  143. package/dist/field/FieldLabel.vue.js +26 -0
  144. package/dist/field/FieldSwitch.vue.d.ts +16 -0
  145. package/dist/field/FieldSwitch.vue.js +43 -0
  146. package/dist/field/LayoutField.vue.d.ts +18 -0
  147. package/dist/field/LayoutField.vue.js +1 -0
  148. package/dist/field/ModelInfoField.vue.d.ts +18 -0
  149. package/dist/field/ModelInfoField.vue.js +16 -0
  150. package/dist/field/field.variants.d.ts +11 -0
  151. package/dist/hover-card/HoverCard.vue.d.ts +18 -0
  152. package/dist/hover-card/HoverCard.vue.js +24 -0
  153. package/dist/hover-card/HoverCardContent.vue.d.ts +18 -0
  154. package/dist/hover-card/HoverCardContent.vue.js +66 -0
  155. package/dist/hover-card/HoverCardTrigger.vue.d.ts +14 -0
  156. package/dist/hover-card/HoverCardTrigger.vue.js +21 -0
  157. package/dist/icon/ComfyLogo.vue.d.ts +9 -0
  158. package/dist/icon/ComfyLogo.vue.js +31 -0
  159. package/dist/icon/PuzzleIcon.vue.d.ts +8 -0
  160. package/dist/icon/PuzzleIcon.vue.js +38 -0
  161. package/dist/icon/TinyChevronIcon.vue.d.ts +6 -0
  162. package/dist/icon/TinyChevronIcon.vue.js +29 -0
  163. package/dist/icon/VerifiedIcon.vue.d.ts +8 -0
  164. package/dist/icon/VerifiedIcon.vue.js +30 -0
  165. package/dist/input/Input.vue.d.ts +21 -0
  166. package/dist/input/Input.vue.js +1 -0
  167. package/dist/input/PasswordInput.vue.d.ts +18 -0
  168. package/dist/input/PasswordInput.vue.js +66 -0
  169. package/dist/input-group/InputGroup.vue.d.ts +17 -0
  170. package/dist/input-group/InputGroup.vue.js +1 -0
  171. package/dist/input-group/InputGroupAddon.vue.d.ts +19 -0
  172. package/dist/input-group/InputGroupAddon.vue.js +1 -0
  173. package/dist/input-group/InputGroupButton.vue.d.ts +21 -0
  174. package/dist/input-group/InputGroupButton.vue.js +1 -0
  175. package/dist/input-group/InputGroupInput.vue.d.ts +15 -0
  176. package/dist/input-group/InputGroupInput.vue.js +1 -0
  177. package/dist/input-group/inputGroup.variants.d.ts +21 -0
  178. package/dist/input-group/inputGroup.variants.js +21 -0
  179. package/dist/knob/Knob.vue.d.ts +19 -0
  180. package/dist/knob/Knob.vue.js +122 -0
  181. package/dist/label/Label.vue.d.ts +18 -0
  182. package/dist/label/Label.vue.js +1 -0
  183. package/dist/layout/BaseModalLayout.vue.d.ts +67 -0
  184. package/dist/layout/BaseModalLayout.vue.js +198 -0
  185. package/dist/media/AudioPreview.vue.d.ts +6 -0
  186. package/dist/media/AudioPreview.vue.js +26 -0
  187. package/dist/media/ImageLightbox.vue.d.ts +17 -0
  188. package/dist/media/ImageLightbox.vue.js +76 -0
  189. package/dist/media/MediaTitle.vue.d.ts +6 -0
  190. package/dist/media/MediaTitle.vue.js +17 -0
  191. package/dist/media/Video.vue.d.ts +28 -0
  192. package/dist/media/Video.vue.js +100 -0
  193. package/dist/media/VideoPlayOverlay.vue.d.ts +8 -0
  194. package/dist/media/VideoPlayOverlay.vue.js +26 -0
  195. package/dist/media/VideoPreview.vue.d.ts +7 -0
  196. package/dist/media/VideoPreview.vue.js +30 -0
  197. package/dist/media/ZoomPane.vue.d.ts +17 -0
  198. package/dist/media/ZoomPane.vue.js +60 -0
  199. package/dist/menu/ContextMenu.vue.d.ts +31 -0
  200. package/dist/menu/ContextMenu.vue.js +50 -0
  201. package/dist/menu/ContextMenuContent.vue.d.ts +32 -0
  202. package/dist/menu/ContextMenuContent.vue.js +1 -0
  203. package/dist/menu/Menu.vue.d.ts +41 -0
  204. package/dist/menu/Menu.vue.js +77 -0
  205. package/dist/menu/MenuAction.vue.d.ts +26 -0
  206. package/dist/menu/MenuAction.vue.js +1 -0
  207. package/dist/menu/MenuContent.vue.d.ts +35 -0
  208. package/dist/menu/MenuContent.vue.js +1 -0
  209. package/dist/menu/MenuItem.vue.d.ts +22 -0
  210. package/dist/menu/MenuItem.vue.js +33 -0
  211. package/dist/menu/MenuItemContent.vue.d.ts +8 -0
  212. package/dist/menu/MenuItemContent.vue.js +1 -0
  213. package/dist/menu/MenuItems.vue.d.ts +32 -0
  214. package/dist/menu/MenuItems.vue.js +1 -0
  215. package/dist/menu/MenuRadioGroup.vue.d.ts +26 -0
  216. package/dist/menu/MenuRadioGroup.vue.js +1 -0
  217. package/dist/menu/MenuRadioItem.vue.d.ts +22 -0
  218. package/dist/menu/MenuRadioItem.vue.js +1 -0
  219. package/dist/menu/MenuSeparator.vue.d.ts +8 -0
  220. package/dist/menu/MenuSeparator.vue.js +1 -0
  221. package/dist/menu/MenuSub.vue.d.ts +20 -0
  222. package/dist/menu/MenuSub.vue.js +1 -0
  223. package/dist/menu/MenuSubContent.vue.d.ts +36 -0
  224. package/dist/menu/MenuSubContent.vue.js +1 -0
  225. package/dist/menu/MenuSubTrigger.vue.d.ts +18 -0
  226. package/dist/menu/MenuSubTrigger.vue.js +1 -0
  227. package/dist/menu/MenuSubmenu.vue.d.ts +21 -0
  228. package/dist/menu/MenuSubmenu.vue.js +1 -0
  229. package/dist/menu/menuAnchor.d.ts +4 -0
  230. package/dist/menu/menuAnchor.js +14 -0
  231. package/dist/menu/menuStyles.d.ts +4 -0
  232. package/dist/menu/menuStyles.js +6 -0
  233. package/dist/menu/mouseDownUtil.d.ts +3 -0
  234. package/dist/menu/types.d.ts +69 -0
  235. package/dist/menu/types.js +0 -0
  236. package/dist/menu/usePointMenu.d.ts +19 -0
  237. package/dist/menu/usePointMenu.js +55 -0
  238. package/dist/message/Message.vue.d.ts +50 -0
  239. package/dist/message/Message.vue.js +73 -0
  240. package/dist/message/message.variants.d.ts +11 -0
  241. package/dist/message/message.variants.js +14 -0
  242. package/dist/multi-select/MultiSelect.vue.d.ts +170 -0
  243. package/dist/multi-select/MultiSelect.vue.js +135 -0
  244. package/dist/multi-select/MultiSelectContent.vue.d.ts +32 -0
  245. package/dist/multi-select/MultiSelectContent.vue.js +1 -0
  246. package/dist/multi-select/MultiSelectTrigger.vue.d.ts +24 -0
  247. package/dist/multi-select/MultiSelectTrigger.vue.js +1 -0
  248. package/dist/multi-select/types.d.ts +35 -0
  249. package/dist/multi-select/types.js +0 -0
  250. package/dist/navigation/LeftSidePanel.vue.d.ts +12 -0
  251. package/dist/navigation/LeftSidePanel.vue.js +82 -0
  252. package/dist/navigation/NavIcon.vue.d.ts +7 -0
  253. package/dist/navigation/NavIcon.vue.js +1 -0
  254. package/dist/navigation/NavItem.vue.d.ts +21 -0
  255. package/dist/navigation/NavItem.vue.js +1 -0
  256. package/dist/navigation/NavTitle.vue.d.ts +12 -0
  257. package/dist/navigation/NavTitle.vue.js +1 -0
  258. package/dist/navigation/SidebarTopArea.vue.d.ts +15 -0
  259. package/dist/navigation/SidebarTopArea.vue.js +15 -0
  260. package/dist/navigation/types.d.ts +13 -0
  261. package/dist/navigation/types.js +0 -0
  262. package/dist/number-field/NumberField.vue.d.ts +26 -0
  263. package/dist/number-field/NumberField.vue.js +73 -0
  264. package/dist/number-field/NumberFieldDecrement.vue.d.ts +18 -0
  265. package/dist/number-field/NumberFieldDecrement.vue.js +33 -0
  266. package/dist/number-field/NumberFieldIncrement.vue.d.ts +18 -0
  267. package/dist/number-field/NumberFieldIncrement.vue.js +33 -0
  268. package/dist/number-field/NumberFieldInput.vue.d.ts +7 -0
  269. package/dist/number-field/NumberFieldInput.vue.js +23 -0
  270. package/dist/number-field/PropertyNumberField.vue.d.ts +14 -0
  271. package/dist/number-field/PropertyNumberField.vue.js +54 -0
  272. package/dist/pagination/Pagination.vue.d.ts +22 -0
  273. package/dist/pagination/Pagination.vue.js +138 -0
  274. package/dist/popover/PopoverContent.vue.d.ts +33 -0
  275. package/dist/popover/PopoverContent.vue.js +1 -0
  276. package/dist/popover/usePopoverViewportDismiss.d.ts +2 -0
  277. package/dist/popover/usePopoverViewportDismiss.js +12 -0
  278. package/dist/radio-group/RadioGroup.vue.d.ts +22 -0
  279. package/dist/radio-group/RadioGroup.vue.js +43 -0
  280. package/dist/radio-group/RadioGroupItem.vue.d.ts +22 -0
  281. package/dist/radio-group/RadioGroupItem.vue.js +40 -0
  282. package/dist/search-input/AsyncSearchInput.vue.d.ts +27 -0
  283. package/dist/search-input/AsyncSearchInput.vue.js +102 -0
  284. package/dist/search-input/SearchAutocomplete.vue.d.ts +53 -0
  285. package/dist/search-input/SearchAutocomplete.vue.js +232 -0
  286. package/dist/search-input/SearchInput.vue.d.ts +46 -0
  287. package/dist/search-input/SearchInput.vue.js +125 -0
  288. package/dist/search-input/searchInput.variants.d.ts +45 -0
  289. package/dist/select/DropdownControl.vue.d.ts +16 -0
  290. package/dist/select/DropdownControl.vue.js +46 -0
  291. package/dist/select/Select.vue.d.ts +21 -0
  292. package/dist/select/Select.vue.js +1 -0
  293. package/dist/select/SelectContent.vue.d.ts +29 -0
  294. package/dist/select/SelectContent.vue.js +1 -0
  295. package/dist/select/SelectItem.vue.d.ts +22 -0
  296. package/dist/select/SelectItem.vue.js +1 -0
  297. package/dist/select/SelectScrollDownButton.vue.d.ts +18 -0
  298. package/dist/select/SelectScrollDownButton.vue.js +1 -0
  299. package/dist/select/SelectScrollUpButton.vue.d.ts +18 -0
  300. package/dist/select/SelectScrollUpButton.vue.js +1 -0
  301. package/dist/select/SelectTrigger.vue.d.ts +22 -0
  302. package/dist/select/SelectTrigger.vue.js +1 -0
  303. package/dist/select/SelectValue.vue.d.ts +14 -0
  304. package/dist/select/SelectValue.vue.js +1 -0
  305. package/dist/select/types.d.ts +4 -0
  306. package/dist/select/types.js +0 -0
  307. package/dist/select/useSelectSearch.d.ts +3 -0
  308. package/dist/select/useSelectSearch.js +14 -0
  309. package/dist/shared/Badge-DFHO3AFi.js +90 -0
  310. package/dist/shared/Button-Dj_H5v3V.js +138 -0
  311. package/dist/shared/Card-BrvqUM49.js +32 -0
  312. package/dist/shared/CardFooter-BV_I0pM-.js +19 -0
  313. package/dist/shared/CardHeader-CMutruBx.js +19 -0
  314. package/dist/shared/ColorPickerPanel-DQGHuvxk.js +239 -0
  315. package/dist/shared/ColorPickerSaturationValue-B5VDiMcl.js +64 -0
  316. package/dist/shared/ColorPickerSlider--mnQyzWD.js +305 -0
  317. package/dist/shared/ContextMenuContent-RNyBBJOX.js +62 -0
  318. package/dist/shared/DialogClose-CrtPRSNX.js +22 -0
  319. package/dist/shared/DialogContent-v2s55FXs.js +71 -0
  320. package/dist/shared/DialogOverlay-C9qv0zme.js +33 -0
  321. package/dist/shared/DialogPortal-DtCpLgtO.js +36 -0
  322. package/dist/shared/DialogTitle-Chomvpgq.js +41 -0
  323. package/dist/shared/Input-DOeNoniw.js +36 -0
  324. package/dist/shared/InputGroup-BYt6BWpk.js +23 -0
  325. package/dist/shared/InputGroupAddon-B1cn7czs.js +36 -0
  326. package/dist/shared/InputGroupButton-tw5AYOoR.js +39 -0
  327. package/dist/shared/InputGroupInput-C_kkIxvY.js +30 -0
  328. package/dist/shared/Label-kwhWNR2P.js +34 -0
  329. package/dist/shared/LayoutField-C8KCaVF0.js +34 -0
  330. package/dist/shared/MenuAction-0z8BSoX9.js +121 -0
  331. package/dist/shared/MenuContent--tKCqaIO.js +78 -0
  332. package/dist/shared/MenuItemContent-Be658c7e.js +67 -0
  333. package/dist/shared/MenuItems-BZTlERd6.js +67 -0
  334. package/dist/shared/MenuRadioGroup-B28YS1p1.js +63 -0
  335. package/dist/shared/MenuRadioItem-D8DFu-KU.js +34 -0
  336. package/dist/shared/MenuSeparator-DrAiObmE.js +26 -0
  337. package/dist/shared/MenuSub-DSizq_fV.js +21 -0
  338. package/dist/shared/MenuSubContent-ghzkX4hX.js +67 -0
  339. package/dist/shared/MenuSubTrigger-BGRIm_Bf.js +33 -0
  340. package/dist/shared/MenuSubmenu-CjPf8DXl.js +41 -0
  341. package/dist/shared/MultiSelectContent-9xyBQKz3.js +160 -0
  342. package/dist/shared/MultiSelectTrigger-DNySkpH9.js +50 -0
  343. package/dist/shared/NavIcon-FTJH75HH.js +12 -0
  344. package/dist/shared/NavItem-sQJ-77Zw.js +77 -0
  345. package/dist/shared/NavTitle-BM22yfCR.js +40 -0
  346. package/dist/shared/OverlayIcon-C-din824.js +43 -0
  347. package/dist/shared/PopoverContent-DNqL6t-O.js +89 -0
  348. package/dist/shared/SearchableSingleSelect-DQauLQWW.js +182 -0
  349. package/dist/shared/Select-DtVgv7Po.js +31 -0
  350. package/dist/shared/SelectContent-Ba1mCDWM.js +89 -0
  351. package/dist/shared/SelectItem-DaOr3TFS.js +55 -0
  352. package/dist/shared/SelectScrollDownButton-DYmxtida.js +28 -0
  353. package/dist/shared/SelectScrollUpButton-DiyvSb9O.js +28 -0
  354. package/dist/shared/SelectTrigger-BBicbVsI.js +45 -0
  355. package/dist/shared/SelectValue-BjaQc-WU.js +21 -0
  356. package/dist/shared/Switch-qavkHWMz.js +61 -0
  357. package/dist/shared/TableHead-DpsXVMzk.js +22 -0
  358. package/dist/shared/TagRemoveButton-D919R-To.js +36 -0
  359. package/dist/shared/TextTooltip-BNlZI515.js +27 -0
  360. package/dist/shared/Tooltip-4rCebVao.js +32 -0
  361. package/dist/shared/TooltipContent-0GR7hBNu.js +89 -0
  362. package/dist/shared/TooltipTrigger-64EIE5f2.js +63 -0
  363. package/dist/shared/TransitionCollapse-VfBzyj5a.js +108 -0
  364. package/dist/shared/_plugin-vue_export-helper-DjkACiAr.js +7 -0
  365. package/dist/shared/searchInput.variants-BdYHNjce.js +46 -0
  366. package/dist/shared/select.variants-cRXaATWS.js +39 -0
  367. package/dist/shared/src-DTwuqov4.js +11 -0
  368. package/dist/shared/tabKeys-CP6c3wTY.js +3 -0
  369. package/dist/shared/tabs.variants-Cgk7bRhG.js +22 -0
  370. package/dist/shared/tag.variants-BEXRRbPc.js +33 -0
  371. package/dist/shared/tagsInputContext-C-X1-iNf.js +4 -0
  372. package/dist/shared/toggleGroup.variants-BuwGELw0.js +38 -0
  373. package/dist/shared/tooltipContext-arEyjGQC.js +3 -0
  374. package/dist/single-select/SearchableSingleSelect.vue.d.ts +39 -0
  375. package/dist/single-select/SearchableSingleSelect.vue.js +1 -0
  376. package/dist/single-select/SingleSelect.vue.d.ts +38 -0
  377. package/dist/single-select/SingleSelect.vue.js +185 -0
  378. package/dist/single-select/types.d.ts +25 -0
  379. package/dist/single-select/types.js +0 -0
  380. package/dist/skeleton/Skeleton.vue.d.ts +7 -0
  381. package/dist/skeleton/Skeleton.vue.js +22 -0
  382. package/dist/slider/GradientSlider.vue.d.ts +20 -0
  383. package/dist/slider/GradientSlider.vue.js +100 -0
  384. package/dist/slider/Slider.vue.d.ts +16 -0
  385. package/dist/slider/Slider.vue.js +86 -0
  386. package/dist/slider/gradients.d.ts +6 -0
  387. package/dist/spinner/Spinner.vue.d.ts +7 -0
  388. package/dist/spinner/Spinner.vue.js +39 -0
  389. package/dist/splitter/SplitterGroup.vue.d.ts +23 -0
  390. package/dist/splitter/SplitterGroup.vue.js +38 -0
  391. package/dist/splitter/SplitterPanel.vue.d.ts +26 -0
  392. package/dist/splitter/SplitterPanel.vue.js +43 -0
  393. package/dist/splitter/SplitterResizeHandle.vue.d.ts +22 -0
  394. package/dist/splitter/SplitterResizeHandle.vue.js +35 -0
  395. package/dist/switch/Switch.vue.d.ts +17 -0
  396. package/dist/switch/Switch.vue.js +1 -0
  397. package/dist/tab/Tab.vue.d.ts +24 -0
  398. package/dist/tab/Tab.vue.js +73 -0
  399. package/dist/tab/TabList.vue.d.ts +26 -0
  400. package/dist/tab/TabList.vue.js +29 -0
  401. package/dist/tab/TabPanel.vue.d.ts +23 -0
  402. package/dist/tab/TabPanel.vue.js +26 -0
  403. package/dist/tab/tab.variants.d.ts +9 -0
  404. package/dist/tab/tabKeys.d.ts +7 -0
  405. package/dist/table/Table.vue.d.ts +17 -0
  406. package/dist/table/Table.vue.js +21 -0
  407. package/dist/table/TableBody.vue.d.ts +17 -0
  408. package/dist/table/TableBody.vue.js +19 -0
  409. package/dist/table/TableCell.vue.d.ts +17 -0
  410. package/dist/table/TableCell.vue.js +19 -0
  411. package/dist/table/TableHead.vue.d.ts +17 -0
  412. package/dist/table/TableHead.vue.js +1 -0
  413. package/dist/table/TableHeader.vue.d.ts +17 -0
  414. package/dist/table/TableHeader.vue.js +19 -0
  415. package/dist/table/TableRow.vue.d.ts +17 -0
  416. package/dist/table/TableRow.vue.js +19 -0
  417. package/dist/table/TableSortHead.vue.d.ts +26 -0
  418. package/dist/table/TableSortHead.vue.js +45 -0
  419. package/dist/table/tableUtils.d.ts +3 -0
  420. package/dist/table/tableUtils.js +18 -0
  421. package/dist/tabs/Tabs.vue.d.ts +22 -0
  422. package/dist/tabs/Tabs.vue.js +41 -0
  423. package/dist/tabs/TabsContent.vue.d.ts +18 -0
  424. package/dist/tabs/TabsContent.vue.js +35 -0
  425. package/dist/tabs/TabsList.vue.d.ts +20 -0
  426. package/dist/tabs/TabsList.vue.js +36 -0
  427. package/dist/tabs/TabsTrigger.vue.d.ts +20 -0
  428. package/dist/tabs/TabsTrigger.vue.js +37 -0
  429. package/dist/tabs/tabs.variants.d.ts +21 -0
  430. package/dist/tags-input/TagsInput.vue.d.ts +32 -0
  431. package/dist/tags-input/TagsInput.vue.js +96 -0
  432. package/dist/tags-input/TagsInputInput.vue.d.ts +9 -0
  433. package/dist/tags-input/TagsInputInput.vue.js +54 -0
  434. package/dist/tags-input/TagsInputItem.vue.d.ts +18 -0
  435. package/dist/tags-input/TagsInputItem.vue.js +32 -0
  436. package/dist/tags-input/TagsInputItemDelete.vue.d.ts +18 -0
  437. package/dist/tags-input/TagsInputItemDelete.vue.js +33 -0
  438. package/dist/tags-input/TagsInputItemText.vue.d.ts +8 -0
  439. package/dist/tags-input/TagsInputItemText.vue.js +26 -0
  440. package/dist/tags-input/tagsInputContext.d.ts +4 -0
  441. package/dist/textarea/Textarea.vue.d.ts +17 -0
  442. package/dist/textarea/Textarea.vue.js +31 -0
  443. package/dist/toast/ToastClose.vue.d.ts +8 -0
  444. package/dist/toast/ToastClose.vue.js +40 -0
  445. package/dist/toast/ToastDescription.vue.d.ts +18 -0
  446. package/dist/toast/ToastDescription.vue.js +29 -0
  447. package/dist/toast/ToastDock.vue.d.ts +13 -0
  448. package/dist/toast/ToastDock.vue.js +27 -0
  449. package/dist/toast/ToastPanel.vue.d.ts +30 -0
  450. package/dist/toast/ToastPanel.vue.js +45 -0
  451. package/dist/toast/ToastRoot.vue.d.ts +100 -0
  452. package/dist/toast/ToastRoot.vue.js +53 -0
  453. package/dist/toast/ToastTitle.vue.d.ts +18 -0
  454. package/dist/toast/ToastTitle.vue.js +29 -0
  455. package/dist/toast/ToastViewport.vue.d.ts +9 -0
  456. package/dist/toast/ToastViewport.vue.js +31 -0
  457. package/dist/toggle-group/ToggleGroup.vue.d.ts +25 -0
  458. package/dist/toggle-group/ToggleGroup.vue.js +59 -0
  459. package/dist/toggle-group/ToggleGroupItem.vue.d.ts +21 -0
  460. package/dist/toggle-group/ToggleGroupItem.vue.js +43 -0
  461. package/dist/toggle-group/toggleGroup.variants.d.ts +24 -0
  462. package/dist/tooltip/TextTooltip.vue.d.ts +20 -0
  463. package/dist/tooltip/TextTooltip.vue.js +1 -0
  464. package/dist/tooltip/Tooltip.vue.d.ts +23 -0
  465. package/dist/tooltip/Tooltip.vue.js +1 -0
  466. package/dist/tooltip/TooltipContent.vue.d.ts +24 -0
  467. package/dist/tooltip/TooltipContent.vue.js +1 -0
  468. package/dist/tooltip/TooltipProvider.vue.d.ts +15 -0
  469. package/dist/tooltip/TooltipProvider.vue.js +37 -0
  470. package/dist/tooltip/TooltipTrigger.vue.d.ts +14 -0
  471. package/dist/tooltip/TooltipTrigger.vue.js +1 -0
  472. package/dist/tooltip/tooltipConfig.d.ts +5 -0
  473. package/dist/tooltip/tooltipConfig.js +7 -0
  474. package/dist/tooltip/tooltipContext.d.ts +2 -0
  475. package/dist/transition/TransitionCollapse.vue.d.ts +21 -0
  476. package/dist/transition/TransitionCollapse.vue.js +1 -0
  477. package/dist/tree/Tree.vue.d.ts +32 -0
  478. package/dist/tree/Tree.vue.js +53 -0
  479. package/dist/tree/TreeItem.vue.d.ts +29 -0
  480. package/dist/tree/TreeItem.vue.js +80 -0
  481. package/dist/tree/treeStyles.d.ts +4 -0
  482. package/dist/tree/treeStyles.js +6 -0
  483. package/dist-types/button.variants.d.ts +16 -0
  484. package/dist-types/select.variants.d.ts +24 -0
  485. package/dist-types/tag.variants.d.ts +21 -0
  486. package/dist-types/workspaceAvatar.d.ts +5 -0
  487. package/package.json +186 -8
  488. package/src/button.variants.ts +84 -0
  489. package/src/css/_deprecated-aliases.css +12 -0
  490. package/src/css/_legacy-palette.css +33 -0
  491. package/src/css/_legacy-ui.css +418 -0
  492. package/src/css/_markdown.css +227 -0
  493. package/src/css/_mask-editor.css +179 -0
  494. package/src/css/_palette.css +40 -4
  495. package/src/css/base.css +0 -6
  496. package/src/css/component-support.css +69 -0
  497. package/src/css/iconSizing.test.ts +80 -0
  498. package/src/css/iconifyDynamicPlugin.ts +15 -6
  499. package/src/css/icons.test.ts +17 -0
  500. package/src/css/lucideStrokePlugin.js +5 -6
  501. package/src/css/published.css +3 -0
  502. package/src/css/style.css +5 -1909
  503. package/src/css/theme.css +243 -0
  504. package/src/css/themes/void.css +102 -0
  505. package/src/icons/README.md +61 -97
  506. package/src/icons/astroid-filled.svg +3 -0
  507. package/src/icons/claude.svg +1 -1
  508. package/src/select.variants.ts +53 -0
  509. package/src/tag.variants.ts +38 -0
@@ -0,0 +1,23 @@
1
+ import { createBlock, defineComponent, guardReactiveProps, mergeProps, normalizeProps, openBlock, renderSlot, unref, withCtx } from "vue";
2
+ import { DialogRoot, useForwardPropsEmits } from "reka-ui";
3
+ // src/components/dialog/Dialog.vue
4
+ var Dialog_default = /* @__PURE__ */ defineComponent({
5
+ __name: "Dialog",
6
+ props: {
7
+ open: { type: Boolean },
8
+ defaultOpen: { type: Boolean },
9
+ modal: { type: Boolean },
10
+ unmountOnHide: { type: Boolean }
11
+ },
12
+ emits: ["update:open"],
13
+ setup(__props, { emit: __emit }) {
14
+ const forwarded = useForwardPropsEmits(__props, __emit);
15
+ return (_ctx, _cache) => {
16
+ return openBlock(), createBlock(unref(DialogRoot), mergeProps({ "data-slot": "dialog" }, unref(forwarded)), {
17
+ default: withCtx((slotProps) => [renderSlot(_ctx.$slots, "default", normalizeProps(guardReactiveProps(slotProps)))]),
18
+ _: 3
19
+ }, 16);
20
+ };
21
+ }
22
+ });
23
+ export { Dialog_default as default };
@@ -0,0 +1,13 @@
1
+ declare var __VLS_8: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_8) => any;
4
+ };
5
+ declare const __VLS_base: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
9
+ type __VLS_WithSlots<T, S> = T & {
10
+ new (): {
11
+ $slots: S;
12
+ };
13
+ };
@@ -0,0 +1 @@
1
+ export { t as default } from "../shared/DialogClose-CrtPRSNX.js";
@@ -0,0 +1,36 @@
1
+ import { DialogContentProps } from 'reka-ui';
2
+ import { HTMLAttributes } from 'vue';
3
+ import { DialogContentSize, DialogContentSurface } from './dialog.variants';
4
+ type __VLS_Props = DialogContentProps & {
5
+ class?: HTMLAttributes['class'];
6
+ maximized?: boolean;
7
+ size?: DialogContentSize;
8
+ surface?: DialogContentSurface;
9
+ };
10
+ declare var __VLS_11: {};
11
+ type __VLS_Slots = {} & {
12
+ default?: (props: typeof __VLS_11) => any;
13
+ };
14
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
15
+ escapeKeyDown: (event: KeyboardEvent) => any;
16
+ pointerDownOutside: (event: import('reka-ui').PointerDownOutsideEvent) => any;
17
+ focusOutside: (event: import('reka-ui').FocusOutsideEvent) => any;
18
+ interactOutside: (event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any;
19
+ closeAutoFocus: (event: Event) => any;
20
+ openAutoFocus: (event: Event) => any;
21
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
22
+ onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
23
+ onPointerDownOutside?: ((event: import('reka-ui').PointerDownOutsideEvent) => any) | undefined;
24
+ onFocusOutside?: ((event: import('reka-ui').FocusOutsideEvent) => any) | undefined;
25
+ onInteractOutside?: ((event: import('reka-ui').PointerDownOutsideEvent | import('reka-ui').FocusOutsideEvent) => any) | undefined;
26
+ onCloseAutoFocus?: ((event: Event) => any) | undefined;
27
+ onOpenAutoFocus?: ((event: Event) => any) | undefined;
28
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
29
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
30
+ declare const _default: typeof __VLS_export;
31
+ export default _default;
32
+ type __VLS_WithSlots<T, S> = T & {
33
+ new (): {
34
+ $slots: S;
35
+ };
36
+ };
@@ -0,0 +1 @@
1
+ export { t as default } from "../shared/DialogContent-v2s55FXs.js";
@@ -0,0 +1,18 @@
1
+ import { DialogDescriptionProps } from 'reka-ui';
2
+ import { HTMLAttributes } from 'vue';
3
+ type __VLS_Props = DialogDescriptionProps & {
4
+ class?: HTMLAttributes['class'];
5
+ };
6
+ declare var __VLS_8: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_8) => any;
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<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,31 @@
1
+ import { t as cn } from "../shared/src-DTwuqov4.js";
2
+ import { createBlock, createPropsRestProxy, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
3
+ import { DialogDescription } from "reka-ui";
4
+ // src/components/dialog/DialogDescription.vue
5
+ var DialogDescription_default = /* @__PURE__ */ defineComponent({
6
+ __name: "DialogDescription",
7
+ props: {
8
+ asChild: { type: Boolean },
9
+ as: {},
10
+ class: {
11
+ type: [
12
+ Boolean,
13
+ null,
14
+ String,
15
+ Object,
16
+ Array
17
+ ],
18
+ default: ""
19
+ }
20
+ },
21
+ setup(__props) {
22
+ const delegated = createPropsRestProxy(__props, ["class"]);
23
+ return (_ctx, _cache) => {
24
+ return openBlock(), createBlock(unref(DialogDescription), mergeProps(delegated, { class: unref(cn)("text-sm text-muted-foreground", __props.class) }), {
25
+ default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
26
+ _: 3
27
+ }, 16, ["class"]);
28
+ };
29
+ }
30
+ });
31
+ export { DialogDescription_default as default };
@@ -0,0 +1,17 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ type __VLS_Props = {
3
+ class?: HTMLAttributes['class'];
4
+ };
5
+ declare var __VLS_1: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_1) => any;
8
+ };
9
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,22 @@
1
+ import { t as cn } from "../shared/src-DTwuqov4.js";
2
+ import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
3
+ // src/components/dialog/DialogFooter.vue
4
+ var DialogFooter_default = /* @__PURE__ */ defineComponent({
5
+ __name: "DialogFooter",
6
+ props: { class: {
7
+ type: [
8
+ Boolean,
9
+ null,
10
+ String,
11
+ Object,
12
+ Array
13
+ ],
14
+ default: ""
15
+ } },
16
+ setup(__props) {
17
+ return (_ctx, _cache) => {
18
+ return openBlock(), createElementBlock("div", { class: normalizeClass(unref(cn)("flex shrink-0 items-center justify-end gap-2 px-4 pt-2 pb-4", __props.class)) }, [renderSlot(_ctx.$slots, "default")], 2);
19
+ };
20
+ }
21
+ });
22
+ export { DialogFooter_default as default };
@@ -0,0 +1,17 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ type __VLS_Props = {
3
+ class?: HTMLAttributes['class'];
4
+ };
5
+ declare var __VLS_1: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_1) => any;
8
+ };
9
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,22 @@
1
+ import { t as cn } from "../shared/src-DTwuqov4.js";
2
+ import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
3
+ // src/components/dialog/DialogHeader.vue
4
+ var DialogHeader_default = /* @__PURE__ */ defineComponent({
5
+ __name: "DialogHeader",
6
+ props: { class: {
7
+ type: [
8
+ Boolean,
9
+ null,
10
+ String,
11
+ Object,
12
+ Array
13
+ ],
14
+ default: ""
15
+ } },
16
+ setup(__props) {
17
+ return (_ctx, _cache) => {
18
+ return openBlock(), createElementBlock("div", { class: normalizeClass(unref(cn)("flex shrink-0 items-center justify-between gap-2 px-4 pt-4 pb-2", __props.class)) }, [renderSlot(_ctx.$slots, "default")], 2);
19
+ };
20
+ }
21
+ });
22
+ export { DialogHeader_default as default };
@@ -0,0 +1,10 @@
1
+ type __VLS_Props = {
2
+ maximized?: boolean;
3
+ };
4
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
+ toggle: () => any;
6
+ }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
7
+ onToggle?: (() => any) | undefined;
8
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
@@ -0,0 +1,25 @@
1
+ import { t as Button_default } from "../shared/Button-Dj_H5v3V.js";
2
+ import { createBlock, createElementVNode, defineComponent, normalizeClass, openBlock, unref, withCtx } from "vue";
3
+ // src/components/dialog/DialogMaximize.vue
4
+ var DialogMaximize_default = /* @__PURE__ */ defineComponent({
5
+ __name: "DialogMaximize",
6
+ props: { maximized: {
7
+ type: Boolean,
8
+ default: false
9
+ } },
10
+ emits: ["toggle"],
11
+ setup(__props, { emit: __emit }) {
12
+ const emit = __emit;
13
+ return (_ctx, _cache) => {
14
+ return openBlock(), createBlock(unref(Button_default), {
15
+ size: "icon",
16
+ variant: "muted-textonly",
17
+ onClick: _cache[0] || (_cache[0] = ($event) => emit("toggle"))
18
+ }, {
19
+ default: withCtx(() => [createElementVNode("i", { class: normalizeClass(__props.maximized ? "icon-[lucide--minimize-2]" : "icon-[lucide--maximize-2]") }, null, 2)]),
20
+ _: 1
21
+ });
22
+ };
23
+ }
24
+ });
25
+ export { DialogMaximize_default as default };
@@ -0,0 +1,8 @@
1
+ import { DialogOverlayProps } from 'reka-ui';
2
+ import { HTMLAttributes } from 'vue';
3
+ type __VLS_Props = DialogOverlayProps & {
4
+ class?: HTMLAttributes['class'];
5
+ };
6
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
8
+ export default _default;
@@ -0,0 +1 @@
1
+ export { t as default } from "../shared/DialogOverlay-C9qv0zme.js";
@@ -0,0 +1,18 @@
1
+ import { DialogPanelProps } from './types';
2
+ declare var __VLS_20: {}, __VLS_30: {}, __VLS_38: {};
3
+ type __VLS_Slots = {} & {
4
+ title?: (props: typeof __VLS_20) => any;
5
+ } & {
6
+ default?: (props: typeof __VLS_30) => any;
7
+ } & {
8
+ footer?: (props: typeof __VLS_38) => any;
9
+ };
10
+ declare const __VLS_base: import('vue').DefineComponent<DialogPanelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DialogPanelProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,53 @@
1
+ import { t as cn } from "../shared/src-DTwuqov4.js";
2
+ import { t as Button_default } from "../shared/Button-Dj_H5v3V.js";
3
+ import { t as Card_default } from "../shared/Card-BrvqUM49.js";
4
+ import { t as CardFooter_default } from "../shared/CardFooter-BV_I0pM-.js";
5
+ import { t as CardHeader_default } from "../shared/CardHeader-CMutruBx.js";
6
+ import { t as DialogTitle_default } from "../shared/DialogTitle-Chomvpgq.js";
7
+ import { createBlock, createCommentVNode, createElementVNode, createVNode, defineComponent, normalizeClass, openBlock, renderSlot, unref, withCtx } from "vue";
8
+ // src/components/dialog/DialogPanel.vue
9
+ var DialogPanel_default = /* @__PURE__ */ defineComponent({
10
+ __name: "DialogPanel",
11
+ props: {
12
+ closeLabel: {},
13
+ class: { type: [
14
+ Boolean,
15
+ null,
16
+ String,
17
+ Object,
18
+ Array
19
+ ] },
20
+ onClose: { type: Function }
21
+ },
22
+ setup(__props) {
23
+ return (_ctx, _cache) => {
24
+ return openBlock(), createBlock(unref(Card_default), { class: normalizeClass(unref(cn)("flex flex-col shadow-lg", __props.class)) }, {
25
+ default: withCtx(() => [
26
+ createVNode(unref(CardHeader_default), null, {
27
+ default: withCtx(() => [createVNode(DialogTitle_default, { class: "m-0 flex items-center gap-2 text-sm font-normal" }, {
28
+ default: withCtx(() => [renderSlot(_ctx.$slots, "title")]),
29
+ _: 3
30
+ }), __props.onClose ? (openBlock(), createBlock(unref(Button_default), {
31
+ key: 0,
32
+ size: "icon",
33
+ variant: "muted-textonly",
34
+ "aria-label": __props.closeLabel,
35
+ onClick: __props.onClose
36
+ }, {
37
+ default: withCtx(() => [..._cache[0] || (_cache[0] = [createElementVNode("i", { class: "icon-[lucide--x]" }, null, -1)])]),
38
+ _: 1
39
+ }, 8, ["aria-label", "onClick"])) : createCommentVNode("", true)]),
40
+ _: 3
41
+ }),
42
+ renderSlot(_ctx.$slots, "default"),
43
+ _ctx.$slots.footer ? (openBlock(), createBlock(unref(CardFooter_default), { key: 0 }, {
44
+ default: withCtx(() => [renderSlot(_ctx.$slots, "footer")]),
45
+ _: 3
46
+ })) : createCommentVNode("", true)
47
+ ]),
48
+ _: 3
49
+ }, 8, ["class"]);
50
+ };
51
+ }
52
+ });
53
+ export { DialogPanel_default as default };
@@ -0,0 +1,14 @@
1
+ import { DialogPortalProps } from 'reka-ui';
2
+ declare var __VLS_14: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_14) => any;
5
+ };
6
+ declare const __VLS_base: import('vue').DefineComponent<DialogPortalProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<DialogPortalProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
8
+ declare const _default: typeof __VLS_export;
9
+ export default _default;
10
+ type __VLS_WithSlots<T, S> = T & {
11
+ new (): {
12
+ $slots: S;
13
+ };
14
+ };
@@ -0,0 +1 @@
1
+ export { t as default } from "../shared/DialogPortal-DtCpLgtO.js";
@@ -0,0 +1,18 @@
1
+ import { PrimitiveProps } from 'reka-ui';
2
+ import { HTMLAttributes } from 'vue';
3
+ type __VLS_Props = PrimitiveProps & {
4
+ class?: HTMLAttributes['class'];
5
+ };
6
+ declare var __VLS_8: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_8) => any;
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<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1 @@
1
+ export { t as default } from "../shared/DialogTitle-Chomvpgq.js";
@@ -0,0 +1,22 @@
1
+ type __VLS_Props = {
2
+ title?: string;
3
+ closeLabel: string;
4
+ to?: string | HTMLElement;
5
+ };
6
+ declare var __VLS_14: {}, __VLS_51: {
7
+ close: () => void;
8
+ };
9
+ type __VLS_Slots = {} & {
10
+ button?: (props: typeof __VLS_14) => any;
11
+ } & {
12
+ default?: (props: typeof __VLS_51) => any;
13
+ };
14
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, 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,56 @@
1
+ import { t as DialogClose_default } from "../shared/DialogClose-CrtPRSNX.js";
2
+ import { t as DialogContent_default } from "../shared/DialogContent-v2s55FXs.js";
3
+ import { t as DialogOverlay_default } from "../shared/DialogOverlay-C9qv0zme.js";
4
+ import { t as DialogPortal_default } from "../shared/DialogPortal-DtCpLgtO.js";
5
+ import { t as DialogTitle_default } from "../shared/DialogTitle-Chomvpgq.js";
6
+ import { t as Button_default } from "../shared/Button-Dj_H5v3V.js";
7
+ import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, openBlock, renderSlot, toDisplayString, unref, withCtx } from "vue";
8
+ import { DialogRoot, DialogTrigger } from "reka-ui";
9
+ // src/components/dialog/Dialogue.vue?vue&type=script&setup=true&lang.ts
10
+ var _hoisted_1 = {
11
+ key: 0,
12
+ class: "flex w-full items-center justify-between border-b border-border/50 px-4"
13
+ };
14
+ // src/components/dialog/Dialogue.vue
15
+ var Dialogue_default = /* @__PURE__ */ defineComponent({
16
+ __name: "Dialogue",
17
+ props: {
18
+ title: {},
19
+ closeLabel: {},
20
+ to: {}
21
+ },
22
+ setup(__props) {
23
+ return (_ctx, _cache) => {
24
+ return openBlock(), createBlock(unref(DialogRoot), null, {
25
+ default: withCtx(({ close }) => [createVNode(unref(DialogTrigger), { "as-child": "" }, {
26
+ default: withCtx(() => [renderSlot(_ctx.$slots, "button")]),
27
+ _: 3
28
+ }), createVNode(unref(DialogPortal_default), { to: __props.to }, {
29
+ default: withCtx(() => [createVNode(unref(DialogOverlay_default)), createVNode(unref(DialogContent_default), mergeProps(_ctx.$attrs, {
30
+ size: "sm",
31
+ class: "p-2"
32
+ }), {
33
+ default: withCtx(() => [__props.title ? (openBlock(), createElementBlock("div", _hoisted_1, [createVNode(unref(DialogTitle_default), { class: "text-sm" }, {
34
+ default: withCtx(() => [createTextVNode(toDisplayString(__props.title), 1)]),
35
+ _: 1
36
+ }), createVNode(unref(DialogClose_default), null, {
37
+ default: withCtx(() => [createVNode(unref(Button_default), {
38
+ "aria-label": __props.closeLabel,
39
+ size: "icon",
40
+ variant: "muted-textonly"
41
+ }, {
42
+ default: withCtx(() => [..._cache[0] || (_cache[0] = [createElementVNode("i", { class: "icon-[lucide--x]" }, null, -1)])]),
43
+ _: 1
44
+ }, 8, ["aria-label"])]),
45
+ _: 1
46
+ })])) : createCommentVNode("", true), renderSlot(_ctx.$slots, "default", { close })]),
47
+ _: 2
48
+ }, 1040)]),
49
+ _: 2
50
+ }, 1032, ["to"])]),
51
+ _: 3
52
+ });
53
+ };
54
+ }
55
+ });
56
+ export { Dialogue_default as default };
@@ -0,0 +1,16 @@
1
+ import { VariantProps } from 'cva';
2
+ export declare const dialogContentVariants: (props?: ({
3
+ surface?: "none" | "card" | undefined;
4
+ size?: "sm" | "md" | "lg" | "xl" | "full" | "fit" | undefined;
5
+ maximized?: boolean | undefined;
6
+ } & ({
7
+ class?: import('cva').ClassValue;
8
+ className?: never;
9
+ } | {
10
+ class?: never;
11
+ className?: import('cva').ClassValue;
12
+ })) | undefined) => string;
13
+ type DialogContentVariants = VariantProps<typeof dialogContentVariants>;
14
+ export type DialogContentSize = NonNullable<DialogContentVariants['size']>;
15
+ export type DialogContentSurface = NonNullable<DialogContentVariants['surface']>;
16
+ export {};
@@ -0,0 +1,38 @@
1
+ import { cva } from "cva";
2
+ // src/components/dialog/dialog.variants.ts
3
+ var dialogContentVariants = cva({
4
+ base: "fixed flex flex-col outline-none data-[state=closed]:pointer-events-none data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
5
+ variants: {
6
+ surface: {
7
+ card: "rounded-2xl border bg-background shadow-lg",
8
+ none: ""
9
+ },
10
+ size: {
11
+ sm: "sm:max-w-96",
12
+ md: "sm:max-w-xl",
13
+ lg: "sm:max-w-3xl",
14
+ xl: "sm:max-w-5xl",
15
+ full: "",
16
+ fit: ""
17
+ },
18
+ maximized: {
19
+ true: "inset-2 top-2 left-2 size-auto max-h-none max-w-none sm:max-w-none",
20
+ false: "top-1/2 left-1/2 max-h-[85vh] w-[calc(100vw-1rem)] -translate-x-1/2 -translate-y-1/2"
21
+ }
22
+ },
23
+ compoundVariants: [{
24
+ size: "full",
25
+ maximized: false,
26
+ class: "h-[90vh] max-h-[90vh] w-[90vw] max-w-[90vw]"
27
+ }, {
28
+ size: "fit",
29
+ maximized: false,
30
+ class: "w-fit max-w-[calc(100vw-1rem)]"
31
+ }],
32
+ defaultVariants: {
33
+ surface: "card",
34
+ size: "md",
35
+ maximized: false
36
+ }
37
+ });
38
+ export { dialogContentVariants };
@@ -0,0 +1,6 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ export interface DialogPanelProps {
3
+ closeLabel: string;
4
+ class?: HTMLAttributes['class'];
5
+ onClose?: () => void;
6
+ }
File without changes
@@ -0,0 +1,19 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ import { FieldVariants } from './field.variants';
3
+ type __VLS_Props = {
4
+ class?: HTMLAttributes['class'];
5
+ orientation?: FieldVariants['orientation'];
6
+ };
7
+ declare var __VLS_1: {};
8
+ type __VLS_Slots = {} & {
9
+ default?: (props: typeof __VLS_1) => any;
10
+ };
11
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, 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,39 @@
1
+ import { t as cn } from "../shared/src-DTwuqov4.js";
2
+ import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
3
+ import { cva } from "cva";
4
+ // src/components/field/field.variants.ts
5
+ var fieldVariants = cva({
6
+ base: "group/field flex w-full gap-3 data-[invalid=true]:text-destructive",
7
+ variants: { orientation: {
8
+ vertical: "flex-col *:w-full [&>.sr-only]:w-auto",
9
+ horizontal: "flex-row items-center *:data-[slot=field-label]:flex-auto"
10
+ } },
11
+ defaultVariants: { orientation: "vertical" }
12
+ });
13
+ // src/components/field/Field.vue?vue&type=script&setup=true&lang.ts
14
+ var _hoisted_1 = ["data-orientation"];
15
+ // src/components/field/Field.vue
16
+ var Field_default = /* @__PURE__ */ defineComponent({
17
+ __name: "Field",
18
+ props: {
19
+ class: { type: [
20
+ Boolean,
21
+ null,
22
+ String,
23
+ Object,
24
+ Array
25
+ ] },
26
+ orientation: {}
27
+ },
28
+ setup(__props) {
29
+ return (_ctx, _cache) => {
30
+ return openBlock(), createElementBlock("div", {
31
+ role: "group",
32
+ "data-slot": "field",
33
+ "data-orientation": __props.orientation,
34
+ class: normalizeClass(unref(cn)(unref(fieldVariants)({ orientation: __props.orientation }), __props.class))
35
+ }, [renderSlot(_ctx.$slots, "default")], 10, _hoisted_1);
36
+ };
37
+ }
38
+ });
39
+ export { Field_default as default };
@@ -0,0 +1,17 @@
1
+ import { HTMLAttributes } from 'vue';
2
+ type __VLS_Props = {
3
+ class?: HTMLAttributes['class'];
4
+ };
5
+ declare var __VLS_1: {};
6
+ type __VLS_Slots = {} & {
7
+ default?: (props: typeof __VLS_1) => any;
8
+ };
9
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
+ declare const _default: typeof __VLS_export;
12
+ export default _default;
13
+ type __VLS_WithSlots<T, S> = T & {
14
+ new (): {
15
+ $slots: S;
16
+ };
17
+ };
@@ -0,0 +1,22 @@
1
+ import { t as cn } from "../shared/src-DTwuqov4.js";
2
+ import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
3
+ // src/components/field/FieldDescription.vue
4
+ var FieldDescription_default = /* @__PURE__ */ defineComponent({
5
+ __name: "FieldDescription",
6
+ props: { class: { type: [
7
+ Boolean,
8
+ null,
9
+ String,
10
+ Object,
11
+ Array
12
+ ] } },
13
+ setup(__props) {
14
+ return (_ctx, _cache) => {
15
+ return openBlock(), createElementBlock("p", {
16
+ "data-slot": "field-description",
17
+ class: normalizeClass(unref(cn)("text-sm/normal font-normal text-muted-foreground group-has-data-[orientation=horizontal]/field:text-balance", "last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5", "[&>a]:underline [&>a]:underline-offset-4 [&>a:hover]:text-foreground", __props.class))
18
+ }, [renderSlot(_ctx.$slots, "default")], 2);
19
+ };
20
+ }
21
+ });
22
+ export { FieldDescription_default as default };