@input-kit/phone 0.4.2 → 0.6.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/README.md +20 -1
- package/dist/index.cjs +2099 -75
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +25 -1
- package/dist/index.d.ts +25 -1
- package/dist/index.js +2100 -75
- package/dist/index.js.map +1 -1
- package/package.json +6 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@input-kit/phone",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"packageManager": "bun@1.3.3",
|
|
5
5
|
"description": "Headless phone input with full world country codes, libphonenumber formatting, and TypeScript",
|
|
6
6
|
"type": "module",
|
|
@@ -41,7 +41,8 @@
|
|
|
41
41
|
"test:watch": "vitest",
|
|
42
42
|
"typecheck": "tsc --noEmit",
|
|
43
43
|
"lint": "eslint src",
|
|
44
|
-
"prepublishOnly": "bun run test && bun run typecheck && bun run build"
|
|
44
|
+
"prepublishOnly": "bun run test && bun run typecheck && bun run build",
|
|
45
|
+
"generate:countries": "node scripts/generate-country-data.mjs"
|
|
45
46
|
},
|
|
46
47
|
"keywords": [
|
|
47
48
|
"react",
|
|
@@ -81,10 +82,10 @@
|
|
|
81
82
|
"tsup": "^8.3.5",
|
|
82
83
|
"typescript": "^5.7.3",
|
|
83
84
|
"typescript-eslint": "^8.22.0",
|
|
84
|
-
"vitest": "^4.1.11"
|
|
85
|
+
"vitest": "^4.1.11",
|
|
86
|
+
"world-countries": "^5.1.0"
|
|
85
87
|
},
|
|
86
88
|
"dependencies": {
|
|
87
|
-
"libphonenumber-js": "^1.12.41"
|
|
88
|
-
"world-countries": "^5.1.0"
|
|
89
|
+
"libphonenumber-js": "^1.12.41"
|
|
89
90
|
}
|
|
90
91
|
}
|