@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 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-input__textHidden_16ix4"};
18
+ var styles = {"textHidden":"masked-input__textHidden_8menz"};
19
19
  require('./index.css')
20
20
 
21
21
  // Символ плейсхолдера не может входить в маску, поэтому вместо пробела используется \u2000
@@ -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 };
@@ -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-input__textHidden_16ix4"};
8
+ var styles = {"textHidden":"masked-input__textHidden_8menz"};
9
9
  require('./index.css')
10
10
 
11
11
  // Символ плейсхолдера не может входить в маску, поэтому вместо пробела используется \u2000
package/esm/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 11l88 */
2
- .masked-input__textHidden_16ix4 input {
1
+ /* hash: 1xwol */
2
+ .masked-input__textHidden_8menz input {
3
3
  opacity: 0;
4
4
  }
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 11l88 */
2
- .masked-input__textHidden_16ix4 input {
1
+ /* hash: 1xwol */
2
+ .masked-input__textHidden_8menz input {
3
3
  opacity: 0;
4
4
  }
@@ -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 };
@@ -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-input__textHidden_16ix4"};
7
+ const styles = {"textHidden":"masked-input__textHidden_8menz"};
8
8
  require('./index.css')
9
9
 
10
10
  // Символ плейсхолдера не может входить в маску, поэтому вместо пробела используется \u2000
package/modern/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 11l88 */
2
- .masked-input__textHidden_16ix4 input {
1
+ /* hash: 1xwol */
2
+ .masked-input__textHidden_8menz input {
3
3
  opacity: 0;
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-masked-input",
3
- "version": "6.3.16",
3
+ "version": "6.3.17",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
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;