@latte-macchiat-io/latte-vanilla-components 0.0.125 → 0.0.126

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
- ._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
+ ._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,3 +1,4 @@
1
1
  export { Section } from '.';
2
2
  export type { SectionProps } from '.';
3
+ export { Align as SectionAlign } from './types';
3
4
  export { styles as SectionStyles } from './styles.css';
@@ -1,5 +1,5 @@
1
- import { Align } from './types';
2
1
  import { Theme } from '../../types/theme';
2
+ import { Align } from './types';
3
3
  export type SectionProps = {
4
4
  id?: string;
5
5
  theme?: Theme;
@@ -14,4 +14,4 @@ export type SectionProps = {
14
14
  backgroundColor?: string;
15
15
  backgroundGradient?: string;
16
16
  };
17
- export declare const Section: ({ children, className, zIndex, isDark, id, align, isFullHeight, backgroundColor, theme, }: SectionProps) => import("react").JSX.Element;
17
+ export declare const Section: ({ children, className, zIndex, id, isDark, align, isFullHeight, noPaddingTop, theme, backgroundColor, noPaddingBottom, }: 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, className, zIndex, isDark, id, align, isFullHeight, backgroundColor, theme, }: import('.').SectionProps) => import("react").JSX.Element;
4
+ component: ({ children, className, zIndex, id, isDark, align, isFullHeight, noPaddingTop, theme, backgroundColor, noPaddingBottom, }: import('.').SectionProps) => import("react").JSX.Element;
5
5
  parameters: {
6
6
  layout: string;
7
7
  };
@@ -12,3 +12,5 @@ export default meta;
12
12
  type Story = StoryObj<typeof meta>;
13
13
  export declare const Default: Story;
14
14
  export declare const FullHeight: Story;
15
+ export declare const AlignCenter: Story;
16
+ export declare const BackgroundColor: Story;
@@ -1,20 +1,12 @@
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;
1
+ export declare const sectionAlignVar: `var(--${string})`;
2
+ export declare const sectionZIndexVar: `var(--${string})`;
3
+ export declare const sectionColorVar: `var(--${string})`;
4
+ export declare const sectionPaddingTopVar: `var(--${string})`;
5
+ export declare const sectionPaddingLeftVar: `var(--${string})`;
6
+ export declare const sectionPaddingRightVar: `var(--${string})`;
7
+ export declare const sectionPaddingBottomVar: `var(--${string})`;
8
+ export declare const sectionMinHeightVar: `var(--${string})`;
9
+ export declare const sectionJustifyContentVar: `var(--${string})`;
10
+ export declare const sectionBackgroundColorVar: `var(--${string})`;
11
+ export declare const styles: string;
12
+ export declare const sectionContentStyles: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@latte-macchiat-io/latte-vanilla-components",
3
- "version": "0.0.125",
3
+ "version": "0.0.126",
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,22 +0,0 @@
1
- import { CSSProperties } from 'react';
2
- import { Theme } from '../../types/theme';
3
- import { Align } from './types';
4
- interface IStyledSection {
5
- align: Align;
6
- theme: Theme;
7
- zIndex: number;
8
- isDark: boolean;
9
- styles: CSSProperties;
10
- isFullHeight: boolean;
11
- noPaddingTop: boolean;
12
- backgroundColor: string;
13
- noPaddingBottom: boolean;
14
- }
15
- export declare const StyledSection: import('@emotion/styled').StyledComponent<{
16
- theme?: import('@emotion/react').Theme;
17
- as?: React.ElementType;
18
- } & IStyledSection, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, {}>;
19
- export declare const StyledSectionContent: import('@emotion/styled').StyledComponent<Omit<import('framer-motion').HTMLMotionProps<"div">, "ref"> & import('react').RefAttributes<HTMLDivElement> & {
20
- theme?: import('@emotion/react').Theme;
21
- }, {}, {}>;
22
- export {};