@flamingo-stack/openframe-frontend-core 0.0.825 → 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 (317) 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/{chunk-QOAA7ZHB.cjs → chunk-2HQNXX2K.cjs} +2 -2
  4. package/dist/{chunk-2U7GXE3T.cjs → chunk-2TQJSB62.cjs} +2157 -811
  5. package/dist/{chunk-NONMZ5WJ.cjs → chunk-2VLPXUQK.cjs} +14 -83
  6. package/dist/{chunk-7DJWIVQC.cjs → chunk-37OYBX7W.cjs} +36 -36
  7. package/dist/{chunk-OBQ5WUNG.cjs → chunk-3B6ZE4EZ.cjs} +29 -29
  8. package/dist/{chunk-AO6YVNAH.cjs → chunk-5AQKXEMI.cjs} +979 -1357
  9. package/dist/{chunk-25HBH4J6.cjs → chunk-5BM7X4GA.cjs} +2 -2
  10. package/dist/{chunk-47SHKOCY.cjs → chunk-63T2KKDZ.cjs} +86 -86
  11. package/dist/{chunk-MHR4C465.cjs → chunk-6G4WRMEM.cjs} +3 -3
  12. package/dist/{chunk-AUBR3FGY.cjs → chunk-74GWFGH2.cjs} +28 -28
  13. package/dist/{chunk-467T3LCG.cjs → chunk-7PZQ7SHB.cjs} +49 -32
  14. package/dist/{chunk-6LVJKPR3.cjs → chunk-AJM4YZTW.cjs} +8 -8
  15. package/dist/{chunk-2XLPRW7V.cjs → chunk-BIG3O33P.cjs} +6 -2
  16. package/dist/chunk-BMQLM2NU.cjs +40 -0
  17. package/dist/{chunk-DVHSYPDB.cjs → chunk-DAKGX2WF.cjs} +2 -2
  18. package/dist/{chunk-2IWAHBCC.cjs → chunk-DRSFR5AC.cjs} +159 -159
  19. package/dist/{chunk-IJCSQFLD.cjs → chunk-DU6AF77X.cjs} +83 -121
  20. package/dist/{chunk-NL34HKLS.cjs → chunk-EJNDTSKY.cjs} +91 -91
  21. package/dist/{chunk-SBFBNOKU.cjs → chunk-ENMPSEEQ.cjs} +4 -4
  22. package/dist/{chunk-ZECG6GU5.cjs → chunk-F2J5WN6U.cjs} +2 -2
  23. package/dist/{chunk-BOS7OIC4.cjs → chunk-GRHF5SWL.cjs} +5 -2
  24. package/dist/{chunk-Z7BLMJEI.cjs → chunk-GZAPOCKS.cjs} +54 -54
  25. package/dist/{chunk-5S2GW6YG.cjs → chunk-HJAPXKWK.cjs} +17 -17
  26. package/dist/{chunk-P25RVNGX.cjs → chunk-HQ4FKHOO.cjs} +249 -108
  27. package/dist/{chunk-ZRDVFADQ.cjs → chunk-IBD2FPSX.cjs} +75 -9
  28. package/dist/{chunk-T266OITJ.cjs → chunk-IKWQW3YJ.cjs} +45 -45
  29. package/dist/{chunk-B7NSH7IK.cjs → chunk-IWQ2LJGW.cjs} +5 -5
  30. package/dist/{chunk-MALCUN2G.cjs → chunk-JDR72QFU.cjs} +12 -14
  31. package/dist/{chunk-EHANO6UE.cjs → chunk-K34TTZAE.cjs} +9 -129
  32. package/dist/{chunk-QDDBOCG3.cjs → chunk-KPGKTEEB.cjs} +2 -2
  33. package/dist/{chunk-4IY5FKYL.cjs → chunk-MDEOCOIE.cjs} +23 -23
  34. package/dist/chunk-OEP5KAT6.cjs +56 -0
  35. package/dist/chunk-OT6P57ZS.cjs +94 -0
  36. package/dist/{chunk-QQT23JJ7.cjs → chunk-PBHP3FHO.cjs} +4 -4
  37. package/dist/{chunk-IMMTH3F3.cjs → chunk-PJY3SYCS.cjs} +29 -27
  38. package/dist/{chunk-N7IDLF2G.cjs → chunk-PWAKRRRO.cjs} +1283 -268
  39. package/dist/{chunk-UEULXVW2.cjs → chunk-QS6AKUUL.cjs} +22 -22
  40. package/dist/{chunk-BN7QENV7.cjs → chunk-QYJZDEG7.cjs} +6 -6
  41. package/dist/{chunk-NPNZAAOB.cjs → chunk-S6UJEW4G.cjs} +2 -2
  42. package/dist/{chunk-XJMLZ63Y.cjs → chunk-TJG2BJ5J.cjs} +4 -4
  43. package/dist/{chunk-QOOMUGF2.cjs → chunk-TYJ73DHW.cjs} +15 -15
  44. package/dist/{chunk-A34UNP5V.cjs → chunk-W4VEDSAX.cjs} +80 -11
  45. package/dist/{chunk-DNZCSPMU.cjs → chunk-WGMU45NV.cjs} +20 -20
  46. package/dist/{chunk-APTFXX2C.cjs → chunk-XDHQC4XH.cjs} +46 -46
  47. package/dist/{cloud-tenants-M4VFFN33.cjs → cloud-tenants-F67KQ5GC.cjs} +108 -106
  48. package/dist/components/case-studies/index.cjs +124 -122
  49. package/dist/components/chat/approval-batch-message.d.ts.map +1 -1
  50. package/dist/components/chat/approval-batch-message.js +2 -2
  51. package/dist/components/chat/chat-archive-page.d.ts +7 -0
  52. package/dist/components/chat/chat-archive-page.d.ts.map +1 -1
  53. package/dist/components/chat/chat-archive-page.js +9 -0
  54. package/dist/components/chat/chat-composer.d.ts +24 -4
  55. package/dist/components/chat/chat-composer.d.ts.map +1 -1
  56. package/dist/components/chat/chat-composer.js +90 -48
  57. package/dist/components/chat/chat-context-memory-bar.d.ts +4 -1
  58. package/dist/components/chat/chat-context-memory-bar.d.ts.map +1 -1
  59. package/dist/components/chat/chat-context-memory-bar.js +8 -5
  60. package/dist/components/chat/chat-context-picker.d.ts +8 -1
  61. package/dist/components/chat/chat-context-picker.d.ts.map +1 -1
  62. package/dist/components/chat/chat-context-picker.js +32 -9
  63. package/dist/components/chat/chat-header-rename-field.d.ts +18 -0
  64. package/dist/components/chat/chat-header-rename-field.d.ts.map +1 -0
  65. package/dist/components/chat/chat-header-rename-field.js +49 -0
  66. package/dist/components/chat/chat-input.d.ts.map +1 -1
  67. package/dist/components/chat/chat-input.js +5 -0
  68. package/dist/components/chat/composer-sheet.d.ts +44 -0
  69. package/dist/components/chat/composer-sheet.d.ts.map +1 -0
  70. package/dist/components/chat/composer-sheet.js +140 -0
  71. package/dist/components/chat/embeddable-chat.d.ts +114 -1
  72. package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
  73. package/dist/components/chat/embeddable-chat.js +328 -215
  74. package/dist/components/chat/index.cjs +118 -103
  75. package/dist/components/chat/index.d.ts +6 -0
  76. package/dist/components/chat/index.d.ts.map +1 -1
  77. package/dist/components/chat/index.js +9 -0
  78. package/dist/components/chat/mingo-chat-day-groups.d.ts +18 -0
  79. package/dist/components/chat/mingo-chat-day-groups.d.ts.map +1 -0
  80. package/dist/components/chat/mingo-chat-day-groups.js +45 -0
  81. package/dist/components/chat/mingo-chat-header.d.ts +34 -6
  82. package/dist/components/chat/mingo-chat-header.d.ts.map +1 -1
  83. package/dist/components/chat/mingo-chat-header.js +44 -7
  84. package/dist/components/chat/mingo-chat-history-section.d.ts +30 -0
  85. package/dist/components/chat/mingo-chat-history-section.d.ts.map +1 -0
  86. package/dist/components/chat/mingo-chat-history-section.js +500 -0
  87. package/dist/components/chat/mingo-chat-history.d.ts +5 -2
  88. package/dist/components/chat/mingo-chat-history.d.ts.map +1 -1
  89. package/dist/components/chat/mingo-chat-history.js +26 -30
  90. package/dist/components/chat/mingo-chat-list-shared.d.ts +136 -0
  91. package/dist/components/chat/mingo-chat-list-shared.d.ts.map +1 -0
  92. package/dist/components/chat/mingo-chat-list-shared.js +76 -0
  93. package/dist/components/chat/mingo-chat-rail.d.ts +19 -51
  94. package/dist/components/chat/mingo-chat-rail.d.ts.map +1 -1
  95. package/dist/components/chat/mingo-chat-rail.js +23 -45
  96. package/dist/components/chat/mingo-edge-light.d.ts +13 -0
  97. package/dist/components/chat/mingo-edge-light.d.ts.map +1 -0
  98. package/dist/components/chat/mingo-edge-light.js +17 -0
  99. package/dist/components/chat/mingo-history-rail.d.ts +5 -4
  100. package/dist/components/chat/mingo-history-rail.d.ts.map +1 -1
  101. package/dist/components/chat/mingo-history-rail.js +5 -10
  102. package/dist/components/chat/mingo-quick-action-wall.d.ts +27 -0
  103. package/dist/components/chat/mingo-quick-action-wall.d.ts.map +1 -0
  104. package/dist/components/chat/mingo-quick-action-wall.js +41 -0
  105. package/dist/components/chat/mingo-welcome.d.ts.map +1 -1
  106. package/dist/components/chat/mingo-welcome.js +6 -20
  107. package/dist/components/chat/model-display.d.ts.map +1 -1
  108. package/dist/components/chat/model-display.js +38 -9
  109. package/dist/components/chat/tool-execution-display.d.ts.map +1 -1
  110. package/dist/components/chat/tool-execution-display.js +15 -1
  111. package/dist/components/chat/types/component.types.d.ts +13 -1
  112. package/dist/components/chat/types/component.types.d.ts.map +1 -1
  113. package/dist/components/chat/utils/chat-day-label.d.ts +8 -0
  114. package/dist/components/chat/utils/chat-day-label.d.ts.map +1 -0
  115. package/dist/components/chat/utils/chat-day-label.js +21 -0
  116. package/dist/components/contact/index.cjs +109 -107
  117. package/dist/components/docs/index.cjs +112 -110
  118. package/dist/components/embeds/index.cjs +109 -107
  119. package/dist/components/faq/index.cjs +110 -108
  120. package/dist/components/features/board/board-column.d.ts +3 -1
  121. package/dist/components/features/board/board-column.d.ts.map +1 -1
  122. package/dist/components/features/board/board-column.js +6 -2
  123. package/dist/components/features/board/board.d.ts +6 -0
  124. package/dist/components/features/board/board.d.ts.map +1 -1
  125. package/dist/components/features/board/board.js +14 -3
  126. package/dist/components/features/board/touch-board.d.ts +1 -1
  127. package/dist/components/features/board/touch-board.d.ts.map +1 -1
  128. package/dist/components/features/board/touch-board.js +3 -1
  129. package/dist/components/features/index.cjs +108 -106
  130. package/dist/components/features/notifications/approval-request-notification-tile.d.ts +7 -1
  131. package/dist/components/features/notifications/approval-request-notification-tile.d.ts.map +1 -1
  132. package/dist/components/features/notifications/approval-request-notification-tile.js +1 -1
  133. package/dist/components/features/notifications/notification-drawer.d.ts +6 -1
  134. package/dist/components/features/notifications/notification-drawer.d.ts.map +1 -1
  135. package/dist/components/features/notifications/notification-drawer.js +3 -2
  136. package/dist/components/features/notifications/notification-tile.d.ts +4 -1
  137. package/dist/components/features/notifications/notification-tile.d.ts.map +1 -1
  138. package/dist/components/features/notifications/notification-tile.js +9 -7
  139. package/dist/components/features/time-tracker/time-tracker-header-button.d.ts +18 -1
  140. package/dist/components/features/time-tracker/time-tracker-header-button.d.ts.map +1 -1
  141. package/dist/components/features/time-tracker/time-tracker-header-button.js +31 -7
  142. package/dist/components/help-center-pages/index.cjs +217 -215
  143. package/dist/components/icons-v2-generated/icon-loaders.d.ts.map +1 -1
  144. package/dist/components/icons-v2-generated/icon-loaders.js +1 -0
  145. package/dist/components/icons-v2-generated/icon-names.js +1 -1
  146. package/dist/components/icons-v2-generated/index.cjs +90 -86
  147. package/dist/components/icons-v2-generated/loaders/dots-loader-icon.d.ts.map +1 -1
  148. package/dist/components/icons-v2-generated/loaders/dots-loader-icon.js +21 -24
  149. package/dist/components/icons-v2-generated/logos/index.d.ts +1 -0
  150. package/dist/components/icons-v2-generated/logos/index.d.ts.map +1 -1
  151. package/dist/components/icons-v2-generated/logos/index.js +2 -0
  152. package/dist/components/icons-v2-generated/logos/mingo-logo-icon.d.ts +9 -0
  153. package/dist/components/icons-v2-generated/logos/mingo-logo-icon.d.ts.map +1 -0
  154. package/dist/components/icons-v2-generated/logos/mingo-logo-icon.js +36 -0
  155. package/dist/components/index.cjs +215 -182
  156. package/dist/components/meeting-scheduler/index.cjs +182 -180
  157. package/dist/components/navigation/account-popover.d.ts +62 -0
  158. package/dist/components/navigation/account-popover.d.ts.map +1 -0
  159. package/dist/components/navigation/account-popover.js +138 -0
  160. package/dist/components/navigation/app-header.d.ts +36 -2
  161. package/dist/components/navigation/app-header.d.ts.map +1 -1
  162. package/dist/components/navigation/app-header.js +28 -24
  163. package/dist/components/navigation/app-layout-context.d.ts +17 -0
  164. package/dist/components/navigation/app-layout-context.d.ts.map +1 -1
  165. package/dist/components/navigation/app-layout-context.js +9 -1
  166. package/dist/components/navigation/app-layout.d.ts +93 -1
  167. package/dist/components/navigation/app-layout.d.ts.map +1 -1
  168. package/dist/components/navigation/app-layout.js +149 -30
  169. package/dist/components/navigation/header-button.d.ts +11 -1
  170. package/dist/components/navigation/header-button.d.ts.map +1 -1
  171. package/dist/components/navigation/header-button.js +16 -5
  172. package/dist/components/navigation/header-mingo-button.d.ts.map +1 -1
  173. package/dist/components/navigation/header-mingo-button.js +6 -5
  174. package/dist/components/navigation/index.cjs +120 -109
  175. package/dist/components/navigation/index.d.ts +10 -1
  176. package/dist/components/navigation/index.d.ts.map +1 -1
  177. package/dist/components/navigation/index.js +8 -0
  178. package/dist/components/navigation/mingo-ai-button.d.ts.map +1 -1
  179. package/dist/components/navigation/mingo-ai-button.js +2 -1
  180. package/dist/components/navigation/mobile-burger-menu.d.ts.map +1 -1
  181. package/dist/components/navigation/mobile-burger-menu.js +155 -39
  182. package/dist/components/navigation/navigation-sidebar-grouped.d.ts +57 -0
  183. package/dist/components/navigation/navigation-sidebar-grouped.d.ts.map +1 -0
  184. package/dist/components/navigation/navigation-sidebar-grouped.js +365 -0
  185. package/dist/components/navigation/navigation-sidebar-match.d.ts +37 -0
  186. package/dist/components/navigation/navigation-sidebar-match.d.ts.map +1 -0
  187. package/dist/components/navigation/navigation-sidebar-match.js +85 -0
  188. package/dist/components/navigation/navigation-sidebar-slot.d.ts +7 -0
  189. package/dist/components/navigation/navigation-sidebar-slot.d.ts.map +1 -0
  190. package/dist/components/navigation/navigation-sidebar-slot.js +11 -0
  191. package/dist/components/navigation/navigation-sidebar-toggle.d.ts +7 -1
  192. package/dist/components/navigation/navigation-sidebar-toggle.d.ts.map +1 -1
  193. package/dist/components/navigation/navigation-sidebar-toggle.js +52 -23
  194. package/dist/components/navigation/navigation-sidebar.d.ts +13 -1
  195. package/dist/components/navigation/navigation-sidebar.d.ts.map +1 -1
  196. package/dist/components/navigation/navigation-sidebar.js +188 -52
  197. package/dist/components/navigation/notifications-bell-button.d.ts +28 -0
  198. package/dist/components/navigation/notifications-bell-button.d.ts.map +1 -0
  199. package/dist/components/navigation/notifications-bell-button.js +44 -0
  200. package/dist/components/navigation/ticket-alerts-button.d.ts +7 -1
  201. package/dist/components/navigation/ticket-alerts-button.d.ts.map +1 -1
  202. package/dist/components/navigation/ticket-alerts-button.js +3 -2
  203. package/dist/components/onboarding-guides/index.cjs +111 -109
  204. package/dist/components/product-demo/index.cjs +119 -117
  205. package/dist/components/related-content/index.cjs +13 -13
  206. package/dist/components/tickets/index.cjs +115 -113
  207. package/dist/components/ui/actions-menu.d.ts +6 -1
  208. package/dist/components/ui/actions-menu.d.ts.map +1 -1
  209. package/dist/components/ui/actions-menu.js +6 -2
  210. package/dist/components/ui/fade-preview.d.ts +8 -0
  211. package/dist/components/ui/fade-preview.d.ts.map +1 -1
  212. package/dist/components/ui/fade-preview.js +7 -5
  213. package/dist/components/ui/index.cjs +136 -111
  214. package/dist/components/ui/index.d.ts +1 -0
  215. package/dist/components/ui/index.d.ts.map +1 -1
  216. package/dist/components/ui/index.js +1 -0
  217. package/dist/components/ui/mobile-action-bar.d.ts +14 -0
  218. package/dist/components/ui/mobile-action-bar.d.ts.map +1 -0
  219. package/dist/components/ui/mobile-action-bar.js +68 -0
  220. package/dist/components/ui/no-data/no-data-styles.d.ts +1 -1
  221. package/dist/components/ui/no-data/no-data-styles.d.ts.map +1 -1
  222. package/dist/components/ui/no-data/no-data-styles.js +1 -1
  223. package/dist/components/ui/page-actions.d.ts.map +1 -1
  224. package/dist/components/ui/page-actions.js +24 -8
  225. package/dist/components/ui/panel-resize-handle.d.ts +6 -2
  226. package/dist/components/ui/panel-resize-handle.d.ts.map +1 -1
  227. package/dist/components/ui/panel-resize-handle.js +6 -3
  228. package/dist/components/ui/square-avatar.d.ts.map +1 -1
  229. package/dist/components/ui/square-avatar.js +5 -2
  230. package/dist/{devices-DW5NDXMD.cjs → devices-SJORCARH.cjs} +109 -107
  231. package/dist/dots-loader-icon-5JXWD6FB.cjs +7 -0
  232. package/dist/{embeddable-chat-NBJMXEXB.cjs → embeddable-chat-7Z4CEZJL.cjs} +513 -398
  233. package/dist/hooks/index.cjs +15 -16
  234. package/dist/hooks/ui/use-content-breakpoint.d.ts +4 -2
  235. package/dist/hooks/ui/use-content-breakpoint.d.ts.map +1 -1
  236. package/dist/{icon-loaders-OLGJZGRP.cjs → icon-loaders-SUPEKMBJ.cjs} +2 -1
  237. package/dist/index.cjs +154 -121
  238. package/dist/{knowledge-EYJG2TNW.cjs → knowledge-QXILUVEM.cjs} +109 -107
  239. package/dist/{logs-2LV7DTSL.cjs → logs-E3KQQQD6.cjs} +118 -115
  240. package/dist/mingo-logo-icon-WGPBSDTF.cjs +7 -0
  241. package/dist/{policies-HSDYIQBX.cjs → policies-IOYQY6TF.cjs} +112 -110
  242. package/dist/{remote-session-BQMTIQTU.cjs → remote-session-QGFG5WAL.cjs} +99 -97
  243. package/dist/{scripts-UI6V7ANQ.cjs → scripts-E5TWWUNP.cjs} +115 -113
  244. package/dist/{software-update-WMLY7VHH.cjs → software-update-QZGYG4TD.cjs} +112 -110
  245. package/dist/{tickets-board-TRXOX77R.cjs → tickets-board-KCH6ITUV.cjs} +95 -94
  246. package/dist/types/navigation.d.ts +131 -0
  247. package/dist/types/navigation.d.ts.map +1 -1
  248. package/dist/utils/index.cjs +65 -25
  249. package/package.json +1 -1
  250. package/src/components/chat/approval-batch-message.tsx +3 -2
  251. package/src/components/chat/chat-archive-page.tsx +16 -0
  252. package/src/components/chat/chat-composer.tsx +131 -61
  253. package/src/components/chat/chat-context-memory-bar.tsx +27 -17
  254. package/src/components/chat/chat-context-picker.tsx +45 -11
  255. package/src/components/chat/chat-header-rename-field.tsx +68 -0
  256. package/src/components/chat/chat-input.tsx +9 -1
  257. package/src/components/chat/composer-sheet.tsx +196 -0
  258. package/src/components/chat/embeddable-chat.tsx +636 -319
  259. package/src/components/chat/index.ts +6 -0
  260. package/src/components/chat/mingo-chat-day-groups.ts +62 -0
  261. package/src/components/chat/mingo-chat-header.tsx +99 -23
  262. package/src/components/chat/mingo-chat-history-section.tsx +670 -0
  263. package/src/components/chat/mingo-chat-history.tsx +31 -45
  264. package/src/components/chat/mingo-chat-list-shared.tsx +244 -0
  265. package/src/components/chat/mingo-chat-rail.tsx +45 -97
  266. package/src/components/chat/mingo-edge-light.tsx +25 -0
  267. package/src/components/chat/mingo-history-rail.tsx +7 -17
  268. package/src/components/chat/mingo-quick-action-wall.tsx +64 -0
  269. package/src/components/chat/mingo-welcome.tsx +5 -19
  270. package/src/components/chat/model-display.tsx +66 -14
  271. package/src/components/chat/tool-execution-display.tsx +9 -1
  272. package/src/components/chat/types/component.types.ts +13 -1
  273. package/src/components/chat/utils/chat-day-label.ts +24 -0
  274. package/src/components/features/board/board-column.tsx +8 -0
  275. package/src/components/features/board/board.tsx +16 -2
  276. package/src/components/features/board/touch-board.tsx +2 -0
  277. package/src/components/features/notifications/approval-request-notification-tile.tsx +8 -2
  278. package/src/components/features/notifications/notification-drawer.tsx +7 -1
  279. package/src/components/features/notifications/notification-tile.tsx +17 -9
  280. package/src/components/features/time-tracker/time-tracker-header-button.tsx +53 -6
  281. package/src/components/icons-v2/icon-colors.json +4 -0
  282. package/src/components/icons-v2-generated/icon-loaders.ts +1 -0
  283. package/src/components/icons-v2-generated/icon-names.ts +1 -1
  284. package/src/components/icons-v2-generated/loaders/dots-loader-icon.tsx +18 -27
  285. package/src/components/icons-v2-generated/logos/index.ts +1 -0
  286. package/src/components/icons-v2-generated/logos/mingo-logo-icon.tsx +35 -0
  287. package/src/components/navigation/account-popover.tsx +198 -0
  288. package/src/components/navigation/app-header.tsx +74 -33
  289. package/src/components/navigation/app-layout-context.ts +22 -0
  290. package/src/components/navigation/app-layout.tsx +290 -24
  291. package/src/components/navigation/header-button.tsx +27 -5
  292. package/src/components/navigation/header-mingo-button.tsx +6 -5
  293. package/src/components/navigation/index.ts +19 -0
  294. package/src/components/navigation/mingo-ai-button.tsx +2 -3
  295. package/src/components/navigation/mobile-burger-menu.tsx +219 -53
  296. package/src/components/navigation/navigation-sidebar-grouped.tsx +554 -0
  297. package/src/components/navigation/navigation-sidebar-match.ts +152 -0
  298. package/src/components/navigation/navigation-sidebar-slot.ts +12 -0
  299. package/src/components/navigation/navigation-sidebar-toggle.tsx +39 -6
  300. package/src/components/navigation/navigation-sidebar.tsx +278 -61
  301. package/src/components/navigation/notifications-bell-button.tsx +70 -0
  302. package/src/components/navigation/ticket-alerts-button.tsx +9 -2
  303. package/src/components/ui/actions-menu.tsx +19 -3
  304. package/src/components/ui/fade-preview.tsx +13 -6
  305. package/src/components/ui/index.ts +1 -0
  306. package/src/components/ui/mobile-action-bar.ts +87 -0
  307. package/src/components/ui/no-data/no-data-styles.ts +5 -2
  308. package/src/components/ui/page-actions.tsx +38 -11
  309. package/src/components/ui/panel-resize-handle.tsx +14 -5
  310. package/src/components/ui/square-avatar.tsx +5 -2
  311. package/src/hooks/ui/use-content-breakpoint.ts +4 -2
  312. package/src/styles/ods-interaction-states.css +68 -0
  313. package/src/types/navigation.ts +140 -0
  314. package/dist/chunk-C7GIHB3V.cjs +0 -59
  315. package/dist/dots-loader-icon-RBLX46X7.cjs +0 -7
  316. package/dist/{chunk-ZOZR3QI2.cjs → chunk-46547WQW.cjs} +0 -0
  317. package/dist/{video-file-player-IAMWBKEQ.cjs → video-file-player-IHO66P2Q.cjs} +1 -1
