@flamingo-stack/openframe-frontend-core 0.0.697 → 0.0.698-2527.7765.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.
Files changed (218) hide show
  1. package/dist/{chunk-77XUG4Z4.js → chunk-2FCONMFQ.js} +10 -10
  2. package/dist/{chunk-F6U2H42L.cjs → chunk-2JRKNGJ4.cjs} +6 -1
  3. package/dist/chunk-2JRKNGJ4.cjs.map +1 -0
  4. package/dist/{chunk-N4G3C4B4.cjs → chunk-4WYMOK5O.cjs} +12 -12
  5. package/dist/{chunk-N4G3C4B4.cjs.map → chunk-4WYMOK5O.cjs.map} +1 -1
  6. package/dist/{chunk-NE4H4JJG.cjs → chunk-5EL4RXTH.cjs} +42 -42
  7. package/dist/{chunk-NE4H4JJG.cjs.map → chunk-5EL4RXTH.cjs.map} +1 -1
  8. package/dist/{chunk-6CDP6TGH.cjs → chunk-5TAHPP4S.cjs} +126 -27
  9. package/dist/chunk-5TAHPP4S.cjs.map +1 -0
  10. package/dist/{chunk-75CG72QX.cjs → chunk-66F4L6EW.cjs} +33 -33
  11. package/dist/{chunk-75CG72QX.cjs.map → chunk-66F4L6EW.cjs.map} +1 -1
  12. package/dist/{chunk-M3JA577H.js → chunk-6SN6IVLN.js} +3 -3
  13. package/dist/{chunk-QYFXRVH3.js → chunk-7XVYYJHT.js} +9 -9
  14. package/dist/{chunk-VSQVJHOS.js → chunk-AKVO7FP4.js} +2 -2
  15. package/dist/{chunk-LF4S37VU.js → chunk-AV7Z25I6.js} +5 -5
  16. package/dist/{chunk-RIDRAKQ5.cjs → chunk-AXH5TM5A.cjs} +15 -15
  17. package/dist/{chunk-RIDRAKQ5.cjs.map → chunk-AXH5TM5A.cjs.map} +1 -1
  18. package/dist/{chunk-KLDCI3KF.cjs → chunk-BBKYGX6S.cjs} +3 -3
  19. package/dist/{chunk-KLDCI3KF.cjs.map → chunk-BBKYGX6S.cjs.map} +1 -1
  20. package/dist/{chunk-J4MCVIXU.js → chunk-BNJBJTEK.js} +209 -110
  21. package/dist/chunk-BNJBJTEK.js.map +1 -0
  22. package/dist/{chunk-PYNHPMDB.js → chunk-BWUJUOI6.js} +5 -5
  23. package/dist/{chunk-LEGNIETR.cjs → chunk-CDLQ33TK.cjs} +5 -5
  24. package/dist/{chunk-LEGNIETR.cjs.map → chunk-CDLQ33TK.cjs.map} +1 -1
  25. package/dist/{chunk-LNOXNCEC.js → chunk-D3G6PGO5.js} +4 -4
  26. package/dist/{chunk-CVMWOUAX.cjs → chunk-DNSJ55MN.cjs} +48 -48
  27. package/dist/{chunk-CVMWOUAX.cjs.map → chunk-DNSJ55MN.cjs.map} +1 -1
  28. package/dist/{chunk-SG53SIJX.js → chunk-ERYNBP3I.js} +6 -6
  29. package/dist/{chunk-EWQZ4BXD.cjs → chunk-EYVR3SM4.cjs} +7 -7
  30. package/dist/{chunk-EWQZ4BXD.cjs.map → chunk-EYVR3SM4.cjs.map} +1 -1
  31. package/dist/{chunk-Z7A7FUWY.js → chunk-F4HUQV3I.js} +3 -3
  32. package/dist/{chunk-RQ3HFUKV.cjs → chunk-FEXS67IG.cjs} +8 -8
  33. package/dist/{chunk-RQ3HFUKV.cjs.map → chunk-FEXS67IG.cjs.map} +1 -1
  34. package/dist/{chunk-JBMFCHNT.js → chunk-HIYZHMNX.js} +2850 -2389
  35. package/dist/chunk-HIYZHMNX.js.map +1 -0
  36. package/dist/{chunk-3V7O7J4S.cjs → chunk-HMAXNSBZ.cjs} +28 -28
  37. package/dist/{chunk-3V7O7J4S.cjs.map → chunk-HMAXNSBZ.cjs.map} +1 -1
  38. package/dist/{chunk-JU6SBF3C.cjs → chunk-HT7SU5UN.cjs} +7 -7
  39. package/dist/{chunk-JU6SBF3C.cjs.map → chunk-HT7SU5UN.cjs.map} +1 -1
  40. package/dist/{chunk-Y2MDXJB4.js → chunk-JZCCRN3K.js} +2 -2
  41. package/dist/{chunk-WVDBRL2S.js → chunk-KSRNOGR7.js} +7 -7
  42. package/dist/{chunk-2FK7BZIM.cjs → chunk-LDQPA4PS.cjs} +18 -18
  43. package/dist/{chunk-2FK7BZIM.cjs.map → chunk-LDQPA4PS.cjs.map} +1 -1
  44. package/dist/{chunk-4HVWGYHI.js → chunk-LPLXCDNV.js} +6 -1
  45. package/dist/chunk-LPLXCDNV.js.map +1 -0
  46. package/dist/{chunk-QD4BVKAU.js → chunk-NIIR776F.js} +6 -6
  47. package/dist/{chunk-H6SSHFMD.js → chunk-OMP5KPDM.js} +6 -6
  48. package/dist/{chunk-J4VGVLQI.js → chunk-OPGUDB4U.js} +3 -3
  49. package/dist/{chunk-VE7HLTVQ.js → chunk-OX4IH3OJ.js} +2 -2
  50. package/dist/{chunk-GRBZC5N3.js → chunk-PELIFROQ.js} +2 -2
  51. package/dist/{chunk-T33ICOHD.cjs → chunk-R7BYRYBI.cjs} +29 -29
  52. package/dist/{chunk-T33ICOHD.cjs.map → chunk-R7BYRYBI.cjs.map} +1 -1
  53. package/dist/{chunk-7MM6EDNA.cjs → chunk-RNJUMB6Q.cjs} +55 -32
  54. package/dist/{chunk-7MM6EDNA.cjs.map → chunk-RNJUMB6Q.cjs.map} +1 -1
  55. package/dist/{chunk-5DBWXJBG.cjs → chunk-SLSHTLNT.cjs} +1462 -1001
  56. package/dist/chunk-SLSHTLNT.cjs.map +1 -0
  57. package/dist/{chunk-FZFEIXGB.cjs → chunk-TOS2OL6W.cjs} +98 -98
  58. package/dist/{chunk-FZFEIXGB.cjs.map → chunk-TOS2OL6W.cjs.map} +1 -1
  59. package/dist/{chunk-VCR3TW2H.cjs → chunk-TVMY3U3W.cjs} +8 -8
  60. package/dist/{chunk-VCR3TW2H.cjs.map → chunk-TVMY3U3W.cjs.map} +1 -1
  61. package/dist/{chunk-WADR7VIA.cjs → chunk-TWOY6ACV.cjs} +70 -70
  62. package/dist/{chunk-WADR7VIA.cjs.map → chunk-TWOY6ACV.cjs.map} +1 -1
  63. package/dist/{chunk-YCVDJX7Z.js → chunk-U5CUVGUQ.js} +4 -4
  64. package/dist/{chunk-3S56I5MX.js → chunk-U7J7G5J7.js} +3 -3
  65. package/dist/{chunk-XRW5VZKH.cjs → chunk-VCXNLUBP.cjs} +14 -14
  66. package/dist/{chunk-XRW5VZKH.cjs.map → chunk-VCXNLUBP.cjs.map} +1 -1
  67. package/dist/{chunk-5P2J7E5E.cjs → chunk-WC76QXUX.cjs} +3 -3
  68. package/dist/{chunk-5P2J7E5E.cjs.map → chunk-WC76QXUX.cjs.map} +1 -1
  69. package/dist/{chunk-OB3ZJ7GQ.js → chunk-XGB5EEFZ.js} +3 -3
  70. package/dist/{chunk-MFU3ALKM.cjs → chunk-YNAWEA3G.cjs} +232 -232
  71. package/dist/{chunk-MFU3ALKM.cjs.map → chunk-YNAWEA3G.cjs.map} +1 -1
  72. package/dist/{chunk-LZXZ3C6M.js → chunk-ZZ6VFA36.js} +32 -9
  73. package/dist/chunk-ZZ6VFA36.js.map +1 -0
  74. package/dist/components/announcement-bar.d.ts +1 -1
  75. package/dist/components/announcement-bar.d.ts.map +1 -1
  76. package/dist/components/calendar.cjs +4 -4
  77. package/dist/components/calendar.js +1 -1
  78. package/dist/components/case-studies/index.cjs +21 -21
  79. package/dist/components/case-studies/index.js +7 -7
  80. package/dist/components/chat/index.cjs +4 -4
  81. package/dist/components/chat/index.js +3 -3
  82. package/dist/components/contact/index.cjs +8 -8
  83. package/dist/components/contact/index.js +7 -7
  84. package/dist/components/docs/index.cjs +11 -11
  85. package/dist/components/docs/index.js +10 -10
  86. package/dist/components/embeds/index.cjs +8 -8
  87. package/dist/components/embeds/index.js +7 -7
  88. package/dist/components/faq/index.cjs +8 -8
  89. package/dist/components/faq/index.js +7 -7
  90. package/dist/components/features/conversation-card.d.ts +32 -0
  91. package/dist/components/features/conversation-card.d.ts.map +1 -0
  92. package/dist/components/features/index.cjs +9 -7
  93. package/dist/components/features/index.cjs.map +1 -1
  94. package/dist/components/features/index.d.ts +1 -0
  95. package/dist/components/features/index.d.ts.map +1 -1
  96. package/dist/components/features/index.js +8 -6
  97. package/dist/components/help-center-pages/index.cjs +101 -101
  98. package/dist/components/help-center-pages/index.js +20 -20
  99. package/dist/components/index.cjs +127 -109
  100. package/dist/components/index.cjs.map +1 -1
  101. package/dist/components/index.js +39 -21
  102. package/dist/components/index.js.map +1 -1
  103. package/dist/components/meeting-scheduler/index.cjs +59 -59
  104. package/dist/components/meeting-scheduler/index.js +8 -8
  105. package/dist/components/navigation/index.cjs +10 -10
  106. package/dist/components/navigation/index.js +9 -9
  107. package/dist/components/onboarding-guides/index.cjs +10 -10
  108. package/dist/components/onboarding-guides/index.js +9 -9
  109. package/dist/components/platform/ToolBadge.d.ts +17 -9
  110. package/dist/components/platform/ToolBadge.d.ts.map +1 -1
  111. package/dist/components/related-content/index.cjs +5 -5
  112. package/dist/components/related-content/index.js +4 -4
  113. package/dist/components/tickets/index.cjs +12 -12
  114. package/dist/components/tickets/index.js +11 -11
  115. package/dist/components/ui/app-window-frame.d.ts +20 -0
  116. package/dist/components/ui/app-window-frame.d.ts.map +1 -0
  117. package/dist/components/ui/button/button-styles.d.ts +1 -0
  118. package/dist/components/ui/button/button-styles.d.ts.map +1 -1
  119. package/dist/components/ui/button/button.d.ts +1 -1
  120. package/dist/components/ui/button/button.d.ts.map +1 -1
  121. package/dist/components/ui/feature-card.d.ts +5 -0
  122. package/dist/components/ui/feature-card.d.ts.map +1 -1
  123. package/dist/components/ui/feature-list.d.ts +12 -1
  124. package/dist/components/ui/feature-list.d.ts.map +1 -1
  125. package/dist/components/ui/file-manager/index.cjs +11 -11
  126. package/dist/components/ui/file-manager/index.js +1 -1
  127. package/dist/components/ui/incident-feed.d.ts +49 -0
  128. package/dist/components/ui/incident-feed.d.ts.map +1 -0
  129. package/dist/components/ui/index.cjs +21 -7
  130. package/dist/components/ui/index.cjs.map +1 -1
  131. package/dist/components/ui/index.d.ts +5 -0
  132. package/dist/components/ui/index.d.ts.map +1 -1
  133. package/dist/components/ui/index.js +20 -6
  134. package/dist/components/ui/page-actions.d.ts +1 -1
  135. package/dist/components/ui/page-actions.d.ts.map +1 -1
  136. package/dist/components/ui/phone-frame.d.ts +19 -0
  137. package/dist/components/ui/phone-frame.d.ts.map +1 -0
  138. package/dist/components/ui/snap-carousel.d.ts +27 -0
  139. package/dist/components/ui/snap-carousel.d.ts.map +1 -0
  140. package/dist/components/ui/sticky-action-bar.d.ts +29 -0
  141. package/dist/components/ui/sticky-action-bar.d.ts.map +1 -0
  142. package/dist/components/ui/tab-navigation.d.ts +14 -1
  143. package/dist/components/ui/tab-navigation.d.ts.map +1 -1
  144. package/dist/hooks/index.cjs +12 -2
  145. package/dist/hooks/index.cjs.map +1 -1
  146. package/dist/hooks/index.d.ts +1 -0
  147. package/dist/hooks/index.d.ts.map +1 -1
  148. package/dist/hooks/index.js +11 -1
  149. package/dist/hooks/ui/index.d.ts +2 -0
  150. package/dist/hooks/ui/index.d.ts.map +1 -1
  151. package/dist/hooks/ui/use-in-view.d.ts +20 -0
  152. package/dist/hooks/ui/use-in-view.d.ts.map +1 -0
  153. package/dist/hooks/ui/use-prefers-reduced-motion.d.ts +13 -0
  154. package/dist/hooks/ui/use-prefers-reduced-motion.d.ts.map +1 -0
  155. package/dist/hooks/use-scenario-player.d.ts +45 -0
  156. package/dist/hooks/use-scenario-player.d.ts.map +1 -0
  157. package/dist/index.cjs +38 -12
  158. package/dist/index.cjs.map +1 -1
  159. package/dist/index.js +36 -10
  160. package/dist/index.js.map +1 -1
  161. package/dist/types/announcement.cjs.map +1 -1
  162. package/dist/types/announcement.d.ts +21 -0
  163. package/dist/types/announcement.d.ts.map +1 -1
  164. package/dist/types/announcement.js.map +1 -1
  165. package/dist/types/index.cjs.map +1 -1
  166. package/dist/types/index.js.map +1 -1
  167. package/package.json +1 -1
  168. package/src/components/announcement-bar.tsx +7 -1
  169. package/src/components/features/conversation-card.tsx +93 -0
  170. package/src/components/features/index.ts +3 -0
  171. package/src/components/platform/ToolBadge.tsx +47 -13
  172. package/src/components/ui/__tests__/snap-carousel.test.tsx +116 -0
  173. package/src/components/ui/app-window-frame.tsx +41 -0
  174. package/src/components/ui/button/button-styles.ts +5 -0
  175. package/src/components/ui/button/button.tsx +1 -0
  176. package/src/components/ui/feature-card.tsx +16 -1
  177. package/src/components/ui/feature-list.tsx +57 -13
  178. package/src/components/ui/incident-feed.tsx +143 -0
  179. package/src/components/ui/index.ts +8 -0
  180. package/src/components/ui/page-actions.tsx +1 -1
  181. package/src/components/ui/phone-frame.tsx +38 -0
  182. package/src/components/ui/snap-carousel.tsx +186 -0
  183. package/src/components/ui/sticky-action-bar.tsx +81 -0
  184. package/src/components/ui/tab-navigation.tsx +63 -13
  185. package/src/hooks/__tests__/use-scenario-player.test.tsx +144 -0
  186. package/src/hooks/index.ts +3 -0
  187. package/src/hooks/ui/index.ts +2 -0
  188. package/src/hooks/ui/use-in-view.ts +63 -0
  189. package/src/hooks/ui/use-prefers-reduced-motion.ts +22 -0
  190. package/src/hooks/use-scenario-player.ts +102 -0
  191. package/src/stories/DemoStage.stories.tsx +241 -0
  192. package/src/types/announcement.ts +21 -0
  193. package/dist/chunk-4HVWGYHI.js.map +0 -1
  194. package/dist/chunk-5DBWXJBG.cjs.map +0 -1
  195. package/dist/chunk-6CDP6TGH.cjs.map +0 -1
  196. package/dist/chunk-F6U2H42L.cjs.map +0 -1
  197. package/dist/chunk-J4MCVIXU.js.map +0 -1
  198. package/dist/chunk-JBMFCHNT.js.map +0 -1
  199. package/dist/chunk-LZXZ3C6M.js.map +0 -1
  200. /package/dist/{chunk-77XUG4Z4.js.map → chunk-2FCONMFQ.js.map} +0 -0
  201. /package/dist/{chunk-M3JA577H.js.map → chunk-6SN6IVLN.js.map} +0 -0
  202. /package/dist/{chunk-QYFXRVH3.js.map → chunk-7XVYYJHT.js.map} +0 -0
  203. /package/dist/{chunk-VSQVJHOS.js.map → chunk-AKVO7FP4.js.map} +0 -0
  204. /package/dist/{chunk-LF4S37VU.js.map → chunk-AV7Z25I6.js.map} +0 -0
  205. /package/dist/{chunk-PYNHPMDB.js.map → chunk-BWUJUOI6.js.map} +0 -0
  206. /package/dist/{chunk-LNOXNCEC.js.map → chunk-D3G6PGO5.js.map} +0 -0
  207. /package/dist/{chunk-SG53SIJX.js.map → chunk-ERYNBP3I.js.map} +0 -0
  208. /package/dist/{chunk-Z7A7FUWY.js.map → chunk-F4HUQV3I.js.map} +0 -0
  209. /package/dist/{chunk-Y2MDXJB4.js.map → chunk-JZCCRN3K.js.map} +0 -0
  210. /package/dist/{chunk-WVDBRL2S.js.map → chunk-KSRNOGR7.js.map} +0 -0
  211. /package/dist/{chunk-QD4BVKAU.js.map → chunk-NIIR776F.js.map} +0 -0
  212. /package/dist/{chunk-H6SSHFMD.js.map → chunk-OMP5KPDM.js.map} +0 -0
  213. /package/dist/{chunk-J4VGVLQI.js.map → chunk-OPGUDB4U.js.map} +0 -0
  214. /package/dist/{chunk-VE7HLTVQ.js.map → chunk-OX4IH3OJ.js.map} +0 -0
  215. /package/dist/{chunk-GRBZC5N3.js.map → chunk-PELIFROQ.js.map} +0 -0
  216. /package/dist/{chunk-YCVDJX7Z.js.map → chunk-U5CUVGUQ.js.map} +0 -0
  217. /package/dist/{chunk-3S56I5MX.js.map → chunk-U7J7G5J7.js.map} +0 -0
  218. /package/dist/{chunk-OB3ZJ7GQ.js.map → chunk-XGB5EEFZ.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }"use client";
