@comfyorg/design-system 1.2.0 → 1.3.0-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -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 +49 -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 +2 -4
- 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/_mask-editor.css +0 -1
- package/src/css/component-support.css +69 -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 +243 -0
- package/src/css/themes/void.css +102 -0
- package/src/icons/README.md +41 -84
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { Transition, computed, createBlock, defineComponent, onMounted, openBlock, ref, renderSlot, withCtx } from "vue";
|
|
2
|
+
// src/components/transition/TransitionCollapse.vue?vue&type=script&setup=true&lang.ts
|
|
3
|
+
var closed = "0px";
|
|
4
|
+
// src/components/transition/TransitionCollapse.vue
|
|
5
|
+
var TransitionCollapse_default = /* @__PURE__ */ defineComponent({
|
|
6
|
+
__name: "TransitionCollapse",
|
|
7
|
+
props: {
|
|
8
|
+
duration: { default: 150 },
|
|
9
|
+
easingEnter: { default: "ease-in-out" },
|
|
10
|
+
easingLeave: { default: "ease-in-out" },
|
|
11
|
+
opacityClosed: { default: 0 },
|
|
12
|
+
opacityOpened: { default: 1 },
|
|
13
|
+
disable: { type: Boolean }
|
|
14
|
+
},
|
|
15
|
+
setup(__props) {
|
|
16
|
+
const isMounted = ref(false);
|
|
17
|
+
onMounted(() => isMounted.value = true);
|
|
18
|
+
const animationDuration = computed(() => isMounted.value && !__props.disable ? __props.duration : 0);
|
|
19
|
+
function getElementStyle(element) {
|
|
20
|
+
return {
|
|
21
|
+
height: element.style.height,
|
|
22
|
+
width: element.style.width,
|
|
23
|
+
position: element.style.position,
|
|
24
|
+
visibility: element.style.visibility,
|
|
25
|
+
overflow: element.style.overflow,
|
|
26
|
+
paddingTop: element.style.paddingTop,
|
|
27
|
+
paddingBottom: element.style.paddingBottom,
|
|
28
|
+
borderTopWidth: element.style.borderTopWidth,
|
|
29
|
+
borderBottomWidth: element.style.borderBottomWidth,
|
|
30
|
+
marginTop: element.style.marginTop,
|
|
31
|
+
marginBottom: element.style.marginBottom
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
function prepareElement(element, initialStyle) {
|
|
35
|
+
const { width } = getComputedStyle(element);
|
|
36
|
+
element.style.width = width;
|
|
37
|
+
element.style.position = "absolute";
|
|
38
|
+
element.style.visibility = "hidden";
|
|
39
|
+
element.style.height = "";
|
|
40
|
+
const { height } = getComputedStyle(element);
|
|
41
|
+
element.style.width = initialStyle.width;
|
|
42
|
+
element.style.position = initialStyle.position;
|
|
43
|
+
element.style.visibility = initialStyle.visibility;
|
|
44
|
+
element.style.height = closed;
|
|
45
|
+
element.style.overflow = "hidden";
|
|
46
|
+
return initialStyle.height && initialStyle.height !== closed ? initialStyle.height : height;
|
|
47
|
+
}
|
|
48
|
+
function animateTransition(element, initialStyle, done, keyframes, options) {
|
|
49
|
+
const animation = element.animate(keyframes, options);
|
|
50
|
+
element.style.height = initialStyle.height;
|
|
51
|
+
animation.onfinish = () => {
|
|
52
|
+
element.style.overflow = initialStyle.overflow;
|
|
53
|
+
done();
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
function getEnterKeyframes(height, initialStyle) {
|
|
57
|
+
return [{
|
|
58
|
+
height: closed,
|
|
59
|
+
opacity: __props.opacityClosed,
|
|
60
|
+
paddingTop: closed,
|
|
61
|
+
paddingBottom: closed,
|
|
62
|
+
borderTopWidth: closed,
|
|
63
|
+
borderBottomWidth: closed,
|
|
64
|
+
marginTop: closed,
|
|
65
|
+
marginBottom: closed
|
|
66
|
+
}, {
|
|
67
|
+
height,
|
|
68
|
+
opacity: __props.opacityOpened,
|
|
69
|
+
paddingTop: initialStyle.paddingTop,
|
|
70
|
+
paddingBottom: initialStyle.paddingBottom,
|
|
71
|
+
borderTopWidth: initialStyle.borderTopWidth,
|
|
72
|
+
borderBottomWidth: initialStyle.borderBottomWidth,
|
|
73
|
+
marginTop: initialStyle.marginTop,
|
|
74
|
+
marginBottom: initialStyle.marginBottom
|
|
75
|
+
}];
|
|
76
|
+
}
|
|
77
|
+
function enterTransition(element, done) {
|
|
78
|
+
const HTMLElement = element;
|
|
79
|
+
const initialStyle = getElementStyle(HTMLElement);
|
|
80
|
+
animateTransition(HTMLElement, initialStyle, done, getEnterKeyframes(prepareElement(HTMLElement, initialStyle), initialStyle), {
|
|
81
|
+
duration: animationDuration.value,
|
|
82
|
+
easing: __props.easingEnter
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
function leaveTransition(element, done) {
|
|
86
|
+
const HTMLElement = element;
|
|
87
|
+
const initialStyle = getElementStyle(HTMLElement);
|
|
88
|
+
const { height } = getComputedStyle(HTMLElement);
|
|
89
|
+
HTMLElement.style.height = height;
|
|
90
|
+
HTMLElement.style.overflow = "hidden";
|
|
91
|
+
animateTransition(HTMLElement, initialStyle, done, getEnterKeyframes(height, initialStyle).reverse(), {
|
|
92
|
+
duration: animationDuration.value,
|
|
93
|
+
easing: __props.easingLeave
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
return (_ctx, _cache) => {
|
|
97
|
+
return openBlock(), createBlock(Transition, {
|
|
98
|
+
css: false,
|
|
99
|
+
onEnter: enterTransition,
|
|
100
|
+
onLeave: leaveTransition
|
|
101
|
+
}, {
|
|
102
|
+
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
103
|
+
_: 3
|
|
104
|
+
});
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
export { TransitionCollapse_default as t };
|
package/dist/shared/{_plugin-vue_export-helper-BOaGB7Aw.js → _plugin-vue_export-helper-DjkACiAr.js}
RENAMED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
// \0plugin-vue:export-helper
|
|
2
2
|
var _plugin_vue_export_helper_default = (sfc, props) => {
|
|
3
3
|
const target = sfc.__vccOpts || sfc;
|
|
4
4
|
for (const [key, val] of props) target[key] = val;
|
|
5
5
|
return target;
|
|
6
6
|
};
|
|
7
|
-
//#endregion
|
|
8
7
|
export { _plugin_vue_export_helper_default as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cva } from "cva";
|
|
2
|
-
|
|
2
|
+
// src/components/search-input/searchInput.variants.ts
|
|
3
3
|
var searchInputVariants = cva({
|
|
4
4
|
base: "relative flex w-full cursor-text items-center rounded-lg bg-secondary text-foreground focus-within:ring-1 focus-within:ring-ring",
|
|
5
5
|
variants: {
|
|
@@ -43,5 +43,4 @@ var searchInputSizeConfig = {
|
|
|
43
43
|
clearPos: "left-2"
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
|
-
//#endregion
|
|
47
46
|
export { searchInputVariants as n, searchInputSizeConfig as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cva } from "cva";
|
|
2
|
-
|
|
2
|
+
// src/select.variants.ts
|
|
3
3
|
var selectTriggerVariants = cva({
|
|
4
4
|
base: "relative inline-flex cursor-pointer items-center rounded-lg border-[2.5px] border-solid bg-secondary text-foreground transition-all duration-200 ease-in-out outline-none select-none hover:bg-accent disabled:cursor-default disabled:opacity-30 disabled:hover:bg-secondary",
|
|
5
5
|
variants: {
|
|
@@ -36,5 +36,4 @@ function stopEscapeToDocument(event) {
|
|
|
36
36
|
event.stopImmediatePropagation();
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
//#endregion
|
|
40
39
|
export { selectItemVariants as a, selectEmptyMessageClass as i, selectCountBadgeClass as n, selectTriggerVariants as o, selectDropdownClass as r, stopEscapeToDocument as s, selectContentClass as t };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { clsx } from "clsx";
|
|
2
2
|
import { extendTailwindMerge } from "tailwind-merge";
|
|
3
|
-
|
|
3
|
+
// ../tailwind-utils/src/index.ts
|
|
4
4
|
var twMerge = extendTailwindMerge({ extend: { classGroups: {
|
|
5
5
|
"font-size": ["text-xxs", "text-xxxs"],
|
|
6
6
|
"max-h": [{ "max-h": ["none"] }]
|
|
@@ -8,5 +8,4 @@ var twMerge = extendTailwindMerge({ extend: { classGroups: {
|
|
|
8
8
|
function cn(...inputs) {
|
|
9
9
|
return twMerge(clsx(inputs));
|
|
10
10
|
}
|
|
11
|
-
//#endregion
|
|
12
11
|
export { cn as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cva } from "cva";
|
|
2
|
-
|
|
2
|
+
// src/components/tabs/tabs.variants.ts
|
|
3
3
|
var tabsListVariants = cva({
|
|
4
4
|
base: "inline-flex items-center gap-2",
|
|
5
5
|
variants: { variant: {
|
|
@@ -19,5 +19,4 @@ var tabsTriggerVariants = cva({
|
|
|
19
19
|
} },
|
|
20
20
|
defaultVariants: { variant: "default" }
|
|
21
21
|
});
|
|
22
|
-
//#endregion
|
|
23
22
|
export { tabsTriggerVariants as n, tabsListVariants as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cva } from "cva";
|
|
2
|
-
|
|
2
|
+
// src/tag.variants.ts
|
|
3
3
|
var tagVariants = cva({
|
|
4
4
|
base: "inline-flex h-6 max-w-full shrink-0 items-center justify-center gap-1 text-xs ring-offset-background backdrop-blur-sm data-[selected=true]:ring-2 data-[selected=true]:ring-foreground data-[selected=true]:ring-offset-1 data-[state=active]:ring-2 data-[state=active]:ring-foreground data-[state=active]:ring-offset-1 [&.ProseMirror-selectednode]:ring-2 [&.ProseMirror-selectednode]:ring-foreground [&.ProseMirror-selectednode]:ring-offset-1",
|
|
5
5
|
variants: {
|
|
@@ -30,5 +30,4 @@ var tagVariants = cva({
|
|
|
30
30
|
}
|
|
31
31
|
});
|
|
32
32
|
var tagRemoveButtonVariants = cva({ base: "w-4 overflow-hidden transition-[opacity,width] duration-150 hover:bg-transparent hover:opacity-100 data-disabled:pointer-events-none data-disabled:w-0 data-disabled:opacity-0" });
|
|
33
|
-
//#endregion
|
|
34
33
|
export { tagVariants as n, tagRemoveButtonVariants as t };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/components/tags-input/tagsInputContext.ts
|
|
2
2
|
var tagsInputFocusKey = Symbol("tagsInputFocus");
|
|
3
3
|
var tagsInputIsEditingKey = Symbol("tagsInputIsEditing");
|
|
4
|
-
//#endregion
|
|
5
4
|
export { tagsInputIsEditingKey as n, tagsInputFocusKey as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { cva } from "cva";
|
|
2
|
-
|
|
2
|
+
// src/components/toggle-group/toggleGroup.variants.ts
|
|
3
3
|
var toggleGroupVariantKey = Symbol("toggleGroupVariant");
|
|
4
4
|
var toggleGroupVariants = cva({
|
|
5
5
|
base: "flex items-center justify-center gap-1",
|
|
@@ -35,5 +35,4 @@ var toggleGroupItemVariants = cva({
|
|
|
35
35
|
size: "default"
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
|
-
//#endregion
|
|
39
38
|
export { toggleGroupVariantKey as n, toggleGroupVariants as r, toggleGroupItemVariants as t };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { SearchableSingleSelect_default as default };
|
|
1
|
+
export { t as default } from "../shared/SearchableSingleSelect-DQauLQWW.js";
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import { t as
|
|
2
|
-
import { a as selectItemVariants, o as selectTriggerVariants, r as selectDropdownClass, s as stopEscapeToDocument, t as selectContentClass } from "../shared/select.variants-BPn5Z7N1.js";
|
|
1
|
+
import { a as selectItemVariants, o as selectTriggerVariants, r as selectDropdownClass, s as stopEscapeToDocument, t as selectContentClass } from "../shared/select.variants-cRXaATWS.js";
|
|
3
2
|
import { useAttrsClass } from "../composables/useAttrsClass.js";
|
|
4
3
|
import { usePopoverSizing } from "../composables/usePopoverSizing.js";
|
|
5
|
-
import { t as
|
|
4
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
5
|
+
import { t as SearchableSingleSelect_default } from "../shared/SearchableSingleSelect-DQauLQWW.js";
|
|
6
6
|
import { Fragment, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useModel, withCtx } from "vue";
|
|
7
7
|
import { SelectContent, SelectItem, SelectItemIndicator, SelectItemText, SelectPortal, SelectRoot, SelectTrigger, SelectValue, SelectViewport } from "reka-ui";
|
|
8
|
-
|
|
8
|
+
// src/components/single-select/SingleSelect.vue?vue&type=script&setup=true&lang.ts
|
|
9
9
|
var _hoisted_1 = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "icon-[lucide--loader-circle] animate-spin text-muted-foreground"
|
|
12
12
|
};
|
|
13
|
-
|
|
14
|
-
//#region src/components/single-select/SingleSelect.vue
|
|
13
|
+
// src/components/single-select/SingleSelect.vue
|
|
15
14
|
var SingleSelect_default = /* @__PURE__ */ defineComponent({
|
|
16
15
|
inheritAttrs: false,
|
|
17
16
|
__name: "SingleSelect",
|
|
@@ -183,5 +182,4 @@ var SingleSelect_default = /* @__PURE__ */ defineComponent({
|
|
|
183
182
|
};
|
|
184
183
|
}
|
|
185
184
|
});
|
|
186
|
-
//#endregion
|
|
187
185
|
export { SingleSelect_default as default };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
2
|
import { createElementBlock, defineComponent, normalizeClass, openBlock, unref } from "vue";
|
|
3
|
-
|
|
4
|
-
//#region src/components/skeleton/Skeleton.vue
|
|
3
|
+
// src/components/skeleton/Skeleton.vue
|
|
5
4
|
var Skeleton_default = /* @__PURE__ */ defineComponent({
|
|
6
5
|
__name: "Skeleton",
|
|
7
6
|
props: { class: { type: [
|
|
@@ -20,5 +19,4 @@ var Skeleton_default = /* @__PURE__ */ defineComponent({
|
|
|
20
19
|
};
|
|
21
20
|
}
|
|
22
21
|
});
|
|
23
|
-
//#endregion
|
|
24
22
|
export { Skeleton_default as default };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ColorStop } from './gradients';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
stops: ColorStop[];
|
|
4
|
+
min?: number;
|
|
5
|
+
max?: number;
|
|
6
|
+
step?: number;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
ariaLabel?: string;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_ModelProps = {
|
|
11
|
+
modelValue: number;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
14
|
+
declare const __VLS_export: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
15
|
+
"update:modelValue": (value: number) => any;
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
17
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
declare const _default: typeof __VLS_export;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
|
+
import { computed, createBlock, createVNode, defineComponent, mergeModels, normalizeClass, normalizeStyle, openBlock, ref, unref, useModel, withCtx } from "vue";
|
|
3
|
+
import { SliderRoot, SliderThumb, SliderTrack } from "reka-ui";
|
|
4
|
+
// src/components/slider/gradients.ts
|
|
5
|
+
function stopsToGradient(stops) {
|
|
6
|
+
if (!stops.length) return "transparent";
|
|
7
|
+
return `linear-gradient(to right, ${stops.map(({ offset, color: [r, g, b] }) => `rgb(${r},${g},${b}) ${offset * 100}%`).join(", ")})`;
|
|
8
|
+
}
|
|
9
|
+
function interpolateStops(stops, t) {
|
|
10
|
+
if (!stops.length) return "transparent";
|
|
11
|
+
const clamped = Math.max(0, Math.min(1, t));
|
|
12
|
+
if (clamped <= stops[0].offset) {
|
|
13
|
+
const [r, g, b] = stops[0].color;
|
|
14
|
+
return `rgb(${r},${g},${b})`;
|
|
15
|
+
}
|
|
16
|
+
for (let i = 0; i < stops.length - 1; i++) {
|
|
17
|
+
const { offset: o1, color: [r1, g1, b1] } = stops[i];
|
|
18
|
+
const { offset: o2, color: [r2, g2, b2] } = stops[i + 1];
|
|
19
|
+
if (clamped >= o1 && clamped <= o2) {
|
|
20
|
+
const f = o2 === o1 ? 0 : (clamped - o1) / (o2 - o1);
|
|
21
|
+
return `rgb(${Math.round(r1 + (r2 - r1) * f)},${Math.round(g1 + (g2 - g1) * f)},${Math.round(b1 + (b2 - b1) * f)})`;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
const [r, g, b] = stops[stops.length - 1].color;
|
|
25
|
+
return `rgb(${r},${g},${b})`;
|
|
26
|
+
}
|
|
27
|
+
// src/components/slider/GradientSlider.vue
|
|
28
|
+
var GradientSlider_default = /* @__PURE__ */ defineComponent({
|
|
29
|
+
__name: "GradientSlider",
|
|
30
|
+
props: /*@__PURE__*/ mergeModels({
|
|
31
|
+
stops: {},
|
|
32
|
+
min: { default: 0 },
|
|
33
|
+
max: { default: 100 },
|
|
34
|
+
step: { default: 1 },
|
|
35
|
+
disabled: {
|
|
36
|
+
type: Boolean,
|
|
37
|
+
default: false
|
|
38
|
+
},
|
|
39
|
+
ariaLabel: {}
|
|
40
|
+
}, {
|
|
41
|
+
"modelValue": { required: true },
|
|
42
|
+
"modelModifiers": {}
|
|
43
|
+
}),
|
|
44
|
+
emits: ["update:modelValue"],
|
|
45
|
+
setup(__props) {
|
|
46
|
+
const modelValue = useModel(__props, "modelValue");
|
|
47
|
+
const sliderValue = computed({
|
|
48
|
+
get: () => [modelValue.value],
|
|
49
|
+
set: (v) => {
|
|
50
|
+
if (v.length) modelValue.value = v[0];
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
const gradient = computed(() => stopsToGradient(__props.stops));
|
|
54
|
+
const thumbColor = computed(() => {
|
|
55
|
+
const t = __props.max === __props.min ? 0 : (modelValue.value - __props.min) / (__props.max - __props.min);
|
|
56
|
+
return interpolateStops(__props.stops, t);
|
|
57
|
+
});
|
|
58
|
+
const pressed = ref(false);
|
|
59
|
+
return (_ctx, _cache) => {
|
|
60
|
+
return openBlock(), createBlock(unref(SliderRoot), {
|
|
61
|
+
modelValue: sliderValue.value,
|
|
62
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => sliderValue.value = $event),
|
|
63
|
+
min: __props.min,
|
|
64
|
+
max: __props.max,
|
|
65
|
+
step: __props.step,
|
|
66
|
+
disabled: __props.disabled,
|
|
67
|
+
class: normalizeClass(unref(cn)("relative flex w-full touch-none items-center select-none", "data-disabled:opacity-50")),
|
|
68
|
+
style: { "--reka-slider-thumb-transform": "translate(-50%, -50%)" },
|
|
69
|
+
onSlideStart: _cache[1] || (_cache[1] = ($event) => pressed.value = true),
|
|
70
|
+
onSlideMove: _cache[2] || (_cache[2] = ($event) => pressed.value = true),
|
|
71
|
+
onSlideEnd: _cache[3] || (_cache[3] = ($event) => pressed.value = false)
|
|
72
|
+
}, {
|
|
73
|
+
default: withCtx(() => [createVNode(unref(SliderTrack), {
|
|
74
|
+
class: normalizeClass(unref(cn)("relative h-2.5 w-full grow cursor-pointer overflow-visible rounded-full", "before:absolute before:-inset-2 before:block before:bg-transparent")),
|
|
75
|
+
style: normalizeStyle({ background: gradient.value })
|
|
76
|
+
}, {
|
|
77
|
+
default: withCtx(() => [createVNode(unref(SliderThumb), {
|
|
78
|
+
class: normalizeClass(unref(cn)("top-1/2 block size-4 shrink-0 cursor-grab rounded-full shadow-md ring-1 ring-black/25", "transition-[color,box-shadow,background-color]", "before:absolute before:-inset-1.5 before:block before:rounded-full before:bg-transparent", "hover:ring-2 hover:ring-black/40 focus-visible:ring-2 focus-visible:ring-black/40 focus-visible:outline-hidden", "disabled:pointer-events-none disabled:opacity-50", { "cursor-grabbing": pressed.value })),
|
|
79
|
+
style: normalizeStyle({ backgroundColor: thumbColor.value }),
|
|
80
|
+
"aria-label": __props.ariaLabel
|
|
81
|
+
}, null, 8, [
|
|
82
|
+
"class",
|
|
83
|
+
"style",
|
|
84
|
+
"aria-label"
|
|
85
|
+
])]),
|
|
86
|
+
_: 1
|
|
87
|
+
}, 8, ["class", "style"])]),
|
|
88
|
+
_: 1
|
|
89
|
+
}, 8, [
|
|
90
|
+
"modelValue",
|
|
91
|
+
"min",
|
|
92
|
+
"max",
|
|
93
|
+
"step",
|
|
94
|
+
"disabled",
|
|
95
|
+
"class"
|
|
96
|
+
]);
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
export { GradientSlider_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 { Fragment, createBlock, createElementBlock, createVNode, defineComponent, mergeProps, normalizeClass, openBlock, ref, renderList, unref, withCtx } from "vue";
|
|
3
3
|
import { SliderRange, SliderRoot, SliderThumb, SliderTrack, useForwardPropsEmits } from "reka-ui";
|
|
4
4
|
import { reactiveOmit } from "@vueuse/core";
|
|
5
|
-
|
|
6
|
-
//#region src/components/slider/Slider.vue
|
|
5
|
+
// src/components/slider/Slider.vue
|
|
7
6
|
var Slider_default = /* @__PURE__ */ defineComponent({
|
|
8
7
|
__name: "Slider",
|
|
9
8
|
props: {
|
|
@@ -84,5 +83,4 @@ var Slider_default = /* @__PURE__ */ defineComponent({
|
|
|
84
83
|
};
|
|
85
84
|
}
|
|
86
85
|
});
|
|
87
|
-
//#endregion
|
|
88
86
|
export { Slider_default as default };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface ColorStop {
|
|
2
|
+
readonly offset: number;
|
|
3
|
+
readonly color: readonly [r: number, g: number, b: number];
|
|
4
|
+
}
|
|
5
|
+
export declare function stopsToGradient(stops: ColorStop[]): string;
|
|
6
|
+
export declare function interpolateStops(stops: ColorStop[], t: number): string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
2
|
import { createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock, unref } from "vue";
|
|
3
|
-
|
|
4
|
-
//#region src/components/spinner/Spinner.vue
|
|
3
|
+
// src/components/spinner/Spinner.vue
|
|
5
4
|
var Spinner_default = /* @__PURE__ */ defineComponent({
|
|
6
5
|
__name: "Spinner",
|
|
7
6
|
props: { class: {
|
|
@@ -37,5 +36,4 @@ var Spinner_default = /* @__PURE__ */ defineComponent({
|
|
|
37
36
|
};
|
|
38
37
|
}
|
|
39
38
|
});
|
|
40
|
-
//#endregion
|
|
41
39
|
export { Spinner_default as default };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
2
|
import { createBlock, createPropsRestProxy, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
3
3
|
import { SplitterGroup, useForwardPropsEmits } from "reka-ui";
|
|
4
|
-
|
|
5
|
-
//#region src/components/splitter/SplitterGroup.vue
|
|
4
|
+
// src/components/splitter/SplitterGroup.vue
|
|
6
5
|
var SplitterGroup_default = /* @__PURE__ */ defineComponent({
|
|
7
6
|
__name: "SplitterGroup",
|
|
8
7
|
props: {
|
|
@@ -36,5 +35,4 @@ var SplitterGroup_default = /* @__PURE__ */ defineComponent({
|
|
|
36
35
|
};
|
|
37
36
|
}
|
|
38
37
|
});
|
|
39
|
-
//#endregion
|
|
40
38
|
export { SplitterGroup_default as default };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
2
|
import { createBlock, createPropsRestProxy, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
3
3
|
import { SplitterPanel, useForwardExpose, useForwardPropsEmits } from "reka-ui";
|
|
4
|
-
|
|
5
|
-
//#region src/components/splitter/SplitterPanel.vue
|
|
4
|
+
// src/components/splitter/SplitterPanel.vue
|
|
6
5
|
var SplitterPanel_default = /* @__PURE__ */ defineComponent({
|
|
7
6
|
__name: "SplitterPanel",
|
|
8
7
|
props: {
|
|
@@ -41,5 +40,4 @@ var SplitterPanel_default = /* @__PURE__ */ defineComponent({
|
|
|
41
40
|
};
|
|
42
41
|
}
|
|
43
42
|
});
|
|
44
|
-
//#endregion
|
|
45
43
|
export { SplitterPanel_default as default };
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
2
|
import { createBlock, createPropsRestProxy, defineComponent, mergeProps, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
3
3
|
import { SplitterResizeHandle, useForwardPropsEmits } from "reka-ui";
|
|
4
|
-
|
|
5
|
-
//#region src/components/splitter/SplitterResizeHandle.vue
|
|
4
|
+
// src/components/splitter/SplitterResizeHandle.vue
|
|
6
5
|
var SplitterResizeHandle_default = /* @__PURE__ */ defineComponent({
|
|
7
6
|
__name: "SplitterResizeHandle",
|
|
8
7
|
props: {
|
|
@@ -33,5 +32,4 @@ var SplitterResizeHandle_default = /* @__PURE__ */ defineComponent({
|
|
|
33
32
|
};
|
|
34
33
|
}
|
|
35
34
|
});
|
|
36
|
-
//#endregion
|
|
37
35
|
export { SplitterResizeHandle_default as default };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { Switch_default as default };
|
|
1
|
+
export { t as default } from "../shared/Switch-qavkHWMz.js";
|
package/dist/tab/Tab.vue.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
2
|
-
import { t as TAB_LIST_INJECTION_KEY } from "../shared/tabKeys-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
|
+
import { t as TAB_LIST_INJECTION_KEY } from "../shared/tabKeys-CP6c3wTY.js";
|
|
3
3
|
import { computed, createElementBlock, defineComponent, inject, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
4
4
|
import { cva } from "cva";
|
|
5
|
-
|
|
5
|
+
// src/components/tab/tab.variants.ts
|
|
6
6
|
var tabStateVariants = cva({
|
|
7
7
|
base: "cursor-pointer rounded-lg border-none text-sm outline-hidden transition-all duration-200 focus-visible:ring-1 focus-visible:ring-ring",
|
|
8
8
|
variants: { active: {
|
|
@@ -11,8 +11,7 @@ var tabStateVariants = cva({
|
|
|
11
11
|
} },
|
|
12
12
|
defaultVariants: { active: false }
|
|
13
13
|
});
|
|
14
|
-
|
|
15
|
-
//#region src/components/tab/Tab.vue?vue&type=script&setup=true&lang.ts
|
|
14
|
+
// src/components/tab/Tab.vue?vue&type=script&setup=true&lang.ts
|
|
16
15
|
var _hoisted_1 = [
|
|
17
16
|
"id",
|
|
18
17
|
"aria-selected",
|
|
@@ -20,8 +19,7 @@ var _hoisted_1 = [
|
|
|
20
19
|
"data-state",
|
|
21
20
|
"tabindex"
|
|
22
21
|
];
|
|
23
|
-
|
|
24
|
-
//#region src/components/tab/Tab.vue
|
|
22
|
+
// src/components/tab/Tab.vue
|
|
25
23
|
var Tab_default = /* @__PURE__ */ defineComponent({
|
|
26
24
|
__name: "Tab",
|
|
27
25
|
props: {
|
|
@@ -72,5 +70,4 @@ var Tab_default = /* @__PURE__ */ defineComponent({
|
|
|
72
70
|
};
|
|
73
71
|
}
|
|
74
72
|
});
|
|
75
|
-
//#endregion
|
|
76
73
|
export { Tab_default as default };
|
package/dist/tab/TabList.vue.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
2
|
-
import { t as TAB_LIST_INJECTION_KEY } from "../shared/tabKeys-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
|
+
import { t as TAB_LIST_INJECTION_KEY } from "../shared/tabKeys-CP6c3wTY.js";
|
|
3
3
|
import { createElementBlock, defineComponent, mergeModels, normalizeClass, openBlock, provide, renderSlot, unref, useModel } from "vue";
|
|
4
|
-
|
|
5
|
-
//#region src/components/tab/TabList.vue
|
|
4
|
+
// src/components/tab/TabList.vue
|
|
6
5
|
var TabList_default = /* @__PURE__ */ defineComponent({
|
|
7
6
|
__name: "TabList",
|
|
8
7
|
props: /*@__PURE__*/ mergeModels({ class: { default: "" } }, {
|
|
@@ -27,5 +26,4 @@ var TabList_default = /* @__PURE__ */ defineComponent({
|
|
|
27
26
|
};
|
|
28
27
|
}
|
|
29
28
|
});
|
|
30
|
-
//#endregion
|
|
31
29
|
export { TabList_default as default };
|
package/dist/tab/TabPanel.vue.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { t as TAB_LIST_INJECTION_KEY } from "../shared/tabKeys-
|
|
1
|
+
import { t as TAB_LIST_INJECTION_KEY } from "../shared/tabKeys-CP6c3wTY.js";
|
|
2
2
|
import { computed, createCommentVNode, createElementBlock, defineComponent, inject, openBlock, renderSlot } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/components/tab/TabPanel.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var _hoisted_1 = ["id", "aria-labelledby"];
|
|
5
|
-
|
|
6
|
-
//#region src/components/tab/TabPanel.vue
|
|
5
|
+
// src/components/tab/TabPanel.vue
|
|
7
6
|
var TabPanel_default = /* @__PURE__ */ defineComponent({
|
|
8
7
|
__name: "TabPanel",
|
|
9
8
|
props: {
|
|
@@ -24,5 +23,4 @@ var TabPanel_default = /* @__PURE__ */ defineComponent({
|
|
|
24
23
|
};
|
|
25
24
|
}
|
|
26
25
|
});
|
|
27
|
-
//#endregion
|
|
28
26
|
export { TabPanel_default as default };
|
package/dist/table/Table.vue.js
CHANGED
|
@@ -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 { createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
3
|
-
|
|
3
|
+
// src/components/table/Table.vue?vue&type=script&setup=true&lang.ts
|
|
4
4
|
var _hoisted_1 = { class: "w-full table-fixed caption-bottom border-separate border-spacing-0 text-sm" };
|
|
5
|
-
|
|
6
|
-
//#region src/components/table/Table.vue
|
|
5
|
+
// src/components/table/Table.vue
|
|
7
6
|
var Table_default = /* @__PURE__ */ defineComponent({
|
|
8
7
|
__name: "Table",
|
|
9
8
|
props: { class: { type: [
|
|
@@ -19,5 +18,4 @@ var Table_default = /* @__PURE__ */ defineComponent({
|
|
|
19
18
|
};
|
|
20
19
|
}
|
|
21
20
|
});
|
|
22
|
-
//#endregion
|
|
23
21
|
export { Table_default as default };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
2
|
import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
3
|
-
|
|
4
|
-
//#region src/components/table/TableBody.vue
|
|
3
|
+
// src/components/table/TableBody.vue
|
|
5
4
|
var TableBody_default = /* @__PURE__ */ defineComponent({
|
|
6
5
|
__name: "TableBody",
|
|
7
6
|
props: { class: { type: [
|
|
@@ -17,5 +16,4 @@ var TableBody_default = /* @__PURE__ */ defineComponent({
|
|
|
17
16
|
};
|
|
18
17
|
}
|
|
19
18
|
});
|
|
20
|
-
//#endregion
|
|
21
19
|
export { TableBody_default as default };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { t as cn } from "../shared/src-
|
|
1
|
+
import { t as cn } from "../shared/src-DTwuqov4.js";
|
|
2
2
|
import { createElementBlock, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
3
|
-
|
|
4
|
-
//#region src/components/table/TableCell.vue
|
|
3
|
+
// src/components/table/TableCell.vue
|
|
5
4
|
var TableCell_default = /* @__PURE__ */ defineComponent({
|
|
6
5
|
__name: "TableCell",
|
|
7
6
|
props: { class: { type: [
|
|
@@ -17,5 +16,4 @@ var TableCell_default = /* @__PURE__ */ defineComponent({
|
|
|
17
16
|
};
|
|
18
17
|
}
|
|
19
18
|
});
|
|
20
|
-
//#endregion
|
|
21
19
|
export { TableCell_default as default };
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export { TableHead_default as default };
|
|
1
|
+
export { t as default } from "../shared/TableHead-DpsXVMzk.js";
|