svelte-tel-input 0.6.1 → 0.6.2

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
@@ -1,5 +1,11 @@
1
1
  # svelte-tel-input
2
2
 
3
+ ## 0.6.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Update readme & update packages ([#54](https://github.com/gyurielf/svelte-tel-input/pull/54))
8
+
3
9
  ## 0.6.1
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -4,6 +4,8 @@
4
4
 
5
5
  <ins>Do not use it before 1.0, it won't works properly!</ins>
6
6
 
7
+ Lightweight phone input standardization.
8
+
7
9
  ## Installation
8
10
 
9
11
  Svelte Tel Input is distributed via [npm](https://www.npmjs.com/package/svelte-tel-input).
@@ -16,7 +18,7 @@ yarn add svelte-tel-input
16
18
  npm install --save svelte-tel-input
17
19
  ```
18
20
 
19
- ## Dependencies (small)
21
+ ## Dependencies
20
22
 
21
23
  [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js)
22
24
 
@@ -1,4 +1,4 @@
1
- <script >import { enteredTelInputStore } from '../../stores';
1
+ <script>import { enteredTelInputStore } from '../../stores';
2
2
  import { parsePhoneNumberWithError, ParseError } from 'libphonenumber-js';
3
3
  export let enteredTelInput;
4
4
  const handleInput = (event) => {
@@ -1,4 +1,4 @@
1
- <script >import { clickOutsideAction } from '../../utils/directives/clickOutsideAction';
1
+ <script>import { clickOutsideAction } from '../../utils/directives/clickOutsideAction';
2
2
  export let selectOptions = {
3
3
  searchInput: false,
4
4
  flags: true
@@ -38,4 +38,4 @@ const closeSelect = (e) => {
38
38
  {/if}
39
39
  </div>
40
40
 
41
- <style ></style>
41
+ <style></style>
@@ -1,4 +1,4 @@
1
- <script >import { createEventDispatcher } from 'svelte';
1
+ <script>import { createEventDispatcher } from 'svelte';
2
2
  const dispatch = createEventDispatcher();
3
3
  const setSelected = (e) => {
4
4
  dispatch('selectedItem');
@@ -1,4 +1,4 @@
1
- <script >import { selectedCountryStore } from '../../../stores';
1
+ <script>import { selectedCountryStore } from '../../../stores';
2
2
  export let selectedCountry;
3
3
  const setSelectedCountry = (value) => {
4
4
  selectedCountry = value;
@@ -1,4 +1,4 @@
1
- <script >"use strict";
1
+ <script>"use strict";
2
2
  let selectedTelRegion;
3
3
  </script>
4
4
 
@@ -1,4 +1,4 @@
1
- <script >export let regionOption;
1
+ <script>export let regionOption;
2
2
  </script>
3
3
 
4
4
  <option class={$$props.class} value={regionOption.value}>{regionOption.label}</option>
@@ -1,4 +1,4 @@
1
- <script >import { selectedTelTypeStore } from '../../../stores';
1
+ <script>import { selectedTelTypeStore } from '../../../stores';
2
2
  export let selectedTelType;
3
3
  const setSelectedCountry = (value) => {
4
4
  selectedTelType = value;
@@ -1,4 +1,4 @@
1
- <script >export let typeOption;
1
+ <script>export let typeOption;
2
2
  </script>
3
3
 
4
4
  <option class={$$props.class} value={typeOption.value}>{typeOption.label}</option>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "svelte-tel-input",
3
3
  "description": "svelte-tel-input",
4
- "version": "0.6.1",
4
+ "version": "0.6.2",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/gyurielf/svelte-tel-input.git"
@@ -21,49 +21,49 @@
21
21
  "node": ">= 16"
22
22
  },
23
23
  "dependencies": {
24
- "libphonenumber-js": "^1.9.50"
24
+ "libphonenumber-js": "^1.9.52"
25
25
  },
26
26
  "devDependencies": {
27
- "@babel/core": "^7.17.8",
27
+ "@babel/core": "^7.17.9",
28
28
  "@babel/preset-env": "^7.16.11",
29
- "@changesets/cli": "^2.21.1",
29
+ "@changesets/cli": "^2.22.0",
30
30
  "@changesets/get-github-info": "^0.5.0",
31
- "@changesets/types": "^4.1.0",
31
+ "@changesets/types": "^5.0.0",
32
32
  "@sveltejs/adapter-static": "^1.0.0-next.29",
33
- "@sveltejs/kit": "^1.0.0-next.303",
34
- "@testing-library/jest-dom": "^5.16.3",
35
- "@testing-library/svelte": "^3.1.0",
33
+ "@sveltejs/kit": "^1.0.0-next.320",
34
+ "@testing-library/jest-dom": "^5.16.4",
35
+ "@testing-library/svelte": "^3.1.1",
36
36
  "@types/jest": "^27.4.1",
37
- "@typescript-eslint/eslint-plugin": "^5.16.0",
38
- "@typescript-eslint/parser": "^5.16.0",
37
+ "@typescript-eslint/eslint-plugin": "^5.20.0",
38
+ "@typescript-eslint/parser": "^5.20.0",
39
39
  "autoprefixer": "^10.4.4",
40
40
  "babel-jest": "^27.5.1",
41
- "babel-loader": "^8.2.4",
42
- "cssnano": "^5.1.5",
41
+ "babel-loader": "^8.2.5",
42
+ "cssnano": "^5.1.7",
43
43
  "dotenv": "^16.0.0",
44
- "eslint": "^8.12.0",
44
+ "eslint": "^8.14.0",
45
45
  "eslint-config-prettier": "^8.5.0",
46
- "eslint-plugin-jest": "^26.1.3",
46
+ "eslint-plugin-jest": "^26.1.5",
47
47
  "eslint-plugin-svelte3": "^3.4.1",
48
48
  "husky": "^7.0.4",
49
49
  "jest": "^27.5.1",
50
50
  "jest-matchmedia-mock": "^1.1.0",
51
51
  "micromatch": "^4.0.5",
52
52
  "postcss": "^8.4.12",
53
- "postcss-load-config": "^3.1.3",
54
- "prettier": "^2.6.1",
55
- "prettier-plugin-svelte": "^2.6.0",
56
- "svelte": "^3.46.4",
57
- "svelte-check": "^2.4.6",
53
+ "postcss-load-config": "^3.1.4",
54
+ "prettier": "^2.6.2",
55
+ "prettier-plugin-svelte": "^2.7.0",
56
+ "svelte": "^3.47.0",
57
+ "svelte-check": "^2.7.0",
58
58
  "svelte-inview": "^3.0.0",
59
59
  "svelte-jester": "^2.3.2",
60
60
  "svelte-loader": "^3.1.2",
61
- "svelte-preprocess": "^4.10.4",
62
- "svelte2tsx": "^0.5.6",
63
- "tailwindcss": "^3.0.23",
61
+ "svelte-preprocess": "^4.10.6",
62
+ "svelte2tsx": "^0.5.9",
63
+ "tailwindcss": "^3.0.24",
64
64
  "ts-jest": "^27.1.4",
65
65
  "tsconfig-paths-webpack-plugin": "^3.5.2",
66
- "tslib": "^2.3.1",
66
+ "tslib": "^2.4.0",
67
67
  "typescript": "^4.6.3"
68
68
  },
69
69
  "standard-version": {