@markdy/renderer-dom 1.5.2 → 1.5.3
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/dist/index.js +5 -4
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -3984,7 +3984,6 @@ function ensureSceneStyles(doc) {
|
|
|
3984
3984
|
}
|
|
3985
3985
|
}
|
|
3986
3986
|
@media (max-width: 360px) {
|
|
3987
|
-
.markdy-control-reset-view,
|
|
3988
3987
|
.markdy-control-share,
|
|
3989
3988
|
.markdy-control-code {
|
|
3990
3989
|
display: none !important;
|
|
@@ -4013,12 +4012,14 @@ function ensureSceneStyles(doc) {
|
|
|
4013
4012
|
}
|
|
4014
4013
|
}
|
|
4015
4014
|
@container markdy-root (max-width: 360px) {
|
|
4016
|
-
.markdy-control-reset-view,
|
|
4017
4015
|
.markdy-control-share,
|
|
4018
4016
|
.markdy-control-code {
|
|
4019
4017
|
display: none !important;
|
|
4020
4018
|
}
|
|
4021
4019
|
}
|
|
4020
|
+
.markdy-fullscreen-host .markdy-control-reset-view {
|
|
4021
|
+
display: inline-flex !important;
|
|
4022
|
+
}
|
|
4022
4023
|
.markdy-speed-group {
|
|
4023
4024
|
display: inline-flex;
|
|
4024
4025
|
align-items: center;
|
|
@@ -8421,7 +8422,7 @@ function createDiagram(opts) {
|
|
|
8421
8422
|
}
|
|
8422
8423
|
toggleInteract(true);
|
|
8423
8424
|
if (controlsResetViewButton) {
|
|
8424
|
-
controlsResetViewButton.style.display
|
|
8425
|
+
controlsResetViewButton.style.setProperty("display", "inline-flex", "important");
|
|
8425
8426
|
}
|
|
8426
8427
|
} else {
|
|
8427
8428
|
host.classList.remove("markdy-fullscreen-host");
|
|
@@ -8438,7 +8439,7 @@ function createDiagram(opts) {
|
|
|
8438
8439
|
}
|
|
8439
8440
|
toggleInteract(false);
|
|
8440
8441
|
if (controlsResetViewButton) {
|
|
8441
|
-
controlsResetViewButton.style.display
|
|
8442
|
+
controlsResetViewButton.style.setProperty("display", "none", "important");
|
|
8442
8443
|
}
|
|
8443
8444
|
}
|
|
8444
8445
|
requestAnimationFrame(() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markdy/renderer-dom",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"description": "Browser renderer for diagram-native animated MarkdyScript architecture diagrams, built on the Web Animations API.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -46,14 +46,14 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"html2canvas": "^1.4.1",
|
|
49
|
-
"@markdy/core": "1.5.
|
|
49
|
+
"@markdy/core": "1.5.3"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"jsdom": "^29.1.1",
|
|
53
53
|
"tsup": "^8.5.1",
|
|
54
54
|
"typescript": "^5.9.3",
|
|
55
55
|
"vitest": "^4.1.7",
|
|
56
|
-
"@markdy/stdlib-systems": "1.5.
|
|
56
|
+
"@markdy/stdlib-systems": "1.5.3"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"build": "tsup",
|