@latte-macchiat-io/latte-vanilla-components 0.0.132 → 0.0.134

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 (44) hide show
  1. package/dist/index.cjs.js +4 -4
  2. package/dist/index.es.js +2726 -3084
  3. package/dist/latte-vanilla-components.css +1 -1
  4. package/dist/types/components/Carousel/styles.css.d.ts +49 -0
  5. package/dist/types/components/Footer/export.d.ts +1 -0
  6. package/dist/types/components/Footer/index.d.ts +2 -3
  7. package/dist/types/components/Footer/styles.css.d.ts +10 -0
  8. package/dist/types/components/KeyNumber/export.d.ts +1 -0
  9. package/dist/types/components/KeyNumber/index.d.ts +2 -3
  10. package/dist/types/components/KeyNumber/styles.css.d.ts +7 -0
  11. package/dist/types/components/LanguageSwitcher/export.d.ts +1 -0
  12. package/dist/types/components/LanguageSwitcher/index.d.ts +2 -3
  13. package/dist/types/components/LanguageSwitcher/styles.css.d.ts +7 -0
  14. package/dist/types/components/Logo/export.d.ts +1 -0
  15. package/dist/types/components/Logo/index.d.ts +2 -3
  16. package/dist/types/components/Logo/styles.css.d.ts +5 -0
  17. package/dist/types/components/Modal/export.d.ts +1 -0
  18. package/dist/types/components/Modal/index.d.ts +2 -3
  19. package/dist/types/components/Modal/styles.css.d.ts +20 -0
  20. package/dist/types/components/Nav/export.d.ts +1 -0
  21. package/dist/types/components/Nav/index.d.ts +2 -3
  22. package/dist/types/components/Nav/styles.css.d.ts +5 -0
  23. package/dist/types/components/NavLegal/export.d.ts +1 -0
  24. package/dist/types/components/NavLegal/index.d.ts +2 -3
  25. package/dist/types/components/NavLegal/styles.css.d.ts +5 -0
  26. package/dist/types/components/NavSocial/export.d.ts +1 -0
  27. package/dist/types/components/NavSocial/index.d.ts +3 -4
  28. package/dist/types/components/NavSocial/styles.css.d.ts +6 -0
  29. package/dist/types/components/Video/index.d.ts +2 -3
  30. package/dist/types/components/Video/styles.css.d.ts +10 -0
  31. package/dist/types/components/VideoFullWidth/export.d.ts +1 -0
  32. package/dist/types/components/VideoFullWidth/index.d.ts +3 -4
  33. package/dist/types/components/VideoFullWidth/styles.css.d.ts +6 -0
  34. package/package.json +1 -1
  35. package/dist/types/components/Footer/styles.d.ts +0 -11
  36. package/dist/types/components/KeyNumber/styles.d.ts +0 -13
  37. package/dist/types/components/LanguageSwitcher/styles.d.ts +0 -22
  38. package/dist/types/components/Logo/styles.d.ts +0 -11
  39. package/dist/types/components/Modal/styles.d.ts +0 -24
  40. package/dist/types/components/Nav/styles.d.ts +0 -11
  41. package/dist/types/components/NavLegal/styles.d.ts +0 -11
  42. package/dist/types/components/NavSocial/styles.d.ts +0 -15
  43. package/dist/types/components/Video/styles.d.ts +0 -49
  44. package/dist/types/components/VideoFullWidth/styles.d.ts +0 -11
