@ttn-shared/ui 1.0.2 → 1.0.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/dist/index.cjs CHANGED
@@ -2257,7 +2257,7 @@ var createPatientPayload = (values) => {
2257
2257
  secondSurname: values.secondSurname ?? "",
2258
2258
  birthDate: values.birthDate,
2259
2259
  age: values.age,
2260
- whatsapp: values.whatsapp,
2260
+ whatsapp: String(values.whatsapp),
2261
2261
  gender: values.gender,
2262
2262
  affiliationType: Number(values.affiliationTypeId),
2263
2263
  email: values.email,
@@ -2267,7 +2267,7 @@ var createPatientPayload = (values) => {
2267
2267
  homeAddress: values.homeAddress,
2268
2268
  bloodType: values.bloodType,
2269
2269
  cellphone: String(values.cellphone),
2270
- homephone: values.homephone,
2270
+ homephone: String(values.homephone),
2271
2271
  emergencyContact: values.emergencyContact,
2272
2272
  neighborhood: values.neighborhood,
2273
2273
  ocupation: values.occupation,
package/dist/index.d.cts CHANGED
@@ -16,7 +16,7 @@ interface PatientFormValues {
16
16
  secondSurname: string;
17
17
  birthDate: string;
18
18
  age: string;
19
- whatsapp: string;
19
+ whatsapp: number | string;
20
20
  gender: string;
21
21
  affiliationTypeId: string;
22
22
  email: string;
@@ -27,7 +27,7 @@ interface PatientFormValues {
27
27
  bloodType: string;
28
28
  neighborhood: string;
29
29
  cellphone: number | string;
30
- homephone: string;
30
+ homephone: number | string;
31
31
  emergencyContact: string;
32
32
  occupation: string;
33
33
  use_glasses: string;
package/dist/index.d.ts CHANGED
@@ -16,7 +16,7 @@ interface PatientFormValues {
16
16
  secondSurname: string;
17
17
  birthDate: string;
18
18
  age: string;
19
- whatsapp: string;
19
+ whatsapp: number | string;
20
20
  gender: string;
21
21
  affiliationTypeId: string;
22
22
  email: string;
@@ -27,7 +27,7 @@ interface PatientFormValues {
27
27
  bloodType: string;
28
28
  neighborhood: string;
29
29
  cellphone: number | string;
30
- homephone: string;
30
+ homephone: number | string;
31
31
  emergencyContact: string;
32
32
  occupation: string;
33
33
  use_glasses: string;
package/dist/index.js CHANGED
@@ -2279,7 +2279,7 @@ var createPatientPayload = (values) => {
2279
2279
  secondSurname: values.secondSurname ?? "",
2280
2280
  birthDate: values.birthDate,
2281
2281
  age: values.age,
2282
- whatsapp: values.whatsapp,
2282
+ whatsapp: String(values.whatsapp),
2283
2283
  gender: values.gender,
2284
2284
  affiliationType: Number(values.affiliationTypeId),
2285
2285
  email: values.email,
@@ -2289,7 +2289,7 @@ var createPatientPayload = (values) => {
2289
2289
  homeAddress: values.homeAddress,
2290
2290
  bloodType: values.bloodType,
2291
2291
  cellphone: String(values.cellphone),
2292
- homephone: values.homephone,
2292
+ homephone: String(values.homephone),
2293
2293
  emergencyContact: values.emergencyContact,
2294
2294
  neighborhood: values.neighborhood,
2295
2295
  ocupation: values.occupation,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttn-shared/ui",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "files": [
@@ -13,7 +13,7 @@
13
13
  "react",
14
14
  "shared"
15
15
  ],
16
- "description": "Componentes UI compartidos para apps de Tecnologia Transformando Negocios",
16
+ "description": "A shared UI component library for TTN projects.",
17
17
  "main": "./dist/index.cjs",
18
18
  "module": "./dist/index.js",
19
19
  "types": "./dist/index.d.ts",