@flamingo-stack/openframe-frontend-core 0.0.339 → 0.0.340
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-D5BRTQEA.cjs → chunk-4K2M2WC4.cjs} +26 -26
- package/dist/{chunk-D5BRTQEA.cjs.map → chunk-4K2M2WC4.cjs.map} +1 -1
- package/dist/{chunk-IK22LSYP.js → chunk-53MGSWCC.js} +4 -4
- package/dist/{chunk-DUJINSKJ.js → chunk-573LTCRV.js} +2 -2
- package/dist/{chunk-J7VJHE6O.js → chunk-7TENQYAJ.js} +2 -2
- package/dist/{chunk-DKK3VRRM.cjs → chunk-BMSJTLGO.cjs} +12 -12
- package/dist/{chunk-DKK3VRRM.cjs.map → chunk-BMSJTLGO.cjs.map} +1 -1
- package/dist/{chunk-4DXRKAV6.cjs → chunk-DFFOCQFO.cjs} +5 -5
- package/dist/{chunk-4DXRKAV6.cjs.map → chunk-DFFOCQFO.cjs.map} +1 -1
- package/dist/{chunk-FFNTLQZR.cjs → chunk-DRO773DG.cjs} +56 -56
- package/dist/{chunk-FFNTLQZR.cjs.map → chunk-DRO773DG.cjs.map} +1 -1
- package/dist/{chunk-PNWORHOR.cjs → chunk-ERMMMQET.cjs} +619 -596
- package/dist/chunk-ERMMMQET.cjs.map +1 -0
- package/dist/{chunk-OJJCWMLT.cjs → chunk-EXFHHZ2C.cjs} +9 -9
- package/dist/{chunk-OJJCWMLT.cjs.map → chunk-EXFHHZ2C.cjs.map} +1 -1
- package/dist/{chunk-I7NP2ZAJ.js → chunk-GGFJ5OQ3.js} +4 -4
- package/dist/{chunk-7OPVJDX6.cjs → chunk-HVYR323G.cjs} +15 -15
- package/dist/{chunk-7OPVJDX6.cjs.map → chunk-HVYR323G.cjs.map} +1 -1
- package/dist/{chunk-5A5SLX2F.js → chunk-KE2PMD6A.js} +2 -2
- package/dist/{chunk-JOLEA7LT.cjs → chunk-L6YX6D26.cjs} +31 -31
- package/dist/{chunk-JOLEA7LT.cjs.map → chunk-L6YX6D26.cjs.map} +1 -1
- package/dist/{chunk-HHS3CJ7G.js → chunk-MNLQMAY3.js} +2 -2
- package/dist/{chunk-742ZCG3D.js → chunk-NC3DJLP5.js} +4 -4
- package/dist/{chunk-I54DGTLP.js → chunk-NDHQG4I4.js} +26 -3
- package/dist/chunk-NDHQG4I4.js.map +1 -0
- package/dist/{chunk-S5B3ZX6U.js → chunk-OVN265XQ.js} +2 -2
- package/dist/{chunk-6YWPFPKC.cjs → chunk-SIK5LBUN.cjs} +25 -25
- package/dist/{chunk-6YWPFPKC.cjs.map → chunk-SIK5LBUN.cjs.map} +1 -1
- package/dist/{chunk-GEJQRRD2.js → chunk-T4SW6GOR.js} +4 -4
- package/dist/{chunk-YX7RIC4Z.js → chunk-TOMTBXM7.js} +2 -2
- package/dist/{chunk-GBE2R7R4.cjs → chunk-TVCBMR3N.cjs} +7 -7
- package/dist/{chunk-GBE2R7R4.cjs.map → chunk-TVCBMR3N.cjs.map} +1 -1
- package/dist/{chunk-J344NBBP.cjs → chunk-VA3GDVOV.cjs} +37 -37
- package/dist/{chunk-J344NBBP.cjs.map → chunk-VA3GDVOV.cjs.map} +1 -1
- package/dist/{chunk-DLXHC6JS.js → chunk-W7J46YKF.js} +2 -2
- package/dist/{chunk-KPR563UC.cjs → chunk-YEB5Z76W.cjs} +62 -62
- package/dist/{chunk-KPR563UC.cjs.map → chunk-YEB5Z76W.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/chat-quick-action-row.d.ts +5 -0
- package/dist/components/chat/chat-quick-action-row.d.ts.map +1 -1
- package/dist/components/chat/guide-welcome.d.ts +6 -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/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-quick-action-row.tsx +9 -0
- package/src/components/chat/embeddable-chat.tsx +24 -3
- package/src/components/chat/guide-welcome.tsx +10 -1
- package/dist/chunk-I54DGTLP.js.map +0 -1
- package/dist/chunk-PNWORHOR.cjs.map +0 -1
- /package/dist/{chunk-IK22LSYP.js.map → chunk-53MGSWCC.js.map} +0 -0
- /package/dist/{chunk-DUJINSKJ.js.map → chunk-573LTCRV.js.map} +0 -0
- /package/dist/{chunk-J7VJHE6O.js.map → chunk-7TENQYAJ.js.map} +0 -0
- /package/dist/{chunk-I7NP2ZAJ.js.map → chunk-GGFJ5OQ3.js.map} +0 -0
- /package/dist/{chunk-5A5SLX2F.js.map → chunk-KE2PMD6A.js.map} +0 -0
- /package/dist/{chunk-HHS3CJ7G.js.map → chunk-MNLQMAY3.js.map} +0 -0
- /package/dist/{chunk-742ZCG3D.js.map → chunk-NC3DJLP5.js.map} +0 -0
- /package/dist/{chunk-S5B3ZX6U.js.map → chunk-OVN265XQ.js.map} +0 -0
- /package/dist/{chunk-GEJQRRD2.js.map → chunk-T4SW6GOR.js.map} +0 -0
- /package/dist/{chunk-YX7RIC4Z.js.map → chunk-TOMTBXM7.js.map} +0 -0
- /package/dist/{chunk-DLXHC6JS.js.map → chunk-W7J46YKF.js.map} +0 -0
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
TASK_TYPE_TEXT_COLORS,
|
|
12
12
|
getStatusColorScheme,
|
|
13
13
|
init_pagination
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NDHQG4I4.js";
|
|
15
15
|
import {
|
|
16
16
|
init_next_navigation,
|
|
17
17
|
usePathname,
|
|
@@ -459,4 +459,4 @@ export {
|
|
|
459
459
|
DevCardRowSkeletonList,
|
|
460
460
|
DeliveryRow
|
|
461
461
|
};
|
|
462
|
-
//# sourceMappingURL=chunk-
|
|
462
|
+
//# sourceMappingURL=chunk-MNLQMAY3.js.map
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ArticleAuthorByline,
|
|
4
4
|
DetailPageSkeleton
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OVN265XQ.js";
|
|
6
6
|
import {
|
|
7
7
|
DocSearchBar,
|
|
8
8
|
useDocSearch
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-W7J46YKF.js";
|
|
10
10
|
import {
|
|
11
11
|
useSelfFetch
|
|
12
12
|
} from "./chunk-65VXW6GZ.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
getCaptionsUrl,
|
|
26
26
|
resolveContentHref,
|
|
27
27
|
useVideoWarmup
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-NDHQG4I4.js";
|
|
29
29
|
import {
|
|
30
30
|
buildOgPlaceholderUrl
|
|
31
31
|
} from "./chunk-SWGXCGQ3.js";
|
|
@@ -391,4 +391,4 @@ export {
|
|
|
391
391
|
useOnboardingGuide,
|
|
392
392
|
useOnboardingGuideSections
|
|
393
393
|
};
|
|
394
|
-
//# sourceMappingURL=chunk-
|
|
394
|
+
//# sourceMappingURL=chunk-NC3DJLP5.js.map
|
|
@@ -5672,6 +5672,10 @@ function ChipButton({ chip }) {
|
|
|
5672
5672
|
{
|
|
5673
5673
|
type: "button",
|
|
5674
5674
|
onClick: chip.onSelect,
|
|
5675
|
+
onMouseEnter: chip.onHoverStart,
|
|
5676
|
+
onMouseLeave: chip.onHoverEnd,
|
|
5677
|
+
onFocus: chip.onHoverStart,
|
|
5678
|
+
onBlur: chip.onHoverEnd,
|
|
5675
5679
|
className: "shrink-0 rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-ods-accent",
|
|
5676
5680
|
children: /* @__PURE__ */ jsx30(Tag, { variant: chip.variant ?? "outline", icon: chip.icon, label: chip.label })
|
|
5677
5681
|
}
|
|
@@ -6577,6 +6581,8 @@ function GuideWelcome({
|
|
|
6577
6581
|
subtitleLoading = false,
|
|
6578
6582
|
quickActions = [],
|
|
6579
6583
|
onQuickAction,
|
|
6584
|
+
onQuickActionHover,
|
|
6585
|
+
onQuickActionHoverEnd,
|
|
6580
6586
|
children,
|
|
6581
6587
|
className
|
|
6582
6588
|
}) {
|
|
@@ -6603,9 +6609,11 @@ function GuideWelcome({
|
|
|
6603
6609
|
() => quickActions.map((action) => ({
|
|
6604
6610
|
id: action.id,
|
|
6605
6611
|
label: action.label,
|
|
6606
|
-
onSelect: () => onQuickAction?.(action)
|
|
6612
|
+
onSelect: () => onQuickAction?.(action),
|
|
6613
|
+
onHoverStart: () => onQuickActionHover?.(action),
|
|
6614
|
+
onHoverEnd: () => onQuickActionHoverEnd?.()
|
|
6607
6615
|
})),
|
|
6608
|
-
[quickActions, onQuickAction]
|
|
6616
|
+
[quickActions, onQuickAction, onQuickActionHover, onQuickActionHoverEnd]
|
|
6609
6617
|
);
|
|
6610
6618
|
return /* @__PURE__ */ jsxs32(
|
|
6611
6619
|
"div",
|
|
@@ -48504,6 +48512,7 @@ function EmbeddableChatInner({
|
|
|
48504
48512
|
};
|
|
48505
48513
|
}, [isOpen, shellLess]);
|
|
48506
48514
|
const chatInputRef = useRef71(null);
|
|
48515
|
+
const quickActionDraftRef = useRef71(null);
|
|
48507
48516
|
const slashCommandsProp = useMemo43(
|
|
48508
48517
|
() => ({
|
|
48509
48518
|
fetchCommands: (prefix, signal) => fetchSlashCommands(prefix, signal, commandsUrl),
|
|
@@ -49032,8 +49041,22 @@ function EmbeddableChatInner({
|
|
|
49032
49041
|
...guideWelcome,
|
|
49033
49042
|
quickActions: guideWelcome?.quickActions ?? guideSuggestedActions,
|
|
49034
49043
|
onQuickAction: (action) => {
|
|
49044
|
+
quickActionDraftRef.current = null;
|
|
49045
|
+
chatInputRef.current?.setValue("");
|
|
49035
49046
|
handleSend(action.prompt ?? action.label);
|
|
49036
49047
|
},
|
|
49048
|
+
onQuickActionHover: (action) => {
|
|
49049
|
+
if (quickActionDraftRef.current === null) {
|
|
49050
|
+
quickActionDraftRef.current = chatInputRef.current?.getValue() ?? "";
|
|
49051
|
+
}
|
|
49052
|
+
chatInputRef.current?.setValue(action.prompt ?? action.label);
|
|
49053
|
+
},
|
|
49054
|
+
onQuickActionHoverEnd: () => {
|
|
49055
|
+
if (quickActionDraftRef.current !== null) {
|
|
49056
|
+
chatInputRef.current?.setValue(quickActionDraftRef.current);
|
|
49057
|
+
quickActionDraftRef.current = null;
|
|
49058
|
+
}
|
|
49059
|
+
},
|
|
49037
49060
|
children: (chipCommands.length > 0 || !commandsLoaded) && /* @__PURE__ */ jsxs265("div", { className: "shrink-0 overflow-hidden rounded-md border border-ods-border", children: [
|
|
49038
49061
|
!commandsLoaded && chipCommands.length === 0 && SKELETON_ROW_VARIANTS.map((variant, i) => /* @__PURE__ */ jsx329(
|
|
49039
49062
|
MingoOnboardingCardSkeleton,
|
|
@@ -50107,4 +50130,4 @@ export {
|
|
|
50107
50130
|
FAE_AVATAR_DATA_URI,
|
|
50108
50131
|
assets
|
|
50109
50132
|
};
|
|
50110
|
-
//# sourceMappingURL=chunk-
|
|
50133
|
+
//# sourceMappingURL=chunk-NDHQG4I4.js.map
|