@douglasneuroinformatics/libui 3.8.7 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +7 -9
- package/dist/{chunk-CAWCERN4.js → chunk-655XRTXX.js} +10 -2
- package/dist/{chunk-CAWCERN4.js.map → chunk-655XRTXX.js.map} +1 -1
- package/dist/{chunk-VJSOLDCS.js → chunk-HCQE34RL.js} +1 -1
- package/dist/chunk-HCQE34RL.js.map +1 -0
- package/dist/{chunk-GFIT4FAN.js → chunk-KI6BSSS6.js} +3 -4
- package/dist/chunk-KI6BSSS6.js.map +1 -0
- package/dist/components.d.ts +137 -89
- package/dist/components.js +111 -77
- package/dist/components.js.map +1 -1
- package/dist/hooks.d.ts +1 -1
- package/dist/hooks.js +3 -3
- package/dist/i18n.d.ts +2 -2
- package/dist/i18n.js +1 -1
- package/dist/tailwind/globals.css +181 -39
- package/dist/{types-DTkK8l-q.d.ts → types-CMuti1SJ.d.ts} +14 -6
- package/dist/utils.js +1 -1
- package/package.json +89 -86
- package/src/components/ActionDropdown/ActionDropdown.tsx +1 -1
- package/src/components/ArrowToggle/ArrowToggle.spec.tsx +3 -1
- package/src/components/ArrowToggle/ArrowToggle.tsx +5 -3
- package/src/components/Badge/Badge.tsx +7 -5
- package/src/components/Breadcrumb/BreadcrumbLink.tsx +2 -2
- package/src/components/Breadcrumb/BreadcrumbRoot.tsx +2 -2
- package/src/components/Button/Button.tsx +13 -12
- package/src/components/Card/Card.tsx +3 -3
- package/src/components/Chart/ChartContainer.tsx +3 -3
- package/src/components/Chart/ChartLegendContent.tsx +5 -5
- package/src/components/Chart/ChartTooltipContent.tsx +8 -8
- package/src/components/Checkbox/Checkbox.tsx +1 -1
- package/src/components/ClientTable/ClientTable.spec.tsx +87 -0
- package/src/components/ClientTable/ClientTable.stories.tsx +12 -9
- package/src/components/ClientTable/ClientTable.tsx +5 -4
- package/src/components/ClientTable/ClientTablePagination.tsx +28 -1
- package/src/components/Collapsible/Collapsible.stories.tsx +3 -3
- package/src/components/Command/CommandInput.tsx +1 -1
- package/src/components/Command/CommandItem.tsx +1 -1
- package/src/components/ContextMenu/ContextMenuCheckboxItem.tsx +1 -1
- package/src/components/ContextMenu/ContextMenuItem.tsx +3 -3
- package/src/components/ContextMenu/ContextMenuLabel.tsx +2 -2
- package/src/components/ContextMenu/ContextMenuRadioItem.tsx +1 -1
- package/src/components/ContextMenu/ContextMenuSubTrigger.tsx +3 -3
- package/src/components/CopyButton/CopyButton.tsx +3 -1
- package/src/components/DatePicker/DatePicker.tsx +3 -3
- package/src/components/Dialog/DialogContent.tsx +2 -2
- package/src/components/DropdownButton/DropdownButton.tsx +1 -1
- package/src/components/DropdownMenu/DropdownMenuCheckboxItem.tsx +1 -1
- package/src/components/DropdownMenu/DropdownMenuContent.tsx +2 -2
- package/src/components/DropdownMenu/DropdownMenuItem.tsx +3 -3
- package/src/components/DropdownMenu/DropdownMenuLabel.tsx +2 -2
- package/src/components/DropdownMenu/DropdownMenuRadioItem.tsx +1 -1
- package/src/components/DropdownMenu/DropdownMenuSubTrigger.tsx +3 -3
- package/src/components/FileDropzone/FileDropzone.stories.tsx +4 -6
- package/src/components/FileDropzone/FileDropzone.tsx +2 -1
- package/src/components/Form/BaseRadioField.tsx +2 -2
- package/src/components/Form/BooleanField/BooleanField.spec.tsx +3 -1
- package/src/components/Form/BooleanField/BooleanField.tsx +5 -2
- package/src/components/Form/DateField/DateField.tsx +2 -1
- package/src/components/Form/Form.stories.tsx +15 -16
- package/src/components/Form/Form.tsx +0 -1
- package/src/components/Form/NumberField/NumberField.tsx +7 -3
- package/src/components/Form/NumberField/NumberFieldSelect.tsx +2 -1
- package/src/components/Form/RecordArrayField.tsx +1 -3
- package/src/components/Form/ScalarField.tsx +18 -13
- package/src/components/Form/SetField/SetFieldListbox.tsx +2 -2
- package/src/components/Form/SetField/SetFieldSelect.tsx +2 -2
- package/src/components/Form/StaticField.tsx +2 -1
- package/src/components/Form/StringField/StringField.tsx +9 -4
- package/src/components/Form/StringField/StringFieldPassword.tsx +5 -5
- package/src/components/Form/StringField/StringFieldSelect.tsx +2 -1
- package/src/components/HoverCard/HoverCardContent.tsx +1 -1
- package/src/components/Input/Input.tsx +1 -1
- package/src/components/Label/Label.tsx +2 -1
- package/src/components/LanguageToggle/LanguageToggle.tsx +3 -1
- package/src/components/LineGraph/LineGraph.tsx +8 -4
- package/src/components/ListboxDropdown/ListboxDropdown.stories.tsx +4 -4
- package/src/components/ListboxDropdown/ListboxDropdown.tsx +2 -1
- package/src/components/MenuBar/MenuBarCheckboxItem.tsx +1 -1
- package/src/components/MenuBar/MenuBarItem.tsx +3 -3
- package/src/components/MenuBar/MenuBarLabel.tsx +2 -2
- package/src/components/MenuBar/MenuBarRadioItem.tsx +1 -1
- package/src/components/MenuBar/MenuBarRoot.tsx +1 -1
- package/src/components/MenuBar/MenuBarSubTrigger.tsx +3 -3
- package/src/components/MenuBar/MenuBarTrigger.tsx +1 -1
- package/src/components/NotificationHub/NotificationHub.tsx +3 -3
- package/src/components/NotificationHub/NotificationIcon.tsx +1 -1
- package/src/components/Pagination/PaginationLink.tsx +7 -5
- package/src/components/Pagination/PaginationPrevious.tsx +3 -1
- package/src/components/Popover/PopoverContent.tsx +1 -1
- package/src/components/RadioGroup/RadioGroup.spec.tsx +3 -1
- package/src/components/RadioGroup/RadioGroupItem.tsx +1 -1
- package/src/components/Resizable/Resizable.tsx +9 -5
- package/src/components/Resizable/ResizableHandle.tsx +4 -4
- package/src/components/SearchBar/SearchBar.tsx +7 -5
- package/src/components/Select/SelectItem.tsx +1 -1
- package/src/components/Sheet/SheetContent.tsx +3 -2
- package/src/components/Slider/Slider.tsx +4 -4
- package/src/components/StatisticCard/StatisticCard.tsx +2 -1
- package/src/components/Switch/Switch.tsx +2 -2
- package/src/components/Tabs/TabsContent.tsx +1 -1
- package/src/components/Tabs/TabsTrigger.tsx +1 -1
- package/src/components/TextArea/TextArea.tsx +1 -1
- package/src/components/ThemeToggle/ThemeToggle.tsx +3 -1
- package/src/components/Tooltip/TooltipTrigger.tsx +3 -1
- package/src/hooks/useEventListener/useEventListener.ts +2 -1
- package/src/hooks/useOnClickOutside/useOnClickOutside.ts +1 -1
- package/src/hooks/useStorage/useLocalStorage.ts +3 -1
- package/src/hooks/useStorage/useSessionStorage.ts +3 -1
- package/src/hooks/useTheme/useTheme.test.ts +14 -11
- package/src/i18n/internal.ts +1 -1
- package/src/i18n/store.ts +1 -1
- package/src/i18n/translations/libui.json +8 -0
- package/src/i18n/types.ts +6 -6
- package/src/tailwind/globals.css +181 -39
- package/src/utils/index.ts +2 -1
- package/dist/chunk-GFIT4FAN.js.map +0 -1
- package/dist/chunk-VJSOLDCS.js.map +0 -1
- package/dist/douglasneuroinformatics-libui-3.8.7.tgz +0 -0
- package/dist/tailwind/config.cjs +0 -178
- package/dist/tailwind/config.cjs.map +0 -1
- package/dist/tailwind/config.d.cts +0 -16
- package/src/tailwind/config.cts +0 -174
- package/tailwind.config.cjs +0 -3
package/dist/components.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React$1 from 'react';
|
|
2
|
-
import React__default, { HTMLProps } from 'react';
|
|
2
|
+
import React__default, { HTMLProps, ReactElement } from 'react';
|
|
3
3
|
import * as _radix_ui_react_accordion from '@radix-ui/react-accordion';
|
|
4
4
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
5
5
|
import * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu';
|
|
@@ -25,7 +25,7 @@ import { FormDataType, FormContent, PartialNullableFormDataType } from '@douglas
|
|
|
25
25
|
import { z } from 'zod';
|
|
26
26
|
import * as _radix_ui_react_hover_card from '@radix-ui/react-hover-card';
|
|
27
27
|
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
28
|
-
import { L as Language } from './types-
|
|
28
|
+
import { L as Language } from './types-CMuti1SJ.js';
|
|
29
29
|
import * as _radix_ui_react_menubar from '@radix-ui/react-menubar';
|
|
30
30
|
import { MenubarMenuProps } from '@radix-ui/react-menubar';
|
|
31
31
|
import * as _radix_ui_react_popover from '@radix-ui/react-popover';
|
|
@@ -45,13 +45,13 @@ declare const Accordion: React$1.ForwardRefExoticComponent<(Omit<_radix_ui_react
|
|
|
45
45
|
Trigger: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_accordion.AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
46
46
|
};
|
|
47
47
|
|
|
48
|
-
type DropdownMenuContentProps = {
|
|
48
|
+
type DropdownMenuContentProps = React$1.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content> & {
|
|
49
49
|
widthFull?: boolean;
|
|
50
|
-
}
|
|
50
|
+
};
|
|
51
51
|
|
|
52
|
-
type ActionDropdownOptions = {
|
|
52
|
+
type ActionDropdownOptions = readonly string[] | {
|
|
53
53
|
[key: string]: string;
|
|
54
|
-
}
|
|
54
|
+
};
|
|
55
55
|
type ActionDropdownOptionKey<T> = T extends readonly string[] ? T[number] : T extends {
|
|
56
56
|
[key: string]: string;
|
|
57
57
|
} ? Extract<keyof T, string> : never;
|
|
@@ -77,8 +77,8 @@ declare const AlertDialog: React$1.FC<_radix_ui_react_alert_dialog.AlertDialogPr
|
|
|
77
77
|
Cancel: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_alert_dialog.AlertDialogCancelProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
78
78
|
Content: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_alert_dialog.AlertDialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
79
79
|
Description: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_alert_dialog.AlertDialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
80
|
-
Footer: ({ className, ...props }: React
|
|
81
|
-
Header: ({ className, ...props }: React
|
|
80
|
+
Footer: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
81
|
+
Header: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
82
82
|
Overlay: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_alert_dialog.AlertDialogOverlayProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
83
83
|
Title: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_alert_dialog.AlertDialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
84
84
|
Trigger: React$1.ForwardRefExoticComponent<_radix_ui_react_alert_dialog.AlertDialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -93,17 +93,15 @@ declare const buttonVariants: (props?: ({
|
|
|
93
93
|
size?: "md" | "icon" | "lg" | "sm" | null | undefined;
|
|
94
94
|
variant?: "link" | "primary" | "danger" | "ghost" | "outline" | "secondary" | null | undefined;
|
|
95
95
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
96
|
-
type ButtonProps = Simplify<{
|
|
96
|
+
type ButtonProps = Simplify<React$1.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<typeof buttonVariants> & {
|
|
97
97
|
asChild?: boolean;
|
|
98
98
|
/** @deprecated - use children */
|
|
99
99
|
label?: string;
|
|
100
|
-
}
|
|
100
|
+
}>;
|
|
101
101
|
declare const Button: React$1.ForwardRefExoticComponent<{
|
|
102
|
-
asChild?: boolean | undefined;
|
|
103
|
-
label?: string | undefined;
|
|
104
102
|
disabled?: boolean | undefined;
|
|
105
103
|
form?: string | undefined;
|
|
106
|
-
formAction?: string | React$1.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof React$1.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
|
|
104
|
+
formAction?: string | ((formData: FormData) => void | Promise<void>) | React$1.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS[keyof React$1.DO_NOT_USE_OR_YOU_WILL_BE_FIRED_EXPERIMENTAL_FORM_ACTIONS] | undefined;
|
|
107
105
|
formEncType?: string | undefined;
|
|
108
106
|
formMethod?: string | undefined;
|
|
109
107
|
formNoValidate?: boolean | undefined;
|
|
@@ -158,8 +156,14 @@ declare const Button: React$1.ForwardRefExoticComponent<{
|
|
|
158
156
|
results?: number | undefined;
|
|
159
157
|
security?: string | undefined;
|
|
160
158
|
unselectable?: "on" | "off" | undefined;
|
|
159
|
+
popover?: "" | "auto" | "manual" | undefined;
|
|
160
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
161
|
+
popoverTarget?: string | undefined;
|
|
162
|
+
inert?: boolean | undefined;
|
|
161
163
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
162
164
|
is?: string | undefined;
|
|
165
|
+
exportparts?: string | undefined;
|
|
166
|
+
part?: string | undefined;
|
|
163
167
|
"aria-activedescendant"?: string | undefined;
|
|
164
168
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
165
169
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
@@ -367,6 +371,8 @@ declare const Button: React$1.ForwardRefExoticComponent<{
|
|
|
367
371
|
onLostPointerCaptureCapture?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
368
372
|
onScroll?: React$1.UIEventHandler<HTMLButtonElement> | undefined;
|
|
369
373
|
onScrollCapture?: React$1.UIEventHandler<HTMLButtonElement> | undefined;
|
|
374
|
+
onScrollEnd?: React$1.UIEventHandler<HTMLButtonElement> | undefined;
|
|
375
|
+
onScrollEndCapture?: React$1.UIEventHandler<HTMLButtonElement> | undefined;
|
|
370
376
|
onWheel?: React$1.WheelEventHandler<HTMLButtonElement> | undefined;
|
|
371
377
|
onWheelCapture?: React$1.WheelEventHandler<HTMLButtonElement> | undefined;
|
|
372
378
|
onAnimationStart?: React$1.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
@@ -375,13 +381,23 @@ declare const Button: React$1.ForwardRefExoticComponent<{
|
|
|
375
381
|
onAnimationEndCapture?: React$1.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
376
382
|
onAnimationIteration?: React$1.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
377
383
|
onAnimationIterationCapture?: React$1.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
384
|
+
onToggle?: React$1.ToggleEventHandler<HTMLButtonElement> | undefined;
|
|
385
|
+
onBeforeToggle?: React$1.ToggleEventHandler<HTMLButtonElement> | undefined;
|
|
386
|
+
onTransitionCancel?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
387
|
+
onTransitionCancelCapture?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
378
388
|
onTransitionEnd?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
379
389
|
onTransitionEndCapture?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
390
|
+
onTransitionRun?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
391
|
+
onTransitionRunCapture?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
392
|
+
onTransitionStart?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
393
|
+
onTransitionStartCapture?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
380
394
|
size?: "md" | "icon" | "lg" | "sm" | null | undefined;
|
|
381
395
|
variant?: "link" | "primary" | "danger" | "ghost" | "outline" | "secondary" | null | undefined;
|
|
396
|
+
asChild?: boolean | undefined;
|
|
397
|
+
label?: string | undefined;
|
|
382
398
|
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
383
399
|
|
|
384
|
-
type ArrowToggleProps = Simplify<{
|
|
400
|
+
type ArrowToggleProps = Simplify<React$1.HTMLAttributes<HTMLButtonElement> & {
|
|
385
401
|
/** Whether or not the arrow is currently toggled */
|
|
386
402
|
isToggled?: boolean;
|
|
387
403
|
/** The starting position of the arrow (i.e., which direction does it point to) */
|
|
@@ -391,13 +407,8 @@ type ArrowToggleProps = Simplify<{
|
|
|
391
407
|
size?: ButtonProps['size'];
|
|
392
408
|
/** The variant of button to use */
|
|
393
409
|
variant?: Extract<ButtonProps['variant'], 'ghost' | 'outline'>;
|
|
394
|
-
}
|
|
410
|
+
}>;
|
|
395
411
|
declare const ArrowToggle: React$1.ForwardRefExoticComponent<{
|
|
396
|
-
isToggled?: boolean | undefined;
|
|
397
|
-
position: "down" | "left" | "right" | "up";
|
|
398
|
-
rotation?: number | undefined;
|
|
399
|
-
size?: ButtonProps["size"];
|
|
400
|
-
variant?: Extract<ButtonProps["variant"], "ghost" | "outline"> | undefined;
|
|
401
412
|
defaultChecked?: boolean | undefined;
|
|
402
413
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
403
414
|
suppressContentEditableWarning?: boolean | undefined;
|
|
@@ -445,8 +456,14 @@ declare const ArrowToggle: React$1.ForwardRefExoticComponent<{
|
|
|
445
456
|
results?: number | undefined;
|
|
446
457
|
security?: string | undefined;
|
|
447
458
|
unselectable?: "on" | "off" | undefined;
|
|
459
|
+
popover?: "" | "auto" | "manual" | undefined;
|
|
460
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
461
|
+
popoverTarget?: string | undefined;
|
|
462
|
+
inert?: boolean | undefined;
|
|
448
463
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
449
464
|
is?: string | undefined;
|
|
465
|
+
exportparts?: string | undefined;
|
|
466
|
+
part?: string | undefined;
|
|
450
467
|
"aria-activedescendant"?: string | undefined;
|
|
451
468
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
452
469
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
@@ -654,6 +671,8 @@ declare const ArrowToggle: React$1.ForwardRefExoticComponent<{
|
|
|
654
671
|
onLostPointerCaptureCapture?: React$1.PointerEventHandler<HTMLButtonElement> | undefined;
|
|
655
672
|
onScroll?: React$1.UIEventHandler<HTMLButtonElement> | undefined;
|
|
656
673
|
onScrollCapture?: React$1.UIEventHandler<HTMLButtonElement> | undefined;
|
|
674
|
+
onScrollEnd?: React$1.UIEventHandler<HTMLButtonElement> | undefined;
|
|
675
|
+
onScrollEndCapture?: React$1.UIEventHandler<HTMLButtonElement> | undefined;
|
|
657
676
|
onWheel?: React$1.WheelEventHandler<HTMLButtonElement> | undefined;
|
|
658
677
|
onWheelCapture?: React$1.WheelEventHandler<HTMLButtonElement> | undefined;
|
|
659
678
|
onAnimationStart?: React$1.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
@@ -662,8 +681,21 @@ declare const ArrowToggle: React$1.ForwardRefExoticComponent<{
|
|
|
662
681
|
onAnimationEndCapture?: React$1.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
663
682
|
onAnimationIteration?: React$1.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
664
683
|
onAnimationIterationCapture?: React$1.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
684
|
+
onToggle?: React$1.ToggleEventHandler<HTMLButtonElement> | undefined;
|
|
685
|
+
onBeforeToggle?: React$1.ToggleEventHandler<HTMLButtonElement> | undefined;
|
|
686
|
+
onTransitionCancel?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
687
|
+
onTransitionCancelCapture?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
665
688
|
onTransitionEnd?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
666
689
|
onTransitionEndCapture?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
690
|
+
onTransitionRun?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
691
|
+
onTransitionRunCapture?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
692
|
+
onTransitionStart?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
693
|
+
onTransitionStartCapture?: React$1.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
694
|
+
isToggled?: boolean | undefined;
|
|
695
|
+
position: "down" | "left" | "right" | "up";
|
|
696
|
+
rotation?: number | undefined;
|
|
697
|
+
size?: ButtonProps["size"];
|
|
698
|
+
variant?: Extract<ButtonProps["variant"], "ghost" | "outline"> | undefined;
|
|
667
699
|
} & React$1.RefAttributes<HTMLButtonElement>>;
|
|
668
700
|
|
|
669
701
|
declare const Avatar: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_avatar.AvatarProps & React$1.RefAttributes<HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>> & {
|
|
@@ -672,22 +704,22 @@ declare const Avatar: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_ava
|
|
|
672
704
|
};
|
|
673
705
|
|
|
674
706
|
declare const badgeVariants: (props?: ({
|
|
675
|
-
variant?: "
|
|
707
|
+
variant?: "outline" | "secondary" | "default" | "destructive" | null | undefined;
|
|
676
708
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
677
709
|
type BadgeProps = React$1.HTMLAttributes<HTMLDivElement> & VariantProps<typeof badgeVariants>;
|
|
678
710
|
declare const Badge: ({ className, variant, ...props }: BadgeProps) => react_jsx_runtime.JSX.Element;
|
|
679
711
|
|
|
680
|
-
declare const Breadcrumb: React$1.ForwardRefExoticComponent<{
|
|
712
|
+
declare const Breadcrumb: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLElement>, HTMLElement>, "ref"> & {
|
|
681
713
|
separator?: React.ReactNode;
|
|
682
|
-
} &
|
|
683
|
-
Ellipsis: ({ className, ...props }: React
|
|
714
|
+
} & React$1.RefAttributes<HTMLElement>> & {
|
|
715
|
+
Ellipsis: ({ className, ...props }: React.ComponentProps<"span">) => react_jsx_runtime.JSX.Element;
|
|
684
716
|
Item: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & React$1.RefAttributes<HTMLLIElement>>;
|
|
685
|
-
Link: React$1.ForwardRefExoticComponent<{
|
|
717
|
+
Link: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref"> & {
|
|
686
718
|
asChild?: boolean;
|
|
687
|
-
} &
|
|
719
|
+
} & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
688
720
|
List: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>, "ref"> & React$1.RefAttributes<HTMLOListElement>>;
|
|
689
721
|
Page: React$1.ForwardRefExoticComponent<Omit<React$1.DetailedHTMLProps<React$1.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React$1.RefAttributes<HTMLSpanElement>>;
|
|
690
|
-
Separator: ({ children, className, ...props }: React
|
|
722
|
+
Separator: ({ children, className, ...props }: React.ComponentProps<"li">) => react_jsx_runtime.JSX.Element;
|
|
691
723
|
};
|
|
692
724
|
|
|
693
725
|
declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTMLDivElement> & React$1.RefAttributes<HTMLDivElement>> & {
|
|
@@ -698,27 +730,21 @@ declare const Card: React$1.ForwardRefExoticComponent<React$1.HTMLAttributes<HTM
|
|
|
698
730
|
Title: ({ children, className, ...props }: React$1.HTMLAttributes<HTMLHeadingElement>) => react_jsx_runtime.JSX.Element;
|
|
699
731
|
};
|
|
700
732
|
|
|
701
|
-
declare const Chart: React$1.ForwardRefExoticComponent<Omit<{
|
|
733
|
+
declare const Chart: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
702
734
|
children: React.ComponentProps<typeof recharts.ResponsiveContainer>["children"];
|
|
703
735
|
config: ChartConfig;
|
|
704
|
-
}
|
|
736
|
+
}, "ref"> & React$1.RefAttributes<HTMLDivElement>> & {
|
|
705
737
|
Legend: typeof Legend;
|
|
706
|
-
LegendContent: React$1.ForwardRefExoticComponent<Omit<{
|
|
738
|
+
LegendContent: React$1.ForwardRefExoticComponent<Omit<Pick<recharts.LegendProps, "verticalAlign" | "payload"> & React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & {
|
|
707
739
|
hideIcon?: boolean;
|
|
708
740
|
nameKey?: string;
|
|
709
|
-
}
|
|
741
|
+
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
710
742
|
Style: ({ config, id }: {
|
|
711
743
|
config: ChartConfig;
|
|
712
744
|
id: string;
|
|
713
745
|
}) => react_jsx_runtime.JSX.Element | null;
|
|
714
746
|
Tooltip: typeof Tooltip$1;
|
|
715
|
-
TooltipContent: React$1.ForwardRefExoticComponent<Omit<{
|
|
716
|
-
hideIndicator?: boolean;
|
|
717
|
-
hideLabel?: boolean;
|
|
718
|
-
indicator?: "dashed" | "dot" | "line";
|
|
719
|
-
labelKey?: string;
|
|
720
|
-
nameKey?: string;
|
|
721
|
-
} & React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & recharts.DefaultTooltipContentProps<recharts_types_component_DefaultTooltipContent.ValueType, recharts_types_component_DefaultTooltipContent.NameType> & {
|
|
747
|
+
TooltipContent: React$1.ForwardRefExoticComponent<Omit<React$1.ClassAttributes<HTMLDivElement> & React$1.HTMLAttributes<HTMLDivElement> & recharts.DefaultTooltipContentProps<recharts_types_component_DefaultTooltipContent.ValueType, recharts_types_component_DefaultTooltipContent.NameType> & {
|
|
722
748
|
accessibilityLayer?: boolean;
|
|
723
749
|
active?: boolean | undefined;
|
|
724
750
|
includeHidden?: boolean | undefined;
|
|
@@ -740,6 +766,12 @@ declare const Chart: React$1.ForwardRefExoticComponent<Omit<{
|
|
|
740
766
|
useTranslate3d?: boolean;
|
|
741
767
|
viewBox?: recharts_types_util_types.CartesianViewBox;
|
|
742
768
|
wrapperStyle?: React$1.CSSProperties;
|
|
769
|
+
} & {
|
|
770
|
+
hideIndicator?: boolean;
|
|
771
|
+
hideLabel?: boolean;
|
|
772
|
+
indicator?: "dashed" | "dot" | "line";
|
|
773
|
+
labelKey?: string;
|
|
774
|
+
nameKey?: string;
|
|
743
775
|
}, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
744
776
|
};
|
|
745
777
|
|
|
@@ -785,11 +817,11 @@ declare const Collapsible: React$1.ForwardRefExoticComponent<Omit<_radix_ui_reac
|
|
|
785
817
|
};
|
|
786
818
|
|
|
787
819
|
declare const Command: React$1.ForwardRefExoticComponent<{
|
|
820
|
+
filter?: ((value: string, search: string, keywords?: string[]) => number) | undefined;
|
|
788
821
|
label?: string | undefined;
|
|
789
822
|
slot?: string | undefined;
|
|
790
823
|
style?: React$1.CSSProperties | undefined;
|
|
791
824
|
title?: string | undefined;
|
|
792
|
-
filter?: ((value: string, search: string, keywords?: string[]) => number) | undefined;
|
|
793
825
|
key?: React$1.Key | null | undefined;
|
|
794
826
|
defaultChecked?: boolean | undefined;
|
|
795
827
|
defaultValue?: string | (readonly string[] & string) | undefined;
|
|
@@ -835,8 +867,14 @@ declare const Command: React$1.ForwardRefExoticComponent<{
|
|
|
835
867
|
results?: number | undefined;
|
|
836
868
|
security?: string | undefined;
|
|
837
869
|
unselectable?: "on" | "off" | undefined;
|
|
870
|
+
popover?: "" | "auto" | "manual" | undefined;
|
|
871
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined;
|
|
872
|
+
popoverTarget?: string | undefined;
|
|
873
|
+
inert?: boolean | undefined;
|
|
838
874
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
839
875
|
is?: string | undefined;
|
|
876
|
+
exportparts?: string | undefined;
|
|
877
|
+
part?: string | undefined;
|
|
840
878
|
"aria-activedescendant"?: string | undefined;
|
|
841
879
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
842
880
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
@@ -1044,6 +1082,8 @@ declare const Command: React$1.ForwardRefExoticComponent<{
|
|
|
1044
1082
|
onLostPointerCaptureCapture?: React$1.PointerEventHandler<HTMLDivElement> | undefined;
|
|
1045
1083
|
onScroll?: React$1.UIEventHandler<HTMLDivElement> | undefined;
|
|
1046
1084
|
onScrollCapture?: React$1.UIEventHandler<HTMLDivElement> | undefined;
|
|
1085
|
+
onScrollEnd?: React$1.UIEventHandler<HTMLDivElement> | undefined;
|
|
1086
|
+
onScrollEndCapture?: React$1.UIEventHandler<HTMLDivElement> | undefined;
|
|
1047
1087
|
onWheel?: React$1.WheelEventHandler<HTMLDivElement> | undefined;
|
|
1048
1088
|
onWheelCapture?: React$1.WheelEventHandler<HTMLDivElement> | undefined;
|
|
1049
1089
|
onAnimationStart?: React$1.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
@@ -1052,12 +1092,20 @@ declare const Command: React$1.ForwardRefExoticComponent<{
|
|
|
1052
1092
|
onAnimationEndCapture?: React$1.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
1053
1093
|
onAnimationIteration?: React$1.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
1054
1094
|
onAnimationIterationCapture?: React$1.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
1095
|
+
onToggle?: React$1.ToggleEventHandler<HTMLDivElement> | undefined;
|
|
1096
|
+
onBeforeToggle?: React$1.ToggleEventHandler<HTMLDivElement> | undefined;
|
|
1097
|
+
onTransitionCancel?: React$1.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
1098
|
+
onTransitionCancelCapture?: React$1.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
1055
1099
|
onTransitionEnd?: React$1.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
1056
1100
|
onTransitionEndCapture?: React$1.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
1101
|
+
onTransitionRun?: React$1.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
1102
|
+
onTransitionRunCapture?: React$1.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
1103
|
+
onTransitionStart?: React$1.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
1104
|
+
onTransitionStartCapture?: React$1.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
1057
1105
|
asChild?: boolean | undefined;
|
|
1058
1106
|
value?: string | undefined;
|
|
1059
|
-
loop?: boolean | undefined;
|
|
1060
1107
|
onValueChange?: ((value: string) => void) | undefined;
|
|
1108
|
+
loop?: boolean | undefined;
|
|
1061
1109
|
shouldFilter?: boolean | undefined;
|
|
1062
1110
|
disablePointerSelection?: boolean | undefined;
|
|
1063
1111
|
vimBindings?: boolean | undefined;
|
|
@@ -1075,7 +1123,7 @@ declare const Command: React$1.ForwardRefExoticComponent<{
|
|
|
1075
1123
|
ref?: React$1.Ref<HTMLDivElement>;
|
|
1076
1124
|
} & {
|
|
1077
1125
|
asChild?: boolean;
|
|
1078
|
-
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild">, "
|
|
1126
|
+
}, "key" | keyof React$1.HTMLAttributes<HTMLDivElement> | "asChild">, "heading" | "value"> & {
|
|
1079
1127
|
heading?: React$1.ReactNode;
|
|
1080
1128
|
value?: string;
|
|
1081
1129
|
forceMount?: boolean;
|
|
@@ -1084,7 +1132,7 @@ declare const Command: React$1.ForwardRefExoticComponent<{
|
|
|
1084
1132
|
ref?: React$1.Ref<HTMLInputElement>;
|
|
1085
1133
|
} & {
|
|
1086
1134
|
asChild?: boolean;
|
|
1087
|
-
}, "key" | "asChild" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "
|
|
1135
|
+
}, "key" | "asChild" | keyof React$1.InputHTMLAttributes<HTMLInputElement>>, "onChange" | "value" | "type"> & {
|
|
1088
1136
|
value?: string;
|
|
1089
1137
|
onValueChange?: (search: string) => void;
|
|
1090
1138
|
} & React$1.RefAttributes<HTMLInputElement>, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
@@ -1124,22 +1172,22 @@ declare const ContextMenu: React$1.FC<_radix_ui_react_context_menu.ContextMenuPr
|
|
|
1124
1172
|
CheckboxItem: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_context_menu.ContextMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1125
1173
|
Content: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_context_menu.ContextMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1126
1174
|
Group: React$1.ForwardRefExoticComponent<_radix_ui_react_context_menu.ContextMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1127
|
-
Item: React$1.ForwardRefExoticComponent<{
|
|
1175
|
+
Item: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_context_menu.ContextMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1128
1176
|
inset?: boolean;
|
|
1129
|
-
} &
|
|
1130
|
-
Label: React$1.ForwardRefExoticComponent<{
|
|
1177
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1178
|
+
Label: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_context_menu.ContextMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1131
1179
|
inset?: boolean;
|
|
1132
|
-
} &
|
|
1180
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1133
1181
|
Portal: React$1.FC<_radix_ui_react_context_menu.ContextMenuPortalProps>;
|
|
1134
1182
|
RadioGroup: React$1.ForwardRefExoticComponent<_radix_ui_react_context_menu.ContextMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1135
1183
|
RadioItem: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_context_menu.ContextMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1136
1184
|
Separator: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_context_menu.ContextMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1137
|
-
Shortcut: ({ className, ...props }: React
|
|
1185
|
+
Shortcut: ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>) => react_jsx_runtime.JSX.Element;
|
|
1138
1186
|
Sub: React$1.FC<_radix_ui_react_context_menu.ContextMenuSubProps>;
|
|
1139
1187
|
SubContent: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_context_menu.ContextMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1140
|
-
SubTrigger: React$1.ForwardRefExoticComponent<{
|
|
1188
|
+
SubTrigger: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_context_menu.ContextMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1141
1189
|
inset?: boolean;
|
|
1142
|
-
} &
|
|
1190
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1143
1191
|
Trigger: React$1.ForwardRefExoticComponent<_radix_ui_react_context_menu.ContextMenuTriggerProps & React$1.RefAttributes<HTMLSpanElement>>;
|
|
1144
1192
|
};
|
|
1145
1193
|
|
|
@@ -1157,11 +1205,11 @@ type DatePickerProps = {
|
|
|
1157
1205
|
declare const DatePicker: React$1.ForwardRefExoticComponent<DatePickerProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1158
1206
|
|
|
1159
1207
|
declare const Dialog: React$1.FC<_radix_ui_react_dialog.DialogProps> & {
|
|
1160
|
-
Body: ({ children, className, ...props }: React
|
|
1208
|
+
Body: ({ children, className, ...props }: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
1161
1209
|
Content: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_dialog.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1162
1210
|
Description: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_dialog.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
1163
|
-
Footer: ({ className, ...props }: React
|
|
1164
|
-
Header: ({ className, ...props }: React
|
|
1211
|
+
Footer: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
1212
|
+
Header: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
1165
1213
|
Title: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_dialog.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
1166
1214
|
Trigger: React$1.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1167
1215
|
};
|
|
@@ -1180,26 +1228,26 @@ declare const DropdownButton: React$1.ForwardRefExoticComponent<React$1.ButtonHT
|
|
|
1180
1228
|
|
|
1181
1229
|
declare const DropdownMenu: React$1.FC<DropdownMenuPrimitive.DropdownMenuProps> & {
|
|
1182
1230
|
CheckboxItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1183
|
-
Content: React$1.ForwardRefExoticComponent<{
|
|
1231
|
+
Content: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1184
1232
|
widthFull?: boolean;
|
|
1185
|
-
} &
|
|
1233
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1186
1234
|
Group: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1187
|
-
Item: React$1.ForwardRefExoticComponent<{
|
|
1235
|
+
Item: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1188
1236
|
inset?: boolean;
|
|
1189
|
-
} &
|
|
1190
|
-
Label: React$1.ForwardRefExoticComponent<{
|
|
1237
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1238
|
+
Label: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1191
1239
|
inset?: boolean;
|
|
1192
|
-
} &
|
|
1240
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1193
1241
|
Portal: React$1.FC<DropdownMenuPrimitive.DropdownMenuPortalProps>;
|
|
1194
1242
|
RadioGroup: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1195
1243
|
RadioItem: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1196
1244
|
Separator: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1197
|
-
Shortcut: ({ className, ...props }: React
|
|
1245
|
+
Shortcut: ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>) => react_jsx_runtime.JSX.Element;
|
|
1198
1246
|
Sub: React$1.FC<DropdownMenuPrimitive.DropdownMenuSubProps>;
|
|
1199
1247
|
SubContent: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1200
|
-
SubTrigger: React$1.ForwardRefExoticComponent<{
|
|
1248
|
+
SubTrigger: React$1.ForwardRefExoticComponent<Omit<DropdownMenuPrimitive.DropdownMenuSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1201
1249
|
inset?: boolean;
|
|
1202
|
-
} &
|
|
1250
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1203
1251
|
Trigger: React$1.ForwardRefExoticComponent<DropdownMenuPrimitive.DropdownMenuTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1204
1252
|
};
|
|
1205
1253
|
|
|
@@ -1290,11 +1338,11 @@ type LineGraphData = readonly {
|
|
|
1290
1338
|
type ExtractValidKeys<T extends LineGraphData, K> = Extract<ConditionalKeys<T[number], K>, string>;
|
|
1291
1339
|
type LineGraphLine<T extends LineGraphData = {
|
|
1292
1340
|
[key: string]: any;
|
|
1293
|
-
}[]> = {
|
|
1341
|
+
}[]> = Pick<LineProps, 'legendType' | 'stroke' | 'strokeDasharray' | 'strokeWidth' | 'type'> & {
|
|
1294
1342
|
err?: ExtractValidKeys<T, number>;
|
|
1295
1343
|
name: string;
|
|
1296
1344
|
val: ExtractValidKeys<T, number>;
|
|
1297
|
-
}
|
|
1345
|
+
};
|
|
1298
1346
|
declare function LineGraphComponent<const T extends LineGraphData>({ data, lines, xAxis }: {
|
|
1299
1347
|
/** An array of objects, where each object represents one point on the x-axis */
|
|
1300
1348
|
data: T;
|
|
@@ -1329,23 +1377,23 @@ declare const MenuBar: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_me
|
|
|
1329
1377
|
CheckboxItem: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_menubar.MenubarCheckboxItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1330
1378
|
Content: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_menubar.MenubarContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1331
1379
|
Group: React$1.ForwardRefExoticComponent<_radix_ui_react_menubar.MenubarGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1332
|
-
Item: React$1.ForwardRefExoticComponent<{
|
|
1380
|
+
Item: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_menubar.MenubarItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1333
1381
|
inset?: boolean;
|
|
1334
|
-
} &
|
|
1335
|
-
Label: React$1.ForwardRefExoticComponent<{
|
|
1382
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1383
|
+
Label: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_menubar.MenubarLabelProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1336
1384
|
inset?: boolean;
|
|
1337
|
-
} &
|
|
1385
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1338
1386
|
Menu: React.ComponentType<MenubarMenuProps>;
|
|
1339
1387
|
Portal: React$1.FC<_radix_ui_react_menubar.MenubarPortalProps>;
|
|
1340
1388
|
RadioGroup: React$1.ForwardRefExoticComponent<_radix_ui_react_menubar.MenubarRadioGroupProps & React$1.RefAttributes<HTMLDivElement>>;
|
|
1341
1389
|
RadioItem: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_menubar.MenubarRadioItemProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1342
1390
|
Separator: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_menubar.MenubarSeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1343
|
-
Shortcut: ({ className, ...props }: React
|
|
1391
|
+
Shortcut: ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>) => react_jsx_runtime.JSX.Element;
|
|
1344
1392
|
Sub: React$1.FC<_radix_ui_react_menubar.MenubarSubProps>;
|
|
1345
1393
|
SubContent: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_menubar.MenubarSubContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1346
|
-
SubTrigger: React$1.ForwardRefExoticComponent<{
|
|
1394
|
+
SubTrigger: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_menubar.MenubarSubTriggerProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
|
|
1347
1395
|
inset?: boolean;
|
|
1348
|
-
} &
|
|
1396
|
+
} & React$1.RefAttributes<HTMLDivElement>>;
|
|
1349
1397
|
Trigger: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_menubar.MenubarTriggerProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1350
1398
|
};
|
|
1351
1399
|
|
|
@@ -1355,17 +1403,17 @@ type NotificationHubProps = {
|
|
|
1355
1403
|
};
|
|
1356
1404
|
declare const NotificationHub: ({ timeout }: NotificationHubProps) => react_jsx_runtime.JSX.Element;
|
|
1357
1405
|
|
|
1358
|
-
type PaginationLinkProps = Simplify<{
|
|
1406
|
+
type PaginationLinkProps = Simplify<Pick<ButtonProps, 'size'> & React$1.ComponentProps<'a'> & {
|
|
1359
1407
|
isActive?: boolean;
|
|
1360
|
-
}
|
|
1408
|
+
}>;
|
|
1361
1409
|
declare const PaginationLink: ({ children, className, isActive, size, ...props }: PaginationLinkProps) => react_jsx_runtime.JSX.Element;
|
|
1362
1410
|
|
|
1363
|
-
declare const Pagination: (({ className, ...props }: React
|
|
1364
|
-
Content: ({ className, ...props }: React
|
|
1365
|
-
Ellipsis: ({ className, ...props }: React
|
|
1366
|
-
Item: ({ className, ...props }: React
|
|
1411
|
+
declare const Pagination: (({ className, ...props }: React.ComponentProps<"nav">) => react_jsx_runtime.JSX.Element) & {
|
|
1412
|
+
Content: ({ className, ...props }: React.ComponentProps<"ul">) => react_jsx_runtime.JSX.Element;
|
|
1413
|
+
Ellipsis: ({ className, ...props }: React.ComponentProps<"span">) => react_jsx_runtime.JSX.Element;
|
|
1414
|
+
Item: ({ className, ...props }: React.ComponentProps<"li">) => react_jsx_runtime.JSX.Element;
|
|
1367
1415
|
Link: ({ children, className, isActive, size, ...props }: PaginationLinkProps) => react_jsx_runtime.JSX.Element;
|
|
1368
|
-
Next: ({ className, ...props }: React
|
|
1416
|
+
Next: ({ className, ...props }: React.ComponentProps<typeof PaginationLink>) => react_jsx_runtime.JSX.Element;
|
|
1369
1417
|
Previous: ({ className, ...props }: PaginationLinkProps) => react_jsx_runtime.JSX.Element;
|
|
1370
1418
|
};
|
|
1371
1419
|
|
|
@@ -1398,20 +1446,20 @@ declare const RadioGroup: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimi
|
|
|
1398
1446
|
Item: React$1.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React$1.RefAttributes<HTMLButtonElement>, "ref"> & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1399
1447
|
};
|
|
1400
1448
|
|
|
1401
|
-
type ResizableHandleProps = {
|
|
1449
|
+
type ResizableHandleProps = React$1.ComponentProps<typeof PanelResizeHandle> & {
|
|
1402
1450
|
withHandle?: boolean;
|
|
1403
|
-
}
|
|
1451
|
+
};
|
|
1404
1452
|
|
|
1405
1453
|
type ResizablePanelGroupProps = React$1.ComponentProps<typeof PanelGroup>;
|
|
1406
1454
|
|
|
1407
1455
|
type ResizableRootType = React$1.FC<{
|
|
1408
1456
|
children: React$1.ReactNode;
|
|
1409
1457
|
}>;
|
|
1410
|
-
type ResizableType = {
|
|
1458
|
+
type ResizableType = ResizableRootType & {
|
|
1411
1459
|
Handle: React$1.FC<ResizableHandleProps>;
|
|
1412
1460
|
Panel: React$1.FC<PanelProps>;
|
|
1413
1461
|
PanelGroup: React$1.FC<ResizablePanelGroupProps>;
|
|
1414
|
-
}
|
|
1462
|
+
};
|
|
1415
1463
|
declare const Resizable: ResizableType;
|
|
1416
1464
|
|
|
1417
1465
|
declare const ScrollArea: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_scroll_area.ScrollAreaProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
@@ -1429,16 +1477,16 @@ type BaseSearchBarProps = {
|
|
|
1429
1477
|
/** Whether the input element should be readonly */
|
|
1430
1478
|
readOnly?: boolean;
|
|
1431
1479
|
};
|
|
1432
|
-
type ControlledSearchBarProps = {
|
|
1480
|
+
type ControlledSearchBarProps = BaseSearchBarProps & {
|
|
1433
1481
|
/** Event handler called when the value changes */
|
|
1434
1482
|
onValueChange: (value: string) => void;
|
|
1435
1483
|
/** The controlled value of the search bar, which should be used in conjunction with onValueChange */
|
|
1436
1484
|
value: string;
|
|
1437
|
-
}
|
|
1438
|
-
type UncontrolledSearchBarProps = {
|
|
1485
|
+
};
|
|
1486
|
+
type UncontrolledSearchBarProps = BaseSearchBarProps & {
|
|
1439
1487
|
onValueChange?: never;
|
|
1440
1488
|
value?: never;
|
|
1441
|
-
}
|
|
1489
|
+
};
|
|
1442
1490
|
type SearchBarProps = ControlledSearchBarProps | UncontrolledSearchBarProps;
|
|
1443
1491
|
declare const SearchBar: ({ className, onClick, onValueChange, placeholder, readOnly, value, ...props }: SearchBarProps) => react_jsx_runtime.JSX.Element;
|
|
1444
1492
|
|
|
@@ -1457,14 +1505,14 @@ declare const Select: React$1.FC<SelectPrimitive.SelectProps> & {
|
|
|
1457
1505
|
declare const Separator: React$1.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1458
1506
|
|
|
1459
1507
|
declare const Sheet: React$1.FC<_radix_ui_react_dialog.DialogProps> & {
|
|
1460
|
-
Body: ({ children, className, ...props }: React
|
|
1508
|
+
Body: ({ children, className, ...props }: React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
1461
1509
|
Close: React$1.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
1462
1510
|
Content: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_dialog.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & class_variance_authority.VariantProps<(props?: ({
|
|
1463
1511
|
side?: "top" | "right" | "bottom" | "left" | null | undefined;
|
|
1464
1512
|
} & class_variance_authority_types.ClassProp) | undefined) => string> & React$1.RefAttributes<HTMLDivElement>>;
|
|
1465
1513
|
Description: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_dialog.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
|
|
1466
|
-
Footer: ({ className, ...props }: React
|
|
1467
|
-
Header: ({ className, ...props }: React
|
|
1514
|
+
Footer: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
1515
|
+
Header: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
1468
1516
|
Portal: React$1.FC<_radix_ui_react_dialog.DialogPortalProps>;
|
|
1469
1517
|
Title: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_dialog.DialogTitleProps & React$1.RefAttributes<HTMLHeadingElement>, "ref"> & React$1.RefAttributes<HTMLHeadingElement>>;
|
|
1470
1518
|
Trigger: React$1.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1479,7 +1527,7 @@ declare const SpinnerIcon: ({ className, ...props }: React$1.HTMLAttributes<SVGE
|
|
|
1479
1527
|
type StatisticCardProps = {
|
|
1480
1528
|
[key: `data-${string}`]: unknown;
|
|
1481
1529
|
className?: string;
|
|
1482
|
-
icon?:
|
|
1530
|
+
icon?: ReactElement;
|
|
1483
1531
|
label: string;
|
|
1484
1532
|
value: number;
|
|
1485
1533
|
};
|