@exegia/corpora-ui 3.1.0 → 4.0.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/dist-lib/autocomplete-DzjspdKa.js +151 -0
- package/dist-lib/base-CiR7nLAD.js +37 -0
- package/dist-lib/breadcrumb-DtFOhTfs.js +83 -0
- package/dist-lib/{button-CIRkQXA6.js → button-DDBbG_zF.js} +34 -43
- package/dist-lib/button.js +1 -1
- package/dist-lib/calendar-Dyut8HPa.js +62 -0
- package/dist-lib/checkbox-group-B0BPFc-K.js +12 -0
- package/dist-lib/combobox-BwfmU1S_.js +267 -0
- package/dist-lib/components/blocks/sidebar-primitives/content.d.ts +2 -0
- package/dist-lib/components/blocks/sidebar-primitives/context.d.ts +2 -0
- package/dist-lib/components/blocks/sidebar-primitives/footer.d.ts +2 -0
- package/dist-lib/components/blocks/sidebar-primitives/group-action.d.ts +3 -0
- package/dist-lib/components/blocks/sidebar-primitives/group-content.d.ts +2 -0
- package/dist-lib/components/blocks/sidebar-primitives/group-label.d.ts +3 -0
- package/dist-lib/components/blocks/sidebar-primitives/group.d.ts +2 -0
- package/dist-lib/components/blocks/sidebar-primitives/header.d.ts +2 -0
- package/dist-lib/components/blocks/sidebar-primitives/index.d.ts +26 -0
- package/dist-lib/components/blocks/sidebar-primitives/input.d.ts +3 -0
- package/dist-lib/components/blocks/sidebar-primitives/inset.d.ts +2 -0
- package/dist-lib/components/blocks/sidebar-primitives/menu-action.d.ts +5 -0
- package/dist-lib/components/blocks/sidebar-primitives/menu-badge.d.ts +2 -0
- package/dist-lib/components/blocks/sidebar-primitives/menu-button.d.ts +9 -0
- package/dist-lib/components/blocks/sidebar-primitives/menu-item.d.ts +2 -0
- package/dist-lib/components/blocks/sidebar-primitives/menu-skeleton.d.ts +4 -0
- package/dist-lib/components/blocks/sidebar-primitives/menu-sub-button.d.ts +6 -0
- package/dist-lib/components/blocks/sidebar-primitives/menu-sub-item.d.ts +2 -0
- package/dist-lib/components/blocks/sidebar-primitives/menu-sub.d.ts +2 -0
- package/dist-lib/components/blocks/sidebar-primitives/menu.d.ts +2 -0
- package/dist-lib/components/blocks/sidebar-primitives/provider.d.ts +3 -0
- package/dist-lib/components/blocks/sidebar-primitives/rail.d.ts +2 -0
- package/dist-lib/components/blocks/sidebar-primitives/separator.d.ts +3 -0
- package/dist-lib/components/blocks/sidebar-primitives/sidebar-atom.d.ts +32 -0
- package/dist-lib/components/blocks/sidebar-primitives/sidebar.d.ts +6 -0
- package/dist-lib/components/blocks/sidebar-primitives/trigger.d.ts +3 -0
- package/dist-lib/components/blocks/sidebar-primitives/types.d.ts +26 -0
- package/dist-lib/components/blocks/sidebar-primitives/use-mobile.d.ts +1 -0
- package/dist-lib/components/blocks/sidebar-primitives/use-sidebar.d.ts +4 -0
- package/dist-lib/components/blocks/sidebar-primitives/utils.d.ts +10 -0
- package/dist-lib/components/ui/alert.d.ts +1 -1
- package/dist-lib/components/ui/badge.d.ts +2 -2
- package/dist-lib/components/ui/breadcrumb/base.d.ts +2 -0
- package/dist-lib/components/ui/breadcrumb/ellipsis.d.ts +2 -0
- package/dist-lib/components/ui/breadcrumb/index.d.ts +7 -0
- package/dist-lib/components/ui/breadcrumb/item.d.ts +2 -0
- package/dist-lib/components/ui/breadcrumb/link.d.ts +3 -0
- package/dist-lib/components/ui/breadcrumb/list.d.ts +2 -0
- package/dist-lib/components/ui/breadcrumb/page.d.ts +2 -0
- package/dist-lib/components/ui/breadcrumb/separator.d.ts +2 -0
- package/dist-lib/components/ui/button.d.ts +2 -2
- package/dist-lib/components/ui/calendar/base.d.ts +3 -0
- package/dist-lib/components/ui/calendar/index.d.ts +1 -0
- package/dist-lib/components/ui/calendar/utils.d.ts +1 -0
- package/dist-lib/components/ui/checkbox-group/base.d.ts +3 -0
- package/dist-lib/components/ui/checkbox-group/index.d.ts +2 -0
- package/dist-lib/components/ui/combobox/chip-remove.d.ts +3 -0
- package/dist-lib/components/ui/combobox/chip.d.ts +5 -0
- package/dist-lib/components/ui/combobox/chips-input.d.ts +6 -0
- package/dist-lib/components/ui/combobox/chips.d.ts +5 -0
- package/dist-lib/components/ui/combobox/clear.d.ts +3 -0
- package/dist-lib/components/ui/combobox/collection.d.ts +3 -0
- package/dist-lib/components/ui/combobox/context.d.ts +5 -0
- package/dist-lib/components/ui/combobox/empty.d.ts +3 -0
- package/dist-lib/components/ui/combobox/group-label.d.ts +3 -0
- package/dist-lib/components/ui/combobox/group.d.ts +3 -0
- package/dist-lib/components/ui/combobox/index.d.ts +22 -0
- package/dist-lib/components/ui/combobox/input.d.ts +11 -0
- package/dist-lib/components/ui/combobox/item.d.ts +3 -0
- package/dist-lib/components/ui/combobox/list.d.ts +3 -0
- package/dist-lib/components/ui/combobox/popup.d.ts +10 -0
- package/dist-lib/components/ui/combobox/root.d.ts +3 -0
- package/dist-lib/components/ui/combobox/row.d.ts +3 -0
- package/dist-lib/components/ui/combobox/separator.d.ts +3 -0
- package/dist-lib/components/ui/combobox/status.d.ts +3 -0
- package/dist-lib/components/ui/combobox/trigger.d.ts +3 -0
- package/dist-lib/components/ui/combobox/utils.d.ts +2 -0
- package/dist-lib/components/ui/combobox/value.d.ts +3 -0
- package/dist-lib/components/ui/dialog/backdrop.d.ts +3 -0
- package/dist-lib/components/ui/dialog/close.d.ts +3 -0
- package/dist-lib/components/ui/dialog/description.d.ts +3 -0
- package/dist-lib/components/ui/dialog/footer.d.ts +5 -0
- package/dist-lib/components/ui/dialog/header.d.ts +3 -0
- package/dist-lib/components/ui/dialog/index.d.ts +16 -0
- package/dist-lib/components/ui/dialog/panel.d.ts +5 -0
- package/dist-lib/components/ui/dialog/popup.d.ts +8 -0
- package/dist-lib/components/ui/dialog/title.d.ts +3 -0
- package/dist-lib/components/ui/dialog/trigger.d.ts +3 -0
- package/dist-lib/components/ui/dialog/utils.d.ts +4 -0
- package/dist-lib/components/ui/dialog/viewport.d.ts +3 -0
- package/dist-lib/components/ui/drawer/backdrop.d.ts +3 -0
- package/dist-lib/components/ui/drawer/bar.d.ts +6 -0
- package/dist-lib/components/ui/drawer/close.d.ts +3 -0
- package/dist-lib/components/ui/drawer/content.d.ts +3 -0
- package/dist-lib/components/ui/drawer/context.d.ts +5 -0
- package/dist-lib/components/ui/drawer/description.d.ts +3 -0
- package/dist-lib/components/ui/drawer/footer.d.ts +6 -0
- package/dist-lib/components/ui/drawer/header.d.ts +5 -0
- package/dist-lib/components/ui/drawer/index.d.ts +26 -0
- package/dist-lib/components/ui/drawer/menu-checkbox-item.d.ts +6 -0
- package/dist-lib/components/ui/drawer/menu-group-label.d.ts +3 -0
- package/dist-lib/components/ui/drawer/menu-group.d.ts +3 -0
- package/dist-lib/components/ui/drawer/menu-item.d.ts +5 -0
- package/dist-lib/components/ui/drawer/menu-radio-group.d.ts +3 -0
- package/dist-lib/components/ui/drawer/menu-radio-item.d.ts +6 -0
- package/dist-lib/components/ui/drawer/menu-separator.d.ts +3 -0
- package/dist-lib/components/ui/drawer/menu-trigger.d.ts +3 -0
- package/dist-lib/components/ui/drawer/menu.d.ts +3 -0
- package/dist-lib/components/ui/drawer/panel.d.ts +7 -0
- package/dist-lib/components/ui/drawer/popup.d.ts +10 -0
- package/dist-lib/components/ui/drawer/portal.d.ts +3 -0
- package/dist-lib/components/ui/drawer/root.d.ts +6 -0
- package/dist-lib/components/ui/drawer/swipe-area.d.ts +6 -0
- package/dist-lib/components/ui/drawer/title.d.ts +3 -0
- package/dist-lib/components/ui/drawer/trigger.d.ts +3 -0
- package/dist-lib/components/ui/drawer/types.d.ts +1 -0
- package/dist-lib/components/ui/drawer/utils.d.ts +4 -0
- package/dist-lib/components/ui/drawer/viewport.d.ts +7 -0
- package/dist-lib/components/ui/empty/base.d.ts +2 -0
- package/dist-lib/components/ui/empty/content.d.ts +2 -0
- package/dist-lib/components/ui/empty/description.d.ts +2 -0
- package/dist-lib/components/ui/empty/header.d.ts +2 -0
- package/dist-lib/components/ui/empty/index.d.ts +6 -0
- package/dist-lib/components/ui/empty/media.d.ts +4 -0
- package/dist-lib/components/ui/empty/title.d.ts +2 -0
- package/dist-lib/components/ui/empty/utils.d.ts +3 -0
- package/dist-lib/components/ui/fieldset/base.d.ts +3 -0
- package/dist-lib/components/ui/fieldset/index.d.ts +3 -0
- package/dist-lib/components/ui/fieldset/legend.d.ts +3 -0
- package/dist-lib/components/ui/form/base.d.ts +3 -0
- package/dist-lib/components/ui/form/index.d.ts +2 -0
- package/dist-lib/components/ui/meter/base.d.ts +3 -0
- package/dist-lib/components/ui/meter/index.d.ts +6 -0
- package/dist-lib/components/ui/meter/indicator.d.ts +3 -0
- package/dist-lib/components/ui/meter/label.d.ts +3 -0
- package/dist-lib/components/ui/meter/track.d.ts +3 -0
- package/dist-lib/components/ui/meter/value.d.ts +3 -0
- package/dist-lib/components/ui/number-field/base.d.ts +5 -0
- package/dist-lib/components/ui/number-field/context.d.ts +4 -0
- package/dist-lib/components/ui/number-field/cursor-grow-icon.d.ts +2 -0
- package/dist-lib/components/ui/number-field/decrement.d.ts +3 -0
- package/dist-lib/components/ui/number-field/group.d.ts +3 -0
- package/dist-lib/components/ui/number-field/increment.d.ts +3 -0
- package/dist-lib/components/ui/number-field/index.d.ts +9 -0
- package/dist-lib/components/ui/number-field/input.d.ts +3 -0
- package/dist-lib/components/ui/number-field/scrub-area.d.ts +5 -0
- package/dist-lib/components/ui/pagination/base.d.ts +2 -0
- package/dist-lib/components/ui/pagination/content.d.ts +2 -0
- package/dist-lib/components/ui/pagination/ellipsis.d.ts +2 -0
- package/dist-lib/components/ui/pagination/index.d.ts +8 -0
- package/dist-lib/components/ui/pagination/item.d.ts +2 -0
- package/dist-lib/components/ui/pagination/link.d.ts +3 -0
- package/dist-lib/components/ui/pagination/next.d.ts +3 -0
- package/dist-lib/components/ui/pagination/previous.d.ts +3 -0
- package/dist-lib/components/ui/pagination/types.d.ts +7 -0
- package/dist-lib/components/ui/preview-card.d.ts +2 -1
- package/dist-lib/components/ui/progress/base.d.ts +3 -0
- package/dist-lib/components/ui/progress/index.d.ts +6 -0
- package/dist-lib/components/ui/progress/indicator.d.ts +3 -0
- package/dist-lib/components/ui/progress/label.d.ts +3 -0
- package/dist-lib/components/ui/progress/track.d.ts +3 -0
- package/dist-lib/components/ui/progress/value.d.ts +3 -0
- package/dist-lib/components/ui/radio-group/base.d.ts +3 -0
- package/dist-lib/components/ui/radio-group/index.d.ts +5 -0
- package/dist-lib/components/ui/radio-group/radio.d.ts +3 -0
- package/dist-lib/components/ui/sheet-parts/backdrop.d.ts +2 -0
- package/dist-lib/components/ui/sheet-parts/overlay.d.ts +2 -0
- package/dist-lib/components/ui/sheet-parts/panel.d.ts +5 -0
- package/dist-lib/components/ui/sheet-parts/popup.d.ts +10 -0
- package/dist-lib/components/ui/sheet-parts/portal.d.ts +2 -0
- package/dist-lib/components/ui/sheet-parts/viewport.d.ts +6 -0
- package/dist-lib/components/ui/sheet.d.ts +19 -9
- package/dist-lib/components/ui/slider/base.d.ts +3 -0
- package/dist-lib/components/ui/slider/index.d.ts +3 -0
- package/dist-lib/components/ui/slider/value.d.ts +3 -0
- package/dist-lib/components/ui/table/base.d.ts +3 -0
- package/dist-lib/components/ui/table/body.d.ts +2 -0
- package/dist-lib/components/ui/table/caption.d.ts +2 -0
- package/dist-lib/components/ui/table/cell.d.ts +2 -0
- package/dist-lib/components/ui/table/footer.d.ts +2 -0
- package/dist-lib/components/ui/table/head.d.ts +2 -0
- package/dist-lib/components/ui/table/header.d.ts +2 -0
- package/dist-lib/components/ui/table/index.d.ts +10 -0
- package/dist-lib/components/ui/table/row.d.ts +2 -0
- package/dist-lib/components/ui/table/types.d.ts +7 -0
- package/dist-lib/components/ui/toggle/base.d.ts +5 -0
- package/dist-lib/components/ui/toggle/index.d.ts +3 -0
- package/dist-lib/components/ui/toggle/utils.d.ts +4 -0
- package/dist-lib/components/ui/toggle-group/base.d.ts +5 -0
- package/dist-lib/components/ui/toggle-group/context.d.ts +4 -0
- package/dist-lib/components/ui/toggle-group/index.d.ts +5 -0
- package/dist-lib/components/ui/toggle-group/item.d.ts +5 -0
- package/dist-lib/components/ui/toggle-group/separator.d.ts +5 -0
- package/dist-lib/dialog-BF9rLVsx.js +135 -0
- package/dist-lib/drawer-DuQtc_IN.js +350 -0
- package/dist-lib/empty-CUO4MoHd.js +87 -0
- package/dist-lib/{exegia-provider-DNTuLljX.js → exegia-provider-CDYMDsSW.js} +33 -31
- package/dist-lib/fieldset-C3YDowBt.js +22 -0
- package/dist-lib/form-DdxBnCxo.js +12 -0
- package/dist-lib/index.css +1 -1
- package/dist-lib/index.d.ts +1 -0
- package/dist-lib/index.js +6401 -7684
- package/dist-lib/{liquid-glass-BihU6nMl.js → liquid-glass-BrmOha12.js} +11 -11
- package/dist-lib/meter-B5i2cf7m.js +49 -0
- package/dist-lib/modal-BSBLNZfo.js +24 -0
- package/dist-lib/number-field-D5p-WTn_.js +97 -0
- package/dist-lib/overlays.js +5 -3
- package/dist-lib/pagination-CPOVfufE.js +94 -0
- package/dist-lib/{modal-DLaOK-s1.js → popover-BKYgU_p3.js} +22 -42
- package/dist-lib/portal-context-oIZFl3NP.js +9 -0
- package/dist-lib/progress-ByAk9CV5.js +50 -0
- package/dist-lib/radio-group-CMwDkKFE.js +27 -0
- package/dist-lib/{scaffold-Qv4hs5Pf.js → scaffold-DjS8eLk9.js} +198 -198
- package/dist-lib/scaffold.js +1 -1
- package/dist-lib/scroll-area-BNcHlmRX.js +39 -0
- package/dist-lib/separator-D7T-98IV.js +14 -0
- package/dist-lib/sheet-BAYosIsg.js +148 -0
- package/dist-lib/sheet-D4fmEZW5.js +22 -0
- package/dist-lib/{shell-BQ9cjIEu.js → shell-WTIa9_ul.js} +170 -170
- package/dist-lib/shell.js +1 -1
- package/dist-lib/sidebar-1j5RYZ2t.js +529 -0
- package/dist-lib/skeleton-CwqQoMiY.js +12 -0
- package/dist-lib/slider-_1H30BMt.js +48 -0
- package/dist-lib/spinner-cwaneGYM.js +14 -0
- package/dist-lib/state.js +1 -1
- package/dist-lib/table-D43_yedE.js +87 -0
- package/dist-lib/tabs-CwWnKxRI.js +66 -0
- package/dist-lib/textarea-CxycYTkF.js +27 -0
- package/dist-lib/{toast-CataVXHN.js → toast-BLwJEhKU.js} +63 -105
- package/dist-lib/toggle-group-BzDvDKL0.js +55 -0
- package/dist-lib/tooltip-aPB3pyrl.js +39 -0
- package/dist-lib/ui/accordion.d.ts +1 -0
- package/dist-lib/ui/accordion.js +45 -0
- package/dist-lib/ui/alert-dialog.d.ts +1 -0
- package/dist-lib/ui/alert-dialog.js +74 -0
- package/dist-lib/ui/alert.d.ts +1 -0
- package/dist-lib/ui/alert.js +45 -0
- package/dist-lib/ui/autocomplete.d.ts +1 -0
- package/dist-lib/ui/autocomplete.js +2 -0
- package/dist-lib/ui/avatar.d.ts +2 -0
- package/dist-lib/ui/avatar.js +50 -0
- package/dist-lib/ui/badge.d.ts +2 -0
- package/dist-lib/ui/badge.js +72 -0
- package/dist-lib/ui/breadcrumb.d.ts +1 -0
- package/dist-lib/ui/breadcrumb.js +2 -0
- package/dist-lib/ui/button.d.ts +2 -0
- package/dist-lib/ui/button.js +2 -0
- package/dist-lib/ui/calendar.d.ts +1 -0
- package/dist-lib/ui/calendar.js +2 -0
- package/dist-lib/ui/card.d.ts +1 -0
- package/dist-lib/ui/card.js +2 -0
- package/dist-lib/ui/checkbox-group.d.ts +1 -0
- package/dist-lib/ui/checkbox-group.js +2 -0
- package/dist-lib/ui/checkbox.d.ts +1 -0
- package/dist-lib/ui/checkbox.js +51 -0
- package/dist-lib/ui/collapsible.d.ts +1 -0
- package/dist-lib/ui/collapsible.js +26 -0
- package/dist-lib/ui/combobox.d.ts +1 -0
- package/dist-lib/ui/combobox.js +2 -0
- package/dist-lib/ui/command.d.ts +1 -0
- package/dist-lib/ui/command.js +125 -0
- package/dist-lib/ui/context-menu.d.ts +1 -0
- package/dist-lib/ui/context-menu.js +178 -0
- package/dist-lib/ui/dialog.d.ts +1 -0
- package/dist-lib/ui/dialog.js +2 -0
- package/dist-lib/ui/drawer.d.ts +1 -0
- package/dist-lib/ui/drawer.js +2 -0
- package/dist-lib/ui/empty.d.ts +1 -0
- package/dist-lib/ui/empty.js +2 -0
- package/dist-lib/ui/field.d.ts +1 -0
- package/dist-lib/ui/field.js +42 -0
- package/dist-lib/ui/fieldset.d.ts +1 -0
- package/dist-lib/ui/fieldset.js +2 -0
- package/dist-lib/ui/form.d.ts +1 -0
- package/dist-lib/ui/form.js +2 -0
- package/dist-lib/ui/frame.d.ts +1 -0
- package/dist-lib/ui/frame.js +47 -0
- package/dist-lib/ui/group.d.ts +1 -0
- package/dist-lib/ui/group.js +44 -0
- package/dist-lib/ui/index.d.ts +55 -0
- package/dist-lib/ui/index.js +497 -0
- package/dist-lib/ui/input-group.d.ts +1 -0
- package/dist-lib/ui/input-group.js +59 -0
- package/dist-lib/ui/input.d.ts +2 -0
- package/dist-lib/ui/input.js +2 -0
- package/dist-lib/ui/kbd.d.ts +1 -0
- package/dist-lib/ui/kbd.js +19 -0
- package/dist-lib/ui/label.d.ts +1 -0
- package/dist-lib/ui/label.js +2 -0
- package/dist-lib/ui/menu.d.ts +1 -0
- package/dist-lib/ui/menu.js +178 -0
- package/dist-lib/ui/meter.d.ts +1 -0
- package/dist-lib/ui/meter.js +2 -0
- package/dist-lib/ui/number-field.d.ts +1 -0
- package/dist-lib/ui/number-field.js +2 -0
- package/dist-lib/ui/otp-field.d.ts +1 -0
- package/dist-lib/ui/otp-field.js +36 -0
- package/dist-lib/ui/pagination.d.ts +1 -0
- package/dist-lib/ui/pagination.js +2 -0
- package/dist-lib/ui/popover.d.ts +1 -0
- package/dist-lib/ui/popover.js +2 -0
- package/dist-lib/ui/preview-card.d.ts +1 -0
- package/dist-lib/ui/preview-card.js +35 -0
- package/dist-lib/ui/progress.d.ts +1 -0
- package/dist-lib/ui/progress.js +2 -0
- package/dist-lib/ui/radio-group.d.ts +1 -0
- package/dist-lib/ui/radio-group.js +2 -0
- package/dist-lib/ui/scroll-area.d.ts +1 -0
- package/dist-lib/ui/scroll-area.js +2 -0
- package/dist-lib/ui/select.d.ts +2 -0
- package/dist-lib/ui/select.js +145 -0
- package/dist-lib/ui/separator.d.ts +2 -0
- package/dist-lib/ui/separator.js +3 -0
- package/dist-lib/ui/sheet.d.ts +1 -0
- package/dist-lib/ui/sheet.js +3 -0
- package/dist-lib/ui/sidebar.d.ts +1 -0
- package/dist-lib/ui/sidebar.js +2 -0
- package/dist-lib/ui/skeleton.d.ts +1 -0
- package/dist-lib/ui/skeleton.js +2 -0
- package/dist-lib/ui/slider.d.ts +1 -0
- package/dist-lib/ui/slider.js +2 -0
- package/dist-lib/ui/spinner.d.ts +1 -0
- package/dist-lib/ui/spinner.js +2 -0
- package/dist-lib/ui/switch.d.ts +1 -0
- package/dist-lib/ui/switch.js +17 -0
- package/dist-lib/ui/table.d.ts +1 -0
- package/dist-lib/ui/table.js +2 -0
- package/dist-lib/ui/tabs.d.ts +1 -0
- package/dist-lib/ui/tabs.js +2 -0
- package/dist-lib/ui/textarea.d.ts +2 -0
- package/dist-lib/ui/textarea.js +2 -0
- package/dist-lib/ui/toast.d.ts +1 -0
- package/dist-lib/ui/toast.js +2 -0
- package/dist-lib/ui/toggle-group.d.ts +1 -0
- package/dist-lib/ui/toggle-group.js +2 -0
- package/dist-lib/ui/toggle.d.ts +1 -0
- package/dist-lib/ui/toggle.js +3 -0
- package/dist-lib/ui/toolbar.d.ts +1 -0
- package/dist-lib/ui/toolbar.js +48 -0
- package/dist-lib/ui/tooltip.d.ts +1 -0
- package/dist-lib/ui/tooltip.js +2 -0
- package/package.json +222 -1
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
import { t as e } from "../utils-BO0qfoA6.js";
|
|
2
|
+
import { ChevronRightIcon as t } from "lucide-react";
|
|
3
|
+
import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
4
|
+
import { ContextMenu as a } from "@base-ui/react/context-menu";
|
|
5
|
+
//#region src/components/ui/context-menu.tsx
|
|
6
|
+
var o = a.Root, s = a.Portal;
|
|
7
|
+
function c({ className: e, children: t, ...n }) {
|
|
8
|
+
return /* @__PURE__ */ r(a.Trigger, {
|
|
9
|
+
className: e,
|
|
10
|
+
"data-slot": "context-menu-trigger",
|
|
11
|
+
...n,
|
|
12
|
+
children: t
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
function l({ children: t, className: n, sideOffset: i = 4, align: o = "center", alignOffset: c, side: l = "bottom", anchor: u, portalProps: d, ...f }) {
|
|
16
|
+
return /* @__PURE__ */ r(s, {
|
|
17
|
+
...d,
|
|
18
|
+
children: /* @__PURE__ */ r(a.Positioner, {
|
|
19
|
+
align: o,
|
|
20
|
+
alignOffset: c,
|
|
21
|
+
anchor: u,
|
|
22
|
+
className: "z-50",
|
|
23
|
+
"data-slot": "context-menu-positioner",
|
|
24
|
+
side: l,
|
|
25
|
+
sideOffset: i,
|
|
26
|
+
children: /* @__PURE__ */ r(a.Popup, {
|
|
27
|
+
className: e("relative flex not-[class*='w-']:min-w-32 origin-(--transform-origin) rounded-lg border bg-popover not-dark:bg-clip-padding shadow-lg/5 outline-none before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] focus:outline-none dark:before:shadow-[0_-1px_--theme(--color-white/6%)]", n),
|
|
28
|
+
"data-slot": "context-menu-popup",
|
|
29
|
+
...f,
|
|
30
|
+
children: /* @__PURE__ */ r("div", {
|
|
31
|
+
className: "max-h-(--available-height) w-full overflow-y-auto p-1",
|
|
32
|
+
children: t
|
|
33
|
+
})
|
|
34
|
+
})
|
|
35
|
+
})
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
function u(e) {
|
|
39
|
+
return /* @__PURE__ */ r(a.Group, {
|
|
40
|
+
"data-slot": "context-menu-group",
|
|
41
|
+
...e
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
function d({ className: t, inset: n, variant: i = "default", ...o }) {
|
|
45
|
+
return /* @__PURE__ */ r(a.Item, {
|
|
46
|
+
className: e("flex min-h-8 cursor-default select-none items-center gap-2 rounded-sm px-2 py-1 text-base text-foreground outline-none data-disabled:pointer-events-none data-highlighted:bg-accent data-inset:ps-8 data-[variant=destructive]:text-destructive-foreground data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:min-h-7 sm:text-sm [&>svg:not([class*='opacity-'])]:opacity-80 [&>svg:not([class*='size-'])]:size-4.5 sm:[&>svg:not([class*='size-'])]:size-4 [&>svg]:pointer-events-none [&>svg]:-mx-0.5 [&>svg]:shrink-0", t),
|
|
47
|
+
"data-inset": n,
|
|
48
|
+
"data-slot": "context-menu-item",
|
|
49
|
+
"data-variant": i,
|
|
50
|
+
...o
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
function f({ className: t, inset: n, variant: i = "default", closeOnClick: o = !0, ...s }) {
|
|
54
|
+
return /* @__PURE__ */ r(a.LinkItem, {
|
|
55
|
+
className: e("flex min-h-8 cursor-default select-none items-center gap-2 rounded-sm px-2 py-1 text-base text-foreground outline-none data-disabled:pointer-events-none data-highlighted:bg-accent data-inset:ps-8 data-[variant=destructive]:text-destructive-foreground data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:min-h-7 sm:text-sm [&>svg:not([class*='opacity-'])]:opacity-80 [&>svg:not([class*='size-'])]:size-4.5 sm:[&>svg:not([class*='size-'])]:size-4 [&>svg]:pointer-events-none [&>svg]:-mx-0.5 [&>svg]:shrink-0", t),
|
|
56
|
+
closeOnClick: o,
|
|
57
|
+
"data-inset": n,
|
|
58
|
+
"data-slot": "context-menu-link-item",
|
|
59
|
+
"data-variant": i,
|
|
60
|
+
...s
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
function p({ className: t, children: o, checked: s, variant: c = "default", ...l }) {
|
|
64
|
+
return /* @__PURE__ */ r(a.CheckboxItem, {
|
|
65
|
+
checked: s,
|
|
66
|
+
className: e("grid min-h-8 in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default items-center gap-2 rounded-sm py-1 ps-2 text-base text-foreground outline-none data-disabled:pointer-events-none data-highlighted:bg-accent data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:min-h-7 sm:text-sm [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", c === "switch" ? "grid-cols-[1fr_auto] gap-4 pe-1.5" : "grid-cols-[.75rem_1fr] pe-4", t),
|
|
67
|
+
"data-slot": "context-menu-checkbox-item",
|
|
68
|
+
...l,
|
|
69
|
+
children: c === "switch" ? /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r("span", {
|
|
70
|
+
className: "col-start-1",
|
|
71
|
+
children: o
|
|
72
|
+
}), /* @__PURE__ */ r(a.CheckboxItemIndicator, {
|
|
73
|
+
className: "inset-shadow-[0_1px_--theme(--color-black/4%)] inline-flex h-[calc(var(--thumb-size)+2px)] w-[calc(var(--thumb-size)*2-2px)] shrink-0 items-center rounded-full p-px outline-none transition-[background-color,box-shadow] duration-200 [--thumb-size:--spacing(4)] focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background data-checked:bg-primary data-unchecked:bg-input data-disabled:opacity-64 sm:[--thumb-size:--spacing(3)]",
|
|
74
|
+
keepMounted: !0,
|
|
75
|
+
children: /* @__PURE__ */ r("span", { className: "pointer-events-none block aspect-square h-full in-[[data-slot=context-menu-checkbox-item][data-checked]]:origin-[var(--thumb-size)_50%] origin-left in-[[data-slot=context-menu-checkbox-item][data-checked]]:translate-x-[calc(var(--thumb-size)-4px)] in-[[data-slot=context-menu-checkbox-item]:active]:not-data-disabled:scale-x-110 in-[[data-slot=context-menu-checkbox-item]:active]:rounded-[var(--thumb-size)/calc(var(--thumb-size)*1.10)] rounded-(--thumb-size) bg-background shadow-sm/5 will-change-transform [transition:translate_.15s,border-radius_.15s,scale_.1s_.1s,transform-origin_.15s]" })
|
|
76
|
+
})] }) : /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r(a.CheckboxItemIndicator, {
|
|
77
|
+
className: "col-start-1 -ms-0.5",
|
|
78
|
+
children: /* @__PURE__ */ r("svg", {
|
|
79
|
+
"aria-hidden": "true",
|
|
80
|
+
fill: "none",
|
|
81
|
+
height: "24",
|
|
82
|
+
stroke: "currentColor",
|
|
83
|
+
strokeLinecap: "round",
|
|
84
|
+
strokeLinejoin: "round",
|
|
85
|
+
strokeWidth: "2",
|
|
86
|
+
viewBox: "0 0 24 24",
|
|
87
|
+
width: "24",
|
|
88
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
89
|
+
children: /* @__PURE__ */ r("path", { d: "M5.252 12.7 10.2 18.63 18.748 5.37" })
|
|
90
|
+
})
|
|
91
|
+
}), /* @__PURE__ */ r("span", {
|
|
92
|
+
className: "col-start-2",
|
|
93
|
+
children: o
|
|
94
|
+
})] })
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
function m(e) {
|
|
98
|
+
return /* @__PURE__ */ r(a.RadioGroup, {
|
|
99
|
+
"data-slot": "context-menu-radio-group",
|
|
100
|
+
...e
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
function h({ className: t, children: n, ...o }) {
|
|
104
|
+
return /* @__PURE__ */ i(a.RadioItem, {
|
|
105
|
+
className: e("grid min-h-8 in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[.75rem_1fr] items-center gap-2 rounded-sm py-1 ps-2 pe-4 text-base text-foreground outline-none data-disabled:pointer-events-none data-highlighted:bg-accent data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:min-h-7 sm:text-sm [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", t),
|
|
106
|
+
"data-slot": "context-menu-radio-item",
|
|
107
|
+
...o,
|
|
108
|
+
children: [/* @__PURE__ */ r(a.RadioItemIndicator, {
|
|
109
|
+
className: "col-start-1 -ms-0.5",
|
|
110
|
+
children: /* @__PURE__ */ r("svg", {
|
|
111
|
+
"aria-hidden": "true",
|
|
112
|
+
fill: "none",
|
|
113
|
+
height: "24",
|
|
114
|
+
stroke: "currentColor",
|
|
115
|
+
strokeLinecap: "round",
|
|
116
|
+
strokeLinejoin: "round",
|
|
117
|
+
strokeWidth: "2",
|
|
118
|
+
viewBox: "0 0 24 24",
|
|
119
|
+
width: "24",
|
|
120
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
121
|
+
children: /* @__PURE__ */ r("path", { d: "M5.252 12.7 10.2 18.63 18.748 5.37" })
|
|
122
|
+
})
|
|
123
|
+
}), /* @__PURE__ */ r("span", {
|
|
124
|
+
className: "col-start-2",
|
|
125
|
+
children: n
|
|
126
|
+
})]
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
function g({ className: t, inset: n, ...i }) {
|
|
130
|
+
return /* @__PURE__ */ r(a.GroupLabel, {
|
|
131
|
+
className: e("px-2 py-1.5 font-medium text-muted-foreground text-xs data-inset:ps-9 sm:data-inset:ps-8", t),
|
|
132
|
+
"data-inset": n,
|
|
133
|
+
"data-slot": "context-menu-label",
|
|
134
|
+
...i
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
function _({ className: t, ...n }) {
|
|
138
|
+
return /* @__PURE__ */ r(a.Separator, {
|
|
139
|
+
className: e("mx-2 my-1 h-px bg-border", t),
|
|
140
|
+
"data-slot": "context-menu-separator",
|
|
141
|
+
...n
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
function v({ className: t, ...n }) {
|
|
145
|
+
return /* @__PURE__ */ r("kbd", {
|
|
146
|
+
className: e("ms-auto font-medium font-sans text-muted-foreground/72 text-xs tracking-widest", t),
|
|
147
|
+
"data-slot": "context-menu-shortcut",
|
|
148
|
+
...n
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
function y(e) {
|
|
152
|
+
return /* @__PURE__ */ r(a.SubmenuRoot, {
|
|
153
|
+
"data-slot": "context-menu-sub",
|
|
154
|
+
...e
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
function b({ className: n, inset: o, children: s, ...c }) {
|
|
158
|
+
return /* @__PURE__ */ i(a.SubmenuTrigger, {
|
|
159
|
+
className: e("flex min-h-8 items-center gap-2 rounded-sm px-2 py-1 text-base text-foreground outline-none data-disabled:pointer-events-none data-highlighted:bg-accent data-popup-open:bg-accent data-inset:ps-8 data-highlighted:text-accent-foreground data-popup-open:text-accent-foreground data-disabled:opacity-64 sm:min-h-7 sm:text-sm [&>svg:not(:last-child)]:-mx-0.5 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none", n),
|
|
160
|
+
"data-inset": o,
|
|
161
|
+
"data-slot": "context-menu-sub-trigger",
|
|
162
|
+
...c,
|
|
163
|
+
children: [s, /* @__PURE__ */ r(t, { className: "ms-auto -me-0.5 opacity-80" })]
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
function x({ className: e, sideOffset: t = 0, alignOffset: n, align: i = "start", ...a }) {
|
|
167
|
+
return /* @__PURE__ */ r(l, {
|
|
168
|
+
align: i,
|
|
169
|
+
alignOffset: n ?? (i === "center" ? void 0 : -5),
|
|
170
|
+
className: e,
|
|
171
|
+
"data-slot": "context-menu-sub-content",
|
|
172
|
+
side: "inline-end",
|
|
173
|
+
sideOffset: t,
|
|
174
|
+
...a
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
//#endregion
|
|
178
|
+
export { o as ContextMenu, p as ContextMenuCheckboxItem, u as ContextMenuGroup, g as ContextMenuGroupLabel, d as ContextMenuItem, f as ContextMenuLinkItem, l as ContextMenuPopup, s as ContextMenuPortal, a as ContextMenuPrimitive, m as ContextMenuRadioGroup, h as ContextMenuRadioItem, _ as ContextMenuSeparator, v as ContextMenuShortcut, y as ContextMenuSub, x as ContextMenuSubPopup, b as ContextMenuSubTrigger, c as ContextMenuTrigger };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../components/ui/dialog';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { a as e, c as t, d as n, f as r, i, l as a, m as o, n as s, o as c, p as l, r as u, s as d, t as f, u as p } from "../dialog-BF9rLVsx.js";
|
|
2
|
+
export { r as Dialog, a as DialogBackdrop, a as DialogOverlay, p as DialogClose, d as DialogContent, d as DialogPopup, l as DialogCreateHandle, u as DialogDescription, e as DialogFooter, c as DialogHeader, s as DialogPanel, o as DialogPortal, f as DialogPrimitive, i as DialogTitle, n as DialogTrigger, t as DialogViewport };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../components/ui/drawer';
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { C as e, E as t, S as n, T as r, _ as i, a, b as o, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, n as h, o as g, p as _, r as v, s as y, t as b, u as x, v as S, w as C, x as w, y as T } from "../drawer-DuQtc_IN.js";
|
|
2
|
+
export { r as Drawer, o as DrawerBackdrop, S as DrawerBar, n as DrawerClose, u as DrawerContent, t as DrawerCreateHandle, l as DrawerDescription, m as DrawerFooter, d as DrawerHeader, x as DrawerMenu, f as DrawerMenuCheckboxItem, y as DrawerMenuGroup, g as DrawerMenuGroupLabel, p as DrawerMenuItem, v as DrawerMenuRadioGroup, h as DrawerMenuRadioItem, s as DrawerMenuSeparator, a as DrawerMenuTrigger, c as DrawerPanel, i as DrawerPopup, C as DrawerPortal, b as DrawerPrimitive, w as DrawerSwipeArea, _ as DrawerTitle, e as DrawerTrigger, T as DrawerViewport };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../components/ui/empty';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../components/ui/field';
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { t as e } from "../utils-BO0qfoA6.js";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
import { Field as n } from "@base-ui/react/field";
|
|
4
|
+
//#region src/components/ui/field.tsx
|
|
5
|
+
function r({ className: r, ...i }) {
|
|
6
|
+
return /* @__PURE__ */ t(n.Root, {
|
|
7
|
+
className: e("flex flex-col items-start gap-1.5", r),
|
|
8
|
+
"data-slot": "field",
|
|
9
|
+
...i
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
function i({ className: r, ...i }) {
|
|
13
|
+
return /* @__PURE__ */ t(n.Label, {
|
|
14
|
+
className: e("inline-flex cursor-pointer items-center gap-2 font-medium text-base/4 text-foreground data-disabled:cursor-not-allowed data-disabled:opacity-64 sm:text-xs/3.5 ml-3", r),
|
|
15
|
+
"data-slot": "field-label",
|
|
16
|
+
...i
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
function a({ className: r, ...i }) {
|
|
20
|
+
return /* @__PURE__ */ t(n.Item, {
|
|
21
|
+
className: e("flex", r),
|
|
22
|
+
"data-slot": "field-item",
|
|
23
|
+
...i
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
function o({ className: r, ...i }) {
|
|
27
|
+
return /* @__PURE__ */ t(n.Description, {
|
|
28
|
+
className: e("overflow-hidden text-muted-foreground text-xs ml-3 transition-[height,opacity,filter,translate] duration-300 ease-smooth-out starting:h-0 starting:translate-y-1 starting:opacity-0 starting:blur-small motion-reduce:transition-none", r),
|
|
29
|
+
"data-slot": "field-description",
|
|
30
|
+
...i
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
function s({ className: r, ...i }) {
|
|
34
|
+
return /* @__PURE__ */ t(n.Error, {
|
|
35
|
+
className: e("overflow-hidden text-destructive-foreground text-xs ml-3 transition-[height,opacity,filter,translate] duration-300 ease-smooth-out starting:h-0 starting:translate-y-1 starting:opacity-0 starting:blur-small motion-reduce:transition-none", r),
|
|
36
|
+
"data-slot": "field-error",
|
|
37
|
+
...i
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
var c = n.Control, l = n.Validity;
|
|
41
|
+
//#endregion
|
|
42
|
+
export { r as Field, c as FieldControl, o as FieldDescription, s as FieldError, a as FieldItem, i as FieldLabel, n as FieldPrimitive, l as FieldValidity };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../components/ui/fieldset';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../components/ui/form';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../components/ui/frame';
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { t as e } from "../utils-BO0qfoA6.js";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
//#region src/components/ui/frame.tsx
|
|
4
|
+
function n({ className: n, ...r }) {
|
|
5
|
+
return /* @__PURE__ */ t("div", {
|
|
6
|
+
className: e("relative flex flex-col rounded-md bg-muted/72 p-1", "*:[[data-slot=frame-panel]+[data-slot=frame-panel]]:mt-1", n),
|
|
7
|
+
"data-slot": "frame",
|
|
8
|
+
...r
|
|
9
|
+
});
|
|
10
|
+
}
|
|
11
|
+
function r({ className: n, ...r }) {
|
|
12
|
+
return /* @__PURE__ */ t("div", {
|
|
13
|
+
className: e("relative rounded-md border bg-background bg-clip-padding p-5 shadow-xs/5 before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-md)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] dark:before:shadow-[0_-1px_--theme(--color-white/6%)]", n),
|
|
14
|
+
"data-slot": "frame-panel",
|
|
15
|
+
...r
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
function i({ className: n, ...r }) {
|
|
19
|
+
return /* @__PURE__ */ t("header", {
|
|
20
|
+
className: e("flex flex-col px-5 py-4", n),
|
|
21
|
+
"data-slot": "frame-panel-header",
|
|
22
|
+
...r
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
function a({ className: n, ...r }) {
|
|
26
|
+
return /* @__PURE__ */ t("div", {
|
|
27
|
+
className: e("font-semibold text-sm", n),
|
|
28
|
+
"data-slot": "frame-panel-title",
|
|
29
|
+
...r
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
function o({ className: n, ...r }) {
|
|
33
|
+
return /* @__PURE__ */ t("div", {
|
|
34
|
+
className: e("text-muted-foreground text-sm", n),
|
|
35
|
+
"data-slot": "frame-panel-description",
|
|
36
|
+
...r
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
function s({ className: n, ...r }) {
|
|
40
|
+
return /* @__PURE__ */ t("footer", {
|
|
41
|
+
className: e("px-5 py-4", n),
|
|
42
|
+
"data-slot": "frame-panel-footer",
|
|
43
|
+
...r
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
//#endregion
|
|
47
|
+
export { n as Frame, o as FrameDescription, s as FrameFooter, i as FrameHeader, r as FramePanel, a as FrameTitle };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../components/ui/group';
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { t as e } from "../utils-BO0qfoA6.js";
|
|
2
|
+
import { t } from "../separator-D7T-98IV.js";
|
|
3
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
4
|
+
import { cva as r } from "class-variance-authority";
|
|
5
|
+
import { mergeProps as i } from "@base-ui/react/merge-props";
|
|
6
|
+
import { useRender as a } from "@base-ui/react/use-render";
|
|
7
|
+
//#region src/components/ui/group.tsx
|
|
8
|
+
var o = r("flex w-fit *:focus-visible:z-1 *:has-focus-visible:z-1 has-[>[data-slot=group]]:gap-2 dark:*:[[data-slot=separator]:has(~button:hover):not(:has(~[data-slot=separator]~[data-slot]:hover)),[data-slot=separator]:has(~[data-slot][data-pressed]):not(:has(~[data-slot=separator]~[data-slot][data-pressed]))]:before:bg-input/64 dark:*:[button:hover~[data-slot=separator]:not([data-slot]:hover~[data-slot=separator]~[data-slot=separator]),[data-slot][data-pressed]~[data-slot=separator]:not([data-slot][data-pressed]~[data-slot=separator]~[data-slot=separator])]:before:bg-input/64", {
|
|
9
|
+
defaultVariants: { orientation: "horizontal" },
|
|
10
|
+
variants: { orientation: {
|
|
11
|
+
horizontal: "*:data-slot:has-[~[data-slot]]:rounded-e-none *:data-slot:has-[~[data-slot]]:border-e-0 *:data-slot:has-[~[data-slot]]:before:rounded-e-none *:data-slot:not-data-[slot=separator]:has-[~[data-slot]]:before:-end-[0.5px] *:pointer-coarse:after:min-w-auto *:[[data-slot]~[data-slot]]:rounded-s-none *:[[data-slot]~[data-slot]]:border-s-0 *:[[data-slot]~[data-slot]]:before:rounded-s-none *:[[data-slot]~[data-slot]:not([data-slot=separator])]:before:-start-[0.5px]",
|
|
12
|
+
vertical: "flex-col *:data-slot:has-[~[data-slot]]:rounded-b-none *:data-slot:has-[~[data-slot]]:border-b-0 *:data-slot:has-[~[data-slot]]:before:rounded-b-none *:data-slot:not-data-[slot=separator]:has-[~[data-slot]]:before:-bottom-[0.5px] *:data-slot:not-data-[slot=separator]:has-[~[data-slot]]:before:hidden dark:*:first:before:block dark:*:last:before:hidden *:pointer-coarse:after:min-h-auto *:[[data-slot]~[data-slot]]:rounded-t-none *:[[data-slot]~[data-slot]]:border-t-0 *:[[data-slot]~[data-slot]]:before:rounded-t-none *:[[data-slot]~[data-slot]:not([data-slot=separator])]:before:-top-[0.5px]"
|
|
13
|
+
} }
|
|
14
|
+
});
|
|
15
|
+
function s({ className: t, orientation: r, children: i, ...a }) {
|
|
16
|
+
return /* @__PURE__ */ n("div", {
|
|
17
|
+
className: e(o({ orientation: r }), t),
|
|
18
|
+
"data-orientation": r,
|
|
19
|
+
"data-slot": "group",
|
|
20
|
+
role: "group",
|
|
21
|
+
...a,
|
|
22
|
+
children: i
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
function c({ className: t, render: n, ...r }) {
|
|
26
|
+
let o = {
|
|
27
|
+
className: e("relative inline-flex items-center gap-2 rounded-md border border-input bg-muted px-[calc(--spacing(3)-1px)] text-base whitespace-nowrap text-muted-foreground shadow-xs/5 transition-shadow outline-none not-dark:bg-clip-padding before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-md)-1px)] before:shadow-[0_1px_--theme(--color-black/6%)] sm:text-sm dark:bg-input/64 dark:before:shadow-[0_-1px_--theme(--color-white/6%)] [&_svg]:-mx-0.5 [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4", t),
|
|
28
|
+
"data-slot": "group-text"
|
|
29
|
+
};
|
|
30
|
+
return a({
|
|
31
|
+
defaultTagName: "div",
|
|
32
|
+
props: i(o, r),
|
|
33
|
+
render: n
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
function l({ className: r, orientation: i = "vertical", ...a }) {
|
|
37
|
+
return /* @__PURE__ */ n(t, {
|
|
38
|
+
className: e("pointer-events-none relative z-2 bg-input before:absolute before:inset-0 has-[+[data-slot=input-control]:focus-within,+[data-slot=input-group]:focus-within,+[data-slot=select-trigger]:focus-visible+*,+[data-slot=number-field]:focus-within]:translate-x-px has-[+[data-slot=input-control]:focus-within,+[data-slot=input-group]:focus-within,+[data-slot=select-trigger]:focus-visible+*,+[data-slot=number-field]:focus-within]:bg-ring dark:before:bg-input/32 [[data-slot=input-control]:focus-within+&,[data-slot=input-group]:focus-within+&,[data-slot=select-trigger]:focus-visible+*+&,[data-slot=number-field]:focus-within+&,[data-slot=number-field]:focus-within+input+&]:bg-ring [[data-slot=input-control]:focus-within+&,[data-slot=input-group]:focus-within+&,[data-slot=select-trigger]:focus-visible+*+&,[data-slot=number-field]:focus-within+input+&]:-translate-x-px", r),
|
|
39
|
+
orientation: i,
|
|
40
|
+
...a
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
44
|
+
export { s as ButtonGroup, s as Group, l as ButtonGroupSeparator, l as GroupSeparator, c as ButtonGroupText, c as GroupText, o as groupVariants };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export * from './accordion';
|
|
2
|
+
export * from './alert';
|
|
3
|
+
export * from './alert-dialog';
|
|
4
|
+
export * from './autocomplete';
|
|
5
|
+
export * from './avatar';
|
|
6
|
+
export * from './badge';
|
|
7
|
+
export * from './breadcrumb';
|
|
8
|
+
export * from './button';
|
|
9
|
+
export * from './calendar';
|
|
10
|
+
export * from './card';
|
|
11
|
+
export * from './checkbox';
|
|
12
|
+
export * from './checkbox-group';
|
|
13
|
+
export * from './collapsible';
|
|
14
|
+
export * from './combobox';
|
|
15
|
+
export * from './command';
|
|
16
|
+
export * from './context-menu';
|
|
17
|
+
export * from './dialog';
|
|
18
|
+
export * from './drawer';
|
|
19
|
+
export * from './empty';
|
|
20
|
+
export * from './field';
|
|
21
|
+
export * from './fieldset';
|
|
22
|
+
export * from './form';
|
|
23
|
+
export * from './frame';
|
|
24
|
+
export * from './group';
|
|
25
|
+
export * from './input';
|
|
26
|
+
export * from './input-group';
|
|
27
|
+
export * from './kbd';
|
|
28
|
+
export * from './label';
|
|
29
|
+
export * from './menu';
|
|
30
|
+
export * from './meter';
|
|
31
|
+
export * from './number-field';
|
|
32
|
+
export * from './otp-field';
|
|
33
|
+
export * from './pagination';
|
|
34
|
+
export * from './popover';
|
|
35
|
+
export * from './preview-card';
|
|
36
|
+
export * from './progress';
|
|
37
|
+
export * from './radio-group';
|
|
38
|
+
export * from './scroll-area';
|
|
39
|
+
export * from './select';
|
|
40
|
+
export * from './separator';
|
|
41
|
+
export * from './sheet';
|
|
42
|
+
export * from './sidebar';
|
|
43
|
+
export * from './skeleton';
|
|
44
|
+
export * from './slider';
|
|
45
|
+
export * from './spinner';
|
|
46
|
+
export * from './switch';
|
|
47
|
+
export * from './table';
|
|
48
|
+
export * from './tabs';
|
|
49
|
+
export * from './textarea';
|
|
50
|
+
export * from './toast';
|
|
51
|
+
export * from './toggle';
|
|
52
|
+
export * from './toggle-group';
|
|
53
|
+
export * from './toolbar';
|
|
54
|
+
export * from './tooltip';
|
|
55
|
+
export { FieldPrimitive } from './field';
|