@astral/ui 1.21.0 → 1.22.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/MaskField/MaskField.js
CHANGED
|
@@ -22,7 +22,7 @@ const MaskedTextField = (0, react_imask_1.IMaskMixin)((_a) => {
|
|
|
22
22
|
});
|
|
23
23
|
const MaskField = (_a) => {
|
|
24
24
|
var { onChange, onAccept } = _a, props = __rest(_a, ["onChange", "onAccept"]);
|
|
25
|
-
const maskFieldProps = props;
|
|
25
|
+
const maskFieldProps = Object.assign({ unmask: true }, props);
|
|
26
26
|
const handleMaskFieldAccept = (value, maskRef, e) => {
|
|
27
27
|
if (onAccept) {
|
|
28
28
|
return onAccept(value, maskRef, e, onChange);
|
|
@@ -19,7 +19,7 @@ const MaskedTextField = IMaskMixin((_a) => {
|
|
|
19
19
|
});
|
|
20
20
|
export const MaskField = (_a) => {
|
|
21
21
|
var { onChange, onAccept } = _a, props = __rest(_a, ["onChange", "onAccept"]);
|
|
22
|
-
const maskFieldProps = props;
|
|
22
|
+
const maskFieldProps = Object.assign({ unmask: true }, props);
|
|
23
23
|
const handleMaskFieldAccept = (value, maskRef, e) => {
|
|
24
24
|
if (onAccept) {
|
|
25
25
|
return onAccept(value, maskRef, e, onChange);
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astral/ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.22.0",
|
|
4
4
|
"browser": "./esm/index.js",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@astral/icons": "^1.
|
|
7
|
+
"@astral/icons": "^1.22.0",
|
|
8
8
|
"@emotion/cache": "11.7.1",
|
|
9
9
|
"@emotion/react": "11.9.0",
|
|
10
10
|
"@emotion/server": "11.4.0",
|