@@ -1 +1 @@
1
- ._1h0tdm5e{position:relative;display:inline-block;color:var(--_1h0tdm50);border:var(--_1h0tdm52);cursor:var(--_1h0tdm51);min-width:var(--_1h0tdm53);font-weight:var(--_1h0tdm54);transition:var(--_1h0tdm55);padding-top:var(--_1h0tdm56);padding-left:var(--_1h0tdm57);padding-right:var(--_1h0tdm58);padding-bottom:var(--_1h0tdm59);pointer-event:var(--_1h0tdm5a);border-radius:var(--_1h0tdm5b);letter-spacing:var(--_1h0tdm5c);background-color:var(--_1h0tdm5d)}._1h0tdm5e:hover{opacity:.5}._1v7zi9y5{width:100%;display:flex;flex-wrap:wrap;flex-direction:row;gap:var(--_1v7zi9y0);align-items:var(--_1v7zi9y1);padding-top:var(--_1v7zi9y2);padding-bottom:var(--_1v7zi9y3);justify-content:var(--_1v7zi9y4)}._1wp326d2{display:flex;background-color:var(--_1wp326d1);flex:1 1 auto;min-height:45vh;text-align:center;align-items:center;flex-direction:column;justify-content:center}@media (min-width: 768px){._1wp326d2{min-height:var(--_1wp326d0)}}.jqc4y0a{width:100%;display:flex;align-items:center;position:relative;flex-direction:column;animation:background .5s ease-in-out;color:var(--jqc4y02);z-index:var(--jqc4y01);min-height:var(--jqc4y07);padding-top:var(--jqc4y03);padding-left:var(--jqc4y04);padding-right:var(--jqc4y05);padding-bottom:var(--jqc4y06);background:var(--jqc4y09);justify-content:var(--jqc4y08)}.jqc4y0b{gap:15px;width:100%;display:flex;flex-direction:column;max-width:var(--max-width);text-align:var(--jqc4y00);align-items:var(--jqc4y00)}
1
+ ._1h0tdm5e{position:relative;display:inline-block;color:var(--_1h0tdm50);border:var(--_1h0tdm52);cursor:var(--_1h0tdm51);min-width:var(--_1h0tdm53);font-weight:var(--_1h0tdm54);transition:var(--_1h0tdm55);padding-top:var(--_1h0tdm56);padding-left:var(--_1h0tdm57);padding-right:var(--_1h0tdm58);padding-bottom:var(--_1h0tdm59);pointer-event:var(--_1h0tdm5a);border-radius:var(--_1h0tdm5b);letter-spacing:var(--_1h0tdm5c);background-color:var(--_1h0tdm5d)}._1h0tdm5e:hover{opacity:.5}._1v7zi9y5{width:100%;display:flex;flex-wrap:wrap;flex-direction:row;gap:var(--_1v7zi9y0);align-items:var(--_1v7zi9y1);padding-top:var(--_1v7zi9y2);padding-bottom:var(--_1v7zi9y3);justify-content:var(--_1v7zi9y4)}._18bqyaqe{z-index:100;position:fixed;width:100%;height:100%}._18bqyaqe:before{content:"";position:fixed;top:0;left:0;right:0;bottom:0;opacity:var(--_18bqyaq0);background-color:var(--_18bqyaq1);-webkit-backdrop-filter:blur(var(--_18bqyaq2));backdrop-filter:blur(var(--_18bqyaq2))}._18bqyaqf{0: _;1: 1;2: 8;3: b;4: q;5: y;6: a;7: q;8: e}._18bqyaqg{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:20;display:flex;flex-direction:column;text-align:var(--_18bqyaqa);width:var(--_18bqyaq3);max-width:var(--_18bqyaq8);max-height:var(--_18bqyaq9);padding-top:var(--_18bqyaq4);padding-bottom:var(--_18bqyaq5);padding-left:var(--_18bqyaq6);padding-right:var(--_18bqyaq7);background-color:var(--_18bqyaqb);border-radius:var(--_18bqyaqc);border:var(--_18bqyaqd)}._18bqyaqh{position:absolute;top:15px;right:15px;z-index:20;border:0;background-color:transparent;cursor:pointer;transition:all .5s ease-in-out}._18bqyaqh:hover{transform:scale(1.2)}._18hbdtx1{position:relative;width:100%;height:100%;max-height:var(--_18hbdtx0)}._18hbdtx2{0: _;1: 1;2: 8;3: h;4: b;5: d;6: t;7: x;8: 1}._18hbdtx3{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;opacity:0}._18hbdtx3 img{width:100%;height:100%;object-fit:cover}._18hbdtx4{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);cursor:pointer}._18hbdtx5{position:absolute;right:50px;bottom:10px;cursor:pointer}._18hbdtx6{position:absolute;top:15px;right:15px;cursor:pointer}._18hbdtx7{position:absolute;right:15px;bottom:15px;cursor:pointer}._13pkfbg1 img{width:100%;height:auto;max-width:var(--_13pkfbg0)}._13pkfbg2{0: _;1: 1;2: 3;3: p;4: k;5: f;6: b;7: g;8: 1}._177g97f1{display:flex;flex-direction:column}._177g97f2{font-size:1.2em;padding-bottom:var(--_177g97f0)}._177g97f2 span{font-size:2.5em;line-height:1em}._177g97f4{0: _;1: 1;2: 7;3: 7;4: g;5: 9;6: 7;7: f;8: 1}@media screen and (min-width: 768px){._177g97f3{padding-bottom:30px}}._29n9il2{height:0;width:100vw;overflow:hidden;position:relative;padding-bottom:56.25%;left:var(--_29n9il0);right:var(--_29n9il1)}._29n9il3{0: _;1: 2;2: 9;3: n;4: 9;5: i;6: l;7: 2}._9kkynw1{margin-left:auto;margin-right:auto;position:relative;width:var(--_9kkynw0)}._9kkynw2{right:30px;top:50%;position:absolute;transform:translateY(-50%)}._9kkynw3{width:100%;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:15px 30px}._9kkynw3:focus{outline:none}._9kkynw4{0: _;1: 9;2: k;3: k;4: y;5: n;6: w;7: 1}._1wp326d2{display:flex;background-color:var(--_1wp326d1);flex:1 1 auto;min-height:45vh;text-align:center;align-items:center;flex-direction:column;justify-content:center}@media screen and (min-width: 768px){._1wp326d2{min-height:var(--_1wp326d0)}}.fl7h886{z-index:20;display:flex;font-size:.8em;align-items:center;flex-direction:column;justify-content:space-between;gap:var(--fl7h880);background-color:var(--fl7h881);padding-top:var(--fl7h882);padding-bottom:var(--fl7h883);padding-left:var(--fl7h884);padding-right:var(--fl7h885)}.fl7h886 a{transition:all .5s ease-in-out}.fl7h886 a:hover{opacity:.5}.fl7h887{0: f;1: l;2: 7;3: h;4: 8;5: 8;6: 6}.jqc4y0a{width:100%;display:flex;align-items:center;position:relative;flex-direction:column;animation:background .5s ease-in-out;color:var(--jqc4y02);z-index:var(--jqc4y01);min-height:var(--jqc4y07);padding-top:var(--jqc4y03);padding-left:var(--jqc4y04);padding-right:var(--jqc4y05);padding-bottom:var(--jqc4y06);background:var(--jqc4y09);justify-content:var(--jqc4y08)}.jqc4y0b{gap:15px;width:100%;display:flex;flex-direction:column;max-width:var(--max-width);text-align:var(--jqc4y00);align-items:var(--jqc4y00)}._1h6zt341{display:flex;flex-direction:column;gap:var(--_1h6zt340)}._1h6zt342{0: _;1: 1;2: h;3: 6;4: z;5: t;6: 3;7: 4;8: 1}.g7q46n1{display:flex;flex-direction:row;margin-left:0;margin-right:0;gap:var(--g7q46n0)}.g7q46n2{display:flex;flex-direction:row}.g7q46n2 a{padding:10px}.g7q46n2 a svg path{transition:all .5s ease-in-out}.g7q46n2 a:hover svg path{opacity:.5}.g7q46n3{0: g;1: 7;2: q;3: 4;4: 6;5: n;6: 1}.vehv9e1{display:flex;flex-direction:row;gap:var(--vehv9e0)}.vehv9e2{0: v;1: e;2: h;3: v;4: 9;5: e;6: 1}
@@ -0,0 +1,49 @@
1
+ import { CSSProperties } from 'react';
2
+ import { Theme } from '../../types/theme';
3
+ interface IStyledCarousel {
4
+ styles: CSSProperties;
5
+ isFullWidth: boolean;
6
+ theme: Theme;
7
+ }
8
+ export declare const StyledCarousel: import('@emotion/styled').StyledComponent<{
9
+ theme?: import('@emotion/react').Theme;
10
+ as?: React.ElementType;
11
+ } & IStyledCarousel, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
12
+ export declare const StyledCarouselContent: import('@emotion/styled').StyledComponent<{
13
+ theme?: import('@emotion/react').Theme;
14
+ as?: React.ElementType;
15
+ }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
16
+ interface IStyledCarouselContentList {
17
+ gap: number;
18
+ left: number;
19
+ width: number;
20
+ }
21
+ export declare const StyledCarouselContentList: import('@emotion/styled').StyledComponent<{
22
+ theme?: import('@emotion/react').Theme;
23
+ as?: React.ElementType;
24
+ } & IStyledCarouselContentList, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
25
+ export declare const StyledCarouselContentListItem: import('@emotion/styled').StyledComponent<{
26
+ theme?: import('@emotion/react').Theme;
27
+ as?: React.ElementType;
28
+ }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
29
+ export declare const StyledCarouselNav: import('@emotion/styled').StyledComponent<{
30
+ theme?: import('@emotion/react').Theme;
31
+ as?: React.ElementType;
32
+ }, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
33
+ interface IStyledCarouselNavButton {
34
+ isDisabled: boolean;
35
+ }
36
+ export declare const StyledCarouselNavButton: import('@emotion/styled').StyledComponent<{
37
+ theme?: import('@emotion/react').Theme;
38
+ as?: React.ElementType;
39
+ } & IStyledCarouselNavButton, import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
40
+ export declare const carousselBulletStyle: string;
41
+ interface IStyledCarouselBulletItem {
42
+ theme: Theme;
43
+ isActive: boolean;
44
+ }
45
+ export declare const StyledCarouselBulletItem: import('@emotion/styled').StyledComponent<{
46
+ theme?: import('@emotion/react').Theme;
47
+ as?: React.ElementType;
48
+ } & IStyledCarouselBulletItem, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
49
+ export {};
@@ -1,2 +1,3 @@
1
1
  export { Footer } from '.';
