etudes 20.2.0 → 20.3.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.
@@ -1,4 +1,4 @@
1
- import { InputHTMLAttributes } from 'react';
1
+ import { HTMLInputTypeAttribute, InputHTMLAttributes } from 'react';
2
2
  /**
3
3
  * Type describing the props of {@link TextField}.
4
4
  */
@@ -19,6 +19,10 @@ export type TextFieldProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'aria-d
19
19
  * The placeholder text to display when the text field is empty.
20
20
  */
21
21
  placeholder?: string;
22
+ /**
23
+ * The type of the text field.
24
+ */
25
+ type?: Extract<HTMLInputTypeAttribute, 'text' | 'password' | 'search' | 'email' | 'tel' | 'url'>;
22
26
  /**
23
27
  * The value of the text field.
24
28
  */