@wistia/ui 0.21.8-beta.7d0080e7.cf35bb3 → 0.21.8-beta.caadeb32.d66e7e9
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 +39 -94
- package/dist/index.js +641 -715
- package/dist/index.js.map +1 -1
- package/package.json +1 -2
package/dist/index.d.ts
CHANGED
|
@@ -3,11 +3,17 @@ import * as react from 'react';
|
|
|
3
3
|
import { ReactNode, LegacyRef, MutableRefObject, RefCallback, Dispatch, SetStateAction, RefObject, ComponentPropsWithoutRef, JSX, ComponentPropsWithRef, AnchorHTMLAttributes, MouseEvent, ReactElement, ElementType, ChangeEvent, PropsWithChildren, InputHTMLAttributes, Ref, SyntheticEvent, ComponentProps, CSSProperties, HTMLAttributes, ForwardRefExoticComponent, RefAttributes, TdHTMLAttributes, ThHTMLAttributes } from 'react';
|
|
4
4
|
import { UseFilePickerConfig, FilePickerReturnTypes, ExtractContentTypeFromConfig, useImperativeFilePickerConfig, ImperativeFilePickerReturnTypes } from 'use-file-picker/types';
|
|
5
5
|
export * from 'use-file-picker/types';
|
|
6
|
+
import { CollapsibleContentProps as CollapsibleContentProps$1 } from '@radix-ui/react-collapsible';
|
|
6
7
|
import { Color } from 'culori/fn';
|
|
7
8
|
import * as Ariakit from '@ariakit/react';
|
|
8
9
|
import * as styled_components from 'styled-components';
|
|
9
10
|
import { Schema } from 'yup';
|
|
11
|
+
import { HoverCardContentProps } from '@radix-ui/react-hover-card';
|
|
10
12
|
import ReactMarkdown from 'react-markdown';
|
|
13
|
+
import { DropdownMenuContentProps, DropdownMenuItemProps, DropdownMenuRadioGroupProps, DropdownMenuRadioItemProps, DropdownMenuCheckboxItemProps } from '@radix-ui/react-dropdown-menu';
|
|
14
|
+
import { PopoverContentProps } from '@radix-ui/react-popover';
|
|
15
|
+
import { ToggleGroupSingleProps } from '@radix-ui/react-toggle-group';
|
|
16
|
+
import { TabsProps as TabsProps$1, TabsContentProps as TabsContentProps$1, TabsListProps as TabsListProps$1, TabsTriggerProps as TabsTriggerProps$1 } from '@radix-ui/react-tabs';
|
|
11
17
|
export { FileAmountLimitValidator, FileSizeValidator, FileTypeValidator, ImageDimensionsValidator, PersistentFileAmountLimitValidator } from 'use-file-picker/validators';
|
|
12
18
|
|
|
13
19
|
type UIProviderProps = {
|
|
@@ -1211,7 +1217,7 @@ type CollapsibleTriggerProps = {
|
|
|
1211
1217
|
* A trigger element that will toggle the collapsible content.
|
|
1212
1218
|
* Usually a [Button](?path=/docs/components-button--docs).
|
|
1213
1219
|
*/
|
|
1214
|
-
children:
|
|
1220
|
+
children: ReactNode;
|
|
1215
1221
|
};
|
|
1216
1222
|
declare const CollapsibleTrigger: ({ children }: CollapsibleTriggerProps) => react_jsx_runtime.JSX.Element;
|
|
1217
1223
|
|
|
@@ -1499,7 +1505,7 @@ type CollapsibleContentProps = {
|
|
|
1499
1505
|
/**
|
|
1500
1506
|
* The content that will be hidden when `Collapsible` is closed.
|
|
1501
1507
|
*/
|
|
1502
|
-
children:
|
|
1508
|
+
children: CollapsibleContentProps$1['children'];
|
|
1503
1509
|
};
|
|
1504
1510
|
declare const CollapsibleContent: ({ clamp, children }: CollapsibleContentProps) => react_jsx_runtime.JSX.Element;
|
|
1505
1511
|
|
|
@@ -2578,6 +2584,7 @@ declare const Form: <T>(props: FormProps<T> & {
|
|
|
2578
2584
|
}) => JSX.Element;
|
|
2579
2585
|
|
|
2580
2586
|
type FormErrorSummaryProps = {
|
|
2587
|
+
/** A description to show before the list of form errors */
|
|
2581
2588
|
description: string;
|
|
2582
2589
|
};
|
|
2583
2590
|
declare const FormErrorSummary: ({ description }: FormErrorSummaryProps) => react_jsx_runtime.JSX.Element | null;
|
|
@@ -2706,7 +2713,8 @@ type GridProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
2706
2713
|
};
|
|
2707
2714
|
declare const Grid: (<C extends ElementType = "div">(props: PolymorphicComponentProps<C, GridProps>) => react.ReactElement | null) & UnknownRecord;
|
|
2708
2715
|
|
|
2709
|
-
type
|
|
2716
|
+
type ContentProps$1 = Omit<HoverCardContentProps, 'alignOffset' | 'arrowPadding' | 'asChild' | 'collisionPadding' | 'hideWhenDetached' | 'sideOffset'>;
|
|
2717
|
+
type PreviewCardProps = ContentProps$1 & {
|
|
2710
2718
|
/**
|
|
2711
2719
|
* The content of the preview card
|
|
2712
2720
|
*/
|
|
@@ -2723,7 +2731,7 @@ type PreviewCardProps = {
|
|
|
2723
2731
|
* The [Link](?path=/docs/components-link--docs) that opens the preview card when hovered.
|
|
2724
2732
|
* Preview cards should only be used on links—do not use on non-interactive elements (e.g. buttons or plain text).
|
|
2725
2733
|
*/
|
|
2726
|
-
trigger:
|
|
2734
|
+
trigger: JSX.Element;
|
|
2727
2735
|
/**
|
|
2728
2736
|
* If true, the preview card will use the unstyled Content component instead of StyledContent
|
|
2729
2737
|
*/
|
|
@@ -2746,20 +2754,12 @@ type PreviewCardProps = {
|
|
|
2746
2754
|
* Force the preview card to be open without user interaction (for debugging and CI)
|
|
2747
2755
|
*/
|
|
2748
2756
|
forceOpen?: boolean;
|
|
2749
|
-
/**
|
|
2750
|
-
* The preferred side of the trigger to render on
|
|
2751
|
-
*/
|
|
2752
|
-
side?: 'bottom' | 'left' | 'right' | 'top';
|
|
2753
|
-
/**
|
|
2754
|
-
* The preferred alignment against the trigger
|
|
2755
|
-
*/
|
|
2756
|
-
align?: 'center' | 'end' | 'start';
|
|
2757
2757
|
};
|
|
2758
2758
|
/**
|
|
2759
2759
|
* 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.
|
|
2760
2760
|
*/
|
|
2761
2761
|
declare const PreviewCard: {
|
|
2762
|
-
({ children, trigger, maxWidth, maxHeight, unstyled, paddingSize, openDelay, closeDelay, colorScheme, forceOpen,
|
|
2762
|
+
({ children, trigger, maxWidth, maxHeight, unstyled, paddingSize, openDelay, closeDelay, colorScheme, forceOpen, ...props }: PreviewCardProps): JSX.Element;
|
|
2763
2763
|
displayName: string;
|
|
2764
2764
|
};
|
|
2765
2765
|
|
|
@@ -3032,6 +3032,10 @@ type MenuProps = MenuControlProps & {
|
|
|
3032
3032
|
* The label for the trigger element, this is ignored if `trigger` is defined
|
|
3033
3033
|
*/
|
|
3034
3034
|
label?: string;
|
|
3035
|
+
/**
|
|
3036
|
+
* Callback for when the user clicks or focuses outside of the menu
|
|
3037
|
+
*/
|
|
3038
|
+
onInteractOutside?: DropdownMenuContentProps['onInteractOutside'];
|
|
3035
3039
|
/**
|
|
3036
3040
|
* The side the menu appears on, relative to the trigger
|
|
3037
3041
|
*/
|
|
@@ -3140,7 +3144,7 @@ type MenuItemButtonProps = ButtonProps & {
|
|
|
3140
3144
|
unstyled?: never;
|
|
3141
3145
|
};
|
|
3142
3146
|
|
|
3143
|
-
declare const MenuItem: react.ForwardRefExoticComponent<(Omit<BaseButtonProps & react.ClassAttributes<HTMLAnchorElement> & react.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
3147
|
+
declare const MenuItem: react.ForwardRefExoticComponent<(Omit<DropdownMenuItemProps & BaseButtonProps & react.ClassAttributes<HTMLAnchorElement> & react.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
3144
3148
|
beforeAction?: (() => Promise<void>) | (() => void);
|
|
3145
3149
|
children: react.ReactNode;
|
|
3146
3150
|
colorScheme?: ColorSchemeTypes;
|
|
@@ -3182,16 +3186,7 @@ declare const MenuItem: react.ForwardRefExoticComponent<(Omit<BaseButtonProps &
|
|
|
3182
3186
|
* Treats the menu item as a link when provided
|
|
3183
3187
|
*/
|
|
3184
3188
|
href?: MenuItemButtonProps["href"];
|
|
3185
|
-
|
|
3186
|
-
* Whether the menu should close when this item is clicked
|
|
3187
|
-
* @default true
|
|
3188
|
-
*/
|
|
3189
|
-
closeOnClick?: boolean;
|
|
3190
|
-
/**
|
|
3191
|
-
* Callback when the item is selected
|
|
3192
|
-
*/
|
|
3193
|
-
onSelect?: (event: Event | SyntheticEvent) => void;
|
|
3194
|
-
}, "ref"> | Omit<BaseButtonProps & react.ClassAttributes<HTMLAnchorElement> & react.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
3189
|
+
}, "ref"> | Omit<DropdownMenuItemProps & BaseButtonProps & react.ClassAttributes<HTMLAnchorElement> & react.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
3195
3190
|
beforeAction?: (() => Promise<void>) | (() => void);
|
|
3196
3191
|
children: react.ReactNode;
|
|
3197
3192
|
colorScheme?: ColorSchemeTypes;
|
|
@@ -3227,16 +3222,7 @@ declare const MenuItem: react.ForwardRefExoticComponent<(Omit<BaseButtonProps &
|
|
|
3227
3222
|
* Treats the menu item as a link when provided
|
|
3228
3223
|
*/
|
|
3229
3224
|
href?: MenuItemButtonProps["href"];
|
|
3230
|
-
|
|
3231
|
-
* Whether the menu should close when this item is clicked
|
|
3232
|
-
* @default true
|
|
3233
|
-
*/
|
|
3234
|
-
closeOnClick?: boolean;
|
|
3235
|
-
/**
|
|
3236
|
-
* Callback when the item is selected
|
|
3237
|
-
*/
|
|
3238
|
-
onSelect?: (event: Event | SyntheticEvent) => void;
|
|
3239
|
-
}, "ref"> | Omit<BaseButtonProps & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
3225
|
+
}, "ref"> | Omit<DropdownMenuItemProps & BaseButtonProps & react.ClassAttributes<HTMLButtonElement> & react.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
3240
3226
|
href?: never;
|
|
3241
3227
|
type?: "button" | "reset" | "submit";
|
|
3242
3228
|
children: react.ReactNode;
|
|
@@ -3258,15 +3244,6 @@ declare const MenuItem: react.ForwardRefExoticComponent<(Omit<BaseButtonProps &
|
|
|
3258
3244
|
* Treats the menu item as a link when provided
|
|
3259
3245
|
*/
|
|
3260
3246
|
href?: MenuItemButtonProps["href"];
|
|
3261
|
-
/**
|
|
3262
|
-
* Whether the menu should close when this item is clicked
|
|
3263
|
-
* @default true
|
|
3264
|
-
*/
|
|
3265
|
-
closeOnClick?: boolean;
|
|
3266
|
-
/**
|
|
3267
|
-
* Callback when the item is selected
|
|
3268
|
-
*/
|
|
3269
|
-
onSelect?: (event: Event | SyntheticEvent) => void;
|
|
3270
3247
|
}, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
3271
3248
|
|
|
3272
3249
|
type MenuItemLabelProps = {
|
|
@@ -3285,26 +3262,22 @@ type MenuItemDescriptionProps = {
|
|
|
3285
3262
|
};
|
|
3286
3263
|
declare const MenuItemDescription: ({ children }: MenuItemDescriptionProps) => react_jsx_runtime.JSX.Element;
|
|
3287
3264
|
|
|
3288
|
-
type MenuRadioGroupProps = {
|
|
3265
|
+
type MenuRadioGroupProps = DropdownMenuRadioGroupProps & {
|
|
3289
3266
|
/**
|
|
3290
3267
|
* The radio items
|
|
3291
3268
|
*/
|
|
3292
3269
|
children: ReactNode | ReactNode[];
|
|
3293
3270
|
/**
|
|
3294
|
-
*
|
|
3295
|
-
*/
|
|
3296
|
-
value?: string;
|
|
3297
|
-
/**
|
|
3298
|
-
* Callback when the value changes
|
|
3271
|
+
* @ignore
|
|
3299
3272
|
*/
|
|
3300
|
-
|
|
3273
|
+
asChild?: never;
|
|
3301
3274
|
};
|
|
3302
3275
|
declare const MenuRadioGroup: {
|
|
3303
3276
|
({ children, ...props }: MenuRadioGroupProps): react_jsx_runtime.JSX.Element;
|
|
3304
3277
|
displayName: string;
|
|
3305
3278
|
};
|
|
3306
3279
|
|
|
3307
|
-
type RadioMenuItemProps = MenuItemButtonProps & {
|
|
3280
|
+
type RadioMenuItemProps = DropdownMenuRadioItemProps & MenuItemButtonProps & {
|
|
3308
3281
|
/**
|
|
3309
3282
|
* Optional `Icon` to use as the indicator that the radio item is selected. Must be an instance of [Icon](../?path=/docs/components-icon--docs)
|
|
3310
3283
|
*/
|
|
@@ -3312,7 +3285,7 @@ type RadioMenuItemProps = MenuItemButtonProps & {
|
|
|
3312
3285
|
/**
|
|
3313
3286
|
* The value of the item
|
|
3314
3287
|
*/
|
|
3315
|
-
value:
|
|
3288
|
+
value: DropdownMenuRadioItemProps['value'];
|
|
3316
3289
|
/**
|
|
3317
3290
|
* @ignore
|
|
3318
3291
|
*/
|
|
@@ -3325,17 +3298,13 @@ type RadioMenuItemProps = MenuItemButtonProps & {
|
|
|
3325
3298
|
* @ignore
|
|
3326
3299
|
*/
|
|
3327
3300
|
ref?: never;
|
|
3328
|
-
/**
|
|
3329
|
-
* Callback when the item is selected
|
|
3330
|
-
*/
|
|
3331
|
-
onSelect?: (event: Event | SyntheticEvent) => void;
|
|
3332
3301
|
};
|
|
3333
3302
|
declare const RadioMenuItem: {
|
|
3334
3303
|
({ onSelect, value, indicator, ...props }: RadioMenuItemProps): react_jsx_runtime.JSX.Element;
|
|
3335
3304
|
displayName: string;
|
|
3336
3305
|
};
|
|
3337
3306
|
|
|
3338
|
-
type CheckboxMenuItemProps = MenuItemButtonProps & {
|
|
3307
|
+
type CheckboxMenuItemProps = DropdownMenuCheckboxItemProps & MenuItemButtonProps & {
|
|
3339
3308
|
/** Callback to fire when the checked status changes */
|
|
3340
3309
|
onCheckedChange: (checked: boolean) => void;
|
|
3341
3310
|
/**
|
|
@@ -3358,10 +3327,6 @@ type CheckboxMenuItemProps = MenuItemButtonProps & {
|
|
|
3358
3327
|
* @ignore
|
|
3359
3328
|
*/
|
|
3360
3329
|
ref?: never;
|
|
3361
|
-
/**
|
|
3362
|
-
* Callback when the item is selected
|
|
3363
|
-
*/
|
|
3364
|
-
onSelect?: (event: Event | SyntheticEvent) => void;
|
|
3365
3330
|
};
|
|
3366
3331
|
declare const CheckboxMenuItem: {
|
|
3367
3332
|
({ onSelect, checked, onCheckedChange, ...props }: CheckboxMenuItemProps): react_jsx_runtime.JSX.Element;
|
|
@@ -3576,7 +3541,8 @@ type UncontrolledPopoverProps = {
|
|
|
3576
3541
|
onOpenChange?: never;
|
|
3577
3542
|
};
|
|
3578
3543
|
type PopoverControlProps = ControlledPopoverProps | UncontrolledPopoverProps;
|
|
3579
|
-
type
|
|
3544
|
+
type ContentProps = Omit<PopoverContentProps, 'alignOffset' | 'arrowPadding' | 'asChild' | 'collisionPadding' | 'hideWhenDetached' | 'sideOffset' | 'updatePositionStrategy'>;
|
|
3545
|
+
type PopoverProps = ContentProps & PopoverControlProps & {
|
|
3580
3546
|
/**
|
|
3581
3547
|
* The content of the popover
|
|
3582
3548
|
*/
|
|
@@ -3600,13 +3566,13 @@ type PopoverProps = PopoverControlProps & {
|
|
|
3600
3566
|
/**
|
|
3601
3567
|
* An interactive element. Most commonly a [Button](?path=/docs/components-button--docs) or [IconButton]([Button](?path=/docs/components-iconbutton--docs)).
|
|
3602
3568
|
*/
|
|
3603
|
-
trigger:
|
|
3569
|
+
trigger: JSX.Element;
|
|
3604
3570
|
/**
|
|
3605
3571
|
* If true, the popover will use the unstyled Content component instead of StyledContent
|
|
3606
3572
|
*/
|
|
3607
3573
|
unstyled?: boolean;
|
|
3608
3574
|
/**
|
|
3609
|
-
* If true, the popover will use a custom arrow
|
|
3575
|
+
* If true, the popover will use a custom radix arrow to trigger
|
|
3610
3576
|
*/
|
|
3611
3577
|
withArrow?: boolean;
|
|
3612
3578
|
/**
|
|
@@ -3618,20 +3584,12 @@ type PopoverProps = PopoverControlProps & {
|
|
|
3618
3584
|
* Inline styles applied to the popover popup
|
|
3619
3585
|
*/
|
|
3620
3586
|
style?: CSSProperties;
|
|
3621
|
-
/**
|
|
3622
|
-
* The preferred side of the trigger to render on
|
|
3623
|
-
*/
|
|
3624
|
-
side?: 'bottom' | 'left' | 'right' | 'top';
|
|
3625
|
-
/**
|
|
3626
|
-
* The preferred alignment against the trigger
|
|
3627
|
-
*/
|
|
3628
|
-
align?: 'center' | 'end' | 'start';
|
|
3629
3587
|
};
|
|
3630
3588
|
/**
|
|
3631
3589
|
* Displays rich content in a portal, triggered by a button.
|
|
3632
3590
|
*/
|
|
3633
3591
|
declare const Popover: {
|
|
3634
|
-
({ children, trigger, isOpen, hideCloseButton, maxWidth, maxHeight, onOpenChange, unstyled, withArrow, isAnimated, colorScheme, style,
|
|
3592
|
+
({ children, trigger, isOpen, hideCloseButton, maxWidth, maxHeight, onOpenChange, unstyled, withArrow, isAnimated, colorScheme, style, ...props }: PopoverProps): JSX.Element;
|
|
3635
3593
|
displayName: string;
|
|
3636
3594
|
};
|
|
3637
3595
|
|
|
@@ -3968,7 +3926,7 @@ declare const ScrollArea: react.ForwardRefExoticComponent<HTMLAttributes<HTMLDiv
|
|
|
3968
3926
|
locked?: boolean;
|
|
3969
3927
|
} & react.RefAttributes<HTMLDivElement>>;
|
|
3970
3928
|
|
|
3971
|
-
type SegmentedControlProps = {
|
|
3929
|
+
type SegmentedControlProps = Omit<ToggleGroupSingleProps, 'type'> & {
|
|
3972
3930
|
/**
|
|
3973
3931
|
* `SegmentedControlItem`s that will be rendered in grouping
|
|
3974
3932
|
*/
|
|
@@ -3997,7 +3955,7 @@ type SegmentedControlProps = {
|
|
|
3997
3955
|
/**
|
|
3998
3956
|
* Provides a horizontal set of segments for switching between different values
|
|
3999
3957
|
*/
|
|
4000
|
-
declare const SegmentedControl: ForwardRefExoticComponent<RefAttributes<HTMLDivElement> & SegmentedControlProps
|
|
3958
|
+
declare const SegmentedControl: ForwardRefExoticComponent<RefAttributes<HTMLDivElement> & SegmentedControlProps>;
|
|
4001
3959
|
|
|
4002
3960
|
type BaseProps$1 = {
|
|
4003
3961
|
/**
|
|
@@ -4175,7 +4133,7 @@ type SliderProps = Omit<ComponentPropsWithoutRef<'div'>, 'onChange'> & {
|
|
|
4175
4133
|
* (e.g. on mouseup, touchend, or keyup). Useful for analytics or
|
|
4176
4134
|
* expensive operations where only the final value matters.
|
|
4177
4135
|
*/
|
|
4178
|
-
|
|
4136
|
+
onValueCommit?: (value: number[]) => void;
|
|
4179
4137
|
/**
|
|
4180
4138
|
* Value to be added or subtracted on each step
|
|
4181
4139
|
*/
|
|
@@ -4187,7 +4145,7 @@ type SliderProps = Omit<ComponentPropsWithoutRef<'div'>, 'onChange'> & {
|
|
|
4187
4145
|
value?: number[];
|
|
4188
4146
|
};
|
|
4189
4147
|
declare const Slider: {
|
|
4190
|
-
({ "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, disabled, initialValue, max, min, onChange,
|
|
4148
|
+
({ "aria-label": ariaLabel, "aria-labelledby": ariaLabelledby, disabled, initialValue, max, min, onChange, onValueCommit, step, value, "data-testid": dataTestId, ...otherProps }: SliderProps): JSX.Element;
|
|
4191
4149
|
displayName: string;
|
|
4192
4150
|
};
|
|
4193
4151
|
|
|
@@ -4425,29 +4383,19 @@ type TableRowProps = HTMLAttributes<HTMLTableRowElement> & {
|
|
|
4425
4383
|
};
|
|
4426
4384
|
declare const TableRow: ({ children, ...props }: TableRowProps) => JSX.Element;
|
|
4427
4385
|
|
|
4428
|
-
type TabsProps =
|
|
4429
|
-
children?: React.ReactNode;
|
|
4430
|
-
defaultValue?: string;
|
|
4431
|
-
onValueChange?: (value: string) => void;
|
|
4432
|
-
value?: string;
|
|
4433
|
-
};
|
|
4386
|
+
type TabsProps = Pick<TabsProps$1, 'children' | 'defaultValue' | 'onValueChange' | 'value'>;
|
|
4434
4387
|
declare const Tabs: {
|
|
4435
4388
|
({ children, value: valueProp, onValueChange: onValueChangeProp, defaultValue, ...props }: TabsProps): JSX.Element;
|
|
4436
4389
|
displayName: string;
|
|
4437
4390
|
};
|
|
4438
4391
|
|
|
4439
|
-
type TabsContentProps =
|
|
4440
|
-
children?: ReactNode;
|
|
4441
|
-
value: string;
|
|
4442
|
-
};
|
|
4392
|
+
type TabsContentProps = Pick<TabsContentProps$1, 'children' | 'value'>;
|
|
4443
4393
|
declare const TabsContent: {
|
|
4444
4394
|
({ children, value }: TabsContentProps): JSX.Element;
|
|
4445
4395
|
displayName: string;
|
|
4446
4396
|
};
|
|
4447
4397
|
|
|
4448
|
-
type TabsListProps = {
|
|
4449
|
-
'aria-label'?: string;
|
|
4450
|
-
} & PropsWithChildren<{
|
|
4398
|
+
type TabsListProps = Pick<TabsListProps$1, 'aria-label'> & PropsWithChildren<{
|
|
4451
4399
|
fullWidth?: boolean;
|
|
4452
4400
|
}>;
|
|
4453
4401
|
declare const TabsList: {
|
|
@@ -4455,10 +4403,7 @@ declare const TabsList: {
|
|
|
4455
4403
|
displayName: string;
|
|
4456
4404
|
};
|
|
4457
4405
|
|
|
4458
|
-
type BaseProps =
|
|
4459
|
-
disabled?: boolean;
|
|
4460
|
-
value: string;
|
|
4461
|
-
};
|
|
4406
|
+
type BaseProps = Pick<TabsTriggerProps$1, 'disabled' | 'value'>;
|
|
4462
4407
|
type IconWithLabel = {
|
|
4463
4408
|
/**
|
|
4464
4409
|
* The [Icon](?path=/docs/components-icon--docs) component to use, e.g. `<Icon type="favorite" />`
|