@jctrejosi/components-seed 1.0.10 → 1.0.11
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/bundle/components/ContactForm/Andromeda/ContactFormAndromeda.stories.d.ts +5 -0
- package/bundle/components/ContactForm/Andromeda/defaults.d.ts +2 -0
- package/bundle/components/ContactForm/Andromeda/index.d.ts +2 -0
- package/bundle/components/ContactForm/Andromeda/translations.d.ts +38 -0
- package/bundle/components/ContactForm/Andromeda/types.d.ts +5 -0
- package/bundle/components/ContactForm/Antlia/ContactFormAntlia.stories.d.ts +5 -0
- package/bundle/components/ContactForm/Antlia/example.d.ts +28 -0
- package/bundle/components/ContactForm/Antlia/index.d.ts +2 -0
- package/bundle/components/ContactForm/Antlia/translations.d.ts +6 -0
- package/bundle/components/ContactForm/Antlia/types.d.ts +17 -0
- package/bundle/components/FileDownloader/Andromeda/FileDownloaderAndromeda.stories.d.ts +5 -0
- package/bundle/components/FileDownloader/Andromeda/examples.d.ts +2 -0
- package/bundle/components/FileDownloader/Andromeda/index.d.ts +2 -0
- package/bundle/components/FileDownloader/Andromeda/types.d.ts +21 -0
- package/bundle/components/HeroSection/Andromeda/HeroSectionAndromeda.stories.d.ts +5 -0
- package/bundle/components/HeroSection/Andromeda/defaults.d.ts +2 -0
- package/bundle/components/HeroSection/Andromeda/index.d.ts +2 -0
- package/bundle/components/HeroSection/Andromeda/translations.d.ts +39 -0
- package/bundle/components/HeroSection/Andromeda/types.d.ts +7 -0
- package/bundle/components/HeroSection/Antlia/HeroSectionAntlia.stories.d.ts +5 -0
- package/bundle/components/HeroSection/Antlia/index.d.ts +2 -0
- package/bundle/components/HeroSection/Antlia/translations.d.ts +14 -0
- package/bundle/components/HeroSection/Antlia/types.d.ts +16 -0
- package/bundle/components/IntroductionSection/Andromeda/IntroductionSectionAndromeda.stories.d.ts +5 -0
- package/bundle/components/IntroductionSection/Andromeda/defaults.d.ts +2 -0
- package/bundle/components/IntroductionSection/Andromeda/index.d.ts +2 -0
- package/bundle/components/IntroductionSection/Andromeda/translations.d.ts +28 -0
- package/bundle/components/IntroductionSection/Andromeda/types.d.ts +13 -0
- package/bundle/components/Projects/Andromeda/ProjectsAndromeda.stories.d.ts +5 -0
- package/bundle/components/Projects/Andromeda/examples.d.ts +7 -0
- package/bundle/components/Projects/Andromeda/index.d.ts +2 -0
- package/bundle/components/Projects/Andromeda/translations.d.ts +14 -0
- package/bundle/components/Projects/Andromeda/types.d.ts +11 -0
- package/bundle/components/Skills/Andromeda/SkillsAndromeda.stories.d.ts +5 -0
- package/bundle/components/Skills/Andromeda/examples.d.ts +8 -0
- package/bundle/components/Skills/Andromeda/index.d.ts +2 -0
- package/bundle/components/Skills/Andromeda/translations.d.ts +8 -0
- package/bundle/components/Skills/Andromeda/types.d.ts +14 -0
- package/bundle/components/WorkSection/Andromeda/WorkSectionAndromeda.stories.d.ts +5 -0
- package/bundle/components/WorkSection/Andromeda/defaults.d.ts +2 -0
- package/bundle/components/WorkSection/Andromeda/index.d.ts +2 -0
- package/bundle/components/WorkSection/Andromeda/translations.d.ts +12 -0
- package/bundle/components/WorkSection/Andromeda/types.d.ts +18 -0
- package/bundle/components/WorkSection/Antlia/WorkSectionAntlia.stories.d.ts +5 -0
- package/bundle/components/WorkSection/Antlia/defaults.d.ts +2 -0
- package/bundle/components/WorkSection/Antlia/index.d.ts +2 -0
- package/bundle/components/WorkSection/Antlia/translations.d.ts +10 -0
- package/bundle/components/WorkSection/Antlia/types.d.ts +13 -0
- package/bundle/components/index.d.ts +13 -0
- package/bundle/components/ui/Carousel/Andromeda/CarouselAndromeda.stories.d.ts +5 -0
- package/bundle/components/ui/Carousel/Andromeda/index.d.ts +2 -0
- package/bundle/components/ui/Carousel/Andromeda/types.d.ts +18 -0
- package/bundle/components/ui/ScrollSnap/Andromeda/ScrollSnapAndromeda.stories.d.ts +5 -0
- package/bundle/components/ui/ScrollSnap/Andromeda/defaults.d.ts +2 -0
- package/bundle/components/ui/ScrollSnap/Andromeda/index.d.ts +2 -0
- package/bundle/components/ui/ScrollSnap/Andromeda/types.d.ts +9 -0
- package/bundle/components/ui/SocialLinks/Andromeda/SocialLinksAndromeda.stories.d.ts +5 -0
- package/bundle/components/ui/SocialLinks/Andromeda/example.d.ts +5 -0
- package/bundle/components/ui/SocialLinks/Andromeda/index.d.ts +2 -0
- package/bundle/components/ui/SocialLinks/Andromeda/types.d.ts +11 -0
- package/bundle/index.d.ts +3 -0
- package/bundle/index.es.js +174 -167
- package/bundle/index.umd.js +2 -2
- package/bundle/types/index.d.ts +14 -0
- package/bundle/types/props-components.d.ts +6 -0
- package/bundle/utils/index.d.ts +1 -0
- package/bundle/utils/returnTranslations.d.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare const translationsSources: {
|
|
2
|
+
title: {
|
|
3
|
+
es: string;
|
|
4
|
+
en: string;
|
|
5
|
+
};
|
|
6
|
+
subtitle: {
|
|
7
|
+
es: string;
|
|
8
|
+
en: string;
|
|
9
|
+
};
|
|
10
|
+
label_name: {
|
|
11
|
+
es: string;
|
|
12
|
+
en: string;
|
|
13
|
+
};
|
|
14
|
+
label_email: {
|
|
15
|
+
es: string;
|
|
16
|
+
en: string;
|
|
17
|
+
};
|
|
18
|
+
label_message: {
|
|
19
|
+
es: string;
|
|
20
|
+
en: string;
|
|
21
|
+
};
|
|
22
|
+
placeholder_name: {
|
|
23
|
+
es: string;
|
|
24
|
+
en: string;
|
|
25
|
+
};
|
|
26
|
+
placeholder_email: {
|
|
27
|
+
es: string;
|
|
28
|
+
en: string;
|
|
29
|
+
};
|
|
30
|
+
placeholder_message: {
|
|
31
|
+
es: string;
|
|
32
|
+
en: string;
|
|
33
|
+
};
|
|
34
|
+
button: {
|
|
35
|
+
es: string;
|
|
36
|
+
en: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare const contactItemsExample: ({
|
|
2
|
+
key: string;
|
|
3
|
+
type: "phone";
|
|
4
|
+
title: string;
|
|
5
|
+
subtitle: string;
|
|
6
|
+
actionText: string;
|
|
7
|
+
url: string;
|
|
8
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
targetBlank: boolean;
|
|
10
|
+
} | {
|
|
11
|
+
key: string;
|
|
12
|
+
type: "email";
|
|
13
|
+
title: string;
|
|
14
|
+
subtitle: string;
|
|
15
|
+
actionText: string;
|
|
16
|
+
url: string;
|
|
17
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
targetBlank: boolean;
|
|
19
|
+
} | {
|
|
20
|
+
key: string;
|
|
21
|
+
type: "whatsapp";
|
|
22
|
+
title: string;
|
|
23
|
+
subtitle: string;
|
|
24
|
+
actionText: string;
|
|
25
|
+
url: string;
|
|
26
|
+
icon: import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
targetBlank: boolean;
|
|
28
|
+
})[];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BasePropComponents } from '../../../types';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
export type ContactType = 'phone' | 'email' | 'whatsapp' | 'other';
|
|
4
|
+
export type ContactItem = {
|
|
5
|
+
key: string;
|
|
6
|
+
type: ContactType;
|
|
7
|
+
title: string;
|
|
8
|
+
subtitle?: string;
|
|
9
|
+
actionText?: string;
|
|
10
|
+
url: string;
|
|
11
|
+
icon: ReactNode;
|
|
12
|
+
targetBlank?: boolean;
|
|
13
|
+
};
|
|
14
|
+
export type ContactFormAntliaProps = BasePropComponents & {
|
|
15
|
+
items?: ContactItem[];
|
|
16
|
+
idForm: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BasePropComponents } from '../../../types';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
export type FloatingPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
4
|
+
export type FileItemAndromeda = {
|
|
5
|
+
url: string;
|
|
6
|
+
name?: string;
|
|
7
|
+
label?: string;
|
|
8
|
+
icon?: ReactNode;
|
|
9
|
+
};
|
|
10
|
+
export type FilesLayout = 'horizontal' | 'vertical';
|
|
11
|
+
export type FileDownloaderAndromedaProps = BasePropComponents & {
|
|
12
|
+
files: FileItemAndromeda[];
|
|
13
|
+
position?: FloatingPosition;
|
|
14
|
+
layout?: FilesLayout;
|
|
15
|
+
offset?: {
|
|
16
|
+
x?: number;
|
|
17
|
+
y?: number;
|
|
18
|
+
};
|
|
19
|
+
defaultIcon?: ReactNode;
|
|
20
|
+
title?: string;
|
|
21
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export declare const translationsDefault: {
|
|
2
|
+
title_web: {
|
|
3
|
+
es: string;
|
|
4
|
+
en: string;
|
|
5
|
+
pt: string;
|
|
6
|
+
};
|
|
7
|
+
title_developer: {
|
|
8
|
+
es: string;
|
|
9
|
+
en: string;
|
|
10
|
+
pt: string;
|
|
11
|
+
};
|
|
12
|
+
subtitle: {
|
|
13
|
+
es: string;
|
|
14
|
+
en: string;
|
|
15
|
+
pt: string;
|
|
16
|
+
};
|
|
17
|
+
highlight_1: {
|
|
18
|
+
es: string;
|
|
19
|
+
en: string;
|
|
20
|
+
pt: string;
|
|
21
|
+
};
|
|
22
|
+
highlight_2: {
|
|
23
|
+
es: string;
|
|
24
|
+
en: string;
|
|
25
|
+
pt: string;
|
|
26
|
+
};
|
|
27
|
+
name: {
|
|
28
|
+
es: string;
|
|
29
|
+
};
|
|
30
|
+
address: {
|
|
31
|
+
es: string;
|
|
32
|
+
};
|
|
33
|
+
email: {
|
|
34
|
+
es: string;
|
|
35
|
+
};
|
|
36
|
+
phone: {
|
|
37
|
+
es: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BasePropComponents } from '../../../types';
|
|
2
|
+
export type FeaturedIconItem = {
|
|
3
|
+
image: string;
|
|
4
|
+
text: string;
|
|
5
|
+
url?: string;
|
|
6
|
+
alt?: string;
|
|
7
|
+
};
|
|
8
|
+
export type HeroFeaturedAntliaProps = BasePropComponents & {
|
|
9
|
+
/** logos para el carousel */
|
|
10
|
+
items?: FeaturedIconItem[];
|
|
11
|
+
/** fondo */
|
|
12
|
+
backgroundImage?: string;
|
|
13
|
+
className?: string;
|
|
14
|
+
/** logo del título */
|
|
15
|
+
logo: string;
|
|
16
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare const translationsSources: {
|
|
2
|
+
hi_there: {
|
|
3
|
+
es: string;
|
|
4
|
+
en: string;
|
|
5
|
+
pt: string;
|
|
6
|
+
};
|
|
7
|
+
i_am: {
|
|
8
|
+
es: string;
|
|
9
|
+
en: string;
|
|
10
|
+
pt: string;
|
|
11
|
+
};
|
|
12
|
+
name: string;
|
|
13
|
+
developer_focus: {
|
|
14
|
+
es: string;
|
|
15
|
+
en: string;
|
|
16
|
+
pt: string;
|
|
17
|
+
};
|
|
18
|
+
slogan: {
|
|
19
|
+
es: string;
|
|
20
|
+
en: string;
|
|
21
|
+
pt: string;
|
|
22
|
+
};
|
|
23
|
+
find_me_on: {
|
|
24
|
+
es: string;
|
|
25
|
+
en: string;
|
|
26
|
+
pt: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BasePropComponents } from '../../../types';
|
|
2
|
+
interface SocialIconsProps {
|
|
3
|
+
twitter?: string;
|
|
4
|
+
github?: string;
|
|
5
|
+
instagram?: string;
|
|
6
|
+
linkedin?: string;
|
|
7
|
+
email?: string;
|
|
8
|
+
}
|
|
9
|
+
export type IntroductionSectionAndromedaProps = BasePropComponents & {
|
|
10
|
+
backgroundImage?: string;
|
|
11
|
+
socialIcons?: SocialIconsProps;
|
|
12
|
+
};
|
|
13
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { BasePropComponents } from '../../../types';
|
|
2
|
+
export type WorkProjectItem = {
|
|
3
|
+
name: string;
|
|
4
|
+
type: string;
|
|
5
|
+
image: string;
|
|
6
|
+
url: string;
|
|
7
|
+
description: string;
|
|
8
|
+
};
|
|
9
|
+
export type WorkSectionProjectsProps = BasePropComponents & {
|
|
10
|
+
items?: WorkProjectItem[];
|
|
11
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IconType } from 'react-icons';
|
|
2
|
+
import { BasePropComponents } from '../../../types';
|
|
3
|
+
export type SkillItem = {
|
|
4
|
+
label: string;
|
|
5
|
+
value: number;
|
|
6
|
+
};
|
|
7
|
+
export type SkillSection = {
|
|
8
|
+
title: string;
|
|
9
|
+
icon?: IconType;
|
|
10
|
+
items?: SkillItem[];
|
|
11
|
+
};
|
|
12
|
+
export type SkillSectionProps = BasePropComponents & {
|
|
13
|
+
items: SkillSection[];
|
|
14
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BasePropComponents } from '../../../types';
|
|
2
|
+
export type WorkItem = {
|
|
3
|
+
name: string;
|
|
4
|
+
logo: string;
|
|
5
|
+
role?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
technologies?: string[];
|
|
8
|
+
link?: {
|
|
9
|
+
url: string;
|
|
10
|
+
text: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
export type WorkSectionAndromedaProps = BasePropComponents & {
|
|
14
|
+
items?: WorkItem[];
|
|
15
|
+
style?: React.CSSProperties;
|
|
16
|
+
backgroundImage?: string;
|
|
17
|
+
className?: string;
|
|
18
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { BasePropComponents } from '../../../types';
|
|
2
|
+
import { IconType } from 'react-icons';
|
|
3
|
+
export type WorkSectionAntliaProps = BasePropComponents & {
|
|
4
|
+
className?: string;
|
|
5
|
+
icons: string[];
|
|
6
|
+
items: WorkSectionAntliaItem[];
|
|
7
|
+
};
|
|
8
|
+
export type WorkSectionAntliaItem = {
|
|
9
|
+
icon: IconType;
|
|
10
|
+
title: string;
|
|
11
|
+
subtitle?: string;
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from './WorkSection/Antlia';
|
|
2
|
+
export * from './WorkSection/Andromeda';
|
|
3
|
+
export * from './ui/SocialLinks/Andromeda';
|
|
4
|
+
export * from './ui/ScrollSnap/Andromeda';
|
|
5
|
+
export * from './ui/Carousel/Andromeda';
|
|
6
|
+
export * from './Skills/Andromeda';
|
|
7
|
+
export * from './Projects/Andromeda';
|
|
8
|
+
export * from './IntroductionSection/Andromeda';
|
|
9
|
+
export * from './HeroSection/Antlia';
|
|
10
|
+
export * from './HeroSection/Andromeda';
|
|
11
|
+
export * from './FileDownloader/Andromeda';
|
|
12
|
+
export * from './ContactForm/Antlia';
|
|
13
|
+
export * from './ContactForm/Andromeda';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { BasePropComponents } from '../../../../types';
|
|
2
|
+
export type CarouselItemsPerView = number | {
|
|
3
|
+
desktop?: number;
|
|
4
|
+
tablet?: number;
|
|
5
|
+
mobile?: number;
|
|
6
|
+
};
|
|
7
|
+
export type CarouselAndromedaProps = BasePropComponents & {
|
|
8
|
+
items?: {
|
|
9
|
+
component: React.ReactNode;
|
|
10
|
+
}[];
|
|
11
|
+
showArrows?: boolean;
|
|
12
|
+
showDots?: boolean;
|
|
13
|
+
autoplay?: boolean;
|
|
14
|
+
autoplayInterval?: number;
|
|
15
|
+
pauseOnHover?: boolean;
|
|
16
|
+
gap?: number;
|
|
17
|
+
itemsPerView?: CarouselItemsPerView;
|
|
18
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ReactNode, CSSProperties } from 'react';
|
|
2
|
+
export type SocialLinkItem = {
|
|
3
|
+
url: string;
|
|
4
|
+
icon: ReactNode;
|
|
5
|
+
label?: string;
|
|
6
|
+
};
|
|
7
|
+
export type SocialLinksAndromedaProps = {
|
|
8
|
+
items?: SocialLinkItem[];
|
|
9
|
+
className?: string;
|
|
10
|
+
style?: CSSProperties;
|
|
11
|
+
};
|