@@ -32,6 +32,8 @@ export * from './ask-prompts';
32
32
  export * from './assistant-ask-prompts';
33
33
  export * from './quick-action-marquee';
34
34
  export * from './quick-action-wall';
35
+ export * from './mingo-quick-action-wall';
36
+ export * from './mingo-edge-light';
35
37
  export * from './chat-ticket-list';
36
38
  export * from './chat-typing-indicator';
37
39
  export * from './tool-execution-display';
@@ -43,8 +45,10 @@ export * from './msp-organization-card';
43
45
  export * from './guide-mode-banner';
44
46
  export * from './mingo-chat-history';
45
47
  export * from './mingo-archive-list';
48
+ export * from './composer-sheet';
46
49
  export * from './mingo-chat-header';
47
50
  export * from './mingo-chat-rail';
51
+ export { MingoChatSearchModal, type MingoChatSearchModalProps } from './mingo-chat-history-section';
48
52
  export * from './mingo-history-rail';
49
53
  export * from './mingo-chat-modals';
50
54
  export * from './chat-header-search-field';
@@ -54,6 +58,7 @@ export * from './chat-context-picker';
54
58
  export * from './chat-context-memory-bar';
55
59
  export * from './context-items-list';
56
60
  export * from './chat-archive-page';
61
+ export { ChatListLoadError, type MingoDialogStatus, type MingoHistoryScope } from './mingo-chat-list-shared';
57
62
  export * from './model-display';
