@plumile/ui 0.1.158 → 0.1.159
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/lib/esm/atomic/molecules/markdown/components/MarkdownDelete.css.js +0 -1
- package/lib/esm/atomic/molecules/markdown/components/MarkdownInlineCode.css.js +1 -0
- package/lib/esm/node_modules/@dnd-kit/core/dist/core.esm.js +15 -15
- package/lib/esm/node_modules/@dnd-kit/core/dist/core.esm.js.map +1 -1
- package/lib/esm/node_modules/@dnd-kit/sortable/dist/sortable.esm.js +2 -2
- package/lib/esm/node_modules/@dnd-kit/sortable/dist/sortable.esm.js.map +1 -1
- package/lib/esm/node_modules/@dnd-kit/utilities/dist/utilities.esm.js +2 -2
- package/lib/esm/node_modules/@dnd-kit/utilities/dist/utilities.esm.js.map +1 -1
- package/lib/esm/node_modules/@vitest/pretty-format/dist/index.js +2 -2
- package/lib/esm/node_modules/@vitest/pretty-format/dist/index.js.map +1 -1
- package/lib/esm/node_modules/cytoscape/dist/cytoscape.esm.js +12 -12
- package/lib/esm/node_modules/cytoscape/dist/cytoscape.esm.js.map +1 -1
- package/package.json +3 -3
|
@@ -3,7 +3,7 @@ import { HiddenText as S, LiveRegion as C, useAnnouncement as w } from "../../ac
|
|
|
3
3
|
import T, { cloneElement as E, createContext as D, forwardRef as ee, memo as te, useCallback as O, useContext as k, useEffect as A, useMemo as j, useReducer as ne, useRef as M, useState as N } from "react";
|
|
4
4
|
import { createPortal as P, unstable_batchedUpdates as re } from "react-dom";
|
|
5
5
|
//#region ../../node_modules/@dnd-kit/core/dist/core.esm.js
|
|
6
|
-
var ie =
|
|
6
|
+
var ie = /*#__PURE__*/ D(null);
|
|
7
7
|
function ae(e) {
|
|
8
8
|
let t = k(ie);
|
|
9
9
|
A(() => {
|
|
@@ -98,7 +98,7 @@ function ue() {
|
|
|
98
98
|
var e = [...arguments];
|
|
99
99
|
return j(() => [...e].filter((e) => e != null), [...e]);
|
|
100
100
|
}
|
|
101
|
-
var R =
|
|
101
|
+
var R = /*#__PURE__*/ Object.freeze({
|
|
102
102
|
x: 0,
|
|
103
103
|
y: 0
|
|
104
104
|
});
|
|
@@ -236,7 +236,7 @@ function U(e) {
|
|
|
236
236
|
}), { ...t });
|
|
237
237
|
};
|
|
238
238
|
}
|
|
239
|
-
var be =
|
|
239
|
+
var be = /*#__PURE__*/ U(1);
|
|
240
240
|
function xe(e) {
|
|
241
241
|
if (e.startsWith("matrix3d(")) {
|
|
242
242
|
let t = e.slice(9, -1).split(/, /);
|
|
@@ -895,7 +895,7 @@ var ft;
|
|
|
895
895
|
(function(e) {
|
|
896
896
|
e.Optimized = "optimized";
|
|
897
897
|
})(ft ||= {});
|
|
898
|
-
var pt =
|
|
898
|
+
var pt = /*#__PURE__*/ new Map();
|
|
899
899
|
function mt(e, t) {
|
|
900
900
|
let { dragging: n, dependencies: r, config: i } = t, [a, o] = N(null), { frequency: s, measure: c, strategy: l } = i, u = M(e), d = g(), f = _(d), p = O(function(e) {
|
|
901
901
|
e === void 0 && (e = []), !f.current && o((t) => t === null ? e : t.concat(e.filter((e) => !t.includes(e))));
|
|
@@ -1155,9 +1155,9 @@ var Nt = [{
|
|
|
1155
1155
|
activeNodeRect: null,
|
|
1156
1156
|
collisions: null,
|
|
1157
1157
|
containerNodeRect: null,
|
|
1158
|
-
draggableNodes:
|
|
1159
|
-
droppableRects:
|
|
1160
|
-
droppableContainers:
|
|
1158
|
+
draggableNodes: /*#__PURE__*/ new Map(),
|
|
1159
|
+
droppableRects: /*#__PURE__*/ new Map(),
|
|
1160
|
+
droppableContainers: /*#__PURE__*/ new It(),
|
|
1161
1161
|
over: null,
|
|
1162
1162
|
dragOverlay: {
|
|
1163
1163
|
nodeRef: { current: null },
|
|
@@ -1177,10 +1177,10 @@ var Nt = [{
|
|
|
1177
1177
|
activeNodeRect: null,
|
|
1178
1178
|
ariaDescribedById: { draggable: "" },
|
|
1179
1179
|
dispatch: le,
|
|
1180
|
-
draggableNodes:
|
|
1180
|
+
draggableNodes: /*#__PURE__*/ new Map(),
|
|
1181
1181
|
over: null,
|
|
1182
1182
|
measureDroppableContainers: le
|
|
1183
|
-
}, zt =
|
|
1183
|
+
}, zt = /*#__PURE__*/ D(Rt), Bt = /*#__PURE__*/ D(Lt);
|
|
1184
1184
|
function Vt() {
|
|
1185
1185
|
return {
|
|
1186
1186
|
draggable: {
|
|
@@ -1358,7 +1358,7 @@ function Kt(e) {
|
|
|
1358
1358
|
n
|
|
1359
1359
|
]);
|
|
1360
1360
|
}
|
|
1361
|
-
var qt =
|
|
1361
|
+
var qt = /*#__PURE__*/ D({
|
|
1362
1362
|
...R,
|
|
1363
1363
|
scaleX: 1,
|
|
1364
1364
|
scaleY: 1
|
|
@@ -1366,7 +1366,7 @@ var qt = /* @__PURE__ */ D({
|
|
|
1366
1366
|
(function(e) {
|
|
1367
1367
|
e[e.Uninitialized = 0] = "Uninitialized", e[e.Initializing = 1] = "Initializing", e[e.Initialized = 2] = "Initialized";
|
|
1368
1368
|
})($ ||= {});
|
|
1369
|
-
var Jt =
|
|
1369
|
+
var Jt = /*#__PURE__*/ te(function(e) {
|
|
1370
1370
|
let { id: n, accessibility: r, autoScroll: a = !0, children: s, sensors: c = Nt, collisionDetection: l = _e, measuring: u, modifiers: d, ...f } = e, [p, m] = ne(Ht, void 0, Vt), [h, v] = oe(), [y, b] = N($.Uninitialized), S = y === $.Initialized, { draggable: { active: C, nodes: w, translate: E }, droppable: { containers: D } } = p, ee = C == null ? null : w.get(C), te = M({
|
|
1371
1371
|
initial: null,
|
|
1372
1372
|
translated: null
|
|
@@ -1673,7 +1673,7 @@ var Jt = /* @__PURE__ */ te(function(e) {
|
|
|
1673
1673
|
enabled: n
|
|
1674
1674
|
} : { enabled: n };
|
|
1675
1675
|
}
|
|
1676
|
-
}), Yt =
|
|
1676
|
+
}), Yt = /*#__PURE__*/ D(null), Xt = "button", Zt = "Draggable";
|
|
1677
1677
|
function Qt(e) {
|
|
1678
1678
|
let { id: t, data: n, disabled: r = !1, attributes: i } = e, a = x(Zt), { activators: o, activatorEvent: s, active: c, activeNodeRect: l, ariaDescribedById: u, draggableNodes: d, over: f } = k(zt), { role: p = Xt, roleDescription: m = "draggable", tabIndex: h = 0 } = i ?? {}, v = c?.id === t, b = k(v ? qt : Yt), [S, C] = y(), [w, T] = y(), E = Dt(o, t), D = _(n);
|
|
1679
1679
|
return g(() => (d.set(t, {
|
|
@@ -1803,7 +1803,7 @@ function on(e) {
|
|
|
1803
1803
|
var sn = {
|
|
1804
1804
|
position: "fixed",
|
|
1805
1805
|
touchAction: "none"
|
|
1806
|
-
}, cn = (e) => l(e) ? "transform 250ms ease" : void 0, ln =
|
|
1806
|
+
}, cn = (e) => l(e) ? "transform 250ms ease" : void 0, ln = /*#__PURE__*/ ee((t, n) => {
|
|
1807
1807
|
let { as: r, activatorEvent: i, adjustScale: a, children: o, className: s, rect: c, style: l, transform: u, transition: d = cn } = t;
|
|
1808
1808
|
if (!c) return null;
|
|
1809
1809
|
let f = a ? u : {
|
|
@@ -1833,7 +1833,7 @@ var sn = {
|
|
|
1833
1833
|
let { transform: { initial: n, final: r } } = t;
|
|
1834
1834
|
return [{ transform: e.Transform.toString(n) }, { transform: e.Transform.toString(r) }];
|
|
1835
1835
|
},
|
|
1836
|
-
sideEffects:
|
|
1836
|
+
sideEffects: /*#__PURE__*/ ((e) => (t) => {
|
|
1837
1837
|
let { active: n, dragOverlay: r } = t, i = {}, { styles: a, className: o } = e;
|
|
1838
1838
|
if (a != null && a.active) for (let [e, t] of Object.entries(a.active)) t !== void 0 && (i[e] = n.node.style.getPropertyValue(e), n.node.style.setProperty(e, t));
|
|
1839
1839
|
if (a != null && a.dragOverlay) for (let [e, t] of Object.entries(a.dragOverlay)) t !== void 0 && r.node.style.setProperty(e, t);
|
|
@@ -1924,7 +1924,7 @@ function mn(e) {
|
|
|
1924
1924
|
if (e != null) return pn++, pn;
|
|
1925
1925
|
}, [e]);
|
|
1926
1926
|
}
|
|
1927
|
-
var hn =
|
|
1927
|
+
var hn = /*#__PURE__*/ T.memo((e) => {
|
|
1928
1928
|
let { adjustScale: t = !1, children: n, dropAnimation: r, style: i, transition: a, modifiers: o, wrapperElement: s = "div", className: c, zIndex: l = 999 } = e, { activatorEvent: u, active: d, activeNodeRect: f, containerNodeRect: p, draggableNodes: m, droppableContainers: h, dragOverlay: g, over: _, measuringConfiguration: v, scrollableAncestors: y, scrollableAncestorRects: b, windowRect: x } = $t(), S = k(qt), C = mn(d?.id), w = Wt(o, {
|
|
1929
1929
|
activatorEvent: u,
|
|
1930
1930
|
active: d,
|