@wistia/ui 0.23.0-beta.3f5d16e2.7eba552 → 0.23.0-beta.5e745cc4.68bef3f
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 +195 -115
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +739 -1229
- package/dist/index.js.map +1 -1
- package/package.json +6 -5
package/dist/index.d.ts
CHANGED
|
@@ -5,18 +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
|
-
import { Matcher } from "react-day-picker";
|
|
16
10
|
import { Schema } from "yup";
|
|
17
|
-
import { HoverCardContentProps } from "@radix-ui/react-hover-card";
|
|
18
11
|
import ReactMarkdown from "react-markdown";
|
|
19
|
-
import { TabsContentProps, TabsListProps, TabsProps, TabsTriggerProps } from "@radix-ui/react-tabs";
|
|
20
12
|
import { ExtractContentTypeFromConfig, FilePickerReturnTypes, ImperativeFilePickerReturnTypes, UseFilePickerConfig, useImperativeFilePickerConfig } from "use-file-picker/types";
|
|
21
13
|
export * from "use-file-picker/types";
|
|
22
14
|
|
|
@@ -618,7 +610,7 @@ declare const ActionButton: _$react.ForwardRefExoticComponent<(Omit<{
|
|
|
618
610
|
* Changes the secondary icon for different use cases
|
|
619
611
|
*/
|
|
620
612
|
variant?: "default" | "gated" | "menu-down" | "menu-up";
|
|
621
|
-
} & Omit<ButtonAsButtonProps, "
|
|
613
|
+
} & Omit<ButtonAsButtonProps, "variant" | "fullWidth" | "isLoading" | "leftIcon" | "rightIcon" | "size" | "unstyled">, "ref"> | Omit<{
|
|
622
614
|
/**
|
|
623
615
|
* @override
|
|
624
616
|
* The text to display for the ActionButton
|
|
@@ -647,7 +639,7 @@ declare const ActionButton: _$react.ForwardRefExoticComponent<(Omit<{
|
|
|
647
639
|
* Changes the secondary icon for different use cases
|
|
648
640
|
*/
|
|
649
641
|
variant?: "default" | "gated" | "menu-down" | "menu-up";
|
|
650
|
-
} & Omit<ButtonAsLinkProps, "
|
|
642
|
+
} & Omit<ButtonAsLinkProps, "variant" | "fullWidth" | "isLoading" | "leftIcon" | "rightIcon" | "size" | "unstyled">, "ref">) & _$react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
651
643
|
//#endregion
|
|
652
644
|
//#region src/components/Avatar/Avatar.d.ts
|
|
653
645
|
type AvatarInstanceType = 'image' | 'initials';
|
|
@@ -1233,7 +1225,7 @@ declare const Center: _$react.ForwardRefExoticComponent<Omit<_$react.DetailedHTM
|
|
|
1233
1225
|
//#endregion
|
|
1234
1226
|
//#region src/components/Checkbox/Checkbox.d.ts
|
|
1235
1227
|
type CheckboxSizeType = 'lg' | 'md' | 'sm';
|
|
1236
|
-
declare const Checkbox: _$react.ForwardRefExoticComponent<Omit<Omit<_$react.DetailedHTMLProps<_$react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "
|
|
1228
|
+
declare const Checkbox: _$react.ForwardRefExoticComponent<Omit<Omit<_$react.DetailedHTMLProps<_$react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "label" | "onChange" | "size" | "hideLabel"> & {
|
|
1237
1229
|
/**
|
|
1238
1230
|
* Indicates the state of the checkbox
|
|
1239
1231
|
*/
|
|
@@ -1342,7 +1334,7 @@ type CollapsibleTriggerProps = {
|
|
|
1342
1334
|
* A trigger element that will toggle the collapsible content.
|
|
1343
1335
|
* Usually a [Button](?path=/docs/components-button--docs).
|
|
1344
1336
|
*/
|
|
1345
|
-
children:
|
|
1337
|
+
children: ReactElement;
|
|
1346
1338
|
};
|
|
1347
1339
|
declare const CollapsibleTrigger: ({
|
|
1348
1340
|
children
|
|
@@ -1658,7 +1650,7 @@ declare const CollapsibleTriggerIcon: {
|
|
|
1658
1650
|
};
|
|
1659
1651
|
//#endregion
|
|
1660
1652
|
//#region src/components/Collapsible/CollapsibleContent.d.ts
|
|
1661
|
-
type CollapsibleContentProps
|
|
1653
|
+
type CollapsibleContentProps = {
|
|
1662
1654
|
/**
|
|
1663
1655
|
* The number of lines to clamp the content to when `Collapsible` is closed.
|
|
1664
1656
|
*/
|
|
@@ -1666,12 +1658,12 @@ type CollapsibleContentProps$1 = {
|
|
|
1666
1658
|
/**
|
|
1667
1659
|
* The content that will be hidden when `Collapsible` is closed.
|
|
1668
1660
|
*/
|
|
1669
|
-
children:
|
|
1661
|
+
children: ReactNode;
|
|
1670
1662
|
};
|
|
1671
1663
|
declare const CollapsibleContent: ({
|
|
1672
1664
|
clamp,
|
|
1673
1665
|
children
|
|
1674
|
-
}: CollapsibleContentProps
|
|
1666
|
+
}: CollapsibleContentProps) => _$react_jsx_runtime0.JSX.Element;
|
|
1675
1667
|
//#endregion
|
|
1676
1668
|
//#region src/components/ColorPicker/ColorGrid.d.ts
|
|
1677
1669
|
type ColorGridProps = PropsWithChildren & {
|
|
@@ -2041,7 +2033,7 @@ declare const ContextMenu: ({
|
|
|
2041
2033
|
side,
|
|
2042
2034
|
onRequestClose,
|
|
2043
2035
|
compact
|
|
2044
|
-
}: ContextMenuProps) => _$react_jsx_runtime0.JSX.Element
|
|
2036
|
+
}: ContextMenuProps) => _$react_jsx_runtime0.JSX.Element;
|
|
2045
2037
|
//#endregion
|
|
2046
2038
|
//#region src/components/CustomizableThemeWrapper/CustomizableThemeWrapper.d.ts
|
|
2047
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';
|
|
@@ -2307,38 +2299,6 @@ declare const DataListItemValue: {
|
|
|
2307
2299
|
displayName: string;
|
|
2308
2300
|
};
|
|
2309
2301
|
//#endregion
|
|
2310
|
-
//#region src/components/DatePicker/DatePicker.d.ts
|
|
2311
|
-
type DatePickerBaseProps = {
|
|
2312
|
-
/** Earliest selectable date. */minDate?: Date; /** Latest selectable date. */
|
|
2313
|
-
maxDate?: Date; /** Dates that cannot be selected. Uses react-day-picker Matcher. */
|
|
2314
|
-
disabledDates?: Matcher | Matcher[]; /** Disables the entire component. */
|
|
2315
|
-
disabled?: boolean; /** Input placeholder text. */
|
|
2316
|
-
placeholder?: string; /** Fill parent width. */
|
|
2317
|
-
fullWidth?: boolean; /** Popover alignment. */
|
|
2318
|
-
align?: 'start' | 'center' | 'end'; /** Popover side. */
|
|
2319
|
-
side?: 'top' | 'bottom'; /** Input name attribute (injected by FormField). */
|
|
2320
|
-
name?: string; /** Input id attribute (injected by FormField). */
|
|
2321
|
-
id?: string; /** Validity state (injected by FormField). */
|
|
2322
|
-
'aria-invalid'?: boolean; /** Error/description association (injected by FormField). */
|
|
2323
|
-
'aria-describedby'?: string;
|
|
2324
|
-
};
|
|
2325
|
-
type DatePickerControlledProps = DatePickerBaseProps & {
|
|
2326
|
-
/** The selected date (controlled). */value: Date | null; /** Callback when the date changes (controlled). */
|
|
2327
|
-
onChange: (date: Date | null) => void;
|
|
2328
|
-
defaultValue?: never;
|
|
2329
|
-
};
|
|
2330
|
-
type DatePickerUncontrolledProps = DatePickerBaseProps & {
|
|
2331
|
-
/** The initial date (uncontrolled). */defaultValue?: Date;
|
|
2332
|
-
value?: never;
|
|
2333
|
-
onChange?: never;
|
|
2334
|
-
};
|
|
2335
|
-
type DatePickerProps = (DatePickerControlledProps | DatePickerUncontrolledProps) & Omit<HTMLAttributes<HTMLDivElement>, 'defaultValue' | 'onChange'>;
|
|
2336
|
-
/**
|
|
2337
|
-
* A date picker that combines a text input with natural language parsing
|
|
2338
|
-
* and a calendar popover for visual date selection.
|
|
2339
|
-
*/
|
|
2340
|
-
declare const DatePicker: _$react.ForwardRefExoticComponent<DatePickerProps & _$react.RefAttributes<HTMLDivElement>>;
|
|
2341
|
-
//#endregion
|
|
2342
2302
|
//#region src/components/Divider/Divider.d.ts
|
|
2343
2303
|
type DividerProps = ComponentPropsWithoutRef<'div'> & {
|
|
2344
2304
|
/**
|
|
@@ -3147,8 +3107,7 @@ type GridProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
3147
3107
|
declare const Grid: (<C extends ElementType = "div">(props: PolymorphicComponentProps<C, GridProps>) => _$react.ReactElement | null) & UnknownRecord;
|
|
3148
3108
|
//#endregion
|
|
3149
3109
|
//#region src/components/PreviewCard/PreviewCard.d.ts
|
|
3150
|
-
type
|
|
3151
|
-
type PreviewCardProps = ContentProps$1 & {
|
|
3110
|
+
type PreviewCardProps = {
|
|
3152
3111
|
/**
|
|
3153
3112
|
* The content of the preview card
|
|
3154
3113
|
*/
|
|
@@ -3165,7 +3124,7 @@ type PreviewCardProps = ContentProps$1 & {
|
|
|
3165
3124
|
* The [Link](?path=/docs/components-link--docs) that opens the preview card when hovered.
|
|
3166
3125
|
* Preview cards should only be used on links—do not use on non-interactive elements (e.g. buttons or plain text).
|
|
3167
3126
|
*/
|
|
3168
|
-
trigger:
|
|
3127
|
+
trigger: ReactElement;
|
|
3169
3128
|
/**
|
|
3170
3129
|
* If true, the preview card will use the unstyled Content component instead of StyledContent
|
|
3171
3130
|
*/
|
|
@@ -3188,6 +3147,14 @@ type PreviewCardProps = ContentProps$1 & {
|
|
|
3188
3147
|
* Force the preview card to be open without user interaction (for debugging and CI)
|
|
3189
3148
|
*/
|
|
3190
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';
|
|
3191
3158
|
};
|
|
3192
3159
|
/**
|
|
3193
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.
|
|
@@ -3204,6 +3171,8 @@ declare const PreviewCard: {
|
|
|
3204
3171
|
closeDelay,
|
|
3205
3172
|
colorScheme,
|
|
3206
3173
|
forceOpen,
|
|
3174
|
+
side,
|
|
3175
|
+
align,
|
|
3207
3176
|
...props
|
|
3208
3177
|
}: PreviewCardProps): JSX.Element;
|
|
3209
3178
|
displayName: string;
|
|
@@ -3322,7 +3291,7 @@ type InputClickToCopyProps = Omit<InputProps, 'autoSelect' | 'disabled' | 'right
|
|
|
3322
3291
|
/**
|
|
3323
3292
|
* Provides a readonly input that copies the text to the clipboard when clicked.
|
|
3324
3293
|
*/
|
|
3325
|
-
declare const InputClickToCopy: _$react.ForwardRefExoticComponent<Omit<InputProps, "type" | "
|
|
3294
|
+
declare const InputClickToCopy: _$react.ForwardRefExoticComponent<Omit<InputProps, "type" | "rightIcon" | "disabled" | "value" | "autoSelect"> & {
|
|
3326
3295
|
/**
|
|
3327
3296
|
* When disabled, the copy action will not be triggered
|
|
3328
3297
|
*/
|
|
@@ -3351,7 +3320,7 @@ type InputPasswordProps = Omit<InputProps, 'leftIcon' | 'monospace' | 'rightIcon
|
|
|
3351
3320
|
/**
|
|
3352
3321
|
* A password input component with a toggle button to show or hide the password text.
|
|
3353
3322
|
*/
|
|
3354
|
-
declare const InputPassword: _$react.ForwardRefExoticComponent<Omit<InputProps, "type" | "
|
|
3323
|
+
declare const InputPassword: _$react.ForwardRefExoticComponent<Omit<InputProps, "type" | "leftIcon" | "rightIcon" | "monospace"> & {
|
|
3355
3324
|
/**
|
|
3356
3325
|
* Set the disabled state of the input
|
|
3357
3326
|
*/
|
|
@@ -3532,10 +3501,6 @@ type MenuProps = MenuControlProps & {
|
|
|
3532
3501
|
* The label for the trigger element, this is ignored if `trigger` is defined
|
|
3533
3502
|
*/
|
|
3534
3503
|
label?: string;
|
|
3535
|
-
/**
|
|
3536
|
-
* Callback for when the user clicks or focuses outside of the menu
|
|
3537
|
-
*/
|
|
3538
|
-
onInteractOutside?: DropdownMenuContentProps['onInteractOutside'];
|
|
3539
3504
|
/**
|
|
3540
3505
|
* The side the menu appears on, relative to the trigger
|
|
3541
3506
|
*/
|
|
@@ -3657,7 +3622,7 @@ type MenuItemButtonProps = ButtonProps & {
|
|
|
3657
3622
|
};
|
|
3658
3623
|
//#endregion
|
|
3659
3624
|
//#region src/components/Menu/MenuItem.d.ts
|
|
3660
|
-
declare const MenuItem: _$react.ForwardRefExoticComponent<(Omit<
|
|
3625
|
+
declare const MenuItem: _$react.ForwardRefExoticComponent<(Omit<BaseButtonProps & _$react.ClassAttributes<HTMLButtonElement> & _$react.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
3661
3626
|
href?: never;
|
|
3662
3627
|
type?: "button" | "reset" | "submit";
|
|
3663
3628
|
children: _$react.ReactNode;
|
|
@@ -3679,7 +3644,16 @@ declare const MenuItem: _$react.ForwardRefExoticComponent<(Omit<DropdownMenuItem
|
|
|
3679
3644
|
* Treats the menu item as a link when provided
|
|
3680
3645
|
*/
|
|
3681
3646
|
href?: MenuItemButtonProps["href"];
|
|
3682
|
-
|
|
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> & {
|
|
3683
3657
|
beforeAction?: (() => Promise<void>) | (() => void);
|
|
3684
3658
|
children: _$react.ReactNode;
|
|
3685
3659
|
colorScheme?: ColorSchemeTypes;
|
|
@@ -3715,7 +3689,16 @@ declare const MenuItem: _$react.ForwardRefExoticComponent<(Omit<DropdownMenuItem
|
|
|
3715
3689
|
* Treats the menu item as a link when provided
|
|
3716
3690
|
*/
|
|
3717
3691
|
href?: MenuItemButtonProps["href"];
|
|
3718
|
-
|
|
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> & {
|
|
3719
3702
|
beforeAction?: (() => Promise<void>) | (() => void);
|
|
3720
3703
|
children: _$react.ReactNode;
|
|
3721
3704
|
colorScheme?: ColorSchemeTypes;
|
|
@@ -3757,6 +3740,15 @@ declare const MenuItem: _$react.ForwardRefExoticComponent<(Omit<DropdownMenuItem
|
|
|
3757
3740
|
* Treats the menu item as a link when provided
|
|
3758
3741
|
*/
|
|
3759
3742
|
href?: MenuItemButtonProps["href"];
|
|
3743
|
+
/**
|
|
3744
|
+
* Whether the menu should close when this item is clicked
|
|
3745
|
+
* @default true
|
|
3746
|
+
*/
|
|
3747
|
+
closeOnClick?: boolean;
|
|
3748
|
+
/**
|
|
3749
|
+
* Callback when the item is selected
|
|
3750
|
+
*/
|
|
3751
|
+
onSelect?: (event: SyntheticEvent) => void;
|
|
3760
3752
|
}, "ref">) & _$react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
3761
3753
|
//#endregion
|
|
3762
3754
|
//#region src/components/Menu/MenuItemLabel.d.ts
|
|
@@ -3782,15 +3774,19 @@ declare const MenuItemDescription: ({
|
|
|
3782
3774
|
}: MenuItemDescriptionProps) => _$react_jsx_runtime0.JSX.Element;
|
|
3783
3775
|
//#endregion
|
|
3784
3776
|
//#region src/components/Menu/MenuRadioGroup.d.ts
|
|
3785
|
-
type MenuRadioGroupProps =
|
|
3777
|
+
type MenuRadioGroupProps = {
|
|
3786
3778
|
/**
|
|
3787
3779
|
* The radio items
|
|
3788
3780
|
*/
|
|
3789
3781
|
children: ReactNode | ReactNode[];
|
|
3790
3782
|
/**
|
|
3791
|
-
*
|
|
3783
|
+
* The value of the selected radio item
|
|
3792
3784
|
*/
|
|
3793
|
-
|
|
3785
|
+
value?: string;
|
|
3786
|
+
/**
|
|
3787
|
+
* Callback when the value changes
|
|
3788
|
+
*/
|
|
3789
|
+
onValueChange?: (value: string) => void;
|
|
3794
3790
|
};
|
|
3795
3791
|
declare const MenuRadioGroup: {
|
|
3796
3792
|
({
|
|
@@ -3801,7 +3797,7 @@ declare const MenuRadioGroup: {
|
|
|
3801
3797
|
};
|
|
3802
3798
|
//#endregion
|
|
3803
3799
|
//#region src/components/Menu/RadioMenuItem.d.ts
|
|
3804
|
-
type RadioMenuItemProps =
|
|
3800
|
+
type RadioMenuItemProps = MenuItemButtonProps & {
|
|
3805
3801
|
/**
|
|
3806
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)
|
|
3807
3803
|
*/
|
|
@@ -3809,7 +3805,7 @@ type RadioMenuItemProps = DropdownMenuRadioItemProps & MenuItemButtonProps & {
|
|
|
3809
3805
|
/**
|
|
3810
3806
|
* The value of the item
|
|
3811
3807
|
*/
|
|
3812
|
-
value:
|
|
3808
|
+
value: string;
|
|
3813
3809
|
/**
|
|
3814
3810
|
* @ignore
|
|
3815
3811
|
*/
|
|
@@ -3822,6 +3818,10 @@ type RadioMenuItemProps = DropdownMenuRadioItemProps & MenuItemButtonProps & {
|
|
|
3822
3818
|
* @ignore
|
|
3823
3819
|
*/
|
|
3824
3820
|
ref?: never;
|
|
3821
|
+
/**
|
|
3822
|
+
* Callback when the item is selected
|
|
3823
|
+
*/
|
|
3824
|
+
onSelect?: (event: SyntheticEvent) => void;
|
|
3825
3825
|
};
|
|
3826
3826
|
declare const RadioMenuItem: {
|
|
3827
3827
|
({
|
|
@@ -3834,7 +3834,7 @@ declare const RadioMenuItem: {
|
|
|
3834
3834
|
};
|
|
3835
3835
|
//#endregion
|
|
3836
3836
|
//#region src/components/Menu/CheckboxMenuItem.d.ts
|
|
3837
|
-
type CheckboxMenuItemProps =
|
|
3837
|
+
type CheckboxMenuItemProps = MenuItemButtonProps & {
|
|
3838
3838
|
/** Callback to fire when the checked status changes */onCheckedChange: (checked: boolean) => void;
|
|
3839
3839
|
/**
|
|
3840
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)
|
|
@@ -3856,6 +3856,10 @@ type CheckboxMenuItemProps = DropdownMenuCheckboxItemProps & MenuItemButtonProps
|
|
|
3856
3856
|
* @ignore
|
|
3857
3857
|
*/
|
|
3858
3858
|
ref?: never;
|
|
3859
|
+
/**
|
|
3860
|
+
* Callback when the item is selected
|
|
3861
|
+
*/
|
|
3862
|
+
onSelect?: (event: SyntheticEvent) => void;
|
|
3859
3863
|
};
|
|
3860
3864
|
declare const CheckboxMenuItem: {
|
|
3861
3865
|
({
|
|
@@ -4100,8 +4104,7 @@ type UncontrolledPopoverProps = {
|
|
|
4100
4104
|
onOpenChange?: never;
|
|
4101
4105
|
};
|
|
4102
4106
|
type PopoverControlProps = ControlledPopoverProps | UncontrolledPopoverProps;
|
|
4103
|
-
type
|
|
4104
|
-
type PopoverProps = ContentProps & PopoverControlProps & {
|
|
4107
|
+
type PopoverProps = PopoverControlProps & {
|
|
4105
4108
|
/**
|
|
4106
4109
|
* The content of the popover
|
|
4107
4110
|
*/
|
|
@@ -4125,13 +4128,13 @@ type PopoverProps = ContentProps & PopoverControlProps & {
|
|
|
4125
4128
|
/**
|
|
4126
4129
|
* An interactive element. Most commonly a [Button](?path=/docs/components-button--docs) or [IconButton]([Button](?path=/docs/components-iconbutton--docs)).
|
|
4127
4130
|
*/
|
|
4128
|
-
trigger:
|
|
4131
|
+
trigger: ReactElement;
|
|
4129
4132
|
/**
|
|
4130
4133
|
* If true, the popover will use the unstyled Content component instead of StyledContent
|
|
4131
4134
|
*/
|
|
4132
4135
|
unstyled?: boolean;
|
|
4133
4136
|
/**
|
|
4134
|
-
* If true, the popover will use a custom
|
|
4137
|
+
* If true, the popover will use a custom arrow on the trigger
|
|
4135
4138
|
*/
|
|
4136
4139
|
withArrow?: boolean;
|
|
4137
4140
|
/**
|
|
@@ -4143,13 +4146,24 @@ type PopoverProps = ContentProps & PopoverControlProps & {
|
|
|
4143
4146
|
* Inline styles applied to the popover popup
|
|
4144
4147
|
*/
|
|
4145
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;
|
|
4146
4161
|
};
|
|
4147
4162
|
/**
|
|
4148
4163
|
* Displays rich content in a portal, triggered by a button.
|
|
4149
4164
|
*
|
|
4150
|
-
* For more control — custom anchor,
|
|
4151
|
-
*
|
|
4152
|
-
* primitives directly: `PopoverRoot`, `PopoverTrigger`, `PopoverAnchor`,
|
|
4165
|
+
* For more control — custom anchor, no injected close button, etc. — compose
|
|
4166
|
+
* the primitives directly: `PopoverRoot`, `PopoverTrigger`, `PopoverAnchor`,
|
|
4153
4167
|
* `PopoverPortal`, `PopoverContent`, `PopoverClose`.
|
|
4154
4168
|
*/
|
|
4155
4169
|
declare const Popover: {
|
|
@@ -4166,19 +4180,31 @@ declare const Popover: {
|
|
|
4166
4180
|
isAnimated,
|
|
4167
4181
|
colorScheme,
|
|
4168
4182
|
style,
|
|
4183
|
+
side,
|
|
4184
|
+
align,
|
|
4185
|
+
nativeButton,
|
|
4169
4186
|
...props
|
|
4170
4187
|
}: PopoverProps): JSX.Element;
|
|
4171
4188
|
displayName: string;
|
|
4172
4189
|
};
|
|
4173
4190
|
//#endregion
|
|
4174
4191
|
//#region src/components/Popover/PopoverAnchor.d.ts
|
|
4175
|
-
type PopoverAnchorProps =
|
|
4192
|
+
type PopoverAnchorProps = {
|
|
4193
|
+
children: ReactNode;
|
|
4194
|
+
};
|
|
4176
4195
|
/**
|
|
4177
4196
|
* Positions the popover relative to an element other than the trigger. Useful
|
|
4178
4197
|
* when the element the user interacts with (e.g. a text input) is separate
|
|
4179
4198
|
* from what the popover attaches to.
|
|
4199
|
+
*
|
|
4200
|
+
* Wrap the anchor element and nest `PopoverTrigger` inside it.
|
|
4180
4201
|
*/
|
|
4181
|
-
declare const PopoverAnchor:
|
|
4202
|
+
declare const PopoverAnchor: {
|
|
4203
|
+
({
|
|
4204
|
+
children
|
|
4205
|
+
}: PopoverAnchorProps): JSX.Element;
|
|
4206
|
+
displayName: string;
|
|
4207
|
+
};
|
|
4182
4208
|
//#endregion
|
|
4183
4209
|
//#region src/components/Popover/PopoverArrow.d.ts
|
|
4184
4210
|
type PopoverArrowProps = {
|
|
@@ -4195,13 +4221,25 @@ declare const PopoverArrow: {
|
|
|
4195
4221
|
};
|
|
4196
4222
|
//#endregion
|
|
4197
4223
|
//#region src/components/Popover/PopoverClose.d.ts
|
|
4198
|
-
type PopoverCloseProps = ComponentPropsWithoutRef<
|
|
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
|
+
};
|
|
4199
4231
|
/**
|
|
4200
4232
|
* An element that closes the popover when activated. Defaults to a `<button>`;
|
|
4201
|
-
* pass `
|
|
4233
|
+
* pass `render` to merge the close behavior onto a single child element. For
|
|
4202
4234
|
* a pre-styled icon close button, use `PopoverCloseButton`.
|
|
4203
4235
|
*/
|
|
4204
|
-
declare const PopoverClose: _$react.ForwardRefExoticComponent<Omit<_$
|
|
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>>;
|
|
4205
4243
|
//#endregion
|
|
4206
4244
|
//#region src/components/Popover/PopoverCloseButton.d.ts
|
|
4207
4245
|
type PopoverCloseButtonProps = {
|
|
@@ -4219,44 +4257,48 @@ declare const PopoverCloseButton: {
|
|
|
4219
4257
|
};
|
|
4220
4258
|
//#endregion
|
|
4221
4259
|
//#region src/components/Popover/PopoverContent.d.ts
|
|
4222
|
-
type PopoverContentProps =
|
|
4260
|
+
type PopoverContentProps = {
|
|
4223
4261
|
/** Sets the [color scheme](/docs/color-schemes) applied inside the portal. */colorScheme?: ColorSchemeTypes; /** Remove the default surface styling (padding, background, border, etc.). */
|
|
4224
4262
|
unstyled?: boolean; /** Applied as `max-width` on the popover surface. Pass `"none"` to uncap. */
|
|
4225
4263
|
maxWidth?: string; /** Applied as `max-height` on the popover surface. Pass `"none"` to uncap. */
|
|
4226
|
-
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;
|
|
4227
4271
|
};
|
|
4228
4272
|
/**
|
|
4229
4273
|
* The styled popover surface. Place inside a `PopoverRoot` (typically wrapped
|
|
4230
|
-
* in a `PopoverPortal`).
|
|
4231
|
-
* dismissal/focus event handlers such as `onPointerDownOutside`,
|
|
4232
|
-
* `onOpenAutoFocus`, and `onCloseAutoFocus`.
|
|
4274
|
+
* in a `PopoverPortal`). Wraps a `Positioner` and `Popup` internally.
|
|
4233
4275
|
*/
|
|
4234
|
-
declare const PopoverContent: _$react.ForwardRefExoticComponent<
|
|
4235
|
-
/** Sets the [color scheme](/docs/color-schemes) applied inside the portal. */colorScheme?: ColorSchemeTypes; /** Remove the default surface styling (padding, background, border, etc.). */
|
|
4236
|
-
unstyled?: boolean; /** Applied as `max-width` on the popover surface. Pass `"none"` to uncap. */
|
|
4237
|
-
maxWidth?: string; /** Applied as `max-height` on the popover surface. Pass `"none"` to uncap. */
|
|
4238
|
-
maxHeight?: string;
|
|
4239
|
-
} & _$react.RefAttributes<HTMLDivElement>>;
|
|
4276
|
+
declare const PopoverContent: _$react.ForwardRefExoticComponent<PopoverContentProps & _$react.RefAttributes<HTMLDivElement>>;
|
|
4240
4277
|
//#endregion
|
|
4241
4278
|
//#region src/components/Popover/PopoverPortal.d.ts
|
|
4242
|
-
type PopoverPortalProps =
|
|
4279
|
+
type PopoverPortalProps = {
|
|
4280
|
+
children: ReactNode;
|
|
4281
|
+
};
|
|
4243
4282
|
/**
|
|
4244
4283
|
* Portals the popover content out of the DOM hierarchy of its trigger so it can
|
|
4245
4284
|
* escape clipping ancestors (`overflow: hidden`, transformed containers, etc.).
|
|
4246
4285
|
*/
|
|
4247
4286
|
declare const PopoverPortal: {
|
|
4248
|
-
(
|
|
4287
|
+
({
|
|
4288
|
+
children
|
|
4289
|
+
}: PopoverPortalProps): JSX.Element;
|
|
4249
4290
|
displayName: string;
|
|
4250
4291
|
};
|
|
4251
4292
|
//#endregion
|
|
4252
4293
|
//#region src/components/Popover/PopoverRoot.d.ts
|
|
4253
|
-
type
|
|
4254
|
-
type PopoverRootProps = Omit<RadixRootProps, 'open'> & {
|
|
4294
|
+
type PopoverRootProps = {
|
|
4255
4295
|
/**
|
|
4256
4296
|
* Controlled open state. When provided, pair with `onOpenChange` to update it.
|
|
4257
|
-
* Leave unset for uncontrolled behavior
|
|
4297
|
+
* Leave unset for uncontrolled behavior.
|
|
4258
4298
|
*/
|
|
4259
|
-
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;
|
|
4260
4302
|
};
|
|
4261
4303
|
/**
|
|
4262
4304
|
* The root of a composable popover. Wrap `PopoverTrigger` (or `PopoverAnchor`)
|
|
@@ -4267,19 +4309,44 @@ type PopoverRootProps = Omit<RadixRootProps, 'open'> & {
|
|
|
4267
4309
|
declare const PopoverRoot: {
|
|
4268
4310
|
({
|
|
4269
4311
|
isOpen,
|
|
4270
|
-
|
|
4312
|
+
onOpenChange,
|
|
4313
|
+
children
|
|
4271
4314
|
}: PopoverRootProps): JSX.Element;
|
|
4272
4315
|
displayName: string;
|
|
4273
4316
|
};
|
|
4274
4317
|
//#endregion
|
|
4275
4318
|
//#region src/components/Popover/PopoverTrigger.d.ts
|
|
4276
|
-
type PopoverTriggerProps = ComponentPropsWithoutRef<
|
|
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
|
+
};
|
|
4277
4332
|
/**
|
|
4278
4333
|
* The button that toggles the popover open and closed. By default it renders a
|
|
4279
|
-
* `<button>` wrapping its children; pass `
|
|
4334
|
+
* `<button>` wrapping its children; pass `render` to merge the trigger
|
|
4280
4335
|
* behavior onto a single child element (e.g. a `Button` or `IconButton`).
|
|
4281
4336
|
*/
|
|
4282
|
-
declare const PopoverTrigger: _$react.ForwardRefExoticComponent<Omit<_$
|
|
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>>;
|
|
4283
4350
|
//#endregion
|
|
4284
4351
|
//#region src/components/ProgressBar/ProgressBar.d.ts
|
|
4285
4352
|
type ProgressBarProps = ComponentPropsWithoutRef<'div'> & {
|
|
@@ -4373,7 +4440,7 @@ type RadioProps = Omit<ComponentPropsWithoutRef<'input'>, 'hideLabel' | 'label'
|
|
|
4373
4440
|
*/
|
|
4374
4441
|
hideLabel?: boolean;
|
|
4375
4442
|
};
|
|
4376
|
-
declare const Radio: _$react.ForwardRefExoticComponent<Omit<Omit<_$react.DetailedHTMLProps<_$react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "
|
|
4443
|
+
declare const Radio: _$react.ForwardRefExoticComponent<Omit<Omit<_$react.DetailedHTMLProps<_$react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "label" | "onChange" | "size" | "value" | "hideLabel"> & {
|
|
4377
4444
|
/**
|
|
4378
4445
|
* Indicates the state of the radio
|
|
4379
4446
|
*/
|
|
@@ -4635,7 +4702,7 @@ declare const ScrollArea: _$react.ForwardRefExoticComponent<HTMLAttributes<HTMLD
|
|
|
4635
4702
|
} & _$react.RefAttributes<HTMLDivElement>>;
|
|
4636
4703
|
//#endregion
|
|
4637
4704
|
//#region src/components/SegmentedControl/SegmentedControl.d.ts
|
|
4638
|
-
type SegmentedControlProps =
|
|
4705
|
+
type SegmentedControlProps = {
|
|
4639
4706
|
/**
|
|
4640
4707
|
* `SegmentedControlItem`s that will be rendered in grouping
|
|
4641
4708
|
*/
|
|
@@ -4664,7 +4731,7 @@ type SegmentedControlProps = Omit<ToggleGroupSingleProps, 'type'> & {
|
|
|
4664
4731
|
/**
|
|
4665
4732
|
* Provides a horizontal set of segments for switching between different values
|
|
4666
4733
|
*/
|
|
4667
|
-
declare const SegmentedControl: ForwardRefExoticComponent<RefAttributes<HTMLDivElement> & SegmentedControlProps
|
|
4734
|
+
declare const SegmentedControl: ForwardRefExoticComponent<RefAttributes<HTMLDivElement> & SegmentedControlProps & HTMLAttributes<HTMLDivElement>>;
|
|
4668
4735
|
//#endregion
|
|
4669
4736
|
//#region src/components/SegmentedControl/SegmentedControlItem.d.ts
|
|
4670
4737
|
type BaseProps$1 = {
|
|
@@ -4849,7 +4916,7 @@ type SliderProps = Omit<ComponentPropsWithoutRef<'div'>, 'onChange'> & {
|
|
|
4849
4916
|
* (e.g. on mouseup, touchend, or keyup). Useful for analytics or
|
|
4850
4917
|
* expensive operations where only the final value matters.
|
|
4851
4918
|
*/
|
|
4852
|
-
|
|
4919
|
+
onValueCommitted?: (value: number[]) => void;
|
|
4853
4920
|
/**
|
|
4854
4921
|
* Value to be added or subtracted on each step
|
|
4855
4922
|
*/
|
|
@@ -4869,7 +4936,7 @@ declare const Slider: {
|
|
|
4869
4936
|
max,
|
|
4870
4937
|
min,
|
|
4871
4938
|
onChange,
|
|
4872
|
-
|
|
4939
|
+
onValueCommitted,
|
|
4873
4940
|
step,
|
|
4874
4941
|
value,
|
|
4875
4942
|
"data-testid": dataTestId,
|
|
@@ -5156,7 +5223,12 @@ declare const TableRow: ({
|
|
|
5156
5223
|
}: TableRowProps) => JSX.Element;
|
|
5157
5224
|
//#endregion
|
|
5158
5225
|
//#region src/components/Tabs/Tabs.d.ts
|
|
5159
|
-
type TabsProps
|
|
5226
|
+
type TabsProps = {
|
|
5227
|
+
children?: React.ReactNode;
|
|
5228
|
+
defaultValue?: string;
|
|
5229
|
+
onValueChange?: (value: string) => void;
|
|
5230
|
+
value?: string;
|
|
5231
|
+
};
|
|
5160
5232
|
declare const Tabs: {
|
|
5161
5233
|
({
|
|
5162
5234
|
children,
|
|
@@ -5164,22 +5236,27 @@ declare const Tabs: {
|
|
|
5164
5236
|
onValueChange: onValueChangeProp,
|
|
5165
5237
|
defaultValue,
|
|
5166
5238
|
...props
|
|
5167
|
-
}: TabsProps
|
|
5239
|
+
}: TabsProps): JSX.Element;
|
|
5168
5240
|
displayName: string;
|
|
5169
5241
|
};
|
|
5170
5242
|
//#endregion
|
|
5171
5243
|
//#region src/components/Tabs/TabsContent.d.ts
|
|
5172
|
-
type TabsContentProps
|
|
5244
|
+
type TabsContentProps = {
|
|
5245
|
+
children?: ReactNode;
|
|
5246
|
+
value: string;
|
|
5247
|
+
};
|
|
5173
5248
|
declare const TabsContent: {
|
|
5174
5249
|
({
|
|
5175
5250
|
children,
|
|
5176
5251
|
value
|
|
5177
|
-
}: TabsContentProps
|
|
5252
|
+
}: TabsContentProps): JSX.Element;
|
|
5178
5253
|
displayName: string;
|
|
5179
5254
|
};
|
|
5180
5255
|
//#endregion
|
|
5181
5256
|
//#region src/components/Tabs/TabsList.d.ts
|
|
5182
|
-
type TabsListProps
|
|
5257
|
+
type TabsListProps = {
|
|
5258
|
+
'aria-label'?: string;
|
|
5259
|
+
} & PropsWithChildren<{
|
|
5183
5260
|
fullWidth?: boolean;
|
|
5184
5261
|
}>;
|
|
5185
5262
|
declare const TabsList: {
|
|
@@ -5187,12 +5264,15 @@ declare const TabsList: {
|
|
|
5187
5264
|
children,
|
|
5188
5265
|
fullWidth,
|
|
5189
5266
|
...props
|
|
5190
|
-
}: TabsListProps
|
|
5267
|
+
}: TabsListProps): JSX.Element;
|
|
5191
5268
|
displayName: string;
|
|
5192
5269
|
};
|
|
5193
5270
|
//#endregion
|
|
5194
5271
|
//#region src/components/Tabs/TabsTrigger.d.ts
|
|
5195
|
-
type BaseProps =
|
|
5272
|
+
type BaseProps = {
|
|
5273
|
+
disabled?: boolean;
|
|
5274
|
+
value: string;
|
|
5275
|
+
};
|
|
5196
5276
|
type IconWithLabel = {
|
|
5197
5277
|
/**
|
|
5198
5278
|
* The [Icon](?path=/docs/components-icon--docs) component to use, e.g. `<Icon type="favorite" />`
|
|
@@ -5223,8 +5303,8 @@ type NoIcon = {
|
|
|
5223
5303
|
label?: ReactNode | string;
|
|
5224
5304
|
'aria-label'?: never;
|
|
5225
5305
|
};
|
|
5226
|
-
type TabsTriggerProps
|
|
5227
|
-
declare const TabsTrigger: _$react.ForwardRefExoticComponent<TabsTriggerProps
|
|
5306
|
+
type TabsTriggerProps = BaseProps & (IconWithAriaLabel | IconWithLabel | NoIcon);
|
|
5307
|
+
declare const TabsTrigger: _$react.ForwardRefExoticComponent<TabsTriggerProps & _$react.RefAttributes<HTMLButtonElement>>;
|
|
5228
5308
|
//#endregion
|
|
5229
5309
|
//#region src/components/Tag/Tag.d.ts
|
|
5230
5310
|
type TagProps = ComponentPropsWithoutRef<'div'> & {
|
|
@@ -5545,8 +5625,8 @@ declare const WistiaLogo: {
|
|
|
5545
5625
|
displayName: string;
|
|
5546
5626
|
};
|
|
5547
5627
|
declare namespace index_d_exports {
|
|
5548
|
-
export { ActionButton, ActionButtonProps, Avatar, AvatarProps, AvatarStatus, Badge, BadgeProps, Banner, BannerProps, Box, BoxProps, Breadcrumb, BreadcrumbProps, Breadcrumbs, BreadcrumbsProps, Button, ButtonGroup, ButtonProps, Card, CardProps, Center, CenterProps, Checkbox, CheckboxGroup, CheckboxMenuItem, ClickRegion, ClickRegionProps, Collapsible, CollapsibleContent, CollapsibleProps, CollapsibleTrigger, CollapsibleTriggerIcon, ColorGrid, ColorGridOption, ColorGridOptionProps, ColorGridProps, ColorList, ColorListGroup, ColorListGroupProps, ColorListOption, ColorListOptionProps, ColorListProps, ColorPicker, ColorPickerPopoverContent, ColorPickerPopoverContentProps, ColorPickerProps, ColorPickerSection, ColorPickerSectionProps, ColorPickerTrigger, ColorPickerTriggerProps, ColorSchemeTypes, ColorSchemeWrapper, ColorSchemeWrapperProps, Combobox, ComboboxOption, ComboboxOptionProps, ComboboxProps, ContextMenu, ContextMenuProps, ContrastControls, CustomizableThemeWrapper, CustomizableThemeWrapperProps, DataCard, DataCardHoverArrow, DataCardProps, DataCardTrend, DataCardTrendProps, DataCards, DataCardsProps, DataList, DataListItem, DataListItemLabel, DataListItemValue, DataListProps,
|
|
5628
|
+
export { ActionButton, ActionButtonProps, Avatar, AvatarProps, AvatarStatus, Badge, BadgeProps, Banner, BannerProps, Box, BoxProps, Breadcrumb, BreadcrumbProps, Breadcrumbs, BreadcrumbsProps, Button, ButtonGroup, ButtonProps, Card, CardProps, Center, CenterProps, Checkbox, CheckboxGroup, CheckboxMenuItem, ClickRegion, ClickRegionProps, Collapsible, CollapsibleContent, CollapsibleProps, CollapsibleTrigger, CollapsibleTriggerIcon, ColorGrid, ColorGridOption, ColorGridOptionProps, ColorGridProps, ColorList, ColorListGroup, ColorListGroupProps, ColorListOption, ColorListOptionProps, ColorListProps, ColorPicker, ColorPickerPopoverContent, ColorPickerPopoverContentProps, ColorPickerProps, ColorPickerSection, ColorPickerSectionProps, ColorPickerTrigger, ColorPickerTriggerProps, ColorSchemeTypes, ColorSchemeWrapper, ColorSchemeWrapperProps, Combobox, ComboboxOption, ComboboxOptionProps, ComboboxProps, ContextMenu, ContextMenuProps, ContrastControls, CustomizableThemeWrapper, CustomizableThemeWrapperProps, DataCard, DataCardHoverArrow, DataCardProps, DataCardTrend, DataCardTrendProps, DataCards, DataCardsProps, DataList, DataListItem, DataListItemLabel, DataListItemValue, DataListProps, Divider, EditableHeading, EditableHeadingProps, EditableText, EditableTextCancelButton, EditableTextContext, EditableTextDisplay, EditableTextInput, EditableTextLabel, EditableTextProps, EditableTextRoot, EditableTextRootProps, EditableTextSubmitButton, EditableTextTrigger, Ellipsis, EllipsisProps, FeatureCard, FeatureCardImage, FeatureCardProps, FileAmountLimitValidator, FileSizeValidator, FileTypeValidator, FilterMenu, FilterMenuItem, Form, FormErrorSummary, FormField, FormFieldProps, FormGroup, FormGroupProps, FormProps, Grid, GridProps, Heading, HeadingProps, HexColorInput, HexColorInputProps, HueSlider, Icon, IconButton, IconButtonProps, IconNameType, Image, ImageDimensionsValidator, ImageProps, Input, InputClickToCopy, InputClickToCopyProps, InputPassword, InputPasswordProps, InputProps, KeyboardKeys, KeyboardShortcut, Label, LabelProps, Link, LinkProps, List, ListItem, ListItemProps, ListProps, Mark, MarkProps, Markdown, MarkdownProps, Menu, MenuItem, MenuItemDescription, MenuItemLabel, MenuLabel, MenuRadioGroup, Meter, MeterProps, MeterSegment, Modal, ModalCallout, ModalCallouts, ModalProps, PersistentFileAmountLimitValidator, Popover, PopoverAnchor, PopoverAnchorProps, PopoverArrow, PopoverArrowProps, PopoverClose, PopoverCloseButton, PopoverCloseButtonProps, PopoverCloseProps, PopoverContent, PopoverContentProps, PopoverPortal, PopoverPortalProps, PopoverProps, PopoverRoot, PopoverRootProps, PopoverTrigger, PopoverTriggerProps, PreviewCard, PreviewCardProps, ProgressBar, ProgressBarProps, Radio, RadioCard, RadioCardImage, RadioCardImageProps, RadioCardProps, RadioGroup, RadioMenuItem, RadioProps, SaturationAndValuePicker, ScreenReaderOnly, ScrollArea, ScrollAreaProps, SegmentedControl, SegmentedControlItem, SegmentedControlItemProps, SegmentedControlProps, Select, SelectOption, SelectOptionGroup, SelectOptionGroupProps, SelectOptionProps, SelectProps, Slider, SliderProps, SplitButton, SplitButtonProps, Stack, SubMenu, Switch, SwitchProps, Table, TableBody, TableBodyProps, TableCell, TableCellProps, TableFoot, TableFootProps, TableHead, TableHeadProps, TableProps, TableRow, TableRowProps, Tabs, TabsContent, TabsList, TabsTrigger, Tag, TagProps, Text, TextProps, Thumbnail, ThumbnailBadge, ThumbnailBadgeProps, ThumbnailCollage, ThumbnailCollageProps, ThumbnailProps, Tooltip, TooltipProps, UIProvider, UseActiveMqReturnType, UseIsHoveredReturnType, UseMqReturnType, UseToastProps, ValueNameOrHexCode, ValueSwatch, WistiaLogo, calculateContrast, coerceToBoolean, colorSchemeOptions, copyToClipboard, dateTime, iconSizeMap, isKeyboardKey, mergeRefs, mq, useActiveMq, useAriaLive, useBoolean, useClipboard, useElementObserver, useFilePicker, useFocusTrap, useForceUpdate, useFormState, useImperativeFilePicker, useIsHovered, useKey, useKeyPress, useLocalStorage, useLockBodyScroll, useMq, useOnClickOutside, usePreviousValue, useToast, useWindowSize, validateWithYup };
|
|
5549
5629
|
}
|
|
5550
5630
|
//#endregion
|
|
5551
|
-
export { ActionButton, type ActionButtonProps, Avatar, type AvatarProps, type AvatarStatus, Badge, type BadgeProps, Banner, type BannerProps, Box, type BoxProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonProps, Card, type CardProps, Center, type CenterProps, Checkbox, CheckboxGroup, CheckboxMenuItem, ClickRegion, type ClickRegionProps, Collapsible, CollapsibleContent, type CollapsibleProps, CollapsibleTrigger, CollapsibleTriggerIcon, ColorGrid, ColorGridOption, type ColorGridOptionProps, type ColorGridProps, ColorList, ColorListGroup, type ColorListGroupProps, ColorListOption, type ColorListOptionProps, type ColorListProps, ColorPicker, ColorPickerPopoverContent, type ColorPickerPopoverContentProps, type ColorPickerProps, ColorPickerSection, type ColorPickerSectionProps, ColorPickerTrigger, type ColorPickerTriggerProps, type ColorSchemeTypes, ColorSchemeWrapper, type ColorSchemeWrapperProps, Combobox, ComboboxOption, type ComboboxOptionProps, type ComboboxProps, ContextMenu, type ContextMenuProps, ContrastControls, CustomizableThemeWrapper, type CustomizableThemeWrapperProps, DataCard, DataCardHoverArrow, type DataCardProps, DataCardTrend, type DataCardTrendProps, DataCards, type DataCardsProps, DataList, DataListItem, DataListItemLabel, DataListItemValue, type DataListProps,
|
|
5631
|
+
export { ActionButton, type ActionButtonProps, Avatar, type AvatarProps, type AvatarStatus, Badge, type BadgeProps, Banner, type BannerProps, Box, type BoxProps, Breadcrumb, type BreadcrumbProps, Breadcrumbs, type BreadcrumbsProps, Button, ButtonGroup, type ButtonProps, Card, type CardProps, Center, type CenterProps, Checkbox, CheckboxGroup, CheckboxMenuItem, ClickRegion, type ClickRegionProps, Collapsible, CollapsibleContent, type CollapsibleProps, CollapsibleTrigger, CollapsibleTriggerIcon, ColorGrid, ColorGridOption, type ColorGridOptionProps, type ColorGridProps, ColorList, ColorListGroup, type ColorListGroupProps, ColorListOption, type ColorListOptionProps, type ColorListProps, ColorPicker, ColorPickerPopoverContent, type ColorPickerPopoverContentProps, type ColorPickerProps, ColorPickerSection, type ColorPickerSectionProps, ColorPickerTrigger, type ColorPickerTriggerProps, type ColorSchemeTypes, ColorSchemeWrapper, type ColorSchemeWrapperProps, Combobox, ComboboxOption, type ComboboxOptionProps, type ComboboxProps, ContextMenu, type ContextMenuProps, ContrastControls, CustomizableThemeWrapper, type CustomizableThemeWrapperProps, DataCard, DataCardHoverArrow, type DataCardProps, DataCardTrend, type DataCardTrendProps, DataCards, type DataCardsProps, DataList, DataListItem, DataListItemLabel, DataListItemValue, type DataListProps, Divider, EditableHeading, type EditableHeadingProps, EditableText, EditableTextCancelButton, EditableTextContext, EditableTextDisplay, EditableTextInput, EditableTextLabel, type EditableTextProps, EditableTextRoot, type EditableTextRootProps, EditableTextSubmitButton, EditableTextTrigger, Ellipsis, type EllipsisProps, FeatureCard, FeatureCardImage, type FeatureCardProps, FileAmountLimitValidator, FileSizeValidator, FileTypeValidator, FilterMenu, FilterMenuItem, Form, FormErrorSummary, FormField, type FormFieldProps, FormGroup, type FormGroupProps, type FormProps, Grid, type GridProps, Heading, type HeadingProps, HexColorInput, type HexColorInputProps, HueSlider, Icon, IconButton, type IconButtonProps, type IconNameType, Image, ImageDimensionsValidator, type ImageProps, Input, InputClickToCopy, type InputClickToCopyProps, InputPassword, type InputPasswordProps, type InputProps, type KeyboardKeys, KeyboardShortcut, Label, type LabelProps, Link, type LinkProps, List, ListItem, type ListItemProps, type ListProps, Mark, type MarkProps, Markdown, type MarkdownProps, Menu, MenuItem, MenuItemDescription, MenuItemLabel, MenuLabel, MenuRadioGroup, Meter, type MeterProps, type MeterSegment, Modal, ModalCallout, ModalCallouts, type ModalProps, PersistentFileAmountLimitValidator, Popover, PopoverAnchor, type PopoverAnchorProps, PopoverArrow, type PopoverArrowProps, PopoverClose, PopoverCloseButton, type PopoverCloseButtonProps, type PopoverCloseProps, PopoverContent, type PopoverContentProps, PopoverPortal, type PopoverPortalProps, type PopoverProps, PopoverRoot, type PopoverRootProps, PopoverTrigger, type PopoverTriggerProps, PreviewCard, type PreviewCardProps, ProgressBar, type ProgressBarProps, Radio, RadioCard, RadioCardImage, type RadioCardImageProps, type RadioCardProps, RadioGroup, RadioMenuItem, type RadioProps, SaturationAndValuePicker, ScreenReaderOnly, ScrollArea, ScrollAreaProps, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, Select, SelectOption, SelectOptionGroup, type SelectOptionGroupProps, type SelectOptionProps, type SelectProps, Slider, type SliderProps, SplitButton, type SplitButtonProps, Stack, SubMenu, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableFoot, type TableFootProps, TableHead, type TableHeadProps, type TableProps, TableRow, type TableRowProps, Tabs, TabsContent, TabsList, TabsTrigger, Tag, type TagProps, Text, type TextProps, Thumbnail, ThumbnailBadge, type ThumbnailBadgeProps, ThumbnailCollage, type ThumbnailCollageProps, type ThumbnailProps, Tooltip, type TooltipProps, UIProvider, UseActiveMqReturnType, UseIsHoveredReturnType, UseMqReturnType, type UseToastProps, ValueNameOrHexCode, ValueSwatch, WistiaLogo, calculateContrast, coerceToBoolean, colorSchemeOptions, copyToClipboard, dateTime, iconSizeMap, isKeyboardKey, mergeRefs, mq, useActiveMq, useAriaLive, useBoolean, useClipboard, useElementObserver, useFilePicker, useFocusTrap, useForceUpdate, useFormState, useImperativeFilePicker, useIsHovered, useKey, useKeyPress, useLocalStorage, useLockBodyScroll, useMq, useOnClickOutside, usePreviousValue, useToast, useWindowSize, validateWithYup };
|
|
5552
5632
|
//# sourceMappingURL=index.d.ts.map
|