@latte-macchiat-io/latte-vanilla-components 0.0.163 → 0.0.165

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 (67) hide show
  1. package/dist/index.cjs.js +17 -31
  2. package/dist/index.es.js +3947 -5101
  3. package/dist/latte-vanilla-components.css +1 -1
  4. package/dist/types/components/Columns/stories.d.ts +0 -14
  5. package/dist/types/components/ConsentCookie/ConsentCookie.css.d.ts +0 -8
  6. package/dist/types/components/ConsentCookie/stories.d.ts +0 -6
  7. package/dist/types/components/Form/Row/stories.d.ts +0 -7
  8. package/dist/types/components/Form/TextField/Label/export.d.ts +0 -3
  9. package/dist/types/components/Form/TextField/Textarea/stories.d.ts +0 -9
  10. package/dist/types/components/Header/Header.css.d.ts +0 -15
  11. package/dist/types/components/Icon/Icon.css.d.ts +0 -32
  12. package/dist/types/components/Icon/Icon.d.ts +1 -1
  13. package/dist/types/components/Icon/stories.d.ts +0 -13
  14. package/dist/types/components/KeyNumber/KeyNumber.css.d.ts +0 -6
  15. package/dist/types/components/Main/stories.d.ts +0 -13
  16. package/dist/types/components/NavSocial/stories.d.ts +0 -6
  17. package/dist/types/index.d.ts +1 -1
  18. package/dist/types/utils/cookie.d.ts +2 -0
  19. package/dist/types/utils/deep-merge-objects.d.ts +2 -0
  20. package/dist/types/utils/theme.d.ts +17 -0
  21. package/dist/types/utils/use-breakpoint-key.d.ts +1 -0
  22. package/dist/types/utils/use-window-size.d.ts +5 -0
  23. package/package.json +7 -11
  24. package/dist/types/components/Actions/styles.css.d.ts +0 -17
  25. package/dist/types/components/Button/styles.css.d.ts +0 -38
  26. package/dist/types/components/Carousel/index.d.ts +0 -0
  27. package/dist/types/components/Carousel/styles.css.d.ts +0 -12
  28. package/dist/types/components/Columns/index.d.ts +0 -0
  29. package/dist/types/components/Columns/styles.css.d.ts +0 -27
  30. package/dist/types/components/ConsentCookie/index.d.ts +0 -0
  31. package/dist/types/components/ConsentCookie/styles.css.d.ts +0 -12
  32. package/dist/types/components/Footer/index.d.ts +0 -0
  33. package/dist/types/components/Footer/styles.css.d.ts +0 -28
  34. package/dist/types/components/Form/Row/styles.css.d.ts +0 -15
  35. package/dist/types/components/Form/TextField/Input/index.d.ts +0 -0
  36. package/dist/types/components/Form/TextField/Input/styles.css.d.ts +0 -27
  37. package/dist/types/components/Form/TextField/Label/index.d.ts +0 -0
  38. package/dist/types/components/Form/TextField/Label/styles.css.d.ts +0 -15
  39. package/dist/types/components/Form/TextField/Textarea/index.d.ts +0 -0
  40. package/dist/types/components/Form/TextField/Textarea/styles.css.d.ts +0 -12
  41. package/dist/types/components/Form/TextField/index.d.ts +0 -0
  42. package/dist/types/components/Form/TextField/styles.css.d.ts +0 -5
  43. package/dist/types/components/Form/index.d.ts +0 -0
  44. package/dist/types/components/Form/styles.css.d.ts +0 -18
  45. package/dist/types/components/Header/index.d.ts +0 -0
  46. package/dist/types/components/Header/styles.css.d.ts +0 -14
  47. package/dist/types/components/Icon/index.d.ts +0 -0
  48. package/dist/types/components/Icon/styles.css.d.ts +0 -11
  49. package/dist/types/components/KeyNumber/index.d.ts +0 -0
  50. package/dist/types/components/KeyNumber/styles.css.d.ts +0 -9
  51. package/dist/types/components/LanguageSwitcher/index.d.ts +0 -0
  52. package/dist/types/components/LanguageSwitcher/styles.css.d.ts +0 -12
  53. package/dist/types/components/Logo/index.d.ts +0 -0
  54. package/dist/types/components/Logo/styles.css.d.ts +0 -5
  55. package/dist/types/components/Main/index.d.ts +0 -0
  56. package/dist/types/components/Main/styles.css.d.ts +0 -18
  57. package/dist/types/components/Modal/index.d.ts +0 -0
  58. package/dist/types/components/Modal/styles.css.d.ts +0 -25
  59. package/dist/types/components/Nav/index.d.ts +0 -0
  60. package/dist/types/components/Nav/styles.css.d.ts +0 -9
  61. package/dist/types/components/NavLegal/index.d.ts +0 -0
  62. package/dist/types/components/NavLegal/styles.css.d.ts +0 -9
  63. package/dist/types/components/NavSocial/index.d.ts +0 -0
  64. package/dist/types/components/NavSocial/styles.css.d.ts +0 -12
  65. package/dist/types/components/Section/styles.css.d.ts +0 -29
  66. package/dist/types/components/Video/index.d.ts +0 -0
  67. package/dist/types/components/VideoFullWidth/index.d.ts +0 -0