58
63
  export * from './chat-sidebar';
59
64
  export * from './chat-nav-sidebar';
@@ -146,5 +151,6 @@ export {
146
151
  ASK_AI_OPEN_WITH_REF_EVENT,
147
152
  ASK_AI_TRIGGER_ATTRIBUTE,
148
153
  } from './utils/ask-ai-events';
154
+ export { chatDayLabel } from './utils/chat-day-label';
149
155
  export * from './proxy-credentials-panel';
150
156
  export { InlineChip } from './inline-chip';
@@ -0,0 +1,62 @@
1
+ import type { DialogItem } from './types/component.types';
2
+ import { chatDayLabel } from './utils/chat-day-label';
3
+
4
+ /** A dialog's time in ms, or null when it has none (or an unparseable one). */
5
+ export function dialogTimestamp(dialog: Pick<DialogItem, 'timestamp'>): number | null {
6
+ if (!dialog.timestamp) return null;
7
+ const t = typeof dialog.timestamp === 'string' ? Date.parse(dialog.timestamp) : dialog.timestamp.getTime();
8
+ return Number.isNaN(t) ? null : t;
9
+ }
10
+
11
+ export interface DialogDayGroup {
12
+ /** Stable per day: `today`, `yesterday`, `day-<local midnight ms>`, `undated`. */
13
+ key: string;
14
+ /** "Today", "Yesterday", then the day ("9 Oct" / "Oct 9" by the viewer's locale; the year when it is not this one). */
15
+ label: string;
16
+ items: DialogItem[];
17
+ }
18
+
19
+ /** Local midnight of the day `days` away from `date`'s (calendar arithmetic, so DST days are not 24 h). */
20
+ function localMidnight(date: Date, days = 0): number {
21
+ return new Date(date.getFullYear(), date.getMonth(), date.getDate() + days).getTime();
22
+ }
23
+
24
+ /**
25
+ * Dialogs grouped by the viewer's local day: "Today", "Yesterday", then one
26
+ * group per earlier day. Groups keep the order in which the host's list first
27
+ * reaches them (newest first), rows keep theirs; dialogs without a time close
28
+ * the list under "Older". A time in the future counts as today.
29
+ */
30
+ export function groupDialogsByDay(dialogs: ReadonlyArray<DialogItem>, now: Date = new Date()): DialogDayGroup[] {
31
+ const startOfToday = localMidnight(now);
32
+ const startOfYesterday = localMidnight(now, -1);
33
+ const groups = new Map<string, DialogDayGroup>();
34
+ const undated: DialogItem[] = [];
35
+
36
+ for (const dialog of dialogs) {
37
+ const time = dialogTimestamp(dialog);
38
+ if (time === null) {
39
+ undated.push(dialog);
40
+ continue;
41
+ }
42
+ let key: string;
43
+ let label: string;
44
+ if (time >= startOfToday) {
45
+ key = 'today';
46
+ label = 'Today';
47
+ } else if (time >= startOfYesterday) {
48
+ key = 'yesterday';
49
+ label = 'Yesterday';
50
+ } else {
51
+ key = `day-${localMidnight(new Date(time))}`;
52
+ label = chatDayLabel(new Date(time), now) ?? '';
53
+ }
54
+ const group = groups.get(key);
55
+ if (group) group.items.push(dialog);
56
+ else groups.set(key, { key, label, items: [dialog] });
57
+ }
58
+
59
+ const result = [...groups.values()];
60
+ if (undated.length > 0) result.push({ key: 'undated', label: 'Older', items: undated });
61
+ return result;
62
+ }
@@ -1,17 +1,40 @@
1
1
  'use client';
