@wistia/ui 0.26.6 → 0.26.7

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.ts CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- import { AnchorHTMLAttributes, CSSProperties, ChangeEvent, ComponentProps, ComponentPropsWithRef, ComponentPropsWithoutRef, Context, Dispatch, ElementType, FC, ForwardRefExoticComponent, HTMLAttributes, InputHTMLAttributes, JSX, LegacyRef, MouseEvent, MutableRefObject, PropsWithChildren, ReactElement, ReactNode, Ref, RefAttributes, RefCallback, RefObject, SetStateAction, SyntheticEvent, TdHTMLAttributes, ThHTMLAttributes } from "react";
2
+ import { AnchorHTMLAttributes, CSSProperties, ChangeEvent, ComponentProps, ComponentPropsWithRef, ComponentPropsWithoutRef, Context, Dispatch, ElementType, FC, HTMLAttributes, InputHTMLAttributes, JSX, LegacyRef, MouseEvent, MutableRefObject, PropsWithChildren, ReactElement, ReactNode, Ref, RefCallback, RefObject, SetStateAction, SyntheticEvent, TdHTMLAttributes, ThHTMLAttributes } from "react";
3
3
  import { RuleSet, css } from "styled-components";
4
4
  import { FileAmountLimitValidator, FileSizeValidator, FileTypeValidator, ImageDimensionsValidator, PersistentFileAmountLimitValidator } from "use-file-picker/validators";
5
5
  import { Color } from "culori/fn";
@@ -632,7 +632,23 @@ type LinkProps = LinkAsButtonProps | LinkAsLinkProps;
632
632
  * This means in addition to its own props, `Link` can use props from `react-router`'s `Link` component. View their documentation [here](https://reactrouter.com/en/main/components/link).
633
633
  * The one prop we ignore from react-router is `to`. We use `href` instead and map it under the hood.
634
634
  */
635
- declare const Link: ForwardRefExoticComponent<LinkProps>;
635
+ declare const Link: ({
636
+ beforeAction,
637
+ children,
638
+ type,
639
+ disabled,
640
+ colorScheme,
641
+ underline,
642
+ inheritColor,
643
+ leftIcon,
644
+ rightIcon,
645
+ "aria-disabled": ariaDisabled,
646
+ role,
647
+ ref,
648
+ ...props
649
+ }: LinkProps & {
650
+ ref?: Ref<HTMLAnchorElement | HTMLButtonElement> | undefined;
651
+ }) => JSX.Element | null;
636
652
  //#endregion
637
653
  //#region src/private/hooks/useResponsiveProp/useResponsiveProp.d.ts
638
654
  type Breakpoints = "isLgAndDown" | "isLgAndUp" | "isMdAndDown" | "isMdAndUp" | "isSmAndDown" | "isSmAndUp" | "isXlAndDown" | "isXlAndUp" | "isXsAndDown" | "isXsAndUp";
@@ -731,14 +747,32 @@ type ButtonProps = ButtonAsButtonProps | ButtonAsLinkProps;
731
747
  * action, or performing a delete operation. It replaces the HTML `<button>` element,
732
748
  * unless an `href` attribute is passed, in which it will render an `<a>` element.
733
749
  */
734
- declare const Button: ForwardRefExoticComponent<ButtonProps>;
750
+ declare const Button: ({
751
+ children,
752
+ forceState,
753
+ className,
754
+ leftIcon,
755
+ rightIcon,
756
+ colorScheme,
757
+ disabled,
758
+ isLoading,
759
+ unstyled,
760
+ onClick,
761
+ fullWidth,
762
+ size,
763
+ variant,
764
+ ref,
765
+ ...props
766
+ }: ButtonProps & {
767
+ ref?: Ref<HTMLAnchorElement | HTMLButtonElement> | undefined;
768
+ }) => JSX.Element;
735
769
  //#endregion
736
770
  //#region src/private/components/Toast/Toast.d.ts
