@flamingo-stack/openframe-frontend-core 0.0.292 → 0.0.293
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-6FHO73AP.js → chunk-26PKDALD.js} +7 -79
- package/dist/chunk-26PKDALD.js.map +1 -0
- package/dist/{chunk-B2U6INNO.js → chunk-2U2M2TG2.js} +4 -4
- package/dist/{chunk-OXOTKEYY.cjs → chunk-4W7NYJ3B.cjs} +23 -23
- package/dist/{chunk-OXOTKEYY.cjs.map → chunk-4W7NYJ3B.cjs.map} +1 -1
- package/dist/{chunk-KBKZYJRI.cjs → chunk-5E2HOSSH.cjs} +66 -19
- package/dist/chunk-5E2HOSSH.cjs.map +1 -0
- package/dist/{chunk-PZZGDS5I.cjs → chunk-6G2INVGG.cjs} +24 -22
- package/dist/chunk-6G2INVGG.cjs.map +1 -0
- package/dist/{chunk-CUQH4SHH.js → chunk-6GCI7JOE.js} +2 -2
- package/dist/{chunk-N6ZM5PYZ.js → chunk-7RIYT7ZH.js} +49 -2
- package/dist/chunk-7RIYT7ZH.js.map +1 -0
- package/dist/{chunk-E2YXRSDG.js → chunk-BRNHX6C6.js} +15 -13
- package/dist/chunk-BRNHX6C6.js.map +1 -0
- package/dist/{chunk-5FK7X3EE.js → chunk-DOMJSNXW.js} +8 -7
- package/dist/chunk-DOMJSNXW.js.map +1 -0
- package/dist/{chunk-VK4B6UGU.js → chunk-E4XABBSU.js} +16 -8
- package/dist/{chunk-VK4B6UGU.js.map → chunk-E4XABBSU.js.map} +1 -1
- package/dist/{chunk-DUIWR7RQ.js → chunk-EJXHZX2E.js} +3 -3
- package/dist/{chunk-5PELVUFT.cjs → chunk-EYEW6PTA.cjs} +44 -36
- package/dist/chunk-EYEW6PTA.cjs.map +1 -0
- package/dist/{chunk-HTYUZXQP.js → chunk-FJDPUPXC.js} +5 -5
- package/dist/{chunk-SLP4KXP6.js → chunk-FQJK446R.js} +8 -2
- package/dist/chunk-FQJK446R.js.map +1 -0
- package/dist/{chunk-JC5RN7ZS.cjs → chunk-FT4FCV7L.cjs} +6 -6
- package/dist/{chunk-JC5RN7ZS.cjs.map → chunk-FT4FCV7L.cjs.map} +1 -1
- package/dist/{chunk-ZHNL2IPK.cjs → chunk-J54Z3OCR.cjs} +8 -2
- package/dist/chunk-J54Z3OCR.cjs.map +1 -0
- package/dist/{chunk-2NJ44RTT.cjs → chunk-JSOMFVEV.cjs} +30 -30
- package/dist/{chunk-2NJ44RTT.cjs.map → chunk-JSOMFVEV.cjs.map} +1 -1
- package/dist/{chunk-Z6BK4XHH.cjs → chunk-KXCRGTRN.cjs} +10 -82
- package/dist/chunk-KXCRGTRN.cjs.map +1 -0
- package/dist/{chunk-5KD3S25X.cjs → chunk-LFGGF7OT.cjs} +139 -2
- package/dist/chunk-LFGGF7OT.cjs.map +1 -0
- package/dist/{chunk-N45M3TK3.js → chunk-NSPOYUBH.js} +2 -2
- package/dist/{chunk-TYZEMPPH.js → chunk-OQ6X7ZOC.js} +138 -1
- package/dist/chunk-OQ6X7ZOC.js.map +1 -0
- package/dist/{chunk-MDLWEJAV.cjs → chunk-RJL6PIOK.cjs} +454 -453
- package/dist/chunk-RJL6PIOK.cjs.map +1 -0
- package/dist/{chunk-IXDTNQF4.js → chunk-SOJCR63T.js} +4 -4
- package/dist/{chunk-5R5OODNE.cjs → chunk-TYMUKFP2.cjs} +40 -40
- package/dist/{chunk-5R5OODNE.cjs.map → chunk-TYMUKFP2.cjs.map} +1 -1
- package/dist/{chunk-CDJOKNCS.cjs → chunk-VTY7S2QG.cjs} +25 -19
- package/dist/chunk-VTY7S2QG.cjs.map +1 -0
- package/dist/{chunk-FFP2A77V.cjs → chunk-X3TSMCKX.cjs} +12 -12
- package/dist/{chunk-FFP2A77V.cjs.map → chunk-X3TSMCKX.cjs.map} +1 -1
- package/dist/{chunk-C667P6LZ.js → chunk-YICTMMXP.js} +13 -7
- package/dist/{chunk-C667P6LZ.js.map → chunk-YICTMMXP.js.map} +1 -1
- package/dist/{chunk-2BMVBPC7.cjs → chunk-YIGPRLQY.cjs} +9 -9
- package/dist/{chunk-2BMVBPC7.cjs.map → chunk-YIGPRLQY.cjs.map} +1 -1
- package/dist/components/chat/entity-cards/roadmap-card.d.ts +7 -1
- package/dist/components/chat/entity-cards/roadmap-card.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +7 -7
- package/dist/components/chat/index.js +6 -6
- package/dist/components/contact/index.cjs +8 -8
- package/dist/components/contact/index.js +7 -7
- package/dist/components/docs/index.cjs +6 -6
- package/dist/components/docs/index.js +5 -5
- package/dist/components/docs/use-document-tree.d.ts.map +1 -1
- package/dist/components/embeds/index.cjs +8 -8
- package/dist/components/embeds/index.js +7 -7
- package/dist/components/faq/faq-section.d.ts.map +1 -1
- package/dist/components/faq/index.cjs +8 -8
- package/dist/components/faq/index.js +7 -7
- package/dist/components/features/index.cjs +7 -7
- package/dist/components/features/index.js +6 -6
- package/dist/components/index.cjs +214 -193
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +50 -29
- package/dist/components/index.js.map +1 -1
- package/dist/components/navigation/index.cjs +7 -7
- package/dist/components/navigation/index.js +6 -6
- package/dist/components/onboarding-guides/index.cjs +24 -24
- package/dist/components/onboarding-guides/index.js +4 -4
- package/dist/components/related-content/index.cjs +8 -8
- package/dist/components/related-content/index.js +7 -7
- package/dist/components/shared/delivery/delivery-lists.d.ts.map +1 -1
- package/dist/components/shared/delivery/delivery-row.d.ts +8 -1
- package/dist/components/shared/delivery/delivery-row.d.ts.map +1 -1
- package/dist/components/shared/delivery/delivery-table.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-grid.d.ts.map +1 -1
- package/dist/components/shared/roadmap/roadmap-view.d.ts.map +1 -1
- package/dist/components/tickets/help-center-card.d.ts +7 -1
- package/dist/components/tickets/help-center-card.d.ts.map +1 -1
- package/dist/components/tickets/help-center-list.d.ts.map +1 -1
- package/dist/components/tickets/index.cjs +82 -73
- package/dist/components/tickets/index.cjs.map +1 -1
- package/dist/components/tickets/index.js +24 -15
- package/dist/components/tickets/index.js.map +1 -1
- package/dist/components/tickets/ticket-center.d.ts.map +1 -1
- package/dist/components/tickets/ticket-row.d.ts +6 -1
- package/dist/components/tickets/ticket-row.d.ts.map +1 -1
- package/dist/components/ui/index.cjs +7 -7
- package/dist/components/ui/index.js +6 -6
- package/dist/hooks/index.cjs +5 -3
- package/dist/hooks/index.cjs.map +1 -1
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/index.d.ts.map +1 -1
- package/dist/hooks/index.js +4 -2
- package/dist/hooks/use-scroll-to-hash.d.ts +17 -0
- package/dist/hooks/use-scroll-to-hash.d.ts.map +1 -0
- package/dist/index.cjs +19 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +19 -7
- package/dist/utils/dev-sections/dev-section-param-keys.d.ts +10 -0
- package/dist/utils/dev-sections/dev-section-param-keys.d.ts.map +1 -1
- package/dist/utils/index.cjs +71 -1
- package/dist/utils/index.cjs.map +1 -1
- package/dist/utils/index.d.ts +2 -1
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/index.js +67 -2
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/same-page-hash-nav.d.ts +37 -0
- package/dist/utils/same-page-hash-nav.d.ts.map +1 -0
- package/dist/utils/source-icons.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/entity-cards/roadmap-card.tsx +8 -1
- package/src/components/docs/use-document-tree.ts +45 -3
- package/src/components/faq/faq-section.tsx +22 -9
- package/src/components/shared/delivery/delivery-lists.tsx +9 -0
- package/src/components/shared/delivery/delivery-row.tsx +15 -2
- package/src/components/shared/delivery/delivery-table.tsx +7 -1
- package/src/components/shared/roadmap/roadmap-grid.tsx +7 -0
- package/src/components/shared/roadmap/roadmap-view.tsx +11 -0
- package/src/components/tickets/help-center-card.tsx +9 -17
- package/src/components/tickets/help-center-list.tsx +13 -0
- package/src/components/tickets/ticket-center.tsx +2 -0
- package/src/components/tickets/ticket-row.tsx +7 -1
- package/src/hooks/index.ts +5 -0
- package/src/hooks/use-scroll-to-hash.ts +74 -0
- package/src/utils/.source-icons.md +1 -1
- package/src/utils/dev-sections/dev-section-param-keys.ts +14 -0
- package/src/utils/index.ts +17 -1
- package/src/utils/same-page-hash-nav.ts +115 -0
- package/src/utils/source-icons.ts +7 -1
- package/dist/chunk-5FK7X3EE.js.map +0 -1
- package/dist/chunk-5KD3S25X.cjs.map +0 -1
- package/dist/chunk-5PELVUFT.cjs.map +0 -1
- package/dist/chunk-6FHO73AP.js.map +0 -1
- package/dist/chunk-CDJOKNCS.cjs.map +0 -1
- package/dist/chunk-E2YXRSDG.js.map +0 -1
- package/dist/chunk-KBKZYJRI.cjs.map +0 -1
- package/dist/chunk-MDLWEJAV.cjs.map +0 -1
- package/dist/chunk-N6ZM5PYZ.js.map +0 -1
- package/dist/chunk-PZZGDS5I.cjs.map +0 -1
- package/dist/chunk-SLP4KXP6.js.map +0 -1
- package/dist/chunk-TYZEMPPH.js.map +0 -1
- package/dist/chunk-Z6BK4XHH.cjs.map +0 -1
- package/dist/chunk-ZHNL2IPK.cjs.map +0 -1
- /package/dist/{chunk-B2U6INNO.js.map → chunk-2U2M2TG2.js.map} +0 -0
- /package/dist/{chunk-CUQH4SHH.js.map → chunk-6GCI7JOE.js.map} +0 -0
- /package/dist/{chunk-DUIWR7RQ.js.map → chunk-EJXHZX2E.js.map} +0 -0
- /package/dist/{chunk-HTYUZXQP.js.map → chunk-FJDPUPXC.js.map} +0 -0
- /package/dist/{chunk-N45M3TK3.js.map → chunk-NSPOYUBH.js.map} +0 -0
- /package/dist/{chunk-IXDTNQF4.js.map → chunk-SOJCR63T.js.map} +0 -0
|
@@ -7,11 +7,11 @@ import {
|
|
|
7
7
|
EmptyState,
|
|
8
8
|
UnifiedPagination,
|
|
9
9
|
init_unified_pagination
|
|
10
|
-
} from "../../chunk-
|
|
10
|
+
} from "../../chunk-YICTMMXP.js";
|
|
11
11
|
import "../../chunk-4XLJWX2N.js";
|
|
12
12
|
import {
|
|
13
13
|
ContactForm
|
|
14
|
-
} from "../../chunk-
|
|
14
|
+
} from "../../chunk-SOJCR63T.js";
|
|
15
15
|
import {
|
|
16
16
|
AlertDialog,
|
|
17
17
|
AlertDialogAction,
|
|
@@ -32,16 +32,20 @@ import {
|
|
|
32
32
|
TicketAttachmentsList,
|
|
33
33
|
useChatAttachments,
|
|
34
34
|
useChatIdentity
|
|
35
|
-
} from "../../chunk-
|
|
35
|
+
} from "../../chunk-DOMJSNXW.js";
|
|
36
36
|
import {
|
|
37
|
+
devSectionAnchorId,
|
|
37
38
|
formatRelativeTime,
|
|
38
|
-
getStatusColorScheme
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
getStatusColorScheme
|
|
40
|
+
} from "../../chunk-26PKDALD.js";
|
|
41
|
+
import {
|
|
42
|
+
toast,
|
|
43
|
+
useScrollToHash
|
|
44
|
+
} from "../../chunk-7RIYT7ZH.js";
|
|
41
45
|
import {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
46
|
+
STICKY_HEADER_OFFSET_PX,
|
|
47
|
+
scrollElementIntoView
|
|
48
|
+
} from "../../chunk-OQ6X7ZOC.js";
|
|
45
49
|
import "../../chunk-MJNXIEV2.js";
|
|
46
50
|
import {
|
|
47
51
|
Input,
|
|
@@ -52,8 +56,8 @@ import {
|
|
|
52
56
|
Card,
|
|
53
57
|
SquareAvatar,
|
|
54
58
|
StatusBadge
|
|
55
|
-
} from "../../chunk-
|
|
56
|
-
import "../../chunk-
|
|
59
|
+
} from "../../chunk-NSPOYUBH.js";
|
|
60
|
+
import "../../chunk-FQJK446R.js";
|
|
57
61
|
import "../../chunk-3MCHAFHB.js";
|
|
58
62
|
import {
|
|
59
63
|
embedAuthedFetch
|
|
@@ -709,7 +713,8 @@ function TicketRow({
|
|
|
709
713
|
onSendMessage,
|
|
710
714
|
onClose,
|
|
711
715
|
onReopen,
|
|
712
|
-
onActionCollapsed
|
|
716
|
+
onActionCollapsed,
|
|
717
|
+
id
|
|
713
718
|
}) {
|
|
714
719
|
const optimistic = isOptimistic(ticket);
|
|
715
720
|
const rowRef = useRef(null);
|
|
@@ -749,7 +754,7 @@ function TicketRow({
|
|
|
749
754
|
// when the task exists but its status hasn't synced yet.
|
|
750
755
|
linkedTaskLabel: ticket.clickup ? ticket.clickup.status ? ticket.clickup.status.replace(/\b\w/g, (c) => c.toUpperCase()) : "Linked work" : void 0
|
|
751
756
|
};
|
|
752
|
-
return /* @__PURE__ */ jsx5("div", { ref: rowRef, className: "scroll-mt-24", children: /* @__PURE__ */ jsxs4(
|
|
757
|
+
return /* @__PURE__ */ jsx5("div", { ref: rowRef, id, className: "scroll-mt-24", children: /* @__PURE__ */ jsxs4(
|
|
753
758
|
Collapsible,
|
|
754
759
|
{
|
|
755
760
|
open: expanded && !optimistic,
|
|
@@ -1430,6 +1435,7 @@ function TicketCenterAuthed({
|
|
|
1430
1435
|
) }) : /* @__PURE__ */ jsx6(Card, { className: "overflow-hidden", children: merged.map((ticket) => /* @__PURE__ */ jsx6(
|
|
1431
1436
|
TicketRow,
|
|
1432
1437
|
{
|
|
1438
|
+
id: devSectionAnchorId("ticket", ticket.external_id),
|
|
1433
1439
|
ticket,
|
|
1434
1440
|
expanded: expandedTicketId === ticket.id,
|
|
1435
1441
|
onToggle: toggleRow,
|
|
@@ -1474,7 +1480,6 @@ init_unified_pagination();
|
|
|
1474
1480
|
// src/components/tickets/help-center-card.tsx
|
|
1475
1481
|
import { useCallback as useCallback5, useEffect as useEffect2, useRef as useRef3 } from "react";
|
|
1476
1482
|
import { Fragment, jsx as jsx7, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
1477
|
-
var STICKY_HEADER_OFFSET_PX = 96;
|
|
1478
1483
|
function HelpCenterCard({
|
|
1479
1484
|
ticket,
|
|
1480
1485
|
expanded,
|
|
@@ -1486,7 +1491,8 @@ function HelpCenterCard({
|
|
|
1486
1491
|
onReopen,
|
|
1487
1492
|
onActionCollapsed,
|
|
1488
1493
|
replyError,
|
|
1489
|
-
onClearReplyError
|
|
1494
|
+
onClearReplyError,
|
|
1495
|
+
id
|
|
1490
1496
|
}) {
|
|
1491
1497
|
const optimistic = isOptimistic(ticket);
|
|
1492
1498
|
const rawStatus = (ticket.status ?? "OPEN").toUpperCase();
|
|
@@ -1534,6 +1540,7 @@ function HelpCenterCard({
|
|
|
1534
1540
|
"div",
|
|
1535
1541
|
{
|
|
1536
1542
|
ref: rowRef,
|
|
1543
|
+
id,
|
|
1537
1544
|
style: { scrollMarginTop: STICKY_HEADER_OFFSET_PX },
|
|
1538
1545
|
className: `border-b border-ods-border last:border-b-0 ${optimistic ? "opacity-60" : ""}`,
|
|
1539
1546
|
"aria-busy": optimistic || void 0,
|
|
@@ -1815,6 +1822,7 @@ function HelpCenterListAuthed({
|
|
|
1815
1822
|
[tickets, ticketParam, setOpenTicket]
|
|
1816
1823
|
);
|
|
1817
1824
|
const merged = [...optimisticTickets, ...tickets];
|
|
1825
|
+
useScrollToHash(tickets, { headerOffset: STICKY_HEADER_OFFSET_PX });
|
|
1818
1826
|
const hasActiveFilters = search !== "" || status !== "" && status !== "all";
|
|
1819
1827
|
const hasResults = merged.length > 0;
|
|
1820
1828
|
const form = /* @__PURE__ */ jsx9(
|
|
@@ -1876,6 +1884,7 @@ function HelpCenterListAuthed({
|
|
|
1876
1884
|
/* @__PURE__ */ jsx9("div", { className: "bg-ods-card border border-ods-border rounded-[6px] overflow-clip w-full", children: merged.map((ticket) => /* @__PURE__ */ jsx9(
|
|
1877
1885
|
HelpCenterCard,
|
|
1878
1886
|
{
|
|
1887
|
+
id: devSectionAnchorId("ticket", ticket.external_id),
|
|
1879
1888
|
ticket,
|
|
1880
1889
|
expanded: expandedTicketId === ticket.id,
|
|
1881
1890
|
onToggle: toggleRow,
|