2
2
 
3
3
 
4
- var _chunkRQ3HFUKVcjs = require('./chunk-RQ3HFUKV.cjs');
4
+ var _chunkFEXS67IGcjs = require('./chunk-FEXS67IG.cjs');
5
5
 
6
6
 
7
7
 
@@ -10,7 +10,7 @@ var _chunkRQ3HFUKVcjs = require('./chunk-RQ3HFUKV.cjs');
10
10
 
11
11
 
12
12
 
13
- var _chunk5DBWXJBGcjs = require('./chunk-5DBWXJBG.cjs');
13
+ var _chunkSLSHTLNTcjs = require('./chunk-SLSHTLNT.cjs');
14
14
 
15
15
 
16
16
 
@@ -20,7 +20,7 @@ var _chunkSADRZ4YIcjs = require('./chunk-SADRZ4YI.cjs');
20
20
 
21
21
 
22
22
 
23
- var _chunkVCR3TW2Hcjs = require('./chunk-VCR3TW2H.cjs');
23
+ var _chunkTVMY3U3Wcjs = require('./chunk-TVMY3U3W.cjs');
24
24
 
25
25
 
26
26
  var _chunkFCUTPPX5cjs = require('./chunk-FCUTPPX5.cjs');
@@ -33,7 +33,7 @@ var _jsxruntime = require('react/jsx-runtime');
33
33
  function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