2
2
 
3
+ import type { ReactNode } from 'react';
4
+ import { cn } from '../../utils/cn';
3
5
  import { Arrow02RightIcon, Ellipsis01Icon, Refresh01LeftIcon, SidebarIcon, XmarkIcon } from '../icons-v2-generated';
4
6
  import { ActionsMenuDropdown, type ActionsMenuGroup, type ActionsMenuItem } from '../ui/actions-menu';
5
7
  import { Button } from '../ui/button';
6
8
  import { SquareAvatar } from '../ui/square-avatar';
9
+ import { ChatHeaderRenameField } from './chat-header-rename-field';
10
+
11
+ /** An icon cell at the header's end, after the ⋯ (e.g. "Open as full chat", "Back to page"). */
12
+ export interface MingoChatHeaderAction {
13
+ id: string;
14
+ /** The cell's accessible name and tooltip. */
15
+ label: string;
16
+ icon: ReactNode;
17
+ onClick: () => void;
18
+ }
7
19
 
8
20
  export interface MingoChatHeaderProps {
21
+ /**
22
+ * `'panel'` (default): the bar over the chat in a panel — title over its
23
+ * owner, the owner's avatar, and whichever list / collapse / close controls
24
+ * the panel passes. `'page'`: the bar over a chat that IS the page (a chat
25
+ * that cannot be closed) — the title with `meta` beside it and the chat's
26
+ * ⋯; the list toggle, collapse and close are never drawn, whatever is passed.
27
+ */
28
+ variant?: 'panel' | 'page';
9
29
  title: string;
10
- /** Second line: the chat's owner. */
30
+ /** Second line: the chat's owner. Panel variant. */
11
31
  subtitle?: string | null;
12
- /** The owner's avatar at the title cell's end. */
32
+ /** Page variant: small parts after the title, each led by "·" (e.g. the
33
+ * owner and the day). Empty parts are skipped. */
34
+ meta?: ReadonlyArray<string | null | undefined>;
35
+ /** The owner's avatar at the title cell's end. Panel variant. */
13
36
  avatar?: { name?: string | null; avatarUrl?: string | null } | null;
14
- /** Shows the chat list toggle at the start. */
37
+ /** Shows the chat list toggle at the start. Panel variant. */
15
38
  onToggleList?: () => void;
16
39
  /** The list is on screen beside the chat; drives the toggle's state. */
17
40
  listOpen?: boolean;
@@ -21,10 +44,18 @@ export interface MingoChatHeaderProps {
21
44
  extraMenuItems?: ActionsMenuItem[];
22
45
  /** An archived chat: offers "Unarchive". */
23
46
  onRestore?: () => void;
24
- /** Collapse the chat back to the list alone (the panel's minimum). */
47
+ /** Collapse the chat back to the list alone (the panel's minimum). Panel variant. */
25
48
  onCollapse?: () => void;
26
- /** Close the panel; only a panel that can close passes it. */
49
+ /** Close the panel; only a panel that can close passes it. Panel variant. */
27
50
  onClose?: () => void;
51
+ /** The title is being renamed in place: it turns into a field, text selected. */
52
+ renaming?: boolean;
53
+ /** Enter or blur in the rename field, with its raw value. */
54
+ onRenameSubmit?: (title: string) => void;
55
+ /** Escape in the rename field. */
56
+ onRenameCancel?: () => void;
57
+ /** Icon cells after the ⋯, in order — what the host that shows the chat adds (either variant). */
58
+ actions?: ReadonlyArray<MingoChatHeaderAction>;
28
59
  }
29
60
 
30
61
  /**
@@ -34,8 +65,10 @@ export interface MingoChatHeaderProps {
34
65
  * chat column only; the list beside it has no bar.
35
66
  */
36
67
  export function MingoChatHeader({
68
+ variant = 'panel',
37
69
  title,
38
70
  subtitle,
71
+ meta,
39
72
  avatar,
40
73
  onToggleList,
41
74
  listOpen = false,
@@ -44,14 +77,33 @@ export function MingoChatHeader({
44
77
  onRestore,
45
78
  onCollapse,
46
79
  onClose,
80
+ renaming = false,
81
+ onRenameSubmit,
82
+ onRenameCancel,
83
+ actions = [],
47
84
  }: MingoChatHeaderProps) {
85
+ const isPage = variant === 'page';
48
86
  const menuGroups: ActionsMenuGroup[] = [
49
87
  ...(menuItems.length > 0 ? [{ items: menuItems, separator: true }] : []),
50
88
  ...(extraMenuItems.length > 0 ? [{ items: extraMenuItems }] : []),
51
89
  ];
90
+ const metaParts = (meta ?? []).filter((part): part is string => !!part && part.trim().length > 0);
91
+ // Keyed on the title, so a rename opened again after the title changed seeds
92
+ // from the new one.
93
+ const titleNode = renaming ? (
94
+ <ChatHeaderRenameField
95
+ key={title}
96
+ initialValue={title}
97
+ onSubmit={value => onRenameSubmit?.(value)}
98
+ onCancel={() => onRenameCancel?.()}
99
+ />
100
+ ) : (
101
+ <p className={cn('truncate text-ods-text-primary text-h3', isPage && 'min-w-0')}>{title}</p>
102
+ );
103
+
52
104
  return (
53
105
  <div className="flex h-14 w-full shrink-0 divide-x divide-ods-border overflow-hidden border-b border-ods-border">
54
- {onToggleList && (
106
+ {!isPage && onToggleList && (
55
107
  <Button
56
108
  variant="cell"
57
109
  className="w-14"
@@ -63,22 +115,34 @@ export function MingoChatHeader({
63
115
  </Button>
64
116
  )}
65
117
 
66
- <div className="flex min-w-0 flex-1 items-center gap-[var(--spacing-system-m)] px-[var(--spacing-system-m)] py-[var(--spacing-system-sf)]">
67
- <div className="flex min-w-0 flex-1 flex-col">
68
- <p className="truncate text-ods-text-primary text-h3">{title}</p>
69
- {subtitle && <p className="truncate text-ods-text-secondary text-h6">{subtitle}</p>}
118
+ {isPage ? (
119
+ // The page variant: one line, the title then its meta.
120
+ <div className="flex min-w-0 flex-1 items-center gap-[var(--spacing-system-xs)] px-[var(--spacing-system-m)] py-[var(--spacing-system-sf)]">
121
+ {titleNode}
122
+ {!renaming && metaParts.length > 0 && (
123
+ <p className="min-w-0 max-w-[60%] shrink-0 truncate text-ods-text-secondary text-h6">
124
+ {metaParts.map(part => `· ${part}`).join(' ')}
125
+ </p>
126
+ )}
127
+ </div>
128
+ ) : (
129
+ <div className="flex min-w-0 flex-1 items-center gap-[var(--spacing-system-m)] px-[var(--spacing-system-m)] py-[var(--spacing-system-sf)]">
130
+ <div className="flex min-w-0 flex-1 flex-col">
131
+ {titleNode}
132
+ {!renaming && subtitle && <p className="truncate text-ods-text-secondary text-h6">{subtitle}</p>}
133
+ </div>
134
+ {avatar && (avatar.name || avatar.avatarUrl) ? (
135
+ <SquareAvatar
136
+ variant="round"
137
+ sizePx={32}
138
+ src={avatar.avatarUrl || undefined}
139
+ alt={avatar.name || undefined}
140
+ fallback={avatar.name || undefined}
141
+ title={avatar.name || undefined}
142
+ />
143
+ ) : null}
70
144
  </div>
71
- {avatar && (avatar.name || avatar.avatarUrl) ? (
72
- <SquareAvatar
73
- variant="round"
74
- sizePx={32}
75
- src={avatar.avatarUrl || undefined}
76
- alt={avatar.name || undefined}
77
- fallback={avatar.name || undefined}
78
- title={avatar.name || undefined}
79
- />
80
- ) : null}
81
- </div>
145
+ )}
82
146
 
83
147
  {onRestore && (
84
148
  <Button variant="cell" className="w-14" onClick={onRestore} aria-label="Unarchive chat">
@@ -97,12 +161,24 @@ export function MingoChatHeader({
97
161
  }
98
162
  />
99
163
  )}
100
- {onCollapse && (
164
+ {actions.map(action => (
165
+ <Button
166
+ key={action.id}
167
+ variant="cell"
168
+ className="w-14"
169
+ onClick={action.onClick}
170
+ aria-label={action.label}
171
+ title={action.label}
172
+ >
173
+ {action.icon}
174
+ </Button>
175
+ ))}
176
+ {!isPage && onCollapse && (
101
177
  <Button variant="cell" className="w-14" onClick={onCollapse} aria-label="Collapse chat">
102
178
  <Arrow02RightIcon size={24} />
103
179
  </Button>
104
180
  )}
105
- {onClose && (
181
+ {!isPage && onClose && (
106
182
  <Button variant="cell" className="w-14" onClick={onClose} aria-label="Close">
107
183
  <XmarkIcon size={24} />
108
184
  </Button>