@comfyorg/design-system 1.0.1 → 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 -9
- 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 +167 -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 +43 -0
- 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 +109 -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/icons/comfy-cloud.svg +4 -0
- package/src/icons/comfy-logo.svg +2 -2
- package/src/select.variants.ts +53 -0
- package/src/tag.variants.ts +38 -0
- package/src/workspaceAvatar.ts +54 -0
- package/src/icons/credits.svg +0 -3
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { t as cn } from "./src-CnJ6AzLP.js";
|
|
2
|
+
import { t as TextTooltip_default } from "./TextTooltip-ClHQl84h.js";
|
|
3
|
+
import { Fragment, createBlock, createCommentVNode, createElementBlock, createSlots, createVNode, defineComponent, mergeProps, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, unref, withCtx } from "vue";
|
|
4
|
+
import { Primitive } from "reka-ui";
|
|
5
|
+
import { cva } from "cva";
|
|
6
|
+
//#region src/button.variants.ts
|
|
7
|
+
var buttonVariants = cva({
|
|
8
|
+
base: "relative inline-flex cursor-pointer touch-manipulation appearance-none items-center justify-center gap-2 rounded-md border-none font-inter text-sm font-medium whitespace-nowrap transition-colors focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([width]):not([height])]:size-4",
|
|
9
|
+
variants: {
|
|
10
|
+
variant: {
|
|
11
|
+
secondary: "bg-secondary text-foreground hover:bg-accent",
|
|
12
|
+
primary: "bg-primary text-foreground hover:bg-primary/90",
|
|
13
|
+
inverted: "bg-foreground text-background hover:bg-foreground/80",
|
|
14
|
+
destructive: "bg-destructive text-foreground hover:bg-destructive/90",
|
|
15
|
+
textonly: "bg-transparent text-foreground hover:bg-accent",
|
|
16
|
+
"muted-textonly": "bg-transparent text-muted-foreground hover:bg-accent",
|
|
17
|
+
"destructive-textonly": "bg-transparent text-destructive hover:bg-destructive/10",
|
|
18
|
+
outline: "border border-solid bg-transparent text-foreground hover:bg-accent",
|
|
19
|
+
link: "bg-transparent text-muted-foreground hover:text-foreground",
|
|
20
|
+
"overlay-white": "bg-white text-gray-600 hover:bg-white/90",
|
|
21
|
+
base: "bg-background text-foreground hover:bg-accent",
|
|
22
|
+
tertiary: "bg-muted text-foreground hover:bg-muted/80",
|
|
23
|
+
subscribe: "border-transparent bg-credit text-charcoal-800 hover:opacity-80",
|
|
24
|
+
"brand-ghost": "bg-white/8 text-primary-warm-white hover:bg-white/20 focus-visible:ring-2 focus-visible:ring-brand-yellow",
|
|
25
|
+
"brand-solid": "bg-brand-yellow text-primary-comfy-ink hover:bg-brand-yellow/90 focus-visible:ring-2 focus-visible:ring-primary-warm-white",
|
|
26
|
+
"brand-ghost-accent": "bg-white/8 text-primary-warm-white hover:bg-brand-yellow hover:text-primary-comfy-ink focus-visible:ring-2 focus-visible:ring-brand-yellow"
|
|
27
|
+
},
|
|
28
|
+
size: {
|
|
29
|
+
sm: "h-6 rounded-sm px-2 py-1 text-xs",
|
|
30
|
+
md: "h-8 rounded-lg p-2 text-xs",
|
|
31
|
+
lg: "h-10 rounded-lg px-4 py-2 text-sm",
|
|
32
|
+
"icon-sm": "size-5 p-0",
|
|
33
|
+
icon: "size-8 rounded-lg",
|
|
34
|
+
"icon-lg": "size-10 rounded-lg",
|
|
35
|
+
link: "gap-1 px-0 py-2 text-sm/5 font-normal hover:underline",
|
|
36
|
+
brand: "h-12 rounded-2xl px-5 font-formula text-sm font-semibold tracking-[0.7px] uppercase lg:h-13 xl:h-14 2xl:h-16",
|
|
37
|
+
"brand-icon": "size-10 rounded-2xl xl:size-12",
|
|
38
|
+
unset: ""
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
defaultVariants: {
|
|
42
|
+
variant: "secondary",
|
|
43
|
+
size: "md"
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
//#endregion
|
|
47
|
+
//#region src/components/button/Button.vue?vue&type=script&setup=true&lang.ts
|
|
48
|
+
var _hoisted_1 = {
|
|
49
|
+
key: 0,
|
|
50
|
+
class: "icon-[lucide--loader-circle] animate-spin",
|
|
51
|
+
"aria-hidden": "true"
|
|
52
|
+
};
|
|
53
|
+
var _hoisted_2 = {
|
|
54
|
+
key: 1,
|
|
55
|
+
class: "sr-only"
|
|
56
|
+
};
|
|
57
|
+
var _hoisted_3 = {
|
|
58
|
+
key: 3,
|
|
59
|
+
"aria-hidden": "true",
|
|
60
|
+
class: "pointer-events-none absolute -top-1 -right-1 size-2 rounded-full bg-foreground"
|
|
61
|
+
};
|
|
62
|
+
//#endregion
|
|
63
|
+
//#region src/components/button/Button.vue
|
|
64
|
+
var Button_default = /* @__PURE__ */ defineComponent({
|
|
65
|
+
inheritAttrs: false,
|
|
66
|
+
__name: "Button",
|
|
67
|
+
props: {
|
|
68
|
+
class: {
|
|
69
|
+
type: [
|
|
70
|
+
Boolean,
|
|
71
|
+
null,
|
|
72
|
+
String,
|
|
73
|
+
Object,
|
|
74
|
+
Array
|
|
75
|
+
],
|
|
76
|
+
default: ""
|
|
77
|
+
},
|
|
78
|
+
disabled: {
|
|
79
|
+
type: Boolean,
|
|
80
|
+
default: false
|
|
81
|
+
},
|
|
82
|
+
icon: {},
|
|
83
|
+
indicator: { type: Boolean },
|
|
84
|
+
loading: {
|
|
85
|
+
type: Boolean,
|
|
86
|
+
default: false
|
|
87
|
+
},
|
|
88
|
+
size: {},
|
|
89
|
+
tooltip: {},
|
|
90
|
+
tooltipSide: {},
|
|
91
|
+
variant: {},
|
|
92
|
+
asChild: { type: Boolean },
|
|
93
|
+
as: { default: "button" }
|
|
94
|
+
},
|
|
95
|
+
setup(__props) {
|
|
96
|
+
const WithoutTooltip = (_, { slots }) => slots.default?.()[0];
|
|
97
|
+
return (_ctx, _cache) => {
|
|
98
|
+
return openBlock(), createBlock(resolveDynamicComponent(__props.tooltip === void 0 ? WithoutTooltip : unref(TextTooltip_default)), {
|
|
99
|
+
text: __props.tooltip,
|
|
100
|
+
side: __props.tooltipSide
|
|
101
|
+
}, createSlots({
|
|
102
|
+
default: withCtx(() => [createVNode(unref(Primitive), mergeProps({
|
|
103
|
+
as: __props.as,
|
|
104
|
+
"as-child": __props.asChild,
|
|
105
|
+
disabled: __props.disabled || __props.loading,
|
|
106
|
+
"aria-busy": __props.loading || void 0,
|
|
107
|
+
"data-variant": __props.variant,
|
|
108
|
+
class: unref(cn)(unref(buttonVariants)({
|
|
109
|
+
variant: __props.variant,
|
|
110
|
+
size: __props.size
|
|
111
|
+
}), __props.class)
|
|
112
|
+
}, _ctx.$attrs), {
|
|
113
|
+
default: withCtx(() => [
|
|
114
|
+
__props.loading ? (openBlock(), createElementBlock("i", _hoisted_1)) : createCommentVNode("", true),
|
|
115
|
+
__props.loading ? (openBlock(), createElementBlock("span", _hoisted_2, [renderSlot(_ctx.$slots, "default")])) : (openBlock(), createElementBlock(Fragment, { key: 2 }, [__props.icon ? (openBlock(), createElementBlock("i", {
|
|
116
|
+
key: 0,
|
|
117
|
+
class: normalizeClass(__props.icon),
|
|
118
|
+
"aria-hidden": "true"
|
|
119
|
+
}, null, 2)) : createCommentVNode("", true), renderSlot(_ctx.$slots, "default")], 64)),
|
|
120
|
+
__props.indicator ? (openBlock(), createElementBlock("span", _hoisted_3)) : createCommentVNode("", true)
|
|
121
|
+
]),
|
|
122
|
+
_: 3
|
|
123
|
+
}, 16, [
|
|
124
|
+
"as",
|
|
125
|
+
"as-child",
|
|
126
|
+
"disabled",
|
|
127
|
+
"aria-busy",
|
|
128
|
+
"data-variant",
|
|
129
|
+
"class"
|
|
130
|
+
])]),
|
|
131
|
+
_: 2
|
|
132
|
+
}, [_ctx.$slots.tooltip ? {
|
|
133
|
+
name: "content",
|
|
134
|
+
fn: withCtx(() => [renderSlot(_ctx.$slots, "tooltip")]),
|
|
135
|
+
key: "0"
|
|
136
|
+
} : void 0]), 1032, ["text", "side"]);
|
|
137
|
+
};
|
|
138
|
+
}
|
|
139
|
+
});
|
|
140
|
+
//#endregion
|
|
141
|
+
export { Button_default as t };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { t as cn } from "./src-CnJ6AzLP.js";
|
|
2
|
+
import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
3
|
+
import { cva } from "cva";
|
|
4
|
+
//#region src/components/card/card.variants.ts
|
|
5
|
+
var cardVariants = cva({
|
|
6
|
+
base: "border",
|
|
7
|
+
variants: { surface: {
|
|
8
|
+
background: "overflow-hidden rounded-2xl bg-background",
|
|
9
|
+
secondary: "rounded-lg bg-secondary"
|
|
10
|
+
} },
|
|
11
|
+
defaultVariants: { surface: "background" }
|
|
12
|
+
});
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region src/components/card/Card.vue
|
|
15
|
+
var Card_default = /* @__PURE__ */ defineComponent({
|
|
16
|
+
__name: "Card",
|
|
17
|
+
props: {
|
|
18
|
+
class: { type: [
|
|
19
|
+
Boolean,
|
|
20
|
+
null,
|
|
21
|
+
String,
|
|
22
|
+
Object,
|
|
23
|
+
Array
|
|
24
|
+
] },
|
|
25
|
+
surface: {}
|
|
26
|
+
},
|
|
27
|
+
setup(__props) {
|
|
28
|
+
return (_ctx, _cache) => {
|
|
29
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(unref(cn)(unref(cardVariants)({ surface: __props.surface }), __props.class)) }, [renderSlot(_ctx.$slots, "default")], 2);
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
//#endregion
|
|
34
|
+
export { Card_default as t };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { t as cn } from "./src-CnJ6AzLP.js";
|
|
2
|
+
import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region src/components/card/CardFooter.vue
|
|
5
|
+
var CardFooter_default = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "CardFooter",
|
|
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", { class: normalizeClass(unref(cn)("flex items-center justify-end gap-4 p-4", __props.class)) }, [renderSlot(_ctx.$slots, "default")], 2);
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { CardFooter_default as t };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { t as cn } from "./src-CnJ6AzLP.js";
|
|
2
|
+
import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region src/components/card/CardHeader.vue
|
|
5
|
+
var CardHeader_default = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "CardHeader",
|
|
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", { class: normalizeClass(unref(cn)("flex h-12 shrink-0 items-center justify-between gap-2 border-b px-4", __props.class)) }, [renderSlot(_ctx.$slots, "default")], 2);
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
//#endregion
|
|
21
|
+
export { CardHeader_default as t };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { t as cn } from "./src-CnJ6AzLP.js";
|
|
2
|
+
import { menuContentClass } from "../menu/menuStyles.js";
|
|
3
|
+
import { createBlock, createPropsRestProxy, createVNode, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
4
|
+
import { ContextMenuContent, ContextMenuPortal, injectContextMenuRootContext, useForwardPropsEmits } from "reka-ui";
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/components/menu/ContextMenuContent.vue
|
|
7
|
+
var ContextMenuContent_default = /* @__PURE__ */ defineComponent({
|
|
8
|
+
inheritAttrs: false,
|
|
9
|
+
__name: "ContextMenuContent",
|
|
10
|
+
props: {
|
|
11
|
+
forceMount: { type: Boolean },
|
|
12
|
+
loop: { type: Boolean },
|
|
13
|
+
memoDependencies: {},
|
|
14
|
+
sideFlip: { type: Boolean },
|
|
15
|
+
alignOffset: {},
|
|
16
|
+
alignFlip: { type: Boolean },
|
|
17
|
+
avoidCollisions: { type: Boolean },
|
|
18
|
+
collisionBoundary: {},
|
|
19
|
+
collisionPadding: {},
|
|
20
|
+
hideShiftedArrow: { type: Boolean },
|
|
21
|
+
sticky: {},
|
|
22
|
+
hideWhenDetached: { type: Boolean },
|
|
23
|
+
positionStrategy: {},
|
|
24
|
+
disableUpdateOnLayoutShift: { type: Boolean },
|
|
25
|
+
prioritizePosition: { type: Boolean },
|
|
26
|
+
reference: {},
|
|
27
|
+
asChild: { type: Boolean },
|
|
28
|
+
as: {},
|
|
29
|
+
class: { type: [
|
|
30
|
+
Boolean,
|
|
31
|
+
null,
|
|
32
|
+
String,
|
|
33
|
+
Object,
|
|
34
|
+
Array
|
|
35
|
+
] }
|
|
36
|
+
},
|
|
37
|
+
emits: [
|
|
38
|
+
"escapeKeyDown",
|
|
39
|
+
"pointerDownOutside",
|
|
40
|
+
"focusOutside",
|
|
41
|
+
"interactOutside",
|
|
42
|
+
"openAutoFocus",
|
|
43
|
+
"closeAutoFocus"
|
|
44
|
+
],
|
|
45
|
+
setup(__props, { emit: __emit }) {
|
|
46
|
+
const restProps = createPropsRestProxy(__props, ["class"]);
|
|
47
|
+
const forwarded = useForwardPropsEmits(restProps, __emit);
|
|
48
|
+
const rootContext = injectContextMenuRootContext();
|
|
49
|
+
return (_ctx, _cache) => {
|
|
50
|
+
return openBlock(), createBlock(unref(ContextMenuPortal), { key: Number(unref(rootContext).open.value) }, {
|
|
51
|
+
default: withCtx(() => [createVNode(unref(ContextMenuContent), mergeProps({
|
|
52
|
+
...unref(forwarded),
|
|
53
|
+
..._ctx.$attrs
|
|
54
|
+
}, { class: unref(cn)(unref(menuContentClass), __props.class) }), {
|
|
55
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
56
|
+
_: 3
|
|
57
|
+
}, 16, ["class"])]),
|
|
58
|
+
_: 3
|
|
59
|
+
});
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
});
|
|
63
|
+
//#endregion
|
|
64
|
+
export { ContextMenuContent_default as t };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { t as cn } from "./src-CnJ6AzLP.js";
|
|
2
|
+
import { createBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
3
|
+
import { Primitive, injectDialogRootContext } from "reka-ui";
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region src/components/dialog/DialogTitle.vue
|
|
6
|
+
var DialogTitle_default = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "DialogTitle",
|
|
8
|
+
props: {
|
|
9
|
+
asChild: { type: Boolean },
|
|
10
|
+
as: { default: "h2" },
|
|
11
|
+
class: {
|
|
12
|
+
type: [
|
|
13
|
+
Boolean,
|
|
14
|
+
null,
|
|
15
|
+
String,
|
|
16
|
+
Object,
|
|
17
|
+
Array
|
|
18
|
+
],
|
|
19
|
+
default: ""
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
setup(__props) {
|
|
23
|
+
const dialogRoot = injectDialogRootContext(null);
|
|
24
|
+
return (_ctx, _cache) => {
|
|
25
|
+
return openBlock(), createBlock(unref(Primitive), {
|
|
26
|
+
id: unref(dialogRoot)?.titleId,
|
|
27
|
+
as: __props.as,
|
|
28
|
+
"as-child": __props.asChild,
|
|
29
|
+
class: normalizeClass(unref(cn)("min-w-0 text-base font-semibold wrap-break-word text-foreground", __props.class))
|
|
30
|
+
}, {
|
|
31
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
32
|
+
_: 3
|
|
33
|
+
}, 8, [
|
|
34
|
+
"id",
|
|
35
|
+
"as",
|
|
36
|
+
"as-child",
|
|
37
|
+
"class"
|
|
38
|
+
]);
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
//#endregion
|
|
43
|
+
export { DialogTitle_default as t };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { t as cn } from "./src-CnJ6AzLP.js";
|
|
2
|
+
import { createElementBlock, defineComponent, mergeModels, normalizeClass, openBlock, unref, useModel, useTemplateRef, vModelText, withDirectives } from "vue";
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region src/components/input/Input.vue
|
|
5
|
+
var Input_default = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "Input",
|
|
7
|
+
props: /*@__PURE__*/ mergeModels({ class: { type: [
|
|
8
|
+
Boolean,
|
|
9
|
+
null,
|
|
10
|
+
String,
|
|
11
|
+
Object,
|
|
12
|
+
Array
|
|
13
|
+
] } }, {
|
|
14
|
+
"modelValue": {},
|
|
15
|
+
"modelModifiers": {}
|
|
16
|
+
}),
|
|
17
|
+
emits: ["update:modelValue"],
|
|
18
|
+
setup(__props, { expose: __expose }) {
|
|
19
|
+
const modelValue = useModel(__props, "modelValue");
|
|
20
|
+
const inputRef = useTemplateRef("inputEl");
|
|
21
|
+
__expose({
|
|
22
|
+
focus: () => inputRef.value?.focus(),
|
|
23
|
+
select: () => inputRef.value?.select(),
|
|
24
|
+
blur: () => inputRef.value?.blur(),
|
|
25
|
+
setSelectionRange: (start, end) => inputRef.value?.setSelectionRange(start, end),
|
|
26
|
+
selectAll: () => inputRef.value?.setSelectionRange(0, inputRef.value.value.length)
|
|
27
|
+
});
|
|
28
|
+
return (_ctx, _cache) => {
|
|
29
|
+
return withDirectives((openBlock(), createElementBlock("input", {
|
|
30
|
+
ref: "inputEl",
|
|
31
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event),
|
|
32
|
+
class: normalizeClass(unref(cn)("flex h-10 w-full min-w-0 appearance-none rounded-lg border-none bg-secondary px-4 py-2 text-sm text-foreground placeholder:text-muted-foreground focus-visible:ring-1 focus-visible:ring-ring focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50 aria-invalid:ring-1 aria-invalid:ring-destructive", __props.class))
|
|
33
|
+
}, null, 2)), [[vModelText, modelValue.value]]);
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
//#endregion
|
|
38
|
+
export { Input_default as t };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { t as cn } from "./src-CnJ6AzLP.js";
|
|
2
|
+
import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
3
|
+
//#endregion
|
|
4
|
+
//#region src/components/input-group/InputGroup.vue
|
|
5
|
+
var InputGroup_default = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "InputGroup",
|
|
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": "input-group",
|
|
18
|
+
role: "group",
|
|
19
|
+
class: normalizeClass(unref(cn)("group/input-group relative flex h-10 w-full min-w-0 items-center rounded-lg bg-secondary text-sm text-foreground outline-none", "has-[>[data-align=inline-start]]:*:data-[slot=input-group-control]:pl-2", "has-[>[data-align=inline-end]]:*:data-[slot=input-group-control]:pr-2", "has-[[data-slot=input-group-control]:focus-visible]:ring-1 has-[[data-slot=input-group-control]:focus-visible]:ring-ring", "has-[[data-slot=input-group-control][aria-invalid=true]]:ring-1 has-[[data-slot=input-group-control][aria-invalid=true]]:ring-destructive", __props.class))
|
|
20
|
+
}, [renderSlot(_ctx.$slots, "default")], 2);
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
});
|
|
24
|
+
//#endregion
|
|
25
|
+
export { InputGroup_default as t };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { t as cn } from "./src-CnJ6AzLP.js";
|
|
2
|
+
import { inputGroupAddonVariants } from "../input-group/inputGroup.variants.js";
|
|
3
|
+
import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
4
|
+
//#region src/components/input-group/InputGroupAddon.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var _hoisted_1 = ["data-align"];
|
|
6
|
+
//#endregion
|
|
7
|
+
//#region src/components/input-group/InputGroupAddon.vue
|
|
8
|
+
var InputGroupAddon_default = /* @__PURE__ */ defineComponent({
|
|
9
|
+
__name: "InputGroupAddon",
|
|
10
|
+
props: {
|
|
11
|
+
align: { default: "inline-start" },
|
|
12
|
+
class: { type: [
|
|
13
|
+
Boolean,
|
|
14
|
+
null,
|
|
15
|
+
String,
|
|
16
|
+
Object,
|
|
17
|
+
Array
|
|
18
|
+
] }
|
|
19
|
+
},
|
|
20
|
+
setup(__props) {
|
|
21
|
+
function focusControl(event) {
|
|
22
|
+
if (!(event.target instanceof Element) || event.target.closest("button")) return;
|
|
23
|
+
if (!(event.currentTarget instanceof HTMLElement)) return;
|
|
24
|
+
event.currentTarget.parentElement?.querySelector("input")?.focus();
|
|
25
|
+
}
|
|
26
|
+
return (_ctx, _cache) => {
|
|
27
|
+
return openBlock(), createElementBlock("div", {
|
|
28
|
+
role: "group",
|
|
29
|
+
"data-slot": "input-group-addon",
|
|
30
|
+
"data-align": __props.align,
|
|
31
|
+
class: normalizeClass(unref(cn)(unref(inputGroupAddonVariants)({ align: __props.align }), __props.class)),
|
|
32
|
+
onClick: focusControl
|
|
33
|
+
}, [renderSlot(_ctx.$slots, "default")], 10, _hoisted_1);
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
//#endregion
|
|
38
|
+
export { InputGroupAddon_default as t };
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { t as cn } from "./src-CnJ6AzLP.js";
|
|
2
|
+
import { t as Button_default } from "./Button-CilmsOkY.js";
|
|
3
|
+
import { inputGroupButtonVariants } from "../input-group/inputGroup.variants.js";
|
|
4
|
+
import { createBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/components/input-group/InputGroupButton.vue
|
|
7
|
+
var InputGroupButton_default = /* @__PURE__ */ defineComponent({
|
|
8
|
+
__name: "InputGroupButton",
|
|
9
|
+
props: {
|
|
10
|
+
variant: { default: "muted-textonly" },
|
|
11
|
+
size: { default: "xs" },
|
|
12
|
+
class: { type: [
|
|
13
|
+
Boolean,
|
|
14
|
+
null,
|
|
15
|
+
String,
|
|
16
|
+
Object,
|
|
17
|
+
Array
|
|
18
|
+
] }
|
|
19
|
+
},
|
|
20
|
+
setup(__props) {
|
|
21
|
+
return (_ctx, _cache) => {
|
|
22
|
+
return openBlock(), createBlock(unref(Button_default), {
|
|
23
|
+
type: "button",
|
|
24
|
+
"data-slot": "input-group-button",
|
|
25
|
+
"data-size": __props.size,
|
|
26
|
+
variant: __props.variant,
|
|
27
|
+
size: "unset",
|
|
28
|
+
class: normalizeClass(unref(cn)(unref(inputGroupButtonVariants)({ size: __props.size }), __props.class))
|
|
29
|
+
}, {
|
|
30
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
31
|
+
_: 3
|
|
32
|
+
}, 8, [
|
|
33
|
+
"data-size",
|
|
34
|
+
"variant",
|
|
35
|
+
"class"
|
|
36
|
+
]);
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
//#endregion
|
|
41
|
+
export { InputGroupButton_default as t };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { t as cn } from "./src-CnJ6AzLP.js";
|
|
2
|
+
import { t as Input_default } from "./Input-39RLwDr2.js";
|
|
3
|
+
import { createBlock, defineComponent, mergeModels, normalizeClass, openBlock, unref, useModel } from "vue";
|
|
4
|
+
//#endregion
|
|
5
|
+
//#region src/components/input-group/InputGroupInput.vue
|
|
6
|
+
var InputGroupInput_default = /* @__PURE__ */ defineComponent({
|
|
7
|
+
__name: "InputGroupInput",
|
|
8
|
+
props: /*@__PURE__*/ mergeModels({ class: { type: [
|
|
9
|
+
Boolean,
|
|
10
|
+
null,
|
|
11
|
+
String,
|
|
12
|
+
Object,
|
|
13
|
+
Array
|
|
14
|
+
] } }, {
|
|
15
|
+
"modelValue": {},
|
|
16
|
+
"modelModifiers": {}
|
|
17
|
+
}),
|
|
18
|
+
emits: ["update:modelValue"],
|
|
19
|
+
setup(__props) {
|
|
20
|
+
const modelValue = useModel(__props, "modelValue");
|
|
21
|
+
return (_ctx, _cache) => {
|
|
22
|
+
return openBlock(), createBlock(unref(Input_default), {
|
|
23
|
+
modelValue: modelValue.value,
|
|
24
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event),
|
|
25
|
+
"data-slot": "input-group-control",
|
|
26
|
+
class: normalizeClass(unref(cn)("flex-1 rounded-none bg-transparent text-inherit focus-visible:ring-0 aria-invalid:ring-0", __props.class))
|
|
27
|
+
}, null, 8, ["modelValue", "class"]);
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
//#endregion
|
|
32
|
+
export { InputGroupInput_default as t };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { t as cn } from "./src-CnJ6AzLP.js";
|
|
2
|
+
import { createBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
3
|
+
import { Label, useForwardProps } from "reka-ui";
|
|
4
|
+
import { reactiveOmit } from "@vueuse/core";
|
|
5
|
+
//#endregion
|
|
6
|
+
//#region src/components/label/Label.vue
|
|
7
|
+
var Label_default = /* @__PURE__ */ defineComponent({
|
|
8
|
+
__name: "Label",
|
|
9
|
+
props: {
|
|
10
|
+
for: {},
|
|
11
|
+
asChild: { type: Boolean },
|
|
12
|
+
as: {},
|
|
13
|
+
class: { type: [
|
|
14
|
+
Boolean,
|
|
15
|
+
null,
|
|
16
|
+
String,
|
|
17
|
+
Object,
|
|
18
|
+
Array
|
|
19
|
+
] }
|
|
20
|
+
},
|
|
21
|
+
setup(__props) {
|
|
22
|
+
const props = __props;
|
|
23
|
+
const forwarded = useForwardProps(reactiveOmit(props, "class"));
|
|
24
|
+
return (_ctx, _cache) => {
|
|
25
|
+
return openBlock(), createBlock(unref(Label), mergeProps(unref(forwarded), {
|
|
26
|
+
"data-slot": "label",
|
|
27
|
+
class: unref(cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", props.class)
|
|
28
|
+
}), {
|
|
29
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
30
|
+
_: 3
|
|
31
|
+
}, 16, ["class"]);
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
});
|
|
35
|
+
//#endregion
|
|
36
|
+
export { Label_default as t };
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
import { t as cn } from "./src-CnJ6AzLP.js";
|
|
2
|
+
import { t as TextTooltip_default } from "./TextTooltip-ClHQl84h.js";
|
|
3
|
+
import { menuItemClass } from "../menu/menuStyles.js";
|
|
4
|
+
import { Fragment, computed, createBlock, createElementBlock, createVNode, defineComponent, isRef, normalizeClass, onBeforeUnmount, openBlock, renderSlot, resolveDynamicComponent, toValue, unref, withCtx } from "vue";
|
|
5
|
+
import { DropdownMenuCheckboxItem, DropdownMenuItem } from "reka-ui";
|
|
6
|
+
import { createReusableTemplate, useEventListener } from "@vueuse/core";
|
|
7
|
+
//#region src/components/menu/mouseDownUtil.ts
|
|
8
|
+
var whileMouseDown = (elementOrEvent, callback, interval = 30) => {
|
|
9
|
+
const element = elementOrEvent instanceof HTMLElement ? elementOrEvent : elementOrEvent.target;
|
|
10
|
+
let iteration = 0;
|
|
11
|
+
const intervalId = setInterval(() => {
|
|
12
|
+
callback(iteration++);
|
|
13
|
+
}, interval);
|
|
14
|
+
const dispose = () => {
|
|
15
|
+
clearInterval(intervalId);
|
|
16
|
+
disposeGlobal();
|
|
17
|
+
disposeLocal();
|
|
18
|
+
};
|
|
19
|
+
const disposeGlobal = useEventListener(document, "mouseup", dispose);
|
|
20
|
+
const disposeLocal = useEventListener(element, "mouseup", dispose);
|
|
21
|
+
return { dispose };
|
|
22
|
+
};
|
|
23
|
+
//#endregion
|
|
24
|
+
//#region src/components/menu/MenuAction.vue?vue&type=script&setup=true&lang.ts
|
|
25
|
+
var _hoisted_1 = {
|
|
26
|
+
key: 0,
|
|
27
|
+
"aria-disabled": "true"
|
|
28
|
+
};
|
|
29
|
+
//#endregion
|
|
30
|
+
//#region src/components/menu/MenuAction.vue
|
|
31
|
+
var MenuAction_default = /* @__PURE__ */ defineComponent({
|
|
32
|
+
__name: "MenuAction",
|
|
33
|
+
props: {
|
|
34
|
+
allowCommandless: {
|
|
35
|
+
type: Boolean,
|
|
36
|
+
default: false
|
|
37
|
+
},
|
|
38
|
+
item: {}
|
|
39
|
+
},
|
|
40
|
+
emits: ["select", "activate"],
|
|
41
|
+
setup(__props, { emit: __emit }) {
|
|
42
|
+
const emit = __emit;
|
|
43
|
+
const [DefineItem, ReuseItem] = createReusableTemplate();
|
|
44
|
+
const disabled = computed(() => toValue(__props.item.disabled) === true);
|
|
45
|
+
const focusableDisabled = computed(() => disabled.value && __props.item.focusableWhenDisabled === true);
|
|
46
|
+
const unfocusable = computed(() => disabled.value ? !__props.item.focusableWhenDisabled : !__props.item.command && !__props.allowCommandless);
|
|
47
|
+
let pointerRepeating = false;
|
|
48
|
+
let stopRepeating;
|
|
49
|
+
onBeforeUnmount(() => stopRepeating?.());
|
|
50
|
+
function mouseDown(event) {
|
|
51
|
+
if (event.button !== 0 || toValue(__props.item.disabled) || !__props.item.command || __props.item.pressAndHoldInterval === void 0) return;
|
|
52
|
+
stopRepeating?.();
|
|
53
|
+
pointerRepeating = false;
|
|
54
|
+
const { dispose } = whileMouseDown(event, () => {
|
|
55
|
+
const firstRepeat = !pointerRepeating;
|
|
56
|
+
pointerRepeating = true;
|
|
57
|
+
__props.item.command?.({
|
|
58
|
+
originalEvent: event,
|
|
59
|
+
item: __props.item
|
|
60
|
+
});
|
|
61
|
+
if (firstRepeat) emit("activate", __props.item);
|
|
62
|
+
}, __props.item.pressAndHoldInterval);
|
|
63
|
+
stopRepeating = dispose;
|
|
64
|
+
}
|
|
65
|
+
function select(event) {
|
|
66
|
+
if (disabled.value || !__props.item.command) {
|
|
67
|
+
event.preventDefault();
|
|
68
|
+
return;
|
|
69
|
+
}
|
|
70
|
+
if (pointerRepeating) {
|
|
71
|
+
pointerRepeating = false;
|
|
72
|
+
event.preventDefault();
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
if (__props.item.checked !== void 0) event.preventDefault();
|
|
76
|
+
__props.item.command({
|
|
77
|
+
originalEvent: event,
|
|
78
|
+
item: __props.item
|
|
79
|
+
});
|
|
80
|
+
emit("activate", __props.item);
|
|
81
|
+
if (event.defaultPrevented) return;
|
|
82
|
+
if (__props.item.pressAndHoldInterval !== void 0) {
|
|
83
|
+
event.preventDefault();
|
|
84
|
+
return;
|
|
85
|
+
}
|
|
86
|
+
emit("select");
|
|
87
|
+
}
|
|
88
|
+
return (_ctx, _cache) => {
|
|
89
|
+
return openBlock(), createElementBlock(Fragment, null, [createVNode(unref(DefineItem), null, {
|
|
90
|
+
default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(__props.item.checked === void 0 ? unref(DropdownMenuItem) : unref(DropdownMenuCheckboxItem)), {
|
|
91
|
+
"aria-label": toValue(__props.item.label),
|
|
92
|
+
"aria-description": toValue(__props.item.description),
|
|
93
|
+
disabled: unfocusable.value,
|
|
94
|
+
"as-child": focusableDisabled.value,
|
|
95
|
+
class: normalizeClass(unref(cn)(unref(menuItemClass), __props.item.variant === "destructive" && "text-destructive", focusableDisabled.value && "opacity-50", toValue(__props.item.class))),
|
|
96
|
+
"model-value": toValue(__props.item.checked),
|
|
97
|
+
onMousedown: mouseDown,
|
|
98
|
+
onKeydownCapture: _cache[0] || (_cache[0] = ($event) => isRef(pointerRepeating) ? pointerRepeating.value = false : pointerRepeating = false),
|
|
99
|
+
onSelect: select
|
|
100
|
+
}, {
|
|
101
|
+
default: withCtx(() => [focusableDisabled.value ? (openBlock(), createElementBlock("div", _hoisted_1, [renderSlot(_ctx.$slots, "default")])) : renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 1)]),
|
|
102
|
+
_: 3
|
|
103
|
+
}, 40, [
|
|
104
|
+
"aria-label",
|
|
105
|
+
"aria-description",
|
|
106
|
+
"disabled",
|
|
107
|
+
"as-child",
|
|
108
|
+
"class",
|
|
109
|
+
"model-value"
|
|
110
|
+
]))]),
|
|
111
|
+
_: 3
|
|
112
|
+
}), __props.item.tooltip ? (openBlock(), createBlock(unref(TextTooltip_default), {
|
|
113
|
+
key: 0,
|
|
114
|
+
text: __props.item.tooltip,
|
|
115
|
+
side: "right"
|
|
116
|
+
}, {
|
|
117
|
+
default: withCtx(() => [createVNode(unref(ReuseItem))]),
|
|
118
|
+
_: 1
|
|
119
|
+
}, 8, ["text"])) : (openBlock(), createBlock(unref(ReuseItem), { key: 1 }))], 64);
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
//#endregion
|
|
124
|
+
export { MenuAction_default as t };
|