@flamingo-stack/openframe-frontend-core 0.0.566 → 0.0.567-1906.5133.1

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 (107) hide show
  1. package/dist/{chunk-CW3LCXFS.cjs → chunk-3UCHXQKX.cjs} +7 -7
  2. package/dist/{chunk-CW3LCXFS.cjs.map → chunk-3UCHXQKX.cjs.map} +1 -1
  3. package/dist/{chunk-RSM6VHRO.js → chunk-7MEVQID7.js} +2 -2
  4. package/dist/{chunk-I3ULDKQC.cjs → chunk-AD3Q3MS6.cjs} +39 -39
  5. package/dist/{chunk-I3ULDKQC.cjs.map → chunk-AD3Q3MS6.cjs.map} +1 -1
  6. package/dist/{chunk-7NJQ77LV.cjs → chunk-BHCTN44U.cjs} +86 -86
  7. package/dist/{chunk-7NJQ77LV.cjs.map → chunk-BHCTN44U.cjs.map} +1 -1
  8. package/dist/{chunk-SDHJ6RYF.js → chunk-C4URVYGK.js} +6 -6
  9. package/dist/{chunk-XVLTFUGP.cjs → chunk-CP6RFII5.cjs} +11 -11
  10. package/dist/{chunk-XVLTFUGP.cjs.map → chunk-CP6RFII5.cjs.map} +1 -1
  11. package/dist/{chunk-YSYVTMNE.js → chunk-DHK6UN4C.js} +2 -2
  12. package/dist/{chunk-TFMHO7VJ.cjs → chunk-ENNZ6LCV.cjs} +31 -31
  13. package/dist/{chunk-TFMHO7VJ.cjs.map → chunk-ENNZ6LCV.cjs.map} +1 -1
  14. package/dist/{chunk-7B6BAQZN.cjs → chunk-GA3AWJXI.cjs} +3 -3
  15. package/dist/{chunk-7B6BAQZN.cjs.map → chunk-GA3AWJXI.cjs.map} +1 -1
  16. package/dist/{chunk-BTWQVKAK.js → chunk-HCNACWRC.js} +2 -2
  17. package/dist/{chunk-WU6G4NFR.js → chunk-JN37LQRE.js} +2 -2
  18. package/dist/{chunk-SBSI2VAC.js → chunk-K5CS4UDV.js} +2 -2
  19. package/dist/{chunk-ZNWNHBDR.js → chunk-K63ITLJA.js} +5 -5
  20. package/dist/{chunk-RH7JVLKQ.cjs → chunk-LDKEHUEK.cjs} +20 -20
  21. package/dist/{chunk-RH7JVLKQ.cjs.map → chunk-LDKEHUEK.cjs.map} +1 -1
  22. package/dist/{chunk-UOIEONOW.js → chunk-LLDDZS5V.js} +4 -4
  23. package/dist/{chunk-2EVIZNO6.js → chunk-LQ5T553X.js} +2 -2
  24. package/dist/{chunk-MCIKUITN.js → chunk-LUVOM3UD.js} +2 -2
  25. package/dist/{chunk-PF23GNKL.cjs → chunk-OX5I3FXM.cjs} +55 -34
  26. package/dist/chunk-OX5I3FXM.cjs.map +1 -0
  27. package/dist/{chunk-2BOCESEA.cjs → chunk-RM6UG735.cjs} +62 -62
  28. package/dist/{chunk-2BOCESEA.cjs.map → chunk-RM6UG735.cjs.map} +1 -1
  29. package/dist/{chunk-R3GW2HSP.cjs → chunk-RO7CVSOZ.cjs} +4 -4
  30. package/dist/{chunk-R3GW2HSP.cjs.map → chunk-RO7CVSOZ.cjs.map} +1 -1
  31. package/dist/{chunk-4NZ5VAYC.cjs → chunk-SXE3UYOW.cjs} +5 -5
  32. package/dist/{chunk-4NZ5VAYC.cjs.map → chunk-SXE3UYOW.cjs.map} +1 -1
  33. package/dist/{chunk-7FUUHJDA.js → chunk-UAN4UOTF.js} +4 -4
  34. package/dist/{chunk-HYKCMY3E.js → chunk-UGA73O7U.js} +26 -5
  35. package/dist/{chunk-HYKCMY3E.js.map → chunk-UGA73O7U.js.map} +1 -1
  36. package/dist/{chunk-3BPC3YGW.cjs → chunk-UWCJTA6M.cjs} +9 -9
  37. package/dist/{chunk-3BPC3YGW.cjs.map → chunk-UWCJTA6M.cjs.map} +1 -1
  38. package/dist/{chunk-DAYO46GG.js → chunk-VBMVE6NZ.js} +2 -2
  39. package/dist/{chunk-G2AK4BJT.cjs → chunk-VEN64SUQ.cjs} +14 -14
  40. package/dist/{chunk-G2AK4BJT.cjs.map → chunk-VEN64SUQ.cjs.map} +1 -1
  41. package/dist/{chunk-M3VQCYA3.cjs → chunk-XXPWDQ5M.cjs} +26 -26
  42. package/dist/{chunk-M3VQCYA3.cjs.map → chunk-XXPWDQ5M.cjs.map} +1 -1
  43. package/dist/{chunk-3LB25HYU.js → chunk-ZRCJ4EAH.js} +2 -2
  44. package/dist/components/case-studies/index.cjs +8 -8
  45. package/dist/components/case-studies/index.js +2 -2
  46. package/dist/components/chat/chat-panel-header-mobile.d.ts +1 -1
  47. package/dist/components/chat/chat-panel-header-mobile.d.ts.map +1 -1
  48. package/dist/components/chat/chat-panel-header.d.ts +4 -1
  49. package/dist/components/chat/chat-panel-header.d.ts.map +1 -1
  50. package/dist/components/chat/embeddable-chat.d.ts +6 -0
  51. package/dist/components/chat/embeddable-chat.d.ts.map +1 -1
  52. package/dist/components/chat/index.cjs +2 -2
  53. package/dist/components/chat/index.js +1 -1
  54. package/dist/components/chat/mingo-chat-history.d.ts +5 -1
  55. package/dist/components/chat/mingo-chat-history.d.ts.map +1 -1
  56. package/dist/components/chat/mingo-history-rail.d.ts +3 -1
  57. package/dist/components/chat/mingo-history-rail.d.ts.map +1 -1
  58. package/dist/components/contact/index.cjs +3 -3
  59. package/dist/components/contact/index.js +2 -2
  60. package/dist/components/docs/index.cjs +5 -5
  61. package/dist/components/docs/index.js +4 -4
  62. package/dist/components/embeds/index.cjs +3 -3
  63. package/dist/components/embeds/index.js +2 -2
  64. package/dist/components/faq/index.cjs +3 -3
  65. package/dist/components/faq/index.js +2 -2
  66. package/dist/components/features/auth/create-organization-form.d.ts.map +1 -1
  67. package/dist/components/features/index.cjs +2 -2
  68. package/dist/components/features/index.js +1 -1
  69. package/dist/components/help-center-pages/index.cjs +22 -22
  70. package/dist/components/help-center-pages/index.js +13 -13
  71. package/dist/components/index.cjs +132 -132
  72. package/dist/components/index.js +11 -11
  73. package/dist/components/meeting-scheduler/index.cjs +30 -30
  74. package/dist/components/meeting-scheduler/index.js +3 -3
  75. package/dist/components/navigation/index.cjs +2 -2
  76. package/dist/components/navigation/index.js +1 -1
  77. package/dist/components/onboarding-guides/index.cjs +5 -5
  78. package/dist/components/onboarding-guides/index.js +4 -4
  79. package/dist/components/related-content/index.cjs +3 -3
  80. package/dist/components/related-content/index.js +2 -2
  81. package/dist/components/tickets/index.cjs +6 -6
  82. package/dist/components/tickets/index.js +5 -5
  83. package/dist/components/ui/index.cjs +2 -2
  84. package/dist/components/ui/index.js +1 -1
  85. package/dist/index.cjs +2 -2
  86. package/dist/index.js +1 -1
  87. package/package.json +1 -1
  88. package/src/components/chat/chat-panel-header-mobile.tsx +2 -0
  89. package/src/components/chat/chat-panel-header.tsx +6 -0
  90. package/src/components/chat/embeddable-chat.tsx +16 -0
  91. package/src/components/chat/mingo-chat-history.tsx +14 -1
  92. package/src/components/chat/mingo-history-rail.tsx +4 -0
  93. package/src/components/features/auth/create-organization-form.tsx +6 -2
  94. package/dist/chunk-PF23GNKL.cjs.map +0 -1
  95. /package/dist/{chunk-RSM6VHRO.js.map → chunk-7MEVQID7.js.map} +0 -0
  96. /package/dist/{chunk-SDHJ6RYF.js.map → chunk-C4URVYGK.js.map} +0 -0
  97. /package/dist/{chunk-YSYVTMNE.js.map → chunk-DHK6UN4C.js.map} +0 -0
  98. /package/dist/{chunk-BTWQVKAK.js.map → chunk-HCNACWRC.js.map} +0 -0
  99. /package/dist/{chunk-WU6G4NFR.js.map → chunk-JN37LQRE.js.map} +0 -0
  100. /package/dist/{chunk-SBSI2VAC.js.map → chunk-K5CS4UDV.js.map} +0 -0
  101. /package/dist/{chunk-ZNWNHBDR.js.map → chunk-K63ITLJA.js.map} +0 -0
  102. /package/dist/{chunk-UOIEONOW.js.map → chunk-LLDDZS5V.js.map} +0 -0
  103. /package/dist/{chunk-2EVIZNO6.js.map → chunk-LQ5T553X.js.map} +0 -0
  104. /package/dist/{chunk-MCIKUITN.js.map → chunk-LUVOM3UD.js.map} +0 -0
  105. /package/dist/{chunk-7FUUHJDA.js.map → chunk-UAN4UOTF.js.map} +0 -0
  106. /package/dist/{chunk-DAYO46GG.js.map → chunk-VBMVE6NZ.js.map} +0 -0
  107. /package/dist/{chunk-3LB25HYU.js.map → chunk-ZRCJ4EAH.js.map} +0 -0
