@crewlethq/ui 0.119.2 → 0.120.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 (39) hide show
  1. package/dist/AgentHandoffPanel/index.js +3 -3
  2. package/dist/ArtifactPanel/index.js +2 -2
  3. package/dist/CanvasBoard/index.js +2 -2
  4. package/dist/ConfirmField/index.js +2 -2
  5. package/dist/InlineCode/InlineCode.d.ts +8 -1
  6. package/dist/InlineCode/index.js +1 -1
  7. package/dist/{InlineCode-3VXMQAFG.css → InlineCode-KQ5V6D6C.css} +8 -0
  8. package/dist/InlineRef/InlineRef.d.ts +8 -1
  9. package/dist/InlineRef/index.js +1 -1
  10. package/dist/{InlineRef-VQ3OQROV.css → InlineRef-LHU6MH4I.css} +13 -0
  11. package/dist/LinkInterstitial/index.js +2 -2
  12. package/dist/Note/index.js +1 -1
  13. package/dist/{Note-WI5MLZOO.css → Note-32YPRYY4.css} +3 -1
  14. package/dist/ReadingPane/ReadingPane.d.ts +4 -0
  15. package/dist/ReadingPane/index.js +1 -1
  16. package/dist/{ReadingPane-VFTRDPC5.css → ReadingPane-POH66FU7.css} +3 -1
  17. package/dist/SidePanel/SidePanel.d.ts +10 -1
  18. package/dist/SidePanel/SidePanelBase.d.ts +3 -1
  19. package/dist/SidePanel/index.js +2 -2
  20. package/dist/{SidePanel-3WPM56Y2.css → SidePanel-H3OHQAJH.css} +5 -2
  21. package/dist/{chunk-T3IY5XRT.js → chunk-5UNIA2VJ.js} +1 -1
  22. package/dist/{chunk-ZRKBPY6K.js → chunk-6IBFWV6U.js} +2 -2
  23. package/dist/{chunk-64JNKLLP.js → chunk-75QU5C3I.js} +16 -1
  24. package/dist/{chunk-YWEGWDWZ.js → chunk-ACXYNJZR.js} +21 -6
  25. package/dist/{chunk-YHDJ22UB.js → chunk-BALBOOKX.js} +22 -1
  26. package/dist/{chunk-WTIGL7MG.js → chunk-BODW4JH3.js} +1 -1
  27. package/dist/{chunk-QXBKUZG6.js → chunk-NZFYX5UF.js} +1 -1
  28. package/dist/{chunk-L73GQNAH.js → chunk-O7V5AHLU.js} +7 -3
  29. package/dist/{chunk-JNXPLFMX.js → chunk-PPGDH32L.js} +17 -2
  30. package/dist/{chunk-GFQNEGQP.js → chunk-XZQRJVOK.js} +1 -1
  31. package/dist/{chunk-5SZGKSGL.js → chunk-YJPQJVRJ.js} +1 -1
  32. package/dist/{chunk-YP5XNWUS.js → chunk-ZZMXJTII.js} +1 -1
  33. package/dist/generated/index.js +39 -39
  34. package/dist/index.js +39 -39
  35. package/dist/styles.css +37 -9
  36. package/dist/utils/index.d.ts +2 -0
  37. package/dist/utils/index.js +1 -1
  38. package/dist/utils/punctuation.d.ts +17 -0
  39. package/package.json +3 -3
@@ -1,11 +1,11 @@
1
- export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from '../chunk-QXBKUZG6.js';
1
+ export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from '../chunk-NZFYX5UF.js';
2
2
  import '../chunk-XDUXAQIS.js';
3
3
  import '../chunk-WFCWPXJN.js';
4
4
  import '../chunk-YNREHSBZ.js';
5
5
  import '../chunk-UZMXC5T6.js';
6
6
  import '../chunk-D5O64CVE.js';
7
- import '../chunk-ZRKBPY6K.js';
8
- import '../chunk-L73GQNAH.js';
7
+ import '../chunk-6IBFWV6U.js';
8
+ import '../chunk-O7V5AHLU.js';
9
9
  import '../chunk-MBEZOURR.js';
10
10
  import '../chunk-FQ6J4DK7.js';
11
11
  import '../chunk-NN44J7BP.js';
@@ -1,5 +1,5 @@
1
- export { ARTIFACT_PANEL_LABELS, ArtifactPanel, ArtifactWorkspace } from '../chunk-ZRKBPY6K.js';
2
- import '../chunk-L73GQNAH.js';
1
+ export { ARTIFACT_PANEL_LABELS, ArtifactPanel, ArtifactWorkspace } from '../chunk-6IBFWV6U.js';
2
+ import '../chunk-O7V5AHLU.js';
3
3
  import '../chunk-MBEZOURR.js';
4
4
  import '../chunk-FQ6J4DK7.js';
5
5
  import '../chunk-2YTOOH3A.js';
@@ -1,5 +1,5 @@
1
- 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-T3IY5XRT.js';
2
- import '../chunk-5SZGKSGL.js';
1
+ 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-5UNIA2VJ.js';
2
+ import '../chunk-YJPQJVRJ.js';
3
3
  import '../chunk-T2FJN6C6.js';
4
4
  import '../chunk-NPEI2QAN.js';
5
5
  import '../chunk-GKHZSNIV.js';
@@ -1,5 +1,5 @@
1
- export { ConfirmField, confirmMatches } from '../chunk-WTIGL7MG.js';
2
- import '../chunk-JNXPLFMX.js';
1
+ export { ConfirmField, confirmMatches } from '../chunk-BODW4JH3.js';
2
+ import '../chunk-PPGDH32L.js';
3
3
  import '../chunk-NN44J7BP.js';
4
4
  import '../chunk-NICEDVZM.js';
5
5
  import '../chunk-JLKO7PSK.js';
@@ -31,6 +31,13 @@ export interface InlineCodeProps extends HTMLAttributes<HTMLElement> {
31
31
  * tears the sentence around it apart.
32
32
  */
33
33
  whole?: boolean | undefined;
34
+ /**
35
+ * Punctuation that opens and closes around the chip in its sentence ("("
36
+ * and ")."), kept on the chip's line where the chip moves whole
37
+ * (`peelPunctuation`). Drawn outside the chip's ground.
38
+ */
39
+ open?: string | undefined;
40
+ close?: string | undefined;
34
41
  }
35
42
  /**
36
43
  * One identifier inside a sentence.
@@ -43,4 +50,4 @@ export interface InlineCodeProps extends HTMLAttributes<HTMLElement> {
43
50
  *
44
51
  * For a block of code, several lines of it, use `CodeBlock`.
45
52
  */
46
- export declare function InlineCode({ variant, tone, truncate, whole, className, children, ...rest }: InlineCodeProps): import("react").JSX.Element;
53
+ export declare function InlineCode({ variant, tone, truncate, whole, open, close, className, children, ...rest }: InlineCodeProps): import("react").JSX.Element;
@@ -1,2 +1,2 @@
1
- export { InlineCode } from '../chunk-JNXPLFMX.js';
1
+ export { InlineCode } from '../chunk-PPGDH32L.js';
2
2
  import '../chunk-ODEQTPFM.js';
@@ -61,6 +61,14 @@
61
61
  color: inherit;
62
62
  }
63
63
 
64
+ /* A whole chip and the punctuation around it are one atomic box, so a line
65
+ never breaks between "(" and the chip (peelPunctuation). */
66
+ .crewlet-inline-code-bound {
67
+ display: inline-block;
68
+ max-width: 100%;
69
+ overflow-wrap: anywhere;
70
+ }
71
+
64
72
  /*
65
73
  * A short token read as one: an atomic box that moves to the next line whole,
66
74
  * and breaks inside only where no line can hold it (a nested list, a cell).
@@ -41,6 +41,13 @@ export interface InlineRefProps {
41
41
  wrap?: boolean | undefined;
42
42
  /** Read after the words of a link that leaves the application. */
43
43
  newTabLabel?: string | undefined;
44
+ /**
45
+ * Punctuation that opens and closes around the reference in its sentence
46
+ * ("(" and ")."), drawn with it so it never stays on a line the reference
47
+ * left (`peelPunctuation`). It is not part of a link's words.
48
+ */
49
+ open?: string | undefined;
50
+ close?: string | undefined;
44
51
  className?: string | undefined;
45
52
  }
46
53
  /**
@@ -72,4 +79,4 @@ export interface InlineRefProps {
72
79
  * unbreakable run, and a reference that is not a phrase (`wrap`) moves to the
73
80
  * next line whole.
74
81
  */
75
- export declare function InlineRef({ mark, markShape, kind, children, href, title, code, wrap, newTabLabel, className, }: InlineRefProps): import("react").JSX.Element;
82
+ export declare function InlineRef({ mark, markShape, kind, children, href, title, code, wrap, newTabLabel, open, close, className, }: InlineRefProps): import("react").JSX.Element;
@@ -1,3 +1,3 @@
1
- export { InlineRef } from '../chunk-YWEGWDWZ.js';
1
+ export { InlineRef } from '../chunk-ACXYNJZR.js';
2
2
  import '../chunk-KBZO4B33.js';
3
3
  import '../chunk-ODEQTPFM.js';
@@ -22,6 +22,19 @@
22
22
  overflow-wrap: anywhere;
23
23
  }
24
24
 
25
+ /* A reference and the punctuation around it are one atomic box, so a line
26
+ never breaks between "(" and the reference (peelPunctuation). */
27
+ .crewlet-inline-ref-bound {
28
+ display: inline-block;
29
+ max-width: 100%;
30
+ overflow-wrap: anywhere;
31
+ }
32
+
33
+ /* Punctuation inside a wrapping reference's head takes no link underline. */
34
+ .crewlet-inline-ref__punct {
35
+ display: inline-block;
36
+ }
37
+
25
38
  /* What follows the head breaks wherever it must, so an address's path (one
26
39
  unbroken word) wraps inside any box rather than running past it. */
27
40
  .crewlet-inline-ref__rest {
@@ -1,6 +1,6 @@
1
- export { LinkInterstitial, openExternal } from '../chunk-GFQNEGQP.js';
1
+ export { LinkInterstitial, openExternal } from '../chunk-XZQRJVOK.js';
2
2
  import '../chunk-OG4GX2TB.js';
3
- import '../chunk-JNXPLFMX.js';
3
+ import '../chunk-PPGDH32L.js';
4
4
  import '../chunk-BPCY7ZID.js';
5
5
  import '../chunk-M2M6ZD7P.js';
6
6
  import '../chunk-XSPCITPN.js';
@@ -1,2 +1,2 @@
1
- export { Note } from '../chunk-5SZGKSGL.js';
1
+ export { Note } from '../chunk-YJPQJVRJ.js';
2
2
  import '../chunk-ODEQTPFM.js';
@@ -48,7 +48,9 @@
48
48
  font-weight: var(--font-weight-semibold);
49
49
  letter-spacing: var(--font-letter-spacing-tight);
50
50
  line-height: var(--font-line-height-snug);
51
- text-wrap: balance;
51
+ /* A note is as wide as its column: its heading fills a line rather than
52
+ evening two out of it. */
53
+ text-wrap: pretty;
52
54
  }
