@acronis-platform/ui-react 0.54.0 → 0.56.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +4 -2
- package/dist/components/ui/accordion/accordion.js +0 -53
- package/dist/components/ui/accordion/accordion.js.map +0 -1
- package/dist/components/ui/alert/alert.js +0 -99
- package/dist/components/ui/alert/alert.js.map +0 -1
- package/dist/components/ui/app-shell/app-shell.js +0 -75
- package/dist/components/ui/app-shell/app-shell.js.map +0 -1
- package/dist/components/ui/auth-layout/auth-layout.js +0 -56
- package/dist/components/ui/auth-layout/auth-layout.js.map +0 -1
- package/dist/components/ui/avatar/avatar.js +0 -70
- package/dist/components/ui/avatar/avatar.js.map +0 -1
- package/dist/components/ui/breadcrumb/breadcrumb.js +0 -116
- package/dist/components/ui/breadcrumb/breadcrumb.js.map +0 -1
- package/dist/components/ui/button/button.js +0 -50
- package/dist/components/ui/button/button.js.map +0 -1
- package/dist/components/ui/button-icon/button-icon.js +0 -35
- package/dist/components/ui/button-icon/button-icon.js.map +0 -1
- package/dist/components/ui/button-menu/button-menu.js +0 -52
- package/dist/components/ui/button-menu/button-menu.js.map +0 -1
- package/dist/components/ui/card/card.js +0 -92
- package/dist/components/ui/card/card.js.map +0 -1
- package/dist/components/ui/card-filter/card-filter.js +0 -63
- package/dist/components/ui/card-filter/card-filter.js.map +0 -1
- package/dist/components/ui/chart/chart.js +0 -213
- package/dist/components/ui/chart/chart.js.map +0 -1
- package/dist/components/ui/checkbox/checkbox.js +0 -70
- package/dist/components/ui/checkbox/checkbox.js.map +0 -1
- package/dist/components/ui/chip/chip.js +0 -70
- package/dist/components/ui/chip/chip.js.map +0 -1
- package/dist/components/ui/collapsible/collapsible.js +0 -22
- package/dist/components/ui/collapsible/collapsible.js.map +0 -1
- package/dist/components/ui/combobox/combobox.js +0 -149
- package/dist/components/ui/combobox/combobox.js.map +0 -1
- package/dist/components/ui/data-table/data-table-column-header.js +0 -36
- package/dist/components/ui/data-table/data-table-column-header.js.map +0 -1
- package/dist/components/ui/data-table/data-table-pagination.js +0 -89
- package/dist/components/ui/data-table/data-table-pagination.js.map +0 -1
- package/dist/components/ui/data-table/data-table-toolbar.js +0 -46
- package/dist/components/ui/data-table/data-table-toolbar.js.map +0 -1
- package/dist/components/ui/data-table/data-table-view-options.js +0 -40
- package/dist/components/ui/data-table/data-table-view-options.js.map +0 -1
- package/dist/components/ui/data-table/data-table.js +0 -89
- package/dist/components/ui/data-table/data-table.js.map +0 -1
- package/dist/components/ui/description-list/description-list.js +0 -54
- package/dist/components/ui/description-list/description-list.js.map +0 -1
- package/dist/components/ui/dialog/dialog.js +0 -140
- package/dist/components/ui/dialog/dialog.js.map +0 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu.js +0 -159
- package/dist/components/ui/dropdown-menu/dropdown-menu.js.map +0 -1
- package/dist/components/ui/empty/empty.js +0 -78
- package/dist/components/ui/empty/empty.js.map +0 -1
- package/dist/components/ui/field/field.js +0 -189
- package/dist/components/ui/field/field.js.map +0 -1
- package/dist/components/ui/form/form.js +0 -16
- package/dist/components/ui/form/form.js.map +0 -1
- package/dist/components/ui/grid/grid.js +0 -69
- package/dist/components/ui/grid/grid.js.map +0 -1
- package/dist/components/ui/input/input.js +0 -22
- package/dist/components/ui/input/input.js.map +0 -1
- package/dist/components/ui/input-date-picker/input-date-picker.js +0 -104
- package/dist/components/ui/input-date-picker/input-date-picker.js.map +0 -1
- package/dist/components/ui/input-search/input-search.js +0 -57
- package/dist/components/ui/input-search/input-search.js.map +0 -1
- package/dist/components/ui/input-select/input-select.js +0 -265
- package/dist/components/ui/input-select/input-select.js.map +0 -1
- package/dist/components/ui/input-text/input-text.js +0 -87
- package/dist/components/ui/input-text/input-text.js.map +0 -1
- package/dist/components/ui/input-text-area/input-text-area.js +0 -77
- package/dist/components/ui/input-text-area/input-text-area.js.map +0 -1
- package/dist/components/ui/label/label.js +0 -12
- package/dist/components/ui/label/label.js.map +0 -1
- package/dist/components/ui/link/link.js +0 -39
- package/dist/components/ui/link/link.js.map +0 -1
- package/dist/components/ui/number-field/number-field.js +0 -61
- package/dist/components/ui/number-field/number-field.js.map +0 -1
- package/dist/components/ui/page-content/page-content.js +0 -19
- package/dist/components/ui/page-content/page-content.js.map +0 -1
- package/dist/components/ui/page-header/page-header.js +0 -74
- package/dist/components/ui/page-header/page-header.js.map +0 -1
- package/dist/components/ui/pagination/pagination.js +0 -87
- package/dist/components/ui/pagination/pagination.js.map +0 -1
- package/dist/components/ui/popover/popover.js +0 -48
- package/dist/components/ui/popover/popover.js.map +0 -1
- package/dist/components/ui/progress/progress.js +0 -30
- package/dist/components/ui/progress/progress.js.map +0 -1
- package/dist/components/ui/progress-circle/progress-circle.js +0 -115
- package/dist/components/ui/progress-circle/progress-circle.js.map +0 -1
- package/dist/components/ui/radio/radio.js +0 -44
- package/dist/components/ui/radio/radio.js.map +0 -1
- package/dist/components/ui/resizable/resizable.js +0 -52
- package/dist/components/ui/resizable/resizable.js.map +0 -1
- package/dist/components/ui/scroll-area/scroll-area.js +0 -61
- package/dist/components/ui/scroll-area/scroll-area.js.map +0 -1
- package/dist/components/ui/search/search.js +0 -93
- package/dist/components/ui/search/search.js.map +0 -1
- package/dist/components/ui/search-global/search-global.js +0 -60
- package/dist/components/ui/search-global/search-global.js.map +0 -1
- package/dist/components/ui/section/section.js +0 -37
- package/dist/components/ui/section/section.js.map +0 -1
- package/dist/components/ui/separator/separator.js +0 -22
- package/dist/components/ui/separator/separator.js.map +0 -1
- package/dist/components/ui/sheet/sheet-details.js +0 -80
- package/dist/components/ui/sheet/sheet-details.js.map +0 -1
- package/dist/components/ui/sheet/sheet.js +0 -138
- package/dist/components/ui/sheet/sheet.js.map +0 -1
- package/dist/components/ui/sidebar-primary/sidebar-primary.js +0 -252
- package/dist/components/ui/sidebar-primary/sidebar-primary.js.map +0 -1
- package/dist/components/ui/sidebar-secondary/sidebar-secondary.js +0 -470
- package/dist/components/ui/sidebar-secondary/sidebar-secondary.js.map +0 -1
- package/dist/components/ui/skeleton/skeleton.js +0 -22
- package/dist/components/ui/skeleton/skeleton.js.map +0 -1
- package/dist/components/ui/slider/slider.js +0 -42
- package/dist/components/ui/slider/slider.js.map +0 -1
- package/dist/components/ui/spinner/spinner.js +0 -38
- package/dist/components/ui/spinner/spinner.js.map +0 -1
- package/dist/components/ui/stack/stack.js +0 -61
- package/dist/components/ui/stack/stack.js.map +0 -1
- package/dist/components/ui/switch/switch.js +0 -41
- package/dist/components/ui/switch/switch.js.map +0 -1
- package/dist/components/ui/table/table.js +0 -118
- package/dist/components/ui/table/table.js.map +0 -1
- package/dist/components/ui/tabs/tabs.js +0 -44
- package/dist/components/ui/tabs/tabs.js.map +0 -1
- package/dist/components/ui/tag/tag.js +0 -47
- package/dist/components/ui/tag/tag.js.map +0 -1
- package/dist/components/ui/toast/toast.js +0 -83
- package/dist/components/ui/toast/toast.js.map +0 -1
- package/dist/components/ui/toggle-group/toggle-group.js +0 -47
- package/dist/components/ui/toggle-group/toggle-group.js.map +0 -1
- package/dist/components/ui/tooltip/tooltip.js +0 -49
- package/dist/components/ui/tooltip/tooltip.js.map +0 -1
- package/dist/components/ui/widget-placeholder/widget-placeholder.js +0 -106
- package/dist/components/ui/widget-placeholder/widget-placeholder.js.map +0 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js +0 -360
- package/dist/index.js.map +0 -1
- package/dist/lib/utils.js +0 -9
- package/dist/lib/utils.js.map +0 -1
- package/dist/node_modules/.pnpm/@tanstack_react-table@8.21.3_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@tanstack/react-table/build/lib/index.js +0 -104
- package/dist/node_modules/.pnpm/@tanstack_react-table@8.21.3_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/@tanstack/react-table/build/lib/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js +0 -1900
- package/dist/node_modules/.pnpm/@tanstack_table-core@8.21.3/node_modules/@tanstack/table-core/build/lib/index.js.map +0 -1
- package/dist/node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js +0 -36
- package/dist/node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.js.map +0 -1
- package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js +0 -17
- package/dist/node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.js.map +0 -1
- package/dist/node_modules/.pnpm/react-resizable-panels@4.11.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/react-resizable-panels/dist/react-resizable-panels.js +0 -2093
- package/dist/node_modules/.pnpm/react-resizable-panels@4.11.2_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/react-resizable-panels/dist/react-resizable-panels.js.map +0 -1
- package/dist/node_modules/.pnpm/tailwind-merge@3.6.0/node_modules/tailwind-merge/dist/bundle-mjs.js +0 -2996
- package/dist/node_modules/.pnpm/tailwind-merge@3.6.0/node_modules/tailwind-merge/dist/bundle-mjs.js.map +0 -1
- package/dist/react.d.ts +0 -2
- package/dist/react.js +0 -360
- package/dist/react.js.map +0 -1
- package/dist/src/components/ui/accordion/accordion.d.ts +0 -7
- package/dist/src/components/ui/accordion/index.d.ts +0 -1
- package/dist/src/components/ui/alert/alert.d.ts +0 -14
- package/dist/src/components/ui/alert/index.d.ts +0 -2
- package/dist/src/components/ui/app-shell/app-shell.d.ts +0 -8
- package/dist/src/components/ui/app-shell/index.d.ts +0 -1
- package/dist/src/components/ui/auth-layout/auth-layout.d.ts +0 -6
- package/dist/src/components/ui/auth-layout/index.d.ts +0 -1
- package/dist/src/components/ui/avatar/avatar.d.ts +0 -27
- package/dist/src/components/ui/avatar/index.d.ts +0 -1
- package/dist/src/components/ui/breadcrumb/breadcrumb.d.ts +0 -30
- package/dist/src/components/ui/breadcrumb/index.d.ts +0 -1
- package/dist/src/components/ui/button/button.d.ts +0 -16
- package/dist/src/components/ui/button/index.d.ts +0 -1
- package/dist/src/components/ui/button-icon/button-icon.d.ts +0 -20
- package/dist/src/components/ui/button-icon/index.d.ts +0 -1
- package/dist/src/components/ui/button-menu/button-menu.d.ts +0 -29
- package/dist/src/components/ui/button-menu/index.d.ts +0 -1
- package/dist/src/components/ui/card/card.d.ts +0 -17
- package/dist/src/components/ui/card/index.d.ts +0 -1
- package/dist/src/components/ui/card-filter/card-filter.d.ts +0 -27
- package/dist/src/components/ui/card-filter/index.d.ts +0 -1
- package/dist/src/components/ui/chart/chart.d.ts +0 -55
- package/dist/src/components/ui/chart/index.d.ts +0 -2
- package/dist/src/components/ui/checkbox/checkbox.d.ts +0 -10
- package/dist/src/components/ui/checkbox/index.d.ts +0 -1
- package/dist/src/components/ui/chip/chip.d.ts +0 -20
- package/dist/src/components/ui/chip/index.d.ts +0 -1
- package/dist/src/components/ui/collapsible/collapsible.d.ts +0 -5
- package/dist/src/components/ui/collapsible/index.d.ts +0 -1
- package/dist/src/components/ui/combobox/combobox.d.ts +0 -28
- package/dist/src/components/ui/combobox/index.d.ts +0 -2
- package/dist/src/components/ui/data-table/data-table-column-header.d.ts +0 -8
- package/dist/src/components/ui/data-table/data-table-pagination.d.ts +0 -8
- package/dist/src/components/ui/data-table/data-table-toolbar.d.ts +0 -9
- package/dist/src/components/ui/data-table/data-table-view-options.d.ts +0 -6
- package/dist/src/components/ui/data-table/data-table.d.ts +0 -24
- package/dist/src/components/ui/data-table/data-table.docs.d.ts +0 -22
- package/dist/src/components/ui/data-table/index.d.ts +0 -5
- package/dist/src/components/ui/description-list/description-list.d.ts +0 -8
- package/dist/src/components/ui/description-list/index.d.ts +0 -1
- package/dist/src/components/ui/dialog/dialog.d.ts +0 -39
- package/dist/src/components/ui/dialog/dialog.docs.d.ts +0 -24
- package/dist/src/components/ui/dialog/index.d.ts +0 -1
- package/dist/src/components/ui/dropdown-menu/dropdown-menu.d.ts +0 -39
- package/dist/src/components/ui/dropdown-menu/dropdown-menu.docs.d.ts +0 -25
- package/dist/src/components/ui/dropdown-menu/index.d.ts +0 -1
- package/dist/src/components/ui/empty/empty.d.ts +0 -9
- package/dist/src/components/ui/empty/index.d.ts +0 -1
- package/dist/src/components/ui/field/field.d.ts +0 -39
- package/dist/src/components/ui/field/field.docs.d.ts +0 -27
- package/dist/src/components/ui/field/index.d.ts +0 -2
- package/dist/src/components/ui/form/form.d.ts +0 -6
- package/dist/src/components/ui/form/index.d.ts +0 -1
- package/dist/src/components/ui/grid/grid.d.ts +0 -15
- package/dist/src/components/ui/grid/index.d.ts +0 -1
- package/dist/src/components/ui/input/index.d.ts +0 -1
- package/dist/src/components/ui/input/input.d.ts +0 -4
- package/dist/src/components/ui/input-date-picker/index.d.ts +0 -1
- package/dist/src/components/ui/input-date-picker/input-date-picker.d.ts +0 -27
- package/dist/src/components/ui/input-search/index.d.ts +0 -1
- package/dist/src/components/ui/input-search/input-search.d.ts +0 -10
- package/dist/src/components/ui/input-select/index.d.ts +0 -1
- package/dist/src/components/ui/input-select/input-select.d.ts +0 -46
- package/dist/src/components/ui/input-text/index.d.ts +0 -1
- package/dist/src/components/ui/input-text/input-text.d.ts +0 -20
- package/dist/src/components/ui/input-text-area/index.d.ts +0 -1
- package/dist/src/components/ui/input-text-area/input-text-area.d.ts +0 -16
- package/dist/src/components/ui/label/index.d.ts +0 -1
- package/dist/src/components/ui/label/label.d.ts +0 -5
- package/dist/src/components/ui/label/label.docs.d.ts +0 -10
- package/dist/src/components/ui/link/index.d.ts +0 -1
- package/dist/src/components/ui/link/link.d.ts +0 -15
- package/dist/src/components/ui/number-field/index.d.ts +0 -1
- package/dist/src/components/ui/number-field/number-field.d.ts +0 -7
- package/dist/src/components/ui/page-content/index.d.ts +0 -1
- package/dist/src/components/ui/page-content/page-content.d.ts +0 -4
- package/dist/src/components/ui/page-header/index.d.ts +0 -1
- package/dist/src/components/ui/page-header/page-header.d.ts +0 -8
- package/dist/src/components/ui/pagination/index.d.ts +0 -2
- package/dist/src/components/ui/pagination/pagination.d.ts +0 -25
- package/dist/src/components/ui/popover/index.d.ts +0 -1
- package/dist/src/components/ui/popover/popover.d.ts +0 -27
- package/dist/src/components/ui/popover/popover.docs.d.ts +0 -25
- package/dist/src/components/ui/progress/index.d.ts +0 -1
- package/dist/src/components/ui/progress/progress.d.ts +0 -9
- package/dist/src/components/ui/progress/progress.docs.d.ts +0 -16
- package/dist/src/components/ui/progress-circle/index.d.ts +0 -1
- package/dist/src/components/ui/progress-circle/progress-circle.d.ts +0 -47
- package/dist/src/components/ui/progress-circle/progress-circle.docs.d.ts +0 -21
- package/dist/src/components/ui/radio/index.d.ts +0 -1
- package/dist/src/components/ui/radio/radio.d.ts +0 -8
- package/dist/src/components/ui/resizable/index.d.ts +0 -1
- package/dist/src/components/ui/resizable/resizable.d.ts +0 -9
- package/dist/src/components/ui/scroll-area/index.d.ts +0 -1
- package/dist/src/components/ui/scroll-area/scroll-area.d.ts +0 -10
- package/dist/src/components/ui/search/index.d.ts +0 -1
- package/dist/src/components/ui/search/search.d.ts +0 -7
- package/dist/src/components/ui/search-global/index.d.ts +0 -1
- package/dist/src/components/ui/search-global/search-global.d.ts +0 -7
- package/dist/src/components/ui/section/index.d.ts +0 -1
- package/dist/src/components/ui/section/section.d.ts +0 -7
- package/dist/src/components/ui/select/index.d.ts +0 -1
- package/dist/src/components/ui/select/select.d.ts +0 -1
- package/dist/src/components/ui/separator/index.d.ts +0 -1
- package/dist/src/components/ui/separator/separator.d.ts +0 -3
- package/dist/src/components/ui/sheet/index.d.ts +0 -3
- package/dist/src/components/ui/sheet/sheet-details.d.ts +0 -42
- package/dist/src/components/ui/sheet/sheet.d.ts +0 -36
- package/dist/src/components/ui/sheet/sheet.docs.d.ts +0 -21
- package/dist/src/components/ui/sidebar-primary/index.d.ts +0 -1
- package/dist/src/components/ui/sidebar-primary/sidebar-primary.d.ts +0 -54
- package/dist/src/components/ui/sidebar-secondary/index.d.ts +0 -1
- package/dist/src/components/ui/sidebar-secondary/sidebar-secondary.d.ts +0 -112
- package/dist/src/components/ui/skeleton/index.d.ts +0 -1
- package/dist/src/components/ui/skeleton/skeleton.d.ts +0 -4
- package/dist/src/components/ui/slider/index.d.ts +0 -1
- package/dist/src/components/ui/slider/slider.d.ts +0 -7
- package/dist/src/components/ui/spinner/index.d.ts +0 -1
- package/dist/src/components/ui/spinner/spinner.d.ts +0 -9
- package/dist/src/components/ui/stack/index.d.ts +0 -1
- package/dist/src/components/ui/stack/stack.d.ts +0 -13
- package/dist/src/components/ui/switch/index.d.ts +0 -1
- package/dist/src/components/ui/switch/switch.d.ts +0 -8
- package/dist/src/components/ui/table/index.d.ts +0 -1
- package/dist/src/components/ui/table/table.d.ts +0 -23
- package/dist/src/components/ui/tabs/index.d.ts +0 -1
- package/dist/src/components/ui/tabs/tabs.d.ts +0 -6
- package/dist/src/components/ui/tabs/tabs.docs.d.ts +0 -25
- package/dist/src/components/ui/tag/index.d.ts +0 -1
- package/dist/src/components/ui/tag/tag.d.ts +0 -12
- package/dist/src/components/ui/toast/index.d.ts +0 -1
- package/dist/src/components/ui/toast/toast.d.ts +0 -48
- package/dist/src/components/ui/toast/toast.docs.d.ts +0 -12
- package/dist/src/components/ui/toggle-group/index.d.ts +0 -1
- package/dist/src/components/ui/toggle-group/toggle-group.d.ts +0 -7
- package/dist/src/components/ui/tooltip/index.d.ts +0 -1
- package/dist/src/components/ui/tooltip/tooltip.d.ts +0 -13
- package/dist/src/components/ui/widget-placeholder/index.d.ts +0 -1
- package/dist/src/components/ui/widget-placeholder/widget-placeholder.d.ts +0 -18
- package/dist/src/components/ui/widget-placeholder/widget-placeholder.docs.d.ts +0 -14
- package/dist/src/index.d.ts +0 -66
- package/dist/src/lib/utils.d.ts +0 -2
- package/dist/src/react.d.ts +0 -1
- package/dist/styles.d.ts +0 -1
- package/dist/ui-react.css +0 -1
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { Select as SelectPrimitive } from '@base-ui/react/select';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
declare function InputSelect<Value, Multiple extends boolean | undefined = false>(props: SelectPrimitive.Root.Props<Value, Multiple>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare namespace InputSelect {
|
|
5
|
-
var displayName: string;
|
|
6
|
-
}
|
|
7
|
-
declare const InputSelectGroup: React.ForwardRefExoticComponent<Omit<import('@base-ui/react').SelectGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
-
/** Vertical field stack: label, trigger, description/error. */
|
|
9
|
-
declare const InputSelectField: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
declare const InputSelectLabel: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').SelectLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
11
|
-
/** Appends a required `*` after the label text. */
|
|
12
|
-
required?: boolean;
|
|
13
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
14
|
-
declare const InputSelectTrigger: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').SelectTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
15
|
-
declare const InputSelectValue: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').SelectValueProps, "ref"> & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
16
|
-
declare const InputSelectContent: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').SelectPopupProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
17
|
-
sideOffset?: number;
|
|
18
|
-
align?: SelectPrimitive.Positioner.Props["align"];
|
|
19
|
-
side?: SelectPrimitive.Positioner.Props["side"];
|
|
20
|
-
/**
|
|
21
|
-
* Container to portal the dropdown into. Defaults to the document body;
|
|
22
|
-
* pass an element to scope the portal (e.g. a shadow root, so the popup
|
|
23
|
-
* inherits styles defined there).
|
|
24
|
-
*/
|
|
25
|
-
portalContainer?: SelectPrimitive.Portal.Props["container"];
|
|
26
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
27
|
-
/**
|
|
28
|
-
* Presentational in-dropdown search row (magnifier + input). The consumer wires
|
|
29
|
-
* `value`/`onChange` to filter the items it renders.
|
|
30
|
-
*/
|
|
31
|
-
declare const InputSelectSearch: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
32
|
-
/** A section (group) of items with an optional header. Divided by a top border. */
|
|
33
|
-
declare const InputSelectSection: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').SelectGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
34
|
-
declare const InputSelectSectionLabel: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').SelectGroupLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
35
|
-
declare const InputSelectItem: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').SelectItemProps, "ref"> & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
|
|
36
|
-
declare const InputSelectDescription: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
37
|
-
declare const InputSelectError: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
38
|
-
export interface InputSelectStatusProps extends React.ComponentPropsWithoutRef<'div'> {
|
|
39
|
-
/** Which status to show. Drives the leading icon. */
|
|
40
|
-
variant: 'loading' | 'empty' | 'error';
|
|
41
|
-
/** Optional trailing action (e.g. a "Try again" button) — shown for `error`. */
|
|
42
|
-
action?: React.ReactNode;
|
|
43
|
-
}
|
|
44
|
-
/** Loading / empty / error status row shown instead of items inside the dropdown. */
|
|
45
|
-
declare const InputSelectStatus: React.ForwardRefExoticComponent<InputSelectStatusProps & React.RefAttributes<HTMLDivElement>>;
|
|
46
|
-
export { InputSelect, InputSelectField, InputSelectLabel, InputSelectTrigger, InputSelectValue, InputSelectContent, InputSelectSearch, InputSelectGroup, InputSelectSection, InputSelectSectionLabel, InputSelectItem, InputSelectDescription, InputSelectError, InputSelectStatus, };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { InputText, type InputTextProps } from './input-text';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface InputTextProps extends Omit<React.ComponentPropsWithoutRef<'input'>, 'children'> {
|
|
3
|
-
/** Field label, rendered above the input. */
|
|
4
|
-
label?: React.ReactNode;
|
|
5
|
-
/** Marks the field required — appends a `*` after the label. */
|
|
6
|
-
required?: boolean;
|
|
7
|
-
/** Helper text below the input. Hidden while `error` is set. */
|
|
8
|
-
description?: React.ReactNode;
|
|
9
|
-
/**
|
|
10
|
-
* Error message below the input. Its presence switches the field to the error
|
|
11
|
-
* treatment (red box border + red message).
|
|
12
|
-
*/
|
|
13
|
-
error?: React.ReactNode;
|
|
14
|
-
/** Show a clear (✕) button while the (controlled) field has a value. */
|
|
15
|
-
clearable?: boolean;
|
|
16
|
-
/** Called when the clear button is activated. */
|
|
17
|
-
onClear?: () => void;
|
|
18
|
-
}
|
|
19
|
-
declare const InputText: React.ForwardRefExoticComponent<InputTextProps & React.RefAttributes<HTMLInputElement>>;
|
|
20
|
-
export { InputText };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { InputTextArea, type InputTextAreaProps } from './input-text-area';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface InputTextAreaProps extends Omit<React.ComponentPropsWithoutRef<'textarea'>, 'children'> {
|
|
3
|
-
/** Field label, rendered above the textarea. */
|
|
4
|
-
label?: React.ReactNode;
|
|
5
|
-
/** Marks the field required — appends a `*` after the label. */
|
|
6
|
-
required?: boolean;
|
|
7
|
-
/** Helper text below the textarea. Hidden while `error` is set. */
|
|
8
|
-
description?: React.ReactNode;
|
|
9
|
-
/**
|
|
10
|
-
* Error message below the textarea. Its presence switches the field to the error
|
|
11
|
-
* treatment (red box border + red message).
|
|
12
|
-
*/
|
|
13
|
-
error?: React.ReactNode;
|
|
14
|
-
}
|
|
15
|
-
declare const InputTextArea: React.ForwardRefExoticComponent<InputTextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
|
|
16
|
-
export { InputTextArea };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Label, labelClassName, type LabelProps } from './label';
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const labelClassName = "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70";
|
|
3
|
-
export type LabelProps = React.ComponentPropsWithoutRef<'label'>;
|
|
4
|
-
declare const Label: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
|
|
5
|
-
export { Label, labelClassName };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type * as React from 'react';
|
|
2
|
-
/** Props for `Label` — a caption for a form control. */
|
|
3
|
-
export interface LabelProps {
|
|
4
|
-
/** The `id` of the control this label captions; clicking focuses it. */
|
|
5
|
-
htmlFor?: string;
|
|
6
|
-
/** Extra classes merged onto the label. */
|
|
7
|
-
className?: string;
|
|
8
|
-
/** The label text. */
|
|
9
|
-
children?: React.ReactNode;
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Link, type LinkProps } from './link';
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { useRender } from '@base-ui/react/use-render';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
export interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
4
|
-
/** Append a trailing external-link icon (e.g. for links that leave the app). */
|
|
5
|
-
external?: boolean;
|
|
6
|
-
/** Render the link inert: disabled color, removed from the tab order, no navigation. */
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Replace the rendered `<a>` with another element or component (Base UI
|
|
10
|
-
* composition) — e.g. a router `Link`. Props and class names are merged onto it.
|
|
11
|
-
*/
|
|
12
|
-
render?: useRender.RenderProp;
|
|
13
|
-
}
|
|
14
|
-
declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
|
|
15
|
-
export { Link };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { NumberField, NumberFieldGroup, NumberFieldInput, NumberFieldDecrement, NumberFieldIncrement, } from './number-field';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const NumberField: React.ForwardRefExoticComponent<Omit<import('@base-ui/react').NumberFieldRootProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
3
|
-
declare const NumberFieldGroup: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').NumberFieldGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
-
declare const NumberFieldInput: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').NumberFieldInputProps, "ref"> & React.RefAttributes<HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
5
|
-
declare const NumberFieldDecrement: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').NumberFieldDecrementProps, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
6
|
-
declare const NumberFieldIncrement: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').NumberFieldIncrementProps, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
7
|
-
export { NumberField, NumberFieldGroup, NumberFieldInput, NumberFieldDecrement, NumberFieldIncrement, };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { PageContent, type PageContentProps } from './page-content';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { PageHeader, PageHeaderBreadcrumb, PageHeaderRow, PageHeaderTitle, PageHeaderDescription, PageHeaderActions, } from './page-header';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const PageHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
3
|
-
declare const PageHeaderBreadcrumb: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
4
|
-
declare const PageHeaderRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
-
declare const PageHeaderTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
|
|
6
|
-
declare const PageHeaderDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
7
|
-
declare const PageHeaderActions: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
-
export { PageHeader, PageHeaderBreadcrumb, PageHeaderRow, PageHeaderTitle, PageHeaderDescription, PageHeaderActions, };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare function Pagination({ className, ...props }: React.ComponentProps<'nav'>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare const PaginationContent: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
|
|
4
|
-
declare const PaginationItem: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React.RefAttributes<HTMLLIElement>>;
|
|
5
|
-
export interface PaginationLinkProps extends React.ComponentProps<'a'> {
|
|
6
|
-
/** Marks the current page (sets aria-current and the selected treatment). */
|
|
7
|
-
isActive?: boolean;
|
|
8
|
-
}
|
|
9
|
-
declare const PaginationLink: {
|
|
10
|
-
({ className, isActive, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
displayName: string;
|
|
12
|
-
};
|
|
13
|
-
declare const PaginationPrevious: {
|
|
14
|
-
({ className, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
displayName: string;
|
|
16
|
-
};
|
|
17
|
-
declare const PaginationNext: {
|
|
18
|
-
({ className, ...props }: PaginationLinkProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
displayName: string;
|
|
20
|
-
};
|
|
21
|
-
declare const PaginationEllipsis: {
|
|
22
|
-
({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
displayName: string;
|
|
24
|
-
};
|
|
25
|
-
export { Pagination, PaginationContent, PaginationItem, PaginationLink, PaginationPrevious, PaginationNext, PaginationEllipsis, };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Popover, PopoverTrigger, PopoverPortal, PopoverContent, type PopoverContentProps, } from './popover';
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { Popover as PopoverPrimitive } from '@base-ui/react/popover';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
declare const Popover: typeof PopoverPrimitive.Root;
|
|
4
|
-
declare const PopoverTrigger: PopoverPrimitive.Trigger;
|
|
5
|
-
declare const PopoverPortal: React.ForwardRefExoticComponent<Omit<import('@base-ui/react').PopoverPortalProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
-
export interface PopoverContentProps extends React.ComponentPropsWithoutRef<typeof PopoverPrimitive.Popup> {
|
|
7
|
-
/** Which side of the trigger to render on. */
|
|
8
|
-
side?: PopoverPrimitive.Positioner.Props['side'];
|
|
9
|
-
/** Alignment along the chosen side. */
|
|
10
|
-
align?: PopoverPrimitive.Positioner.Props['align'];
|
|
11
|
-
/** Distance in px from the trigger. */
|
|
12
|
-
sideOffset?: number;
|
|
13
|
-
/**
|
|
14
|
-
* Render inside a portal (default `true`). Set `false` for inline usage
|
|
15
|
-
* (e.g. when supplying your own `PopoverPortal`).
|
|
16
|
-
*/
|
|
17
|
-
portal?: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Portal container. Pass a shadow-root mount for isolated-style previews
|
|
20
|
-
* (the docs demos do this via `useShadowMount`).
|
|
21
|
-
*/
|
|
22
|
-
portalContainer?: PopoverPrimitive.Portal.Props['container'];
|
|
23
|
-
/** Keep the content mounted while closed (Base UI `Portal` prop). */
|
|
24
|
-
keepMounted?: PopoverPrimitive.Portal.Props['keepMounted'];
|
|
25
|
-
}
|
|
26
|
-
declare const PopoverContent: React.ForwardRefExoticComponent<PopoverContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
27
|
-
export { Popover, PopoverTrigger, PopoverPortal, PopoverContent };
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type * as React from 'react';
|
|
2
|
-
/** Props for `PopoverContent` — the positioned, portaled popover panel. */
|
|
3
|
-
export interface PopoverContentProps {
|
|
4
|
-
/** Which side of the trigger to render on. Defaults to `bottom`. */
|
|
5
|
-
side?: 'top' | 'bottom' | 'left' | 'right' | 'inline-start' | 'inline-end';
|
|
6
|
-
/** Alignment along the chosen side. Defaults to `center`. */
|
|
7
|
-
align?: 'start' | 'center' | 'end';
|
|
8
|
-
/** Distance in px from the trigger. Defaults to `4`. */
|
|
9
|
-
sideOffset?: number;
|
|
10
|
-
/**
|
|
11
|
-
* Render inside a portal (default `true`). Disable only when you supply your
|
|
12
|
-
* own `PopoverPortal` ancestor.
|
|
13
|
-
*/
|
|
14
|
-
portal?: boolean;
|
|
15
|
-
/**
|
|
16
|
-
* Portal container. Pass a shadow-root mount for isolated-style previews
|
|
17
|
-
* (the docs demos do this via `useShadowMount`).
|
|
18
|
-
*/
|
|
19
|
-
portalContainer?: HTMLElement | null;
|
|
20
|
-
/** Keep the content mounted while closed. */
|
|
21
|
-
keepMounted?: boolean;
|
|
22
|
-
/** Extra classes merged onto the popup. */
|
|
23
|
-
className?: string;
|
|
24
|
-
children?: React.ReactNode;
|
|
25
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Progress, type ProgressProps } from './progress';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Progress as ProgressPrimitive } from '@base-ui/react';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
export type ProgressProps = Omit<React.ComponentPropsWithoutRef<typeof ProgressPrimitive.Root>, 'value'> & {
|
|
4
|
-
value?: number | null;
|
|
5
|
-
};
|
|
6
|
-
declare const Progress: React.ForwardRefExoticComponent<Omit<Omit<Omit<import('@base-ui/react').ProgressRootProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref">, "value"> & {
|
|
7
|
-
value?: number | null;
|
|
8
|
-
} & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
export { Progress };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type * as React from 'react';
|
|
2
|
-
/** Props for `Progress` — a determinate or indeterminate progress bar. */
|
|
3
|
-
export interface ProgressProps {
|
|
4
|
-
/**
|
|
5
|
-
* Completion between `min` and `max`. `null` (the default) renders an
|
|
6
|
-
* indeterminate sliding bar.
|
|
7
|
-
*/
|
|
8
|
-
value?: number | null;
|
|
9
|
-
/** The value representing full completion (default `100`). */
|
|
10
|
-
max?: number;
|
|
11
|
-
/** The value representing no completion (default `0`). */
|
|
12
|
-
min?: number;
|
|
13
|
-
/** Extra classes merged onto the root. */
|
|
14
|
-
className?: string;
|
|
15
|
-
children?: React.ReactNode;
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ProgressCircle, progressCircleVariants, type ProgressCircleProps, type ProgressCircleSize, type ProgressCircleStatus, } from './progress-circle';
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
export type ProgressCircleStatus = 'brand' | 'danger' | 'critical' | 'warning' | 'success';
|
|
4
|
-
declare const SIZES: {
|
|
5
|
-
readonly tiny: {
|
|
6
|
-
readonly d: 16;
|
|
7
|
-
readonly stroke: 2;
|
|
8
|
-
readonly font: "text-[10px] leading-none";
|
|
9
|
-
};
|
|
10
|
-
readonly sm: {
|
|
11
|
-
readonly d: 24;
|
|
12
|
-
readonly stroke: 3;
|
|
13
|
-
readonly font: "text-[10px] leading-none";
|
|
14
|
-
};
|
|
15
|
-
readonly md: {
|
|
16
|
-
readonly d: 40;
|
|
17
|
-
readonly stroke: 4;
|
|
18
|
-
readonly font: "text-xs font-semibold";
|
|
19
|
-
};
|
|
20
|
-
readonly lg: {
|
|
21
|
-
readonly d: 64;
|
|
22
|
-
readonly stroke: 5;
|
|
23
|
-
readonly font: "text-sm font-semibold";
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
export type ProgressCircleSize = keyof typeof SIZES;
|
|
27
|
-
declare const progressCircleVariants: (props?: ({
|
|
28
|
-
size?: "sm" | "md" | "lg" | "tiny" | null | undefined;
|
|
29
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
30
|
-
export interface ProgressCircleProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>, VariantProps<typeof progressCircleVariants> {
|
|
31
|
-
/** Current progress; clamped to `[0, max]`. */
|
|
32
|
-
value?: number;
|
|
33
|
-
/** Value representing full completion. */
|
|
34
|
-
max?: number;
|
|
35
|
-
/** Ring diameter + stroke. Defaults to `sm`. */
|
|
36
|
-
size?: ProgressCircleSize;
|
|
37
|
-
/** Color level for the arc. Omit to derive from `value`/`max` by thresholds. */
|
|
38
|
-
status?: ProgressCircleStatus;
|
|
39
|
-
/** Show the rounded percentage in the center. */
|
|
40
|
-
showValue?: boolean;
|
|
41
|
-
/** Show a status icon in the center (takes priority over `showValue`). */
|
|
42
|
-
showIcon?: boolean;
|
|
43
|
-
/** Custom center content (takes priority over icon/value). */
|
|
44
|
-
children?: React.ReactNode;
|
|
45
|
-
}
|
|
46
|
-
declare const ProgressCircle: React.ForwardRefExoticComponent<ProgressCircleProps & React.RefAttributes<HTMLDivElement>>;
|
|
47
|
-
export { ProgressCircle, progressCircleVariants };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type * as React from 'react';
|
|
2
|
-
/** Props for `ProgressCircle`. */
|
|
3
|
-
export interface ProgressCircleProps {
|
|
4
|
-
/** Current progress, clamped to `[0, max]`. */
|
|
5
|
-
value?: number;
|
|
6
|
-
/** Value representing full completion (default `100`). */
|
|
7
|
-
max?: number;
|
|
8
|
-
/** Ring diameter + stroke: `tiny` · `sm` (default) · `md` · `lg`. */
|
|
9
|
-
size?: 'tiny' | 'sm' | 'md' | 'lg';
|
|
10
|
-
/**
|
|
11
|
-
* Arc color level. Omit to derive from `value`/`max` by thresholds
|
|
12
|
-
* (≈ <40% danger, <60% critical, <80% warning, else success).
|
|
13
|
-
*/
|
|
14
|
-
status?: 'brand' | 'danger' | 'critical' | 'warning' | 'success';
|
|
15
|
-
/** Show the rounded percentage in the center. */
|
|
16
|
-
showValue?: boolean;
|
|
17
|
-
/** Show a status icon in the center (priority over `showValue`). */
|
|
18
|
-
showIcon?: boolean;
|
|
19
|
-
/** Custom center content (priority over icon / value). */
|
|
20
|
-
children?: React.ReactNode;
|
|
21
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { RadioGroup, Radio, type RadioGroupProps, type RadioProps, } from './radio';
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Radio as RadioPrimitive } from '@base-ui/react/radio';
|
|
2
|
-
import { RadioGroup as RadioGroupPrimitive } from '@base-ui/react/radio-group';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
export type RadioGroupProps = React.ComponentPropsWithoutRef<typeof RadioGroupPrimitive>;
|
|
5
|
-
declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.Props<unknown>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
6
|
-
export type RadioProps = React.ComponentPropsWithoutRef<typeof RadioPrimitive.Root>;
|
|
7
|
-
declare const Radio: React.ForwardRefExoticComponent<Omit<RadioPrimitive.Root.Props<unknown>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
8
|
-
export { RadioGroup, Radio };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ResizablePanelGroup, ResizablePanel, ResizableHandle, type ResizableHandleProps, } from './resizable';
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
2
|
-
declare function ResizablePanelGroup({ className, ...props }: ResizablePrimitive.GroupProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare function ResizablePanel(props: ResizablePrimitive.PanelProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export interface ResizableHandleProps extends ResizablePrimitive.SeparatorProps {
|
|
5
|
-
/** Render the grab-bar pill centered on the handle. */
|
|
6
|
-
withHandle?: boolean;
|
|
7
|
-
}
|
|
8
|
-
declare function ResizableHandle({ withHandle, className, ...props }: ResizableHandleProps): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export { ResizablePanelGroup, ResizablePanel, ResizableHandle };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { ScrollArea, ScrollBar, type ScrollAreaProps, type ScrollBarProps, } from './scroll-area';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ScrollArea as ScrollAreaPrimitive } from '@base-ui/react/scroll-area';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
export type ScrollBarProps = React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Scrollbar>;
|
|
4
|
-
declare const ScrollBar: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').ScrollAreaScrollbarProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5
|
-
export interface ScrollAreaProps extends React.ComponentPropsWithoutRef<typeof ScrollAreaPrimitive.Root> {
|
|
6
|
-
/** Which scrollbar(s) to render. @default 'vertical' */
|
|
7
|
-
orientation?: 'vertical' | 'horizontal' | 'both';
|
|
8
|
-
}
|
|
9
|
-
declare const ScrollArea: React.ForwardRefExoticComponent<ScrollAreaProps & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
export { ScrollArea, ScrollBar };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SearchBox, type SearchBoxProps } from './search';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface SearchBoxProps extends React.ComponentPropsWithoutRef<'input'> {
|
|
3
|
-
/** Called when the clear (×) button is pressed, after the value is cleared. */
|
|
4
|
-
onClear?: () => void;
|
|
5
|
-
}
|
|
6
|
-
declare const SearchBox: React.ForwardRefExoticComponent<SearchBoxProps & React.RefAttributes<HTMLInputElement>>;
|
|
7
|
-
export { SearchBox };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SearchGlobal, type SearchGlobalProps } from './search-global';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export interface SearchGlobalProps extends React.ComponentPropsWithoutRef<'input'> {
|
|
3
|
-
/** Keyboard-shortcut hint shown at the trailing edge (decorative). Pass `null` to hide. */
|
|
4
|
-
shortcut?: React.ReactNode;
|
|
5
|
-
}
|
|
6
|
-
declare const SearchGlobal: React.ForwardRefExoticComponent<SearchGlobalProps & React.RefAttributes<HTMLInputElement>>;
|
|
7
|
-
export { SearchGlobal };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Section, SectionHeader, SectionTitle, SectionDescription, SectionContent, } from './section';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare const Section: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & React.RefAttributes<HTMLElement>>;
|
|
3
|
-
declare const SectionHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
4
|
-
declare const SectionTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLHeadingElement>>;
|
|
5
|
-
declare const SectionDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
|
|
6
|
-
declare const SectionContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
-
export { Section, SectionHeader, SectionTitle, SectionDescription, SectionContent, };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Select, SelectTrigger, SelectValue, SelectContent, SelectItem, SelectGroup, SelectGroupLabel, } from './select';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { InputSelect as Select, InputSelectTrigger as SelectTrigger, InputSelectValue as SelectValue, InputSelectContent as SelectContent, InputSelectItem as SelectItem, InputSelectSection as SelectGroup, InputSelectSectionLabel as SelectGroupLabel, } from '../input-select';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { Separator } from './separator';
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
export { Sheet, SheetTrigger, SheetPortal, SheetClose, SheetCloseButton, SheetOverlay, SheetContent, SheetHeader, SheetFooter, SheetBody, SheetTitle, SheetDescription, sheetVariants, type SheetContentProps, } from './sheet';
|
|
2
|
-
export { SheetDetails, type SheetDetailsProps, type SheetDetailsProperty, type SheetDetailsContentState, } from './sheet-details';
|
|
3
|
-
export { Sheet as Details, SheetTrigger as DetailsTrigger, SheetPortal as DetailsPortal, SheetClose as DetailsClose, SheetCloseButton as DetailsCloseButton, SheetOverlay as DetailsOverlay, SheetContent as DetailsContent, SheetHeader as DetailsHeader, SheetFooter as DetailsFooter, SheetBody as DetailsBody, SheetTitle as DetailsTitle, SheetDescription as DetailsDescription, type SheetContentProps as DetailsContentProps, } from './sheet';
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { SheetContentProps } from './sheet';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
export interface SheetDetailsProperty {
|
|
4
|
-
label: React.ReactNode;
|
|
5
|
-
value: React.ReactNode;
|
|
6
|
-
}
|
|
7
|
-
export type SheetDetailsContentState = 'content' | 'loading' | 'empty' | 'error';
|
|
8
|
-
export interface SheetDetailsProps {
|
|
9
|
-
/** Controlled open state. Pair with `onOpenChange`. */
|
|
10
|
-
open?: boolean;
|
|
11
|
-
/** Initial open state when uncontrolled. */
|
|
12
|
-
defaultOpen?: boolean;
|
|
13
|
-
/** Fires when the sheet opens or closes. */
|
|
14
|
-
onOpenChange?: (open: boolean, eventDetails: unknown) => void;
|
|
15
|
-
/** Panel title (header). Also the accessible name. */
|
|
16
|
-
title: React.ReactNode;
|
|
17
|
-
/** Edge the panel anchors to. Defaults to `right`. */
|
|
18
|
-
side?: SheetContentProps['side'];
|
|
19
|
-
/** Which body view to show. Defaults to `content`. */
|
|
20
|
-
contentState?: SheetDetailsContentState;
|
|
21
|
-
/** Key/value rows rendered as the body in the `content` state (unless `children`). */
|
|
22
|
-
properties?: SheetDetailsProperty[];
|
|
23
|
-
/** Custom body for the `content` state — overrides `properties`. */
|
|
24
|
-
children?: React.ReactNode;
|
|
25
|
-
/** Footer action(s). Omit for no footer. */
|
|
26
|
-
actions?: React.ReactNode;
|
|
27
|
-
/** Optional trigger element (rendered via the Sheet trigger's `render`). */
|
|
28
|
-
trigger?: React.ReactElement;
|
|
29
|
-
/** Empty-state copy (`contentState="empty"`). */
|
|
30
|
-
emptyTitle?: React.ReactNode;
|
|
31
|
-
emptyDescription?: React.ReactNode;
|
|
32
|
-
/** Error-state copy (`contentState="error"`). */
|
|
33
|
-
errorTitle?: React.ReactNode;
|
|
34
|
-
errorDescription?: React.ReactNode;
|
|
35
|
-
/** Portal container (shadow-root mount for isolated previews). */
|
|
36
|
-
portalContainer?: SheetContentProps['portalContainer'];
|
|
37
|
-
}
|
|
38
|
-
declare function SheetDetails({ open, defaultOpen, onOpenChange, title, side, contentState, properties, children, actions, trigger, emptyTitle, emptyDescription, errorTitle, errorDescription, portalContainer, }: SheetDetailsProps): import("react/jsx-runtime").JSX.Element;
|
|
39
|
-
declare namespace SheetDetails {
|
|
40
|
-
var displayName: string;
|
|
41
|
-
}
|
|
42
|
-
export { SheetDetails };
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Dialog as DialogPrimitive } from '@base-ui/react/dialog';
|
|
2
|
-
import { VariantProps } from 'class-variance-authority';
|
|
3
|
-
import * as React from 'react';
|
|
4
|
-
declare const sheetVariants: (props?: ({
|
|
5
|
-
side?: "top" | "bottom" | "left" | "right" | null | undefined;
|
|
6
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
-
declare const Sheet: typeof DialogPrimitive.Root;
|
|
8
|
-
declare const SheetTrigger: DialogPrimitive.Trigger;
|
|
9
|
-
declare const SheetPortal: React.ForwardRefExoticComponent<Omit<import('@base-ui/react').AlertDialogPortalProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
10
|
-
declare const SheetClose: React.ForwardRefExoticComponent<Omit<import('@base-ui/react').AlertDialogCloseProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
11
|
-
declare const SheetOverlay: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').AlertDialogBackdropProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
-
export interface SheetContentProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Popup>, VariantProps<typeof sheetVariants> {
|
|
13
|
-
/** Screen edge the panel anchors to. Defaults to `right`. */
|
|
14
|
-
side?: VariantProps<typeof sheetVariants>['side'];
|
|
15
|
-
/**
|
|
16
|
-
* Render the content inside a portal (default `true`). Base UI requires the
|
|
17
|
-
* Popup to sit in a Portal for correct stacking; set `false` for inline usage
|
|
18
|
-
* (e.g. when the caller supplies its own `SheetPortal`, or in tests).
|
|
19
|
-
*/
|
|
20
|
-
portal?: boolean;
|
|
21
|
-
/**
|
|
22
|
-
* Portal container. Pass a shadow-root mount for isolated-style previews
|
|
23
|
-
* (the docs demos do this via `useShadowMount`).
|
|
24
|
-
*/
|
|
25
|
-
portalContainer?: DialogPrimitive.Portal.Props['container'];
|
|
26
|
-
/** Keep the content mounted while closed (Base UI `Portal` prop). */
|
|
27
|
-
keepMounted?: DialogPrimitive.Portal.Props['keepMounted'];
|
|
28
|
-
}
|
|
29
|
-
declare const SheetContent: React.ForwardRefExoticComponent<SheetContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
30
|
-
declare const SheetHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
31
|
-
declare const SheetFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
32
|
-
declare const SheetBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
33
|
-
declare const SheetTitle: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').AlertDialogTitleProps, "ref"> & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
34
|
-
declare const SheetDescription: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').AlertDialogDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
35
|
-
declare const SheetCloseButton: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').AlertDialogCloseProps, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
36
|
-
export { Sheet, SheetTrigger, SheetPortal, SheetClose, SheetCloseButton, SheetOverlay, SheetContent, SheetHeader, SheetFooter, SheetBody, SheetTitle, SheetDescription, sheetVariants, };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type * as React from 'react';
|
|
2
|
-
/** Props for `SheetContent` — the portaled, edge-anchored panel. */
|
|
3
|
-
export interface SheetContentProps {
|
|
4
|
-
/** Screen edge the panel anchors to: `top` · `right` (default) · `bottom` · `left`. */
|
|
5
|
-
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
6
|
-
/**
|
|
7
|
-
* Render the content inside a portal (default `true`). Disable only when you
|
|
8
|
-
* supply your own `SheetPortal` ancestor (e.g. inline usage).
|
|
9
|
-
*/
|
|
10
|
-
portal?: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* Portal container. Pass a shadow-root mount for isolated-style previews
|
|
13
|
-
* (the docs demos do this via `useShadowMount`).
|
|
14
|
-
*/
|
|
15
|
-
portalContainer?: HTMLElement | null;
|
|
16
|
-
/** Keep the content mounted while closed. */
|
|
17
|
-
keepMounted?: boolean;
|
|
18
|
-
/** Extra classes merged onto the panel. */
|
|
19
|
-
className?: string;
|
|
20
|
-
children?: React.ReactNode;
|
|
21
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { SidebarPrimary, SidebarPrimaryHeader, SidebarPrimaryContent, SidebarPrimaryFooter, SidebarPrimarySection, SidebarPrimaryMenu, SidebarPrimaryMenuItem, SidebarPrimaryMenuItemExtras, SidebarPrimaryCollapseTrigger, sidebarPrimaryMenuItemVariants, type SidebarPrimaryProps, type SidebarPrimaryMenuItemProps, type SidebarPrimaryMenuItemExtrasProps, type SidebarPrimaryCollapseTriggerProps, } from './sidebar-primary';
|