@desource/phone-mask-nuxt 1.3.1 → 1.4.0
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 +26 -0
- package/README.md +1 -1
- package/dist/module.json +1 -1
- package/package.json +6 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# @desource/phone-mask-nuxt
|
|
2
2
|
|
|
3
|
+
## 1.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- Core Upgrades:
|
|
8
|
+
- Added `@desource/phone-mask/kit` subpath for formatter, handlers, services, utilities, and shared country selector helpers
|
|
9
|
+
- Root `@desource/phone-mask` now focuses on country mask entries/data. Helper, formatter, handler, service, and utility imports should use `@desource/phone-mask/kit`
|
|
10
|
+
- Added shared country selector DOM, positioning, keyboard, and focus helpers used by framework packages
|
|
11
|
+
|
|
12
|
+
- Vue/React/Svelte Upgrades:
|
|
13
|
+
- Rebuilt the country selector dropdown with stable body-rendered fixed positioning using Portal/Teleport patterns
|
|
14
|
+
- Improved dropdown UX across desktop and mobile: viewport-aware above/below placement, body-level rendering, outside-click close, Escape close, focus restore, search keyboard navigation, and empty-results keyboard safety
|
|
15
|
+
- Improved dropdown accessibility semantics by exposing the selector popup as a searchable dialog with listbox options
|
|
16
|
+
- Aligned country selector behavior and tests across React, Vue, and Svelte through shared common/core helpers
|
|
17
|
+
|
|
18
|
+
- React Upgrades:
|
|
19
|
+
- Simplified internal memoization and callback usage where it reduced bundle/runtime overhead without changing behavior
|
|
20
|
+
|
|
21
|
+
- Svelte Upgrades:
|
|
22
|
+
- Cleaned up event listener and attachment typings for newer Svelte/TypeScript tooling
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- Updated dependencies []:
|
|
27
|
+
- @desource/phone-mask-vue@1.4.0
|
|
28
|
+
|
|
3
29
|
## 1.3.1
|
|
4
30
|
|
|
5
31
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -450,7 +450,7 @@ By default (without extra options), Nuxt auto-imports:
|
|
|
450
450
|
Enable `phoneMask.helpers: true` to auto-import:
|
|
451
451
|
|
|
452
452
|
- `vPhoneMaskSetCountry` — Programmatically set country for directive
|
|
453
|
-
- `PMaskHelpers` —
|
|
453
|
+
- `PMaskHelpers` — Core kit utilities and mask data from `@desource/phone-mask-vue/core`
|
|
454
454
|
|
|
455
455
|
Enable `phoneMask.composable: true` to auto-import:
|
|
456
456
|
|
package/dist/module.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@desource/phone-mask-nuxt",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "🎯 Zero-config Nuxt module for international phone masking. Powered by @desource/phone-mask with Google libphonenumber sync.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -54,15 +54,14 @@
|
|
|
54
54
|
"vue": "^3.4.33"
|
|
55
55
|
},
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@desource/phone-mask-vue": "1.
|
|
57
|
+
"@desource/phone-mask-vue": "1.4.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@nuxt/kit": "^4.4.
|
|
60
|
+
"@nuxt/kit": "^4.4.4",
|
|
61
61
|
"@nuxt/module-builder": "^1.0.2",
|
|
62
|
-
"@nuxt/test-utils": "^4.0.
|
|
63
|
-
"nuxt": "^4.4.
|
|
64
|
-
"
|
|
65
|
-
"vue": "^3.5.33"
|
|
62
|
+
"@nuxt/test-utils": "^4.0.3",
|
|
63
|
+
"nuxt": "^4.4.4",
|
|
64
|
+
"vue": "^3.5.34"
|
|
66
65
|
},
|
|
67
66
|
"scripts": {
|
|
68
67
|
"dev:prepare": "nuxt prepare",
|