intl-tel-input 21.2.2 → 21.2.4

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/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # International Telephone Input [![Build Status](https://app.travis-ci.com/jackocnr/intl-tel-input.svg?branch=master)](https://app.travis-ci.com/jackocnr/intl-tel-input) <img src="https://img.shields.io/github/package-json/v/jackocnr/intl-tel-input.svg" alt="version"/> <img src="https://img.shields.io/npm/dm/intl-tel-input.svg" alt="downloads"/>
2
2
 
3
- <img src="https://raw.github.com/jackocnr/intl-tel-input/master/screenshots/react.png" alt="React logo" width="16px" /> NEWS: we now have our own <a href="https://intl-tel-input.com/examples/react-component.html">React component</a>! Play with it on <a href="https://intl-tel-input.com/storybook/">Storybook</a>.
3
+ <img src="https://raw.github.com/jackocnr/intl-tel-input/master/screenshots/react.png" alt="React logo" width="16px" /> NEWS: we now have our own <a href="https://intl-tel-input.com/examples/react-component.html">React component</a>! Play with it on <a href="https://intl-tel-input.com/storybook/?path=/docs/intltelinput--vanilla">Storybook</a>.
4
4
 
5
5
  <img src="https://raw.github.com/jackocnr/intl-tel-input/master/screenshots/typescript.png" alt="Typescript logo" width="16px" /> NEWS: we now have our own Typescript type definitions (for both [the JavaScript plugin](https://github.com/jackocnr/intl-tel-input/blob/master/build/js/intlTelInput.d.ts) and [the React component](https://github.com/jackocnr/intl-tel-input/blob/master/react/build/IntlTelInput.d.ts)), so no need to use `@types/intl-tel-input` any more!
6
6
 
@@ -67,16 +67,16 @@ _Note: We have now dropped support for all versions of Internet Explorer because
67
67
  ## Getting Started (Using a CDN)
68
68
  1. Add the CSS
69
69
  ```html
70
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/intl-tel-input@21.2.2/build/css/intlTelInput.css">
70
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/intl-tel-input@21.2.4/build/css/intlTelInput.css">
71
71
  ```
72
72
 
73
73
  2. Add the plugin script and initialise it on your input element
74
74
  ```html
75
- <script src="https://cdn.jsdelivr.net/npm/intl-tel-input@21.2.2/build/js/intlTelInput.min.js"></script>
75
+ <script src="https://cdn.jsdelivr.net/npm/intl-tel-input@21.2.4/build/js/intlTelInput.min.js"></script>
76
76
  <script>
77
77
  const input = document.querySelector("#phone");
78
78
  window.intlTelInput(input, {
79
- utilsScript: "https://cdn.jsdelivr.net/npm/intl-tel-input@21.2.2/build/js/utils.js",
79
+ utilsScript: "https://cdn.jsdelivr.net/npm/intl-tel-input@21.2.4/build/js/utils.js",
80
80
  });
81
81
  </script>
82
82
  ```