@alfalab/core-components-masked-input 6.3.16 → 6.3.17
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/Component.d.ts +1 -1
- package/Component.js +1 -1
- package/cssm/Component.d.ts +1 -1
- package/esm/Component.d.ts +1 -1
- package/esm/Component.js +1 -1
- package/esm/index.css +2 -2
- package/index.css +2 -2
- package/modern/Component.d.ts +1 -1
- package/modern/Component.js +1 -1
- package/modern/index.css +2 -2
- package/package.json +1 -1
- package/src/Component.tsx +1 -1
package/Component.d.ts
CHANGED
|
@@ -50,4 +50,4 @@ declare const MaskedInput: React.ForwardRefExoticComponent<Omit<import("@alfalab
|
|
|
50
50
|
*/
|
|
51
51
|
onBeforeDisplay?: TextMaskConfig['pipe'];
|
|
52
52
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
53
|
-
export { MaskedInputProps, PLACEHOLDER_CHAR, MaskedInput };
|
|
53
|
+
export { TextMaskConfig, MaskedInputProps, PLACEHOLDER_CHAR, MaskedInput };
|
package/Component.js
CHANGED
|
@@ -15,7 +15,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
|
15
15
|
var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
16
16
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
17
17
|
|
|
18
|
-
var styles = {"textHidden":"masked-
|
|
18
|
+
var styles = {"textHidden":"masked-input__textHidden_8menz"};
|
|
19
19
|
require('./index.css')
|
|
20
20
|
|
|
21
21
|
// Символ плейсхолдера не может входить в маску, поэтому вместо пробела используется \u2000
|
package/cssm/Component.d.ts
CHANGED
|
@@ -50,4 +50,4 @@ declare const MaskedInput: React.ForwardRefExoticComponent<Omit<import("@alfalab
|
|
|
50
50
|
*/
|
|
51
51
|
onBeforeDisplay?: TextMaskConfig['pipe'];
|
|
52
52
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
53
|
-
export { MaskedInputProps, PLACEHOLDER_CHAR, MaskedInput };
|
|
53
|
+
export { TextMaskConfig, MaskedInputProps, PLACEHOLDER_CHAR, MaskedInput };
|
package/esm/Component.d.ts
CHANGED
|
@@ -50,4 +50,4 @@ declare const MaskedInput: React.ForwardRefExoticComponent<Omit<import("@alfalab
|
|
|
50
50
|
*/
|
|
51
51
|
onBeforeDisplay?: TextMaskConfig['pipe'];
|
|
52
52
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
53
|
-
export { MaskedInputProps, PLACEHOLDER_CHAR, MaskedInput };
|
|
53
|
+
export { TextMaskConfig, MaskedInputProps, PLACEHOLDER_CHAR, MaskedInput };
|
package/esm/Component.js
CHANGED
|
@@ -5,7 +5,7 @@ import cn from 'classnames';
|
|
|
5
5
|
import { createTextMaskInputElement } from 'text-mask-core';
|
|
6
6
|
import { Input } from '@alfalab/core-components-input/esm';
|
|
7
7
|
|
|
8
|
-
var styles = {"textHidden":"masked-
|
|
8
|
+
var styles = {"textHidden":"masked-input__textHidden_8menz"};
|
|
9
9
|
require('./index.css')
|
|
10
10
|
|
|
11
11
|
// Символ плейсхолдера не может входить в маску, поэтому вместо пробела используется \u2000
|
package/esm/index.css
CHANGED
package/index.css
CHANGED
package/modern/Component.d.ts
CHANGED
|
@@ -50,4 +50,4 @@ declare const MaskedInput: React.ForwardRefExoticComponent<Omit<import("@alfalab
|
|
|
50
50
|
*/
|
|
51
51
|
onBeforeDisplay?: TextMaskConfig['pipe'];
|
|
52
52
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
53
|
-
export { MaskedInputProps, PLACEHOLDER_CHAR, MaskedInput };
|
|
53
|
+
export { TextMaskConfig, MaskedInputProps, PLACEHOLDER_CHAR, MaskedInput };
|
package/modern/Component.js
CHANGED
|
@@ -4,7 +4,7 @@ import cn from 'classnames';
|
|
|
4
4
|
import { createTextMaskInputElement } from 'text-mask-core';
|
|
5
5
|
import { Input } from '@alfalab/core-components-input/modern';
|
|
6
6
|
|
|
7
|
-
const styles = {"textHidden":"masked-
|
|
7
|
+
const styles = {"textHidden":"masked-input__textHidden_8menz"};
|
|
8
8
|
require('./index.css')
|
|
9
9
|
|
|
10
10
|
// Символ плейсхолдера не может входить в маску, поэтому вместо пробела используется \u2000
|
package/modern/index.css
CHANGED
package/package.json
CHANGED
package/src/Component.tsx
CHANGED
|
@@ -9,7 +9,7 @@ import styles from './index.module.css';
|
|
|
9
9
|
|
|
10
10
|
// TODO: заставить rollup добавлять кастомные декларации в сборку
|
|
11
11
|
type Mask = Array<string | RegExp>;
|
|
12
|
-
type TextMaskConfig = {
|
|
12
|
+
export type TextMaskConfig = {
|
|
13
13
|
currentCaretPosition: number;
|
|
14
14
|
rawValue: string;
|
|
15
15
|
previousConformedValue: string;
|