@flamingo-stack/openframe-frontend-core 0.0.824 → 0.0.826

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 (347) hide show
  1. package/dist/build/export-map.json +1 -1
  2. package/dist/{case-study-card-IZBMHA6R.cjs → case-study-card-O4IQCJAX.cjs} +5 -5
  3. package/dist/chat-protocol/events.d.ts +0 -3
  4. package/dist/chat-protocol/events.d.ts.map +1 -1
  5. package/dist/chat-protocol/frames.d.ts +10 -7
  6. package/dist/chat-protocol/frames.d.ts.map +1 -1
  7. package/dist/chat-protocol/index.cjs +238 -234
  8. package/dist/chat-protocol/leading-frames.d.ts.map +1 -1
  9. package/dist/chat-protocol/leading-frames.js +6 -3
  10. package/dist/chat-protocol/progress.d.ts +13 -20
  11. package/dist/chat-protocol/progress.d.ts.map +1 -1
  12. package/dist/chat-protocol/progress.js +13 -11
  13. package/dist/{chunk-QOAA7ZHB.cjs → chunk-2HQNXX2K.cjs} +2 -2
  14. package/dist/{chunk-TQ7TUEK2.cjs → chunk-2TQJSB62.cjs} +4879 -3563
  15. package/dist/{chunk-NONMZ5WJ.cjs → chunk-2VLPXUQK.cjs} +14 -83
  16. package/dist/{chunk-HDOU3AXV.cjs → chunk-37OYBX7W.cjs} +36 -36
  17. package/dist/{chunk-OBQ5WUNG.cjs → chunk-3B6ZE4EZ.cjs} +29 -29
  18. package/dist/{chunk-C3RAE7RO.cjs → chunk-5AQKXEMI.cjs} +979 -1357
  19. package/dist/{chunk-25HBH4J6.cjs → chunk-5BM7X4GA.cjs} +2 -2
  20. package/dist/{chunk-A3SR6HHX.cjs → chunk-63T2KKDZ.cjs} +86 -86
  21. package/dist/{chunk-MROW2JWE.cjs → chunk-6G4WRMEM.cjs} +3 -3
  22. package/dist/{chunk-WMTV6M5B.cjs → chunk-74GWFGH2.cjs} +28 -28
  23. package/dist/{chunk-467T3LCG.cjs → chunk-7PZQ7SHB.cjs} +49 -32
  24. package/dist/{chunk-SOSVC6HB.cjs → chunk-AJM4YZTW.cjs} +8 -8
  25. package/dist/{chunk-2XLPRW7V.cjs → chunk-BIG3O33P.cjs} +6 -2
  26. package/dist/chunk-BMQLM2NU.cjs +40 -0
  27. package/dist/{chunk-DVHSYPDB.cjs → chunk-DAKGX2WF.cjs} +2 -2
  28. package/dist/{chunk-2IWAHBCC.cjs → chunk-DRSFR5AC.cjs} +159 -159
  29. package/dist/{chunk-IJCSQFLD.cjs → chunk-DU6AF77X.cjs} +83 -121
  30. package/dist/{chunk-B2VRNRTY.cjs → chunk-EJNDTSKY.cjs} +91 -91
  31. package/dist/{chunk-SBFBNOKU.cjs → chunk-ENMPSEEQ.cjs} +4 -4
  32. package/dist/{chunk-ZECG6GU5.cjs → chunk-F2J5WN6U.cjs} +2 -2
  33. package/dist/{chunk-BOS7OIC4.cjs → chunk-GRHF5SWL.cjs} +5 -2
  34. package/dist/{chunk-Z7BLMJEI.cjs → chunk-GZAPOCKS.cjs} +54 -54
  35. package/dist/{chunk-M7EBCYKN.cjs → chunk-HJAPXKWK.cjs} +17 -17
  36. package/dist/{chunk-XUMZMIHR.cjs → chunk-HQ4FKHOO.cjs} +249 -108
  37. package/dist/{chunk-ZRDVFADQ.cjs → chunk-IBD2FPSX.cjs} +75 -9
  38. package/dist/{chunk-T266OITJ.cjs → chunk-IKWQW3YJ.cjs} +45 -45
  39. package/dist/{chunk-B7NSH7IK.cjs → chunk-IWQ2LJGW.cjs} +5 -5
  40. package/dist/{chunk-2IHGR57J.cjs → chunk-JDR72QFU.cjs} +12 -14
  41. package/dist/{chunk-EHANO6UE.cjs → chunk-K34TTZAE.cjs} +9 -129
  42. package/dist/{chunk-QDDBOCG3.cjs → chunk-KPGKTEEB.cjs} +2 -2
  43. package/dist/{chunk-WSBAIZXL.cjs → chunk-MDEOCOIE.cjs} +23 -23
  44. package/dist/chunk-OEP5KAT6.cjs +56 -0
  45. package/dist/chunk-OT6P57ZS.cjs +94 -0
  46. package/dist/{chunk-QQT23JJ7.cjs → chunk-PBHP3FHO.cjs} +4 -4
  47. package/dist/{chunk-J5U3XHFJ.cjs → chunk-PJY3SYCS.cjs} +29 -27
  48. package/dist/{chunk-5N26M6CK.cjs → chunk-PWAKRRRO.cjs} +1283 -268
  49. package/dist/{chunk-UEULXVW2.cjs → chunk-QS6AKUUL.cjs} +22 -22
  50. package/dist/{chunk-GXBIYPDM.cjs → chunk-QYJZDEG7.cjs} +6 -6
  51. package/dist/{chunk-NPNZAAOB.cjs → chunk-S6UJEW4G.cjs} +2 -2
  52. package/dist/{chunk-TTMTNG3U.cjs → chunk-TJG2BJ5J.cjs} +4 -4
  53. package/dist/{chunk-QOOMUGF2.cjs → chunk-TYJ73DHW.cjs} +15 -15
  54. package/dist/{chunk-A34UNP5V.cjs → chunk-W4VEDSAX.cjs} +80 -11
  55. package/dist/{chunk-2M4E2V25.cjs → chunk-WGMU45NV.cjs} +20 -20
  56. package/dist/{chunk-EZTCN43H.cjs → chunk-XDHQC4XH.cjs} +46 -46
  57. package/dist/{cloud-tenants-VYXMNISG.cjs → cloud-tenants-F67KQ5GC.cjs} +108 -106
  58. package/dist/components/case-studies/index.cjs +124 -122
  59. package/dist/components/chat/approval-batch-message.d.ts.map +1 -1
  60. package/dist/components/chat/approval-batch-message.js +2 -2
  61. package/dist/components/chat/chat-archive-page.d.ts +7 -0
  62. package/dist/components/chat/chat-archive-page.d.ts.map +1 -1
  63. package/dist/components/chat/chat-archive-page.js +9 -0
  64. package/dist/components/chat/chat-composer.d.ts +24 -4
  65. package/dist/components/chat/chat-composer.d.ts.map +1 -1
  66. package/dist/components/chat/chat-composer.js +90 -48
  67. package/dist/components/chat/chat-context-memory-bar.d.ts +4 -1
  68. package/dist/components/chat/chat-context-memory-bar.d.ts.map +1 -1
  69. package/dist/components/chat/chat-context-memory-bar.js +8 -5
  70. package/dist/components/chat/chat-context-picker.d.ts +8 -1
  71. package/dist/components/chat/chat-context-picker.d.ts.map +1 -1
  72. package/dist/components/chat/chat-context-picker.js +32 -9
  73. package/dist/components/chat/chat-header-rename-field.d.ts +18 -0
  74. package/dist/components/chat/chat-header-rename-field.d.ts.map +1 -0
  75. package/dist/components/chat/chat-header-rename-field.js +49 -0
  76. package/dist/components/chat/chat-input.d.ts.map +1 -1
  77. package/dist/components/chat/chat-input.js +5 -0
  78. package/dist/components/chat/composer-sheet.d.ts +44 -0
  79. package/dist/components/chat/composer-sheet.d.ts.map +1 -0
  80. package/dist/components/chat/composer-sheet.js +140 -0
  81. package/dist/components/chat/embeddable-chat.d.ts +114 -1
  82. package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
  83. package/dist/components/chat/embeddable-chat.js +328 -218
  84. package/dist/components/chat/hooks/use-sse-chat-adapter.d.ts.map +1 -1
  85. package/dist/components/chat/hooks/use-sse-chat-adapter.js +0 -2
  86. package/dist/components/chat/hooks/use-unified-chat.d.ts.map +1 -1
  87. package/dist/components/chat/hooks/use-unified-chat.js +0 -1
  88. package/dist/components/chat/index.cjs +118 -103
  89. package/dist/components/chat/index.d.ts +6 -0
  90. package/dist/components/chat/index.d.ts.map +1 -1
  91. package/dist/components/chat/index.js +9 -0
  92. package/dist/components/chat/mingo-chat-day-groups.d.ts +18 -0
  93. package/dist/components/chat/mingo-chat-day-groups.d.ts.map +1 -0
  94. package/dist/components/chat/mingo-chat-day-groups.js +45 -0
  95. package/dist/components/chat/mingo-chat-header.d.ts +34 -6
  96. package/dist/components/chat/mingo-chat-header.d.ts.map +1 -1
  97. package/dist/components/chat/mingo-chat-header.js +44 -7
  98. package/dist/components/chat/mingo-chat-history-section.d.ts +30 -0
  99. package/dist/components/chat/mingo-chat-history-section.d.ts.map +1 -0
  100. package/dist/components/chat/mingo-chat-history-section.js +500 -0
  101. package/dist/components/chat/mingo-chat-history.d.ts +5 -2
  102. package/dist/components/chat/mingo-chat-history.d.ts.map +1 -1
  103. package/dist/components/chat/mingo-chat-history.js +26 -30
  104. package/dist/components/chat/mingo-chat-list-shared.d.ts +136 -0
  105. package/dist/components/chat/mingo-chat-list-shared.d.ts.map +1 -0
  106. package/dist/components/chat/mingo-chat-list-shared.js +76 -0
  107. package/dist/components/chat/mingo-chat-rail.d.ts +19 -51
  108. package/dist/components/chat/mingo-chat-rail.d.ts.map +1 -1
  109. package/dist/components/chat/mingo-chat-rail.js +23 -45
  110. package/dist/components/chat/mingo-edge-light.d.ts +13 -0
  111. package/dist/components/chat/mingo-edge-light.d.ts.map +1 -0
  112. package/dist/components/chat/mingo-edge-light.js +17 -0
  113. package/dist/components/chat/mingo-history-rail.d.ts +5 -4
  114. package/dist/components/chat/mingo-history-rail.d.ts.map +1 -1
  115. package/dist/components/chat/mingo-history-rail.js +5 -10
  116. package/dist/components/chat/mingo-quick-action-wall.d.ts +27 -0
  117. package/dist/components/chat/mingo-quick-action-wall.d.ts.map +1 -0
  118. package/dist/components/chat/mingo-quick-action-wall.js +41 -0
  119. package/dist/components/chat/mingo-welcome.d.ts.map +1 -1
  120. package/dist/components/chat/mingo-welcome.js +6 -20
  121. package/dist/components/chat/model-display.d.ts.map +1 -1
  122. package/dist/components/chat/model-display.js +38 -9
  123. package/dist/components/chat/stream/chat-dialog-store.d.ts.map +1 -1
  124. package/dist/components/chat/stream/chat-dialog-store.js +0 -1
  125. package/dist/components/chat/stream/chat-stream-reducer.d.ts +0 -4
  126. package/dist/components/chat/stream/chat-stream-reducer.d.ts.map +1 -1
  127. package/dist/components/chat/stream/chat-stream-reducer.js +6 -13
  128. package/dist/components/chat/tool-execution-display.d.ts.map +1 -1
  129. package/dist/components/chat/tool-execution-display.js +15 -1
  130. package/dist/components/chat/types/component.types.d.ts +13 -1
  131. package/dist/components/chat/types/component.types.d.ts.map +1 -1
  132. package/dist/components/chat/types/unified-chat-state.types.d.ts +0 -5
  133. package/dist/components/chat/types/unified-chat-state.types.d.ts.map +1 -1
  134. package/dist/components/chat/utils/chat-day-label.d.ts +8 -0
  135. package/dist/components/chat/utils/chat-day-label.d.ts.map +1 -0
  136. package/dist/components/chat/utils/chat-day-label.js +21 -0
  137. package/dist/components/contact/index.cjs +109 -107
  138. package/dist/components/docs/index.cjs +112 -110
  139. package/dist/components/embeds/index.cjs +109 -107
  140. package/dist/components/faq/index.cjs +110 -108
  141. package/dist/components/features/board/board-column.d.ts +3 -1
  142. package/dist/components/features/board/board-column.d.ts.map +1 -1
  143. package/dist/components/features/board/board-column.js +6 -2
  144. package/dist/components/features/board/board.d.ts +6 -0
  145. package/dist/components/features/board/board.d.ts.map +1 -1
  146. package/dist/components/features/board/board.js +14 -3
  147. package/dist/components/features/board/touch-board.d.ts +1 -1
  148. package/dist/components/features/board/touch-board.d.ts.map +1 -1
  149. package/dist/components/features/board/touch-board.js +3 -1
  150. package/dist/components/features/index.cjs +108 -106
  151. package/dist/components/features/notifications/approval-request-notification-tile.d.ts +7 -1
  152. package/dist/components/features/notifications/approval-request-notification-tile.d.ts.map +1 -1
  153. package/dist/components/features/notifications/approval-request-notification-tile.js +1 -1
  154. package/dist/components/features/notifications/notification-drawer.d.ts +6 -1
  155. package/dist/components/features/notifications/notification-drawer.d.ts.map +1 -1
  156. package/dist/components/features/notifications/notification-drawer.js +3 -2
  157. package/dist/components/features/notifications/notification-tile.d.ts +4 -1
  158. package/dist/components/features/notifications/notification-tile.d.ts.map +1 -1
  159. package/dist/components/features/notifications/notification-tile.js +9 -7
  160. package/dist/components/features/time-tracker/time-tracker-header-button.d.ts +18 -1
  161. package/dist/components/features/time-tracker/time-tracker-header-button.d.ts.map +1 -1
  162. package/dist/components/features/time-tracker/time-tracker-header-button.js +31 -7
  163. package/dist/components/help-center-pages/index.cjs +217 -215
  164. package/dist/components/icons-v2-generated/icon-loaders.d.ts.map +1 -1
  165. package/dist/components/icons-v2-generated/icon-loaders.js +1 -0
  166. package/dist/components/icons-v2-generated/icon-names.js +1 -1
  167. package/dist/components/icons-v2-generated/index.cjs +90 -86
  168. package/dist/components/icons-v2-generated/loaders/dots-loader-icon.d.ts.map +1 -1
  169. package/dist/components/icons-v2-generated/loaders/dots-loader-icon.js +21 -24
  170. package/dist/components/icons-v2-generated/logos/index.d.ts +1 -0
  171. package/dist/components/icons-v2-generated/logos/index.d.ts.map +1 -1
  172. package/dist/components/icons-v2-generated/logos/index.js +2 -0
  173. package/dist/components/icons-v2-generated/logos/mingo-logo-icon.d.ts +9 -0
  174. package/dist/components/icons-v2-generated/logos/mingo-logo-icon.d.ts.map +1 -0
  175. package/dist/components/icons-v2-generated/logos/mingo-logo-icon.js +36 -0
  176. package/dist/components/index.cjs +215 -182
  177. package/dist/components/meeting-scheduler/index.cjs +182 -180
  178. package/dist/components/navigation/account-popover.d.ts +62 -0
  179. package/dist/components/navigation/account-popover.d.ts.map +1 -0
  180. package/dist/components/navigation/account-popover.js +138 -0
  181. package/dist/components/navigation/app-header.d.ts +36 -2
  182. package/dist/components/navigation/app-header.d.ts.map +1 -1
  183. package/dist/components/navigation/app-header.js +28 -24
  184. package/dist/components/navigation/app-layout-context.d.ts +17 -0
  185. package/dist/components/navigation/app-layout-context.d.ts.map +1 -1
  186. package/dist/components/navigation/app-layout-context.js +9 -1
  187. package/dist/components/navigation/app-layout.d.ts +93 -1
  188. package/dist/components/navigation/app-layout.d.ts.map +1 -1
  189. package/dist/components/navigation/app-layout.js +149 -30
  190. package/dist/components/navigation/header-button.d.ts +11 -1
  191. package/dist/components/navigation/header-button.d.ts.map +1 -1
  192. package/dist/components/navigation/header-button.js +16 -5
  193. package/dist/components/navigation/header-mingo-button.d.ts.map +1 -1
  194. package/dist/components/navigation/header-mingo-button.js +6 -5
  195. package/dist/components/navigation/index.cjs +120 -109
  196. package/dist/components/navigation/index.d.ts +10 -1
  197. package/dist/components/navigation/index.d.ts.map +1 -1
  198. package/dist/components/navigation/index.js +8 -0
  199. package/dist/components/navigation/mingo-ai-button.d.ts.map +1 -1
  200. package/dist/components/navigation/mingo-ai-button.js +2 -1
  201. package/dist/components/navigation/mobile-burger-menu.d.ts.map +1 -1
  202. package/dist/components/navigation/mobile-burger-menu.js +155 -39
  203. package/dist/components/navigation/navigation-sidebar-grouped.d.ts +57 -0
  204. package/dist/components/navigation/navigation-sidebar-grouped.d.ts.map +1 -0
  205. package/dist/components/navigation/navigation-sidebar-grouped.js +365 -0
  206. package/dist/components/navigation/navigation-sidebar-match.d.ts +37 -0
  207. package/dist/components/navigation/navigation-sidebar-match.d.ts.map +1 -0
  208. package/dist/components/navigation/navigation-sidebar-match.js +85 -0
  209. package/dist/components/navigation/navigation-sidebar-slot.d.ts +7 -0
  210. package/dist/components/navigation/navigation-sidebar-slot.d.ts.map +1 -0
  211. package/dist/components/navigation/navigation-sidebar-slot.js +11 -0
  212. package/dist/components/navigation/navigation-sidebar-toggle.d.ts +7 -1
  213. package/dist/components/navigation/navigation-sidebar-toggle.d.ts.map +1 -1
  214. package/dist/components/navigation/navigation-sidebar-toggle.js +52 -23
  215. package/dist/components/navigation/navigation-sidebar.d.ts +13 -1
  216. package/dist/components/navigation/navigation-sidebar.d.ts.map +1 -1
  217. package/dist/components/navigation/navigation-sidebar.js +188 -52
  218. package/dist/components/navigation/notifications-bell-button.d.ts +28 -0
  219. package/dist/components/navigation/notifications-bell-button.d.ts.map +1 -0
  220. package/dist/components/navigation/notifications-bell-button.js +44 -0
  221. package/dist/components/navigation/ticket-alerts-button.d.ts +7 -1
  222. package/dist/components/navigation/ticket-alerts-button.d.ts.map +1 -1
  223. package/dist/components/navigation/ticket-alerts-button.js +3 -2
  224. package/dist/components/onboarding-guides/index.cjs +111 -109
  225. package/dist/components/product-demo/index.cjs +119 -117
  226. package/dist/components/related-content/index.cjs +13 -13
  227. package/dist/components/tickets/index.cjs +115 -113
  228. package/dist/components/ui/actions-menu.d.ts +6 -1
  229. package/dist/components/ui/actions-menu.d.ts.map +1 -1
  230. package/dist/components/ui/actions-menu.js +6 -2
  231. package/dist/components/ui/fade-preview.d.ts +8 -0
  232. package/dist/components/ui/fade-preview.d.ts.map +1 -1
  233. package/dist/components/ui/fade-preview.js +7 -5
  234. package/dist/components/ui/index.cjs +136 -111
  235. package/dist/components/ui/index.d.ts +1 -0
  236. package/dist/components/ui/index.d.ts.map +1 -1
  237. package/dist/components/ui/index.js +1 -0
  238. package/dist/components/ui/mobile-action-bar.d.ts +14 -0
  239. package/dist/components/ui/mobile-action-bar.d.ts.map +1 -0
  240. package/dist/components/ui/mobile-action-bar.js +68 -0
  241. package/dist/components/ui/no-data/no-data-styles.d.ts +1 -1
  242. package/dist/components/ui/no-data/no-data-styles.d.ts.map +1 -1
  243. package/dist/components/ui/no-data/no-data-styles.js +1 -1
  244. package/dist/components/ui/page-actions.d.ts.map +1 -1
  245. package/dist/components/ui/page-actions.js +24 -8
  246. package/dist/components/ui/panel-resize-handle.d.ts +6 -2
  247. package/dist/components/ui/panel-resize-handle.d.ts.map +1 -1
  248. package/dist/components/ui/panel-resize-handle.js +6 -3
  249. package/dist/components/ui/square-avatar.d.ts.map +1 -1
  250. package/dist/components/ui/square-avatar.js +5 -2
  251. package/dist/{devices-NTYNZEGJ.cjs → devices-SJORCARH.cjs} +109 -107
  252. package/dist/dots-loader-icon-5JXWD6FB.cjs +7 -0
  253. package/dist/{embeddable-chat-JAUO4O2T.cjs → embeddable-chat-7Z4CEZJL.cjs} +512 -400
  254. package/dist/hooks/index.cjs +15 -16
  255. package/dist/hooks/ui/use-content-breakpoint.d.ts +4 -2
  256. package/dist/hooks/ui/use-content-breakpoint.d.ts.map +1 -1
  257. package/dist/{icon-loaders-OLGJZGRP.cjs → icon-loaders-SUPEKMBJ.cjs} +2 -1
  258. package/dist/index.cjs +154 -121
  259. package/dist/{knowledge-I2LW27EP.cjs → knowledge-QXILUVEM.cjs} +109 -107
  260. package/dist/{logs-KLZHXSOU.cjs → logs-E3KQQQD6.cjs} +118 -115
  261. package/dist/mingo-logo-icon-WGPBSDTF.cjs +7 -0
  262. package/dist/{policies-SMDAHDKL.cjs → policies-IOYQY6TF.cjs} +112 -110
  263. package/dist/{remote-session-BQMTIQTU.cjs → remote-session-QGFG5WAL.cjs} +99 -97
  264. package/dist/{scripts-OMBBPNTU.cjs → scripts-E5TWWUNP.cjs} +115 -113
  265. package/dist/{software-update-ZIJYNJIC.cjs → software-update-QZGYG4TD.cjs} +112 -110
  266. package/dist/{tickets-board-TRXOX77R.cjs → tickets-board-KCH6ITUV.cjs} +95 -94
  267. package/dist/types/navigation.d.ts +131 -0
  268. package/dist/types/navigation.d.ts.map +1 -1
  269. package/dist/utils/index.cjs +65 -25
  270. package/package.json +1 -1
  271. package/src/chat-protocol/events.ts +0 -3
  272. package/src/chat-protocol/frames.ts +12 -8
  273. package/src/chat-protocol/leading-frames.ts +7 -4
  274. package/src/chat-protocol/progress.ts +31 -28
  275. package/src/components/chat/approval-batch-message.tsx +3 -2
  276. package/src/components/chat/chat-archive-page.tsx +16 -0
  277. package/src/components/chat/chat-composer.tsx +131 -61
  278. package/src/components/chat/chat-context-memory-bar.tsx +27 -17
  279. package/src/components/chat/chat-context-picker.tsx +45 -11
  280. package/src/components/chat/chat-header-rename-field.tsx +68 -0
  281. package/src/components/chat/chat-input.tsx +9 -1
  282. package/src/components/chat/composer-sheet.tsx +196 -0
  283. package/src/components/chat/embeddable-chat.tsx +636 -324
  284. package/src/components/chat/hooks/use-sse-chat-adapter.ts +0 -2
  285. package/src/components/chat/hooks/use-unified-chat.ts +0 -1
  286. package/src/components/chat/index.ts +6 -0
  287. package/src/components/chat/mingo-chat-day-groups.ts +62 -0
  288. package/src/components/chat/mingo-chat-header.tsx +99 -23
  289. package/src/components/chat/mingo-chat-history-section.tsx +670 -0
  290. package/src/components/chat/mingo-chat-history.tsx +31 -45
  291. package/src/components/chat/mingo-chat-list-shared.tsx +244 -0
  292. package/src/components/chat/mingo-chat-rail.tsx +45 -97
  293. package/src/components/chat/mingo-edge-light.tsx +25 -0
  294. package/src/components/chat/mingo-history-rail.tsx +7 -17
  295. package/src/components/chat/mingo-quick-action-wall.tsx +64 -0
  296. package/src/components/chat/mingo-welcome.tsx +5 -19
  297. package/src/components/chat/model-display.tsx +66 -14
  298. package/src/components/chat/stream/chat-dialog-store.ts +0 -1
  299. package/src/components/chat/stream/chat-stream-reducer.ts +6 -17
  300. package/src/components/chat/tool-execution-display.tsx +9 -1
  301. package/src/components/chat/types/component.types.ts +13 -1
  302. package/src/components/chat/types/unified-chat-state.types.ts +0 -6
  303. package/src/components/chat/utils/chat-day-label.ts +24 -0
  304. package/src/components/features/board/board-column.tsx +8 -0
  305. package/src/components/features/board/board.tsx +16 -2
  306. package/src/components/features/board/touch-board.tsx +2 -0
  307. package/src/components/features/notifications/approval-request-notification-tile.tsx +8 -2
  308. package/src/components/features/notifications/notification-drawer.tsx +7 -1
  309. package/src/components/features/notifications/notification-tile.tsx +17 -9
  310. package/src/components/features/time-tracker/time-tracker-header-button.tsx +53 -6
  311. package/src/components/icons-v2/icon-colors.json +4 -0
  312. package/src/components/icons-v2-generated/icon-loaders.ts +1 -0
  313. package/src/components/icons-v2-generated/icon-names.ts +1 -1
  314. package/src/components/icons-v2-generated/loaders/dots-loader-icon.tsx +18 -27
  315. package/src/components/icons-v2-generated/logos/index.ts +1 -0
  316. package/src/components/icons-v2-generated/logos/mingo-logo-icon.tsx +35 -0
  317. package/src/components/navigation/account-popover.tsx +198 -0
  318. package/src/components/navigation/app-header.tsx +74 -33
  319. package/src/components/navigation/app-layout-context.ts +22 -0
  320. package/src/components/navigation/app-layout.tsx +290 -24
  321. package/src/components/navigation/header-button.tsx +27 -5
  322. package/src/components/navigation/header-mingo-button.tsx +6 -5
  323. package/src/components/navigation/index.ts +19 -0
  324. package/src/components/navigation/mingo-ai-button.tsx +2 -3
  325. package/src/components/navigation/mobile-burger-menu.tsx +219 -53
  326. package/src/components/navigation/navigation-sidebar-grouped.tsx +554 -0
  327. package/src/components/navigation/navigation-sidebar-match.ts +152 -0
  328. package/src/components/navigation/navigation-sidebar-slot.ts +12 -0
  329. package/src/components/navigation/navigation-sidebar-toggle.tsx +39 -6
  330. package/src/components/navigation/navigation-sidebar.tsx +278 -61
  331. package/src/components/navigation/notifications-bell-button.tsx +70 -0
  332. package/src/components/navigation/ticket-alerts-button.tsx +9 -2
  333. package/src/components/ui/actions-menu.tsx +19 -3
  334. package/src/components/ui/fade-preview.tsx +13 -6
  335. package/src/components/ui/index.ts +1 -0
  336. package/src/components/ui/mobile-action-bar.ts +87 -0
  337. package/src/components/ui/no-data/no-data-styles.ts +5 -2
  338. package/src/components/ui/page-actions.tsx +38 -11
  339. package/src/components/ui/panel-resize-handle.tsx +14 -5
  340. package/src/components/ui/square-avatar.tsx +5 -2
  341. package/src/hooks/ui/use-content-breakpoint.ts +4 -2
  342. package/src/styles/ods-interaction-states.css +68 -0
  343. package/src/types/navigation.ts +140 -0
  344. package/dist/chunk-C7GIHB3V.cjs +0 -59
  345. package/dist/dots-loader-icon-RBLX46X7.cjs +0 -7
  346. package/dist/{chunk-ZOZR3QI2.cjs → chunk-46547WQW.cjs} +0 -0
  347. package/dist/{video-file-player-IAMWBKEQ.cjs → video-file-player-IHO66P2Q.cjs} +1 -1
