@crewlethq/ui 0.55.0 → 0.57.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 +97 -4
- package/dist/Accordion/index.js +2 -2
- package/dist/AgentHandoffPanel/index.js +14 -9
- package/dist/AppShell/AppShell.d.ts +84 -1
- package/dist/AppShell/ResizeHandle.d.ts +74 -0
- package/dist/AppShell/index.d.ts +7 -2
- package/dist/AppShell/index.js +6 -4
- package/dist/AppShell/regions.d.ts +36 -0
- package/dist/AppShell/storedWidth.d.ts +47 -0
- package/dist/{AppShell-5LPXYUV3.css → AppShell-ZVCJRGXH.css} +172 -1
- package/dist/ArrangeFrame/index.js +2 -2
- package/dist/ArrangeList/index.js +5 -5
- package/dist/ArtifactBar/ArtifactBar.d.ts +13 -2
- package/dist/ArtifactBar/index.js +9 -8
- package/dist/{ArtifactBar-UMZCTARR.css → ArtifactBar-LEBMR35Y.css} +19 -1
- package/dist/ArtifactCard/index.js +6 -6
- package/dist/ArtifactNameCell/ArtifactNameCell.d.ts +7 -1
- package/dist/ArtifactNameCell/index.js +1 -1
- package/dist/ArtifactPanel/ArtifactPanel.d.ts +11 -17
- package/dist/ArtifactPanel/index.d.ts +3 -0
- package/dist/ArtifactPanel/index.js +8 -2
- package/dist/ArtifactPanel-TN4FFK2F.css +43 -0
- package/dist/AvatarPicker/index.js +9 -8
- package/dist/Button/index.js +2 -1
- package/dist/{Button-UWKBTKYD.css → Button-VXJ7M5XF.css} +9 -32
- package/dist/Canvas/index.js +5 -4
- package/dist/CanvasBoard/index.js +7 -6
- package/dist/CanvasToolbar/index.js +6 -5
- package/dist/ChangeList/ChangeList.d.ts +114 -0
- package/dist/ChangeList/index.d.ts +3 -0
- package/dist/ChangeList/index.js +10 -0
- package/dist/ChangeList-CB2DLR5S.css +151 -0
- package/dist/ChatThread/ChatThread.d.ts +53 -0
- package/dist/ChatThread/index.d.ts +3 -0
- package/dist/ChatThread/index.js +6 -0
- package/dist/ChatThread-52KMDXHB.css +58 -0
- package/dist/Checkbox/index.js +4 -4
- package/dist/CodeBlock/index.js +5 -4
- package/dist/ColorField/index.js +4 -4
- package/dist/ColorSwatch/index.js +5 -4
- package/dist/Combobox/index.js +5 -5
- package/dist/CommandPalette/index.js +9 -8
- package/dist/CommentThread/index.js +9 -7
- package/dist/Composer/Composer.d.ts +39 -2
- package/dist/Composer/index.js +5 -4
- package/dist/Composer-JSGTOW3F.css +192 -0
- package/dist/ConfirmField/index.js +4 -4
- package/dist/ConflictNote/index.js +3 -2
- package/dist/ContrastHelp/index.js +2 -2
- package/dist/Copyable/index.js +4 -3
- package/dist/DataGrid/driving.d.ts +48 -0
- package/dist/DataGrid/index.d.ts +2 -0
- package/dist/DataGrid/index.js +8 -7
- package/dist/DataTable/index.js +10 -9
- package/dist/DataView/index.js +14 -13
- package/dist/DatasetSource/index.js +2 -2
- package/dist/DateTimePicker/index.js +4 -3
- package/dist/DiffList/DiffList.d.ts +12 -3
- package/dist/DiffList/index.d.ts +1 -1
- package/dist/DiffList/index.js +1 -1
- package/dist/{DiffList-3EX64AAE.css → DiffList-GE6YBRLJ.css} +53 -0
- package/dist/Disclosure/anatomy.d.ts +14 -1
- package/dist/Disclosure/index.js +2 -2
- package/dist/{Disclosure-P4FH3C35.css → Disclosure-FVMA4RW2.css} +36 -0
- package/dist/DocTabsEditor/index.js +8 -7
- package/dist/DownloadButton/DownloadButton.d.ts +21 -4
- package/dist/DownloadButton/index.d.ts +1 -1
- package/dist/DownloadButton/index.js +4 -3
- package/dist/EditingStatus/index.js +2 -2
- package/dist/{Editor-GNKMX3VF.js → Editor-S4HARQ7V.js} +8 -7
- package/dist/EntityList/EntityList.d.ts +37 -0
- package/dist/EntityList/index.d.ts +3 -0
- package/dist/EntityList/index.js +10 -0
- package/dist/EntityList-XIICECVC.css +55 -0
- package/dist/ErrorBoundary/index.js +3 -2
- package/dist/FileDrop/index.js +3 -2
- package/dist/FollowBanner/index.js +3 -2
- package/dist/HuePicker/index.js +8 -7
- package/dist/IconButton/IconButton.d.ts +6 -1
- package/dist/IconButton/index.js +1 -1
- package/dist/{IconButton-K24JQHLF.css → IconButton-6WA7UEBJ.css} +44 -21
- package/dist/IconTile/IconTile.d.ts +8 -2
- package/dist/IconTile/index.js +1 -1
- package/dist/{IconTile-4GNWTLAW.css → IconTile-G52XZVR4.css} +3 -0
- package/dist/InlineEditor/index.js +6 -5
- package/dist/Input/index.js +3 -3
- package/dist/LinkInterstitial/index.js +6 -5
- package/dist/ListInput/index.js +7 -6
- package/dist/LogoSlot/index.js +4 -3
- package/dist/MarkdownEditor/index.js +8 -7
- package/dist/Menu/index.js +4 -3
- package/dist/MergeConflicts/index.js +8 -7
- package/dist/MessageBubble/MessageBubble.d.ts +34 -0
- package/dist/MessageBubble/index.d.ts +3 -0
- package/dist/MessageBubble/index.js +2 -0
- package/dist/MessageBubble-GKO6X3QG.css +71 -0
- package/dist/Modal/index.js +5 -4
- package/dist/OpenInAppCard/OpenInAppCard.d.ts +44 -0
- package/dist/OpenInAppCard/index.d.ts +3 -0
- package/dist/OpenInAppCard/index.js +15 -0
- package/dist/OpenInAppCard-CKHCK7DO.css +24 -0
- package/dist/OrgTable/index.js +3 -3
- package/dist/PeekRail/PeekHost.d.ts +90 -0
- package/dist/PeekRail/PeekRail.d.ts +83 -0
- package/dist/PeekRail/activation.d.ts +30 -0
- package/dist/PeekRail/index.d.ts +8 -0
- package/dist/PeekRail/index.js +8 -0
- package/dist/PeekRail-4L5YUQMW.css +95 -0
- package/dist/PeopleRail/index.js +4 -3
- package/dist/PinTile/index.js +2 -2
- package/dist/PresenterView/index.js +5 -4
- package/dist/PrincipalPicker/index.js +6 -6
- package/dist/ProposalCard/ProposalCard.d.ts +183 -0
- package/dist/ProposalCard/index.d.ts +3 -0
- package/dist/ProposalCard/index.js +17 -0
- package/dist/ProposalCard-23575F4C.css +29 -0
- package/dist/ReceiptStrip/ReceiptStrip.d.ts +78 -0
- package/dist/ReceiptStrip/index.d.ts +3 -0
- package/dist/ReceiptStrip/index.js +5 -0
- package/dist/ReceiptStrip-IIRKRTBG.css +93 -0
- package/dist/RefusalCard/RefusalCard.d.ts +34 -0
- package/dist/RefusalCard/index.d.ts +3 -0
- package/dist/RefusalCard/index.js +10 -0
- package/dist/RefusalCard-UM67F5HB.css +8 -0
- package/dist/RelativeTime/clock.d.ts +0 -6
- package/dist/RelativeTime/index.js +1 -1
- package/dist/ResizeHandle-2UNSZ4ZQ.css +59 -0
- package/dist/ResultTableCard/ResultTableCard.d.ts +64 -0
- package/dist/ResultTableCard/index.d.ts +3 -0
- package/dist/ResultTableCard/index.js +16 -0
- package/dist/ResultTableCard-HZRUDNTX.css +40 -0
- package/dist/ReviewList/index.js +2 -2
- package/dist/RichEditor/index.js +3 -2
- package/dist/RunChip/RunChip.d.ts +53 -0
- package/dist/RunChip/index.d.ts +3 -0
- package/dist/RunChip/index.js +10 -0
- package/dist/RunChip-I2S4VZ3R.css +43 -0
- package/dist/SandboxedFrame/index.js +3 -2
- package/dist/SegmentedControl/index.js +7 -6
- package/dist/SelectionBar/index.js +4 -3
- package/dist/SendButton/SendButton.d.ts +38 -0
- package/dist/SendButton/index.d.ts +2 -0
- package/dist/SendButton/index.js +4 -0
- package/dist/SetupWizard/index.js +6 -5
- package/dist/ShareDialog/index.js +8 -7
- package/dist/SheetColumnEditor/index.js +13 -12
- package/dist/SheetGrid/index.js +7 -6
- package/dist/SidePanel/SidePanel.d.ts +137 -0
- package/dist/SidePanel/SidePanelBase.d.ts +59 -0
- package/dist/SidePanel/index.d.ts +5 -0
- package/dist/SidePanel/index.js +11 -0
- package/dist/SidePanel-ERBUIELD.css +235 -0
- package/dist/SlideCompare/index.js +3 -2
- package/dist/SlideFilmstrip/index.js +7 -6
- package/dist/SlideNav/index.js +2 -2
- package/dist/Spinner/Spinner.d.ts +35 -0
- package/dist/Spinner/index.d.ts +3 -0
- package/dist/Spinner/index.js +2 -0
- package/dist/Spinner-XZ2TVYE5.css +46 -0
- package/dist/StatusCard/StatusCard.d.ts +59 -0
- package/dist/StatusCard/index.d.ts +3 -0
- package/dist/StatusCard/index.js +9 -0
- package/dist/StatusCard-6RPEE6UU.css +62 -0
- package/dist/StepList-A4YVU4JI.css +119 -0
- package/dist/Stepper/StepList.d.ts +72 -0
- package/dist/Stepper/index.d.ts +3 -0
- package/dist/Stepper/index.js +2 -1
- package/dist/SuggestionRow/SuggestionRow.d.ts +45 -0
- package/dist/SuggestionRow/index.d.ts +3 -0
- package/dist/SuggestionRow/index.js +3 -0
- package/dist/SuggestionRow-OKBGNHSS.css +102 -0
- package/dist/Switcher/index.js +9 -8
- package/dist/Table/Table.d.ts +23 -2
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-TGCS4C3F.css → Table-RUYMMWXT.css} +49 -0
- package/dist/TableCells/index.js +2 -2
- package/dist/Tabs/index.js +6 -5
- package/dist/TagsInput/index.js +4 -4
- package/dist/ThemeGallery/index.js +2 -2
- package/dist/ThemeSwitcher/index.js +8 -7
- package/dist/ThemeToggle/index.js +2 -2
- package/dist/TimeRangePicker/TimeRangePicker.d.ts +121 -0
- package/dist/TimeRangePicker/index.d.ts +2 -0
- package/dist/TimeRangePicker/index.js +23 -0
- package/dist/TimeWindowPicker/index.js +8 -7
- package/dist/Toaster/Toaster.d.ts +27 -3
- package/dist/Toaster/index.d.ts +2 -2
- package/dist/Toaster/index.js +1 -1
- package/dist/{Toaster-C6BQ7L6I.css → Toaster-MX7TBMC3.css} +32 -11
- package/dist/TreeCanvas/index.js +6 -5
- package/dist/TreeGrid/index.js +2 -2
- package/dist/VersionCompare/index.js +9 -8
- package/dist/VersionTimeline/index.js +4 -3
- package/dist/WidgetFrame/index.js +2 -2
- package/dist/{chunk-KHKZPZHO.js → chunk-272Y3YMV.js} +3 -3
- package/dist/{chunk-LACA4JGC.js → chunk-2BQYODY3.js} +1 -1
- package/dist/{chunk-CCPOLCZL.js → chunk-2TTFDRR3.js} +2 -2
- package/dist/{chunk-4BJK7FE5.js → chunk-3EYSYEXP.js} +1 -1
- package/dist/chunk-3LI4TRUR.js +22 -0
- package/dist/{chunk-ATCHK6LC.js → chunk-3NQS6KYG.js} +1 -1
- package/dist/{chunk-V2N3BMOT.js → chunk-45KMH3E3.js} +11 -4
- package/dist/{chunk-ZMBPEHYH.js → chunk-4CBGIRVU.js} +1 -1
- package/dist/{chunk-DFW5PDU5.js → chunk-4OINEWR4.js} +1 -1
- package/dist/{chunk-5XKI4ITH.js → chunk-56P72ZBE.js} +4 -4
- package/dist/{chunk-J24Q4HTD.js → chunk-5NT6OIPP.js} +13 -3
- package/dist/{chunk-O2KT7HBD.js → chunk-5OMV75GE.js} +3 -3
- package/dist/{chunk-6RMZH7P7.js → chunk-672GLRBU.js} +2 -2
- package/dist/{chunk-MFXN46NN.js → chunk-67F2AM4R.js} +3 -3
- package/dist/{chunk-NQCY44B3.js → chunk-67MW366X.js} +2 -2
- package/dist/{chunk-URV6MGWT.js → chunk-6KLK7E76.js} +2 -2
- package/dist/{chunk-ZFM5L7M4.js → chunk-6NJW5KSX.js} +2 -2
- package/dist/{chunk-A4GFEMVI.js → chunk-6T6V5565.js} +1 -1
- package/dist/{chunk-THDGBD6Y.js → chunk-AKFHMLEX.js} +1 -1
- package/dist/{chunk-CNGHOTHV.js → chunk-AWSFK2IK.js} +2 -2
- package/dist/{chunk-HQJ24WPM.js → chunk-AZ5BKSGV.js} +1 -1
- package/dist/chunk-BLPT6GHV.js +31 -0
- package/dist/chunk-C3FX7ZSU.js +30 -0
- package/dist/{chunk-LDGQIDIZ.js → chunk-CGT4R7LW.js} +64 -2
- package/dist/chunk-CIYHSTIF.js +182 -0
- package/dist/chunk-CZNG3V6L.js +55 -0
- package/dist/{chunk-DM4JG4M5.js → chunk-D5OSP3KI.js} +3 -3
- package/dist/{chunk-BTHQFWMG.js → chunk-DOPPU6TZ.js} +4 -4
- package/dist/{chunk-AC22RZKC.js → chunk-DRT4L4WC.js} +17 -5
- package/dist/chunk-EA23JG6R.js +9 -0
- package/dist/{chunk-WHL3XZCK.js → chunk-EBG3V4MK.js} +6 -6
- package/dist/{chunk-5JDHMDMQ.js → chunk-EDNZHW4K.js} +57 -7
- package/dist/{chunk-E6HXFFWO.js → chunk-EGL24VY5.js} +2 -2
- package/dist/{chunk-7SHAFLEX.js → chunk-ES4HR34Y.js} +2 -2
- package/dist/chunk-EVWTLFKI.js +102 -0
- package/dist/chunk-FA44M2YT.js +25 -0
- package/dist/{chunk-LKBZV5IT.js → chunk-FLTMDSC3.js} +1 -1
- package/dist/{chunk-XANKR3EP.js → chunk-FXQLNETQ.js} +2 -2
- package/dist/{chunk-G22NPQG4.js → chunk-GCASX3FD.js} +4 -4
- package/dist/{chunk-OGXHZHRX.js → chunk-GG4QZWMQ.js} +2 -2
- package/dist/{chunk-XP7EXNKF.js → chunk-GPW4M4OI.js} +2 -2
- package/dist/chunk-GZMEWWXW.js +78 -0
- package/dist/{chunk-OG6CL3EB.js → chunk-HD4QJ2SI.js} +3 -2
- package/dist/{chunk-SYY26XBX.js → chunk-HGCDJOEF.js} +2 -2
- package/dist/chunk-HGYHWWA5.js +54 -0
- package/dist/{chunk-ZS63CFDO.js → chunk-HL4CPLEK.js} +7 -7
- package/dist/{chunk-BEHFTRMZ.js → chunk-HNK43Z3P.js} +23 -5
- package/dist/{chunk-UO7JZVCO.js → chunk-HVEDVKXL.js} +1 -1
- package/dist/{chunk-FS4IH7VB.js → chunk-I7VG6RQE.js} +2 -2
- package/dist/{chunk-3RCHEFIL.js → chunk-ICJRP6QW.js} +2 -2
- package/dist/{chunk-YRIZAIU6.js → chunk-IDQBSMMZ.js} +2 -2
- package/dist/chunk-JILNCBBS.js +27 -0
- package/dist/{chunk-W5GM452Z.js → chunk-JJ3NOBJ6.js} +5 -5
- package/dist/chunk-JLRXCKTS.js +97 -0
- package/dist/{chunk-OJCVVCAZ.js → chunk-JMMS2PQU.js} +1 -1
- package/dist/{chunk-IVAR7NRW.js → chunk-JS2TRHBF.js} +3 -3
- package/dist/{chunk-3CZ7XAVY.js → chunk-KS7YIJ4S.js} +10 -6
- package/dist/{chunk-MU5KH3JF.js → chunk-LQ6AGUDL.js} +2 -2
- package/dist/chunk-LXYSWQNE.js +214 -0
- package/dist/chunk-LZXY6IMO.js +68 -0
- package/dist/{chunk-EKLEYNGR.js → chunk-MYX4XABB.js} +3 -3
- package/dist/{chunk-PM3JVNRY.js → chunk-N3ISZVLK.js} +1 -1
- package/dist/chunk-NEHSV55H.js +119 -0
- package/dist/{chunk-LLHO4FJK.js → chunk-NHJQXDHA.js} +1 -1
- package/dist/{chunk-F6CKQX5D.js → chunk-NK3D66PB.js} +2 -2
- package/dist/{chunk-RHPBTE3F.js → chunk-NQGZRMUG.js} +1 -1
- package/dist/chunk-NVZCANJ5.js +3 -0
- package/dist/{chunk-RRO7UEYU.js → chunk-OHBXOEP3.js} +1 -1
- package/dist/{chunk-USVUSO3S.js → chunk-OHG7762N.js} +1 -1
- package/dist/{chunk-OBUQVGEG.js → chunk-OJ2QULVH.js} +1 -1
- package/dist/{chunk-ITTECHM4.js → chunk-OOZ5AGPS.js} +5 -5
- package/dist/{chunk-BZXY2L2D.js → chunk-OYAXKHVW.js} +1 -1
- package/dist/{chunk-WQQ5T5SA.js → chunk-OZIBNFLO.js} +1 -1
- package/dist/{chunk-DFK5EQTU.js → chunk-PDTEPN4D.js} +1 -1
- package/dist/chunk-PIYJNCN7.js +124 -0
- package/dist/{chunk-ZVV2VERB.js → chunk-Q6R6EUQ4.js} +3 -3
- package/dist/chunk-QYEOGGVS.js +161 -0
- package/dist/{chunk-NWGGH2LN.js → chunk-QZ4B72FP.js} +3 -3
- package/dist/chunk-RV2FGESF.js +98 -0
- package/dist/{chunk-TQ3C3Q7V.js → chunk-S5C64PTT.js} +1 -1
- package/dist/chunk-SDSBVVLL.js +45 -0
- package/dist/{chunk-ZNOXQACX.js → chunk-T4D7RZNI.js} +2 -2
- package/dist/{chunk-TDVPYBNL.js → chunk-TA72CURM.js} +1 -1
- package/dist/{chunk-WXOYHVWG.js → chunk-TD3UHDFY.js} +4 -4
- package/dist/{chunk-H7FUQCQY.js → chunk-TDQZ4LB5.js} +8 -6
- package/dist/chunk-TFGCNBWP.js +64 -0
- package/dist/{chunk-TMM32U7D.js → chunk-TKS7FTTO.js} +2 -2
- package/dist/{chunk-NKHS2RQ2.js → chunk-U5PJSGHG.js} +1 -1
- package/dist/{chunk-7CGPPAYR.js → chunk-UV4LOQ3E.js} +1 -1
- package/dist/{chunk-ON2E46DX.js → chunk-VRNUKH2W.js} +1 -1
- package/dist/{chunk-XX2VQE55.js → chunk-WBRC3MNE.js} +1 -1
- package/dist/{chunk-NTZQN7OR.js → chunk-WBTCOFMZ.js} +2 -2
- package/dist/chunk-WDIVALLP.js +51 -0
- package/dist/{chunk-QMIWMLFI.js → chunk-WOW5SCEK.js} +1 -1
- package/dist/chunk-XODESBSR.js +250 -0
- package/dist/{chunk-EJWPYEG4.js → chunk-XRZGGB6I.js} +1 -1
- package/dist/{chunk-34C7NYIQ.js → chunk-Y73BQL74.js} +1 -1
- package/dist/{chunk-KIRQZG3G.js → chunk-YCGZK2E4.js} +1 -1
- package/dist/{chunk-5TK3C6RG.js → chunk-YCZ2FBKA.js} +1 -1
- package/dist/{chunk-TV2QW6GX.js → chunk-YEURM24I.js} +3 -3
- package/dist/{chunk-34ANLQW2.js → chunk-YGC7BFX2.js} +211 -9
- package/dist/{chunk-IW55G7XG.js → chunk-YNRKVY7X.js} +11 -1
- package/dist/{chunk-LFHCXZO5.js → chunk-Z3GDMNMU.js} +3 -3
- package/dist/{chunk-LQPU5O3B.js → chunk-Z7PJF6F3.js} +3 -3
- package/dist/{chunk-HDHL773Z.js → chunk-ZH4MJM73.js} +1 -1
- package/dist/generated/index.d.ts +17 -0
- package/dist/generated/index.js +140 -121
- package/dist/index.js +140 -121
- package/dist/styles.css +1887 -218
- package/dist/utils/index.js +1 -1
- package/dist/utils/useDownload.d.ts +6 -0
- package/package.json +3 -3
- package/dist/ArtifactPanel-KKUUIPEU.css +0 -159
- package/dist/Composer-TXULCPPV.css +0 -99
- package/dist/chunk-4E5MWUUJ.js +0 -48
- package/dist/chunk-FZVJDJFN.js +0 -54
- package/dist/chunk-IXJHTFXG.js +0 -17
- package/dist/chunk-NBDN5JZV.js +0 -123
- package/dist/{chunk-UTESMBPL.js → chunk-ESUZ27TS.js} +1 -1
- /package/dist/{chunk-55MPFB2U.js → chunk-EWTPXRRM.js} +0 -0
|
@@ -26,6 +26,25 @@
|
|
|
26
26
|
.crewlet-app-shell {
|
|
27
27
|
--crewlet-app-shell-rail: var(--size-shell-rail);
|
|
28
28
|
--crewlet-app-shell-topbar: var(--size-shell-topbar);
|
|
29
|
+
/* What stands on the frame to the sheet's left: the rail's column, or
|
|
30
|
+
nothing where there is no rail or the rail is a drawer. The aside's cap
|
|
31
|
+
below subtracts it, so it is one name for both. */
|
|
32
|
+
--crewlet-app-shell-beside: var(--crewlet-app-shell-rail);
|
|
33
|
+
/* THE ASIDE'S TRACK, while it is a column: the panel's width and the inset
|
|
34
|
+
it is held off the window's edge by, capped so the sheet keeps the
|
|
35
|
+
host's floor (`--crewlet-app-shell-aside-reserve`, the page's sheet with
|
|
36
|
+
its own inset and hairlines). The host publishes both widths on this
|
|
37
|
+
element; with no reserve the panel takes the width it was given. */
|
|
38
|
+
--crewlet-app-shell-aside-track: calc(
|
|
39
|
+
min(
|
|
40
|
+
var(--crewlet-app-shell-aside),
|
|
41
|
+
max(
|
|
42
|
+
0px,
|
|
43
|
+
100% - var(--crewlet-app-shell-beside) - var(--crewlet-app-shell-aside-reserve, 0px) - var(--size-shell-inset)
|
|
44
|
+
)
|
|
45
|
+
) +
|
|
46
|
+
var(--size-shell-inset)
|
|
47
|
+
);
|
|
29
48
|
/* Where the drawer's veil sits while it is open. The shell replaces it with
|
|
30
49
|
the surface's own place in the layer band; this default only has to clear
|
|
31
50
|
the page chrome for the moment before that lands. */
|
|
@@ -56,10 +75,22 @@
|
|
|
56
75
|
* beaten the narrow block's one.
|
|
57
76
|
*/
|
|
58
77
|
.crewlet-app-shell--no-rail {
|
|
78
|
+
--crewlet-app-shell-beside: 0px;
|
|
59
79
|
grid-template-columns: minmax(0, 1fr);
|
|
60
80
|
padding-left: var(--size-shell-inset);
|
|
61
81
|
}
|
|
62
82
|
|
|
83
|
+
/* THE ASIDE AS A COLUMN: a third track, mirroring the rail. The page's sheet
|
|
84
|
+
keeps its column and is only narrower, so nothing under the bar moves but
|
|
85
|
+
its end edge. */
|
|
86
|
+
.crewlet-app-shell[data-aside='column'] {
|
|
87
|
+
grid-template-columns: var(--crewlet-app-shell-rail) minmax(0, 1fr) var(--crewlet-app-shell-aside-track);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.crewlet-app-shell--no-rail[data-aside='column'] {
|
|
91
|
+
grid-template-columns: minmax(0, 1fr) var(--crewlet-app-shell-aside-track);
|
|
92
|
+
}
|
|
93
|
+
|
|
63
94
|
/* The skip link, drawn only while it holds focus, over everything. */
|
|
64
95
|
.crewlet-app-shell__skip {
|
|
65
96
|
position: fixed;
|
|
@@ -590,8 +621,22 @@
|
|
|
590
621
|
* and a short one does not shift every element sideways by the scrollbar's
|
|
591
622
|
* width, which reads as the page jumping on each move.
|
|
592
623
|
*/
|
|
593
|
-
|
|
624
|
+
/*
|
|
625
|
+
* THE BODY: the row under the bar that the scroller and a peek column share.
|
|
626
|
+
* It takes the sheet's remaining height, and the scroller takes the row's
|
|
627
|
+
* remaining width, so a sheet with no peek draws exactly as it did before the
|
|
628
|
+
* row existed.
|
|
629
|
+
*/
|
|
630
|
+
.crewlet-app-shell__body {
|
|
631
|
+
display: flex;
|
|
594
632
|
flex: 1 1 auto;
|
|
633
|
+
min-width: 0;
|
|
634
|
+
min-height: 0;
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
.crewlet-app-shell__main {
|
|
638
|
+
flex: 1 1 0%;
|
|
639
|
+
min-width: 0;
|
|
595
640
|
min-height: 0;
|
|
596
641
|
overflow-y: auto;
|
|
597
642
|
overflow-x: hidden;
|
|
@@ -690,11 +735,131 @@
|
|
|
690
735
|
background: var(--color-surface-scrim);
|
|
691
736
|
}
|
|
692
737
|
|
|
738
|
+
/*
|
|
739
|
+
* THE ASIDE: a second sheet on the frame, to the right of the page's, the
|
|
740
|
+
* same ground, hairline and corner, held off the window's top, right and
|
|
741
|
+
* bottom by the inset. The seam between the two sheets is the page sheet's
|
|
742
|
+
* own end inset, and the grip stands in it (`ResizeHandle`, outside the
|
|
743
|
+
* sheet that clips). The sheet clips what it holds to its corner, so the
|
|
744
|
+
* panel inside runs square to its edges.
|
|
745
|
+
*/
|
|
746
|
+
.crewlet-app-shell__aside {
|
|
747
|
+
position: relative;
|
|
748
|
+
display: flex;
|
|
749
|
+
flex-direction: column;
|
|
750
|
+
grid-column: -2 / -1;
|
|
751
|
+
grid-row: 1;
|
|
752
|
+
min-width: 0;
|
|
753
|
+
min-height: 0;
|
|
754
|
+
margin: var(--size-shell-inset) var(--size-shell-inset) var(--size-shell-inset) 0;
|
|
755
|
+
}
|
|
756
|
+
|
|
757
|
+
/* The grip stands in the seam and over the sheet's hairline, which is the
|
|
758
|
+
edge it moves. */
|
|
759
|
+
.crewlet-app-shell__aside > .crewlet-resize-handle--left {
|
|
760
|
+
left: calc((var(--crewlet-resize-handle-width) + 1px) * -1);
|
|
761
|
+
width: calc(var(--crewlet-resize-handle-width) + 1px);
|
|
762
|
+
}
|
|
763
|
+
|
|
764
|
+
.crewlet-app-shell__aside-sheet {
|
|
765
|
+
display: flex;
|
|
766
|
+
flex: 1 1 auto;
|
|
767
|
+
flex-direction: column;
|
|
768
|
+
min-width: 0;
|
|
769
|
+
min-height: 0;
|
|
770
|
+
border: 1px solid var(--color-border-default);
|
|
771
|
+
border-radius: var(--radius-sheet);
|
|
772
|
+
background: var(--color-surface-background);
|
|
773
|
+
overflow: hidden;
|
|
774
|
+
}
|
|
775
|
+
|
|
776
|
+
/* A dialog takes focus on itself only as the stack's last resort, so its
|
|
777
|
+
own ring would draw round the whole panel; its content draws the focus.
|
|
778
|
+
Transparent rather than none, so forced colours still draw one. */
|
|
779
|
+
.crewlet-app-shell__aside:focus {
|
|
780
|
+
outline: 2px solid transparent;
|
|
781
|
+
}
|
|
782
|
+
|
|
783
|
+
/*
|
|
784
|
+
* THE OVERLAY: over the page's end edge, lifted off it, behind a veil. It
|
|
785
|
+
* keeps the column's corner and inset, so the panel is the same sheet in
|
|
786
|
+
* both shapes and only its ground changes, and it never takes the whole
|
|
787
|
+
* window: a strip of the page stays in view to say what it is over.
|
|
788
|
+
*/
|
|
789
|
+
.crewlet-app-shell__aside[data-shape='overlay'] {
|
|
790
|
+
position: fixed;
|
|
791
|
+
top: 0;
|
|
792
|
+
right: 0;
|
|
793
|
+
bottom: 0;
|
|
794
|
+
z-index: var(--z-index-overlay);
|
|
795
|
+
width: min(var(--crewlet-app-shell-aside), calc(100vw - var(--spacing-10) - var(--size-shell-inset) * 2));
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
.crewlet-app-shell__aside[data-shape='overlay'] > .crewlet-app-shell__aside-sheet {
|
|
799
|
+
box-shadow: var(--shadow-xl);
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
/* THE SHEET: the whole window on a phone, its inset, corner and hairline
|
|
803
|
+
collapsed to nothing, as the page's sheet is under the shell step. */
|
|
804
|
+
.crewlet-app-shell__aside[data-shape='sheet'] {
|
|
805
|
+
position: fixed;
|
|
806
|
+
inset: 0;
|
|
807
|
+
z-index: var(--z-index-overlay);
|
|
808
|
+
margin: 0;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
.crewlet-app-shell__aside[data-shape='sheet'] > .crewlet-app-shell__aside-sheet {
|
|
812
|
+
border-width: 0;
|
|
813
|
+
border-radius: 0;
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
/* What a modal aside sits on: the dialog's ground, the application faded
|
|
817
|
+
back into its own frame, rather than the rail drawer's darker scrim. */
|
|
818
|
+
.crewlet-app-shell__aside-veil {
|
|
819
|
+
background: var(--color-surface-veil);
|
|
820
|
+
}
|
|
821
|
+
|
|
822
|
+
/*
|
|
823
|
+
* AN ENTRANCE, never an exit: the panel arrives from the edge it stands on,
|
|
824
|
+
* and leaves at once when it is closed, so a close is never a wait. The page
|
|
825
|
+
* beside a column reflows at once, because a grid track that appears has no
|
|
826
|
+
* width to start from.
|
|
827
|
+
*/
|
|
828
|
+
@keyframes crewlet-app-shell-aside-in {
|
|
829
|
+
from {
|
|
830
|
+
opacity: 0;
|
|
831
|
+
transform: translateX(var(--spacing-4));
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
|
|
835
|
+
@keyframes crewlet-app-shell-aside-slide {
|
|
836
|
+
from {
|
|
837
|
+
transform: translateX(calc(100% + var(--size-shell-inset)));
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
.crewlet-app-shell__aside[data-shape='column'] > .crewlet-app-shell__aside-sheet {
|
|
842
|
+
animation: crewlet-app-shell-aside-in var(--motion-duration-slow) var(--motion-easing-emphasized);
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
.crewlet-app-shell__aside[data-shape='overlay'],
|
|
846
|
+
.crewlet-app-shell__aside[data-shape='sheet'] {
|
|
847
|
+
animation: crewlet-app-shell-aside-slide var(--motion-duration-slow) var(--motion-easing-emphasized);
|
|
848
|
+
}
|
|
849
|
+
|
|
693
850
|
@media (width < 1024px) {
|
|
694
851
|
.crewlet-app-shell {
|
|
852
|
+
--crewlet-app-shell-beside: 0px;
|
|
695
853
|
grid-template-columns: minmax(0, 1fr);
|
|
696
854
|
}
|
|
697
855
|
|
|
856
|
+
/* The host decides the aside's shape, so a column it asks for under the
|
|
857
|
+
step is still a column; the rail is a drawer here and takes no track. */
|
|
858
|
+
.crewlet-app-shell[data-aside='column'],
|
|
859
|
+
.crewlet-app-shell--no-rail[data-aside='column'] {
|
|
860
|
+
grid-template-columns: minmax(0, 1fr) var(--crewlet-app-shell-aside-track);
|
|
861
|
+
}
|
|
862
|
+
|
|
698
863
|
.crewlet-app-shell--no-rail {
|
|
699
864
|
padding-left: 0;
|
|
700
865
|
}
|
|
@@ -785,6 +950,12 @@
|
|
|
785
950
|
.crewlet-app-shell__rail-status-mark--action {
|
|
786
951
|
transition: none;
|
|
787
952
|
}
|
|
953
|
+
|
|
954
|
+
.crewlet-app-shell__aside[data-shape='column'] > .crewlet-app-shell__aside-sheet,
|
|
955
|
+
.crewlet-app-shell__aside[data-shape='overlay'],
|
|
956
|
+
.crewlet-app-shell__aside[data-shape='sheet'] {
|
|
957
|
+
animation: none;
|
|
958
|
+
}
|
|
788
959
|
}
|
|
789
960
|
|
|
790
961
|
/* ── the account row ───────────────────────────────────────────────────── */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { ArrangeFrame, useGridResize } from '../chunk-
|
|
2
|
-
import '../chunk-LACA4JGC.js';
|
|
1
|
+
export { ArrangeFrame, useGridResize } from '../chunk-FLTMDSC3.js';
|
|
3
2
|
import '../chunk-RSAQOKH3.js';
|
|
3
|
+
import '../chunk-2BQYODY3.js';
|
|
4
4
|
import '../chunk-BZFWDIV6.js';
|
|
5
5
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { ArrangeList, DEFAULT_ARRANGE_LABELS } from '../chunk-
|
|
1
|
+
export { ArrangeList, DEFAULT_ARRANGE_LABELS } from '../chunk-6KLK7E76.js';
|
|
2
2
|
import '../chunk-A722MUNR.js';
|
|
3
3
|
import '../chunk-XJ2QEBMM.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-NHJQXDHA.js';
|
|
5
|
+
import '../chunk-FXQLNETQ.js';
|
|
6
6
|
import '../chunk-XCUUI7E7.js';
|
|
7
7
|
import '../chunk-PQADV6P6.js';
|
|
8
|
+
import '../chunk-RSAQOKH3.js';
|
|
8
9
|
import '../chunk-H5XTJ7GJ.js';
|
|
9
|
-
import '../chunk-
|
|
10
|
+
import '../chunk-2BQYODY3.js';
|
|
10
11
|
import '../chunk-NUZHC6MM.js';
|
|
11
|
-
import '../chunk-RSAQOKH3.js';
|
|
12
12
|
import '../chunk-BZFWDIV6.js';
|
|
13
13
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -111,6 +111,16 @@ export interface ArtifactBarProps {
|
|
|
111
111
|
tools?: readonly ArtifactBarTool[] | undefined;
|
|
112
112
|
/** The More menu's own rows. The tools that fold on a narrow bar are added above them. */
|
|
113
113
|
menu?: readonly MenuEntry[] | undefined;
|
|
114
|
+
/**
|
|
115
|
+
* After everything, More included: a control the host ends every page head
|
|
116
|
+
* with, such as an assistant's Ask button, so an open artifact's own bar
|
|
117
|
+
* keeps it where every other page's bar does. It is the host's own element
|
|
118
|
+
* and is never folded into More, so it stays in reach at every width; a
|
|
119
|
+
* control that should draw smaller on a phone does so itself. It stands a
|
|
120
|
+
* step further from the bar's own tools than they stand from each other,
|
|
121
|
+
* never wraps, and the title gives way to it.
|
|
122
|
+
*/
|
|
123
|
+
end?: ReactNode;
|
|
114
124
|
/** `header` stands as the page's banner; `div` sits inside a host's own. */
|
|
115
125
|
as?: 'header' | 'div' | undefined;
|
|
116
126
|
/** The title's heading level: 1 where the bar is the page's own head. */
|
|
@@ -128,7 +138,8 @@ export interface ArtifactBarProps {
|
|
|
128
138
|
* artifact is (its glyph and its title, renamed in place by whoever may), the
|
|
129
139
|
* version on show, then the kind's own views in the middle, and at the end
|
|
130
140
|
* who else is here, the kind's tools, the panels every artifact has, Share
|
|
131
|
-
* and More
|
|
141
|
+
* and More, and last the host's own control (`end`), as `start` is first.
|
|
142
|
+
* Everything past the title opens on demand: a panel, a menu or a
|
|
132
143
|
* dialog, never a second row of chrome.
|
|
133
144
|
*
|
|
134
145
|
* IT FOLDS BY ITS OWN WIDTH, a container query rather than the window's, since
|
|
@@ -140,7 +151,7 @@ export interface ArtifactBarProps {
|
|
|
140
151
|
* the stylesheet shows one, so no control is ever in two places a reader can
|
|
141
152
|
* see at once and nothing is measured in script.
|
|
142
153
|
*/
|
|
143
|
-
export declare function ArtifactBar({ title, kind, icon, kindLabel, back, start, onRename, renaming, onRenamingChange, version, modes, presence, status, kindTools, tools, menu, as, headingLevel, pending, labels, className, }: ArtifactBarProps): import("react").JSX.Element;
|
|
154
|
+
export declare function ArtifactBar({ title, kind, icon, kindLabel, back, start, onRename, renaming, onRenamingChange, version, modes, presence, status, kindTools, tools, menu, end, as, headingLevel, pending, labels, className, }: ArtifactBarProps): import("react").JSX.Element;
|
|
144
155
|
export interface ArtifactVersionChipProps {
|
|
145
156
|
/** The version on show. */
|
|
146
157
|
version: number;
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
export { ARTIFACT_BAR_LABELS, ArtifactBar, ArtifactVersionChip } from '../chunk-
|
|
1
|
+
export { ARTIFACT_BAR_LABELS, ArtifactBar, ArtifactVersionChip } from '../chunk-TDQZ4LB5.js';
|
|
2
2
|
import '../chunk-OOC7Q67K.js';
|
|
3
3
|
import '../chunk-I33UIUZD.js';
|
|
4
|
-
import '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-AWSFK2IK.js';
|
|
5
|
+
import '../chunk-I7VG6RQE.js';
|
|
6
6
|
import '../chunk-WIATRXEJ.js';
|
|
7
7
|
import '../chunk-EGMQURBR.js';
|
|
8
8
|
import '../chunk-AVL52EME.js';
|
|
9
9
|
import '../chunk-RSKW25Y5.js';
|
|
10
|
-
import '../chunk-TMM32U7D.js';
|
|
11
|
-
import '../chunk-OMV5W53A.js';
|
|
12
|
-
import '../chunk-2YTOOH3A.js';
|
|
13
10
|
import '../chunk-SMBKXWML.js';
|
|
14
11
|
import '../chunk-BHHIIK3M.js';
|
|
15
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-TKS7FTTO.js';
|
|
13
|
+
import '../chunk-HD4QJ2SI.js';
|
|
14
|
+
import '../chunk-EA23JG6R.js';
|
|
15
|
+
import '../chunk-OMV5W53A.js';
|
|
16
|
+
import '../chunk-2YTOOH3A.js';
|
|
16
17
|
import '../chunk-H5XTJ7GJ.js';
|
|
17
|
-
import '../chunk-
|
|
18
|
+
import '../chunk-2BQYODY3.js';
|
|
18
19
|
import '../chunk-NUZHC6MM.js';
|
|
19
20
|
import '../chunk-BZFWDIV6.js';
|
|
20
21
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* width the presence stack goes (the People control still counts who is
|
|
11
11
|
* here), then the labelled tools' words, and under a phone's two panes the
|
|
12
12
|
* views, the unlabelled tools and the kind's glyph fold away, the first two
|
|
13
|
-
* into More.
|
|
13
|
+
* into More. The host's own control at the end (`end`) never folds.
|
|
14
14
|
*/
|
|
15
15
|
|
|
16
16
|
.crewlet-artifact-bar {
|
|
@@ -271,6 +271,19 @@
|
|
|
271
271
|
display: none;
|
|
272
272
|
}
|
|
273
273
|
|
|
274
|
+
/* THE HOST'S OWN CONTROL ENDS THE ROW (`end`), such as the Ask button every
|
|
275
|
+
page bar ends with: a step further from the bar's own tools than they
|
|
276
|
+
stand from each other, so it reads as the frame's rather than the
|
|
277
|
+
artifact's. It never folds and never wraps; the title gives way to it. */
|
|
278
|
+
.crewlet-artifact-bar__trail {
|
|
279
|
+
display: inline-flex;
|
|
280
|
+
flex: none;
|
|
281
|
+
align-items: center;
|
|
282
|
+
gap: var(--spacing-1);
|
|
283
|
+
margin-inline-start: var(--spacing-1);
|
|
284
|
+
white-space: nowrap;
|
|
285
|
+
}
|
|
286
|
+
|
|
274
287
|
/* A rule between two groups of tools: the kind's, then every artifact's. */
|
|
275
288
|
.crewlet-artifact-bar__rule {
|
|
276
289
|
width: 1px;
|
|
@@ -357,6 +370,11 @@
|
|
|
357
370
|
flex: none;
|
|
358
371
|
}
|
|
359
372
|
|
|
373
|
+
/* The phone's row is tight, and so is the host's control beside More. */
|
|
374
|
+
.crewlet-artifact-bar__end > .crewlet-artifact-bar__trail {
|
|
375
|
+
margin-inline-start: 0;
|
|
376
|
+
}
|
|
377
|
+
|
|
360
378
|
.crewlet-artifact-bar__end > .crewlet-artifact-bar__status {
|
|
361
379
|
display: block;
|
|
362
380
|
flex: 0 1 auto;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-
|
|
1
|
+
export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-IDQBSMMZ.js';
|
|
2
2
|
import '../chunk-TEUQWOWZ.js';
|
|
3
3
|
import '../chunk-CI3VPIJN.js';
|
|
4
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-KS7YIJ4S.js';
|
|
5
5
|
import '../chunk-EUCC37WY.js';
|
|
6
6
|
import '../chunk-5AQBPHZD.js';
|
|
7
7
|
import '../chunk-PZKHBB7D.js';
|
|
8
8
|
import '../chunk-RV6XB5UV.js';
|
|
9
9
|
import '../chunk-INHXF2CL.js';
|
|
10
10
|
import '../chunk-AV2DXAEL.js';
|
|
11
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-NHJQXDHA.js';
|
|
12
12
|
import '../chunk-BGLKLXL3.js';
|
|
13
13
|
export { ARTIFACT_KINDS, ArtifactKindGlyph } from '../chunk-RSKW25Y5.js';
|
|
14
|
-
import '../chunk-
|
|
14
|
+
import '../chunk-FXQLNETQ.js';
|
|
15
15
|
import '../chunk-XCUUI7E7.js';
|
|
16
16
|
import '../chunk-BHHIIK3M.js';
|
|
17
17
|
import '../chunk-PQADV6P6.js';
|
|
18
|
+
import '../chunk-RSAQOKH3.js';
|
|
18
19
|
import '../chunk-H5XTJ7GJ.js';
|
|
19
|
-
import '../chunk-
|
|
20
|
+
import '../chunk-2BQYODY3.js';
|
|
20
21
|
import '../chunk-NUZHC6MM.js';
|
|
21
|
-
import '../chunk-RSAQOKH3.js';
|
|
22
22
|
import '../chunk-BZFWDIV6.js';
|
|
23
23
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { type ArtifactKind } from '../ArtifactKindGlyph/index.js';
|
|
2
2
|
export interface ArtifactNameCellLabels {
|
|
3
|
-
|
|
3
|
+
/**
|
|
4
|
+
* The word under an artifact's name, per kind. PARTIAL, and merged over the
|
|
5
|
+
* kit's own words, so a consumer that words only the kinds it knows (an
|
|
6
|
+
* application built before a kind was added) still compiles, and a kind it
|
|
7
|
+
* does not word reads in the kit's own word rather than nothing.
|
|
8
|
+
*/
|
|
9
|
+
kinds: Partial<Record<ArtifactKind, string>>;
|
|
4
10
|
pinned: string;
|
|
5
11
|
/** The word under a folder's name, where an artifact's says its kind. */
|
|
6
12
|
folder: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { ReactNode, Ref } from 'react';
|
|
2
2
|
/**
|
|
3
3
|
* How wide a panel rests beside the artifact: text (facts, a list, a form) or
|
|
4
4
|
* a table. ONE WIDTH FOR TEXT, so moving from one text panel to another never
|
|
@@ -47,21 +47,12 @@ export interface ArtifactPanelProps {
|
|
|
47
47
|
* A panel at the artifact's side: its details, its history, its data, who is
|
|
48
48
|
* here, its settings. One at a time, opened from the bar's controls.
|
|
49
49
|
*
|
|
50
|
-
* A
|
|
51
|
-
*
|
|
52
|
-
*
|
|
53
|
-
*
|
|
54
|
-
*
|
|
55
|
-
*
|
|
56
|
-
* pressed again, or closed from inside, would otherwise leave focus on nothing.
|
|
57
|
-
* Opening moves focus to the heading, so a screen reader announces what
|
|
58
|
-
* opened; closing with focus inside hands it back to whatever held it before
|
|
59
|
-
* (the bar's control, as a rule), and leaves it alone otherwise.
|
|
60
|
-
*
|
|
61
|
-
* ESCAPE CLOSES IT from anywhere inside, a field included, unless something
|
|
62
|
-
* inside answered the press first: a menu or a dialog opened from the panel is
|
|
63
|
-
* portalled out of it, and the press that closes one of them never reaches
|
|
64
|
-
* this.
|
|
50
|
+
* A PRESET OF `SidePanel`, which carries the region, the focus contract and
|
|
51
|
+
* Escape (see there). What is the artifact's own: two resting widths, the
|
|
52
|
+
* expanded view, the control that toggles it, the head on the row step, and
|
|
53
|
+
* a heading that rings when the keyboard reaches it. It keeps the class names
|
|
54
|
+
* it has always published (`crewlet-artifact-panel__body` and the rest), so a
|
|
55
|
+
* stylesheet written against them keeps matching.
|
|
65
56
|
*/
|
|
66
57
|
export declare function ArtifactPanel({ title, icon, onClose, size, expanded, onExpandedChange, actions, footer, focusOnOpen, labels, className, children, }: ArtifactPanelProps): import("react").JSX.Element;
|
|
67
58
|
export interface ArtifactWorkspaceProps {
|
|
@@ -88,5 +79,8 @@ export interface ArtifactWorkspaceProps {
|
|
|
88
79
|
* artifact's end edge; on a phone it covers the artifact whole. An expanded
|
|
89
80
|
* panel takes the workspace at every width, with the artifact kept mounted
|
|
90
81
|
* behind it so a page's state survives the look at its data.
|
|
82
|
+
*
|
|
83
|
+
* A PRESET OF `SidePanelFrame` with no `shape`, which is the frame measuring
|
|
84
|
+
* itself, under the names it has always published.
|
|
91
85
|
*/
|
|
92
|
-
export declare function ArtifactWorkspace(
|
|
86
|
+
export declare function ArtifactWorkspace(props: ArtifactWorkspaceProps): import("react").JSX.Element;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import '../HitArea/HitArea.css';
|
|
2
|
+
import '../AppShell/ResizeHandle.css';
|
|
3
|
+
import '../SidePanel/SidePanel.css';
|
|
1
4
|
import './ArtifactPanel.css';
|
|
2
5
|
export { ARTIFACT_PANEL_LABELS, ArtifactPanel, ArtifactWorkspace } from './ArtifactPanel.js';
|
|
3
6
|
export type { ArtifactPanelLabels, ArtifactPanelProps, ArtifactPanelSize, ArtifactWorkspaceProps, } from './ArtifactPanel.js';
|
|
@@ -1,5 +1,11 @@
|
|
|
1
|
-
export { ARTIFACT_PANEL_LABELS, ArtifactPanel, ArtifactWorkspace } from '../chunk-
|
|
1
|
+
export { ARTIFACT_PANEL_LABELS, ArtifactPanel, ArtifactWorkspace } from '../chunk-HGYHWWA5.js';
|
|
2
|
+
import '../chunk-XODESBSR.js';
|
|
2
3
|
import '../chunk-PQADV6P6.js';
|
|
3
|
-
import '../chunk-
|
|
4
|
+
import '../chunk-PIYJNCN7.js';
|
|
5
|
+
import '../chunk-OMV5W53A.js';
|
|
6
|
+
import '../chunk-2YTOOH3A.js';
|
|
7
|
+
import '../chunk-H5XTJ7GJ.js';
|
|
8
|
+
import '../chunk-2BQYODY3.js';
|
|
9
|
+
import '../chunk-NUZHC6MM.js';
|
|
4
10
|
import '../chunk-BZFWDIV6.js';
|
|
5
11
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The artifact's presets of the side panel and its frame (`ArtifactPanel`,
|
|
3
|
+
* `ArtifactWorkspace`). SidePanel.css draws them; what is here is only what
|
|
4
|
+
* the artifact sets differently, and the names it has always published.
|
|
5
|
+
*
|
|
6
|
+
* Every rule names BOTH classes, so it outranks the side panel's own rule of
|
|
7
|
+
* one class whichever of the two stylesheets a bundle puts first.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/* The workspace answers to its own container name as well as the frame's,
|
|
11
|
+
so a page's `@container crewlet-artifact-workspace` query keeps matching. */
|
|
12
|
+
.crewlet-side-panel-frame.crewlet-artifact-workspace {
|
|
13
|
+
container-name: crewlet-side-panel-frame crewlet-artifact-workspace;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.crewlet-side-panel.crewlet-artifact-panel {
|
|
17
|
+
/* THE TEXT WIDTH, every panel of facts, a list or a form: three widths for
|
|
18
|
+
those moved the artifact's edge 80px between Details and History. */
|
|
19
|
+
--crewlet-artifact-panel-width: 22.5rem;
|
|
20
|
+
--crewlet-side-panel-width: var(--crewlet-artifact-panel-width);
|
|
21
|
+
/* The head on the row step, under the artifact's own bar. */
|
|
22
|
+
--crewlet-side-panel-head-height: var(--size-row-lg);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.crewlet-side-panel.crewlet-artifact-panel--lg {
|
|
26
|
+
--crewlet-artifact-panel-width: 36rem;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* The heading rings when the keyboard reaches it, as it always has here. */
|
|
30
|
+
.crewlet-side-panel__title.crewlet-artifact-panel__title:focus-visible {
|
|
31
|
+
outline: 2px solid var(--color-focus);
|
|
32
|
+
outline-offset: var(--size-focus-ring-inset-offset);
|
|
33
|
+
border-radius: var(--radius-sm);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/* THE BODY'S INSET IS PUBLISHED under its own name too
|
|
37
|
+
(--crewlet-artifact-panel-inset), which a sticky foot offsets itself by,
|
|
38
|
+
and the body answers to its own container name. */
|
|
39
|
+
.crewlet-side-panel__body.crewlet-artifact-panel__body {
|
|
40
|
+
container-name: crewlet-side-panel crewlet-artifact-panel;
|
|
41
|
+
--crewlet-artifact-panel-inset: var(--spacing-4);
|
|
42
|
+
--crewlet-side-panel-inset: var(--crewlet-artifact-panel-inset);
|
|
43
|
+
}
|
|
@@ -1,20 +1,21 @@
|
|
|
1
|
-
export { AvatarPicker } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
export { AvatarPicker } from '../chunk-4OINEWR4.js';
|
|
2
|
+
import '../chunk-OYAXKHVW.js';
|
|
3
3
|
import '../chunk-KHJIEPZV.js';
|
|
4
4
|
import '../chunk-AYKXMIOR.js';
|
|
5
5
|
import '../chunk-SNQRGH4A.js';
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-AWSFK2IK.js';
|
|
7
|
+
import '../chunk-I7VG6RQE.js';
|
|
8
8
|
import '../chunk-WIATRXEJ.js';
|
|
9
9
|
import '../chunk-EGMQURBR.js';
|
|
10
10
|
import '../chunk-PZKHBB7D.js';
|
|
11
|
-
import '../chunk-
|
|
11
|
+
import '../chunk-BHHIIK3M.js';
|
|
12
|
+
import '../chunk-TKS7FTTO.js';
|
|
13
|
+
import '../chunk-HD4QJ2SI.js';
|
|
14
|
+
import '../chunk-EA23JG6R.js';
|
|
12
15
|
import '../chunk-OMV5W53A.js';
|
|
13
16
|
import '../chunk-2YTOOH3A.js';
|
|
14
|
-
import '../chunk-BHHIIK3M.js';
|
|
15
|
-
import '../chunk-OG6CL3EB.js';
|
|
16
17
|
import '../chunk-H5XTJ7GJ.js';
|
|
17
|
-
import '../chunk-
|
|
18
|
+
import '../chunk-2BQYODY3.js';
|
|
18
19
|
import '../chunk-NUZHC6MM.js';
|
|
19
20
|
import '../chunk-BZFWDIV6.js';
|
|
20
21
|
import '../chunk-ODEQTPFM.js';
|
package/dist/Button/index.js
CHANGED
|
@@ -307,45 +307,22 @@
|
|
|
307
307
|
}
|
|
308
308
|
|
|
309
309
|
/*
|
|
310
|
-
* Pending. The spinner
|
|
311
|
-
* one neither moves nor changes width
|
|
312
|
-
* as it was: a button whose text
|
|
313
|
-
* does.
|
|
310
|
+
* Pending. The spinner (the package's one ring, `Spinner`) takes the leading
|
|
311
|
+
* icon's place, so a button that has one neither moves nor changes width
|
|
312
|
+
* mid-action, and the label stays exactly as it was: a button whose text
|
|
313
|
+
* becomes "Saving" has stopped saying what it does. The ring's drawing, its
|
|
314
|
+
* turn and its reduced-motion stop are Spinner.css's.
|
|
315
|
+
*
|
|
316
|
+
* A disabled button already reads as unavailable; a loading one should still
|
|
317
|
+
* read as this button, mid-action.
|
|
314
318
|
*/
|
|
315
|
-
.crewlet-btn__spinner {
|
|
316
|
-
display: inline-block;
|
|
317
|
-
width: 1em;
|
|
318
|
-
height: 1em;
|
|
319
|
-
border: 2px solid currentColor;
|
|
320
|
-
border-right-color: transparent;
|
|
321
|
-
border-radius: var(--radius-circle);
|
|
322
|
-
opacity: 0.7;
|
|
323
|
-
animation: crewlet-btn-spin var(--motion-duration-slow) linear infinite;
|
|
324
|
-
flex: none;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
@keyframes crewlet-btn-spin {
|
|
328
|
-
to {
|
|
329
|
-
transform: rotate(360deg);
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
|
|
333
|
-
/* A disabled button already reads as unavailable; a loading one should still
|
|
334
|
-
read as this button, mid-action. */
|
|
335
319
|
.crewlet-btn--loading {
|
|
336
320
|
cursor: progress;
|
|
337
321
|
}
|
|
338
322
|
|
|
339
|
-
/*
|
|
340
|
-
* A spinner that cannot spin should not pretend to, and a colour change that
|
|
341
|
-
* cannot fade is still a colour change. The ring reads as pending either way.
|
|
342
|
-
*/
|
|
323
|
+
/* A colour change that cannot fade is still a colour change. */
|
|
343
324
|
@media (prefers-reduced-motion: reduce) {
|
|
344
325
|
.crewlet-btn {
|
|
345
326
|
transition: none;
|
|
346
327
|
}
|
|
347
|
-
|
|
348
|
-
.crewlet-btn__spinner {
|
|
349
|
-
animation: none;
|
|
350
|
-
}
|
|
351
328
|
}
|
package/dist/Canvas/index.js
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
export { CANVAS_COMPOSE_CONTEXT, CANVAS_FIT_MAX_ZOOM, CANVAS_FIT_PADDING, CANVAS_FOCUS_CONTEXT, CANVAS_MAX_ZOOM, CANVAS_MIN_ZOOM, CANVAS_PAN_MARGIN, CANVAS_PAN_STEP, CANVAS_REVEAL_PADDING, CANVAS_TAP_SLOP, CANVAS_WHEEL_LINE_PX, CANVAS_WHEEL_ZOOM_PER_PIXEL, CANVAS_ZOOM_CEILING, CANVAS_ZOOM_LIMITS, CANVAS_ZOOM_STEP, Canvas, IDENTITY_VIEW, ShortcutTip, anchorView, beyondSlop, clampPan, clampZoom, fitView, gridOf, panBy, pinchView, regionView, revealView, screenRect, toScreen, toWorld, wheelPixels, wheelZoomFactor, zoomAt, zoomLimits } from '../chunk-
|
|
1
|
+
export { CANVAS_COMPOSE_CONTEXT, CANVAS_FIT_MAX_ZOOM, CANVAS_FIT_PADDING, CANVAS_FOCUS_CONTEXT, CANVAS_MAX_ZOOM, CANVAS_MIN_ZOOM, CANVAS_PAN_MARGIN, CANVAS_PAN_STEP, CANVAS_REVEAL_PADDING, CANVAS_TAP_SLOP, CANVAS_WHEEL_LINE_PX, CANVAS_WHEEL_ZOOM_PER_PIXEL, CANVAS_ZOOM_CEILING, CANVAS_ZOOM_LIMITS, CANVAS_ZOOM_STEP, Canvas, IDENTITY_VIEW, ShortcutTip, anchorView, beyondSlop, clampPan, clampZoom, fitView, gridOf, panBy, pinchView, regionView, revealView, screenRect, toScreen, toWorld, wheelPixels, wheelZoomFactor, zoomAt, zoomLimits } from '../chunk-YEURM24I.js';
|
|
2
2
|
import '../chunk-LM3ISVJA.js';
|
|
3
3
|
import '../chunk-I33UIUZD.js';
|
|
4
|
-
import '../chunk-OMV5W53A.js';
|
|
5
4
|
import '../chunk-SMBKXWML.js';
|
|
6
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-HD4QJ2SI.js';
|
|
6
|
+
import '../chunk-EA23JG6R.js';
|
|
7
|
+
import '../chunk-OMV5W53A.js';
|
|
7
8
|
import '../chunk-H5XTJ7GJ.js';
|
|
8
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-2BQYODY3.js';
|
|
9
10
|
import '../chunk-NUZHC6MM.js';
|
|
10
11
|
import '../chunk-BZFWDIV6.js';
|
|
11
12
|
import '../chunk-ODEQTPFM.js';
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
export { BOARD_NAME_MIN_CHARS, CANVAS_BOARD_MAX_LIVE, CANVAS_BOARD_MIN_LIVE_WIDTH, CANVAS_BOARD_MIN_ZOOM, CANVAS_NOTE_COLORS, CanvasBoard, TITLE_GLYPH_EM, boardName, boardRoom, liveBoards, titleSize } from '../chunk-
|
|
1
|
+
export { BOARD_NAME_MIN_CHARS, CANVAS_BOARD_MAX_LIVE, CANVAS_BOARD_MIN_LIVE_WIDTH, CANVAS_BOARD_MIN_ZOOM, CANVAS_NOTE_COLORS, CanvasBoard, TITLE_GLYPH_EM, boardName, boardRoom, liveBoards, titleSize } from '../chunk-Q6R6EUQ4.js';
|
|
2
2
|
import '../chunk-5SZGKSGL.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-LQ6AGUDL.js';
|
|
4
4
|
import '../chunk-NR4CPM4T.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-YEURM24I.js';
|
|
6
6
|
import '../chunk-LM3ISVJA.js';
|
|
7
7
|
import '../chunk-I33UIUZD.js';
|
|
8
|
-
import '../chunk-OMV5W53A.js';
|
|
9
8
|
import '../chunk-SMBKXWML.js';
|
|
10
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-HD4QJ2SI.js';
|
|
10
|
+
import '../chunk-EA23JG6R.js';
|
|
11
|
+
import '../chunk-OMV5W53A.js';
|
|
11
12
|
import '../chunk-H5XTJ7GJ.js';
|
|
12
|
-
import '../chunk-
|
|
13
|
+
import '../chunk-2BQYODY3.js';
|
|
13
14
|
import '../chunk-NUZHC6MM.js';
|
|
14
15
|
import '../chunk-BZFWDIV6.js';
|
|
15
16
|
import '../chunk-ODEQTPFM.js';
|