etudes 20.2.0 → 20.4.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.
|
@@ -21,7 +21,7 @@ export type ImageProps = Omit<HTMLAttributes<HTMLImageElement>, 'alt' | 'loading
|
|
|
21
21
|
/**
|
|
22
22
|
* Fallback image URL for browsers that do not support the `srcSet` attribute.
|
|
23
23
|
*/
|
|
24
|
-
src
|
|
24
|
+
src: string;
|
|
25
25
|
/**
|
|
26
26
|
* Handler invoked when image load begins.
|
|
27
27
|
*/
|
|
@@ -19,7 +19,7 @@ export type PanoramaProps = Omit<HTMLAttributes<HTMLDivElement>, 'aria-valuenow'
|
|
|
19
19
|
/**
|
|
20
20
|
* The source URL of the image.
|
|
21
21
|
*/
|
|
22
|
-
src
|
|
22
|
+
src: string;
|
|
23
23
|
/**
|
|
24
24
|
* A decimal percentage of the image width indicating where 0° should be,
|
|
25
25
|
* i.e. if `zeroAnchor` is `0`, the `angle` would be 0° when the left edge of
|
|
@@ -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
|
*/
|