@flamingo-stack/openframe-frontend-core 0.0.341-snapshot.20260630022404 → 0.0.341

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 (96) hide show
  1. package/dist/{chunk-D6OFQCBQ.js → chunk-2GROEWOK.js} +4 -4
  2. package/dist/{chunk-VZM3OH26.js → chunk-4I46HAN5.js} +4 -4
  3. package/dist/{chunk-NXDUUG3E.cjs → chunk-A37AW6CD.cjs} +5 -5
  4. package/dist/{chunk-NXDUUG3E.cjs.map → chunk-A37AW6CD.cjs.map} +1 -1
  5. package/dist/{chunk-M4JER3ZJ.js → chunk-AZ3DTQU5.js} +20 -42
  6. package/dist/chunk-AZ3DTQU5.js.map +1 -0
  7. package/dist/{chunk-NBZR5OEQ.cjs → chunk-BYAXSMET.cjs} +15 -15
  8. package/dist/{chunk-NBZR5OEQ.cjs.map → chunk-BYAXSMET.cjs.map} +1 -1
  9. package/dist/{chunk-3GNUN3UF.cjs → chunk-CJB4NUD6.cjs} +7 -7
  10. package/dist/{chunk-3GNUN3UF.cjs.map → chunk-CJB4NUD6.cjs.map} +1 -1
  11. package/dist/{chunk-MQXK5YZJ.js → chunk-CUQGK4AD.js} +2 -2
  12. package/dist/{chunk-2L6PCJGJ.cjs → chunk-D2ETTYT2.cjs} +26 -26
  13. package/dist/{chunk-2L6PCJGJ.cjs.map → chunk-D2ETTYT2.cjs.map} +1 -1
  14. package/dist/{chunk-SSWHDTUV.js → chunk-EPVDWAVJ.js} +4 -4
  15. package/dist/{chunk-HHEN6U6D.cjs → chunk-EYPZ2XLX.cjs} +25 -25
  16. package/dist/{chunk-HHEN6U6D.cjs.map → chunk-EYPZ2XLX.cjs.map} +1 -1
  17. package/dist/{chunk-G5BJ5EJ3.js → chunk-GCYEJLOQ.js} +2 -2
  18. package/dist/{chunk-NRRBPW33.cjs → chunk-I3CNFZOY.cjs} +20 -42
  19. package/dist/chunk-I3CNFZOY.cjs.map +1 -0
  20. package/dist/{chunk-PRVRFN5Y.cjs → chunk-I4BWBQXX.cjs} +31 -31
  21. package/dist/{chunk-PRVRFN5Y.cjs.map → chunk-I4BWBQXX.cjs.map} +1 -1
  22. package/dist/{chunk-TV3BIALE.js → chunk-KE2QKKCN.js} +2 -2
  23. package/dist/{chunk-YHXX7WEL.js → chunk-KT4KY6OF.js} +4 -4
  24. package/dist/{chunk-NLJUVRVX.cjs → chunk-LANAE7MY.cjs} +12 -12
  25. package/dist/{chunk-NLJUVRVX.cjs.map → chunk-LANAE7MY.cjs.map} +1 -1
  26. package/dist/{chunk-KDFQXI6L.js → chunk-N3GFEIWF.js} +2 -2
  27. package/dist/{chunk-YHHGM3EL.cjs → chunk-NIIN3UH4.cjs} +37 -37
  28. package/dist/{chunk-YHHGM3EL.cjs.map → chunk-NIIN3UH4.cjs.map} +1 -1
  29. package/dist/{chunk-MGYDI2R4.cjs → chunk-OGTHMZIL.cjs} +9 -9
  30. package/dist/{chunk-MGYDI2R4.cjs.map → chunk-OGTHMZIL.cjs.map} +1 -1
  31. package/dist/{chunk-GGHWEV6K.js → chunk-OLR534KB.js} +2 -2
  32. package/dist/{chunk-EEAUFJOJ.cjs → chunk-QCREN5A5.cjs} +56 -56
  33. package/dist/{chunk-EEAUFJOJ.cjs.map → chunk-QCREN5A5.cjs.map} +1 -1
  34. package/dist/{chunk-6DKQW5OB.js → chunk-QYF6LEDF.js} +2 -2
  35. package/dist/{chunk-K4NVJM6V.cjs → chunk-R3MVYKEL.cjs} +62 -62
  36. package/dist/{chunk-K4NVJM6V.cjs.map → chunk-R3MVYKEL.cjs.map} +1 -1
  37. package/dist/{chunk-VVKLQXWF.js → chunk-Y2WHQSF6.js} +2 -2
  38. package/dist/components/case-studies/index.cjs +8 -8
  39. package/dist/components/case-studies/index.js +2 -2
  40. package/dist/components/chat/chat-composer.d.ts +1 -4
  41. package/dist/components/chat/chat-composer.d.ts.map +1 -1
  42. package/dist/components/chat/chat-input.d.ts.map +1 -1
  43. package/dist/components/chat/chat-quick-action-row.d.ts +1 -6
  44. package/dist/components/chat/chat-quick-action-row.d.ts.map +1 -1
  45. package/dist/components/chat/guide-welcome.d.ts +5 -5
  46. package/dist/components/chat/guide-welcome.d.ts.map +1 -1
  47. package/dist/components/chat/index.cjs +2 -2
  48. package/dist/components/chat/index.js +1 -1
  49. package/dist/components/chat/types/component.types.d.ts +0 -6
  50. package/dist/components/chat/types/component.types.d.ts.map +1 -1
  51. package/dist/components/contact/index.cjs +3 -3
  52. package/dist/components/contact/index.js +2 -2
  53. package/dist/components/docs/index.cjs +5 -5
  54. package/dist/components/docs/index.js +4 -4
  55. package/dist/components/embeds/index.cjs +3 -3
  56. package/dist/components/embeds/index.js +2 -2
  57. package/dist/components/faq/index.cjs +3 -3
  58. package/dist/components/faq/index.js +2 -2
  59. package/dist/components/features/index.cjs +2 -2
  60. package/dist/components/features/index.js +1 -1
  61. package/dist/components/help-center-pages/index.cjs +20 -20
  62. package/dist/components/help-center-pages/index.js +11 -11
  63. package/dist/components/index.cjs +121 -121
  64. package/dist/components/index.js +9 -9
  65. package/dist/components/navigation/index.cjs +2 -2
  66. package/dist/components/navigation/index.js +1 -1
  67. package/dist/components/onboarding-guides/index.cjs +5 -5
  68. package/dist/components/onboarding-guides/index.js +4 -4
  69. package/dist/components/related-content/index.cjs +3 -3
  70. package/dist/components/related-content/index.js +2 -2
  71. package/dist/components/tickets/index.cjs +5 -5
  72. package/dist/components/tickets/index.js +4 -4
  73. package/dist/components/ui/index.cjs +2 -2
  74. package/dist/components/ui/index.js +1 -1
  75. package/dist/index.cjs +2 -2
  76. package/dist/index.js +1 -1
  77. package/package.json +1 -1
  78. package/src/components/chat/chat-composer.tsx +0 -5
  79. package/src/components/chat/chat-input.tsx +1 -39
  80. package/src/components/chat/chat-quick-action-row.tsx +0 -20
  81. package/src/components/chat/embeddable-chat.tsx +23 -21
  82. package/src/components/chat/guide-welcome.tsx +11 -21
  83. package/src/components/chat/types/component.types.ts +0 -6
  84. package/dist/chunk-M4JER3ZJ.js.map +0 -1
  85. package/dist/chunk-NRRBPW33.cjs.map +0 -1
  86. /package/dist/{chunk-D6OFQCBQ.js.map → chunk-2GROEWOK.js.map} +0 -0
  87. /package/dist/{chunk-VZM3OH26.js.map → chunk-4I46HAN5.js.map} +0 -0
  88. /package/dist/{chunk-MQXK5YZJ.js.map → chunk-CUQGK4AD.js.map} +0 -0
  89. /package/dist/{chunk-SSWHDTUV.js.map → chunk-EPVDWAVJ.js.map} +0 -0
  90. /package/dist/{chunk-G5BJ5EJ3.js.map → chunk-GCYEJLOQ.js.map} +0 -0
  91. /package/dist/{chunk-TV3BIALE.js.map → chunk-KE2QKKCN.js.map} +0 -0
  92. /package/dist/{chunk-YHXX7WEL.js.map → chunk-KT4KY6OF.js.map} +0 -0
  93. /package/dist/{chunk-KDFQXI6L.js.map → chunk-N3GFEIWF.js.map} +0 -0
  94. /package/dist/{chunk-GGHWEV6K.js.map → chunk-OLR534KB.js.map} +0 -0
  95. /package/dist/{chunk-6DKQW5OB.js.map → chunk-QYF6LEDF.js.map} +0 -0
  96. /package/dist/{chunk-VVKLQXWF.js.map → chunk-Y2WHQSF6.js.map} +0 -0
