@crewlethq/ui 0.128.2 → 0.129.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.
Files changed (38) hide show
  1. package/README.md +14 -0
  2. package/dist/ArtifactCard/index.js +2 -2
  3. package/dist/Canvas/Canvas.d.ts +30 -3
  4. package/dist/Canvas/geometry.d.ts +17 -3
  5. package/dist/Canvas/index.js +1 -1
  6. package/dist/CanvasBoard/index.js +3 -3
  7. package/dist/CanvasToolbar/index.js +2 -2
  8. package/dist/GraphCanvas/GraphCanvas.d.ts +11 -5
  9. package/dist/GraphCanvas/index.d.ts +1 -1
  10. package/dist/GraphCanvas/index.js +2 -2
  11. package/dist/GraphCanvas/layout.d.ts +35 -1
  12. package/dist/Link/Link.d.ts +5 -0
  13. package/dist/Link/index.js +1 -1
  14. package/dist/{Link-Z23PLCVS.css → Link-Y7RHTR6F.css} +14 -1
  15. package/dist/ObjectHeader/index.js +2 -2
  16. package/dist/PropertyList/index.js +3 -3
  17. package/dist/RailList/index.js +2 -2
  18. package/dist/RichEditor/index.js +1 -1
  19. package/dist/TableCells/index.js +2 -2
  20. package/dist/TreeCanvas/TreeCanvas.d.ts +25 -2
  21. package/dist/TreeCanvas/index.js +2 -2
  22. package/dist/{chunk-R4LHYCZN.js → chunk-2AKVGQ73.js} +100 -6
  23. package/dist/{chunk-GVDV4X43.js → chunk-AKCIF6XN.js} +1 -1
  24. package/dist/{chunk-DQKNAQWN.js → chunk-D2KJ5GQC.js} +2 -2
  25. package/dist/{chunk-I2JRUQJ4.js → chunk-JKFA2F7J.js} +1 -1
  26. package/dist/{chunk-Q6QKY7EZ.js → chunk-KQFOPY2P.js} +1 -1
  27. package/dist/{chunk-ICRFVQH5.js → chunk-KUECTV2P.js} +1 -1
  28. package/dist/{chunk-CVNJ6VHK.js → chunk-MNVIIZQP.js} +38 -12
  29. package/dist/{chunk-556M2A4S.js → chunk-Q4JX6UO7.js} +27 -11
  30. package/dist/{chunk-7VBZDGOS.js → chunk-QM2QFKIA.js} +2 -2
  31. package/dist/{chunk-JZI7SIM6.js → chunk-RMGPZQVJ.js} +1 -1
  32. package/dist/generated/index.js +30 -30
  33. package/dist/index.js +30 -30
  34. package/dist/styles.css +15 -2
  35. package/package.json +3 -3
  36. package/dist/{Editor-2TWJE7OR.js → Editor-MEPTWBY5.js} +1 -1
  37. package/dist/{chunk-DL6Y7SVB.js → chunk-32QLSXKL.js} +1 -1
  38. package/dist/{chunk-XZB53C7U.js → chunk-4FKHPUVR.js} +1 -1