@@ -1,18 +1,21 @@
1
1
  'use client';
2
2
 
3
3
  import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
4
- import type { ReactNode } from 'react';
5
- import { ContentAreaWidthContext } from '../../hooks/ui/use-content-breakpoint';
4
+ import type { CSSProperties, ReactNode } from 'react';
5
+ import { ContentAreaWidthContext, contentBreakpointFor } from '../../hooks/ui/use-content-breakpoint';
6
6
  import { useIsomorphicLayoutEffect } from '../../hooks/ui/use-isomorphic-layout-effect';
7
7
  import type { NavigationSidebarConfig } from '../../types/navigation';
8
8
  import { cn } from '../../utils';
9
9
  import { NotificationDrawer } from '../features/notifications/notification-drawer';
10
+ import { previewFadeMask } from '../ui/fade-preview';
11
+ import { useMobileActionBarHeight } from '../ui/mobile-action-bar';
10
12
  import { AppHeader, type AppHeaderProps } from './app-header';
11
13
  import {
12
14
  AppLayoutDrawerContainerContext,
13
15
  type AppLayoutDrawerCoordination,
14
16
  AppLayoutDrawerCoordinationContext,
15
17
  type AppLayoutDrawerHandle,
18
+ ComposerDockHeightContext,
16
19
  } from './app-layout-context';
