@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.
- package/dist/{chunk-D6OFQCBQ.js → chunk-2GROEWOK.js} +4 -4
- package/dist/{chunk-VZM3OH26.js → chunk-4I46HAN5.js} +4 -4
- package/dist/{chunk-NXDUUG3E.cjs → chunk-A37AW6CD.cjs} +5 -5
- package/dist/{chunk-NXDUUG3E.cjs.map → chunk-A37AW6CD.cjs.map} +1 -1
- package/dist/{chunk-M4JER3ZJ.js → chunk-AZ3DTQU5.js} +20 -42
- package/dist/chunk-AZ3DTQU5.js.map +1 -0
- package/dist/{chunk-NBZR5OEQ.cjs → chunk-BYAXSMET.cjs} +15 -15
- package/dist/{chunk-NBZR5OEQ.cjs.map → chunk-BYAXSMET.cjs.map} +1 -1
- package/dist/{chunk-3GNUN3UF.cjs → chunk-CJB4NUD6.cjs} +7 -7
- package/dist/{chunk-3GNUN3UF.cjs.map → chunk-CJB4NUD6.cjs.map} +1 -1
- package/dist/{chunk-MQXK5YZJ.js → chunk-CUQGK4AD.js} +2 -2
- package/dist/{chunk-2L6PCJGJ.cjs → chunk-D2ETTYT2.cjs} +26 -26
- package/dist/{chunk-2L6PCJGJ.cjs.map → chunk-D2ETTYT2.cjs.map} +1 -1
- package/dist/{chunk-SSWHDTUV.js → chunk-EPVDWAVJ.js} +4 -4
- package/dist/{chunk-HHEN6U6D.cjs → chunk-EYPZ2XLX.cjs} +25 -25
- package/dist/{chunk-HHEN6U6D.cjs.map → chunk-EYPZ2XLX.cjs.map} +1 -1
- package/dist/{chunk-G5BJ5EJ3.js → chunk-GCYEJLOQ.js} +2 -2
- package/dist/{chunk-NRRBPW33.cjs → chunk-I3CNFZOY.cjs} +20 -42
- package/dist/chunk-I3CNFZOY.cjs.map +1 -0
- package/dist/{chunk-PRVRFN5Y.cjs → chunk-I4BWBQXX.cjs} +31 -31
- package/dist/{chunk-PRVRFN5Y.cjs.map → chunk-I4BWBQXX.cjs.map} +1 -1
- package/dist/{chunk-TV3BIALE.js → chunk-KE2QKKCN.js} +2 -2
- package/dist/{chunk-YHXX7WEL.js → chunk-KT4KY6OF.js} +4 -4
- package/dist/{chunk-NLJUVRVX.cjs → chunk-LANAE7MY.cjs} +12 -12
- package/dist/{chunk-NLJUVRVX.cjs.map → chunk-LANAE7MY.cjs.map} +1 -1
- package/dist/{chunk-KDFQXI6L.js → chunk-N3GFEIWF.js} +2 -2
- package/dist/{chunk-YHHGM3EL.cjs → chunk-NIIN3UH4.cjs} +37 -37
- package/dist/{chunk-YHHGM3EL.cjs.map → chunk-NIIN3UH4.cjs.map} +1 -1
- package/dist/{chunk-MGYDI2R4.cjs → chunk-OGTHMZIL.cjs} +9 -9
- package/dist/{chunk-MGYDI2R4.cjs.map → chunk-OGTHMZIL.cjs.map} +1 -1
- package/dist/{chunk-GGHWEV6K.js → chunk-OLR534KB.js} +2 -2
- package/dist/{chunk-EEAUFJOJ.cjs → chunk-QCREN5A5.cjs} +56 -56
- package/dist/{chunk-EEAUFJOJ.cjs.map → chunk-QCREN5A5.cjs.map} +1 -1
- package/dist/{chunk-6DKQW5OB.js → chunk-QYF6LEDF.js} +2 -2
- package/dist/{chunk-K4NVJM6V.cjs → chunk-R3MVYKEL.cjs} +62 -62
- package/dist/{chunk-K4NVJM6V.cjs.map → chunk-R3MVYKEL.cjs.map} +1 -1
- package/dist/{chunk-VVKLQXWF.js → chunk-Y2WHQSF6.js} +2 -2
- package/dist/components/case-studies/index.cjs +8 -8
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/chat/chat-composer.d.ts +1 -4
- package/dist/components/chat/chat-composer.d.ts.map +1 -1
- package/dist/components/chat/chat-input.d.ts.map +1 -1
- package/dist/components/chat/chat-quick-action-row.d.ts +1 -6
- package/dist/components/chat/chat-quick-action-row.d.ts.map +1 -1
- package/dist/components/chat/guide-welcome.d.ts +5 -5
- package/dist/components/chat/guide-welcome.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +2 -2
- package/dist/components/chat/index.js +1 -1
- package/dist/components/chat/types/component.types.d.ts +0 -6
- package/dist/components/chat/types/component.types.d.ts.map +1 -1
- package/dist/components/contact/index.cjs +3 -3
- package/dist/components/contact/index.js +2 -2
- package/dist/components/docs/index.cjs +5 -5
- package/dist/components/docs/index.js +4 -4
- package/dist/components/embeds/index.cjs +3 -3
- package/dist/components/embeds/index.js +2 -2
- package/dist/components/faq/index.cjs +3 -3
- package/dist/components/faq/index.js +2 -2
- package/dist/components/features/index.cjs +2 -2
- package/dist/components/features/index.js +1 -1
- package/dist/components/help-center-pages/index.cjs +20 -20
- package/dist/components/help-center-pages/index.js +11 -11
- package/dist/components/index.cjs +121 -121
- package/dist/components/index.js +9 -9
- package/dist/components/navigation/index.cjs +2 -2
- package/dist/components/navigation/index.js +1 -1
- package/dist/components/onboarding-guides/index.cjs +5 -5
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/related-content/index.cjs +3 -3
- package/dist/components/related-content/index.js +2 -2
- package/dist/components/tickets/index.cjs +5 -5
- package/dist/components/tickets/index.js +4 -4
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/src/components/chat/chat-composer.tsx +0 -5
- package/src/components/chat/chat-input.tsx +1 -39
- package/src/components/chat/chat-quick-action-row.tsx +0 -20
- package/src/components/chat/embeddable-chat.tsx +23 -21
- package/src/components/chat/guide-welcome.tsx +11 -21
- package/src/components/chat/types/component.types.ts +0 -6
- package/dist/chunk-M4JER3ZJ.js.map +0 -1
- package/dist/chunk-NRRBPW33.cjs.map +0 -1
- /package/dist/{chunk-D6OFQCBQ.js.map → chunk-2GROEWOK.js.map} +0 -0
- /package/dist/{chunk-VZM3OH26.js.map → chunk-4I46HAN5.js.map} +0 -0
- /package/dist/{chunk-MQXK5YZJ.js.map → chunk-CUQGK4AD.js.map} +0 -0
- /package/dist/{chunk-SSWHDTUV.js.map → chunk-EPVDWAVJ.js.map} +0 -0
- /package/dist/{chunk-G5BJ5EJ3.js.map → chunk-GCYEJLOQ.js.map} +0 -0
- /package/dist/{chunk-TV3BIALE.js.map → chunk-KE2QKKCN.js.map} +0 -0
- /package/dist/{chunk-YHXX7WEL.js.map → chunk-KT4KY6OF.js.map} +0 -0
- /package/dist/{chunk-KDFQXI6L.js.map → chunk-N3GFEIWF.js.map} +0 -0
- /package/dist/{chunk-GGHWEV6K.js.map → chunk-OLR534KB.js.map} +0 -0
- /package/dist/{chunk-6DKQW5OB.js.map → chunk-QYF6LEDF.js.map} +0 -0
- /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.
|
|
36
|
-
*
|
|
37
|
-
*
|
|
38
|
-
* the
|
|
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
|
|
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
|
|
109
|
-
//
|
|
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
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
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 {
|