intl-tel-input 23.2.0 → 23.2.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intl-tel-input",
3
- "version": "23.2.0",
3
+ "version": "23.2.1",
4
4
  "description": "A JavaScript plugin for entering and validating international telephone numbers",
5
5
  "keywords": [
6
6
  "international",
@@ -113,12 +113,12 @@
113
113
  "./data": "./build/js/data.js",
114
114
  "./utils": "./build/js/utils.js",
115
115
  "./react": {
116
- "types": "./build/js/intlTelInput.d.ts",
116
+ "types": "./react/build/IntlTelInput.d.ts",
117
117
  "require": "./react/build/IntlTelInput.cjs",
118
118
  "default": "./react/build/IntlTelInput.js"
119
119
  },
120
120
  "./reactWithUtils": {
121
- "types": "./build/js/intlTelInput.d.ts",
121
+ "types": "./react/build/IntlTelInput.d.ts",
122
122
  "require": "./react/build/IntlTelInputWithUtils.cjs",
123
123
  "default": "./react/build/IntlTelInputWithUtils.js"
124
124
  },
@@ -133,7 +133,7 @@
133
133
  "build/js/intlTelInput.d.ts"
134
134
  ],
135
135
  "react": [
136
- "./build/js/intlTelInput.d.ts"
136
+ "react/build/IntlTelInput.d.ts"
137
137
  ]
138
138
  }
139
139
  },
package/react/README.md CHANGED
@@ -29,7 +29,7 @@ import "intl-tel-input/styles";
29
29
 
30
30
  See the [Validation demo](https://github.com/jackocnr/intl-tel-input/blob/master/react/demo/ValidationApp.tsx) for a more fleshed out example of how to handle validation.
31
31
 
32
- A note on the utils script (~260KB): if you're lazy loading the IntlTelInput chunk (and so less worried about filesize) then you can just import IntlTelInput from `"intl-tel-input/reactWithUtils"` instead, to include the utils script. Alternatively, if you use the main `"intl-tel-input/react"` import, then you should couple this with the `utilsScript` initialisation option - you will need to host the [utils.js](https://github.com/jackocnr/intl-tel-input/blob/master/build/js/utils.js) file, and then set the `utilsScript` option to that URL, or alternatively just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@23.2.0/build/js/utils.js"`.
32
+ A note on the utils script (~260KB): if you're lazy loading the IntlTelInput chunk (and so less worried about filesize) then you can just import IntlTelInput from `"intl-tel-input/reactWithUtils"` instead, to include the utils script. Alternatively, if you use the main `"intl-tel-input/react"` import, then you should couple this with the `utilsScript` initialisation option - you will need to host the [utils.js](https://github.com/jackocnr/intl-tel-input/blob/master/build/js/utils.js) file, and then set the `utilsScript` option to that URL, or alternatively just point it to a CDN hosted version e.g. `"https://cdn.jsdelivr.net/npm/intl-tel-input@23.2.1/build/js/utils.js"`.
33
33
 
34
34
  ## Props
35
35
  Here's a list of all of the current props you can pass to the IntlTelInput react component.
@@ -2752,7 +2752,7 @@ var intlTelInput = Object.assign(
2752
2752
  //* A map from instance ID to instance object.
2753
2753
  instances: {},
2754
2754
  loadUtils,
2755
- version: "23.2.0"
2755
+ version: "23.2.1"
2756
2756
  }
2757
2757
  );
2758
2758
  var intl_tel_input_default = intlTelInput;