@latte-macchiat-io/latte-vanilla-components 0.0.128 → 0.0.130
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +4 -4
- package/dist/index.es.js +1170 -1184
- package/dist/latte-vanilla-components.css +1 -1
- package/dist/types/components/Actions/export.d.ts +1 -0
- package/dist/types/components/Actions/index.d.ts +3 -4
- package/dist/types/components/Actions/styles.css.d.ts +17 -0
- package/dist/types/components/Main/index.d.ts +1 -1
- package/dist/types/components/Main/stories.d.ts +1 -1
- package/package.json +1 -1
- package/dist/types/components/Actions/styles.d.ts +0 -13
- package/dist/types/components/Main/styles.d.ts +0 -11
@@ -1 +1 @@
|
|
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 (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
|
+
._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,10 +1,9 @@
|
|
1
|
-
import { CSSProperties } from 'react';
|
2
|
-
import { Align } from './types';
|
3
1
|
import { Theme } from '../../types/theme';
|
2
|
+
import { WithClassName } from '../../types/withClassName';
|
3
|
+
import { Align } from './types';
|
4
4
|
export type ActionsProps = {
|
5
5
|
align?: Align;
|
6
6
|
theme?: Theme;
|
7
|
-
styles?: CSSProperties;
|
8
7
|
children: React.ReactNode;
|
9
8
|
};
|
10
|
-
export declare const Actions: ({ children,
|
9
|
+
export declare const Actions: ({ children, className, theme, align }: ActionsProps & WithClassName) => import("react").JSX.Element;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare const actionGapVar: `var(--${string})`;
|
2
|
+
export declare const actionAlignVar: `var(--${string})`;
|
3
|
+
export declare const actionPaddingTopVar: `var(--${string})`;
|
4
|
+
export declare const actionPaddingBottomVar: `var(--${string})`;
|
5
|
+
export declare const actionJustifyContentVar: `var(--${string})`;
|
6
|
+
export declare const styles: {
|
7
|
+
width: string;
|
8
|
+
display: string;
|
9
|
+
flexWrap: string;
|
10
|
+
flexDirection: string;
|
11
|
+
gap: `var(--${string})`;
|
12
|
+
alignItems: `var(--${string})`;
|
13
|
+
paddingTop: `var(--${string})`;
|
14
|
+
paddingBottom: `var(--${string})`;
|
15
|
+
justifyContent: `var(--${string})`;
|
16
|
+
};
|
17
|
+
export declare const actionsStyle: string;
|
@@ -4,4 +4,4 @@ export type MainProps = {
|
|
4
4
|
theme?: Theme;
|
5
5
|
children: React.ReactNode;
|
6
6
|
};
|
7
|
-
export declare const Main: ({
|
7
|
+
export declare const Main: ({ children, className, theme }: MainProps & WithClassName) => import("react").JSX.Element;
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { StoryObj } from '@storybook/react';
|
2
2
|
declare const meta: {
|
3
3
|
title: string;
|
4
|
-
component: ({
|
4
|
+
component: ({ children, className, theme }: import('.').MainProps & import('../../types/withClassName').WithClassName) => import("react").JSX.Element;
|
5
5
|
parameters: {
|
6
6
|
layout: string;
|
7
7
|
};
|
package/package.json
CHANGED
@@ -1,13 +0,0 @@
|
|
1
|
-
import { CSSProperties } from 'react';
|
2
|
-
import { Align } from './types';
|
3
|
-
import { Theme } from '../../types/theme';
|
4
|
-
interface IStyledActions {
|
5
|
-
align: Align;
|
6
|
-
theme: Theme;
|
7
|
-
styles: CSSProperties;
|
8
|
-
}
|
9
|
-
export declare const StyledActions: import('@emotion/styled').StyledComponent<{
|
10
|
-
theme?: import('@emotion/react').Theme;
|
11
|
-
as?: React.ElementType;
|
12
|
-
} & IStyledActions, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
13
|
-
export {};
|
@@ -1,11 +0,0 @@
|
|
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;
|