microboard-ui-temp 0.0.16 → 0.0.18

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 CHANGED
@@ -8,11 +8,10 @@
8
8
  href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap"
9
9
  rel="stylesheet"
10
10
  />
11
- <!-- <link rel="stylesheet" crossorigin href="./board.css" /> -->
12
11
  <link
13
12
  rel="stylesheet"
14
13
  crossorigin
15
- href="https://unpkg.com/microboard-ui-temp@0.0.16/dist/board.css"
14
+ href="https://unpkg.com/microboard-ui-temp@0.0.18/dist/board.css"
16
15
  />
17
16
  <body style="overflow-x: hidden; overflow-y: hidden">
18
17
  <div id="items">
@@ -85,11 +84,11 @@
85
84
  </div>
86
85
  <script
87
86
  type="module"
88
- src="https://unpkg.com/microboard-ui-temp@0.0.16/dist/customWebComponents.js"
87
+ src="https://unpkg.com/microboard-ui-temp@0.0.18/dist/customWebComponents.js"
89
88
  ></script>
90
89
  <script
91
90
  defer
92
- src="https://unpkg.com/microboard-ui-temp@0.0.16/dist/loadLinksImages.js"
91
+ src="https://unpkg.com/microboard-ui-temp@0.0.18/dist/loadLinksImages.js"
93
92
  ></script>
94
93
  </body>
95
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.16/dist/index.js");
258
+ const { initInter } = await import("https://www.unpkg.com/microboard-ui-temp@0.0.18/dist/index.js");
259
259
  initInter();
260
- const { createApp } = await import("https://www.unpkg.com/microboard-ui-temp@0.0.16/dist/index.js");
260
+ const { createApp } = await import("https://www.unpkg.com/microboard-ui-temp@0.0.18/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.16/dist/index.css");
270
+ const response = await fetch("https://www.unpkg.com/microboard-ui-temp@0.0.18/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.16/dist/sprite.svg");
275
+ const responseSvg = await fetch("https://www.unpkg.com/microboard-ui-temp@0.0.18/dist/sprite.svg");
276
276
  const svgText = await responseSvg.text();
277
277
  const div = document.createElement("div");
278
278
  div.style.display = "none";
package/dist/index.js CHANGED
@@ -330916,6 +330916,8 @@ var Tooltip = import_react113.forwardRef(({
330916
330916
  allowTextWrap = false,
330917
330917
  ...props
330918
330918
  }, ref4) => {
330919
+ console.log("tip-container class", Tooltip_module_default.tipContainer);
330920
+ console.log("whole style tooltip", Tooltip_module_default);
330919
330921
  return /* @__PURE__ */ import_react113.default.createElement("div", {
330920
330922
  ref: ref4,
330921
330923
  className: clsx_default(Tooltip_module_default.tipContainer, {
@@ -446420,7 +446422,14 @@ function createApp(isHistory = true) {
446420
446422
  }
446421
446423
  async function getFileForLocalEdit() {
446422
446424
  if ("showOpenFilePicker" in window) {
446423
- const [newFileHandle] = await window.showOpenFilePicker();
446425
+ const [newFileHandle] = await window.showOpenFilePicker({
446426
+ types: [{
446427
+ description: "HTML-files",
446428
+ accept: { "text/html": [".html"] }
446429
+ }],
446430
+ excludeAcceptAllOption: false,
446431
+ multiple: false
446432
+ });
446424
446433
  fileHandle = newFileHandle;
446425
446434
  const file2 = await newFileHandle.getFile();
446426
446435
  return file2;
@@ -446635,7 +446644,9 @@ cursorsMap2["sticker-orange"] = `url(${sticker_orange_default}) 12 12, auto`;
446635
446644
  cursorsMap2["sticker-yellow"] = `url(${sticker_yellow_default}) 12 12, auto`;
446636
446645
  cursorsMap2["sticker-light-gray"] = `url(${sticker_light_gray_default}) 12 12, auto`;
446637
446646
  cursorsMap2["sticker-gray"] = `url(${sticker_gray_default}) 12 12, auto`;
446647
+ var customCursors_default = {};
446638
446648
  export {
446639
446649
  initInter,
446650
+ customCursors_default as customCursors,
446640
446651
  createApp
446641
446652
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "microboard-ui-temp",
3
- "version": "0.0.16",
3
+ "version": "0.0.18",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "type": "module",