spell-ui 0.8.12 → 0.8.14
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/README-components.md +5 -3
- package/dist/{Dragging-B93hbRxF.js → Dragging-tHPSvf3G.js} +56 -13
- package/dist/Dragging-tHPSvf3G.js.map +1 -0
- package/dist/_spell-element/DOMElement.d.ts +8 -1
- package/dist/_spell-element/drawnWindow.d.ts +62 -0
- package/dist/_util/Dragging.d.ts +7 -0
- package/dist/components/components.types.d.ts +2 -0
- package/dist/components/ui-diagram/UIDiagram.d.ts +3 -0
- package/dist/components/ui-graph/GraphLayout.d.ts +54 -0
- package/dist/components/ui-graph/UIGraph.d.ts +355 -0
- package/dist/components/ui-graph/UIGraph.en.d.ts +137 -0
- package/dist/components/ui-graph/UIGraph.es.d.ts +48 -0
- package/dist/components/ui-graph/UIGraph.types.d.ts +193 -0
- package/dist/components/ui-graph/index.d.ts +5 -0
- package/dist/components/ui-json/UIJson.d.ts +275 -10
- package/dist/components/ui-json/UIJson.en.d.ts +148 -9
- package/dist/components/ui-json/UIJson.es.d.ts +34 -3
- package/dist/components/ui-json/index.d.ts +2 -2
- package/dist/components/ui-split-panel/UISplitPanel.d.ts +2 -16
- package/dist/components/ui-tree/UITree.d.ts +758 -26
- package/dist/components/ui-tree/UITree.en.d.ts +113 -3
- package/dist/components/ui-tree/UITree.es.d.ts +24 -0
- package/dist/components/ui-tree/UITree.types.d.ts +34 -0
- package/dist/components/ui-tree/UITreeItem.d.ts +40 -1
- package/dist/components/ui-tree/UITreeItem.en.d.ts +9 -0
- package/dist/components/ui-tree/UITreeItem.es.d.ts +2 -0
- package/dist/components/ui-tree/index.d.ts +3 -2
- package/dist/components/ui-tree-diagram/UITreeDiagram.d.ts +3 -0
- package/dist/{components.es-DEa8Ep42.js → components.es-DilRG1VO.js} +117 -9
- package/dist/components.es-DilRG1VO.js.map +1 -0
- package/dist/core.js +713 -671
- package/dist/core.js.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +97 -96
- package/dist/jsx.d.ts +489 -20
- package/dist/ui-diagram.js +2 -2
- package/dist/ui-diagram.js.map +1 -1
- package/dist/ui-graph.editor-DLsXPyby.js +5 -0
- package/dist/ui-graph.editor-DLsXPyby.js.map +1 -0
- package/dist/ui-graph.js +1295 -0
- package/dist/ui-graph.js.map +1 -0
- package/dist/ui-json.editor-BS-v1bqO.js +5 -0
- package/dist/ui-json.editor-BS-v1bqO.js.map +1 -0
- package/dist/ui-json.js +629 -32
- package/dist/ui-json.js.map +1 -1
- package/dist/ui-property-editor.js +3 -2
- package/dist/ui-property-editor.js.map +1 -1
- package/dist/ui-root.js +34 -3
- package/dist/ui-root.js.map +1 -1
- package/dist/ui-site-nav.js +4 -4
- package/dist/ui-site-nav.js.map +1 -1
- package/dist/ui-split-panel.js +31 -61
- package/dist/ui-split-panel.js.map +1 -1
- package/dist/ui-tree-diagram.js +1 -1
- package/dist/ui-tree-diagram.js.map +1 -1
- package/dist/ui-tree.editor-Bqsa0dYQ.js +5 -0
- package/dist/ui-tree.editor-Bqsa0dYQ.js.map +1 -0
- package/dist/ui-tree.js +1734 -237
- package/dist/ui-tree.js.map +1 -1
- package/dist/util/PaneSizes.d.ts +42 -0
- package/dist/util/index.d.ts +2 -0
- package/package.json +1 -1
- package/dist/Dragging-B93hbRxF.js.map +0 -1
- package/dist/components.es-DEa8Ep42.js.map +0 -1
- package/dist/ui-json.editor-BgZbrB_W.js +0 -5
- package/dist/ui-json.editor-BgZbrB_W.js.map +0 -1
- package/dist/ui-tree.editor-BoQztwdz.js +0 -5
- package/dist/ui-tree.editor-BoQztwdz.js.map +0 -1
package/dist/ui-diagram.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "./rolldown-runtime-c6e9CmGy.js";
|
|
2
2
|
import { DOMElement as e, Gt as t, Jt as r, Kt as i, MoveAndResize as a, UI as o, UIComponent as s, Ut as c, Wt as l, Yt as u, after as d, beforeNextPaint as f, cssState as ee, derived as te, escapeHTML as ne, on as p, onChange as m, proto as re, protoMerged as ie, qt as h, state as g, untracked as ae, watches as oe, whileConnected as se } from "./core.js";
|
|
3
3
|
import { t as ce } from "./PrefStore-Di83C0bY.js";
|
|
4
|
-
import { t as le } from "./Dragging-
|
|
4
|
+
import { t as le } from "./Dragging-tHPSvf3G.js";
|
|
5
5
|
import { JsonChild as ue, t as de } from "./ui-json.js";
|
|
6
6
|
import { t as fe } from "./TreeMeasure-BK74uexu.js";
|
|
7
7
|
import "./ui-menu.js";
|
|
@@ -877,7 +877,7 @@ V = t(B), H = /* @__PURE__ */ new WeakMap(), c(V, 4, "placement", Ie, U, H), c(V
|
|
|
877
877
|
styleSheets: { "diagram-node": Ne },
|
|
878
878
|
delegatesFocus: !1
|
|
879
879
|
})), u(V, 19, U);
|
|
880
|
-
var W = U, Be = 16, Ve = "placed", He = 1, Ue = "@layer ui.components.diagram.types{:host{max-width:100%;display:block;overflow-x:auto}.canvas{width:fit-content;max-width:100%;position:relative}.canvas,.ui.diagram{--_ui-diagram-font-family:var(--ui-diagram-font-family,var(--ui-font-family));--_ui-diagram-background:var(--ui-diagram-background,var(--ui-background));--_ui-diagram-box-background:var(--ui-diagram-box-background,var(--ui-background));--_ui-diagram-ink:var(--ui-diagram-ink,var(--ui-text-color));--_ui-diagram-line-color:var(--ui-diagram-line-color,var(--ui-text-muted));--_ui-diagram-legend-background:var(--ui-diagram-legend-background,var(--ui-surface-muted))}svg.ui.diagram{font-family:var(--_ui-diagram-font-family);width:calc(var(--_ui-diagram-natural-width,0) * 1px);-webkit-user-select:none;user-select:none;max-width:100%;height:auto;display:block;overflow:visible;&.empty{display:none}}.menu{background:0 0;border:none;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}}@layer ui.components.diagram.content{.ui.diagram{& .background{fill:var(--_ui-diagram-background)}& .box{fill:var(--_ui-diagram-box-background)}& :is(.field,.bullet,.legend-text){fill:var(--_ui-diagram-ink)}& .line{stroke:var(--_ui-diagram-line-color)}& .arrow{fill:var(--_ui-diagram-line-color)}& .legend{fill:var(--_ui-diagram-legend-background)}& .legend-label{fill:var(--_ui-diagram-ink)}& :is(.box,.header,.outline,.name,.note,.field,.bullet){cursor:grab}&.fixed :is(.box,.header,.outline,.name,.note,.field,.bullet){cursor:default}& text{pointer-events:auto}}}@layer ui.components.diagram.variations,ui.components.diagram.states;", We = /* @__PURE__ */ k("<div><svg></svg><slot>"), Ge = /* @__PURE__ */ k("<ui-item icon=undo>", 1), Ke = /* @__PURE__ */ k("<div popover=auto><ui-menu direction=vertical size=small><ui-item icon=download></ui-item><ui-item icon=code>", 1), qe = /* @__PURE__ */ k("<svg><rect></svg>", 2), Je = /* @__PURE__ */ k("<svg><path></svg>", 2), Ye = /* @__PURE__ */ k("<svg><polygon></svg>", 2), Xe = /* @__PURE__ */ k("<svg><text></svg>", 2), Ze, Qe, $e, et, tt, nt, rt, it, at, ot, st, ct, lt, ut, dt, ft, pt, mt, ht, gt, _t, vt, yt, bt, G, K, q, J, Y, X, Z, Q, DOMDiagramElement = class extends e {
|
|
880
|
+
var W = U, Be = 16, Ve = "placed", He = 1, Ue = "@layer ui.components.diagram.types{:host{max-width:100%;display:block;overflow-x:auto}::slotted(:is(ui-json,es-json)){display:none}.canvas{width:fit-content;max-width:100%;position:relative}.canvas,.ui.diagram{--_ui-diagram-font-family:var(--ui-diagram-font-family,var(--ui-font-family));--_ui-diagram-background:var(--ui-diagram-background,var(--ui-background));--_ui-diagram-box-background:var(--ui-diagram-box-background,var(--ui-background));--_ui-diagram-ink:var(--ui-diagram-ink,var(--ui-text-color));--_ui-diagram-line-color:var(--ui-diagram-line-color,var(--ui-text-muted));--_ui-diagram-legend-background:var(--ui-diagram-legend-background,var(--ui-surface-muted))}svg.ui.diagram{font-family:var(--_ui-diagram-font-family);width:calc(var(--_ui-diagram-natural-width,0) * 1px);-webkit-user-select:none;user-select:none;max-width:100%;height:auto;display:block;overflow:visible;&.empty{display:none}}.menu{background:0 0;border:none;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}}@layer ui.components.diagram.content{.ui.diagram{& .background{fill:var(--_ui-diagram-background)}& .box{fill:var(--_ui-diagram-box-background)}& :is(.field,.bullet,.legend-text){fill:var(--_ui-diagram-ink)}& .line{stroke:var(--_ui-diagram-line-color)}& .arrow{fill:var(--_ui-diagram-line-color)}& .legend{fill:var(--_ui-diagram-legend-background)}& .legend-label{fill:var(--_ui-diagram-ink)}& :is(.box,.header,.outline,.name,.note,.field,.bullet){cursor:grab}&.fixed :is(.box,.header,.outline,.name,.note,.field,.bullet){cursor:default}& text{pointer-events:auto}}}@layer ui.components.diagram.variations,ui.components.diagram.states;", We = /* @__PURE__ */ k("<div><svg></svg><slot>"), Ge = /* @__PURE__ */ k("<ui-item icon=undo>", 1), Ke = /* @__PURE__ */ k("<div popover=auto><ui-menu direction=vertical size=small><ui-item icon=download></ui-item><ui-item icon=code>", 1), qe = /* @__PURE__ */ k("<svg><rect></svg>", 2), Je = /* @__PURE__ */ k("<svg><path></svg>", 2), Ye = /* @__PURE__ */ k("<svg><polygon></svg>", 2), Xe = /* @__PURE__ */ k("<svg><text></svg>", 2), Ze, Qe, $e, et, tt, nt, rt, it, at, ot, st, ct, lt, ut, dt, ft, pt, mt, ht, gt, _t, vt, yt, bt, G, K, q, J, Y, X, Z, Q, DOMDiagramElement = class extends e {
|
|
881
881
|
static {
|
|
882
882
|
i(this, "DOMDiagramElement");
|
|
883
883
|
}
|