microboard-ui-temp 0.0.22 → 0.0.23
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/board.html +3 -3
- package/dist/customWebComponents.js +4 -4
- package/package.json +3 -2
package/dist/board.html
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<link
|
|
12
12
|
rel="stylesheet"
|
|
13
13
|
crossorigin
|
|
14
|
-
href="https://unpkg.com/microboard-ui-temp@0.0.
|
|
14
|
+
href="https://unpkg.com/microboard-ui-temp@0.0.23/dist/board.css"
|
|
15
15
|
/>
|
|
16
16
|
<body style="overflow-x: hidden; overflow-y: hidden">
|
|
17
17
|
<div id="items">
|
|
@@ -84,11 +84,11 @@
|
|
|
84
84
|
</div>
|
|
85
85
|
<script
|
|
86
86
|
type="module"
|
|
87
|
-
src="https://unpkg.com/microboard-ui-temp@0.0.
|
|
87
|
+
src="https://unpkg.com/microboard-ui-temp@0.0.23/dist/customWebComponents.js"
|
|
88
88
|
></script>
|
|
89
89
|
<script
|
|
90
90
|
defer
|
|
91
|
-
src="https://unpkg.com/microboard-ui-temp@0.0.
|
|
91
|
+
src="https://unpkg.com/microboard-ui-temp@0.0.23/dist/loadLinksImages.js"
|
|
92
92
|
></script>
|
|
93
93
|
</body>
|
|
94
94
|
</head>
|
|
@@ -255,9 +255,9 @@ document.addEventListener("DOMContentLoaded", () => {
|
|
|
255
255
|
translateY = 0;
|
|
256
256
|
scale = 1;
|
|
257
257
|
updateTransform();
|
|
258
|
-
const { initInter } = await import("https://www.unpkg.com/microboard-ui-temp@0.0.
|
|
258
|
+
const { initInter } = await import("https://www.unpkg.com/microboard-ui-temp@0.0.23/dist/index.js");
|
|
259
259
|
initInter();
|
|
260
|
-
const { createApp } = await import("https://www.unpkg.com/microboard-ui-temp@0.0.
|
|
260
|
+
const { createApp } = await import("https://www.unpkg.com/microboard-ui-temp@0.0.23/dist/index.js");
|
|
261
261
|
console.log("createapp", createApp);
|
|
262
262
|
const app = createApp();
|
|
263
263
|
window.app = app;
|
|
@@ -267,12 +267,12 @@ document.addEventListener("DOMContentLoaded", () => {
|
|
|
267
267
|
app.getBoard().deserializeHTML(stringed);
|
|
268
268
|
app.localRender("items");
|
|
269
269
|
}
|
|
270
|
-
const response = await fetch("https://www.unpkg.com/microboard-ui-temp@0.0.
|
|
270
|
+
const response = await fetch("https://www.unpkg.com/microboard-ui-temp@0.0.23/dist/index.css");
|
|
271
271
|
const cssText = await response.text();
|
|
272
272
|
const styleEl = document.createElement("style");
|
|
273
273
|
styleEl.textContent = cssText;
|
|
274
274
|
document.body.appendChild(styleEl);
|
|
275
|
-
const responseSvg = await fetch("https://www.unpkg.com/microboard-ui-temp@0.0.
|
|
275
|
+
const responseSvg = await fetch("https://www.unpkg.com/microboard-ui-temp@0.0.23/dist/sprite.svg");
|
|
276
276
|
const svgText = await responseSvg.text();
|
|
277
277
|
const div = document.createElement("div");
|
|
278
278
|
div.style.display = "none";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "microboard-ui-temp",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.23",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
".": {
|
|
20
20
|
"import": "./dist/index.js"
|
|
21
21
|
},
|
|
22
|
-
"./style": "./dist/index.css"
|
|
22
|
+
"./style": "./dist/index.css",
|
|
23
|
+
"./sprite": "./dist/sprite.svg"
|
|
23
24
|
},
|
|
24
25
|
"devDependencies": {
|
|
25
26
|
"@types/bun": "^1.2.18",
|