@desource/phone-mask-vue 0.2.2 → 0.2.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @desource/phone-mask-vue
2
2
 
3
+ ## 0.2.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Vue: Improve country dropdown scroll
8
+
9
+ - Updated dependencies []:
10
+ - @desource/phone-mask@0.2.3
11
+
3
12
  ## 0.2.2
4
13
 
5
14
  ### Patch Changes
package/dist/index.cjs CHANGED
@@ -153,7 +153,7 @@ function useCountrySelector(usedLocale) {
153
153
  dropdownOpened.value = !dropdownOpened.value;
154
154
  if (!dropdownOpened.value) return;
155
155
  await vue.nextTick();
156
- searchRef.value?.focus();
156
+ searchRef.value?.focus({ preventScroll: true });
157
157
  focusedIndex.value = 0;
158
158
  };
159
159
  const closeDropdown = () => {
@@ -807,7 +807,19 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
807
807
  await vue.nextTick();
808
808
  const list = dropdownRef.value?.lastElementChild;
809
809
  if (!list) return;
810
- list.children[focusedIndex.value]?.scrollIntoView?.({ block: "nearest" });
810
+ const option = list.children[focusedIndex.value];
811
+ if (!option) return;
812
+ const listRect = list.getBoundingClientRect();
813
+ const optionRect = option.getBoundingClientRect();
814
+ let scrollAmount = 0;
815
+ if (optionRect.top < listRect.top) {
816
+ scrollAmount = list.scrollTop - (listRect.top - optionRect.top);
817
+ } else if (optionRect.bottom > listRect.bottom) {
818
+ scrollAmount = list.scrollTop + (optionRect.bottom - listRect.bottom);
819
+ } else {
820
+ return;
821
+ }
822
+ list.scrollTo({ top: scrollAmount, behavior: "smooth" });
811
823
  };
812
824
  const onDocClick = (ev) => {
813
825
  const dropdown = dropdownRef.value;
@@ -1106,7 +1118,7 @@ const _export_sfc = (sfc, props) => {
1106
1118
  }
1107
1119
  return target;
1108
1120
  };
