@latte-macchiat-io/latte-vanilla-components 0.0.176 → 0.0.178

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.
Files changed (219) hide show
  1. package/package.json +9 -22
  2. package/src/assets/styles/mediaqueries.tsx +24 -0
  3. package/src/components/Actions/Actions.tsx +132 -0
  4. package/src/components/Actions/export.tsx +4 -0
  5. package/src/components/{Main/stories.ts → Actions/stories.tsx} +14 -13
  6. package/src/components/Button/Button.tsx +132 -0
  7. package/src/components/Button/export.tsx +5 -0
  8. package/src/components/Carousel/Carousel.tsx +328 -0
  9. package/src/components/Carousel/export.tsx +4 -0
  10. package/src/components/Columns/Columns.tsx +142 -0
  11. package/src/components/Columns/export.tsx +5 -0
  12. package/src/components/ConsentCookie/ConsentCookie.tsx +202 -0
  13. package/src/components/ConsentCookie/export.tsx +4 -0
  14. package/src/components/{Icon/stories.ts → ConsentCookie/stories.tsx} +7 -8
  15. package/src/components/Footer/Footer.tsx +130 -0
  16. package/src/components/Footer/export.tsx +4 -0
  17. package/src/components/Footer/stories.tsx +26 -0
  18. package/src/components/Form/Form.tsx +127 -0
  19. package/src/components/Form/Row/Row.tsx +137 -0
  20. package/src/components/Form/Row/stories.tsx +41 -0
  21. package/src/components/Form/TextField/Input/Input.tsx +139 -0
  22. package/src/components/Form/TextField/Input/export.tsx +6 -0
  23. package/src/components/Form/TextField/Label/Label.tsx +133 -0
  24. package/src/components/Form/TextField/Label/export.tsx +4 -0
  25. package/src/components/Form/TextField/TextField.tsx +200 -0
  26. package/src/components/Form/TextField/Textarea/Textarea.tsx +135 -0
  27. package/src/components/Form/TextField/Textarea/export.tsx +6 -0
  28. package/src/components/Form/TextField/Textarea/stories.tsx +44 -0
  29. package/src/components/Form/TextField/export.tsx +4 -0
  30. package/src/components/Form/export.tsx +4 -0
  31. package/src/components/Header/Header.tsx +158 -0
  32. package/src/components/Header/HeaderOverlay/index.tsx +32 -0
  33. package/src/components/Header/ToggleNav/index.tsx +32 -0
  34. package/src/components/Header/export.tsx +4 -0
  35. package/src/components/Header/stories.tsx +26 -0
  36. package/src/components/Icon/Icon.tsx +159 -0
  37. package/src/components/Icon/export.tsx +4 -0
  38. package/src/components/KeyNumber/KeyNumber.tsx +166 -0
  39. package/src/components/KeyNumber/export.tsx +4 -0
  40. package/src/components/LanguageSwitcher/LanguageSwitcher.tsx +168 -0
  41. package/src/components/LanguageSwitcher/export.tsx +4 -0
  42. package/src/components/Logo/Logo.tsx +137 -0
  43. package/src/components/Logo/export.tsx +4 -0
  44. package/src/components/Logo/stories.tsx +28 -0
  45. package/src/components/Main/Main.tsx +130 -0
  46. package/src/components/Main/export.tsx +4 -0
  47. package/src/components/Modal/Modal.tsx +194 -0
  48. package/src/components/Modal/export.tsx +4 -0
  49. package/src/components/Modal/types.tsx +5 -0
  50. package/src/components/Nav/Nav.tsx +129 -0
  51. package/src/components/Nav/export.tsx +4 -0
  52. package/src/components/Nav/stories.tsx +28 -0
  53. package/src/components/NavLegal/NavLegal.tsx +133 -0
  54. package/src/components/NavLegal/export.tsx +4 -0
  55. package/src/components/NavLegal/stories.tsx +28 -0
  56. package/src/components/NavSocial/NavSocial.tsx +169 -0
  57. package/src/components/NavSocial/export.tsx +5 -0
  58. package/src/components/{Columns/stories.ts → NavSocial/stories.tsx} +12 -14
  59. package/src/components/Section/Section.tsx +130 -0
  60. package/src/components/Section/export.tsx +6 -0
  61. package/src/components/ToRemove/ToRemove.tsx +3 -0
  62. package/src/components/Video/Video.tsx +243 -0
  63. package/src/components/Video/export.tsx +2 -0
  64. package/src/components/VideoFullWidth/VideoFullWidth.tsx +152 -0
  65. package/src/components/VideoFullWidth/export.tsx +2 -0
  66. package/dist/components/Actions/Actions.css.ts +0 -113
  67. package/dist/components/Button/Button.css.ts +0 -119
  68. package/dist/components/Carousel/Carousel.css.ts +0 -179
  69. package/dist/components/Columns/Columns.css.ts +0 -185
  70. package/dist/components/ConsentCookie/ConsentCookie.css.ts +0 -167
  71. package/dist/components/Footer/Footer.css.ts +0 -108
  72. package/dist/components/Form/Form.css.ts +0 -64
  73. package/dist/components/Form/Row/Row.css.ts +0 -70
  74. package/dist/components/Form/TextField/Input/Input.css.ts +0 -106
  75. package/dist/components/Form/TextField/Label/Label.css.ts +0 -58
  76. package/dist/components/Form/TextField/TextField.css.ts +0 -139
  77. package/dist/components/Form/TextField/Textarea/Textarea.css.ts +0 -121
  78. package/dist/components/Header/Header.css.ts +0 -111
  79. package/dist/components/Header/HeaderOverlay/styles.css.ts +0 -33
  80. package/dist/components/Header/ToggleNav/styles.css.ts +0 -40
  81. package/dist/components/Icon/Icon.css.ts +0 -102
  82. package/dist/components/KeyNumber/KeyNumber.css.ts +0 -158
  83. package/dist/components/LanguageSwitcher/LanguageSwitcher.css.ts +0 -120
  84. package/dist/components/Logo/Logo.css.ts +0 -98
  85. package/dist/components/Main/Main.css.ts +0 -62
  86. package/dist/components/Modal/Modal.css.ts +0 -203
  87. package/dist/components/Nav/Nav.css.ts +0 -123
  88. package/dist/components/NavLegal/NavLegal.css.ts +0 -121
  89. package/dist/components/NavSocial/NavSocial.css.ts +0 -121
  90. package/dist/components/Section/Section.css.ts +0 -101
  91. package/dist/components/Video/Video.css.ts +0 -210
  92. package/dist/components/VideoFullWidth/VideoFullWidth.css.ts +0 -50
  93. package/dist/css/index.cjs +0 -1
  94. package/dist/css/index.js +0 -34
  95. package/dist/index.cjs.js +0 -2
  96. package/dist/index.es.js +0 -3863
  97. package/dist/styles/sprinkles.css.ts +0 -84
  98. package/dist/theme/contract.css.ts +0 -83
  99. package/dist/theme.css-CNjMk-g_.cjs +0 -1
  100. package/dist/theme.css-Dj6kL9o0.js +0 -3020
  101. package/dist/types/components/Actions/Actions.css.d.ts +0 -74
  102. package/dist/types/components/Actions/Actions.d.ts +0 -7
  103. package/dist/types/components/Actions/stories.d.ts +0 -0
  104. package/dist/types/components/Button/Button.css.d.ts +0 -65
  105. package/dist/types/components/Button/Button.d.ts +0 -8
  106. package/dist/types/components/Button/export.d.ts +0 -0
  107. package/dist/types/components/Button/stories.d.ts +0 -0
  108. package/dist/types/components/Carousel/Carousel.css.d.ts +0 -33
  109. package/dist/types/components/Carousel/Carousel.d.ts +0 -15
  110. package/dist/types/components/Carousel/export.d.ts +0 -0
  111. package/dist/types/components/Columns/Columns.css.d.ts +0 -104
  112. package/dist/types/components/Columns/Columns.d.ts +0 -8
  113. package/dist/types/components/Columns/export.d.ts +0 -0
  114. package/dist/types/components/Columns/stories.d.ts +0 -0
  115. package/dist/types/components/ConsentCookie/ConsentCookie.css.d.ts +0 -15
  116. package/dist/types/components/ConsentCookie/ConsentCookie.d.ts +0 -17
  117. package/dist/types/components/ConsentCookie/export.d.ts +0 -0
  118. package/dist/types/components/ConsentCookie/stories.d.ts +0 -0
  119. package/dist/types/components/Footer/Footer.css.d.ts +0 -50
  120. package/dist/types/components/Footer/Footer.d.ts +0 -7
  121. package/dist/types/components/Footer/export.d.ts +0 -0
  122. package/dist/types/components/Footer/stories.d.ts +0 -6
  123. package/dist/types/components/Form/Form.css.d.ts +0 -46
  124. package/dist/types/components/Form/Form.d.ts +0 -7
  125. package/dist/types/components/Form/Row/Row.css.d.ts +0 -51
  126. package/dist/types/components/Form/Row/Row.d.ts +0 -9
  127. package/dist/types/components/Form/Row/index.d.ts +0 -0
  128. package/dist/types/components/Form/Row/stories.d.ts +0 -0
  129. package/dist/types/components/Form/TextField/Input/Input.css.d.ts +0 -32
  130. package/dist/types/components/Form/TextField/Input/Input.d.ts +0 -10
  131. package/dist/types/components/Form/TextField/Input/export.d.ts +0 -0
  132. package/dist/types/components/Form/TextField/Label/Label.css.d.ts +0 -23
  133. package/dist/types/components/Form/TextField/Label/Label.d.ts +0 -9
  134. package/dist/types/components/Form/TextField/Label/export.d.ts +0 -0
  135. package/dist/types/components/Form/TextField/TextField.css.d.ts +0 -19
  136. package/dist/types/components/Form/TextField/TextField.d.ts +0 -21
  137. package/dist/types/components/Form/TextField/Textarea/Textarea.css.d.ts +0 -56
  138. package/dist/types/components/Form/TextField/Textarea/Textarea.d.ts +0 -8
  139. package/dist/types/components/Form/TextField/Textarea/export.d.ts +0 -0
  140. package/dist/types/components/Form/TextField/Textarea/stories.d.ts +0 -0
  141. package/dist/types/components/Form/TextField/export.d.ts +0 -0
  142. package/dist/types/components/Form/export.d.ts +0 -0
  143. package/dist/types/components/Header/Header.css.d.ts +0 -36
  144. package/dist/types/components/Header/Header.d.ts +0 -11
  145. package/dist/types/components/Header/HeaderOverlay/index.d.ts +0 -7
  146. package/dist/types/components/Header/HeaderOverlay/styles.css.d.ts +0 -5
  147. package/dist/types/components/Header/ToggleNav/index.d.ts +0 -9
  148. package/dist/types/components/Header/ToggleNav/styles.css.d.ts +0 -5
  149. package/dist/types/components/Header/export.d.ts +0 -0
  150. package/dist/types/components/Header/stories.d.ts +0 -6
  151. package/dist/types/components/Icon/Icon.css.d.ts +0 -45
  152. package/dist/types/components/Icon/Icon.d.ts +0 -12
  153. package/dist/types/components/Icon/export.d.ts +0 -0
  154. package/dist/types/components/Icon/path.d.ts +0 -19
  155. package/dist/types/components/Icon/stories.d.ts +0 -0
  156. package/dist/types/components/KeyNumber/KeyNumber.css.d.ts +0 -40
  157. package/dist/types/components/KeyNumber/KeyNumber.d.ts +0 -15
  158. package/dist/types/components/KeyNumber/export.d.ts +0 -0
  159. package/dist/types/components/LanguageSwitcher/LanguageSwitcher.css.d.ts +0 -18
  160. package/dist/types/components/LanguageSwitcher/LanguageSwitcher.d.ts +0 -16
  161. package/dist/types/components/LanguageSwitcher/export.d.ts +0 -0
  162. package/dist/types/components/Logo/Logo.css.d.ts +0 -54
  163. package/dist/types/components/Logo/Logo.d.ts +0 -8
  164. package/dist/types/components/Logo/export.d.ts +0 -0
  165. package/dist/types/components/Logo/stories.d.ts +0 -6
  166. package/dist/types/components/Main/Main.css.d.ts +0 -32
  167. package/dist/types/components/Main/Main.d.ts +0 -7
  168. package/dist/types/components/Main/export.d.ts +0 -0
  169. package/dist/types/components/Main/stories.d.ts +0 -0
  170. package/dist/types/components/Modal/Modal.css.d.ts +0 -82
  171. package/dist/types/components/Modal/Modal.d.ts +0 -15
  172. package/dist/types/components/Modal/export.d.ts +0 -0
  173. package/dist/types/components/Modal/types.d.ts +0 -5
  174. package/dist/types/components/Nav/Nav.css.d.ts +0 -52
  175. package/dist/types/components/Nav/Nav.d.ts +0 -7
  176. package/dist/types/components/Nav/export.d.ts +0 -0
  177. package/dist/types/components/Nav/stories.d.ts +0 -6
  178. package/dist/types/components/NavLegal/NavLegal.css.d.ts +0 -57
  179. package/dist/types/components/NavLegal/NavLegal.d.ts +0 -7
  180. package/dist/types/components/NavLegal/export.d.ts +0 -0
  181. package/dist/types/components/NavLegal/stories.d.ts +0 -6
  182. package/dist/types/components/NavSocial/NavSocial.css.d.ts +0 -30
  183. package/dist/types/components/NavSocial/NavSocial.d.ts +0 -15
  184. package/dist/types/components/NavSocial/export.d.ts +0 -0
  185. package/dist/types/components/NavSocial/stories.d.ts +0 -0
  186. package/dist/types/components/Section/Section.css.d.ts +0 -60
  187. package/dist/types/components/Section/Section.d.ts +0 -7
  188. package/dist/types/components/Section/export.d.ts +0 -0
  189. package/dist/types/components/Section/stories.d.ts +0 -0
  190. package/dist/types/components/ToRemove/ToRemove.d.ts +0 -1
  191. package/dist/types/components/Video/Video.css.d.ts +0 -43
  192. package/dist/types/components/Video/Video.d.ts +0 -17
  193. package/dist/types/components/Video/export.d.ts +0 -0
  194. package/dist/types/components/VideoFullWidth/VideoFullWidth.css.d.ts +0 -18
  195. package/dist/types/components/VideoFullWidth/VideoFullWidth.d.ts +0 -14
  196. package/dist/types/components/VideoFullWidth/export.d.ts +0 -0
  197. package/dist/types/css/index.d.ts +0 -28
  198. package/dist/types/index.d.ts +0 -58
  199. package/dist/types/styles/mediaqueries.d.ts +0 -16
  200. package/dist/types/styles/sprinkles.css.d.ts +0 -3423
  201. package/dist/types/theme/baseThemeValues.d.ts +0 -158
  202. package/dist/types/theme/contract.css.d.ts +0 -79
  203. package/dist/types/theme/index.d.ts +0 -3
  204. package/dist/types/theme/utils.d.ts +0 -86
  205. package/dist/types/utils/cookie.d.ts +0 -2
  206. package/dist/types/utils/deep-merge-objects.d.ts +0 -2
  207. package/dist/types/utils/theme.css.d.ts +0 -173
  208. package/dist/types/utils/use-breakpoint-key.d.ts +0 -1
  209. package/dist/types/utils/use-window-size.d.ts +0 -5
  210. package/dist/utils/theme.css.ts +0 -129
  211. package/src/components/Button/stories.ts +0 -127
  212. package/src/components/Section/stories.ts +0 -64
  213. package/src/css/index.ts +0 -33
  214. package/src/themes/dark.ts +0 -3
  215. package/src/themes/index.ts +0 -5
  216. package/src/themes/light.ts +0 -3
  217. /package/{dist/types/components/Actions/export.d.ts → src/components/Form/Row/index.tsx} +0 -0
  218. /package/{dist/types/components/NavLegal/types.d.ts → src/components/NavLegal/types.tsx} +0 -0
  219. /package/{dist/types/components/NavSocial/types.d.ts → src/components/NavSocial/types.tsx} +0 -0
