@flamingo-stack/openframe-frontend-core 0.0.538 → 0.0.539-snapshot.20260814140351

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 (101) hide show
  1. package/dist/{chunk-C6NKOHFW.js → chunk-2BKR65LQ.js} +2 -2
  2. package/dist/{chunk-PFGRHRBO.cjs → chunk-4PZEGH6E.cjs} +5 -5
  3. package/dist/{chunk-PFGRHRBO.cjs.map → chunk-4PZEGH6E.cjs.map} +1 -1
  4. package/dist/{chunk-F4QOOHZL.cjs → chunk-4RXV54PY.cjs} +11 -11
  5. package/dist/{chunk-F4QOOHZL.cjs.map → chunk-4RXV54PY.cjs.map} +1 -1
  6. package/dist/{chunk-ZBRKTF6S.js → chunk-5W4R3BUR.js} +2 -2
  7. package/dist/{chunk-LJW7B6GY.cjs → chunk-5ZRO72K4.cjs} +9 -9
  8. package/dist/{chunk-LJW7B6GY.cjs.map → chunk-5ZRO72K4.cjs.map} +1 -1
  9. package/dist/{chunk-YO5BWF4L.cjs → chunk-6PBD57IZ.cjs} +14 -14
  10. package/dist/{chunk-YO5BWF4L.cjs.map → chunk-6PBD57IZ.cjs.map} +1 -1
  11. package/dist/{chunk-56QT3JBZ.js → chunk-6WUUZ43M.js} +2 -2
  12. package/dist/{chunk-QQ3HUSDJ.cjs → chunk-75W6ETMW.cjs} +408 -404
  13. package/dist/chunk-75W6ETMW.cjs.map +1 -0
  14. package/dist/{chunk-73W4L656.js → chunk-AQO2DWL2.js} +2 -2
  15. package/dist/{chunk-C6776X43.cjs → chunk-DC23N4XW.cjs} +26 -26
  16. package/dist/{chunk-C6776X43.cjs.map → chunk-DC23N4XW.cjs.map} +1 -1
  17. package/dist/{chunk-ZHW5VLHY.js → chunk-F5R4IMRF.js} +2 -2
  18. package/dist/{chunk-ZNWW4WAT.cjs → chunk-GRU75FOX.cjs} +26 -26
  19. package/dist/{chunk-ZNWW4WAT.cjs.map → chunk-GRU75FOX.cjs.map} +1 -1
  20. package/dist/{chunk-TWVRCPWY.cjs → chunk-IHGRWAUC.cjs} +61 -61
  21. package/dist/{chunk-TWVRCPWY.cjs.map → chunk-IHGRWAUC.cjs.map} +1 -1
  22. package/dist/{chunk-EH6LNTOT.js → chunk-IP4IZ4PB.js} +5 -5
  23. package/dist/{chunk-QU6P2U2Q.cjs → chunk-IRTAZKWK.cjs} +3 -3
  24. package/dist/{chunk-QU6P2U2Q.cjs.map → chunk-IRTAZKWK.cjs.map} +1 -1
  25. package/dist/{chunk-4BK5Z763.js → chunk-MKDOZF4C.js} +2 -2
  26. package/dist/{chunk-NUHDE7CB.cjs → chunk-MXKY67SV.cjs} +37 -37
  27. package/dist/{chunk-NUHDE7CB.cjs.map → chunk-MXKY67SV.cjs.map} +1 -1
  28. package/dist/{chunk-MGYNZ7SA.cjs → chunk-N24ZUZZZ.cjs} +31 -31
  29. package/dist/{chunk-MGYNZ7SA.cjs.map → chunk-N24ZUZZZ.cjs.map} +1 -1
  30. package/dist/{chunk-RBBWKSRC.js → chunk-NQSGY5HW.js} +20 -16
  31. package/dist/{chunk-RBBWKSRC.js.map → chunk-NQSGY5HW.js.map} +1 -1
  32. package/dist/{chunk-BUKQ6B65.cjs → chunk-PV6L6F3T.cjs} +87 -87
  33. package/dist/{chunk-BUKQ6B65.cjs.map → chunk-PV6L6F3T.cjs.map} +1 -1
  34. package/dist/{chunk-NE67LT3B.cjs → chunk-TBMMC4GS.cjs} +7 -7
  35. package/dist/{chunk-NE67LT3B.cjs.map → chunk-TBMMC4GS.cjs.map} +1 -1
  36. package/dist/{chunk-BNF6FZLP.js → chunk-VUVKZBDO.js} +4 -4
  37. package/dist/{chunk-7CBQWZAH.js → chunk-VYQLCGFR.js} +4 -4
  38. package/dist/{chunk-67CKAX7Z.js → chunk-WA3IEPEY.js} +2 -2
  39. package/dist/{chunk-KUKHUECE.js → chunk-X5VMEFIA.js} +2 -2
  40. package/dist/{chunk-QK4SQAYG.js → chunk-XPGB6J75.js} +6 -6
  41. package/dist/{chunk-UBEVU6LS.js → chunk-Y5TDZNWA.js} +2 -2
  42. package/dist/{chunk-R3XO2KO4.cjs → chunk-YPTOQDCY.cjs} +4 -4
  43. package/dist/{chunk-R3XO2KO4.cjs.map → chunk-YPTOQDCY.cjs.map} +1 -1
  44. package/dist/components/case-studies/index.cjs +8 -8
  45. package/dist/components/case-studies/index.js +2 -2
  46. package/dist/components/chat/index.cjs +2 -2
  47. package/dist/components/chat/index.js +1 -1
  48. package/dist/components/contact/index.cjs +3 -3
  49. package/dist/components/contact/index.js +2 -2
  50. package/dist/components/docs/index.cjs +5 -5
  51. package/dist/components/docs/index.js +4 -4
  52. package/dist/components/embeds/index.cjs +3 -3
  53. package/dist/components/embeds/index.js +2 -2
  54. package/dist/components/faq/index.cjs +3 -3
  55. package/dist/components/faq/index.js +2 -2
  56. package/dist/components/features/index.cjs +2 -2
  57. package/dist/components/features/index.js +1 -1
  58. package/dist/components/help-center-pages/index.cjs +22 -22
  59. package/dist/components/help-center-pages/index.js +13 -13
  60. package/dist/components/index.cjs +132 -132
  61. package/dist/components/index.js +11 -11
  62. package/dist/components/meeting-scheduler/index.cjs +34 -34
  63. package/dist/components/meeting-scheduler/index.js +3 -3
  64. package/dist/components/navigation/index.cjs +2 -2
  65. package/dist/components/navigation/index.js +1 -1
  66. package/dist/components/navigation/mobile-burger-menu.d.ts.map +1 -1
  67. package/dist/components/navigation/navigation-sidebar.d.ts.map +1 -1
  68. package/dist/components/onboarding-guides/index.cjs +5 -5
  69. package/dist/components/onboarding-guides/index.js +4 -4
  70. package/dist/components/related-content/index.cjs +3 -3
  71. package/dist/components/related-content/index.js +2 -2
  72. package/dist/components/tickets/index.cjs +6 -6
  73. package/dist/components/tickets/index.js +5 -5
  74. package/dist/components/ui/index.cjs +2 -2
  75. package/dist/components/ui/index.js +1 -1
  76. package/dist/components/ui/reopen-ticket-modal.d.ts +6 -5
  77. package/dist/components/ui/reopen-ticket-modal.d.ts.map +1 -1
  78. package/dist/index.cjs +2 -2
  79. package/dist/index.js +1 -1
  80. package/dist/types/navigation.d.ts +25 -0
  81. package/dist/types/navigation.d.ts.map +1 -1
  82. package/package.json +1 -1
  83. package/src/components/navigation/mobile-burger-menu.tsx +5 -0
  84. package/src/components/navigation/navigation-sidebar.tsx +26 -19
  85. package/src/components/ui/reopen-ticket-modal.tsx +9 -8
  86. package/src/stories/ReopenTicketModal.stories.tsx +8 -8
  87. package/src/types/navigation.ts +23 -0
  88. package/dist/chunk-QQ3HUSDJ.cjs.map +0 -1
  89. /package/dist/{chunk-C6NKOHFW.js.map → chunk-2BKR65LQ.js.map} +0 -0
  90. /package/dist/{chunk-ZBRKTF6S.js.map → chunk-5W4R3BUR.js.map} +0 -0
  91. /package/dist/{chunk-56QT3JBZ.js.map → chunk-6WUUZ43M.js.map} +0 -0
  92. /package/dist/{chunk-73W4L656.js.map → chunk-AQO2DWL2.js.map} +0 -0
  93. /package/dist/{chunk-ZHW5VLHY.js.map → chunk-F5R4IMRF.js.map} +0 -0
  94. /package/dist/{chunk-EH6LNTOT.js.map → chunk-IP4IZ4PB.js.map} +0 -0
  95. /package/dist/{chunk-4BK5Z763.js.map → chunk-MKDOZF4C.js.map} +0 -0
  96. /package/dist/{chunk-BNF6FZLP.js.map → chunk-VUVKZBDO.js.map} +0 -0
  97. /package/dist/{chunk-7CBQWZAH.js.map → chunk-VYQLCGFR.js.map} +0 -0
  98. /package/dist/{chunk-67CKAX7Z.js.map → chunk-WA3IEPEY.js.map} +0 -0
  99. /package/dist/{chunk-KUKHUECE.js.map → chunk-X5VMEFIA.js.map} +0 -0
  100. /package/dist/{chunk-QK4SQAYG.js.map → chunk-XPGB6J75.js.map} +0 -0
  101. /package/dist/{chunk-UBEVU6LS.js.map → chunk-Y5TDZNWA.js.map} +0 -0
