@contentrain/astro-kit 0.31.0 → 0.33.0
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 +4600 -1584
- package/components/_shared/Button.astro +2 -1
- package/components/_shared/KitImage.astro +9 -4
- package/components/_shared/Section.astro +3 -1
- package/components/_shared/SectionHeader.astro +27 -0
- package/components/_shared/measured.ts +23 -0
- package/components/_shared/safe-url.ts +67 -0
- package/components/_shared/social.ts +73 -0
- package/components/announcement/Announcement.astro +2 -1
- package/components/announcement/meta.json +1 -1
- package/components/band/Band.astro +3 -2
- package/components/band/meta.json +1 -0
- package/components/breadcrumb/Breadcrumb.astro +2 -1
- package/components/breadcrumb/meta.json +1 -1
- package/components/card-grid/CardGrid.astro +2 -1
- package/components/card-grid/meta.json +1 -0
- package/components/consent/Consent.astro +2 -1
- package/components/consent/meta.json +1 -1
- package/components/contact-details/ContactDetails.astro +3 -2
- package/components/contact-details/meta.json +1 -0
- package/components/contact-form/ContactForm.astro +51 -14
- package/components/contact-form/fixtures.json +169 -9
- package/components/contact-form/meta.json +284 -15
- package/components/cta/Cta.astro +52 -12
- package/components/cta/fixtures.json +5 -1
- package/components/cta/meta.json +11 -2
- package/components/dialog/Dialog.astro +113 -0
- package/components/dialog/fixtures.json +84 -0
- package/components/dialog/meta.json +252 -0
- package/components/embed/meta.json +1 -1
- package/components/faq/Faq.astro +60 -17
- package/components/faq/fixtures.json +79 -0
- package/components/faq/meta.json +9 -3
- package/components/feature-list/FeatureList.astro +28 -4
- package/components/feature-list/meta.json +16 -3
- package/components/footer/Footer.astro +5 -4
- package/components/footer/meta.json +1 -0
- package/components/gallery/Gallery.astro +49 -14
- package/components/gallery/fixtures.json +275 -0
- package/components/gallery/meta.json +267 -14
- package/components/header/Header.astro +17 -5
- package/components/header/fixtures.json +90 -1
- package/components/header/meta.json +5 -3
- package/components/hero/meta.json +1 -0
- package/components/language-switcher/LanguageSwitcher.astro +68 -0
- package/components/language-switcher/fixtures.json +51 -0
- package/components/language-switcher/meta.json +73 -0
- package/components/logo-cloud/LogoCloud.astro +86 -21
- package/components/logo-cloud/fixtures.json +239 -0
- package/components/logo-cloud/meta.json +145 -5
- package/components/nav/Nav.astro +77 -24
- package/components/nav/NavTree.astro +40 -0
- package/components/nav/fixtures.json +165 -0
- package/components/nav/meta.json +11 -2
- package/components/newsletter/Newsletter.astro +2 -1
- package/components/newsletter/meta.json +1 -0
- package/components/pagination/Pagination.astro +4 -3
- package/components/pagination/meta.json +1 -1
- package/components/post-card/PostCard.astro +8 -5
- package/components/post-card/meta.json +3 -2
- package/components/post-list/PostList.astro +115 -0
- package/components/post-list/fixtures.json +387 -0
- package/components/post-list/meta.json +309 -0
- package/components/pricing/Pricing.astro +128 -24
- package/components/pricing/fixtures.json +288 -4
- package/components/pricing/meta.json +188 -1
- package/components/search-box/SearchBox.astro +51 -0
- package/components/search-box/fixtures.json +31 -0
- package/components/search-box/meta.json +75 -0
- package/components/slider/Slider.astro +19 -115
- package/components/slider/SliderTrack.astro +178 -0
- package/components/slider/fixtures.json +2 -1
- package/components/slider/meta.json +11 -5
- package/components/social-links/SocialLinks.astro +74 -0
- package/components/social-links/fixtures.json +67 -0
- package/components/social-links/meta.json +94 -0
- package/components/split/Split.astro +76 -14
- package/components/split/fixtures.json +8 -1
- package/components/split/meta.json +226 -4
- package/components/stats/Stats.astro +54 -11
- package/components/stats/fixtures.json +260 -0
- package/components/stats/meta.json +151 -4
- package/components/steps/Steps.astro +36 -8
- package/components/steps/fixtures.json +217 -5
- package/components/steps/meta.json +157 -3
- package/components/tabs/Tabs.astro +10 -3
- package/components/tabs/fixtures.json +4 -0
- package/components/tabs/meta.json +5 -2
- package/components/team/Team.astro +54 -9
- package/components/team/fixtures.json +217 -4
- package/components/team/meta.json +169 -3
- package/components/team/team.ts +4 -0
- package/components/testimonial/Testimonial.astro +71 -21
- package/components/testimonial/fixtures.json +73 -0
- package/components/testimonial/meta.json +168 -6
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/mapping/classic.json +124 -3
- package/mapping/divi.json +26 -8
- package/mapping/elementor.json +133 -14
- package/mapping/gutenberg.json +38 -10
- package/package.json +2 -2
package/mapping/classic.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"format": "astro-kit-mapping@1",
|
|
3
3
|
"builder": "classic",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "8",
|
|
5
5
|
"fallback": "prose",
|
|
6
6
|
"rules": [
|
|
7
7
|
{
|
|
@@ -190,16 +190,36 @@
|
|
|
190
190
|
{
|
|
191
191
|
"match": "classic/tabs",
|
|
192
192
|
"component": "tabs",
|
|
193
|
+
"props": {
|
|
194
|
+
"label": "ui:tabs.label"
|
|
195
|
+
},
|
|
196
|
+
"into": "items",
|
|
197
|
+
"each": "[role=tab]",
|
|
198
|
+
"item": {
|
|
199
|
+
"label": "dom:",
|
|
200
|
+
"content": "html@root:[role=tabpanel]"
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"match": "classic/aria-tabs",
|
|
205
|
+
"component": "tabs",
|
|
206
|
+
"props": {
|
|
207
|
+
"label": "ui:tabs.label"
|
|
208
|
+
},
|
|
193
209
|
"into": "items",
|
|
194
210
|
"each": "[role=tab]",
|
|
195
211
|
"item": {
|
|
196
212
|
"label": "dom:",
|
|
197
|
-
"content": "html:[role=tabpanel]"
|
|
213
|
+
"content": "html@root:[role=tabpanel]"
|
|
198
214
|
}
|
|
199
215
|
},
|
|
200
216
|
{
|
|
201
217
|
"match": "classic/testimonial",
|
|
202
218
|
"component": "testimonial",
|
|
219
|
+
"props": {
|
|
220
|
+
"ratingLabel": "ui:testimonial.rating",
|
|
221
|
+
"label": "ui:testimonial.label"
|
|
222
|
+
},
|
|
203
223
|
"group": "siblings",
|
|
204
224
|
"into": "items",
|
|
205
225
|
"item": {
|
|
@@ -213,7 +233,9 @@
|
|
|
213
233
|
"match": "classic/gallery",
|
|
214
234
|
"component": "gallery",
|
|
215
235
|
"props": {
|
|
216
|
-
"closeLabel": "ui:gallery.close"
|
|
236
|
+
"closeLabel": "ui:gallery.close",
|
|
237
|
+
"enlargeLabel": "ui:gallery.enlarge",
|
|
238
|
+
"regionLabel": "ui:gallery.images"
|
|
217
239
|
},
|
|
218
240
|
"into": "items",
|
|
219
241
|
"each": ".gallery-item",
|
|
@@ -400,6 +422,105 @@
|
|
|
400
422
|
"declineLabel": "dom:#CybotCookiebotDialogBodyButtonDecline",
|
|
401
423
|
"policyHref": "dom:#CybotCookiebotDialogBodyText a@href"
|
|
402
424
|
}
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
"match": "classic/swiper",
|
|
428
|
+
"component": "slider",
|
|
429
|
+
"props": {
|
|
430
|
+
"label": "ui:slider.label",
|
|
431
|
+
"prevLabel": "ui:slider.prev",
|
|
432
|
+
"nextLabel": "ui:slider.next",
|
|
433
|
+
"slideLabel": "ui:slider.slide",
|
|
434
|
+
"ofLabel": "ui:slider.of"
|
|
435
|
+
},
|
|
436
|
+
"into": "slides",
|
|
437
|
+
"each": ".swiper-slide:not(.swiper-slide-duplicate)",
|
|
438
|
+
"item": {
|
|
439
|
+
"image": "img:img@src",
|
|
440
|
+
"imageAlt": "img:img@alt",
|
|
441
|
+
"title": "dom:h1, h2, h3, h4",
|
|
442
|
+
"text": "dom:p, figcaption"
|
|
443
|
+
}
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"match": "classic/slick",
|
|
447
|
+
"component": "slider",
|
|
448
|
+
"props": {
|
|
449
|
+
"label": "ui:slider.label",
|
|
450
|
+
"prevLabel": "ui:slider.prev",
|
|
451
|
+
"nextLabel": "ui:slider.next",
|
|
452
|
+
"slideLabel": "ui:slider.slide",
|
|
453
|
+
"ofLabel": "ui:slider.of"
|
|
454
|
+
},
|
|
455
|
+
"into": "slides",
|
|
456
|
+
"each": ".slick-slide:not(.slick-cloned)",
|
|
457
|
+
"item": {
|
|
458
|
+
"image": "img:img@src",
|
|
459
|
+
"imageAlt": "img:img@alt",
|
|
460
|
+
"title": "dom:h1, h2, h3, h4",
|
|
461
|
+
"text": "dom:p, figcaption"
|
|
462
|
+
}
|
|
463
|
+
},
|
|
464
|
+
{
|
|
465
|
+
"match": "classic/splide",
|
|
466
|
+
"component": "slider",
|
|
467
|
+
"props": {
|
|
468
|
+
"label": "ui:slider.label",
|
|
469
|
+
"prevLabel": "ui:slider.prev",
|
|
470
|
+
"nextLabel": "ui:slider.next",
|
|
471
|
+
"slideLabel": "ui:slider.slide",
|
|
472
|
+
"ofLabel": "ui:slider.of"
|
|
473
|
+
},
|
|
474
|
+
"into": "slides",
|
|
475
|
+
"each": ".splide__slide:not(.splide__slide--clone)",
|
|
476
|
+
"item": {
|
|
477
|
+
"image": "img:img@src",
|
|
478
|
+
"imageAlt": "img:img@alt",
|
|
479
|
+
"title": "dom:h1, h2, h3, h4",
|
|
480
|
+
"text": "dom:p, figcaption"
|
|
481
|
+
}
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
"match": "classic/owl",
|
|
485
|
+
"component": "slider",
|
|
486
|
+
"props": {
|
|
487
|
+
"label": "ui:slider.label",
|
|
488
|
+
"prevLabel": "ui:slider.prev",
|
|
489
|
+
"nextLabel": "ui:slider.next",
|
|
490
|
+
"slideLabel": "ui:slider.slide",
|
|
491
|
+
"ofLabel": "ui:slider.of"
|
|
492
|
+
},
|
|
493
|
+
"into": "slides",
|
|
494
|
+
"each": ".owl-item:not(.cloned)",
|
|
495
|
+
"item": {
|
|
496
|
+
"image": "img:img@src",
|
|
497
|
+
"imageAlt": "img:img@alt",
|
|
498
|
+
"title": "dom:h1, h2, h3, h4",
|
|
499
|
+
"text": "dom:p, figcaption"
|
|
500
|
+
}
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
"match": "classic/details",
|
|
504
|
+
"component": "faq",
|
|
505
|
+
"into": "items",
|
|
506
|
+
"each": "details",
|
|
507
|
+
"item": {
|
|
508
|
+
"question": "dom:summary",
|
|
509
|
+
"answer": "html::scope > :not(summary)"
|
|
510
|
+
}
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"match": "classic/popup-maker",
|
|
514
|
+
"component": "dialog",
|
|
515
|
+
"props": {
|
|
516
|
+
"heading": "dom:.pum-title",
|
|
517
|
+
"html": "html:.pum-content",
|
|
518
|
+
"triggerLabel": "ui:dialog.open",
|
|
519
|
+
"closeLabel": "ui:dialog.close"
|
|
520
|
+
},
|
|
521
|
+
"into": "actions",
|
|
522
|
+
"each": ".pum-content a.button",
|
|
523
|
+
"item": { "label": "dom:", "href": "dom:@href" }
|
|
403
524
|
}
|
|
404
525
|
]
|
|
405
526
|
}
|
package/mapping/divi.json
CHANGED
|
@@ -243,16 +243,23 @@
|
|
|
243
243
|
{
|
|
244
244
|
"match": "divi/et_pb_tabs",
|
|
245
245
|
"component": "tabs",
|
|
246
|
+
"props": {
|
|
247
|
+
"label": "ui:tabs.label"
|
|
248
|
+
},
|
|
246
249
|
"into": "items",
|
|
247
250
|
"each": ".et_pb_tabs_controls li",
|
|
248
251
|
"item": {
|
|
249
252
|
"label": "dom:a",
|
|
250
|
-
"content": "html:.et_pb_tab"
|
|
253
|
+
"content": "html@root:.et_pb_tab"
|
|
251
254
|
}
|
|
252
255
|
},
|
|
253
256
|
{
|
|
254
257
|
"match": "divi/et_pb_testimonial",
|
|
255
258
|
"component": "testimonial",
|
|
259
|
+
"props": {
|
|
260
|
+
"ratingLabel": "ui:testimonial.rating",
|
|
261
|
+
"label": "ui:testimonial.label"
|
|
262
|
+
},
|
|
256
263
|
"group": "siblings",
|
|
257
264
|
"into": "items",
|
|
258
265
|
"item": {
|
|
@@ -267,7 +274,9 @@
|
|
|
267
274
|
"match": "divi/et_pb_gallery",
|
|
268
275
|
"component": "gallery",
|
|
269
276
|
"props": {
|
|
270
|
-
"closeLabel": "ui:gallery.close"
|
|
277
|
+
"closeLabel": "ui:gallery.close",
|
|
278
|
+
"enlargeLabel": "ui:gallery.enlarge",
|
|
279
|
+
"regionLabel": "ui:gallery.images"
|
|
271
280
|
},
|
|
272
281
|
"into": "items",
|
|
273
282
|
"each": ".et_pb_gallery_item",
|
|
@@ -457,7 +466,10 @@
|
|
|
457
466
|
},
|
|
458
467
|
"props": {
|
|
459
468
|
"heading": "@intro dom:h1,h2,h3,h4",
|
|
460
|
-
"intro": "@intro dom:p"
|
|
469
|
+
"intro": "@intro dom:p",
|
|
470
|
+
"featuredLabel": "ui:pricing.featured",
|
|
471
|
+
"includedLabel": "ui:pricing.included",
|
|
472
|
+
"notIncludedLabel": "ui:pricing.not_included"
|
|
461
473
|
},
|
|
462
474
|
"into": "plans",
|
|
463
475
|
"each": "@tables .et_pb_pricing_table",
|
|
@@ -486,7 +498,9 @@
|
|
|
486
498
|
},
|
|
487
499
|
"props": {
|
|
488
500
|
"heading": "@intro dom:h1,h2,h3,h4",
|
|
489
|
-
"intro": "@intro dom:p"
|
|
501
|
+
"intro": "@intro dom:p",
|
|
502
|
+
"readMoreLabel": "ui:team.read_more",
|
|
503
|
+
"socialLabel": "ui:team.social"
|
|
490
504
|
},
|
|
491
505
|
"into": "items",
|
|
492
506
|
"each": "@member",
|
|
@@ -501,6 +515,11 @@
|
|
|
501
515
|
{
|
|
502
516
|
"id": "testimonial.quotes",
|
|
503
517
|
"component": "testimonial",
|
|
518
|
+
"props": {
|
|
519
|
+
"ratingLabel": "ui:testimonial.rating",
|
|
520
|
+
"label": "ui:testimonial.label",
|
|
521
|
+
"heading": "@intro dom:h1,h2,h3,h4"
|
|
522
|
+
},
|
|
504
523
|
"slots": {
|
|
505
524
|
"intro": {
|
|
506
525
|
"match": "divi/et_pb_text",
|
|
@@ -511,9 +530,6 @@
|
|
|
511
530
|
"min": 1
|
|
512
531
|
}
|
|
513
532
|
},
|
|
514
|
-
"props": {
|
|
515
|
-
"heading": "@intro dom:h1,h2,h3,h4"
|
|
516
|
-
},
|
|
517
533
|
"into": "items",
|
|
518
534
|
"each": "@quote",
|
|
519
535
|
"item": {
|
|
@@ -588,7 +604,9 @@
|
|
|
588
604
|
},
|
|
589
605
|
"props": {
|
|
590
606
|
"heading": "@intro dom:h1,h2,h3,h4",
|
|
591
|
-
"closeLabel": "ui:gallery.close"
|
|
607
|
+
"closeLabel": "ui:gallery.close",
|
|
608
|
+
"enlargeLabel": "ui:gallery.enlarge",
|
|
609
|
+
"regionLabel": "ui:gallery.images"
|
|
592
610
|
},
|
|
593
611
|
"into": "items",
|
|
594
612
|
"each": "@images .et_pb_gallery_item",
|
package/mapping/elementor.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"format": "astro-kit-mapping@1",
|
|
3
3
|
"builder": "elementor",
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "13",
|
|
5
5
|
"fallback": "prose",
|
|
6
6
|
"defaults": {
|
|
7
7
|
"elementor/video": {
|
|
@@ -256,26 +256,113 @@
|
|
|
256
256
|
{
|
|
257
257
|
"match": "elementor/tabs",
|
|
258
258
|
"component": "tabs",
|
|
259
|
+
"props": {
|
|
260
|
+
"label": "ui:tabs.label"
|
|
261
|
+
},
|
|
259
262
|
"into": "items",
|
|
260
263
|
"each": ".elementor-tab-desktop-title",
|
|
261
264
|
"item": {
|
|
262
265
|
"label": "dom:",
|
|
263
|
-
"content": "html:.elementor-tab-content"
|
|
266
|
+
"content": "html@root:.elementor-tab-content"
|
|
264
267
|
}
|
|
265
268
|
},
|
|
266
269
|
{
|
|
267
270
|
"match": "elementor/nested-tabs",
|
|
268
271
|
"component": "tabs",
|
|
272
|
+
"props": {
|
|
273
|
+
"label": "ui:tabs.label"
|
|
274
|
+
},
|
|
269
275
|
"into": "items",
|
|
270
276
|
"each": ".e-n-tab-title",
|
|
271
277
|
"item": {
|
|
272
278
|
"label": "dom:.e-n-tab-title-text",
|
|
273
|
-
"content": "html:.e-con"
|
|
279
|
+
"content": "html@root:.e-n-tabs-content > .e-con"
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"match": "elementor/nested-carousel",
|
|
284
|
+
"component": "slider",
|
|
285
|
+
"props": {
|
|
286
|
+
"label": "ui:slider.label",
|
|
287
|
+
"prevLabel": "ui:slider.prev",
|
|
288
|
+
"nextLabel": "ui:slider.next",
|
|
289
|
+
"slideLabel": "ui:slider.slide",
|
|
290
|
+
"ofLabel": "ui:slider.of"
|
|
291
|
+
},
|
|
292
|
+
"into": "slides",
|
|
293
|
+
"each": ".swiper-slide:not(.swiper-slide-duplicate)",
|
|
294
|
+
"item": {
|
|
295
|
+
"image": "img:img@src",
|
|
296
|
+
"imageAlt": "img:img@alt",
|
|
297
|
+
"title": "dom:h1, h2, h3, h4",
|
|
298
|
+
"text": "dom:p"
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"match": "elementor/loop-carousel",
|
|
303
|
+
"component": "slider",
|
|
304
|
+
"bind": "collection:posts",
|
|
305
|
+
"props": {
|
|
306
|
+
"label": "ui:slider.label",
|
|
307
|
+
"prevLabel": "ui:slider.prev",
|
|
308
|
+
"nextLabel": "ui:slider.next",
|
|
309
|
+
"slideLabel": "ui:slider.slide",
|
|
310
|
+
"ofLabel": "ui:slider.of"
|
|
311
|
+
},
|
|
312
|
+
"into": "slides",
|
|
313
|
+
"item": {
|
|
314
|
+
"title": "field:title",
|
|
315
|
+
"text": "field:excerpt",
|
|
316
|
+
"image": "media:featured_image"
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"match": "elementor/testimonial-carousel",
|
|
321
|
+
"component": "testimonial",
|
|
322
|
+
"props": {
|
|
323
|
+
"ratingLabel": "ui:testimonial.rating",
|
|
324
|
+
"label": "ui:testimonial.label"
|
|
325
|
+
},
|
|
326
|
+
"variant": {
|
|
327
|
+
"layout": "row"
|
|
328
|
+
},
|
|
329
|
+
"into": "items",
|
|
330
|
+
"each": ".swiper-slide:not(.swiper-slide-duplicate)",
|
|
331
|
+
"item": {
|
|
332
|
+
"quote": "dom:.elementor-testimonial__text",
|
|
333
|
+
"name": "dom:.elementor-testimonial__name",
|
|
334
|
+
"role": "dom:.elementor-testimonial__title",
|
|
335
|
+
"avatar": "img:.elementor-testimonial__image img@src",
|
|
336
|
+
"avatarAlt": "img:.elementor-testimonial__image img@alt"
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"match": "elementor/reviews",
|
|
341
|
+
"component": "testimonial",
|
|
342
|
+
"props": {
|
|
343
|
+
"ratingLabel": "ui:testimonial.rating",
|
|
344
|
+
"label": "ui:testimonial.label"
|
|
345
|
+
},
|
|
346
|
+
"variant": {
|
|
347
|
+
"layout": "row"
|
|
348
|
+
},
|
|
349
|
+
"into": "items",
|
|
350
|
+
"each": ".swiper-slide:not(.swiper-slide-duplicate)",
|
|
351
|
+
"item": {
|
|
352
|
+
"quote": "dom:.elementor-testimonial__text",
|
|
353
|
+
"name": "dom:.elementor-testimonial__name",
|
|
354
|
+
"role": "dom:.elementor-testimonial__title",
|
|
355
|
+
"avatar": "img:.elementor-testimonial__image img@src",
|
|
356
|
+
"avatarAlt": "img:.elementor-testimonial__image img@alt"
|
|
274
357
|
}
|
|
275
358
|
},
|
|
276
359
|
{
|
|
277
360
|
"match": "elementor/testimonial",
|
|
278
361
|
"component": "testimonial",
|
|
362
|
+
"props": {
|
|
363
|
+
"ratingLabel": "ui:testimonial.rating",
|
|
364
|
+
"label": "ui:testimonial.label"
|
|
365
|
+
},
|
|
279
366
|
"variant": {
|
|
280
367
|
"frame": "plain"
|
|
281
368
|
},
|
|
@@ -293,7 +380,9 @@
|
|
|
293
380
|
"match": "elementor/image-gallery",
|
|
294
381
|
"component": "gallery",
|
|
295
382
|
"props": {
|
|
296
|
-
"closeLabel": "ui:gallery.close"
|
|
383
|
+
"closeLabel": "ui:gallery.close",
|
|
384
|
+
"enlargeLabel": "ui:gallery.enlarge",
|
|
385
|
+
"regionLabel": "ui:gallery.images"
|
|
297
386
|
},
|
|
298
387
|
"into": "items",
|
|
299
388
|
"each": ".gallery-item",
|
|
@@ -307,7 +396,9 @@
|
|
|
307
396
|
"match": "elementor/gallery",
|
|
308
397
|
"component": "gallery",
|
|
309
398
|
"props": {
|
|
310
|
-
"closeLabel": "ui:gallery.close"
|
|
399
|
+
"closeLabel": "ui:gallery.close",
|
|
400
|
+
"enlargeLabel": "ui:gallery.enlarge",
|
|
401
|
+
"regionLabel": "ui:gallery.images"
|
|
311
402
|
},
|
|
312
403
|
"into": "items",
|
|
313
404
|
"each": ".e-gallery-item",
|
|
@@ -378,6 +469,19 @@
|
|
|
378
469
|
"playLabel": "ui:embed.play",
|
|
379
470
|
"showLabel": "ui:embed.show"
|
|
380
471
|
}
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
"match": "elementor/popup",
|
|
475
|
+
"component": "dialog",
|
|
476
|
+
"props": {
|
|
477
|
+
"heading": "dom:.elementor-heading-title",
|
|
478
|
+
"html": "html:.elementor-widget-text-editor",
|
|
479
|
+
"triggerLabel": "ui:dialog.open",
|
|
480
|
+
"closeLabel": "ui:dialog.close"
|
|
481
|
+
},
|
|
482
|
+
"into": "actions",
|
|
483
|
+
"each": "a.elementor-button:not([href^='#elementor-action'])",
|
|
484
|
+
"item": { "label": "dom:", "href": "dom:@href" }
|
|
381
485
|
}
|
|
382
486
|
],
|
|
383
487
|
"sections": [
|
|
@@ -531,7 +635,8 @@
|
|
|
531
635
|
},
|
|
532
636
|
"props": {
|
|
533
637
|
"heading": "@heading attr:title || @heading dom:",
|
|
534
|
-
"intro": "@lead dom:"
|
|
638
|
+
"intro": "@lead dom:",
|
|
639
|
+
"currentLabel": "ui:steps.current"
|
|
535
640
|
},
|
|
536
641
|
"into": "items",
|
|
537
642
|
"each": "column",
|
|
@@ -592,7 +697,10 @@
|
|
|
592
697
|
},
|
|
593
698
|
"props": {
|
|
594
699
|
"heading": "@heading attr:title || @heading dom:",
|
|
595
|
-
"intro": "@lead dom:"
|
|
700
|
+
"intro": "@lead dom:",
|
|
701
|
+
"featuredLabel": "ui:pricing.featured",
|
|
702
|
+
"includedLabel": "ui:pricing.included",
|
|
703
|
+
"notIncludedLabel": "ui:pricing.not_included"
|
|
596
704
|
},
|
|
597
705
|
"into": "plans",
|
|
598
706
|
"each": "column",
|
|
@@ -652,7 +760,9 @@
|
|
|
652
760
|
},
|
|
653
761
|
"props": {
|
|
654
762
|
"heading": "@heading attr:title || @heading dom:",
|
|
655
|
-
"intro": "@lead dom:"
|
|
763
|
+
"intro": "@lead dom:",
|
|
764
|
+
"readMoreLabel": "ui:team.read_more",
|
|
765
|
+
"socialLabel": "ui:team.social"
|
|
656
766
|
},
|
|
657
767
|
"into": "items",
|
|
658
768
|
"each": "column",
|
|
@@ -816,7 +926,10 @@
|
|
|
816
926
|
},
|
|
817
927
|
"props": {
|
|
818
928
|
"heading": "@title attr:title || @title dom:",
|
|
819
|
-
"intro": "@intro dom:"
|
|
929
|
+
"intro": "@intro dom:",
|
|
930
|
+
"featuredLabel": "ui:pricing.featured",
|
|
931
|
+
"includedLabel": "ui:pricing.included",
|
|
932
|
+
"notIncludedLabel": "ui:pricing.not_included"
|
|
820
933
|
},
|
|
821
934
|
"into": "plans",
|
|
822
935
|
"each": "@plan",
|
|
@@ -857,6 +970,11 @@
|
|
|
857
970
|
{
|
|
858
971
|
"id": "testimonial.quotes",
|
|
859
972
|
"component": "testimonial",
|
|
973
|
+
"props": {
|
|
974
|
+
"ratingLabel": "ui:testimonial.rating",
|
|
975
|
+
"label": "ui:testimonial.label",
|
|
976
|
+
"heading": "@title attr:title || @title dom:"
|
|
977
|
+
},
|
|
860
978
|
"variant": {
|
|
861
979
|
"quoteSize": "xl",
|
|
862
980
|
"frame": "plain"
|
|
@@ -871,9 +989,6 @@
|
|
|
871
989
|
"min": 1
|
|
872
990
|
}
|
|
873
991
|
},
|
|
874
|
-
"props": {
|
|
875
|
-
"heading": "@title attr:title || @title dom:"
|
|
876
|
-
},
|
|
877
992
|
"into": "items",
|
|
878
993
|
"each": "@quote",
|
|
879
994
|
"item": {
|
|
@@ -979,7 +1094,9 @@
|
|
|
979
1094
|
},
|
|
980
1095
|
"props": {
|
|
981
1096
|
"heading": "@title attr:title || @title dom:",
|
|
982
|
-
"closeLabel": "ui:gallery.close"
|
|
1097
|
+
"closeLabel": "ui:gallery.close",
|
|
1098
|
+
"enlargeLabel": "ui:gallery.enlarge",
|
|
1099
|
+
"regionLabel": "ui:gallery.images"
|
|
983
1100
|
},
|
|
984
1101
|
"into": "items",
|
|
985
1102
|
"each": "@images .gallery-item",
|
|
@@ -1005,7 +1122,9 @@
|
|
|
1005
1122
|
},
|
|
1006
1123
|
"props": {
|
|
1007
1124
|
"heading": "@title attr:title || @title dom:",
|
|
1008
|
-
"closeLabel": "ui:gallery.close"
|
|
1125
|
+
"closeLabel": "ui:gallery.close",
|
|
1126
|
+
"enlargeLabel": "ui:gallery.enlarge",
|
|
1127
|
+
"regionLabel": "ui:gallery.images"
|
|
1009
1128
|
},
|
|
1010
1129
|
"into": "items",
|
|
1011
1130
|
"each": "@images .e-gallery-item",
|
package/mapping/gutenberg.json
CHANGED
|
@@ -84,6 +84,22 @@
|
|
|
84
84
|
"href": "dom:a@href"
|
|
85
85
|
}
|
|
86
86
|
},
|
|
87
|
+
{
|
|
88
|
+
"match": "core/search",
|
|
89
|
+
"component": "search-box",
|
|
90
|
+
"props": {
|
|
91
|
+
"label": "ui:search.label",
|
|
92
|
+
"placeholder": "ui:search.placeholder",
|
|
93
|
+
"submitLabel": "ui:search.submit"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"match": "polylang/language-switcher",
|
|
98
|
+
"component": "language-switcher",
|
|
99
|
+
"props": {
|
|
100
|
+
"label": "ui:language.label"
|
|
101
|
+
}
|
|
102
|
+
},
|
|
87
103
|
{
|
|
88
104
|
"match": "core/columns",
|
|
89
105
|
"component": "card-grid",
|
|
@@ -251,7 +267,9 @@
|
|
|
251
267
|
"match": "core/gallery",
|
|
252
268
|
"component": "gallery",
|
|
253
269
|
"props": {
|
|
254
|
-
"closeLabel": "ui:gallery.close"
|
|
270
|
+
"closeLabel": "ui:gallery.close",
|
|
271
|
+
"enlargeLabel": "ui:gallery.enlarge",
|
|
272
|
+
"regionLabel": "ui:gallery.images"
|
|
255
273
|
},
|
|
256
274
|
"into": "items",
|
|
257
275
|
"each": "figure.wp-block-image",
|
|
@@ -834,7 +852,10 @@
|
|
|
834
852
|
},
|
|
835
853
|
"props": {
|
|
836
854
|
"heading": "@heading dom:",
|
|
837
|
-
"intro": "@lead dom:"
|
|
855
|
+
"intro": "@lead dom:",
|
|
856
|
+
"featuredLabel": "ui:pricing.featured",
|
|
857
|
+
"includedLabel": "ui:pricing.included",
|
|
858
|
+
"notIncludedLabel": "ui:pricing.not_included"
|
|
838
859
|
},
|
|
839
860
|
"into": "plans",
|
|
840
861
|
"each": "column",
|
|
@@ -895,7 +916,8 @@
|
|
|
895
916
|
},
|
|
896
917
|
"props": {
|
|
897
918
|
"heading": "@heading dom:",
|
|
898
|
-
"intro": "@lead dom:"
|
|
919
|
+
"intro": "@lead dom:",
|
|
920
|
+
"currentLabel": "ui:steps.current"
|
|
899
921
|
},
|
|
900
922
|
"into": "items",
|
|
901
923
|
"each": "column",
|
|
@@ -908,6 +930,11 @@
|
|
|
908
930
|
{
|
|
909
931
|
"id": "testimonial.columns",
|
|
910
932
|
"component": "testimonial",
|
|
933
|
+
"props": {
|
|
934
|
+
"ratingLabel": "ui:testimonial.rating",
|
|
935
|
+
"label": "ui:testimonial.label",
|
|
936
|
+
"heading": "@heading dom:"
|
|
937
|
+
},
|
|
911
938
|
"when": {
|
|
912
939
|
"columns": [
|
|
913
940
|
2,
|
|
@@ -939,9 +966,6 @@
|
|
|
939
966
|
"max": 1
|
|
940
967
|
}
|
|
941
968
|
},
|
|
942
|
-
"props": {
|
|
943
|
-
"heading": "@heading dom:"
|
|
944
|
-
},
|
|
945
969
|
"into": "items",
|
|
946
970
|
"each": "column",
|
|
947
971
|
"item": {
|
|
@@ -1051,7 +1075,9 @@
|
|
|
1051
1075
|
},
|
|
1052
1076
|
"props": {
|
|
1053
1077
|
"heading": "@title dom:",
|
|
1054
|
-
"closeLabel": "ui:gallery.close"
|
|
1078
|
+
"closeLabel": "ui:gallery.close",
|
|
1079
|
+
"enlargeLabel": "ui:gallery.enlarge",
|
|
1080
|
+
"regionLabel": "ui:gallery.images"
|
|
1055
1081
|
},
|
|
1056
1082
|
"into": "items",
|
|
1057
1083
|
"each": "@images figure.wp-block-image",
|
|
@@ -1087,6 +1113,11 @@
|
|
|
1087
1113
|
{
|
|
1088
1114
|
"id": "testimonial.quotes",
|
|
1089
1115
|
"component": "testimonial",
|
|
1116
|
+
"props": {
|
|
1117
|
+
"ratingLabel": "ui:testimonial.rating",
|
|
1118
|
+
"label": "ui:testimonial.label",
|
|
1119
|
+
"heading": "@title dom:"
|
|
1120
|
+
},
|
|
1090
1121
|
"slots": {
|
|
1091
1122
|
"title": {
|
|
1092
1123
|
"match": "core/heading",
|
|
@@ -1100,9 +1131,6 @@
|
|
|
1100
1131
|
"min": 1
|
|
1101
1132
|
}
|
|
1102
1133
|
},
|
|
1103
|
-
"props": {
|
|
1104
|
-
"heading": "@title dom:"
|
|
1105
|
-
},
|
|
1106
1134
|
"into": "items",
|
|
1107
1135
|
"each": "@quote",
|
|
1108
1136
|
"item": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentrain/astro-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
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",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"mapping"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@contentrain/types": "1.
|
|
45
|
+
"@contentrain/types": "1.60.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/node": "^22.10.0",
|