@@ -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
@@ -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,6 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { Footer } from '../../index';
3
- declare const meta: Meta<typeof Footer>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: Story;
@@ -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>>;
@@ -1,51 +0,0 @@
1
- import { RecipeVariants } from '@vanilla-extract/recipes';
2
- export declare const rowRecipe: import('@vanilla-extract/recipes').RuntimeFn<{
3
- align: {
4
- left: {
5
- justifyContent: "flex-start";
6
- textAlign: "left";
7
- };
8
- center: {
9
- justifyContent: "center";
10
- textAlign: "center";
11
- };
12
- right: {
13
- justifyContent: "flex-end";
14
- textAlign: "right";
15
- };
16
- };
17
- variant: {
18
- default: {
19
- flexDirection: "column";
20
- gap: `var(--${string})`;
21
- };
22
- actions: {
23
- flexDirection: "row";
24
- alignItems: "center";
25
- gap: `var(--${string})`;
26
- marginTop: `var(--${string})`;
27
- };
28
- message: {
29
- flexDirection: "column";
30
- padding: `var(--${string})`;
31
- backgroundColor: `var(--${string})`;
32
- borderRadius: `var(--${string})`;
33
- border: `1px solid var(--${string})`;
34
- };
35
- };
36
- spacing: {
37
- none: {
38
- gap: number;
39
- };
40
- sm: {
41
- gap: `var(--${string})`;
42
- };
43
- md: {
44
- gap: `var(--${string})`;
45
- };
46
- lg: {
47
- gap: `var(--${string})`;
48
- };
49
- };
50
- }>;
51
- export type RowVariants = RecipeVariants<typeof rowRecipe>;
@@ -1,9 +0,0 @@
1
- import { RowVariants } from './Row.css';
2
- import { Sprinkles } from '../../../styles/sprinkles.css';
3
- export interface RowProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color'>, Sprinkles, NonNullable<RowVariants> {
4
- css?: string;
5
- children: React.ReactNode;
6
- isActions?: boolean;
7
- isMessage?: boolean;
8
- }
9
- export declare const Row: import('react').ForwardRefExoticComponent<RowProps & import('react').RefAttributes<HTMLDivElement>>;
File without changes
File without changes
@@ -1,32 +0,0 @@
1
- import { RecipeVariants } from '@vanilla-extract/recipes';
2
- export declare const inputRecipe: import('@vanilla-extract/recipes').RuntimeFn<{
3
- size: {
4
- sm: {
5
- fontSize: `var(--${string})`;
6
- padding: `var(--${string}) var(--${string})`;
7
- };
8
- md: {};
9
- lg: {
10
- fontSize: `var(--${string})`;
11
- padding: `var(--${string}) var(--${string})`;
12
- };
13
- };
14
- variant: {
15
- default: {};
16
- filled: {
17
- backgroundColor: `var(--${string})`;
18
- border: "none";
19
- };
20
- outlined: {
21
- backgroundColor: "transparent";
22
- };
23
- underlined: {
24
- backgroundColor: "transparent";
25
- border: "none";
26
- borderBottom: `1px solid var(--${string})`;
27
- borderRadius: number;
28
- padding: `var(--${string}) 0`;
29
- };
30
- };
31
- }>;
32
- export type InputVariants = RecipeVariants<typeof inputRecipe>;
@@ -1,10 +0,0 @@
1
- import { InputVariants } from './Input.css';
2
- import { Sprinkles } from '../../../../styles/sprinkles.css';
3
- export type InputType = 'text' | 'email' | 'search' | 'number' | 'hidden' | 'password' | 'tel' | 'url' | 'date' | 'time' | 'datetime-local' | 'color';
4
- export interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'color' | 'size' | 'height' | 'width'>, Sprinkles, NonNullable<InputVariants> {
5
- css?: string;
6
- name: string;
7
- type?: InputType;
8
- hasError?: boolean;
9
- }
10
- export declare const Input: import('react').ForwardRefExoticComponent<InputProps & import('react').RefAttributes<HTMLInputElement>>;
@@ -1,23 +0,0 @@
1
- import { RecipeVariants } from '@vanilla-extract/recipes';
2
- export declare const labelRecipe: import('@vanilla-extract/recipes').RuntimeFn<{
3
- size: {
4
- sm: {
5
- fontSize: `var(--${string})`;
6
- paddingBottom: `var(--${string})`;
7
- };
8
- md: {};
9
- lg: {
10
- fontSize: `var(--${string})`;
11
- paddingBottom: `var(--${string})`;
12
- };
13
- };
14
- variant: {
15
- default: {};
16
- inline: {
17
- display: "inline-block";
18
- marginRight: `var(--${string})`;
19
- paddingBottom: number;
20
- };
21
- };
22
- }>;
23
- export type LabelVariants = RecipeVariants<typeof labelRecipe>;
@@ -1,9 +0,0 @@
1
- import { LabelVariants } from './Label.css';
2
- import { Sprinkles } from '../../../../styles/sprinkles.css';
3
- export interface LabelProps extends Omit<React.LabelHTMLAttributes<HTMLLabelElement>, 'color'>, Sprinkles, NonNullable<LabelVariants> {
4
- css?: string;
5
- label: string;
6
- name: string;
7
- required?: boolean;
8
- }
9
- export declare const Label: import('react').ForwardRefExoticComponent<LabelProps & import('react').RefAttributes<HTMLLabelElement>>;