@latte-macchiat-io/latte-vanilla-components 0.0.117

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 (114) hide show
  1. package/README.md +22 -0
  2. package/dist/index.cjs.js +16 -0
  3. package/dist/index.es.js +8443 -0
  4. package/dist/types/components/Actions/export.d.ts +3 -0
  5. package/dist/types/components/Actions/index.d.ts +10 -0
  6. package/dist/types/components/Actions/stories.d.ts +6 -0
  7. package/dist/types/components/Actions/styles.d.ts +13 -0
  8. package/dist/types/components/Actions/types.d.ts +5 -0
  9. package/dist/types/components/Button/export.d.ts +3 -0
  10. package/dist/types/components/Button/index.d.ts +17 -0
  11. package/dist/types/components/Button/styles.d.ts +17 -0
  12. package/dist/types/components/Button/types.d.ts +18 -0
  13. package/dist/types/components/Carousel/export.d.ts +2 -0
  14. package/dist/types/components/Carousel/index.d.ts +12 -0
  15. package/dist/types/components/Carousel/styles.d.ts +52 -0
  16. package/dist/types/components/Columns/export.d.ts +3 -0
  17. package/dist/types/components/Columns/index.d.ts +13 -0
  18. package/dist/types/components/Columns/stories.d.ts +14 -0
  19. package/dist/types/components/Columns/styles.d.ts +16 -0
  20. package/dist/types/components/Columns/types.d.ts +5 -0
  21. package/dist/types/components/ConsentCookie/export.d.ts +2 -0
  22. package/dist/types/components/ConsentCookie/index.d.ts +16 -0
  23. package/dist/types/components/ConsentCookie/stories.d.ts +6 -0
  24. package/dist/types/components/ConsentCookie/styles.d.ts +25 -0
  25. package/dist/types/components/Footer/export.d.ts +2 -0
  26. package/dist/types/components/Footer/index.d.ts +8 -0
  27. package/dist/types/components/Footer/stories.d.ts +6 -0
  28. package/dist/types/components/Footer/styles.d.ts +11 -0
  29. package/dist/types/components/Form/Row/export.d.ts +3 -0
  30. package/dist/types/components/Form/Row/index.d.ts +12 -0
  31. package/dist/types/components/Form/Row/stories.d.ts +7 -0
  32. package/dist/types/components/Form/Row/styles.d.ts +15 -0
  33. package/dist/types/components/Form/Row/types.d.ts +5 -0
  34. package/dist/types/components/Form/TextField/Input/export.d.ts +3 -0
  35. package/dist/types/components/Form/TextField/Input/index.d.ts +19 -0
  36. package/dist/types/components/Form/TextField/Input/stories.d.ts +13 -0
  37. package/dist/types/components/Form/TextField/Input/styles.d.ts +11 -0
  38. package/dist/types/components/Form/TextField/Input/types.d.ts +8 -0
  39. package/dist/types/components/Form/TextField/Label/export.d.ts +2 -0
  40. package/dist/types/components/Form/TextField/Label/index.d.ts +9 -0
  41. package/dist/types/components/Form/TextField/Label/stories.d.ts +7 -0
  42. package/dist/types/components/Form/TextField/Label/styles.d.ts +9 -0
  43. package/dist/types/components/Form/TextField/Textarea/export.d.ts +3 -0
  44. package/dist/types/components/Form/TextField/Textarea/index.d.ts +17 -0
  45. package/dist/types/components/Form/TextField/Textarea/stories.d.ts +9 -0
  46. package/dist/types/components/Form/TextField/Textarea/styles.d.ts +11 -0
  47. package/dist/types/components/Form/TextField/Textarea/types.d.ts +3 -0
  48. package/dist/types/components/Form/TextField/export.d.ts +2 -0
  49. package/dist/types/components/Form/TextField/index.d.ts +23 -0
  50. package/dist/types/components/Form/TextField/stories.d.ts +12 -0
  51. package/dist/types/components/Form/TextField/styles.d.ts +21 -0
  52. package/dist/types/components/Form/export.d.ts +2 -0
  53. package/dist/types/components/Form/index.d.ts +9 -0
  54. package/dist/types/components/Form/stories.d.ts +6 -0
  55. package/dist/types/components/Form/styles.d.ts +11 -0
  56. package/dist/types/components/Header/HeaderOverlay/index.d.ts +8 -0
  57. package/dist/types/components/Header/HeaderOverlay/styles.d.ts +10 -0
  58. package/dist/types/components/Header/ToggleNav/index.d.ts +9 -0
  59. package/dist/types/components/Header/ToggleNav/styles.d.ts +17 -0
  60. package/dist/types/components/Header/export.d.ts +2 -0
  61. package/dist/types/components/Header/index.d.ts +12 -0
  62. package/dist/types/components/Header/stories.d.ts +6 -0
  63. package/dist/types/components/Header/styles.d.ts +19 -0
  64. package/dist/types/components/Icon/export.d.ts +2 -0
  65. package/dist/types/components/Icon/index.d.ts +12 -0
  66. package/dist/types/components/Icon/path.d.ts +19 -0
  67. package/dist/types/components/Icon/stories.d.ts +13 -0
  68. package/dist/types/components/Icon/styles.d.ts +16 -0
  69. package/dist/types/components/KeyNumber/export.d.ts +2 -0
  70. package/dist/types/components/KeyNumber/index.d.ts +10 -0
  71. package/dist/types/components/KeyNumber/styles.d.ts +13 -0
  72. package/dist/types/components/LanguageSwitcher/export.d.ts +2 -0
  73. package/dist/types/components/LanguageSwitcher/index.d.ts +16 -0
  74. package/dist/types/components/LanguageSwitcher/styles.d.ts +22 -0
  75. package/dist/types/components/Logo/export.d.ts +2 -0
  76. package/dist/types/components/Logo/index.d.ts +8 -0
  77. package/dist/types/components/Logo/stories.d.ts +6 -0
  78. package/dist/types/components/Logo/styles.d.ts +11 -0
  79. package/dist/types/components/Main/export.d.ts +2 -0
  80. package/dist/types/components/Main/index.d.ts +8 -0
  81. package/dist/types/components/Main/stories.d.ts +13 -0
  82. package/dist/types/components/Main/styles.d.ts +11 -0
  83. package/dist/types/components/Modal/export.d.ts +2 -0
  84. package/dist/types/components/Modal/index.d.ts +11 -0
  85. package/dist/types/components/Modal/styles.d.ts +24 -0
  86. package/dist/types/components/Modal/types.d.ts +5 -0
  87. package/dist/types/components/Nav/export.d.ts +2 -0
  88. package/dist/types/components/Nav/index.d.ts +8 -0
  89. package/dist/types/components/Nav/stories.d.ts +6 -0
  90. package/dist/types/components/Nav/styles.d.ts +11 -0
  91. package/dist/types/components/NavLegal/export.d.ts +2 -0
  92. package/dist/types/components/NavLegal/index.d.ts +8 -0
  93. package/dist/types/components/NavLegal/stories.d.ts +6 -0
  94. package/dist/types/components/NavLegal/styles.d.ts +11 -0
  95. package/dist/types/components/NavLegal/types.d.ts +1 -0
  96. package/dist/types/components/NavSocial/export.d.ts +3 -0
  97. package/dist/types/components/NavSocial/index.d.ts +12 -0
  98. package/dist/types/components/NavSocial/stories.d.ts +6 -0
  99. package/dist/types/components/NavSocial/styles.d.ts +15 -0
  100. package/dist/types/components/NavSocial/types.d.ts +1 -0
  101. package/dist/types/components/Section/export.d.ts +2 -0
  102. package/dist/types/components/Section/index.d.ts +18 -0
  103. package/dist/types/components/Section/stories.d.ts +14 -0
  104. package/dist/types/components/Section/styles.d.ts +22 -0
  105. package/dist/types/components/Section/types.d.ts +5 -0
  106. package/dist/types/components/Section/variants.d.ts +15 -0
  107. package/dist/types/components/Video/export.d.ts +2 -0
  108. package/dist/types/components/Video/index.d.ts +18 -0
  109. package/dist/types/components/Video/styles.d.ts +49 -0
  110. package/dist/types/components/VideoFullWidth/export.d.ts +2 -0
  111. package/dist/types/components/VideoFullWidth/index.d.ts +12 -0
  112. package/dist/types/components/VideoFullWidth/styles.d.ts +11 -0
  113. package/dist/types/index.d.ts +25 -0
  114. package/package.json +70 -0
