@crewlethq/ui 0.32.0 → 0.34.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.
Files changed (292) hide show
  1. package/README.md +149 -5
  2. package/dist/AccessDeniedCard/AccessDeniedCard.d.ts +5 -0
  3. package/dist/AccessDeniedCard/index.js +1 -5
  4. package/dist/AccessDeniedCard-QVNDMT46.css +8 -0
  5. package/dist/AppShell/index.js +4 -4
  6. package/dist/{AppShell-GCM4TDVY.css → AppShell-JTSEOA57.css} +3 -1
  7. package/dist/ArrangeGroup/ArrangeGroup.d.ts +16 -1
  8. package/dist/ArrangeGroup/index.d.ts +1 -1
  9. package/dist/ArrangeGroup/index.js +1 -1
  10. package/dist/{ArrangeGroup-GY5YMP6E.css → ArrangeGroup-KRWWOJKR.css} +43 -0
  11. package/dist/ArrangeList/index.js +2 -2
  12. package/dist/ArtifactBar/index.js +14 -12
  13. package/dist/{ArtifactBar-MLMJHWY6.css → ArtifactBar-C462VD4C.css} +8 -3
  14. package/dist/ArtifactCard/ArtifactCard.d.ts +64 -6
  15. package/dist/ArtifactCard/index.d.ts +2 -2
  16. package/dist/ArtifactCard/index.js +6 -4
  17. package/dist/ArtifactCard-XHRLAL7C.css +289 -0
  18. package/dist/ArtifactCover/index.js +8 -6
  19. package/dist/ArtifactIcon/index.js +7 -5
  20. package/dist/ArtifactKindIllustration/ArtifactKindIllustration.d.ts +53 -0
  21. package/dist/ArtifactKindIllustration/index.d.ts +3 -0
  22. package/dist/ArtifactKindIllustration/index.js +3 -0
  23. package/dist/ArtifactKindIllustration-4NG6IE3C.css +211 -0
  24. package/dist/ArtifactPanel/ArtifactPanel.d.ts +6 -2
  25. package/dist/ArtifactPanel/index.js +1 -1
  26. package/dist/{ArtifactPanel-YFXT5O77.css → ArtifactPanel-HW3SU7CP.css} +25 -7
  27. package/dist/Avatar/Avatar.d.ts +6 -4
  28. package/dist/Avatar/index.js +2 -2
  29. package/dist/AvatarPicker/index.js +8 -8
  30. package/dist/Callout/index.js +1 -1
  31. package/dist/{Callout-SXXK4B5R.css → Callout-ZAVG3P66.css} +46 -6
  32. package/dist/Canvas/Canvas.d.ts +33 -2
  33. package/dist/Canvas/index.d.ts +1 -1
  34. package/dist/Canvas/index.js +4 -4
  35. package/dist/{Canvas-LRVNW7XN.css → Canvas-VUG2HLZK.css} +23 -0
  36. package/dist/CanvasBoard/CanvasBoard.d.ts +38 -3
  37. package/dist/CanvasBoard/budget.d.ts +9 -3
  38. package/dist/CanvasBoard/index.d.ts +2 -2
  39. package/dist/CanvasBoard/index.js +7 -7
  40. package/dist/{CanvasBoard-MBZVBWDO.css → CanvasBoard-5NNSKY6A.css} +127 -6
  41. package/dist/CanvasToolbar/index.js +5 -5
  42. package/dist/{CanvasToolbar-AE5MXH7T.css → CanvasToolbar-EM5EVZED.css} +4 -2
  43. package/dist/ChangeMark/index.js +4 -4
  44. package/dist/CharacterPicker/index.js +2 -2
  45. package/dist/Charts/ActivityStrip.d.ts +16 -1
  46. package/dist/Charts/BarList.d.ts +6 -0
  47. package/dist/Charts/ChartEmpty.d.ts +33 -0
  48. package/dist/Charts/Legend.d.ts +6 -0
  49. package/dist/Charts/StackedBar.d.ts +4 -1
  50. package/dist/Charts/StackedColumns.d.ts +14 -3
  51. package/dist/Charts/TimeSeries.d.ts +11 -1
  52. package/dist/Charts/index.d.ts +2 -0
  53. package/dist/Charts/index.js +1 -1
  54. package/dist/{Charts-RY4JN5FC.css → Charts-MBJG72BS.css} +140 -16
  55. package/dist/Checkbox/index.js +1 -1
  56. package/dist/{Checkbox-5UORUG3F.css → Checkbox-ALWG3WV2.css} +11 -0
  57. package/dist/CommandPalette/index.js +3 -3
  58. package/dist/{CommandPalette-HBTNKHZQ.css → CommandPalette-7CFGVBND.css} +4 -0
  59. package/dist/CommentThread/index.js +5 -5
  60. package/dist/Container/index.js +1 -1
  61. package/dist/{Container-3TSKMGNI.css → Container-34BAKG7B.css} +3 -1
  62. package/dist/{DashboardCover-RMINBODB.css → DashboardCover-KYGYMRKW.css} +42 -9
  63. package/dist/DataTable/index.js +5 -5
  64. package/dist/{DataTable-WZK3V62B.css → DataTable-NL2YWAIA.css} +4 -1
  65. package/dist/DataView/index.js +8 -8
  66. package/dist/DateTimePicker/index.js +3 -3
  67. package/dist/DocTabsEditor/DocTabsEditor.d.ts +34 -21
  68. package/dist/DocTabsEditor/index.js +4 -1
  69. package/dist/DocTabsEditor-4M452LNS.css +189 -0
  70. package/dist/Document/Document.d.ts +18 -1
  71. package/dist/Document/index.d.ts +2 -2
  72. package/dist/Document/index.js +1 -1
  73. package/dist/{Document-G3YTZIUL.css → Document-JUGCSQ4L.css} +78 -5
  74. package/dist/EditingStatus/index.js +1 -1
  75. package/dist/{EditingStatus-L6THUAN7.css → EditingStatus-NNA2CKIL.css} +17 -4
  76. package/dist/{Editor-YWBUJAQU.js → Editor-UUZ7XKCU.js} +5 -5
  77. package/dist/EntityChip/index.js +3 -3
  78. package/dist/FactList/index.js +3 -3
  79. package/dist/FollowBanner/index.js +3 -3
  80. package/dist/Fullscreen/index.d.ts +1 -0
  81. package/dist/Fullscreen/index.js +1 -1
  82. package/dist/Fullscreen/useIdle.d.ts +16 -0
  83. package/dist/HuePicker/index.js +3 -3
  84. package/dist/ImageUpload/index.js +3 -3
  85. package/dist/Layer/index.d.ts +1 -1
  86. package/dist/Layer/index.js +1 -1
  87. package/dist/Layer/place.d.ts +18 -0
  88. package/dist/LayersList/LayersList.d.ts +57 -0
  89. package/dist/LayersList/index.d.ts +3 -0
  90. package/dist/LayersList/index.js +3 -0
  91. package/dist/LayersList-NQZEIPZB.css +82 -0
  92. package/dist/LinkInterstitial/index.js +4 -4
  93. package/dist/ListInput/index.js +1 -1
  94. package/dist/LivePreview/LivePreview.d.ts +83 -0
  95. package/dist/LivePreview/budget.d.ts +50 -0
  96. package/dist/LivePreview/index.d.ts +5 -0
  97. package/dist/LivePreview/index.js +2 -0
  98. package/dist/LivePreview-SRO7KHO4.css +65 -0
  99. package/dist/Markdown/index.js +1 -1
  100. package/dist/MarkdownEditor/index.js +5 -5
  101. package/dist/MediaMatch/index.d.ts +1 -0
  102. package/dist/MediaMatch/index.js +1 -0
  103. package/dist/MediaMatch/useMediaMatch.d.ts +19 -0
  104. package/dist/Menu/index.js +2 -2
  105. package/dist/MergeConflicts/index.js +4 -4
  106. package/dist/Modal/index.js +2 -2
  107. package/dist/{Modal-XOSV6FAH.css → Modal-7MWRCWAI.css} +30 -0
  108. package/dist/Note/index.js +1 -1
  109. package/dist/{Note-ONSKKTOA.css → Note-WI5MLZOO.css} +13 -0
  110. package/dist/OrgLabel/index.js +3 -3
  111. package/dist/OrgNode/index.js +4 -4
  112. package/dist/OrgTable/index.js +7 -7
  113. package/dist/PeopleRail/index.js +3 -3
  114. package/dist/Popover/index.js +2 -2
  115. package/dist/PresenceStack/index.js +3 -3
  116. package/dist/{PresenceStack-QSXQJND5.css → PresenceStack-FJJQVH74.css} +11 -3
  117. package/dist/PresenterView/PresenterView.d.ts +3 -0
  118. package/dist/PresenterView/index.js +5 -3
  119. package/dist/PresenterView-T3EXIQ5S.css +147 -0
  120. package/dist/Principal/index.js +3 -3
  121. package/dist/PrincipalPicker/index.js +4 -4
  122. package/dist/RichEditor/index.js +5 -5
  123. package/dist/RichEditor/schema.d.ts +1 -1
  124. package/dist/RichEditorMarkdown/index.js +3 -3
  125. package/dist/SandboxedFrame/SandboxedFrame.d.ts +44 -2
  126. package/dist/SandboxedFrame/index.d.ts +2 -2
  127. package/dist/SandboxedFrame/index.js +3 -3
  128. package/dist/SandboxedFrame-P5NASXB7.css +72 -0
  129. package/dist/Section/index.js +1 -1
  130. package/dist/{Section-QR3ILQVK.css → Section-O5AHGSOG.css} +28 -5
  131. package/dist/SegmentedControl/index.js +3 -3
  132. package/dist/Select/Select.d.ts +10 -0
  133. package/dist/Select/index.d.ts +1 -1
  134. package/dist/Select/index.js +2 -2
  135. package/dist/{Select-2P7AWUE4.css → Select-A54YS5EP.css} +29 -0
  136. package/dist/ShareDialog/ShareDialog.d.ts +10 -0
  137. package/dist/ShareDialog/index.js +9 -9
  138. package/dist/{ShareDialog-YZ4F37MW.css → ShareDialog-4QDCBWMH.css} +12 -0
  139. package/dist/SheetGrid/SheetGrid.d.ts +7 -3
  140. package/dist/SheetGrid/index.js +8 -8
  141. package/dist/{SheetGrid-J3TKKXZL.css → SheetGrid-GDPCCZ4V.css} +154 -14
  142. package/dist/SheetModel/fit.d.ts +34 -0
  143. package/dist/SheetModel/index.d.ts +1 -0
  144. package/dist/SheetModel/index.js +1 -1
  145. package/dist/SheetModel/labels.d.ts +1 -1
  146. package/dist/Shortcut/index.js +1 -1
  147. package/dist/Skeleton/Skeleton.d.ts +2 -1
  148. package/dist/Skeleton/index.js +1 -1
  149. package/dist/SlideCompare/SlideCompare.d.ts +6 -1
  150. package/dist/SlideCompare/index.js +3 -3
  151. package/dist/{SlideCompare-MGM3U2ME.css → SlideCompare-HTCMPQFY.css} +36 -3
  152. package/dist/SlideFilmstrip/SlideFilmstrip.d.ts +14 -3
  153. package/dist/SlideFilmstrip/index.js +3 -3
  154. package/dist/{SlideFilmstrip-BCLNAHFX.css → SlideFilmstrip-5U6Z55GS.css} +63 -2
  155. package/dist/SlideGrid/index.js +3 -3
  156. package/dist/{SlideGrid-RT6QEQEE.css → SlideGrid-S4LTJ4UU.css} +9 -5
  157. package/dist/SlideNav/SlideNav.d.ts +49 -0
  158. package/dist/SlideNav/index.d.ts +3 -0
  159. package/dist/SlideNav/index.js +4 -0
  160. package/dist/SlideNav-BLFJF6AH.css +53 -0
  161. package/dist/SlideStage/SlideStage.d.ts +9 -1
  162. package/dist/SlideStage/index.js +2 -2
  163. package/dist/{SlideStage-KGRRALXR.css → SlideStage-S2FISF4C.css} +23 -0
  164. package/dist/StatCard/StatCard.d.ts +16 -1
  165. package/dist/StatCard/index.js +1 -1
  166. package/dist/{StatCard-KPAFD4E2.css → StatCard-4T7TMWMN.css} +40 -13
  167. package/dist/Switcher/index.js +6 -6
  168. package/dist/TableCells/index.js +3 -3
  169. package/dist/Tabs/Tabs.d.ts +21 -4
  170. package/dist/Tabs/index.js +1 -1
  171. package/dist/{Tabs-CJGO35BH.css → Tabs-MMZXV5EF.css} +9 -8
  172. package/dist/TagsInput/index.js +1 -1
  173. package/dist/ThemeSwitcher/index.js +4 -4
  174. package/dist/TimeWindowPicker/index.js +4 -4
  175. package/dist/Toaster/index.js +2 -2
  176. package/dist/{Toaster-EOOOTSJT.css → Toaster-C6BQ7L6I.css} +10 -1
  177. package/dist/Toolbar/index.js +1 -1
  178. package/dist/Tooltip/Tooltip.d.ts +12 -1
  179. package/dist/Tooltip/index.d.ts +1 -1
  180. package/dist/Tooltip/index.js +2 -2
  181. package/dist/TreeCanvas/index.js +5 -5
  182. package/dist/TreeGrid/index.js +3 -3
  183. package/dist/VersionCompare/index.js +4 -4
  184. package/dist/VersionTimeline/index.js +4 -4
  185. package/dist/WidgetFrame/WidgetFrame.d.ts +8 -1
  186. package/dist/WidgetFrame/index.js +2 -2
  187. package/dist/{WidgetFrame-LRZIL62O.css → WidgetFrame-BTFW3CRK.css} +49 -5
  188. package/dist/{chunk-WJDQ7XQA.js → chunk-2QEDJSJC.js} +1 -1
  189. package/dist/{chunk-VYDFB6PJ.js → chunk-356JNSER.js} +50 -17
  190. package/dist/{chunk-2HIOJ4YZ.js → chunk-3EB2AV3H.js} +2 -3
  191. package/dist/{chunk-ODT5H4MN.js → chunk-3LYWD3BO.js} +2 -2
  192. package/dist/{chunk-OTN35CI4.js → chunk-3P4Y5RX6.js} +18 -6
  193. package/dist/{chunk-FAQGGX2Z.js → chunk-3TFDQLW3.js} +1 -1
  194. package/dist/{chunk-E6EWK5YY.js → chunk-3Y56GQPM.js} +3 -3
  195. package/dist/{chunk-A4E5YLXO.js → chunk-4B6LSFDS.js} +1 -1
  196. package/dist/{chunk-UAN5NE7M.js → chunk-5AQBPHZD.js} +1 -1
  197. package/dist/{chunk-CJKMURZO.js → chunk-5SZGKSGL.js} +1 -1
  198. package/dist/chunk-6VOS2GMB.js +54 -0
  199. package/dist/{chunk-QWOPX2MN.js → chunk-6ZJ3N7QI.js} +7 -5
  200. package/dist/{chunk-3ZAFJ4GK.js → chunk-7Q7WDXHG.js} +4 -4
  201. package/dist/{chunk-QH3AKP2N.js → chunk-AC22RZKC.js} +2 -2
  202. package/dist/{chunk-UZ6MA2V6.js → chunk-AORVEG5V.js} +2 -2
  203. package/dist/{chunk-ZITJKF6Z.js → chunk-AYB6AYNH.js} +1 -1
  204. package/dist/{chunk-FC4YTTFJ.js → chunk-BQ7AKL2N.js} +5 -5
  205. package/dist/{chunk-Y5NQ2LMS.js → chunk-BY4N65PM.js} +1 -1
  206. package/dist/{chunk-YFW4MTK4.js → chunk-C7DKX453.js} +1 -1
  207. package/dist/{chunk-RCQXUT5K.js → chunk-CCAXYHQS.js} +1 -1
  208. package/dist/{chunk-JQLTG4KH.js → chunk-CCLNGVCM.js} +62 -51
  209. package/dist/{chunk-6AH2XJ3Q.js → chunk-CFAJP777.js} +3 -3
  210. package/dist/{chunk-4KP4RC3O.js → chunk-CI3VPIJN.js} +1 -1
  211. package/dist/{chunk-7T42VQQT.js → chunk-CPEPST4S.js} +1 -1
  212. package/dist/{chunk-AAOH2P6Y.js → chunk-DFK5EQTU.js} +5 -3
  213. package/dist/{chunk-V5IGUXMZ.js → chunk-E4NNGC6X.js} +4 -4
  214. package/dist/{chunk-TGYDROIB.js → chunk-EBCHVFCS.js} +4 -4
  215. package/dist/{chunk-LWXRD6L6.js → chunk-EWAFN2IU.js} +118 -27
  216. package/dist/{chunk-YDBC4DNW.js → chunk-FWYHRU7M.js} +1 -1
  217. package/dist/{chunk-HVNTQ36V.js → chunk-GMU6SQ6B.js} +4 -4
  218. package/dist/{chunk-LIXSV5YI.js → chunk-GPHWCK7M.js} +1 -1
  219. package/dist/{chunk-UQHKFF2N.js → chunk-GPWJCP3U.js} +1 -1
  220. package/dist/{chunk-77DRMDXR.js → chunk-HG5VF3TZ.js} +192 -67
  221. package/dist/{chunk-QVE4GJAT.js → chunk-HJO4WCH6.js} +1 -1
  222. package/dist/{chunk-JI5AVQLA.js → chunk-HOIZ6MIS.js} +1 -1
  223. package/dist/{chunk-I3BSQUKN.js → chunk-HUVG2FFT.js} +1 -1
  224. package/dist/{chunk-VS3KOOOL.js → chunk-ILAEBSLJ.js} +3 -3
  225. package/dist/{chunk-P4BOXB6E.js → chunk-IUD5VA2Z.js} +6 -7
  226. package/dist/{chunk-GR55WT4R.js → chunk-IYO2N5ZH.js} +2 -2
  227. package/dist/{chunk-RWA4H2TV.js → chunk-J6ON5SYE.js} +1 -1
  228. package/dist/{chunk-AMNN4WDX.js → chunk-JBUMD6DS.js} +2 -2
  229. package/dist/{chunk-BWRGFKJP.js → chunk-K3IJQNB7.js} +2 -3
  230. package/dist/{chunk-LFNUH4GY.js → chunk-K4VP6ZKE.js} +1 -1
  231. package/dist/{chunk-ZR5VN5IV.js → chunk-KD2IRYCT.js} +2 -2
  232. package/dist/chunk-KF6YGL4B.js +160 -0
  233. package/dist/{chunk-SKOYC2CF.js → chunk-KK5OYNAF.js} +2 -1
  234. package/dist/{chunk-UB7TJEKZ.js → chunk-KV3ODJXH.js} +6 -7
  235. package/dist/chunk-LL5AFXU7.js +96 -0
  236. package/dist/{chunk-VYOKRN2I.js → chunk-LM3ISVJA.js} +1 -1
  237. package/dist/{chunk-E6CR5PEV.js → chunk-LV4APO72.js} +8 -2
  238. package/dist/{chunk-B4EBHPK3.js → chunk-M5KZX5JE.js} +9 -2
  239. package/dist/{chunk-HMPFGIWM.js → chunk-OMV5W53A.js} +10 -1
  240. package/dist/chunk-ONL54WMH.js +55 -0
  241. package/dist/{chunk-AKEZ3G5V.js → chunk-ONQKKHON.js} +1 -1
  242. package/dist/{chunk-LZHLSQYK.js → chunk-OOWPSBIS.js} +2 -2
  243. package/dist/{chunk-4KWOKX2B.js → chunk-OSKJZNBT.js} +1 -1
  244. package/dist/{chunk-4JUKWWUD.js → chunk-PLDUNXAO.js} +1 -1
  245. package/dist/{chunk-EHQTPVV4.js → chunk-PLTCDSTU.js} +1 -1
  246. package/dist/{chunk-5OM447RW.js → chunk-PZKHBB7D.js} +1 -1
  247. package/dist/{chunk-VEB5ERRE.js → chunk-QWNVSR6G.js} +2 -2
  248. package/dist/{chunk-IG75YMUN.js → chunk-RTPQDNW3.js} +1 -1
  249. package/dist/{chunk-YEKYVJQR.js → chunk-SGHIAGPR.js} +2 -2
  250. package/dist/{chunk-SVSCLHHI.js → chunk-SZZRIHGT.js} +1 -1
  251. package/dist/{chunk-EBNI36UQ.js → chunk-T46NR3WP.js} +3 -3
  252. package/dist/{chunk-FPS3JIPQ.js → chunk-TC7DJTXI.js} +1 -1
  253. package/dist/{chunk-W5J7R5EB.js → chunk-TEUQWOWZ.js} +1 -1
  254. package/dist/chunk-THROPJZC.js +115 -0
  255. package/dist/{chunk-IDBHX5SR.js → chunk-TRQCHF2F.js} +1 -1
  256. package/dist/{chunk-M3LUNN7F.js → chunk-TYKQ33CL.js} +13 -2
  257. package/dist/chunk-UDQW6UK7.js +129 -0
  258. package/dist/{chunk-WTNUVQVI.js → chunk-UHJQDFKQ.js} +1 -1
  259. package/dist/{chunk-VVRL27HM.js → chunk-ULPL26BU.js} +2 -2
  260. package/dist/{chunk-EBJREOKS.js → chunk-UXXJDIYE.js} +4 -4
  261. package/dist/{chunk-5LUI3WQP.js → chunk-V43UVX4H.js} +1 -1
  262. package/dist/{chunk-W4XYY73O.js → chunk-VHZ3AXJD.js} +1 -1
  263. package/dist/{chunk-NHBP2XS5.js → chunk-VI5FWDZW.js} +51 -3
  264. package/dist/{chunk-HJEVSQN6.js → chunk-VL6CUNSX.js} +11 -5
  265. package/dist/{chunk-XDTYBF2F.js → chunk-W5XCNEZC.js} +39 -1
  266. package/dist/{chunk-LDJ3J4TQ.js → chunk-WGD2HX2A.js} +1 -1
  267. package/dist/{chunk-FQCLKD7U.js → chunk-WKEPORNM.js} +1 -1
  268. package/dist/{chunk-PJD2KFHX.js → chunk-WPX6A5BV.js} +38 -13
  269. package/dist/{chunk-I3KKZ2O3.js → chunk-XEGZHHRH.js} +45 -36
  270. package/dist/{chunk-IKB6HFGK.js → chunk-XO7PUL4F.js} +6 -4
  271. package/dist/chunk-XTOVADJU.js +170 -0
  272. package/dist/chunk-XV32RKQZ.js +142 -0
  273. package/dist/{chunk-TBMDMXEX.js → chunk-YA3AWELW.js} +1 -1
  274. package/dist/{chunk-HVIX5ECM.js → chunk-YEVG2X5R.js} +1 -1
  275. package/dist/chunk-YZFLH463.js +215 -0
  276. package/dist/generated/index.d.ts +5 -0
  277. package/dist/generated/index.js +112 -108
  278. package/dist/index.js +112 -108
  279. package/dist/styles.css +1982 -228
  280. package/package.json +3 -3
  281. package/dist/AccessDeniedCard-WXM5DBDZ.css +0 -8
  282. package/dist/ArtifactCard-EXVAEBV6.css +0 -109
  283. package/dist/DocTabsEditor-RCOWHX5J.css +0 -78
  284. package/dist/PresenterView-T2C6ZZ3N.css +0 -103
  285. package/dist/SandboxedFrame-L6HBQZCD.css +0 -50
  286. package/dist/chunk-CRKFL423.js +0 -74
  287. package/dist/chunk-GOSQXEZU.js +0 -102
  288. package/dist/chunk-MBNFJSZS.js +0 -107
  289. package/dist/chunk-RV7SZAHR.js +0 -105
  290. package/dist/chunk-UZ7ZUSLH.js +0 -179
  291. package/dist/utils/useMediaMatch.d.ts +0 -12
  292. /package/dist/{chunk-TF2P3OPS.js → chunk-YCARLYI6.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import { HeadingLevelProvider } from './chunk-PQADV6P6.js';
2
- import { useLayerContainer } from './chunk-HMPFGIWM.js';
2
+ import { useLayerContainer } from './chunk-OMV5W53A.js';
3
3
  import { focusables, useModalLayer, useBodyScrollLock } from './chunk-R25RGPUB.js';
4
4
  import { Button } from './chunk-OG6CL3EB.js';
5
5
  import { IconButton } from './chunk-4FQT6ZAY.js';
6
6
  import { cx } from './chunk-ODEQTPFM.js';
7
- import './Modal-XOSV6FAH.css';
7
+ import './Modal-7MWRCWAI.css';
8
8
  import { useId, useRef, useCallback } from 'react';
9
9
  import { createPortal } from 'react-dom';
10
10
  import { ChevronLeftGlyph, XGlyph } from '@crewlethq/icons/glyphs';
@@ -104,40 +104,49 @@ function ModalFrame({
104
104
  };
105
105
  const closes = banded && showCloseButton;
106
106
  const content = /* @__PURE__ */ jsxs(Fragment, { children: [
107
- banded && (given(title) || given(subtitle) || given(headerActions) || closes || onBack) ? /* @__PURE__ */ jsxs("div", { className: cx("crewlet-modal__header", sheet ? "crewlet-modal__header--sheet" : void 0), children: [
108
- onBack ? /* @__PURE__ */ jsx(
109
- IconButton,
110
- {
111
- className: "crewlet-modal__back",
112
- label: backLabel,
113
- icon: /* @__PURE__ */ jsx(ChevronLeftGlyph, { size: "md" }),
114
- onClick: onBack
115
- }
116
- ) : null,
117
- given(icon) ? /* @__PURE__ */ jsx("span", { className: "crewlet-modal__icon", "aria-hidden": "true", children: icon }) : null,
118
- /* @__PURE__ */ jsxs("div", { className: "crewlet-modal__heading", children: [
119
- given(title) ? /* @__PURE__ */ jsx(
120
- "p",
121
- {
122
- className: cx("crewlet-modal__title", sheet ? "crewlet-modal__title--sheet" : void 0),
123
- id: titleId,
124
- children: title
125
- }
126
- ) : null,
127
- given(subtitle) ? /* @__PURE__ */ jsx("p", { className: "crewlet-modal__subtitle", id: subtitleId, children: subtitle }) : null
128
- ] }),
129
- given(headerActions) ? /* @__PURE__ */ jsx("div", { className: "crewlet-modal__actions", children: headerActions }) : null,
130
- closes ? /* @__PURE__ */ jsx(
131
- IconButton,
132
- {
133
- className: "crewlet-modal__close",
134
- label: closeLabel,
135
- icon: /* @__PURE__ */ jsx(XGlyph, { size: "md" }),
136
- onClick: onClose,
137
- disabledReason: dismissable ? void 0 : closeDisabledReason
138
- }
139
- ) : null
140
- ] }) : null,
107
+ banded && (given(title) || given(subtitle) || given(headerActions) || closes || onBack) ? /* @__PURE__ */ jsxs(
108
+ "div",
109
+ {
110
+ className: cx(
111
+ "crewlet-modal__header",
112
+ sheet ? "crewlet-modal__header--sheet" : given(subtitle) ? "crewlet-modal__header--subtitled" : void 0
113
+ ),
114
+ children: [
115
+ onBack ? /* @__PURE__ */ jsx(
116
+ IconButton,
117
+ {
118
+ className: "crewlet-modal__back",
119
+ label: backLabel,
120
+ icon: /* @__PURE__ */ jsx(ChevronLeftGlyph, { size: "md" }),
121
+ onClick: onBack
122
+ }
123
+ ) : null,
124
+ given(icon) ? /* @__PURE__ */ jsx("span", { className: "crewlet-modal__icon", "aria-hidden": "true", children: icon }) : null,
125
+ /* @__PURE__ */ jsxs("div", { className: "crewlet-modal__heading", children: [
126
+ given(title) ? /* @__PURE__ */ jsx(
127
+ "p",
128
+ {
129
+ className: cx("crewlet-modal__title", sheet ? "crewlet-modal__title--sheet" : void 0),
130
+ id: titleId,
131
+ children: title
132
+ }
133
+ ) : null,
134
+ given(subtitle) ? /* @__PURE__ */ jsx("p", { className: "crewlet-modal__subtitle", id: subtitleId, children: subtitle }) : null
135
+ ] }),
136
+ given(headerActions) ? /* @__PURE__ */ jsx("div", { className: "crewlet-modal__actions", children: headerActions }) : null,
137
+ closes ? /* @__PURE__ */ jsx(
138
+ IconButton,
139
+ {
140
+ className: "crewlet-modal__close",
141
+ label: closeLabel,
142
+ icon: /* @__PURE__ */ jsx(XGlyph, { size: "md" }),
143
+ onClick: onClose,
144
+ disabledReason: dismissable ? void 0 : closeDisabledReason
145
+ }
146
+ ) : null
147
+ ]
148
+ }
149
+ ) : null,
141
150
  given(children) || prompt && given(title) ? /* @__PURE__ */ jsxs(
142
151
  "div",
143
152
  {
@@ -1,16 +1,18 @@
1
1
  import { VisuallyHidden } from './chunk-BZFWDIV6.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
- import './StatCard-KPAFD4E2.css';
3
+ import './StatCard-4T7TMWMN.css';
4
4
  import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
5
5
 
6
6
  var StatCard = ({
7
7
  label,
8
+ hideLabel = false,
8
9
  value,
9
10
  unit,
10
11
  sub,
11
12
  subTone = "neutral",
12
13
  delta,
13
14
  trend,
15
+ trendPlacement = "end",
14
16
  icon,
15
17
  tone = "neutral",
16
18
  loading = false,
@@ -28,16 +30,16 @@ var StatCard = ({
28
30
  className: cx("crewlet-statcard", `crewlet-statcard--${tone}`, flush && "crewlet-statcard--flush", className),
29
31
  "aria-busy": loading || void 0,
30
32
  children: [
31
- /* @__PURE__ */ jsxs("div", { className: "crewlet-statcard__label", children: [
33
+ hideLabel ? /* @__PURE__ */ jsx(VisuallyHidden, { children: label }) : /* @__PURE__ */ jsxs("div", { className: "crewlet-statcard__label", children: [
32
34
  icon ? /* @__PURE__ */ jsx("span", { className: "crewlet-statcard__icon", "aria-hidden": true, children: icon }) : null,
33
35
  label
34
36
  ] }),
35
- /* @__PURE__ */ jsxs("div", { className: "crewlet-statcard__reading", children: [
37
+ /* @__PURE__ */ jsxs("div", { className: cx("crewlet-statcard__reading", trendPlacement === "below" && "crewlet-statcard__reading--below"), children: [
36
38
  /* @__PURE__ */ jsx("div", { className: "crewlet-statcard__value", children: loading ? /* @__PURE__ */ jsxs(Fragment, { children: [
37
39
  /* @__PURE__ */ jsx("span", { className: "crewlet-statcard__placeholder", "aria-hidden": true }),
38
40
  /* @__PURE__ */ jsx(VisuallyHidden, { children: loadingLabel })
39
41
  ] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
40
- value,
42
+ /* @__PURE__ */ jsx("span", { className: "crewlet-statcard__number", children: value }),
41
43
  unit ? /* @__PURE__ */ jsx("span", { className: "crewlet-statcard__unit", children: unit }) : null
42
44
  ] }) }),
43
45
  trend && !loading ? /* @__PURE__ */ jsx("div", { className: "crewlet-statcard__trend", children: trend }) : null
@@ -0,0 +1,170 @@
1
+ import { Skeleton } from './chunk-TEUQWOWZ.js';
2
+ import { PrincipalAvatar } from './chunk-CI3VPIJN.js';
3
+ import { RelativeTime } from './chunk-3CZ7XAVY.js';
4
+ import { Card } from './chunk-ACA27MZH.js';
5
+ import { AvatarStack } from './chunk-5AQBPHZD.js';
6
+ import { ArtifactKindGround } from './chunk-UDQW6UK7.js';
7
+ import { VisuallyHidden } from './chunk-BZFWDIV6.js';
8
+ import { cx } from './chunk-ODEQTPFM.js';
9
+ import './ArtifactCard-XHRLAL7C.css';
10
+ import { useId } from 'react';
11
+ import { TableGlyph, LayoutDashboardGlyph, PaletteGlyph, PresentationGlyph, FileTextGlyph, FileCodeGlyph, PinGlyph, BuildingComplexGlyph, UsersGlyph, LockGlyph } from '@crewlethq/icons/glyphs';
12
+ import { jsx, jsxs } from 'react/jsx-runtime';
13
+
14
+ var ARTIFACT_KINDS = ["html", "doc", "slides", "design", "dashboard", "sheet"];
15
+ var KIND_GLYPHS = {
16
+ html: FileCodeGlyph,
17
+ doc: FileTextGlyph,
18
+ slides: PresentationGlyph,
19
+ design: PaletteGlyph,
20
+ dashboard: LayoutDashboardGlyph,
21
+ sheet: TableGlyph
22
+ };
23
+ function ArtifactKindGlyph({ kind, size = "md" }) {
24
+ const Drawn = KIND_GLYPHS[kind];
25
+ return /* @__PURE__ */ jsx(Drawn, { size });
26
+ }
27
+ function ArtifactPreviewGlyph({ kind }) {
28
+ return /* @__PURE__ */ jsx(ArtifactKindGround, { kind });
29
+ }
30
+ var ACCESS_GLYPHS = {
31
+ private: LockGlyph,
32
+ shared: UsersGlyph,
33
+ company: BuildingComplexGlyph
34
+ };
35
+ var LABELS = {
36
+ kinds: { html: "HTML", doc: "Doc", slides: "Slides", design: "Design", dashboard: "Dashboard", sheet: "Sheet" },
37
+ pinned: "Pinned",
38
+ version: (version) => `v${version}`,
39
+ changes: (count) => count === 1 ? "1 change since you looked" : `${count} changes since you looked`,
40
+ present: (count) => count === 1 ? "1 here now" : `${count} here now`,
41
+ updated: "Edited",
42
+ by: (name) => `by ${name}`,
43
+ access: { private: "Private", shared: "Shared", company: "Shared with the company" }
44
+ };
45
+ function ArtifactCard({
46
+ title,
47
+ kind,
48
+ href,
49
+ preview,
50
+ owner,
51
+ updatedAt,
52
+ updatedBy,
53
+ presence,
54
+ changes,
55
+ pinned = false,
56
+ version,
57
+ project,
58
+ access,
59
+ actions,
60
+ trashed = false,
61
+ size = "card",
62
+ className,
63
+ now,
64
+ labels
65
+ }) {
66
+ const text = {
67
+ ...LABELS,
68
+ ...labels,
69
+ kinds: { ...LABELS.kinds, ...labels?.kinds },
70
+ access: { ...LABELS.access, ...labels?.access }
71
+ };
72
+ const titleId = useId();
73
+ const factsId = useId();
74
+ const present = presence && presence.length > 0 ? presence : null;
75
+ const changedBy = updatedBy && updatedBy !== owner?.name ? updatedBy : void 0;
76
+ const edited = /* @__PURE__ */ jsxs("span", { children: [
77
+ `${text.updated} `,
78
+ /* @__PURE__ */ jsx(RelativeTime, { value: updatedAt, now }),
79
+ changedBy ? ` ${text.by(changedBy)}` : null
80
+ ] });
81
+ const extra = present || changes !== void 0 && changes > 0 ? /* @__PURE__ */ jsxs("span", { className: "crewlet-artifact-card__line", children: [
82
+ present ? /* @__PURE__ */ jsxs("span", { className: "crewlet-artifact-card__presence", children: [
83
+ /* @__PURE__ */ jsx(AvatarStack, { members: present, max: 3, size: "xs", decorative: true }),
84
+ /* @__PURE__ */ jsx("span", { children: text.present(present.length) })
85
+ ] }) : null,
86
+ changes !== void 0 && changes > 0 ? /* @__PURE__ */ jsx("span", { className: "crewlet-artifact-card__changes", children: text.changes(changes) }) : null
87
+ ] }) : null;
88
+ if (size === "compact") {
89
+ return /* @__PURE__ */ jsxs(
90
+ Card,
91
+ {
92
+ href,
93
+ variant: "subtle",
94
+ padding: "none",
95
+ className: cx("crewlet-artifact-card", "crewlet-artifact-card--compact", className),
96
+ "aria-labelledby": titleId,
97
+ "aria-describedby": factsId,
98
+ children: [
99
+ /* @__PURE__ */ jsx("span", { className: "crewlet-artifact-card__glyph crewlet-artifact-card__glyph--compact", "aria-hidden": true, children: /* @__PURE__ */ jsx(ArtifactKindGlyph, { kind, size: "lg" }) }),
100
+ /* @__PURE__ */ jsxs("span", { className: "crewlet-artifact-card__body", children: [
101
+ /* @__PURE__ */ jsxs("span", { className: "crewlet-artifact-card__title-row", children: [
102
+ /* @__PURE__ */ jsx("span", { id: titleId, className: "crewlet-artifact-card__title", title, children: title }),
103
+ pinned ? /* @__PURE__ */ jsx("span", { className: "crewlet-artifact-card__pin", title: text.pinned, "aria-hidden": true, children: /* @__PURE__ */ jsx(PinGlyph, { size: "xs" }) }) : null
104
+ ] }),
105
+ /* @__PURE__ */ jsxs("span", { id: factsId, className: "crewlet-artifact-card__facts", children: [
106
+ /* @__PURE__ */ jsxs("span", { className: "crewlet-artifact-card__line", children: [
107
+ /* @__PURE__ */ jsx("span", { children: text.kinds[kind] }),
108
+ project ? /* @__PURE__ */ jsx("span", { children: project }) : null,
109
+ version !== void 0 ? /* @__PURE__ */ jsx("span", { children: text.version(version) }) : null,
110
+ pinned ? /* @__PURE__ */ jsx(VisuallyHidden, { children: text.pinned }) : null
111
+ ] }),
112
+ /* @__PURE__ */ jsxs("span", { className: "crewlet-artifact-card__line", children: [
113
+ owner ? /* @__PURE__ */ jsxs("span", { className: "crewlet-artifact-card__owner", children: [
114
+ /* @__PURE__ */ jsx(PrincipalAvatar, { principal: owner, size: "xs" }),
115
+ /* @__PURE__ */ jsx("span", { children: owner.name })
116
+ ] }) : null,
117
+ edited
118
+ ] }),
119
+ extra
120
+ ] })
121
+ ] })
122
+ ]
123
+ }
124
+ );
125
+ }
126
+ const Access = access ? ACCESS_GLYPHS[access] : null;
127
+ return /* @__PURE__ */ jsxs("div", { className: cx("crewlet-artifact-card", "crewlet-artifact-card--card", trashed && "crewlet-artifact-card--trashed", className), children: [
128
+ /* @__PURE__ */ jsxs("a", { href, className: "crewlet-artifact-card__link", "aria-labelledby": titleId, "aria-describedby": factsId, children: [
129
+ /* @__PURE__ */ jsx("span", { className: "crewlet-artifact-card__preview", "aria-hidden": true, children: preview ?? /* @__PURE__ */ jsx(ArtifactPreviewGlyph, { kind }) }),
130
+ /* @__PURE__ */ jsxs("span", { className: "crewlet-artifact-card__body", children: [
131
+ /* @__PURE__ */ jsx("span", { className: cx("crewlet-artifact-card__badge", `crewlet-kind--${kind}`), "aria-hidden": true, children: /* @__PURE__ */ jsx(ArtifactKindGlyph, { kind, size: "md" }) }),
132
+ /* @__PURE__ */ jsxs("span", { className: "crewlet-artifact-card__title-row", children: [
133
+ /* @__PURE__ */ jsx("span", { id: titleId, className: "crewlet-artifact-card__title", title, children: title }),
134
+ pinned ? /* @__PURE__ */ jsx("span", { className: "crewlet-artifact-card__pin", title: text.pinned, "aria-hidden": true, children: /* @__PURE__ */ jsx(PinGlyph, { size: "sm" }) }) : null
135
+ ] }),
136
+ /* @__PURE__ */ jsxs("span", { id: factsId, className: "crewlet-artifact-card__facts", children: [
137
+ /* @__PURE__ */ jsxs(VisuallyHidden, { children: [
138
+ text.kinds[kind],
139
+ pinned ? `, ${text.pinned}` : ""
140
+ ] }),
141
+ /* @__PURE__ */ jsxs("span", { className: "crewlet-artifact-card__line crewlet-artifact-card__meta", children: [
142
+ Access && access ? /* @__PURE__ */ jsxs("span", { className: "crewlet-artifact-card__access", title: text.access[access], children: [
143
+ /* @__PURE__ */ jsx(Access, { size: "sm" }),
144
+ /* @__PURE__ */ jsx(VisuallyHidden, { children: text.access[access] })
145
+ ] }) : null,
146
+ owner ? /* @__PURE__ */ jsxs("span", { className: "crewlet-artifact-card__owner", children: [
147
+ /* @__PURE__ */ jsx(PrincipalAvatar, { principal: owner, size: "xs" }),
148
+ /* @__PURE__ */ jsx("span", { className: "crewlet-artifact-card__owner-name", children: owner.name })
149
+ ] }) : null,
150
+ edited
151
+ ] }),
152
+ extra
153
+ ] })
154
+ ] })
155
+ ] }),
156
+ actions ? /* @__PURE__ */ jsx("span", { className: "crewlet-artifact-card__actions", children: actions }) : null
157
+ ] });
158
+ }
159
+ function ArtifactCardSkeleton({ className }) {
160
+ return /* @__PURE__ */ jsxs("div", { className: cx("crewlet-artifact-card", "crewlet-artifact-card--card", "crewlet-artifact-card--skeleton", className), "aria-hidden": true, children: [
161
+ /* @__PURE__ */ jsx("span", { className: "crewlet-artifact-card__preview", children: /* @__PURE__ */ jsx(Skeleton, { variant: "box", width: "100%", height: "100%", borderRadius: 0 }) }),
162
+ /* @__PURE__ */ jsxs("span", { className: "crewlet-artifact-card__body", children: [
163
+ /* @__PURE__ */ jsx("span", { className: "crewlet-artifact-card__badge" }),
164
+ /* @__PURE__ */ jsx(Skeleton, { variant: "box", width: "62%", height: 18, borderRadius: "var(--radius-sm)" }),
165
+ /* @__PURE__ */ jsx(Skeleton, { variant: "box", width: "38%", height: 12, borderRadius: "var(--radius-sm)", marginTop: 6 })
166
+ ] })
167
+ ] });
168
+ }
169
+
170
+ export { ARTIFACT_KINDS, ArtifactCard, ArtifactCardSkeleton, ArtifactKindGlyph, ArtifactPreviewGlyph };
@@ -0,0 +1,142 @@
1
+ import { SlideStage } from './chunk-LV4APO72.js';
2
+ import { useReorder } from './chunk-XJ2QEBMM.js';
3
+ import { VisuallyHidden } from './chunk-BZFWDIV6.js';
4
+ import { cx } from './chunk-ODEQTPFM.js';
5
+ import './SlideFilmstrip-5U6Z55GS.css';
6
+ import { useRef, useLayoutEffect } from 'react';
7
+ import { EyeOffGlyph, GripVerticalGlyph } from '@crewlethq/icons/glyphs';
8
+ import { jsxs, jsx } from 'react/jsx-runtime';
9
+
10
+ var LABELS = {
11
+ list: "Slides",
12
+ slide: (position, title) => `Slide ${position}, ${title}`,
13
+ hidden: "Hidden when presenting",
14
+ untitled: "Untitled"
15
+ };
16
+ var STEP_KEYS = {
17
+ vertical: { back: "ArrowUp", forward: "ArrowDown" },
18
+ horizontal: { back: "ArrowLeft", forward: "ArrowRight" }
19
+ };
20
+ function SlideFilmstrip({
21
+ slides,
22
+ selected,
23
+ onSelect,
24
+ renderSlide,
25
+ onReorder,
26
+ orientation = "vertical",
27
+ className,
28
+ labels
29
+ }) {
30
+ const text = { ...LABELS, ...labels };
31
+ const ids = slides.map((s) => s.id);
32
+ const byId = new Map(slides.map((s) => [s.id, s]));
33
+ const titleOf = (id) => byId.get(id)?.title || text.untitled;
34
+ const reorder = useReorder({
35
+ keys: ids,
36
+ onReorder: (next) => onReorder?.(next),
37
+ nameOf: (id) => text.slide(ids.indexOf(id) + 1, titleOf(id)),
38
+ // A ROW IS A ONE-LINE GRID to the reorder: its items are side by side, so
39
+ // a drop lands by the pointer's half across, and Left and Right move too.
40
+ axis: orientation === "vertical" ? "vertical" : "grid"
41
+ });
42
+ const order = onReorder ? reorder.order : ids;
43
+ const options = useRef(/* @__PURE__ */ new Map());
44
+ const root = useRef(null);
45
+ useLayoutEffect(() => {
46
+ const port = root.current;
47
+ const item = options.current.get(selected)?.closest("li");
48
+ if (!port || !item) return;
49
+ scrollIntoPort(port, item, orientation);
50
+ }, [selected, orientation]);
51
+ const go = (id) => {
52
+ if (!id) return;
53
+ onSelect(id);
54
+ options.current.get(id)?.focus();
55
+ };
56
+ const onKeyDown = (event) => {
57
+ const at = order.indexOf(selected);
58
+ const step = STEP_KEYS[orientation];
59
+ const to = {
60
+ [step.forward]: order[at + 1],
61
+ [step.back]: order[at - 1],
62
+ Home: order[0],
63
+ End: order[order.length - 1]
64
+ }[event.key];
65
+ if (to === void 0) return;
66
+ event.preventDefault();
67
+ go(to);
68
+ };
69
+ return /* @__PURE__ */ jsxs(
70
+ "div",
71
+ {
72
+ ref: root,
73
+ className: cx("crewlet-slide-filmstrip", `crewlet-slide-filmstrip--${orientation}`, className),
74
+ children: [
75
+ onReorder ? /* @__PURE__ */ jsx(VisuallyHidden, { id: reorder.hintId, children: reorder.hint }) : null,
76
+ /* @__PURE__ */ jsx(
77
+ "ol",
78
+ {
79
+ className: "crewlet-slide-filmstrip__list",
80
+ "aria-label": text.list,
81
+ ...onReorder ? reorder.containerProps : {},
82
+ children: order.map((id, i) => {
83
+ const slide = byId.get(id);
84
+ const isSelected = id === selected;
85
+ return /* @__PURE__ */ jsxs(
86
+ "li",
87
+ {
88
+ className: "crewlet-slide-filmstrip__item",
89
+ "data-selected": isSelected ? "true" : void 0,
90
+ "data-hidden": slide?.hidden ? "true" : void 0,
91
+ ...onReorder ? reorder.itemProps(id) : {},
92
+ children: [
93
+ /* @__PURE__ */ jsx("span", { className: "crewlet-slide-filmstrip__number", "aria-hidden": "true", children: i + 1 }),
94
+ /* @__PURE__ */ jsxs(
95
+ "button",
96
+ {
97
+ type: "button",
98
+ ref: (node) => {
99
+ if (node) options.current.set(id, node);
100
+ else options.current.delete(id);
101
+ },
102
+ className: "crewlet-slide-filmstrip__thumb",
103
+ "aria-current": isSelected ? "true" : void 0,
104
+ "aria-label": text.slide(i + 1, titleOf(id)) + (slide?.hidden ? `, ${text.hidden}` : ""),
105
+ tabIndex: isSelected ? 0 : -1,
106
+ onClick: () => go(id),
107
+ onKeyDown,
108
+ children: [
109
+ /* @__PURE__ */ jsx(SlideStage, { label: text.slide(i + 1, titleOf(id)), children: renderSlide(id) }),
110
+ slide?.hidden ? /* @__PURE__ */ jsx("span", { className: "crewlet-slide-filmstrip__hidden", children: /* @__PURE__ */ jsx(EyeOffGlyph, { size: "sm" }) }) : null
111
+ ]
112
+ }
113
+ ),
114
+ onReorder ? /* @__PURE__ */ jsx("button", { type: "button", className: "crewlet-slide-filmstrip__handle", ...reorder.handleProps(id), children: /* @__PURE__ */ jsx(GripVerticalGlyph, { size: "sm" }) }) : null
115
+ ]
116
+ },
117
+ id
118
+ );
119
+ })
120
+ }
121
+ )
122
+ ]
123
+ }
124
+ );
125
+ }
126
+ function scrollIntoPort(port, item, orientation) {
127
+ const p = port.getBoundingClientRect();
128
+ const r = item.getBoundingClientRect();
129
+ if (orientation === "vertical") {
130
+ if (port.scrollHeight <= port.clientHeight) return;
131
+ const pad = r.height / 4;
132
+ if (r.top < p.top) port.scrollTop += r.top - p.top - pad;
133
+ else if (r.bottom > p.bottom) port.scrollTop += r.bottom - p.bottom + pad;
134
+ } else {
135
+ if (port.scrollWidth <= port.clientWidth) return;
136
+ const pad = r.width / 4;
137
+ if (r.left < p.left) port.scrollLeft += r.left - p.left - pad;
138
+ else if (r.right > p.right) port.scrollLeft += r.right - p.right + pad;
139
+ }
140
+ }
141
+
142
+ export { SlideFilmstrip };
@@ -1,4 +1,4 @@
1
- import { OrgLabel } from './chunk-AKEZ3G5V.js';
1
+ import { OrgLabel } from './chunk-ONQKKHON.js';
2
2
  import { cx } from './chunk-ODEQTPFM.js';
3
3
  import './OrgNode-TCHJH5FO.css';
4
4
  import { jsx, jsxs } from 'react/jsx-runtime';
@@ -1,5 +1,5 @@
1
1
  import { useRoving, tabStop } from './chunk-RKKO7QHH.js';
2
- import { Avatar } from './chunk-5OM447RW.js';
2
+ import { Avatar } from './chunk-PZKHBB7D.js';
3
3
  import { cx } from './chunk-ODEQTPFM.js';
4
4
  import { CREWLET_CHARACTERS, CREWLET_CHARACTER_GEOMETRY } from '@crewlethq/icons/characters';
5
5
  import { jsx } from 'react/jsx-runtime';