@crewlethq/ui 0.74.0 → 0.75.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/dist/AgentHandoffPanel/index.js +4 -4
- package/dist/AppShell/index.js +3 -3
- package/dist/ArrangeList/index.js +4 -4
- package/dist/ArtifactBar/index.js +6 -6
- package/dist/ArtifactCard/index.js +7 -7
- package/dist/ArtifactPanel/index.js +1 -1
- package/dist/Avatar/Avatar.d.ts +7 -2
- package/dist/Avatar/index.js +2 -2
- package/dist/{Avatar-FDQSCB7A.css → Avatar-VJSJGFRG.css} +48 -0
- package/dist/AvatarPicker/index.js +8 -8
- package/dist/Canvas/index.js +2 -2
- package/dist/CanvasBoard/index.js +4 -4
- package/dist/CanvasToolbar/index.js +3 -3
- package/dist/CharacterPicker/index.js +2 -2
- package/dist/Checkbox/index.js +3 -3
- package/dist/ChoiceButtons/index.js +1 -1
- package/dist/{ChoiceButtons-Q2ET3I2N.css → ChoiceButtons-G7XHZKDP.css} +7 -0
- package/dist/ColorChip/ColorChip.d.ts +6 -2
- package/dist/ColorChip/index.js +1 -1
- package/dist/{ColorChip-A5XHTH3J.css → ColorChip-GD3PKUJU.css} +27 -2
- package/dist/ColorField/index.js +3 -3
- package/dist/Combobox/index.js +3 -3
- package/dist/CommandPalette/index.js +3 -3
- package/dist/CommentThread/index.js +8 -8
- package/dist/Composer/index.js +3 -3
- package/dist/ConfirmField/index.js +3 -3
- package/dist/ContrastHelp/index.js +1 -1
- package/dist/DataGrid/index.js +4 -4
- package/dist/DataTable/index.js +5 -5
- package/dist/DataView/index.js +7 -7
- package/dist/DateTimePicker/index.js +2 -2
- package/dist/DocTabsEditor/index.js +4 -4
- package/dist/{Editor-WZ5L4BI2.js → Editor-OLFAUSUA.js} +7 -6
- package/dist/EntityChip/index.js +3 -3
- package/dist/HuePicker/index.js +5 -5
- package/dist/ImageUpload/index.js +3 -3
- package/dist/InlineRef/InlineRef.d.ts +75 -0
- package/dist/InlineRef/index.d.ts +3 -0
- package/dist/InlineRef/index.js +3 -0
- package/dist/InlineRef-XPONK2VO.css +135 -0
- package/dist/Input/index.js +2 -2
- package/dist/LinkInterstitial/index.js +1 -1
- package/dist/ListInput/index.js +3 -3
- package/dist/Markdown/index.js +2 -1
- package/dist/MarkdownEditor/index.js +5 -5
- package/dist/Menu/index.js +2 -2
- package/dist/MergeConflicts/index.js +5 -5
- package/dist/Modal/index.js +1 -1
- package/dist/OpenInAppCard/index.js +3 -2
- package/dist/OrgLabel/index.js +3 -3
- package/dist/OrgNode/index.js +4 -4
- package/dist/OrgTable/index.js +5 -5
- package/dist/PeopleRail/index.js +3 -3
- package/dist/PresenceStack/index.js +3 -3
- package/dist/PresenterView/index.js +1 -1
- package/dist/Principal/index.js +3 -3
- package/dist/PrincipalPicker/index.js +7 -7
- package/dist/ProposalCard/index.js +4 -4
- package/dist/RichEditor/index.js +4 -3
- package/dist/RichEditorMarkdown/index.js +4 -3
- package/dist/SegmentedControl/index.js +4 -4
- package/dist/ShareDialog/index.js +5 -5
- package/dist/SheetColumnEditor/index.js +8 -8
- package/dist/SheetGrid/index.js +5 -5
- package/dist/SidePanel/index.js +1 -1
- package/dist/SlideFilmstrip/index.js +3 -3
- package/dist/Switcher/index.js +3 -3
- package/dist/TableCells/index.js +3 -3
- package/dist/Tabs/index.js +3 -3
- package/dist/TagsInput/index.js +2 -2
- package/dist/ThemeSwitcher/index.js +5 -5
- package/dist/TimeRangePicker/index.js +6 -6
- package/dist/TimeWindowPicker/index.js +3 -3
- package/dist/TreeCanvas/index.js +3 -3
- package/dist/TreeGrid/index.js +1 -1
- package/dist/ValueField/index.js +4 -4
- package/dist/VersionCompare/index.js +5 -5
- package/dist/VersionTimeline/index.js +4 -4
- package/dist/{chunk-CSQTDGTS.js → chunk-2DMTW2Y3.js} +1 -1
- package/dist/{chunk-DB7UVFOY.js → chunk-352FPJ2Q.js} +3 -3
- package/dist/{chunk-VWMB3CJN.js → chunk-4OX2WVXO.js} +1 -1
- package/dist/{chunk-O3HCFM3D.js → chunk-53J2YNQA.js} +1 -1
- package/dist/{chunk-6C6YK75K.js → chunk-5JPID3YI.js} +1 -1
- package/dist/{chunk-YGWIWDXE.js → chunk-5M64E3HV.js} +3 -3
- package/dist/{chunk-TKBFRGUV.js → chunk-5NFYTQK2.js} +3 -3
- package/dist/{chunk-EOXI3CRG.js → chunk-5U2CYMFU.js} +1 -1
- package/dist/{chunk-OSKJZNBT.js → chunk-5XBNJNSO.js} +1 -1
- package/dist/{chunk-EVXXY75R.js → chunk-6LN64KGG.js} +1 -1
- package/dist/{chunk-MFQPGMJT.js → chunk-6RTYHTT7.js} +2 -2
- package/dist/{chunk-QH6VYJ3X.js → chunk-7CSTEH5I.js} +1 -1
- package/dist/{chunk-3EETQFAM.js → chunk-7OFVR7X4.js} +3 -3
- package/dist/{chunk-BKP6XCAJ.js → chunk-BT3GB7HC.js} +2 -2
- package/dist/{chunk-6GTTRJWJ.js → chunk-C6T4VBEY.js} +1 -1
- package/dist/{chunk-JVII5264.js → chunk-CFXDWGQI.js} +1 -1
- package/dist/{chunk-7LSSYHOT.js → chunk-CMTLQOJY.js} +1 -1
- package/dist/{chunk-PBCNINMB.js → chunk-EAR2F5OA.js} +1 -1
- package/dist/{chunk-W5AXJWOW.js → chunk-EEVATVP5.js} +2 -2
- package/dist/{chunk-7SYEOJLP.js → chunk-FXMYDXCI.js} +1 -1
- package/dist/{chunk-ERFXYGRF.js → chunk-GAT75MN4.js} +2 -2
- package/dist/{chunk-TWJERLT3.js → chunk-GAUBP247.js} +1 -1
- package/dist/{chunk-SWD4QBL6.js → chunk-GBASM5EV.js} +1 -1
- package/dist/{chunk-EN4UJQ63.js → chunk-HDF4OGVD.js} +2 -2
- package/dist/{chunk-UY3FWQWG.js → chunk-HDLUG3MA.js} +2 -2
- package/dist/{chunk-J5WWMC35.js → chunk-HKSQ7QHF.js} +4 -4
- package/dist/{chunk-TPCBPGSB.js → chunk-HMOGLAXY.js} +1 -1
- package/dist/{chunk-SNQRGH4A.js → chunk-I22MUEG7.js} +1 -1
- package/dist/{chunk-BWFJB5JD.js → chunk-ILF6KVNK.js} +2 -2
- package/dist/{chunk-ZUBFVK6B.js → chunk-IQQSMK4E.js} +1 -1
- package/dist/{chunk-BWAUL5MB.js → chunk-IU5J6BY5.js} +2 -2
- package/dist/{chunk-3EY5SEGH.js → chunk-K2RJO72E.js} +1 -1
- package/dist/chunk-KOHVIDZ5.js +70 -0
- package/dist/{chunk-PZKHBB7D.js → chunk-KTIQSSME.js} +12 -4
- package/dist/{chunk-ONQKKHON.js → chunk-LM6VYJTV.js} +1 -1
- package/dist/{chunk-FWUX3F6Q.js → chunk-MUFBHVCT.js} +1 -1
- package/dist/{chunk-CI3VPIJN.js → chunk-N2BF272H.js} +1 -1
- package/dist/{chunk-FQI62PIZ.js → chunk-ODAZIKZF.js} +2 -2
- package/dist/{chunk-KAA3GFTP.js → chunk-OUUHIA3B.js} +4 -4
- package/dist/{chunk-ADSOY7UM.js → chunk-OXB45TG2.js} +2 -2
- package/dist/{chunk-5OFRDX66.js → chunk-OXEWUAND.js} +1 -1
- package/dist/{chunk-RUBKDJAQ.js → chunk-OZAZHM55.js} +1 -1
- package/dist/{chunk-AGLONIVV.js → chunk-PKVWCKS2.js} +1 -1
- package/dist/{chunk-TYIHFDMP.js → chunk-PYJLHHYF.js} +1 -1
- package/dist/{chunk-73SAOOR5.js → chunk-Q2T4L6ML.js} +1 -1
- package/dist/{chunk-NXNLAZPK.js → chunk-SAUIIBNA.js} +1 -1
- package/dist/{chunk-KL6A7JGH.js → chunk-SQ7GYC4K.js} +1 -1
- package/dist/{chunk-AQIFKLXY.js → chunk-SRDZVY5M.js} +1 -1
- package/dist/{chunk-LQWORB5B.js → chunk-TF74KS36.js} +1 -1
- package/dist/{chunk-FURJVZCT.js → chunk-TQCSQRKQ.js} +1 -1
- package/dist/chunk-TWM6G2I2.js +1 -0
- package/dist/{chunk-H32JW6CZ.js → chunk-UHW7EXWQ.js} +1 -1
- package/dist/{chunk-4MVLED6E.js → chunk-USO73ZJM.js} +2 -2
- package/dist/{chunk-JQEXAH7G.js → chunk-VDIKDCNE.js} +1 -1
- package/dist/{chunk-G4QZWVAB.js → chunk-VFXTISVM.js} +1 -1
- package/dist/{chunk-75S74BBK.js → chunk-W7OJKHVR.js} +2 -2
- package/dist/{chunk-IPUEVTRJ.js → chunk-ZD52GKKS.js} +1 -1
- package/dist/{chunk-56IFLQGF.js → chunk-ZQEJSEPS.js} +1 -1
- package/dist/{chunk-3WN5HUAK.js → chunk-ZSRRCXUD.js} +1 -1
- package/dist/{chunk-SMZPUHBL.js → chunk-ZWXHTXZO.js} +1 -1
- package/dist/generated/index.d.ts +1 -0
- package/dist/generated/index.js +88 -86
- package/dist/index.js +88 -86
- package/dist/styles.css +223 -5
- package/package.json +3 -3
- package/dist/{chunk-HEIOLITO.js → chunk-BAHLBMCH.js} +1 -1
- package/dist/{chunk-ETSF7SU6.js → chunk-DCQ2VTBB.js} +1 -1
- package/dist/{chunk-OBPINJNO.js → chunk-EMCVX5FY.js} +1 -1
- package/dist/{chunk-BAKPMH3S.js → chunk-KBZO4B33.js} +0 -0
- package/dist/{chunk-OQG4P5KU.js → chunk-KNAHKQD4.js} +1 -1
- package/dist/{chunk-ABGLGAFJ.js → chunk-KOJPDCGQ.js} +0 -0
- package/dist/{chunk-HPI5J6AR.js → chunk-SWLVR54P.js} +1 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { PageHeader } from './chunk-FPDIHEM4.js';
|
|
2
2
|
import { FilterPill } from './chunk-K4LZXSKZ.js';
|
|
3
|
-
import { DataTable } from './chunk-
|
|
4
|
-
import { DateTimePicker } from './chunk-
|
|
3
|
+
import { DataTable } from './chunk-ILF6KVNK.js';
|
|
4
|
+
import { DateTimePicker } from './chunk-SWLVR54P.js';
|
|
5
5
|
import { useListbox, useOptionKeys } from './chunk-7KHM2FZH.js';
|
|
6
6
|
import { Toolbar } from './chunk-NR4CPM4T.js';
|
|
7
7
|
import { Popover } from './chunk-KHJIEPZV.js';
|
|
8
8
|
import { RelativeTime } from './chunk-EJNJMHQG.js';
|
|
9
9
|
import { Kbd } from './chunk-ANTAQAR4.js';
|
|
10
|
-
import { Input } from './chunk-
|
|
10
|
+
import { Input } from './chunk-DCQ2VTBB.js';
|
|
11
11
|
import { Count } from './chunk-MLDTLZAO.js';
|
|
12
|
-
import { Menu } from './chunk-
|
|
12
|
+
import { Menu } from './chunk-KNAHKQD4.js';
|
|
13
13
|
import { Button } from './chunk-DGXZ635L.js';
|
|
14
14
|
import { IconButton } from './chunk-UAUP6XGK.js';
|
|
15
15
|
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SlideStage } from './chunk-RMEBFYL7.js';
|
|
2
2
|
import { useReorder } from './chunk-MPVMB2DV.js';
|
|
3
3
|
import { Kbd, isApplePlatform } from './chunk-ANTAQAR4.js';
|
|
4
|
-
import { Menu } from './chunk-
|
|
4
|
+
import { Menu } from './chunk-KNAHKQD4.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './SlideFilmstrip-BLGBCLEU.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useRoving, tabStop } from './chunk-EGMQURBR.js';
|
|
2
|
-
import { Avatar } from './chunk-
|
|
2
|
+
import { Avatar } from './chunk-KTIQSSME.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import { CREWLET_CHARACTERS, CREWLET_CHARACTER_GEOMETRY } from '@crewlethq/icons/characters';
|
|
5
5
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -2,8 +2,8 @@ import { Modal } from './chunk-C667GCU7.js';
|
|
|
2
2
|
import { useClipboard } from './chunk-STJ7QBC3.js';
|
|
3
3
|
import { EmptyValue } from './chunk-RE3FBGQQ.js';
|
|
4
4
|
import { useCardHeaderSlot } from './chunk-AV2DXAEL.js';
|
|
5
|
-
import { Checkbox } from './chunk-
|
|
6
|
-
import { Menu } from './chunk-
|
|
5
|
+
import { Checkbox } from './chunk-EAR2F5OA.js';
|
|
6
|
+
import { Menu } from './chunk-KNAHKQD4.js';
|
|
7
7
|
import { Button } from './chunk-DGXZ635L.js';
|
|
8
8
|
import { IconButton } from './chunk-UAUP6XGK.js';
|
|
9
9
|
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useListbox, useOptionKeys } from './chunk-7KHM2FZH.js';
|
|
2
|
-
import { Input } from './chunk-
|
|
2
|
+
import { Input } from './chunk-DCQ2VTBB.js';
|
|
3
3
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './HitArea-QUOS6ZDJ.css';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Select } from './chunk-VK45YJLH.js';
|
|
2
|
-
import { Combobox } from './chunk-
|
|
3
|
-
import { FormField, Textarea, InputAffix } from './chunk-
|
|
2
|
+
import { Combobox } from './chunk-IQQSMK4E.js';
|
|
3
|
+
import { FormField, Textarea, InputAffix } from './chunk-DCQ2VTBB.js';
|
|
4
4
|
import './Input-GEFFMKBS.css';
|
|
5
5
|
import './VisuallyHidden-AOEXU5EB.css';
|
|
6
6
|
import './HitArea-QUOS6ZDJ.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RefusalStrip, ReceiptStrip } from './chunk-ZWCK4N4L.js';
|
|
2
2
|
import { ChangeList } from './chunk-WQRSZMN4.js';
|
|
3
3
|
import { StatusCard } from './chunk-NTQPJJAN.js';
|
|
4
|
-
import { Checkbox } from './chunk-
|
|
4
|
+
import { Checkbox } from './chunk-EAR2F5OA.js';
|
|
5
5
|
import { Disclosure } from './chunk-222VILSP.js';
|
|
6
6
|
import { Button } from './chunk-DGXZ635L.js';
|
|
7
7
|
import { Spinner } from './chunk-XSPCITPN.js';
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { safeHref } from './chunk-KBZO4B33.js';
|
|
2
|
+
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
|
+
import './InlineRef-XPONK2VO.css';
|
|
4
|
+
import { Children } from 'react';
|
|
5
|
+
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
6
|
+
|
|
7
|
+
function splitHead(children) {
|
|
8
|
+
const parts = Children.toArray(children);
|
|
9
|
+
const first = parts[0];
|
|
10
|
+
if (typeof first === "string") {
|
|
11
|
+
const at = first.search(/\s/);
|
|
12
|
+
if (at > 0) return { head: first.slice(0, at), rest: [first.slice(at), ...parts.slice(1)] };
|
|
13
|
+
}
|
|
14
|
+
return { head: first ?? null, rest: parts.slice(1) };
|
|
15
|
+
}
|
|
16
|
+
function InlineRef({
|
|
17
|
+
mark,
|
|
18
|
+
markShape = "glyph",
|
|
19
|
+
kind,
|
|
20
|
+
children,
|
|
21
|
+
href,
|
|
22
|
+
title,
|
|
23
|
+
code = false,
|
|
24
|
+
wrap = false,
|
|
25
|
+
newTabLabel = "opens in a new tab",
|
|
26
|
+
className
|
|
27
|
+
}) {
|
|
28
|
+
const target = href === void 0 ? null : safeHref(href);
|
|
29
|
+
const hasMark = mark !== void 0 && mark !== null;
|
|
30
|
+
const external = target !== null && !target.startsWith("#");
|
|
31
|
+
const { head, rest } = wrap ? splitHead(children) : { head: children, rest: [] };
|
|
32
|
+
const classes = cx(
|
|
33
|
+
"crewlet-inline-ref",
|
|
34
|
+
code && "crewlet-inline-ref--code",
|
|
35
|
+
wrap && "crewlet-inline-ref--wrap",
|
|
36
|
+
target !== null && "crewlet-inline-ref--link",
|
|
37
|
+
className
|
|
38
|
+
);
|
|
39
|
+
const body = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
40
|
+
/* @__PURE__ */ jsxs("span", { className: "crewlet-inline-ref__head", children: [
|
|
41
|
+
!hasMark ? null : /* @__PURE__ */ jsx(
|
|
42
|
+
"span",
|
|
43
|
+
{
|
|
44
|
+
className: cx("crewlet-inline-ref__mark", `crewlet-inline-ref__mark--${markShape}`),
|
|
45
|
+
"aria-hidden": "true",
|
|
46
|
+
children: mark
|
|
47
|
+
}
|
|
48
|
+
),
|
|
49
|
+
kind === void 0 ? null : /* @__PURE__ */ jsx("span", { className: "crewlet-inline-ref__said", children: `${kind}: ` }),
|
|
50
|
+
/* @__PURE__ */ jsx("span", { className: "crewlet-inline-ref__text", children: head })
|
|
51
|
+
] }),
|
|
52
|
+
rest.length === 0 ? null : /* @__PURE__ */ jsx("span", { className: "crewlet-inline-ref__text", children: rest }),
|
|
53
|
+
external ? /* @__PURE__ */ jsx("span", { className: "crewlet-inline-ref__said", children: ` (${newTabLabel})` }) : null
|
|
54
|
+
] });
|
|
55
|
+
if (target === null) {
|
|
56
|
+
return /* @__PURE__ */ jsx("span", { className: classes, title, children: body });
|
|
57
|
+
}
|
|
58
|
+
return /* @__PURE__ */ jsx(
|
|
59
|
+
"a",
|
|
60
|
+
{
|
|
61
|
+
className: classes,
|
|
62
|
+
href: target,
|
|
63
|
+
title,
|
|
64
|
+
...external ? { target: "_blank", rel: "noopener noreferrer" } : {},
|
|
65
|
+
children: body
|
|
66
|
+
}
|
|
67
|
+
);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export { InlineRef };
|
|
@@ -10,6 +10,7 @@ var AVATAR_STATUS_LABELS = {
|
|
|
10
10
|
stopped: "stopped"
|
|
11
11
|
};
|
|
12
12
|
var AVATAR_SIZES = { xs: 20, sm: 26, md: 32, lg: 40 };
|
|
13
|
+
var TEXT_FACE_PIXELS = 16;
|
|
13
14
|
var AVATAR_CORNER_RATIO = 0.29;
|
|
14
15
|
var AGENT_WORD = /^agent(?:[\s._-]+)(?=\S)/i;
|
|
15
16
|
function avatarInitialsName(name, kind) {
|
|
@@ -38,6 +39,7 @@ var avatarTint = (seed) => {
|
|
|
38
39
|
return hash % TINT_COUNT;
|
|
39
40
|
};
|
|
40
41
|
function avatarPixels(size) {
|
|
42
|
+
if (size === "text") return TEXT_FACE_PIXELS;
|
|
41
43
|
return typeof size === "number" ? size : AVATAR_SIZES[size];
|
|
42
44
|
}
|
|
43
45
|
function avatarCorner(pixels) {
|
|
@@ -66,9 +68,10 @@ var Avatar = ({
|
|
|
66
68
|
useEffect(() => {
|
|
67
69
|
setImageFailed(false);
|
|
68
70
|
}, [src]);
|
|
69
|
-
const
|
|
71
|
+
const text = size === "text";
|
|
72
|
+
const step = typeof size === "number" || text ? null : size;
|
|
70
73
|
const pixels = avatarPixels(size);
|
|
71
|
-
const measured = step === null ? {
|
|
74
|
+
const measured = step === null && !text ? {
|
|
72
75
|
"--crewlet-avatar-size": `${pixels}px`,
|
|
73
76
|
fontSize: Math.max(9, Math.round(pixels * 0.36))
|
|
74
77
|
} : {};
|
|
@@ -82,6 +85,7 @@ var Avatar = ({
|
|
|
82
85
|
"crewlet-avatar",
|
|
83
86
|
`crewlet-avatar--${kind}`,
|
|
84
87
|
step === null ? null : `crewlet-avatar--${step}`,
|
|
88
|
+
text ? "crewlet-avatar--text" : null,
|
|
85
89
|
framed ? "crewlet-avatar--notched" : null,
|
|
86
90
|
ring === void 0 || framed ? null : `crewlet-avatar--ring-${ring}`,
|
|
87
91
|
framed ? null : className
|
|
@@ -142,7 +146,11 @@ var Avatar = ({
|
|
|
142
146
|
role: decorative ? void 0 : "img",
|
|
143
147
|
"aria-hidden": decorative ? true : void 0,
|
|
144
148
|
"aria-label": decorative ? void 0 : spoken,
|
|
145
|
-
children: icon === void 0 || icon === null ?
|
|
149
|
+
children: icon === void 0 || icon === null ? (
|
|
150
|
+
// A TEXT-SIZED FACE takes the words' size for its box, so its
|
|
151
|
+
// initials are set apart at a size of their own.
|
|
152
|
+
text ? /* @__PURE__ */ jsx("span", { className: "crewlet-avatar__initials", children: getInitials(avatarInitialsName(name, kind)) }) : getInitials(avatarInitialsName(name, kind))
|
|
153
|
+
) : /* @__PURE__ */ jsx("span", { className: "crewlet-avatar__icon", "aria-hidden": "true", children: icon })
|
|
146
154
|
}
|
|
147
155
|
);
|
|
148
156
|
}
|
|
@@ -152,7 +160,7 @@ var Avatar = ({
|
|
|
152
160
|
"span",
|
|
153
161
|
{
|
|
154
162
|
className: cx("crewlet-avatar-frame", className),
|
|
155
|
-
style: { "--crewlet-avatar-size": `${pixels}px`, ...style },
|
|
163
|
+
style: text ? style : { "--crewlet-avatar-size": `${pixels}px`, ...style },
|
|
156
164
|
children: [
|
|
157
165
|
face,
|
|
158
166
|
status !== void 0 ? /* @__PURE__ */ jsx("span", { className: `crewlet-avatar__status crewlet-avatar__status--${status}`, "aria-hidden": "true", children: STATUS_GLYPHS[status] }) : /* @__PURE__ */ jsx("span", { className: "crewlet-avatar__status crewlet-avatar__status--mark", "aria-hidden": "true", children: mark })
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TreeGrid } from './chunk-IL3XLDW7.js';
|
|
2
2
|
import { createTreeModel, treeParent } from './chunk-MY374UUD.js';
|
|
3
|
-
import { OrgLabel } from './chunk-
|
|
3
|
+
import { OrgLabel } from './chunk-LM6VYJTV.js';
|
|
4
4
|
import { AddPill } from './chunk-CVKANYHD.js';
|
|
5
5
|
import { IconButton } from './chunk-UAUP6XGK.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Note } from './chunk-5SZGKSGL.js';
|
|
2
|
-
import { CanvasToolbar, toolForKey } from './chunk-
|
|
3
|
-
import { IDENTITY_VIEW, Canvas } from './chunk-
|
|
2
|
+
import { CanvasToolbar, toolForKey } from './chunk-SQ7GYC4K.js';
|
|
3
|
+
import { IDENTITY_VIEW, Canvas } from './chunk-EMCVX5FY.js';
|
|
4
4
|
import { IconButton } from './chunk-UAUP6XGK.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './CanvasBoard-U6LR5F6H.css';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Select } from './chunk-VK45YJLH.js';
|
|
2
2
|
import { SHEET_LABELS, SHEET_COLUMN_TYPES, optionHue, retypeColumn } from './chunk-LFSIKGRQ.js';
|
|
3
|
-
import { HueSwatch } from './chunk-
|
|
3
|
+
import { HueSwatch } from './chunk-SRDZVY5M.js';
|
|
4
4
|
import { NODE_HUES, NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
|
|
5
|
-
import { Checkbox } from './chunk-
|
|
5
|
+
import { Checkbox } from './chunk-EAR2F5OA.js';
|
|
6
6
|
import { Kbd } from './chunk-ANTAQAR4.js';
|
|
7
|
-
import { FormField, Input } from './chunk-
|
|
8
|
-
import { Menu } from './chunk-
|
|
7
|
+
import { FormField, Input } from './chunk-DCQ2VTBB.js';
|
|
8
|
+
import { Menu } from './chunk-KNAHKQD4.js';
|
|
9
9
|
import { Button } from './chunk-DGXZ635L.js';
|
|
10
10
|
import { IconButton } from './chunk-UAUP6XGK.js';
|
|
11
11
|
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { Select } from './chunk-VK45YJLH.js';
|
|
2
2
|
import { today, shiftMonth, CalendarGrid, compareDays } from './chunk-EE3DJMSQ.js';
|
|
3
3
|
import { Popover } from './chunk-KHJIEPZV.js';
|
|
4
|
-
import { Input } from './chunk-
|
|
4
|
+
import { Input } from './chunk-DCQ2VTBB.js';
|
|
5
5
|
import { Button } from './chunk-DGXZ635L.js';
|
|
6
6
|
import { isComposing } from './chunk-H5XTJ7GJ.js';
|
|
7
|
-
import { IconButton } from './chunk-UAUP6XGK.js';
|
|
8
7
|
import { useFocusModality } from './chunk-NUZHC6MM.js';
|
|
8
|
+
import { IconButton } from './chunk-UAUP6XGK.js';
|
|
9
9
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
10
10
|
import './TimeWindowPicker-YZPKNZZI.css';
|
|
11
11
|
import { useMemo, useState, useRef, useId, useEffect } from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Kbd } from './chunk-ANTAQAR4.js';
|
|
2
|
-
import { Textarea } from './chunk-
|
|
2
|
+
import { Textarea } from './chunk-DCQ2VTBB.js';
|
|
3
3
|
import { isComposing } from './chunk-H5XTJ7GJ.js';
|
|
4
4
|
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -2,7 +2,7 @@ import { Link } from './chunk-QF5UNP4T.js';
|
|
|
2
2
|
import { Tag } from './chunk-I5OIKDX2.js';
|
|
3
3
|
import { RelativeTime } from './chunk-EJNJMHQG.js';
|
|
4
4
|
import { EmptyValue } from './chunk-RE3FBGQQ.js';
|
|
5
|
-
import { Avatar } from './chunk-
|
|
5
|
+
import { Avatar } from './chunk-KTIQSSME.js';
|
|
6
6
|
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
7
7
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
8
8
|
import './TableCells-TKSNLRK3.css';
|
|
@@ -2,7 +2,7 @@ import { Select } from './chunk-VK45YJLH.js';
|
|
|
2
2
|
import { Modal } from './chunk-C667GCU7.js';
|
|
3
3
|
import { CopyButton } from './chunk-T5GBTXNC.js';
|
|
4
4
|
import { Callout } from './chunk-BPCY7ZID.js';
|
|
5
|
-
import { PrincipalAvatar } from './chunk-
|
|
5
|
+
import { PrincipalAvatar } from './chunk-N2BF272H.js';
|
|
6
6
|
import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
|
|
7
7
|
import { useMediaMatch } from './chunk-RTPQDNW3.js';
|
|
8
8
|
import { Button } from './chunk-DGXZ635L.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Modal } from './chunk-C667GCU7.js';
|
|
2
2
|
import { useListbox, useHighlightRest } from './chunk-7KHM2FZH.js';
|
|
3
3
|
import { Kbd } from './chunk-ANTAQAR4.js';
|
|
4
|
-
import { Input } from './chunk-
|
|
4
|
+
import { Input } from './chunk-DCQ2VTBB.js';
|
|
5
5
|
import { Count } from './chunk-MLDTLZAO.js';
|
|
6
6
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
7
7
|
import { isComposing } from './chunk-H5XTJ7GJ.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Toolbar } from './chunk-NR4CPM4T.js';
|
|
2
|
-
import { ShortcutTip } from './chunk-
|
|
2
|
+
import { ShortcutTip } from './chunk-EMCVX5FY.js';
|
|
3
3
|
import { IconButton } from './chunk-UAUP6XGK.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './CanvasToolbar-EM5EVZED.css';
|
|
@@ -3,7 +3,7 @@ import { useListbox, useOptionKeys } from './chunk-7KHM2FZH.js';
|
|
|
3
3
|
import { Popover } from './chunk-KHJIEPZV.js';
|
|
4
4
|
import { KeyChip, highlightMatch } from './chunk-HBDA76EZ.js';
|
|
5
5
|
import { Skeleton } from './chunk-BRLZXYPA.js';
|
|
6
|
-
import { Input } from './chunk-
|
|
6
|
+
import { Input } from './chunk-DCQ2VTBB.js';
|
|
7
7
|
import { announce } from './chunk-2G355KDJ.js';
|
|
8
8
|
import { useMediaMatch } from './chunk-RTPQDNW3.js';
|
|
9
9
|
import { focusables, isComposing } from './chunk-H5XTJ7GJ.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useReorder } from './chunk-MPVMB2DV.js';
|
|
2
2
|
import { Kbd } from './chunk-ANTAQAR4.js';
|
|
3
|
-
import { FormField, Textarea } from './chunk-
|
|
3
|
+
import { FormField, Textarea } from './chunk-DCQ2VTBB.js';
|
|
4
4
|
import { characterCountState, CharacterCount, countCharacters } from './chunk-PGCLHYVP.js';
|
|
5
5
|
import { announce } from './chunk-2G355KDJ.js';
|
|
6
6
|
import { Button } from './chunk-DGXZ635L.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Modal } from './chunk-C667GCU7.js';
|
|
2
2
|
import { Callout } from './chunk-BPCY7ZID.js';
|
|
3
|
-
import { SegmentedControl } from './chunk-
|
|
4
|
-
import { FormField, Input } from './chunk-
|
|
3
|
+
import { SegmentedControl } from './chunk-PYJLHHYF.js';
|
|
4
|
+
import { FormField, Input } from './chunk-DCQ2VTBB.js';
|
|
5
5
|
import { Button } from './chunk-DGXZ635L.js';
|
|
6
6
|
import { useState } from 'react';
|
|
7
7
|
import { ClockGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useTreeState, useMeasuredSizes, layoutForest, treeAncestors, useLayoutAnchor, treeExpandable, layoutConnectors, treeItemAction, treeStep, treePosInSet, treeSetSize, treeLevel, placeGroups } from './chunk-MY374UUD.js';
|
|
2
|
-
import { CANVAS_COMPOSE_CONTEXT, CANVAS_FIT_MAX_ZOOM, Canvas } from './chunk-
|
|
2
|
+
import { CANVAS_COMPOSE_CONTEXT, CANVAS_FIT_MAX_ZOOM, Canvas } from './chunk-EMCVX5FY.js';
|
|
3
3
|
import { focusables } from './chunk-H5XTJ7GJ.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './TreeCanvas-5FPK4CII.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { safeHref } from './chunk-BAKPMH3S.js';
|
|
2
1
|
import { IconTile } from './chunk-3LI4TRUR.js';
|
|
2
|
+
import { safeHref } from './chunk-KBZO4B33.js';
|
|
3
3
|
import { ReceiptStrip } from './chunk-ZWCK4N4L.js';
|
|
4
4
|
import { StatusCard } from './chunk-NTQPJJAN.js';
|
|
5
5
|
import { ButtonLink, Button } from './chunk-DGXZ635L.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { richEditorLabels } from './chunk-
|
|
1
|
+
import { richEditorLabels } from './chunk-2DMTW2Y3.js';
|
|
2
2
|
import { Callout } from './chunk-BPCY7ZID.js';
|
|
3
3
|
import { Skeleton } from './chunk-BRLZXYPA.js';
|
|
4
4
|
import { Button } from './chunk-DGXZ635L.js';
|
|
@@ -9,7 +9,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
9
9
|
var engine = null;
|
|
10
10
|
var loading = null;
|
|
11
11
|
function loadEngine() {
|
|
12
|
-
loading ??= import('./Editor-
|
|
12
|
+
loading ??= import('./Editor-OLFAUSUA.js').then(
|
|
13
13
|
(module) => {
|
|
14
14
|
engine = module.Editor;
|
|
15
15
|
return engine;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useRoving, tabStop } from './chunk-EGMQURBR.js';
|
|
2
2
|
import { StatusDot } from './chunk-WIATRXEJ.js';
|
|
3
3
|
import { Count } from './chunk-MLDTLZAO.js';
|
|
4
|
-
import { Menu } from './chunk-
|
|
4
|
+
import { Menu } from './chunk-KNAHKQD4.js';
|
|
5
5
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
6
6
|
import { VisuallyHidden } from './chunk-UT6CW3C7.js';
|
|
7
7
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PRESENCE_LABELS, presenceOrder, collapseSessions } from './chunk-Z7JYG5TF.js';
|
|
2
|
-
import { Avatar } from './chunk-
|
|
2
|
+
import { Avatar } from './chunk-KTIQSSME.js';
|
|
3
3
|
import { headingTag, useHeadingLevel } from './chunk-PQADV6P6.js';
|
|
4
4
|
import { Button } from './chunk-DGXZ635L.js';
|
|
5
5
|
import { IconButton } from './chunk-UAUP6XGK.js';
|
|
@@ -106,6 +106,7 @@ export * from '../InboxList/index.js';
|
|
|
106
106
|
export * from '../IndicatorAnchor/index.js';
|
|
107
107
|
export * from '../InlineCode/index.js';
|
|
108
108
|
export * from '../InlineEditor/index.js';
|
|
109
|
+
export * from '../InlineRef/index.js';
|
|
109
110
|
export * from '../Input/index.js';
|
|
110
111
|
export * from '../Kbd/index.js';
|
|
111
112
|
export * from '../KeyChip/index.js';
|