@douglasneuroinformatics/libui 3.4.1 → 3.5.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.
@@ -110,12 +110,14 @@ declare const Button: React$1.ForwardRefExoticComponent<{
110
110
  suppressContentEditableWarning?: boolean | undefined;
111
111
  suppressHydrationWarning?: boolean | undefined;
112
112
  accessKey?: string | undefined;
113
+ autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
113
114
  autoFocus?: boolean | undefined;
114
115
  className?: string | undefined;
115
116
  contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
116
117
  contextMenu?: string | undefined;
117
118
  dir?: string | undefined;
118
119
  draggable?: (boolean | "true" | "false") | undefined;
120
+ enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
119
121
  hidden?: boolean | undefined;
120
122
  id?: string | undefined;
121
123
  lang?: string | undefined;
@@ -139,7 +141,6 @@ declare const Button: React$1.ForwardRefExoticComponent<{
139
141
  rev?: string | undefined;
140
142
  typeof?: string | undefined;
141
143
  vocab?: string | undefined;
142
- autoCapitalize?: string | undefined;
143
144
  autoCorrect?: string | undefined;
144
145
  autoSave?: string | undefined;
145
146
  color?: string | undefined;
@@ -396,12 +397,14 @@ declare const ArrowToggle: React$1.ForwardRefExoticComponent<{
396
397
  suppressContentEditableWarning?: boolean | undefined;
397
398
  suppressHydrationWarning?: boolean | undefined;
398
399
  accessKey?: string | undefined;
400
+ autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
399
401
  autoFocus?: boolean | undefined;
400
402
  className?: string | undefined;
401
403
  contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
402
404
  contextMenu?: string | undefined;
403
405
  dir?: string | undefined;
404
406
  draggable?: (boolean | "true" | "false") | undefined;
407
+ enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
405
408
  hidden?: boolean | undefined;
406
409
  id?: string | undefined;
407
410
  lang?: string | undefined;
@@ -425,7 +428,6 @@ declare const ArrowToggle: React$1.ForwardRefExoticComponent<{
425
428
  rev?: string | undefined;
426
429
  typeof?: string | undefined;
427
430
  vocab?: string | undefined;
428
- autoCapitalize?: string | undefined;
429
431
  autoCorrect?: string | undefined;
430
432
  autoSave?: string | undefined;
431
433
  color?: string | undefined;
@@ -743,12 +745,14 @@ declare const Command: React$1.ForwardRefExoticComponent<{
743
745
  suppressContentEditableWarning?: boolean | undefined;
744
746
  suppressHydrationWarning?: boolean | undefined;
745
747
  accessKey?: string | undefined;
748
+ autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
746
749
  autoFocus?: boolean | undefined;
747
750
  className?: string | undefined;
748
751
  contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
749
752
  contextMenu?: string | undefined;
750
753
  dir?: string | undefined;
751
754
  draggable?: (boolean | "true" | "false") | undefined;
755
+ enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
752
756
  hidden?: boolean | undefined;
753
757
  id?: string | undefined;
754
758
  lang?: string | undefined;
@@ -769,7 +773,6 @@ declare const Command: React$1.ForwardRefExoticComponent<{
769
773
  rev?: string | undefined;
770
774
  typeof?: string | undefined;
771
775
  vocab?: string | undefined;
772
- autoCapitalize?: string | undefined;
773
776
  autoCorrect?: string | undefined;
774
777
  autoSave?: string | undefined;
775
778
  color?: string | undefined;
@@ -1114,9 +1117,7 @@ declare const Dialog: React$1.FC<_radix_ui_react_dialog.DialogProps> & {
1114
1117
 
1115
1118
  declare const Drawer: (({ shouldScaleBackground, ...props }: React$1.ComponentProps<typeof Drawer$1.Root>) => react_jsx_runtime.JSX.Element) & {
1116
1119
  Close: React$1.ForwardRefExoticComponent<_radix_ui_react_dialog.DialogCloseProps & React$1.RefAttributes<HTMLButtonElement>>;
1117
- Content: React$1.ForwardRefExoticComponent<Omit<Omit<_radix_ui_react_dialog.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & {
1118
- onAnimationEnd?: (open: boolean) => void;
1119
- } & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1120
+ Content: React$1.ForwardRefExoticComponent<Omit<Omit<_radix_ui_react_dialog.DialogContentProps & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>, "ref"> & React$1.RefAttributes<HTMLDivElement>>;
1120
1121
  Description: React$1.ForwardRefExoticComponent<Omit<_radix_ui_react_dialog.DialogDescriptionProps & React$1.RefAttributes<HTMLParagraphElement>, "ref"> & React$1.RefAttributes<HTMLParagraphElement>>;
1121
1122
  Footer: ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
1122
1123
  Header: ({ className, ...props }: React$1.HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
@@ -1162,6 +1163,15 @@ type ErrorFallbackProps = {
1162
1163
  };
1163
1164
  declare const ErrorFallback: ({ error }: ErrorFallbackProps) => react_jsx_runtime.JSX.Element;
1164
1165
 
1166
+ type FileDropzoneProps = {
1167
+ acceptedFileTypes: {
1168
+ [key: string]: string[];
1169
+ };
1170
+ file: File | null;
1171
+ setFile: (file: File) => void;
1172
+ };
1173
+ declare const FileDropzone: ({ acceptedFileTypes, file, setFile }: FileDropzoneProps) => react_jsx_runtime.JSX.Element;
1174
+
1165
1175
  type FormProps<TSchema extends z.ZodType<FormDataType>, TData extends z.TypeOf<TSchema> = z.TypeOf<TSchema>> = {
1166
1176
  [key: `data-${string}`]: unknown;
1167
1177
  className?: string;
@@ -1469,4 +1479,4 @@ declare const Tooltip: (({ children, delayDuration, skipDelayDuration }: Tooltip
1469
1479
  Trigger: React$1.ForwardRefExoticComponent<TooltipTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
1470
1480
  };
1471
1481
 
1472
- export { Accordion, ActionDropdown, type ActionDropdownProps, AlertDialog, ArrowToggle, type ArrowToggleProps, Avatar, BUTTON_ICON_SIZE, Badge, type BadgeProps, type BaseSearchBarProps, Breadcrumb, Button, type ButtonProps, Card, Checkbox, type ClientFieldFactory, ClientTable, type ClientTableColumn, type ClientTableColumnProps, type ClientTableDropdownOptions, type ClientTableEntry, type ClientTableProps, Collapsible, Command, ContextMenu, CopyButton, DatePicker, type DatePickerProps, Dialog, Drawer, DropdownButton, DropdownMenu, ErrorBoundary, ErrorFallback, type ErrorFallbackProps, Form, type FormProps, Heading, type HeadingProps, HoverCard, Input, type InputProps, Label, LanguageToggle, type LanguageToggleProps, LineGraph, type LineGraphData, type LineGraphLine, ListboxDropdown, type ListboxDropdownOption, type ListboxDropdownProps, MenuBar, NotificationHub, type NotificationHubProps, Pagination, Popover, Progress, RadioGroup, type RadioGroupProps, Resizable, ScrollArea, SearchBar, type SearchBarProps, Select, Separator, Sheet, Slider, Spinner, SpinnerIcon, StatisticCard, Switch, Table, Tabs, TextArea, type TextAreaProps, ThemeToggle, type ThemeToggleProps, Tooltip, badgeVariants, buttonVariants, labelVariants };
1482
+ export { Accordion, ActionDropdown, type ActionDropdownProps, AlertDialog, ArrowToggle, type ArrowToggleProps, Avatar, BUTTON_ICON_SIZE, Badge, type BadgeProps, type BaseSearchBarProps, Breadcrumb, Button, type ButtonProps, Card, Checkbox, type ClientFieldFactory, ClientTable, type ClientTableColumn, type ClientTableColumnProps, type ClientTableDropdownOptions, type ClientTableEntry, type ClientTableProps, Collapsible, Command, ContextMenu, CopyButton, DatePicker, type DatePickerProps, Dialog, Drawer, DropdownButton, DropdownMenu, ErrorBoundary, ErrorFallback, type ErrorFallbackProps, FileDropzone, type FileDropzoneProps, Form, type FormProps, Heading, type HeadingProps, HoverCard, Input, type InputProps, Label, LanguageToggle, type LanguageToggleProps, LineGraph, type LineGraphData, type LineGraphLine, ListboxDropdown, type ListboxDropdownOption, type ListboxDropdownProps, MenuBar, NotificationHub, type NotificationHubProps, Pagination, Popover, Progress, RadioGroup, type RadioGroupProps, Resizable, ScrollArea, SearchBar, type SearchBarProps, Select, Separator, Sheet, Slider, Spinner, SpinnerIcon, StatisticCard, Switch, Table, Tabs, TextArea, type TextAreaProps, ThemeToggle, type ThemeToggleProps, Tooltip, badgeVariants, buttonVariants, labelVariants };