@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,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
- }