@crewlethq/ui 0.130.0 → 0.130.2
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/README.md +18 -0
- package/dist/AppShell/index.js +1 -1
- package/dist/{AppShell-S5FHXWNS.css → AppShell-N5IHITJM.css} +29 -0
- package/dist/ArtifactCard/ArtifactCard.d.ts +2 -2
- package/dist/ArtifactCard/index.js +1 -1
- package/dist/{ArtifactCard-B2QE5CVL.css → ArtifactCard-ZH6KCD5O.css} +16 -1
- package/dist/BrandSample/index.js +1 -1
- package/dist/{BrandSample-WCI3IS25.css → BrandSample-3OSKZAGG.css} +27 -6
- package/dist/Breadcrumb/Breadcrumb.d.ts +6 -5
- package/dist/Breadcrumb/index.js +1 -1
- package/dist/{Breadcrumb-SENMIAG2.css → Breadcrumb-MQJWJVN3.css} +24 -9
- package/dist/CodeBlock/index.js +2 -1
- package/dist/ColorSwatch/index.js +3 -2
- package/dist/ConfirmField/index.js +3 -2
- package/dist/ContrastBadge/index.js +2 -2
- package/dist/ContrastHelp/index.js +3 -3
- package/dist/Copyable/index.js +2 -1
- package/dist/{Copyable-P5AMRHFX.css → Copyable-XMLKKJDT.css} +13 -0
- package/dist/DataGrid/DataGrid.d.ts +26 -1
- package/dist/DataGrid/index.js +1 -1
- package/dist/DataView/index.js +1 -1
- package/dist/InlineCode/InlineCode.d.ts +14 -4
- package/dist/InlineCode/index.js +2 -1
- package/dist/{InlineCode-KQ5V6D6C.css → InlineCode-BEYQFJQT.css} +18 -2
- package/dist/LinkInterstitial/index.js +3 -2
- package/dist/LogoSlot/index.js +3 -3
- package/dist/OrgTable/index.js +3 -3
- package/dist/RichEditor/index.js +1 -1
- package/dist/ShareDialog/index.js +2 -1
- package/dist/TreeGrid/index.js +2 -2
- package/dist/{chunk-CPWSBK3F.js → chunk-2TZNTPF5.js} +70 -3
- package/dist/{chunk-OIC6S5ES.js → chunk-4Q7AWZ6O.js} +1 -1
- package/dist/{chunk-36XKE7MH.js → chunk-6POROC4M.js} +1 -1
- package/dist/{chunk-BODW4JH3.js → chunk-ECOWCJHQ.js} +1 -1
- package/dist/chunk-HZXS5CEL.js +17 -0
- package/dist/{chunk-SG2M6SBD.js → chunk-KMIS2R67.js} +1 -1
- package/dist/{chunk-Q6QKY7EZ.js → chunk-KQFOPY2P.js} +1 -1
- package/dist/{chunk-V47JOO72.js → chunk-M32NBSS7.js} +25 -5
- package/dist/{chunk-FO4OY4RV.js → chunk-MZV45HQB.js} +5 -2
- package/dist/{chunk-VCFV7FTE.js → chunk-NFA7CSCD.js} +1 -1
- package/dist/{chunk-XZB53C7U.js → chunk-OVFB63RZ.js} +2 -2
- package/dist/{chunk-IJCMOAM3.js → chunk-OWYIRWEX.js} +1 -1
- package/dist/{chunk-VIS6DKGQ.js → chunk-QFE6T6GW.js} +1 -1
- package/dist/{chunk-NKCLA6RG.js → chunk-QNDXLHBO.js} +30 -6
- package/dist/{chunk-LPQF7Z44.js → chunk-SIL5WE55.js} +1 -1
- package/dist/{chunk-PPGDH32L.js → chunk-XHNV272L.js} +5 -2
- package/dist/generated/index.js +39 -38
- package/dist/index.js +39 -38
- package/dist/styles.css +133 -24
- package/dist/utils/pathBreaks.d.ts +12 -0
- package/dist/utils/tableTrack.d.ts +12 -1
- package/package.json +3 -3
- package/dist/{Editor-2TWJE7OR.js → Editor-MEPTWBY5.js} +1 -1
- package/dist/{chunk-F7NHMBGJ.js → chunk-3YOLD7WG.js} +1 -1
|
@@ -15,10 +15,13 @@ import { ArrowDownGlyph, ArrowUpGlyph, ArrowUpDownGlyph, GripVerticalGlyph, Chev
|
|
|
15
15
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
16
16
|
|
|
17
17
|
// src/utils/tableTrack.ts
|
|
18
|
+
var SHORT_COLUMN_PX = 192;
|
|
18
19
|
var SHRINK_SHARE = 0.2;
|
|
19
|
-
function tableTrack({ width, shrink, floor }) {
|
|
20
|
+
function tableTrack({ width, shrink, floor, short }) {
|
|
20
21
|
if (width) return width;
|
|
21
|
-
|
|
22
|
+
if (shrink) return `fit-content(${SHRINK_SHARE * 100}%)`;
|
|
23
|
+
if (short) return floor === "max-content" || !floor ? "max-content" : `minmax(${floor}, max-content)`;
|
|
24
|
+
return `minmax(${floor ?? 0}, 1fr)`;
|
|
22
25
|
}
|
|
23
26
|
var GRID_ICON_TRACK = "calc(var(--size-target-min) + var(--spacing-3) * 2)";
|
|
24
27
|
function alignOf(column) {
|
|
@@ -292,6 +295,60 @@ function fitGridColumns({
|
|
|
292
295
|
}
|
|
293
296
|
return null;
|
|
294
297
|
}
|
|
298
|
+
var NO_WIDTHS = {};
|
|
299
|
+
var WIDEST_SAMPLE_ROWS = 40;
|
|
300
|
+
function flexible(column) {
|
|
301
|
+
return !column.width && !column.shrink && !column.icon && !column.action;
|
|
302
|
+
}
|
|
303
|
+
function contentWidth(cell) {
|
|
304
|
+
const lines = /* @__PURE__ */ new Map();
|
|
305
|
+
const take = (rect) => {
|
|
306
|
+
if (rect.width <= 0) return;
|
|
307
|
+
const top = Math.round(rect.top);
|
|
308
|
+
const line = lines.get(top);
|
|
309
|
+
lines.set(top, line ? [Math.min(line[0], rect.left), Math.max(line[1], rect.right)] : [rect.left, rect.right]);
|
|
310
|
+
};
|
|
311
|
+
if (typeof document.createRange !== "function") return 0;
|
|
312
|
+
const walk = document.createTreeWalker(cell, NodeFilter.SHOW_TEXT);
|
|
313
|
+
for (let node = walk.nextNode(); node; node = walk.nextNode()) {
|
|
314
|
+
if (!node.textContent?.trim() || node.parentElement?.closest(".crewlet-visually-hidden")) continue;
|
|
315
|
+
const range = document.createRange();
|
|
316
|
+
range.selectNodeContents(node);
|
|
317
|
+
if (typeof range.getClientRects !== "function") return 0;
|
|
318
|
+
for (const rect of range.getClientRects()) take(rect);
|
|
319
|
+
}
|
|
320
|
+
for (const mark of cell.querySelectorAll("svg, img")) take(mark.getBoundingClientRect());
|
|
321
|
+
if (lines.size === 0) return 0;
|
|
322
|
+
let words = 0;
|
|
323
|
+
for (const [left, right] of lines.values()) words += right - left;
|
|
324
|
+
const style = getComputedStyle(cell);
|
|
325
|
+
return Math.ceil(words + (parseFloat(style.paddingLeft) || 0) + (parseFloat(style.paddingRight) || 0));
|
|
326
|
+
}
|
|
327
|
+
function widestValues(wrap, visible, leading = 0) {
|
|
328
|
+
const head = wrap.querySelector(":scope > .crewlet-data-grid__head");
|
|
329
|
+
if (!head) return {};
|
|
330
|
+
const rows = [...wrap.querySelectorAll(":scope > .crewlet-data-grid__body .crewlet-data-grid__row")].slice(0, WIDEST_SAMPLE_ROWS);
|
|
331
|
+
const out = {};
|
|
332
|
+
visible.forEach((column, i) => {
|
|
333
|
+
if (!flexible(column)) return;
|
|
334
|
+
let most = 0;
|
|
335
|
+
const cells = [head.children[i + leading], ...rows.map((row) => row.querySelectorAll(":scope > .crewlet-data-grid__cell")[i + leading])];
|
|
336
|
+
for (const cell of cells) if (cell) most = Math.max(most, contentWidth(cell));
|
|
337
|
+
if (most > 0) out[column.key] = most;
|
|
338
|
+
});
|
|
339
|
+
return out;
|
|
340
|
+
}
|
|
341
|
+
function sameWidths(a, b) {
|
|
342
|
+
const keys = Object.keys(a);
|
|
343
|
+
return keys.length === Object.keys(b).length && keys.every((key) => Math.abs((a[key] ?? 0) - (b[key] ?? -1)) < 1);
|
|
344
|
+
}
|
|
345
|
+
function shortColumns(visible, widest) {
|
|
346
|
+
const all = visible.filter((c) => flexible(c));
|
|
347
|
+
const measured = all.filter((c) => (widest[c.key] ?? 0) > 0);
|
|
348
|
+
if (measured.length === 0) return /* @__PURE__ */ new Set();
|
|
349
|
+
const keeper = measured.length < all.length ? null : measured.reduce((a, b) => widest[b.key] > widest[a.key] ? b : a);
|
|
350
|
+
return new Set(measured.filter((c) => c !== keeper && widest[c.key] <= SHORT_COLUMN_PX).map((c) => c.key));
|
|
351
|
+
}
|
|
295
352
|
function squeezed(wrap, visible, leading = 0) {
|
|
296
353
|
const head = wrap.querySelector(":scope > .crewlet-data-grid__head");
|
|
297
354
|
if (!head) return null;
|
|
@@ -542,6 +599,13 @@ function DataGrid({
|
|
|
542
599
|
watch2.observe(wrap);
|
|
543
600
|
return () => watch2.disconnect();
|
|
544
601
|
}, [wrap]);
|
|
602
|
+
const [widest, setWidest] = useState(NO_WIDTHS);
|
|
603
|
+
useLayoutEffect(() => {
|
|
604
|
+
const el = wrap;
|
|
605
|
+
if (!el || phone) return;
|
|
606
|
+
const next = widestValues(el, visibleColumns, leading);
|
|
607
|
+
if (!sameWidths(next, widest)) setWidest(next);
|
|
608
|
+
}, [wrap, phone, visibleColumns, leading, flat, boxWidth, widest]);
|
|
545
609
|
useLayoutEffect(() => {
|
|
546
610
|
const el = wrap;
|
|
547
611
|
if (!el || phone) return;
|
|
@@ -600,7 +664,10 @@ function DataGrid({
|
|
|
600
664
|
if (!sortsBy(column) || !onSortChange) return;
|
|
601
665
|
onSortChange(nextGridSort(column.key, sortRaw, defaultSort));
|
|
602
666
|
}
|
|
603
|
-
const
|
|
667
|
+
const short = shortColumns(visibleColumns, widest);
|
|
668
|
+
const template = drawnColumns.map(
|
|
669
|
+
(c) => tableTrack({ ...c, width: c.width ?? (c.icon ? DATA_GRID_ICON_TRACK : void 0), short: short.has(c.key) })
|
|
670
|
+
).join(" ");
|
|
604
671
|
const placeholders = loading && flat.length === 0 && !bands?.length;
|
|
605
672
|
if (flat.length === 0 && !bands?.length && !summaryRows?.length && empty && !placeholders) {
|
|
606
673
|
return /* @__PURE__ */ jsx("div", { className: cx("crewlet-data-grid", className), "data-flush": flush || void 0, children: /* @__PURE__ */ jsx(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FileDrop, FilePickButton } from './chunk-XF5PDUDH.js';
|
|
2
|
-
import { contrastRatio } from './chunk-
|
|
2
|
+
import { contrastRatio } from './chunk-3YOLD7WG.js';
|
|
3
3
|
import { normalizeHex } from './chunk-7W3LYIOC.js';
|
|
4
4
|
import { Button } from './chunk-M2M6ZD7P.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConfirmModal } from './chunk-VSD3536L.js';
|
|
2
|
-
import { InlineCode } from './chunk-
|
|
2
|
+
import { InlineCode } from './chunk-XHNV272L.js';
|
|
3
3
|
import { Callout } from './chunk-RCQLXOGS.js';
|
|
4
4
|
import './LinkInterstitial-ET4MSVSV.css';
|
|
5
5
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Children, Fragment } from 'react';
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
|
|
4
|
+
// src/utils/pathBreaks.tsx
|
|
5
|
+
function pathBreaks(children) {
|
|
6
|
+
const parts = Children.toArray(children);
|
|
7
|
+
if (!parts.every((part) => typeof part === "string" || typeof part === "number")) return children;
|
|
8
|
+
const text = parts.join("");
|
|
9
|
+
if (!text.includes("/")) return children;
|
|
10
|
+
const runs = text.split(/(?<=\/)/);
|
|
11
|
+
return runs.map((run, i) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
12
|
+
run,
|
|
13
|
+
i < runs.length - 1 ? /* @__PURE__ */ jsx("wbr", {}) : null
|
|
14
|
+
] }, i));
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export { pathBreaks };
|
|
@@ -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-MEPTWBY5.js').then(
|
|
13
13
|
(module) => {
|
|
14
14
|
engine = module.Editor;
|
|
15
15
|
return engine;
|
|
@@ -13,7 +13,7 @@ import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
|
13
13
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
14
14
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
15
15
|
import './HitArea-QUOS6ZDJ.css';
|
|
16
|
-
import './AppShell-
|
|
16
|
+
import './AppShell-N5IHITJM.css';
|
|
17
17
|
import './ResizeHandle-W6GA5OO6.css';
|
|
18
18
|
import { createContext, forwardRef, useContext, useSyncExternalStore, useCallback, useId, useState, useRef, useEffect, useLayoutEffect } from 'react';
|
|
19
19
|
import { breakpoint } from '@crewlethq/tokens';
|
|
@@ -621,6 +621,17 @@ function RailFold({
|
|
|
621
621
|
function AppShellRail({ header, search, status, footer, className, children }) {
|
|
622
622
|
const compact = useRailShape() === "compact";
|
|
623
623
|
const leaving = useContext(RailLeavingContext) || void 0;
|
|
624
|
+
const [middle, setMiddle] = useState(null);
|
|
625
|
+
const [scrollbar, setScrollbar] = useState(0);
|
|
626
|
+
useLayoutEffect(() => {
|
|
627
|
+
if (!middle) return void 0;
|
|
628
|
+
const measure = () => setScrollbar(Math.max(0, middle.offsetWidth - middle.clientWidth));
|
|
629
|
+
measure();
|
|
630
|
+
if (typeof ResizeObserver === "undefined") return void 0;
|
|
631
|
+
const observer = new ResizeObserver(measure);
|
|
632
|
+
observer.observe(middle);
|
|
633
|
+
return () => observer.disconnect();
|
|
634
|
+
}, [middle]);
|
|
624
635
|
const statusSlot = status ? /* @__PURE__ */ jsx("div", { className: "crewlet-app-shell__rail-status", inert: leaving, children: status }) : null;
|
|
625
636
|
return /* @__PURE__ */ jsxs("div", { className: cx("crewlet-app-shell__rail-inner", className), children: [
|
|
626
637
|
header || status && !compact ? /* @__PURE__ */ jsxs("div", { className: "crewlet-app-shell__rail-head", children: [
|
|
@@ -628,10 +639,19 @@ function AppShellRail({ header, search, status, footer, className, children }) {
|
|
|
628
639
|
compact ? null : statusSlot
|
|
629
640
|
] }) : null,
|
|
630
641
|
compact ? statusSlot : null,
|
|
631
|
-
/* @__PURE__ */ jsxs(
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
642
|
+
/* @__PURE__ */ jsxs(
|
|
643
|
+
"div",
|
|
644
|
+
{
|
|
645
|
+
ref: setMiddle,
|
|
646
|
+
className: "crewlet-app-shell__rail-body",
|
|
647
|
+
inert: leaving,
|
|
648
|
+
style: { ["--crewlet-rail-scrollbar"]: `${scrollbar}px` },
|
|
649
|
+
children: [
|
|
650
|
+
search && !compact ? /* @__PURE__ */ jsx("div", { className: "crewlet-app-shell__rail-search", children: search }) : null,
|
|
651
|
+
children
|
|
652
|
+
]
|
|
653
|
+
}
|
|
654
|
+
),
|
|
635
655
|
footer ? /* @__PURE__ */ jsx("div", { className: "crewlet-app-shell__rail-foot", inert: leaving, children: footer }) : null
|
|
636
656
|
] });
|
|
637
657
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { copyGlyph, CopyStatus } from './chunk-2MEBMWNO.js';
|
|
2
2
|
import { useClipboard } from './chunk-STJ7QBC3.js';
|
|
3
|
+
import { pathBreaks } from './chunk-HZXS5CEL.js';
|
|
3
4
|
import { IconButton } from './chunk-X5YI6E5X.js';
|
|
4
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
|
-
import './Copyable-
|
|
6
|
+
import './Copyable-XMLKKJDT.css';
|
|
6
7
|
import { useCallback } from 'react';
|
|
7
8
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
8
9
|
|
|
@@ -39,6 +40,7 @@ var Copyable = ({
|
|
|
39
40
|
const resolvedLength = truncateLength ?? (variant === "chip" ? 14 : 24);
|
|
40
41
|
const shouldTruncate = truncate || variant === "chip" && text.length > resolvedLength;
|
|
41
42
|
const rendered = display ?? (shouldTruncate ? truncateValue(text, resolvedLength, variant) : text);
|
|
43
|
+
const opaque = variant === "block" && display === void 0 && !/[\s/]/.test(text);
|
|
42
44
|
return /* @__PURE__ */ jsxs(
|
|
43
45
|
"span",
|
|
44
46
|
{
|
|
@@ -46,12 +48,13 @@ var Copyable = ({
|
|
|
46
48
|
"crewlet-copyable",
|
|
47
49
|
`crewlet-copyable--${variant}`,
|
|
48
50
|
monospace && "crewlet-copyable--monospace",
|
|
51
|
+
opaque && "crewlet-copyable--opaque",
|
|
49
52
|
state === "copied" && "is-copied",
|
|
50
53
|
state === "failed" && "is-failed",
|
|
51
54
|
className
|
|
52
55
|
),
|
|
53
56
|
children: [
|
|
54
|
-
/* @__PURE__ */ jsx("span", { className: "crewlet-copyable__value", title: text, children: rendered }),
|
|
57
|
+
/* @__PURE__ */ jsx("span", { className: "crewlet-copyable__value", title: text, children: variant === "chip" || shouldTruncate ? rendered : pathBreaks(rendered) }),
|
|
55
58
|
/* @__PURE__ */ jsx(
|
|
56
59
|
IconButton,
|
|
57
60
|
{
|
|
@@ -10,7 +10,7 @@ import { AvatarStack } from './chunk-ARZGEHWE.js';
|
|
|
10
10
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
11
11
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
12
12
|
import './ArtifactKinds-27TE3KJL.css';
|
|
13
|
-
import './ArtifactCard-
|
|
13
|
+
import './ArtifactCard-ZH6KCD5O.css';
|
|
14
14
|
import { useId } from 'react';
|
|
15
15
|
import { PinGlyph } from '@crewlethq/icons/glyphs';
|
|
16
16
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -132,7 +132,7 @@ function ArtifactCard({
|
|
|
132
132
|
/* @__PURE__ */ jsxs("span", { className: "crewlet-artifact-card__line crewlet-artifact-card__meta", children: [
|
|
133
133
|
access ? /* @__PURE__ */ jsxs("span", { className: "crewlet-artifact-card__access", title: text.access[access], children: [
|
|
134
134
|
/* @__PURE__ */ jsx(ArtifactAccessGlyph, { access }),
|
|
135
|
-
/* @__PURE__ */ jsx(
|
|
135
|
+
/* @__PURE__ */ jsx("span", { className: "crewlet-artifact-card__access-word", children: text.access[access] })
|
|
136
136
|
] }) : null,
|
|
137
137
|
owner ? /* @__PURE__ */ jsxs("span", { className: "crewlet-artifact-card__owner", children: [
|
|
138
138
|
/* @__PURE__ */ jsx(PrincipalAvatar, { principal: owner, size: "xs" }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BrandScope } from './chunk-X7WEE3EK.js';
|
|
2
2
|
import { normalizeHex } from './chunk-7W3LYIOC.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
|
-
import './BrandSample-
|
|
4
|
+
import './BrandSample-3OSKZAGG.css';
|
|
5
5
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
6
6
|
|
|
7
7
|
var LABELS = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useTreeState, treeExpandable, treeLevel, treePosInSet, treeSetSize, treeItemAction, treePrevious, treeNext, treeStep } from './chunk-MY374UUD.js';
|
|
2
|
-
import { GRID_FOOT_LABELS, parseGridSort, overrunning, squeezedCells, fitGridColumns, tableTrack, GRID_ICON_TRACK, GridHeadCell, alignOf, rowLinkTitle, headerWord, GridFoot, droppedNames, nextGridSort, sortByValue } from './chunk-
|
|
2
|
+
import { GRID_FOOT_LABELS, parseGridSort, overrunning, squeezedCells, fitGridColumns, tableTrack, GRID_ICON_TRACK, GridHeadCell, alignOf, rowLinkTitle, headerWord, GridFoot, droppedNames, nextGridSort, sortByValue } from './chunk-2TZNTPF5.js';
|
|
3
3
|
import { LayerNodeBridge } from './chunk-X4HBZSXA.js';
|
|
4
4
|
import { Checkbox } from './chunk-KFTVPWG2.js';
|
|
5
5
|
import { EmptyState } from './chunk-PPUR46MK.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { KeyChip } from './chunk-HBDA76EZ.js';
|
|
2
2
|
import { Text } from './chunk-475DOAWF.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
|
-
import './Breadcrumb-
|
|
4
|
+
import './Breadcrumb-MQJWJVN3.css';
|
|
5
5
|
import { useRef, useState, useLayoutEffect } from 'react';
|
|
6
6
|
import { ChevronRightGlyph } from '@crewlethq/icons/glyphs';
|
|
7
7
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -58,6 +58,7 @@ function Breadcrumb({ crumbs, current, label = "Breadcrumb", className, style, .
|
|
|
58
58
|
}
|
|
59
59
|
);
|
|
60
60
|
}
|
|
61
|
+
var KEEP_CHARACTERS = 20;
|
|
61
62
|
function useFloor(el, content) {
|
|
62
63
|
const [floor, setFloor] = useState(0);
|
|
63
64
|
useLayoutEffect(() => {
|
|
@@ -65,12 +66,20 @@ function useFloor(el, content) {
|
|
|
65
66
|
if (!node) return;
|
|
66
67
|
const bar = node.parentElement;
|
|
67
68
|
const measure = () => {
|
|
68
|
-
const
|
|
69
|
-
|
|
69
|
+
const parts = [...node.querySelectorAll(":scope > .crewlet-breadcrumb__part")];
|
|
70
|
+
const lastPart = parts[parts.length - 1];
|
|
71
|
+
const last = lastPart?.querySelector(":scope > .crewlet-breadcrumb__here");
|
|
72
|
+
if (!lastPart || !last) return setFloor(0);
|
|
70
73
|
const start = node.getBoundingClientRect().left - node.scrollLeft;
|
|
71
|
-
const
|
|
72
|
-
|
|
73
|
-
const
|
|
74
|
+
const gap = parseFloat(getComputedStyle(node).columnGap) || 0;
|
|
75
|
+
let wanted = parts[0].getBoundingClientRect().left - start;
|
|
76
|
+
for (const part of parts.slice(0, -1)) {
|
|
77
|
+
part.style.setProperty("--crewlet-breadcrumb-keep", `${Math.ceil(keptWidth(part))}px`);
|
|
78
|
+
wanted += (parseFloat(getComputedStyle(part).minWidth) || 0) + gap;
|
|
79
|
+
}
|
|
80
|
+
wanted += last.getBoundingClientRect().left - lastPart.getBoundingClientRect().left;
|
|
81
|
+
wanted += parseFloat(getComputedStyle(last).minWidth) || 0;
|
|
82
|
+
wanted = Math.max(0, Math.ceil(wanted));
|
|
74
83
|
setFloor(bar ? Math.min(wanted, roomBeside(bar, node)) : wanted);
|
|
75
84
|
};
|
|
76
85
|
measure();
|
|
@@ -82,6 +91,21 @@ function useFloor(el, content) {
|
|
|
82
91
|
}, [el, content]);
|
|
83
92
|
return floor;
|
|
84
93
|
}
|
|
94
|
+
function keptWidth(part) {
|
|
95
|
+
const label = part.querySelector(".crewlet-breadcrumb__text");
|
|
96
|
+
const drawn = part.getBoundingClientRect().width;
|
|
97
|
+
if (!label || getComputedStyle(label).position === "absolute") return drawn;
|
|
98
|
+
return drawn - label.getBoundingClientRect().width + labelKeeps(label);
|
|
99
|
+
}
|
|
100
|
+
function labelKeeps(label) {
|
|
101
|
+
const text = label.firstChild;
|
|
102
|
+
if (!text || text.nodeType !== Node.TEXT_NODE || typeof document.createRange !== "function") return label.scrollWidth;
|
|
103
|
+
const range = document.createRange();
|
|
104
|
+
if (typeof range.getBoundingClientRect !== "function") return label.scrollWidth;
|
|
105
|
+
range.setStart(text, 0);
|
|
106
|
+
range.setEnd(text, Math.min((text.textContent ?? "").length, KEEP_CHARACTERS));
|
|
107
|
+
return range.getBoundingClientRect().width;
|
|
108
|
+
}
|
|
85
109
|
function roomBeside(bar, item) {
|
|
86
110
|
const style = getComputedStyle(bar);
|
|
87
111
|
const content = bar.clientWidth - (parseFloat(style.paddingLeft) || 0) - (parseFloat(style.paddingRight) || 0);
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { pathBreaks } from './chunk-HZXS5CEL.js';
|
|
1
2
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
2
|
-
import './InlineCode-
|
|
3
|
+
import './InlineCode-BEYQFJQT.css';
|
|
3
4
|
import { Children } from 'react';
|
|
4
5
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
5
6
|
|
|
@@ -37,9 +38,11 @@ function InlineCode({
|
|
|
37
38
|
tone === "inherit" && "crewlet-inline-code--inherit",
|
|
38
39
|
truncate && "crewlet-inline-code--truncate",
|
|
39
40
|
whole && "crewlet-inline-code--whole",
|
|
41
|
+
open && "crewlet-inline-code--opened",
|
|
42
|
+
close && "crewlet-inline-code--closed",
|
|
40
43
|
className
|
|
41
44
|
),
|
|
42
|
-
children: runs === null ? children : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
45
|
+
children: runs === null ? variant === "default" ? pathBreaks(children) : children : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
43
46
|
/* @__PURE__ */ jsx("span", { className: "crewlet-inline-code__end", children: runs[0] }),
|
|
44
47
|
runs[1],
|
|
45
48
|
runs[2] === "" ? null : /* @__PURE__ */ jsx("span", { className: "crewlet-inline-code__end", children: runs[2] })
|
package/dist/generated/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import '../chunk-2KUAO2CX.js';
|
|
2
2
|
export { ElementToPngError, elementToPng, parseCsv, peelPunctuation, serializeElement, toCsv } from '../chunk-BALBOOKX.js';
|
|
3
|
-
export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from '../chunk-Q4JX6UO7.js';
|
|
4
3
|
export { TypeSpecimen } from '../chunk-JKAFEFFC.js';
|
|
5
4
|
export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from '../chunk-QDXSBVZR.js';
|
|
6
5
|
export { VERSION_COMPARE_LABELS, VERSION_COMPARE_LENSES, VersionCompare } from '../chunk-3DAIOPAV.js';
|
|
7
6
|
export { VersionTimeline } from '../chunk-RM5RKPFV.js';
|
|
8
7
|
export { WidgetFrame } from '../chunk-5ZTH54O6.js';
|
|
9
|
-
export { TileGrid } from '../chunk-UFID3DSP.js';
|
|
10
8
|
export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from '../chunk-3P24SMTI.js';
|
|
11
9
|
export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from '../chunk-GQPKDPMS.js';
|
|
12
10
|
export { ToastProvider, Toaster, readingDuration, toasterInsetStyle, useToast } from '../chunk-B6AQY6FH.js';
|
|
13
|
-
export {
|
|
11
|
+
export { TREE_ADD_MARK_MIN_ZOOM, TreeCanvas } from '../chunk-Q4JX6UO7.js';
|
|
14
12
|
export { ThemeGallery } from '../chunk-35ALKQC5.js';
|
|
13
|
+
export { ThemeSwatch } from '../chunk-3XQUEF5C.js';
|
|
15
14
|
export { DensitySwitcher, ThemeSwitcher } from '../chunk-AIYSPVVZ.js';
|
|
16
15
|
export { ThemeToggle } from '../chunk-5RXY2RL4.js';
|
|
17
16
|
export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from '../chunk-Z24ZUSTX.js';
|
|
18
|
-
export { ThemeSwatch } from '../chunk-3XQUEF5C.js';
|
|
19
17
|
export { ThinkingIndicator } from '../chunk-DX7ZHO47.js';
|
|
20
18
|
export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from '../chunk-U4HA6LRQ.js';
|
|
19
|
+
export { TileGrid } from '../chunk-UFID3DSP.js';
|
|
21
20
|
export { Switcher } from '../chunk-GPEXCG5K.js';
|
|
22
21
|
export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from '../chunk-JKFA2F7J.js';
|
|
22
|
+
export { TagsInput } from '../chunk-A5VNNA3V.js';
|
|
23
23
|
export { StatCard } from '../chunk-2YADDY4A.js';
|
|
24
24
|
export { StatGroup } from '../chunk-OUD75UB2.js';
|
|
25
25
|
export { Statement } from '../chunk-MZJKPTA5.js';
|
|
@@ -42,17 +42,17 @@ export { SelectionBar } from '../chunk-XIKU44QE.js';
|
|
|
42
42
|
export { SEND_BUTTON_LABELS, SendButton } from '../chunk-PNSUXNNY.js';
|
|
43
43
|
export { SettingsTable, SettingsTableRow } from '../chunk-FRXOUBN2.js';
|
|
44
44
|
export { ReviewList } from '../chunk-7XYU5PSQ.js';
|
|
45
|
+
export { RichEditor, preloadRichEditor } from '../chunk-KQFOPY2P.js';
|
|
46
|
+
export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
|
|
45
47
|
export { canonicalMarkdown, roundTripMarkdown } from '../chunk-GBASM5EV.js';
|
|
46
48
|
import '../chunk-7CSTEH5I.js';
|
|
47
|
-
export { RichEditor, preloadRichEditor } from '../chunk-Q6QKY7EZ.js';
|
|
48
|
-
export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
|
|
49
49
|
export { RoomRow } from '../chunk-45OOFAL6.js';
|
|
50
50
|
export { RUN_STATES, RunChip } from '../chunk-L6SYLG3F.js';
|
|
51
51
|
export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from '../chunk-4EKHHHOQ.js';
|
|
52
52
|
export { SearchTrigger } from '../chunk-K5WTII2H.js';
|
|
53
53
|
export { READING_PANE_ENTER, ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from '../chunk-XZ47PWVD.js';
|
|
54
|
-
export { RecordChip, RecordChipList } from '../chunk-GMQ54OQF.js';
|
|
55
54
|
export { REFUSAL_CARD_LABELS, RefusalCard } from '../chunk-XKHW7ZHP.js';
|
|
55
|
+
export { RecordChip, RecordChipList } from '../chunk-GMQ54OQF.js';
|
|
56
56
|
export { RelatedRow } from '../chunk-XX7UCYDH.js';
|
|
57
57
|
export { RESULT_TABLE_CARD_LABELS, RESULT_TABLE_COLLAPSED_ROWS, RESULT_TABLE_MAX_ROWS, ResultTableCard } from '../chunk-GCE475FL.js';
|
|
58
58
|
export { Table } from '../chunk-YGN4SBNP.js';
|
|
@@ -61,19 +61,19 @@ export { PropertyList } from '../chunk-D2KJ5GQC.js';
|
|
|
61
61
|
export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from '../chunk-JDWMDK5A.js';
|
|
62
62
|
export { Prose } from '../chunk-DVVP27OD.js';
|
|
63
63
|
export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } from '../chunk-Y56FM3K4.js';
|
|
64
|
+
export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from '../chunk-LZCGLS7U.js';
|
|
64
65
|
export { RAIL_LIST_LABELS, RailList } from '../chunk-32QLSXKL.js';
|
|
65
66
|
export { NavDivider, NavGroup, NavItem, SidebarNav } from '../chunk-SM2MM4DQ.js';
|
|
66
67
|
export { Select } from '../chunk-6ZFQ6TAM.js';
|
|
67
|
-
export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from '../chunk-LZCGLS7U.js';
|
|
68
68
|
export { PinTile } from '../chunk-7XRAYILF.js';
|
|
69
|
+
export { PresenceStack } from '../chunk-MTIW75QU.js';
|
|
69
70
|
export { PresenterView, formatStopwatch } from '../chunk-HERJFKPF.js';
|
|
70
71
|
export { SLIDE_NAV_LABELS, SlideNav } from '../chunk-MZNOVME7.js';
|
|
71
72
|
export { SLIDE_HEIGHT, SLIDE_WIDTH, SlideStage, useSlideKeys } from '../chunk-7O53SWKI.js';
|
|
72
73
|
export { PricingCard } from '../chunk-O2XAJDK6.js';
|
|
73
|
-
export { PresenceStack } from '../chunk-MTIW75QU.js';
|
|
74
74
|
export { OrgNodeDisclosure, OrgNodeLabel, OrgNodeLead } from '../chunk-6BTQVM6O.js';
|
|
75
|
-
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-
|
|
76
|
-
export { TreeGrid } from '../chunk-
|
|
75
|
+
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-NFA7CSCD.js';
|
|
76
|
+
export { TreeGrid } from '../chunk-QFE6T6GW.js';
|
|
77
77
|
export { Outline, scrollToHeading, useActiveHeading } from '../chunk-WYIPKGEO.js';
|
|
78
78
|
export { PageNote } from '../chunk-CV4NES3P.js';
|
|
79
79
|
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';
|
|
@@ -89,20 +89,20 @@ export { MEMBER_PICKER_LABELS, MemberPicker, chosenMembers } from '../chunk-GTS3
|
|
|
89
89
|
export { MentionChip } from '../chunk-SYOMUNKU.js';
|
|
90
90
|
export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from '../chunk-46WA7E5V.js';
|
|
91
91
|
export { PersonRow } from '../chunk-42I2VSZZ.js';
|
|
92
|
-
export { MERGE_CONFLICTS_LABELS, MergeConflicts } from '../chunk-H2QSDZTX.js';
|
|
93
92
|
export { ActionDivider, MessageAction, MessageActions, QuickReaction } from '../chunk-NHCY563I.js';
|
|
93
|
+
export { MERGE_CONFLICTS_LABELS, MergeConflicts } from '../chunk-H2QSDZTX.js';
|
|
94
94
|
export { ListDetail, ListDetailBack } from '../chunk-DNBIBLT2.js';
|
|
95
95
|
export { ListInput, withDraft } from '../chunk-Z64KEJ3N.js';
|
|
96
|
-
export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from '../chunk-DPNVKWJX.js';
|
|
97
96
|
export { LIVE_PREVIEW_DWELL_MS, LIVE_PREVIEW_MARGIN, LIVE_PREVIEW_MAX, LIVE_PREVIEW_MAX_FRAMES, LIVE_PREVIEW_RENDER_MS, LIVE_PREVIEW_STILLS_KEPT, LivePreview, LivePreviewBudgetProvider, PREVIEW_FILL_MAX_CUT, PreviewScale, createLivePreviewBudget, createLivePreviewStills, immediately, perFrame, useLivePreview } from '../chunk-CQFQGAZI.js';
|
|
98
|
-
export {
|
|
97
|
+
export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from '../chunk-DPNVKWJX.js';
|
|
98
|
+
export { LogoSlot, LogoSlotGroup } from '../chunk-4Q7AWZ6O.js';
|
|
99
99
|
export { KeyValueRows, keyValueRowsLabels } from '../chunk-Q7WKCU2U.js';
|
|
100
100
|
export { LAYERS_LIST_LABELS, LayersList } from '../chunk-TEOUMHAI.js';
|
|
101
101
|
export { AutoGrid, Inline, Spacer, Stack } from '../chunk-ZAC7SKUN.js';
|
|
102
102
|
export { Link } from '../chunk-RMGPZQVJ.js';
|
|
103
103
|
export { LinkCard } from '../chunk-346EXHOR.js';
|
|
104
104
|
import '../chunk-KOJPDCGQ.js';
|
|
105
|
-
export { LinkInterstitial, openExternal } from '../chunk-
|
|
105
|
+
export { LinkInterstitial, openExternal } from '../chunk-6POROC4M.js';
|
|
106
106
|
export { List, ListItem } from '../chunk-GAQU5V5R.js';
|
|
107
107
|
export { INBOX_ROW_LEAVE, InboxGroup, InboxList, InboxMore, InboxRow, InboxToggle } from '../chunk-UMEK5DHS.js';
|
|
108
108
|
export { IndicatorAnchor } from '../chunk-27MJPU7G.js';
|
|
@@ -138,10 +138,10 @@ export { DockColumn } from '../chunk-UXTW4GOT.js';
|
|
|
138
138
|
export { DownloadButton } from '../chunk-GCRACVZO.js';
|
|
139
139
|
export { downloadBlob, downloadText, safeFilename, useDownload } from '../chunk-YNRKVY7X.js';
|
|
140
140
|
export { EditingStatus } from '../chunk-KRF3GQ63.js';
|
|
141
|
-
export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from '../chunk-OHXOUHTX.js';
|
|
142
141
|
export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from '../chunk-3DGNF2EH.js';
|
|
143
142
|
export { PageHeader } from '../chunk-FPDIHEM4.js';
|
|
144
143
|
export { FILTER_PILL_LABELS, FILTER_PILL_WORDS_CLASS, FilterPill, filterPillSentence } from '../chunk-E4QX4VET.js';
|
|
144
|
+
export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from '../chunk-OHXOUHTX.js';
|
|
145
145
|
export { DEFAULT_DATE_TIME_PICKER_LABELS, DateTimePicker } from '../chunk-AQZPZYSY.js';
|
|
146
146
|
export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from '../chunk-JLOZE7QG.js';
|
|
147
147
|
export { STEP_STATES, STEP_STATE_LABELS, StepList, StepStateMark, Stepper, stepDetailPieces } from '../chunk-EHD4CEHK.js';
|
|
@@ -151,13 +151,13 @@ export { DELIVERY_RECEIPT_LABELS, DeliveryReceipt } from '../chunk-GTNXDLYH.js';
|
|
|
151
151
|
export { DescriptionList, DescriptionListItem } from '../chunk-LH4OF7FI.js';
|
|
152
152
|
export { DIFF_SUMMARY_LABELS, DIFF_VIEW_LABELS, DiffSummary, DiffView, MAX_DIFF_LINES, collapseDiff, diffLines, diffStat, firstChangedLines, splitLines } from '../chunk-U3LHWQQK.js';
|
|
153
153
|
export { Container } from '../chunk-HJO4WCH6.js';
|
|
154
|
-
export { ContrastHelp } from '../chunk-
|
|
155
|
-
export { ContrastBadge, ContrastLevelTag, contrastLevel, contrastRatio, formatContrastRatio } from '../chunk-
|
|
154
|
+
export { ContrastHelp } from '../chunk-SIL5WE55.js';
|
|
155
|
+
export { ContrastBadge, ContrastLevelTag, contrastLevel, contrastRatio, formatContrastRatio } from '../chunk-3YOLD7WG.js';
|
|
156
156
|
export { CursorFlag } from '../chunk-MMCYH5LB.js';
|
|
157
157
|
export { PresenceRing, presenceHueClass } from '../chunk-EFX2YC5T.js';
|
|
158
|
-
export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from '../chunk-
|
|
158
|
+
export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, nextGridSort, parseGridSort, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from '../chunk-2TZNTPF5.js';
|
|
159
159
|
export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from '../chunk-Y7FPSBCN.js';
|
|
160
|
-
export { ColorSwatch } from '../chunk-
|
|
160
|
+
export { ColorSwatch } from '../chunk-KMIS2R67.js';
|
|
161
161
|
export { Combobox } from '../chunk-WUJ54OTI.js';
|
|
162
162
|
export { CommandPalette } from '../chunk-XYZA7OSE.js';
|
|
163
163
|
export { ConfirmModal, Modal } from '../chunk-VSD3536L.js';
|
|
@@ -165,38 +165,46 @@ export { HIGHLIGHT_REST_MS, TYPE_AHEAD_WINDOW, useHighlightRest, useListbox, use
|
|
|
165
165
|
export { COMMENT_THREAD_LABELS, CommentThread } from '../chunk-WLCPN22T.js';
|
|
166
166
|
export { CompactNav, CompactNavGroup, CompactNavItem, CompactNavSeparator, groupBadge, placeFlyout } from '../chunk-QFI5C4YF.js';
|
|
167
167
|
export { LockedLabel } from '../chunk-TODOBUXO.js';
|
|
168
|
-
export { ConfirmField, confirmMatches } from '../chunk-
|
|
169
|
-
export { InlineCode } from '../chunk-
|
|
168
|
+
export { ConfirmField, confirmMatches } from '../chunk-ECOWCJHQ.js';
|
|
169
|
+
export { InlineCode } from '../chunk-XHNV272L.js';
|
|
170
170
|
export { CONFLICT_NOTE_LABELS, ConflictNote } from '../chunk-DM3BTGBZ.js';
|
|
171
171
|
export { CHIP_FIELD_LABELS, ChipField } from '../chunk-YUW4DD2Z.js';
|
|
172
172
|
export { ChoiceButtons } from '../chunk-AHW3K3SH.js';
|
|
173
173
|
export { ChoiceCards } from '../chunk-FHPHRIPO.js';
|
|
174
174
|
export { ChoiceList } from '../chunk-XU7RQNT6.js';
|
|
175
175
|
export { CLAMP_LABELS, Clamp } from '../chunk-IZGB6SQE.js';
|
|
176
|
-
export { ColorChip } from '../chunk-C6T4VBEY.js';
|
|
177
176
|
export { CodeBlock } from '../chunk-FPCTHIV6.js';
|
|
178
|
-
export { Copyable } from '../chunk-
|
|
177
|
+
export { Copyable } from '../chunk-MZV45HQB.js';
|
|
179
178
|
export { CopyButton } from '../chunk-2MEBMWNO.js';
|
|
180
179
|
export { useClipboard, writeClipboard } from '../chunk-STJ7QBC3.js';
|
|
181
180
|
export { useOutcome } from '../chunk-DTIW4CHZ.js';
|
|
181
|
+
import '../chunk-HZXS5CEL.js';
|
|
182
|
+
export { ColorChip } from '../chunk-C6T4VBEY.js';
|
|
182
183
|
export { ColorField } from '../chunk-UQA7SV3B.js';
|
|
183
184
|
import '../chunk-3L5NHASN.js';
|
|
184
185
|
export { ActivityStrip, BarList, ChartEmpty, ChartTooltip, DATA_COLORS, DATA_COLOR_OTHER, Histogram, Legend, Sparkline, StackedBar, StackedColumns, StackedRing, TimeSeries, dataColor, histogramTicks, niceScale, useChartHover } from '../chunk-TQ6ZPQI4.js';
|
|
185
186
|
export { ChatDay, ChatDayPill } from '../chunk-RBQOS3JC.js';
|
|
186
187
|
export { ChatDivider } from '../chunk-EI242VTX.js';
|
|
187
|
-
export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from '../chunk-KTKPC3CV.js';
|
|
188
188
|
import '../chunk-5QJNA7KD.js';
|
|
189
|
+
export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from '../chunk-KTKPC3CV.js';
|
|
189
190
|
export { CHAT_MESSAGE_CLASS, CHAT_MESSAGE_FAILURE_LABELS, ChatMessage, ChatMessageFailure } from '../chunk-Y3EV3Q2U.js';
|
|
190
191
|
export { CheckGrid } from '../chunk-AYLFZW27.js';
|
|
192
|
+
export { BOARD_NAME_MIN_CHARS, CANVAS_BOARD_MAX_LIVE, CANVAS_BOARD_MIN_LIVE_WIDTH, CANVAS_BOARD_MIN_ZOOM, CANVAS_NOTE_COLORS, CanvasBoard, TITLE_GLYPH_EM, boardName, boardRoom, liveBoards, titleSize } from '../chunk-QM2QFKIA.js';
|
|
193
|
+
export { Note } from '../chunk-YJPQJVRJ.js';
|
|
191
194
|
export { CanvasSchematic } from '../chunk-NBWNLYWZ.js';
|
|
195
|
+
export { CanvasToolbar, toolForKey } from '../chunk-AKCIF6XN.js';
|
|
196
|
+
export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from '../chunk-NPEI2QAN.js';
|
|
192
197
|
export { CatalogTile } from '../chunk-JKEGFDBG.js';
|
|
193
198
|
export { CHANGE_LIST_COLLAPSE_OVER, CHANGE_LIST_LABELS, ChangeList, ChangeListItems, shortenUnchanged } from '../chunk-NB53SAL4.js';
|
|
194
199
|
export { DIFF_LIST_LABELS, DiffList } from '../chunk-RGJB34YN.js';
|
|
195
200
|
export { ChangeMark } from '../chunk-TYQJRTTK.js';
|
|
196
201
|
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';
|
|
197
202
|
export { PRESENCE_ACTIVITIES, PRESENCE_HUES, PRESENCE_LABELS, assignPresenceHues, collapseSessions, joinNames, presenceLabels, presenceOrder } from '../chunk-Z7JYG5TF.js';
|
|
198
|
-
export {
|
|
199
|
-
export {
|
|
203
|
+
export { BrandSample } from '../chunk-OWYIRWEX.js';
|
|
204
|
+
export { BrandScope, brandScopeInputs } from '../chunk-X7WEE3EK.js';
|
|
205
|
+
import '../chunk-5SGHW42B.js';
|
|
206
|
+
import '../chunk-7W3LYIOC.js';
|
|
207
|
+
export { Breadcrumb } from '../chunk-QNDXLHBO.js';
|
|
200
208
|
export { KeyChip } from '../chunk-HBDA76EZ.js';
|
|
201
209
|
export { BRIEF_CARD_LABELS, BRIEF_CARD_MAX_FOLLOW_UPS, BRIEF_CARD_MAX_NEEDS, BRIEF_CARD_MAX_POINTS, BriefCard } from '../chunk-K6YVJS5T.js';
|
|
202
210
|
export { SuggestionList, SuggestionRow } from '../chunk-IR3OWPAZ.js';
|
|
@@ -204,12 +212,9 @@ import '../chunk-6C7GQOBV.js';
|
|
|
204
212
|
export { StatusCard } from '../chunk-X227R7IP.js';
|
|
205
213
|
export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from '../chunk-EE3DJMSQ.js';
|
|
206
214
|
export { Callout } from '../chunk-RCQLXOGS.js';
|
|
207
|
-
export { BOARD_NAME_MIN_CHARS, CANVAS_BOARD_MAX_LIVE, CANVAS_BOARD_MIN_LIVE_WIDTH, CANVAS_BOARD_MIN_ZOOM, CANVAS_NOTE_COLORS, CanvasBoard, TITLE_GLYPH_EM, boardName, boardRoom, liveBoards, titleSize } from '../chunk-QM2QFKIA.js';
|
|
208
|
-
export { Note } from '../chunk-YJPQJVRJ.js';
|
|
209
|
-
export { CanvasToolbar, toolForKey } from '../chunk-AKCIF6XN.js';
|
|
210
|
-
export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from '../chunk-NPEI2QAN.js';
|
|
211
215
|
export { CANVAS_COMPOSE_CONTEXT, CANVAS_FIT_MAX_ZOOM, CANVAS_FIT_PADDING, CANVAS_FOCUS_CONTEXT, CANVAS_MAX_ZOOM, CANVAS_MIN_ZOOM, CANVAS_PAN_MARGIN, CANVAS_PAN_STEP, CANVAS_REVEAL_PADDING, CANVAS_TAP_SLOP, CANVAS_WHEEL_LINE_PX, CANVAS_WHEEL_ZOOM_PER_PIXEL, CANVAS_ZOOM_CEILING, CANVAS_ZOOM_LIMITS, CANVAS_ZOOM_STEP, Canvas, IDENTITY_VIEW, ShortcutTip, anchorView, beyondSlop, clampPan, clampZoom, fitView, gridOf, panBy, pinchView, regionView, revealView, screenRect, toScreen, toWorld, wheelPixels, wheelZoomFactor, zoomAt, zoomLimits } from '../chunk-MNVIIZQP.js';
|
|
212
216
|
import '../chunk-X4HBZSXA.js';
|
|
217
|
+
export { ASIDE_LAYOUT_SPLIT_REM, AsideLayout } from '../chunk-7UQQEUOT.js';
|
|
213
218
|
export { ATTACHMENT_CHIP_LABELS, AttachmentChip } from '../chunk-GZSEIFWB.js';
|
|
214
219
|
export { Tag } from '../chunk-SJ3EUCFD.js';
|
|
215
220
|
export { ATTENTION_LIST_LABELS, AttentionList } from '../chunk-NKB2ORTZ.js';
|
|
@@ -220,12 +225,8 @@ export { Popover } from '../chunk-KDRJZWE3.js';
|
|
|
220
225
|
export { CHARACTER_PICKER_COLUMNS, CharacterPicker } from '../chunk-ZIL6MTMZ.js';
|
|
221
226
|
export { NODE_HUES, NODE_HUE_NAMES, isNodeHue } from '../chunk-AYKXMIOR.js';
|
|
222
227
|
export { BrandChip } from '../chunk-UH44L7OJ.js';
|
|
223
|
-
export { BrandSample } from '../chunk-IJCMOAM3.js';
|
|
224
|
-
export { BrandScope, brandScopeInputs } from '../chunk-X7WEE3EK.js';
|
|
225
|
-
import '../chunk-5SGHW42B.js';
|
|
226
|
-
import '../chunk-7W3LYIOC.js';
|
|
227
228
|
export { BrandLockup } from '../chunk-KXWJJWBD.js';
|
|
228
|
-
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-
|
|
229
|
+
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-OVFB63RZ.js';
|
|
229
230
|
export { Skeleton } from '../chunk-WFAJYBLX.js';
|
|
230
231
|
export { PRINCIPAL_KINDS, PrincipalAvatar } from '../chunk-HF5L56YQ.js';
|
|
231
232
|
export { RelativeTime, currentNow, formatElapsed, formatExact, formatRelative, formatUntil, toISO, toInstant, useNow } from '../chunk-GBKBME7Q.js';
|
|
@@ -238,8 +239,8 @@ export { DashboardCover, DocCover, SHEET_COVER_COLUMNS, SHEET_COVER_ROWS, SheetC
|
|
|
238
239
|
export { Document, DocumentTitle, DocumentTitleField } from '../chunk-I4PBFJGX.js';
|
|
239
240
|
export { ArtifactKindGround, ArtifactKindIllustration, ArtifactKindTile } from '../chunk-W3A6NBUM.js';
|
|
240
241
|
export { ArtifactMakeRow } from '../chunk-A3SQWUWG.js';
|
|
241
|
-
export {
|
|
242
|
-
export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRailRow, AppShellRailStatus, AppShellToggle, AppShellTopbar, readStoredWidth, useAppShell, useScreenBelow, useScreenWidth, useStoredWidth } from '../chunk-
|
|
242
|
+
export { ArtifactNameCell } from '../chunk-3SCASXQH.js';
|
|
243
|
+
export { APP_SHELL_ASIDE_WIDTH, AccountRow, AppShell, AppShellRail, AppShellRailRow, AppShellRailStatus, AppShellToggle, AppShellTopbar, readStoredWidth, useAppShell, useScreenBelow, useScreenWidth, useStoredWidth } from '../chunk-M32NBSS7.js';
|
|
243
244
|
export { afterMotion, releaseFocus, runningMotion, usePresence } from '../chunk-SNKQNAJI.js';
|
|
244
245
|
import '../chunk-JLOESTT2.js';
|
|
245
246
|
export { ArrangeBoard } from '../chunk-QO7QEQKV.js';
|