@crewlethq/ui 0.147.0 → 0.149.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 +9 -1
- package/dist/ActivityLine/index.js +3 -3
- package/dist/AgentHandoffPanel/index.js +8 -8
- package/dist/AppShell/index.js +5 -5
- package/dist/ArrangeFrame/index.js +3 -3
- package/dist/ArrangeList/index.js +5 -5
- package/dist/ArtifactBar/ArtifactBar.d.ts +7 -2
- package/dist/ArtifactBar/index.js +7 -7
- package/dist/{ArtifactBar-X46WJNW7.css → ArtifactBar-R2DQPOJK.css} +52 -1
- package/dist/ArtifactCard/index.js +6 -6
- package/dist/ArtifactPanel/index.js +4 -4
- package/dist/ArtifactRef/ArtifactRef.d.ts +23 -0
- package/dist/ArtifactRef/index.d.ts +2 -0
- package/dist/ArtifactRef/index.js +5 -0
- package/dist/AttentionList/index.js +4 -4
- package/dist/Avatar/index.js +1 -1
- package/dist/{Avatar-HD7YSWDV.css → Avatar-OUKBB6UF.css} +19 -5
- package/dist/AvatarPicker/index.js +8 -8
- package/dist/BriefCard/index.js +3 -3
- package/dist/Button/index.js +2 -2
- package/dist/Callout/index.js +3 -3
- package/dist/Canvas/index.js +4 -4
- package/dist/CanvasBoard/index.js +6 -6
- package/dist/CanvasToolbar/index.js +5 -5
- package/dist/ChangeMark/index.js +2 -2
- package/dist/ChatMessage/index.js +3 -3
- package/dist/ChatThread/index.js +4 -4
- package/dist/CheckGrid/index.js +5 -5
- package/dist/Checkbox/index.js +4 -4
- package/dist/Clamp/index.js +3 -3
- package/dist/CodeBlock/CodeBlock.d.ts +11 -1
- package/dist/CodeBlock/index.js +6 -6
- package/dist/CodeBlock/syntax.d.ts +23 -0
- package/dist/{CodeBlock-LS7H6KUQ.css → CodeBlock-GPNAG43I.css} +34 -0
- package/dist/ColorField/index.js +4 -4
- package/dist/ColorSwatch/index.js +6 -6
- package/dist/Combobox/index.js +4 -4
- package/dist/CommandPalette/index.js +6 -6
- package/dist/CommentPin/CommentPinGlyph.d.ts +6 -0
- package/dist/CommentPin/cursor.d.ts +23 -0
- package/dist/CommentPin/index.d.ts +3 -0
- package/dist/CommentPin/index.js +1 -1
- package/dist/CommentPin/shape.d.ts +4 -0
- package/dist/CommentThread/index.js +7 -7
- package/dist/Composer/index.js +4 -4
- package/dist/ConfirmField/index.js +4 -4
- package/dist/ConflictNote/index.js +3 -3
- package/dist/ContrastHelp/index.js +3 -3
- package/dist/Copyable/index.js +5 -5
- package/dist/DataGrid/index.js +6 -6
- package/dist/DataTable/index.js +8 -8
- package/dist/DataView/index.js +12 -12
- package/dist/DateTimePicker/index.js +4 -4
- package/dist/DeepWorkCard/index.js +4 -4
- package/dist/DeliveryReceipt/DeliveryReceipt.d.ts +69 -53
- package/dist/DeliveryReceipt/index.js +8 -1
- package/dist/DeliveryReceipt-GTES3RSG.css +90 -0
- package/dist/DocTabsEditor/index.js +6 -6
- package/dist/DownloadButton/index.js +3 -3
- package/dist/{Editor-C422VBJS.js → Editor-FXREHINI.js} +7 -7
- package/dist/EmojiPicker/index.js +4 -4
- package/dist/EntityChip/index.js +1 -1
- package/dist/ErrorBoundary/index.js +3 -3
- package/dist/FactList/index.js +2 -2
- package/dist/FileDrop/index.js +3 -3
- package/dist/FilterPill/index.js +3 -3
- package/dist/FollowBanner/index.js +5 -5
- package/dist/Fullscreen/index.js +3 -3
- package/dist/GraphCanvas/index.js +6 -6
- package/dist/HuePicker/index.js +7 -7
- package/dist/IconButton/index.js +2 -2
- package/dist/ImageUpload/index.js +1 -1
- package/dist/InlineEditor/index.js +3 -3
- package/dist/InlineRef/index.js +1 -1
- package/dist/{InlineRef-LHU6MH4I.css → InlineRef-CUBTBIYD.css} +2 -1
- package/dist/Input/index.js +3 -3
- package/dist/KeyValueRows/index.js +5 -5
- package/dist/LinkInterstitial/index.js +6 -6
- package/dist/ListDetail/index.js +3 -3
- package/dist/ListInput/index.js +5 -5
- package/dist/LogoSlot/index.js +4 -4
- package/dist/MarkdownEditor/index.js +7 -7
- package/dist/MemberPicker/index.js +5 -5
- package/dist/Menu/index.js +4 -4
- package/dist/MergeConflicts/index.js +7 -7
- package/dist/MessageActions/index.js +5 -5
- package/dist/Modal/index.js +4 -4
- package/dist/NoticeList/index.js +3 -3
- package/dist/OpenInAppCard/index.js +5 -5
- package/dist/OrgLabel/index.js +1 -1
- package/dist/OrgNode/index.js +1 -1
- package/dist/OrgTable/index.js +9 -9
- package/dist/PeekRail/index.js +4 -4
- package/dist/PeopleRail/index.js +5 -5
- package/dist/PinTile/index.js +3 -3
- package/dist/PresenceStack/index.js +1 -1
- package/dist/PresenterView/index.js +5 -5
- package/dist/Principal/index.js +1 -1
- package/dist/PrincipalPicker/index.js +6 -6
- package/dist/ProposalCard/index.js +8 -8
- package/dist/RailList/index.js +5 -5
- package/dist/ReactionBar/index.js +5 -5
- package/dist/ReceiptStrip/index.js +3 -3
- package/dist/ResultTableCard/index.js +4 -4
- package/dist/RichEditor/index.js +5 -5
- package/dist/SandboxedFrame/index.js +5 -5
- package/dist/SectionFrame/index.js +4 -4
- package/dist/SegmentedControl/index.js +6 -6
- package/dist/SelectionBar/index.js +3 -3
- package/dist/SendButton/index.js +3 -3
- package/dist/SettingsTable/index.js +5 -5
- package/dist/ShareDialog/index.js +10 -10
- package/dist/SheetColumnEditor/index.js +10 -10
- package/dist/SheetGrid/index.js +7 -7
- package/dist/SidePanel/index.js +3 -3
- package/dist/SidebarNav/index.js +3 -3
- package/dist/SlideCompare/index.js +3 -3
- package/dist/SlideFilmstrip/index.js +5 -5
- package/dist/SlideNav/index.js +3 -3
- package/dist/StatusLine/index.js +2 -2
- package/dist/Switcher/index.js +6 -6
- package/dist/TableCells/index.js +1 -1
- package/dist/Tabs/index.js +5 -5
- package/dist/TagsInput/index.js +3 -3
- package/dist/ThemeSwitcher/index.js +7 -7
- package/dist/ThemeToggle/index.js +3 -3
- package/dist/ThreadSummary/index.js +2 -2
- package/dist/TimeRangePicker/index.js +10 -10
- package/dist/TimeWindowPicker/index.js +5 -5
- package/dist/Tooltip/Tooltip.d.ts +8 -1
- package/dist/Tooltip/index.js +1 -1
- package/dist/TreeCanvas/index.js +5 -5
- package/dist/TreeGrid/index.js +7 -7
- package/dist/ValueField/index.js +5 -5
- package/dist/VersionCompare/index.js +7 -7
- package/dist/VersionTimeline/index.js +4 -4
- package/dist/WorkingLine/index.js +2 -2
- package/dist/{chunk-CYRGASHY.js → chunk-27NS67UI.js} +2 -2
- package/dist/{chunk-2RJFKMTX.js → chunk-27ZF7D3C.js} +2 -2
- package/dist/chunk-2EPEVS2M.js +158 -0
- package/dist/{chunk-SPCNQUEU.js → chunk-2PSOUDCS.js} +1 -1
- package/dist/{chunk-IEM64WYC.js → chunk-2QPELDAA.js} +2 -2
- package/dist/{chunk-RG6XQJ74.js → chunk-2W2KAF7D.js} +1 -1
- package/dist/{chunk-CLEQII3E.js → chunk-3EL3IF3W.js} +1 -1
- package/dist/{chunk-QA774VCH.js → chunk-3GWCWUSY.js} +1 -1
- package/dist/{chunk-2Z5SMA7Q.js → chunk-3OZPHFDT.js} +1 -1
- package/dist/{chunk-YLOADTDS.js → chunk-3RLOH5AR.js} +1 -1
- package/dist/{chunk-N37AX25G.js → chunk-3SUIU2ZO.js} +3 -3
- package/dist/{chunk-IAER2ZMS.js → chunk-4DUK2TC4.js} +1 -1
- package/dist/{chunk-T7J2U3IN.js → chunk-4LNSURYZ.js} +1 -1
- package/dist/{chunk-BXP6WDKR.js → chunk-5C7MP4C7.js} +2 -2
- package/dist/{chunk-WTRAMP4V.js → chunk-5ORAUELE.js} +3 -3
- package/dist/{chunk-VXSCGB2L.js → chunk-6RBE5RVG.js} +2 -2
- package/dist/{chunk-UOVEN5RY.js → chunk-7C6NHVMX.js} +5 -5
- package/dist/{chunk-RIAEOKY7.js → chunk-7CVV3DQC.js} +1 -1
- package/dist/{chunk-RJZO5NQW.js → chunk-7FY7L6WD.js} +2 -2
- package/dist/{chunk-OU4P4E3U.js → chunk-7J2RIAZ4.js} +1 -1
- package/dist/{chunk-BPCXMQMB.js → chunk-7MAU74EI.js} +1 -1
- package/dist/{chunk-UJETUDIL.js → chunk-7PK2Z5JY.js} +2 -2
- package/dist/{chunk-SSRQLPGT.js → chunk-7SXCCVUR.js} +2 -2
- package/dist/{chunk-RMGAZEEX.js → chunk-7WXLPNZF.js} +1 -1
- package/dist/{chunk-52JW3QTH.js → chunk-AH7R777J.js} +3 -3
- package/dist/{chunk-5L4ZSNGP.js → chunk-AU4EKD2G.js} +1 -1
- package/dist/{chunk-PDGXQBFS.js → chunk-BFZAGIXR.js} +3 -1
- package/dist/{chunk-QNN4OYLU.js → chunk-BJE7TPO6.js} +2 -2
- package/dist/{chunk-TYCICVST.js → chunk-BRMJPZC4.js} +1 -1
- package/dist/{chunk-EZG3SRSM.js → chunk-CA62YCFK.js} +1 -1
- package/dist/{chunk-JXLFC5BX.js → chunk-CC5NUAOF.js} +1 -1
- package/dist/{chunk-74B3HREV.js → chunk-CJGLMT44.js} +1 -1
- package/dist/{chunk-TCQIJ2VO.js → chunk-CRGYWLP6.js} +1 -1
- package/dist/{chunk-2UEMCSVB.js → chunk-CXJMWEZC.js} +1 -1
- package/dist/{chunk-HHCD55D3.js → chunk-D33K2BCZ.js} +1 -1
- package/dist/{chunk-SNKLBPXQ.js → chunk-DGB7R42F.js} +1 -1
- package/dist/{chunk-GYVL23ZK.js → chunk-DLYYW77C.js} +1 -1
- package/dist/{chunk-7VE7SOH6.js → chunk-E3JUS3CR.js} +1 -1
- package/dist/{chunk-X2R3GWCB.js → chunk-ECHQLOWI.js} +2 -2
- package/dist/{chunk-QDVXEQJC.js → chunk-EDQHZOU3.js} +3 -3
- package/dist/{chunk-HLCQHRHJ.js → chunk-EO64FXVL.js} +1 -1
- package/dist/{chunk-BXGFDSC7.js → chunk-F6OYNO7O.js} +3 -3
- package/dist/{chunk-5DI546IE.js → chunk-FCRJAFTU.js} +7 -7
- package/dist/{chunk-LO3CTXQI.js → chunk-FMKQSDBQ.js} +3 -3
- package/dist/chunk-FYVV6GJN.js +32 -0
- package/dist/{chunk-D7XI5DN5.js → chunk-GMXOZEF5.js} +1 -1
- package/dist/{chunk-3HY3KHMR.js → chunk-GR6XGA5V.js} +2 -2
- package/dist/{chunk-R4H352IB.js → chunk-HHTAGV5R.js} +1 -1
- package/dist/{chunk-EVOLZQTB.js → chunk-HIDOUXLD.js} +1 -1
- package/dist/{chunk-CMLRFHBD.js → chunk-HJ6ZY4UX.js} +2 -2
- package/dist/{chunk-F37ZBF4D.js → chunk-HYUO2RHC.js} +1 -1
- package/dist/{chunk-QGDQ5YDC.js → chunk-IMF3CPTY.js} +2 -2
- package/dist/{chunk-TRV7VZW6.js → chunk-IRGS5FEC.js} +1 -1
- package/dist/{chunk-P67SLIPX.js → chunk-IRLHICS4.js} +2 -2
- package/dist/{chunk-HDJMTHAP.js → chunk-IZH5DCOQ.js} +1 -1
- package/dist/{chunk-3ZJ6X3ZJ.js → chunk-JD5K6Y7Q.js} +3 -3
- package/dist/{chunk-7R77GFUO.js → chunk-JNDZGQGS.js} +2 -2
- package/dist/{chunk-DJAYXYDZ.js → chunk-KM5OKCW6.js} +2 -2
- package/dist/{chunk-NDZEN2ON.js → chunk-KQUENZR3.js} +1 -1
- package/dist/{chunk-PD3RJT3F.js → chunk-LDSLEEWR.js} +3 -3
- package/dist/{chunk-MCZJ2SD7.js → chunk-LZ3TKYAY.js} +2 -2
- package/dist/{chunk-LDVZYLA6.js → chunk-M2USLODI.js} +2 -2
- package/dist/{chunk-VGAZHT6S.js → chunk-M4VA76JF.js} +6 -6
- package/dist/chunk-ML4E6FFN.js +87 -0
- package/dist/{chunk-AHK3M2QG.js → chunk-MUBJN75T.js} +19 -8
- package/dist/{chunk-5B5N4X5H.js → chunk-N3LAAA4R.js} +3 -3
- package/dist/{chunk-RVFSUF7V.js → chunk-N3R2POGO.js} +3 -3
- package/dist/chunk-NZHWGKPW.js +334 -0
- package/dist/{chunk-XIJU47UT.js → chunk-O2J5PSWI.js} +2 -2
- package/dist/{chunk-QPAUKLNC.js → chunk-O3CY4MHN.js} +3 -3
- package/dist/{chunk-R75TTEHL.js → chunk-OAD4AXYJ.js} +1 -1
- package/dist/{chunk-ZCA3JNQS.js → chunk-ODN3LSYW.js} +1 -1
- package/dist/{chunk-BKHS6YPM.js → chunk-OMVGWZ3V.js} +1 -1
- package/dist/{chunk-ETVXKUW7.js → chunk-PW6QXVIX.js} +3 -3
- package/dist/{chunk-PGLRFPYY.js → chunk-Q7RI66TT.js} +4 -4
- package/dist/{chunk-FYN2HXEB.js → chunk-QRUQOITJ.js} +1 -1
- package/dist/{chunk-XNTYJAHL.js → chunk-QULAFXL3.js} +1 -1
- package/dist/{chunk-SIYTWQHB.js → chunk-R2RHSKAT.js} +3 -3
- package/dist/{chunk-V2K6EHJA.js → chunk-RNVPYDRQ.js} +1 -1
- package/dist/{chunk-TNYRJVKE.js → chunk-RTMFZLU3.js} +2 -2
- package/dist/{chunk-WGSIKYDE.js → chunk-RUNZWWN6.js} +5 -5
- package/dist/{chunk-QNG5MH7P.js → chunk-RXHY5T2Z.js} +2 -2
- package/dist/{chunk-Z3GOZ42N.js → chunk-S4ADDFRT.js} +3 -3
- package/dist/{chunk-EFTWYGN5.js → chunk-TBOVJ7RL.js} +1 -1
- package/dist/{chunk-ZPJX57QO.js → chunk-TPABM6DW.js} +2 -2
- package/dist/{chunk-ACXYNJZR.js → chunk-TSLXQVBC.js} +1 -1
- package/dist/{chunk-WK3OWTOD.js → chunk-TTUFOH2Y.js} +1 -1
- package/dist/{chunk-LHGDKWHV.js → chunk-U3ZUZ7VU.js} +3 -3
- package/dist/{chunk-X4QL7STV.js → chunk-UEO3A76N.js} +1 -1
- package/dist/{chunk-BMAE4KDY.js → chunk-UPQ4MDPE.js} +2 -2
- package/dist/{chunk-LILN66O3.js → chunk-V4CGY2CI.js} +1 -1
- package/dist/{chunk-PY3PKWAN.js → chunk-V67VL3WD.js} +1 -1
- package/dist/{chunk-JLWCONCZ.js → chunk-VARFEAUH.js} +5 -5
- package/dist/{chunk-OL42IZ6I.js → chunk-VFC7KVCW.js} +1 -1
- package/dist/{chunk-HTWN4IJJ.js → chunk-W2T7RGH7.js} +2 -2
- package/dist/{chunk-3FBJACLW.js → chunk-WAF36OFS.js} +5 -5
- package/dist/{chunk-EILMLMSG.js → chunk-WOHPQEBZ.js} +1 -1
- package/dist/{chunk-QWDTC2UI.js → chunk-WSKVFRKK.js} +1 -1
- package/dist/{chunk-TAOVSH32.js → chunk-X5ZUDJNK.js} +1 -1
- package/dist/{chunk-CNEHTSA5.js → chunk-XJU53WMW.js} +1 -1
- package/dist/{chunk-VGYVCLN4.js → chunk-XQMRSL7Z.js} +1 -1
- package/dist/{chunk-UC4YASMJ.js → chunk-YMBXTGFC.js} +2 -2
- package/dist/{chunk-VWEF6LTZ.js → chunk-YOCTDR2P.js} +1 -1
- package/dist/{chunk-H4OV6SYF.js → chunk-YRNIPS4M.js} +2 -2
- package/dist/{chunk-2BIGA4VD.js → chunk-YWPUT6JQ.js} +2 -2
- package/dist/{chunk-5DYNF5U2.js → chunk-Z6HWOPI7.js} +1 -1
- package/dist/{chunk-DQ3MKG7I.js → chunk-Z6OZNSHF.js} +1 -1
- package/dist/{chunk-PRNJO37A.js → chunk-Z7BA2EVV.js} +2 -2
- package/dist/{chunk-YKM3HCDL.js → chunk-ZAQ7CEYN.js} +2 -2
- package/dist/{chunk-WYO5KDET.js → chunk-ZC73GPA3.js} +1 -1
- package/dist/{chunk-SQHDMVU7.js → chunk-ZFSKRN6D.js} +1 -1
- package/dist/{chunk-4DKECHWE.js → chunk-ZMZNKDPO.js} +4 -4
- package/dist/{chunk-2FAEKL36.js → chunk-ZNEMXLTY.js} +1 -1
- package/dist/generated/index.d.ts +1 -0
- package/dist/generated/index.js +141 -140
- package/dist/index.js +141 -140
- package/dist/styles.css +173 -47
- package/package.json +3 -3
- package/dist/DeliveryReceipt-BILVVNTO.css +0 -64
- package/dist/chunk-GTNXDLYH.js +0 -146
- package/dist/chunk-L6E4DVIF.js +0 -131
- package/dist/chunk-VG4WNM7W.js +0 -22
- /package/dist/{chunk-RH6TJZRO.js → chunk-II7TPQ64.js} +0 -0
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { InlineRef } from './chunk-TSLXQVBC.js';
|
|
2
|
+
import { ArtifactKindGlyph } from './chunk-RSKW25Y5.js';
|
|
3
|
+
import { LayersGlyph } from '@crewlethq/icons/glyphs';
|
|
4
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
|
+
|
|
6
|
+
var ARTIFACT_REF_KIND_LABELS = {
|
|
7
|
+
html: "HTML",
|
|
8
|
+
doc: "Doc",
|
|
9
|
+
slides: "Slides",
|
|
10
|
+
design: "Design",
|
|
11
|
+
dashboard: "Dashboard",
|
|
12
|
+
sheet: "Sheet",
|
|
13
|
+
brand: "Brand"
|
|
14
|
+
};
|
|
15
|
+
function ArtifactRef({ kind, title, kindLabel, hint, after, wrap = true, ...rest }) {
|
|
16
|
+
return /* @__PURE__ */ jsxs(
|
|
17
|
+
InlineRef,
|
|
18
|
+
{
|
|
19
|
+
mark: kind ? /* @__PURE__ */ jsx(ArtifactKindGlyph, { kind }) : /* @__PURE__ */ jsx(LayersGlyph, {}),
|
|
20
|
+
kind: kindLabel ?? (kind ? ARTIFACT_REF_KIND_LABELS[kind] : "Artifact"),
|
|
21
|
+
wrap,
|
|
22
|
+
title: hint,
|
|
23
|
+
...rest,
|
|
24
|
+
children: [
|
|
25
|
+
title,
|
|
26
|
+
after
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export { ARTIFACT_REF_KIND_LABELS, ArtifactRef };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { copyGlyph, CopyStatus } from './chunk-
|
|
1
|
+
import { copyGlyph, CopyStatus } from './chunk-IRGS5FEC.js';
|
|
2
2
|
import { useClipboard } from './chunk-STJ7QBC3.js';
|
|
3
3
|
import { pathBreaks } from './chunk-HZXS5CEL.js';
|
|
4
|
-
import { IconButton } from './chunk-
|
|
4
|
+
import { IconButton } from './chunk-KM5OKCW6.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './Copyable-U4RPG75T.css';
|
|
7
7
|
import { useCallback } from 'react';
|
|
@@ -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-JD5K6Y7Q.js';
|
|
3
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';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Callout } from './chunk-
|
|
2
|
-
import { Button } from './chunk-
|
|
1
|
+
import { Callout } from './chunk-UEO3A76N.js';
|
|
2
|
+
import { Button } from './chunk-IMF3CPTY.js';
|
|
3
3
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import { useEffect } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IconButton } from './chunk-
|
|
1
|
+
import { IconButton } from './chunk-KM5OKCW6.js';
|
|
2
2
|
import { MinimizeGlyph, MaximizeGlyph } from '@crewlethq/icons/glyphs';
|
|
3
3
|
import { useState, useEffect, useCallback } from 'react';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Spinner } from './chunk-XSPCITPN.js';
|
|
2
2
|
import { heldHint } from './chunk-TDFLCUBE.js';
|
|
3
|
-
import { Tooltip } from './chunk-
|
|
3
|
+
import { Tooltip } from './chunk-BFZAGIXR.js';
|
|
4
4
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './Button-ODH5JR7N.css';
|
|
@@ -95,7 +95,7 @@ var Button = forwardRef(function Button2({
|
|
|
95
95
|
}
|
|
96
96
|
);
|
|
97
97
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
98
|
-
tip ? /* @__PURE__ */ jsx(Tooltip, { content:
|
|
98
|
+
tip ? /* @__PURE__ */ jsx(Tooltip, { content: tip, describes: false, pressOpens: disabledReason !== void 0, children: button }) : button,
|
|
99
99
|
disabledReason === void 0 ? null : /* @__PURE__ */ jsx(VisuallyHidden, { id: reasonId, children: disabledReason })
|
|
100
100
|
] });
|
|
101
101
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useClipboard } from './chunk-STJ7QBC3.js';
|
|
2
|
-
import { Button } from './chunk-
|
|
2
|
+
import { Button } from './chunk-IMF3CPTY.js';
|
|
3
3
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { useCallback } from 'react';
|
|
5
5
|
import { CheckGlyph, CircleAlertGlyph, CopyGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useMeasuredSizes, isTypeAheadKey, typeAheadBuffer } from './chunk-MY374UUD.js';
|
|
2
|
-
import { FullscreenToggle } from './chunk-
|
|
2
|
+
import { FullscreenToggle } from './chunk-HYUO2RHC.js';
|
|
3
3
|
import { FilterChip } from './chunk-L6HUVA33.js';
|
|
4
|
-
import { CANVAS_FIT_PADDING, Canvas } from './chunk-
|
|
4
|
+
import { CANVAS_FIT_PADDING, Canvas } from './chunk-JD5K6Y7Q.js';
|
|
5
5
|
import { Text } from './chunk-475DOAWF.js';
|
|
6
6
|
import { LayerHost } from './chunk-AVJKMQXK.js';
|
|
7
7
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Table } from './chunk-YGN4SBNP.js';
|
|
2
|
-
import { DownloadButton } from './chunk-
|
|
2
|
+
import { DownloadButton } from './chunk-VFC7KVCW.js';
|
|
3
3
|
import { StatusCard } from './chunk-NWKH5FF7.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './ResultTableCard-AP355LQM.css';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { LayerNodeBridge } from './chunk-CUEPPDBC.js';
|
|
2
2
|
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
3
|
-
import { Button } from './chunk-
|
|
4
|
-
import { IconButton } from './chunk-
|
|
5
|
-
import { Tooltip } from './chunk-
|
|
3
|
+
import { Button } from './chunk-IMF3CPTY.js';
|
|
4
|
+
import { IconButton } from './chunk-KM5OKCW6.js';
|
|
5
|
+
import { Tooltip } from './chunk-BFZAGIXR.js';
|
|
6
6
|
import { LAYER_REPOSITION_EVENT, LayerHost } from './chunk-AVJKMQXK.js';
|
|
7
7
|
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
8
8
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useAppShellPeek } from './chunk-MBEZOURR.js';
|
|
2
2
|
import { ResizeHandle } from './chunk-FQ6J4DK7.js';
|
|
3
|
-
import { ButtonLink } from './chunk-
|
|
4
|
-
import { IconButton } from './chunk-
|
|
3
|
+
import { ButtonLink } from './chunk-IMF3CPTY.js';
|
|
4
|
+
import { IconButton } from './chunk-KM5OKCW6.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './HitArea-QUOS6ZDJ.css';
|
|
7
7
|
import './ResizeHandle-W6GA5OO6.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { heldHint } from './chunk-TDFLCUBE.js';
|
|
2
|
-
import { Tooltip } from './chunk-
|
|
2
|
+
import { Tooltip } from './chunk-BFZAGIXR.js';
|
|
3
3
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './IconButton-QIJJCVNG.css';
|
|
@@ -66,7 +66,7 @@ var IconButton = forwardRef(function IconButton2({
|
|
|
66
66
|
}
|
|
67
67
|
);
|
|
68
68
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
69
|
-
tip === void 0 ? button : /* @__PURE__ */ jsx(Tooltip, { content:
|
|
69
|
+
tip === void 0 ? button : /* @__PURE__ */ jsx(Tooltip, { content: tip, describes: false, pressOpens: disabledReason !== void 0, children: button }),
|
|
70
70
|
inert ? /* @__PURE__ */ jsx(VisuallyHidden, { id: reasonId, children: disabledReason }) : null
|
|
71
71
|
] });
|
|
72
72
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SlideStage } from './chunk-7O53SWKI.js';
|
|
2
|
-
import { Button } from './chunk-
|
|
2
|
+
import { Button } from './chunk-IMF3CPTY.js';
|
|
3
3
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './SlideCompare-R4GVZXAM.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Note } from './chunk-YJPQJVRJ.js';
|
|
2
|
-
import { CanvasToolbar, toolForKey } from './chunk-
|
|
3
|
-
import { IDENTITY_VIEW, Canvas } from './chunk-
|
|
4
|
-
import { IconButton } from './chunk-
|
|
2
|
+
import { CanvasToolbar, toolForKey } from './chunk-M2USLODI.js';
|
|
3
|
+
import { IDENTITY_VIEW, Canvas } from './chunk-JD5K6Y7Q.js';
|
|
4
|
+
import { IconButton } from './chunk-KM5OKCW6.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './CanvasBoard-U6LR5F6H.css';
|
|
7
7
|
import { useState, useRef, useImperativeHandle, useCallback, useMemo, useEffect } from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StatusDot } from './chunk-QRE6JCHS.js';
|
|
2
|
-
import { Tooltip } from './chunk-
|
|
2
|
+
import { Tooltip } from './chunk-BFZAGIXR.js';
|
|
3
3
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './StatusLine-C6IY3U2F.css';
|
|
@@ -16,7 +16,7 @@ function StatusLine({ label, tone, pulse = false, notes = [], detail, overflow =
|
|
|
16
16
|
className: cx("crewlet-status-line", overflow === "clip" && "crewlet-status-line--clip", className),
|
|
17
17
|
"data-quiet": tone === void 0 ? "" : void 0,
|
|
18
18
|
children: [
|
|
19
|
-
described ? /* @__PURE__ */ jsx(Tooltip, { content:
|
|
19
|
+
described ? /* @__PURE__ */ jsx(Tooltip, { content: detail, describes: false, placement: "top", children: /* @__PURE__ */ jsx("span", { className: "crewlet-status-line__main", children: word }) }) : /* @__PURE__ */ jsx("span", { className: "crewlet-status-line__main", children: word }),
|
|
20
20
|
shown.length > 0 && /* @__PURE__ */ jsx("span", { className: "crewlet-status-line__notes", children: shown.map((note, at) => (
|
|
21
21
|
// The middle dot is drawn; a reader hears a pause instead.
|
|
22
22
|
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Toolbar } from './chunk-NPEI2QAN.js';
|
|
2
|
-
import { ShortcutTip } from './chunk-
|
|
3
|
-
import { IconButton } from './chunk-
|
|
2
|
+
import { ShortcutTip } from './chunk-JD5K6Y7Q.js';
|
|
3
|
+
import { IconButton } from './chunk-KM5OKCW6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './CanvasToolbar-EM5EVZED.css';
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Select } from './chunk-657WR3MX.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-E3JUS3CR.js';
|
|
4
4
|
import { NODE_HUES, NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
|
|
5
|
-
import { Checkbox } from './chunk-
|
|
6
|
-
import { Menu } from './chunk-
|
|
7
|
-
import { FormField, Input } from './chunk-
|
|
5
|
+
import { Checkbox } from './chunk-BRMJPZC4.js';
|
|
6
|
+
import { Menu } from './chunk-ZMZNKDPO.js';
|
|
7
|
+
import { FormField, Input } from './chunk-XQMRSL7Z.js';
|
|
8
8
|
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
9
|
-
import { Button } from './chunk-
|
|
10
|
-
import { IconButton } from './chunk-
|
|
9
|
+
import { Button } from './chunk-IMF3CPTY.js';
|
|
10
|
+
import { IconButton } from './chunk-KM5OKCW6.js';
|
|
11
11
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
12
12
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
13
13
|
import './SheetColumnEditor-BO2HKFRB.css';
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { cx } from './chunk-ODEQTPFM.js';
|
|
2
|
+
import './CommentPin-YTJAKYUC.css';
|
|
3
|
+
import { forwardRef } from 'react';
|
|
4
|
+
import { CheckGlyph, cssLength, GLYPH_STROKE } from '@crewlethq/icons/glyphs';
|
|
5
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
6
|
+
import { themes } from '@crewlethq/tokens';
|
|
7
|
+
|
|
8
|
+
var CommentPin = forwardRef(function CommentPin2({ mark, label, state = "open", selected = false, className, type = "button", ...rest }, ref) {
|
|
9
|
+
return /* @__PURE__ */ jsx(
|
|
10
|
+
"button",
|
|
11
|
+
{
|
|
12
|
+
...rest,
|
|
13
|
+
ref,
|
|
14
|
+
type,
|
|
15
|
+
"aria-label": label,
|
|
16
|
+
"aria-pressed": selected,
|
|
17
|
+
className: cx("crewlet-comment-pin", `crewlet-comment-pin--${state}`, selected && "crewlet-comment-pin--selected", className),
|
|
18
|
+
children: /* @__PURE__ */ jsx("span", { className: "crewlet-comment-pin__mark", "aria-hidden": "true", children: state === "resolved" ? /* @__PURE__ */ jsx(CheckGlyph, { size: "xs" }) : mark })
|
|
19
|
+
}
|
|
20
|
+
);
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
// src/CommentPin/shape.ts
|
|
24
|
+
var COMMENT_PIN_PATH = "M3 21V12a9 9 0 1 1 9 9Z";
|
|
25
|
+
var COMMENT_PIN_PLUS_PATH = "M12 8v8M8 12h8";
|
|
26
|
+
function CommentPinGlyph({ size, title, className, style, ...rest }) {
|
|
27
|
+
const dimension = cssLength(size);
|
|
28
|
+
const semantics = title ? { role: "img", "aria-label": title } : { "aria-hidden": true, focusable: false };
|
|
29
|
+
return /* @__PURE__ */ jsxs(
|
|
30
|
+
"svg",
|
|
31
|
+
{
|
|
32
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
33
|
+
width: dimension,
|
|
34
|
+
height: dimension,
|
|
35
|
+
stroke: "currentColor",
|
|
36
|
+
...semantics,
|
|
37
|
+
className: className === void 0 ? "crewlet-glyph" : `crewlet-glyph ${className}`,
|
|
38
|
+
...rest,
|
|
39
|
+
viewBox: "0 0 24 24",
|
|
40
|
+
fill: "none",
|
|
41
|
+
strokeWidth: GLYPH_STROKE,
|
|
42
|
+
strokeLinecap: "round",
|
|
43
|
+
strokeLinejoin: "round",
|
|
44
|
+
style: { ...style, strokeWidth: `var(--crewlet-glyph-stroke, ${GLYPH_STROKE})` },
|
|
45
|
+
children: [
|
|
46
|
+
/* @__PURE__ */ jsx("path", { d: COMMENT_PIN_PATH }),
|
|
47
|
+
/* @__PURE__ */ jsx("path", { d: COMMENT_PIN_PLUS_PATH })
|
|
48
|
+
]
|
|
49
|
+
}
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
var COMMENT_PIN_CURSOR_COLOURS = {
|
|
53
|
+
fill: themes.light.color.surface.elevated,
|
|
54
|
+
edge: themes.light.color.brand.accent
|
|
55
|
+
};
|
|
56
|
+
var COMMENT_PIN_CURSOR_SIZE = 24;
|
|
57
|
+
var attribute = (value) => value.replace(/[&<>"']/g, (c) => `&#${c.charCodeAt(0)};`);
|
|
58
|
+
function commentPinCursor(colours = {}, dir = "ltr") {
|
|
59
|
+
const { fill, edge } = { ...COMMENT_PIN_CURSOR_COLOURS, ...colours };
|
|
60
|
+
const flip = dir === "rtl" ? ' transform="matrix(-1 0 0 1 24 0)"' : "";
|
|
61
|
+
const svg = `<svg xmlns="http://www.w3.org/2000/svg" width="${COMMENT_PIN_CURSOR_SIZE}" height="${COMMENT_PIN_CURSOR_SIZE}" viewBox="0 0 24 24"><g${flip} stroke-linecap="round" stroke-linejoin="round"><path d="${COMMENT_PIN_PATH}" fill="${attribute(fill)}" stroke="${attribute(edge)}" stroke-width="2" stroke-dasharray="3.5 2.5"/><path d="${COMMENT_PIN_PLUS_PATH}" fill="none" stroke="${attribute(edge)}" stroke-width="2"/></g></svg>`;
|
|
62
|
+
const [x, y] = dir === "rtl" ? [21, 21] : [3, 21];
|
|
63
|
+
return `url("data:image/svg+xml,${encodeURIComponent(svg)}") ${x} ${y}, crosshair`;
|
|
64
|
+
}
|
|
65
|
+
function commentPinCursorAt(element) {
|
|
66
|
+
const view = element.ownerDocument.defaultView;
|
|
67
|
+
if (!view) return commentPinCursor();
|
|
68
|
+
const { fill, edge } = COMMENT_PIN_CURSOR_COLOURS;
|
|
69
|
+
return commentPinCursor(
|
|
70
|
+
{
|
|
71
|
+
fill: colourAt(element, `var(--color-surface-elevated, ${fill})`),
|
|
72
|
+
edge: colourAt(element, `var(--color-brand-accent, ${edge})`)
|
|
73
|
+
},
|
|
74
|
+
view.getComputedStyle(element).direction === "rtl" ? "rtl" : "ltr"
|
|
75
|
+
);
|
|
76
|
+
}
|
|
77
|
+
function colourAt(element, colour) {
|
|
78
|
+
const probe = element.ownerDocument.createElement("span");
|
|
79
|
+
probe.style.display = "none";
|
|
80
|
+
probe.style.color = colour;
|
|
81
|
+
element.appendChild(probe);
|
|
82
|
+
const resolved = element.ownerDocument.defaultView.getComputedStyle(probe).color;
|
|
83
|
+
probe.remove();
|
|
84
|
+
return resolved;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export { COMMENT_PIN_CURSOR_COLOURS, COMMENT_PIN_CURSOR_SIZE, CommentPin, CommentPinGlyph, commentPinCursor, commentPinCursorAt };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { SegmentedControl } from './chunk-
|
|
1
|
+
import { SegmentedControl } from './chunk-GMXOZEF5.js';
|
|
2
2
|
import { ArtifactIcon } from './chunk-AVL52EME.js';
|
|
3
|
-
import { Menu } from './chunk-
|
|
3
|
+
import { Menu } from './chunk-ZMZNKDPO.js';
|
|
4
4
|
import { isApplePlatform, Kbd, ariaKeyshortcuts } from './chunk-VBBLHS2Y.js';
|
|
5
|
-
import { Button } from './chunk-
|
|
6
|
-
import { IconButton } from './chunk-
|
|
7
|
-
import { Tooltip } from './chunk-
|
|
5
|
+
import { Button } from './chunk-IMF3CPTY.js';
|
|
6
|
+
import { IconButton } from './chunk-KM5OKCW6.js';
|
|
7
|
+
import { Tooltip } from './chunk-BFZAGIXR.js';
|
|
8
8
|
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
9
9
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
10
10
|
import './ArtifactKinds-27TE3KJL.css';
|
|
11
|
-
import './ArtifactBar-
|
|
11
|
+
import './ArtifactBar-R2DQPOJK.css';
|
|
12
12
|
import { useId, useState, useRef, useEffect } from 'react';
|
|
13
13
|
import { ChevronLeftGlyph, EllipsisGlyph, ChevronDownGlyph } from '@crewlethq/icons/glyphs';
|
|
14
14
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -338,10 +338,13 @@ function ArtifactVersionChip({
|
|
|
338
338
|
latest,
|
|
339
339
|
items,
|
|
340
340
|
label = "Versions",
|
|
341
|
-
format = (v, l) => v === l ? `v${v}` : `v${v} of ${l}
|
|
341
|
+
format = (v, l) => v === l ? `v${v}` : `v${v} of ${l}`,
|
|
342
|
+
onShowLatest,
|
|
343
|
+
showLatestLabel = "Show latest",
|
|
344
|
+
showLatestShortLabel = "Latest"
|
|
342
345
|
}) {
|
|
343
346
|
const older = version !== latest;
|
|
344
|
-
|
|
347
|
+
const chip = /* @__PURE__ */ jsx(
|
|
345
348
|
Menu,
|
|
346
349
|
{
|
|
347
350
|
label,
|
|
@@ -362,6 +365,14 @@ function ArtifactVersionChip({
|
|
|
362
365
|
)
|
|
363
366
|
}
|
|
364
367
|
);
|
|
368
|
+
if (!older || onShowLatest === void 0) return chip;
|
|
369
|
+
return /* @__PURE__ */ jsxs("span", { className: "crewlet-version-chip-group", children: [
|
|
370
|
+
chip,
|
|
371
|
+
/* @__PURE__ */ jsxs("button", { type: "button", className: "crewlet-version-chip__latest", "aria-label": showLatestLabel, onClick: onShowLatest, children: [
|
|
372
|
+
/* @__PURE__ */ jsx("span", { className: "crewlet-version-chip__latest-full", children: showLatestLabel }),
|
|
373
|
+
/* @__PURE__ */ jsx("span", { className: "crewlet-version-chip__latest-short", children: showLatestShortLabel })
|
|
374
|
+
] })
|
|
375
|
+
] });
|
|
365
376
|
}
|
|
366
377
|
|
|
367
378
|
export { ARTIFACT_BAR_LABELS, ArtifactBar, ArtifactVersionChip };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Toolbar } from './chunk-NPEI2QAN.js';
|
|
2
|
-
import { SegmentedControl } from './chunk-
|
|
3
|
-
import { tabId } from './chunk-
|
|
4
|
-
import { IconButton } from './chunk-
|
|
2
|
+
import { SegmentedControl } from './chunk-GMXOZEF5.js';
|
|
3
|
+
import { tabId } from './chunk-XJU53WMW.js';
|
|
4
|
+
import { IconButton } from './chunk-KM5OKCW6.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './MarkdownEditor-BLCJRGDC.css';
|
|
7
7
|
import { useState, useId, useRef, useLayoutEffect, useImperativeHandle } from 'react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useReorder } from './chunk-JMBPMSNI.js';
|
|
2
|
-
import { Menu } from './chunk-
|
|
3
|
-
import { Input } from './chunk-
|
|
4
|
-
import { IconButton } from './chunk-
|
|
2
|
+
import { Menu } from './chunk-ZMZNKDPO.js';
|
|
3
|
+
import { Input } from './chunk-XQMRSL7Z.js';
|
|
4
|
+
import { IconButton } from './chunk-KM5OKCW6.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './DocTabsEditor-25J6MYZF.css';
|