@cellarnode/ui 0.17.3 → 0.19.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 (655) hide show
  1. package/dist/chat/unified-timeline.d.ts +15 -0
  2. package/dist/chat/unified-timeline.d.ts.map +1 -1
  3. package/dist/chat/unified-timeline.js.map +1 -1
  4. package/dist/components/__tests__/countdown-pill.test.d.ts +2 -0
  5. package/dist/components/__tests__/countdown-pill.test.d.ts.map +1 -0
  6. package/dist/components/__tests__/countdown-pill.test.js +28 -0
  7. package/dist/components/__tests__/countdown-pill.test.js.map +1 -0
  8. package/dist/components/__tests__/country-flag.test.d.ts +2 -0
  9. package/dist/components/__tests__/country-flag.test.d.ts.map +1 -0
  10. package/dist/components/__tests__/country-flag.test.js +20 -0
  11. package/dist/components/__tests__/country-flag.test.js.map +1 -0
  12. package/dist/components/__tests__/status-pill.test.d.ts +2 -0
  13. package/dist/components/__tests__/status-pill.test.d.ts.map +1 -0
  14. package/dist/components/__tests__/status-pill.test.js +24 -0
  15. package/dist/components/__tests__/status-pill.test.js.map +1 -0
  16. package/dist/components/confirmation-dialog.stories.d.ts +26 -0
  17. package/dist/components/confirmation-dialog.stories.d.ts.map +1 -0
  18. package/dist/components/confirmation-dialog.stories.js +94 -0
  19. package/dist/components/confirmation-dialog.stories.js.map +1 -0
  20. package/dist/components/countdown-pill.d.ts +7 -0
  21. package/dist/components/countdown-pill.d.ts.map +1 -0
  22. package/dist/components/countdown-pill.js +27 -0
  23. package/dist/components/countdown-pill.js.map +1 -0
  24. package/dist/components/countdown-pill.stories.d.ts +15 -0
  25. package/dist/components/countdown-pill.stories.d.ts.map +1 -0
  26. package/dist/components/countdown-pill.stories.js +14 -0
  27. package/dist/components/countdown-pill.stories.js.map +1 -0
  28. package/dist/components/country-flag.d.ts +6 -0
  29. package/dist/components/country-flag.d.ts.map +1 -0
  30. package/dist/components/country-flag.js +31 -0
  31. package/dist/components/country-flag.js.map +1 -0
  32. package/dist/components/country-flag.stories.d.ts +14 -0
  33. package/dist/components/country-flag.stories.d.ts.map +1 -0
  34. package/dist/components/country-flag.stories.js +16 -0
  35. package/dist/components/country-flag.stories.js.map +1 -0
  36. package/dist/components/period-select.stories.d.ts +29 -0
  37. package/dist/components/period-select.stories.d.ts.map +1 -0
  38. package/dist/components/period-select.stories.js +65 -0
  39. package/dist/components/period-select.stories.js.map +1 -0
  40. package/dist/components/sidebar/context.d.ts +24 -0
  41. package/dist/components/sidebar/context.d.ts.map +1 -0
  42. package/dist/components/sidebar/context.js +73 -0
  43. package/dist/components/sidebar/context.js.map +1 -0
  44. package/dist/components/sidebar/index.d.ts +9 -0
  45. package/dist/components/sidebar/index.d.ts.map +1 -0
  46. package/dist/components/sidebar/index.js +9 -0
  47. package/dist/components/sidebar/index.js.map +1 -0
  48. package/dist/components/sidebar/sidebar-group.d.ts +10 -0
  49. package/dist/components/sidebar/sidebar-group.d.ts.map +1 -0
  50. package/dist/components/sidebar/sidebar-group.js +21 -0
  51. package/dist/components/sidebar/sidebar-group.js.map +1 -0
  52. package/dist/components/sidebar/sidebar-inset.d.ts +3 -0
  53. package/dist/components/sidebar/sidebar-inset.d.ts.map +1 -0
  54. package/dist/components/sidebar/sidebar-inset.js +7 -0
  55. package/dist/components/sidebar/sidebar-inset.js.map +1 -0
  56. package/dist/components/sidebar/sidebar-menu-sub.d.ts +9 -0
  57. package/dist/components/sidebar/sidebar-menu-sub.d.ts.map +1 -0
  58. package/dist/components/sidebar/sidebar-menu-sub.js +15 -0
  59. package/dist/components/sidebar/sidebar-menu-sub.js.map +1 -0
  60. package/dist/components/sidebar/sidebar-menu.d.ts +23 -0
  61. package/dist/components/sidebar/sidebar-menu.d.ts.map +1 -0
  62. package/dist/components/sidebar/sidebar-menu.js +63 -0
  63. package/dist/components/sidebar/sidebar-menu.js.map +1 -0
  64. package/dist/components/sidebar/sidebar-sections.d.ts +8 -0
  65. package/dist/components/sidebar/sidebar-sections.d.ts.map +1 -0
  66. package/dist/components/sidebar/sidebar-sections.js +20 -0
  67. package/dist/components/sidebar/sidebar-sections.js.map +1 -0
  68. package/dist/components/sidebar/sidebar-trigger.d.ts +4 -0
  69. package/dist/components/sidebar/sidebar-trigger.d.ts.map +1 -0
  70. package/dist/components/sidebar/sidebar-trigger.js +17 -0
  71. package/dist/components/sidebar/sidebar-trigger.js.map +1 -0
  72. package/dist/components/sidebar/sidebar.d.ts +7 -0
  73. package/dist/components/sidebar/sidebar.d.ts.map +1 -0
  74. package/dist/components/sidebar/sidebar.js +26 -0
  75. package/dist/components/sidebar/sidebar.js.map +1 -0
  76. package/dist/components/status-pill.d.ts +7 -0
  77. package/dist/components/status-pill.d.ts.map +1 -0
  78. package/dist/components/status-pill.js +14 -0
  79. package/dist/components/status-pill.js.map +1 -0
  80. package/dist/components/status-pill.stories.d.ts +21 -0
  81. package/dist/components/status-pill.stories.d.ts.map +1 -0
  82. package/dist/components/status-pill.stories.js +18 -0
  83. package/dist/components/status-pill.stories.js.map +1 -0
  84. package/dist/components/toast.stories.d.ts +25 -0
  85. package/dist/components/toast.stories.d.ts.map +1 -0
  86. package/dist/components/toast.stories.js +38 -0
  87. package/dist/components/toast.stories.js.map +1 -0
  88. package/dist/components/toaster.stories.d.ts +19 -0
  89. package/dist/components/toaster.stories.d.ts.map +1 -0
  90. package/dist/components/toaster.stories.js +27 -0
  91. package/dist/components/toaster.stories.js.map +1 -0
  92. package/dist/globe/globe-scene-camera.d.ts +25 -0
  93. package/dist/globe/globe-scene-camera.d.ts.map +1 -0
  94. package/dist/globe/globe-scene-camera.js +59 -0
  95. package/dist/globe/globe-scene-camera.js.map +1 -0
  96. package/dist/globe/globe-scene-channel.d.ts +27 -0
  97. package/dist/globe/globe-scene-channel.d.ts.map +1 -0
  98. package/dist/globe/globe-scene-channel.js +60 -0
  99. package/dist/globe/globe-scene-channel.js.map +1 -0
  100. package/dist/globe/globe-scene-controls.d.ts +38 -0
  101. package/dist/globe/globe-scene-controls.d.ts.map +1 -0
  102. package/dist/globe/globe-scene-controls.js +62 -0
  103. package/dist/globe/globe-scene-controls.js.map +1 -0
  104. package/dist/globe/globe-scene-data.d.ts +16 -0
  105. package/dist/globe/globe-scene-data.d.ts.map +1 -0
  106. package/dist/globe/globe-scene-data.js +51 -0
  107. package/dist/globe/globe-scene-data.js.map +1 -0
  108. package/dist/globe/globe-scene-interactions.d.ts +11 -0
  109. package/dist/globe/globe-scene-interactions.d.ts.map +1 -0
  110. package/dist/globe/globe-scene-interactions.js +54 -0
  111. package/dist/globe/globe-scene-interactions.js.map +1 -0
  112. package/dist/globe/globe-scene-layers.d.ts +22 -0
  113. package/dist/globe/globe-scene-layers.d.ts.map +1 -0
  114. package/dist/globe/globe-scene-layers.js +170 -0
  115. package/dist/globe/globe-scene-layers.js.map +1 -0
  116. package/dist/globe/globe-scene-props.d.ts +32 -0
  117. package/dist/globe/globe-scene-props.d.ts.map +1 -0
  118. package/dist/globe/globe-scene-props.js +8 -0
  119. package/dist/globe/globe-scene-props.js.map +1 -0
  120. package/dist/globe/globe-scene-types.d.ts +34 -0
  121. package/dist/globe/globe-scene-types.d.ts.map +1 -0
  122. package/dist/globe/globe-scene-types.js +14 -0
  123. package/dist/globe/globe-scene-types.js.map +1 -0
  124. package/dist/globe/globe-scene.d.ts +10 -25
  125. package/dist/globe/globe-scene.d.ts.map +1 -1
  126. package/dist/globe/globe-scene.js +54 -349
  127. package/dist/globe/globe-scene.js.map +1 -1
  128. package/dist/hooks/__tests__/use-animated-number.test.d.ts +2 -0
  129. package/dist/hooks/__tests__/use-animated-number.test.d.ts.map +1 -0
  130. package/dist/hooks/__tests__/use-animated-number.test.js +58 -0
  131. package/dist/hooks/__tests__/use-animated-number.test.js.map +1 -0
  132. package/dist/hooks/index.d.ts +3 -0
  133. package/dist/hooks/index.d.ts.map +1 -0
  134. package/dist/hooks/index.js +2 -0
  135. package/dist/hooks/index.js.map +1 -0
  136. package/dist/hooks/use-animated-number.d.ts +6 -0
  137. package/dist/hooks/use-animated-number.d.ts.map +1 -0
  138. package/dist/hooks/use-animated-number.js +56 -0
  139. package/dist/hooks/use-animated-number.js.map +1 -0
  140. package/dist/index.d.ts +8 -0
  141. package/dist/index.d.ts.map +1 -1
  142. package/dist/index.js +6 -0
  143. package/dist/index.js.map +1 -1
  144. package/dist/notifications/notification-badge.stories.d.ts +42 -0
  145. package/dist/notifications/notification-badge.stories.d.ts.map +1 -0
  146. package/dist/notifications/notification-badge.stories.js +42 -0
  147. package/dist/notifications/notification-badge.stories.js.map +1 -0
  148. package/dist/notifications/notification-empty-state.stories.d.ts +16 -0
  149. package/dist/notifications/notification-empty-state.stories.d.ts.map +1 -0
  150. package/dist/notifications/notification-empty-state.stories.js +22 -0
  151. package/dist/notifications/notification-empty-state.stories.js.map +1 -0
  152. package/dist/notifications/notification-item.stories.d.ts +41 -0
  153. package/dist/notifications/notification-item.stories.d.ts.map +1 -0
  154. package/dist/notifications/notification-item.stories.js +110 -0
  155. package/dist/notifications/notification-item.stories.js.map +1 -0
  156. package/dist/notifications/notification-list.stories.d.ts +25 -0
  157. package/dist/notifications/notification-list.stories.d.ts.map +1 -0
  158. package/dist/notifications/notification-list.stories.js +148 -0
  159. package/dist/notifications/notification-list.stories.js.map +1 -0
  160. package/dist/notifications/notification-page.stories.d.ts +20 -0
  161. package/dist/notifications/notification-page.stories.d.ts.map +1 -0
  162. package/dist/notifications/notification-page.stories.js +140 -0
  163. package/dist/notifications/notification-page.stories.js.map +1 -0
  164. package/dist/notifications/notification-tray.stories.d.ts +21 -0
  165. package/dist/notifications/notification-tray.stories.d.ts.map +1 -0
  166. package/dist/notifications/notification-tray.stories.js +123 -0
  167. package/dist/notifications/notification-tray.stories.js.map +1 -0
  168. package/dist/notifications/push-prompt-banner.stories.d.ts +27 -0
  169. package/dist/notifications/push-prompt-banner.stories.d.ts.map +1 -0
  170. package/dist/notifications/push-prompt-banner.stories.js +33 -0
  171. package/dist/notifications/push-prompt-banner.stories.js.map +1 -0
  172. package/dist/offer/__tests__/opportunity-requirements.test.d.ts +2 -0
  173. package/dist/offer/__tests__/opportunity-requirements.test.d.ts.map +1 -0
  174. package/dist/offer/__tests__/opportunity-requirements.test.js +33 -0
  175. package/dist/offer/__tests__/opportunity-requirements.test.js.map +1 -0
  176. package/dist/offer/attachments-card.d.ts +9 -0
  177. package/dist/offer/attachments-card.d.ts.map +1 -0
  178. package/dist/offer/attachments-card.js +16 -0
  179. package/dist/offer/attachments-card.js.map +1 -0
  180. package/dist/offer/attachments-card.stories.d.ts +17 -0
  181. package/dist/offer/attachments-card.stories.d.ts.map +1 -0
  182. package/dist/offer/attachments-card.stories.js +24 -0
  183. package/dist/offer/attachments-card.stories.js.map +1 -0
  184. package/dist/offer/buyer-notes-card.d.ts +7 -0
  185. package/dist/offer/buyer-notes-card.d.ts.map +1 -0
  186. package/dist/offer/buyer-notes-card.js +6 -0
  187. package/dist/offer/buyer-notes-card.js.map +1 -0
  188. package/dist/offer/buyer-notes-card.stories.d.ts +16 -0
  189. package/dist/offer/buyer-notes-card.stories.d.ts.map +1 -0
  190. package/dist/offer/buyer-notes-card.stories.js +25 -0
  191. package/dist/offer/buyer-notes-card.stories.js.map +1 -0
  192. package/dist/offer/counter-slide-over.d.ts +44 -0
  193. package/dist/offer/counter-slide-over.d.ts.map +1 -0
  194. package/dist/offer/counter-slide-over.js +81 -0
  195. package/dist/offer/counter-slide-over.js.map +1 -0
  196. package/dist/offer/counter-slide-over.stories.d.ts +23 -0
  197. package/dist/offer/counter-slide-over.stories.d.ts.map +1 -0
  198. package/dist/offer/counter-slide-over.stories.js +235 -0
  199. package/dist/offer/counter-slide-over.stories.js.map +1 -0
  200. package/dist/offer/facts-card.d.ts +32 -0
  201. package/dist/offer/facts-card.d.ts.map +1 -0
  202. package/dist/offer/facts-card.js +87 -0
  203. package/dist/offer/facts-card.js.map +1 -0
  204. package/dist/offer/facts-card.stories.d.ts +25 -0
  205. package/dist/offer/facts-card.stories.d.ts.map +1 -0
  206. package/dist/offer/facts-card.stories.js +177 -0
  207. package/dist/offer/facts-card.stories.js.map +1 -0
  208. package/dist/offer/index.d.ts +39 -0
  209. package/dist/offer/index.d.ts.map +1 -1
  210. package/dist/offer/index.js +21 -0
  211. package/dist/offer/index.js.map +1 -1
  212. package/dist/offer/inline-counter-form.d.ts +16 -0
  213. package/dist/offer/inline-counter-form.d.ts.map +1 -1
  214. package/dist/offer/inline-counter-form.js +8 -0
  215. package/dist/offer/inline-counter-form.js.map +1 -1
  216. package/dist/offer/match-compatibility-card.d.ts +16 -0
  217. package/dist/offer/match-compatibility-card.d.ts.map +1 -0
  218. package/dist/offer/match-compatibility-card.js +27 -0
  219. package/dist/offer/match-compatibility-card.js.map +1 -0
  220. package/dist/offer/match-compatibility-card.stories.d.ts +19 -0
  221. package/dist/offer/match-compatibility-card.stories.d.ts.map +1 -0
  222. package/dist/offer/match-compatibility-card.stories.js +111 -0
  223. package/dist/offer/match-compatibility-card.stories.js.map +1 -0
  224. package/dist/offer/match-glyph.d.ts +14 -0
  225. package/dist/offer/match-glyph.d.ts.map +1 -0
  226. package/dist/offer/match-glyph.js +40 -0
  227. package/dist/offer/match-glyph.js.map +1 -0
  228. package/dist/offer/match-glyph.stories.d.ts +26 -0
  229. package/dist/offer/match-glyph.stories.d.ts.map +1 -0
  230. package/dist/offer/match-glyph.stories.js +26 -0
  231. package/dist/offer/match-glyph.stories.js.map +1 -0
  232. package/dist/offer/match-headline-bar.d.ts +11 -0
  233. package/dist/offer/match-headline-bar.d.ts.map +1 -0
  234. package/dist/offer/match-headline-bar.js +28 -0
  235. package/dist/offer/match-headline-bar.js.map +1 -0
  236. package/dist/offer/match-headline-bar.stories.d.ts +17 -0
  237. package/dist/offer/match-headline-bar.stories.d.ts.map +1 -0
  238. package/dist/offer/match-headline-bar.stories.js +39 -0
  239. package/dist/offer/match-headline-bar.stories.js.map +1 -0
  240. package/dist/offer/match-preview.d.ts +18 -0
  241. package/dist/offer/match-preview.d.ts.map +1 -0
  242. package/dist/offer/match-preview.js +13 -0
  243. package/dist/offer/match-preview.js.map +1 -0
  244. package/dist/offer/match-preview.stories.d.ts +18 -0
  245. package/dist/offer/match-preview.stories.d.ts.map +1 -0
  246. package/dist/offer/match-preview.stories.js +103 -0
  247. package/dist/offer/match-preview.stories.js.map +1 -0
  248. package/dist/offer/negotiation-section.d.ts +11 -0
  249. package/dist/offer/negotiation-section.d.ts.map +1 -0
  250. package/dist/offer/negotiation-section.js +99 -0
  251. package/dist/offer/negotiation-section.js.map +1 -0
  252. package/dist/offer/negotiation-section.stories.d.ts +18 -0
  253. package/dist/offer/negotiation-section.stories.d.ts.map +1 -0
  254. package/dist/offer/negotiation-section.stories.js +156 -0
  255. package/dist/offer/negotiation-section.stories.js.map +1 -0
  256. package/dist/offer/new-activity-pill.d.ts +7 -0
  257. package/dist/offer/new-activity-pill.d.ts.map +1 -0
  258. package/dist/offer/new-activity-pill.js +8 -0
  259. package/dist/offer/new-activity-pill.js.map +1 -0
  260. package/dist/offer/new-activity-pill.stories.d.ts +17 -0
  261. package/dist/offer/new-activity-pill.stories.d.ts.map +1 -0
  262. package/dist/offer/new-activity-pill.stories.js +22 -0
  263. package/dist/offer/new-activity-pill.stories.js.map +1 -0
  264. package/dist/offer/offer-detail-header.stories.d.ts +19 -0
  265. package/dist/offer/offer-detail-header.stories.d.ts.map +1 -0
  266. package/dist/offer/offer-detail-header.stories.js +59 -0
  267. package/dist/offer/offer-detail-header.stories.js.map +1 -0
  268. package/dist/offer/offer-detail-shell.stories.d.ts +17 -0
  269. package/dist/offer/offer-detail-shell.stories.d.ts.map +1 -0
  270. package/dist/offer/offer-detail-shell.stories.js +69 -0
  271. package/dist/offer/offer-detail-shell.stories.js.map +1 -0
  272. package/dist/offer/offer-detail-tabs.stories.d.ts +17 -0
  273. package/dist/offer/offer-detail-tabs.stories.d.ts.map +1 -0
  274. package/dist/offer/offer-detail-tabs.stories.js +66 -0
  275. package/dist/offer/offer-detail-tabs.stories.js.map +1 -0
  276. package/dist/offer/offer-document.d.ts +33 -0
  277. package/dist/offer/offer-document.d.ts.map +1 -0
  278. package/dist/offer/offer-document.js +125 -0
  279. package/dist/offer/offer-document.js.map +1 -0
  280. package/dist/offer/offer-document.stories.d.ts +25 -0
  281. package/dist/offer/offer-document.stories.d.ts.map +1 -0
  282. package/dist/offer/offer-document.stories.js +168 -0
  283. package/dist/offer/offer-document.stories.js.map +1 -0
  284. package/dist/offer/offer-export-button.d.ts +8 -0
  285. package/dist/offer/offer-export-button.d.ts.map +1 -0
  286. package/dist/offer/offer-export-button.js +11 -0
  287. package/dist/offer/offer-export-button.js.map +1 -0
  288. package/dist/offer/offer-export-button.stories.d.ts +15 -0
  289. package/dist/offer/offer-export-button.stories.d.ts.map +1 -0
  290. package/dist/offer/offer-export-button.stories.js +11 -0
  291. package/dist/offer/offer-export-button.stories.js.map +1 -0
  292. package/dist/offer/offer-product-card.d.ts +32 -0
  293. package/dist/offer/offer-product-card.d.ts.map +1 -0
  294. package/dist/offer/offer-product-card.js +10 -0
  295. package/dist/offer/offer-product-card.js.map +1 -0
  296. package/dist/offer/offer-product-card.stories.d.ts +16 -0
  297. package/dist/offer/offer-product-card.stories.d.ts.map +1 -0
  298. package/dist/offer/offer-product-card.stories.js +40 -0
  299. package/dist/offer/offer-product-card.stories.js.map +1 -0
  300. package/dist/offer/opportunity-card.d.ts +16 -0
  301. package/dist/offer/opportunity-card.d.ts.map +1 -0
  302. package/dist/offer/opportunity-card.js +9 -0
  303. package/dist/offer/opportunity-card.js.map +1 -0
  304. package/dist/offer/opportunity-card.stories.d.ts +16 -0
  305. package/dist/offer/opportunity-card.stories.d.ts.map +1 -0
  306. package/dist/offer/opportunity-card.stories.js +33 -0
  307. package/dist/offer/opportunity-card.stories.js.map +1 -0
  308. package/dist/offer/opportunity-requirements.d.ts.map +1 -1
  309. package/dist/offer/opportunity-requirements.js +4 -0
  310. package/dist/offer/opportunity-requirements.js.map +1 -1
  311. package/dist/offer/parties-card.d.ts +11 -0
  312. package/dist/offer/parties-card.d.ts.map +1 -0
  313. package/dist/offer/parties-card.js +14 -0
  314. package/dist/offer/parties-card.js.map +1 -0
  315. package/dist/offer/parties-card.stories.d.ts +17 -0
  316. package/dist/offer/parties-card.stories.d.ts.map +1 -0
  317. package/dist/offer/parties-card.stories.js +37 -0
  318. package/dist/offer/parties-card.stories.js.map +1 -0
  319. package/dist/offer/terms-card.d.ts +17 -0
  320. package/dist/offer/terms-card.d.ts.map +1 -0
  321. package/dist/offer/terms-card.js +50 -0
  322. package/dist/offer/terms-card.js.map +1 -0
  323. package/dist/offer/terms-card.stories.d.ts +17 -0
  324. package/dist/offer/terms-card.stories.d.ts.map +1 -0
  325. package/dist/offer/terms-card.stories.js +42 -0
  326. package/dist/offer/terms-card.stories.js.map +1 -0
  327. package/dist/offer/timeline-event.d.ts +12 -0
  328. package/dist/offer/timeline-event.d.ts.map +1 -0
  329. package/dist/offer/timeline-event.js +57 -0
  330. package/dist/offer/timeline-event.js.map +1 -0
  331. package/dist/offer/timeline-event.stories.d.ts +21 -0
  332. package/dist/offer/timeline-event.stories.d.ts.map +1 -0
  333. package/dist/offer/timeline-event.stories.js +57 -0
  334. package/dist/offer/timeline-event.stories.js.map +1 -0
  335. package/dist/offer/types.d.ts +118 -0
  336. package/dist/offer/types.d.ts.map +1 -1
  337. package/dist/opportunities/__a11y__/opportunity-card-actions-menu.a11y.test.d.ts +2 -0
  338. package/dist/opportunities/__a11y__/opportunity-card-actions-menu.a11y.test.d.ts.map +1 -0
  339. package/dist/opportunities/__a11y__/opportunity-card-actions-menu.a11y.test.js +40 -0
  340. package/dist/opportunities/__a11y__/opportunity-card-actions-menu.a11y.test.js.map +1 -0
  341. package/dist/opportunities/__a11y__/opportunity-celebration.a11y.test.d.ts +2 -0
  342. package/dist/opportunities/__a11y__/opportunity-celebration.a11y.test.d.ts.map +1 -0
  343. package/dist/opportunities/__a11y__/opportunity-celebration.a11y.test.js +31 -0
  344. package/dist/opportunities/__a11y__/opportunity-celebration.a11y.test.js.map +1 -0
  345. package/dist/opportunities/__a11y__/opportunity-detail-panel.a11y.test.d.ts +2 -0
  346. package/dist/opportunities/__a11y__/opportunity-detail-panel.a11y.test.d.ts.map +1 -0
  347. package/dist/opportunities/__a11y__/opportunity-detail-panel.a11y.test.js +42 -0
  348. package/dist/opportunities/__a11y__/opportunity-detail-panel.a11y.test.js.map +1 -0
  349. package/dist/opportunities/__a11y__/opportunity-filter-bar.a11y.test.d.ts +2 -0
  350. package/dist/opportunities/__a11y__/opportunity-filter-bar.a11y.test.d.ts.map +1 -0
  351. package/dist/opportunities/__a11y__/opportunity-filter-bar.a11y.test.js +59 -0
  352. package/dist/opportunities/__a11y__/opportunity-filter-bar.a11y.test.js.map +1 -0
  353. package/dist/opportunities/__a11y__/opportunity-stacked-card.a11y.test.d.ts +2 -0
  354. package/dist/opportunities/__a11y__/opportunity-stacked-card.a11y.test.d.ts.map +1 -0
  355. package/dist/opportunities/__a11y__/opportunity-stacked-card.a11y.test.js +54 -0
  356. package/dist/opportunities/__a11y__/opportunity-stacked-card.a11y.test.js.map +1 -0
  357. package/dist/opportunities/__a11y__/opportunity-stacked-list.a11y.test.d.ts +2 -0
  358. package/dist/opportunities/__a11y__/opportunity-stacked-list.a11y.test.d.ts.map +1 -0
  359. package/dist/opportunities/__a11y__/opportunity-stacked-list.a11y.test.js +40 -0
  360. package/dist/opportunities/__a11y__/opportunity-stacked-list.a11y.test.js.map +1 -0
  361. package/dist/opportunities/__tests__/opportunity-add-to-journey-button.test.d.ts +2 -0
  362. package/dist/opportunities/__tests__/opportunity-add-to-journey-button.test.d.ts.map +1 -0
  363. package/dist/opportunities/__tests__/opportunity-add-to-journey-button.test.js +40 -0
  364. package/dist/opportunities/__tests__/opportunity-add-to-journey-button.test.js.map +1 -0
  365. package/dist/opportunities/__tests__/opportunity-card-actions-menu.test.d.ts +2 -0
  366. package/dist/opportunities/__tests__/opportunity-card-actions-menu.test.d.ts.map +1 -0
  367. package/dist/opportunities/__tests__/opportunity-card-actions-menu.test.js +74 -0
  368. package/dist/opportunities/__tests__/opportunity-card-actions-menu.test.js.map +1 -0
  369. package/dist/opportunities/__tests__/opportunity-celebration.test.d.ts +2 -0
  370. package/dist/opportunities/__tests__/opportunity-celebration.test.d.ts.map +1 -0
  371. package/dist/opportunities/__tests__/opportunity-celebration.test.js +46 -0
  372. package/dist/opportunities/__tests__/opportunity-celebration.test.js.map +1 -0
  373. package/dist/opportunities/__tests__/opportunity-channel-badge.test.d.ts +2 -0
  374. package/dist/opportunities/__tests__/opportunity-channel-badge.test.d.ts.map +1 -0
  375. package/dist/opportunities/__tests__/opportunity-channel-badge.test.js +23 -0
  376. package/dist/opportunities/__tests__/opportunity-channel-badge.test.js.map +1 -0
  377. package/dist/opportunities/__tests__/opportunity-detail-panel.test.d.ts +2 -0
  378. package/dist/opportunities/__tests__/opportunity-detail-panel.test.d.ts.map +1 -0
  379. package/dist/opportunities/__tests__/opportunity-detail-panel.test.js +50 -0
  380. package/dist/opportunities/__tests__/opportunity-detail-panel.test.js.map +1 -0
  381. package/dist/opportunities/__tests__/opportunity-empty-state.test.d.ts +2 -0
  382. package/dist/opportunities/__tests__/opportunity-empty-state.test.d.ts.map +1 -0
  383. package/dist/opportunities/__tests__/opportunity-empty-state.test.js +19 -0
  384. package/dist/opportunities/__tests__/opportunity-empty-state.test.js.map +1 -0
  385. package/dist/opportunities/__tests__/opportunity-filter-bar-drawer.test.d.ts +2 -0
  386. package/dist/opportunities/__tests__/opportunity-filter-bar-drawer.test.d.ts.map +1 -0
  387. package/dist/opportunities/__tests__/opportunity-filter-bar-drawer.test.js +77 -0
  388. package/dist/opportunities/__tests__/opportunity-filter-bar-drawer.test.js.map +1 -0
  389. package/dist/opportunities/__tests__/opportunity-filter-bar.test.d.ts +2 -0
  390. package/dist/opportunities/__tests__/opportunity-filter-bar.test.d.ts.map +1 -0
  391. package/dist/opportunities/__tests__/opportunity-filter-bar.test.js +107 -0
  392. package/dist/opportunities/__tests__/opportunity-filter-bar.test.js.map +1 -0
  393. package/dist/opportunities/__tests__/opportunity-offers-count-chip.test.d.ts +2 -0
  394. package/dist/opportunities/__tests__/opportunity-offers-count-chip.test.d.ts.map +1 -0
  395. package/dist/opportunities/__tests__/opportunity-offers-count-chip.test.js +25 -0
  396. package/dist/opportunities/__tests__/opportunity-offers-count-chip.test.js.map +1 -0
  397. package/dist/opportunities/__tests__/opportunity-reopen-button.test.d.ts +2 -0
  398. package/dist/opportunities/__tests__/opportunity-reopen-button.test.d.ts.map +1 -0
  399. package/dist/opportunities/__tests__/opportunity-reopen-button.test.js +29 -0
  400. package/dist/opportunities/__tests__/opportunity-reopen-button.test.js.map +1 -0
  401. package/dist/opportunities/__tests__/opportunity-republish-button.test.d.ts +2 -0
  402. package/dist/opportunities/__tests__/opportunity-republish-button.test.d.ts.map +1 -0
  403. package/dist/opportunities/__tests__/opportunity-republish-button.test.js +29 -0
  404. package/dist/opportunities/__tests__/opportunity-republish-button.test.js.map +1 -0
  405. package/dist/opportunities/__tests__/opportunity-resume-draft-button.test.d.ts +2 -0
  406. package/dist/opportunities/__tests__/opportunity-resume-draft-button.test.d.ts.map +1 -0
  407. package/dist/opportunities/__tests__/opportunity-resume-draft-button.test.js +19 -0
  408. package/dist/opportunities/__tests__/opportunity-resume-draft-button.test.js.map +1 -0
  409. package/dist/opportunities/__tests__/opportunity-stacked-card.test.d.ts +2 -0
  410. package/dist/opportunities/__tests__/opportunity-stacked-card.test.d.ts.map +1 -0
  411. package/dist/opportunities/__tests__/opportunity-stacked-card.test.js +99 -0
  412. package/dist/opportunities/__tests__/opportunity-stacked-card.test.js.map +1 -0
  413. package/dist/opportunities/__tests__/opportunity-stacked-list.test.d.ts +2 -0
  414. package/dist/opportunities/__tests__/opportunity-stacked-list.test.d.ts.map +1 -0
  415. package/dist/opportunities/__tests__/opportunity-stacked-list.test.js +98 -0
  416. package/dist/opportunities/__tests__/opportunity-stacked-list.test.js.map +1 -0
  417. package/dist/opportunities/__tests__/opportunity-view-offers-button.test.d.ts +2 -0
  418. package/dist/opportunities/__tests__/opportunity-view-offers-button.test.d.ts.map +1 -0
  419. package/dist/opportunities/__tests__/opportunity-view-offers-button.test.js +23 -0
  420. package/dist/opportunities/__tests__/opportunity-view-offers-button.test.js.map +1 -0
  421. package/dist/opportunities/__tests__/section-field.test.d.ts +2 -0
  422. package/dist/opportunities/__tests__/section-field.test.d.ts.map +1 -0
  423. package/dist/opportunities/__tests__/section-field.test.js +28 -0
  424. package/dist/opportunities/__tests__/section-field.test.js.map +1 -0
  425. package/dist/opportunities/__tests__/two-column-section.test.d.ts +2 -0
  426. package/dist/opportunities/__tests__/two-column-section.test.d.ts.map +1 -0
  427. package/dist/opportunities/__tests__/two-column-section.test.js +25 -0
  428. package/dist/opportunities/__tests__/two-column-section.test.js.map +1 -0
  429. package/dist/opportunities/index.d.ts +51 -1
  430. package/dist/opportunities/index.d.ts.map +1 -1
  431. package/dist/opportunities/index.js +35 -0
  432. package/dist/opportunities/index.js.map +1 -1
  433. package/dist/opportunities/opportunities-table.d.ts +4 -0
  434. package/dist/opportunities/opportunities-table.d.ts.map +1 -1
  435. package/dist/opportunities/opportunities-table.js +4 -0
  436. package/dist/opportunities/opportunities-table.js.map +1 -1
  437. package/dist/opportunities/opportunity-add-to-journey-button.d.ts +12 -0
  438. package/dist/opportunities/opportunity-add-to-journey-button.d.ts.map +1 -0
  439. package/dist/opportunities/opportunity-add-to-journey-button.js +42 -0
  440. package/dist/opportunities/opportunity-add-to-journey-button.js.map +1 -0
  441. package/dist/opportunities/opportunity-card-actions-menu.d.ts +9 -0
  442. package/dist/opportunities/opportunity-card-actions-menu.d.ts.map +1 -0
  443. package/dist/opportunities/opportunity-card-actions-menu.js +33 -0
  444. package/dist/opportunities/opportunity-card-actions-menu.js.map +1 -0
  445. package/dist/opportunities/opportunity-card-actions-menu.stories.d.ts +14 -0
  446. package/dist/opportunities/opportunity-card-actions-menu.stories.d.ts.map +1 -0
  447. package/dist/opportunities/opportunity-card-actions-menu.stories.js +12 -0
  448. package/dist/opportunities/opportunity-card-actions-menu.stories.js.map +1 -0
  449. package/dist/opportunities/opportunity-celebration.d.ts +8 -0
  450. package/dist/opportunities/opportunity-celebration.d.ts.map +1 -0
  451. package/dist/opportunities/opportunity-celebration.js +17 -0
  452. package/dist/opportunities/opportunity-celebration.js.map +1 -0
  453. package/dist/opportunities/opportunity-celebration.stories.d.ts +17 -0
  454. package/dist/opportunities/opportunity-celebration.stories.d.ts.map +1 -0
  455. package/dist/opportunities/opportunity-celebration.stories.js +30 -0
  456. package/dist/opportunities/opportunity-celebration.stories.js.map +1 -0
  457. package/dist/opportunities/opportunity-channel-badge.d.ts +7 -0
  458. package/dist/opportunities/opportunity-channel-badge.d.ts.map +1 -0
  459. package/dist/opportunities/opportunity-channel-badge.js +13 -0
  460. package/dist/opportunities/opportunity-channel-badge.js.map +1 -0
  461. package/dist/opportunities/opportunity-channel-badge.stories.d.ts +13 -0
  462. package/dist/opportunities/opportunity-channel-badge.stories.d.ts.map +1 -0
  463. package/dist/opportunities/opportunity-channel-badge.stories.js +11 -0
  464. package/dist/opportunities/opportunity-channel-badge.stories.js.map +1 -0
  465. package/dist/opportunities/opportunity-detail-panel.d.ts +13 -0
  466. package/dist/opportunities/opportunity-detail-panel.d.ts.map +1 -0
  467. package/dist/opportunities/opportunity-detail-panel.js +19 -0
  468. package/dist/opportunities/opportunity-detail-panel.js.map +1 -0
  469. package/dist/opportunities/opportunity-detail-panel.stories.d.ts +14 -0
  470. package/dist/opportunities/opportunity-detail-panel.stories.d.ts.map +1 -0
  471. package/dist/opportunities/opportunity-detail-panel.stories.js +53 -0
  472. package/dist/opportunities/opportunity-detail-panel.stories.js.map +1 -0
  473. package/dist/opportunities/opportunity-empty-state.d.ts +10 -0
  474. package/dist/opportunities/opportunity-empty-state.d.ts.map +1 -0
  475. package/dist/opportunities/opportunity-empty-state.js +6 -0
  476. package/dist/opportunities/opportunity-empty-state.js.map +1 -0
  477. package/dist/opportunities/opportunity-empty-state.stories.d.ts +13 -0
  478. package/dist/opportunities/opportunity-empty-state.stories.d.ts.map +1 -0
  479. package/dist/opportunities/opportunity-empty-state.stories.js +13 -0
  480. package/dist/opportunities/opportunity-empty-state.stories.js.map +1 -0
  481. package/dist/opportunities/opportunity-filter-bar-drawer.d.ts +10 -0
  482. package/dist/opportunities/opportunity-filter-bar-drawer.d.ts.map +1 -0
  483. package/dist/opportunities/opportunity-filter-bar-drawer.js +54 -0
  484. package/dist/opportunities/opportunity-filter-bar-drawer.js.map +1 -0
  485. package/dist/opportunities/opportunity-filter-bar.d.ts +14 -0
  486. package/dist/opportunities/opportunity-filter-bar.d.ts.map +1 -0
  487. package/dist/opportunities/opportunity-filter-bar.js +65 -0
  488. package/dist/opportunities/opportunity-filter-bar.js.map +1 -0
  489. package/dist/opportunities/opportunity-filter-bar.stories.d.ts +25 -0
  490. package/dist/opportunities/opportunity-filter-bar.stories.d.ts.map +1 -0
  491. package/dist/opportunities/opportunity-filter-bar.stories.js +63 -0
  492. package/dist/opportunities/opportunity-filter-bar.stories.js.map +1 -0
  493. package/dist/opportunities/opportunity-offers-count-chip.d.ts +6 -0
  494. package/dist/opportunities/opportunity-offers-count-chip.d.ts.map +1 -0
  495. package/dist/opportunities/opportunity-offers-count-chip.js +8 -0
  496. package/dist/opportunities/opportunity-offers-count-chip.js.map +1 -0
  497. package/dist/opportunities/opportunity-offers-count-chip.stories.d.ts +13 -0
  498. package/dist/opportunities/opportunity-offers-count-chip.stories.d.ts.map +1 -0
  499. package/dist/opportunities/opportunity-offers-count-chip.stories.js +11 -0
  500. package/dist/opportunities/opportunity-offers-count-chip.stories.js.map +1 -0
  501. package/dist/opportunities/opportunity-reopen-button.d.ts +11 -0
  502. package/dist/opportunities/opportunity-reopen-button.d.ts.map +1 -0
  503. package/dist/opportunities/opportunity-reopen-button.js +20 -0
  504. package/dist/opportunities/opportunity-reopen-button.js.map +1 -0
  505. package/dist/opportunities/opportunity-republish-button.d.ts +7 -0
  506. package/dist/opportunities/opportunity-republish-button.d.ts.map +1 -0
  507. package/dist/opportunities/opportunity-republish-button.js +14 -0
  508. package/dist/opportunities/opportunity-republish-button.js.map +1 -0
  509. package/dist/opportunities/opportunity-resume-draft-button.d.ts +7 -0
  510. package/dist/opportunities/opportunity-resume-draft-button.d.ts.map +1 -0
  511. package/dist/opportunities/opportunity-resume-draft-button.js +7 -0
  512. package/dist/opportunities/opportunity-resume-draft-button.js.map +1 -0
  513. package/dist/opportunities/opportunity-stacked-card.d.ts +20 -0
  514. package/dist/opportunities/opportunity-stacked-card.d.ts.map +1 -0
  515. package/dist/opportunities/opportunity-stacked-card.js +48 -0
  516. package/dist/opportunities/opportunity-stacked-card.js.map +1 -0
  517. package/dist/opportunities/opportunity-stacked-card.stories.d.ts +23 -0
  518. package/dist/opportunities/opportunity-stacked-card.stories.d.ts.map +1 -0
  519. package/dist/opportunities/opportunity-stacked-card.stories.js +143 -0
  520. package/dist/opportunities/opportunity-stacked-card.stories.js.map +1 -0
  521. package/dist/opportunities/opportunity-stacked-list.d.ts +28 -0
  522. package/dist/opportunities/opportunity-stacked-list.d.ts.map +1 -0
  523. package/dist/opportunities/opportunity-stacked-list.js +51 -0
  524. package/dist/opportunities/opportunity-stacked-list.js.map +1 -0
  525. package/dist/opportunities/opportunity-stacked-list.stories.d.ts +16 -0
  526. package/dist/opportunities/opportunity-stacked-list.stories.d.ts.map +1 -0
  527. package/dist/opportunities/opportunity-stacked-list.stories.js +38 -0
  528. package/dist/opportunities/opportunity-stacked-list.stories.js.map +1 -0
  529. package/dist/opportunities/opportunity-view-offers-button.d.ts +7 -0
  530. package/dist/opportunities/opportunity-view-offers-button.d.ts.map +1 -0
  531. package/dist/opportunities/opportunity-view-offers-button.js +8 -0
  532. package/dist/opportunities/opportunity-view-offers-button.js.map +1 -0
  533. package/dist/opportunities/section-field.d.ts +8 -0
  534. package/dist/opportunities/section-field.d.ts.map +1 -0
  535. package/dist/opportunities/section-field.js +9 -0
  536. package/dist/opportunities/section-field.js.map +1 -0
  537. package/dist/opportunities/section-field.stories.d.ts +13 -0
  538. package/dist/opportunities/section-field.stories.d.ts.map +1 -0
  539. package/dist/opportunities/section-field.stories.js +15 -0
  540. package/dist/opportunities/section-field.stories.js.map +1 -0
  541. package/dist/opportunities/two-column-section.d.ts +10 -0
  542. package/dist/opportunities/two-column-section.d.ts.map +1 -0
  543. package/dist/opportunities/two-column-section.js +22 -0
  544. package/dist/opportunities/two-column-section.js.map +1 -0
  545. package/dist/opportunities/two-column-section.stories.d.ts +12 -0
  546. package/dist/opportunities/two-column-section.stories.d.ts.map +1 -0
  547. package/dist/opportunities/two-column-section.stories.js +26 -0
  548. package/dist/opportunities/two-column-section.stories.js.map +1 -0
  549. package/dist/opportunities/types.d.ts +76 -0
  550. package/dist/opportunities/types.d.ts.map +1 -0
  551. package/dist/opportunities/types.js +2 -0
  552. package/dist/opportunities/types.js.map +1 -0
  553. package/dist/opportunities/wizard/__a11y__/opportunity-wizard.a11y.test.d.ts +2 -0
  554. package/dist/opportunities/wizard/__a11y__/opportunity-wizard.a11y.test.d.ts.map +1 -0
  555. package/dist/opportunities/wizard/__a11y__/opportunity-wizard.a11y.test.js +53 -0
  556. package/dist/opportunities/wizard/__a11y__/opportunity-wizard.a11y.test.js.map +1 -0
  557. package/dist/opportunities/wizard/__a11y__/wizard-stepper.a11y.test.d.ts +2 -0
  558. package/dist/opportunities/wizard/__a11y__/wizard-stepper.a11y.test.d.ts.map +1 -0
  559. package/dist/opportunities/wizard/__a11y__/wizard-stepper.a11y.test.js +32 -0
  560. package/dist/opportunities/wizard/__a11y__/wizard-stepper.a11y.test.js.map +1 -0
  561. package/dist/opportunities/wizard/__tests__/opportunity-wizard.test.d.ts +2 -0
  562. package/dist/opportunities/wizard/__tests__/opportunity-wizard.test.d.ts.map +1 -0
  563. package/dist/opportunities/wizard/__tests__/opportunity-wizard.test.js +127 -0
  564. package/dist/opportunities/wizard/__tests__/opportunity-wizard.test.js.map +1 -0
  565. package/dist/opportunities/wizard/__tests__/step-opportunities.test.d.ts +2 -0
  566. package/dist/opportunities/wizard/__tests__/step-opportunities.test.d.ts.map +1 -0
  567. package/dist/opportunities/wizard/__tests__/step-opportunities.test.js +93 -0
  568. package/dist/opportunities/wizard/__tests__/step-opportunities.test.js.map +1 -0
  569. package/dist/opportunities/wizard/__tests__/step-pricing-timeline.test.d.ts +2 -0
  570. package/dist/opportunities/wizard/__tests__/step-pricing-timeline.test.d.ts.map +1 -0
  571. package/dist/opportunities/wizard/__tests__/step-pricing-timeline.test.js +141 -0
  572. package/dist/opportunities/wizard/__tests__/step-pricing-timeline.test.js.map +1 -0
  573. package/dist/opportunities/wizard/__tests__/step-review.test.d.ts +2 -0
  574. package/dist/opportunities/wizard/__tests__/step-review.test.d.ts.map +1 -0
  575. package/dist/opportunities/wizard/__tests__/step-review.test.js +80 -0
  576. package/dist/opportunities/wizard/__tests__/step-review.test.js.map +1 -0
  577. package/dist/opportunities/wizard/__tests__/step-tender-basics.test.d.ts +2 -0
  578. package/dist/opportunities/wizard/__tests__/step-tender-basics.test.d.ts.map +1 -0
  579. package/dist/opportunities/wizard/__tests__/step-tender-basics.test.js +76 -0
  580. package/dist/opportunities/wizard/__tests__/step-tender-basics.test.js.map +1 -0
  581. package/dist/opportunities/wizard/__tests__/use-wizard-draft.test.d.ts +2 -0
  582. package/dist/opportunities/wizard/__tests__/use-wizard-draft.test.d.ts.map +1 -0
  583. package/dist/opportunities/wizard/__tests__/use-wizard-draft.test.js +192 -0
  584. package/dist/opportunities/wizard/__tests__/use-wizard-draft.test.js.map +1 -0
  585. package/dist/opportunities/wizard/__tests__/wizard-stepper.test.d.ts +2 -0
  586. package/dist/opportunities/wizard/__tests__/wizard-stepper.test.d.ts.map +1 -0
  587. package/dist/opportunities/wizard/__tests__/wizard-stepper.test.js +61 -0
  588. package/dist/opportunities/wizard/__tests__/wizard-stepper.test.js.map +1 -0
  589. package/dist/opportunities/wizard/opportunity-wizard.d.ts +29 -0
  590. package/dist/opportunities/wizard/opportunity-wizard.d.ts.map +1 -0
  591. package/dist/opportunities/wizard/opportunity-wizard.js +196 -0
  592. package/dist/opportunities/wizard/opportunity-wizard.js.map +1 -0
  593. package/dist/opportunities/wizard/opportunity-wizard.stories.d.ts +12 -0
  594. package/dist/opportunities/wizard/opportunity-wizard.stories.d.ts.map +1 -0
  595. package/dist/opportunities/wizard/opportunity-wizard.stories.js +49 -0
  596. package/dist/opportunities/wizard/opportunity-wizard.stories.js.map +1 -0
  597. package/dist/opportunities/wizard/step-opportunities.d.ts +9 -0
  598. package/dist/opportunities/wizard/step-opportunities.d.ts.map +1 -0
  599. package/dist/opportunities/wizard/step-opportunities.js +80 -0
  600. package/dist/opportunities/wizard/step-opportunities.js.map +1 -0
  601. package/dist/opportunities/wizard/step-pricing-timeline.d.ts +9 -0
  602. package/dist/opportunities/wizard/step-pricing-timeline.d.ts.map +1 -0
  603. package/dist/opportunities/wizard/step-pricing-timeline.js +64 -0
  604. package/dist/opportunities/wizard/step-pricing-timeline.js.map +1 -0
  605. package/dist/opportunities/wizard/step-review.d.ts +9 -0
  606. package/dist/opportunities/wizard/step-review.d.ts.map +1 -0
  607. package/dist/opportunities/wizard/step-review.js +34 -0
  608. package/dist/opportunities/wizard/step-review.js.map +1 -0
  609. package/dist/opportunities/wizard/step-tender-basics.d.ts +16 -0
  610. package/dist/opportunities/wizard/step-tender-basics.d.ts.map +1 -0
  611. package/dist/opportunities/wizard/step-tender-basics.js +39 -0
  612. package/dist/opportunities/wizard/step-tender-basics.js.map +1 -0
  613. package/dist/opportunities/wizard/use-wizard-draft.d.ts +41 -0
  614. package/dist/opportunities/wizard/use-wizard-draft.d.ts.map +1 -0
  615. package/dist/opportunities/wizard/use-wizard-draft.js +214 -0
  616. package/dist/opportunities/wizard/use-wizard-draft.js.map +1 -0
  617. package/dist/opportunities/wizard/wizard-stepper.d.ts +20 -0
  618. package/dist/opportunities/wizard/wizard-stepper.d.ts.map +1 -0
  619. package/dist/opportunities/wizard/wizard-stepper.js +26 -0
  620. package/dist/opportunities/wizard/wizard-stepper.js.map +1 -0
  621. package/dist/opportunities/wizard/wizard-stepper.stories.d.ts +22 -0
  622. package/dist/opportunities/wizard/wizard-stepper.stories.d.ts.map +1 -0
  623. package/dist/opportunities/wizard/wizard-stepper.stories.js +47 -0
  624. package/dist/opportunities/wizard/wizard-stepper.stories.js.map +1 -0
  625. package/dist/opportunities/wizard/wizard.types.d.ts +176 -0
  626. package/dist/opportunities/wizard/wizard.types.d.ts.map +1 -0
  627. package/dist/opportunities/wizard/wizard.types.js +62 -0
  628. package/dist/opportunities/wizard/wizard.types.js.map +1 -0
  629. package/dist/org/invite-member-dialog.stories.d.ts +24 -0
  630. package/dist/org/invite-member-dialog.stories.d.ts.map +1 -0
  631. package/dist/org/invite-member-dialog.stories.js +34 -0
  632. package/dist/org/invite-member-dialog.stories.js.map +1 -0
  633. package/dist/org/team-hero-banner.stories.d.ts +25 -0
  634. package/dist/org/team-hero-banner.stories.d.ts.map +1 -0
  635. package/dist/org/team-hero-banner.stories.js +53 -0
  636. package/dist/org/team-hero-banner.stories.js.map +1 -0
  637. package/dist/org/team-member-menu.stories.d.ts +19 -0
  638. package/dist/org/team-member-menu.stories.d.ts.map +1 -0
  639. package/dist/org/team-member-menu.stories.js +27 -0
  640. package/dist/org/team-member-menu.stories.js.map +1 -0
  641. package/dist/org/team-member-row.stories.d.ts +26 -0
  642. package/dist/org/team-member-row.stories.d.ts.map +1 -0
  643. package/dist/org/team-member-row.stories.js +61 -0
  644. package/dist/org/team-member-row.stories.js.map +1 -0
  645. package/dist/org/team-pending-row.stories.d.ts +23 -0
  646. package/dist/org/team-pending-row.stories.d.ts.map +1 -0
  647. package/dist/org/team-pending-row.stories.js +45 -0
  648. package/dist/org/team-pending-row.stories.js.map +1 -0
  649. package/package.json +13 -4
  650. package/src/offer/offer-document.print.css +72 -0
  651. package/src/theme/tokens.css +78 -0
  652. package/dist/components/sidebar.d.ts +0 -68
  653. package/dist/components/sidebar.d.ts.map +0 -1
  654. package/dist/components/sidebar.js +0 -208
  655. package/dist/components/sidebar.js.map +0 -1
