@wistia/ui 0.21.11 → 0.21.12-beta.d26fc17f.e6d98ef

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
@@ -5,16 +5,10 @@ import * as styled_components0 from "styled-components";
5
5
  import { css } from "styled-components";
6
6
  import * as react_jsx_runtime0 from "react/jsx-runtime";
7
7
  import { FileAmountLimitValidator, FileSizeValidator, FileTypeValidator, ImageDimensionsValidator, PersistentFileAmountLimitValidator } from "use-file-picker/validators";
8
- import { CollapsibleContentProps } from "@radix-ui/react-collapsible";
9
8
  import { Color } from "culori/fn";
10
- import { ToggleGroupSingleProps } from "@radix-ui/react-toggle-group";
11
- import { PopoverContentProps } from "@radix-ui/react-popover";
12
9
  import * as Ariakit from "@ariakit/react";
13
- import { DropdownMenuCheckboxItemProps, DropdownMenuContentProps, DropdownMenuItemProps, DropdownMenuRadioGroupProps, DropdownMenuRadioItemProps } from "@radix-ui/react-dropdown-menu";
14
10
  import { Schema } from "yup";
15
- import { HoverCardContentProps } from "@radix-ui/react-hover-card";
16
11
  import ReactMarkdown from "react-markdown";
17
- import { TabsContentProps, TabsListProps, TabsProps, TabsTriggerProps } from "@radix-ui/react-tabs";
18
12
  import { ExtractContentTypeFromConfig, FilePickerReturnTypes, ImperativeFilePickerReturnTypes, UseFilePickerConfig, useImperativeFilePickerConfig } from "use-file-picker/types";
19
13
  export * from "use-file-picker/types";
20
14
 
@@ -351,7 +345,7 @@ type LinkProps = LinkAsButtonProps | LinkAsLinkProps;
351
345
  * 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).
352
346
  * The one prop we ignore from react-router is `to`. We use `href` instead and map it under the hood.
353
347
  */
354
- declare const Link: react.ForwardRefExoticComponent<(Omit<LinkAsButtonProps, "ref"> | Omit<LinkAsLinkProps, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
348
+ declare const Link: react.ForwardRefExoticComponent<(Omit<LinkAsButtonProps, "ref"> | Omit<LinkAsLinkProps, "ref">) & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
355
349
  //#endregion
356
350
  //#region src/private/hooks/useResponsiveProp/useResponsiveProp.d.ts
357
351
  type Breakpoints = 'isLgAndDown' | 'isLgAndUp' | 'isMdAndDown' | 'isMdAndUp' | 'isSmAndDown' | 'isSmAndUp' | 'isXlAndDown' | 'isXlAndUp' | 'isXsAndDown' | 'isXsAndUp';
@@ -508,7 +502,7 @@ declare const Button: react.ForwardRefExoticComponent<(Omit<ButtonAsButtonProps,
508
502
  * @ignore
509
503
  */
510
504
  type?: LinkTypes;
511
- }, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
505
+ }, "ref">) & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
512
506
  //#endregion
513
507
  //#region src/private/components/Toast/Toast.d.ts
514
508
  type ToastProps = ComponentPropsWithoutRef<'div'> & {
@@ -615,7 +609,7 @@ declare const ActionButton: react.ForwardRefExoticComponent<(Omit<{
615
609
  * Changes the secondary icon for different use cases
616
610
  */
617
611
  variant?: "default" | "gated" | "menu-down" | "menu-up";
618
- } & Omit<ButtonAsButtonProps, "variant" | "fullWidth" | "isLoading" | "leftIcon" | "rightIcon" | "size" | "unstyled">, "ref"> | Omit<{
612
+ } & Omit<ButtonAsButtonProps, "variant" | "size" | "unstyled" | "isLoading" | "leftIcon" | "fullWidth" | "rightIcon">, "ref"> | Omit<{
619
613
  /**
620
614
  * @override
621
615
  * The text to display for the ActionButton
@@ -644,7 +638,7 @@ declare const ActionButton: react.ForwardRefExoticComponent<(Omit<{
644
638
  * Changes the secondary icon for different use cases
645
639
  */
646
640
  variant?: "default" | "gated" | "menu-down" | "menu-up";
647
- } & Omit<ButtonAsLinkProps, "variant" | "fullWidth" | "isLoading" | "leftIcon" | "rightIcon" | "size" | "unstyled">, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
641
+ } & Omit<ButtonAsLinkProps, "variant" | "size" | "unstyled" | "isLoading" | "leftIcon" | "fullWidth" | "rightIcon">, "ref">) & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
648
642
  //#endregion
