@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.
Files changed (51) hide show
  1. package/bundle/components/AppointmentForm/Andromeda/AppointmentFormAndromeda.stories.d.ts +5 -0
  2. package/bundle/components/AppointmentForm/Andromeda/examples.d.ts +6 -0
  3. package/bundle/components/AppointmentForm/Andromeda/index.d.ts +2 -0
  4. package/bundle/components/AppointmentForm/Andromeda/translations.d.ts +38 -0
  5. package/bundle/components/AppointmentForm/Andromeda/types.d.ts +25 -0
  6. package/bundle/components/Calendar/Andromeda/CalendarAndromeda.stories.d.ts +5 -0
  7. package/bundle/components/Calendar/Andromeda/examples.d.ts +4 -0
  8. package/bundle/components/Calendar/Andromeda/index.d.ts +2 -0
  9. package/bundle/components/Calendar/Andromeda/types.d.ts +14 -0
  10. package/bundle/components/ContactForm/Andromeda/index.d.ts +1 -1
  11. package/bundle/components/ContactForm/Andromeda/translations.d.ts +8 -0
  12. package/bundle/components/ContactForm/Andromeda/types.d.ts +11 -0
  13. package/bundle/components/FileUpload/Andromeda/FileUploadAndromeda.stories.d.ts +5 -0
  14. package/bundle/components/FileUpload/Andromeda/index.d.ts +2 -0
  15. package/bundle/components/FileUpload/Andromeda/translations.d.ts +17 -0
  16. package/bundle/components/FileUpload/Andromeda/types.d.ts +14 -0
  17. package/bundle/components/IntroductionSection/Antlia/IntroductionSectionAntlia.stories.d.ts +5 -0
  18. package/bundle/components/IntroductionSection/Antlia/index.d.ts +2 -0
  19. package/bundle/components/IntroductionSection/Antlia/translations.d.ts +36 -0
  20. package/bundle/components/IntroductionSection/Antlia/types.d.ts +9 -0
  21. package/bundle/components/Item/Andromeda/ItemAndromeda.stories.d.ts +5 -0
  22. package/bundle/components/Item/Andromeda/examples.d.ts +9 -0
  23. package/bundle/components/Item/Andromeda/index.d.ts +2 -0
  24. package/bundle/components/Item/Andromeda/translations.d.ts +7 -0
  25. package/bundle/components/Item/Andromeda/types.d.ts +14 -0
  26. package/bundle/components/Map/Andromeda/MapAndromeda.stories.d.ts +5 -0
  27. package/bundle/components/Map/Andromeda/index.d.ts +2 -0
  28. package/bundle/components/Map/Andromeda/translations.d.ts +12 -0
  29. package/bundle/components/Map/Andromeda/types.d.ts +9 -0
  30. package/bundle/components/Map/Antlia/MapAntlia.stories.d.ts +5 -0
  31. package/bundle/components/Map/Antlia/index.d.ts +2 -0
  32. package/bundle/components/Map/Antlia/translations.d.ts +14 -0
  33. package/bundle/components/Map/Antlia/types.d.ts +10 -0
  34. package/bundle/components/Navbar/Andromeda/NavbarAndromeda.stories.d.ts +5 -0
  35. package/bundle/components/Navbar/Andromeda/index.d.ts +2 -0
  36. package/bundle/components/Navbar/Andromeda/types.d.ts +12 -0
  37. package/bundle/components/Navbar/Antlia/NavbarAntlia.stories.d.ts +5 -0
  38. package/bundle/components/Navbar/Antlia/examples.d.ts +7 -0
  39. package/bundle/components/Navbar/Antlia/index.d.ts +2 -0
  40. package/bundle/components/Navbar/Antlia/translations.d.ts +7 -0
  41. package/bundle/components/Navbar/Antlia/types.d.ts +14 -0
  42. package/bundle/components/Video/Andromeda/VideoAndromeda.stories.d.ts +5 -0
  43. package/bundle/components/Video/Andromeda/index.d.ts +2 -0
  44. package/bundle/components/Video/Andromeda/types.d.ts +6 -0
  45. package/bundle/components/index.d.ts +10 -0
  46. package/bundle/index.css +1 -1
  47. package/bundle/index.es.js +6741 -1049
  48. package/bundle/index.umd.js +16 -3
  49. package/bundle/types/index.d.ts +10 -0
  50. package/package.json +2 -1
  51. package/bundle/components/ContactForm/Andromeda/defaults.d.ts +0 -2