@@ -0,0 +1,156 @@
1
+ import { NegotiationSection } from "./negotiation-section";
2
+ const meta = {
3
+ title: "Offer/NegotiationSection",
4
+ component: NegotiationSection,
5
+ tags: ["autodocs"],
6
+ parameters: { layout: "padded" },
7
+ };
8
+ export default meta;
9
+ const events = [
10
+ {
11
+ id: "e1",
12
+ kind: "propose",
13
+ createdAt: "2026-04-18T10:00:00Z",
14
+ actorOrgId: "org-prod",
15
+ actorRole: "producer",
16
+ round: 1,
17
+ terms: { price: 4.1, currency: "EUR", volume: 20000 },
18
+ },
19
+ {
20
+ id: "e2",
21
+ kind: "message",
22
+ createdAt: "2026-04-18T11:30:00Z",
23
+ actorOrgId: "org-imp",
24
+ actorRole: "importer",
25
+ content: "Can we see the certificates?",
26
+ },
27
+ {
28
+ id: "e3",
29
+ kind: "counter",
30
+ createdAt: "2026-04-19T09:15:00Z",
31
+ actorOrgId: "org-imp",
32
+ actorRole: "importer",
33
+ round: 2,
34
+ terms: { price: 3.95, currency: "EUR", volume: 20000 },
35
+ previousTerms: { price: 4.1, currency: "EUR", volume: 20000 },
36
+ },
37
+ ];
38
+ export const Default = {
39
+ args: {
40
+ events,
41
+ viewerOrgId: "org-prod",
42
+ onOpenComposer: () => { },
43
+ },
44
+ };
45
+ export const Empty = {
46
+ args: {
47
+ events: [],
48
+ viewerOrgId: "org-prod",
49
+ onOpenComposer: () => { },
50
+ },
51
+ };
52
+ export const ManyEvents = {
53
+ args: {
54
+ events: Array.from({ length: 60 }, (_, i) => ({
55
+ id: `e-${i}`,
56
+ kind: i % 2 === 0 ? "message" : "counter",
57
+ createdAt: new Date(Date.UTC(2026, 3, 10, i)).toISOString(),
58
+ actorOrgId: i % 2 === 0 ? "org-imp" : "org-prod",
59
+ actorRole: i % 2 === 0 ? "importer" : "producer",
60
+ round: Math.floor(i / 10) + 1,
61
+ ...(i % 2 === 0
62
+ ? { content: `Message ${i}` }
63
+ : {
64
+ terms: { price: 4 + i * 0.01, currency: "EUR", volume: 20000 },
65
+ }),
66
+ })),
67
+ viewerOrgId: "org-prod",
68
+ onOpenComposer: () => { },
69
+ },
70
+ };
71
+ // Blocker B8 — virtualize at least one of each of the 8 TimelineEventKind
72
+ // values so virtualization regressions surface. The ManyEvents story only
73
+ // covered "message" + "counter"; this story covers all 8 kinds in the
74
+ // virtualization layer (>50 events).
75
+ export const MixedKinds = {
76
+ args: {
77
+ events: Array.from({ length: 64 }, (_, i) => {
78
+ const base = {
79
+ id: `e-${i}`,
80
+ createdAt: new Date(Date.UTC(2026, 3, 10, i)).toISOString(),
81
+ actorOrgId: i % 2 === 0 ? "org-prod" : "org-imp",
82
+ actorRole: (i % 2 === 0 ? "producer" : "importer"),
83
+ round: Math.floor(i / 8) + 1,
84
+ };
85
+ // Cycle through all 8 kinds so the virtualizer renders each one
86
+ const kind = ["propose", "counter", "accept", "decline", "withdraw", "expire", "message", "attachment"][i % 8];
87
+ switch (kind) {
88
+ case "propose":
89
+ case "counter":
90
+ return {
91
+ ...base,
92
+ kind,
93
+ terms: { price: 4 + i * 0.01, currency: "EUR", volume: 20000 },
94
+ previousTerms: kind === "counter" ? { price: 4, currency: "EUR", volume: 20000 } : undefined,
95
+ };
96
+ case "accept":
97
+ case "decline":
98
+ case "withdraw":
99
+ return { ...base, kind, message: `Reason ${i}` };
100
+ case "expire":
101
+ return { ...base, kind, expiredAt: base.createdAt };
102
+ case "message":
103
+ return { ...base, kind, content: `Free-form message #${i}` };
104
+ case "attachment":
105
+ return {
106
+ ...base,
107
+ kind,
108
+ fileName: `file-${i}.pdf`,
109
+ mimeType: "application/pdf",
110
+ sizeBytes: 100_000 + i,
111
+ source: ["chat", "round", "formal"][i % 3],
112
+ };
113
+ }
114
+ }),
115
+ viewerOrgId: "org-prod",
116
+ onOpenComposer: () => { },
117
+ },
118
+ };
119
+ // Blocker B1 — explicit assertion that ArrowUp / ArrowDown move DOM focus
120
+ // (not just tabIndex). Without the useEffect on focusedIndex the previous
121
+ // implementation left document.activeElement stuck on the mounted element.
122
+ // Storybook play functions run under Vitest (via @storybook/addon-vitest).
123
+ export const ArrowKeyFocusMovement = {
124
+ args: {
125
+ events,
126
+ viewerOrgId: "org-prod",
127
+ onOpenComposer: () => { },
128
+ },
129
+ play: async ({ canvasElement, step }) => {
130
+ const { within, userEvent } = await import("storybook/test");
131
+ const { expect } = await import("vitest");
132
+ const canvas = within(canvasElement);
133
+ await step("Focus the first timeline event", async () => {
134
+ const items = canvas.getAllByRole("listitem");
135
+ items[0].focus();
136
+ await expect(document.activeElement).toBe(items[0]);
137
+ });
138
+ await step("ArrowDown moves DOM focus to the next event", async () => {
139
+ await userEvent.keyboard("{ArrowDown}");
140
+ const items = canvas.getAllByRole("listitem");
141
+ // Assert DOM focus actually moved — not just aria-activedescendant
142
+ await expect(document.activeElement).toBe(items[1]);
143
+ });
144
+ await step("ArrowUp returns focus to the first event", async () => {
145
+ await userEvent.keyboard("{ArrowUp}");
146
+ const items = canvas.getAllByRole("listitem");
147
+ await expect(document.activeElement).toBe(items[0]);
148
+ });
149
+ await step("End jumps to the last event", async () => {
150
+ await userEvent.keyboard("{End}");
151
+ const items = canvas.getAllByRole("listitem");
152
+ await expect(document.activeElement).toBe(items[items.length - 1]);
153
+ });
154
+ },
155
+ };
156
+ //# sourceMappingURL=negotiation-section.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"negotiation-section.stories.js","sourceRoot":"","sources":["../../src/offer/negotiation-section.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAG3D,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,0BAA0B;IACjC,SAAS,EAAE,kBAAkB;IAC7B,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE;CACS,CAAC;AAE5C,eAAe,IAAI,CAAC;AAGpB,MAAM,MAAM,GAAwB;I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,MAAM,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;QACtD,CAAC,CAAC,CAAC;QAEH,MAAM,IAAI,CAAC,6CAA6C,EAAE,KAAK,IAAI,EAAE;YACnE,MAAM,SAAS,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC;YACxC,MAAM,KAAK,GAAG,MAAM,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;YAC9C,mEAAmE;YACnE,MAAM,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;QACtD,CAAC,CAAC,CAAC;QAEH,MAAM,IAAI,CAAC,0CAA0C,EAAE,KAAK,IAAI,EAAE;YAChE,MAAM,SAAS,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;YACtC,MAAM,KAAK,GAAG,MAAM,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;YAC9C,MAAM,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;QACtD,CAAC,CAAC,CAAC;QAEH,MAAM,IAAI,CAAC,6BAA6B,EAAE,KAAK,IAAI,EAAE;YACnD,MAAM,SAAS,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;YAClC,MAAM,KAAK,GAAG,MAAM,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;YAC9C,MAAM,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC;QACrE,CAAC,CAAC,CAAC;IACL,CAAC;CACF,CAAC"}
@@ -0,0 +1,7 @@
1
+ export interface NewActivityPillProps {
2
+ count: number;
3
+ onClick: () => void;
4
+ className?: string;
5
+ }
6
+ export declare function NewActivityPill({ count, onClick, className }: NewActivityPillProps): import("react/jsx-runtime").JSX.Element;
7
+ //# sourceMappingURL=new-activity-pill.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"new-activity-pill.d.ts","sourceRoot":"","sources":["../../src/offer/new-activity-pill.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,eAAe,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,oBAAoB,2CAgBlF"}
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { ArrowDown } from "lucide-react";
3
+ import { cn } from "../lib/utils";
4
+ export function NewActivityPill({ count, onClick, className }) {
5
+ const display = count > 99 ? "99+" : count.toString();
6
+ return (_jsxs("button", { type: "button", onClick: onClick, "aria-label": `${count} new events — jump to timeline`, className: cn("inline-flex items-center gap-2 rounded-full border border-primary/30 bg-primary px-4 py-2 text-sm font-medium text-primary-foreground shadow-lg transition-opacity motion-safe:animate-in motion-safe:fade-in motion-reduce:transition-none", className), children: [_jsx(ArrowDown, { "aria-hidden": true, className: "size-4" }), display, " new event", count === 1 ? "" : "s", " \u00B7 jump to timeline"] }));
7
+ }
8
+ //# sourceMappingURL=new-activity-pill.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"new-activity-pill.js","sourceRoot":"","sources":["../../src/offer/new-activity-pill.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,CAAC;AAQlC,MAAM,UAAU,eAAe,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,SAAS,EAAwB;IACjF,MAAM,OAAO,GAAG,KAAK,GAAG,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;IACtD,OAAO,CACL,kBACE,IAAI,EAAC,QAAQ,EACb,OAAO,EAAE,OAAO,gBACJ,GAAG,KAAK,gCAAgC,EACpD,SAAS,EAAE,EAAE,CACX,6OAA6O,EAC7O,SAAS,CACV,aAED,KAAC,SAAS,yBAAa,SAAS,EAAC,QAAQ,GAAG,EAC3C,OAAO,gBAAY,KAAK,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,gCACnC,CACV,CAAC;AACJ,CAAC"}
@@ -0,0 +1,17 @@
1
+ import type { StoryObj } from "@storybook/react-vite";
2
+ import { NewActivityPill } from "./new-activity-pill";
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof NewActivityPill;
6
+ tags: string[];
7
+ parameters: {
8
+ layout: string;
9
+ };
10
+ };
11
+ export default meta;
12
+ type Story = StoryObj<typeof meta>;
13
+ export declare const Count1: Story;
14
+ export declare const Count5: Story;
15
+ export declare const Count99Plus: Story;
16
+ export declare const ReducedMotion: Story;
17
+ //# sourceMappingURL=new-activity-pill.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"new-activity-pill.stories.d.ts","sourceRoot":"","sources":["../../src/offer/new-activity-pill.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,QAAA,MAAM,IAAI;;;;;;;CAK8B,CAAC;AAEzC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,MAAM,EAAE,KAAiD,CAAC;AACvE,eAAO,MAAM,MAAM,EAAE,KAAiD,CAAC;AACvE,eAAO,MAAM,WAAW,EAAE,KAAmD,CAAC;AAC9E,eAAO,MAAM,aAAa,EAAE,KAS3B,CAAC"}
@@ -0,0 +1,22 @@
1
+ import { NewActivityPill } from "./new-activity-pill";
2
+ const meta = {
3
+ title: "Offer/NewActivityPill",
4
+ component: NewActivityPill,
5
+ tags: ["autodocs"],
6
+ parameters: { layout: "centered" },
7
+ };
8
+ export default meta;
9
+ export const Count1 = { args: { count: 1, onClick: () => { } } };
10
+ export const Count5 = { args: { count: 5, onClick: () => { } } };
11
+ export const Count99Plus = { args: { count: 132, onClick: () => { } } };
12
+ export const ReducedMotion = {
13
+ args: { count: 3, onClick: () => { } },
14
+ parameters: {
15
+ docs: {
16
+ description: {
17
+ story: "Respects prefers-reduced-motion — no fade animation.",
18
+ },
19
+ },
20
+ },
21
+ };
22
+ //# sourceMappingURL=new-activity-pill.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"new-activity-pill.stories.js","sourceRoot":"","sources":["../../src/offer/new-activity-pill.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,uBAAuB;IAC9B,SAAS,EAAE,eAAe;IAC1B,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE,EAAE,MAAM,EAAE,UAAU,EAAE;CACI,CAAC;AAEzC,eAAe,IAAI,CAAC;AAGpB,MAAM,CAAC,MAAM,MAAM,GAAU,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC,EAAE,EAAE,CAAC;AACvE,MAAM,CAAC,MAAM,MAAM,GAAU,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC,EAAE,EAAE,CAAC;AACvE,MAAM,CAAC,MAAM,WAAW,GAAU,EAAE,IAAI,EAAE,EAAE,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC,EAAE,EAAE,CAAC;AAC9E,MAAM,CAAC,MAAM,aAAa,GAAU;IAClC,IAAI,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,GAAE,CAAC,EAAE;IACrC,UAAU,EAAE;QACV,IAAI,EAAE;YACJ,WAAW,EAAE;gBACX,KAAK,EAAE,sDAAsD;aAC9D;SACF;KACF;CACF,CAAC"}
@@ -0,0 +1,19 @@
1
+ import type { StoryObj } from "@storybook/react-vite";
2
+ import { OfferDetailHeader } from "./offer-detail-header";
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof OfferDetailHeader;
6
+ tags: string[];
7
+ parameters: {
8
+ layout: string;
9
+ };
10
+ };
11
+ export default meta;
12
+ type Story = StoryObj<typeof meta>;
13
+ export declare const Default: Story;
14
+ export declare const AcceptedOffer: Story;
15
+ export declare const DraftNoSubtitle: Story;
16
+ export declare const WithActions: Story;
17
+ export declare const WithBanner: Story;
18
+ export declare const LongTitleTruncation: Story;
19
+ //# sourceMappingURL=offer-detail-header.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"offer-detail-header.stories.d.ts","sourceRoot":"","sources":["../../src/offer/offer-detail-header.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG1D,QAAA,MAAM,IAAI;;;;;;;CAKgC,CAAC;AAE3C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnC,eAAO,MAAM,OAAO,EAAE,KAQrB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAQ3B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAM7B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAUzB,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,KAWxB,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,KAUjC,CAAC"}
@@ -0,0 +1,59 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { OfferDetailHeader } from "./offer-detail-header";
3
+ import { Button } from "../components/button";
4
+ const meta = {
5
+ title: "Offer/OfferDetailHeader",
6
+ component: OfferDetailHeader,
7
+ tags: ["autodocs"],
8
+ parameters: { layout: "padded" },
9
+ };
10
+ export default meta;
11
+ export const Default = {
12
+ args: {
13
+ title: "Solera Brandy Reserva · 750ml",
14
+ subtitle: "To Systembolaget · Q2 2026 selection",
15
+ status: "in_negotiation",
16
+ updatedAt: new Date(Date.now() - 1000 * 60 * 60 * 3).toISOString(),
17
+ onBack: () => { },
18
+ },
19
+ };
20
+ export const AcceptedOffer = {
21
+ args: {
22
+ ...Default.args,
23
+ title: "Riesling Late Harvest · 375ml",
24
+ subtitle: "To Monopol Norge · Winter allocation",
25
+ status: "accepted",
26
+ updatedAt: new Date(Date.now() - 1000 * 60 * 30).toISOString(),
27
+ },
28
+ };
29
+ export const DraftNoSubtitle = {
30
+ args: {
31
+ title: "Oak-aged Aguardiente · 700ml",
32
+ status: "draft",
33
+ onBack: () => { },
34
+ },
35
+ };
36
+ export const WithActions = {
37
+ args: {
38
+ ...Default.args,
39
+ actions: (_jsxs(_Fragment, { children: [_jsx(Button, { plain: true, children: "Archive" }), _jsx(Button, { color: "emerald", children: "Send update" })] })),
40
+ },
41
+ };
42
+ export const WithBanner = {
43
+ args: {
44
+ ...Default.args,
45
+ status: "expired",
46
+ updatedAt: new Date(Date.now() - 1000 * 60 * 60 * 24 * 5).toISOString(),
47
+ banner: (_jsx("div", { className: "border-b border-amber-500/30 bg-amber-50 px-4 py-2 text-sm text-amber-800 sm:px-6 dark:bg-amber-500/10 dark:text-amber-200", children: "This offer expired 5 days ago. Renew the terms to reopen the conversation." })),
48
+ },
49
+ };
50
+ export const LongTitleTruncation = {
51
+ args: {
52
+ title: "Gran Reserva Solera Brandy Extra Añejo de Jerez 36-month oak aged premium selection 2019",
53
+ subtitle: "To Systembolaget Stockholm head office · Q2 2026 spirits procurement allocation with exclusivity clause",
54
+ status: "responded",
55
+ updatedAt: new Date(Date.now() - 1000 * 60 * 60 * 12).toISOString(),
56
+ onBack: () => { },
57
+ },
58
+ };
59
+ //# sourceMappingURL=offer-detail-header.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"offer-detail-header.stories.js","sourceRoot":"","sources":["../../src/offer/offer-detail-header.stories.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAE9C,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,yBAAyB;IAChC,SAAS,EAAE,iBAAiB;IAC5B,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE;CACQ,CAAC;AAE3C,eAAe,IAAI,CAAC;AAGpB,MAAM,CAAC,MAAM,OAAO,GAAU;IAC5B,IAAI,EAAE;QACJ,KAAK,EAAE,+BAA+B;QACtC,QAAQ,EAAE,sCAAsC;QAChD,MAAM,EAAE,gBAAgB;QACxB,SAAS,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,IAAI,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,WAAW,EAAE;QAClE,MAAM,EAAE,GAAG,EAAE,GAAE,CAAC;KACjB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,aAAa,GAAU;IAClC,IAAI,EAAE;QACJ,GAAG,OAAO,CAAC,IAAI;QACf,KAAK,EAAE,+BAA+B;QACtC,QAAQ,EAAE,sCAAsC;QAChD,MAAM,EAAE,UAAU;QAClB,SAAS,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,IAAI,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,WAAW,EAAE;KAC/D;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,eAAe,GAAU;IACpC,IAAI,EAAE;QACJ,KAAK,EAAE,8BAA8B;QACrC,MAAM,EAAE,OAAO;QACf,MAAM,EAAE,GAAG,EAAE,GAAE,CAAC;KACjB;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAU;IAChC,IAAI,EAAE;QACJ,GAAG,OAAO,CAAC,IAAI;QACf,OAAO,EAAE,CACP,8BACE,KAAC,MAAM,IAAC,KAAK,8BAAiB,EAC9B,KAAC,MAAM,IAAC,KAAK,EAAC,SAAS,4BAAqB,IAC3C,CACJ;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAAU;IAC/B,IAAI,EAAE;QACJ,GAAG,OAAO,CAAC,IAAI;QACf,MAAM,EAAE,SAAS;QACjB,SAAS,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,IAAI,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,WAAW,EAAE;QACvE,MAAM,EAAE,CACN,cAAK,SAAS,EAAC,4HAA4H,2FAErI,CACP;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAU;IACxC,IAAI,EAAE;QACJ,KAAK,EACH,0FAA0F;QAC5F,QAAQ,EACN,yGAAyG;QAC3G,MAAM,EAAE,WAAW;QACnB,SAAS,EAAE,IAAI,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,IAAI,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,WAAW,EAAE;QACnE,MAAM,EAAE,GAAG,EAAE,GAAE,CAAC;KACjB;CACF,CAAC"}
@@ -0,0 +1,17 @@
1
+ import type { StoryObj } from "@storybook/react-vite";
2
+ import { OfferDetailShell } from "./offer-detail-shell";
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof OfferDetailShell;
6
+ tags: string[];
7
+ parameters: {
8
+ layout: string;
9
+ };
10
+ };
11
+ export default meta;
12
+ type Story = StoryObj<typeof meta>;
13
+ export declare const Default: Story;
14
+ export declare const WithChatPanel: Story;
15
+ export declare const ChatWithUnread: Story;
16
+ export declare const HighUnreadCount: Story;
17
+ //# sourceMappingURL=offer-detail-shell.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"offer-detail-shell.stories.d.ts","sourceRoot":"","sources":["../../src/offer/offer-detail-shell.stories.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAwBxD,QAAA,MAAM,IAAI;;;;;;;CAK+B,CAAC;AAE1C,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAiEnC,eAAO,MAAM,OAAO,EAAE,KAKrB,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,KAQ3B,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAQ5B,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAQ7B,CAAC"}
@@ -0,0 +1,69 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useState } from "react";
3
+ import { OfferDetailShell } from "./offer-detail-shell";
4
+ import { OfferDetailHeader } from "./offer-detail-header";
5
+ import { OfferDetailTabs } from "./offer-detail-tabs";
6
+ function ChatPanelStoryRender(args) {
7
+ const [view, setView] = useState("details");
8
+ return (_jsx("div", { className: "min-h-dvh bg-background p-4", children: _jsx(OfferDetailShell, { ...args, mobileView: view, onMobileViewChange: setView }) }));
9
+ }
10
+ function ChatPanelStoryRenderWithChatDefault(args) {
11
+ const [view, setView] = useState("chat");
12
+ return (_jsx("div", { className: "min-h-dvh bg-background p-4", children: _jsx(OfferDetailShell, { ...args, mobileView: view, onMobileViewChange: setView }) }));
13
+ }
14
+ const meta = {
15
+ title: "Offer/OfferDetailShell",
16
+ component: OfferDetailShell,
17
+ tags: ["autodocs"],
18
+ parameters: { layout: "fullscreen" },
19
+ };
20
+ export default meta;
21
+ const sampleDetails = (_jsx(OfferDetailTabs, { activeTab: "overview", onTabChange: () => { }, tabs: [
22
+ {
23
+ id: "overview",
24
+ label: "Overview",
25
+ content: (_jsxs("div", { className: "space-y-4 text-sm text-muted-foreground", children: [_jsx("p", { children: "Systembolaget is seeking a premium Spanish brandy for its Q2 2026 spirits selection. Minimum 36-month ageing; exclusivity preferred." }), _jsx("p", { children: "The proposed solera reserve from Bodegas del Sur meets the aged-profile requirement and is currently priced at EUR 22 / bottle ex-works Jerez." })] })),
26
+ },
27
+ {
28
+ id: "documents",
29
+ label: "Documents",
30
+ badge: 3,
31
+ content: _jsx("div", { className: "text-sm text-muted-foreground", children: "3 attachments." }),
32
+ },
33
+ ] }));
34
+ const sampleHeader = (_jsx(OfferDetailHeader, { title: "Solera Brandy Reserva \u00B7 750ml", subtitle: "To Systembolaget \u00B7 Q2 2026 selection", status: "in_negotiation", updatedAt: new Date(Date.now() - 1000 * 60 * 60 * 3).toISOString(), onBack: () => { } }));
35
+ const sampleChatPanel = (_jsxs("div", { className: "flex h-full flex-col p-4", children: [_jsx("div", { className: "mb-3 text-xs font-semibold uppercase tracking-wide text-muted-foreground", children: "Conversation" }), _jsxs("div", { className: "flex-1 space-y-3 overflow-y-auto text-sm", children: [_jsxs("div", { className: "rounded-lg bg-accent/30 p-3", children: [_jsx("div", { className: "text-xs text-muted-foreground", children: "Emma (Systembolaget) \u00B7 2h ago" }), _jsx("div", { children: "Can we get samples delivered to Stockholm by Mar 20?" })] }), _jsxs("div", { className: "ml-auto max-w-[90%] rounded-lg bg-primary/10 p-3", children: [_jsx("div", { className: "text-xs text-muted-foreground", children: "You \u00B7 1h ago" }), _jsx("div", { children: "Sending 3 bottles via DHL tomorrow, tracking to follow." })] })] }), _jsx("div", { className: "mt-3 rounded-lg border border-border/60 p-2 text-sm text-muted-foreground", children: "Type a message\u2026" })] }));
36
+ export const Default = {
37
+ args: {
38
+ header: sampleHeader,
39
+ children: sampleDetails,
40
+ },
41
+ };
42
+ export const WithChatPanel = {
43
+ render: (args) => _jsx(ChatPanelStoryRender, { ...args }),
44
+ args: {
45
+ header: sampleHeader,
46
+ children: sampleDetails,
47
+ chatPanel: sampleChatPanel,
48
+ unreadCount: 2,
49
+ },
50
+ };
51
+ export const ChatWithUnread = {
52
+ render: (args) => _jsx(ChatPanelStoryRenderWithChatDefault, { ...args }),
53
+ args: {
54
+ header: sampleHeader,
55
+ children: sampleDetails,
56
+ chatPanel: sampleChatPanel,
57
+ unreadCount: 12,
58
+ },
59
+ };
60
+ export const HighUnreadCount = {
61
+ render: (args) => _jsx(ChatPanelStoryRender, { ...args }),
62
+ args: {
63
+ header: sampleHeader,
64
+ children: sampleDetails,
65
+ chatPanel: sampleChatPanel,
66
+ unreadCount: 150,
67
+ },
68
+ };
69
+ //# sourceMappingURL=offer-detail-shell.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"offer-detail-shell.stories.js","sourceRoot":"","sources":["../../src/offer/offer-detail-shell.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAGjC,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAItD,SAAS,oBAAoB,CAAC,IAAe;IAC3C,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,QAAQ,CAAqB,SAAS,CAAC,CAAC;IAChE,OAAO,CACL,cAAK,SAAS,EAAC,6BAA6B,YAC1C,KAAC,gBAAgB,OAAK,IAAI,EAAE,UAAU,EAAE,IAAI,EAAE,kBAAkB,EAAE,OAAO,GAAI,GACzE,CACP,CAAC;AACJ,CAAC;AAED,SAAS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0 +1,17 @@
1
+ import type { StoryObj } from "@storybook/react-vite";
2
+ import { OfferDetailTabs } from "./offer-detail-tabs";
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof OfferDetailTabs;
6
+ tags: string[];
7
+ parameters: {
8
+ layout: string;
9
+ };
10
+ };
11
+ export default meta;
12
+ type Story = StoryObj<typeof meta>;
13
+ export declare const Default: Story;
14
+ export declare const DocumentsActive: Story;
15
+ export declare const NoBadges: Story;
16
+ export declare const ManyTabsHorizontalScroll: Story;
17
+ //# sourceMappingURL=offer-detail-tabs.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"offer-detail-tabs.stories.d.ts","sourceRoot":"","sources":["../../src/offer/offer-detail-tabs.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,eAAe,EAAiB,MAAM,qBAAqB,CAAC;AAErE,QAAA,MAAM,IAAI;;;;;;;CAK8B,CAAC;AAEzC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAwDnC,eAAO,MAAM,OAAO,EAAE,KAOrB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAO7B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAUtB,CAAC;AAEF,eAAO,MAAM,wBAAwB,EAAE,KAetC,CAAC"}
@@ -0,0 +1,66 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useState } from "react";
3
+ import { OfferDetailTabs } from "./offer-detail-tabs";
4
+ const meta = {
5
+ title: "Offer/OfferDetailTabs",
6
+ component: OfferDetailTabs,
7
+ tags: ["autodocs"],
8
+ parameters: { layout: "padded" },
9
+ };
10
+ export default meta;
11
+ const overviewContent = (_jsxs("div", { className: "space-y-3 text-sm text-muted-foreground", children: [_jsx("p", { children: "Solera Brandy Reserva \u2014 36-month aged spirit from Bodegas del Sur (Jerez). Proposed price EUR 22 / 750ml bottle, ex-works." }), _jsx("p", { children: "Responded to Systembolaget tender on Mar 4, 2026." })] }));
12
+ const documentsContent = (_jsxs("ul", { className: "space-y-2 text-sm", children: [_jsx("li", { className: "rounded-lg border border-border/60 p-3", children: "spec-sheet-solera-reserva.pdf" }), _jsx("li", { className: "rounded-lg border border-border/60 p-3", children: "certificate-dop-jerez.pdf" }), _jsx("li", { className: "rounded-lg border border-border/60 p-3", children: "price-list-2026-q2.xlsx" })] }));
13
+ const historyContent = (_jsxs("div", { className: "space-y-3 text-sm text-muted-foreground", children: [_jsxs("div", { className: "rounded-lg border border-border/60 p-3", children: [_jsx("div", { className: "text-xs font-medium text-foreground", children: "Sent" }), _jsx("div", { children: "Mar 4, 2026 \u2014 initial proposal to Systembolaget" })] }), _jsxs("div", { className: "rounded-lg border border-border/60 p-3", children: [_jsx("div", { className: "text-xs font-medium text-foreground", children: "Counter received" }), _jsx("div", { children: "Mar 7, 2026 \u2014 buyer requested EUR 19 unit price" })] }), _jsxs("div", { className: "rounded-lg border border-border/60 p-3", children: [_jsx("div", { className: "text-xs font-medium text-foreground", children: "Counter sent" }), _jsx("div", { children: "Mar 8, 2026 \u2014 offered EUR 20.50 with extended payment terms" })] })] }));
14
+ const defaultTabs = [
15
+ { id: "overview", label: "Overview", content: overviewContent },
16
+ { id: "documents", label: "Documents", content: documentsContent, badge: 3 },
17
+ { id: "history", label: "History", content: historyContent },
18
+ ];
19
+ function StatefulTabs(args) {
20
+ const [active, setActive] = useState(args.initialTab ?? args.tabs[0]?.id ?? "");
21
+ return (_jsx(OfferDetailTabs, { tabs: args.tabs, activeTab: active, onTabChange: setActive }));
22
+ }
23
+ export const Default = {
24
+ args: {
25
+ tabs: defaultTabs,
26
+ activeTab: "overview",
27
+ onTabChange: () => { },
28
+ },
29
+ render: (args) => _jsx(StatefulTabs, { tabs: args.tabs }),
30
+ };
31
+ export const DocumentsActive = {
32
+ args: {
33
+ tabs: defaultTabs,
34
+ activeTab: "documents",
35
+ onTabChange: () => { },
36
+ },
37
+ render: (args) => _jsx(StatefulTabs, { tabs: args.tabs, initialTab: "documents" }),
38
+ };
39
+ export const NoBadges = {
40
+ args: {
41
+ tabs: [
42
+ { id: "overview", label: "Overview", content: overviewContent },
43
+ { id: "history", label: "History", content: historyContent },
44
+ ],
45
+ activeTab: "overview",
46
+ onTabChange: () => { },
47
+ },
48
+ render: (args) => _jsx(StatefulTabs, { tabs: args.tabs }),
49
+ };
50
+ export const ManyTabsHorizontalScroll = {
51
+ args: {
52
+ tabs: [
53
+ { id: "overview", label: "Overview", content: overviewContent },
54
+ { id: "documents", label: "Documents", content: documentsContent, badge: 3 },
55
+ { id: "history", label: "History", content: historyContent },
56
+ { id: "logistics", label: "Logistics", content: _jsx("div", { children: "Shipping details." }) },
57
+ { id: "pricing", label: "Pricing", content: _jsx("div", { children: "Price breakdown." }), badge: 2 },
58
+ { id: "compliance", label: "Compliance", content: _jsx("div", { children: "Certifications." }) },
59
+ { id: "reviews", label: "Reviews", content: _jsx("div", { children: "Buyer feedback." }), badge: 5 },
60
+ ],
61
+ activeTab: "overview",
62
+ onTabChange: () => { },
63
+ },
64
+ render: (args) => _jsx(StatefulTabs, { tabs: args.tabs }),
65
+ };
66
+ //# sourceMappingURL=offer-detail-tabs.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"offer-detail-tabs.stories.js","sourceRoot":"","sources":["../../src/offer/offer-detail-tabs.stories.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAEjC,OAAO,EAAE,eAAe,EAAiB,MAAM,qBAAqB,CAAC;AAErE,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,uBAAuB;IAC9B,SAAS,EAAE,eAAe;IAC1B,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE;CACM,CAAC;AAEzC,eAAe,IAAI,CAAC;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EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,gBAAgB,EAAE,KAAK,EAAE,CAAC,EAAE;YAC5E,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,cAAc,EAAE;YAC5D,EAAE,EAAE,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,8CAA4B,EAAE;YAC9E,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,6CAA2B,EAAE,KAAK,EAAE,CAAC,EAAE;YACnF,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,4CAA0B,EAAE;YAC9E,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,4CAA0B,EAAE,KAAK,EAAE,CAAC,EAAE;SACnF;QACD,SAAS,EAAE,UAAU;QACrB,WAAW,EAAE,GAAG,EAAE,GAAE,CAAC;KACtB;IACD,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,CAAC,KAAC,YAAY,IAAC,IAAI,EAAE,IAAI,CAAC,IAAI,GAAI;CACpD,CAAC"}
@@ -0,0 +1,33 @@
1
+ import { type FactsCardStatus } from "./facts-card";
2
+ import { type OfferProductBeverage, type OfferProductVariant } from "./offer-product-card";
3
+ import { type OpportunityCardData } from "./opportunity-card";
4
+ import type { MatchEvaluation, OfferAttachmentItem, OfferFxInfo, OfferPartyInfo, OfferPresenceEntry, OfferSectionId, OfferTerms, Perspective, SectionOverride, TimelineEventData } from "./types";
5
+ export type OfferDocumentAction = "counter" | "accept" | "decline" | "withdraw" | "reopen" | "renew";
6
+ export interface OfferDocumentProps {
7
+ offerId: string;
8
+ status: FactsCardStatus;
9
+ round: number;
10
+ perspective: Perspective;
11
+ viewerOrgId: string;
12
+ producer: OfferPartyInfo;
13
+ importer: OfferPartyInfo;
14
+ opportunity: OpportunityCardData;
15
+ beverage: OfferProductBeverage;
16
+ variant: OfferProductVariant;
17
+ terms: OfferTerms;
18
+ previousTerms?: OfferTerms;
19
+ evaluation: MatchEvaluation;
20
+ attachments: OfferAttachmentItem[];
21
+ events: TimelineEventData[];
22
+ presence: OfferPresenceEntry[];
23
+ fx?: OfferFxInfo;
24
+ tenderCurrency?: string;
25
+ /** Per-section overrides (hide / reorder / override default-open). */
26
+ sections?: Partial<Record<OfferSectionId, SectionOverride>>;
27
+ onAction: (action: OfferDocumentAction) => void;
28
+ onOpenComposer?: () => void;
29
+ onOpenAttachment?: (a: OfferAttachmentItem) => void;
30
+ className?: string;
31
+ }
32
+ export declare function OfferDocument({ offerId, status, round, perspective, viewerOrgId, producer, importer, opportunity, beverage, variant, terms, previousTerms, evaluation, attachments, events, presence, fx, tenderCurrency, sections, onAction, onOpenComposer, onOpenAttachment, className, }: OfferDocumentProps): import("react/jsx-runtime").JSX.Element;
33
+ //# sourceMappingURL=offer-document.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"offer-document.d.ts","sourceRoot":"","sources":["../../src/offer/offer-document.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAa,KAAK,eAAe,EAAE,MAAM,cAAc,CAAC;AAI/D,OAAO,EAAoB,KAAK,oBAAoB,EAAE,KAAK,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAC7G,OAAO,EAAmB,KAAK,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAG/E,OAAO,KAAK,EACV,eAAe,EACf,mBAAmB,EACnB,WAAW,EACX,cAAc,EACd,kBAAkB,EAClB,cAAc,EACd,UAAU,EACV,WAAW,EACX,eAAe,EACf,iBAAiB,EAElB,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,mBAAmB,GAC3B,SAAS,GACT,QAAQ,GACR,SAAS,GACT,UAAU,GACV,QAAQ,GACR,OAAO,CAAC;AAEZ,MAAM,WAAW,kBAAkB;IACjC,OAAO,EAAE,MAAM,CA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