@geckoui/geckoui 1.2.0-beta.1 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,10 +1,8 @@
1
1
  import * as react from 'react';
2
- import react__default, { RefObject, InputHTMLAttributes, FC, ReactNode, JSX, ForwardedRef, LabelHTMLAttributes, PropsWithChildren, ButtonHTMLAttributes, DetailedHTMLProps, ReactElement, RefCallback, Dispatch, SetStateAction, HtmlHTMLAttributes, ChangeEvent, HTMLAttributes, JSXElementConstructor, SVGProps } from 'react';
2
+ import react__default, { RefObject, InputHTMLAttributes, FC, ReactNode, JSX, ForwardedRef, LabelHTMLAttributes, PropsWithChildren, ButtonHTMLAttributes, DetailedHTMLProps, ReactElement, RefCallback, Dispatch, SetStateAction, HtmlHTMLAttributes, ChangeEvent, HTMLAttributes, SVGProps } from 'react';
3
3
  import { ControllerProps, Control, FieldValues, ControllerRenderProps, ControllerFieldState, UseFormStateReturn } from 'react-hook-form';
4
4
  import { Placement, Strategy, useFloating } from '@floating-ui/react';
5
5
  import { TextareaAutosizeProps } from 'react-textarea-autosize';
6
- import * as _headlessui_react from '@headlessui/react';
7
- import { SwitchProps as SwitchProps$1, MenuItemsProps as MenuItemsProps$1, MenuButtonProps as MenuButtonProps$1, MenuItemProps as MenuItemProps$1 } from '@headlessui/react';
8
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
9
7
  import { ToasterProps } from 'sonner';
10
8
  export { toast } from 'sonner';
@@ -1556,70 +1554,17 @@ interface RHFTextareaProps extends RHFBaseProps, Omit<TextareaProps, "name" | "o
1556
1554
  */
1557
1555
  declare const RHFTextarea: FC<RHFTextareaProps>;
1558
1556
 
1559
- /** Extensible size map - To allow module augmentation */
1560
1557
  interface SwitchSizeMap {
1561
1558
  sm: unknown;
1562
1559
  md: unknown;
1563
1560
  }