package/package.json CHANGED
@@ -1,21 +1,22 @@
1
1
  {
2
2
  "name": "@latte-macchiat-io/latte-vanilla-components",
3
- "version": "0.0.163",
3
+ "version": "0.0.165",
4
4
  "description": "Beautiful components for amazing projects, with a touch of Vanilla 🥤",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",
7
7
  "types": "dist/types/index.d.ts",
8
8
  "exports": {
9
+ "types": "./dist/types/index.d.ts",
9
10
  "import": "./dist/index.es.js",
10
- "require": "./dist/index.cjs.js",
11
- "types": "./dist/types/index.d.ts"
11
+ "require": "./dist/index.cjs.js"
12
12
  },
13
13
  "files": [
14
14
  "dist"
15
15
  ],
16
16
  "peerDependencies": {
17
- "@emotion/react": "^11.0.0",
18
- "@emotion/styled": "^11.0.0",
17
+ "framer-motion": "^12.4.7",
18
+ "react-countup": "^6.5.3",
19
+ "react-intersection-observer": "^9.16.0",
19
20
  "react": "^19.0.0",
20
21
  "react-dom": "^19.0.0"
21
22
  },
@@ -37,6 +38,7 @@
37
38
  "@vanilla-extract/dynamic": "^2.1.5",
38
39
  "@vanilla-extract/recipes": "^0.5.7",
39
40
  "@vanilla-extract/sprinkles": "^1.6.5",
41
+ "@vanilla-extract/vite-plugin": "^5.1.1",
40
42
  "@vitejs/plugin-react": "^4.3.4",
41
43
  "clsx": "^2.1.1",
42
44
  "eslint": "^9.15.0",
@@ -61,12 +63,6 @@
61
63
  "plugin:storybook/recommended"
62
64
  ]
63
65
  },
