@wistia/ui 0.0.24 → 0.1.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 } from 'react';
3
+ import { ReactNode, ComponentPropsWithoutRef, JSX, ComponentPropsWithRef, MouseEvent, ChangeEvent, ForwardedRef, Ref, JSXElementConstructor, ElementType as ElementType$1, InputHTMLAttributes } 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';
@@ -54,9 +54,6 @@ type ColorSchemeWrapperProps = ComponentPropsWithoutRef<'div'> & {
54
54
  * @ignore For use in creating navs - will override any colorScheme prop
55
55
  */
56
56
  __nav?: boolean;
57
- /**
58
- * The color scheme to apply
59
- */
60
57
  colorScheme?: ColorSchemeTypes;
61
58
  /**
62
59
  * Children
@@ -86,10 +83,6 @@ type BaseProps = {
86
83
  * @type ReactNode
87
84
  */
88
85
  children: ReactNode;
89
- /**
90
- * Set the color scheme of the button
91
- * TODO - link to a color scheme page
92
- */
93
86
  colorScheme?: ColorSchemeTypes;
94
87
  /**
95
88
  * Disables the link
@@ -142,10 +135,6 @@ type BaseButtonProps = {
142
135
  * @type ReactNode
143
136
  */
144
137
  children?: ReactNode;
145
- /**
146
- * Set the color scheme of the button
147
- * TODO - link to a color scheme page
148
- */
149
138
  colorScheme?: ColorSchemeTypes;
150
139
  /**
151
140
  * Disables the button
@@ -226,9 +215,6 @@ type ToastProps = ComponentPropsWithoutRef<'div'> & {
226
215
  * Action can be undefined (default dismiss button), a Button component or false to hide the dismiss button
227
216
  */
228
217
  action?: React.ReactElement<typeof Button> | undefined;
229
- /**
230
- * Set the [color scheme](../?path=/docs/docs-color-schemes--docs) of the `Toast`
231
- */
232
218
  colorScheme?: ColorSchemeTypes | undefined;
233
219
  /**
234
220
  * Optional `Icon` component to use. Must be an instance of [Icon](/?path=/docs/components-icon--docs)
@@ -291,10 +277,6 @@ declare const Avatar: {
291
277
  };
292
278
 
293
279
  type BadgeProps = ComponentPropsWithoutRef<'div'> & {
294
- /**
295
- * Set the color scheme of the `Badge`
296
- * TODO - link to a color scheme page
297
- */
298
280
  colorScheme?: ColorSchemeTypes;
299
281
  /**
300
282
  * The `Icon` component to use. Must be an instance of [Icon](../?path=/docs/components-icon--docs)
@@ -309,10 +291,6 @@ type BadgeProps = ComponentPropsWithoutRef<'div'> & {
309
291
  * A `Badge` is a compact label, with optional icon, to convey status or context.
310
292
  */
311
293
  declare const Badge: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
312
- /**
313
- * Set the color scheme of the `Badge`
314
- * TODO - link to a color scheme page
315
- */
316
294
  colorScheme?: ColorSchemeTypes;
317
295
  /**
318
296
  * The `Icon` component to use. Must be an instance of [Icon](../?path=/docs/components-icon--docs)
@@ -727,9 +705,6 @@ type HeadingProps = ComponentPropsWithoutRef<typeof DEFAULT_ELEMENT> & {
727
705
  * The content of the heading
728
706
  */
729
707
  children: ReactNode;
730
- /**
731
- * Sets the hue of the text
732
- */
733
708
  colorScheme?: ColorSchemeTypes;
734
709
  /**
735
710
  * Styles to text as disabled
@@ -771,9 +746,6 @@ declare const Heading: (<C = "h1">(props: PolymorphicComponentProps<C, HeadingPr
771
746
  * The content of the heading
772
747
  */
773
748
  children: ReactNode;
774
- /**
775
- * Sets the hue of the text
776
- */
777
749
  colorScheme?: ColorSchemeTypes;
778
750
  /**
779
751
  * Styles to text as disabled
@@ -811,9 +783,6 @@ declare const Heading: (<C = "h1">(props: PolymorphicComponentProps<C, HeadingPr
811
783
  * The content of the heading
812
784
  */
813
785
  children: ReactNode;
814
- /**
815
- * Sets the hue of the text
816
- */
817
786
  colorScheme?: ColorSchemeTypes;
818
787
  /**
819
788
  * Styles to text as disabled
@@ -839,7 +808,7 @@ declare const Heading: (<C = "h1">(props: PolymorphicComponentProps<C, HeadingPr
839
808
  */
840
809
  variant?: keyof typeof variantStyleMap$1;
841
810
  } & {
842
- renderAs: react.JSXElementConstructor<any> | keyof react.JSX.IntrinsicElements;
811
+ renderAs: keyof react.JSX.IntrinsicElements | react.JSXElementConstructor<any>;
843
812
  })>, never> & Record<string, never>;
