intl-tel-input 25.4.4 → 25.4.7

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
@@ -77,16 +77,16 @@ _Note: We have now dropped support for all versions of Internet Explorer because
77
77
  ## Getting Started (Using a CDN)
78
78
  1. Add the CSS
79
79
  ```html
80
- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/intl-tel-input@25.4.4/build/css/intlTelInput.css">
80
+ <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/intl-tel-input@25.4.7/build/css/intlTelInput.css">
81
81
  ```
82
82
 
83
83
  2. Add the plugin script and initialise it on your input element
84
84
  ```html
85
- <script src="https://cdn.jsdelivr.net/npm/intl-tel-input@25.4.4/build/js/intlTelInput.min.js"></script>
85
+ <script src="https://cdn.jsdelivr.net/npm/intl-tel-input@25.4.7/build/js/intlTelInput.min.js"></script>
86
86
  <script>
87
87
  const input = document.querySelector("#phone");
88
88
  window.intlTelInput(input, {
89
- loadUtils: () => import("https://cdn.jsdelivr.net/npm/intl-tel-input@25.4.4/build/js/utils.js"),
89
+ loadUtils: () => import("https://cdn.jsdelivr.net/npm/intl-tel-input@25.4.7/build/js/utils.js"),
90
90
  });
91
91
  </script>
92
92
  ```
@@ -322,7 +322,7 @@ The `loadUtils` option takes a function which returns a Promise which resolves t
322
322
  ```js
323
323
  // (A) import utils module from a CDN
324
324
  intlTelInput(htmlInputElement, {
325
- loadUtils: () => import("https://cdn.jsdelivr.net/npm/intl-tel-input@25.4.4/build/js/utils.js"),
325
+ loadUtils: () => import("https://cdn.jsdelivr.net/npm/intl-tel-input@25.4.7/build/js/utils.js"),
326
326
  });
327
327
 
328
328
  // (B) import utils module from your own hosted version of utils.js
@@ -606,7 +606,7 @@ The `loadUtils` option takes a function which returns a Promise which resolves t
606
606
  ```js
607
607
  // (A) import utils module from a CDN
608
608
  intlTelInput(htmlInputElement, {
609
- loadUtils: () => import("https://cdn.jsdelivr.net/npm/intl-tel-input@25.4.4/build/js/utils.js"),
609
+ loadUtils: () => import("https://cdn.jsdelivr.net/npm/intl-tel-input@25.4.7/build/js/utils.js"),
610
610
  });
611
611
 
612
612
  // (B) import utils module from your own hosted version of utils.js
@@ -27,8 +27,8 @@ var __decorateClass = (decorators, target, key, kind) => {
27
27
  // angular/src/intl-tel-input/angular.ts
28
28
  var angular_exports = {};
29
29
  __export(angular_exports, {
30
+ IntlTelInputComponent: () => IntlTelInputComponent,
30
31
  PHONE_ERROR_MESSAGES: () => PHONE_ERROR_MESSAGES,
31
- default: () => angular_default,
32
32
  intlTelInput: () => intl_tel_input_default
33
33
  });
34
34
  module.exports = __toCommonJS(angular_exports);
@@ -2055,6 +2055,9 @@ var Iti = class {
2055
2055
  }
2056
2056
  if (dropdownContainer) {
2057
2057
  let dropdownClasses = "iti iti--container";
2058
+ if (containerClass) {
2059
+ dropdownClasses += ` ${containerClass}`;
2060
+ }
2058
2061
  if (useFullscreenPopup) {
2059
2062
  dropdownClasses += " iti--fullscreen-popup";
2060
2063
  } else {
@@ -3169,7 +3172,7 @@ var intlTelInput = Object.assign(
3169
3172
  attachUtils,
3170
3173
  startedLoadingUtilsScript: false,
3171
3174
  startedLoadingAutoCountry: false,
3172
- version: "25.4.4"
3175
+ version: "25.4.7"
3173
3176
  }
3174
3177
  );
3175
3178
  var intl_tel_input_default = intlTelInput;
@@ -3353,4 +3356,3 @@ IntlTelInputComponent = __decorateClass([
3353
3356
  ]
3354
3357
  })
3355
3358
  ], IntlTelInputComponent);
3356
- var angular_default = IntlTelInputComponent;