@latte-macchiat-io/latte-vanilla-components 0.0.133 → 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.
@@ -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)}._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}._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}._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)}.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}
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}
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@latte-macchiat-io/latte-vanilla-components",
3
- "version": "0.0.133",
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,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 {};