svelte-tel-input 2.0.0 → 2.0.1

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
+ ## 2.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - fix: component export ([#147](https://github.com/gyurielf/svelte-tel-input/pull/147))
8
+
3
9
  ## 2.0.0
4
10
 
5
11
  ### Major Changes
package/README.md CHANGED
@@ -6,6 +6,10 @@
6
6
 
7
7
  > Lightweight svelte tel/phone input standardizer.
8
8
 
9
+ <img src="https://raw.githubusercontent.com/gyurielf/svelte-tel-input/main/static/demo.gif" width="600px" align="center">
10
+
11
+ 🔥 Check it out live [here](https://svelte-tel-input.vercel.app/)
12
+
9
13
  ## Installation
10
14
 
11
15
  Svelte Tel Input is distributed via [npm](https://www.npmjs.com/package/svelte-tel-input).
package/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { default } from './components/Input/TelInput.svelte';
1
+ export { default as TelInput } from './components/Input/TelInput.svelte';
2
2
  export { getCurrentCountry, isSelected, inputParser, inspectAllowedChars, normalizeTelInput, getCountryForPartialE164Number } from './utils/helpers';
3
3
  export { parsePhoneNumberWithError, ParseError } from 'libphonenumber-js/max';
4
4
  export { clickOutsideAction } from './utils/directives/clickOutsideAction';
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export { default } from './components/Input/TelInput.svelte';
1
+ export { default as TelInput } from './components/Input/TelInput.svelte';
2
2
  export { getCurrentCountry, isSelected, inputParser, inspectAllowedChars, normalizeTelInput, getCountryForPartialE164Number } from './utils/helpers';
3
3
  export { parsePhoneNumberWithError, ParseError } from 'libphonenumber-js/max';
4
4
  export { clickOutsideAction } from './utils/directives/clickOutsideAction';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "svelte-tel-input",
3
3
  "description": "svelte-tel-input",
4
- "version": "2.0.0",
4
+ "version": "2.0.1",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/gyurielf/svelte-tel-input.git"