737
771
  type ToastProps = ComponentPropsWithoutRef<"div"> & {
738
772
  /**
739
- * Action can be undefined (default dismiss button), a Button component or false to hide the dismiss button
773
+ * Optional `Button` component to render as the toast action
740
774
  */
741
- action?: ReactElement<typeof Button> | undefined;
775
+ action?: ReactElement<ButtonProps> | undefined;
742
776
  /**
743
777
  * Sets the [color scheme](/foundations/color/color-schemes)
744
778
  */
@@ -809,7 +843,19 @@ type ActionButtonProps = {
809
843
  /**
810
844
  * Action Button component is used as one of a group of main actions on the page. It composes [Button](/components/Button).
811
845
  */
812
- declare const ActionButton: ForwardRefExoticComponent<ActionButtonProps>;
846
+ declare const ActionButton: ({
847
+ icon,
848
+ colorScheme,
849
+ disabled,
850
+ forceState,
851
+ hoverColorScheme,
852
+ variant,
853
+ children,
854
+ ref,
855
+ ...props
856
+ }: ActionButtonProps & {
857
+ ref?: Ref<HTMLAnchorElement | HTMLButtonElement> | undefined;
858
+ }) => JSX.Element;
813
859
  //#endregion
814
860
  //#region src/components/Avatar/Avatar.d.ts
815
861
  type AvatarInstanceType = "image" | "initials";
@@ -871,7 +917,16 @@ type BadgeProps = ComponentPropsWithoutRef<"div"> & {
871
917
  /**
872
918
  * A `Badge` is a compact label, with optional icon, to convey status or context.
873
919
  */
874
- declare const Badge: ForwardRefExoticComponent<BadgeProps & RefAttributes<HTMLDivElement>>;
920
+ declare const Badge: ({
921
+ colorScheme,
922
+ label,
923
+ icon,
924
+ variant,
925
+ ref,
926
+ ...props
927
+ }: BadgeProps & {
928
+ ref?: Ref<HTMLDivElement> | undefined;
929
+ }) => JSX.Element;
875
930
  //#endregion
876
931
  //#region src/components/Banner/Banner.d.ts
877
932
  type BannerProps = ComponentPropsWithoutRef<"div"> & {
@@ -1306,7 +1361,16 @@ type CenterProps = ComponentPropsWithoutRef<"div"> & {
1306
1361
  * Center component provides various ways to center content horizontally within a container.
1307
1362
  * It supports max-width constraints, text alignment, gutters, and intrinsic content centering.
1308
1363
  */
1309
- declare const Center: ForwardRefExoticComponent<CenterProps & RefAttributes<HTMLDivElement>>;
1364
+ declare const Center: ({
1365
+ maxWidth,
1366
+ gutterWidth,
1367
+ intrinsic,
1368
+ children,
1369
+ ref,
1370
+ ...props
1371
+ }: CenterProps & {
1372
+ ref?: Ref<HTMLDivElement> | undefined;
1373
+ }) => JSX.Element;
1310
1374
  //#endregion
1311
1375
  //#region src/components/Checkbox/Checkbox.d.ts
1312
1376
  type CheckboxSizeType = "lg" | "md" | "sm";
@@ -1356,7 +1420,23 @@ type CheckboxProps = Omit<ComponentPropsWithoutRef<"input">, "hideLabel" | "labe
1356
1420
  */
1357
1421
  hideLabel?: boolean;
1358
1422
  };
1359
- declare const Checkbox: ForwardRefExoticComponent<CheckboxProps & RefAttributes<HTMLInputElement>>;
1423
+ declare const Checkbox: ({
1424
+ checked,
1425
+ disabled,
1426
+ id,
1427
+ label,
1428
+ description,
1429
+ name,
1430
+ onChange,
1431
+ size,
1432
+ value,
1433
+ required,
1434
+ hideLabel,
1435
+ ref,
1436
+ ...props
1437
+ }: CheckboxProps & {
1438
+ ref?: Ref<HTMLInputElement> | undefined;
1439
+ }) => JSX.Element;
1360
1440
  //#endregion
1361
1441
  //#region src/components/ClickRegion/ClickRegion.d.ts
1362
1442
  type ClickRegionProps = {
@@ -1594,7 +1674,13 @@ type ColorPickerTriggerProps = ComponentPropsWithoutRef<"button">;
1594
1674
  * it renders a swatch and hex label for the current color; pass custom children
1595
1675
  * to replace that content.
1596
1676
  */
1597
- declare const ColorPickerTrigger: ForwardRefExoticComponent<ColorPickerTriggerProps & RefAttributes<HTMLButtonElement>>;
1677
+ declare const ColorPickerTrigger: ({
1678
+ children,
1679
+ ref,
1680
+ ...props
1681
+ }: ColorPickerTriggerProps & {
1682
+ ref?: Ref<HTMLButtonElement> | undefined;
1683
+ }) => JSX.Element;
1598
1684
  //#endregion
1599
1685
  //#region src/components/ColorPicker/ContrastControls.d.ts
1600
1686
  type ContrastControlsProps = object;
@@ -2366,7 +2452,19 @@ type InputProps = Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElemen
2366
2452
  /**
2367
2453
  * Capture user input with a text field. Should be used within a [Form](/components/Form) and [FormField](/components/FormField).
2368
2454
  */
2369
- declare const Input: ForwardRefExoticComponent<InputProps & RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
2455
+ declare const Input: ({
2456
+ fullWidth,
2457
+ fullHeight,
2458
+ monospace,
2459
+ type,
2460
+ autoSelect,
2461
+ leftIcon,
2462
+ rightIcon,
2463
+ ref: externalRef,
2464
+ ...props
2465
+ }: InputProps & {
2466
+ ref?: Ref<HTMLInputElement | HTMLTextAreaElement> | undefined;
2467
+ }) => JSX.Element;
2370
2468
  //#endregion
2371
2469
  //#region src/components/EditableText/EditableTextInput.d.ts
2372
2470
  type EditableTextInputProps = Pick<InputProps, "autoSelect">;
@@ -2516,8 +2614,17 @@ type FormProps<T> = Omit<ComponentPropsWithoutRef<"form">, "action" | "aria-labe
2516
2614
  * For creating forms. It provides a context for the form fields to access the form state and validation.
2517
2615
  * It also provides a way to handle form submission and validation. It is built around [React 19's form APIs](https://react.dev/reference/react-dom/components/form).
2518
2616
  */
2519
- declare const Form: <T>(props: FormProps<T> & {
2520
- ref?: Ref<HTMLFormElement>;
2617
+ declare const Form: <T = Record<string, unknown>>({
2618
+ children,
2619
+ action,
2620
+ values,
2621
+ labelPosition,
2622
+ validate,
2623
+ fullWidth,
2624
+ ref: forwardedRef,
2625
+ ...props
2626
+ }: FormProps<T> & {
2627
+ ref?: Ref<HTMLFormElement> | undefined;
2521
2628
  }) => JSX.Element;
2522
2629
  //#endregion
2523
2630
  //#region src/components/Form/FormErrorSummary.d.ts
@@ -2717,7 +2824,15 @@ type IconButtonProps = {
2717
2824
  * IconButton behaves like a [Button](/components/Button),
2718
2825
  * but only accepts an [Icon](/components/Icon) as a child.
2719
2826
  */
2720
- declare const IconButton: ForwardRefExoticComponent<IconButtonProps>;
2827
+ declare const IconButton: ({
2828
+ children,
2829
+ label,
2830
+ size,
2831
+ ref,
2832
+ ...props
2833
+ }: IconButtonProps & {
2834
+ ref?: Ref<HTMLAnchorElement | HTMLButtonElement> | undefined;
2835
+ }) => JSX.Element;
2721
2836
  //#endregion
2722
2837
  //#region src/components/Image/Image.d.ts
2723
2838
  type ImageProps = ComponentPropsWithoutRef<"img"> & {
@@ -2783,7 +2898,15 @@ type InputClickToCopyProps = Omit<InputProps, "autoSelect" | "disabled" | "right
2783
2898
  /**
2784
2899
  * Provides a readonly input that copies the text to the clipboard when clicked.
2785
2900
  */
2786
- declare const InputClickToCopy: ForwardRefExoticComponent<InputClickToCopyProps & RefAttributes<HTMLInputElement>>;
2901
+ declare const InputClickToCopy: ({
2902
+ value,
2903
+ onCopy,
2904
+ disabled,
2905
+ ref,
2906
+ ...props
2907
+ }: InputClickToCopyProps & {
2908
+ ref?: Ref<HTMLInputElement> | undefined;
2909
+ }) => JSX.Element;
2787
2910
  //#endregion
2788
2911
  //#region src/components/InputDuration/types.d.ts
2789
2912
  type DecimalUnitLength = 0 | 2;
@@ -2815,7 +2938,21 @@ type InputDurationProps = InputDurationBaseProps & {
2815
2938
  /**
2816
2939
  * InputDuration lets users edit a duration value using a keyboard-friendly time input.
2817
2940
  */
2818
- declare const InputDuration: ForwardRefExoticComponent<InputDurationProps & RefAttributes<HTMLInputElement>>;
2941
+ declare const InputDuration: ({
2942
+ decimalUnitLength,
2943
+ disabled,
2944
+ fullWidth,
2945
+ maxSeconds,
2946
+ minSeconds,
2947
+ onChangeValueInSeconds,
2948
+ valueInSeconds,
2949
+ onFocus,
2950
+ style,
2951
+ ref: externalRef,
2952
+ ...props
2953
+ }: InputDurationProps & {
2954
+ ref?: Ref<HTMLInputElement> | undefined;
2955
+ }) => JSX.Element;
2819
2956
  //#endregion
2820
2957
  //#region src/components/InputPassword/InputPassword.d.ts
2821
2958
  type InputPasswordProps = Omit<InputProps, "leftIcon" | "monospace" | "rightIcon" | "type"> & {
@@ -2831,7 +2968,14 @@ type InputPasswordProps = Omit<InputProps, "leftIcon" | "monospace" | "rightIcon
2831
2968
  /**
2832
2969
  * A password input component with a toggle button to show or hide the password text.
2833
2970
  */
2834
- declare const InputPassword: ForwardRefExoticComponent<InputPasswordProps & RefAttributes<HTMLInputElement>>;
2971
+ declare const InputPassword: ({
2972
+ onVisibilityToggle,
2973
+ disabled,
2974
+ ref,
2975
+ ...props
2976
+ }: InputPasswordProps & {
2977
+ ref?: Ref<HTMLInputElement> | undefined;
2978
+ }) => JSX.Element;
2835
2979
  //#endregion
2836
2980
  //#region src/components/KeyboardShortcut/KeyboardKeyTypes.d.ts
2837
2981
  type AlphanumericKeyboardKeys = "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "a" | "b" | "c" | "d" | "e" | "f" | "g" | "h" | "i" | "j" | "k" | "l" | "m" | "n" | "o" | "p" | "q" | "r" | "s" | "t" | "u" | "v" | "w" | "x" | "y" | "z";
@@ -2984,7 +3128,22 @@ type MenuProps = MenuControlProps & {
2984
3128
  /**
2985
3129
  * Displays a menu to the users with a set of actions.
2986
3130
  */
2987
- declare const Menu: ForwardRefExoticComponent<MenuProps & RefAttributes<HTMLButtonElement>>;
3131
+ declare const Menu: ({
3132
+ align,
3133
+ children,
3134
+ disabled,
3135
+ compact,
3136
+ trigger,
3137
+ label,
3138
+ isOpen,
3139
+ side,
3140
+ triggerProps,
3141
+ onOpenChange,
3142
+ ref,
3143
+ ...props
3144
+ }: MenuProps & {
3145
+ ref?: Ref<HTMLButtonElement> | undefined;
3146
+ }) => JSX.Element;
2988
3147
  //#endregion
2989
3148
  //#region src/components/Menu/MenuLabel.d.ts
2990
3149
  type MenuLabelProps = {
@@ -3089,7 +3248,14 @@ type MenuItemProps = MenuItemButtonProps & {
3089
3248
  */
3090
3249
  onSelect?: (event: SyntheticEvent) => void;
3091
3250
  };
3092
- declare const MenuItem: ForwardRefExoticComponent<MenuItemProps>;
3251
+ declare const MenuItem: ({
3252
+ onSelect,
3253
+ closeOnClick,
3254
+ ref,
3255
+ ...props
3256
+ }: MenuItemProps & {
3257
+ ref?: Ref<HTMLAnchorElement | HTMLButtonElement> | undefined;
3258
+ }) => JSX.Element;
3093
3259
  //#endregion
3094
3260
  //#region src/components/Menu/MenuItemLabel.d.ts
3095
3261
  type MenuItemLabelProps = {
@@ -3209,7 +3375,17 @@ type FilterMenuProps = MenuProps & {
3209
3375
  onSearchValueChange: (value: string) => void;
3210
3376
  };
3211
3377
  declare const FilterMenuItem: typeof CheckboxMenuItem;
3212
- declare const FilterMenu: ForwardRefExoticComponent<FilterMenuProps & RefAttributes<HTMLButtonElement>>;
3378
+ declare const FilterMenu: ({
3379
+ value,
3380
+ onChange,
3381
+ searchValue,
3382
+ onSearchValueChange,
3383
+ children,
3384
+ ref,
3385
+ ...props
3386
+ }: FilterMenuProps & {
3387
+ ref?: Ref<HTMLButtonElement> | undefined;
3388
+ }) => JSX.Element;
3213
3389
  //#endregion
3214
3390
  //#region src/components/Meter/Meter.d.ts
3215
3391
  type MeterSegment = {
@@ -3310,7 +3486,22 @@ type ModalProps = ComponentPropsWithoutRef<"div"> & {
3310
3486
  * A Modal is a focused UI element that appears atop the main interface, requiring
3311
3487
  * user interaction or dismissal before returning to the underlying content.
3312
3488
  */
3313
- declare const Modal: ForwardRefExoticComponent<ModalProps & RefAttributes<HTMLDivElement>>;
3489
+ declare const Modal: ({
3490
+ children,
3491
+ footer,
3492
+ hideCloseButton,
3493
+ hideTitle,
3494
+ initialFocusRef,
3495
+ isOpen,
3496
+ onRequestClose,
3497
+ positionVariant,
3498
+ title,
3499
+ width,
3500
+ ref,
3501
+ ...props
3502
+ }: ModalProps & {
3503
+ ref?: Ref<HTMLDivElement> | undefined;
3504
+ }) => JSX.Element;
3314
3505
  //#endregion
3315
3506
  //#region src/components/Modal/ModalCallouts.d.ts
3316
3507
  type ModalCalloutsProps = {
@@ -3446,7 +3637,12 @@ type PopoverCloseProps = Omit<ComponentPropsWithoutRef<"button">, "render"> & {
3446
3637
  * pass `render` to merge the close behavior onto a single child element. For
3447
3638
  * a pre-styled icon close button, use `PopoverCloseButton`.
3448
3639
  */
3449
- declare const PopoverClose: ForwardRefExoticComponent<PopoverCloseProps & RefAttributes<HTMLButtonElement>>;
3640
+ declare const PopoverClose: ({
3641
+ ref,
3642
+ ...props
3643
+ }: PopoverCloseProps & {
3644
+ ref?: Ref<HTMLButtonElement> | undefined;
3645
+ }) => JSX.Element;
3450
3646
  //#endregion
3451
3647
  //#region src/components/Popover/PopoverCloseButton.d.ts
3452
3648
  type PopoverCloseButtonProps = {
@@ -3475,7 +3671,22 @@ type PopoverContentProps = {
3475
3671
  * The styled popover surface. Place inside a `PopoverRoot` (typically wrapped
3476
3672
  * in a `PopoverPortal`). Wraps a `Positioner` and `Popup` internally.
3477
3673
  */
3478
- declare const PopoverContent: ForwardRefExoticComponent<PopoverContentProps & RefAttributes<HTMLDivElement>>;
3674
+ declare const PopoverContent: ({
3675
+ colorScheme,
3676
+ unstyled,
3677
+ maxWidth,
3678
+ maxHeight,
3679
+ sideOffset,
3680
+ side,
3681
+ align,
3682
+ style,
3683
+ role,
3684
+ children,
3685
+ ref,
3686
+ ...props
3687
+ }: PopoverContentProps & {
3688
+ ref?: Ref<HTMLDivElement> | undefined;
3689
+ }) => JSX.Element;
3479
3690
  //#endregion
3480
3691
  //#region src/components/Popover/PopoverPortal.d.ts
3481
3692
  type PopoverPortalProps = {
@@ -3524,7 +3735,13 @@ type PopoverTriggerProps = Omit<ComponentPropsWithoutRef<"button">, "render"> &
3524
3735
  * `<button>` wrapping its children; pass `render` to merge the trigger
3525
3736
  * behavior onto a single child element (e.g. a `Button` or `IconButton`).
3526
3737
  */
3527
- declare const PopoverTrigger: ForwardRefExoticComponent<PopoverTriggerProps & RefAttributes<HTMLButtonElement>>;
3738
+ declare const PopoverTrigger: ({
3739
+ nativeButton,
3740
+ ref,
3741
+ ...props
3742
+ }: PopoverTriggerProps & {
3743
+ ref?: Ref<HTMLButtonElement> | undefined;
3744
+ }) => JSX.Element;
3528
3745
  //#endregion
3529
3746
  //#region src/components/ProgressBar/ProgressBar.d.ts
3530
3747
  type ProgressBarProps = ComponentPropsWithoutRef<"div"> & {
@@ -3607,7 +3824,23 @@ type RadioProps = Omit<ComponentPropsWithoutRef<"input">, "hideLabel" | "label"
3607
3824
  */
3608
3825
  hideLabel?: boolean;
3609
3826
  };
3610
- declare const Radio: ForwardRefExoticComponent<RadioProps & RefAttributes<HTMLInputElement>>;
3827
+ declare const Radio: ({
3828
+ checked,
3829
+ disabled,
3830
+ id,
3831
+ label,
3832
+ description,
3833
+ name,
3834
+ onChange,
3835
+ size,
3836
+ value,
3837
+ required,
3838
+ hideLabel,
3839
+ ref,
3840
+ ...props
3841
+ }: RadioProps & {
3842
+ ref?: Ref<HTMLInputElement> | undefined;
3843
+ }) => JSX.Element;
3611
3844
  //#endregion
3612
3845
  //#region src/components/RadioCard/RadioCardDefaultLayout.d.ts
3613
3846
  type RadioCardDefaultLayoutProps = {
@@ -3679,7 +3912,18 @@ type RadioCardWithDefaultLayout = BaseRadioCardProps & RadioCardDefaultLayoutPro
3679
3912
  children?: never;
3680
3913
  };
3681
3914
  type RadioCardProps = RadioCardWithChildren | RadioCardWithDefaultLayout;
3682
- declare const RadioCard: ForwardRefExoticComponent<RadioCardProps & RefAttributes<HTMLInputElement>>;
3915
+ declare const RadioCard: ({
3916
+ icon,
3917
+ label,
3918
+ description,
3919
+ showIndicator,
3920
+ isGated,
3921
+ children,
3922
+ ref,
3923
+ ...rootProps
3924
+ }: RadioCardProps & {
3925
+ ref?: Ref<HTMLInputElement> | undefined;
3926
+ }) => JSX.Element;
3683
3927
  //#endregion
3684
3928
  //#region src/components/RadioCard/RadioCardImage.d.ts
3685
3929
  type RadioCardImageProps = Omit<ComponentPropsWithoutRef<"input">, "onChange"> & {
@@ -3724,7 +3968,16 @@ type RadioCardImageProps = Omit<ComponentPropsWithoutRef<"input">, "onChange"> &
3724
3968
  */
3725
3969
  padding?: Spacings;
3726
3970
  };
3727
- declare const RadioCardImage: ForwardRefExoticComponent<RadioCardImageProps & RefAttributes<HTMLInputElement>>;
3971
+ declare const RadioCardImage: ({
3972
+ label,
3973
+ imageSrc,
3974
+ aspectRatio,
3975
+ padding,
3976
+ ref,
3977
+ ...rootProps
3978
+ }: RadioCardImageProps & {
3979
+ ref?: Ref<HTMLInputElement> | undefined;
3980
+ }) => JSX.Element;
3728
3981
  //#endregion
3729
3982
  //#region src/components/ScreenReaderOnly/ScreenReaderOnly.d.ts
3730
3983
  type ScreenReaderOnlyProps = ComponentPropsWithoutRef<"div"> & {
@@ -3760,7 +4013,16 @@ type ScrollAreaProps = HTMLAttributes<HTMLDivElement> & {
3760
4013
  * ScrollArea is a simple scrollable container with shadow effects to indicate
3761
4014
  * scrollability.
3762
4015
  */
3763
- declare const ScrollArea: ForwardRefExoticComponent<ScrollAreaProps & RefAttributes<HTMLDivElement>>;
4016
+ declare const ScrollArea: ({
4017
+ children,
4018
+ onScroll,
4019
+ style,
4020
+ locked,
4021
+ ref: forwardedRef,
4022
+ ...props
4023
+ }: ScrollAreaProps & {
4024
+ ref?: Ref<HTMLDivElement> | undefined;
4025
+ }) => JSX.Element;
3764
4026
  //#endregion
3765
4027
  //#region src/components/SegmentedControl/SegmentedControl.d.ts
3766
4028
  type SegmentedControlProps = {
@@ -3792,7 +4054,18 @@ type SegmentedControlProps = {
3792
4054
  /**
3793
4055
  * Provides a horizontal set of segments for switching between different values
3794
4056
  */
3795
- declare const SegmentedControl: ForwardRefExoticComponent<RefAttributes<HTMLDivElement> & SegmentedControlProps & HTMLAttributes<HTMLDivElement>>;
4057
+ declare const SegmentedControl: ({
4058
+ children,
4059
+ colorScheme,
4060
+ disabled,
4061
+ fullWidth,
4062
+ selectedValue,
4063
+ onSelectedValueChange,
4064
+ ref,
4065
+ ...props
4066
+ }: SegmentedControlProps & Omit<HTMLAttributes<HTMLDivElement>, "color" | "defaultChecked" | "defaultValue"> & {
4067
+ ref?: Ref<HTMLDivElement> | undefined;
4068
+ }) => JSX.Element | null;
3796
4069
  //#endregion
3797
4070
  //#region src/components/SegmentedControl/SegmentedControlItem.d.ts
3798
4071
  type BaseProps$1 = {
@@ -3836,7 +4109,17 @@ type NoIcon$1 = {
3836
4109
  "aria-label"?: never;
3837
4110
  };
3838
4111
  type SegmentedControlItemProps = BaseProps$1 & (IconWithAriaLabel$1 | IconWithLabel$1 | NoIcon$1);
3839
- declare const SegmentedControlItem: ForwardRefExoticComponent<SegmentedControlItemProps & RefAttributes<HTMLButtonElement>>;
4112
+ declare const SegmentedControlItem: ({
4113
+ disabled,
4114
+ icon,
4115
+ label,
4116
+ "aria-label": ariaLabel,
4117
+ value,
4118
+ ref: forwardedRef,
4119
+ ...otherProps
4120
+ }: SegmentedControlItemProps & {
4121
+ ref?: Ref<HTMLButtonElement> | undefined;
4122
+ }) => JSX.Element;
3840
4123
  //#endregion
3841
4124
  //#region src/components/Select/Select.d.ts
3842
4125
  type SelectProps = {
@@ -3902,7 +4185,24 @@ type SelectProps = {
3902
4185
  /**
3903
4186
  * Display a list of options and choose one of them. Replacement for the native Select HTML element.
3904
4187
  */
3905
- declare const Select: ForwardRefExoticComponent<SelectProps & RefAttributes<HTMLButtonElement>>;
4188
+ declare const Select: ({
4189
+ colorScheme,
4190
+ children,
4191
+ onOpenChange,
4192
+ onChange,
4193
+ placeholder,
4194
+ fullWidth,
4195
+ forceOpen,
4196
+ showScrollArrows,
4197
+ disabled,
4198
+ name,
4199
+ value,
4200
+ "aria-invalid": ariaInvalid,
4201
+ ref: forwardedRef,
4202
+ ...props
4203
+ }: SelectProps & {
4204
+ ref?: Ref<HTMLButtonElement> | undefined;
4205
+ }) => JSX.Element;
3906
4206
  //#endregion
3907
4207
  //#region src/components/Select/SelectOption.d.ts
3908
4208
  type SelectOptionProps = {
@@ -3935,7 +4235,16 @@ type SelectOptionProps = {
3935
4235
  */
3936
4236
  checkmarkVerticalAlign?: "center" | "top";
3937
4237
  };
3938
- declare const SelectOption: ForwardRefExoticComponent<SelectOptionProps & RefAttributes<HTMLDivElement>>;
4238
+ declare const SelectOption: ({
4239
+ children,
4240
+ selectedDisplayValue,
4241
+ checkmarkVerticalAlign,
4242
+ textValue,
4243
+ ref: forwardedRef,
4244
+ ...props
4245
+ }: SelectOptionProps & {
4246
+ ref?: Ref<HTMLDivElement> | undefined;
4247
+ }) => JSX.Element;
3939
4248
  //#endregion
3940
4249
  //#region src/components/Select/SelectOptionGroup.d.ts
3941
4250
  type SelectOptionGroupProps = {
@@ -3956,7 +4265,13 @@ type SidebarProps = HTMLAttributes<HTMLElement> & {
3956
4265
  */
3957
4266
  children: ReactNode;
3958
4267
  };
3959
- declare const Sidebar: ForwardRefExoticComponent<SidebarProps & RefAttributes<HTMLElement>>;
4268
+ declare const Sidebar: ({
4269
+ children,
4270
+ ref,
4271
+ ...props
4272
+ }: SidebarProps & {
4273
+ ref?: Ref<HTMLElement> | undefined;
4274
+ }) => JSX.Element;
3960
4275
  //#endregion
3961
4276
  //#region src/components/Sidebar/SidebarHeader.d.ts
3962
4277
  type SidebarHeaderProps = {
@@ -4034,7 +4349,13 @@ type SidebarButtonProps = (Omit<ButtonAsButtonProps, "fullWidth" | "size" | "uns
4034
4349
  */
4035
4350
  selected?: boolean;
4036
4351
  };
4037
- declare const SidebarButton: ForwardRefExoticComponent<SidebarButtonProps & RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
4352
+ declare const SidebarButton: ({
4353
+ selected,
4354
+ ref,
4355
+ ...props
4356
+ }: SidebarButtonProps & {
4357
+ ref?: Ref<HTMLAnchorElement | HTMLButtonElement> | undefined;
4358
+ }) => JSX.Element;
4038
4359
  //#endregion
4039
4360
  //#region src/components/Sidebar/SidebarSearchInput.d.ts
4040
4361
  type SidebarSearchInputProps = Omit<InputProps, "type"> & {
@@ -4045,7 +4366,14 @@ type SidebarSearchInputProps = Omit<InputProps, "type"> & {
4045
4366
  */
4046
4367
  label?: string;
4047
4368
  };
4048
- declare const SidebarSearchInput: ForwardRefExoticComponent<SidebarSearchInputProps & RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
4369
+ declare const SidebarSearchInput: ({
4370
+ id,
4371
+ label,
4372
+ ref,
4373
+ ...props
4374
+ }: SidebarSearchInputProps & {
4375
+ ref?: Ref<HTMLInputElement | HTMLTextAreaElement> | undefined;
4376
+ }) => JSX.Element;
4049
4377
  //#endregion
4050
4378
  //#region src/components/Slider/Slider.d.ts
4051
4379
  type SliderProps = Omit<ComponentPropsWithoutRef<"div">, "onChange"> & {
@@ -4233,7 +4561,24 @@ type SwitchProps = Omit<ComponentPropsWithoutRef<"input">, "hideLabel" | "label"
4233
4561
  */
4234
4562
  hideLabel?: boolean;
4235
4563
  };
4236
- declare const Switch: ForwardRefExoticComponent<SwitchProps & RefAttributes<HTMLInputElement>>;
4564
+ declare const Switch: ({
4565
+ align,
4566
+ checked,
4567
+ disabled,
4568
+ id,
4569
+ label,
4570
+ description,
4571
+ name,
4572
+ onChange,
4573
+ size,
4574
+ value,
4575
+ required,
4576
+ hideLabel,
4577
+ ref,
4578
+ ...props
4579
+ }: SwitchProps & {
4580
+ ref?: Ref<HTMLInputElement> | undefined;
4581
+ }) => JSX.Element;
4237
4582
  //#endregion
4238
4583
  //#region src/components/Table/TableBody.d.ts
4239
4584
  type TableBodyProps = HTMLAttributes<HTMLTableSectionElement> & {
@@ -4373,7 +4718,17 @@ type NoIcon = {
4373
4718
  "aria-label"?: never;
4374
4719
  };
4375
4720
  type TabsTriggerProps = BaseProps & (IconWithAriaLabel | IconWithLabel | NoIcon);
4376
- declare const TabsTrigger: ForwardRefExoticComponent<TabsTriggerProps & RefAttributes<HTMLButtonElement>>;
4721
+ declare const TabsTrigger: ({
4722
+ disabled,
4723
+ icon,
4724
+ label,
4725
+ "aria-label": ariaLabel,
4726
+ value,
4727
+ ref,
4728
+ ...otherProps
4729
+ }: TabsTriggerProps & {
4730
+ ref?: Ref<HTMLButtonElement> | undefined;
4731
+ }) => JSX.Element;
4377
4732
  //#endregion
4378
4733
  //#region src/components/Tag/Tag.d.ts
4379
4734
  type TagProps = ComponentPropsWithoutRef<"div"> & {
@@ -4405,7 +4760,18 @@ type TagProps = ComponentPropsWithoutRef<"div"> & {
4405
4760
  /**
4406
4761
  * A `Tag` is an optionally linked label, with an optional action button, to categorize content.
4407
4762
  */
4408
- declare const Tag: ForwardRefExoticComponent<TagProps & RefAttributes<HTMLDivElement>>;
4763
+ declare const Tag: ({
4764
+ onClickRemove,
4765
+ colorScheme,
4766
+ href,
4767
+ icon,
4768
+ label,
4769
+ onClickRemoveLabel,
4770
+ ref,
4771
+ ...props
4772
+ }: TagProps & {
4773
+ ref?: Ref<HTMLDivElement> | undefined;
4774
+ }) => JSX.Element;
4409
4775
  //#endregion
4410
4776
  //#region src/components/Thumbnail/ThumbnailBadge.d.ts
4411
4777
  type ThumbnailBadgeProps = {
@@ -4473,7 +4839,20 @@ type ThumbnailProps = Omit<ComponentPropsWithoutRef<"div">, "children"> & {
4473
4839
  /**
4474
4840
  * A `Thumbnail` is a small, reduced-size version of an image or video used as a preview or representative image.
4475
4841
  */
4476
- declare const Thumbnail: ForwardRefExoticComponent<ThumbnailProps & RefAttributes<HTMLDivElement>>;
4842
+ declare const Thumbnail: ({
4843
+ gradientBackground,
4844
+ thumbnailImageType,
4845
+ thumbnailUrl,
4846
+ width,
4847
+ children,
4848
+ storyboard,
4849
+ height,
4850
+ aspectRatio,
4851
+ ref,
4852
+ ...props
4853
+ }: ThumbnailProps & {
4854
+ ref?: Ref<HTMLDivElement> | undefined;
4855
+ }) => JSX.Element;
4477
4856
  //#endregion
4478
4857
  //#region src/components/ThumbnailCollage/ThumbnailCollage.d.ts
4479
4858
  type ThumbnailCollageProps = {