@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
@@ -0,0 +1,198 @@
1
+ 'use client';
2
+
3
+ import { useControllableState } from '@radix-ui/react-use-controllable-state';
4
+ import type { ReactNode } from 'react';
5
+ import { cn } from '../../utils';
6
+ import { Chevron02DownIcon } from '../icons-v2-generated';
7
+ import { ActionsMenuDropdown, type ActionsMenuGroup, type ActionsMenuItem } from '../ui/actions-menu';
8
+ import { SquareAvatar } from '../ui/square-avatar';
9
+ import { UnreadCountBadge, UnreadDot } from './unread-dot';
10
+
11
+ /** One action in the account menu: a link (`href`) or a callback (`onSelect`). */
12
+ export interface AccountPopoverItem {
13
+ type?: 'item';
14
+ id: string;
15
+ label: string;
16
+ icon?: ReactNode;
17
+ /** Navigates as a real link (the host's router link where one is registered). */
18
+ href?: string;
19
+ /** Runs on select (click, Enter, Space). Also runs for an `href` item, before it navigates. */
20
+ onSelect?: () => void;
21
+ /** `'danger'` draws the row in the error colour — Log out. Default `'default'`. */
22
+ tone?: 'default' | 'danger';
23
+ disabled?: boolean;
24
+ /**
25
+ * Unread updates behind the item (e.g. support replies): the count pill on its
26
+ * icon, and the unread dot on the avatar so the closed row says so too.
27
+ */
28
+ count?: number;
29
+ }
30
+
31
+ /** A rule between two runs of items. */
32
+ export interface AccountPopoverDivider {
33
+ type: 'divider';
34
+ id: string;
35
+ }
36
+
37
+ export type AccountPopoverEntry = AccountPopoverItem | AccountPopoverDivider;
38
+
39
+ export interface AccountPopoverProps {
40
+ /** The user's name: the trigger's first line and the menu header. */
41
+ name: string;
42
+ /** Shown under the name in the menu header. */
43
+ email?: string;
44
+ /** The trigger's second line, in mono — e.g. the tenant host. */
45
+ subtitle?: string;
46
+ /** Image for the 28px avatar; without one it draws the name's initials. */
47
+ avatarUrl?: string | null;
48
+ items: AccountPopoverEntry[];
49
+ /**
50
+ * The collapsed sidebar's form: the trigger is named for screen readers, and
51
+ * the menu opens beside the rail instead of above the row. In
52
+ * `NavigationSidebar`, pass the `footerSlot` render function's `minimized`.
53
+ * The trigger's shape follows the sidebar's width on its own (the avatar alone
54
+ * in the rail), so outside a sidebar it is the avatar alone.
55
+ */
56
+ collapsed?: boolean;
57
+ /** Controlled open state; pair with `onOpenChange`. Uncontrolled by default. */
58
+ open?: boolean;
59
+ onOpenChange?: (open: boolean) => void;
60
+ disabled?: boolean;
61
+ /** Merged onto the trigger row. */
62
+ className?: string;
63
+ }
64
+
65
+ /** The host's entries as the design system's menu groups: a divider ends a group. */
66
+ function toMenuGroups(entries: AccountPopoverEntry[]): ActionsMenuGroup[] {
67
+ const groups: ActionsMenuGroup[] = [];
68
+ let current: ActionsMenuItem[] = [];
69
+ const close = (separator: boolean) => {
70
+ if (current.length > 0) groups.push({ id: current[0].id, items: current, separator });
71
+ current = [];
72
+ };
73
+ for (const entry of entries) {
74
+ if (entry.type === 'divider') {
75
+ close(true);
76
+ continue;
77
+ }
78
+ const danger = entry.tone === 'danger';
79
+ current.push({
80
+ id: entry.id,
81
+ label: entry.label,
82
+ // The menu's icon cell sizes the glyph; the colour is the menu's secondary
83
+ // (the error colour on a danger row, from the menu).
84
+ icon: entry.icon ? (
85
+ <span
86
+ className={cn(
87
+ 'relative flex size-full items-center justify-center [&>svg]:size-full',
88
+ !danger && 'text-ods-text-secondary',
89
+ )}
90
+ >
91
+ {entry.icon}
92
+ <UnreadCountBadge count={entry.count ?? 0} />
93
+ </span>
94
+ ) : undefined,
95
+ href: entry.href,
96
+ onClick: entry.onSelect,
97
+ disabled: entry.disabled,
98
+ danger,
99
+ });
100
+ }
101
+ close(false);
102
+ return groups;
103
+ }
104
+
105
+ /**
106
+ * The account row at the foot of the sidebar and the menu it opens: name and
107
+ * email, the host's items (Settings, Help Center, Log out …) and dividers.
108
+ *
109
+ * The menu is the design system's `ActionsMenuDropdown` — the rows, type,
110
+ * icons and separators of every other menu — with the name and email as its
111
+ * header. Upward (`side="top"`) from the expanded row; beside the rail
112
+ * (`side="right"`) when `collapsed`.
113
+ */
114
+ export function AccountPopover({
115
+ name,
116
+ email,
117
+ subtitle,
118
+ avatarUrl,
119
+ items,
120
+ collapsed = false,
121
+ open: openProp,
122
+ onOpenChange,
123
+ disabled = false,
124
+ className,
125
+ }: AccountPopoverProps) {
126
+ const unread = items.some(entry => entry.type !== 'divider' && (entry.count ?? 0) > 0);
127
+ const [open = false, setOpen] = useControllableState({
128
+ prop: openProp,
129
+ defaultProp: false,
130
+ onChange: onOpenChange,
131
+ });
132
+
133
+ return (
134
+ <ActionsMenuDropdown
135
+ open={open}
136
+ onOpenChange={setOpen}
137
+ side={collapsed ? 'right' : 'top'}
138
+ align={collapsed ? 'end' : 'start'}
139
+ sideOffset={8}
140
+ header={
141
+ <div className="flex min-w-0 flex-col p-[var(--spacing-system-s)]">
142
+ <span className="truncate text-ods-text-primary text-h4">{name}</span>
143
+ {email && <span className="truncate text-ods-text-secondary text-h6">{email}</span>}
144
+ </div>
145
+ }
146
+ groups={toMenuGroups(items)}
147
+ customTrigger={
148
+ <button
149
+ type="button"
150
+ disabled={disabled}
151
+ // The visible name is the label when expanded; the rail shows only the
152
+ // avatar, so it gets the name as its accessible name and tooltip.
153
+ aria-label={collapsed ? `Account: ${name}` : undefined}
154
+ title={collapsed ? name : undefined}
155
+ // The shape follows the sidebar's width (the `of-nav-sidebar`
156
+ // container), as its rows do: the avatar holds its place — 8px in at
157
+ // both widths, on the rows' icon line — and the name fades as the width
158
+ // crosses 140px. `collapsed` flips on the click, mid-way through that.
159
+ className={cn(
160
+ 'group/account flex h-11 w-full min-w-0 items-center gap-[var(--spacing-system-xsf)] overflow-hidden rounded-md text-left',
161
+ 'pl-[var(--spacing-system-xsf)] pr-0 @[140px]/of-nav-sidebar:pr-[var(--spacing-system-xsf)]',
162
+ 'transition-[padding,background-color] duration-200 hover:bg-ods-bg-hover data-[state=open]:bg-ods-bg-hover motion-reduce:transition-none',
163
+ disabled && 'cursor-not-allowed opacity-50 hover:bg-transparent',
164
+ className,
165
+ )}
166
+ >
167
+ <span className="relative inline-flex shrink-0">
168
+ <SquareAvatar
169
+ src={avatarUrl ?? undefined}
170
+ alt={name}
171
+ fallback={name}
172
+ sizePx={28}
173
+ variant="round"
174
+ aria-hidden="true"
175
+ />
176
+ {unread && <UnreadDot size="fixed" />}
177
+ </span>
178
+ <span
179
+ className="flex min-w-0 flex-1 flex-col opacity-0 transition-opacity duration-150 @[140px]/of-nav-sidebar:opacity-100 motion-reduce:transition-none"
180
+ aria-hidden={collapsed || undefined}
181
+ >
182
+ {/* The chevron follows the name, so it reads as this row's menu and not
183
+ as one more of the buttons a host sets at the row's end. */}
184
+ <span className="flex min-w-0 items-center gap-[var(--spacing-system-xxs)]">
185
+ <span className="truncate text-ods-text-primary text-h4">{name}</span>
186
+ <Chevron02DownIcon
187
+ size={16}
188
+ className="shrink-0 text-ods-text-secondary transition-transform duration-200 group-data-[state=open]/account:rotate-180"
189
+ aria-hidden="true"
190
+ />
191
+ </span>
192
+ {subtitle && <span className="truncate text-ods-text-secondary text-code">{subtitle}</span>}
193
+ </span>
194
+ </button>
195
+ }
196
+ />
197
+ );
198
+ }
@@ -3,10 +3,8 @@
3
3
  import React from 'react';
