@mesh.ai/rabbit 0.0.48 → 0.0.49

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.
Files changed (44) hide show
  1. package/dist/@mesh.ai/rabbit.es.js +6367 -6634
  2. package/dist/@mesh.ai/rabbit.umd.js +21 -21
  3. package/dist/index.d.ts +1087 -1
  4. package/package.json +1 -99
  5. package/dist/commitlint.config.d.ts +0 -0
  6. package/dist/src/lib/components/atoms/Button/index.d.ts +0 -14
  7. package/dist/src/lib/components/atoms/Checkbox/index.d.ts +0 -4
  8. package/dist/src/lib/components/atoms/Chip/index.d.ts +0 -3
  9. package/dist/src/lib/components/atoms/Chip/types.d.ts +0 -9
  10. package/dist/src/lib/components/atoms/Dropdown/index.d.ts +0 -17
  11. package/dist/src/lib/components/atoms/Input/index.d.ts +0 -6
  12. package/dist/src/lib/components/atoms/Select/index.d.ts +0 -11
  13. package/dist/src/lib/components/atoms/Tooltip/index.d.ts +0 -8
  14. package/dist/src/lib/components/atoms/index.d.ts +0 -7
  15. package/dist/src/lib/components/index.d.ts +0 -2
  16. package/dist/src/lib/components/molecules/ChipGroup/index.d.ts +0 -7
  17. package/dist/src/lib/components/molecules/ChipGroup/types.d.ts +0 -7
  18. package/dist/src/lib/components/molecules/SplitButton/index.d.ts +0 -12
  19. package/dist/src/lib/components/molecules/agGrid/AgGridWrapper.d.ts +0 -1
  20. package/dist/src/lib/components/molecules/agGrid/index.d.ts +0 -0
  21. package/dist/src/lib/components/molecules/agGrid/utils/registerAgGrid.d.ts +0 -2
  22. package/dist/src/lib/components/molecules/cards/CardKPI/index.d.ts +0 -3
  23. package/dist/src/lib/components/molecules/cards/CardKPI/types.d.ts +0 -17
  24. package/dist/src/lib/components/molecules/cards/index.d.ts +0 -1
  25. package/dist/src/lib/components/molecules/charts/charts/HistogramChart/components/ChartCardHistogramTooltip.d.ts +0 -19
  26. package/dist/src/lib/components/molecules/charts/charts/HistogramChart/index.d.ts +0 -5
  27. package/dist/src/lib/components/molecules/charts/charts/HistogramChart/types.d.ts +0 -35
  28. package/dist/src/lib/components/molecules/charts/charts/LineChart/components/ChartCardLineTooltip.d.ts +0 -21
  29. package/dist/src/lib/components/molecules/charts/charts/LineChart/components/LineSeriesWrapper.d.ts +0 -2
  30. package/dist/src/lib/components/molecules/charts/charts/LineChart/index.d.ts +0 -5
  31. package/dist/src/lib/components/molecules/charts/charts/LineChart/types.d.ts +0 -63
  32. package/dist/src/lib/components/molecules/charts/charts/SankeyChart/components/ChartCardSankeyTooltip.d.ts +0 -12
  33. package/dist/src/lib/components/molecules/charts/charts/SankeyChart/index.d.ts +0 -5
  34. package/dist/src/lib/components/molecules/charts/charts/SankeyChart/types.d.ts +0 -38
  35. package/dist/src/lib/components/molecules/charts/common/components/ChartTextTooltip.d.ts +0 -11
  36. package/dist/src/lib/components/molecules/charts/common/hooks/useDownload.d.ts +0 -5
  37. package/dist/src/lib/components/molecules/charts/common/utils/chartColors.d.ts +0 -15
  38. package/dist/src/lib/components/molecules/charts/index.d.ts +0 -3
  39. package/dist/src/lib/components/molecules/index.d.ts +0 -4
  40. package/dist/src/lib/index.d.ts +0 -1
  41. package/dist/src/lib/storybook-utils.d.ts +0 -5
  42. package/dist/src/lib/utils/index.d.ts +0 -2
  43. package/dist/tailwind.config.d.ts +0 -94
  44. package/dist/vite.config.d.ts +0 -3
