@code0-tech/pictor 0.0.0-mvp.27 → 0.0.0-mvp.29
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/assets/components/d-flow-folder/DFlowFolder.style.css +1 -1
- package/dist/components/context-menu/ContextMenu.js +8 -8
- package/dist/components/d-flow/DFlow.d.ts +3 -1
- package/dist/components/d-flow/DFlow.edges.hook.d.ts +2 -2
- package/dist/components/d-flow/DFlow.edges.hook.js +10 -10
- package/dist/components/d-flow/DFlow.js +220 -218
- package/dist/components/d-flow/DFlow.nodes.hook.d.ts +2 -2
- package/dist/components/d-flow/DFlow.nodes.hook.js +66 -63
- package/dist/components/d-flow/DFlow.service.d.ts +7 -3
- package/dist/components/d-flow/DFlow.service.js +2 -2
- package/dist/components/d-flow-data-type/DFlowDataType.service.d.ts +11 -6
- package/dist/components/d-flow-data-type/DFlowDataType.service.js +34 -34
- package/dist/components/d-flow-file/DFlowTabs.d.ts +3 -1
- package/dist/components/d-flow-file/DFlowTabs.js +29 -24
- package/dist/components/d-flow-folder/DFlowFolder.d.ts +16 -8
- package/dist/components/d-flow-folder/DFlowFolder.js +144 -121
- package/dist/components/d-flow-folder/DFlowFolderContextMenu.d.ts +2 -2
- package/dist/components/d-flow-folder/DFlowFolderContextMenu.js +31 -62
- package/dist/components/d-flow-folder/DFlowFolderCreateDialog.d.ts +2 -2
- package/dist/components/d-flow-folder/DFlowFolderDeleteDialog.d.ts +10 -0
- package/dist/components/d-flow-folder/DFlowFolderDeleteDialog.js +55 -0
- package/dist/components/d-flow-folder/DFlowFolderRenameDialog.d.ts +3 -2
- package/dist/components/d-flow-folder/DFlowFolderRenameDialog.js +16 -16
- package/dist/components/d-flow-folder/index.d.ts +3 -0
- package/dist/components/d-flow-folder/index.js +10 -4
- package/dist/components/d-flow-function/DFlowFunction.service.d.ts +8 -3
- package/dist/components/d-flow-function/DFlowFunction.service.js +5 -5
- package/dist/components/d-flow-panel/DFlowPanelLayout.js +14 -14
- package/dist/components/d-flow-type/DFlowType.service.d.ts +8 -3
- package/dist/components/d-flow-type/DFlowType.service.js +5 -5
- package/dist/index.js +221 -215
- package/dist/node_modules/@radix-ui/react-context-menu/dist/index.js +8 -8
- package/dist/node_modules/@radix-ui/react-menu/dist/index.js +4 -4
- package/package.json +1 -2
|
@@ -2,7 +2,7 @@ import * as a from "react";
|
|
|
2
2
|
import { composeEventHandlers as f } from "../../primitive/dist/index.js";
|
|
3
3
|
import { createContextScope as N } from "../../react-context/dist/index.js";
|
|
4
4
|
import { Primitive as S } from "../../react-primitive/dist/index.js";
|
|
5
|
-
import { createMenuScope as h, Root as w, Anchor as b, Portal as A, Content as I,
|
|
5
|
+
import { createMenuScope as h, Root as w, Anchor as b, Portal as A, Content as I, Sub as E, SubTrigger as O, SubContent as y, Item as T, Separator as G, Label as D, Group as U, Arrow as k, CheckboxItem as L, RadioGroup as B, RadioItem as F, ItemIndicator as X } from "../../react-menu/dist/index.js";
|
|
6
6
|
import { useCallbackRef as j } from "../../react-use-callback-ref/dist/index.js";
|
|
7
7
|
import { useControllableState as H } from "../../react-use-controllable-state/dist/index.js";
|
|
8
8
|
import { jsx as u, jsxs as W, Fragment as K } from "react/jsx-runtime";
|
|
@@ -114,21 +114,21 @@ Z.displayName = R;
|
|
|
114
114
|
var $ = "ContextMenuGroup", ee = a.forwardRef(
|
|
115
115
|
(e, n) => {
|
|
116
116
|
const { __scopeContextMenu: o, ...t } = e, r = c(o);
|
|
117
|
-
return /* @__PURE__ */ u(
|
|
117
|
+
return /* @__PURE__ */ u(U, { ...r, ...t, ref: n });
|
|
118
118
|
}
|
|
119
119
|
);
|
|
120
120
|
ee.displayName = $;
|
|
121
121
|
var te = "ContextMenuLabel", ne = a.forwardRef(
|
|
122
122
|
(e, n) => {
|
|
123
123
|
const { __scopeContextMenu: o, ...t } = e, r = c(o);
|
|
124
|
-
return /* @__PURE__ */ u(
|
|
124
|
+
return /* @__PURE__ */ u(D, { ...r, ...t, ref: n });
|
|
125
125
|
}
|
|
126
126
|
);
|
|
127
127
|
ne.displayName = te;
|
|
128
128
|
var oe = "ContextMenuItem", re = a.forwardRef(
|
|
129
129
|
(e, n) => {
|
|
130
130
|
const { __scopeContextMenu: o, ...t } = e, r = c(o);
|
|
131
|
-
return /* @__PURE__ */ u(
|
|
131
|
+
return /* @__PURE__ */ u(T, { ...r, ...t, ref: n });
|
|
132
132
|
}
|
|
133
133
|
);
|
|
134
134
|
re.displayName = oe;
|
|
@@ -154,7 +154,7 @@ var de = "ContextMenuItemIndicator", xe = a.forwardRef((e, n) => {
|
|
|
154
154
|
xe.displayName = de;
|
|
155
155
|
var le = "ContextMenuSeparator", Ce = a.forwardRef((e, n) => {
|
|
156
156
|
const { __scopeContextMenu: o, ...t } = e, r = c(o);
|
|
157
|
-
return /* @__PURE__ */ u(
|
|
157
|
+
return /* @__PURE__ */ u(G, { ...r, ...t, ref: n });
|
|
158
158
|
});
|
|
159
159
|
Ce.displayName = le;
|
|
160
160
|
var me = "ContextMenuArrow", fe = a.forwardRef(
|
|
@@ -171,18 +171,18 @@ var P = "ContextMenuSub", Me = (e) => {
|
|
|
171
171
|
onChange: t,
|
|
172
172
|
caller: P
|
|
173
173
|
});
|
|
174
|
-
return /* @__PURE__ */ u(
|
|
174
|
+
return /* @__PURE__ */ u(E, { ...p, open: i, onOpenChange: l, children: o });
|
|
175
175
|
};
|
|
176
176
|
Me.displayName = P;
|
|
177
177
|
var ve = "ContextMenuSubTrigger", he = a.forwardRef((e, n) => {
|
|
178
178
|
const { __scopeContextMenu: o, ...t } = e, r = c(o);
|
|
179
|
-
return /* @__PURE__ */ u(
|
|
179
|
+
return /* @__PURE__ */ u(O, { ...r, ...t, ref: n });
|
|
180
180
|
});
|
|
181
181
|
he.displayName = ve;
|
|
182
182
|
var _e = "ContextMenuSubContent", ge = a.forwardRef((e, n) => {
|
|
183
183
|
const { __scopeContextMenu: o, ...t } = e, r = c(o);
|
|
184
184
|
return /* @__PURE__ */ u(
|
|
185
|
-
|
|
185
|
+
y,
|
|
186
186
|
{
|
|
187
187
|
...r,
|
|
188
188
|
...t,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import * as o from "react";
|
|
2
2
|
import { composeEventHandlers as v } from "../../primitive/dist/index.js";
|
|
3
3
|
import { createCollection as ze } from "../../react-collection/dist/index.js";
|
|
4
|
-
import {
|
|
4
|
+
import { composeRefs as Ze, useComposedRefs as D } from "../../react-compose-refs/dist/index.js";
|
|
5
5
|
import { createContextScope as $e } from "../../react-context/dist/index.js";
|
|
6
6
|
import { useDirection as qe } from "../../react-direction/dist/index.js";
|
|
7
7
|
import { DismissableLayer as Je } from "../../react-dismissable-layer/dist/index.js";
|
|
8
8
|
import { useFocusGuards as Qe } from "../../react-focus-guards/dist/index.js";
|
|
9
9
|
import { FocusScope as et } from "../../react-focus-scope/dist/index.js";
|
|
10
10
|
import { useId as de } from "../../react-id/dist/index.js";
|
|
11
|
-
import { createPopperScope as pe, Root as me, Anchor as tt,
|
|
11
|
+
import { createPopperScope as pe, Root as me, Anchor as tt, Content as nt, Arrow as ot } from "../../react-popper/dist/index.js";
|
|
12
12
|
import { Portal as rt } from "../../react-portal/dist/index.js";
|
|
13
13
|
import { Presence as X } from "../../react-presence/dist/index.js";
|
|
14
14
|
import { Primitive as N, dispatchDiscreteCustomEvent as ct } from "../../react-primitive/dist/index.js";
|
|
@@ -201,7 +201,7 @@ var _ = "MenuContent", [_t, ee] = P(_), Se = o.forwardRef(
|
|
|
201
201
|
}),
|
|
202
202
|
preventScrollOnEntryFocus: !0,
|
|
203
203
|
children: /* @__PURE__ */ s(
|
|
204
|
-
|
|
204
|
+
nt,
|
|
205
205
|
{
|
|
206
206
|
role: "menu",
|
|
207
207
|
"aria-orientation": "vertical",
|
|
@@ -424,7 +424,7 @@ Oe.displayName = Tt;
|
|
|
424
424
|
var At = "MenuArrow", ke = o.forwardRef(
|
|
425
425
|
(e, n) => {
|
|
426
426
|
const { __scopeMenu: t, ...r } = e, u = L(t);
|
|
427
|
-
return /* @__PURE__ */ s(
|
|
427
|
+
return /* @__PURE__ */ s(ot, { ...u, ...r, ref: n });
|
|
428
428
|
}
|
|
429
429
|
);
|
|
430
430
|
ke.displayName = At;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code0-tech/pictor",
|
|
3
|
-
"version": "0.0.0-mvp.
|
|
3
|
+
"version": "0.0.0-mvp.29",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A simple template for a custom React component library",
|
|
6
6
|
"scripts": {
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
"@ariakit/react": "^0.4.17",
|
|
21
21
|
"@babel/plugin-proposal-decorators": "^7.28.0",
|
|
22
22
|
"@babel/plugin-transform-class-properties": "^7.27.1",
|
|
23
|
-
"@code0-tech/definition-reader": "^0.0.18",
|
|
24
23
|
"@code0-tech/sagittarius-graphql-types": "^0.0.0-968478cecf351385c6c13c2be8aeae5c45da026c",
|
|
25
24
|
"@dagrejs/dagre": "^2.0.0",
|
|
26
25
|
"@mdx-js/react": "^3.1.1",
|