@flamingo-stack/openframe-frontend-core 0.0.607 → 0.0.608-snapshot.20260908153450

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.
Files changed (110) hide show
  1. package/dist/{chunk-7ZAPPBFT.cjs → chunk-3N4FXBVJ.cjs} +3 -3
  2. package/dist/{chunk-7ZAPPBFT.cjs.map → chunk-3N4FXBVJ.cjs.map} +1 -1
  3. package/dist/{chunk-PS4WZ7YL.cjs → chunk-3XNMDLGB.cjs} +9 -9
  4. package/dist/{chunk-PS4WZ7YL.cjs.map → chunk-3XNMDLGB.cjs.map} +1 -1
  5. package/dist/{chunk-UJ64PL7A.cjs → chunk-45XXK2VU.cjs} +10 -10
  6. package/dist/{chunk-UJ64PL7A.cjs.map → chunk-45XXK2VU.cjs.map} +1 -1
  7. package/dist/{chunk-ANHHTB32.js → chunk-6MLRFM3T.js} +5 -5
  8. package/dist/{chunk-ZYEAIBWA.js → chunk-B3UXNGVM.js} +3 -3
  9. package/dist/{chunk-2V3PJ5X5.js → chunk-B7LYKBCD.js} +5 -5
  10. package/dist/{chunk-JGSEBZYO.js → chunk-BSMPCPOZ.js} +155 -38
  11. package/dist/{chunk-JGSEBZYO.js.map → chunk-BSMPCPOZ.js.map} +1 -1
  12. package/dist/{chunk-3J73ZG3V.js → chunk-BUXGWBTF.js} +2 -2
  13. package/dist/{chunk-63AGD45L.js → chunk-C7CTEUU7.js} +2 -2
  14. package/dist/{chunk-XOQI3AH7.cjs → chunk-CZTOSG7Q.cjs} +22 -22
  15. package/dist/{chunk-XOQI3AH7.cjs.map → chunk-CZTOSG7Q.cjs.map} +1 -1
  16. package/dist/{chunk-Y6MYIJTK.cjs → chunk-D3DTC7SZ.cjs} +15 -15
  17. package/dist/{chunk-Y6MYIJTK.cjs.map → chunk-D3DTC7SZ.cjs.map} +1 -1
  18. package/dist/{chunk-YUDYFA6H.cjs → chunk-DKNXAJMP.cjs} +183 -163
  19. package/dist/chunk-DKNXAJMP.cjs.map +1 -0
  20. package/dist/{chunk-XRNILWKL.cjs → chunk-FYG7QNAO.cjs} +5 -5
  21. package/dist/{chunk-XRNILWKL.cjs.map → chunk-FYG7QNAO.cjs.map} +1 -1
  22. package/dist/{chunk-IXXMNATN.cjs → chunk-GMOBT5NP.cjs} +70 -70
  23. package/dist/{chunk-IXXMNATN.cjs.map → chunk-GMOBT5NP.cjs.map} +1 -1
  24. package/dist/{chunk-CCY47QKL.js → chunk-HGVW7OHI.js} +2 -2
  25. package/dist/{chunk-7CQA7DAB.js → chunk-JKM5FH63.js} +3 -3
  26. package/dist/{chunk-RVCLDXCR.js → chunk-JOCVQZGT.js} +5 -5
  27. package/dist/{chunk-GPIPJOOV.js → chunk-JR7I2AGL.js} +3 -3
  28. package/dist/{chunk-SWC5LOGS.cjs → chunk-L2JWC5VS.cjs} +43 -43
  29. package/dist/{chunk-SWC5LOGS.cjs.map → chunk-L2JWC5VS.cjs.map} +1 -1
  30. package/dist/{chunk-TF6FCNKU.js → chunk-LA2W5L6K.js} +2 -2
  31. package/dist/{chunk-XJKNJJYO.js → chunk-MVBRMQGU.js} +26 -6
  32. package/dist/{chunk-XJKNJJYO.js.map → chunk-MVBRMQGU.js.map} +1 -1
  33. package/dist/{chunk-G7ZK3Q5B.cjs → chunk-NJUSDREV.cjs} +22 -22
  34. package/dist/{chunk-G7ZK3Q5B.cjs.map → chunk-NJUSDREV.cjs.map} +1 -1
  35. package/dist/{chunk-Q6ZFTDRR.cjs → chunk-O2M4T34Q.cjs} +4 -4
  36. package/dist/{chunk-Q6ZFTDRR.cjs.map → chunk-O2M4T34Q.cjs.map} +1 -1
  37. package/dist/{chunk-PSGHIQXU.js → chunk-OTYV6SDN.js} +3 -3
  38. package/dist/{chunk-YCOXI5CH.js → chunk-QX4ANESW.js} +6 -6
  39. package/dist/{chunk-JLVIGGUF.cjs → chunk-RZM6FPOT.cjs} +25 -25
  40. package/dist/{chunk-JLVIGGUF.cjs.map → chunk-RZM6FPOT.cjs.map} +1 -1
  41. package/dist/{chunk-WR23DZLT.cjs → chunk-SEW25Y2W.cjs} +10 -10
  42. package/dist/{chunk-WR23DZLT.cjs.map → chunk-SEW25Y2W.cjs.map} +1 -1
  43. package/dist/{chunk-25XSOCZK.cjs → chunk-TCEALWE3.cjs} +33 -33
  44. package/dist/{chunk-25XSOCZK.cjs.map → chunk-TCEALWE3.cjs.map} +1 -1
  45. package/dist/{chunk-Z2NXXA27.js → chunk-TJ3GFULR.js} +3 -3
  46. package/dist/{chunk-3FC4DPRX.js → chunk-VCYRJY7J.js} +4 -4
  47. package/dist/{chunk-VK743MVL.cjs → chunk-XNDTYTVT.cjs} +188 -71
  48. package/dist/chunk-XNDTYTVT.cjs.map +1 -0
  49. package/dist/{chunk-BEDMOEAM.cjs → chunk-ZRLFBLME.cjs} +3 -3
  50. package/dist/{chunk-BEDMOEAM.cjs.map → chunk-ZRLFBLME.cjs.map} +1 -1
  51. package/dist/components/case-studies/index.cjs +9 -9
  52. package/dist/components/case-studies/index.js +3 -3
  53. package/dist/components/chat/index.cjs +2 -2
  54. package/dist/components/chat/index.js +1 -1
  55. package/dist/components/chat/utils/history-merge.d.ts +4 -2
  56. package/dist/components/chat/utils/history-merge.d.ts.map +1 -1
  57. package/dist/components/contact/index.cjs +4 -4
  58. package/dist/components/contact/index.js +3 -3
  59. package/dist/components/docs/index.cjs +7 -7
  60. package/dist/components/docs/index.js +6 -6
  61. package/dist/components/embeds/index.cjs +4 -4
  62. package/dist/components/embeds/index.js +3 -3
  63. package/dist/components/faq/index.cjs +4 -4
  64. package/dist/components/faq/index.js +3 -3
  65. package/dist/components/features/board/index.d.ts +1 -1
  66. package/dist/components/features/board/index.d.ts.map +1 -1
  67. package/dist/components/features/board/ticket-card.d.ts.map +1 -1
  68. package/dist/components/features/board/types.d.ts +18 -0
  69. package/dist/components/features/board/types.d.ts.map +1 -1
  70. package/dist/components/features/index.cjs +3 -3
  71. package/dist/components/features/index.js +2 -2
  72. package/dist/components/help-center-pages/index.cjs +23 -23
  73. package/dist/components/help-center-pages/index.js +14 -14
  74. package/dist/components/index.cjs +38 -38
  75. package/dist/components/index.js +13 -13
  76. package/dist/components/meeting-scheduler/index.cjs +24 -24
  77. package/dist/components/meeting-scheduler/index.js +2 -2
  78. package/dist/components/navigation/index.cjs +6 -6
  79. package/dist/components/navigation/index.js +5 -5
  80. package/dist/components/onboarding-guides/index.cjs +6 -6
  81. package/dist/components/onboarding-guides/index.js +5 -5
  82. package/dist/components/tickets/index.cjs +7 -7
  83. package/dist/components/tickets/index.js +6 -6
  84. package/dist/components/ui/index.cjs +3 -3
  85. package/dist/components/ui/index.js +2 -2
  86. package/dist/index.cjs +7 -7
  87. package/dist/index.js +6 -6
  88. package/package.json +1 -1
  89. package/src/components/chat/utils/__tests__/history-merge.test.ts +292 -0
  90. package/src/components/chat/utils/history-merge.ts +276 -56
  91. package/src/components/features/board/index.ts +2 -0
  92. package/src/components/features/board/ticket-card.tsx +31 -2
  93. package/src/components/features/board/types.ts +20 -0
  94. package/src/stories/TicketCard.stories.tsx +40 -1
  95. package/dist/chunk-VK743MVL.cjs.map +0 -1
  96. package/dist/chunk-YUDYFA6H.cjs.map +0 -1
  97. /package/dist/{chunk-ANHHTB32.js.map → chunk-6MLRFM3T.js.map} +0 -0
  98. /package/dist/{chunk-ZYEAIBWA.js.map → chunk-B3UXNGVM.js.map} +0 -0
  99. /package/dist/{chunk-2V3PJ5X5.js.map → chunk-B7LYKBCD.js.map} +0 -0
  100. /package/dist/{chunk-3J73ZG3V.js.map → chunk-BUXGWBTF.js.map} +0 -0
  101. /package/dist/{chunk-63AGD45L.js.map → chunk-C7CTEUU7.js.map} +0 -0
  102. /package/dist/{chunk-CCY47QKL.js.map → chunk-HGVW7OHI.js.map} +0 -0
  103. /package/dist/{chunk-7CQA7DAB.js.map → chunk-JKM5FH63.js.map} +0 -0
  104. /package/dist/{chunk-RVCLDXCR.js.map → chunk-JOCVQZGT.js.map} +0 -0
  105. /package/dist/{chunk-GPIPJOOV.js.map → chunk-JR7I2AGL.js.map} +0 -0
  106. /package/dist/{chunk-TF6FCNKU.js.map → chunk-LA2W5L6K.js.map} +0 -0
  107. /package/dist/{chunk-PSGHIQXU.js.map → chunk-OTYV6SDN.js.map} +0 -0
  108. /package/dist/{chunk-YCOXI5CH.js.map → chunk-QX4ANESW.js.map} +0 -0
  109. /package/dist/{chunk-Z2NXXA27.js.map → chunk-TJ3GFULR.js.map} +0 -0
  110. /package/dist/{chunk-3FC4DPRX.js.map → chunk-VCYRJY7J.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  DEFAULT_FOLDER_INDEX_FILE
4
- } from "./chunk-XJKNJJYO.js";
4
+ } from "./chunk-MVBRMQGU.js";
5
5
  import {
6
6
  scrollElementIntoView
7
7
  } from "./chunk-5LIDR7HL.js";
