@crewlethq/ui 0.120.0 → 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.
- package/dist/CanvasBoard/index.js +2 -2
- package/dist/ConfirmField/index.js +2 -2
- package/dist/DeepWorkCard/index.js +2 -2
- package/dist/InlineCode/InlineCode.d.ts +8 -1
- package/dist/InlineCode/index.js +1 -1
- package/dist/{InlineCode-3VXMQAFG.css → InlineCode-KQ5V6D6C.css} +8 -0
- package/dist/InlineRef/InlineRef.d.ts +8 -1
- package/dist/InlineRef/index.js +1 -1
- package/dist/{InlineRef-VQ3OQROV.css → InlineRef-LHU6MH4I.css} +13 -0
- package/dist/LinkInterstitial/index.js +2 -2
- package/dist/Note/index.js +1 -1
- package/dist/{Note-WI5MLZOO.css → Note-32YPRYY4.css} +3 -1
- package/dist/OrgTable/index.js +1 -1
- package/dist/ReadingPane/ReadingPane.d.ts +4 -0
- package/dist/ReadingPane/index.js +1 -1
- package/dist/{ReadingPane-VFTRDPC5.css → ReadingPane-POH66FU7.css} +3 -1
- package/dist/RichEditor/index.js +1 -1
- package/dist/{chunk-ENYHABQJ.js → chunk-3RKS3DLF.js} +1 -1
- package/dist/{chunk-T3IY5XRT.js → chunk-5UNIA2VJ.js} +1 -1
- package/dist/{chunk-64JNKLLP.js → chunk-75QU5C3I.js} +16 -1
- package/dist/{chunk-YWEGWDWZ.js → chunk-ACXYNJZR.js} +21 -6
- package/dist/{chunk-YHDJ22UB.js → chunk-BALBOOKX.js} +22 -1
- package/dist/{chunk-WTIGL7MG.js → chunk-BODW4JH3.js} +1 -1
- package/dist/{chunk-JNXPLFMX.js → chunk-PPGDH32L.js} +17 -2
- package/dist/{chunk-GFQNEGQP.js → chunk-XZQRJVOK.js} +1 -1
- package/dist/{chunk-5SZGKSGL.js → chunk-YJPQJVRJ.js} +1 -1
- package/dist/generated/index.js +34 -34
- package/dist/index.js +34 -34
- package/dist/styles.css +31 -6
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.js +1 -1
- package/dist/utils/punctuation.d.ts +17 -0
- package/package.json +3 -3
- package/dist/{Editor-SBHTMAEK.js → Editor-JCAYNXQX.js} +1 -1
- package/dist/{chunk-P42LNYRX.js → chunk-4Z3AGYOB.js} +1 -1
|
@@ -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-
|
|
2
|
-
import '../chunk-
|
|
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-
|
|
2
|
-
import '../chunk-
|
|
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';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from '../chunk-
|
|
1
|
+
export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from '../chunk-4Z3AGYOB.js';
|
|
2
2
|
import '../chunk-EHD4CEHK.js';
|
|
3
|
-
import '../chunk-MXOT2CWL.js';
|
|
4
3
|
import '../chunk-TMHG4576.js';
|
|
4
|
+
import '../chunk-MXOT2CWL.js';
|
|
5
5
|
import '../chunk-7L75YB57.js';
|
|
6
6
|
import '../chunk-SJ3EUCFD.js';
|
|
7
7
|
import '../chunk-3C3TSWRR.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;
|
package/dist/InlineCode/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { InlineCode } from '../chunk-
|
|
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;
|
package/dist/InlineRef/index.js
CHANGED
|
@@ -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-
|
|
1
|
+
export { LinkInterstitial, openExternal } from '../chunk-XZQRJVOK.js';
|
|
2
2
|
import '../chunk-OG4GX2TB.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-PPGDH32L.js';
|
|
4
4
|
import '../chunk-BPCY7ZID.js';
|
|
5
5
|
import '../chunk-M2M6ZD7P.js';
|
|
6
6
|
import '../chunk-XSPCITPN.js';
|
package/dist/Note/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Note } from '../chunk-
|
|
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
|
-
|
|
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. */
|
package/dist/OrgTable/index.js
CHANGED
|
@@ -9,9 +9,9 @@ import '../chunk-WSIJDWUG.js';
|
|
|
9
9
|
import '../chunk-JMBPMSNI.js';
|
|
10
10
|
import '../chunk-KFTVPWG2.js';
|
|
11
11
|
import '../chunk-PPUR46MK.js';
|
|
12
|
+
import '../chunk-5W3EYO5Q.js';
|
|
12
13
|
import '../chunk-5SMYKL3D.js';
|
|
13
14
|
import '../chunk-XZY6S3UC.js';
|
|
14
|
-
import '../chunk-5W3EYO5Q.js';
|
|
15
15
|
import '../chunk-NN44J7BP.js';
|
|
16
16
|
import '../chunk-NICEDVZM.js';
|
|
17
17
|
import '../chunk-JLKO7PSK.js';
|
|
@@ -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-
|
|
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
|
-
|
|
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
|
}
|
package/dist/RichEditor/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { RichEditor, preloadRichEditor } from '../chunk-
|
|
1
|
+
export { RichEditor, preloadRichEditor } from '../chunk-3RKS3DLF.js';
|
|
2
2
|
export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
|
|
3
3
|
import '../chunk-KOJPDCGQ.js';
|
|
4
4
|
import '../chunk-KBZO4B33.js';
|
|
@@ -9,7 +9,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
9
9
|
var engine = null;
|
|
10
10
|
var loading = null;
|
|
11
11
|
function loadEngine() {
|
|
12
|
-
loading ??= import('./Editor-
|
|
12
|
+
loading ??= import('./Editor-JCAYNXQX.js').then(
|
|
13
13
|
(module) => {
|
|
14
14
|
engine = module.Editor;
|
|
15
15
|
return engine;
|
|
@@ -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-
|
|
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-
|
|
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
|
-
|
|
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,5 +1,5 @@
|
|
|
1
1
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
2
|
-
import './InlineCode-
|
|
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
|
-
|
|
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-
|
|
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';
|
package/dist/generated/index.js
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import '../chunk-33NGH63Z.js';
|
|
2
|
-
export { ElementToPngError, elementToPng, parseCsv, serializeElement, toCsv } from '../chunk-
|
|
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 {
|
|
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 {
|
|
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,53 +15,55 @@ 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 {
|
|
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
|
-
export { SlideFilmstrip } from '../chunk-L3PK6KON.js';
|
|
27
26
|
export { SlideGrid } from '../chunk-73L3774J.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 {
|
|
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
34
|
import '../chunk-ZZMXJTII.js';
|
|
36
35
|
export { SLIDE_COMPARE_LABELS, SlideCompare } from '../chunk-FSCJV5M5.js';
|
|
37
|
-
export {
|
|
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 {
|
|
44
|
-
export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
|
|
42
|
+
export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from '../chunk-YJ2V7QSY.js';
|
|
45
43
|
export { RUN_STATES, RunChip } from '../chunk-L6SYLG3F.js';
|
|
46
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';
|
|
56
54
|
export { canonicalMarkdown, roundTripMarkdown } from '../chunk-GBASM5EV.js';
|
|
57
55
|
import '../chunk-7CSTEH5I.js';
|
|
56
|
+
export { RichEditor, preloadRichEditor } from '../chunk-3RKS3DLF.js';
|
|
57
|
+
export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
|
|
58
58
|
export { PropertyList } from '../chunk-65AMIQSW.js';
|
|
59
59
|
export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from '../chunk-OBPLHZMV.js';
|
|
60
60
|
export { Prose } from '../chunk-DVVP27OD.js';
|
|
61
|
+
export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } from '../chunk-Y56FM3K4.js';
|
|
61
62
|
export { RAIL_LIST_LABELS, RailList } from '../chunk-5PHBOCIX.js';
|
|
62
63
|
export { Select } from '../chunk-AYVRS4LD.js';
|
|
63
64
|
export { NavDivider, NavGroup, NavItem, SidebarNav } from '../chunk-SM2MM4DQ.js';
|
|
64
|
-
export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } from '../chunk-Y56FM3K4.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-
|
|
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,13 +72,13 @@ 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
|
-
export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from '../chunk-75O3HCCD.js';
|
|
81
80
|
export { FactLine, ObjectHeader, SetByLine } from '../chunk-KZTR3V2P.js';
|
|
81
|
+
export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from '../chunk-75O3HCCD.js';
|
|
82
82
|
export { OrgNodeDisclosure, OrgNodeLabel, OrgNodeLead } from '../chunk-5AORKQ5Q.js';
|
|
83
83
|
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-S2ZUAI6C.js';
|
|
84
84
|
export { TreeGrid } from '../chunk-X5YI6QLW.js';
|
|
@@ -100,14 +100,14 @@ export { AutoGrid, Inline, Spacer, Stack } from '../chunk-ZAC7SKUN.js';
|
|
|
100
100
|
export { Link } from '../chunk-JZI7SIM6.js';
|
|
101
101
|
export { LinkCard } from '../chunk-346EXHOR.js';
|
|
102
102
|
import '../chunk-KOJPDCGQ.js';
|
|
103
|
-
export { LinkInterstitial, openExternal } from '../chunk-GFQNEGQP.js';
|
|
104
103
|
export { List, ListItem } from '../chunk-VY37HWFV.js';
|
|
104
|
+
export { LinkInterstitial, openExternal } from '../chunk-XZQRJVOK.js';
|
|
105
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 {
|
|
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,23 +128,23 @@ 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 {
|
|
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
|
-
export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from '../chunk-
|
|
140
|
+
export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from '../chunk-4Z3AGYOB.js';
|
|
141
141
|
export { STEP_STATES, STEP_STATE_LABELS, StepList, StepStateMark, Stepper, stepDetailPieces } from '../chunk-EHD4CEHK.js';
|
|
142
|
-
export { DEFAULT_METER_THRESHOLDS, METER_STATES, Meter, meterState, meterStateTone, meterTone, progressTone } from '../chunk-MXOT2CWL.js';
|
|
143
142
|
export { REFUSAL_STRIP_LABELS, ReceiptStrip, RefusalStrip } from '../chunk-TMHG4576.js';
|
|
143
|
+
export { DEFAULT_METER_THRESHOLDS, METER_STATES, Meter, meterState, meterStateTone, meterTone, progressTone } from '../chunk-MXOT2CWL.js';
|
|
144
144
|
export { DELIVERY_RECEIPT_LABELS, DeliveryReceipt } from '../chunk-WNPKXYDJ.js';
|
|
145
145
|
export { DescriptionList, DescriptionListItem } from '../chunk-LH4OF7FI.js';
|
|
146
|
-
export { DirectoryList } from '../chunk-5KTLQ436.js';
|
|
147
146
|
export { DIFF_SUMMARY_LABELS, DIFF_VIEW_LABELS, DiffSummary, DiffView, MAX_DIFF_LINES, collapseDiff, diffLines, diffStat, firstChangedLines, splitLines } from '../chunk-U3LHWQQK.js';
|
|
147
|
+
export { DirectoryList } from '../chunk-5KTLQ436.js';
|
|
148
148
|
export { ContrastHelp } from '../chunk-SIL5WE55.js';
|
|
149
149
|
export { ContrastBadge, ContrastLevelTag, contrastLevel, contrastRatio, formatContrastRatio } from '../chunk-3YOLD7WG.js';
|
|
150
150
|
export { CursorFlag } from '../chunk-MMCYH5LB.js';
|
|
@@ -159,15 +159,16 @@ export { Combobox } from '../chunk-WUJ54OTI.js';
|
|
|
159
159
|
export { CommandPalette } from '../chunk-L34X7Q6C.js';
|
|
160
160
|
export { ConfirmModal, Modal } from '../chunk-OG4GX2TB.js';
|
|
161
161
|
export { HIGHLIGHT_REST_MS, TYPE_AHEAD_WINDOW, useHighlightRest, useListbox, useOptionKeys } from '../chunk-KW7T23RT.js';
|
|
162
|
+
export { COMMENT_THREAD_LABELS, CommentThread } from '../chunk-BF3PFRBE.js';
|
|
162
163
|
export { CompactNav, CompactNavGroup, CompactNavItem, CompactNavSeparator, groupBadge, placeFlyout } from '../chunk-QFI5C4YF.js';
|
|
163
164
|
export { LockedLabel } from '../chunk-TODOBUXO.js';
|
|
164
|
-
export {
|
|
165
|
-
export {
|
|
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
169
|
export { ChoiceButtons } from '../chunk-AHW3K3SH.js';
|
|
170
170
|
export { ChoiceCards } from '../chunk-FHPHRIPO.js';
|
|
171
|
+
export { CHIP_FIELD_LABELS, ChipField } from '../chunk-YUW4DD2Z.js';
|
|
171
172
|
export { ChoiceList } from '../chunk-XU7RQNT6.js';
|
|
172
173
|
export { CodeBlock } from '../chunk-Y7F23SAX.js';
|
|
173
174
|
export { ColorChip } from '../chunk-C6T4VBEY.js';
|
|
@@ -184,9 +185,8 @@ import '../chunk-5QJNA7KD.js';
|
|
|
184
185
|
export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from '../chunk-KTKPC3CV.js';
|
|
185
186
|
export { CHAT_MESSAGE_CLASS, CHAT_MESSAGE_FAILURE_LABELS, ChatMessage, ChatMessageFailure } from '../chunk-Y3EV3Q2U.js';
|
|
186
187
|
export { CheckGrid } from '../chunk-AYLFZW27.js';
|
|
187
|
-
export {
|
|
188
|
-
export {
|
|
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';
|
|
@@ -233,15 +233,15 @@ 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';
|
|
237
|
+
export { ArtifactKindGround, ArtifactKindIllustration, ArtifactKindTile } from '../chunk-W3A6NBUM.js';
|
|
238
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 { ArrangeFrame, useGridResize } from '../chunk-FDMEQ73F.js';
|
|
242
243
|
export { ArrangeBoard } from '../chunk-QO7QEQKV.js';
|
|
243
244
|
export { ArrangeGrid } from '../chunk-QBA5B2Z5.js';
|
|
244
|
-
export { ArrangeFrame, useGridResize } from '../chunk-FDMEQ73F.js';
|
|
245
245
|
export { ArrangeGroup } from '../chunk-N3WS3XDV.js';
|
|
246
246
|
export { ArrangeList, DEFAULT_ARRANGE_LABELS } from '../chunk-XVKTZ2AC.js';
|
|
247
247
|
export { Switch } from '../chunk-6YYRFGXO.js';
|
|
@@ -261,11 +261,11 @@ export { ACCESS_DENIED_REASONS, AccessDeniedCard } from '../chunk-QTMUKRTN.js';
|
|
|
261
261
|
export { EmptyState } from '../chunk-PPUR46MK.js';
|
|
262
262
|
export { Accordion, AccordionItem } from '../chunk-3QEAANRP.js';
|
|
263
263
|
export { ACTION_CARD_GROUND, ActionCard, ActionCardRow } from '../chunk-OM2LABPS.js';
|
|
264
|
+
export { ADD_PILL_MS, AddPill } from '../chunk-5W3EYO5Q.js';
|
|
264
265
|
export { ActivityLine } from '../chunk-BG4GI5W3.js';
|
|
265
266
|
export { BouncingDots, WORKING_LINE_LABELS, WorkingLine, workingAnnouncement, workingSentence } from '../chunk-SFO4KY65.js';
|
|
266
267
|
export { AvatarStack, avatarStackLabel } from '../chunk-5SMYKL3D.js';
|
|
267
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';
|
|
268
|
-
export { ADD_PILL_MS, AddPill } from '../chunk-5W3EYO5Q.js';
|
|
269
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';
|
package/dist/index.js
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import './chunk-33NGH63Z.js';
|
|
2
|
-
export { ElementToPngError, elementToPng, parseCsv, serializeElement, toCsv } from './chunk-
|
|
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 {
|
|
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 {
|
|
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,53 +15,55 @@ 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 {
|
|
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
|
-
export { SlideFilmstrip } from './chunk-L3PK6KON.js';
|
|
27
26
|
export { SlideGrid } from './chunk-73L3774J.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 {
|
|
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
34
|
import './chunk-ZZMXJTII.js';
|
|
36
35
|
export { SLIDE_COMPARE_LABELS, SlideCompare } from './chunk-FSCJV5M5.js';
|
|
37
|
-
export {
|
|
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 {
|
|
44
|
-
export { RICH_EDITOR_LABELS, richEditorLabels } from './chunk-2DMTW2Y3.js';
|
|
42
|
+
export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from './chunk-YJ2V7QSY.js';
|
|
45
43
|
export { RUN_STATES, RunChip } from './chunk-L6SYLG3F.js';
|
|
46
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';
|
|
56
54
|
export { canonicalMarkdown, roundTripMarkdown } from './chunk-GBASM5EV.js';
|
|
57
55
|
import './chunk-7CSTEH5I.js';
|
|
56
|
+
export { RichEditor, preloadRichEditor } from './chunk-3RKS3DLF.js';
|
|
57
|
+
export { RICH_EDITOR_LABELS, richEditorLabels } from './chunk-2DMTW2Y3.js';
|
|
58
58
|
export { PropertyList } from './chunk-65AMIQSW.js';
|
|
59
59
|
export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from './chunk-OBPLHZMV.js';
|
|
60
60
|
export { Prose } from './chunk-DVVP27OD.js';
|
|
61
|
+
export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } from './chunk-Y56FM3K4.js';
|
|
61
62
|
export { RAIL_LIST_LABELS, RailList } from './chunk-5PHBOCIX.js';
|
|
62
63
|
export { Select } from './chunk-AYVRS4LD.js';
|
|
63
64
|
export { NavDivider, NavGroup, NavItem, SidebarNav } from './chunk-SM2MM4DQ.js';
|
|
64
|
-
export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } from './chunk-Y56FM3K4.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-
|
|
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,13 +72,13 @@ 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
|
-
export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from './chunk-75O3HCCD.js';
|
|
81
80
|
export { FactLine, ObjectHeader, SetByLine } from './chunk-KZTR3V2P.js';
|
|
81
|
+
export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from './chunk-75O3HCCD.js';
|
|
82
82
|
export { OrgNodeDisclosure, OrgNodeLabel, OrgNodeLead } from './chunk-5AORKQ5Q.js';
|
|
83
83
|
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from './chunk-S2ZUAI6C.js';
|
|
84
84
|
export { TreeGrid } from './chunk-X5YI6QLW.js';
|
|
@@ -100,14 +100,14 @@ export { AutoGrid, Inline, Spacer, Stack } from './chunk-ZAC7SKUN.js';
|
|
|
100
100
|
export { Link } from './chunk-JZI7SIM6.js';
|
|
101
101
|
export { LinkCard } from './chunk-346EXHOR.js';
|
|
102
102
|
import './chunk-KOJPDCGQ.js';
|
|
103
|
-
export { LinkInterstitial, openExternal } from './chunk-GFQNEGQP.js';
|
|
104
103
|
export { List, ListItem } from './chunk-VY37HWFV.js';
|
|
104
|
+
export { LinkInterstitial, openExternal } from './chunk-XZQRJVOK.js';
|
|
105
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 {
|
|
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,23 +128,23 @@ 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 {
|
|
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
|
-
export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from './chunk-
|
|
140
|
+
export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from './chunk-4Z3AGYOB.js';
|
|
141
141
|
export { STEP_STATES, STEP_STATE_LABELS, StepList, StepStateMark, Stepper, stepDetailPieces } from './chunk-EHD4CEHK.js';
|
|
142
|
-
export { DEFAULT_METER_THRESHOLDS, METER_STATES, Meter, meterState, meterStateTone, meterTone, progressTone } from './chunk-MXOT2CWL.js';
|
|
143
142
|
export { REFUSAL_STRIP_LABELS, ReceiptStrip, RefusalStrip } from './chunk-TMHG4576.js';
|
|
143
|
+
export { DEFAULT_METER_THRESHOLDS, METER_STATES, Meter, meterState, meterStateTone, meterTone, progressTone } from './chunk-MXOT2CWL.js';
|
|
144
144
|
export { DELIVERY_RECEIPT_LABELS, DeliveryReceipt } from './chunk-WNPKXYDJ.js';
|
|
145
145
|
export { DescriptionList, DescriptionListItem } from './chunk-LH4OF7FI.js';
|
|
146
|
-
export { DirectoryList } from './chunk-5KTLQ436.js';
|
|
147
146
|
export { DIFF_SUMMARY_LABELS, DIFF_VIEW_LABELS, DiffSummary, DiffView, MAX_DIFF_LINES, collapseDiff, diffLines, diffStat, firstChangedLines, splitLines } from './chunk-U3LHWQQK.js';
|
|
147
|
+
export { DirectoryList } from './chunk-5KTLQ436.js';
|
|
148
148
|
export { ContrastHelp } from './chunk-SIL5WE55.js';
|
|
149
149
|
export { ContrastBadge, ContrastLevelTag, contrastLevel, contrastRatio, formatContrastRatio } from './chunk-3YOLD7WG.js';
|
|
150
150
|
export { CursorFlag } from './chunk-MMCYH5LB.js';
|
|
@@ -159,15 +159,16 @@ export { Combobox } from './chunk-WUJ54OTI.js';
|
|
|
159
159
|
export { CommandPalette } from './chunk-L34X7Q6C.js';
|
|
160
160
|
export { ConfirmModal, Modal } from './chunk-OG4GX2TB.js';
|
|
161
161
|
export { HIGHLIGHT_REST_MS, TYPE_AHEAD_WINDOW, useHighlightRest, useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
|
|
162
|
+
export { COMMENT_THREAD_LABELS, CommentThread } from './chunk-BF3PFRBE.js';
|
|
162
163
|
export { CompactNav, CompactNavGroup, CompactNavItem, CompactNavSeparator, groupBadge, placeFlyout } from './chunk-QFI5C4YF.js';
|
|
163
164
|
export { LockedLabel } from './chunk-TODOBUXO.js';
|
|
164
|
-
export {
|
|
165
|
-
export {
|
|
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
169
|
export { ChoiceButtons } from './chunk-AHW3K3SH.js';
|
|
170
170
|
export { ChoiceCards } from './chunk-FHPHRIPO.js';
|
|
171
|
+
export { CHIP_FIELD_LABELS, ChipField } from './chunk-YUW4DD2Z.js';
|
|
171
172
|
export { ChoiceList } from './chunk-XU7RQNT6.js';
|
|
172
173
|
export { CodeBlock } from './chunk-Y7F23SAX.js';
|
|
173
174
|
export { ColorChip } from './chunk-C6T4VBEY.js';
|
|
@@ -184,9 +185,8 @@ import './chunk-5QJNA7KD.js';
|
|
|
184
185
|
export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from './chunk-KTKPC3CV.js';
|
|
185
186
|
export { CHAT_MESSAGE_CLASS, CHAT_MESSAGE_FAILURE_LABELS, ChatMessage, ChatMessageFailure } from './chunk-Y3EV3Q2U.js';
|
|
186
187
|
export { CheckGrid } from './chunk-AYLFZW27.js';
|
|
187
|
-
export {
|
|
188
|
-
export {
|
|
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';
|
|
@@ -233,15 +233,15 @@ 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';
|
|
237
|
+
export { ArtifactKindGround, ArtifactKindIllustration, ArtifactKindTile } from './chunk-W3A6NBUM.js';
|
|
238
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 { ArrangeFrame, useGridResize } from './chunk-FDMEQ73F.js';
|
|
242
243
|
export { ArrangeBoard } from './chunk-QO7QEQKV.js';
|
|
243
244
|
export { ArrangeGrid } from './chunk-QBA5B2Z5.js';
|
|
244
|
-
export { ArrangeFrame, useGridResize } from './chunk-FDMEQ73F.js';
|
|
245
245
|
export { ArrangeGroup } from './chunk-N3WS3XDV.js';
|
|
246
246
|
export { ArrangeList, DEFAULT_ARRANGE_LABELS } from './chunk-XVKTZ2AC.js';
|
|
247
247
|
export { Switch } from './chunk-6YYRFGXO.js';
|
|
@@ -261,11 +261,11 @@ export { ACCESS_DENIED_REASONS, AccessDeniedCard } from './chunk-QTMUKRTN.js';
|
|
|
261
261
|
export { EmptyState } from './chunk-PPUR46MK.js';
|
|
262
262
|
export { Accordion, AccordionItem } from './chunk-3QEAANRP.js';
|
|
263
263
|
export { ACTION_CARD_GROUND, ActionCard, ActionCardRow } from './chunk-OM2LABPS.js';
|
|
264
|
+
export { ADD_PILL_MS, AddPill } from './chunk-5W3EYO5Q.js';
|
|
264
265
|
export { ActivityLine } from './chunk-BG4GI5W3.js';
|
|
265
266
|
export { BouncingDots, WORKING_LINE_LABELS, WorkingLine, workingAnnouncement, workingSentence } from './chunk-SFO4KY65.js';
|
|
266
267
|
export { AvatarStack, avatarStackLabel } from './chunk-5SMYKL3D.js';
|
|
267
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';
|
|
268
|
-
export { ADD_PILL_MS, AddPill } from './chunk-5W3EYO5Q.js';
|
|
269
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';
|
package/dist/styles.css
CHANGED
|
@@ -24364,7 +24364,7 @@ a.crewlet-icon-btn {
|
|
|
24364
24364
|
}
|
|
24365
24365
|
|
|
24366
24366
|
|
|
24367
|
-
/* InlineCode-
|
|
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-
|
|
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-
|
|
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
|
-
|
|
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-
|
|
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
|
-
|
|
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
|
}
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -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';
|
package/dist/utils/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ElementToPngError, elementToPng, parseCsv, serializeElement, toCsv } from '../chunk-
|
|
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.120.
|
|
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.120.
|
|
46
|
-
"@crewlethq/tokens": "0.120.
|
|
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",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { richEditorLabels } from './chunk-2DMTW2Y3.js';
|
|
2
1
|
import { schema, readMarkdown, writeMarkdown } from './chunk-7CSTEH5I.js';
|
|
2
|
+
import { richEditorLabels } from './chunk-2DMTW2Y3.js';
|
|
3
3
|
import './chunk-KOJPDCGQ.js';
|
|
4
4
|
import { safeHref, MARKDOWN_CALLOUT_TONES } from './chunk-KBZO4B33.js';
|
|
5
5
|
import { Toolbar } from './chunk-NPEI2QAN.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StepList } from './chunk-EHD4CEHK.js';
|
|
2
|
-
import { Meter } from './chunk-MXOT2CWL.js';
|
|
3
2
|
import { ReceiptStrip } from './chunk-TMHG4576.js';
|
|
3
|
+
import { Meter } from './chunk-MXOT2CWL.js';
|
|
4
4
|
import { StatusCard } from './chunk-7L75YB57.js';
|
|
5
5
|
import { Disclosure } from './chunk-D5O64CVE.js';
|
|
6
6
|
import { Spinner } from './chunk-XSPCITPN.js';
|