@onnechat/ui 0.1.0 → 0.2.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/index.d.mts +559 -126
- package/dist/index.d.ts +559 -126
- package/dist/index.js +5940 -1674
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5916 -1612
- package/dist/index.mjs.map +1 -1
- package/dist/styles/globals.css +385 -118
- package/dist/styles/globals.css.map +1 -1
- package/dist/styles.css +386 -114
- package/package.json +1 -2
package/dist/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
|
2
2
|
import * as NucleoFill from 'nucleo-ui-fill-18';
|
|
3
3
|
import { IconProps as IconProps$1 } from 'nucleo-ui-fill-18';
|
|
4
4
|
import * as React$1 from 'react';
|
|
5
|
-
import React__default, { SVGProps, HTMLAttributes, ReactNode
|
|
5
|
+
import React__default, { SVGProps, ComponentProps, HTMLAttributes, ReactNode } from 'react';
|
|
6
6
|
import { motion } from 'motion/react';
|
|
7
7
|
import * as NucleoDuo from 'nucleo-ui-fill-duo-18';
|
|
8
8
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
@@ -10,6 +10,9 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
10
10
|
import { Separator as Separator$1 } from '@base-ui/react/separator';
|
|
11
11
|
import { Tooltip as Tooltip$1 } from '@base-ui/react/tooltip';
|
|
12
12
|
import { Accordion as Accordion$2 } from '@base-ui/react/accordion';
|
|
13
|
+
import * as RechartsPrimitive from 'recharts';
|
|
14
|
+
import { Area, AreaChart as AreaChart$1, XAxis, YAxis, BarChart as BarChart$1, LineChart as LineChart$1, Line, PieChart as PieChart$1, Pie } from 'recharts';
|
|
15
|
+
import { ValueType, NameType } from 'recharts/types/component/DefaultTooltipContent';
|
|
13
16
|
import { Checkbox as Checkbox$1 } from '@base-ui/react/checkbox';
|
|
14
17
|
import { ColumnDef, Table as Table$1, Column } from '@tanstack/react-table';
|
|
15
18
|
import * as zustand from 'zustand';
|
|
@@ -24,12 +27,11 @@ import { RadioGroup as RadioGroup$1 } from '@base-ui/react/radio-group';
|
|
|
24
27
|
import * as _base_ui_react from '@base-ui/react';
|
|
25
28
|
import { Select as Select$1 } from '@base-ui/react/select';
|
|
26
29
|
import { Dialog as Dialog$2 } from '@base-ui/react/dialog';
|
|
30
|
+
import { Slider as Slider$1 } from '@base-ui/react/slider';
|
|
27
31
|
import { Tabs as Tabs$1 } from '@base-ui/react/tabs';
|
|
28
32
|
import { ToasterProps } from 'sonner';
|
|
29
33
|
import { MediaController, MediaControlBar, MediaTimeRange, MediaTimeDisplay, MediaVolumeRange, MediaPlayButton, MediaSeekBackwardButton, MediaSeekForwardButton, MediaMuteButton } from 'media-chrome/react';
|
|
30
34
|
import { DayPicker } from 'react-day-picker';
|
|
31
|
-
import * as RechartsPrimitive from 'recharts';
|
|
32
|
-
import { DefaultLegendContentProps, TooltipContentProps } from 'recharts';
|
|
33
35
|
import { Command as Command$1 } from 'cmdk';
|
|
34
36
|
import { Drawer as Drawer$1 } from 'vaul';
|
|
35
37
|
|
|
@@ -342,45 +344,131 @@ declare const Sidebar: typeof SidebarRoot & {
|
|
|
342
344
|
|
|
343
345
|
/**
|
|
344
346
|
* Application shell layout, composition-first. Encodes the structure of our
|
|
345
|
-
* dashboards — inset resizable
|
|
347
|
+
* dashboards — inset resizable sidebars, glass sticky header, floating mobile
|
|
346
348
|
* navbar, announcement-aware viewport — while leaving every region up to the
|
|
347
|
-
* consumer
|
|
349
|
+
* consumer.
|
|
350
|
+
*
|
|
351
|
+
* Both sidebars share the exact same mechanics and API: a panel component, a
|
|
352
|
+
* trigger and per-side state (cookies + keyboard shortcut) enabled by the
|
|
353
|
+
* `leftSidebar`/`rightSidebar` props on the root. Each side is independent —
|
|
354
|
+
* a product can enable only the left one, only the right one, or both:
|
|
348
355
|
*
|
|
349
356
|
* ```tsx
|
|
350
357
|
* <AnnouncementBanner message="…" type="NEW" />
|
|
351
358
|
*
|
|
352
|
-
* <AppShell>
|
|
353
|
-
* <AppShell.
|
|
359
|
+
* <AppShell leftSidebar rightSidebar={{ defaultOpen: false }}>
|
|
360
|
+
* <AppShell.LeftSidebar>
|
|
354
361
|
* <AppShell.SidebarHeader>…logo + actions…</AppShell.SidebarHeader>
|
|
355
362
|
* <AppShell.SidebarSection>…workspace switcher…</AppShell.SidebarSection>
|
|
356
|
-
* <AppShell.SidebarSection>
|
|
357
|
-
* <AppShell.CommandButton>Pesquisar…</AppShell.CommandButton>
|
|
358
|
-
* </AppShell.SidebarSection>
|
|
359
363
|
* <AppShell.SidebarContent>
|
|
360
364
|
* <AppShell.SidebarGroup title="Geral">
|
|
361
365
|
* <AppShell.SidebarItem icon="House6" title="Visão Geral" href="/" active />
|
|
362
366
|
* </AppShell.SidebarGroup>
|
|
363
367
|
* </AppShell.SidebarContent>
|
|
364
368
|
* <AppShell.SidebarFooter>…copyright + user…</AppShell.SidebarFooter>
|
|
365
|
-
* </AppShell.
|
|
369
|
+
* </AppShell.LeftSidebar>
|
|
366
370
|
*
|
|
367
371
|
* <AppShell.Navbar>…mobile items…</AppShell.Navbar>
|
|
368
372
|
*
|
|
369
373
|
* <AppShell.Inset>
|
|
370
|
-
* <AppShell.Header title={…} actions={…}
|
|
374
|
+
* <AppShell.Header title={…} actions={…} />
|
|
371
375
|
* <MyPage />
|
|
372
376
|
* </AppShell.Inset>
|
|
377
|
+
*
|
|
378
|
+
* <AppShell.RightSidebar>…</AppShell.RightSidebar>
|
|
373
379
|
* </AppShell>
|
|
374
380
|
* ```
|
|
381
|
+
*
|
|
382
|
+
* On mobile the sidebars are hidden entirely — navigation belongs to
|
|
383
|
+
* `AppShell.Navbar`. `AppShell.Header` automatically renders one toggle per
|
|
384
|
+
* enabled side (left before the title, right after the actions), so any
|
|
385
|
+
* sidebar combination — none, left only, right only, both — gets exactly
|
|
386
|
+
* the toggles that apply. `AppShell.LeftSidebarTrigger` and
|
|
387
|
+
* `AppShell.RightSidebarTrigger` exist for custom placements (both accept a
|
|
388
|
+
* custom `icon`), and `useLeftSidebarToggle`/`useRightSidebarToggle` expose
|
|
389
|
+
* just the toggle function for fully custom elements.
|
|
375
390
|
*/
|
|
376
|
-
declare function AppShellRoot({ className, children, ...props }: React$1.ComponentProps<
|
|
391
|
+
declare function AppShellRoot({ leftSidebar, rightSidebar, className, children, ...props }: React$1.ComponentProps<'div'> & {
|
|
392
|
+
/**
|
|
393
|
+
* Enables the left sidebar state (`[` shortcut, cookie persistence, header
|
|
394
|
+
* toggle). Pass `{ defaultOpen: false }` to start collapsed.
|
|
395
|
+
*/
|
|
396
|
+
leftSidebar?: AppShellSidebarProp;
|
|
397
|
+
/**
|
|
398
|
+
* Enables the right (context) sidebar state (`]` shortcut, cookie
|
|
399
|
+
* persistence). Pass `{ defaultOpen: false }` to start collapsed.
|
|
400
|
+
*/
|
|
401
|
+
rightSidebar?: AppShellSidebarProp;
|
|
402
|
+
}): react_jsx_runtime.JSX.Element;
|
|
403
|
+
type AppShellSidebarSide = 'left' | 'right';
|
|
404
|
+
type AppShellSidebarContextValue = {
|
|
405
|
+
side: AppShellSidebarSide;
|
|
406
|
+
state: 'expanded' | 'collapsed';
|
|
407
|
+
open: boolean;
|
|
408
|
+
setOpen: (open: boolean) => void;
|
|
409
|
+
toggleSidebar: () => void;
|
|
410
|
+
sidebarWidth: string;
|
|
411
|
+
setSidebarWidth: (width: string) => void;
|
|
412
|
+
};
|
|
413
|
+
declare function useAppShellLeftSidebar(): AppShellSidebarContextValue;
|
|
414
|
+
declare function useAppShellRightSidebar(): AppShellSidebarContextValue;
|
|
415
|
+
type AppShellSidebarProp = boolean | {
|
|
416
|
+
defaultOpen?: boolean;
|
|
417
|
+
};
|
|
418
|
+
/** @deprecated Enable the sidebar with the `leftSidebar` prop on `AppShell` instead. */
|
|
419
|
+
declare function AppShellLeftSidebarProvider(props: {
|
|
420
|
+
children: React$1.ReactNode;
|
|
421
|
+
defaultOpen?: boolean;
|
|
422
|
+
}): react_jsx_runtime.JSX.Element;
|
|
423
|
+
/** @deprecated Enable the sidebar with the `rightSidebar` prop on `AppShell` instead. */
|
|
424
|
+
declare function AppShellRightSidebarProvider(props: {
|
|
425
|
+
children: React$1.ReactNode;
|
|
426
|
+
defaultOpen?: boolean;
|
|
427
|
+
}): react_jsx_runtime.JSX.Element;
|
|
428
|
+
/**
|
|
429
|
+
* Fixed left (primary) panel with a drag-to-resize rail. Hidden on mobile —
|
|
430
|
+
* navigation belongs to `AppShell.Navbar`. Requires the `leftSidebar` prop
|
|
431
|
+
* on `AppShell`.
|
|
432
|
+
*/
|
|
433
|
+
declare function AppShellLeftSidebar(props: React$1.ComponentProps<'aside'>): react_jsx_runtime.JSX.Element;
|
|
434
|
+
/**
|
|
435
|
+
* Fixed right (context) panel with a drag-to-resize rail. Hidden on mobile.
|
|
436
|
+
* Requires the `rightSidebar` prop on `AppShell`.
|
|
437
|
+
*/
|
|
438
|
+
declare function AppShellRightSidebar(props: React$1.ComponentProps<'aside'>): react_jsx_runtime.JSX.Element;
|
|
439
|
+
type SidebarTriggerIcon = IconType | React$1.ReactNode | ((state: 'expanded' | 'collapsed') => React$1.ReactNode);
|
|
440
|
+
/**
|
|
441
|
+
* Toggle button of the left sidebar, for custom placements (the Header
|
|
442
|
+
* already renders one automatically). Requires the `leftSidebar` prop on
|
|
443
|
+
* `AppShell`. Pass `icon` to replace the default state-aware icon — an icon
|
|
444
|
+
* name, any node, or a function of the sidebar state
|
|
445
|
+
* (`(state) => ReactNode`).
|
|
446
|
+
*/
|
|
447
|
+
declare function AppShellLeftSidebarTrigger({ label, ...props }: React$1.ComponentProps<typeof Button> & {
|
|
448
|
+
label?: string;
|
|
449
|
+
icon?: SidebarTriggerIcon;
|
|
450
|
+
}): react_jsx_runtime.JSX.Element;
|
|
451
|
+
/**
|
|
452
|
+
* Toggle button of the right sidebar, for custom placements (the Header
|
|
453
|
+
* already renders one automatically). Requires the `rightSidebar` prop on
|
|
454
|
+
* `AppShell`. Pass `icon` to replace the default state-aware icon — an icon
|
|
455
|
+
* name, any node, or a function of the sidebar state
|
|
456
|
+
* (`(state) => ReactNode`).
|
|
457
|
+
*/
|
|
458
|
+
declare function AppShellRightSidebarTrigger({ label, ...props }: React$1.ComponentProps<typeof Button> & {
|
|
459
|
+
label?: string;
|
|
460
|
+
icon?: SidebarTriggerIcon;
|
|
461
|
+
}): react_jsx_runtime.JSX.Element;
|
|
462
|
+
/**
|
|
463
|
+
* Returns the toggle function of the left sidebar, to wire any custom
|
|
464
|
+
* element to it. Requires the `leftSidebar` prop on `AppShell`.
|
|
465
|
+
*/
|
|
466
|
+
declare function useLeftSidebarToggle(): () => void;
|
|
377
467
|
/**
|
|
378
|
-
*
|
|
379
|
-
*
|
|
380
|
-
* collapses past the threshold. Width persists in the `sidebar-width` cookie
|
|
381
|
-
* (read back by `Sidebar.Provider`).
|
|
468
|
+
* Returns the toggle function of the right sidebar, to wire any custom
|
|
469
|
+
* element to it. Requires the `rightSidebar` prop on `AppShell`.
|
|
382
470
|
*/
|
|
383
|
-
declare function
|
|
471
|
+
declare function useRightSidebarToggle(): () => void;
|
|
384
472
|
declare function AppShellSidebarHeader({ className, children, ...props }: React$1.ComponentProps<typeof Sidebar.Header>): react_jsx_runtime.JSX.Element;
|
|
385
473
|
declare function AppShellSidebarSection({ className, children, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
386
474
|
declare function AppShellSidebarContent({ className, children, ...props }: React$1.ComponentProps<typeof Sidebar.Content>): react_jsx_runtime.JSX.Element;
|
|
@@ -411,7 +499,7 @@ declare function AppShellSidebarItem({ index, isDropdownChild, level, ...item }:
|
|
|
411
499
|
declare function AppShellCommandButton({ className, children, ...props }: React$1.ComponentProps<'button'>): react_jsx_runtime.JSX.Element;
|
|
412
500
|
declare function AppShellSidebarFooter({ className, children, ...props }: React$1.ComponentProps<typeof Sidebar.Footer>): react_jsx_runtime.JSX.Element;
|
|
413
501
|
declare function AppShellCopyright({ className, children, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
|
|
414
|
-
declare function AppShellHeader({ className, logo, title, actions, user,
|
|
502
|
+
declare function AppShellHeader({ className, logo, title, actions, user, leftSidebarToggleLabel, rightSidebarToggleLabel, mobileActionsClassName, ...props }: Omit<React$1.ComponentProps<'div'>, 'title'> & {
|
|
415
503
|
/** Mobile-only logo slot (top-left). */
|
|
416
504
|
logo?: React$1.ReactNode;
|
|
417
505
|
/** Page title area (both breakpoints). */
|
|
@@ -420,7 +508,10 @@ declare function AppShellHeader({ className, logo, title, actions, user, sidebar
|
|
|
420
508
|
actions?: React$1.ReactNode;
|
|
421
509
|
/** Mobile-only user slot (top-right, e.g. avatar). */
|
|
422
510
|
user?: React$1.ReactNode;
|
|
423
|
-
|
|
511
|
+
/** Tooltip label of the auto-rendered left sidebar toggle. */
|
|
512
|
+
leftSidebarToggleLabel?: string;
|
|
513
|
+
/** Tooltip label of the auto-rendered right sidebar toggle. */
|
|
514
|
+
rightSidebarToggleLabel?: string;
|
|
424
515
|
mobileActionsClassName?: string;
|
|
425
516
|
}): react_jsx_runtime.JSX.Element;
|
|
426
517
|
declare function AppShellNavbar({ className, children, ...props }: React$1.ComponentProps<'nav'>): react_jsx_runtime.JSX.Element;
|
|
@@ -429,33 +520,6 @@ declare function AppShellNavbarItem({ className, icon, active, href, children, .
|
|
|
429
520
|
active?: boolean;
|
|
430
521
|
children?: React$1.ReactNode;
|
|
431
522
|
}): react_jsx_runtime.JSX.Element;
|
|
432
|
-
type AppShellRightSidebarContextValue = {
|
|
433
|
-
state: 'expanded' | 'collapsed';
|
|
434
|
-
open: boolean;
|
|
435
|
-
setOpen: (open: boolean) => void;
|
|
436
|
-
toggleSidebar: () => void;
|
|
437
|
-
sidebarWidth: string;
|
|
438
|
-
setSidebarWidth: (width: string) => void;
|
|
439
|
-
};
|
|
440
|
-
declare function useAppShellRightSidebar(): AppShellRightSidebarContextValue;
|
|
441
|
-
/**
|
|
442
|
-
* State container for the right context sidebar. Wrap the `AppShell` with it
|
|
443
|
-
* whenever a page renders `AppShell.RightSidebar`; open state and width
|
|
444
|
-
* persist in cookies and `]` toggles it.
|
|
445
|
-
*/
|
|
446
|
-
declare function AppShellRightSidebarProvider({ children, defaultOpen, }: {
|
|
447
|
-
children: React$1.ReactNode;
|
|
448
|
-
defaultOpen?: boolean;
|
|
449
|
-
}): react_jsx_runtime.JSX.Element;
|
|
450
|
-
declare function AppShellRightSidebarTrigger({ className, label, ...props }: React$1.ComponentProps<typeof Button> & {
|
|
451
|
-
label?: string;
|
|
452
|
-
}): react_jsx_runtime.JSX.Element;
|
|
453
|
-
/**
|
|
454
|
-
* Fixed right context panel with drag-to-resize on its left edge, matching
|
|
455
|
-
* the left sidebar behavior (click toggles, double click resets, drag past
|
|
456
|
-
* the threshold collapses). Requires `AppShell.RightSidebarProvider`.
|
|
457
|
-
*/
|
|
458
|
-
declare function AppShellRightSidebar({ className, children, ...props }: React$1.ComponentProps<'aside'>): react_jsx_runtime.JSX.Element;
|
|
459
523
|
declare function AppShellInset({ className, style, children, loading, spacing, ...props }: React$1.ComponentProps<'div'> & {
|
|
460
524
|
/**
|
|
461
525
|
* Shows a blocking loading overlay while keeping the shell (sidebar,
|
|
@@ -467,7 +531,12 @@ declare function AppShellInset({ className, style, children, loading, spacing, .
|
|
|
467
531
|
}): react_jsx_runtime.JSX.Element;
|
|
468
532
|
declare function AppShellLoading({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
469
533
|
declare const AppShell: typeof AppShellRoot & {
|
|
470
|
-
|
|
534
|
+
LeftSidebar: typeof AppShellLeftSidebar;
|
|
535
|
+
LeftSidebarProvider: typeof AppShellLeftSidebarProvider;
|
|
536
|
+
LeftSidebarTrigger: typeof AppShellLeftSidebarTrigger;
|
|
537
|
+
RightSidebar: typeof AppShellRightSidebar;
|
|
538
|
+
RightSidebarProvider: typeof AppShellRightSidebarProvider;
|
|
539
|
+
RightSidebarTrigger: typeof AppShellRightSidebarTrigger;
|
|
471
540
|
SidebarHeader: typeof AppShellSidebarHeader;
|
|
472
541
|
SidebarSection: typeof AppShellSidebarSection;
|
|
473
542
|
SidebarContent: typeof AppShellSidebarContent;
|
|
@@ -481,9 +550,6 @@ declare const AppShell: typeof AppShellRoot & {
|
|
|
481
550
|
NavbarItem: typeof AppShellNavbarItem;
|
|
482
551
|
Inset: typeof AppShellInset;
|
|
483
552
|
Loading: typeof AppShellLoading;
|
|
484
|
-
RightSidebar: typeof AppShellRightSidebar;
|
|
485
|
-
RightSidebarProvider: typeof AppShellRightSidebarProvider;
|
|
486
|
-
RightSidebarTrigger: typeof AppShellRightSidebarTrigger;
|
|
487
553
|
};
|
|
488
554
|
|
|
489
555
|
type AccordionProps = Omit<Accordion$2.Root.Props, 'value' | 'defaultValue' | 'onValueChange' | 'multiple'> & {
|
|
@@ -575,6 +641,16 @@ interface BreadcrumbProps {
|
|
|
575
641
|
}
|
|
576
642
|
declare function Breadcrumb({ items, className, hideBackButton, disableLinks }: BreadcrumbProps): react_jsx_runtime.JSX.Element;
|
|
577
643
|
|
|
644
|
+
declare const buttonGroupVariants: (props?: ({
|
|
645
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
646
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
647
|
+
declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime.JSX.Element;
|
|
648
|
+
declare function ButtonGroupText({ className, asChild, ...props }: React.ComponentProps<'div'> & {
|
|
649
|
+
asChild?: boolean;
|
|
650
|
+
}): react_jsx_runtime.JSX.Element;
|
|
651
|
+
type ButtonGroupSeparatorProps = React.ComponentProps<typeof Separator>;
|
|
652
|
+
declare function ButtonGroupSeparator({ className, orientation, ...props }: ButtonGroupSeparatorProps): react_jsx_runtime.JSX.Element;
|
|
653
|
+
|
|
578
654
|
interface CardSliderProps extends React__default.ComponentProps<'div'> {
|
|
579
655
|
/** Zero-based index of the visible panel */
|
|
580
656
|
index: number;
|
|
@@ -609,6 +685,398 @@ declare const Card: typeof CardRoot & {
|
|
|
609
685
|
Slider: typeof CardSlider;
|
|
610
686
|
};
|
|
611
687
|
|
|
688
|
+
type BackgroundVariant = 'dots' | 'grid' | 'cross-hatch' | 'diagonal-lines' | 'plus' | 'falling-triangles' | '4-pointed-star' | 'tiny-checkers' | 'overlapping-circles' | 'wiggle-lines' | 'bubbles';
|
|
689
|
+
interface ChartBackgroundProps {
|
|
690
|
+
variant: BackgroundVariant;
|
|
691
|
+
}
|
|
692
|
+
declare function ChartBackground({ variant }: ChartBackgroundProps): react_jsx_runtime.JSX.Element;
|
|
693
|
+
|
|
694
|
+
declare const THEMES: {
|
|
695
|
+
readonly light: "";
|
|
696
|
+
readonly dark: ".dark";
|
|
697
|
+
};
|
|
698
|
+
type ThemeKey = keyof typeof THEMES;
|
|
699
|
+
type ThemeColorsBase = {
|
|
700
|
+
[K in ThemeKey]?: string[];
|
|
701
|
+
};
|
|
702
|
+
type AtLeastOneThemeColor = {
|
|
703
|
+
[K in ThemeKey]: Required<Pick<ThemeColorsBase, K>> & Partial<Omit<ThemeColorsBase, K>>;
|
|
704
|
+
}[ThemeKey];
|
|
705
|
+
type ChartConfig = Record<string, {
|
|
706
|
+
label?: React$1.ReactNode;
|
|
707
|
+
icon?: React$1.ComponentType;
|
|
708
|
+
colors?: AtLeastOneThemeColor;
|
|
709
|
+
}>;
|
|
710
|
+
interface ChartContextProps {
|
|
711
|
+
config: ChartConfig;
|
|
712
|
+
}
|
|
713
|
+
declare function useChart(): ChartContextProps;
|
|
714
|
+
interface ChartContainerProps extends Omit<React$1.ComponentProps<'div'>, 'children'>, Pick<React$1.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>, 'initialDimension' | 'aspect' | 'debounce' | 'minHeight' | 'minWidth' | 'maxHeight' | 'height' | 'width' | 'onResize' | 'children'> {
|
|
715
|
+
config: ChartConfig;
|
|
716
|
+
innerResponsiveContainerStyle?: React$1.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>['style'];
|
|
717
|
+
/** Optional content rendered below the chart (e.g. ChartBrush) */
|
|
718
|
+
footer?: React$1.ReactNode;
|
|
719
|
+
}
|
|
720
|
+
declare function ChartContainer({ id, config, initialDimension, className, children, footer, ...props }: Readonly<ChartContainerProps>): react_jsx_runtime.JSX.Element;
|
|
721
|
+
declare function LoadingIndicator({ isLoading }: {
|
|
722
|
+
isLoading: boolean;
|
|
723
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
724
|
+
declare const ChartStyle: ({ id, config }: {
|
|
725
|
+
id: string;
|
|
726
|
+
config: ChartConfig;
|
|
727
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
728
|
+
declare function getPayloadConfigFromPayload(config: ChartConfig, payload: unknown, key: string): {
|
|
729
|
+
label?: React$1.ReactNode;
|
|
730
|
+
icon?: React$1.ComponentType;
|
|
731
|
+
colors?: AtLeastOneThemeColor;
|
|
732
|
+
} | undefined;
|
|
733
|
+
declare function axisValueToPercentFormatter(value: number): string;
|
|
734
|
+
declare function getColorsCount(config: ChartConfig[string]): number;
|
|
735
|
+
declare const getLoadingData: (points?: number, min?: number, max?: number) => {
|
|
736
|
+
loading: number;
|
|
737
|
+
}[];
|
|
738
|
+
|
|
739
|
+
type ChartBrushVariant = 'line' | 'area' | 'bar';
|
|
740
|
+
type CurveType = ComponentProps<typeof Area>['type'];
|
|
741
|
+
interface ChartBrushRange {
|
|
742
|
+
startIndex: number;
|
|
743
|
+
endIndex: number;
|
|
744
|
+
}
|
|
745
|
+
interface ChartBrushProps {
|
|
746
|
+
/** Full dataset – always rendered in the miniature chart */
|
|
747
|
+
data: Record<string, unknown>[];
|
|
748
|
+
/** Chart config with colour definitions */
|
|
749
|
+
chartConfig: ChartConfig;
|
|
750
|
+
/** Data keys to plot (default: all keys from chartConfig) */
|
|
751
|
+
dataKeys?: string[];
|
|
752
|
+
/** X-axis data key – used for handle labels */
|
|
753
|
+
xDataKey?: string;
|
|
754
|
+
/** Visual variant of the mini chart */
|
|
755
|
+
variant?: ChartBrushVariant;
|
|
756
|
+
/** Pixel height of the brush */
|
|
757
|
+
height?: number;
|
|
758
|
+
/** Extra className */
|
|
759
|
+
className?: string;
|
|
760
|
+
/** Whether areas/bars should be stacked in the mini chart */
|
|
761
|
+
stacked?: boolean;
|
|
762
|
+
/** Stroke variant for line / area strokes in the mini chart */
|
|
763
|
+
strokeVariant?: 'solid' | 'dashed' | 'animated-dashed';
|
|
764
|
+
/** Whether to connect null data points in line / area variants */
|
|
765
|
+
connectNulls?: boolean;
|
|
766
|
+
/** Radius for bar corners in the bar variant */
|
|
767
|
+
barRadius?: number;
|
|
768
|
+
/** Controlled start index */
|
|
769
|
+
startIndex?: number;
|
|
770
|
+
/** Controlled end index */
|
|
771
|
+
endIndex?: number;
|
|
772
|
+
/** Initial start index (uncontrolled) */
|
|
773
|
+
defaultStartIndex?: number;
|
|
774
|
+
/** Initial end index (uncontrolled) */
|
|
775
|
+
defaultEndIndex?: number;
|
|
776
|
+
/** Fired whenever the visible range changes */
|
|
777
|
+
onChange?: (range: ChartBrushRange) => void;
|
|
778
|
+
/** Format the handle label from the xDataKey value */
|
|
779
|
+
formatLabel?: (value: unknown, index: number) => string;
|
|
780
|
+
/** Curve type for line / area variants */
|
|
781
|
+
curveType?: CurveType;
|
|
782
|
+
/** Minimum number of data points that must remain selected */
|
|
783
|
+
minSpan?: number;
|
|
784
|
+
/** Whether to render labels on the handles */
|
|
785
|
+
showLabels?: boolean;
|
|
786
|
+
/** Skip rendering own ChartStyle (when inside a ChartContainer that already provides CSS vars) */
|
|
787
|
+
skipStyle?: boolean;
|
|
788
|
+
}
|
|
789
|
+
declare function ChartBrush({ data, chartConfig, dataKeys, xDataKey, variant, height, className, stacked, strokeVariant, connectNulls, barRadius, startIndex: controlledStart, endIndex: controlledEnd, defaultStartIndex, defaultEndIndex, onChange, formatLabel, curveType, minSpan, showLabels, skipStyle, }: ChartBrushProps): react_jsx_runtime.JSX.Element | null;
|
|
790
|
+
declare function useChartBrush<TData extends Record<string, unknown>>({ data, defaultStartIndex, defaultEndIndex, }: {
|
|
791
|
+
data: TData[];
|
|
792
|
+
defaultStartIndex?: number;
|
|
793
|
+
defaultEndIndex?: number;
|
|
794
|
+
}): {
|
|
795
|
+
range: ChartBrushRange;
|
|
796
|
+
visibleData: TData[];
|
|
797
|
+
brushProps: {
|
|
798
|
+
startIndex: number;
|
|
799
|
+
endIndex: number;
|
|
800
|
+
onChange: React$1.Dispatch<React$1.SetStateAction<ChartBrushRange>>;
|
|
801
|
+
};
|
|
802
|
+
};
|
|
803
|
+
|
|
804
|
+
type DotVariant = 'default' | 'border' | 'colored-border';
|
|
805
|
+
type ChartDotProps = {
|
|
806
|
+
cx?: number;
|
|
807
|
+
cy?: number;
|
|
808
|
+
dataKey: string;
|
|
809
|
+
chartId: string;
|
|
810
|
+
className?: string;
|
|
811
|
+
fillOpacity?: number;
|
|
812
|
+
type?: DotVariant;
|
|
813
|
+
};
|
|
814
|
+
declare const ChartDot: React$1.NamedExoticComponent<ChartDotProps>;
|
|
815
|
+
|
|
816
|
+
type ChartLegendVariant = 'square' | 'circle' | 'circle-outline' | 'rounded-square' | 'rounded-square-outline' | 'vertical-bar' | 'horizontal-bar';
|
|
817
|
+
declare function ChartLegendContent({ className, hideIcon, nameKey, payload, verticalAlign, align, selected, onSelectChange, isClickable, variant, }: React$1.ComponentProps<'div'> & {
|
|
818
|
+
hideIcon?: boolean;
|
|
819
|
+
nameKey?: string;
|
|
820
|
+
selected?: string | null;
|
|
821
|
+
isClickable?: boolean;
|
|
822
|
+
onSelectChange?: (selected: string | null) => void;
|
|
823
|
+
variant?: ChartLegendVariant;
|
|
824
|
+
} & RechartsPrimitive.DefaultLegendContentProps): react_jsx_runtime.JSX.Element | null;
|
|
825
|
+
declare const ChartLegend: React$1.MemoExoticComponent<(outsideProps: RechartsPrimitive.LegendProps) => React$1.ReactPortal | null>;
|
|
826
|
+
|
|
827
|
+
type TooltipRoundness = 'sm' | 'md' | 'lg' | 'xl';
|
|
828
|
+
type TooltipVariant = 'default' | 'frosted-glass';
|
|
829
|
+
declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, nameKey, labelKey, selected, roundness, variant, valueFormatter, }: React$1.ComponentProps<typeof RechartsPrimitive.Tooltip> & React$1.ComponentProps<'div'> & {
|
|
830
|
+
hideLabel?: boolean;
|
|
831
|
+
hideIndicator?: boolean;
|
|
832
|
+
indicator?: 'line' | 'dot' | 'dashed';
|
|
833
|
+
nameKey?: string;
|
|
834
|
+
labelKey?: string;
|
|
835
|
+
selected?: string | null;
|
|
836
|
+
roundness?: TooltipRoundness;
|
|
837
|
+
variant?: TooltipVariant;
|
|
838
|
+
valueFormatter?: (value: unknown) => React$1.ReactNode;
|
|
839
|
+
} & Omit<RechartsPrimitive.DefaultTooltipContentProps<ValueType, NameType>, 'accessibilityLayer'>): react_jsx_runtime.JSX.Element | null;
|
|
840
|
+
declare const ChartTooltip: ({ animationDuration, ...props }: React$1.ComponentProps<typeof RechartsPrimitive.Tooltip>) => react_jsx_runtime.JSX.Element;
|
|
841
|
+
|
|
842
|
+
type ChartProps$3 = ComponentProps<typeof AreaChart$1>;
|
|
843
|
+
type XAxisProps$2 = ComponentProps<typeof XAxis>;
|
|
844
|
+
type YAxisProps$2 = ComponentProps<typeof YAxis>;
|
|
845
|
+
type AreaType = ComponentProps<typeof Area>['type'];
|
|
846
|
+
type AreaVariant = 'gradient' | 'gradient-reverse' | 'solid' | 'dotted' | 'lines' | 'hatched';
|
|
847
|
+
type StrokeVariant$1 = 'solid' | 'dashed' | 'animated-dashed';
|
|
848
|
+
type StackType$1 = 'default' | 'expanded' | 'stacked';
|
|
849
|
+
type ValidateConfigKeys$2<TData, TConfig> = {
|
|
850
|
+
[K in keyof TConfig]: K extends keyof TData ? ChartConfig[string] : never;
|
|
851
|
+
};
|
|
852
|
+
type BaseAreaChartProps<TData extends Record<string, unknown>, TConfig extends Record<string, ChartConfig[string]>> = {
|
|
853
|
+
chartConfig: TConfig & ValidateConfigKeys$2<TData, TConfig>;
|
|
854
|
+
data: TData[];
|
|
855
|
+
xDataKey?: keyof TData & string;
|
|
856
|
+
yDataKey?: keyof TData & string;
|
|
857
|
+
className?: string;
|
|
858
|
+
chartProps?: ChartProps$3;
|
|
859
|
+
xAxisProps?: XAxisProps$2;
|
|
860
|
+
yAxisProps?: YAxisProps$2;
|
|
861
|
+
defaultSelectedDataKey?: string | null;
|
|
862
|
+
curveType?: AreaType;
|
|
863
|
+
strokeWidth?: number;
|
|
864
|
+
areaVariant?: AreaVariant;
|
|
865
|
+
strokeVariant?: StrokeVariant$1;
|
|
866
|
+
stackType?: StackType$1;
|
|
867
|
+
dotVariant?: DotVariant;
|
|
868
|
+
activeDotVariant?: DotVariant;
|
|
869
|
+
legendVariant?: ChartLegendVariant;
|
|
870
|
+
connectNulls?: boolean;
|
|
871
|
+
tickGap?: number;
|
|
872
|
+
hideTooltip?: boolean;
|
|
873
|
+
hideCartesianGrid?: boolean;
|
|
874
|
+
hideLegend?: boolean;
|
|
875
|
+
hideCursorLine?: boolean;
|
|
876
|
+
tooltipRoundness?: TooltipRoundness;
|
|
877
|
+
tooltipVariant?: TooltipVariant;
|
|
878
|
+
tooltipDefaultIndex?: number;
|
|
879
|
+
tooltipAnimationDuration?: number;
|
|
880
|
+
tooltipContentProps?: Omit<ComponentProps<typeof ChartTooltipContent>, 'selected' | 'roundness' | 'variant'>;
|
|
881
|
+
isLoading?: boolean;
|
|
882
|
+
loadingPoints?: number;
|
|
883
|
+
showBrush?: boolean;
|
|
884
|
+
brushHeight?: number;
|
|
885
|
+
brushFormatLabel?: (value: unknown, index: number) => string;
|
|
886
|
+
onBrushChange?: (range: ChartBrushRange) => void;
|
|
887
|
+
backgroundVariant?: BackgroundVariant;
|
|
888
|
+
};
|
|
889
|
+
type AreaChartClickable = {
|
|
890
|
+
isClickable: true;
|
|
891
|
+
onSelectionChange?: (selectedDataKey: string | null) => void;
|
|
892
|
+
};
|
|
893
|
+
type AreaChartNotClickable = {
|
|
894
|
+
isClickable?: false;
|
|
895
|
+
onSelectionChange?: never;
|
|
896
|
+
};
|
|
897
|
+
type AreaChartProps<TData extends Record<string, unknown>, TConfig extends Record<string, ChartConfig[string]>> = BaseAreaChartProps<TData, TConfig> & (AreaChartClickable | AreaChartNotClickable);
|
|
898
|
+
declare function AreaChart<TData extends Record<string, unknown>, TConfig extends Record<string, ChartConfig[string]>>({ chartConfig, data, xDataKey, yDataKey, className, chartProps, xAxisProps, yAxisProps, defaultSelectedDataKey, curveType, strokeWidth, areaVariant, strokeVariant, stackType, dotVariant, activeDotVariant, legendVariant, connectNulls, tickGap, hideTooltip, hideCartesianGrid, hideLegend, hideCursorLine, tooltipRoundness, tooltipVariant, tooltipDefaultIndex, tooltipAnimationDuration, tooltipContentProps, isClickable, isLoading, loadingPoints, showBrush, brushHeight, brushFormatLabel, onBrushChange, onSelectionChange, backgroundVariant, }: AreaChartProps<TData, TConfig>): react_jsx_runtime.JSX.Element;
|
|
899
|
+
|
|
900
|
+
type ChartProps$2 = ComponentProps<typeof BarChart$1>;
|
|
901
|
+
type XAxisProps$1 = ComponentProps<typeof XAxis>;
|
|
902
|
+
type YAxisProps$1 = ComponentProps<typeof YAxis>;
|
|
903
|
+
type BarVariant = 'default' | 'hatched' | 'duotone' | 'duotone-reverse' | 'gradient' | 'stripped';
|
|
904
|
+
type StackType = 'default' | 'stacked' | 'percent';
|
|
905
|
+
type BarLayout = 'vertical' | 'horizontal';
|
|
906
|
+
type ValidateConfigKeys$1<TData, TConfig> = {
|
|
907
|
+
[K in keyof TConfig]: K extends keyof TData ? ChartConfig[string] : never;
|
|
908
|
+
};
|
|
909
|
+
type NumericDataKeys$1<T> = {
|
|
910
|
+
[K in keyof T]: T[K] extends number ? K : never;
|
|
911
|
+
}[keyof T];
|
|
912
|
+
type BarChartProps<TData extends Record<string, unknown>, TConfig extends Record<string, ChartConfig[string]>> = {
|
|
913
|
+
chartConfig: TConfig & ValidateConfigKeys$1<TData, TConfig>;
|
|
914
|
+
data: TData[];
|
|
915
|
+
xDataKey?: keyof TData & string;
|
|
916
|
+
yDataKey?: keyof TData & string;
|
|
917
|
+
className?: string;
|
|
918
|
+
chartProps?: ChartProps$2;
|
|
919
|
+
xAxisProps?: XAxisProps$1;
|
|
920
|
+
yAxisProps?: YAxisProps$1;
|
|
921
|
+
defaultSelectedDataKey?: string | null;
|
|
922
|
+
barVariant?: BarVariant;
|
|
923
|
+
stackType?: StackType;
|
|
924
|
+
layout?: BarLayout;
|
|
925
|
+
barRadius?: number;
|
|
926
|
+
barGap?: number;
|
|
927
|
+
barCategoryGap?: number;
|
|
928
|
+
tickGap?: number;
|
|
929
|
+
legendVariant?: ChartLegendVariant;
|
|
930
|
+
hideTooltip?: boolean;
|
|
931
|
+
hideCartesianGrid?: boolean;
|
|
932
|
+
hideLegend?: boolean;
|
|
933
|
+
tooltipRoundness?: TooltipRoundness;
|
|
934
|
+
tooltipVariant?: TooltipVariant;
|
|
935
|
+
tooltipDefaultIndex?: number;
|
|
936
|
+
tooltipAnimationDuration?: number;
|
|
937
|
+
tooltipCursorStrokeWidth?: number;
|
|
938
|
+
tooltipContentProps?: Omit<ComponentProps<typeof ChartTooltipContent>, 'selected' | 'roundness' | 'variant'>;
|
|
939
|
+
enableHoverHighlight?: boolean;
|
|
940
|
+
isLoading?: boolean;
|
|
941
|
+
loadingBars?: number;
|
|
942
|
+
glowingBars?: NumericDataKeys$1<TData>[];
|
|
943
|
+
showBrush?: boolean;
|
|
944
|
+
brushHeight?: number;
|
|
945
|
+
brushFormatLabel?: (value: unknown, index: number) => string;
|
|
946
|
+
onBrushChange?: (range: ChartBrushRange) => void;
|
|
947
|
+
backgroundVariant?: BackgroundVariant;
|
|
948
|
+
enableBufferBar?: boolean;
|
|
949
|
+
};
|
|
950
|
+
type BarChartClickable = {
|
|
951
|
+
isClickable: true;
|
|
952
|
+
onSelectionChange?: (selectedDataKey: string | null) => void;
|
|
953
|
+
};
|
|
954
|
+
type BarChartNotClickable = {
|
|
955
|
+
isClickable?: false;
|
|
956
|
+
onSelectionChange?: never;
|
|
957
|
+
};
|
|
958
|
+
type BarChartPropsWithCallback<TData extends Record<string, unknown>, TConfig extends Record<string, ChartConfig[string]>> = BarChartProps<TData, TConfig> & (BarChartClickable | BarChartNotClickable);
|
|
959
|
+
declare function BarChart<TData extends Record<string, unknown>, TConfig extends Record<string, ChartConfig[string]>>({ chartConfig, data, xDataKey, yDataKey, className, chartProps, xAxisProps, yAxisProps, defaultSelectedDataKey, barVariant, stackType, layout, barRadius, barGap, barCategoryGap, tickGap, legendVariant, hideTooltip, hideCartesianGrid, hideLegend, tooltipRoundness, tooltipVariant, tooltipDefaultIndex, tooltipAnimationDuration, tooltipCursorStrokeWidth, tooltipContentProps, isClickable, enableHoverHighlight, isLoading, loadingBars, glowingBars, showBrush, brushHeight, brushFormatLabel, onBrushChange, onSelectionChange, backgroundVariant, enableBufferBar, }: BarChartPropsWithCallback<TData, TConfig>): react_jsx_runtime.JSX.Element;
|
|
960
|
+
|
|
961
|
+
type ChartProps$1 = ComponentProps<typeof LineChart$1>;
|
|
962
|
+
type XAxisProps = ComponentProps<typeof XAxis>;
|
|
963
|
+
type YAxisProps = ComponentProps<typeof YAxis>;
|
|
964
|
+
type LineType = ComponentProps<typeof Line>['type'];
|
|
965
|
+
type StrokeVariant = 'solid' | 'dashed' | 'animated-dashed';
|
|
966
|
+
type ValidateConfigKeys<TData, TConfig> = {
|
|
967
|
+
[K in keyof TConfig]: K extends keyof TData ? ChartConfig[string] : never;
|
|
968
|
+
};
|
|
969
|
+
type NumericDataKeys<T> = {
|
|
970
|
+
[K in keyof T]: T[K] extends number ? K : never;
|
|
971
|
+
}[keyof T];
|
|
972
|
+
type LineChartProps<TData extends Record<string, unknown>, TConfig extends Record<string, ChartConfig[string]>> = {
|
|
973
|
+
chartConfig: TConfig & ValidateConfigKeys<TData, TConfig>;
|
|
974
|
+
data: TData[];
|
|
975
|
+
xDataKey?: keyof TData & string;
|
|
976
|
+
yDataKey?: keyof TData & string;
|
|
977
|
+
className?: string;
|
|
978
|
+
chartProps?: ChartProps$1;
|
|
979
|
+
xAxisProps?: XAxisProps;
|
|
980
|
+
yAxisProps?: YAxisProps;
|
|
981
|
+
defaultSelectedDataKey?: string | null;
|
|
982
|
+
curveType?: LineType;
|
|
983
|
+
strokeWidth?: number;
|
|
984
|
+
strokeVariant?: StrokeVariant;
|
|
985
|
+
dotVariant?: DotVariant;
|
|
986
|
+
activeDotVariant?: DotVariant;
|
|
987
|
+
legendVariant?: ChartLegendVariant;
|
|
988
|
+
connectNulls?: boolean;
|
|
989
|
+
tickGap?: number;
|
|
990
|
+
hideTooltip?: boolean;
|
|
991
|
+
hideCartesianGrid?: boolean;
|
|
992
|
+
hideLegend?: boolean;
|
|
993
|
+
hideCursorLine?: boolean;
|
|
994
|
+
tooltipRoundness?: TooltipRoundness;
|
|
995
|
+
tooltipVariant?: TooltipVariant;
|
|
996
|
+
tooltipDefaultIndex?: number;
|
|
997
|
+
tooltipAnimationDuration?: number;
|
|
998
|
+
tooltipContentProps?: Omit<ComponentProps<typeof ChartTooltipContent>, 'selected' | 'roundness' | 'variant'>;
|
|
999
|
+
isLoading?: boolean;
|
|
1000
|
+
loadingPoints?: number;
|
|
1001
|
+
glowingLines?: NumericDataKeys<TData>[];
|
|
1002
|
+
showBrush?: boolean;
|
|
1003
|
+
brushHeight?: number;
|
|
1004
|
+
brushFormatLabel?: (value: unknown, index: number) => string;
|
|
1005
|
+
onBrushChange?: (range: ChartBrushRange) => void;
|
|
1006
|
+
backgroundVariant?: BackgroundVariant;
|
|
1007
|
+
enableBufferLine?: boolean;
|
|
1008
|
+
};
|
|
1009
|
+
type LineChartClickable = {
|
|
1010
|
+
isClickable: true;
|
|
1011
|
+
onSelectionChange?: (selectedDataKey: string | null) => void;
|
|
1012
|
+
};
|
|
1013
|
+
type LineChartNotClickable = {
|
|
1014
|
+
isClickable?: false;
|
|
1015
|
+
onSelectionChange?: never;
|
|
1016
|
+
};
|
|
1017
|
+
type LineChartPropsWithCallback<TData extends Record<string, unknown>, TConfig extends Record<string, ChartConfig[string]>> = LineChartProps<TData, TConfig> & (LineChartClickable | LineChartNotClickable);
|
|
1018
|
+
declare function LineChart<TData extends Record<string, unknown>, TConfig extends Record<string, ChartConfig[string]>>({ chartConfig, data, xDataKey, yDataKey, className, chartProps, xAxisProps, yAxisProps, defaultSelectedDataKey, curveType, strokeWidth, strokeVariant, dotVariant, activeDotVariant, legendVariant, connectNulls, tickGap, hideTooltip, hideCartesianGrid, hideLegend, hideCursorLine, tooltipRoundness, tooltipVariant, tooltipDefaultIndex, tooltipAnimationDuration, tooltipContentProps, isClickable, isLoading, loadingPoints, glowingLines, showBrush, brushHeight, brushFormatLabel, onBrushChange, onSelectionChange, backgroundVariant, enableBufferLine, }: LineChartPropsWithCallback<TData, TConfig>): react_jsx_runtime.JSX.Element;
|
|
1019
|
+
|
|
1020
|
+
type ChartProps = ComponentProps<typeof PieChart$1>;
|
|
1021
|
+
type PieProps = ComponentProps<typeof Pie>;
|
|
1022
|
+
type PieVariant = 'default' | 'donut';
|
|
1023
|
+
type BasePieChartProps<TData extends Record<string, unknown>, TConfig extends Record<string, ChartConfig[string]>> = {
|
|
1024
|
+
/**
|
|
1025
|
+
* Keyed by the category values found in `data[nameKey]` — each slice reads
|
|
1026
|
+
* its label and colors from the matching entry.
|
|
1027
|
+
*/
|
|
1028
|
+
chartConfig: TConfig;
|
|
1029
|
+
data: TData[];
|
|
1030
|
+
/** Numeric field of each row that sizes the slice. */
|
|
1031
|
+
dataKey: keyof TData & string;
|
|
1032
|
+
/** Categorical field of each row that names the slice (and its config key). */
|
|
1033
|
+
nameKey: keyof TData & string;
|
|
1034
|
+
className?: string;
|
|
1035
|
+
chartProps?: Omit<ChartProps, 'data'>;
|
|
1036
|
+
pieProps?: Omit<PieProps, 'data' | 'dataKey' | 'nameKey' | 'children' | 'ref'>;
|
|
1037
|
+
defaultSelectedDataKey?: string | null;
|
|
1038
|
+
pieVariant?: PieVariant;
|
|
1039
|
+
paddingAngle?: number;
|
|
1040
|
+
cornerRadius?: number;
|
|
1041
|
+
legendVariant?: ChartLegendVariant;
|
|
1042
|
+
/** Center content, rendered only on the `donut` variant. */
|
|
1043
|
+
centerLabel?: React.ReactNode;
|
|
1044
|
+
centerValue?: React.ReactNode;
|
|
1045
|
+
hideTooltip?: boolean;
|
|
1046
|
+
hideLegend?: boolean;
|
|
1047
|
+
tooltipRoundness?: TooltipRoundness;
|
|
1048
|
+
tooltipVariant?: TooltipVariant;
|
|
1049
|
+
tooltipAnimationDuration?: number;
|
|
1050
|
+
tooltipContentProps?: Omit<ComponentProps<typeof ChartTooltipContent>, 'selected' | 'roundness' | 'variant'>;
|
|
1051
|
+
isLoading?: boolean;
|
|
1052
|
+
loadingSlices?: number;
|
|
1053
|
+
};
|
|
1054
|
+
type PieChartClickable = {
|
|
1055
|
+
isClickable: true;
|
|
1056
|
+
onSelectionChange?: (selectedDataKey: string | null) => void;
|
|
1057
|
+
};
|
|
1058
|
+
type PieChartNotClickable = {
|
|
1059
|
+
isClickable?: false;
|
|
1060
|
+
onSelectionChange?: never;
|
|
1061
|
+
};
|
|
1062
|
+
type PieChartProps<TData extends Record<string, unknown>, TConfig extends Record<string, ChartConfig[string]>> = BasePieChartProps<TData, TConfig> & (PieChartClickable | PieChartNotClickable);
|
|
1063
|
+
declare function PieChart<TData extends Record<string, unknown>, TConfig extends Record<string, ChartConfig[string]>>({ chartConfig, data, dataKey, nameKey, className, chartProps, pieProps, defaultSelectedDataKey, pieVariant, paddingAngle, cornerRadius, legendVariant, centerLabel, centerValue, hideTooltip, hideLegend, tooltipRoundness, tooltipVariant, tooltipAnimationDuration, tooltipContentProps, isClickable, isLoading, loadingSlices, onSelectionChange, }: PieChartProps<TData, TConfig>): react_jsx_runtime.JSX.Element;
|
|
1064
|
+
|
|
1065
|
+
interface TrackerChartBlockProps {
|
|
1066
|
+
key?: string | number;
|
|
1067
|
+
color?: string;
|
|
1068
|
+
tooltip?: string;
|
|
1069
|
+
defaultBackgroundColor?: string;
|
|
1070
|
+
disabledTooltip?: boolean;
|
|
1071
|
+
}
|
|
1072
|
+
interface TrackerChartProps extends React.ComponentProps<'div'>, Pick<TrackerChartBlockProps, 'disabledTooltip'> {
|
|
1073
|
+
data: TrackerChartBlockProps[];
|
|
1074
|
+
defaultBackgroundColor?: string;
|
|
1075
|
+
isLoading?: boolean;
|
|
1076
|
+
loadingBlocks?: number;
|
|
1077
|
+
}
|
|
1078
|
+
declare const TrackerChart: ({ data, disabledTooltip, isLoading, loadingBlocks, className, ref, ...props }: TrackerChartProps) => react_jsx_runtime.JSX.Element;
|
|
1079
|
+
|
|
612
1080
|
type ChatMessage = {
|
|
613
1081
|
role: 'user' | 'assistant';
|
|
614
1082
|
content: string;
|
|
@@ -726,6 +1194,7 @@ declare const KeyboardShortcut: {
|
|
|
726
1194
|
displayName: string;
|
|
727
1195
|
};
|
|
728
1196
|
|
|
1197
|
+
declare function markMenuRoundable<P>(Component: React$1.ComponentType<P>): React$1.ComponentType<P>;
|
|
729
1198
|
type DropdownMenuProps = Omit<Menu.Root.Props, 'onOpenChange'> & {
|
|
730
1199
|
onOpenChange?: (open: boolean) => void;
|
|
731
1200
|
};
|
|
@@ -734,32 +1203,40 @@ declare function DropdownMenuPortal({ children, ...props }: Menu.Portal.Props):
|
|
|
734
1203
|
declare function DropdownMenuTrigger({ className, asChild, children, ...props }: Menu.Trigger.Props & {
|
|
735
1204
|
asChild?: boolean;
|
|
736
1205
|
}): react_jsx_runtime.JSX.Element;
|
|
737
|
-
declare function DropdownMenuContent({ className, sideOffset, align, side, children, ...props }: Menu.Positioner.Props & {
|
|
1206
|
+
declare function DropdownMenuContent({ className, sideOffset, align, side, rounded, children, ...props }: Menu.Positioner.Props & {
|
|
738
1207
|
sideOffset?: number;
|
|
1208
|
+
rounded?: boolean;
|
|
739
1209
|
}): react_jsx_runtime.JSX.Element;
|
|
740
1210
|
declare function DropdownMenuGroup({ children, ...props }: Menu.Group.Props): react_jsx_runtime.JSX.Element;
|
|
741
|
-
declare function DropdownMenuItem({ className,
|
|
742
|
-
inset?: boolean;
|
|
1211
|
+
declare function DropdownMenuItem({ className, variant, resetClassName, asChild, children, 'data-menu-edge-first': edgeFirst, 'data-menu-edge-last': edgeLast, ...props }: Menu.Item.Props & {
|
|
743
1212
|
variant?: 'default' | 'destructive';
|
|
744
1213
|
resetClassName?: boolean;
|
|
745
1214
|
asChild?: boolean;
|
|
1215
|
+
'data-menu-edge-first'?: boolean;
|
|
1216
|
+
'data-menu-edge-last'?: boolean;
|
|
1217
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1218
|
+
declare function DropdownMenuCheckboxItem({ className, children, checked, onCheckedChange, 'data-menu-edge-first': edgeFirst, 'data-menu-edge-last': edgeLast, ...props }: Menu.CheckboxItem.Props & {
|
|
1219
|
+
'data-menu-edge-first'?: boolean;
|
|
1220
|
+
'data-menu-edge-last'?: boolean;
|
|
746
1221
|
}): react_jsx_runtime.JSX.Element;
|
|
747
|
-
declare function DropdownMenuCheckboxItem({ className, children, checked, onCheckedChange, ...props }: Menu.CheckboxItem.Props): react_jsx_runtime.JSX.Element;
|
|
748
1222
|
declare function DropdownMenuRadioGroup({ children, ...props }: Menu.RadioGroup.Props): react_jsx_runtime.JSX.Element;
|
|
749
|
-
declare function DropdownMenuRadioItem({ className, children, ...props }: Menu.RadioItem.Props
|
|
750
|
-
|
|
751
|
-
|
|
1223
|
+
declare function DropdownMenuRadioItem({ className, children, 'data-menu-edge-first': edgeFirst, 'data-menu-edge-last': edgeLast, ...props }: Menu.RadioItem.Props & {
|
|
1224
|
+
'data-menu-edge-first'?: boolean;
|
|
1225
|
+
'data-menu-edge-last'?: boolean;
|
|
752
1226
|
}): react_jsx_runtime.JSX.Element;
|
|
1227
|
+
declare function DropdownMenuLabel({ className, ...props }: Menu.GroupLabel.Props): react_jsx_runtime.JSX.Element;
|
|
753
1228
|
declare function DropdownMenuSeparator({ className, ...props }: Menu.Separator.Props): react_jsx_runtime.JSX.Element;
|
|
754
1229
|
declare function DropdownMenuShortcut({ className, ...props }: React$1.ComponentProps<typeof KeyboardShortcut>): react_jsx_runtime.JSX.Element;
|
|
755
1230
|
declare function DropdownMenuSub({ children, ...props }: Menu.SubmenuRoot.Props): react_jsx_runtime.JSX.Element;
|
|
756
|
-
declare function DropdownMenuSubTrigger({ className,
|
|
757
|
-
|
|
1231
|
+
declare function DropdownMenuSubTrigger({ className, children, 'data-menu-edge-first': edgeFirst, 'data-menu-edge-last': edgeLast, ...props }: Menu.SubmenuTrigger.Props & {
|
|
1232
|
+
'data-menu-edge-first'?: boolean;
|
|
1233
|
+
'data-menu-edge-last'?: boolean;
|
|
758
1234
|
}): react_jsx_runtime.JSX.Element;
|
|
759
|
-
declare function DropdownMenuSubContent({ className, sideOffset, alignOffset, children, }: {
|
|
1235
|
+
declare function DropdownMenuSubContent({ className, sideOffset, alignOffset, rounded, children, }: {
|
|
760
1236
|
className?: string;
|
|
761
1237
|
sideOffset?: number;
|
|
762
1238
|
alignOffset?: number;
|
|
1239
|
+
rounded?: boolean;
|
|
763
1240
|
children?: React$1.ReactNode;
|
|
764
1241
|
}): react_jsx_runtime.JSX.Element | null;
|
|
765
1242
|
declare function DropdownMenuArrow({ className, ...props }: Menu.Arrow.Props): react_jsx_runtime.JSX.Element;
|
|
@@ -779,6 +1256,7 @@ declare const DropdownMenu: typeof DropdownMenuRoot & {
|
|
|
779
1256
|
SubContent: typeof DropdownMenuSubContent;
|
|
780
1257
|
SubTrigger: typeof DropdownMenuSubTrigger;
|
|
781
1258
|
Trigger: typeof DropdownMenuTrigger;
|
|
1259
|
+
markRoundable: typeof markMenuRoundable;
|
|
782
1260
|
};
|
|
783
1261
|
|
|
784
1262
|
declare function EmojiPickerRoot({ className, ...props }: React$1.ComponentProps<typeof EmojiPicker$1.Root>): react_jsx_runtime.JSX.Element;
|
|
@@ -834,10 +1312,12 @@ declare function InputGroupInput({ className, ...props }: InputGroupInputProps):
|
|
|
834
1312
|
declare namespace InputGroupInput {
|
|
835
1313
|
var displayName: string;
|
|
836
1314
|
}
|
|
837
|
-
|
|
838
|
-
align?:
|
|
839
|
-
|
|
840
|
-
|
|
1315
|
+
declare const inputGroupAddonVariants: (props?: ({
|
|
1316
|
+
align?: "inline-end" | "inline-start" | null | undefined;
|
|
1317
|
+
variant?: "default" | "filled" | null | undefined;
|
|
1318
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1319
|
+
type InputGroupAddonProps = React$1.HTMLAttributes<HTMLDivElement> & VariantProps<typeof inputGroupAddonVariants>;
|
|
1320
|
+
declare function InputGroupAddon({ align, variant, className, ...props }: InputGroupAddonProps): react_jsx_runtime.JSX.Element;
|
|
841
1321
|
declare namespace InputGroupAddon {
|
|
842
1322
|
var displayName: string;
|
|
843
1323
|
}
|
|
@@ -1219,6 +1699,17 @@ declare const TextShimmer: React__default.MemoExoticComponent<typeof TextShimmer
|
|
|
1219
1699
|
|
|
1220
1700
|
declare function Skeleton({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
1221
1701
|
|
|
1702
|
+
declare function SliderRoot({ className, children, ...props }: Slider$1.Root.Props): react_jsx_runtime.JSX.Element;
|
|
1703
|
+
declare function SliderTrack({ className, ...props }: Slider$1.Track.Props): react_jsx_runtime.JSX.Element;
|
|
1704
|
+
declare function SliderIndicator({ className, ...props }: Slider$1.Indicator.Props): react_jsx_runtime.JSX.Element;
|
|
1705
|
+
declare function SliderThumb({ className, ...props }: Slider$1.Thumb.Props): react_jsx_runtime.JSX.Element;
|
|
1706
|
+
declare const Slider: typeof SliderRoot & {
|
|
1707
|
+
Control: React$1.ForwardRefExoticComponent<Omit<_base_ui_react.SliderControlProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1708
|
+
Track: typeof SliderTrack;
|
|
1709
|
+
Indicator: typeof SliderIndicator;
|
|
1710
|
+
Thumb: typeof SliderThumb;
|
|
1711
|
+
};
|
|
1712
|
+
|
|
1222
1713
|
declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & {
|
|
1223
1714
|
containerClassName?: string;
|
|
1224
1715
|
} & React$1.RefAttributes<HTMLTableElement>> & {
|
|
@@ -1323,19 +1814,6 @@ type AppToasterProps = Omit<ToasterProps, 'theme'> & {
|
|
|
1323
1814
|
};
|
|
1324
1815
|
declare const Toaster: ({ theme: themeProp, toastOptions, style, className, richColors, ...props }: AppToasterProps) => react_jsx_runtime.JSX.Element;
|
|
1325
1816
|
|
|
1326
|
-
interface TrackerBlockProps {
|
|
1327
|
-
key?: string | number;
|
|
1328
|
-
color?: string;
|
|
1329
|
-
tooltip?: string;
|
|
1330
|
-
defaultBackgroundColor?: string;
|
|
1331
|
-
disabledTooltip?: boolean;
|
|
1332
|
-
}
|
|
1333
|
-
interface TrackerProps extends React.ComponentProps<'div'>, Pick<TrackerBlockProps, 'disabledTooltip'> {
|
|
1334
|
-
data: TrackerBlockProps[];
|
|
1335
|
-
defaultBackgroundColor?: string;
|
|
1336
|
-
}
|
|
1337
|
-
declare const Tracker: ({ data, disabledTooltip, className, ref, ...props }: TrackerProps) => react_jsx_runtime.JSX.Element;
|
|
1338
|
-
|
|
1339
1817
|
type VideoPlayerProps = ComponentProps<typeof MediaController>;
|
|
1340
1818
|
declare const VideoPlayer: ({ style, ...props }: VideoPlayerProps) => react_jsx_runtime.JSX.Element;
|
|
1341
1819
|
type VideoPlayerControlBarProps = ComponentProps<typeof MediaControlBar>;
|
|
@@ -1369,52 +1847,6 @@ declare const Avatar: typeof AvatarRoot & {
|
|
|
1369
1847
|
|
|
1370
1848
|
declare function Calendar({ className, classNames, showOutsideDays, components: userComponents, ...props }: React$1.ComponentProps<typeof DayPicker>): react_jsx_runtime.JSX.Element;
|
|
1371
1849
|
|
|
1372
|
-
declare const THEMES: {
|
|
1373
|
-
readonly light: "";
|
|
1374
|
-
readonly dark: ".dark";
|
|
1375
|
-
};
|
|
1376
|
-
type ChartConfig = {
|
|
1377
|
-
[k in string]: {
|
|
1378
|
-
label?: React$1.ReactNode;
|
|
1379
|
-
icon?: React$1.ComponentType;
|
|
1380
|
-
} & ({
|
|
1381
|
-
color?: string;
|
|
1382
|
-
theme?: never;
|
|
1383
|
-
} | {
|
|
1384
|
-
color?: never;
|
|
1385
|
-
theme: Record<keyof typeof THEMES, string>;
|
|
1386
|
-
});
|
|
1387
|
-
};
|
|
1388
|
-
declare function ChartRoot({ id, className, children, config, ...props }: React$1.ComponentProps<'div'> & {
|
|
1389
|
-
config: ChartConfig;
|
|
1390
|
-
children: React$1.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>['children'];
|
|
1391
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1392
|
-
/** Recharts injects these when rendering tooltip content; callers may omit them. */
|
|
1393
|
-
type TooltipInjectedProps = 'active' | 'payload' | 'coordinate' | 'accessibilityLayer' | 'activeIndex';
|
|
1394
|
-
type ChartTooltipContentProps = Omit<TooltipContentProps, TooltipInjectedProps> & Partial<Pick<TooltipContentProps, TooltipInjectedProps>> & React$1.ComponentProps<'div'> & {
|
|
1395
|
-
hideLabel?: boolean;
|
|
1396
|
-
hideIndicator?: boolean;
|
|
1397
|
-
indicator?: 'line' | 'dot' | 'dashed';
|
|
1398
|
-
nameKey?: string;
|
|
1399
|
-
labelKey?: string;
|
|
1400
|
-
color?: string;
|
|
1401
|
-
};
|
|
1402
|
-
declare function ChartTooltipContent({ active, payload, className, indicator, hideLabel, hideIndicator, label, labelFormatter, labelClassName, formatter, color, nameKey, labelKey, }: ChartTooltipContentProps): react_jsx_runtime.JSX.Element | null;
|
|
1403
|
-
declare function ChartLegendContent({ className, hideIcon, payload, verticalAlign, nameKey, }: React$1.ComponentProps<'div'> & Pick<DefaultLegendContentProps, 'payload' | 'verticalAlign'> & {
|
|
1404
|
-
hideIcon?: boolean;
|
|
1405
|
-
nameKey?: string;
|
|
1406
|
-
}): react_jsx_runtime.JSX.Element | null;
|
|
1407
|
-
declare const Chart: typeof ChartRoot & {
|
|
1408
|
-
Legend: React$1.MemoExoticComponent<(outsideProps: RechartsPrimitive.LegendProps) => React$1.ReactPortal | null>;
|
|
1409
|
-
LegendContent: typeof ChartLegendContent;
|
|
1410
|
-
Style: ({ id, config }: {
|
|
1411
|
-
id: string;
|
|
1412
|
-
config: ChartConfig;
|
|
1413
|
-
}) => react_jsx_runtime.JSX.Element | null;
|
|
1414
|
-
Tooltip: typeof RechartsPrimitive.Tooltip;
|
|
1415
|
-
TooltipContent: typeof ChartTooltipContent;
|
|
1416
|
-
};
|
|
1417
|
-
|
|
1418
1850
|
declare const collapsibleRootVariants: (props?: ({
|
|
1419
1851
|
variant?: "row" | "card" | null | undefined;
|
|
1420
1852
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -1495,9 +1927,10 @@ declare function DrawerTrigger({ ...props }: React$1.ComponentProps<typeof Drawe
|
|
|
1495
1927
|
declare function DrawerPortal({ ...props }: React$1.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
1496
1928
|
declare function DrawerClose({ ...props }: React$1.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime.JSX.Element;
|
|
1497
1929
|
declare function DrawerOverlay({ className, ...props }: React$1.ComponentProps<typeof Drawer$1.Overlay>): react_jsx_runtime.JSX.Element;
|
|
1498
|
-
declare function DrawerContent({ className, children, title, showDivider, onOpenAutoFocus, ...props }: React$1.ComponentProps<typeof Drawer$1.Content> & {
|
|
1930
|
+
declare function DrawerContent({ className, children, title, showDivider, rounded, onOpenAutoFocus, ...props }: React$1.ComponentProps<typeof Drawer$1.Content> & {
|
|
1499
1931
|
title?: string;
|
|
1500
1932
|
showDivider?: boolean;
|
|
1933
|
+
rounded?: boolean;
|
|
1501
1934
|
}): react_jsx_runtime.JSX.Element;
|
|
1502
1935
|
declare function DrawerHeader({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
1503
1936
|
declare function DrawerFooter({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
@@ -1537,4 +1970,4 @@ declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_r
|
|
|
1537
1970
|
ScrollBar: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.ScrollAreaScrollbarProps, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1538
1971
|
};
|
|
1539
1972
|
|
|
1540
|
-
export { ANNOUNCEMENT_TYPES, Accordion, ActionGroup, Alert, AnnouncementBanner, type AnnouncementBannerProps, type AnnouncementType, AppShell, type AppShellSidebarItemData, Avatar, Badge, type BadgeProps, BrandDomainInput, type BrandIconName, Breadcrumb, Button, type ButtonVariants, Calendar, Card, CardContent, CardFooter, CardHeader, CardSlider,
|
|
1973
|
+
export { ANNOUNCEMENT_TYPES, Accordion, ActionGroup, Alert, AnnouncementBanner, type AnnouncementBannerProps, type AnnouncementType, AppShell, type AppShellSidebarItemData, AreaChart, Avatar, type BackgroundVariant, Badge, type BadgeProps, BarChart, BrandDomainInput, type BrandIconName, Breadcrumb, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonVariants, Calendar, Card, CardContent, CardFooter, CardHeader, CardSlider, ChartBackground, ChartBrush, type ChartBrushProps, type ChartBrushRange, type ChartBrushVariant, type ChartConfig, ChartContainer, ChartDot, ChartLegend, ChartLegendContent, type ChartLegendVariant, ChartStyle, ChartTooltip, ChartTooltipContent, ChatPreview, Checkbox, type CheckboxProps, Collapsible, CollapsibleContent, Command, type Country, type Currency, CurrencyInput, type CurrencyInputProps, type CustomIconName, DATA_CUSTOM_TABLE_VARIANTS, DEFAULT_DATA_CUSTOM_TABLE_VARIANT, DataCustomTable, type DataCustomTableVariant, DataTable, DataTableColumnHeader, DataTablePagination, DataTableToolbar, DataTableViewOptions, Devices, Dialog$1 as Dialog, DialogStack, type DotVariant, Drawer, DropdownMenu, type DuoIconName, EmojiPicker, EmptyState, type FillIconName, HoverCard, type HoverCardContentProps, Icon, type IconProps, type IconSharedProps, type IconType, type IconVariant, ImageUpload, type ImageUploadProps, Input, InputGroup, type InputProps, InputTime, InputTimePicker, type InputTimePickerProps, type InputTimeProps, type InputTimeType, InputTimeUnit, type InputTimeUnitProps, Kbd, type KbdKey, type KbdProps, Label, LanguageSwitch, LineChart, Loader, LoadingIndicator, Marquee, MarqueeContent, type MarqueeContentProps, MarqueeFade, type MarqueeFadeProps, MarqueeItem, type MarqueeItemProps, type MarqueeProps, NetworkStatus, OnneLogo, OnnebookLogo, PhoneInput, type PhoneInputProps, PieChart, Popover, Progress, RadioGroup, SIDEBAR_WIDTH, ScrollArea, Select, SelectInfiniteScroll, type SelectInfiniteScrollProps, SelectMulti, type SelectMultiProps, Separator, Sheet, Sidebar, Skeleton, Slider, type SocialIconName, TIME_UNITS, Table, Tabs, Text, TextShimmer, type TextShimmerProps, Textarea, type ThemeIcon, type TimeUnit, type TimeUnitLabel, type TimeUnitOption, Toaster, type TooltipRoundness, type TooltipVariant, TrackerChart, type TrackerChartBlockProps, VideoPlayer, VideoPlayerContent, type VideoPlayerContentProps, VideoPlayerControlBar, type VideoPlayerControlBarProps, VideoPlayerMuteButton, type VideoPlayerMuteButtonProps, VideoPlayerPlayButton, type VideoPlayerPlayButtonProps, type VideoPlayerProps, VideoPlayerSeekBackwardButton, type VideoPlayerSeekBackwardButtonProps, VideoPlayerSeekForwardButton, type VideoPlayerSeekForwardButtonProps, VideoPlayerTimeDisplay, type VideoPlayerTimeDisplayProps, VideoPlayerTimeRange, type VideoPlayerTimeRangeProps, VideoPlayerVolumeRange, type VideoPlayerVolumeRangeProps, axisValueToPercentFormatter, badgeVariants, buttonGroupVariants, buttonVariants, collapsibleContentVariants, collapsibleRootVariants, collapsibleTriggerSettingsOverlayVariants, getColorsCount, getLoadingData, getPayloadConfigFromPayload, resolveThemeIcon, useAppShellLeftSidebar, useAppShellRightSidebar, useChart, useChartBrush, useCollapsibleOpen, useDialog, useDialogStack, useLeftSidebarToggle, useOptionalCollapsibleContext, useRightSidebarToggle, useSidebar };
|