@wistia/ui 0.22.3 → 0.22.4-beta.751eafb4.c632f00

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
 
@@ -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, "fullWidth" | "isLoading" | "leftIcon" | "rightIcon" | "size" | "unstyled" | "variant">, "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, "fullWidth" | "isLoading" | "leftIcon" | "rightIcon" | "size" | "unstyled" | "variant">, "ref">) & _$react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
648
642
  //#endregion
649
643
  //#region src/components/Avatar/Avatar.d.ts
650
644
  type AvatarInstanceType = 'image' | 'initials';
@@ -1230,7 +1224,7 @@ declare const Center: _$react.ForwardRefExoticComponent<Omit<_$react.DetailedHTM
1230
1224
  //#endregion
1231
1225
  //#region src/components/Checkbox/Checkbox.d.ts
1232
1226
  type CheckboxSizeType = 'lg' | 'md' | 'sm';
1233
- declare const Checkbox: _$react.ForwardRefExoticComponent<Omit<Omit<_$react.DetailedHTMLProps<_$react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "label" | "onChange" | "size" | "hideLabel"> & {
1227
+ declare const Checkbox: _$react.ForwardRefExoticComponent<Omit<Omit<_$react.DetailedHTMLProps<_$react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "label" | "size" | "onChange" | "hideLabel"> & {
1234
1228
  /**
1235
1229
  * Indicates the state of the checkbox
1236
1230
  */
@@ -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
@@ -1637,7 +1631,7 @@ declare const CollapsibleTriggerIcon: {
1637
1631
  };
1638
1632
  //#endregion
1639
1633
  //#region src/components/Collapsible/CollapsibleContent.d.ts
1640
- type CollapsibleContentProps$1 = {
1634
+ type CollapsibleContentProps = {
1641
1635
  /**
1642
1636
  * The number of lines to clamp the content to when `Collapsible` is closed.
1643
1637
  */
@@ -1645,12 +1639,12 @@ type CollapsibleContentProps$1 = {
1645
1639
  /**
1646
1640
  * The content that will be hidden when `Collapsible` is closed.
1647
1641
  */
1648
- children: CollapsibleContentProps['children'];
1642
+ children: ReactNode;
1649
1643
  };
1650
1644
  declare const CollapsibleContent: ({
1651
1645
  clamp,
1652
1646
  children
1653
- }: CollapsibleContentProps$1) => _$react_jsx_runtime0.JSX.Element;
1647
+ }: CollapsibleContentProps) => _$react_jsx_runtime0.JSX.Element;
1654
1648
  //#endregion
1655
1649
  //#region src/components/ColorPicker/ColorGrid.d.ts
1656
1650
  type ColorGridProps = PropsWithChildren & {
@@ -1760,6 +1754,7 @@ type ColorPickerProps = PropsWithChildren<{
1760
1754
  */
1761
1755
  value: string;
1762
1756
  }>;
1757
+ type ColorPickerComponentProps = ComponentPropsWithoutRef<'div'> & ColorPickerProps;
1763
1758
  /**
1764
1759
  * A composable color picker built from low-level building blocks. Choose the
1765
1760
  * parts you need, leave out the ones you don't, and include any custom UI
@@ -1777,7 +1772,7 @@ declare const ColorPicker: {
1777
1772
  opacityForContrastCalculation,
1778
1773
  onValueChange,
1779
1774
  value
1780
- }: ColorPickerProps): JSX.Element;
1775
+ }: ColorPickerComponentProps): JSX.Element;
1781
1776
  displayName: string;
1782
1777
  };
1783
1778
  //#endregion
@@ -1808,15 +1803,13 @@ declare const ColorPickerSection: {
1808
1803
  };
1809
1804
  //#endregion
1810
1805
  //#region src/components/ColorPicker/ColorPickerTrigger.d.ts
1811
- type ColorPickerTriggerProps = PropsWithChildren;
1806
+ type ColorPickerTriggerProps = ComponentPropsWithoutRef<'button'>;
1812
1807
  /**
1813
1808
  * The button that toggles the color picker popover open and closed. By default
1814
1809
  * it renders a swatch and hex label for the current color; pass custom children
1815
1810
  * to replace that content.
1816
1811
  */
1817
- declare const ColorPickerTrigger: _$react.ForwardRefExoticComponent<{
1818
- children?: _$react.ReactNode | undefined;
1819
- } & _$react.RefAttributes<HTMLButtonElement>>;
1812
+ declare const ColorPickerTrigger: _$react.ForwardRefExoticComponent<Omit<_$react.DetailedHTMLProps<_$react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & _$react.RefAttributes<HTMLButtonElement>>;
1820
1813
  //#endregion
1821
1814
  //#region src/components/ColorPicker/ContrastControls.d.ts
1822
1815
  type ContrastControlsProps = object;
@@ -3090,8 +3083,7 @@ type GridProps = ComponentPropsWithoutRef<'div'> & {
3090
3083
  declare const Grid: (<C extends ElementType = "div">(props: PolymorphicComponentProps<C, GridProps>) => _$react.ReactElement | null) & UnknownRecord;
3091
3084
  //#endregion
3092
3085
  //#region src/components/PreviewCard/PreviewCard.d.ts
3093
- type ContentProps$1 = Omit<HoverCardContentProps, 'alignOffset' | 'arrowPadding' | 'asChild' | 'collisionPadding' | 'hideWhenDetached' | 'sideOffset'>;
3094
- type PreviewCardProps = ContentProps$1 & {
3086
+ type PreviewCardProps = {
3095
3087
  /**
3096
3088
  * The content of the preview card
3097
3089
  */
@@ -3108,7 +3100,7 @@ type PreviewCardProps = ContentProps$1 & {
3108
3100
  * The [Link](?path=/docs/components-link--docs) that opens the preview card when hovered.
3109
3101
  * Preview cards should only be used on links—do not use on non-interactive elements (e.g. buttons or plain text).
3110
3102
  */
3111
- trigger: JSX.Element;
3103
+ trigger: ReactElement;
3112
3104
  /**
3113
3105
  * If true, the preview card will use the unstyled Content component instead of StyledContent
3114
3106
  */
@@ -3131,6 +3123,14 @@ type PreviewCardProps = ContentProps$1 & {
3131
3123
  * Force the preview card to be open without user interaction (for debugging and CI)
3132
3124
  */
3133
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';
3134
3134
  };
3135
3135
  /**
3136
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.
@@ -3147,6 +3147,8 @@ declare const PreviewCard: {
3147
3147
  closeDelay,
3148
3148
  colorScheme,
3149
3149
  forceOpen,
3150
+ side,
3151
+ align,
3150
3152
  ...props
3151
3153
  }: PreviewCardProps): JSX.Element;
3152
3154
  displayName: string;
@@ -3265,7 +3267,7 @@ type InputClickToCopyProps = Omit<InputProps, 'autoSelect' | 'disabled' | 'right
3265
3267
  /**
3266
3268
  * Provides a readonly input that copies the text to the clipboard when clicked.
3267
3269
  */
3268
- declare const InputClickToCopy: _$react.ForwardRefExoticComponent<Omit<InputProps, "type" | "rightIcon" | "disabled" | "value" | "autoSelect"> & {
3270
+ declare const InputClickToCopy: _$react.ForwardRefExoticComponent<Omit<InputProps, "rightIcon" | "disabled" | "type" | "value" | "autoSelect"> & {
3269
3271
  /**
3270
3272
  * When disabled, the copy action will not be triggered
3271
3273
  */
@@ -3294,7 +3296,7 @@ type InputPasswordProps = Omit<InputProps, 'leftIcon' | 'monospace' | 'rightIcon
3294
3296
  /**
3295
3297
  * A password input component with a toggle button to show or hide the password text.
3296
3298
  */
3297
- declare const InputPassword: _$react.ForwardRefExoticComponent<Omit<InputProps, "type" | "leftIcon" | "rightIcon" | "monospace"> & {
3299
+ declare const InputPassword: _$react.ForwardRefExoticComponent<Omit<InputProps, "leftIcon" | "rightIcon" | "type" | "monospace"> & {
3298
3300
  /**
3299
3301
  * Set the disabled state of the input
3300
3302
  */
@@ -3475,10 +3477,6 @@ type MenuProps = MenuControlProps & {
3475
3477
  * The label for the trigger element, this is ignored if `trigger` is defined
3476
3478
  */
3477
3479
  label?: string;
3478
- /**
3479
- * Callback for when the user clicks or focuses outside of the menu
3480
- */
3481
- onInteractOutside?: DropdownMenuContentProps['onInteractOutside'];
3482
3480
  /**
3483
3481
  * The side the menu appears on, relative to the trigger
3484
3482
  */
@@ -3600,7 +3598,7 @@ type MenuItemButtonProps = ButtonProps & {
3600
3598
  };
3601
3599
  //#endregion
3602
3600
  //#region src/components/Menu/MenuItem.d.ts
3603
- declare const MenuItem: _$react.ForwardRefExoticComponent<(Omit<DropdownMenuItemProps & BaseButtonProps & _$react.ClassAttributes<HTMLButtonElement> & _$react.ButtonHTMLAttributes<HTMLButtonElement> & {
3601
+ declare const MenuItem: _$react.ForwardRefExoticComponent<(Omit<BaseButtonProps & _$react.ClassAttributes<HTMLButtonElement> & _$react.ButtonHTMLAttributes<HTMLButtonElement> & {
3604
3602
  href?: never;
3605
3603
  type?: "button" | "reset" | "submit";
3606
3604
  children: _$react.ReactNode;
@@ -3622,7 +3620,16 @@ declare const MenuItem: _$react.ForwardRefExoticComponent<(Omit<DropdownMenuItem
3622
3620
  * Treats the menu item as a link when provided
3623
3621
  */
3624
3622
  href?: MenuItemButtonProps["href"];
3625
- }, "ref"> | Omit<DropdownMenuItemProps & BaseButtonProps & _$react.ClassAttributes<HTMLAnchorElement> & _$react.AnchorHTMLAttributes<HTMLAnchorElement> & {
3623
+ /**
3624
+ * Whether the menu should close when this item is clicked
3625
+ * @default true
3626
+ */
3627
+ closeOnClick?: boolean;
3628
+ /**
3629
+ * Callback when the item is selected
3630
+ */
3631
+ onSelect?: (event: SyntheticEvent) => void;
3632
+ }, "ref"> | Omit<BaseButtonProps & _$react.ClassAttributes<HTMLAnchorElement> & _$react.AnchorHTMLAttributes<HTMLAnchorElement> & {
3626
3633
  beforeAction?: (() => Promise<void>) | (() => void);
3627
3634
  children: _$react.ReactNode;
3628
3635
  colorScheme?: ColorSchemeTypes;
@@ -3658,7 +3665,16 @@ declare const MenuItem: _$react.ForwardRefExoticComponent<(Omit<DropdownMenuItem
3658
3665
  * Treats the menu item as a link when provided
3659
3666
  */
3660
3667
  href?: MenuItemButtonProps["href"];
3661
- }, "ref"> | Omit<DropdownMenuItemProps & BaseButtonProps & _$react.ClassAttributes<HTMLAnchorElement> & _$react.AnchorHTMLAttributes<HTMLAnchorElement> & {
3668
+ /**
3669
+ * Whether the menu should close when this item is clicked
3670
+ * @default true
3671
+ */
3672
+ closeOnClick?: boolean;
3673
+ /**
3674
+ * Callback when the item is selected
3675
+ */
3676
+ onSelect?: (event: SyntheticEvent) => void;
3677
+ }, "ref"> | Omit<BaseButtonProps & _$react.ClassAttributes<HTMLAnchorElement> & _$react.AnchorHTMLAttributes<HTMLAnchorElement> & {
3662
3678
  beforeAction?: (() => Promise<void>) | (() => void);
3663
3679
  children: _$react.ReactNode;
3664
3680
  colorScheme?: ColorSchemeTypes;
@@ -3700,6 +3716,15 @@ declare const MenuItem: _$react.ForwardRefExoticComponent<(Omit<DropdownMenuItem
3700
3716
  * Treats the menu item as a link when provided
3701
3717
  */
3702
3718
  href?: MenuItemButtonProps["href"];
3719
+ /**
3720
+ * Whether the menu should close when this item is clicked
3721
+ * @default true
3722
+ */
3723
+ closeOnClick?: boolean;
3724
+ /**
3725
+ * Callback when the item is selected
3726
+ */
3727
+ onSelect?: (event: SyntheticEvent) => void;
3703
3728
  }, "ref">) & _$react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
3704
3729
  //#endregion
3705
3730
  //#region src/components/Menu/MenuItemLabel.d.ts
@@ -3725,15 +3750,19 @@ declare const MenuItemDescription: ({
3725
3750
  }: MenuItemDescriptionProps) => _$react_jsx_runtime0.JSX.Element;
3726
3751
  //#endregion
3727
3752
  //#region src/components/Menu/MenuRadioGroup.d.ts
3728
- type MenuRadioGroupProps = DropdownMenuRadioGroupProps & {
3753
+ type MenuRadioGroupProps = {
3729
3754
  /**
3730
3755
  * The radio items
3731
3756
  */
3732
3757
  children: ReactNode | ReactNode[];
3733
3758
  /**
3734
- * @ignore
3759
+ * The value of the selected radio item
3735
3760
  */
3736
- asChild?: never;
3761
+ value?: string;
3762
+ /**
3763
+ * Callback when the value changes
3764
+ */
3765
+ onValueChange?: (value: string) => void;
3737
3766
  };
3738
3767
  declare const MenuRadioGroup: {
3739
3768
  ({
@@ -3744,7 +3773,7 @@ declare const MenuRadioGroup: {
3744
3773
  };
3745
3774
  //#endregion
3746
3775
  //#region src/components/Menu/RadioMenuItem.d.ts
3747
- type RadioMenuItemProps = DropdownMenuRadioItemProps & MenuItemButtonProps & {
3776
+ type RadioMenuItemProps = MenuItemButtonProps & {
3748
3777
  /**
3749
3778
  * Optional `Icon` to use as the indicator that the radio item is selected. Must be an instance of [Icon](../?path=/docs/components-icon--docs)
3750
3779
  */
@@ -3752,7 +3781,7 @@ type RadioMenuItemProps = DropdownMenuRadioItemProps & MenuItemButtonProps & {
3752
3781
  /**
3753
3782
  * The value of the item
3754
3783
  */
3755
- value: DropdownMenuRadioItemProps['value'];
3784
+ value: string;
3756
3785
  /**
3757
3786
  * @ignore
3758
3787
  */
@@ -3765,6 +3794,10 @@ type RadioMenuItemProps = DropdownMenuRadioItemProps & MenuItemButtonProps & {
3765
3794
  * @ignore
3766
3795
  */
3767
3796
  ref?: never;
3797
+ /**
3798
+ * Callback when the item is selected
3799
+ */
3800
+ onSelect?: (event: SyntheticEvent) => void;
3768
3801
  };
3769
3802
  declare const RadioMenuItem: {
3770
3803
  ({
@@ -3777,7 +3810,7 @@ declare const RadioMenuItem: {
3777
3810
  };
3778
3811
  //#endregion
3779
3812
  //#region src/components/Menu/CheckboxMenuItem.d.ts
3780
- type CheckboxMenuItemProps = DropdownMenuCheckboxItemProps & MenuItemButtonProps & {
3813
+ type CheckboxMenuItemProps = MenuItemButtonProps & {
3781
3814
  /** Callback to fire when the checked status changes */onCheckedChange: (checked: boolean) => void;
3782
3815
  /**
3783
3816
  * Optional `Icon` to use as the indicator that the checkbox item is selected. Must be an instance of [Icon](../?path=/docs/components-icon--docs)
@@ -3799,6 +3832,10 @@ type CheckboxMenuItemProps = DropdownMenuCheckboxItemProps & MenuItemButtonProps
3799
3832
  * @ignore
3800
3833
  */
3801
3834
  ref?: never;
3835
+ /**
3836
+ * Callback when the item is selected
3837
+ */
3838
+ onSelect?: (event: SyntheticEvent) => void;
3802
3839
  };
3803
3840
  declare const CheckboxMenuItem: {
3804
3841
  ({
@@ -4043,8 +4080,7 @@ type UncontrolledPopoverProps = {
4043
4080
  onOpenChange?: never;
4044
4081
  };
4045
4082
  type PopoverControlProps = ControlledPopoverProps | UncontrolledPopoverProps;
4046
- type ContentProps = Omit<PopoverContentProps, 'alignOffset' | 'arrowPadding' | 'asChild' | 'collisionPadding' | 'hideWhenDetached' | 'sideOffset' | 'updatePositionStrategy'>;
4047
- type PopoverProps = ContentProps & PopoverControlProps & {
4083
+ type PopoverProps = PopoverControlProps & {
4048
4084
  /**
4049
4085
  * The content of the popover
4050
4086
  */
@@ -4068,13 +4104,13 @@ type PopoverProps = ContentProps & PopoverControlProps & {
4068
4104
  /**
4069
4105
  * An interactive element. Most commonly a [Button](?path=/docs/components-button--docs) or [IconButton]([Button](?path=/docs/components-iconbutton--docs)).
4070
4106
  */
4071
- trigger: JSX.Element;
4107
+ trigger: ReactElement;
4072
4108
  /**
4073
4109
  * If true, the popover will use the unstyled Content component instead of StyledContent
4074
4110
  */
4075
4111
  unstyled?: boolean;
4076
4112
  /**
4077
- * If true, the popover will use a custom radix arrow to trigger
4113
+ * If true, the popover will use a custom arrow on the trigger
4078
4114
  */
4079
4115
  withArrow?: boolean;
4080
4116
  /**
@@ -4086,6 +4122,18 @@ type PopoverProps = ContentProps & PopoverControlProps & {
4086
4122
  * Inline styles applied to the popover popup
4087
4123
  */
4088
4124
  style?: CSSProperties;
4125
+ /**
4126
+ * The preferred side of the trigger to render on
4127
+ */
4128
+ side?: 'bottom' | 'left' | 'right' | 'top';
4129
+ /**
4130
+ * The preferred alignment against the trigger
4131
+ */
4132
+ align?: 'center' | 'end' | 'start';
4133
+ /**
4134
+ * Whether the trigger should be treated as a native button (default: true)
4135
+ */
4136
+ nativeButton?: boolean;
4089
4137
  };
4090
4138
  /**
4091
4139
  * Displays rich content in a portal, triggered by a button.
@@ -4104,6 +4152,9 @@ declare const Popover: {
4104
4152
  isAnimated,
4105
4153
  colorScheme,
4106
4154
  style,
4155
+ side,
4156
+ align,
4157
+ nativeButton,
4107
4158
  ...props
4108
4159
  }: PopoverProps): JSX.Element;
4109
4160
  displayName: string;
@@ -4201,7 +4252,7 @@ type RadioProps = Omit<ComponentPropsWithoutRef<'input'>, 'hideLabel' | 'label'
4201
4252
  */
4202
4253
  hideLabel?: boolean;
4203
4254
  };
4204
- declare const Radio: _$react.ForwardRefExoticComponent<Omit<Omit<_$react.DetailedHTMLProps<_$react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "label" | "onChange" | "size" | "value" | "hideLabel"> & {
4255
+ declare const Radio: _$react.ForwardRefExoticComponent<Omit<Omit<_$react.DetailedHTMLProps<_$react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "label" | "size" | "value" | "onChange" | "hideLabel"> & {
4205
4256
  /**
4206
4257
  * Indicates the state of the radio
4207
4258
  */
@@ -4463,7 +4514,7 @@ declare const ScrollArea: _$react.ForwardRefExoticComponent<HTMLAttributes<HTMLD
4463
4514
  } & _$react.RefAttributes<HTMLDivElement>>;
4464
4515
  //#endregion
4465
4516
  //#region src/components/SegmentedControl/SegmentedControl.d.ts
4466
- type SegmentedControlProps = Omit<ToggleGroupSingleProps, 'type'> & {
4517
+ type SegmentedControlProps = {
4467
4518
  /**
4468
4519
  * `SegmentedControlItem`s that will be rendered in grouping
4469
4520
  */
@@ -4492,7 +4543,7 @@ type SegmentedControlProps = Omit<ToggleGroupSingleProps, 'type'> & {
4492
4543
  /**
4493
4544
  * Provides a horizontal set of segments for switching between different values
4494
4545
  */
4495
- declare const SegmentedControl: ForwardRefExoticComponent<RefAttributes<HTMLDivElement> & SegmentedControlProps>;
4546
+ declare const SegmentedControl: ForwardRefExoticComponent<RefAttributes<HTMLDivElement> & SegmentedControlProps & HTMLAttributes<HTMLDivElement>>;
4496
4547
  //#endregion
4497
4548
  //#region src/components/SegmentedControl/SegmentedControlItem.d.ts
4498
4549
  type BaseProps$1 = {
@@ -4677,7 +4728,7 @@ type SliderProps = Omit<ComponentPropsWithoutRef<'div'>, 'onChange'> & {
4677
4728
  * (e.g. on mouseup, touchend, or keyup). Useful for analytics or
4678
4729
  * expensive operations where only the final value matters.
4679
4730
  */
4680
- onValueCommit?: (value: number[]) => void;
4731
+ onValueCommitted?: (value: number[]) => void;
4681
4732
  /**
4682
4733
  * Value to be added or subtracted on each step
4683
4734
  */
@@ -4697,7 +4748,7 @@ declare const Slider: {
4697
4748
  max,
4698
4749
  min,
4699
4750
  onChange,
4700
- onValueCommit,
4751
+ onValueCommitted,
4701
4752
  step,
4702
4753
  value,
4703
4754
  "data-testid": dataTestId,
@@ -4984,7 +5035,12 @@ declare const TableRow: ({
4984
5035
  }: TableRowProps) => JSX.Element;
4985
5036
  //#endregion
4986
5037
  //#region src/components/Tabs/Tabs.d.ts
4987
- type TabsProps$1 = Pick<TabsProps, 'children' | 'defaultValue' | 'onValueChange' | 'value'>;
5038
+ type TabsProps = {
5039
+ children?: React.ReactNode;
5040
+ defaultValue?: string;
5041
+ onValueChange?: (value: string) => void;
5042
+ value?: string;
5043
+ };
4988
5044
  declare const Tabs: {
4989
5045
  ({
4990
5046
  children,
@@ -4992,22 +5048,27 @@ declare const Tabs: {
4992
5048
  onValueChange: onValueChangeProp,
4993
5049
  defaultValue,
4994
5050
  ...props
4995
- }: TabsProps$1): JSX.Element;
5051
+ }: TabsProps): JSX.Element;
4996
5052
  displayName: string;
4997
5053
  };
4998
5054
  //#endregion
4999
5055
  //#region src/components/Tabs/TabsContent.d.ts
5000
- type TabsContentProps$1 = Pick<TabsContentProps, 'children' | 'value'>;
5056
+ type TabsContentProps = {
5057
+ children?: ReactNode;
5058
+ value: string;
5059
+ };
5001
5060
  declare const TabsContent: {
5002
5061
  ({
5003
5062
  children,
5004
5063
  value
5005
- }: TabsContentProps$1): JSX.Element;
5064
+ }: TabsContentProps): JSX.Element;
5006
5065
  displayName: string;
5007
5066
  };
5008
5067
  //#endregion
5009
5068
  //#region src/components/Tabs/TabsList.d.ts
5010
- type TabsListProps$1 = Pick<TabsListProps, 'aria-label'> & PropsWithChildren<{
5069
+ type TabsListProps = {
5070
+ 'aria-label'?: string;
5071
+ } & PropsWithChildren<{
5011
5072
  fullWidth?: boolean;
5012
5073
  }>;
5013
5074
  declare const TabsList: {
@@ -5015,12 +5076,15 @@ declare const TabsList: {
5015
5076
  children,
5016
5077
  fullWidth,
5017
5078
  ...props
5018
- }: TabsListProps$1): JSX.Element;
5079
+ }: TabsListProps): JSX.Element;
5019
5080
  displayName: string;
5020
5081
  };
5021
5082
  //#endregion
5022
5083
  //#region src/components/Tabs/TabsTrigger.d.ts
5023
- type BaseProps = Pick<TabsTriggerProps, 'disabled' | 'value'>;
5084
+ type BaseProps = {
5085
+ disabled?: boolean;
5086
+ value: string;
5087
+ };
5024
5088
  type IconWithLabel = {
5025
5089
  /**
5026
5090
  * The [Icon](?path=/docs/components-icon--docs) component to use, e.g. `<Icon type="favorite" />`
@@ -5051,8 +5115,8 @@ type NoIcon = {
5051
5115
  label?: ReactNode | string;
5052
5116
  'aria-label'?: never;
5053
5117
  };
5054
- type TabsTriggerProps$1 = BaseProps & (IconWithAriaLabel | IconWithLabel | NoIcon);
5055
- declare const TabsTrigger: _$react.ForwardRefExoticComponent<TabsTriggerProps$1 & _$react.RefAttributes<HTMLButtonElement>>;
5118
+ type TabsTriggerProps = BaseProps & (IconWithAriaLabel | IconWithLabel | NoIcon);
5119
+ declare const TabsTrigger: _$react.ForwardRefExoticComponent<TabsTriggerProps & _$react.RefAttributes<HTMLButtonElement>>;
5056
5120
  //#endregion
5057
5121
  //#region src/components/Tag/Tag.d.ts
5058
5122
  type TagProps = ComponentPropsWithoutRef<'div'> & {