@crewlethq/ui 0.170.1 → 0.171.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -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/LimitMeters/index.js +1 -1
- package/dist/{LimitMeters-WASD45CG.css → LimitMeters-HDEBOATH.css} +4 -2
- package/dist/chunk-5U3CPSYD.js +185 -0
- package/dist/chunk-CRXBR3LJ.js +22 -0
- package/dist/{chunk-APH674YQ.js → chunk-KKEVX2PD.js} +1 -1
- package/dist/{chunk-N3WS3XDV.js → chunk-KZN36L7O.js} +9 -3
- package/dist/generated/index.js +36 -35
- package/dist/index.js +36 -35
- package/dist/styles.css +22 -6
- package/package.json +3 -3
- package/dist/ArrangeGrid-XM4ZFTED.css +0 -17
- package/dist/chunk-QBA5B2Z5.js +0 -17
package/README.md
CHANGED
|
@@ -208,6 +208,18 @@ 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.1
|
|
212
|
+
|
|
213
|
+
### A limit stack keeps inside a narrow grid cell
|
|
214
|
+
|
|
215
|
+
**`LimitMeters` shrinks to a cell narrower than 12rem** rather than overflowing it. The stack's 12rem is now its intrinsic width (`contain-intrinsic-inline-size`) instead of a minimum, so a content-sized column still sizes it to 12rem, while a flexible column floored below that (a DataGrid column with `floor: '11rem'` in a tight row) shrinks its bar and keeps the figures inside the cell instead of drawing them over the next column. Nothing to change.
|
|
216
|
+
|
|
217
|
+
## Changes in 0.171.0
|
|
218
|
+
|
|
219
|
+
### A short block beside a tall one leaves no hole
|
|
220
|
+
|
|
221
|
+
**`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.
|
|
222
|
+
|
|
211
223
|
## Changes in 0.170.0
|
|
212
224
|
|
|
213
225
|
### 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,2 +1,2 @@
|
|
|
1
|
-
export { LimitMeters, limitWindowTone } from '../chunk-
|
|
1
|
+
export { LimitMeters, limitWindowTone } from '../chunk-KKEVX2PD.js';
|
|
2
2
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -5,8 +5,10 @@
|
|
|
5
5
|
display: flex;
|
|
6
6
|
flex-direction: column;
|
|
7
7
|
gap: var(--spacing-1);
|
|
8
|
-
/* Inline-size containment gives no intrinsic width, so
|
|
9
|
-
|
|
8
|
+
/* Inline-size containment gives no intrinsic width, so 12rem stands in for it in a content-sized
|
|
9
|
+
column; no minimum, so a narrower cell shrinks the stack instead of the figures overflowing it. */
|
|
10
|
+
contain-intrinsic-inline-size: 12rem;
|
|
11
|
+
min-width: 0;
|
|
10
12
|
font-size: var(--font-size-xs);
|
|
11
13
|
line-height: var(--font-line-height-snug);
|
|
12
14
|
}
|
|
@@ -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';
|
|
@@ -35,8 +35,8 @@ export { SEND_BUTTON_LABELS, SendButton } from '../chunk-7XGTRZP4.js';
|
|
|
35
35
|
export { SETTING_FORM_LABELS, SettingForm } from '../chunk-2G6TDWIL.js';
|
|
36
36
|
export { SETTINGS_TABLE_ROW_LABELS, SettingsTable, SettingsTableRow } from '../chunk-NEL3JDJA.js';
|
|
37
37
|
export { SetupWizard } from '../chunk-EZIMNB6H.js';
|
|
38
|
-
export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from '../chunk-WPFK5F4Q.js';
|
|
39
38
|
export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from '../chunk-BFJPUEZP.js';
|
|
39
|
+
export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from '../chunk-WPFK5F4Q.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
42
|
export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from '../chunk-FXAV22EB.js';
|
|
@@ -61,79 +61,79 @@ export { READING_PANE_ENTER, ReadingPane, ReadingPaneByline, ReadingPaneLead, Re
|
|
|
61
61
|
export { RecordChip, RecordChipList } from '../chunk-DWNKTIRN.js';
|
|
62
62
|
export { REFUSAL_CARD_LABELS, RefusalCard } from '../chunk-Y2WNFKMF.js';
|
|
63
63
|
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
64
|
export { PricingCard } from '../chunk-JSYAITYQ.js';
|
|
68
|
-
export { PropertyList } from '../chunk-N2DCSSYC.js';
|
|
69
65
|
export { PrincipalPicker } from '../chunk-NIIID2TS.js';
|
|
66
|
+
export { PropertyList } from '../chunk-N2DCSSYC.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
69
|
export { Prose } from '../chunk-DVVP27OD.js';
|
|
73
70
|
export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } from '../chunk-Y56FM3K4.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';
|
|
79
|
-
export { OrgLabel } from '../chunk-NIM7LEEI.js';
|
|
80
79
|
export { Outline, scrollToHeading, useActiveHeading } from '../chunk-WYIPKGEO.js';
|
|
81
80
|
export { PageNote } from '../chunk-CV4NES3P.js';
|
|
81
|
+
export { MessageBubble } from '../chunk-DQISTOEH.js';
|
|
82
82
|
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-4MMH7LHV.js';
|
|
83
83
|
export { PEOPLE_RAIL_LABELS, PeopleRail, peopleRailKey } from '../chunk-32DEM46L.js';
|
|
84
84
|
import '../chunk-CENOOTAV.js';
|
|
85
|
-
export { Money } from '../chunk-T467RY4O.js';
|
|
86
85
|
export { MONEY_FIELD_LABELS, MoneyField, moneyFieldProblem } from '../chunk-OMMPRYHF.js';
|
|
87
|
-
export { decimalOf, formatMoney, minorUnits, moneyDecimal, parseMoney, sumByCurrency, toMicros } from '../chunk-G6DKKJN6.js';
|
|
88
86
|
export { NewItemsNotice } from '../chunk-NCQC5Y4E.js';
|
|
89
87
|
export { groupNotices } from '../chunk-YAUAMQOP.js';
|
|
90
88
|
export { FactLine, ObjectHeader, SET_BY_VERBS, SetByLine } from '../chunk-W443OSWT.js';
|
|
91
89
|
export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from '../chunk-VYYBR3X2.js';
|
|
92
|
-
export {
|
|
90
|
+
export { OrgLabel } from '../chunk-NIM7LEEI.js';
|
|
93
91
|
export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from '../chunk-46WA7E5V.js';
|
|
94
92
|
export { PersonRow } from '../chunk-42I2VSZZ.js';
|
|
93
|
+
export { LogoSlot, LogoSlotGroup } from '../chunk-3ZBYTHLJ.js';
|
|
95
94
|
export { MERGE_CONFLICTS_LABELS, MergeConflicts } from '../chunk-67CPYCD7.js';
|
|
96
95
|
export { ActionDivider, MessageAction, MessageActions, QuickReaction } from '../chunk-6BSXZDRV.js';
|
|
97
|
-
export {
|
|
98
|
-
export {
|
|
96
|
+
export { Money } from '../chunk-T467RY4O.js';
|
|
97
|
+
export { decimalOf, formatMoney, minorUnits, moneyDecimal, parseMoney, sumByCurrency, toMicros } from '../chunk-G6DKKJN6.js';
|
|
98
|
+
export { LinkInterstitial, openExternal } from '../chunk-35ZF72VO.js';
|
|
99
99
|
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';
|
|
100
|
-
export { LogoSlot, LogoSlotGroup } from '../chunk-3ZBYTHLJ.js';
|
|
101
100
|
export { MARKDOWN_FORMATS, MARKDOWN_TEXT_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from '../chunk-ROL6QPFN.js';
|
|
102
101
|
export { MEMBER_PICKER_LABELS, MemberPicker, chosenMembers } from '../chunk-PPDA7E6Q.js';
|
|
103
|
-
export {
|
|
102
|
+
export { MentionChip } from '../chunk-SYOMUNKU.js';
|
|
103
|
+
export { LimitMeters, limitWindowTone } from '../chunk-KKEVX2PD.js';
|
|
104
104
|
export { Link } from '../chunk-UTKI2SAM.js';
|
|
105
105
|
export { LinkCard } from '../chunk-RSZE4FED.js';
|
|
106
106
|
import '../chunk-KOJPDCGQ.js';
|
|
107
|
-
export { LinkInterstitial, openExternal } from '../chunk-35ZF72VO.js';
|
|
108
107
|
export { List, ListItem } from '../chunk-GAQU5V5R.js';
|
|
109
|
-
export { ListInput, withDraft } from '../chunk-GVRBOOOA.js';
|
|
110
108
|
export { ListDetail, ListDetailBack } from '../chunk-I7GIUCQN.js';
|
|
111
|
-
export {
|
|
112
|
-
export {
|
|
109
|
+
export { ListInput, withDraft } from '../chunk-GVRBOOOA.js';
|
|
110
|
+
export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from '../chunk-DPNVKWJX.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-FFMCMSJB.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';
|
|
121
|
-
export {
|
|
120
|
+
export { FindingList } from '../chunk-J2GRBRGK.js';
|
|
122
121
|
export { FolderTile, describeFolderContents, folderContentsParts } from '../chunk-ESZXGC4P.js';
|
|
122
|
+
export { FollowBanner } from '../chunk-KRYBW64N.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 { 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';
|
|
126
|
+
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';
|
|
125
127
|
export { FULLSCREEN_TOGGLE_LABELS, FullscreenToggle, IDLE_AFTER_MS, useFullscreen, useIdle } from '../chunk-37FXQ4TH.js';
|
|
126
128
|
export { Highlight, highlightRanges, highlightTerms } from '../chunk-H6VKCIWV.js';
|
|
127
129
|
import '../chunk-MICRGE3J.js';
|
|
128
|
-
import '../chunk-FFMCMSJB.js';
|
|
129
|
-
export { EntityChip } from '../chunk-OPN5Q3OL.js';
|
|
130
|
-
export { Eyebrow } from '../chunk-RK4XPHVG.js';
|
|
131
130
|
export { ErrorBoundary } from '../chunk-B5GJR4XT.js';
|
|
131
|
+
export { EditingStatus } from '../chunk-KRF3GQ63.js';
|
|
132
|
+
export { Eyebrow } from '../chunk-RK4XPHVG.js';
|
|
132
133
|
export { FactList } from '../chunk-XN6OATTH.js';
|
|
133
134
|
export { FileDrop, FilePickButton, droppedFiles, pickedFiles } from '../chunk-C7YE4L5Y.js';
|
|
134
|
-
export { FILTER_CHIP_ATTRIBUTE, FilterChip, FilterChipGroup } from '../chunk-L6HUVA33.js';
|
|
135
135
|
export { FileList } from '../chunk-FQBSYMEW.js';
|
|
136
|
-
export {
|
|
136
|
+
export { FILTER_CHIP_ATTRIBUTE, FilterChip, FilterChipGroup } from '../chunk-L6HUVA33.js';
|
|
137
137
|
export { DOCUMENT_DIFF_LABELS, DocumentDiff, DocumentDiffAdded, DocumentDiffRemoved } from '../chunk-ZSV2JJV4.js';
|
|
138
138
|
export { DownloadButton } from '../chunk-XJOLNBEI.js';
|
|
139
139
|
export { downloadBlob, downloadText, safeFilename, useDownload } from '../chunk-YNRKVY7X.js';
|
|
@@ -141,9 +141,10 @@ export { DURATION_FIELD_LABELS, DURATION_UNIT_SECONDS, DurationField, durationSe
|
|
|
141
141
|
export { Select } from '../chunk-657WR3MX.js';
|
|
142
142
|
export { NUMBER_FIELD_LABELS, NumberField, typedNumber } from '../chunk-VL5MV6JO.js';
|
|
143
143
|
export { PresetChips } from '../chunk-NQG5H34R.js';
|
|
144
|
-
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';
|
|
145
|
+
export { EntityChip } from '../chunk-OPN5Q3OL.js';
|
|
146
146
|
export { EntityList } from '../chunk-VLDDTLZ3.js';
|
|
147
|
+
export { DescriptionList, DescriptionListItem } from '../chunk-LH4OF7FI.js';
|
|
147
148
|
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
149
|
export { DirectoryList } from '../chunk-5KTLQ436.js';
|
|
149
150
|
export { Divider } from '../chunk-6KWNXIDE.js';
|
|
@@ -151,18 +152,17 @@ export { DOC_TABS_EDITOR_LABELS, DocTabsEditor } from '../chunk-NRUKK6G5.js';
|
|
|
151
152
|
export { DockColumn } from '../chunk-UXTW4GOT.js';
|
|
152
153
|
export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from '../chunk-VHVN5OQ3.js';
|
|
153
154
|
export { nextGridSort, parseGridSort } from '../chunk-D33XINR4.js';
|
|
154
|
-
export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from '../chunk-W3PSFOH2.js';
|
|
155
155
|
export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from '../chunk-YJVEU5OQ.js';
|
|
156
156
|
export { PageHeader } from '../chunk-FPDIHEM4.js';
|
|
157
157
|
export { FILTER_PILL_LABELS, FILTER_PILL_WORDS_CLASS, FilterPill, filterPillSentence } from '../chunk-UL7X5F5W.js';
|
|
158
158
|
export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from '../chunk-QFGUP7RL.js';
|
|
159
|
+
export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from '../chunk-W3PSFOH2.js';
|
|
159
160
|
export { DEFAULT_DATE_TIME_PICKER_LABELS, DateTimePicker } from '../chunk-5TQRAZQG.js';
|
|
160
161
|
export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from '../chunk-KL3BX2KM.js';
|
|
161
162
|
export { STEP_STATES, STEP_STATE_LABELS, StepList, StepStateMark, Stepper, stepDetailPieces } from '../chunk-2MN3RNRM.js';
|
|
162
163
|
export { REFUSAL_STRIP_LABELS, ReceiptStrip, RefusalStrip } from '../chunk-3XXFU4XP.js';
|
|
163
164
|
export { DEFAULT_METER_THRESHOLDS, METER_STATES, Meter, meterState, meterStateTone, meterTone, progressTone } from '../chunk-MXOT2CWL.js';
|
|
164
165
|
export { DELIVERY_RECEIPT_LABELS, DeliveryReceipt } from '../chunk-NVMYSKC4.js';
|
|
165
|
-
export { DescriptionList, DescriptionListItem } from '../chunk-LH4OF7FI.js';
|
|
166
166
|
export { ConfirmField, confirmMatches } from '../chunk-OQWGU72N.js';
|
|
167
167
|
export { InlineCode } from '../chunk-W4UJWFCZ.js';
|
|
168
168
|
export { CONFLICT_NOTE_LABELS, ConflictNote } from '../chunk-SD5YSD5G.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-Q3PUOZEA.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';
|
|
@@ -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,12 +218,12 @@ 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
227
|
export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from '../chunk-EE3DJMSQ.js';
|
|
228
228
|
export { Callout } from '../chunk-I4NRQIRF.js';
|
|
229
229
|
export { ARTIFACT_REF_KIND_LABELS, ArtifactRef } from '../chunk-ZNCCNULJ.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';
|
|
@@ -280,7 +281,6 @@ export { Menu } from '../chunk-EUET4PNC.js';
|
|
|
280
281
|
export { ACCESS_DENIED_REASONS, AccessDeniedCard } from '../chunk-QTMUKRTN.js';
|
|
281
282
|
export { EmptyState } from '../chunk-PPUR46MK.js';
|
|
282
283
|
export { Accordion, AccordionItem } from '../chunk-3QEAANRP.js';
|
|
283
|
-
export { ACTION_CARD_GROUND, ActionCard, ActionCardRow } from '../chunk-OM2LABPS.js';
|
|
284
284
|
export { ActivityLine } from '../chunk-VPRD5NWJ.js';
|
|
285
285
|
export { BouncingDots, WORKING_LINE_LABELS, WorkingLine, workingAnnouncement, workingSentence } from '../chunk-P3N7FAMP.js';
|
|
286
286
|
export { AvatarStack, avatarStackLabel } from '../chunk-JWHXDVN5.js';
|
|
@@ -318,6 +318,7 @@ export { FOCUS_MODALITY_ATTRIBUTE, FOCUS_RETURNED_ATTRIBUTE, isVisibleFocus, ret
|
|
|
318
318
|
export { DisclosureAnatomy } from '../chunk-ODN2TPIG.js';
|
|
319
319
|
export { Count } from '../chunk-Y5CMDLQM.js';
|
|
320
320
|
export { HeadingLevelProvider, headingTag, nextHeadingLevel, useHeadingLevel } from '../chunk-PQADV6P6.js';
|
|
321
|
+
export { ACTION_CARD_GROUND, ActionCard, ActionCardRow } from '../chunk-OM2LABPS.js';
|
|
321
322
|
export { Announcer, announce, useAnnouncer } from '../chunk-WGMKERCR.js';
|
|
322
323
|
export { VisuallyHidden } from '../chunk-RRRK2KB6.js';
|
|
323
324
|
export { cx } from '../chunk-ODEQTPFM.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';
|
|
@@ -35,8 +35,8 @@ export { SEND_BUTTON_LABELS, SendButton } from './chunk-7XGTRZP4.js';
|
|
|
35
35
|
export { SETTING_FORM_LABELS, SettingForm } from './chunk-2G6TDWIL.js';
|
|
36
36
|
export { SETTINGS_TABLE_ROW_LABELS, SettingsTable, SettingsTableRow } from './chunk-NEL3JDJA.js';
|
|
37
37
|
export { SetupWizard } from './chunk-EZIMNB6H.js';
|
|
38
|
-
export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from './chunk-WPFK5F4Q.js';
|
|
39
38
|
export { SHEET_COLUMN_EDITOR_LABELS, SheetColumnEditor, SheetColumnTypeGlyph } from './chunk-BFJPUEZP.js';
|
|
39
|
+
export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from './chunk-WPFK5F4Q.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
42
|
export { FRAME_HELLO_TIMEOUT_MS, FRAME_LOAD_GRACE_MS, SandboxedFrame, SandboxedFrameNotice, SandboxedFramePlaceholder } from './chunk-FXAV22EB.js';
|
|
@@ -61,79 +61,79 @@ export { READING_PANE_ENTER, ReadingPane, ReadingPaneByline, ReadingPaneLead, Re
|
|
|
61
61
|
export { RecordChip, RecordChipList } from './chunk-DWNKTIRN.js';
|
|
62
62
|
export { REFUSAL_CARD_LABELS, RefusalCard } from './chunk-Y2WNFKMF.js';
|
|
63
63
|
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
64
|
export { PricingCard } from './chunk-JSYAITYQ.js';
|
|
68
|
-
export { PropertyList } from './chunk-N2DCSSYC.js';
|
|
69
65
|
export { PrincipalPicker } from './chunk-NIIID2TS.js';
|
|
66
|
+
export { PropertyList } from './chunk-N2DCSSYC.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
69
|
export { Prose } from './chunk-DVVP27OD.js';
|
|
73
70
|
export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } from './chunk-Y56FM3K4.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';
|
|
79
|
-
export { OrgLabel } from './chunk-NIM7LEEI.js';
|
|
80
79
|
export { Outline, scrollToHeading, useActiveHeading } from './chunk-WYIPKGEO.js';
|
|
81
80
|
export { PageNote } from './chunk-CV4NES3P.js';
|
|
81
|
+
export { MessageBubble } from './chunk-DQISTOEH.js';
|
|
82
82
|
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-4MMH7LHV.js';
|
|
83
83
|
export { PEOPLE_RAIL_LABELS, PeopleRail, peopleRailKey } from './chunk-32DEM46L.js';
|
|
84
84
|
import './chunk-CENOOTAV.js';
|
|
85
|
-
export { Money } from './chunk-T467RY4O.js';
|
|
86
85
|
export { MONEY_FIELD_LABELS, MoneyField, moneyFieldProblem } from './chunk-OMMPRYHF.js';
|
|
87
|
-
export { decimalOf, formatMoney, minorUnits, moneyDecimal, parseMoney, sumByCurrency, toMicros } from './chunk-G6DKKJN6.js';
|
|
88
86
|
export { NewItemsNotice } from './chunk-NCQC5Y4E.js';
|
|
89
87
|
export { groupNotices } from './chunk-YAUAMQOP.js';
|
|
90
88
|
export { FactLine, ObjectHeader, SET_BY_VERBS, SetByLine } from './chunk-W443OSWT.js';
|
|
91
89
|
export { OPEN_IN_APP_CARD_LABELS, OpenInAppCard } from './chunk-VYYBR3X2.js';
|
|
92
|
-
export {
|
|
90
|
+
export { OrgLabel } from './chunk-NIM7LEEI.js';
|
|
93
91
|
export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from './chunk-46WA7E5V.js';
|
|
94
92
|
export { PersonRow } from './chunk-42I2VSZZ.js';
|
|
93
|
+
export { LogoSlot, LogoSlotGroup } from './chunk-3ZBYTHLJ.js';
|
|
95
94
|
export { MERGE_CONFLICTS_LABELS, MergeConflicts } from './chunk-67CPYCD7.js';
|
|
96
95
|
export { ActionDivider, MessageAction, MessageActions, QuickReaction } from './chunk-6BSXZDRV.js';
|
|
97
|
-
export {
|
|
98
|
-
export {
|
|
96
|
+
export { Money } from './chunk-T467RY4O.js';
|
|
97
|
+
export { decimalOf, formatMoney, minorUnits, moneyDecimal, parseMoney, sumByCurrency, toMicros } from './chunk-G6DKKJN6.js';
|
|
98
|
+
export { LinkInterstitial, openExternal } from './chunk-35ZF72VO.js';
|
|
99
99
|
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';
|
|
100
|
-
export { LogoSlot, LogoSlotGroup } from './chunk-3ZBYTHLJ.js';
|
|
101
100
|
export { MARKDOWN_FORMATS, MARKDOWN_TEXT_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from './chunk-ROL6QPFN.js';
|
|
102
101
|
export { MEMBER_PICKER_LABELS, MemberPicker, chosenMembers } from './chunk-PPDA7E6Q.js';
|
|
103
|
-
export {
|
|
102
|
+
export { MentionChip } from './chunk-SYOMUNKU.js';
|
|
103
|
+
export { LimitMeters, limitWindowTone } from './chunk-KKEVX2PD.js';
|
|
104
104
|
export { Link } from './chunk-UTKI2SAM.js';
|
|
105
105
|
export { LinkCard } from './chunk-RSZE4FED.js';
|
|
106
106
|
import './chunk-KOJPDCGQ.js';
|
|
107
|
-
export { LinkInterstitial, openExternal } from './chunk-35ZF72VO.js';
|
|
108
107
|
export { List, ListItem } from './chunk-GAQU5V5R.js';
|
|
109
|
-
export { ListInput, withDraft } from './chunk-GVRBOOOA.js';
|
|
110
108
|
export { ListDetail, ListDetailBack } from './chunk-I7GIUCQN.js';
|
|
111
|
-
export {
|
|
112
|
-
export {
|
|
109
|
+
export { ListInput, withDraft } from './chunk-GVRBOOOA.js';
|
|
110
|
+
export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from './chunk-DPNVKWJX.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-FFMCMSJB.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';
|
|
121
|
-
export {
|
|
120
|
+
export { FindingList } from './chunk-J2GRBRGK.js';
|
|
122
121
|
export { FolderTile, describeFolderContents, folderContentsParts } from './chunk-ESZXGC4P.js';
|
|
122
|
+
export { FollowBanner } from './chunk-KRYBW64N.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 { 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';
|
|
126
|
+
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';
|
|
125
127
|
export { FULLSCREEN_TOGGLE_LABELS, FullscreenToggle, IDLE_AFTER_MS, useFullscreen, useIdle } from './chunk-37FXQ4TH.js';
|
|
126
128
|
export { Highlight, highlightRanges, highlightTerms } from './chunk-H6VKCIWV.js';
|
|
127
129
|
import './chunk-MICRGE3J.js';
|
|
128
|
-
import './chunk-FFMCMSJB.js';
|
|
129
|
-
export { EntityChip } from './chunk-OPN5Q3OL.js';
|
|
130
|
-
export { Eyebrow } from './chunk-RK4XPHVG.js';
|
|
131
130
|
export { ErrorBoundary } from './chunk-B5GJR4XT.js';
|
|
131
|
+
export { EditingStatus } from './chunk-KRF3GQ63.js';
|
|
132
|
+
export { Eyebrow } from './chunk-RK4XPHVG.js';
|
|
132
133
|
export { FactList } from './chunk-XN6OATTH.js';
|
|
133
134
|
export { FileDrop, FilePickButton, droppedFiles, pickedFiles } from './chunk-C7YE4L5Y.js';
|
|
134
|
-
export { FILTER_CHIP_ATTRIBUTE, FilterChip, FilterChipGroup } from './chunk-L6HUVA33.js';
|
|
135
135
|
export { FileList } from './chunk-FQBSYMEW.js';
|
|
136
|
-
export {
|
|
136
|
+
export { FILTER_CHIP_ATTRIBUTE, FilterChip, FilterChipGroup } from './chunk-L6HUVA33.js';
|
|
137
137
|
export { DOCUMENT_DIFF_LABELS, DocumentDiff, DocumentDiffAdded, DocumentDiffRemoved } from './chunk-ZSV2JJV4.js';
|
|
138
138
|
export { DownloadButton } from './chunk-XJOLNBEI.js';
|
|
139
139
|
export { downloadBlob, downloadText, safeFilename, useDownload } from './chunk-YNRKVY7X.js';
|
|
@@ -141,9 +141,10 @@ export { DURATION_FIELD_LABELS, DURATION_UNIT_SECONDS, DurationField, durationSe
|
|
|
141
141
|
export { Select } from './chunk-657WR3MX.js';
|
|
142
142
|
export { NUMBER_FIELD_LABELS, NumberField, typedNumber } from './chunk-VL5MV6JO.js';
|
|
143
143
|
export { PresetChips } from './chunk-NQG5H34R.js';
|
|
144
|
-
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';
|
|
145
|
+
export { EntityChip } from './chunk-OPN5Q3OL.js';
|
|
146
146
|
export { EntityList } from './chunk-VLDDTLZ3.js';
|
|
147
|
+
export { DescriptionList, DescriptionListItem } from './chunk-LH4OF7FI.js';
|
|
147
148
|
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
149
|
export { DirectoryList } from './chunk-5KTLQ436.js';
|
|
149
150
|
export { Divider } from './chunk-6KWNXIDE.js';
|
|
@@ -151,18 +152,17 @@ export { DOC_TABS_EDITOR_LABELS, DocTabsEditor } from './chunk-NRUKK6G5.js';
|
|
|
151
152
|
export { DockColumn } from './chunk-UXTW4GOT.js';
|
|
152
153
|
export { ChooserList, ColumnChooser, DATA_GRID_ICON_TRACK, DataGrid, columnChoicesOf, countDataGridRows, fitGridColumns, sortGridRows, useAnyDataGridDriving, useDataGridDriving } from './chunk-VHVN5OQ3.js';
|
|
153
154
|
export { nextGridSort, parseGridSort } from './chunk-D33XINR4.js';
|
|
154
|
-
export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from './chunk-W3PSFOH2.js';
|
|
155
155
|
export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from './chunk-YJVEU5OQ.js';
|
|
156
156
|
export { PageHeader } from './chunk-FPDIHEM4.js';
|
|
157
157
|
export { FILTER_PILL_LABELS, FILTER_PILL_WORDS_CLASS, FilterPill, filterPillSentence } from './chunk-UL7X5F5W.js';
|
|
158
158
|
export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from './chunk-QFGUP7RL.js';
|
|
159
|
+
export { DATASET_SOURCE_KINDS, DatasetSource, DatasetSourceList } from './chunk-W3PSFOH2.js';
|
|
159
160
|
export { DEFAULT_DATE_TIME_PICKER_LABELS, DateTimePicker } from './chunk-5TQRAZQG.js';
|
|
160
161
|
export { DEEP_WORK_CARD_LABELS, DEEP_WORK_STATES, DEEP_WORK_STATE_LABELS, DeepWorkCard } from './chunk-KL3BX2KM.js';
|
|
161
162
|
export { STEP_STATES, STEP_STATE_LABELS, StepList, StepStateMark, Stepper, stepDetailPieces } from './chunk-2MN3RNRM.js';
|
|
162
163
|
export { REFUSAL_STRIP_LABELS, ReceiptStrip, RefusalStrip } from './chunk-3XXFU4XP.js';
|
|
163
164
|
export { DEFAULT_METER_THRESHOLDS, METER_STATES, Meter, meterState, meterStateTone, meterTone, progressTone } from './chunk-MXOT2CWL.js';
|
|
164
165
|
export { DELIVERY_RECEIPT_LABELS, DeliveryReceipt } from './chunk-NVMYSKC4.js';
|
|
165
|
-
export { DescriptionList, DescriptionListItem } from './chunk-LH4OF7FI.js';
|
|
166
166
|
export { ConfirmField, confirmMatches } from './chunk-OQWGU72N.js';
|
|
167
167
|
export { InlineCode } from './chunk-W4UJWFCZ.js';
|
|
168
168
|
export { CONFLICT_NOTE_LABELS, ConflictNote } from './chunk-SD5YSD5G.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-Q3PUOZEA.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';
|
|
@@ -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,12 +218,12 @@ 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
227
|
export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from './chunk-EE3DJMSQ.js';
|
|
228
228
|
export { Callout } from './chunk-I4NRQIRF.js';
|
|
229
229
|
export { ARTIFACT_REF_KIND_LABELS, ArtifactRef } from './chunk-ZNCCNULJ.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';
|
|
@@ -280,7 +281,6 @@ export { Menu } from './chunk-EUET4PNC.js';
|
|
|
280
281
|
export { ACCESS_DENIED_REASONS, AccessDeniedCard } from './chunk-QTMUKRTN.js';
|
|
281
282
|
export { EmptyState } from './chunk-PPUR46MK.js';
|
|
282
283
|
export { Accordion, AccordionItem } from './chunk-3QEAANRP.js';
|
|
283
|
-
export { ACTION_CARD_GROUND, ActionCard, ActionCardRow } from './chunk-OM2LABPS.js';
|
|
284
284
|
export { ActivityLine } from './chunk-VPRD5NWJ.js';
|
|
285
285
|
export { BouncingDots, WORKING_LINE_LABELS, WorkingLine, workingAnnouncement, workingSentence } from './chunk-P3N7FAMP.js';
|
|
286
286
|
export { AvatarStack, avatarStackLabel } from './chunk-JWHXDVN5.js';
|
|
@@ -318,6 +318,7 @@ export { FOCUS_MODALITY_ATTRIBUTE, FOCUS_RETURNED_ATTRIBUTE, isVisibleFocus, ret
|
|
|
318
318
|
export { DisclosureAnatomy } from './chunk-ODN2TPIG.js';
|
|
319
319
|
export { Count } from './chunk-Y5CMDLQM.js';
|
|
320
320
|
export { HeadingLevelProvider, headingTag, nextHeadingLevel, useHeadingLevel } from './chunk-PQADV6P6.js';
|
|
321
|
+
export { ACTION_CARD_GROUND, ActionCard, ActionCardRow } from './chunk-OM2LABPS.js';
|
|
321
322
|
export { Announcer, announce, useAnnouncer } from './chunk-WGMKERCR.js';
|
|
322
323
|
export { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
323
324
|
export { cx } from './chunk-ODEQTPFM.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
|
|
|
@@ -27757,7 +27771,7 @@ a.crewlet-icon-btn {
|
|
|
27757
27771
|
|
|
27758
27772
|
|
|
27759
27773
|
|
|
27760
|
-
/* LimitMeters-
|
|
27774
|
+
/* LimitMeters-HDEBOATH.css */
|
|
27761
27775
|
/* A stack of limit windows: label, bar, figure and note line up across rows. */
|
|
27762
27776
|
|
|
27763
27777
|
.crewlet-limit-meters {
|
|
@@ -27765,8 +27779,10 @@ a.crewlet-icon-btn {
|
|
|
27765
27779
|
display: flex;
|
|
27766
27780
|
flex-direction: column;
|
|
27767
27781
|
gap: var(--spacing-1);
|
|
27768
|
-
/* Inline-size containment gives no intrinsic width, so
|
|
27769
|
-
|
|
27782
|
+
/* Inline-size containment gives no intrinsic width, so 12rem stands in for it in a content-sized
|
|
27783
|
+
column; no minimum, so a narrower cell shrinks the stack instead of the figures overflowing it. */
|
|
27784
|
+
contain-intrinsic-inline-size: 12rem;
|
|
27785
|
+
min-width: 0;
|
|
27770
27786
|
font-size: var(--font-size-xs);
|
|
27771
27787
|
line-height: var(--font-line-height-snug);
|
|
27772
27788
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crewlethq/ui",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.171.1",
|
|
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.1",
|
|
47
|
+
"@crewlethq/tokens": "0.171.1",
|
|
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 };
|