@latte-macchiat-io/latte-vanilla-components 0.0.422 → 0.0.424

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@latte-macchiat-io/latte-vanilla-components",
3
- "version": "0.0.422",
3
+ "version": "0.0.424",
4
4
  "description": "Beautiful components for amazing projects, with a touch of Vanilla 🥤",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -61,16 +61,16 @@ export const consentContent = style(
61
61
  ...generateResponsiveMedia({
62
62
  width: themeContract.consentCookie.width,
63
63
  paddingTop: themeContract.consentCookie.paddingTop,
64
- paddingLeft: themeContract.global.paddingLeft,
65
- paddingRight: themeContract.global.paddingRight,
64
+ paddingLeft: themeContract.consentCookie.paddingLeft,
65
+ paddingRight: themeContract.consentCookie.paddingRight,
66
66
  paddingBottom: themeContract.consentCookie.paddingBottom,
67
67
  maxWidth: {
68
- mobile: `calc(100% - ${themeContract.global.paddingLeft.mobile} - ${themeContract.global.paddingRight.mobile})`,
69
- sm: `calc(100% - ${themeContract.global.paddingLeft.sm} - ${themeContract.global.paddingRight.sm})`,
70
- md: `calc(100% - ${themeContract.global.paddingLeft.md} - ${themeContract.global.paddingRight.md})`,
71
- lg: `calc(100% - ${themeContract.global.paddingLeft.lg} - ${themeContract.global.paddingRight.lg})`,
72
- xl: `calc(100% - ${themeContract.global.paddingLeft.xl} - ${themeContract.global.paddingRight.xl})`,
73
- '2xl': `calc(100% - ${themeContract.global.paddingLeft['2xl']} - ${themeContract.global.paddingRight['2xl']})`,
68
+ mobile: `calc(100% - ${themeContract.consentCookie.paddingLeft.mobile} - ${themeContract.consentCookie.paddingRight.mobile})`,
69
+ sm: `calc(100% - ${themeContract.consentCookie.paddingLeft.sm} - ${themeContract.consentCookie.paddingRight.sm})`,
70
+ md: `calc(100% - ${themeContract.consentCookie.paddingLeft.md} - ${themeContract.consentCookie.paddingRight.md})`,
71
+ lg: `calc(100% - ${themeContract.consentCookie.paddingLeft.lg} - ${themeContract.consentCookie.paddingRight.lg})`,
72
+ xl: `calc(100% - ${themeContract.consentCookie.paddingLeft.xl} - ${themeContract.consentCookie.paddingRight.xl})`,
73
+ '2xl': `calc(100% - ${themeContract.consentCookie.paddingLeft['2xl']} - ${themeContract.consentCookie.paddingRight['2xl']})`,
74
74
  },
75
75
  }),
76
76
  },
@@ -4,12 +4,11 @@ const themeConsentCookieBase = {
4
4
  overlayBlur: '0',
5
5
  borderRadius: '30px',
6
6
 
7
- closeButtonRightPosition: { mobile: '15px', sm: '15px', md: '30px', lg: '30px', xl: '50px', '2xl': '50px' },
8
- closeButtonTopPosition: { mobile: '15px', sm: '15px', md: '30px', lg: '30px', xl: '50px', '2xl': '50px' },
9
-
10
7
  gap: { mobile: '15px', sm: '15px', md: '30px', lg: '30px', xl: '50px', '2xl': '50px' },
11
8
  width: { mobile: '100%', sm: '200px', md: '600px', lg: '600px', xl: '800px', '2xl': '800px' },
12
9
  paddingTop: { mobile: '15px', sm: '15px', md: '30px', lg: '30px', xl: '50px', '2xl': '50px' },
10
+ paddingLeft: { mobile: '15px', sm: '15px', md: '30px', lg: '30px', xl: '50px', '2xl': '50px' },
11
+ paddingRight: { mobile: '15px', sm: '15px', md: '30px', lg: '30px', xl: '50px', '2xl': '50px' },
13
12
  paddingBottom: { mobile: '15px', sm: '15px', md: '30px', lg: '30px', xl: '50px', '2xl': '50px' },
14
13
  },
15
14
  };
@@ -18,7 +17,6 @@ export const themeConsentCookieLight = {
18
17
  consentCookie: {
19
18
  ...themeConsentCookieBase.consentCookie,
20
19
  backgroundColor: '#000000',
21
- closeButtonColor: '#000000',
22
20
  overlayBackgroundColor: '#000000',
23
21
  },
24
22
  };
@@ -27,7 +25,6 @@ export const themeConsentCookieDark = {
27
25
  consentCookie: {
28
26
  ...themeConsentCookieBase.consentCookie,
29
27
  backgroundColor: '#000000',
30
- closeButtonColor: '#000000',
31
28
  overlayBackgroundColor: '#000000',
32
29
  },
33
30
  };
@@ -1060,5 +1060,21 @@ export const themeContract = createGlobalThemeContract({
1060
1060
  xl: 'latte-consentCookie-paddingBottom-xl',
1061
1061
  '2xl': 'latte-consentCookie-paddingBottom-2xl',
1062
1062
  },
1063
+ paddingLeft: {
1064
+ mobile: 'latte-consentCookie-paddingLeft-mobile',
1065
+ sm: 'latte-consentCookie-paddingLeft-sm',
1066
+ md: 'latte-consentCookie-paddingLeft-md',
1067
+ lg: 'latte-consentCookie-paddingLeft-lg',
1068
+ xl: 'latte-consentCookie-paddingLeft-xl',
1069
+ '2xl': 'latte-consentCookie-paddingLeft-2xl',
1070
+ },
1071
+ paddingRight: {
1072
+ mobile: 'latte-consentCookie-paddingRight-mobile',
1073
+ sm: 'latte-consentCookie-paddingRight-sm',
1074
+ md: 'latte-consentCookie-paddingRight-md',
1075
+ lg: 'latte-consentCookie-paddingRight-lg',
1076
+ xl: 'latte-consentCookie-paddingRight-xl',
1077
+ '2xl': 'latte-consentCookie-paddingRight-2xl',
1078
+ },
1063
1079
  },
1064
1080
  });