@@ -357,4 +357,4 @@ export {
357
357
  MultiLevelNavigation,
358
358
  MobileNavigationDropdown
359
359
  };
360
- //# sourceMappingURL=chunk-TF6FCNKU.js.map
360
+ //# sourceMappingURL=chunk-LA2W5L6K.js.map
@@ -91,7 +91,7 @@ import {
91
91
  useCollapsible,
92
92
  useIsHydrated,
93
93
  useScrollFade
94
- } from "./chunk-JGSEBZYO.js";
94
+ } from "./chunk-BSMPCPOZ.js";
95
95
  import {
96
96
  NEAR_VIEWPORT_ROOT_MARGIN,
97
97
  ToolIcon,
@@ -164,6 +164,7 @@ import {
164
164
  Chevron02RightIcon,
165
165
  Chevron02UpIcon,
166
166
  ClockHistoryIcon,
167
+ ClockIcon,
167
168
  Copy01Icon,
168
169
  Copy02Icon,
169
170
  CreditCardXmarkIcon,
@@ -7092,7 +7093,7 @@ var ExternalLinkIcon2 = () => /* @__PURE__ */ jsxs48("svg", { width: "16", heigh
7092
7093
  /* @__PURE__ */ jsx64("line", { x1: "10", y1: "14", x2: "21", y2: "3" })
7093
7094
  ] });
7094
7095
  var ArrowUpIcon = () => /* @__PURE__ */ jsx64("svg", { width: "16", height: "16", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ jsx64("polyline", { points: "18,15 12,9 6,15" }) });
7095
- var ClockIcon = () => /* @__PURE__ */ jsxs48("svg", { width: "12", height: "12", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: [
7096
+ var ClockIcon2 = () => /* @__PURE__ */ jsxs48("svg", { width: "12", height: "12", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: [
7096
7097
  /* @__PURE__ */ jsx64("circle", { cx: "12", cy: "12", r: "10" }),
7097
7098
  /* @__PURE__ */ jsx64("polyline", { points: "12,6 12,12 16,14" })
7098
7099
  ] });
@@ -7381,7 +7382,7 @@ function RedditEmbedClient({ url, maxWidth = 700 }) {
7381
7382
  "u/",
7382
7383
  redditData.author
7383
7384
  ] }),
7384
- /* @__PURE__ */ jsx64(ClockIcon, {}),
7385
+ /* @__PURE__ */ jsx64(ClockIcon2, {}),
7385
7386
  /* @__PURE__ */ jsx64("span", { children: formatTimeAgo(redditData.created_utc) })
7386
7387
  ] })
