@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
@@ -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%',
|
@@ -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',
|