@crewlethq/ui 0.18.0 → 0.19.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 +19 -2
- package/dist/AccessDeniedCard/index.js +2 -2
- package/dist/AppShell/index.js +2 -2
- package/dist/ArrangeBoard/ArrangeBoard.d.ts +32 -0
- package/dist/ArrangeBoard/index.d.ts +3 -0
- package/dist/ArrangeBoard/index.js +2 -0
- package/dist/ArrangeBoard-MQE35P6Z.css +80 -0
- package/dist/ArrangeFrame/ArrangeFrame.d.ts +82 -0
- package/dist/ArrangeFrame/index.d.ts +5 -0
- package/dist/ArrangeFrame/index.js +5 -0
- package/dist/ArrangeFrame/useGridResize.d.ts +66 -0
- package/dist/ArrangeFrame-3PLZAG22.css +329 -0
- package/dist/ArrangeGroup/ArrangeGroup.d.ts +42 -0
- package/dist/ArrangeGroup/index.d.ts +3 -0
- package/dist/ArrangeGroup/index.js +4 -0
- package/dist/ArrangeGroup-SHFHA7BE.css +170 -0
- package/dist/ArrangeList/ArrangeList.d.ts +64 -0
- package/dist/ArrangeList/index.d.ts +3 -0
- package/dist/ArrangeList/index.js +10 -0
- package/dist/ArrangeList-NNRTDFI5.css +94 -0
- package/dist/ArtifactCard/index.js +2 -2
- package/dist/AuthLayout/index.js +2 -2
- package/dist/AvatarPicker/index.js +4 -4
- package/dist/Canvas/index.js +2 -2
- package/dist/Card/index.js +1 -1
- package/dist/Checkbox/index.js +3 -3
- package/dist/Combobox/index.js +4 -4
- package/dist/CommandPalette/index.js +6 -6
- package/dist/Composer/index.js +3 -3
- package/dist/ConfirmField/index.js +3 -3
- package/dist/DataTable/index.js +8 -8
- package/dist/DataView/index.js +13 -13
- package/dist/DateTimePicker/index.js +3 -3
- package/dist/Divider/Divider.d.ts +15 -0
- package/dist/Divider/index.d.ts +3 -0
- package/dist/Divider/index.js +2 -0
- package/dist/Divider-3Z77ZAJH.css +37 -0
- package/dist/HuePicker/HuePicker.d.ts +16 -4
- package/dist/HuePicker/index.js +2 -2
- package/dist/{HuePicker-5QIUR6L7.css → HuePicker-PAIGH6LR.css} +6 -0
- package/dist/IconTile/IconTile.d.ts +23 -0
- package/dist/IconTile/index.d.ts +3 -0
- package/dist/IconTile/index.js +2 -0
- package/dist/IconTile-4GNWTLAW.css +30 -0
- package/dist/Input/index.js +2 -2
- package/dist/LinkInterstitial/index.js +4 -4
- package/dist/ListInput/index.js +5 -5
- package/dist/MarkdownEditor/index.js +2 -2
- package/dist/Menu/index.js +2 -2
- package/dist/Modal/Modal.d.ts +20 -0
- package/dist/Modal/index.js +3 -3
- package/dist/{Modal-RQAYGG4L.css → Modal-XOSV6FAH.css} +14 -0
- package/dist/Note/Note.d.ts +23 -0
- package/dist/Note/index.d.ts +3 -0
- package/dist/Note/index.js +2 -0
- package/dist/Note-RT4L6VUT.css +58 -0
- package/dist/OrgTable/index.js +5 -5
- package/dist/PinTile/PinTile.d.ts +37 -0
- package/dist/PinTile/index.d.ts +3 -0
- package/dist/PinTile/index.js +4 -0
- package/dist/PinTile-IIA25MNZ.css +141 -0
- package/dist/PresenceStack/index.js +1 -1
- package/dist/PrincipalPicker/index.js +5 -5
- package/dist/Reorder/index.d.ts +2 -0
- package/dist/Reorder/index.js +4 -0
- package/dist/Reorder/useReorder.d.ts +138 -0
- package/dist/ShareDialog/index.js +7 -7
- package/dist/SheetGrid/index.js +4 -4
- package/dist/StatGroup/StatGroup.d.ts +7 -1
- package/dist/StatGroup/index.js +1 -1
- package/dist/{StatGroup-HVG6O62W.css → StatGroup-PADTJCUQ.css} +7 -0
- package/dist/Switcher/index.js +8 -8
- package/dist/TagsInput/index.js +3 -3
- package/dist/TimeWindowPicker/index.js +5 -5
- package/dist/TreeCanvas/index.js +3 -3
- package/dist/TreeGrid/index.js +2 -2
- package/dist/chunk-35XVR5JQ.js +81 -0
- package/dist/chunk-63WJLRB2.js +24 -0
- package/dist/{chunk-L4ZLXYPO.js → chunk-6A7P6II6.js} +1 -1
- package/dist/chunk-6KWNXIDE.js +18 -0
- package/dist/chunk-6MIXD6IW.js +49 -0
- package/dist/{chunk-NZY77ZDU.js → chunk-7FQEUNHX.js} +4 -4
- package/dist/{chunk-2TZATTIU.js → chunk-7IJARUIF.js} +18 -5
- package/dist/chunk-AIVZVKYZ.js +126 -0
- package/dist/{chunk-76FXDZAZ.js → chunk-AJESMWJS.js} +4 -4
- package/dist/chunk-DEJHAOC5.js +279 -0
- package/dist/{chunk-ERV5BUS3.js → chunk-EIGEIT4O.js} +3 -3
- package/dist/chunk-FFMCMSJB.js +1 -0
- package/dist/{chunk-LFZ45HV2.js → chunk-G3EEUNZQ.js} +1 -1
- package/dist/{chunk-2YR5ZPQ3.js → chunk-HTCJSUIZ.js} +3 -3
- package/dist/{chunk-75CLJNDQ.js → chunk-I6NZKJGK.js} +1 -1
- package/dist/chunk-IXJHTFXG.js +17 -0
- package/dist/{chunk-3UAA4IWJ.js → chunk-JEDWC3GI.js} +1 -1
- package/dist/{chunk-QVAFL2LE.js → chunk-JXRI5YD2.js} +3 -3
- package/dist/{chunk-ZFH7H7GS.js → chunk-LOLELDBW.js} +1 -1
- package/dist/{chunk-KVT3TJVG.js → chunk-OIMAK5AE.js} +6 -6
- package/dist/chunk-QO7QEQKV.js +24 -0
- package/dist/{chunk-A7EBCHEG.js → chunk-RT323I4I.js} +1 -1
- package/dist/{chunk-BOW2VUCH.js → chunk-T7ICFXEC.js} +1 -1
- package/dist/{chunk-2OLCUNG7.js → chunk-TBIZSQHB.js} +1 -1
- package/dist/{chunk-4U3GQ7D2.js → chunk-TODND5AD.js} +1 -1
- package/dist/{chunk-IFKBDRNJ.js → chunk-UXELEORU.js} +3 -3
- package/dist/{chunk-6NIMZ5XC.js → chunk-VJLYGPPE.js} +1 -1
- package/dist/{chunk-7QFAORCY.js → chunk-WHZFDS62.js} +1 -1
- package/dist/chunk-XJ2QEBMM.js +277 -0
- package/dist/{chunk-PA4CYTBY.js → chunk-XU4ZUGLE.js} +19 -4
- package/dist/{chunk-T3ZWBZ65.js → chunk-YSJYWQSP.js} +2 -2
- package/dist/{chunk-CXBAIVYZ.js → chunk-YSY6UJ4F.js} +1 -1
- package/dist/{chunk-EG6NYWVK.js → chunk-YZCJ63JF.js} +1 -1
- package/dist/generated/index.d.ts +9 -0
- package/dist/generated/index.js +80 -71
- package/dist/index.js +80 -71
- package/dist/styles.css +993 -3
- package/package.json +3 -3
- package/dist/chunk-EXHQ2QVW.js +0 -1
- package/dist/{chunk-ESKP3TXM.js → chunk-4Z7PW3L6.js} +0 -0
- package/dist/{chunk-AQCV62K6.js → chunk-7ZNKEPLN.js} +1 -1
- package/dist/{chunk-OYOQU7O5.js → chunk-EDGCPVVD.js} +1 -1
- package/dist/{chunk-NS7BVLL3.js → chunk-JULMZNGT.js} +1 -1
- package/dist/{chunk-5NVKTB6E.js → chunk-L4H7SSWF.js} +1 -1
- package/dist/{chunk-FYXRWBJJ.js → chunk-PUQY4WXR.js} +2 -2
- package/dist/{chunk-4GB57WIT.js → chunk-Q55TXPA3.js} +1 -1
- package/dist/{chunk-B2Z2CDM5.js → chunk-T5TFZ2JB.js} +1 -1
- package/dist/{chunk-AMH67MLM.js → chunk-TXAFKH2A.js} +1 -1
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
import { announce } from './chunk-RSAQOKH3.js';
|
|
2
|
+
import { useId, useState, useRef, useCallback, useLayoutEffect, useMemo } from 'react';
|
|
3
|
+
|
|
4
|
+
var DEFAULT_REORDER_LABELS = {
|
|
5
|
+
handle: (name) => `Move ${name}`,
|
|
6
|
+
hint: "Drag to move, or press the arrow keys.",
|
|
7
|
+
moved: (name, position, total) => `${name} moved to position ${position} of ${total}.`
|
|
8
|
+
};
|
|
9
|
+
function moveKey(keys, key, to) {
|
|
10
|
+
const next = keys.filter((k) => k !== key);
|
|
11
|
+
next.splice(Math.max(0, Math.min(to, next.length)), 0, key);
|
|
12
|
+
return next;
|
|
13
|
+
}
|
|
14
|
+
function listOf(lists, key) {
|
|
15
|
+
for (const [id, keys] of Object.entries(lists)) if (keys.includes(key)) return id;
|
|
16
|
+
return null;
|
|
17
|
+
}
|
|
18
|
+
function place(lists, key, list, index) {
|
|
19
|
+
const next = {};
|
|
20
|
+
for (const [id, keys] of Object.entries(lists)) next[id] = keys.filter((k) => k !== key);
|
|
21
|
+
const target = next[list] ?? [];
|
|
22
|
+
target.splice(Math.max(0, Math.min(index, target.length)), 0, key);
|
|
23
|
+
next[list] = target;
|
|
24
|
+
return next;
|
|
25
|
+
}
|
|
26
|
+
var SETTLE_MS = 200;
|
|
27
|
+
var settleMs = () => typeof window !== "undefined" && window.matchMedia?.("(prefers-reduced-motion: reduce)").matches ? 20 : SETTLE_MS;
|
|
28
|
+
var now = () => typeof performance !== "undefined" ? performance.now() : Date.now();
|
|
29
|
+
function byRows(node, axis) {
|
|
30
|
+
if (axis === "vertical") return true;
|
|
31
|
+
const row = node.parentElement?.getBoundingClientRect();
|
|
32
|
+
return row !== void 0 && node.getBoundingClientRect().width > row.width * 0.75;
|
|
33
|
+
}
|
|
34
|
+
var lineOf = (node, axis) => byRows(node, axis) ? "horizontal" : "vertical";
|
|
35
|
+
function inEarlierHalf(node, axis, x, y) {
|
|
36
|
+
const r = node.getBoundingClientRect();
|
|
37
|
+
return byRows(node, axis) ? y < r.top + r.height / 2 : x < r.left + r.width / 2;
|
|
38
|
+
}
|
|
39
|
+
function lastOf(keys, except) {
|
|
40
|
+
const rest = (keys ?? []).filter((k) => k !== except);
|
|
41
|
+
return rest[rest.length - 1];
|
|
42
|
+
}
|
|
43
|
+
var sameLists = (a, b) => JSON.stringify(a) === JSON.stringify(b);
|
|
44
|
+
var PREVIOUS = {
|
|
45
|
+
vertical: ["ArrowUp"],
|
|
46
|
+
grid: ["ArrowUp", "ArrowLeft"]
|
|
47
|
+
};
|
|
48
|
+
var NEXT = {
|
|
49
|
+
vertical: ["ArrowDown"],
|
|
50
|
+
grid: ["ArrowDown", "ArrowRight"]
|
|
51
|
+
};
|
|
52
|
+
function useReorderLists({
|
|
53
|
+
lists,
|
|
54
|
+
onReorder,
|
|
55
|
+
nameOf,
|
|
56
|
+
accepts,
|
|
57
|
+
axis = "vertical",
|
|
58
|
+
labels: labelOverrides
|
|
59
|
+
}) {
|
|
60
|
+
const labels = { ...DEFAULT_REORDER_LABELS, ...labelOverrides };
|
|
61
|
+
const hintId = `${useId()}-reorder-hint`;
|
|
62
|
+
const [dragging, setDragging] = useState(null);
|
|
63
|
+
const [preview, setPreview] = useState(null);
|
|
64
|
+
const [target, setTarget] = useState(
|
|
65
|
+
null
|
|
66
|
+
);
|
|
67
|
+
const shown = preview ?? lists;
|
|
68
|
+
const nodes = useRef(/* @__PURE__ */ new Map());
|
|
69
|
+
const before = useRef(/* @__PURE__ */ new Map());
|
|
70
|
+
const measure = useCallback(() => {
|
|
71
|
+
before.current = /* @__PURE__ */ new Map();
|
|
72
|
+
for (const [key, node] of nodes.current) {
|
|
73
|
+
for (const a of node.getAnimations?.() ?? []) a.finish();
|
|
74
|
+
before.current.set(key, node.getBoundingClientRect());
|
|
75
|
+
}
|
|
76
|
+
}, []);
|
|
77
|
+
const shape = JSON.stringify(shown);
|
|
78
|
+
useLayoutEffect(() => {
|
|
79
|
+
const last = before.current;
|
|
80
|
+
before.current = /* @__PURE__ */ new Map();
|
|
81
|
+
if (last.size === 0) return;
|
|
82
|
+
if (typeof window === "undefined" || window.matchMedia?.("(prefers-reduced-motion: reduce)").matches) return;
|
|
83
|
+
for (const [key, node] of nodes.current) {
|
|
84
|
+
const was = last.get(key);
|
|
85
|
+
if (!was) continue;
|
|
86
|
+
const now2 = node.getBoundingClientRect();
|
|
87
|
+
const dx = was.left - now2.left;
|
|
88
|
+
const dy = was.top - now2.top;
|
|
89
|
+
if (dx === 0 && dy === 0) continue;
|
|
90
|
+
node.animate?.([{ transform: `translate(${dx}px, ${dy}px)` }, { transform: "translate(0, 0)" }], {
|
|
91
|
+
duration: 180,
|
|
92
|
+
easing: "cubic-bezier(0.2, 0, 0, 1)"
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
}, [shape]);
|
|
96
|
+
const said = useRef(labels.moved);
|
|
97
|
+
said.current = labels.moved;
|
|
98
|
+
const commit = useCallback(
|
|
99
|
+
(next, moved) => {
|
|
100
|
+
onReorder(next);
|
|
101
|
+
const list = listOf(next, moved);
|
|
102
|
+
const keys = list ? next[list] ?? [] : [];
|
|
103
|
+
announce(said.current(nameOf(moved), keys.indexOf(moved) + 1, keys.length));
|
|
104
|
+
},
|
|
105
|
+
[onReorder, nameOf]
|
|
106
|
+
);
|
|
107
|
+
const move = useCallback(
|
|
108
|
+
(key, by) => {
|
|
109
|
+
const list = listOf(lists, key);
|
|
110
|
+
if (list === null) return;
|
|
111
|
+
const keys = lists[list] ?? [];
|
|
112
|
+
const at = keys.indexOf(key);
|
|
113
|
+
const to = Math.max(0, Math.min(keys.length - 1, at + by));
|
|
114
|
+
if (to === at) return;
|
|
115
|
+
measure();
|
|
116
|
+
commit(place(lists, key, list, to), key);
|
|
117
|
+
},
|
|
118
|
+
[lists, measure, commit]
|
|
119
|
+
);
|
|
120
|
+
const moveTo = useCallback(
|
|
121
|
+
(key, list) => {
|
|
122
|
+
if (listOf(lists, key) === list) return;
|
|
123
|
+
if (accepts && !accepts(key, list)) return;
|
|
124
|
+
measure();
|
|
125
|
+
commit(place(lists, key, list, (lists[list] ?? []).length), key);
|
|
126
|
+
},
|
|
127
|
+
[lists, accepts, measure, commit]
|
|
128
|
+
);
|
|
129
|
+
const settled = useRef(0);
|
|
130
|
+
const insertionPoint = (list, moved, x, y) => {
|
|
131
|
+
let last;
|
|
132
|
+
for (const k of preview?.[list] ?? []) {
|
|
133
|
+
if (k === moved) continue;
|
|
134
|
+
const node = nodes.current.get(k);
|
|
135
|
+
if (!node) continue;
|
|
136
|
+
last = node;
|
|
137
|
+
const r = node.getBoundingClientRect();
|
|
138
|
+
if (y < r.top || y <= r.bottom && inEarlierHalf(node, axis, x, y)) {
|
|
139
|
+
return { list, before: k, line: lineOf(node, axis) };
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
return { list, before: null, line: last ? lineOf(last, axis) : "vertical" };
|
|
143
|
+
};
|
|
144
|
+
const aim = (list, moved, x, y) => {
|
|
145
|
+
const next = insertionPoint(list, moved, x, y);
|
|
146
|
+
if (target?.list !== next.list || target.before !== next.before || target.line !== next.line) setTarget(next);
|
|
147
|
+
};
|
|
148
|
+
const reset = () => {
|
|
149
|
+
setDragging(null);
|
|
150
|
+
setPreview(null);
|
|
151
|
+
setTarget(null);
|
|
152
|
+
settled.current = 0;
|
|
153
|
+
};
|
|
154
|
+
const drop = (event) => {
|
|
155
|
+
if (dragging === null || !preview) return;
|
|
156
|
+
event.preventDefault();
|
|
157
|
+
event.stopPropagation();
|
|
158
|
+
const moved = dragging;
|
|
159
|
+
let next = preview;
|
|
160
|
+
if (target) {
|
|
161
|
+
const keys = (preview[target.list] ?? []).filter((k) => k !== moved);
|
|
162
|
+
const at = target.before === null ? keys.length : keys.indexOf(target.before);
|
|
163
|
+
next = place(preview, moved, target.list, at < 0 ? keys.length : at);
|
|
164
|
+
}
|
|
165
|
+
reset();
|
|
166
|
+
if (!sameLists(next, lists)) {
|
|
167
|
+
measure();
|
|
168
|
+
commit(next, moved);
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
const handleProps = (key) => ({
|
|
172
|
+
draggable: true,
|
|
173
|
+
"aria-label": labels.handle(nameOf(key)),
|
|
174
|
+
"aria-describedby": hintId,
|
|
175
|
+
onDragStart: (event) => {
|
|
176
|
+
event.stopPropagation();
|
|
177
|
+
event.dataTransfer.effectAllowed = "move";
|
|
178
|
+
event.dataTransfer.setData("text/plain", nameOf(key));
|
|
179
|
+
const node = nodes.current.get(key);
|
|
180
|
+
if (node) event.dataTransfer.setDragImage(node, 24, 16);
|
|
181
|
+
setDragging(key);
|
|
182
|
+
setPreview(Object.fromEntries(Object.entries(lists).map(([id, keys]) => [id, [...keys]])));
|
|
183
|
+
},
|
|
184
|
+
// Whatever ended the drag, the preview goes: a drop has already committed.
|
|
185
|
+
onDragEnd: reset,
|
|
186
|
+
onKeyDown: (event) => {
|
|
187
|
+
if (event.altKey || event.ctrlKey || event.metaKey) return;
|
|
188
|
+
const by = PREVIOUS[axis].includes(event.key) ? -1 : NEXT[axis].includes(event.key) ? 1 : 0;
|
|
189
|
+
if (by === 0) return;
|
|
190
|
+
event.preventDefault();
|
|
191
|
+
event.stopPropagation();
|
|
192
|
+
move(key, by);
|
|
193
|
+
}
|
|
194
|
+
});
|
|
195
|
+
const markerOf = (key) => {
|
|
196
|
+
if (!target) return {};
|
|
197
|
+
const edge = target.before === key ? "before" : target.before === null && lastOf(preview?.[target.list], dragging) === key ? "after" : void 0;
|
|
198
|
+
return edge ? { "data-reorder-target": edge, "data-reorder-line": target.line } : {};
|
|
199
|
+
};
|
|
200
|
+
const itemProps = (key) => ({
|
|
201
|
+
ref: (node) => {
|
|
202
|
+
if (node) nodes.current.set(key, node);
|
|
203
|
+
else nodes.current.delete(key);
|
|
204
|
+
},
|
|
205
|
+
"data-reorder": dragging === key ? "dragging" : "idle",
|
|
206
|
+
...markerOf(key),
|
|
207
|
+
onDragOver: (event) => {
|
|
208
|
+
if (dragging === null || !preview) return;
|
|
209
|
+
const list = listOf(preview, key);
|
|
210
|
+
if (list === null) return;
|
|
211
|
+
if (accepts && !accepts(dragging, list)) return;
|
|
212
|
+
event.preventDefault();
|
|
213
|
+
event.stopPropagation();
|
|
214
|
+
event.dataTransfer.dropEffect = "move";
|
|
215
|
+
if (key === dragging) return;
|
|
216
|
+
if (listOf(preview, dragging) !== list) {
|
|
217
|
+
aim(list, dragging, event.clientX, event.clientY);
|
|
218
|
+
return;
|
|
219
|
+
}
|
|
220
|
+
if (target) setTarget(null);
|
|
221
|
+
if (now() < settled.current) return;
|
|
222
|
+
const keys = preview[list] ?? [];
|
|
223
|
+
const from = keys.indexOf(dragging);
|
|
224
|
+
const to = keys.indexOf(key);
|
|
225
|
+
if (from === to) return;
|
|
226
|
+
const early = inEarlierHalf(event.currentTarget, axis, event.clientX, event.clientY);
|
|
227
|
+
if (from < to && early) return;
|
|
228
|
+
if (from > to && !early) return;
|
|
229
|
+
measure();
|
|
230
|
+
setPreview(place(preview, dragging, list, to));
|
|
231
|
+
settled.current = now() + settleMs();
|
|
232
|
+
},
|
|
233
|
+
onDrop: drop
|
|
234
|
+
});
|
|
235
|
+
const listProps = (list) => ({
|
|
236
|
+
// Lit only when the item would move INTO this list: reordering within a
|
|
237
|
+
// list is already shown by the items moving.
|
|
238
|
+
"data-reorder-over": dragging !== null && target?.list === list ? "true" : void 0,
|
|
239
|
+
onDragOver: (event) => {
|
|
240
|
+
if (dragging === null || !preview) return;
|
|
241
|
+
if (accepts && !accepts(dragging, list)) return;
|
|
242
|
+
event.preventDefault();
|
|
243
|
+
event.stopPropagation();
|
|
244
|
+
if (listOf(preview, dragging) === list) {
|
|
245
|
+
if (target) setTarget(null);
|
|
246
|
+
return;
|
|
247
|
+
}
|
|
248
|
+
aim(list, dragging, event.clientX, event.clientY);
|
|
249
|
+
},
|
|
250
|
+
onDrop: drop
|
|
251
|
+
});
|
|
252
|
+
return { lists: shown, dragging, handleProps, itemProps, listProps, move, moveTo, hintId, hint: labels.hint };
|
|
253
|
+
}
|
|
254
|
+
var ONLY = "list";
|
|
255
|
+
function useReorder({
|
|
256
|
+
keys,
|
|
257
|
+
onReorder,
|
|
258
|
+
nameOf,
|
|
259
|
+
axis,
|
|
260
|
+
labels
|
|
261
|
+
}) {
|
|
262
|
+
const lists = useMemo(() => ({ [ONLY]: keys }), [keys]);
|
|
263
|
+
const report = useCallback((next) => onReorder(next[ONLY] ?? []), [onReorder]);
|
|
264
|
+
const r = useReorderLists({ lists, onReorder: report, nameOf, axis, labels });
|
|
265
|
+
return {
|
|
266
|
+
order: r.lists[ONLY] ?? [],
|
|
267
|
+
dragging: r.dragging,
|
|
268
|
+
handleProps: r.handleProps,
|
|
269
|
+
itemProps: r.itemProps,
|
|
270
|
+
containerProps: r.listProps(ONLY),
|
|
271
|
+
move: r.move,
|
|
272
|
+
hintId: r.hintId,
|
|
273
|
+
hint: r.hint
|
|
274
|
+
};
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
export { DEFAULT_REORDER_LABELS, moveKey, useReorder, useReorderLists };
|
|
@@ -11,16 +11,31 @@ var optionsFor = (disabled) => NODE_HUES.map((hue) => ({
|
|
|
11
11
|
}));
|
|
12
12
|
var ENABLED = optionsFor(false);
|
|
13
13
|
var DISABLED = optionsFor(true);
|
|
14
|
-
function HuePicker(
|
|
14
|
+
function HuePicker(props) {
|
|
15
|
+
const { label, size, disabled = false, className } = props;
|
|
16
|
+
const hues = disabled ? DISABLED : ENABLED;
|
|
17
|
+
const options = props.none === void 0 ? hues : [
|
|
18
|
+
{
|
|
19
|
+
value: "none",
|
|
20
|
+
label: props.none,
|
|
21
|
+
icon: /* @__PURE__ */ jsx("span", { className: "crewlet-hue-picker__swatch crewlet-hue-picker__swatch--none" }),
|
|
22
|
+
disabled
|
|
23
|
+
},
|
|
24
|
+
...hues
|
|
25
|
+
];
|
|
15
26
|
return /* @__PURE__ */ jsx(
|
|
16
27
|
SegmentedControl,
|
|
17
28
|
{
|
|
18
29
|
semantics: "radio",
|
|
19
30
|
layout: "chips",
|
|
20
31
|
label,
|
|
21
|
-
options
|
|
22
|
-
value,
|
|
23
|
-
onValueChange
|
|
32
|
+
options,
|
|
33
|
+
value: props.value,
|
|
34
|
+
onValueChange: (next) => {
|
|
35
|
+
if (props.none === void 0) {
|
|
36
|
+
if (next !== "none") props.onValueChange(next);
|
|
37
|
+
} else props.onValueChange(next);
|
|
38
|
+
},
|
|
24
39
|
size,
|
|
25
40
|
className: cx("crewlet-hue-picker", className)
|
|
26
41
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Kbd } from './chunk-SMBKXWML.js';
|
|
2
|
-
import { FormField, Textarea, Input } from './chunk-
|
|
2
|
+
import { FormField, Textarea, Input } from './chunk-Q55TXPA3.js';
|
|
3
|
+
import { isComposing } from './chunk-R25RGPUB.js';
|
|
3
4
|
import { announce } from './chunk-RSAQOKH3.js';
|
|
4
5
|
import { IconButton } from './chunk-4FQT6ZAY.js';
|
|
5
|
-
import { isComposing } from './chunk-R25RGPUB.js';
|
|
6
6
|
import './ListInput-O7LJKOIG.css';
|
|
7
7
|
import { useState, useRef, useLayoutEffect } from 'react';
|
|
8
8
|
import { ArrowUpGlyph, ArrowDownGlyph, XGlyph, PlusGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -101,7 +101,7 @@ var CardRoot = ({
|
|
|
101
101
|
},
|
|
102
102
|
flush
|
|
103
103
|
);
|
|
104
|
-
const content = flush ? withBodies(slots.nodes, contentPadding) :
|
|
104
|
+
const content = flush ? withBodies(slots.nodes, contentPadding) : inner;
|
|
105
105
|
const [chromeNode, setChromeNode] = useState(null);
|
|
106
106
|
const chromeHolder = useRef(null);
|
|
107
107
|
const hostChrome = useCallback((node) => setChromeNode(node), []);
|
|
@@ -3,6 +3,10 @@ export * from '../Accordion/index.js';
|
|
|
3
3
|
export * from '../AddPill/index.js';
|
|
4
4
|
export * from '../Announcer/index.js';
|
|
5
5
|
export * from '../AppShell/index.js';
|
|
6
|
+
export * from '../ArrangeBoard/index.js';
|
|
7
|
+
export * from '../ArrangeFrame/index.js';
|
|
8
|
+
export * from '../ArrangeGroup/index.js';
|
|
9
|
+
export * from '../ArrangeList/index.js';
|
|
6
10
|
export * from '../ArtifactCard/index.js';
|
|
7
11
|
export * from '../AuthLayout/index.js';
|
|
8
12
|
export * from '../Avatar/index.js';
|
|
@@ -35,6 +39,7 @@ export * from '../DateTimePicker/index.js';
|
|
|
35
39
|
export * from '../DescriptionList/index.js';
|
|
36
40
|
export * from '../DiffList/index.js';
|
|
37
41
|
export * from '../Disclosure/index.js';
|
|
42
|
+
export * from '../Divider/index.js';
|
|
38
43
|
export * from '../Document/index.js';
|
|
39
44
|
export * from '../DownloadButton/index.js';
|
|
40
45
|
export * from '../EmptyState/index.js';
|
|
@@ -50,6 +55,7 @@ export * from '../Fullscreen/index.js';
|
|
|
50
55
|
export * from '../Highlight/index.js';
|
|
51
56
|
export * from '../HuePicker/index.js';
|
|
52
57
|
export * from '../IconButton/index.js';
|
|
58
|
+
export * from '../IconTile/index.js';
|
|
53
59
|
export * from '../ImageUpload/index.js';
|
|
54
60
|
export * from '../InboxList/index.js';
|
|
55
61
|
export * from '../InlineCode/index.js';
|
|
@@ -69,12 +75,14 @@ export * from '../Menu/index.js';
|
|
|
69
75
|
export * from '../Meter/index.js';
|
|
70
76
|
export * from '../Modal/index.js';
|
|
71
77
|
export * from '../NewItemsNotice/index.js';
|
|
78
|
+
export * from '../Note/index.js';
|
|
72
79
|
export * from '../ObjectHeader/index.js';
|
|
73
80
|
export * from '../OrgLabel/index.js';
|
|
74
81
|
export * from '../OrgNode/index.js';
|
|
75
82
|
export * from '../OrgTable/index.js';
|
|
76
83
|
export * from '../Outline/index.js';
|
|
77
84
|
export * from '../PageHeader/index.js';
|
|
85
|
+
export * from '../PinTile/index.js';
|
|
78
86
|
export * from '../Popover/index.js';
|
|
79
87
|
export * from '../PresenceModel/index.js';
|
|
80
88
|
export * from '../PresenceRing/index.js';
|
|
@@ -86,6 +94,7 @@ export * from '../Prose/index.js';
|
|
|
86
94
|
export * from '../QrCode/index.js';
|
|
87
95
|
export * from '../ReadingPane/index.js';
|
|
88
96
|
export * from '../RelativeTime/index.js';
|
|
97
|
+
export * from '../Reorder/index.js';
|
|
89
98
|
export * from '../SandboxedFrame/index.js';
|
|
90
99
|
export * from '../SearchTrigger/index.js';
|
|
91
100
|
export * from '../Section/index.js';
|
package/dist/generated/index.js
CHANGED
|
@@ -1,147 +1,156 @@
|
|
|
1
|
-
import '../chunk-
|
|
1
|
+
import '../chunk-4Z7PW3L6.js';
|
|
2
2
|
import '../chunk-U5LQ2AS5.js';
|
|
3
|
-
export { TreeCanvas } from '../chunk-
|
|
3
|
+
export { TreeCanvas } from '../chunk-TBIZSQHB.js';
|
|
4
4
|
export { VersionTimeline } from '../chunk-WXAULPBH.js';
|
|
5
|
+
export { Timeline, TimelineItem } from '../chunk-AUQPBL4O.js';
|
|
6
|
+
export { TagsInput } from '../chunk-7ZNKEPLN.js';
|
|
5
7
|
export { Text } from '../chunk-IKBK4A5O.js';
|
|
6
8
|
export { ThemeGallery } from '../chunk-KLIEPFEZ.js';
|
|
7
9
|
export { ThemeSwatch } from '../chunk-MNFU2RNT.js';
|
|
8
10
|
export { DensitySwitcher, ThemeSwitcher } from '../chunk-2ONWEDQT.js';
|
|
9
11
|
export { ThemeToggle } from '../chunk-NP2C4Y4E.js';
|
|
10
12
|
export { applyStoredPreferences, resolveTheme, useDensityPreference, useSystemTheme, useThemePreference } from '../chunk-Z24ZUSTX.js';
|
|
11
|
-
export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from '../chunk-
|
|
12
|
-
export { Timeline, TimelineItem } from '../chunk-AUQPBL4O.js';
|
|
13
|
+
export { DEFAULT_TIME_WINDOW_LABELS, TIME_WINDOW_SPANS, TimeWindowPicker, describeTimeWindow, isTimeWindowSet, parseTimeWindowDuration, resolveTimeWindow, timeWindowMatchesPreset } from '../chunk-EIGEIT4O.js';
|
|
13
14
|
export { ToastProvider, Toaster, useToast } from '../chunk-QH3AKP2N.js';
|
|
14
15
|
export { Stepper } from '../chunk-5QWIJSQM.js';
|
|
15
|
-
export {
|
|
16
|
-
export { Switcher } from '../chunk-NZY77ZDU.js';
|
|
16
|
+
export { Switcher } from '../chunk-7FQEUNHX.js';
|
|
17
17
|
export { Table } from '../chunk-V2N3BMOT.js';
|
|
18
18
|
export { TagGroup } from '../chunk-E6UWRXNM.js';
|
|
19
|
-
export {
|
|
20
|
-
export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from '../chunk-
|
|
19
|
+
export { SegmentedMeter, segmentedMeterLabel } from '../chunk-4AK52VHB.js';
|
|
20
|
+
export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from '../chunk-PUQY4WXR.js';
|
|
21
21
|
export { matchesShortcut, useShortcut } from '../chunk-2FPENTCF.js';
|
|
22
22
|
export { NavGroup, NavItem, SidebarNav } from '../chunk-UCCC7YVZ.js';
|
|
23
23
|
export { StatCard } from '../chunk-IKB6HFGK.js';
|
|
24
|
-
export { StatGroup } from '../chunk-
|
|
24
|
+
export { StatGroup } from '../chunk-JXRI5YD2.js';
|
|
25
25
|
export { FRAME_HELLO_TIMEOUT_MS, SandboxedFrame } from '../chunk-VYDFB6PJ.js';
|
|
26
26
|
export { Skeleton } from '../chunk-W5J7R5EB.js';
|
|
27
27
|
export { SearchTrigger } from '../chunk-6DRDCT22.js';
|
|
28
28
|
export { Section } from '../chunk-A2UXBCLO.js';
|
|
29
|
-
export {
|
|
30
|
-
export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from '../chunk-2YR5ZPQ3.js';
|
|
29
|
+
export { ARTIFACT_ROLES, SHAREABLE_ROLES, ShareDialog, roleAtLeast } from '../chunk-HTCJSUIZ.js';
|
|
31
30
|
export { Select } from '../chunk-FC4YTTFJ.js';
|
|
32
31
|
export { PresenceStack } from '../chunk-YM3GJHGW.js';
|
|
33
32
|
export { PricingCard } from '../chunk-DQSXWQMJ.js';
|
|
34
33
|
export { Tag } from '../chunk-GFV4LJHH.js';
|
|
35
34
|
export { StatusDot } from '../chunk-WIATRXEJ.js';
|
|
36
|
-
export { PrincipalPicker } from '../chunk-
|
|
35
|
+
export { PrincipalPicker } from '../chunk-JEDWC3GI.js';
|
|
37
36
|
export { Prose } from '../chunk-JCSA3XVH.js';
|
|
38
37
|
export { QR_DARK, QR_LIGHT, QR_QUIET_ZONE, QrCode, qrModulePath, qrModules } from '../chunk-Y56FM3K4.js';
|
|
39
38
|
export { ReadingPane, ReadingPaneByline, ReadingPaneLead, ReadingPaneOutcome, ReadingPaneQuote, ReadingPaneReasoning, ReadingPaneSection, ReadingPaneTitle } from '../chunk-ZAJHGDAW.js';
|
|
40
|
-
export { FactLine, ObjectHeader, SetByLine } from '../chunk-I7WXZOWA.js';
|
|
41
39
|
export { OrgNodeDisclosure, OrgNodeLabel, OrgNodeLead } from '../chunk-TBMDMXEX.js';
|
|
42
|
-
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-
|
|
43
|
-
export { TreeGrid } from '../chunk-
|
|
40
|
+
export { OrgTable, OrgTableActions, OrgTableAdd, OrgTableName } from '../chunk-6A7P6II6.js';
|
|
41
|
+
export { TreeGrid } from '../chunk-T5TFZ2JB.js';
|
|
44
42
|
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';
|
|
45
43
|
export { OrgLabel } from '../chunk-AKEZ3G5V.js';
|
|
46
44
|
export { Outline, scrollToHeading, useActiveHeading } from '../chunk-A5YKNRG6.js';
|
|
45
|
+
export { PinTile } from '../chunk-6MIXD6IW.js';
|
|
47
46
|
import '../chunk-CENOOTAV.js';
|
|
48
|
-
export { ListInput } from '../chunk-T3ZWBZ65.js';
|
|
49
47
|
export { LIVE_CURSOR_HIDE_MS, LIVE_CURSOR_REST_MS, LiveCursor } from '../chunk-5XACKNYR.js';
|
|
50
48
|
export { MARKDOWN_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from '../chunk-QQGWES46.js';
|
|
51
49
|
import '../chunk-VYY56AMX.js';
|
|
52
50
|
export { DEFAULT_METER_THRESHOLDS, METER_STATES, Meter, meterState, meterStateTone, meterTone, progressTone } from '../chunk-4PZ6FJKW.js';
|
|
53
51
|
export { NewItemsNotice } from '../chunk-PXU6HOZB.js';
|
|
52
|
+
export { Note } from '../chunk-63WJLRB2.js';
|
|
53
|
+
export { FactLine, ObjectHeader, SetByLine } from '../chunk-I7WXZOWA.js';
|
|
54
54
|
export { AutoGrid, Inline, Spacer, Stack } from '../chunk-ZAC7SKUN.js';
|
|
55
|
-
export { LinkInterstitial, openExternal } from '../chunk-A7EBCHEG.js';
|
|
56
55
|
export { Link } from '../chunk-FBSEJO2C.js';
|
|
56
|
+
export { LinkInterstitial, openExternal } from '../chunk-RT323I4I.js';
|
|
57
57
|
export { List, ListItem } from '../chunk-DS2C73RJ.js';
|
|
58
|
-
export {
|
|
59
|
-
|
|
60
|
-
export {
|
|
61
|
-
export { Highlight, highlightRanges, highlightTerms } from '../chunk-H6VKCIWV.js';
|
|
62
|
-
import '../chunk-EXHQ2QVW.js';
|
|
58
|
+
export { ListInput } from '../chunk-YSJYWQSP.js';
|
|
59
|
+
import '../chunk-FFMCMSJB.js';
|
|
60
|
+
export { IconTile } from '../chunk-IXJHTFXG.js';
|
|
63
61
|
export { ImageUpload } from '../chunk-YDBC4DNW.js';
|
|
64
62
|
export { InboxGroup, InboxList, InboxMore, InboxRow, InboxToggle } from '../chunk-XYCADWZN.js';
|
|
65
|
-
export { EntityChip } from '../chunk-4KWOKX2B.js';
|
|
66
63
|
export { ErrorBoundary } from '../chunk-XX2VQE55.js';
|
|
67
64
|
export { Eyebrow } from '../chunk-RK4XPHVG.js';
|
|
68
65
|
export { FactList } from '../chunk-JI5AVQLA.js';
|
|
69
66
|
export { FILTER_CHIP_ATTRIBUTE, FilterChip, FilterChipGroup } from '../chunk-5YLON2PW.js';
|
|
70
67
|
export { FollowBanner } from '../chunk-FW7HN6AP.js';
|
|
71
|
-
export {
|
|
72
|
-
export {
|
|
73
|
-
export {
|
|
74
|
-
export {
|
|
75
|
-
export { Menu } from '../chunk-NS7BVLL3.js';
|
|
76
|
-
export { DEFAULT_DATE_TIME_PICKER_LABELS, DateTimePicker } from '../chunk-5NVKTB6E.js';
|
|
77
|
-
export { DescriptionList, DescriptionListItem } from '../chunk-F2XSYBKH.js';
|
|
68
|
+
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';
|
|
69
|
+
export { DENSITY_PREFERENCES, PALETTE_ID, THEME_PREFERENCES, applyDensity, applyPalette, applyTheme, isDensityPreference, isPaletteId, isThemePreference } from '../chunk-ZXXDZJQN.js';
|
|
70
|
+
export { useFullscreen } from '../chunk-XDTYBF2F.js';
|
|
71
|
+
export { Highlight, highlightRanges, highlightTerms } from '../chunk-H6VKCIWV.js';
|
|
78
72
|
export { DIFF_LIST_LABELS, DiffList } from '../chunk-LFHCXZO5.js';
|
|
79
73
|
export { Disclosure } from '../chunk-S4RCG44T.js';
|
|
74
|
+
export { Divider } from '../chunk-6KWNXIDE.js';
|
|
80
75
|
export { Document, DocumentTitle } from '../chunk-WI6K5M5X.js';
|
|
81
76
|
export { DownloadButton } from '../chunk-BJCFNRGH.js';
|
|
82
77
|
export { downloadText, safeFilename, useDownload } from '../chunk-F6NZOVWL.js';
|
|
83
|
-
export {
|
|
84
|
-
export { CommandPalette } from '../chunk-IFKBDRNJ.js';
|
|
85
|
-
export { ConfirmModal, Modal } from '../chunk-2TZATTIU.js';
|
|
86
|
-
export { HIGHLIGHT_REST_MS, TYPE_AHEAD_WINDOW, useHighlightRest, useListbox, useOptionKeys } from '../chunk-F73MC7EZ.js';
|
|
87
|
-
export { COMPOSER_COUNTER_AT, Composer } from '../chunk-6NIMZ5XC.js';
|
|
88
|
-
export { Kbd, isApplePlatform, keyGlyph } from '../chunk-SMBKXWML.js';
|
|
89
|
-
export { ConfirmField, confirmMatches } from '../chunk-CXBAIVYZ.js';
|
|
90
|
-
export { InlineCode } from '../chunk-5CLW2CXT.js';
|
|
78
|
+
export { EntityChip } from '../chunk-4KWOKX2B.js';
|
|
91
79
|
export { Container } from '../chunk-QVE4GJAT.js';
|
|
92
80
|
export { CursorFlag } from '../chunk-3BYIWOTV.js';
|
|
93
81
|
export { PresenceRing, presenceHueClass } from '../chunk-I6POAB4V.js';
|
|
94
|
-
export {
|
|
95
|
-
export {
|
|
96
|
-
export {
|
|
97
|
-
export {
|
|
98
|
-
export {
|
|
99
|
-
export {
|
|
100
|
-
export {
|
|
101
|
-
import '../chunk-3L5NHASN.js';
|
|
82
|
+
export { DATA_VIEW_TOOLBAR_LABELS, DataView, DataViewToolbar, FILTER_AXIS_LABELS, FilterAxisBar, FilterAxisChip, applyColumnFilters, applyFilters, blankFilterValue, defaultOperator, filterDefsFromColumns, filterHasValue, filterPredicate, formatFilterValue, operatorOf, tableColumns } from '../chunk-OIMAK5AE.js';
|
|
83
|
+
export { PageHeader } from '../chunk-HOXGBLEY.js';
|
|
84
|
+
export { Toolbar, ToolbarOverflow, ToolbarWide } from '../chunk-PGRPNDWM.js';
|
|
85
|
+
export { ALL_ITEMS, CopyableCell, DATA_TABLE_LABELS, DataTable, RowActionsMenu } from '../chunk-AJESMWJS.js';
|
|
86
|
+
export { Menu } from '../chunk-JULMZNGT.js';
|
|
87
|
+
export { DEFAULT_DATE_TIME_PICKER_LABELS, DateTimePicker } from '../chunk-L4H7SSWF.js';
|
|
88
|
+
export { DescriptionList, DescriptionListItem } from '../chunk-F2XSYBKH.js';
|
|
102
89
|
export { ChoiceButtons } from '../chunk-YSJC7AZC.js';
|
|
103
90
|
export { ChoiceList } from '../chunk-QBXZLGK2.js';
|
|
104
|
-
export { Checkbox, CheckboxGroup } from '../chunk-75CLJNDQ.js';
|
|
105
|
-
export { FormField, FormRow, FormSection, Input, InputAffix, Label, ReadOnlyField, Textarea } from '../chunk-4GB57WIT.js';
|
|
106
91
|
export { CodeBlock } from '../chunk-GDDE4UM7.js';
|
|
107
92
|
export { CopyButton, Copyable } from '../chunk-W46LPU4R.js';
|
|
108
93
|
export { useClipboard, writeClipboard } from '../chunk-STJ7QBC3.js';
|
|
109
94
|
export { useOutcome } from '../chunk-DTIW4CHZ.js';
|
|
110
|
-
export {
|
|
111
|
-
export {
|
|
112
|
-
export {
|
|
113
|
-
export {
|
|
114
|
-
export {
|
|
115
|
-
export {
|
|
116
|
-
export {
|
|
117
|
-
|
|
95
|
+
export { Combobox } from '../chunk-LOLELDBW.js';
|
|
96
|
+
export { CommandPalette } from '../chunk-UXELEORU.js';
|
|
97
|
+
export { ConfirmModal, Modal } from '../chunk-7IJARUIF.js';
|
|
98
|
+
export { HIGHLIGHT_REST_MS, TYPE_AHEAD_WINDOW, useHighlightRest, useListbox, useOptionKeys } from '../chunk-F73MC7EZ.js';
|
|
99
|
+
export { COMPOSER_COUNTER_AT, Composer } from '../chunk-VJLYGPPE.js';
|
|
100
|
+
export { Kbd, isApplePlatform, keyGlyph } from '../chunk-SMBKXWML.js';
|
|
101
|
+
export { ConfirmField, confirmMatches } from '../chunk-YSY6UJ4F.js';
|
|
102
|
+
export { InlineCode } from '../chunk-5CLW2CXT.js';
|
|
118
103
|
export { CalendarGrid, compareDays, daysInMonth, sameDay, shiftDay, shiftMonth, today } from '../chunk-GXQ3B46I.js';
|
|
119
104
|
export { Callout } from '../chunk-SVSCLHHI.js';
|
|
120
|
-
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, anchorView, beyondSlop, clampPan, clampZoom, fitView, panBy, pinchView, regionView, revealView, screenRect, toScreen, toWorld, wheelPixels, wheelZoomFactor, zoomAt, zoomLimits } from '../chunk-
|
|
105
|
+
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, anchorView, beyondSlop, clampPan, clampZoom, fitView, panBy, pinchView, regionView, revealView, screenRect, toScreen, toWorld, wheelPixels, wheelZoomFactor, zoomAt, zoomLimits } from '../chunk-TXAFKH2A.js';
|
|
121
106
|
import '../chunk-VYOKRN2I.js';
|
|
122
107
|
export { Button, ButtonLink } from '../chunk-OG6CL3EB.js';
|
|
123
|
-
export {
|
|
124
|
-
export {
|
|
125
|
-
export {
|
|
126
|
-
export {
|
|
127
|
-
|
|
128
|
-
export {
|
|
129
|
-
export {
|
|
130
|
-
|
|
131
|
-
export {
|
|
132
|
-
export {
|
|
133
|
-
export {
|
|
134
|
-
export {
|
|
108
|
+
export { ChangeMark } from '../chunk-PPAQFGS2.js';
|
|
109
|
+
export { LONGTEXT_MAX_DEFAULT, RATING_MAX_CEILING, RATING_MAX_DEFAULT, SHEET_COLUMN_TYPES, SHEET_COLUMN_WIDTHS, 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, flagText, hasPrevious, inRange, isEmptyValue, isMod, isMultiCell, isSheetColumnType, isTypingKey, liveOptions, moveFrom, nextSort, normalizeValue, optionHue, parseOptionList, parseTSV, parseText, planClear, planPaste, presenceByCell, presenceByColumn, presenceByRow, rangeOf, ratingMax, refusalText, rowName, sameValue, scrollToRow, sheetLabels, sortRows, spokenText, statusTone, textMax, toTSV, visibleRows } from '../chunk-YYZRLLLY.js';
|
|
110
|
+
export { PRESENCE_ACTIVITIES, PRESENCE_LABELS, assignPresenceHues, collapseSessions, joinNames, presenceLabels, presenceOrder } from '../chunk-S35G6PNC.js';
|
|
111
|
+
export { Tooltip } from '../chunk-QWOPX2MN.js';
|
|
112
|
+
import '../chunk-3L5NHASN.js';
|
|
113
|
+
export { ActivityStrip, BarList, ChartTooltip, DATA_COLORS, DATA_COLOR_OTHER, Legend, Sparkline, StackedBar, StackedColumns, TimeSeries, dataColor, niceScale, useChartHover } from '../chunk-MLT2HBPN.js';
|
|
114
|
+
export { ArrangeGroup } from '../chunk-35XVR5JQ.js';
|
|
115
|
+
export { ArrangeList, DEFAULT_ARRANGE_LABELS } from '../chunk-AIVZVKYZ.js';
|
|
116
|
+
export { Switch } from '../chunk-A722MUNR.js';
|
|
117
|
+
export { DEFAULT_REORDER_LABELS, moveKey, useReorder, useReorderLists } from '../chunk-XJ2QEBMM.js';
|
|
118
|
+
export { Checkbox, CheckboxGroup } from '../chunk-I6NZKJGK.js';
|
|
119
|
+
export { FormField, FormRow, FormSection, Input, InputAffix, Label, ReadOnlyField, Textarea } from '../chunk-Q55TXPA3.js';
|
|
120
|
+
export { ARTIFACT_KINDS, ArtifactCard, ArtifactKindGlyph } from '../chunk-TODND5AD.js';
|
|
135
121
|
export { PRINCIPAL_KINDS, PrincipalAvatar } from '../chunk-4KP4RC3O.js';
|
|
136
122
|
export { RelativeTime, currentNow, formatElapsed, formatExact, formatRelative, formatUntil, toISO, toInstant, useNow } from '../chunk-3CZ7XAVY.js';
|
|
137
123
|
export { EMPTY_VALUE, EmptyValue } from '../chunk-EUCC37WY.js';
|
|
124
|
+
export { AuthLayout } from '../chunk-WHZFDS62.js';
|
|
138
125
|
export { AvatarStack, avatarStackLabel } from '../chunk-UAN5NE7M.js';
|
|
126
|
+
export { AvatarPicker } from '../chunk-T7ICFXEC.js';
|
|
127
|
+
export { HuePicker } from '../chunk-XU4ZUGLE.js';
|
|
128
|
+
export { SegmentedControl } from '../chunk-26PEPONN.js';
|
|
129
|
+
export { TabPanel, Tabs, tabId } from '../chunk-4LDTQWS7.js';
|
|
130
|
+
export { Popover } from '../chunk-BWRGFKJP.js';
|
|
131
|
+
export { NODE_HUES, NODE_HUE_NAMES, isNodeHue } from '../chunk-AYKXMIOR.js';
|
|
132
|
+
export { CHARACTER_PICKER_COLUMNS, CharacterPicker } from '../chunk-5PSXBL73.js';
|
|
133
|
+
import '../chunk-CBOICT64.js';
|
|
139
134
|
export { AVATAR_CHARACTER_FULL_DETAIL, AVATAR_CORNER_RATIO, AVATAR_SIZES, AVATAR_STATUSES, AVATAR_STATUS_LABELS, Avatar, avatarCorner, avatarInitialsName, avatarPixels, avatarTint, getInitials } from '../chunk-5OM447RW.js';
|
|
140
|
-
export { AuthLayout } from '../chunk-7QFAORCY.js';
|
|
141
135
|
export { BrandLockup } from '../chunk-7KBNFFM3.js';
|
|
142
|
-
export {
|
|
136
|
+
export { Breadcrumb } from '../chunk-VWNC2L6W.js';
|
|
137
|
+
export { KeyChip } from '../chunk-FYTIJM2T.js';
|
|
138
|
+
export { ACCESS_DENIED_REASONS, AccessDeniedCard } from '../chunk-G3EEUNZQ.js';
|
|
139
|
+
export { EmptyState } from '../chunk-RA2ULG6H.js';
|
|
140
|
+
export { Card } from '../chunk-YZCJ63JF.js';
|
|
143
141
|
export { useCardHeaderSlot } from '../chunk-AV2DXAEL.js';
|
|
142
|
+
export { Accordion, AccordionItem } from '../chunk-G2AVKPSL.js';
|
|
143
|
+
export { DisclosureAnatomy } from '../chunk-ENJUPIND.js';
|
|
144
144
|
export { HeadingLevelProvider, headingTag, nextHeadingLevel, useHeadingLevel } from '../chunk-PQADV6P6.js';
|
|
145
145
|
export { Count } from '../chunk-BHHIIK3M.js';
|
|
146
|
+
export { ADD_PILL_MS, AddPill } from '../chunk-TROLVEZY.js';
|
|
147
|
+
export { AccountRow, AppShell, AppShellRail, AppShellRailRow, AppShellToggle, AppShellTopbar, useAppShell } from '../chunk-EDGCPVVD.js';
|
|
148
|
+
import '../chunk-IG75YMUN.js';
|
|
149
|
+
export { LAYER_GAP, LAYER_REPOSITION_EVENT, LayerHost, outsideBounds, placePopup, useLayerContainer, viewportBounds } from '../chunk-HMPFGIWM.js';
|
|
150
|
+
export { focusables, isComposing, isModalLayerOpen, layerCount, useBodyScrollLock, useModalLayer, usePopupLayer } from '../chunk-R25RGPUB.js';
|
|
151
|
+
export { ArrangeBoard } from '../chunk-QO7QEQKV.js';
|
|
152
|
+
export { ArrangeFrame, useGridResize } from '../chunk-DEJHAOC5.js';
|
|
153
|
+
export { Announcer, announce, useAnnouncer } from '../chunk-RSAQOKH3.js';
|
|
154
|
+
export { IconButton } from '../chunk-4FQT6ZAY.js';
|
|
146
155
|
export { VisuallyHidden } from '../chunk-BZFWDIV6.js';
|
|
147
156
|
export { cx } from '../chunk-ODEQTPFM.js';
|