@alfalab/core-components-phone-input 5.2.3 → 5.2.7

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,38 @@
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.7](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-phone-input@5.2.6...@alfalab/core-components-phone-input@5.2.7) (2021-12-08)
7
+
8
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
9
+
10
+
11
+
12
+
13
+
14
+ ## [5.2.6](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-phone-input@5.2.5...@alfalab/core-components-phone-input@5.2.6) (2021-12-08)
15
+
16
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
17
+
18
+
19
+
20
+
21
+
22
+ ## [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)
23
+
24
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
25
+
26
+
27
+
28
+
29
+
30
+ ## [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)
31
+
32
+ **Note:** Version bump only for package @alfalab/core-components-phone-input
33
+
34
+
35
+
36
+
37
+
6
38
  ## [5.2.3](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-phone-input@5.2.2...@alfalab/core-components-phone-input@5.2.3) (2021-11-16)
7
39
 
8
40
  **Note:** Version bump only for package @alfalab/core-components-phone-input
@@ -6,11 +6,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
6
6
  * Удаляет форматирование номера телефона
7
7
  * @param phone Номер телефона
8
8
  */
9
- var deleteFormatting = function (phone) { return phone
10
- .replace('+', '')
11
- .replace(/^7/, '')
12
- .replace(/\s/g, '')
13
- .replace(/-/g, ''); };
9
+ var deleteFormatting = function (phone) {
10
+ return phone
11
+ .replace('+', '')
12
+ .replace(/^7/, '')
13
+ .replace(/\s/g, '')
14
+ .replace(/-/g, '');
15
+ };
14
16
  function setCaretPosition(_a) {
15
17
  var position = _a.position, inputRef = _a.inputRef;
16
18
  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.3",
3
+ "version": "5.2.7",
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.3",
22
+ "@alfalab/core-components-masked-input": "^4.2.7",
23
23
  "classnames": "^2.2.6",
24
24
  "text-mask-core": "^5.1.2"
25
25
  },
26
- "gitHead": "f9b419c80381117e6006f155af4bee4877a3ace0"
26
+ "gitHead": "4b32bf362777c910cd896057689e6035b3c4ad2e"
27
27
  }