@spark-web/text-input 5.2.0 → 5.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @spark-web/text-input
|
|
2
2
|
|
|
3
|
+
## 5.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#652](https://github.com/brighte-labs/spark-web/pull/652)
|
|
8
|
+
[`d93c2a5`](https://github.com/brighte-labs/spark-web/commit/d93c2a5689e217f69002c78ba6cfb77561fc6c1d)
|
|
9
|
+
Thanks [@ralcoriza-brighte](https://github.com/ralcoriza-brighte)! - Expose
|
|
10
|
+
autoComplete prop to input components
|
|
11
|
+
|
|
3
12
|
## 5.2.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
|
@@ -5,7 +5,7 @@ import type { InputHTMLAttributes } from 'react';
|
|
|
5
5
|
import type { AdornmentsAsChildren } from "./children-to-adornments.js";
|
|
6
6
|
declare type ValidTypes = 'text' | 'password' | 'email' | 'search' | 'number' | 'tel' | 'url';
|
|
7
7
|
declare type ValidModes = 'none' | 'text' | 'tel' | 'url' | 'email' | 'numeric' | 'decimal' | 'search';
|
|
8
|
-
declare type NativeInputProps = Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'onBlur' | 'onChange' | 'onFocus' | 'placeholder' | 'value' | 'required'>;
|
|
8
|
+
declare type NativeInputProps = Pick<InputHTMLAttributes<HTMLInputElement>, 'name' | 'onBlur' | 'onChange' | 'onFocus' | 'placeholder' | 'value' | 'required' | 'autoComplete'>;
|
|
9
9
|
export declare type TextInputProps = {
|
|
10
10
|
/** Sets data attributes for the element. */
|
|
11
11
|
data?: DataAttributeMap;
|