@voyantjs/identity-ui 0.16.0 → 0.18.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.
@@ -0,0 +1,113 @@
1
+ export declare const identityUiRo: {
2
+ common: {
3
+ cancel: string;
4
+ saveChanges: string;
5
+ primary: string;
6
+ addressLabelLabels: {
7
+ primary: string;
8
+ billing: string;
9
+ shipping: string;
10
+ mailing: string;
11
+ meeting: string;
12
+ service: string;
13
+ legal: string;
14
+ other: string;
15
+ };
16
+ contactPointKindLabels: {
17
+ email: string;
18
+ phone: string;
19
+ mobile: string;
20
+ whatsapp: string;
21
+ website: string;
22
+ sms: string;
23
+ fax: string;
24
+ social: string;
25
+ other: string;
26
+ };
27
+ namedContactRoleLabels: {
28
+ general: string;
29
+ primary: string;
30
+ reservations: string;
31
+ operations: string;
32
+ front_desk: string;
33
+ sales: string;
34
+ emergency: string;
35
+ accounting: string;
36
+ legal: string;
37
+ other: string;
38
+ };
39
+ };
40
+ addressDialog: {
41
+ titles: {
42
+ create: string;
43
+ edit: string;
44
+ };
45
+ fields: {
46
+ label: string;
47
+ line1: string;
48
+ line2: string;
49
+ city: string;
50
+ region: string;
51
+ postalCode: string;
52
+ country: string;
53
+ timezone: string;
54
+ latitude: string;
55
+ longitude: string;
56
+ notes: string;
57
+ };
58
+ placeholders: {
59
+ timezone: string;
60
+ };
61
+ actions: {
62
+ create: string;
63
+ };
64
+ };
65
+ contactPointDialog: {
66
+ titles: {
67
+ create: string;
68
+ edit: string;
69
+ };
70
+ fields: {
71
+ kind: string;
72
+ label: string;
73
+ value: string;
74
+ notes: string;
75
+ };
76
+ placeholders: {
77
+ label: string;
78
+ value: string;
79
+ };
80
+ actions: {
81
+ create: string;
82
+ };
83
+ validation: {
84
+ valueRequired: string;
85
+ };
86
+ };
87
+ namedContactDialog: {
88
+ titles: {
89
+ create: string;
90
+ edit: string;
91
+ };
92
+ fields: {
93
+ role: string;
94
+ name: string;
95
+ title: string;
96
+ email: string;
97
+ phone: string;
98
+ notes: string;
99
+ };
100
+ placeholders: {
101
+ name: string;
102
+ title: string;
103
+ email: string;
104
+ };
105
+ actions: {
106
+ create: string;
107
+ };
108
+ validation: {
109
+ nameRequired: string;
110
+ };
111
+ };
112
+ };
113
+ //# sourceMappingURL=ro.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ro.d.ts","sourceRoot":"","sources":["../../src/i18n/ro.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA+GK,CAAA"}
@@ -0,0 +1,112 @@
1
+ export const identityUiRo = {
2
+ common: {
3
+ cancel: "Anuleaza",
4
+ saveChanges: "Salveaza Modificarile",
5
+ primary: "Principal",
6
+ addressLabelLabels: {
7
+ primary: "Principal",
8
+ billing: "Facturare",
9
+ shipping: "Livrare",
10
+ mailing: "Corespondenta",
11
+ meeting: "Intalnire",
12
+ service: "Serviciu",
13
+ legal: "Juridic",
14
+ other: "Altul",
15
+ },
16
+ contactPointKindLabels: {
17
+ email: "Email",
18
+ phone: "Telefon",
19
+ mobile: "Mobil",
20
+ whatsapp: "WhatsApp",
21
+ website: "Website",
22
+ sms: "SMS",
23
+ fax: "Fax",
24
+ social: "Social",
25
+ other: "Altul",
26
+ },
27
+ namedContactRoleLabels: {
28
+ general: "General",
29
+ primary: "Principal",
30
+ reservations: "Rezervari",
31
+ operations: "Operatiuni",
32
+ front_desk: "Receptie",
33
+ sales: "Vanzari",
34
+ emergency: "Urgenta",
35
+ accounting: "Contabilitate",
36
+ legal: "Juridic",
37
+ other: "Altul",
38
+ },
39
+ },
40
+ addressDialog: {
41
+ titles: {
42
+ create: "Adauga Adresa",
43
+ edit: "Editeaza Adresa",
44
+ },
45
+ fields: {
46
+ label: "Eticheta",
47
+ line1: "Linia 1",
48
+ line2: "Linia 2",
49
+ city: "Oras",
50
+ region: "Regiune",
51
+ postalCode: "Cod postal",
52
+ country: "Tara",
53
+ timezone: "Fus orar",
54
+ latitude: "Latitudine",
55
+ longitude: "Longitudine",
56
+ notes: "Note",
57
+ },
58
+ placeholders: {
59
+ timezone: "Europe/Istanbul",
60
+ },
61
+ actions: {
62
+ create: "Adauga Adresa",
63
+ },
64
+ },
65
+ contactPointDialog: {
66
+ titles: {
67
+ create: "Adauga Punct de Contact",
68
+ edit: "Editeaza Punctul de Contact",
69
+ },
70
+ fields: {
71
+ kind: "Tip",
72
+ label: "Eticheta",
73
+ value: "Valoare",
74
+ notes: "Note",
75
+ },
76
+ placeholders: {
77
+ label: "serviciu, personal...",
78
+ value: "nume@example.com",
79
+ },
80
+ actions: {
81
+ create: "Adauga Punct de Contact",
82
+ },
83
+ validation: {
84
+ valueRequired: "Valoarea este obligatorie",
85
+ },
86
+ },
87
+ namedContactDialog: {
88
+ titles: {
89
+ create: "Adauga Contact Nominal",
90
+ edit: "Editeaza Contactul Nominal",
91
+ },
92
+ fields: {
93
+ role: "Rol",
94
+ name: "Nume",
95
+ title: "Titlu",
96
+ email: "Email",
97
+ phone: "Telefon",
98
+ notes: "Note",
99
+ },
100
+ placeholders: {
101
+ name: "Jane Doe",
102
+ title: "Director de Vanzari",
103
+ email: "jane@example.com",
104
+ },
105
+ actions: {
106
+ create: "Adauga Contact Nominal",
107
+ },
108
+ validation: {
109
+ nameRequired: "Numele este obligatoriu",
110
+ },
111
+ },
112
+ };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  export { AddressDialog, type AddressDialogProps } from "./components/address-dialog";
2
2
  export { ContactPointDialog, type ContactPointDialogProps } from "./components/contact-point-dialog";
