@latte-macchiat-io/latte-vanilla-components 0.0.175 → 0.0.177
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/package.json +12 -23
- package/src/assets/styles/default-theme.ts +312 -0
- package/src/components/Button/stories.ts +127 -0
- package/src/components/Columns/stories.ts +35 -0
- package/src/components/Icon/path.ts +36 -0
- package/src/components/Icon/stories.ts +29 -0
- package/src/components/Main/stories.ts +33 -0
- package/src/components/Section/stories.ts +64 -0
- package/{dist/types/index.d.ts → src/index.ts} +38 -0
- package/src/styles/mediaqueries.ts +17 -0
- package/src/theme/baseThemeValues.ts +160 -0
- package/src/theme/index.ts +6 -0
- package/src/theme/utils.ts +76 -0
- package/src/types/theme.ts +295 -0
- package/src/types/withClassName.ts +3 -0
- package/src/utils/cookie.ts +24 -0
- package/src/utils/deep-merge-objects.ts +15 -0
- package/src/utils/use-breakpoint-key.ts +30 -0
- package/src/utils/use-window-size.ts +37 -0
- package/dist/components/Actions/Actions.css.ts +0 -113
- package/dist/components/Button/Button.css.ts +0 -119
- package/dist/components/Carousel/Carousel.css.ts +0 -179
- package/dist/components/Columns/Columns.css.ts +0 -185
- package/dist/components/ConsentCookie/ConsentCookie.css.ts +0 -167
- package/dist/components/Footer/Footer.css.ts +0 -108
- package/dist/components/Form/Form.css.ts +0 -64
- package/dist/components/Form/Row/Row.css.ts +0 -70
- package/dist/components/Form/TextField/Input/Input.css.ts +0 -106
- package/dist/components/Form/TextField/Label/Label.css.ts +0 -58
- package/dist/components/Form/TextField/TextField.css.ts +0 -139
- package/dist/components/Form/TextField/Textarea/Textarea.css.ts +0 -121
- package/dist/components/Header/Header.css.ts +0 -111
- package/dist/components/Header/HeaderOverlay/styles.css.ts +0 -33
- package/dist/components/Header/ToggleNav/styles.css.ts +0 -40
- package/dist/components/Icon/Icon.css.ts +0 -102
- package/dist/components/KeyNumber/KeyNumber.css.ts +0 -158
- package/dist/components/LanguageSwitcher/LanguageSwitcher.css.ts +0 -120
- package/dist/components/Logo/Logo.css.ts +0 -98
- package/dist/components/Main/Main.css.ts +0 -62
- package/dist/components/Modal/Modal.css.ts +0 -203
- package/dist/components/Nav/Nav.css.ts +0 -123
- package/dist/components/NavLegal/NavLegal.css.ts +0 -121
- package/dist/components/NavSocial/NavSocial.css.ts +0 -121
- package/dist/components/Section/Section.css.ts +0 -101
- package/dist/components/Video/Video.css.ts +0 -210
- package/dist/components/VideoFullWidth/VideoFullWidth.css.ts +0 -50
- package/dist/index.cjs.js +0 -2
- package/dist/index.es.js +0 -6813
- package/dist/styles/sprinkles.css.ts +0 -84
- package/dist/theme/contract.css.ts +0 -83
- package/dist/types/components/Actions/Actions.css.d.ts +0 -74
- package/dist/types/components/Actions/Actions.d.ts +0 -7
- package/dist/types/components/Actions/export.d.ts +0 -0
- package/dist/types/components/Actions/stories.d.ts +0 -0
- package/dist/types/components/Button/Button.css.d.ts +0 -65
- package/dist/types/components/Button/Button.d.ts +0 -8
- package/dist/types/components/Button/export.d.ts +0 -0
- package/dist/types/components/Button/stories.d.ts +0 -0
- package/dist/types/components/Carousel/Carousel.css.d.ts +0 -33
- package/dist/types/components/Carousel/Carousel.d.ts +0 -15
- package/dist/types/components/Carousel/export.d.ts +0 -0
- package/dist/types/components/Columns/Columns.css.d.ts +0 -104
- package/dist/types/components/Columns/Columns.d.ts +0 -8
- package/dist/types/components/Columns/export.d.ts +0 -0
- package/dist/types/components/Columns/stories.d.ts +0 -0
- package/dist/types/components/ConsentCookie/ConsentCookie.css.d.ts +0 -15
- package/dist/types/components/ConsentCookie/ConsentCookie.d.ts +0 -17
- package/dist/types/components/ConsentCookie/export.d.ts +0 -0
- package/dist/types/components/ConsentCookie/stories.d.ts +0 -0
- package/dist/types/components/Footer/Footer.css.d.ts +0 -50
- package/dist/types/components/Footer/Footer.d.ts +0 -7
- package/dist/types/components/Footer/export.d.ts +0 -0
- package/dist/types/components/Footer/stories.d.ts +0 -6
- package/dist/types/components/Form/Form.css.d.ts +0 -46
- package/dist/types/components/Form/Form.d.ts +0 -7
- package/dist/types/components/Form/Row/Row.css.d.ts +0 -51
- package/dist/types/components/Form/Row/Row.d.ts +0 -9
- package/dist/types/components/Form/Row/index.d.ts +0 -0
- package/dist/types/components/Form/Row/stories.d.ts +0 -0
- package/dist/types/components/Form/TextField/Input/Input.css.d.ts +0 -32
- package/dist/types/components/Form/TextField/Input/Input.d.ts +0 -10
- package/dist/types/components/Form/TextField/Input/export.d.ts +0 -0
- package/dist/types/components/Form/TextField/Label/Label.css.d.ts +0 -23
- package/dist/types/components/Form/TextField/Label/Label.d.ts +0 -9
- package/dist/types/components/Form/TextField/Label/export.d.ts +0 -0
- package/dist/types/components/Form/TextField/TextField.css.d.ts +0 -19
- package/dist/types/components/Form/TextField/TextField.d.ts +0 -21
- package/dist/types/components/Form/TextField/Textarea/Textarea.css.d.ts +0 -56
- package/dist/types/components/Form/TextField/Textarea/Textarea.d.ts +0 -8
- package/dist/types/components/Form/TextField/Textarea/export.d.ts +0 -0
- package/dist/types/components/Form/TextField/Textarea/stories.d.ts +0 -0
- package/dist/types/components/Form/TextField/export.d.ts +0 -0
- package/dist/types/components/Form/export.d.ts +0 -0
- package/dist/types/components/Header/Header.css.d.ts +0 -36
- package/dist/types/components/Header/Header.d.ts +0 -11
- package/dist/types/components/Header/HeaderOverlay/index.d.ts +0 -7
- package/dist/types/components/Header/HeaderOverlay/styles.css.d.ts +0 -5
- package/dist/types/components/Header/ToggleNav/index.d.ts +0 -9
- package/dist/types/components/Header/ToggleNav/styles.css.d.ts +0 -5
- package/dist/types/components/Header/export.d.ts +0 -0
- package/dist/types/components/Header/stories.d.ts +0 -6
- package/dist/types/components/Icon/Icon.css.d.ts +0 -45
- package/dist/types/components/Icon/Icon.d.ts +0 -12
- package/dist/types/components/Icon/export.d.ts +0 -0
- package/dist/types/components/Icon/path.d.ts +0 -19
- package/dist/types/components/Icon/stories.d.ts +0 -0
- package/dist/types/components/KeyNumber/KeyNumber.css.d.ts +0 -40
- package/dist/types/components/KeyNumber/KeyNumber.d.ts +0 -15
- package/dist/types/components/KeyNumber/export.d.ts +0 -0
- package/dist/types/components/LanguageSwitcher/LanguageSwitcher.css.d.ts +0 -18
- package/dist/types/components/LanguageSwitcher/LanguageSwitcher.d.ts +0 -16
- package/dist/types/components/LanguageSwitcher/export.d.ts +0 -0
- package/dist/types/components/Logo/Logo.css.d.ts +0 -54
- package/dist/types/components/Logo/Logo.d.ts +0 -8
- package/dist/types/components/Logo/export.d.ts +0 -0
- package/dist/types/components/Logo/stories.d.ts +0 -6
- package/dist/types/components/Main/Main.css.d.ts +0 -32
- package/dist/types/components/Main/Main.d.ts +0 -7
- package/dist/types/components/Main/export.d.ts +0 -0
- package/dist/types/components/Main/stories.d.ts +0 -0
- package/dist/types/components/Modal/Modal.css.d.ts +0 -82
- package/dist/types/components/Modal/Modal.d.ts +0 -15
- package/dist/types/components/Modal/export.d.ts +0 -0
- package/dist/types/components/Modal/types.d.ts +0 -5
- package/dist/types/components/Nav/Nav.css.d.ts +0 -52
- package/dist/types/components/Nav/Nav.d.ts +0 -7
- package/dist/types/components/Nav/export.d.ts +0 -0
- package/dist/types/components/Nav/stories.d.ts +0 -6
- package/dist/types/components/NavLegal/NavLegal.css.d.ts +0 -57
- package/dist/types/components/NavLegal/NavLegal.d.ts +0 -7
- package/dist/types/components/NavLegal/export.d.ts +0 -0
- package/dist/types/components/NavLegal/stories.d.ts +0 -6
- package/dist/types/components/NavLegal/types.d.ts +0 -1
- package/dist/types/components/NavSocial/NavSocial.css.d.ts +0 -30
- package/dist/types/components/NavSocial/NavSocial.d.ts +0 -15
- package/dist/types/components/NavSocial/export.d.ts +0 -0
- package/dist/types/components/NavSocial/stories.d.ts +0 -0
- package/dist/types/components/NavSocial/types.d.ts +0 -1
- package/dist/types/components/Section/Section.css.d.ts +0 -60
- package/dist/types/components/Section/Section.d.ts +0 -7
- package/dist/types/components/Section/export.d.ts +0 -0
- package/dist/types/components/Section/stories.d.ts +0 -0
- package/dist/types/components/ToRemove/ToRemove.d.ts +0 -1
- package/dist/types/components/Video/Video.css.d.ts +0 -43
- package/dist/types/components/Video/Video.d.ts +0 -17
- package/dist/types/components/Video/export.d.ts +0 -0
- package/dist/types/components/VideoFullWidth/VideoFullWidth.css.d.ts +0 -18
- package/dist/types/components/VideoFullWidth/VideoFullWidth.d.ts +0 -14
- package/dist/types/components/VideoFullWidth/export.d.ts +0 -0
- package/dist/types/utils/cookie.d.ts +0 -2
- package/dist/types/utils/deep-merge-objects.d.ts +0 -2
- package/dist/types/utils/theme.css.d.ts +0 -173
- package/dist/types/utils/use-breakpoint-key.d.ts +0 -1
- package/dist/types/utils/use-window-size.d.ts +0 -5
- package/dist/utils/theme.css.ts +0 -129
@@ -1,84 +0,0 @@
|
|
1
|
-
import { createSprinkles, defineProperties } from '@vanilla-extract/sprinkles';
|
2
|
-
import { queries } from './mediaqueries';
|
3
|
-
import { themeContract } from '../theme';
|
4
|
-
|
5
|
-
const responsiveProperties = defineProperties({
|
6
|
-
conditions: {
|
7
|
-
mobile: {},
|
8
|
-
sm: { '@media': queries.sm },
|
9
|
-
md: { '@media': queries.md },
|
10
|
-
lg: { '@media': queries.lg },
|
11
|
-
xl: { '@media': queries.xl },
|
12
|
-
'2xl': { '@media': queries['2xl'] },
|
13
|
-
},
|
14
|
-
defaultCondition: 'mobile',
|
15
|
-
|
16
|
-
properties: {
|
17
|
-
// Spacing
|
18
|
-
padding: themeContract.space,
|
19
|
-
paddingTop: themeContract.space,
|
20
|
-
paddingBottom: themeContract.space,
|
21
|
-
paddingLeft: themeContract.space,
|
22
|
-
paddingRight: themeContract.space,
|
23
|
-
margin: themeContract.space,
|
24
|
-
marginTop: themeContract.space,
|
25
|
-
marginBottom: themeContract.space,
|
26
|
-
marginLeft: themeContract.space,
|
27
|
-
marginRight: themeContract.space,
|
28
|
-
gap: themeContract.space,
|
29
|
-
|
30
|
-
// Layout
|
31
|
-
display: ['none', 'block', 'inline', 'inline-block', 'flex', 'inline-flex', 'grid', 'inline-grid'],
|
32
|
-
flexDirection: ['row', 'column', 'row-reverse', 'column-reverse'],
|
33
|
-
// alignItems: ['stretch', 'flex-start', 'center', 'flex-end', 'baseline'],
|
34
|
-
justifyContent: ['flex-start', 'center', 'flex-end', 'space-between', 'space-around', 'space-evenly'],
|
35
|
-
flexWrap: ['nowrap', 'wrap', 'wrap-reverse'],
|
36
|
-
flex: ['1', 'auto', 'initial', 'none'],
|
37
|
-
|
38
|
-
// Dimensions
|
39
|
-
width: ['auto', '100%', '50%', '33.333333%', '25%', 'fit-content', 'min-content', 'max-content'],
|
40
|
-
height: ['auto', '100%', '100vh', 'fit-content', 'min-content', 'max-content'],
|
41
|
-
minWidth: ['0', '100%', 'fit-content', 'min-content', 'max-content'],
|
42
|
-
maxWidth: [themeContract.maxWidth],
|
43
|
-
minHeight: ['0', '100%', '100vh'],
|
44
|
-
|
45
|
-
// Position
|
46
|
-
position: ['static', 'relative', 'absolute', 'fixed', 'sticky'],
|
47
|
-
top: themeContract.space,
|
48
|
-
bottom: themeContract.space,
|
49
|
-
left: themeContract.space,
|
50
|
-
right: themeContract.space,
|
51
|
-
zIndex: [0, 10, 20, 30, 40, 50],
|
52
|
-
|
53
|
-
// Typography
|
54
|
-
fontSize: themeContract.fontSizes,
|
55
|
-
fontFamily: themeContract.fonts,
|
56
|
-
lineHeight: themeContract.lineHeights,
|
57
|
-
textAlign: ['left', 'center', 'right', 'justify'],
|
58
|
-
fontWeight: ['normal', 'bold', '100', '200', '300', '400', '500', '600', '700', '800', '900'],
|
59
|
-
|
60
|
-
// Colors
|
61
|
-
color: themeContract.colors,
|
62
|
-
backgroundColor: themeContract.colors,
|
63
|
-
|
64
|
-
// Border
|
65
|
-
borderRadius: themeContract.radii,
|
66
|
-
borderWidth: ['0', '1px', '2px', '4px'],
|
67
|
-
borderStyle: ['none', 'solid', 'dashed', 'dotted'],
|
68
|
-
borderColor: themeContract.colors,
|
69
|
-
|
70
|
-
// Effects
|
71
|
-
boxShadow: themeContract.shadows,
|
72
|
-
opacity: ['0', '0.25', '0.5', '0.75', '1'],
|
73
|
-
|
74
|
-
// Overflow
|
75
|
-
overflow: ['visible', 'hidden', 'scroll', 'auto'],
|
76
|
-
overflowX: ['visible', 'hidden', 'scroll', 'auto'],
|
77
|
-
overflowY: ['visible', 'hidden', 'scroll', 'auto'],
|
78
|
-
},
|
79
|
-
});
|
80
|
-
|
81
|
-
// Export both configuration and function for consumer customization
|
82
|
-
export { responsiveProperties };
|
83
|
-
export const sprinkles = createSprinkles(responsiveProperties);
|
84
|
-
export type Sprinkles = Parameters<typeof sprinkles>[0];
|
@@ -1,83 +0,0 @@
|
|
1
|
-
import { createGlobalThemeContract } from '@vanilla-extract/css';
|
2
|
-
|
3
|
-
// Define a theme contract with design tokens using createGlobalThemeContract
|
4
|
-
// This enables predictable CSS variable names for external consumption and runtime overrides
|
5
|
-
export const themeContract = createGlobalThemeContract({
|
6
|
-
colors: {
|
7
|
-
primary: null,
|
8
|
-
secondary: null,
|
9
|
-
accent: null,
|
10
|
-
background: null,
|
11
|
-
surface: null,
|
12
|
-
text: null,
|
13
|
-
textSecondary: null,
|
14
|
-
textLight: null,
|
15
|
-
border: null,
|
16
|
-
error: null,
|
17
|
-
warning: null,
|
18
|
-
success: null,
|
19
|
-
info: null,
|
20
|
-
},
|
21
|
-
space: {
|
22
|
-
none: null,
|
23
|
-
xs: null,
|
24
|
-
sm: null,
|
25
|
-
md: null,
|
26
|
-
lg: null,
|
27
|
-
xl: null,
|
28
|
-
'2xl': null,
|
29
|
-
},
|
30
|
-
radii: {
|
31
|
-
none: null,
|
32
|
-
sm: null,
|
33
|
-
md: null,
|
34
|
-
lg: null,
|
35
|
-
xl: null,
|
36
|
-
full: null,
|
37
|
-
},
|
38
|
-
fonts: {
|
39
|
-
body: null,
|
40
|
-
heading: null,
|
41
|
-
mono: null,
|
42
|
-
},
|
43
|
-
fontSizes: {
|
44
|
-
xs: null,
|
45
|
-
sm: null,
|
46
|
-
md: null,
|
47
|
-
lg: null,
|
48
|
-
xl: null,
|
49
|
-
'2xl': null,
|
50
|
-
'3xl': null,
|
51
|
-
'4xl': null,
|
52
|
-
},
|
53
|
-
fontWeights: {
|
54
|
-
light: null,
|
55
|
-
normal: null,
|
56
|
-
medium: null,
|
57
|
-
semibold: null,
|
58
|
-
bold: null,
|
59
|
-
},
|
60
|
-
lineHeights: {
|
61
|
-
tight: null,
|
62
|
-
normal: null,
|
63
|
-
relaxed: null,
|
64
|
-
},
|
65
|
-
shadows: {
|
66
|
-
none: null,
|
67
|
-
sm: null,
|
68
|
-
md: null,
|
69
|
-
lg: null,
|
70
|
-
xl: null,
|
71
|
-
},
|
72
|
-
maxWidth: null,
|
73
|
-
section: {
|
74
|
-
paddingTop: null,
|
75
|
-
paddingBottom: null,
|
76
|
-
},
|
77
|
-
header: {
|
78
|
-
height: null,
|
79
|
-
},
|
80
|
-
footer: {
|
81
|
-
height: null,
|
82
|
-
},
|
83
|
-
}, (value) => `latte-${value}`);
|
@@ -1,74 +0,0 @@
|
|
1
|
-
import { RecipeVariants } from '@vanilla-extract/recipes';
|
2
|
-
export declare const actionsRecipe: import('@vanilla-extract/recipes').RuntimeFn<{
|
3
|
-
align: {
|
4
|
-
left: {
|
5
|
-
justifyContent: "flex-start";
|
6
|
-
alignItems: "flex-start";
|
7
|
-
};
|
8
|
-
center: {
|
9
|
-
justifyContent: "center";
|
10
|
-
alignItems: "center";
|
11
|
-
};
|
12
|
-
right: {
|
13
|
-
justifyContent: "flex-end";
|
14
|
-
alignItems: "flex-end";
|
15
|
-
};
|
16
|
-
};
|
17
|
-
direction: {
|
18
|
-
row: {
|
19
|
-
flexDirection: "row";
|
20
|
-
};
|
21
|
-
column: {
|
22
|
-
flexDirection: "column";
|
23
|
-
};
|
24
|
-
'row-reverse': {
|
25
|
-
flexDirection: "row-reverse";
|
26
|
-
};
|
27
|
-
'column-reverse': {
|
28
|
-
flexDirection: "column-reverse";
|
29
|
-
};
|
30
|
-
};
|
31
|
-
spacing: {
|
32
|
-
none: {
|
33
|
-
gap: "0";
|
34
|
-
paddingTop: "0";
|
35
|
-
};
|
36
|
-
xs: {
|
37
|
-
gap: `var(--${string})`;
|
38
|
-
paddingTop: `var(--${string})`;
|
39
|
-
};
|
40
|
-
sm: {
|
41
|
-
gap: `var(--${string})`;
|
42
|
-
paddingTop: `var(--${string})`;
|
43
|
-
};
|
44
|
-
md: {
|
45
|
-
gap: `var(--${string})`;
|
46
|
-
paddingTop: `var(--${string})`;
|
47
|
-
};
|
48
|
-
lg: {
|
49
|
-
gap: `var(--${string})`;
|
50
|
-
paddingTop: `var(--${string})`;
|
51
|
-
};
|
52
|
-
xl: {
|
53
|
-
gap: `var(--${string})`;
|
54
|
-
paddingTop: `var(--${string})`;
|
55
|
-
};
|
56
|
-
};
|
57
|
-
wrap: {
|
58
|
-
true: {
|
59
|
-
flexWrap: "wrap";
|
60
|
-
};
|
61
|
-
false: {
|
62
|
-
flexWrap: "nowrap";
|
63
|
-
};
|
64
|
-
};
|
65
|
-
fullWidth: {
|
66
|
-
true: {
|
67
|
-
width: "100%";
|
68
|
-
};
|
69
|
-
false: {
|
70
|
-
width: "auto";
|
71
|
-
};
|
72
|
-
};
|
73
|
-
}>;
|
74
|
-
export type ActionsVariants = RecipeVariants<typeof actionsRecipe>;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { ActionsVariants } from './Actions.css';
|
2
|
-
import { Sprinkles } from '../../styles/sprinkles.css';
|
3
|
-
export interface ActionsProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color'>, Sprinkles, NonNullable<ActionsVariants> {
|
4
|
-
css?: string;
|
5
|
-
as?: 'div' | 'section' | 'footer';
|
6
|
-
}
|
7
|
-
export declare const Actions: import('react').ForwardRefExoticComponent<ActionsProps & import('react').RefAttributes<HTMLDivElement>>;
|
File without changes
|
File without changes
|
@@ -1,65 +0,0 @@
|
|
1
|
-
import { RecipeVariants } from '@vanilla-extract/recipes';
|
2
|
-
export declare const buttonRecipe: import('@vanilla-extract/recipes').RuntimeFn<{
|
3
|
-
variant: {
|
4
|
-
primary: {
|
5
|
-
backgroundColor: `var(--${string})`;
|
6
|
-
color: `var(--${string})`;
|
7
|
-
':hover': {
|
8
|
-
backgroundColor: `var(--${string})`;
|
9
|
-
};
|
10
|
-
};
|
11
|
-
secondary: {
|
12
|
-
backgroundColor: `var(--${string})`;
|
13
|
-
color: `var(--${string})`;
|
14
|
-
':hover': {
|
15
|
-
backgroundColor: `var(--${string})`;
|
16
|
-
};
|
17
|
-
};
|
18
|
-
outline: {
|
19
|
-
backgroundColor: "transparent";
|
20
|
-
color: `var(--${string})`;
|
21
|
-
border: `1px solid var(--${string})`;
|
22
|
-
':hover': {
|
23
|
-
backgroundColor: `var(--${string})`;
|
24
|
-
borderColor: `var(--${string})`;
|
25
|
-
};
|
26
|
-
};
|
27
|
-
ghost: {
|
28
|
-
backgroundColor: "transparent";
|
29
|
-
color: `var(--${string})`;
|
30
|
-
':hover': {
|
31
|
-
backgroundColor: `var(--${string})`;
|
32
|
-
};
|
33
|
-
};
|
34
|
-
danger: {
|
35
|
-
backgroundColor: `var(--${string})`;
|
36
|
-
color: `var(--${string})`;
|
37
|
-
':hover': {
|
38
|
-
opacity: "0.9";
|
39
|
-
};
|
40
|
-
};
|
41
|
-
};
|
42
|
-
size: {
|
43
|
-
sm: {
|
44
|
-
padding: `var(--${string}) var(--${string})`;
|
45
|
-
fontSize: `var(--${string})`;
|
46
|
-
borderRadius: `var(--${string})`;
|
47
|
-
};
|
48
|
-
md: {
|
49
|
-
padding: `var(--${string}) var(--${string})`;
|
50
|
-
fontSize: `var(--${string})`;
|
51
|
-
borderRadius: `var(--${string})`;
|
52
|
-
};
|
53
|
-
lg: {
|
54
|
-
padding: `var(--${string}) var(--${string})`;
|
55
|
-
fontSize: `var(--${string})`;
|
56
|
-
borderRadius: `var(--${string})`;
|
57
|
-
};
|
58
|
-
};
|
59
|
-
fullWidth: {
|
60
|
-
true: {
|
61
|
-
width: "100%";
|
62
|
-
};
|
63
|
-
};
|
64
|
-
}>;
|
65
|
-
export type ButtonVariants = RecipeVariants<typeof buttonRecipe>;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { ButtonVariants } from './Button.css';
|
2
|
-
import { Sprinkles } from '../../styles/sprinkles.css';
|
3
|
-
export interface ButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'color'>, Sprinkles, NonNullable<ButtonVariants> {
|
4
|
-
css?: string;
|
5
|
-
isPending?: boolean;
|
6
|
-
asChild?: boolean;
|
7
|
-
}
|
8
|
-
export declare const Button: import('react').ForwardRefExoticComponent<ButtonProps & import('react').RefAttributes<HTMLButtonElement>>;
|
File without changes
|
File without changes
|
@@ -1,33 +0,0 @@
|
|
1
|
-
import { RecipeVariants } from '@vanilla-extract/recipes';
|
2
|
-
declare const carouselContent: string;
|
3
|
-
declare const carouselSlide: string;
|
4
|
-
declare const carouselItem: string;
|
5
|
-
declare const carouselNav: string;
|
6
|
-
declare const carouselNavButton: string;
|
7
|
-
declare const carouselBullets: string;
|
8
|
-
declare const carouselBullet: string;
|
9
|
-
export declare const carouselRecipe: import('@vanilla-extract/recipes').RuntimeFn<{
|
10
|
-
fullWidth: {
|
11
|
-
true: {
|
12
|
-
width: "100vw";
|
13
|
-
marginLeft: `calc((100vw - var(--${string})) / -2)`;
|
14
|
-
marginRight: `calc((100vw - var(--${string})) / -2)`;
|
15
|
-
'@media': {
|
16
|
-
[x: string]: {
|
17
|
-
marginLeft: `calc(-1 * var(--${string}))`;
|
18
|
-
marginRight: `calc(-1 * var(--${string}))`;
|
19
|
-
};
|
20
|
-
'screen and (max-width: 1500px)': {
|
21
|
-
marginLeft: `calc(-1 * var(--${string}))`;
|
22
|
-
marginRight: `calc(-1 * var(--${string}))`;
|
23
|
-
};
|
24
|
-
};
|
25
|
-
};
|
26
|
-
false: {
|
27
|
-
width: "100%";
|
28
|
-
};
|
29
|
-
};
|
30
|
-
}>;
|
31
|
-
declare const carouselBulletActive: string;
|
32
|
-
export { carouselContent, carouselSlide, carouselItem, carouselNav, carouselNavButton, carouselBullets, carouselBullet, carouselBulletActive };
|
33
|
-
export type CarouselVariants = RecipeVariants<typeof carouselRecipe>;
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { ReactNode } from 'react';
|
2
|
-
import { CarouselVariants } from './Carousel.css';
|
3
|
-
import { Sprinkles } from '../../styles/sprinkles.css';
|
4
|
-
export interface CarouselProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color' | 'gap'>, Sprinkles, NonNullable<CarouselVariants> {
|
5
|
-
css?: string;
|
6
|
-
data: ReactNode[];
|
7
|
-
itemsPerView?: number;
|
8
|
-
showNavButtons?: boolean;
|
9
|
-
showBullets?: boolean;
|
10
|
-
autoplay?: boolean;
|
11
|
-
autoplayInterval?: number;
|
12
|
-
gap?: any;
|
13
|
-
as?: 'div' | 'section';
|
14
|
-
}
|
15
|
-
export declare const Carousel: import('react').ForwardRefExoticComponent<CarouselProps & import('react').RefAttributes<HTMLDivElement>>;
|
File without changes
|
@@ -1,104 +0,0 @@
|
|
1
|
-
import { RecipeVariants } from '@vanilla-extract/recipes';
|
2
|
-
declare const columnWidths: {
|
3
|
-
1: string;
|
4
|
-
2: string;
|
5
|
-
3: string;
|
6
|
-
4: string;
|
7
|
-
6: string;
|
8
|
-
12: string;
|
9
|
-
};
|
10
|
-
export declare const columnsRecipe: import('@vanilla-extract/recipes').RuntimeFn<{
|
11
|
-
align: {
|
12
|
-
left: {
|
13
|
-
textAlign: "left";
|
14
|
-
justifyContent: "flex-start";
|
15
|
-
};
|
16
|
-
center: {
|
17
|
-
textAlign: "center";
|
18
|
-
justifyContent: "center";
|
19
|
-
};
|
20
|
-
right: {
|
21
|
-
textAlign: "right";
|
22
|
-
justifyContent: "flex-end";
|
23
|
-
};
|
24
|
-
};
|
25
|
-
spacing: {
|
26
|
-
none: {
|
27
|
-
gap: "0";
|
28
|
-
};
|
29
|
-
sm: {
|
30
|
-
gap: `var(--${string})`;
|
31
|
-
'@media': {
|
32
|
-
[x: string]: {
|
33
|
-
gap: `var(--${string})`;
|
34
|
-
};
|
35
|
-
};
|
36
|
-
};
|
37
|
-
md: {
|
38
|
-
gap: `var(--${string})`;
|
39
|
-
'@media': {
|
40
|
-
[x: string]: {
|
41
|
-
gap: `var(--${string})`;
|
42
|
-
};
|
43
|
-
};
|
44
|
-
};
|
45
|
-
lg: {
|
46
|
-
gap: `var(--${string})`;
|
47
|
-
'@media': {
|
48
|
-
[x: string]: {
|
49
|
-
gap: `var(--${string})`;
|
50
|
-
};
|
51
|
-
};
|
52
|
-
};
|
53
|
-
};
|
54
|
-
wrap: {
|
55
|
-
true: {
|
56
|
-
flexWrap: "wrap";
|
57
|
-
};
|
58
|
-
false: {
|
59
|
-
flexWrap: "nowrap";
|
60
|
-
};
|
61
|
-
};
|
62
|
-
reverse: {
|
63
|
-
true: {
|
64
|
-
'@media': {
|
65
|
-
[x: string]: {
|
66
|
-
flexDirection: "row-reverse";
|
67
|
-
};
|
68
|
-
};
|
69
|
-
};
|
70
|
-
false: {};
|
71
|
-
};
|
72
|
-
alignItems: {
|
73
|
-
start: {
|
74
|
-
'@media': {
|
75
|
-
[x: string]: {
|
76
|
-
alignItems: "flex-start";
|
77
|
-
};
|
78
|
-
};
|
79
|
-
};
|
80
|
-
center: {
|
81
|
-
'@media': {
|
82
|
-
[x: string]: {
|
83
|
-
alignItems: "center";
|
84
|
-
};
|
85
|
-
};
|
86
|
-
};
|
87
|
-
end: {
|
88
|
-
'@media': {
|
89
|
-
[x: string]: {
|
90
|
-
alignItems: "flex-end";
|
91
|
-
};
|
92
|
-
};
|
93
|
-
};
|
94
|
-
stretch: {
|
95
|
-
'@media': {
|
96
|
-
[x: string]: {
|
97
|
-
alignItems: "stretch";
|
98
|
-
};
|
99
|
-
};
|
100
|
-
};
|
101
|
-
};
|
102
|
-
}>;
|
103
|
-
export { columnWidths };
|
104
|
-
export type ColumnsVariants = RecipeVariants<typeof columnsRecipe>;
|
@@ -1,8 +0,0 @@
|
|
1
|
-
import { ColumnsVariants, columnWidths } from './Columns.css';
|
2
|
-
import { Sprinkles } from '../../styles/sprinkles.css';
|
3
|
-
export interface ColumnsProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color'>, Sprinkles, NonNullable<ColumnsVariants> {
|
4
|
-
css?: string;
|
5
|
-
columns?: (keyof typeof columnWidths)[];
|
6
|
-
as?: 'div' | 'section' | 'article';
|
7
|
-
}
|
8
|
-
export declare const Columns: import('react').ForwardRefExoticComponent<ColumnsProps & import('react').RefAttributes<HTMLDivElement>>;
|
File without changes
|
File without changes
|
@@ -1,15 +0,0 @@
|
|
1
|
-
import { RecipeVariants } from '@vanilla-extract/recipes';
|
2
|
-
declare const consentContent: string;
|
3
|
-
declare const consentActions: string;
|
4
|
-
export declare const consentRecipe: import('@vanilla-extract/recipes').RuntimeFn<{
|
5
|
-
variant: {
|
6
|
-
modal: {};
|
7
|
-
banner: {
|
8
|
-
'::before': {
|
9
|
-
display: "none";
|
10
|
-
};
|
11
|
-
};
|
12
|
-
};
|
13
|
-
}>;
|
14
|
-
export { consentContent, consentActions };
|
15
|
-
export type ConsentCookieVariants = RecipeVariants<typeof consentRecipe>;
|
@@ -1,17 +0,0 @@
|
|
1
|
-
import { ConsentCookieVariants } from './ConsentCookie.css';
|
2
|
-
import { Sprinkles } from '../../styles/sprinkles.css';
|
3
|
-
export interface ConsentCookieProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color'>, Sprinkles, NonNullable<ConsentCookieVariants> {
|
4
|
-
css?: string;
|
5
|
-
cookieName?: string;
|
6
|
-
cookieExpirationDays?: number;
|
7
|
-
onAccept?: () => void;
|
8
|
-
onReject?: () => void;
|
9
|
-
translations?: {
|
10
|
-
actions: {
|
11
|
-
accept: string;
|
12
|
-
reject: string;
|
13
|
-
};
|
14
|
-
};
|
15
|
-
enableGoogleAnalytics?: boolean;
|
16
|
-
}
|
17
|
-
export declare const ConsentCookie: import('react').ForwardRefExoticComponent<ConsentCookieProps & import('react').RefAttributes<HTMLDivElement>>;
|
File without changes
|
File without changes
|
@@ -1,50 +0,0 @@
|
|
1
|
-
import { RecipeVariants } from '@vanilla-extract/recipes';
|
2
|
-
export declare const footerRecipe: import('@vanilla-extract/recipes').RuntimeFn<{
|
3
|
-
variant: {
|
4
|
-
default: {
|
5
|
-
backgroundColor: `var(--${string})`;
|
6
|
-
borderTop: `1px solid var(--${string})`;
|
7
|
-
};
|
8
|
-
dark: {
|
9
|
-
backgroundColor: `var(--${string})`;
|
10
|
-
color: `var(--${string})`;
|
11
|
-
borderTop: `1px solid var(--${string})`;
|
12
|
-
};
|
13
|
-
minimal: {
|
14
|
-
backgroundColor: "transparent";
|
15
|
-
borderTop: "none";
|
16
|
-
};
|
17
|
-
};
|
18
|
-
size: {
|
19
|
-
sm: {
|
20
|
-
paddingTop: `var(--${string})`;
|
21
|
-
paddingBottom: `var(--${string})`;
|
22
|
-
fontSize: `var(--${string})`;
|
23
|
-
};
|
24
|
-
md: {
|
25
|
-
paddingTop: `var(--${string})`;
|
26
|
-
paddingBottom: `var(--${string})`;
|
27
|
-
fontSize: `var(--${string})`;
|
28
|
-
};
|
29
|
-
lg: {
|
30
|
-
paddingTop: `var(--${string})`;
|
31
|
-
paddingBottom: `var(--${string})`;
|
32
|
-
fontSize: `var(--${string})`;
|
33
|
-
};
|
34
|
-
};
|
35
|
-
layout: {
|
36
|
-
stacked: {
|
37
|
-
flexDirection: "column";
|
38
|
-
textAlign: "center";
|
39
|
-
};
|
40
|
-
horizontal: {
|
41
|
-
'@media': {
|
42
|
-
[x: string]: {
|
43
|
-
flexDirection: "row";
|
44
|
-
textAlign: "left";
|
45
|
-
};
|
46
|
-
};
|
47
|
-
};
|
48
|
-
};
|
49
|
-
}>;
|
50
|
-
export type FooterVariants = RecipeVariants<typeof footerRecipe>;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { FooterVariants } from './Footer.css';
|
2
|
-
import { Sprinkles } from '../../styles/sprinkles.css';
|
3
|
-
export interface FooterProps extends Omit<React.HTMLAttributes<HTMLElement>, 'color'>, Sprinkles, NonNullable<FooterVariants> {
|
4
|
-
css?: string;
|
5
|
-
as?: 'footer' | 'div';
|
6
|
-
}
|
7
|
-
export declare const Footer: import('react').ForwardRefExoticComponent<FooterProps & import('react').RefAttributes<HTMLElement>>;
|
File without changes
|
@@ -1,46 +0,0 @@
|
|
1
|
-
import { RecipeVariants } from '@vanilla-extract/recipes';
|
2
|
-
export declare const formRecipe: import('@vanilla-extract/recipes').RuntimeFn<{
|
3
|
-
spacing: {
|
4
|
-
none: {
|
5
|
-
gap: number;
|
6
|
-
};
|
7
|
-
sm: {
|
8
|
-
display: "flex";
|
9
|
-
flexDirection: "column";
|
10
|
-
gap: `var(--${string})`;
|
11
|
-
};
|
12
|
-
md: {
|
13
|
-
display: "flex";
|
14
|
-
flexDirection: "column";
|
15
|
-
gap: `var(--${string})`;
|
16
|
-
};
|
17
|
-
lg: {
|
18
|
-
display: "flex";
|
19
|
-
flexDirection: "column";
|
20
|
-
gap: `var(--${string})`;
|
21
|
-
};
|
22
|
-
xl: {
|
23
|
-
display: "flex";
|
24
|
-
flexDirection: "column";
|
25
|
-
gap: `var(--${string})`;
|
26
|
-
};
|
27
|
-
};
|
28
|
-
layout: {
|
29
|
-
stacked: {
|
30
|
-
display: "flex";
|
31
|
-
flexDirection: "column";
|
32
|
-
};
|
33
|
-
inline: {
|
34
|
-
display: "flex";
|
35
|
-
flexDirection: "row";
|
36
|
-
flexWrap: "wrap";
|
37
|
-
alignItems: "flex-end";
|
38
|
-
};
|
39
|
-
grid: {
|
40
|
-
display: "grid";
|
41
|
-
gridTemplateColumns: "repeat(auto-fit, minmax(250px, 1fr))";
|
42
|
-
gap: `var(--${string})`;
|
43
|
-
};
|
44
|
-
};
|
45
|
-
}>;
|
46
|
-
export type FormVariants = RecipeVariants<typeof formRecipe>;
|
@@ -1,7 +0,0 @@
|
|
1
|
-
import { FormVariants } from './Form.css';
|
2
|
-
import { Sprinkles } from '../../styles/sprinkles.css';
|
3
|
-
export interface FormProps extends Omit<React.FormHTMLAttributes<HTMLFormElement>, 'color'>, Sprinkles, NonNullable<FormVariants> {
|
4
|
-
css?: string;
|
5
|
-
children: React.ReactNode;
|
6
|
-
}
|
7
|
-
export declare const Form: import('react').ForwardRefExoticComponent<FormProps & import('react').RefAttributes<HTMLFormElement>>;
|