@zenuml/core 3.21.1 → 3.22.0

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.
@@ -1,4 +1,4 @@
1
- import { o as c, c as e, a as o } from "./core.f8710d2d.js";
1
+ import { o as c, c as e, a as o } from "./core.27be72fc.js";
2
2
  const s = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  viewBox: "0 0 1024 1024"
@@ -20,4 +20,4 @@ export {
20
20
  _ as default,
21
21
  l as render
22
22
  };
23
- //# sourceMappingURL=zoom-in.22d09553.js.map
23
+ //# sourceMappingURL=zoom-in.d0ba372e.js.map
@@ -1,4 +1,4 @@
1
- import { o as t, c, a as o } from "./core.f8710d2d.js";
1
+ import { o as t, c, a as o } from "./core.27be72fc.js";
2
2
  const e = {
3
3
  xmlns: "http://www.w3.org/2000/svg",
4
4
  viewBox: "0 0 1024 1024"
@@ -20,4 +20,4 @@ export {
20
20
  h as default,
21
21
  s as render
22
22
  };
23
- //# sourceMappingURL=zoom-out.bd5ce17e.js.map
23
+ //# sourceMappingURL=zoom-out.c0ceca39.js.map
package/index.html CHANGED
@@ -120,6 +120,12 @@
120
120
  .render(cm.getValue(), {
121
121
  theme,
122
122
  onContentChange: (code) => editor.setValue(code),
123
+ onThemeChange: ({ theme }) => {
124
+ localStorage.setItem(
125
+ `${location.hostname}-zenuml-theme`,
126
+ theme,
127
+ );
128
+ },
123
129
  })
124
130
  .then((r) => {
125
131
  window.parentLogger
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zenuml/core",
3
- "version": "3.21.1",
3
+ "version": "3.22.0",
4
4
  "private": false,
5
5
  "license": "MIT",
6
6
  "repository": {