@trii/components 2.0.16 → 2.0.18
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/cjs/index.js +50 -674
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/ContactInfoPopup/ContactInfoPopup.d.ts +3 -4
- package/dist/cjs/types/components/ContactInfoPopup/components/Header/Header.d.ts +4 -8
- package/dist/cjs/types/components/ContactInfoPopup/components/index.d.ts +0 -3
- package/dist/esm/index.js +52 -676
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/ContactInfoPopup/ContactInfoPopup.d.ts +3 -4
- package/dist/esm/types/components/ContactInfoPopup/components/Header/Header.d.ts +4 -8
- package/dist/esm/types/components/ContactInfoPopup/components/index.d.ts +0 -3
- package/dist/index.d.ts +3 -4
- package/package.json +99 -99
- package/readme +71 -71
- package/dist/cjs/types/components/ContactInfoPopup/components/BusinessSection/BusinessSection.d.ts +0 -7
- package/dist/cjs/types/components/ContactInfoPopup/components/BusinessSection/index.d.ts +0 -1
- package/dist/cjs/types/components/ContactInfoPopup/components/LabelsSection/LabelsSection.d.ts +0 -7
- package/dist/cjs/types/components/ContactInfoPopup/components/LabelsSection/index.d.ts +0 -1
- package/dist/cjs/types/components/ContactInfoPopup/components/MemberItem/MemberItem.d.ts +0 -5
- package/dist/cjs/types/components/ContactInfoPopup/components/MemberItem/index.d.ts +0 -1
- package/dist/cjs/types/components/ContactInfoPopup/components/MembersSection/MembersSection.d.ts +0 -7
- package/dist/cjs/types/components/ContactInfoPopup/components/MembersSection/components/MemberItem/MemberItem.d.ts +0 -4
- package/dist/cjs/types/components/ContactInfoPopup/components/MembersSection/components/MemberItem/index.d.ts +0 -1
- package/dist/cjs/types/components/ContactInfoPopup/components/MembersSection/components/index.d.ts +0 -1
- package/dist/cjs/types/components/ContactInfoPopup/components/MembersSection/index.d.ts +0 -1
- package/dist/cjs/types/components/ContactInfoPopup/hooks/useContactInfoPopupTranslation.d.ts +0 -24
- package/dist/cjs/types/components/ContactInfoPopup/types/is-business.typeguard.d.ts +0 -7
- package/dist/cjs/types/components/ContactInfoPopup/types/is-contact.typeguard.d.ts +0 -7
- package/dist/cjs/types/components/LanguageSelector.d.ts +0 -2
- package/dist/cjs/types/contexts/LanguageContext.d.ts +0 -10
- package/dist/cjs/types/i18n.d.ts +0 -2
- package/dist/cjs/types/translations/en.d.ts +0 -31
- package/dist/cjs/types/translations/es.d.ts +0 -31
- package/dist/cjs/types/translations/index.d.ts +0 -2
- package/dist/cjs/types/types/translations.d.ts +0 -25
- package/dist/cjs/types/utils/translation.d.ts +0 -7
- package/dist/esm/types/components/ContactInfoPopup/components/BusinessSection/BusinessSection.d.ts +0 -7
- package/dist/esm/types/components/ContactInfoPopup/components/BusinessSection/index.d.ts +0 -1
- package/dist/esm/types/components/ContactInfoPopup/components/LabelsSection/LabelsSection.d.ts +0 -7
- package/dist/esm/types/components/ContactInfoPopup/components/LabelsSection/index.d.ts +0 -1
- package/dist/esm/types/components/ContactInfoPopup/components/MemberItem/MemberItem.d.ts +0 -5
- package/dist/esm/types/components/ContactInfoPopup/components/MemberItem/index.d.ts +0 -1
- package/dist/esm/types/components/ContactInfoPopup/components/MembersSection/MembersSection.d.ts +0 -7
- package/dist/esm/types/components/ContactInfoPopup/components/MembersSection/components/MemberItem/MemberItem.d.ts +0 -4
- package/dist/esm/types/components/ContactInfoPopup/components/MembersSection/components/MemberItem/index.d.ts +0 -1
- package/dist/esm/types/components/ContactInfoPopup/components/MembersSection/components/index.d.ts +0 -1
- package/dist/esm/types/components/ContactInfoPopup/components/MembersSection/index.d.ts +0 -1
- package/dist/esm/types/components/ContactInfoPopup/hooks/useContactInfoPopupTranslation.d.ts +0 -24
- package/dist/esm/types/components/ContactInfoPopup/types/is-business.typeguard.d.ts +0 -7
- package/dist/esm/types/components/ContactInfoPopup/types/is-contact.typeguard.d.ts +0 -7
- package/dist/esm/types/components/LanguageSelector.d.ts +0 -2
- package/dist/esm/types/contexts/LanguageContext.d.ts +0 -10
- package/dist/esm/types/i18n.d.ts +0 -2
- package/dist/esm/types/translations/en.d.ts +0 -31
- package/dist/esm/types/translations/es.d.ts +0 -31
- package/dist/esm/types/translations/index.d.ts +0 -2
- package/dist/esm/types/types/translations.d.ts +0 -25
- package/dist/esm/types/utils/translation.d.ts +0 -7
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './MemberItem';
|
package/dist/esm/types/components/ContactInfoPopup/components/MembersSection/MembersSection.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IBusiness } from '@trii/types/dist/Contacts';
|
|
2
|
-
interface MembersSectionProps {
|
|
3
|
-
contactData?: IBusiness;
|
|
4
|
-
title: string;
|
|
5
|
-
}
|
|
6
|
-
declare const MembersSection: ({ contactData, title }: MembersSectionProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
7
|
-
export default MembersSection;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './MemberItem';
|
package/dist/esm/types/components/ContactInfoPopup/components/MembersSection/components/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as MemberItem } from './MemberItem';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default } from './MembersSection';
|
package/dist/esm/types/components/ContactInfoPopup/hooks/useContactInfoPopupTranslation.d.ts
DELETED
|
@@ -1,24 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IBusiness } from '@trii/types/dist/Contacts/contacts';
|
|
2
|
-
/**
|
|
3
|
-
* Type guard to check if an object is an IBusiness
|
|
4
|
-
* @param obj The object to check
|
|
5
|
-
* @returns True if the object is an IBusiness
|
|
6
|
-
*/
|
|
7
|
-
export declare function isBusiness(obj: any): obj is IBusiness;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { IContact } from '@trii/types/dist/Contacts/contacts';
|
|
2
|
-
/**
|
|
3
|
-
* Type guard to check if an object is an IContact
|
|
4
|
-
* @param obj The object to check
|
|
5
|
-
* @returns True if the object is an IContact
|
|
6
|
-
*/
|
|
7
|
-
export declare function isContact(obj: any): obj is IContact;
|
|
@@ -1,10 +0,0 @@
|
|
|
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 {};
|
package/dist/esm/types/i18n.d.ts
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
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
|
-
}
|