53
55
 
54
56
  /* Prose inside takes the note's ink, links included. */
@@ -11,6 +11,10 @@ export interface ReadingPaneProps extends HTMLAttributes<HTMLElement> {
11
11
  * was last in the pane (focus came into it, or a press landed in it): the
12
12
  * control they answered with went with the old item. A reader in the list
13
13
  * beside the pane, or nowhere (a live update), keeps their place.
14
+ *
15
+ * The new item reads from its head: whatever scrolls the pane (its own
16
+ * scroller, or the page) goes back to the pane's top if it had scrolled
17
+ * past it, whoever changed the item.
14
18
  */
15
19
  contentKey?: string | number | undefined;
16
20
  /** Where focus goes after a change of `contentKey`, in place of the title. */
@@ -1,4 +1,4 @@
1
- export { READING_PANE_ENTER, ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from '../chunk-64JNKLLP.js';
1
+ export { READING_PANE_ENTER, ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from '../chunk-75QU5C3I.js';
2
2
  import '../chunk-RK4XPHVG.js';
3
3
  import '../chunk-4ITETIGZ.js';
4
4
  import '../chunk-PQADV6P6.js';
@@ -92,7 +92,9 @@
92
92
  font-weight: var(--font-weight-semibold);
93
93
  line-height: var(--font-line-height-tight);
94
94
  letter-spacing: var(--font-letter-spacing-snug);
95
- text-wrap: balance;
95
+ /* It fills its first line, and only keeps a last word from standing alone:
96
+ balanced, a question's lines were evened out of the width it had. */
97
+ text-wrap: pretty;
96
98
  overflow-wrap: anywhere;
97
99
  color: var(--color-text-primary);
98
100
  }
@@ -32,6 +32,15 @@ export interface SidePanelProps {
32
32
  * out of sight). Unlike `icon`, it is read and reached.
33
33
  */
34
34
  leading?: ReactNode;
35
+ /**
36
+ * The panel fills the box it is placed in, its width and its height, with
37
+ * its body scrolling inside, rather than resting at its own width: for a
38
+ * panel shown as a list's detail (`ListDetail`), whose host draws the edge
39
+ * and the ground. Its own rule, so no host restyles the panel to size it;
40
+ * a host's rule in a sheet loaded before the kit's would lose to this one.
41
+ * Inside the shell's aside a panel fills on its own.
42
+ */
43
+ fill?: boolean | undefined;
35
44
  /** Draw the title for assistive technology only, where the icon says it. */
36
45
  hideTitle?: boolean | undefined;
37
46
  /**
@@ -119,7 +128,7 @@ export interface SidePanelProps {
119
128
  * region, sizes the track and draws the grip in the seam, from the same
120
129
  * width the host keeps for both.
121
130
  */
122
- export declare function SidePanel({ title, subtitle, icon, leading, hideTitle, density, onClose, actions, footer, flush, flow, width, minWidth, maxWidth, defaultWidth, onWidthChange, onWidthCommit, resizable, initialFocus, labels, className, children, }: SidePanelProps): import("react").JSX.Element;
131
+ export declare function SidePanel({ title, subtitle, icon, leading, fill, hideTitle, density, onClose, actions, footer, flush, flow, width, minWidth, maxWidth, defaultWidth, onWidthChange, onWidthCommit, resizable, initialFocus, labels, className, children, }: SidePanelProps): import("react").JSX.Element;
123
132
  export interface SidePanelFrameProps {
124
133
  /** The open panel, if any: a `SidePanel`. */
125
134
  panel?: ReactNode;
@@ -35,6 +35,8 @@ export interface SidePanelBaseProps {
35
35
  subtitle?: ReactNode;
36
36
  /** A control before the title, such as `ListDetail.Back`. */
37
37
  leading?: ReactNode;
38
+ /** Fills the box it is placed in, whose host draws the edge and the ground. */
39
+ fill?: boolean | undefined;
38
40
  icon?: ReactNode;
39
41
  onClose: () => void;
40
42
  closeLabel: string;
@@ -65,4 +67,4 @@ export interface SidePanelBaseProps {
65
67
  className?: string | undefined;
66
68
  children: ReactNode;
67
69
  }
68
- export declare function SidePanelBase({ alias, title, subtitle, leading, icon, onClose, closeLabel, actions, footer, flush, flow, initialFocus, ringHeading, hideTitle, density, expanded, onExpandedChange, expandLabel, collapseLabel, width, minWidth, maxWidth, defaultWidth, onWidthChange, onWidthCommit, resizable, resizeLabel, className, children, }: SidePanelBaseProps): import("react").JSX.Element;
70
+ export declare function SidePanelBase({ alias, title, subtitle, leading, fill, icon, onClose, closeLabel, actions, footer, flush, flow, initialFocus, ringHeading, hideTitle, density, expanded, onExpandedChange, expandLabel, collapseLabel, width, minWidth, maxWidth, defaultWidth, onWidthChange, onWidthCommit, resizable, resizeLabel, className, children, }: SidePanelBaseProps): import("react").JSX.Element;
@@ -1,5 +1,5 @@
1
- import '../chunk-YP5XNWUS.js';
2
- export { SIDE_PANEL_LABELS, SIDE_PANEL_MAX_WIDTH, SIDE_PANEL_MIN_WIDTH, SIDE_PANEL_WIDTH, SidePanel, SidePanelFrame } from '../chunk-L73GQNAH.js';
1
+ import '../chunk-ZZMXJTII.js';
2
+ export { SIDE_PANEL_LABELS, SIDE_PANEL_MAX_WIDTH, SIDE_PANEL_MIN_WIDTH, SIDE_PANEL_WIDTH, SidePanel, SidePanelFrame } from '../chunk-O7V5AHLU.js';
3
3
  import '../chunk-MBEZOURR.js';
4
4
  import '../chunk-FQ6J4DK7.js';
5
5
  import '../chunk-2YTOOH3A.js';
@@ -52,11 +52,14 @@
52
52
  background: var(--color-surface-background);
53
53
  }
54
54
 
55
- /* IN THE SHELL'S ASIDE the panel fills the aside's sheet, which draws the
56
- edge, the corner and the ground, and whose track is the width. */
55
+ /* FILLING: in the shell's aside, or as a list's detail (`fill`), the panel
56
+ fills the box its host gives it, width and height, and its body scrolls
57
+ inside; the host draws the edge, the corner and the ground. */
57
58
  .crewlet-side-panel--fill {
58
59
  flex: 1 1 auto;
60
+ align-self: stretch;
59
61
  width: auto;
62
+ min-width: 0;
60
63
  border-left: 0;
61
64
  background: transparent;
62
65
  }
@@ -1,4 +1,4 @@
1
- import { Note } from './chunk-5SZGKSGL.js';
1
+ import { Note } from './chunk-YJPQJVRJ.js';
2
2
  import { CanvasToolbar, toolForKey } from './chunk-T2FJN6C6.js';
3
3
  import { IDENTITY_VIEW, Canvas } from './chunk-GKHZSNIV.js';
4
4
  import { IconButton } from './chunk-X5YI6E5X.js';
@@ -1,8 +1,8 @@
1
- import { SidePanelBase, SidePanelFrameBase } from './chunk-L73GQNAH.js';
1
+ import { SidePanelBase, SidePanelFrameBase } from './chunk-O7V5AHLU.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './HitArea-QUOS6ZDJ.css';
4
4
  import './ResizeHandle-W6GA5OO6.css';
5
- import './SidePanel-3WPM56Y2.css';
5
+ import './SidePanel-H3OHQAJH.css';
6
6
  import './ArtifactPanel-MR5Z5AVN.css';
7
7
  import { jsx } from 'react/jsx-runtime';
8
8
 
@@ -2,7 +2,7 @@ import { Eyebrow } from './chunk-RK4XPHVG.js';
2
2
  import { returnFocus } from './chunk-4ITETIGZ.js';
3
3
  import { useHeadingLevel, HeadingLevelProvider, nextHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
4
4
  import { cx } from './chunk-ODEQTPFM.js';
5
- import './ReadingPane-VFTRDPC5.css';
5
+ import './ReadingPane-POH66FU7.css';
6
6
  import { createContext, useId, useRef, useState, useEffect, useLayoutEffect, createElement, useContext } from 'react';
7
7
  import { ClockGlyph, CheckGlyph } from '@crewlethq/icons/glyphs';
8
8
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
@@ -13,6 +13,20 @@ function usePane(part) {
13
13
  if (pane === null) throw new Error(`${part} must be drawn inside a ReadingPane.`);
14
14
  return pane;
15
15
  }
16
+ function scrollerOf(el) {
17
+ for (let at = el; at; at = at.parentElement) {
18
+ const y = getComputedStyle(at).overflowY;
19
+ if (y === "auto" || y === "scroll") return at;
20
+ }
21
+ return el.ownerDocument.scrollingElement;
22
+ }
23
+ function showHead(pane) {
24
+ const scroller = scrollerOf(pane);
25
+ if (!scroller) return;
26
+ const page = scroller === pane.ownerDocument.scrollingElement;
27
+ const above = pane.getBoundingClientRect().top - (page ? 0 : scroller.getBoundingClientRect().top);
28
+ if (above < 0) scroller.scrollTop = Math.max(0, scroller.scrollTop + above);
29
+ }
16
30
  var READING_PANE_ENTER = { animations: ["crewlet-reading-pane-enter"] };
17
31
  function ReadingPane({ headingLevel, contentKey, focusTarget, className, children, ...rest }) {
18
32
  const titleId = useId();
@@ -55,6 +69,7 @@ function ReadingPane({ headingLevel, contentKey, focusTarget, className, childre
55
69
  useLayoutEffect(() => {
56
70
  if (contentKey === settled.current) return;
57
71
  settled.current = contentKey;
72
+ if (pane.current) showHead(pane.current);
58
73
  if (!owned.current) return;
59
74
  const target = focusTarget?.() ?? column.current?.querySelector(".crewlet-reading-pane__title");
60
75
  returnFocus(target, { preventScroll: true });
@@ -1,6 +1,6 @@
1
1
  import { safeHref } from './chunk-KBZO4B33.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
- import './InlineRef-VQ3OQROV.css';
3
+ import './InlineRef-LHU6MH4I.css';
4
4
  import { Children, isValidElement, cloneElement } from 'react';
5
5
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
6
6
 
@@ -34,6 +34,8 @@ function InlineRef({
34
34
  code = false,
35
35
  wrap = false,
36
36
  newTabLabel = "opens in a new tab",
37
+ open = "",
38
+ close = "",
37
39
  className
38
40
  }) {
39
41
  const target = href === void 0 ? null : safeHref(href);
@@ -47,8 +49,11 @@ function InlineRef({
47
49
  target !== null && "crewlet-inline-ref--link",
48
50
  className
49
51
  );
52
+ const held = (mark2) => mark2 ? /* @__PURE__ */ jsx("span", { className: "crewlet-inline-ref__punct", "aria-hidden": target !== null ? "true" : void 0, children: mark2 }) : null;
53
+ const closeInHead = wrap && rest.length === 0;
50
54
  const body = /* @__PURE__ */ jsxs(Fragment, { children: [
51
55
  /* @__PURE__ */ jsxs("span", { className: "crewlet-inline-ref__head", children: [
56
+ wrap ? held(open) : null,
52
57
  !hasMark ? null : /* @__PURE__ */ jsx(
53
58
  "span",
54
59
  {
@@ -58,15 +63,13 @@ function InlineRef({
58
63
  }
59
64
  ),
60
65
  kind === void 0 ? null : /* @__PURE__ */ jsx("span", { className: "crewlet-inline-ref__said", children: `${kind}: ` }),
61
- /* @__PURE__ */ jsx("span", { className: "crewlet-inline-ref__text", children: head })
66
+ /* @__PURE__ */ jsx("span", { className: "crewlet-inline-ref__text", children: head }),
67
+ closeInHead ? held(close) : null
62
68
  ] }),
63
69
  rest.length === 0 ? null : /* @__PURE__ */ jsx("span", { className: "crewlet-inline-ref__text crewlet-inline-ref__rest", children: rest }),
64
70
  external ? /* @__PURE__ */ jsx("span", { className: "crewlet-inline-ref__said", children: ` (${newTabLabel})` }) : null
65
71
  ] });
66
- if (target === null) {
67
- return /* @__PURE__ */ jsx("span", { className: classes, title, children: body });
68
- }
69
- return /* @__PURE__ */ jsx(
72
+ const ref = target === null ? /* @__PURE__ */ jsx("span", { className: classes, title, children: body }) : /* @__PURE__ */ jsx(
70
73
  "a",
71
74
  {
72
75
  className: classes,
@@ -76,6 +79,18 @@ function InlineRef({
76
79
  children: body
77
80
  }
78
81
  );
82
+ if (wrap) {
83
+ if (closeInHead || !close) return ref;
84
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
85
+ ref,
86
+ close
87
+ ] });
88
+ }
89
+ return open || close ? /* @__PURE__ */ jsxs("span", { className: "crewlet-inline-ref-bound", children: [
90
+ open,
91
+ ref,
92
+ close
93
+ ] }) : ref;
79
94
  }
80
95
 
81
96
  export { InlineRef };
@@ -1,3 +1,24 @@
1
+ // src/utils/punctuation.ts
2
+ var OPENING = `([{"'\u201C\u2018\xAB\u2039\xBF\xA1`;
3
+ var CLOSING = `)]}"'\u201D\u2019\xBB\u203A,.:;?!\u2026%`;
4
+ var opening = new RegExp(`(^|\\s)([${escape(OPENING)}]+)$`, "u");
5
+ var closing = new RegExp(`^([${escape(CLOSING)}]+)(?=\\s|$)`, "u");
6
+ function escape(chars) {
7
+ return chars.replace(/[\]\\^-]/g, "\\$&");
8
+ }
9
+ function peelPunctuation(before, after) {
10
+ const open = opening.exec(before);
11
+ const close = closing.exec(after);
12
+ const opened = open?.[2] ?? "";
13
+ const closed = close?.[1] ?? "";
14
+ return {
15
+ before: opened ? before.slice(0, before.length - opened.length) : before,
16
+ open: opened,
17
+ close: closed,
18
+ after: closed ? after.slice(closed.length) : after
19
+ };
20
+ }
21
+
1
22
  // src/utils/csv.ts
2
23
  var FORMULA_LEAD = /^[=+\-@\t\r]/;
3
24
  function toCsv(header, rows) {
@@ -273,4 +294,4 @@ function toBlob(canvas) {
273
294
  });
274
295
  }
275
296
 
276
- export { ElementToPngError, elementToPng, parseCsv, serializeElement, toCsv };
297
+ export { ElementToPngError, elementToPng, parseCsv, peelPunctuation, serializeElement, toCsv };
@@ -1,4 +1,4 @@
1
- import { InlineCode } from './chunk-JNXPLFMX.js';
1
+ import { InlineCode } from './chunk-PPGDH32L.js';
2
2
  import { FormField, Input } from './chunk-NN44J7BP.js';
3
3
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
4
4
 
@@ -2,7 +2,7 @@ import { Timeline } from './chunk-XDUXAQIS.js';
2
2
  import { Section } from './chunk-WFCWPXJN.js';
3
3
  import { Composer } from './chunk-YNREHSBZ.js';
4
4
  import { Disclosure } from './chunk-D5O64CVE.js';
5
- import { ArtifactPanel } from './chunk-ZRKBPY6K.js';
5
+ import { ArtifactPanel } from './chunk-6IBFWV6U.js';
6
6
  import { Button } from './chunk-M2M6ZD7P.js';
7
7
  import { cx } from './chunk-ODEQTPFM.js';
8
8
  import './AgentHandoffPanel-AIU7YWWB.css';
@@ -17,6 +17,7 @@ function SidePanelBase({
17
17
  title,
18
18
  subtitle,
19
19
  leading,
20
+ fill = false,
20
21
  icon,
21
22
  onClose,
22
23
  closeLabel,
@@ -54,6 +55,7 @@ function SidePanelBase({
54
55
  const chat = density === "chat";
55
56
  const scrolled = useScrolled(body, chat && !flush);
56
57
  const inShell = useAppShellAside() !== null;
58
+ const filling = inShell || fill;
57
59
  const frame = useContext(SidePanelFrameContext);
58
60
  const shape = frame?.shape ?? null;
59
61
  const modal = !inShell && shape === "sheet";
@@ -72,8 +74,8 @@ function SidePanelBase({
72
74
  };
73
75
  }, []);
74
76
  useEscapeWithin(root, onClose);
75
- const sized = !inShell && !expanded && width !== void 0;
76
- const grip = resizable && !inShell && !expanded && (shape === null || shape === "column") && width !== void 0 && onWidthChange;
77
+ const sized = !filling && !expanded && width !== void 0;
78
+ const grip = resizable && !filling && !expanded && (shape === null || shape === "column") && width !== void 0 && onWidthChange;
77
79
  const headingNode = /* @__PURE__ */ jsx(
78
80
  "h2",
79
81
  {
@@ -96,7 +98,7 @@ function SidePanelBase({
96
98
  id: panelId,
97
99
  className: cx(
98
100
  "crewlet-side-panel",
99
- inShell && "crewlet-side-panel--fill",
101
+ filling && "crewlet-side-panel--fill",
100
102
  chat && "crewlet-side-panel--chat",
101
103
  alias,
102
104
  className
@@ -213,6 +215,7 @@ function SidePanel({
213
215
  subtitle,
214
216
  icon,
215
217
  leading,
218
+ fill,
216
219
  hideTitle,
217
220
  density,
218
221
  onClose,
@@ -240,6 +243,7 @@ function SidePanel({
240
243
  subtitle,
241
244
  icon,
242
245
  leading,
246
+ fill,
243
247
  hideTitle,
244
248
  density,
245
249
  onClose,
@@ -1,5 +1,5 @@
1
1
  import { cx } from './chunk-ODEQTPFM.js';
2
- import './InlineCode-3VXMQAFG.css';
2
+ import './InlineCode-KQ5V6D6C.css';
3
3
  import { Children } from 'react';
4
4
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
5
5
 
@@ -20,12 +20,14 @@ function InlineCode({
20
20
  tone = "default",
21
21
  truncate = false,
22
22
  whole = false,
23
+ open = "",
24
+ close = "",
23
25
  className,
24
26
  children,
25
27
  ...rest
26
28
  }) {
27
29
  const runs = variant === "reference" ? referenceRuns(children) : null;
28
- return /* @__PURE__ */ jsx(
30
+ const chip = /* @__PURE__ */ jsx(
29
31
  "code",
30
32
  {
31
33
  ...rest,
@@ -44,6 +46,19 @@ function InlineCode({
44
46
  ] })
45
47
  }
46
48
  );
49
+ if (!open && !close) return chip;
50
+ if (whole || truncate) {
51
+ return /* @__PURE__ */ jsxs("span", { className: "crewlet-inline-code-bound", children: [
52
+ open,
53
+ chip,
54
+ close
55
+ ] });
56
+ }
57
+ return /* @__PURE__ */ jsxs(Fragment, { children: [
58
+ open,
59
+ chip,
60
+ close
61
+ ] });
47
62
  }
48
63
 
49
64
  export { InlineCode };
@@ -1,5 +1,5 @@
1
1
  import { ConfirmModal } from './chunk-OG4GX2TB.js';
2
- import { InlineCode } from './chunk-JNXPLFMX.js';
2
+ import { InlineCode } from './chunk-PPGDH32L.js';
3
3
  import { Callout } from './chunk-BPCY7ZID.js';
4
4
  import './LinkInterstitial-ET4MSVSV.css';
5
5
  import { jsx, jsxs } from 'react/jsx-runtime';
@@ -1,5 +1,5 @@
1
1
  import { cx } from './chunk-ODEQTPFM.js';
2
- import './Note-WI5MLZOO.css';
2
+ import './Note-32YPRYY4.css';
3
3
  import { forwardRef, useId } from 'react';
4
4
  import { jsxs, jsx } from 'react/jsx-runtime';
5
5
 
@@ -1,3 +1,3 @@
1
1
  import './HitArea-QUOS6ZDJ.css';
2
2
  import './ResizeHandle-W6GA5OO6.css';
3
- import './SidePanel-3WPM56Y2.css';
3
+ import './SidePanel-H3OHQAJH.css';
@@ -1,15 +1,13 @@
1
1
  import '../chunk-33NGH63Z.js';
2
- export { ElementToPngError, elementToPng, parseCsv, serializeElement, toCsv } from '../chunk-YHDJ22UB.js';
3
- export { TypeSpecimen } from '../chunk-JKAFEFFC.js';
2
+ export { ElementToPngError, elementToPng, parseCsv, peelPunctuation, serializeElement, toCsv } from '../chunk-BALBOOKX.js';
4
3
  export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from '../chunk-U2VCSSBW.js';
5
4
  export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from '../chunk-DVZRAYX3.js';
6
5
  export { VersionTimeline } from '../chunk-RM5RKPFV.js';
7
6
  export { WidgetFrame } from '../chunk-5ZTH54O6.js';
8
- export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from '../chunk-SG3MDOVO.js';
7
+ export { ReviewList } from '../chunk-AGVGX52B.js';
9
8
  export { ToastProvider, Toaster, readingDuration, toasterInsetStyle, useToast } from '../chunk-25CL7J4J.js';
10
9
  export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from '../chunk-ZJQNN7ZJ.js';
11
- export { ThemeGallery } from '../chunk-4VKFZZHS.js';
12
- export { ThemeSwatch } from '../chunk-3XQUEF5C.js';
10
+ export { TypeSpecimen } from '../chunk-JKAFEFFC.js';
13
11
  export { DensitySwitcher, ThemeSwitcher } from '../chunk-BIAAOLAX.js';
14
12
  export { ThemeToggle } from '../chunk-5RXY2RL4.js';
15
13
  export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from '../chunk-Z24ZUSTX.js';
@@ -17,42 +15,44 @@ export { ThinkingIndicator } from '../chunk-DX7ZHO47.js';
17
15
  export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from '../chunk-I5HJ6Y6E.js';
18
16
  export { TileGrid } from '../chunk-UFID3DSP.js';
19
17
  export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from '../chunk-MVXQ74TB.js';
18
+ export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from '../chunk-SG3MDOVO.js';
20
19
  export { Switcher } from '../chunk-I4FO353C.js';
21
20
  export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from '../chunk-V3ZKGVC2.js';
22
21
  export { TagsInput } from '../chunk-A5VNNA3V.js';
23
- export { Statement } from '../chunk-MZJKPTA5.js';
22
+ export { ThemeGallery } from '../chunk-4VKFZZHS.js';
23
+ export { ThemeSwatch } from '../chunk-3XQUEF5C.js';
24
24
  export { StatusLegend } from '../chunk-5LIWAA7S.js';
25
25
  export { StatusLine } from '../chunk-435WY2WT.js';
26
26
  export { SlideGrid } from '../chunk-73L3774J.js';
27
- export { SlideFilmstrip } from '../chunk-L3PK6KON.js';
28
27
  export { SOURCE_EDITOR_KEYS, SourceEditor, lineStart } from '../chunk-S656HY4W.js';
29
28
  export { StatCard } from '../chunk-2YADDY4A.js';
30
29
  export { StatGroup } from '../chunk-OUD75UB2.js';
31
- export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from '../chunk-YJ2V7QSY.js';
30
+ export { Statement } from '../chunk-MZJKPTA5.js';
32
31
  export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from '../chunk-BWSO2YRR.js';
33
32
  export { TagGroup } from '../chunk-FOUIZS7Q.js';
34
33
  export { matchesShortcut, useShortcut } from '../chunk-K6PKXCR2.js';
35
- import '../chunk-YP5XNWUS.js';
34
+ import '../chunk-ZZMXJTII.js';
36
35
  export { SLIDE_COMPARE_LABELS, SlideCompare } from '../chunk-FSCJV5M5.js';
37
- export { SegmentedMeter, segmentedMeterLabel } from '../chunk-4AK52VHB.js';
36
+ export { SlideFilmstrip } from '../chunk-L3PK6KON.js';
38
37
  export { SelectionBar } from '../chunk-XIKU44QE.js';
39
38
  export { SEND_BUTTON_LABELS, SendButton } from '../chunk-PNSUXNNY.js';
40
39
  export { SettingsTable, SettingsTableRow } from '../chunk-SOYPCCSJ.js';
41
40
  export { SetupWizard } from '../chunk-WLL3PFI3.js';
42
41
  export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from '../chunk-GUTZISXY.js';
43
- export { canonicalMarkdown, roundTripMarkdown } from '../chunk-GBASM5EV.js';
44
- import '../chunk-7CSTEH5I.js';
45
- export { RoomRow } from '../chunk-NHHVN23D.js';
42
+ export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from '../chunk-YJ2V7QSY.js';
46
43
  export { RUN_STATES, RunChip } from '../chunk-L6SYLG3F.js';
44
+ export { RoomRow } from '../chunk-NHHVN23D.js';
47
45
  export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from '../chunk-ZKGAEXLI.js';
48
46
  export { SearchTrigger } from '../chunk-ERNT3UTB.js';
49
47
  export { SectionFrame, SectionFrameBody, SectionFrameNav } from '../chunk-EFY7R766.js';
48
+ export { SegmentedMeter, segmentedMeterLabel } from '../chunk-4AK52VHB.js';
50
49
  export { RecordChip, RecordChipList } from '../chunk-GMQ54OQF.js';
51
50
  export { REFUSAL_CARD_LABELS, RefusalCard } from '../chunk-PMP2WNF4.js';
52
51
  export { RelatedRow } from '../chunk-AJCPRBYJ.js';
53
52
  export { RESULT_TABLE_CARD_LABELS, RESULT_TABLE_COLLAPSED_ROWS, RESULT_TABLE_MAX_ROWS, ResultTableCard } from '../chunk-22I4FAEM.js';
54
53
  export { Table } from '../chunk-YGN4SBNP.js';
55
- export { ReviewList } from '../chunk-AGVGX52B.js';
54
+ export { canonicalMarkdown, roundTripMarkdown } from '../chunk-GBASM5EV.js';
55
+ import '../chunk-7CSTEH5I.js';
56
56
  export { RichEditor, preloadRichEditor } from '../chunk-3RKS3DLF.js';
57
57
  export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
58
58
  export { PropertyList } from '../chunk-65AMIQSW.js';
@@ -63,7 +63,7 @@ export { RAIL_LIST_LABELS, RailList } from '../chunk-5PHBOCIX.js';
63
63
  export { Select } from '../chunk-AYVRS4LD.js';
64
64
  export { NavDivider, NavGroup, NavItem, SidebarNav } from '../chunk-SM2MM4DQ.js';
65
65
  export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from '../chunk-LZCGLS7U.js';
66
- export { READING_PANE_ENTER, ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from '../chunk-64JNKLLP.js';
66
+ export { READING_PANE_ENTER, ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from '../chunk-75QU5C3I.js';
67
67
  export { PresenceStack } from '../chunk-MTIW75QU.js';
68
68
  export { PresenterView, formatStopwatch } from '../chunk-HERJFKPF.js';
69
69
  export { SLIDE_NAV_LABELS, SlideNav } from '../chunk-MZNOVME7.js';
@@ -72,9 +72,9 @@ export { PricingCard } from '../chunk-O2XAJDK6.js';
72
72
  export { PrincipalPicker } from '../chunk-NSUMHNUS.js';
73
73
  export { Outline, scrollToHeading, useActiveHeading } from '../chunk-WYIPKGEO.js';
74
74
  export { PageNote } from '../chunk-CV4NES3P.js';
75
+ export { PEEK_RAIL_LABELS, PEEK_RAIL_MAX_WIDTH, PEEK_RAIL_MIN_WIDTH, PEEK_RAIL_WIDTH, PeekHost, PeekNeighbours, PeekRail, isPlainPress, peekClickHandler, peekRowActivation, usePeekNeighbours, usePeekOrder, usePeekStep } from '../chunk-RFNPJDNS.js';
75
76
  export { PEOPLE_RAIL_LABELS, PeopleRail, peopleRailKey } from '../chunk-6NXY7OEH.js';
76
77
  import '../chunk-CENOOTAV.js';
77
- export { PEEK_RAIL_LABELS, PEEK_RAIL_MAX_WIDTH, PEEK_RAIL_MIN_WIDTH, PEEK_RAIL_WIDTH, PeekHost, PeekNeighbours, PeekRail, isPlainPress, peekClickHandler, peekRowActivation, usePeekNeighbours, usePeekOrder, usePeekStep } from '../chunk-RFNPJDNS.js';
78
78
  export { PinTile } from '../chunk-7XRAYILF.js';
79
79
  export { NewItemsNotice } from '../chunk-NCQC5Y4E.js';
80
80
  export { FactLine, ObjectHeader, SetByLine } from '../chunk-KZTR3V2P.js';
@@ -84,14 +84,13 @@ export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-S
84
84
  export { TreeGrid } from '../chunk-X5YI6QLW.js';
85
85
  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';
86
86
  export { OrgLabel } from '../chunk-DEVO45TG.js';
87
- export { MessageBubble } from '../chunk-KAQ2L74F.js';
88
87
  export { MEMBER_PICKER_LABELS, MemberPicker, chosenMembers } from '../chunk-GTS35WLS.js';
89
- export { MentionChip } from '../chunk-SYOMUNKU.js';
90
88
  export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from '../chunk-KTH2KXZY.js';
91
89
  export { PersonRow } from '../chunk-XROJ6XQ3.js';
90
+ export { MentionChip } from '../chunk-SYOMUNKU.js';
92
91
  export { MERGE_CONFLICTS_LABELS, MergeConflicts } from '../chunk-SAHYQ53P.js';
93
92
  export { ActionDivider, MessageAction, MessageActions, QuickReaction } from '../chunk-NHCY563I.js';
94
- export { ListDetail, ListDetailBack } from '../chunk-DNBIBLT2.js';
93
+ export { MessageBubble } from '../chunk-KAQ2L74F.js';
95
94
  export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from '../chunk-DPNVKWJX.js';
96
95
  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';
97
96
  export { LogoSlot, LogoSlotGroup } from '../chunk-4Q7AWZ6O.js';
@@ -101,13 +100,14 @@ export { AutoGrid, Inline, Spacer, Stack } from '../chunk-ZAC7SKUN.js';
101
100
  export { Link } from '../chunk-JZI7SIM6.js';
102
101
  export { LinkCard } from '../chunk-346EXHOR.js';
103
102
  import '../chunk-KOJPDCGQ.js';
104
- export { LinkInterstitial, openExternal } from '../chunk-GFQNEGQP.js';
105
103
  export { List, ListItem } from '../chunk-VY37HWFV.js';
104
+ export { LinkInterstitial, openExternal } from '../chunk-XZQRJVOK.js';
105
+ export { ListDetail, ListDetailBack } from '../chunk-DNBIBLT2.js';
106
106
  export { ListInput, withDraft } from '../chunk-N4O345GS.js';
107
107
  export { INLINE_EDITOR_LABELS, InlineEditor } from '../chunk-WMZ2MROV.js';
108
- export { InlineRef } from '../chunk-YWEGWDWZ.js';
109
- export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdownClosesFence, markdownCodeText, markdownFenceOf, markdownHeadingOf, markdownInline, markdownLines, parseMarkdown, parseMarkdownSpans, safeHref } from '../chunk-KBZO4B33.js';
110
108
  export { KeyValueRows, keyValueRowsLabels } from '../chunk-Q7WKCU2U.js';
109
+ export { InlineRef } from '../chunk-ACXYNJZR.js';
110
+ export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdownClosesFence, markdownCodeText, markdownFenceOf, markdownHeadingOf, markdownInline, markdownLines, parseMarkdown, parseMarkdownSpans, safeHref } from '../chunk-KBZO4B33.js';
111
111
  export { Highlight, highlightRanges, highlightTerms } from '../chunk-H6VKCIWV.js';
112
112
  import '../chunk-MICRGE3J.js';
113
113
  import '../chunk-FFMCMSJB.js';
@@ -115,7 +115,7 @@ export { IconTile } from '../chunk-3LI4TRUR.js';
115
115
  export { ImageUpload } from '../chunk-K6Y6CDEZ.js';
116
116
  export { INBOX_ROW_LEAVE, InboxGroup, InboxList, InboxMore, InboxRow, InboxToggle } from '../chunk-MLSDZFBN.js';
117
117
  export { IndicatorAnchor } from '../chunk-27MJPU7G.js';
118
- export { FileList } from '../chunk-FQBSYMEW.js';
118
+ export { FileDrop, FilePickButton, droppedFiles, pickedFiles } from '../chunk-XF5PDUDH.js';
119
119
  export { FILTER_CHIP_ATTRIBUTE, FilterChip, FilterChipGroup } from '../chunk-L6HUVA33.js';
120
120
  export { FindingList } from '../chunk-NEPNJMTD.js';
121
121
  export { FolderTile, describeFolderContents, folderContentsParts } from '../chunk-PFZKJXEA.js';
@@ -128,13 +128,13 @@ export { EntityList } from '../chunk-VRDLNMST.js';
128
128
  export { ErrorBoundary } from '../chunk-H45TEWVU.js';
129
129
  export { Eyebrow } from '../chunk-RK4XPHVG.js';
130
130
  export { FactList } from '../chunk-OYV7BFRC.js';
131
- export { FileDrop, FilePickButton, droppedFiles, pickedFiles } from '../chunk-XF5PDUDH.js';
131
+ export { FileList } from '../chunk-FQBSYMEW.js';
132
132
  export { Divider } from '../chunk-6KWNXIDE.js';
133
133
  export { DOC_TABS_EDITOR_LABELS, DocTabsEditor } from '../chunk-CFMNGQMN.js';
134
134
  export { DockColumn } from '../chunk-UXTW4GOT.js';
135
+ export { EditingStatus } from '../chunk-KRF3GQ63.js';
135
136
  export { DownloadButton } from '../chunk-GCRACVZO.js';
136
137
  export { downloadBlob, downloadText, safeFilename, useDownload } from '../chunk-YNRKVY7X.js';
137
- export { EditingStatus } from '../chunk-KRF3GQ63.js';
138
138
  export { EMOJI_GROUPS, EMOJI_GROUP_GLYPHS, EMOJI_PICKER_COLUMNS, EMOJI_PICKER_LABELS, EmojiPicker, emojiName, emojiOfShortcode, emojiShortcode, isShortcode, searchEmoji } from '../chunk-YCKDBXHQ.js';
139
139
  export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from '../chunk-OHXOUHTX.js';
140
140
  export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from '../chunk-4Z3AGYOB.js';
@@ -162,14 +162,14 @@ export { HIGHLIGHT_REST_MS, TYPE_AHEAD_WINDOW, useHighlightRest, useListbox, use
162
162
  export { COMMENT_THREAD_LABELS, CommentThread } from '../chunk-BF3PFRBE.js';
163
163
  export { CompactNav, CompactNavGroup, CompactNavItem, CompactNavSeparator, groupBadge, placeFlyout } from '../chunk-QFI5C4YF.js';
164
164
  export { LockedLabel } from '../chunk-TODOBUXO.js';
165
- export { ConfirmField, confirmMatches } from '../chunk-WTIGL7MG.js';
166
- export { InlineCode } from '../chunk-JNXPLFMX.js';
165
+ export { ConfirmField, confirmMatches } from '../chunk-BODW4JH3.js';
166
+ export { InlineCode } from '../chunk-PPGDH32L.js';
167
167
  export { CONFLICT_NOTE_LABELS, ConflictNote } from '../chunk-DM3BTGBZ.js';
168
168
  export { Container } from '../chunk-HJO4WCH6.js';
169
- export { CHIP_FIELD_LABELS, ChipField } from '../chunk-YUW4DD2Z.js';
170
169
  export { ChoiceButtons } from '../chunk-AHW3K3SH.js';
171
- export { ChoiceList } from '../chunk-XU7RQNT6.js';
172
170
  export { ChoiceCards } from '../chunk-FHPHRIPO.js';
171
+ export { CHIP_FIELD_LABELS, ChipField } from '../chunk-YUW4DD2Z.js';
172
+ export { ChoiceList } from '../chunk-XU7RQNT6.js';
173
173
  export { CodeBlock } from '../chunk-Y7F23SAX.js';
174
174
  export { ColorChip } from '../chunk-C6T4VBEY.js';
175
175
  export { ColorField } from '../chunk-UQA7SV3B.js';
@@ -178,15 +178,15 @@ export { CopyButton, Copyable } from '../chunk-AVK7RRQ4.js';
178
178
  export { useClipboard, writeClipboard } from '../chunk-STJ7QBC3.js';
179
179
  export { useOutcome } from '../chunk-DTIW4CHZ.js';
180
180
  import '../chunk-3L5NHASN.js';
181
- export { ChatDay, ChatDayPill } from '../chunk-RBQOS3JC.js';
182
181
  export { ActivityStrip, BarList, ChartEmpty, ChartTooltip, DATA_COLORS, DATA_COLOR_OTHER, Histogram, Legend, Sparkline, StackedBar, StackedColumns, TimeSeries, dataColor, histogramTicks, niceScale, useChartHover } from '../chunk-MNTN5ESE.js';
182
+ export { ChatDay, ChatDayPill } from '../chunk-RBQOS3JC.js';
183
183
  export { ChatDivider } from '../chunk-EI242VTX.js';
184
184
  import '../chunk-5QJNA7KD.js';
185
185
  export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from '../chunk-KTKPC3CV.js';
186
186
  export { CHAT_MESSAGE_CLASS, CHAT_MESSAGE_FAILURE_LABELS, ChatMessage, ChatMessageFailure } from '../chunk-Y3EV3Q2U.js';
187
187
  export { CheckGrid } from '../chunk-AYLFZW27.js';
188
- 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-T3IY5XRT.js';
189
- export { Note } from '../chunk-5SZGKSGL.js';
188
+ 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-5UNIA2VJ.js';
189
+ export { Note } from '../chunk-YJPQJVRJ.js';
190
190
  export { CanvasSchematic } from '../chunk-NBWNLYWZ.js';
191
191
  export { CanvasToolbar, toolForKey } from '../chunk-T2FJN6C6.js';
192
192
  export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from '../chunk-NPEI2QAN.js';
@@ -210,9 +210,9 @@ export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth,
210
210
  export { Callout } from '../chunk-BPCY7ZID.js';
211
211
  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-GKHZSNIV.js';
212
212
  import '../chunk-X4HBZSXA.js';
213
+ export { ASIDE_LAYOUT_SPLIT_REM, AsideLayout } from '../chunk-7UQQEUOT.js';
213
214
  export { ATTACHMENT_CHIP_LABELS, AttachmentChip } from '../chunk-GZSEIFWB.js';
214
215
  export { Tag } from '../chunk-SJ3EUCFD.js';
215
- export { ArtifactNameCell } from '../chunk-3SCASXQH.js';
216
216
  export { ATTENTION_LIST_LABELS, AttentionList } from '../chunk-ABQTPJPW.js';
217
217
  export { AuthLayout } from '../chunk-CVXQWNSM.js';
218
218
  export { AvatarPicker } from '../chunk-YCT7LRYR.js';
@@ -233,14 +233,14 @@ export { Text } from '../chunk-XLMURU75.js';
233
233
  import '../chunk-WSIJDWUG.js';
234
234
  export { DashboardCover, DocCover, SHEET_COVER_COLUMNS, SHEET_COVER_ROWS, SheetCover } from '../chunk-MMV7NEAC.js';
235
235
  export { Document, DocumentTitle, DocumentTitleField } from '../chunk-I4PBFJGX.js';
236
- export { ArtifactKindGround, ArtifactKindIllustration, ArtifactKindTile } from '../chunk-W3A6NBUM.js';
237
236
  export { ArtifactMakeRow } from '../chunk-5EOOS2VG.js';
238
- export { ASIDE_LAYOUT_SPLIT_REM, AsideLayout } from '../chunk-7UQQEUOT.js';
237
+ export { ArtifactKindGround, ArtifactKindIllustration, ArtifactKindTile } from '../chunk-W3A6NBUM.js';
238
+ export { ArtifactNameCell } from '../chunk-3SCASXQH.js';
239
239
  export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRailRow, AppShellRailStatus, AppShellToggle, AppShellTopbar, readStoredWidth, useAppShell, useScreenBelow, useScreenWidth, useStoredWidth } from '../chunk-L6PGMA2K.js';
240
240
  export { afterMotion, releaseFocus, runningMotion, usePresence } from '../chunk-SNKQNAJI.js';
241
241
  import '../chunk-JLOESTT2.js';
242
- export { ArrangeBoard } from '../chunk-QO7QEQKV.js';
243
242
  export { ArrangeFrame, useGridResize } from '../chunk-FDMEQ73F.js';
243
+ export { ArrangeBoard } from '../chunk-QO7QEQKV.js';
244
244
  export { ArrangeGrid } from '../chunk-QBA5B2Z5.js';
245
245
  export { ArrangeGroup } from '../chunk-N3WS3XDV.js';
246
246
  export { ArrangeList, DEFAULT_ARRANGE_LABELS } from '../chunk-XVKTZ2AC.js';
@@ -266,14 +266,14 @@ export { ActivityLine } from '../chunk-BG4GI5W3.js';
266
266
  export { BouncingDots, WORKING_LINE_LABELS, WorkingLine, workingAnnouncement, workingSentence } from '../chunk-SFO4KY65.js';
267
267
  export { AvatarStack, avatarStackLabel } from '../chunk-5SMYKL3D.js';
268
268
  export { AVATAR_CHARACTER_FULL_DETAIL, AVATAR_CORNER_RANGE, AVATAR_CORNER_RATIO, AVATAR_SIZES, AVATAR_STATUSES, AVATAR_STATUS_LABELS, Avatar, avatarCorner, avatarInitialsName, avatarPixels, avatarTint, getInitials } from '../chunk-XZY6S3UC.js';
269
- export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from '../chunk-QXBKUZG6.js';
269
+ export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from '../chunk-NZFYX5UF.js';
270
270
  export { Timeline, TimelineItem } from '../chunk-XDUXAQIS.js';
271
271
  export { Section } from '../chunk-WFCWPXJN.js';
272
272
  export { COMPOSER_COUNTER_AT, Composer } from '../chunk-YNREHSBZ.js';
273
273
  export { COARSE_POINTER_QUERY, FINE_POINTER_QUERY, SEND_KEYS_LABELS, SendKeysHint, isSendPress, sendKeysLabels, sendKeysWords, useSendOnEnter, useTouchKeyboard } from '../chunk-UZMXC5T6.js';
274
274
  export { Disclosure } from '../chunk-D5O64CVE.js';
275
- export { ARTIFACT_PANEL_LABELS, ArtifactPanel, ArtifactWorkspace } from '../chunk-ZRKBPY6K.js';
276
- export { SIDE_PANEL_LABELS, SIDE_PANEL_MAX_WIDTH, SIDE_PANEL_MIN_WIDTH, SIDE_PANEL_WIDTH, SidePanel, SidePanelFrame } from '../chunk-L73GQNAH.js';
275
+ export { ARTIFACT_PANEL_LABELS, ArtifactPanel, ArtifactWorkspace } from '../chunk-6IBFWV6U.js';
276
+ export { SIDE_PANEL_LABELS, SIDE_PANEL_MAX_WIDTH, SIDE_PANEL_MIN_WIDTH, SIDE_PANEL_WIDTH, SidePanel, SidePanelFrame } from '../chunk-O7V5AHLU.js';
277
277
  export { useAppShellAside, useAppShellPeek } from '../chunk-MBEZOURR.js';
278
278
  export { RESIZE_HANDLE_LARGE_STEP, RESIZE_HANDLE_STEP, ResizeHandle, clampSize } from '../chunk-FQ6J4DK7.js';
279
279
  export { FormField, FormRow, FormSection, Input, InputAffix, Label, ReadOnlyField, Textarea, foldLineBreaks } from '../chunk-NN44J7BP.js';
package/dist/index.js CHANGED
@@ -1,15 +1,13 @@
1
1
  import './chunk-33NGH63Z.js';
2
- export { ElementToPngError, elementToPng, parseCsv, serializeElement, toCsv } from './chunk-YHDJ22UB.js';
3
- export { TypeSpecimen } from './chunk-JKAFEFFC.js';
2
+ export { ElementToPngError, elementToPng, parseCsv, peelPunctuation, serializeElement, toCsv } from './chunk-BALBOOKX.js';
4
3
  export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from './chunk-U2VCSSBW.js';
5
4
  export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from './chunk-DVZRAYX3.js';
6
5
  export { VersionTimeline } from './chunk-RM5RKPFV.js';
7
6
  export { WidgetFrame } from './chunk-5ZTH54O6.js';
8
- export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from './chunk-SG3MDOVO.js';
7
+ export { ReviewList } from './chunk-AGVGX52B.js';
9
8
  export { ToastProvider, Toaster, readingDuration, toasterInsetStyle, useToast } from './chunk-25CL7J4J.js';
10
9
  export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from './chunk-ZJQNN7ZJ.js';
11
- export { ThemeGallery } from './chunk-4VKFZZHS.js';
12
- export { ThemeSwatch } from './chunk-3XQUEF5C.js';
10
+ export { TypeSpecimen } from './chunk-JKAFEFFC.js';
13
11
  export { DensitySwitcher, ThemeSwitcher } from './chunk-BIAAOLAX.js';
14
12
  export { ThemeToggle } from './chunk-5RXY2RL4.js';
15
13
  export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from './chunk-Z24ZUSTX.js';
@@ -17,42 +15,44 @@ export { ThinkingIndicator } from './chunk-DX7ZHO47.js';
17
15
  export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from './chunk-I5HJ6Y6E.js';
18
16
  export { TileGrid } from './chunk-UFID3DSP.js';
19
17
  export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from './chunk-MVXQ74TB.js';
18
+ export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from './chunk-SG3MDOVO.js';
20
19
  export { Switcher } from './chunk-I4FO353C.js';
21
20
  export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from './chunk-V3ZKGVC2.js';
22
21
  export { TagsInput } from './chunk-A5VNNA3V.js';
23
- export { Statement } from './chunk-MZJKPTA5.js';
22
+ export { ThemeGallery } from './chunk-4VKFZZHS.js';
23
+ export { ThemeSwatch } from './chunk-3XQUEF5C.js';
24
24
  export { StatusLegend } from './chunk-5LIWAA7S.js';
25
25
  export { StatusLine } from './chunk-435WY2WT.js';
26
26
  export { SlideGrid } from './chunk-73L3774J.js';
27
- export { SlideFilmstrip } from './chunk-L3PK6KON.js';
28
27
  export { SOURCE_EDITOR_KEYS, SourceEditor, lineStart } from './chunk-S656HY4W.js';
29
28
  export { StatCard } from './chunk-2YADDY4A.js';
30
29
  export { StatGroup } from './chunk-OUD75UB2.js';
31
- export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from './chunk-YJ2V7QSY.js';
30
+ export { Statement } from './chunk-MZJKPTA5.js';
32
31
  export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from './chunk-BWSO2YRR.js';
33
32
  export { TagGroup } from './chunk-FOUIZS7Q.js';
34
33
  export { matchesShortcut, useShortcut } from './chunk-K6PKXCR2.js';
35
- import './chunk-YP5XNWUS.js';
34
+ import './chunk-ZZMXJTII.js';
36
35
  export { SLIDE_COMPARE_LABELS, SlideCompare } from './chunk-FSCJV5M5.js';
37
- export { SegmentedMeter, segmentedMeterLabel } from './chunk-4AK52VHB.js';
36
+ export { SlideFilmstrip } from './chunk-L3PK6KON.js';
38
37
  export { SelectionBar } from './chunk-XIKU44QE.js';
39
38
  export { SEND_BUTTON_LABELS, SendButton } from './chunk-PNSUXNNY.js';
40
39
  export { SettingsTable, SettingsTableRow } from './chunk-SOYPCCSJ.js';
41
40
  export { SetupWizard } from './chunk-WLL3PFI3.js';
42
41
  export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from './chunk-GUTZISXY.js';
43
- export { canonicalMarkdown, roundTripMarkdown } from './chunk-GBASM5EV.js';
44
- import './chunk-7CSTEH5I.js';
45
- export { RoomRow } from './chunk-NHHVN23D.js';
42
+ export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from './chunk-YJ2V7QSY.js';
46
43
  export { RUN_STATES, RunChip } from './chunk-L6SYLG3F.js';
44
+ export { RoomRow } from './chunk-NHHVN23D.js';
47
45
  export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from './chunk-ZKGAEXLI.js';
48
46
  export { SearchTrigger } from './chunk-ERNT3UTB.js';
49
47
  export { SectionFrame, SectionFrameBody, SectionFrameNav } from './chunk-EFY7R766.js';
48
+ export { SegmentedMeter, segmentedMeterLabel } from './chunk-4AK52VHB.js';
50
49
  export { RecordChip, RecordChipList } from './chunk-GMQ54OQF.js';
51
50
  export { REFUSAL_CARD_LABELS, RefusalCard } from './chunk-PMP2WNF4.js';
52
51
  export { RelatedRow } from './chunk-AJCPRBYJ.js';
53
52
  export { RESULT_TABLE_CARD_LABELS, RESULT_TABLE_COLLAPSED_ROWS, RESULT_TABLE_MAX_ROWS, ResultTableCard } from './chunk-22I4FAEM.js';
54
53
  export { Table } from './chunk-YGN4SBNP.js';
55
- export { ReviewList } from './chunk-AGVGX52B.js';
54
+ export { canonicalMarkdown, roundTripMarkdown } from './chunk-GBASM5EV.js';
55
+ import './chunk-7CSTEH5I.js';
56
56
  export { RichEditor, preloadRichEditor } from './chunk-3RKS3DLF.js';
57
57
  export { RICH_EDITOR_LABELS, richEditorLabels } from './chunk-2DMTW2Y3.js';
58
58
  export { PropertyList } from './chunk-65AMIQSW.js';
@@ -63,7 +63,7 @@ export { RAIL_LIST_LABELS, RailList } from './chunk-5PHBOCIX.js';
63
63
  export { Select } from './chunk-AYVRS4LD.js';
64
64
  export { NavDivider, NavGroup, NavItem, SidebarNav } from './chunk-SM2MM4DQ.js';
65
65
  export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from './chunk-LZCGLS7U.js';
66
- export { READING_PANE_ENTER, ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from './chunk-64JNKLLP.js';
66
+ export { READING_PANE_ENTER, ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from './chunk-75QU5C3I.js';
67
67
  export { PresenceStack } from './chunk-MTIW75QU.js';
68
68
  export { PresenterView, formatStopwatch } from './chunk-HERJFKPF.js';
69
69
  export { SLIDE_NAV_LABELS, SlideNav } from './chunk-MZNOVME7.js';
@@ -72,9 +72,9 @@ export { PricingCard } from './chunk-O2XAJDK6.js';
72
72
  export { PrincipalPicker } from './chunk-NSUMHNUS.js';
73
73
  export { Outline, scrollToHeading, useActiveHeading } from './chunk-WYIPKGEO.js';
74
74
  export { PageNote } from './chunk-CV4NES3P.js';
75
+ export { PEEK_RAIL_LABELS, PEEK_RAIL_MAX_WIDTH, PEEK_RAIL_MIN_WIDTH, PEEK_RAIL_WIDTH, PeekHost, PeekNeighbours, PeekRail, isPlainPress, peekClickHandler, peekRowActivation, usePeekNeighbours, usePeekOrder, usePeekStep } from './chunk-RFNPJDNS.js';
75
76
  export { PEOPLE_RAIL_LABELS, PeopleRail, peopleRailKey } from './chunk-6NXY7OEH.js';
76
77
  import './chunk-CENOOTAV.js';
77
- export { PEEK_RAIL_LABELS, PEEK_RAIL_MAX_WIDTH, PEEK_RAIL_MIN_WIDTH, PEEK_RAIL_WIDTH, PeekHost, PeekNeighbours, PeekRail, isPlainPress, peekClickHandler, peekRowActivation, usePeekNeighbours, usePeekOrder, usePeekStep } from './chunk-RFNPJDNS.js';
78
78
  export { PinTile } from './chunk-7XRAYILF.js';
79
79
  export { NewItemsNotice } from './chunk-NCQC5Y4E.js';
80
80
  export { FactLine, ObjectHeader, SetByLine } from './chunk-KZTR3V2P.js';
@@ -84,14 +84,13 @@ export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from './chunk-S2
84
84
  export { TreeGrid } from './chunk-X5YI6QLW.js';
85
85
  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';
86
86
  export { OrgLabel } from './chunk-DEVO45TG.js';
87
- export { MessageBubble } from './chunk-KAQ2L74F.js';
88
87
  export { MEMBER_PICKER_LABELS, MemberPicker, chosenMembers } from './chunk-GTS35WLS.js';
89
- export { MentionChip } from './chunk-SYOMUNKU.js';
90
88
  export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from './chunk-KTH2KXZY.js';
91
89
  export { PersonRow } from './chunk-XROJ6XQ3.js';
90
+ export { MentionChip } from './chunk-SYOMUNKU.js';
92
91
  export { MERGE_CONFLICTS_LABELS, MergeConflicts } from './chunk-SAHYQ53P.js';
93
92
  export { ActionDivider, MessageAction, MessageActions, QuickReaction } from './chunk-NHCY563I.js';
94
- export { ListDetail, ListDetailBack } from './chunk-DNBIBLT2.js';
93
+ export { MessageBubble } from './chunk-KAQ2L74F.js';
95
94
  export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from './chunk-DPNVKWJX.js';
96
95
  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';
97
96
  export { LogoSlot, LogoSlotGroup } from './chunk-4Q7AWZ6O.js';
@@ -101,13 +100,14 @@ export { AutoGrid, Inline, Spacer, Stack } from './chunk-ZAC7SKUN.js';
101
100
  export { Link } from './chunk-JZI7SIM6.js';
102
101
  export { LinkCard } from './chunk-346EXHOR.js';
103
102
  import './chunk-KOJPDCGQ.js';
104
- export { LinkInterstitial, openExternal } from './chunk-GFQNEGQP.js';
105
103
  export { List, ListItem } from './chunk-VY37HWFV.js';
104
+ export { LinkInterstitial, openExternal } from './chunk-XZQRJVOK.js';
105
+ export { ListDetail, ListDetailBack } from './chunk-DNBIBLT2.js';
106
106
  export { ListInput, withDraft } from './chunk-N4O345GS.js';
107
107
  export { INLINE_EDITOR_LABELS, InlineEditor } from './chunk-WMZ2MROV.js';
108
- export { InlineRef } from './chunk-YWEGWDWZ.js';
109
- export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdownClosesFence, markdownCodeText, markdownFenceOf, markdownHeadingOf, markdownInline, markdownLines, parseMarkdown, parseMarkdownSpans, safeHref } from './chunk-KBZO4B33.js';
110
108
  export { KeyValueRows, keyValueRowsLabels } from './chunk-Q7WKCU2U.js';
109
+ export { InlineRef } from './chunk-ACXYNJZR.js';
110
+ export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdownClosesFence, markdownCodeText, markdownFenceOf, markdownHeadingOf, markdownInline, markdownLines, parseMarkdown, parseMarkdownSpans, safeHref } from './chunk-KBZO4B33.js';
111
111
  export { Highlight, highlightRanges, highlightTerms } from './chunk-H6VKCIWV.js';
112
112
  import './chunk-MICRGE3J.js';
113
113
  import './chunk-FFMCMSJB.js';
@@ -115,7 +115,7 @@ export { IconTile } from './chunk-3LI4TRUR.js';
115
115
  export { ImageUpload } from './chunk-K6Y6CDEZ.js';
116
116
  export { INBOX_ROW_LEAVE, InboxGroup, InboxList, InboxMore, InboxRow, InboxToggle } from './chunk-MLSDZFBN.js';
117
117
  export { IndicatorAnchor } from './chunk-27MJPU7G.js';
118
- export { FileList } from './chunk-FQBSYMEW.js';
118
+ export { FileDrop, FilePickButton, droppedFiles, pickedFiles } from './chunk-XF5PDUDH.js';
119
119
  export { FILTER_CHIP_ATTRIBUTE, FilterChip, FilterChipGroup } from './chunk-L6HUVA33.js';
120
120
  export { FindingList } from './chunk-NEPNJMTD.js';
121
121
  export { FolderTile, describeFolderContents, folderContentsParts } from './chunk-PFZKJXEA.js';
@@ -128,13 +128,13 @@ export { EntityList } from './chunk-VRDLNMST.js';
128
128
  export { ErrorBoundary } from './chunk-H45TEWVU.js';
129
129
  export { Eyebrow } from './chunk-RK4XPHVG.js';
130
130
  export { FactList } from './chunk-OYV7BFRC.js';
131
- export { FileDrop, FilePickButton, droppedFiles, pickedFiles } from './chunk-XF5PDUDH.js';
131
+ export { FileList } from './chunk-FQBSYMEW.js';
132
132
  export { Divider } from './chunk-6KWNXIDE.js';
133
133
  export { DOC_TABS_EDITOR_LABELS, DocTabsEditor } from './chunk-CFMNGQMN.js';
134
134
  export { DockColumn } from './chunk-UXTW4GOT.js';
135
+ export { EditingStatus } from './chunk-KRF3GQ63.js';
135
136
  export { DownloadButton } from './chunk-GCRACVZO.js';
136
137
  export { downloadBlob, downloadText, safeFilename, useDownload } from './chunk-YNRKVY7X.js';
137
- export { EditingStatus } from './chunk-KRF3GQ63.js';
138
138
  export { EMOJI_GROUPS, EMOJI_GROUP_GLYPHS, EMOJI_PICKER_COLUMNS, EMOJI_PICKER_LABELS, EmojiPicker, emojiName, emojiOfShortcode, emojiShortcode, isShortcode, searchEmoji } from './chunk-YCKDBXHQ.js';
139
139
  export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from './chunk-OHXOUHTX.js';
140
140
  export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from './chunk-4Z3AGYOB.js';
@@ -162,14 +162,14 @@ export { HIGHLIGHT_REST_MS, TYPE_AHEAD_WINDOW, useHighlightRest, useListbox, use
162
162
  export { COMMENT_THREAD_LABELS, CommentThread } from './chunk-BF3PFRBE.js';
163
163
  export { CompactNav, CompactNavGroup, CompactNavItem, CompactNavSeparator, groupBadge, placeFlyout } from './chunk-QFI5C4YF.js';
164
164
  export { LockedLabel } from './chunk-TODOBUXO.js';
165
- export { ConfirmField, confirmMatches } from './chunk-WTIGL7MG.js';
166
- export { InlineCode } from './chunk-JNXPLFMX.js';
165
+ export { ConfirmField, confirmMatches } from './chunk-BODW4JH3.js';
166
+ export { InlineCode } from './chunk-PPGDH32L.js';
167
167
  export { CONFLICT_NOTE_LABELS, ConflictNote } from './chunk-DM3BTGBZ.js';
168
168
  export { Container } from './chunk-HJO4WCH6.js';
169
- export { CHIP_FIELD_LABELS, ChipField } from './chunk-YUW4DD2Z.js';
170
169
  export { ChoiceButtons } from './chunk-AHW3K3SH.js';
171
- export { ChoiceList } from './chunk-XU7RQNT6.js';
172
170
  export { ChoiceCards } from './chunk-FHPHRIPO.js';
171
+ export { CHIP_FIELD_LABELS, ChipField } from './chunk-YUW4DD2Z.js';
172
+ export { ChoiceList } from './chunk-XU7RQNT6.js';
173
173
  export { CodeBlock } from './chunk-Y7F23SAX.js';
174
174
  export { ColorChip } from './chunk-C6T4VBEY.js';
175
175
  export { ColorField } from './chunk-UQA7SV3B.js';
@@ -178,15 +178,15 @@ export { CopyButton, Copyable } from './chunk-AVK7RRQ4.js';
178
178
  export { useClipboard, writeClipboard } from './chunk-STJ7QBC3.js';
179
179
  export { useOutcome } from './chunk-DTIW4CHZ.js';
180
180
  import './chunk-3L5NHASN.js';
181
- export { ChatDay, ChatDayPill } from './chunk-RBQOS3JC.js';
182
181
  export { ActivityStrip, BarList, ChartEmpty, ChartTooltip, DATA_COLORS, DATA_COLOR_OTHER, Histogram, Legend, Sparkline, StackedBar, StackedColumns, TimeSeries, dataColor, histogramTicks, niceScale, useChartHover } from './chunk-MNTN5ESE.js';
182
+ export { ChatDay, ChatDayPill } from './chunk-RBQOS3JC.js';
183
183
  export { ChatDivider } from './chunk-EI242VTX.js';
184
184
  import './chunk-5QJNA7KD.js';
185
185
  export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from './chunk-KTKPC3CV.js';
186
186
  export { CHAT_MESSAGE_CLASS, CHAT_MESSAGE_FAILURE_LABELS, ChatMessage, ChatMessageFailure } from './chunk-Y3EV3Q2U.js';
187
187
  export { CheckGrid } from './chunk-AYLFZW27.js';
188
- 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-T3IY5XRT.js';
189
- export { Note } from './chunk-5SZGKSGL.js';
188
+ 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-5UNIA2VJ.js';
189
+ export { Note } from './chunk-YJPQJVRJ.js';
190
190
  export { CanvasSchematic } from './chunk-NBWNLYWZ.js';
191
191
  export { CanvasToolbar, toolForKey } from './chunk-T2FJN6C6.js';
192
192
  export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from './chunk-NPEI2QAN.js';
@@ -210,9 +210,9 @@ export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth,
210
210
  export { Callout } from './chunk-BPCY7ZID.js';
211
211
  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-GKHZSNIV.js';
212
212
  import './chunk-X4HBZSXA.js';
213
+ export { ASIDE_LAYOUT_SPLIT_REM, AsideLayout } from './chunk-7UQQEUOT.js';
213
214
  export { ATTACHMENT_CHIP_LABELS, AttachmentChip } from './chunk-GZSEIFWB.js';
214
215
  export { Tag } from './chunk-SJ3EUCFD.js';
215
- export { ArtifactNameCell } from './chunk-3SCASXQH.js';
216
216
  export { ATTENTION_LIST_LABELS, AttentionList } from './chunk-ABQTPJPW.js';
217
217
  export { AuthLayout } from './chunk-CVXQWNSM.js';
218
218
  export { AvatarPicker } from './chunk-YCT7LRYR.js';
@@ -233,14 +233,14 @@ export { Text } from './chunk-XLMURU75.js';
233
233
  import './chunk-WSIJDWUG.js';
234
234
  export { DashboardCover, DocCover, SHEET_COVER_COLUMNS, SHEET_COVER_ROWS, SheetCover } from './chunk-MMV7NEAC.js';
235
235
  export { Document, DocumentTitle, DocumentTitleField } from './chunk-I4PBFJGX.js';
236
- export { ArtifactKindGround, ArtifactKindIllustration, ArtifactKindTile } from './chunk-W3A6NBUM.js';
237
236
  export { ArtifactMakeRow } from './chunk-5EOOS2VG.js';
238
- export { ASIDE_LAYOUT_SPLIT_REM, AsideLayout } from './chunk-7UQQEUOT.js';
237
+ export { ArtifactKindGround, ArtifactKindIllustration, ArtifactKindTile } from './chunk-W3A6NBUM.js';
238
+ export { ArtifactNameCell } from './chunk-3SCASXQH.js';
239
239
  export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRailRow, AppShellRailStatus, AppShellToggle, AppShellTopbar, readStoredWidth, useAppShell, useScreenBelow, useScreenWidth, useStoredWidth } from './chunk-L6PGMA2K.js';
240
240
  export { afterMotion, releaseFocus, runningMotion, usePresence } from './chunk-SNKQNAJI.js';
241
241
  import './chunk-JLOESTT2.js';
242
- export { ArrangeBoard } from './chunk-QO7QEQKV.js';
243
242
  export { ArrangeFrame, useGridResize } from './chunk-FDMEQ73F.js';
243
+ export { ArrangeBoard } from './chunk-QO7QEQKV.js';
244
244
  export { ArrangeGrid } from './chunk-QBA5B2Z5.js';
245
245
  export { ArrangeGroup } from './chunk-N3WS3XDV.js';
246
246
  export { ArrangeList, DEFAULT_ARRANGE_LABELS } from './chunk-XVKTZ2AC.js';
@@ -266,14 +266,14 @@ export { ActivityLine } from './chunk-BG4GI5W3.js';
266
266
  export { BouncingDots, WORKING_LINE_LABELS, WorkingLine, workingAnnouncement, workingSentence } from './chunk-SFO4KY65.js';
267
267
  export { AvatarStack, avatarStackLabel } from './chunk-5SMYKL3D.js';
268
268
  export { AVATAR_CHARACTER_FULL_DETAIL, AVATAR_CORNER_RANGE, AVATAR_CORNER_RATIO, AVATAR_SIZES, AVATAR_STATUSES, AVATAR_STATUS_LABELS, Avatar, avatarCorner, avatarInitialsName, avatarPixels, avatarTint, getInitials } from './chunk-XZY6S3UC.js';
269
- export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from './chunk-QXBKUZG6.js';
269
+ export { AGENT_HANDOFF_LABELS, AgentHandoffPanel } from './chunk-NZFYX5UF.js';
270
270
  export { Timeline, TimelineItem } from './chunk-XDUXAQIS.js';
271
271
  export { Section } from './chunk-WFCWPXJN.js';
272
272
  export { COMPOSER_COUNTER_AT, Composer } from './chunk-YNREHSBZ.js';
273
273
  export { COARSE_POINTER_QUERY, FINE_POINTER_QUERY, SEND_KEYS_LABELS, SendKeysHint, isSendPress, sendKeysLabels, sendKeysWords, useSendOnEnter, useTouchKeyboard } from './chunk-UZMXC5T6.js';
274
274
  export { Disclosure } from './chunk-D5O64CVE.js';
275
- export { ARTIFACT_PANEL_LABELS, ArtifactPanel, ArtifactWorkspace } from './chunk-ZRKBPY6K.js';
276
- export { SIDE_PANEL_LABELS, SIDE_PANEL_MAX_WIDTH, SIDE_PANEL_MIN_WIDTH, SIDE_PANEL_WIDTH, SidePanel, SidePanelFrame } from './chunk-L73GQNAH.js';
275
+ export { ARTIFACT_PANEL_LABELS, ArtifactPanel, ArtifactWorkspace } from './chunk-6IBFWV6U.js';
276
+ export { SIDE_PANEL_LABELS, SIDE_PANEL_MAX_WIDTH, SIDE_PANEL_MIN_WIDTH, SIDE_PANEL_WIDTH, SidePanel, SidePanelFrame } from './chunk-O7V5AHLU.js';
277
277
  export { useAppShellAside, useAppShellPeek } from './chunk-MBEZOURR.js';
278
278
  export { RESIZE_HANDLE_LARGE_STEP, RESIZE_HANDLE_STEP, ResizeHandle, clampSize } from './chunk-FQ6J4DK7.js';
279
279
  export { FormField, FormRow, FormSection, Input, InputAffix, Label, ReadOnlyField, Textarea, foldLineBreaks } from './chunk-NN44J7BP.js';
package/dist/styles.css CHANGED
@@ -24364,7 +24364,7 @@ a.crewlet-icon-btn {
24364
24364
  }
24365
24365
 
24366
24366
 
24367
- /* InlineCode-3VXMQAFG.css */
24367
+ /* InlineCode-KQ5V6D6C.css */
24368
24368
  /*
24369
24369
  * One identifier inside a sentence: a mono chip on the inset surface.
24370
24370
  *
@@ -24428,6 +24428,14 @@ a.crewlet-icon-btn {
24428
24428
  color: inherit;
24429
24429
  }
24430
24430
 
24431
+ /* A whole chip and the punctuation around it are one atomic box, so a line
24432
+ never breaks between "(" and the chip (peelPunctuation). */
24433
+ .crewlet-inline-code-bound {
24434
+ display: inline-block;
24435
+ max-width: 100%;
24436
+ overflow-wrap: anywhere;
24437
+ }
24438
+
24431
24439
  /*
24432
24440
  * A short token read as one: an atomic box that moves to the next line whole,
24433
24441
  * and breaks inside only where no line can hold it (a nested list, a cell).
@@ -24524,7 +24532,7 @@ a.crewlet-icon-btn {
24524
24532
  }
24525
24533
 
24526
24534
 
24527
- /* InlineRef-VQ3OQROV.css */
24535
+ /* InlineRef-LHU6MH4I.css */
24528
24536
  /*
24529
24537
  * A reference inside a sentence (InlineRef.tsx): a mark a little below the
24530
24538
  * text's size, then its words, in the sentence's own ink unless it is a link.
@@ -24549,6 +24557,19 @@ a.crewlet-icon-btn {
24549
24557
  overflow-wrap: anywhere;
24550
24558
  }
24551
24559
 
24560
+ /* A reference and the punctuation around it are one atomic box, so a line
24561
+ never breaks between "(" and the reference (peelPunctuation). */
24562
+ .crewlet-inline-ref-bound {
24563
+ display: inline-block;
24564
+ max-width: 100%;
24565
+ overflow-wrap: anywhere;
24566
+ }
24567
+
24568
+ /* Punctuation inside a wrapping reference's head takes no link underline. */
24569
+ .crewlet-inline-ref__punct {
24570
+ display: inline-block;
24571
+ }
24572
+
24552
24573
  /* What follows the head breaks wherever it must, so an address's path (one
24553
24574
  unbroken word) wraps inside any box rather than running past it. */
24554
24575
  .crewlet-inline-ref__rest {
@@ -29916,7 +29937,7 @@ button.crewlet-mention-chip:focus-visible {
29916
29937
  }
29917
29938
 
29918
29939
 
29919
- /* Note-WI5MLZOO.css */
29940
+ /* Note-32YPRYY4.css */
29920
29941
  /*
29921
29942
  * Note: words on a coloured paper. Each hue pairs its fill with its own ink.
29922
29943
  */
@@ -29967,7 +29988,9 @@ button.crewlet-mention-chip:focus-visible {
29967
29988
  font-weight: var(--font-weight-semibold);
29968
29989
  letter-spacing: var(--font-letter-spacing-tight);
29969
29990
  line-height: var(--font-line-height-snug);
29970
- text-wrap: balance;
29991
+ /* A note is as wide as its column: its heading fills a line rather than
29992
+ evening two out of it. */
29993
+ text-wrap: pretty;
29971
29994
  }
29972
29995
 
29973
29996
  /* Prose inside takes the note's ink, links included. */
@@ -33612,7 +33635,7 @@ button.crewlet-presence-stack__member:focus-visible {
33612
33635
  }
33613
33636
 
33614
33637
 
33615
- /* ReadingPane-VFTRDPC5.css */
33638
+ /* ReadingPane-POH66FU7.css */
33616
33639
  /*
33617
33640
  * One item read in full, in one column.
33618
33641
  *
@@ -33707,7 +33730,9 @@ button.crewlet-presence-stack__member:focus-visible {
33707
33730
  font-weight: var(--font-weight-semibold);
33708
33731
  line-height: var(--font-line-height-tight);
33709
33732
  letter-spacing: var(--font-letter-spacing-snug);
33710
- text-wrap: balance;
33733
+ /* It fills its first line, and only keeps a last word from standing alone:
33734
+ balanced, a question's lines were evened out of the width it had. */
33735
+ text-wrap: pretty;
33711
33736
  overflow-wrap: anywhere;
33712
33737
  color: var(--color-text-primary);
33713
33738
  }
@@ -38605,7 +38630,7 @@ svg.crewlet-select__chevron {
38605
38630
  }
38606
38631
 
38607
38632
 
38608
- /* SidePanel-3WPM56Y2.css */
38633
+ /* SidePanel-H3OHQAJH.css */
38609
38634
  /*
38610
38635
  * A side panel and the frame that lays it beside the content or over it
38611
38636
  * (`SidePanel`, `SidePanelFrame`, and their artifact presets).
@@ -38660,11 +38685,14 @@ svg.crewlet-select__chevron {
38660
38685
  background: var(--color-surface-background);
38661
38686
  }
38662
38687
 
38663
- /* IN THE SHELL'S ASIDE the panel fills the aside's sheet, which draws the
38664
- edge, the corner and the ground, and whose track is the width. */
38688
+ /* FILLING: in the shell's aside, or as a list's detail (`fill`), the panel
38689
+ fills the box its host gives it, width and height, and its body scrolls
38690
+ inside; the host draws the edge, the corner and the ground. */
38665
38691
  .crewlet-side-panel--fill {
38666
38692
  flex: 1 1 auto;
38693
+ align-self: stretch;
38667
38694
  width: auto;
38695
+ min-width: 0;
38668
38696
  border-left: 0;
38669
38697
  background: transparent;
38670
38698
  }
@@ -1,4 +1,6 @@
1
1
  export { cx } from './cx.js';
2
+ export { peelPunctuation } from './punctuation.js';
3
+ export type { PeeledPunctuation } from './punctuation.js';
2
4
  export { SECRET_INPUT_PROPS } from './secretInput.js';
3
5
  export { attachRef, composeRefs, useComposedRef } from './composedRef.js';
4
6
  export { tokenMs } from './tokenMs.js';
@@ -1,4 +1,4 @@
1
- export { ElementToPngError, elementToPng, parseCsv, serializeElement, toCsv } from '../chunk-YHDJ22UB.js';
1
+ export { ElementToPngError, elementToPng, parseCsv, peelPunctuation, serializeElement, toCsv } from '../chunk-BALBOOKX.js';
2
2
  export { downloadBlob, downloadText, safeFilename, useDownload } from '../chunk-YNRKVY7X.js';
3
3
  export { useClipboard, writeClipboard } from '../chunk-STJ7QBC3.js';
4
4
  export { useOutcome } from '../chunk-DTIW4CHZ.js';
@@ -0,0 +1,17 @@
1
+ export interface PeeledPunctuation {
2
+ /** The words before the token, less what opens around it. */
3
+ before: string;
4
+ /** What opens around the token: the end of `before` it was peeled from. */
5
+ open: string;
6
+ /** What closes around the token: the start of `after` it was peeled from. */
7
+ close: string;
8
+ /** The words after the token, less what closes around it. */
9
+ after: string;
10
+ }
11
+ /**
12
+ * Splits the punctuation that opens and closes around a token off the words
13
+ * on either side of it. An opening run is peeled only where it starts a word
14
+ * (after a space, or at the start), and a closing run only where it ends one
15
+ * (before a space, or at the end): the apostrophe in "ENG-42's" stays a word's.
16
+ */
17
+ export declare function peelPunctuation(before: string, after: string): PeeledPunctuation;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crewlethq/ui",
3
- "version": "0.119.2",
3
+ "version": "0.120.1",
4
4
  "description": "Crewlet shared React components built on @crewlethq/tokens and @crewlethq/icons.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -42,8 +42,8 @@
42
42
  "clean": "rm -rf dist src/generated"
43
43
  },
44
44
  "dependencies": {
45
- "@crewlethq/icons": "0.119.2",
46
- "@crewlethq/tokens": "0.119.2",
45
+ "@crewlethq/icons": "0.120.1",
46
+ "@crewlethq/tokens": "0.120.1",
47
47
  "prosemirror-commands": "1.7.2",
48
48
  "prosemirror-gapcursor": "1.4.1",
49
49
  "prosemirror-history": "1.5.1",