3
3
  export { NamedContactDialog, type NamedContactDialogProps } from "./components/named-contact-dialog";
4
+ export { getIdentityUiI18n, type IdentityUiMessageOverrides, type IdentityUiMessages, IdentityUiMessagesProvider, identityUiEn, identityUiMessageDefinitions, identityUiRo, resolveIdentityUiMessages, useIdentityUiI18n, useIdentityUiI18nOrDefault, useIdentityUiMessages, useIdentityUiMessagesOrDefault, } from "./i18n";
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AACpF,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAA;AACpG,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AACpF,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAA;AACpG,OAAO,EAAE,kBAAkB,EAAE,KAAK,uBAAuB,EAAE,MAAM,mCAAmC,CAAA;AACpG,OAAO,EACL,iBAAiB,EACjB,KAAK,0BAA0B,EAC/B,KAAK,kBAAkB,EACvB,0BAA0B,EAC1B,YAAY,EACZ,4BAA4B,EAC5B,YAAY,EACZ,yBAAyB,EACzB,iBAAiB,EACjB,0BAA0B,EAC1B,qBAAqB,EACrB,8BAA8B,GAC/B,MAAM,QAAQ,CAAA"}
package/dist/index.js CHANGED
@@ -1,3 +1,4 @@
1
1
  export { AddressDialog } from "./components/address-dialog";
2
2
  export { ContactPointDialog } from "./components/contact-point-dialog";
3
3
  export { NamedContactDialog } from "./components/named-contact-dialog";
4
+ export { getIdentityUiI18n, IdentityUiMessagesProvider, identityUiEn, identityUiMessageDefinitions, identityUiRo, resolveIdentityUiMessages, useIdentityUiI18n, useIdentityUiI18nOrDefault, useIdentityUiMessages, useIdentityUiMessagesOrDefault, } from "./i18n";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@voyantjs/identity-ui",
3
- "version": "0.16.0",
4
- "license": "FSL-1.1-Apache-2.0",
3
+ "version": "0.18.0",
4
+ "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/voyantjs/voyant.git",
@@ -12,11 +12,28 @@
12
12
  "exports": {
13
13
  ".": {
14
14
  "types": "./dist/index.d.ts",
15
- "import": "./dist/index.js"
15
+ "import": "./dist/index.js",
16
+ "default": "./dist/index.js"
17
+ },
18
+ "./i18n": {
19
+ "types": "./dist/i18n/index.d.ts",
20
+ "import": "./dist/i18n/index.js",
21
+ "default": "./dist/i18n/index.js"
22
+ },
23
+ "./i18n/en": {
24
+ "types": "./dist/i18n/en.d.ts",
25
+ "import": "./dist/i18n/en.js",
26
+ "default": "./dist/i18n/en.js"
27
+ },
28
+ "./i18n/ro": {
29
+ "types": "./dist/i18n/ro.d.ts",
30
+ "import": "./dist/i18n/ro.js",
31
+ "default": "./dist/i18n/ro.js"
16
32
  },
17
33
  "./components/*": {
18
34
  "types": "./dist/components/*.d.ts",
19
- "import": "./dist/components/*.js"
35
+ "import": "./dist/components/*.js",
36
+ "default": "./dist/components/*.js"
20
37
  }
21
38
  },
22
39
  "peerDependencies": {
@@ -25,9 +42,12 @@
25
42
  "react": "^19.0.0",
26
43
  "react-dom": "^19.0.0",
27
44
  "react-hook-form": "^7.60.0",
28
- "zod": "^3.25.76",
29
- "@voyantjs/identity-react": "0.16.0",
30
- "@voyantjs/ui": "0.16.0"
45
+ "zod": "^4.3.6",
46
+ "@voyantjs/identity-react": "0.18.0",
47
+ "@voyantjs/ui": "0.18.0"
48
+ },
49
+ "dependencies": {
50
+ "@voyantjs/i18n": "0.18.0"
31
51
  },
32
52
  "devDependencies": {
33
53
  "@tanstack/react-query": "^5.96.2",
@@ -40,10 +60,11 @@
40
60
  "react-hook-form": "^7.60.0",
41
61
  "typescript": "^6.0.2",
42
62
  "vitest": "^4.1.2",
43
- "zod": "^3.25.76",
44
- "@voyantjs/identity-react": "0.16.0",
63
+ "zod": "^4.3.6",
64
+ "@voyantjs/i18n": "0.18.0",
65
+ "@voyantjs/identity-react": "0.18.0",
45
66
  "@voyantjs/voyant-typescript-config": "0.1.0",
46
- "@voyantjs/ui": "0.16.0"
67
+ "@voyantjs/ui": "0.18.0"
47
68
  },
48
69
  "files": [
49
70
  "dist"