@@ -0,0 +1,5 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ declare const meta: Meta<any>;
3
+ export default meta;
4
+ type Story = StoryObj<any>;
5
+ export declare const Default: Story;
@@ -0,0 +1,6 @@
1
+ import { AppointmentType } from './types';
2
+ export declare const availableSlotsExample: {
3
+ date: string;
4
+ times: string[];
5
+ }[];
6
+ export declare const appointmentTypesExample: AppointmentType[];
@@ -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,5 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ declare const meta: Meta<any>;
3
+ export default meta;
4
+ type Story = StoryObj<any>;
5
+ export declare const Default: Story;
@@ -0,0 +1,4 @@
1
+ export declare const availableSlotsExample: {
2
+ date: string;
3
+ times: string[];
4
+ }[];
@@ -0,0 +1,2 @@
1
+ import { CalendarAndromedaProps } from './types';
2
+ export declare const CalendarAndromeda: ({ availableSlots, value, onChange, minDate, maxDate, style, className, }: CalendarAndromedaProps) => import("react/jsx-runtime").JSX.Element;
@@ -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,5 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ declare const meta: Meta<any>;
3
+ export default meta;
4
+ type Story = StoryObj<any>;
5
+ export declare const Default: Story;
@@ -0,0 +1,2 @@
1
+ import { FileUploadPropsAndromeda } from './types';
2
+ export declare const FileUploadAndromeda: (props: FileUploadPropsAndromeda) => import("react/jsx-runtime").JSX.Element;
@@ -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,5 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ declare const meta: Meta<any>;
3
+ export default meta;
4
+ type Story = StoryObj<any>;
5
+ export declare const Default: Story;
@@ -0,0 +1,2 @@
1
+ import { IntroductionSectionAntliaProps } from './types';
2
+ export declare const IntroductionSectionAntlia: ({ image, onCtaClick, style, }: IntroductionSectionAntliaProps) => import("react/jsx-runtime").JSX.Element;
@@ -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,9 @@
1
+ import { BasePropComponents } from '../../../types';
2
+ export type IntroductionSectionAntliaProps = BasePropComponents & {
3
+ onCtaClick: () => void;
4
+ image: string;
5
+ };
6
+ export type StatisticItem = {
7
+ value: string;
8
+ label: string;
9
+ };
@@ -0,0 +1,5 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ declare const meta: Meta<any>;
3
+ export default meta;
4
+ type Story = StoryObj<any>;
5
+ export declare const Default: Story;
@@ -0,0 +1,9 @@
1
+ export declare const exampleItems: {
2
+ title: string;
3
+ subtitle: string;
4
+ description: string;
5
+ price: string;
6
+ images: string[];
7
+ buttonText: string;
8
+ onButtonClick: () => Window | null;
9
+ }[];
@@ -0,0 +1,2 @@
1
+ import { InfoItemAndromedaProps } from './types';
2
+ export declare const ItemAndromeda: (props: InfoItemAndromedaProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ export declare const translationsSources: {
2
+ quote_button: {
3
+ es: string;
4
+ en: string;
5
+ pt: string;
6
+ };
7
+ };
@@ -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,5 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ declare const meta: Meta<any>;
3
+ export default meta;
4
+ type Story = StoryObj<any>;
5
+ export declare const Default: Story;
@@ -0,0 +1,2 @@
1
+ import { MapAndromedaProps } from './types';
2
+ export declare const MapAndromeda: (props: MapAndromedaProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,12 @@
1
+ export declare const translationsSources: {
2
+ map_loading: {
3
+ es: string;
4
+ en: string;
5
+ pt: string;
6
+ };
7
+ map_open_in_google_maps: {
8
+ es: string;
9
+ en: string;
10
+ pt: string;
11
+ };
12
+ };
@@ -0,0 +1,9 @@
1
+ import { BasePropComponents } from '../../../types';
2
+ export type MapAndromedaProps = BasePropComponents & {
3
+ address: string;
4
+ apiKey: string;
5
+ logoUrl?: string;
6
+ height?: string;
7
+ width?: string;
8
+ onButtonClick?: () => void;
9
+ };
@@ -0,0 +1,5 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ declare const meta: Meta<any>;
3
+ export default meta;
4
+ type Story = StoryObj<any>;
5
+ export declare const Default: Story;
@@ -0,0 +1,2 @@
1
+ import { MapAntliaProps } from './types';
2
+ export declare const MapAntlia: ({ apiKey, address, phone, email, imageUrl, height, onOpenMaps, style, }: MapAntliaProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,14 @@
1
+ export declare const translationsSources: {
2
+ map_loading: {
3
+ es: string;
4
+ en: string;
5
+ };
6
+ contact_title: {
7
+ es: string;
8
+ en: string;
9
+ };
10
+ map_open_in_google_maps: {
11
+ es: string;
12
+ en: string;
13
+ };
14
+ };
@@ -0,0 +1,10 @@
1
+ import { BasePropComponents } from '../../../types';
2
+ export type MapAntliaProps = BasePropComponents & {
3
+ apiKey?: string;
4
+ address: string;
5
+ phone?: string;
6
+ email?: string;
7
+ imageUrl?: string;
8
+ height?: string;
9
+ onOpenMaps?: () => void;
10
+ };
@@ -0,0 +1,5 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ declare const meta: Meta<any>;
3
+ export default meta;
4
+ type Story = StoryObj<any>;
5
+ export declare const Default: Story;
@@ -0,0 +1,2 @@
1
+ import { NavbarAndromedaProps } from './types';
2
+ export declare const NavbarAndromeda: ({ email, phone, address, socialLinks, style, }: NavbarAndromedaProps) => import("react/jsx-runtime").JSX.Element;
@@ -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,5 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ declare const meta: Meta<any>;
3
+ export default meta;
4
+ type Story = StoryObj<any>;
5
+ export declare const Default: Story;
@@ -0,0 +1,7 @@
1
+ export declare const linksExample: {
2
+ label: string;
3
+ items: {
4
+ label: string;
5
+ href: string;
6
+ }[];
7
+ }[];
@@ -0,0 +1,2 @@
1
+ import { NavbarAntliaProps } from './types';
2
+ export declare const NavbarAntlia: ({ logo, links, translations, onAction, className, style, }: NavbarAntliaProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,7 @@
1
+ export declare const translationsSources: {
2
+ action_btn: {
3
+ es: string;
4
+ en: string;
5
+ pt: string;
6
+ };
7
+ };
@@ -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
+ };
@@ -0,0 +1,5 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ declare const meta: Meta<any>;
3
+ export default meta;
4
+ type Story = StoryObj<any>;
5
+ export declare const Default: Story;
@@ -0,0 +1,2 @@
1
+ import { VideoAndromedaProps } from './types';
2
+ export declare const VideoAndromeda: ({ src, poster, delay, className, style, }: VideoAndromedaProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { BasePropComponents } from '../../../types';
2
+ export type VideoAndromedaProps = BasePropComponents & {
3
+ src: string;
4
+ delay?: number;
5
+ poster?: string;
6
+ };
@@ -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';