@@ -41827,18 +41827,21 @@ function NavigationSidebar({ config, disabled = false }) {
41827
41827
  children: [
41828
41828
  /* @__PURE__ */ jsx311(NavigationSidebarHeader, { minimized }),
41829
41829
  /* @__PURE__ */ jsxs240("div", { className: "flex-1 flex flex-col justify-between py-4 overflow-y-auto", children: [
41830
- /* @__PURE__ */ jsx311("nav", { className: "flex flex-col", "aria-label": "Primary navigation", "aria-busy": !!loadingRows, children: loadingRows ? loadingRows.primary.map((key) => /* @__PURE__ */ jsx311(NavigationSidebarItemSkeleton, { showLabel }, key)) : primaryItems.map((item) => /* @__PURE__ */ jsx311(
41831
- NavigationSidebarItemButton,
41832
- {
41833
- item,
41834
- isActive: item.id === committedActiveId,
41835
- isPending: item.id === pendingItemId,
41836
- showLabel,
41837
- disabled,
41838
- onClick: handleItemClick
41839
- },
41840
- item.id
41841
- )) }),
41830
+ /* @__PURE__ */ jsxs240("div", { className: "flex flex-col", children: [
41831
+ config.topSlot?.({ minimized }),
41832
+ /* @__PURE__ */ jsx311("nav", { className: "flex flex-col", "aria-label": "Primary navigation", "aria-busy": !!loadingRows, children: loadingRows ? loadingRows.primary.map((key) => /* @__PURE__ */ jsx311(NavigationSidebarItemSkeleton, { showLabel }, key)) : primaryItems.map((item) => /* @__PURE__ */ jsx311(
41833
+ NavigationSidebarItemButton,
41834
+ {
41835
+ item,
41836
+ isActive: item.id === committedActiveId,
41837
+ isPending: item.id === pendingItemId,
41838
+ showLabel,
41839
+ disabled,
41840
+ onClick: handleItemClick
41841
+ },
41842
+ item.id
41843
+ )) })
41844
+ ] }),
41842
41845
  (loadingRows ? loadingRows.secondary.length > 0 : secondaryItems.length > 0) && /* @__PURE__ */ jsx311("nav", { className: "flex flex-col", "aria-label": "Secondary navigation", "aria-busy": !!loadingRows, children: loadingRows ? loadingRows.secondary.map((key) => /* @__PURE__ */ jsx311(NavigationSidebarItemSkeleton, { showLabel }, key)) : secondaryItems.map((item) => /* @__PURE__ */ jsx311(
41843
41846
  NavigationSidebarItemButton,
41844
41847
  {
@@ -42478,6 +42481,7 @@ var MobileBurgerMenu = React123.memo(function MobileBurgerMenu2({
42478
42481
  ]
42479
42482
  }
42480
42483
  ),
42484
+ config.topSlot?.({ minimized: false }),
42481
42485
  /* @__PURE__ */ jsx316("nav", { "aria-label": "Primary navigation", children: renderNavigationGrid(primaryItems) }),
42482
42486
  secondaryItems.length > 0 && /* @__PURE__ */ jsx316("nav", { "aria-label": "Secondary navigation", className: "flex flex-col gap-3", children: secondaryItems.map((item) => /* @__PURE__ */ jsx316(React123.Fragment, { children: renderNavigationItem(item, false) }, item.id)) }),
42483
42487
  onLogout && /* @__PURE__ */ jsxs245(
@@ -48694,11 +48698,11 @@ function ReopenTicketModal({
48694
48698
  const selectedStatus = statusOptions.find((o) => o.value === selectedStatusId);
48695
48699
  const selectedAssignee = assigneeOptions.find((o) => o.value === assigneeId);
48696
48700
  const handleConfirm = () => {
48697
- if (!selectedStatusId || isPending) return;
48701
+ if (!selectedStatusId || !assigneeId || isPending) return;
48698
48702
  const trimmedReason = reason.trim();
48699
48703
  onConfirm({
48700
48704
  statusId: selectedStatusId,
48701
- assigneeId: assigneeId ?? null,
48705
+ assigneeId,
48702
48706
  reason: trimmedReason ? trimmedReason.slice(0, REASON_MAX_LENGTH) : null
48703
48707
  });
48704
48708
  };
@@ -48767,7 +48771,7 @@ function ReopenTicketModal({
48767
48771
  variant: "accent",
48768
48772
  onClick: handleConfirm,
48769
48773
  loading: isPending,
48770
- disabled: !selectedStatusId,
48774
+ disabled: !selectedStatusId || !assigneeId,
48771
48775
  className: "flex-1",
48772
48776
  children: "Reopen Ticket"
48773
48777
  }
@@ -62548,4 +62552,4 @@ export {
62548
62552
  LogsList,
62549
62553
  assets
62550
62554
  };
62551
- //# sourceMappingURL=chunk-RBBWKSRC.js.map
62555
+ //# sourceMappingURL=chunk-NQSGY5HW.js.map