@crewlethq/ui 0.108.1 → 0.109.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AgentHandoffPanel/index.js +6 -6
- package/dist/AppShell/index.js +4 -3
- package/dist/ArrangeList/index.js +4 -3
- package/dist/ArtifactBar/index.js +1 -1
- package/dist/AuthLayout/index.js +1 -1
- package/dist/AvatarPicker/index.js +3 -3
- package/dist/BriefCard/index.js +1 -1
- package/dist/CharacterPicker/index.js +2 -2
- package/dist/ChatThread/index.js +3 -2
- package/dist/Combobox/index.js +2 -2
- package/dist/CommandPalette/index.js +5 -5
- package/dist/CommentThread/index.js +6 -6
- package/dist/Composer/index.js +2 -2
- package/dist/{Composer-XVQFBCIB.css → Composer-UGPNQMYI.css} +39 -12
- package/dist/DataGrid/index.js +6 -5
- package/dist/DataTable/index.js +4 -4
- package/dist/DataView/index.js +8 -8
- package/dist/DatasetSource/index.js +1 -1
- package/dist/DeepWorkCard/index.js +1 -1
- package/dist/DocTabsEditor/index.js +6 -5
- package/dist/DockColumn/index.js +4 -3
- package/dist/EditingStatus/index.js +2 -2
- package/dist/EntityList/index.js +1 -1
- package/dist/InboxList/index.js +4 -3
- package/dist/InlineEditor/index.js +3 -3
- package/dist/KeyValueRows/index.js +3 -3
- package/dist/ListInput/index.js +7 -6
- package/dist/MediaMatch/index.js +2 -1
- package/dist/OpenInAppCard/index.js +1 -1
- package/dist/OrgTable/index.js +9 -8
- package/dist/Outline/index.js +3 -2
- package/dist/Presence/index.js +3 -2
- package/dist/PrincipalPicker/index.js +3 -3
- package/dist/ProposalCard/index.js +3 -3
- package/dist/RailList/index.js +12 -5
- package/dist/RefusalCard/index.js +1 -1
- package/dist/Reorder/index.js +3 -2
- package/dist/ResultTableCard/index.js +1 -1
- package/dist/RichEditor/index.js +1 -1
- package/dist/SectionFrame/index.js +12 -2
- package/dist/Select/index.js +2 -2
- package/dist/SetupWizard/index.js +3 -2
- package/dist/ShareDialog/index.js +6 -5
- package/dist/SheetColumnEditor/index.js +7 -7
- package/dist/SheetGrid/index.js +3 -3
- package/dist/SidebarNav/SidebarNav.d.ts +10 -1
- package/dist/SidebarNav/index.d.ts +1 -0
- package/dist/SidebarNav/index.js +11 -1
- package/dist/SidebarNav/unseen.d.ts +41 -0
- package/dist/{SidebarNav-VXDUW6W5.css → SidebarNav-3SU7UDXK.css} +41 -0
- package/dist/SlideFilmstrip/index.js +4 -3
- package/dist/StatusCard/index.js +1 -1
- package/dist/Switcher/index.js +5 -4
- package/dist/TableCells/index.js +1 -1
- package/dist/ThreadSummary/index.js +1 -1
- package/dist/TimeRangePicker/index.js +4 -4
- package/dist/TimeWindowPicker/index.js +5 -5
- package/dist/TreeCanvas/index.js +3 -2
- package/dist/TreeGrid/index.js +7 -6
- package/dist/ValueField/index.js +4 -4
- package/dist/{chunk-YHQBSKGZ.js → chunk-2BWMXDKL.js} +2 -2
- package/dist/{chunk-AFHDUM4V.js → chunk-3M55G3E5.js} +1 -1
- package/dist/{chunk-YBO5PGUG.js → chunk-5LBIIEHJ.js} +143 -7
- package/dist/{chunk-UYKWJNXO.js → chunk-C7JWDFF5.js} +3 -3
- package/dist/{chunk-BHF26PSV.js → chunk-DUMDPYEX.js} +2 -2
- package/dist/{chunk-ARGOJVRC.js → chunk-EGRLLTQA.js} +2 -2
- package/dist/{chunk-7DMD3U7S.js → chunk-EL7BRGRU.js} +2 -2
- package/dist/{chunk-WZDL6DIC.js → chunk-FNNDK4UU.js} +3 -3
- package/dist/{chunk-3J3WAQCN.js → chunk-GTU6NAWH.js} +2 -2
- package/dist/{chunk-S7WNMAH6.js → chunk-HVBXBJKM.js} +1 -1
- package/dist/{chunk-4S2AN5W4.js → chunk-JMBPMSNI.js} +1 -1
- package/dist/{chunk-TZ4ZXED7.js → chunk-KWJRCZZ6.js} +2 -2
- package/dist/{chunk-GNKTHRWP.js → chunk-L2PRFTV5.js} +1 -1
- package/dist/{chunk-IOLOWL33.js → chunk-M3ZH2P54.js} +1 -1
- package/dist/{chunk-2SWDUJCT.js → chunk-M6XA6VSQ.js} +1 -1
- package/dist/{chunk-7AKCC2QA.js → chunk-MQI6TVUV.js} +1 -1
- package/dist/{chunk-VWZECTOJ.js → chunk-NPMMCFKI.js} +1 -1
- package/dist/{chunk-OINMHTDX.js → chunk-NTKJCW2L.js} +1 -1
- package/dist/{chunk-IODIP2SA.js → chunk-O73RB4P7.js} +1 -1
- package/dist/{chunk-GCAQ2UTU.js → chunk-OHSJJOZZ.js} +1 -1
- package/dist/{chunk-3VT5QVQF.js → chunk-OLIUGAAI.js} +2 -2
- package/dist/chunk-SK4BIFTG.js +1 -0
- package/dist/{chunk-PCAT2EFB.js → chunk-SNKQNAJI.js} +1 -1
- package/dist/{chunk-J7XQSROY.js → chunk-TNRZXWME.js} +3 -3
- package/dist/{chunk-EKWLQFL2.js → chunk-UXTW4GOT.js} +1 -1
- package/dist/{chunk-DVZIMJND.js → chunk-V35GTX74.js} +1 -1
- package/dist/{chunk-Z6OI7FXJ.js → chunk-WOAAUFC2.js} +2 -2
- package/dist/{chunk-7QCSISHM.js → chunk-WYIPKGEO.js} +1 -1
- package/dist/{chunk-DR7TJL55.js → chunk-XSNZJH46.js} +2 -2
- package/dist/{chunk-PFNTWGQB.js → chunk-Y6OEA3WF.js} +2 -2
- package/dist/{chunk-QIWQFXKX.js → chunk-YXY6B5VB.js} +1 -1
- package/dist/{chunk-OSJD2WSV.js → chunk-Z5DQGDVZ.js} +1 -1
- package/dist/{chunk-CJXDCURD.js → chunk-ZUMKURRW.js} +1 -1
- package/dist/generated/index.js +98 -97
- package/dist/index.js +98 -97
- package/dist/styles.css +82 -14
- package/package.json +3 -3
- package/dist/{Editor-JRMMNTXI.js → Editor-225JKQBV.js} +3 -3
- package/dist/{chunk-KRF3GQ63.js → chunk-6N53ZWRM.js} +1 -1
- package/dist/{chunk-SY47JXUV.js → chunk-7U6BSW5N.js} +1 -1
- package/dist/{chunk-YNAFW4QI.js → chunk-BT2WTDKQ.js} +1 -1
- package/dist/{chunk-YJQXESOJ.js → chunk-COS6LJ4K.js} +0 -0
- package/dist/{chunk-AGP5U4VT.js → chunk-CQUCHIRB.js} +1 -1
- package/dist/{chunk-X5DOWML3.js → chunk-PR2AW3BK.js} +1 -1
- package/dist/{chunk-LNQSNXGJ.js → chunk-S4JRQJEP.js} +1 -1
- package/dist/{chunk-JUZOMYOZ.js → chunk-TJABWOQF.js} +1 -1
- package/dist/{chunk-OY33ZBWU.js → chunk-WIFN3EBL.js} +1 -1
- package/dist/{chunk-R23HSPSU.js → chunk-YUIEGEQL.js} +1 -1
|
@@ -1,14 +1,116 @@
|
|
|
1
1
|
import { LockedLabel } from './chunk-TODOBUXO.js';
|
|
2
2
|
import { KeyChip } from './chunk-HBDA76EZ.js';
|
|
3
|
+
import { prefersReducedMotion } from './chunk-COS6LJ4K.js';
|
|
4
|
+
import { Button } from './chunk-RTHWXAXT.js';
|
|
3
5
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
4
6
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
5
7
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
8
|
import './HitArea-QUOS6ZDJ.css';
|
|
7
|
-
import './SidebarNav-
|
|
8
|
-
import { createContext, useId, useState, useContext } from 'react';
|
|
9
|
-
import { ChevronDownGlyph } from '@crewlethq/icons/glyphs';
|
|
10
|
-
import {
|
|
9
|
+
import './SidebarNav-3SU7UDXK.css';
|
|
10
|
+
import { createContext, useRef, useId, useState, useContext, useLayoutEffect, useCallback } from 'react';
|
|
11
|
+
import { ChevronDownGlyph, ArrowUpGlyph, ArrowDownGlyph } from '@crewlethq/icons/glyphs';
|
|
12
|
+
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
11
13
|
|
|
14
|
+
var NONE = { above: 0, below: 0 };
|
|
15
|
+
var CALLING_ROWS = ".crewlet-nav-item--unread > .crewlet-nav-item__head > .crewlet-nav-item__row";
|
|
16
|
+
var PILL_CLEARANCE = 8;
|
|
17
|
+
var isAbove = (box, view) => box.bottom <= view.top + 1;
|
|
18
|
+
var isBelow = (box, view) => box.top >= view.bottom - 1;
|
|
19
|
+
function callingRows(root) {
|
|
20
|
+
return [...root.querySelectorAll(CALLING_ROWS)].filter((row) => row.getBoundingClientRect().height > 0);
|
|
21
|
+
}
|
|
22
|
+
function unseenIn(rows, view) {
|
|
23
|
+
let above = 0;
|
|
24
|
+
let below = 0;
|
|
25
|
+
for (const row of rows) {
|
|
26
|
+
const box = row.getBoundingClientRect();
|
|
27
|
+
if (isAbove(box, view)) above += 1;
|
|
28
|
+
else if (isBelow(box, view)) below += 1;
|
|
29
|
+
}
|
|
30
|
+
return above === 0 && below === 0 ? NONE : { above, below };
|
|
31
|
+
}
|
|
32
|
+
function nearestUnseen(rows, view, scrollTop, side, clear) {
|
|
33
|
+
let hidden;
|
|
34
|
+
if (side === "below") {
|
|
35
|
+
hidden = rows.find((row) => isBelow(row.getBoundingClientRect(), view));
|
|
36
|
+
} else {
|
|
37
|
+
for (const row of rows) if (isAbove(row.getBoundingClientRect(), view)) hidden = row;
|
|
38
|
+
}
|
|
39
|
+
if (!hidden) return null;
|
|
40
|
+
const box = hidden.getBoundingClientRect();
|
|
41
|
+
const top = side === "below" ? scrollTop + (box.bottom - view.bottom) + clear : scrollTop - (view.top - box.top) - clear;
|
|
42
|
+
return { row: hidden, top: Math.max(0, Math.round(top)) };
|
|
43
|
+
}
|
|
44
|
+
function scrollerOf(el) {
|
|
45
|
+
const view = el.ownerDocument.defaultView;
|
|
46
|
+
for (let at = el; at && at !== el.ownerDocument.body; at = at.parentElement) {
|
|
47
|
+
const overflow = view?.getComputedStyle(at).overflowY ?? "";
|
|
48
|
+
if (overflow === "auto" || overflow === "scroll" || overflow === "overlay") return at;
|
|
49
|
+
}
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
function spanOf(scroller, view) {
|
|
53
|
+
if (scroller === null) return { top: 0, bottom: view.innerHeight };
|
|
54
|
+
const box = scroller.getBoundingClientRect();
|
|
55
|
+
return { top: box.top, bottom: box.bottom };
|
|
56
|
+
}
|
|
57
|
+
function useUnseenRows(list, enabled) {
|
|
58
|
+
const [unseen, setUnseen] = useState(NONE);
|
|
59
|
+
useLayoutEffect(() => {
|
|
60
|
+
const el = list.current;
|
|
61
|
+
const view = el?.ownerDocument.defaultView;
|
|
62
|
+
if (!enabled || !el || !view) {
|
|
63
|
+
setUnseen(NONE);
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
const scroller = scrollerOf(el);
|
|
67
|
+
let frame = 0;
|
|
68
|
+
const measure = () => {
|
|
69
|
+
frame = 0;
|
|
70
|
+
const next = unseenIn(callingRows(el), spanOf(scroller, view));
|
|
71
|
+
setUnseen((was) => was.above === next.above && was.below === next.below ? was : next);
|
|
72
|
+
};
|
|
73
|
+
const schedule = () => {
|
|
74
|
+
if (frame === 0) frame = view.requestAnimationFrame(measure);
|
|
75
|
+
};
|
|
76
|
+
measure();
|
|
77
|
+
const scrolled = scroller ?? view;
|
|
78
|
+
scrolled.addEventListener("scroll", schedule, { passive: true });
|
|
79
|
+
view.addEventListener("resize", schedule);
|
|
80
|
+
const resized = typeof view.ResizeObserver === "function" ? new view.ResizeObserver(schedule) : null;
|
|
81
|
+
resized?.observe(el);
|
|
82
|
+
if (scroller) resized?.observe(scroller);
|
|
83
|
+
const changed = new view.MutationObserver(schedule);
|
|
84
|
+
changed.observe(el, { childList: true, subtree: true, attributes: true, attributeFilter: ["class", "hidden"] });
|
|
85
|
+
return () => {
|
|
86
|
+
scrolled.removeEventListener("scroll", schedule);
|
|
87
|
+
view.removeEventListener("resize", schedule);
|
|
88
|
+
resized?.disconnect();
|
|
89
|
+
changed.disconnect();
|
|
90
|
+
if (frame !== 0) view.cancelAnimationFrame(frame);
|
|
91
|
+
};
|
|
92
|
+
}, [list, enabled]);
|
|
93
|
+
const reveal = useCallback(
|
|
94
|
+
(side, pill) => {
|
|
95
|
+
const el = list.current;
|
|
96
|
+
const view = el?.ownerDocument.defaultView;
|
|
97
|
+
if (!el || !view) return;
|
|
98
|
+
const scroller = scrollerOf(el);
|
|
99
|
+
const span = spanOf(scroller, view);
|
|
100
|
+
const box = pill?.getBoundingClientRect();
|
|
101
|
+
const reach = box && box.height > 0 ? side === "below" ? span.bottom - box.top : box.bottom - span.top : 0;
|
|
102
|
+
const clear = Math.max(0, Math.ceil(reach)) + PILL_CLEARANCE;
|
|
103
|
+
const scrollTop = scroller ? scroller.scrollTop : view.scrollY;
|
|
104
|
+
const next = nearestUnseen(callingRows(el), span, scrollTop, side, clear);
|
|
105
|
+
if (!next) return;
|
|
106
|
+
(scroller ?? view).scrollTo({ top: next.top, behavior: prefersReducedMotion(view) ? "auto" : "smooth" });
|
|
107
|
+
next.row.focus({ preventScroll: true });
|
|
108
|
+
},
|
|
109
|
+
[list]
|
|
110
|
+
);
|
|
111
|
+
return { unseen, reveal };
|
|
112
|
+
}
|
|
113
|
+
var pillLabel = (count, side) => `${count} unread ${side}`;
|
|
12
114
|
var GroupLocked = createContext(false);
|
|
13
115
|
var GroupFolded = createContext(false);
|
|
14
116
|
var DENSE_STOPS = ".crewlet-nav-item__row, .crewlet-nav-group__toggle";
|
|
@@ -25,21 +127,55 @@ function moveInDense(event) {
|
|
|
25
127
|
event.preventDefault();
|
|
26
128
|
stops[next].focus();
|
|
27
129
|
}
|
|
28
|
-
function SidebarNav({
|
|
130
|
+
function SidebarNav({
|
|
131
|
+
label,
|
|
132
|
+
dense = false,
|
|
133
|
+
unreadPills = false,
|
|
134
|
+
unreadPillLabel = pillLabel,
|
|
135
|
+
className,
|
|
136
|
+
children
|
|
137
|
+
}) {
|
|
138
|
+
const nav = useRef(null);
|
|
139
|
+
const { unseen, reveal } = useUnseenRows(nav, unreadPills);
|
|
140
|
+
const pill = (side, count) => count > 0 ? /* @__PURE__ */ jsx(UnseenPill, { side, label: unreadPillLabel(count, side), onReveal: reveal }) : null;
|
|
29
141
|
return (
|
|
30
142
|
// The keys are its links' and buttons', handled where they bubble to.
|
|
31
143
|
// eslint-disable-next-line jsx-a11y/no-noninteractive-element-interactions
|
|
32
|
-
/* @__PURE__ */
|
|
144
|
+
/* @__PURE__ */ jsxs(
|
|
33
145
|
"nav",
|
|
34
146
|
{
|
|
147
|
+
ref: nav,
|
|
35
148
|
className: cx("crewlet-sidebar-nav", dense && "crewlet-sidebar-nav--dense", className),
|
|
36
149
|
"aria-label": label,
|
|
37
150
|
onKeyDown: dense ? moveInDense : void 0,
|
|
38
|
-
children
|
|
151
|
+
children: [
|
|
152
|
+
pill("above", unseen.above),
|
|
153
|
+
children,
|
|
154
|
+
pill("below", unseen.below)
|
|
155
|
+
]
|
|
39
156
|
}
|
|
40
157
|
)
|
|
41
158
|
);
|
|
42
159
|
}
|
|
160
|
+
function UnseenPill({
|
|
161
|
+
side,
|
|
162
|
+
label,
|
|
163
|
+
onReveal
|
|
164
|
+
}) {
|
|
165
|
+
const Arrow = side === "above" ? ArrowUpGlyph : ArrowDownGlyph;
|
|
166
|
+
return /* @__PURE__ */ jsx("div", { className: cx("crewlet-sidebar-nav__unseen", `crewlet-sidebar-nav__unseen--${side}`), children: /* @__PURE__ */ jsx(
|
|
167
|
+
Button,
|
|
168
|
+
{
|
|
169
|
+
className: "crewlet-sidebar-nav__unseen-pill",
|
|
170
|
+
variant: "secondary",
|
|
171
|
+
size: "small",
|
|
172
|
+
shape: "pill",
|
|
173
|
+
leadingIcon: /* @__PURE__ */ jsx(Arrow, { size: "sm" }),
|
|
174
|
+
onClick: (event) => onReveal(side, event.currentTarget),
|
|
175
|
+
children: label
|
|
176
|
+
}
|
|
177
|
+
) });
|
|
178
|
+
}
|
|
43
179
|
function NavGroup({
|
|
44
180
|
label,
|
|
45
181
|
icon,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { Select } from './chunk-
|
|
1
|
+
import { Select } from './chunk-TJABWOQF.js';
|
|
2
2
|
import { SHEET_LABELS, SHEET_COLUMN_TYPES, optionHue, retypeColumn } from './chunk-LFSIKGRQ.js';
|
|
3
3
|
import { HueSwatch } from './chunk-IQELH56T.js';
|
|
4
4
|
import { NODE_HUES, NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
|
|
5
|
-
import { Checkbox } from './chunk-NM3WGXPJ.js';
|
|
6
5
|
import { Menu } from './chunk-B7WZADFX.js';
|
|
7
|
-
import {
|
|
6
|
+
import { Checkbox } from './chunk-NM3WGXPJ.js';
|
|
8
7
|
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
9
8
|
import { Button } from './chunk-RTHWXAXT.js';
|
|
9
|
+
import { FormField, Input } from './chunk-22DNDOBR.js';
|
|
10
10
|
import { IconButton } from './chunk-PNYANWZ6.js';
|
|
11
11
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
12
12
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { TreeGrid } from './chunk-
|
|
1
|
+
import { TreeGrid } from './chunk-WOAAUFC2.js';
|
|
2
2
|
import { createTreeModel, treeParent } from './chunk-MY374UUD.js';
|
|
3
3
|
import { OrgLabel } from './chunk-DEVO45TG.js';
|
|
4
|
-
import { AddPill } from './chunk-5W3EYO5Q.js';
|
|
5
4
|
import { IconButton } from './chunk-PNYANWZ6.js';
|
|
5
|
+
import { AddPill } from './chunk-5W3EYO5Q.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './OrgTable-5NXRECVP.css';
|
|
8
8
|
import { useMemo, useRef, useImperativeHandle, useCallback } from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Select } from './chunk-
|
|
2
|
-
import { Combobox } from './chunk-
|
|
1
|
+
import { Select } from './chunk-TJABWOQF.js';
|
|
2
|
+
import { Combobox } from './chunk-BT2WTDKQ.js';
|
|
3
3
|
import { FormField, Textarea, InputAffix } from './chunk-22DNDOBR.js';
|
|
4
4
|
import './Input-YVCNNTYT.css';
|
|
5
5
|
import './VisuallyHidden-OUYVMKEH.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { SidebarNav, NavItem } from './chunk-5LBIIEHJ.js';
|
|
2
|
+
import { Select } from './chunk-TJABWOQF.js';
|
|
3
3
|
import { Card } from './chunk-3C3TSWRR.js';
|
|
4
4
|
import { Text } from './chunk-XLMURU75.js';
|
|
5
5
|
import './RailList-N2ZBPRM2.css';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useReorder } from './chunk-
|
|
2
|
-
import { FormField, Textarea } from './chunk-22DNDOBR.js';
|
|
3
|
-
import { characterCountState, CharacterCount, countCharacters } from './chunk-TEXK4RK6.js';
|
|
1
|
+
import { useReorder } from './chunk-JMBPMSNI.js';
|
|
4
2
|
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
5
3
|
import { Button } from './chunk-RTHWXAXT.js';
|
|
4
|
+
import { FormField, Textarea } from './chunk-22DNDOBR.js';
|
|
5
|
+
import { characterCountState, CharacterCount, countCharacters } from './chunk-TEXK4RK6.js';
|
|
6
6
|
import { IconButton } from './chunk-PNYANWZ6.js';
|
|
7
7
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
8
8
|
import { announce } from './chunk-WGMKERCR.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { Document } from './chunk-I4PBFJGX.js';
|
|
1
2
|
import { PrincipalAvatar } from './chunk-HF5L56YQ.js';
|
|
2
3
|
import { toInstant, RelativeTime, formatExact, toISO } from './chunk-GBKBME7Q.js';
|
|
3
|
-
import {
|
|
4
|
-
import { Composer } from './chunk-3VT5QVQF.js';
|
|
4
|
+
import { Composer } from './chunk-OLIUGAAI.js';
|
|
5
5
|
import { Button } from './chunk-RTHWXAXT.js';
|
|
6
6
|
import { IconButton } from './chunk-PNYANWZ6.js';
|
|
7
7
|
import { Count } from './chunk-Y5CMDLQM.js';
|
|
@@ -2,9 +2,9 @@ import { Modal } from './chunk-GELMY4I7.js';
|
|
|
2
2
|
import { useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
|
|
3
3
|
import { KeyChip, highlightMatch } from './chunk-HBDA76EZ.js';
|
|
4
4
|
import { Popover } from './chunk-VYUEAMA4.js';
|
|
5
|
+
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
5
6
|
import { Skeleton } from './chunk-DEIHV2H3.js';
|
|
6
7
|
import { Text } from './chunk-XLMURU75.js';
|
|
7
|
-
import { useMediaMatch } from './chunk-YJQXESOJ.js';
|
|
8
8
|
import { Input } from './chunk-22DNDOBR.js';
|
|
9
9
|
import { focusables, isComposing } from './chunk-EDPMHSLZ.js';
|
|
10
10
|
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { useReorder } from './chunk-JMBPMSNI.js';
|
|
2
|
+
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
1
3
|
import { Skeleton } from './chunk-DEIHV2H3.js';
|
|
2
4
|
import { titleWhenCut, titleIfCut } from './chunk-WSIJDWUG.js';
|
|
3
|
-
import { useReorder } from './chunk-4S2AN5W4.js';
|
|
4
5
|
import { Checkbox } from './chunk-NM3WGXPJ.js';
|
|
5
|
-
import { useMediaMatch } from './chunk-YJQXESOJ.js';
|
|
6
6
|
import { EmptyState } from './chunk-PPUR46MK.js';
|
|
7
7
|
import { Button } from './chunk-RTHWXAXT.js';
|
|
8
8
|
import { IconButton } from './chunk-PNYANWZ6.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Switch } from './chunk-6YYRFGXO.js';
|
|
2
|
-
import { useReorder } from './chunk-
|
|
2
|
+
import { useReorder } from './chunk-JMBPMSNI.js';
|
|
3
3
|
import { Checkbox } from './chunk-NM3WGXPJ.js';
|
|
4
4
|
import { IconButton } from './chunk-PNYANWZ6.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useTreeState, useMeasuredSizes, layoutForest, treeAncestors, useLayoutAnchor, treeExpandable, layoutConnectors, treeItemAction, treeStep, treePosInSet, treeSetSize, treeLevel, placeGroups } from './chunk-MY374UUD.js';
|
|
2
2
|
import { CANVAS_COMPOSE_CONTEXT, CANVAS_FIT_MAX_ZOOM, Canvas } from './chunk-KAHTBXQ7.js';
|
|
3
|
-
import { useMediaMatch, REDUCED_MOTION_QUERY } from './chunk-
|
|
3
|
+
import { useMediaMatch, REDUCED_MOTION_QUERY } from './chunk-COS6LJ4K.js';
|
|
4
4
|
import { focusables } from './chunk-EDPMHSLZ.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './TreeCanvas-X5RCUSTP.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SlideStage } from './chunk-7O53SWKI.js';
|
|
2
|
-
import { useReorder } from './chunk-
|
|
2
|
+
import { useReorder } from './chunk-JMBPMSNI.js';
|
|
3
3
|
import { Menu } from './chunk-B7WZADFX.js';
|
|
4
4
|
import { Kbd, isApplePlatform } from './chunk-VBBLHS2Y.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CHAT_MESSAGE_CLASS } from './chunk-LSOPZVR7.js';
|
|
2
|
-
import { useMediaMatch, REDUCED_MOTION_QUERY } from './chunk-
|
|
2
|
+
import { useMediaMatch, REDUCED_MOTION_QUERY } from './chunk-COS6LJ4K.js';
|
|
3
3
|
import { Button } from './chunk-RTHWXAXT.js';
|
|
4
4
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Timeline } from './chunk-XDUXAQIS.js';
|
|
2
2
|
import { Section } from './chunk-WFCWPXJN.js';
|
|
3
|
-
import { Composer } from './chunk-
|
|
3
|
+
import { Composer } from './chunk-OLIUGAAI.js';
|
|
4
4
|
import { Disclosure } from './chunk-D5O64CVE.js';
|
|
5
5
|
import { ArtifactPanel } from './chunk-TCC46LXY.js';
|
|
6
6
|
import { Button } from './chunk-RTHWXAXT.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Textarea } from './chunk-22DNDOBR.js';
|
|
2
1
|
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
2
|
+
import { Textarea } from './chunk-22DNDOBR.js';
|
|
3
3
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
4
4
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './ChatScale-ST24RFPO.css';
|
|
7
|
-
import './Composer-
|
|
7
|
+
import './Composer-UGPNQMYI.css';
|
|
8
8
|
import { forwardRef, useId } from 'react';
|
|
9
9
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useMediaMatch, REDUCED_MOTION_QUERY } from './chunk-
|
|
1
|
+
import { useMediaMatch, REDUCED_MOTION_QUERY } from './chunk-COS6LJ4K.js';
|
|
2
2
|
import { tokenMs } from './chunk-HTS5RJ7S.js';
|
|
3
3
|
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
4
4
|
import { useState, useLayoutEffect } from 'react';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { PageHeader } from './chunk-FPDIHEM4.js';
|
|
2
2
|
import { FilterPill } from './chunk-J76ZZ6U2.js';
|
|
3
3
|
import { DateTimePicker } from './chunk-KPB4ZUBI.js';
|
|
4
|
-
import { DataTable } from './chunk-
|
|
4
|
+
import { DataTable } from './chunk-CQUCHIRB.js';
|
|
5
5
|
import { useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
|
|
6
6
|
import { Toolbar } from './chunk-NPEI2QAN.js';
|
|
7
7
|
import { Popover } from './chunk-VYUEAMA4.js';
|
|
8
|
-
import { RelativeTime } from './chunk-GBKBME7Q.js';
|
|
9
8
|
import { Menu } from './chunk-B7WZADFX.js';
|
|
10
|
-
import {
|
|
9
|
+
import { RelativeTime } from './chunk-GBKBME7Q.js';
|
|
11
10
|
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
12
11
|
import { Button } from './chunk-RTHWXAXT.js';
|
|
12
|
+
import { Input } from './chunk-22DNDOBR.js';
|
|
13
13
|
import { IconButton } from './chunk-PNYANWZ6.js';
|
|
14
14
|
import { Count } from './chunk-Y5CMDLQM.js';
|
|
15
15
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Eyebrow } from './chunk-RK4XPHVG.js';
|
|
2
2
|
import { developing } from './chunk-6C7GQOBV.js';
|
|
3
|
-
import { usePresence, releaseFocus } from './chunk-
|
|
3
|
+
import { usePresence, releaseFocus } from './chunk-SNKQNAJI.js';
|
|
4
4
|
import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useTreeState, treeExpandable, treeLevel, treePosInSet, treeSetSize, treeItemAction, treePrevious, treeNext, treeStep } from './chunk-MY374UUD.js';
|
|
2
|
-
import { GRID_FOOT_LABELS, parseGridSort, overrunning, squeezedCells, fitGridColumns, tableTrack, GRID_ICON_TRACK, GridHeadCell, alignOf, rowLinkTitle, headerWord, GridFoot, droppedNames, nextGridSort, sortByValue } from './chunk-
|
|
2
|
+
import { GRID_FOOT_LABELS, parseGridSort, overrunning, squeezedCells, fitGridColumns, tableTrack, GRID_ICON_TRACK, GridHeadCell, alignOf, rowLinkTitle, headerWord, GridFoot, droppedNames, nextGridSort, sortByValue } from './chunk-KWJRCZZ6.js';
|
|
3
3
|
import { LayerNodeBridge } from './chunk-X4HBZSXA.js';
|
|
4
|
+
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
4
5
|
import { Checkbox } from './chunk-NM3WGXPJ.js';
|
|
5
|
-
import { useMediaMatch } from './chunk-YJQXESOJ.js';
|
|
6
6
|
import { EmptyState } from './chunk-PPUR46MK.js';
|
|
7
7
|
import { IconButton } from './chunk-PNYANWZ6.js';
|
|
8
8
|
import { LayerHost, LAYER_REPOSITION_EVENT } from './chunk-FIX72ZEC.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Select } from './chunk-
|
|
1
|
+
import { Select } from './chunk-TJABWOQF.js';
|
|
2
2
|
import { Modal } from './chunk-GELMY4I7.js';
|
|
3
3
|
import { CopyButton } from './chunk-NNO5GSIB.js';
|
|
4
4
|
import { Callout } from './chunk-BPCY7ZID.js';
|
|
5
|
+
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
5
6
|
import { PrincipalAvatar } from './chunk-HF5L56YQ.js';
|
|
6
|
-
import { useMediaMatch } from './chunk-YJQXESOJ.js';
|
|
7
7
|
import { Button } from './chunk-RTHWXAXT.js';
|
|
8
8
|
import { IconButton } from './chunk-PNYANWZ6.js';
|
|
9
9
|
import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { releaseFocus, usePresence } from './chunk-
|
|
1
|
+
import { releaseFocus, usePresence } from './chunk-SNKQNAJI.js';
|
|
2
2
|
import { useRailShape, RailShapeContext, RailLeavingContext } from './chunk-JLOESTT2.js';
|
|
3
|
-
import { useMediaMatch } from './chunk-
|
|
3
|
+
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
4
4
|
import { Menu } from './chunk-B7WZADFX.js';
|
|
5
5
|
import { PeekContext, AsideContext } from './chunk-MBEZOURR.js';
|
|
6
6
|
import { ResizeHandle, clampSize } from './chunk-FQ6J4DK7.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Stepper } from './chunk-EHD4CEHK.js';
|
|
2
2
|
import { PageHeader } from './chunk-FPDIHEM4.js';
|
|
3
|
-
import { useMediaMatch } from './chunk-
|
|
3
|
+
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
4
4
|
import { Disclosure } from './chunk-D5O64CVE.js';
|
|
5
5
|
import { useHeadingLevel, nextHeadingLevel, headingTag, HeadingLevelProvider } from './chunk-PQADV6P6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HuePicker } from './chunk-IQELH56T.js';
|
|
2
2
|
import { Popover } from './chunk-VYUEAMA4.js';
|
|
3
|
-
import { CharacterPicker } from './chunk-
|
|
3
|
+
import { CharacterPicker } from './chunk-S4JRQJEP.js';
|
|
4
4
|
import { NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
|
|
5
5
|
import { Avatar } from './chunk-XZY6S3UC.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|