2
2
  export type { FooterProps } from '.';
3
+ export { styles as FooterStyles } from './styles.css';
@@ -1,8 +1,7 @@
1
- import { CSSProperties } from 'react';
2
1
  import { Theme } from '../../types/theme';
2
+ import { WithClassName } from '../../types/withClassName';
3
3
  export type FooterProps = {
4
4
  theme?: Theme;
5
- styles?: CSSProperties;
6
5
  children: React.ReactNode;
7
6
  };
8
- export declare const Footer: ({ children, styles, theme }: FooterProps) => import("react").JSX.Element;
7
+ export declare const Footer: ({ children, className, theme }: FooterProps & WithClassName) => import("react").JSX.Element;
@@ -0,0 +1,10 @@
1
+ export declare const vars: {
2
+ footerGap: `var(--${string})`;
3
+ footerBackgroundColor: `var(--${string})`;
4
+ footerPaddingTop: `var(--${string})`;
5
+ footerPaddingBottom: `var(--${string})`;
6
+ footerPaddingLeft: `var(--${string})`;
7
+ footerPaddingRight: `var(--${string})`;
8
+ };
9
+ export declare const styles: string;
10
+ export declare const footerStyle: string;
@@ -1,2 +1,3 @@
1
1
  export { KeyNumber } from '.';
