@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,19 +0,0 @@
1
- import { RecipeVariants } from '@vanilla-extract/recipes';
2
- declare const labelBase: string;
3
- declare const inputBase: string;
4
- declare const textareaBase: string;
5
- declare const messageContainer: string;
6
- declare const errorMessage: string;
7
- export declare const textFieldRecipe: import('@vanilla-extract/recipes').RuntimeFn<{
8
- size: {
9
- sm: {
10
- gap: `var(--${string})`;
11
- };
12
- md: {};
13
- lg: {
14
- gap: `var(--${string})`;
15
- };
16
- };
17
- }>;
18
- export { labelBase, inputBase, textareaBase, messageContainer, errorMessage };
19
- export type TextFieldVariants = RecipeVariants<typeof textFieldRecipe>;
@@ -1,21 +0,0 @@
1
- import { TextFieldVariants } from './TextField.css';
2
- import { Sprinkles } from '../../../styles/sprinkles.css';
3
- export type InputType = 'text' | 'email' | 'search' | 'number' | 'hidden' | 'password' | 'textarea';
4
- export interface TextFieldProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color' | 'onChange'>, Sprinkles, NonNullable<TextFieldVariants> {
5
- css?: string;
6
- name: string;
7
- label?: string;
8
- value?: string;
9
- rows?: number;
10
- disabled?: boolean;
11
- required?: boolean;
12
- placeholder?: string;
13
- errors?: string | string[];
14
- type?: InputType;
15
- onChange?: (e: {
16
- target: {
17
- value: string | undefined;
18
- };
19
- }) => void | undefined;
20
- }
21
- export declare const TextField: import('react').ForwardRefExoticComponent<TextFieldProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,56 +0,0 @@
1
- import { RecipeVariants } from '@vanilla-extract/recipes';
2
- export declare const textareaRecipe: import('@vanilla-extract/recipes').RuntimeFn<{
3
- size: {
4
- sm: {
5
- fontSize: `var(--${string})`;
6
- padding: `var(--${string}) var(--${string})`;
7
- minHeight: "60px";
8
- };
9
- md: {};
10
- lg: {
11
- fontSize: `var(--${string})`;
12
- padding: `var(--${string}) var(--${string})`;
13
- minHeight: "100px";
14
- };
15
- };
16
- variant: {
17
- default: {};
18
- filled: {
19
- backgroundColor: `var(--${string})`;
20
- border: "none";
21
- ':focus': {
22
- backgroundColor: `var(--${string})`;
23
- border: `1px solid var(--${string})`;
24
- };
25
- };
26
- outlined: {
27
- backgroundColor: "transparent";
28
- };
29
- underlined: {
30
- backgroundColor: "transparent";
31
- border: "none";
32
- borderBottom: `1px solid var(--${string})`;
33
- borderRadius: number;
34
- padding: `var(--${string}) 0`;
35
- ':focus': {
36
- borderBottom: `2px solid var(--${string})`;
37
- outline: "none";
38
- };
39
- };
40
- };
41
- resize: {
42
- vertical: {
43
- resize: "vertical";
44
- };
45
- horizontal: {
46
- resize: "horizontal";
47
- };
48
- both: {
49
- resize: "both";
50
- };
51
- none: {
52
- resize: "none";
53
- };
54
- };
55
- }>;
56
- export type TextareaVariants = RecipeVariants<typeof textareaRecipe>;
@@ -1,8 +0,0 @@
1
- import { TextareaVariants } from './Textarea.css';
2
- import { Sprinkles } from '../../../../styles/sprinkles.css';
3
- export interface TextareaProps extends Omit<React.TextareaHTMLAttributes<HTMLTextAreaElement>, 'color' | 'size'>, Sprinkles, NonNullable<TextareaVariants> {
4
- css?: string;
5
- name: string;
6
- hasError?: boolean;
7
- }
8
- export declare const Textarea: import('react').ForwardRefExoticComponent<TextareaProps & import('react').RefAttributes<HTMLTextAreaElement>>;
File without changes
File without changes
@@ -1,36 +0,0 @@
1
- import { RecipeVariants } from '@vanilla-extract/recipes';
2
- export declare const headerRecipe: import('@vanilla-extract/recipes').RuntimeFn<{
3
- variant: {
4
- default: {
5
- backgroundColor: `var(--${string})`;
6
- borderBottom: `1px solid var(--${string})`;
7
- };
8
- transparent: {
9
- backgroundColor: "transparent";
10
- borderBottom: "none";
11
- };
12
- dark: {
13
- backgroundColor: `var(--${string})`;
14
- color: `var(--${string})`;
15
- };
16
- };
17
- size: {
18
- sm: {
19
- height: "60px";
20
- paddingTop: `var(--${string})`;
21
- paddingBottom: `var(--${string})`;
22
- };
23
- md: {
24
- height: `var(--${string})`;
25
- paddingTop: `var(--${string})`;
26
- paddingBottom: `var(--${string})`;
27
- };
28
- lg: {
29
- height: "100px";
30
- paddingTop: `var(--${string})`;
31
- paddingBottom: `var(--${string})`;
32
- };
33
- };
34
- }>;
35
- export declare const headerPlaceholder: string;
36
- export type HeaderVariants = RecipeVariants<typeof headerRecipe>;
@@ -1,11 +0,0 @@
1
- import { HeaderVariants } from './Header.css';
2
- import { Sprinkles } from '../../styles/sprinkles.css';
3
- export interface HeaderProps extends Omit<React.HTMLAttributes<HTMLElement>, 'color'>, Sprinkles, NonNullable<HeaderVariants> {
4
- css?: string;
5
- isFixed?: boolean;
6
- hideToggleNav?: boolean;
7
- childrenOverlay?: React.ReactNode;
8
- displayToggleNavOnDesktop?: boolean;
9
- as?: 'header' | 'div';
10
- }
11
- export declare const Header: import('react').ForwardRefExoticComponent<HeaderProps & import('react').RefAttributes<HTMLElement>>;
@@ -1,7 +0,0 @@
1
- import { WithClassName } from '../../../types/withClassName';
2
- export interface HeaderOverlayProps {
3
- isOpen: boolean;
4
- children: React.ReactNode;
5
- }
6
- declare const HeaderOverlay: ({ isOpen, children, className }: HeaderOverlayProps & WithClassName) => import("react").JSX.Element;
7
- export default HeaderOverlay;
@@ -1,5 +0,0 @@
1
- export declare const vars: {
2
- overlayBottom: `var(--${string})`;
3
- overlayTransform: `var(--${string})`;
4
- };
5
- export declare const headerOverlayStyle: string;
@@ -1,9 +0,0 @@
1
- import { Theme } from '../../../types/theme';
2
- import { WithClassName } from '../../../types/withClassName';
3
- export type ToggleNavProps = {
4
- theme?: Theme;
5
- isNavOpen: boolean;
6
- onToggleNav: () => void;
7
- displayOnDesktop: boolean;
8
- };
9
- export declare const ToggleNav: ({ theme, isNavOpen, onToggleNav, displayOnDesktop, className }: ToggleNavProps & WithClassName) => import("react").JSX.Element;
@@ -1,5 +0,0 @@
1
- export declare const vars: {
2
- displayOnDesktop: `var(--${string})`;
3
- };
4
- export declare const toggleNavStyle: string;
5
- export declare const toggleNavBarStyle: string;
File without changes
@@ -1,6 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { Header } from '../../index';
3
- declare const meta: Meta<typeof Header>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: Story;
@@ -1,45 +0,0 @@
1
- import { RecipeVariants } from '@vanilla-extract/recipes';
2
- declare const iconPath: string;
3
- export declare const iconRecipe: import('@vanilla-extract/recipes').RuntimeFn<{
4
- size: {
5
- xs: {
6
- width: "12px";
7
- height: "12px";
8
- };
9
- sm: {
10
- width: "16px";
11
- height: "16px";
12
- };
13
- md: {
14
- width: "24px";
15
- height: "24px";
16
- };
17
- lg: {
18
- width: "32px";
19
- height: "32px";
20
- };
21
- xl: {
22
- width: "48px";
23
- height: "48px";
24
- };
25
- '2xl': {
26
- width: "64px";
27
- height: "64px";
28
- };
29
- };
30
- interactive: {
31
- true: {
32
- cursor: "pointer";
33
- ':hover': {
34
- transform: "scale(1.1)";
35
- opacity: number;
36
- };
37
- ':active': {
38
- transform: "scale(0.95)";
39
- };
40
- };
41
- false: {};
42
- };
43
- }>;
44
- export { iconPath };
45
- export type IconVariants = RecipeVariants<typeof iconRecipe>;
@@ -1,12 +0,0 @@
1
- import { IconVariants } from './Icon.css';
2
- import { default as iconPaths } from './path';
3
- import { Sprinkles } from '../../styles/sprinkles.css';
4
- export interface IconProps extends Omit<React.SVGProps<SVGSVGElement>, 'color' | 'size' | 'display' | 'fontFamily' | 'fontSize' | 'fontWeight' | 'height' | 'opacity' | 'overflow' | 'width'>, Sprinkles, NonNullable<IconVariants> {
5
- css?: string;
6
- icon?: keyof typeof iconPaths;
7
- iconPath?: string;
8
- customSize?: number;
9
- customColor?: string;
10
- viewBox?: string;
11
- }
12
- export declare const Icon: import('react').ForwardRefExoticComponent<Omit<IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;
File without changes
@@ -1,19 +0,0 @@
1
- declare const icons: {
2
- caret: string;
3
- close: string;
4
- arrowBack: string;
5
- arrowForward: string;
6
- play: string;
7
- pause: string;
8
- volumeMute: string;
9
- volumeUp: string;
10
- socialFacebook: string;
11
- socialInstagram: string;
12
- socialPinterest: string;
13
- socialLinkedIn: string;
14
- socialSpotify: string;
15
- socialTiktok: string;
16
- socialX: string;
17
- socialYoutube: string;
18
- };
19
- export default icons;
File without changes
@@ -1,40 +0,0 @@
1
- import { RecipeVariants } from '@vanilla-extract/recipes';
2
- declare const keyNumberValue: string;
3
- declare const keyNumberLabel: string;
4
- export declare const keyNumberRecipe: import('@vanilla-extract/recipes').RuntimeFn<{
5
- size: {
6
- sm: {};
7
- md: {};
8
- lg: {};
9
- };
10
- variant: {
11
- default: {};
12
- highlighted: {
13
- padding: `var(--${string})`;
14
- backgroundColor: `var(--${string})`;
15
- borderRadius: `var(--${string})`;
16
- boxShadow: `var(--${string})`;
17
- };
18
- outlined: {
19
- padding: `var(--${string})`;
20
- border: `2px solid var(--${string})`;
21
- borderRadius: `var(--${string})`;
22
- };
23
- };
24
- align: {
25
- left: {
26
- alignItems: "flex-start";
27
- textAlign: "left";
28
- };
29
- center: {
30
- alignItems: "center";
31
- textAlign: "center";
32
- };
33
- right: {
34
- alignItems: "flex-end";
35
- textAlign: "right";
36
- };
37
- };
38
- }>;
39
- export { keyNumberValue, keyNumberLabel };
40
- export type KeyNumberVariants = RecipeVariants<typeof keyNumberRecipe>;
@@ -1,15 +0,0 @@
1
- import { KeyNumberVariants } from './KeyNumber.css';
2
- import { Sprinkles } from '../../styles/sprinkles.css';
3
- export interface KeyNumberProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color'>, Sprinkles, NonNullable<KeyNumberVariants> {
4
- css?: string;
5
- value: number;
6
- label: string;
7
- suffix?: string;
8
- prefix?: string;
9
- duration?: number;
10
- threshold?: number;
11
- separator?: string;
12
- decimals?: number;
13
- as?: 'div' | 'section' | 'article';
14
- }
15
- export declare const KeyNumber: import('react').ForwardRefExoticComponent<KeyNumberProps & import('react').RefAttributes<HTMLDivElement>>;
File without changes
@@ -1,18 +0,0 @@
1
- import { RecipeVariants } from '@vanilla-extract/recipes';
2
- declare const languageSwitcherSelect: string;
3
- declare const languageSwitcherIcon: string;
4
- export declare const languageSwitcherRecipe: import('@vanilla-extract/recipes').RuntimeFn<{
5
- variant: {
6
- default: {};
7
- minimal: {};
8
- outlined: {};
9
- filled: {};
10
- };
11
- size: {
12
- sm: {};
13
- md: {};
14
- lg: {};
15
- };
16
- }>;
17
- export { languageSwitcherSelect, languageSwitcherIcon };
18
- export type LanguageSwitcherVariants = RecipeVariants<typeof languageSwitcherRecipe>;
@@ -1,16 +0,0 @@
1
- import { LanguageSwitcherVariants } from './LanguageSwitcher.css';
2
- import { Sprinkles } from '../../styles/sprinkles.css';
3
- export interface Locale {
4
- code: string;
5
- name: string;
6
- label?: string;
7
- }
8
- export interface LanguageSwitcherProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color' | 'onChange'>, Sprinkles, NonNullable<LanguageSwitcherVariants> {
9
- css?: string;
10
- locales: Locale[];
11
- currentLocale: string;
12
- onChange: (locale: string) => void;
13
- disabled?: boolean;
14
- placeholder?: string;
15
- }
16
- export declare const LanguageSwitcher: import('react').ForwardRefExoticComponent<LanguageSwitcherProps & import('react').RefAttributes<HTMLDivElement>>;
@@ -1,54 +0,0 @@
1
- import { RecipeVariants } from '@vanilla-extract/recipes';
2
- export declare const logoRecipe: import('@vanilla-extract/recipes').RuntimeFn<{
3
- size: {
4
- xs: {
5
- width: "80px";
6
- height: "auto";
7
- };
8
- sm: {
9
- width: "120px";
10
- height: "auto";
11
- };
12
- md: {
13
- width: "160px";
14
- height: "auto";
15
- };
16
- lg: {
17
- width: "200px";
18
- height: "auto";
19
- };
20
- xl: {
21
- width: "240px";
22
- height: "auto";
23
- };
24
- auto: {
25
- width: "auto";
26
- height: "auto";
27
- };
28
- };
29
- variant: {
30
- default: {};
31
- link: {
32
- cursor: "pointer";
33
- transition: "all 0.3s ease-in-out";
34
- ':hover': {
35
- opacity: "0.8";
36
- transform: "scale(1.05)";
37
- };
38
- ':focus': {
39
- outline: "2px solid";
40
- outlineColor: `var(--${string})`;
41
- outlineOffset: "2px";
42
- borderRadius: `var(--${string})`;
43
- };
44
- };
45
- };
46
- responsive: {
47
- true: {
48
- maxWidth: "100%";
49
- height: "auto";
50
- };
51
- false: {};
52
- };
53
- }>;
54
- export type LogoVariants = RecipeVariants<typeof logoRecipe>;
@@ -1,8 +0,0 @@
1
- import { LogoVariants } from './Logo.css';
2
- import { Sprinkles } from '../../styles/sprinkles.css';
3
- export interface LogoProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color'>, Sprinkles, NonNullable<LogoVariants> {
4
- css?: string;
5
- as?: 'div' | 'a' | 'span';
6
- href?: string;
7
- }
8
- export declare const Logo: import('react').ForwardRefExoticComponent<LogoProps & import('react').RefAttributes<HTMLDivElement>>;
File without changes
@@ -1,6 +0,0 @@
1
- import { Meta, StoryObj } from '@storybook/react';
2
- import { Logo } from '../../index';
3
- declare const meta: Meta<typeof Logo>;
4
- export default meta;
5
- type Story = StoryObj<typeof meta>;
6
- export declare const Default: Story;
@@ -1,32 +0,0 @@
1
- import { RecipeVariants } from '@vanilla-extract/recipes';
2
- export declare const mainRecipe: import('@vanilla-extract/recipes').RuntimeFn<{
3
- centered: {
4
- true: {
5
- justifyContent: "center";
6
- alignItems: "center";
7
- };
8
- false: {
9
- justifyContent: "flex-start";
10
- alignItems: "stretch";
11
- };
12
- };
13
- fullWidth: {
14
- true: {
15
- maxWidth: "100%";
16
- };
17
- false: {
18
- maxWidth: `var(--${string})`;
19
- };
20
- };
21
- noPadding: {
22
- true: {
23
- paddingTop: "0";
24
- paddingBottom: "0";
25
- };
26
- false: {
27
- paddingTop: `var(--${string})`;
28
- paddingBottom: `var(--${string})`;
29
- };
30
- };
31
- }>;
32
- export type MainVariants = RecipeVariants<typeof mainRecipe>;
@@ -1,7 +0,0 @@
1
- import { MainVariants } from './Main.css';
2
- import { Sprinkles } from '../../styles/sprinkles.css';
3
- export interface MainProps extends Omit<React.HTMLAttributes<HTMLElement>, 'color'>, Sprinkles, NonNullable<MainVariants> {
4
- css?: string;
5
- as?: 'main' | 'div';
6
- }
7
- export declare const Main: import('react').ForwardRefExoticComponent<MainProps & import('react').RefAttributes<HTMLElement>>;
File without changes
File without changes
@@ -1,82 +0,0 @@
1
- import { RecipeVariants } from '@vanilla-extract/recipes';
2
- declare const modalCloseButton: string;
3
- export declare const modalRecipe: import('@vanilla-extract/recipes').RuntimeFn<{
4
- size: {
5
- sm: {};
6
- md: {};
7
- lg: {};
8
- xl: {};
9
- full: {
10
- padding: number;
11
- };
12
- };
13
- centered: {
14
- true: {
15
- alignItems: "center";
16
- justifyContent: "center";
17
- };
18
- false: {
19
- alignItems: "flex-start";
20
- justifyContent: "center";
21
- paddingTop: "5vh";
22
- };
23
- };
24
- }>;
25
- export declare const modalContentRecipe: import('@vanilla-extract/recipes').RuntimeFn<{
26
- size: {
27
- sm: {
28
- padding: `var(--${string})`;
29
- '@media': {
30
- [x: string]: {
31
- maxWidth: "400px";
32
- };
33
- };
34
- };
35
- md: {
36
- padding: `var(--${string})`;
37
- '@media': {
38
- [x: string]: {
39
- maxWidth: "500px";
40
- };
41
- };
42
- };
43
- lg: {
44
- padding: `var(--${string})`;
45
- '@media': {
46
- [x: string]: {
47
- maxWidth: "700px";
48
- };
49
- };
50
- };
51
- xl: {
52
- padding: `var(--${string})`;
53
- '@media': {
54
- [x: string]: {
55
- maxWidth: "900px";
56
- };
57
- };
58
- };
59
- full: {
60
- width: "100vw";
61
- height: "100vh";
62
- maxWidth: "none";
63
- maxHeight: "none";
64
- borderRadius: number;
65
- padding: `var(--${string})`;
66
- };
67
- };
68
- align: {
69
- left: {
70
- textAlign: "left";
71
- };
72
- center: {
73
- textAlign: "center";
74
- };
75
- right: {
76
- textAlign: "right";
77
- };
78
- };
79
- }>;
80
- export { modalCloseButton };
81
- export type ModalVariants = RecipeVariants<typeof modalRecipe>;
82
- export type ModalContentVariants = RecipeVariants<typeof modalContentRecipe>;
@@ -1,15 +0,0 @@
1
- import { ModalContentVariants, ModalVariants } from './Modal.css';
2
- import { Sprinkles } from '../../styles/sprinkles.css';
3
- export interface ModalProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'color'>, Sprinkles, NonNullable<ModalVariants> {
4
- css?: string;
5
- isOpen: boolean;
6
- onClose?: () => void;
7
- showCloseButton?: boolean;
8
- closeOnBackdropClick?: boolean;
9
- closeOnEscape?: boolean;
10
- contentProps?: ModalContentVariants & {
11
- css?: string;
12
- className?: string;
13
- };
14
- }
15
- export declare const Modal: import('react').ForwardRefExoticComponent<ModalProps & import('react').RefAttributes<HTMLDivElement>>;
File without changes
@@ -1,5 +0,0 @@
1
- export declare enum Align {
2
- Center = 0,
3
- Left = 1,
4
- Right = 2
5
- }