17
20
  import { AppLayoutSidePanel, type AppLayoutSidePanelConfig, useAppLayoutSidePanel } from './app-layout-side-panel';
18
21
  import { MobileBurgerMenu, type MobileBurgerMenuProps } from './mobile-burger-menu';
@@ -55,8 +58,103 @@ export interface AppLayoutProps {
55
58
  * over the content area. Optional; without it the layout is unchanged.
56
59
  */
57
60
  sidePanel?: AppLayoutSidePanelConfig;
61
+ /**
62
+ * A bar docked under the page (the Mingo composer). It sits below the
63
+ * scrolling `<main>`, outside it, so it stays put while the page scrolls and
64
+ * the page's scroll area ends above it: nothing is ever hidden under it. It
65
+ * spans the page column — left of a `sidePanel` — and, on a phone, sits at
66
+ * the bottom of the screen; the bottom safe-area inset belongs to the layout
67
+ * root (the host's `className`), not to the dock.
68
+ *
69
+ * With it, the page column is an adaptive content area, as with `sidePanel`:
70
+ * `<main>` and the dock each follow the column's width in their tokens and
71
+ * `content-md:` / `content-lg:` classes, and `useContentBreakpoint()` answers
72
+ * from it on both. Pass `null` to keep that (and the slot) while drawing
73
+ * nothing, e.g. behind a paywall; `undefined` removes it. Either way the page
74
+ * stays mounted. Optional; without it the layout is unchanged.
75
+ */
76
+ composerDock?: ReactNode;
77
+ /**
78
+ * A layer over the page that ends at the `composerDock`'s top edge — the
79
+ * conversation sheet that rises from the composer over the page (a scrim over
80
+ * the page, the thread above the composer). The layer spans the page column,
81
+ * takes no pointer events itself (what the host draws in it opts in with
82
+ * `pointer-events-auto`) and is the positioning box for it: anchor the sheet to
83
+ * its bottom. It follows the dock's height as the composer grows. It is a
84
+ * content area like the dock, so `content-md:` / `content-lg:` and
85
+ * `useContentBreakpoint()` answer from the column's width. Above the page's own
86
+ * layers (sticky bars, the `contentCorner`), under in-layout drawers and modals.
87
+ * Only with a `composerDock`; omitted, `null` or `false` draws nothing and the
88
+ * page is unchanged.
89
+ */
90
+ composerSheet?: ReactNode;
91
+ /**
92
+ * The `composerDock` lies over the bottom of the page instead of taking its height:
93
+ * the page scrolls on under it (`<main>` is padded by the dock's height, so its end
94
+ * still clears it) and fades out to fully transparent over the dock's height (the
95
+ * shared preview fade, `previewFadeMask`), seen either side of the composer. Where the
96
+ * dock is transparent the page takes the pointer and the wheel; the host makes its own
97
+ * content take them back (`pointer-events-auto`). Off: the dock is a band of its own
98
+ * under the page.
99
+ *
100
+ * `<main>` carries the floating dock's height as `--composer-dock-inset` (`0px`
101
+ * otherwise), for a page that fills `<main>`'s height and runs on under the dock
102
+ * rather than ending above it: it grows by the inset and gives it back as a negative
103
+ * margin (`h-[calc(100%+var(--composer-dock-inset,0px))]
104
+ * -mb-[var(--composer-dock-inset,0px)]`), and pads its own scroll areas' ends by it.
105
+ */
106
+ composerDockFloats?: boolean;
107
+ /**
108
+ * Paints the page column — the page and the `composerDock` under it — as one
109
+ * surface: that surface's ground and the accent corner glow, so a chat page's
110
+ * background runs under the composer to the bottom of the window (`'mingo'`,
111
+ * with the dock's `EmbeddableChat` portalling its thread into the page). Takes
112
+ * effect on a column with a dock or a `contentCorner`. Omitted: the column is
113
+ * transparent, as before.
114
+ */
115
+ pageSurface?: 'mingo';
116
+ /**
117
+ * The desktop `AppHeader`. `false` drops it from md up — the sidebar and the
118
+ * page start at the top of the window — and keeps the phone top bar (burger,
119
+ * logo, action cells) below md. Decided in CSS, so the first paint is right
120
+ * at every width. Default `true`.
121
+ *
122
+ * Without the header the notifications bell has no place of its own: render
123
+ * a `NotificationsBellButton variant="floating"` in `contentCorner`. The
124
+ * `NotificationDrawer` this layout mounts follows the `NotificationsProvider`,
125
+ * not the header.
126
+ */
127
+ desktopHeader?: boolean;
128
+ /**
129
+ * Controls pinned to the top-right corner of the page column (the
130
+ * notifications bell when `desktopHeader` is off). Floats over the page at
131
+ * the header's layer and does not scroll with it; in-layout drawers cover it.
132
+ * From md up only — below md it is not displayed, as the phone top bar
133
+ * carries those controls. Leave room for it in the page's title row.
134
+ * Optional; without it the layout is unchanged.
135
+ */
136
+ contentCorner?: ReactNode;
137
+ /**
138
+ * Controlled phone burger menu (below md). With it the host owns whether the
139
+ * menu is open — e.g. a top-bar cell that opens it on its chat history, or a
140
+ * navigation started from one of its slots that has to close it. Omitted:
141
+ * the layout keeps its own state, as before.
142
+ */
143
+ mobileMenuOpen?: boolean;
144
+ /**
145
+ * Every open / close the layout asks for, controlled or not: the burger
146
+ * toggle, a nav entry clicked in the menu, an in-layout drawer opening over
147
+ * it, and — when `sidebarConfig.currentPath` is set — any change of that
148
+ * location while the menu is open (so a navigation started anywhere, a slot
149
+ * included, closes it). A host opening it through `mobileMenuOpen` also
150
+ * closes any open in-layout drawer, as the toggle does.
151
+ */
152
+ onMobileMenuOpenChange?: (open: boolean) => void;
58
153
  }
