@crewlethq/ui 0.110.0 → 0.112.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ActivityLine/index.js +1 -1
- package/dist/AgentHandoffPanel/index.js +9 -8
- package/dist/AppShell/index.js +5 -5
- package/dist/ArrangeFrame/index.js +3 -3
- package/dist/ArrangeList/index.js +6 -5
- package/dist/ArtifactBar/index.js +7 -7
- package/dist/ArtifactCard/index.js +8 -7
- package/dist/ArtifactPanel/index.js +4 -4
- package/dist/AttentionList/index.js +3 -3
- package/dist/Avatar/AvatarStack.d.ts +9 -3
- package/dist/Avatar/index.js +1 -1
- package/dist/AvatarPicker/index.js +9 -9
- package/dist/{AvatarStack-EQZZJZ3V.css → AvatarStack-GNEJHEU6.css} +20 -0
- package/dist/BriefCard/index.js +3 -3
- package/dist/Button/index.js +2 -2
- 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/ChatDay/ChatDay.d.ts +3 -1
- package/dist/ChatDay/index.js +2 -2
- package/dist/ChatDivider/ChatDivider.d.ts +8 -1
- package/dist/ChatDivider/index.js +1 -1
- package/dist/{ChatDivider-7SPCQXUQ.css → ChatDivider-BRODST2E.css} +23 -0
- package/dist/ChatMessage/ChatMessage.d.ts +10 -3
- package/dist/ChatMessage/index.js +4 -4
- package/dist/{ChatMessage-OJO6ASZP.css → ChatMessage-SZGZT7O2.css} +35 -0
- package/dist/{ChatScale-ST24RFPO.css → ChatScale-6NM4TP7R.css} +6 -3
- package/dist/ChatThread/index.js +4 -4
- package/dist/CheckGrid/index.js +6 -5
- package/dist/Checkbox/index.js +5 -4
- package/dist/CodeBlock/CodeBlock.d.ts +14 -1
- package/dist/CodeBlock/index.d.ts +1 -1
- package/dist/CodeBlock/index.js +5 -5
- package/dist/{CodeBlock-T47UA5GM.css → CodeBlock-LS7H6KUQ.css} +45 -0
- package/dist/ColorField/index.js +5 -4
- package/dist/ColorSwatch/index.js +5 -5
- package/dist/Combobox/index.js +5 -4
- package/dist/CommandPalette/index.js +7 -6
- package/dist/CommentThread/index.js +8 -7
- package/dist/Composer/index.js +5 -4
- package/dist/ConfirmField/index.js +5 -4
- package/dist/ConflictNote/index.js +3 -3
- package/dist/ContrastHelp/index.js +4 -4
- package/dist/Copyable/index.js +4 -4
- package/dist/DataGrid/index.js +8 -7
- package/dist/DataTable/index.js +9 -8
- package/dist/DataView/index.js +13 -12
- package/dist/DateTimePicker/index.js +5 -5
- package/dist/DeepWorkCard/index.js +4 -4
- package/dist/DeliveryReceipt/index.js +1 -1
- package/dist/DocTabsEditor/index.js +7 -6
- package/dist/DownloadButton/index.js +3 -3
- package/dist/{Editor-GIEZ6PPP.js → Editor-YITN2DWX.js} +6 -5
- package/dist/EmojiPicker/EmojiPicker.d.ts +23 -5
- package/dist/EmojiPicker/index.d.ts +1 -1
- package/dist/EmojiPicker/index.js +7 -5
- package/dist/EmojiPicker-V6XM56GJ.css +180 -0
- 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 +3 -3
- 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/Input/index.js +4 -3
- package/dist/KeyValueRows/index.js +6 -5
- package/dist/Layer/index.d.ts +1 -1
- package/dist/Layer/place.d.ts +6 -0
- package/dist/LinkCard/index.js +1 -1
- package/dist/LinkInterstitial/index.js +5 -5
- package/dist/ListInput/index.js +6 -5
- package/dist/LogoSlot/index.js +4 -4
- package/dist/MarkdownEditor/index.js +7 -7
- package/dist/MemberPicker/index.js +6 -5
- package/dist/MentionMenu/MentionMenu.d.ts +18 -2
- package/dist/MentionMenu/index.d.ts +4 -1
- package/dist/MentionMenu/index.js +2 -1
- package/dist/{MentionMenu-77P7C4F7.css → MentionMenu-AWZSOTNU.css} +45 -1
- package/dist/Menu/Menu.d.ts +13 -1
- package/dist/Menu/index.js +4 -4
- package/dist/{Menu-7AARCFX5.css → Menu-PXOAJ4DP.css} +48 -0
- package/dist/MergeConflicts/index.js +7 -7
- package/dist/MessageActions/MessageActions.d.ts +4 -4
- package/dist/MessageActions/index.js +7 -6
- package/dist/{MessageActions-UGMXBGKY.css → MessageActions-Y2IXY24H.css} +18 -5
- package/dist/Modal/index.js +4 -4
- package/dist/OpenInAppCard/index.js +4 -4
- package/dist/OrgLabel/index.js +1 -1
- package/dist/OrgNode/index.js +1 -1
- package/dist/OrgTable/index.js +11 -10
- package/dist/PeekRail/index.js +4 -4
- package/dist/PeopleRail/index.js +5 -5
- package/dist/PinTile/index.js +3 -3
- package/dist/Popover/Popover.d.ts +4 -2
- package/dist/Popover/index.js +1 -1
- package/dist/{Popover-QCINR7WG.css → Popover-EKG6OBZL.css} +5 -0
- 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 +7 -6
- package/dist/ProposalCard/index.js +8 -7
- package/dist/RailList/index.js +5 -4
- package/dist/ReactionBar/ReactionBar.d.ts +4 -2
- package/dist/ReactionBar/index.js +8 -6
- package/dist/ReceiptStrip/index.js +3 -3
- package/dist/RecordChip/index.js +2 -2
- package/dist/ResultTableCard/index.js +4 -4
- package/dist/RichEditor/index.js +4 -4
- package/dist/RoomRow/index.js +1 -1
- package/dist/SandboxedFrame/index.js +4 -4
- package/dist/SectionFrame/index.js +5 -4
- package/dist/SegmentedControl/index.js +6 -6
- package/dist/SelectionBar/index.js +3 -3
- package/dist/SendButton/index.js +3 -3
- package/dist/ShareDialog/index.js +7 -7
- package/dist/SheetColumnEditor/index.js +11 -10
- package/dist/SheetGrid/index.js +8 -8
- package/dist/SidePanel/SidePanel.d.ts +8 -3
- package/dist/SidePanel/SidePanelBase.d.ts +4 -1
- package/dist/SidePanel/index.d.ts +1 -1
- package/dist/SidePanel/index.js +4 -4
- package/dist/{SidePanel-FVZVNSHI.css → SidePanel-DZ4E5SNP.css} +26 -0
- package/dist/SidebarNav/SidebarNav.d.ts +6 -0
- package/dist/SidebarNav/index.d.ts +2 -2
- package/dist/SidebarNav/index.js +4 -3
- package/dist/{SidebarNav-3SU7UDXK.css → SidebarNav-JCHQXFIM.css} +41 -4
- package/dist/Skeleton/index.js +1 -1
- 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 +9 -8
- 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/ThreadSummary.d.ts +2 -0
- package/dist/ThreadSummary/index.d.ts +1 -1
- package/dist/ThreadSummary/index.js +2 -2
- package/dist/{ThreadSummary-CFAHYY57.css → ThreadSummary-2AFEU6NH.css} +2 -1
- package/dist/TimeRangePicker/index.js +10 -9
- package/dist/TimeWindowPicker/index.js +7 -6
- package/dist/Tooltip/index.js +1 -1
- package/dist/Tooltip-PRPBX6OG.css +61 -0
- package/dist/TreeCanvas/index.js +5 -5
- package/dist/TreeGrid/index.js +9 -8
- package/dist/ValueField/index.js +6 -5
- package/dist/VersionCompare/index.js +7 -7
- package/dist/VersionTimeline/index.js +4 -4
- package/dist/WidgetFrame/index.js +2 -2
- package/dist/{chunk-6BVGVAKH.js → chunk-2D7IVGEV.js} +1 -1
- package/dist/{chunk-HY336MR6.js → chunk-2ILQUAB7.js} +1 -1
- package/dist/{chunk-PRZO2LAG.js → chunk-3AUFRPG3.js} +1 -1
- package/dist/{chunk-4ZZ7G3XC.js → chunk-3GF2PTYZ.js} +28 -5
- package/dist/{chunk-IIM6UAJJ.js → chunk-3SAJXMM6.js} +1 -1
- package/dist/{chunk-KRO66LZZ.js → chunk-3UFIYOVD.js} +1 -1
- package/dist/{chunk-K3IJWNHL.js → chunk-3W7NG6ST.js} +2 -2
- package/dist/{chunk-HWTTVN6T.js → chunk-435WY2WT.js} +1 -1
- package/dist/{chunk-G2B4Y67G.js → chunk-45VQPH27.js} +3 -3
- package/dist/chunk-47V3ASMW.js +74 -0
- package/dist/{chunk-NPMMCFKI.js → chunk-4KU5LLXU.js} +1 -1
- package/dist/{chunk-ZFFIUJ4C.js → chunk-4ONGTD7Y.js} +2 -2
- package/dist/{chunk-ET4RCHNJ.js → chunk-4VHRO7HZ.js} +67 -29
- package/dist/{chunk-46BY2WPZ.js → chunk-5CWB52JK.js} +1 -1
- package/dist/{chunk-O73RB4P7.js → chunk-5FOJLJYN.js} +2 -2
- package/dist/{chunk-IGFQ4LWZ.js → chunk-5G3KASPV.js} +3 -3
- package/dist/{chunk-TIOYPPIX.js → chunk-5SBMYPWG.js} +3 -3
- package/dist/{chunk-WUCRLA25.js → chunk-5SMYKL3D.js} +9 -3
- package/dist/{chunk-MNKXYGZ2.js → chunk-5SV47YN7.js} +2 -2
- package/dist/{chunk-EKC4MOGY.js → chunk-5YFQMMTJ.js} +1 -1
- package/dist/{chunk-F3E66TBM.js → chunk-6QLMET36.js} +1 -1
- package/dist/{chunk-OJ3BGBU5.js → chunk-76LJUPDA.js} +2 -2
- package/dist/{chunk-5LBIIEHJ.js → chunk-7GUZSA5U.js} +8 -3
- package/dist/{chunk-HVFN4DJT.js → chunk-7MB7RUZZ.js} +1 -1
- package/dist/{chunk-AXGSKD72.js → chunk-7TLM7E5N.js} +3 -3
- package/dist/{chunk-3R76X3MI.js → chunk-A2TYEOB4.js} +2 -2
- package/dist/{chunk-JNP5EMLV.js → chunk-ANIJQ25E.js} +2 -2
- package/dist/{chunk-4QI7VFLV.js → chunk-AQMB6ONN.js} +6 -6
- package/dist/{chunk-YX5KEKPL.js → chunk-AXMXXAGB.js} +1 -1
- package/dist/{chunk-WM55LPY7.js → chunk-BBE656JU.js} +2 -2
- package/dist/{chunk-WF4Q5LD6.js → chunk-BF2BXM6V.js} +1 -1
- package/dist/{chunk-TIAZSF7H.js → chunk-BGFWCOFR.js} +2 -2
- package/dist/{chunk-YWTZHIKA.js → chunk-BJEWRSV7.js} +1 -1
- package/dist/{chunk-OAP576OR.js → chunk-BLFHFMXQ.js} +1 -1
- package/dist/{chunk-DEIHV2H3.js → chunk-BMTNY3FK.js} +1 -1
- package/dist/{chunk-BUOBTY3X.js → chunk-CHB7T3PT.js} +5 -5
- package/dist/{chunk-WOD6L2DC.js → chunk-CJRWESDZ.js} +1 -1
- package/dist/{chunk-OPX4OGN3.js → chunk-CTIJTW4R.js} +2 -2
- package/dist/{chunk-EJEBRXOF.js → chunk-D7NXK77P.js} +5 -5
- package/dist/{chunk-ZAN7Q4WG.js → chunk-DF5B4QO5.js} +1 -1
- package/dist/{chunk-HUSMU5EL.js → chunk-DKDSBI75.js} +3 -3
- package/dist/{chunk-DEMG2UTW.js → chunk-DRI6OXWY.js} +1 -1
- package/dist/{chunk-PJMDXZHP.js → chunk-DTEDUAEW.js} +1 -1
- package/dist/{chunk-OSKXOCH3.js → chunk-DTZ72KVX.js} +3 -3
- package/dist/{chunk-V5ANQP4E.js → chunk-ECGYBWRI.js} +2 -2
- package/dist/{chunk-NQIWSKQX.js → chunk-ENYB3HIA.js} +3 -3
- package/dist/{chunk-3EXGTJQU.js → chunk-EYY2ZMSY.js} +1 -1
- package/dist/{chunk-K5L7FJTH.js → chunk-FC4T5ILA.js} +1 -1
- package/dist/{chunk-5QKNXTIC.js → chunk-FZY4TTR4.js} +1 -1
- package/dist/{chunk-OTZNIWZA.js → chunk-GBX5Y3P2.js} +1 -1
- package/dist/{chunk-N7CYJVV4.js → chunk-GFOPTRRY.js} +1 -1
- package/dist/{chunk-AWXCILIT.js → chunk-GG5CFBSE.js} +2 -2
- package/dist/{chunk-PH5APLMB.js → chunk-GMQ54OQF.js} +1 -1
- package/dist/{chunk-RBNYJP77.js → chunk-HHRYIXBM.js} +2 -2
- package/dist/{chunk-4SKN3BLH.js → chunk-HXVMXH6U.js} +5 -4
- package/dist/{chunk-LQZMCR2K.js → chunk-I6GVXOHK.js} +1 -1
- package/dist/{chunk-AV5NWTYU.js → chunk-IHJRLVU3.js} +1 -1
- package/dist/{chunk-JJLYGLH6.js → chunk-J4OL6KHY.js} +3 -3
- package/dist/{chunk-VYUEAMA4.js → chunk-KDRJZWE3.js} +3 -1
- package/dist/{chunk-RWUY53VW.js → chunk-KG3PHAUX.js} +3 -3
- package/dist/{chunk-XLJELX5W.js → chunk-KVNVLBCB.js} +2 -2
- package/dist/{chunk-ZQKLFN2J.js → chunk-KYWIUH5R.js} +8 -8
- package/dist/{chunk-T5G5DM3H.js → chunk-L4YD6SVT.js} +1 -1
- package/dist/{chunk-ALGG2HRE.js → chunk-LGJJIPYZ.js} +1 -1
- package/dist/{chunk-6D7GTMNO.js → chunk-LNE5AMFQ.js} +1 -1
- package/dist/{chunk-QAQKJ4PO.js → chunk-LNSAYEOA.js} +1 -1
- package/dist/{chunk-2QLZCD5Q.js → chunk-LSVX4DTF.js} +2 -2
- package/dist/{chunk-FANYWNER.js → chunk-M7EALYXZ.js} +1 -1
- package/dist/{chunk-GA7HSINF.js → chunk-NOP55WRY.js} +108 -45
- package/dist/{chunk-RTHWXAXT.js → chunk-NPPPQSRU.js} +1 -1
- package/dist/{chunk-IOLOWL33.js → chunk-O3DHDBTW.js} +1 -1
- package/dist/{chunk-CUE3WM7L.js → chunk-OKOHQ3E7.js} +1 -1
- package/dist/{chunk-I2FNTMX2.js → chunk-OKPGW76D.js} +1 -1
- package/dist/{chunk-3IYS6YNX.js → chunk-OYV7BFRC.js} +1 -1
- package/dist/{chunk-IVZLFSQS.js → chunk-P366K4RX.js} +5 -4
- package/dist/{chunk-I476JLNZ.js → chunk-P5AOTCGQ.js} +1 -1
- package/dist/{chunk-NIDLT7UM.js → chunk-PBDMJHXV.js} +1 -1
- package/dist/chunk-PJV5HVZY.js +67 -0
- package/dist/{chunk-ZBON36GU.js → chunk-PWB2LWBE.js} +3 -3
- package/dist/chunk-Q5LDZPFF.js +2 -0
- package/dist/{chunk-G32JHH7N.js → chunk-QCJ3UBCZ.js} +3 -3
- package/dist/{chunk-BRJ6LZM2.js → chunk-QFSPIYCM.js} +1 -1
- package/dist/{chunk-AZKGH2UI.js → chunk-QHUKJN33.js} +57 -15
- package/dist/{chunk-IIEDUSMU.js → chunk-QLGZBN6A.js} +6 -6
- package/dist/{chunk-OIF6UMPY.js → chunk-QMEKGAEA.js} +4 -4
- package/dist/{chunk-43UOZIYG.js → chunk-QVNEQSOL.js} +1 -1
- package/dist/{chunk-P3BEB4E6.js → chunk-RHD46WIZ.js} +2 -2
- package/dist/{chunk-TCAX77BH.js → chunk-RTDFRFTF.js} +9 -4
- package/dist/{chunk-HY2JXBPO.js → chunk-SDYLFZKZ.js} +4 -4
- package/dist/{chunk-LYHAR4DX.js → chunk-SJNJBXUA.js} +5 -5
- package/dist/{chunk-G6HS6QA4.js → chunk-SJV7VVSS.js} +3 -3
- package/dist/{chunk-OQO7NSHR.js → chunk-STJPIP3R.js} +1 -1
- package/dist/{chunk-QNSL4JCU.js → chunk-T2RRTICC.js} +4 -4
- package/dist/{chunk-L3G2YQE3.js → chunk-T63HK6T5.js} +1 -1
- package/dist/{chunk-MEAFEAFF.js → chunk-T75L3PFN.js} +1 -1
- package/dist/{chunk-FNKOULI4.js → chunk-TCNTMTPI.js} +2 -2
- package/dist/{chunk-FWDU7E34.js → chunk-TE3OMB3Z.js} +3 -29
- package/dist/{chunk-4JEHXJPO.js → chunk-TP7PRSGX.js} +2 -2
- package/dist/{chunk-5DYV5Q67.js → chunk-TYQJRTTK.js} +1 -1
- package/dist/{chunk-O4J3FUIX.js → chunk-UJ7SHDE7.js} +4 -4
- package/dist/{chunk-43YZWF2B.js → chunk-V6BEBGO3.js} +5 -5
- package/dist/{chunk-YRSNOCFL.js → chunk-VZ42TS3C.js} +3 -3
- package/dist/{chunk-THVGTKST.js → chunk-WEZU4DX2.js} +1 -1
- package/dist/{chunk-ZBV6BNG7.js → chunk-WN3YE3ND.js} +1 -1
- package/dist/{chunk-QHE4CNBM.js → chunk-WNVUN3LJ.js} +1 -1
- package/dist/{chunk-R5OUUSLB.js → chunk-Y36N7TB7.js} +2 -2
- package/dist/{chunk-W4YNOUHF.js → chunk-Y3FLNQEE.js} +4 -4
- package/dist/{chunk-4WOLHRHH.js → chunk-Y4L7WNWU.js} +1 -1
- package/dist/{chunk-RM4PUCDQ.js → chunk-YD5UCBFV.js} +1 -1
- package/dist/{chunk-NVQUEZU5.js → chunk-YE76GTQU.js} +4 -4
- package/dist/{chunk-QHXO5H2S.js → chunk-ZGJCVXFU.js} +3 -3
- package/dist/{chunk-LSOPZVR7.js → chunk-ZJVGVTC3.js} +20 -6
- package/dist/{chunk-YLOQNVR2.js → chunk-ZUFV7753.js} +6 -5
- package/dist/generated/index.js +123 -122
- package/dist/index.js +123 -122
- package/dist/styles.css +435 -70
- package/dist/utils/fieldMirror.d.ts +22 -0
- package/package.json +3 -3
- package/dist/EmojiPicker-W722WJ5M.css +0 -105
- package/dist/Tooltip-LKQF7CE4.css +0 -71
- package/dist/chunk-VZ7DNXCW.js +0 -58
- package/dist/chunk-XETR2N6C.js +0 -2
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* A searchable grid of emoji in a popover: a row of category tabs, the
|
|
3
|
+
* field, then each group under its quiet heading, nine to a row, in a
|
|
4
|
+
* scroller of a fixed height, and a preview line under the grid. The panel is
|
|
5
|
+
* one size whatever it shows, so nothing moves under the pointer.
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
.crewlet-emoji-picker__body {
|
|
9
|
+
/* A cell is 36 wide and 32 tall on a 33px pitch, and the field 36 tall. */
|
|
10
|
+
--crewlet-emoji-picker-cell: 36px;
|
|
11
|
+
--crewlet-emoji-picker-cell-height: 32px;
|
|
12
|
+
--crewlet-emoji-picker-pitch: 1px;
|
|
13
|
+
--crewlet-emoji-picker-grid: 300px;
|
|
14
|
+
--crewlet-emoji-picker-field: var(--size-row-md);
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
width: calc(
|
|
18
|
+
var(--crewlet-emoji-picker-columns) * var(--crewlet-emoji-picker-cell) +
|
|
19
|
+
(var(--crewlet-emoji-picker-columns) - 1) * var(--crewlet-emoji-picker-pitch) + 2 * var(--spacing-3)
|
|
20
|
+
);
|
|
21
|
+
max-width: 100%;
|
|
22
|
+
box-sizing: border-box;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* The panel holds the picker at its own size, past a popover's default cap,
|
|
26
|
+
inside the viewport: only a viewport smaller than the picker scrolls it.
|
|
27
|
+
Two classes, so it holds in any bundle order. */
|
|
28
|
+
.crewlet-popover.crewlet-emoji-picker {
|
|
29
|
+
max-width: calc(100vw - var(--spacing-4) * 2);
|
|
30
|
+
max-height: calc(100dvh - var(--spacing-4) * 2);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/* THE TABS: one per group, icon only, on a hairline; the group at the grid's
|
|
34
|
+
top is underlined in the accent, and the underline moves in the fast step. */
|
|
35
|
+
.crewlet-toolbar.crewlet-emoji-picker__tabs {
|
|
36
|
+
flex-wrap: nowrap;
|
|
37
|
+
gap: 0;
|
|
38
|
+
height: calc(var(--size-control-md) + var(--spacing-2));
|
|
39
|
+
box-sizing: border-box;
|
|
40
|
+
padding: 0 var(--spacing-2);
|
|
41
|
+
box-shadow: inset 0 -1px 0 var(--color-edge-hairline);
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.crewlet-emoji-picker__tab {
|
|
45
|
+
display: inline-flex;
|
|
46
|
+
align-items: center;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
align-self: stretch;
|
|
49
|
+
width: var(--crewlet-emoji-picker-cell);
|
|
50
|
+
padding: 0;
|
|
51
|
+
border: 0;
|
|
52
|
+
border-radius: var(--radius-sm) var(--radius-sm) 0 0;
|
|
53
|
+
background: transparent;
|
|
54
|
+
color: var(--color-text-tertiary);
|
|
55
|
+
cursor: pointer;
|
|
56
|
+
transition: box-shadow var(--motion-duration-fast) var(--motion-easing-out);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.crewlet-emoji-picker__tab:hover,
|
|
60
|
+
.crewlet-emoji-picker__tab.is-current {
|
|
61
|
+
color: var(--color-text-primary);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.crewlet-emoji-picker__tab.is-current {
|
|
65
|
+
box-shadow: inset 0 -2px 0 var(--color-brand-accent);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.crewlet-emoji-picker__tab:focus-visible {
|
|
69
|
+
outline: 2px solid var(--color-focus);
|
|
70
|
+
outline-offset: var(--size-focus-ring-inset-offset);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* The field, 36 tall with the chat step's words, on a band of its own. */
|
|
74
|
+
.crewlet-emoji-picker__body > .crewlet-input {
|
|
75
|
+
width: auto;
|
|
76
|
+
min-height: var(--crewlet-emoji-picker-field);
|
|
77
|
+
margin: var(--spacing-3) var(--spacing-3) var(--spacing-2);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.crewlet-emoji-picker__body > .crewlet-input .crewlet-input__control {
|
|
81
|
+
font-size: var(--font-size-sm);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.crewlet-emoji-picker__scroll {
|
|
85
|
+
position: relative;
|
|
86
|
+
height: var(--crewlet-emoji-picker-grid);
|
|
87
|
+
padding: 0 var(--spacing-3);
|
|
88
|
+
overflow-y: auto;
|
|
89
|
+
overscroll-behavior: contain;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
/* A group's heading, in the meta register at the regular weight. */
|
|
93
|
+
.crewlet-emoji-picker__group {
|
|
94
|
+
padding: var(--spacing-2) var(--spacing-1) var(--spacing-1);
|
|
95
|
+
color: var(--color-text-tertiary);
|
|
96
|
+
font-size: var(--font-size-2xs);
|
|
97
|
+
font-weight: var(--font-weight-regular);
|
|
98
|
+
letter-spacing: var(--font-letter-spacing-wide);
|
|
99
|
+
text-transform: uppercase;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.crewlet-emoji-picker__grid {
|
|
103
|
+
display: grid;
|
|
104
|
+
grid-template-columns: repeat(var(--crewlet-emoji-picker-columns), minmax(0, 1fr));
|
|
105
|
+
gap: var(--crewlet-emoji-picker-pitch);
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.crewlet-emoji-picker__cell {
|
|
109
|
+
height: var(--crewlet-emoji-picker-cell-height);
|
|
110
|
+
padding: 0;
|
|
111
|
+
border: 0;
|
|
112
|
+
border-radius: var(--radius-sm);
|
|
113
|
+
background: transparent;
|
|
114
|
+
font-size: var(--font-size-xl);
|
|
115
|
+
line-height: 1;
|
|
116
|
+
cursor: pointer;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.crewlet-emoji-picker__cell:hover {
|
|
120
|
+
background: var(--color-surface-hover);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
/* The match Enter picks while searching: the accent's soft fill, which the
|
|
124
|
+
pointer's step does not take away. */
|
|
125
|
+
.crewlet-emoji-picker__cell.is-chosen {
|
|
126
|
+
background: var(--color-brand-accent-soft);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.crewlet-emoji-picker__cell:focus-visible {
|
|
130
|
+
background: var(--color-surface-hover);
|
|
131
|
+
outline: 2px solid var(--color-focus);
|
|
132
|
+
outline-offset: var(--size-focus-ring-inset-offset);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.crewlet-emoji-picker__preview {
|
|
136
|
+
display: flex;
|
|
137
|
+
align-items: center;
|
|
138
|
+
gap: var(--spacing-2);
|
|
139
|
+
min-height: var(--size-control-md);
|
|
140
|
+
padding: var(--spacing-2) var(--spacing-3);
|
|
141
|
+
border-top: 1px solid var(--color-edge-hairline);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.crewlet-emoji-picker__preview-emoji {
|
|
145
|
+
font-size: var(--font-size-xl);
|
|
146
|
+
line-height: 1;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.crewlet-emoji-picker__preview-words {
|
|
150
|
+
display: flex;
|
|
151
|
+
flex-direction: column;
|
|
152
|
+
min-width: 0;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.crewlet-emoji-picker__preview-name {
|
|
156
|
+
overflow: hidden;
|
|
157
|
+
color: var(--color-text-primary);
|
|
158
|
+
font-size: var(--font-size-sm);
|
|
159
|
+
font-weight: var(--font-weight-semibold);
|
|
160
|
+
text-overflow: ellipsis;
|
|
161
|
+
white-space: nowrap;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.crewlet-emoji-picker__preview-code,
|
|
165
|
+
.crewlet-emoji-picker__preview-idle {
|
|
166
|
+
color: var(--color-text-tertiary);
|
|
167
|
+
font-size: var(--font-size-xs);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.crewlet-emoji-picker__none {
|
|
171
|
+
margin: var(--spacing-3) var(--spacing-1);
|
|
172
|
+
color: var(--color-text-tertiary);
|
|
173
|
+
font-size: var(--font-size-sm);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
@media (prefers-reduced-motion: reduce) {
|
|
177
|
+
.crewlet-emoji-picker__tab {
|
|
178
|
+
transition: none;
|
|
179
|
+
}
|
|
180
|
+
}
|
package/dist/EntityChip/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { ErrorBoundary } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { ErrorBoundary } from '../chunk-T63HK6T5.js';
|
|
2
|
+
import '../chunk-NPPPQSRU.js';
|
|
3
3
|
import '../chunk-XSPCITPN.js';
|
|
4
4
|
import '../chunk-TDFLCUBE.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-HXVMXH6U.js';
|
|
6
6
|
import '../chunk-L72URIHR.js';
|
|
7
7
|
import '../chunk-HTS5RJ7S.js';
|
|
8
8
|
import '../chunk-FIX72ZEC.js';
|
package/dist/FactList/index.js
CHANGED
package/dist/FileDrop/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { FileDrop, FilePickButton, droppedFiles, pickedFiles } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { FileDrop, FilePickButton, droppedFiles, pickedFiles } from '../chunk-BLFHFMXQ.js';
|
|
2
|
+
import '../chunk-NPPPQSRU.js';
|
|
3
3
|
import '../chunk-XSPCITPN.js';
|
|
4
4
|
import '../chunk-TDFLCUBE.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-HXVMXH6U.js';
|
|
6
6
|
import '../chunk-L72URIHR.js';
|
|
7
7
|
import '../chunk-HTS5RJ7S.js';
|
|
8
8
|
import '../chunk-FIX72ZEC.js';
|
package/dist/FilterPill/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { FILTER_PILL_LABELS, FILTER_PILL_WORDS_CLASS, FilterPill, filterPillSentence } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { FILTER_PILL_LABELS, FILTER_PILL_WORDS_CLASS, FilterPill, filterPillSentence } from '../chunk-OKOHQ3E7.js';
|
|
2
|
+
import '../chunk-BF2BXM6V.js';
|
|
3
3
|
import '../chunk-TDFLCUBE.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-HXVMXH6U.js';
|
|
5
5
|
import '../chunk-L72URIHR.js';
|
|
6
6
|
import '../chunk-HTS5RJ7S.js';
|
|
7
7
|
import '../chunk-FIX72ZEC.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { FollowBanner } from '../chunk-
|
|
1
|
+
export { FollowBanner } from '../chunk-WNVUN3LJ.js';
|
|
2
2
|
import '../chunk-BPCY7ZID.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-NPPPQSRU.js';
|
|
4
4
|
import '../chunk-XSPCITPN.js';
|
|
5
5
|
import '../chunk-TDFLCUBE.js';
|
|
6
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-HXVMXH6U.js';
|
|
7
7
|
import '../chunk-L72URIHR.js';
|
|
8
8
|
import '../chunk-HTS5RJ7S.js';
|
|
9
9
|
import '../chunk-FIX72ZEC.js';
|
package/dist/HuePicker/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import '../chunk-FFMCMSJB.js';
|
|
2
|
-
export { HuePicker, HueSwatch } from '../chunk-
|
|
2
|
+
export { HuePicker, HueSwatch } from '../chunk-QVNEQSOL.js';
|
|
3
3
|
import '../chunk-AYKXMIOR.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-YD5UCBFV.js';
|
|
5
|
+
import '../chunk-STJPIP3R.js';
|
|
6
6
|
import '../chunk-EGMQURBR.js';
|
|
7
7
|
import '../chunk-QRE6JCHS.js';
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-QHUKJN33.js';
|
|
9
|
+
import '../chunk-NPPPQSRU.js';
|
|
10
10
|
import '../chunk-XSPCITPN.js';
|
|
11
11
|
import '../chunk-2YTOOH3A.js';
|
|
12
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-BF2BXM6V.js';
|
|
13
13
|
import '../chunk-TDFLCUBE.js';
|
|
14
|
-
import '../chunk-
|
|
14
|
+
import '../chunk-HXVMXH6U.js';
|
|
15
15
|
import '../chunk-L72URIHR.js';
|
|
16
16
|
import '../chunk-HTS5RJ7S.js';
|
|
17
17
|
import '../chunk-FIX72ZEC.js';
|
package/dist/IconButton/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { IconButton, IconButtonLink } from '../chunk-
|
|
1
|
+
export { IconButton, IconButtonLink } from '../chunk-BF2BXM6V.js';
|
|
2
2
|
import '../chunk-TDFLCUBE.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-HXVMXH6U.js';
|
|
4
4
|
import '../chunk-L72URIHR.js';
|
|
5
5
|
import '../chunk-HTS5RJ7S.js';
|
|
6
6
|
import '../chunk-FIX72ZEC.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { INLINE_EDITOR_LABELS, InlineEditor } from '../chunk-
|
|
1
|
+
export { INLINE_EDITOR_LABELS, InlineEditor } from '../chunk-O3DHDBTW.js';
|
|
2
2
|
import '../chunk-KRF3GQ63.js';
|
|
3
3
|
import '../chunk-GBKBME7Q.js';
|
|
4
4
|
import '../chunk-WGLOH33S.js';
|
|
5
5
|
import '../chunk-QRE6JCHS.js';
|
|
6
6
|
import '../chunk-VBBLHS2Y.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-NPPPQSRU.js';
|
|
8
8
|
import '../chunk-XSPCITPN.js';
|
|
9
9
|
import '../chunk-TDFLCUBE.js';
|
|
10
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-HXVMXH6U.js';
|
|
11
11
|
import '../chunk-L72URIHR.js';
|
|
12
12
|
import '../chunk-HTS5RJ7S.js';
|
|
13
13
|
import '../chunk-FIX72ZEC.js';
|
package/dist/Input/index.js
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
export { FormField, FormRow, FormSection, Input, InputAffix, Label, ReadOnlyField, Textarea, foldLineBreaks } from '../chunk-
|
|
1
|
+
export { FormField, FormRow, FormSection, Input, InputAffix, Label, ReadOnlyField, Textarea, foldLineBreaks } from '../chunk-TE3OMB3Z.js';
|
|
2
2
|
import '../chunk-NICEDVZM.js';
|
|
3
3
|
import '../chunk-JLKO7PSK.js';
|
|
4
|
+
import '../chunk-PJV5HVZY.js';
|
|
4
5
|
import '../chunk-TEXK4RK6.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-BF2BXM6V.js';
|
|
6
7
|
import '../chunk-TDFLCUBE.js';
|
|
7
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-HXVMXH6U.js';
|
|
8
9
|
import '../chunk-L72URIHR.js';
|
|
9
10
|
import '../chunk-HTS5RJ7S.js';
|
|
10
11
|
import '../chunk-FIX72ZEC.js';
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
export { KeyValueRows, keyValueRowsLabels } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { KeyValueRows, keyValueRowsLabels } from '../chunk-J4OL6KHY.js';
|
|
2
|
+
import '../chunk-TE3OMB3Z.js';
|
|
3
3
|
import '../chunk-NICEDVZM.js';
|
|
4
4
|
import '../chunk-JLKO7PSK.js';
|
|
5
|
+
import '../chunk-PJV5HVZY.js';
|
|
5
6
|
import '../chunk-TEXK4RK6.js';
|
|
6
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-NPPPQSRU.js';
|
|
7
8
|
import '../chunk-XSPCITPN.js';
|
|
8
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-BF2BXM6V.js';
|
|
9
10
|
import '../chunk-TDFLCUBE.js';
|
|
10
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-HXVMXH6U.js';
|
|
11
12
|
import '../chunk-L72URIHR.js';
|
|
12
13
|
import '../chunk-HTS5RJ7S.js';
|
|
13
14
|
import '../chunk-FIX72ZEC.js';
|
package/dist/Layer/index.d.ts
CHANGED
|
@@ -2,6 +2,6 @@ import './Layer.css';
|
|
|
2
2
|
export { focusables, isComposing, isModalLayerOpen, layerCount, useBodyScrollLock, useEscapeWithin, useModalLayer, usePopupLayer, } from './stack.js';
|
|
3
3
|
export type { DismissReason, LayerKind, ModalLayer, ModalLayerOptions, PopupLayer, PopupLayerOptions, } from './stack.js';
|
|
4
4
|
export { LAYER_GAP, LAYER_REPOSITION_EVENT, anchorGone, outsideBounds, placePopup, viewportBounds, visibleBounds } from './place.js';
|
|
5
|
-
export type { Placement, PlacementRect, PlacementSize } from './place.js';
|
|
5
|
+
export type { Placement, PlacementRect, PlacementSize, PopupEntrance } from './place.js';
|
|
6
6
|
export { LayerHost, useLayerContainer } from './LayerHost.js';
|
|
7
7
|
export type { LayerHostProps } from './LayerHost.js';
|
package/dist/Layer/place.d.ts
CHANGED
|
@@ -40,6 +40,12 @@ export interface Placement {
|
|
|
40
40
|
export declare const LAYER_REPOSITION_EVENT = "crewlet:viewchange";
|
|
41
41
|
/** Space between a surface and its anchor, and between a surface and an edge. */
|
|
42
42
|
export declare const LAYER_GAP = 4;
|
|
43
|
+
/**
|
|
44
|
+
* How a popup arrives: `rise`, a short rise and fade, or `instant`, drawn the
|
|
45
|
+
* frame it is placed, for a surface opened over and over while a reader
|
|
46
|
+
* works (a chat's message menu, its emoji picker).
|
|
47
|
+
*/
|
|
48
|
+
export type PopupEntrance = 'rise' | 'instant';
|
|
43
49
|
/**
|
|
44
50
|
* Where a surface of `size` goes beside `anchor`, inside `bounds`.
|
|
45
51
|
*
|
package/dist/LinkCard/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { LinkInterstitial, openExternal } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { LinkInterstitial, openExternal } from '../chunk-Y4L7WNWU.js';
|
|
2
|
+
import '../chunk-A2TYEOB4.js';
|
|
3
3
|
import '../chunk-OBFEL5KH.js';
|
|
4
4
|
import '../chunk-BPCY7ZID.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-NPPPQSRU.js';
|
|
6
6
|
import '../chunk-XSPCITPN.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-BF2BXM6V.js';
|
|
8
8
|
import '../chunk-TDFLCUBE.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-HXVMXH6U.js';
|
|
10
10
|
import '../chunk-L72URIHR.js';
|
|
11
11
|
import '../chunk-HTS5RJ7S.js';
|
|
12
12
|
import '../chunk-FIX72ZEC.js';
|
package/dist/ListInput/index.js
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
export { ListInput, withDraft } from '../chunk-
|
|
1
|
+
export { ListInput, withDraft } from '../chunk-5G3KASPV.js';
|
|
2
2
|
import '../chunk-JMBPMSNI.js';
|
|
3
3
|
import '../chunk-SK4BIFTG.js';
|
|
4
4
|
import '../chunk-COS6LJ4K.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-TE3OMB3Z.js';
|
|
6
6
|
import '../chunk-NICEDVZM.js';
|
|
7
7
|
import '../chunk-JLKO7PSK.js';
|
|
8
|
+
import '../chunk-PJV5HVZY.js';
|
|
8
9
|
import '../chunk-TEXK4RK6.js';
|
|
9
10
|
import '../chunk-VBBLHS2Y.js';
|
|
10
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-NPPPQSRU.js';
|
|
11
12
|
import '../chunk-XSPCITPN.js';
|
|
12
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-BF2BXM6V.js';
|
|
13
14
|
import '../chunk-TDFLCUBE.js';
|
|
14
|
-
import '../chunk-
|
|
15
|
+
import '../chunk-HXVMXH6U.js';
|
|
15
16
|
import '../chunk-L72URIHR.js';
|
|
16
17
|
import '../chunk-HTS5RJ7S.js';
|
|
17
18
|
import '../chunk-FIX72ZEC.js';
|
package/dist/LogoSlot/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { LogoSlot, LogoSlotGroup } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { LogoSlot, LogoSlotGroup } from '../chunk-TCNTMTPI.js';
|
|
2
|
+
import '../chunk-BLFHFMXQ.js';
|
|
3
3
|
import '../chunk-3YOLD7WG.js';
|
|
4
4
|
import '../chunk-7W3LYIOC.js';
|
|
5
5
|
import '../chunk-SJ3EUCFD.js';
|
|
6
6
|
import '../chunk-QRE6JCHS.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-NPPPQSRU.js';
|
|
8
8
|
import '../chunk-XSPCITPN.js';
|
|
9
9
|
import '../chunk-TDFLCUBE.js';
|
|
10
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-HXVMXH6U.js';
|
|
11
11
|
import '../chunk-L72URIHR.js';
|
|
12
12
|
import '../chunk-HTS5RJ7S.js';
|
|
13
13
|
import '../chunk-FIX72ZEC.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export { MARKDOWN_FORMATS, MARKDOWN_TEXT_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from '../chunk-
|
|
1
|
+
export { MARKDOWN_FORMATS, MARKDOWN_TEXT_FORMATS, MarkdownEditor, formatMarkdown, insertMarkdown, markdownWords } from '../chunk-KG3PHAUX.js';
|
|
2
2
|
import '../chunk-NPEI2QAN.js';
|
|
3
3
|
import '../chunk-DK4SRL6D.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-YD5UCBFV.js';
|
|
5
|
+
import '../chunk-STJPIP3R.js';
|
|
6
6
|
import '../chunk-EGMQURBR.js';
|
|
7
7
|
import '../chunk-QRE6JCHS.js';
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-QHUKJN33.js';
|
|
9
|
+
import '../chunk-NPPPQSRU.js';
|
|
10
10
|
import '../chunk-XSPCITPN.js';
|
|
11
11
|
import '../chunk-2YTOOH3A.js';
|
|
12
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-BF2BXM6V.js';
|
|
13
13
|
import '../chunk-TDFLCUBE.js';
|
|
14
|
-
import '../chunk-
|
|
14
|
+
import '../chunk-HXVMXH6U.js';
|
|
15
15
|
import '../chunk-L72URIHR.js';
|
|
16
16
|
import '../chunk-HTS5RJ7S.js';
|
|
17
17
|
import '../chunk-FIX72ZEC.js';
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
export { MEMBER_PICKER_LABELS, MemberPicker, chosenMembers } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { MEMBER_PICKER_LABELS, MemberPicker, chosenMembers } from '../chunk-HHRYIXBM.js';
|
|
2
|
+
import '../chunk-DTEDUAEW.js';
|
|
3
|
+
import '../chunk-TE3OMB3Z.js';
|
|
4
4
|
import '../chunk-NICEDVZM.js';
|
|
5
5
|
import '../chunk-JLKO7PSK.js';
|
|
6
|
+
import '../chunk-PJV5HVZY.js';
|
|
6
7
|
import '../chunk-TEXK4RK6.js';
|
|
7
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-BF2BXM6V.js';
|
|
8
9
|
import '../chunk-TDFLCUBE.js';
|
|
9
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-HXVMXH6U.js';
|
|
10
11
|
import '../chunk-L72URIHR.js';
|
|
11
12
|
import '../chunk-HTS5RJ7S.js';
|
|
12
13
|
import '../chunk-FIX72ZEC.js';
|
|
@@ -50,8 +50,23 @@ export interface MentionMenuProps {
|
|
|
50
50
|
/** The foot. Left out, it carries the keyboard hints; `null` draws none. */
|
|
51
51
|
footer?: ReactNode;
|
|
52
52
|
labels?: Partial<MentionMenuLabels> | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* `chat` is a conversation's message box's list: a compact card (the small
|
|
55
|
+
* corner, at most 480px wide) with no heading, and 32px rows whose face
|
|
56
|
+
* column fits an extra small `Avatar` (20px). `default` is today's list.
|
|
57
|
+
*/
|
|
58
|
+
appearance?: MentionMenuAppearance | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* The trigger character's distance in px from the left edge of the box the
|
|
61
|
+
* menu is placed in (`caretPoint`). Given, the card moves along so its face
|
|
62
|
+
* column stands under the trigger, and stays inside that box. Left out, the
|
|
63
|
+
* card starts at the box's left edge.
|
|
64
|
+
*/
|
|
65
|
+
anchor?: number | undefined;
|
|
53
66
|
className?: string | undefined;
|
|
54
67
|
}
|
|
68
|
+
/** The list's look: `default`, or `chat`, a conversation's message box's list. */
|
|
69
|
+
export type MentionMenuAppearance = 'default' | 'chat';
|
|
55
70
|
/**
|
|
56
71
|
* The suggestions a composer opens on "@" or "#": people and agents with
|
|
57
72
|
* their faces and what they are doing, rooms with their glyphs, and everyone
|
|
@@ -67,12 +82,13 @@ export interface MentionMenuProps {
|
|
|
67
82
|
*
|
|
68
83
|
* DRAWN ABOVE THE COMPOSER, never over what is being typed: it is placed
|
|
69
84
|
* against the nearest positioned box round the field, as wide as the field
|
|
70
|
-
* and no wider than a list is read (`--crewlet-mention-menu-width`).
|
|
85
|
+
* and no wider than a list is read (`--crewlet-mention-menu-width`). With an
|
|
86
|
+
* `anchor` (from `caretPoint`) it moves along to stand under the trigger.
|
|
71
87
|
*
|
|
72
88
|
* ITS ROWS ARE `PersonRow`s, so a face, a name and its detail sit where every
|
|
73
89
|
* other list of people in the product puts them.
|
|
74
90
|
*/
|
|
75
|
-
export declare function MentionMenu({ id, label, options, active, onPick, onHover, listRef, keyed, footer, labels: overrides, className, }: MentionMenuProps): import("react").JSX.Element;
|
|
91
|
+
export declare function MentionMenu({ id, label, options, active, onPick, onHover, listRef, keyed, footer, labels: overrides, appearance, anchor, className, }: MentionMenuProps): import("react").JSX.Element;
|
|
76
92
|
/** The mention being typed at the caret. */
|
|
77
93
|
export interface MentionQuery {
|
|
78
94
|
trigger: '@' | '#';
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import '../ChatMessage/ChatScale.css';
|
|
1
2
|
import '../PersonRow/PersonRow.css';
|
|
2
3
|
import './MentionMenu.css';
|
|
3
4
|
export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from './MentionMenu.js';
|
|
4
|
-
export type { MentionMenuLabels, MentionMenuProps, MentionOption, MentionQuery } from './MentionMenu.js';
|
|
5
|
+
export type { MentionMenuAppearance, MentionMenuLabels, MentionMenuProps, MentionOption, MentionQuery } from './MentionMenu.js';
|
|
6
|
+
export { caretPoint } from '../utils/fieldMirror.js';
|
|
7
|
+
export type { CaretPoint } from '../utils/fieldMirror.js';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from '../chunk-
|
|
1
|
+
export { MENTION_MENU_LABELS, MentionMenu, mentionQuery } from '../chunk-47V3ASMW.js';
|
|
2
2
|
import '../chunk-XROJ6XQ3.js';
|
|
3
3
|
import '../chunk-XLMURU75.js';
|
|
4
4
|
import '../chunk-WSIJDWUG.js';
|
|
5
|
+
export { caretPoint } from '../chunk-PJV5HVZY.js';
|
|
5
6
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -10,12 +10,16 @@
|
|
|
10
10
|
* it, so it never covers what is being typed.
|
|
11
11
|
*/
|
|
12
12
|
.crewlet-mention-menu {
|
|
13
|
+
/* The widest the card is drawn, and its face column, which an anchor centres under the trigger. */
|
|
14
|
+
--crewlet-mention-menu-cap: var(--crewlet-mention-menu-width, 560px);
|
|
15
|
+
--crewlet-mention-menu-face: var(--size-control-sm);
|
|
16
|
+
|
|
13
17
|
position: absolute;
|
|
14
18
|
bottom: calc(100% + var(--spacing-1));
|
|
15
19
|
left: 0;
|
|
16
20
|
z-index: var(--z-index-dropdown);
|
|
17
21
|
box-sizing: border-box;
|
|
18
|
-
width: min(100%, var(--crewlet-mention-menu-
|
|
22
|
+
width: min(100%, var(--crewlet-mention-menu-cap));
|
|
19
23
|
overflow: hidden;
|
|
20
24
|
border: 1px solid var(--color-border-default);
|
|
21
25
|
border-radius: var(--radius-lg);
|
|
@@ -70,3 +74,43 @@
|
|
|
70
74
|
display: none;
|
|
71
75
|
}
|
|
72
76
|
}
|
|
77
|
+
|
|
78
|
+
/*
|
|
79
|
+
* ANCHORED UNDER THE TRIGGER (`anchor`): the card moves along until its face
|
|
80
|
+
* column's middle stands under the trigger character (the list's inset, the
|
|
81
|
+
* row's, and half the column), and no further than the box's right edge.
|
|
82
|
+
*/
|
|
83
|
+
.crewlet-mention-menu--anchored {
|
|
84
|
+
left: clamp(
|
|
85
|
+
0px,
|
|
86
|
+
calc(var(--crewlet-mention-menu-anchor) - var(--spacing-1) - var(--spacing-2) - var(--crewlet-mention-menu-face) / 2),
|
|
87
|
+
calc(100% - min(100%, var(--crewlet-mention-menu-cap)))
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
/*
|
|
92
|
+
* A CONVERSATION'S LIST (`appearance="chat"`): a compact card with the small
|
|
93
|
+
* corner and no heading, its rows 32px tall at the transcript's words, the
|
|
94
|
+
* face column fitted to an extra small face (20px).
|
|
95
|
+
*/
|
|
96
|
+
.crewlet-mention-menu--chat {
|
|
97
|
+
--crewlet-mention-menu-cap: var(--crewlet-mention-menu-width, 480px);
|
|
98
|
+
--crewlet-mention-menu-face: 20px;
|
|
99
|
+
|
|
100
|
+
border-radius: var(--radius-sm);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.crewlet-mention-menu--chat .crewlet-mention-menu__list {
|
|
104
|
+
padding-block-start: var(--spacing-1);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.crewlet-mention-menu--chat .crewlet-mention-menu__list > .crewlet-person-row {
|
|
108
|
+
--crewlet-person-row-radius: calc(var(--radius-sm) - var(--spacing-1));
|
|
109
|
+
|
|
110
|
+
min-height: 32px;
|
|
111
|
+
font-size: var(--crewlet-chat-text);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.crewlet-mention-menu--chat .crewlet-person-row__face {
|
|
115
|
+
min-width: var(--crewlet-mention-menu-face);
|
|
116
|
+
}
|
package/dist/Menu/Menu.d.ts
CHANGED
|
@@ -71,6 +71,7 @@
|
|
|
71
71
|
* Ported from the engine dashboard's `ui/Menu.tsx`, with its suite.
|
|
72
72
|
*/
|
|
73
73
|
import { type KeyboardEvent, type ReactNode } from 'react';
|
|
74
|
+
import { type PopupEntrance } from '../Layer/index.js';
|
|
74
75
|
import { type ButtonVariant } from '../Button/index.js';
|
|
75
76
|
export interface MenuItem {
|
|
76
77
|
kind?: 'item';
|
|
@@ -175,7 +176,18 @@ export interface MenuProps {
|
|
|
175
176
|
* name, which a screen reader already hears, so it is shown and not read.
|
|
176
177
|
*/
|
|
177
178
|
tooltip?: ReactNode;
|
|
179
|
+
/** How the panel arrives: `rise` (the default), or `instant`, drawn the frame it is placed. */
|
|
180
|
+
entrance?: PopupEntrance | undefined;
|
|
181
|
+
/**
|
|
182
|
+
* Focus stays on the menu and the keys move a highlight it points at with
|
|
183
|
+
* `aria-activedescendant`: it opens with nothing highlighted (ArrowDown or
|
|
184
|
+
* ArrowUp on the trigger opens on the first or last item), the arrows, Home,
|
|
185
|
+
* End and a letter move it, Enter or Space runs it, and the pointer moves it
|
|
186
|
+
* too. The highlighted row is drawn as the accent fill, with no ring. Off by
|
|
187
|
+
* default: each item takes focus in turn.
|
|
188
|
+
*/
|
|
189
|
+
activeDescendant?: boolean | undefined;
|
|
178
190
|
className?: string | undefined;
|
|
179
191
|
}
|
|
180
|
-
export declare function Menu({ label, items, icon, trigger, trailingIcon, triggerVariant, valueTrigger, triggerTabIndex, open: controlled, onOpenChange, align, width, renderTrigger, header, tooltip, className, }: MenuProps): import("react").JSX.Element;
|
|
192
|
+
export declare function Menu({ label, items, icon, trigger, trailingIcon, triggerVariant, valueTrigger, triggerTabIndex, open: controlled, onOpenChange, align, width, renderTrigger, header, tooltip, entrance, activeDescendant, className, }: MenuProps): import("react").JSX.Element;
|
|
181
193
|
export {};
|
package/dist/Menu/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { Menu } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { Menu } from '../chunk-QHUKJN33.js';
|
|
2
|
+
import '../chunk-NPPPQSRU.js';
|
|
3
3
|
import '../chunk-XSPCITPN.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-BF2BXM6V.js';
|
|
5
5
|
import '../chunk-TDFLCUBE.js';
|
|
6
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-HXVMXH6U.js';
|
|
7
7
|
import '../chunk-L72URIHR.js';
|
|
8
8
|
import '../chunk-HTS5RJ7S.js';
|
|
9
9
|
import '../chunk-FIX72ZEC.js';
|