@flamingo-stack/openframe-frontend-core 0.0.459 → 0.0.460
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-6XYHSDCL.cjs → chunk-2KRAHL2J.cjs} +31 -31
- package/dist/{chunk-6XYHSDCL.cjs.map → chunk-2KRAHL2J.cjs.map} +1 -1
- package/dist/{chunk-WVC627C7.cjs → chunk-32N6U2Z2.cjs} +26 -26
- package/dist/{chunk-WVC627C7.cjs.map → chunk-32N6U2Z2.cjs.map} +1 -1
- package/dist/{chunk-KW33TBQX.js → chunk-3SFYW3J7.js} +2 -2
- package/dist/{chunk-JGSBLQLE.js → chunk-5AUOHZWP.js} +4 -4
- package/dist/{chunk-Q74TSDZY.js → chunk-5IX4BNIY.js} +2 -2
- package/dist/{chunk-OJ5ROJSS.cjs → chunk-6NACOLUM.cjs} +37 -37
- package/dist/{chunk-OJ5ROJSS.cjs.map → chunk-6NACOLUM.cjs.map} +1 -1
- package/dist/{chunk-CBNHSXTR.js → chunk-6R3NA5WS.js} +2 -2
- package/dist/{chunk-EFGFAVOI.js → chunk-722A62GL.js} +4 -4
- package/dist/{chunk-O5E7ZWHK.cjs → chunk-7VNAK2TM.cjs} +7 -7
- package/dist/{chunk-O5E7ZWHK.cjs.map → chunk-7VNAK2TM.cjs.map} +1 -1
- package/dist/{chunk-LDVQIOS7.js → chunk-AQNZOW6H.js} +2 -2
- package/dist/{chunk-MRKRE54X.js → chunk-BOPT23N4.js} +4 -4
- package/dist/{chunk-XVHNAMAL.cjs → chunk-GTJJ4Y7Z.cjs} +15 -15
- package/dist/{chunk-XVHNAMAL.cjs.map → chunk-GTJJ4Y7Z.cjs.map} +1 -1
- package/dist/{chunk-YFPZLP63.cjs → chunk-HFTBMWAO.cjs} +26 -5
- package/dist/chunk-HFTBMWAO.cjs.map +1 -0
- package/dist/{chunk-DMU3BSPR.cjs → chunk-IMG46R5G.cjs} +59 -59
- package/dist/{chunk-DMU3BSPR.cjs.map → chunk-IMG46R5G.cjs.map} +1 -1
- package/dist/{chunk-GSKLTMIY.js → chunk-ITCV37Q2.js} +2 -2
- package/dist/{chunk-IG4QVZSP.cjs → chunk-KG6VKWRF.cjs} +9 -9
- package/dist/{chunk-IG4QVZSP.cjs.map → chunk-KG6VKWRF.cjs.map} +1 -1
- package/dist/{chunk-X5TAAOE7.cjs → chunk-KJOM3JWD.cjs} +62 -62
- package/dist/{chunk-X5TAAOE7.cjs.map → chunk-KJOM3JWD.cjs.map} +1 -1
- package/dist/{chunk-T2EBDVMZ.cjs → chunk-MK5PLTDE.cjs} +26 -26
- package/dist/{chunk-T2EBDVMZ.cjs.map → chunk-MK5PLTDE.cjs.map} +1 -1
- package/dist/{chunk-RTQ57HC5.js → chunk-NWHCBXRQ.js} +2 -2
- package/dist/{chunk-A2RF7ZG6.cjs → chunk-NZNF7RCQ.cjs} +5 -5
- package/dist/{chunk-A2RF7ZG6.cjs.map → chunk-NZNF7RCQ.cjs.map} +1 -1
- package/dist/{chunk-AS5B343N.js → chunk-OMY4PRE3.js} +2 -2
- package/dist/{chunk-TP5MVWQ2.js → chunk-XFH7PMGS.js} +26 -5
- package/dist/chunk-XFH7PMGS.js.map +1 -0
- package/dist/{chunk-JWXOZRZ6.js → chunk-YWMHHI3V.js} +4 -4
- package/dist/{chunk-OFPHMNRL.cjs → chunk-ZODNSYZC.cjs} +11 -11
- package/dist/{chunk-OFPHMNRL.cjs.map → chunk-ZODNSYZC.cjs.map} +1 -1
- package/dist/components/case-studies/index.cjs +8 -8
- package/dist/components/case-studies/index.js +2 -2
- package/dist/components/chat/guide-welcome.d.ts +5 -1
- 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/mingo-welcome.d.ts +5 -1
- package/dist/components/chat/mingo-welcome.d.ts.map +1 -1
- package/dist/components/chat/quick-action-wall.d.ts +16 -6
- package/dist/components/chat/quick-action-wall.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 +129 -129
- 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/embeddable-chat.tsx +6 -0
- package/src/components/chat/guide-welcome.tsx +6 -0
- package/src/components/chat/mingo-welcome.tsx +6 -0
- package/src/components/chat/quick-action-wall.tsx +53 -8
- package/src/stories/QuickActionWall.stories.tsx +65 -0
- package/dist/chunk-TP5MVWQ2.js.map +0 -1
- package/dist/chunk-YFPZLP63.cjs.map +0 -1
- /package/dist/{chunk-KW33TBQX.js.map → chunk-3SFYW3J7.js.map} +0 -0
- /package/dist/{chunk-JGSBLQLE.js.map → chunk-5AUOHZWP.js.map} +0 -0
- /package/dist/{chunk-Q74TSDZY.js.map → chunk-5IX4BNIY.js.map} +0 -0
- /package/dist/{chunk-CBNHSXTR.js.map → chunk-6R3NA5WS.js.map} +0 -0
- /package/dist/{chunk-EFGFAVOI.js.map → chunk-722A62GL.js.map} +0 -0
- /package/dist/{chunk-LDVQIOS7.js.map → chunk-AQNZOW6H.js.map} +0 -0
- /package/dist/{chunk-MRKRE54X.js.map → chunk-BOPT23N4.js.map} +0 -0
- /package/dist/{chunk-GSKLTMIY.js.map → chunk-ITCV37Q2.js.map} +0 -0
- /package/dist/{chunk-RTQ57HC5.js.map → chunk-NWHCBXRQ.js.map} +0 -0
- /package/dist/{chunk-AS5B343N.js.map → chunk-OMY4PRE3.js.map} +0 -0
- /package/dist/{chunk-JWXOZRZ6.js.map → chunk-YWMHHI3V.js.map} +0 -0
|
@@ -127,3 +127,68 @@ export const Loading: Story = {
|
|
|
127
127
|
</div>
|
|
128
128
|
),
|
|
129
129
|
}
|
|
130
|
+
|
|
131
|
+
// Brick-mode chip set: enough distinct actions to fill more than two full
|
|
132
|
+
// courses, so the agent cap and the even split are both visible.
|
|
133
|
+
const BRICK_ACTIONS: ReadonlyArray<QuickActionChip> = [
|
|
134
|
+
...IT_ACTIONS,
|
|
135
|
+
...SEC_ACTIONS,
|
|
136
|
+
...FAE_ACTIONS.map((c) => ({ ...c, theme: FAE_THEME })),
|
|
137
|
+
].map((c) => ({ ...c, onSelect: () => console.log(c.id) }))
|
|
138
|
+
|
|
139
|
+
/** Brick, chat agent (`agentSlug="mingo"`): the stack grows with the chip
|
|
140
|
+
* supply but caps at 2 rows. Originals are split evenly across the two rows
|
|
141
|
+
* first, then each row pads to a full course — no row is all-duplicates. */
|
|
142
|
+
export const BrickAgentCapped: Story = {
|
|
143
|
+
render: () => (
|
|
144
|
+
<QuickActionWall
|
|
145
|
+
chips={BRICK_ACTIONS}
|
|
146
|
+
agentSlug="mingo"
|
|
147
|
+
rows={4}
|
|
148
|
+
pauseOnHover
|
|
149
|
+
dragScroll
|
|
150
|
+
fade={['left', 'right']}
|
|
151
|
+
fadeSize={{ left: 32 }}
|
|
152
|
+
fadeColor="var(--color-bg)"
|
|
153
|
+
copyGap="var(--spacing-system-xxs)"
|
|
154
|
+
className="max-h-44"
|
|
155
|
+
/>
|
|
156
|
+
),
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/** Brick, few actions (`agentSlug="fae"`, 3 chips): fewer than one course, so
|
|
160
|
+
* the stack collapses to a SINGLE row padded with its own repeats instead of
|
|
161
|
+
* spreading one chip per row. */
|
|
162
|
+
export const BrickFewActions: Story = {
|
|
163
|
+
render: () => (
|
|
164
|
+
<QuickActionWall
|
|
165
|
+
chips={FAE_ACTIONS.slice(0, 3).map((c) => ({ ...c, theme: FAE_THEME, onSelect: () => console.log(c.id) }))}
|
|
166
|
+
agentSlug="fae"
|
|
167
|
+
rows={4}
|
|
168
|
+
pauseOnHover
|
|
169
|
+
dragScroll
|
|
170
|
+
fade={['left', 'right']}
|
|
171
|
+
fadeSize={{ left: 32 }}
|
|
172
|
+
fadeColor="var(--color-bg)"
|
|
173
|
+
copyGap="var(--spacing-system-xxs)"
|
|
174
|
+
className="max-h-44"
|
|
175
|
+
/>
|
|
176
|
+
),
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/** Brick, non-agent (no `agentSlug`): keeps exactly `rows` rows (marketing /
|
|
180
|
+
* onboarding walls are sized for their design), still getting the even split
|
|
181
|
+
* so a row is never filled with only one repeated chip. */
|
|
182
|
+
export const BrickNonAgent: Story = {
|
|
183
|
+
render: () => (
|
|
184
|
+
<QuickActionWall
|
|
185
|
+
chips={BRICK_ACTIONS}
|
|
186
|
+
rows={4}
|
|
187
|
+
fade={['left', 'right']}
|
|
188
|
+
fadeSize={{ left: 32 }}
|
|
189
|
+
fadeColor="var(--color-bg)"
|
|
190
|
+
copyGap="var(--spacing-system-xxs)"
|
|
191
|
+
className="max-h-56"
|
|
192
|
+
/>
|
|
193
|
+
),
|
|
194
|
+
}
|