@acronis-platform/ui-react 5.5.9 → 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/chart/chart.js +14 -11
- package/dist/components/ui/chart/chart.js.map +1 -1
- package/dist/components/ui/chart-state/chart-state.js +47 -37
- package/dist/components/ui/chart-state/chart-state.js.map +1 -1
- package/dist/components/ui/chart-widget/chart-widget.js +21 -23
- package/dist/components/ui/chart-widget/chart-widget.js.map +1 -1
- 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 +52 -38
- 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/components/ui/pie-chart/pie-chart.js +88 -84
- package/dist/components/ui/pie-chart/pie-chart.js.map +1 -1
- package/dist/index.js +45 -46
- package/dist/llms/chart-state.md +81 -164
- package/dist/llms/chart-widget.md +27 -25
- package/dist/llms/data-table.md +24 -14
- package/dist/llms/dialog-root.md +40 -13
- package/dist/llms/dialog.md +109 -14
- 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 +4 -4
- package/dist/react.js +45 -46
- package/dist/src/components/ui/chart/chart.d.ts +3 -3
- package/dist/src/components/ui/chart-state/chart-state.d.ts +5 -14
- package/dist/src/components/ui/chart-state/index.d.ts +0 -1
- package/dist/src/components/ui/chart-widget/chart-widget.d.ts +10 -15
- 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 +10 -0
- package/dist/src/components/ui/dialog/dialog.docs.d.ts +7 -1
- 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/src/components/ui/pie-chart/pie-chart.d.ts +1 -1
- package/dist/ui-react.css +1 -1
- package/package.json +13 -13
- package/dist/components/ui/chart-state/chart-state-illustrations.js +0 -412
- package/dist/components/ui/chart-state/chart-state-illustrations.js.map +0 -1
- package/dist/src/components/ui/chart-state/chart-state-illustrations.d.ts +0 -6
package/dist/react.js
CHANGED
|
@@ -36,15 +36,15 @@ import { CardSection as sn, cardSectionVariants as cn } from "./components/ui/ca
|
|
|
36
36
|
import { CardWidgetCarousel as ln } from "./components/ui/card-widget-carousel/card-widget-carousel.js";
|
|
37
37
|
import { CardWidget as un } from "./components/ui/card-widget-carousel/card-widget.js";
|
|
38
38
|
import { CategoryBar as dn, categoryBarVariants as fn } from "./components/ui/category-bar/category-bar.js";
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
39
|
+
import { ChartState as pn } from "./components/ui/chart-state/chart-state.js";
|
|
40
|
+
import { ChartWidget as mn } from "./components/ui/chart-widget/chart-widget.js";
|
|
41
|
+
import { Checkbox as hn } from "./components/ui/checkbox/checkbox.js";
|
|
42
|
+
import { Chip as gn, chipVariants as _n } from "./components/ui/chip/chip.js";
|
|
43
|
+
import { Combobox as vn, ComboboxContent as yn, ComboboxEmpty as bn, ComboboxGroup as xn, ComboboxGroupLabel as Sn, ComboboxInput as Cn, ComboboxItem as wn, ComboboxList as Tn } from "./components/ui/combobox/combobox.js";
|
|
44
|
+
import { ComposedChart as En, composedChartVariants as Dn } from "./components/ui/composed-chart/composed-chart.js";
|
|
45
|
+
import { ConfidenceCone as On } from "./components/ui/confidence-cone/confidence-cone.js";
|
|
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 { Skeleton as Wn } from "./components/ui/skeleton/skeleton.js";
|
|
48
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
49
|
import { TablePagination as nr } from "./components/ui/table/table-pagination.js";
|
|
50
50
|
import { TableViewOptions as rr } from "./components/ui/table/table-view-options.js";
|
|
@@ -89,40 +89,39 @@ import { InputPassword as Ai } from "./components/ui/input-password/input-passwo
|
|
|
89
89
|
import { InputTextArea as B } from "./components/ui/input-text-area/input-text-area.js";
|
|
90
90
|
import { LineChart as ji, lineChartVariants as Mi } from "./components/ui/line-chart/line-chart.js";
|
|
91
91
|
import { Link as Ni, linkVariants as Pi } from "./components/ui/link/link.js";
|
|
92
|
-
import {
|
|
93
|
-
import {
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
96
|
-
import {
|
|
97
|
-
import {
|
|
98
|
-
import {
|
|
99
|
-
import {
|
|
100
|
-
import {
|
|
101
|
-
import {
|
|
102
|
-
import {
|
|
103
|
-
import {
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
106
|
-
import {
|
|
107
|
-
import {
|
|
108
|
-
import {
|
|
109
|
-
import {
|
|
110
|
-
import {
|
|
111
|
-
import {
|
|
112
|
-
import {
|
|
113
|
-
import {
|
|
114
|
-
import {
|
|
115
|
-
import {
|
|
116
|
-
import {
|
|
117
|
-
import {
|
|
118
|
-
import {
|
|
119
|
-
import {
|
|
120
|
-
import {
|
|
121
|
-
import {
|
|
122
|
-
import {
|
|
123
|
-
import {
|
|
124
|
-
import {
|
|
125
|
-
import {
|
|
126
|
-
import {
|
|
127
|
-
|
|
128
|
-
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, to 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, pn as CHART_STATE_ILLUSTRATIONS, 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, mn as ChartState, Fe as ChartStyle, Ie as ChartTooltip, Le as ChartTooltipContent, hn as ChartWidget, gn as Checkbox, _n as Chip, yn as Combobox, bn as ComboboxContent, xn as ComboboxEmpty, Sn as ComboboxGroup, Cn as ComboboxGroupLabel, wn as ComboboxInput, Tn as ComboboxItem, En as ComboboxList, Dn as ComposedChart, kn 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, An as DropdownMenu, jn as DropdownMenuCheckboxItem, Mn as DropdownMenuContent, Nn as DropdownMenuGroup, Pn as DropdownMenuItem, Fn as DropdownMenuLabel, In as DropdownMenuPortal, Ln as DropdownMenuRadioGroup, Rn as DropdownMenuRadioItem, zn as DropdownMenuSeparator, Bn as DropdownMenuShortcut, Vn as DropdownMenuSub, Hn as DropdownMenuSubContent, Un as DropdownMenuSubTrigger, Wn 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, Ri as Metric, zi as NumberField, Bi as NumberFieldDecrement, Vi as NumberFieldGroup, Hi as NumberFieldIncrement, Ui as NumberFieldInput, Wi as PageContent, Ki as PageHeader, qi as PageHeaderActions, Ji as PageHeaderDescription, Yi as PageHeaderDescriptionRow, Xi as PageHeaderRow, Zi as PageHeaderTags, Qi as PageHeaderTitle, $i as Pagination, ea as PaginationContent, ta as PaginationEllipsis, na as PaginationItem, ra as PaginationLink, ia as PaginationNext, aa as PaginationPrevious, oa as PieChart, vr as Popover, yr as PopoverBody, br as PopoverContent, xr as PopoverFooter, Sr as PopoverPortal, Cr as PopoverTrigger, he as PortalContainerProvider, ca as Progress, la as ProgressCircle, pe as ROOT_FONT_SIZE_PX, Ci as RadarChart, Ti as RadialBarChart, Ei as Radio, Di as RadioGroup, ja as ResizableHandle, Ma as ResizablePanel, Na as ResizablePanelGroup, da as SankeyChart, fa as ScatterChart, pa as ScrollArea, ma as ScrollBar, L as Search, ha as Section, ga as SectionContent, _a as SectionHeader, ba as SegmentControl, xa 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, wa as SheetDetails, J as SheetFooter, Y as SheetHeader, X as SheetOverlay, Z as SheetPortal, Q as SheetTitle, $ as SheetTrigger, Pa as SidebarPrimary, Fa as SidebarPrimaryCollapseTrigger, Ia as SidebarPrimaryContent, La as SidebarPrimaryFooter, Ra as SidebarPrimaryHeader, za as SidebarPrimaryMenu, Ba as SidebarPrimaryMenuItem, Va as SidebarPrimaryMenuItemExtras, Ha as SidebarPrimarySection, Wa as SidebarSecondary, Ga as SidebarSecondaryCollapseTrigger, Ka as SidebarSecondaryContent, qa as SidebarSecondaryFooter, Ja as SidebarSecondaryHeader, Ya as SidebarSecondaryMenu, Xa as SidebarSecondaryMenuItem, Za as SidebarSecondaryMenuItemExtras, Qa as SidebarSecondarySection, $a as SidebarSecondarySectionLabel, Fi as Skeleton, Ta as Slider, Ea as Stack, Oa as Stepper, ka 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, no as Tabs, ro as TabsContent, io as TabsList, ao as TabsTrigger, V as Tag, B as Textarea, go as Timeline, _o as TimelineItem, vo as Timer, oo as Toaster, lo as Toggle, uo as ToggleGroup, fo as ToggleGroupItem, po as Toolbar, mo as ToolbarActionList, ho as ToolbarActions, d as Tooltip, f as TooltipContent, p as TooltipProvider, m as TooltipTrigger, yo as TreeItem, bo as Treemap, Ii as TrendIndicator, D as TruncateText, xo as WidgetPlaceholder, So as WidgetPlaceholderAction, Co as WidgetPlaceholderContent, wo as WidgetPlaceholderFooter, To as WidgetPlaceholderHeader, Eo as WidgetPlaceholderIcon, Do as WidgetPlaceholderImage, Oo as WidgetPlaceholderText, ko as WidgetPlaceholderTitle, Ao as Wizard, jo as WizardBody, Mo as WizardHeader, No 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, vn as chipVariants, ee as cn, On 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, sa as pieChartVariants, ua 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, va as sectionVariants, Sa as segmentControlVariants, ae as serializeTableUrlState, Ca as sheetVariants, Ua as sidebarPrimaryMenuItemVariants, eo as sidebarSecondaryMenuItemVariants, Da as stackVariants, Aa as stepperItemVariants, Gi as tagVariants, ze as toCssKey, lt as toLabelFormatter, ut as toReferenceLineList, so as toast, co as toastVariants, Li as trendIndicatorVariants, we as useAccordionContainerContext, w as useAppShellChatInitialLayout, Or as useFilterSearchFilters, Kt as useInputSelectFilter, ne as useIntersectionObserver, ge as usePortalContainer, ya as useSectionContext, te as useSortState, oe as useTableUrlState, se as useWizard };
|
|
92
|
+
import { TrendIndicator as Fi, trendIndicatorVariants as Ii } from "./components/ui/trend-indicator/trend-indicator.js";
|
|
93
|
+
import { Metric as Li } from "./components/ui/metric/metric.js";
|
|
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";
|
|
95
|
+
import { PageContent as Ui } from "./components/ui/page-content/page-content.js";
|
|
96
|
+
import { Tag as V, tagVariants as Wi } from "./components/ui/tag/tag.js";
|
|
97
|
+
import { PageHeader as Gi, PageHeaderActions as Ki, PageHeaderDescription as qi, PageHeaderDescriptionRow as Ji, PageHeaderRow as Yi, PageHeaderTags as Xi, PageHeaderTitle as Zi } from "./components/ui/page-header/page-header.js";
|
|
98
|
+
import { Pagination as Qi, PaginationContent as $i, PaginationEllipsis as ea, PaginationItem as ta, PaginationLink as na, PaginationNext as ra, PaginationPrevious as ia } from "./components/ui/pagination/pagination.js";
|
|
99
|
+
import { PieChart as aa, pieChartVariants as oa } from "./components/ui/pie-chart/pie-chart.js";
|
|
100
|
+
import { Progress as sa } from "./components/ui/progress/progress.js";
|
|
101
|
+
import { ProgressCircle as ca, progressCircleVariants as la } from "./components/ui/progress-circle/progress-circle.js";
|
|
102
|
+
import { SankeyChart as ua } from "./components/ui/sankey-chart/sankey-chart.js";
|
|
103
|
+
import { ScatterChart as da } from "./components/ui/scatter-chart/scatter-chart.js";
|
|
104
|
+
import { ScrollArea as fa, ScrollBar as pa } from "./components/ui/scroll-area/scroll-area.js";
|
|
105
|
+
import { Section as ma, SectionContent as ha, SectionHeader as ga, sectionVariants as _a, useSectionContext as va } from "./components/ui/section/section.js";
|
|
106
|
+
import { SegmentControl as ya, SegmentControlItem as ba, segmentControlVariants as xa } from "./components/ui/segment-control/segment-control.js";
|
|
107
|
+
import { Sheet as H, SheetBody as U, SheetClose as W, SheetCloseButton as G, SheetContent as K, SheetDescription as q, SheetFooter as J, SheetHeader as Y, SheetOverlay as X, SheetPortal as Z, SheetTitle as Q, SheetTrigger as $, sheetVariants as Sa } from "./components/ui/sheet/sheet.js";
|
|
108
|
+
import { SheetDetails as Ca } from "./components/ui/sheet/sheet-details.js";
|
|
109
|
+
import { Slider as wa } from "./components/ui/slider/slider.js";
|
|
110
|
+
import { Stack as Ta, stackVariants as Ea } from "./components/ui/stack/stack.js";
|
|
111
|
+
import { Stepper as Da } from "./components/ui/stepper/stepper.js";
|
|
112
|
+
import { StepperItem as Oa, stepperItemVariants as ka } from "./components/ui/stepper-item/stepper-item.js";
|
|
113
|
+
import { ResizableHandle as Aa, ResizablePanel as ja, ResizablePanelGroup as Ma } from "./components/ui/resizable/resizable.js";
|
|
114
|
+
import { SidebarPrimary as Na, SidebarPrimaryCollapseTrigger as Pa, SidebarPrimaryContent as Fa, SidebarPrimaryFooter as Ia, SidebarPrimaryHeader as La, SidebarPrimaryMenu as Ra, SidebarPrimaryMenuItem as za, SidebarPrimaryMenuItemExtras as Ba, SidebarPrimarySection as Va, sidebarPrimaryMenuItemVariants as Ha } from "./components/ui/sidebar-primary/sidebar-primary.js";
|
|
115
|
+
import { SidebarSecondary as Ua, SidebarSecondaryCollapseTrigger as Wa, SidebarSecondaryContent as Ga, SidebarSecondaryFooter as Ka, SidebarSecondaryHeader as qa, SidebarSecondaryMenu as Ja, SidebarSecondaryMenuItem as Ya, SidebarSecondaryMenuItemExtras as Xa, SidebarSecondarySection as Za, SidebarSecondarySectionLabel as Qa, sidebarSecondaryMenuItemVariants as $a } from "./components/ui/sidebar-secondary/sidebar-secondary.js";
|
|
116
|
+
import { ButtonIconMenu as eo } from "./components/ui/button-icon-menu/button-icon-menu.js";
|
|
117
|
+
import { Tabs as to, TabsContent as no, TabsList as ro, TabsTrigger as io } from "./components/ui/tabs/tabs.js";
|
|
118
|
+
import { Toaster as ao, toast as oo, toastVariants as so } from "./components/ui/toast/toast.js";
|
|
119
|
+
import { Toggle as co, ToggleGroup as lo, ToggleGroupItem as uo } from "./components/ui/toggle-group/toggle-group.js";
|
|
120
|
+
import { Toolbar as fo, ToolbarActionList as po, ToolbarActions as mo } from "./components/ui/toolbar/toolbar.js";
|
|
121
|
+
import { Timeline as ho, TimelineItem as go } from "./components/ui/timeline/timeline.js";
|
|
122
|
+
import { Timer as _o } from "./components/ui/timer/timer.js";
|
|
123
|
+
import { TreeItem as vo } from "./components/ui/tree-item/tree-item.js";
|
|
124
|
+
import { Treemap as yo } from "./components/ui/treemap/treemap.js";
|
|
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
|
+
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, 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 };
|
|
@@ -79,9 +79,9 @@ export type ChartLegendContentProps = {
|
|
|
79
79
|
config?: ChartConfig;
|
|
80
80
|
/**
|
|
81
81
|
* `default` — horizontal wrapped chips; scrolls after three rows (76px at
|
|
82
|
-
* `xs`). `list` — vertical `[dot] [label flex-1] [value]` rows
|
|
83
|
-
* eight rows (
|
|
84
|
-
* override the cap.
|
|
82
|
+
* `xs`). `list` — vertical `[dot] [label flex-1] [value]` rows with an 8px
|
|
83
|
+
* gap; scrolls after eight rows (184px at `xs`). Both caps scale with
|
|
84
|
+
* `fontSize`; `className` can override the cap.
|
|
85
85
|
*/
|
|
86
86
|
variant?: 'default' | 'list';
|
|
87
87
|
/**
|
|
@@ -1,22 +1,13 @@
|
|
|
1
|
-
import { ChartStateVariant } from './chart-state-illustrations';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
export interface ChartStateProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
4
|
-
/** Which
|
|
5
|
-
state: 'loading' | 'empty' | 'error';
|
|
3
|
+
/** Which state to show. Empty, warning, and error share one icon system. */
|
|
4
|
+
state: 'loading' | 'empty' | 'warning' | 'error' | 'number';
|
|
6
5
|
/**
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*/
|
|
11
|
-
variant?: ChartStateVariant;
|
|
12
|
-
/**
|
|
13
|
-
* Text shown below the illustration or glyph. Defaults to `"Data is
|
|
14
|
-
* loading…"` / `"No data found"` / `"Something went wrong"` based on
|
|
15
|
-
* `state`. Pass a value to override for any state.
|
|
6
|
+
* State text, or the numeric readout for `number`. Defaults to a short
|
|
7
|
+
* message for the selected state (`0` for `number`). Pass a value to
|
|
8
|
+
* provide localized or context-specific content.
|
|
16
9
|
*/
|
|
17
10
|
description?: React.ReactNode;
|
|
18
|
-
/** Trailing action (e.g. a "Try again" button) — shown for `error` only. */
|
|
19
|
-
action?: React.ReactNode;
|
|
20
11
|
}
|
|
21
12
|
declare const ChartState: React.ForwardRefExoticComponent<ChartStateProps & React.RefAttributes<HTMLDivElement>>;
|
|
22
13
|
export { ChartState };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useRender } from '@base-ui/react/use-render';
|
|
2
2
|
import { CardHeaderProps } from '../card';
|
|
3
|
-
import { ChartStateProps
|
|
3
|
+
import { ChartStateProps } from '../chart-state';
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
export interface ChartWidgetProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'title'> {
|
|
6
6
|
/**
|
|
@@ -10,12 +10,6 @@ export interface ChartWidgetProps extends Omit<React.HTMLAttributes<HTMLDivEleme
|
|
|
10
10
|
* one thing the widget can't infer for itself.
|
|
11
11
|
*/
|
|
12
12
|
render?: useRender.RenderProp;
|
|
13
|
-
/**
|
|
14
|
-
* Which chart the widget holds. Only used while `state="empty"`, to pick the
|
|
15
|
-
* silhouette the design draws for that chart type — the widget itself needs
|
|
16
|
-
* no size, so this carries nothing else.
|
|
17
|
-
*/
|
|
18
|
-
variant?: ChartStateVariant;
|
|
19
13
|
/**
|
|
20
14
|
* The card header, forwarded verbatim to `CardHeader`. Everything that
|
|
21
15
|
* component takes works here — `title`, `actions` (the ⋯ menu), `extras` (a
|
|
@@ -36,28 +30,29 @@ export interface ChartWidgetProps extends Omit<React.HTMLAttributes<HTMLDivEleme
|
|
|
36
30
|
orientation?: 'vertical' | 'horizontal';
|
|
37
31
|
/**
|
|
38
32
|
* The readout beside or above the plot — typically a `Metric`. Layout is
|
|
39
|
-
* controlled by `orientation
|
|
33
|
+
* controlled by `orientation`; it is replaced along with the plot while a
|
|
34
|
+
* state is active.
|
|
40
35
|
*/
|
|
41
36
|
metric?: React.ReactNode;
|
|
42
37
|
/**
|
|
43
|
-
*
|
|
44
|
-
*
|
|
38
|
+
* Explicitly show a state in place of the metric and plot. The consumer
|
|
39
|
+
* selects the state; this component does not infer it from chart data. The
|
|
40
|
+
* `number` state displays a KPI-style numeric readout. The card chrome stays
|
|
41
|
+
* the same for each state.
|
|
45
42
|
*/
|
|
46
43
|
state?: ChartStateProps['state'];
|
|
47
44
|
/**
|
|
48
|
-
* Text
|
|
49
|
-
* `"Data is loading…"` / `"No data found"` / `"
|
|
45
|
+
* Text shown in the selected state, or the numeric readout for `number`.
|
|
46
|
+
* Defaults to `"Data is loading…"` / `"No data found"` / `"0"` / etc.
|
|
50
47
|
*/
|
|
51
48
|
stateDescription?: ChartStateProps['description'];
|
|
52
|
-
/** Trailing action on the `error` placeholder — e.g. a "Try again" button. */
|
|
53
|
-
stateAction?: ChartStateProps['action'];
|
|
54
49
|
/**
|
|
55
50
|
* Class for the card body. Rarely needed — the body already fills the card.
|
|
56
51
|
* Use it where nothing above gives a height and the content can't either, e.g.
|
|
57
52
|
* a placeholder-only widget outside a sized grid cell.
|
|
58
53
|
*/
|
|
59
54
|
bodyClassName?: string;
|
|
60
|
-
/** The chart. Replaced
|
|
55
|
+
/** The chart. Replaced with `ChartState` together with `metric` while `state` is set. */
|
|
61
56
|
children?: React.ReactNode;
|
|
62
57
|
}
|
|
63
58
|
declare const ChartWidget: React.ForwardRefExoticComponent<ChartWidgetProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -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
|
|
@@ -3,6 +3,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
declare const dialogContentVariants: (props?: ({
|
|
5
5
|
size?: "large" | "sm" | null | undefined;
|
|
6
|
+
verticalAlign?: "center" | "top" | null | undefined;
|
|
6
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
8
|
declare const DialogRoot: typeof DialogPrimitive.Root;
|
|
8
9
|
declare const DialogTrigger: DialogPrimitive.Trigger;
|
|
@@ -16,6 +17,11 @@ export interface DialogContentProps extends React.ComponentPropsWithoutRef<typeo
|
|
|
16
17
|
* `Large` story).
|
|
17
18
|
*/
|
|
18
19
|
size?: VariantProps<typeof dialogContentVariants>['size'];
|
|
20
|
+
/**
|
|
21
|
+
* Vertical placement of the popup. `top` (default) pins it 48px from the
|
|
22
|
+
* viewport top; `center` centers it vertically in the viewport.
|
|
23
|
+
*/
|
|
24
|
+
verticalAlign?: 'center' | 'top';
|
|
19
25
|
/**
|
|
20
26
|
* Render the content inside a portal (default `true`). Base UI requires the
|
|
21
27
|
* Popup to sit in a Portal for correct stacking; set `false` for inline usage
|
|
@@ -122,12 +128,16 @@ export interface DialogProps extends Omit<DialogRootProps, 'children'> {
|
|
|
122
128
|
* `'large'` when `variant` is `'wide'`.
|
|
123
129
|
*/
|
|
124
130
|
size?: DialogContentProps['size'];
|
|
131
|
+
/** Vertical placement: `'top'` (default, 48px from viewport top) or `'center'` (forwarded to `DialogContent`). */
|
|
132
|
+
verticalAlign?: DialogContentProps['verticalAlign'];
|
|
125
133
|
/** Render inside a portal (forwarded to `DialogContent`). Defaults to `true`. */
|
|
126
134
|
portal?: boolean;
|
|
127
135
|
/** Portal container (forwarded to `DialogContent`). */
|
|
128
136
|
portalContainer?: DialogContentProps['portalContainer'];
|
|
129
137
|
/** Keep the content mounted while closed (forwarded to `DialogContent`). */
|
|
130
138
|
keepMounted?: DialogContentProps['keepMounted'];
|
|
139
|
+
/** Extra classes merged onto the body wrapper to adjust its layout or overflow. */
|
|
140
|
+
bodyClassName?: string;
|
|
131
141
|
/** Extra classes merged onto the popup container. */
|
|
132
142
|
className?: string;
|
|
133
143
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
|
-
/** Props for `DialogContent` — the portaled,
|
|
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. `top` (default) pins the popup 48px from the viewport top; `center` centers it vertically. */
|
|
7
|
+
verticalAlign?: 'center' | 'top';
|
|
6
8
|
/**
|
|
7
9
|
* Render the content inside a portal (default `true`). Disable only when you
|
|
8
10
|
* supply your own `DialogPortal` ancestor (e.g. inline usage).
|
|
@@ -44,6 +46,8 @@ export interface DialogProps {
|
|
|
44
46
|
hasFooter?: boolean;
|
|
45
47
|
/** Overrides the variant's default body content. */
|
|
46
48
|
children?: React.ReactNode;
|
|
49
|
+
/** Extra classes merged onto the body wrapper to adjust its layout or overflow. */
|
|
50
|
+
bodyClassName?: string;
|
|
47
51
|
/** Overrides the variant's default title. */
|
|
48
52
|
title?: string;
|
|
49
53
|
/**
|
|
@@ -82,6 +86,8 @@ export interface DialogProps {
|
|
|
82
86
|
closeLabel?: string;
|
|
83
87
|
/** Popup max-width. Defaults to `'sm'`, or to `'large'` when `variant` is `'wide'`. */
|
|
84
88
|
size?: 'sm' | 'large';
|
|
89
|
+
/** Vertical placement. `top` (default) pins the popup 48px from the viewport top; `center` centers it vertically. */
|
|
90
|
+
verticalAlign?: 'center' | 'top';
|
|
85
91
|
/** Render inside a portal (default `true`). */
|
|
86
92
|
portal?: boolean;
|
|
87
93
|
/** Portal container. Pass a shadow-root mount for isolated-style previews. */
|
|
@@ -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>>;
|
|
@@ -2,7 +2,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import { ChartTooltip, ChartConfig, ChartLegendFontSize, ChartLegendAriaLabelProps, ChartPalette, ChartTooltipContentProps, ChartAnimationProps, ChartDataLabelProps, PolarLabelPosition, TickFormatter } from '../chart';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
declare const pieChartVariants: (props?: ({
|
|
5
|
-
shape?: "
|
|
5
|
+
shape?: "pie" | "donut" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
/** Row-per-slice datum: the `nameKey` label plus the `dataKey` value. */
|
|
8
8
|
type PieChartDatum = Record<string, string | number>;
|