@flamingo-stack/openframe-frontend-core 0.0.602 → 0.0.603-2095.5801.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-M4EXSVPN.js → chunk-2REFTU5Z.js} +5 -5
- package/dist/{chunk-3Z7NYCEO.cjs → chunk-54Y7ZCJA.cjs} +4 -4
- package/dist/{chunk-3Z7NYCEO.cjs.map → chunk-54Y7ZCJA.cjs.map} +1 -1
- package/dist/{chunk-4OI4DEKP.cjs → chunk-6QQY6B6Y.cjs} +70 -70
- package/dist/{chunk-4OI4DEKP.cjs.map → chunk-6QQY6B6Y.cjs.map} +1 -1
- package/dist/{chunk-JEFVZP22.cjs → chunk-7EUDSE4S.cjs} +22 -22
- package/dist/{chunk-JEFVZP22.cjs.map → chunk-7EUDSE4S.cjs.map} +1 -1
- package/dist/{chunk-2TXJ3K6S.js → chunk-7HHOAQF4.js} +2 -2
- package/dist/{chunk-HXMLSTDC.js → chunk-AX463GYE.js} +5 -5
- package/dist/{chunk-WP5VWQ2E.cjs → chunk-GBSPNG2K.cjs} +25 -25
- package/dist/{chunk-WP5VWQ2E.cjs.map → chunk-GBSPNG2K.cjs.map} +1 -1
- package/dist/{chunk-SOUIKJO4.js → chunk-GZ45MRAX.js} +6 -6
- package/dist/{chunk-T2K3Z6GM.js → chunk-H2RIQFAA.js} +2 -2
- package/dist/{chunk-OBLFGKVT.js → chunk-I6OHLSE5.js} +5 -5
- package/dist/{chunk-SWVHCWLG.js → chunk-JGSEBZYO.js} +28 -4
- package/dist/chunk-JGSEBZYO.js.map +1 -0
- package/dist/{chunk-DO4XE56J.cjs → chunk-K3ZL24DK.cjs} +3 -3
- package/dist/{chunk-DO4XE56J.cjs.map → chunk-K3ZL24DK.cjs.map} +1 -1
- package/dist/{chunk-TIFNG7GH.js → chunk-KAXW74VF.js} +3 -3
- package/dist/{chunk-R5IK4U6T.cjs → chunk-L35VMDAG.cjs} +5 -5
- package/dist/{chunk-R5IK4U6T.cjs.map → chunk-L35VMDAG.cjs.map} +1 -1
- package/dist/{chunk-EWIZQGKZ.js → chunk-L4DBKYQA.js} +2 -2
- package/dist/{chunk-BFTEZAOS.cjs → chunk-LEP3RYNZ.cjs} +159 -159
- package/dist/{chunk-BFTEZAOS.cjs.map → chunk-LEP3RYNZ.cjs.map} +1 -1
- package/dist/{chunk-7OYP74N7.cjs → chunk-MC3UOVDZ.cjs} +22 -22
- package/dist/{chunk-7OYP74N7.cjs.map → chunk-MC3UOVDZ.cjs.map} +1 -1
- package/dist/{chunk-YR736WKJ.cjs → chunk-NTMC6LMC.cjs} +9 -9
- package/dist/{chunk-YR736WKJ.cjs.map → chunk-NTMC6LMC.cjs.map} +1 -1
- package/dist/{chunk-JXDKGDRT.js → chunk-OR6LZ5UW.js} +2 -2
- package/dist/{chunk-B7A5PTHM.cjs → chunk-R3XNNQEH.cjs} +10 -10
- package/dist/{chunk-B7A5PTHM.cjs.map → chunk-R3XNNQEH.cjs.map} +1 -1
- package/dist/{chunk-MKKIXKDI.cjs → chunk-RILYUPQM.cjs} +10 -10
- package/dist/{chunk-MKKIXKDI.cjs.map → chunk-RILYUPQM.cjs.map} +1 -1
- package/dist/{chunk-7LVLVRMX.js → chunk-SKAXS24F.js} +4 -4
- package/dist/{chunk-FBMAGTYJ.js → chunk-SQ6QPSKS.js} +2 -2
- package/dist/{chunk-AC5XNLYM.cjs → chunk-UFKTOU3I.cjs} +3 -3
- package/dist/{chunk-AC5XNLYM.cjs.map → chunk-UFKTOU3I.cjs.map} +1 -1
- package/dist/{chunk-GVXIXNZR.js → chunk-UQC5M4AY.js} +3 -3
- package/dist/{chunk-KESRJY6J.cjs → chunk-VK743MVL.cjs} +28 -4
- package/dist/chunk-VK743MVL.cjs.map +1 -0
- package/dist/{chunk-F4CCZV5A.cjs → chunk-VSM2JWEL.cjs} +33 -33
- package/dist/{chunk-F4CCZV5A.cjs.map → chunk-VSM2JWEL.cjs.map} +1 -1
- package/dist/{chunk-WD3Y2262.js → chunk-WE77XHE4.js} +3 -3
- package/dist/{chunk-3KN6IWOT.cjs → chunk-Y3AQ3AAJ.cjs} +43 -43
- package/dist/{chunk-3KN6IWOT.cjs.map → chunk-Y3AQ3AAJ.cjs.map} +1 -1
- package/dist/{chunk-XRV45XDL.cjs → chunk-YRKHQBVC.cjs} +15 -15
- package/dist/{chunk-XRV45XDL.cjs.map → chunk-YRKHQBVC.cjs.map} +1 -1
- package/dist/{chunk-BAZIRYY7.js → chunk-ZUBJWOWG.js} +3 -3
- package/dist/{chunk-Q55VMD66.js → chunk-ZWY3MICH.js} +3 -3
- package/dist/components/case-studies/index.cjs +9 -9
- package/dist/components/case-studies/index.js +3 -3
- package/dist/components/chat/entity-cards/chat-ticket-item.d.ts +12 -0
- package/dist/components/chat/entity-cards/chat-ticket-item.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 +4 -4
- package/dist/components/contact/index.js +3 -3
- package/dist/components/docs/index.cjs +7 -7
- package/dist/components/docs/index.js +6 -6
- package/dist/components/embeds/index.cjs +4 -4
- package/dist/components/embeds/index.js +3 -3
- package/dist/components/faq/index.cjs +4 -4
- package/dist/components/faq/index.js +3 -3
- package/dist/components/features/index.cjs +3 -3
- package/dist/components/features/index.js +2 -2
- package/dist/components/help-center-pages/index.cjs +23 -23
- package/dist/components/help-center-pages/index.js +14 -14
- package/dist/components/index.cjs +38 -38
- package/dist/components/index.js +13 -13
- package/dist/components/meeting-scheduler/index.cjs +24 -24
- package/dist/components/meeting-scheduler/index.js +2 -2
- package/dist/components/navigation/index.cjs +6 -6
- package/dist/components/navigation/index.js +5 -5
- package/dist/components/onboarding-guides/index.cjs +6 -6
- package/dist/components/onboarding-guides/index.js +5 -5
- package/dist/components/tickets/index.cjs +7 -7
- package/dist/components/tickets/index.js +6 -6
- package/dist/components/ui/index.cjs +3 -3
- package/dist/components/ui/index.js +2 -2
- package/dist/index.cjs +7 -7
- package/dist/index.js +6 -6
- package/package.json +1 -1
- package/src/components/chat/__tests__/chat-ticket-item.test.tsx +79 -0
- package/src/components/chat/entity-cards/chat-ticket-item.tsx +30 -4
- package/src/stories/ChatTicketList.stories.tsx +25 -0
- package/dist/chunk-KESRJY6J.cjs.map +0 -1
- package/dist/chunk-SWVHCWLG.js.map +0 -1
- /package/dist/{chunk-M4EXSVPN.js.map → chunk-2REFTU5Z.js.map} +0 -0
- /package/dist/{chunk-2TXJ3K6S.js.map → chunk-7HHOAQF4.js.map} +0 -0
- /package/dist/{chunk-HXMLSTDC.js.map → chunk-AX463GYE.js.map} +0 -0
- /package/dist/{chunk-SOUIKJO4.js.map → chunk-GZ45MRAX.js.map} +0 -0
- /package/dist/{chunk-T2K3Z6GM.js.map → chunk-H2RIQFAA.js.map} +0 -0
- /package/dist/{chunk-OBLFGKVT.js.map → chunk-I6OHLSE5.js.map} +0 -0
- /package/dist/{chunk-TIFNG7GH.js.map → chunk-KAXW74VF.js.map} +0 -0
- /package/dist/{chunk-EWIZQGKZ.js.map → chunk-L4DBKYQA.js.map} +0 -0
- /package/dist/{chunk-JXDKGDRT.js.map → chunk-OR6LZ5UW.js.map} +0 -0
- /package/dist/{chunk-7LVLVRMX.js.map → chunk-SKAXS24F.js.map} +0 -0
- /package/dist/{chunk-FBMAGTYJ.js.map → chunk-SQ6QPSKS.js.map} +0 -0
- /package/dist/{chunk-GVXIXNZR.js.map → chunk-UQC5M4AY.js.map} +0 -0
- /package/dist/{chunk-WD3Y2262.js.map → chunk-WE77XHE4.js.map} +0 -0
- /package/dist/{chunk-BAZIRYY7.js.map → chunk-ZUBJWOWG.js.map} +0 -0
- /package/dist/{chunk-Q55VMD66.js.map → chunk-ZWY3MICH.js.map} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
ContactForm
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UQC5M4AY.js";
|
|
5
5
|
import {
|
|
6
6
|
DeliveryRow,
|
|
7
7
|
DevCardRowContent,
|
|
8
8
|
DevCardRowSkeletonList,
|
|
9
9
|
DevSectionPage
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OR6LZ5UW.js";
|
|
11
11
|
import {
|
|
12
12
|
EmptyState,
|
|
13
13
|
UnifiedPagination
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
TOAST_COPY,
|
|
19
19
|
isOptimistic,
|
|
20
20
|
useOptionalTicketLive
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KAXW74VF.js";
|
|
22
22
|
import {
|
|
23
23
|
AlertDialog,
|
|
24
24
|
AlertDialogAction,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
Textarea,
|
|
35
35
|
TicketAttachmentsList,
|
|
36
36
|
devSectionAnchorId
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-H2RIQFAA.js";
|
|
38
38
|
import {
|
|
39
39
|
toast,
|
|
40
40
|
useScrollToHash
|
|
@@ -58,7 +58,7 @@ import {
|
|
|
58
58
|
formatRelativeTime,
|
|
59
59
|
useChatAttachments,
|
|
60
60
|
useChatIdentity
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-JGSEBZYO.js";
|
|
62
62
|
import {
|
|
63
63
|
STICKY_HEADER_OFFSET_PX,
|
|
64
64
|
scrollElementIntoView
|
|
@@ -1845,4 +1845,4 @@ export {
|
|
|
1845
1845
|
HelpCenterCreateForm,
|
|
1846
1846
|
HelpCenterList
|
|
1847
1847
|
};
|
|
1848
|
-
//# sourceMappingURL=chunk-
|
|
1848
|
+
//# sourceMappingURL=chunk-GZ45MRAX.js.map
|
|
@@ -91,7 +91,7 @@ import {
|
|
|
91
91
|
useCollapsible,
|
|
92
92
|
useIsHydrated,
|
|
93
93
|
useScrollFade
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-JGSEBZYO.js";
|
|
95
95
|
import {
|
|
96
96
|
NEAR_VIEWPORT_ROOT_MARGIN,
|
|
97
97
|
ToolIcon,
|
|
@@ -30771,4 +30771,4 @@ export {
|
|
|
30771
30771
|
LazyMount,
|
|
30772
30772
|
IconTile
|
|
30773
30773
|
};
|
|
30774
|
-
//# sourceMappingURL=chunk-
|
|
30774
|
+
//# sourceMappingURL=chunk-H2RIQFAA.js.map
|
|
@@ -3,16 +3,16 @@ import {
|
|
|
3
3
|
FileDownloadCard,
|
|
4
4
|
GoogleSheetsViewer,
|
|
5
5
|
PdfViewer
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-L4DBKYQA.js";
|
|
7
7
|
import {
|
|
8
8
|
MobileNavigationDropdown,
|
|
9
9
|
MultiLevelNavigation,
|
|
10
10
|
StickySectionNav
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-7HHOAQF4.js";
|
|
12
12
|
import {
|
|
13
13
|
DocSearchBar,
|
|
14
14
|
useDocSearch
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZWY3MICH.js";
|
|
16
16
|
import {
|
|
17
17
|
CategorySidebarSkeleton,
|
|
18
18
|
DEFAULT_FOLDER_INDEX_FILE,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
findDocNodeByPath,
|
|
23
23
|
getDocAncestorNodeIds,
|
|
24
24
|
stripFolderIndexFromPath
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-H2RIQFAA.js";
|
|
26
26
|
import {
|
|
27
27
|
contentFetch
|
|
28
28
|
} from "./chunk-BVQEU5JB.js";
|
|
@@ -1050,4 +1050,4 @@ export {
|
|
|
1050
1050
|
EmbedSkeleton,
|
|
1051
1051
|
DocsHubPage
|
|
1052
1052
|
};
|
|
1053
|
-
//# sourceMappingURL=chunk-
|
|
1053
|
+
//# sourceMappingURL=chunk-I6OHLSE5.js.map
|
|
@@ -8986,6 +8986,7 @@ function ScrollShadow({
|
|
|
8986
8986
|
import { ChevronRight } from "lucide-react";
|
|
8987
8987
|
import { forwardRef as forwardRef18 } from "react";
|
|
8988
8988
|
import { jsx as jsx47, jsxs as jsxs34 } from "react/jsx-runtime";
|
|
8989
|
+
var UNREAD_NOTICE = "You have a new unread message";
|
|
8989
8990
|
var ChatTicketItem = forwardRef18(
|
|
8990
8991
|
({ className, ticket, onClick, isLoading = false, ...props }, ref) => {
|
|
8991
8992
|
if (isLoading) {
|
|
@@ -9017,7 +9018,8 @@ var ChatTicketItem = forwardRef18(
|
|
|
9017
9018
|
statusColor: ticket.statusColor
|
|
9018
9019
|
});
|
|
9019
9020
|
const isResolved = ticket.statusKind === "RESOLVED" || resolveTicketStatus(ticket.status) === "RESOLVED";
|
|
9020
|
-
const
|
|
9021
|
+
const composedSubtitle = [ticket.ticketNumber, ticket.category, ticket.timeAgo].filter(Boolean).join(" \u2022 ");
|
|
9022
|
+
const subtitle = ticket.subtitle ?? (ticket.unread ? UNREAD_NOTICE : composedSubtitle);
|
|
9021
9023
|
return /* @__PURE__ */ jsxs34(
|
|
9022
9024
|
"button",
|
|
9023
9025
|
{
|
|
@@ -9048,7 +9050,14 @@ var ChatTicketItem = forwardRef18(
|
|
|
9048
9050
|
children: ticket.title
|
|
9049
9051
|
}
|
|
9050
9052
|
),
|
|
9051
|
-
subtitle && /* @__PURE__ */ jsx47(
|
|
9053
|
+
subtitle && /* @__PURE__ */ jsx47(
|
|
9054
|
+
"p",
|
|
9055
|
+
{
|
|
9056
|
+
className: cn("truncate text-h6", ticket.unread ? "text-ods-open-yellow" : "text-ods-text-secondary"),
|
|
9057
|
+
title: subtitle,
|
|
9058
|
+
children: subtitle
|
|
9059
|
+
}
|
|
9060
|
+
)
|
|
9052
9061
|
] }),
|
|
9053
9062
|
ticket.linkedTaskLabel && /* @__PURE__ */ jsx47(
|
|
9054
9063
|
Tag,
|
|
@@ -9060,7 +9069,22 @@ var ChatTicketItem = forwardRef18(
|
|
|
9060
9069
|
}
|
|
9061
9070
|
),
|
|
9062
9071
|
(statusTagProps.status || statusTagProps.label) && /* @__PURE__ */ jsx47(TicketStatusTag, { ...statusTagProps }),
|
|
9063
|
-
/* @__PURE__ */ jsx47(
|
|
9072
|
+
/* @__PURE__ */ jsx47(
|
|
9073
|
+
"div",
|
|
9074
|
+
{
|
|
9075
|
+
"data-testid": "chat-ticket-item-chevron",
|
|
9076
|
+
className: cn(
|
|
9077
|
+
"flex size-12 shrink-0 items-center justify-center rounded-md border",
|
|
9078
|
+
ticket.unread ? "border-ods-open-yellow bg-ods-open-yellow" : "border-ods-border bg-ods-card"
|
|
9079
|
+
),
|
|
9080
|
+
children: /* @__PURE__ */ jsx47(
|
|
9081
|
+
ChevronRight,
|
|
9082
|
+
{
|
|
9083
|
+
className: cn("size-6", ticket.unread ? "text-ods-text-on-accent" : "text-ods-text-secondary")
|
|
9084
|
+
}
|
|
9085
|
+
)
|
|
9086
|
+
}
|
|
9087
|
+
)
|
|
9064
9088
|
]
|
|
9065
9089
|
}
|
|
9066
9090
|
);
|
|
@@ -25400,4 +25424,4 @@ export {
|
|
|
25400
25424
|
buildStreamFrames,
|
|
25401
25425
|
EmbeddableChat
|
|
25402
25426
|
};
|
|
25403
|
-
//# sourceMappingURL=chunk-
|
|
25427
|
+
//# sourceMappingURL=chunk-JGSEBZYO.js.map
|