7387
7388
  ] })
@@ -7446,7 +7447,7 @@ var RepeatIcon = () => /* @__PURE__ */ jsxs49("svg", { width: "16", height: "16"
7446
7447
  /* @__PURE__ */ jsx65("polyline", { points: "7,23 3,19 7,15" }),
7447
7448
  /* @__PURE__ */ jsx65("path", { d: "M21 13v2a4 4 0 0 1-4 4H3" })
7448
7449
  ] });
7449
- var ClockIcon2 = () => /* @__PURE__ */ jsxs49("svg", { width: "12", height: "12", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: [
7450
+ var ClockIcon3 = () => /* @__PURE__ */ jsxs49("svg", { width: "12", height: "12", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: [
7450
7451
  /* @__PURE__ */ jsx65("circle", { cx: "12", cy: "12", r: "10" }),
7451
7452
  /* @__PURE__ */ jsx65("polyline", { points: "12,6 12,12 16,14" })
7452
7453
  ] });
@@ -7576,7 +7577,7 @@ function TwitterEmbedClient({ url, tweetId, maxWidth = 700 }) {
7576
7577
  /* @__PURE__ */ jsxs49("div", { className: "flex items-center space-x-2 text-ods-text-secondary text-h6", children: [
7577
7578
  /* @__PURE__ */ jsx65(UserIcon3, {}),
7578
7579
  /* @__PURE__ */ jsx65("span", { children: tweetData.author_name }),
7579
- /* @__PURE__ */ jsx65(ClockIcon2, {}),
7580
+ /* @__PURE__ */ jsx65(ClockIcon3, {}),
7580
7581
  /* @__PURE__ */ jsx65("span", { children: formatTime2() })
7581
7582
  ] })
7582
7583
  ] })
@@ -28803,6 +28804,12 @@ var DRAGGED_CARD_OPACITY = 0.4;
28803
28804
  var DRAG_PREVIEW_OPACITY = 0.9;
28804
28805
  var MAX_VISIBLE_TAGS = 2;
28805
28806
  var MAX_VISIBLE_ASSIGNEES = 3;
28807
+ var ACTIVITY_DEFAULT_LABEL = {
28808
+ "ai-working": "AI assistant is working",
28809
+ "user-typing": "User typing",
28810
+ "waiting-external": "Waiting for client response",
28811
+ stale: "No activity"
28812
+ };
28806
28813
  var TICKET_CARD_SHELL = "relative flex flex-col gap-[var(--spacing-system-sf)] rounded-md border border-ods-border bg-ods-bg p-[var(--spacing-system-sf)] select-none text-left";
28807
28814
  function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onReject }) {
28808
28815
  const showNewMessage = !!ticket.hasNewMessage && !!columnColor;
@@ -28867,6 +28874,19 @@ function TicketCardBody({ ticket, columnColor, renderAssignSlot, onApprove, onRe
28867
28874
  /* @__PURE__ */ jsx258(UserCheckIcon, { className: "size-4 shrink-0" }),
28868
28875
  /* @__PURE__ */ jsx258("span", { className: "truncate", children: "Escalated by User" })
28869
28876
  ] }),
