@flamingo-stack/openframe-frontend-core 0.0.291 → 0.0.292-snapshot.20260619040151
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-ODR6A6FC.js → chunk-26PKDALD.js} +7 -67
- package/dist/chunk-26PKDALD.js.map +1 -0
- package/dist/{chunk-EGSAB76W.js → chunk-2U2M2TG2.js} +4 -4
- package/dist/{chunk-EI4WALN2.cjs → chunk-4W7NYJ3B.cjs} +39 -29
- package/dist/chunk-4W7NYJ3B.cjs.map +1 -0
- package/dist/{chunk-KBKZYJRI.cjs → chunk-5E2HOSSH.cjs} +66 -19
- package/dist/chunk-5E2HOSSH.cjs.map +1 -0
- package/dist/{chunk-6BWZFRUG.cjs → chunk-6G2INVGG.cjs} +24 -22
- package/dist/chunk-6G2INVGG.cjs.map +1 -0
- package/dist/{chunk-7NM7DEUK.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-AGRSALEN.js → chunk-BRNHX6C6.js} +15 -13
- package/dist/chunk-BRNHX6C6.js.map +1 -0
- package/dist/{chunk-Z2EOXZBW.js → chunk-DOMJSNXW.js} +262 -162
- package/dist/chunk-DOMJSNXW.js.map +1 -0
- package/dist/{chunk-7EYWERFT.js → chunk-E4XABBSU.js} +16 -8
- package/dist/{chunk-7EYWERFT.js.map → chunk-E4XABBSU.js.map} +1 -1
- package/dist/{chunk-ZLN6SM2U.js → chunk-EJXHZX2E.js} +3 -3
- package/dist/{chunk-3SDBXXDP.cjs → chunk-EYEW6PTA.cjs} +44 -36
- package/dist/chunk-EYEW6PTA.cjs.map +1 -0
- package/dist/{chunk-D4R2MUPA.js → chunk-FJDPUPXC.js} +5 -5
- package/dist/{chunk-VRSXJ5QJ.js → chunk-FQJK446R.js} +10 -3
- package/dist/chunk-FQJK446R.js.map +1 -0
- package/dist/{chunk-I6ZPGKZ2.cjs → chunk-FT4FCV7L.cjs} +6 -6
- package/dist/{chunk-I6ZPGKZ2.cjs.map → chunk-FT4FCV7L.cjs.map} +1 -1
- package/dist/{chunk-Y4JNA4W6.cjs → chunk-J54Z3OCR.cjs} +10 -3
- package/dist/chunk-J54Z3OCR.cjs.map +1 -0
- package/dist/{chunk-ZYBUFVQV.cjs → chunk-JSOMFVEV.cjs} +30 -30
- package/dist/{chunk-ZYBUFVQV.cjs.map → chunk-JSOMFVEV.cjs.map} +1 -1
- package/dist/{chunk-D6RK5YXX.cjs → chunk-KXCRGTRN.cjs} +10 -70
- 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-R2KT5GDD.js → chunk-NSPOYUBH.js} +14 -4
- package/dist/chunk-NSPOYUBH.js.map +1 -0
- package/dist/{chunk-TYZEMPPH.js → chunk-OQ6X7ZOC.js} +138 -1
- package/dist/chunk-OQ6X7ZOC.js.map +1 -0
- package/dist/{chunk-2YSC3API.cjs → chunk-RJL6PIOK.cjs} +1091 -991
- package/dist/chunk-RJL6PIOK.cjs.map +1 -0
- package/dist/{chunk-CSL3ECOF.js → chunk-SOJCR63T.js} +4 -4
- package/dist/{chunk-BVNYQDZE.cjs → chunk-TYMUKFP2.cjs} +40 -40
- package/dist/{chunk-BVNYQDZE.cjs.map → chunk-TYMUKFP2.cjs.map} +1 -1
- package/dist/{chunk-VMRPM24G.cjs → chunk-VTY7S2QG.cjs} +25 -19
- package/dist/chunk-VTY7S2QG.cjs.map +1 -0
- package/dist/{chunk-Z4GAFSNM.cjs → chunk-X3TSMCKX.cjs} +12 -12
- package/dist/{chunk-Z4GAFSNM.cjs.map → chunk-X3TSMCKX.cjs.map} +1 -1
- package/dist/{chunk-RSIFEDZX.js → chunk-YICTMMXP.js} +13 -7
- package/dist/{chunk-RSIFEDZX.js.map → chunk-YICTMMXP.js.map} +1 -1
- package/dist/{chunk-EL5GCMPU.cjs → chunk-YIGPRLQY.cjs} +9 -9
- package/dist/{chunk-EL5GCMPU.cjs.map → chunk-YIGPRLQY.cjs.map} +1 -1
- package/dist/components/chat/chat-message-enhanced.d.ts.map +1 -1
- package/dist/components/chat/chat-message-list.d.ts.map +1 -1
- package/dist/components/chat/embeddable-chat.d.ts +15 -0
- package/dist/components/chat/embeddable-chat.d.ts.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/hooks/use-realtime-chunk-processor.d.ts.map +1 -1
- package/dist/components/chat/index.cjs +9 -7
- package/dist/components/chat/index.cjs.map +1 -1
- package/dist/components/chat/index.d.ts +1 -0
- package/dist/components/chat/index.d.ts.map +1 -1
- package/dist/components/chat/index.js +8 -6
- package/dist/components/chat/remark-mention-chips.d.ts +30 -0
- package/dist/components/chat/remark-mention-chips.d.ts.map +1 -0
- package/dist/components/chat/types/api.types.d.ts +4 -0
- package/dist/components/chat/types/api.types.d.ts.map +1 -1
- package/dist/components/chat/types/component.types.d.ts +24 -0
- package/dist/components/chat/types/component.types.d.ts.map +1 -1
- package/dist/components/chat/types/context-item.types.d.ts +5 -0
- package/dist/components/chat/types/context-item.types.d.ts.map +1 -1
- package/dist/components/chat/types/processing.types.d.ts +4 -0
- package/dist/components/chat/types/processing.types.d.ts.map +1 -1
- package/dist/components/chat/utils/chunk-parser.d.ts.map +1 -1
- package/dist/components/chat/utils/nav-anchor-props.d.ts +8 -3
- package/dist/components/chat/utils/nav-anchor-props.d.ts.map +1 -1
- package/dist/components/chat/utils/process-historical-messages.d.ts.map +1 -1
- 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 +216 -193
- package/dist/components/index.cjs.map +1 -1
- package/dist/components/index.js +52 -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 +9 -7
- package/dist/components/ui/index.cjs.map +1 -1
- package/dist/components/ui/index.js +8 -6
- package/dist/components/ui/simple-markdown-renderer.d.ts.map +1 -1
- package/dist/components/ui/tag.d.ts +10 -1
- package/dist/components/ui/tag.d.ts.map +1 -1
- 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 +21 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +21 -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 +92 -10
- 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 +88 -11
- 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/scroll-into-view.d.ts +12 -0
- package/dist/utils/scroll-into-view.d.ts.map +1 -1
- package/dist/utils/source-icons.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/chat/chat-message-enhanced.tsx +71 -9
- package/src/components/chat/chat-message-list.tsx +2 -0
- package/src/components/chat/embeddable-chat.tsx +50 -6
- package/src/components/chat/entity-cards/roadmap-card.tsx +8 -1
- package/src/components/chat/hooks/use-realtime-chunk-processor.ts +1 -0
- package/src/components/chat/index.ts +1 -0
- package/src/components/chat/remark-mention-chips.ts +72 -0
- package/src/components/chat/types/api.types.ts +1 -1
- package/src/components/chat/types/component.types.ts +18 -0
- package/src/components/chat/types/context-item.types.ts +5 -0
- package/src/components/chat/types/processing.types.ts +8 -1
- package/src/components/chat/utils/chunk-parser.ts +11 -0
- package/src/components/chat/utils/nav-anchor-props.ts +22 -4
- package/src/components/chat/utils/process-historical-messages.ts +22 -0
- 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/components/ui/simple-markdown-renderer.tsx +14 -11
- package/src/components/ui/tag.tsx +12 -2
- 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/scroll-into-view.ts +51 -9
- package/src/utils/source-icons.ts +7 -1
- package/dist/chunk-2YSC3API.cjs.map +0 -1
- package/dist/chunk-3SDBXXDP.cjs.map +0 -1
- package/dist/chunk-5KD3S25X.cjs.map +0 -1
- package/dist/chunk-6BWZFRUG.cjs.map +0 -1
- package/dist/chunk-AGRSALEN.js.map +0 -1
- package/dist/chunk-D6RK5YXX.cjs.map +0 -1
- package/dist/chunk-EI4WALN2.cjs.map +0 -1
- package/dist/chunk-KBKZYJRI.cjs.map +0 -1
- package/dist/chunk-N6ZM5PYZ.js.map +0 -1
- package/dist/chunk-ODR6A6FC.js.map +0 -1
- package/dist/chunk-R2KT5GDD.js.map +0 -1
- package/dist/chunk-TYZEMPPH.js.map +0 -1
- package/dist/chunk-VMRPM24G.cjs.map +0 -1
- package/dist/chunk-VRSXJ5QJ.js.map +0 -1
- package/dist/chunk-Y4JNA4W6.cjs.map +0 -1
- package/dist/chunk-Z2EOXZBW.js.map +0 -1
- /package/dist/{chunk-EGSAB76W.js.map → chunk-2U2M2TG2.js.map} +0 -0
- /package/dist/{chunk-7NM7DEUK.js.map → chunk-6GCI7JOE.js.map} +0 -0
- /package/dist/{chunk-ZLN6SM2U.js.map → chunk-EJXHZX2E.js.map} +0 -0
- /package/dist/{chunk-D4R2MUPA.js.map → chunk-FJDPUPXC.js.map} +0 -0
- /package/dist/{chunk-CSL3ECOF.js.map → chunk-SOJCR63T.js.map} +0 -0
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
+
scrollElementIntoView,
|
|
3
4
|
toolLabels
|
|
4
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OQ6X7ZOC.js";
|
|
5
6
|
import {
|
|
6
7
|
BashIcon,
|
|
7
8
|
CmdIcon,
|
|
@@ -656,6 +657,9 @@ var DEV_SECTION_PARAM_KEYS = {
|
|
|
656
657
|
/** Delivery (bug-fix / enhancement) task-type filter. */
|
|
657
658
|
deliveryTaskType: "task_type"
|
|
658
659
|
};
|
|
660
|
+
function devSectionAnchorId(section, id) {
|
|
661
|
+
return `${section}-${id}`;
|
|
662
|
+
}
|
|
659
663
|
|
|
660
664
|
// src/utils/tool-utils.ts
|
|
661
665
|
var toolAliasMap = {
|
|
@@ -1511,70 +1515,6 @@ var OPENFRAME_DEV_SECTIONS = {
|
|
|
1511
1515
|
}
|
|
1512
1516
|
};
|
|
1513
1517
|
|
|
1514
|
-
// src/utils/scroll-into-view.ts
|
|
1515
|
-
var activeRaf = 0;
|
|
1516
|
-
var teardownActive = null;
|
|
1517
|
-
function cancelActiveScroll() {
|
|
1518
|
-
if (activeRaf) {
|
|
1519
|
-
cancelAnimationFrame(activeRaf);
|
|
1520
|
-
activeRaf = 0;
|
|
1521
|
-
}
|
|
1522
|
-
if (teardownActive) {
|
|
1523
|
-
teardownActive();
|
|
1524
|
-
teardownActive = null;
|
|
1525
|
-
}
|
|
1526
|
-
}
|
|
1527
|
-
var easeOutCubic = (t) => 1 - Math.pow(1 - t, 3);
|
|
1528
|
-
function scrollElementIntoView(target, options = {}) {
|
|
1529
|
-
if (typeof window === "undefined" || !target) return;
|
|
1530
|
-
const { headerOffset = 0, behavior = "smooth", adjustTargetY, durationMs = 320 } = options;
|
|
1531
|
-
const computeTarget = () => {
|
|
1532
|
-
const raw = target.getBoundingClientRect().top + window.scrollY - headerOffset;
|
|
1533
|
-
const adjusted = adjustTargetY ? adjustTargetY(raw) : raw;
|
|
1534
|
-
const maxScroll = Math.max(
|
|
1535
|
-
0,
|
|
1536
|
-
document.documentElement.scrollHeight - window.innerHeight
|
|
1537
|
-
);
|
|
1538
|
-
return Math.min(Math.max(0, adjusted), maxScroll);
|
|
1539
|
-
};
|
|
1540
|
-
cancelActiveScroll();
|
|
1541
|
-
const prefersReduced = typeof window.matchMedia === "function" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
1542
|
-
if (behavior === "instant" || behavior === "auto" || prefersReduced) {
|
|
1543
|
-
window.scrollTo(0, computeTarget());
|
|
1544
|
-
return;
|
|
1545
|
-
}
|
|
1546
|
-
let startY = null;
|
|
1547
|
-
let startTime = 0;
|
|
1548
|
-
const onUserGesture = () => cancelActiveScroll();
|
|
1549
|
-
window.addEventListener("wheel", onUserGesture, { passive: true });
|
|
1550
|
-
window.addEventListener("touchmove", onUserGesture, { passive: true });
|
|
1551
|
-
teardownActive = () => {
|
|
1552
|
-
window.removeEventListener("wheel", onUserGesture);
|
|
1553
|
-
window.removeEventListener("touchmove", onUserGesture);
|
|
1554
|
-
};
|
|
1555
|
-
const step = (now) => {
|
|
1556
|
-
if (startY === null) {
|
|
1557
|
-
startY = window.scrollY;
|
|
1558
|
-
startTime = now;
|
|
1559
|
-
}
|
|
1560
|
-
const targetY = computeTarget();
|
|
1561
|
-
const t = Math.min(1, (now - startTime) / durationMs);
|
|
1562
|
-
const y = startY + (targetY - startY) * easeOutCubic(t);
|
|
1563
|
-
window.scrollTo(0, y);
|
|
1564
|
-
if (t < 1) {
|
|
1565
|
-
activeRaf = requestAnimationFrame(step);
|
|
1566
|
-
} else {
|
|
1567
|
-
window.scrollTo(0, computeTarget());
|
|
1568
|
-
activeRaf = 0;
|
|
1569
|
-
if (teardownActive) {
|
|
1570
|
-
teardownActive();
|
|
1571
|
-
teardownActive = null;
|
|
1572
|
-
}
|
|
1573
|
-
}
|
|
1574
|
-
};
|
|
1575
|
-
activeRaf = requestAnimationFrame(step);
|
|
1576
|
-
}
|
|
1577
|
-
|
|
1578
1518
|
// src/utils/list-url.ts
|
|
1579
1519
|
var ALIASES = { blog_post_existing: "blog_post" };
|
|
1580
1520
|
function canonicalContentRefType(contentRefType) {
|
|
@@ -2339,6 +2279,7 @@ export {
|
|
|
2339
2279
|
getConfidenceBgClass,
|
|
2340
2280
|
getConfidenceLabel,
|
|
2341
2281
|
DEV_SECTION_PARAM_KEYS,
|
|
2282
|
+
devSectionAnchorId,
|
|
2342
2283
|
normalizeToolType,
|
|
2343
2284
|
normalizeToolTypeWithFallback,
|
|
2344
2285
|
toToolLabel,
|
|
@@ -2399,7 +2340,6 @@ export {
|
|
|
2399
2340
|
DELIVERY_TASK_TYPE_OPTIONS,
|
|
2400
2341
|
TICKET_STATUS_OPTIONS,
|
|
2401
2342
|
OPENFRAME_DEV_SECTIONS,
|
|
2402
|
-
scrollElementIntoView,
|
|
2403
2343
|
canonicalContentRefType,
|
|
2404
2344
|
buildListUrl,
|
|
2405
2345
|
faqSectionSlug,
|
|
@@ -2436,4 +2376,4 @@ export {
|
|
|
2436
2376
|
MultiLevelNavigation,
|
|
2437
2377
|
MobileNavigationDropdown
|
|
2438
2378
|
};
|
|
2439
|
-
//# sourceMappingURL=chunk-
|
|
2379
|
+
//# sourceMappingURL=chunk-26PKDALD.js.map
|