@tracktor/shared-module 0.9.4 → 0.9.5
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
|
@@ -7,6 +7,12 @@ interface MaskTextFieldProps<T> {
|
|
|
7
7
|
* @see https://imask.js.org/guide.html#masked-pattern
|
|
8
8
|
*/
|
|
9
9
|
mask?: unknown;
|
|
10
|
+
/**
|
|
11
|
+
* On accept callback. Should be used to get the value from the mask instead onChange for controlled components.
|
|
12
|
+
* @param value
|
|
13
|
+
* @param maskRef
|
|
14
|
+
*/
|
|
15
|
+
onAccept?: (value: unknown, maskRef: unknown) => void;
|
|
10
16
|
/**
|
|
11
17
|
* Definitions.
|
|
12
18
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tracktor/shared-module",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"types": "./dist/main.d.ts",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@types/react": "^18.2.18",
|
|
43
43
|
"@types/react-dom": "^18.2.7",
|
|
44
44
|
"@vitejs/plugin-react": "^4.0.4",
|
|
45
|
-
"eslint-config-react-tracktor": "^1.
|
|
45
|
+
"eslint-config-react-tracktor": "^1.5.0",
|
|
46
46
|
"husky": "^8.0.3",
|
|
47
47
|
"jsdom": "^21.1.2",
|
|
48
48
|
"typescript": "^4.9.5",
|