package/dist/index.d.ts CHANGED
@@ -1 +1,1087 @@
1
- export * from './src/lib/index'
1
+ /// <reference types="react" />
2
+
3
+ import { CreateScope } from '@radix-ui/react-context';
4
+ import { DismissableLayer } from '@radix-ui/react-dismissable-layer';
5
+ import { FC } from 'react';
6
+ import { FocusScope } from '@radix-ui/react-focus-scope';
7
+ import { ForwardRefExoticComponent } from 'react';
8
+ import { JSX as JSX_2 } from 'react/jsx-runtime';
9
+ import * as MenuPrimitive from '@radix-ui/react-menu';
10
+ import * as PopperPrimitive from '@radix-ui/react-popper';
11
+ import { Portal as Portal_2 } from '@radix-ui/react-portal';
12
+ import { Primitive } from '@radix-ui/react-primitive';
13
+ import * as Radix from '@radix-ui/react-primitive';
14
+ import * as React_2 from 'react';
15
+ import { ReactElement } from 'react';
16
+ import { RefAttributes } from 'react';
17
+ import * as RovingFocusGroup from '@radix-ui/react-roving-focus';
18
+
19
+ declare const Arrow: React_2.ForwardRefExoticComponent<DropdownMenuArrowProps & React_2.RefAttributes<SVGSVGElement>>;
20
+
21
+ declare const Arrow_2: React_2.ForwardRefExoticComponent<SelectArrowProps & React_2.RefAttributes<SVGSVGElement>>;
22
+
23
+ declare const Arrow_3: React_2.ForwardRefExoticComponent<TooltipArrowProps & React_2.RefAttributes<SVGSVGElement>>;
24
+
25
+ declare interface AxisSymbolType {
26
+ symbol: string;
27
+ position: 'pre' | 'post';
28
+ }
29
+
30
+ declare interface AxisSymbolType_2 {
31
+ symbol: string;
32
+ position: 'pre' | 'post';
33
+ }
34
+
35
+ export declare const Button: ForwardRefExoticComponent<ButtonProps & RefAttributes<HTMLButtonElement>>;
36
+
37
+ export declare interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement>, VariantProps<typeof buttonVariants> {
38
+ asChild?: boolean;
39
+ iconLeft?: ReactElement;
40
+ iconRight?: ReactElement;
41
+ }
42
+
43
+ declare const buttonVariants: (props?: ({
44
+ variant?: "text" | "filled" | "outline" | null | undefined;
45
+ status?: "default" | "error" | null | undefined;
46
+ size?: "small" | "icon" | "normal" | "smallIcon" | null | undefined;
47
+ } & ClassProp) | undefined) => string;
48
+
49
+ export declare function CardKPI({ count, totalCount, title, subTitle, className, unstyledDimension, style }: CardKPIProps): JSX_2.Element;
50
+
51
+ declare interface CardKPIProps {
52
+ /** Title of the Card */
53
+ title: string;
54
+ /** Main KPI to be shown */
55
+ count: number;
56
+ /** Total KPI Count to be shown */
57
+ totalCount?: number;
58
+ /** Subtext of the card */
59
+ subTitle?: string;
60
+ /** Add a classname to the parent */
61
+ className?: string;
62
+ /** Removes default dimensions to the card. Relies on the consumer to set height and width */
63
+ unstyledDimension?: boolean;
64
+ /** Add custom styles if necessary */
65
+ style?: React.CSSProperties;
66
+ }
67
+
68
+ declare type ChartColorsType = {
69
+ name: string;
70
+ dark: string;
71
+ light: string;
72
+ };
73
+
74
+ declare interface ChartDataType {
75
+ x: string;
76
+ y: number | null;
77
+ nodeId: string;
78
+ color: ChartColorsType;
79
+ }
80
+
81
+ export declare const Checkbox: ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
82
+
83
+ declare const Checkbox_2: React_2.ForwardRefExoticComponent<CheckboxProps & React_2.RefAttributes<HTMLButtonElement>>;
84
+
85
+ declare const CheckboxIndicator: React_2.ForwardRefExoticComponent<CheckboxIndicatorProps & React_2.RefAttributes<HTMLSpanElement>>;
86
+
87
+ declare interface CheckboxIndicatorProps extends PrimitiveSpanProps {
88
+ /**
89
+ * Used to force mounting when more control is needed. Useful when
90
+ * controlling animation with React animation libraries.
91
+ */
92
+ forceMount?: true;
93
+ }
94
+
95
+ declare const CheckboxItem: React_2.ForwardRefExoticComponent<DropdownMenuCheckboxItemProps & React_2.RefAttributes<HTMLDivElement>>;
96
+
97
+ declare namespace CheckboxPrimitive {
98
+ export {
99
+ createCheckboxScope,
100
+ CheckedState,
101
+ PrimitiveButtonProps,
102
+ CheckboxProps,
103
+ Checkbox_2 as Checkbox,
104
+ PrimitiveSpanProps,
105
+ CheckboxIndicatorProps,
106
+ CheckboxIndicator,
107
+ Root,
108
+ Indicator
109
+ }
110
+ }
111
+
112
+ declare interface CheckboxProps extends Omit<PrimitiveButtonProps, 'checked' | 'defaultChecked'> {
113
+ checked?: CheckedState;
114
+ defaultChecked?: CheckedState;
115
+ required?: boolean;
116
+ onCheckedChange?(checked: CheckedState): void;
117
+ }
118
+
119
+ declare type CheckedState = boolean | 'indeterminate';
120
+
121
+ export declare function Chip({ icon, count, label, selected, onSelectedChange }: ChipProps): JSX_2.Element;
122
+
123
+ export declare function ChipGroup({ children, ...props }: (ToggleGroupSingleProps | ToggleGroupMultipleProps) & {
124
+ children: React.ReactNode;
125
+ }): JSX_2.Element;
126
+
127
+ export declare function ChipGroupItem({ value, disabled, selected, icon, label, count, ...props }: Omit<ToggleGroupItemProps, 'asChild'> & ChipProps): JSX_2.Element;
128
+
129
+ declare interface ChipProps {
130
+ icon?: ReactElement;
131
+ count?: number;
132
+ label?: string;
133
+ selected?: boolean;
134
+ onSelectedChange?: ToggleProps['onPressedChange'];
135
+ }
136
+
137
+ declare type ClassProp = {
138
+ class: ClassValue;
139
+ className?: never;
140
+ } | {
141
+ class?: never;
142
+ className: ClassValue;
143
+ } | {
144
+ class?: never;
145
+ className?: never;
146
+ };
147
+
148
+ declare type ClassValue = CLSX.ClassValue;
149
+
150
+ declare namespace CLSX {
151
+ export {
152
+
153
+ }
154
+ }
155
+
156
+ declare const Content: React_2.ForwardRefExoticComponent<DropdownMenuContentProps & React_2.RefAttributes<HTMLDivElement>>;
157
+
158
+ declare const Content_2: React_2.ForwardRefExoticComponent<SelectContentProps & React_2.RefAttributes<HTMLDivElement>>;
159
+
160
+ declare const Content_3: React_2.ForwardRefExoticComponent<TooltipContentProps & React_2.RefAttributes<HTMLDivElement>>;
161
+
162
+ declare const createCheckboxScope: CreateScope;
163
+
164
+ declare const createDropdownMenuScope: CreateScope;
165
+
166
+ declare const createSelectScope: CreateScope;
167
+
168
+ declare const createTooltipScope: CreateScope;
169
+
170
+ declare type Direction = 'ltr' | 'rtl';
171
+
172
+ declare type Direction_2 = 'ltr' | 'rtl';
173
+
174
+ declare type DismissableLayerProps = React_2.ComponentPropsWithoutRef<typeof DismissableLayer>;
175
+
176
+ declare type DismissableLayerProps_2 = Radix.ComponentPropsWithoutRef<typeof DismissableLayer>;
177
+
178
+ declare type DownloadRef = {
179
+ download(): void;
180
+ };
181
+
182
+ export declare const Dropdown: FC<DropdownPrimitive.DropdownMenuProps>;
183
+
184
+ export declare const DropdownCheckboxItem: ForwardRefExoticComponent<Omit<DropdownPrimitive.DropdownMenuCheckboxItemProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
185
+
186
+ export declare const DropdownContent: ForwardRefExoticComponent<Omit<DropdownPrimitive.DropdownMenuContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
187
+
188
+ export declare const DropdownGroup: ForwardRefExoticComponent<Omit<DropdownPrimitive.DropdownMenuGroupProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
189
+
190
+ export declare const DropdownItem: ForwardRefExoticComponent<Omit<DropdownPrimitive.DropdownMenuItemProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
191
+
192
+ export declare const DropdownLabel: ForwardRefExoticComponent<Omit<DropdownPrimitive.DropdownMenuLabelProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
193
+
194
+ declare const DropdownMenu: React_2.FC<DropdownMenuProps>;
195
+
196
+ declare const DropdownMenuArrow: React_2.ForwardRefExoticComponent<DropdownMenuArrowProps & React_2.RefAttributes<SVGSVGElement>>;
197
+
198
+ declare interface DropdownMenuArrowProps extends MenuArrowProps {
199
+ }
200
+
201
+ declare const DropdownMenuCheckboxItem: React_2.ForwardRefExoticComponent<DropdownMenuCheckboxItemProps & React_2.RefAttributes<HTMLDivElement>>;
202
+
203
+ declare interface DropdownMenuCheckboxItemProps extends MenuCheckboxItemProps {
204
+ }
205
+
206
+ declare const DropdownMenuContent: React_2.ForwardRefExoticComponent<DropdownMenuContentProps & React_2.RefAttributes<HTMLDivElement>>;
207
+
208
+ declare interface DropdownMenuContentProps extends Omit<MenuContentProps, 'onEntryFocus'> {
209
+ }
210
+
211
+ declare const DropdownMenuGroup: React_2.ForwardRefExoticComponent<DropdownMenuGroupProps & React_2.RefAttributes<HTMLDivElement>>;
212
+
213
+ declare interface DropdownMenuGroupProps extends MenuGroupProps {
214
+ }
215
+
216
+ declare const DropdownMenuItem: React_2.ForwardRefExoticComponent<DropdownMenuItemProps & React_2.RefAttributes<HTMLDivElement>>;
217
+
218
+ declare const DropdownMenuItemIndicator: React_2.ForwardRefExoticComponent<DropdownMenuItemIndicatorProps & React_2.RefAttributes<HTMLSpanElement>>;
219
+
220
+ declare interface DropdownMenuItemIndicatorProps extends MenuItemIndicatorProps {
221
+ }
222
+
223
+ declare interface DropdownMenuItemProps extends MenuItemProps {
224
+ }
225
+
226
+ declare const DropdownMenuLabel: React_2.ForwardRefExoticComponent<DropdownMenuLabelProps & React_2.RefAttributes<HTMLDivElement>>;
227
+
228
+ declare interface DropdownMenuLabelProps extends MenuLabelProps {
229
+ }
230
+
231
+ declare const DropdownMenuPortal: React_2.FC<DropdownMenuPortalProps>;
232
+
233
+ declare interface DropdownMenuPortalProps extends MenuPortalProps {
234
+ }
235
+
236
+ declare interface DropdownMenuProps {
237
+ children?: React_2.ReactNode;
238
+ dir?: Direction;
239
+ open?: boolean;
240
+ defaultOpen?: boolean;
241
+ onOpenChange?(open: boolean): void;
242
+ modal?: boolean;
243
+ }
244
+
245
+ declare const DropdownMenuRadioGroup: React_2.ForwardRefExoticComponent<DropdownMenuRadioGroupProps & React_2.RefAttributes<HTMLDivElement>>;
246
+
247
+ declare interface DropdownMenuRadioGroupProps extends MenuRadioGroupProps {
248
+ }
249
+
250
+ declare const DropdownMenuRadioItem: React_2.ForwardRefExoticComponent<DropdownMenuRadioItemProps & React_2.RefAttributes<HTMLDivElement>>;
251
+
252
+ declare interface DropdownMenuRadioItemProps extends MenuRadioItemProps {
253
+ }
254
+
255
+ declare const DropdownMenuSeparator: React_2.ForwardRefExoticComponent<DropdownMenuSeparatorProps & React_2.RefAttributes<HTMLDivElement>>;
256
+
257
+ declare interface DropdownMenuSeparatorProps extends MenuSeparatorProps {
258
+ }
259
+
260
+ declare const DropdownMenuSub: React_2.FC<DropdownMenuSubProps>;
261
+
262
+ declare const DropdownMenuSubContent: React_2.ForwardRefExoticComponent<DropdownMenuSubContentProps & React_2.RefAttributes<HTMLDivElement>>;
263
+
264
+ declare interface DropdownMenuSubContentProps extends MenuSubContentProps {
265
+ }
266
+
267
+ declare interface DropdownMenuSubProps {
268
+ children?: React_2.ReactNode;
269
+ open?: boolean;
270
+ defaultOpen?: boolean;
271
+ onOpenChange?(open: boolean): void;
272
+ }
273
+
274
+ declare const DropdownMenuSubTrigger: React_2.ForwardRefExoticComponent<DropdownMenuSubTriggerProps & React_2.RefAttributes<HTMLDivElement>>;
275
+
276
+ declare interface DropdownMenuSubTriggerProps extends MenuSubTriggerProps {
277
+ }
278
+
279
+ declare const DropdownMenuTrigger: React_2.ForwardRefExoticComponent<DropdownMenuTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
280
+
281
+ declare interface DropdownMenuTriggerProps extends PrimitiveButtonProps_3 {
282
+ }
283
+
284
+ export declare const DropdownPortal: FC<DropdownPrimitive.DropdownMenuPortalProps>;
285
+
286
+ declare namespace DropdownPrimitive {
287
+ export {
288
+ Direction,
289
+ createDropdownMenuScope,
290
+ DropdownMenuProps,
291
+ DropdownMenu,
292
+ PrimitiveButtonProps_3 as PrimitiveButtonProps,
293
+ DropdownMenuTriggerProps,
294
+ DropdownMenuTrigger,
295
+ MenuPortalProps,
296
+ DropdownMenuPortalProps,
297
+ DropdownMenuPortal,
298
+ MenuContentProps,
299
+ DropdownMenuContentProps,
300
+ DropdownMenuContent,
301
+ MenuGroupProps,
302
+ DropdownMenuGroupProps,
303
+ DropdownMenuGroup,
304
+ MenuLabelProps,
305
+ DropdownMenuLabelProps,
306
+ DropdownMenuLabel,
307
+ MenuItemProps,
308
+ DropdownMenuItemProps,
309
+ DropdownMenuItem,
310
+ MenuCheckboxItemProps,
311
+ DropdownMenuCheckboxItemProps,
312
+ DropdownMenuCheckboxItem,
313
+ MenuRadioGroupProps,
314
+ DropdownMenuRadioGroupProps,
315
+ DropdownMenuRadioGroup,
316
+ MenuRadioItemProps,
317
+ DropdownMenuRadioItemProps,
318
+ DropdownMenuRadioItem,
319
+ MenuItemIndicatorProps,
320
+ DropdownMenuItemIndicatorProps,
321
+ DropdownMenuItemIndicator,
322
+ MenuSeparatorProps,
323
+ DropdownMenuSeparatorProps,
324
+ DropdownMenuSeparator,
325
+ MenuArrowProps,
326
+ DropdownMenuArrowProps,
327
+ DropdownMenuArrow,
328
+ DropdownMenuSubProps,
329
+ DropdownMenuSub,
330
+ MenuSubTriggerProps,
331
+ DropdownMenuSubTriggerProps,
332
+ DropdownMenuSubTrigger,
333
+ MenuSubContentProps,
334
+ DropdownMenuSubContentProps,
335
+ DropdownMenuSubContent,
336
+ Root_2 as Root,
337
+ Trigger,
338
+ Portal,
339
+ Content,
340
+ Group,
341
+ Label,
342
+ Item,
343
+ CheckboxItem,
344
+ RadioGroup,
345
+ RadioItem,
346
+ ItemIndicator,
347
+ Separator,
348
+ Arrow,
349
+ Sub,
350
+ SubTrigger,
351
+ SubContent
352
+ }
353
+ }
354
+
355
+ export declare const DropdownRadioGroup: ForwardRefExoticComponent<DropdownPrimitive.DropdownMenuRadioGroupProps & RefAttributes<HTMLDivElement>>;
356
+
357
+ export declare const DropdownRadioItem: ForwardRefExoticComponent<Omit<DropdownPrimitive.DropdownMenuRadioItemProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
358
+
359
+ export declare const DropdownSeparator: ForwardRefExoticComponent<Omit<DropdownPrimitive.DropdownMenuSeparatorProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
360
+
361
+ export declare const DropdownSub: FC<DropdownPrimitive.DropdownMenuSubProps>;
362
+
363
+ export declare const DropdownSubContent: ForwardRefExoticComponent<Omit<DropdownPrimitive.DropdownMenuSubContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
364
+
365
+ export declare const DropdownSubTrigger: ForwardRefExoticComponent<Omit<DropdownPrimitive.DropdownMenuSubTriggerProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
366
+
367
+ export declare const DropdownTrigger: ForwardRefExoticComponent<DropdownPrimitive.DropdownMenuTriggerProps & RefAttributes<HTMLButtonElement>>;
368
+
369
+ declare type FocusScopeProps = Radix.ComponentPropsWithoutRef<typeof FocusScope>;
370
+
371
+ declare const Group: React_2.ForwardRefExoticComponent<DropdownMenuGroupProps & React_2.RefAttributes<HTMLDivElement>>;
372
+
373
+ declare const Group_2: React_2.ForwardRefExoticComponent<SelectGroupProps & React_2.RefAttributes<HTMLDivElement>>;
374
+
375
+ declare interface Group_3 {
376
+ /** Group ID */
377
+ id: number;
378
+ /** Name of the Group */
379
+ name: string;
380
+ }
381
+
382
+ export declare const HistogramChart: ForwardRefExoticComponent<Omit<HistogramChartProps, "height" | "width"> & RefAttributes<DownloadRef>>;
383
+
384
+ declare interface HistogramChartProps {
385
+ /** Title name for the tooltip of the chart */
386
+ tooltipTitle: string;
387
+ /** Name of the label to be displayed on Y-Axis of the line chart */
388
+ xAxisLabel: string;
389
+ /** Name of the label to be displayed on Y-Axis of the line chart */
390
+ yAxisLabel: string;
391
+ /** Width of the chart in pixels */
392
+ width: number;
393
+ /** Height of the chart in pixels */
394
+ height: number;
395
+ /** The domain of the histogram. [fromNumber, toNumber] */
396
+ domain?: [number, number];
397
+ /** The number of bins the data would be grouped to. Note: this is an indicating number only. Might differ in actual value. */
398
+ binCount?: number;
399
+ /** The Maximum number of bins the data would be grouped to. */
400
+ maxBinCount?: number;
401
+ /** The Minimum number of bins the data would be grouped to. */
402
+ minBinCount?: number;
403
+ /** Frequency series for the histogram */
404
+ data: number[];
405
+ /** Whether the domain be made into nearest integers. This makes the xAxis adhere to integers. */
406
+ integerBins?: boolean;
407
+ /** Whether the yAxis be made into nearest integers. This makes the yAxis adhere to integers. */
408
+ integerYAxis?: boolean;
409
+ /** Symbol to appended before or after the ticks in xAxis */
410
+ xAxisUnitSymbol?: AxisSymbolType_2;
411
+ /** Symbol to appended before or after the ticks in yAxis */
412
+ yAxisUnitSymbol?: AxisSymbolType_2;
413
+ }
414
+
415
+ declare const Icon: React_2.ForwardRefExoticComponent<SelectIconProps & React_2.RefAttributes<HTMLSpanElement>>;
416
+
417
+ declare const Indicator: React_2.ForwardRefExoticComponent<CheckboxIndicatorProps & React_2.RefAttributes<HTMLSpanElement>>;
418
+
419
+ export declare const Input: ForwardRefExoticComponent<InputProps & RefAttributes<HTMLInputElement>>;
420
+
421
+ declare interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
422
+ className?: string;
423
+ }
424
+
425
+ declare const Item: React_2.ForwardRefExoticComponent<DropdownMenuItemProps & React_2.RefAttributes<HTMLDivElement>>;
426
+
427
+ declare const Item_2: React_2.ForwardRefExoticComponent<SelectItemProps & React_2.RefAttributes<HTMLDivElement>>;
428
+
429
+ declare const ItemIndicator: React_2.ForwardRefExoticComponent<DropdownMenuItemIndicatorProps & React_2.RefAttributes<HTMLSpanElement>>;
430
+
431
+ declare const ItemIndicator_2: React_2.ForwardRefExoticComponent<SelectItemIndicatorProps & React_2.RefAttributes<HTMLSpanElement>>;
432
+
433
+ declare const ItemText: React_2.ForwardRefExoticComponent<SelectItemTextProps & React_2.RefAttributes<HTMLSpanElement>>;
434
+
435
+ declare const Label: React_2.ForwardRefExoticComponent<DropdownMenuLabelProps & React_2.RefAttributes<HTMLDivElement>>;
436
+
437
+ declare const Label_2: React_2.ForwardRefExoticComponent<SelectLabelProps & React_2.RefAttributes<HTMLDivElement>>;
438
+
439
+ export declare const LineChart: ForwardRefExoticComponent<Omit<LineChartProps, "height" | "width"> & RefAttributes<DownloadRef>>;
440
+
441
+ declare interface LineChartProps {
442
+ /** the maximum number of characters to show in a x-axis label */
443
+ xAxisCharLimit?: number;
444
+ /** Show the chart in either 'mini' or 'full' mode to show limited or full data. Full mode as ability to select nodes to display */
445
+ mode?: 'mini' | 'full';
446
+ /** Height of the chart in pixels */
447
+ height: number;
448
+ /** Width of the chart in pixels */
449
+ width: number;
450
+ /** Symbol to appended before or after the ticks in xAxis */
451
+ xAxisUnitSymbol?: AxisSymbolType;
452
+ /** Symbol to appended before or after the ticks in yAxis */
453
+ yAxisUnitSymbol?: AxisSymbolType;
454
+ /** Name of the label to be displayed on X-Axis of the line chart */
455
+ xAxisLabel: string;
456
+ /** Name of the label to be displayed on Y-Axis of the line chart */
457
+ yAxisLabel: string;
458
+ /** Values for the x-Axis of the line chart */
459
+ xAxisValues: string[];
460
+ /** Data that corresponds to each node in the chart. These will generally contain info to be shown on the tooltip. */
461
+ nodes: Node_2[];
462
+ /** Data that corresponds to each line in the chart. Each item in the array corresponds to a line on the chart */
463
+ series: {
464
+ /** Id of the matching node. This will be used to fetch tooltip details for the line */
465
+ id: string;
466
+ /** Data with respect to y-Axis. This should be in the same order as xAxis values giving rise to [x,y] pairs. */
467
+ data: ChartDataType['y'][];
468
+ }[];
469
+ /** Title name for the tooltip of the chart */
470
+ tooltipTitle: string;
471
+ /** Number of characters post which the data in tooltip will be stacked instead of side-by-side */
472
+ tooltipStackCharLimit?: number;
473
+ /** Domain of x-Axis - string values of the band */
474
+ xAxisDomain?: string[];
475
+ /** Domain of y-Axis - The start and end of values for yAxis */
476
+ yAxisDomain?: [number, number];
477
+ /** Should a Line connect if there are missing values */
478
+ connectNulls?: boolean;
479
+ /** Maxiumum number of nodes to be shown in `mini` mode */
480
+ maxNodesInMiniMode: number;
481
+ }
482
+
483
+ declare interface Link {
484
+ /** Source node ID. Value should be present in nodes[]. */
485
+ source: string;
486
+ /** Target node ID. Value should be present in nodes[]. */
487
+ target: string;
488
+ /** Weight between each node. */
489
+ weight: number;
490
+ }
491
+
492
+ declare type MenuArrowProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.Arrow>;
493
+
494
+ declare type MenuCheckboxItemProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.CheckboxItem>;
495
+
496
+ declare type MenuContentProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.Content>;
497
+
498
+ declare type MenuGroupProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.Group>;
499
+
500
+ declare type MenuItemIndicatorProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.ItemIndicator>;
501
+
502
+ declare type MenuItemProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.Item>;
503
+
504
+ declare type MenuLabelProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.Label>;
505
+
506
+ declare type MenuPortalProps = React_2.ComponentPropsWithoutRef<typeof MenuPrimitive.Portal>;
507
+
508
+ declare type MenuRadioGroupProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.RadioGroup>;
509
+
510
+ declare type MenuRadioItemProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.RadioItem>;
511
+
512
+ declare type MenuSeparatorProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.Separator>;
513
+
514
+ declare type MenuSubContentProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.SubContent>;
515
+
516
+ declare type MenuSubTriggerProps = Radix.ComponentPropsWithoutRef<typeof MenuPrimitive.SubTrigger>;
517
+
518
+ declare interface Node_2 {
519
+ id: string;
520
+ name: string;
521
+ }
522
+
523
+ declare interface Node_3 {
524
+ /** Source node ID. */
525
+ id: string;
526
+ /** Name of the Node. This will be displayed on the chart */
527
+ name: string;
528
+ /** Group ID. This helps the nodes to be aligned. */
529
+ group: number;
530
+ }
531
+
532
+ declare type OmitUndefined<T> = T extends undefined ? never : T;
533
+
534
+ declare type PopperArrowProps = Radix.ComponentPropsWithoutRef<typeof PopperPrimitive.Arrow>;
535
+
536
+ declare type PopperArrowProps_2 = Radix.ComponentPropsWithoutRef<typeof PopperPrimitive.Arrow>;
537
+
538
+ declare type PopperContentProps = React_2.ComponentPropsWithoutRef<typeof PopperPrimitive.Content>;
539
+
540
+ declare type PopperContentProps_2 = Radix.ComponentPropsWithoutRef<typeof PopperPrimitive.Content>;
541
+
542
+ declare const Portal: React_2.FC<DropdownMenuPortalProps>;
543
+
544
+ declare const Portal_3: React_2.FC<SelectPortalProps>;
545
+
546
+ declare const Portal_4: React_2.FC<TooltipPortalProps>;
547
+
548
+ declare type PortalProps = React_2.ComponentPropsWithoutRef<typeof Portal_2>;
549
+
550
+ declare type PortalProps_2 = React_2.ComponentPropsWithoutRef<typeof Portal_2>;
551
+
552
+ declare type PrimitiveButtonProps = Radix.ComponentPropsWithoutRef<typeof Primitive.button>;
553
+
554
+ declare type PrimitiveButtonProps_2 = Radix.ComponentPropsWithoutRef<typeof Primitive.button>;
555
+
556
+ declare type PrimitiveButtonProps_3 = Radix.ComponentPropsWithoutRef<typeof Primitive.button>;
557
+
558
+ declare type PrimitiveButtonProps_4 = Radix.ComponentPropsWithoutRef<typeof Primitive.button>;
559
+
560
+ declare type PrimitiveButtonProps_5 = Radix.ComponentPropsWithoutRef<typeof Primitive.button>;
561
+
562
+ declare type PrimitiveDivProps = Radix.ComponentPropsWithoutRef<typeof Primitive.div>;
563
+
564
+ declare type PrimitiveDivProps_2 = Radix.ComponentPropsWithoutRef<typeof Primitive.div>;
565
+
566
+ declare type PrimitiveSpanProps = Radix.ComponentPropsWithoutRef<typeof Primitive.span>;
567
+
568
+ declare type PrimitiveSpanProps_2 = Radix.ComponentPropsWithoutRef<typeof Primitive.span>;
569
+
570
+ declare const Provider: React_2.FC<TooltipProviderProps>;
571
+
572
+ declare const RadioGroup: React_2.ForwardRefExoticComponent<DropdownMenuRadioGroupProps & React_2.RefAttributes<HTMLDivElement>>;
573
+
574
+ declare const RadioItem: React_2.ForwardRefExoticComponent<DropdownMenuRadioItemProps & React_2.RefAttributes<HTMLDivElement>>;
575
+
576
+ declare const Root: React_2.ForwardRefExoticComponent<CheckboxProps & React_2.RefAttributes<HTMLButtonElement>>;
577
+
578
+ declare const Root_2: React_2.FC<DropdownMenuProps>;
579
+
580
+ declare const Root_3: React_2.FC<SelectProps>;
581
+
582
+ declare const Root_4: React_2.FC<TooltipProps>;
583
+
584
+ declare type RovingFocusGroupProps = Radix.ComponentPropsWithoutRef<typeof RovingFocusGroup.Root>;
585
+
586
+ export declare const SankeyChart: ForwardRefExoticComponent<Omit<SankeyProps, "height" | "width"> & RefAttributes<DownloadRef>>;
587
+
588
+ declare interface SankeyProps {
589
+ /** Height of the chart in pixels */
590
+ height: number;
591
+ /** width of the chart in pixels */
592
+ width: number;
593
+ /** Header text for the tooltip */
594
+ tooltipTitle: string;
595
+ /** Array of nodes. Each node has an id, name and a groupId it belongs to */
596
+ nodes: Node_3[];
597
+ /** Array of Links. Each node has an sourceId, targetId and weight between them */
598
+ links: Link[];
599
+ /** Array of Groups. Contains details about each group */
600
+ groups: Group_3[];
601
+ /** Label describining the weight between two nodes. Appears in tooltip. */
602
+ weightLabel: string;
603
+ }
604
+
605
+ declare const ScrollDownButton: React_2.ForwardRefExoticComponent<SelectScrollDownButtonProps & React_2.RefAttributes<HTMLDivElement>>;
606
+
607
+ declare const ScrollUpButton: React_2.ForwardRefExoticComponent<SelectScrollUpButtonProps & React_2.RefAttributes<HTMLDivElement>>;
608
+
609
+ export declare const Select: FC<SelectPrimitive.SelectProps>;
610
+
611
+ declare const Select_2: React_2.FC<SelectProps>;
612
+
613
+ declare const SelectArrow: React_2.ForwardRefExoticComponent<SelectArrowProps & React_2.RefAttributes<SVGSVGElement>>;
614
+
615
+ declare interface SelectArrowProps extends PopperArrowProps {
616
+ }
617
+
618
+ export declare const SelectContent: ForwardRefExoticComponent<Omit<SelectPrimitive.SelectContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
619
+
620
+ declare const SelectContent_2: React_2.ForwardRefExoticComponent<SelectContentProps & React_2.RefAttributes<HTMLDivElement>>;
621
+
622
+ declare interface SelectContentImplProps extends Omit<SelectPopperPositionProps, keyof SelectPopperPrivateProps>, Omit<SelectItemAlignedPositionProps, keyof SelectPopperPrivateProps> {
623
+ /**
624
+ * Event handler called when auto-focusing on close.
625
+ * Can be prevented.
626
+ */
627
+ onCloseAutoFocus?: FocusScopeProps['onUnmountAutoFocus'];
628
+ /**
629
+ * Event handler called when the escape key is down.
630
+ * Can be prevented.
631
+ */
632
+ onEscapeKeyDown?: DismissableLayerProps['onEscapeKeyDown'];
633
+ /**
634
+ * Event handler called when the a `pointerdown` event happens outside of the `DismissableLayer`.
635
+ * Can be prevented.
636
+ */
637
+ onPointerDownOutside?: DismissableLayerProps['onPointerDownOutside'];
638
+ position?: 'item-aligned' | 'popper';
639
+ }
640
+
641
+ declare interface SelectContentProps extends SelectContentImplProps {
642
+ }
643
+
644
+ export declare const SelectGroup: ForwardRefExoticComponent<SelectPrimitive.SelectGroupProps & RefAttributes<HTMLDivElement>>;
645
+
646
+ declare const SelectGroup_2: React_2.ForwardRefExoticComponent<SelectGroupProps & React_2.RefAttributes<HTMLDivElement>>;
647
+
648
+ declare interface SelectGroupProps extends PrimitiveDivProps {
649
+ }
650
+
651
+ declare const SelectIcon: React_2.ForwardRefExoticComponent<SelectIconProps & React_2.RefAttributes<HTMLSpanElement>>;
652
+
653
+ declare interface SelectIconProps extends PrimitiveSpanProps_2 {
654
+ }
655
+
656
+ export declare const SelectItem: ForwardRefExoticComponent<Omit<SelectPrimitive.SelectItemProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
657
+
658
+ declare const SelectItem_2: React_2.ForwardRefExoticComponent<SelectItemProps & React_2.RefAttributes<HTMLDivElement>>;
659
+
660
+ declare interface SelectItemAlignedPositionProps extends PrimitiveDivProps, SelectPopperPrivateProps {
661
+ }
662
+
663
+ declare const SelectItemIndicator: React_2.ForwardRefExoticComponent<SelectItemIndicatorProps & React_2.RefAttributes<HTMLSpanElement>>;
664
+
665
+ declare interface SelectItemIndicatorProps extends PrimitiveSpanProps_2 {
666
+ }
667
+
668
+ declare interface SelectItemProps extends PrimitiveDivProps {
669
+ value: string;
670
+ disabled?: boolean;
671
+ textValue?: string;
672
+ }
673
+
674
+ declare const SelectItemText: React_2.ForwardRefExoticComponent<SelectItemTextProps & React_2.RefAttributes<HTMLSpanElement>>;
675
+
676
+ declare interface SelectItemTextProps extends PrimitiveSpanProps_2 {
677
+ }
678
+
679
+ export declare const SelectLabel: ForwardRefExoticComponent<Omit<SelectPrimitive.SelectLabelProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
680
+
681
+ declare const SelectLabel_2: React_2.ForwardRefExoticComponent<SelectLabelProps & React_2.RefAttributes<HTMLDivElement>>;
682
+
683
+ declare interface SelectLabelProps extends PrimitiveDivProps {
684
+ }
685
+
686
+ declare interface SelectPopperPositionProps extends PopperContentProps, SelectPopperPrivateProps {
687
+ }
688
+
689
+ declare type SelectPopperPrivateProps = {
690
+ onPlaced?: PopperContentProps['onPlaced'];
691
+ };
692
+
693
+ declare const SelectPortal: React_2.FC<SelectPortalProps>;
694
+
695
+ declare interface SelectPortalProps {
696
+ children?: React_2.ReactNode;
697
+ /**
698
+ * Specify a container element to portal the content into.
699
+ */
700
+ container?: PortalProps['container'];
701
+ }
702
+
703
+ declare namespace SelectPrimitive {
704
+ export {
705
+ Direction_2 as Direction,
706
+ createSelectScope,
707
+ SelectProps,
708
+ Select_2 as Select,
709
+ PrimitiveButtonProps_4 as PrimitiveButtonProps,
710
+ SelectTriggerProps,
711
+ SelectTrigger_2 as SelectTrigger,
712
+ PrimitiveSpanProps_2 as PrimitiveSpanProps,
713
+ SelectValueProps,
714
+ SelectValue_2 as SelectValue,
715
+ SelectIconProps,
716
+ SelectIcon,
717
+ PortalProps,
718
+ SelectPortalProps,
719
+ SelectPortal,
720
+ SelectContentProps,
721
+ SelectContent_2 as SelectContent,
722
+ DismissableLayerProps,
723
+ FocusScopeProps,
724
+ SelectPopperPrivateProps,
725
+ SelectContentImplProps,
726
+ SelectItemAlignedPositionProps,
727
+ PopperContentProps,
728
+ SelectPopperPositionProps,
729
+ PrimitiveDivProps,
730
+ SelectViewportProps,
731
+ SelectViewport,
732
+ SelectGroupProps,
733
+ SelectGroup_2 as SelectGroup,
734
+ SelectLabelProps,
735
+ SelectLabel_2 as SelectLabel,
736
+ SelectItemProps,
737
+ SelectItem_2 as SelectItem,
738
+ SelectItemTextProps,
739
+ SelectItemText,
740
+ SelectItemIndicatorProps,
741
+ SelectItemIndicator,
742
+ SelectScrollUpButtonProps,
743
+ SelectScrollUpButton,
744
+ SelectScrollDownButtonProps,
745
+ SelectScrollDownButton,
746
+ SelectScrollButtonImplProps,
747
+ SelectSeparatorProps,
748
+ SelectSeparator_2 as SelectSeparator,
749
+ PopperArrowProps,
750
+ SelectArrowProps,
751
+ SelectArrow,
752
+ Root_3 as Root,
753
+ Trigger_2 as Trigger,
754
+ Value,
755
+ Icon,
756
+ Portal_3 as Portal,
757
+ Content_2 as Content,
758
+ Viewport,
759
+ Group_2 as Group,
760
+ Label_2 as Label,
761
+ Item_2 as Item,
762
+ ItemText,
763
+ ItemIndicator_2 as ItemIndicator,
764
+ ScrollUpButton,
765
+ ScrollDownButton,
766
+ Separator_2 as Separator,
767
+ Arrow_2 as Arrow
768
+ }
769
+ }
770
+
771
+ declare interface SelectProps {
772
+ children?: React_2.ReactNode;
773
+ value?: string;
774
+ defaultValue?: string;
775
+ onValueChange?(value: string): void;
776
+ open?: boolean;
777
+ defaultOpen?: boolean;
778
+ onOpenChange?(open: boolean): void;
779
+ dir?: Direction_2;
780
+ name?: string;
781
+ autoComplete?: string;
782
+ disabled?: boolean;
783
+ required?: boolean;
784
+ }
785
+
786
+ declare interface SelectScrollButtonImplProps extends PrimitiveDivProps {
787
+ onAutoScroll(): void;
788
+ }
789
+
790
+ declare const SelectScrollDownButton: React_2.ForwardRefExoticComponent<SelectScrollDownButtonProps & React_2.RefAttributes<HTMLDivElement>>;
791
+
792
+ declare interface SelectScrollDownButtonProps extends Omit<SelectScrollButtonImplProps, 'onAutoScroll'> {
793
+ }
794
+
795
+ declare const SelectScrollUpButton: React_2.ForwardRefExoticComponent<SelectScrollUpButtonProps & React_2.RefAttributes<HTMLDivElement>>;
796
+
797
+ declare interface SelectScrollUpButtonProps extends Omit<SelectScrollButtonImplProps, 'onAutoScroll'> {
798
+ }
799
+
800
+ export declare const SelectSeparator: ForwardRefExoticComponent<Omit<SelectPrimitive.SelectSeparatorProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
801
+
802
+ declare const SelectSeparator_2: React_2.ForwardRefExoticComponent<SelectSeparatorProps & React_2.RefAttributes<HTMLDivElement>>;
803
+
804
+ declare interface SelectSeparatorProps extends PrimitiveDivProps {
805
+ }
806
+
807
+ export declare const SelectTrigger: ForwardRefExoticComponent<Omit<SelectPrimitive.SelectTriggerProps & RefAttributes<HTMLButtonElement>, "ref"> & RefAttributes<HTMLButtonElement>>;
808
+
809
+ declare const SelectTrigger_2: React_2.ForwardRefExoticComponent<SelectTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
810
+
811
+ declare interface SelectTriggerProps extends PrimitiveButtonProps_4 {
812
+ }
813
+
814
+ export declare const SelectValue: ForwardRefExoticComponent<SelectPrimitive.SelectValueProps & RefAttributes<HTMLSpanElement>>;
815
+
816
+ declare const SelectValue_2: React_2.ForwardRefExoticComponent<SelectValueProps & React_2.RefAttributes<HTMLSpanElement>>;
817
+
818
+ declare interface SelectValueProps extends Omit<PrimitiveSpanProps_2, 'placeholder'> {
819
+ placeholder?: React_2.ReactNode;
820
+ }
821
+
822
+ declare const SelectViewport: React_2.ForwardRefExoticComponent<SelectViewportProps & React_2.RefAttributes<HTMLDivElement>>;
823
+
824
+ declare interface SelectViewportProps extends PrimitiveDivProps {
825
+ }
826
+
827
+ declare const Separator: React_2.ForwardRefExoticComponent<DropdownMenuSeparatorProps & React_2.RefAttributes<HTMLDivElement>>;
828
+
829
+ declare const Separator_2: React_2.ForwardRefExoticComponent<SelectSeparatorProps & React_2.RefAttributes<HTMLDivElement>>;
830
+
831
+ export declare function SplitButton({ children, size, status, variant, ...props }: SplitButtonProps): JSX_2.Element;
832
+
833
+ export declare const SplitButtonDropdownCheckboxItem: ForwardRefExoticComponent<Omit<DropdownMenuCheckboxItemProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
834
+
835
+ export declare const SplitButtonDropdownContent: ForwardRefExoticComponent<Omit<Omit<DropdownMenuContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
836
+
837
+ export declare const SplitButtonDropdownGroup: ForwardRefExoticComponent<Omit<DropdownMenuGroupProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
838
+
839
+ export declare const SplitButtonDropdownItem: ForwardRefExoticComponent<Omit<DropdownMenuItemProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
840
+
841
+ export declare const SplitButtonDropdownLabel: ForwardRefExoticComponent<Omit<DropdownMenuLabelProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
842
+
843
+ export declare const SplitButtonDropdownRadioGroup: ForwardRefExoticComponent<DropdownMenuRadioGroupProps & RefAttributes<HTMLDivElement>>;
844
+
845
+ export declare const SplitButtonDropdownRadioItem: ForwardRefExoticComponent<Omit<DropdownMenuRadioItemProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
846
+
847
+ declare type SplitButtonProps = ButtonProps;
848
+
849
+ declare const Sub: React_2.FC<DropdownMenuSubProps>;
850
+
851
+ declare const SubContent: React_2.ForwardRefExoticComponent<DropdownMenuSubContentProps & React_2.RefAttributes<HTMLDivElement>>;
852
+
853
+ declare const SubTrigger: React_2.ForwardRefExoticComponent<DropdownMenuSubTriggerProps & React_2.RefAttributes<HTMLDivElement>>;
854
+
855
+ declare const Toggle: React_2.ForwardRefExoticComponent<ToggleProps & React_2.RefAttributes<HTMLButtonElement>>;
856
+
857
+ declare interface ToggleGroupImplMultipleProps extends ToggleGroupImplProps {
858
+ /**
859
+ * The controlled stateful value of the items that are pressed.
860
+ */
861
+ value?: string[];
862
+ /**
863
+ * The value of the items that are pressed when initially rendered. Use
864
+ * `defaultValue` if you do not need to control the state of a toggle group.
865
+ */
866
+ defaultValue?: string[];
867
+ /**
868
+ * The callback that fires when the state of the toggle group changes.
869
+ */
870
+ onValueChange?(value: string[]): void;
871
+ }
872
+
873
+ declare interface ToggleGroupImplProps extends PrimitiveDivProps_2 {
874
+ /**
875
+ * Whether the group is disabled from user interaction.
876
+ * @defaultValue false
877
+ */
878
+ disabled?: boolean;
879
+ /**
880
+ * Whether the group should maintain roving focus of its buttons.
881
+ * @defaultValue true
882
+ */
883
+ rovingFocus?: boolean;
884
+ loop?: RovingFocusGroupProps['loop'];
885
+ orientation?: RovingFocusGroupProps['orientation'];
886
+ dir?: RovingFocusGroupProps['dir'];
887
+ }
888
+
889
+ declare interface ToggleGroupImplSingleProps extends ToggleGroupImplProps {
890
+ /**
891
+ * The controlled stateful value of the item that is pressed.
892
+ */
893
+ value?: string;
894
+ /**
895
+ * The value of the item that is pressed when initially rendered. Use
896
+ * `defaultValue` if you do not need to control the state of a toggle group.
897
+ */
898
+ defaultValue?: string;
899
+ /**
900
+ * The callback that fires when the value of the toggle group changes.
901
+ */
902
+ onValueChange?(value: string): void;
903
+ }
904
+
905
+ declare interface ToggleGroupItemImplProps extends Omit<ToggleProps_2, 'defaultPressed' | 'onPressedChange'> {
906
+ /**
907
+ * A string value for the toggle group item. All items within a toggle group should use a unique value.
908
+ */
909
+ value: string;
910
+ }
911
+
912
+ declare interface ToggleGroupItemProps extends Omit<ToggleGroupItemImplProps, 'pressed'> {
913
+ }
914
+
915
+ declare interface ToggleGroupMultipleProps extends ToggleGroupImplMultipleProps {
916
+ type: 'multiple';
917
+ }
918
+
919
+ declare interface ToggleGroupSingleProps extends ToggleGroupImplSingleProps {
920
+ type: 'single';
921
+ }
922
+
923
+ declare interface ToggleProps extends PrimitiveButtonProps_2 {
924
+ /**
925
+ * The controlled state of the toggle.
926
+ */
927
+ pressed?: boolean;
928
+ /**
929
+ * The state of the toggle when initially rendered. Use `defaultPressed`
930
+ * if you do not need to control the state of the toggle.
931
+ * @defaultValue false
932
+ */
933
+ defaultPressed?: boolean;
934
+ /**
935
+ * The callback that fires when the state of the toggle changes.
936
+ */
937
+ onPressedChange?(pressed: boolean): void;
938
+ }
939
+
940
+ declare type ToggleProps_2 = Radix.ComponentPropsWithoutRef<typeof Toggle>;
941
+
942
+ export declare const Tooltip: FC<TooltipPrimitive.TooltipProps>;
943
+
944
+ declare const Tooltip_2: React_2.FC<TooltipProps>;
945
+
946
+ declare const TooltipArrow: React_2.ForwardRefExoticComponent<TooltipArrowProps & React_2.RefAttributes<SVGSVGElement>>;
947
+
948
+ declare interface TooltipArrowProps extends PopperArrowProps_2 {
949
+ }
950
+
951
+ export declare const TooltipContent: ForwardRefExoticComponent<Omit<TooltipPrimitive.TooltipContentProps & RefAttributes<HTMLDivElement>, "ref"> & RefAttributes<HTMLDivElement>>;
952
+
953
+ declare const TooltipContent_2: React_2.ForwardRefExoticComponent<TooltipContentProps & React_2.RefAttributes<HTMLDivElement>>;
954
+
955
+ declare interface TooltipContentImplProps extends Omit<PopperContentProps_2, 'onPlaced'> {
956
+ /**
957
+ * A more descriptive label for accessibility purpose
958
+ */
959
+ 'aria-label'?: string;
960
+ /**
961
+ * Event handler called when the escape key is down.
962
+ * Can be prevented.
963
+ */
964
+ onEscapeKeyDown?: DismissableLayerProps_2['onEscapeKeyDown'];
965
+ /**
966
+ * Event handler called when the a `pointerdown` event happens outside of the `Tooltip`.
967
+ * Can be prevented.
968
+ */
969
+ onPointerDownOutside?: DismissableLayerProps_2['onPointerDownOutside'];
970
+ }
971
+
972
+ declare interface TooltipContentProps extends TooltipContentImplProps {
973
+ /**
974
+ * Used to force mounting when more control is needed. Useful when
975
+ * controlling animation with React animation libraries.
976
+ */
977
+ forceMount?: true;
978
+ }
979
+
980
+ export declare const TooltipPortal: FC<TooltipPrimitive.TooltipPortalProps>;
981
+
982
+ declare const TooltipPortal_2: React_2.FC<TooltipPortalProps>;
983
+
984
+ declare interface TooltipPortalProps {
985
+ children?: React_2.ReactNode;
986
+ /**
987
+ * Specify a container element to portal the content into.
988
+ */
989
+ container?: PortalProps_2['container'];
990
+ /**
991
+ * Used to force mounting when more control is needed. Useful when
992
+ * controlling animation with React animation libraries.
993
+ */
994
+ forceMount?: true;
995
+ }
996
+
997
+ declare namespace TooltipPrimitive {
998
+ export {
999
+ createTooltipScope,
1000
+ TooltipProviderProps,
1001
+ TooltipProvider_2 as TooltipProvider,
1002
+ TooltipProps,
1003
+ Tooltip_2 as Tooltip,
1004
+ PrimitiveButtonProps_5 as PrimitiveButtonProps,
1005
+ TooltipTriggerProps,
1006
+ TooltipTrigger_2 as TooltipTrigger,
1007
+ PortalProps_2 as PortalProps,
1008
+ TooltipPortalProps,
1009
+ TooltipPortal_2 as TooltipPortal,
1010
+ TooltipContentProps,
1011
+ TooltipContent_2 as TooltipContent,
1012
+ DismissableLayerProps_2 as DismissableLayerProps,
1013
+ PopperContentProps_2 as PopperContentProps,
1014
+ TooltipContentImplProps,
1015
+ PopperArrowProps_2 as PopperArrowProps,
1016
+ TooltipArrowProps,
1017
+ TooltipArrow,
1018
+ Provider,
1019
+ Root_4 as Root,
1020
+ Trigger_3 as Trigger,
1021
+ Portal_4 as Portal,
1022
+ Content_3 as Content,
1023
+ Arrow_3 as Arrow
1024
+ }
1025
+ }
1026
+
1027
+ declare interface TooltipProps {
1028
+ children?: React_2.ReactNode;
1029
+ open?: boolean;
1030
+ defaultOpen?: boolean;
1031
+ onOpenChange?: (open: boolean) => void;
1032
+ /**
1033
+ * The duration from when the pointer enters the trigger until the tooltip gets opened. This will
1034
+ * override the prop with the same name passed to Provider.
1035
+ * @defaultValue 700
1036
+ */
1037
+ delayDuration?: number;
1038
+ /**
1039
+ * When `true`, trying to hover the content will result in the tooltip closing as the pointer leaves the trigger.
1040
+ * @defaultValue false
1041
+ */
1042
+ disableHoverableContent?: boolean;
1043
+ }
1044
+
1045
+ export declare const TooltipProvider: FC<TooltipPrimitive.TooltipProviderProps>;
1046
+
1047
+ declare const TooltipProvider_2: React_2.FC<TooltipProviderProps>;
1048
+
1049
+ declare interface TooltipProviderProps {
1050
+ children: React_2.ReactNode;
1051
+ /**
1052
+ * The duration from when the pointer enters the trigger until the tooltip gets opened.
1053
+ * @defaultValue 700
1054
+ */
1055
+ delayDuration?: number;
1056
+ /**
1057
+ * How much time a user has to enter another trigger without incurring a delay again.
1058
+ * @defaultValue 300
1059
+ */
1060
+ skipDelayDuration?: number;
1061
+ /**
1062
+ * When `true`, trying to hover the content will result in the tooltip closing as the pointer leaves the trigger.
1063
+ * @defaultValue false
1064
+ */
1065
+ disableHoverableContent?: boolean;
1066
+ }
1067
+
1068
+ export declare const TooltipTrigger: ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & RefAttributes<HTMLButtonElement>>;
1069
+
1070
+ declare const TooltipTrigger_2: React_2.ForwardRefExoticComponent<TooltipTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
1071
+
1072
+ declare interface TooltipTriggerProps extends PrimitiveButtonProps_5 {
1073
+ }
1074
+
1075
+ declare const Trigger: React_2.ForwardRefExoticComponent<DropdownMenuTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
1076
+
1077
+ declare const Trigger_2: React_2.ForwardRefExoticComponent<SelectTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
1078
+
1079
+ declare const Trigger_3: React_2.ForwardRefExoticComponent<TooltipTriggerProps & React_2.RefAttributes<HTMLButtonElement>>;
1080
+
1081
+ declare const Value: React_2.ForwardRefExoticComponent<SelectValueProps & React_2.RefAttributes<HTMLSpanElement>>;
1082
+
1083
+ declare type VariantProps<Component extends (...args: any) => any> = Omit<OmitUndefined<Parameters<Component>[0]>, "class" | "className">;
1084
+
1085
+ declare const Viewport: React_2.ForwardRefExoticComponent<SelectViewportProps & React_2.RefAttributes<HTMLDivElement>>;
1086
+
1087
+ export { }