windcraft-editor 0.1.0 → 0.2.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.
Files changed (54) hide show
  1. package/LICENSE +23 -0
  2. package/README.md +66 -28
  3. package/{design → editor/design}/classes-section.js +1 -1
  4. package/{design → editor/design}/controls.js +1 -1
  5. package/{design → editor/design}/design-tab.js +1 -1
  6. package/{design → editor/design}/editor/designs.js +2 -2
  7. package/{design → editor/design}/editor/inspector.js +2 -2
  8. package/{design → editor/design}/editor/plane.js +1 -1
  9. package/{design → editor/design}/figma-sections.js +2 -2
  10. package/{design → editor/design}/panel-model.js +2 -2
  11. package/{design → editor/design}/style-sections.js +2 -2
  12. package/{index.js → editor/index.js} +23 -4
  13. package/editor/local-host.js +39 -0
  14. package/{playground → editor/playground}/component-source.js +1 -1
  15. package/package.json +6 -17
  16. /package/{design → editor/design}/agent.js +0 -0
  17. /package/{design → editor/design}/code-editor.js +0 -0
  18. /package/{design → editor/design}/code-view.js +0 -0
  19. /package/{design → editor/design}/color-picker.js +0 -0
  20. /package/{design → editor/design}/config.js +0 -0
  21. /package/{design → editor/design}/css-props.js +0 -0
  22. /package/{design → editor/design}/device-frame.js +0 -0
  23. /package/{design → editor/design}/editor/add-menu.js +0 -0
  24. /package/{design → editor/design}/editor/api.js +0 -0
  25. /package/{design → editor/design}/editor/base.js +0 -0
  26. /package/{design → editor/design}/editor/code-panel.js +0 -0
  27. /package/{design → editor/design}/editor/color-ui.js +0 -0
  28. /package/{design → editor/design}/editor/docs.js +0 -0
  29. /package/{design → editor/design}/editor/frame-handles.js +0 -0
  30. /package/{design → editor/design}/editor/frame-messages.js +0 -0
  31. /package/{design → editor/design}/editor/layers.js +0 -0
  32. /package/{design → editor/design}/editor/pages-panel.js +0 -0
  33. /package/{design → editor/design}/editor/panel-resize.js +0 -0
  34. /package/{design → editor/design}/editor/present.js +0 -0
  35. /package/{design → editor/design}/editor/toolbar.js +0 -0
  36. /package/{design → editor/design}/editor.js +0 -0
  37. /package/{design → editor/design}/float-toolbar.js +0 -0
  38. /package/{design → editor/design}/group-controls.js +0 -0
  39. /package/{design → editor/design}/host.js +0 -0
  40. /package/{design → editor/design}/panel-state.js +0 -0
  41. /package/{design → editor/design}/panel.js +0 -0
  42. /package/{design → editor/design}/presenter.js +0 -0
  43. /package/{design → editor/design}/prop-sections.js +0 -0
  44. /package/{design → editor/design}/selection-overlay.js +0 -0
  45. /package/{design → editor/design}/store.js +0 -0
  46. /package/{design → editor/design}/tailwind-classes.js +0 -0
  47. /package/{embed-frame.js → editor/embed-frame.js} +0 -0
  48. /package/{embed.html → editor/embed.html} +0 -0
  49. /package/{embed.js → editor/embed.js} +0 -0
  50. /package/{styles.css → editor/styles.css} +0 -0
  51. /package/{template.js → editor/template.js} +0 -0
  52. /package/{vendor → editor/vendor}/codemirror.js +0 -0
  53. /package/{vendor → editor/vendor}/preact-htm.js +0 -0
  54. /package/{vendor → editor/vendor}/prettier.js +0 -0
package/LICENSE ADDED
@@ -0,0 +1,23 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Swapnil Jadhav
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
23
+ Third-party code included in this repository is licensed under its own terms; see THIRD_PARTY_LICENSES.md.
package/README.md CHANGED
@@ -1,44 +1,77 @@
1
- # @windcraft/editor
1
+ <p align="center">
2
+ <a href="https://github.com/Tolaj/windcraft"><img src="https://raw.githubusercontent.com/Tolaj/windcraft/main/docs/media/logo-card.png" alt="Windcraft" width="320"></a>
3
+ </p>
2
4
 
