@trii/components 2.0.11 → 2.0.13

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,24 @@
1
+ export declare const useContactInfoPopupTranslation: () => {
2
+ businessSection: {
3
+ title: string;
4
+ description: string;
5
+ };
6
+ contactMethod: {
7
+ email: string;
8
+ phone: string;
9
+ website: string;
10
+ };
11
+ labelsSection: {
12
+ title: string;
13
+ };
14
+ membersSection: {
15
+ title: string;
16
+ noMembers: string;
17
+ };
18
+ global: {
19
+ properties: string;
20
+ business: string;
21
+ businessMembers: string;
22
+ labels: string;
23
+ };
24
+ };
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const LanguageSelector: React.FC;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ interface LanguageContextType {
3
+ language: string;
4
+ setLanguage: (lang: string) => void;
5
+ }
6
+ export declare const LanguageProvider: React.FC<{
7
+ children: React.ReactNode;
8
+ }>;
9
+ export declare const useLanguage: () => LanguageContextType;
10
+ export {};
@@ -0,0 +1,2 @@
1
+ import i18n from 'i18next';
2
+ export default i18n;
@@ -0,0 +1,31 @@
1
+ export declare const enTranslations: {
2
+ components: {
3
+ contactInfoPopup: {
4
+ businessSection: {
5
+ title: string;
6
+ description: string;
7
+ };
8
+ contactMethod: {
9
+ email: string;
10
+ phone: string;
11
+ website: string;
12
+ };
13
+ labelsSection: {
14
+ title: string;
15
+ };
16
+ membersSection: {
17
+ title: string;
18
+ noMembers: string;
19
+ };
20
+ global: {
21
+ properties: string;
22
+ business: string;
23
+ businessMembers: string;
24
+ labels: string;
25
+ };
26
+ };
27
+ textBox: {
28
+ placeholder: string;
29
+ };
30
+ };
31
+ };
@@ -0,0 +1,31 @@
1
+ export declare const esTranslations: {
2
+ components: {
3
+ contactInfoPopup: {
4
+ businessSection: {
5
+ title: string;
6
+ description: string;
7
+ };
8
+ contactMethod: {
9
+ email: string;
10
+ phone: string;
11
+ website: string;
12
+ };
13
+ labelsSection: {
14
+ title: string;
15
+ };
16
+ membersSection: {
17
+ title: string;
18
+ noMembers: string;
19
+ };
20
+ global: {
21
+ properties: string;
22
+ business: string;
23
+ businessMembers: string;
24
+ labels: string;
25
+ };
26
+ };
27
+ textBox: {
28
+ placeholder: string;
29
+ };
30
+ };
31
+ };
@@ -0,0 +1,2 @@
1
+ export { enTranslations } from './en';
2
+ export { esTranslations } from './es';
@@ -0,0 +1,25 @@
1
+ export interface TriiTranslations {
2
+ components: {
3
+ contactInfoPopup: {
4
+ businessSection: {
5
+ title: string;
6
+ description: string;
7
+ };
8
+ contactMethod: {
9
+ email: string;
10
+ phone: string;
11
+ website: string;
12
+ };
13
+ labelsSection: {
14
+ title: string;
15
+ };
16
+ membersSection: {
17
+ title: string;
18
+ noMembers: string;
19
+ };
20
+ };
21
+ textBox: {
22
+ placeholder: string;
23
+ };
24
+ };
25
+ }
@@ -0,0 +1,7 @@
1
+ export interface TranslationKeys {
2
+ [key: string]: string;
3
+ }
4
+ export declare const useTriiTranslation: (namespace?: string) => {
5
+ t: (key: string, options?: Record<string, any>) => string;
6
+ i18n: import("i18next").i18n;
7
+ };
@@ -0,0 +1,24 @@
1
+ export declare const useContactInfoPopupTranslation: () => {
2
+ businessSection: {
3
+ title: string;
4
+ description: string;
5
+ };
6
+ contactMethod: {
7
+ email: string;
8
+ phone: string;
9
+ website: string;
10
+ };
11
+ labelsSection: {
12
+ title: string;
13
+ };
14
+ membersSection: {
15
+ title: string;
16
+ noMembers: string;
17
+ };
18
+ global: {
19
+ properties: string;
20
+ business: string;
21
+ businessMembers: string;
22
+ labels: string;
23
+ };
24
+ };
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const LanguageSelector: React.FC;
@@ -0,0 +1,10 @@
1
+ import React from 'react';
2
+ interface LanguageContextType {
3
+ language: string;
4
+ setLanguage: (lang: string) => void;
5
+ }
6
+ export declare const LanguageProvider: React.FC<{
7
+ children: React.ReactNode;
8
+ }>;
9
+ export declare const useLanguage: () => LanguageContextType;
10
+ export {};
@@ -0,0 +1,2 @@
1
+ import i18n from 'i18next';
2
+ export default i18n;
@@ -0,0 +1,31 @@
1
+ export declare const enTranslations: {
2
+ components: {
3
+ contactInfoPopup: {
4
+ businessSection: {
5
+ title: string;
6
+ description: string;
7
+ };
8
+ contactMethod: {
9
+ email: string;
10
+ phone: string;
11
+ website: string;
12
+ };
13
+ labelsSection: {
14
+ title: string;
15
+ };
16
+ membersSection: {
17
+ title: string;
18
+ noMembers: string;
19
+ };
20
+ global: {
21
+ properties: string;
22
+ business: string;
23
+ businessMembers: string;
24
+ labels: string;
25
+ };
26
+ };
27
+ textBox: {
28
+ placeholder: string;
29
+ };
30
+ };
31
+ };
@@ -0,0 +1,31 @@
1
+ export declare const esTranslations: {
2
+ components: {
3
+ contactInfoPopup: {
4
+ businessSection: {
5
+ title: string;
6
+ description: string;
7
+ };
8
+ contactMethod: {
9
+ email: string;
10
+ phone: string;
11
+ website: string;
12
+ };
13
+ labelsSection: {
14
+ title: string;
15
+ };
16
+ membersSection: {
17
+ title: string;
18
+ noMembers: string;
19
+ };
20
+ global: {
21
+ properties: string;
22
+ business: string;
23
+ businessMembers: string;
24
+ labels: string;
25
+ };
26
+ };
27
+ textBox: {
28
+ placeholder: string;
29
+ };
30
+ };
31
+ };
@@ -0,0 +1,2 @@
1
+ export { enTranslations } from './en';
2
+ export { esTranslations } from './es';
@@ -0,0 +1,25 @@
1
+ export interface TriiTranslations {
2
+ components: {
3
+ contactInfoPopup: {
4
+ businessSection: {
5
+ title: string;
6
+ description: string;
7
+ };
8
+ contactMethod: {
9
+ email: string;
10
+ phone: string;
11
+ website: string;
12
+ };
13
+ labelsSection: {
14
+ title: string;
15
+ };
16
+ membersSection: {
17
+ title: string;
18
+ noMembers: string;
19
+ };
20
+ };
21
+ textBox: {
22
+ placeholder: string;
23
+ };
24
+ };
25
+ }
@@ -0,0 +1,7 @@
1
+ export interface TranslationKeys {
2
+ [key: string]: string;
3
+ }
4
+ export declare const useTriiTranslation: (namespace?: string) => {
5
+ t: (key: string, options?: Record<string, any>) => string;
6
+ i18n: import("i18next").i18n;
7
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/components",
3
- "version": "2.0.11",
3
+ "version": "2.0.13",
4
4
  "description": "Trii components package",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",