@wistia/ui 0.1.1 → 0.2.0

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.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
- import { ReactNode, ComponentPropsWithoutRef, JSX, ComponentPropsWithRef, MouseEvent, ChangeEvent, ForwardedRef, Ref, JSXElementConstructor, ElementType as ElementType$1, RefObject, InputHTMLAttributes } from 'react';
3
+ import { ReactNode, ComponentPropsWithoutRef, JSX, ComponentPropsWithRef, MouseEvent, ChangeEvent, ForwardedRef, Ref, JSXElementConstructor, ElementType as ElementType$1, InputHTMLAttributes, RefObject } from 'react';
4
4
  import { LinkProps as LinkProps$1 } from 'react-router-dom';
5
5
  import * as styled_components from 'styled-components';
6
6
  import { DropdownMenuContentProps, DropdownMenuItemProps, DropdownMenuRadioGroupProps, DropdownMenuRadioItemProps, DropdownMenuCheckboxItemProps } from '@radix-ui/react-dropdown-menu';
@@ -243,6 +243,63 @@ type AriaLiveContextType = {
243
243
  };
244
244
  declare const useAriaLive: () => AriaLiveContextType;
245
245
 
246
+ type ActionButtonProps = {
247
+ /**
248
+ * The Icon component to use, e.g. `<Icon type="favorite" />`
249
+ */
250
+ icon: JSX.Element;
251
+ /**
252
+ * Disables the button
253
+ */
254
+ disabled?: boolean;
255
+ /**
256
+ * Set the [color scheme](../?path=/docs/docs-color-schemes--docs) of the `ActionButton` when hovered. By default, it will inherit the `colorScheme` prop.
257
+ */
258
+ hoverColorScheme?: ColorSchemeTypes;
259
+ /**
260
+ * Changes the secondary icon for different use cases
261
+ */
262
+ variant?: 'default' | 'gated' | 'menu-down' | 'menu-up';
263
+ } & (Omit<ButtonAsButtonProps, 'fullWidth' | 'isLoading' | 'leftIcon' | 'rightIcon' | 'size' | 'unstyled' | 'variant'> | Omit<ButtonAsLinkProps, 'fullWidth' | 'isLoading' | 'leftIcon' | 'rightIcon' | 'size' | 'unstyled' | 'variant'>);
264
+ /**
265
+ * Action Button component is used as one of a group of main actions on the page.
266
+ */
267
+ declare const ActionButton: react.ForwardRefExoticComponent<(Omit<{
268
+ /**
269
+ * The Icon component to use, e.g. `<Icon type="favorite" />`
270
+ */
271
+ icon: JSX.Element;
272
+ /**
273
+ * Disables the button
274
+ */
275
+ disabled?: boolean;
276
+ /**
277
+ * Set the [color scheme](../?path=/docs/docs-color-schemes--docs) of the `ActionButton` when hovered. By default, it will inherit the `colorScheme` prop.
278
+ */
279
+ hoverColorScheme?: ColorSchemeTypes;
280
+ /**
281
+ * Changes the secondary icon for different use cases
282
+ */
283
+ variant?: "default" | "gated" | "menu-down" | "menu-up";
284
+ } & Omit<ButtonAsButtonProps, "size" | "isLoading" | "leftIcon" | "fullWidth" | "unstyled" | "rightIcon" | "variant">, "ref"> | Omit<{
285
+ /**
286
+ * The Icon component to use, e.g. `<Icon type="favorite" />`
287
+ */
288
+ icon: JSX.Element;
289
+ /**
290
+ * Disables the button
291
+ */
292
+ disabled?: boolean;
293
+ /**
294
+ * Set the [color scheme](../?path=/docs/docs-color-schemes--docs) of the `ActionButton` when hovered. By default, it will inherit the `colorScheme` prop.
295
+ */
296
+ hoverColorScheme?: ColorSchemeTypes;
297
+ /**
298
+ * Changes the secondary icon for different use cases
299
+ */
300
+ variant?: "default" | "gated" | "menu-down" | "menu-up";
301
+ } & Omit<ButtonAsLinkProps, "size" | "isLoading" | "leftIcon" | "fullWidth" | "unstyled" | "rightIcon" | "variant">, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
302
+
246
303
  type AvatarInstanceType = 'image' | 'initials';
247
304
  type AvatarProps = ComponentPropsWithoutRef<'div'> & {
248
305
  /**
@@ -487,19 +544,17 @@ type CheckboxProps = Omit<ComponentPropsWithRef<'label'>, 'onChange'> & {
487
544
  };
488
545
  declare const Checkbox: react.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
489
546
 
490
- type DividerProps = ComponentPropsWithoutRef<'hr'> & {
547
+ type DividerProps = ComponentPropsWithoutRef<'div'> & {
491
548
  /**
492
- * Size of the divider. Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
493
- *
494
- * @type 'lg' | 'sm'
549
+ * Orientation of the divider.
495
550
  */
496
- size?: ResponsiveObject<'lg' | 'sm'> | 'lg' | 'sm';
551
+ orientation?: 'horizontal' | 'vertical';
497
552
  };
498
553
  /**
499
- * A line used to visually separate content
554
+ * A line used to visually separate content; note that dividers have no margin/spacing on their own.
500
555
  */
501
556
  declare const Divider: {
502
- ({ size, ...otherProps }: DividerProps): JSX.Element;
557
+ ({ orientation, ...otherProps }: DividerProps): JSX.Element;
503
558
  displayName: string;
504
559
  };
505
560
 
@@ -1037,6 +1092,70 @@ declare const IconButton: react.ForwardRefExoticComponent<(Omit<{
1037
1092
  children: JSX.Element;
1038
1093
  } & Omit<ButtonAsLinkProps, "leftIcon" | "fullWidth" | "rightIcon">, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
1039
1094
 
1095
+ type InputProps = Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, 'type'> & {
1096
+ /**
1097
+ * Sets the validity status of the input
1098
+ */
1099
+ 'aria-invalid'?: boolean;
1100
+ /**
1101
+ * Set the disabled state of the input
1102
+ */
1103
+ disabled?: boolean;
1104
+ /**
1105
+ * If true, the input will fill the width of its parent
1106
+ */
1107
+ fullWidth?: boolean;
1108
+ /**
1109
+ * If true, the input will use a monospace font
1110
+ */
1111
+ monospace?: boolean;
1112
+ /**
1113
+ * Icon to display on the left side of the input, Must be an instance of [Icon](?path=/docs/components-icon--docs)
1114
+ */
1115
+ leftIcon?: JSX.Element | undefined;
1116
+ /**
1117
+ * Icon to display on the right side of the input, Must be an instance of [Icon](?path=/docs/components-icon--docs)
1118
+ */
1119
+ rightIcon?: JSX.Element | undefined;
1120
+ /**
1121
+ * The type of the input
1122
+ */
1123
+ type?: 'email' | 'multiline' | 'number' | 'phone' | 'search' | 'text' | 'url';
1124
+ };
1125
+ /**
1126
+ * Component description goes here
1127
+ */
1128
+ declare const Input: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, "type"> & {
1129
+ /**
1130
+ * Sets the validity status of the input
1131
+ */
1132
+ 'aria-invalid'?: boolean;
1133
+ /**
1134
+ * Set the disabled state of the input
1135
+ */
1136
+ disabled?: boolean;
1137
+ /**
1138
+ * If true, the input will fill the width of its parent
1139
+ */
1140
+ fullWidth?: boolean;
1141
+ /**
1142
+ * If true, the input will use a monospace font
1143
+ */
1144
+ monospace?: boolean;
1145
+ /**
1146
+ * Icon to display on the left side of the input, Must be an instance of [Icon](?path=/docs/components-icon--docs)
1147
+ */
1148
+ leftIcon?: JSX.Element | undefined;
1149
+ /**
1150
+ * Icon to display on the right side of the input, Must be an instance of [Icon](?path=/docs/components-icon--docs)
1151
+ */
1152
+ rightIcon?: JSX.Element | undefined;
1153
+ /**
1154
+ * The type of the input
1155
+ */
1156
+ type?: "email" | "multiline" | "number" | "phone" | "search" | "text" | "url";
1157
+ } & react.RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
1158
+
1040
1159
  type LabelProps = ComponentPropsWithoutRef<'label'> & {
1041
1160
  /**
1042
1161
  * Pass an arbitrary child node
@@ -1855,68 +1974,4 @@ declare const WistiaLogo: {
1855
1974
  displayName: string;
1856
1975
  };
1857
1976
 
1858
- type InputProps = Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, 'type'> & {
1859
- /**
1860
- * Sets the validity status of the input
1861
- */
1862
- 'aria-invalid'?: boolean;
1863
- /**
1864
- * Set the disabled state of the input
1865
- */
1866
- disabled?: boolean;
1867
- /**
1868
- * If true, the input will fill the width of its parent
1869
- */
1870
- fullWidth?: boolean;
1871
- /**
1872
- * If true, the input will use a monospace font
1873
- */
1874
- monospace?: boolean;
1875
- /**
1876
- * Icon to display on the left side of the input, Must be an instance of [Icon](?path=/docs/components-icon--docs)
1877
- */
1878
- leftIcon?: JSX.Element | undefined;
1879
- /**
1880
- * Icon to display on the right side of the input, Must be an instance of [Icon](?path=/docs/components-icon--docs)
1881
- */
1882
- rightIcon?: JSX.Element | undefined;
1883
- /**
1884
- * The type of the input
1885
- */
1886
- type?: 'email' | 'multiline' | 'number' | 'phone' | 'search' | 'text' | 'url';
1887
- };
1888
- /**
1889
- * Component description goes here
1890
- */
1891
- declare const Input: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, "type"> & {
1892
- /**
1893
- * Sets the validity status of the input
1894
- */
1895
- 'aria-invalid'?: boolean;
1896
- /**
1897
- * Set the disabled state of the input
1898
- */
1899
- disabled?: boolean;
1900
- /**
1901
- * If true, the input will fill the width of its parent
1902
- */
1903
- fullWidth?: boolean;
1904
- /**
1905
- * If true, the input will use a monospace font
1906
- */
1907
- monospace?: boolean;
1908
- /**
1909
- * Icon to display on the left side of the input, Must be an instance of [Icon](?path=/docs/components-icon--docs)
1910
- */
1911
- leftIcon?: JSX.Element | undefined;
1912
- /**
1913
- * Icon to display on the right side of the input, Must be an instance of [Icon](?path=/docs/components-icon--docs)
1914
- */
1915
- rightIcon?: JSX.Element | undefined;
1916
- /**
1917
- * The type of the input
1918
- */
1919
- type?: "email" | "multiline" | "number" | "phone" | "search" | "text" | "url";
1920
- } & react.RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
1921
-
1922
- export { Avatar, type AvatarInstanceType, type AvatarProps, Badge, type BadgeProps, Box, type BoxProps, Button, ButtonGroup, type ButtonProps, Checkbox, CheckboxGroup, CheckboxMenuItem, type ColorSchemeTypes, ColorSchemeWrapper, type ColorSchemeWrapperProps, Divider, Ellipsis, Form, FormErrorSummary, FormField, type FormFieldProps, FormGroup, type FormGroupProps, type FormProps, Heading, type HeadingProps, Icon, IconButton, type IconButtonProps, type IconNameType, Input, type InputProps, Label, type LabelProps, Link, type LinkProps, Menu, MenuItem, MenuItemDescription, MenuItemLabel, MenuLabel, MenuRadioGroup, Modal, type ModalProps, Radio, RadioGroup, RadioMenuItem, type RadioProps, ScreenReaderOnly, Stack, SubMenu, Tag, type TagProps, Text, type TextProps, Tooltip, type TooltipProps, UIProvider, WistiaLogo, colorSchemeOptions, copyToClipboard, ellipsisFlexParentStyle, ellipsisStyle, iconSizeMap, mq, useActiveMq, useAriaLive, useFormState, useMq, useToast, useWindowSize };
1977
+ export { ActionButton, type ActionButtonProps, Avatar, type AvatarInstanceType, type AvatarProps, Badge, type BadgeProps, Box, type BoxProps, Button, ButtonGroup, type ButtonProps, Checkbox, CheckboxGroup, CheckboxMenuItem, type ColorSchemeTypes, ColorSchemeWrapper, type ColorSchemeWrapperProps, Divider, Ellipsis, Form, FormErrorSummary, FormField, type FormFieldProps, FormGroup, type FormGroupProps, type FormProps, Heading, type HeadingProps, Icon, IconButton, type IconButtonProps, type IconNameType, Input, type InputProps, Label, type LabelProps, Link, type LinkProps, Menu, MenuItem, MenuItemDescription, MenuItemLabel, MenuLabel, MenuRadioGroup, Modal, type ModalProps, Radio, RadioGroup, RadioMenuItem, type RadioProps, ScreenReaderOnly, Stack, SubMenu, Tag, type TagProps, Text, type TextProps, Tooltip, type TooltipProps, UIProvider, WistiaLogo, colorSchemeOptions, copyToClipboard, ellipsisFlexParentStyle, ellipsisStyle, iconSizeMap, mq, useActiveMq, useAriaLive, useFormState, useMq, useToast, useWindowSize };
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import * as react from 'react';
3
- import { ReactNode, ComponentPropsWithoutRef, JSX, ComponentPropsWithRef, MouseEvent, ChangeEvent, ForwardedRef, Ref, JSXElementConstructor, ElementType as ElementType$1, RefObject, InputHTMLAttributes } from 'react';
3
+ import { ReactNode, ComponentPropsWithoutRef, JSX, ComponentPropsWithRef, MouseEvent, ChangeEvent, ForwardedRef, Ref, JSXElementConstructor, ElementType as ElementType$1, InputHTMLAttributes, RefObject } from 'react';
4
4
  import { LinkProps as LinkProps$1 } from 'react-router-dom';
5
5
  import * as styled_components from 'styled-components';
6
6
  import { DropdownMenuContentProps, DropdownMenuItemProps, DropdownMenuRadioGroupProps, DropdownMenuRadioItemProps, DropdownMenuCheckboxItemProps } from '@radix-ui/react-dropdown-menu';
@@ -243,6 +243,63 @@ type AriaLiveContextType = {
243
243
  };
244
244
  declare const useAriaLive: () => AriaLiveContextType;
245
245
 
246
+ type ActionButtonProps = {
247
+ /**
248
+ * The Icon component to use, e.g. `<Icon type="favorite" />`
249
+ */
250
+ icon: JSX.Element;
251
+ /**
252
+ * Disables the button
253
+ */
254
+ disabled?: boolean;
255
+ /**
256
+ * Set the [color scheme](../?path=/docs/docs-color-schemes--docs) of the `ActionButton` when hovered. By default, it will inherit the `colorScheme` prop.
257
+ */
258
+ hoverColorScheme?: ColorSchemeTypes;
259
+ /**
260
+ * Changes the secondary icon for different use cases
261
+ */
262
+ variant?: 'default' | 'gated' | 'menu-down' | 'menu-up';
263
+ } & (Omit<ButtonAsButtonProps, 'fullWidth' | 'isLoading' | 'leftIcon' | 'rightIcon' | 'size' | 'unstyled' | 'variant'> | Omit<ButtonAsLinkProps, 'fullWidth' | 'isLoading' | 'leftIcon' | 'rightIcon' | 'size' | 'unstyled' | 'variant'>);
264
+ /**
265
+ * Action Button component is used as one of a group of main actions on the page.
266
+ */
267
+ declare const ActionButton: react.ForwardRefExoticComponent<(Omit<{
268
+ /**
269
+ * The Icon component to use, e.g. `<Icon type="favorite" />`
270
+ */
271
+ icon: JSX.Element;
272
+ /**
273
+ * Disables the button
274
+ */
275
+ disabled?: boolean;
276
+ /**
277
+ * Set the [color scheme](../?path=/docs/docs-color-schemes--docs) of the `ActionButton` when hovered. By default, it will inherit the `colorScheme` prop.
278
+ */
279
+ hoverColorScheme?: ColorSchemeTypes;
280
+ /**
281
+ * Changes the secondary icon for different use cases
282
+ */
283
+ variant?: "default" | "gated" | "menu-down" | "menu-up";
284
+ } & Omit<ButtonAsButtonProps, "size" | "isLoading" | "leftIcon" | "fullWidth" | "unstyled" | "rightIcon" | "variant">, "ref"> | Omit<{
285
+ /**
286
+ * The Icon component to use, e.g. `<Icon type="favorite" />`
287
+ */
288
+ icon: JSX.Element;
289
+ /**
290
+ * Disables the button
291
+ */
292
+ disabled?: boolean;
293
+ /**
294
+ * Set the [color scheme](../?path=/docs/docs-color-schemes--docs) of the `ActionButton` when hovered. By default, it will inherit the `colorScheme` prop.
295
+ */
296
+ hoverColorScheme?: ColorSchemeTypes;
297
+ /**
298
+ * Changes the secondary icon for different use cases
299
+ */
300
+ variant?: "default" | "gated" | "menu-down" | "menu-up";
301
+ } & Omit<ButtonAsLinkProps, "size" | "isLoading" | "leftIcon" | "fullWidth" | "unstyled" | "rightIcon" | "variant">, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
302
+
246
303
  type AvatarInstanceType = 'image' | 'initials';
247
304
  type AvatarProps = ComponentPropsWithoutRef<'div'> & {
248
305
  /**
@@ -487,19 +544,17 @@ type CheckboxProps = Omit<ComponentPropsWithRef<'label'>, 'onChange'> & {
487
544
  };
488
545
  declare const Checkbox: react.ForwardRefExoticComponent<Omit<CheckboxProps, "ref"> & react.RefAttributes<HTMLButtonElement>>;
489
546
 
490
- type DividerProps = ComponentPropsWithoutRef<'hr'> & {
547
+ type DividerProps = ComponentPropsWithoutRef<'div'> & {
491
548
  /**
492
- * Size of the divider. Can be a [responsive prop](/docs/ui-docs-responsive-props--docs).
493
- *
494
- * @type 'lg' | 'sm'
549
+ * Orientation of the divider.
495
550
  */
496
- size?: ResponsiveObject<'lg' | 'sm'> | 'lg' | 'sm';
551
+ orientation?: 'horizontal' | 'vertical';
497
552
  };
498
553
  /**
499
- * A line used to visually separate content
554
+ * A line used to visually separate content; note that dividers have no margin/spacing on their own.
500
555
  */
501
556
  declare const Divider: {
502
- ({ size, ...otherProps }: DividerProps): JSX.Element;
557
+ ({ orientation, ...otherProps }: DividerProps): JSX.Element;
503
558
  displayName: string;
504
559
  };
505
560
 
@@ -1037,6 +1092,70 @@ declare const IconButton: react.ForwardRefExoticComponent<(Omit<{
1037
1092
  children: JSX.Element;
1038
1093
  } & Omit<ButtonAsLinkProps, "leftIcon" | "fullWidth" | "rightIcon">, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
1039
1094
 
1095
+ type InputProps = Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, 'type'> & {
1096
+ /**
1097
+ * Sets the validity status of the input
1098
+ */
1099
+ 'aria-invalid'?: boolean;
1100
+ /**
1101
+ * Set the disabled state of the input
1102
+ */
1103
+ disabled?: boolean;
1104
+ /**
1105
+ * If true, the input will fill the width of its parent
1106
+ */
1107
+ fullWidth?: boolean;
1108
+ /**
1109
+ * If true, the input will use a monospace font
1110
+ */
1111
+ monospace?: boolean;
1112
+ /**
1113
+ * Icon to display on the left side of the input, Must be an instance of [Icon](?path=/docs/components-icon--docs)
1114
+ */
1115
+ leftIcon?: JSX.Element | undefined;
1116
+ /**
1117
+ * Icon to display on the right side of the input, Must be an instance of [Icon](?path=/docs/components-icon--docs)
1118
+ */
1119
+ rightIcon?: JSX.Element | undefined;
1120
+ /**
1121
+ * The type of the input
1122
+ */
1123
+ type?: 'email' | 'multiline' | 'number' | 'phone' | 'search' | 'text' | 'url';
1124
+ };
1125
+ /**
1126
+ * Component description goes here
1127
+ */
1128
+ declare const Input: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, "type"> & {
1129
+ /**
1130
+ * Sets the validity status of the input
1131
+ */
1132
+ 'aria-invalid'?: boolean;
1133
+ /**
1134
+ * Set the disabled state of the input
1135
+ */
1136
+ disabled?: boolean;
1137
+ /**
1138
+ * If true, the input will fill the width of its parent
1139
+ */
1140
+ fullWidth?: boolean;
1141
+ /**
1142
+ * If true, the input will use a monospace font
1143
+ */
1144
+ monospace?: boolean;
1145
+ /**
1146
+ * Icon to display on the left side of the input, Must be an instance of [Icon](?path=/docs/components-icon--docs)
1147
+ */
1148
+ leftIcon?: JSX.Element | undefined;
1149
+ /**
1150
+ * Icon to display on the right side of the input, Must be an instance of [Icon](?path=/docs/components-icon--docs)
1151
+ */
1152
+ rightIcon?: JSX.Element | undefined;
1153
+ /**
1154
+ * The type of the input
1155
+ */
1156
+ type?: "email" | "multiline" | "number" | "phone" | "search" | "text" | "url";
1157
+ } & react.RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
1158
+
1040
1159
  type LabelProps = ComponentPropsWithoutRef<'label'> & {
1041
1160
  /**
1042
1161
  * Pass an arbitrary child node
@@ -1855,68 +1974,4 @@ declare const WistiaLogo: {
1855
1974
  displayName: string;
1856
1975
  };
1857
1976
 
1858
- type InputProps = Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, 'type'> & {
1859
- /**
1860
- * Sets the validity status of the input
1861
- */
1862
- 'aria-invalid'?: boolean;
1863
- /**
1864
- * Set the disabled state of the input
1865
- */
1866
- disabled?: boolean;
1867
- /**
1868
- * If true, the input will fill the width of its parent
1869
- */
1870
- fullWidth?: boolean;
1871
- /**
1872
- * If true, the input will use a monospace font
1873
- */
1874
- monospace?: boolean;
1875
- /**
1876
- * Icon to display on the left side of the input, Must be an instance of [Icon](?path=/docs/components-icon--docs)
1877
- */
1878
- leftIcon?: JSX.Element | undefined;
1879
- /**
1880
- * Icon to display on the right side of the input, Must be an instance of [Icon](?path=/docs/components-icon--docs)
1881
- */
1882
- rightIcon?: JSX.Element | undefined;
1883
- /**
1884
- * The type of the input
1885
- */
1886
- type?: 'email' | 'multiline' | 'number' | 'phone' | 'search' | 'text' | 'url';
1887
- };
1888
- /**
1889
- * Component description goes here
1890
- */
1891
- declare const Input: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, "type"> & {
1892
- /**
1893
- * Sets the validity status of the input
1894
- */
1895
- 'aria-invalid'?: boolean;
1896
- /**
1897
- * Set the disabled state of the input
1898
- */
1899
- disabled?: boolean;
1900
- /**
1901
- * If true, the input will fill the width of its parent
1902
- */
1903
- fullWidth?: boolean;
1904
- /**
1905
- * If true, the input will use a monospace font
1906
- */
1907
- monospace?: boolean;
1908
- /**
1909
- * Icon to display on the left side of the input, Must be an instance of [Icon](?path=/docs/components-icon--docs)
1910
- */
1911
- leftIcon?: JSX.Element | undefined;
1912
- /**
1913
- * Icon to display on the right side of the input, Must be an instance of [Icon](?path=/docs/components-icon--docs)
1914
- */
1915
- rightIcon?: JSX.Element | undefined;
1916
- /**
1917
- * The type of the input
1918
- */
1919
- type?: "email" | "multiline" | "number" | "phone" | "search" | "text" | "url";
1920
- } & react.RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
1921
-
1922
- export { Avatar, type AvatarInstanceType, type AvatarProps, Badge, type BadgeProps, Box, type BoxProps, Button, ButtonGroup, type ButtonProps, Checkbox, CheckboxGroup, CheckboxMenuItem, type ColorSchemeTypes, ColorSchemeWrapper, type ColorSchemeWrapperProps, Divider, Ellipsis, Form, FormErrorSummary, FormField, type FormFieldProps, FormGroup, type FormGroupProps, type FormProps, Heading, type HeadingProps, Icon, IconButton, type IconButtonProps, type IconNameType, Input, type InputProps, Label, type LabelProps, Link, type LinkProps, Menu, MenuItem, MenuItemDescription, MenuItemLabel, MenuLabel, MenuRadioGroup, Modal, type ModalProps, Radio, RadioGroup, RadioMenuItem, type RadioProps, ScreenReaderOnly, Stack, SubMenu, Tag, type TagProps, Text, type TextProps, Tooltip, type TooltipProps, UIProvider, WistiaLogo, colorSchemeOptions, copyToClipboard, ellipsisFlexParentStyle, ellipsisStyle, iconSizeMap, mq, useActiveMq, useAriaLive, useFormState, useMq, useToast, useWindowSize };
1977
+ export { ActionButton, type ActionButtonProps, Avatar, type AvatarInstanceType, type AvatarProps, Badge, type BadgeProps, Box, type BoxProps, Button, ButtonGroup, type ButtonProps, Checkbox, CheckboxGroup, CheckboxMenuItem, type ColorSchemeTypes, ColorSchemeWrapper, type ColorSchemeWrapperProps, Divider, Ellipsis, Form, FormErrorSummary, FormField, type FormFieldProps, FormGroup, type FormGroupProps, type FormProps, Heading, type HeadingProps, Icon, IconButton, type IconButtonProps, type IconNameType, Input, type InputProps, Label, type LabelProps, Link, type LinkProps, Menu, MenuItem, MenuItemDescription, MenuItemLabel, MenuLabel, MenuRadioGroup, Modal, type ModalProps, Radio, RadioGroup, RadioMenuItem, type RadioProps, ScreenReaderOnly, Stack, SubMenu, Tag, type TagProps, Text, type TextProps, Tooltip, type TooltipProps, UIProvider, WistiaLogo, colorSchemeOptions, copyToClipboard, ellipsisFlexParentStyle, ellipsisStyle, iconSizeMap, mq, useActiveMq, useAriaLive, useFormState, useMq, useToast, useWindowSize };