3
- The Windcraft visual editor (HTML + Tailwind): canvas, layers, Properties panel, code panel and pages. It has no backend of its own: the page that mounts it gives it a **host** that loads and saves.
5
+ # windcraft-editor
4
6
 
5
- ```js
6
- import { mountEditor } from "@windcraft/editor";
7
+ A visual editor for **HTML + Tailwind** that you can put in any web page. Select, drag and style like Figma, and every change is real Tailwind code. No backend, no build step.
7
8
 
8
- await mountEditor(document.getElementById("root"), {
9
- host, // saving, projects, AI and the address: see design/host.js
10
- data, // the design to open: { id, title, htmlCode, ... }
11
- });
9
+ ## Try it in one file
10
+
11
+ Save this as `index.html`, run `npx serve` next to it, and open the address it prints:
12
+
13
+ ```html
14
+ <div id="root"></div>
15
+ <script type="module">
16
+ import { startEditor } from "https://unpkg.com/windcraft-editor/editor/index.js";
17
+ startEditor(document.getElementById("root"), {
18
+ html: '<h1 class="p-10 text-4xl font-bold">Hello</h1>',
19
+ });
20
+ </script>
21
+ ```
22
+
23
+ That is all. Designs are saved in the browser (localStorage).
24
+
25
+ ## Use it from npm
26
+
27
+ ```bash
28
+ npm install windcraft-editor
29
+ ```
30
+
31
+ Serve the `node_modules/windcraft-editor` folder as static files (for example `app.use("/windcraft", express.static("node_modules/windcraft-editor"))`) and import from it:
32
+
33
+ ```js
34
+ import { startEditor } from "/windcraft/editor/index.js";
35
+ startEditor(document.getElementById("root"), { html: "<h1>Hello</h1>" });
12
36
  ```
13
37
 
14
- | Piece | Where |
38
+ ### `startEditor(root, options)`
39
+
40
+ | Option | What it does |
15
41
  |---|---|
16
- | What the app must provide | `design/host.js` (the `Host` type) |
17
- | A host with no backend (localStorage) | `demo/demo.js` |
18
- | Run the demo | `npm run demo`, then open http://localhost:4000/editor/demo/ |
19
- | Windcraft's own host | `src/public/js/app-host.js` |
42
+ | `html` | The HTML a new design starts with |
43
+ | `title` | The design's name (default `My design`) |
44
+ | `key` | The localStorage key, so two editors on one site do not share designs |
45
+ | `theme` | `{ brand: "#e11d48", gray: "stone", font: "Poppins", radius: "xl" }` |
20
46
 
21
- The page must map `@windcraft/core/` and `@windcraft/editor/` to where they are served (an import map, as in `demo/index.html`, or a bundler). `mountEditor` loads Tailwind's play CDN (v3) unless you pass `tailwind: false`. One editor per page; it takes over the page's size, keys and zoom.
47
+ ## Save to your own server
22
48
 
23
- The AI panel and "Generate" need `host.generate`; without a working one they show its error.
49
+ `startEditor` keeps designs in the browser. To load and save somewhere else, use `mountEditor` and give it a **host**: a few functions (`createComponent`, `updateComponent`, ...) that talk to your backend. The list is in [`editor/design/host.js`](design/host.js), and [`local-host.js`](local-host.js) is a complete one to copy.
24
50
 
25
- ## Embedding in a container
51
+ ```js
52
+ import { mountEditor } from "/windcraft/editor/index.js";
26
53
 
27
- `embedEditor` puts the editor in an element of your page, isolated in an iframe (its own keys, zoom and styles), so several can share a page and it fills whatever size you give it. Leave out the parts you don't need with `ui`; keep the code box and the details form in your own page.
54
+ await mountEditor(document.getElementById("root"), {
55
+ host, // your load and save functions
56
+ data: { id, title, htmlCode }, // the design to open
57
+ });
58
+ ```
59
+
60
+ ## Put it inside a part of a page
61
+
62
+ `startEditor` and `mountEditor` take over the whole page. To place the editor in one box, use `embedEditor`. It runs in an iframe, so several can share a page.
28
63
 
29
64
  ```js