844
813
 
845
814
  declare const iconMap: {
@@ -1007,10 +976,6 @@ declare const iconSizeMap: {
1007
976
  xxl: string;
1008
977
  };
1009
978
  type IconProps = ComponentPropsWithoutRef<'svg'> & {
1010
- /**
1011
- * Set the color scheme of the button
1012
- * TODO - link to a color scheme page
1013
- */
1014
979
  colorScheme?: ColorSchemeTypes;
1015
980
  /**
1016
981
  * Is Icon on a filled background?
@@ -1031,7 +996,7 @@ type IconProps = ComponentPropsWithoutRef<'svg'> & {
1031
996
  };
1032
997
  /**
1033
998
  * A component that renders any of our available icons. Note that icons should not be used directly
1034
- * for interactivity. If you need an interactive element, use [IconButton](?path=/docs/ui-components-iconbutton--docs).
999
+ * for interactivity. If you need an interactive element, use [IconButton](?path=/docs/components-iconbutton--docs).
1035
1000
  */
1036
1001
  declare const Icon: {
1037
1002
  ({ invertColor, colorScheme, size, style, type, ...otherProps }: IconProps): JSX.Element;
@@ -1043,10 +1008,6 @@ type IconButtonProps = {
1043
1008
  * Accessible text for screen readers. Also shows up in a tooltip unless `disableTooltip` is true.
1044
1009
  */
1045
1010
  label: string;
1046
- /**
1047
- * Disable the tooltip
1048
- */
1049
- disableTooltip?: boolean;
1050
1011
  /**
1051
1012
  * The Icon component to use, e.g. `<Icon type="favorite" />`
1052
1013
  */
@@ -1061,10 +1022,6 @@ declare const IconButton: react.ForwardRefExoticComponent<(Omit<{
1061
1022
  * Accessible text for screen readers. Also shows up in a tooltip unless `disableTooltip` is true.
1062
1023
  */
1063
1024
  label: string;
1064
- /**
1065
- * Disable the tooltip
1066
- */
1067
- disableTooltip?: boolean;
1068
1025
  /**
1069
1026
  * The Icon component to use, e.g. `<Icon type="favorite" />`
1070
1027
  */
@@ -1074,10 +1031,6 @@ declare const IconButton: react.ForwardRefExoticComponent<(Omit<{
1074
1031
  * Accessible text for screen readers. Also shows up in a tooltip unless `disableTooltip` is true.
1075
1032
  */
1076
1033
  label: string;
1077
- /**
1078
- * Disable the tooltip
1079
- */
1080
- disableTooltip?: boolean;
1081
1034
  /**
1082
1035
  * The Icon component to use, e.g. `<Icon type="favorite" />`
1083
1036
  */
@@ -1342,9 +1295,6 @@ type TextProps = ComponentPropsWithoutRef<'div'> & {
1342
1295
  * The text content
1343
1296
  */
1344
1297
  children?: ReactNode | undefined;
1345
- /**
1346
- * Sets the hue of the text
1347
- */
1348
1298
  colorScheme?: ColorSchemeTypes;
1349
1299
  /**
1350
1300
  * Allows user to override default button colors
@@ -1393,9 +1343,6 @@ declare const Text: (<C = "div">(props: PolymorphicComponentProps<C, TextProps>)
1393
1343
  * The text content
1394
1344
  */
1395
1345
  children?: ReactNode | undefined;
1396
- /**
1397
- * Sets the hue of the text
1398
- */
1399
1346
  colorScheme?: ColorSchemeTypes;
1400
1347
  /**
1401
1348
  * Allows user to override default button colors
@@ -1440,9 +1387,6 @@ declare const Text: (<C = "div">(props: PolymorphicComponentProps<C, TextProps>)
1440
1387
  * The text content
1441
1388
  */
1442
1389
  children?: ReactNode | undefined;
1443
- /**
1444
- * Sets the hue of the text
1445
- */
1446
1390
  colorScheme?: ColorSchemeTypes;
1447
1391
  /**
1448
1392
  * Allows user to override default button colors
@@ -1475,7 +1419,7 @@ declare const Text: (<C = "div">(props: PolymorphicComponentProps<C, TextProps>)
1475
1419
  */
1476
1420
  variant?: keyof typeof variantStyleMap | undefined;
1477
1421
  } & {
1478
- renderAs: react.JSXElementConstructor<any> | keyof react.JSX.IntrinsicElements;
1422
+ renderAs: keyof react.JSX.IntrinsicElements | react.JSXElementConstructor<any>;
1479
1423
  })>, never> & Record<string, never>;
1480
1424
 
1481
1425
  type MenuItemLabelProps = {
@@ -1702,13 +1646,10 @@ declare const Stack: (<C = "div">(props: PolymorphicComponentProps<C, StackProps
1702
1646
  } & StackProps & {
1703
1647
  ref?: any;
1704
1648
  }) | (StackProps & {
1705
- renderAs: react.JSXElementConstructor<any> | keyof react.JSX.IntrinsicElements;
1649
+ renderAs: keyof react.JSX.IntrinsicElements | react.JSXElementConstructor<any>;
1706
1650
  })>, never> & Record<string, never>;
1707
1651
 
1708
1652
  type TagProps = ComponentPropsWithoutRef<'div'> & {
1709
- /**
1710
- * Set the [color scheme](/?path=/docs/docs-color-schemes--docs) of the `Tag`
1711
- */
1712
1653
  colorScheme?: ColorSchemeTypes;
1713
1654
  /**
1714
1655
  * Valid URL for the `Tag` label to link to
@@ -1731,9 +1672,6 @@ type TagProps = ComponentPropsWithoutRef<'div'> & {
1731
1672
  * A `Tag` is an optionally linked label, with an optional action button, to categorize content.
1732
1673
  */
1733
1674
  declare const Tag: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
1734
- /**
1735
- * Set the [color scheme](/?path=/docs/docs-color-schemes--docs) of the `Tag`
1736
- */
1737
1675
  colorScheme?: ColorSchemeTypes;
1738
1676
  /**
1739
1677
  * Valid URL for the `Tag` label to link to
@@ -1832,4 +1770,68 @@ declare const WistiaLogo: {
1832
1770
  displayName: string;
1833
1771
  };
1834
1772
 
1835
- 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, Label, type LabelProps, Link, type LinkProps, Menu, MenuItem, MenuItemDescription, MenuItemLabel, MenuLabel, MenuRadioGroup, 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 };
1773
+ type InputProps = Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, 'type'> & {
1774
+ /**
1775
+ * Sets the validity status of the input
1776
+ */
1777
+ 'aria-invalid'?: boolean;
1778
+ /**
1779
+ * Set the disabled state of the input
1780
+ */
1781
+ disabled?: boolean;
1782
+ /**
1783
+ * If true, the input will fill the width of its parent
1784
+ */
1785
+ fullWidth?: boolean;
1786
+ /**
1787
+ * If true, the input will use a monospace font
1788
+ */
1789
+ monospace?: boolean;
1790
+ /**
1791
+ * Icon to display on the left side of the input, Must be an instance of [Icon](?path=/docs/components-icon--docs)
1792
+ */
1793
+ leftIcon?: JSX.Element | undefined;
1794
+ /**
1795
+ * Icon to display on the right side of the input, Must be an instance of [Icon](?path=/docs/components-icon--docs)
1796
+ */
1797
+ rightIcon?: JSX.Element | undefined;
1798
+ /**
1799
+ * The type of the input
1800
+ */
1801
+ type?: 'email' | 'multiline' | 'number' | 'phone' | 'search' | 'text' | 'url';
1802
+ };
1803
+ /**
1804
+ * Component description goes here
1805
+ */
1806
+ declare const Input: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, "type"> & {
1807
+ /**
1808
+ * Sets the validity status of the input
1809
+ */
1810
+ 'aria-invalid'?: boolean;
1811
+ /**
1812
+ * Set the disabled state of the input
1813
+ */
1814
+ disabled?: boolean;
1815
+ /**
1816
+ * If true, the input will fill the width of its parent
1817
+ */
1818
+ fullWidth?: boolean;
1819
+ /**
1820
+ * If true, the input will use a monospace font
1821
+ */
1822
+ monospace?: boolean;
1823
+ /**
1824
+ * Icon to display on the left side of the input, Must be an instance of [Icon](?path=/docs/components-icon--docs)
1825
+ */
1826
+ leftIcon?: JSX.Element | undefined;
1827
+ /**
1828
+ * Icon to display on the right side of the input, Must be an instance of [Icon](?path=/docs/components-icon--docs)
1829
+ */
1830
+ rightIcon?: JSX.Element | undefined;
1831
+ /**
1832
+ * The type of the input
1833
+ */
1834
+ type?: "email" | "multiline" | "number" | "phone" | "search" | "text" | "url";
1835
+ } & react.RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
1836
+
1837
+ 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, 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 } from 'react';
3
+ import { ReactNode, ComponentPropsWithoutRef, JSX, ComponentPropsWithRef, MouseEvent, ChangeEvent, ForwardedRef, Ref, JSXElementConstructor, ElementType as ElementType$1, InputHTMLAttributes } 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';
@@ -54,9 +54,6 @@ type ColorSchemeWrapperProps = ComponentPropsWithoutRef<'div'> & {
54
54
  * @ignore For use in creating navs - will override any colorScheme prop
55
55
  */
56
56
  __nav?: boolean;
57
- /**
58
- * The color scheme to apply
59
- */
60
57
  colorScheme?: ColorSchemeTypes;
61
58
  /**
62
59
  * Children
@@ -86,10 +83,6 @@ type BaseProps = {
86
83
  * @type ReactNode
87
84
  */
88
85
  children: ReactNode;
89
- /**
90
- * Set the color scheme of the button
91
- * TODO - link to a color scheme page
92
- */
93
86
  colorScheme?: ColorSchemeTypes;
94
87
  /**
95
88
  * Disables the link
@@ -142,10 +135,6 @@ type BaseButtonProps = {
142
135
  * @type ReactNode
143
136
  */
144
137
  children?: ReactNode;
145
- /**
146
- * Set the color scheme of the button
147
- * TODO - link to a color scheme page
148
- */
149
138
  colorScheme?: ColorSchemeTypes;
150
139
  /**
151
140
  * Disables the button
@@ -226,9 +215,6 @@ type ToastProps = ComponentPropsWithoutRef<'div'> & {
226
215
  * Action can be undefined (default dismiss button), a Button component or false to hide the dismiss button
227
216
  */
228
217
  action?: React.ReactElement<typeof Button> | undefined;
229
- /**
230
- * Set the [color scheme](../?path=/docs/docs-color-schemes--docs) of the `Toast`
231
- */
232
218
  colorScheme?: ColorSchemeTypes | undefined;
233
219
  /**
234
220
  * Optional `Icon` component to use. Must be an instance of [Icon](/?path=/docs/components-icon--docs)
@@ -291,10 +277,6 @@ declare const Avatar: {
291
277
  };
292
278
 
293
279
  type BadgeProps = ComponentPropsWithoutRef<'div'> & {
294
- /**
295
- * Set the color scheme of the `Badge`
296
- * TODO - link to a color scheme page
297
- */
298
280
  colorScheme?: ColorSchemeTypes;
299
281
  /**
300
282
  * The `Icon` component to use. Must be an instance of [Icon](../?path=/docs/components-icon--docs)
@@ -309,10 +291,6 @@ type BadgeProps = ComponentPropsWithoutRef<'div'> & {
309
291
  * A `Badge` is a compact label, with optional icon, to convey status or context.
310
292
  */
311
293
  declare const Badge: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
312
- /**
313
- * Set the color scheme of the `Badge`
314
- * TODO - link to a color scheme page
315
- */
316
294
  colorScheme?: ColorSchemeTypes;
317
295
  /**
318
296
  * The `Icon` component to use. Must be an instance of [Icon](../?path=/docs/components-icon--docs)
@@ -727,9 +705,6 @@ type HeadingProps = ComponentPropsWithoutRef<typeof DEFAULT_ELEMENT> & {
727
705
  * The content of the heading
728
706
  */
729
707
  children: ReactNode;
730
- /**
731
- * Sets the hue of the text
732
- */
733
708
  colorScheme?: ColorSchemeTypes;
734
709
  /**
735
710
  * Styles to text as disabled
@@ -771,9 +746,6 @@ declare const Heading: (<C = "h1">(props: PolymorphicComponentProps<C, HeadingPr
771
746
  * The content of the heading
772
747
  */
773
748
  children: ReactNode;
774
- /**
775
- * Sets the hue of the text
776
- */
777
749
  colorScheme?: ColorSchemeTypes;
778
750
  /**
779
751
  * Styles to text as disabled
@@ -811,9 +783,6 @@ declare const Heading: (<C = "h1">(props: PolymorphicComponentProps<C, HeadingPr
811
783
  * The content of the heading
812
784
  */
813
785
  children: ReactNode;
814
- /**
815
- * Sets the hue of the text
816
- */
817
786
  colorScheme?: ColorSchemeTypes;
818
787
  /**
819
788
  * Styles to text as disabled
@@ -839,7 +808,7 @@ declare const Heading: (<C = "h1">(props: PolymorphicComponentProps<C, HeadingPr
839
808
  */
840
809
  variant?: keyof typeof variantStyleMap$1;
841
810
  } & {
842
- renderAs: react.JSXElementConstructor<any> | keyof react.JSX.IntrinsicElements;
811
+ renderAs: keyof react.JSX.IntrinsicElements | react.JSXElementConstructor<any>;
843
812
  })>, never> & Record<string, never>;
844
813
 
845
814
  declare const iconMap: {
@@ -1007,10 +976,6 @@ declare const iconSizeMap: {
1007
976
  xxl: string;
1008
977
  };
1009
978
  type IconProps = ComponentPropsWithoutRef<'svg'> & {
1010
- /**
1011
- * Set the color scheme of the button
1012
- * TODO - link to a color scheme page
1013
- */
1014
979
  colorScheme?: ColorSchemeTypes;
1015
980
  /**
1016
981
  * Is Icon on a filled background?
@@ -1031,7 +996,7 @@ type IconProps = ComponentPropsWithoutRef<'svg'> & {
1031
996
  };
1032
997
  /**
1033
998
  * A component that renders any of our available icons. Note that icons should not be used directly
1034
- * for interactivity. If you need an interactive element, use [IconButton](?path=/docs/ui-components-iconbutton--docs).
999
+ * for interactivity. If you need an interactive element, use [IconButton](?path=/docs/components-iconbutton--docs).
1035
1000
  */
1036
1001
  declare const Icon: {
1037
1002
  ({ invertColor, colorScheme, size, style, type, ...otherProps }: IconProps): JSX.Element;
@@ -1043,10 +1008,6 @@ type IconButtonProps = {
1043
1008
  * Accessible text for screen readers. Also shows up in a tooltip unless `disableTooltip` is true.
1044
1009
  */
1045
1010
  label: string;
1046
- /**
1047
- * Disable the tooltip
1048
- */
1049
- disableTooltip?: boolean;
1050
1011
  /**
1051
1012
  * The Icon component to use, e.g. `<Icon type="favorite" />`
1052
1013
  */
@@ -1061,10 +1022,6 @@ declare const IconButton: react.ForwardRefExoticComponent<(Omit<{
1061
1022
  * Accessible text for screen readers. Also shows up in a tooltip unless `disableTooltip` is true.
1062
1023
  */
1063
1024
  label: string;
1064
- /**
1065
- * Disable the tooltip
1066
- */
1067
- disableTooltip?: boolean;
1068
1025
  /**
1069
1026
  * The Icon component to use, e.g. `<Icon type="favorite" />`
1070
1027
  */
@@ -1074,10 +1031,6 @@ declare const IconButton: react.ForwardRefExoticComponent<(Omit<{
1074
1031
  * Accessible text for screen readers. Also shows up in a tooltip unless `disableTooltip` is true.
1075
1032
  */
1076
1033
  label: string;
1077
- /**
1078
- * Disable the tooltip
1079
- */
1080
- disableTooltip?: boolean;
1081
1034
  /**
1082
1035
  * The Icon component to use, e.g. `<Icon type="favorite" />`
1083
1036
  */
@@ -1342,9 +1295,6 @@ type TextProps = ComponentPropsWithoutRef<'div'> & {
1342
1295
  * The text content
1343
1296
  */
1344
1297
  children?: ReactNode | undefined;
1345
- /**
1346
- * Sets the hue of the text
1347
- */
1348
1298
  colorScheme?: ColorSchemeTypes;
1349
1299
  /**
1350
1300
  * Allows user to override default button colors
@@ -1393,9 +1343,6 @@ declare const Text: (<C = "div">(props: PolymorphicComponentProps<C, TextProps>)
1393
1343
  * The text content
1394
1344
  */
1395
1345
  children?: ReactNode | undefined;
1396
- /**
1397
- * Sets the hue of the text
1398
- */
1399
1346
  colorScheme?: ColorSchemeTypes;
1400
1347
  /**
1401
1348
  * Allows user to override default button colors
@@ -1440,9 +1387,6 @@ declare const Text: (<C = "div">(props: PolymorphicComponentProps<C, TextProps>)
1440
1387
  * The text content
1441
1388
  */
1442
1389
  children?: ReactNode | undefined;
1443
- /**
1444
- * Sets the hue of the text
1445
- */
1446
1390
  colorScheme?: ColorSchemeTypes;
1447
1391
  /**
1448
1392
  * Allows user to override default button colors
@@ -1475,7 +1419,7 @@ declare const Text: (<C = "div">(props: PolymorphicComponentProps<C, TextProps>)
1475
1419
  */
1476
1420
  variant?: keyof typeof variantStyleMap | undefined;
1477
1421
  } & {
1478
- renderAs: react.JSXElementConstructor<any> | keyof react.JSX.IntrinsicElements;
1422
+ renderAs: keyof react.JSX.IntrinsicElements | react.JSXElementConstructor<any>;
1479
1423
  })>, never> & Record<string, never>;
1480
1424
 
1481
1425
  type MenuItemLabelProps = {
@@ -1702,13 +1646,10 @@ declare const Stack: (<C = "div">(props: PolymorphicComponentProps<C, StackProps
1702
1646
  } & StackProps & {
1703
1647
  ref?: any;
1704
1648
  }) | (StackProps & {
1705
- renderAs: react.JSXElementConstructor<any> | keyof react.JSX.IntrinsicElements;
1649
+ renderAs: keyof react.JSX.IntrinsicElements | react.JSXElementConstructor<any>;
1706
1650
  })>, never> & Record<string, never>;
1707
1651
 
1708
1652
  type TagProps = ComponentPropsWithoutRef<'div'> & {
1709
- /**
1710
- * Set the [color scheme](/?path=/docs/docs-color-schemes--docs) of the `Tag`
1711
- */
1712
1653
  colorScheme?: ColorSchemeTypes;
1713
1654
  /**
1714
1655
  * Valid URL for the `Tag` label to link to
@@ -1731,9 +1672,6 @@ type TagProps = ComponentPropsWithoutRef<'div'> & {
1731
1672
  * A `Tag` is an optionally linked label, with an optional action button, to categorize content.
1732
1673
  */
1733
1674
  declare const Tag: react.ForwardRefExoticComponent<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
1734
- /**
1735
- * Set the [color scheme](/?path=/docs/docs-color-schemes--docs) of the `Tag`
1736
- */
1737
1675
  colorScheme?: ColorSchemeTypes;
1738
1676
  /**
1739
1677
  * Valid URL for the `Tag` label to link to
@@ -1832,4 +1770,68 @@ declare const WistiaLogo: {
1832
1770
  displayName: string;
1833
1771
  };
1834
1772
 
1835
- 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, Label, type LabelProps, Link, type LinkProps, Menu, MenuItem, MenuItemDescription, MenuItemLabel, MenuLabel, MenuRadioGroup, 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 };
1773
+ type InputProps = Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, 'type'> & {
1774
+ /**
1775
+ * Sets the validity status of the input
1776
+ */
1777
+ 'aria-invalid'?: boolean;
1778
+ /**
1779
+ * Set the disabled state of the input
1780
+ */
1781
+ disabled?: boolean;
1782
+ /**
1783
+ * If true, the input will fill the width of its parent
1784
+ */
1785
+ fullWidth?: boolean;
1786
+ /**
1787
+ * If true, the input will use a monospace font
1788
+ */
1789
+ monospace?: boolean;
1790
+ /**
1791
+ * Icon to display on the left side of the input, Must be an instance of [Icon](?path=/docs/components-icon--docs)
1792
+ */
1793
+ leftIcon?: JSX.Element | undefined;
1794
+ /**
1795
+ * Icon to display on the right side of the input, Must be an instance of [Icon](?path=/docs/components-icon--docs)
1796
+ */
1797
+ rightIcon?: JSX.Element | undefined;
1798
+ /**
1799
+ * The type of the input
1800
+ */
1801
+ type?: 'email' | 'multiline' | 'number' | 'phone' | 'search' | 'text' | 'url';
1802
+ };
1803
+ /**
1804
+ * Component description goes here
1805
+ */
1806
+ declare const Input: react.ForwardRefExoticComponent<Omit<InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, "type"> & {
1807
+ /**
1808
+ * Sets the validity status of the input
1809
+ */
1810
+ 'aria-invalid'?: boolean;
1811
+ /**
1812
+ * Set the disabled state of the input
1813
+ */
1814
+ disabled?: boolean;
1815
+ /**
1816
+ * If true, the input will fill the width of its parent
1817
+ */
1818
+ fullWidth?: boolean;
1819
+ /**
1820
+ * If true, the input will use a monospace font
1821
+ */
1822
+ monospace?: boolean;
1823
+ /**
1824
+ * Icon to display on the left side of the input, Must be an instance of [Icon](?path=/docs/components-icon--docs)
1825
+ */
1826
+ leftIcon?: JSX.Element | undefined;
1827
+ /**
1828
+ * Icon to display on the right side of the input, Must be an instance of [Icon](?path=/docs/components-icon--docs)
1829
+ */
1830
+ rightIcon?: JSX.Element | undefined;
1831
+ /**
1832
+ * The type of the input
1833
+ */
1834
+ type?: "email" | "multiline" | "number" | "phone" | "search" | "text" | "url";
1835
+ } & react.RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
1836
+
1837
+ 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, 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 };