@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
package/dist-lib/scaffold.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as e, B as t, C as n, D as r, E as i, F as a, H as o, I as s, L as c, M as l, N as u, O as d, P as f, R as p, S as m, T as h, U as g, V as _, W as v, _ as y, a as b, b as x, c as S, f as C, g as w, h as T, i as E, j as D, k as O, l as k, m as A, n as j, o as M, p as N, r as P, s as F, t as I, u as L, v as R, w as z, x as B, y as V, z as H } from "./scaffold-
|
|
1
|
+
import { A as e, B as t, C as n, D as r, E as i, F as a, H as o, I as s, L as c, M as l, N as u, O as d, P as f, R as p, S as m, T as h, U as g, V as _, W as v, _ as y, a as b, b as x, c as S, f as C, g as w, h as T, i as E, j as D, k as O, l as k, m as A, n as j, o as M, p as N, r as P, s as F, t as I, u as L, v as R, w as z, x as B, y as V, z as H } from "./scaffold-DjS8eLk9.js";
|
|
2
2
|
export { l as PanelCloseButton, D as PanelMenuButton, u as SCAFFOLD_CANVAS_GAP, f as SCAFFOLD_EASE, a as SCAFFOLD_EDGE_GUTTER, s as SCAFFOLD_HEADER_HEIGHT, c as SCAFFOLD_INSPECTOR_WIDTH, p as SCAFFOLD_MENU_COLLAPSE_DELAY, H as SCAFFOLD_MORPH_DURATION, t as SCAFFOLD_PANEL_CAPACITY, _ as SCAFFOLD_PANEL_GAP, o as SCAFFOLD_PANEL_MIN_WIDTH, g as SCAFFOLD_SECONDARY_HEIGHT, v as SCAFFOLD_SIDEBAR_WIDTH, I as Scaffold, N as ScaffoldActions, C as ScaffoldCanvas, L as ScaffoldInspector, k as ScaffoldMain, S as ScaffoldPanel, F as ScaffoldRoot, M as ScaffoldSidebar, b as ScaffoldTab, T as removeScaffoldInstance, w as resetScaffoldAtom, y as resizeScaffoldInspectorAtom, R as scaffoldHiddenPanelIdsAtom, V as scaffoldHoveredPanelIdAtom, x as scaffoldInspectorOpenAtom, B as scaffoldInspectorWidthAtom, m as scaffoldPanelCapacityAtom, n as scaffoldPanelDimmedAtom, z as scaffoldPanelHiddenAtom, h as scaffoldPanelLayoutsAtom, i as scaffoldStateAtom, r as setScaffoldInspectorOpenAtom, d as toggleScaffoldInspectorAtom, O as toggleScaffoldPanelAtom, e as updateScaffoldPanelLayoutAtom, E as useScaffold, j as useScaffoldActions, A as useScaffoldContext, P as useScaffoldState };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { t as e } from "./utils-BO0qfoA6.js";
|
|
2
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
|
+
import { ScrollArea as r } from "@base-ui/react/scroll-area";
|
|
4
|
+
//#region src/components/ui/scroll-area.tsx
|
|
5
|
+
function i({ className: i, children: o, scrollFade: s = !1, scrollbarGutter: c = !1, fill: l = !1, clampContentMinWidth: u = !0, overscrollContain: d = !1, ...f }) {
|
|
6
|
+
return /* @__PURE__ */ n(r.Root, {
|
|
7
|
+
className: e("size-full min-h-0", i),
|
|
8
|
+
...f,
|
|
9
|
+
children: [
|
|
10
|
+
/* @__PURE__ */ t(r.Viewport, {
|
|
11
|
+
className: e("h-full rounded-[inherit] outline-none transition-shadow focus-visible:ring-0 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background", d && "data-has-overflow-y:overscroll-y-contain data-has-overflow-x:overscroll-x-contain", s === "top" && "mask-t-from-[calc(100%-min(var(--fade-size),var(--scroll-area-overflow-y-start)))] mask-l-from-[calc(100%-min(var(--fade-size),var(--scroll-area-overflow-x-start)))]", s === "bottom" && "mask-b-from-[calc(100%-min(var(--fade-size),var(--scroll-area-overflow-y-end)))] mask-r-from-[calc(100%-min(var(--fade-size),var(--scroll-area-overflow-x-end)))]", s && "mask-t-from-[calc(100%-min(var(--fade-size),var(--scroll-area-overflow-y-start)))] mask-b-from-[calc(100%-min(var(--fade-size),var(--scroll-area-overflow-y-end)))] mask-l-from-[calc(100%-min(var(--fade-size),var(--scroll-area-overflow-x-start)))] mask-r-from-[calc(100%-min(var(--fade-size),var(--scroll-area-overflow-x-end)))] [--fade-size:1.5rem]", c && "data-has-overflow-y:pe-2.5 data-has-overflow-x:pb-2.5"),
|
|
12
|
+
"data-slot": "scroll-area-viewport",
|
|
13
|
+
children: /* @__PURE__ */ t(r.Content, {
|
|
14
|
+
className: e(l && "size-full"),
|
|
15
|
+
"data-slot": "scroll-area-content",
|
|
16
|
+
style: u ? { minWidth: 0 } : void 0,
|
|
17
|
+
children: o
|
|
18
|
+
})
|
|
19
|
+
}),
|
|
20
|
+
/* @__PURE__ */ t(a, { orientation: "vertical" }),
|
|
21
|
+
/* @__PURE__ */ t(a, { orientation: "horizontal" }),
|
|
22
|
+
/* @__PURE__ */ t(r.Corner, { "data-slot": "scroll-area-corner" })
|
|
23
|
+
]
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
function a({ className: n, orientation: i = "vertical", ...a }) {
|
|
27
|
+
return /* @__PURE__ */ t(r.Scrollbar, {
|
|
28
|
+
className: e("m-1 flex opacity-0 transition-opacity delay-300 data-[orientation=horizontal]:h-1.5 data-[orientation=vertical]:w-1.5 data-[orientation=horizontal]:flex-col data-hovering:opacity-100 data-scrolling:opacity-100 data-hovering:delay-0 data-scrolling:delay-0 data-hovering:duration-100 data-scrolling:duration-100", n),
|
|
29
|
+
"data-slot": "scroll-area-scrollbar",
|
|
30
|
+
orientation: i,
|
|
31
|
+
...a,
|
|
32
|
+
children: /* @__PURE__ */ t(r.Thumb, {
|
|
33
|
+
className: "relative flex-1 rounded-full bg-foreground/0",
|
|
34
|
+
"data-slot": "scroll-area-thumb"
|
|
35
|
+
})
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
//#endregion
|
|
39
|
+
export { r as n, a as r, i as t };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { t as e } from "./utils-BO0qfoA6.js";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
import { Separator as n } from "@base-ui/react/separator";
|
|
4
|
+
//#region src/components/ui/separator.tsx
|
|
5
|
+
function r({ className: r, orientation: i = "horizontal", ...a }) {
|
|
6
|
+
return /* @__PURE__ */ t(n, {
|
|
7
|
+
"data-slot": "separator",
|
|
8
|
+
orientation: i,
|
|
9
|
+
className: e("shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch", r),
|
|
10
|
+
...a
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
export { r as t };
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { t as e } from "./utils-BO0qfoA6.js";
|
|
2
|
+
import { t } from "./button-DDBbG_zF.js";
|
|
3
|
+
import { n } from "./portal-context-oIZFl3NP.js";
|
|
4
|
+
import { XIcon as r } from "lucide-react";
|
|
5
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
6
|
+
import { mergeProps as o } from "@base-ui/react/merge-props";
|
|
7
|
+
import { useRender as s } from "@base-ui/react/use-render";
|
|
8
|
+
import { Dialog as c, Dialog as l } from "@base-ui/react/dialog";
|
|
9
|
+
//#region src/components/ui/sheet-parts/portal.tsx
|
|
10
|
+
function u(e) {
|
|
11
|
+
let t = n(e.container);
|
|
12
|
+
return /* @__PURE__ */ i(c.Portal, {
|
|
13
|
+
"data-slot": "sheet-portal",
|
|
14
|
+
...e,
|
|
15
|
+
container: t
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
//#endregion
|
|
19
|
+
//#region src/components/ui/sheet-parts/overlay.tsx
|
|
20
|
+
function d({ className: t, ...n }) {
|
|
21
|
+
return /* @__PURE__ */ i(c.Backdrop, {
|
|
22
|
+
"data-slot": "sheet-overlay",
|
|
23
|
+
className: e("fixed inset-0 z-50 bg-black/10 transition-opacity duration-150 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs", t),
|
|
24
|
+
...n
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
//#endregion
|
|
28
|
+
//#region src/components/ui/sheet-parts/backdrop.tsx
|
|
29
|
+
function f(e) {
|
|
30
|
+
return /* @__PURE__ */ i(d, {
|
|
31
|
+
"data-slot": "sheet-backdrop",
|
|
32
|
+
...e
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region src/components/ui/sheet-parts/viewport.tsx
|
|
37
|
+
function p({ className: t, side: n, variant: r = "default", ...a }) {
|
|
38
|
+
return /* @__PURE__ */ i(c.Viewport, {
|
|
39
|
+
className: e("fixed inset-0 z-50 grid", n === "bottom" && "grid grid-rows-[1fr_auto] pt-12", n === "top" && "grid grid-rows-[auto_1fr] pb-12", n === "left" && "flex justify-start", n === "right" && "flex justify-end", r === "inset" && "sm:p-4", t),
|
|
40
|
+
"data-slot": "sheet-viewport",
|
|
41
|
+
...a
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
//#endregion
|
|
45
|
+
//#region src/components/ui/sheet-parts/popup.tsx
|
|
46
|
+
function m({ className: n, children: o, showCloseButton: s = !0, showBackdrop: l = !0, side: d = "right", variant: m = "default", closeProps: h, portalProps: g, ..._ }) {
|
|
47
|
+
return /* @__PURE__ */ a(u, {
|
|
48
|
+
...g,
|
|
49
|
+
children: [l && /* @__PURE__ */ i(f, {}), /* @__PURE__ */ i(p, {
|
|
50
|
+
side: d,
|
|
51
|
+
variant: m,
|
|
52
|
+
children: /* @__PURE__ */ a(c.Popup, {
|
|
53
|
+
className: e("relative flex max-h-full min-h-0 w-full min-w-0 flex-col bg-popover not-dark:bg-clip-padding text-popover-foreground shadow-lg/5 transition-[opacity,translate] duration-200 ease-in-out will-change-transform before:pointer-events-none before:absolute before:inset-0 before:shadow-[0_1px_--theme(--color-black/4%)] data-ending-style:opacity-0 data-starting-style:opacity-0 max-sm:before:hidden dark:before:shadow-[0_-1px_--theme(--color-white/6%)]", d === "bottom" && "row-start-2 border-t data-ending-style:translate-y-8 data-starting-style:translate-y-8", d === "top" && "border-b data-ending-style:-translate-y-8 data-starting-style:-translate-y-8", d === "left" && "w-[calc(100%-(--spacing(12)))] max-w-md border-e data-ending-style:-translate-x-8 data-starting-style:-translate-x-8", d === "right" && "col-start-2 w-[calc(100%-(--spacing(12)))] max-w-md border-s data-ending-style:translate-x-8 data-starting-style:translate-x-8", m === "inset" && "before:hidden sm:rounded-2xl sm:border sm:before:rounded-[calc(var(--radius-2xl)-1px)] sm:**:data-[slot=sheet-footer]:rounded-b-[calc(var(--radius-2xl)-1px)]", n),
|
|
54
|
+
"data-slot": "sheet-popup",
|
|
55
|
+
..._,
|
|
56
|
+
children: [o, s && /* @__PURE__ */ i(c.Close, {
|
|
57
|
+
"aria-label": "Close",
|
|
58
|
+
className: "absolute end-2 top-2",
|
|
59
|
+
render: /* @__PURE__ */ i(t, {
|
|
60
|
+
size: "icon",
|
|
61
|
+
variant: "ghost"
|
|
62
|
+
}),
|
|
63
|
+
...h,
|
|
64
|
+
children: /* @__PURE__ */ i(r, {})
|
|
65
|
+
})]
|
|
66
|
+
})
|
|
67
|
+
})]
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region src/components/ui/sheet.tsx
|
|
72
|
+
function h({ ...e }) {
|
|
73
|
+
return /* @__PURE__ */ i(l.Root, {
|
|
74
|
+
"data-slot": "sheet",
|
|
75
|
+
...e
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
function g({ ...e }) {
|
|
79
|
+
return /* @__PURE__ */ i(l.Trigger, {
|
|
80
|
+
"data-slot": "sheet-trigger",
|
|
81
|
+
...e
|
|
82
|
+
});
|
|
83
|
+
}
|
|
84
|
+
function _({ ...e }) {
|
|
85
|
+
return /* @__PURE__ */ i(l.Close, {
|
|
86
|
+
"data-slot": "sheet-close",
|
|
87
|
+
...e
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
function v({ className: n, children: o, side: s = "right", showCloseButton: c = !0, ...f }) {
|
|
91
|
+
return /* @__PURE__ */ a(u, { children: [/* @__PURE__ */ i(d, {}), /* @__PURE__ */ a(l.Popup, {
|
|
92
|
+
"data-slot": "sheet-content",
|
|
93
|
+
"data-side": s,
|
|
94
|
+
className: e("fixed z-50 flex flex-col gap-4 bg-popover bg-clip-padding text-sm text-popover-foreground shadow-lg transition duration-200 ease-in-out data-ending-style:opacity-0 data-starting-style:opacity-0 data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=bottom]:data-ending-style:translate-y-[2.5rem] data-[side=bottom]:data-starting-style:translate-y-[2.5rem] data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-r data-[side=left]:data-ending-style:translate-x-[-2.5rem] data-[side=left]:data-starting-style:translate-x-[-2.5rem] data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-l data-[side=right]:data-ending-style:translate-x-[2.5rem] data-[side=right]:data-starting-style:translate-x-[2.5rem] data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=top]:data-ending-style:translate-y-[-2.5rem] data-[side=top]:data-starting-style:translate-y-[-2.5rem] data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm", n),
|
|
95
|
+
...f,
|
|
96
|
+
children: [o, c && /* @__PURE__ */ a(l.Close, {
|
|
97
|
+
"data-slot": "sheet-close",
|
|
98
|
+
render: /* @__PURE__ */ i(t, {
|
|
99
|
+
variant: "ghost",
|
|
100
|
+
className: "absolute top-3 right-3",
|
|
101
|
+
size: "icon-sm"
|
|
102
|
+
}),
|
|
103
|
+
children: [/* @__PURE__ */ i(r, {}), /* @__PURE__ */ i("span", {
|
|
104
|
+
className: "sr-only",
|
|
105
|
+
children: "Close"
|
|
106
|
+
})]
|
|
107
|
+
})]
|
|
108
|
+
})] });
|
|
109
|
+
}
|
|
110
|
+
function y({ className: t, render: n, ...r }) {
|
|
111
|
+
let i = {
|
|
112
|
+
"data-slot": "sheet-header",
|
|
113
|
+
className: e("flex flex-col gap-0.5 p-4", t)
|
|
114
|
+
};
|
|
115
|
+
return s({
|
|
116
|
+
defaultTagName: "div",
|
|
117
|
+
props: o(i, r),
|
|
118
|
+
render: n
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
function b({ className: t, render: n, variant: r, ...i }) {
|
|
122
|
+
let a = {
|
|
123
|
+
"data-slot": "sheet-footer",
|
|
124
|
+
className: e("mt-auto flex flex-col gap-2 p-4", r === "default" && "border-t bg-muted/72", t)
|
|
125
|
+
};
|
|
126
|
+
return s({
|
|
127
|
+
defaultTagName: "div",
|
|
128
|
+
props: o(a, i),
|
|
129
|
+
render: n
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
function x({ className: t, ...n }) {
|
|
133
|
+
return /* @__PURE__ */ i(l.Title, {
|
|
134
|
+
"data-slot": "sheet-title",
|
|
135
|
+
className: e("font-heading text-base font-medium text-foreground", t),
|
|
136
|
+
...n
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
function S({ className: t, ...n }) {
|
|
140
|
+
return /* @__PURE__ */ i(l.Description, {
|
|
141
|
+
"data-slot": "sheet-description",
|
|
142
|
+
className: e("text-sm text-muted-foreground", t),
|
|
143
|
+
...n
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
var C = l.createHandle;
|
|
147
|
+
//#endregion
|
|
148
|
+
export { S as a, l as c, m as d, p as f, u as h, C as i, x as l, d as m, _ as n, b as o, f as p, v as r, y as s, h as t, g as u };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { t as e } from "./utils-BO0qfoA6.js";
|
|
2
|
+
import { t } from "./scroll-area-BNcHlmRX.js";
|
|
3
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
4
|
+
import { mergeProps as r } from "@base-ui/react/merge-props";
|
|
5
|
+
import { useRender as i } from "@base-ui/react/use-render";
|
|
6
|
+
//#region src/components/ui/sheet-parts/panel.tsx
|
|
7
|
+
function a({ className: a, scrollFade: o = !0, render: s, ...c }) {
|
|
8
|
+
let l = {
|
|
9
|
+
className: e("p-6 in-[[data-slot=sheet-popup]:has([data-slot=sheet-header])]:pt-1 in-[[data-slot=sheet-popup]:has([data-slot=sheet-footer]:not(.border-t))]:pb-1", a),
|
|
10
|
+
"data-slot": "sheet-panel"
|
|
11
|
+
};
|
|
12
|
+
return /* @__PURE__ */ n(t, {
|
|
13
|
+
scrollFade: o,
|
|
14
|
+
children: i({
|
|
15
|
+
defaultTagName: "div",
|
|
16
|
+
props: r(l, c),
|
|
17
|
+
render: s
|
|
18
|
+
})
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
//#endregion
|
|
22
|
+
export { a as t };
|