@markdy/renderer-dom 1.4.12 → 1.4.13
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 +31 -2
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -4010,6 +4010,19 @@ function ensureSceneStyles(doc) {
|
|
|
4010
4010
|
font-size: 9px !important;
|
|
4011
4011
|
opacity: 0.55;
|
|
4012
4012
|
}
|
|
4013
|
+
.markdy-badge-prefix {
|
|
4014
|
+
display: none !important;
|
|
4015
|
+
}
|
|
4016
|
+
}
|
|
4017
|
+
@media (max-width: 440px) {
|
|
4018
|
+
.markdy-badge {
|
|
4019
|
+
display: none !important;
|
|
4020
|
+
}
|
|
4021
|
+
}
|
|
4022
|
+
@media (max-width: 360px) {
|
|
4023
|
+
.markdy-control-reset {
|
|
4024
|
+
display: none !important;
|
|
4025
|
+
}
|
|
4013
4026
|
}
|
|
4014
4027
|
@container markdy-root (max-width: 520px) {
|
|
4015
4028
|
.markdy-btn-label {
|
|
@@ -4035,6 +4048,19 @@ function ensureSceneStyles(doc) {
|
|
|
4035
4048
|
.markdy-controls {
|
|
4036
4049
|
gap: 4px !important;
|
|
4037
4050
|
}
|
|
4051
|
+
.markdy-badge-prefix {
|
|
4052
|
+
display: none !important;
|
|
4053
|
+
}
|
|
4054
|
+
}
|
|
4055
|
+
@container markdy-root (max-width: 440px) {
|
|
4056
|
+
.markdy-badge {
|
|
4057
|
+
display: none !important;
|
|
4058
|
+
}
|
|
4059
|
+
}
|
|
4060
|
+
@container markdy-root (max-width: 360px) {
|
|
4061
|
+
.markdy-control-reset {
|
|
4062
|
+
display: none !important;
|
|
4063
|
+
}
|
|
4038
4064
|
}
|
|
4039
4065
|
.markdy-speed-group {
|
|
4040
4066
|
display: inline-flex;
|
|
@@ -6792,8 +6818,11 @@ function createDiagram(opts) {
|
|
|
6792
6818
|
badge.href = `${MARKDY_PLAYGROUND_URL}#code=${encodeCodeForPlaygroundHash(code)}`;
|
|
6793
6819
|
badge.target = "_blank";
|
|
6794
6820
|
badge.rel = "noopener noreferrer";
|
|
6795
|
-
|
|
6796
|
-
|
|
6821
|
+
const badgePrefix = document.createElement("span");
|
|
6822
|
+
badgePrefix.className = "markdy-badge-prefix";
|
|
6823
|
+
badgePrefix.textContent = "Powered by ";
|
|
6824
|
+
badge.appendChild(badgePrefix);
|
|
6825
|
+
badge.appendChild(document.createTextNode("Markdy"));
|
|
6797
6826
|
ensureFooter().appendChild(badge);
|
|
6798
6827
|
const badgeLink = badge;
|
|
6799
6828
|
void compressMarkdyToUrlHash(code).then((hash) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@markdy/renderer-dom",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.13",
|
|
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.4.
|
|
49
|
+
"@markdy/core": "1.4.13"
|
|
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.4.
|
|
56
|
+
"@markdy/stdlib-systems": "1.4.13"
|
|
57
57
|
},
|
|
58
58
|
"scripts": {
|
|
59
59
|
"build": "tsup",
|