@contentrain/astro-kit 0.33.0 → 0.33.1
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/catalog.json +1 -0
- package/components/slider/meta.json +1 -1
- package/mapping/elementor.json +19 -0
- package/package.json +1 -1
package/catalog.json
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"dependencies": { "embla-carousel": "^8.6.0" },
|
|
31
31
|
"sources": {
|
|
32
32
|
"gutenberg": ["core/gallery:carousel"],
|
|
33
|
-
"elementor": ["elementor/image-carousel", "elementor/slides", "elementor/media-carousel", "elementor/nested-carousel", "elementor/loop-carousel"],
|
|
33
|
+
"elementor": ["elementor/image-carousel", "elementor/slides", "elementor/media-carousel", "elementor/nested-carousel", "elementor/udesign_widget_posts_grid", "elementor/loop-carousel"],
|
|
34
34
|
"divi": ["divi/et_pb_slider", "divi/et_pb_fullwidth_slider", "divi/et_pb_post_slider"],
|
|
35
35
|
"classic": ["classic/revslider", "classic/metaslider", "classic/smart-slider", "classic/swiper", "classic/slick", "classic/splide", "classic/owl"]
|
|
36
36
|
},
|
package/mapping/elementor.json
CHANGED
|
@@ -298,6 +298,25 @@
|
|
|
298
298
|
"text": "dom:p"
|
|
299
299
|
}
|
|
300
300
|
},
|
|
301
|
+
{
|
|
302
|
+
"match": "elementor/udesign_widget_posts_grid",
|
|
303
|
+
"component": "slider",
|
|
304
|
+
"props": {
|
|
305
|
+
"label": "ui:slider.label",
|
|
306
|
+
"prevLabel": "ui:slider.prev",
|
|
307
|
+
"nextLabel": "ui:slider.next",
|
|
308
|
+
"slideLabel": "ui:slider.slide",
|
|
309
|
+
"ofLabel": "ui:slider.of"
|
|
310
|
+
},
|
|
311
|
+
"into": "slides",
|
|
312
|
+
"each": ".slider-wrapper[data-slider-options] > *",
|
|
313
|
+
"item": {
|
|
314
|
+
"image": "img:img@src",
|
|
315
|
+
"imageAlt": "img:img@alt",
|
|
316
|
+
"title": "dom:h1, h2, h3, h4",
|
|
317
|
+
"text": "dom:p, figcaption"
|
|
318
|
+
}
|
|
319
|
+
},
|
|
301
320
|
{
|
|
302
321
|
"match": "elementor/loop-carousel",
|
|
303
322
|
"component": "slider",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentrain/astro-kit",
|
|
3
|
-
"version": "0.33.
|
|
3
|
+
"version": "0.33.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "Copy-in Astro components for Contentrain sites (shadcn model): typed props, tailwind-variants, zero JavaScript by default — with a machine-readable catalog",
|
|
6
6
|
"type": "module",
|