@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,8 @@
|
|
|
1
|
+
export { default as Pagination } from './base';
|
|
2
|
+
export { default as PaginationContent } from './content';
|
|
3
|
+
export { default as PaginationItem } from './item';
|
|
4
|
+
export type { PaginationLinkProps } from './types';
|
|
5
|
+
export { default as PaginationLink } from './link';
|
|
6
|
+
export { default as PaginationPrevious } from './previous';
|
|
7
|
+
export { default as PaginationNext } from './next';
|
|
8
|
+
export { default as PaginationEllipsis } from './ellipsis';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { useRender } from '@base-ui/react/use-render';
|
|
2
|
+
import { Button } from '../button';
|
|
3
|
+
import type * as React from "react";
|
|
4
|
+
export type PaginationLinkProps = {
|
|
5
|
+
isActive?: boolean;
|
|
6
|
+
size?: React.ComponentProps<typeof Button>["size"];
|
|
7
|
+
} & useRender.ComponentProps<"a">;
|
|
@@ -2,8 +2,9 @@ import { PreviewCard as PreviewCardPrimitive } from '@base-ui/react/preview-card
|
|
|
2
2
|
import { default as React } from 'react';
|
|
3
3
|
export declare const PreviewCard: typeof PreviewCardPrimitive.Root;
|
|
4
4
|
export declare function PreviewCardTrigger({ ...props }: PreviewCardPrimitive.Trigger.Props): React.ReactElement;
|
|
5
|
-
export declare function PreviewCardPopup({ className, children, align, sideOffset, anchor, portalProps, ...props }: PreviewCardPrimitive.Popup.Props & {
|
|
5
|
+
export declare function PreviewCardPopup({ className, children, align, side, sideOffset, anchor, portalProps, ...props }: PreviewCardPrimitive.Popup.Props & {
|
|
6
6
|
align?: PreviewCardPrimitive.Positioner.Props["align"];
|
|
7
|
+
side?: PreviewCardPrimitive.Positioner.Props["side"];
|
|
7
8
|
sideOffset?: PreviewCardPrimitive.Positioner.Props["sideOffset"];
|
|
8
9
|
anchor?: PreviewCardPrimitive.Positioner.Props["anchor"];
|
|
9
10
|
portalProps?: PreviewCardPrimitive.Portal.Props;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as Progress } from './base';
|
|
2
|
+
export { default as ProgressLabel } from './label';
|
|
3
|
+
export { default as ProgressTrack } from './track';
|
|
4
|
+
export { default as ProgressIndicator } from './indicator';
|
|
5
|
+
export { default as ProgressValue } from './value';
|
|
6
|
+
export { Progress as ProgressPrimitive } from '@base-ui/react/progress';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as RadioGroup } from './base';
|
|
2
|
+
export { default as Radio } from './radio';
|
|
3
|
+
export { RadioGroup as RadioGroupPrimitive } from '@base-ui/react/radio-group';
|
|
4
|
+
export { Radio as RadioPrimitive } from '@base-ui/react/radio';
|
|
5
|
+
export { default as RadioGroupItem } from './radio';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Dialog as SheetPrimitive } from '@base-ui/react/dialog';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export default function SheetPopup({ className, children, showCloseButton, showBackdrop, side, variant, closeProps, portalProps, ...props }: SheetPrimitive.Popup.Props & {
|
|
4
|
+
showCloseButton?: boolean;
|
|
5
|
+
showBackdrop?: boolean;
|
|
6
|
+
side?: "right" | "left" | "top" | "bottom";
|
|
7
|
+
variant?: "default" | "inset";
|
|
8
|
+
closeProps?: SheetPrimitive.Close.Props;
|
|
9
|
+
portalProps?: SheetPrimitive.Portal.Props;
|
|
10
|
+
}): React.ReactElement;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { Dialog as SheetPrimitive } from '@base-ui/react/dialog';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export default function SheetViewport({ className, side, variant, ...props }: SheetPrimitive.Viewport.Props & {
|
|
4
|
+
side?: "right" | "left" | "top" | "bottom";
|
|
5
|
+
variant?: "default" | "inset";
|
|
6
|
+
}): React.ReactElement;
|
|
@@ -1,14 +1,24 @@
|
|
|
1
|
+
import { useRender } from '@base-ui/react/use-render';
|
|
1
2
|
import { Dialog as SheetPrimitive } from '@base-ui/react/dialog';
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
declare function
|
|
5
|
-
declare function
|
|
3
|
+
import { default as SheetPortal } from './sheet-parts/portal';
|
|
4
|
+
import { default as SheetOverlay } from './sheet-parts/overlay';
|
|
5
|
+
declare function Sheet({ ...props }: SheetPrimitive.Root.Props): import("react").JSX.Element;
|
|
6
|
+
declare function SheetTrigger({ ...props }: SheetPrimitive.Trigger.Props): import("react").JSX.Element;
|
|
7
|
+
declare function SheetClose({ ...props }: SheetPrimitive.Close.Props): import("react").JSX.Element;
|
|
6
8
|
declare function SheetContent({ className, children, side, showCloseButton, ...props }: SheetPrimitive.Popup.Props & {
|
|
7
9
|
side?: "top" | "right" | "bottom" | "left";
|
|
8
10
|
showCloseButton?: boolean;
|
|
9
|
-
}):
|
|
10
|
-
declare function SheetHeader({ className, ...props }:
|
|
11
|
-
declare function SheetFooter({ className, ...props }:
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
}): import("react").JSX.Element;
|
|
12
|
+
declare function SheetHeader({ className, render, ...props }: useRender.ComponentProps<"div">): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
13
|
+
declare function SheetFooter({ className, render, variant, ...props }: useRender.ComponentProps<"div"> & {
|
|
14
|
+
variant?: "default" | "bare";
|
|
15
|
+
}): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>>;
|
|
16
|
+
declare function SheetTitle({ className, ...props }: SheetPrimitive.Title.Props): import("react").JSX.Element;
|
|
17
|
+
declare function SheetDescription({ className, ...props }: SheetPrimitive.Description.Props): import("react").JSX.Element;
|
|
14
18
|
export { Sheet, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, };
|
|
19
|
+
export { default as SheetBackdrop } from './sheet-parts/backdrop';
|
|
20
|
+
export { default as SheetViewport } from './sheet-parts/viewport';
|
|
21
|
+
export { default as SheetPopup } from './sheet-parts/popup';
|
|
22
|
+
export { default as SheetPanel } from './sheet-parts/panel';
|
|
23
|
+
export { SheetPortal, SheetOverlay, SheetPrimitive };
|
|
24
|
+
export declare const SheetCreateHandle: typeof SheetPrimitive.createHandle;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export type { TableVariant } from './types';
|
|
2
|
+
export type { TableProps } from './types';
|
|
3
|
+
export { default as Table } from './base';
|
|
4
|
+
export { default as TableHeader } from './header';
|
|
5
|
+
export { default as TableBody } from './body';
|
|
6
|
+
export { default as TableFooter } from './footer';
|
|
7
|
+
export { default as TableRow } from './row';
|
|
8
|
+
export { default as TableHead } from './head';
|
|
9
|
+
export { default as TableCell } from './cell';
|
|
10
|
+
export { default as TableCaption } from './caption';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { useRender } from '@base-ui/react/use-render';
|
|
2
|
+
import { default as React } from 'react';
|
|
3
|
+
export type TableVariant = "default" | "card";
|
|
4
|
+
export type TableProps = React.ComponentProps<"table"> & {
|
|
5
|
+
variant?: TableVariant;
|
|
6
|
+
render?: useRender.ComponentProps<"div">["render"];
|
|
7
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Toggle as TogglePrimitive } from '@base-ui/react/toggle';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
import { default as React } from 'react';
|
|
4
|
+
import { toggleVariants } from './utils';
|
|
5
|
+
export default function Toggle({ className, variant, size, ...props }: TogglePrimitive.Props & VariantProps<typeof toggleVariants>): React.ReactElement;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ToggleGroup as ToggleGroupPrimitive } from '@base-ui/react/toggle-group';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
import { toggleVariants } from '../toggle';
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
export default function ToggleGroup({ className, variant, size, orientation, children, ...props }: ToggleGroupPrimitive.Props & VariantProps<typeof toggleVariants>): React.ReactElement;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { ToggleGroupContext } from './context';
|
|
2
|
+
export { default as ToggleGroup } from './base';
|
|
3
|
+
export { default as ToggleGroupItem } from './item';
|
|
4
|
+
export { default as ToggleGroupSeparator } from './separator';
|
|
5
|
+
export { ToggleGroup as ToggleGroupPrimitive } from '@base-ui/react/toggle-group';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { Toggle as TogglePrimitive } from '@base-ui/react/toggle';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
import { toggleVariants } from '../toggle';
|
|
4
|
+
import * as React from "react";
|
|
5
|
+
export default function ToggleGroupItem({ className, children, variant, size, ...props }: TogglePrimitive.Props & VariantProps<typeof toggleVariants>): React.ReactElement;
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { t as e } from "./utils-BO0qfoA6.js";
|
|
2
|
+
import { t } from "./scroll-area-BNcHlmRX.js";
|
|
3
|
+
import { t as n } from "./button-DDBbG_zF.js";
|
|
4
|
+
import { n as r } from "./portal-context-oIZFl3NP.js";
|
|
5
|
+
import { XIcon as i } from "lucide-react";
|
|
6
|
+
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
7
|
+
import { mergeProps as s } from "@base-ui/react/merge-props";
|
|
8
|
+
import { useRender as c } from "@base-ui/react/use-render";
|
|
9
|
+
import { Dialog as l, Dialog as u } from "@base-ui/react/dialog";
|
|
10
|
+
//#region src/components/ui/dialog/utils.ts
|
|
11
|
+
var d = l.createHandle, f = l.Root, p = l.Portal;
|
|
12
|
+
//#endregion
|
|
13
|
+
//#region src/components/ui/dialog/trigger.tsx
|
|
14
|
+
function m(e) {
|
|
15
|
+
return /* @__PURE__ */ a(l.Trigger, {
|
|
16
|
+
"data-slot": "dialog-trigger",
|
|
17
|
+
...e
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
21
|
+
//#region src/components/ui/dialog/close.tsx
|
|
22
|
+
function h(e) {
|
|
23
|
+
return /* @__PURE__ */ a(l.Close, {
|
|
24
|
+
"data-slot": "dialog-close",
|
|
25
|
+
...e
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
//#endregion
|
|
29
|
+
//#region src/components/ui/dialog/backdrop.tsx
|
|
30
|
+
function g({ className: t, ...n }) {
|
|
31
|
+
return /* @__PURE__ */ a(l.Backdrop, {
|
|
32
|
+
className: e("fixed inset-0 z-50 bg-black/32 backdrop-blur-sm transition-all duration-200 data-ending-style:opacity-0 data-starting-style:opacity-0", t),
|
|
33
|
+
"data-slot": "dialog-backdrop",
|
|
34
|
+
...n
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
//#endregion
|
|
38
|
+
//#region src/components/ui/dialog/viewport.tsx
|
|
39
|
+
function _({ className: t, ...n }) {
|
|
40
|
+
return /* @__PURE__ */ a(l.Viewport, {
|
|
41
|
+
className: e("fixed inset-0 z-50 grid grid-rows-[1fr_auto_3fr] justify-items-center p-4", t),
|
|
42
|
+
"data-slot": "dialog-viewport",
|
|
43
|
+
...n
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
//#endregion
|
|
47
|
+
//#region src/components/ui/dialog/popup.tsx
|
|
48
|
+
function v({ className: t, children: s, showCloseButton: c = !0, bottomStickOnMobile: u = !0, closeProps: d, portalProps: f, ...m }) {
|
|
49
|
+
let h = r(f?.container);
|
|
50
|
+
return /* @__PURE__ */ o(p, {
|
|
51
|
+
...f,
|
|
52
|
+
container: h,
|
|
53
|
+
children: [/* @__PURE__ */ a(g, {}), /* @__PURE__ */ a(_, {
|
|
54
|
+
className: e(u && "max-sm:grid-rows-[1fr_auto] max-sm:p-0 max-sm:pt-12"),
|
|
55
|
+
children: /* @__PURE__ */ o(l.Popup, {
|
|
56
|
+
className: e("relative row-start-2 flex max-h-full min-h-0 w-full min-w-0 max-w-lg origin-center flex-col rounded-2xl border bg-popover not-dark:bg-clip-padding text-popover-foreground opacity-[calc(1-var(--nested-dialogs))] shadow-lg/5 outline-none transition-[scale,opacity,translate] duration-200 ease-in-out will-change-transform before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-2xl)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] data-ending-style:opacity-0 data-starting-style:opacity-0 sm:scale-[calc(1-0.1*var(--nested-dialogs))] sm:data-ending-style:scale-98 sm:data-starting-style:scale-98 dark:before:shadow-[0_-1px_--theme(--color-white/6%)]", u && "max-sm:max-w-none max-sm:origin-bottom max-sm:rounded-none max-sm:border-x-0 max-sm:border-t max-sm:border-b-0 max-sm:data-ending-style:translate-y-4 max-sm:data-starting-style:translate-y-4 max-sm:before:hidden max-sm:before:rounded-none", t),
|
|
57
|
+
"data-slot": "dialog-popup",
|
|
58
|
+
...m,
|
|
59
|
+
children: [s, c && /* @__PURE__ */ a(l.Close, {
|
|
60
|
+
"aria-label": "Close",
|
|
61
|
+
className: "absolute end-2 top-2",
|
|
62
|
+
render: /* @__PURE__ */ a(n, {
|
|
63
|
+
size: "icon",
|
|
64
|
+
variant: "ghost"
|
|
65
|
+
}),
|
|
66
|
+
...d,
|
|
67
|
+
children: /* @__PURE__ */ a(i, {})
|
|
68
|
+
})]
|
|
69
|
+
})
|
|
70
|
+
})]
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
//#endregion
|
|
74
|
+
//#region src/components/ui/dialog/header.tsx
|
|
75
|
+
function y({ className: t, render: n, ...r }) {
|
|
76
|
+
let i = {
|
|
77
|
+
className: e("flex flex-col gap-2 p-6 in-[[data-slot=dialog-popup]:has([data-slot=dialog-panel])]:pb-3 max-sm:pb-4", t),
|
|
78
|
+
"data-slot": "dialog-header"
|
|
79
|
+
};
|
|
80
|
+
return c({
|
|
81
|
+
defaultTagName: "div",
|
|
82
|
+
props: s(i, r),
|
|
83
|
+
render: n
|
|
84
|
+
});
|
|
85
|
+
}
|
|
86
|
+
//#endregion
|
|
87
|
+
//#region src/components/ui/dialog/footer.tsx
|
|
88
|
+
function b({ className: t, variant: n = "default", render: r, ...i }) {
|
|
89
|
+
let a = {
|
|
90
|
+
className: e("flex flex-col-reverse gap-2 px-6 sm:flex-row sm:justify-end sm:rounded-b-[calc(var(--radius-2xl)-1px)]", n === "default" && "border-t bg-muted/72 py-4", n === "bare" && "in-[[data-slot=dialog-popup]:has([data-slot=dialog-panel])]:pt-3 pt-4 pb-6", t),
|
|
91
|
+
"data-slot": "dialog-footer"
|
|
92
|
+
};
|
|
93
|
+
return c({
|
|
94
|
+
defaultTagName: "div",
|
|
95
|
+
props: s(a, i),
|
|
96
|
+
render: r
|
|
97
|
+
});
|
|
98
|
+
}
|
|
99
|
+
//#endregion
|
|
100
|
+
//#region src/components/ui/dialog/title.tsx
|
|
101
|
+
function x({ className: t, ...n }) {
|
|
102
|
+
return /* @__PURE__ */ a(l.Title, {
|
|
103
|
+
className: e("font-heading font-semibold text-xl leading-none", t),
|
|
104
|
+
"data-slot": "dialog-title",
|
|
105
|
+
...n
|
|
106
|
+
});
|
|
107
|
+
}
|
|
108
|
+
//#endregion
|
|
109
|
+
//#region src/components/ui/dialog/description.tsx
|
|
110
|
+
function S({ className: t, ...n }) {
|
|
111
|
+
return /* @__PURE__ */ a(l.Description, {
|
|
112
|
+
className: e("text-muted-foreground text-sm", t),
|
|
113
|
+
"data-slot": "dialog-description",
|
|
114
|
+
...n
|
|
115
|
+
});
|
|
116
|
+
}
|
|
117
|
+
//#endregion
|
|
118
|
+
//#region src/components/ui/dialog/panel.tsx
|
|
119
|
+
function C({ className: n, scrollFade: r = !0, render: i, ...o }) {
|
|
120
|
+
let l = {
|
|
121
|
+
className: e("p-6 in-[[data-slot=dialog-popup]:has([data-slot=dialog-header])]:pt-1 in-[[data-slot=dialog-popup]:has([data-slot=dialog-footer]:not(.border-t))]:pb-1", n),
|
|
122
|
+
"data-slot": "dialog-panel"
|
|
123
|
+
};
|
|
124
|
+
return /* @__PURE__ */ a(t, {
|
|
125
|
+
overscrollContain: !0,
|
|
126
|
+
scrollFade: r,
|
|
127
|
+
children: c({
|
|
128
|
+
defaultTagName: "div",
|
|
129
|
+
props: s(l, o),
|
|
130
|
+
render: i
|
|
131
|
+
})
|
|
132
|
+
});
|
|
133
|
+
}
|
|
134
|
+
//#endregion
|
|
135
|
+
export { b as a, _ as c, m as d, f, x as i, g as l, p as m, C as n, y as o, d as p, S as r, v as s, u as t, h as u };
|