@crewlethq/ui 0.126.1 → 0.126.3
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 +5 -5
- package/dist/AppShell/index.js +2 -2
- package/dist/ArrangeList/index.js +2 -2
- package/dist/ArtifactBar/index.js +4 -4
- package/dist/ArtifactCard/index.js +2 -2
- package/dist/AttentionList/index.js +2 -2
- package/dist/AuthLayout/index.js +3 -3
- package/dist/AvatarPicker/index.js +6 -6
- package/dist/BriefCard/index.js +4 -4
- package/dist/Card/index.js +1 -1
- package/dist/Combobox/index.js +2 -2
- package/dist/CommandPalette/CommandPalette.d.ts +10 -0
- package/dist/CommandPalette/index.js +6 -6
- package/dist/{CommandPalette-TOZYLWLE.css → CommandPalette-UC3GJCP5.css} +7 -0
- package/dist/CommentThread/index.js +7 -7
- package/dist/Composer/index.js +3 -3
- package/dist/ContrastBadge/index.js +2 -2
- package/dist/ContrastHelp/index.js +3 -3
- package/dist/DataGrid/index.js +6 -6
- package/dist/DataTable/index.js +5 -5
- package/dist/DataView/index.js +9 -9
- package/dist/DatasetSource/index.js +1 -1
- package/dist/DeepWorkCard/index.js +4 -4
- package/dist/DocTabsEditor/index.js +6 -6
- package/dist/EditingStatus/index.js +2 -2
- package/dist/{Editor-WIP3YYJ5.js → Editor-CTZXT2FC.js} +3 -3
- package/dist/EntityList/index.js +4 -4
- package/dist/FolderTile/index.js +2 -2
- package/dist/HuePicker/index.js +4 -4
- package/dist/InboxList/index.js +1 -1
- package/dist/{InboxList-PKF6XXTA.css → InboxList-XOUPZUCK.css} +15 -2
- package/dist/InlineEditor/index.js +3 -3
- package/dist/KeyValueRows/index.js +3 -3
- package/dist/LinkInterstitial/index.js +2 -2
- package/dist/ListInput/index.js +6 -6
- package/dist/{ListInput-X2GEG2X7.css → ListInput-L6XJUDTB.css} +5 -3
- package/dist/LogoSlot/index.js +3 -3
- package/dist/MarkdownEditor/index.js +4 -4
- package/dist/Menu/Menu.d.ts +4 -2
- package/dist/Menu/index.js +1 -1
- package/dist/{Menu-PXOAJ4DP.css → Menu-M32ZXT6N.css} +16 -2
- package/dist/MergeConflicts/index.js +4 -4
- package/dist/Modal/index.js +1 -1
- package/dist/{Modal-XK3OTUQK.css → Modal-ENCXGQKV.css} +10 -0
- package/dist/OpenInAppCard/index.js +4 -4
- package/dist/OrgTable/index.js +9 -9
- package/dist/PrincipalPicker/index.js +3 -3
- package/dist/ProposalCard/index.js +6 -6
- package/dist/RailList/index.js +5 -5
- package/dist/RefusalCard/index.js +4 -4
- package/dist/RelatedRow/index.js +2 -2
- package/dist/ResultTableCard/index.js +4 -4
- package/dist/RichEditor/index.js +1 -1
- package/dist/SegmentedControl/index.js +3 -3
- package/dist/Select/index.js +2 -2
- package/dist/SetupWizard/index.js +2 -2
- package/dist/ShareDialog/index.js +5 -5
- package/dist/SheetColumnEditor/index.js +11 -11
- package/dist/SheetGrid/index.js +2 -2
- package/dist/SlideFilmstrip/index.js +2 -2
- package/dist/StatusCard/index.js +3 -3
- package/dist/Switcher/index.js +6 -6
- package/dist/TableCells/index.js +1 -1
- package/dist/Tabs/index.js +2 -2
- package/dist/ThemeGallery/index.js +1 -1
- package/dist/ThemeSwitcher/index.js +4 -4
- package/dist/TimeRangePicker/index.js +8 -8
- package/dist/TimeWindowPicker/index.js +5 -5
- package/dist/TreeGrid/index.js +7 -7
- package/dist/ValueField/index.js +4 -4
- package/dist/VersionCompare/index.js +4 -4
- package/dist/{chunk-LFW5ISQY.js → chunk-2JXILC4H.js} +2 -2
- package/dist/{chunk-TLHPKKWZ.js → chunk-2S3J5LEN.js} +4 -4
- package/dist/{chunk-RFZ5MMLI.js → chunk-35ALKQC5.js} +1 -1
- package/dist/{chunk-V4T5CQA4.js → chunk-3R7AB45M.js} +3 -3
- package/dist/{chunk-L3PK6KON.js → chunk-4OKNZZ5E.js} +1 -1
- package/dist/{chunk-OIC6S5ES.js → chunk-4Q7AWZ6O.js} +1 -1
- package/dist/{chunk-ON5A6G3Z.js → chunk-4QDFH4AA.js} +1 -1
- package/dist/{chunk-HYIBP6MW.js → chunk-4VQYVWPU.js} +2 -2
- package/dist/{chunk-LV2CE5EN.js → chunk-5GIBHRCS.js} +1 -1
- package/dist/{chunk-JDA4ADTD.js → chunk-7MKWQ3ZL.js} +1 -1
- package/dist/{chunk-SJHSUTB7.js → chunk-C7BHAZVR.js} +3 -3
- package/dist/{chunk-BWSO2YRR.js → chunk-CMS5MLTU.js} +1 -1
- package/dist/{chunk-4AJVOHLY.js → chunk-DL6Y7SVB.js} +2 -2
- package/dist/{chunk-PHZJQU73.js → chunk-EOMLCNC4.js} +2 -2
- package/dist/{chunk-35S25WJZ.js → chunk-FIQGLZ5Q.js} +62 -45
- package/dist/{chunk-MTEQ3WO3.js → chunk-FODDW4BC.js} +1 -1
- package/dist/{chunk-7Y5OSXA2.js → chunk-GCE475FL.js} +1 -1
- package/dist/{chunk-766IY2ZW.js → chunk-GHRCG45F.js} +1 -1
- package/dist/{chunk-ELV2BL4R.js → chunk-GQPKDPMS.js} +2 -2
- package/dist/{chunk-OG4GX2TB.js → chunk-IU7QVXHA.js} +69 -4
- package/dist/{chunk-M557YJHH.js → chunk-JDWMDK5A.js} +1 -1
- package/dist/{chunk-AIIHTVWW.js → chunk-JLOZE7QG.js} +1 -1
- package/dist/{chunk-BBWCMOK7.js → chunk-K6OZBRR4.js} +1 -1
- package/dist/{chunk-ESLLB6TP.js → chunk-K6YVJS5T.js} +1 -1
- package/dist/{chunk-UGF5YD5O.js → chunk-KANE3PVJ.js} +1 -1
- package/dist/{chunk-5L56E6AF.js → chunk-L2N7SZFY.js} +1 -1
- package/dist/{chunk-M2JND4EM.js → chunk-NKB2ORTZ.js} +1 -1
- package/dist/{chunk-PIYD74IU.js → chunk-NKYBXVYQ.js} +2 -2
- package/dist/{chunk-LETSZEMX.js → chunk-NSUMHNUS.js} +1 -1
- package/dist/{chunk-IYEMN7RK.js → chunk-ORBM3IHQ.js} +1 -1
- package/dist/{chunk-SON7ATOT.js → chunk-P47YVFX6.js} +2 -2
- package/dist/{chunk-LBA2DNKW.js → chunk-PYF5DNOK.js} +29 -6
- package/dist/{chunk-PCSIMBUQ.js → chunk-QDXSBVZR.js} +2 -2
- package/dist/{chunk-IMNCBQVO.js → chunk-RA5FPMPE.js} +1 -1
- package/dist/{chunk-GJJQPF75.js → chunk-RABEMWTA.js} +12 -9
- package/dist/{chunk-LPQF7Z44.js → chunk-SIL5WE55.js} +1 -1
- package/dist/{chunk-CFMNGQMN.js → chunk-TLZ7NG6T.js} +1 -1
- package/dist/{chunk-L6PGMA2K.js → chunk-TU6IC2XD.js} +1 -1
- package/dist/{chunk-SHSQNFW2.js → chunk-UL46NV3X.js} +2 -2
- package/dist/{chunk-MLSDZFBN.js → chunk-UMEK5DHS.js} +15 -7
- package/dist/{chunk-U3VDJ7QJ.js → chunk-VCFV7FTE.js} +1 -1
- package/dist/{chunk-E32PP25Z.js → chunk-VIS6DKGQ.js} +1 -1
- package/dist/{chunk-6IBC6CPE.js → chunk-VPQX3EQQ.js} +1 -1
- package/dist/{chunk-54OD6YIS.js → chunk-WC5UG64S.js} +1 -1
- package/dist/{chunk-WGJRD3PY.js → chunk-WMZ2MROV.js} +1 -1
- package/dist/{chunk-VDADSS7I.js → chunk-X227R7IP.js} +1 -1
- package/dist/{chunk-VR72FN5R.js → chunk-XBWENJGX.js} +1 -1
- package/dist/{chunk-H6QSHVKY.js → chunk-XKHW7ZHP.js} +1 -1
- package/dist/{chunk-ESIB6MBQ.js → chunk-XX7UCYDH.js} +1 -1
- package/dist/{chunk-NK44SXPJ.js → chunk-Z64KEJ3N.js} +3 -3
- package/dist/generated/index.js +98 -98
- package/dist/index.js +98 -98
- package/dist/styles.css +58 -12
- package/dist/utils/useScrollerFocus.d.ts +21 -0
- package/package.json +3 -3
- package/dist/{chunk-WLL3PFI3.js → chunk-2DZV4PHK.js} +1 -1
- package/dist/{chunk-F7NHMBGJ.js → chunk-3YOLD7WG.js} +1 -1
- package/dist/{chunk-YKCLV77Z.js → chunk-6ZFQ6TAM.js} +1 -1
- package/dist/{chunk-G3WSU5J7.js → chunk-BF3PFRBE.js} +1 -1
- package/dist/{chunk-D6I7HBZC.js → chunk-CPWSBK3F.js} +1 -1
- package/dist/{chunk-6N53ZWRM.js → chunk-KRF3GQ63.js} +1 -1
- package/dist/{chunk-U56B2BAX.js → chunk-Q7WKCU2U.js} +1 -1
- package/dist/{chunk-CWGZE3JW.js → chunk-WUJ54OTI.js} +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { Modal } from './chunk-
|
|
1
|
+
import { useScrollerFocus, Modal } from './chunk-IU7QVXHA.js';
|
|
2
2
|
import { useListbox, useHighlightRest } from './chunk-KW7T23RT.js';
|
|
3
|
+
import { Input } from './chunk-NN44J7BP.js';
|
|
3
4
|
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
4
5
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
5
|
-
import { Input } from './chunk-NN44J7BP.js';
|
|
6
6
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
7
7
|
import { Count } from './chunk-Y5CMDLQM.js';
|
|
8
8
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
9
9
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
10
10
|
import './HitArea-QUOS6ZDJ.css';
|
|
11
|
-
import './CommandPalette-
|
|
12
|
-
import { useId, useMemo, useRef, useEffect, useState } from 'react';
|
|
11
|
+
import './CommandPalette-UC3GJCP5.css';
|
|
12
|
+
import { useId, useMemo, useRef, useEffect, useState, useCallback, useLayoutEffect } from 'react';
|
|
13
13
|
import { ChevronLeftGlyph, SearchGlyph } from '@crewlethq/icons/glyphs';
|
|
14
14
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
15
15
|
|
|
@@ -87,7 +87,29 @@ function Palette({
|
|
|
87
87
|
onScopeChange(next);
|
|
88
88
|
listbox.setActive(0);
|
|
89
89
|
}
|
|
90
|
+
const [results, setResults] = useState(null);
|
|
91
|
+
const resultsNode = useRef(null);
|
|
92
|
+
const attached = useRef(listbox.listRef);
|
|
93
|
+
const resultsRef = useCallback((el) => {
|
|
94
|
+
resultsNode.current = el;
|
|
95
|
+
attached.current(el);
|
|
96
|
+
setResults(el);
|
|
97
|
+
}, []);
|
|
98
|
+
const { listRef } = listbox;
|
|
99
|
+
useLayoutEffect(() => {
|
|
100
|
+
if (attached.current === listRef) return;
|
|
101
|
+
attached.current(null);
|
|
102
|
+
attached.current = listRef;
|
|
103
|
+
listRef(resultsNode.current);
|
|
104
|
+
}, [listRef]);
|
|
105
|
+
const resultsTakeFocus = useScrollerFocus(results);
|
|
90
106
|
function onKeyDown(event) {
|
|
107
|
+
if (results !== null && (event.key === "PageDown" || event.key === "PageUp") && !isComposing(event) && !event.altKey && !event.ctrlKey && !event.metaKey && !event.shiftKey) {
|
|
108
|
+
event.preventDefault();
|
|
109
|
+
const page = Math.max(results.clientHeight - 40, 40);
|
|
110
|
+
results.scrollTop += event.key === "PageDown" ? page : -page;
|
|
111
|
+
return;
|
|
112
|
+
}
|
|
91
113
|
if (step && !isComposing(event) && !event.altKey && !event.ctrlKey && !event.metaKey) {
|
|
92
114
|
if (event.key === "Escape" || event.key === "Backspace" && query === "") {
|
|
93
115
|
event.preventDefault();
|
|
@@ -193,9 +215,10 @@ function Palette({
|
|
|
193
215
|
"div",
|
|
194
216
|
{
|
|
195
217
|
className: "crewlet-palette__results",
|
|
196
|
-
ref:
|
|
218
|
+
ref: resultsRef,
|
|
197
219
|
onMouseLeave: () => highlight.now(null),
|
|
198
|
-
...scopes ? { id: panelId, role: "tabpanel", "aria-labelledby": current ? tabId(current.id) : void 0 } : {},
|
|
220
|
+
...scopes ? { id: panelId, role: "tabpanel", "aria-labelledby": current ? tabId(current.id) : void 0 } : resultsTakeFocus ? { role: "group", "aria-label": resultsLabel } : {},
|
|
221
|
+
tabIndex: resultsTakeFocus ? 0 : void 0,
|
|
199
222
|
children: [
|
|
200
223
|
/* @__PURE__ */ jsx("div", { className: "crewlet-palette__lead", "aria-live": "polite", children: lead }),
|
|
201
224
|
/* @__PURE__ */ jsx(
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Select } from './chunk-
|
|
2
|
-
import { Combobox } from './chunk-
|
|
1
|
+
import { Select } from './chunk-6ZFQ6TAM.js';
|
|
2
|
+
import { Combobox } from './chunk-WUJ54OTI.js';
|
|
3
3
|
import { FormField, Textarea, InputAffix } from './chunk-NN44J7BP.js';
|
|
4
4
|
import './Input-YVCNNTYT.css';
|
|
5
5
|
import './VisuallyHidden-OUYVMKEH.css';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { CardHeaderSlotContext } from './chunk-AV2DXAEL.js';
|
|
2
2
|
import { Text } from './chunk-475DOAWF.js';
|
|
3
3
|
import { Count } from './chunk-Y5CMDLQM.js';
|
|
4
|
-
import { useHeadingLevel,
|
|
4
|
+
import { useHeadingLevel, nextHeadingLevel, HeadingLevelProvider, headingTag } from './chunk-PQADV6P6.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './Card-O35OMBQ5.css';
|
|
7
|
-
import { createContext, useId, useState, isValidElement, useRef, useCallback, useMemo, Children, cloneElement, useContext,
|
|
7
|
+
import { createContext, useId, useState, isValidElement, useRef, useCallback, useMemo, Children, cloneElement, useContext, useLayoutEffect, Fragment } from 'react';
|
|
8
8
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
9
9
|
|
|
10
10
|
var CardContext = createContext(null);
|
|
@@ -85,7 +85,8 @@ var CardRoot = ({
|
|
|
85
85
|
}) => {
|
|
86
86
|
const level = useHeadingLevel();
|
|
87
87
|
const titleId = useId();
|
|
88
|
-
const [
|
|
88
|
+
const [titles, setTitles] = useState(0);
|
|
89
|
+
const hasTitle = titles > 0;
|
|
89
90
|
const navigates = href !== void 0 || asChild;
|
|
90
91
|
const inner = asChild && isValidElement(children) ? children.props["children"] : children;
|
|
91
92
|
const slots = slotsIn(inner);
|
|
@@ -122,12 +123,16 @@ var CardRoot = ({
|
|
|
122
123
|
}),
|
|
123
124
|
[slots.header, chromeNode, claimChrome, releaseChrome]
|
|
124
125
|
);
|
|
125
|
-
const registerTitle = useCallback(() =>
|
|
126
|
+
const registerTitle = useCallback(() => {
|
|
127
|
+
setTitles((count) => count + 1);
|
|
128
|
+
return () => setTitles((count) => count - 1);
|
|
129
|
+
}, []);
|
|
126
130
|
const context = useMemo(
|
|
127
131
|
() => ({ titleLevel: level, titleId, registerTitle, hostChrome }),
|
|
128
132
|
[level, titleId, registerTitle, hostChrome]
|
|
129
133
|
);
|
|
130
|
-
const
|
|
134
|
+
const inside = hasTitle ? nextHeadingLevel(level) : level;
|
|
135
|
+
const body = /* @__PURE__ */ jsx(CardContext.Provider, { value: context, children: /* @__PURE__ */ jsx(CardHeaderSlotContext.Provider, { value: headerSlot, children: /* @__PURE__ */ jsx(HeadingLevelProvider, { level: inside, children: content }) }) });
|
|
131
136
|
if (asChild) {
|
|
132
137
|
const child = Children.only(children);
|
|
133
138
|
if (!isValidElement(child)) {
|
|
@@ -137,7 +142,7 @@ var CardRoot = ({
|
|
|
137
142
|
return cloneElement(
|
|
138
143
|
childEl,
|
|
139
144
|
{ ...rest, className: cx(childEl.props["className"], classes) },
|
|
140
|
-
/* @__PURE__ */ jsx(CardContext.Provider, { value: context, children: /* @__PURE__ */ jsx(CardHeaderSlotContext.Provider, { value: headerSlot, children: /* @__PURE__ */ jsx(HeadingLevelProvider, { level:
|
|
145
|
+
/* @__PURE__ */ jsx(CardContext.Provider, { value: context, children: /* @__PURE__ */ jsx(CardHeaderSlotContext.Provider, { value: headerSlot, children: /* @__PURE__ */ jsx(HeadingLevelProvider, { level: inside, children: content }) }) })
|
|
141
146
|
);
|
|
142
147
|
}
|
|
143
148
|
if (href !== void 0) {
|
|
@@ -216,9 +221,7 @@ var CardTitle = ({ as, truncate = false, className, children, ...rest }) => {
|
|
|
216
221
|
const fallback = useHeadingLevel();
|
|
217
222
|
const Tag = as ?? headingTag(card?.titleLevel ?? fallback);
|
|
218
223
|
const register = card?.registerTitle;
|
|
219
|
-
|
|
220
|
-
register?.();
|
|
221
|
-
}, [register]);
|
|
224
|
+
useLayoutEffect(() => register?.(), [register]);
|
|
222
225
|
return /* @__PURE__ */ jsx(
|
|
223
226
|
Tag,
|
|
224
227
|
{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useReorder } from './chunk-JMBPMSNI.js';
|
|
2
|
-
import { Menu } from './chunk-
|
|
2
|
+
import { Menu } from './chunk-FIQGLZ5Q.js';
|
|
3
3
|
import { Input } from './chunk-NN44J7BP.js';
|
|
4
4
|
import { IconButton } from './chunk-X5YI6E5X.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { releaseFocus, usePresence } from './chunk-SNKQNAJI.js';
|
|
2
2
|
import { useRailShape, RailShapeContext, RailLeavingContext } from './chunk-JLOESTT2.js';
|
|
3
|
-
import { Menu } from './chunk-
|
|
3
|
+
import { Menu } from './chunk-FIQGLZ5Q.js';
|
|
4
4
|
import { PeekContext, AsideContext } from './chunk-MBEZOURR.js';
|
|
5
5
|
import { ResizeHandle, clampSize } from './chunk-FQ6J4DK7.js';
|
|
6
6
|
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { SegmentedControl } from './chunk-
|
|
1
|
+
import { SegmentedControl } from './chunk-FODDW4BC.js';
|
|
2
2
|
import { ArtifactIcon } from './chunk-AVL52EME.js';
|
|
3
|
-
import { Menu } from './chunk-
|
|
3
|
+
import { Menu } from './chunk-FIQGLZ5Q.js';
|
|
4
4
|
import { isApplePlatform, Kbd, ariaKeyshortcuts } from './chunk-VBBLHS2Y.js';
|
|
5
5
|
import { Button } from './chunk-M2M6ZD7P.js';
|
|
6
6
|
import { IconButton } from './chunk-X5YI6E5X.js';
|
|
@@ -5,7 +5,7 @@ import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
|
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './ChatScale-LGESYXCO.css';
|
|
8
|
-
import './InboxList-
|
|
8
|
+
import './InboxList-XOUPZUCK.css';
|
|
9
9
|
import { createContext, useContext, useId, useState, useRef, useEffect, useLayoutEffect, useCallback, cloneElement, Children, isValidElement } from 'react';
|
|
10
10
|
import { ChevronDownGlyph } from '@crewlethq/icons/glyphs';
|
|
11
11
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -285,14 +285,19 @@ function InboxRow({
|
|
|
285
285
|
leading === void 0 ? null : part("leading"),
|
|
286
286
|
part("title"),
|
|
287
287
|
hasQualifier ? part("qualifier") : null,
|
|
288
|
-
where === void 0 ? null : part("where"),
|
|
289
288
|
hasStatus || hasMeta ? part("end") : null,
|
|
289
|
+
where === void 0 ? null : part("where"),
|
|
290
290
|
part("text"),
|
|
291
291
|
hasContext ? part("context") : null,
|
|
292
292
|
hasOutcome ? part("outcome") : null,
|
|
293
293
|
unread ? part("unread") : null,
|
|
294
294
|
done ? part("done") : null
|
|
295
295
|
].filter(Boolean).join(" ");
|
|
296
|
+
const headEnd = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
297
|
+
hasStatus ? /* @__PURE__ */ jsx("span", { className: "crewlet-inbox-row__status", children: status }) : null,
|
|
298
|
+
hasStatus && hasMeta ? " " : null,
|
|
299
|
+
hasMeta ? /* @__PURE__ */ jsx("span", { className: "crewlet-inbox-row__meta", children: meta }) : null
|
|
300
|
+
] });
|
|
296
301
|
const contents = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
297
302
|
leading === void 0 ? null : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
298
303
|
/* @__PURE__ */ jsx("span", { id: part("leading"), className: "crewlet-inbox-row__leading", children: leading }),
|
|
@@ -300,11 +305,10 @@ function InboxRow({
|
|
|
300
305
|
] }),
|
|
301
306
|
/* @__PURE__ */ jsxs("span", { className: "crewlet-inbox-row__main", children: [
|
|
302
307
|
/* @__PURE__ */ jsx("span", { className: "crewlet-inbox-row__head", children: /* @__PURE__ */ jsxs("span", { className: "crewlet-inbox-row__head-text", children: [
|
|
303
|
-
hasStatus || hasMeta ?
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
] }) : null,
|
|
308
|
+
hasStatus || hasMeta ? (
|
|
309
|
+
// THE FLOAT'S PLACE, held by a copy nobody reads or sees.
|
|
310
|
+
/* @__PURE__ */ jsx("span", { "aria-hidden": true, className: "crewlet-inbox-row__head-end crewlet-inbox-row__head-end--place", children: headEnd })
|
|
311
|
+
) : null,
|
|
308
312
|
/* @__PURE__ */ jsx("span", { id: part("title"), className: "crewlet-inbox-row__title", children: title }),
|
|
309
313
|
hasQualifier ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
310
314
|
" ",
|
|
@@ -316,6 +320,10 @@ function InboxRow({
|
|
|
316
320
|
children: qualifier
|
|
317
321
|
}
|
|
318
322
|
)
|
|
323
|
+
] }) : null,
|
|
324
|
+
hasStatus || hasMeta ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
325
|
+
" ",
|
|
326
|
+
/* @__PURE__ */ jsx("span", { id: part("end"), className: "crewlet-inbox-row__head-end crewlet-inbox-row__head-end--drawn", children: headEnd })
|
|
319
327
|
] }) : null
|
|
320
328
|
] }) }),
|
|
321
329
|
" ",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useTreeState, treeExpandable, treeLevel, treePosInSet, treeSetSize, treeItemAction, treePrevious, treeNext, treeStep } from './chunk-MY374UUD.js';
|
|
2
|
-
import { GRID_FOOT_LABELS, parseGridSort, overrunning, squeezedCells, fitGridColumns, tableTrack, GRID_ICON_TRACK, GridHeadCell, alignOf, rowLinkTitle, headerWord, GridFoot, droppedNames, nextGridSort, sortByValue } from './chunk-
|
|
2
|
+
import { GRID_FOOT_LABELS, parseGridSort, overrunning, squeezedCells, fitGridColumns, tableTrack, GRID_ICON_TRACK, GridHeadCell, alignOf, rowLinkTitle, headerWord, GridFoot, droppedNames, nextGridSort, sortByValue } from './chunk-CPWSBK3F.js';
|
|
3
3
|
import { LayerNodeBridge } from './chunk-X4HBZSXA.js';
|
|
4
4
|
import { Checkbox } from './chunk-KFTVPWG2.js';
|
|
5
5
|
import { EmptyState } from './chunk-PPUR46MK.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Tag } from './chunk-SJ3EUCFD.js';
|
|
2
|
-
import { Card } from './chunk-
|
|
2
|
+
import { Card } from './chunk-RABEMWTA.js';
|
|
3
3
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './StatusCard-72STCSWY.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Inline, Stack, Spacer } from './chunk-ZAC7SKUN.js';
|
|
2
|
-
import { Card } from './chunk-
|
|
2
|
+
import { Card } from './chunk-RABEMWTA.js';
|
|
3
3
|
import { Text } from './chunk-475DOAWF.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './RelatedRow-IZ22XCLP.css';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { useReorder } from './chunk-JMBPMSNI.js';
|
|
2
|
-
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
3
|
-
import { Button } from './chunk-M2M6ZD7P.js';
|
|
4
2
|
import { FormField, Textarea } from './chunk-NN44J7BP.js';
|
|
5
3
|
import { characterCountState, CharacterCount, countCharacters } from './chunk-TEXK4RK6.js';
|
|
4
|
+
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
5
|
+
import { Button } from './chunk-M2M6ZD7P.js';
|
|
6
6
|
import { IconButton } from './chunk-X5YI6E5X.js';
|
|
7
7
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
8
8
|
import { announce } from './chunk-WGMKERCR.js';
|
|
9
9
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
10
|
-
import './ListInput-
|
|
10
|
+
import './ListInput-L6XJUDTB.css';
|
|
11
11
|
import { forwardRef, useState, useRef, useImperativeHandle, useLayoutEffect, useId } from 'react';
|
|
12
12
|
import { GripVerticalGlyph, ArrowUpGlyph, ArrowDownGlyph, XGlyph } from '@crewlethq/icons/glyphs';
|
|
13
13
|
import { jsx, jsxs } from 'react/jsx-runtime';
|