@latte-macchiat-io/latte-vanilla-components 0.0.118 → 0.0.119
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 +1 -1
- package/dist/index.es.js +568 -566
- package/dist/latte-vanilla-components.css +1 -1
- package/dist/types/components/Main/index.d.ts +1 -3
- package/dist/types/components/Main/stories.d.ts +1 -1
- package/dist/types/components/Main/styles.css.d.ts +0 -1
- package/package.json +1 -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,8 +1,6 @@
|
|
1
|
-
import { CSSProperties } from 'react';
|
2
1
|
import { Theme } from '../../types/theme';
|
3
2
|
export type MainProps = {
|
4
3
|
theme?: Theme;
|
5
|
-
styles?: CSSProperties;
|
6
4
|
children: React.ReactNode;
|
7
5
|
};
|
8
|
-
export declare const Main: ({ children,
|
6
|
+
export declare const Main: ({ 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,
|
4
|
+
component: ({ children, theme }: import('.').MainProps) => import("react").JSX.Element;
|
5
5
|
parameters: {
|
6
6
|
layout: string;
|
7
7
|
};
|
package/package.json
CHANGED