@flamingo-stack/openframe-frontend-core 0.0.522 → 0.0.523-1675.4360.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.
- package/dist/{chunk-XCI5F273.cjs → chunk-37S3DSDE.cjs} +4 -4
- package/dist/{chunk-XCI5F273.cjs.map → chunk-37S3DSDE.cjs.map} +1 -1
- package/dist/{chunk-VXSGV2VP.js → chunk-7LXQ5XOQ.js} +2 -2
- package/dist/{chunk-FRFXBRST.cjs → chunk-7QMFZFWJ.cjs} +26 -26
- package/dist/{chunk-FRFXBRST.cjs.map → chunk-7QMFZFWJ.cjs.map} +1 -1
- package/dist/{chunk-PZGS25UT.cjs → chunk-A7OYLDMC.cjs} +6 -7
- package/dist/chunk-A7OYLDMC.cjs.map +1 -0
- package/dist/{chunk-GZIJUOER.js → chunk-BU6NFK74.js} +5 -5
- package/dist/{chunk-WEEOC4DQ.js → chunk-DBVBYB3T.js} +15 -16
- package/dist/chunk-DBVBYB3T.js.map +1 -0
- package/dist/{chunk-FL4IQO6P.cjs → chunk-DUSJUG6M.cjs} +11 -11
- package/dist/{chunk-FL4IQO6P.cjs.map → chunk-DUSJUG6M.cjs.map} +1 -1
- package/dist/{chunk-WZR4RNJN.cjs → chunk-FNMFRVLF.cjs} +37 -37
- package/dist/{chunk-WZR4RNJN.cjs.map → chunk-FNMFRVLF.cjs.map} +1 -1
- package/dist/{chunk-IO3PCG3Z.js → chunk-GJLBLXOZ.js} +2 -2
- package/dist/{chunk-ZVPLTDNE.cjs → chunk-GMCBFXM6.cjs} +26 -26
- package/dist/{chunk-ZVPLTDNE.cjs.map → chunk-GMCBFXM6.cjs.map} +1 -1
- package/dist/{chunk-Q74DY577.js → chunk-IE2FOJFA.js} +2 -2
- package/dist/{chunk-66XVK6ZG.cjs → chunk-IZSLOJCQ.cjs} +31 -31
- package/dist/{chunk-66XVK6ZG.cjs.map → chunk-IZSLOJCQ.cjs.map} +1 -1
- package/dist/{chunk-S7BB62B4.cjs → chunk-J544COLB.cjs} +9 -9
- package/dist/{chunk-S7BB62B4.cjs.map → chunk-J544COLB.cjs.map} +1 -1
- package/dist/{chunk-ZVVEXK44.js → chunk-JEFNDGNP.js} +2 -2
- package/dist/{chunk-UUFE74C7.js → chunk-JIEDH3RE.js} +2 -2
- package/dist/{chunk-HTQBSPHP.js → chunk-K2EAMPJA.js} +2 -2
- package/dist/{chunk-JL3X7DPB.js → chunk-LCMKRGJK.js} +2 -2
- package/dist/{chunk-3T3YTENO.js → chunk-M4VA2S4M.js} +2 -2
- package/dist/{chunk-SS3AJW6C.js → chunk-NHCIBEP7.js} +4 -4
- package/dist/{chunk-SAAKOLLH.cjs → chunk-NQ6VBHV3.cjs} +5 -5
- package/dist/{chunk-SAAKOLLH.cjs.map → chunk-NQ6VBHV3.cjs.map} +1 -1
- package/dist/{chunk-IBHUZFIZ.js → chunk-OBYNPIMQ.js} +4 -4
- package/dist/{chunk-FVXRZ474.cjs → chunk-ORI4OIJR.cjs} +14 -14
- package/dist/{chunk-FVXRZ474.cjs.map → chunk-ORI4OIJR.cjs.map} +1 -1
- package/dist/{chunk-RWTD4NQ2.cjs → chunk-OZIY4DVQ.cjs} +3 -3
- package/dist/{chunk-RWTD4NQ2.cjs.map → chunk-OZIY4DVQ.cjs.map} +1 -1
- package/dist/{chunk-MZ2MPY3B.js → chunk-Q6FQGEVJ.js} +6 -6
- package/dist/{chunk-QUPS6IAR.cjs → chunk-RZRS4ZJO.cjs} +7 -7
- package/dist/{chunk-QUPS6IAR.cjs.map → chunk-RZRS4ZJO.cjs.map} +1 -1
- package/dist/{chunk-K4ORVGWE.cjs → chunk-UWD4GPQP.cjs} +87 -87
- package/dist/{chunk-K4ORVGWE.cjs.map → chunk-UWD4GPQP.cjs.map} +1 -1
- package/dist/{chunk-AEDRJEID.cjs → chunk-YBAY6RQR.cjs} +61 -61
- package/dist/{chunk-AEDRJEID.cjs.map → chunk-YBAY6RQR.cjs.map} +1 -1
- package/dist/{chunk-GZZG7MTN.js → chunk-ZDAVEGZS.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/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 +22 -22
- package/dist/components/help-center-pages/index.js +13 -13
- package/dist/components/index.cjs +132 -132
- package/dist/components/index.js +11 -11
- package/dist/components/meeting-scheduler/index.cjs +34 -34
- package/dist/components/meeting-scheduler/index.js +3 -3
- 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 +6 -6
- package/dist/components/tickets/index.js +5 -5
- package/dist/components/ui/index.cjs +2 -2
- package/dist/components/ui/index.js +1 -1
- package/dist/components/ui/modal-v2.d.ts.map +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +3 -2
- package/src/components/ui/modal-v2.tsx +12 -5
- package/dist/chunk-PZGS25UT.cjs.map +0 -1
- package/dist/chunk-WEEOC4DQ.js.map +0 -1
- /package/dist/{chunk-VXSGV2VP.js.map → chunk-7LXQ5XOQ.js.map} +0 -0
- /package/dist/{chunk-GZIJUOER.js.map → chunk-BU6NFK74.js.map} +0 -0
- /package/dist/{chunk-IO3PCG3Z.js.map → chunk-GJLBLXOZ.js.map} +0 -0
- /package/dist/{chunk-Q74DY577.js.map → chunk-IE2FOJFA.js.map} +0 -0
- /package/dist/{chunk-ZVVEXK44.js.map → chunk-JEFNDGNP.js.map} +0 -0
- /package/dist/{chunk-UUFE74C7.js.map → chunk-JIEDH3RE.js.map} +0 -0
- /package/dist/{chunk-HTQBSPHP.js.map → chunk-K2EAMPJA.js.map} +0 -0
- /package/dist/{chunk-JL3X7DPB.js.map → chunk-LCMKRGJK.js.map} +0 -0
- /package/dist/{chunk-3T3YTENO.js.map → chunk-M4VA2S4M.js.map} +0 -0
- /package/dist/{chunk-SS3AJW6C.js.map → chunk-NHCIBEP7.js.map} +0 -0
- /package/dist/{chunk-IBHUZFIZ.js.map → chunk-OBYNPIMQ.js.map} +0 -0
- /package/dist/{chunk-MZ2MPY3B.js.map → chunk-Q6FQGEVJ.js.map} +0 -0
- /package/dist/{chunk-GZZG7MTN.js.map → chunk-ZDAVEGZS.js.map} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
ContactForm
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZDAVEGZS.js";
|
|
5
5
|
import {
|
|
6
6
|
DeliveryRow,
|
|
7
7
|
DevCardRowContent,
|
|
8
8
|
DevCardRowSkeletonList,
|
|
9
9
|
DevSectionPage
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-K2EAMPJA.js";
|
|
11
11
|
import {
|
|
12
12
|
EmptyState,
|
|
13
13
|
UnifiedPagination,
|
|
14
14
|
init_unified_pagination
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7LXQ5XOQ.js";
|
|
16
16
|
import {
|
|
17
17
|
AlertDialog,
|
|
18
18
|
AlertDialogAction,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
useChatAttachments,
|
|
47
47
|
useChatIdentity,
|
|
48
48
|
useOptionalTicketLive
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-DBVBYB3T.js";
|
|
50
50
|
import {
|
|
51
51
|
STICKY_HEADER_OFFSET_PX,
|
|
52
52
|
embedAuthedFetch,
|
|
@@ -1938,4 +1938,4 @@ export {
|
|
|
1938
1938
|
HelpCenterCreateForm,
|
|
1939
1939
|
HelpCenterList
|
|
1940
1940
|
};
|
|
1941
|
-
//# sourceMappingURL=chunk-
|
|
1941
|
+
//# sourceMappingURL=chunk-BU6NFK74.js.map
|
|
@@ -10691,7 +10691,7 @@ import * as React27 from "react";
|
|
|
10691
10691
|
// src/components/ui/modal-v2.tsx
|
|
10692
10692
|
import * as React26 from "react";
|
|
10693
10693
|
import { useEffect as useEffect15, useState as useState21 } from "react";
|
|
10694
|
-
import {
|
|
10694
|
+
import { RemoveScroll } from "react-remove-scroll";
|
|
10695
10695
|
init_cn();
|
|
10696
10696
|
import { jsx as jsx55, jsxs as jsxs45 } from "react/jsx-runtime";
|
|
10697
10697
|
var ANIMATION_DURATION = 200;
|
|
@@ -10776,10 +10776,9 @@ var Modal = React26.forwardRef(
|
|
|
10776
10776
|
const timeout = setTimeout(() => setIsMounted(false), ANIMATION_DURATION);
|
|
10777
10777
|
return () => clearTimeout(timeout);
|
|
10778
10778
|
}, [isOpen]);
|
|
10779
|
-
usePreventScroll({ isDisabled: !isOpen });
|
|
10780
10779
|
useEffect15(() => {
|
|
10781
10780
|
const handleKeyDown = (event) => {
|
|
10782
|
-
if (event.key === "Escape") {
|
|
10781
|
+
if (event.key === "Escape" && !event.defaultPrevented) {
|
|
10783
10782
|
onClose();
|
|
10784
10783
|
}
|
|
10785
10784
|
};
|
|
@@ -10790,7 +10789,7 @@ var Modal = React26.forwardRef(
|
|
|
10790
10789
|
}, [isOpen, onClose]);
|
|
10791
10790
|
if (!isMounted) return null;
|
|
10792
10791
|
const state = isOpen ? "open" : "closed";
|
|
10793
|
-
return /* @__PURE__ */ jsxs45("div", { className: "fixed inset-0 z-[1300] flex items-end md:items-center justify-center", children: [
|
|
10792
|
+
return /* @__PURE__ */ jsx55(RemoveScroll, { enabled: isOpen, removeScrollBar: false, children: /* @__PURE__ */ jsxs45("div", { className: "fixed inset-0 z-[1300] flex items-end md:items-center justify-center", children: [
|
|
10794
10793
|
/* @__PURE__ */ jsx55(
|
|
10795
10794
|
"div",
|
|
10796
10795
|
{
|
|
@@ -10845,7 +10844,7 @@ var Modal = React26.forwardRef(
|
|
|
10845
10844
|
children: /* @__PURE__ */ jsx55(ModalContext.Provider, { value: { onClose }, children })
|
|
10846
10845
|
}
|
|
10847
10846
|
)
|
|
10848
|
-
] });
|
|
10847
|
+
] }) });
|
|
10849
10848
|
}
|
|
10850
10849
|
);
|
|
10851
10850
|
Modal.displayName = "ModalV2";
|
|
@@ -21231,11 +21230,11 @@ DialogDescription.displayName = DialogPrimitive.Description.displayName;
|
|
|
21231
21230
|
init_cn();
|
|
21232
21231
|
import * as React67 from "react";
|
|
21233
21232
|
import { useEffect as useEffect35 } from "react";
|
|
21234
|
-
import { usePreventScroll
|
|
21233
|
+
import { usePreventScroll } from "@react-aria/overlays";
|
|
21235
21234
|
import { jsx as jsx137, jsxs as jsxs107 } from "react/jsx-runtime";
|
|
21236
21235
|
var Modal2 = React67.forwardRef(
|
|
21237
21236
|
({ isOpen, onClose, children, className }, ref) => {
|
|
21238
|
-
|
|
21237
|
+
usePreventScroll({ isDisabled: !isOpen });
|
|
21239
21238
|
useEffect35(() => {
|
|
21240
21239
|
const handleKeyDown = (event) => {
|
|
21241
21240
|
if (event.key === "Escape") {
|
|
@@ -40034,14 +40033,14 @@ function MingoAiButton({ source, icon, label = "Mingo AI", className, onClick, .
|
|
|
40034
40033
|
|
|
40035
40034
|
// src/components/navigation/mobile-nav-panel.tsx
|
|
40036
40035
|
import { useRef as useRef49 } from "react";
|
|
40037
|
-
import { usePreventScroll as
|
|
40036
|
+
import { usePreventScroll as usePreventScroll2 } from "@react-aria/overlays";
|
|
40038
40037
|
init_button2();
|
|
40039
40038
|
import { X as X10 } from "lucide-react";
|
|
40040
40039
|
import { Fragment as Fragment57, jsx as jsx291, jsxs as jsxs226 } from "react/jsx-runtime";
|
|
40041
40040
|
var MOBILE_NAV_PANEL_ID = "mobile-nav-panel";
|
|
40042
40041
|
function MobileNavPanel({ isOpen, config }) {
|
|
40043
40042
|
const panelRef = useRef49(null);
|
|
40044
|
-
|
|
40043
|
+
usePreventScroll2({ isDisabled: !isOpen });
|
|
40045
40044
|
useFocusTrap(panelRef, isOpen, { onEscape: config.onClose });
|
|
40046
40045
|
const headerHeight = useHeaderHeight(64, { enabled: isOpen });
|
|
40047
40046
|
if (!isOpen) return null;
|
|
@@ -40930,7 +40929,7 @@ function ClientOnlyHeader({ config, skeleton }) {
|
|
|
40930
40929
|
// src/components/navigation/sliding-sidebar.tsx
|
|
40931
40930
|
import { useState as useState93, useEffect as useEffect71, useRef as useRef51 } from "react";
|
|
40932
40931
|
import { motion as motion2, AnimatePresence, useReducedMotion } from "framer-motion";
|
|
40933
|
-
import { usePreventScroll as
|
|
40932
|
+
import { usePreventScroll as usePreventScroll3 } from "@react-aria/overlays";
|
|
40934
40933
|
init_button2();
|
|
40935
40934
|
import { Fragment as Fragment60, jsx as jsx298, jsxs as jsxs231 } from "react/jsx-runtime";
|
|
40936
40935
|
function SlidingSidebar({ config }) {
|
|
@@ -40939,7 +40938,7 @@ function SlidingSidebar({ config }) {
|
|
|
40939
40938
|
const headerHeight = useHeaderHeight();
|
|
40940
40939
|
const asideRef = useRef51(null);
|
|
40941
40940
|
const prefersReducedMotion2 = useReducedMotion();
|
|
40942
|
-
|
|
40941
|
+
usePreventScroll3({ isDisabled: !config.isOpen });
|
|
40943
40942
|
useFocusTrap(asideRef, config.isOpen, { onEscape: config.onClose, contain: false });
|
|
40944
40943
|
useEffect71(() => {
|
|
40945
40944
|
setMounted(true);
|
|
@@ -42010,7 +42009,7 @@ import { useCallback as useCallback39, useMemo as useMemo43, useRef as useRef54,
|
|
|
42010
42009
|
|
|
42011
42010
|
// src/components/navigation/mobile-burger-menu.tsx
|
|
42012
42011
|
import React120, { useCallback as useCallback38, useRef as useRef53 } from "react";
|
|
42013
|
-
import { usePreventScroll as
|
|
42012
|
+
import { usePreventScroll as usePreventScroll4 } from "@react-aria/overlays";
|
|
42014
42013
|
import { Fragment as Fragment64, jsx as jsx308, jsxs as jsxs241 } from "react/jsx-runtime";
|
|
42015
42014
|
var HEADER_HEIGHT = 56;
|
|
42016
42015
|
var MobileBurgerMenu = React120.memo(function MobileBurgerMenu2({
|
|
@@ -42024,7 +42023,7 @@ var MobileBurgerMenu = React120.memo(function MobileBurgerMenu2({
|
|
|
42024
42023
|
disabled = false
|
|
42025
42024
|
}) {
|
|
42026
42025
|
const panelRef = useRef53(null);
|
|
42027
|
-
|
|
42026
|
+
usePreventScroll4({ isDisabled: !isOpen });
|
|
42028
42027
|
useFocusTrap(panelRef, isOpen, { onEscape: onClose });
|
|
42029
42028
|
const handleItemClick = useCallback38((item) => {
|
|
42030
42029
|
if (item.onClick) {
|
|
@@ -58624,7 +58623,7 @@ function buildStreamFrames(messages) {
|
|
|
58624
58623
|
init_cn();
|
|
58625
58624
|
import { useCallback as useCallback58, useEffect as useEffect94, useMemo as useMemo56, useRef as useRef82, useState as useState125 } from "react";
|
|
58626
58625
|
import * as DialogPrimitive5 from "@radix-ui/react-dialog";
|
|
58627
|
-
import { usePreventScroll as
|
|
58626
|
+
import { usePreventScroll as usePreventScroll5 } from "@react-aria/overlays";
|
|
58628
58627
|
import { isIOS } from "@react-aria/utils";
|
|
58629
58628
|
|
|
58630
58629
|
// node_modules/@radix-ui/react-visually-hidden/dist/index.mjs
|
|
@@ -59253,7 +59252,7 @@ function EmbeddableChatInner({
|
|
|
59253
59252
|
if (typeof window === "undefined") return false;
|
|
59254
59253
|
return !window.matchMedia("(pointer: coarse)").matches;
|
|
59255
59254
|
});
|
|
59256
|
-
|
|
59255
|
+
usePreventScroll5({ isDisabled: !isOpen || shellLess });
|
|
59257
59256
|
const navigatingAwayRef = useRef82(false);
|
|
59258
59257
|
useEffect94(() => {
|
|
59259
59258
|
if (!isOpen) return;
|
|
@@ -61401,4 +61400,4 @@ export {
|
|
|
61401
61400
|
LogsList,
|
|
61402
61401
|
assets
|
|
61403
61402
|
};
|
|
61404
|
-
//# sourceMappingURL=chunk-
|
|
61403
|
+
//# sourceMappingURL=chunk-DBVBYB3T.js.map
|