@latte-macchiat-io/latte-vanilla-components 0.0.313 → 0.0.315

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.313",
3
+ "version": "0.0.315",
4
4
  "description": "Beautiful components for amazing projects, with a touch of Vanilla 🥤",
5
5
  "type": "module",
6
6
  "main": "./src/index.ts",
@@ -103,6 +103,12 @@ export const carouselNav = recipe(
103
103
  position: 'absolute',
104
104
  pointerEvents: 'none',
105
105
  justifyContent: 'flex-end',
106
+
107
+ '@media': {
108
+ ...generateResponsiveMedia({
109
+ gap: themeContract.carousel.nav.gap,
110
+ }),
111
+ },
106
112
  },
107
113
 
108
114
  variants: {
@@ -129,6 +135,7 @@ export const carouselNav = recipe(
129
135
  },
130
136
  center: {
131
137
  top: '50%',
138
+ transform: 'translate(0%, -50%)',
132
139
  },
133
140
  bottom: {
134
141
  top: '100%',
@@ -2,6 +2,14 @@ const themeCarouselBase = {
2
2
  carousel: {
3
3
  nav: {
4
4
  borderRadius: '1000px',
5
+ gap: {
6
+ mobile: '15',
7
+ sm: '15',
8
+ md: '30',
9
+ lg: '30',
10
+ xl: '50',
11
+ '2xl': '50',
12
+ },
5
13
  width: {
6
14
  mobile: '15',
7
15
  sm: '15',
@@ -813,6 +813,14 @@ export const themeContract = createGlobalThemeContract({
813
813
  border: 'latte-carousel-nav-border',
814
814
  borderRadius: 'latte-carousel-nav-borderRadius',
815
815
  backgroundColor: 'latte-carousel-nav-backgroundColor',
816
+ gap: {
817
+ mobile: 'latte-carousel-nav-gap-mobile',
818
+ sm: 'latte-carousel-nav-gap-sm',
819
+ md: 'latte-carousel-nav-gap-md',
820
+ lg: 'latte-carousel-nav-gap-lg',
821
+ xl: 'latte-carousel-nav-gap-xl',
822
+ '2xl': 'latte-carousel-nav-gap-2xl',
823
+ },
816
824
  width: {
817
825
  mobile: 'latte-carousel-nav-width-mobile',
818
826
  sm: 'latte-carousel-nav-width-sm',