@crewlethq/ui 0.120.0 → 0.121.0
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/AvatarPicker/index.js +2 -2
- 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/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 +37 -37
- package/dist/index.js +37 -37
- 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
- package/dist/{chunk-YCT7LRYR.js → chunk-JWUIGUIS.js} +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { AvatarPicker } from '../chunk-
|
|
1
|
+
export { AvatarPicker } from '../chunk-JWUIGUIS.js';
|
|
2
2
|
import '../chunk-5P6LLFEO.js';
|
|
3
3
|
import '../chunk-KDRJZWE3.js';
|
|
4
|
-
import '../chunk-S4JRQJEP.js';
|
|
5
4
|
import '../chunk-AYKXMIOR.js';
|
|
5
|
+
import '../chunk-S4JRQJEP.js';
|
|
6
6
|
import '../chunk-4PKMM3EZ.js';
|
|
7
7
|
import '../chunk-GIYIKUJE.js';
|
|
8
8
|
import '../chunk-EGMQURBR.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-
|
|
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. */
|
|
@@ -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,8 +1,8 @@
|
|
|
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';
|
|
5
|
+
export { TypeSpecimen } from '../chunk-JKAFEFFC.js';
|
|
6
6
|
export { VersionTimeline } from '../chunk-RM5RKPFV.js';
|
|
7
7
|
export { WidgetFrame } from '../chunk-5ZTH54O6.js';
|
|
8
8
|
export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from '../chunk-SG3MDOVO.js';
|
|
@@ -15,8 +15,8 @@ export { ThemeToggle } from '../chunk-5RXY2RL4.js';
|
|
|
15
15
|
export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from '../chunk-Z24ZUSTX.js';
|
|
16
16
|
export { ThinkingIndicator } from '../chunk-DX7ZHO47.js';
|
|
17
17
|
export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from '../chunk-I5HJ6Y6E.js';
|
|
18
|
-
export { TileGrid } from '../chunk-UFID3DSP.js';
|
|
19
18
|
export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from '../chunk-MVXQ74TB.js';
|
|
19
|
+
export { TileGrid } from '../chunk-UFID3DSP.js';
|
|
20
20
|
export { Switcher } from '../chunk-I4FO353C.js';
|
|
21
21
|
export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from '../chunk-V3ZKGVC2.js';
|
|
22
22
|
export { TagsInput } from '../chunk-A5VNNA3V.js';
|
|
@@ -37,57 +37,57 @@ export { SLIDE_COMPARE_LABELS, SlideCompare } from '../chunk-FSCJV5M5.js';
|
|
|
37
37
|
export { SegmentedMeter, segmentedMeterLabel } from '../chunk-4AK52VHB.js';
|
|
38
38
|
export { SelectionBar } from '../chunk-XIKU44QE.js';
|
|
39
39
|
export { SEND_BUTTON_LABELS, SendButton } from '../chunk-PNSUXNNY.js';
|
|
40
|
-
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 {
|
|
45
|
-
|
|
42
|
+
export { SettingsTable, SettingsTableRow } from '../chunk-SOYPCCSJ.js';
|
|
43
|
+
export { canonicalMarkdown, roundTripMarkdown } from '../chunk-GBASM5EV.js';
|
|
44
|
+
import '../chunk-7CSTEH5I.js';
|
|
46
45
|
export { RoomRow } from '../chunk-NHHVN23D.js';
|
|
46
|
+
export { RUN_STATES, RunChip } from '../chunk-L6SYLG3F.js';
|
|
47
47
|
export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from '../chunk-ZKGAEXLI.js';
|
|
48
48
|
export { SearchTrigger } from '../chunk-ERNT3UTB.js';
|
|
49
49
|
export { SectionFrame, SectionFrameBody, SectionFrameNav } from '../chunk-EFY7R766.js';
|
|
50
50
|
export { RecordChip, RecordChipList } from '../chunk-GMQ54OQF.js';
|
|
51
51
|
export { REFUSAL_CARD_LABELS, RefusalCard } from '../chunk-PMP2WNF4.js';
|
|
52
|
-
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
54
|
export { ReviewList } from '../chunk-AGVGX52B.js';
|
|
56
|
-
export {
|
|
57
|
-
|
|
55
|
+
export { RelatedRow } from '../chunk-AJCPRBYJ.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';
|
|
70
70
|
export { SLIDE_HEIGHT, SLIDE_WIDTH, SlideStage, useSlideKeys } from '../chunk-7O53SWKI.js';
|
|
71
71
|
export { PricingCard } from '../chunk-O2XAJDK6.js';
|
|
72
72
|
export { PrincipalPicker } from '../chunk-NSUMHNUS.js';
|
|
73
|
-
export {
|
|
73
|
+
export { OrgNodeDisclosure, OrgNodeLabel, OrgNodeLead } from '../chunk-5AORKQ5Q.js';
|
|
74
|
+
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';
|
|
74
75
|
export { PageNote } from '../chunk-CV4NES3P.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';
|
|
82
|
-
export {
|
|
81
|
+
export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from '../chunk-75O3HCCD.js';
|
|
83
82
|
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-S2ZUAI6C.js';
|
|
84
83
|
export { TreeGrid } from '../chunk-X5YI6QLW.js';
|
|
85
84
|
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
85
|
export { OrgLabel } from '../chunk-DEVO45TG.js';
|
|
86
|
+
export { Outline, scrollToHeading, useActiveHeading } from '../chunk-WYIPKGEO.js';
|
|
87
87
|
export { MEMBER_PICKER_LABELS, MemberPicker, chosenMembers } from '../chunk-GTS35WLS.js';
|
|
88
|
+
export { MentionChip } from '../chunk-SYOMUNKU.js';
|
|
88
89
|
export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from '../chunk-KTH2KXZY.js';
|
|
89
90
|
export { PersonRow } from '../chunk-XROJ6XQ3.js';
|
|
90
|
-
export { MentionChip } from '../chunk-SYOMUNKU.js';
|
|
91
91
|
export { MERGE_CONFLICTS_LABELS, MergeConflicts } from '../chunk-SAHYQ53P.js';
|
|
92
92
|
export { ActionDivider, MessageAction, MessageActions, QuickReaction } from '../chunk-NHCY563I.js';
|
|
93
93
|
export { MessageBubble } from '../chunk-KAQ2L74F.js';
|
|
@@ -97,15 +97,15 @@ export { LogoSlot, LogoSlotGroup } from '../chunk-4Q7AWZ6O.js';
|
|
|
97
97
|
export { MARKDOWN_FORMATS, MARKDOWN_TEXT_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from '../chunk-GCPSAYA3.js';
|
|
98
98
|
export { LAYERS_LIST_LABELS, LayersList } from '../chunk-VUYNNILP.js';
|
|
99
99
|
export { AutoGrid, Inline, Spacer, Stack } from '../chunk-ZAC7SKUN.js';
|
|
100
|
-
export { Link } from '../chunk-JZI7SIM6.js';
|
|
101
100
|
export { LinkCard } from '../chunk-346EXHOR.js';
|
|
102
101
|
import '../chunk-KOJPDCGQ.js';
|
|
103
|
-
export {
|
|
102
|
+
export { Link } from '../chunk-JZI7SIM6.js';
|
|
103
|
+
export { LinkInterstitial, openExternal } from '../chunk-XZQRJVOK.js';
|
|
104
104
|
export { List, ListItem } from '../chunk-VY37HWFV.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-
|
|
108
|
+
export { InlineRef } from '../chunk-ACXYNJZR.js';
|
|
109
109
|
export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdownClosesFence, markdownCodeText, markdownFenceOf, markdownHeadingOf, markdownInline, markdownLines, parseMarkdown, parseMarkdownSpans, safeHref } from '../chunk-KBZO4B33.js';
|
|
110
110
|
export { KeyValueRows, keyValueRowsLabels } from '../chunk-Q7WKCU2U.js';
|
|
111
111
|
export { Highlight, highlightRanges, highlightTerms } from '../chunk-H6VKCIWV.js';
|
|
@@ -124,8 +124,8 @@ export { DEFAULT_FRAME_THEME, EXTERNAL_URL_MAX, FRAME_BRIDGE, FRAME_MESSAGE, FRA
|
|
|
124
124
|
export { DENSITY_PREFERENCES, PALETTE_ID, THEME_PREFERENCES, applyDensity, applyPalette, applyTheme, isDensityPreference, isPaletteId, isThemePreference } from '../chunk-ZXXDZJQN.js';
|
|
125
125
|
export { IDLE_AFTER_MS, useFullscreen, useIdle } from '../chunk-W5XCNEZC.js';
|
|
126
126
|
export { EntityChip } from '../chunk-VDQGWPGQ.js';
|
|
127
|
-
export { EntityList } from '../chunk-VRDLNMST.js';
|
|
128
127
|
export { ErrorBoundary } from '../chunk-H45TEWVU.js';
|
|
128
|
+
export { EntityList } from '../chunk-VRDLNMST.js';
|
|
129
129
|
export { Eyebrow } from '../chunk-RK4XPHVG.js';
|
|
130
130
|
export { FactList } from '../chunk-OYV7BFRC.js';
|
|
131
131
|
export { FileDrop, FilePickButton, droppedFiles, pickedFiles } from '../chunk-XF5PDUDH.js';
|
|
@@ -137,14 +137,14 @@ export { downloadBlob, downloadText, safeFilename, useDownload } from '../chunk-
|
|
|
137
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,34 +159,33 @@ 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
|
+
export { CHIP_FIELD_LABELS, ChipField } from '../chunk-YUW4DD2Z.js';
|
|
169
170
|
export { ChoiceButtons } from '../chunk-AHW3K3SH.js';
|
|
170
171
|
export { ChoiceCards } from '../chunk-FHPHRIPO.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';
|
|
174
|
-
export { ColorField } from '../chunk-UQA7SV3B.js';
|
|
175
175
|
export { ColorSwatch } from '../chunk-W25SEC3I.js';
|
|
176
176
|
export { CopyButton, Copyable } from '../chunk-AVK7RRQ4.js';
|
|
177
177
|
export { useClipboard, writeClipboard } from '../chunk-STJ7QBC3.js';
|
|
178
178
|
export { useOutcome } from '../chunk-DTIW4CHZ.js';
|
|
179
|
-
|
|
179
|
+
export { ColorField } from '../chunk-UQA7SV3B.js';
|
|
180
180
|
export { ActivityStrip, BarList, ChartEmpty, ChartTooltip, DATA_COLORS, DATA_COLOR_OTHER, Histogram, Legend, Sparkline, StackedBar, StackedColumns, TimeSeries, dataColor, histogramTicks, niceScale, useChartHover } from '../chunk-MNTN5ESE.js';
|
|
181
|
+
import '../chunk-5QJNA7KD.js';
|
|
181
182
|
export { ChatDay, ChatDayPill } from '../chunk-RBQOS3JC.js';
|
|
182
183
|
export { ChatDivider } from '../chunk-EI242VTX.js';
|
|
183
|
-
import '../chunk-5QJNA7KD.js';
|
|
184
184
|
export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from '../chunk-KTKPC3CV.js';
|
|
185
185
|
export { CHAT_MESSAGE_CLASS, CHAT_MESSAGE_FAILURE_LABELS, ChatMessage, ChatMessageFailure } from '../chunk-Y3EV3Q2U.js';
|
|
186
186
|
export { CheckGrid } from '../chunk-AYLFZW27.js';
|
|
187
|
-
export {
|
|
188
|
-
export {
|
|
189
|
-
export { Note } from '../chunk-5SZGKSGL.js';
|
|
187
|
+
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';
|
|
188
|
+
export { Note } from '../chunk-YJPQJVRJ.js';
|
|
190
189
|
export { CanvasSchematic } from '../chunk-NBWNLYWZ.js';
|
|
191
190
|
export { CanvasToolbar, toolForKey } from '../chunk-T2FJN6C6.js';
|
|
192
191
|
export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from '../chunk-NPEI2QAN.js';
|
|
@@ -196,6 +195,7 @@ export { DIFF_LIST_LABELS, DiffList } from '../chunk-RGJB34YN.js';
|
|
|
196
195
|
export { ChangeMark } from '../chunk-TYQJRTTK.js';
|
|
197
196
|
export { LONGTEXT_MAX_DEFAULT, RATING_MAX_CEILING, RATING_MAX_DEFAULT, SHEET_COLUMN_BOUNDS, SHEET_COLUMN_TYPES, SHEET_COLUMN_WIDTHS, SHEET_FIT_SAMPLES, SHEET_LABELS, SHEET_ROW_HEIGHT, SHEET_ROW_NUMBER_WIDTH, SheetPendingEdits, TEXT_MAX_DEFAULT, URL_MAX, cellDescription, cellKey, cellSpeech, changeText, changeTime, checkValue, columnOffsets, columnWidth, compareValues, displayText, drawnColumns, editText, editorSide, findOption, findPerson, fitSamples, fittedWidth, flagText, hasPrevious, inRange, isEmptyValue, isMod, isMultiCell, isSheetColumnType, isTypingKey, liveOptions, moveFrom, nextSort, normalizeValue, optionHue, parseOptionList, parseTSV, parseText, planClear, planPaste, presenceByCell, presenceByColumn, presenceByRow, rangeOf, ratingMax, refusalText, retypeColumn, rowName, sameValue, scrollToRow, sheetLabels, sortRows, spokenText, statusTone, textMax, toTSV, visibleRows } from '../chunk-LFSIKGRQ.js';
|
|
198
197
|
export { PRESENCE_ACTIVITIES, PRESENCE_HUES, PRESENCE_LABELS, assignPresenceHues, collapseSessions, joinNames, presenceLabels, presenceOrder } from '../chunk-Z7JYG5TF.js';
|
|
198
|
+
import '../chunk-3L5NHASN.js';
|
|
199
199
|
export { BrandSample } from '../chunk-IJCMOAM3.js';
|
|
200
200
|
export { BrandScope, brandScopeInputs } from '../chunk-X7WEE3EK.js';
|
|
201
201
|
import '../chunk-5SGHW42B.js';
|
|
@@ -215,12 +215,12 @@ export { ATTACHMENT_CHIP_LABELS, AttachmentChip } from '../chunk-GZSEIFWB.js';
|
|
|
215
215
|
export { Tag } from '../chunk-SJ3EUCFD.js';
|
|
216
216
|
export { ATTENTION_LIST_LABELS, AttentionList } from '../chunk-ABQTPJPW.js';
|
|
217
217
|
export { AuthLayout } from '../chunk-CVXQWNSM.js';
|
|
218
|
-
export {
|
|
218
|
+
export { BrandChip } from '../chunk-UH44L7OJ.js';
|
|
219
|
+
export { AvatarPicker } from '../chunk-JWUIGUIS.js';
|
|
219
220
|
export { HuePicker, HueSwatch } from '../chunk-5P6LLFEO.js';
|
|
220
221
|
export { Popover } from '../chunk-KDRJZWE3.js';
|
|
221
|
-
export { CHARACTER_PICKER_COLUMNS, CharacterPicker } from '../chunk-S4JRQJEP.js';
|
|
222
222
|
export { NODE_HUES, NODE_HUE_NAMES, isNodeHue } from '../chunk-AYKXMIOR.js';
|
|
223
|
-
export {
|
|
223
|
+
export { CHARACTER_PICKER_COLUMNS, CharacterPicker } from '../chunk-S4JRQJEP.js';
|
|
224
224
|
export { BrandLockup } from '../chunk-KXWJJWBD.js';
|
|
225
225
|
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-PEYNAR4F.js';
|
|
226
226
|
export { Skeleton } from '../chunk-WFAJYBLX.js';
|
|
@@ -240,8 +240,8 @@ export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRail
|
|
|
240
240
|
export { afterMotion, releaseFocus, runningMotion, usePresence } from '../chunk-SNKQNAJI.js';
|
|
241
241
|
import '../chunk-JLOESTT2.js';
|
|
242
242
|
export { ArrangeBoard } from '../chunk-QO7QEQKV.js';
|
|
243
|
-
export { ArrangeGrid } from '../chunk-QBA5B2Z5.js';
|
|
244
243
|
export { ArrangeFrame, useGridResize } from '../chunk-FDMEQ73F.js';
|
|
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';
|
|
247
247
|
export { Switch } from '../chunk-6YYRFGXO.js';
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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';
|
|
5
|
+
export { TypeSpecimen } from './chunk-JKAFEFFC.js';
|
|
6
6
|
export { VersionTimeline } from './chunk-RM5RKPFV.js';
|
|
7
7
|
export { WidgetFrame } from './chunk-5ZTH54O6.js';
|
|
8
8
|
export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from './chunk-SG3MDOVO.js';
|
|
@@ -15,8 +15,8 @@ export { ThemeToggle } from './chunk-5RXY2RL4.js';
|
|
|
15
15
|
export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from './chunk-Z24ZUSTX.js';
|
|
16
16
|
export { ThinkingIndicator } from './chunk-DX7ZHO47.js';
|
|
17
17
|
export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from './chunk-I5HJ6Y6E.js';
|
|
18
|
-
export { TileGrid } from './chunk-UFID3DSP.js';
|
|
19
18
|
export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from './chunk-MVXQ74TB.js';
|
|
19
|
+
export { TileGrid } from './chunk-UFID3DSP.js';
|
|
20
20
|
export { Switcher } from './chunk-I4FO353C.js';
|
|
21
21
|
export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from './chunk-V3ZKGVC2.js';
|
|
22
22
|
export { TagsInput } from './chunk-A5VNNA3V.js';
|
|
@@ -37,57 +37,57 @@ export { SLIDE_COMPARE_LABELS, SlideCompare } from './chunk-FSCJV5M5.js';
|
|
|
37
37
|
export { SegmentedMeter, segmentedMeterLabel } from './chunk-4AK52VHB.js';
|
|
38
38
|
export { SelectionBar } from './chunk-XIKU44QE.js';
|
|
39
39
|
export { SEND_BUTTON_LABELS, SendButton } from './chunk-PNSUXNNY.js';
|
|
40
|
-
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 {
|
|
45
|
-
|
|
42
|
+
export { SettingsTable, SettingsTableRow } from './chunk-SOYPCCSJ.js';
|
|
43
|
+
export { canonicalMarkdown, roundTripMarkdown } from './chunk-GBASM5EV.js';
|
|
44
|
+
import './chunk-7CSTEH5I.js';
|
|
46
45
|
export { RoomRow } from './chunk-NHHVN23D.js';
|
|
46
|
+
export { RUN_STATES, RunChip } from './chunk-L6SYLG3F.js';
|
|
47
47
|
export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from './chunk-ZKGAEXLI.js';
|
|
48
48
|
export { SearchTrigger } from './chunk-ERNT3UTB.js';
|
|
49
49
|
export { SectionFrame, SectionFrameBody, SectionFrameNav } from './chunk-EFY7R766.js';
|
|
50
50
|
export { RecordChip, RecordChipList } from './chunk-GMQ54OQF.js';
|
|
51
51
|
export { REFUSAL_CARD_LABELS, RefusalCard } from './chunk-PMP2WNF4.js';
|
|
52
|
-
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
54
|
export { ReviewList } from './chunk-AGVGX52B.js';
|
|
56
|
-
export {
|
|
57
|
-
|
|
55
|
+
export { RelatedRow } from './chunk-AJCPRBYJ.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';
|
|
70
70
|
export { SLIDE_HEIGHT, SLIDE_WIDTH, SlideStage, useSlideKeys } from './chunk-7O53SWKI.js';
|
|
71
71
|
export { PricingCard } from './chunk-O2XAJDK6.js';
|
|
72
72
|
export { PrincipalPicker } from './chunk-NSUMHNUS.js';
|
|
73
|
-
export {
|
|
73
|
+
export { OrgNodeDisclosure, OrgNodeLabel, OrgNodeLead } from './chunk-5AORKQ5Q.js';
|
|
74
|
+
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';
|
|
74
75
|
export { PageNote } from './chunk-CV4NES3P.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';
|
|
82
|
-
export {
|
|
81
|
+
export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from './chunk-75O3HCCD.js';
|
|
83
82
|
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from './chunk-S2ZUAI6C.js';
|
|
84
83
|
export { TreeGrid } from './chunk-X5YI6QLW.js';
|
|
85
84
|
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
85
|
export { OrgLabel } from './chunk-DEVO45TG.js';
|
|
86
|
+
export { Outline, scrollToHeading, useActiveHeading } from './chunk-WYIPKGEO.js';
|
|
87
87
|
export { MEMBER_PICKER_LABELS, MemberPicker, chosenMembers } from './chunk-GTS35WLS.js';
|
|
88
|
+
export { MentionChip } from './chunk-SYOMUNKU.js';
|
|
88
89
|
export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from './chunk-KTH2KXZY.js';
|
|
89
90
|
export { PersonRow } from './chunk-XROJ6XQ3.js';
|
|
90
|
-
export { MentionChip } from './chunk-SYOMUNKU.js';
|
|
91
91
|
export { MERGE_CONFLICTS_LABELS, MergeConflicts } from './chunk-SAHYQ53P.js';
|
|
92
92
|
export { ActionDivider, MessageAction, MessageActions, QuickReaction } from './chunk-NHCY563I.js';
|
|
93
93
|
export { MessageBubble } from './chunk-KAQ2L74F.js';
|
|
@@ -97,15 +97,15 @@ export { LogoSlot, LogoSlotGroup } from './chunk-4Q7AWZ6O.js';
|
|
|
97
97
|
export { MARKDOWN_FORMATS, MARKDOWN_TEXT_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from './chunk-GCPSAYA3.js';
|
|
98
98
|
export { LAYERS_LIST_LABELS, LayersList } from './chunk-VUYNNILP.js';
|
|
99
99
|
export { AutoGrid, Inline, Spacer, Stack } from './chunk-ZAC7SKUN.js';
|
|
100
|
-
export { Link } from './chunk-JZI7SIM6.js';
|
|
101
100
|
export { LinkCard } from './chunk-346EXHOR.js';
|
|
102
101
|
import './chunk-KOJPDCGQ.js';
|
|
103
|
-
export {
|
|
102
|
+
export { Link } from './chunk-JZI7SIM6.js';
|
|
103
|
+
export { LinkInterstitial, openExternal } from './chunk-XZQRJVOK.js';
|
|
104
104
|
export { List, ListItem } from './chunk-VY37HWFV.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-
|
|
108
|
+
export { InlineRef } from './chunk-ACXYNJZR.js';
|
|
109
109
|
export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdownClosesFence, markdownCodeText, markdownFenceOf, markdownHeadingOf, markdownInline, markdownLines, parseMarkdown, parseMarkdownSpans, safeHref } from './chunk-KBZO4B33.js';
|
|
110
110
|
export { KeyValueRows, keyValueRowsLabels } from './chunk-Q7WKCU2U.js';
|
|
111
111
|
export { Highlight, highlightRanges, highlightTerms } from './chunk-H6VKCIWV.js';
|
|
@@ -124,8 +124,8 @@ export { DEFAULT_FRAME_THEME, EXTERNAL_URL_MAX, FRAME_BRIDGE, FRAME_MESSAGE, FRA
|
|
|
124
124
|
export { DENSITY_PREFERENCES, PALETTE_ID, THEME_PREFERENCES, applyDensity, applyPalette, applyTheme, isDensityPreference, isPaletteId, isThemePreference } from './chunk-ZXXDZJQN.js';
|
|
125
125
|
export { IDLE_AFTER_MS, useFullscreen, useIdle } from './chunk-W5XCNEZC.js';
|
|
126
126
|
export { EntityChip } from './chunk-VDQGWPGQ.js';
|
|
127
|
-
export { EntityList } from './chunk-VRDLNMST.js';
|
|
128
127
|
export { ErrorBoundary } from './chunk-H45TEWVU.js';
|
|
128
|
+
export { EntityList } from './chunk-VRDLNMST.js';
|
|
129
129
|
export { Eyebrow } from './chunk-RK4XPHVG.js';
|
|
130
130
|
export { FactList } from './chunk-OYV7BFRC.js';
|
|
131
131
|
export { FileDrop, FilePickButton, droppedFiles, pickedFiles } from './chunk-XF5PDUDH.js';
|
|
@@ -137,14 +137,14 @@ export { downloadBlob, downloadText, safeFilename, useDownload } from './chunk-Y
|
|
|
137
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,34 +159,33 @@ 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
|
+
export { CHIP_FIELD_LABELS, ChipField } from './chunk-YUW4DD2Z.js';
|
|
169
170
|
export { ChoiceButtons } from './chunk-AHW3K3SH.js';
|
|
170
171
|
export { ChoiceCards } from './chunk-FHPHRIPO.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';
|
|
174
|
-
export { ColorField } from './chunk-UQA7SV3B.js';
|
|
175
175
|
export { ColorSwatch } from './chunk-W25SEC3I.js';
|
|
176
176
|
export { CopyButton, Copyable } from './chunk-AVK7RRQ4.js';
|
|
177
177
|
export { useClipboard, writeClipboard } from './chunk-STJ7QBC3.js';
|
|
178
178
|
export { useOutcome } from './chunk-DTIW4CHZ.js';
|
|
179
|
-
|
|
179
|
+
export { ColorField } from './chunk-UQA7SV3B.js';
|
|
180
180
|
export { ActivityStrip, BarList, ChartEmpty, ChartTooltip, DATA_COLORS, DATA_COLOR_OTHER, Histogram, Legend, Sparkline, StackedBar, StackedColumns, TimeSeries, dataColor, histogramTicks, niceScale, useChartHover } from './chunk-MNTN5ESE.js';
|
|
181
|
+
import './chunk-5QJNA7KD.js';
|
|
181
182
|
export { ChatDay, ChatDayPill } from './chunk-RBQOS3JC.js';
|
|
182
183
|
export { ChatDivider } from './chunk-EI242VTX.js';
|
|
183
|
-
import './chunk-5QJNA7KD.js';
|
|
184
184
|
export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from './chunk-KTKPC3CV.js';
|
|
185
185
|
export { CHAT_MESSAGE_CLASS, CHAT_MESSAGE_FAILURE_LABELS, ChatMessage, ChatMessageFailure } from './chunk-Y3EV3Q2U.js';
|
|
186
186
|
export { CheckGrid } from './chunk-AYLFZW27.js';
|
|
187
|
-
export {
|
|
188
|
-
export {
|
|
189
|
-
export { Note } from './chunk-5SZGKSGL.js';
|
|
187
|
+
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';
|
|
188
|
+
export { Note } from './chunk-YJPQJVRJ.js';
|
|
190
189
|
export { CanvasSchematic } from './chunk-NBWNLYWZ.js';
|
|
191
190
|
export { CanvasToolbar, toolForKey } from './chunk-T2FJN6C6.js';
|
|
192
191
|
export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from './chunk-NPEI2QAN.js';
|
|
@@ -196,6 +195,7 @@ export { DIFF_LIST_LABELS, DiffList } from './chunk-RGJB34YN.js';
|
|
|
196
195
|
export { ChangeMark } from './chunk-TYQJRTTK.js';
|
|
197
196
|
export { LONGTEXT_MAX_DEFAULT, RATING_MAX_CEILING, RATING_MAX_DEFAULT, SHEET_COLUMN_BOUNDS, SHEET_COLUMN_TYPES, SHEET_COLUMN_WIDTHS, SHEET_FIT_SAMPLES, SHEET_LABELS, SHEET_ROW_HEIGHT, SHEET_ROW_NUMBER_WIDTH, SheetPendingEdits, TEXT_MAX_DEFAULT, URL_MAX, cellDescription, cellKey, cellSpeech, changeText, changeTime, checkValue, columnOffsets, columnWidth, compareValues, displayText, drawnColumns, editText, editorSide, findOption, findPerson, fitSamples, fittedWidth, flagText, hasPrevious, inRange, isEmptyValue, isMod, isMultiCell, isSheetColumnType, isTypingKey, liveOptions, moveFrom, nextSort, normalizeValue, optionHue, parseOptionList, parseTSV, parseText, planClear, planPaste, presenceByCell, presenceByColumn, presenceByRow, rangeOf, ratingMax, refusalText, retypeColumn, rowName, sameValue, scrollToRow, sheetLabels, sortRows, spokenText, statusTone, textMax, toTSV, visibleRows } from './chunk-LFSIKGRQ.js';
|
|
198
197
|
export { PRESENCE_ACTIVITIES, PRESENCE_HUES, PRESENCE_LABELS, assignPresenceHues, collapseSessions, joinNames, presenceLabels, presenceOrder } from './chunk-Z7JYG5TF.js';
|
|
198
|
+
import './chunk-3L5NHASN.js';
|
|
199
199
|
export { BrandSample } from './chunk-IJCMOAM3.js';
|
|
200
200
|
export { BrandScope, brandScopeInputs } from './chunk-X7WEE3EK.js';
|
|
201
201
|
import './chunk-5SGHW42B.js';
|
|
@@ -215,12 +215,12 @@ export { ATTACHMENT_CHIP_LABELS, AttachmentChip } from './chunk-GZSEIFWB.js';
|
|
|
215
215
|
export { Tag } from './chunk-SJ3EUCFD.js';
|
|
216
216
|
export { ATTENTION_LIST_LABELS, AttentionList } from './chunk-ABQTPJPW.js';
|
|
217
217
|
export { AuthLayout } from './chunk-CVXQWNSM.js';
|
|
218
|
-
export {
|
|
218
|
+
export { BrandChip } from './chunk-UH44L7OJ.js';
|
|
219
|
+
export { AvatarPicker } from './chunk-JWUIGUIS.js';
|
|
219
220
|
export { HuePicker, HueSwatch } from './chunk-5P6LLFEO.js';
|
|
220
221
|
export { Popover } from './chunk-KDRJZWE3.js';
|
|
221
|
-
export { CHARACTER_PICKER_COLUMNS, CharacterPicker } from './chunk-S4JRQJEP.js';
|
|
222
222
|
export { NODE_HUES, NODE_HUE_NAMES, isNodeHue } from './chunk-AYKXMIOR.js';
|
|
223
|
-
export {
|
|
223
|
+
export { CHARACTER_PICKER_COLUMNS, CharacterPicker } from './chunk-S4JRQJEP.js';
|
|
224
224
|
export { BrandLockup } from './chunk-KXWJJWBD.js';
|
|
225
225
|
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from './chunk-PEYNAR4F.js';
|
|
226
226
|
export { Skeleton } from './chunk-WFAJYBLX.js';
|
|
@@ -240,8 +240,8 @@ export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRail
|
|
|
240
240
|
export { afterMotion, releaseFocus, runningMotion, usePresence } from './chunk-SNKQNAJI.js';
|
|
241
241
|
import './chunk-JLOESTT2.js';
|
|
242
242
|
export { ArrangeBoard } from './chunk-QO7QEQKV.js';
|
|
243
|
-
export { ArrangeGrid } from './chunk-QBA5B2Z5.js';
|
|
244
243
|
export { ArrangeFrame, useGridResize } from './chunk-FDMEQ73F.js';
|
|
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';
|
|
247
247
|
export { Switch } from './chunk-6YYRFGXO.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.
|
|
3
|
+
"version": "0.121.0",
|
|
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.
|
|
46
|
-
"@crewlethq/tokens": "0.
|
|
45
|
+
"@crewlethq/icons": "0.121.0",
|
|
46
|
+
"@crewlethq/tokens": "0.121.0",
|
|
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';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { HuePicker } from './chunk-5P6LLFEO.js';
|
|
2
2
|
import { Popover } from './chunk-KDRJZWE3.js';
|
|
3
|
-
import { CharacterPicker } from './chunk-S4JRQJEP.js';
|
|
4
3
|
import { NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
|
|
4
|
+
import { CharacterPicker } from './chunk-S4JRQJEP.js';
|
|
5
5
|
import { Avatar } from './chunk-XZY6S3UC.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './AvatarPicker-POOJUOKC.css';
|