34
34
  if (isFiltered) {
35
35
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
36
- _chunkRQ3HFUKVcjs.EmptyState,
36
+ _chunkFEXS67IGcjs.EmptyState,
37
37
  {
38
38
  type: "search",
39
39
  title: filtered.title,
@@ -46,7 +46,7 @@ function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
46
46
  }
47
47
  const hasCta = Boolean(empty.ctaText && (empty.onCtaClick || empty.ctaHref));
48
48
  return /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
49
- _chunkRQ3HFUKVcjs.EmptyState,
49
+ _chunkFEXS67IGcjs.EmptyState,
50
50
  {
51
51
  type: "generic",
52
52
  title: empty.title,
@@ -63,7 +63,7 @@ function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }) {
63
63
  var _react = require('react');
64
64
 
65
65
  function DevSectionView({ sectionKey, hero, preControls, children, showHeading = true }) {
66
- const section = _chunk5DBWXJBGcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
66
+ const section = _chunkSLSHTLNTcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
67
67
  const router = _chunkSADRZ4YIcjs.useRouter.call(void 0, );
68
68
  const pathname = _chunkSADRZ4YIcjs.usePathname.call(void 0, );
69
69
  const searchParams = _chunkSADRZ4YIcjs.useSearchParams.call(void 0, );
@@ -114,7 +114,7 @@ function DevSectionView({ sectionKey, hero, preControls, children, showHeading =
114
114
  preControls,
115
115
  (search || filter) && /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-4", children: [
116
116
  search && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
117
- _chunk5DBWXJBGcjs.SearchInput,
117
+ _chunkSLSHTLNTcjs.SearchInput,
118
118
  {
119
119
  showDropdown: false,
120
120
  placeholder: search.placeholder,
@@ -124,7 +124,7 @@ function DevSectionView({ sectionKey, hero, preControls, children, showHeading =
124
124
  }
125
125
  ),
126
126
  filter && /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
127
- _chunk5DBWXJBGcjs.StatusFilterComponent,
127
+ _chunkSLSHTLNTcjs.StatusFilterComponent,
128
128
  {
129
129
  selectedStatus: currentFilterValue,
130
130
  onStatusChange: handleFilterChange,
@@ -148,7 +148,7 @@ function DevSectionPage({
148
148
  shell = true
149
149
  }) {
150
150
  const router = _chunkSADRZ4YIcjs.useRouter.call(void 0, );
151
- const section = _chunk5DBWXJBGcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
151
+ const section = _chunkSLSHTLNTcjs.OPENFRAME_DEV_SECTIONS[sectionKey];
152
152
  const backCfg = backButton === false ? void 0 : {
153
153
  label: _nullishCoalesce((backButton ? backButton.label : void 0), () => ( "Back to home")),
154
154
  onClick: () => router.push(_nullishCoalesce((backButton ? backButton.href : void 0), () => ( "/")))
@@ -161,7 +161,7 @@ function DevSectionPage({
161
161
  // duplicate title. (The hero icon is intentionally dropped: TitleBlock is
162
162
  // frozen and renders title-only.)
163
163
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
164
- _chunk5DBWXJBGcjs.PageLayout,
164
+ _chunkSLSHTLNTcjs.PageLayout,
165
165
  {
166
166
  title: _nullishCoalesce(title, () => ( section.hero.title)),
167
167
  subtitle: _nullishCoalesce(subtitle, () => ( section.hero.description)),
@@ -172,7 +172,7 @@ function DevSectionPage({
172
172
  }
173
173
  )
174
174
  );
175
- return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunk5DBWXJBGcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
175
+ return shell ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _chunkSLSHTLNTcjs.PageShell, { children: inner }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "page-shell-content", children: inner });
176
176
  }
177
177
 
178
178
  // src/components/shared/dev-section/dev-card-row.tsx
@@ -230,9 +230,9 @@ function getRelativeTime(timestamp) {
230
230
  }
231
231
  function DeliveryRow({ item, href, target, caption, id, className }) {
232
232
  const taskType = item.taskType;
233
- const typeBadgeLabel = _chunk5DBWXJBGcjs.TASK_TYPE_LABELS[taskType] || "TASK";
234
- const typeBadgeTextColor = _chunk5DBWXJBGcjs.TASK_TYPE_TEXT_COLORS[taskType] || "";
235
- const statusBadgeScheme = _chunkVCR3TW2Hcjs.getStatusColorScheme.call(void 0, item.status);
233
+ const typeBadgeLabel = _chunkSLSHTLNTcjs.TASK_TYPE_LABELS[taskType] || "TASK";
234
+ const typeBadgeTextColor = _chunkSLSHTLNTcjs.TASK_TYPE_TEXT_COLORS[taskType] || "";
235
+ const statusBadgeScheme = _chunkTVMY3U3Wcjs.getStatusColorScheme.call(void 0, item.status);
236
236
  const relativeTime = getRelativeTime(item.dateUpdated);
237
237
  const subtitle = `ACTIVE ${relativeTime}${item.listNames.length > 0 ? `, ${item.listNames.join(", ")}` : ""}, ${item.id}`;
238
238
  const inner = /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-col items-start justify-between gap-[12px] md:flex-row md:gap-[16px]", children: [
@@ -244,7 +244,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
244
244
  ] }),
245
245
  /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex w-full flex-shrink-0 flex-row items-center gap-2 self-stretch md:w-auto md:flex-col md:items-end md:self-start", children: [
246
246
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
247
- _chunkVCR3TW2Hcjs.StatusBadge,
247
+ _chunkTVMY3U3Wcjs.StatusBadge,
248
248
  {
249
249
  text: item.status.toUpperCase(),
250
250
  colorScheme: statusBadgeScheme,
@@ -253,7 +253,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
253
253
  }
254
254
  ),
255
255
  /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
256
- _chunkVCR3TW2Hcjs.StatusBadge,
256
+ _chunkTVMY3U3Wcjs.StatusBadge,
257
257
  {
258
258
  text: typeBadgeLabel,
259
259
  variant: "card",
@@ -261,7 +261,7 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
261
261
  }
262
262
  ),
263
263
  item.assignees && item.assignees.length > 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
264
- _chunkVCR3TW2Hcjs.AvatarStack,
264
+ _chunkTVMY3U3Wcjs.AvatarStack,
265
265
  {
266
266
  size: "xs",
267
267
  className: "ml-auto md:ml-0",
@@ -302,4 +302,4 @@ function DeliveryRow({ item, href, target, caption, id, className }) {
302
302
 
303
303
 
304
304
  exports.ListEmptyState = ListEmptyState; exports.DevSectionView = DevSectionView; exports.DevSectionPage = DevSectionPage; exports.DevCardRowContent = DevCardRowContent; exports.DevCardRowSkeleton = DevCardRowSkeleton; exports.DevCardRowSkeletonList = DevCardRowSkeletonList; exports.DeliveryRow = DeliveryRow;
305
- //# sourceMappingURL=chunk-2FK7BZIM.cjs.map
305
+ //# sourceMappingURL=chunk-LDQPA4PS.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/chunk-2FK7BZIM.cjs","../src/components/list-empty-state.tsx","../src/components/shared/dev-section/dev-section-view.tsx","../src/components/shared/dev-section/dev-section-page.tsx","../src/components/shared/dev-section/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;AACC,YAAA;AACK,YAAA;AACb,UAAA;AAAA,QAAA;AAEF,MAAA;AACN,IAAA;AACF,EAAA;AAGgB,EAAA;AAChB,IAAA;AAAA;AAAA;AAAA;AAAA;AAKA,IAAA;AACQ,IAAA;AACR,IAAA;AACF,EAAA;AAEuB,EAAA;AAEnB,IAAA;AAIJ,EAAA;AAEU,EAAA;AAQN,IAAA;AAIJ,EAAA;AAGEA,EAAAA;AAIJ;ALmHyB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/chunk-2FK7BZIM.cjs","sourcesContent":[null,"'use client';\n\nimport { EmptyState } from './empty-state';\n\nexport interface ListEmptyStateCopy {\n title: string;\n description: string;\n}\n\nexport interface ListEmptyStateProps {\n /** A search or filter is narrowing the list, so \"nothing to show\" is a miss, not an empty list. */\n isFiltered: boolean;\n /** Copy for the filtered miss. `clearText` labels the reset button (default \"Clear filters\"). */\n filtered: ListEmptyStateCopy & { clearText?: string };\n /** Resets every search and filter the list owns. */\n onClearFilters: () => void;\n /**\n * Copy for a genuinely empty list, with an optional call to action (e.g. \"Create the first one\").\n * The CTA renders only when `ctaText` comes with `onCtaClick` or `ctaHref`, so an empty list with\n * no action never falls through to `EmptyState`'s path-sniffed default button.\n */\n empty: ListEmptyStateCopy & { ctaText?: string; onCtaClick?: () => void; ctaHref?: string };\n}\n\n/**\n * THE empty state of a searchable, filterable list: a filtered miss offers to clear the filters\n * (`search` icon, secondary button), a genuinely empty list says so and optionally offers its own\n * action (`generic` icon, primary button). Every list with filters renders this instead of choosing\n * between two `EmptyState`s by hand, so the two cases look and behave the same everywhere.\n */\nexport function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }: ListEmptyStateProps) {\n if (isFiltered) {\n return (\n <EmptyState\n type=\"search\"\n title={filtered.title}\n description={filtered.description}\n ctaText={filtered.clearText ?? 'Clear filters'}\n onCtaClick={onClearFilters}\n ctaVariant=\"secondary\"\n />\n );\n }\n\n const hasCta = Boolean(empty.ctaText && (empty.onCtaClick || empty.ctaHref));\n return (\n <EmptyState\n type=\"generic\"\n title={empty.title}\n description={empty.description}\n showCTA={hasCta}\n ctaText={empty.ctaText}\n onCtaClick={empty.onCtaClick}\n ctaHref={empty.ctaHref}\n />\n );\n}\n","'use client';\n\n/**\n * DevSectionView — the canonical chrome for ANY dev-center section\n * (Roadmap / Delivery / Releases). One component, used in BOTH:\n *\n * - tabbed `/roadmap-and-releases` (compact title mode, no `hero`)\n * - full-page `/roadmap`, `/bug-fixes-and-enhancements`, `/releases`\n * (hero mode with icon + description + back link)\n *\n * Owns: title rendering, the inline search input, the filter pill row,\n * and the URL-param wiring that connects both. The list `children`\n * receive a clean URL contract — they read `?<paramKey>=...` via\n * `useSearchParams()` and refetch on change. No duplicated controls.\n */\n\nimport type { ReactNode } from 'react';\nimport { useState } from 'react';\nimport { useRouter, useSearchParams, usePathname } from '../../../embed-shims';\nimport {\n OPENFRAME_DEV_SECTIONS,\n type OpenframeDevSection,\n type OpenframeDevSectionKey,\n} from '../../../utils/dev-sections/openframe-dev-sections';\nimport { StatusFilterComponent } from '../../features';\nimport { SearchInput } from '../../ui';\n\nexport interface DevSectionViewProps {\n /** Which section to render — drives title, search, and filter\n * config via the `OPENFRAME_DEV_SECTIONS` registry. */\n sectionKey: OpenframeDevSectionKey;\n /** When set, renders the rich page-level hero (icon + h1 + description).\n * Omit for the compact tab-context heading. */\n hero?: {\n /** Pre-rendered icon JSX. Server components render the icon themselves\n * and pass the element here — function references can't cross the\n * server→client boundary, but React elements can. */\n icon: ReactNode;\n /** Hero title. Falls back to `OPENFRAME_DEV_SECTIONS[sectionKey].hero.title`\n * when omitted, so embedders can override the (OpenFrame-specific) default\n * copy without forking the registry. */\n title?: string;\n description: string;\n };\n /** Optional slot rendered BETWEEN the hero and the search/filter\n * controls. Use this for an entry-action surface that should sit\n * above the list (e.g. the Help Center's \"Open a new ticket\" form).\n * The slot is wrapped in the same `gap-10` flex column so spacing\n * matches the surrounding chrome — callers should NOT add their\n * own top/bottom margin. Renders `null` (no DOM) when omitted. */\n preControls?: ReactNode;\n /** The page-specific list body. Reads URL params written by this\n * component (search input + filter pills). */\n children: ReactNode;\n /** Render this component's own title heading (hero or compact `h2`). Default\n * `true` — the tab context renders the compact heading itself. Pass `false`\n * when the host already renders the title elsewhere (e.g. `DevSectionPage`\n * routes it through the unified `PageLayout` `TitleBlock`): then only the\n * search + filter controls + list render, with no duplicate heading. */\n showHeading?: boolean;\n}\n\nexport function DevSectionView({ sectionKey, hero, preControls, children, showHeading = true }: DevSectionViewProps) {\n const section = OPENFRAME_DEV_SECTIONS[sectionKey];\n const router = useRouter();\n const pathname = usePathname();\n const searchParams = useSearchParams();\n\n // Widen from the registry's per-section literal types to the interface —\n // optional fields (`clearParamKeys`) exist on the interface but not on\n // every section's inferred literal. Sound: the registry `satisfies`\n // `Record<string, OpenframeDevSection>`.\n const search: OpenframeDevSection['search'] = section.search;\n const filter = section.filter;\n\n const currentSearch = search ? searchParams.get(search.paramKey) || '' : '';\n const currentFilterValue = filter ? searchParams.get(filter.paramKey) || filter.defaultValue : '';\n\n // Controlled search-input state — TYPING commits to the URL only on\n // Enter (not on every keystroke), but CLEARING commits immediately:\n // an emptied input must not keep filtering the list (the URL param —\n // and any linked `clearParamKeys` companion like the tickets\n // `?ticket=` drawer param — previously survived until Enter).\n // Lazy init from URL avoids a brief flash of stale value on first\n // paint after URL-driven re-render (e.g. tab switch).\n const [searchValue, setSearchValue] = useState(() => currentSearch);\n // Re-sync when the URL changes underneath us (tab switch, back/forward,\n // a companion param cleared elsewhere). Adjusted while rendering — React's\n // documented prop-sync pattern — rather than from an effect, which would\n // commit one frame with the input still showing the previous section's\n // query before replacing it.\n const [syncedSearch, setSyncedSearch] = useState(currentSearch);\n if (syncedSearch !== currentSearch) {\n setSyncedSearch(currentSearch);\n setSearchValue(currentSearch);\n }\n\n const handleSearchSubmit = (value: string) => {\n if (!search) return;\n const params = new URLSearchParams(searchParams.toString());\n if (value.trim()) {\n params.set(search.paramKey, value.trim());\n } else {\n params.delete(search.paramKey);\n // Empty commit tears down the search's linked companion params too\n // (deep links set them TOGETHER — see the config field docs).\n for (const key of search.clearParamKeys ?? []) params.delete(key);\n }\n const qs = params.toString();\n router.replace(qs ? `${pathname}?${qs}` : pathname, { scroll: false });\n };\n\n const handleSearchChange = (value: string) => {\n setSearchValue(value);\n if (value === '' && currentSearch !== '') handleSearchSubmit('');\n };\n\n const handleFilterChange = (value: string) => {\n if (!filter) return;\n const params = new URLSearchParams(searchParams.toString());\n if (value === filter.defaultValue) params.delete(filter.paramKey);\n else params.set(filter.paramKey, value);\n router.replace(`${pathname}?${params.toString()}`, { scroll: false });\n };\n\n return (\n <div className=\"flex w-full flex-col gap-10\">\n {showHeading &&\n (hero ? (\n <div className=\"space-y-4\">\n <h1 className=\"flex items-center gap-3 tracking-[-1.12px] text-ods-text-primary text-h1\">\n {hero.icon}\n {hero.title ?? section.hero.title}\n </h1>\n <p className=\"max-w-3xl text-ods-text-secondary text-h4\">{hero.description}</p>\n </div>\n ) : (\n <div className=\"flex w-full items-center justify-between\">\n <h2 className=\"font-['Azeret_Mono'] text-[32px] font-semibold leading-[40px] tracking-[-0.64px] text-ods-text-primary md:text-[40px] md:leading-[48px] md:tracking-[-0.8px] lg:text-[48px] lg:leading-[56px] lg:tracking-[-0.96px]\">\n {section.hero.title}\n <span className=\"text-ods-accent\">:</span>\n </h2>\n </div>\n ))}\n\n {preControls}\n\n {(search || filter) && (\n <div className=\"space-y-4\">\n {search && (\n <SearchInput\n showDropdown={false}\n placeholder={search.placeholder}\n value={searchValue}\n onChange={handleSearchChange}\n onSubmit={handleSearchSubmit}\n />\n )}\n {filter && (\n <StatusFilterComponent\n selectedStatus={currentFilterValue}\n onStatusChange={handleFilterChange}\n statusOptions={[...filter.options]}\n />\n )}\n </div>\n )}\n\n {children}\n </div>\n );\n}\n","'use client';\n\n/**\n * DevSectionPage — full-page wrapper for a dev-center section\n * (`/roadmap`, `/bug-fixes-and-enhancements`, `/releases`).\n *\n * Mounts the lib's canonical `PageLayout` directly (no in-app wrapper)\n * so the back-button affordance stays in lockstep with whatever the\n * design system ships — any future lib change to BackButton / TitleBlock\n * propagates automatically.\n *\n * Composition: `PageShell` → `PageLayout` (back-to-home wired) →\n * `DevSectionView` (icon hero + search + filter pills) → list body.\n *\n * Adding a new section is one entry in `OPENFRAME_DEV_SECTIONS` plus a\n * single-line page file mounting this factory with the new key.\n */\n\nimport type { ReactNode } from 'react';\nimport { useRouter } from '../../../embed-shims/next-navigation';\nimport {\n OPENFRAME_DEV_SECTIONS,\n type OpenframeDevSectionKey,\n} from '../../../utils/dev-sections/openframe-dev-sections';\nimport { PageShell, PageLayout } from '../../ui';\nimport { DevSectionView } from './dev-section-view';\n\nexport interface DevSectionPageProps {\n sectionKey: OpenframeDevSectionKey;\n /** The page-specific list body (e.g. `<RoadmapList />`). */\n children: ReactNode;\n /** Optional slot rendered BETWEEN the hero and search/filter — see\n * `DevSectionView.preControls`. Used by surfaces that want an entry\n * action (e.g. Help Center's \"Open a new ticket\" form) above the\n * controls instead of below them. */\n preControls?: ReactNode;\n /** Back-button config — same shape as `LegalDocumentPage` /\n * `ReleaseDetailPage`. Pass `false` to hide entirely. Default\n * `{ label: 'Back to home', href: '/' }` — embedders whose \"home\" isn't `/`\n * should override `href`, or pass `false` if the embed has no home page. */\n backButton?: { label?: string; href?: string } | false;\n /** Override the hero title. Defaults to the (OpenFrame-specific) copy in\n * `OPENFRAME_DEV_SECTIONS[sectionKey].hero.title`. Set this to brand the\n * section for a non-OpenFrame embed. */\n title?: string;\n /** Override the hero subtitle/description. Defaults to\n * `OPENFRAME_DEV_SECTIONS[sectionKey].hero.description`. */\n subtitle?: string;\n /** Render the standalone `<PageShell>` (own `<main>` + bg + max-width). Default\n * `true` — the contract for marketing/hub surfaces with no app shell. Pass\n * `false` when the host layout already provides the page container (e.g.\n * openframe-frontend's `AppLayout` `<main>`): then only the\n * `page-shell-content` padding box is rendered, avoiding a nested `<main>`. */\n shell?: boolean;\n}\n\nexport function DevSectionPage({\n sectionKey,\n children,\n preControls,\n backButton,\n title,\n subtitle,\n shell = true,\n}: DevSectionPageProps) {\n const router = useRouter();\n const section = OPENFRAME_DEV_SECTIONS[sectionKey];\n\n // Back-button config — mirrors LegalDocumentPage / ReleaseDetailPage.\n // Default: { label: 'Back to home', href: '/' }. Pass `false` to hide.\n // After `backButton &&` narrowing, inner type is `{ label?, href? } |\n // undefined`; don't re-compare to `false` (TS2367).\n const backCfg =\n backButton === false\n ? undefined\n : {\n label: (backButton ? backButton.label : undefined) ?? 'Back to home',\n onClick: () => router.push((backButton ? backButton.href : undefined) ?? '/'),\n };\n\n const inner = (\n // Unified header: title/description route through the canonical (frozen)\n // `PageLayout` `TitleBlock` (text-h2) — same as FAQ / Legal / detail pages —\n // so every help-center surface shares one header. `DevSectionView` then\n // renders ONLY its search + filter controls (`showHeading={false}`), no\n // duplicate title. (The hero icon is intentionally dropped: TitleBlock is\n // frozen and renders title-only.)\n <PageLayout\n title={title ?? section.hero.title}\n subtitle={subtitle ?? section.hero.description}\n titleSize=\"h1\"\n titleWrap\n backButton={backCfg}\n >\n <DevSectionView sectionKey={sectionKey} showHeading={false} preControls={preControls}>\n {children}\n </DevSectionView>\n </PageLayout>\n );\n\n // `shell` true → standalone `<PageShell>` (own <main> + bg + max-width).\n // false → padding-only box (no nested <main>) for hosts whose layout already\n // provides the container; both consume the host's `--page-shell-*` vars.\n return shell ? <PageShell>{inner}</PageShell> : <div className=\"page-shell-content\">{inner}</div>;\n}\n","'use client';\n\n/**\n * Shared row chrome for any `DevSectionPage` list (delivery, tickets,\n * future sections). One source of truth for the layout that every\n * dev-section card row uses:\n * left column → title (h3) / subtitle (h5 uppercase) / description\n * (h4 line-clamp-3), each in a fixed min-height block\n * so rows align across the grid\n * right column → caller-supplied stacked badges\n *\n * Surface stays small on purpose — `rightBadges` is a `ReactNode` so\n * the caller decides how many badges (delivery: 2, tickets: 1-2,\n * future: anything). No behavior baked in: the caller wraps the row\n * in a `<div>` (static, like delivery) or `<button>` (clickable, like\n * tickets) and renders the row content via this component.\n *\n * Pair with `DevCardRowSkeletonList` for the loading state — the\n * skeleton mirrors the same min-heights so the in-flight UI doesn't\n * shift the layout when real data lands.\n *\n * NOTE: the ticket conversation row is NOT here — it renders the shared\n * `<ChatMessageRow>` (`components/chat/chat-message-row.tsx`), the SAME\n * component the OpenMSP Slack-community feed uses, so the two surfaces stay\n * pixel-identical by construction.\n */\n\nimport type { ReactNode } from 'react';\n\nexport interface DevCardRowContentProps {\n title: string;\n /** Single-line uppercase metadata (e.g. \"UPDATED today, #4271, Code review\"). */\n subtitle: string;\n /** 3-line description block. Empty string renders the fallback. */\n description: string;\n /** Fallback copy when `description` is empty. Defaults to a generic\n * string; ticket / delivery surfaces override. */\n emptyDescription?: string;\n /** Right column — caller renders its own stacked badges. */\n rightBadges: ReactNode;\n}\n\nexport function DevCardRowContent({\n title,\n subtitle,\n description,\n emptyDescription = 'No description provided',\n rightBadges,\n}: DevCardRowContentProps) {\n return (\n <div className=\"flex w-full flex-col items-start justify-between gap-[12px] md:flex-row md:gap-[16px]\">\n <div className=\"flex w-full min-w-0 flex-1 flex-col gap-[12px] md:w-auto md:gap-[16px]\">\n <div className=\"flex min-h-[24px] items-center\">\n <h3 className=\"line-clamp-2 flex-1 break-words tracking-[-0.36px] text-ods-text-primary text-h3 md:truncate\">\n {title}\n </h3>\n </div>\n <div className=\"flex min-h-[20px] items-center\">\n <p className=\"truncate uppercase tracking-[-0.28px] text-ods-text-secondary text-h5\">{subtitle}</p>\n </div>\n <div className=\"flex min-h-[72px] items-center\">\n <p className=\"line-clamp-3 break-words text-ods-text-secondary text-h4\">{description || emptyDescription}</p>\n </div>\n </div>\n <div className=\"flex flex-shrink-0 flex-col gap-2 self-start\">{rightBadges}</div>\n </div>\n );\n}\n\n/**\n * Skeleton rendering for a single row — the bars mirror the same\n * min-heights as `DevCardRowContent` so the loading→loaded swap\n * doesn't reflow.\n */\nexport function DevCardRowSkeleton() {\n return (\n <div className=\"border-b border-ods-border p-[12px] last:border-b-0 md:p-[16px]\">\n <div className=\"flex w-full flex-col items-start justify-between gap-[12px] md:flex-row md:gap-[16px]\">\n <div className=\"flex w-full min-w-0 flex-1 flex-col gap-[12px] md:w-auto md:gap-[16px]\">\n <div className=\"flex min-h-[24px] items-center\">\n <div className=\"h-[20px] w-full animate-pulse rounded bg-ods-border\" />\n </div>\n <div className=\"flex min-h-[20px] items-center\">\n <div className=\"h-[20px] w-1/2 animate-pulse rounded bg-ods-border\" />\n </div>\n <div className=\"flex min-h-[72px] items-center\">\n <div className=\"flex-1 space-y-1\">\n <div className=\"h-[20px] w-full animate-pulse rounded bg-ods-border\" />\n <div className=\"h-[20px] w-full animate-pulse rounded bg-ods-border\" />\n <div className=\"h-[20px] w-2/3 animate-pulse rounded bg-ods-border\" />\n </div>\n </div>\n </div>\n <div className=\"flex flex-shrink-0 flex-col gap-2 self-start\">\n <div className=\"h-[32px] w-[100px] animate-pulse rounded bg-ods-border\" />\n <div className=\"h-[32px] w-[120px] animate-pulse rounded bg-ods-border\" />\n </div>\n </div>\n </div>\n );\n}\n\n/**\n * The standard \"5 skeleton rows inside a bordered card\" loading state\n * used by every list shell. Both delivery (`delivery-table.tsx`) and\n * tickets (`tickets-list.tsx`) mount this directly.\n */\nexport function DevCardRowSkeletonList({ rows = 5 }: { rows?: number }) {\n return (\n <div className=\"w-full overflow-hidden rounded-[6px] border border-ods-border bg-ods-card\">\n {Array.from({ length: rows }, (_, i) => (\n <DevCardRowSkeleton key={i} />\n ))}\n </div>\n );\n}\n","'use client';\n\n/**\n * `<DeliveryRow />` — canonical single-row presentation for a ClickUp\n * delivery item.\n *\n * Single source of truth: both the `/bug-fixes-and-enhancements` page\n * (via `DeliveryTable`) AND the linked-delivery card on a HubSpot ticket\n * (via `TicketLinkedDeliveryCard`) compose this primitive. Visual parity\n * across those two surfaces is the design goal — the user reads the\n * card on their ticket and recognises it as a row from the public\n * delivery list.\n *\n * Behaviors:\n * - `href` set → outer element is an `<a>`, the whole row becomes\n * clickable (used by the linked-card surface to deep-link into\n * `/bug-fixes-and-enhancements?focus=<id>`).\n * - `id` set → outer element gets that DOM id so the consuming page\n * can `scrollIntoView` to it when the URL carries `?focus=<id>`.\n * - `highlighted` true → brief accent border + background pulse\n * (`animate-flash-focus` keyframe defined in `tailwind.config.ts`).\n * - `caption` set → small uppercase label rendered above the title\n * (\"LINKED DELIVERY\" on the ticket-side variant). Omitted on the\n * standard list rendering.\n */\n\nimport Link from '../../../embed-shims/next-link';\nimport { type DeliveryItem, TASK_TYPE_LABELS, TASK_TYPE_TEXT_COLORS } from '../../../types/delivery';\nimport { getStatusColorScheme } from '../../../utils';\nimport { cn } from '../../../utils/cn';\nimport { AvatarStack } from '../../ui/avatar-stack';\nimport { StatusBadge } from '../../ui/status-badge';\n\n/** Same heuristic as DeliveryTable's local helper. Inlined so the row\n * primitive owns its complete rendering contract. */\nfunction getRelativeTime(timestamp: number): string {\n // A missing or zero timestamp is ABSENT data, not the epoch — without this\n // the row reads \"678 months ago\" for a task the API never dated.\n if (!timestamp) return 'recently';\n const now = Date.now();\n const diff = now - timestamp;\n const days = Math.floor(diff / (1000 * 60 * 60 * 24));\n const weeks = Math.floor(days / 7);\n const months = Math.floor(days / 30);\n if (months > 0) return months === 1 ? 'last month' : `${months} months ago`;\n if (weeks > 0) return weeks === 1 ? 'last week' : `${weeks} weeks ago`;\n if (days > 0) return days === 1 ? 'yesterday' : `${days} days ago`;\n return 'today';\n}\n\nexport interface DeliveryRowProps {\n item: DeliveryItem;\n /** When set, the row becomes a clickable anchor. The ticket-side\n * linked-card composes this from `buildDevSectionUrl('delivery', id)`\n * which carries `?search=<id>` — the delivery list filters to that\n * exact task on landing (canonical deep-link mechanism, same one\n * the chat-inline delivery card uses). */\n href?: string;\n /** Small uppercase caption rendered above the title. Used by the\n * linked-delivery card variant (\"LINKED DELIVERY\"). */\n caption?: string;\n /** DOM `id` applied to the row's outer element. `DeliveryTable`\n * always sets `delivery-<external_id>` so chat-card deep-links\n * (`?search=<id>#delivery-<id>`) and the ticket linked-card path\n * both have a target for `useScrollToHash` to scroll to. Always\n * paired with `scroll-mt-24` on the outer element so the row lands\n * BELOW the sticky chrome after the scroll. */\n id?: string;\n /** `'_blank'` renders a plain external anchor (new tab, `rel` hardened) —\n * for rows whose href leaves the app (e.g. the raw ClickUp task URL on the\n * design-doc surfaces). Internal deep-links omit it and keep the Link shim. */\n target?: '_blank';\n className?: string;\n}\n\nexport function DeliveryRow({ item, href, target, caption, id, className }: DeliveryRowProps) {\n const taskType = item.taskType as keyof typeof TASK_TYPE_LABELS;\n const typeBadgeLabel = TASK_TYPE_LABELS[taskType] || 'TASK';\n const typeBadgeTextColor = TASK_TYPE_TEXT_COLORS[taskType] || '';\n const statusBadgeScheme = getStatusColorScheme(item.status);\n const relativeTime = getRelativeTime(item.dateUpdated);\n const subtitle = `ACTIVE ${relativeTime}${item.listNames.length > 0 ? `, ${item.listNames.join(', ')}` : ''}, ${item.id}`;\n\n const inner = (\n <div className=\"flex w-full flex-col items-start justify-between gap-[12px] md:flex-row md:gap-[16px]\">\n {/* Left: caption (optional) + title + subtitle + description */}\n <div className=\"flex w-full min-w-0 flex-1 flex-col gap-[12px] md:w-auto md:gap-[16px]\">\n {caption && <p className=\"text-ods-text-secondary text-h5\">{caption}</p>}\n <div className=\"flex min-h-[24px] items-center md:min-h-[24px]\">\n <h3 className=\"line-clamp-2 flex-1 break-words tracking-[-0.36px] text-ods-text-primary text-h3 md:truncate\">\n {item.title}\n </h3>\n </div>\n <div className=\"flex min-h-[20px] items-center\">\n {/* Relative time is wall-clock-derived: on an SSR host the server and\n client render different strings a moment apart — text-only, so\n suppress instead of forcing a client-only render. */}\n <p className=\"truncate uppercase tracking-[-0.28px] text-ods-text-secondary text-h5\" suppressHydrationWarning>\n {subtitle}\n </p>\n </div>\n <div className=\"flex min-h-[72px] items-center\">\n <p className=\"line-clamp-3 break-words text-ods-text-secondary text-h4\">\n {item.description || 'No description provided'}\n </p>\n </div>\n </div>\n\n {/* Right (desktop): badges + assignee stack in a right-aligned\n column. Mobile: ONE horizontal footer row — badges lead,\n avatars anchor the right edge (kanban-card convention: the\n assignee owns the trailing slot of the meta row; a column of\n right-aligned orphans under the description reads as clutter\n on small screens). */}\n <div className=\"flex w-full flex-shrink-0 flex-row items-center gap-2 self-stretch md:w-auto md:flex-col md:items-end md:self-start\">\n <StatusBadge\n text={item.status.toUpperCase()}\n colorScheme={statusBadgeScheme}\n variant=\"card\"\n className=\"border border-ods-border\"\n />\n <StatusBadge\n text={typeBadgeLabel}\n variant=\"card\"\n className={`border border-ods-border ${typeBadgeTextColor}`}\n />\n {item.assignees && item.assignees.length > 0 ? (\n <AvatarStack\n size=\"xs\"\n className=\"ml-auto md:ml-0\"\n people={item.assignees.map(a => ({\n key: a.id,\n name: a.name ?? 'Unknown',\n avatarUrl: a.avatarUrl,\n }))}\n />\n ) : null}\n </div>\n </div>\n );\n\n const baseClass = cn(\n 'block p-[12px] text-inherit no-underline transition-colors duration-150 md:p-[16px]',\n // `scroll-mt-24` is paid for whether `id` is set or not (it's a\n // single Tailwind utility, no runtime cost). Keeping it\n // unconditional means a future caller adding `id` doesn't also\n // have to remember to ask for the offset.\n 'scroll-mt-24',\n href && 'cursor-pointer hover:bg-ods-bg-hover',\n className,\n );\n\n if (href && target === '_blank') {\n return (\n <a href={href} id={id} className={baseClass} target=\"_blank\" rel=\"noopener noreferrer\">\n {inner}\n </a>\n );\n }\n\n if (href) {\n // `Link` is the env-aware embed-shim — delegates to `next/link` on\n // a Next.js host (soft RSC nav, back-button restores the previous\n // page's React state intact), falls back to a plain `<a>` on\n // non-Next embedders. A raw `<a href>` was hard-navigating +\n // losing TanStack-Query state on back, leaving /tickets stuck on\n // its skeleton.\n return (\n <Link href={href} id={id} className={baseClass} prefetch={false}>\n {inner}\n </Link>\n );\n }\n\n return (\n <div id={id} className={baseClass}>\n {inner}\n </div>\n );\n}\n"]}
1
+ {"version":3,"sources":["/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/chunk-LDQPA4PS.cjs","../src/components/list-empty-state.tsx","../src/components/shared/dev-section/dev-section-view.tsx","../src/components/shared/dev-section/dev-section-page.tsx","../src/components/shared/dev-section/dev-card-row.tsx","../src/components/shared/delivery/delivery-row.tsx"],"names":["jsx","jsxs"],"mappings":"AAAA,yLAAY;AACZ;AACE;AACF,wDAA6B;AAC7B;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACA;AACA;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACE;AACF,wDAA6B;AAC7B;AACA;ACGM,+CAAA;AAHC,SAAS,cAAA,CAAe,EAAE,UAAA,EAAY,QAAA,EAAU,cAAA,EAAgB,MAAM,CAAA,EAAwB;AACnG,EAAA,GAAA,CAAI,UAAA,EAAY;AACd,IAAA,uBACE,6BAAA;AAAA,MAAC,4BAAA;AAAA,MAAA;AAAA,QACC,IAAA,EAAK,QAAA;AAAA,QACL,KAAA,EAAO,QAAA,CAAS,KAAA;AAAA,QAChB,WAAA,EAAa,QAAA,CAAS,WAAA;AAAA,QACtB,OAAA,mBAAS,QAAA,CAAS,SAAA,UAAa,iBAAA;AAAA,QAC/B,UAAA,EAAY,cAAA;AAAA,QACZ,UAAA,EAAW;AAAA,MAAA;AAAA,IACb,CAAA;AAAA,EAEJ;AAEA,EAAA,MAAM,OAAA,EAAS,OAAA,CAAQ,KAAA,CAAM,QAAA,GAAA,CAAY,KAAA,CAAM,WAAA,GAAc,KAAA,CAAM,OAAA,CAAQ,CAAA;AAC3E,EAAA,uBACE,6BAAA;AAAA,IAAC,4BAAA;AAAA,IAAA;AAAA,MACC,IAAA,EAAK,SAAA;AAAA,MACL,KAAA,EAAO,KAAA,CAAM,KAAA;AAAA,MAC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ACL,UAAA;AACE,UAAA;AAAA,QAAA;AACZ,MAAA;AACAA,sBAAAA;AAAC,QAAA;AAAA,QAAA;AACO,UAAA;AACE,UAAA;AACG,UAAA;AAA8C,QAAA;AAC3D,MAAA;AACmB,MAAA;AAChB,QAAA;AAAA,QAAA;AACM,UAAA;AACK,UAAA;AACG,UAAA;AACJ,YAAA;AACC,YAAA;AACK,YAAA;AACb,UAAA;AAAA,QAAA;AAEF,MAAA;AACN,IAAA;AACF,EAAA;AAGgB,EAAA;AAChB,IAAA;AAAA;AAAA;AAAA;AAAA;AAKA,IAAA;AACQ,IAAA;AACR,IAAA;AACF,EAAA;AAEuB,EAAA;AAEnB,IAAA;AAIJ,EAAA;AAEU,EAAA;AAQN,IAAA;AAIJ,EAAA;AAGEA,EAAAA;AAIJ;ALmHyB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"/home/runner/work/openframe-oss-lib/openframe-oss-lib/openframe-frontend-core/dist/chunk-LDQPA4PS.cjs","sourcesContent":[null,"'use client';\n\nimport { EmptyState } from './empty-state';\n\nexport interface ListEmptyStateCopy {\n title: string;\n description: string;\n}\n\nexport interface ListEmptyStateProps {\n /** A search or filter is narrowing the list, so \"nothing to show\" is a miss, not an empty list. */\n isFiltered: boolean;\n /** Copy for the filtered miss. `clearText` labels the reset button (default \"Clear filters\"). */\n filtered: ListEmptyStateCopy & { clearText?: string };\n /** Resets every search and filter the list owns. */\n onClearFilters: () => void;\n /**\n * Copy for a genuinely empty list, with an optional call to action (e.g. \"Create the first one\").\n * The CTA renders only when `ctaText` comes with `onCtaClick` or `ctaHref`, so an empty list with\n * no action never falls through to `EmptyState`'s path-sniffed default button.\n */\n empty: ListEmptyStateCopy & { ctaText?: string; onCtaClick?: () => void; ctaHref?: string };\n}\n\n/**\n * THE empty state of a searchable, filterable list: a filtered miss offers to clear the filters\n * (`search` icon, secondary button), a genuinely empty list says so and optionally offers its own\n * action (`generic` icon, primary button). Every list with filters renders this instead of choosing\n * between two `EmptyState`s by hand, so the two cases look and behave the same everywhere.\n */\nexport function ListEmptyState({ isFiltered, filtered, onClearFilters, empty }: ListEmptyStateProps) {\n if (isFiltered) {\n return (\n <EmptyState\n type=\"search\"\n title={filtered.title}\n description={filtered.description}\n ctaText={filtered.clearText ?? 'Clear filters'}\n onCtaClick={onClearFilters}\n ctaVariant=\"secondary\"\n />\n );\n }\n\n const hasCta = Boolean(empty.ctaText && (empty.onCtaClick || empty.ctaHref));\n return (\n <EmptyState\n type=\"generic\"\n title={empty.title}\n description={empty.description}\n showCTA={hasCta}\n ctaText={empty.ctaText}\n onCtaClick={empty.onCtaClick}\n ctaHref={empty.ctaHref}\n />\n );\n}\n","'use client';\n\n/**\n * DevSectionView — the canonical chrome for ANY dev-center section\n * (Roadmap / Delivery / Releases). One component, used in BOTH:\n *\n * - tabbed `/roadmap-and-releases` (compact title mode, no `hero`)\n * - full-page `/roadmap`, `/bug-fixes-and-enhancements`, `/releases`\n * (hero mode with icon + description + back link)\n *\n * Owns: title rendering, the inline search input, the filter pill row,\n * and the URL-param wiring that connects both. The list `children`\n * receive a clean URL contract — they read `?<paramKey>=...` via\n * `useSearchParams()` and refetch on change. No duplicated controls.\n */\n\nimport type { ReactNode } from 'react';\nimport { useState } from 'react';\nimport { useRouter, useSearchParams, usePathname } from '../../../embed-shims';\nimport {\n OPENFRAME_DEV_SECTIONS,\n type OpenframeDevSection,\n type OpenframeDevSectionKey,\n} from '../../../utils/dev-sections/openframe-dev-sections';\nimport { StatusFilterComponent } from '../../features';\nimport { SearchInput } from '../../ui';\n\nexport interface DevSectionViewProps {\n /** Which section to render — drives title, search, and filter\n * config via the `OPENFRAME_DEV_SECTIONS` registry. */\n sectionKey: OpenframeDevSectionKey;\n /** When set, renders the rich page-level hero (icon + h1 + description).\n * Omit for the compact tab-context heading. */\n hero?: {\n /** Pre-rendered icon JSX. Server components render the icon themselves\n * and pass the element here — function references can't cross the\n * server→client boundary, but React elements can. */\n icon: ReactNode;\n /** Hero title. Falls back to `OPENFRAME_DEV_SECTIONS[sectionKey].hero.title`\n * when omitted, so embedders can override the (OpenFrame-specific) default\n * copy without forking the registry. */\n title?: string;\n description: string;\n };\n /** Optional slot rendered BETWEEN the hero and the search/filter\n * controls. Use this for an entry-action surface that should sit\n * above the list (e.g. the Help Center's \"Open a new ticket\" form).\n * The slot is wrapped in the same `gap-10` flex column so spacing\n * matches the surrounding chrome — callers should NOT add their\n * own top/bottom margin. Renders `null` (no DOM) when omitted. */\n preControls?: ReactNode;\n /** The page-specific list body. Reads URL params written by this\n * component (search input + filter pills). */\n children: ReactNode;\n /** Render this component's own title heading (hero or compact `h2`). Default\n * `true` — the tab context renders the compact heading itself. Pass `false`\n * when the host already renders the title elsewhere (e.g. `DevSectionPage`\n * routes it through the unified `PageLayout` `TitleBlock`): then only the\n * search + filter controls + list render, with no duplicate heading. */\n showHeading?: boolean;\n}\n\nexport function DevSectionView({ sectionKey, hero, preControls, children, showHeading = true }: DevSectionViewProps) {\n const section = OPENFRAME_DEV_SECTIONS[sectionKey];\n const router = useRouter();\n const pathname = usePathname();\n const searchParams = useSearchParams();\n\n // Widen from the registry's per-section literal types to the interface —\n // optional fields (`clearParamKeys`) exist on the interface but not on\n // every section's inferred literal. Sound: the registry `satisfies`\n // `Record<string, OpenframeDevSection>`.\n const search: OpenframeDevSection['search'] = section.search;\n const filter = section.filter;\n\n const currentSearch = search ? searchParams.get(search.paramKey) || '' : '';\n const currentFilterValue = filter ? searchParams.get(filter.paramKey) || filter.defaultValue : '';\n\n // Controlled search-input state — TYPING commits to the URL only on\n // Enter (not on every keystroke), but CLEARING commits immediately:\n // an emptied input must not keep filtering the list (the URL param —\n // and any linked `clearParamKeys` companion like the tickets\n // `?ticket=` drawer param — previously survived until Enter).\n // Lazy init from URL avoids a brief flash of stale value on first\n // paint after URL-driven re-render (e.g. tab switch).\n const [searchValue, setSearchValue] = useState(() => currentSearch);\n // Re-sync when the URL changes underneath us (tab switch, back/forward,\n // a companion param cleared elsewhere). Adjusted while rendering — React's\n // documented prop-sync pattern — rather than from an effect, which would\n // commit one frame with the input still showing the previous section's\n // query before replacing it.\n const [syncedSearch, setSyncedSearch] = useState(currentSearch);\n if (syncedSearch !== currentSearch) {\n setSyncedSearch(currentSearch);\n setSearchValue(currentSearch);\n }\n\n const handleSearchSubmit = (value: string) => {\n if (!search) return;\n const params = new URLSearchParams(searchParams.toString());\n if (value.trim()) {\n params.set(search.paramKey, value.trim());\n } else {\n params.delete(search.paramKey);\n // Empty commit tears down the search's linked companion params too\n // (deep links set them TOGETHER — see the config field docs).\n for (const key of search.clearParamKeys ?? []) params.delete(key);\n }\n const qs = params.toString();\n router.replace(qs ? `${pathname}?${qs}` : pathname, { scroll: false });\n };\n\n const handleSearchChange = (value: string) => {\n setSearchValue(value);\n if (value === '' && currentSearch !== '') handleSearchSubmit('');\n };\n\n const handleFilterChange = (value: string) => {\n if (!filter) return;\n const params = new URLSearchParams(searchParams.toString());\n if (value === filter.defaultValue) params.delete(filter.paramKey);\n else params.set(filter.paramKey, value);\n router.replace(`${pathname}?${params.toString()}`, { scroll: false });\n };\n\n return (\n <div className=\"flex w-full flex-col gap-10\">\n {showHeading &&\n (hero ? (\n <div className=\"space-y-4\">\n <h1 className=\"flex items-center gap-3 tracking-[-1.12px] text-ods-text-primary text-h1\">\n {hero.icon}\n {hero.title ?? section.hero.title}\n </h1>\n <p className=\"max-w-3xl text-ods-text-secondary text-h4\">{hero.description}</p>\n </div>\n ) : (\n <div className=\"flex w-full items-center justify-between\">\n <h2 className=\"font-['Azeret_Mono'] text-[32px] font-semibold leading-[40px] tracking-[-0.64px] text-ods-text-primary md:text-[40px] md:leading-[48px] md:tracking-[-0.8px] lg:text-[48px] lg:leading-[56px] lg:tracking-[-0.96px]\">\n {section.hero.title}\n <span className=\"text-ods-accent\">:</span>\n </h2>\n </div>\n ))}\n\n {preControls}\n\n {(search || filter) && (\n <div className=\"space-y-4\">\n {search && (\n <SearchInput\n showDropdown={false}\n placeholder={search.placeholder}\n value={searchValue}\n onChange={handleSearchChange}\n onSubmit={handleSearchSubmit}\n />\n )}\n {filter && (\n <StatusFilterComponent\n selectedStatus={currentFilterValue}\n onStatusChange={handleFilterChange}\n statusOptions={[...filter.options]}\n />\n )}\n </div>\n )}\n\n {children}\n </div>\n );\n}\n","'use client';\n\n/**\n * DevSectionPage — full-page wrapper for a dev-center section\n * (`/roadmap`, `/bug-fixes-and-enhancements`, `/releases`).\n *\n * Mounts the lib's canonical `PageLayout` directly (no in-app wrapper)\n * so the back-button affordance stays in lockstep with whatever the\n * design system ships — any future lib change to BackButton / TitleBlock\n * propagates automatically.\n *\n * Composition: `PageShell` → `PageLayout` (back-to-home wired) →\n * `DevSectionView` (icon hero + search + filter pills) → list body.\n *\n * Adding a new section is one entry in `OPENFRAME_DEV_SECTIONS` plus a\n * single-line page file mounting this factory with the new key.\n */\n\nimport type { ReactNode } from 'react';\nimport { useRouter } from '../../../embed-shims/next-navigation';\nimport {\n OPENFRAME_DEV_SECTIONS,\n type OpenframeDevSectionKey,\n} from '../../../utils/dev-sections/openframe-dev-sections';\nimport { PageShell, PageLayout } from '../../ui';\nimport { DevSectionView } from './dev-section-view';\n\nexport interface DevSectionPageProps {\n sectionKey: OpenframeDevSectionKey;\n /** The page-specific list body (e.g. `<RoadmapList />`). */\n children: ReactNode;\n /** Optional slot rendered BETWEEN the hero and search/filter — see\n * `DevSectionView.preControls`. Used by surfaces that want an entry\n * action (e.g. Help Center's \"Open a new ticket\" form) above the\n * controls instead of below them. */\n preControls?: ReactNode;\n /** Back-button config — same shape as `LegalDocumentPage` /\n * `ReleaseDetailPage`. Pass `false` to hide entirely. Default\n * `{ label: 'Back to home', href: '/' }` — embedders whose \"home\" isn't `/`\n * should override `href`, or pass `false` if the embed has no home page. */\n backButton?: { label?: string; href?: string } | false;\n /** Override the hero title. Defaults to the (OpenFrame-specific) copy in\n * `OPENFRAME_DEV_SECTIONS[sectionKey].hero.title`. Set this to brand the\n * section for a non-OpenFrame embed. */\n title?: string;\n /** Override the hero subtitle/description. Defaults to\n * `OPENFRAME_DEV_SECTIONS[sectionKey].hero.description`. */\n subtitle?: string;\n /** Render the standalone `<PageShell>` (own `<main>` + bg + max-width). Default\n * `true` — the contract for marketing/hub surfaces with no app shell. Pass\n * `false` when the host layout already provides the page container (e.g.\n * openframe-frontend's `AppLayout` `<main>`): then only the\n * `page-shell-content` padding box is rendered, avoiding a nested `<main>`. */\n shell?: boolean;\n}\n\nexport function DevSectionPage({\n sectionKey,\n children,\n preControls,\n backButton,\n title,\n subtitle,\n shell = true,\n}: DevSectionPageProps) {\n const router = useRouter();\n const section = OPENFRAME_DEV_SECTIONS[sectionKey];\n\n // Back-button config — mirrors LegalDocumentPage / ReleaseDetailPage.\n // Default: { label: 'Back to home', href: '/' }. Pass `false` to hide.\n // After `backButton &&` narrowing, inner type is `{ label?, href? } |\n // undefined`; don't re-compare to `false` (TS2367).\n const backCfg =\n backButton === false\n ? undefined\n : {\n label: (backButton ? backButton.label : undefined) ?? 'Back to home',\n onClick: () => router.push((backButton ? backButton.href : undefined) ?? '/'),\n };\n\n const inner = (\n // Unified header: title/description route through the canonical (frozen)\n // `PageLayout` `TitleBlock` (text-h2) — same as FAQ / Legal / detail pages —\n // so every help-center surface shares one header. `DevSectionView` then\n // renders ONLY its search + filter controls (`showHeading={false}`), no\n // duplicate title. (The hero icon is intentionally dropped: TitleBlock is\n // frozen and renders title-only.)\n <PageLayout\n title={title ?? section.hero.title}\n subtitle={subtitle ?? section.hero.description}\n titleSize=\"h1\"\n titleWrap\n backButton={backCfg}\n >\n <DevSectionView sectionKey={sectionKey} showHeading={false} preControls={preControls}>\n {children}\n </DevSectionView>\n </PageLayout>\n );\n\n // `shell` true → standalone `<PageShell>` (own <main> + bg + max-width).\n // false → padding-only box (no nested <main>) for hosts whose layout already\n // provides the container; both consume the host's `--page-shell-*` vars.\n return shell ? <PageShell>{inner}</PageShell> : <div className=\"page-shell-content\">{inner}</div>;\n}\n","'use client';\n\n/**\n * Shared row chrome for any `DevSectionPage` list (delivery, tickets,\n * future sections). One source of truth for the layout that every\n * dev-section card row uses:\n * left column → title (h3) / subtitle (h5 uppercase) / description\n * (h4 line-clamp-3), each in a fixed min-height block\n * so rows align across the grid\n * right column → caller-supplied stacked badges\n *\n * Surface stays small on purpose — `rightBadges` is a `ReactNode` so\n * the caller decides how many badges (delivery: 2, tickets: 1-2,\n * future: anything). No behavior baked in: the caller wraps the row\n * in a `<div>` (static, like delivery) or `<button>` (clickable, like\n * tickets) and renders the row content via this component.\n *\n * Pair with `DevCardRowSkeletonList` for the loading state — the\n * skeleton mirrors the same min-heights so the in-flight UI doesn't\n * shift the layout when real data lands.\n *\n * NOTE: the ticket conversation row is NOT here — it renders the shared\n * `<ChatMessageRow>` (`components/chat/chat-message-row.tsx`), the SAME\n * component the OpenMSP Slack-community feed uses, so the two surfaces stay\n * pixel-identical by construction.\n */\n\nimport type { ReactNode } from 'react';\n\nexport interface DevCardRowContentProps {\n title: string;\n /** Single-line uppercase metadata (e.g. \"UPDATED today, #4271, Code review\"). */\n subtitle: string;\n /** 3-line description block. Empty string renders the fallback. */\n description: string;\n /** Fallback copy when `description` is empty. Defaults to a generic\n * string; ticket / delivery surfaces override. */\n emptyDescription?: string;\n /** Right column — caller renders its own stacked badges. */\n rightBadges: ReactNode;\n}\n\nexport function DevCardRowContent({\n title,\n subtitle,\n description,\n emptyDescription = 'No description provided',\n rightBadges,\n}: DevCardRowContentProps) {\n return (\n <div className=\"flex w-full flex-col items-start justify-between gap-[12px] md:flex-row md:gap-[16px]\">\n <div className=\"flex w-full min-w-0 flex-1 flex-col gap-[12px] md:w-auto md:gap-[16px]\">\n <div className=\"flex min-h-[24px] items-center\">\n <h3 className=\"line-clamp-2 flex-1 break-words tracking-[-0.36px] text-ods-text-primary text-h3 md:truncate\">\n {title}\n </h3>\n </div>\n <div className=\"flex min-h-[20px] items-center\">\n <p className=\"truncate uppercase tracking-[-0.28px] text-ods-text-secondary text-h5\">{subtitle}</p>\n </div>\n <div className=\"flex min-h-[72px] items-center\">\n <p className=\"line-clamp-3 break-words text-ods-text-secondary text-h4\">{description || emptyDescription}</p>\n </div>\n </div>\n <div className=\"flex flex-shrink-0 flex-col gap-2 self-start\">{rightBadges}</div>\n </div>\n );\n}\n\n/**\n * Skeleton rendering for a single row — the bars mirror the same\n * min-heights as `DevCardRowContent` so the loading→loaded swap\n * doesn't reflow.\n */\nexport function DevCardRowSkeleton() {\n return (\n <div className=\"border-b border-ods-border p-[12px] last:border-b-0 md:p-[16px]\">\n <div className=\"flex w-full flex-col items-start justify-between gap-[12px] md:flex-row md:gap-[16px]\">\n <div className=\"flex w-full min-w-0 flex-1 flex-col gap-[12px] md:w-auto md:gap-[16px]\">\n <div className=\"flex min-h-[24px] items-center\">\n <div className=\"h-[20px] w-full animate-pulse rounded bg-ods-border\" />\n </div>\n <div className=\"flex min-h-[20px] items-center\">\n <div className=\"h-[20px] w-1/2 animate-pulse rounded bg-ods-border\" />\n </div>\n <div className=\"flex min-h-[72px] items-center\">\n <div className=\"flex-1 space-y-1\">\n <div className=\"h-[20px] w-full animate-pulse rounded bg-ods-border\" />\n <div className=\"h-[20px] w-full animate-pulse rounded bg-ods-border\" />\n <div className=\"h-[20px] w-2/3 animate-pulse rounded bg-ods-border\" />\n </div>\n </div>\n </div>\n <div className=\"flex flex-shrink-0 flex-col gap-2 self-start\">\n <div className=\"h-[32px] w-[100px] animate-pulse rounded bg-ods-border\" />\n <div className=\"h-[32px] w-[120px] animate-pulse rounded bg-ods-border\" />\n </div>\n </div>\n </div>\n );\n}\n\n/**\n * The standard \"5 skeleton rows inside a bordered card\" loading state\n * used by every list shell. Both delivery (`delivery-table.tsx`) and\n * tickets (`tickets-list.tsx`) mount this directly.\n */\nexport function DevCardRowSkeletonList({ rows = 5 }: { rows?: number }) {\n return (\n <div className=\"w-full overflow-hidden rounded-[6px] border border-ods-border bg-ods-card\">\n {Array.from({ length: rows }, (_, i) => (\n <DevCardRowSkeleton key={i} />\n ))}\n </div>\n );\n}\n","'use client';\n\n/**\n * `<DeliveryRow />` — canonical single-row presentation for a ClickUp\n * delivery item.\n *\n * Single source of truth: both the `/bug-fixes-and-enhancements` page\n * (via `DeliveryTable`) AND the linked-delivery card on a HubSpot ticket\n * (via `TicketLinkedDeliveryCard`) compose this primitive. Visual parity\n * across those two surfaces is the design goal — the user reads the\n * card on their ticket and recognises it as a row from the public\n * delivery list.\n *\n * Behaviors:\n * - `href` set → outer element is an `<a>`, the whole row becomes\n * clickable (used by the linked-card surface to deep-link into\n * `/bug-fixes-and-enhancements?focus=<id>`).\n * - `id` set → outer element gets that DOM id so the consuming page\n * can `scrollIntoView` to it when the URL carries `?focus=<id>`.\n * - `highlighted` true → brief accent border + background pulse\n * (`animate-flash-focus` keyframe defined in `tailwind.config.ts`).\n * - `caption` set → small uppercase label rendered above the title\n * (\"LINKED DELIVERY\" on the ticket-side variant). Omitted on the\n * standard list rendering.\n */\n\nimport Link from '../../../embed-shims/next-link';\nimport { type DeliveryItem, TASK_TYPE_LABELS, TASK_TYPE_TEXT_COLORS } from '../../../types/delivery';\nimport { getStatusColorScheme } from '../../../utils';\nimport { cn } from '../../../utils/cn';\nimport { AvatarStack } from '../../ui/avatar-stack';\nimport { StatusBadge } from '../../ui/status-badge';\n\n/** Same heuristic as DeliveryTable's local helper. Inlined so the row\n * primitive owns its complete rendering contract. */\nfunction getRelativeTime(timestamp: number): string {\n // A missing or zero timestamp is ABSENT data, not the epoch — without this\n // the row reads \"678 months ago\" for a task the API never dated.\n if (!timestamp) return 'recently';\n const now = Date.now();\n const diff = now - timestamp;\n const days = Math.floor(diff / (1000 * 60 * 60 * 24));\n const weeks = Math.floor(days / 7);\n const months = Math.floor(days / 30);\n if (months > 0) return months === 1 ? 'last month' : `${months} months ago`;\n if (weeks > 0) return weeks === 1 ? 'last week' : `${weeks} weeks ago`;\n if (days > 0) return days === 1 ? 'yesterday' : `${days} days ago`;\n return 'today';\n}\n\nexport interface DeliveryRowProps {\n item: DeliveryItem;\n /** When set, the row becomes a clickable anchor. The ticket-side\n * linked-card composes this from `buildDevSectionUrl('delivery', id)`\n * which carries `?search=<id>` — the delivery list filters to that\n * exact task on landing (canonical deep-link mechanism, same one\n * the chat-inline delivery card uses). */\n href?: string;\n /** Small uppercase caption rendered above the title. Used by the\n * linked-delivery card variant (\"LINKED DELIVERY\"). */\n caption?: string;\n /** DOM `id` applied to the row's outer element. `DeliveryTable`\n * always sets `delivery-<external_id>` so chat-card deep-links\n * (`?search=<id>#delivery-<id>`) and the ticket linked-card path\n * both have a target for `useScrollToHash` to scroll to. Always\n * paired with `scroll-mt-24` on the outer element so the row lands\n * BELOW the sticky chrome after the scroll. */\n id?: string;\n /** `'_blank'` renders a plain external anchor (new tab, `rel` hardened) —\n * for rows whose href leaves the app (e.g. the raw ClickUp task URL on the\n * design-doc surfaces). Internal deep-links omit it and keep the Link shim. */\n target?: '_blank';\n className?: string;\n}\n\nexport function DeliveryRow({ item, href, target, caption, id, className }: DeliveryRowProps) {\n const taskType = item.taskType as keyof typeof TASK_TYPE_LABELS;\n const typeBadgeLabel = TASK_TYPE_LABELS[taskType] || 'TASK';\n const typeBadgeTextColor = TASK_TYPE_TEXT_COLORS[taskType] || '';\n const statusBadgeScheme = getStatusColorScheme(item.status);\n const relativeTime = getRelativeTime(item.dateUpdated);\n const subtitle = `ACTIVE ${relativeTime}${item.listNames.length > 0 ? `, ${item.listNames.join(', ')}` : ''}, ${item.id}`;\n\n const inner = (\n <div className=\"flex w-full flex-col items-start justify-between gap-[12px] md:flex-row md:gap-[16px]\">\n {/* Left: caption (optional) + title + subtitle + description */}\n <div className=\"flex w-full min-w-0 flex-1 flex-col gap-[12px] md:w-auto md:gap-[16px]\">\n {caption && <p className=\"text-ods-text-secondary text-h5\">{caption}</p>}\n <div className=\"flex min-h-[24px] items-center md:min-h-[24px]\">\n <h3 className=\"line-clamp-2 flex-1 break-words tracking-[-0.36px] text-ods-text-primary text-h3 md:truncate\">\n {item.title}\n </h3>\n </div>\n <div className=\"flex min-h-[20px] items-center\">\n {/* Relative time is wall-clock-derived: on an SSR host the server and\n client render different strings a moment apart — text-only, so\n suppress instead of forcing a client-only render. */}\n <p className=\"truncate uppercase tracking-[-0.28px] text-ods-text-secondary text-h5\" suppressHydrationWarning>\n {subtitle}\n </p>\n </div>\n <div className=\"flex min-h-[72px] items-center\">\n <p className=\"line-clamp-3 break-words text-ods-text-secondary text-h4\">\n {item.description || 'No description provided'}\n </p>\n </div>\n </div>\n\n {/* Right (desktop): badges + assignee stack in a right-aligned\n column. Mobile: ONE horizontal footer row — badges lead,\n avatars anchor the right edge (kanban-card convention: the\n assignee owns the trailing slot of the meta row; a column of\n right-aligned orphans under the description reads as clutter\n on small screens). */}\n <div className=\"flex w-full flex-shrink-0 flex-row items-center gap-2 self-stretch md:w-auto md:flex-col md:items-end md:self-start\">\n <StatusBadge\n text={item.status.toUpperCase()}\n colorScheme={statusBadgeScheme}\n variant=\"card\"\n className=\"border border-ods-border\"\n />\n <StatusBadge\n text={typeBadgeLabel}\n variant=\"card\"\n className={`border border-ods-border ${typeBadgeTextColor}`}\n />\n {item.assignees && item.assignees.length > 0 ? (\n <AvatarStack\n size=\"xs\"\n className=\"ml-auto md:ml-0\"\n people={item.assignees.map(a => ({\n key: a.id,\n name: a.name ?? 'Unknown',\n avatarUrl: a.avatarUrl,\n }))}\n />\n ) : null}\n </div>\n </div>\n );\n\n const baseClass = cn(\n 'block p-[12px] text-inherit no-underline transition-colors duration-150 md:p-[16px]',\n // `scroll-mt-24` is paid for whether `id` is set or not (it's a\n // single Tailwind utility, no runtime cost). Keeping it\n // unconditional means a future caller adding `id` doesn't also\n // have to remember to ask for the offset.\n 'scroll-mt-24',\n href && 'cursor-pointer hover:bg-ods-bg-hover',\n className,\n );\n\n if (href && target === '_blank') {\n return (\n <a href={href} id={id} className={baseClass} target=\"_blank\" rel=\"noopener noreferrer\">\n {inner}\n </a>\n );\n }\n\n if (href) {\n // `Link` is the env-aware embed-shim — delegates to `next/link` on\n // a Next.js host (soft RSC nav, back-button restores the previous\n // page's React state intact), falls back to a plain `<a>` on\n // non-Next embedders. A raw `<a href>` was hard-navigating +\n // losing TanStack-Query state on back, leaving /tickets stuck on\n // its skeleton.\n return (\n <Link href={href} id={id} className={baseClass} prefetch={false}>\n {inner}\n </Link>\n );\n }\n\n return (\n <div id={id} className={baseClass}>\n {inner}\n </div>\n );\n}\n"]}
@@ -18,6 +18,10 @@ var buttonSurfaceClasses = {
18
18
  transparent: "bg-transparent text-ods-text-primary hover:bg-ods-bg-hover active:bg-ods-bg-active disabled:bg-transparent disabled:text-ods-text-disabled aria-disabled:bg-transparent aria-disabled:text-ods-text-disabled",
19
19
  destructive: "bg-ods-error text-ods-text-on-accent hover:bg-ods-error-hover active:bg-ods-error-active disabled:bg-ods-disabled aria-disabled:bg-ods-disabled",
20
20
  warning: "bg-ods-warning text-ods-text-on-accent hover:bg-ods-warning-hover active:bg-ods-warning-active disabled:bg-ods-disabled aria-disabled:bg-ods-disabled",
21
+ // The page's colours swapped: light on a dark theme, dark on a light one. A
22
+ // strong action that must NOT be the accent, for a surface that already
23
+ // holds the one accent call to action (an "Approve" inside a product demo).
24
+ inverted: "bg-ods-text-primary text-ods-bg hover:bg-ods-text-secondary active:bg-ods-text-secondary disabled:bg-ods-disabled aria-disabled:bg-ods-disabled",
21
25
  // A self-contained glyph (play badge, unmute glyph) that already carries its
22
26
  // own scrim: no button surface at all, in any state. Distinct from
23
27
  // `transparent`, whose hover/active fills would paint a rectangle behind the
@@ -69,6 +73,7 @@ var buttonVariants = cva(
69
73
  transparent: buttonSurfaceClasses.transparent,
70
74
  destructive: buttonSurfaceClasses.destructive,
71
75
  warning: buttonSurfaceClasses.warning,
76
+ inverted: buttonSurfaceClasses.inverted,
72
77
  glyph: buttonSurfaceClasses.glyph,
73
78
  overlay: buttonSurfaceClasses.overlay,
74
79
  link: buttonSurfaceClasses.link
@@ -576,4 +581,4 @@ export {
576
581
  Button,
577
582
  SplitButton
578
583
  };
579
- //# sourceMappingURL=chunk-4HVWGYHI.js.map
584
+ //# sourceMappingURL=chunk-LPLXCDNV.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/components/ui/button/button.tsx","../src/components/ui/button/button-styles.ts","../src/components/ui/button/split-button.tsx"],"sourcesContent":["'use client';\n\nimport { Slot } from '@radix-ui/react-slot';\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport React from 'react';\nimport Link from '../../../embed-shims/next-link';\nimport { cn } from '../../../utils/cn';\nimport {\n buttonSurfaceClasses,\n outlineBorderClasses,\n splitDividerColorClasses,\n splitGlyphSizeBySize,\n} from './button-styles';\n\n// Default layout: centered single content area, padding/gap on the button itself.\nconst buttonVariants = cva(\n [\n 'relative inline-flex items-center justify-center gap-[var(--spacing-system-xsf)]',\n 'whitespace-nowrap rounded-md',\n 'transition-colors duration-200',\n 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ods-focus',\n 'disabled:pointer-events-none',\n '[&_svg]:pointer-events-none [&_svg]:h-5 [&_svg]:w-5 [&_svg]:shrink-0',\n ],\n {\n variants: {\n variant: {\n accent: buttonSurfaceClasses.accent,\n outline: cn(buttonSurfaceClasses.outline, outlineBorderClasses),\n transparent: buttonSurfaceClasses.transparent,\n destructive: buttonSurfaceClasses.destructive,\n warning: buttonSurfaceClasses.warning,\n inverted: buttonSurfaceClasses.inverted,\n glyph: buttonSurfaceClasses.glyph,\n overlay: buttonSurfaceClasses.overlay,\n link: buttonSurfaceClasses.link,\n },\n size: {\n default: 'h-11 px-[var(--spacing-system-m)] py-[var(--spacing-system-sf)] text-h3 md:h-12',\n small: 'h-6 p-[var(--spacing-system-xs)] text-h5 md:h-8',\n // The CHILD is the affordance (a badge, a chip, a thumbnail): the button\n // contributes the hit target, the focus ring and the keyboard/ARIA\n // semantics, and NO box of its own. Without this, call sites reached for\n // a `className=\"h-auto p-0\"` override to cancel the default box.\n wrap: 'h-auto p-0',\n 'small-legacy': 'h-10 px-[var(--spacing-system-m)] py-[var(--spacing-system-xs)] text-[14px] font-bold', // Temporary alias for \"small\" — deprecated; grep size=\"small-legacy\" (lib + hub) and migrate the remaining consumers before removal\n // 24px pill for slim strips (announcement/promo bars, inline banner\n // actions — Primer banner / Polaris banner / Vercel-bar convention).\n // The label matches the strip's MESSAGE type ramp exactly (DM Sans\n // regular, 13px -> md:14px, snug leading — the announcement bar's\n // subtitle styling): in-strip CTAs must never read louder than the\n // message beside them, so this deliberately uses neither the\n // mono-uppercase control style of \"small\" nor a heavier weight.\n // Pinned h-6 across breakpoints (24px = the WCAG 2.5.8 target-size\n // floor) with horizontal-dominant padding and a 14px glyph.\n compact: 'h-6 px-[var(--spacing-system-sf)] py-0 font-normal text-h6 [&_svg]:h-3.5 [&_svg]:w-3.5',\n icon: 'h-11 w-11 p-[var(--spacing-system-sf)] md:h-12 md:w-12 [&_svg]:h-4 [&_svg]:w-4 md:[&_svg]:h-6 md:[&_svg]:w-6',\n // Quiet 32px icon target with a 16px glyph, fixed across breakpoints\n // (Carbon ghost sm / Primer medium / shadcn icon-sm all pin 32px;\n // ≥ the 24px WCAG 2.5.8 target floor). For icon actions that read as\n // metadata rather than CTAs — author-page social rows, share rows.\n // Pair with variant=\"transparent\" for the ghost treatment.\n 'icon-sm': 'h-8 w-8 p-[var(--spacing-system-xxs)] [&_svg]:h-4 [&_svg]:w-4',\n // 20px inline glyph for affordances that sit INSIDE a line of text —\n // an info hint beside a badge, a copy glyph after an id. `icon-sm`'s\n // 32px target is correct for a metadata row but visually swamps a\n // 10px badge or a 14px label, so hosts were reaching for className\n // overrides to shrink it. Below the WCAG 2.5.8 target floor on purpose:\n // this is only for glyphs whose information is ALSO available another\n // way (tooltip content mirrored into an aria-describedby node), never\n // for a sole means of performing an action.\n 'icon-inline': 'h-5 min-h-0 w-5 min-w-0 shrink-0 p-0 [&_svg]:h-3.5 [&_svg]:w-3.5',\n // Bare 56px media glyph (play / unmute over video). A size variant so\n // hosts stop re-implementing a <button> to escape the 20px svg cap.\n 'icon-glyph': 'h-14 w-14 p-0 [&_svg]:h-14 [&_svg]:w-14',\n },\n // Label typography axis (Figma 133-740). `bold` is the classic h3-bold\n // label; `regular` swaps the DEFAULT size's label to the h4 step\n // (DM Sans 500, neutral tracking) — added for navigation buttons.\n // `small` keeps its mono-uppercase h5 label on both fonts per the spec.\n font: {\n bold: '',\n regular: '',\n },\n fullWidth: {\n true: 'w-full',\n false: '',\n },\n noPaddingX: {\n true: 'px-0',\n false: '',\n },\n },\n compoundVariants: [\n { size: 'small', class: '[&_svg]:h-4 [&_svg]:w-4' },\n // Comes after the size classes, so cn()'s tailwind-merge resolves the\n // ods-typography group in favour of text-h4.\n { size: 'default', font: 'regular', class: 'text-h4' },\n ],\n defaultVariants: {\n variant: 'accent',\n size: 'default',\n font: 'bold',\n fullWidth: false,\n noPaddingX: false,\n },\n },\n);\n\n// Split layout (used when `splitIcon` is provided): outer button has no padding;\n// inner slots own padding/gap so the divider can span full button height.\nconst splitShellVariants = cva(\n [\n 'group relative inline-flex items-stretch overflow-hidden whitespace-nowrap rounded-md',\n 'transition-colors duration-200',\n 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ods-focus',\n 'disabled:pointer-events-none',\n ],\n {\n variants: {\n variant: {\n accent: buttonSurfaceClasses.accent,\n outline: cn(buttonSurfaceClasses.outline, outlineBorderClasses),\n transparent: buttonSurfaceClasses.transparent,\n destructive: buttonSurfaceClasses.destructive,\n warning: buttonSurfaceClasses.warning,\n },\n size: {\n default: 'h-12',\n small: 'h-6 text-h5 md:h-8',\n },\n // Same label-typography axis as the normal layout — `regular` swaps the\n // default size's h3-bold label for the h4 (DM Sans 500) step.\n font: { bold: '', regular: '' },\n fullWidth: { true: 'w-full', false: '' },\n },\n compoundVariants: [\n { size: 'default', font: 'bold', class: 'text-h3' },\n { size: 'default', font: 'regular', class: 'text-h4' },\n ],\n defaultVariants: { variant: 'accent', size: 'default', font: 'bold', fullWidth: false },\n },\n);\n\nconst splitSlotVariants = cva(\n // Glyph size lives per-size, not in the base: cva concatenates base + variant\n // without tailwind-merge, so a base `[&_svg]:h-5` and a variant `[&_svg]:h-4`\n // would both ship and the winner would come down to stylesheet order.\n ['inline-flex items-center justify-center', '[&_svg]:shrink-0'],\n {\n variants: {\n slot: {\n main: 'gap-[var(--spacing-system-xsf)]',\n icon: 'border-l',\n },\n size: splitGlyphSizeBySize,\n variant: { accent: '', outline: '', transparent: '', destructive: '', warning: '' },\n fullWidth: { true: '', false: '' },\n },\n compoundVariants: [\n { slot: 'main', size: 'default', class: 'px-[var(--spacing-system-m)] py-[var(--spacing-system-sf)]' },\n { slot: 'main', size: 'small', class: 'px-[var(--spacing-system-xs)]' },\n // `fullWidth` stretches the SHELL, not its children, so without this the main\n // half stays content-sized and the icon half floats mid-button with dead space\n // after it instead of sitting flush against the trailing edge. Keyed on\n // `fullWidth` to match `SplitButton`, which grows its main half on exactly the\n // same condition (`grow={fullWidth}`) — the two split layouts render side by\n // side in the same rows and must not disagree. Callers that stretch the shell\n // some other way (a `flex-1` className, a grid cell) keep the old behaviour.\n { slot: 'main', fullWidth: true, class: 'flex-1' },\n { slot: 'icon', size: 'default', class: 'w-10' },\n { slot: 'icon', size: 'small', class: 'w-6 md:w-8' },\n {\n slot: 'icon',\n variant: 'accent',\n class: cn(\n splitDividerColorClasses.accent,\n 'group-disabled:border-ods-disabled group-aria-disabled:border-ods-disabled',\n ),\n },\n { slot: 'icon', variant: 'outline', class: splitDividerColorClasses.outline },\n { slot: 'icon', variant: 'transparent', class: splitDividerColorClasses.transparent },\n {\n slot: 'icon',\n variant: 'destructive',\n class: cn(\n splitDividerColorClasses.destructive,\n 'group-disabled:border-ods-disabled group-aria-disabled:border-ods-disabled',\n ),\n },\n {\n slot: 'icon',\n variant: 'warning',\n class: cn(\n splitDividerColorClasses.warning,\n 'group-disabled:border-ods-disabled group-aria-disabled:border-ods-disabled',\n ),\n },\n ],\n defaultVariants: { slot: 'main', size: 'default', variant: 'accent', fullWidth: false },\n },\n);\n\n/** @deprecated Use `size=\"small\"` instead. Temporary alias kept for backward compatibility; will be removed in the future. */\ntype DeprecatedButtonSize = 'small-legacy';\n\ntype ButtonSize =\n Exclude<VariantProps<typeof buttonVariants>['size'], 'small-legacy' | null | undefined> | DeprecatedButtonSize;\n\ninterface ButtonProps\n extends React.ButtonHTMLAttributes<HTMLButtonElement>, Omit<VariantProps<typeof buttonVariants>, 'size'> {\n asChild?: boolean;\n href?: string;\n openInNewTab?: boolean;\n prefetch?: boolean;\n /**\n * Pre-resolved anchor bundle (from `useNavLink({ href, targetPlatform })`).\n * When set, renders the Button as `<Link>` with `href` / `target` / `rel`\n * / `onClick` spread from this object. Lets callers thread the unified\n * nav decision directly without `<Button asChild><a {...linkProps}/>`\n * gymnastics. Wins over the separate `href` / `openInNewTab` props.\n */\n /**\n * Render a plain `<a href download>` instead of a Next `<Link>`.\n * A download is a RESOURCE fetch, not a route change: `<Link>` would try to\n * prefetch/route it. Only meaningful together with `href`.\n */\n download?: boolean | string;\n linkProps?: {\n href: string;\n target?: '_blank';\n /** `noopener` alone keeps the Referer for a new-tab link to one of our own\n * platforms (cross-domain analytics attribution); `noreferrer` is for\n * third-party destinations. */\n rel?: 'noopener' | 'noopener noreferrer';\n onClick?: React.MouseEventHandler<HTMLAnchorElement>;\n } | null;\n leftIcon?: React.ReactNode;\n rightIcon?: React.ReactNode;\n /**\n * Renders a vertical divider and trailing icon area inside the button.\n * The whole button stays a single click target — the icon is decorative\n * (`aria-hidden`). For two independent click targets, use `<SplitButton>`.\n * Only honored when `size` is `\"default\"` or `\"small\"`.\n */\n splitIcon?: React.ReactNode;\n loading?: boolean;\n size?: ButtonSize;\n}\n\nconst Spinner = () => (\n <svg className=\"animate-spin\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" aria-hidden=\"true\">\n <circle className=\"opacity-25\" cx=\"12\" cy=\"12\" r=\"10\" stroke=\"currentColor\" strokeWidth=\"4\" />\n <path\n className=\"opacity-75\"\n fill=\"currentColor\"\n d=\"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z\"\n />\n </svg>\n);\n\nconst Button = React.forwardRef<HTMLButtonElement, ButtonProps>(function ButtonImpl(\n {\n className,\n variant,\n size,\n font,\n fullWidth,\n noPaddingX,\n asChild,\n href,\n openInNewTab,\n prefetch,\n linkProps,\n download,\n leftIcon,\n rightIcon,\n splitIcon,\n loading,\n children,\n disabled,\n onClick,\n ...props\n },\n ref,\n) {\n const isDisabled = disabled || loading;\n\n // splitIcon is only supported for default/small sizes. With other sizes\n // (icon, small-legacy) we silently fall back to the normal layout.\n const useSplitLayout = !!splitIcon && (size === 'default' || size === 'small' || size === undefined);\n\n if (useSplitLayout) {\n const safeSize = size ?? 'default';\n const safeVariant = (variant ?? 'accent') as 'accent' | 'outline' | 'transparent' | 'destructive' | 'warning';\n const shellClasses = cn(splitShellVariants({ variant: safeVariant, size: safeSize, font, fullWidth }), className);\n const mainSlotClass = splitSlotVariants({ slot: 'main', size: safeSize, variant: safeVariant, fullWidth });\n const iconSlotClass = splitSlotVariants({ slot: 'icon', size: safeSize, variant: safeVariant });\n\n const splitContent = (\n <>\n <span className={cn('contents', loading && 'invisible')}>\n <span className={mainSlotClass}>\n {leftIcon && <span className=\"inline-flex items-center\">{leftIcon}</span>}\n {children}\n {rightIcon && <span className=\"inline-flex items-center\">{rightIcon}</span>}\n </span>\n <span aria-hidden=\"true\" className={iconSlotClass}>\n {splitIcon}\n </span>\n </span>\n {loading && (\n // Carries the glyph scale itself: this overlay is a SIBLING of the slots, so\n // it inherits neither their `[&_svg]` sizing nor a shell base rule (the shell\n // deliberately has none — see `splitSlotVariants`). Without it the spinner\n // renders unconstrained and fills the button. Reads the same per-size ramp the\n // slots do, so it matches the glyphs it covers at both breakpoints.\n <span\n className={cn(\n 'absolute inset-0 inline-flex items-center justify-center text-ods-text-primary',\n splitGlyphSizeBySize[safeSize],\n )}\n >\n <Spinner />\n </span>\n )}\n </>\n );\n\n // A download is a resource fetch, not a route change: same `Link` as every\n // other anchor branch (so a host that registered `next/link` keeps ONE\n // anchor implementation), with prefetch off — there is no route to warm,\n // and prefetching would fetch the file itself. Checked BEFORE the\n // linkProps/href resolution.\n if (download && href) {\n return (\n <Link\n href={href}\n download={download}\n prefetch={false}\n className={cn(shellClasses, isDisabled && 'pointer-events-none')}\n aria-label={props['aria-label']}\n >\n {splitContent}\n </Link>\n );\n }\n\n // `linkProps` (the pre-resolved bundle from `useNavLink({ href, targetPlatform })`)\n // wins over the legacy `href` + `openInNewTab` props so callers can thread\n // the unified nav decision directly. Either path produces the same `<Link>`.\n const splitAnchor =\n linkProps ??\n (href\n ? {\n href,\n target: openInNewTab ? ('_blank' as const) : undefined,\n rel: openInNewTab ? ('noopener noreferrer' as const) : undefined,\n onClick: onClick as unknown as React.MouseEventHandler<HTMLAnchorElement> | undefined,\n }\n : null);\n if (splitAnchor) {\n return (\n <Link\n href={splitAnchor.href}\n prefetch={prefetch}\n target={splitAnchor.target}\n rel={splitAnchor.rel}\n // The Link branches don't spread {...props} (button attrs don't\n // belong on an anchor), but the accessible name MUST survive —\n // icon-only link buttons have no text content.\n aria-label={props['aria-label']}\n aria-disabled={isDisabled || undefined}\n tabIndex={isDisabled ? -1 : undefined}\n className={cn(shellClasses, isDisabled && 'pointer-events-none')}\n onClick={splitAnchor.onClick}\n >\n {splitContent}\n </Link>\n );\n }\n\n return (\n <button ref={ref} className={shellClasses} disabled={isDisabled} onClick={onClick} {...props}>\n {splitContent}\n </button>\n );\n }\n\n const classes = cn(buttonVariants({ variant, size, font, fullWidth, noPaddingX }), className);\n\n // asChild: consumer fully controls the rendered element; we just stamp our classes.\n if (asChild) {\n return (\n <Slot ref={ref} className={classes} {...props}>\n {children}\n </Slot>\n );\n }\n\n // Real content stays in layout (preserving width) but goes invisible while loading.\n // The spinner is absolutely positioned so it never shifts the button's size.\n const content = (\n <>\n <span className={cn('contents', loading && 'invisible')}>\n {leftIcon && <span className=\"inline-flex items-center\">{leftIcon}</span>}\n {children}\n {rightIcon && <span className=\"inline-flex items-center\">{rightIcon}</span>}\n </span>\n {loading && (\n <span className=\"absolute inset-0 inline-flex items-center justify-center text-ods-text-primary\">\n <Spinner />\n </span>\n )}\n </>\n );\n\n // Same download short-circuit as the splitIcon branch.\n if (download && href) {\n return (\n <Link\n href={href}\n download={download}\n prefetch={false}\n className={cn(classes, isDisabled && 'pointer-events-none')}\n aria-label={props['aria-label']}\n >\n {content}\n </Link>\n );\n }\n\n // Same `linkProps`-wins-over-href resolution as the splitIcon branch.\n const anchor =\n linkProps ??\n (href\n ? {\n href,\n target: openInNewTab ? ('_blank' as const) : undefined,\n rel: openInNewTab ? ('noopener noreferrer' as const) : undefined,\n onClick: onClick as unknown as React.MouseEventHandler<HTMLAnchorElement> | undefined,\n }\n : null);\n if (anchor) {\n return (\n <Link\n href={anchor.href}\n prefetch={prefetch}\n target={anchor.target}\n rel={anchor.rel}\n // See the splitAnchor branch — keep the accessible name on the\n // anchor render (icon-only link buttons have no text content).\n aria-label={props['aria-label']}\n aria-disabled={isDisabled || undefined}\n tabIndex={isDisabled ? -1 : undefined}\n className={cn(classes, isDisabled && 'pointer-events-none')}\n onClick={anchor.onClick}\n >\n {content}\n </Link>\n );\n }\n\n return (\n <button ref={ref} className={classes} disabled={isDisabled} onClick={onClick} {...props}>\n {content}\n </button>\n );\n});\nButton.displayName = 'Button';\n\nexport { Button, buttonVariants, type ButtonProps };\n","// Shared style atoms for `Button` and `SplitButton`. Extracted to keep a single\n// source of truth for surface colors, outline borders, and split-divider colors.\n\n// Each variant pairs `disabled:` (real `<button disabled>`) with `aria-disabled:`\n// (used for `<Link aria-disabled>` since anchors don't support `:disabled`).\nexport const buttonSurfaceClasses = {\n accent:\n 'bg-ods-accent text-ods-text-on-accent hover:bg-ods-accent-hover active:bg-ods-accent-active disabled:bg-ods-disabled aria-disabled:bg-ods-disabled',\n outline:\n 'bg-ods-card text-ods-text-primary hover:bg-ods-bg-hover active:bg-ods-bg-active disabled:bg-ods-card disabled:text-ods-text-disabled aria-disabled:bg-ods-card aria-disabled:text-ods-text-disabled',\n transparent:\n 'bg-transparent text-ods-text-primary hover:bg-ods-bg-hover active:bg-ods-bg-active disabled:bg-transparent disabled:text-ods-text-disabled aria-disabled:bg-transparent aria-disabled:text-ods-text-disabled',\n destructive:\n 'bg-ods-error text-ods-text-on-accent hover:bg-ods-error-hover active:bg-ods-error-active disabled:bg-ods-disabled aria-disabled:bg-ods-disabled',\n warning:\n 'bg-ods-warning text-ods-text-on-accent hover:bg-ods-warning-hover active:bg-ods-warning-active disabled:bg-ods-disabled aria-disabled:bg-ods-disabled',\n // The page's colours swapped: light on a dark theme, dark on a light one. A\n // strong action that must NOT be the accent, for a surface that already\n // holds the one accent call to action (an \"Approve\" inside a product demo).\n inverted:\n 'bg-ods-text-primary text-ods-bg hover:bg-ods-text-secondary active:bg-ods-text-secondary disabled:bg-ods-disabled aria-disabled:bg-ods-disabled',\n // A self-contained glyph (play badge, unmute glyph) that already carries its\n // own scrim: no button surface at all, in any state. Distinct from\n // `transparent`, whose hover/active fills would paint a rectangle behind the\n // glyph — which is why call sites were undoing them with\n // `hover:bg-transparent active:bg-transparent`.\n glyph:\n 'bg-transparent text-ods-text-primary hover:bg-transparent active:bg-transparent disabled:bg-transparent disabled:text-ods-text-disabled aria-disabled:bg-transparent aria-disabled:text-ods-text-disabled',\n // A quiet inline text action (a \"Show all\" / \"Show less\" disclosure, a\n // secondary \"Clear\" beside a field): secondary text that takes the accent on\n // hover, and no surface in any state. Promoted to a variant because the\n // disclosure toggle was a primitive <button> restating these classes. Pair\n // with size=\"compact\" and noPaddingX so the label aligns with the text above.\n link: 'bg-transparent text-ods-text-secondary hover:bg-transparent hover:text-ods-accent active:bg-transparent active:text-ods-accent-active disabled:bg-transparent disabled:text-ods-text-disabled aria-disabled:bg-transparent aria-disabled:text-ods-text-disabled',\n // Chrome that sits ON media (video cards, image lightboxes): a scrim disc so\n // the glyph stays legible over an arbitrary frame. Promoted to a variant\n // because the walkthrough card, its theater and the bite cards were each\n // stacking the same classes at the call site.\n overlay:\n 'rounded-full bg-ods-overlay text-ods-text-primary backdrop-blur-sm hover:text-ods-accent active:text-ods-accent-active disabled:text-ods-text-disabled aria-disabled:text-ods-text-disabled',\n} as const;\n\nexport const outlineBorderClasses =\n 'border border-ods-border hover:border-ods-border-hover active:border-ods-border-active disabled:border-ods-border aria-disabled:border-ods-border';\n\n// Glyph scale for the split-layout button family: 16px below md, 24px from md.\n//\n// Shared because the same page-header action renders through EITHER of the two\n// split layouts depending on its shape — `SplitButton` for two click targets, and\n// `Button` + `splitIcon` for one with a decorative trailing glyph — and the two sit\n// side by side in the same row. They used to disagree: `SplitButton` carried this\n// responsive scale while the `Button` split slots re-declared a flat 20px, so a\n// \"submenu\" action's icons rendered 4px smaller than its neighbour's on desktop.\n// `Button`'s own flat `[&_svg]:h-5` stays as it is for ordinary (non-split) buttons.\nexport const splitGlyphSizeClasses = '[&_svg]:h-4 [&_svg]:w-4 md:[&_svg]:h-6 md:[&_svg]:w-6';\n\n// Per-size glyph scale for `Button`'s split slots AND the loading overlay that\n// covers them, so those two read from ONE place — the overlay sits outside both\n// slots and inherits neither their sizing nor a shell base rule, so without this it\n// would have to restate a number, which is the divergence described above.\n//\n// Scoped to `Button` on purpose: `SplitButton` keeps its own `small` ramp\n// (12px → 16px, vs the flat 16px here) and only shares the `default` step through\n// `splitGlyphSizeClasses`. Aligning `small` too is a visible design change, so it is\n// not folded in here silently.\nexport const splitGlyphSizeBySize = {\n default: splitGlyphSizeClasses,\n small: '[&_svg]:h-4 [&_svg]:w-4',\n} as const;\n\n// Color of the vertical seam between the main and icon halves (split layouts).\nexport const splitDividerColorClasses = {\n accent: 'border-ods-accent-active',\n outline: 'border-ods-border',\n transparent: 'border-ods-border',\n destructive: 'border-ods-error-active',\n warning: 'border-ods-warning-active',\n} as const;\n\nexport type ButtonSurfaceVariant = keyof typeof buttonSurfaceClasses;\n","'use client';\n\nimport { cva, type VariantProps } from 'class-variance-authority';\nimport React from 'react';\nimport Link from '../../../embed-shims/next-link';\nimport { cn } from '../../../utils/cn';\nimport { buttonSurfaceClasses, splitDividerColorClasses, splitGlyphSizeClasses } from './button-styles';\n\n// Two independent interactive halves: each a `<button>` or `<a>`. The seam is\n// a 1px border on the left edge of the icon half, colored per variant. For a\n// single-target variant (decorative trailing icon), use `<Button splitIcon>`.\n\nconst splitHalfBase = [\n 'relative inline-flex items-center justify-center gap-[var(--spacing-system-xsf)]',\n 'whitespace-nowrap transition-colors duration-200',\n 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ods-focus focus-visible:z-10',\n 'disabled:pointer-events-none',\n '[&_svg]:pointer-events-none [&_svg]:shrink-0',\n];\n\nconst splitHalfVariants = cva(splitHalfBase, {\n variants: {\n variant: {\n accent: buttonSurfaceClasses.accent,\n outline: buttonSurfaceClasses.outline, // Outline border lives in compoundVariants so we can omit the seam edge.\n transparent: buttonSurfaceClasses.transparent,\n destructive: buttonSurfaceClasses.destructive,\n warning: buttonSurfaceClasses.warning,\n },\n size: {\n default: `h-10 px-[var(--spacing-system-m)] py-[var(--spacing-system-sf)] text-h3 md:h-12 ${splitGlyphSizeClasses}`,\n small: 'h-6 px-[var(--spacing-system-xs)] text-h5 md:h-8 [&_svg]:h-3 [&_svg]:w-3 md:[&_svg]:h-4 md:[&_svg]:w-4',\n },\n side: { main: '', icon: '' },\n soloOnMobile: { true: '', false: '' },\n },\n compoundVariants: [\n // Rounded corners + per-variant seam. The icon-side's left border is the divider.\n { variant: 'accent', side: 'main', class: 'rounded-l-md' },\n {\n variant: 'accent',\n side: 'icon',\n class: cn(\n 'rounded-r-md border-l',\n splitDividerColorClasses.accent,\n 'disabled:border-ods-disabled aria-disabled:border-ods-disabled',\n ),\n },\n { variant: 'destructive', side: 'main', class: 'rounded-l-md' },\n {\n variant: 'destructive',\n side: 'icon',\n class: cn(\n 'rounded-r-md border-l',\n splitDividerColorClasses.destructive,\n 'disabled:border-ods-disabled aria-disabled:border-ods-disabled',\n ),\n },\n { variant: 'warning', side: 'main', class: 'rounded-l-md' },\n {\n variant: 'warning',\n side: 'icon',\n class: cn(\n 'rounded-r-md border-l',\n splitDividerColorClasses.warning,\n 'disabled:border-ods-disabled aria-disabled:border-ods-disabled',\n ),\n },\n { variant: 'outline', side: 'main', class: 'rounded-l-md border-y border-l border-ods-border' },\n { variant: 'outline', side: 'icon', class: 'rounded-r-md border border-ods-border' },\n { variant: 'transparent', side: 'main', class: 'rounded-md' },\n { variant: 'transparent', side: 'icon', class: cn('rounded-md', splitDividerColorClasses.transparent) },\n\n // Icon half: per Figma, narrower than main height (default: 40×48; small: 32×32).\n { side: 'icon', size: 'default', class: 'w-10 px-0' },\n { side: 'icon', size: 'small', class: 'w-6 px-0 md:w-8' },\n\n { side: 'icon', soloOnMobile: true, class: 'max-md:hidden' },\n { side: 'main', soloOnMobile: true, class: 'max-md:rounded-r-md' },\n { variant: 'outline', side: 'main', soloOnMobile: true, class: 'max-md:border-r' },\n ],\n defaultVariants: { variant: 'accent', size: 'default', side: 'main', soloOnMobile: false },\n});\n\ntype SplitButtonVariant = NonNullable<VariantProps<typeof splitHalfVariants>['variant']>;\ntype SplitButtonSize = NonNullable<VariantProps<typeof splitHalfVariants>['size']>;\n\ninterface SplitButtonIconAction {\n icon: React.ReactNode;\n /** The icon half is interactive but has no visible text — needs an accessible name. */\n 'aria-label': string;\n onClick?: React.MouseEventHandler<HTMLButtonElement | HTMLAnchorElement>;\n href?: string;\n /**\n * Opens `href` with `target=\"_blank\"`. Also marks the half as a new-tab\n * affordance, which hides it below `md` (set it for `onClick` handlers that\n * open a new tab/window themselves).\n */\n openInNewTab?: boolean;\n prefetch?: boolean;\n disabled?: boolean;\n}\n\ninterface SplitButtonProps {\n variant?: SplitButtonVariant;\n size?: SplitButtonSize;\n fullWidth?: boolean;\n className?: string;\n\n children: React.ReactNode;\n onClick?: React.MouseEventHandler<HTMLButtonElement | HTMLAnchorElement>;\n href?: string;\n openInNewTab?: boolean;\n prefetch?: boolean;\n leftIcon?: React.ReactNode;\n rightIcon?: React.ReactNode;\n /** Disables both halves. Equivalent to `mainDisabled && iconAction.disabled`. */\n disabled?: boolean;\n /** Disables only the main half. Combine with `iconAction.disabled` for finer control. */\n mainDisabled?: boolean;\n type?: 'button' | 'submit' | 'reset';\n 'aria-label'?: string;\n groupAriaLabel?: string;\n\n iconAction: SplitButtonIconAction;\n}\n\ninterface HalfOptions {\n variant: SplitButtonVariant;\n size: SplitButtonSize;\n side: 'main' | 'icon';\n soloOnMobile?: boolean;\n href?: string;\n openInNewTab?: boolean;\n prefetch?: boolean;\n onClick?: React.MouseEventHandler<HTMLButtonElement | HTMLAnchorElement>;\n disabled?: boolean;\n /** Stretch this half to fill the group's free space (the icon half stays fixed-width). */\n grow?: boolean;\n type?: 'button' | 'submit' | 'reset';\n ariaLabel?: string;\n children: React.ReactNode;\n}\n\nfunction Half({\n variant,\n size,\n side,\n soloOnMobile,\n href,\n openInNewTab,\n prefetch,\n onClick,\n disabled,\n grow,\n type = 'button',\n ariaLabel,\n children,\n}: HalfOptions) {\n const classes = cn(splitHalfVariants({ variant, size, side, soloOnMobile }), grow && 'flex-1');\n\n if (href) {\n return (\n <Link\n href={href}\n prefetch={prefetch}\n target={openInNewTab ? '_blank' : undefined}\n rel={openInNewTab ? 'noopener noreferrer' : undefined}\n aria-disabled={disabled || undefined}\n tabIndex={disabled ? -1 : undefined}\n aria-label={ariaLabel}\n className={cn(classes, disabled && 'pointer-events-none')}\n onClick={onClick}\n >\n {children}\n </Link>\n );\n }\n\n return (\n <button type={type} className={classes} disabled={disabled} aria-label={ariaLabel} onClick={onClick}>\n {children}\n </button>\n );\n}\n\nconst SplitButton = React.forwardRef<HTMLDivElement, SplitButtonProps>(function SplitButtonImpl(\n {\n variant = 'accent',\n size = 'default',\n fullWidth = false,\n className,\n children,\n onClick,\n href,\n openInNewTab,\n prefetch,\n leftIcon,\n rightIcon,\n disabled,\n mainDisabled,\n type,\n iconAction,\n 'aria-label': ariaLabel,\n groupAriaLabel,\n },\n ref,\n) {\n const soloOnMobile = !!iconAction.openInNewTab;\n\n return (\n <div\n ref={ref}\n role=\"group\"\n aria-label={groupAriaLabel}\n className={cn('inline-flex items-stretch', fullWidth && 'w-full', className)}\n >\n <Half\n variant={variant}\n size={size}\n side=\"main\"\n soloOnMobile={soloOnMobile}\n href={href}\n openInNewTab={openInNewTab}\n prefetch={prefetch}\n onClick={onClick}\n disabled={disabled || mainDisabled}\n grow={fullWidth}\n type={type}\n ariaLabel={ariaLabel}\n >\n {leftIcon && <span className=\"inline-flex items-center\">{leftIcon}</span>}\n <span>{children}</span>\n {rightIcon && <span className=\"inline-flex items-center\">{rightIcon}</span>}\n </Half>\n <Half\n variant={variant}\n size={size}\n side=\"icon\"\n soloOnMobile={soloOnMobile}\n href={iconAction.href}\n openInNewTab={iconAction.openInNewTab}\n prefetch={iconAction.prefetch}\n onClick={iconAction.onClick}\n disabled={disabled || iconAction.disabled}\n ariaLabel={iconAction['aria-label']}\n >\n <span className=\"inline-flex items-center\">{iconAction.icon}</span>\n </Half>\n </div>\n );\n});\nSplitButton.displayName = 'SplitButton';\n\nexport { SplitButton, type SplitButtonProps, type SplitButtonIconAction };\n"],"mappings":";;;;;;;;;AAEA,SAAS,YAAY;AACrB,SAAS,WAA8B;AACvC,OAAO,WAAW;;;ACCX,IAAM,uBAAuB;AAAA,EAClC,QACE;AAAA,EACF,SACE;AAAA,EACF,aACE;AAAA,EACF,aACE;AAAA,EACF,SACE;AAAA;AAAA;AAAA;AAAA,EAIF,UACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMF,OACE;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAMF,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA,EAKN,SACE;AACJ;AAEO,IAAM,uBACX;AAWK,IAAM,wBAAwB;AAW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,UAAU,SAAS;AAAA,MAE3E;AAAA,wBAAAA;AAAA,UAAC;AAAA;AAAA,YACC;AAAA,YACA;AAAA,YACA,MAAK;AAAA,YACL;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA;AAAA,YACA,UAAU,YAAY;AAAA,YACtB,MAAM;AAAA,YACN;AAAA,YACA;AAAA,YAEC;AAAA,0BAAY,gBAAAD,KAAC,UAAK,WAAU,4BAA4B,oBAAS;AAAA,cAClE,gBAAAA,KAAC,UAAM,UAAS;AAAA,cACf,aAAa,gBAAAA,KAAC,UAAK,WAAU,4BAA4B,qBAAU;AAAA;AAAA;AAAA,QACtE;AAAA,QACA,gBAAAA;AAAA,UAAC;AAAA;AAAA,YACC;AAAA,YACA;AAAA,YACA,MAAK;AAAA,YACL;AAAA,YACA,MAAM,WAAW;AAAA,YACjB,cAAc,WAAW;AAAA,YACzB,UAAU,WAAW;AAAA,YACrB,SAAS,WAAW;AAAA,YACpB,UAAU,YAAY,WAAW;AAAA,YACjC,WAAW,WAAW,YAAY;AAAA,YAElC,0BAAAA,KAAC,UAAK,WAAU,4BAA4B,qBAAW,MAAK;AAAA;AAAA,QAC9D;AAAA;AAAA;AAAA,EACF;AAEJ,CAAC;AACD,YAAY,cAAc;","names":["cva","React","jsx","jsxs","cva","React"]}
@@ -8,21 +8,21 @@ import {
8
8
  SelectTrigger,
9
9
  SelectValue,
10
10
  Textarea
11
- } from "./chunk-JBMFCHNT.js";
11
+ } from "./chunk-HIYZHMNX.js";
12
12
  import {
13
13
  useContactSubmission,
14
14
  useHumanitySignals,
15
15
  useRescuedForm
16
- } from "./chunk-J4MCVIXU.js";
16
+ } from "./chunk-BNJBJTEK.js";
17
17
  import {
18
18
  ChatAttachmentAddButton,
19
19
  ChatAttachmentChipStrip,
20
20
  useChatAttachments
21
- } from "./chunk-OB3ZJ7GQ.js";
21
+ } from "./chunk-XGB5EEFZ.js";
22
22
  import {
23
23
  SECTION_HEADING_CLASS,
24
24
  accentSentenceMarks
25
- } from "./chunk-Y2MDXJB4.js";
25
+ } from "./chunk-JZCCRN3K.js";
26
26
  import {
27
27
  Input,
28
28
  Label,
@@ -30,7 +30,7 @@ import {
30
30
  } from "./chunk-RGI52IWK.js";
31
31
  import {
32
32
  Button
33
- } from "./chunk-4HVWGYHI.js";
33
+ } from "./chunk-LPLXCDNV.js";
34
34
 
35
35
  // src/components/contact/contact-form.tsx
36
36
  import { zodResolver } from "@hookform/resolvers/zod";
@@ -388,4 +388,4 @@ function ContactForm({
388
388
  export {
389
389
  ContactForm
390
390
  };
391
- //# sourceMappingURL=chunk-QD4BVKAU.js.map
391
+ //# sourceMappingURL=chunk-NIIR776F.js.map
@@ -5,18 +5,18 @@ import {
5
5
  import {
6
6
  PageLayout,
7
7
  PageShell
8
- } from "./chunk-JBMFCHNT.js";
8
+ } from "./chunk-HIYZHMNX.js";
9
9
  import {
10
10
  useScrollToHash
11
- } from "./chunk-J4MCVIXU.js";
11
+ } from "./chunk-BNJBJTEK.js";
12
12
  import {
13
13
  buildSuggestionUrl
14
- } from "./chunk-GRBZC5N3.js";
14
+ } from "./chunk-PELIFROQ.js";
15
15
  import {
16
16
  faqItemAnchor,
17
17
  faqSectionSlug,
18
18
  parseFaqHash
19
- } from "./chunk-OB3ZJ7GQ.js";
19
+ } from "./chunk-XGB5EEFZ.js";
20
20
  import {
21
21
  STICKY_HEADER_OFFSET_PX,
22
22
  navigateSamePageHash,
@@ -30,7 +30,7 @@ import {
30
30
  } from "./chunk-6PWDHLNW.js";
31
31
  import {
32
32
  SECTION_HEADING_CLASS
33
- } from "./chunk-Y2MDXJB4.js";
33
+ } from "./chunk-JZCCRN3K.js";
34
34
  import {
35
35
  cn
36
36
  } from "./chunk-OXB6LRBK.js";
@@ -357,4 +357,4 @@ export {
357
357
  FaqSection,
358
358
  FaqDocumentPage
359
359
  };
360
- //# sourceMappingURL=chunk-H6SSHFMD.js.map
360
+ //# sourceMappingURL=chunk-OMP5KPDM.js.map
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import {
3
3
  PageLayout
4
- } from "./chunk-JBMFCHNT.js";
4
+ } from "./chunk-HIYZHMNX.js";
5
5
  import {
6
6
  formatBioText,
7
7
  formatDateWithTimezone,
8
8
  getProxiedImageUrl
9
- } from "./chunk-Y2MDXJB4.js";
9
+ } from "./chunk-JZCCRN3K.js";
10
10
  import {
11
11
  next_image_default
12
12
  } from "./chunk-MDKCTSDS.js";
@@ -137,4 +137,4 @@ export {
137
137
  DetailPageSkeleton,
138
138
  ArticleAuthorByline
139
139
  };
140
- //# sourceMappingURL=chunk-J4VGVLQI.js.map
140
+ //# sourceMappingURL=chunk-OPGUDB4U.js.map
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  DEFAULT_FOLDER_INDEX_FILE
4
- } from "./chunk-JBMFCHNT.js";
4
+ } from "./chunk-HIYZHMNX.js";
5
5
  import {
6
6
  scrollElementIntoView
7
7
  } from "./chunk-AVRVYWCS.js";
@@ -358,4 +358,4 @@ export {
358
358
  MultiLevelNavigation,
359
359
  MobileNavigationDropdown
360
360
  };
361
- //# sourceMappingURL=chunk-VE7HLTVQ.js.map
361
+ //# sourceMappingURL=chunk-OX4IH3OJ.js.map
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  Button
4
- } from "./chunk-4HVWGYHI.js";
4
+ } from "./chunk-LPLXCDNV.js";
5
5
  import {
6
6
  cn
7
7
  } from "./chunk-OXB6LRBK.js";
@@ -213,4 +213,4 @@ export {
213
213
  PaginationPrevious,
214
214
  PaginationNext
215
215
  };
216
- //# sourceMappingURL=chunk-GRBZC5N3.js.map
216
+ //# sourceMappingURL=chunk-PELIFROQ.js.map