@crewlethq/ui 0.188.0 → 0.188.2
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 +12 -0
- package/dist/ActivityLine/index.js +6 -6
- package/dist/AgentHandoffPanel/index.js +9 -9
- package/dist/AgentIdentity/index.js +14 -14
- package/dist/AppShell/index.js +6 -6
- package/dist/ArrangeFrame/index.js +4 -4
- package/dist/ArrangeList/index.js +7 -7
- package/dist/ArtifactBar/index.js +8 -8
- package/dist/ArtifactCard/index.js +9 -9
- package/dist/ArtifactPanel/index.js +5 -5
- package/dist/AttentionList/index.js +5 -5
- package/dist/Avatar/index.js +4 -4
- package/dist/AvatarPicker/index.js +10 -10
- package/dist/BriefCard/index.js +4 -4
- package/dist/Button/index.js +3 -3
- package/dist/Callout/index.js +4 -4
- package/dist/Canvas/index.js +6 -6
- package/dist/CanvasBoard/index.js +8 -8
- package/dist/CanvasToolbar/index.js +7 -7
- package/dist/ChangeList/index.js +4 -4
- package/dist/ChangeMark/index.js +3 -3
- package/dist/ChatMessage/index.js +4 -4
- package/dist/ChatThread/index.js +5 -5
- package/dist/CheckGrid/index.js +6 -6
- package/dist/Checkbox/index.js +5 -5
- package/dist/ChipField/index.js +1 -1
- package/dist/Clamp/index.js +4 -4
- package/dist/CodeBlock/index.js +7 -7
- package/dist/ColorField/index.js +5 -5
- package/dist/ColorSwatch/index.js +7 -7
- package/dist/Combobox/index.js +5 -5
- package/dist/CommandPalette/index.js +10 -10
- package/dist/CommentThread/index.js +10 -10
- package/dist/CompactNav/index.js +2 -2
- package/dist/Composer/index.js +5 -5
- package/dist/ConfirmField/index.js +5 -5
- package/dist/ConflictNote/index.js +4 -4
- package/dist/ConsequenceList/index.js +6 -6
- package/dist/ContrastHelp/index.js +5 -5
- package/dist/Copyable/index.js +6 -6
- package/dist/DataGrid/index.js +9 -9
- package/dist/DataTable/index.js +11 -11
- package/dist/DataView/index.js +15 -15
- package/dist/DateTimePicker/index.js +6 -6
- package/dist/DeepWorkCard/index.js +5 -5
- package/dist/DeliveryReceipt/index.js +3 -3
- package/dist/DocTabsEditor/index.js +8 -8
- package/dist/DownloadButton/index.js +4 -4
- package/dist/DurationField/index.js +12 -12
- package/dist/{Editor-NFC7HEWU.js → Editor-2BMSYXKU.js} +6 -6
- package/dist/EmojiPicker/index.js +6 -6
- package/dist/EntityChip/index.js +4 -4
- package/dist/ErrorBoundary/index.js +4 -4
- package/dist/FactList/index.js +3 -3
- package/dist/FileDrop/index.js +4 -4
- package/dist/FilterPill/index.js +4 -4
- package/dist/FollowBanner/index.js +6 -6
- package/dist/Fullscreen/index.js +4 -4
- package/dist/GraphCanvas/index.js +8 -8
- package/dist/HuePicker/index.js +8 -8
- package/dist/IconButton/index.js +3 -3
- package/dist/ImageUpload/index.js +4 -4
- package/dist/InlineEditor/index.js +4 -4
- package/dist/Input/index.js +4 -4
- package/dist/KeyValueRows/index.js +6 -6
- package/dist/Layer/LayerHost.d.ts +30 -6
- package/dist/Layer/index.d.ts +1 -1
- package/dist/Layer/index.js +1 -1
- package/dist/LimitMeters/index.js +1 -1
- package/dist/{LimitMeters-BCQEUJZ3.css → LimitMeters-MZKIPOJX.css} +2 -0
- package/dist/LinkInterstitial/index.js +11 -11
- package/dist/ListDetail/index.js +4 -4
- package/dist/ListInput/index.js +7 -7
- package/dist/ListOverflow/index.js +3 -3
- package/dist/LogoSlot/index.js +5 -5
- package/dist/MarkdownEditor/index.js +8 -8
- package/dist/MemberPicker/index.js +6 -6
- package/dist/Menu/index.js +5 -5
- package/dist/{Menu-3UE2B6VK.css → Menu-ZW5RHOLE.css} +3 -2
- package/dist/MergeConflicts/index.js +8 -8
- package/dist/MessageActions/index.js +7 -7
- package/dist/Modal/index.js +9 -9
- package/dist/MoneyField/index.js +5 -5
- package/dist/NoticeList/index.js +4 -4
- package/dist/NumberField/index.js +10 -10
- package/dist/OpenInAppCard/index.js +5 -5
- package/dist/OrgLabel/index.js +4 -4
- package/dist/OrgNode/index.js +4 -4
- package/dist/OrgTable/index.js +16 -16
- package/dist/PeekRail/index.js +5 -5
- package/dist/PeopleRail/index.js +8 -8
- package/dist/PinTile/index.js +4 -4
- package/dist/Popover/index.js +2 -2
- package/dist/PresenceStack/index.js +5 -5
- package/dist/PresenterView/index.js +6 -6
- package/dist/PresetChips/index.js +8 -8
- package/dist/Principal/index.js +4 -4
- package/dist/PrincipalPicker/index.js +9 -9
- package/dist/ProposalCard/index.js +13 -13
- package/dist/RailList/index.js +6 -6
- package/dist/ReactionBar/index.js +7 -7
- package/dist/ReceiptStrip/index.js +4 -4
- package/dist/RecordChip/index.js +3 -3
- package/dist/Reorder/index.js +4 -4
- package/dist/ResultTableCard/index.js +5 -5
- package/dist/RichEditor/index.js +6 -6
- package/dist/SandboxedFrame/index.js +6 -6
- package/dist/ScopeList/index.js +7 -7
- package/dist/SectionFrame/index.js +5 -5
- package/dist/SegmentedControl/index.js +7 -7
- package/dist/Select/index.js +2 -2
- package/dist/{Select-DRBDKBRO.css → Select-DBDZXWZG.css} +28 -5
- package/dist/SelectionBar/index.js +4 -4
- package/dist/SendButton/index.js +4 -4
- package/dist/SendKeys/index.js +1 -1
- package/dist/SettingForm/index.js +6 -6
- package/dist/SettingsTable/index.js +7 -7
- package/dist/ShareDialog/index.js +17 -17
- package/dist/SheetColumnEditor/index.js +12 -12
- package/dist/SheetGrid/index.js +11 -11
- package/dist/Shortcut/index.js +1 -1
- package/dist/SidePanel/index.js +4 -4
- package/dist/SidebarNav/index.js +4 -4
- package/dist/SlideCompare/index.js +4 -4
- package/dist/SlideFilmstrip/index.js +7 -7
- package/dist/SlideGrid/index.js +1 -1
- package/dist/SlideNav/index.js +4 -4
- package/dist/SlideStage/index.js +1 -1
- package/dist/StatusLine/index.js +3 -3
- package/dist/Switcher/index.js +11 -11
- package/dist/TableCells/index.js +5 -5
- package/dist/Tabs/index.js +6 -6
- package/dist/TagGroup/index.js +4 -4
- package/dist/TagsInput/index.js +4 -4
- package/dist/ThemeSwitcher/index.js +8 -8
- package/dist/ThemeToggle/index.js +4 -4
- package/dist/ThreadSummary/index.js +5 -5
- package/dist/TimeRangePicker/index.js +14 -14
- package/dist/TimeWindowPicker/index.js +8 -8
- package/dist/Toaster/index.js +2 -2
- package/dist/ToolCallLog/index.js +9 -9
- package/dist/Toolbar/index.js +1 -1
- package/dist/Tooltip/index.js +2 -2
- package/dist/TreeCanvas/index.js +7 -7
- package/dist/TreeGrid/index.js +11 -11
- package/dist/ValueField/index.js +8 -8
- package/dist/VersionCompare/index.js +8 -8
- package/dist/VersionTimeline/index.js +7 -7
- package/dist/WorkingLine/index.js +5 -5
- package/dist/{chunk-ED24QJYL.js → chunk-2DESFB7K.js} +1 -1
- package/dist/{chunk-QJFCSVUH.js → chunk-2IM6CM47.js} +1 -1
- package/dist/{chunk-4H7SEVIR.js → chunk-2KQGMYAQ.js} +2 -2
- package/dist/{chunk-MD5KDF7W.js → chunk-2OYEVTF4.js} +7 -7
- package/dist/{chunk-FILFCRZH.js → chunk-2SGJAD7O.js} +1 -1
- package/dist/{chunk-4ACONCV6.js → chunk-2XC4MYBB.js} +1 -1
- package/dist/{chunk-4IB7HVDN.js → chunk-43N4EHFR.js} +17 -7
- package/dist/{chunk-COBWQMMK.js → chunk-466TIYTK.js} +1 -1
- package/dist/{chunk-J3OWDELP.js → chunk-4NJQ3KYM.js} +2 -2
- package/dist/{chunk-V2ZUNC7X.js → chunk-4RVDOEJR.js} +6 -6
- package/dist/{chunk-ZGVOP3IS.js → chunk-4TLKCRE4.js} +3 -3
- package/dist/{chunk-5CDLSFYP.js → chunk-56NHLXZK.js} +1 -1
- package/dist/{chunk-NFLSK6T3.js → chunk-5F62NQON.js} +1 -1
- package/dist/{chunk-U4VEL442.js → chunk-5QXS2L5C.js} +2 -2
- package/dist/{chunk-FTWZ2AQR.js → chunk-5TMLCOJI.js} +1 -1
- package/dist/{chunk-CMEZGORB.js → chunk-66H4BC5Z.js} +1 -1
- package/dist/{chunk-ZDHQ5ZDT.js → chunk-6EHQN4KA.js} +3 -3
- package/dist/{chunk-YLXOP5KR.js → chunk-6JK6S3W3.js} +1 -1
- package/dist/{chunk-J7NARUI4.js → chunk-6PKQA4TD.js} +1 -1
- package/dist/{chunk-QFNXUWTJ.js → chunk-7KAWHHZW.js} +5 -5
- package/dist/{chunk-PUH4MQJL.js → chunk-7UYWPNFG.js} +1 -1
- package/dist/{chunk-KCV47P7J.js → chunk-7Z5K3ZCO.js} +1 -1
- package/dist/{chunk-BPUGJW6X.js → chunk-AXHIQVT7.js} +1 -1
- package/dist/{chunk-CHBNLTVC.js → chunk-BD2HPIZ2.js} +5 -5
- package/dist/{chunk-SVXMZH3R.js → chunk-BE5NESX4.js} +3 -3
- package/dist/{chunk-KVZAUSAG.js → chunk-C2676ENR.js} +6 -6
- package/dist/{chunk-WFWKKLDK.js → chunk-C4BENQB3.js} +3 -3
- package/dist/{chunk-JYP6IRMH.js → chunk-CLMCSTM4.js} +1 -1
- package/dist/{chunk-VGGEVVIT.js → chunk-CUQN6WSD.js} +4 -4
- package/dist/{chunk-CPOTDACH.js → chunk-DDVUPYJW.js} +2 -2
- package/dist/{chunk-CUEPPDBC.js → chunk-DFFQGGAD.js} +1 -1
- package/dist/{chunk-UR353M5W.js → chunk-DNUJO2YR.js} +1 -1
- package/dist/{chunk-QZNENGHA.js → chunk-DPCXOBXN.js} +14 -4
- package/dist/{chunk-Z5JGQOIH.js → chunk-EHEM4QDV.js} +2 -2
- package/dist/{chunk-YXRC2NSO.js → chunk-EPVQ4OZ3.js} +1 -1
- package/dist/{chunk-4ALKLFWL.js → chunk-ERNIXJMN.js} +2 -2
- package/dist/{chunk-KWHZXFXJ.js → chunk-EUKON4JG.js} +2 -2
- package/dist/{chunk-ZU5M74J5.js → chunk-FJ3ZHIB5.js} +1 -1
- package/dist/{chunk-2TN6ALNE.js → chunk-FOJ3TVKJ.js} +1 -1
- package/dist/{chunk-ZX6E6DSB.js → chunk-FTOKCN4I.js} +2 -2
- package/dist/{chunk-GY6RAKJM.js → chunk-G6TM7JFC.js} +1 -1
- package/dist/{chunk-LCJC3LTP.js → chunk-GMY4DMLJ.js} +1 -1
- package/dist/{chunk-BICOU6XR.js → chunk-GR6Y53EC.js} +1 -1
- package/dist/{chunk-G3RITVUB.js → chunk-GUNQXHU7.js} +2 -2
- package/dist/{chunk-BOIOUEWQ.js → chunk-H5JZ5IEK.js} +1 -1
- package/dist/{chunk-4FO6WWYW.js → chunk-H77NQVS7.js} +1 -1
- package/dist/{chunk-D7UG74JZ.js → chunk-H7V4QAOV.js} +1 -1
- package/dist/{chunk-4D7FQUQW.js → chunk-HTNIULH7.js} +2 -2
- package/dist/{chunk-OKQD3RCB.js → chunk-IAFPPC5A.js} +1 -1
- package/dist/{chunk-JXDV6B37.js → chunk-ICIWCUDN.js} +1 -1
- package/dist/{chunk-LG72TVII.js → chunk-ID7GBXFP.js} +4 -4
- package/dist/{chunk-EO4CV3P7.js → chunk-IF5RMDDV.js} +7 -7
- package/dist/{chunk-D6UBQK3C.js → chunk-IMYAUG56.js} +1 -1
- package/dist/{chunk-Q3R67DIG.js → chunk-IPIILXQU.js} +2 -2
- package/dist/{chunk-EX7WDCE6.js → chunk-ISM47T7P.js} +2 -2
- package/dist/{chunk-Z3FXGNT5.js → chunk-J4JT2OSY.js} +1 -1
- package/dist/{chunk-XKXO7EAT.js → chunk-J6QNUNZD.js} +1 -1
- package/dist/{chunk-DWNKTIRN.js → chunk-JAZJI6EQ.js} +1 -1
- package/dist/{chunk-DB7LW3HH.js → chunk-KIPEB2UV.js} +1 -1
- package/dist/{chunk-47QB5GE3.js → chunk-KRO3UGAH.js} +2 -2
- package/dist/{chunk-OYTOXZFX.js → chunk-KRRKIPV7.js} +1 -1
- package/dist/{chunk-S33O4PTO.js → chunk-LBI4G6N4.js} +1 -1
- package/dist/{chunk-G7NTFDEH.js → chunk-LFTLITGS.js} +1 -1
- package/dist/{chunk-TZ3K5SVW.js → chunk-LR56IYSL.js} +8 -8
- package/dist/{chunk-VGRGEH32.js → chunk-LUPO23ST.js} +2 -2
- package/dist/{chunk-PHA2MBXY.js → chunk-LY7XCIMS.js} +3 -3
- package/dist/{chunk-5MJCHN2Y.js → chunk-M4XBRBZL.js} +1 -1
- package/dist/{chunk-ZA2STYRY.js → chunk-MFJYXWN5.js} +4 -4
- package/dist/{chunk-CT4MHEMZ.js → chunk-MFRXKQAF.js} +2 -2
- package/dist/{chunk-3PBQNCPC.js → chunk-MMW5KBJE.js} +6 -6
- package/dist/{chunk-XIPD2GDD.js → chunk-MPVJW5M6.js} +3 -3
- package/dist/{chunk-GP55BQOQ.js → chunk-N3VY4RNR.js} +1 -1
- package/dist/{chunk-5WJKJGL4.js → chunk-NAHBGKE7.js} +1 -1
- package/dist/{chunk-AVJKMQXK.js → chunk-NCM4VYRF.js} +10 -7
- package/dist/{chunk-X3BYIOSI.js → chunk-NIII72XP.js} +5 -5
- package/dist/{chunk-GQL2XQTS.js → chunk-NJBKJF3Q.js} +4 -4
- package/dist/{chunk-Z6K7XR6S.js → chunk-O2JB7YLM.js} +3 -3
- package/dist/{chunk-CVWD2N24.js → chunk-OAWECVU2.js} +2 -2
- package/dist/{chunk-X3THIGNC.js → chunk-ODESNUE6.js} +1 -1
- package/dist/{chunk-S34V3QCH.js → chunk-OVKHRNRD.js} +6 -6
- package/dist/{chunk-IYDJFY5L.js → chunk-P4UZAHQI.js} +2 -2
- package/dist/{chunk-BWNZFXBG.js → chunk-PDQPSTK2.js} +1 -1
- package/dist/{chunk-6DQPSI54.js → chunk-Q3VKR72D.js} +8 -8
- package/dist/{chunk-S7QCEP6W.js → chunk-QGLNLBRN.js} +1 -1
- package/dist/{chunk-XG6PTSHE.js → chunk-QR4LRVWK.js} +3 -3
- package/dist/{chunk-EX5XAEST.js → chunk-QRCF7KFB.js} +1 -1
- package/dist/{chunk-SVA5VPCB.js → chunk-QVSG3XSW.js} +3 -3
- package/dist/{chunk-YIKYV3S6.js → chunk-R27YRIE5.js} +1 -1
- package/dist/{chunk-5UUG3QCO.js → chunk-R72QM6WV.js} +3 -3
- package/dist/{chunk-OIK5M2Y4.js → chunk-RAPKKIMQ.js} +2 -2
- package/dist/{chunk-KITMVT74.js → chunk-ROVOM5MS.js} +1 -1
- package/dist/{chunk-4QEX2DYR.js → chunk-RVGBMBAT.js} +2 -2
- package/dist/{chunk-I5RG7LR5.js → chunk-RYS3SN7J.js} +2 -2
- package/dist/{chunk-E7GZKGDY.js → chunk-S6ES6MMW.js} +3 -3
- package/dist/{chunk-KOTOBDOA.js → chunk-S7MHUIJX.js} +5 -5
- package/dist/{chunk-IKGEOJEA.js → chunk-SETK4FN5.js} +2 -2
- package/dist/{chunk-X2CFDU5S.js → chunk-SHVK6EOL.js} +1 -1
- package/dist/{chunk-ZSFLCSN3.js → chunk-SIFTZO2F.js} +2 -2
- package/dist/{chunk-DF3LU2RW.js → chunk-SSG2Z3EC.js} +1 -1
- package/dist/{chunk-AJFA2XDQ.js → chunk-SWZV6R46.js} +1 -1
- package/dist/{chunk-GHGHV67L.js → chunk-T4OHJTUP.js} +1 -1
- package/dist/{chunk-WU73BKXL.js → chunk-T76E2NIF.js} +1 -1
- package/dist/{chunk-KDQRERFV.js → chunk-T7BC742S.js} +1 -1
- package/dist/{chunk-ZRRJY3KA.js → chunk-TBHMGRN6.js} +1 -1
- package/dist/{chunk-HBTORBNN.js → chunk-TDRWUWGV.js} +3 -3
- package/dist/{chunk-JKPY3EHV.js → chunk-TN5RHSI5.js} +2 -2
- package/dist/{chunk-R3UFA2S5.js → chunk-U2TENSNB.js} +1 -1
- package/dist/{chunk-5HDNFDNB.js → chunk-U6BI5FDI.js} +1 -1
- package/dist/{chunk-T53EKFO2.js → chunk-UJWQV7UG.js} +1 -1
- package/dist/{chunk-VV62BOH2.js → chunk-V3AWITMI.js} +2 -2
- package/dist/{chunk-W5MDEFMS.js → chunk-VXJP2WI3.js} +1 -1
- package/dist/{chunk-MNI7ST26.js → chunk-W7EUGIQN.js} +1 -1
- package/dist/{chunk-EOK3VRX2.js → chunk-WASYD3IL.js} +3 -3
- package/dist/{chunk-CJVWQDSL.js → chunk-WLYAGMZA.js} +5 -5
- package/dist/{chunk-7WMQ7CXI.js → chunk-WLYNWP34.js} +1 -1
- package/dist/{chunk-HGDZBOOE.js → chunk-X2N7XQDN.js} +1 -1
- package/dist/{chunk-TZLOZM2G.js → chunk-XJLGQ7U7.js} +1 -1
- package/dist/{chunk-EGBHW6FS.js → chunk-XKC7EJGR.js} +1 -1
- package/dist/{chunk-7BDGWCB4.js → chunk-XRCMG3GG.js} +1 -1
- package/dist/{chunk-JZNUS4AP.js → chunk-XXHIU65G.js} +1 -1
- package/dist/{chunk-U7JKO2RL.js → chunk-Y4A7AYX4.js} +1 -1
- package/dist/{chunk-A42UVBJQ.js → chunk-Y5GBXHA6.js} +5 -5
- package/dist/{chunk-ZXX24HXF.js → chunk-YB5XT2BD.js} +2 -2
- package/dist/{chunk-I3EWAX3N.js → chunk-YHLLBQJA.js} +1 -1
- package/dist/{chunk-YDZJIG2Z.js → chunk-YSYORPVE.js} +3 -3
- package/dist/{chunk-NMIXL2YH.js → chunk-YVMIT2OW.js} +1 -1
- package/dist/{chunk-SVM2JD3B.js → chunk-ZCKC7ENV.js} +3 -3
- package/dist/{chunk-C6GDSC6E.js → chunk-ZDENBTBY.js} +1 -1
- package/dist/{chunk-WHNKZFUH.js → chunk-ZE6Y37HB.js} +2 -2
- package/dist/{chunk-KOBTCG2T.js → chunk-ZF5ELYJ3.js} +1 -1
- package/dist/{chunk-IIGKE3AY.js → chunk-ZHKP4GDV.js} +2 -2
- package/dist/{chunk-XS7NYCTQ.js → chunk-ZLHVKPAQ.js} +3 -3
- package/dist/{chunk-JE65SZHC.js → chunk-ZQTEBONP.js} +1 -1
- package/dist/{chunk-LSQ5BNLZ.js → chunk-ZR276S44.js} +1 -1
- package/dist/generated/index.js +146 -146
- package/dist/index.js +146 -146
- package/dist/styles.css +36 -10
- package/package.json +3 -3
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useListbox, useOptionKeys, useHighlightRest } from './chunk-KW7T23RT.js';
|
|
2
2
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
3
3
|
import { useFieldError } from './chunk-JLKO7PSK.js';
|
|
4
|
-
import { useLayerContainer, viewportBounds, visibleBounds, LAYER_GAP, anchorGone, placePopup, LAYER_REPOSITION_EVENT } from './chunk-
|
|
4
|
+
import { useLayerContainer, viewportBounds, visibleBounds, LAYER_GAP, anchorGone, placePopup, LAYER_REPOSITION_EVENT } from './chunk-NCM4VYRF.js';
|
|
5
5
|
import { useFocusModality, returnFocus } from './chunk-4ITETIGZ.js';
|
|
6
6
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
7
7
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
8
8
|
import './HitArea-QUOS6ZDJ.css';
|
|
9
|
-
import './Select-
|
|
9
|
+
import './Select-DBDZXWZG.css';
|
|
10
10
|
import { forwardRef, useId, useMemo, useState, useRef, useCallback, useEffect, useLayoutEffect } from 'react';
|
|
11
11
|
import { createPortal } from 'react-dom';
|
|
12
12
|
import { ChevronDownGlyph, CheckGlyph, SearchGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -451,7 +451,10 @@ var ListboxSelect = forwardRef(function ListboxSelect2({
|
|
|
451
451
|
};
|
|
452
452
|
const content = (option, highlighted, selected, tick, hint = true) => renderOption ? renderOption(option, { active: highlighted, selected }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
453
453
|
tickAtEnd ? null : tick,
|
|
454
|
-
option.leading !== void 0 ? /* @__PURE__ */ jsx("span", { className: "crewlet-select__option-leading", "aria-hidden": "true", children: option.leading }) :
|
|
454
|
+
option.leading !== void 0 ? /* @__PURE__ */ jsx("span", { className: "crewlet-select__option-leading", "aria-hidden": "true", children: option.leading }) : fitted && tickAtEnd ? (
|
|
455
|
+
// The mark's track, kept empty, so this row's label starts where the marked rows' do.
|
|
456
|
+
/* @__PURE__ */ jsx("span", { className: "crewlet-select__option-leading", "aria-hidden": "true" })
|
|
457
|
+
) : null,
|
|
455
458
|
/* @__PURE__ */ jsxs("span", { className: "crewlet-select__option-body", children: [
|
|
456
459
|
/* @__PURE__ */ jsx("span", { className: "crewlet-select__option-label", children: option.label }),
|
|
457
460
|
option.description ? /* @__PURE__ */ jsx("span", { className: "crewlet-select__option-desc", children: option.description }) : null
|
|
@@ -495,7 +498,13 @@ var ListboxSelect = forwardRef(function ListboxSelect2({
|
|
|
495
498
|
),
|
|
496
499
|
...option.disabled ? {} : optionHandlers(at),
|
|
497
500
|
children: fitted ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
498
|
-
/* @__PURE__ */ jsx(
|
|
501
|
+
/* @__PURE__ */ jsx(
|
|
502
|
+
"span",
|
|
503
|
+
{
|
|
504
|
+
className: cx("crewlet-select__option-main", !renderOption && "crewlet-select__option-main--tracks"),
|
|
505
|
+
children: content(option, highlighted, selected, tick, renderOption !== void 0)
|
|
506
|
+
}
|
|
507
|
+
),
|
|
499
508
|
" ",
|
|
500
509
|
/* @__PURE__ */ jsx("span", { className: "crewlet-listbox__hint crewlet-select__option-hint", children: renderOption ? null : option.hint })
|
|
501
510
|
] }) : content(option, highlighted, selected, tick)
|
|
@@ -569,6 +578,7 @@ var ListboxSelect = forwardRef(function ListboxSelect2({
|
|
|
569
578
|
},
|
|
570
579
|
id: listId,
|
|
571
580
|
className: cx("crewlet-listbox", "crewlet-select__list", fitted && "crewlet-select__list--fit"),
|
|
581
|
+
"data-leads": fitted && tickAtEnd ? "" : void 0,
|
|
572
582
|
role: "listbox",
|
|
573
583
|
"aria-label": ariaLabel ?? placeholder,
|
|
574
584
|
"aria-multiselectable": multiple || void 0,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { SlideNav } from './chunk-
|
|
1
|
+
import { SlideNav } from './chunk-QGLNLBRN.js';
|
|
2
2
|
import { SlideStage, SLIDE_WIDTH, SLIDE_HEIGHT } from './chunk-7O53SWKI.js';
|
|
3
3
|
import { Eyebrow } from './chunk-RK4XPHVG.js';
|
|
4
|
-
import { Button } from './chunk-
|
|
4
|
+
import { Button } from './chunk-YVMIT2OW.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './PresenterView-RKYEK27N.css';
|
|
7
7
|
import { useRef, useState, useEffect } from 'react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
|
|
2
2
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
3
|
-
import { Input } from './chunk-
|
|
3
|
+
import { Input } from './chunk-ZR276S44.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './HitArea-QUOS6ZDJ.css';
|
|
6
6
|
import './Combobox-GHT43K32.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Button } from './chunk-
|
|
2
|
-
import { FormField } from './chunk-
|
|
1
|
+
import { Button } from './chunk-YVMIT2OW.js';
|
|
2
|
+
import { FormField } from './chunk-ZR276S44.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './SettingForm-ODVZZ7JZ.css';
|
|
5
5
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Text } from './chunk-475DOAWF.js';
|
|
2
|
-
import { useLayerContainer } from './chunk-
|
|
2
|
+
import { useLayerContainer } from './chunk-NCM4VYRF.js';
|
|
3
3
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './Toaster-OCW7W3FJ.css';
|
|
@@ -205,7 +205,7 @@ function Toaster({
|
|
|
205
205
|
titles,
|
|
206
206
|
className = ""
|
|
207
207
|
}) {
|
|
208
|
-
const container = useLayerContainer();
|
|
208
|
+
const container = useLayerContainer("viewport");
|
|
209
209
|
const said = useMemo(() => ({ ...TITLES, ...titles }), [titles]);
|
|
210
210
|
const [polite, setPolite] = useState({ text: "", n: 0 });
|
|
211
211
|
const [assertive, setAssertive] = useState({ text: "", n: 0 });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Table } from './chunk-YGN4SBNP.js';
|
|
2
|
-
import { DownloadButton } from './chunk-
|
|
2
|
+
import { DownloadButton } from './chunk-U6BI5FDI.js';
|
|
3
3
|
import { StatusCard } from './chunk-WLIODLUL.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './ResultTableCard-AP355LQM.css';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EditingStatus } from './chunk-TDQB6AXC.js';
|
|
2
2
|
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
3
|
-
import { Button } from './chunk-
|
|
3
|
+
import { Button } from './chunk-YVMIT2OW.js';
|
|
4
4
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './InlineEditor-W55DDKML.css';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SlideStage } from './chunk-7O53SWKI.js';
|
|
2
|
-
import { Menu } from './chunk-
|
|
3
|
-
import { useReorder } from './chunk-
|
|
2
|
+
import { Menu } from './chunk-43N4EHFR.js';
|
|
3
|
+
import { useReorder } from './chunk-H77NQVS7.js';
|
|
4
4
|
import { Kbd, isApplePlatform } from './chunk-VBBLHS2Y.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Button } from './chunk-
|
|
1
|
+
import { Button } from './chunk-YVMIT2OW.js';
|
|
2
2
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
3
3
|
import './ReceiptStrip-V7ASVZVV.css';
|
|
4
4
|
import { CircleAlertGlyph, TriangleAlertGlyph, InfoGlyph, CircleCheckGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IconTile } from './chunk-VRVNLJUA.js';
|
|
2
|
-
import { ReceiptStrip } from './chunk-
|
|
2
|
+
import { ReceiptStrip } from './chunk-GMY4DMLJ.js';
|
|
3
3
|
import { StatusCard } from './chunk-WLIODLUL.js';
|
|
4
4
|
import { safeHref } from './chunk-KMTOGF6T.js';
|
|
5
|
-
import { ButtonLink, Button } from './chunk-
|
|
5
|
+
import { ButtonLink, Button } from './chunk-YVMIT2OW.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './OpenInAppCard-CKHCK7DO.css';
|
|
8
8
|
import { CircleCheckGlyph } from '@crewlethq/icons/glyphs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { prefersReducedMotion } from './chunk-COS6LJ4K.js';
|
|
2
2
|
import { announce } from './chunk-WGMKERCR.js';
|
|
3
|
-
import { IconButton } from './chunk-
|
|
3
|
+
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './ReorderHandle-CT5OMUSR.css';
|
|
6
6
|
import { useId, useState, useRef, useCallback, useLayoutEffect, useMemo } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { shownBeforeOverflow, ListOverflow, overflowWords } from './chunk-
|
|
1
|
+
import { shownBeforeOverflow, ListOverflow, overflowWords } from './chunk-QRCF7KFB.js';
|
|
2
2
|
import { useAnnouncer } from './chunk-WGMKERCR.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './TagGroup-HYJHHHA7.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Callout } from './chunk-
|
|
2
|
-
import { Button } from './chunk-
|
|
1
|
+
import { Callout } from './chunk-XJLGQ7U7.js';
|
|
2
|
+
import { Button } from './chunk-YVMIT2OW.js';
|
|
3
3
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import { useEffect } from 'react';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { GridHeadCell } from './chunk-
|
|
2
|
-
import { copyGlyph, CopyStatus } from './chunk-
|
|
1
|
+
import { GridHeadCell } from './chunk-T76E2NIF.js';
|
|
2
|
+
import { copyGlyph, CopyStatus } from './chunk-NAHBGKE7.js';
|
|
3
3
|
import { useClipboard } from './chunk-STJ7QBC3.js';
|
|
4
4
|
import { StatusDot } from './chunk-QRE6JCHS.js';
|
|
5
|
-
import { Button } from './chunk-
|
|
6
|
-
import { IconButton } from './chunk-
|
|
5
|
+
import { Button } from './chunk-YVMIT2OW.js';
|
|
6
|
+
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
7
7
|
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
8
8
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
9
9
|
import './DataGrid-UGOZXHJS.css';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Select } from './chunk-
|
|
1
|
+
import { Select } from './chunk-DPCXOBXN.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-5F62NQON.js';
|
|
4
4
|
import { NODE_HUES, NODE_HUE_NAMES } from './chunk-AYKXMIOR.js';
|
|
5
|
-
import { Menu } from './chunk-
|
|
5
|
+
import { Menu } from './chunk-43N4EHFR.js';
|
|
6
6
|
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
7
|
-
import { Checkbox } from './chunk-
|
|
8
|
-
import { Button } from './chunk-
|
|
9
|
-
import { FormField, Input } from './chunk-
|
|
10
|
-
import { IconButton } from './chunk-
|
|
7
|
+
import { Checkbox } from './chunk-2DESFB7K.js';
|
|
8
|
+
import { Button } from './chunk-YVMIT2OW.js';
|
|
9
|
+
import { FormField, Input } from './chunk-ZR276S44.js';
|
|
10
|
+
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
11
11
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
12
12
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
13
13
|
import './SheetColumnEditor-BO2HKFRB.css';
|
|
@@ -3,7 +3,7 @@ import { LockedLabel } from './chunk-TODOBUXO.js';
|
|
|
3
3
|
import { KeyChip } from './chunk-HBDA76EZ.js';
|
|
4
4
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
5
5
|
import { prefersReducedMotion } from './chunk-COS6LJ4K.js';
|
|
6
|
-
import { Button } from './chunk-
|
|
6
|
+
import { Button } from './chunk-YVMIT2OW.js';
|
|
7
7
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
8
8
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
9
9
|
import './HitArea-QUOS6ZDJ.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Button } from './chunk-
|
|
2
|
-
import { Tooltip } from './chunk-
|
|
1
|
+
import { Button } from './chunk-YVMIT2OW.js';
|
|
2
|
+
import { Tooltip } from './chunk-ZF5ELYJ3.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import { forwardRef, useState, useCallback } from 'react';
|
|
5
5
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { copyGlyph, CopyStatus } from './chunk-
|
|
1
|
+
import { copyGlyph, CopyStatus } from './chunk-NAHBGKE7.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-66H4BC5Z.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './Copyable-CMT2N2JE.css';
|
|
7
7
|
import { useCallback } from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { minorUnits, parseMoney } from './chunk-G6DKKJN6.js';
|
|
2
|
-
import { Input } from './chunk-
|
|
2
|
+
import { Input } from './chunk-ZR276S44.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './MoneyField-4PHZWHJL.css';
|
|
5
5
|
import { forwardRef, useId } from 'react';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CopyButton, copyGlyph, CopyStatus } from './chunk-
|
|
1
|
+
import { CopyButton, copyGlyph, CopyStatus } from './chunk-NAHBGKE7.js';
|
|
2
2
|
import { useClipboard } from './chunk-STJ7QBC3.js';
|
|
3
|
-
import { IconButton } from './chunk-
|
|
3
|
+
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './CodeBlock-GPNAG43I.css';
|
|
6
6
|
import { forwardRef, useRef, useState, useLayoutEffect, useMemo } from 'react';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { StatusDot } from './chunk-QRE6JCHS.js';
|
|
2
|
-
import { Tooltip } from './chunk-
|
|
2
|
+
import { Tooltip } from './chunk-ZF5ELYJ3.js';
|
|
3
3
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './StatusLine-C6IY3U2F.css';
|
|
@@ -2,7 +2,7 @@ import { SuggestionList, SuggestionRow } from './chunk-IR3OWPAZ.js';
|
|
|
2
2
|
import { developing } from './chunk-6C7GQOBV.js';
|
|
3
3
|
import { StatusCard } from './chunk-WLIODLUL.js';
|
|
4
4
|
import { StatusDot } from './chunk-QRE6JCHS.js';
|
|
5
|
-
import { Button } from './chunk-
|
|
5
|
+
import { Button } from './chunk-YVMIT2OW.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './BriefCard-QCL7MVUV.css';
|
|
8
8
|
import { useEffect } from 'react';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { TagGroup } from './chunk-
|
|
1
|
+
import { TagGroup } from './chunk-H7V4QAOV.js';
|
|
2
2
|
import { CursorFlag } from './chunk-MMCYH5LB.js';
|
|
3
3
|
import { presenceHueClass } from './chunk-EFX2YC5T.js';
|
|
4
|
-
import { ChangeMark } from './chunk-
|
|
4
|
+
import { ChangeMark } from './chunk-466TIYTK.js';
|
|
5
5
|
import { isEmptyValue, displayText, ratingMax, findPerson, findOption, statusTone, editText, textMax, sheetLabels, normalizeValue, sameValue, spokenText, drawnColumns, fitSamples, fittedWidth, columnWidth, SHEET_COLUMN_BOUNDS, sortRows, SHEET_ROW_HEIGHT, cellKey, columnOffsets, SHEET_ROW_NUMBER_WIDTH, rangeOf, presenceByCell, presenceByRow, presenceByColumn, scrollToRow, planClear, visibleRows, cellDescription, nextSort, rowName, inRange, hasPrevious, flagText, toTSV, planPaste, parseTSV, isMod, moveFrom, isTypingKey, editorSide, optionHue, parseText, liveOptions, checkValue } from './chunk-LFSIKGRQ.js';
|
|
6
6
|
import { presenceLabels } from './chunk-Z7JYG5TF.js';
|
|
7
|
-
import { Menu } from './chunk-
|
|
8
|
-
import { Popover } from './chunk-
|
|
7
|
+
import { Menu } from './chunk-43N4EHFR.js';
|
|
8
|
+
import { Popover } from './chunk-SWZV6R46.js';
|
|
9
9
|
import { Avatar } from './chunk-YMFFGPFE.js';
|
|
10
10
|
import { Tag } from './chunk-ASBBB5AJ.js';
|
|
11
11
|
import { StatusDot } from './chunk-QRE6JCHS.js';
|
|
12
|
-
import { Button } from './chunk-
|
|
13
|
-
import { IconButton } from './chunk-
|
|
14
|
-
import { Tooltip } from './chunk-
|
|
15
|
-
import { viewportBounds, LAYER_GAP } from './chunk-
|
|
12
|
+
import { Button } from './chunk-YVMIT2OW.js';
|
|
13
|
+
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
14
|
+
import { Tooltip } from './chunk-ZF5ELYJ3.js';
|
|
15
|
+
import { viewportBounds, LAYER_GAP } from './chunk-NCM4VYRF.js';
|
|
16
16
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
17
17
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
18
18
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useListbox, useHighlightRest } from './chunk-KW7T23RT.js';
|
|
2
2
|
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
3
3
|
import { HIT_AREA_CLASS } from './chunk-2YTOOH3A.js';
|
|
4
|
-
import { useScrollerFocus, Modal } from './chunk-
|
|
5
|
-
import { Input } from './chunk-
|
|
4
|
+
import { useScrollerFocus, Modal } from './chunk-C2676ENR.js';
|
|
5
|
+
import { Input } from './chunk-ZR276S44.js';
|
|
6
6
|
import { Count } from './chunk-6YKTRAWI.js';
|
|
7
7
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
8
8
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { today, CalendarGrid, shiftMonth, compareDays } from './chunk-EE3DJMSQ.js';
|
|
2
|
-
import { Popover } from './chunk-
|
|
3
|
-
import { Button } from './chunk-
|
|
4
|
-
import { IconButton } from './chunk-
|
|
2
|
+
import { Popover } from './chunk-SWZV6R46.js';
|
|
3
|
+
import { Button } from './chunk-YVMIT2OW.js';
|
|
4
|
+
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
5
5
|
import { useFocusModality } from './chunk-4ITETIGZ.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './DateTimePicker-EBJHNQ53.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useListbox } from './chunk-KW7T23RT.js';
|
|
2
2
|
import { Tag } from './chunk-ASBBB5AJ.js';
|
|
3
3
|
import { announce } from './chunk-WGMKERCR.js';
|
|
4
|
-
import { IconButton } from './chunk-
|
|
4
|
+
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
5
5
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
6
6
|
import { useFocusModality } from './chunk-4ITETIGZ.js';
|
|
7
7
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { useReorder } from './chunk-
|
|
1
|
+
import { useReorder } from './chunk-H77NQVS7.js';
|
|
2
2
|
import { Kbd } from './chunk-VBBLHS2Y.js';
|
|
3
|
-
import { Button } from './chunk-
|
|
4
|
-
import { FormField, Textarea } from './chunk-
|
|
3
|
+
import { Button } from './chunk-YVMIT2OW.js';
|
|
4
|
+
import { FormField, Textarea } from './chunk-ZR276S44.js';
|
|
5
5
|
import { characterCountState, CharacterCount, countCharacters } from './chunk-TEXK4RK6.js';
|
|
6
6
|
import { announce } from './chunk-WGMKERCR.js';
|
|
7
|
-
import { IconButton } from './chunk-
|
|
7
|
+
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
8
8
|
import { isComposing } from './chunk-EDPMHSLZ.js';
|
|
9
9
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
10
10
|
import './ListInput-L6XJUDTB.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Checkbox } from './chunk-
|
|
2
|
-
import { IconButton } from './chunk-
|
|
1
|
+
import { Checkbox } from './chunk-2DESFB7K.js';
|
|
2
|
+
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
3
3
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
4
4
|
import './MemberPicker-ZD35VEK6.css';
|
|
5
5
|
import { useId, useState } from 'react';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { Select } from './chunk-
|
|
1
|
+
import { Select } from './chunk-DPCXOBXN.js';
|
|
2
2
|
import { PrincipalAvatar } from './chunk-265IX4YA.js';
|
|
3
3
|
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
4
|
-
import { CopyButton } from './chunk-
|
|
5
|
-
import { Modal } from './chunk-
|
|
6
|
-
import { Callout } from './chunk-
|
|
7
|
-
import { Button } from './chunk-
|
|
8
|
-
import { IconButton } from './chunk-
|
|
4
|
+
import { CopyButton } from './chunk-NAHBGKE7.js';
|
|
5
|
+
import { Modal } from './chunk-C2676ENR.js';
|
|
6
|
+
import { Callout } from './chunk-XJLGQ7U7.js';
|
|
7
|
+
import { Button } from './chunk-YVMIT2OW.js';
|
|
8
|
+
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
9
9
|
import { useHeadingLevel, headingTag } from './chunk-PQADV6P6.js';
|
|
10
10
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
11
11
|
import './ShareDialog-72VTMM4K.css';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Text } from './chunk-475DOAWF.js';
|
|
2
|
-
import { Checkbox } from './chunk-
|
|
3
|
-
import { Button } from './chunk-
|
|
4
|
-
import { Input } from './chunk-
|
|
2
|
+
import { Checkbox } from './chunk-2DESFB7K.js';
|
|
3
|
+
import { Button } from './chunk-YVMIT2OW.js';
|
|
4
|
+
import { Input } from './chunk-ZR276S44.js';
|
|
5
5
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
6
6
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
7
7
|
import './ScopeList-564YHC7Z.css';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Eyebrow } from './chunk-RK4XPHVG.js';
|
|
2
2
|
import { InlineCode } from './chunk-W4UJWFCZ.js';
|
|
3
|
-
import { Checkbox } from './chunk-
|
|
3
|
+
import { Checkbox } from './chunk-2DESFB7K.js';
|
|
4
4
|
import { titleWhenCut } from './chunk-WSIJDWUG.js';
|
|
5
5
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
6
6
|
import './ConsequenceList-EEXTCT6J.css';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useClipboard } from './chunk-STJ7QBC3.js';
|
|
2
|
-
import { Button } from './chunk-
|
|
2
|
+
import { Button } from './chunk-YVMIT2OW.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,6 +1,6 @@
|
|
|
1
1
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
2
2
|
import './Layer-J222IFNX.css';
|
|
3
|
-
import { createContext, useState,
|
|
3
|
+
import { createContext, useContext, useState, useMemo } from 'react';
|
|
4
4
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
5
5
|
|
|
6
6
|
// src/Layer/place.ts
|
|
@@ -61,16 +61,19 @@ function outsideBounds(anchor, bounds) {
|
|
|
61
61
|
return anchor.x + anchor.width < bounds.x || anchor.y + anchor.height < bounds.y || anchor.x > bounds.x + bounds.width || anchor.y > bounds.y + bounds.height;
|
|
62
62
|
}
|
|
63
63
|
var LayerContext = createContext(null);
|
|
64
|
-
function LayerHost({ children, className }) {
|
|
64
|
+
function LayerHost({ children, className, takes = "all" }) {
|
|
65
|
+
const parent = useContext(LayerContext);
|
|
65
66
|
const [node, setNode] = useState(null);
|
|
66
|
-
|
|
67
|
+
const host = useMemo(() => ({ node, takes, parent }), [node, takes, parent]);
|
|
68
|
+
return /* @__PURE__ */ jsxs(LayerContext.Provider, { value: host, children: [
|
|
67
69
|
children,
|
|
68
|
-
/* @__PURE__ */ jsx("div", { ref: setNode, className: cx("crewlet-layer-host", className) })
|
|
70
|
+
/* @__PURE__ */ jsx("div", { ref: setNode, className: cx("crewlet-layer-host", className), "data-takes": takes })
|
|
69
71
|
] });
|
|
70
72
|
}
|
|
71
|
-
function useLayerContainer() {
|
|
72
|
-
|
|
73
|
-
if (host)
|
|
73
|
+
function useLayerContainer(kind = "anchored") {
|
|
74
|
+
let host = useContext(LayerContext);
|
|
75
|
+
if (kind === "viewport") while (host && host.takes !== "all") host = host.parent;
|
|
76
|
+
if (host?.node) return host.node;
|
|
74
77
|
return typeof document === "undefined" ? null : document.body;
|
|
75
78
|
}
|
|
76
79
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { SegmentedControl } from './chunk-
|
|
1
|
+
import { SegmentedControl } from './chunk-2XC4MYBB.js';
|
|
2
2
|
import { ArtifactIcon } from './chunk-AVL52EME.js';
|
|
3
|
-
import { Menu } from './chunk-
|
|
3
|
+
import { Menu } from './chunk-43N4EHFR.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-YVMIT2OW.js';
|
|
6
|
+
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
7
|
+
import { Tooltip } from './chunk-ZF5ELYJ3.js';
|
|
8
8
|
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
9
9
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
10
10
|
import './ArtifactKinds-27TE3KJL.css';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { GRID_FOOT_LABELS, GRID_ICON_TRACK, headerWord, sortByValue, parseGridSort, overrunning, tableTrack, GridHeadCell, GridFoot, droppedNames, nextGridSort, rowLinkTitle, squeezedCells, SHORT_COLUMN_PX, alignOf } from './chunk-
|
|
1
|
+
import { GRID_FOOT_LABELS, GRID_ICON_TRACK, headerWord, sortByValue, parseGridSort, overrunning, tableTrack, GridHeadCell, GridFoot, droppedNames, nextGridSort, rowLinkTitle, squeezedCells, SHORT_COLUMN_PX, alignOf } from './chunk-T76E2NIF.js';
|
|
2
2
|
import { Skeleton } from './chunk-WFAJYBLX.js';
|
|
3
|
-
import { useReorder } from './chunk-
|
|
3
|
+
import { useReorder } from './chunk-H77NQVS7.js';
|
|
4
4
|
import { EmptyState } from './chunk-HG7J6I65.js';
|
|
5
5
|
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
6
|
-
import { Checkbox } from './chunk-
|
|
6
|
+
import { Checkbox } from './chunk-2DESFB7K.js';
|
|
7
7
|
import { titleWhenCut } from './chunk-WSIJDWUG.js';
|
|
8
|
-
import { IconButton } from './chunk-
|
|
8
|
+
import { IconButton } from './chunk-66H4BC5Z.js';
|
|
9
9
|
import { VisuallyHidden } from './chunk-RRRK2KB6.js';
|
|
10
10
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
11
11
|
import './DataGrid-UGOZXHJS.css';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useListbox, useOptionKeys } from './chunk-KW7T23RT.js';
|
|
2
2
|
import { KeyChip, highlightMatch } from './chunk-HBDA76EZ.js';
|
|
3
3
|
import { Skeleton } from './chunk-WFAJYBLX.js';
|
|
4
|
-
import { Popover } from './chunk-
|
|
4
|
+
import { Popover } from './chunk-SWZV6R46.js';
|
|
5
5
|
import { useMediaMatch } from './chunk-COS6LJ4K.js';
|
|
6
|
-
import { Modal } from './chunk-
|
|
6
|
+
import { Modal } from './chunk-C2676ENR.js';
|
|
7
7
|
import { Text } from './chunk-475DOAWF.js';
|
|
8
|
-
import { Input } from './chunk-
|
|
8
|
+
import { Input } from './chunk-ZR276S44.js';
|
|
9
9
|
import { announce } from './chunk-WGMKERCR.js';
|
|
10
10
|
import { focusables, isComposing } from './chunk-EDPMHSLZ.js';
|
|
11
11
|
import { returnFocus } from './chunk-4ITETIGZ.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { emojiOfShortcode, emojiName, EmojiPicker } from './chunk-
|
|
1
|
+
import { emojiOfShortcode, emojiName, EmojiPicker } from './chunk-TDRWUWGV.js';
|
|
2
2
|
import { heldHint } from './chunk-TDFLCUBE.js';
|
|
3
|
-
import { Tooltip } from './chunk-
|
|
3
|
+
import { Tooltip } from './chunk-ZF5ELYJ3.js';
|
|
4
4
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
5
5
|
import './ChatScale-LGESYXCO.css';
|
|
6
6
|
import './ReactionBar-JMX75TMV.css';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { List, ListItem } from './chunk-Q7ZP6UPU.js';
|
|
2
|
-
import { FileDrop, FilePickButton } from './chunk-
|
|
2
|
+
import { FileDrop, FilePickButton } from './chunk-ICIWCUDN.js';
|
|
3
3
|
import { StepList, Stepper } from './chunk-2MN3RNRM.js';
|
|
4
|
-
import { Copyable } from './chunk-
|
|
5
|
-
import { Modal } from './chunk-
|
|
6
|
-
import { Callout } from './chunk-
|
|
4
|
+
import { Copyable } from './chunk-ISM47T7P.js';
|
|
5
|
+
import { Modal } from './chunk-C2676ENR.js';
|
|
6
|
+
import { Callout } from './chunk-XJLGQ7U7.js';
|
|
7
7
|
import { Tag } from './chunk-ASBBB5AJ.js';
|
|
8
8
|
import { Text } from './chunk-475DOAWF.js';
|
|
9
9
|
import { Disclosure } from './chunk-RUROK3EU.js';
|
|
10
|
-
import { Button, ButtonLink } from './chunk-
|
|
11
|
-
import { FormField, Input } from './chunk-
|
|
10
|
+
import { Button, ButtonLink } from './chunk-YVMIT2OW.js';
|
|
11
|
+
import { FormField, Input } from './chunk-ZR276S44.js';
|
|
12
12
|
import { cx } from './chunk-ODEQTPFM.js';
|
|
13
13
|
import './AgentIdentity-KQWGKBNT.css';
|
|
14
14
|
import './AgentIdentitySheet-QIOWB7XK.css';
|