649
643
  //#region src/components/Avatar/Avatar.d.ts
650
644
  type AvatarInstanceType = 'image' | 'initials';
@@ -1339,7 +1333,7 @@ type CollapsibleTriggerProps = {
1339
1333
  * A trigger element that will toggle the collapsible content.
1340
1334
  * Usually a [Button](?path=/docs/components-button--docs).
1341
1335
  */
1342
- children: ReactNode;
1336
+ children: ReactElement;
1343
1337
  };
1344
1338
  declare const CollapsibleTrigger: ({
1345
1339
  children
@@ -1636,7 +1630,7 @@ declare const CollapsibleTriggerIcon: {
1636
1630
  };
1637
1631
  //#endregion
1638
1632
  //#region src/components/Collapsible/CollapsibleContent.d.ts
1639
- type CollapsibleContentProps$1 = {
1633
+ type CollapsibleContentProps = {
1640
1634
  /**
1641
1635
  * The number of lines to clamp the content to when `Collapsible` is closed.
1642
1636
  */
@@ -1644,12 +1638,12 @@ type CollapsibleContentProps$1 = {
1644
1638
  /**
1645
1639
  * The content that will be hidden when `Collapsible` is closed.
1646
1640
  */
1647
- children: CollapsibleContentProps['children'];
1641
+ children: ReactNode;
1648
1642
  };
1649
1643
  declare const CollapsibleContent: ({
1650
1644
  clamp,
1651
1645
  children
1652
- }: CollapsibleContentProps$1) => react_jsx_runtime0.JSX.Element;
1646
+ }: CollapsibleContentProps) => react_jsx_runtime0.JSX.Element;
1653
1647
  //#endregion
1654
1648
  //#region src/components/ColorPicker/ColorGrid.d.ts
1655
1649
  type ColorGridProps = PropsWithChildren & {
@@ -3089,8 +3083,7 @@ type GridProps = ComponentPropsWithoutRef<'div'> & {
3089
3083
  declare const Grid: (<C extends ElementType = "div">(props: PolymorphicComponentProps<C, GridProps>) => react.ReactElement | null) & UnknownRecord;
3090
3084
  //#endregion
3091
3085
  //#region src/components/PreviewCard/PreviewCard.d.ts
3092
- type ContentProps$1 = Omit<HoverCardContentProps, 'alignOffset' | 'arrowPadding' | 'asChild' | 'collisionPadding' | 'hideWhenDetached' | 'sideOffset'>;
3093
- type PreviewCardProps = ContentProps$1 & {
3086
+ type PreviewCardProps = {
3094
3087
  /**
3095
3088
  * The content of the preview card
3096
3089
  */
@@ -3107,7 +3100,7 @@ type PreviewCardProps = ContentProps$1 & {
3107
3100
  * The [Link](?path=/docs/components-link--docs) that opens the preview card when hovered.
3108
3101
  * Preview cards should only be used on links—do not use on non-interactive elements (e.g. buttons or plain text).
3109
3102
  */
3110
- trigger: JSX.Element;
3103
+ trigger: ReactElement;
3111
3104
  /**
3112
3105
  * If true, the preview card will use the unstyled Content component instead of StyledContent
3113
3106
  */
@@ -3130,6 +3123,14 @@ type PreviewCardProps = ContentProps$1 & {
3130
3123
  * Force the preview card to be open without user interaction (for debugging and CI)
3131
3124
  */
3132
3125
  forceOpen?: boolean;
3126
+ /**
3127
+ * The preferred side of the trigger to render on
3128
+ */
3129
+ side?: 'bottom' | 'left' | 'right' | 'top';
3130
+ /**
3131
+ * The preferred alignment against the trigger
3132
+ */
3133
+ align?: 'center' | 'end' | 'start';
3133
3134
  };
3134
3135
  /**
3135
3136
  * Preview cards reveal content on hover. **Everything in the card must also exist at the destination**—never put information only in the preview. This pattern is for sighted-only, so treat the card as a preview, not a source of truth.
@@ -3146,6 +3147,8 @@ declare const PreviewCard: {
3146
3147
  closeDelay,
3147
3148
  colorScheme,
3148
3149
  forceOpen,
3150
+ side,
3151
+ align,
3149
3152
  ...props
3150
3153
  }: PreviewCardProps): JSX.Element;
3151
3154
  displayName: string;
@@ -3175,7 +3178,7 @@ declare const IconButton: react.ForwardRefExoticComponent<(Omit<{
3175
3178
  * The [Icon](?path=/docs/components-icon--docs) component to use, e.g. `<Icon type="favorite" />`
3176
3179
  */
3177
3180
  children: JSX.Element;
3178
- } & Omit<ButtonAsButtonProps, "fullWidth" | "leftIcon" | "rightIcon">, "ref"> | Omit<{
3181
+ } & Omit<ButtonAsButtonProps, "leftIcon" | "fullWidth" | "rightIcon">, "ref"> | Omit<{
3179
3182
  /**
3180
3183
  * Accessible text for screen readers.
3181
3184
  */
@@ -3184,7 +3187,7 @@ declare const IconButton: react.ForwardRefExoticComponent<(Omit<{
3184
3187
  * The [Icon](?path=/docs/components-icon--docs) component to use, e.g. `<Icon type="favorite" />`
3185
3188
  */
3186
3189
  children: JSX.Element;
3187
- } & Omit<ButtonAsLinkProps, "fullWidth" | "leftIcon" | "rightIcon">, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
3190
+ } & Omit<ButtonAsLinkProps, "leftIcon" | "fullWidth" | "rightIcon">, "ref">) & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
3188
3191
  //#endregion
3189
3192
  //#region src/components/Image/Image.d.ts
3190
3193
  type ImageProps = ComponentPropsWithoutRef<'img'> & {
@@ -3264,7 +3267,7 @@ type InputClickToCopyProps = Omit<InputProps, 'autoSelect' | 'disabled' | 'right
3264
3267
  /**
3265
3268
  * Provides a readonly input that copies the text to the clipboard when clicked.
3266
3269
  */
3267
- declare const InputClickToCopy: react.ForwardRefExoticComponent<Omit<InputProps, "type" | "disabled" | "value" | "rightIcon" | "autoSelect"> & {
3270
+ declare const InputClickToCopy: react.ForwardRefExoticComponent<Omit<InputProps, "type" | "disabled" | "rightIcon" | "value" | "autoSelect"> & {
3268
3271
  /**
3269
3272
  * When disabled, the copy action will not be triggered
3270
3273
  */
@@ -3461,10 +3464,6 @@ type MenuProps = MenuControlProps & {
3461
3464
  * The label for the trigger element, this is ignored if `trigger` is defined
3462
3465
  */
3463
3466
  label?: string;
3464
- /**
3465
- * Callback for when the user clicks or focuses outside of the menu
3466
- */
3467
- onInteractOutside?: DropdownMenuContentProps['onInteractOutside'];
3468
3467
  /**
3469
3468
  * The side the menu appears on, relative to the trigger
3470
3469
  */
@@ -3586,7 +3585,7 @@ type MenuItemButtonProps = ButtonProps & {
3586
3585
  };
3587
3586
  //#endregion
3588
3587
  //#region src/components/Menu/MenuItem.d.ts
3589
- declare const MenuItem: react.ForwardRefExoticComponent<(Omit<DropdownMenuItemProps & BaseButtonProps & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & {
3588
+ declare const MenuItem: react.ForwardRefExoticComponent<(Omit<BaseButtonProps & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & {
3590
3589
  href?: never;
3591
3590
  type?: "button" | "reset" | "submit";
3592
3591
  children: react.ReactNode;
@@ -3608,7 +3607,16 @@ declare const MenuItem: react.ForwardRefExoticComponent<(Omit<DropdownMenuItemPr
3608
3607
  * Treats the menu item as a link when provided
3609
3608
  */
3610
3609
  href?: MenuItemButtonProps["href"];
3611
- }, "ref"> | Omit<DropdownMenuItemProps & BaseButtonProps & react.ClassAttributes<HTMLAnchorElement> & react.AnchorHTMLAttributes<HTMLAnchorElement> & {
3610
+ /**
3611
+ * Whether the menu should close when this item is clicked
3612
+ * @default true
3613
+ */
3614
+ closeOnClick?: boolean;
3615
+ /**
3616
+ * Callback when the item is selected
3617
+ */
3618
+ onSelect?: (event: SyntheticEvent) => void;
3619
+ }, "ref"> | Omit<BaseButtonProps & react.ClassAttributes<HTMLAnchorElement> & react.AnchorHTMLAttributes<HTMLAnchorElement> & {
3612
3620
  beforeAction?: (() => Promise<void>) | (() => void);
3613
3621
  children: react.ReactNode;
3614
3622
  colorScheme?: ColorSchemeTypes;
@@ -3644,7 +3652,16 @@ declare const MenuItem: react.ForwardRefExoticComponent<(Omit<DropdownMenuItemPr
3644
3652
  * Treats the menu item as a link when provided
3645
3653
  */
3646
3654
  href?: MenuItemButtonProps["href"];
3647
- }, "ref"> | Omit<DropdownMenuItemProps & BaseButtonProps & react.ClassAttributes<HTMLAnchorElement> & react.AnchorHTMLAttributes<HTMLAnchorElement> & {
3655
+ /**
3656
+ * Whether the menu should close when this item is clicked
3657
+ * @default true
3658
+ */
3659
+ closeOnClick?: boolean;
3660
+ /**
3661
+ * Callback when the item is selected
3662
+ */
3663
+ onSelect?: (event: SyntheticEvent) => void;
3664
+ }, "ref"> | Omit<BaseButtonProps & react.ClassAttributes<HTMLAnchorElement> & react.AnchorHTMLAttributes<HTMLAnchorElement> & {
3648
3665
  beforeAction?: (() => Promise<void>) | (() => void);
3649
3666
  children: react.ReactNode;
3650
3667
  colorScheme?: ColorSchemeTypes;
@@ -3686,7 +3703,16 @@ declare const MenuItem: react.ForwardRefExoticComponent<(Omit<DropdownMenuItemPr
3686
3703
  * Treats the menu item as a link when provided
3687
3704
  */
3688
3705
  href?: MenuItemButtonProps["href"];
3689
- }, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
3706
+ /**
3707
+ * Whether the menu should close when this item is clicked
3708
+ * @default true
3709
+ */
3710
+ closeOnClick?: boolean;
3711
+ /**
3712
+ * Callback when the item is selected
3713
+ */
3714
+ onSelect?: (event: SyntheticEvent) => void;
3715
+ }, "ref">) & react.RefAttributes<HTMLButtonElement | HTMLAnchorElement>>;
3690
3716
  //#endregion
3691
3717
  //#region src/components/Menu/MenuItemLabel.d.ts
3692
3718
  type MenuItemLabelProps = {
@@ -3711,15 +3737,19 @@ declare const MenuItemDescription: ({
3711
3737
  }: MenuItemDescriptionProps) => react_jsx_runtime0.JSX.Element;
3712
3738
  //#endregion
3713
3739
  //#region src/components/Menu/MenuRadioGroup.d.ts
3714
- type MenuRadioGroupProps = DropdownMenuRadioGroupProps & {
3740
+ type MenuRadioGroupProps = {
3715
3741
  /**
3716
3742
  * The radio items
3717
3743
  */
3718
3744
  children: ReactNode | ReactNode[];
3719
3745
  /**
3720
- * @ignore
3746
+ * The value of the selected radio item
3721
3747
  */
3722
- asChild?: never;
3748
+ value?: string;
3749
+ /**
3750
+ * Callback when the value changes
3751
+ */
3752
+ onValueChange?: (value: string) => void;
3723
3753
  };
3724
3754
  declare const MenuRadioGroup: {
3725
3755
  ({
@@ -3730,7 +3760,7 @@ declare const MenuRadioGroup: {
3730
3760
  };
3731
3761
  //#endregion
3732
3762
  //#region src/components/Menu/RadioMenuItem.d.ts
3733
- type RadioMenuItemProps = DropdownMenuRadioItemProps & MenuItemButtonProps & {
3763
+ type RadioMenuItemProps = MenuItemButtonProps & {
3734
3764
  /**
3735
3765
  * Optional `Icon` to use as the indicator that the radio item is selected. Must be an instance of [Icon](../?path=/docs/components-icon--docs)
3736
3766
  */
@@ -3738,7 +3768,7 @@ type RadioMenuItemProps = DropdownMenuRadioItemProps & MenuItemButtonProps & {
3738
3768
  /**
3739
3769
  * The value of the item
3740
3770
  */
3741
- value: DropdownMenuRadioItemProps['value'];
3771
+ value: string;
3742
3772
  /**
3743
3773
  * @ignore
3744
3774
  */
@@ -3751,6 +3781,10 @@ type RadioMenuItemProps = DropdownMenuRadioItemProps & MenuItemButtonProps & {
3751
3781
  * @ignore
3752
3782
  */
3753
3783
  ref?: never;
3784
+ /**
3785
+ * Callback when the item is selected
3786
+ */
3787
+ onSelect?: (event: SyntheticEvent) => void;
3754
3788
  };
3755
3789
  declare const RadioMenuItem: {
3756
3790
  ({
@@ -3763,7 +3797,7 @@ declare const RadioMenuItem: {
3763
3797
  };
3764
3798
  //#endregion
3765
3799
  //#region src/components/Menu/CheckboxMenuItem.d.ts
3766
- type CheckboxMenuItemProps = DropdownMenuCheckboxItemProps & MenuItemButtonProps & {
3800
+ type CheckboxMenuItemProps = MenuItemButtonProps & {
3767
3801
  /** Callback to fire when the checked status changes */onCheckedChange: (checked: boolean) => void;
3768
3802
  /**
3769
3803
  * Optional `Icon` to use as the indicator that the checkbox item is selected. Must be an instance of [Icon](../?path=/docs/components-icon--docs)
@@ -3785,6 +3819,10 @@ type CheckboxMenuItemProps = DropdownMenuCheckboxItemProps & MenuItemButtonProps
3785
3819
  * @ignore
3786
3820
  */
3787
3821
  ref?: never;
3822
+ /**
3823
+ * Callback when the item is selected
3824
+ */
3825
+ onSelect?: (event: SyntheticEvent) => void;
3788
3826
  };
3789
3827
  declare const CheckboxMenuItem: {
3790
3828
  ({
@@ -4029,8 +4067,7 @@ type UncontrolledPopoverProps = {
4029
4067
  onOpenChange?: never;
4030
4068
  };
4031
4069
  type PopoverControlProps = ControlledPopoverProps | UncontrolledPopoverProps;
4032
- type ContentProps = Omit<PopoverContentProps, 'alignOffset' | 'arrowPadding' | 'asChild' | 'collisionPadding' | 'hideWhenDetached' | 'sideOffset' | 'updatePositionStrategy'>;
4033
- type PopoverProps = ContentProps & PopoverControlProps & {
4070
+ type PopoverProps = PopoverControlProps & {
4034
4071
  /**
4035
4072
  * The content of the popover
4036
4073
  */
@@ -4054,13 +4091,13 @@ type PopoverProps = ContentProps & PopoverControlProps & {
4054
4091
  /**
4055
4092
  * An interactive element. Most commonly a [Button](?path=/docs/components-button--docs) or [IconButton]([Button](?path=/docs/components-iconbutton--docs)).
4056
4093
  */
4057
- trigger: JSX.Element;
4094
+ trigger: ReactElement;
4058
4095
  /**
4059
4096
  * If true, the popover will use the unstyled Content component instead of StyledContent
4060
4097
  */
4061
4098
  unstyled?: boolean;
4062
4099
  /**
4063
- * If true, the popover will use a custom radix arrow to trigger
4100
+ * If true, the popover will use a custom arrow on the trigger
4064
4101
  */
4065
4102
  withArrow?: boolean;
4066
4103
  /**
@@ -4072,6 +4109,14 @@ type PopoverProps = ContentProps & PopoverControlProps & {
4072
4109
  * Inline styles applied to the popover popup
4073
4110
  */
4074
4111
  style?: CSSProperties;
4112
+ /**
4113
+ * The preferred side of the trigger to render on
4114
+ */
4115
+ side?: 'bottom' | 'left' | 'right' | 'top';
4116
+ /**
4117
+ * The preferred alignment against the trigger
4118
+ */
4119
+ align?: 'center' | 'end' | 'start';
4075
4120
  };
4076
4121
  /**
4077
4122
  * Displays rich content in a portal, triggered by a button.
@@ -4090,6 +4135,8 @@ declare const Popover: {
4090
4135
  isAnimated,
4091
4136
  colorScheme,
4092
4137
  style,
4138
+ side,
4139
+ align,
4093
4140
  ...props
4094
4141
  }: PopoverProps): JSX.Element;
4095
4142
  displayName: string;
@@ -4187,7 +4234,7 @@ type RadioProps = Omit<ComponentPropsWithoutRef<'input'>, 'hideLabel' | 'label'
4187
4234
  */
4188
4235
  hideLabel?: boolean;
4189
4236
  };
4190
- declare const Radio: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "label" | "onChange" | "value" | "size" | "hideLabel"> & {
4237
+ declare const Radio: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "label" | "onChange" | "size" | "value" | "hideLabel"> & {
4191
4238
  /**
4192
4239
  * Indicates the state of the radio
4193
4240
  */
@@ -4449,7 +4496,7 @@ declare const ScrollArea: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDiv
4449
4496
  } & react.RefAttributes<HTMLDivElement>>;
4450
4497
  //#endregion
4451
4498
  //#region src/components/SegmentedControl/SegmentedControl.d.ts
4452
- type SegmentedControlProps = Omit<ToggleGroupSingleProps, 'type'> & {
4499
+ type SegmentedControlProps = {
4453
4500
  /**
4454
4501
  * `SegmentedControlItem`s that will be rendered in grouping
4455
4502
  */
@@ -4478,7 +4525,7 @@ type SegmentedControlProps = Omit<ToggleGroupSingleProps, 'type'> & {
4478
4525
  /**
4479
4526
  * Provides a horizontal set of segments for switching between different values
4480
4527
  */
4481
- declare const SegmentedControl: ForwardRefExoticComponent<RefAttributes<HTMLDivElement> & SegmentedControlProps>;
4528
+ declare const SegmentedControl: ForwardRefExoticComponent<RefAttributes<HTMLDivElement> & SegmentedControlProps & HTMLAttributes<HTMLDivElement>>;
4482
4529
  //#endregion
4483
4530
  //#region src/components/SegmentedControl/SegmentedControlItem.d.ts
4484
4531
  type BaseProps$1 = {
@@ -4663,7 +4710,7 @@ type SliderProps = Omit<ComponentPropsWithoutRef<'div'>, 'onChange'> & {
4663
4710
  * (e.g. on mouseup, touchend, or keyup). Useful for analytics or
4664
4711
  * expensive operations where only the final value matters.
4665
4712
  */
4666
- onValueCommit?: (value: number[]) => void;
4713
+ onValueCommitted?: (value: number[]) => void;
4667
4714
  /**
4668
4715
  * Value to be added or subtracted on each step
4669
4716
  */
@@ -4683,7 +4730,7 @@ declare const Slider: {
4683
4730
  max,
4684
4731
  min,
4685
4732
  onChange,
4686
- onValueCommit,
4733
+ onValueCommitted,
4687
4734
  step,
4688
4735
  value,
4689
4736
  "data-testid": dataTestId,
@@ -4970,7 +5017,12 @@ declare const TableRow: ({
4970
5017
  }: TableRowProps) => JSX.Element;
4971
5018
  //#endregion
4972
5019
  //#region src/components/Tabs/Tabs.d.ts
4973
- type TabsProps$1 = Pick<TabsProps, 'children' | 'defaultValue' | 'onValueChange' | 'value'>;
5020
+ type TabsProps = {
5021
+ children?: React.ReactNode;
5022
+ defaultValue?: string;
5023
+ onValueChange?: (value: string) => void;
5024
+ value?: string;
5025
+ };
4974
5026
  declare const Tabs: {
4975
5027
  ({
4976
5028
  children,
@@ -4978,22 +5030,27 @@ declare const Tabs: {
4978
5030
  onValueChange: onValueChangeProp,
4979
5031
  defaultValue,
4980
5032
  ...props
4981
- }: TabsProps$1): JSX.Element;
5033
+ }: TabsProps): JSX.Element;
4982
5034
  displayName: string;
4983
5035
  };
4984
5036
  //#endregion
4985
5037
  //#region src/components/Tabs/TabsContent.d.ts
4986
- type TabsContentProps$1 = Pick<TabsContentProps, 'children' | 'value'>;
5038
+ type TabsContentProps = {
5039
+ children?: ReactNode;
5040
+ value: string;
5041
+ };
4987
5042
  declare const TabsContent: {
4988
5043
  ({
4989
5044
  children,
4990
5045
  value
4991
- }: TabsContentProps$1): JSX.Element;
5046
+ }: TabsContentProps): JSX.Element;
4992
5047
  displayName: string;
4993
5048
  };
4994
5049
  //#endregion
4995
5050
  //#region src/components/Tabs/TabsList.d.ts
4996
- type TabsListProps$1 = Pick<TabsListProps, 'aria-label'> & PropsWithChildren<{
5051
+ type TabsListProps = {
5052
+ 'aria-label'?: string;
5053
+ } & PropsWithChildren<{
4997
5054
  fullWidth?: boolean;
4998
5055
  }>;
4999
5056
  declare const TabsList: {
@@ -5001,12 +5058,15 @@ declare const TabsList: {
5001
5058
  children,
5002
5059
  fullWidth,
5003
5060
  ...props
5004
- }: TabsListProps$1): JSX.Element;
5061
+ }: TabsListProps): JSX.Element;
5005
5062
  displayName: string;
5006
5063
  };
5007
5064
  //#endregion
5008
5065
  //#region src/components/Tabs/TabsTrigger.d.ts
5009
- type BaseProps = Pick<TabsTriggerProps, 'disabled' | 'value'>;
5066
+ type BaseProps = {
5067
+ disabled?: boolean;
5068
+ value: string;
5069
+ };
5010
5070
  type IconWithLabel = {
5011
5071
  /**
5012
5072
  * The [Icon](?path=/docs/components-icon--docs) component to use, e.g. `<Icon type="favorite" />`
@@ -5037,8 +5097,8 @@ type NoIcon = {
5037
5097
  label?: ReactNode | string;
5038
5098
  'aria-label'?: never;
5039
5099
  };
5040
- type TabsTriggerProps$1 = BaseProps & (IconWithAriaLabel | IconWithLabel | NoIcon);
5041
- declare const TabsTrigger: react.ForwardRefExoticComponent<TabsTriggerProps$1 & react.RefAttributes<HTMLButtonElement>>;
5100
+ type TabsTriggerProps = BaseProps & (IconWithAriaLabel | IconWithLabel | NoIcon);
5101
+ declare const TabsTrigger: react.ForwardRefExoticComponent<TabsTriggerProps & react.RefAttributes<HTMLButtonElement>>;
5042
5102
  //#endregion
5043
5103
  //#region src/components/Tag/Tag.d.ts
5044
5104
  type TagProps = ComponentPropsWithoutRef<'div'> & {