@latte-macchiat-io/latte-vanilla-components 0.0.176 → 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.
Files changed (153) hide show
  1. package/package.json +7 -22
  2. package/dist/components/Actions/Actions.css.ts +0 -113
  3. package/dist/components/Button/Button.css.ts +0 -119
  4. package/dist/components/Carousel/Carousel.css.ts +0 -179
  5. package/dist/components/Columns/Columns.css.ts +0 -185
  6. package/dist/components/ConsentCookie/ConsentCookie.css.ts +0 -167
  7. package/dist/components/Footer/Footer.css.ts +0 -108
  8. package/dist/components/Form/Form.css.ts +0 -64
  9. package/dist/components/Form/Row/Row.css.ts +0 -70
  10. package/dist/components/Form/TextField/Input/Input.css.ts +0 -106
  11. package/dist/components/Form/TextField/Label/Label.css.ts +0 -58
  12. package/dist/components/Form/TextField/TextField.css.ts +0 -139
  13. package/dist/components/Form/TextField/Textarea/Textarea.css.ts +0 -121
  14. package/dist/components/Header/Header.css.ts +0 -111
  15. package/dist/components/Header/HeaderOverlay/styles.css.ts +0 -33
  16. package/dist/components/Header/ToggleNav/styles.css.ts +0 -40
  17. package/dist/components/Icon/Icon.css.ts +0 -102
  18. package/dist/components/KeyNumber/KeyNumber.css.ts +0 -158
  19. package/dist/components/LanguageSwitcher/LanguageSwitcher.css.ts +0 -120
  20. package/dist/components/Logo/Logo.css.ts +0 -98
  21. package/dist/components/Main/Main.css.ts +0 -62
  22. package/dist/components/Modal/Modal.css.ts +0 -203
  23. package/dist/components/Nav/Nav.css.ts +0 -123
  24. package/dist/components/NavLegal/NavLegal.css.ts +0 -121
  25. package/dist/components/NavSocial/NavSocial.css.ts +0 -121
  26. package/dist/components/Section/Section.css.ts +0 -101
  27. package/dist/components/Video/Video.css.ts +0 -210
  28. package/dist/components/VideoFullWidth/VideoFullWidth.css.ts +0 -50
  29. package/dist/css/index.cjs +0 -1
  30. package/dist/css/index.js +0 -34
  31. package/dist/index.cjs.js +0 -2
  32. package/dist/index.es.js +0 -3863
  33. package/dist/styles/sprinkles.css.ts +0 -84
  34. package/dist/theme/contract.css.ts +0 -83
  35. package/dist/theme.css-CNjMk-g_.cjs +0 -1
  36. package/dist/theme.css-Dj6kL9o0.js +0 -3020
  37. package/dist/types/components/Actions/Actions.css.d.ts +0 -74
  38. package/dist/types/components/Actions/Actions.d.ts +0 -7
  39. package/dist/types/components/Actions/export.d.ts +0 -0
  40. package/dist/types/components/Actions/stories.d.ts +0 -0
  41. package/dist/types/components/Button/Button.css.d.ts +0 -65
  42. package/dist/types/components/Button/Button.d.ts +0 -8
  43. package/dist/types/components/Button/export.d.ts +0 -0
  44. package/dist/types/components/Button/stories.d.ts +0 -0
  45. package/dist/types/components/Carousel/Carousel.css.d.ts +0 -33
  46. package/dist/types/components/Carousel/Carousel.d.ts +0 -15
  47. package/dist/types/components/Carousel/export.d.ts +0 -0
  48. package/dist/types/components/Columns/Columns.css.d.ts +0 -104
  49. package/dist/types/components/Columns/Columns.d.ts +0 -8
  50. package/dist/types/components/Columns/export.d.ts +0 -0
  51. package/dist/types/components/Columns/stories.d.ts +0 -0
  52. package/dist/types/components/ConsentCookie/ConsentCookie.css.d.ts +0 -15
  53. package/dist/types/components/ConsentCookie/ConsentCookie.d.ts +0 -17
  54. package/dist/types/components/ConsentCookie/export.d.ts +0 -0
  55. package/dist/types/components/ConsentCookie/stories.d.ts +0 -0
  56. package/dist/types/components/Footer/Footer.css.d.ts +0 -50
  57. package/dist/types/components/Footer/Footer.d.ts +0 -7
  58. package/dist/types/components/Footer/export.d.ts +0 -0
  59. package/dist/types/components/Footer/stories.d.ts +0 -6
  60. package/dist/types/components/Form/Form.css.d.ts +0 -46
  61. package/dist/types/components/Form/Form.d.ts +0 -7
  62. package/dist/types/components/Form/Row/Row.css.d.ts +0 -51
  63. package/dist/types/components/Form/Row/Row.d.ts +0 -9
  64. package/dist/types/components/Form/Row/index.d.ts +0 -0
  65. package/dist/types/components/Form/Row/stories.d.ts +0 -0
  66. package/dist/types/components/Form/TextField/Input/Input.css.d.ts +0 -32
  67. package/dist/types/components/Form/TextField/Input/Input.d.ts +0 -10
  68. package/dist/types/components/Form/TextField/Input/export.d.ts +0 -0
  69. package/dist/types/components/Form/TextField/Label/Label.css.d.ts +0 -23
  70. package/dist/types/components/Form/TextField/Label/Label.d.ts +0 -9
  71. package/dist/types/components/Form/TextField/Label/export.d.ts +0 -0
  72. package/dist/types/components/Form/TextField/TextField.css.d.ts +0 -19
  73. package/dist/types/components/Form/TextField/TextField.d.ts +0 -21
  74. package/dist/types/components/Form/TextField/Textarea/Textarea.css.d.ts +0 -56
  75. package/dist/types/components/Form/TextField/Textarea/Textarea.d.ts +0 -8
  76. package/dist/types/components/Form/TextField/Textarea/export.d.ts +0 -0
  77. package/dist/types/components/Form/TextField/Textarea/stories.d.ts +0 -0
  78. package/dist/types/components/Form/TextField/export.d.ts +0 -0
  79. package/dist/types/components/Form/export.d.ts +0 -0
  80. package/dist/types/components/Header/Header.css.d.ts +0 -36
  81. package/dist/types/components/Header/Header.d.ts +0 -11
  82. package/dist/types/components/Header/HeaderOverlay/index.d.ts +0 -7
  83. package/dist/types/components/Header/HeaderOverlay/styles.css.d.ts +0 -5
  84. package/dist/types/components/Header/ToggleNav/index.d.ts +0 -9
  85. package/dist/types/components/Header/ToggleNav/styles.css.d.ts +0 -5
  86. package/dist/types/components/Header/export.d.ts +0 -0
  87. package/dist/types/components/Header/stories.d.ts +0 -6
  88. package/dist/types/components/Icon/Icon.css.d.ts +0 -45
  89. package/dist/types/components/Icon/Icon.d.ts +0 -12
  90. package/dist/types/components/Icon/export.d.ts +0 -0
  91. package/dist/types/components/Icon/path.d.ts +0 -19
  92. package/dist/types/components/Icon/stories.d.ts +0 -0
  93. package/dist/types/components/KeyNumber/KeyNumber.css.d.ts +0 -40
  94. package/dist/types/components/KeyNumber/KeyNumber.d.ts +0 -15
  95. package/dist/types/components/KeyNumber/export.d.ts +0 -0
  96. package/dist/types/components/LanguageSwitcher/LanguageSwitcher.css.d.ts +0 -18
  97. package/dist/types/components/LanguageSwitcher/LanguageSwitcher.d.ts +0 -16
  98. package/dist/types/components/LanguageSwitcher/export.d.ts +0 -0
  99. package/dist/types/components/Logo/Logo.css.d.ts +0 -54
  100. package/dist/types/components/Logo/Logo.d.ts +0 -8
  101. package/dist/types/components/Logo/export.d.ts +0 -0
  102. package/dist/types/components/Logo/stories.d.ts +0 -6
  103. package/dist/types/components/Main/Main.css.d.ts +0 -32
  104. package/dist/types/components/Main/Main.d.ts +0 -7
  105. package/dist/types/components/Main/export.d.ts +0 -0
  106. package/dist/types/components/Main/stories.d.ts +0 -0
  107. package/dist/types/components/Modal/Modal.css.d.ts +0 -82
  108. package/dist/types/components/Modal/Modal.d.ts +0 -15
  109. package/dist/types/components/Modal/export.d.ts +0 -0
  110. package/dist/types/components/Modal/types.d.ts +0 -5
  111. package/dist/types/components/Nav/Nav.css.d.ts +0 -52
  112. package/dist/types/components/Nav/Nav.d.ts +0 -7
  113. package/dist/types/components/Nav/export.d.ts +0 -0
  114. package/dist/types/components/Nav/stories.d.ts +0 -6
  115. package/dist/types/components/NavLegal/NavLegal.css.d.ts +0 -57
  116. package/dist/types/components/NavLegal/NavLegal.d.ts +0 -7
  117. package/dist/types/components/NavLegal/export.d.ts +0 -0
  118. package/dist/types/components/NavLegal/stories.d.ts +0 -6
  119. package/dist/types/components/NavLegal/types.d.ts +0 -1
  120. package/dist/types/components/NavSocial/NavSocial.css.d.ts +0 -30
  121. package/dist/types/components/NavSocial/NavSocial.d.ts +0 -15
  122. package/dist/types/components/NavSocial/export.d.ts +0 -0
  123. package/dist/types/components/NavSocial/stories.d.ts +0 -0
  124. package/dist/types/components/NavSocial/types.d.ts +0 -1
  125. package/dist/types/components/Section/Section.css.d.ts +0 -60
  126. package/dist/types/components/Section/Section.d.ts +0 -7
  127. package/dist/types/components/Section/export.d.ts +0 -0
  128. package/dist/types/components/Section/stories.d.ts +0 -0
  129. package/dist/types/components/ToRemove/ToRemove.d.ts +0 -1
  130. package/dist/types/components/Video/Video.css.d.ts +0 -43
  131. package/dist/types/components/Video/Video.d.ts +0 -17
  132. package/dist/types/components/Video/export.d.ts +0 -0
  133. package/dist/types/components/VideoFullWidth/VideoFullWidth.css.d.ts +0 -18
  134. package/dist/types/components/VideoFullWidth/VideoFullWidth.d.ts +0 -14
  135. package/dist/types/components/VideoFullWidth/export.d.ts +0 -0
  136. package/dist/types/css/index.d.ts +0 -28
  137. package/dist/types/index.d.ts +0 -58
  138. package/dist/types/styles/mediaqueries.d.ts +0 -16
  139. package/dist/types/styles/sprinkles.css.d.ts +0 -3423
  140. package/dist/types/theme/baseThemeValues.d.ts +0 -158
  141. package/dist/types/theme/contract.css.d.ts +0 -79
  142. package/dist/types/theme/index.d.ts +0 -3
  143. package/dist/types/theme/utils.d.ts +0 -86
  144. package/dist/types/utils/cookie.d.ts +0 -2
  145. package/dist/types/utils/deep-merge-objects.d.ts +0 -2
  146. package/dist/types/utils/theme.css.d.ts +0 -173
  147. package/dist/types/utils/use-breakpoint-key.d.ts +0 -1
  148. package/dist/types/utils/use-window-size.d.ts +0 -5
  149. package/dist/utils/theme.css.ts +0 -129
  150. package/src/css/index.ts +0 -33
  151. package/src/themes/dark.ts +0 -3
  152. package/src/themes/index.ts +0 -5
  153. package/src/themes/light.ts +0 -3
@@ -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,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>>;