28877
+ ticket.activity && /* @__PURE__ */ jsxs204(
28878
+ "div",
28879
+ {
28880
+ className: cn(
28881
+ "flex items-center gap-[var(--spacing-system-xxs)] text-h6",
28882
+ ticket.activity.kind === "stale" ? "text-ods-open-yellow" : "text-ods-text-secondary"
28883
+ ),
28884
+ children: [
28885
+ ticket.activity.kind === "stale" ? /* @__PURE__ */ jsx258(ClockIcon, { className: "size-4 shrink-0" }) : /* @__PURE__ */ jsx258(DotsLoaderIcon, { className: "size-4 shrink-0" }),
28886
+ /* @__PURE__ */ jsx258("span", { className: "truncate", children: ticket.activity.label ?? ACTIVITY_DEFAULT_LABEL[ticket.activity.kind] })
28887
+ ]
28888
+ }
28889
+ ),
28870
28890
  showNewMessage && /* @__PURE__ */ jsx258(
28871
28891
  Tag,
28872
28892
  {
@@ -30765,4 +30785,4 @@ export {
30765
30785
  LazyMount,
30766
30786
  IconTile
30767
30787
  };
30768
- //# sourceMappingURL=chunk-XJKNJJYO.js.map
30788
+ //# sourceMappingURL=chunk-MVBRMQGU.js.map