59
154
 
155
+ /** The floating dock's height on `<main>`, for a page that runs on under it (`composerDockFloats`). */
156
+ const COMPOSER_DOCK_INSET_VAR = '--composer-dock-inset';
157
+
60
158
  export function AppLayout({
61
159
  children,
62
160
  sidebarConfig,
@@ -68,23 +166,73 @@ export function AppLayout({
68
166
  drawer,
69
167
  topBar,
70
168
  sidePanel,
169
+ composerDock,
170
+ composerSheet,
171
+ composerDockFloats = false,
172
+ pageSurface,
173
+ desktopHeader = true,
174
+ contentCorner,
175
+ mobileMenuOpen: mobileMenuOpenProp,
176
+ onMobileMenuOpenChange,
71
177
  }: AppLayoutProps) {
72
- const [mobileMenuOpen, setMobileMenuOpen] = useState(false);
178
+ const menuControlled = mobileMenuOpenProp !== undefined;
179
+ const [uncontrolledMenuOpen, setUncontrolledMenuOpen] = useState(false);
180
+ const mobileMenuOpen = menuControlled ? mobileMenuOpenProp : uncontrolledMenuOpen;
73
181
  const [drawerContainer, setDrawerContainer] = useState<HTMLDivElement | null>(null);
74
182
  const [mainElement, setMainElement] = useState<HTMLElement | null>(null);
75
183
  const [contentWidth, setContentWidth] = useState<number | null>(null);
184
+ const [dockElement, setDockElement] = useState<HTMLDivElement | null>(null);
185
+ const [dockHeight, setDockHeight] = useState(0);
76
186
 
77
187
  const hasSidePanel = sidePanel !== undefined;
188
+ const hasDock = composerDock !== undefined;
189
+ const dockFloats = hasDock && composerDockFloats;
190
+ // A page's window-pinned action bar (`PageActions` below md) lies over the page's end
191
+ // as well, over the dock where there is one: the page runs on by its height too.
192
+ const actionBarHeight = useMobileActionBarHeight();
193
+ const bottomInset = (dockFloats ? dockHeight : 0) + actionBarHeight;
194
+ const hasCorner = contentCorner !== undefined;
195
+ // The page column lays out by its own width: something narrows it (the
196
+ // panel) or shares it with the page (the dock).
197
+ const adaptive = hasSidePanel || hasDock;
198
+ // The column needs a box of its own only to stack the dock under <main> and
199
+ // to anchor the corner; otherwise it is `contents` and <main> stays the row's
200
+ // flex item exactly as before.
201
+ const columnIsBox = hasDock || hasCorner;
78
202
  const sidePanelState = useAppLayoutSidePanel(sidePanel, drawerContainer);
79
203
 
80
204
  useIsomorphicLayoutEffect(() => {
81
- if (!hasSidePanel || !mainElement) return undefined;
82
- const update = () => setContentWidth(mainElement.clientWidth);
205
+ if (!adaptive || !mainElement) return undefined;
206
+ // Every reader asks for the breakpoint (`useContentBreakpoint`), so only a
207
+ // crossing re-renders the layout: kept at the old width, the state bails out.
208
+ // Per pixel, the uncompiled layout and every breakpoint consumer re-rendered on
209
+ // each frame of a sidebar toggle, a window drag or a side-panel resize.
210
+ const update = () => {
211
+ const width = mainElement.clientWidth;
212
+ setContentWidth(previous =>
213
+ previous !== null && contentBreakpointFor(previous) === contentBreakpointFor(width) ? previous : width,
214
+ );
215
+ };
83
216
  update();
84
217
  const observer = new ResizeObserver(update);
85
218
  observer.observe(mainElement);
86
219
  return () => observer.disconnect();
87
- }, [hasSidePanel, mainElement]);
220
+ }, [adaptive, mainElement]);
221
+ const contentAreaWidth = adaptive ? contentWidth : null;
222
+
223
+ // The sheet layer ends where the dock begins, and the dock grows with the
224
+ // composer (a longer draft, a staged attachment): follow its height. The page
225
+ // reads it too (`ComposerDockHeightContext`): a phone's bottom action bar
226
+ // (`PageActions`) is pinned to the window and would cover the composer.
227
+ const hasSheet = hasDock && composerSheet != null && composerSheet !== false;
228
+ useIsomorphicLayoutEffect(() => {
229
+ if (!hasDock || !dockElement) return undefined;
230
+ const update = () => setDockHeight(dockElement.offsetHeight);
231
+ update();
232
+ const observer = new ResizeObserver(update);
233
+ observer.observe(dockElement);
234
+ return () => observer.disconnect();
235
+ }, [hasDock, dockElement]);
88
236
 
89
237
  // With a side panel the header's Mingo button only exists while the panel
90
238
  // cannot dock: it opens the panel over the content and closes it again.
@@ -99,15 +247,27 @@ export function AppLayout({
99
247
  mingoAICloseWhenActive: true,
100
248
  };
101
249
  const contentCovered = sidePanelState?.coversContent === true;
250
+ const contentOverlapped = sidePanelState?.overlapsContent === true;
102
251
 
103
- // Mirrors `mobileMenuOpen` so the toggle callback can stay identity-stable.
104
- // Refreshed after every commit rather than in the render body: the only
105
- // reader is the burger click, which is always past a commit.
252
+ // Mirrors `mobileMenuOpen` (and the host's control of it) so the callbacks
253
+ // below can stay identity-stable. Refreshed after every commit rather than in
254
+ // the render body: the readers are clicks and effects, always past a commit.
106
255
  const mobileMenuOpenRef = useRef(mobileMenuOpen);
256
+ const menuControlledRef = useRef(menuControlled);
257
+ const onMobileMenuOpenChangeRef = useRef(onMobileMenuOpenChange);
107
258
  useEffect(() => {
108
259
  mobileMenuOpenRef.current = mobileMenuOpen;
260
+ menuControlledRef.current = menuControlled;
261
+ onMobileMenuOpenChangeRef.current = onMobileMenuOpenChange;
109
262
  });
110
263
 
264
+ // Every open / close goes through here: the layout's own state when it owns
265
+ // it, and the host hears of each actual change either way.
266
+ const setMobileMenuOpen = useCallback((next: boolean) => {
267
+ if (!menuControlledRef.current) setUncontrolledMenuOpen(next);
268
+ if (next !== mobileMenuOpenRef.current) onMobileMenuOpenChangeRef.current?.(next);
269
+ }, []);
270
+
111
271
  const drawerHandlesRef = useRef(new Set<AppLayoutDrawerHandle>());
112
272
 
113
273
  const handleToggleMobileMenu = useCallback(() => {
@@ -118,11 +278,33 @@ export function AppLayout({
118
278
  for (const handle of drawerHandlesRef.current) handle.close();
119
279
  }
120
280
  setMobileMenuOpen(opening);
121
- }, []);
281
+ }, [setMobileMenuOpen]);
122
282
 
123
283
  const handleCloseMobileMenu = useCallback(() => {
124
284
  setMobileMenuOpen(false);
125
- }, []);
285
+ }, [setMobileMenuOpen]);
286
+
287
+ // A host that opens the menu itself gets what the toggle does: no in-layout
288
+ // drawer left open over it. Before paint, so the two never show together.
289
+ const menuWasOpenRef = useRef(mobileMenuOpen);
290
+ useIsomorphicLayoutEffect(() => {
291
+ const opened = mobileMenuOpen && !menuWasOpenRef.current;
292
+ menuWasOpenRef.current = mobileMenuOpen;
293
+ if (opened && menuControlled) {
294
+ for (const handle of drawerHandlesRef.current) handle.close();
295
+ }
296
+ }, [mobileMenuOpen, menuControlled]);
297
+
298
+ // A navigation closes the menu wherever it started — a nav entry already
299
+ // does, a slot (the chat history, an account item) cannot tell the menu.
300
+ // Only a CHANGE of the location counts, and only with one to watch.
301
+ const currentPath = sidebarConfig.currentPath;
302
+ const menuPathRef = useRef(currentPath);
303
+ useEffect(() => {
304
+ if (menuPathRef.current === currentPath) return;
305
+ menuPathRef.current = currentPath;
306
+ if (mobileMenuOpenRef.current) setMobileMenuOpen(false);
307
+ }, [currentPath, setMobileMenuOpen]);
126
308
 
