@acronis-platform/ui-react 6.0.0 → 7.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/components/ui/data-table/data-table.js +174 -173
- package/dist/components/ui/data-table/data-table.js.map +1 -1
- package/dist/components/ui/dialog/dialog.js +27 -26
- package/dist/components/ui/dialog/dialog.js.map +1 -1
- package/dist/components/ui/dropdown-menu/dropdown-menu.js +8 -2
- package/dist/components/ui/dropdown-menu/dropdown-menu.js.map +1 -1
- package/dist/components/ui/page-header/page-header.js +4 -4
- package/dist/components/ui/page-header/page-header.js.map +1 -1
- package/dist/index.js +43 -43
- package/dist/llms/data-table.md +24 -14
- package/dist/llms/dialog.md +95 -25
- package/dist/llms/dropdown-menu.md +68 -3
- package/dist/llms/page-header.md +68 -11
- package/dist/llms/stepper-item.md +10 -7
- package/dist/llms.txt +2 -2
- package/dist/react.js +43 -43
- package/dist/src/components/ui/data-table/data-table.d.ts +11 -5
- package/dist/src/components/ui/data-table/data-table.docs.d.ts +10 -4
- package/dist/src/components/ui/dialog/dialog.d.ts +5 -4
- package/dist/src/components/ui/dialog/dialog.docs.d.ts +5 -3
- package/dist/src/components/ui/dropdown-menu/dropdown-menu.d.ts +8 -1
- package/dist/src/components/ui/dropdown-menu/index.d.ts +1 -1
- package/dist/src/components/ui/page-header/page-header.d.ts +3 -1
- package/dist/ui-react.css +1 -1
- package/package.json +1 -1
package/dist/react.js
CHANGED
|
@@ -44,51 +44,51 @@ import { Combobox as vn, ComboboxContent as yn, ComboboxEmpty as bn, ComboboxGro
|
|
|
44
44
|
import { ComposedChart as En, composedChartVariants as Dn } from "./components/ui/composed-chart/composed-chart.js";
|
|
45
45
|
import { ConfidenceCone as On } from "./components/ui/confidence-cone/confidence-cone.js";
|
|
46
46
|
import { DropdownMenu as kn, DropdownMenuCheckboxItem as An, DropdownMenuContent as jn, DropdownMenuGroup as Mn, DropdownMenuItem as Nn, DropdownMenuLabel as Pn, DropdownMenuPortal as Fn, DropdownMenuRadioGroup as In, DropdownMenuRadioItem as Ln, DropdownMenuSeparator as Rn, DropdownMenuShortcut as zn, DropdownMenuSub as Bn, DropdownMenuSubContent as Vn, DropdownMenuSubTrigger as Hn, DropdownMenuTrigger as Un } from "./components/ui/dropdown-menu/dropdown-menu.js";
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
47
|
+
import { Skeleton as Wn } from "./components/ui/skeleton/skeleton.js";
|
|
48
|
+
import { Table as Gn, TableActionsCell as Kn, TableBody as qn, TableCaption as Jn, TableCell as Yn, TableFooter as Xn, TableHead as Zn, TableHeader as Qn, TableRow as $n, TableSelectCell as er, TableSettingsCell as tr } from "./components/ui/table/table.js";
|
|
49
|
+
import { TablePagination as nr } from "./components/ui/table/table-pagination.js";
|
|
50
|
+
import { TableViewOptions as rr } from "./components/ui/table/table-view-options.js";
|
|
51
|
+
import { isBulkSelectionActive as ir } from "./components/ui/data-table/data-table-selection.js";
|
|
52
|
+
import { DataTableViewOptions as ar } from "./components/ui/data-table/data-table-view-options.js";
|
|
53
|
+
import { DataTable as or, getCellStyle as sr, getColumnWidth as cr, getPinnedStyle as lr, reorderColumn as ur } from "./components/ui/data-table/data-table.js";
|
|
54
|
+
import { DataTableBulkActionsBar as dr } from "./components/ui/data-table/data-table-bulk-actions-bar.js";
|
|
55
|
+
import { DataTableColumnHeader as fr } from "./components/ui/data-table/data-table-column-header.js";
|
|
56
|
+
import { DataTableExpandTrigger as pr } from "./components/ui/data-table/data-table-expand-trigger.js";
|
|
57
|
+
import { DataTablePagination as mr } from "./components/ui/data-table/data-table-pagination.js";
|
|
58
|
+
import { FilterChips as hr, FilterChipsList as gr, FilterChipsReset as _r } from "./components/ui/filter-chips/filter-chips.js";
|
|
59
|
+
import { Popover as vr, PopoverBody as yr, PopoverContent as br, PopoverFooter as xr, PopoverPortal as Sr, PopoverTrigger as Cr } from "./components/ui/popover/popover.js";
|
|
60
|
+
import { FilterSearch as wr, FilterSearchActions as Tr, FilterSearchAppliedFilters as Er, FilterSearchFilters as Dr, useFilterSearchFilters as Or } from "./components/ui/filter-search/filter-search.js";
|
|
60
61
|
import { InputSearch as L } from "./components/ui/input-search/input-search.js";
|
|
61
|
-
import { DataTableToolbar as
|
|
62
|
-
import { InputDatePicker as
|
|
63
|
-
import { DateRangePicker as
|
|
64
|
-
import { DescriptionList as
|
|
65
|
-
import { InputBox as
|
|
62
|
+
import { DataTableToolbar as R } from "./components/ui/data-table/data-table-toolbar.js";
|
|
63
|
+
import { InputDatePicker as kr } from "./components/ui/input-date-picker/input-date-picker.js";
|
|
64
|
+
import { DateRangePicker as Ar } from "./components/ui/date-range-picker/date-range-picker.js";
|
|
65
|
+
import { DescriptionList as jr, DescriptionListActions as Mr, DescriptionListItem as Nr, DescriptionListLabel as Pr, DescriptionListValue as Fr, DescriptionListValueDescription as Ir } from "./components/ui/description-list/description-list.js";
|
|
66
|
+
import { InputBox as Lr } from "./components/ui/input/input.js";
|
|
66
67
|
import { InputText as z } from "./components/ui/input-text/input-text.js";
|
|
67
|
-
import { Loading as
|
|
68
|
-
import { Dialog as
|
|
69
|
-
import { DialogFooterCarousel as
|
|
70
|
-
import { DialogWelcome as
|
|
71
|
-
import { Empty as
|
|
72
|
-
import { EmptyOverlay as
|
|
73
|
-
import { labelClassName as
|
|
74
|
-
import { Separator as
|
|
75
|
-
import { Field as
|
|
76
|
-
import { FittedActions as
|
|
77
|
-
import { FilterCards as
|
|
78
|
-
import { FUNNEL_CHART_DEFAULT_PALETTE as
|
|
79
|
-
import { Grid as
|
|
80
|
-
import { Histogram as
|
|
81
|
-
import { Form as
|
|
82
|
-
import { RadarChart as
|
|
83
|
-
import { RadialBarChart as
|
|
84
|
-
import { Radio as
|
|
85
|
-
import { InputNumPicker as
|
|
86
|
-
import { InputOTP as
|
|
87
|
-
import { InputPassword as
|
|
68
|
+
import { Loading as Rr, loadingVariants as zr } from "./components/ui/loading/loading.js";
|
|
69
|
+
import { Dialog as Br, DialogClose as Vr } from "./components/ui/dialog/dialog.js";
|
|
70
|
+
import { DialogFooterCarousel as Hr } from "./components/ui/dialog-footer-carousel/dialog-footer-carousel.js";
|
|
71
|
+
import { DialogWelcome as Ur } from "./components/ui/dialog-welcome/dialog-welcome.js";
|
|
72
|
+
import { Empty as Wr, EmptyActions as Gr, EmptyDescription as Kr, EmptyHeader as qr, EmptyIcon as Jr, EmptyLinks as Yr, EmptyTitle as Xr } from "./components/ui/empty/empty.js";
|
|
73
|
+
import { EmptyOverlay as Zr, emptyOverlayIconVariants as Qr } from "./components/ui/empty-overlay/empty-overlay.js";
|
|
74
|
+
import { labelClassName as $r } from "./components/ui/label/label.js";
|
|
75
|
+
import { Separator as ei } from "./components/ui/separator/separator.js";
|
|
76
|
+
import { Field as ti, FieldContent as ni, FieldControl as ri, FieldDescription as ii, FieldError as ai, FieldGroup as oi, FieldLabel as si, FieldLegend as ci, FieldSeparator as li, FieldSet as ui, FieldTitle as di } from "./components/ui/field/field.js";
|
|
77
|
+
import { FittedActions as fi, computeFittedVisibleCount as pi } from "./components/ui/fitted-actions/fitted-actions.js";
|
|
78
|
+
import { FilterCards as mi } from "./components/ui/filter-cards/filter-cards.js";
|
|
79
|
+
import { FUNNEL_CHART_DEFAULT_PALETTE as hi, FunnelChart as gi, funnelChartPercent as _i, funnelChartVariants as vi } from "./components/ui/funnel-chart/funnel-chart.js";
|
|
80
|
+
import { Grid as yi, gridVariants as bi } from "./components/ui/grid/grid.js";
|
|
81
|
+
import { Histogram as xi } from "./components/ui/histogram/histogram.js";
|
|
82
|
+
import { Form as Si } from "./components/ui/form/form.js";
|
|
83
|
+
import { RadarChart as Ci, radarChartVariants as wi } from "./components/ui/radar-chart/radar-chart.js";
|
|
84
|
+
import { RadialBarChart as Ti } from "./components/ui/radial-bar-chart/radial-bar-chart.js";
|
|
85
|
+
import { Radio as Ei, RadioGroup as Di } from "./components/ui/radio/radio.js";
|
|
86
|
+
import { InputNumPicker as Oi } from "./components/ui/input-num-picker/input-num-picker.js";
|
|
87
|
+
import { InputOTP as ki } from "./components/ui/input-otp/input-otp.js";
|
|
88
|
+
import { InputPassword as Ai } from "./components/ui/input-password/input-password.js";
|
|
88
89
|
import { InputTextArea as B } from "./components/ui/input-text-area/input-text-area.js";
|
|
89
|
-
import { LineChart as
|
|
90
|
-
import { Link as
|
|
91
|
-
import { Skeleton as Pi } from "./components/ui/skeleton/skeleton.js";
|
|
90
|
+
import { LineChart as ji, lineChartVariants as Mi } from "./components/ui/line-chart/line-chart.js";
|
|
91
|
+
import { Link as Ni, linkVariants as Pi } from "./components/ui/link/link.js";
|
|
92
92
|
import { TrendIndicator as Fi, trendIndicatorVariants as Ii } from "./components/ui/trend-indicator/trend-indicator.js";
|
|
93
93
|
import { Metric as Li } from "./components/ui/metric/metric.js";
|
|
94
94
|
import { NumberField as Ri, NumberFieldDecrement as zi, NumberFieldGroup as Bi, NumberFieldIncrement as Vi, NumberFieldInput as Hi } from "./components/ui/number-field/number-field.js";
|
|
@@ -124,4 +124,4 @@ import { TreeItem as vo } from "./components/ui/tree-item/tree-item.js";
|
|
|
124
124
|
import { Treemap as yo } from "./components/ui/treemap/treemap.js";
|
|
125
125
|
import { WidgetPlaceholder as bo, WidgetPlaceholderAction as xo, WidgetPlaceholderContent as So, WidgetPlaceholderFooter as Co, WidgetPlaceholderHeader as wo, WidgetPlaceholderIcon as To, WidgetPlaceholderImage as Eo, WidgetPlaceholderText as Do, WidgetPlaceholderTitle as Oo } from "./components/ui/widget-placeholder/widget-placeholder.js";
|
|
126
126
|
import { Wizard as ko, WizardBody as Ao, WizardHeader as jo, WizardSubtitle as Mo } from "./components/ui/wizard/wizard.js";
|
|
127
|
-
export { _e as Accordion, xe as AccordionContainer, Se as AccordionContainerContent, Ce as AccordionContainerTrigger, ve as AccordionContent, ye as AccordionItem, be as AccordionTrigger, n as Alert, r as AlertActions, i as AlertClose, a as AlertContent, o as AlertDescription, s as AlertIcon, c as AlertText, l as AlertTitle, h as AppShellChat, g as AppShellChatChat, _ as AppShellChatChatBody, v as AppShellChatChatHeader, y as AppShellChatContent, b as AppShellChatContentBody, x as AppShellChatContentHeader, S as AppShellChatSidebar, dt as AreaChart, pt as Avatar, mt as AvatarFallback, ht as AvatarGroup, gt as AvatarImage, ce as BREAKPOINT_2XL, le as BREAKPOINT_3XL, ue as BREAKPOINT_4XL, de as BREAKPOINT_LG, fe as BREAKPOINT_XL, V as Badge, vt as BarChart, bt as Breadcrumb, xt as BreadcrumbEllipsis, St as BreadcrumbItem, Ct as BreadcrumbLink, wt as BreadcrumbList, Tt as BreadcrumbPage, Et as BreadcrumbSeparator, Dt as Button, kt as ButtonGroup, At as ButtonGroupItem, e as ButtonIcon, Xt as ButtonIconInput, eo as ButtonIconMenu, Nt as ButtonMenu, Be as CHART_BRUSH_ARIA_LABEL, Ve as CHART_BRUSH_HEIGHT, O as CHART_CATEGORICAL_TOKENS, k as CHART_DEFAULT_PALETTE, Te as CHART_DIVERGING_TOKENS, He as CHART_LABEL_FILL_CLASS, Ue as CHART_LABEL_FILL_ON_SERIES_CLASS, We as CHART_LABEL_FONT_SIZE, Ge as CHART_LABEL_MARGIN, Ke as CHART_REFERENCE_LINE_STROKE, Ee as CHART_SEQUENTIAL_TOKENS, De as CHART_STATUS_TOKENS, Ft as Calendar, It as CalendarDayButton, qt as CalendarHeader, Jt as CalendarItem, Yt as CalendarPanel, $t as Card, en as CardContent, an as CardFilter, tn as CardFooter, nn as CardHeader, sn as CardSection, un as CardWidget, ln as CardWidgetCarousel, dn as CategoryBar, Me as ChartContainer, Ne as ChartLegend, Pe as ChartLegendContent, pn as ChartState, Fe as ChartStyle, Ie as ChartTooltip, Le as ChartTooltipContent, mn as ChartWidget, hn as Checkbox, gn as Chip, vn as Combobox, yn as ComboboxContent, bn as ComboboxEmpty, xn as ComboboxGroup, Sn as ComboboxGroupLabel, Cn as ComboboxInput, wn as ComboboxItem, Tn as ComboboxList, En as ComposedChart, On as ConfidenceCone, re as DEFAULT_TABLE_URL_PARAM_KEYS,
|
|
127
|
+
export { _e as Accordion, xe as AccordionContainer, Se as AccordionContainerContent, Ce as AccordionContainerTrigger, ve as AccordionContent, ye as AccordionItem, be as AccordionTrigger, n as Alert, r as AlertActions, i as AlertClose, a as AlertContent, o as AlertDescription, s as AlertIcon, c as AlertText, l as AlertTitle, h as AppShellChat, g as AppShellChatChat, _ as AppShellChatChatBody, v as AppShellChatChatHeader, y as AppShellChatContent, b as AppShellChatContentBody, x as AppShellChatContentHeader, S as AppShellChatSidebar, dt as AreaChart, pt as Avatar, mt as AvatarFallback, ht as AvatarGroup, gt as AvatarImage, ce as BREAKPOINT_2XL, le as BREAKPOINT_3XL, ue as BREAKPOINT_4XL, de as BREAKPOINT_LG, fe as BREAKPOINT_XL, V as Badge, vt as BarChart, bt as Breadcrumb, xt as BreadcrumbEllipsis, St as BreadcrumbItem, Ct as BreadcrumbLink, wt as BreadcrumbList, Tt as BreadcrumbPage, Et as BreadcrumbSeparator, Dt as Button, kt as ButtonGroup, At as ButtonGroupItem, e as ButtonIcon, Xt as ButtonIconInput, eo as ButtonIconMenu, Nt as ButtonMenu, Be as CHART_BRUSH_ARIA_LABEL, Ve as CHART_BRUSH_HEIGHT, O as CHART_CATEGORICAL_TOKENS, k as CHART_DEFAULT_PALETTE, Te as CHART_DIVERGING_TOKENS, He as CHART_LABEL_FILL_CLASS, Ue as CHART_LABEL_FILL_ON_SERIES_CLASS, We as CHART_LABEL_FONT_SIZE, Ge as CHART_LABEL_MARGIN, Ke as CHART_REFERENCE_LINE_STROKE, Ee as CHART_SEQUENTIAL_TOKENS, De as CHART_STATUS_TOKENS, Ft as Calendar, It as CalendarDayButton, qt as CalendarHeader, Jt as CalendarItem, Yt as CalendarPanel, $t as Card, en as CardContent, an as CardFilter, tn as CardFooter, nn as CardHeader, sn as CardSection, un as CardWidget, ln as CardWidgetCarousel, dn as CategoryBar, Me as ChartContainer, Ne as ChartLegend, Pe as ChartLegendContent, pn as ChartState, Fe as ChartStyle, Ie as ChartTooltip, Le as ChartTooltipContent, mn as ChartWidget, hn as Checkbox, gn as Chip, vn as Combobox, yn as ComboboxContent, bn as ComboboxEmpty, xn as ComboboxGroup, Sn as ComboboxGroupLabel, Cn as ComboboxInput, wn as ComboboxItem, Tn as ComboboxList, En as ComposedChart, On as ConfidenceCone, re as DEFAULT_TABLE_URL_PARAM_KEYS, or as DataTable, dr as DataTableBulkActionsBar, fr as DataTableColumnHeader, pr as DataTableExpandTrigger, mr as DataTablePagination, R as DataTableToolbar, ar as DataTableViewOptions, Ar as DateRangePicker, jr as DescriptionList, Mr as DescriptionListActions, Nr as DescriptionListItem, Pr as DescriptionListLabel, Fr as DescriptionListValue, Ir as DescriptionListValueDescription, H as Details, U as DetailsBody, W as DetailsClose, G as DetailsCloseButton, K as DetailsContent, q as DetailsDescription, J as DetailsFooter, Y as DetailsHeader, X as DetailsOverlay, Z as DetailsPortal, Q as DetailsTitle, $ as DetailsTrigger, Br as Dialog, Vr as DialogClose, Hr as DialogFooterCarousel, Lt as DialogFooterDefault, Ur as DialogWelcome, kn as DropdownMenu, An as DropdownMenuCheckboxItem, jn as DropdownMenuContent, Mn as DropdownMenuGroup, Nn as DropdownMenuItem, Pn as DropdownMenuLabel, Fn as DropdownMenuPortal, In as DropdownMenuRadioGroup, Ln as DropdownMenuRadioItem, Rn as DropdownMenuSeparator, zn as DropdownMenuShortcut, Bn as DropdownMenuSub, Vn as DropdownMenuSubContent, Hn as DropdownMenuSubTrigger, Un as DropdownMenuTrigger, Wr as Empty, Gr as EmptyActions, Kr as EmptyDescription, qr as EmptyHeader, Jr as EmptyIcon, Yr as EmptyLinks, Zr as EmptyOverlay, Xr as EmptyTitle, hi as FUNNEL_CHART_DEFAULT_PALETTE, ti as Field, ni as FieldContent, ri as FieldControl, ii as FieldDescription, ai as FieldError, oi as FieldGroup, si as FieldLabel, ci as FieldLegend, li as FieldSeparator, ui as FieldSet, di as FieldTitle, mi as FilterCards, hr as FilterChips, gr as FilterChipsList, _r as FilterChipsReset, wr as FilterSearch, Tr as FilterSearchActions, Er as FilterSearchAppliedFilters, Dr as FilterSearchFilters, fi as FittedActions, Si as Form, gi as FunnelChart, yi as Grid, xi as Histogram, z as Input, Lr as InputBox, kr as InputDatePicker, Oi as InputNumPicker, ki as InputOTP, Ai as InputPassword, L as InputSearch, A as InputSelect, j as InputSelectContent, Rt as InputSelectDescription, zt as InputSelectError, Bt as InputSelectExpander, Vt as InputSelectField, Ht as InputSelectGroup, M as InputSelectItem, Ut as InputSelectLabel, Wt as InputSelectSearch, N as InputSelectSection, P as InputSelectSectionLabel, Gt as InputSelectStatus, F as InputSelectTrigger, I as InputSelectValue, z as InputText, B as InputTextArea, ji as LineChart, Ni as Link, Rr as Loading, Li as Metric, Ri as NumberField, zi as NumberFieldDecrement, Bi as NumberFieldGroup, Vi as NumberFieldIncrement, Hi as NumberFieldInput, Ui as PageContent, Gi as PageHeader, Ki as PageHeaderActions, qi as PageHeaderDescription, Ji as PageHeaderDescriptionRow, Yi as PageHeaderRow, Xi as PageHeaderTags, Zi as PageHeaderTitle, Qi as Pagination, $i as PaginationContent, ea as PaginationEllipsis, ta as PaginationItem, na as PaginationLink, ra as PaginationNext, ia as PaginationPrevious, aa as PieChart, vr as Popover, yr as PopoverBody, br as PopoverContent, xr as PopoverFooter, Sr as PopoverPortal, Cr as PopoverTrigger, he as PortalContainerProvider, sa as Progress, ca as ProgressCircle, pe as ROOT_FONT_SIZE_PX, Ci as RadarChart, Ti as RadialBarChart, Ei as Radio, Di as RadioGroup, Aa as ResizableHandle, ja as ResizablePanel, Ma as ResizablePanelGroup, ua as SankeyChart, da as ScatterChart, fa as ScrollArea, pa as ScrollBar, L as Search, ma as Section, ha as SectionContent, ga as SectionHeader, ya as SegmentControl, ba as SegmentControlItem, A as Select, j as SelectContent, N as SelectGroup, P as SelectGroupLabel, M as SelectItem, F as SelectTrigger, I as SelectValue, ei as Separator, H as Sheet, U as SheetBody, W as SheetClose, G as SheetCloseButton, K as SheetContent, q as SheetDescription, Ca as SheetDetails, J as SheetFooter, Y as SheetHeader, X as SheetOverlay, Z as SheetPortal, Q as SheetTitle, $ as SheetTrigger, Na as SidebarPrimary, Pa as SidebarPrimaryCollapseTrigger, Fa as SidebarPrimaryContent, Ia as SidebarPrimaryFooter, La as SidebarPrimaryHeader, Ra as SidebarPrimaryMenu, za as SidebarPrimaryMenuItem, Ba as SidebarPrimaryMenuItemExtras, Va as SidebarPrimarySection, Ua as SidebarSecondary, Wa as SidebarSecondaryCollapseTrigger, Ga as SidebarSecondaryContent, Ka as SidebarSecondaryFooter, qa as SidebarSecondaryHeader, Ja as SidebarSecondaryMenu, Ya as SidebarSecondaryMenuItem, Xa as SidebarSecondaryMenuItemExtras, Za as SidebarSecondarySection, Qa as SidebarSecondarySectionLabel, Wn as Skeleton, wa as Slider, Ta as Stack, Da as Stepper, Oa as StepperItem, Qt as Switch, Gn as Table, Kn as TableActionsCell, qn as TableBody, Jn as TableCaption, Yn as TableCell, Xn as TableFooter, Zn as TableHead, Qn as TableHeader, nr as TablePagination, $n as TableRow, er as TableSelectCell, tr as TableSettingsCell, rr as TableViewOptions, to as Tabs, no as TabsContent, ro as TabsList, io as TabsTrigger, V as Tag, B as Textarea, ho as Timeline, go as TimelineItem, _o as Timer, ao as Toaster, co as Toggle, lo as ToggleGroup, uo as ToggleGroupItem, fo as Toolbar, po as ToolbarActionList, mo as ToolbarActions, d as Tooltip, f as TooltipContent, p as TooltipProvider, m as TooltipTrigger, vo as TreeItem, yo as Treemap, Fi as TrendIndicator, D as TruncateText, bo as WidgetPlaceholder, xo as WidgetPlaceholderAction, So as WidgetPlaceholderContent, Co as WidgetPlaceholderFooter, wo as WidgetPlaceholderHeader, To as WidgetPlaceholderIcon, Eo as WidgetPlaceholderImage, Do as WidgetPlaceholderText, Oo as WidgetPlaceholderTitle, ko as Wizard, Ao as WizardBody, jo as WizardHeader, Mo as WizardSubtitle, u as alertVariants, ft as areaChartVariants, _t as avatarVariants, yt as barChartVariants, jt as buttonGroupItemVariants, Mt as buttonGroupVariants, Zt as buttonIconInputVariants, t as buttonIconVariants, Pt as buttonMenuVariants, Ot as buttonVariants, on as cardFilterVariants, cn as cardSectionVariants, rn as cardVariants, fn as categoryBarVariants, _n as chipVariants, ee as cn, Dn as composedChartVariants, pi as computeFittedVisibleCount, qe as createTickFormatter, Je as dropProjectionPayload, Qr as emptyOverlayIconVariants, Oe as findDuplicateTones, Ye as formatCompactNumber, Xe as formatPercent, _i as funnelChartPercent, vi as funnelChartVariants, C as getAppShellChatInitialLayout, sr as getCellStyle, cr as getColumnWidth, lr as getPinnedStyle, me as getViewportWidth, bi as gridVariants, ir as isBulkSelectionActive, $r as labelClassName, Mi as lineChartVariants, Pi as linkVariants, ke as listPaletteChoices, Ae as listPaletteStops, zr as loadingVariants, E as measureTextWidth, T as middleTruncate, ie as parseTableUrlState, oa as pieChartVariants, la as progressCircleVariants, wi as radarChartVariants, ur as reorderColumn, Ze as resolveAnimation, Qe as resolveAxisDomain, $e as resolveBrushProps, et as resolveCartesianLabelPosition, tt as resolveCategoryRange, Re as resolveChartColors, nt as resolveChartReferenceValue, rt as resolveLabelFillClass, it as resolveReferenceLineProps, at as resolveRotatedTickAnchor, je as resolveSeriesColor, ot as resolveXAxisHeight, st as resolveXAxisTitle, ct as resolveYAxisTitle, _a as sectionVariants, xa as segmentControlVariants, ae as serializeTableUrlState, Sa as sheetVariants, Ha as sidebarPrimaryMenuItemVariants, $a as sidebarSecondaryMenuItemVariants, Ea as stackVariants, ka as stepperItemVariants, Wi as tagVariants, ze as toCssKey, lt as toLabelFormatter, ut as toReferenceLineList, oo as toast, so as toastVariants, Ii as trendIndicatorVariants, we as useAccordionContainerContext, w as useAppShellChatInitialLayout, Or as useFilterSearchFilters, Kt as useInputSelectFilter, ne as useIntersectionObserver, ge as usePortalContainer, va as useSectionContext, te as useSortState, oe as useTableUrlState, se as useWizard };
|
|
@@ -73,7 +73,8 @@ type DataTableDataSourceProps<TData, TValue> = {
|
|
|
73
73
|
* `enableColumnReordering`, `columnOrder`, `onColumnOrderChange`,
|
|
74
74
|
* `getRowCanExpand`, `rowSelection`, `onRowSelectionChange`,
|
|
75
75
|
* `manualSorting`, `sorting`, `onSortingChange`, `paginationMode`,
|
|
76
|
-
* `onLoadMore`, `loadMoreRootMargin`, `hasNextPage`, `isLoadingMore
|
|
76
|
+
* `onLoadMore`, `loadMoreRootMargin`, `hasNextPage`, `isLoadingMore`,
|
|
77
|
+
* `loadingMoreLabel`.
|
|
77
78
|
* `meta.pin`-driven column pinning is also skipped — pin/unpin the
|
|
78
79
|
* caller's own instance via TanStack's `column.pin()` directly.
|
|
79
80
|
*/
|
|
@@ -99,9 +100,9 @@ interface DataTableOwnProps<TData> {
|
|
|
99
100
|
bordered?: boolean;
|
|
100
101
|
/** Highlight the row the user last clicked (the "current" row). */
|
|
101
102
|
highlightCurrentRow?: boolean;
|
|
102
|
-
/** Render
|
|
103
|
+
/** Render shared Skeleton placeholders instead of data (loading state). */
|
|
103
104
|
skeleton?: boolean;
|
|
104
|
-
/** Number of skeleton rows to render when `skeleton` is set. */
|
|
105
|
+
/** Number of skeleton rows to render when `skeleton` is set (default 5). */
|
|
105
106
|
skeletonRows?: number;
|
|
106
107
|
/**
|
|
107
108
|
* Opt in to interactive column resizing. Renders a drag handle at the trailing
|
|
@@ -222,9 +223,14 @@ interface DataTableOwnProps<TData> {
|
|
|
222
223
|
emptyLabel?: string;
|
|
223
224
|
/**
|
|
224
225
|
* Whether a load is in flight — suppresses further `onLoadMore` calls and
|
|
225
|
-
* renders a trailing
|
|
226
|
+
* renders a trailing status row. `paginationMode="infinite"` only.
|
|
226
227
|
*/
|
|
227
228
|
isLoadingMore?: boolean;
|
|
229
|
+
/**
|
|
230
|
+
* Text in the trailing status row (default `'Loading more data...'`).
|
|
231
|
+
* Override to localize. `paginationMode="infinite"` only.
|
|
232
|
+
*/
|
|
233
|
+
loadingMoreLabel?: string;
|
|
228
234
|
/**
|
|
229
235
|
* Hide the trailing sticky action column — the column-visibility cog in the
|
|
230
236
|
* header and each row's overflow-actions ellipsis. Shown by default. A
|
|
@@ -262,5 +268,5 @@ interface DataTableOwnProps<TData> {
|
|
|
262
268
|
headerHints?: Partial<DataTableHeaderHints>;
|
|
263
269
|
}
|
|
264
270
|
export type DataTableProps<TData, TValue = unknown> = DataTableOwnProps<TData> & DataTableDataSourceProps<TData, TValue>;
|
|
265
|
-
export declare function DataTable<TData, TValue = unknown>({ columns, data, table: externalTable, getRowId, getRowCanExpand, renderExpandedRow, striped, bordered, highlightCurrentRow, skeleton, skeletonRows, enableColumnResizing, onColumnSizingChange, enableColumnReordering, columnOrder: controlledColumnOrder, onColumnOrderChange, columnVisibility: controlledColumnVisibility, onColumnVisibilityChange, rowSelection: controlledRowSelection, onRowSelectionChange, manualSorting, sorting: controlledSorting, onSortingChange, renderRow, renderEmptyState, paginationMode, onLoadMore, loadMoreRootMargin, hasNextPage, resizeColumnLabel, emptyLabel, isLoadingMore, hideActionColumn, renderRowActions, rowActionsLabel, columnSettingsLabel, columnSearchPlaceholder, showAllColumnsLabel, noColumnsFoundLabel, headerHints, }: DataTableProps<TData, TValue>): import("react/jsx-runtime").JSX.Element;
|
|
271
|
+
export declare function DataTable<TData, TValue = unknown>({ columns, data, table: externalTable, getRowId, getRowCanExpand, renderExpandedRow, striped, bordered, highlightCurrentRow, skeleton, skeletonRows, enableColumnResizing, onColumnSizingChange, enableColumnReordering, columnOrder: controlledColumnOrder, onColumnOrderChange, columnVisibility: controlledColumnVisibility, onColumnVisibilityChange, rowSelection: controlledRowSelection, onRowSelectionChange, manualSorting, sorting: controlledSorting, onSortingChange, renderRow, renderEmptyState, paginationMode, onLoadMore, loadMoreRootMargin, hasNextPage, resizeColumnLabel, emptyLabel, isLoadingMore, loadingMoreLabel, hideActionColumn, renderRowActions, rowActionsLabel, columnSettingsLabel, columnSearchPlaceholder, showAllColumnsLabel, noColumnsFoundLabel, headerHints, }: DataTableProps<TData, TValue>): import("react/jsx-runtime").JSX.Element;
|
|
266
272
|
export {};
|
|
@@ -18,8 +18,9 @@ export interface DataTableProps {
|
|
|
18
18
|
* `columnOrder`, `onColumnOrderChange`, `getRowCanExpand`, `rowSelection`,
|
|
19
19
|
* `onRowSelectionChange`, `manualSorting`, `sorting`, `onSortingChange`,
|
|
20
20
|
* `paginationMode`, `onLoadMore`, `loadMoreRootMargin`, `hasNextPage`,
|
|
21
|
-
* `isLoadingMore`. `meta.pin`-driven column pinning is
|
|
22
|
-
* pin/unpin the caller's own instance via TanStack's
|
|
21
|
+
* `isLoadingMore`, `loadingMoreLabel`. `meta.pin`-driven column pinning is
|
|
22
|
+
* also skipped — pin/unpin the caller's own instance via TanStack's
|
|
23
|
+
* `column.pin()`.
|
|
23
24
|
*/
|
|
24
25
|
table?: unknown;
|
|
25
26
|
/**
|
|
@@ -38,7 +39,7 @@ export interface DataTableProps {
|
|
|
38
39
|
bordered?: boolean;
|
|
39
40
|
/** Highlight the row the user last clicked (the "current" row). */
|
|
40
41
|
highlightCurrentRow?: boolean;
|
|
41
|
-
/** Render
|
|
42
|
+
/** Render shared Skeleton placeholders instead of data (loading state). */
|
|
42
43
|
skeleton?: boolean;
|
|
43
44
|
/** Number of skeleton rows to render when `skeleton` is set (default 5). */
|
|
44
45
|
skeletonRows?: number;
|
|
@@ -140,9 +141,14 @@ export interface DataTableProps {
|
|
|
140
141
|
hasNextPage?: boolean;
|
|
141
142
|
/**
|
|
142
143
|
* Whether a load is in flight — suppresses further `onLoadMore` calls and
|
|
143
|
-
* renders a trailing
|
|
144
|
+
* renders a trailing status row. `paginationMode="infinite"` only.
|
|
144
145
|
*/
|
|
145
146
|
isLoadingMore?: boolean;
|
|
147
|
+
/**
|
|
148
|
+
* Text in the trailing status row (default `'Loading more data...'`).
|
|
149
|
+
* Override to localize. `paginationMode="infinite"` only.
|
|
150
|
+
*/
|
|
151
|
+
loadingMoreLabel?: string;
|
|
146
152
|
/**
|
|
147
153
|
* Hide the trailing sticky action column — the column-visibility cog in the
|
|
148
154
|
* header and each row's overflow-actions ellipsis. Shown by default. A
|
|
@@ -18,9 +18,8 @@ export interface DialogContentProps extends React.ComponentPropsWithoutRef<typeo
|
|
|
18
18
|
*/
|
|
19
19
|
size?: VariantProps<typeof dialogContentVariants>['size'];
|
|
20
20
|
/**
|
|
21
|
-
* Vertical placement of the popup. `
|
|
22
|
-
* viewport; `
|
|
23
|
-
* viewport below it.
|
|
21
|
+
* Vertical placement of the popup. `top` (default) pins it 48px from the
|
|
22
|
+
* viewport top; `center` centers it vertically in the viewport.
|
|
24
23
|
*/
|
|
25
24
|
verticalAlign?: 'center' | 'top';
|
|
26
25
|
/**
|
|
@@ -129,7 +128,7 @@ export interface DialogProps extends Omit<DialogRootProps, 'children'> {
|
|
|
129
128
|
* `'large'` when `variant` is `'wide'`.
|
|
130
129
|
*/
|
|
131
130
|
size?: DialogContentProps['size'];
|
|
132
|
-
/** Vertical placement: `'
|
|
131
|
+
/** Vertical placement: `'top'` (default, 48px from viewport top) or `'center'` (forwarded to `DialogContent`). */
|
|
133
132
|
verticalAlign?: DialogContentProps['verticalAlign'];
|
|
134
133
|
/** Render inside a portal (forwarded to `DialogContent`). Defaults to `true`. */
|
|
135
134
|
portal?: boolean;
|
|
@@ -137,6 +136,8 @@ export interface DialogProps extends Omit<DialogRootProps, 'children'> {
|
|
|
137
136
|
portalContainer?: DialogContentProps['portalContainer'];
|
|
138
137
|
/** Keep the content mounted while closed (forwarded to `DialogContent`). */
|
|
139
138
|
keepMounted?: DialogContentProps['keepMounted'];
|
|
139
|
+
/** Extra classes merged onto the body wrapper to adjust its layout or overflow. */
|
|
140
|
+
bodyClassName?: string;
|
|
140
141
|
/** Extra classes merged onto the popup container. */
|
|
141
142
|
className?: string;
|
|
142
143
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
|
-
/** Props for `DialogContent` — the portaled dialog popup (
|
|
2
|
+
/** Props for `DialogContent` — the portaled dialog popup (top-aligned by default, or vertically centered). */
|
|
3
3
|
export interface DialogContentProps {
|
|
4
4
|
/** Popup max-width. `sm` (512px, default) is the Figma-defined size; `large` (832px) is a legacy backward-compatibility size. */
|
|
5
5
|
size?: 'sm' | 'large';
|
|
6
|
-
/** Vertical placement. `
|
|
6
|
+
/** Vertical placement. `top` (default) pins the popup 48px from the viewport top; `center` centers it vertically. */
|
|
7
7
|
verticalAlign?: 'center' | 'top';
|
|
8
8
|
/**
|
|
9
9
|
* Render the content inside a portal (default `true`). Disable only when you
|
|
@@ -46,6 +46,8 @@ export interface DialogProps {
|
|
|
46
46
|
hasFooter?: boolean;
|
|
47
47
|
/** Overrides the variant's default body content. */
|
|
48
48
|
children?: React.ReactNode;
|
|
49
|
+
/** Extra classes merged onto the body wrapper to adjust its layout or overflow. */
|
|
50
|
+
bodyClassName?: string;
|
|
49
51
|
/** Overrides the variant's default title. */
|
|
50
52
|
title?: string;
|
|
51
53
|
/**
|
|
@@ -84,7 +86,7 @@ export interface DialogProps {
|
|
|
84
86
|
closeLabel?: string;
|
|
85
87
|
/** Popup max-width. Defaults to `'sm'`, or to `'large'` when `variant` is `'wide'`. */
|
|
86
88
|
size?: 'sm' | 'large';
|
|
87
|
-
/** Vertical placement. `
|
|
89
|
+
/** Vertical placement. `top` (default) pins the popup 48px from the viewport top; `center` centers it vertically. */
|
|
88
90
|
verticalAlign?: 'center' | 'top';
|
|
89
91
|
/** Render inside a portal (default `true`). */
|
|
90
92
|
portal?: boolean;
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import { Menu as MenuPrimitive } from '@base-ui/react/menu';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
|
|
3
|
+
export type DropdownMenuProps<Payload = unknown> = Omit<MenuPrimitive.Root.Props<Payload>, 'modal'> & {
|
|
4
|
+
/**
|
|
5
|
+
* Whether opening the menu blocks outside interaction and locks page scroll.
|
|
6
|
+
* Defaults to `false`.
|
|
7
|
+
*/
|
|
8
|
+
modal?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare function DropdownMenu<Payload = unknown>({ modal, ...props }: DropdownMenuProps<Payload>): import("react/jsx-runtime").JSX.Element;
|
|
4
11
|
declare const DropdownMenuTrigger: MenuPrimitive.Trigger;
|
|
5
12
|
declare const DropdownMenuGroup: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').ContextMenuGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
6
13
|
declare const DropdownMenuPortal: React.ForwardRefExoticComponent<Omit<import('@base-ui/react').ContextMenuPortalProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuPortal, type DropdownMenuContentProps, } from './dropdown-menu';
|
|
1
|
+
export { DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuCheckboxItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuPortal, type DropdownMenuContentProps, type DropdownMenuProps, } from './dropdown-menu';
|
|
@@ -6,7 +6,9 @@ declare function useRowOverflow(): {
|
|
|
6
6
|
};
|
|
7
7
|
declare const PageHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
8
8
|
declare const PageHeaderRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
declare const PageHeaderTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> &
|
|
9
|
+
declare const PageHeaderTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & {
|
|
10
|
+
as?: "h1" | "h2";
|
|
11
|
+
} & React.RefAttributes<HTMLHeadingElement>>;
|
|
10
12
|
declare const PageHeaderTags: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
11
13
|
declare const PageHeaderActions: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
12
14
|
declare const PageHeaderDescriptionRow: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|