4
4
  import { useMdUp } from '../../hooks/ui/use-media-query';
5
5
  import { cn } from '../../utils/cn';
6
- import { useOptionalNotifications } from '../features/notifications/notifications-context';
7
6
  import { TimeTrackerHeaderButton } from '../features/time-tracker';
8
7
  import { Menu01Icon, SearchIcon, XmarkIcon } from '../icons-v2-generated';
9
- import { BellIcon } from '../icons-v2-generated/interface/bell-icon';
10
8
  import { LogOutIcon } from '../icons-v2-generated/interface/log-out-icon';
11
9
  import { OpenframeLogoIcon } from '../icons-v2-generated/logos/openframe-logo-icon';
12
10
  import { OpenframeTextIcon } from '../icons-v2-generated/logos/openframe-text-icon';
@@ -18,6 +16,7 @@ import { HeaderButton } from './header-button';
18
16
  import { HeaderGlobalSearch } from './header-global-search';
19
17
  import { HeaderMingoButton } from './header-mingo-button';
20
18
  import { HeaderOrganizationFilter } from './header-organization-filter';
19
+ import { NotificationsBellButton } from './notifications-bell-button';
21
20
  import { TicketAlertsButton } from './ticket-alerts-button';
22
21
  import { TopNavigation } from './top-navigation';