2
2
  export type { KeyNumberProps } from '.';
3
+ export { styles as KeyNumberStyles } from './styles.css';
@@ -1,10 +1,9 @@
1
- import { CSSProperties } from 'react';
2
1
  import { Theme } from '../../types/theme';
2
+ import { WithClassName } from '../../types/withClassName';
3
3
  export type KeyNumberProps = {
4
4
  label: string;
5
5
  theme?: Theme;
6
6
  suffix: string;
7
7
  keyNumber: number;
8
- styles?: CSSProperties;
9
8
  };
10
- export declare const KeyNumber: ({ label, suffix, keyNumber, styles, theme }: KeyNumberProps) => React.ReactElement;
9
+ export declare const KeyNumber: ({ label, suffix, keyNumber, className, theme, }: KeyNumberProps & WithClassName) => import("react").JSX.Element;
@@ -0,0 +1,7 @@
1
+ export declare const vars: {
2
+ keyNumberPaddingBottom: `var(--${string})`;
3
+ };
4
+ export declare const styles: string;
5
+ export declare const keyNumbersListItemNumberStyle: string;
6
+ export declare const keyNumbersListItemNumberResponsive: string;
7
+ export declare const keyNumberFinalStyle: string;
@@ -1,2 +1,3 @@
1
1
  export { LanguageSwitcher } from '.';
