@crewlethq/ui 0.170.1 → 0.171.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/README.md +6 -0
- package/dist/ArrangeGrid/ArrangeGrid.d.ts +8 -2
- package/dist/ArrangeGrid/index.js +2 -1
- package/dist/ArrangeGrid/usePackedGrid.d.ts +18 -0
- package/dist/ArrangeGrid-JOVQJHRU.css +31 -0
- package/dist/ArrangeGroup/ArrangeGroup.d.ts +3 -1
- package/dist/ArrangeGroup/index.js +2 -1
- package/dist/CommentThread/index.js +2 -2
- package/dist/chunk-5U3CPSYD.js +185 -0
- package/dist/chunk-CRXBR3LJ.js +22 -0
- package/dist/{chunk-N3WS3XDV.js → chunk-KZN36L7O.js} +9 -3
- package/dist/generated/index.js +39 -38
- package/dist/index.js +39 -38
- package/dist/styles.css +17 -3
- package/package.json +3 -3
- package/dist/ArrangeGrid-XM4ZFTED.css +0 -17
- package/dist/chunk-QBA5B2Z5.js +0 -17
- package/dist/{chunk-Q3PUOZEA.js → chunk-BLIHR27X.js} +1 -1
package/README.md
CHANGED
|
@@ -208,6 +208,12 @@ places:
|
|
|
208
208
|
- A surface that pans or zooms dispatches `LAYER_REPOSITION_EVENT` on its host
|
|
209
209
|
when the content beneath it moves, and every panel anchored inside follows.
|
|
210
210
|
|
|
211
|
+
## Changes in 0.171.0
|
|
212
|
+
|
|
213
|
+
### A short block beside a tall one leaves no hole
|
|
214
|
+
|
|
215
|
+
**`ArrangeGrid` takes `pack`**, which lays a board's blocks as a masonry: each block starts under the nearest block above it in its columns, measured from its real height, rather than under the tallest block of the row before. A short card beside a tall one (a long list of decisions) left its columns empty down to the tall card's foot; packed, the cards after it fill them. Blocks keep the reader's order: placement is the grid's own sparse auto-placement, never dense, so no block lands above one before it, and the document order a screen reader follows is unchanged. Neighbours whose feet are less than three row gaps apart are levelled into one row, so the cards after them start level rather than a few pixels apart. A frame sized by its content then reaches down to the next block in its columns, or the board's foot, so columns end together as a row's cards did; a frame given a height keeps it. Widths, arranging (drag, resize, the arrow keys) and a one-column page work as before. The grid's rows become one pixel each and every block spans its height and the row gap under it; a change to a block's content is measured before the next frame is drawn, a size change with no change to the page (a narrower window) at the next frame, and the first frame is already packed; a grid with no box (in a hidden tab) stays in rows until it is shown. An `ArrangeGroup`'s body follows the grid it stands on, or its own `pack`. Off by default, so a board laid in rows is unchanged. Story: `ArrangeGrid` Packed, Rows, Packed While Arranging.
|
|
216
|
+
|
|
211
217
|
## Changes in 0.170.0
|
|
212
218
|
|
|
213
219
|
### Unmarked integrations draw as one designed family
|
|
@@ -1,7 +1,13 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type HTMLAttributes, type ReactNode } from 'react';
|
|
2
2
|
export interface ArrangeGridProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
/** Columns of the grid, which each block spans a number of. Twelve by default. */
|
|
4
4
|
columns?: number | undefined;
|
|
5
|
+
/**
|
|
6
|
+
* Pack the blocks as a masonry: each starts under the nearest block above
|
|
7
|
+
* it in its columns, measured from its real height, rather than under the
|
|
8
|
+
* tallest block of the row before. Groups inside follow. Off by default.
|
|
9
|
+
*/
|
|
10
|
+
pack?: boolean | undefined;
|
|
5
11
|
children?: ReactNode;
|
|
6
12
|
}
|
|
7
13
|
/**
|
|
@@ -19,4 +25,4 @@ export interface ArrangeGridProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
19
25
|
* `--crewlet-arrange-board-gap`, and so is this, so a lane is exactly the
|
|
20
26
|
* column a block snaps to.
|
|
21
27
|
*/
|
|
22
|
-
export declare function ArrangeGrid({ columns, className, style, children, ...rest }: ArrangeGridProps): import("react").JSX.Element;
|
|
28
|
+
export declare function ArrangeGrid({ columns, pack, className, style, children, ...rest }: ArrangeGridProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type RefObject } from 'react';
|
|
2
|
+
/** Whether a board's grids pack their blocks: `ArrangeGrid`'s `pack`, which a group's body follows. */
|
|
3
|
+
export declare const ArrangePackContext: import("react").Context<boolean>;
|
|
4
|
+
/**
|
|
5
|
+
* One pass over a packed grid: each child spans as many fine rows as it is
|
|
6
|
+
* tall (feet a step apart levelled), so the grid's own auto-placement starts
|
|
7
|
+
* the next block under the shortest one it fits beside; then each stretching
|
|
8
|
+
* frame reaches down to the next block in its columns, or the grid's foot.
|
|
9
|
+
* A grid with no box (hidden) is left in rows. Says whether anything changed.
|
|
10
|
+
*/
|
|
11
|
+
export declare function packGrid(grid: HTMLElement): boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Packs a grid's blocks as a masonry while `on`, in their own order. Content
|
|
14
|
+
* changes are measured before the next paint (a mutation observer), size
|
|
15
|
+
* changes with no DOM change (a narrower page, a grid shown again) at the
|
|
16
|
+
* next frame.
|
|
17
|
+
*/
|
|
18
|
+
export declare function usePackedGrid(ref: RefObject<HTMLElement | null>, on: boolean): void;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* ArrangeGrid: the page grid a board's blocks stand on. Equal columns, the
|
|
3
|
+
* board's gap between them, and each block stretched to its row's height, so
|
|
4
|
+
* the cards in one row share their bottom edge.
|
|
5
|
+
*/
|
|
6
|
+
.crewlet-arrange-grid {
|
|
7
|
+
--crewlet-arrange-row-gap: var(--crewlet-arrange-board-gap, var(--spacing-4));
|
|
8
|
+
|
|
9
|
+
display: grid;
|
|
10
|
+
grid-template-columns: repeat(var(--crewlet-arrange-columns, 12), minmax(0, 1fr));
|
|
11
|
+
gap: var(--crewlet-arrange-row-gap) var(--crewlet-arrange-board-gap, var(--spacing-4));
|
|
12
|
+
align-items: stretch;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* More room between rows while the page is arranged: each block's toolbar
|
|
16
|
+
sits on its top edge, half in the gap above it. */
|
|
17
|
+
.crewlet-arrange-board.is-editing .crewlet-arrange-grid {
|
|
18
|
+
--crewlet-arrange-row-gap: var(--spacing-5);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
/* Packed (`pack`): one-pixel rows, each block at its own height spanning it
|
|
22
|
+
and the gap under it. The row gap is the blocks' own, so a gap set inline
|
|
23
|
+
on the grid must not open between the rows. */
|
|
24
|
+
.crewlet-arrange-grid[data-packed] {
|
|
25
|
+
grid-auto-rows: 1px;
|
|
26
|
+
row-gap: 0 !important;
|
|
27
|
+
align-items: start;
|
|
28
|
+
}
|
|
29
|
+
.crewlet-arrange-grid[data-packed] > * {
|
|
30
|
+
margin-block-end: var(--crewlet-arrange-row-gap);
|
|
31
|
+
}
|
|
@@ -35,6 +35,8 @@ export interface ArrangeGroupProps extends Omit<HTMLAttributes<HTMLElement>, 'ti
|
|
|
35
35
|
empty?: ReactNode;
|
|
36
36
|
/** Columns of the body's grid. */
|
|
37
37
|
columns?: number | undefined;
|
|
38
|
+
/** Pack the body's blocks as a masonry (see `ArrangeGrid`); left out, as the grid it stands on does. */
|
|
39
|
+
pack?: boolean | undefined;
|
|
38
40
|
/** Controls at the end of the header. */
|
|
39
41
|
actions?: ReactNode;
|
|
40
42
|
children?: ReactNode;
|
|
@@ -54,4 +56,4 @@ export interface ArrangeGroupProps extends Omit<HTMLAttributes<HTMLElement>, 'ti
|
|
|
54
56
|
* THE TONE IS A BAND, never the whole surface: the header carries the hue and
|
|
55
57
|
* the body stays the page's, so the cards inside keep their own contrast.
|
|
56
58
|
*/
|
|
57
|
-
export declare function ArrangeGroup({ title, tone, variant, collapsed, onCollapsedChange, count, onTitleChange, bodyProps, empty, columns, actions, className, children, ...rest }: ArrangeGroupProps): import("react").JSX.Element;
|
|
59
|
+
export declare function ArrangeGroup({ title, tone, variant, collapsed, onCollapsedChange, count, onTitleChange, bodyProps, empty, columns, pack, actions, className, children, ...rest }: ArrangeGroupProps): import("react").JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { COMMENT_THREAD_LABELS, CommentThread } from '../chunk-
|
|
1
|
+
export { COMMENT_THREAD_LABELS, CommentThread } from '../chunk-BLIHR27X.js';
|
|
2
|
+
import '../chunk-I4PBFJGX.js';
|
|
2
3
|
import '../chunk-265IX4YA.js';
|
|
3
4
|
import '../chunk-GBKBME7Q.js';
|
|
4
5
|
import '../chunk-WGLOH33S.js';
|
|
5
|
-
import '../chunk-I4PBFJGX.js';
|
|
6
6
|
import '../chunk-JWHXDVN5.js';
|
|
7
7
|
import '../chunk-YMFFGPFE.js';
|
|
8
8
|
import '../chunk-ULZPOVTO.js';
|
|
@@ -0,0 +1,185 @@
|
|
|
1
|
+
import { createContext, useRef, useLayoutEffect } from 'react';
|
|
2
|
+
|
|
3
|
+
// src/ArrangeGrid/usePackedGrid.ts
|
|
4
|
+
var ArrangePackContext = createContext(false);
|
|
5
|
+
var MAX_TRACKS = 9e3;
|
|
6
|
+
var LEVEL_GAPS = 3;
|
|
7
|
+
var LEVEL_PASSES = 4;
|
|
8
|
+
var laid = /* @__PURE__ */ new WeakMap();
|
|
9
|
+
var stretched = /* @__PURE__ */ new WeakSet();
|
|
10
|
+
function measure(el, scale) {
|
|
11
|
+
const style = getComputedStyle(el);
|
|
12
|
+
if (style.display === "none" || style.position === "absolute" || style.position === "fixed") return null;
|
|
13
|
+
const gap = parseFloat(style.marginBlockEnd) || 0;
|
|
14
|
+
return { outer: el.getBoundingClientRect().height / scale + (parseFloat(style.marginBlockStart) || 0) + gap, gap };
|
|
15
|
+
}
|
|
16
|
+
function placed(el, scale) {
|
|
17
|
+
const r = el.getBoundingClientRect();
|
|
18
|
+
const m = /^matrix(3d)?\((.+)\)$/.exec(getComputedStyle(el).transform);
|
|
19
|
+
const v = m ? m[2].split(",").map(parseFloat) : [];
|
|
20
|
+
const x = (m?.[1] ? v[12] : v[4]) ?? 0;
|
|
21
|
+
const y = (m?.[1] ? v[13] : v[5]) ?? 0;
|
|
22
|
+
return { top: r.top / scale - y, bottom: r.bottom / scale - y, left: r.left / scale - x, right: r.right / scale - x };
|
|
23
|
+
}
|
|
24
|
+
var stretches = (el) => el.classList.contains("crewlet-arrange-frame") && !el.classList.contains("is-fixed-height");
|
|
25
|
+
function writeSpans(items, spans) {
|
|
26
|
+
items.forEach((el, i) => {
|
|
27
|
+
const span = spans[i] ? `span ${spans[i]}` : "";
|
|
28
|
+
if (el.style.gridRowEnd !== span) el.style.gridRowEnd = span;
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
function level(items, sizes, spans, unit, scale) {
|
|
32
|
+
for (let pass = 0; pass < LEVEL_PASSES; pass++) {
|
|
33
|
+
const areas = items.map((el, i) => {
|
|
34
|
+
const size = sizes[i];
|
|
35
|
+
if (!size) return null;
|
|
36
|
+
const top = placed(el, scale).top;
|
|
37
|
+
return { top, bottom: top + spans[i] * unit, step: LEVEL_GAPS * size.gap };
|
|
38
|
+
});
|
|
39
|
+
let longer = false;
|
|
40
|
+
areas.forEach((a, i) => {
|
|
41
|
+
if (!a) return;
|
|
42
|
+
for (const b of areas) {
|
|
43
|
+
if (!b || b === a || b.top >= a.bottom || a.top >= b.bottom) continue;
|
|
44
|
+
const short = b.bottom - a.bottom;
|
|
45
|
+
if (short <= 0 || short >= a.step) continue;
|
|
46
|
+
const span = Math.round((b.bottom - a.top) / unit);
|
|
47
|
+
if (span > spans[i]) {
|
|
48
|
+
spans[i] = span;
|
|
49
|
+
longer = true;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
if (!longer) return;
|
|
54
|
+
writeSpans(items, spans);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
function lay(items, sizes, unit, spans, scale) {
|
|
58
|
+
sizes.forEach((s, i) => spans[i] = s ? Math.max(1, Math.round(s.outer / unit)) : 0);
|
|
59
|
+
writeSpans(items, spans);
|
|
60
|
+
level(items, sizes, spans, unit, scale);
|
|
61
|
+
const tops = items.map((el, i) => spans[i] ? placed(el, scale).top : Infinity);
|
|
62
|
+
const first = Math.min(...tops);
|
|
63
|
+
const ends = tops.map((t, i) => spans[i] ? Math.round((t - first) / unit) + spans[i] : 0);
|
|
64
|
+
const lines = Math.max(0, ...ends);
|
|
65
|
+
items.forEach((_, i) => {
|
|
66
|
+
if (spans[i] && ends[i] === lines) spans[i] = Math.max(1, spans[i] - Math.round(sizes[i].gap / unit));
|
|
67
|
+
});
|
|
68
|
+
writeSpans(items, spans);
|
|
69
|
+
return lines;
|
|
70
|
+
}
|
|
71
|
+
function unpack(grid) {
|
|
72
|
+
grid.removeAttribute("data-packed");
|
|
73
|
+
grid.style.removeProperty("grid-auto-rows");
|
|
74
|
+
laid.delete(grid);
|
|
75
|
+
for (const el of Array.from(grid.children)) {
|
|
76
|
+
el.style.removeProperty("grid-row-end");
|
|
77
|
+
if (stretched.delete(el)) el.style.removeProperty("min-height");
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
function packGrid(grid) {
|
|
81
|
+
if (typeof grid.checkVisibility === "function" && !grid.checkVisibility()) {
|
|
82
|
+
const was = grid.hasAttribute("data-packed");
|
|
83
|
+
unpack(grid);
|
|
84
|
+
return was;
|
|
85
|
+
}
|
|
86
|
+
const entering = !grid.hasAttribute("data-packed");
|
|
87
|
+
grid.setAttribute("data-packed", "");
|
|
88
|
+
const ratio = grid.offsetWidth > 0 ? grid.getBoundingClientRect().width / grid.offsetWidth : 1;
|
|
89
|
+
const scale = !ratio || Math.abs(ratio - 1) < 0.01 ? 1 : ratio;
|
|
90
|
+
const items = Array.from(grid.children).filter((el) => el instanceof HTMLElement);
|
|
91
|
+
const before = items.map((el) => `${el.style.gridRowEnd}|${el.style.minHeight}`);
|
|
92
|
+
for (const el of items) if (stretched.delete(el)) el.style.removeProperty("min-height");
|
|
93
|
+
const sizes = items.map((el) => measure(el, scale));
|
|
94
|
+
const columns = items.map((el) => {
|
|
95
|
+
const s = getComputedStyle(el);
|
|
96
|
+
return `${s.gridColumnStart}/${s.gridColumnEnd}`;
|
|
97
|
+
});
|
|
98
|
+
const tracks = getComputedStyle(grid).gridTemplateColumns.split(" ").length;
|
|
99
|
+
const key = JSON.stringify([tracks, sizes.map((s) => s ? Math.round(s.outer * 100) : -1), columns]);
|
|
100
|
+
const last = laid.get(grid);
|
|
101
|
+
let spans;
|
|
102
|
+
if (last && last.key === key && grid.style.gridAutoRows === `${last.unit}px`) {
|
|
103
|
+
spans = last.spans;
|
|
104
|
+
writeSpans(items, spans);
|
|
105
|
+
} else {
|
|
106
|
+
let unit = 1;
|
|
107
|
+
spans = [];
|
|
108
|
+
grid.style.gridAutoRows = `${unit}px`;
|
|
109
|
+
for (let lines = lay(items, sizes, unit, spans, scale), tries = 0; lines > MAX_TRACKS && tries < 4; tries++) {
|
|
110
|
+
unit = Math.ceil(lines * unit / MAX_TRACKS);
|
|
111
|
+
grid.style.gridAutoRows = `${unit}px`;
|
|
112
|
+
lines = lay(items, sizes, unit, spans, scale);
|
|
113
|
+
}
|
|
114
|
+
laid.set(grid, { key, unit, spans: spans.slice() });
|
|
115
|
+
}
|
|
116
|
+
const boxes = items.map((el, i) => sizes[i] ? placed(el, scale) : null);
|
|
117
|
+
const foot = Math.max(...boxes.map((b) => b?.bottom ?? -Infinity));
|
|
118
|
+
items.forEach((el, i) => {
|
|
119
|
+
const box = boxes[i];
|
|
120
|
+
if (!box || !stretches(el)) return;
|
|
121
|
+
let floor = foot;
|
|
122
|
+
for (const other of boxes) {
|
|
123
|
+
if (!other || other === box || other.top < box.bottom - 0.5) continue;
|
|
124
|
+
if (other.left < box.right - 1 && other.right > box.left + 1) floor = Math.min(floor, other.top - sizes[i].gap);
|
|
125
|
+
}
|
|
126
|
+
if (floor - box.bottom < 1) return;
|
|
127
|
+
el.style.minHeight = `${floor - box.top}px`;
|
|
128
|
+
stretched.add(el);
|
|
129
|
+
});
|
|
130
|
+
return entering || items.some((el, i) => `${el.style.gridRowEnd}|${el.style.minHeight}` !== before[i]);
|
|
131
|
+
}
|
|
132
|
+
function usePackedGrid(ref, on) {
|
|
133
|
+
const pass = useRef(null);
|
|
134
|
+
useLayoutEffect(() => {
|
|
135
|
+
const grid = ref.current;
|
|
136
|
+
if (!on || !grid || typeof MutationObserver === "undefined") return;
|
|
137
|
+
const watched = /* @__PURE__ */ new Set();
|
|
138
|
+
let frame = 0;
|
|
139
|
+
let sizes = null;
|
|
140
|
+
let mutations = null;
|
|
141
|
+
const run = () => {
|
|
142
|
+
packGrid(grid);
|
|
143
|
+
mutations?.takeRecords();
|
|
144
|
+
if (!sizes) return;
|
|
145
|
+
const children = new Set(Array.from(grid.children));
|
|
146
|
+
for (const el of watched) {
|
|
147
|
+
if (children.has(el)) continue;
|
|
148
|
+
sizes.unobserve(el);
|
|
149
|
+
watched.delete(el);
|
|
150
|
+
}
|
|
151
|
+
for (const el of children) {
|
|
152
|
+
if (watched.has(el)) continue;
|
|
153
|
+
sizes.observe(el);
|
|
154
|
+
watched.add(el);
|
|
155
|
+
}
|
|
156
|
+
};
|
|
157
|
+
const next = () => {
|
|
158
|
+
if (frame !== 0 || typeof requestAnimationFrame === "undefined") return;
|
|
159
|
+
frame = requestAnimationFrame(() => {
|
|
160
|
+
frame = 0;
|
|
161
|
+
run();
|
|
162
|
+
});
|
|
163
|
+
};
|
|
164
|
+
if (typeof ResizeObserver !== "undefined") {
|
|
165
|
+
sizes = new ResizeObserver(next);
|
|
166
|
+
sizes.observe(grid);
|
|
167
|
+
}
|
|
168
|
+
mutations = new MutationObserver(run);
|
|
169
|
+
pass.current = run;
|
|
170
|
+
run();
|
|
171
|
+
mutations.observe(grid, { childList: true, subtree: true, characterData: true, attributes: true });
|
|
172
|
+
window.addEventListener("resize", run);
|
|
173
|
+
return () => {
|
|
174
|
+
pass.current = null;
|
|
175
|
+
mutations?.disconnect();
|
|
176
|
+
sizes?.disconnect();
|
|
177
|
+
if (frame !== 0 && typeof cancelAnimationFrame !== "undefined") cancelAnimationFrame(frame);
|
|
178
|
+
window.removeEventListener("resize", run);
|
|
179
|
+
unpack(grid);
|
|
180
|
+
};
|
|
181
|
+
}, [ref, on]);
|
|
182
|
+
useLayoutEffect(() => pass.current?.());
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export { ArrangePackContext, usePackedGrid };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { usePackedGrid, ArrangePackContext } from './chunk-5U3CPSYD.js';
|
|
2
|
+
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
|
+
import './ArrangeGrid-JOVQJHRU.css';
|
|
4
|
+
import { useRef } from 'react';
|
|
5
|
+
import { jsx } from 'react/jsx-runtime';
|
|
6
|
+
|
|
7
|
+
function ArrangeGrid({ columns = 12, pack = false, className, style, children, ...rest }) {
|
|
8
|
+
const grid = useRef(null);
|
|
9
|
+
usePackedGrid(grid, pack);
|
|
10
|
+
return /* @__PURE__ */ jsx(ArrangePackContext.Provider, { value: pack, children: /* @__PURE__ */ jsx(
|
|
11
|
+
"div",
|
|
12
|
+
{
|
|
13
|
+
ref: grid,
|
|
14
|
+
className: cx("crewlet-arrange-grid", className),
|
|
15
|
+
style: { ...style, "--crewlet-arrange-columns": columns },
|
|
16
|
+
...rest,
|
|
17
|
+
children
|
|
18
|
+
}
|
|
19
|
+
) });
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { ArrangeGrid };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { ArrangePackContext, usePackedGrid } from './chunk-5U3CPSYD.js';
|
|
1
2
|
import { Count } from './chunk-Y5CMDLQM.js';
|
|
2
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
4
|
import './ArrangeGroup-KRWWOJKR.css';
|
|
4
|
-
import { useId } from 'react';
|
|
5
|
+
import { useId, useRef, useContext } from 'react';
|
|
5
6
|
import { ChevronDownGlyph } from '@crewlethq/icons/glyphs';
|
|
6
7
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
7
8
|
|
|
@@ -17,13 +18,17 @@ function ArrangeGroup({
|
|
|
17
18
|
bodyProps,
|
|
18
19
|
empty,
|
|
19
20
|
columns = 12,
|
|
21
|
+
pack,
|
|
20
22
|
actions,
|
|
21
23
|
className,
|
|
22
24
|
children,
|
|
23
25
|
...rest
|
|
24
26
|
}) {
|
|
25
27
|
const bodyId = `${useId()}-body`;
|
|
26
|
-
const
|
|
28
|
+
const body = useRef(null);
|
|
29
|
+
const inherited = useContext(ArrangePackContext);
|
|
30
|
+
usePackedGrid(body, pack ?? inherited);
|
|
31
|
+
const { className: bodyClass, style: bodyStyle, ...bodyRest } = bodyProps ?? {};
|
|
27
32
|
const hasChildren = Array.isArray(children) ? children.some(Boolean) : Boolean(children);
|
|
28
33
|
return /* @__PURE__ */ jsxs(
|
|
29
34
|
"section",
|
|
@@ -72,11 +77,12 @@ function ArrangeGroup({
|
|
|
72
77
|
/* @__PURE__ */ jsx(
|
|
73
78
|
"div",
|
|
74
79
|
{
|
|
80
|
+
ref: body,
|
|
75
81
|
id: bodyId,
|
|
76
82
|
className: cx("crewlet-arrange-grid", "crewlet-arrange-group__body", bodyClass),
|
|
77
83
|
style: { ...bodyStyle, ["--crewlet-arrange-columns"]: columns },
|
|
78
84
|
hidden: collapsed,
|
|
79
|
-
...
|
|
85
|
+
...bodyRest,
|
|
80
86
|
children: hasChildren ? children : empty ? /* @__PURE__ */ jsx("div", { className: "crewlet-arrange-group__empty", children: empty }) : null
|
|
81
87
|
}
|
|
82
88
|
)
|
package/dist/generated/index.js
CHANGED
|
@@ -10,10 +10,10 @@ export { TypeSpecimen } from '../chunk-JKAFEFFC.js';
|
|
|
10
10
|
export { DensitySwitcher, ThemeSwitcher } from '../chunk-QB5XR2KR.js';
|
|
11
11
|
export { ThemeToggle } from '../chunk-FEEUPTEB.js';
|
|
12
12
|
export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from '../chunk-Z24ZUSTX.js';
|
|
13
|
-
export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from '../chunk-NFGDQQPN.js';
|
|
14
13
|
export { ThinkingIndicator } from '../chunk-DX7ZHO47.js';
|
|
15
|
-
export {
|
|
14
|
+
export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from '../chunk-NFGDQQPN.js';
|
|
16
15
|
export { TileGrid } from '../chunk-UFID3DSP.js';
|
|
16
|
+
export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from '../chunk-BJXMDDIA.js';
|
|
17
17
|
export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from '../chunk-LXA6DJ6E.js';
|
|
18
18
|
export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from '../chunk-426IGR6U.js';
|
|
19
19
|
export { TagsInput } from '../chunk-HM3HM3OF.js';
|
|
@@ -32,15 +32,15 @@ export { SLIDE_COMPARE_LABELS, SlideCompare } from '../chunk-4IHTBHJP.js';
|
|
|
32
32
|
export { SlideFilmstrip } from '../chunk-TIOFWBL5.js';
|
|
33
33
|
export { SlideGrid } from '../chunk-73L3774J.js';
|
|
34
34
|
export { SEND_BUTTON_LABELS, SendButton } from '../chunk-7XGTRZP4.js';
|
|
35
|
-
export { SETTING_FORM_LABELS, SettingForm } from '../chunk-2G6TDWIL.js';
|
|
36
35
|
export { SETTINGS_TABLE_ROW_LABELS, SettingsTable, SettingsTableRow } from '../chunk-NEL3JDJA.js';
|
|
36
|
+
export { SETTING_FORM_LABELS, SettingForm } from '../chunk-2G6TDWIL.js';
|
|
37
37
|
export { SetupWizard } from '../chunk-EZIMNB6H.js';
|
|
38
38
|
export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from '../chunk-WPFK5F4Q.js';
|
|
39
39
|
export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from '../chunk-BFJPUEZP.js';
|
|
40
40
|
export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from '../chunk-GXX6B5XM.js';
|
|
41
41
|
export { TagGroup } from '../chunk-FOUIZS7Q.js';
|
|
42
|
-
export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from '../chunk-FXAV22EB.js';
|
|
43
42
|
export { SearchTrigger } from '../chunk-U67UM3VS.js';
|
|
43
|
+
export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from '../chunk-FXAV22EB.js';
|
|
44
44
|
export { SectionFrame, SectionFrameBody, SectionFrameNav } from '../chunk-P5DKWJMS.js';
|
|
45
45
|
export { SegmentedMeter, segmentedMeterLabel } from '../chunk-4AK52VHB.js';
|
|
46
46
|
export { SelectionBar } from '../chunk-XJEAJ6KD.js';
|
|
@@ -53,26 +53,26 @@ export { RichEditor, preloadRichEditor } from '../chunk-OZNL3WOR.js';
|
|
|
53
53
|
export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-DGXHQMNP.js';
|
|
54
54
|
export { RoomRow } from '../chunk-45OOFAL6.js';
|
|
55
55
|
export { RUN_STATES, RunChip } from '../chunk-EH2DDHHP.js';
|
|
56
|
-
export {
|
|
57
|
-
export { NavDivider, NavGroup, NavItem, SidebarNav } from '../chunk-R2R7IKQ6.js';
|
|
56
|
+
export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } from '../chunk-Y56FM3K4.js';
|
|
58
57
|
export { RATING_LABELS, Rating } from '../chunk-P5QLLUKM.js';
|
|
59
58
|
export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from '../chunk-33LQV6FV.js';
|
|
60
59
|
export { READING_PANE_ENTER, ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from '../chunk-XZ47PWVD.js';
|
|
61
|
-
export { RecordChip, RecordChipList } from '../chunk-DWNKTIRN.js';
|
|
62
60
|
export { REFUSAL_CARD_LABELS, RefusalCard } from '../chunk-Y2WNFKMF.js';
|
|
61
|
+
export { RecordChip, RecordChipList } from '../chunk-DWNKTIRN.js';
|
|
63
62
|
export { RelatedRow } from '../chunk-ROMQFKKG.js';
|
|
64
|
-
export { PresenterView, formatStopwatch } from '../chunk-BED4AFXL.js';
|
|
65
|
-
export { SLIDE_NAV_LABELS, SlideNav } from '../chunk-SDOABLA3.js';
|
|
66
|
-
export { SLIDE_HEIGHT, SLIDE_WIDTH, SlideStage, useSlideKeys } from '../chunk-7O53SWKI.js';
|
|
67
63
|
export { PricingCard } from '../chunk-JSYAITYQ.js';
|
|
68
64
|
export { PropertyList } from '../chunk-N2DCSSYC.js';
|
|
69
65
|
export { PrincipalPicker } from '../chunk-NIIID2TS.js';
|
|
66
|
+
export { Prose } from '../chunk-DVVP27OD.js';
|
|
70
67
|
export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from '../chunk-HMVGIYAZ.js';
|
|
71
68
|
export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from '../chunk-54R5IINE.js';
|
|
72
|
-
export {
|
|
73
|
-
export {
|
|
69
|
+
export { RAIL_LIST_LABELS, RailList } from '../chunk-ARIYL6YO.js';
|
|
70
|
+
export { NavDivider, NavGroup, NavItem, SidebarNav } from '../chunk-R2R7IKQ6.js';
|
|
74
71
|
export { PinTile } from '../chunk-CFQCRO5S.js';
|
|
75
72
|
export { PresenceStack } from '../chunk-LL5H2Q5B.js';
|
|
73
|
+
export { PresenterView, formatStopwatch } from '../chunk-BED4AFXL.js';
|
|
74
|
+
export { SLIDE_NAV_LABELS, SlideNav } from '../chunk-SDOABLA3.js';
|
|
75
|
+
export { SLIDE_HEIGHT, SLIDE_WIDTH, SlideStage, useSlideKeys } from '../chunk-7O53SWKI.js';
|
|
76
76
|
export { OrgNodeDisclosure, OrgNodeLabel, OrgNodeLead } from '../chunk-JH2IATUQ.js';
|
|
77
77
|
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-KHY3RMVX.js';
|
|
78
78
|
export { TreeGrid } from '../chunk-4UDI7RRE.js';
|
|
@@ -101,54 +101,54 @@ export { LogoSlot, LogoSlotGroup } from '../chunk-3ZBYTHLJ.js';
|
|
|
101
101
|
export { MARKDOWN_FORMATS, MARKDOWN_TEXT_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from '../chunk-ROL6QPFN.js';
|
|
102
102
|
export { MEMBER_PICKER_LABELS, MemberPicker, chosenMembers } from '../chunk-PPDA7E6Q.js';
|
|
103
103
|
export { LimitMeters, limitWindowTone } from '../chunk-APH674YQ.js';
|
|
104
|
-
export { Link } from '../chunk-UTKI2SAM.js';
|
|
105
104
|
export { LinkCard } from '../chunk-RSZE4FED.js';
|
|
106
105
|
import '../chunk-KOJPDCGQ.js';
|
|
107
|
-
export {
|
|
106
|
+
export { Link } from '../chunk-UTKI2SAM.js';
|
|
108
107
|
export { List, ListItem } from '../chunk-GAQU5V5R.js';
|
|
109
|
-
export {
|
|
108
|
+
export { LinkInterstitial, openExternal } from '../chunk-35ZF72VO.js';
|
|
110
109
|
export { ListDetail, ListDetailBack } from '../chunk-I7GIUCQN.js';
|
|
111
|
-
export {
|
|
112
|
-
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';
|
|
110
|
+
export { ListInput, withDraft } from '../chunk-GVRBOOOA.js';
|
|
113
111
|
export { KeyValueRows, keyValueRowsLabels } from '../chunk-IGOKQN7W.js';
|
|
114
112
|
export { LAYERS_LIST_LABELS, LayersList } from '../chunk-TEOUMHAI.js';
|
|
115
113
|
export { AutoGrid, Inline, Spacer, Stack } from '../chunk-ZAC7SKUN.js';
|
|
114
|
+
import '../chunk-MICRGE3J.js';
|
|
116
115
|
export { IconTile } from '../chunk-VRVNLJUA.js';
|
|
117
116
|
export { ImageUpload } from '../chunk-4QWTD6JO.js';
|
|
118
117
|
export { INBOX_ROW_LEAVE, InboxGroup, InboxList, InboxMore, InboxRow, InboxToggle } from '../chunk-PKPVDGSG.js';
|
|
119
118
|
export { IndicatorAnchor } from '../chunk-27MJPU7G.js';
|
|
120
119
|
export { INLINE_EDITOR_LABELS, InlineEditor } from '../chunk-COKMMM7K.js';
|
|
120
|
+
export { FindingList } from '../chunk-J2GRBRGK.js';
|
|
121
121
|
export { FollowBanner } from '../chunk-KRYBW64N.js';
|
|
122
122
|
export { FolderTile, describeFolderContents, folderContentsParts } from '../chunk-ESZXGC4P.js';
|
|
123
123
|
export { DEFAULT_FRAME_THEME, EXTERNAL_URL_MAX, FRAME_BRIDGE, FRAME_MESSAGE, FRAME_ORIGIN_MODES, FRAME_SANDBOX_TOKENS, applyFrameTheme, checkFrameSandbox, externalUrl, frameFragment, frameOriginMatches, frameThemeMessage, httpOrigin, isFocusExit, isFrameNonce, negotiateBridge, parseFrameFragment, portTargetOrigin, readFrameHello, readFramePortMessage, readFrameTheme, readOpenLink } from '../chunk-F6V2PTN6.js';
|
|
124
124
|
export { DENSITY_PREFERENCES, PALETTE_ID, THEME_PREFERENCES, applyDensity, applyPalette, applyTheme, isDensityPreference, isPaletteId, isThemePreference } from '../chunk-ZXXDZJQN.js';
|
|
125
|
-
export { FULLSCREEN_TOGGLE_LABELS, FullscreenToggle, IDLE_AFTER_MS, useFullscreen, useIdle } from '../chunk-37FXQ4TH.js';
|
|
126
125
|
export { Highlight, highlightRanges, highlightTerms } from '../chunk-H6VKCIWV.js';
|
|
127
|
-
|
|
126
|
+
export { GRAPH_CANVAS_DETAIL_ZOOM, GRAPH_CANVAS_FIT_FLOOR, GRAPH_CANVAS_FLOW_LIMIT, GRAPH_CANVAS_FOCUS_ZOOM, GRAPH_CANVAS_LABELS, GRAPH_CANVAS_NARROW_WIDTH, GRAPH_CANVAS_TILE_ZOOM, GRAPH_EDGE_FAMILIES, GRAPH_ORDER_SWEEPS, GraphCanvas, graphDetail, graphFocusView, graphItemKey, graphNeighbourhood, graphReach, graphStep, graphTrunks, graphWindow, layoutGraph, placeTrunkLabels, routeGraphEdges } from '../chunk-BDDJI6NA.js';
|
|
127
|
+
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';
|
|
128
|
+
export { FULLSCREEN_TOGGLE_LABELS, FullscreenToggle, IDLE_AFTER_MS, useFullscreen, useIdle } from '../chunk-37FXQ4TH.js';
|
|
128
129
|
import '../chunk-FFMCMSJB.js';
|
|
129
|
-
export {
|
|
130
|
+
export { EntityList } from '../chunk-VLDDTLZ3.js';
|
|
130
131
|
export { Eyebrow } from '../chunk-RK4XPHVG.js';
|
|
131
132
|
export { ErrorBoundary } from '../chunk-B5GJR4XT.js';
|
|
132
133
|
export { FactList } from '../chunk-XN6OATTH.js';
|
|
133
134
|
export { FileDrop, FilePickButton, droppedFiles, pickedFiles } from '../chunk-C7YE4L5Y.js';
|
|
134
135
|
export { FILTER_CHIP_ATTRIBUTE, FilterChip, FilterChipGroup } from '../chunk-L6HUVA33.js';
|
|
135
136
|
export { FileList } from '../chunk-FQBSYMEW.js';
|
|
136
|
-
export { FindingList } from '../chunk-J2GRBRGK.js';
|
|
137
|
-
export { DOCUMENT_DIFF_LABELS, DocumentDiff, DocumentDiffAdded, DocumentDiffRemoved } from '../chunk-ZSV2JJV4.js';
|
|
138
|
-
export { DownloadButton } from '../chunk-XJOLNBEI.js';
|
|
139
|
-
export { downloadBlob, downloadText, safeFilename, useDownload } from '../chunk-YNRKVY7X.js';
|
|
140
137
|
export { DURATION_FIELD_LABELS, DURATION_UNIT_SECONDS, DurationField, durationSeconds, durationValue, durationWords } from '../chunk-VKGXIXC5.js';
|
|
141
138
|
export { Select } from '../chunk-657WR3MX.js';
|
|
142
139
|
export { NUMBER_FIELD_LABELS, NumberField, typedNumber } from '../chunk-VL5MV6JO.js';
|
|
143
140
|
export { PresetChips } from '../chunk-NQG5H34R.js';
|
|
141
|
+
export { DownloadButton } from '../chunk-XJOLNBEI.js';
|
|
142
|
+
export { downloadBlob, downloadText, safeFilename, useDownload } from '../chunk-YNRKVY7X.js';
|
|
144
143
|
export { EditingStatus } from '../chunk-KRF3GQ63.js';
|
|
145
144
|
export { EMOJI_GROUPS, EMOJI_GROUP_GLYPHS, EMOJI_PICKER_COLUMNS, EMOJI_PICKER_LABELS, EmojiPicker, emojiName, emojiOfShortcode, emojiShortcode, isShortcode, searchEmoji } from '../chunk-OW5OIZOZ.js';
|
|
146
|
-
export {
|
|
145
|
+
export { EntityChip } from '../chunk-OPN5Q3OL.js';
|
|
147
146
|
export { CONTEXT_LINES, DIFF_SUMMARY_LABELS, DIFF_VIEW_LABELS, DiffSummary, DiffView, MAX_COMPARE_LINES, MAX_EDITS, WINDOW_BLOCK_ROWS, WINDOW_FROM_ROWS, changedRuns, collapseDiff, compareLines, compareSequences, diffStat, distanceFloor, firstChangedLines, lineTokens, notComparedReason, segments, splitLines } from '../chunk-4YLN5QVL.js';
|
|
148
147
|
export { DirectoryList } from '../chunk-5KTLQ436.js';
|
|
149
148
|
export { Divider } from '../chunk-6KWNXIDE.js';
|
|
150
149
|
export { DOC_TABS_EDITOR_LABELS, DocTabsEditor } from '../chunk-NRUKK6G5.js';
|
|
151
150
|
export { DockColumn } from '../chunk-UXTW4GOT.js';
|
|
151
|
+
export { DOCUMENT_DIFF_LABELS, DocumentDiff, DocumentDiffAdded, DocumentDiffRemoved } from '../chunk-ZSV2JJV4.js';
|
|
152
152
|
export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from '../chunk-VHVN5OQ3.js';
|
|
153
153
|
export { nextGridSort, parseGridSort } from '../chunk-D33XINR4.js';
|
|
154
154
|
export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from '../chunk-W3PSFOH2.js';
|
|
@@ -177,8 +177,8 @@ export { Combobox } from '../chunk-ZJGGXYFS.js';
|
|
|
177
177
|
export { CommandPalette } from '../chunk-TGAK4TEX.js';
|
|
178
178
|
export { ConfirmModal, Modal } from '../chunk-HHV5WHTT.js';
|
|
179
179
|
export { HIGHLIGHT_REST_MS, TYPE_AHEAD_WINDOW, useHighlightRest, useListbox, useOptionKeys } from '../chunk-KW7T23RT.js';
|
|
180
|
-
export { COMMENT_THREAD_LABELS, CommentThread } from '../chunk-Q3PUOZEA.js';
|
|
181
180
|
export { COMMENT_PIN_CURSOR_COLOURS, COMMENT_PIN_CURSOR_SIZE, CommentPin, CommentPinGlyph, commentPinCursor, commentPinCursorAt } from '../chunk-ML4E6FFN.js';
|
|
181
|
+
export { COMMENT_THREAD_LABELS, CommentThread } from '../chunk-BLIHR27X.js';
|
|
182
182
|
export { CompactNav, CompactNavGroup, CompactNavItem, CompactNavSeparator, groupBadge, placeFlyout } from '../chunk-DF3LU2RW.js';
|
|
183
183
|
export { LockedLabel } from '../chunk-TODOBUXO.js';
|
|
184
184
|
export { CHIP_FIELD_LABELS, ChipField } from '../chunk-ITFAH735.js';
|
|
@@ -194,8 +194,8 @@ export { useOutcome } from '../chunk-DTIW4CHZ.js';
|
|
|
194
194
|
import '../chunk-HZXS5CEL.js';
|
|
195
195
|
export { ColorChip } from '../chunk-C6T4VBEY.js';
|
|
196
196
|
import '../chunk-3L5NHASN.js';
|
|
197
|
-
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';
|
|
198
197
|
export { ChatDay, ChatDayPill } from '../chunk-RBQOS3JC.js';
|
|
198
|
+
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';
|
|
199
199
|
export { ChatDivider } from '../chunk-EI242VTX.js';
|
|
200
200
|
import '../chunk-5QJNA7KD.js';
|
|
201
201
|
export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from '../chunk-GNNJDQ5J.js';
|
|
@@ -208,9 +208,9 @@ export { CanvasToolbar, toolForKey } from '../chunk-JSW2QOGC.js';
|
|
|
208
208
|
export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from '../chunk-NPEI2QAN.js';
|
|
209
209
|
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-DUTG73M4.js';
|
|
210
210
|
import '../chunk-CUEPPDBC.js';
|
|
211
|
+
export { CatalogTile } from '../chunk-JKEGFDBG.js';
|
|
211
212
|
export { CHANGE_LIST_COLLAPSE_OVER, CHANGE_LIST_LABELS, ChangeList, ChangeListItems, shortenUnchanged } from '../chunk-5D7RMXM2.js';
|
|
212
213
|
export { DIFF_LIST_LABELS, DiffList } from '../chunk-7XUP32RY.js';
|
|
213
|
-
export { CatalogTile } from '../chunk-JKEGFDBG.js';
|
|
214
214
|
export { ChangeMark } from '../chunk-QCYKNWLA.js';
|
|
215
215
|
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';
|
|
216
216
|
export { PRESENCE_ACTIVITIES, PRESENCE_HUES, PRESENCE_LABELS, assignPresenceHues, collapseSessions, joinNames, presenceLabels, presenceOrder } from '../chunk-Z7JYG5TF.js';
|
|
@@ -218,30 +218,32 @@ export { BrandSample } from '../chunk-FMRRKLNX.js';
|
|
|
218
218
|
export { BrandScope, brandScopeInputs } from '../chunk-X7WEE3EK.js';
|
|
219
219
|
import '../chunk-5SGHW42B.js';
|
|
220
220
|
import '../chunk-7W3LYIOC.js';
|
|
221
|
+
export { Breadcrumb } from '../chunk-CN2EDXAW.js';
|
|
222
|
+
export { KeyChip } from '../chunk-HBDA76EZ.js';
|
|
221
223
|
export { BRIEF_CARD_LABELS, BRIEF_CARD_MAX_FOLLOW_UPS, BRIEF_CARD_MAX_NEEDS, BRIEF_CARD_MAX_POINTS, BriefCard } from '../chunk-S2YWBTWN.js';
|
|
222
224
|
export { SuggestionList, SuggestionRow } from '../chunk-IR3OWPAZ.js';
|
|
223
225
|
import '../chunk-6C7GQOBV.js';
|
|
224
226
|
export { StatusCard } from '../chunk-PGLERBQT.js';
|
|
225
|
-
export { Breadcrumb } from '../chunk-CN2EDXAW.js';
|
|
226
|
-
export { KeyChip } from '../chunk-HBDA76EZ.js';
|
|
227
|
-
export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from '../chunk-EE3DJMSQ.js';
|
|
228
227
|
export { Callout } from '../chunk-I4NRQIRF.js';
|
|
228
|
+
export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from '../chunk-EE3DJMSQ.js';
|
|
229
229
|
export { ARTIFACT_REF_KIND_LABELS, ArtifactRef } from '../chunk-ZNCCNULJ.js';
|
|
230
230
|
export { InlineRef } from '../chunk-7I4LOIBJ.js';
|
|
231
231
|
export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdownClosesFence, markdownCodeText, markdownFenceOf, markdownHeadingOf, markdownInline, markdownLines, parseMarkdown, parseMarkdownSpans, safeHref } from '../chunk-KMTOGF6T.js';
|
|
232
232
|
export { ASIDE_LAYOUT_SPLIT_REM, AsideLayout } from '../chunk-7UQQEUOT.js';
|
|
233
|
-
export { ATTACHMENT_CHIP_LABELS, AttachmentChip } from '../chunk-PJMDWQC2.js';
|
|
234
|
-
export { Tag } from '../chunk-HOIZJFYS.js';
|
|
235
233
|
export { ATTENTION_LIST_LABELS, AttentionList } from '../chunk-LPOUIGTP.js';
|
|
236
234
|
export { NOTICE_LIST_LABELS, NoticeList } from '../chunk-JH6K5UWI.js';
|
|
235
|
+
export { ATTACHMENT_CHIP_LABELS, AttachmentChip } from '../chunk-PJMDWQC2.js';
|
|
236
|
+
export { Tag } from '../chunk-HOIZJFYS.js';
|
|
237
237
|
export { AuthLayout } from '../chunk-THCLP7TT.js';
|
|
238
238
|
export { BrandLockup } from '../chunk-KXWJJWBD.js';
|
|
239
|
+
export { BrandChip } from '../chunk-UH44L7OJ.js';
|
|
239
240
|
export { AvatarPicker } from '../chunk-ANBJ2XS5.js';
|
|
240
241
|
export { HuePicker, HueSwatch } from '../chunk-PETPFNNE.js';
|
|
241
242
|
export { Popover } from '../chunk-AJFA2XDQ.js';
|
|
242
243
|
export { CHARACTER_PICKER_COLUMNS, CharacterPicker } from '../chunk-CBUAKPF7.js';
|
|
243
244
|
export { NODE_HUES, NODE_HUE_NAMES, isNodeHue } from '../chunk-AYKXMIOR.js';
|
|
244
|
-
export {
|
|
245
|
+
export { DashboardCover, DocCover, SHEET_COVER_COLUMNS, SHEET_COVER_ROWS, SheetCover } from '../chunk-MMV7NEAC.js';
|
|
246
|
+
export { Document, DocumentTitle, DocumentTitleField } from '../chunk-I4PBFJGX.js';
|
|
245
247
|
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-VEIJ5IOK.js';
|
|
246
248
|
export { Skeleton } from '../chunk-WFAJYBLX.js';
|
|
247
249
|
export { PRINCIPAL_KINDS, PrincipalAvatar } from '../chunk-265IX4YA.js';
|
|
@@ -251,8 +253,6 @@ export { Card } from '../chunk-354NVZ6M.js';
|
|
|
251
253
|
export { useCardHeaderSlot } from '../chunk-AV2DXAEL.js';
|
|
252
254
|
export { Text } from '../chunk-475DOAWF.js';
|
|
253
255
|
import '../chunk-WSIJDWUG.js';
|
|
254
|
-
export { DashboardCover, DocCover, SHEET_COVER_COLUMNS, SHEET_COVER_ROWS, SheetCover } from '../chunk-MMV7NEAC.js';
|
|
255
|
-
export { Document, DocumentTitle, DocumentTitleField } from '../chunk-I4PBFJGX.js';
|
|
256
256
|
export { ArtifactKindGround, ArtifactKindIllustration, ArtifactKindTile } from '../chunk-W3A6NBUM.js';
|
|
257
257
|
export { ArtifactMakeRow } from '../chunk-A3SQWUWG.js';
|
|
258
258
|
export { ArtifactNameCell } from '../chunk-3SCASXQH.js';
|
|
@@ -261,8 +261,9 @@ export { afterMotion, releaseFocus, runningMotion, usePresence } from '../chunk-
|
|
|
261
261
|
import '../chunk-JLOESTT2.js';
|
|
262
262
|
export { ArrangeBoard } from '../chunk-QO7QEQKV.js';
|
|
263
263
|
export { ArrangeFrame, useGridResize } from '../chunk-OYTJ4AWU.js';
|
|
264
|
-
export { ArrangeGrid } from '../chunk-
|
|
265
|
-
export { ArrangeGroup } from '../chunk-
|
|
264
|
+
export { ArrangeGrid } from '../chunk-CRXBR3LJ.js';
|
|
265
|
+
export { ArrangeGroup } from '../chunk-KZN36L7O.js';
|
|
266
|
+
import '../chunk-5U3CPSYD.js';
|
|
266
267
|
export { ArrangeList, DEFAULT_ARRANGE_LABELS } from '../chunk-7WVNGMDV.js';
|
|
267
268
|
export { Switch } from '../chunk-6YYRFGXO.js';
|
|
268
269
|
export { DEFAULT_REORDER_LABELS, moveKey, useReorder, useReorderLists } from '../chunk-JMBPMSNI.js';
|
package/dist/index.js
CHANGED
|
@@ -10,10 +10,10 @@ export { TypeSpecimen } from './chunk-JKAFEFFC.js';
|
|
|
10
10
|
export { DensitySwitcher, ThemeSwitcher } from './chunk-QB5XR2KR.js';
|
|
11
11
|
export { ThemeToggle } from './chunk-FEEUPTEB.js';
|
|
12
12
|
export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from './chunk-Z24ZUSTX.js';
|
|
13
|
-
export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from './chunk-NFGDQQPN.js';
|
|
14
13
|
export { ThinkingIndicator } from './chunk-DX7ZHO47.js';
|
|
15
|
-
export {
|
|
14
|
+
export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from './chunk-NFGDQQPN.js';
|
|
16
15
|
export { TileGrid } from './chunk-UFID3DSP.js';
|
|
16
|
+
export { TIME_RANGE_CUSTOM, TIME_RANGE_PICKER_LABELS, TimeRangePicker, timeRangeFieldKey, timeRangeProblem } from './chunk-BJXMDDIA.js';
|
|
17
17
|
export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from './chunk-LXA6DJ6E.js';
|
|
18
18
|
export { TABLE_TAGS_CELL_LABELS, TableDateCell, TableEntityCell, TableKeyCell, TableNumberCell, TableStatusCell, TableTagsCell, TableTextCell, TableTwoLineCell } from './chunk-426IGR6U.js';
|
|
19
19
|
export { TagsInput } from './chunk-HM3HM3OF.js';
|
|
@@ -32,15 +32,15 @@ export { SLIDE_COMPARE_LABELS, SlideCompare } from './chunk-4IHTBHJP.js';
|
|
|
32
32
|
export { SlideFilmstrip } from './chunk-TIOFWBL5.js';
|
|
33
33
|
export { SlideGrid } from './chunk-73L3774J.js';
|
|
34
34
|
export { SEND_BUTTON_LABELS, SendButton } from './chunk-7XGTRZP4.js';
|
|
35
|
-
export { SETTING_FORM_LABELS, SettingForm } from './chunk-2G6TDWIL.js';
|
|
36
35
|
export { SETTINGS_TABLE_ROW_LABELS, SettingsTable, SettingsTableRow } from './chunk-NEL3JDJA.js';
|
|
36
|
+
export { SETTING_FORM_LABELS, SettingForm } from './chunk-2G6TDWIL.js';
|
|
37
37
|
export { SetupWizard } from './chunk-EZIMNB6H.js';
|
|
38
38
|
export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from './chunk-WPFK5F4Q.js';
|
|
39
39
|
export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from './chunk-BFJPUEZP.js';
|
|
40
40
|
export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from './chunk-GXX6B5XM.js';
|
|
41
41
|
export { TagGroup } from './chunk-FOUIZS7Q.js';
|
|
42
|
-
export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from './chunk-FXAV22EB.js';
|
|
43
42
|
export { SearchTrigger } from './chunk-U67UM3VS.js';
|
|
43
|
+
export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from './chunk-FXAV22EB.js';
|
|
44
44
|
export { SectionFrame, SectionFrameBody, SectionFrameNav } from './chunk-P5DKWJMS.js';
|
|
45
45
|
export { SegmentedMeter, segmentedMeterLabel } from './chunk-4AK52VHB.js';
|
|
46
46
|
export { SelectionBar } from './chunk-XJEAJ6KD.js';
|
|
@@ -53,26 +53,26 @@ export { RichEditor, preloadRichEditor } from './chunk-OZNL3WOR.js';
|
|
|
53
53
|
export { RICH_EDITOR_LABELS, richEditorLabels } from './chunk-DGXHQMNP.js';
|
|
54
54
|
export { RoomRow } from './chunk-45OOFAL6.js';
|
|
55
55
|
export { RUN_STATES, RunChip } from './chunk-EH2DDHHP.js';
|
|
56
|
-
export {
|
|
57
|
-
export { NavDivider, NavGroup, NavItem, SidebarNav } from './chunk-R2R7IKQ6.js';
|
|
56
|
+
export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } from './chunk-Y56FM3K4.js';
|
|
58
57
|
export { RATING_LABELS, Rating } from './chunk-P5QLLUKM.js';
|
|
59
58
|
export { AddReaction, REACTION_BAR_LABELS, ReactionBar, reactionWho } from './chunk-33LQV6FV.js';
|
|
60
59
|
export { READING_PANE_ENTER, ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from './chunk-XZ47PWVD.js';
|
|
61
|
-
export { RecordChip, RecordChipList } from './chunk-DWNKTIRN.js';
|
|
62
60
|
export { REFUSAL_CARD_LABELS, RefusalCard } from './chunk-Y2WNFKMF.js';
|
|
61
|
+
export { RecordChip, RecordChipList } from './chunk-DWNKTIRN.js';
|
|
63
62
|
export { RelatedRow } from './chunk-ROMQFKKG.js';
|
|
64
|
-
export { PresenterView, formatStopwatch } from './chunk-BED4AFXL.js';
|
|
65
|
-
export { SLIDE_NAV_LABELS, SlideNav } from './chunk-SDOABLA3.js';
|
|
66
|
-
export { SLIDE_HEIGHT, SLIDE_WIDTH, SlideStage, useSlideKeys } from './chunk-7O53SWKI.js';
|
|
67
63
|
export { PricingCard } from './chunk-JSYAITYQ.js';
|
|
68
64
|
export { PropertyList } from './chunk-N2DCSSYC.js';
|
|
69
65
|
export { PrincipalPicker } from './chunk-NIIID2TS.js';
|
|
66
|
+
export { Prose } from './chunk-DVVP27OD.js';
|
|
70
67
|
export { PROPOSAL_CARD_LABELS, PROPOSAL_FAILURE_OUTCOMES, PROPOSAL_STATES, PROPOSAL_TONES, ProposalCard } from './chunk-HMVGIYAZ.js';
|
|
71
68
|
export { REFERENCE_NAME_PATTERN, ValueField, completeReference, isWholeReference, rankReferences, referenceAt, urlSchemeOf } from './chunk-54R5IINE.js';
|
|
72
|
-
export {
|
|
73
|
-
export {
|
|
69
|
+
export { RAIL_LIST_LABELS, RailList } from './chunk-ARIYL6YO.js';
|
|
70
|
+
export { NavDivider, NavGroup, NavItem, SidebarNav } from './chunk-R2R7IKQ6.js';
|
|
74
71
|
export { PinTile } from './chunk-CFQCRO5S.js';
|
|
75
72
|
export { PresenceStack } from './chunk-LL5H2Q5B.js';
|
|
73
|
+
export { PresenterView, formatStopwatch } from './chunk-BED4AFXL.js';
|
|
74
|
+
export { SLIDE_NAV_LABELS, SlideNav } from './chunk-SDOABLA3.js';
|
|
75
|
+
export { SLIDE_HEIGHT, SLIDE_WIDTH, SlideStage, useSlideKeys } from './chunk-7O53SWKI.js';
|
|
76
76
|
export { OrgNodeDisclosure, OrgNodeLabel, OrgNodeLead } from './chunk-JH2IATUQ.js';
|
|
77
77
|
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from './chunk-KHY3RMVX.js';
|
|
78
78
|
export { TreeGrid } from './chunk-4UDI7RRE.js';
|
|
@@ -101,54 +101,54 @@ export { LogoSlot, LogoSlotGroup } from './chunk-3ZBYTHLJ.js';
|
|
|
101
101
|
export { MARKDOWN_FORMATS, MARKDOWN_TEXT_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from './chunk-ROL6QPFN.js';
|
|
102
102
|
export { MEMBER_PICKER_LABELS, MemberPicker, chosenMembers } from './chunk-PPDA7E6Q.js';
|
|
103
103
|
export { LimitMeters, limitWindowTone } from './chunk-APH674YQ.js';
|
|
104
|
-
export { Link } from './chunk-UTKI2SAM.js';
|
|
105
104
|
export { LinkCard } from './chunk-RSZE4FED.js';
|
|
106
105
|
import './chunk-KOJPDCGQ.js';
|
|
107
|
-
export {
|
|
106
|
+
export { Link } from './chunk-UTKI2SAM.js';
|
|
108
107
|
export { List, ListItem } from './chunk-GAQU5V5R.js';
|
|
109
|
-
export {
|
|
108
|
+
export { LinkInterstitial, openExternal } from './chunk-35ZF72VO.js';
|
|
110
109
|
export { ListDetail, ListDetailBack } from './chunk-I7GIUCQN.js';
|
|
111
|
-
export {
|
|
112
|
-
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';
|
|
110
|
+
export { ListInput, withDraft } from './chunk-GVRBOOOA.js';
|
|
113
111
|
export { KeyValueRows, keyValueRowsLabels } from './chunk-IGOKQN7W.js';
|
|
114
112
|
export { LAYERS_LIST_LABELS, LayersList } from './chunk-TEOUMHAI.js';
|
|
115
113
|
export { AutoGrid, Inline, Spacer, Stack } from './chunk-ZAC7SKUN.js';
|
|
114
|
+
import './chunk-MICRGE3J.js';
|
|
116
115
|
export { IconTile } from './chunk-VRVNLJUA.js';
|
|
117
116
|
export { ImageUpload } from './chunk-4QWTD6JO.js';
|
|
118
117
|
export { INBOX_ROW_LEAVE, InboxGroup, InboxList, InboxMore, InboxRow, InboxToggle } from './chunk-PKPVDGSG.js';
|
|
119
118
|
export { IndicatorAnchor } from './chunk-27MJPU7G.js';
|
|
120
119
|
export { INLINE_EDITOR_LABELS, InlineEditor } from './chunk-COKMMM7K.js';
|
|
120
|
+
export { FindingList } from './chunk-J2GRBRGK.js';
|
|
121
121
|
export { FollowBanner } from './chunk-KRYBW64N.js';
|
|
122
122
|
export { FolderTile, describeFolderContents, folderContentsParts } from './chunk-ESZXGC4P.js';
|
|
123
123
|
export { DEFAULT_FRAME_THEME, EXTERNAL_URL_MAX, FRAME_BRIDGE, FRAME_MESSAGE, FRAME_ORIGIN_MODES, FRAME_SANDBOX_TOKENS, applyFrameTheme, checkFrameSandbox, externalUrl, frameFragment, frameOriginMatches, frameThemeMessage, httpOrigin, isFocusExit, isFrameNonce, negotiateBridge, parseFrameFragment, portTargetOrigin, readFrameHello, readFramePortMessage, readFrameTheme, readOpenLink } from './chunk-F6V2PTN6.js';
|
|
124
124
|
export { DENSITY_PREFERENCES, PALETTE_ID, THEME_PREFERENCES, applyDensity, applyPalette, applyTheme, isDensityPreference, isPaletteId, isThemePreference } from './chunk-ZXXDZJQN.js';
|
|
125
|
-
export { FULLSCREEN_TOGGLE_LABELS, FullscreenToggle, IDLE_AFTER_MS, useFullscreen, useIdle } from './chunk-37FXQ4TH.js';
|
|
126
125
|
export { Highlight, highlightRanges, highlightTerms } from './chunk-H6VKCIWV.js';
|
|
127
|
-
|
|
126
|
+
export { GRAPH_CANVAS_DETAIL_ZOOM, GRAPH_CANVAS_FIT_FLOOR, GRAPH_CANVAS_FLOW_LIMIT, GRAPH_CANVAS_FOCUS_ZOOM, GRAPH_CANVAS_LABELS, GRAPH_CANVAS_NARROW_WIDTH, GRAPH_CANVAS_TILE_ZOOM, GRAPH_EDGE_FAMILIES, GRAPH_ORDER_SWEEPS, GraphCanvas, graphDetail, graphFocusView, graphItemKey, graphNeighbourhood, graphReach, graphStep, graphTrunks, graphWindow, layoutGraph, placeTrunkLabels, routeGraphEdges } from './chunk-BDDJI6NA.js';
|
|
127
|
+
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';
|
|
128
|
+
export { FULLSCREEN_TOGGLE_LABELS, FullscreenToggle, IDLE_AFTER_MS, useFullscreen, useIdle } from './chunk-37FXQ4TH.js';
|
|
128
129
|
import './chunk-FFMCMSJB.js';
|
|
129
|
-
export {
|
|
130
|
+
export { EntityList } from './chunk-VLDDTLZ3.js';
|
|
130
131
|
export { Eyebrow } from './chunk-RK4XPHVG.js';
|
|
131
132
|
export { ErrorBoundary } from './chunk-B5GJR4XT.js';
|
|
132
133
|
export { FactList } from './chunk-XN6OATTH.js';
|
|
133
134
|
export { FileDrop, FilePickButton, droppedFiles, pickedFiles } from './chunk-C7YE4L5Y.js';
|
|
134
135
|
export { FILTER_CHIP_ATTRIBUTE, FilterChip, FilterChipGroup } from './chunk-L6HUVA33.js';
|
|
135
136
|
export { FileList } from './chunk-FQBSYMEW.js';
|
|
136
|
-
export { FindingList } from './chunk-J2GRBRGK.js';
|
|
137
|
-
export { DOCUMENT_DIFF_LABELS, DocumentDiff, DocumentDiffAdded, DocumentDiffRemoved } from './chunk-ZSV2JJV4.js';
|
|
138
|
-
export { DownloadButton } from './chunk-XJOLNBEI.js';
|
|
139
|
-
export { downloadBlob, downloadText, safeFilename, useDownload } from './chunk-YNRKVY7X.js';
|
|
140
137
|
export { DURATION_FIELD_LABELS, DURATION_UNIT_SECONDS, DurationField, durationSeconds, durationValue, durationWords } from './chunk-VKGXIXC5.js';
|
|
141
138
|
export { Select } from './chunk-657WR3MX.js';
|
|
142
139
|
export { NUMBER_FIELD_LABELS, NumberField, typedNumber } from './chunk-VL5MV6JO.js';
|
|
143
140
|
export { PresetChips } from './chunk-NQG5H34R.js';
|
|
141
|
+
export { DownloadButton } from './chunk-XJOLNBEI.js';
|
|
142
|
+
export { downloadBlob, downloadText, safeFilename, useDownload } from './chunk-YNRKVY7X.js';
|
|
144
143
|
export { EditingStatus } from './chunk-KRF3GQ63.js';
|
|
145
144
|
export { EMOJI_GROUPS, EMOJI_GROUP_GLYPHS, EMOJI_PICKER_COLUMNS, EMOJI_PICKER_LABELS, EmojiPicker, emojiName, emojiOfShortcode, emojiShortcode, isShortcode, searchEmoji } from './chunk-OW5OIZOZ.js';
|
|
146
|
-
export {
|
|
145
|
+
export { EntityChip } from './chunk-OPN5Q3OL.js';
|
|
147
146
|
export { CONTEXT_LINES, DIFF_SUMMARY_LABELS, DIFF_VIEW_LABELS, DiffSummary, DiffView, MAX_COMPARE_LINES, MAX_EDITS, WINDOW_BLOCK_ROWS, WINDOW_FROM_ROWS, changedRuns, collapseDiff, compareLines, compareSequences, diffStat, distanceFloor, firstChangedLines, lineTokens, notComparedReason, segments, splitLines } from './chunk-4YLN5QVL.js';
|
|
148
147
|
export { DirectoryList } from './chunk-5KTLQ436.js';
|
|
149
148
|
export { Divider } from './chunk-6KWNXIDE.js';
|
|
150
149
|
export { DOC_TABS_EDITOR_LABELS, DocTabsEditor } from './chunk-NRUKK6G5.js';
|
|
151
150
|
export { DockColumn } from './chunk-UXTW4GOT.js';
|
|
151
|
+
export { DOCUMENT_DIFF_LABELS, DocumentDiff, DocumentDiffAdded, DocumentDiffRemoved } from './chunk-ZSV2JJV4.js';
|
|
152
152
|
export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from './chunk-VHVN5OQ3.js';
|
|
153
153
|
export { nextGridSort, parseGridSort } from './chunk-D33XINR4.js';
|
|
154
154
|
export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from './chunk-W3PSFOH2.js';
|
|
@@ -177,8 +177,8 @@ export { Combobox } from './chunk-ZJGGXYFS.js';
|
|
|
177
177
|
export { CommandPalette } from './chunk-TGAK4TEX.js';
|
|
178
178
|
export { ConfirmModal, Modal } from './chunk-HHV5WHTT.js';
|
|
179
179
|
export { HIGHLIGHT_REST_MS, TYPE_AHEAD_WINDOW, useHighlightRest, useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
|
|
180
|
-
export { COMMENT_THREAD_LABELS, CommentThread } from './chunk-Q3PUOZEA.js';
|
|
181
180
|
export { COMMENT_PIN_CURSOR_COLOURS, COMMENT_PIN_CURSOR_SIZE, CommentPin, CommentPinGlyph, commentPinCursor, commentPinCursorAt } from './chunk-ML4E6FFN.js';
|
|
181
|
+
export { COMMENT_THREAD_LABELS, CommentThread } from './chunk-BLIHR27X.js';
|
|
182
182
|
export { CompactNav, CompactNavGroup, CompactNavItem, CompactNavSeparator, groupBadge, placeFlyout } from './chunk-DF3LU2RW.js';
|
|
183
183
|
export { LockedLabel } from './chunk-TODOBUXO.js';
|
|
184
184
|
export { CHIP_FIELD_LABELS, ChipField } from './chunk-ITFAH735.js';
|
|
@@ -194,8 +194,8 @@ export { useOutcome } from './chunk-DTIW4CHZ.js';
|
|
|
194
194
|
import './chunk-HZXS5CEL.js';
|
|
195
195
|
export { ColorChip } from './chunk-C6T4VBEY.js';
|
|
196
196
|
import './chunk-3L5NHASN.js';
|
|
197
|
-
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';
|
|
198
197
|
export { ChatDay, ChatDayPill } from './chunk-RBQOS3JC.js';
|
|
198
|
+
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';
|
|
199
199
|
export { ChatDivider } from './chunk-EI242VTX.js';
|
|
200
200
|
import './chunk-5QJNA7KD.js';
|
|
201
201
|
export { CHAT_THREAD_FOLLOW_WITHIN, CHAT_THREAD_LABELS, ChatThread } from './chunk-GNNJDQ5J.js';
|
|
@@ -208,9 +208,9 @@ export { CanvasToolbar, toolForKey } from './chunk-JSW2QOGC.js';
|
|
|
208
208
|
export { TOOLBAR_FOLD_WIDTH, Toolbar, ToolbarOverflow, ToolbarSeparator, ToolbarWide } from './chunk-NPEI2QAN.js';
|
|
209
209
|
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-DUTG73M4.js';
|
|
210
210
|
import './chunk-CUEPPDBC.js';
|
|
211
|
+
export { CatalogTile } from './chunk-JKEGFDBG.js';
|
|
211
212
|
export { CHANGE_LIST_COLLAPSE_OVER, CHANGE_LIST_LABELS, ChangeList, ChangeListItems, shortenUnchanged } from './chunk-5D7RMXM2.js';
|
|
212
213
|
export { DIFF_LIST_LABELS, DiffList } from './chunk-7XUP32RY.js';
|
|
213
|
-
export { CatalogTile } from './chunk-JKEGFDBG.js';
|
|
214
214
|
export { ChangeMark } from './chunk-QCYKNWLA.js';
|
|
215
215
|
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';
|
|
216
216
|
export { PRESENCE_ACTIVITIES, PRESENCE_HUES, PRESENCE_LABELS, assignPresenceHues, collapseSessions, joinNames, presenceLabels, presenceOrder } from './chunk-Z7JYG5TF.js';
|
|
@@ -218,30 +218,32 @@ export { BrandSample } from './chunk-FMRRKLNX.js';
|
|
|
218
218
|
export { BrandScope, brandScopeInputs } from './chunk-X7WEE3EK.js';
|
|
219
219
|
import './chunk-5SGHW42B.js';
|
|
220
220
|
import './chunk-7W3LYIOC.js';
|
|
221
|
+
export { Breadcrumb } from './chunk-CN2EDXAW.js';
|
|
222
|
+
export { KeyChip } from './chunk-HBDA76EZ.js';
|
|
221
223
|
export { BRIEF_CARD_LABELS, BRIEF_CARD_MAX_FOLLOW_UPS, BRIEF_CARD_MAX_NEEDS, BRIEF_CARD_MAX_POINTS, BriefCard } from './chunk-S2YWBTWN.js';
|
|
222
224
|
export { SuggestionList, SuggestionRow } from './chunk-IR3OWPAZ.js';
|
|
223
225
|
import './chunk-6C7GQOBV.js';
|
|
224
226
|
export { StatusCard } from './chunk-PGLERBQT.js';
|
|
225
|
-
export { Breadcrumb } from './chunk-CN2EDXAW.js';
|
|
226
|
-
export { KeyChip } from './chunk-HBDA76EZ.js';
|
|
227
|
-
export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from './chunk-EE3DJMSQ.js';
|
|
228
227
|
export { Callout } from './chunk-I4NRQIRF.js';
|
|
228
|
+
export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from './chunk-EE3DJMSQ.js';
|
|
229
229
|
export { ARTIFACT_REF_KIND_LABELS, ArtifactRef } from './chunk-ZNCCNULJ.js';
|
|
230
230
|
export { InlineRef } from './chunk-7I4LOIBJ.js';
|
|
231
231
|
export { MARKDOWN_CALLOUT_NAMES, MARKDOWN_CALLOUT_TONES, markdownBreaks, markdownClosesFence, markdownCodeText, markdownFenceOf, markdownHeadingOf, markdownInline, markdownLines, parseMarkdown, parseMarkdownSpans, safeHref } from './chunk-KMTOGF6T.js';
|
|
232
232
|
export { ASIDE_LAYOUT_SPLIT_REM, AsideLayout } from './chunk-7UQQEUOT.js';
|
|
233
|
-
export { ATTACHMENT_CHIP_LABELS, AttachmentChip } from './chunk-PJMDWQC2.js';
|
|
234
|
-
export { Tag } from './chunk-HOIZJFYS.js';
|
|
235
233
|
export { ATTENTION_LIST_LABELS, AttentionList } from './chunk-LPOUIGTP.js';
|
|
236
234
|
export { NOTICE_LIST_LABELS, NoticeList } from './chunk-JH6K5UWI.js';
|
|
235
|
+
export { ATTACHMENT_CHIP_LABELS, AttachmentChip } from './chunk-PJMDWQC2.js';
|
|
236
|
+
export { Tag } from './chunk-HOIZJFYS.js';
|
|
237
237
|
export { AuthLayout } from './chunk-THCLP7TT.js';
|
|
238
238
|
export { BrandLockup } from './chunk-KXWJJWBD.js';
|
|
239
|
+
export { BrandChip } from './chunk-UH44L7OJ.js';
|
|
239
240
|
export { AvatarPicker } from './chunk-ANBJ2XS5.js';
|
|
240
241
|
export { HuePicker, HueSwatch } from './chunk-PETPFNNE.js';
|
|
241
242
|
export { Popover } from './chunk-AJFA2XDQ.js';
|
|
242
243
|
export { CHARACTER_PICKER_COLUMNS, CharacterPicker } from './chunk-CBUAKPF7.js';
|
|
243
244
|
export { NODE_HUES, NODE_HUE_NAMES, isNodeHue } from './chunk-AYKXMIOR.js';
|
|
244
|
-
export {
|
|
245
|
+
export { DashboardCover, DocCover, SHEET_COVER_COLUMNS, SHEET_COVER_ROWS, SheetCover } from './chunk-MMV7NEAC.js';
|
|
246
|
+
export { Document, DocumentTitle, DocumentTitleField } from './chunk-I4PBFJGX.js';
|
|
245
247
|
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from './chunk-VEIJ5IOK.js';
|
|
246
248
|
export { Skeleton } from './chunk-WFAJYBLX.js';
|
|
247
249
|
export { PRINCIPAL_KINDS, PrincipalAvatar } from './chunk-265IX4YA.js';
|
|
@@ -251,8 +253,6 @@ export { Card } from './chunk-354NVZ6M.js';
|
|
|
251
253
|
export { useCardHeaderSlot } from './chunk-AV2DXAEL.js';
|
|
252
254
|
export { Text } from './chunk-475DOAWF.js';
|
|
253
255
|
import './chunk-WSIJDWUG.js';
|
|
254
|
-
export { DashboardCover, DocCover, SHEET_COVER_COLUMNS, SHEET_COVER_ROWS, SheetCover } from './chunk-MMV7NEAC.js';
|
|
255
|
-
export { Document, DocumentTitle, DocumentTitleField } from './chunk-I4PBFJGX.js';
|
|
256
256
|
export { ArtifactKindGround, ArtifactKindIllustration, ArtifactKindTile } from './chunk-W3A6NBUM.js';
|
|
257
257
|
export { ArtifactMakeRow } from './chunk-A3SQWUWG.js';
|
|
258
258
|
export { ArtifactNameCell } from './chunk-3SCASXQH.js';
|
|
@@ -261,8 +261,9 @@ export { afterMotion, releaseFocus, runningMotion, usePresence } from './chunk-S
|
|
|
261
261
|
import './chunk-JLOESTT2.js';
|
|
262
262
|
export { ArrangeBoard } from './chunk-QO7QEQKV.js';
|
|
263
263
|
export { ArrangeFrame, useGridResize } from './chunk-OYTJ4AWU.js';
|
|
264
|
-
export { ArrangeGrid } from './chunk-
|
|
265
|
-
export { ArrangeGroup } from './chunk-
|
|
264
|
+
export { ArrangeGrid } from './chunk-CRXBR3LJ.js';
|
|
265
|
+
export { ArrangeGroup } from './chunk-KZN36L7O.js';
|
|
266
|
+
import './chunk-5U3CPSYD.js';
|
|
266
267
|
export { ArrangeList, DEFAULT_ARRANGE_LABELS } from './chunk-7WVNGMDV.js';
|
|
267
268
|
export { Switch } from './chunk-6YYRFGXO.js';
|
|
268
269
|
export { DEFAULT_REORDER_LABELS, moveKey, useReorder, useReorderLists } from './chunk-JMBPMSNI.js';
|
package/dist/styles.css
CHANGED
|
@@ -2624,23 +2624,37 @@ button.crewlet-account-row__who:focus-visible {
|
|
|
2624
2624
|
}
|
|
2625
2625
|
|
|
2626
2626
|
|
|
2627
|
-
/* ArrangeGrid-
|
|
2627
|
+
/* ArrangeGrid-JOVQJHRU.css */
|
|
2628
2628
|
/*
|
|
2629
2629
|
* ArrangeGrid: the page grid a board's blocks stand on. Equal columns, the
|
|
2630
2630
|
* board's gap between them, and each block stretched to its row's height, so
|
|
2631
2631
|
* the cards in one row share their bottom edge.
|
|
2632
2632
|
*/
|
|
2633
2633
|
.crewlet-arrange-grid {
|
|
2634
|
+
--crewlet-arrange-row-gap: var(--crewlet-arrange-board-gap, var(--spacing-4));
|
|
2635
|
+
|
|
2634
2636
|
display: grid;
|
|
2635
2637
|
grid-template-columns: repeat(var(--crewlet-arrange-columns, 12), minmax(0, 1fr));
|
|
2636
|
-
gap: var(--crewlet-arrange-board-gap, var(--spacing-4));
|
|
2638
|
+
gap: var(--crewlet-arrange-row-gap) var(--crewlet-arrange-board-gap, var(--spacing-4));
|
|
2637
2639
|
align-items: stretch;
|
|
2638
2640
|
}
|
|
2639
2641
|
|
|
2640
2642
|
/* More room between rows while the page is arranged: each block's toolbar
|
|
2641
2643
|
sits on its top edge, half in the gap above it. */
|
|
2642
2644
|
.crewlet-arrange-board.is-editing .crewlet-arrange-grid {
|
|
2643
|
-
row-gap: var(--spacing-5);
|
|
2645
|
+
--crewlet-arrange-row-gap: var(--spacing-5);
|
|
2646
|
+
}
|
|
2647
|
+
|
|
2648
|
+
/* Packed (`pack`): one-pixel rows, each block at its own height spanning it
|
|
2649
|
+
and the gap under it. The row gap is the blocks' own, so a gap set inline
|
|
2650
|
+
on the grid must not open between the rows. */
|
|
2651
|
+
.crewlet-arrange-grid[data-packed] {
|
|
2652
|
+
grid-auto-rows: 1px;
|
|
2653
|
+
row-gap: 0 !important;
|
|
2654
|
+
align-items: start;
|
|
2655
|
+
}
|
|
2656
|
+
.crewlet-arrange-grid[data-packed] > * {
|
|
2657
|
+
margin-block-end: var(--crewlet-arrange-row-gap);
|
|
2644
2658
|
}
|
|
2645
2659
|
|
|
2646
2660
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewlethq/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.171.0",
|
|
4
4
|
"description": "Crewlet shared React components built on @crewlethq/tokens and @crewlethq/icons.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"clean": "rm -rf dist src/generated"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@crewlethq/icons": "0.
|
|
47
|
-
"@crewlethq/tokens": "0.
|
|
46
|
+
"@crewlethq/icons": "0.171.0",
|
|
47
|
+
"@crewlethq/tokens": "0.171.0",
|
|
48
48
|
"prosemirror-commands": "1.7.2",
|
|
49
49
|
"prosemirror-gapcursor": "1.4.1",
|
|
50
50
|
"prosemirror-history": "1.5.1",
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* ArrangeGrid: the page grid a board's blocks stand on. Equal columns, the
|
|
3
|
-
* board's gap between them, and each block stretched to its row's height, so
|
|
4
|
-
* the cards in one row share their bottom edge.
|
|
5
|
-
*/
|
|
6
|
-
.crewlet-arrange-grid {
|
|
7
|
-
display: grid;
|
|
8
|
-
grid-template-columns: repeat(var(--crewlet-arrange-columns, 12), minmax(0, 1fr));
|
|
9
|
-
gap: var(--crewlet-arrange-board-gap, var(--spacing-4));
|
|
10
|
-
align-items: stretch;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
/* More room between rows while the page is arranged: each block's toolbar
|
|
14
|
-
sits on its top edge, half in the gap above it. */
|
|
15
|
-
.crewlet-arrange-board.is-editing .crewlet-arrange-grid {
|
|
16
|
-
row-gap: var(--spacing-5);
|
|
17
|
-
}
|
package/dist/chunk-QBA5B2Z5.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { cx } from './chunk-ODEQTPFM.js';
|
|
2
|
-
import './ArrangeGrid-XM4ZFTED.css';
|
|
3
|
-
import { jsx } from 'react/jsx-runtime';
|
|
4
|
-
|
|
5
|
-
function ArrangeGrid({ columns = 12, className, style, children, ...rest }) {
|
|
6
|
-
return /* @__PURE__ */ jsx(
|
|
7
|
-
"div",
|
|
8
|
-
{
|
|
9
|
-
className: cx("crewlet-arrange-grid", className),
|
|
10
|
-
style: { ...style, "--crewlet-arrange-columns": columns },
|
|
11
|
-
...rest,
|
|
12
|
-
children
|
|
13
|
-
}
|
|
14
|
-
);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
export { ArrangeGrid };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { Document } from './chunk-I4PBFJGX.js';
|
|
1
2
|
import { PrincipalAvatar } from './chunk-265IX4YA.js';
|
|
2
3
|
import { toInstant, RelativeTime, formatExact, toISO } from './chunk-GBKBME7Q.js';
|
|
3
|
-
import { Document } from './chunk-I4PBFJGX.js';
|
|
4
4
|
import { Composer } from './chunk-ULZPOVTO.js';
|
|
5
5
|
import { Button } from './chunk-34K3XN47.js';
|
|
6
6
|
import { IconButton } from './chunk-XHTQ4X4P.js';
|