@intl-tel-input/vue 29.4.0 → 29.4.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.
@@ -2062,7 +2062,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
2062
2062
  }
2063
2063
  closeCountrySelector() {
2064
2064
  let { countrySearch: e } = this.#e;
2065
- this.#D.abort(), this.#D = null, this.#m.classList.add(v.HIDE), this.#u.setAttribute(R.EXPANDED, "false"), this.#Y().removeAttribute(R.ACTIVE_DESCENDANT), e && (this.#g.value = "", this.#G(), this.#T &&= (this.#T.classList.remove(v.HIGHLIGHT), null)), this.#p.classList.remove(v.ARROW_UP), this.#C ? (this.#C.remove(), this.#C.style.top = "", this.#C.style.bottom = "", this.#C.style.height = "", this.#C.style.paddingLeft = "", this.#C.style.paddingRight = "") : (this.#m.style.top = "", this.#m.style.bottom = "");
2065
+ this.#D.abort(), this.#D = null, this.#m.classList.add(v.HIDE), this.#u.setAttribute(R.EXPANDED, "false"), this.#Y().removeAttribute(R.ACTIVE_DESCENDANT), e && (this.#g.value = "", this.#G(), this.#T &&= (this.#T.classList.remove(v.HIGHLIGHT), null)), this.#p.classList.remove(v.ARROW_UP), this.#C ? (this.#C.remove(), this.#C.style.top = "", this.#C.style.bottom = "", this.#C.style.removeProperty("--iti-virtual-keyboard-height"), this.#C.style.paddingLeft = "", this.#C.style.paddingRight = "") : (this.#m.style.top = "", this.#m.style.bottom = "");
2066
2066
  }
2067
2067
  #se() {
2068
2068
  if (this.#e.dropdownAlwaysOpen) return !0;
@@ -2090,8 +2090,10 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
2090
2090
  this.telInputEl.style.anchorName = t && t !== "none" ? `${t}, ${e}` : e, this.#C.style.positionAnchor = e;
2091
2091
  }
2092
2092
  #ue() {
2093
- let e = window.visualViewport;
2094
- !e || !this.#C || (this.#C.style.height = `${e.height}px`);
2093
+ let e = window.visualViewport, t = this.#C;
2094
+ if (!e || !t) return;
2095
+ let n = Math.max(0, t.offsetHeight - e.height);
2096
+ t.style.setProperty("--iti-virtual-keyboard-height", `${n}px`);
2095
2097
  }
2096
2098
  isCountrySelectorOpen() {
2097
2099
  return !this.#m.classList.contains(v.HIDE);
@@ -2732,7 +2734,7 @@ var p = new Set(f.map((e) => e.iso2)), m = (e) => p.has(e), h = f, g = {
2732
2734
  },
2733
2735
  startedLoadingUtils: !1,
2734
2736
  startedLoadingAutoCountry: !1,
2735
- version: "29.4.0",
2737
+ version: "29.4.1",
2736
2738
  NUMBER_FORMAT: N,
2737
2739
  NUMBER_TYPE: P,
2738
2740
  VALIDATION_ERROR: F,
@@ -1,4 +1,4 @@
1
- import { n as e, t } from "./IntlTelInput-igGypu_6.js";
1
+ import { n as e, t } from "./IntlTelInput-DGKXDaPb.js";
2
2
  //#region packages/vue/src/index.ts
3
3
  var n = t;
4
4
  //#endregion
@@ -1,4 +1,4 @@
1
- import { n as e, t } from "./IntlTelInput-igGypu_6.js";
1
+ import { n as e, t } from "./IntlTelInput-DGKXDaPb.js";
2
2
  //#region packages/core/dist/js/utils.js
3
3
  var n = {};
4
4
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intl-tel-input/vue",
3
- "version": "29.4.0",
3
+ "version": "29.4.1",
4
4
  "description": "A Vue component for intl-tel-input, for entering, formatting, and validating international telephone numbers",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -24,7 +24,7 @@
24
24
  "README.md"
25
25
  ],
26
26
  "dependencies": {
27
- "intl-tel-input": "^29.4.0"
27
+ "intl-tel-input": "^29.4.1"
28
28
  },
29
29
  "peerDependencies": {
30
30
  "vue": "^3.0.0"