indicator-ui 0.0.96 → 0.0.98

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.
@@ -17,12 +17,13 @@ export type FlexFieldClassNameType = {
17
17
  gray?: string;
18
18
  red?: string;
19
19
  };
20
+ export type BlocksType = any;
21
+ export type PatternType = any;
20
22
  export type FlexFieldPropsType = {
21
23
  value?: any;
22
24
  /**
23
25
  * unmask="typed" // Возвращает данные без маски
24
26
  * */
25
- unmask?: any;
26
27
  type?: string;
27
28
  onChange?: (value: any) => void;
28
29
  /**
@@ -32,6 +33,18 @@ export type FlexFieldPropsType = {
32
33
  * то при изменение строка не пройдет валидацию и функция не будет вызвана.
33
34
  */
34
35
  mask?: any;
36
+ /**
37
+ * Откидывает маску при передаче значений
38
+ * */
39
+ unmask?: any;
40
+ /**
41
+ * Сверяйте тип с пропсом ```IMaskInput``` **blocks**
42
+ * */
43
+ blocks?: BlocksType;
44
+ /**
45
+ * Сверяйте тип с пропсом ```IMaskInput``` **pattern**
46
+ * */
47
+ pattern?: PatternType;
35
48
  placeholder?: string;
36
49
  required?: boolean;
37
50
  disabled?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "indicator-ui",
3
- "version": "0.0.96",
3
+ "version": "0.0.98",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/types/src/index.d.ts",
6
6
  "style": "dist/index.css",
@@ -37,7 +37,6 @@
37
37
  "postcss-import": "^16.1.0",
38
38
  "postcss-loader": "^8.1.1",
39
39
  "process": "^0.11.10",
40
- "react-imask": "^7.6.1",
41
40
  "react-router-dom": "^7.1.5",
42
41
  "resolve-url-loader": "^5.0.0",
43
42
  "sass": "^1.66.1",
@@ -55,7 +54,8 @@
55
54
  },
56
55
  "peerDependencies": {
57
56
  "react": "^18.3.1",
58
- "react-dom": "^18.3.1"
57
+ "react-dom": "^18.3.1",
58
+ "react-imask": "^7.6.1"
59
59
  },
60
60
  "files": [
61
61
  "dist",