23
22
 
@@ -70,6 +69,14 @@ export interface AppHeaderProps {
70
69
  * EXCEPT the mobile burger menu toggle, which remains interactive.
71
70
  */
72
71
  disabled?: boolean;
72
+ /**
73
+ * The host's own action cells beside the built-in ones (a phone "Chat
74
+ * history" cell, say). Drawn as the built-in cells are — an icon-only
75
+ * `HeaderButton` with the leading divider, dimmed and disabled with the
76
+ * header — in the order given, at their `placement`. Optional; without it the
77
+ * header is unchanged.
78
+ */
79
+ customCells?: ReadonlyArray<AppHeaderCell>;
73
80
  /**
74
81
  * Draw placeholder cells instead of the live controls.
75
82
  *
@@ -116,10 +123,37 @@ export interface AppHeaderProps {
116
123
  * - `'icon-md'` — the same cell, from md only (the avatar: `isMdUp && showUser`).
117
124
  * - `'icon-lg'` — the same cell, from lg only (the organization filter, which the
118
125
  * live header renders `hidden lg:flex`).
126
+ * - `'icon-max-md'` — the same cell, below md only (a `customCells` entry with
127
+ * `mobileOnly`).
119
128
  * - `'wide'` — the Mingo launcher: a 48px square below md, where the live button is
120
129
  * `iconOnly`, and the fixed 140px labelled cell from md.
121
130
  */
122
- export type HeaderLoadingCell = 'icon' | 'icon-md' | 'icon-lg' | 'wide';
131
+ export type HeaderLoadingCell = 'icon' | 'icon-md' | 'icon-lg' | 'icon-max-md' | 'wide';
132
+
133
+ /**
134
+ * A host-defined trailing cell — see `AppHeaderProps.customCells`.
135
+ */
136
+ export interface AppHeaderCell {
137
+ /** Stable React key. */
138
+ id: string;
139
+ /** The cell's icon, sized like the built-in ones (`h-6 w-6`). */
140
+ icon: React.ReactNode;
141
+ /** Accessible name; the cell is icon-only. */
142
+ label: string;
143
+ onClick?: () => void;
144
+ /** Pressed look, e.g. while the panel the cell opens is showing. */
145
+ isActive?: boolean;
146
+ /** The shared unread dot on the icon. */
147
+ showUnreadDot?: boolean;
148
+ /**
149
+ * - `start` (default): before the built-in cells — after the phone search
150
+ * trigger and the organization filter, before the time tracker and the bell.
151
+ * - `end`: after them, immediately before the Mingo cell.
152
+ */
153
+ placement?: 'start' | 'end';
154
+ /** Only below md: a phone top-bar cell. In CSS, like every split here. Default false. */
155
+ mobileOnly?: boolean;
156
+ }
123
157
 
124
158
  export const AppHeader = React.memo(function AppHeaderImpl({
125
159
  showSearch,
@@ -149,6 +183,7 @@ export const AppHeader = React.memo(function AppHeaderImpl({
149
183
  disabled = false,
150
184
  loading: loadingProp = false,
151
185
  loadingActionCells,
186
+ customCells,
152
187
  }: AppHeaderProps) {
153
188
  const isMdUp = useMdUp() ?? false;
154
189
  const loading = useLoadingScope() || loadingProp;
@@ -167,10 +202,12 @@ export const AppHeader = React.memo(function AppHeaderImpl({
167
202
  // gated on `isMdUp`, and Mingo is `iconOnly` below md.
168
203
  ([
169
204
  showOrganizations && 'icon-lg',
205
+ ...customCellFootprints(customCells, 'start'),
170
206
  showTimeTracker && 'icon',
171
207
  showNotifications && 'icon',
172
208
  showTicketAlerts && 'icon',
173
209
  showUser && 'icon-md',
210
+ ...customCellFootprints(customCells, 'end'),
174
211
  showMingoAI && 'wide',
175
212
  ].filter(Boolean) as HeaderLoadingCell[])
176
213
  }
@@ -183,6 +220,22 @@ export const AppHeader = React.memo(function AppHeaderImpl({
183
220
  // Cells carry their own dividers in the unified TopNavigation model
184
221
  // (the shell no longer applies divide-x).
185
222
  const cellDivider = 'border-l border-ods-border';
223
+ const renderCustomCells = (placement: NonNullable<AppHeaderCell['placement']>) =>
224
+ customCells
225
+ ?.filter(cell => (cell.placement ?? 'start') === placement)
226
+ .map(cell => (
227
+ <HeaderButton
228
+ key={cell.id}
229
+ type="button"
230
+ icon={cell.icon}
231
+ aria-label={cell.label}
232
+ onClick={cell.onClick}
233
+ isActive={cell.isActive}
234
+ showUnreadDot={cell.showUnreadDot}
235
+ disabled={disabled || !cell.onClick}
236
+ className={cn(cell.mobileOnly && 'md:hidden', cellDivider, dimmedClass)}
237
+ />
238
+ ));
186
239
 
187
240
  return (
188
241
  <TopNavigation
@@ -237,15 +290,17 @@ export const AppHeader = React.memo(function AppHeaderImpl({
237
290
  />
238
291
  )}
239
292
 
293
+ {renderCustomCells('start')}
294
+
240
295
  {/* Time tracker button */}
241
296
  {showTimeTracker && <TimeTrackerHeaderButton disabled={disabled} className={cn(cellDivider, dimmedClass)} />}
242
297
 
243
298
  {/* Notifications button */}
244
299
  {showNotifications && (
245
- <NotificationsHeaderButton
300
+ <NotificationsBellButton
246
301
  fallbackUnreadCount={unreadCount}
247
302
  disabled={disabled}
248
- dimmedClass={cn(cellDivider, dimmedClass)}
303
+ className={cn(cellDivider, dimmedClass)}
249
304
  />
250
305
  )}
251
306
 
@@ -327,6 +382,8 @@ export const AppHeader = React.memo(function AppHeaderImpl({
327
382
  </DropdownMenu>
328
383
  )}
329
384
 
385
+ {renderCustomCells('end')}
386
+
330
387
  {/* Mingo AI launcher — anchored at the very end of the header. On mobile
331
388
  it collapses to an icon-only affordance (no "Mingo AI" wordmark). */}
332
389
  {showMingoAI && (
@@ -345,33 +402,6 @@ export const AppHeader = React.memo(function AppHeaderImpl({
345
402
  );
346
403
  });
347
404
 
348
- interface NotificationsHeaderButtonProps {
349
- fallbackUnreadCount: number;
350
- disabled: boolean;
351
- dimmedClass: string;
352
- }
353
-
354
- function NotificationsHeaderButton({ fallbackUnreadCount, disabled, dimmedClass }: NotificationsHeaderButtonProps) {
355
- const ctx = useOptionalNotifications();
356
- const hasUnread = (ctx?.unreadCount ?? fallbackUnreadCount) > 0;
357
- const isActive = ctx?.isOpen ?? false;
358
- const onClick = ctx?.toggle;
359
-
360
- return (
361
- <HeaderButton
362
- icon={isActive ? <XmarkIcon className="h-6 w-6" /> : <BellIcon className="h-6 w-6" />}
363
- // Shared dot primitive on the cell — same markup every indicator
364
- // cell renders (see HeaderButton.showUnreadDot / <UnreadDot>).
365
- showUnreadDot={!isActive && hasUnread}
366
- aria-label={isActive ? 'Close notifications' : 'Notifications'}
367
- onClick={onClick}
368
- isActive={isActive}
369
- disabled={disabled || !onClick}
370
- className={dimmedClass}
371
- />
372
- );
373
- }
374
-
375
405
  export default AppHeader;
376
406
 
377
407
  // Literal class strings — Tailwind's scanner needs to see them spelled out.
@@ -379,8 +409,19 @@ const CELL_VISIBILITY: Record<Exclude<HeaderLoadingCell, 'wide'>, string | undef
379
409
  icon: undefined,
380
410
  'icon-md': 'hidden md:flex',
381
411
  'icon-lg': 'hidden lg:flex',
412
+ 'icon-max-md': 'md:hidden',
382
413
  };
383
414
 
415
+ /** The loading footprints of the custom cells at one placement, in order. */
416
+ function customCellFootprints(
417
+ cells: ReadonlyArray<AppHeaderCell> | undefined,
418
+ placement: NonNullable<AppHeaderCell['placement']>,
419
+ ): HeaderLoadingCell[] {
420
+ return (cells ?? [])
421
+ .filter(cell => (cell.placement ?? 'start') === placement)
422
+ .map(cell => (cell.mobileOnly ? 'icon-max-md' : 'icon'));
423
+ }
424
+
384
425
  /** One trailing action cell placeholder — mirrors the live cells' 48/56px box. */
385
426
  function HeaderCellSkeleton({ className }: { className?: string }) {
386
427
  return (
@@ -393,7 +434,7 @@ function HeaderCellSkeleton({ className }: { className?: string }) {
393
434
  /**
394
435
  * Wide cell placeholder — mirrors `HeaderMingoButton` at both widths, which are
395
436
  * two different shapes: the live button gets `iconOnly={!isMdUp}`, so below md it
396
- * drops its wordmark and collapses to the same 48px square as any other cell, and
437
+ * drops its wordmark and collapses to the same square as any other cell, and
397
438
  * from md it is the fixed 140px labelled cell. Reserving 140px-worth of icon,
398
439
  * label, gap and padding on a phone would make the placeholder cluster ~70px
399
440
  * wider than the header it hands off to.
@@ -44,3 +44,25 @@ export const AppLayoutDrawerCoordinationContext = createContext<AppLayoutDrawerC
44
44
  export function useAppLayoutDrawerCoordination(): AppLayoutDrawerCoordination | null {
45
45
  return useContext(AppLayoutDrawerCoordinationContext);
46
46
  }
47
+
48
+ /**
49
+ * The composer dock's height while AppLayout has one, 0 otherwise: what a page's
50
+ * window-pinned bottom bar rises by (`PageActions` on a phone), so it does not cover
51
+ * the composer.
52
+ *
53
+ * A context rather than a CSS variable on the page column. The dock grows with the
54
+ * draft (every new line, a staged attachment), and an inherited custom property
55
+ * there made WebKit restyle the whole page on each change; this way only the bars
56
+ * that read it re-render.
57
+ */
58
+ export const ComposerDockHeightContext = createContext(0);
59
+
60
+ export function useComposerDockHeight(): number {
61
+ return useContext(ComposerDockHeightContext);
62
+ }
63
+
64
+ /**
65
+ * Marks the navigation sidebar's root, so a popup opened from a button inside it can
66
+ * start past the sidebar's edge instead of over it (the compact time tracker).
67
+ */
68
+ export const NAVIGATION_SIDEBAR_ATTRIBUTE = 'data-navigation-sidebar';