@@ -27,6 +27,10 @@ export interface MingoChatHistoryProps {
27
27
  /** Request archive — enables the row "Archive chat" action. The host opens
28
28
  * the Archive confirmation modal. */
29
29
  onRequestArchive?: (dialog: DialogItem) => void
30
+ /** Request a shareable link — enables the row "Copy chat link" action. The host
31
+ * owns the URL shape and the copy itself (the list knows neither the app's
32
+ * routes nor whether a clipboard is available). */
33
+ onRequestCopyLink?: (dialog: DialogItem) => void
30
34
  /** Current server-side search term. Drives the "No chats found" empty state;
31
35
  * the search INPUT lives in the panel header, not in this list. The host
32
36
  * owns the term and refetches server-side — the list does no filtering. */
@@ -95,6 +99,7 @@ interface RowProps {
95
99
  isActive: boolean
96
100
  onSelect?: (id: string) => void
97
101
  onRequestRename?: (dialog: DialogItem) => void
102
+ onRequestCopyLink?: (dialog: DialogItem) => void
98
103
  onRequestArchive?: (dialog: DialogItem) => void
99
104
  }
100
105
 
@@ -102,12 +107,13 @@ function MingoChatHistoryRow({
102
107
  dialog,
103
108
  isActive,
104
109
  onSelect,
110
+ onRequestCopyLink,
105
111
  onRequestRename,
106
112
  onRequestArchive,
107
113
  }: RowProps) {
108
114
  const title = dialog.title || 'Untitled Chat'
109
115
  const unread = dialog.unreadMessagesCount ?? 0
110
- const hasMenu = !!onRequestRename || !!onRequestArchive
116
+ const hasMenu = !!onRequestRename || !!onRequestArchive || !!onRequestCopyLink
111
117
  const owner = dialog.owner
112
118
  const hasAvatar = !!(owner?.name || owner?.avatarUrl)
113
119
  // Keep the `⋯` visible while its menu is open — once Radix moves focus into
@@ -115,6 +121,11 @@ function MingoChatHistoryRow({
115
121
  const [menuOpen, setMenuOpen] = React.useState(false)
116
122
 
117
123
  const menuItems = [
124
+ onRequestCopyLink && {
125
+ id: 'copy-link',
126
+ label: 'Copy chat link',
127
+ onClick: () => onRequestCopyLink(dialog),
128
+ },
118
129
  onRequestRename && {
119
130
  id: 'rename',
120
131
  label: 'Rename chat',
@@ -333,6 +344,7 @@ export function MingoChatHistory({
333
344
  dialogs,
334
345
  activeDialogId,
335
346
  onSelectDialog,
347
+ onRequestCopyLink,
336
348
  onRequestRename,
337
349
  onRequestArchive,
338
350
  searchQuery,
@@ -413,6 +425,7 @@ export function MingoChatHistory({
413
425
  dialog={dialog}
414
426
  isActive={dialog.id === activeDialogId}
415
427
  onSelect={onSelectDialog}
428
+ onRequestCopyLink={onRequestCopyLink}
416
429
  onRequestRename={onRequestRename}
417
430
  onRequestArchive={onRequestArchive}
418
431
  />
@@ -34,6 +34,8 @@ export interface MingoHistoryRailProps {
34
34
  onRequestRename?: (dialog: DialogItem) => void
35
35
  /** Request archive — enables the row "Archive chat" action. */
36
36
  onRequestArchive?: (dialog: DialogItem) => void
37
+ /** Request a shareable link — enables the row "Copy chat link" action. */
38
+ onRequestCopyLink?: (dialog: DialogItem) => void
37
39
  /** Ownership scope shown as a two-state "My Chats / All Chats" selector
38
40
  * between "Start New Chat" and the list. Rendered only when BOTH `scope`
39
41
  * and `onScopeChange` are provided; the host owns the state and refilters
@@ -86,6 +88,7 @@ export function MingoHistoryRail({
86
88
  onNewChat,
87
89
  onRequestRename,
88
90
  onRequestArchive,
91
+ onRequestCopyLink,
89
92
  scope,
90
93
  onScopeChange,
91
94
  searchQuery,
@@ -173,6 +176,7 @@ export function MingoHistoryRail({
173
176
  onSelectDialog={onSelectDialog}
174
177
  onRequestRename={onRequestRename}
175
178
  onRequestArchive={onRequestArchive}
179
+ onRequestCopyLink={onRequestCopyLink}
176
180
  searchQuery={searchQuery}
177
181
  hasMore={hasMore}
178
182
  isLoadingMore={isLoadingMore}
@@ -163,11 +163,15 @@ export function CreateOrganizationForm({
163
163
  {domainSlot && <div className="pt-[var(--spacing-system-s)]">{domainSlot}</div>}
164
164
  </div>
165
165
 
166
- {/* Terms & Privacy */}
166
+ {/* Terms & Privacy — deliberately NOT `truncateLabel`. That prop suits a
167
+ one-line value; this label is a sentence carrying the Terms and Privacy
168
+ Policy links, and ellipsizing it clipped the row to "Agree to Terms &
169
+ Privacy Policy by sig…" below ~500px, so on a phone the user could not
170
+ read what they were agreeing to. Wrapping is the only acceptable
171
+ overflow behaviour for consent copy. */}
167
172
  <CheckboxBlock
168
173
  id="create-org-terms"
169
174
  label={<TermsAgreementLabel termsUrl={termsUrl} privacyPolicyUrl={privacyPolicyUrl} />}
170
- truncateLabel
171
175
  checked={agreedToTerms}
172
176
  disabled={fieldsDisabled}
173
177
  error={errors?.terms}