1109
- const PhoneInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a8e96716"]]);
1121
+ const PhoneInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-95467f81"]]);
1110
1122
  function getNavigatorLang() {
1111
1123
  if (typeof navigator !== "undefined") {
1112
1124
  return navigator.language || "";
package/dist/index.js CHANGED
@@ -152,7 +152,7 @@ var lib = (function(exports, vue) {
152
152
  dropdownOpened.value = !dropdownOpened.value;
153
153
  if (!dropdownOpened.value) return;
154
154
  await vue.nextTick();
155
- searchRef.value?.focus();
155
+ searchRef.value?.focus({ preventScroll: true });
156
156
  focusedIndex.value = 0;
157
157
  };
158
158
  const closeDropdown = () => {
@@ -806,7 +806,19 @@ var lib = (function(exports, vue) {
806
806
  await vue.nextTick();
807
807
  const list = dropdownRef.value?.lastElementChild;
808
808
  if (!list) return;
809
- list.children[focusedIndex.value]?.scrollIntoView?.({ block: "nearest" });
809
+ const option = list.children[focusedIndex.value];
810
+ if (!option) return;
811
+ const listRect = list.getBoundingClientRect();
812
+ const optionRect = option.getBoundingClientRect();
813
+ let scrollAmount = 0;
814
+ if (optionRect.top < listRect.top) {
815
+ scrollAmount = list.scrollTop - (listRect.top - optionRect.top);
816
+ } else if (optionRect.bottom > listRect.bottom) {
817
+ scrollAmount = list.scrollTop + (optionRect.bottom - listRect.bottom);
818
+ } else {
819
+ return;
820
+ }
821
+ list.scrollTo({ top: scrollAmount, behavior: "smooth" });
810
822
  };
811
823
  const onDocClick = (ev) => {
812
824
  const dropdown = dropdownRef.value;
@@ -1105,7 +1117,7 @@ var lib = (function(exports, vue) {
1105
1117
  }
1106
1118
  return target;
1107
1119
  };
1108
- const PhoneInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a8e96716"]]);
1120
+ const PhoneInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-95467f81"]]);
1109
1121
  function getNavigatorLang() {
1110
1122
  if (typeof navigator !== "undefined") {
1111
1123
  return navigator.language || "";
package/dist/index.mjs CHANGED
@@ -151,7 +151,7 @@ function useCountrySelector(usedLocale) {
151
151
  dropdownOpened.value = !dropdownOpened.value;
152
152
  if (!dropdownOpened.value) return;
153
153
  await nextTick();
154
- searchRef.value?.focus();
154
+ searchRef.value?.focus({ preventScroll: true });
155
155
  focusedIndex.value = 0;
156
156
  };
157
157
  const closeDropdown = () => {
@@ -805,7 +805,19 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
805
805
  await nextTick();
806
806
  const list = dropdownRef.value?.lastElementChild;
807
807
  if (!list) return;
808
- list.children[focusedIndex.value]?.scrollIntoView?.({ block: "nearest" });
808
+ const option = list.children[focusedIndex.value];
809
+ if (!option) return;
810
+ const listRect = list.getBoundingClientRect();
811
+ const optionRect = option.getBoundingClientRect();
812
+ let scrollAmount = 0;
813
+ if (optionRect.top < listRect.top) {
814
+ scrollAmount = list.scrollTop - (listRect.top - optionRect.top);
815
+ } else if (optionRect.bottom > listRect.bottom) {
816
+ scrollAmount = list.scrollTop + (optionRect.bottom - listRect.bottom);
817
+ } else {
818
+ return;
819
+ }
820
+ list.scrollTo({ top: scrollAmount, behavior: "smooth" });
809
821
  };
810
822
  const onDocClick = (ev) => {
811
823
  const dropdown = dropdownRef.value;
@@ -1104,7 +1116,7 @@ const _export_sfc = (sfc, props) => {
1104
1116
  }
1105
1117
  return target;
1106
1118
  };
1107
- const PhoneInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a8e96716"]]);
1119
+ const PhoneInput = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-95467f81"]]);
1108
1120
  function getNavigatorLang() {
1109
1121
  if (typeof navigator !== "undefined") {
1110
1122
  return navigator.language || "";
@@ -77,62 +77,62 @@
77
77
  .phone-input input:disabled,
78
78
  .phone-dropdown input:disabled {
79
79
  cursor: not-allowed;
80
- }.phone-input[data-v-a8e96716],
81
- .phone-dropdown[data-v-a8e96716] {
80
+ }.phone-input[data-v-95467f81],
81
+ .phone-dropdown[data-v-95467f81] {
82
82
  font-size: var(--pi-font-size);
83
83
  background: var(--pi-bg);
84
84
  color: var(--pi-fg);
85
85
  border-radius: var(--pi-radius);
86
86
  border: 1px solid var(--pi-border);
87
87
  }
88
- .phone-input[data-v-a8e96716] {
88
+ .phone-input[data-v-95467f81] {
89
89
  position: relative;
90
90
  display: flex;
91
91
  align-items: stretch;
92
92
  width: 100%;
93
93
  }
94
- .phone-input[data-v-a8e96716]:focus-within {
94
+ .phone-input[data-v-95467f81]:focus-within {
95
95
  outline: var(--pi-focus-ring);
96
96
  }
97
- .phone-input.is-incomplete[data-v-a8e96716] {
97
+ .phone-input.is-incomplete[data-v-95467f81] {
98
98
  border-color: var(--pi-warning);
99
99
  }
100
- .phone-input.is-incomplete[data-v-a8e96716]:focus-within {
100
+ .phone-input.is-incomplete[data-v-95467f81]:focus-within {
101
101
  outline: var(--pi-focus-ring-warning);
102
102
  }
103
- .phone-input.is-complete[data-v-a8e96716] {
103
+ .phone-input.is-complete[data-v-95467f81] {
104
104
  border-color: var(--pi-success);
105
105
  }
106
- .phone-input.is-complete[data-v-a8e96716]:focus-within {
106
+ .phone-input.is-complete[data-v-95467f81]:focus-within {
107
107
  outline: var(--pi-focus-ring-success);
108
108
  }
109
- .phone-input.is-disabled[data-v-a8e96716] {
109
+ .phone-input.is-disabled[data-v-95467f81] {
110
110
  background: var(--pi-disabled-bg);
111
111
  color: var(--pi-disabled-fg);
112
112
  }
113
- .phone-input.is-readonly[data-v-a8e96716] {
113
+ .phone-input.is-readonly[data-v-95467f81] {
114
114
  cursor: default;
115
115
  }
116
- .phone-input.size-compact[data-v-a8e96716] {
116
+ .phone-input.size-compact[data-v-95467f81] {
117
117
  --pi-font-size: 14px;
118
118
  --pi-height: 36px;
119
119
  --pi-padding: 10px;
120
120
  --pi-actions-size: 24px;
121
121
  }
122
- .phone-input.size-large[data-v-a8e96716] {
122
+ .phone-input.size-large[data-v-95467f81] {
123
123
  --pi-font-size: 18px;
124
124
  --pi-height: 52px;
125
125
  --pi-padding: 16px;
126
126
  --pi-actions-size: 32px;
127
127
  }
128
- .phone-input.is-unstyled[data-v-a8e96716] {
128
+ .phone-input.is-unstyled[data-v-95467f81] {
129
129
  all: initial;
130
130
  display: block;
131
131
  }
132
- .pi-selector[data-v-a8e96716] {
132
+ .pi-selector[data-v-95467f81] {
133
133
  flex-shrink: 0;
134
134
  }
135
- .pi-selector-btn[data-v-a8e96716] {
135
+ .pi-selector-btn[data-v-95467f81] {
136
136
  display: flex;
137
137
  align-items: center;
138
138
  gap: 6px;
@@ -143,36 +143,36 @@
143
143
  border-radius: var(--pi-radius) 0 0 var(--pi-radius);
144
144
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
145
145
  }
146
- .pi-selector-btn.no-dropdown[data-v-a8e96716] {
146
+ .pi-selector-btn.no-dropdown[data-v-95467f81] {
147
147
  cursor: default;
148
148
  }
149
- .pi-selector-btn[data-v-a8e96716]:focus-visible {
149
+ .pi-selector-btn[data-v-95467f81]:focus-visible {
150
150
  border-color: var(--pi-border-focus);
151
151
  outline: none;
152
152
  }
153
- .pi-selector-btn:disabled > .pi-flag[data-v-a8e96716] {
153
+ .pi-selector-btn:disabled > .pi-flag[data-v-95467f81] {
154
154
  opacity: 0.5;
155
155
  }
156
- .pi-flag[data-v-a8e96716] {
156
+ .pi-flag[data-v-95467f81] {
157
157
  font-size: 1.25em;
158
158
  line-height: 1;
159
159
  display: inline-flex;
160
160
  }
161
- .pi-chevron[data-v-a8e96716] {
161
+ .pi-chevron[data-v-95467f81] {
162
162
  margin-left: 2px;
163
163
  color: var(--pi-muted);
164
164
  transition: transform 200ms ease;
165
165
  }
166
- .pi-chevron.is-open[data-v-a8e96716] {
166
+ .pi-chevron.is-open[data-v-95467f81] {
167
167
  transform: rotate(180deg);
168
168
  }
169
- .pi-input-wrap[data-v-a8e96716] {
169
+ .pi-input-wrap[data-v-95467f81] {
170
170
  flex: 1;
171
171
  position: relative;
172
172
  display: flex;
173
173
  align-items: center;
174
174
  }
175
- .pi-input[data-v-a8e96716] {
175
+ .pi-input[data-v-95467f81] {
176
176
  flex: 1;
177
177
  width: 100%;
178
178
  padding-left: var(--pi-padding);
@@ -181,14 +181,14 @@
181
181
  border-radius: 0 var(--pi-radius) var(--pi-radius) 0;
182
182
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
183
183
  }
184
- .pi-input[data-v-a8e96716]:hover:not(:disabled):not(:read-only) {
184
+ .pi-input[data-v-95467f81]:hover:not(:disabled):not(:read-only) {
185
185
  border-color: var(--pi-border-hover);
186
186
  }
187
- .pi-input[data-v-a8e96716]:focus {
187
+ .pi-input[data-v-95467f81]:focus {
188
188
  border-color: var(--pi-border-focus);
189
189
  position: relative;
190
190
  }
191
- .pi-actions[data-v-a8e96716] {
191
+ .pi-actions[data-v-95467f81] {
192
192
  position: absolute;
193
193
  right: 2px;
194
194
  top: 50%;
@@ -197,7 +197,7 @@
197
197
  align-items: center;
198
198
  gap: 2px;
199
199
  }
200
- .pi-btn[data-v-a8e96716] {
200
+ .pi-btn[data-v-95467f81] {
201
201
  display: flex;
202
202
  align-items: center;
203
203
  justify-content: center;
@@ -209,36 +209,36 @@
209
209
  border-radius: 9999px;
210
210
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
211
211
  }
212
- .pi-btn[data-v-a8e96716]:hover {
212
+ .pi-btn[data-v-95467f81]:hover {
213
213
  background: var(--pi-disabled-bg);
214
214
  color: var(--pi-fg);
215
215
  }
216
- .pi-btn[data-v-a8e96716]:active:not(:disabled) {
216
+ .pi-btn[data-v-95467f81]:active:not(:disabled) {
217
217
  transform: scale(0.95);
218
218
  }
219
- .pi-btn[data-v-a8e96716]:focus {
219
+ .pi-btn[data-v-95467f81]:focus {
220
220
  outline: 1px solid var(--pi-border-focus);
221
221
  outline-offset: -1px;
222
222
  }
223
- .pi-btn.is-copied[data-v-a8e96716] {
223
+ .pi-btn.is-copied[data-v-95467f81] {
224
224
  color: var(--pi-success);
225
225
  border-color: var(--pi-success);
226
226
  }
227
- .pi-btn svg[data-v-a8e96716] {
227
+ .pi-btn svg[data-v-95467f81] {
228
228
  flex-shrink: 0;
229
229
  }
230
- .phone-dropdown[data-v-a8e96716] {
230
+ .phone-dropdown[data-v-95467f81] {
231
231
  position: absolute;
232
232
  z-index: 9999;
233
233
  max-width: 400px;
234
234
  box-shadow: var(--pi-shadow-lg);
235
235
  overflow: hidden;
236
236
  }
237
- .pi-search-wrap[data-v-a8e96716] {
237
+ .pi-search-wrap[data-v-95467f81] {
238
238
  padding: 8px;
239
239
  border-bottom: 1px solid var(--pi-border);
240
240
  }
241
- .pi-search[data-v-a8e96716] {
241
+ .pi-search[data-v-95467f81] {
242
242
  width: 100%;
243
243
  padding: 8px 12px;
244
244
  font-size: 0.875em;
@@ -247,30 +247,30 @@
247
247
  background: var(--pi-bg);
248
248
  transition: border-color 150ms ease;
249
249
  }
250
- .pi-search[data-v-a8e96716]:focus {
250
+ .pi-search[data-v-95467f81]:focus {
251
251
  border-color: var(--pi-border-focus);
252
252
  }
253
- .pi-options[data-v-a8e96716] {
253
+ .pi-options[data-v-95467f81] {
254
254
  max-height: 300px;
255
255
  overflow-y: auto;
256
256
  padding: 4px 0;
257
257
  margin: 0;
258
258
  list-style: none;
259
259
  }
260
- .pi-options[data-v-a8e96716]::-webkit-scrollbar {
260
+ .pi-options[data-v-95467f81]::-webkit-scrollbar {
261
261
  width: 8px;
262
262
  }
263
- .pi-options[data-v-a8e96716]::-webkit-scrollbar-track {
263
+ .pi-options[data-v-95467f81]::-webkit-scrollbar-track {
264
264
  background: transparent;
265
265
  }
266
- .pi-options[data-v-a8e96716]::-webkit-scrollbar-thumb {
266
+ .pi-options[data-v-95467f81]::-webkit-scrollbar-thumb {
267
267
  background: var(--pi-border);
268
268
  border-radius: 4px;
269
269
  }
270
- .pi-options[data-v-a8e96716]::-webkit-scrollbar-thumb:hover {
270
+ .pi-options[data-v-95467f81]::-webkit-scrollbar-thumb:hover {
271
271
  background: var(--pi-border-hover);
272
272
  }
273
- .pi-option[data-v-a8e96716] {
273
+ .pi-option[data-v-95467f81] {
274
274
  display: flex;
275
275
  align-items: center;
276
276
  gap: 8px;
@@ -278,57 +278,57 @@
278
278
  cursor: pointer;
279
279
  transition: background-color 100ms ease;
280
280
  }
281
- .pi-option[data-v-a8e96716]:hover, .pi-option.is-focused[data-v-a8e96716] {
281
+ .pi-option[data-v-95467f81]:hover, .pi-option.is-focused[data-v-95467f81] {
282
282
  background: var(--pi-disabled-bg);
283
283
  }
284
- .pi-option.is-selected[data-v-a8e96716] {
284
+ .pi-option.is-selected[data-v-95467f81] {
285
285
  background: var(--pi-border);
286
286
  font-weight: 500;
287
287
  }
288
- .pi-opt-name[data-v-a8e96716] {
288
+ .pi-opt-name[data-v-95467f81] {
289
289
  flex: 1;
290
290
  overflow: hidden;
291
291
  text-overflow: ellipsis;
292
292
  white-space: nowrap;
293
293
  }
294
- .pi-opt-code[data-v-a8e96716] {
294
+ .pi-opt-code[data-v-95467f81] {
295
295
  color: var(--pi-muted);
296
296
  font-size: 0.875em;
297
297
  }
298
- .pi-empty[data-v-a8e96716] {
298
+ .pi-empty[data-v-95467f81] {
299
299
  padding: 12px;
300
300
  text-align: center;
301
301
  color: var(--pi-muted);
302
302
  font-size: 0.875em;
303
303
  }
304
- .fade-enter-active[data-v-a8e96716],
305
- .fade-leave-active[data-v-a8e96716] {
304
+ .fade-enter-active[data-v-95467f81],
305
+ .fade-leave-active[data-v-95467f81] {
306
306
  transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1), transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
307
307
  }
308
- .fade-enter-from[data-v-a8e96716],
309
- .fade-leave-to[data-v-a8e96716] {
308
+ .fade-enter-from[data-v-95467f81],
309
+ .fade-leave-to[data-v-95467f81] {
310
310
  opacity: 0;
311
311
  transform: translateY(-50%) translateX(8px);
312
312
  }
313
- .fade-scale-enter-active[data-v-a8e96716],
314
- .fade-scale-leave-active[data-v-a8e96716] {
313
+ .fade-scale-enter-active[data-v-95467f81],
314
+ .fade-scale-leave-active[data-v-95467f81] {
315
315
  transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1), transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
316
316
  }
317
- .fade-scale-enter-from[data-v-a8e96716],
318
- .fade-scale-leave-to[data-v-a8e96716] {
317
+ .fade-scale-enter-from[data-v-95467f81],
318
+ .fade-scale-leave-to[data-v-95467f81] {
319
319
  opacity: 0;
320
320
  transform: scale(0.8);
321
321
  }
322
- .dropdown-enter-active[data-v-a8e96716],
323
- .dropdown-leave-active[data-v-a8e96716] {
322
+ .dropdown-enter-active[data-v-95467f81],
323
+ .dropdown-leave-active[data-v-95467f81] {
324
324
  transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1), transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
325
325
  }
326
- .dropdown-enter-from[data-v-a8e96716],
327
- .dropdown-leave-to[data-v-a8e96716] {
326
+ .dropdown-enter-from[data-v-95467f81],
327
+ .dropdown-leave-to[data-v-95467f81] {
328
328
  opacity: 0;
329
329
  transform: translateY(-8px);
330
330
  }
331
- .sr-only[data-v-a8e96716] {
331
+ .sr-only[data-v-95467f81] {
332
332
  position: absolute;
333
333
  width: 1px;
334
334
  height: 1px;
@@ -340,21 +340,21 @@
340
340
  border: 0;
341
341
  }
342
342
  @media (max-width: 480px) {
343
- .phone-input[data-v-a8e96716] {
343
+ .phone-input[data-v-95467f81] {
344
344
  --pi-padding: 8px;
345
345
  --pi-actions-size: 24px;
346
346
  }
347
- .size-compact[data-v-a8e96716] {
347
+ .size-compact[data-v-95467f81] {
348
348
  --pi-actions-size: 20px;
349
349
  }
350
- .phone-dropdown[data-v-a8e96716] {
350
+ .phone-dropdown[data-v-95467f81] {
351
351
  left: 0;
352
352
  right: 0;
353
353
  max-width: none;
354
354
  }
355
355
  }
356
356
  @media (prefers-reduced-motion: reduce) {
357
- [data-v-a8e96716] {
357
+ [data-v-95467f81] {
358
358
  animation-duration: 0.01ms !important;
359
359
  animation-iteration-count: 1 !important;
360
360
  transition-duration: 0.01ms !important;
@@ -1 +1 @@
1
- {"version":3,"file":"PhoneInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PhoneInput.vue"],"names":[],"mappings":"AAk5BA,OAAO,KAAK,EAAmB,iBAAiB,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAErG,KAAK,WAAW,GAAG,eAAe,CAAC;AAgBnC,KAAK,WAAW,GAAG,eAAe,CAAC;AAwQnC,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAmBF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAucxD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAKd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"PhoneInput.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PhoneInput.vue"],"names":[],"mappings":"AAo6BA,OAAO,KAAK,EAAmB,iBAAiB,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,UAAU,CAAC;AAErG,KAAK,WAAW,GAAG,eAAe,CAAC;AAgBnC,KAAK,WAAW,GAAG,eAAe,CAAC;AA0RnC,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAmBF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAucxD,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6EAKd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@desource/phone-mask-vue",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "🔌 Vue 3 component & directive for international phone number masking. Powered by @desource/phone-mask with Google libphonenumber sync.",
5
5
  "keywords": [
6
6
  "vue",
@@ -53,11 +53,11 @@
53
53
  "README.md"
54
54
  ],
55
55
  "dependencies": {
56
- "@desource/phone-mask": "0.2.2"
56
+ "@desource/phone-mask": "0.2.3"
57
57
  },
58
58
  "devDependencies": {
59
- "@vitejs/plugin-vue": "^6.0.3",
60
- "vue-tsc": "^3.2.3",
59
+ "@vitejs/plugin-vue": "^6.0.4",
60
+ "vue-tsc": "^3.2.4",
61
61
  "vue": "^3.5.27"
62
62
  },
63
63
  "peerDependencies": {