1564
- interface SwitchProps extends Omit<SwitchProps$1, "className"> {
1565
- /**
1566
- * The size of the switch.(default: 'md')
1567
- * */
1561
+ interface SwitchProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "size" | "type"> {
1562
+ onChange?: (checked: boolean) => void;
1568
1563
  size?: keyof SwitchSizeMap;
1569
- /**
1570
- * Class name for the switch.
1571
- * */
1572
- className?: string;
1573
- /**
1574
- * Style for the thumb of the switch.
1575
- * */
1576
1564
  thumbClassName?: string;
1577
1565
  }
1578
1566
 
1579
- /**
1580
- * Switch is a toggle component built on HeadlessUI that provides an accessible
1581
- * on/off control. It supports multiple sizes, controlled and uncontrolled modes,
1582
- * and integrates seamlessly with forms.
1583
- *
1584
- * @example
1585
- * Toggle feature in settings:
1586
- *
1587
- * ```tsx
1588
- * const [notificationsEnabled, setNotificationsEnabled] = useState(true);
1589
- *
1590
- * <div className="flex items-center gap-3">
1591
- * <Switch
1592
- * checked={notificationsEnabled}
1593
- * onChange={setNotificationsEnabled}
1594
- * size="md"
1595
- * />
1596
- * <span>Enable email notifications</span>
1597
- * </div>
1598
- * ```
1599
- *
1600
- * @example
1601
- * Uncontrolled with default value:
1602
- *
1603
- * ```tsx
1604
- * <Switch defaultChecked={true} size="lg" />
1605
- * ```
1606
- *
1607
- * @example
1608
- * Custom styling and sizes:
1609
- *
1610
- * ```tsx
1611
- * <Switch
1612
- * checked={darkMode}
1613
- * onChange={toggleDarkMode}
1614
- * size="sm"
1615
- * className="bg-blue-500 data-[checked]:bg-green-600"
1616
- * thumbClassName="shadow-lg"
1617
- * />
1618
- * ```
1619
- *
1620
- * @see https://headlessui.com/react/switch for advanced usage
1621
- */
1622
- declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<null>>;
1567
+ declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<HTMLInputElement>>;
1623
1568
 
1624
1569
  interface RHFSwitchProps extends RHFBaseProps, Omit<SwitchProps, "name" | "value"> {
1625
1570
  /**
@@ -2989,9 +2934,12 @@ interface TooltipProps extends PropsWithChildren {
2989
2934
  * */
2990
2935
  triggerClassName?: string;
2991
2936
  /**
2992
- * Whether consider the trigger as a child
2993
- * Use this to avoid invalid button nesting errors when using a button as the trigger
2994
- * If you use custom components as the trigger, you might need to wrap with `forwardRef`
2937
+ * Classname to apply to the tooltip arrow
2938
+ * */
2939
+ arrowClassName?: string;
2940
+ /**
2941
+ * Whether to use the child element directly as the trigger.
2942
+ * Use this to avoid invalid button nesting errors when using a button as the trigger.
2995
2943
  * */
2996
2944
  triggerAsChild?: boolean;
2997
2945
  /**
@@ -3001,60 +2949,13 @@ interface TooltipProps extends PropsWithChildren {
3001
2949
  /**
3002
2950
  * The side of the tooltip to display
3003
2951
  * */
3004
- side?: "top" | "right" | "bottom" | "left";
2952
+ side?: Placement;
3005
2953
  /**
3006
2954
  * The offset of the tooltip from the trigger
3007
2955
  * */
3008
2956
  sideOffset?: number;
3009
2957
  }
3010
2958
 
3011
- /**
3012
- * Tooltip displays contextual information in a floating overlay when users hover over or focus on an element.
3013
- * Built on Radix UI, it provides accessible tooltips with customizable positioning, delays, and styling.
3014
- * Returns children unchanged if no content is provided.
3015
- *
3016
- * @example
3017
- * Icon button with helpful hint:
3018
- *
3019
- * ```tsx
3020
- * <Tooltip content="Add new item" side="right" delayDuration={300}>
3021
- * <button className="p-2">
3022
- * <PlusIcon />
3023
- * </button>
3024
- * </Tooltip>
3025
- * ```
3026
- *
3027
- * @example
3028
- * Complex tooltip content:
3029
- *
3030
- * ```tsx
3031
- * <Tooltip
3032
- * content={
3033
- * <div>
3034
- * <strong>Premium Feature</strong>
3035
- * <p>Upgrade to access this feature</p>
3036
- * </div>
3037
- * }
3038
- * backgroundColor="#1f2937"
3039
- * sideOffset={10}
3040
- * >
3041
- * <LockIcon />
3042
- * </Tooltip>
3043
- * ```
3044
- *
3045
- * @example
3046
- * Bottom-positioned with custom delay:
3047
- *
3048
- * ```tsx
3049
- * <Tooltip
3050
- * content="Last updated: 2 hours ago"
3051
- * side="bottom"
3052
- * delayDuration={500}
3053
- * >
3054
- * <span>Status: Active</span>
3055
- * </Tooltip>
3056
- * ```
3057
- */
3058
2959
  declare const Tooltip: FC<TooltipProps>;
3059
2960
 
3060
2961
  /** Extensible variant map - To allow module augmentation */
@@ -3685,118 +3586,132 @@ declare namespace Drawer {
3685
3586
  var dismiss: () => void;
3686
3587
  }
3687
3588
 
3688
- type ReactTag = keyof JSX.IntrinsicElements | JSXElementConstructor<any>;
3689
- type MenuButtonProps<T extends ReactTag> = MenuButtonProps$1<T>;
3690
- type MenuItemsProps<T extends ReactTag> = MenuItemsProps$1<T>;
3691
- type MenuItemProps<T extends ReactTag> = MenuItemProps$1<T>;
3589
+ interface MenuProps extends PropsWithChildren {
3590
+ /**
3591
+ * Text label for the default menu button.
3592
+ * If `MenuTrigger` is provided as a child, this is ignored.
3593
+ */
3594
+ label?: string;
3595
+ /**
3596
+ * Whether the menu is disabled
3597
+ */
3598
+ disabled?: boolean;
3599
+ /**
3600
+ * Placement of the dropdown panel relative to the trigger.
3601
+ * @default "bottom-start"
3602
+ */
3603
+ placement?: Placement;
3604
+ /**
3605
+ * Floating strategy for the dropdown panel
3606
+ */
3607
+ floatingStrategy?: Strategy;
3608
+ /**
3609
+ * Additional class name for the menu wrapper
3610
+ */
3611
+ className?: string;
3612
+ /**
3613
+ * Additional class name for the dropdown panel
3614
+ */
3615
+ menuClassName?: string;
3616
+ /**
3617
+ * Additional class name for the default menu button.
3618
+ * Only applies when no `MenuTrigger` is provided.
3619
+ */
3620
+ buttonClassName?: string;
3621
+ }
3622
+ interface MenuContextProps {
3623
+ open: boolean;
3624
+ setOpen: Dispatch<SetStateAction<boolean>>;
3625
+ floating: ReturnType<typeof useFloating>;
3626
+ openMenu: () => void;
3627
+ closeMenu: () => void;
3628
+ toggleMenu: () => void;
3629
+ disabled: boolean;
3630
+ menuRef: RefObject<HTMLDivElement | null>;
3631
+ }
3692
3632
 
3693
- /**
3694
- * Menu is a styled wrapper around HeadlessUI's Menu for creating dropdown menus and action lists.
3695
- * Provides pre-styled components for building accessible, keyboard-navigable menus.
3696
- * @see https://headlessui.com/react/menu for complete API documentation
3697
- */
3698
- declare const Menu: _headlessui_react._internal_ComponentMenu & {
3699
- Button: _headlessui_react._internal_ComponentMenuButton;
3700
- Items: _headlessui_react._internal_ComponentMenuItems;
3701
- Item: _headlessui_react._internal_ComponentMenuItem;
3702
- Section: _headlessui_react._internal_ComponentMenuSection;
3703
- Heading: _headlessui_react._internal_ComponentMenuHeading;
3704
- Separator: _headlessui_react._internal_ComponentMenuSeparator;
3633
+ declare const Menu: {
3634
+ ({ label, disabled, placement, floatingStrategy, className, menuClassName, buttonClassName, children }: MenuProps): react_jsx_runtime.JSX.Element;
3635
+ displayName: string;
3705
3636
  };
3706
- /**
3707
- * MenuButton triggers the menu dropdown when clicked or activated.
3708
- * Supports polymorphic rendering via the `as` prop.
3709
- * @see https://headlessui.com/react/menu for complete API documentation
3710
- */
3711
- declare const MenuButton: <T extends ReactTag>({ as, ...rest }: MenuButtonProps<T>) => react_jsx_runtime.JSX.Element;
3712
- /**
3713
- * MenuItems contains the dropdown panel with all menu options.
3714
- * Automatically handles positioning, animations, and focus management.
3715
- * @see https://headlessui.com/react/menu for complete API documentation
3716
- */
3717
- declare const MenuItems: <T extends ReactTag>({ as, ...rest }: MenuItemsProps<T>) => react_jsx_runtime.JSX.Element;
3718
- /**
3719
- * MenuItem represents an individual selectable option within the menu.
3720
- * Receives active and disabled states for conditional styling.
3721
- * @see https://headlessui.com/react/menu for complete API documentation
3722
- */
3723
- declare const MenuItem: <T extends ReactTag>({ children, as, ...rest }: MenuItemProps<T>) => react_jsx_runtime.JSX.Element;
3724
- /**
3725
- * MenuHeading displays a non-interactive header within menu sections.
3726
- * @see https://headlessui.com/react/menu for complete API documentation
3727
- */
3728
- declare const MenuHeading: _headlessui_react._internal_ComponentMenuHeading;
3729
- /**
3730
- * MenuSection groups related menu items together under a heading.
3731
- * @see https://headlessui.com/react/menu for complete API documentation
3732
- */
3733
- declare const MenuSection: _headlessui_react._internal_ComponentMenuSection;
3734
- /**
3735
- * MenuSeparator provides a visual divider between menu groups or items.
3736
- * @see https://headlessui.com/react/menu for complete API documentation
3737
- */
3738
- declare const MenuSeparator: _headlessui_react._internal_ComponentMenuSeparator;
3739
3637
 
3740
- type DropdownClassName<T> = string | ((item: T, index: number) => string | undefined);
3741
- interface DropdownItem {
3742
- label: ReactNode | FC;
3638
+ interface MenuItemProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onClick"> {
3639
+ /**
3640
+ * Text label for the menu item.
3641
+ * Used as the default rendered content if no `children` is provided.
3642
+ */
3643
+ label: string;
3644
+ /**
3645
+ * Whether the menu item is disabled
3646
+ */
3743
3647
  disabled?: boolean;
3648
+ /**
3649
+ * Additional class name for the menu item
3650
+ */
3744
3651
  className?: string;
3652
+ /**
3653
+ * Callback fired when the menu item is clicked.
3654
+ * The menu will close automatically after the callback.
3655
+ */
3745
3656
  onClick?: () => void;
3657
+ /**
3658
+ * Custom content for the menu item.
3659
+ * If not provided, `label` is rendered as text.
3660
+ */
3661
+ children?: ReactNode;
3746
3662
  }
3747
- interface DropdownProps extends PropsWithChildren {
3748
- anchor?: MenuItemsProps<"button">["anchor"];
3663
+
3664
+ declare const MenuItem: {
3665
+ ({ label, disabled, className, onClick, children, ...rest }: MenuItemProps): react_jsx_runtime.JSX.Element;
3666
+ displayName: string;
3667
+ };
3668
+
3669
+ interface MenuTriggerRenderProps {
3749
3670
  /**
3750
- * Items to be displayed in the dropdown
3751
- * */
3752
- items: DropdownItem[];
3671
+ * Whether the menu is currently open
3672
+ */
3673
+ open: boolean;
3753
3674
  /**
3754
- * Additional class name for the dropdown button
3755
- * */
3756
- className?: string;
3675
+ * Open the menu
3676
+ */
3677
+ openMenu: () => void;
3757
3678
  /**
3758
- * Additional class name for the dropdown menu
3759
- * */
3760
- menuClassName?: string;
3679
+ * Close the menu
3680
+ */
3681
+ closeMenu: () => void;
3761
3682
  /**
3762
- * Icon to be displayed on the dropdown button
3763
- * If you want to hide the icon, pass `null`
3764
- * */
3765
- icon?: ReactNode | FC;
3683
+ * Toggle the menu open/closed
3684
+ */
3685
+ toggleMenu: () => void;
3766
3686
  /**
3767
- * Hide the icon on the dropdown button
3768
- * */
3769
- iconClassName?: string;
3687
+ * Whether the menu is disabled
3688
+ */
3689
+ disabled: boolean;
3690
+ }
3691
+ interface MenuTriggerProps {
3770
3692
  /**
3771
- * Hide arrow icon on the dropdown button
3772
- * */
3773
- hideArrowIcon?: boolean;
3774
- [key: `data-${string}`]: string;
3693
+ * Render function that receives menu state and controls.
3694
+ *
3695
+ * @example
3696
+ * ```tsx
3697
+ * <MenuTrigger>
3698
+ * {({ open, toggleMenu }) => (
3699
+ * <button onClick={toggleMenu}>
3700
+ * Actions {open ? '▲' : '▼'}
3701
+ * </button>
3702
+ * )}
3703
+ * </MenuTrigger>
3704
+ * ```
3705
+ */
3706
+ children: (props: MenuTriggerRenderProps) => ReactNode;
3775
3707
  }
3776
3708
 
3777
- /**
3778
- * Fast and easy dropdown component extended from `Menu` and `Button` components.
3779
- * So this won't have much customization options like the `Menu` component.
3780
- * If you think this component is not enough for your use case, you can use the `Menu` component directly.
3781
- *
3782
- * @example
3783
- *
3784
- * ```js
3785
- * import { Dropdown } from "@geckoui/geckoui";
3786
- *
3787
- * const items = [
3788
- * { label: "Item 1", onClick: () => console.log("Item 1 clicked") },
3789
- * { label: "Item 2", onClick: () => console.log("Item 2 clicked") },
3790
- * { label: "Item 3", onClick: () => console.log("Item 3 clicked") },
3791
- * ];
3792
- *
3793
- * <Dropdown items={items} />
3794
- * ```
3795
- * */
3796
- declare function Dropdown({ items, anchor, icon, className, menuClassName, iconClassName, children, hideArrowIcon, ...rest }: DropdownProps): react_jsx_runtime.JSX.Element;
3797
- declare namespace Dropdown {
3798
- var displayName: string;
3799
- }
3709
+ declare const MenuTrigger: {
3710
+ ({ children }: MenuTriggerProps): react.ReactNode;
3711
+ displayName: string;
3712
+ };
3713
+
3714
+ declare const useMenu: () => MenuContextProps;
3800
3715
 
3801
3716
  type BaseIconProps = SVGProps<SVGSVGElement>;
3802
3717
 
@@ -3869,4 +3784,4 @@ declare class FileOnlyPickerHandler extends BaseFilePickerHandler {
3869
3784
 
3870
3785
  declare const FilePicker: typeof FileOnlyPickerHandler;
3871
3786
 
3872
- export { type ActionsArgs, Alert, type AlertProps, type AlertVariantMap, BaseDateRangeInput, type BaseDateRangeInputProps, type BaseSelectProps, Button, type ButtonColorMap, type ButtonProps, type ButtonSizeMap, type ButtonVariantMap, _default as Calendar, type CalendarActiveProps, type CalendarOverload, type CalendarProps, type CalendarRangeModeProps, type CalendarRef, type CalendarSingleModeProps, CalendarType, Checkbox, type CheckboxProps, ConfirmDialog, type ConfirmDialogActionsArgs, type ConfirmDialogContentProps, type ConfirmDialogOptions, CounterInput, type CounterInputProps, type CounterInputSizeMap, type CustomSelectOptionArgs, type CustomSelectOptionBaseArgs, type DataAttributeProps, type DateFormat$1 as DateFormat, DateInput, type DateInputProps, type DateRange, DateRangeInput, type DateRangeInputProps, type DayCellRenderProps, Dialog, type DialogContentProps, type DialogOptions, Drawer, type DrawerPlacementMap, type DrawerProps, Dropdown, type DropdownClassName, type DropdownItem, type DropdownProps, FilePicker, type FilePickerFile, type FilePickerOptions, type FileSize, type FileWithPreview, type FocusedOption, GeckoUIPortal, type GeckoUIPortalProps, Input, InputError, type InputErrorProps, type InputProps, Label, type LabelProps, LoadingButton, type LoadingButtonProps, Menu, MenuButton, type MenuButtonProps, MenuHeading, MenuItem, type MenuItemProps, MenuItems, type MenuItemsProps, MenuSection, MenuSeparator, type MultiSelectProps, type MultiSelectTriggerProps, type MultiSelectTriggerRenderProps, OTPInput, type OTPInputProps, type OpenFilePickerFn, type OpenFilePickerOptions, Pagination, type PaginationProps, type RHFBaseProps, RHFCheckbox, type RHFCheckboxProps, RHFController, RHFCounterInput, type RHFCounterInputProps, RHFCurrencyInput, type RHFCurrencyInputProps, RHFDateInput, type RHFDateInputProps, RHFDateRangeInput, type RHFDateRangeInputProps, RHFError, type RHFErrorProps, type RHFErrorRenderProps, RHFFileInput, type RHFFileInputProps, RHFFilePicker, type RHFFilePickerBaseProps, type RHFFilePickerProps, type RHFFilePickerRenderProps, type RHFFilePickerRendererProps, RHFInput, RHFInputGroup, type RHFInputGroupProps, type RHFInputProps, RHFNumberInput, type RHFNumberInputProps, RHFOTPInput, type RHFOTPInputProps, RHFRadio, type RHFRadioProps, type RHFRenderArgs, RHFSelect, type RHFSelectOverload, type RHFSelectProps, RHFSwitch, type RHFSwitchProps, RHFTextarea, type RHFTextareaProps, Radio, type RadioProps, type ReactTag, Select, SelectConsumer, type SelectConsumerProps, type SelectContextProps, SelectDropdownSearch, SelectEmpty, type SelectEmptyProps, SelectOption, type SelectOptionConfig, type SelectOptionElement, type SelectOptionProps, type SelectOverload, type SelectProps, SelectTrigger, type SelectTriggerBaseRenderProps, type SelectTriggerOverload, type SelectTriggerProps, type SelectionMode, type SingleSelectProps, type SingleSelectTriggerProps, type SingleSelectTriggerRenderProps, Spinner, Switch, type SwitchProps, type SwitchSizeMap, Textarea, type TextareaProps, Tooltip, type TooltipProps, type UseFilePickerOptions, type UseFilePickerReturn, fileToUInt8Array, getDataAttributes, hasDisplayName, isAsyncFn, isTwoFileEqualByFileContent, toThousandsSeparatorFormat, useClickOutside, useEscListener, useFilePicker, usePreventDefault, useSelect };
3787
+ export { type ActionsArgs, Alert, type AlertProps, type AlertVariantMap, BaseDateRangeInput, type BaseDateRangeInputProps, type BaseSelectProps, Button, type ButtonColorMap, type ButtonProps, type ButtonSizeMap, type ButtonVariantMap, _default as Calendar, type CalendarActiveProps, type CalendarOverload, type CalendarProps, type CalendarRangeModeProps, type CalendarRef, type CalendarSingleModeProps, CalendarType, Checkbox, type CheckboxProps, ConfirmDialog, type ConfirmDialogActionsArgs, type ConfirmDialogContentProps, type ConfirmDialogOptions, CounterInput, type CounterInputProps, type CounterInputSizeMap, type CustomSelectOptionArgs, type CustomSelectOptionBaseArgs, type DataAttributeProps, type DateFormat$1 as DateFormat, DateInput, type DateInputProps, type DateRange, DateRangeInput, type DateRangeInputProps, type DayCellRenderProps, Dialog, type DialogContentProps, type DialogOptions, Drawer, type DrawerPlacementMap, type DrawerProps, FilePicker, type FilePickerFile, type FilePickerOptions, type FileSize, type FileWithPreview, type FocusedOption, GeckoUIPortal, type GeckoUIPortalProps, Input, InputError, type InputErrorProps, type InputProps, Label, type LabelProps, LoadingButton, type LoadingButtonProps, Menu, type MenuContextProps, MenuItem, type MenuItemProps, type MenuProps, MenuTrigger, type MenuTriggerProps, type MenuTriggerRenderProps, type MultiSelectProps, type MultiSelectTriggerProps, type MultiSelectTriggerRenderProps, OTPInput, type OTPInputProps, type OpenFilePickerFn, type OpenFilePickerOptions, Pagination, type PaginationProps, type RHFBaseProps, RHFCheckbox, type RHFCheckboxProps, RHFController, RHFCounterInput, type RHFCounterInputProps, RHFCurrencyInput, type RHFCurrencyInputProps, RHFDateInput, type RHFDateInputProps, RHFDateRangeInput, type RHFDateRangeInputProps, RHFError, type RHFErrorProps, type RHFErrorRenderProps, RHFFileInput, type RHFFileInputProps, RHFFilePicker, type RHFFilePickerBaseProps, type RHFFilePickerProps, type RHFFilePickerRenderProps, type RHFFilePickerRendererProps, RHFInput, RHFInputGroup, type RHFInputGroupProps, type RHFInputProps, RHFNumberInput, type RHFNumberInputProps, RHFOTPInput, type RHFOTPInputProps, RHFRadio, type RHFRadioProps, type RHFRenderArgs, RHFSelect, type RHFSelectOverload, type RHFSelectProps, RHFSwitch, type RHFSwitchProps, RHFTextarea, type RHFTextareaProps, Radio, type RadioProps, Select, SelectConsumer, type SelectConsumerProps, type SelectContextProps, SelectDropdownSearch, SelectEmpty, type SelectEmptyProps, SelectOption, type SelectOptionConfig, type SelectOptionElement, type SelectOptionProps, type SelectOverload, type SelectProps, SelectTrigger, type SelectTriggerBaseRenderProps, type SelectTriggerOverload, type SelectTriggerProps, type SelectionMode, type SingleSelectProps, type SingleSelectTriggerProps, type SingleSelectTriggerRenderProps, Spinner, Switch, type SwitchProps, type SwitchSizeMap, Textarea, type TextareaProps, Tooltip, type TooltipProps, type UseFilePickerOptions, type UseFilePickerReturn, fileToUInt8Array, getDataAttributes, hasDisplayName, isAsyncFn, isTwoFileEqualByFileContent, toThousandsSeparatorFormat, useClickOutside, useEscListener, useFilePicker, useMenu, usePreventDefault, useSelect };