127
309
  const drawerCoordination = useMemo<AppLayoutDrawerCoordination>(
128
310
  () => ({
@@ -139,7 +321,7 @@ export function AppLayout({
139
321
  return () => drawerHandlesRef.current.delete(handle);
140
322
  },
141
323
  }),
142
- [],
324
+ [setMobileMenuOpen],
143
325
  );
144
326
 
145
327
  return (
@@ -152,7 +334,12 @@ export function AppLayout({
152
334
  `relative` so the tablet sidebar (position:absolute) anchors to this
153
335
  row — below the topBar — instead of the viewport. */}
154
336
  <div className="relative flex min-h-0 flex-1">
155
- <NavigationSidebar config={sidebarConfig} disabled={disabled} pushOnTablet={hasSidePanel} />
337
+ <NavigationSidebar
338
+ config={sidebarConfig}
339
+ disabled={disabled}
340
+ pushOnTablet={hasSidePanel}
341
+ animateWidth={!adaptive}
342
+ />
156
343
  {/* Mobile Burger Menu - opens below header */}
157
344
  <MobileBurgerMenu
158
345
  {...mobileBurgerMenuProps}
@@ -166,11 +353,14 @@ export function AppLayout({
166
353
  <div className="flex flex-1 flex-col overflow-hidden">
167
354
  <AppHeader
168
355
  {...resolvedHeaderProps}
356
+ className={
357
+ desktopHeader ? resolvedHeaderProps.className : cn(resolvedHeaderProps.className, 'md:hidden')
358
+ }
169
359
  isMobileMenuOpen={mobileMenuOpen}
170
360
  onToggleMobileMenu={handleToggleMobileMenu}
171
361
  disabled={disabled}
172
362
  />
173
- <NotificationDrawer />
363
+ <NotificationDrawer showClose={!desktopHeader} />
174
364
 
175
365
  {/* Main + AppLayoutDrawer portal target. `relative` so the drawer
176
366
  can absolutely position within just this area (not over
@@ -182,27 +372,103 @@ export function AppLayout({
182
372
  ref={setDrawerContainer}
183
373
  className={cn('relative flex flex-1 overflow-hidden', sidePanel ? 'flex-row' : 'flex-col')}
184
374
  >
185
- {sidePanel ? (
186
- // `hidden` while the panel covers the area: the page stays
187
- // mounted, it just takes no room.
375
+ {/* The page column. One element tree whatever the slots: a
376
+ slot that comes or goes (the side panel on every cold load
377
+ with Mingo v2, the dock behind the paywall) must not change
378
+ the element types above the page, or React remounts it. */}
379
+ <div
380
+ data-surface={columnIsBox ? pageSurface : undefined}
381
+ className={
382
+ columnIsBox
383
+ ? cn(
384
+ 'relative flex min-h-0 min-w-0 flex-1 flex-col',
385
+ pageSurface && 'ods-glow-accent-corner bg-ods-bg',
386
+ contentCovered && 'hidden',
387
+ contentOverlapped && 'isolate',
388
+ )
389
+ : 'contents'
390
+ }
391
+ >
392
+ {hasCorner && (
393
+ // z-40: the layer of the sticky header it stands in for —
394
+ // over the page's own layers, under in-layout drawers.
395
+ // Desktop only: the phone top bar holds these controls.
396
+ <div className="absolute right-[var(--spacing-system-mf)] top-[var(--spacing-system-mf)] z-40 hidden items-center gap-[var(--spacing-system-xsf)] md:flex">
397
+ {contentCorner}
398
+ </div>
399
+ )}
400
+ {/* `hidden` while the panel covers the area: the page stays
401
+ mounted, it just takes no room. */}
188
402
  <main
189
403
  ref={setMainElement}
190
404
  className={cn(
191
- 'ods-content-area min-w-0 flex-1 overflow-y-auto',
405
+ adaptive ? 'ods-content-area min-w-0 flex-1 overflow-y-auto' : 'flex-1 overflow-y-auto',
192
406
  contentCovered && 'hidden',
193
407
  // While the panel is drawn over the page, keep the page's own
194
408
  // z-indexed layers (sticky headers, fixed bars) under it.
195
- sidePanelState?.overlapsContent && 'isolate',
409
+ contentOverlapped && 'isolate',
196
410
  mainClassName,
197
411
  )}
412
+ // A floating dock and a page's action bar lie over the page's end: the
413
+ // page runs on by their height, so its last line clears them. The dock's
414
+ // share is a variable too, for a page that runs on under it, and the
415
+ // page fades out to transparent under the dock (the mask stays with
416
+ // `<main>`'s box while its content scrolls).
417
+ style={
418
+ bottomInset > 0 || dockFloats
419
+ ? ({
420
+ paddingBottom: bottomInset,
421
+ [COMPOSER_DOCK_INSET_VAR]: `${dockFloats ? dockHeight : 0}px`,
422
+ ...(dockFloats && dockHeight > 0 ? previewFadeMask(`calc(100% - ${dockHeight}px)`) : {}),
423
+ } as CSSProperties)
424
+ : undefined
425
+ }
198
426
  >
199
- <ContentAreaWidthContext.Provider value={contentWidth}>
200
- <div className="ods-content-scope">{children}</div>
427
+ <ContentAreaWidthContext.Provider value={contentAreaWidth}>
428
+ <ComposerDockHeightContext.Provider value={hasDock ? dockHeight : 0}>
429
+ {/* `display: contents` either way; it carries the content
430
+ tokens only inside an adaptive area. */}
431
+ <div className={adaptive ? 'ods-content-scope' : 'contents'}>{children}</div>
432
+ </ComposerDockHeightContext.Provider>
201
433
  </ContentAreaWidthContext.Provider>
202
434
  </main>
203
- ) : (
204
- <main className={cn('flex-1 overflow-y-auto', mainClassName)}>{children}</main>
205
- )}
435
+ {hasSheet && (
436
+ // Over the page down to the dock's top edge. z-40: the
437
+ // layer of the corner and the page's own sticky bars' top —
438
+ // in-layout drawers (45) and modals still cover it.
439
+ <div
440
+ data-composer-sheet-layer=""
441
+ className="ods-content-area pointer-events-none absolute inset-x-0 top-0 z-40"
442
+ style={{ bottom: dockHeight }}
443
+ >
444
+ <ContentAreaWidthContext.Provider value={contentAreaWidth}>
445
+ {/* The sheet's scrim runs on under the dock, by its height. */}
446
+ <ComposerDockHeightContext.Provider value={dockHeight}>
447
+ <div className="ods-content-scope">{composerSheet}</div>
448
+ </ComposerDockHeightContext.Provider>
449
+ </ContentAreaWidthContext.Provider>
450
+ </div>
451
+ )}
452
+ {hasDock && (
453
+ // Its own container + token scope: a container query cannot
454
+ // reach from <main> to a sibling. Same column width. With a
455
+ // sheet it rises over the sheet's scrim, which runs on under it.
456
+ <div
457
+ ref={setDockElement}
458
+ className={cn(
459
+ 'ods-content-area shrink-0',
460
+ hasSheet && 'relative z-40',
461
+ // Over the page's end; the page keeps the pointer where the dock
462
+ // is transparent.
463
+ dockFloats && 'pointer-events-none absolute inset-x-0 bottom-0 z-40',
464
+ )}
465
+ >
466
+ <ContentAreaWidthContext.Provider value={contentAreaWidth}>
467
+ <div className="ods-content-scope">{composerDock}</div>
468
+ </ContentAreaWidthContext.Provider>
469
+ </div>
470
+ )}
471
+ </div>
206
472
  {sidePanel && sidePanelState && <AppLayoutSidePanel config={sidePanel} state={sidePanelState} />}
207
473
  {/* `drawer` slot — rendered here so it sits inside the
208
474
  AppLayoutDrawerContainerContext and can portal into this exact
@@ -14,6 +14,16 @@ export interface HeaderButtonProps extends React.ButtonHTMLAttributes<HTMLButton
14
14
  * notifications-bell treatment, promoted to the cell primitive so
15
15
  * indicator cells never copy the dot markup). */
16
16
  showUnreadDot?: boolean;
17
+ /**
18
+ * - `cell` (default): a full-height cell of a top bar, as wide as the bar's
19
+ * `--top-nav-cell` (56px standalone).
20
+ * - `compact`: for the grouped navigation sidebar's foot (`footerSlot`). In the
21
+ * 56px rail it is a row's cell — the rail's width, 44px tall, the rows' hover,
22
+ * its glyph 8px in — so the foot's icons sit on the tree's icon line; from
23
+ * 140px of sidebar width, a 32px rounded icon button beside the account row.
24
+ * Pass a 20px icon.
25
+ */
26
+ size?: 'cell' | 'compact';
17
27
  /** Additional class names */
18
28
  className?: string;
19
29
  }
@@ -22,18 +32,29 @@ export function HeaderButton({
22
32
  isActive = false,
23
33
  icon,
24
34
  showUnreadDot = false,
35
+ size = 'cell',
25
36
  className,
26
37
  ...props
27
38
  }: HeaderButtonProps) {
39
+ const compact = size === 'compact';
28
40
  return (
29
41
  <Button
30
42
  variant="cell"
31
43
  data-state={isActive ? 'active' : undefined}
32
44
  className={cn(
33
- // Square cell width follows the TopNavigation size (56px small /
34
- // 72px big) via the shell's --top-nav-cell var; 56px fallback for
35
- // standalone use.
36
- 'w-[var(--top-nav-cell,3.5rem)]',
45
+ compact
46
+ ? cn(
47
+ // A row's cell of the sidebar rail, its glyph on the rows' icon line (8px in), a 32px rounded
48
+ // icon button from 140px; its 20px glyph kept. `min-h-0` drops the bar cell's full-height
49
+ // floor, so the rail's height never stretches it.
50
+ 'h-11 min-h-0 w-full justify-start rounded-md pl-[var(--spacing-system-xsf)] pr-0 [&_svg]:h-5 [&_svg]:w-5',
51
+ '@[140px]/of-nav-sidebar:size-8 @[140px]/of-nav-sidebar:justify-center @[140px]/of-nav-sidebar:px-0',
52
+ 'disabled:cursor-not-allowed disabled:opacity-50 disabled:hover:bg-transparent',
53
+ )
54
+ : // Square cell width follows the TopNavigation size (56px small /
55
+ // 72px big) via the shell's --top-nav-cell var; 56px fallback for
56
+ // standalone use.
57
+ 'w-[var(--top-nav-cell,3.5rem)]',
37
58
  className,
38
59
  )}
39
60
  {...props}
@@ -41,7 +62,8 @@ export function HeaderButton({
41
62
  {showUnreadDot ? (
42
63
  <span className="relative inline-flex">
43
64
  {icon}
44
- <UnreadDot />
65
+ {/* A 20px glyph takes the sidebar's fixed dot, not the bar's responsive one. */}
66
+ <UnreadDot size={compact ? 'fixed' : 'responsive'} />
45
67
  </span>
46
68
  ) : (
47
69
  icon
@@ -44,11 +44,12 @@ export function HeaderMingoButton({
44
44
  aria-label={showClose ? 'Close Mingo AI' : 'Mingo AI'}
45
45
  aria-pressed={isActive}
46
46
  className={cn(
47
- // Fixed 140px cell from md, so the header's right-hand cluster has a
48
- // known width and a loading placeholder can reserve it exactly
49
- // (`AppHeaderProps.loadingActionCells` → `'wide'`). Content-width below
50
- // md, and in `iconOnly` mode, where the control is a square affordance.
51
- !iconOnly && 'md:w-[140px]',
47
+ // `iconOnly` (below md): a square cell, the bar's `--top-nav-cell` like every
48
+ // other one (`HeaderButton`), so its divider lines up with what sits under the
49
+ // bar. Otherwise the fixed 140px cell from md, so the header's right-hand
50
+ // cluster has a known width and a loading placeholder can reserve it exactly
51
+ // (`AppHeaderProps.loadingActionCells` → `'wide'`).
52
+ iconOnly ? 'w-[var(--top-nav-cell,3.5rem)]' : 'md:w-[140px]',
52
53
  className,
53
54
  )}
54
55
  {...props}
@@ -42,9 +42,23 @@ export type { UseScrollSpyOptions } from '../docs/use-scroll-spy';
42
42
 
43
43
  export { NAVIGATION_SIDEBAR_WIDTH_VAR, NavigationSidebar } from './navigation-sidebar';
44
44
  export type { NavigationSidebarProps } from './navigation-sidebar';
45
+ export { NavigationSidebarActionRow } from './navigation-sidebar-grouped';
46
+ export type { NavigationSidebarActionRowProps } from './navigation-sidebar-grouped';
47
+ export { resolveNavigationActive } from './navigation-sidebar-match';
48
+ export type { NavigationActiveState, ResolveNavigationActiveOptions } from './navigation-sidebar-match';
49
+ export { AccountPopover } from './account-popover';
50
+ export type {
51
+ AccountPopoverDivider,
52
+ AccountPopoverEntry,
53
+ AccountPopoverItem,
54
+ AccountPopoverProps,
55
+ } from './account-popover';
45
56
 
46
57
  export { AppHeader } from './app-header';
47
58
  export type { AppHeaderProps, HeaderLoadingCell } from './app-header';
59
+ export type { AppHeaderCell } from './app-header';
60
+ export { NotificationsBellButton } from './notifications-bell-button';
61
+ export type { NotificationsBellButtonProps } from './notifications-bell-button';
48
62
 
49
63
  export { AppLayout } from './app-layout';
50
64
  export { useAppLayoutDrawerContainer } from './app-layout-context';
@@ -107,6 +121,11 @@ export type {
107
121
  NavigationItem,
108
122
  NavigationSidebarConfig,
109
123
  NavigationSidebarItem,
124
+ NavigationSidebarLocation,
125
+ NavigationSidebarMatch,
126
+ NavigationSidebarMatchRule,
127
+ NavigationSidebarSlot,
128
+ NavigationSidebarSlotState,
110
129
  SiteNav,
111
130
  SiteNavPrimaryCta,
112
131
  SlidingSidebarConfig,
@@ -7,6 +7,7 @@ import { useVisitorOs } from '../../hooks/ui/use-visitor-os';
7
7
  import { cn } from '../../utils';
8
8
  import { shortcutLabel, usesCommandKey } from '../../utils/visitor-os';
9
9
  import { AgentMark } from '../agent-mark';
10
+ import { MingoEdgeLight } from '../chat/mingo-edge-light';
10
11
  import { ASK_AI_OPEN_EVENT, ASK_AI_TRIGGER_ATTRIBUTE } from '../chat/utils/ask-ai-events';
11
12
  import { Button } from '../ui/button';
12
13
 
@@ -161,9 +162,7 @@ export function MingoAiButton({
161
162
  (.mingo-edge-frame). NO opaque cover, so the launcher inherits
162
163
  whatever background sits behind it. Platform-tinted via the accent
163
164
  token. */}
164
- <span aria-hidden="true" className="mingo-edge-frame pointer-events-none absolute inset-0 rounded-md">
165
- <span className="mingo-edge" />
166
- </span>
165
+ <MingoEdgeLight className="rounded-md" />
167
166
  {/* One-shot light-streak shimmer on hover, clipped to the outline. */}
168
167
  <span aria-hidden="true" className="pointer-events-none absolute inset-0 overflow-hidden rounded-md">
169
168
  <span