@alfalab/core-components-phone-input 5.2.4 → 5.2.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
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [5.2.5](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-phone-input@5.2.4...@alfalab/core-components-phone-input@5.2.5) (2021-12-08)
7
+
8
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
9
+
10
+
11
+
12
+
13
+
6
14
  ## [5.2.4](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-phone-input@5.2.3...@alfalab/core-components-phone-input@5.2.4) (2021-11-26)
7
15
 
8
16
  **Note:** Version bump only for package @alfalab/core-components-phone-input
@@ -6,13 +6,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
6
6
  * Удаляет форматирование номера телефона
7
7
  * @param phone Номер телефона
8
8
  */
9
- var deleteFormatting = function (phone) {
10
- return phone
11
- .replace('+', '')
12
- .replace(/^7/, '')
13
- .replace(/\s/g, '')
14
- .replace(/-/g, '');
15
- };
9
+ var deleteFormatting = function (phone) { return phone
10
+ .replace('+', '')
11
+ .replace(/^7/, '')
12
+ .replace(/\s/g, '')
13
+ .replace(/-/g, ''); };
16
14
  function setCaretPosition(_a) {
17
15
  var position = _a.position, inputRef = _a.inputRef;
18
16
  window.requestAnimationFrame(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-phone-input",
3
- "version": "5.2.4",
3
+ "version": "5.2.5",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -19,9 +19,9 @@
19
19
  "react": "^16.9.0 || ^17.0.1"
20
20
  },
21
21
  "dependencies": {
22
- "@alfalab/core-components-masked-input": "^4.2.4",
22
+ "@alfalab/core-components-masked-input": "^4.2.5",
23
23
  "classnames": "^2.2.6",
24
24
  "text-mask-core": "^5.1.2"
25
25
  },
26
- "gitHead": "10c9fd1caacf98a5c15f84529889ddf41e9e1b54"
26
+ "gitHead": "19a2d088b6c18a127940199cfd6e6fc4e8639ec5"
27
27
  }