@@ -0,0 +1,8 @@
1
+ import { Theme } from '../../../types/theme';
2
+ export interface HeaderOverlayProps {
3
+ theme: Theme;
4
+ isOpen: boolean;
5
+ children: React.ReactNode;
6
+ }
7
+ declare const HeaderOverlay: ({ isOpen, theme, children }: HeaderOverlayProps) => import("react").JSX.Element;
8
+ export default HeaderOverlay;
@@ -0,0 +1,10 @@
1
+ import { Theme } from '../../../types/theme';
2
+ interface IStyledOverlay {
3
+ theme: Theme;
4
+ isOpen: boolean;
5
+ }
6
+ export declare const StyledOverlay: import('@emotion/styled').StyledComponent<{
7
+ theme?: import('@emotion/react').Theme;
8
+ as?: React.ElementType;
9
+ } & IStyledOverlay, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
10
+ export {};
@@ -0,0 +1,9 @@
1
+ import { Theme } from '../../../types/theme';
2
+ interface IToggleNavProps {
3
+ theme: Theme;
4
+ isNavOpen: boolean;
5
+ onToggleNav: () => void;
6
+ displayOnDesktop: boolean;
7
+ }
8
+ declare const ToggleNav: ({ onToggleNav, theme, isNavOpen, displayOnDesktop }: IToggleNavProps) => import("react").JSX.Element;
9
+ export default ToggleNav;
@@ -0,0 +1,17 @@
1
+ import { Theme } from '../../../types/theme';
2
+ interface IStyledToggleNav {
3
+ displayOnDesktop: boolean;
4
+ }
5
+ export declare const StyledToggleNav: import('@emotion/styled').StyledComponent<{
6
+ theme?: import('@emotion/react').Theme;
7
+ as?: React.ElementType;
8
+ } & IStyledToggleNav, import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
9
+ interface IStyledToggleNavBar {
10
+ isNavOpen: boolean;
11
+ theme: Theme;
12
+ }
13
+ export declare const StyledToggleNavBar: import('@emotion/styled').StyledComponent<{
14
+ theme?: import('@emotion/react').Theme;
15
+ as?: React.ElementType;
16
+ } & IStyledToggleNavBar, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
17
+ export {};
@@ -0,0 +1,2 @@
1
+ export { Header } from '.';
2
+ export type { HeaderProps } from '.';
@@ -0,0 +1,12 @@
1
+ import { CSSProperties } from 'react';
2
+ import { Theme } from '../../types/theme';
3
+ export type HeaderProps = {
4
+ theme?: Theme;
5
+ isFixed?: boolean;
6
+ styles?: CSSProperties;
7
+ children: React.ReactNode;
8
+ hideToggleNav?: boolean;
9
+ childrenOverlay: React.ReactNode;
10
+ displayToggleNavOnDesktop?: boolean;
11
+ };
12
+ export declare const Header: ({ children, styles, isFixed, childrenOverlay, theme, hideToggleNav, displayToggleNavOnDesktop, }: HeaderProps) => import("react").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Header } from '../../index';
3
+ declare const meta: Meta<typeof Header>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
@@ -0,0 +1,19 @@
1
+ import { CSSProperties } from 'react';
2
+ import { Theme } from '../../types/theme';
3
+ interface IStyledHeader {
4
+ theme: Theme;
5
+ isFixed: boolean;
6
+ styles: CSSProperties;
7
+ }
8
+ export declare const StyledHeader: import('@emotion/styled').StyledComponent<{
9
+ theme?: import('@emotion/react').Theme;
10
+ as?: React.ElementType;
11
+ } & IStyledHeader, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
12
+ interface IStyledHeaderPlaceholder {
13
+ theme: Theme;
14
+ }
15
+ export declare const StyledHeaderPlaceholder: import('@emotion/styled').StyledComponent<{
16
+ theme?: import('@emotion/react').Theme;
17
+ as?: React.ElementType;
18
+ } & IStyledHeaderPlaceholder, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
19
+ export {};
@@ -0,0 +1,2 @@
1
+ export { Icon } from '.';
2
+ export type { IconProps } from '.';
@@ -0,0 +1,12 @@
1
+ import { CSSProperties } from 'react';
2
+ import { Theme } from '../../types/theme';
3
+ export type IconProps = {
4
+ theme?: Theme;
5
+ icon?: string;
6
+ iconPath?: string;
7
+ size?: number;
8
+ color?: string;
9
+ viewBox?: string;
10
+ styles?: CSSProperties;
11
+ };
12
+ export declare const Icon: ({ icon, size, styles, iconPath, color, theme, viewBox, }: IconProps) => import("react").JSX.Element;
@@ -0,0 +1,19 @@
1
+ declare const icons: {
2
+ caret: string;
3
+ close: string;
4
+ arrowBack: string;
5
+ arrowForward: string;
6
+ play: string;
7
+ pause: string;
8
+ volumeMute: string;
9
+ volumeUp: string;
10
+ socialFacebook: string;
11
+ socialInstagram: string;
12
+ socialPinterest: string;
13
+ socialLinkedIn: string;
14
+ socialSpotify: string;
15
+ socialTiktok: string;
16
+ socialX: string;
17
+ socialYoutube: string;
18
+ };
19
+ export default icons;
@@ -0,0 +1,13 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ icon, size, styles, iconPath, color, theme, viewBox, }: import('.').IconProps) => import("react").JSX.Element;
5
+ parameters: {
6
+ layout: string;
7
+ };
8
+ tags: string[];
9
+ argTypes: {};
10
+ };
11
+ export default meta;
12
+ type Story = StoryObj<typeof meta>;
13
+ export declare const Default: Story;
@@ -0,0 +1,16 @@
1
+ import { CSSProperties } from 'react';
2
+ interface IStyledIcon {
3
+ styles: CSSProperties;
4
+ }
5
+ export declare const StyledIcon: import('@emotion/styled').StyledComponent<{
6
+ theme?: import('@emotion/react').Theme;
7
+ as?: React.ElementType;
8
+ } & IStyledIcon, import('react').SVGProps<SVGSVGElement>, {}>;
9
+ interface IStyledIconPath {
10
+ fill: string;
11
+ }
12
+ export declare const StyledIconPath: import('@emotion/styled').StyledComponent<{
13
+ theme?: import('@emotion/react').Theme;
14
+ as?: React.ElementType;
15
+ } & IStyledIconPath, import('react').SVGProps<SVGPathElement>, {}>;
16
+ export {};
@@ -0,0 +1,2 @@
1
+ export { KeyNumber } from '.';
2
+ export type { KeyNumberProps } from '.';
@@ -0,0 +1,10 @@
1
+ import { CSSProperties } from 'react';
2
+ import { Theme } from '../../types/theme';
3
+ export type KeyNumberProps = {
4
+ label: string;
5
+ theme?: Theme;
6
+ suffix: string;
7
+ keyNumber: number;
8
+ styles?: CSSProperties;
9
+ };
10
+ export declare const KeyNumber: ({ label, suffix, keyNumber, styles, theme }: KeyNumberProps) => React.ReactElement;
@@ -0,0 +1,13 @@
1
+ import { CSSProperties } from 'react';
2
+ interface IStyledKeyNumber {
3
+ styles: CSSProperties;
4
+ }
5
+ export declare const StyledKeyNumber: import('@emotion/styled').StyledComponent<{
6
+ theme?: import('@emotion/react').Theme;
7
+ as?: React.ElementType;
8
+ } & IStyledKeyNumber, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
+ export declare const StyledKeyNumbersListItemNumber: import('@emotion/styled').StyledComponent<{
10
+ theme?: import('@emotion/react').Theme;
11
+ as?: React.ElementType;
12
+ }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
13
+ export {};
@@ -0,0 +1,2 @@
1
+ export { LanguageSwitcher } from '.';
2
+ export type { LanguageSwitcherProps } from '.';
@@ -0,0 +1,16 @@
1
+ import { CSSProperties } from 'react';
2
+ import { Theme } from '../../types/theme';
3
+ export type LanguageSwitcherProps = {
4
+ theme?: Theme;
5
+ locales: string[];
6
+ currentLocale: string;
7
+ translations: {
8
+ [locale: string]: string;
9
+ };
10
+ styles?: CSSProperties;
11
+ handleChange: (event: {
12
+ target: HTMLSelectElement;
13
+ }) => void;
14
+ };
15
+ export declare const LanguageSwitcher: ({ currentLocale, handleChange, locales, styles, theme, translations, }: LanguageSwitcherProps) => import("react").JSX.Element;
16
+ export default LanguageSwitcher;
@@ -0,0 +1,22 @@
1
+ import { CSSProperties } from 'react';
2
+ import { Theme } from '../../types/theme';
3
+ interface IStyledLanguageSwitcher {
4
+ theme: Theme;
5
+ styles: CSSProperties;
6
+ }
7
+ export declare const StyledLanguageSwitcher: import('@emotion/styled').StyledComponent<{
8
+ theme?: import('@emotion/react').Theme;
9
+ as?: React.ElementType;
10
+ } & IStyledLanguageSwitcher, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
11
+ export declare const StyledLanguageSwitcherIcon: import('@emotion/styled').StyledComponent<{
12
+ theme?: import('@emotion/react').Theme;
13
+ as?: React.ElementType;
14
+ }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
15
+ interface IStyledLanguageSwitcherSelect {
16
+ theme: Theme;
17
+ }
18
+ export declare const StyledLanguageSwitcherSelect: import('@emotion/styled').StyledComponent<{
19
+ theme?: import('@emotion/react').Theme;
20
+ as?: React.ElementType;
21
+ } & IStyledLanguageSwitcherSelect, import('react').DetailedHTMLProps<import('react').SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, {}>;
22
+ export {};
@@ -0,0 +1,2 @@
1
+ export { Logo } from '.';
2
+ export type { LogoProps } from '.';
@@ -0,0 +1,8 @@
1
+ import { CSSProperties } from 'react';
2
+ import { Theme } from '../../types/theme';
3
+ export type LogoProps = {
4
+ theme?: Theme;
5
+ styles?: CSSProperties;
6
+ children: React.ReactNode;
7
+ };
8
+ export declare const Logo: ({ children, styles, theme }: LogoProps) => import("react").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Logo } from '../../index';
3
+ declare const meta: Meta<typeof Logo>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
@@ -0,0 +1,11 @@
1
+ import { CSSProperties } from 'react';
2
+ import { Theme } from '../../types/theme';
3
+ interface IStyledLogo {
4
+ theme: Theme;
5
+ styles: CSSProperties;
6
+ }
7
+ export declare const StyledLogo: import('@emotion/styled').StyledComponent<{
8
+ theme?: import('@emotion/react').Theme;
9
+ as?: React.ElementType;
10
+ } & IStyledLogo, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
11
+ export {};
@@ -0,0 +1,2 @@
1
+ export { Main } from '.';
2
+ export type { MainProps } from '.';
@@ -0,0 +1,8 @@
1
+ import { CSSProperties } from 'react';
2
+ import { Theme } from '../../types/theme';
3
+ export type MainProps = {
4
+ theme?: Theme;
5
+ styles?: CSSProperties;
6
+ children: React.ReactNode;
7
+ };
8
+ export declare const Main: ({ children, styles, theme }: MainProps) => import("react").JSX.Element;
@@ -0,0 +1,13 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ children, styles, theme }: import('.').MainProps) => import("react").JSX.Element;
5
+ parameters: {
6
+ layout: string;
7
+ };
8
+ tags: string[];
9
+ argTypes: {};
10
+ };
11
+ export default meta;
12
+ type Story = StoryObj<typeof meta>;
13
+ export declare const Default: Story;
@@ -0,0 +1,11 @@
1
+ import { CSSProperties } from 'react';
2
+ import { Theme } from '../../types/theme';
3
+ interface IStyledMain {
4
+ theme: Theme;
5
+ styles: CSSProperties;
6
+ }
7
+ declare const StyledMain: import('@emotion/styled').StyledComponent<{
8
+ theme?: import('@emotion/react').Theme;
9
+ as?: React.ElementType;
10
+ } & IStyledMain, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
11
+ export default StyledMain;
@@ -0,0 +1,2 @@
1
+ export { Modal } from '.';
2
+ export type { ModalProps } from '.';
@@ -0,0 +1,11 @@
1
+ import { CSSProperties } from 'react';
2
+ import { Theme } from '../../types/theme';
3
+ import { Align } from './types';
4
+ export type ModalProps = {
5
+ theme?: Theme;
6
+ align?: Align;
7
+ styles?: CSSProperties;
8
+ onModalHide?: () => void;
9
+ children: React.ReactNode;
10
+ };
11
+ export declare const Modal: ({ children, styles, align, theme, onModalHide, }: ModalProps) => React.ReactElement;
@@ -0,0 +1,24 @@
1
+ import { CSSProperties } from 'react';
2
+ import { Theme } from '../../types/theme';
3
+ import { Align } from './types';
4
+ interface IStyledModal {
5
+ theme: Theme;
6
+ styles: CSSProperties;
7
+ }
8
+ export declare const StyledModal: import('@emotion/styled').StyledComponent<{
9
+ theme?: import('@emotion/react').Theme;
10
+ as?: React.ElementType;
11
+ } & IStyledModal, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
12
+ interface IStyledModalContent {
13
+ theme: Theme;
14
+ align: Align;
15
+ }
16
+ export declare const StyledModalContent: import('@emotion/styled').StyledComponent<{
17
+ theme?: import('@emotion/react').Theme;
18
+ as?: React.ElementType;
19
+ } & IStyledModalContent, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
20
+ export declare const StyledModalCloseButton: import('@emotion/styled').StyledComponent<{
21
+ theme?: import('@emotion/react').Theme;
22
+ as?: React.ElementType;
23
+ }, import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
24
+ export {};
@@ -0,0 +1,5 @@
1
+ export declare enum Align {
2
+ Center = 0,
3
+ Left = 1,
4
+ Right = 2
5
+ }
@@ -0,0 +1,2 @@
1
+ export { Nav } from '.';
2
+ export type { NavProps } from '.';
@@ -0,0 +1,8 @@
1
+ import { CSSProperties } from 'react';
2
+ import { Theme } from '../../types/theme';
3
+ export type NavProps = {
4
+ theme?: Theme;
5
+ styles?: CSSProperties;
6
+ children: React.ReactNode;
7
+ };
8
+ export declare const Nav: ({ children, styles, theme }: NavProps) => import("react").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Nav } from '../../index';
3
+ declare const meta: Meta<typeof Nav>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
@@ -0,0 +1,11 @@
1
+ import { CSSProperties } from 'react';
2
+ import { Theme } from '../../types/theme';
3
+ interface IStyledNavLegal {
4
+ theme: Theme;
5
+ styles: CSSProperties;
6
+ }
7
+ export declare const StyledNavLegal: import('@emotion/styled').StyledComponent<{
8
+ theme?: import('@emotion/react').Theme;
9
+ as?: React.ElementType;
10
+ } & IStyledNavLegal, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
11
+ export {};
@@ -0,0 +1,2 @@
1
+ export { NavLegal } from '.';
2
+ export type { NavLegalProps } from '.';
@@ -0,0 +1,8 @@
1
+ import { CSSProperties } from 'react';
2
+ import { Theme } from '../../types/theme';
3
+ export type NavLegalProps = {
4
+ theme?: Theme;
5
+ styles?: CSSProperties;
6
+ children: React.ReactNode;
7
+ };
8
+ export declare const NavLegal: ({ children, styles, theme }: NavLegalProps) => import("react").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { NavLegal } from '../../index';
3
+ declare const meta: Meta<typeof NavLegal>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
@@ -0,0 +1,11 @@
1
+ import { CSSProperties } from 'react';
2
+ import { Theme } from '../../types/theme';
3
+ interface IStyledNavLegal {
4
+ theme: Theme;
5
+ styles: CSSProperties;
6
+ }
7
+ export declare const StyledNavLegal: import('@emotion/styled').StyledComponent<{
8
+ theme?: import('@emotion/react').Theme;
9
+ as?: React.ElementType;
10
+ } & IStyledNavLegal, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
11
+ export {};
@@ -0,0 +1 @@
1
+ export type Social = 'instagram' | 'linkedIn' | 'facebook' | 'pinterest' | 'spotify' | 'X' | 'youtube' | 'tiktok';
@@ -0,0 +1,3 @@
1
+ export { NavSocial } from '.';
2
+ export type { NavSocialProps } from '.';
3
+ export type { Social as SocialType } from './types';
@@ -0,0 +1,12 @@
1
+ import { CSSProperties } from 'react';
2
+ import { Social } from './types';
3
+ import { Theme } from '../../types/theme';
4
+ export type NavSocialProps = {
5
+ theme?: Theme;
6
+ styles?: CSSProperties;
7
+ navSocial: {
8
+ name: Social;
9
+ link: string;
10
+ }[];
11
+ };
12
+ export declare const NavSocial: ({ navSocial, styles, theme }: NavSocialProps) => import("react").JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { NavSocial } from '../../index';
3
+ declare const meta: Meta<typeof NavSocial>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
@@ -0,0 +1,15 @@
1
+ import { CSSProperties } from 'react';
2
+ import { Theme } from '../../types/theme';
3
+ interface IStyledNavSocial {
4
+ theme: Theme;
5
+ styles: CSSProperties;
6
+ }
7
+ export declare const StyledNavSocial: import('@emotion/styled').StyledComponent<{
8
+ theme?: import('@emotion/react').Theme;
9
+ as?: React.ElementType;
10
+ } & IStyledNavSocial, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
11
+ export declare const StyledNavSocialLink: import('@emotion/styled').StyledComponent<{
12
+ theme?: import('@emotion/react').Theme;
13
+ as?: React.ElementType;
14
+ }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
15
+ export {};
@@ -0,0 +1 @@
1
+ export type Social = 'instagram' | 'linkedIn' | 'facebook' | 'pinterest' | 'spotify' | 'X' | 'youtube' | 'tiktok';
@@ -0,0 +1,2 @@
1
+ export { Section } from '.';
2
+ export type { SectionProps } from '.';
@@ -0,0 +1,18 @@
1
+ import { CSSProperties } from 'react';
2
+ import { Align } from './types';
3
+ import { Theme } from '../../types/theme';
4
+ export type SectionProps = {
5
+ id?: string;
6
+ theme?: Theme;
7
+ align?: Align;
8
+ zIndex?: number;
9
+ isDark?: boolean;
10
+ styles?: CSSProperties;
11
+ isFullHeight?: boolean;
12
+ noPaddingTop?: boolean;
13
+ children: React.ReactNode;
14
+ noPaddingBottom?: boolean;
15
+ backgroundColor?: string;
16
+ backgroundGradient?: string;
17
+ };
18
+ export declare const Section: ({ children, zIndex, styles, id, isDark, align, isFullHeight, noPaddingTop, backgroundColor, theme, noPaddingBottom, }: SectionProps) => import("react").JSX.Element;
@@ -0,0 +1,14 @@
1
+ import { StoryObj } from '@storybook/react';
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ children, zIndex, styles, id, isDark, align, isFullHeight, noPaddingTop, backgroundColor, theme, noPaddingBottom, }: import('.').SectionProps) => import("react").JSX.Element;
5
+ parameters: {
6
+ layout: string;
7
+ };
8
+ tags: string[];
9
+ argTypes: {};
10
+ };
11
+ export default meta;
12
+ type Story = StoryObj<typeof meta>;
13
+ export declare const Default: Story;
14
+ export declare const FullHeight: Story;
@@ -0,0 +1,22 @@
1
+ import { CSSProperties } from 'react';
2
+ import { Theme } from '../../types/theme';
3
+ import { Align } from './types';
4
+ interface IStyledSection {
5
+ align: Align;
6
+ theme: Theme;
7
+ zIndex: number;
8
+ isDark: boolean;
9
+ styles: CSSProperties;
10
+ isFullHeight: boolean;
11
+ noPaddingTop: boolean;
12
+ backgroundColor: string;
13
+ noPaddingBottom: boolean;
14
+ }
15
+ export declare const StyledSection: import('@emotion/styled').StyledComponent<{
16
+ theme?: import('@emotion/react').Theme;
17
+ as?: React.ElementType;
18
+ } & IStyledSection, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
19
+ export declare const StyledSectionContent: import('@emotion/styled').StyledComponent<Omit<import('framer-motion').HTMLMotionProps<"div">, "ref"> & import('react').RefAttributes<HTMLDivElement> & {
20
+ theme?: import('@emotion/react').Theme;
21
+ }, {}, {}>;
22
+ export {};
@@ -0,0 +1,5 @@
1
+ export declare enum Align {
2
+ Center = 0,
3
+ Left = 1,
4
+ Right = 2
5
+ }
@@ -0,0 +1,15 @@
1
+ declare const sectionVariants: {
2
+ hidden: {
3
+ opacity: number;
4
+ };
5
+ visible: {
6
+ opacity: number;
7
+ transition: {
8
+ delay: number;
9
+ bounce: number;
10
+ duration: number;
11
+ type: string;
12
+ };
13
+ };
14
+ };
15
+ export default sectionVariants;
@@ -0,0 +1,2 @@
1
+ export { Video } from '.';
2
+ export type { VideoProps } from '.';
@@ -0,0 +1,18 @@
1
+ import { CSSProperties } from 'react';
2
+ import { Theme } from '../../types/theme';
3
+ export type VideoProps = {
4
+ video: string;
5
+ theme?: Theme;
6
+ isAutoPlay?: boolean;
7
+ startMuted?: boolean;
8
+ onPlay?: () => void;
9
+ onClose?: () => void;
10
+ onEnded?: () => void;
11
+ poster?: string | null;
12
+ showControls?: boolean;
13
+ styles?: CSSProperties;
14
+ hidePlayButton?: boolean;
15
+ isVideoFullWidth?: boolean;
16
+ isPlayingFullScreen?: boolean;
17
+ };
18
+ export declare const Video: ({ video, isAutoPlay, styles, poster, startMuted, onPlay, onClose, onEnded, showControls, theme, hidePlayButton, isVideoFullWidth, isPlayingFullScreen, }: VideoProps) => React.ReactElement;