intl-tel-input 18.0.3 → 18.1.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/.eslintrc +2 -8
- package/.vscode/settings.json +8 -0
- package/CHANGELOG.md +3 -0
- package/Gruntfile.js +0 -2
- package/README.md +24 -30
- package/build/css/intlTelInput.css +1 -1
- package/build/js/data.js +1 -1
- package/build/js/data.min.js +1 -1
- package/build/js/intlTelInput-jquery.js +213 -89
- package/build/js/intlTelInput-jquery.min.js +3 -3
- package/build/js/intlTelInput.js +213 -89
- package/build/js/intlTelInput.min.js +3 -3
- package/composer.json +1 -1
- package/demo.html +42 -43
- package/demo_rtl.html +21 -23
- package/grunt/template.js +2 -265
- package/package.json +4 -1
- package/src/css/intlTelInput.scss +1 -1
- package/src/js/intlTelInput.js +605 -341
- package/examples/css/countrySync.css +0 -10
- package/examples/css/isValidNumber.css +0 -12
- package/examples/css/prism.css +0 -126
- package/examples/gen/country-sync.html +0 -98
- package/examples/gen/default-country-ip.html +0 -62
- package/examples/gen/display-number.html +0 -47
- package/examples/gen/hidden-input.html +0 -54
- package/examples/gen/init-promise.html +0 -66
- package/examples/gen/is-valid-number.html +0 -86
- package/examples/gen/js/countrySync.js +0 -31
- package/examples/gen/js/defaultCountryIp.js +0 -11
- package/examples/gen/js/displayNumber.js +0 -4
- package/examples/gen/js/hiddenInput.js +0 -5
- package/examples/gen/js/initPromise.js +0 -9
- package/examples/gen/js/isValidNumber.js +0 -37
- package/examples/gen/js/modifyCountryData.js +0 -11
- package/examples/gen/js/multipleInstances.js +0 -13
- package/examples/gen/js/nationalMode.js +0 -18
- package/examples/gen/js/onlyCountriesEurope.js +0 -8
- package/examples/gen/modify-country-data.html +0 -52
- package/examples/gen/multiple-instances.html +0 -60
- package/examples/gen/national-mode.html +0 -63
- package/examples/gen/only-countries-europe.html +0 -49
- package/examples/js/countrySync.js.ejs +0 -31
- package/examples/js/defaultCountryIp.js.ejs +0 -11
- package/examples/js/displayNumber.js.ejs +0 -4
- package/examples/js/hiddenInput.js.ejs +0 -5
- package/examples/js/initPromise.js.ejs +0 -9
- package/examples/js/isValidNumber.js.ejs +0 -37
- package/examples/js/modifyCountryData.js.ejs +0 -11
- package/examples/js/multipleInstances.js.ejs +0 -13
- package/examples/js/nationalMode.js.ejs +0 -18
- package/examples/js/onlyCountriesEurope.js.ejs +0 -8
- package/examples/js/prism.js +0 -11
- package/examples/partials/countrySync.html +0 -13
- package/examples/partials/defaultCountryIp.html +0 -5
- package/examples/partials/displayNumber.html +0 -1
- package/examples/partials/hiddenInput.html +0 -4
- package/examples/partials/initPromise.html +0 -8
- package/examples/partials/isValidNumber.html +0 -3
- package/examples/partials/multipleInstances.html +0 -3
- package/examples/partials/nationalMode.html +0 -2
- package/examples/partials/simpleInput.html +0 -1
- package/examples/template.html.ejs +0 -43
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "intl-tel-input",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.1.1",
|
|
4
4
|
"description": "A JavaScript plugin for entering and validating international telephone numbers",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"international",
|
|
@@ -21,7 +21,9 @@
|
|
|
21
21
|
"babel-eslint": "^9.0.0",
|
|
22
22
|
"custom-event-polyfill": "^1.0.6",
|
|
23
23
|
"es6-promise": "^4.2.5",
|
|
24
|
+
"eslint": "^8.38.0",
|
|
24
25
|
"eslint-config-airbnb": "^17.1.0",
|
|
26
|
+
"eslint-config-prettier": "^8.8.0",
|
|
25
27
|
"eslint-plugin-import": "^2.14.0",
|
|
26
28
|
"eslint-plugin-jsx-a11y": "^6.1.1",
|
|
27
29
|
"eslint-plugin-react": "^7.11.1",
|
|
@@ -48,6 +50,7 @@
|
|
|
48
50
|
"jquery": "^3.1.1",
|
|
49
51
|
"load-grunt-config": "^0.19.2",
|
|
50
52
|
"node-sass": "^6.0.1",
|
|
53
|
+
"prettier": "^2.8.7",
|
|
51
54
|
"region-flags": "^1.1.0",
|
|
52
55
|
"time-grunt": "^1.4.0"
|
|
53
56
|
},
|
|
@@ -248,7 +248,7 @@ $mobilePopupMargin: 30px !default;
|
|
|
248
248
|
// now that we have digits in this section, it needs this visual separation
|
|
249
249
|
background-color: $hoverColor;
|
|
250
250
|
}
|
|
251
|
-
.iti__selected-dial-code {
|
|
251
|
+
&.iti--show-flags .iti__selected-dial-code {
|
|
252
252
|
margin-left: $arrowPadding;
|
|
253
253
|
}
|
|
254
254
|
}
|