@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
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
2
|
import { t } from "./utils-BO0qfoA6.js";
|
|
3
|
-
import { i as n, r } from "./button-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { i as n, r } from "./button-DDBbG_zF.js";
|
|
4
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
5
|
+
import { forwardRef as o } from "react";
|
|
6
6
|
import { Glass as s } from "@samasante/liquid-glass";
|
|
7
7
|
//#region src/components/ui/glasscn/liquid-glass.tsx
|
|
8
8
|
var c = /* @__PURE__ */ e({
|
|
9
9
|
GlassSurface: () => l,
|
|
10
10
|
LiquidGlass: () => u
|
|
11
11
|
});
|
|
12
|
-
function l({ glassVariant: e = "liquid-refract", optics:
|
|
13
|
-
return /* @__PURE__ */
|
|
12
|
+
function l({ glassVariant: e = "liquid-refract", optics: a }) {
|
|
13
|
+
return /* @__PURE__ */ i(s, {
|
|
14
14
|
"aria-hidden": "true",
|
|
15
15
|
"data-glass-material": "samasante",
|
|
16
16
|
className: t("pointer-events-none", n[e]),
|
|
@@ -24,21 +24,21 @@ function l({ glassVariant: e = "liquid-refract", optics: i }) {
|
|
|
24
24
|
},
|
|
25
25
|
optics: {
|
|
26
26
|
...r[e],
|
|
27
|
-
...
|
|
27
|
+
...a
|
|
28
28
|
},
|
|
29
|
-
children: /* @__PURE__ */
|
|
29
|
+
children: /* @__PURE__ */ i("span", {})
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
|
-
var u =
|
|
33
|
-
return /* @__PURE__ */
|
|
32
|
+
var u = o(function({ glassVariant: e = "liquid-refract", optics: n, blur: r, refraction: o, mapSize: s, bezel: c, saturation: u, className: d, children: f, ...p }, m) {
|
|
33
|
+
return /* @__PURE__ */ a("div", {
|
|
34
34
|
ref: m,
|
|
35
35
|
className: t("relative isolate rounded-full", d),
|
|
36
36
|
...p,
|
|
37
|
-
children: [/* @__PURE__ */
|
|
37
|
+
children: [/* @__PURE__ */ i(l, {
|
|
38
38
|
glassVariant: e,
|
|
39
39
|
optics: {
|
|
40
40
|
...r !== void 0 && { frost: Math.max(0, r) },
|
|
41
|
-
...
|
|
41
|
+
...o !== void 0 && { strength: Math.min(1, Math.max(0, o / 100)) },
|
|
42
42
|
...c !== void 0 && { bendWidth: Math.min(1, Math.max(0, c / 100)) },
|
|
43
43
|
...u !== void 0 && { saturate: Math.max(0, u) },
|
|
44
44
|
...n
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { t as e } from "./utils-BO0qfoA6.js";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
import { Meter as n, Meter as r } from "@base-ui/react/meter";
|
|
4
|
+
//#region src/components/ui/meter/track.tsx
|
|
5
|
+
function i({ className: r, ...i }) {
|
|
6
|
+
return /* @__PURE__ */ t(n.Track, {
|
|
7
|
+
className: e("block h-2 w-full overflow-hidden bg-input", r),
|
|
8
|
+
"data-slot": "meter-track",
|
|
9
|
+
...i
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region src/components/ui/meter/indicator.tsx
|
|
14
|
+
function a({ className: r, ...i }) {
|
|
15
|
+
return /* @__PURE__ */ t(n.Indicator, {
|
|
16
|
+
className: e("bg-primary transition-all duration-500", r),
|
|
17
|
+
"data-slot": "meter-indicator",
|
|
18
|
+
...i
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/components/ui/meter/base.tsx
|
|
23
|
+
function o({ className: r, children: o, ...s }) {
|
|
24
|
+
return /* @__PURE__ */ t(n.Root, {
|
|
25
|
+
className: e("flex w-full flex-col gap-2", r),
|
|
26
|
+
...s,
|
|
27
|
+
children: o || /* @__PURE__ */ t(i, { children: /* @__PURE__ */ t(a, {}) })
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
//#region src/components/ui/meter/label.tsx
|
|
32
|
+
function s({ className: r, ...i }) {
|
|
33
|
+
return /* @__PURE__ */ t(n.Label, {
|
|
34
|
+
className: e("font-medium text-foreground text-sm", r),
|
|
35
|
+
"data-slot": "meter-label",
|
|
36
|
+
...i
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
//#endregion
|
|
40
|
+
//#region src/components/ui/meter/value.tsx
|
|
41
|
+
function c({ className: r, ...i }) {
|
|
42
|
+
return /* @__PURE__ */ t(n.Value, {
|
|
43
|
+
className: e("text-foreground text-sm tabular-nums", r),
|
|
44
|
+
"data-slot": "meter-value",
|
|
45
|
+
...i
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
//#endregion
|
|
49
|
+
export { a, o as i, c as n, i as o, s as r, r as t };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { t as e } from "./utils-BO0qfoA6.js";
|
|
2
|
+
import { n as t } from "./portal-context-oIZFl3NP.js";
|
|
3
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
|
+
import { Dialog as i } from "@base-ui/react/dialog";
|
|
5
|
+
//#region src/components/ui/modal.tsx
|
|
6
|
+
var a = i.Root, o = i.Trigger, s = i.Close, c = i.Title, l = i.Description;
|
|
7
|
+
function u({ children: a, className: o, portalProps: s, ...c }) {
|
|
8
|
+
let l = t(s?.container);
|
|
9
|
+
return /* @__PURE__ */ r(i.Portal, {
|
|
10
|
+
...s,
|
|
11
|
+
container: l,
|
|
12
|
+
children: [/* @__PURE__ */ n(i.Backdrop, {
|
|
13
|
+
"data-slot": "modal-backdrop",
|
|
14
|
+
className: "fixed inset-0 z-50 bg-black/40 transition-opacity data-starting-style:opacity-0 data-ending-style:opacity-0 motion-reduce:transition-none"
|
|
15
|
+
}), /* @__PURE__ */ n(i.Popup, {
|
|
16
|
+
...c,
|
|
17
|
+
"data-slot": "modal-popup",
|
|
18
|
+
className: e("fixed top-1/2 left-1/2 z-50 max-h-[calc(100dvh-2rem)] w-[calc(100%-2rem)] max-w-lg -translate-x-1/2 -translate-y-1/2 overflow-y-auto rounded-lg border bg-popover p-6 text-popover-foreground shadow-lg outline-none transition-opacity data-starting-style:opacity-0 data-ending-style:opacity-0 motion-reduce:transition-none", o),
|
|
19
|
+
children: a
|
|
20
|
+
})]
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
export { c as a, u as i, s as n, o, l as r, a as t };
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { t as e } from "./utils-BO0qfoA6.js";
|
|
2
|
+
import { Label as t } from "./label.js";
|
|
3
|
+
import { MinusIcon as n, PlusIcon as r } from "lucide-react";
|
|
4
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
5
|
+
import * as o from "react";
|
|
6
|
+
import { NumberField as s, NumberField as c } from "@base-ui/react/number-field";
|
|
7
|
+
//#region src/components/ui/number-field/context.ts
|
|
8
|
+
var l = o.createContext(null);
|
|
9
|
+
//#endregion
|
|
10
|
+
//#region src/components/ui/number-field/base.tsx
|
|
11
|
+
function u({ id: t, className: n, size: r = "default", ...a }) {
|
|
12
|
+
let c = o.useId(), u = t ?? c;
|
|
13
|
+
return /* @__PURE__ */ i(l.Provider, {
|
|
14
|
+
value: { fieldId: u },
|
|
15
|
+
children: /* @__PURE__ */ i(s.Root, {
|
|
16
|
+
className: e("flex w-full flex-col items-start gap-2", n),
|
|
17
|
+
"data-size": r,
|
|
18
|
+
"data-slot": "number-field",
|
|
19
|
+
id: u,
|
|
20
|
+
...a
|
|
21
|
+
})
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region src/components/ui/number-field/group.tsx
|
|
26
|
+
function d({ className: t, ...n }) {
|
|
27
|
+
return /* @__PURE__ */ i(s.Group, {
|
|
28
|
+
className: e("relative flex w-full justify-between rounded-lg border border-input bg-background not-dark:bg-clip-padding text-base text-foreground shadow-xs/5 ring-ring/24 transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] not-data-disabled:not-focus-within:not-aria-invalid:before:shadow-[0_1px_--theme(--color-black/4%)] focus-within:border-ring focus-within:ring-[3px] has-aria-invalid:border-destructive/36 has-autofill:bg-foreground/4 focus-within:has-aria-invalid:border-destructive/64 focus-within:has-aria-invalid:ring-destructive/16 data-disabled:pointer-events-none data-disabled:opacity-64 sm:text-sm dark:bg-input/32 dark:has-autofill:bg-foreground/8 dark:has-aria-invalid:ring-destructive/24 dark:not-data-disabled:not-focus-within:not-aria-invalid:before:shadow-[0_-1px_--theme(--color-white/6%)] [&_svg:not([class*='size-'])]:size-4.5 sm:[&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0 [[data-disabled],:focus-within,[aria-invalid]]:shadow-none", t),
|
|
29
|
+
"data-slot": "number-field-group",
|
|
30
|
+
...n
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/components/ui/number-field/decrement.tsx
|
|
35
|
+
function f({ className: t, ...r }) {
|
|
36
|
+
return /* @__PURE__ */ i(s.Decrement, {
|
|
37
|
+
className: e("relative flex shrink-0 cursor-pointer items-center justify-center rounded-s-[calc(var(--radius-lg)-1px)] in-data-[size=sm]:px-[calc(--spacing(2.5)-1px)] px-[calc(--spacing(3)-1px)] transition-colors pointer-coarse:after:absolute pointer-coarse:after:size-full pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:bg-accent", t),
|
|
38
|
+
"data-slot": "number-field-decrement",
|
|
39
|
+
...r,
|
|
40
|
+
children: /* @__PURE__ */ i(n, {})
|
|
41
|
+
});
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
44
|
+
//#region src/components/ui/number-field/increment.tsx
|
|
45
|
+
function p({ className: t, ...n }) {
|
|
46
|
+
return /* @__PURE__ */ i(s.Increment, {
|
|
47
|
+
className: e("relative flex shrink-0 cursor-pointer items-center justify-center rounded-e-[calc(var(--radius-lg)-1px)] in-data-[size=sm]:px-[calc(--spacing(2.5)-1px)] px-[calc(--spacing(3)-1px)] transition-colors pointer-coarse:after:absolute pointer-coarse:after:size-full pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:bg-accent", t),
|
|
48
|
+
"data-slot": "number-field-increment",
|
|
49
|
+
...n,
|
|
50
|
+
children: /* @__PURE__ */ i(r, {})
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
//#endregion
|
|
54
|
+
//#region src/components/ui/number-field/input.tsx
|
|
55
|
+
function m({ className: t, ...n }) {
|
|
56
|
+
return /* @__PURE__ */ i(s.Input, {
|
|
57
|
+
className: e("h-8.5 in-data-[size=lg]:h-9.5 in-data-[size=sm]:h-7.5 w-full min-w-0 grow bg-transparent in-data-[size=sm]:px-[calc(--spacing(2.5)-1px)] px-[calc(--spacing(3)-1px)] text-center tabular-nums in-data-[size=lg]:leading-9.5 in-data-[size=sm]:leading-7.5 leading-8.5 outline-none [transition:background-color_5000000s_ease-in-out_0s] sm:h-7.5 sm:in-data-[size=lg]:h-8.5 sm:in-data-[size=sm]:h-6.5 sm:in-data-[size=lg]:leading-8.5 sm:in-data-[size=sm]:leading-8.5 sm:leading-7.5", t),
|
|
58
|
+
"data-slot": "number-field-input",
|
|
59
|
+
...n
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
//#endregion
|
|
63
|
+
//#region src/components/ui/number-field/cursor-grow-icon.tsx
|
|
64
|
+
function h(e) {
|
|
65
|
+
return /* @__PURE__ */ i("svg", {
|
|
66
|
+
"aria-hidden": "true",
|
|
67
|
+
fill: "black",
|
|
68
|
+
height: "14",
|
|
69
|
+
stroke: "white",
|
|
70
|
+
viewBox: "0 0 24 14",
|
|
71
|
+
width: "26",
|
|
72
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
73
|
+
...e,
|
|
74
|
+
children: /* @__PURE__ */ i("path", { d: "M19.5 5.5L6.49737 5.51844V2L1 6.9999L6.5 12L6.49737 8.5L19.5 8.5V12L25 6.9999L19.5 2V5.5Z" })
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
//#endregion
|
|
78
|
+
//#region src/components/ui/number-field/scrub-area.tsx
|
|
79
|
+
function g({ className: n, label: r, ...c }) {
|
|
80
|
+
let u = o.useContext(l);
|
|
81
|
+
if (!u) throw Error("NumberFieldScrubArea must be used within a NumberField component for accessibility.");
|
|
82
|
+
return /* @__PURE__ */ a(s.ScrubArea, {
|
|
83
|
+
className: e("flex cursor-ew-resize", n),
|
|
84
|
+
"data-slot": "number-field-scrub-area",
|
|
85
|
+
...c,
|
|
86
|
+
children: [/* @__PURE__ */ i(t, {
|
|
87
|
+
className: "cursor-ew-resize",
|
|
88
|
+
htmlFor: u.fieldId,
|
|
89
|
+
children: r
|
|
90
|
+
}), /* @__PURE__ */ i(s.ScrubAreaCursor, {
|
|
91
|
+
className: "drop-shadow-[0_1px_1px_#0008] filter",
|
|
92
|
+
children: /* @__PURE__ */ i(h, {})
|
|
93
|
+
})]
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
//#endregion
|
|
97
|
+
export { p as a, u as c, m as i, l, g as n, f as o, h as r, d as s, c as t };
|
package/dist-lib/overlays.js
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
import { a as e, c as t,
|
|
2
|
-
import { a as
|
|
3
|
-
|
|
1
|
+
import { a as e, c as t, i as n, n as r, o as i, r as a, s as o, t as s } from "./popover-BKYgU_p3.js";
|
|
2
|
+
import { a as c, i as l, n as u, o as d, r as f, t as p } from "./tooltip-aPB3pyrl.js";
|
|
3
|
+
import { a as m, i as h, n as g, o as _, r as v, t as y } from "./toast-BLwJEhKU.js";
|
|
4
|
+
import { a as b, i as x, n as S, o as C, r as w, t as T } from "./modal-BSBLNZfo.js";
|
|
5
|
+
export { y as AnchoredToastProvider, T as Modal, S as ModalClose, w as ModalDescription, x as ModalPopup, b as ModalTitle, C as ModalTrigger, s as Popover, r as PopoverClose, e as PopoverContent, e as PopoverPopup, a as PopoverCreateHandle, n as PopoverDescription, i as PopoverPrimitive, o as PopoverTitle, t as PopoverTrigger, g as ToastPrimitive, v as ToastProvider, p as Tooltip, f as TooltipContent, f as TooltipPopup, u as TooltipCreateHandle, l as TooltipPrimitive, c as TooltipProvider, d as TooltipTrigger, h as anchoredToastManager, m as toastManager, _ as useToastManager };
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { t as e } from "./utils-BO0qfoA6.js";
|
|
2
|
+
import { n as t } from "./button-DDBbG_zF.js";
|
|
3
|
+
import { ChevronLeftIcon as n, ChevronRightIcon as r, MoreHorizontalIcon as i } from "lucide-react";
|
|
4
|
+
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
5
|
+
import { mergeProps as s } from "@base-ui/react/merge-props";
|
|
6
|
+
import { useRender as c } from "@base-ui/react/use-render";
|
|
7
|
+
//#region src/components/ui/pagination/base.tsx
|
|
8
|
+
function l({ className: t, ...n }) {
|
|
9
|
+
return /* @__PURE__ */ a("nav", {
|
|
10
|
+
"aria-label": "pagination",
|
|
11
|
+
className: e("mx-auto flex w-full justify-center", t),
|
|
12
|
+
"data-slot": "pagination",
|
|
13
|
+
...n
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
//#endregion
|
|
17
|
+
//#region src/components/ui/pagination/content.tsx
|
|
18
|
+
function u({ className: t, ...n }) {
|
|
19
|
+
return /* @__PURE__ */ a("ul", {
|
|
20
|
+
className: e("flex flex-row items-center gap-1", t),
|
|
21
|
+
"data-slot": "pagination-content",
|
|
22
|
+
...n
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region src/components/ui/pagination/item.tsx
|
|
27
|
+
function d({ ...e }) {
|
|
28
|
+
return /* @__PURE__ */ a("li", {
|
|
29
|
+
"data-slot": "pagination-item",
|
|
30
|
+
...e
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
//#endregion
|
|
34
|
+
//#region src/components/ui/pagination/link.tsx
|
|
35
|
+
function f({ className: n, isActive: r, size: i = "icon", render: a, ...o }) {
|
|
36
|
+
let l = {
|
|
37
|
+
"aria-current": r ? "page" : void 0,
|
|
38
|
+
className: a ? n : e(t({
|
|
39
|
+
size: i,
|
|
40
|
+
variant: r ? "outline" : "ghost"
|
|
41
|
+
}), n),
|
|
42
|
+
"data-active": r,
|
|
43
|
+
"data-slot": "pagination-link"
|
|
44
|
+
};
|
|
45
|
+
return c({
|
|
46
|
+
defaultTagName: "a",
|
|
47
|
+
props: s(l, o),
|
|
48
|
+
render: a
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
//#endregion
|
|
52
|
+
//#region src/components/ui/pagination/previous.tsx
|
|
53
|
+
function p({ className: t, ...r }) {
|
|
54
|
+
return /* @__PURE__ */ o(f, {
|
|
55
|
+
"aria-label": "Go to previous page",
|
|
56
|
+
className: e("max-sm:aspect-square max-sm:p-0", t),
|
|
57
|
+
size: "default",
|
|
58
|
+
...r,
|
|
59
|
+
children: [/* @__PURE__ */ a(n, { className: "sm:-ms-1" }), /* @__PURE__ */ a("span", {
|
|
60
|
+
className: "max-sm:hidden",
|
|
61
|
+
children: "Previous"
|
|
62
|
+
})]
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
//#endregion
|
|
66
|
+
//#region src/components/ui/pagination/next.tsx
|
|
67
|
+
function m({ className: t, ...n }) {
|
|
68
|
+
return /* @__PURE__ */ o(f, {
|
|
69
|
+
"aria-label": "Go to next page",
|
|
70
|
+
className: e("max-sm:aspect-square max-sm:p-0", t),
|
|
71
|
+
size: "default",
|
|
72
|
+
...n,
|
|
73
|
+
children: [/* @__PURE__ */ a("span", {
|
|
74
|
+
className: "max-sm:hidden",
|
|
75
|
+
children: "Next"
|
|
76
|
+
}), /* @__PURE__ */ a(r, { className: "sm:-me-1" })]
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
//#endregion
|
|
80
|
+
//#region src/components/ui/pagination/ellipsis.tsx
|
|
81
|
+
function h({ className: t, ...n }) {
|
|
82
|
+
return /* @__PURE__ */ o("span", {
|
|
83
|
+
"aria-hidden": !0,
|
|
84
|
+
className: e("flex min-w-7 justify-center", t),
|
|
85
|
+
"data-slot": "pagination-ellipsis",
|
|
86
|
+
...n,
|
|
87
|
+
children: [/* @__PURE__ */ a(i, { className: "size-5 sm:size-4" }), /* @__PURE__ */ a("span", {
|
|
88
|
+
className: "sr-only",
|
|
89
|
+
children: "More pages"
|
|
90
|
+
})]
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
//#endregion
|
|
94
|
+
export { d as a, f as i, m as n, u as o, p as r, l as s, h as t };
|
|
@@ -1,24 +1,23 @@
|
|
|
1
1
|
import { t as e } from "./utils-BO0qfoA6.js";
|
|
2
|
-
import {
|
|
3
|
-
import { jsx as n
|
|
4
|
-
import { Popover as
|
|
5
|
-
import { Dialog as a } from "@base-ui/react/dialog";
|
|
2
|
+
import { n as t } from "./portal-context-oIZFl3NP.js";
|
|
3
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
4
|
+
import { Popover as r } from "@base-ui/react/popover";
|
|
6
5
|
//#region src/components/ui/popover.tsx
|
|
7
|
-
var
|
|
8
|
-
function
|
|
9
|
-
return /* @__PURE__ */ n(
|
|
6
|
+
var i = r.createHandle, a = r.Root;
|
|
7
|
+
function o({ className: e, children: t, ...i }) {
|
|
8
|
+
return /* @__PURE__ */ n(r.Trigger, {
|
|
10
9
|
className: e,
|
|
11
10
|
"data-slot": "popover-trigger",
|
|
12
|
-
...
|
|
11
|
+
...i,
|
|
13
12
|
children: t
|
|
14
13
|
});
|
|
15
14
|
}
|
|
16
|
-
function
|
|
15
|
+
function s({ children: i, className: a, side: o = "bottom", align: s = "center", sideOffset: c = 4, alignOffset: l = 0, tooltipStyle: u = !1, anchor: d, portalProps: f, ...p }) {
|
|
17
16
|
let m = t(f?.container);
|
|
18
|
-
return /* @__PURE__ */ n(
|
|
17
|
+
return /* @__PURE__ */ n(r.Portal, {
|
|
19
18
|
...f,
|
|
20
19
|
container: m,
|
|
21
|
-
children: /* @__PURE__ */ n(
|
|
20
|
+
children: /* @__PURE__ */ n(r.Positioner, {
|
|
22
21
|
align: s,
|
|
23
22
|
alignOffset: l,
|
|
24
23
|
anchor: d,
|
|
@@ -26,57 +25,38 @@ function l({ children: r, className: a, side: o = "bottom", align: s = "center",
|
|
|
26
25
|
"data-slot": "popover-positioner",
|
|
27
26
|
side: o,
|
|
28
27
|
sideOffset: c,
|
|
29
|
-
children: /* @__PURE__ */ n(
|
|
28
|
+
children: /* @__PURE__ */ n(r.Popup, {
|
|
30
29
|
className: e("relative flex h-(--popup-height,auto) w-(--popup-width,auto) origin-(--transform-origin) rounded-lg border bg-popover not-dark:bg-clip-padding text-popover-foreground shadow-lg/5 outline-none transition-[width,height,scale,opacity] before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] has-data-[slot=calendar]:rounded-xl has-data-[slot=calendar]:before:rounded-[calc(var(--radius-xl)-1px)] data-starting-style:scale-98 data-starting-style:opacity-0 dark:before:shadow-[0_-1px_--theme(--color-white/6%)]", u && "w-fit text-balance rounded-md text-xs shadow-md/5 before:rounded-[calc(var(--radius-md)-1px)]", a),
|
|
31
30
|
"data-slot": "popover-popup",
|
|
32
31
|
...p,
|
|
33
|
-
children: /* @__PURE__ */ n(
|
|
32
|
+
children: /* @__PURE__ */ n(r.Viewport, {
|
|
34
33
|
className: e("relative size-full max-h-(--available-height) overflow-clip px-(--viewport-inline-padding) py-4 [--viewport-inline-padding:--spacing(4)] has-data-[slot=calendar]:p-2 data-instant:transition-none **:data-current:data-ending-style:opacity-0 **:data-current:data-starting-style:opacity-0 **:data-previous:data-ending-style:opacity-0 **:data-previous:data-starting-style:opacity-0 **:data-current:w-[calc(var(--popup-width)-2*var(--viewport-inline-padding)-2px)] **:data-previous:w-[calc(var(--popup-width)-2*var(--viewport-inline-padding)-2px)] **:data-current:opacity-100 **:data-previous:opacity-100 **:data-current:transition-opacity **:data-previous:transition-opacity", u ? "py-1 [--viewport-inline-padding:--spacing(2)]" : "not-data-transitioning:overflow-y-auto"),
|
|
35
34
|
"data-slot": "popover-viewport",
|
|
36
|
-
children:
|
|
35
|
+
children: i
|
|
37
36
|
})
|
|
38
37
|
})
|
|
39
38
|
})
|
|
40
39
|
});
|
|
41
40
|
}
|
|
42
|
-
function
|
|
43
|
-
return /* @__PURE__ */ n(
|
|
41
|
+
function c({ ...e }) {
|
|
42
|
+
return /* @__PURE__ */ n(r.Close, {
|
|
44
43
|
"data-slot": "popover-close",
|
|
45
44
|
...e
|
|
46
45
|
});
|
|
47
46
|
}
|
|
48
|
-
function
|
|
49
|
-
return /* @__PURE__ */ n(
|
|
47
|
+
function l({ className: t, ...i }) {
|
|
48
|
+
return /* @__PURE__ */ n(r.Title, {
|
|
50
49
|
className: e("font-semibold text-lg leading-none", t),
|
|
51
50
|
"data-slot": "popover-title",
|
|
52
|
-
...
|
|
51
|
+
...i
|
|
53
52
|
});
|
|
54
53
|
}
|
|
55
|
-
function
|
|
56
|
-
return /* @__PURE__ */ n(
|
|
54
|
+
function u({ className: t, ...i }) {
|
|
55
|
+
return /* @__PURE__ */ n(r.Description, {
|
|
57
56
|
className: e("text-muted-foreground text-sm", t),
|
|
58
57
|
"data-slot": "popover-description",
|
|
59
|
-
...
|
|
58
|
+
...i
|
|
60
59
|
});
|
|
61
60
|
}
|
|
62
61
|
//#endregion
|
|
63
|
-
|
|
64
|
-
var p = a.Root, m = a.Trigger, h = a.Close, g = a.Title, _ = a.Description;
|
|
65
|
-
function v({ children: i, className: o, portalProps: s, ...c }) {
|
|
66
|
-
let l = t(s?.container);
|
|
67
|
-
return /* @__PURE__ */ r(a.Portal, {
|
|
68
|
-
...s,
|
|
69
|
-
container: l,
|
|
70
|
-
children: [/* @__PURE__ */ n(a.Backdrop, {
|
|
71
|
-
"data-slot": "modal-backdrop",
|
|
72
|
-
className: "fixed inset-0 z-50 bg-black/40 transition-opacity data-starting-style:opacity-0 data-ending-style:opacity-0 motion-reduce:transition-none"
|
|
73
|
-
}), /* @__PURE__ */ n(a.Popup, {
|
|
74
|
-
...c,
|
|
75
|
-
"data-slot": "modal-popup",
|
|
76
|
-
className: e("fixed top-1/2 left-1/2 z-50 max-h-[calc(100dvh-2rem)] w-[calc(100%-2rem)] max-w-lg -translate-x-1/2 -translate-y-1/2 overflow-y-auto rounded-lg border bg-popover p-6 text-popover-foreground shadow-lg outline-none transition-opacity data-starting-style:opacity-0 data-ending-style:opacity-0 motion-reduce:transition-none", o),
|
|
77
|
-
children: i
|
|
78
|
-
})]
|
|
79
|
-
});
|
|
80
|
-
}
|
|
81
|
-
//#endregion
|
|
82
|
-
export { g as a, u as c, l as d, i as f, v as i, o as l, c as m, h as n, m as o, d as p, _ as r, s, p as t, f as u };
|
|
62
|
+
export { s as a, o as c, u as i, c as n, r as o, i as r, l as s, a as t };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { t as e } from "./utils-BO0qfoA6.js";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
import { Progress as n, Progress as r } from "@base-ui/react/progress";
|
|
4
|
+
//#region src/components/ui/progress/track.tsx
|
|
5
|
+
function i({ className: r, ...i }) {
|
|
6
|
+
return /* @__PURE__ */ t(n.Track, {
|
|
7
|
+
className: e("block h-1.5 w-full overflow-hidden rounded-full bg-input", r),
|
|
8
|
+
"data-slot": "progress-track",
|
|
9
|
+
...i
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region src/components/ui/progress/indicator.tsx
|
|
14
|
+
function a({ className: r, ...i }) {
|
|
15
|
+
return /* @__PURE__ */ t(n.Indicator, {
|
|
16
|
+
className: e("bg-primary transition-all duration-500", r),
|
|
17
|
+
"data-slot": "progress-indicator",
|
|
18
|
+
...i
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
//#endregion
|
|
22
|
+
//#region src/components/ui/progress/base.tsx
|
|
23
|
+
function o({ className: r, children: o, ...s }) {
|
|
24
|
+
return /* @__PURE__ */ t(n.Root, {
|
|
25
|
+
className: e("flex w-full flex-col gap-2", r),
|
|
26
|
+
"data-slot": "progress",
|
|
27
|
+
...s,
|
|
28
|
+
children: o || /* @__PURE__ */ t(i, { children: /* @__PURE__ */ t(a, {}) })
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
//#endregion
|
|
32
|
+
//#region src/components/ui/progress/label.tsx
|
|
33
|
+
function s({ className: r, ...i }) {
|
|
34
|
+
return /* @__PURE__ */ t(n.Label, {
|
|
35
|
+
className: e("font-medium text-sm", r),
|
|
36
|
+
"data-slot": "progress-label",
|
|
37
|
+
...i
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
//#endregion
|
|
41
|
+
//#region src/components/ui/progress/value.tsx
|
|
42
|
+
function c({ className: r, ...i }) {
|
|
43
|
+
return /* @__PURE__ */ t(n.Value, {
|
|
44
|
+
className: e("text-sm tabular-nums", r),
|
|
45
|
+
"data-slot": "progress-value",
|
|
46
|
+
...i
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
//#endregion
|
|
50
|
+
export { a, o as i, c as n, i as o, s as r, r as t };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { t as e } from "./utils-BO0qfoA6.js";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
|
+
import { RadioGroup as n, RadioGroup as r } from "@base-ui/react/radio-group";
|
|
4
|
+
import { Radio as i, Radio as a } from "@base-ui/react/radio";
|
|
5
|
+
//#region src/components/ui/radio-group/base.tsx
|
|
6
|
+
function o({ className: r, ...i }) {
|
|
7
|
+
return /* @__PURE__ */ t(n, {
|
|
8
|
+
className: e("flex flex-col gap-3", r),
|
|
9
|
+
"data-slot": "radio-group",
|
|
10
|
+
...i
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region src/components/ui/radio-group/radio.tsx
|
|
15
|
+
function s({ className: n, ...r }) {
|
|
16
|
+
return /* @__PURE__ */ t(i.Root, {
|
|
17
|
+
className: e("relative inline-flex size-4.5 shrink-0 items-center justify-center rounded-full border border-input bg-background not-dark:bg-clip-padding shadow-xs/5 outline-none transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-full not-data-disabled:not-data-checked:not-aria-invalid:before:shadow-[0_1px_--theme(--color-black/4%)] focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background aria-invalid:border-destructive/36 focus-visible:aria-invalid:border-destructive/64 focus-visible:aria-invalid:ring-destructive/48 data-disabled:cursor-not-allowed data-disabled:opacity-64 sm:size-4 dark:not-data-checked:bg-input/32 dark:aria-invalid:ring-destructive/24 dark:not-data-disabled:not-data-checked:not-aria-invalid:before:shadow-[0_-1px_--theme(--color-white/6%)] [[data-disabled],[data-checked],[aria-invalid]]:shadow-none", n),
|
|
18
|
+
"data-slot": "radio",
|
|
19
|
+
...r,
|
|
20
|
+
children: /* @__PURE__ */ t(i.Indicator, {
|
|
21
|
+
className: "absolute -inset-px flex size-4.5 items-center justify-center rounded-full before:size-2 before:rounded-full before:bg-primary-foreground data-unchecked:hidden data-checked:bg-primary sm:size-4 sm:before:size-1.5",
|
|
22
|
+
"data-slot": "radio-indicator"
|
|
23
|
+
})
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
//#endregion
|
|
27
|
+
export { o as i, a as n, s as r, r as t };
|