@@ -32,12 +32,12 @@ export interface GuideWelcomeProps {
32
32
  * `subtitle` is present. */
33
33
  subtitleLoading?: boolean
34
34
  /** Quick-action chips — caller-provided; there are no built-in defaults, so
35
- * the chip row is omitted entirely unless the host supplies actions. ALL
36
- * chips render in a wrapping row (no "⋯" overflow collapse) so every action
37
- * is directly hoverable hover/focus previews the action's full `prompt` in
38
- * the composer; click sends it. */
35
+ * the chip row is omitted entirely unless the host supplies actions. The row
36
+ * is a single line: as many chips as fit render inline and the rest collapse
37
+ * under a trailing "⋯" overflow menu (width-measured by `ChatQuickActionRow`,
38
+ * so the inline count adapts to the available width — no fixed cap). */
39
39
  quickActions?: ReadonlyArray<GuideQuickAction>
40
- /** Fired when a quick-action chip is activated (click). */
40
+ /** Fired when a quick-action chip (inline or menu) is activated. */
41
41
  onQuickAction?: (action: GuideQuickAction) => void
42
42
  /** Pointer/keyboard focus enters a quick-action chip — e.g. preview the
43
43
  * action's full `prompt` in the composer input. */
@@ -105,9 +105,8 @@ export function GuideWelcome({
105
105
  return () => ro.disconnect()
106
106
  }, [updateScrollFade])
107
107
 
108
- // Map to the shared `ChatQuickActionRow` chip shape. In `wrap` mode every chip
109
- // renders (no overflow), and `onHoverStart`/`onHoverEnd` drive the composer
110
- // prompt preview.
108
+ // Map to the shared width-measured chip row's shape. As many chips as fit on
109
+ // ONE line render inline; the rest collapse under the trailing "⋯" menu.
111
110
  const chipItems = React.useMemo(
112
111
  () =>
113
112
  quickActions.map((action) => ({
@@ -198,19 +197,10 @@ export function GuideWelcome({
198
197
  />
199
198
  </div>
200
199
 
201
- {/* Pinned quick-action chips above the composer the shared
202
- `ChatQuickActionRow` in `wrap` mode: ALL chips render (no "⋯" overflow
203
- collapse) so every action is directly hoverable; hover/focus previews
204
- the action's full prompt in the composer, click sends it. Capped height
205
- + internal scroll so a long (host/admin-driven) list can't grow the
206
- pinned area without bound and squeeze the composer on short screens. */}
207
- {quickActions.length > 0 && (
208
- <ChatQuickActionRow
209
- wrap
210
- chips={chipItems}
211
- className="max-h-28 overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-ods-border/30"
212
- />
213
- )}
200
+ {/* Pinned quick-action chips always visible above the composer.
201
+ Single line: as many chips as fit render inline, the rest collapse
202
+ into the trailing "⋯" menu (width-measured by `ChatQuickActionRow`). */}
203
+ {quickActions.length > 0 && <ChatQuickActionRow chips={chipItems} />}
214
204
  </div>
215
205
  )
216
206
  }
@@ -399,12 +399,6 @@ export interface ChatInputProps extends Omit<TextareaHTMLAttributes<HTMLTextArea
399
399
  /** Suppress the textarea's own border/bg/radius — an outer card draws it
400
400
  * instead (composer context-chip layout). Forwarded to `Textarea.hideBorder`. */
401
401
  hideBorder?: boolean
402
- /** Ephemeral, non-destructive preview text shown over the editor — e.g.
403
- * previewing a hovered quick-action's full prompt before the user commits it.
404
- * Purely declarative: it NEVER touches the editor's real value. While set, it
405
- * visually replaces the editor (even an in-progress draft); clearing it
406
- * (undefined) restores whatever the user had — empty or typed — verbatim. */
407
- previewText?: string
408
402
  }
409
403
 
410
404
  export interface ChatInputRef {