@markdy/astro 1.4.11 → 1.4.12
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 +2 -2
- package/src/Markdy.astro +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markdy/astro",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.12",
|
|
4
4
|
"description": "Astro island component for diagram-native animated MarkdyScript architecture diagrams.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"registry": "https://registry.npmjs.org"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@markdy/renderer-dom": "1.4.
|
|
42
|
+
"@markdy/renderer-dom": "1.4.12"
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"astro": ">=4.0.0"
|
package/src/Markdy.astro
CHANGED
|
@@ -52,7 +52,7 @@ export interface Props {
|
|
|
52
52
|
playbackRate?: number;
|
|
53
53
|
/** Host interaction override: true supplies default gestures; false suppresses script gestures. */
|
|
54
54
|
interactiveViewport?: boolean;
|
|
55
|
-
/** Host controls override: true supplies legacy defaults; false suppresses script controls. */
|
|
55
|
+
/** Host controls override: true supplies legacy defaults; false suppresses script controls. Defaults to true. */
|
|
56
56
|
controls?: boolean;
|
|
57
57
|
/** Initial fit-all-in-view state. Defaults to true when undeclared. */
|
|
58
58
|
fit?: boolean;
|
|
@@ -84,7 +84,7 @@ const {
|
|
|
84
84
|
progressColor,
|
|
85
85
|
progressBarColor,
|
|
86
86
|
playbackRate,
|
|
87
|
-
controls,
|
|
87
|
+
controls = true,
|
|
88
88
|
fit,
|
|
89
89
|
interactiveViewport,
|
|
90
90
|
class: className,
|
|
@@ -331,7 +331,7 @@ const codeB64 =
|
|
|
331
331
|
const controls =
|
|
332
332
|
el.dataset.markdyControls !== undefined
|
|
333
333
|
? el.dataset.markdyControls === "true"
|
|
334
|
-
:
|
|
334
|
+
: true;
|
|
335
335
|
const fit =
|
|
336
336
|
el.dataset.markdyFit !== undefined
|
|
337
337
|
? el.dataset.markdyFit === "true"
|