30
- import { embedEditor } from "@windcraft/editor";
65
+ import { embedEditor } from "/windcraft/editor/index.js";
31
66
 
32
- const ed = embedEditor(el, {
33
- host, // saving, as above
34
- data: { htmlCode }, // what to open
35
- ui: { panels: false, nav: false, tools: ["move", "hand", "interact", "frame", "shape", "text", "add"] },
36
- onDetails: (fields) => showMyForm(fields), // the first save of a new design needs a name: you ask, then call saveDetails
67
+ const ed = embedEditor(document.getElementById("box"), {
68
+ host,
69
+ data: { htmlCode: "<h1>Hello</h1>" },
70
+ ui: { panels: false, nav: false }, // hide parts you do not need
37
71
  });
38
- ed.onChange(({ html, dirty, status, source }) => {}); // source: "host" (your setHtml), "editor" (a change there), "status" (save state only)
39
- ed.setHtml(html); ed.getHtml(); ed.isDirty(); ed.save();
40
- await ed.saveDetails({ title, category, description, tags, isPublished, useAsReference, project });
41
- ed.destroy();
72
+
73
+ ed.onChange(({ html }) => console.log(html));
74
+ ed.setHtml("<p>New</p>"); // ed.getHtml(), ed.isDirty(), ed.save(), ed.destroy()
42
75
  ```
43
76
 
44
77
  | `ui` | Effect |
@@ -47,4 +80,9 @@ ed.destroy();
47
80
  | `nav: false` | no Back, page list or project |
48
81
  | `tools: [...]` | only these tools (`move hand interact frame shape text add`); `null` keeps all |
49
82
 
50
- The iframe loads `embed.html` (next to `embed.js`; pass `src` if you serve it elsewhere). It needs the same import map as any editor page. Run `npm run demo` and open `/editor/demo/embed.html` for a working example: a code box and the editor following each other.
83
+ ## Notes
84
+
85
+ - The editor loads Tailwind's play CDN (v3) unless you pass `tailwind: false` because your page already has it.
86
+ - One full-page editor per page. It takes over the page's size and keyboard.
87
+ - Source, demo and issues: https://github.com/Tolaj/windcraft
88
+ - MIT licensed.
@@ -3,7 +3,7 @@
3
3
  // They act through `actions`, which the editor provides:
4
4
  // setClassesText(text) · setStyle(css | null) · setAttribute(name, value | null)
5
5
  import { html, useState, useEffect, useRef } from "../vendor/preact-htm.js";
6
- import { parseToken } from "@windcraft/core/class-groups.js";
6
+ import { parseToken } from "../../core/class-groups.js";
7
7
  import { TextInput } from "./controls.js";
8
8
 
9
9
  /** "color: red; margin: 0" -> [["color","red"],["margin","0"]] */
@@ -3,7 +3,7 @@
3
3
  // and a colour field. Each keeps what is being typed in its own state and reports changes through callbacks; none reads the
4
4
  // page or the editor's state. Their classes are the ones canvas.handlebars styles.
5
5
  import { html, useState, useRef } from "../vendor/preact-htm.js";
6
- import { HUES, SHADES, SPECIAL_COLORS } from "@windcraft/core/class-groups.js";
6
+ import { HUES, SHADES, SPECIAL_COLORS } from "../../core/class-groups.js";
7
7
 
8
8
  /**
9
9
  * What a typed-in field needs: it shows `value` until it is focused, keeps what is typed in its own state (a redraw with the
@@ -3,7 +3,7 @@
3
3
  // frame's breakpoint) through useUi() and act through `actions`, which the editor provides:
4
4
  // select(path) · move(dir) · duplicate() · remove() · setTag(tag) · setBreakpoint(bp) · setState(st) · setText(text) · setAttr(name, value)
5
5
  import { html, useState } from "../vendor/preact-htm.js";
6
- import { BREAKPOINT_WIDTH, parseToken } from "@windcraft/core/class-groups.js";
6
+ import { BREAKPOINT_WIDTH, parseToken } from "../../core/class-groups.js";
7
7
  import { TAG_KINDS, variant } from "./panel-model.js";
8
8
  import { useUi } from "./panel-state.js";
9
9
  import { TextInput, TextArea, SelectInput, Field } from "./controls.js";
@@ -1,7 +1,7 @@
1
1
  import { parseComponentSource, buildPreviewDocument } from "../../playground/component-source.js";
2
2
  import { host } from "../host.js";
3
- import { normalizeGroup } from "@windcraft/core/pages.js";
4
- import { GAP_X } from "@windcraft/core/board-layout.js";
3
+ import { normalizeGroup } from "../../../core/pages.js";
4
+ import { GAP_X } from "../../../core/board-layout.js";
5
5
  import { DEVICES } from "../float-toolbar.js";
6
6
  import { $, S, collapsed, data, esc, frame, model, send } from "./base.js";
7
7
  import { MIN_H, applyView, canvas, fitTo, heightOfDoc, layout, pageGroupOf, placePills, positions, view, widthOf } from "./plane.js";
@@ -1,9 +1,9 @@
1
1
  import { panelStore, togglePalette, toggleSection } from "../panel-state.js";
2
- import { BREAKPOINT_WIDTH, setGroup, getGroup, GROUPS, parseToken } from "@windcraft/core/class-groups.js";
2
+ import { BREAKPOINT_WIDTH, setGroup, getGroup, GROUPS, parseToken } from "../../../core/class-groups.js";
3
3
  import { renderPanel } from "../panel.js";
4
4
  import { inspectorView, variant, val, srcOf, modeFor } from "../panel-model.js";
5
5
  import { checkTags } from "../code-view.js";
6
- import { groupOf, variantOf, twShown, hasScale, twValue, fromPx, tokenFor } from "@windcraft/core/prop-tailwind.js";
6
+ import { groupOf, variantOf, twShown, hasScale, twValue, fromPx, tokenFor } from "../../../core/prop-tailwind.js";
7
7
  import { normalizeValue } from "../css-props.js";
8
8
  import { host } from "../host.js";
9
9
  import { $, S, data, model, send } from "./base.js";
@@ -1,4 +1,4 @@
1
- import { computeLayout } from "@windcraft/core/board-layout.js";
1
+ import { computeLayout } from "../../../core/board-layout.js";
2
2
  import { $, DEFAULT_W, S, data, frame, send } from "./base.js";
3
3
  import { docs, wraps } from "./designs.js";
4
4
  import { placeFloat, renderFloat, renderFrameSel } from "./frame-handles.js";
@@ -5,8 +5,8 @@
5
5
  // setProp · setProps · resetProp · setGeom · freePosition · align · arrange · group · ungroup · autoLayout · sizeItMyself
6
6
  import { html, useState } from "../vendor/preact-htm.js";
7
7
  import { srcOf, shownOf, ownsValue, styled, val, variant, modeFor, PRESETS, OPTS } from "./panel-model.js";
8
- import { parseToken } from "@windcraft/core/class-groups.js";
9
- import { tokenFor } from "@windcraft/core/prop-tailwind.js";
8
+ import { parseToken } from "../../core/class-groups.js";
9
+ import { tokenFor } from "../../core/prop-tailwind.js";
10
10
  import { useUi } from "./panel-state.js";
11
11
  import { TextInput } from "./controls.js";
12
12
 
@@ -1,8 +1,8 @@
1
1
  // What the Properties panel draws from: the data tables behind its controls (suggestions, options, tags), small selectors
2
2
  // that read the selection and the panel's state (panel-state.js), and inspectorView, which says what the panel shows. The
3
3
  // components themselves are in panel.js, design-tab.js, figma-sections.js, style-sections.js, prop-sections.js and classes-section.js.
4
- import { HUES, SHADES, SPECIAL_COLORS, STEPS, SIZES, MAX_W, GROUPS, getGroup, parseToken } from "@windcraft/core/class-groups.js";
5
- import { twShown } from "@windcraft/core/prop-tailwind.js";
4
+ import { HUES, SHADES, SPECIAL_COLORS, STEPS, SIZES, MAX_W, GROUPS, getGroup, parseToken } from "../../core/class-groups.js";
5
+ import { twShown } from "../../core/prop-tailwind.js";
6
6
  import { panelStore } from "./panel-state.js";
7
7
 
8
8
  const esc = (s) => String(s ?? "").replace(/[&<>"']/g, (c) => ({ "&": "&amp;", "<": "&lt;", ">": "&gt;", '"': "&quot;", "'": "&#39;" }[c]));
@@ -11,8 +11,8 @@ import { useUi } from "./panel-state.js";
11
11
  import { TextInput, ColorInput } from "./controls.js";
12
12
  import { GroupColor } from "./group-controls.js";
13
13
  import { I, IconBtn, NumField, FSection, Sub, PropField, PropSelect, TwField, TwSelect, num, owns, has, off, comp, srcKind, srcNote, atVariant } from "./figma-sections.js";
14
- import { twShown } from "@windcraft/core/prop-tailwind.js";
15
- import { brandScale, normalizeTheme } from "@windcraft/core/theme.js";
14
+ import { twShown } from "../../core/prop-tailwind.js";
15
+ import { brandScale, normalizeTheme } from "../../core/theme.js";
16
16
  import { data } from "./editor/base.js";
17
17
  import { PropRow } from "./prop-sections.js";
18
18
 
@@ -1,14 +1,15 @@
1
- // @windcraft/editor: the visual editor as a package.
1
+ // windcraft-editor: the visual editor as a package.
2
2
  //
3
- // import { mountEditor } from "@windcraft/editor";
3
+ // import { mountEditor } from "windcraft-editor";
4
4
  // await mountEditor(document.getElementById("root"), { host, data });
5
5
  //
6
6
  // `host` is what the editor needs from the app around it (design/host.js lists it): saving, projects, the AI and the page address.
7
- // `data` is the design to open (below). The page must map "@windcraft/core/" and "@windcraft/editor/" to where those packages are
8
- // served (an import map, or a bundler does it). One editor per page: it takes over the page's size and keyboard.
7
+ // `data` is the design to open (below). The page must serve this package's files and, for a plain browser page, map "windcraft-editor"
8
+ // to editor/index.js with an import map (a bundler does that itself). One editor per page: it takes over the page's size and keyboard.
9
9
  import { setHost } from "./design/host.js";
10
10
  import { config } from "./design/config.js";
11
11
  import { editorHtml } from "./template.js";
12
+ import { localHost, savedDesign } from "./local-host.js";
12
13
 
13
14
  const here = (path) => new URL(path, import.meta.url).href;
14
15
  const TAILWIND = "https://cdn.tailwindcss.com";
@@ -60,3 +61,21 @@ export async function mountEditor(root, { host, data = {}, back = null, tailwind
60
61
  return (await import("./design/editor/api.js")).api;
61
62
  }
62
63
  export { embedEditor } from "./embed.js";
64
+
65
+ /**
66
+ * The quickest way in: the editor with nothing to set up. Designs are saved in this browser (localStorage).
67
+ * @param {HTMLElement} root
68
+ * @param {{ html?: string, title?: string, key?: string, theme?: object }} [options]
69
+ * html: what a new design starts with; title: its name; key: the localStorage key (use different ones for different editors);
70
+ * theme: { brand, gray, font, radius }
71
+ */
72
+ export async function startEditor(root, { html = "", title = "My design", key = "windcraft", theme } = {}) {
73
+ const categories = [{ group: "Designs", items: [{ slug: "design", name: "Design" }] }];
74
+ const saved = savedDesign(key);
75
+ await mountEditor(root, {
76
+ host: localHost(key),
77
+ data: saved
78
+ ? { id: saved._id, title: saved.title, htmlCode: saved.htmlCode, version: saved.version, category: saved.category || "design", description: saved.description, tags: String(saved.tags || "").split(",").filter(Boolean), categories }
79
+ : { title, htmlCode: html, category: "design", description: "", theme, categories },
80
+ });
81
+ }
@@ -0,0 +1,39 @@
1
+ // A host with no backend: designs are kept in this browser's localStorage. startEditor (index.js) uses it, and so does the demo.
2
+
3
+ const read = (key) => { try { return JSON.parse(localStorage.getItem(key) || "{}"); } catch { return {}; } };
4
+ const write = (key, all) => localStorage.setItem(key, JSON.stringify(all));
5
+ const id = () => Math.random().toString(36).slice(2, 10);
6
+
7
+ /** @param {string} key the localStorage key the designs are kept under */
8
+ export function localHost(key = "windcraft") {
9
+ /** @type {import("./design/host.js").Host} */
10
+ const host = {
11
+ async createComponent(fields) {
12
+ const all = read(key), _id = id();
13
+ all[_id] = { ...fields, _id, version: 1 };
14
+ write(key, all);
15
+ return all[_id];
16
+ },
17
+ async updateComponent(docId, fields) {
18
+ const all = read(key);
19
+ if (!all[docId]) throw new Error("That design isn't saved here");
20
+ const next = { ...all[docId], ...fields };
21
+ if (fields.htmlCode !== undefined && fields.htmlCode !== all[docId].htmlCode) next.version = (all[docId].version || 1) + 1;
22
+ all[docId] = next;
23
+ write(key, all);
24
+ return next;
25
+ },
26
+ async deleteComponent(docId) { const all = read(key); delete all[docId]; write(key, all); },
27
+ async createProject(name) { return { id: id(), name }; },
28
+ async saveLayout() {},
29
+ saveLayoutOnExit() {},
30
+ showDesign(docId) { history.replaceState({}, "", docId ? `?design=${docId}` : location.pathname); },
31
+ openDesign(docId) { location.href = `?design=${docId}`; },
32
+ };
33
+ return host;
34
+ }
35
+
36
+ /** The design the address (?design=...) points at, if it is saved here. */
37
+ export function savedDesign(key = "windcraft") {
38
+ return read(key)[new URLSearchParams(location.search).get("design") || ""] || null;
39
+ }
@@ -1,4 +1,4 @@
1
- import { themeHead } from "@windcraft/core/theme.js";
1
+ import { themeHead } from "../../core/theme.js";
2
2
  const TAILWIND_RE = /tailwindcss|@tailwindcss\/browser/i;
3
3
 
4
4
  const isTailwindScript = (s) => s.src && TAILWIND_RE.test(s.src);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "windcraft-editor",
3
- "version": "0.1.0",
4
- "description": "Windcraft's visual HTML + Tailwind editor. Mount it in a page and give it a host that loads and saves designs. Includes @windcraft/core.",
3
+ "version": "0.2.0",
4
+ "description": "Windcraft's visual HTML + Tailwind editor. Mount it in a page and give it a host that loads and saves designs.",
5
5
  "keywords": [
6
6
  "tailwind",
7
7
  "tailwindcss",
@@ -23,29 +23,18 @@
23
23
  "bugs": {
24
24
  "url": "https://github.com/Tolaj/windcraft/issues"
25
25
  },
26
- "main": "index.js",
26
+ "main": "editor/index.js",
27
27
  "exports": {
28
- ".": "./index.js",
28
+ ".": "./editor/index.js",
29
29
  "./*": "./*"
30
30
  },
31
31
  "files": [
32
- "index.js",
33
- "embed.js",
34
- "embed.html",
35
- "embed-frame.js",
36
- "template.js",
37
- "styles.css",
38
- "design",
39
- "playground",
40
- "vendor",
32
+ "editor",
41
33
  "core",
34
+ "LICENSE",
42
35
  "README.md"
43
36
  ],
44
37
  "publishConfig": {
45
38
  "access": "public"
46
- },
47
- "scripts": {
48
- "prepack": "node scripts/bundle-core.mjs",
49
- "postpack": "node scripts/bundle-core.mjs clean"
50
39
  }
51
40
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes