@crewlethq/ui 0.130.2 → 0.131.1
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/AppShell/AppShell.d.ts +47 -196
- package/dist/AppShell/index.js +2 -2
- package/dist/{AppShell-N5IHITJM.css → AppShell-RPILZZW5.css} +109 -431
- package/dist/ArtifactBar/index.js +4 -4
- package/dist/ArtifactCard/ArtifactCard.d.ts +13 -39
- package/dist/ArtifactCard/index.js +1 -1
- package/dist/{ArtifactCard-ZH6KCD5O.css → ArtifactCard-PWMC7RAY.css} +15 -49
- package/dist/ArtifactMakeRow/ArtifactMakeRow.d.ts +3 -16
- package/dist/AvatarPicker/index.js +5 -5
- package/dist/BrandSample/index.js +1 -1
- package/dist/{BrandSample-3OSKZAGG.css → BrandSample-WSBT7FQ5.css} +5 -25
- package/dist/Breadcrumb/Breadcrumb.d.ts +5 -41
- package/dist/Breadcrumb/index.js +1 -1
- package/dist/{Breadcrumb-MQJWJVN3.css → Breadcrumb-JDBQXPR5.css} +12 -58
- package/dist/Canvas/Canvas.d.ts +52 -228
- package/dist/Canvas/geometry.d.ts +31 -139
- package/dist/Canvas/index.js +1 -1
- package/dist/CanvasBoard/index.js +3 -3
- package/dist/CanvasToolbar/index.js +2 -2
- package/dist/CodeBlock/index.js +1 -1
- package/dist/ColorSwatch/index.js +2 -2
- package/dist/CommentThread/CommentThread.d.ts +3 -21
- package/dist/CommentThread/index.js +1 -1
- package/dist/{CommentThread-544KCZT7.css → CommentThread-YU6VSVS4.css} +2 -4
- package/dist/Composer/Composer.d.ts +17 -54
- package/dist/ConfirmField/index.js +2 -2
- package/dist/Copyable/Copyable.d.ts +2 -11
- package/dist/Copyable/index.js +1 -1
- package/dist/{Copyable-XMLKKJDT.css → Copyable-U3UJL3BP.css} +9 -32
- package/dist/DataGrid/DataGrid.d.ts +46 -136
- package/dist/DataGrid/index.js +1 -1
- package/dist/DataTable/index.js +2 -2
- package/dist/DataView/index.js +3 -3
- package/dist/DocTabsEditor/index.js +2 -2
- package/dist/{Editor-MEPTWBY5.js → Editor-HDHT5BX2.js} +2 -2
- package/dist/GraphCanvas/GraphCanvas.d.ts +22 -79
- package/dist/GraphCanvas/index.js +2 -2
- package/dist/GraphCanvas/layout.d.ts +10 -35
- package/dist/HuePicker/index.js +4 -4
- package/dist/InlineCode/InlineCode.d.ts +7 -28
- package/dist/InlineCode/index.js +1 -1
- package/dist/InlineCode-3KJCBT5I.css +80 -0
- package/dist/Link/Link.d.ts +3 -25
- package/dist/Link/index.js +1 -1
- package/dist/{Link-Y7RHTR6F.css → Link-7AADYG2F.css} +12 -35
- package/dist/LinkInterstitial/index.js +2 -2
- package/dist/MarkdownEditor/index.js +4 -4
- package/dist/MentionMenu/MentionMenu.d.ts +9 -31
- package/dist/Menu/Menu.d.ts +9 -91
- package/dist/Menu/index.js +1 -1
- package/dist/MergeConflicts/index.js +4 -4
- package/dist/ObjectHeader/index.js +2 -2
- package/dist/OrgTable/index.js +3 -3
- package/dist/PropertyList/index.js +3 -3
- package/dist/RichEditor/index.js +1 -1
- package/dist/SearchTrigger/SearchTrigger.d.ts +8 -36
- package/dist/SearchTrigger/index.js +1 -1
- package/dist/{SearchTrigger-MME7NIHX.css → SearchTrigger-3HO7D6NP.css} +5 -17
- package/dist/SegmentedControl/index.js +3 -3
- package/dist/ShareDialog/index.js +1 -1
- package/dist/SheetColumnEditor/index.js +5 -5
- package/dist/SheetGrid/index.js +2 -2
- package/dist/SlideFilmstrip/index.js +2 -2
- package/dist/TableCells/index.js +2 -2
- package/dist/Tabs/index.js +2 -2
- package/dist/ThemeSwitcher/index.js +4 -4
- package/dist/TimeRangePicker/index.js +4 -4
- package/dist/TreeCanvas/TreeCanvas.d.ts +50 -248
- package/dist/TreeCanvas/index.js +2 -2
- package/dist/TreeGrid/index.js +2 -2
- package/dist/VersionCompare/index.js +4 -4
- package/dist/{chunk-O43SIR3W.js → chunk-3QQ3QHQR.js} +1 -1
- package/dist/{chunk-MZV45HQB.js → chunk-3T6URIXM.js} +1 -1
- package/dist/{chunk-H2QSDZTX.js → chunk-3ZURIGQ7.js} +1 -1
- package/dist/{chunk-KQFOPY2P.js → chunk-4H577HEE.js} +1 -1
- package/dist/{chunk-3WSDAVE6.js → chunk-5PAABHF7.js} +1 -1
- package/dist/{chunk-3DAIOPAV.js → chunk-63NULHGF.js} +1 -1
- package/dist/{chunk-NFA7CSCD.js → chunk-6BMPVSUB.js} +1 -1
- package/dist/{chunk-JY6WSDUG.js → chunk-AIQHJ2HF.js} +1 -1
- package/dist/{chunk-M32NBSS7.js → chunk-B2RTWEZZ.js} +4 -6
- package/dist/{chunk-3P24SMTI.js → chunk-B5MCTPXL.js} +1 -1
- package/dist/{chunk-V2FD4RPS.js → chunk-BGPHGCDT.js} +1 -1
- package/dist/{chunk-QNDXLHBO.js → chunk-CN2EDXAW.js} +1 -1
- package/dist/{chunk-MNACKUBB.js → chunk-CX4JXBS3.js} +2 -2
- package/dist/{chunk-NLGRDKCK.js → chunk-EPH5EPKN.js} +2 -2
- package/dist/{chunk-AKCIF6XN.js → chunk-FEJVDORA.js} +1 -1
- package/dist/{chunk-PFTUWDZN.js → chunk-FIH5EMJF.js} +1 -1
- package/dist/{chunk-OWYIRWEX.js → chunk-FMRRKLNX.js} +1 -1
- package/dist/{chunk-QM2QFKIA.js → chunk-FVXNR63H.js} +2 -2
- package/dist/{chunk-2AKVGQ73.js → chunk-GDBROEQ5.js} +1 -1
- package/dist/{chunk-NMBGVHGQ.js → chunk-GSLN7WL2.js} +2 -2
- package/dist/{chunk-KMIS2R67.js → chunk-HJAX4356.js} +1 -1
- package/dist/{chunk-WLCPN22T.js → chunk-HKYLPYVF.js} +1 -1
- package/dist/{chunk-Q4JX6UO7.js → chunk-HMEFWPAA.js} +3 -7
- package/dist/{chunk-OVFB63RZ.js → chunk-JANUABBT.js} +3 -5
- package/dist/{chunk-AIYSPVVZ.js → chunk-JDRBZYIA.js} +1 -1
- package/dist/{chunk-7FSIBX4S.js → chunk-JG66SXCX.js} +1 -1
- package/dist/{chunk-D2KJ5GQC.js → chunk-N2DCSSYC.js} +2 -2
- package/dist/{chunk-2TZNTPF5.js → chunk-NDWXVEY6.js} +2 -4
- package/dist/{chunk-QFE6T6GW.js → chunk-P4QAS5TS.js} +1 -1
- package/dist/{chunk-JKFA2F7J.js → chunk-R4YUMULC.js} +1 -1
- package/dist/{chunk-E3AFQTWT.js → chunk-SRPV3EAJ.js} +1 -1
- package/dist/{chunk-K5WTII2H.js → chunk-U67UM3VS.js} +1 -1
- package/dist/{chunk-RMGPZQVJ.js → chunk-UTKI2SAM.js} +1 -1
- package/dist/{chunk-KUECTV2P.js → chunk-W443OSWT.js} +1 -1
- package/dist/{chunk-XHNV272L.js → chunk-W4UJWFCZ.js} +1 -1
- package/dist/{chunk-EGHOU7U2.js → chunk-WGAEHKGW.js} +5 -12
- package/dist/{chunk-3DGNF2EH.js → chunk-XGZXKG53.js} +2 -2
- package/dist/{chunk-MNVIIZQP.js → chunk-YADYQHHW.js} +2 -5
- package/dist/{chunk-Y7FPSBCN.js → chunk-YBOGOTYV.js} +1 -1
- package/dist/{chunk-ECOWCJHQ.js → chunk-YTDZY3PY.js} +1 -1
- package/dist/{chunk-6POROC4M.js → chunk-ZO3MXMAC.js} +1 -1
- package/dist/generated/index.js +49 -49
- package/dist/index.js +49 -49
- package/dist/styles.css +188 -696
- package/dist/utils/pathBreaks.d.ts +3 -8
- package/package.json +3 -3
- package/dist/InlineCode-BEYQFJQT.css +0 -106
|
@@ -1,79 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* A hierarchy drawn as cards on a canvas, with the ARIA tree pattern over it.
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* keyboard pattern, focus and the per node menu state. It draws no card: the
|
|
6
|
-
* caller renders each one and is handed the props that make an element a
|
|
7
|
-
* treeitem, so a card can be anything from a name to a stack of rows without
|
|
8
|
-
* this component knowing what a seat, a unit or a company is.
|
|
9
|
-
*
|
|
10
|
-
* THE KEYBOARD PATTERN IS A TREE, AND ITS ITEMS HOLD NOTHING FOCUSABLE. Each
|
|
11
|
-
* card's header and each row inside a card is a `treeitem` with its level,
|
|
12
|
-
* position and expansion, and focus moves among them by a roving tab stop:
|
|
13
|
-
* arrows walk the visible order, Right and Left open, close and climb, Home
|
|
14
|
-
* and End jump, and typing finds a node by name. A treeitem's own keys act on
|
|
15
|
-
* it: Enter activates, Delete or Backspace removes, the ContextMenu key or
|
|
16
|
-
* Shift+F10 opens its menu. The buttons a pointer uses (expand, add, more)
|
|
17
|
-
* sit BESIDE the treeitem in a strip hidden from assistive technology and out
|
|
18
|
-
* of the tab order, because a control inside a treeitem is a control a screen
|
|
19
|
-
* reader cannot reach and a keyboard user would Tab through by the hundred;
|
|
20
|
-
* the menu they open is the same one the ContextMenu key opens. A press on
|
|
21
|
-
* that strip never leaves focus in it: the treeitem takes the focus, so what
|
|
22
|
-
* holds it is always a node a screen reader can announce and the arrows can
|
|
23
|
-
* move from. `ctx.actions` is what a caller spreads on such a strip.
|
|
24
|
-
*
|
|
25
|
-
* THE POINTER'S CONTROLS ARE QUIET UNTIL THE CARD IS REACHED, and that is why
|
|
26
|
-
* they are the component's to place rather than the caller's. The actions strip
|
|
27
|
-
* is drawn OVER the end of the card and the add control hangs UNDER it
|
|
28
|
-
* (`renderUnder`), both appearing on hover, on focus and on the selected card;
|
|
29
|
-
* so a name has the card's whole width rather than the half left beside three
|
|
30
|
-
* buttons nobody is pointing at, and the chart at rest is cards and connectors
|
|
31
|
-
* rather than a field of chrome. The room each takes is reserved whether or not
|
|
32
|
-
* it is drawn, because a chart that grew under the pointer would move the card
|
|
33
|
-
* somebody was aiming at out from under them.
|
|
34
|
-
*
|
|
35
|
-
* FOCUS NEVER SCROLLS BEHIND THE TRANSFORM'S BACK. A node is focused with
|
|
36
|
-
* `preventScroll` and then revealed by panning the canvas, and a node inside a
|
|
37
|
-
* collapsed card has its ancestors opened first. The caller decides which node
|
|
38
|
-
* is focused after an operation, an undo or a redo, through the handle.
|
|
39
|
-
*
|
|
40
|
-
* THE LAYOUT IS MEASURED. Every card is rendered at the card width variable
|
|
41
|
-
* and measured, the gaps between cards and the space around the whole chart
|
|
42
|
-
* are read from probes drawn with spacing tokens (so density scales them with
|
|
43
|
-
* everything else), and the layout places them: under each parent, or on a
|
|
44
|
-
* band per depth, which is what an org chart is and what the `node`
|
|
45
|
-
* appearance takes (`ranks`). A relayout keeps the node the operator acted on
|
|
46
|
-
* still on screen. Nothing else is an input to the layout: a badge whose text
|
|
47
|
-
* changes inside a slot that keeps its size lays nothing out again.
|
|
48
|
-
*
|
|
49
|
-
* A RUN OF SIBLINGS CAN BE ENCLOSED IN A BOX, a unit round its seats, with a
|
|
50
|
-
* label along its top (`groups`). The box is room the layout KEEPS rather than
|
|
51
|
-
* a rectangle drawn over it afterwards: its padding and header are part of the
|
|
52
|
-
* members' outlines, so a card that is not a member is never drawn inside one
|
|
53
|
-
* and two boxes are never drawn over each other. The label rides OVER the
|
|
54
|
-
* connectors, on the box's own fill, so a branch dropping into a member passes
|
|
55
|
-
* behind the words rather than through them. The box is drawing, like the
|
|
56
|
-
* connectors, and hidden from assistive technology; what it SAYS is given to
|
|
57
|
-
* each member card as its description, which is where a reader of the tree
|
|
58
|
-
* meets it.
|
|
59
|
-
*
|
|
60
|
-
* AND IT MOVES. A chart arrives rank by rank rather than all at once, and a
|
|
61
|
-
* relayout TWEENS every card from where it was to where it is, connectors and
|
|
62
|
-
* all, so adding a seat is visibly the same chart rearranging rather than a
|
|
63
|
-
* new one. Both are `motion.ts`, both are off under `prefers-reduced-motion`,
|
|
64
|
-
* and neither changes what is drawn in the end or what any of it is called.
|
|
65
|
-
*
|
|
66
|
-
* A NODE IS ADDED IN THE CHART, NOT IN A DIALOG OVER IT. `composing` names a
|
|
67
|
-
* GHOST: a card the layout knows about and the data does not, drawn where the
|
|
68
|
-
* new node will be, holding the form that makes it. The chart makes room for
|
|
69
|
-
* it, draws the branch into it, eases onto it and gives the reader their view
|
|
70
|
-
* back when it goes. It is in `cards` and NOT in `nodes`, which is the whole
|
|
71
|
-
* of why the tree is untouched by it: no level, no position, no set size and
|
|
72
|
-
* no key of any real node moves, and no arrow key, type ahead or selection can
|
|
73
|
-
* land on something that is not there yet. See [TreeComposing].
|
|
74
|
-
*
|
|
75
|
-
* Ported from the engine dashboard's org builder canvas, with the generic half
|
|
76
|
-
* of its suite.
|
|
3
|
+
* The caller renders each card; pointer controls sit beside its treeitem, out
|
|
4
|
+
* of the tab order, and a press on them lands focus on the treeitem.
|
|
77
5
|
*/
|
|
78
6
|
import { type KeyboardEvent, type MouseEvent, type ReactNode, type Ref } from 'react';
|
|
79
7
|
import { type CanvasGround, type CanvasLabels, type CanvasSize, type CanvasView } from '../Canvas/index.js';
|
|
@@ -130,22 +58,9 @@ export interface TreeCardContext {
|
|
|
130
58
|
/** Makes `id` the current node without moving focus, as a pointer action on its card does. */
|
|
131
59
|
activate(id: string): void;
|
|
132
60
|
/**
|
|
133
|
-
* The
|
|
134
|
-
*
|
|
135
|
-
*
|
|
136
|
-
* that element IMMEDIATELY AFTER the node's own treeitem.
|
|
137
|
-
*
|
|
138
|
-
* WHY THE COMPONENT OWNS IT. The strip is drawn OVER the end of the card and
|
|
139
|
-
* is quiet until the card is reached, so the node's name has the card's whole
|
|
140
|
-
* width to say itself in rather than the half left over beside three buttons
|
|
141
|
-
* nobody is pointing at. Where it sits, when it appears and what covers what
|
|
142
|
-
* are the chart's decisions, not the caller's: left to the caller the strip
|
|
143
|
-
* was a permanent column and every name in the chart was truncated to fit
|
|
144
|
-
* beside it. The immediate-sibling rule is what the reveal is keyed on, which
|
|
145
|
-
* is why it is stated here and not merely implied.
|
|
146
|
-
*
|
|
147
|
-
* `press` is the same landing behaviour on its own, for a pointer-only region
|
|
148
|
-
* that is NOT this strip (a chip drawn along a card's bottom edge, say).
|
|
61
|
+
* The props of a node's pointer-only strip of controls: its class, hidden
|
|
62
|
+
* from assistive technology, a press landing on the node. Put that element
|
|
63
|
+
* IMMEDIATELY AFTER the node's treeitem: the reveal is keyed on it.
|
|
149
64
|
*/
|
|
150
65
|
actions(id: string): TreeActionsProps;
|
|
151
66
|
/**
|
|
@@ -159,95 +74,40 @@ export interface TreeCardContext {
|
|
|
159
74
|
setMenuOpen(id: string, open: boolean): void;
|
|
160
75
|
}
|
|
161
76
|
/**
|
|
162
|
-
* What a screen can ask of a tree drawn on a
|
|
163
|
-
*
|
|
164
|
-
*
|
|
165
|
-
* Separate from [TreeViewHandle] rather than added to it, because the other
|
|
166
|
-
* view of one hierarchy is a grid of rows with no viewport to move: a handle
|
|
167
|
-
* that promised these there would be a promise kept by doing nothing.
|
|
77
|
+
* What a screen can ask of a tree drawn on a canvas: a tree view's handle plus
|
|
78
|
+
* the two moves only a view with a viewport can make.
|
|
168
79
|
*/
|
|
169
80
|
export interface TreeCanvasHandle extends TreeViewHandle {
|
|
170
81
|
/**
|
|
171
|
-
* Open every collapsed ancestor of a node, focus it, and bring it into view
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
* operation made or moved, to the one an undo or a search names. So a node
|
|
175
|
-
* that the view does not show at all is brought to the MIDDLE of the view,
|
|
176
|
-
* at the reader's zoom, with the chart around it on every side; the least
|
|
177
|
-
* pan left it against the edge it came in by, which after an add was the
|
|
178
|
-
* edge of the pane with nothing of the chart beyond it. A node partly in
|
|
179
|
-
* view moves the least distance, and one in view does not move. The tree's
|
|
180
|
-
* own arrow keys keep the least pan: a step lands beside the node before.
|
|
82
|
+
* Open every collapsed ancestor of a node, focus it, and bring it into view:
|
|
83
|
+
* a node out of view comes to the middle at the reader's zoom, one partly in
|
|
84
|
+
* view moves the least distance, and one in view does not move.
|
|
181
85
|
*/
|
|
182
86
|
focusNode(id: string): void;
|
|
183
87
|
/**
|
|
184
|
-
* Ease onto one node's own card, remembering the view it
|
|
185
|
-
*
|
|
186
|
-
* For a surface opened ABOUT that node: the view moves to it with room
|
|
187
|
-
* around it, so the decision being made has the part of the chart it is
|
|
188
|
-
* about behind it. A node whose card has not been laid out yet is ignored.
|
|
88
|
+
* Ease onto one node's own card with room around it, remembering the view it
|
|
89
|
+
* left, for a surface opened about that node. Ignored before it is laid out.
|
|
189
90
|
*/
|
|
190
91
|
focusRegion(id: string): void;
|
|
191
92
|
/** Give back the view [focusRegion] left. */
|
|
192
93
|
restoreView(): void;
|
|
193
94
|
}
|
|
194
95
|
/**
|
|
195
|
-
* A node being
|
|
196
|
-
*
|
|
197
|
-
*
|
|
198
|
-
* THE PHANTOM IS THE LAYOUT'S AND NOT THE DATA'S. A chart that asked for a
|
|
199
|
-
* child's name in a dialog over itself said nothing about WHERE that child
|
|
200
|
-
* would go, which is the one thing a chart is for. So the card is grafted into
|
|
201
|
-
* the CARD forest, under `parent` and after its existing children, exactly
|
|
202
|
-
* where the new node will land; `nodes` is untouched, and that is what keeps
|
|
203
|
-
* every real node's level, position in set, set size and key the same while a
|
|
204
|
-
* node is being composed. A screen reader is never told a unit has seven
|
|
205
|
-
* children while six exist. Nothing focusable by the tree's own keys is in it,
|
|
206
|
-
* either: the arrows, type ahead and the selection walk `nodes`, so they walk
|
|
207
|
-
* past a ghost that is not in them.
|
|
208
|
-
*
|
|
209
|
-
* IT IS DRAWN OUTSIDE THE TREE ELEMENT for the same reason. A form is not a
|
|
210
|
-
* `treeitem` and a `tree` may hold nothing else, so the ghost is a sibling of
|
|
211
|
-
* the tree in the same transformed world: the layout places it, and what is
|
|
212
|
-
* inside it is an ordinary region of the page that a screen reader reads and
|
|
213
|
-
* Tab walks.
|
|
214
|
-
*
|
|
215
|
-
* WHAT THE CHART DOES ABOUT IT. It opens `parent` if it is closed, eases onto
|
|
216
|
-
* the ghost with the room a form needs rather than the room a label needs
|
|
217
|
-
* ([CANVAS_COMPOSE_CONTEXT]), moves focus to the first control inside it, and
|
|
218
|
-
* on Escape calls `onCancel`. When it goes, focus returns to `parent` and the
|
|
219
|
-
* view the reader left is given back. Under `prefers-reduced-motion` every
|
|
220
|
-
* part of that still happens; only the animations do not.
|
|
221
|
-
*
|
|
222
|
-
* THE VIEW COMES BACK ON THE CHART THE COMPOSITION LEFT. An add ends with the
|
|
223
|
-
* node it made in `nodes` and the ghost gone, in one commit, and the new card
|
|
224
|
-
* is measured a frame later; the view is given back on the first layout that
|
|
225
|
-
* places it, not on the ghost's. A reader who had not moved the fit gets the
|
|
226
|
-
* fit of the chart as it now stands, with the new node and anything the
|
|
227
|
-
* composition opened for it inside; a reader who had moved the view gets it
|
|
228
|
-
* back exactly. A caller that then sends focus to the node it made
|
|
229
|
-
* (`focusNode`, as it does after any operation) has it brought to the middle
|
|
230
|
-
* of that view when the view does not show it.
|
|
96
|
+
* A node being composed: a ghost card for its form, grafted into the card
|
|
97
|
+
* forest under `parent` but never into `nodes`, so no real node's level, set
|
|
98
|
+
* size or key moves. It is drawn outside the tree element.
|
|
231
99
|
*/
|
|
232
100
|
export interface TreeComposing {
|
|
233
101
|
/**
|
|
234
|
-
* The ghost card's own id.
|
|
235
|
-
*
|
|
236
|
-
* IT MUST NOT BE AN ID OF `nodes`. A ghost in the node forest is a node, and
|
|
237
|
-
* then everything this arrangement exists to avoid is back: a set size that
|
|
238
|
-
* counts it, an arrow key that lands on it and a selection that can hold it.
|
|
102
|
+
* The ghost card's own id. It must not be an id of `nodes`: there it would be
|
|
103
|
+
* a node that set sizes count and arrow keys land on.
|
|
239
104
|
*/
|
|
240
105
|
id: string;
|
|
241
106
|
/** The card it hangs under, which is the node the new one is being added to. */
|
|
242
107
|
parent: string;
|
|
243
108
|
/**
|
|
244
|
-
* The accessible name of the ghost, such as "Add to Engineering"
|
|
245
|
-
*
|
|
246
|
-
* THE GHOST IS A NAMED REGION rather than an anonymous box with a form in
|
|
247
|
-
* it, because focus is moved into it: a reader who arrives at a field with
|
|
248
|
-
* nothing around it has been told what to type and not what they are making
|
|
249
|
-
* or where it is going. The name says both, and it is the only thing about
|
|
250
|
-
* the ghost this component cannot work out for itself.
|
|
109
|
+
* The accessible name of the ghost, such as "Add to Engineering": focus moves
|
|
110
|
+
* into it, so the name says what is being made and where.
|
|
251
111
|
*/
|
|
252
112
|
label: string;
|
|
253
113
|
/** What is drawn inside the ghost: the form that makes the node. */
|
|
@@ -268,17 +128,14 @@ export interface TreeCanvasGroup {
|
|
|
268
128
|
*/
|
|
269
129
|
label: string;
|
|
270
130
|
/**
|
|
271
|
-
* A short key
|
|
272
|
-
*
|
|
273
|
-
* reads it and as a rail row's `lead` puts a project's key before its name.
|
|
274
|
-
* Drawn and described with the label.
|
|
131
|
+
* A short key ahead of the label, such as a project key chip: "ENG
|
|
132
|
+
* Engineering · Core". Drawn and described with the label.
|
|
275
133
|
*/
|
|
276
134
|
lead?: ReactNode | undefined;
|
|
277
135
|
/**
|
|
278
|
-
* The
|
|
279
|
-
*
|
|
280
|
-
*
|
|
281
|
-
* drawn at all. Anything else is refused: see [LayoutGroup].
|
|
136
|
+
* The cards it encloses: ids `cards` returns, consecutive children of one
|
|
137
|
+
* card (or roots). Undrawn members are left out, a group with none is not
|
|
138
|
+
* drawn, and anything else is refused (see [LayoutGroup]).
|
|
282
139
|
*/
|
|
283
140
|
memberIds: readonly string[];
|
|
284
141
|
}
|
|
@@ -292,22 +149,15 @@ export interface TreeCanvasProps {
|
|
|
292
149
|
/** The accessible name of the chart, such as "Structure chart". */
|
|
293
150
|
label: string;
|
|
294
151
|
/**
|
|
295
|
-
* The hierarchy as the tree pattern reads it: every node, nested.
|
|
296
|
-
*
|
|
297
|
-
*
|
|
298
|
-
* A fresh array each render rebuilds the model, and with it the visible
|
|
299
|
-
* order and the layout, on every push a parent takes.
|
|
152
|
+
* The hierarchy as the tree pattern reads it: every node, nested. Keep it
|
|
153
|
+
* stable across renders (a `useMemo`): a fresh array rebuilds the model and
|
|
154
|
+
* the layout.
|
|
300
155
|
*/
|
|
301
156
|
nodes: readonly TreeInput[];
|
|
302
157
|
/**
|
|
303
|
-
* Which
|
|
304
|
-
*
|
|
305
|
-
* the
|
|
306
|
-
* changes, and is given both.
|
|
307
|
-
*
|
|
308
|
-
* Keep it stable too, for the reason `nodes` is: it is asked again whenever
|
|
309
|
-
* it changes identity, and the tidy layout it feeds is the most expensive
|
|
310
|
-
* thing this component does.
|
|
158
|
+
* Which cards the layout draws and how they nest (a node drawn as a row is
|
|
159
|
+
* not a card). Asked again when the model or expansion changes; keep it
|
|
160
|
+
* stable, since the layout it feeds is this component's costliest work.
|
|
311
161
|
*/
|
|
312
162
|
cards: (model: TreeModel, expanded: ReadonlySet<string>) => TreeCardInput[];
|
|
313
163
|
/** The card a node is drawn in: itself, or the card holding its row. Stable, as `cards` is. */
|
|
@@ -315,31 +165,14 @@ export interface TreeCanvasProps {
|
|
|
315
165
|
/** Draws one card. Everything it needs from the tree is the second argument. */
|
|
316
166
|
renderCard: (id: string, card: TreeCardContext) => ReactNode;
|
|
317
167
|
/**
|
|
318
|
-
* What hangs
|
|
319
|
-
*
|
|
320
|
-
*
|
|
321
|
-
* IT IS A SLOT RATHER THAN SOMETHING THE CALLER DRAWS ITSELF because of where
|
|
322
|
-
* it has to be. A control below the card is below the card's MEASURED bottom,
|
|
323
|
-
* which is where the layout puts the next rank and where the connectors
|
|
324
|
-
* start, so a caller drawing it itself either has it overlap its own
|
|
325
|
-
* children or has to tell the layout a height that is not the card's. Drawn
|
|
326
|
-
* here it is part of the card, so the space is reserved by the same
|
|
327
|
-
* measurement that reserves the name's, and every connector already leaves
|
|
328
|
-
* from below it.
|
|
329
|
-
*
|
|
330
|
-
* THE ROOM IS KEPT WHETHER OR NOT IT IS DRAWN. It is quiet until the card is
|
|
331
|
-
* reached, like the actions strip, and a chart that grew a rank taller under
|
|
332
|
-
* the pointer would move the card somebody was aiming at out from under them.
|
|
168
|
+
* What hangs under a card, such as the control that adds a child. It is part
|
|
169
|
+
* of the card, so the layout reserves its room, kept whether or not it is
|
|
170
|
+
* drawn; return nothing for a card that takes none.
|
|
333
171
|
*/
|
|
334
172
|
renderUnder?: ((id: string, card: TreeCardContext) => ReactNode) | undefined;
|
|
335
173
|
/**
|
|
336
|
-
* The hue a card is tinted with
|
|
337
|
-
*
|
|
338
|
-
* ONE ANSWER FOR BOTH, because they are one statement. A tinted card reached
|
|
339
|
-
* by a branch in the chart's neutral ink reads as somebody else's branch
|
|
340
|
-
* ending on it, and two functions would be two places for that to come
|
|
341
|
-
* apart. Unset, or answered with nothing, a card is the chart's own neutral
|
|
342
|
-
* surface and the branch is the chart's own ink.
|
|
174
|
+
* The hue a card is tinted with and the connector arriving at it: one answer
|
|
175
|
+
* for both, so they cannot disagree. Unset or empty, both are neutral.
|
|
343
176
|
*/
|
|
344
177
|
cardTone?: ((id: string) => TreeCardTone | undefined) | undefined;
|
|
345
178
|
/**
|
|
@@ -348,68 +181,37 @@ export interface TreeCanvasProps {
|
|
|
348
181
|
*/
|
|
349
182
|
cardDimmed?: ((id: string) => boolean) | undefined;
|
|
350
183
|
/**
|
|
351
|
-
* How a card is drawn
|
|
352
|
-
*
|
|
353
|
-
*
|
|
354
|
-
* lines stacked with room around them, and the pointer's controls over its
|
|
355
|
-
* top right corner. It is what a chart of a few dozen nodes reads best as.
|
|
356
|
-
*
|
|
357
|
-
* `node` is an org chart NODE: as wide as its own name between a fixed icon
|
|
358
|
-
* zone and a fixed actions column, one rank tall, its two lines centred
|
|
359
|
-
* between them, with the actions as a column down its right edge and the add
|
|
360
|
-
* hanging under its bottom edge. Denser, and it is the drawing the console's
|
|
361
|
-
* own org chart uses, which this package is matched to. A chart of a hundred
|
|
362
|
-
* nodes fits on a screen in it; a card that has more to say than a name and a
|
|
363
|
-
* caption does not belong in it.
|
|
184
|
+
* How a card is drawn: `card` (the default), a panel of one width with its
|
|
185
|
+
* lines stacked; or `node`, an org chart node as wide as its name, one rank
|
|
186
|
+
* tall, with actions down its right edge and the add hanging under it.
|
|
364
187
|
*/
|
|
365
188
|
appearance?: 'card' | 'node' | undefined;
|
|
366
189
|
/**
|
|
367
190
|
* Where a card's top edge sits: under its own parent (`per-parent`) or on a
|
|
368
|
-
* band
|
|
369
|
-
*
|
|
370
|
-
* Unset, it follows the appearance, because the two are one decision about
|
|
371
|
-
* what the chart IS. A chart of panels is a hierarchy of things with
|
|
372
|
-
* contents, where a short card's children riding up beside a tall
|
|
373
|
-
* neighbour's is tidier; a chart of org chart NODES is an organization,
|
|
374
|
-
* where a rank is a row a reader scans across and two units of one company
|
|
375
|
-
* sit on one line whether or not one of them carries a lead.
|
|
191
|
+
* band per depth (`shared`). Unset, `node` charts share bands and `card`
|
|
192
|
+
* charts do not. See [LayoutRanks].
|
|
376
193
|
*/
|
|
377
194
|
ranks?: LayoutRanks | undefined;
|
|
378
195
|
/**
|
|
379
|
-
* The shape of the connectors: `elbow` (the default),
|
|
380
|
-
*
|
|
381
|
-
* the softer `step` and the single `curve` the console's org chart draws.
|
|
382
|
-
* See [layoutConnectors], which states what each shape costs.
|
|
196
|
+
* The shape of the connectors: `elbow` (the default), `straight`, `step` or
|
|
197
|
+
* `curve`. See [layoutConnectors], which states what each shape costs.
|
|
383
198
|
*/
|
|
384
199
|
connector?: TreeConnectorShape | undefined;
|
|
385
200
|
/**
|
|
386
|
-
* Boxes drawn round runs of sibling cards, each
|
|
387
|
-
*
|
|
388
|
-
* the layout.
|
|
389
|
-
*
|
|
390
|
-
* WHAT A GROUP IS FOR. A chart's cards say who reports to whom; a group says
|
|
391
|
-
* which of them work TOGETHER, the seats of one unit under the lead they
|
|
392
|
-
* report to, which the lines alone cannot: two units under one lead are two
|
|
393
|
-
* runs of children with nothing between them. The box is laid out, not
|
|
394
|
-
* painted over the layout, so a card outside it is never drawn inside it.
|
|
201
|
+
* Boxes drawn round runs of sibling cards, each labelled along its top (see
|
|
202
|
+
* [TreeCanvasGroup]). Keep it stable, as `nodes` is: it is a layout input.
|
|
395
203
|
*/
|
|
396
204
|
groups?: readonly TreeCanvasGroup[] | undefined;
|
|
397
205
|
/**
|
|
398
|
-
* Carries out Enter (activate) or Delete and Backspace (remove) on a node
|
|
399
|
-
*
|
|
400
|
-
*
|
|
401
|
-
* The Menu key is not here: which menu is open is this component's state, so
|
|
402
|
-
* it opens the node's own menu itself when `hasNodeMenu` says there is one.
|
|
206
|
+
* Carries out Enter (activate) or Delete and Backspace (remove) on a node;
|
|
207
|
+
* return false when it has no such action, so the key travels on. The Menu
|
|
208
|
+
* key opens the node's menu itself (see `hasNodeMenu`).
|
|
403
209
|
*/
|
|
404
210
|
onNodeKey?: ((id: string, action: Exclude<TreeItemAction, 'menu'>) => boolean) | undefined;
|
|
405
211
|
/**
|
|
406
|
-
* Any other key the caller claims on a node, such as Alt
|
|
407
|
-
*
|
|
408
|
-
*
|
|
409
|
-
*
|
|
410
|
-
* The same contract the grid of rows keeps (`TreeGridProps.onRowKeyDown`),
|
|
411
|
-
* because the two are two views of one hierarchy and a key that moves a node
|
|
412
|
-
* in one has to move it in the other.
|
|
212
|
+
* Any other key the caller claims on a node, such as Alt+arrow to move it,
|
|
213
|
+
* asked first; return true when handled. The same contract as
|
|
214
|
+
* `TreeGridProps.onRowKeyDown`.
|
|
413
215
|
*/
|
|
414
216
|
onNodeKeyDown?: ((id: string, event: KeyboardEvent<HTMLElement>) => boolean) | undefined;
|
|
415
217
|
/** Whether a node has a menu the ContextMenu key and Shift+F10 can open. */
|
package/dist/TreeCanvas/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from '../chunk-
|
|
1
|
+
export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from '../chunk-HMEFWPAA.js';
|
|
2
2
|
import '../chunk-MY374UUD.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-YADYQHHW.js';
|
|
4
4
|
import '../chunk-X4HBZSXA.js';
|
|
5
5
|
import '../chunk-SK4BIFTG.js';
|
|
6
6
|
import '../chunk-COS6LJ4K.js';
|
package/dist/TreeGrid/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { TreeGrid } from '../chunk-
|
|
1
|
+
export { TreeGrid } from '../chunk-P4QAS5TS.js';
|
|
2
2
|
import '../chunk-MY374UUD.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-NDWXVEY6.js';
|
|
4
4
|
import '../chunk-X4HBZSXA.js';
|
|
5
5
|
import '../chunk-WFAJYBLX.js';
|
|
6
6
|
import '../chunk-WSIJDWUG.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from '../chunk-
|
|
1
|
+
export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from '../chunk-63NULHGF.js';
|
|
2
2
|
import '../chunk-U3LHWQQK.js';
|
|
3
3
|
import '../chunk-7U4V36SB.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-BGPHGCDT.js';
|
|
5
|
+
import '../chunk-AIQHJ2HF.js';
|
|
6
6
|
import '../chunk-7F3OPUM5.js';
|
|
7
7
|
import '../chunk-QRE6JCHS.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-WGAEHKGW.js';
|
|
9
9
|
import '../chunk-PPUR46MK.js';
|
|
10
10
|
import '../chunk-M2M6ZD7P.js';
|
|
11
11
|
import '../chunk-XSPCITPN.js';
|
|
@@ -3,7 +3,7 @@ import { useClipboard } from './chunk-STJ7QBC3.js';
|
|
|
3
3
|
import { pathBreaks } from './chunk-HZXS5CEL.js';
|
|
4
4
|
import { IconButton } from './chunk-X5YI6E5X.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
|
-
import './Copyable-
|
|
6
|
+
import './Copyable-U3UJL3BP.css';
|
|
7
7
|
import { useCallback } from 'react';
|
|
8
8
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
9
9
|
|
|
@@ -9,7 +9,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
9
9
|
var engine = null;
|
|
10
10
|
var loading = null;
|
|
11
11
|
function loadEngine() {
|
|
12
|
-
loading ??= import('./Editor-
|
|
12
|
+
loading ??= import('./Editor-HDHT5BX2.js').then(
|
|
13
13
|
(module) => {
|
|
14
14
|
engine = module.Editor;
|
|
15
15
|
return engine;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useReorder } from './chunk-JMBPMSNI.js';
|
|
2
|
-
import { Menu } from './chunk-
|
|
2
|
+
import { Menu } from './chunk-WGAEHKGW.js';
|
|
3
3
|
import { Input } from './chunk-NN44J7BP.js';
|
|
4
4
|
import { IconButton } from './chunk-X5YI6E5X.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { diffLines, diffStat, collapseDiff, DiffSummary, DiffView } from './chunk-U3LHWQQK.js';
|
|
2
|
-
import { SegmentedControl } from './chunk-
|
|
2
|
+
import { SegmentedControl } from './chunk-BGPHGCDT.js';
|
|
3
3
|
import { EmptyState } from './chunk-PPUR46MK.js';
|
|
4
4
|
import { useHeadingLevel, headingTag, nextHeadingLevel, HeadingLevelProvider } from './chunk-PQADV6P6.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useRoving, tabStop, revealInRow } from './chunk-7F3OPUM5.js';
|
|
2
2
|
import { StatusDot } from './chunk-QRE6JCHS.js';
|
|
3
|
-
import { Menu } from './chunk-
|
|
3
|
+
import { Menu } from './chunk-WGAEHKGW.js';
|
|
4
4
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
5
5
|
import { Count } from './chunk-Y5CMDLQM.js';
|
|
6
6
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { releaseFocus, usePresence } from './chunk-SNKQNAJI.js';
|
|
2
2
|
import { useRailShape, RailShapeContext, RailLeavingContext } from './chunk-JLOESTT2.js';
|
|
3
|
-
import { Menu } from './chunk-
|
|
3
|
+
import { Menu } from './chunk-WGAEHKGW.js';
|
|
4
4
|
import { PeekContext, AsideContext } from './chunk-MBEZOURR.js';
|
|
5
5
|
import { ResizeHandle, clampSize } from './chunk-FQ6J4DK7.js';
|
|
6
6
|
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
@@ -13,7 +13,7 @@ import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
|
13
13
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
14
14
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
15
15
|
import './HitArea-QUOS6ZDJ.css';
|
|
16
|
-
import './AppShell-
|
|
16
|
+
import './AppShell-RPILZZW5.css';
|
|
17
17
|
import './ResizeHandle-W6GA5OO6.css';
|
|
18
18
|
import { createContext, forwardRef, useContext, useSyncExternalStore, useCallback, useId, useState, useRef, useEffect, useLayoutEffect } from 'react';
|
|
19
19
|
import { breakpoint } from '@crewlethq/tokens';
|
|
@@ -393,10 +393,8 @@ function AppShell({
|
|
|
393
393
|
...style,
|
|
394
394
|
["--crewlet-app-shell-gutter"]: `${gutter}px`,
|
|
395
395
|
...drawerZ === null ? null : { ["--crewlet-app-shell-drawer-z"]: String(drawerZ) },
|
|
396
|
-
//
|
|
397
|
-
// read it
|
|
398
|
-
// is declared here, and the overlay that sizes itself is a
|
|
399
|
-
// descendant. A custom property inherits downward only.
|
|
396
|
+
// On the root, since both the grid track here and the overlay
|
|
397
|
+
// below read it, and a custom property inherits downward only.
|
|
400
398
|
...hasAside ? {
|
|
401
399
|
["--crewlet-app-shell-aside"]: `${asideWidth}px`,
|
|
402
400
|
...asideReserve === void 0 ? null : { ["--crewlet-app-shell-aside-reserve"]: `${asideReserve}px` }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Modal } from './chunk-VSD3536L.js';
|
|
2
2
|
import { Callout } from './chunk-RCQLXOGS.js';
|
|
3
|
-
import { SegmentedControl } from './chunk-
|
|
3
|
+
import { SegmentedControl } from './chunk-BGPHGCDT.js';
|
|
4
4
|
import { FormField, Input } from './chunk-NN44J7BP.js';
|
|
5
5
|
import { Button } from './chunk-M2M6ZD7P.js';
|
|
6
6
|
import { useState } from 'react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { KeyChip } from './chunk-HBDA76EZ.js';
|
|
2
2
|
import { Text } from './chunk-475DOAWF.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
|
-
import './Breadcrumb-
|
|
4
|
+
import './Breadcrumb-JDBQXPR5.css';
|
|
5
5
|
import { useRef, useState, useLayoutEffect } from 'react';
|
|
6
6
|
import { ChevronRightGlyph } from '@crewlethq/icons/glyphs';
|
|
7
7
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Select } from './chunk-6ZFQ6TAM.js';
|
|
2
2
|
import { SHEET_LABELS, SHEET_COLUMN_TYPES, optionHue, retypeColumn } from './chunk-LFSIKGRQ.js';
|
|
3
|
-
import { HueSwatch } from './chunk-
|
|
3
|
+
import { HueSwatch } from './chunk-FIH5EMJF.js';
|
|
4
4
|
import { NODE_HUES, NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
|
|
5
5
|
import { Checkbox } from './chunk-KFTVPWG2.js';
|
|
6
|
-
import { Menu } from './chunk-
|
|
6
|
+
import { Menu } from './chunk-WGAEHKGW.js';
|
|
7
7
|
import { FormField, Input } from './chunk-NN44J7BP.js';
|
|
8
8
|
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
9
9
|
import { Button } from './chunk-M2M6ZD7P.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SegmentedControl } from './chunk-
|
|
1
|
+
import { SegmentedControl } from './chunk-BGPHGCDT.js';
|
|
2
2
|
import { ArtifactIcon } from './chunk-AVL52EME.js';
|
|
3
|
-
import { Menu } from './chunk-
|
|
3
|
+
import { Menu } from './chunk-WGAEHKGW.js';
|
|
4
4
|
import { isApplePlatform, Kbd, ariaKeyshortcuts } from './chunk-VBBLHS2Y.js';
|
|
5
5
|
import { Button } from './chunk-M2M6ZD7P.js';
|
|
6
6
|
import { IconButton } from './chunk-X5YI6E5X.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Toolbar } from './chunk-NPEI2QAN.js';
|
|
2
|
-
import { ShortcutTip } from './chunk-
|
|
2
|
+
import { ShortcutTip } from './chunk-YADYQHHW.js';
|
|
3
3
|
import { IconButton } from './chunk-X5YI6E5X.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './CanvasToolbar-EM5EVZED.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BrandScope } from './chunk-X7WEE3EK.js';
|
|
2
2
|
import { normalizeHex } from './chunk-7W3LYIOC.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
|
-
import './BrandSample-
|
|
4
|
+
import './BrandSample-WSBT7FQ5.css';
|
|
5
5
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
6
6
|
|
|
7
7
|
var LABELS = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Note } from './chunk-YJPQJVRJ.js';
|
|
2
|
-
import { CanvasToolbar, toolForKey } from './chunk-
|
|
3
|
-
import { IDENTITY_VIEW, Canvas } from './chunk-
|
|
2
|
+
import { CanvasToolbar, toolForKey } from './chunk-FEJVDORA.js';
|
|
3
|
+
import { IDENTITY_VIEW, Canvas } from './chunk-YADYQHHW.js';
|
|
4
4
|
import { IconButton } from './chunk-X5YI6E5X.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './CanvasBoard-U6LR5F6H.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useMeasuredSizes, isTypeAheadKey, typeAheadBuffer } from './chunk-MY374UUD.js';
|
|
2
2
|
import { FullscreenToggle } from './chunk-3JLG6KRU.js';
|
|
3
3
|
import { FilterChip } from './chunk-L6HUVA33.js';
|
|
4
|
-
import { CANVAS_FIT_PADDING, Canvas } from './chunk-
|
|
4
|
+
import { CANVAS_FIT_PADDING, Canvas } from './chunk-YADYQHHW.js';
|
|
5
5
|
import { Text } from './chunk-475DOAWF.js';
|
|
6
6
|
import { LayerHost } from './chunk-FIX72ZEC.js';
|
|
7
7
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|