@jctrejosi/components-seed 1.0.11 → 1.2.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.
- package/bundle/components/AppointmentForm/Andromeda/AppointmentFormAndromeda.stories.d.ts +5 -0
- package/bundle/components/AppointmentForm/Andromeda/examples.d.ts +6 -0
- package/bundle/components/AppointmentForm/Andromeda/index.d.ts +2 -0
- package/bundle/components/AppointmentForm/Andromeda/translations.d.ts +38 -0
- package/bundle/components/AppointmentForm/Andromeda/types.d.ts +25 -0
- package/bundle/components/Calendar/Andromeda/CalendarAndromeda.stories.d.ts +5 -0
- package/bundle/components/Calendar/Andromeda/examples.d.ts +4 -0
- package/bundle/components/Calendar/Andromeda/index.d.ts +2 -0
- package/bundle/components/Calendar/Andromeda/types.d.ts +14 -0
- package/bundle/components/ContactForm/Andromeda/index.d.ts +1 -1
- package/bundle/components/ContactForm/Andromeda/translations.d.ts +8 -0
- package/bundle/components/ContactForm/Andromeda/types.d.ts +11 -0
- package/bundle/components/FileUpload/Andromeda/FileUploadAndromeda.stories.d.ts +5 -0
- package/bundle/components/FileUpload/Andromeda/index.d.ts +2 -0
- package/bundle/components/FileUpload/Andromeda/translations.d.ts +17 -0
- package/bundle/components/FileUpload/Andromeda/types.d.ts +14 -0
- package/bundle/components/IntroductionSection/Antlia/IntroductionSectionAntlia.stories.d.ts +5 -0
- package/bundle/components/IntroductionSection/Antlia/index.d.ts +2 -0
- package/bundle/components/IntroductionSection/Antlia/translations.d.ts +36 -0
- package/bundle/components/IntroductionSection/Antlia/types.d.ts +9 -0
- package/bundle/components/Item/Andromeda/ItemAndromeda.stories.d.ts +5 -0
- package/bundle/components/Item/Andromeda/examples.d.ts +9 -0
- package/bundle/components/Item/Andromeda/index.d.ts +2 -0
- package/bundle/components/Item/Andromeda/translations.d.ts +7 -0
- package/bundle/components/Item/Andromeda/types.d.ts +14 -0
- package/bundle/components/Map/Andromeda/MapAndromeda.stories.d.ts +5 -0
- package/bundle/components/Map/Andromeda/index.d.ts +2 -0
- package/bundle/components/Map/Andromeda/translations.d.ts +12 -0
- package/bundle/components/Map/Andromeda/types.d.ts +9 -0
- package/bundle/components/Map/Antlia/MapAntlia.stories.d.ts +5 -0
- package/bundle/components/Map/Antlia/index.d.ts +2 -0
- package/bundle/components/Map/Antlia/translations.d.ts +14 -0
- package/bundle/components/Map/Antlia/types.d.ts +10 -0
- package/bundle/components/Navbar/Andromeda/NavbarAndromeda.stories.d.ts +5 -0
- package/bundle/components/Navbar/Andromeda/index.d.ts +2 -0
- package/bundle/components/Navbar/Andromeda/types.d.ts +12 -0
- package/bundle/components/Navbar/Antlia/NavbarAntlia.stories.d.ts +5 -0
- package/bundle/components/Navbar/Antlia/examples.d.ts +7 -0
- package/bundle/components/Navbar/Antlia/index.d.ts +2 -0
- package/bundle/components/Navbar/Antlia/translations.d.ts +7 -0
- package/bundle/components/Navbar/Antlia/types.d.ts +14 -0
- package/bundle/components/Video/Andromeda/VideoAndromeda.stories.d.ts +5 -0
- package/bundle/components/Video/Andromeda/index.d.ts +2 -0
- package/bundle/components/Video/Andromeda/types.d.ts +6 -0
- package/bundle/components/index.d.ts +10 -0
- package/bundle/index.css +1 -1
- package/bundle/index.es.js +6741 -1049
- package/bundle/index.umd.js +16 -3
- package/bundle/types/index.d.ts +10 -0
- package/package.json +2 -1
- package/bundle/components/ContactForm/Andromeda/defaults.d.ts +0 -2
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { AppointmentFormAndromedaProps } from './types';
|
|
2
|
+
export declare const AppointmentFormAndromeda: ({ availableSlots, appointmentTypes, onSubmit, selectedServiceDefault, position, style, className, }: AppointmentFormAndromedaProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export declare const translationsSources: {
|
|
2
|
+
name_placeholder: {
|
|
3
|
+
es: string;
|
|
4
|
+
en: string;
|
|
5
|
+
};
|
|
6
|
+
document_placeholder: {
|
|
7
|
+
es: string;
|
|
8
|
+
en: string;
|
|
9
|
+
};
|
|
10
|
+
phone_placeholder: {
|
|
11
|
+
es: string;
|
|
12
|
+
en: string;
|
|
13
|
+
};
|
|
14
|
+
select_time: {
|
|
15
|
+
es: string;
|
|
16
|
+
en: string;
|
|
17
|
+
};
|
|
18
|
+
select_appointment_type: {
|
|
19
|
+
es: string;
|
|
20
|
+
en: string;
|
|
21
|
+
};
|
|
22
|
+
price_label: {
|
|
23
|
+
es: string;
|
|
24
|
+
en: string;
|
|
25
|
+
};
|
|
26
|
+
selected_date_label: {
|
|
27
|
+
es: string;
|
|
28
|
+
en: string;
|
|
29
|
+
};
|
|
30
|
+
submit_button: {
|
|
31
|
+
es: string;
|
|
32
|
+
en: string;
|
|
33
|
+
};
|
|
34
|
+
date_not_available: {
|
|
35
|
+
es: string;
|
|
36
|
+
en: string;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { SlotCalendarAndromeda } from '../../Calendar/Andromeda/types';
|
|
2
|
+
import { BasePropComponents } from '../../../types';
|
|
3
|
+
export type AppointmentType = {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
price: number;
|
|
7
|
+
};
|
|
8
|
+
export type AppointmentSubmitPayload = {
|
|
9
|
+
name: string;
|
|
10
|
+
document: string;
|
|
11
|
+
phone: string;
|
|
12
|
+
date: string;
|
|
13
|
+
time: string;
|
|
14
|
+
appointmentTypeId: string;
|
|
15
|
+
price: number;
|
|
16
|
+
};
|
|
17
|
+
export type AppointmentFormAndromedaProps = BasePropComponents & {
|
|
18
|
+
availableSlots?: SlotCalendarAndromeda[];
|
|
19
|
+
appointmentTypes?: AppointmentType[];
|
|
20
|
+
onSubmit: (payload: AppointmentSubmitPayload) => void;
|
|
21
|
+
selectedServiceDefault?: string;
|
|
22
|
+
style?: React.CSSProperties;
|
|
23
|
+
className?: string;
|
|
24
|
+
position?: 'static' | 'sticky' | 'fixed';
|
|
25
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BasePropComponents } from '../../../types';
|
|
2
|
+
export type SlotCalendarAndromeda = {
|
|
3
|
+
date: string;
|
|
4
|
+
times: string[];
|
|
5
|
+
};
|
|
6
|
+
export type CalendarAndromedaProps = BasePropComponents & {
|
|
7
|
+
availableSlots?: SlotCalendarAndromeda[] | string[];
|
|
8
|
+
value?: string;
|
|
9
|
+
onChange?: (date: string, time?: string) => void;
|
|
10
|
+
minDate?: string;
|
|
11
|
+
maxDate?: string;
|
|
12
|
+
style?: React.CSSProperties;
|
|
13
|
+
className?: string;
|
|
14
|
+
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ContactFormAndromedaProps } from './types';
|
|
2
|
-
export declare const ContactFormAndromeda: ({ sendTo, translations, style, backgroundImage, }: ContactFormAndromedaProps) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export declare const ContactFormAndromeda: ({ sendTo, translations, style, backgroundImage, onSubmit, showName, showEmail, showPhone, showMessage, }: ContactFormAndromedaProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -15,6 +15,10 @@ export declare const translationsSources: {
|
|
|
15
15
|
es: string;
|
|
16
16
|
en: string;
|
|
17
17
|
};
|
|
18
|
+
label_phone: {
|
|
19
|
+
es: string;
|
|
20
|
+
en: string;
|
|
21
|
+
};
|
|
18
22
|
label_message: {
|
|
19
23
|
es: string;
|
|
20
24
|
en: string;
|
|
@@ -27,6 +31,10 @@ export declare const translationsSources: {
|
|
|
27
31
|
es: string;
|
|
28
32
|
en: string;
|
|
29
33
|
};
|
|
34
|
+
placeholder_phone: {
|
|
35
|
+
es: string;
|
|
36
|
+
en: string;
|
|
37
|
+
};
|
|
30
38
|
placeholder_message: {
|
|
31
39
|
es: string;
|
|
32
40
|
en: string;
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
import { BasePropComponents } from '../../../types';
|
|
2
|
+
export type ContactFormData = {
|
|
3
|
+
name?: string;
|
|
4
|
+
email?: string;
|
|
5
|
+
phone?: string;
|
|
6
|
+
message?: string;
|
|
7
|
+
};
|
|
2
8
|
export type ContactFormAndromedaProps = BasePropComponents & {
|
|
3
9
|
sendTo?: string;
|
|
4
10
|
backgroundImage?: string;
|
|
11
|
+
onSubmit?: (data: ContactFormData) => void;
|
|
12
|
+
showName?: boolean;
|
|
13
|
+
showEmail?: boolean;
|
|
14
|
+
showPhone?: boolean;
|
|
15
|
+
showMessage?: boolean;
|
|
5
16
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
export declare const translationsSources: {
|
|
2
|
+
select_archive_file: {
|
|
3
|
+
es: string;
|
|
4
|
+
en: string;
|
|
5
|
+
pt: string;
|
|
6
|
+
};
|
|
7
|
+
execute_regression_lineal: {
|
|
8
|
+
es: string;
|
|
9
|
+
en: string;
|
|
10
|
+
pt: string;
|
|
11
|
+
};
|
|
12
|
+
dependent_variable: {
|
|
13
|
+
es: string;
|
|
14
|
+
en: string;
|
|
15
|
+
pt: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BasePropComponents } from '../../../types';
|
|
2
|
+
export interface FileUploadProps {
|
|
3
|
+
onFileSelect: (file: File) => void;
|
|
4
|
+
className?: string;
|
|
5
|
+
}
|
|
6
|
+
export interface RegressionLinealProps {
|
|
7
|
+
onExecute: () => void;
|
|
8
|
+
dependentVariable: string;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface FileUploadPropsAndromeda extends BasePropComponents {
|
|
12
|
+
fileUploadProps: FileUploadProps;
|
|
13
|
+
regressionLinealProps: RegressionLinealProps;
|
|
14
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare const translationsSources: {
|
|
2
|
+
introduction_section_title: {
|
|
3
|
+
es: string;
|
|
4
|
+
en: string;
|
|
5
|
+
pt: string;
|
|
6
|
+
};
|
|
7
|
+
specialist_name: {
|
|
8
|
+
es: string;
|
|
9
|
+
};
|
|
10
|
+
specialist_description: {
|
|
11
|
+
es: string;
|
|
12
|
+
en: string;
|
|
13
|
+
pt: string;
|
|
14
|
+
};
|
|
15
|
+
smiles_designed_value: {
|
|
16
|
+
es: string;
|
|
17
|
+
};
|
|
18
|
+
smiles_designed: {
|
|
19
|
+
es: string;
|
|
20
|
+
en: string;
|
|
21
|
+
pt: string;
|
|
22
|
+
};
|
|
23
|
+
satisfied_clients_value: {
|
|
24
|
+
es: string;
|
|
25
|
+
};
|
|
26
|
+
satisfied_clients: {
|
|
27
|
+
es: string;
|
|
28
|
+
en: string;
|
|
29
|
+
pt: string;
|
|
30
|
+
};
|
|
31
|
+
cta_button: {
|
|
32
|
+
es: string;
|
|
33
|
+
en: string;
|
|
34
|
+
pt: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BasePropComponents } from '../../../types';
|
|
2
|
+
type InfoItemAndromeda = {
|
|
3
|
+
title: string;
|
|
4
|
+
subtitle: string;
|
|
5
|
+
description: string;
|
|
6
|
+
price: string;
|
|
7
|
+
images: string[];
|
|
8
|
+
buttonText: string;
|
|
9
|
+
onButtonClick?: () => void;
|
|
10
|
+
};
|
|
11
|
+
export type InfoItemAndromedaProps = BasePropComponents & {
|
|
12
|
+
items: InfoItemAndromeda[];
|
|
13
|
+
};
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BasePropComponents } from '../../../types';
|
|
2
|
+
export type SocialLinks = {
|
|
3
|
+
facebook?: string;
|
|
4
|
+
instagram?: string;
|
|
5
|
+
tiktok?: string;
|
|
6
|
+
};
|
|
7
|
+
export type NavbarAndromedaProps = BasePropComponents & {
|
|
8
|
+
email?: string;
|
|
9
|
+
phone?: string;
|
|
10
|
+
address?: string;
|
|
11
|
+
socialLinks?: SocialLinks;
|
|
12
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { BasePropComponents } from '../../../types';
|
|
2
|
+
export type NavbarDropdownItem = {
|
|
3
|
+
label: string;
|
|
4
|
+
href: string;
|
|
5
|
+
};
|
|
6
|
+
export type NavbarLink = {
|
|
7
|
+
label: string;
|
|
8
|
+
items: NavbarDropdownItem[];
|
|
9
|
+
};
|
|
10
|
+
export type NavbarAntliaProps = BasePropComponents & {
|
|
11
|
+
logo?: string;
|
|
12
|
+
links: NavbarLink[];
|
|
13
|
+
onAction: () => void;
|
|
14
|
+
};
|
|
@@ -1,13 +1,23 @@
|
|
|
1
1
|
export * from './WorkSection/Antlia';
|
|
2
2
|
export * from './WorkSection/Andromeda';
|
|
3
|
+
export * from './Video/Andromeda';
|
|
3
4
|
export * from './ui/SocialLinks/Andromeda';
|
|
4
5
|
export * from './ui/ScrollSnap/Andromeda';
|
|
5
6
|
export * from './ui/Carousel/Andromeda';
|
|
6
7
|
export * from './Skills/Andromeda';
|
|
7
8
|
export * from './Projects/Andromeda';
|
|
9
|
+
export * from './Navbar/Antlia';
|
|
10
|
+
export * from './Navbar/Andromeda';
|
|
11
|
+
export * from './Map/Antlia';
|
|
12
|
+
export * from './Map/Andromeda';
|
|
13
|
+
export * from './Item/Andromeda';
|
|
14
|
+
export * from './IntroductionSection/Antlia';
|
|
8
15
|
export * from './IntroductionSection/Andromeda';
|
|
9
16
|
export * from './HeroSection/Antlia';
|
|
10
17
|
export * from './HeroSection/Andromeda';
|
|
18
|
+
export * from './FileUpload/Andromeda';
|
|
11
19
|
export * from './FileDownloader/Andromeda';
|
|
12
20
|
export * from './ContactForm/Antlia';
|
|
13
21
|
export * from './ContactForm/Andromeda';
|
|
22
|
+
export * from './Calendar/Andromeda';
|
|
23
|
+
export * from './AppointmentForm/Andromeda';
|