@@ -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-2TWJE7OR.js').then(
12
+ loading ??= import('./Editor-MEPTWBY5.js').then(
13
13
  (module) => {
14
14
  engine = module.Editor;
15
15
  return engine;
@@ -1,4 +1,4 @@
1
- import { Link } from './chunk-JZI7SIM6.js';
1
+ import { Link } from './chunk-RMGPZQVJ.js';
2
2
  import { Text } from './chunk-475DOAWF.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import './ObjectHeader-3YYG2BAF.css';
@@ -102,12 +102,15 @@ function fitView(content, viewport, padding = CANVAS_FIT_PADDING, floor = CANVAS
102
102
  const y = drawnHeight <= roomY ? (viewport.height - drawnHeight) / 2 - content.y * k : padding - content.y * k;
103
103
  return { x, y, k };
104
104
  }
105
- function revealView(view, target, viewport, padding = CANVAS_REVEAL_PADDING) {
105
+ function revealView(view, target, viewport, padding = CANVAS_REVEAL_PADDING, outside = "edge") {
106
106
  const drawn = screenRect(view, target);
107
+ const off = (start, length, room) => start + length <= 0 || start >= room;
108
+ const centre = outside === "centre" && (off(drawn.x, drawn.width, viewport.width) || off(drawn.y, drawn.height, viewport.height));
107
109
  const axis = (offset, start, length, room) => {
108
110
  const low = padding;
109
111
  const high = room - padding;
110
112
  if (length > high - low) return offset + (low - start);
113
+ if (centre) return offset + (room / 2 - (start + length / 2));
111
114
  if (start < low) return offset + (low - start);
112
115
  if (start + length > high) return offset - (start + length - high);
113
116
  return offset;
@@ -161,6 +164,8 @@ function regionView(region, viewport, limits = CANVAS_ZOOM_LIMITS, context = CAN
161
164
  var LABELS = {
162
165
  zoomIn: "Zoom in",
163
166
  zoomOut: "Zoom out",
167
+ zoomOutHeld: "All of it is in view",
168
+ zoomInHeld: "Zoomed in as far as it goes",
164
169
  fit: "Fit to view",
165
170
  actualSize: "Zoom to 100%",
166
171
  zoom: (percent) => `Zoom is ${percent} percent. Set a zoom level`,
@@ -223,6 +228,8 @@ function Canvas({
223
228
  const limits = zoomLimits(content, room, largestItemWidth, CANVAS_FIT_PADDING, minZoom);
224
229
  const limitsNow = useRef(limits);
225
230
  limitsNow.current = limits;
231
+ const atFloor = view.k <= limits.min * (1 + 1e-9);
232
+ const atCeiling = view.k >= limits.max * (1 - 1e-9);
226
233
  const floorNow = useRef(minZoom);
227
234
  floorNow.current = minZoom;
228
235
  const fitOf = useCallback((bounds, viewportSize = sizeNow.current) => {
@@ -307,9 +314,8 @@ function Canvas({
307
314
  if (!ready) return;
308
315
  const resized = sizeSeen.current.width !== size.width || sizeSeen.current.height !== size.height;
309
316
  sizeSeen.current = size;
310
- const was = fitted.current;
311
317
  const now = viewNow.current;
312
- const untouched = was !== null && was.x === now.x && was.y === now.y && was.k === now.k;
318
+ const untouched = sameView(fitted.current, now);
313
319
  if (refitOnResize && resized && untouched && content) {
314
320
  apply(fitOf(content), false);
315
321
  fitted.current = viewNow.current;
@@ -351,28 +357,43 @@ function Canvas({
351
357
  const factor = scale / viewNow.current.k;
352
358
  apply(zoomAt(viewNow.current, factor, { x: width / 2, y: height / 2 }, limitsNow.current), "near");
353
359
  },
354
- reveal: (target) => {
355
- const next = revealView(viewNow.current, target, sizeNow.current);
356
- if (next.x !== viewNow.current.x || next.y !== viewNow.current.y) apply(next, "near");
360
+ reveal: (target, outside = "edge") => {
361
+ const { top, bottom } = bandNow.current;
362
+ const room2 = { width: sizeNow.current.width, height: Math.max(0, sizeNow.current.height - top - bottom) };
363
+ const now = viewNow.current;
364
+ const inRoom = (how) => {
365
+ const next2 = revealView({ ...now, y: now.y - top }, target, room2, CANVAS_REVEAL_PADDING, how);
366
+ return { ...next2, y: next2.y + top };
367
+ };
368
+ const least = inRoom("edge");
369
+ const next = outside === "edge" ? least : inRoom(outside);
370
+ if (next.x === now.x && next.y === now.y) return;
371
+ apply(next, next.x === least.x && next.y === least.y ? "near" : "travel");
357
372
  },
358
373
  anchor: (before, after) => apply(anchorView(viewNow.current, before, after), false),
359
374
  rememberView: () => {
360
- left.current ??= viewNow.current;
375
+ left.current ??= { view: viewNow.current, fit: sameView(fitted.current, viewNow.current) };
361
376
  },
362
377
  focusRegion: (target, context, ceiling) => {
363
- left.current ??= viewNow.current;
378
+ left.current ??= { view: viewNow.current, fit: sameView(fitted.current, viewNow.current) };
364
379
  apply(regionView(target, sizeNow.current, limitsNow.current, context, ceiling), "travel");
365
380
  },
366
381
  restoreView: () => {
367
382
  const was = left.current;
368
383
  if (!was) return;
369
384
  left.current = null;
370
- apply(was, "travel");
385
+ const bounds = contentNow.current;
386
+ if (was.fit && bounds) {
387
+ apply(fitOf(bounds), "travel");
388
+ fitted.current = viewNow.current;
389
+ return;
390
+ }
391
+ apply(was.view, "travel");
371
392
  },
372
393
  screenRect: (target) => screenRect(viewNow.current, target),
373
394
  worldAt: (client) => toWorld(viewNow.current, local({ clientX: client.x, clientY: client.y }))
374
395
  }),
375
- [apply, fitNow, local]
396
+ [apply, fitNow, fitOf, local]
376
397
  );
377
398
  useEffect(() => {
378
399
  const el = viewport.current;
@@ -616,7 +637,8 @@ function Canvas({
616
637
  title: "",
617
638
  icon: /* @__PURE__ */ jsx(ZoomOutGlyph, {}),
618
639
  onClick: () => centreZoom(1 / CANVAS_ZOOM_STEP),
619
- disabled: !ready
640
+ disabled: !ready,
641
+ disabledReason: ready && atFloor ? text.zoomOutHeld : void 0
620
642
  }
621
643
  ) }),
622
644
  /* @__PURE__ */ jsx(
@@ -637,7 +659,8 @@ function Canvas({
637
659
  title: "",
638
660
  icon: /* @__PURE__ */ jsx(ZoomInGlyph, {}),
639
661
  onClick: () => centreZoom(CANVAS_ZOOM_STEP),
640
- disabled: !ready
662
+ disabled: !ready,
663
+ disabledReason: ready && atCeiling ? text.zoomInHeld : void 0
641
664
  }
642
665
  ) }),
643
666
  controlsActualSize && /* @__PURE__ */ jsx(ShortcutTip, { label: text.actualSize, keys: ["Shift", "0"], children: /* @__PURE__ */ jsx(
@@ -673,6 +696,9 @@ function Canvas({
673
696
  }
674
697
  );
675
698
  }
699
+ function sameView(fit, view) {
700
+ return fit !== null && fit.x === view.x && fit.y === view.y && fit.k === view.k;
701
+ }
676
702
  function gridOf(view) {
677
703
  const k = view.k > 0 && Number.isFinite(view.k) ? view.k : 1;
678
704
  return { scale: k * 2 ** -Math.floor(Math.log2(k)), x: view.x, y: view.y };
@@ -1,5 +1,5 @@
1
1
  import { useTreeState, useMeasuredSizes, layoutForest, treeAncestors, useLayoutAnchor, treeExpandable, layoutConnectors, treeItemAction, treeStep, treePosInSet, treeSetSize, treeLevel, placeGroups } from './chunk-MY374UUD.js';
2
- import { CANVAS_COMPOSE_CONTEXT, CANVAS_FIT_MAX_ZOOM, Canvas } from './chunk-CVNJ6VHK.js';
2
+ import { CANVAS_COMPOSE_CONTEXT, CANVAS_FIT_MAX_ZOOM, Canvas } from './chunk-MNVIIZQP.js';
3
3
  import { useMediaMatch, REDUCED_MOTION_QUERY } from './chunk-COS6LJ4K.js';
4
4
  import { focusables } from './chunk-EDPMHSLZ.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
@@ -146,6 +146,8 @@ function TreeCanvas({
146
146
  const composeParent = composing?.parent ?? null;
147
147
  const eased = useRef(null);
148
148
  const returnTo = useRef(null);
149
+ const remembered = useRef(false);
150
+ const restoring = useRef(false);
149
151
  const takeFocus = useRef(false);
150
152
  const composeEl = useRef(null);
151
153
  const { measure, sizes, measured } = useMeasuredSizes();
@@ -239,6 +241,19 @@ function TreeCanvas({
239
241
  useLayoutEffect(() => {
240
242
  shownPositions.current = positions;
241
243
  }, [positions]);
244
+ useLayoutEffect(() => {
245
+ if (composeId !== null) {
246
+ restoring.current = false;
247
+ return;
248
+ }
249
+ if (remembered.current) {
250
+ remembered.current = false;
251
+ restoring.current = true;
252
+ }
253
+ if (!restoring.current || !placed || !layout) return;
254
+ restoring.current = false;
255
+ canvas.current?.restoreView();
256
+ }, [composeId, placed, layout]);
242
257
  const fittedFor = useRef(fitKey);
243
258
  const placedOnce = useRef(false);
244
259
  useLayoutEffect(() => {
@@ -267,10 +282,10 @@ function TreeCanvas({
267
282
  };
268
283
  const pendingFocus = useRef(null);
269
284
  const focusNow = useCallback(
270
- (id) => {
285
+ (id, outside) => {
271
286
  const el = items.current.get(id);
272
287
  const placed2 = layout?.byId.get(cardOf(id));
273
- if (!el || !el.isConnected || !placed2) return false;
288
+ if (!el || !el.isConnected || !placed2 || !drawn?.byId.has(cardOf(id))) return false;
274
289
  el.focus({ preventScroll: true });
275
290
  const card2 = el.closest(".crewlet-tree-canvas__card");
276
291
  const top = card2 ? offsetWithin(el, card2) : 0;
@@ -280,23 +295,23 @@ function TreeCanvas({
280
295
  width: placed2.width,
281
296
  height: el.offsetHeight > 0 && top > 0 ? el.offsetHeight : placed2.height
282
297
  };
283
- canvas.current?.reveal(rect);
298
+ canvas.current?.reveal(rect, outside);
284
299
  return true;
285
300
  },
286
- [layout, cardOf]
301
+ [layout, drawn, cardOf]
287
302
  );
288
303
  const focusNode = useCallback(
289
- (id) => {
304
+ (id, outside = "edge") => {
290
305
  if (!model.parent.has(id)) return;
291
306
  const opened = tree.open(id);
292
307
  setActive(id);
293
- if (opened || !focusNow(id)) pendingFocus.current = id;
308
+ if (opened || restoring.current || !focusNow(id, outside)) pendingFocus.current = { id, outside };
294
309
  },
295
310
  [model, tree, setActive, focusNow]
296
311
  );
297
312
  useLayoutEffect(() => {
298
- const id = pendingFocus.current;
299
- if (id !== null && focusNow(id)) pendingFocus.current = null;
313
+ const want = pendingFocus.current;
314
+ if (want !== null && !restoring.current && focusNow(want.id, want.outside)) pendingFocus.current = null;
300
315
  });
301
316
  const focusRef = useRef(focusNode);
302
317
  focusRef.current = focusNode;
@@ -308,7 +323,8 @@ function TreeCanvas({
308
323
  useImperativeHandle(
309
324
  ref,
310
325
  () => ({
311
- focusNode: (id) => focusRef.current(id),
326
+ // A CALLER SENDS THE READER SOMEWHERE: see [TreeCanvasHandle.focusNode].
327
+ focusNode: (id) => focusRef.current(id, "centre"),
312
328
  expandAll,
313
329
  collapseAll,
314
330
  focusRegion: (id) => {
@@ -339,6 +355,7 @@ function TreeCanvas({
339
355
  const was = eased.current;
340
356
  if (composeId !== null) {
341
357
  canvas.current?.rememberView();
358
+ remembered.current = true;
342
359
  takeFocus.current = takeFocus.current || eased.current !== composeId;
343
360
  const box = placedCards?.get(composeId);
344
361
  if (!box || was === composeId) return;
@@ -352,7 +369,6 @@ function TreeCanvas({
352
369
  const back = returnTo.current;
353
370
  eased.current = null;
354
371
  returnTo.current = null;
355
- canvas.current?.restoreView();
356
372
  if (back !== null) {
357
373
  setActive(back);
358
374
  items.current.get(back)?.focus({ preventScroll: true });
@@ -1,6 +1,6 @@
1
1
  import { Note } from './chunk-YJPQJVRJ.js';
2
- import { CanvasToolbar, toolForKey } from './chunk-GVDV4X43.js';
3
- import { IDENTITY_VIEW, Canvas } from './chunk-CVNJ6VHK.js';
2
+ import { CanvasToolbar, toolForKey } from './chunk-AKCIF6XN.js';
3
+ import { IDENTITY_VIEW, Canvas } from './chunk-MNVIIZQP.js';
4
4
  import { IconButton } from './chunk-X5YI6E5X.js';
5
5
  import { cx } from './chunk-ODEQTPFM.js';
6
6
  import './CanvasBoard-U6LR5F6H.css';
@@ -1,6 +1,6 @@
1
1
  import { VisuallyHidden } from './chunk-RRRK2KB6.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
- import './Link-Z23PLCVS.css';
3
+ import './Link-Y7RHTR6F.css';
4
4
  import { forwardRef, Children, isValidElement, cloneElement } from 'react';
5
5
  import { ExternalLinkGlyph } from '@crewlethq/icons/glyphs';
6
6
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
@@ -1,55 +1,55 @@
1
1
  import '../chunk-2KUAO2CX.js';
2
+ export { SLIDE_COMPARE_LABELS, SlideCompare } from '../chunk-FSCJV5M5.js';
2
3
  export { ElementToPngError, elementToPng, parseCsv, peelPunctuation, serializeElement, toCsv } from '../chunk-BALBOOKX.js';
3
4
  export { TypeSpecimen } from '../chunk-JKAFEFFC.js';
4
5
  export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from '../chunk-3DAIOPAV.js';
5
6
  export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from '../chunk-QDXSBVZR.js';
6
7
  export { VersionTimeline } from '../chunk-RM5RKPFV.js';
7
8
  export { WidgetFrame } from '../chunk-5ZTH54O6.js';
8
- export { TileGrid } from '../chunk-UFID3DSP.js';
9
9
  export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from '../chunk-3P24SMTI.js';
10
10
  export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from '../chunk-GQPKDPMS.js';
11
11
  export { ToastProvider, Toaster, readingDuration, toasterInsetStyle, useToast } from '../chunk-B6AQY6FH.js';
12
- export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from '../chunk-556M2A4S.js';
13
- export { TagsInput } from '../chunk-A5VNNA3V.js';
12
+ export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from '../chunk-Q4JX6UO7.js';
14
13
  export { ThemeGallery } from '../chunk-35ALKQC5.js';
15
- export { ThemeSwatch } from '../chunk-3XQUEF5C.js';
16
14
  export { DensitySwitcher, ThemeSwitcher } from '../chunk-AIYSPVVZ.js';
15
+ export { ThemeSwatch } from '../chunk-3XQUEF5C.js';
17
16
  export { ThemeToggle } from '../chunk-5RXY2RL4.js';
18
17
  export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from '../chunk-Z24ZUSTX.js';
19
18
  export { ThinkingIndicator } from '../chunk-DX7ZHO47.js';
19
+ export { TileGrid } from '../chunk-UFID3DSP.js';
20
20
  export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from '../chunk-U4HA6LRQ.js';
21
21
  export { Switcher } from '../chunk-GPEXCG5K.js';
22
- export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from '../chunk-I2JRUQJ4.js';
23
- export { StatCard } from '../chunk-2YADDY4A.js';
22
+ export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from '../chunk-JKFA2F7J.js';
23
+ export { TagsInput } from '../chunk-A5VNNA3V.js';
24
24
  export { StatGroup } from '../chunk-OUD75UB2.js';
25
25
  export { Statement } from '../chunk-MZJKPTA5.js';
26
26
  export { StatusLegend } from '../chunk-CXFMNOPV.js';
27
27
  export { StatusLine } from '../chunk-435WY2WT.js';
28
+ import '../chunk-ZZMXJTII.js';
28
29
  export { SlideFilmstrip } from '../chunk-7FSIBX4S.js';
29
- export { SLIDE_COMPARE_LABELS, SlideCompare } from '../chunk-FSCJV5M5.js';
30
- export { SOURCE_EDITOR_KEYS, SourceEditor, lineStart } from '../chunk-S656HY4W.js';
31
30
  export { SlideGrid } from '../chunk-73L3774J.js';
31
+ export { SOURCE_EDITOR_KEYS, SourceEditor, lineStart } from '../chunk-S656HY4W.js';
32
+ export { StatCard } from '../chunk-2YADDY4A.js';
32
33
  export { SetupWizard } from '../chunk-2DZV4PHK.js';
33
- export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from '../chunk-MNACKUBB.js';
34
34
  export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from '../chunk-WZ5TDJ2K.js';
35
+ export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from '../chunk-MNACKUBB.js';
35
36
  export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from '../chunk-E3AFQTWT.js';
36
37
  export { TagGroup } from '../chunk-FOUIZS7Q.js';
37
38
  export { matchesShortcut, useShortcut } from '../chunk-K6PKXCR2.js';
38
- import '../chunk-ZZMXJTII.js';
39
+ export { SectionFrame, SectionFrameBody, SectionFrameNav } from '../chunk-EFY7R766.js';
39
40
  export { SegmentedMeter, segmentedMeterLabel } from '../chunk-4AK52VHB.js';
40
41
  export { SelectionBar } from '../chunk-XIKU44QE.js';
41
42
  export { SEND_BUTTON_LABELS, SendButton } from '../chunk-PNSUXNNY.js';
42
43
  export { SettingsTable, SettingsTableRow } from '../chunk-FRXOUBN2.js';
43
44
  export { ReviewList } from '../chunk-7XYU5PSQ.js';
45
+ export { RichEditor, preloadRichEditor } from '../chunk-KQFOPY2P.js';
46
+ export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
44
47
  export { canonicalMarkdown, roundTripMarkdown } from '../chunk-GBASM5EV.js';
45
48
  import '../chunk-7CSTEH5I.js';
46
- export { RichEditor, preloadRichEditor } from '../chunk-Q6QKY7EZ.js';
47
- export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
48
49
  export { RoomRow } from '../chunk-45OOFAL6.js';
49
50
  export { RUN_STATES, RunChip } from '../chunk-L6SYLG3F.js';
50
51
  export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from '../chunk-4EKHHHOQ.js';
51
52
  export { SearchTrigger } from '../chunk-K5WTII2H.js';
52
- export { SectionFrame, SectionFrameBody, SectionFrameNav } from '../chunk-EFY7R766.js';
53
53
  export { READING_PANE_ENTER, ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from '../chunk-XZ47PWVD.js';
54
54
  export { RecordChip, RecordChipList } from '../chunk-GMQ54OQF.js';
55
55
  export { REFUSAL_CARD_LABELS, RefusalCard } from '../chunk-XKHW7ZHP.js';
@@ -57,13 +57,13 @@ export { RelatedRow } from '../chunk-XX7UCYDH.js';
57
57
  export { RESULT_TABLE_CARD_LABELS, RESULT_TABLE_COLLAPSED_ROWS, RESULT_TABLE_MAX_ROWS, ResultTableCard } from '../chunk-GCE475FL.js';
58
58
  export { Table } from '../chunk-YGN4SBNP.js';
59
59
  export { PrincipalPicker } from '../chunk-NSUMHNUS.js';
60
- export { PropertyList } from '../chunk-DQKNAQWN.js';
60
+ export { PropertyList } from '../chunk-D2KJ5GQC.js';
61
61
  export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from '../chunk-JDWMDK5A.js';
62
62
  export { Prose } from '../chunk-DVVP27OD.js';
63
63
  export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } from '../chunk-Y56FM3K4.js';
64
- export { RAIL_LIST_LABELS, RailList } from '../chunk-DL6Y7SVB.js';
65
- export { Select } from '../chunk-6ZFQ6TAM.js';
64
+ export { RAIL_LIST_LABELS, RailList } from '../chunk-32QLSXKL.js';
66
65
  export { NavDivider, NavGroup, NavItem, SidebarNav } from '../chunk-SM2MM4DQ.js';
66
+ export { Select } from '../chunk-6ZFQ6TAM.js';
67
67
  export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from '../chunk-LZCGLS7U.js';
68
68
  export { PinTile } from '../chunk-7XRAYILF.js';
69
69
  export { PresenceStack } from '../chunk-MTIW75QU.js';
@@ -81,7 +81,7 @@ export { PEOPLE_RAIL_LABELS, PeopleRail, peopleRailKey } from '../chunk-6NXY7OEH
81
81
  import '../chunk-CENOOTAV.js';
82
82
  export { MessageBubble } from '../chunk-KAQ2L74F.js';
83
83
  export { NewItemsNotice } from '../chunk-NCQC5Y4E.js';
84
- export { FactLine, ObjectHeader, SET_BY_VERBS, SetByLine } from '../chunk-ICRFVQH5.js';
84
+ export { FactLine, ObjectHeader, SET_BY_VERBS, SetByLine } from '../chunk-KUECTV2P.js';
85
85
  export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from '../chunk-K6OZBRR4.js';
86
86
  export { OrgLabel } from '../chunk-SYMLWDV6.js';
87
87
  export { MARKDOWN_FORMATS, MARKDOWN_TEXT_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from '../chunk-NMBGVHGQ.js';
@@ -94,12 +94,12 @@ export { ActionDivider, MessageAction, MessageActions, QuickReaction } from '../
94
94
  export { ListDetail, ListDetailBack } from '../chunk-DNBIBLT2.js';
95
95
  export { ListInput, withDraft } from '../chunk-Z64KEJ3N.js';
96
96
  export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from '../chunk-DPNVKWJX.js';
97
- export { LIVE_PREVIEW_DWELL_MS, LIVE_PREVIEW_MARGIN, LIVE_PREVIEW_MAX, LIVE_PREVIEW_MAX_FRAMES, LIVE_PREVIEW_RENDER_MS, LIVE_PREVIEW_STILLS_KEPT, LivePreview, LivePreviewBudgetProvider, PREVIEW_FILL_MAX_CUT, PreviewScale, createLivePreviewBudget, createLivePreviewStills, immediately, perFrame, useLivePreview } from '../chunk-CQFQGAZI.js';
98
97
  export { LogoSlot, LogoSlotGroup } from '../chunk-4Q7AWZ6O.js';
98
+ export { LIVE_PREVIEW_DWELL_MS, LIVE_PREVIEW_MARGIN, LIVE_PREVIEW_MAX, LIVE_PREVIEW_MAX_FRAMES, LIVE_PREVIEW_RENDER_MS, LIVE_PREVIEW_STILLS_KEPT, LivePreview, LivePreviewBudgetProvider, PREVIEW_FILL_MAX_CUT, PreviewScale, createLivePreviewBudget, createLivePreviewStills, immediately, perFrame, useLivePreview } from '../chunk-CQFQGAZI.js';
99
99
  export { KeyValueRows, keyValueRowsLabels } from '../chunk-Q7WKCU2U.js';
100
100
  export { LAYERS_LIST_LABELS, LayersList } from '../chunk-TEOUMHAI.js';
101
101
  export { AutoGrid, Inline, Spacer, Stack } from '../chunk-ZAC7SKUN.js';
102
- export { Link } from '../chunk-JZI7SIM6.js';
102
+ export { Link } from '../chunk-RMGPZQVJ.js';
103
103
  export { LinkCard } from '../chunk-346EXHOR.js';
104
104
  import '../chunk-KOJPDCGQ.js';
105
105
  export { LinkInterstitial, openExternal } from '../chunk-36XKE7MH.js';
@@ -109,19 +109,19 @@ export { IndicatorAnchor } from '../chunk-27MJPU7G.js';
109
109
  export { INLINE_EDITOR_LABELS, InlineEditor } from '../chunk-WMZ2MROV.js';
110
110
  export { InlineRef } from '../chunk-ACXYNJZR.js';
111
111
  export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdownClosesFence, markdownCodeText, markdownFenceOf, markdownHeadingOf, markdownInline, markdownLines, parseMarkdown, parseMarkdownSpans, safeHref } from '../chunk-KBZO4B33.js';
112
- export { GRAPH_CANVAS_DETAIL_ZOOM, GRAPH_CANVAS_FIT_FLOOR, GRAPH_CANVAS_FLOW_LIMIT, GRAPH_CANVAS_FOCUS_ZOOM, GRAPH_CANVAS_LABELS, GRAPH_CANVAS_NARROW_WIDTH, GRAPH_CANVAS_TILE_ZOOM, GRAPH_EDGE_FAMILIES, GRAPH_ORDER_SWEEPS, GraphCanvas, graphDetail, graphFocusView, graphItemKey, graphNeighbourhood, graphReach, graphStep, graphTrunks, graphWindow, layoutGraph, routeGraphEdges } from '../chunk-R4LHYCZN.js';
112
+ export { GRAPH_CANVAS_DETAIL_ZOOM, GRAPH_CANVAS_FIT_FLOOR, GRAPH_CANVAS_FLOW_LIMIT, GRAPH_CANVAS_FOCUS_ZOOM, GRAPH_CANVAS_LABELS, GRAPH_CANVAS_NARROW_WIDTH, GRAPH_CANVAS_TILE_ZOOM, GRAPH_EDGE_FAMILIES, GRAPH_ORDER_SWEEPS, GraphCanvas, graphDetail, graphFocusView, graphItemKey, graphNeighbourhood, graphReach, graphStep, graphTrunks, graphWindow, layoutGraph, placeTrunkLabels, routeGraphEdges } from '../chunk-2AKVGQ73.js';
113
113
  export { SIZE_EPSILON, TYPE_AHEAD_RESET_MS, createTreeModel, isTypeAheadKey, layoutConnectors, layoutForest, placeGroups, treeAllExpandable, treeAncestors, treeCollapseOrAscend, treeExpandOrDescend, treeExpandTo, treeExpandable, treeFirst, treeFirstChild, treeItemAction, treeLast, treeLevel, treeNext, treeParent, treePosInSet, treePrevious, treeSetSize, treeStep, treeTypeAhead, treeVisible, typeAheadBuffer, useLayoutAnchor, useMeasuredSizes, useTreeState } from '../chunk-MY374UUD.js';
114
114
  export { FULLSCREEN_TOGGLE_LABELS, FullscreenToggle, IDLE_AFTER_MS, useFullscreen, useIdle } from '../chunk-3JLG6KRU.js';
115
- import '../chunk-MICRGE3J.js';
116
115
  export { Highlight, highlightRanges, highlightTerms } from '../chunk-H6VKCIWV.js';
116
+ import '../chunk-MICRGE3J.js';
117
117
  import '../chunk-FFMCMSJB.js';
118
118
  export { ImageUpload } from '../chunk-K6Y6CDEZ.js';
119
119
  export { IconTile } from '../chunk-VRVNLJUA.js';
120
120
  export { FileDrop, FilePickButton, droppedFiles, pickedFiles } from '../chunk-XF5PDUDH.js';
121
121
  export { FileList } from '../chunk-FQBSYMEW.js';
122
122
  export { FILTER_CHIP_ATTRIBUTE, FilterChip, FilterChipGroup } from '../chunk-L6HUVA33.js';
123
- export { FolderTile, describeFolderContents, folderContentsParts } from '../chunk-XBWENJGX.js';
124
123
  export { FindingList } from '../chunk-J2GRBRGK.js';
124
+ export { FolderTile, describeFolderContents, folderContentsParts } from '../chunk-XBWENJGX.js';
125
125
  export { FollowBanner } from '../chunk-YKLYMQ6J.js';
126
126
  export { DEFAULT_FRAME_THEME, EXTERNAL_URL_MAX, FRAME_BRIDGE, FRAME_MESSAGE, FRAME_ORIGIN_MODES, FRAME_SANDBOX_TOKENS, applyFrameTheme, checkFrameSandbox, externalUrl, frameFragment, frameOriginMatches, frameThemeMessage, httpOrigin, isFocusExit, isFrameNonce, negotiateBridge, parseFrameFragment, portTargetOrigin, readFrameHello, readFramePortMessage, readFrameTheme, readOpenLink } from '../chunk-F6V2PTN6.js';
127
127
  export { DENSITY_PREFERENCES, PALETTE_ID, THEME_PREFERENCES, applyDensity, applyPalette, applyTheme, isDensityPreference, isPaletteId, isThemePreference } from '../chunk-ZXXDZJQN.js';
@@ -129,8 +129,8 @@ export { EMOJI_GROUPS, EMOJI_GROUP_GLYPHS, EMOJI_PICKER_COLUMNS, EMOJI_PICKER_LA
129
129
  export { EntityChip } from '../chunk-VDQGWPGQ.js';
130
130
  export { EntityList } from '../chunk-WC5UG64S.js';
131
131
  export { ErrorBoundary } from '../chunk-H45TEWVU.js';
132
- export { FactList } from '../chunk-OYV7BFRC.js';
133
132
  export { Eyebrow } from '../chunk-RK4XPHVG.js';
133
+ export { FactList } from '../chunk-OYV7BFRC.js';
134
134
  export { DirectoryList } from '../chunk-5KTLQ436.js';
135
135
  export { Divider } from '../chunk-6KWNXIDE.js';
136
136
  export { DOC_TABS_EDITOR_LABELS, DocTabsEditor } from '../chunk-3WSDAVE6.js';
@@ -188,14 +188,14 @@ import '../chunk-5QJNA7KD.js';
188
188
  export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from '../chunk-KTKPC3CV.js';
189
189
  export { CHAT_MESSAGE_CLASS, CHAT_MESSAGE_FAILURE_LABELS, ChatMessage, ChatMessageFailure } from '../chunk-Y3EV3Q2U.js';
190
190
  export { CheckGrid } from '../chunk-AYLFZW27.js';
191
- export { BOARD_NAME_MIN_CHARS, CANVAS_BOARD_MAX_LIVE, CANVAS_BOARD_MIN_LIVE_WIDTH, CANVAS_BOARD_MIN_ZOOM, CANVAS_NOTE_COLORS, CanvasBoard, TITLE_GLYPH_EM, boardName, boardRoom, liveBoards, titleSize } from '../chunk-7VBZDGOS.js';
191
+ export { BOARD_NAME_MIN_CHARS, CANVAS_BOARD_MAX_LIVE, CANVAS_BOARD_MIN_LIVE_WIDTH, CANVAS_BOARD_MIN_ZOOM, CANVAS_NOTE_COLORS, CanvasBoard, TITLE_GLYPH_EM, boardName, boardRoom, liveBoards, titleSize } from '../chunk-QM2QFKIA.js';
192
192
  export { Note } from '../chunk-YJPQJVRJ.js';
193
- export { CanvasToolbar, toolForKey } from '../chunk-GVDV4X43.js';
193
+ export { CanvasSchematic } from '../chunk-NBWNLYWZ.js';
194
+ export { CanvasToolbar, toolForKey } from '../chunk-AKCIF6XN.js';
194
195
  export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from '../chunk-NPEI2QAN.js';
195
196
  export { CatalogTile } from '../chunk-JKEGFDBG.js';
196
197
  export { CHANGE_LIST_COLLAPSE_OVER, CHANGE_LIST_LABELS, ChangeList, ChangeListItems, shortenUnchanged } from '../chunk-NB53SAL4.js';
197
198
  export { DIFF_LIST_LABELS, DiffList } from '../chunk-RGJB34YN.js';
198
- export { CanvasSchematic } from '../chunk-NBWNLYWZ.js';
199
199
  export { ChangeMark } from '../chunk-TYQJRTTK.js';
200
200
  export { LONGTEXT_MAX_DEFAULT, RATING_MAX_CEILING, RATING_MAX_DEFAULT, SHEET_COLUMN_BOUNDS, SHEET_COLUMN_TYPES, SHEET_COLUMN_WIDTHS, SHEET_FIT_SAMPLES, SHEET_LABELS, SHEET_ROW_HEIGHT, SHEET_ROW_NUMBER_WIDTH, SheetPendingEdits, TEXT_MAX_DEFAULT, URL_MAX, cellDescription, cellKey, cellSpeech, changeText, changeTime, checkValue, columnOffsets, columnWidth, compareValues, displayText, drawnColumns, editText, editorSide, findOption, findPerson, fitSamples, fittedWidth, flagText, hasPrevious, inRange, isEmptyValue, isMod, isMultiCell, isSheetColumnType, isTypingKey, liveOptions, moveFrom, nextSort, normalizeValue, optionHue, parseOptionList, parseTSV, parseText, planClear, planPaste, presenceByCell, presenceByColumn, presenceByRow, rangeOf, ratingMax, refusalText, retypeColumn, rowName, sameValue, scrollToRow, sheetLabels, sortRows, spokenText, statusTone, textMax, toTSV, visibleRows } from '../chunk-LFSIKGRQ.js';
201
201
  export { PRESENCE_ACTIVITIES, PRESENCE_HUES, PRESENCE_LABELS, assignPresenceHues, collapseSessions, joinNames, presenceLabels, presenceOrder } from '../chunk-Z7JYG5TF.js';
@@ -211,7 +211,7 @@ import '../chunk-6C7GQOBV.js';
211
211
  export { StatusCard } from '../chunk-X227R7IP.js';
212
212
  export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from '../chunk-EE3DJMSQ.js';
213
213
  export { Callout } from '../chunk-RCQLXOGS.js';
214
- export { CANVAS_COMPOSE_CONTEXT, CANVAS_FIT_MAX_ZOOM, CANVAS_FIT_PADDING, CANVAS_FOCUS_CONTEXT, CANVAS_MAX_ZOOM, CANVAS_MIN_ZOOM, CANVAS_PAN_MARGIN, CANVAS_PAN_STEP, CANVAS_REVEAL_PADDING, CANVAS_TAP_SLOP, CANVAS_WHEEL_LINE_PX, CANVAS_WHEEL_ZOOM_PER_PIXEL, CANVAS_ZOOM_CEILING, CANVAS_ZOOM_LIMITS, CANVAS_ZOOM_STEP, Canvas, IDENTITY_VIEW, ShortcutTip, anchorView, beyondSlop, clampPan, clampZoom, fitView, gridOf, panBy, pinchView, regionView, revealView, screenRect, toScreen, toWorld, wheelPixels, wheelZoomFactor, zoomAt, zoomLimits } from '../chunk-CVNJ6VHK.js';
214
+ export { CANVAS_COMPOSE_CONTEXT, CANVAS_FIT_MAX_ZOOM, CANVAS_FIT_PADDING, CANVAS_FOCUS_CONTEXT, CANVAS_MAX_ZOOM, CANVAS_MIN_ZOOM, CANVAS_PAN_MARGIN, CANVAS_PAN_STEP, CANVAS_REVEAL_PADDING, CANVAS_TAP_SLOP, CANVAS_WHEEL_LINE_PX, CANVAS_WHEEL_ZOOM_PER_PIXEL, CANVAS_ZOOM_CEILING, CANVAS_ZOOM_LIMITS, CANVAS_ZOOM_STEP, Canvas, IDENTITY_VIEW, ShortcutTip, anchorView, beyondSlop, clampPan, clampZoom, fitView, gridOf, panBy, pinchView, regionView, revealView, screenRect, toScreen, toWorld, wheelPixels, wheelZoomFactor, zoomAt, zoomLimits } from '../chunk-MNVIIZQP.js';
215
215
  import '../chunk-X4HBZSXA.js';
216
216
  export { ASIDE_LAYOUT_SPLIT_REM, AsideLayout } from '../chunk-7UQQEUOT.js';
217
217
  export { ATTACHMENT_CHIP_LABELS, AttachmentChip } from '../chunk-GZSEIFWB.js';
@@ -225,7 +225,7 @@ export { CHARACTER_PICKER_COLUMNS, CharacterPicker } from '../chunk-ZIL6MTMZ.js'
225
225
  export { NODE_HUES, NODE_HUE_NAMES, isNodeHue } from '../chunk-AYKXMIOR.js';
226
226
  export { BrandChip } from '../chunk-UH44L7OJ.js';
227
227
  export { BrandLockup } from '../chunk-KXWJJWBD.js';
228
- export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-XZB53C7U.js';
228
+ export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-4FKHPUVR.js';
229
229
  export { Skeleton } from '../chunk-WFAJYBLX.js';
230
230
  export { PRINCIPAL_KINDS, PrincipalAvatar } from '../chunk-HF5L56YQ.js';
231
231
  export { RelativeTime, currentNow, formatElapsed, formatExact, formatRelative, formatUntil, toISO, toInstant, useNow } from '../chunk-GBKBME7Q.js';
@@ -237,8 +237,8 @@ import '../chunk-WSIJDWUG.js';
237
237
  export { DashboardCover, DocCover, SHEET_COVER_COLUMNS, SHEET_COVER_ROWS, SheetCover } from '../chunk-MMV7NEAC.js';
238
238
  export { Document, DocumentTitle, DocumentTitleField } from '../chunk-I4PBFJGX.js';
239
239
  export { ArtifactKindGround, ArtifactKindIllustration, ArtifactKindTile } from '../chunk-W3A6NBUM.js';
240
- export { ArtifactMakeRow } from '../chunk-A3SQWUWG.js';
241
240
  export { ArtifactNameCell } from '../chunk-3SCASXQH.js';
241
+ export { ArtifactMakeRow } from '../chunk-A3SQWUWG.js';
242
242
  export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRailRow, AppShellRailStatus, AppShellToggle, AppShellTopbar, readStoredWidth, useAppShell, useScreenBelow, useScreenWidth, useStoredWidth } from '../chunk-V47JOO72.js';
243
243
  export { afterMotion, releaseFocus, runningMotion, usePresence } from '../chunk-SNKQNAJI.js';
244
244
  import '../chunk-JLOESTT2.js';
@@ -250,7 +250,6 @@ export { ArrangeList, DEFAULT_ARRANGE_LABELS } from '../chunk-XVKTZ2AC.js';
250
250
  export { Switch } from '../chunk-6YYRFGXO.js';
251
251
  export { DEFAULT_REORDER_LABELS, moveKey, useReorder, useReorderLists } from '../chunk-JMBPMSNI.js';
252
252
  export { Checkbox, CheckboxGroup } from '../chunk-KFTVPWG2.js';
253
- export { ARTIFACT_ACCESSES, ARTIFACT_ACCESS_LABELS, ArtifactAccessGlyph, ArtifactAccessLabel } from '../chunk-DOY3KC6I.js';
254
253
  export { ARTIFACT_BAR_LABELS, ArtifactBar, ArtifactVersionChip } from '../chunk-NLGRDKCK.js';
255
254
  import '../chunk-7U4V36SB.js';
256
255
  export { SegmentedControl } from '../chunk-V2FD4RPS.js';
@@ -260,6 +259,7 @@ export { StatusDot } from '../chunk-QRE6JCHS.js';
260
259
  export { ARTIFACT_ICON_WORDS, ArtifactIcon, artifactIconGlyph } from '../chunk-AVL52EME.js';
261
260
  export { ARTIFACT_KINDS, ArtifactKindGlyph } from '../chunk-RSKW25Y5.js';
262
261
  export { Menu } from '../chunk-EGHOU7U2.js';
262
+ export { ARTIFACT_ACCESSES, ARTIFACT_ACCESS_LABELS, ArtifactAccessGlyph, ArtifactAccessLabel } from '../chunk-DOY3KC6I.js';
263
263
  export { ACCESS_DENIED_REASONS, AccessDeniedCard } from '../chunk-QTMUKRTN.js';
264
264
  export { EmptyState } from '../chunk-PPUR46MK.js';
265
265
  export { Accordion, AccordionItem } from '../chunk-3QEAANRP.js';