@comfyorg/design-system 1.1.0 → 1.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.
- package/README.md +89 -10
- package/dist/badge/Badge.vue.d.ts +49 -0
- package/dist/badge/Badge.vue.js +2 -0
- package/dist/badge/CreditBadge.vue.d.ts +7 -0
- package/dist/badge/CreditBadge.vue.js +35 -0
- package/dist/badge/badge.variants.d.ts +12 -0
- package/dist/button/Button.vue.d.ts +31 -0
- package/dist/button/Button.vue.js +2 -0
- package/dist/button-group/ButtonGroup.vue.d.ts +18 -0
- package/dist/button-group/ButtonGroup.vue.js +37 -0
- package/dist/button-group/IconGroup.vue.d.ts +16 -0
- package/dist/button-group/IconGroup.vue.js +15 -0
- package/dist/card/Card.vue.d.ts +19 -0
- package/dist/card/Card.vue.js +2 -0
- package/dist/card/CardFooter.vue.d.ts +17 -0
- package/dist/card/CardFooter.vue.js +2 -0
- package/dist/card/CardHeader.vue.d.ts +17 -0
- package/dist/card/CardHeader.vue.js +2 -0
- package/dist/card/CoachmarkCard.vue.d.ts +24 -0
- package/dist/card/CoachmarkCard.vue.js +57 -0
- package/dist/card/card.variants.d.ts +11 -0
- package/dist/chart/Chart.vue.d.ts +12 -0
- package/dist/chart/Chart.vue.js +180 -0
- package/dist/chart/useChart.d.ts +4 -0
- package/dist/checkbox/Checkbox.vue.d.ts +25 -0
- package/dist/checkbox/Checkbox.vue.js +49 -0
- package/dist/chip/TagRemoveButton.vue.d.ts +18 -0
- package/dist/chip/TagRemoveButton.vue.js +2 -0
- package/dist/common/CanvasBanner.vue.d.ts +23 -0
- package/dist/common/CanvasBanner.vue.js +23 -0
- package/dist/common/ContentDivider.vue.d.ts +7 -0
- package/dist/common/ContentDivider.vue.js +22 -0
- package/dist/common/CustomFormValue.vue.d.ts +6 -0
- package/dist/common/CustomFormValue.vue.js +28 -0
- package/dist/common/DotSpinner.vue.d.ts +7 -0
- package/dist/common/DotSpinner.vue.js +34 -0
- package/dist/common/EditableText.vue.d.ts +16 -0
- package/dist/common/EditableText.vue.js +73 -0
- package/dist/common/LoadingOverlay.vue.d.ts +18 -0
- package/dist/common/LoadingOverlay.vue.js +41 -0
- package/dist/common/MarkdownText.vue.d.ts +6 -0
- package/dist/common/MarkdownText.vue.js +93 -0
- package/dist/common/MarqueeLine.vue.d.ts +13 -0
- package/dist/common/MarqueeLine.vue.js +12 -0
- package/dist/common/OverlayIcon.vue.d.ts +13 -0
- package/dist/common/OverlayIcon.vue.js +2 -0
- package/dist/common/SanitizedHtml.vue.d.ts +8 -0
- package/dist/common/SanitizedHtml.vue.js +60 -0
- package/dist/common/TextDivider.vue.d.ts +8 -0
- package/dist/common/TextDivider.vue.js +36 -0
- package/dist/common/TextTicker.vue.d.ts +17 -0
- package/dist/common/TextTicker.vue.js +53 -0
- package/dist/common/TextTickerMultiLine.vue.d.ts +6 -0
- package/dist/common/TextTickerMultiLine.vue.js +54 -0
- package/dist/common/VerticalDivider.vue.d.ts +3 -0
- package/dist/common/VerticalDivider.vue.js +15 -0
- package/dist/common/VideoCompareSlider.vue.d.ts +24 -0
- package/dist/common/VideoCompareSlider.vue.js +141 -0
- package/dist/common/ViewportWidgetShell.vue.d.ts +27 -0
- package/dist/common/ViewportWidgetShell.vue.js +58 -0
- package/dist/common/VirtualGrid.vue.d.ts +38 -0
- package/dist/common/VirtualGrid.vue.js +107 -0
- package/dist/common/textTickerUtils.d.ts +1 -0
- package/dist/components.css +44 -0
- package/dist/composables/useAttrsClass.d.ts +12 -0
- package/dist/composables/useAttrsClass.js +18 -0
- package/dist/composables/usePopoverSizing.d.ts +12 -0
- package/dist/composables/usePopoverSizing.js +18 -0
- package/dist/confirm/ConfirmBody.vue.d.ts +8 -0
- package/dist/confirm/ConfirmBody.vue.js +27 -0
- package/dist/confirm/ConfirmHeader.vue.d.ts +7 -0
- package/dist/confirm/ConfirmHeader.vue.js +27 -0
- package/dist/content-card/CardBottom.vue.d.ts +16 -0
- package/dist/content-card/CardBottom.vue.js +19 -0
- package/dist/content-card/CardContainer.vue.d.ts +26 -0
- package/dist/content-card/CardContainer.vue.js +61 -0
- package/dist/content-card/CardTop.vue.d.ts +36 -0
- package/dist/content-card/CardTop.vue.js +72 -0
- package/dist/dialog/Dialog.vue.d.ts +21 -0
- package/dist/dialog/Dialog.vue.js +25 -0
- package/dist/dialog/DialogClose.vue.d.ts +13 -0
- package/dist/dialog/DialogClose.vue.js +24 -0
- package/dist/dialog/DialogContent.vue.d.ts +36 -0
- package/dist/dialog/DialogContent.vue.js +73 -0
- package/dist/dialog/DialogDescription.vue.d.ts +18 -0
- package/dist/dialog/DialogDescription.vue.js +33 -0
- package/dist/dialog/DialogFooter.vue.d.ts +17 -0
- package/dist/dialog/DialogFooter.vue.js +24 -0
- package/dist/dialog/DialogHeader.vue.d.ts +17 -0
- package/dist/dialog/DialogHeader.vue.js +24 -0
- package/dist/dialog/DialogMaximize.vue.d.ts +10 -0
- package/dist/dialog/DialogMaximize.vue.js +27 -0
- package/dist/dialog/DialogOverlay.vue.d.ts +8 -0
- package/dist/dialog/DialogOverlay.vue.js +35 -0
- package/dist/dialog/DialogPanel.vue.d.ts +18 -0
- package/dist/dialog/DialogPanel.vue.js +55 -0
- package/dist/dialog/DialogPortal.vue.d.ts +14 -0
- package/dist/dialog/DialogPortal.vue.js +38 -0
- package/dist/dialog/DialogTitle.vue.d.ts +18 -0
- package/dist/dialog/DialogTitle.vue.js +2 -0
- package/dist/dialog/dialog.variants.d.ts +16 -0
- package/dist/dialog/dialog.variants.js +39 -0
- package/dist/dialog/types.d.ts +6 -0
- package/dist/dialog/types.js +0 -0
- package/dist/field/Field.vue.d.ts +19 -0
- package/dist/field/Field.vue.js +42 -0
- package/dist/field/FieldDescription.vue.d.ts +17 -0
- package/dist/field/FieldDescription.vue.js +24 -0
- package/dist/field/FieldError.vue.d.ts +21 -0
- package/dist/field/FieldError.vue.js +39 -0
- package/dist/field/FieldGroup.vue.d.ts +17 -0
- package/dist/field/FieldGroup.vue.js +24 -0
- package/dist/field/FieldLabel.vue.d.ts +17 -0
- package/dist/field/FieldLabel.vue.js +28 -0
- package/dist/field/ModelInfoField.vue.d.ts +18 -0
- package/dist/field/ModelInfoField.vue.js +18 -0
- package/dist/field/field.variants.d.ts +11 -0
- package/dist/hover-card/HoverCard.vue.d.ts +18 -0
- package/dist/hover-card/HoverCard.vue.js +26 -0
- package/dist/hover-card/HoverCardContent.vue.d.ts +18 -0
- package/dist/hover-card/HoverCardContent.vue.js +68 -0
- package/dist/hover-card/HoverCardTrigger.vue.d.ts +14 -0
- package/dist/hover-card/HoverCardTrigger.vue.js +23 -0
- package/dist/icon/ComfyLogo.vue.d.ts +9 -0
- package/dist/icon/ComfyLogo.vue.js +33 -0
- package/dist/icon/PuzzleIcon.vue.d.ts +8 -0
- package/dist/icon/PuzzleIcon.vue.js +40 -0
- package/dist/icon/TinyChevronIcon.vue.d.ts +6 -0
- package/dist/icon/TinyChevronIcon.vue.js +31 -0
- package/dist/icon/VerifiedIcon.vue.d.ts +8 -0
- package/dist/icon/VerifiedIcon.vue.js +32 -0
- package/dist/input/Input.vue.d.ts +21 -0
- package/dist/input/Input.vue.js +2 -0
- package/dist/input/PasswordInput.vue.d.ts +18 -0
- package/dist/input/PasswordInput.vue.js +68 -0
- package/dist/input-group/InputGroup.vue.d.ts +17 -0
- package/dist/input-group/InputGroup.vue.js +2 -0
- package/dist/input-group/InputGroupAddon.vue.d.ts +19 -0
- package/dist/input-group/InputGroupAddon.vue.js +2 -0
- package/dist/input-group/InputGroupButton.vue.d.ts +21 -0
- package/dist/input-group/InputGroupButton.vue.js +2 -0
- package/dist/input-group/InputGroupInput.vue.d.ts +15 -0
- package/dist/input-group/InputGroupInput.vue.js +2 -0
- package/dist/input-group/inputGroup.variants.d.ts +21 -0
- package/dist/input-group/inputGroup.variants.js +22 -0
- package/dist/knob/Knob.vue.d.ts +19 -0
- package/dist/knob/Knob.vue.js +124 -0
- package/dist/label/Label.vue.d.ts +18 -0
- package/dist/label/Label.vue.js +2 -0
- package/dist/media/AudioPreview.vue.d.ts +6 -0
- package/dist/media/AudioPreview.vue.js +28 -0
- package/dist/media/MediaTitle.vue.d.ts +6 -0
- package/dist/media/MediaTitle.vue.js +19 -0
- package/dist/media/VideoPlayOverlay.vue.d.ts +8 -0
- package/dist/media/VideoPlayOverlay.vue.js +28 -0
- package/dist/media/VideoPreview.vue.d.ts +7 -0
- package/dist/media/VideoPreview.vue.js +32 -0
- package/dist/media/ZoomPane.vue.d.ts +17 -0
- package/dist/media/ZoomPane.vue.js +62 -0
- package/dist/menu/ContextMenu.vue.d.ts +31 -0
- package/dist/menu/ContextMenu.vue.js +52 -0
- package/dist/menu/ContextMenuContent.vue.d.ts +32 -0
- package/dist/menu/ContextMenuContent.vue.js +2 -0
- package/dist/menu/Menu.vue.d.ts +41 -0
- package/dist/menu/Menu.vue.js +79 -0
- package/dist/menu/MenuAction.vue.d.ts +26 -0
- package/dist/menu/MenuAction.vue.js +2 -0
- package/dist/menu/MenuContent.vue.d.ts +35 -0
- package/dist/menu/MenuContent.vue.js +2 -0
- package/dist/menu/MenuItem.vue.d.ts +22 -0
- package/dist/menu/MenuItem.vue.js +35 -0
- package/dist/menu/MenuItemContent.vue.d.ts +8 -0
- package/dist/menu/MenuItemContent.vue.js +2 -0
- package/dist/menu/MenuItems.vue.d.ts +32 -0
- package/dist/menu/MenuItems.vue.js +2 -0
- package/dist/menu/MenuRadioGroup.vue.d.ts +26 -0
- package/dist/menu/MenuRadioGroup.vue.js +2 -0
- package/dist/menu/MenuRadioItem.vue.d.ts +22 -0
- package/dist/menu/MenuRadioItem.vue.js +2 -0
- package/dist/menu/MenuSeparator.vue.d.ts +8 -0
- package/dist/menu/MenuSeparator.vue.js +2 -0
- package/dist/menu/MenuSub.vue.d.ts +20 -0
- package/dist/menu/MenuSub.vue.js +2 -0
- package/dist/menu/MenuSubContent.vue.d.ts +36 -0
- package/dist/menu/MenuSubContent.vue.js +2 -0
- package/dist/menu/MenuSubTrigger.vue.d.ts +18 -0
- package/dist/menu/MenuSubTrigger.vue.js +2 -0
- package/dist/menu/MenuSubmenu.vue.d.ts +21 -0
- package/dist/menu/MenuSubmenu.vue.js +2 -0
- package/dist/menu/menuAnchor.d.ts +4 -0
- package/dist/menu/menuAnchor.js +15 -0
- package/dist/menu/menuStyles.d.ts +4 -0
- package/dist/menu/menuStyles.js +7 -0
- package/dist/menu/mouseDownUtil.d.ts +3 -0
- package/dist/menu/types.d.ts +69 -0
- package/dist/menu/types.js +0 -0
- package/dist/menu/usePointMenu.d.ts +19 -0
- package/dist/menu/usePointMenu.js +56 -0
- package/dist/message/Message.vue.d.ts +50 -0
- package/dist/message/Message.vue.js +75 -0
- package/dist/message/message.variants.d.ts +11 -0
- package/dist/message/message.variants.js +15 -0
- package/dist/multi-select/MultiSelect.vue.d.ts +170 -0
- package/dist/multi-select/MultiSelect.vue.js +137 -0
- package/dist/multi-select/MultiSelectContent.vue.d.ts +32 -0
- package/dist/multi-select/MultiSelectContent.vue.js +2 -0
- package/dist/multi-select/MultiSelectTrigger.vue.d.ts +24 -0
- package/dist/multi-select/MultiSelectTrigger.vue.js +2 -0
- package/dist/multi-select/types.d.ts +35 -0
- package/dist/multi-select/types.js +0 -0
- package/dist/navigation/NavTitle.vue.d.ts +12 -0
- package/dist/navigation/NavTitle.vue.js +42 -0
- package/dist/navigation/SidebarTopArea.vue.d.ts +15 -0
- package/dist/navigation/SidebarTopArea.vue.js +16 -0
- package/dist/number-field/NumberField.vue.d.ts +26 -0
- package/dist/number-field/NumberField.vue.js +75 -0
- package/dist/number-field/NumberFieldDecrement.vue.d.ts +18 -0
- package/dist/number-field/NumberFieldDecrement.vue.js +35 -0
- package/dist/number-field/NumberFieldIncrement.vue.d.ts +18 -0
- package/dist/number-field/NumberFieldIncrement.vue.js +35 -0
- package/dist/number-field/NumberFieldInput.vue.d.ts +7 -0
- package/dist/number-field/NumberFieldInput.vue.js +25 -0
- package/dist/number-field/PropertyNumberField.vue.d.ts +14 -0
- package/dist/number-field/PropertyNumberField.vue.js +56 -0
- package/dist/pagination/Pagination.vue.d.ts +22 -0
- package/dist/pagination/Pagination.vue.js +140 -0
- package/dist/popover/PopoverContent.vue.d.ts +33 -0
- package/dist/popover/PopoverContent.vue.js +91 -0
- package/dist/popover/usePopoverViewportDismiss.d.ts +2 -0
- package/dist/popover/usePopoverViewportDismiss.js +13 -0
- package/dist/radio-group/RadioGroup.vue.d.ts +22 -0
- package/dist/radio-group/RadioGroup.vue.js +45 -0
- package/dist/radio-group/RadioGroupItem.vue.d.ts +22 -0
- package/dist/radio-group/RadioGroupItem.vue.js +42 -0
- package/dist/search-input/AsyncSearchInput.vue.d.ts +27 -0
- package/dist/search-input/AsyncSearchInput.vue.js +104 -0
- package/dist/search-input/SearchAutocomplete.vue.d.ts +53 -0
- package/dist/search-input/SearchAutocomplete.vue.js +234 -0
- package/dist/search-input/SearchInput.vue.d.ts +46 -0
- package/dist/search-input/SearchInput.vue.js +127 -0
- package/dist/search-input/searchInput.variants.d.ts +45 -0
- package/dist/select/DropdownControl.vue.d.ts +16 -0
- package/dist/select/DropdownControl.vue.js +48 -0
- package/dist/select/Select.vue.d.ts +21 -0
- package/dist/select/Select.vue.js +2 -0
- package/dist/select/SelectContent.vue.d.ts +29 -0
- package/dist/select/SelectContent.vue.js +2 -0
- package/dist/select/SelectItem.vue.d.ts +18 -0
- package/dist/select/SelectItem.vue.js +2 -0
- package/dist/select/SelectScrollDownButton.vue.d.ts +18 -0
- package/dist/select/SelectScrollDownButton.vue.js +2 -0
- package/dist/select/SelectScrollUpButton.vue.d.ts +18 -0
- package/dist/select/SelectScrollUpButton.vue.js +2 -0
- package/dist/select/SelectTrigger.vue.d.ts +22 -0
- package/dist/select/SelectTrigger.vue.js +2 -0
- package/dist/select/SelectValue.vue.d.ts +14 -0
- package/dist/select/SelectValue.vue.js +2 -0
- package/dist/select/types.d.ts +4 -0
- package/dist/select/types.js +0 -0
- package/dist/select/useSelectSearch.d.ts +3 -0
- package/dist/select/useSelectSearch.js +15 -0
- package/dist/shared/Badge-D3uWa3yk.js +92 -0
- package/dist/shared/Button-CilmsOkY.js +141 -0
- package/dist/shared/Card-l7baUdn0.js +34 -0
- package/dist/shared/CardFooter-BM6EmVi7.js +21 -0
- package/dist/shared/CardHeader-B5To28Jp.js +21 -0
- package/dist/shared/ContextMenuContent-CNQHJQ81.js +64 -0
- package/dist/shared/DialogTitle-CfkkTGuU.js +43 -0
- package/dist/shared/Input-39RLwDr2.js +38 -0
- package/dist/shared/InputGroup-kjQKkhyB.js +25 -0
- package/dist/shared/InputGroupAddon-DLDRT0CQ.js +38 -0
- package/dist/shared/InputGroupButton-BoEp2apg.js +41 -0
- package/dist/shared/InputGroupInput-E2MlEVUU.js +32 -0
- package/dist/shared/Label-Cx_lFofI.js +36 -0
- package/dist/shared/MenuAction-BdghJ23k.js +124 -0
- package/dist/shared/MenuContent-ChqlM3xA.js +80 -0
- package/dist/shared/MenuItemContent--dPNoBmU.js +69 -0
- package/dist/shared/MenuItems-BJKetPV-.js +69 -0
- package/dist/shared/MenuRadioGroup-Bpjt9sHI.js +65 -0
- package/dist/shared/MenuRadioItem-h7hh_RGU.js +36 -0
- package/dist/shared/MenuSeparator-Dm6CkPqB.js +28 -0
- package/dist/shared/MenuSub-Dbnj2w-X.js +23 -0
- package/dist/shared/MenuSubContent-M-g3fllh.js +69 -0
- package/dist/shared/MenuSubTrigger-D6-3s2NL.js +35 -0
- package/dist/shared/MenuSubmenu-QHWMyfKF.js +43 -0
- package/dist/shared/MultiSelectContent-c1D5avjh.js +162 -0
- package/dist/shared/MultiSelectTrigger-lmuXqETa.js +52 -0
- package/dist/shared/OverlayIcon-DntJI-mm.js +45 -0
- package/dist/shared/SearchableSingleSelect-Dnti1kqJ.js +184 -0
- package/dist/shared/Select-CP3OZjtL.js +33 -0
- package/dist/shared/SelectContent-C8aNlcFf.js +91 -0
- package/dist/shared/SelectItem-tU4CIa5J.js +42 -0
- package/dist/shared/SelectScrollDownButton-Dvig5MVc.js +30 -0
- package/dist/shared/SelectScrollUpButton-lv-npT6v.js +30 -0
- package/dist/shared/SelectTrigger-CCDiZW91.js +47 -0
- package/dist/shared/SelectValue-DFZFSiQp.js +23 -0
- package/dist/shared/Switch-DsCzHpDU.js +63 -0
- package/dist/shared/TableHead-OxGist4m.js +24 -0
- package/dist/shared/TagRemoveButton-BiCdscIC.js +38 -0
- package/dist/shared/TextTooltip-ClHQl84h.js +29 -0
- package/dist/shared/Tooltip-DbXyHv20.js +34 -0
- package/dist/shared/TooltipContent-Bju-U7gc.js +91 -0
- package/dist/shared/TooltipTrigger-CVwISmWo.js +65 -0
- package/dist/shared/_plugin-vue_export-helper-BOaGB7Aw.js +8 -0
- package/dist/shared/searchInput.variants-NOge_52E.js +47 -0
- package/dist/shared/select.variants-BPn5Z7N1.js +40 -0
- package/dist/shared/src-CnJ6AzLP.js +12 -0
- package/dist/shared/tabKeys-BISOrxWu.js +4 -0
- package/dist/shared/tabs.variants-XUREdHry.js +23 -0
- package/dist/shared/tag.variants-CCqCn8Jc.js +34 -0
- package/dist/shared/tagsInputContext-QXu7RrG5.js +5 -0
- package/dist/shared/toggleGroup.variants-CvjZDHMw.js +39 -0
- package/dist/shared/tooltipContext-BL5JtM0i.js +4 -0
- package/dist/single-select/SearchableSingleSelect.vue.d.ts +39 -0
- package/dist/single-select/SearchableSingleSelect.vue.js +2 -0
- package/dist/single-select/SingleSelect.vue.d.ts +38 -0
- package/dist/single-select/SingleSelect.vue.js +187 -0
- package/dist/single-select/types.d.ts +25 -0
- package/dist/single-select/types.js +0 -0
- package/dist/skeleton/Skeleton.vue.d.ts +7 -0
- package/dist/skeleton/Skeleton.vue.js +24 -0
- package/dist/slider/Slider.vue.d.ts +16 -0
- package/dist/slider/Slider.vue.js +88 -0
- package/dist/spinner/Spinner.vue.d.ts +7 -0
- package/dist/spinner/Spinner.vue.js +41 -0
- package/dist/splitter/SplitterGroup.vue.d.ts +23 -0
- package/dist/splitter/SplitterGroup.vue.js +40 -0
- package/dist/splitter/SplitterPanel.vue.d.ts +26 -0
- package/dist/splitter/SplitterPanel.vue.js +45 -0
- package/dist/splitter/SplitterResizeHandle.vue.d.ts +22 -0
- package/dist/splitter/SplitterResizeHandle.vue.js +37 -0
- package/dist/switch/Switch.vue.d.ts +17 -0
- package/dist/switch/Switch.vue.js +2 -0
- package/dist/tab/Tab.vue.d.ts +24 -0
- package/dist/tab/Tab.vue.js +76 -0
- package/dist/tab/TabList.vue.d.ts +26 -0
- package/dist/tab/TabList.vue.js +31 -0
- package/dist/tab/TabPanel.vue.d.ts +23 -0
- package/dist/tab/TabPanel.vue.js +28 -0
- package/dist/tab/tab.variants.d.ts +9 -0
- package/dist/tab/tabKeys.d.ts +7 -0
- package/dist/table/Table.vue.d.ts +17 -0
- package/dist/table/Table.vue.js +23 -0
- package/dist/table/TableBody.vue.d.ts +17 -0
- package/dist/table/TableBody.vue.js +21 -0
- package/dist/table/TableCell.vue.d.ts +17 -0
- package/dist/table/TableCell.vue.js +21 -0
- package/dist/table/TableHead.vue.d.ts +17 -0
- package/dist/table/TableHead.vue.js +2 -0
- package/dist/table/TableHeader.vue.d.ts +17 -0
- package/dist/table/TableHeader.vue.js +21 -0
- package/dist/table/TableRow.vue.d.ts +17 -0
- package/dist/table/TableRow.vue.js +21 -0
- package/dist/table/TableSortHead.vue.d.ts +26 -0
- package/dist/table/TableSortHead.vue.js +47 -0
- package/dist/table/tableUtils.d.ts +3 -0
- package/dist/table/tableUtils.js +19 -0
- package/dist/tabs/Tabs.vue.d.ts +22 -0
- package/dist/tabs/Tabs.vue.js +43 -0
- package/dist/tabs/TabsContent.vue.d.ts +18 -0
- package/dist/tabs/TabsContent.vue.js +37 -0
- package/dist/tabs/TabsList.vue.d.ts +20 -0
- package/dist/tabs/TabsList.vue.js +38 -0
- package/dist/tabs/TabsTrigger.vue.d.ts +20 -0
- package/dist/tabs/TabsTrigger.vue.js +39 -0
- package/dist/tabs/tabs.variants.d.ts +21 -0
- package/dist/tags-input/TagsInput.vue.d.ts +32 -0
- package/dist/tags-input/TagsInput.vue.js +98 -0
- package/dist/tags-input/TagsInputInput.vue.d.ts +9 -0
- package/dist/tags-input/TagsInputInput.vue.js +56 -0
- package/dist/tags-input/TagsInputItem.vue.d.ts +18 -0
- package/dist/tags-input/TagsInputItem.vue.js +34 -0
- package/dist/tags-input/TagsInputItemDelete.vue.d.ts +18 -0
- package/dist/tags-input/TagsInputItemDelete.vue.js +35 -0
- package/dist/tags-input/TagsInputItemText.vue.d.ts +8 -0
- package/dist/tags-input/TagsInputItemText.vue.js +28 -0
- package/dist/tags-input/tagsInputContext.d.ts +4 -0
- package/dist/textarea/Textarea.vue.d.ts +17 -0
- package/dist/textarea/Textarea.vue.js +33 -0
- package/dist/toast/ToastClose.vue.d.ts +8 -0
- package/dist/toast/ToastClose.vue.js +42 -0
- package/dist/toast/ToastDescription.vue.d.ts +18 -0
- package/dist/toast/ToastDescription.vue.js +31 -0
- package/dist/toast/ToastDock.vue.d.ts +13 -0
- package/dist/toast/ToastDock.vue.js +29 -0
- package/dist/toast/ToastPanel.vue.d.ts +30 -0
- package/dist/toast/ToastPanel.vue.js +47 -0
- package/dist/toast/ToastRoot.vue.d.ts +100 -0
- package/dist/toast/ToastRoot.vue.js +55 -0
- package/dist/toast/ToastTitle.vue.d.ts +18 -0
- package/dist/toast/ToastTitle.vue.js +31 -0
- package/dist/toast/ToastViewport.vue.d.ts +9 -0
- package/dist/toast/ToastViewport.vue.js +33 -0
- package/dist/toggle-group/ToggleGroup.vue.d.ts +25 -0
- package/dist/toggle-group/ToggleGroup.vue.js +61 -0
- package/dist/toggle-group/ToggleGroupItem.vue.d.ts +21 -0
- package/dist/toggle-group/ToggleGroupItem.vue.js +45 -0
- package/dist/toggle-group/toggleGroup.variants.d.ts +24 -0
- package/dist/tooltip/TextTooltip.vue.d.ts +20 -0
- package/dist/tooltip/TextTooltip.vue.js +2 -0
- package/dist/tooltip/Tooltip.vue.d.ts +23 -0
- package/dist/tooltip/Tooltip.vue.js +2 -0
- package/dist/tooltip/TooltipContent.vue.d.ts +24 -0
- package/dist/tooltip/TooltipContent.vue.js +2 -0
- package/dist/tooltip/TooltipProvider.vue.d.ts +15 -0
- package/dist/tooltip/TooltipProvider.vue.js +39 -0
- package/dist/tooltip/TooltipTrigger.vue.d.ts +14 -0
- package/dist/tooltip/TooltipTrigger.vue.js +2 -0
- package/dist/tooltip/tooltipConfig.d.ts +5 -0
- package/dist/tooltip/tooltipConfig.js +8 -0
- package/dist/tooltip/tooltipContext.d.ts +2 -0
- package/dist/transition/TransitionCollapse.vue.d.ts +21 -0
- package/dist/transition/TransitionCollapse.vue.js +110 -0
- package/dist/tree/Tree.vue.d.ts +32 -0
- package/dist/tree/Tree.vue.js +55 -0
- package/dist/tree/TreeItem.vue.d.ts +29 -0
- package/dist/tree/TreeItem.vue.js +82 -0
- package/dist/tree/treeStyles.d.ts +4 -0
- package/dist/tree/treeStyles.js +7 -0
- package/dist-types/button.variants.d.ts +16 -0
- package/dist-types/select.variants.d.ts +24 -0
- package/dist-types/tag.variants.d.ts +21 -0
- package/dist-types/workspaceAvatar.d.ts +5 -0
- package/package.json +165 -7
- package/src/button.variants.ts +84 -0
- package/src/css/_deprecated-aliases.css +12 -0
- package/src/css/_legacy-palette.css +33 -0
- package/src/css/_legacy-ui.css +418 -0
- package/src/css/_markdown.css +227 -0
- package/src/css/_mask-editor.css +180 -0
- package/src/css/_palette.css +40 -4
- package/src/css/base.css +0 -6
- package/src/css/iconSizing.test.ts +80 -0
- package/src/css/iconifyDynamicPlugin.ts +15 -6
- package/src/css/icons.test.ts +17 -0
- package/src/css/lucideStrokePlugin.js +5 -6
- package/src/css/style.css +108 -1698
- package/src/icons/README.md +33 -26
- package/src/icons/astroid-filled.svg +3 -0
- package/src/icons/claude.svg +1 -1
- package/src/select.variants.ts +53 -0
- package/src/tag.variants.ts +38 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { StyleValue } from 'vue';
|
|
2
|
+
import { SelectOption } from '@comfyorg/design-system/lib/select/types';
|
|
3
|
+
type __VLS_Props = {
|
|
4
|
+
label?: string;
|
|
5
|
+
accessibleLabel: string;
|
|
6
|
+
searchLabel: string;
|
|
7
|
+
emptyText: string;
|
|
8
|
+
options?: SelectOption<string | number>[];
|
|
9
|
+
size?: 'lg' | 'md';
|
|
10
|
+
invalid?: boolean;
|
|
11
|
+
loading?: boolean;
|
|
12
|
+
disabled?: boolean;
|
|
13
|
+
searchPlaceholder?: string;
|
|
14
|
+
listMaxHeight?: string;
|
|
15
|
+
popoverMinWidth?: string;
|
|
16
|
+
popoverMaxWidth?: string;
|
|
17
|
+
contentStyle?: StyleValue;
|
|
18
|
+
};
|
|
19
|
+
type __VLS_ModelProps = {
|
|
20
|
+
modelValue: string | number | undefined;
|
|
21
|
+
};
|
|
22
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
23
|
+
declare var __VLS_22: {};
|
|
24
|
+
type __VLS_Slots = {} & {
|
|
25
|
+
icon?: (props: typeof __VLS_22) => any;
|
|
26
|
+
};
|
|
27
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
28
|
+
"update:modelValue": (value: string | number | undefined) => any;
|
|
29
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
30
|
+
"onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
|
|
31
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
32
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
33
|
+
declare const _default: typeof __VLS_export;
|
|
34
|
+
export default _default;
|
|
35
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
type __VLS_ModelProps = {
|
|
2
|
+
modelValue: string | number | undefined;
|
|
3
|
+
};
|
|
4
|
+
declare var __VLS_9: {}, __VLS_24: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
icon?: (props: typeof __VLS_9) => any;
|
|
7
|
+
} & {
|
|
8
|
+
icon?: (props: typeof __VLS_24) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import('vue').DefineComponent<(import('./types').SingleSelectBaseProps & {
|
|
11
|
+
searchable?: false;
|
|
12
|
+
searchLabel?: string;
|
|
13
|
+
emptyText?: string;
|
|
14
|
+
} & __VLS_ModelProps) | (import('./types').SingleSelectBaseProps & {
|
|
15
|
+
searchable: boolean;
|
|
16
|
+
searchLabel: string;
|
|
17
|
+
emptyText: string;
|
|
18
|
+
} & __VLS_ModelProps), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
|
+
"update:modelValue": (value: string | number | undefined) => any;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<(import('./types').SingleSelectBaseProps & {
|
|
21
|
+
searchable?: false;
|
|
22
|
+
searchLabel?: string;
|
|
23
|
+
emptyText?: string;
|
|
24
|
+
} & __VLS_ModelProps) | (import('./types').SingleSelectBaseProps & {
|
|
25
|
+
searchable: boolean;
|
|
26
|
+
searchLabel: string;
|
|
27
|
+
emptyText: string;
|
|
28
|
+
} & __VLS_ModelProps)> & Readonly<{
|
|
29
|
+
"onUpdate:modelValue"?: ((value: string | number | undefined) => any) | undefined;
|
|
30
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
31
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
32
|
+
declare const _default: typeof __VLS_export;
|
|
33
|
+
export default _default;
|
|
34
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
35
|
+
new (): {
|
|
36
|
+
$slots: S;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
import { t as cn } from "../shared/src-CnJ6AzLP.js";
|
|
2
|
+
import { a as selectItemVariants, o as selectTriggerVariants, r as selectDropdownClass, s as stopEscapeToDocument, t as selectContentClass } from "../shared/select.variants-BPn5Z7N1.js";
|
|
3
|
+
import { useAttrsClass } from "../composables/useAttrsClass.js";
|
|
4
|
+
import { usePopoverSizing } from "../composables/usePopoverSizing.js";
|
|
5
|
+
import { t as SearchableSingleSelect_default } from "../shared/SearchableSingleSelect-Dnti1kqJ.js";
|
|
6
|
+
import { Fragment, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useModel, withCtx } from "vue";
|
|
7
|
+
import { SelectContent, SelectItem, SelectItemIndicator, SelectItemText, SelectPortal, SelectRoot, SelectTrigger, SelectValue, SelectViewport } from "reka-ui";
|
|
8
|
+
//#region src/components/single-select/SingleSelect.vue?vue&type=script&setup=true&lang.ts
|
|
9
|
+
var _hoisted_1 = {
|
|
10
|
+
key: 0,
|
|
11
|
+
class: "icon-[lucide--loader-circle] animate-spin text-muted-foreground"
|
|
12
|
+
};
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region src/components/single-select/SingleSelect.vue
|
|
15
|
+
var SingleSelect_default = /* @__PURE__ */ defineComponent({
|
|
16
|
+
inheritAttrs: false,
|
|
17
|
+
__name: "SingleSelect",
|
|
18
|
+
props: /*@__PURE__*/ mergeModels({
|
|
19
|
+
label: {},
|
|
20
|
+
accessibleLabel: {},
|
|
21
|
+
options: { default: () => [] },
|
|
22
|
+
size: { default: "lg" },
|
|
23
|
+
invalid: {
|
|
24
|
+
type: Boolean,
|
|
25
|
+
default: false
|
|
26
|
+
},
|
|
27
|
+
loading: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: false
|
|
30
|
+
},
|
|
31
|
+
disabled: {
|
|
32
|
+
type: Boolean,
|
|
33
|
+
default: false
|
|
34
|
+
},
|
|
35
|
+
searchPlaceholder: {},
|
|
36
|
+
listMaxHeight: { default: "28rem" },
|
|
37
|
+
popoverMinWidth: {},
|
|
38
|
+
popoverMaxWidth: {},
|
|
39
|
+
contentStyle: { type: [
|
|
40
|
+
Boolean,
|
|
41
|
+
null,
|
|
42
|
+
String,
|
|
43
|
+
Object,
|
|
44
|
+
Array
|
|
45
|
+
] },
|
|
46
|
+
searchable: {
|
|
47
|
+
type: Boolean,
|
|
48
|
+
default: false
|
|
49
|
+
},
|
|
50
|
+
searchLabel: {},
|
|
51
|
+
emptyText: {}
|
|
52
|
+
}, {
|
|
53
|
+
"modelValue": { required: true },
|
|
54
|
+
"modelModifiers": {}
|
|
55
|
+
}),
|
|
56
|
+
emits: ["update:modelValue"],
|
|
57
|
+
setup(__props) {
|
|
58
|
+
const { attrsClass, attrsWithoutClass } = useAttrsClass();
|
|
59
|
+
const selectedItem = useModel(__props, "modelValue");
|
|
60
|
+
const isOpen = ref(false);
|
|
61
|
+
function onContentKeydown(event) {
|
|
62
|
+
if (event.key === "Escape") {
|
|
63
|
+
stopEscapeToDocument(event);
|
|
64
|
+
isOpen.value = false;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
const optionStyle = usePopoverSizing({
|
|
68
|
+
minWidth: __props.popoverMinWidth,
|
|
69
|
+
maxWidth: __props.popoverMaxWidth
|
|
70
|
+
});
|
|
71
|
+
return (_ctx, _cache) => {
|
|
72
|
+
return __props.searchable && __props.searchLabel !== void 0 && __props.emptyText !== void 0 ? (openBlock(), createBlock(SearchableSingleSelect_default, mergeProps({
|
|
73
|
+
key: 0,
|
|
74
|
+
modelValue: selectedItem.value,
|
|
75
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedItem.value = $event)
|
|
76
|
+
}, unref(attrsWithoutClass), {
|
|
77
|
+
class: unref(attrsClass),
|
|
78
|
+
label: __props.label,
|
|
79
|
+
"accessible-label": __props.accessibleLabel,
|
|
80
|
+
"search-label": __props.searchLabel,
|
|
81
|
+
"empty-text": __props.emptyText,
|
|
82
|
+
options: __props.options,
|
|
83
|
+
size: __props.size,
|
|
84
|
+
invalid: __props.invalid,
|
|
85
|
+
loading: __props.loading,
|
|
86
|
+
disabled: __props.disabled,
|
|
87
|
+
"search-placeholder": __props.searchPlaceholder,
|
|
88
|
+
"list-max-height": __props.listMaxHeight,
|
|
89
|
+
"popover-min-width": __props.popoverMinWidth,
|
|
90
|
+
"popover-max-width": __props.popoverMaxWidth,
|
|
91
|
+
"content-style": __props.contentStyle
|
|
92
|
+
}), {
|
|
93
|
+
icon: withCtx(() => [renderSlot(_ctx.$slots, "icon")]),
|
|
94
|
+
_: 3
|
|
95
|
+
}, 16, [
|
|
96
|
+
"modelValue",
|
|
97
|
+
"class",
|
|
98
|
+
"label",
|
|
99
|
+
"accessible-label",
|
|
100
|
+
"search-label",
|
|
101
|
+
"empty-text",
|
|
102
|
+
"options",
|
|
103
|
+
"size",
|
|
104
|
+
"invalid",
|
|
105
|
+
"loading",
|
|
106
|
+
"disabled",
|
|
107
|
+
"search-placeholder",
|
|
108
|
+
"list-max-height",
|
|
109
|
+
"popover-min-width",
|
|
110
|
+
"popover-max-width",
|
|
111
|
+
"content-style"
|
|
112
|
+
])) : (openBlock(), createBlock(unref(SelectRoot), {
|
|
113
|
+
key: 1,
|
|
114
|
+
modelValue: selectedItem.value,
|
|
115
|
+
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => selectedItem.value = $event),
|
|
116
|
+
open: isOpen.value,
|
|
117
|
+
"onUpdate:open": _cache[2] || (_cache[2] = ($event) => isOpen.value = $event),
|
|
118
|
+
disabled: __props.disabled
|
|
119
|
+
}, {
|
|
120
|
+
default: withCtx(() => [createVNode(unref(SelectTrigger), mergeProps(unref(attrsWithoutClass), {
|
|
121
|
+
"aria-label": __props.accessibleLabel,
|
|
122
|
+
"aria-busy": __props.loading || void 0,
|
|
123
|
+
"aria-invalid": __props.invalid || void 0,
|
|
124
|
+
class: unref(cn)(unref(selectTriggerVariants)({
|
|
125
|
+
size: __props.size,
|
|
126
|
+
border: __props.invalid ? "invalid" : "none"
|
|
127
|
+
}), unref(attrsClass))
|
|
128
|
+
}), {
|
|
129
|
+
default: withCtx(() => [createElementVNode("div", { class: normalizeClass(unref(cn)("flex flex-1 items-center gap-2 overflow-hidden py-2 pl-2", __props.size === "md" ? "text-xs" : "text-sm")) }, [__props.loading ? (openBlock(), createElementBlock("i", _hoisted_1)) : renderSlot(_ctx.$slots, "icon", {}, void 0, void 0, 1), createVNode(unref(SelectValue), {
|
|
130
|
+
placeholder: __props.label,
|
|
131
|
+
class: "truncate"
|
|
132
|
+
}, null, 8, ["placeholder"])], 2), createElementVNode("div", { class: normalizeClass(unref(selectDropdownClass)) }, [..._cache[3] || (_cache[3] = [createElementVNode("i", { class: "icon-[lucide--chevron-down] text-muted-foreground" }, null, -1)])], 2)]),
|
|
133
|
+
_: 3
|
|
134
|
+
}, 16, [
|
|
135
|
+
"aria-label",
|
|
136
|
+
"aria-busy",
|
|
137
|
+
"aria-invalid",
|
|
138
|
+
"class"
|
|
139
|
+
]), createVNode(unref(SelectPortal), null, {
|
|
140
|
+
default: withCtx(() => [createVNode(unref(SelectContent), {
|
|
141
|
+
position: "popper",
|
|
142
|
+
"side-offset": 8,
|
|
143
|
+
align: "start",
|
|
144
|
+
style: normalizeStyle([unref(optionStyle), __props.contentStyle]),
|
|
145
|
+
class: normalizeClass(unref(cn)(unref(selectContentClass), "min-w-(--reka-select-trigger-width)")),
|
|
146
|
+
onKeydown: onContentKeydown
|
|
147
|
+
}, {
|
|
148
|
+
default: withCtx(() => [createVNode(unref(SelectViewport), {
|
|
149
|
+
style: normalizeStyle({ maxHeight: `min(${__props.listMaxHeight}, 50vh)` }),
|
|
150
|
+
class: "scrollbar-custom w-full"
|
|
151
|
+
}, {
|
|
152
|
+
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.options, (opt) => {
|
|
153
|
+
return openBlock(), createBlock(unref(SelectItem), {
|
|
154
|
+
key: opt.value,
|
|
155
|
+
value: opt.value,
|
|
156
|
+
class: normalizeClass(unref(selectItemVariants)({ layout: "single" }))
|
|
157
|
+
}, {
|
|
158
|
+
default: withCtx(() => [createVNode(unref(SelectItemText), { class: "truncate" }, {
|
|
159
|
+
default: withCtx(() => [createTextVNode(toDisplayString(opt.name), 1)]),
|
|
160
|
+
_: 2
|
|
161
|
+
}, 1024), createVNode(unref(SelectItemIndicator), { class: "flex shrink-0 items-center justify-center" }, {
|
|
162
|
+
default: withCtx(() => [..._cache[4] || (_cache[4] = [createElementVNode("i", {
|
|
163
|
+
class: "icon-[lucide--check] text-foreground",
|
|
164
|
+
"aria-hidden": "true"
|
|
165
|
+
}, null, -1)])]),
|
|
166
|
+
_: 1
|
|
167
|
+
})]),
|
|
168
|
+
_: 2
|
|
169
|
+
}, 1032, ["value", "class"]);
|
|
170
|
+
}), 128))]),
|
|
171
|
+
_: 1
|
|
172
|
+
}, 8, ["style"])]),
|
|
173
|
+
_: 1
|
|
174
|
+
}, 8, ["style", "class"])]),
|
|
175
|
+
_: 1
|
|
176
|
+
})]),
|
|
177
|
+
_: 3
|
|
178
|
+
}, 8, [
|
|
179
|
+
"modelValue",
|
|
180
|
+
"open",
|
|
181
|
+
"disabled"
|
|
182
|
+
]));
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
});
|
|
186
|
+
//#endregion
|
|
187
|
+
export { SingleSelect_default as default };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { StyleValue } from 'vue';
|
|
2
|
+
import { SelectOption } from '@comfyorg/design-system/lib/select/types';
|
|
3
|
+
export type SingleSelectProps = SingleSelectBaseProps & ({
|
|
4
|
+
searchable?: false;
|
|
5
|
+
searchLabel?: string;
|
|
6
|
+
emptyText?: string;
|
|
7
|
+
} | {
|
|
8
|
+
searchable: boolean;
|
|
9
|
+
searchLabel: string;
|
|
10
|
+
emptyText: string;
|
|
11
|
+
});
|
|
12
|
+
export interface SingleSelectBaseProps {
|
|
13
|
+
label?: string;
|
|
14
|
+
accessibleLabel: string;
|
|
15
|
+
options?: SelectOption<string | number>[];
|
|
16
|
+
size?: 'lg' | 'md';
|
|
17
|
+
invalid?: boolean;
|
|
18
|
+
loading?: boolean;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
searchPlaceholder?: string;
|
|
21
|
+
listMaxHeight?: string;
|
|
22
|
+
popoverMinWidth?: string;
|
|
23
|
+
popoverMaxWidth?: string;
|
|
24
|
+
contentStyle?: StyleValue;
|
|
25
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
class?: HTMLAttributes['class'];
|
|
4
|
+
};
|
|
5
|
+
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>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { t as cn } from "../shared/src-CnJ6AzLP.js";
|
|
2
|
+
import { createElementBlock, defineComponent, normalizeClass, openBlock, unref } from "vue";
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region src/components/skeleton/Skeleton.vue
|
|
5
|
+
var Skeleton_default = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "Skeleton",
|
|
7
|
+
props: { class: { type: [
|
|
8
|
+
Boolean,
|
|
9
|
+
null,
|
|
10
|
+
String,
|
|
11
|
+
Object,
|
|
12
|
+
Array
|
|
13
|
+
] } },
|
|
14
|
+
setup(__props) {
|
|
15
|
+
return (_ctx, _cache) => {
|
|
16
|
+
return openBlock(), createElementBlock("div", {
|
|
17
|
+
"data-slot": "skeleton",
|
|
18
|
+
class: normalizeClass(unref(cn)("animate-pulse rounded-md bg-secondary", __props.class))
|
|
19
|
+
}, null, 2);
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
//#endregion
|
|
24
|
+
export { Skeleton_default as default };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SliderRootProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = SliderRootProps & {
|
|
4
|
+
class?: HTMLAttributes['class'];
|
|
5
|
+
rangeClass?: HTMLAttributes['class'];
|
|
6
|
+
thumbClass?: HTMLAttributes['class'];
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
"update:modelValue": (payload: number[] | undefined) => any;
|
|
10
|
+
valueCommit: (payload: number[]) => any;
|
|
11
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
12
|
+
"onUpdate:modelValue"?: ((payload: number[] | undefined) => any) | undefined;
|
|
13
|
+
onValueCommit?: ((payload: number[]) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const _default: typeof __VLS_export;
|
|
16
|
+
export default _default;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import { t as cn } from "../shared/src-CnJ6AzLP.js";
|
|
2
|
+
import { Fragment, createBlock, createElementBlock, createVNode, defineComponent, mergeProps, normalizeClass, openBlock, ref, renderList, unref, withCtx } from "vue";
|
|
3
|
+
import { SliderRange, SliderRoot, SliderThumb, SliderTrack, useForwardPropsEmits } from "reka-ui";
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/components/slider/Slider.vue
|
|
7
|
+
var Slider_default = /* @__PURE__ */ defineComponent({
|
|
8
|
+
__name: "Slider",
|
|
9
|
+
props: {
|
|
10
|
+
defaultValue: {},
|
|
11
|
+
modelValue: {},
|
|
12
|
+
disabled: { type: Boolean },
|
|
13
|
+
orientation: {},
|
|
14
|
+
dir: {},
|
|
15
|
+
inverted: { type: Boolean },
|
|
16
|
+
min: {},
|
|
17
|
+
max: {},
|
|
18
|
+
step: {},
|
|
19
|
+
minStepsBetweenThumbs: {},
|
|
20
|
+
thumbAlignment: {},
|
|
21
|
+
asChild: { type: Boolean },
|
|
22
|
+
as: {},
|
|
23
|
+
name: {},
|
|
24
|
+
required: { type: Boolean },
|
|
25
|
+
class: { type: [
|
|
26
|
+
Boolean,
|
|
27
|
+
null,
|
|
28
|
+
String,
|
|
29
|
+
Object,
|
|
30
|
+
Array
|
|
31
|
+
] },
|
|
32
|
+
rangeClass: { type: [
|
|
33
|
+
Boolean,
|
|
34
|
+
null,
|
|
35
|
+
String,
|
|
36
|
+
Object,
|
|
37
|
+
Array
|
|
38
|
+
] },
|
|
39
|
+
thumbClass: { type: [
|
|
40
|
+
Boolean,
|
|
41
|
+
null,
|
|
42
|
+
String,
|
|
43
|
+
Object,
|
|
44
|
+
Array
|
|
45
|
+
] }
|
|
46
|
+
},
|
|
47
|
+
emits: ["update:modelValue", "valueCommit"],
|
|
48
|
+
setup(__props, { emit: __emit }) {
|
|
49
|
+
const props = __props;
|
|
50
|
+
const pressed = ref(false);
|
|
51
|
+
const setPressed = (val) => {
|
|
52
|
+
pressed.value = val;
|
|
53
|
+
};
|
|
54
|
+
const emits = __emit;
|
|
55
|
+
const delegatedProps = reactiveOmit(props, "class", "rangeClass", "thumbClass");
|
|
56
|
+
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
57
|
+
return (_ctx, _cache) => {
|
|
58
|
+
return openBlock(), createBlock(unref(SliderRoot), mergeProps({
|
|
59
|
+
"data-slot": "slider",
|
|
60
|
+
class: unref(cn)("relative flex w-full touch-none items-center select-none data-disabled:opacity-50", "data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col", props.class)
|
|
61
|
+
}, unref(forwarded), {
|
|
62
|
+
onSlideStart: _cache[0] || (_cache[0] = () => setPressed(true)),
|
|
63
|
+
onSlideMove: _cache[1] || (_cache[1] = () => setPressed(true)),
|
|
64
|
+
onSlideEnd: _cache[2] || (_cache[2] = () => setPressed(false))
|
|
65
|
+
}), {
|
|
66
|
+
default: withCtx(({ modelValue }) => [createVNode(unref(SliderTrack), {
|
|
67
|
+
"data-slot": "slider-track",
|
|
68
|
+
class: normalizeClass(unref(cn)("relative grow overflow-hidden rounded-full bg-muted-foreground/20", "cursor-pointer overflow-visible", `before:absolute before:-inset-2 before:block before:bg-transparent`, "data-[orientation=horizontal]:h-0.5 data-[orientation=horizontal]:w-full", "data-[orientation=vertical]:h-full data-[orientation=vertical]:w-0.5"))
|
|
69
|
+
}, {
|
|
70
|
+
default: withCtx(() => [createVNode(unref(SliderRange), {
|
|
71
|
+
"data-slot": "slider-range",
|
|
72
|
+
class: normalizeClass(unref(cn)("absolute bg-muted-foreground data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full", props.rangeClass))
|
|
73
|
+
}, null, 8, ["class"])]),
|
|
74
|
+
_: 1
|
|
75
|
+
}, 8, ["class"]), (openBlock(true), createElementBlock(Fragment, null, renderList(modelValue, (_, key) => {
|
|
76
|
+
return openBlock(), createBlock(unref(SliderThumb), {
|
|
77
|
+
key,
|
|
78
|
+
"data-slot": "slider-thumb",
|
|
79
|
+
class: normalizeClass(unref(cn)("block size-3.5 shrink-0 rounded-full bg-muted-foreground shadow-sm ring-foreground transition-[color,box-shadow]", "cursor-grab", "before:absolute before:-inset-1 before:block before:rounded-full before:bg-transparent", "hover:ring-2 focus-visible:ring-2 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50", { "cursor-grabbing": pressed.value }, props.thumbClass))
|
|
80
|
+
}, null, 8, ["class"]);
|
|
81
|
+
}), 128))]),
|
|
82
|
+
_: 1
|
|
83
|
+
}, 16, ["class"]);
|
|
84
|
+
};
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
//#endregion
|
|
88
|
+
export { Slider_default as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
class?: HTMLAttributes['class'];
|
|
4
|
+
};
|
|
5
|
+
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>;
|
|
6
|
+
declare const _default: typeof __VLS_export;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { t as cn } from "../shared/src-CnJ6AzLP.js";
|
|
2
|
+
import { createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock, unref } from "vue";
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region src/components/spinner/Spinner.vue
|
|
5
|
+
var Spinner_default = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "Spinner",
|
|
7
|
+
props: { class: {
|
|
8
|
+
type: [
|
|
9
|
+
Boolean,
|
|
10
|
+
null,
|
|
11
|
+
String,
|
|
12
|
+
Object,
|
|
13
|
+
Array
|
|
14
|
+
],
|
|
15
|
+
default: ""
|
|
16
|
+
} },
|
|
17
|
+
setup(__props) {
|
|
18
|
+
return (_ctx, _cache) => {
|
|
19
|
+
return openBlock(), createElementBlock("svg", {
|
|
20
|
+
role: "progressbar",
|
|
21
|
+
class: normalizeClass(unref(cn)("size-6 animate-spin text-muted-foreground", __props.class)),
|
|
22
|
+
viewBox: "0 0 24 24",
|
|
23
|
+
fill: "none",
|
|
24
|
+
xmlns: "http://www.w3.org/2000/svg"
|
|
25
|
+
}, [..._cache[0] || (_cache[0] = [createElementVNode("circle", {
|
|
26
|
+
class: "opacity-25",
|
|
27
|
+
cx: "12",
|
|
28
|
+
cy: "12",
|
|
29
|
+
r: "10",
|
|
30
|
+
stroke: "currentColor",
|
|
31
|
+
"stroke-width": "4"
|
|
32
|
+
}, null, -1), createElementVNode("path", {
|
|
33
|
+
class: "opacity-75",
|
|
34
|
+
fill: "currentColor",
|
|
35
|
+
d: "M4 12a8 8 0 0 1 8-8v4a4 4 0 0 0-4 4H4Z"
|
|
36
|
+
}, null, -1)])], 2);
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
export { Spinner_default as default };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { SplitterGroupProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = Omit<SplitterGroupProps, 'direction'> & {
|
|
4
|
+
direction?: SplitterGroupProps['direction'];
|
|
5
|
+
class?: HTMLAttributes['class'];
|
|
6
|
+
};
|
|
7
|
+
declare var __VLS_8: {};
|
|
8
|
+
type __VLS_Slots = {} & {
|
|
9
|
+
default?: (props: typeof __VLS_8) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
|
+
layout: (val: number[]) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
onLayout?: ((val: number[]) => any) | undefined;
|
|
15
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { t as cn } from "../shared/src-CnJ6AzLP.js";
|
|
2
|
+
import { createBlock, createPropsRestProxy, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
3
|
+
import { SplitterGroup, useForwardPropsEmits } from "reka-ui";
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region src/components/splitter/SplitterGroup.vue
|
|
6
|
+
var SplitterGroup_default = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "SplitterGroup",
|
|
8
|
+
props: {
|
|
9
|
+
id: {},
|
|
10
|
+
autoSaveId: {},
|
|
11
|
+
keyboardResizeBy: {},
|
|
12
|
+
storage: {},
|
|
13
|
+
asChild: { type: Boolean },
|
|
14
|
+
as: {},
|
|
15
|
+
direction: { default: "horizontal" },
|
|
16
|
+
class: { type: [
|
|
17
|
+
Boolean,
|
|
18
|
+
null,
|
|
19
|
+
String,
|
|
20
|
+
Object,
|
|
21
|
+
Array
|
|
22
|
+
] }
|
|
23
|
+
},
|
|
24
|
+
emits: ["layout"],
|
|
25
|
+
setup(__props, { emit: __emit }) {
|
|
26
|
+
const restProps = createPropsRestProxy(__props, ["direction", "class"]);
|
|
27
|
+
const forwarded = useForwardPropsEmits(restProps, __emit);
|
|
28
|
+
return (_ctx, _cache) => {
|
|
29
|
+
return openBlock(), createBlock(unref(SplitterGroup), mergeProps(unref(forwarded), {
|
|
30
|
+
direction: __props.direction,
|
|
31
|
+
class: unref(cn)("flex size-full", __props.direction === "vertical" && "flex-col", __props.class)
|
|
32
|
+
}), {
|
|
33
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
34
|
+
_: 3
|
|
35
|
+
}, 16, ["direction", "class"]);
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
});
|
|
39
|
+
//#endregion
|
|
40
|
+
export { SplitterGroup_default as default };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { SplitterPanelProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = SplitterPanelProps & {
|
|
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, {
|
|
11
|
+
resize: (size: number, prevSize: number | undefined) => any;
|
|
12
|
+
collapse: () => any;
|
|
13
|
+
expand: () => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onResize?: ((size: number, prevSize: number | undefined) => any) | undefined;
|
|
16
|
+
onCollapse?: (() => any) | undefined;
|
|
17
|
+
onExpand?: (() => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { t as cn } from "../shared/src-CnJ6AzLP.js";
|
|
2
|
+
import { createBlock, createPropsRestProxy, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
3
|
+
import { SplitterPanel, useForwardExpose, useForwardPropsEmits } from "reka-ui";
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region src/components/splitter/SplitterPanel.vue
|
|
6
|
+
var SplitterPanel_default = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "SplitterPanel",
|
|
8
|
+
props: {
|
|
9
|
+
collapsedSize: {},
|
|
10
|
+
collapsible: { type: Boolean },
|
|
11
|
+
defaultSize: {},
|
|
12
|
+
id: {},
|
|
13
|
+
maxSize: {},
|
|
14
|
+
minSize: {},
|
|
15
|
+
order: {},
|
|
16
|
+
sizeUnit: {},
|
|
17
|
+
asChild: { type: Boolean },
|
|
18
|
+
as: {},
|
|
19
|
+
class: { type: [
|
|
20
|
+
Boolean,
|
|
21
|
+
null,
|
|
22
|
+
String,
|
|
23
|
+
Object,
|
|
24
|
+
Array
|
|
25
|
+
] }
|
|
26
|
+
},
|
|
27
|
+
emits: [
|
|
28
|
+
"collapse",
|
|
29
|
+
"expand",
|
|
30
|
+
"resize"
|
|
31
|
+
],
|
|
32
|
+
setup(__props, { emit: __emit }) {
|
|
33
|
+
const restProps = createPropsRestProxy(__props, ["class"]);
|
|
34
|
+
const forwarded = useForwardPropsEmits(restProps, __emit);
|
|
35
|
+
const { forwardRef } = useForwardExpose();
|
|
36
|
+
return (_ctx, _cache) => {
|
|
37
|
+
return openBlock(), createBlock(unref(SplitterPanel), mergeProps({ ref: unref(forwardRef) }, unref(forwarded), { class: unref(cn)("min-h-0 min-w-0", __props.class) }), {
|
|
38
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
39
|
+
_: 3
|
|
40
|
+
}, 16, ["class"]);
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
//#endregion
|
|
45
|
+
export { SplitterPanel_default as default };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { SplitterResizeHandleProps } from 'reka-ui';
|
|
2
|
+
import { HTMLAttributes } from 'vue';
|
|
3
|
+
type __VLS_Props = SplitterResizeHandleProps & {
|
|
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, {
|
|
11
|
+
dragging: (isDragging: boolean) => any;
|
|
12
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
13
|
+
onDragging?: ((isDragging: boolean) => any) | undefined;
|
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
15
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|