@latte-macchiat-io/latte-vanilla-components 0.0.123 → 0.0.125
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 +3116 -5996
- package/dist/latte-vanilla-components.css +1 -1
- package/dist/types/components/Main/index.d.ts +2 -2
- package/dist/types/components/Main/stories.d.ts +1 -1
- package/dist/types/components/Main/styles.css.d.ts +1 -1
- package/dist/types/components/Section/export.d.ts +1 -0
- package/dist/types/components/Section/index.d.ts +2 -3
- package/dist/types/components/Section/stories.d.ts +1 -1
- package/dist/types/components/Section/styles.css.d.ts +20 -0
- package/package.json +1 -1
@@ -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)}}
|
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)}}.jqc4y06{width:100%;display:flex;color:var(--jqc4y02);align-items:center;position:relative;z-index:var(--jqc4y01);flex-direction:column;min-height:var(--jqc4y03);background:var(--jqc4y05);justify-content:var(--jqc4y04);animation:background .5s ease-in-out}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Theme } from '../../types/theme';
|
2
2
|
export type MainProps = {
|
3
3
|
theme?: Theme;
|
4
|
-
|
4
|
+
className: string;
|
5
5
|
children: React.ReactNode;
|
6
6
|
};
|
7
|
-
export declare const Main: ({ children, theme
|
7
|
+
export declare const Main: ({ className, children, theme }: MainProps) => 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: ({ children, theme
|
4
|
+
component: ({ className, children, theme }: import('.').MainProps) => import("react").JSX.Element;
|
5
5
|
parameters: {
|
6
6
|
layout: string;
|
7
7
|
};
|
@@ -1,4 +1,3 @@
|
|
1
|
-
import { CSSProperties } from 'react';
|
2
1
|
import { Align } from './types';
|
3
2
|
import { Theme } from '../../types/theme';
|
4
3
|
export type SectionProps = {
|
@@ -7,7 +6,7 @@ export type SectionProps = {
|
|
7
6
|
align?: Align;
|
8
7
|
zIndex?: number;
|
9
8
|
isDark?: boolean;
|
10
|
-
|
9
|
+
className: string;
|
11
10
|
isFullHeight?: boolean;
|
12
11
|
noPaddingTop?: boolean;
|
13
12
|
children: React.ReactNode;
|
@@ -15,4 +14,4 @@ export type SectionProps = {
|
|
15
14
|
backgroundColor?: string;
|
16
15
|
backgroundGradient?: string;
|
17
16
|
};
|
18
|
-
export declare const Section: ({ children, zIndex,
|
17
|
+
export declare const Section: ({ children, className, zIndex, isDark, id, align, isFullHeight, backgroundColor, theme, }: SectionProps) => 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: ({ children, zIndex,
|
4
|
+
component: ({ children, className, zIndex, isDark, id, align, isFullHeight, backgroundColor, theme, }: import('.').SectionProps) => import("react").JSX.Element;
|
5
5
|
parameters: {
|
6
6
|
layout: string;
|
7
7
|
};
|
@@ -0,0 +1,20 @@
|
|
1
|
+
export declare const sectionAlign: `var(--${string})`;
|
2
|
+
export declare const sectionZIndex: `var(--${string})`;
|
3
|
+
export declare const sectionColor: `var(--${string})`;
|
4
|
+
export declare const sectionMinHeight: `var(--${string})`;
|
5
|
+
export declare const sectionJustifyContent: `var(--${string})`;
|
6
|
+
export declare const sectionBackgroundColor: `var(--${string})`;
|
7
|
+
export declare const styles: {
|
8
|
+
width: string;
|
9
|
+
display: string;
|
10
|
+
color: `var(--${string})`;
|
11
|
+
alignItems: string;
|
12
|
+
position: string;
|
13
|
+
zIndex: `var(--${string})`;
|
14
|
+
flexDirection: string;
|
15
|
+
minHeight: `var(--${string})`;
|
16
|
+
background: `var(--${string})`;
|
17
|
+
justifyContent: `var(--${string})`;
|
18
|
+
animation: string;
|
19
|
+
};
|
20
|
+
export declare const sectionStyle: string;
|
package/package.json
CHANGED