@wistia/ui 0.26.5-beta.dc708dcd.1bbd3a2 → 0.26.6-beta.07d5e63e.7bb2fc5

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
@@ -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,7 +747,25 @@ 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"> & {
@@ -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 = {
@@ -3836,7 +4098,17 @@ type NoIcon$1 = {
3836
4098
  "aria-label"?: never;
3837
4099
  };
3838
4100
  type SegmentedControlItemProps = BaseProps$1 & (IconWithAriaLabel$1 | IconWithLabel$1 | NoIcon$1);
3839
- declare const SegmentedControlItem: ForwardRefExoticComponent<SegmentedControlItemProps & RefAttributes<HTMLButtonElement>>;
4101
+ declare const SegmentedControlItem: ({
4102
+ disabled,
4103
+ icon,
4104
+ label,
4105
+ "aria-label": ariaLabel,
4106
+ value,
4107
+ ref: forwardedRef,
4108
+ ...otherProps
4109
+ }: SegmentedControlItemProps & {
4110
+ ref?: Ref<HTMLButtonElement> | undefined;
4111
+ }) => JSX.Element;
3840
4112
  //#endregion
3841
4113
  //#region src/components/Select/Select.d.ts
3842
4114
  type SelectProps = {
@@ -3902,7 +4174,24 @@ type SelectProps = {
3902
4174
  /**
3903
4175
  * Display a list of options and choose one of them. Replacement for the native Select HTML element.
3904
4176
  */
3905
- declare const Select: ForwardRefExoticComponent<SelectProps & RefAttributes<HTMLButtonElement>>;
4177
+ declare const Select: ({
4178
+ colorScheme,
4179
+ children,
4180
+ onOpenChange,
4181
+ onChange,
4182
+ placeholder,
4183
+ fullWidth,
4184
+ forceOpen,
4185
+ showScrollArrows,
4186
+ disabled,
4187
+ name,
4188
+ value,
4189
+ "aria-invalid": ariaInvalid,
4190
+ ref: forwardedRef,
4191
+ ...props
4192
+ }: SelectProps & {
4193
+ ref?: Ref<HTMLButtonElement> | undefined;
4194
+ }) => JSX.Element;
3906
4195
  //#endregion
3907
4196
  //#region src/components/Select/SelectOption.d.ts
3908
4197
  type SelectOptionProps = {
@@ -3935,7 +4224,16 @@ type SelectOptionProps = {
3935
4224
  */
3936
4225
  checkmarkVerticalAlign?: "center" | "top";
3937
4226
  };
3938
- declare const SelectOption: ForwardRefExoticComponent<SelectOptionProps & RefAttributes<HTMLDivElement>>;
4227
+ declare const SelectOption: ({
4228
+ children,
4229
+ selectedDisplayValue,
4230
+ checkmarkVerticalAlign,
4231
+ textValue,
4232
+ ref: forwardedRef,
4233
+ ...props
4234
+ }: SelectOptionProps & {
4235
+ ref?: Ref<HTMLDivElement> | undefined;
4236
+ }) => JSX.Element;
3939
4237
  //#endregion
3940
4238
  //#region src/components/Select/SelectOptionGroup.d.ts
3941
4239
  type SelectOptionGroupProps = {
@@ -3956,7 +4254,13 @@ type SidebarProps = HTMLAttributes<HTMLElement> & {
3956
4254
  */
3957
4255
  children: ReactNode;
3958
4256
  };
3959
- declare const Sidebar: ForwardRefExoticComponent<SidebarProps & RefAttributes<HTMLElement>>;
4257
+ declare const Sidebar: ({
4258
+ children,
4259
+ ref,
4260
+ ...props
4261
+ }: SidebarProps & {
4262
+ ref?: Ref<HTMLElement> | undefined;
4263
+ }) => JSX.Element;
3960
4264
  //#endregion
3961
4265
  //#region src/components/Sidebar/SidebarHeader.d.ts
3962
4266
  type SidebarHeaderProps = {
@@ -4034,7 +4338,13 @@ type SidebarButtonProps = (Omit<ButtonAsButtonProps, "fullWidth" | "size" | "uns
4034
4338
  */
4035
4339
  selected?: boolean;
4036
4340
  };
4037
- declare const SidebarButton: ForwardRefExoticComponent<SidebarButtonProps & RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
4341
+ declare const SidebarButton: ({
4342
+ selected,
4343
+ ref,
4344
+ ...props
4345
+ }: SidebarButtonProps & {
4346
+ ref?: Ref<HTMLAnchorElement | HTMLButtonElement> | undefined;
4347
+ }) => JSX.Element;
4038
4348
  //#endregion
4039
4349
  //#region src/components/Sidebar/SidebarSearchInput.d.ts
4040
4350
  type SidebarSearchInputProps = Omit<InputProps, "type"> & {
@@ -4045,7 +4355,14 @@ type SidebarSearchInputProps = Omit<InputProps, "type"> & {
4045
4355
  */
4046
4356
  label?: string;
4047
4357
  };
4048
- declare const SidebarSearchInput: ForwardRefExoticComponent<SidebarSearchInputProps & RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
4358
+ declare const SidebarSearchInput: ({
4359
+ id,
4360
+ label,
4361
+ ref,
4362
+ ...props
4363
+ }: SidebarSearchInputProps & {
4364
+ ref?: Ref<HTMLInputElement | HTMLTextAreaElement> | undefined;
4365
+ }) => JSX.Element;
4049
4366
  //#endregion
4050
4367
  //#region src/components/Slider/Slider.d.ts
4051
4368
  type SliderProps = Omit<ComponentPropsWithoutRef<"div">, "onChange"> & {
@@ -4233,7 +4550,24 @@ type SwitchProps = Omit<ComponentPropsWithoutRef<"input">, "hideLabel" | "label"
4233
4550
  */
4234
4551
  hideLabel?: boolean;
4235
4552
  };
4236
- declare const Switch: ForwardRefExoticComponent<SwitchProps & RefAttributes<HTMLInputElement>>;
4553
+ declare const Switch: ({
4554
+ align,
4555
+ checked,
4556
+ disabled,
4557
+ id,
4558
+ label,
4559
+ description,
4560
+ name,
4561
+ onChange,
4562
+ size,
4563
+ value,
4564
+ required,
4565
+ hideLabel,
4566
+ ref,
4567
+ ...props
4568
+ }: SwitchProps & {
4569
+ ref?: Ref<HTMLInputElement> | undefined;
4570
+ }) => JSX.Element;
4237
4571
  //#endregion
4238
4572
  //#region src/components/Table/TableBody.d.ts
4239
4573
  type TableBodyProps = HTMLAttributes<HTMLTableSectionElement> & {
@@ -4373,7 +4707,17 @@ type NoIcon = {
4373
4707
  "aria-label"?: never;
4374
4708
  };
4375
4709
  type TabsTriggerProps = BaseProps & (IconWithAriaLabel | IconWithLabel | NoIcon);
4376
- declare const TabsTrigger: ForwardRefExoticComponent<TabsTriggerProps & RefAttributes<HTMLButtonElement>>;
4710
+ declare const TabsTrigger: ({
4711
+ disabled,
4712
+ icon,
4713
+ label,
4714
+ "aria-label": ariaLabel,
4715
+ value,
4716
+ ref,
4717
+ ...otherProps
4718
+ }: TabsTriggerProps & {
4719
+ ref?: Ref<HTMLButtonElement> | undefined;
4720
+ }) => JSX.Element;
4377
4721
  //#endregion
4378
4722
  //#region src/components/Tag/Tag.d.ts
4379
4723
  type TagProps = ComponentPropsWithoutRef<"div"> & {
@@ -4405,7 +4749,18 @@ type TagProps = ComponentPropsWithoutRef<"div"> & {
4405
4749
  /**
4406
4750
  * A `Tag` is an optionally linked label, with an optional action button, to categorize content.
4407
4751
  */
4408
- declare const Tag: ForwardRefExoticComponent<TagProps & RefAttributes<HTMLDivElement>>;
4752
+ declare const Tag: ({
4753
+ onClickRemove,
4754
+ colorScheme,
4755
+ href,
4756
+ icon,
4757
+ label,
4758
+ onClickRemoveLabel,
4759
+ ref,
4760
+ ...props
4761
+ }: TagProps & {
4762
+ ref?: Ref<HTMLDivElement> | undefined;
4763
+ }) => JSX.Element;
4409
4764
  //#endregion
4410
4765
  //#region src/components/Thumbnail/ThumbnailBadge.d.ts
4411
4766
  type ThumbnailBadgeProps = {
@@ -4473,7 +4828,20 @@ type ThumbnailProps = Omit<ComponentPropsWithoutRef<"div">, "children"> & {
4473
4828
  /**
4474
4829
  * A `Thumbnail` is a small, reduced-size version of an image or video used as a preview or representative image.
4475
4830
  */
4476
- declare const Thumbnail: ForwardRefExoticComponent<ThumbnailProps & RefAttributes<HTMLDivElement>>;
4831
+ declare const Thumbnail: ({
4832
+ gradientBackground,
4833
+ thumbnailImageType,
4834
+ thumbnailUrl,
4835
+ width,
4836
+ children,
4837
+ storyboard,
4838
+ height,
4839
+ aspectRatio,
4840
+ ref,
4841
+ ...props
4842
+ }: ThumbnailProps & {
4843
+ ref?: Ref<HTMLDivElement> | undefined;
4844
+ }) => JSX.Element;
4477
4845
  //#endregion
4478
4846
  //#region src/components/ThumbnailCollage/ThumbnailCollage.d.ts
4479
4847
  type ThumbnailCollageProps = {