@rubenpazch/phone-input 0.0.0-stage → 1.2.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 +59 -2
- package/dist/PhoneInput.d.ts +84 -0
- package/dist/PhoneInput.d.ts.map +1 -0
- package/dist/index.cjs.js +658 -0
- package/dist/index.d.ts +86 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.esm.js +648 -0
- package/package.json +57 -3
package/package.json
CHANGED
|
@@ -1,6 +1,60 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rubenpazch/phone-input",
|
|
3
|
-
"version": "
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"version": "1.2.0",
|
|
4
|
+
"description": "PhoneInput component",
|
|
5
|
+
"private": false,
|
|
6
|
+
"main": "dist/index.cjs.js",
|
|
7
|
+
"module": "dist/index.esm.js",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "https://github.com/rubenpazch/lbyte-ui-library.git",
|
|
12
|
+
"directory": "packages/phone-input"
|
|
13
|
+
},
|
|
14
|
+
"author": "Ruben Paz Chuspe <rubenpazchuspe@outlook.com>",
|
|
15
|
+
"license": "MIT",
|
|
16
|
+
"files": [
|
|
17
|
+
"dist"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": [
|
|
20
|
+
"**/*.css"
|
|
21
|
+
],
|
|
22
|
+
"exports": {
|
|
23
|
+
".": {
|
|
24
|
+
"import": "./dist/index.esm.js",
|
|
25
|
+
"require": "./dist/index.cjs.js",
|
|
26
|
+
"types": "./dist/index.d.ts"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"peerDependencies": {
|
|
30
|
+
"react": "^19.2.3",
|
|
31
|
+
"react-dom": "^19.2.3",
|
|
32
|
+
"@rubenpazch/tokens": "0.5.0"
|
|
33
|
+
},
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@rubenpazch/icons": "^6.6.1",
|
|
36
|
+
"@rubenpazch/select": "^1.4.0",
|
|
37
|
+
"@rubenpazch/shared": "5.4.0",
|
|
38
|
+
"@rubenpazch/text-input": "^6.7.0"
|
|
39
|
+
},
|
|
40
|
+
"devDependencies": {
|
|
41
|
+
"@rubenpazch/eslint-config": "4.0.0",
|
|
42
|
+
"@rubenpazch/typescript-config": "3.0.0"
|
|
43
|
+
},
|
|
44
|
+
"publishConfig": {
|
|
45
|
+
"access": "public"
|
|
46
|
+
},
|
|
47
|
+
"lbyte": {
|
|
48
|
+
"categoria": "formularios",
|
|
49
|
+
"resumen": "Teléfono con país: selector de prefijo (+51 por defecto) y número que se formatea al escribir con la máscara del país; valida los dígitos y muestra el número internacional.",
|
|
50
|
+
"usarCuando": "Teléfonos de contacto de personas (pacientes, clientes, emergencias). Valida en el envío con isValidPhone.",
|
|
51
|
+
"evitarCuando": "Números que no son teléfonos (DNI, RUC, códigos): usa TextInput o IdentificationInput."
|
|
52
|
+
},
|
|
53
|
+
"scripts": {
|
|
54
|
+
"build": "rollup -c",
|
|
55
|
+
"test": "jest --passWithNoTests",
|
|
56
|
+
"test:watch": "jest --watch",
|
|
57
|
+
"lint": "eslint src",
|
|
58
|
+
"clean": "rm -rf dist"
|
|
59
|
+
}
|
|
6
60
|
}
|