@contentrain/astro-kit 0.31.0 → 0.32.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 +2531 -345
- package/components/_shared/measured.ts +10 -0
- package/components/contact-form/ContactForm.astro +48 -12
- package/components/contact-form/fixtures.json +169 -9
- package/components/contact-form/meta.json +283 -15
- package/components/cta/Cta.astro +52 -12
- package/components/cta/fixtures.json +5 -1
- package/components/cta/meta.json +11 -2
- package/components/faq/Faq.astro +60 -17
- package/components/faq/fixtures.json +75 -0
- package/components/faq/meta.json +7 -1
- package/components/feature-list/FeatureList.astro +28 -4
- package/components/feature-list/meta.json +15 -3
- package/components/gallery/Gallery.astro +47 -13
- package/components/gallery/fixtures.json +275 -0
- package/components/gallery/meta.json +266 -14
- package/components/logo-cloud/LogoCloud.astro +85 -21
- package/components/logo-cloud/fixtures.json +239 -0
- package/components/logo-cloud/meta.json +144 -5
- package/components/post-card/PostCard.astro +4 -2
- package/components/post-card/meta.json +2 -1
- package/components/post-list/PostList.astro +114 -0
- package/components/post-list/fixtures.json +387 -0
- package/components/post-list/meta.json +308 -0
- package/components/pricing/Pricing.astro +128 -24
- package/components/pricing/fixtures.json +288 -4
- package/components/pricing/meta.json +187 -1
- package/components/split/Split.astro +76 -14
- package/components/split/fixtures.json +8 -1
- package/components/split/meta.json +225 -4
- package/components/stats/Stats.astro +42 -10
- package/components/stats/fixtures.json +173 -0
- package/components/stats/meta.json +150 -4
- package/components/steps/Steps.astro +36 -8
- package/components/steps/fixtures.json +217 -5
- package/components/steps/meta.json +156 -3
- package/components/team/Team.astro +52 -8
- package/components/team/fixtures.json +217 -4
- package/components/team/meta.json +167 -3
- package/components/team/team.ts +9 -0
- package/components/testimonial/Testimonial.astro +71 -21
- package/components/testimonial/fixtures.json +73 -0
- package/components/testimonial/meta.json +166 -3
- package/mapping/classic.json +7 -1
- package/mapping/divi.json +21 -4
- package/mapping/elementor.json +33 -8
- package/mapping/gutenberg.json +20 -4
- package/package.json +1 -1
|
@@ -46,5 +46,78 @@
|
|
|
46
46
|
{
|
|
47
47
|
"name": "grid-source-quoted",
|
|
48
48
|
"props": { "items": [{ "quote": "“We set it up before lunch.”", "name": "Grace Lin", "role": "Head of Support, Fernhill" }, { "quote": "People just read the page.", "name": "Omar Haddad", "role": "Support lead" }] }
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "row",
|
|
52
|
+
"props": {
|
|
53
|
+
"heading": "Kind words",
|
|
54
|
+
"items": [
|
|
55
|
+
{ "quote": "The only travel site I read to the end. Every guide feels written by someone who stayed.", "name": "Ayşe Demir", "role": "Reader since 2019", "avatar": { "src": "/kit-fixtures/avatar-1.svg", "alt": "", "width": 96, "height": 96 }, "rating": 5 },
|
|
56
|
+
{ "quote": "Their Lisbon guide saved our trip.", "name": "Tom Becker", "avatar": { "src": "/kit-fixtures/avatar-2.svg", "alt": "", "width": 96, "height": 96 }, "rating": 4 },
|
|
57
|
+
{ "quote": "Honest, slow, and beautifully photographed. I recommend it to every friend who asks where to go next.", "name": "Mei Tanaka", "role": "Photographer", "avatar": { "src": "/kit-fixtures/avatar-3.svg", "alt": "", "width": 96, "height": 96 }, "rating": 3 },
|
|
58
|
+
{ "quote": "The only travel site I read to the end. Every guide feels written by someone who stayed.", "name": "Ayşe Demir", "role": "Reader since 2019", "avatar": { "src": "/kit-fixtures/avatar-1.svg", "alt": "", "width": 96, "height": 96 }, "rating": 5 },
|
|
59
|
+
{ "quote": "Their Lisbon guide saved our trip.", "name": "Tom Becker", "avatar": { "src": "/kit-fixtures/avatar-2.svg", "alt": "", "width": 96, "height": 96 }, "rating": 4 },
|
|
60
|
+
{ "quote": "Honest, slow, and beautifully photographed. I recommend it to every friend who asks where to go next.", "name": "Mei Tanaka", "role": "Photographer", "avatar": { "src": "/kit-fixtures/avatar-3.svg", "alt": "", "width": 96, "height": 96 }, "rating": 3 }
|
|
61
|
+
],
|
|
62
|
+
"layout": "row"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "masonry-sm-top",
|
|
67
|
+
"props": {
|
|
68
|
+
"heading": "Kind words",
|
|
69
|
+
"items": [
|
|
70
|
+
{ "quote": "The only travel site I read to the end. Every guide feels written by someone who stayed.", "name": "Ayşe Demir", "role": "Reader since 2019", "avatar": { "src": "/kit-fixtures/avatar-1.svg", "alt": "", "width": 96, "height": 96 } },
|
|
71
|
+
{ "quote": "Their Lisbon guide saved our trip.", "name": "Tom Becker", "avatar": { "src": "/kit-fixtures/avatar-2.svg", "alt": "", "width": 96, "height": 96 } },
|
|
72
|
+
{ "quote": "Honest, slow, and beautifully photographed. I recommend it to every friend who asks where to go next.", "name": "Mei Tanaka", "role": "Photographer", "avatar": { "src": "/kit-fixtures/avatar-3.svg", "alt": "", "width": 96, "height": 96 } },
|
|
73
|
+
{ "quote": "The only travel site I read to the end. Every guide feels written by someone who stayed.", "name": "Ayşe Demir", "role": "Reader since 2019", "avatar": { "src": "/kit-fixtures/avatar-1.svg", "alt": "", "width": 96, "height": 96 } },
|
|
74
|
+
{ "quote": "Their Lisbon guide saved our trip.", "name": "Tom Becker", "avatar": { "src": "/kit-fixtures/avatar-2.svg", "alt": "", "width": 96, "height": 96 } },
|
|
75
|
+
{ "quote": "Honest, slow, and beautifully photographed. I recommend it to every friend who asks where to go next.", "name": "Mei Tanaka", "role": "Photographer", "avatar": { "src": "/kit-fixtures/avatar-3.svg", "alt": "", "width": 96, "height": 96 } }
|
|
76
|
+
],
|
|
77
|
+
"layout": "masonry",
|
|
78
|
+
"avatarSize": "sm",
|
|
79
|
+
"avatarPlace": "top"
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "glyph-large-rated",
|
|
84
|
+
"props": { "heading": "Kind words", "items": [{ "quote": "The only travel site I read to the end. Every guide feels written by someone who stayed.", "name": "Ayşe Demir", "role": "Reader since 2019", "avatar": { "src": "/kit-fixtures/avatar-1.svg", "alt": "", "width": 96, "height": 96 }, "rating": 5 }], "layout": "single", "quoteMark": "glyph", "avatarSize": "lg" }
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"name": "grid-none-logos",
|
|
88
|
+
"props": {
|
|
89
|
+
"heading": "Kind words",
|
|
90
|
+
"items": [
|
|
91
|
+
{ "quote": "The only travel site I read to the end. Every guide feels written by someone who stayed.", "name": "Ayşe Demir", "role": "Reader since 2019", "avatar": { "src": "/kit-fixtures/avatar-1.svg", "alt": "", "width": 96, "height": 96 }, "logo": "/kit-fixtures/logo.svg", "logoAlt": "Acme" },
|
|
92
|
+
{ "quote": "Their Lisbon guide saved our trip.", "name": "Tom Becker", "avatar": { "src": "/kit-fixtures/avatar-2.svg", "alt": "", "width": 96, "height": 96 }, "logo": "/kit-fixtures/logo.svg", "logoAlt": "Acme" },
|
|
93
|
+
{ "quote": "Honest, slow, and beautifully photographed. I recommend it to every friend who asks where to go next.", "name": "Mei Tanaka", "role": "Photographer", "avatar": { "src": "/kit-fixtures/avatar-3.svg", "alt": "", "width": 96, "height": 96 }, "logo": "/kit-fixtures/logo.svg", "logoAlt": "Acme" }
|
|
94
|
+
],
|
|
95
|
+
"quoteMark": "none",
|
|
96
|
+
"tone": "muted"
|
|
97
|
+
}
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "measured-columns",
|
|
101
|
+
"props": {
|
|
102
|
+
"heading": "What readers say",
|
|
103
|
+
"id": "readers",
|
|
104
|
+
"items": [
|
|
105
|
+
{ "quote": "The only travel site I read to the end. Every guide feels written by someone who stayed.", "name": "Ayşe Demir", "role": "Reader since 2019", "avatar": { "src": "/kit-fixtures/avatar-1.svg", "alt": "", "width": 96, "height": 96 } },
|
|
106
|
+
{ "quote": "Their Lisbon guide saved our trip.", "name": "Tom Becker", "avatar": { "src": "/kit-fixtures/avatar-2.svg", "alt": "", "width": 96, "height": 96 } },
|
|
107
|
+
{ "quote": "Honest, slow, and beautifully photographed. I recommend it to every friend who asks where to go next.", "name": "Mei Tanaka", "role": "Photographer", "avatar": { "src": "/kit-fixtures/avatar-3.svg", "alt": "", "width": 96, "height": 96 } }
|
|
108
|
+
],
|
|
109
|
+
"measured": {
|
|
110
|
+
"columns": {
|
|
111
|
+
"390": 1,
|
|
112
|
+
"768": 2,
|
|
113
|
+
"1280": 3
|
|
114
|
+
},
|
|
115
|
+
"gap": 16,
|
|
116
|
+
"bg": {
|
|
117
|
+
"color": "#f1f5f9"
|
|
118
|
+
},
|
|
119
|
+
"tone": "light"
|
|
120
|
+
}
|
|
121
|
+
}
|
|
49
122
|
}
|
|
50
123
|
]
|
|
@@ -15,10 +15,12 @@
|
|
|
15
15
|
"layout": {
|
|
16
16
|
"options": [
|
|
17
17
|
"single",
|
|
18
|
-
"grid"
|
|
18
|
+
"grid",
|
|
19
|
+
"row",
|
|
20
|
+
"masonry"
|
|
19
21
|
],
|
|
20
22
|
"default": "grid",
|
|
21
|
-
"description": "single: one large centred quote (the first item stands alone; more items stack). grid: cards, up to three per row."
|
|
23
|
+
"description": "single: one large centred quote (the first item stands alone; more items stack). grid: cards, up to three per row. row: a horizontal strip that scrolls and snaps, no script. masonry: columns of quotes of different lengths."
|
|
22
24
|
},
|
|
23
25
|
"tone": {
|
|
24
26
|
"options": [
|
|
@@ -47,6 +49,32 @@
|
|
|
47
49
|
],
|
|
48
50
|
"default": "card",
|
|
49
51
|
"description": "card: each quote in its box (a bordered, padded card in the grid; the surface colour in a muted section). plain: the quote and who said it straight on the section, across the column, with no box, as Elementor's testimonial widget draws them."
|
|
52
|
+
},
|
|
53
|
+
"avatarSize": {
|
|
54
|
+
"options": [
|
|
55
|
+
"sm",
|
|
56
|
+
"md",
|
|
57
|
+
"lg"
|
|
58
|
+
],
|
|
59
|
+
"default": "md",
|
|
60
|
+
"description": "The portrait's size: small, medium or large."
|
|
61
|
+
},
|
|
62
|
+
"avatarPlace": {
|
|
63
|
+
"options": [
|
|
64
|
+
"start",
|
|
65
|
+
"top"
|
|
66
|
+
],
|
|
67
|
+
"default": "start",
|
|
68
|
+
"description": "start: the portrait beside the name. top: above the quote."
|
|
69
|
+
},
|
|
70
|
+
"quoteMark": {
|
|
71
|
+
"options": [
|
|
72
|
+
"marks",
|
|
73
|
+
"glyph",
|
|
74
|
+
"none"
|
|
75
|
+
],
|
|
76
|
+
"default": "marks",
|
|
77
|
+
"description": "marks: quotation marks around the text. glyph: one large decorative mark above. none: no marks."
|
|
50
78
|
}
|
|
51
79
|
},
|
|
52
80
|
"props": {
|
|
@@ -83,6 +111,21 @@
|
|
|
83
111
|
"type": "string",
|
|
84
112
|
"label": "Photo description",
|
|
85
113
|
"description": "Who the photo shows; usually their name."
|
|
114
|
+
},
|
|
115
|
+
"rating": {
|
|
116
|
+
"type": "number",
|
|
117
|
+
"label": "Rating",
|
|
118
|
+
"description": "Stars out of 5; leave empty for none."
|
|
119
|
+
},
|
|
120
|
+
"logo": {
|
|
121
|
+
"type": "image",
|
|
122
|
+
"label": "Company logo",
|
|
123
|
+
"description": "The company's logo beside the name."
|
|
124
|
+
},
|
|
125
|
+
"logoAlt": {
|
|
126
|
+
"type": "string",
|
|
127
|
+
"label": "Company name",
|
|
128
|
+
"description": "The company the logo stands for."
|
|
86
129
|
}
|
|
87
130
|
}
|
|
88
131
|
},
|
|
@@ -93,10 +136,130 @@
|
|
|
93
136
|
"label": "Heading",
|
|
94
137
|
"description": "Section heading above the quotes."
|
|
95
138
|
},
|
|
139
|
+
"measured": {
|
|
140
|
+
"type": "object",
|
|
141
|
+
"content": false,
|
|
142
|
+
"description": "The source section's measured style (MeasuredStyle): frame width, padding, fill, image, columns per width, gap, text tone, radius, minimum height — all in pixels. Absent, the site's tokens; present, it wins over tone and columns. Values that are not a number, a colour or a known keyword are dropped.",
|
|
143
|
+
"fields": {
|
|
144
|
+
"containerPx": {
|
|
145
|
+
"type": "integer",
|
|
146
|
+
"min": 0,
|
|
147
|
+
"max": 2560,
|
|
148
|
+
"description": "The frame's content width."
|
|
149
|
+
},
|
|
150
|
+
"padY": {
|
|
151
|
+
"type": "integer",
|
|
152
|
+
"min": 0,
|
|
153
|
+
"max": 400,
|
|
154
|
+
"description": "Top and bottom padding."
|
|
155
|
+
},
|
|
156
|
+
"padX": {
|
|
157
|
+
"type": "integer",
|
|
158
|
+
"min": 0,
|
|
159
|
+
"max": 200,
|
|
160
|
+
"description": "The frame's side padding (gutter)."
|
|
161
|
+
},
|
|
162
|
+
"bg": {
|
|
163
|
+
"type": "object",
|
|
164
|
+
"description": "The section's background.",
|
|
165
|
+
"fields": {
|
|
166
|
+
"color": {
|
|
167
|
+
"type": "string",
|
|
168
|
+
"description": "Fill colour: hex, rgb(a) or hsl(a)."
|
|
169
|
+
},
|
|
170
|
+
"image": {
|
|
171
|
+
"type": "string",
|
|
172
|
+
"description": "Background image address (http(s) or root-relative), drawn behind the content."
|
|
173
|
+
},
|
|
174
|
+
"overlay": {
|
|
175
|
+
"type": "string",
|
|
176
|
+
"description": "Colour or linear/radial gradient laid over the image or the fill."
|
|
177
|
+
},
|
|
178
|
+
"size": {
|
|
179
|
+
"type": "string",
|
|
180
|
+
"description": "cover, contain or auto; anything else draws as cover."
|
|
181
|
+
},
|
|
182
|
+
"position": {
|
|
183
|
+
"type": "string",
|
|
184
|
+
"description": "One or two of center/top/bottom/left/right or percentages."
|
|
185
|
+
}
|
|
186
|
+
}
|
|
187
|
+
},
|
|
188
|
+
"columns": {
|
|
189
|
+
"type": "object",
|
|
190
|
+
"description": "Item columns at 390 (base), 768 (md) and 1280 (lg) px; a missing width follows the narrower one.",
|
|
191
|
+
"fields": {
|
|
192
|
+
"390": {
|
|
193
|
+
"type": "integer",
|
|
194
|
+
"min": 1,
|
|
195
|
+
"max": 6,
|
|
196
|
+
"description": "Phone."
|
|
197
|
+
},
|
|
198
|
+
"768": {
|
|
199
|
+
"type": "integer",
|
|
200
|
+
"min": 1,
|
|
201
|
+
"max": 6,
|
|
202
|
+
"description": "Tablet."
|
|
203
|
+
},
|
|
204
|
+
"1280": {
|
|
205
|
+
"type": "integer",
|
|
206
|
+
"min": 1,
|
|
207
|
+
"max": 6,
|
|
208
|
+
"description": "Desktop."
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
"gap": {
|
|
213
|
+
"type": "integer",
|
|
214
|
+
"min": 0,
|
|
215
|
+
"max": 200,
|
|
216
|
+
"description": "Gap between items."
|
|
217
|
+
},
|
|
218
|
+
"tone": {
|
|
219
|
+
"type": "select",
|
|
220
|
+
"options": [
|
|
221
|
+
"light",
|
|
222
|
+
"dark"
|
|
223
|
+
],
|
|
224
|
+
"description": "What the text is set for: dark = light text on a dark band. Without it, a fill's own lightness decides."
|
|
225
|
+
},
|
|
226
|
+
"align": {
|
|
227
|
+
"type": "select",
|
|
228
|
+
"options": [
|
|
229
|
+
"start",
|
|
230
|
+
"center",
|
|
231
|
+
"end"
|
|
232
|
+
],
|
|
233
|
+
"description": "Where the heading and lead sit; read by a component whose own align is not set."
|
|
234
|
+
},
|
|
235
|
+
"radius": {
|
|
236
|
+
"type": "integer",
|
|
237
|
+
"min": 0,
|
|
238
|
+
"max": 200,
|
|
239
|
+
"description": "Card and item corner radius."
|
|
240
|
+
},
|
|
241
|
+
"minHeight": {
|
|
242
|
+
"type": "integer",
|
|
243
|
+
"min": 0,
|
|
244
|
+
"max": 2000,
|
|
245
|
+
"description": "The section's minimum height."
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
},
|
|
96
249
|
"id": {
|
|
97
250
|
"type": "string",
|
|
98
251
|
"content": false,
|
|
99
252
|
"description": "Anchor id of the section; the heading gets `<id>-title`."
|
|
253
|
+
},
|
|
254
|
+
"ratingLabel": {
|
|
255
|
+
"type": "string",
|
|
256
|
+
"content": false,
|
|
257
|
+
"description": "The stars' spoken text; `{rating}` stands for the number (\"{rating} out of 5 stars\")."
|
|
258
|
+
},
|
|
259
|
+
"label": {
|
|
260
|
+
"type": "string",
|
|
261
|
+
"content": false,
|
|
262
|
+
"description": "The scrolling row's name for assistive technology when there is no heading (\"Testimonials\")."
|
|
100
263
|
}
|
|
101
264
|
},
|
|
102
265
|
"slots": {},
|
|
@@ -113,5 +276,5 @@
|
|
|
113
276
|
"classic/testimonial"
|
|
114
277
|
]
|
|
115
278
|
},
|
|
116
|
-
"a11y": "Each quote is a <figure> whose <figcaption> names the speaker; the text is in a <blockquote>. Avatars are decorative when their alt is empty. The section is labelled by its heading when it has one."
|
|
279
|
+
"a11y": "Each quote is a <figure> whose <figcaption> names the speaker; the text is in a <blockquote>. Avatars are decorative when their alt is empty. The section is labelled by its heading when it has one. Stars are one image named by the real rating (\"4.8 out of 5 stars\"); the row layout is a focusable named region."
|
|
117
280
|
}
|
package/mapping/classic.json
CHANGED
|
@@ -200,6 +200,10 @@
|
|
|
200
200
|
{
|
|
201
201
|
"match": "classic/testimonial",
|
|
202
202
|
"component": "testimonial",
|
|
203
|
+
"props": {
|
|
204
|
+
"ratingLabel": "ui:testimonial.rating",
|
|
205
|
+
"label": "ui:testimonial.label"
|
|
206
|
+
},
|
|
203
207
|
"group": "siblings",
|
|
204
208
|
"into": "items",
|
|
205
209
|
"item": {
|
|
@@ -213,7 +217,9 @@
|
|
|
213
217
|
"match": "classic/gallery",
|
|
214
218
|
"component": "gallery",
|
|
215
219
|
"props": {
|
|
216
|
-
"closeLabel": "ui:gallery.close"
|
|
220
|
+
"closeLabel": "ui:gallery.close",
|
|
221
|
+
"enlargeLabel": "ui:gallery.enlarge",
|
|
222
|
+
"regionLabel": "ui:gallery.images"
|
|
217
223
|
},
|
|
218
224
|
"into": "items",
|
|
219
225
|
"each": ".gallery-item",
|
package/mapping/divi.json
CHANGED
|
@@ -253,6 +253,10 @@
|
|
|
253
253
|
{
|
|
254
254
|
"match": "divi/et_pb_testimonial",
|
|
255
255
|
"component": "testimonial",
|
|
256
|
+
"props": {
|
|
257
|
+
"ratingLabel": "ui:testimonial.rating",
|
|
258
|
+
"label": "ui:testimonial.label"
|
|
259
|
+
},
|
|
256
260
|
"group": "siblings",
|
|
257
261
|
"into": "items",
|
|
258
262
|
"item": {
|
|
@@ -267,7 +271,9 @@
|
|
|
267
271
|
"match": "divi/et_pb_gallery",
|
|
268
272
|
"component": "gallery",
|
|
269
273
|
"props": {
|
|
270
|
-
"closeLabel": "ui:gallery.close"
|
|
274
|
+
"closeLabel": "ui:gallery.close",
|
|
275
|
+
"enlargeLabel": "ui:gallery.enlarge",
|
|
276
|
+
"regionLabel": "ui:gallery.images"
|
|
271
277
|
},
|
|
272
278
|
"into": "items",
|
|
273
279
|
"each": ".et_pb_gallery_item",
|
|
@@ -457,7 +463,10 @@
|
|
|
457
463
|
},
|
|
458
464
|
"props": {
|
|
459
465
|
"heading": "@intro dom:h1,h2,h3,h4",
|
|
460
|
-
"intro": "@intro dom:p"
|
|
466
|
+
"intro": "@intro dom:p",
|
|
467
|
+
"featuredLabel": "ui:pricing.featured",
|
|
468
|
+
"includedLabel": "ui:pricing.included",
|
|
469
|
+
"notIncludedLabel": "ui:pricing.not_included"
|
|
461
470
|
},
|
|
462
471
|
"into": "plans",
|
|
463
472
|
"each": "@tables .et_pb_pricing_table",
|
|
@@ -486,7 +495,9 @@
|
|
|
486
495
|
},
|
|
487
496
|
"props": {
|
|
488
497
|
"heading": "@intro dom:h1,h2,h3,h4",
|
|
489
|
-
"intro": "@intro dom:p"
|
|
498
|
+
"intro": "@intro dom:p",
|
|
499
|
+
"readMoreLabel": "ui:team.read_more",
|
|
500
|
+
"socialLabel": "ui:team.social"
|
|
490
501
|
},
|
|
491
502
|
"into": "items",
|
|
492
503
|
"each": "@member",
|
|
@@ -501,6 +512,10 @@
|
|
|
501
512
|
{
|
|
502
513
|
"id": "testimonial.quotes",
|
|
503
514
|
"component": "testimonial",
|
|
515
|
+
"props": {
|
|
516
|
+
"ratingLabel": "ui:testimonial.rating",
|
|
517
|
+
"label": "ui:testimonial.label"
|
|
518
|
+
},
|
|
504
519
|
"slots": {
|
|
505
520
|
"intro": {
|
|
506
521
|
"match": "divi/et_pb_text",
|
|
@@ -588,7 +603,9 @@
|
|
|
588
603
|
},
|
|
589
604
|
"props": {
|
|
590
605
|
"heading": "@intro dom:h1,h2,h3,h4",
|
|
591
|
-
"closeLabel": "ui:gallery.close"
|
|
606
|
+
"closeLabel": "ui:gallery.close",
|
|
607
|
+
"enlargeLabel": "ui:gallery.enlarge",
|
|
608
|
+
"regionLabel": "ui:gallery.images"
|
|
592
609
|
},
|
|
593
610
|
"into": "items",
|
|
594
611
|
"each": "@images .et_pb_gallery_item",
|
package/mapping/elementor.json
CHANGED
|
@@ -276,6 +276,10 @@
|
|
|
276
276
|
{
|
|
277
277
|
"match": "elementor/testimonial",
|
|
278
278
|
"component": "testimonial",
|
|
279
|
+
"props": {
|
|
280
|
+
"ratingLabel": "ui:testimonial.rating",
|
|
281
|
+
"label": "ui:testimonial.label"
|
|
282
|
+
},
|
|
279
283
|
"variant": {
|
|
280
284
|
"frame": "plain"
|
|
281
285
|
},
|
|
@@ -293,7 +297,9 @@
|
|
|
293
297
|
"match": "elementor/image-gallery",
|
|
294
298
|
"component": "gallery",
|
|
295
299
|
"props": {
|
|
296
|
-
"closeLabel": "ui:gallery.close"
|
|
300
|
+
"closeLabel": "ui:gallery.close",
|
|
301
|
+
"enlargeLabel": "ui:gallery.enlarge",
|
|
302
|
+
"regionLabel": "ui:gallery.images"
|
|
297
303
|
},
|
|
298
304
|
"into": "items",
|
|
299
305
|
"each": ".gallery-item",
|
|
@@ -307,7 +313,9 @@
|
|
|
307
313
|
"match": "elementor/gallery",
|
|
308
314
|
"component": "gallery",
|
|
309
315
|
"props": {
|
|
310
|
-
"closeLabel": "ui:gallery.close"
|
|
316
|
+
"closeLabel": "ui:gallery.close",
|
|
317
|
+
"enlargeLabel": "ui:gallery.enlarge",
|
|
318
|
+
"regionLabel": "ui:gallery.images"
|
|
311
319
|
},
|
|
312
320
|
"into": "items",
|
|
313
321
|
"each": ".e-gallery-item",
|
|
@@ -531,7 +539,8 @@
|
|
|
531
539
|
},
|
|
532
540
|
"props": {
|
|
533
541
|
"heading": "@heading attr:title || @heading dom:",
|
|
534
|
-
"intro": "@lead dom:"
|
|
542
|
+
"intro": "@lead dom:",
|
|
543
|
+
"currentLabel": "ui:steps.current"
|
|
535
544
|
},
|
|
536
545
|
"into": "items",
|
|
537
546
|
"each": "column",
|
|
@@ -592,7 +601,10 @@
|
|
|
592
601
|
},
|
|
593
602
|
"props": {
|
|
594
603
|
"heading": "@heading attr:title || @heading dom:",
|
|
595
|
-
"intro": "@lead dom:"
|
|
604
|
+
"intro": "@lead dom:",
|
|
605
|
+
"featuredLabel": "ui:pricing.featured",
|
|
606
|
+
"includedLabel": "ui:pricing.included",
|
|
607
|
+
"notIncludedLabel": "ui:pricing.not_included"
|
|
596
608
|
},
|
|
597
609
|
"into": "plans",
|
|
598
610
|
"each": "column",
|
|
@@ -652,7 +664,9 @@
|
|
|
652
664
|
},
|
|
653
665
|
"props": {
|
|
654
666
|
"heading": "@heading attr:title || @heading dom:",
|
|
655
|
-
"intro": "@lead dom:"
|
|
667
|
+
"intro": "@lead dom:",
|
|
668
|
+
"readMoreLabel": "ui:team.read_more",
|
|
669
|
+
"socialLabel": "ui:team.social"
|
|
656
670
|
},
|
|
657
671
|
"into": "items",
|
|
658
672
|
"each": "column",
|
|
@@ -816,7 +830,10 @@
|
|
|
816
830
|
},
|
|
817
831
|
"props": {
|
|
818
832
|
"heading": "@title attr:title || @title dom:",
|
|
819
|
-
"intro": "@intro dom:"
|
|
833
|
+
"intro": "@intro dom:",
|
|
834
|
+
"featuredLabel": "ui:pricing.featured",
|
|
835
|
+
"includedLabel": "ui:pricing.included",
|
|
836
|
+
"notIncludedLabel": "ui:pricing.not_included"
|
|
820
837
|
},
|
|
821
838
|
"into": "plans",
|
|
822
839
|
"each": "@plan",
|
|
@@ -857,6 +874,10 @@
|
|
|
857
874
|
{
|
|
858
875
|
"id": "testimonial.quotes",
|
|
859
876
|
"component": "testimonial",
|
|
877
|
+
"props": {
|
|
878
|
+
"ratingLabel": "ui:testimonial.rating",
|
|
879
|
+
"label": "ui:testimonial.label"
|
|
880
|
+
},
|
|
860
881
|
"variant": {
|
|
861
882
|
"quoteSize": "xl",
|
|
862
883
|
"frame": "plain"
|
|
@@ -979,7 +1000,9 @@
|
|
|
979
1000
|
},
|
|
980
1001
|
"props": {
|
|
981
1002
|
"heading": "@title attr:title || @title dom:",
|
|
982
|
-
"closeLabel": "ui:gallery.close"
|
|
1003
|
+
"closeLabel": "ui:gallery.close",
|
|
1004
|
+
"enlargeLabel": "ui:gallery.enlarge",
|
|
1005
|
+
"regionLabel": "ui:gallery.images"
|
|
983
1006
|
},
|
|
984
1007
|
"into": "items",
|
|
985
1008
|
"each": "@images .gallery-item",
|
|
@@ -1005,7 +1028,9 @@
|
|
|
1005
1028
|
},
|
|
1006
1029
|
"props": {
|
|
1007
1030
|
"heading": "@title attr:title || @title dom:",
|
|
1008
|
-
"closeLabel": "ui:gallery.close"
|
|
1031
|
+
"closeLabel": "ui:gallery.close",
|
|
1032
|
+
"enlargeLabel": "ui:gallery.enlarge",
|
|
1033
|
+
"regionLabel": "ui:gallery.images"
|
|
1009
1034
|
},
|
|
1010
1035
|
"into": "items",
|
|
1011
1036
|
"each": "@images .e-gallery-item",
|
package/mapping/gutenberg.json
CHANGED
|
@@ -251,7 +251,9 @@
|
|
|
251
251
|
"match": "core/gallery",
|
|
252
252
|
"component": "gallery",
|
|
253
253
|
"props": {
|
|
254
|
-
"closeLabel": "ui:gallery.close"
|
|
254
|
+
"closeLabel": "ui:gallery.close",
|
|
255
|
+
"enlargeLabel": "ui:gallery.enlarge",
|
|
256
|
+
"regionLabel": "ui:gallery.images"
|
|
255
257
|
},
|
|
256
258
|
"into": "items",
|
|
257
259
|
"each": "figure.wp-block-image",
|
|
@@ -834,7 +836,10 @@
|
|
|
834
836
|
},
|
|
835
837
|
"props": {
|
|
836
838
|
"heading": "@heading dom:",
|
|
837
|
-
"intro": "@lead dom:"
|
|
839
|
+
"intro": "@lead dom:",
|
|
840
|
+
"featuredLabel": "ui:pricing.featured",
|
|
841
|
+
"includedLabel": "ui:pricing.included",
|
|
842
|
+
"notIncludedLabel": "ui:pricing.not_included"
|
|
838
843
|
},
|
|
839
844
|
"into": "plans",
|
|
840
845
|
"each": "column",
|
|
@@ -895,7 +900,8 @@
|
|
|
895
900
|
},
|
|
896
901
|
"props": {
|
|
897
902
|
"heading": "@heading dom:",
|
|
898
|
-
"intro": "@lead dom:"
|
|
903
|
+
"intro": "@lead dom:",
|
|
904
|
+
"currentLabel": "ui:steps.current"
|
|
899
905
|
},
|
|
900
906
|
"into": "items",
|
|
901
907
|
"each": "column",
|
|
@@ -908,6 +914,10 @@
|
|
|
908
914
|
{
|
|
909
915
|
"id": "testimonial.columns",
|
|
910
916
|
"component": "testimonial",
|
|
917
|
+
"props": {
|
|
918
|
+
"ratingLabel": "ui:testimonial.rating",
|
|
919
|
+
"label": "ui:testimonial.label"
|
|
920
|
+
},
|
|
911
921
|
"when": {
|
|
912
922
|
"columns": [
|
|
913
923
|
2,
|
|
@@ -1051,7 +1061,9 @@
|
|
|
1051
1061
|
},
|
|
1052
1062
|
"props": {
|
|
1053
1063
|
"heading": "@title dom:",
|
|
1054
|
-
"closeLabel": "ui:gallery.close"
|
|
1064
|
+
"closeLabel": "ui:gallery.close",
|
|
1065
|
+
"enlargeLabel": "ui:gallery.enlarge",
|
|
1066
|
+
"regionLabel": "ui:gallery.images"
|
|
1055
1067
|
},
|
|
1056
1068
|
"into": "items",
|
|
1057
1069
|
"each": "@images figure.wp-block-image",
|
|
@@ -1087,6 +1099,10 @@
|
|
|
1087
1099
|
{
|
|
1088
1100
|
"id": "testimonial.quotes",
|
|
1089
1101
|
"component": "testimonial",
|
|
1102
|
+
"props": {
|
|
1103
|
+
"ratingLabel": "ui:testimonial.rating",
|
|
1104
|
+
"label": "ui:testimonial.label"
|
|
1105
|
+
},
|
|
1090
1106
|
"slots": {
|
|
1091
1107
|
"title": {
|
|
1092
1108
|
"match": "core/heading",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentrain/astro-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.32.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",
|