@contentrain/astro-kit 0.48.1 → 0.49.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 +2 -1
- package/components/embed/meta.json +1 -1
- package/mapping/classic.json +11 -1
- package/package.json +2 -2
package/catalog.json
CHANGED
|
@@ -2436,7 +2436,8 @@
|
|
|
2436
2436
|
"classic": [
|
|
2437
2437
|
"classic/youtube",
|
|
2438
2438
|
"classic/vimeo",
|
|
2439
|
-
"classic/google-maps"
|
|
2439
|
+
"classic/google-maps",
|
|
2440
|
+
"classic/embed"
|
|
2440
2441
|
]
|
|
2441
2442
|
},
|
|
2442
2443
|
"a11y": "The poster is one link named '<action>: <title>' that opens the provider's page without script. With script, Enter or a click puts the iframe in its place with the title as its accessible name and moves focus into it. Modified clicks (new tab) keep the link behaviour. The play icon is decorative.",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"gutenberg": ["core/embed"],
|
|
29
29
|
"elementor": ["elementor/video", "elementor/google_maps"],
|
|
30
30
|
"divi": ["divi/et_pb_video", "divi/et_pb_map"],
|
|
31
|
-
"classic": ["classic/youtube", "classic/vimeo", "classic/google-maps"]
|
|
31
|
+
"classic": ["classic/youtube", "classic/vimeo", "classic/google-maps", "classic/embed"]
|
|
32
32
|
},
|
|
33
33
|
"a11y": "The poster is one link named '<action>: <title>' that opens the provider's page without script. With script, Enter or a click puts the iframe in its place with the title as its accessible name and moves focus into it. Modified clicks (new tab) keep the link behaviour. The play icon is decorative."
|
|
34
34
|
}
|
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": "9",
|
|
5
5
|
"fallback": "prose",
|
|
6
6
|
"rules": [
|
|
7
7
|
{
|
|
@@ -326,6 +326,16 @@
|
|
|
326
326
|
"showLabel": "ui:embed.show"
|
|
327
327
|
}
|
|
328
328
|
},
|
|
329
|
+
{
|
|
330
|
+
"match": "classic/embed",
|
|
331
|
+
"component": "embed",
|
|
332
|
+
"props": {
|
|
333
|
+
"url": "dom:iframe, video source@src",
|
|
334
|
+
"title": "dom:iframe@title",
|
|
335
|
+
"playLabel": "ui:embed.play",
|
|
336
|
+
"showLabel": "ui:embed.show"
|
|
337
|
+
}
|
|
338
|
+
},
|
|
329
339
|
{
|
|
330
340
|
"match": "classic/mailchimp",
|
|
331
341
|
"component": "newsletter",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contentrain/astro-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.49.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",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"mapping"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@contentrain/types": "1.
|
|
45
|
+
"@contentrain/types": "1.74.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/node": "^22.10.0",
|