@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,74 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { describe, it, expect, vi, beforeEach, afterEach } from "vitest";
3
+ import { render, screen } from "@testing-library/react";
4
+ import userEvent from "@testing-library/user-event";
5
+ import { OpportunityCardActionsMenu } from "../opportunity-card-actions-menu";
6
+ describe("OpportunityCardActionsMenu", () => {
7
+ // Radix DropdownMenu uses pointer-capture + scrollIntoView + RAF — mock them for jsdom.
8
+ beforeEach(() => {
9
+ Element.prototype.hasPointerCapture ??= () => false;
10
+ Element.prototype.setPointerCapture ??= () => { };
11
+ Element.prototype.releasePointerCapture ??= () => { };
12
+ Element.prototype.scrollIntoView ??= () => { };
13
+ vi.stubGlobal("requestAnimationFrame", (cb) => { cb(0); return 0; });
14
+ vi.stubGlobal("cancelAnimationFrame", () => { });
15
+ });
16
+ afterEach(() => { vi.unstubAllGlobals(); });
17
+ it("renders context-sensitive items for status=open (Edit, Duplicate, Close, Share link)", async () => {
18
+ const user = userEvent.setup();
19
+ render(_jsx(OpportunityCardActionsMenu, { status: "open", onSelect: () => { } }));
20
+ await user.click(screen.getByRole("button", { name: /more actions/i }));
21
+ expect(screen.getByRole("menuitem", { name: /edit/i })).toBeInTheDocument();
22
+ expect(screen.getByRole("menuitem", { name: /duplicate/i })).toBeInTheDocument();
23
+ expect(screen.getByRole("menuitem", { name: /close/i })).toBeInTheDocument();
24
+ expect(screen.getByRole("menuitem", { name: /share link/i })).toBeInTheDocument();
25
+ // Delete only on draft
26
+ expect(screen.queryByRole("menuitem", { name: /^delete$/i })).not.toBeInTheDocument();
27
+ });
28
+ it("renders Edit + Duplicate + Delete for status=draft, omits Close/Share-link", async () => {
29
+ const user = userEvent.setup();
30
+ render(_jsx(OpportunityCardActionsMenu, { status: "draft", onSelect: () => { } }));
31
+ await user.click(screen.getByRole("button", { name: /more actions/i }));
32
+ expect(screen.getByRole("menuitem", { name: /^edit$/i })).toBeInTheDocument();
33
+ expect(screen.getByRole("menuitem", { name: /^duplicate$/i })).toBeInTheDocument();
34
+ expect(screen.getByRole("menuitem", { name: /^delete$/i })).toBeInTheDocument();
35
+ expect(screen.queryByRole("menuitem", { name: /close/i })).not.toBeInTheDocument();
36
+ expect(screen.queryByRole("menuitem", { name: /share link/i })).not.toBeInTheDocument();
37
+ });
38
+ it("renders Edit + Duplicate + Share-link for status=closed (no Close, no Delete)", async () => {
39
+ const user = userEvent.setup();
40
+ render(_jsx(OpportunityCardActionsMenu, { status: "closed", onSelect: () => { } }));
41
+ await user.click(screen.getByRole("button", { name: /more actions/i }));
42
+ expect(screen.getByRole("menuitem", { name: /edit/i })).toBeInTheDocument();
43
+ expect(screen.getByRole("menuitem", { name: /duplicate/i })).toBeInTheDocument();
44
+ expect(screen.getByRole("menuitem", { name: /share link/i })).toBeInTheDocument();
45
+ expect(screen.queryByRole("menuitem", { name: /^close$/i })).not.toBeInTheDocument();
46
+ expect(screen.queryByRole("menuitem", { name: /^delete$/i })).not.toBeInTheDocument();
47
+ });
48
+ it("renders Edit + Duplicate + Share-link for status=expired (same as closed)", async () => {
49
+ const user = userEvent.setup();
50
+ render(_jsx(OpportunityCardActionsMenu, { status: "expired", onSelect: () => { } }));
51
+ await user.click(screen.getByRole("button", { name: /more actions/i }));
52
+ expect(screen.getByRole("menuitem", { name: /edit/i })).toBeInTheDocument();
53
+ expect(screen.getByRole("menuitem", { name: /duplicate/i })).toBeInTheDocument();
54
+ expect(screen.getByRole("menuitem", { name: /share link/i })).toBeInTheDocument();
55
+ expect(screen.queryByRole("menuitem", { name: /^close$/i })).not.toBeInTheDocument();
56
+ });
57
+ it("fires onSelect with action id when an item is picked", async () => {
58
+ const user = userEvent.setup();
59
+ const onSelect = vi.fn();
60
+ render(_jsx(OpportunityCardActionsMenu, { status: "open", onSelect: onSelect }));
61
+ await user.click(screen.getByRole("button", { name: /more actions/i }));
62
+ await user.click(screen.getByRole("menuitem", { name: /edit/i }));
63
+ expect(onSelect).toHaveBeenCalledWith("edit");
64
+ });
65
+ it("Escape closes the menu", async () => {
66
+ const user = userEvent.setup();
67
+ render(_jsx(OpportunityCardActionsMenu, { status: "open", onSelect: () => { } }));
68
+ await user.click(screen.getByRole("button", { name: /more actions/i }));
69
+ expect(screen.getByRole("menu")).toBeInTheDocument();
70
+ await user.keyboard("{Escape}");
71
+ expect(screen.queryByRole("menu")).not.toBeInTheDocument();
72
+ });
73
+ });
74
+ //# sourceMappingURL=opportunity-card-actions-menu.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"opportunity-card-actions-menu.test.js","sourceRoot":"","sources":["../../../src/opportunities/__tests__/opportunity-card-actions-menu.test.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACzE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,SAAS,MAAM,6BAA6B,CAAC;AACpD,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAE9E,QAAQ,CAAC,4BAA4B,EAAE,GAAG,EAAE;IAC1C,wFAAwF;IACxF,UAAU,CAAC,GAAG,EAAE;QACd,OAAO,CAAC,SAAS,CAAC,iBAAiB,KAAK,GAAG,EAAE,CAAC,KAAK,CAAC;QACpD,OAAO,CAAC,SAAS,CAAC,iBAAiB,KAAK,GAAG,EAAE,GAAE,CAAC,CAAC;QACjD,OAAO,CAAC,SAAS,CAAC,qBAAqB,KAAK,GAAG,EAAE,GAAE,CAAC,CAAC;QACrD,OAAO,CAAC,SAAS,CAAC,cAAc,KAAK,GAAG,EAAE,GAAE,CAAC,CAAC;QAC9C,EAAE,CAAC,UAAU,CAAC,uBAAuB,EAAE,CAAC,EAAwB,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC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EAAE,GAAE,CAAC,GAAI,CAAC,CAAC;QACzE,MAAM,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,eAAe,EAAE,CAAC,CAAC,CAAC;QACxE,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC;QACrD,MAAM,IAAI,CAAC,QAAQ,CAAC,UAAU,CAAC,CAAC;QAChC,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,CAAC,iBAAiB,EAAE,CAAC;IAC7D,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=opportunity-celebration.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"opportunity-celebration.test.d.ts","sourceRoot":"","sources":["../../../src/opportunities/__tests__/opportunity-celebration.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,46 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { describe, it, expect, vi, beforeEach, afterEach } from "vitest";
3
+ import { render } from "@testing-library/react";
4
+ import { OpportunityCelebration } from "../opportunity-celebration";
5
+ describe("OpportunityCelebration", () => {
6
+ beforeEach(() => { vi.useFakeTimers(); });
7
+ afterEach(() => { vi.useRealTimers(); });
8
+ it("renders nothing when play=null", () => {
9
+ const { container } = render(_jsx(OpportunityCelebration, { play: null }));
10
+ expect(container.querySelector("[data-opportunity-celebration-sweep]")).toBeNull();
11
+ expect(container.querySelector("[data-opportunity-check-badge]")).toBeNull();
12
+ });
13
+ it("emits sweep + check-badge on success", () => {
14
+ const { container } = render(_jsx(OpportunityCelebration, { play: "success" }));
15
+ expect(container.querySelector("[data-opportunity-celebration-sweep]")).toBeTruthy();
16
+ expect(container.querySelector("[data-opportunity-check-badge]")).toBeTruthy();
17
+ });
18
+ it("uses capacity-exceeded variant (data-variant attribute)", () => {
19
+ const { container } = render(_jsx(OpportunityCelebration, { play: "capacity-exceeded" }));
20
+ const sweep = container.querySelector("[data-opportunity-celebration-sweep]");
21
+ expect(sweep?.getAttribute("data-variant")).toBe("capacity-exceeded");
22
+ });
23
+ it("uses error variant (data-variant attribute)", () => {
24
+ const { container } = render(_jsx(OpportunityCelebration, { play: "error" }));
25
+ const sweep = container.querySelector("[data-opportunity-celebration-sweep]");
26
+ expect(sweep?.getAttribute("data-variant")).toBe("error");
27
+ });
28
+ it("renders nothing when play changes back to null (controlled)", () => {
29
+ const { container, rerender } = render(_jsx(OpportunityCelebration, { play: "success" }));
30
+ expect(container.querySelector("[data-opportunity-celebration-sweep]")).toBeTruthy();
31
+ rerender(_jsx(OpportunityCelebration, { play: null }));
32
+ expect(container.querySelector("[data-opportunity-celebration-sweep]")).toBeNull();
33
+ });
34
+ it("rendering play=success twice in a row does not stack multiple sweep elements", () => {
35
+ const { container, rerender } = render(_jsx(OpportunityCelebration, { play: "success" }));
36
+ rerender(_jsx(OpportunityCelebration, { play: "success" }));
37
+ const sweeps = container.querySelectorAll("[data-opportunity-celebration-sweep]");
38
+ expect(sweeps.length).toBe(1);
39
+ });
40
+ it("the outer wrap is aria-hidden=true (animation is decorative)", () => {
41
+ const { container } = render(_jsx(OpportunityCelebration, { play: "success" }));
42
+ const wrap = container.querySelector("[data-opportunity-celebration-wrap]");
43
+ expect(wrap?.getAttribute("aria-hidden")).toBe("true");
44
+ });
45
+ });
46
+ //# sourceMappingURL=opportunity-celebration.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"opportunity-celebration.test.js","sourceRoot":"","sources":["../../../src/opportunities/__tests__/opportunity-celebration.test.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AACzE,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,C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IAAI,CAAC,CAAC,CAAC,CAAC;IAChC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,8DAA8D,EAAE,GAAG,EAAE;QACtE,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC,KAAC,sBAAsB,IAAC,IAAI,EAAC,SAAS,GAAG,CAAC,CAAC;QACxE,MAAM,IAAI,GAAG,SAAS,CAAC,aAAa,CAAC,qCAAqC,CAAC,CAAC;QAC5E,MAAM,CAAC,IAAI,EAAE,YAAY,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IACzD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=opportunity-channel-badge.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"opportunity-channel-badge.test.d.ts","sourceRoot":"","sources":["../../../src/opportunities/__tests__/opportunity-channel-badge.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,23 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { describe, it, expect } from "vitest";
3
+ import { render, screen } from "@testing-library/react";
4
+ import { ChannelBadge } from "../opportunity-channel-badge";
5
+ describe("ChannelBadge", () => {
6
+ it.each([
7
+ ["monopoly", "Monopoly"],
8
+ ["importer", "Importer"],
9
+ ["open", "Open Market"],
10
+ ])("renders %s variant with label %s", (channel, expected) => {
11
+ render(_jsx(ChannelBadge, { channel: channel }));
12
+ expect(screen.getByText(expected)).toBeInTheDocument();
13
+ });
14
+ it("attaches data-channel attribute", () => {
15
+ const { container } = render(_jsx(ChannelBadge, { channel: "monopoly" }));
16
+ expect(container.querySelector('[data-channel="monopoly"]')).toBeTruthy();
17
+ });
18
+ it("marks icons as aria-hidden", () => {
19
+ const { container } = render(_jsx(ChannelBadge, { channel: "importer" }));
20
+ expect(container.querySelector("svg[aria-hidden='true']")).toBeTruthy();
21
+ });
22
+ });
23
+ //# sourceMappingURL=opportunity-channel-badge.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"opportunity-channel-badge.test.js","sourceRoot":"","sources":["../../../src/opportunities/__tests__/opportunity-channel-badge.test.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,QAAQ,CAAC,cAAc,EAAE,GAAG,EAAE;IAC5B,EAAE,CAAC,IAAI,CAAC;QACN,CAAC,UAAU,EAAE,UAAU,CAAC;QACxB,CAAC,UAAU,EAAE,UAAU,CAAC;QACxB,CAAC,MAAM,EAAE,aAAa,CAAC;KACf,CAAC,CAAC,kCAAkC,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,EAAE;QACpE,MAAM,CAAC,KAAC,YAAY,IAAC,OAAO,EAAE,OAAO,GAAI,CAAC,CAAC;QAC3C,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC;IACzD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,iCAAiC,EAAE,GAAG,EAAE;QACzC,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC,KAAC,YAAY,IAAC,OAAO,EAAC,UAAU,GAAG,CAAC,CAAC;QAClE,MAAM,CAAC,SAAS,CAAC,aAAa,CAAC,2BAA2B,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC;IAC5E,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,4BAA4B,EAAE,GAAG,EAAE;QACpC,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC,KAAC,YAAY,IAAC,OAAO,EAAC,UAAU,GAAG,CAAC,CAAC;QAClE,MAAM,CAAC,SAAS,CAAC,aAAa,CAAC,yBAAyB,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC;IAC1E,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=opportunity-detail-panel.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"opportunity-detail-panel.test.d.ts","sourceRoot":"","sources":["../../../src/opportunities/__tests__/opportunity-detail-panel.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,50 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { describe, it, expect } from "vitest";
3
+ import { render, screen } from "@testing-library/react";
4
+ import userEvent from "@testing-library/user-event";
5
+ import { OpportunityDetailPanel } from "../opportunity-detail-panel";
6
+ const tabs = [
7
+ { id: "overview", label: "Overview", content: _jsx("div", { children: "overview body" }) },
8
+ { id: "timeline", label: "Timeline", content: _jsx("div", { children: "timeline body" }) },
9
+ { id: "compliance", label: "Compliance", content: _jsx("div", { children: "compliance body" }) },
10
+ { id: "buyer", label: "Buyer", content: _jsx("div", { children: "buyer body" }) },
11
+ ];
12
+ describe("OpportunityDetailPanel", () => {
13
+ it("renders all four tab triggers by default", () => {
14
+ render(_jsx(OpportunityDetailPanel, { tabs: tabs }));
15
+ for (const t of tabs)
16
+ expect(screen.getByRole("tab", { name: t.label })).toBeInTheDocument();
17
+ });
18
+ it("first tab's content is visible by default", () => {
19
+ render(_jsx(OpportunityDetailPanel, { tabs: tabs }));
20
+ expect(screen.getByText("overview body")).toBeVisible();
21
+ });
22
+ it("clicking a different tab reveals its content", async () => {
23
+ const user = userEvent.setup();
24
+ render(_jsx(OpportunityDetailPanel, { tabs: tabs }));
25
+ await user.click(screen.getByRole("tab", { name: "Timeline" }));
26
+ expect(screen.getByText("timeline body")).toBeVisible();
27
+ });
28
+ it("hidden: true tabs are suppressed from the strip", () => {
29
+ const withHidden = [
30
+ ...tabs.slice(0, 3),
31
+ { ...tabs[3], hidden: true },
32
+ ];
33
+ render(_jsx(OpportunityDetailPanel, { tabs: withHidden }));
34
+ expect(screen.queryByRole("tab", { name: "Buyer" })).not.toBeInTheDocument();
35
+ });
36
+ it("defaultTabId prop activates the specified tab initially if visible", () => {
37
+ render(_jsx(OpportunityDetailPanel, { tabs: tabs, defaultTabId: "compliance" }));
38
+ expect(screen.getByText("compliance body")).toBeVisible();
39
+ });
40
+ it("arrow keys do NOT auto-switch tabs in manual activation mode — Enter required", async () => {
41
+ const user = userEvent.setup();
42
+ render(_jsx(OpportunityDetailPanel, { tabs: tabs }));
43
+ const overview = screen.getByRole("tab", { name: "Overview" });
44
+ await user.click(overview);
45
+ await user.keyboard("{ArrowRight}");
46
+ // Focus moved to Timeline trigger, but content should still be Overview
47
+ expect(screen.getByText("overview body")).toBeVisible();
48
+ });
49
+ });
50
+ //# sourceMappingURL=opportunity-detail-panel.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"opportunity-detail-panel.test.js","sourceRoot":"","sources":["../../../src/opportunities/__tests__/opportunity-detail-panel.test.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,SAAS,MAAM,6BAA6B,CAAC;AACpD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAGrE,MAAM,IAAI,GAAqB;IAC7B,EAAE,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,0CAAwB,EAAE;IACxE,EAAE,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,OAAO,EAAE,0CAAwB,EAAE;IACxE,EAAE,EAAE,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE,OAAO,EAAE,4CAA0B,EAAE;IAC9E,EAAE,EAAE,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,uCAAqB,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CAAC;QACF,MAAM,CAAC,KAAC,sBAAsB,IAAC,IAAI,EAAE,UAAU,GAAI,CAAC,CAAC;QACrD,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,iBAAiB,EAAE,CAAC;IAC/E,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,oEAAoE,EAAE,GAAG,EAAE;QAC5E,MAAM,CAAC,KAAC,sBAAsB,IAAC,IAAI,EAAE,IAAI,EAAE,YAAY,EAAC,YAAY,GAAG,CAAC,CAAC;QACzE,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,iBAAiB,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IAC5D,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,+EAA+E,EAAE,KAAK,IAAI,EAAE;QAC7F,MAAM,IAAI,GAAG,SAAS,CAAC,KAAK,EAAE,CAAC;QAC/B,MAAM,CAAC,KAAC,sBAAsB,IAAC,IAAI,EAAE,IAAI,GAAI,CAAC,CAAC;QAC/C,MAAM,QAAQ,GAAG,MAAM,CAAC,SAAS,CAAC,KAAK,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE,CAAC,CAAC;QAC/D,MAAM,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAC3B,MAAM,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC;QACpC,wEAAwE;QACxE,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,eAAe,CAAC,CAAC,CAAC,WAAW,EAAE,CAAC;IAC1D,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=opportunity-empty-state.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"opportunity-empty-state.test.d.ts","sourceRoot":"","sources":["../../../src/opportunities/__tests__/opportunity-empty-state.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,19 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { describe, it, expect } from "vitest";
3
+ import { render, screen } from "@testing-library/react";
4
+ import { Inbox } from "lucide-react";
5
+ import { OpportunityEmptyState } from "../opportunity-empty-state";
6
+ describe("OpportunityEmptyState", () => {
7
+ it("renders title + body + action slot", () => {
8
+ render(_jsx(OpportunityEmptyState, { icon: _jsx(Inbox, { "data-testid": "icon" }), title: "No opportunities match", body: "Try clearing filters.", action: _jsx("button", { children: "Clear filters" }) }));
9
+ expect(screen.getByTestId("icon")).toBeInTheDocument();
10
+ expect(screen.getByRole("heading", { name: /no opportunities match/i })).toBeInTheDocument();
11
+ expect(screen.getByText(/try clearing filters/i)).toBeInTheDocument();
12
+ expect(screen.getByRole("button", { name: /clear filters/i })).toBeInTheDocument();
13
+ });
14
+ it("renders without action when omitted", () => {
15
+ render(_jsx(OpportunityEmptyState, { title: "Nothing here" }));
16
+ expect(screen.queryByRole("button")).not.toBeInTheDocument();
17
+ });
18
+ });
19
+ //# sourceMappingURL=opportunity-empty-state.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"opportunity-empty-state.test.js","sourceRoot":"","sources":["../../../src/opportunities/__tests__/opportunity-empty-state.test.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,KAAK,EAAE,MAAM,cAAc,CAAC;AACrC,OAAO,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEnE,QAAQ,CAAC,uBAAuB,EAAE,GAAG,EAAE;IACrC,EAAE,CAAC,oCAAoC,EAAE,GAAG,EAAE;QAC5C,MAAM,CACJ,KAAC,qBAAqB,IACpB,IAAI,EAAE,KAAC,KAAK,mBAAa,MAAM,GAAG,EAClC,KAAK,EAAC,wBAAwB,EAC9B,IAAI,EAAC,uBAAuB,EAC5B,MAAM,EAAE,6CAA8B,GACtC,CACH,CAAC;QACF,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC;QACvD,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,SAAS,EAAE,EAAE,IAAI,EAAE,yBAAyB,EAAE,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC;QAC7F,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,uBAAuB,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC;QACtE,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC;IACrF,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,qCAAqC,EAAE,GAAG,EAAE;QAC7C,MAAM,CAAC,KAAC,qBAAqB,IAAC,KAAK,EAAC,cAAc,GAAG,CAAC,CAAC;QACvD,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,iBAAiB,EAAE,CAAC;IAC/D,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=opportunity-filter-bar-drawer.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"opportunity-filter-bar-drawer.test.d.ts","sourceRoot":"","sources":["../../../src/opportunities/__tests__/opportunity-filter-bar-drawer.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,77 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { describe, it, expect, vi, beforeEach, afterEach } from "vitest";
3
+ import { render, screen, fireEvent } from "@testing-library/react";
4
+ import userEvent from "@testing-library/user-event";
5
+ import { OpportunityFilterBarDrawer } from "../opportunity-filter-bar-drawer";
6
+ const filters = [
7
+ { kind: "select", key: "category", label: "Category", options: [
8
+ { value: "wine", label: "Wine" },
9
+ { value: "spirit", label: "Spirit" },
10
+ ] },
11
+ { kind: "dateRange", key: "deadline", label: "Deadline window" },
12
+ { kind: "numberRange", key: "volume", label: "Volume", min: 0, max: 100000, step: 500 },
13
+ ];
14
+ describe("OpportunityFilterBarDrawer", () => {
15
+ // Radix Dialog uses pointer-capture + scrollIntoView; mock them + RAF for jsdom.
16
+ beforeEach(() => {
17
+ Element.prototype.hasPointerCapture ??= () => false;
18
+ Element.prototype.setPointerCapture ??= () => { };
19
+ Element.prototype.releasePointerCapture ??= () => { };
20
+ Element.prototype.scrollIntoView ??= () => { };
21
+ vi.stubGlobal("requestAnimationFrame", (cb) => { cb(0); return 0; });
22
+ vi.stubGlobal("cancelAnimationFrame", () => { });
23
+ });
24
+ afterEach(() => { vi.unstubAllGlobals(); });
25
+ it("renders nothing when closed", () => {
26
+ render(_jsx(OpportunityFilterBarDrawer, { open: false, onOpenChange: () => { }, filters: filters, values: {}, onApply: () => { } }));
27
+ expect(screen.queryByRole("dialog")).not.toBeInTheDocument();
28
+ });
29
+ it("renders a dialog with each advanced filter config", () => {
30
+ render(_jsx(OpportunityFilterBarDrawer, { open: true, onOpenChange: () => { }, filters: filters, values: {}, onApply: () => { } }));
31
+ expect(screen.getByRole("dialog", { name: /advanced filters/i })).toBeInTheDocument();
32
+ // Select kind
33
+ expect(screen.getByLabelText(/^category$/i)).toBeInTheDocument();
34
+ // Date range has two date inputs
35
+ expect(screen.getByLabelText(/deadline window from/i)).toBeInTheDocument();
36
+ expect(screen.getByLabelText(/deadline window to/i)).toBeInTheDocument();
37
+ // Number range has two number inputs
38
+ expect(screen.getByLabelText(/volume minimum/i)).toBeInTheDocument();
39
+ expect(screen.getByLabelText(/volume maximum/i)).toBeInTheDocument();
40
+ });
41
+ it("Apply fires onApply with the current local state", async () => {
42
+ const user = userEvent.setup();
43
+ const onApply = vi.fn();
44
+ render(_jsx(OpportunityFilterBarDrawer, { open: true, onOpenChange: () => { }, filters: filters, values: { category: "wine" }, onApply: onApply }));
45
+ await user.click(screen.getByRole("button", { name: /apply filters/i }));
46
+ expect(onApply).toHaveBeenCalledWith(expect.objectContaining({ category: "wine" }));
47
+ });
48
+ it("Cancel closes without firing onApply", async () => {
49
+ const user = userEvent.setup();
50
+ const onApply = vi.fn();
51
+ const onOpenChange = vi.fn();
52
+ render(_jsx(OpportunityFilterBarDrawer, { open: true, onOpenChange: onOpenChange, filters: filters, values: {}, onApply: onApply }));
53
+ await user.click(screen.getByRole("button", { name: /^cancel$/i }));
54
+ expect(onApply).not.toHaveBeenCalled();
55
+ expect(onOpenChange).toHaveBeenCalledWith(false);
56
+ });
57
+ it("numberRange input updates local state and Apply includes the new value", async () => {
58
+ const user = userEvent.setup();
59
+ const onApply = vi.fn();
60
+ render(_jsx(OpportunityFilterBarDrawer, { open: true, onOpenChange: () => { }, filters: filters, values: {}, onApply: onApply }));
61
+ const minInput = screen.getByLabelText(/volume minimum/i);
62
+ // fireEvent.change is synchronous and bypasses userEvent's asyncWrapper issues under fake-timers.
63
+ fireEvent.change(minInput, { target: { value: "5000" } });
64
+ await user.click(screen.getByRole("button", { name: /apply filters/i }));
65
+ expect(onApply).toHaveBeenCalledWith(expect.objectContaining({ volume: { min: 5000 } }));
66
+ });
67
+ it("dateRange from-input stores ISO date string under {from}", async () => {
68
+ const user = userEvent.setup();
69
+ const onApply = vi.fn();
70
+ render(_jsx(OpportunityFilterBarDrawer, { open: true, onOpenChange: () => { }, filters: filters, values: {}, onApply: onApply }));
71
+ const fromInput = screen.getByLabelText(/deadline window from/i);
72
+ fireEvent.change(fromInput, { target: { value: "2026-05-01" } });
73
+ await user.click(screen.getByRole("button", { name: /apply filters/i }));
74
+ expect(onApply).toHaveBeenCalledWith(expect.objectContaining({ deadline: { from: "2026-05-01" } }));
75
+ });
76
+ });
77
+ //# sourceMappingURL=opportunity-filter-bar-drawer.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":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,IAAI,EAAE,EAAE,CAAC,CAAC,CAAC;IAC3F,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,0DAA0D,EAAE,KAAK,IAAI,EAAE;QACxE,MAAM,IAAI,GAAG,SAAS,CAAC,KAAK,EAAE,CAAC;QAC/B,MAAM,OAAO,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC;QACxB,MAAM,CACJ,KAAC,0BAA0B,IACzB,IAAI,QACJ,YAAY,EAAE,GAAG,EAAE,GAAE,CAAC,EACtB,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,EAAE,EACV,OAAO,EAAE,OAAO,GAChB,CACH,CAAC;QACF,MAAM,SAAS,GAAG,MAAM,CAAC,cAAc,CAAC,uBAAuB,CAAqB,CAAC;QACrF,SAAS,CAAC,MAAM,CAAC,SAAS,EAAE,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE,CAAC,CAAC;QACjE,MAAM,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC;QACzE,MAAM,CAAC,OAAO,CAAC,CAAC,oBAAoB,CAAC,MAAM,CAAC,gBAAgB,CAAC,EAAE,QAAQ,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE,EAAE,CAAC,CAAC,CAAC;IACtG,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=opportunity-filter-bar.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"opportunity-filter-bar.test.d.ts","sourceRoot":"","sources":["../../../src/opportunities/__tests__/opportunity-filter-bar.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,107 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { describe, it, expect, vi, beforeEach, afterEach } from "vitest";
3
+ import { render, screen, fireEvent } from "@testing-library/react";
4
+ import userEvent from "@testing-library/user-event";
5
+ import { OpportunityFilterBar } from "../opportunity-filter-bar";
6
+ const statusChip = {
7
+ key: "status",
8
+ label: "Status",
9
+ options: [
10
+ { value: "all", label: "All", count: 10 },
11
+ { value: "open", label: "Open", count: 6 },
12
+ { value: "closed", label: "Closed", count: 3 },
13
+ { value: "expired", label: "Expired", count: 1 },
14
+ ],
15
+ };
16
+ const sortOptions = [
17
+ { key: "newest", label: "Newest" },
18
+ { key: "deadline", label: "Deadline (soonest)" },
19
+ ];
20
+ describe("OpportunityFilterBar", () => {
21
+ beforeEach(() => {
22
+ // Radix UI uses pointer-capture and scroll APIs not implemented by jsdom — mock them.
23
+ if (!window.HTMLElement.prototype.hasPointerCapture) {
24
+ window.HTMLElement.prototype.hasPointerCapture = () => false;
25
+ }
26
+ if (!window.HTMLElement.prototype.setPointerCapture) {
27
+ window.HTMLElement.prototype.setPointerCapture = () => { };
28
+ }
29
+ if (!window.HTMLElement.prototype.releasePointerCapture) {
30
+ window.HTMLElement.prototype.releasePointerCapture = () => { };
31
+ }
32
+ if (!window.HTMLElement.prototype.scrollIntoView) {
33
+ window.HTMLElement.prototype.scrollIntoView = () => { };
34
+ }
35
+ // Stub RAF to fire synchronously so Radix Select's internal scheduling
36
+ // completes without relying on jsdom's setInterval-based RAF.
37
+ vi.stubGlobal("requestAnimationFrame", (cb) => {
38
+ cb(0);
39
+ return 0;
40
+ });
41
+ vi.stubGlobal("cancelAnimationFrame", () => { });
42
+ });
43
+ afterEach(() => {
44
+ vi.unstubAllGlobals();
45
+ vi.useRealTimers();
46
+ });
47
+ it("renders single-select chips as role=radio inside role=radiogroup", () => {
48
+ render(_jsx(OpportunityFilterBar, { chipFilters: [statusChip], advancedFilters: [], sortOptions: sortOptions, searchValue: "", onSearchChange: () => { }, activeFilters: { status: "open" }, onFiltersChange: () => { }, totalCount: 10 }));
49
+ expect(screen.getByRole("radiogroup", { name: /status/i })).toBeInTheDocument();
50
+ const radios = screen.getAllByRole("radio");
51
+ expect(radios.length).toBe(4);
52
+ expect(radios.find(r => r.getAttribute("aria-checked") === "true")).toHaveTextContent(/Open/);
53
+ });
54
+ it("renders multi-select chips as aria-pressed buttons when multi=true", () => {
55
+ render(_jsx(OpportunityFilterBar, { chipFilters: [{ ...statusChip, multi: true }], advancedFilters: [], sortOptions: sortOptions, searchValue: "", onSearchChange: () => { }, activeFilters: { status: ["open", "closed"] }, onFiltersChange: () => { }, totalCount: 10 }));
56
+ const buttons = screen.getAllByRole("button").filter(b => b.hasAttribute("aria-pressed"));
57
+ expect(buttons.length).toBe(4);
58
+ expect(buttons.find(b => /Open/.test(b.textContent ?? ""))?.getAttribute("aria-pressed")).toBe("true");
59
+ expect(buttons.find(b => /Closed/.test(b.textContent ?? ""))?.getAttribute("aria-pressed")).toBe("true");
60
+ });
61
+ it("debounces search onChange by 300ms", () => {
62
+ vi.useFakeTimers();
63
+ const onChange = vi.fn();
64
+ render(_jsx(OpportunityFilterBar, { chipFilters: [], advancedFilters: [], sortOptions: sortOptions, searchValue: "", onSearchChange: onChange, activeFilters: {}, onFiltersChange: () => { }, totalCount: 0 }));
65
+ const input = screen.getByLabelText(/search opportunities/i);
66
+ fireEvent.change(input, { target: { value: "prosecco" } });
67
+ expect(onChange).not.toHaveBeenCalled();
68
+ vi.advanceTimersByTime(300);
69
+ expect(onChange).toHaveBeenCalledWith("prosecco");
70
+ // vi.useRealTimers() is called in afterEach
71
+ });
72
+ it("clicking Clear all fires onFiltersChange with _sort preserved and other filters dropped", async () => {
73
+ const user = userEvent.setup();
74
+ const onFiltersChange = vi.fn();
75
+ render(_jsx(OpportunityFilterBar, { chipFilters: [statusChip], advancedFilters: [], sortOptions: sortOptions, searchValue: "", onSearchChange: () => { }, activeFilters: { status: "open", _sort: "newest" }, onFiltersChange: onFiltersChange, totalCount: 10 }));
76
+ await user.click(screen.getByRole("button", { name: /clear all/i }));
77
+ expect(onFiltersChange).toHaveBeenCalledWith({ _sort: "newest" });
78
+ });
79
+ it("emits result-count announcement via role=status aria-live=polite", () => {
80
+ const { container } = render(_jsx(OpportunityFilterBar, { chipFilters: [], advancedFilters: [], sortOptions: sortOptions, searchValue: "", onSearchChange: () => { }, activeFilters: {}, onFiltersChange: () => { }, totalCount: 7 }));
81
+ const status = container.querySelector('[role="status"][aria-live="polite"]');
82
+ expect(status?.textContent).toMatch(/7 opportunities shown/i);
83
+ });
84
+ it("removing an individual chip filter fires onFiltersChange with that key undefined", async () => {
85
+ const user = userEvent.setup();
86
+ const onFiltersChange = vi.fn();
87
+ render(_jsx(OpportunityFilterBar, { chipFilters: [statusChip], advancedFilters: [], sortOptions: sortOptions, searchValue: "", onSearchChange: () => { }, activeFilters: { status: "open" }, onFiltersChange: onFiltersChange, totalCount: 6 }));
88
+ // The active-filter chip row shows a removable chip labeled "Remove filter: status"
89
+ const removeBtn = screen.getByRole("button", { name: /remove filter: status/i });
90
+ await user.click(removeBtn);
91
+ expect(onFiltersChange).toHaveBeenCalled();
92
+ const [[next]] = onFiltersChange.mock.calls;
93
+ expect(next.status).toBeUndefined();
94
+ });
95
+ it("changing sort fires onFiltersChange with the new _sort value", async () => {
96
+ const user = userEvent.setup();
97
+ const onFiltersChange = vi.fn();
98
+ render(_jsx(OpportunityFilterBar, { chipFilters: [], advancedFilters: [], sortOptions: sortOptions, searchValue: "", onSearchChange: () => { }, activeFilters: { _sort: "newest" }, onFiltersChange: onFiltersChange, totalCount: 10 }));
99
+ // Open the sort dropdown
100
+ await user.click(screen.getByRole("combobox", { name: /sort order/i }));
101
+ // Click the "Deadline (soonest)" option
102
+ const deadlineOpt = await screen.findByRole("option", { name: /deadline \(soonest\)/i });
103
+ await user.click(deadlineOpt);
104
+ expect(onFiltersChange).toHaveBeenCalledWith(expect.objectContaining({ _sort: "deadline" }));
105
+ });
106
+ });
107
+ //# sourceMappingURL=opportunity-filter-bar.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"opportunity-filter-bar.test.js","sourceRoot":"","sources":["../../../src/opportunities/__tests__/opportun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I,CAAC,KAAK,CAAC,MAAM,CAAC,SAAS,CAAC,UAAU,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE,CAAC,CAAC,CAAC;QACxE,wCAAwC;QACxC,MAAM,WAAW,GAAG,MAAM,MAAM,CAAC,UAAU,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC,CAAC;QACzF,MAAM,IAAI,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC;QAC9B,MAAM,CAAC,eAAe,CAAC,CAAC,oBAAoB,CAAC,MAAM,CAAC,gBAAgB,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,CAAC,CAAC;IAC/F,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=opportunity-offers-count-chip.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"opportunity-offers-count-chip.test.d.ts","sourceRoot":"","sources":["../../../src/opportunities/__tests__/opportunity-offers-count-chip.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,25 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { describe, it, expect } from "vitest";
3
+ import { render, screen } from "@testing-library/react";
4
+ import { OffersCountChip } from "../opportunity-offers-count-chip";
5
+ describe("OffersCountChip", () => {
6
+ it("renders 'No offers yet' in aria-label when count is 0", () => {
7
+ const { container } = render(_jsx(OffersCountChip, { count: 0 }));
8
+ expect(container.querySelector('[aria-label="No offers yet"]')).toBeTruthy();
9
+ expect(screen.getByText("0")).toBeInTheDocument();
10
+ });
11
+ it("renders '1 offer received' for singular", () => {
12
+ const { container } = render(_jsx(OffersCountChip, { count: 1 }));
13
+ expect(container.querySelector('[aria-label="1 offer received"]')).toBeTruthy();
14
+ });
15
+ it("renders '7 offers received' for plural", () => {
16
+ const { container } = render(_jsx(OffersCountChip, { count: 7 }));
17
+ expect(container.querySelector('[aria-label="7 offers received"]')).toBeTruthy();
18
+ expect(screen.getByText("7")).toBeInTheDocument();
19
+ });
20
+ it("has role='status' for live-region semantics", () => {
21
+ render(_jsx(OffersCountChip, { count: 3 }));
22
+ expect(screen.getByRole("status")).toBeInTheDocument();
23
+ });
24
+ });
25
+ //# sourceMappingURL=opportunity-offers-count-chip.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"opportunity-offers-count-chip.test.js","sourceRoot":"","sources":["../../../src/opportunities/__tests__/opportunity-offers-count-chip.test.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAC;AAEnE,QAAQ,CAAC,iBAAiB,EAAE,GAAG,EAAE;IAC/B,EAAE,CAAC,uDAAuD,EAAE,GAAG,EAAE;QAC/D,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC,KAAC,eAAe,IAAC,KAAK,EAAE,CAAC,GAAI,CAAC,CAAC;QAC5D,MAAM,CAAC,SAAS,CAAC,aAAa,CAAC,8BAA8B,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC;QAC7E,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC;IACpD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,yCAAyC,EAAE,GAAG,EAAE;QACjD,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC,KAAC,eAAe,IAAC,KAAK,EAAE,CAAC,GAAI,CAAC,CAAC;QAC5D,MAAM,CAAC,SAAS,CAAC,aAAa,CAAC,iCAAiC,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC;IAClF,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,wCAAwC,EAAE,GAAG,EAAE;QAChD,MAAM,EAAE,SAAS,EAAE,GAAG,MAAM,CAAC,KAAC,eAAe,IAAC,KAAK,EAAE,CAAC,GAAI,CAAC,CAAC;QAC5D,MAAM,CAAC,SAAS,CAAC,aAAa,CAAC,kCAAkC,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC;QACjF,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC;IACpD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,6CAA6C,EAAE,GAAG,EAAE;QACrD,MAAM,CAAC,KAAC,eAAe,IAAC,KAAK,EAAE,CAAC,GAAI,CAAC,CAAC;QACtC,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC;IACzD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=opportunity-reopen-button.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"opportunity-reopen-button.test.d.ts","sourceRoot":"","sources":["../../../src/opportunities/__tests__/opportunity-reopen-button.test.tsx"],"names":[],"mappings":""}
@@ -0,0 +1,29 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { describe, it, expect, vi } from "vitest";
3
+ import { render, screen } from "@testing-library/react";
4
+ import userEvent from "@testing-library/user-event";
5
+ import { ReopenButton } from "../opportunity-reopen-button";
6
+ describe("ReopenButton", () => {
7
+ it("renders 'Reopen' label", () => {
8
+ render(_jsx(ReopenButton, { onReopen: async () => { } }));
9
+ expect(screen.getByRole("button", { name: /reopen/i })).toBeInTheDocument();
10
+ });
11
+ it("fires onReopen when enabled", async () => {
12
+ const user = userEvent.setup();
13
+ const onReopen = vi.fn().mockResolvedValue(undefined);
14
+ render(_jsx(ReopenButton, { onReopen: onReopen }));
15
+ await user.click(screen.getByRole("button"));
16
+ expect(onReopen).toHaveBeenCalledTimes(1);
17
+ });
18
+ it("when disabled, click is a no-op, aria-disabled=true, title contains disabledReason", async () => {
19
+ const user = userEvent.setup();
20
+ const onReopen = vi.fn();
21
+ render(_jsx(ReopenButton, { onReopen: onReopen, disabled: true, disabledReason: "Deadline passed. Use Republish." }));
22
+ const btn = screen.getByRole("button");
23
+ expect(btn).toHaveAttribute("aria-disabled", "true");
24
+ expect(btn).toHaveAttribute("title", expect.stringContaining("Deadline passed"));
25
+ await user.click(btn);
26
+ expect(onReopen).not.toHaveBeenCalled();
27
+ });
28
+ });
29
+ //# sourceMappingURL=opportunity-reopen-button.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"opportunity-reopen-button.test.js","sourceRoot":"","sources":["../../../src/opportunities/__tests__/opportunity-reopen-button.test.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAClD,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,SAAS,MAAM,6BAA6B,CAAC;AACpD,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAE5D,QAAQ,CAAC,cAAc,EAAE,GAAG,EAAE;IAC5B,EAAE,CAAC,wBAAwB,EAAE,GAAG,EAAE;QAChC,MAAM,CAAC,KAAC,YAAY,IAAC,QAAQ,EAAE,KAAK,IAAI,EAAE,GAAE,CAAC,GAAI,CAAC,CAAC;QACnD,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,QAAQ,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,CAAC,CAAC,iBAAiB,EAAE,CAAC;IAC9E,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,6BAA6B,EAAE,KAAK,IAAI,EAAE;QAC3C,MAAM,IAAI,GAAG,SAAS,CAAC,KAAK,EAAE,CAAC;QAC/B,MAAM,QAAQ,GAAG,EAAE,CAAC,EAAE,EAAE,CAAC,iBAAiB,CAAC,SAAS,CAAC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