@onnechat/ui 0.1.0 → 0.2.1
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 +597 -127
- package/dist/index.d.ts +597 -127
- package/dist/index.js +6563 -2200
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6686 -2286
- package/dist/index.mjs.map +1 -1
- package/dist/styles/globals.css +433 -118
- package/dist/styles/globals.css.map +1 -1
- package/dist/styles.css +436 -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,139 @@ 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; its `leftSidebarTrigger`/`rightSidebarTrigger`
|
|
387
|
+
* slots replace that default (pass a node) or remove it (pass `null`).
|
|
388
|
+
* `AppShell.LeftSidebarTrigger` and `AppShell.RightSidebarTrigger` exist for
|
|
389
|
+
* custom placements (both accept a custom `icon`), and
|
|
390
|
+
* `useLeftSidebarToggle`/`useRightSidebarToggle` expose just the toggle
|
|
391
|
+
* function for fully custom elements.
|
|
392
|
+
*
|
|
393
|
+
* `AppShell.Inset` additionally takes pinned `top`/`bottom` slots
|
|
394
|
+
* (`<AppShell.Inset top={…} bottom={…}>`): rows fixed on screen above/below
|
|
395
|
+
* the rounded panel, on the shell background (Linear-style), while the page
|
|
396
|
+
* scrolls the panel between them — the sticky Header docks right below the
|
|
397
|
+
* `top` row.
|
|
398
|
+
*/
|
|
399
|
+
declare function AppShellRoot({ leftSidebar, rightSidebar, className, children, ...props }: React$1.ComponentProps<'div'> & {
|
|
400
|
+
/**
|
|
401
|
+
* Enables the left sidebar state (`[` shortcut, cookie persistence, header
|
|
402
|
+
* toggle). Pass `{ defaultOpen: false }` to start collapsed.
|
|
403
|
+
*/
|
|
404
|
+
leftSidebar?: AppShellSidebarProp;
|
|
405
|
+
/**
|
|
406
|
+
* Enables the right (context) sidebar state (`]` shortcut, cookie
|
|
407
|
+
* persistence). Pass `{ defaultOpen: false }` to start collapsed.
|
|
408
|
+
*/
|
|
409
|
+
rightSidebar?: AppShellSidebarProp;
|
|
410
|
+
}): react_jsx_runtime.JSX.Element;
|
|
411
|
+
type AppShellSidebarSide = 'left' | 'right';
|
|
412
|
+
type AppShellSidebarContextValue = {
|
|
413
|
+
side: AppShellSidebarSide;
|
|
414
|
+
state: 'expanded' | 'collapsed';
|
|
415
|
+
open: boolean;
|
|
416
|
+
setOpen: (open: boolean) => void;
|
|
417
|
+
toggleSidebar: () => void;
|
|
418
|
+
sidebarWidth: string;
|
|
419
|
+
setSidebarWidth: (width: string) => void;
|
|
420
|
+
};
|
|
421
|
+
declare function useAppShellLeftSidebar(): AppShellSidebarContextValue;
|
|
422
|
+
declare function useAppShellRightSidebar(): AppShellSidebarContextValue;
|
|
423
|
+
type AppShellSidebarProp = boolean | {
|
|
424
|
+
defaultOpen?: boolean;
|
|
425
|
+
};
|
|
426
|
+
/** @deprecated Enable the sidebar with the `leftSidebar` prop on `AppShell` instead. */
|
|
427
|
+
declare function AppShellLeftSidebarProvider(props: {
|
|
428
|
+
children: React$1.ReactNode;
|
|
429
|
+
defaultOpen?: boolean;
|
|
430
|
+
}): react_jsx_runtime.JSX.Element;
|
|
431
|
+
/** @deprecated Enable the sidebar with the `rightSidebar` prop on `AppShell` instead. */
|
|
432
|
+
declare function AppShellRightSidebarProvider(props: {
|
|
433
|
+
children: React$1.ReactNode;
|
|
434
|
+
defaultOpen?: boolean;
|
|
435
|
+
}): react_jsx_runtime.JSX.Element;
|
|
436
|
+
/**
|
|
437
|
+
* Fixed left (primary) panel with a drag-to-resize rail. Hidden on mobile —
|
|
438
|
+
* navigation belongs to `AppShell.Navbar`. Requires the `leftSidebar` prop
|
|
439
|
+
* on `AppShell`.
|
|
440
|
+
*/
|
|
441
|
+
declare function AppShellLeftSidebar(props: React$1.ComponentProps<'aside'>): react_jsx_runtime.JSX.Element;
|
|
442
|
+
/**
|
|
443
|
+
* Fixed right (context) panel with a drag-to-resize rail. Hidden on mobile.
|
|
444
|
+
* Requires the `rightSidebar` prop on `AppShell`.
|
|
445
|
+
*/
|
|
446
|
+
declare function AppShellRightSidebar(props: React$1.ComponentProps<'aside'>): react_jsx_runtime.JSX.Element;
|
|
447
|
+
type SidebarTriggerIcon = IconType | React$1.ReactNode | ((state: 'expanded' | 'collapsed') => React$1.ReactNode);
|
|
448
|
+
/**
|
|
449
|
+
* Toggle button of the left sidebar, for custom placements (the Header
|
|
450
|
+
* already renders one automatically). Requires the `leftSidebar` prop on
|
|
451
|
+
* `AppShell`. Pass `icon` to replace the default state-aware icon — an icon
|
|
452
|
+
* name, any node, or a function of the sidebar state
|
|
453
|
+
* (`(state) => ReactNode`).
|
|
454
|
+
*/
|
|
455
|
+
declare function AppShellLeftSidebarTrigger({ label, ...props }: React$1.ComponentProps<typeof Button> & {
|
|
456
|
+
label?: string;
|
|
457
|
+
icon?: SidebarTriggerIcon;
|
|
458
|
+
}): react_jsx_runtime.JSX.Element;
|
|
459
|
+
/**
|
|
460
|
+
* Toggle button of the right sidebar, for custom placements (the Header
|
|
461
|
+
* already renders one automatically). Requires the `rightSidebar` prop on
|
|
462
|
+
* `AppShell`. Pass `icon` to replace the default state-aware icon — an icon
|
|
463
|
+
* name, any node, or a function of the sidebar state
|
|
464
|
+
* (`(state) => ReactNode`).
|
|
375
465
|
*/
|
|
376
|
-
declare function
|
|
466
|
+
declare function AppShellRightSidebarTrigger({ label, ...props }: React$1.ComponentProps<typeof Button> & {
|
|
467
|
+
label?: string;
|
|
468
|
+
icon?: SidebarTriggerIcon;
|
|
469
|
+
}): react_jsx_runtime.JSX.Element;
|
|
377
470
|
/**
|
|
378
|
-
*
|
|
379
|
-
*
|
|
380
|
-
* collapses past the threshold. Width persists in the `sidebar-width` cookie
|
|
381
|
-
* (read back by `Sidebar.Provider`).
|
|
471
|
+
* Returns the toggle function of the left sidebar, to wire any custom
|
|
472
|
+
* element to it. Requires the `leftSidebar` prop on `AppShell`.
|
|
382
473
|
*/
|
|
383
|
-
declare function
|
|
474
|
+
declare function useLeftSidebarToggle(): () => void;
|
|
475
|
+
/**
|
|
476
|
+
* Returns the toggle function of the right sidebar, to wire any custom
|
|
477
|
+
* element to it. Requires the `rightSidebar` prop on `AppShell`.
|
|
478
|
+
*/
|
|
479
|
+
declare function useRightSidebarToggle(): () => void;
|
|
384
480
|
declare function AppShellSidebarHeader({ className, children, ...props }: React$1.ComponentProps<typeof Sidebar.Header>): react_jsx_runtime.JSX.Element;
|
|
385
481
|
declare function AppShellSidebarSection({ className, children, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
386
482
|
declare function AppShellSidebarContent({ className, children, ...props }: React$1.ComponentProps<typeof Sidebar.Content>): react_jsx_runtime.JSX.Element;
|
|
@@ -411,7 +507,7 @@ declare function AppShellSidebarItem({ index, isDropdownChild, level, ...item }:
|
|
|
411
507
|
declare function AppShellCommandButton({ className, children, ...props }: React$1.ComponentProps<'button'>): react_jsx_runtime.JSX.Element;
|
|
412
508
|
declare function AppShellSidebarFooter({ className, children, ...props }: React$1.ComponentProps<typeof Sidebar.Footer>): react_jsx_runtime.JSX.Element;
|
|
413
509
|
declare function AppShellCopyright({ className, children, ...props }: React$1.ComponentProps<'span'>): react_jsx_runtime.JSX.Element;
|
|
414
|
-
declare function AppShellHeader({ className, logo, title, actions, user,
|
|
510
|
+
declare function AppShellHeader({ className, logo, title, actions, user, leftSidebarTrigger, rightSidebarTrigger, leftSidebarToggleLabel, rightSidebarToggleLabel, mobileActionsClassName, ...props }: Omit<React$1.ComponentProps<'div'>, 'title'> & {
|
|
415
511
|
/** Mobile-only logo slot (top-left). */
|
|
416
512
|
logo?: React$1.ReactNode;
|
|
417
513
|
/** Page title area (both breakpoints). */
|
|
@@ -420,7 +516,24 @@ declare function AppShellHeader({ className, logo, title, actions, user, sidebar
|
|
|
420
516
|
actions?: React$1.ReactNode;
|
|
421
517
|
/** Mobile-only user slot (top-right, e.g. avatar). */
|
|
422
518
|
user?: React$1.ReactNode;
|
|
423
|
-
|
|
519
|
+
/**
|
|
520
|
+
* Left sidebar toggle slot (desktop header only — mobile has no sidebars).
|
|
521
|
+
* Omit for the automatic trigger (shown while `leftSidebar` is enabled on
|
|
522
|
+
* AppShell), pass a node to replace it (e.g.
|
|
523
|
+
* `<AppShell.LeftSidebarTrigger icon="…" />`), or `null` to render none.
|
|
524
|
+
*/
|
|
525
|
+
leftSidebarTrigger?: React$1.ReactNode;
|
|
526
|
+
/**
|
|
527
|
+
* Right sidebar toggle slot (desktop header only — mobile has no
|
|
528
|
+
* sidebars). Omit for the automatic trigger (shown while `rightSidebar`
|
|
529
|
+
* is enabled on AppShell), pass a node to replace it, or `null` to render
|
|
530
|
+
* none.
|
|
531
|
+
*/
|
|
532
|
+
rightSidebarTrigger?: React$1.ReactNode;
|
|
533
|
+
/** Tooltip label of the auto-rendered left sidebar toggle. */
|
|
534
|
+
leftSidebarToggleLabel?: string;
|
|
535
|
+
/** Tooltip label of the auto-rendered right sidebar toggle. */
|
|
536
|
+
rightSidebarToggleLabel?: string;
|
|
424
537
|
mobileActionsClassName?: string;
|
|
425
538
|
}): react_jsx_runtime.JSX.Element;
|
|
426
539
|
declare function AppShellNavbar({ className, children, ...props }: React$1.ComponentProps<'nav'>): react_jsx_runtime.JSX.Element;
|
|
@@ -429,34 +542,7 @@ declare function AppShellNavbarItem({ className, icon, active, href, children, .
|
|
|
429
542
|
active?: boolean;
|
|
430
543
|
children?: React$1.ReactNode;
|
|
431
544
|
}): react_jsx_runtime.JSX.Element;
|
|
432
|
-
|
|
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
|
-
declare function AppShellInset({ className, style, children, loading, spacing, ...props }: React$1.ComponentProps<'div'> & {
|
|
545
|
+
declare function AppShellInset({ className, style, children, loading, spacing, top, bottom, ...props }: React$1.ComponentProps<'div'> & {
|
|
460
546
|
/**
|
|
461
547
|
* Shows a blocking loading overlay while keeping the shell (sidebar,
|
|
462
548
|
* navbar) interactive. Content stays mounted but hidden.
|
|
@@ -464,10 +550,30 @@ declare function AppShellInset({ className, style, children, loading, spacing, .
|
|
|
464
550
|
loading?: boolean;
|
|
465
551
|
/** Spacing scale unit for `--calculated-spacing` (bottom paddings, widget offsets). */
|
|
466
552
|
spacing?: number;
|
|
553
|
+
/**
|
|
554
|
+
* Pinned row rendered above the inset panel, on the shell background.
|
|
555
|
+
* The page keeps its normal document scroll — the row stays fixed on
|
|
556
|
+
* screen (below the announcement banner) while the panel slides beneath
|
|
557
|
+
* it, and the sticky Header docks right under it.
|
|
558
|
+
*/
|
|
559
|
+
top?: React$1.ReactNode;
|
|
560
|
+
/**
|
|
561
|
+
* Pinned row rendered below the inset panel, on the shell background
|
|
562
|
+
* (Linear-style). The page keeps its normal document scroll — the row
|
|
563
|
+
* stays fixed at the bottom of the screen while the panel slides beneath
|
|
564
|
+
* it. Below `lg`, the row hides automatically whenever an
|
|
565
|
+
* `AppShell.Navbar` is mounted (the floating navbar owns that space).
|
|
566
|
+
*/
|
|
567
|
+
bottom?: React$1.ReactNode;
|
|
467
568
|
}): react_jsx_runtime.JSX.Element;
|
|
468
569
|
declare function AppShellLoading({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
469
570
|
declare const AppShell: typeof AppShellRoot & {
|
|
470
|
-
|
|
571
|
+
LeftSidebar: typeof AppShellLeftSidebar;
|
|
572
|
+
LeftSidebarProvider: typeof AppShellLeftSidebarProvider;
|
|
573
|
+
LeftSidebarTrigger: typeof AppShellLeftSidebarTrigger;
|
|
574
|
+
RightSidebar: typeof AppShellRightSidebar;
|
|
575
|
+
RightSidebarProvider: typeof AppShellRightSidebarProvider;
|
|
576
|
+
RightSidebarTrigger: typeof AppShellRightSidebarTrigger;
|
|
471
577
|
SidebarHeader: typeof AppShellSidebarHeader;
|
|
472
578
|
SidebarSection: typeof AppShellSidebarSection;
|
|
473
579
|
SidebarContent: typeof AppShellSidebarContent;
|
|
@@ -481,9 +587,6 @@ declare const AppShell: typeof AppShellRoot & {
|
|
|
481
587
|
NavbarItem: typeof AppShellNavbarItem;
|
|
482
588
|
Inset: typeof AppShellInset;
|
|
483
589
|
Loading: typeof AppShellLoading;
|
|
484
|
-
RightSidebar: typeof AppShellRightSidebar;
|
|
485
|
-
RightSidebarProvider: typeof AppShellRightSidebarProvider;
|
|
486
|
-
RightSidebarTrigger: typeof AppShellRightSidebarTrigger;
|
|
487
590
|
};
|
|
488
591
|
|
|
489
592
|
type AccordionProps = Omit<Accordion$2.Root.Props, 'value' | 'defaultValue' | 'onValueChange' | 'multiple'> & {
|
|
@@ -575,6 +678,16 @@ interface BreadcrumbProps {
|
|
|
575
678
|
}
|
|
576
679
|
declare function Breadcrumb({ items, className, hideBackButton, disableLinks }: BreadcrumbProps): react_jsx_runtime.JSX.Element;
|
|
577
680
|
|
|
681
|
+
declare const buttonGroupVariants: (props?: ({
|
|
682
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
683
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
684
|
+
declare function ButtonGroup({ className, orientation, ...props }: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime.JSX.Element;
|
|
685
|
+
declare function ButtonGroupText({ className, asChild, ...props }: React.ComponentProps<'div'> & {
|
|
686
|
+
asChild?: boolean;
|
|
687
|
+
}): react_jsx_runtime.JSX.Element;
|
|
688
|
+
type ButtonGroupSeparatorProps = React.ComponentProps<typeof Separator>;
|
|
689
|
+
declare function ButtonGroupSeparator({ className, orientation, ...props }: ButtonGroupSeparatorProps): react_jsx_runtime.JSX.Element;
|
|
690
|
+
|
|
578
691
|
interface CardSliderProps extends React__default.ComponentProps<'div'> {
|
|
579
692
|
/** Zero-based index of the visible panel */
|
|
580
693
|
index: number;
|
|
@@ -609,6 +722,398 @@ declare const Card: typeof CardRoot & {
|
|
|
609
722
|
Slider: typeof CardSlider;
|
|
610
723
|
};
|
|
611
724
|
|
|
725
|
+
type BackgroundVariant = 'dots' | 'grid' | 'cross-hatch' | 'diagonal-lines' | 'plus' | 'falling-triangles' | '4-pointed-star' | 'tiny-checkers' | 'overlapping-circles' | 'wiggle-lines' | 'bubbles';
|
|
726
|
+
interface ChartBackgroundProps {
|
|
727
|
+
variant: BackgroundVariant;
|
|
728
|
+
}
|
|
729
|
+
declare function ChartBackground({ variant }: ChartBackgroundProps): react_jsx_runtime.JSX.Element;
|
|
730
|
+
|
|
731
|
+
declare const THEMES: {
|
|
732
|
+
readonly light: "";
|
|
733
|
+
readonly dark: ".dark";
|
|
734
|
+
};
|
|
735
|
+
type ThemeKey = keyof typeof THEMES;
|
|
736
|
+
type ThemeColorsBase = {
|
|
737
|
+
[K in ThemeKey]?: string[];
|
|
738
|
+
};
|
|
739
|
+
type AtLeastOneThemeColor = {
|
|
740
|
+
[K in ThemeKey]: Required<Pick<ThemeColorsBase, K>> & Partial<Omit<ThemeColorsBase, K>>;
|
|
741
|
+
}[ThemeKey];
|
|
742
|
+
type ChartConfig = Record<string, {
|
|
743
|
+
label?: React$1.ReactNode;
|
|
744
|
+
icon?: React$1.ComponentType;
|
|
745
|
+
colors?: AtLeastOneThemeColor;
|
|
746
|
+
}>;
|
|
747
|
+
interface ChartContextProps {
|
|
748
|
+
config: ChartConfig;
|
|
749
|
+
}
|
|
750
|
+
declare function useChart(): ChartContextProps;
|
|
751
|
+
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'> {
|
|
752
|
+
config: ChartConfig;
|
|
753
|
+
innerResponsiveContainerStyle?: React$1.ComponentProps<typeof RechartsPrimitive.ResponsiveContainer>['style'];
|
|
754
|
+
/** Optional content rendered below the chart (e.g. ChartBrush) */
|
|
755
|
+
footer?: React$1.ReactNode;
|
|
756
|
+
}
|
|
757
|
+
declare function ChartContainer({ id, config, initialDimension, className, children, footer, ...props }: Readonly<ChartContainerProps>): react_jsx_runtime.JSX.Element;
|
|
758
|
+
declare function LoadingIndicator({ isLoading }: {
|
|
759
|
+
isLoading: boolean;
|
|
760
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
761
|
+
declare const ChartStyle: ({ id, config }: {
|
|
762
|
+
id: string;
|
|
763
|
+
config: ChartConfig;
|
|
764
|
+
}) => react_jsx_runtime.JSX.Element | null;
|
|
765
|
+
declare function getPayloadConfigFromPayload(config: ChartConfig, payload: unknown, key: string): {
|
|
766
|
+
label?: React$1.ReactNode;
|
|
767
|
+
icon?: React$1.ComponentType;
|
|
768
|
+
colors?: AtLeastOneThemeColor;
|
|
769
|
+
} | undefined;
|
|
770
|
+
declare function axisValueToPercentFormatter(value: number): string;
|
|
771
|
+
declare function getColorsCount(config: ChartConfig[string]): number;
|
|
772
|
+
declare const getLoadingData: (points?: number, min?: number, max?: number) => {
|
|
773
|
+
loading: number;
|
|
774
|
+
}[];
|
|
775
|
+
|
|
776
|
+
type ChartBrushVariant = 'line' | 'area' | 'bar';
|
|
777
|
+
type CurveType = ComponentProps<typeof Area>['type'];
|
|
778
|
+
interface ChartBrushRange {
|
|
779
|
+
startIndex: number;
|
|
780
|
+
endIndex: number;
|
|
781
|
+
}
|
|
782
|
+
interface ChartBrushProps {
|
|
783
|
+
/** Full dataset – always rendered in the miniature chart */
|
|
784
|
+
data: Record<string, unknown>[];
|
|
785
|
+
/** Chart config with colour definitions */
|
|
786
|
+
chartConfig: ChartConfig;
|
|
787
|
+
/** Data keys to plot (default: all keys from chartConfig) */
|
|
788
|
+
dataKeys?: string[];
|
|
789
|
+
/** X-axis data key – used for handle labels */
|
|
790
|
+
xDataKey?: string;
|
|
791
|
+
/** Visual variant of the mini chart */
|
|
792
|
+
variant?: ChartBrushVariant;
|
|
793
|
+
/** Pixel height of the brush */
|
|
794
|
+
height?: number;
|
|
795
|
+
/** Extra className */
|
|
796
|
+
className?: string;
|
|
797
|
+
/** Whether areas/bars should be stacked in the mini chart */
|
|
798
|
+
stacked?: boolean;
|
|
799
|
+
/** Stroke variant for line / area strokes in the mini chart */
|
|
800
|
+
strokeVariant?: 'solid' | 'dashed' | 'animated-dashed';
|
|
801
|
+
/** Whether to connect null data points in line / area variants */
|
|
802
|
+
connectNulls?: boolean;
|
|
803
|
+
/** Radius for bar corners in the bar variant */
|
|
804
|
+
barRadius?: number;
|
|
805
|
+
/** Controlled start index */
|
|
806
|
+
startIndex?: number;
|
|
807
|
+
/** Controlled end index */
|
|
808
|
+
endIndex?: number;
|
|
809
|
+
/** Initial start index (uncontrolled) */
|
|
810
|
+
defaultStartIndex?: number;
|
|
811
|
+
/** Initial end index (uncontrolled) */
|
|
812
|
+
defaultEndIndex?: number;
|
|
813
|
+
/** Fired whenever the visible range changes */
|
|
814
|
+
onChange?: (range: ChartBrushRange) => void;
|
|
815
|
+
/** Format the handle label from the xDataKey value */
|
|
816
|
+
formatLabel?: (value: unknown, index: number) => string;
|
|
817
|
+
/** Curve type for line / area variants */
|
|
818
|
+
curveType?: CurveType;
|
|
819
|
+
/** Minimum number of data points that must remain selected */
|
|
820
|
+
minSpan?: number;
|
|
821
|
+
/** Whether to render labels on the handles */
|
|
822
|
+
showLabels?: boolean;
|
|
823
|
+
/** Skip rendering own ChartStyle (when inside a ChartContainer that already provides CSS vars) */
|
|
824
|
+
skipStyle?: boolean;
|
|
825
|
+
}
|
|
826
|
+
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;
|
|
827
|
+
declare function useChartBrush<TData extends Record<string, unknown>>({ data, defaultStartIndex, defaultEndIndex, }: {
|
|
828
|
+
data: TData[];
|
|
829
|
+
defaultStartIndex?: number;
|
|
830
|
+
defaultEndIndex?: number;
|
|
831
|
+
}): {
|
|
832
|
+
range: ChartBrushRange;
|
|
833
|
+
visibleData: TData[];
|
|
834
|
+
brushProps: {
|
|
835
|
+
startIndex: number;
|
|
836
|
+
endIndex: number;
|
|
837
|
+
onChange: React$1.Dispatch<React$1.SetStateAction<ChartBrushRange>>;
|
|
838
|
+
};
|
|
839
|
+
};
|
|
840
|
+
|
|
841
|
+
type DotVariant = 'default' | 'border' | 'colored-border';
|
|
842
|
+
type ChartDotProps = {
|
|
843
|
+
cx?: number;
|
|
844
|
+
cy?: number;
|
|
845
|
+
dataKey: string;
|
|
846
|
+
chartId: string;
|
|
847
|
+
className?: string;
|
|
848
|
+
fillOpacity?: number;
|
|
849
|
+
type?: DotVariant;
|
|
850
|
+
};
|
|
851
|
+
declare const ChartDot: React$1.NamedExoticComponent<ChartDotProps>;
|
|
852
|
+
|
|
853
|
+
type ChartLegendVariant = 'square' | 'circle' | 'circle-outline' | 'rounded-square' | 'rounded-square-outline' | 'vertical-bar' | 'horizontal-bar';
|
|
854
|
+
declare function ChartLegendContent({ className, hideIcon, nameKey, payload, verticalAlign, align, selected, onSelectChange, isClickable, variant, }: React$1.ComponentProps<'div'> & {
|
|
855
|
+
hideIcon?: boolean;
|
|
856
|
+
nameKey?: string;
|
|
857
|
+
selected?: string | null;
|
|
858
|
+
isClickable?: boolean;
|
|
859
|
+
onSelectChange?: (selected: string | null) => void;
|
|
860
|
+
variant?: ChartLegendVariant;
|
|
861
|
+
} & RechartsPrimitive.DefaultLegendContentProps): react_jsx_runtime.JSX.Element | null;
|
|
862
|
+
declare const ChartLegend: React$1.MemoExoticComponent<(outsideProps: RechartsPrimitive.LegendProps) => React$1.ReactPortal | null>;
|
|
863
|
+
|
|
864
|
+
type TooltipRoundness = 'sm' | 'md' | 'lg' | 'xl';
|
|
865
|
+
type TooltipVariant = 'default' | 'frosted-glass';
|
|
866
|
+
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'> & {
|
|
867
|
+
hideLabel?: boolean;
|
|
868
|
+
hideIndicator?: boolean;
|
|
869
|
+
indicator?: 'line' | 'dot' | 'dashed';
|
|
870
|
+
nameKey?: string;
|
|
871
|
+
labelKey?: string;
|
|
872
|
+
selected?: string | null;
|
|
873
|
+
roundness?: TooltipRoundness;
|
|
874
|
+
variant?: TooltipVariant;
|
|
875
|
+
valueFormatter?: (value: unknown) => React$1.ReactNode;
|
|
876
|
+
} & Omit<RechartsPrimitive.DefaultTooltipContentProps<ValueType, NameType>, 'accessibilityLayer'>): react_jsx_runtime.JSX.Element | null;
|
|
877
|
+
declare const ChartTooltip: ({ animationDuration, ...props }: React$1.ComponentProps<typeof RechartsPrimitive.Tooltip>) => react_jsx_runtime.JSX.Element;
|
|
878
|
+
|
|
879
|
+
type ChartProps$3 = ComponentProps<typeof AreaChart$1>;
|
|
880
|
+
type XAxisProps$2 = ComponentProps<typeof XAxis>;
|
|
881
|
+
type YAxisProps$2 = ComponentProps<typeof YAxis>;
|
|
882
|
+
type AreaType = ComponentProps<typeof Area>['type'];
|
|
883
|
+
type AreaVariant = 'gradient' | 'gradient-reverse' | 'solid' | 'dotted' | 'lines' | 'hatched';
|
|
884
|
+
type StrokeVariant$1 = 'solid' | 'dashed' | 'animated-dashed';
|
|
885
|
+
type StackType$1 = 'default' | 'expanded' | 'stacked';
|
|
886
|
+
type ValidateConfigKeys$2<TData, TConfig> = {
|
|
887
|
+
[K in keyof TConfig]: K extends keyof TData ? ChartConfig[string] : never;
|
|
888
|
+
};
|
|
889
|
+
type BaseAreaChartProps<TData extends Record<string, unknown>, TConfig extends Record<string, ChartConfig[string]>> = {
|
|
890
|
+
chartConfig: TConfig & ValidateConfigKeys$2<TData, TConfig>;
|
|
891
|
+
data: TData[];
|
|
892
|
+
xDataKey?: keyof TData & string;
|
|
893
|
+
yDataKey?: keyof TData & string;
|
|
894
|
+
className?: string;
|
|
895
|
+
chartProps?: ChartProps$3;
|
|
896
|
+
xAxisProps?: XAxisProps$2;
|
|
897
|
+
yAxisProps?: YAxisProps$2;
|
|
898
|
+
defaultSelectedDataKey?: string | null;
|
|
899
|
+
curveType?: AreaType;
|
|
900
|
+
strokeWidth?: number;
|
|
901
|
+
areaVariant?: AreaVariant;
|
|
902
|
+
strokeVariant?: StrokeVariant$1;
|
|
903
|
+
stackType?: StackType$1;
|
|
904
|
+
dotVariant?: DotVariant;
|
|
905
|
+
activeDotVariant?: DotVariant;
|
|
906
|
+
legendVariant?: ChartLegendVariant;
|
|
907
|
+
connectNulls?: boolean;
|
|
908
|
+
tickGap?: number;
|
|
909
|
+
hideTooltip?: boolean;
|
|
910
|
+
hideCartesianGrid?: boolean;
|
|
911
|
+
hideLegend?: boolean;
|
|
912
|
+
hideCursorLine?: boolean;
|
|
913
|
+
tooltipRoundness?: TooltipRoundness;
|
|
914
|
+
tooltipVariant?: TooltipVariant;
|
|
915
|
+
tooltipDefaultIndex?: number;
|
|
916
|
+
tooltipAnimationDuration?: number;
|
|
917
|
+
tooltipContentProps?: Omit<ComponentProps<typeof ChartTooltipContent>, 'selected' | 'roundness' | 'variant'>;
|
|
918
|
+
isLoading?: boolean;
|
|
919
|
+
loadingPoints?: number;
|
|
920
|
+
showBrush?: boolean;
|
|
921
|
+
brushHeight?: number;
|
|
922
|
+
brushFormatLabel?: (value: unknown, index: number) => string;
|
|
923
|
+
onBrushChange?: (range: ChartBrushRange) => void;
|
|
924
|
+
backgroundVariant?: BackgroundVariant;
|
|
925
|
+
};
|
|
926
|
+
type AreaChartClickable = {
|
|
927
|
+
isClickable: true;
|
|
928
|
+
onSelectionChange?: (selectedDataKey: string | null) => void;
|
|
929
|
+
};
|
|
930
|
+
type AreaChartNotClickable = {
|
|
931
|
+
isClickable?: false;
|
|
932
|
+
onSelectionChange?: never;
|
|
933
|
+
};
|
|
934
|
+
type AreaChartProps<TData extends Record<string, unknown>, TConfig extends Record<string, ChartConfig[string]>> = BaseAreaChartProps<TData, TConfig> & (AreaChartClickable | AreaChartNotClickable);
|
|
935
|
+
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;
|
|
936
|
+
|
|
937
|
+
type ChartProps$2 = ComponentProps<typeof BarChart$1>;
|
|
938
|
+
type XAxisProps$1 = ComponentProps<typeof XAxis>;
|
|
939
|
+
type YAxisProps$1 = ComponentProps<typeof YAxis>;
|
|
940
|
+
type BarVariant = 'default' | 'hatched' | 'duotone' | 'duotone-reverse' | 'gradient' | 'stripped';
|
|
941
|
+
type StackType = 'default' | 'stacked' | 'percent';
|
|
942
|
+
type BarLayout = 'vertical' | 'horizontal';
|
|
943
|
+
type ValidateConfigKeys$1<TData, TConfig> = {
|
|
944
|
+
[K in keyof TConfig]: K extends keyof TData ? ChartConfig[string] : never;
|
|
945
|
+
};
|
|
946
|
+
type NumericDataKeys$1<T> = {
|
|
947
|
+
[K in keyof T]: T[K] extends number ? K : never;
|
|
948
|
+
}[keyof T];
|
|
949
|
+
type BarChartProps<TData extends Record<string, unknown>, TConfig extends Record<string, ChartConfig[string]>> = {
|
|
950
|
+
chartConfig: TConfig & ValidateConfigKeys$1<TData, TConfig>;
|
|
951
|
+
data: TData[];
|
|
952
|
+
xDataKey?: keyof TData & string;
|
|
953
|
+
yDataKey?: keyof TData & string;
|
|
954
|
+
className?: string;
|
|
955
|
+
chartProps?: ChartProps$2;
|
|
956
|
+
xAxisProps?: XAxisProps$1;
|
|
957
|
+
yAxisProps?: YAxisProps$1;
|
|
958
|
+
defaultSelectedDataKey?: string | null;
|
|
959
|
+
barVariant?: BarVariant;
|
|
960
|
+
stackType?: StackType;
|
|
961
|
+
layout?: BarLayout;
|
|
962
|
+
barRadius?: number;
|
|
963
|
+
barGap?: number;
|
|
964
|
+
barCategoryGap?: number;
|
|
965
|
+
tickGap?: number;
|
|
966
|
+
legendVariant?: ChartLegendVariant;
|
|
967
|
+
hideTooltip?: boolean;
|
|
968
|
+
hideCartesianGrid?: boolean;
|
|
969
|
+
hideLegend?: boolean;
|
|
970
|
+
tooltipRoundness?: TooltipRoundness;
|
|
971
|
+
tooltipVariant?: TooltipVariant;
|
|
972
|
+
tooltipDefaultIndex?: number;
|
|
973
|
+
tooltipAnimationDuration?: number;
|
|
974
|
+
tooltipCursorStrokeWidth?: number;
|
|
975
|
+
tooltipContentProps?: Omit<ComponentProps<typeof ChartTooltipContent>, 'selected' | 'roundness' | 'variant'>;
|
|
976
|
+
enableHoverHighlight?: boolean;
|
|
977
|
+
isLoading?: boolean;
|
|
978
|
+
loadingBars?: number;
|
|
979
|
+
glowingBars?: NumericDataKeys$1<TData>[];
|
|
980
|
+
showBrush?: boolean;
|
|
981
|
+
brushHeight?: number;
|
|
982
|
+
brushFormatLabel?: (value: unknown, index: number) => string;
|
|
983
|
+
onBrushChange?: (range: ChartBrushRange) => void;
|
|
984
|
+
backgroundVariant?: BackgroundVariant;
|
|
985
|
+
enableBufferBar?: boolean;
|
|
986
|
+
};
|
|
987
|
+
type BarChartClickable = {
|
|
988
|
+
isClickable: true;
|
|
989
|
+
onSelectionChange?: (selectedDataKey: string | null) => void;
|
|
990
|
+
};
|
|
991
|
+
type BarChartNotClickable = {
|
|
992
|
+
isClickable?: false;
|
|
993
|
+
onSelectionChange?: never;
|
|
994
|
+
};
|
|
995
|
+
type BarChartPropsWithCallback<TData extends Record<string, unknown>, TConfig extends Record<string, ChartConfig[string]>> = BarChartProps<TData, TConfig> & (BarChartClickable | BarChartNotClickable);
|
|
996
|
+
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;
|
|
997
|
+
|
|
998
|
+
type ChartProps$1 = ComponentProps<typeof LineChart$1>;
|
|
999
|
+
type XAxisProps = ComponentProps<typeof XAxis>;
|
|
1000
|
+
type YAxisProps = ComponentProps<typeof YAxis>;
|
|
1001
|
+
type LineType = ComponentProps<typeof Line>['type'];
|
|
1002
|
+
type StrokeVariant = 'solid' | 'dashed' | 'animated-dashed';
|
|
1003
|
+
type ValidateConfigKeys<TData, TConfig> = {
|
|
1004
|
+
[K in keyof TConfig]: K extends keyof TData ? ChartConfig[string] : never;
|
|
1005
|
+
};
|
|
1006
|
+
type NumericDataKeys<T> = {
|
|
1007
|
+
[K in keyof T]: T[K] extends number ? K : never;
|
|
1008
|
+
}[keyof T];
|
|
1009
|
+
type LineChartProps<TData extends Record<string, unknown>, TConfig extends Record<string, ChartConfig[string]>> = {
|
|
1010
|
+
chartConfig: TConfig & ValidateConfigKeys<TData, TConfig>;
|
|
1011
|
+
data: TData[];
|
|
1012
|
+
xDataKey?: keyof TData & string;
|
|
1013
|
+
yDataKey?: keyof TData & string;
|
|
1014
|
+
className?: string;
|
|
1015
|
+
chartProps?: ChartProps$1;
|
|
1016
|
+
xAxisProps?: XAxisProps;
|
|
1017
|
+
yAxisProps?: YAxisProps;
|
|
1018
|
+
defaultSelectedDataKey?: string | null;
|
|
1019
|
+
curveType?: LineType;
|
|
1020
|
+
strokeWidth?: number;
|
|
1021
|
+
strokeVariant?: StrokeVariant;
|
|
1022
|
+
dotVariant?: DotVariant;
|
|
1023
|
+
activeDotVariant?: DotVariant;
|
|
1024
|
+
legendVariant?: ChartLegendVariant;
|
|
1025
|
+
connectNulls?: boolean;
|
|
1026
|
+
tickGap?: number;
|
|
1027
|
+
hideTooltip?: boolean;
|
|
1028
|
+
hideCartesianGrid?: boolean;
|
|
1029
|
+
hideLegend?: boolean;
|
|
1030
|
+
hideCursorLine?: boolean;
|
|
1031
|
+
tooltipRoundness?: TooltipRoundness;
|
|
1032
|
+
tooltipVariant?: TooltipVariant;
|
|
1033
|
+
tooltipDefaultIndex?: number;
|
|
1034
|
+
tooltipAnimationDuration?: number;
|
|
1035
|
+
tooltipContentProps?: Omit<ComponentProps<typeof ChartTooltipContent>, 'selected' | 'roundness' | 'variant'>;
|
|
1036
|
+
isLoading?: boolean;
|
|
1037
|
+
loadingPoints?: number;
|
|
1038
|
+
glowingLines?: NumericDataKeys<TData>[];
|
|
1039
|
+
showBrush?: boolean;
|
|
1040
|
+
brushHeight?: number;
|
|
1041
|
+
brushFormatLabel?: (value: unknown, index: number) => string;
|
|
1042
|
+
onBrushChange?: (range: ChartBrushRange) => void;
|
|
1043
|
+
backgroundVariant?: BackgroundVariant;
|
|
1044
|
+
enableBufferLine?: boolean;
|
|
1045
|
+
};
|
|
1046
|
+
type LineChartClickable = {
|
|
1047
|
+
isClickable: true;
|
|
1048
|
+
onSelectionChange?: (selectedDataKey: string | null) => void;
|
|
1049
|
+
};
|
|
1050
|
+
type LineChartNotClickable = {
|
|
1051
|
+
isClickable?: false;
|
|
1052
|
+
onSelectionChange?: never;
|
|
1053
|
+
};
|
|
1054
|
+
type LineChartPropsWithCallback<TData extends Record<string, unknown>, TConfig extends Record<string, ChartConfig[string]>> = LineChartProps<TData, TConfig> & (LineChartClickable | LineChartNotClickable);
|
|
1055
|
+
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;
|
|
1056
|
+
|
|
1057
|
+
type ChartProps = ComponentProps<typeof PieChart$1>;
|
|
1058
|
+
type PieProps = ComponentProps<typeof Pie>;
|
|
1059
|
+
type PieVariant = 'default' | 'donut';
|
|
1060
|
+
type BasePieChartProps<TData extends Record<string, unknown>, TConfig extends Record<string, ChartConfig[string]>> = {
|
|
1061
|
+
/**
|
|
1062
|
+
* Keyed by the category values found in `data[nameKey]` — each slice reads
|
|
1063
|
+
* its label and colors from the matching entry.
|
|
1064
|
+
*/
|
|
1065
|
+
chartConfig: TConfig;
|
|
1066
|
+
data: TData[];
|
|
1067
|
+
/** Numeric field of each row that sizes the slice. */
|
|
1068
|
+
dataKey: keyof TData & string;
|
|
1069
|
+
/** Categorical field of each row that names the slice (and its config key). */
|
|
1070
|
+
nameKey: keyof TData & string;
|
|
1071
|
+
className?: string;
|
|
1072
|
+
chartProps?: Omit<ChartProps, 'data'>;
|
|
1073
|
+
pieProps?: Omit<PieProps, 'data' | 'dataKey' | 'nameKey' | 'children' | 'ref'>;
|
|
1074
|
+
defaultSelectedDataKey?: string | null;
|
|
1075
|
+
pieVariant?: PieVariant;
|
|
1076
|
+
paddingAngle?: number;
|
|
1077
|
+
cornerRadius?: number;
|
|
1078
|
+
legendVariant?: ChartLegendVariant;
|
|
1079
|
+
/** Center content, rendered only on the `donut` variant. */
|
|
1080
|
+
centerLabel?: React.ReactNode;
|
|
1081
|
+
centerValue?: React.ReactNode;
|
|
1082
|
+
hideTooltip?: boolean;
|
|
1083
|
+
hideLegend?: boolean;
|
|
1084
|
+
tooltipRoundness?: TooltipRoundness;
|
|
1085
|
+
tooltipVariant?: TooltipVariant;
|
|
1086
|
+
tooltipAnimationDuration?: number;
|
|
1087
|
+
tooltipContentProps?: Omit<ComponentProps<typeof ChartTooltipContent>, 'selected' | 'roundness' | 'variant'>;
|
|
1088
|
+
isLoading?: boolean;
|
|
1089
|
+
loadingSlices?: number;
|
|
1090
|
+
};
|
|
1091
|
+
type PieChartClickable = {
|
|
1092
|
+
isClickable: true;
|
|
1093
|
+
onSelectionChange?: (selectedDataKey: string | null) => void;
|
|
1094
|
+
};
|
|
1095
|
+
type PieChartNotClickable = {
|
|
1096
|
+
isClickable?: false;
|
|
1097
|
+
onSelectionChange?: never;
|
|
1098
|
+
};
|
|
1099
|
+
type PieChartProps<TData extends Record<string, unknown>, TConfig extends Record<string, ChartConfig[string]>> = BasePieChartProps<TData, TConfig> & (PieChartClickable | PieChartNotClickable);
|
|
1100
|
+
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;
|
|
1101
|
+
|
|
1102
|
+
interface TrackerChartBlockProps {
|
|
1103
|
+
key?: string | number;
|
|
1104
|
+
color?: string;
|
|
1105
|
+
tooltip?: string;
|
|
1106
|
+
defaultBackgroundColor?: string;
|
|
1107
|
+
disabledTooltip?: boolean;
|
|
1108
|
+
}
|
|
1109
|
+
interface TrackerChartProps extends React.ComponentProps<'div'>, Pick<TrackerChartBlockProps, 'disabledTooltip'> {
|
|
1110
|
+
data: TrackerChartBlockProps[];
|
|
1111
|
+
defaultBackgroundColor?: string;
|
|
1112
|
+
isLoading?: boolean;
|
|
1113
|
+
loadingBlocks?: number;
|
|
1114
|
+
}
|
|
1115
|
+
declare const TrackerChart: ({ data, disabledTooltip, isLoading, loadingBlocks, className, ref, ...props }: TrackerChartProps) => react_jsx_runtime.JSX.Element;
|
|
1116
|
+
|
|
612
1117
|
type ChatMessage = {
|
|
613
1118
|
role: 'user' | 'assistant';
|
|
614
1119
|
content: string;
|
|
@@ -726,6 +1231,7 @@ declare const KeyboardShortcut: {
|
|
|
726
1231
|
displayName: string;
|
|
727
1232
|
};
|
|
728
1233
|
|
|
1234
|
+
declare function markMenuRoundable<P>(Component: React$1.ComponentType<P>): React$1.ComponentType<P>;
|
|
729
1235
|
type DropdownMenuProps = Omit<Menu.Root.Props, 'onOpenChange'> & {
|
|
730
1236
|
onOpenChange?: (open: boolean) => void;
|
|
731
1237
|
};
|
|
@@ -734,32 +1240,40 @@ declare function DropdownMenuPortal({ children, ...props }: Menu.Portal.Props):
|
|
|
734
1240
|
declare function DropdownMenuTrigger({ className, asChild, children, ...props }: Menu.Trigger.Props & {
|
|
735
1241
|
asChild?: boolean;
|
|
736
1242
|
}): react_jsx_runtime.JSX.Element;
|
|
737
|
-
declare function DropdownMenuContent({ className, sideOffset, align, side, children, ...props }: Menu.Positioner.Props & {
|
|
1243
|
+
declare function DropdownMenuContent({ className, sideOffset, align, side, rounded, children, ...props }: Menu.Positioner.Props & {
|
|
738
1244
|
sideOffset?: number;
|
|
1245
|
+
rounded?: boolean;
|
|
739
1246
|
}): react_jsx_runtime.JSX.Element;
|
|
740
1247
|
declare function DropdownMenuGroup({ children, ...props }: Menu.Group.Props): react_jsx_runtime.JSX.Element;
|
|
741
|
-
declare function DropdownMenuItem({ className,
|
|
742
|
-
inset?: boolean;
|
|
1248
|
+
declare function DropdownMenuItem({ className, variant, resetClassName, asChild, children, 'data-menu-edge-first': edgeFirst, 'data-menu-edge-last': edgeLast, ...props }: Menu.Item.Props & {
|
|
743
1249
|
variant?: 'default' | 'destructive';
|
|
744
1250
|
resetClassName?: boolean;
|
|
745
1251
|
asChild?: boolean;
|
|
1252
|
+
'data-menu-edge-first'?: boolean;
|
|
1253
|
+
'data-menu-edge-last'?: boolean;
|
|
1254
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1255
|
+
declare function DropdownMenuCheckboxItem({ className, children, checked, onCheckedChange, 'data-menu-edge-first': edgeFirst, 'data-menu-edge-last': edgeLast, ...props }: Menu.CheckboxItem.Props & {
|
|
1256
|
+
'data-menu-edge-first'?: boolean;
|
|
1257
|
+
'data-menu-edge-last'?: boolean;
|
|
746
1258
|
}): react_jsx_runtime.JSX.Element;
|
|
747
|
-
declare function DropdownMenuCheckboxItem({ className, children, checked, onCheckedChange, ...props }: Menu.CheckboxItem.Props): react_jsx_runtime.JSX.Element;
|
|
748
1259
|
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
|
-
|
|
1260
|
+
declare function DropdownMenuRadioItem({ className, children, 'data-menu-edge-first': edgeFirst, 'data-menu-edge-last': edgeLast, ...props }: Menu.RadioItem.Props & {
|
|
1261
|
+
'data-menu-edge-first'?: boolean;
|
|
1262
|
+
'data-menu-edge-last'?: boolean;
|
|
752
1263
|
}): react_jsx_runtime.JSX.Element;
|
|
1264
|
+
declare function DropdownMenuLabel({ className, ...props }: Menu.GroupLabel.Props): react_jsx_runtime.JSX.Element;
|
|
753
1265
|
declare function DropdownMenuSeparator({ className, ...props }: Menu.Separator.Props): react_jsx_runtime.JSX.Element;
|
|
754
1266
|
declare function DropdownMenuShortcut({ className, ...props }: React$1.ComponentProps<typeof KeyboardShortcut>): react_jsx_runtime.JSX.Element;
|
|
755
1267
|
declare function DropdownMenuSub({ children, ...props }: Menu.SubmenuRoot.Props): react_jsx_runtime.JSX.Element;
|
|
756
|
-
declare function DropdownMenuSubTrigger({ className,
|
|
757
|
-
|
|
1268
|
+
declare function DropdownMenuSubTrigger({ className, children, 'data-menu-edge-first': edgeFirst, 'data-menu-edge-last': edgeLast, ...props }: Menu.SubmenuTrigger.Props & {
|
|
1269
|
+
'data-menu-edge-first'?: boolean;
|
|
1270
|
+
'data-menu-edge-last'?: boolean;
|
|
758
1271
|
}): react_jsx_runtime.JSX.Element;
|
|
759
|
-
declare function DropdownMenuSubContent({ className, sideOffset, alignOffset, children, }: {
|
|
1272
|
+
declare function DropdownMenuSubContent({ className, sideOffset, alignOffset, rounded, children, }: {
|
|
760
1273
|
className?: string;
|
|
761
1274
|
sideOffset?: number;
|
|
762
1275
|
alignOffset?: number;
|
|
1276
|
+
rounded?: boolean;
|
|
763
1277
|
children?: React$1.ReactNode;
|
|
764
1278
|
}): react_jsx_runtime.JSX.Element | null;
|
|
765
1279
|
declare function DropdownMenuArrow({ className, ...props }: Menu.Arrow.Props): react_jsx_runtime.JSX.Element;
|
|
@@ -779,6 +1293,7 @@ declare const DropdownMenu: typeof DropdownMenuRoot & {
|
|
|
779
1293
|
SubContent: typeof DropdownMenuSubContent;
|
|
780
1294
|
SubTrigger: typeof DropdownMenuSubTrigger;
|
|
781
1295
|
Trigger: typeof DropdownMenuTrigger;
|
|
1296
|
+
markRoundable: typeof markMenuRoundable;
|
|
782
1297
|
};
|
|
783
1298
|
|
|
784
1299
|
declare function EmojiPickerRoot({ className, ...props }: React$1.ComponentProps<typeof EmojiPicker$1.Root>): react_jsx_runtime.JSX.Element;
|
|
@@ -834,10 +1349,12 @@ declare function InputGroupInput({ className, ...props }: InputGroupInputProps):
|
|
|
834
1349
|
declare namespace InputGroupInput {
|
|
835
1350
|
var displayName: string;
|
|
836
1351
|
}
|
|
837
|
-
|
|
838
|
-
align?:
|
|
839
|
-
|
|
840
|
-
|
|
1352
|
+
declare const inputGroupAddonVariants: (props?: ({
|
|
1353
|
+
align?: "inline-end" | "inline-start" | null | undefined;
|
|
1354
|
+
variant?: "default" | "filled" | null | undefined;
|
|
1355
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
1356
|
+
type InputGroupAddonProps = React$1.HTMLAttributes<HTMLDivElement> & VariantProps<typeof inputGroupAddonVariants>;
|
|
1357
|
+
declare function InputGroupAddon({ align, variant, className, ...props }: InputGroupAddonProps): react_jsx_runtime.JSX.Element;
|
|
841
1358
|
declare namespace InputGroupAddon {
|
|
842
1359
|
var displayName: string;
|
|
843
1360
|
}
|
|
@@ -1219,6 +1736,17 @@ declare const TextShimmer: React__default.MemoExoticComponent<typeof TextShimmer
|
|
|
1219
1736
|
|
|
1220
1737
|
declare function Skeleton({ className, ...props }: React.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
1221
1738
|
|
|
1739
|
+
declare function SliderRoot({ className, children, ...props }: Slider$1.Root.Props): react_jsx_runtime.JSX.Element;
|
|
1740
|
+
declare function SliderTrack({ className, ...props }: Slider$1.Track.Props): react_jsx_runtime.JSX.Element;
|
|
1741
|
+
declare function SliderIndicator({ className, ...props }: Slider$1.Indicator.Props): react_jsx_runtime.JSX.Element;
|
|
1742
|
+
declare function SliderThumb({ className, ...props }: Slider$1.Thumb.Props): react_jsx_runtime.JSX.Element;
|
|
1743
|
+
declare const Slider: typeof SliderRoot & {
|
|
1744
|
+
Control: React$1.ForwardRefExoticComponent<Omit<_base_ui_react.SliderControlProps, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1745
|
+
Track: typeof SliderTrack;
|
|
1746
|
+
Indicator: typeof SliderIndicator;
|
|
1747
|
+
Thumb: typeof SliderThumb;
|
|
1748
|
+
};
|
|
1749
|
+
|
|
1222
1750
|
declare const Table: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLTableElement> & {
|
|
1223
1751
|
containerClassName?: string;
|
|
1224
1752
|
} & React$1.RefAttributes<HTMLTableElement>> & {
|
|
@@ -1323,19 +1851,6 @@ type AppToasterProps = Omit<ToasterProps, 'theme'> & {
|
|
|
1323
1851
|
};
|
|
1324
1852
|
declare const Toaster: ({ theme: themeProp, toastOptions, style, className, richColors, ...props }: AppToasterProps) => react_jsx_runtime.JSX.Element;
|
|
1325
1853
|
|
|
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
1854
|
type VideoPlayerProps = ComponentProps<typeof MediaController>;
|
|
1340
1855
|
declare const VideoPlayer: ({ style, ...props }: VideoPlayerProps) => react_jsx_runtime.JSX.Element;
|
|
1341
1856
|
type VideoPlayerControlBarProps = ComponentProps<typeof MediaControlBar>;
|
|
@@ -1369,52 +1884,6 @@ declare const Avatar: typeof AvatarRoot & {
|
|
|
1369
1884
|
|
|
1370
1885
|
declare function Calendar({ className, classNames, showOutsideDays, components: userComponents, ...props }: React$1.ComponentProps<typeof DayPicker>): react_jsx_runtime.JSX.Element;
|
|
1371
1886
|
|
|
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
1887
|
declare const collapsibleRootVariants: (props?: ({
|
|
1419
1888
|
variant?: "row" | "card" | null | undefined;
|
|
1420
1889
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
@@ -1495,9 +1964,10 @@ declare function DrawerTrigger({ ...props }: React$1.ComponentProps<typeof Drawe
|
|
|
1495
1964
|
declare function DrawerPortal({ ...props }: React$1.ComponentProps<typeof Drawer$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
1496
1965
|
declare function DrawerClose({ ...props }: React$1.ComponentProps<typeof Drawer$1.Close>): react_jsx_runtime.JSX.Element;
|
|
1497
1966
|
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> & {
|
|
1967
|
+
declare function DrawerContent({ className, children, title, showDivider, rounded, onOpenAutoFocus, ...props }: React$1.ComponentProps<typeof Drawer$1.Content> & {
|
|
1499
1968
|
title?: string;
|
|
1500
1969
|
showDivider?: boolean;
|
|
1970
|
+
rounded?: boolean;
|
|
1501
1971
|
}): react_jsx_runtime.JSX.Element;
|
|
1502
1972
|
declare function DrawerHeader({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
1503
1973
|
declare function DrawerFooter({ className, ...props }: React$1.ComponentProps<'div'>): react_jsx_runtime.JSX.Element;
|
|
@@ -1537,4 +2007,4 @@ declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_r
|
|
|
1537
2007
|
ScrollBar: React$1.ForwardRefExoticComponent<Omit<Omit<_base_ui_react.ScrollAreaScrollbarProps, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1538
2008
|
};
|
|
1539
2009
|
|
|
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,
|
|
2010
|
+
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, Tooltip, 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 };
|