64
- "dependencies": {
65
- "@vanilla-extract/vite-plugin": "^5.1.1",
66
- "framer-motion": "^12.4.7",
67
- "react-countup": "^6.5.3",
68
- "react-intersection-observer": "^9.16.0"
69
- },
70
66
  "scripts": {
71
67
  "build": "vite build",
72
68
  "test": "echo \"Error: no test specified\" && exit 1",
@@ -1,17 +0,0 @@
1
- export declare const actionGapVar: `var(--${string})`;
2
- export declare const actionAlignVar: `var(--${string})`;
3
- export declare const actionPaddingTopVar: `var(--${string})`;
4
- export declare const actionPaddingBottomVar: `var(--${string})`;
5
- export declare const actionJustifyContentVar: `var(--${string})`;
6
- export declare const styles: {
7
- width: string;
8
- display: string;
9
- flexWrap: string;
10
- flexDirection: string;
11
- gap: `var(--${string})`;
12
- alignItems: `var(--${string})`;
13
- paddingTop: `var(--${string})`;
14
- paddingBottom: `var(--${string})`;
15
- justifyContent: `var(--${string})`;
16
- };
17
- export declare const actionsStyle: string;
@@ -1,38 +0,0 @@
1
- export declare const buttonColorVar: `var(--${string})`;
2
- export declare const buttonCursorVar: `var(--${string})`;
3
- export declare const buttonBorderVar: `var(--${string})`;
4
- export declare const buttonMinWithVar: `var(--${string})`;
5
- export declare const buttonFontWeightVar: `var(--${string})`;
6
- export declare const buttonTransitionVar: `var(--${string})`;
7
- export declare const buttonPaddingTopVar: `var(--${string})`;
8
- export declare const buttonPaddingLeftVar: `var(--${string})`;
9
- export declare const buttonPaddingRightVar: `var(--${string})`;
10
- export declare const buttonPaddingBottomVar: `var(--${string})`;
11
- export declare const buttonPointerEventVar: `var(--${string})`;
12
- export declare const buttonBorderRadiusVar: `var(--${string})`;
13
- export declare const buttonLetterSpacingVar: `var(--${string})`;
14
- export declare const buttonBackgroundColorVar: `var(--${string})`;
15
- export declare const styles: {
16
- position: string;
17
- display: string;
18
- color: `var(--${string})`;
19
- border: `var(--${string})`;
20
- cursor: `var(--${string})`;
21
- minWidth: `var(--${string})`;
22
- fontWeight: `var(--${string})`;
23
- transition: `var(--${string})`;
24
- paddingTop: `var(--${string})`;
25
- paddingLeft: `var(--${string})`;
26
- paddingRight: `var(--${string})`;
27
- paddingBottom: `var(--${string})`;
28
- pointerEvent: `var(--${string})`;
29
- borderRadius: `var(--${string})`;
30
- letterSpacing: `var(--${string})`;
31
- backgroundColor: `var(--${string})`;
32
- selectors: {
33
- '&:hover': {
34
- opacity: number;
35
- };
36
- };
37
- };
38
- export declare const buttonStyle: string;
File without changes
@@ -1,12 +0,0 @@
1
- export declare const vars: {
2
- gap: `var(--${string})`;
3
- displayItem: `var(--${string})`;
4
- isFullWidth: `var(--${string})`;
5
- };
6
- export declare const styles: {
7
- gap: `var(--${string})`;
8
- display: string;
9
- flexWrap: string;
10
- overflow: string;
11
- width: `var(--${string})`;
12
- };
File without changes
@@ -1,27 +0,0 @@
1
- export declare const vars: {
2
- columnsGap: `var(--${string})`;
3
- };
4
- export declare const styles: {
5
- width: string;
6
- display: string;
7
- flexWrap: string;
8
- flexDirection: string;
9
- alignItems: string;
10
- gap: `var(--${string})`;
11
- justifyContent: string;
12
- textAlign: string;
13
- '@media': {
14
- [x: string]: {
15
- gap: `var(--${string})`;
16
- flexDirection: string;
17
- alignItems: string;
18
- justifyContent: string;
19
- } | {
20
- gap: `var(--${string})`;
21
- flexDirection?: undefined;
22
- alignItems?: undefined;
23
- justifyContent?: undefined;
24
- };
25
- };
26
- };
27
- export declare const columnsStyle: string;
File without changes
@@ -1,12 +0,0 @@
1
- export declare const vars: {
2
- overlayBlur: `var(--${string})`;
3
- overlayOpacity: `var(--${string})`;
4
- overlayBackgroundColor: `var(--${string})`;
5
- width: `var(--${string})`;
6
- backgroundColor: `var(--${string})`;
7
- borderRadius: `var(--${string})`;
8
- borders: `var(--${string})`;
9
- actionsGap: `var(--${string})`;
10
- actionsPaddingTop: `var(--${string})`;
11
- };
12
- export declare const styles: {};
File without changes
@@ -1,28 +0,0 @@
1
- export declare const vars: {
2
- footerGap: `var(--${string})`;
3
- footerBackgroundColor: `var(--${string})`;
4
- footerPaddingTop: `var(--${string})`;
5
- footerPaddingBottom: `var(--${string})`;
6
- footerPaddingLeft: `var(--${string})`;
7
- footerPaddingRight: `var(--${string})`;
8
- };
9
- export declare const styles: {
10
- zIndex: number;
11
- display: string;
12
- fontSize: string;
13
- alignItems: string;
14
- flexDirection: string;
15
- justifyContent: string;
16
- gap: `var(--${string})`;
17
- backgroundColor: `var(--${string})`;
18
- paddingTop: `var(--${string})`;
19
- paddingBottom: `var(--${string})`;
20
- paddingLeft: `var(--${string})`;
21
- paddingRight: `var(--${string})`;
22
- '@media': {
23
- [x: string]: {
24
- flexDirection: string;
25
- };
26
- };
27
- };
28
- export declare const footerStyle: string;
@@ -1,15 +0,0 @@
1
- export declare const vars: {
2
- rowGap: `var(--${string})`;
3
- rowPadding: `var(--${string})`;
4
- rowFontSize: `var(--${string})`;
5
- rowJustifyContent: `var(--${string})`;
6
- };
7
- export declare const styles: {
8
- display: string;
9
- flexDirection: string;
10
- gap: `var(--${string})`;
11
- padding: `var(--${string})`;
12
- fontSize: `var(--${string})`;
13
- justifyContent: `var(--${string})`;
14
- };
15
- export declare const rowStyle: string;
@@ -1,27 +0,0 @@
1
- export declare const vars: {
2
- font: `var(--${string})`;
3
- color: `var(--${string})`;
4
- border: `var(--${string})`;
5
- borderRadius: `var(--${string})`;
6
- backgroundColor: `var(--${string})`;
7
- padding: `var(--${string})`;
8
- placeholderColor: `var(--${string})`;
9
- placeholderOpacity: `var(--${string})`;
10
- };
11
- export declare const styles: {
12
- width: string;
13
- fontSize: string;
14
- lineHeight: string;
15
- fontFamily: `var(--${string})`;
16
- color: `var(--${string})`;
17
- border: `var(--${string})`;
18
- borderRadius: `var(--${string})`;
19
- backgroundColor: `var(--${string})`;
20
- padding: `var(--${string})`;
21
- selectors: {
22
- '&:focus': {
23
- outline: `var(--${string})`;
24
- };
25
- };
26
- };
27
- export declare const textFieldStyle: string;
@@ -1,15 +0,0 @@
1
- export declare const vars: {
2
- font: `var(--${string})`;
3
- color: `var(--${string})`;
4
- fontWeight: `var(--${string})`;
5
- paddingBottom: `var(--${string})`;
6
- };
7
- export declare const styles: {
8
- width: string;
9
- textAlign: string;
10
- fontFamily: `var(--${string})`;
11
- color: `var(--${string})`;
12
- fontWeight: `var(--${string})`;
13
- paddingBottom: `var(--${string})`;
14
- };
15
- export declare const textFieldLabel: string;
@@ -1,12 +0,0 @@
1
- export declare const vars: {
2
- font: `var(--${string})`;
3
- color: `var(--${string})`;
4
- border: `var(--${string})`;
5
- borderRadius: `var(--${string})`;
6
- padding: `var(--${string})`;
7
- backgroundColor: `var(--${string})`;
8
- placeholderColor: `var(--${string})`;
9
- placeholderOpacity: `var(--${string})`;
10
- };
11
- export declare const styles: {};
12
- export declare const textareaFieldStyle: string;
File without changes
@@ -1,5 +0,0 @@
1
- export declare const vars: {
2
- errorColor: `var(--${string})`;
3
- };
4
- export declare const styles: {};
5
- export declare const textFieldStyle: string;
File without changes
@@ -1,18 +0,0 @@
1
- export declare const vars: {
2
- formWidth: `var(--${string})`;
3
- formPadding: `var(--${string})`;
4
- formBackgroundColor: `var(--${string})`;
5
- };
6
- export declare const styles: {
7
- width: string;
8
- maxWidth: `var(--${string})`;
9
- backgroundColor: `var(--${string})`;
10
- padding: `var(--${string})`;
11
- position: string;
12
- '@media': {
13
- [x: string]: {
14
- padding: string;
15
- };
16
- };
17
- };
18
- export declare const formStyle: string;
File without changes
@@ -1,14 +0,0 @@
1
- export declare const vars: {
2
- isFixed: `var(--${string})`;
3
- };
4
- export declare const styles: {
5
- zIndex: number;
6
- width: string;
7
- display: string;
8
- alignItems: string;
9
- justifyContent: string;
10
- position: `var(--${string})`;
11
- backgroundColor: string;
12
- };
13
- export declare const headerStyle: string;
14
- export declare const headerPlaceholderStyle: string;
File without changes
@@ -1,11 +0,0 @@
1
- export declare const vars: {
2
- iconSize: `var(--${string})`;
3
- iconColor: `var(--${string})`;
4
- };
5
- export declare const styles: {
6
- margin: string;
7
- display: string;
8
- verticalAlign: string;
9
- };
10
- export declare const iconStyle: string;
11
- export declare const iconPathStyle: string;
File without changes
@@ -1,9 +0,0 @@
1
- export declare const vars: {
2
- keyNumberPaddingBottom: `var(--${string})`;
3
- };
4
- export declare const styles: {
5
- display: string;
6
- flexDirection: string;
7
- };
8
- export declare const keyNumbersListItemNumberStyle: string;
9
- export declare const keyNumberStyle: string;
File without changes
@@ -1,12 +0,0 @@
1
- export declare const vars: {
2
- languageSwitcherWidth: `var(--${string})`;
3
- };
4
- export declare const styles: {
5
- marginLeft: string;
6
- marginRight: string;
7
- position: string;
8
- width: `var(--${string})`;
9
- };
10
- export declare const languageSwitcherIconStyle: string;
11
- export declare const languageSwitcherSelectStyle: string;
12
- export declare const languageSwitcherFinalStyle: string;
File without changes
@@ -1,5 +0,0 @@
1
- export declare const vars: {
2
- imgMaxWidth: `var(--${string})`;
3
- };
4
- export declare const styles: {};
5
- export declare const logoStyle: string;
File without changes
@@ -1,18 +0,0 @@
1
- export declare const minHeight: `var(--${string})`;
2
- export declare const backgroundColor: `var(--${string})`;
3
- export declare const styles: {
4
- display: string;
5
- backgroundColor: `var(--${string})`;
6
- flex: string;
7
- minHeight: string;
8
- textAlign: string;
9
- alignItems: string;
10
- flexDirection: string;
11
- justifyContent: string;
12
- '@media': {
13
- [x: string]: {
14
- minHeight: `var(--${string})`;
15
- };
16
- };
17
- };
18
- export declare const mainStyle: string;
File without changes
@@ -1,25 +0,0 @@
1
- export declare const vars: {
2
- overlayOpacity: `var(--${string})`;
3
- overlayBackgroundColor: `var(--${string})`;
4
- overlayBlur: `var(--${string})`;
5
- modalWidth: `var(--${string})`;
6
- modalPaddingTop: `var(--${string})`;
7
- modalPaddingBottom: `var(--${string})`;
8
- modalPaddingLeft: `var(--${string})`;
9
- modalPaddingRight: `var(--${string})`;
10
- modalMaxWidth: `var(--${string})`;
11
- modalMaxHeight: `var(--${string})`;
12
- modalContentTextAlign: `var(--${string})`;
13
- modalContentBackgroundColor: `var(--${string})`;
14
- modalContentBorderRadius: `var(--${string})`;
15
- modalContentBorders: `var(--${string})`;
16
- };
17
- export declare const styles: {
18
- zIndex: number;
19
- position: string;
20
- width: string;
21
- height: string;
22
- };
23
- export declare const modalStyle: string;
24
- export declare const modalContentStyle: string;
25
- export declare const modalCloseButtonStyle: string;
File without changes
@@ -1,9 +0,0 @@
1
- export declare const vars: {
2
- navGap: `var(--${string})`;
3
- };
4
- export declare const styles: {
5
- display: string;
6
- flexDirection: string;
7
- gap: `var(--${string})`;
8
- };
9
- export declare const navStyle: string;
File without changes
@@ -1,9 +0,0 @@
1
- export declare const vars: {
2
- navLegalGap: `var(--${string})`;
3
- };
4
- export declare const styles: {
5
- display: string;
6
- flexDirection: string;
7
- gap: `var(--${string})`;
8
- };
9
- export declare const navLegalStyle: string;
File without changes
@@ -1,12 +0,0 @@
1
- export declare const vars: {
2
- navSocialGap: `var(--${string})`;
3
- };
4
- export declare const styles: {
5
- display: string;
6
- flexDirection: string;
7
- marginLeft: number;
8
- marginRight: number;
9
- gap: `var(--${string})`;
10
- };
11
- export declare const navSocialLinkStyle: string;
12
- export declare const navSocialStyle: string;
@@ -1,29 +0,0 @@
1
- export declare const sectionAlignVar: `var(--${string})`;
2
- export declare const sectionZIndexVar: `var(--${string})`;
3
- export declare const sectionColorVar: `var(--${string})`;
4
- export declare const sectionPaddingTopVar: `var(--${string})`;
5
- export declare const sectionPaddingLeftVar: `var(--${string})`;
6
- export declare const sectionPaddingRightVar: `var(--${string})`;
7
- export declare const sectionPaddingBottomVar: `var(--${string})`;
8
- export declare const sectionMinHeightVar: `var(--${string})`;
9
- export declare const sectionJustifyContentVar: `var(--${string})`;
10
- export declare const sectionBackgroundColorVar: `var(--${string})`;
11
- export declare const styles: {
12
- width: string;
13
- display: string;
14
- alignItems: string;
15
- position: string;
16
- flexDirection: string;
17
- animation: string;
18
- color: `var(--${string})`;
19
- zIndex: `var(--${string})`;
20
- minHeight: `var(--${string})`;
21
- paddingTop: `var(--${string})`;
22
- paddingLeft: `var(--${string})`;
23
- paddingRight: `var(--${string})`;
24
- paddingBottom: `var(--${string})`;
25
- background: `var(--${string})`;
26
- justifyContent: `var(--${string})`;
27
- };
28
- export declare const sectionStyle: string;
29
- export declare const sectionContentStyle: string;
File without changes
File without changes