@wistia/ui 0.22.10 → 0.23.0-beta.0305c5ba.e30dd08

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,17 +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 * as _$_radix_ui_react_popover0 from "@radix-ui/react-popover";
12
- import { Anchor, Close, PopoverContentProps as PopoverContentProps$1, Portal, Root as Root$2, Trigger as Trigger$1 } from "@radix-ui/react-popover";
13
9
  import * as Ariakit from "@ariakit/react";
14
- import { DropdownMenuCheckboxItemProps, DropdownMenuContentProps, DropdownMenuItemProps, DropdownMenuRadioGroupProps, DropdownMenuRadioItemProps } from "@radix-ui/react-dropdown-menu";
15
10
  import { Schema } from "yup";
16
- import { HoverCardContentProps } from "@radix-ui/react-hover-card";
17
11
  import ReactMarkdown from "react-markdown";
18
- import { TabsContentProps, TabsListProps, TabsProps, TabsTriggerProps } from "@radix-ui/react-tabs";
19
12
  import { ExtractContentTypeFromConfig, FilePickerReturnTypes, ImperativeFilePickerReturnTypes, UseFilePickerConfig, useImperativeFilePickerConfig } from "use-file-picker/types";
20
13
  export * from "use-file-picker/types";
21
14
 
@@ -94,6 +87,7 @@ declare const dateTime: {
94
87
  monthDayStringNumeric: (date: unknown, {
95
88
  timeZone
96
89
  }?: DateOnlyStringOptions) => string;
90
+ parseDateString: (str: string) => Date | null;
97
91
  sessionDurationString: (numberOfMilliseconds: number) => string;
98
92
  timeAgoString: (date: Date, {
99
93
  nowAnchor,
@@ -451,7 +445,7 @@ type ButtonProps = ButtonAsButtonProps | ButtonAsLinkProps;
451
445
  * action, or performing a delete operation. It replaces the HTML `<button>` element,
452
446
  * unless an `href` attribute is passed, in which it will render an `<a>` element.
453
447
  */
454
- declare const Button: _$react.ForwardRefExoticComponent<(Omit<BaseButtonProps & _$react.ClassAttributes<HTMLAnchorElement> & _$react.AnchorHTMLAttributes<HTMLAnchorElement> & {
448
+ declare const Button: _$react.ForwardRefExoticComponent<(Omit<ButtonAsButtonProps, "ref"> | Omit<BaseButtonProps & _$react.ClassAttributes<HTMLAnchorElement> & _$react.AnchorHTMLAttributes<HTMLAnchorElement> & {
455
449
  beforeAction?: (() => Promise<void>) | (() => void);
456
450
  children: ReactNode;
457
451
  colorScheme?: ColorSchemeTypes;
@@ -509,7 +503,7 @@ declare const Button: _$react.ForwardRefExoticComponent<(Omit<BaseButtonProps &
509
503
  * @ignore
510
504
  */
511
505
  type?: LinkTypes;
512
- }, "ref"> | Omit<ButtonAsButtonProps, "ref">) & _$react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
506
+ }, "ref">) & _$react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
513
507
  //#endregion
514
508
  //#region src/private/components/Toast/Toast.d.ts
515
509
  type ToastProps = ComponentPropsWithoutRef<'div'> & {
@@ -616,7 +610,7 @@ declare const ActionButton: _$react.ForwardRefExoticComponent<(Omit<{
616
610
  * Changes the secondary icon for different use cases
617
611
  */
618
612
  variant?: "default" | "gated" | "menu-down" | "menu-up";
619
- } & Omit<ButtonAsButtonProps, "variant" | "size" | "leftIcon" | "isLoading" | "fullWidth" | "unstyled" | "rightIcon">, "ref"> | Omit<{
613
+ } & Omit<ButtonAsButtonProps, "size" | "leftIcon" | "rightIcon" | "isLoading" | "fullWidth" | "unstyled" | "variant">, "ref"> | Omit<{
620
614
  /**
621
615
  * @override
622
616
  * The text to display for the ActionButton
@@ -645,7 +639,7 @@ declare const ActionButton: _$react.ForwardRefExoticComponent<(Omit<{
645
639
  * Changes the secondary icon for different use cases
646
640
  */
647
641
  variant?: "default" | "gated" | "menu-down" | "menu-up";
648
- } & Omit<ButtonAsLinkProps, "variant" | "size" | "leftIcon" | "isLoading" | "fullWidth" | "unstyled" | "rightIcon">, "ref">) & _$react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
642
+ } & Omit<ButtonAsLinkProps, "size" | "leftIcon" | "rightIcon" | "isLoading" | "fullWidth" | "unstyled" | "variant">, "ref">) & _$react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
649
643
  //#endregion
650
644
  //#region src/components/Avatar/Avatar.d.ts
651
645
  type AvatarInstanceType = 'image' | 'initials';
@@ -1231,7 +1225,7 @@ declare const Center: _$react.ForwardRefExoticComponent<Omit<_$react.DetailedHTM
1231
1225
  //#endregion
1232
1226
  //#region src/components/Checkbox/Checkbox.d.ts
1233
1227
  type CheckboxSizeType = 'lg' | 'md' | 'sm';
1234
- declare const Checkbox: _$react.ForwardRefExoticComponent<Omit<Omit<_$react.DetailedHTMLProps<_$react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "label" | "onChange" | "size" | "hideLabel"> & {
1228
+ declare const Checkbox: _$react.ForwardRefExoticComponent<Omit<Omit<_$react.DetailedHTMLProps<_$react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "size" | "onChange" | "label" | "hideLabel"> & {
1235
1229
  /**
1236
1230
  * Indicates the state of the checkbox
1237
1231
  */
@@ -1340,7 +1334,7 @@ type CollapsibleTriggerProps = {
1340
1334
  * A trigger element that will toggle the collapsible content.
1341
1335
  * Usually a [Button](?path=/docs/components-button--docs).
1342
1336
  */
1343
- children: ReactNode;
1337
+ children: ReactElement;
1344
1338
  };
1345
1339
  declare const CollapsibleTrigger: ({
1346
1340
  children
@@ -1369,7 +1363,6 @@ declare const iconMap: {
1369
1363
  bank: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1370
1364
  bell: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1371
1365
  bolt: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1372
- 'bullet-list': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1373
1366
  brands: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1374
1367
  calendar: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1375
1368
  'call-to-action': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
@@ -1434,6 +1427,8 @@ declare const iconMap: {
1434
1427
  'film-strip': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1435
1428
  filter: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1436
1429
  fit: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1430
+ 'flip-horizontal': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1431
+ 'flip-vertical': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1437
1432
  fonts: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1438
1433
  footer: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1439
1434
  'full-screen': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
@@ -1451,6 +1446,7 @@ declare const iconMap: {
1451
1446
  info: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1452
1447
  integrations: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1453
1448
  keyboard: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1449
+ layers: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1454
1450
  layout: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1455
1451
  leave: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1456
1452
  library: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
@@ -1485,6 +1481,7 @@ declare const iconMap: {
1485
1481
  'panel-up': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1486
1482
  'paper-clip': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1487
1483
  password: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1484
+ paste: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1488
1485
  pause: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1489
1486
  pencil: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1490
1487
  'pencil-sparkle': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
@@ -1516,6 +1513,7 @@ declare const iconMap: {
1516
1513
  'request-video': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1517
1514
  'revert-to-original': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1518
1515
  rewind: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1516
+ roundness: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1519
1517
  save: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1520
1518
  'save-as-copy': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1521
1519
  scissors: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
@@ -1523,6 +1521,7 @@ declare const iconMap: {
1523
1521
  'screenshare-on': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1524
1522
  search: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1525
1523
  send: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1524
+ shadow: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1526
1525
  shapes: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1527
1526
  share: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1528
1527
  'sharing-permissions': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
@@ -1535,9 +1534,20 @@ declare const iconMap: {
1535
1534
  'switch-accounts': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1536
1535
  tag: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1537
1536
  teleprompter: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1537
+ text: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1538
+ 'text-all-caps': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1538
1539
  'text-bold': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1540
+ 'text-bulleted-list': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1541
+ 'text-center-align': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1539
1542
  'text-italics': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1543
+ 'text-left-align': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1544
+ 'text-line-height': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1545
+ 'text-numbered-list': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1546
+ 'text-right-align': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1540
1547
  'text-size': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1548
+ 'text-strikethrough': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1549
+ 'text-title-case': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1550
+ 'text-underline': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1541
1551
  thumbnail: (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1542
1552
  'thumbs-down': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
1543
1553
  'thumbs-up': (props: _$react.SVGProps<SVGSVGElement>) => _$react_jsx_runtime0.JSX.Element;
@@ -1640,7 +1650,7 @@ declare const CollapsibleTriggerIcon: {
1640
1650
  };
1641
1651
  //#endregion
1642
1652
  //#region src/components/Collapsible/CollapsibleContent.d.ts
1643
- type CollapsibleContentProps$1 = {
1653
+ type CollapsibleContentProps = {
1644
1654
  /**
1645
1655
  * The number of lines to clamp the content to when `Collapsible` is closed.
1646
1656
  */
@@ -1648,12 +1658,12 @@ type CollapsibleContentProps$1 = {
1648
1658
  /**
1649
1659
  * The content that will be hidden when `Collapsible` is closed.
1650
1660
  */
1651
- children: CollapsibleContentProps['children'];
1661
+ children: ReactNode;
1652
1662
  };
1653
1663
  declare const CollapsibleContent: ({
1654
1664
  clamp,
1655
1665
  children
1656
- }: CollapsibleContentProps$1) => _$react_jsx_runtime0.JSX.Element;
1666
+ }: CollapsibleContentProps) => _$react_jsx_runtime0.JSX.Element;
1657
1667
  //#endregion
1658
1668
  //#region src/components/ColorPicker/ColorGrid.d.ts
1659
1669
  type ColorGridProps = PropsWithChildren & {
@@ -2023,7 +2033,7 @@ declare const ContextMenu: ({
2023
2033
  side,
2024
2034
  onRequestClose,
2025
2035
  compact
2026
- }: ContextMenuProps) => _$react_jsx_runtime0.JSX.Element | null;
2036
+ }: ContextMenuProps) => _$react_jsx_runtime0.JSX.Element;
2027
2037
  //#endregion
2028
2038
  //#region src/components/CustomizableThemeWrapper/CustomizableThemeWrapper.d.ts
2029
2039
  type CustomizableTokens = '--wui-color-backdrop' | '--wui-color-bg-app' | '--wui-color-bg-fill-active' | '--wui-color-bg-fill-hover' | '--wui-color-bg-fill-white ' | '--wui-color-bg-fill' | '--wui-color-bg-surface-active' | '--wui-color-bg-surface-disabled' | '--wui-color-bg-surface-hover' | '--wui-color-bg-surface-secondary-active' | '--wui-color-bg-surface-secondary-hover' | '--wui-color-bg-surface-secondary' | '--wui-color-bg-surface-selected-active' | '--wui-color-bg-surface-selected-hover' | '--wui-color-bg-surface-selected' | '--wui-color-bg-surface-tertiary' | '--wui-color-bg-surface' | '--wui-color-bg-tooltip' | '--wui-color-border-active-selected' | '--wui-color-border-active' | '--wui-color-border-disabled' | '--wui-color-border-hover-selected' | '--wui-color-border-hover' | '--wui-color-border-secondary-active' | '--wui-color-border-secondary-hover' | '--wui-color-border-secondary' | '--wui-color-border-selected' | '--wui-color-border' | '--wui-color-drop-shadow' | '--wui-color-focus-color' | '--wui-color-focus-ring-disabled' | '--wui-color-focus-ring' | '--wui-color-icon-disabled' | '--wui-color-icon-on-fill' | '--wui-color-icon-selected' | '--wui-color-icon' | '--wui-color-invalid-indicator' | '--wui-color-notification-pill-color' | '--wui-color-segmented-control-checked-background' | '--wui-color-text-button' | '--wui-color-text-disabled' | '--wui-color-text-link' | '--wui-color-text-on-fill-white-selected' | '--wui-color-text-on-fill' | '--wui-color-text-secondary' | '--wui-color-text-selected' | '--wui-color-text' | '--wui-typography-family-brand' | '--wui-typography-family-default' | '--wui-typography-family-mono' | '--wui-typography-weight-body-bold' | '--wui-typography-weight-body' | '--wui-typography-weight-heading' | '--wui-typography-weight-label-bold' | '--wui-typography-weight-label';
@@ -3097,8 +3107,7 @@ type GridProps = ComponentPropsWithoutRef<'div'> & {
3097
3107
  declare const Grid: (<C extends ElementType = "div">(props: PolymorphicComponentProps<C, GridProps>) => _$react.ReactElement | null) & UnknownRecord;
3098
3108
  //#endregion
3099
3109
  //#region src/components/PreviewCard/PreviewCard.d.ts
3100
- type ContentProps$1 = Omit<HoverCardContentProps, 'alignOffset' | 'arrowPadding' | 'asChild' | 'collisionPadding' | 'hideWhenDetached' | 'sideOffset'>;
3101
- type PreviewCardProps = ContentProps$1 & {
3110
+ type PreviewCardProps = {
3102
3111
  /**
3103
3112
  * The content of the preview card
3104
3113
  */
@@ -3115,7 +3124,7 @@ type PreviewCardProps = ContentProps$1 & {
3115
3124
  * The [Link](?path=/docs/components-link--docs) that opens the preview card when hovered.
3116
3125
  * Preview cards should only be used on links—do not use on non-interactive elements (e.g. buttons or plain text).
3117
3126
  */
3118
- trigger: JSX.Element;
3127
+ trigger: ReactElement;
3119
3128
  /**
3120
3129
  * If true, the preview card will use the unstyled Content component instead of StyledContent
3121
3130
  */
@@ -3138,6 +3147,14 @@ type PreviewCardProps = ContentProps$1 & {
3138
3147
  * Force the preview card to be open without user interaction (for debugging and CI)
3139
3148
  */
3140
3149
  forceOpen?: boolean;
3150
+ /**
3151
+ * The preferred side of the trigger to render on
3152
+ */
3153
+ side?: 'bottom' | 'left' | 'right' | 'top';
3154
+ /**
3155
+ * The preferred alignment against the trigger
3156
+ */
3157
+ align?: 'center' | 'end' | 'start';
3141
3158
  };
3142
3159
  /**
3143
3160
  * 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.
@@ -3154,6 +3171,8 @@ declare const PreviewCard: {
3154
3171
  closeDelay,
3155
3172
  colorScheme,
3156
3173
  forceOpen,
3174
+ side,
3175
+ align,
3157
3176
  ...props
3158
3177
  }: PreviewCardProps): JSX.Element;
3159
3178
  displayName: string;
@@ -3183,7 +3202,7 @@ declare const IconButton: _$react.ForwardRefExoticComponent<(Omit<{
3183
3202
  * The [Icon](?path=/docs/components-icon--docs) component to use, e.g. `<Icon type="favorite" />`
3184
3203
  */
3185
3204
  children: JSX.Element;
3186
- } & Omit<ButtonAsButtonProps, "leftIcon" | "fullWidth" | "rightIcon">, "ref"> | Omit<{
3205
+ } & Omit<ButtonAsButtonProps, "leftIcon" | "rightIcon" | "fullWidth">, "ref"> | Omit<{
3187
3206
  /**
3188
3207
  * Accessible text for screen readers.
3189
3208
  */
@@ -3192,7 +3211,7 @@ declare const IconButton: _$react.ForwardRefExoticComponent<(Omit<{
3192
3211
  * The [Icon](?path=/docs/components-icon--docs) component to use, e.g. `<Icon type="favorite" />`
3193
3212
  */
3194
3213
  children: JSX.Element;
3195
- } & Omit<ButtonAsLinkProps, "leftIcon" | "fullWidth" | "rightIcon">, "ref">) & _$react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
3214
+ } & Omit<ButtonAsLinkProps, "leftIcon" | "rightIcon" | "fullWidth">, "ref">) & _$react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
3196
3215
  //#endregion
3197
3216
  //#region src/components/Image/Image.d.ts
3198
3217
  type ImageProps = ComponentPropsWithoutRef<'img'> & {
@@ -3272,7 +3291,7 @@ type InputClickToCopyProps = Omit<InputProps, 'autoSelect' | 'disabled' | 'right
3272
3291
  /**
3273
3292
  * Provides a readonly input that copies the text to the clipboard when clicked.
3274
3293
  */
3275
- declare const InputClickToCopy: _$react.ForwardRefExoticComponent<Omit<InputProps, "type" | "disabled" | "rightIcon" | "value" | "autoSelect"> & {
3294
+ declare const InputClickToCopy: _$react.ForwardRefExoticComponent<Omit<InputProps, "type" | "disabled" | "value" | "autoSelect" | "rightIcon"> & {
3276
3295
  /**
3277
3296
  * When disabled, the copy action will not be triggered
3278
3297
  */
@@ -3482,10 +3501,6 @@ type MenuProps = MenuControlProps & {
3482
3501
  * The label for the trigger element, this is ignored if `trigger` is defined
3483
3502
  */
3484
3503
  label?: string;
3485
- /**
3486
- * Callback for when the user clicks or focuses outside of the menu
3487
- */
3488
- onInteractOutside?: DropdownMenuContentProps['onInteractOutside'];
3489
3504
  /**
3490
3505
  * The side the menu appears on, relative to the trigger
3491
3506
  */
@@ -3607,7 +3622,38 @@ type MenuItemButtonProps = ButtonProps & {
3607
3622
  };
3608
3623
  //#endregion
3609
3624
  //#region src/components/Menu/MenuItem.d.ts
3610
- declare const MenuItem: _$react.ForwardRefExoticComponent<(Omit<DropdownMenuItemProps & BaseButtonProps & _$react.ClassAttributes<HTMLAnchorElement> & _$react.AnchorHTMLAttributes<HTMLAnchorElement> & {
3625
+ declare const MenuItem: _$react.ForwardRefExoticComponent<(Omit<BaseButtonProps & _$react.ClassAttributes<HTMLButtonElement> & _$react.ButtonHTMLAttributes<HTMLButtonElement> & {
3626
+ href?: never;
3627
+ type?: "button" | "reset" | "submit";
3628
+ children: _$react.ReactNode;
3629
+ } & {
3630
+ appearance?: "dangerous" | "default" | "gated";
3631
+ badge?: _$react.JSX.Element;
3632
+ children?: _$react.ReactNode;
3633
+ command?: _$react.ReactNode;
3634
+ icon?: ButtonProps["leftIcon"];
3635
+ leftIcon?: ButtonProps["leftIcon"];
3636
+ rightIcon?: ButtonProps["rightIcon"];
3637
+ fullWidth?: never;
3638
+ asChild?: never;
3639
+ variant?: never;
3640
+ size?: never;
3641
+ unstyled?: never;
3642
+ } & {
3643
+ /**
3644
+ * Treats the menu item as a link when provided
3645
+ */
3646
+ href?: MenuItemButtonProps["href"];
3647
+ /**
3648
+ * Whether the menu should close when this item is clicked
3649
+ * @default true
3650
+ */
3651
+ closeOnClick?: boolean;
3652
+ /**
3653
+ * Callback when the item is selected
3654
+ */
3655
+ onSelect?: (event: SyntheticEvent) => void;
3656
+ }, "ref"> | Omit<BaseButtonProps & _$react.ClassAttributes<HTMLAnchorElement> & _$react.AnchorHTMLAttributes<HTMLAnchorElement> & {
3611
3657
  beforeAction?: (() => Promise<void>) | (() => void);
3612
3658
  children: _$react.ReactNode;
3613
3659
  colorScheme?: ColorSchemeTypes;
@@ -3643,7 +3689,16 @@ declare const MenuItem: _$react.ForwardRefExoticComponent<(Omit<DropdownMenuItem
3643
3689
  * Treats the menu item as a link when provided
3644
3690
  */
3645
3691
  href?: MenuItemButtonProps["href"];
3646
- }, "ref"> | Omit<DropdownMenuItemProps & BaseButtonProps & _$react.ClassAttributes<HTMLAnchorElement> & _$react.AnchorHTMLAttributes<HTMLAnchorElement> & {
3692
+ /**
3693
+ * Whether the menu should close when this item is clicked
3694
+ * @default true
3695
+ */
3696
+ closeOnClick?: boolean;
3697
+ /**
3698
+ * Callback when the item is selected
3699
+ */
3700
+ onSelect?: (event: SyntheticEvent) => void;
3701
+ }, "ref"> | Omit<BaseButtonProps & _$react.ClassAttributes<HTMLAnchorElement> & _$react.AnchorHTMLAttributes<HTMLAnchorElement> & {
3647
3702
  beforeAction?: (() => Promise<void>) | (() => void);
3648
3703
  children: _$react.ReactNode;
3649
3704
  colorScheme?: ColorSchemeTypes;
@@ -3685,28 +3740,15 @@ declare const MenuItem: _$react.ForwardRefExoticComponent<(Omit<DropdownMenuItem
3685
3740
  * Treats the menu item as a link when provided
3686
3741
  */
3687
3742
  href?: MenuItemButtonProps["href"];
3688
- }, "ref"> | Omit<DropdownMenuItemProps & BaseButtonProps & _$react.ClassAttributes<HTMLButtonElement> & _$react.ButtonHTMLAttributes<HTMLButtonElement> & {
3689
- href?: never;
3690
- type?: "button" | "reset" | "submit";
3691
- children: _$react.ReactNode;
3692
- } & {
3693
- appearance?: "dangerous" | "default" | "gated";
3694
- badge?: _$react.JSX.Element;
3695
- children?: _$react.ReactNode;
3696
- command?: _$react.ReactNode;
3697
- icon?: ButtonProps["leftIcon"];
3698
- leftIcon?: ButtonProps["leftIcon"];
3699
- rightIcon?: ButtonProps["rightIcon"];
3700
- fullWidth?: never;
3701
- asChild?: never;
3702
- variant?: never;
3703
- size?: never;
3704
- unstyled?: never;
3705
- } & {
3706
3743
  /**
3707
- * Treats the menu item as a link when provided
3744
+ * Whether the menu should close when this item is clicked
3745
+ * @default true
3708
3746
  */
3709
- href?: MenuItemButtonProps["href"];
3747
+ closeOnClick?: boolean;
3748
+ /**
3749
+ * Callback when the item is selected
3750
+ */
3751
+ onSelect?: (event: SyntheticEvent) => void;
3710
3752
  }, "ref">) & _$react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
3711
3753
  //#endregion
3712
3754
  //#region src/components/Menu/MenuItemLabel.d.ts
@@ -3732,15 +3774,19 @@ declare const MenuItemDescription: ({
3732
3774
  }: MenuItemDescriptionProps) => _$react_jsx_runtime0.JSX.Element;
3733
3775
  //#endregion
3734
3776
  //#region src/components/Menu/MenuRadioGroup.d.ts
3735
- type MenuRadioGroupProps = DropdownMenuRadioGroupProps & {
3777
+ type MenuRadioGroupProps = {
3736
3778
  /**
3737
3779
  * The radio items
3738
3780
  */
3739
3781
  children: ReactNode | ReactNode[];
3740
3782
  /**
3741
- * @ignore
3783
+ * The value of the selected radio item
3742
3784
  */
3743
- asChild?: never;
3785
+ value?: string;
3786
+ /**
3787
+ * Callback when the value changes
3788
+ */
3789
+ onValueChange?: (value: string) => void;
3744
3790
  };
3745
3791
  declare const MenuRadioGroup: {
3746
3792
  ({
@@ -3751,7 +3797,7 @@ declare const MenuRadioGroup: {
3751
3797
  };
3752
3798
  //#endregion
3753
3799
  //#region src/components/Menu/RadioMenuItem.d.ts
3754
- type RadioMenuItemProps = DropdownMenuRadioItemProps & MenuItemButtonProps & {
3800
+ type RadioMenuItemProps = MenuItemButtonProps & {
3755
3801
  /**
3756
3802
  * Optional `Icon` to use as the indicator that the radio item is selected. Must be an instance of [Icon](../?path=/docs/components-icon--docs)
3757
3803
  */
@@ -3759,7 +3805,7 @@ type RadioMenuItemProps = DropdownMenuRadioItemProps & MenuItemButtonProps & {
3759
3805
  /**
3760
3806
  * The value of the item
3761
3807
  */
3762
- value: DropdownMenuRadioItemProps['value'];
3808
+ value: string;
3763
3809
  /**
3764
3810
  * @ignore
3765
3811
  */
@@ -3772,6 +3818,10 @@ type RadioMenuItemProps = DropdownMenuRadioItemProps & MenuItemButtonProps & {
3772
3818
  * @ignore
3773
3819
  */
3774
3820
  ref?: never;
3821
+ /**
3822
+ * Callback when the item is selected
3823
+ */
3824
+ onSelect?: (event: SyntheticEvent) => void;
3775
3825
  };
3776
3826
  declare const RadioMenuItem: {
3777
3827
  ({
@@ -3784,7 +3834,7 @@ declare const RadioMenuItem: {
3784
3834
  };
3785
3835
  //#endregion
3786
3836
  //#region src/components/Menu/CheckboxMenuItem.d.ts
3787
- type CheckboxMenuItemProps = DropdownMenuCheckboxItemProps & MenuItemButtonProps & {
3837
+ type CheckboxMenuItemProps = MenuItemButtonProps & {
3788
3838
  /** Callback to fire when the checked status changes */onCheckedChange: (checked: boolean) => void;
3789
3839
  /**
3790
3840
  * Optional `Icon` to use as the indicator that the checkbox item is selected. Must be an instance of [Icon](../?path=/docs/components-icon--docs)
@@ -3806,6 +3856,10 @@ type CheckboxMenuItemProps = DropdownMenuCheckboxItemProps & MenuItemButtonProps
3806
3856
  * @ignore
3807
3857
  */
3808
3858
  ref?: never;
3859
+ /**
3860
+ * Callback when the item is selected
3861
+ */
3862
+ onSelect?: (event: SyntheticEvent) => void;
3809
3863
  };
3810
3864
  declare const CheckboxMenuItem: {
3811
3865
  ({
@@ -4050,8 +4104,7 @@ type UncontrolledPopoverProps = {
4050
4104
  onOpenChange?: never;
4051
4105
  };
4052
4106
  type PopoverControlProps = ControlledPopoverProps | UncontrolledPopoverProps;
4053
- type ContentProps = Omit<PopoverContentProps$1, 'alignOffset' | 'arrowPadding' | 'asChild' | 'collisionPadding' | 'hideWhenDetached' | 'sideOffset' | 'updatePositionStrategy'>;
4054
- type PopoverProps = ContentProps & PopoverControlProps & {
4107
+ type PopoverProps = PopoverControlProps & {
4055
4108
  /**
4056
4109
  * The content of the popover
4057
4110
  */
@@ -4075,13 +4128,13 @@ type PopoverProps = ContentProps & PopoverControlProps & {
4075
4128
  /**
4076
4129
  * An interactive element. Most commonly a [Button](?path=/docs/components-button--docs) or [IconButton]([Button](?path=/docs/components-iconbutton--docs)).
4077
4130
  */
4078
- trigger: JSX.Element;
4131
+ trigger: ReactElement;
4079
4132
  /**
4080
4133
  * If true, the popover will use the unstyled Content component instead of StyledContent
4081
4134
  */
4082
4135
  unstyled?: boolean;
4083
4136
  /**
4084
- * If true, the popover will use a custom radix arrow to trigger
4137
+ * If true, the popover will use a custom arrow on the trigger
4085
4138
  */
4086
4139
  withArrow?: boolean;
4087
4140
  /**
@@ -4093,13 +4146,24 @@ type PopoverProps = ContentProps & PopoverControlProps & {
4093
4146
  * Inline styles applied to the popover popup
4094
4147
  */
4095
4148
  style?: CSSProperties;
4149
+ /**
4150
+ * The preferred side of the trigger to render on
4151
+ */
4152
+ side?: 'bottom' | 'left' | 'right' | 'top';
4153
+ /**
4154
+ * The preferred alignment against the trigger
4155
+ */
4156
+ align?: 'center' | 'end' | 'start';
4157
+ /**
4158
+ * Whether the trigger should be treated as a native button (default: true)
4159
+ */
4160
+ nativeButton?: boolean;
4096
4161
  };
4097
4162
  /**
4098
4163
  * Displays rich content in a portal, triggered by a button.
4099
4164
  *
4100
- * For more control — custom anchor, access to event handlers like
4101
- * `onPointerDownOutside`, no injected close button, etc. — compose the
4102
- * primitives directly: `PopoverRoot`, `PopoverTrigger`, `PopoverAnchor`,
4165
+ * For more control — custom anchor, no injected close button, etc. — compose
4166
+ * the primitives directly: `PopoverRoot`, `PopoverTrigger`, `PopoverAnchor`,
4103
4167
  * `PopoverPortal`, `PopoverContent`, `PopoverClose`.
4104
4168
  */
4105
4169
  declare const Popover: {
@@ -4116,19 +4180,31 @@ declare const Popover: {
4116
4180
  isAnimated,
4117
4181
  colorScheme,
4118
4182
  style,
4183
+ side,
4184
+ align,
4185
+ nativeButton,
4119
4186
  ...props
4120
4187
  }: PopoverProps): JSX.Element;
4121
4188
  displayName: string;
4122
4189
  };
4123
4190
  //#endregion
4124
4191
  //#region src/components/Popover/PopoverAnchor.d.ts
4125
- type PopoverAnchorProps = ComponentPropsWithoutRef<typeof Anchor>;
4192
+ type PopoverAnchorProps = {
4193
+ children: ReactNode;
4194
+ };
4126
4195
  /**
4127
4196
  * Positions the popover relative to an element other than the trigger. Useful
4128
4197
  * when the element the user interacts with (e.g. a text input) is separate
4129
4198
  * from what the popover attaches to.
4199
+ *
4200
+ * Wrap the anchor element and nest `PopoverTrigger` inside it.
4130
4201
  */
4131
- declare const PopoverAnchor: _$react.ForwardRefExoticComponent<Omit<_$_radix_ui_react_popover0.PopoverAnchorProps & _$react.RefAttributes<HTMLDivElement>, "ref"> & _$react.RefAttributes<HTMLDivElement>>;
4202
+ declare const PopoverAnchor: {
4203
+ ({
4204
+ children
4205
+ }: PopoverAnchorProps): JSX.Element;
4206
+ displayName: string;
4207
+ };
4132
4208
  //#endregion
4133
4209
  //#region src/components/Popover/PopoverArrow.d.ts
4134
4210
  type PopoverArrowProps = {
@@ -4145,13 +4221,25 @@ declare const PopoverArrow: {
4145
4221
  };
4146
4222
  //#endregion
4147
4223
  //#region src/components/Popover/PopoverClose.d.ts
4148
- type PopoverCloseProps = ComponentPropsWithoutRef<typeof Close>;
4224
+ type PopoverCloseProps = Omit<ComponentPropsWithoutRef<'button'>, 'render'> & {
4225
+ /**
4226
+ * A React element to merge close behavior onto.
4227
+ * When provided, the close button renders this element instead of a plain `<button>`.
4228
+ */
4229
+ render?: ReactElement;
4230
+ };
4149
4231
  /**
4150
4232
  * An element that closes the popover when activated. Defaults to a `<button>`;
4151
- * pass `asChild` to merge the close behavior onto a single child element. For
4233
+ * pass `render` to merge the close behavior onto a single child element. For
4152
4234
  * a pre-styled icon close button, use `PopoverCloseButton`.
4153
4235
  */
4154
- declare const PopoverClose: _$react.ForwardRefExoticComponent<Omit<_$_radix_ui_react_popover0.PopoverCloseProps & _$react.RefAttributes<HTMLButtonElement>, "ref"> & _$react.RefAttributes<HTMLButtonElement>>;
4236
+ declare const PopoverClose: _$react.ForwardRefExoticComponent<Omit<Omit<_$react.DetailedHTMLProps<_$react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "render"> & {
4237
+ /**
4238
+ * A React element to merge close behavior onto.
4239
+ * When provided, the close button renders this element instead of a plain `<button>`.
4240
+ */
4241
+ render?: ReactElement;
4242
+ } & _$react.RefAttributes<HTMLButtonElement>>;
4155
4243
  //#endregion
4156
4244
  //#region src/components/Popover/PopoverCloseButton.d.ts
4157
4245
  type PopoverCloseButtonProps = {
@@ -4169,44 +4257,48 @@ declare const PopoverCloseButton: {
4169
4257
  };
4170
4258
  //#endregion
4171
4259
  //#region src/components/Popover/PopoverContent.d.ts
4172
- type PopoverContentProps = Omit<PopoverContentProps$1, 'asChild'> & {
4260
+ type PopoverContentProps = {
4173
4261
  /** Sets the [color scheme](/docs/color-schemes) applied inside the portal. */colorScheme?: ColorSchemeTypes; /** Remove the default surface styling (padding, background, border, etc.). */
4174
4262
  unstyled?: boolean; /** Applied as `max-width` on the popover surface. Pass `"none"` to uncap. */
4175
4263
  maxWidth?: string; /** Applied as `max-height` on the popover surface. Pass `"none"` to uncap. */
4176
- maxHeight?: string;
4264
+ maxHeight?: string; /** Which side of the trigger to render the popover on. */
4265
+ side?: 'bottom' | 'left' | 'right' | 'top'; /** How to align the popover relative to the specified side. */
4266
+ align?: 'center' | 'end' | 'start'; /** Distance between the anchor and the popup in pixels. */
4267
+ sideOffset?: number; /** Inline styles applied to the popup. */
4268
+ style?: CSSProperties; /** The popover content. */
4269
+ children?: React.ReactNode; /** Role applied to the popup element. */
4270
+ role?: string;
4177
4271
  };
4178
4272
  /**
4179
4273
  * The styled popover surface. Place inside a `PopoverRoot` (typically wrapped
4180
- * in a `PopoverPortal`). Forwards all Radix Content props, including
4181
- * dismissal/focus event handlers such as `onPointerDownOutside`,
4182
- * `onOpenAutoFocus`, and `onCloseAutoFocus`.
4274
+ * in a `PopoverPortal`). Wraps a `Positioner` and `Popup` internally.
4183
4275
  */
4184
- declare const PopoverContent: _$react.ForwardRefExoticComponent<Omit<PopoverContentProps$1, "asChild"> & {
4185
- /** Sets the [color scheme](/docs/color-schemes) applied inside the portal. */colorScheme?: ColorSchemeTypes; /** Remove the default surface styling (padding, background, border, etc.). */
4186
- unstyled?: boolean; /** Applied as `max-width` on the popover surface. Pass `"none"` to uncap. */
4187
- maxWidth?: string; /** Applied as `max-height` on the popover surface. Pass `"none"` to uncap. */
4188
- maxHeight?: string;
4189
- } & _$react.RefAttributes<HTMLDivElement>>;
4276
+ declare const PopoverContent: _$react.ForwardRefExoticComponent<PopoverContentProps & _$react.RefAttributes<HTMLDivElement>>;
4190
4277
  //#endregion
4191
4278
  //#region src/components/Popover/PopoverPortal.d.ts
4192
- type PopoverPortalProps = ComponentPropsWithoutRef<typeof Portal>;
4279
+ type PopoverPortalProps = {
4280
+ children: ReactNode;
4281
+ };
4193
4282
  /**
4194
4283
  * Portals the popover content out of the DOM hierarchy of its trigger so it can
4195
4284
  * escape clipping ancestors (`overflow: hidden`, transformed containers, etc.).
4196
4285
  */
4197
4286
  declare const PopoverPortal: {
4198
- (props: PopoverPortalProps): JSX.Element;
4287
+ ({
4288
+ children
4289
+ }: PopoverPortalProps): JSX.Element;
4199
4290
  displayName: string;
4200
4291
  };
4201
4292
  //#endregion
4202
4293
  //#region src/components/Popover/PopoverRoot.d.ts
4203
- type RadixRootProps = ComponentPropsWithoutRef<typeof Root$2>;
4204
- type PopoverRootProps = Omit<RadixRootProps, 'open'> & {
4294
+ type PopoverRootProps = {
4205
4295
  /**
4206
4296
  * Controlled open state. When provided, pair with `onOpenChange` to update it.
4207
- * Leave unset for uncontrolled behavior (Radix manages state internally).
4297
+ * Leave unset for uncontrolled behavior.
4208
4298
  */
4209
- isOpen?: boolean;
4299
+ isOpen?: boolean; /** Called when the popover open state changes. */
4300
+ onOpenChange?: (isOpen: boolean) => void; /** The composable popover children (Trigger, Portal, etc.). */
4301
+ children: ReactNode;
4210
4302
  };
4211
4303
  /**
4212
4304
  * The root of a composable popover. Wrap `PopoverTrigger` (or `PopoverAnchor`)
@@ -4217,19 +4309,44 @@ type PopoverRootProps = Omit<RadixRootProps, 'open'> & {
4217
4309
  declare const PopoverRoot: {
4218
4310
  ({
4219
4311
  isOpen,
4220
- ...props
4312
+ onOpenChange,
4313
+ children
4221
4314
  }: PopoverRootProps): JSX.Element;
4222
4315
  displayName: string;
4223
4316
  };
4224
4317
  //#endregion
4225
4318
  //#region src/components/Popover/PopoverTrigger.d.ts
4226
- type PopoverTriggerProps = ComponentPropsWithoutRef<typeof Trigger$1>;
4319
+ type PopoverTriggerProps = Omit<ComponentPropsWithoutRef<'button'>, 'render'> & {
4320
+ /**
4321
+ * A React element to merge trigger behavior onto.
4322
+ * When provided, the trigger renders this element instead of a plain `<button>`.
4323
+ */
4324
+ render?: ReactElement;
4325
+ /**
4326
+ * Whether the trigger should be treated as a native button.
4327
+ * Set to `false` if the rendered element is not a button (e.g. `<div>`).
4328
+ * @default true
4329
+ */
4330
+ nativeButton?: boolean;
4331
+ };
4227
4332
  /**
4228
4333
  * The button that toggles the popover open and closed. By default it renders a
4229
- * `<button>` wrapping its children; pass `asChild` to merge the trigger
4334
+ * `<button>` wrapping its children; pass `render` to merge the trigger
4230
4335
  * behavior onto a single child element (e.g. a `Button` or `IconButton`).
4231
4336
  */
4232
- declare const PopoverTrigger: _$react.ForwardRefExoticComponent<Omit<_$_radix_ui_react_popover0.PopoverTriggerProps & _$react.RefAttributes<HTMLButtonElement>, "ref"> & _$react.RefAttributes<HTMLButtonElement>>;
4337
+ declare const PopoverTrigger: _$react.ForwardRefExoticComponent<Omit<Omit<_$react.DetailedHTMLProps<_$react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref">, "render"> & {
4338
+ /**
4339
+ * A React element to merge trigger behavior onto.
4340
+ * When provided, the trigger renders this element instead of a plain `<button>`.
4341
+ */
4342
+ render?: ReactElement;
4343
+ /**
4344
+ * Whether the trigger should be treated as a native button.
4345
+ * Set to `false` if the rendered element is not a button (e.g. `<div>`).
4346
+ * @default true
4347
+ */
4348
+ nativeButton?: boolean;
4349
+ } & _$react.RefAttributes<HTMLButtonElement>>;
4233
4350
  //#endregion
4234
4351
  //#region src/components/ProgressBar/ProgressBar.d.ts
4235
4352
  type ProgressBarProps = ComponentPropsWithoutRef<'div'> & {
@@ -4323,7 +4440,7 @@ type RadioProps = Omit<ComponentPropsWithoutRef<'input'>, 'hideLabel' | 'label'
4323
4440
  */
4324
4441
  hideLabel?: boolean;
4325
4442
  };
4326
- declare const Radio: _$react.ForwardRefExoticComponent<Omit<Omit<_$react.DetailedHTMLProps<_$react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "label" | "onChange" | "size" | "value" | "hideLabel"> & {
4443
+ declare const Radio: _$react.ForwardRefExoticComponent<Omit<Omit<_$react.DetailedHTMLProps<_$react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "size" | "value" | "onChange" | "label" | "hideLabel"> & {
4327
4444
  /**
4328
4445
  * Indicates the state of the radio
4329
4446
  */
@@ -4585,7 +4702,7 @@ declare const ScrollArea: _$react.ForwardRefExoticComponent<HTMLAttributes<HTMLD
4585
4702
  } & _$react.RefAttributes<HTMLDivElement>>;
4586
4703
  //#endregion
4587
4704
  //#region src/components/SegmentedControl/SegmentedControl.d.ts
4588
- type SegmentedControlProps = Omit<ToggleGroupSingleProps, 'type'> & {
4705
+ type SegmentedControlProps = {
4589
4706
  /**
4590
4707
  * `SegmentedControlItem`s that will be rendered in grouping
4591
4708
  */
@@ -4614,7 +4731,7 @@ type SegmentedControlProps = Omit<ToggleGroupSingleProps, 'type'> & {
4614
4731
  /**
4615
4732
  * Provides a horizontal set of segments for switching between different values
4616
4733
  */
4617
- declare const SegmentedControl: ForwardRefExoticComponent<RefAttributes<HTMLDivElement> & SegmentedControlProps>;
4734
+ declare const SegmentedControl: ForwardRefExoticComponent<RefAttributes<HTMLDivElement> & SegmentedControlProps & HTMLAttributes<HTMLDivElement>>;
4618
4735
  //#endregion
4619
4736
  //#region src/components/SegmentedControl/SegmentedControlItem.d.ts
4620
4737
  type BaseProps$1 = {
@@ -4799,7 +4916,7 @@ type SliderProps = Omit<ComponentPropsWithoutRef<'div'>, 'onChange'> & {
4799
4916
  * (e.g. on mouseup, touchend, or keyup). Useful for analytics or
4800
4917
  * expensive operations where only the final value matters.
4801
4918
  */
4802
- onValueCommit?: (value: number[]) => void;
4919
+ onValueCommitted?: (value: number[]) => void;
4803
4920
  /**
4804
4921
  * Value to be added or subtracted on each step
4805
4922
  */
@@ -4819,7 +4936,7 @@ declare const Slider: {
4819
4936
  max,
4820
4937
  min,
4821
4938
  onChange,
4822
- onValueCommit,
4939
+ onValueCommitted,
4823
4940
  step,
4824
4941
  value,
4825
4942
  "data-testid": dataTestId,
@@ -4976,7 +5093,7 @@ type SwitchProps = Omit<ComponentPropsWithoutRef<'input'>, 'hideLabel' | 'label'
4976
5093
  */
4977
5094
  hideLabel?: boolean;
4978
5095
  };
4979
- declare const Switch: _$react.ForwardRefExoticComponent<Omit<Omit<_$react.DetailedHTMLProps<_$react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "label" | "size" | "hideLabel"> & {
5096
+ declare const Switch: _$react.ForwardRefExoticComponent<Omit<Omit<_$react.DetailedHTMLProps<_$react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "size" | "label" | "hideLabel"> & {
4980
5097
  /**
4981
5098
  * The alignment of the switch relative to the label
4982
5099
  */
@@ -5106,7 +5223,12 @@ declare const TableRow: ({
5106
5223
  }: TableRowProps) => JSX.Element;
5107
5224
  //#endregion
5108
5225
  //#region src/components/Tabs/Tabs.d.ts
5109
- type TabsProps$1 = Pick<TabsProps, 'children' | 'defaultValue' | 'onValueChange' | 'value'>;
5226
+ type TabsProps = {
5227
+ children?: React.ReactNode;
5228
+ defaultValue?: string;
5229
+ onValueChange?: (value: string) => void;
5230
+ value?: string;
5231
+ };
5110
5232
  declare const Tabs: {
5111
5233
  ({
5112
5234
  children,
@@ -5114,22 +5236,27 @@ declare const Tabs: {
5114
5236
  onValueChange: onValueChangeProp,
5115
5237
  defaultValue,
5116
5238
  ...props
5117
- }: TabsProps$1): JSX.Element;
5239
+ }: TabsProps): JSX.Element;
5118
5240
  displayName: string;
5119
5241
  };
5120
5242
  //#endregion
5121
5243
  //#region src/components/Tabs/TabsContent.d.ts
5122
- type TabsContentProps$1 = Pick<TabsContentProps, 'children' | 'value'>;
5244
+ type TabsContentProps = {
5245
+ children?: ReactNode;
5246
+ value: string;
5247
+ };
5123
5248
  declare const TabsContent: {
5124
5249
  ({
5125
5250
  children,
5126
5251
  value
5127
- }: TabsContentProps$1): JSX.Element;
5252
+ }: TabsContentProps): JSX.Element;
5128
5253
  displayName: string;
5129
5254
  };
5130
5255
  //#endregion
5131
5256
  //#region src/components/Tabs/TabsList.d.ts
5132
- type TabsListProps$1 = Pick<TabsListProps, 'aria-label'> & PropsWithChildren<{
5257
+ type TabsListProps = {
5258
+ 'aria-label'?: string;
5259
+ } & PropsWithChildren<{
5133
5260
  fullWidth?: boolean;
5134
5261
  }>;
5135
5262
  declare const TabsList: {
@@ -5137,12 +5264,15 @@ declare const TabsList: {
5137
5264
  children,
5138
5265
  fullWidth,
5139
5266
  ...props
5140
- }: TabsListProps$1): JSX.Element;
5267
+ }: TabsListProps): JSX.Element;
5141
5268
  displayName: string;
5142
5269
  };
5143
5270
  //#endregion
5144
5271
  //#region src/components/Tabs/TabsTrigger.d.ts
5145
- type BaseProps = Pick<TabsTriggerProps, 'disabled' | 'value'>;
5272
+ type BaseProps = {
5273
+ disabled?: boolean;
5274
+ value: string;
5275
+ };
5146
5276
  type IconWithLabel = {
5147
5277
  /**
5148
5278
  * The [Icon](?path=/docs/components-icon--docs) component to use, e.g. `<Icon type="favorite" />`
@@ -5173,8 +5303,8 @@ type NoIcon = {
5173
5303
  label?: ReactNode | string;
5174
5304
  'aria-label'?: never;
5175
5305
  };
5176
- type TabsTriggerProps$1 = BaseProps & (IconWithAriaLabel | IconWithLabel | NoIcon);
5177
- declare const TabsTrigger: _$react.ForwardRefExoticComponent<TabsTriggerProps$1 & _$react.RefAttributes<HTMLButtonElement>>;
5306
+ type TabsTriggerProps = BaseProps & (IconWithAriaLabel | IconWithLabel | NoIcon);
5307
+ declare const TabsTrigger: _$react.ForwardRefExoticComponent<TabsTriggerProps & _$react.RefAttributes<HTMLButtonElement>>;
5178
5308
  //#endregion
5179
5309
  //#region src/components/Tag/Tag.d.ts
5180
5310
  type TagProps = ComponentPropsWithoutRef<'div'> & {