2
2
  export type { LanguageSwitcherProps } from '.';
3
+ export { styles as LanguageSwitcherStyles } from './styles.css';
@@ -1,5 +1,5 @@
1
- import { CSSProperties } from 'react';
2
1
  import { Theme } from '../../types/theme';
2
+ import { WithClassName } from '../../types/withClassName';
3
3
  export type LanguageSwitcherProps = {
4
4
  theme?: Theme;
5
5
  locales: string[];
@@ -7,10 +7,9 @@ export type LanguageSwitcherProps = {
7
7
  translations: {
8
8
  [locale: string]: string;
9
9
  };
10
- styles?: CSSProperties;
11
10
  handleChange: (event: {
12
11
  target: HTMLSelectElement;
13
12
  }) => void;
14
13
  };
15
- export declare const LanguageSwitcher: ({ currentLocale, handleChange, locales, styles, theme, translations, }: LanguageSwitcherProps) => import("react").JSX.Element;
14
+ export declare const LanguageSwitcher: ({ currentLocale, handleChange, locales, theme, className, translations, }: LanguageSwitcherProps & WithClassName) => import("react").JSX.Element;
16
15
  export default LanguageSwitcher;
@@ -0,0 +1,7 @@
1
+ export declare const vars: {
2
+ languageSwitcherWidth: `var(--${string})`;
3
+ };
4
+ export declare const styles: string;
5
+ export declare const languageSwitcherIconStyle: string;
6
+ export declare const languageSwitcherSelectStyle: string;
7
+ export declare const languageSwitcherFinalStyle: string;
@@ -1,2 +1,3 @@
1
1
  export { Logo } from '.';
2
2
  export type { LogoProps } from '.';
3
+ export { styles as LogoStyles } from './styles.css';
@@ -1,8 +1,7 @@
1
- import { CSSProperties } from 'react';
1
+ import { WithClassName } from '../../types/withClassName';
2
2
  import { Theme } from '../../types/theme';
3
3
  export type LogoProps = {
4
4
  theme?: Theme;
5
- styles?: CSSProperties;
6
5
  children: React.ReactNode;
7
6
  };
8
- export declare const Logo: ({ children, styles, theme }: LogoProps) => import("react").JSX.Element;
7
+ export declare const Logo: ({ children, theme, className }: LogoProps & WithClassName) => import("react").JSX.Element;
@@ -0,0 +1,5 @@
1
+ export declare const vars: {
2
+ imgMaxWidth: `var(--${string})`;
3
+ };
4
+ export declare const styles: string;
5
+ export declare const logoStyle: string;
@@ -1,2 +1,3 @@
1
1
  export { Modal } from '.';
2
2
  export type { ModalProps } from '.';
3
+ export { styles as ModalStyles } from './styles.css';
@@ -1,11 +1,10 @@
1
- import { CSSProperties } from 'react';
2
1
  import { Theme } from '../../types/theme';
2
+ import { WithClassName } from '../../types/withClassName';
3
3
  import { Align } from './types';
4
4
  export type ModalProps = {
5
5
  theme?: Theme;
6
6
  align?: Align;
7
- styles?: CSSProperties;
8
7
  onModalHide?: () => void;
9
8
  children: React.ReactNode;
10
9
  };
11
- export declare const Modal: ({ children, styles, align, theme, onModalHide, }: ModalProps) => React.ReactElement;
10
+ export declare const Modal: ({ children, align, theme, onModalHide, className, }: ModalProps & WithClassName) => import("react").JSX.Element;
@@ -0,0 +1,20 @@
1
+ export declare const vars: {
2
+ overlayOpacity: `var(--${string})`;
3
+ overlayBackgroundColor: `var(--${string})`;
4
+ overlayBlur: `var(--${string})`;
5
+ modalWidth: `var(--${string})`;
6
+ modalPaddingTop: `var(--${string})`;
7
+ modalPaddingBottom: `var(--${string})`;
8
+ modalPaddingLeft: `var(--${string})`;
9
+ modalPaddingRight: `var(--${string})`;
10
+ modalMaxWidth: `var(--${string})`;
11
+ modalMaxHeight: `var(--${string})`;
12
+ modalContentTextAlign: `var(--${string})`;
13
+ modalContentBackgroundColor: `var(--${string})`;
14
+ modalContentBorderRadius: `var(--${string})`;
15
+ modalContentBorders: `var(--${string})`;
16
+ };
17
+ export declare const styles: string;
18
+ export declare const modalStyle: string;
19
+ export declare const modalContentStyle: string;
20
+ export declare const modalCloseButtonStyle: string;
@@ -1,2 +1,3 @@
1
1
  export { Nav } from '.';
2
2
  export type { NavProps } from '.';
3
+ export { styles as NavStyles } from './styles.css';
@@ -1,8 +1,7 @@
1
- import { CSSProperties } from 'react';
2
1
  import { Theme } from '../../types/theme';
2
+ import { WithClassName } from '../../types/withClassName';
3
3
  export type NavProps = {
4
4
  theme?: Theme;
5
- styles?: CSSProperties;
6
5
  children: React.ReactNode;
7
6
  };
8
- export declare const Nav: ({ children, styles, theme }: NavProps) => import("react").JSX.Element;
7
+ export declare const Nav: ({ children, theme, className }: NavProps & WithClassName) => import("react").JSX.Element;
@@ -0,0 +1,5 @@
1
+ export declare const vars: {
2
+ navGap: `var(--${string})`;
3
+ };
4
+ export declare const styles: string;
5
+ export declare const navStyle: string;
@@ -1,2 +1,3 @@
1
1
  export { NavLegal } from '.';
2
2
  export type { NavLegalProps } from '.';
3
+ export { styles as NavLegalStyles } from './styles.css';
@@ -1,8 +1,7 @@
1
- import { CSSProperties } from 'react';
2
1
  import { Theme } from '../../types/theme';
2
+ import { WithClassName } from '../../types/withClassName';
3
3
  export type NavLegalProps = {
4
4
  theme?: Theme;
5
- styles?: CSSProperties;
6
5
  children: React.ReactNode;
7
6
  };
8
- export declare const NavLegal: ({ children, styles, theme }: NavLegalProps) => import("react").JSX.Element;
7
+ export declare const NavLegal: ({ children, className, theme }: NavLegalProps & WithClassName) => import("react").JSX.Element;
@@ -0,0 +1,5 @@
1
+ export declare const vars: {
2
+ navLegalGap: `var(--${string})`;
3
+ };
4
+ export declare const styles: string;
5
+ export declare const navLegalStyle: string;
@@ -1,3 +1,4 @@
1
1
  export { NavSocial } from '.';
2
2
  export type { NavSocialProps } from '.';
3
3
  export type { Social as SocialType } from './types';
4
+ export { styles as NavSocialStyles } from './styles.css';
@@ -1,12 +1,11 @@
1
- import { CSSProperties } from 'react';
2
- import { Social } from './types';
3
1
  import { Theme } from '../../types/theme';
2
+ import { WithClassName } from '../../types/withClassName';
3
+ import { Social } from './types';
4
4
  export type NavSocialProps = {
5
5
  theme?: Theme;
6
- styles?: CSSProperties;
7
6
  navSocial: {
8
7
  name: Social;
9
8
  link: string;
10
9
  }[];
11
10
  };
12
- export declare const NavSocial: ({ navSocial, styles, theme }: NavSocialProps) => import("react").JSX.Element;
11
+ export declare const NavSocial: ({ navSocial, className, theme }: NavSocialProps & WithClassName) => import("react").JSX.Element;
@@ -0,0 +1,6 @@
1
+ export declare const vars: {
2
+ navSocialGap: `var(--${string})`;
3
+ };
4
+ export declare const styles: string;
5
+ export declare const navSocialLinkStyle: string;
6
+ export declare const navSocialStyle: string;
@@ -1,5 +1,5 @@
1
- import { CSSProperties } from 'react';
2
1
  import { Theme } from '../../types/theme';
2
+ import { WithClassName } from '../../types/withClassName';
3
3
  export type VideoProps = {
4
4
  video: string;
5
5
  theme?: Theme;
@@ -10,9 +10,8 @@ export type VideoProps = {
10
10
  onEnded?: () => void;
11
11
  poster?: string | null;
12
12
  showControls?: boolean;
13
- styles?: CSSProperties;
14
13
  hidePlayButton?: boolean;
15
14
  isVideoFullWidth?: boolean;
16
15
  isPlayingFullScreen?: boolean;
17
16
  };
18
- export declare const Video: ({ video, isAutoPlay, styles, poster, startMuted, onPlay, onClose, onEnded, showControls, theme, hidePlayButton, isVideoFullWidth, isPlayingFullScreen, }: VideoProps) => React.ReactElement;
17
+ export declare const Video: ({ video, isAutoPlay, poster, startMuted, onPlay, onClose, onEnded, showControls, theme, hidePlayButton, isVideoFullWidth, isPlayingFullScreen, className, }: VideoProps & WithClassName) => import("react").JSX.Element;
@@ -0,0 +1,10 @@
1
+ export declare const vars: {
2
+ videoMaxHeight: `var(--${string})`;
3
+ };
4
+ export declare const styles: string;
5
+ export declare const videoStyle: string;
6
+ export declare const videoPosterStyle: string;
7
+ export declare const playButtonStyle: string;
8
+ export declare const pauseButtonStyle: string;
9
+ export declare const closeButtonStyle: string;
10
+ export declare const soundButtonStyle: string;
@@ -1,2 +1,3 @@
1
1
  export { VideoFullWidth } from '.';
2
2
  export type { VideoFullWidthProps } from '.';
3
+ export { styles as VideoFullWidthStyles } from './styles.css';
@@ -1,12 +1,11 @@
1
- import { CSSProperties } from 'react';
2
1
  import { Theme } from '../../types/theme';
2
+ import { WithClassName } from '../../types/withClassName';
3
3
  export type VideoFullWidthProps = {
4
- video: string;
5
4
  theme?: Theme;
5
+ video: string;
6
6
  poster?: string;
7
7
  isAutoPlay?: boolean;
8
8
  startMuted?: boolean;
9
9
  showControls?: boolean;
10
- styles?: CSSProperties;
11
10
  };
12
- export declare const VideoFullWidth: ({ video, poster, isAutoPlay, styles, showControls, startMuted, theme, }: VideoFullWidthProps) => React.ReactElement;
11
+ export declare const VideoFullWidth: ({ video, poster, className, isAutoPlay, showControls, startMuted, theme, }: VideoFullWidthProps & WithClassName) => import("react").JSX.Element;
@@ -0,0 +1,6 @@
1
+ export declare const vars: {
2
+ videoFullWidthLeft: `var(--${string})`;
3
+ videoFullWidthRight: `var(--${string})`;
4
+ };
5
+ export declare const styles: string;
6
+ export declare const videoFullWidthStyles: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@latte-macchiat-io/latte-vanilla-components",
3
- "version": "0.0.132",
3
+ "version": "0.0.134",
4
4
  "description": "Beautiful components for amazing projects, with a touch of Vanilla 🥤",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
@@ -1,11 +0,0 @@
1
- import { CSSProperties } from 'react';
2
- import { Theme } from '../../types/theme';
3
- interface IStyledFooter {
4
- theme: Theme;
5
- styles: CSSProperties;
6
- }
7
- export declare const StyledFooter: import('@emotion/styled').StyledComponent<{
8
- theme?: import('@emotion/react').Theme;
9
- as?: React.ElementType;
10
- } & IStyledFooter, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
11
- export {};
@@ -1,13 +0,0 @@
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 {};
@@ -1,22 +0,0 @@
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 {};
@@ -1,11 +0,0 @@
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 {};
@@ -1,24 +0,0 @@
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 {};
@@ -1,11 +0,0 @@
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 {};
@@ -1,11 +0,0 @@
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 {};
@@ -1,15 +0,0 @@
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 {};
@@ -1,49 +0,0 @@
1
- import { CSSProperties } from 'react';
2
- import { Theme } from '../../types/theme';
3
- interface IStyledVideo {
4
- styles: CSSProperties;
5
- isVideoFullWidth: boolean;
6
- }
7
- export declare const StyledVideo: import('@emotion/styled').StyledComponent<{
8
- theme?: import('@emotion/react').Theme;
9
- as?: React.ElementType;
10
- } & IStyledVideo, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
11
- interface IStyledVideoPoster {
12
- isPlaying: boolean;
13
- }
14
- export declare const StyledVideoPoster: import('@emotion/styled').StyledComponent<{
15
- theme?: import('@emotion/react').Theme;
16
- as?: React.ElementType;
17
- } & IStyledVideoPoster, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
18
- interface IStyledVideoFullWidthPauseButton {
19
- theme: Theme;
20
- }
21
- export declare const StyledVideoFullWidthCloseButton: import('@emotion/styled').StyledComponent<{
22
- theme?: import('@emotion/react').Theme;
23
- as?: React.ElementType;
24
- } & IStyledVideoFullWidthPauseButton, import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
25
- interface IStyledVideoFullWidthPlayButton {
26
- theme: Theme;
27
- isPlaying: boolean;
28
- }
29
- export declare const StyledVideoFullWidthPlayButton: import('@emotion/styled').StyledComponent<{
30
- theme?: import('@emotion/react').Theme;
31
- as?: React.ElementType;
32
- } & IStyledVideoFullWidthPlayButton, import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
33
- interface IStyledVideoFullWidthPauseButton {
34
- theme: Theme;
35
- isPlaying: boolean;
36
- }
37
- export declare const StyledVideoFullWidthPauseButton: import('@emotion/styled').StyledComponent<{
38
- theme?: import('@emotion/react').Theme;
39
- as?: React.ElementType;
40
- } & IStyledVideoFullWidthPauseButton, import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
41
- interface IStyledVideoFullWidthSoundButton {
42
- theme: Theme;
43
- isMuted: boolean;
44
- }
45
- export declare const StyledVideoFullWidthSoundButton: import('@emotion/styled').StyledComponent<{
46
- theme?: import('@emotion/react').Theme;
47
- as?: React.ElementType;
48
- } & IStyledVideoFullWidthSoundButton, import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
49
- export {};
@@ -1,11 +0,0 @@
1
- import { CSSProperties } from 'react';
2
- import { Theme } from '../../types/theme';
3
- interface IStyledVideoFullWidth {
4
- theme: Theme;
5
- styles: CSSProperties;
6
- }
7
- export declare const StyledVideoFullWidth: import('@emotion/styled').StyledComponent<{
8
- theme?: import('@emotion/react').Theme;
9
- as?: React.ElementType;
10
- } & IStyledVideoFullWidth, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
11
- export {};