@wistia/ui 0.12.0 → 0.12.1-beta.3a3a5ac3.e63c6fc
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.cjs +682 -352
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +164 -9
- package/dist/index.d.ts +164 -9
- package/dist/index.mjs +616 -288
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -1761,15 +1761,9 @@ type GridProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
1761
1761
|
* Controls the spacing between grid items.
|
|
1762
1762
|
*/
|
|
1763
1763
|
gap?: Gap | ResponsiveGap | Spacings;
|
|
1764
|
+
renderAs?: ElementType;
|
|
1764
1765
|
};
|
|
1765
|
-
|
|
1766
|
-
* A flexible grid component that can either create a fixed number of columns
|
|
1767
|
-
* or an auto-filling grid based on the minimum child width.
|
|
1768
|
-
*/
|
|
1769
|
-
declare const Grid: {
|
|
1770
|
-
({ children, columns, minChildWidth, gap, ...props }: GridProps): JSX.Element;
|
|
1771
|
-
displayName: string;
|
|
1772
|
-
};
|
|
1766
|
+
declare const Grid: (<C extends ElementType = "div">(props: PolymorphicComponentProps<C, GridProps>) => react.ReactElement | null) & UnknownRecord;
|
|
1773
1767
|
|
|
1774
1768
|
type AlignmentTypes$1 = 'center' | 'justify' | 'left' | 'right';
|
|
1775
1769
|
declare const variantStyleMap$1: {
|
|
@@ -2798,6 +2792,167 @@ declare const Radio: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTM
|
|
|
2798
2792
|
hideLabel?: boolean;
|
|
2799
2793
|
} & react.RefAttributes<HTMLInputElement>>;
|
|
2800
2794
|
|
|
2795
|
+
type RadioCardDefaultLayoutProps = {
|
|
2796
|
+
/**
|
|
2797
|
+
* The icon to display
|
|
2798
|
+
*/
|
|
2799
|
+
icon?: JSX.Element | undefined;
|
|
2800
|
+
/**
|
|
2801
|
+
* The main label text for the card.
|
|
2802
|
+
*
|
|
2803
|
+
* *Note: `label` only allows for a string as any interactive elements inside of a RadioCard would be an accessibility violation.*
|
|
2804
|
+
*/
|
|
2805
|
+
label: string;
|
|
2806
|
+
/**
|
|
2807
|
+
* The description text for the card
|
|
2808
|
+
*
|
|
2809
|
+
* *Note: `description` only allows for a string as any interactive elements inside of a RadioCard would be an accessibility violation.*
|
|
2810
|
+
*/
|
|
2811
|
+
description?: string | undefined;
|
|
2812
|
+
/**
|
|
2813
|
+
* Whether to show the indicator
|
|
2814
|
+
*/
|
|
2815
|
+
showIndicator?: boolean | undefined;
|
|
2816
|
+
};
|
|
2817
|
+
|
|
2818
|
+
type RadioCardProps = Omit<ComponentPropsWithoutRef<'input'>, 'onChange'> & RadioCardDefaultLayoutProps & {
|
|
2819
|
+
/**
|
|
2820
|
+
* Indicates the state of the radio
|
|
2821
|
+
*/
|
|
2822
|
+
checked?: boolean;
|
|
2823
|
+
/**
|
|
2824
|
+
* Disables the card
|
|
2825
|
+
*/
|
|
2826
|
+
disabled?: boolean;
|
|
2827
|
+
/**
|
|
2828
|
+
* Provides an ID for the input
|
|
2829
|
+
*/
|
|
2830
|
+
id?: string;
|
|
2831
|
+
/**
|
|
2832
|
+
* The name attribute of the input
|
|
2833
|
+
*/
|
|
2834
|
+
name?: string;
|
|
2835
|
+
/**
|
|
2836
|
+
* Callback function invoked when the value changes
|
|
2837
|
+
*/
|
|
2838
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
2839
|
+
/**
|
|
2840
|
+
* The value attribute of the input
|
|
2841
|
+
*/
|
|
2842
|
+
value: string;
|
|
2843
|
+
};
|
|
2844
|
+
declare const RadioCard: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "onChange"> & RadioCardDefaultLayoutProps & {
|
|
2845
|
+
/**
|
|
2846
|
+
* Indicates the state of the radio
|
|
2847
|
+
*/
|
|
2848
|
+
checked?: boolean;
|
|
2849
|
+
/**
|
|
2850
|
+
* Disables the card
|
|
2851
|
+
*/
|
|
2852
|
+
disabled?: boolean;
|
|
2853
|
+
/**
|
|
2854
|
+
* Provides an ID for the input
|
|
2855
|
+
*/
|
|
2856
|
+
id?: string;
|
|
2857
|
+
/**
|
|
2858
|
+
* The name attribute of the input
|
|
2859
|
+
*/
|
|
2860
|
+
name?: string;
|
|
2861
|
+
/**
|
|
2862
|
+
* Callback function invoked when the value changes
|
|
2863
|
+
*/
|
|
2864
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
2865
|
+
/**
|
|
2866
|
+
* The value attribute of the input
|
|
2867
|
+
*/
|
|
2868
|
+
value: string;
|
|
2869
|
+
} & react.RefAttributes<HTMLInputElement>>;
|
|
2870
|
+
|
|
2871
|
+
type RadioCardImageProps = Omit<ComponentPropsWithoutRef<'input'>, 'onChange'> & {
|
|
2872
|
+
/**
|
|
2873
|
+
* Indicates the state of the radio
|
|
2874
|
+
*/
|
|
2875
|
+
checked?: boolean;
|
|
2876
|
+
/**
|
|
2877
|
+
* Disables the card
|
|
2878
|
+
*/
|
|
2879
|
+
disabled?: boolean;
|
|
2880
|
+
/**
|
|
2881
|
+
* Provides an ID for the input
|
|
2882
|
+
*/
|
|
2883
|
+
id?: string;
|
|
2884
|
+
/**
|
|
2885
|
+
* The name attribute of the input
|
|
2886
|
+
*/
|
|
2887
|
+
name?: string;
|
|
2888
|
+
/**
|
|
2889
|
+
* Callback function invoked when the value changes
|
|
2890
|
+
*/
|
|
2891
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
2892
|
+
/**
|
|
2893
|
+
* The value attribute of the input
|
|
2894
|
+
*/
|
|
2895
|
+
value: string;
|
|
2896
|
+
/**
|
|
2897
|
+
* The label text for the radio card
|
|
2898
|
+
*/
|
|
2899
|
+
label: string;
|
|
2900
|
+
/**
|
|
2901
|
+
* The source URL for the image to display
|
|
2902
|
+
*/
|
|
2903
|
+
imageSrc: string;
|
|
2904
|
+
/**
|
|
2905
|
+
* The aspect ratio of the card
|
|
2906
|
+
*/
|
|
2907
|
+
aspectRatio?: string;
|
|
2908
|
+
/**
|
|
2909
|
+
* The padding of the card
|
|
2910
|
+
*/
|
|
2911
|
+
padding?: Spacings;
|
|
2912
|
+
};
|
|
2913
|
+
declare const RadioCardImage: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "onChange"> & {
|
|
2914
|
+
/**
|
|
2915
|
+
* Indicates the state of the radio
|
|
2916
|
+
*/
|
|
2917
|
+
checked?: boolean;
|
|
2918
|
+
/**
|
|
2919
|
+
* Disables the card
|
|
2920
|
+
*/
|
|
2921
|
+
disabled?: boolean;
|
|
2922
|
+
/**
|
|
2923
|
+
* Provides an ID for the input
|
|
2924
|
+
*/
|
|
2925
|
+
id?: string;
|
|
2926
|
+
/**
|
|
2927
|
+
* The name attribute of the input
|
|
2928
|
+
*/
|
|
2929
|
+
name?: string;
|
|
2930
|
+
/**
|
|
2931
|
+
* Callback function invoked when the value changes
|
|
2932
|
+
*/
|
|
2933
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
2934
|
+
/**
|
|
2935
|
+
* The value attribute of the input
|
|
2936
|
+
*/
|
|
2937
|
+
value: string;
|
|
2938
|
+
/**
|
|
2939
|
+
* The label text for the radio card
|
|
2940
|
+
*/
|
|
2941
|
+
label: string;
|
|
2942
|
+
/**
|
|
2943
|
+
* The source URL for the image to display
|
|
2944
|
+
*/
|
|
2945
|
+
imageSrc: string;
|
|
2946
|
+
/**
|
|
2947
|
+
* The aspect ratio of the card
|
|
2948
|
+
*/
|
|
2949
|
+
aspectRatio?: string;
|
|
2950
|
+
/**
|
|
2951
|
+
* The padding of the card
|
|
2952
|
+
*/
|
|
2953
|
+
padding?: Spacings;
|
|
2954
|
+
} & react.RefAttributes<HTMLInputElement>>;
|
|
2955
|
+
|
|
2801
2956
|
type ScreenReaderOnlyProps = ComponentPropsWithoutRef<'div'> & {
|
|
2802
2957
|
/**
|
|
2803
2958
|
* Pass an arbitrary child node
|
|
@@ -3552,4 +3707,4 @@ declare const InputPassword: react.ForwardRefExoticComponent<Omit<InputProps, "t
|
|
|
3552
3707
|
onVisibilityToggle?: (isVisible: boolean) => void;
|
|
3553
3708
|
} & react.RefAttributes<HTMLInputElement>>;
|
|
3554
3709
|
|
|
3555
|
-
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, type ColorSchemeTypes, ColorSchemeWrapper, type ColorSchemeWrapperProps, Combobox, ComboboxOption, type ComboboxOptionProps, type ComboboxProps, DataCard, type DataCardProps, DataCardTrend, type DataCardTrendProps, DataCards, type DataCardsProps, Divider, EditableHeading, type EditableHeadingProps, Ellipsis, type EllipsisProps, FilterMenu, FilterMenuItem, Form, FormErrorSummary, FormField, type FormFieldProps, FormGroup, type FormGroupProps, type FormProps, Grid, type GridProps, Heading, type HeadingProps, Icon, IconButton, type IconButtonProps, type IconNameType, Image, type ImageProps, Input, InputClickToCopy, type InputClickToCopyProps, InputPassword, type InputPasswordProps, type InputProps, type KeyboardKeys, KeyboardShortcut, Label, type LabelProps, Link, type LinkProps, List, type ListProps, Menu, MenuItem, MenuItemDescription, MenuItemLabel, MenuLabel, MenuRadioGroup, Modal, type ModalProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, Radio, RadioGroup, RadioMenuItem, type RadioProps, ScreenReaderOnly, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, Select, SelectOption, SelectOptionGroup, type SelectOptionGroupProps, type SelectOptionProps, type SelectProps, Slider, type SliderProps, 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, type UseToastProps, WistiaLogo, colorSchemeOptions, copyToClipboard, dateTime, iconSizeMap, mergeRefs, mq, useActiveMq, useAriaLive, useBoolean, useClipboard, useElementObserver, useFilePicker, useFocusTrap, useForceUpdate, useFormState, useImperativeFilePicker, useIsHovered, useKey, useLocalStorage, useLockBodyScroll, useMq, useOnClickOutside, usePreviousValue, useToast, useWindowSize };
|
|
3710
|
+
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, type ColorSchemeTypes, ColorSchemeWrapper, type ColorSchemeWrapperProps, Combobox, ComboboxOption, type ComboboxOptionProps, type ComboboxProps, DataCard, type DataCardProps, DataCardTrend, type DataCardTrendProps, DataCards, type DataCardsProps, Divider, EditableHeading, type EditableHeadingProps, Ellipsis, type EllipsisProps, FilterMenu, FilterMenuItem, Form, FormErrorSummary, FormField, type FormFieldProps, FormGroup, type FormGroupProps, type FormProps, Grid, type GridProps, Heading, type HeadingProps, Icon, IconButton, type IconButtonProps, type IconNameType, Image, type ImageProps, Input, InputClickToCopy, type InputClickToCopyProps, InputPassword, type InputPasswordProps, type InputProps, type KeyboardKeys, KeyboardShortcut, Label, type LabelProps, Link, type LinkProps, List, type ListProps, Menu, MenuItem, MenuItemDescription, MenuItemLabel, MenuLabel, MenuRadioGroup, Modal, type ModalProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, Radio, RadioCard, RadioCardImage, type RadioCardImageProps, type RadioCardProps, RadioGroup, RadioMenuItem, type RadioProps, ScreenReaderOnly, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, Select, SelectOption, SelectOptionGroup, type SelectOptionGroupProps, type SelectOptionProps, type SelectProps, Slider, type SliderProps, 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, type UseToastProps, WistiaLogo, colorSchemeOptions, copyToClipboard, dateTime, iconSizeMap, mergeRefs, mq, useActiveMq, useAriaLive, useBoolean, useClipboard, useElementObserver, useFilePicker, useFocusTrap, useForceUpdate, useFormState, useImperativeFilePicker, useIsHovered, useKey, useLocalStorage, useLockBodyScroll, useMq, useOnClickOutside, usePreviousValue, useToast, useWindowSize };
|
package/dist/index.d.ts
CHANGED
|
@@ -1761,15 +1761,9 @@ type GridProps = ComponentPropsWithoutRef<'div'> & {
|
|
|
1761
1761
|
* Controls the spacing between grid items.
|
|
1762
1762
|
*/
|
|
1763
1763
|
gap?: Gap | ResponsiveGap | Spacings;
|
|
1764
|
+
renderAs?: ElementType;
|
|
1764
1765
|
};
|
|
1765
|
-
|
|
1766
|
-
* A flexible grid component that can either create a fixed number of columns
|
|
1767
|
-
* or an auto-filling grid based on the minimum child width.
|
|
1768
|
-
*/
|
|
1769
|
-
declare const Grid: {
|
|
1770
|
-
({ children, columns, minChildWidth, gap, ...props }: GridProps): JSX.Element;
|
|
1771
|
-
displayName: string;
|
|
1772
|
-
};
|
|
1766
|
+
declare const Grid: (<C extends ElementType = "div">(props: PolymorphicComponentProps<C, GridProps>) => react.ReactElement | null) & UnknownRecord;
|
|
1773
1767
|
|
|
1774
1768
|
type AlignmentTypes$1 = 'center' | 'justify' | 'left' | 'right';
|
|
1775
1769
|
declare const variantStyleMap$1: {
|
|
@@ -2798,6 +2792,167 @@ declare const Radio: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTM
|
|
|
2798
2792
|
hideLabel?: boolean;
|
|
2799
2793
|
} & react.RefAttributes<HTMLInputElement>>;
|
|
2800
2794
|
|
|
2795
|
+
type RadioCardDefaultLayoutProps = {
|
|
2796
|
+
/**
|
|
2797
|
+
* The icon to display
|
|
2798
|
+
*/
|
|
2799
|
+
icon?: JSX.Element | undefined;
|
|
2800
|
+
/**
|
|
2801
|
+
* The main label text for the card.
|
|
2802
|
+
*
|
|
2803
|
+
* *Note: `label` only allows for a string as any interactive elements inside of a RadioCard would be an accessibility violation.*
|
|
2804
|
+
*/
|
|
2805
|
+
label: string;
|
|
2806
|
+
/**
|
|
2807
|
+
* The description text for the card
|
|
2808
|
+
*
|
|
2809
|
+
* *Note: `description` only allows for a string as any interactive elements inside of a RadioCard would be an accessibility violation.*
|
|
2810
|
+
*/
|
|
2811
|
+
description?: string | undefined;
|
|
2812
|
+
/**
|
|
2813
|
+
* Whether to show the indicator
|
|
2814
|
+
*/
|
|
2815
|
+
showIndicator?: boolean | undefined;
|
|
2816
|
+
};
|
|
2817
|
+
|
|
2818
|
+
type RadioCardProps = Omit<ComponentPropsWithoutRef<'input'>, 'onChange'> & RadioCardDefaultLayoutProps & {
|
|
2819
|
+
/**
|
|
2820
|
+
* Indicates the state of the radio
|
|
2821
|
+
*/
|
|
2822
|
+
checked?: boolean;
|
|
2823
|
+
/**
|
|
2824
|
+
* Disables the card
|
|
2825
|
+
*/
|
|
2826
|
+
disabled?: boolean;
|
|
2827
|
+
/**
|
|
2828
|
+
* Provides an ID for the input
|
|
2829
|
+
*/
|
|
2830
|
+
id?: string;
|
|
2831
|
+
/**
|
|
2832
|
+
* The name attribute of the input
|
|
2833
|
+
*/
|
|
2834
|
+
name?: string;
|
|
2835
|
+
/**
|
|
2836
|
+
* Callback function invoked when the value changes
|
|
2837
|
+
*/
|
|
2838
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
2839
|
+
/**
|
|
2840
|
+
* The value attribute of the input
|
|
2841
|
+
*/
|
|
2842
|
+
value: string;
|
|
2843
|
+
};
|
|
2844
|
+
declare const RadioCard: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "onChange"> & RadioCardDefaultLayoutProps & {
|
|
2845
|
+
/**
|
|
2846
|
+
* Indicates the state of the radio
|
|
2847
|
+
*/
|
|
2848
|
+
checked?: boolean;
|
|
2849
|
+
/**
|
|
2850
|
+
* Disables the card
|
|
2851
|
+
*/
|
|
2852
|
+
disabled?: boolean;
|
|
2853
|
+
/**
|
|
2854
|
+
* Provides an ID for the input
|
|
2855
|
+
*/
|
|
2856
|
+
id?: string;
|
|
2857
|
+
/**
|
|
2858
|
+
* The name attribute of the input
|
|
2859
|
+
*/
|
|
2860
|
+
name?: string;
|
|
2861
|
+
/**
|
|
2862
|
+
* Callback function invoked when the value changes
|
|
2863
|
+
*/
|
|
2864
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
2865
|
+
/**
|
|
2866
|
+
* The value attribute of the input
|
|
2867
|
+
*/
|
|
2868
|
+
value: string;
|
|
2869
|
+
} & react.RefAttributes<HTMLInputElement>>;
|
|
2870
|
+
|
|
2871
|
+
type RadioCardImageProps = Omit<ComponentPropsWithoutRef<'input'>, 'onChange'> & {
|
|
2872
|
+
/**
|
|
2873
|
+
* Indicates the state of the radio
|
|
2874
|
+
*/
|
|
2875
|
+
checked?: boolean;
|
|
2876
|
+
/**
|
|
2877
|
+
* Disables the card
|
|
2878
|
+
*/
|
|
2879
|
+
disabled?: boolean;
|
|
2880
|
+
/**
|
|
2881
|
+
* Provides an ID for the input
|
|
2882
|
+
*/
|
|
2883
|
+
id?: string;
|
|
2884
|
+
/**
|
|
2885
|
+
* The name attribute of the input
|
|
2886
|
+
*/
|
|
2887
|
+
name?: string;
|
|
2888
|
+
/**
|
|
2889
|
+
* Callback function invoked when the value changes
|
|
2890
|
+
*/
|
|
2891
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
2892
|
+
/**
|
|
2893
|
+
* The value attribute of the input
|
|
2894
|
+
*/
|
|
2895
|
+
value: string;
|
|
2896
|
+
/**
|
|
2897
|
+
* The label text for the radio card
|
|
2898
|
+
*/
|
|
2899
|
+
label: string;
|
|
2900
|
+
/**
|
|
2901
|
+
* The source URL for the image to display
|
|
2902
|
+
*/
|
|
2903
|
+
imageSrc: string;
|
|
2904
|
+
/**
|
|
2905
|
+
* The aspect ratio of the card
|
|
2906
|
+
*/
|
|
2907
|
+
aspectRatio?: string;
|
|
2908
|
+
/**
|
|
2909
|
+
* The padding of the card
|
|
2910
|
+
*/
|
|
2911
|
+
padding?: Spacings;
|
|
2912
|
+
};
|
|
2913
|
+
declare const RadioCardImage: react.ForwardRefExoticComponent<Omit<Omit<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "onChange"> & {
|
|
2914
|
+
/**
|
|
2915
|
+
* Indicates the state of the radio
|
|
2916
|
+
*/
|
|
2917
|
+
checked?: boolean;
|
|
2918
|
+
/**
|
|
2919
|
+
* Disables the card
|
|
2920
|
+
*/
|
|
2921
|
+
disabled?: boolean;
|
|
2922
|
+
/**
|
|
2923
|
+
* Provides an ID for the input
|
|
2924
|
+
*/
|
|
2925
|
+
id?: string;
|
|
2926
|
+
/**
|
|
2927
|
+
* The name attribute of the input
|
|
2928
|
+
*/
|
|
2929
|
+
name?: string;
|
|
2930
|
+
/**
|
|
2931
|
+
* Callback function invoked when the value changes
|
|
2932
|
+
*/
|
|
2933
|
+
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
2934
|
+
/**
|
|
2935
|
+
* The value attribute of the input
|
|
2936
|
+
*/
|
|
2937
|
+
value: string;
|
|
2938
|
+
/**
|
|
2939
|
+
* The label text for the radio card
|
|
2940
|
+
*/
|
|
2941
|
+
label: string;
|
|
2942
|
+
/**
|
|
2943
|
+
* The source URL for the image to display
|
|
2944
|
+
*/
|
|
2945
|
+
imageSrc: string;
|
|
2946
|
+
/**
|
|
2947
|
+
* The aspect ratio of the card
|
|
2948
|
+
*/
|
|
2949
|
+
aspectRatio?: string;
|
|
2950
|
+
/**
|
|
2951
|
+
* The padding of the card
|
|
2952
|
+
*/
|
|
2953
|
+
padding?: Spacings;
|
|
2954
|
+
} & react.RefAttributes<HTMLInputElement>>;
|
|
2955
|
+
|
|
2801
2956
|
type ScreenReaderOnlyProps = ComponentPropsWithoutRef<'div'> & {
|
|
2802
2957
|
/**
|
|
2803
2958
|
* Pass an arbitrary child node
|
|
@@ -3552,4 +3707,4 @@ declare const InputPassword: react.ForwardRefExoticComponent<Omit<InputProps, "t
|
|
|
3552
3707
|
onVisibilityToggle?: (isVisible: boolean) => void;
|
|
3553
3708
|
} & react.RefAttributes<HTMLInputElement>>;
|
|
3554
3709
|
|
|
3555
|
-
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, type ColorSchemeTypes, ColorSchemeWrapper, type ColorSchemeWrapperProps, Combobox, ComboboxOption, type ComboboxOptionProps, type ComboboxProps, DataCard, type DataCardProps, DataCardTrend, type DataCardTrendProps, DataCards, type DataCardsProps, Divider, EditableHeading, type EditableHeadingProps, Ellipsis, type EllipsisProps, FilterMenu, FilterMenuItem, Form, FormErrorSummary, FormField, type FormFieldProps, FormGroup, type FormGroupProps, type FormProps, Grid, type GridProps, Heading, type HeadingProps, Icon, IconButton, type IconButtonProps, type IconNameType, Image, type ImageProps, Input, InputClickToCopy, type InputClickToCopyProps, InputPassword, type InputPasswordProps, type InputProps, type KeyboardKeys, KeyboardShortcut, Label, type LabelProps, Link, type LinkProps, List, type ListProps, Menu, MenuItem, MenuItemDescription, MenuItemLabel, MenuLabel, MenuRadioGroup, Modal, type ModalProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, Radio, RadioGroup, RadioMenuItem, type RadioProps, ScreenReaderOnly, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, Select, SelectOption, SelectOptionGroup, type SelectOptionGroupProps, type SelectOptionProps, type SelectProps, Slider, type SliderProps, 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, type UseToastProps, WistiaLogo, colorSchemeOptions, copyToClipboard, dateTime, iconSizeMap, mergeRefs, mq, useActiveMq, useAriaLive, useBoolean, useClipboard, useElementObserver, useFilePicker, useFocusTrap, useForceUpdate, useFormState, useImperativeFilePicker, useIsHovered, useKey, useLocalStorage, useLockBodyScroll, useMq, useOnClickOutside, usePreviousValue, useToast, useWindowSize };
|
|
3710
|
+
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, type ColorSchemeTypes, ColorSchemeWrapper, type ColorSchemeWrapperProps, Combobox, ComboboxOption, type ComboboxOptionProps, type ComboboxProps, DataCard, type DataCardProps, DataCardTrend, type DataCardTrendProps, DataCards, type DataCardsProps, Divider, EditableHeading, type EditableHeadingProps, Ellipsis, type EllipsisProps, FilterMenu, FilterMenuItem, Form, FormErrorSummary, FormField, type FormFieldProps, FormGroup, type FormGroupProps, type FormProps, Grid, type GridProps, Heading, type HeadingProps, Icon, IconButton, type IconButtonProps, type IconNameType, Image, type ImageProps, Input, InputClickToCopy, type InputClickToCopyProps, InputPassword, type InputPasswordProps, type InputProps, type KeyboardKeys, KeyboardShortcut, Label, type LabelProps, Link, type LinkProps, List, type ListProps, Menu, MenuItem, MenuItemDescription, MenuItemLabel, MenuLabel, MenuRadioGroup, Modal, type ModalProps, Popover, type PopoverProps, ProgressBar, type ProgressBarProps, Radio, RadioCard, RadioCardImage, type RadioCardImageProps, type RadioCardProps, RadioGroup, RadioMenuItem, type RadioProps, ScreenReaderOnly, SegmentedControl, SegmentedControlItem, type SegmentedControlItemProps, type SegmentedControlProps, Select, SelectOption, SelectOptionGroup, type SelectOptionGroupProps, type SelectOptionProps, type SelectProps, Slider, type SliderProps, 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, type UseToastProps, WistiaLogo, colorSchemeOptions, copyToClipboard, dateTime, iconSizeMap, mergeRefs, mq, useActiveMq, useAriaLive, useBoolean, useClipboard, useElementObserver, useFilePicker, useFocusTrap, useForceUpdate, useFormState, useImperativeFilePicker, useIsHovered, useKey, useLocalStorage, useLockBodyScroll, useMq, useOnClickOutside, usePreviousValue, useToast, useWindowSize };
|