@comfyorg/design-system 1.2.0 → 1.3.0-alpha.1
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 +33 -3
- package/dist/accordion/PropertiesAccordionItem.vue.d.ts +34 -0
- package/dist/accordion/PropertiesAccordionItem.vue.js +62 -0
- package/dist/badge/Badge.vue.js +1 -2
- package/dist/badge/CreditBadge.vue.d.ts +0 -1
- package/dist/badge/CreditBadge.vue.js +10 -24
- package/dist/badge/badge.variants.d.ts +1 -1
- package/dist/button/Button.vue.js +1 -2
- package/dist/button-group/ButtonGroup.vue.js +2 -4
- package/dist/button-group/IconGroup.vue.js +2 -4
- package/dist/card/Card.vue.js +1 -2
- package/dist/card/CardFooter.vue.js +1 -2
- package/dist/card/CardHeader.vue.js +1 -2
- package/dist/card/CoachmarkCard.vue.js +2 -4
- package/dist/chart/Chart.vue.js +4 -7
- package/dist/chart/__tests__/chartTestUtils.d.ts +3 -0
- package/dist/checkbox/Checkbox.vue.js +2 -4
- package/dist/chip/Tag.vue.d.ts +61 -0
- package/dist/chip/Tag.vue.js +71 -0
- package/dist/chip/TagRemoveButton.vue.js +1 -2
- package/dist/color-picker/ColorPicker.vue.d.ts +23 -0
- package/dist/color-picker/ColorPicker.vue.js +139 -0
- package/dist/color-picker/ColorPickerPanel.vue.d.ts +27 -0
- package/dist/color-picker/ColorPickerPanel.vue.js +1 -0
- package/dist/color-picker/ColorPickerSaturationValue.vue.d.ts +17 -0
- package/dist/color-picker/ColorPickerSaturationValue.vue.js +1 -0
- package/dist/color-picker/ColorPickerSlider.vue.d.ts +17 -0
- package/dist/color-picker/ColorPickerSlider.vue.js +1 -0
- package/dist/color-picker/types.d.ts +22 -0
- package/dist/color-picker/types.js +0 -0
- package/dist/color-picker/useColorPicker.d.ts +33 -0
- package/dist/common/CanvasBanner.vue.js +3 -5
- package/dist/common/ContentDivider.vue.js +2 -4
- package/dist/common/CustomFormValue.vue.js +1 -3
- package/dist/common/DotSpinner.vue.js +3 -5
- package/dist/common/EditableText.vue.js +3 -5
- package/dist/common/HighlightedText.vue.d.ts +8 -0
- package/dist/common/HighlightedText.vue.js +50 -0
- package/dist/common/LoadingOverlay.vue.js +3 -5
- package/dist/common/MarkdownText.vue.js +2 -4
- package/dist/common/MarqueeLine.vue.js +2 -3
- package/dist/common/NoResultsPlaceholder.vue.d.ts +28 -0
- package/dist/common/NoResultsPlaceholder.vue.js +49 -0
- package/dist/common/NotificationPopup.vue.d.ts +28 -0
- package/dist/common/NotificationPopup.vue.js +63 -0
- package/dist/common/OverlayIcon.vue.js +1 -2
- package/dist/common/SanitizedHtml.vue.js +2 -4
- package/dist/common/TextDivider.vue.js +3 -5
- package/dist/common/TextTicker.vue.js +2 -4
- package/dist/common/TextTickerMultiLine.vue.js +3 -6
- package/dist/common/UserAvatar.vue.d.ts +9 -0
- package/dist/common/UserAvatar.vue.js +45 -0
- package/dist/common/VerticalDivider.vue.js +2 -3
- package/dist/common/VideoCompareSlider.vue.js +3 -5
- package/dist/common/ViewportWidgetShell.vue.js +3 -5
- package/dist/common/VirtualGrid.vue.js +1 -3
- package/dist/common/highlightQuery.d.ts +6 -0
- package/dist/composables/useAttrsClass.js +1 -2
- package/dist/composables/usePopoverSizing.js +1 -2
- package/dist/confirm/ConfirmBody.vue.js +3 -5
- package/dist/confirm/ConfirmFooter.vue.d.ts +18 -0
- package/dist/confirm/ConfirmFooter.vue.js +53 -0
- package/dist/confirm/ConfirmHeader.vue.js +2 -4
- package/dist/content-card/CardBottom.vue.js +2 -4
- package/dist/content-card/CardContainer.vue.js +3 -5
- package/dist/content-card/CardTop.vue.js +2 -4
- package/dist/dialog/Dialog.vue.js +1 -3
- package/dist/dialog/DialogClose.vue.js +1 -24
- package/dist/dialog/DialogContent.vue.js +1 -73
- package/dist/dialog/DialogDescription.vue.js +2 -4
- package/dist/dialog/DialogFooter.vue.js +2 -4
- package/dist/dialog/DialogHeader.vue.js +2 -4
- package/dist/dialog/DialogMaximize.vue.js +2 -4
- package/dist/dialog/DialogOverlay.vue.js +1 -35
- package/dist/dialog/DialogPanel.vue.js +7 -9
- package/dist/dialog/DialogPortal.vue.js +1 -38
- package/dist/dialog/DialogTitle.vue.js +1 -2
- package/dist/dialog/Dialogue.vue.d.ts +22 -0
- package/dist/dialog/Dialogue.vue.js +56 -0
- package/dist/dialog/dialog.variants.js +4 -5
- package/dist/field/Field.vue.js +4 -7
- package/dist/field/FieldDescription.vue.js +2 -4
- package/dist/field/FieldError.vue.js +3 -5
- package/dist/field/FieldGroup.vue.js +2 -4
- package/dist/field/FieldLabel.vue.js +3 -5
- package/dist/field/FieldSwitch.vue.d.ts +16 -0
- package/dist/field/FieldSwitch.vue.js +43 -0
- package/dist/field/LayoutField.vue.d.ts +18 -0
- package/dist/field/LayoutField.vue.js +1 -0
- package/dist/field/ModelInfoField.vue.js +2 -4
- package/dist/hover-card/HoverCard.vue.js +1 -3
- package/dist/hover-card/HoverCardContent.vue.js +2 -4
- package/dist/hover-card/HoverCardTrigger.vue.js +1 -3
- package/dist/icon/ComfyLogo.vue.js +2 -4
- package/dist/icon/PuzzleIcon.vue.js +2 -4
- package/dist/icon/TinyChevronIcon.vue.js +1 -3
- package/dist/icon/VerifiedIcon.vue.js +2 -4
- package/dist/input/Input.vue.js +1 -2
- package/dist/input/PasswordInput.vue.js +5 -7
- package/dist/input-group/InputGroup.vue.js +1 -2
- package/dist/input-group/InputGroupAddon.vue.js +1 -2
- package/dist/input-group/InputGroupButton.vue.js +1 -2
- package/dist/input-group/InputGroupInput.vue.js +1 -2
- package/dist/input-group/inputGroup.variants.js +1 -2
- package/dist/knob/Knob.vue.js +3 -5
- package/dist/label/Label.vue.js +1 -2
- package/dist/layout/BaseModalLayout.vue.d.ts +67 -0
- package/dist/layout/BaseModalLayout.vue.js +198 -0
- package/dist/media/AudioPreview.vue.js +2 -4
- package/dist/media/ImageLightbox.vue.d.ts +17 -0
- package/dist/media/ImageLightbox.vue.js +76 -0
- package/dist/media/MediaTitle.vue.js +2 -4
- package/dist/media/Video.vue.d.ts +28 -0
- package/dist/media/Video.vue.js +100 -0
- package/dist/media/VideoPlayOverlay.vue.js +3 -5
- package/dist/media/VideoPreview.vue.js +2 -4
- package/dist/media/ZoomPane.vue.js +1 -3
- package/dist/menu/ContextMenu.vue.js +3 -5
- package/dist/menu/ContextMenuContent.vue.js +1 -2
- package/dist/menu/Menu.vue.js +3 -5
- package/dist/menu/MenuAction.vue.js +1 -2
- package/dist/menu/MenuContent.vue.js +1 -2
- package/dist/menu/MenuItem.vue.js +2 -4
- package/dist/menu/MenuItemContent.vue.js +1 -2
- package/dist/menu/MenuItems.vue.js +1 -2
- package/dist/menu/MenuRadioGroup.vue.js +1 -2
- package/dist/menu/MenuRadioItem.vue.js +1 -2
- package/dist/menu/MenuSeparator.vue.js +1 -2
- package/dist/menu/MenuSub.vue.js +1 -2
- package/dist/menu/MenuSubContent.vue.js +1 -2
- package/dist/menu/MenuSubTrigger.vue.js +1 -2
- package/dist/menu/MenuSubmenu.vue.js +1 -2
- package/dist/menu/menuAnchor.js +1 -2
- package/dist/menu/menuStyles.js +1 -2
- package/dist/menu/usePointMenu.js +1 -2
- package/dist/message/Message.vue.js +4 -6
- package/dist/message/message.variants.js +1 -2
- package/dist/multi-select/MultiSelect.vue.js +3 -5
- package/dist/multi-select/MultiSelectContent.vue.js +1 -2
- package/dist/multi-select/MultiSelectTrigger.vue.js +1 -2
- package/dist/navigation/LeftSidePanel.vue.d.ts +12 -0
- package/dist/navigation/LeftSidePanel.vue.js +82 -0
- package/dist/navigation/NavIcon.vue.d.ts +7 -0
- package/dist/navigation/NavIcon.vue.js +1 -0
- package/dist/navigation/NavItem.vue.d.ts +21 -0
- package/dist/navigation/NavItem.vue.js +1 -0
- package/dist/navigation/NavTitle.vue.js +1 -42
- package/dist/navigation/SidebarTopArea.vue.js +2 -3
- package/dist/navigation/types.d.ts +13 -0
- package/dist/navigation/types.js +0 -0
- package/dist/number-field/NumberField.vue.js +2 -4
- package/dist/number-field/NumberFieldDecrement.vue.js +2 -4
- package/dist/number-field/NumberFieldIncrement.vue.js +2 -4
- package/dist/number-field/NumberFieldInput.vue.js +2 -4
- package/dist/number-field/PropertyNumberField.vue.js +3 -5
- package/dist/pagination/Pagination.vue.js +8 -10
- package/dist/popover/PopoverContent.vue.js +1 -91
- package/dist/popover/usePopoverViewportDismiss.js +1 -2
- package/dist/radio-group/RadioGroup.vue.js +2 -4
- package/dist/radio-group/RadioGroupItem.vue.js +2 -4
- package/dist/search-input/AsyncSearchInput.vue.js +3 -5
- package/dist/search-input/SearchAutocomplete.vue.js +4 -6
- package/dist/search-input/SearchInput.vue.js +4 -6
- package/dist/select/DropdownControl.vue.js +2 -4
- package/dist/select/Select.vue.js +1 -2
- package/dist/select/SelectContent.vue.js +1 -2
- package/dist/select/SelectItem.vue.d.ts +4 -0
- package/dist/select/SelectItem.vue.js +1 -2
- package/dist/select/SelectScrollDownButton.vue.js +1 -2
- package/dist/select/SelectScrollUpButton.vue.js +1 -2
- package/dist/select/SelectTrigger.vue.js +1 -2
- package/dist/select/SelectValue.vue.js +1 -2
- package/dist/select/useSelectSearch.js +1 -2
- package/dist/shared/{Badge-D3uWa3yk.js → Badge-DFHO3AFi.js} +4 -6
- package/dist/shared/{Button-CilmsOkY.js → Button-Dj_H5v3V.js} +5 -8
- package/dist/shared/{Card-l7baUdn0.js → Card-BrvqUM49.js} +3 -5
- package/dist/shared/{CardFooter-BM6EmVi7.js → CardFooter-BV_I0pM-.js} +2 -4
- package/dist/shared/{CardHeader-B5To28Jp.js → CardHeader-CMutruBx.js} +2 -4
- package/dist/shared/ColorPickerPanel-DQGHuvxk.js +239 -0
- package/dist/shared/ColorPickerSaturationValue-B5VDiMcl.js +64 -0
- package/dist/shared/ColorPickerSlider--mnQyzWD.js +305 -0
- package/dist/shared/{ContextMenuContent-CNQHJQ81.js → ContextMenuContent-RNyBBJOX.js} +2 -4
- package/dist/shared/DialogClose-CrtPRSNX.js +22 -0
- package/dist/shared/DialogContent-v2s55FXs.js +71 -0
- package/dist/shared/DialogOverlay-C9qv0zme.js +33 -0
- package/dist/shared/DialogPortal-DtCpLgtO.js +36 -0
- package/dist/shared/{DialogTitle-CfkkTGuU.js → DialogTitle-Chomvpgq.js} +2 -4
- package/dist/shared/{Input-39RLwDr2.js → Input-DOeNoniw.js} +2 -4
- package/dist/shared/{InputGroup-kjQKkhyB.js → InputGroup-BYt6BWpk.js} +2 -4
- package/dist/shared/{InputGroupAddon-DLDRT0CQ.js → InputGroupAddon-B1cn7czs.js} +3 -5
- package/dist/shared/{InputGroupButton-BoEp2apg.js → InputGroupButton-tw5AYOoR.js} +3 -5
- package/dist/shared/{InputGroupInput-E2MlEVUU.js → InputGroupInput-C_kkIxvY.js} +3 -5
- package/dist/shared/{Label-Cx_lFofI.js → Label-kwhWNR2P.js} +2 -4
- package/dist/shared/LayoutField-C8KCaVF0.js +34 -0
- package/dist/shared/{MenuAction-BdghJ23k.js → MenuAction-0z8BSoX9.js} +5 -8
- package/dist/shared/{MenuContent-ChqlM3xA.js → MenuContent--tKCqaIO.js} +2 -4
- package/dist/shared/{MenuItemContent--dPNoBmU.js → MenuItemContent-Be658c7e.js} +6 -8
- package/dist/shared/{MenuItems-BJKetPV-.js → MenuItems-BZTlERd6.js} +5 -7
- package/dist/shared/{MenuRadioGroup-Bpjt9sHI.js → MenuRadioGroup-B28YS1p1.js} +4 -6
- package/dist/shared/{MenuRadioItem-h7hh_RGU.js → MenuRadioItem-D8DFu-KU.js} +2 -4
- package/dist/shared/{MenuSeparator-Dm6CkPqB.js → MenuSeparator-DrAiObmE.js} +2 -4
- package/dist/shared/{MenuSub-Dbnj2w-X.js → MenuSub-DSizq_fV.js} +1 -3
- package/dist/shared/{MenuSubContent-M-g3fllh.js → MenuSubContent-ghzkX4hX.js} +2 -4
- package/dist/shared/{MenuSubTrigger-D6-3s2NL.js → MenuSubTrigger-BGRIm_Bf.js} +2 -4
- package/dist/shared/{MenuSubmenu-QHWMyfKF.js → MenuSubmenu-CjPf8DXl.js} +5 -7
- package/dist/shared/{MultiSelectContent-c1D5avjh.js → MultiSelectContent-9xyBQKz3.js} +5 -7
- package/dist/shared/{MultiSelectTrigger-lmuXqETa.js → MultiSelectTrigger-DNySkpH9.js} +4 -6
- package/dist/shared/NavIcon-FTJH75HH.js +12 -0
- package/dist/shared/NavItem-sQJ-77Zw.js +77 -0
- package/dist/shared/NavTitle-BM22yfCR.js +40 -0
- package/dist/shared/{OverlayIcon-DntJI-mm.js → OverlayIcon-C-din824.js} +3 -5
- package/dist/shared/PopoverContent-DNqL6t-O.js +89 -0
- package/dist/shared/{SearchableSingleSelect-Dnti1kqJ.js → SearchableSingleSelect-DQauLQWW.js} +4 -6
- package/dist/shared/{Select-CP3OZjtL.js → Select-DtVgv7Po.js} +1 -3
- package/dist/shared/{SelectContent-C8aNlcFf.js → SelectContent-Ba1mCDWM.js} +4 -6
- package/dist/shared/{SelectItem-tU4CIa5J.js → SelectItem-DaOr3TFS.js} +23 -10
- package/dist/shared/{SelectScrollDownButton-Dvig5MVc.js → SelectScrollDownButton-DYmxtida.js} +2 -4
- package/dist/shared/{SelectScrollUpButton-lv-npT6v.js → SelectScrollUpButton-DiyvSb9O.js} +2 -4
- package/dist/shared/{SelectTrigger-CCDiZW91.js → SelectTrigger-BBicbVsI.js} +2 -4
- package/dist/shared/{SelectValue-DFZFSiQp.js → SelectValue-BjaQc-WU.js} +1 -3
- package/dist/shared/{Switch-DsCzHpDU.js → Switch-qavkHWMz.js} +3 -5
- package/dist/shared/{TableHead-OxGist4m.js → TableHead-DpsXVMzk.js} +2 -4
- package/dist/shared/{TagRemoveButton-BiCdscIC.js → TagRemoveButton-D919R-To.js} +4 -6
- package/dist/shared/{TextTooltip-ClHQl84h.js → TextTooltip-BNlZI515.js} +4 -6
- package/dist/shared/{Tooltip-DbXyHv20.js → Tooltip-4rCebVao.js} +2 -4
- package/dist/shared/{TooltipContent-Bju-U7gc.js → TooltipContent-0GR7hBNu.js} +3 -5
- package/dist/shared/{TooltipTrigger-CVwISmWo.js → TooltipTrigger-64EIE5f2.js} +2 -4
- package/dist/shared/TransitionCollapse-VfBzyj5a.js +108 -0
- package/dist/shared/{_plugin-vue_export-helper-BOaGB7Aw.js → _plugin-vue_export-helper-DjkACiAr.js} +1 -2
- package/dist/shared/{searchInput.variants-NOge_52E.js → searchInput.variants-BdYHNjce.js} +1 -2
- package/dist/shared/{select.variants-BPn5Z7N1.js → select.variants-cRXaATWS.js} +1 -2
- package/dist/shared/{src-CnJ6AzLP.js → src-DTwuqov4.js} +1 -2
- package/dist/shared/{tabKeys-BISOrxWu.js → tabKeys-CP6c3wTY.js} +1 -2
- package/dist/shared/{tabs.variants-XUREdHry.js → tabs.variants-Cgk7bRhG.js} +1 -2
- package/dist/shared/{tag.variants-CCqCn8Jc.js → tag.variants-BEXRRbPc.js} +1 -2
- package/dist/shared/{tagsInputContext-QXu7RrG5.js → tagsInputContext-C-X1-iNf.js} +1 -2
- package/dist/shared/{toggleGroup.variants-CvjZDHMw.js → toggleGroup.variants-BuwGELw0.js} +1 -2
- package/dist/shared/{tooltipContext-BL5JtM0i.js → tooltipContext-arEyjGQC.js} +1 -2
- package/dist/single-select/SearchableSingleSelect.vue.js +1 -2
- package/dist/single-select/SingleSelect.vue.js +5 -7
- package/dist/skeleton/Skeleton.vue.js +2 -4
- package/dist/slider/GradientSlider.vue.d.ts +20 -0
- package/dist/slider/GradientSlider.vue.js +100 -0
- package/dist/slider/Slider.vue.js +2 -4
- package/dist/slider/gradients.d.ts +6 -0
- package/dist/spinner/Spinner.vue.js +2 -4
- package/dist/splitter/SplitterGroup.vue.js +2 -4
- package/dist/splitter/SplitterPanel.vue.js +2 -4
- package/dist/splitter/SplitterResizeHandle.vue.js +3 -5
- package/dist/switch/Switch.vue.js +1 -2
- package/dist/tab/Tab.vue.js +5 -8
- package/dist/tab/TabList.vue.js +3 -5
- package/dist/tab/TabPanel.vue.js +3 -5
- package/dist/table/Table.vue.js +3 -5
- package/dist/table/TableBody.vue.js +2 -4
- package/dist/table/TableCell.vue.js +2 -4
- package/dist/table/TableHead.vue.js +1 -2
- package/dist/table/TableHeader.vue.js +2 -4
- package/dist/table/TableRow.vue.js +2 -4
- package/dist/table/TableSortHead.vue.js +3 -5
- package/dist/table/tableUtils.js +1 -2
- package/dist/tabs/Tabs.vue.js +2 -4
- package/dist/tabs/TabsContent.vue.js +2 -4
- package/dist/tabs/TabsList.vue.js +3 -5
- package/dist/tabs/TabsTrigger.vue.js +3 -5
- package/dist/tags-input/TagsInput.vue.js +4 -6
- package/dist/tags-input/TagsInputInput.vue.js +3 -5
- package/dist/tags-input/TagsInputItem.vue.js +3 -5
- package/dist/tags-input/TagsInputItemDelete.vue.js +2 -4
- package/dist/tags-input/TagsInputItemText.vue.js +2 -4
- package/dist/textarea/Textarea.vue.js +2 -4
- package/dist/toast/ToastClose.vue.js +3 -5
- package/dist/toast/ToastDescription.vue.js +2 -4
- package/dist/toast/ToastDock.vue.js +2 -4
- package/dist/toast/ToastPanel.vue.js +3 -5
- package/dist/toast/ToastRoot.vue.js +3 -5
- package/dist/toast/ToastTitle.vue.js +2 -4
- package/dist/toast/ToastViewport.vue.js +2 -4
- package/dist/toggle-group/ToggleGroup.vue.js +3 -5
- package/dist/toggle-group/ToggleGroupItem.vue.js +3 -5
- package/dist/tooltip/TextTooltip.vue.js +1 -2
- package/dist/tooltip/Tooltip.vue.js +1 -2
- package/dist/tooltip/TooltipContent.vue.js +1 -2
- package/dist/tooltip/TooltipProvider.vue.js +1 -3
- package/dist/tooltip/TooltipTrigger.vue.js +1 -2
- package/dist/tooltip/tooltipConfig.js +1 -2
- package/dist/transition/TransitionCollapse.vue.js +1 -110
- package/dist/tree/Tree.vue.d.ts +1 -1
- package/dist/tree/Tree.vue.js +2 -4
- package/dist/tree/TreeItem.vue.js +4 -6
- package/dist/tree/treeStyles.js +1 -2
- package/package.json +40 -20
- package/src/css/_baseline.css +143 -0
- package/src/css/_mask-editor.css +0 -1
- package/src/css/baseline.css +3 -0
- package/src/css/iconSizing.test.ts +1 -1
- package/src/css/published.css +3 -0
- package/src/css/style.css +2 -316
- package/src/css/theme.css +175 -0
- package/src/icons/README.md +41 -84
|
@@ -1,91 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import { usePopoverViewportDismiss } from "./usePopoverViewportDismiss.js";
|
|
3
|
-
import { computed, createBlock, createPropsRestProxy, createVNode, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
4
|
-
import { PopoverContent, PopoverPortal, injectPopoverRootContext, useForwardPropsEmits } from "reka-ui";
|
|
5
|
-
//#endregion
|
|
6
|
-
//#region src/components/popover/PopoverContent.vue
|
|
7
|
-
var PopoverContent_default = /* @__PURE__ */ defineComponent({
|
|
8
|
-
inheritAttrs: false,
|
|
9
|
-
__name: "PopoverContent",
|
|
10
|
-
props: {
|
|
11
|
-
forceMount: { type: Boolean },
|
|
12
|
-
memoDependencies: {},
|
|
13
|
-
side: {},
|
|
14
|
-
sideOffset: { default: 4 },
|
|
15
|
-
sideFlip: { type: Boolean },
|
|
16
|
-
align: { default: "center" },
|
|
17
|
-
alignOffset: {},
|
|
18
|
-
alignFlip: { type: Boolean },
|
|
19
|
-
avoidCollisions: { type: Boolean },
|
|
20
|
-
collisionBoundary: {},
|
|
21
|
-
collisionPadding: { default: 8 },
|
|
22
|
-
arrowPadding: {},
|
|
23
|
-
hideShiftedArrow: { type: Boolean },
|
|
24
|
-
sticky: {},
|
|
25
|
-
hideWhenDetached: { type: Boolean },
|
|
26
|
-
positionStrategy: {},
|
|
27
|
-
updatePositionStrategy: {},
|
|
28
|
-
disableUpdateOnLayoutShift: { type: Boolean },
|
|
29
|
-
prioritizePosition: { type: Boolean },
|
|
30
|
-
reference: {},
|
|
31
|
-
dir: {},
|
|
32
|
-
asChild: { type: Boolean },
|
|
33
|
-
as: {},
|
|
34
|
-
disableOutsidePointerEvents: { type: Boolean },
|
|
35
|
-
class: { type: [
|
|
36
|
-
Boolean,
|
|
37
|
-
null,
|
|
38
|
-
String,
|
|
39
|
-
Object,
|
|
40
|
-
Array
|
|
41
|
-
] },
|
|
42
|
-
dismissOnViewportChange: {
|
|
43
|
-
type: Boolean,
|
|
44
|
-
default: false
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
emits: [
|
|
48
|
-
"escapeKeyDown",
|
|
49
|
-
"pointerDownOutside",
|
|
50
|
-
"focusOutside",
|
|
51
|
-
"interactOutside",
|
|
52
|
-
"openAutoFocus",
|
|
53
|
-
"closeAutoFocus"
|
|
54
|
-
],
|
|
55
|
-
setup(__props, { emit: __emit }) {
|
|
56
|
-
const restProps = createPropsRestProxy(__props, [
|
|
57
|
-
"align",
|
|
58
|
-
"sideOffset",
|
|
59
|
-
"collisionPadding",
|
|
60
|
-
"class",
|
|
61
|
-
"dismissOnViewportChange"
|
|
62
|
-
]);
|
|
63
|
-
const emits = __emit;
|
|
64
|
-
const delegatedProps = computed(() => ({
|
|
65
|
-
align: __props.align,
|
|
66
|
-
sideOffset: __props.sideOffset,
|
|
67
|
-
collisionPadding: __props.collisionPadding,
|
|
68
|
-
...restProps
|
|
69
|
-
}));
|
|
70
|
-
const forwarded = useForwardPropsEmits(delegatedProps, emits);
|
|
71
|
-
const rootContext = injectPopoverRootContext();
|
|
72
|
-
usePopoverViewportDismiss(computed({
|
|
73
|
-
get: () => __props.dismissOnViewportChange && rootContext.open.value,
|
|
74
|
-
set: (open) => rootContext.onOpenChange(open)
|
|
75
|
-
}), rootContext.triggerElement);
|
|
76
|
-
return (_ctx, _cache) => {
|
|
77
|
-
return openBlock(), createBlock(unref(PopoverPortal), { key: Number(restProps.forceMount || unref(rootContext).open.value) }, {
|
|
78
|
-
default: withCtx(() => [createVNode(unref(PopoverContent), mergeProps({ "data-slot": "popover-content" }, {
|
|
79
|
-
...unref(forwarded),
|
|
80
|
-
..._ctx.$attrs
|
|
81
|
-
}, { class: unref(cn)("z-overlay w-72 origin-(--reka-popover-content-transform-origin) rounded-md border bg-background p-4 text-foreground shadow-md outline-none", "overflow-auto [:where(&)]:max-h-(--reka-popover-content-available-height) [:where(&)]:max-w-(--reka-popover-content-available-width)", "data-[state=closed]:animate-out data-[state=open]:animate-in", "data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0", "data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95", "data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2", "data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", __props.class) }), {
|
|
82
|
-
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
83
|
-
_: 3
|
|
84
|
-
}, 16, ["class"])]),
|
|
85
|
-
_: 3
|
|
86
|
-
});
|
|
87
|
-
};
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
//#endregion
|
|
91
|
-
export { PopoverContent_default as default };
|
|
1
|
+
export { t as default } from "../shared/PopoverContent-DNqL6t-O.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { toValue } from "vue";
|
|
2
2
|
import { useEventListener } from "@vueuse/core";
|
|
3
|
-
|
|
3
|
+
// src/components/popover/usePopoverViewportDismiss.ts
|
|
4
4
|
function usePopoverViewportDismiss(open, anchor) {
|
|
5
5
|
useEventListener(() => open.value ? window : void 0, "resize", () => {
|
|
6
6
|
open.value = false;
|
|
@@ -9,5 +9,4 @@ function usePopoverViewportDismiss(open, anchor) {
|
|
|
9
9
|
if (event.target === document || event.target instanceof Window || event.target instanceof Element && event.target.contains(toValue(anchor) ?? null)) open.value = false;
|
|
10
10
|
}, { capture: true });
|
|
11
11
|
}
|
|
12
|
-
//#endregion
|
|
13
12
|
export { usePopoverViewportDismiss };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
2
|
import { createBlock, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
3
3
|
import { RadioGroupRoot, useForwardPropsEmits } from "reka-ui";
|
|
4
4
|
import { reactiveOmit } from "@vueuse/core";
|
|
5
|
-
|
|
6
|
-
//#region src/components/radio-group/RadioGroup.vue
|
|
5
|
+
// src/components/radio-group/RadioGroup.vue
|
|
7
6
|
var RadioGroup_default = /* @__PURE__ */ defineComponent({
|
|
8
7
|
__name: "RadioGroup",
|
|
9
8
|
props: {
|
|
@@ -41,5 +40,4 @@ var RadioGroup_default = /* @__PURE__ */ defineComponent({
|
|
|
41
40
|
};
|
|
42
41
|
}
|
|
43
42
|
});
|
|
44
|
-
//#endregion
|
|
45
43
|
export { RadioGroup_default as default };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
2
|
import { createBlock, createVNode, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
3
3
|
import { RadioGroupIndicator, RadioGroupItem, useForwardPropsEmits } from "reka-ui";
|
|
4
4
|
import { reactiveOmit } from "@vueuse/core";
|
|
5
|
-
|
|
6
|
-
//#region src/components/radio-group/RadioGroupItem.vue
|
|
5
|
+
// src/components/radio-group/RadioGroupItem.vue
|
|
7
6
|
var RadioGroupItem_default = /* @__PURE__ */ defineComponent({
|
|
8
7
|
__name: "RadioGroupItem",
|
|
9
8
|
props: {
|
|
@@ -38,5 +37,4 @@ var RadioGroupItem_default = /* @__PURE__ */ defineComponent({
|
|
|
38
37
|
};
|
|
39
38
|
}
|
|
40
39
|
});
|
|
41
|
-
//#endregion
|
|
42
40
|
export { RadioGroupItem_default as default };
|
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
2
|
import { createCommentVNode, createElementBlock, createElementVNode, defineComponent, mergeModels, nextTick, normalizeClass, onMounted, openBlock, ref, toRef, toValue, unref, useModel, vModelText, watch, withDirectives, withKeys } from "vue";
|
|
3
3
|
import { refDebounced } from "@vueuse/core";
|
|
4
|
-
|
|
4
|
+
// src/components/search-input/AsyncSearchInput.vue?vue&type=script&setup=true&lang.ts
|
|
5
5
|
var _hoisted_1 = [
|
|
6
6
|
"placeholder",
|
|
7
7
|
"aria-label",
|
|
8
8
|
"autofocus"
|
|
9
9
|
];
|
|
10
10
|
var _hoisted_2 = ["aria-label"];
|
|
11
|
-
|
|
12
|
-
//#region src/components/search-input/AsyncSearchInput.vue
|
|
11
|
+
// src/components/search-input/AsyncSearchInput.vue
|
|
13
12
|
var AsyncSearchInput_default = /* @__PURE__ */ defineComponent({
|
|
14
13
|
__name: "AsyncSearchInput",
|
|
15
14
|
props: /*@__PURE__*/ mergeModels({
|
|
@@ -100,5 +99,4 @@ var AsyncSearchInput_default = /* @__PURE__ */ defineComponent({
|
|
|
100
99
|
};
|
|
101
100
|
}
|
|
102
101
|
});
|
|
103
|
-
//#endregion
|
|
104
102
|
export { AsyncSearchInput_default as default };
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
2
|
-
import { t as Button_default } from "../shared/Button-
|
|
3
|
-
import { n as searchInputVariants, t as searchInputSizeConfig } from "../shared/searchInput.variants-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
|
+
import { t as Button_default } from "../shared/Button-Dj_H5v3V.js";
|
|
3
|
+
import { n as searchInputVariants, t as searchInputSizeConfig } from "../shared/searchInput.variants-BdYHNjce.js";
|
|
4
4
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, nextTick, normalizeClass, normalizeStyle, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useModel, useTemplateRef, watch, withCtx, withKeys, withModifiers } from "vue";
|
|
5
5
|
import { ComboboxAnchor, ComboboxContent, ComboboxInput, ComboboxItem, ComboboxPortal, ComboboxRoot } from "reka-ui";
|
|
6
|
-
|
|
7
|
-
//#region src/components/search-input/SearchAutocomplete.vue
|
|
6
|
+
// src/components/search-input/SearchAutocomplete.vue
|
|
8
7
|
var SearchAutocomplete_default = /* @__PURE__ */ defineComponent({
|
|
9
8
|
__name: "SearchAutocomplete",
|
|
10
9
|
props: /*@__PURE__*/ mergeModels({
|
|
@@ -230,5 +229,4 @@ var SearchAutocomplete_default = /* @__PURE__ */ defineComponent({
|
|
|
230
229
|
};
|
|
231
230
|
}
|
|
232
231
|
});
|
|
233
|
-
//#endregion
|
|
234
232
|
export { SearchAutocomplete_default as default };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
2
|
-
import { t as Button_default } from "../shared/Button-
|
|
3
|
-
import { n as searchInputVariants, t as searchInputSizeConfig } from "../shared/searchInput.variants-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
|
+
import { t as Button_default } from "../shared/Button-Dj_H5v3V.js";
|
|
3
|
+
import { n as searchInputVariants, t as searchInputSizeConfig } from "../shared/searchInput.variants-BdYHNjce.js";
|
|
4
4
|
import { computed, createBlock, createElementBlock, createElementVNode, createVNode, defineComponent, mergeModels, normalizeClass, openBlock, ref, renderSlot, unref, useModel, withCtx, withModifiers } from "vue";
|
|
5
5
|
import { ComboboxAnchor, ComboboxInput, ComboboxRoot } from "reka-ui";
|
|
6
6
|
import { watchDebounced } from "@vueuse/core";
|
|
7
|
-
|
|
8
|
-
//#region src/components/search-input/SearchInput.vue
|
|
7
|
+
// src/components/search-input/SearchInput.vue
|
|
9
8
|
var SearchInput_default = /* @__PURE__ */ defineComponent({
|
|
10
9
|
__name: "SearchInput",
|
|
11
10
|
props: /*@__PURE__*/ mergeModels({
|
|
@@ -123,5 +122,4 @@ var SearchInput_default = /* @__PURE__ */ defineComponent({
|
|
|
123
122
|
};
|
|
124
123
|
}
|
|
125
124
|
});
|
|
126
|
-
//#endregion
|
|
127
125
|
export { SearchInput_default as default };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { Fragment, computed, createElementBlock, createElementVNode, defineComponent, openBlock, renderList, toDisplayString } from "vue";
|
|
2
|
-
|
|
2
|
+
// src/components/select/DropdownControl.vue?vue&type=script&setup=true&lang.ts
|
|
3
3
|
var _hoisted_1 = { class: "relative flex min-h-6 items-center gap-2.5" };
|
|
4
4
|
var _hoisted_2 = { class: "text-left font-sans text-xs text-muted-foreground" };
|
|
5
5
|
var _hoisted_3 = ["value"];
|
|
6
6
|
var _hoisted_4 = ["value"];
|
|
7
|
-
|
|
8
|
-
//#region src/components/select/DropdownControl.vue
|
|
7
|
+
// src/components/select/DropdownControl.vue
|
|
9
8
|
var DropdownControl_default = /* @__PURE__ */ defineComponent({
|
|
10
9
|
__name: "DropdownControl",
|
|
11
10
|
props: {
|
|
@@ -44,5 +43,4 @@ var DropdownControl_default = /* @__PURE__ */ defineComponent({
|
|
|
44
43
|
};
|
|
45
44
|
}
|
|
46
45
|
});
|
|
47
|
-
//#endregion
|
|
48
46
|
export { DropdownControl_default as default };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { Select_default as default };
|
|
1
|
+
export { t as default } from "../shared/Select-DtVgv7Po.js";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { SelectContent_default as default };
|
|
1
|
+
export { t as default } from "../shared/SelectContent-Ba1mCDWM.js";
|
|
@@ -2,6 +2,10 @@ import { SelectItemProps } from 'reka-ui';
|
|
|
2
2
|
import { HTMLAttributes } from 'vue';
|
|
3
3
|
type __VLS_Props = SelectItemProps & {
|
|
4
4
|
class?: HTMLAttributes['class'];
|
|
5
|
+
/** Classes for the item's text, which holds the slot. */
|
|
6
|
+
textClass?: HTMLAttributes['class'];
|
|
7
|
+
/** Keeps the check's column on unchecked items too, so text that ends at the right lines up. */
|
|
8
|
+
reserveIndicator?: boolean;
|
|
5
9
|
};
|
|
6
10
|
declare var __VLS_14: {};
|
|
7
11
|
type __VLS_Slots = {} & {
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { SelectItem_default as default };
|
|
1
|
+
export { t as default } from "../shared/SelectItem-DaOr3TFS.js";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { SelectScrollDownButton_default as default };
|
|
1
|
+
export { t as default } from "../shared/SelectScrollDownButton-DYmxtida.js";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { SelectScrollUpButton_default as default };
|
|
1
|
+
export { t as default } from "../shared/SelectScrollUpButton-DiyvSb9O.js";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { SelectTrigger_default as default };
|
|
1
|
+
export { t as default } from "../shared/SelectTrigger-BBicbVsI.js";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { SelectValue_default as default };
|
|
1
|
+
export { t as default } from "../shared/SelectValue-BjaQc-WU.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed, toValue } from "vue";
|
|
2
2
|
import { useFuse } from "@vueuse/integrations/useFuse";
|
|
3
|
-
|
|
3
|
+
// src/components/select/useSelectSearch.ts
|
|
4
4
|
function useSelectSearch(query, options) {
|
|
5
5
|
const { results } = useFuse(query, options, {
|
|
6
6
|
fuseOptions: {
|
|
@@ -11,5 +11,4 @@ function useSelectSearch(query, options) {
|
|
|
11
11
|
});
|
|
12
12
|
return computed(() => query.value.trim() ? results.value.map(({ item }) => item) : toValue(options));
|
|
13
13
|
}
|
|
14
|
-
//#endregion
|
|
15
14
|
export { useSelectSearch };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as cn } from "./src-
|
|
2
|
-
import { t as Button_default } from "./Button-
|
|
1
|
+
import { t as cn } from "./src-DTwuqov4.js";
|
|
2
|
+
import { t as Button_default } from "./Button-Dj_H5v3V.js";
|
|
3
3
|
import { createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
4
4
|
import { cva } from "cva";
|
|
5
|
-
|
|
5
|
+
// src/components/badge/badge.variants.ts
|
|
6
6
|
var badgeVariants = cva({
|
|
7
7
|
base: "inline-flex shrink-0 items-center justify-center gap-1 font-medium whitespace-nowrap",
|
|
8
8
|
variants: {
|
|
@@ -39,8 +39,7 @@ var badgeVariants = cva({
|
|
|
39
39
|
severity: "secondary"
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
|
-
|
|
43
|
-
//#region src/components/badge/Badge.vue
|
|
42
|
+
// src/components/badge/Badge.vue
|
|
44
43
|
var Badge_default = /* @__PURE__ */ defineComponent({
|
|
45
44
|
__name: "Badge",
|
|
46
45
|
props: {
|
|
@@ -88,5 +87,4 @@ var Badge_default = /* @__PURE__ */ defineComponent({
|
|
|
88
87
|
};
|
|
89
88
|
}
|
|
90
89
|
});
|
|
91
|
-
//#endregion
|
|
92
90
|
export { Badge_default as t };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { t as cn } from "./src-
|
|
2
|
-
import { t as TextTooltip_default } from "./TextTooltip-
|
|
1
|
+
import { t as cn } from "./src-DTwuqov4.js";
|
|
2
|
+
import { t as TextTooltip_default } from "./TextTooltip-BNlZI515.js";
|
|
3
3
|
import { Fragment, createBlock, createCommentVNode, createElementBlock, createSlots, createVNode, defineComponent, mergeProps, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, unref, withCtx } from "vue";
|
|
4
4
|
import { Primitive } from "reka-ui";
|
|
5
5
|
import { cva } from "cva";
|
|
6
|
-
|
|
6
|
+
// src/button.variants.ts
|
|
7
7
|
var buttonVariants = cva({
|
|
8
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
9
|
variants: {
|
|
@@ -43,8 +43,7 @@ var buttonVariants = cva({
|
|
|
43
43
|
size: "md"
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
|
-
|
|
47
|
-
//#region src/components/button/Button.vue?vue&type=script&setup=true&lang.ts
|
|
46
|
+
// src/components/button/Button.vue?vue&type=script&setup=true&lang.ts
|
|
48
47
|
var _hoisted_1 = {
|
|
49
48
|
key: 0,
|
|
50
49
|
class: "icon-[lucide--loader-circle] animate-spin",
|
|
@@ -59,8 +58,7 @@ var _hoisted_3 = {
|
|
|
59
58
|
"aria-hidden": "true",
|
|
60
59
|
class: "pointer-events-none absolute -top-1 -right-1 size-2 rounded-full bg-foreground"
|
|
61
60
|
};
|
|
62
|
-
|
|
63
|
-
//#region src/components/button/Button.vue
|
|
61
|
+
// src/components/button/Button.vue
|
|
64
62
|
var Button_default = /* @__PURE__ */ defineComponent({
|
|
65
63
|
inheritAttrs: false,
|
|
66
64
|
__name: "Button",
|
|
@@ -137,5 +135,4 @@ var Button_default = /* @__PURE__ */ defineComponent({
|
|
|
137
135
|
};
|
|
138
136
|
}
|
|
139
137
|
});
|
|
140
|
-
//#endregion
|
|
141
138
|
export { Button_default as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as cn } from "./src-
|
|
1
|
+
import { t as cn } from "./src-DTwuqov4.js";
|
|
2
2
|
import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
3
3
|
import { cva } from "cva";
|
|
4
|
-
|
|
4
|
+
// src/components/card/card.variants.ts
|
|
5
5
|
var cardVariants = cva({
|
|
6
6
|
base: "border",
|
|
7
7
|
variants: { surface: {
|
|
@@ -10,8 +10,7 @@ var cardVariants = cva({
|
|
|
10
10
|
} },
|
|
11
11
|
defaultVariants: { surface: "background" }
|
|
12
12
|
});
|
|
13
|
-
|
|
14
|
-
//#region src/components/card/Card.vue
|
|
13
|
+
// src/components/card/Card.vue
|
|
15
14
|
var Card_default = /* @__PURE__ */ defineComponent({
|
|
16
15
|
__name: "Card",
|
|
17
16
|
props: {
|
|
@@ -30,5 +29,4 @@ var Card_default = /* @__PURE__ */ defineComponent({
|
|
|
30
29
|
};
|
|
31
30
|
}
|
|
32
31
|
});
|
|
33
|
-
//#endregion
|
|
34
32
|
export { Card_default as t };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { t as cn } from "./src-
|
|
1
|
+
import { t as cn } from "./src-DTwuqov4.js";
|
|
2
2
|
import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
3
|
-
|
|
4
|
-
//#region src/components/card/CardFooter.vue
|
|
3
|
+
// src/components/card/CardFooter.vue
|
|
5
4
|
var CardFooter_default = /* @__PURE__ */ defineComponent({
|
|
6
5
|
__name: "CardFooter",
|
|
7
6
|
props: { class: { type: [
|
|
@@ -17,5 +16,4 @@ var CardFooter_default = /* @__PURE__ */ defineComponent({
|
|
|
17
16
|
};
|
|
18
17
|
}
|
|
19
18
|
});
|
|
20
|
-
//#endregion
|
|
21
19
|
export { CardFooter_default as t };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { t as cn } from "./src-
|
|
1
|
+
import { t as cn } from "./src-DTwuqov4.js";
|
|
2
2
|
import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
3
|
-
|
|
4
|
-
//#region src/components/card/CardHeader.vue
|
|
3
|
+
// src/components/card/CardHeader.vue
|
|
5
4
|
var CardHeader_default = /* @__PURE__ */ defineComponent({
|
|
6
5
|
__name: "CardHeader",
|
|
7
6
|
props: { class: { type: [
|
|
@@ -17,5 +16,4 @@ var CardHeader_default = /* @__PURE__ */ defineComponent({
|
|
|
17
16
|
};
|
|
18
17
|
}
|
|
19
18
|
});
|
|
20
|
-
//#endregion
|
|
21
19
|
export { CardHeader_default as t };
|