@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 @@
1
+ {"version":3,"file":"facts-card.stories.d.ts","sourceRoot":"","sources":["../../src/offer/facts-card.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,QAAA,MAAM,IAAI;;;;;;;CAKwB,CAAC;AAEnC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAYnC,eAAO,MAAM,QAAQ,EAAE,KAYtB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,KAa5B,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAStB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAEtB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KAErB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KAEvB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,KAiB9B,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,KAkBzB,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,KAa7B,CAAC;AAKF,eAAO,MAAM,eAAe,EAAE,KAU7B,CAAC;AAKF,eAAO,MAAM,iBAAiB,EAAE,KAyB/B,CAAC;AAKF,eAAO,MAAM,UAAU,EAAE,KAgBxB,CAAC"}
@@ -0,0 +1,177 @@
1
+ import { FactsCard } from "./facts-card";
2
+ const meta = {
3
+ title: "Offer/FactsCard",
4
+ component: FactsCard,
5
+ tags: ["autodocs"],
6
+ parameters: { layout: "padded" },
7
+ };
8
+ export default meta;
9
+ const baseTerms = {
10
+ price: 4.1,
11
+ currency: "EUR",
12
+ volume: 20000,
13
+ volumeUnit: "L",
14
+ paymentTerms: "Net 30",
15
+ incoterms: "FOB",
16
+ validUntil: "2026-05-22T12:00:00Z",
17
+ };
18
+ export const Proposed = {
19
+ args: {
20
+ status: "proposed",
21
+ round: 1,
22
+ terms: baseTerms,
23
+ viewerAdvantage: "neutral",
24
+ presence: [
25
+ { orgRole: "producer", state: "active", typing: false },
26
+ { orgRole: "importer", state: "idle", typing: false },
27
+ ],
28
+ onExport: () => { },
29
+ },
30
+ };
31
+ export const CounterPending = {
32
+ args: {
33
+ status: "counter_pending",
34
+ round: 2,
35
+ terms: { ...baseTerms, price: 4.4 },
36
+ previousPrice: 4.1,
37
+ viewerAdvantage: "worsened",
38
+ presence: [
39
+ { orgRole: "producer", state: "active", typing: true },
40
+ { orgRole: "importer", state: "active", typing: false },
41
+ ],
42
+ onExport: () => { },
43
+ },
44
+ };
45
+ export const Accepted = {
46
+ args: {
47
+ status: "accepted",
48
+ round: 3,
49
+ terms: baseTerms,
50
+ viewerAdvantage: "neutral",
51
+ presence: [],
52
+ onExport: () => { },
53
+ },
54
+ };
55
+ export const Declined = {
56
+ args: { status: "declined", round: 2, terms: baseTerms, viewerAdvantage: "neutral", presence: [], onExport: () => { } },
57
+ };
58
+ export const Expired = {
59
+ args: { status: "expired", round: 2, terms: baseTerms, viewerAdvantage: "neutral", presence: [], onExport: () => { } },
60
+ };
61
+ export const Withdrawn = {
62
+ args: { status: "withdrawn", round: 2, terms: baseTerms, viewerAdvantage: "neutral", presence: [], onExport: () => { } },
63
+ };
64
+ export const WithFxConversion = {
65
+ args: {
66
+ status: "proposed",
67
+ round: 1,
68
+ terms: baseTerms,
69
+ viewerAdvantage: "neutral",
70
+ presence: [],
71
+ fx: {
72
+ rate: 1.09,
73
+ base: "EUR",
74
+ quote: "USD",
75
+ fetchedAt: "2026-04-20T09:00:00Z",
76
+ provider: "frankfurter",
77
+ },
78
+ tenderCurrency: "USD",
79
+ onExport: () => { },
80
+ },
81
+ };
82
+ export const WithStaleFx = {
83
+ args: {
84
+ status: "proposed",
85
+ round: 1,
86
+ terms: baseTerms,
87
+ viewerAdvantage: "neutral",
88
+ presence: [],
89
+ fx: {
90
+ rate: 1.09,
91
+ base: "EUR",
92
+ quote: "USD",
93
+ fetchedAt: "2026-04-20T07:00:00Z",
94
+ provider: "frankfurter",
95
+ stale: true,
96
+ },
97
+ tenderCurrency: "USD",
98
+ onExport: () => { },
99
+ },
100
+ };
101
+ export const CondensedMobile = {
102
+ args: {
103
+ status: "counter_pending",
104
+ round: 2,
105
+ terms: baseTerms,
106
+ viewerAdvantage: "improved",
107
+ presence: [],
108
+ condensed: true,
109
+ onExport: () => { },
110
+ },
111
+ // Spec §5.5: `<768px` (mobile) condenses the Facts Card. Exercising under
112
+ // a mobile viewport catches layout-shift + max-height regressions.
113
+ parameters: { viewport: { defaultViewport: "mobile1" } },
114
+ };
115
+ // Responsive coverage per spec §5.5 — sm/md viewport variants so chromatic /
116
+ // visual-regression catches breakpoint regressions independent of the
117
+ // desktop stories above.
118
+ export const ResponsiveSmall = {
119
+ args: {
120
+ status: "counter_pending",
121
+ round: 2,
122
+ terms: baseTerms,
123
+ viewerAdvantage: "worsened",
124
+ presence: [{ orgRole: "producer", state: "active", typing: true }],
125
+ onExport: () => { },
126
+ },
127
+ parameters: { viewport: { defaultViewport: "mobile2" } },
128
+ };
129
+ // Spec §19 — debounced aria-live announcement (1s). This story's play
130
+ // function asserts that a rapid sequence of price changes produces a
131
+ // SINGLE announcement, not one per keystroke.
132
+ export const DebouncedAriaLive = {
133
+ args: {
134
+ status: "counter_pending",
135
+ round: 2,
136
+ terms: baseTerms,
137
+ viewerAdvantage: "worsened",
138
+ presence: [],
139
+ onExport: () => { },
140
+ },
141
+ play: async ({ canvasElement, step }) => {
142
+ const { within } = await import("storybook/test");
143
+ const { expect } = await import("vitest");
144
+ const canvas = within(canvasElement);
145
+ await step("live region exists and is initially populated", async () => {
146
+ const region = canvas.getByRole("status");
147
+ await expect(region).toBeInTheDocument();
148
+ // Initial render seeds `announced` with the starting value — visible
149
+ // text already present.
150
+ await expect(region.textContent?.length ?? 0).toBeGreaterThan(0);
151
+ });
152
+ // A full debounce regression test is easier in a sandbox with
153
+ // jest.useFakeTimers — for Storybook we assert the wiring exists and
154
+ // defer the timing assertion to a Vitest component test during CI.
155
+ },
156
+ };
157
+ // Print-media coverage per §10.5 + spec §14.4. Storybook Chromatic can
158
+ // render this mode; locally a Playwright-component test uses
159
+ // page.emulateMedia({ media: "print" }) and takes a snapshot.
160
+ export const PrintMedia = {
161
+ args: {
162
+ status: "proposed",
163
+ round: 1,
164
+ terms: baseTerms,
165
+ viewerAdvantage: "neutral",
166
+ presence: [],
167
+ onExport: () => { },
168
+ },
169
+ parameters: {
170
+ // Storybook Chromatic `modes.print` lands in MODE_PRINT, which applies
171
+ // `@media print` rules from offer-document.print.css. Consumer apps
172
+ // that cannot install Chromatic should run a Playwright-component test
173
+ // using `page.emulateMedia({ media: "print" })`.
174
+ chromatic: { modes: { print: { media: "print" } } },
175
+ },
176
+ };
177
+ //# sourceMappingURL=facts-card.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"facts-card.stories.js","sourceRoot":"","sources":["../../src/offer/facts-card.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzC,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,iBAAiB;IACxB,SAAS,EAAE,SAAS;IACpB,IAAI,EAAE,CAAC,UAAU,CAAC;IAClB,UAAU,EAAE,EAAE,MAAM,EAAE,QAAQ,EAAE;CACA,CAAC;AAEnC,eAAe,IAAI,CAAC;AAGpB,MAAM,SAAS,GAAG;IAChB,KAAK,EAAE,GAAG;IACV,QAAQ,EAAE,KAAK;IACf,MAAM,EAAE,KAAK;IACb,UAAU,EAAE,GAAG;IACf,YAAY,EAAE,QAAQ;IACtB,SAAS,EAAE,KAAK;IAChB,UAAU,EAAE,sBAAsB;CACnC,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAAU;IAC7B,IAAI,EAAE;QACJ,MAAM,EAAE,UAAU;QAClB,KAAK,EAAE,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AI,EAAE,EAAE,EAAE;QACtC,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,MAAM,CAAC,gBAAgB,CAAC,CAAC;QAClD,MAAM,EAAE,MAAM,EAAE,GAAG,MAAM,MAAM,CAAC,QAAQ,CAAC,CAAC;QAC1C,MAAM,MAAM,GAAG,MAAM,CAAC,aAAa,CAAC,CAAC;QAErC,MAAM,IAAI,CAAC,+CAA+C,EAAE,KAAK,IAAI,EAAE;YACrE,MAAM,MAAM,GAAG,MAAM,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;YAC1C,MAAM,MAAM,CAAC,MAAM,CAAC,CAAC,iBAAiB,EAAE,CAAC;YACzC,qEAAqE;YACrE,wBAAwB;YACxB,MAAM,MAAM,CAAC,MAAM,CAAC,WAAW,EAAE,MAAM,IAAI,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC;QACnE,CAAC,CAAC,CAAC;QACH,8DAA8D;QAC9D,qEAAqE;QACrE,mEAAmE;IACrE,CAAC;CACF,CAAC;AAEF,uEAAuE;AACvE,6DAA6D;AAC7D,8DAA8D;AAC9D,MAAM,CAAC,MAAM,UAAU,GAAU;IAC/B,IAAI,EAAE;QACJ,MAAM,EAAE,UAAU;QAClB,KAAK,EAAE,CAAC;QACR,KAAK,EAAE,SAAS;QAChB,eAAe,EAAE,SAAS;QAC1B,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE,GAAG,EAAE,GAAE,CAAC;KACnB;IACD,UAAU,EAAE;QACV,uEAAuE;QACvE,oEAAoE;QACpE,uEAAuE;QACvE,iDAAiD;QACjD,SAAS,EAAE,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE;KACpD;CACF,CAAC"}
@@ -1,6 +1,10 @@
1
1
  export { OfferStatusBadge } from "./offer-status-badge";
2
2
  export type { OfferStatusBadgeProps } from "./offer-status-badge";
3
3
  export { NegotiationEventCard } from "../chat/negotiation-event-card";
4
+ /**
5
+ * @deprecated since 0.18.0 — prefer `CounterSlideOver`. See
6
+ * `inline-counter-form.tsx` JSDoc for the migration path.
7
+ */
4
8
  export { InlineCounterForm } from "./inline-counter-form";
5
9
  export type { InlineCounterFormProps } from "./inline-counter-form";
6
10
  export { ConfirmActionDialog } from "./confirm-action-dialog";
@@ -8,6 +12,7 @@ export type { ConfirmActionDialogProps } from "./confirm-action-dialog";
8
12
  export { AttachmentsFolder } from "./attachments-folder";
9
13
  export type { AttachmentsFolderProps } from "./attachments-folder";
10
14
  export type { OfferResponseThread, OfferResponseInput, TranslationFn, AttachmentMetadata, OfferActionType, } from "./types";
15
+ export type * from "./types";
11
16
  export { BeverageDetails } from "./beverage-details";
12
17
  export type { BeverageDetailsProps } from "./beverage-details";
13
18
  export { SensoryProfile } from "./sensory-profile";
@@ -24,6 +29,40 @@ export { OfferDetailHeader } from "./offer-detail-header";
24
29
  export type { OfferDetailHeaderProps } from "./offer-detail-header";
25
30
  export { OfferDetailTabs } from "./offer-detail-tabs";
26
31
  export type { OfferDetailTabsProps, OfferTab } from "./offer-detail-tabs";
32
+ export { MatchGlyph } from "./match-glyph";
33
+ export type { MatchGlyphProps } from "./match-glyph";
34
+ export { MatchHeadlineBar } from "./match-headline-bar";
35
+ export type { MatchHeadlineBarProps } from "./match-headline-bar";
36
+ export { FactsCard } from "./facts-card";
37
+ export type { FactsCardProps, FactsCardStatus } from "./facts-card";
38
+ export { PartiesCard } from "./parties-card";
39
+ export type { PartiesCardProps } from "./parties-card";
40
+ export { OpportunityCard } from "./opportunity-card";
41
+ export type { OpportunityCardProps, OpportunityCardData } from "./opportunity-card";
42
+ export { OfferProductCard } from "./offer-product-card";
43
+ export type { OfferProductCardProps, OfferProductVariant, OfferProductBeverage, } from "./offer-product-card";
44
+ export { TermsCard } from "./terms-card";
45
+ export type { TermsCardProps } from "./terms-card";
46
+ export { MatchCompatibilityCard } from "./match-compatibility-card";
47
+ export type { MatchCompatibilityCardProps } from "./match-compatibility-card";
48
+ export { MatchPreview } from "./match-preview";
49
+ export type { MatchPreviewProps } from "./match-preview";
50
+ export { BuyerNotesCard } from "./buyer-notes-card";
51
+ export type { BuyerNotesCardProps } from "./buyer-notes-card";
52
+ export { AttachmentsCard } from "./attachments-card";
53
+ export type { AttachmentsCardProps } from "./attachments-card";
54
+ export { TimelineEvent } from "./timeline-event";
55
+ export type { TimelineEventProps } from "./timeline-event";
56
+ export { NewActivityPill } from "./new-activity-pill";
57
+ export type { NewActivityPillProps } from "./new-activity-pill";
58
+ export { CounterSlideOver } from "./counter-slide-over";
59
+ export type { CounterSlideOverProps, CounterBanner, CounterDraft } from "./counter-slide-over";
60
+ export { NegotiationSection } from "./negotiation-section";
61
+ export type { NegotiationSectionProps } from "./negotiation-section";
62
+ export { OfferExportButton } from "./offer-export-button";
63
+ export type { OfferExportButtonProps } from "./offer-export-button";
64
+ export { OfferDocument } from "./offer-document";
65
+ export type { OfferDocumentProps, OfferDocumentAction } from "./offer-document";
27
66
  export { ImporterPickerModal, type ImporterPickerModalProps, type ImporterPickerImporter, type ImporterPickerMode, } from "../components/importer-picker-modal";
28
67
  export { OffersSentPanel, type OffersSentPanelProps, type OfferBranch, } from "../components/branch-overview-panel";
29
68
  export { FinalizeDealModal, type FinalizeDealModalProps, type FinalizeDealTerm, type FinalizeDealClosedBranch, } from "../components/branch-resolution-modal";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/offer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,YAAY,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAKlE,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1D,YAAY,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AACpE,OAAO,EAAE,mBAAmB,EAAE,MAA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KAAK,sBAAsB,EAC3B,KAAK,kBAAkB,GACxB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EACL,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,WAAW,GACjB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EACL,iBAAiB,EACjB,KAAK,sBAAsB,EAC3B,KAAK,gBAAgB,EACrB,KAAK,wBAAwB,GAC9B,MAAM,uCAAuC,CAAC"}
@@ -4,6 +4,10 @@ export { OfferStatusBadge } from "./offer-status-badge";
4
4
  // importing from @cellarnode/ui/chat and @cellarnode/ui/offer get the same
5
5
  // component — there is only one implementation.
6
6
  export { NegotiationEventCard } from "../chat/negotiation-event-card";
7
+ /**
8
+ * @deprecated since 0.18.0 — prefer `CounterSlideOver`. See
9
+ * `inline-counter-form.tsx` JSDoc for the migration path.
10
+ */
7
11
  export { InlineCounterForm } from "./inline-counter-form";
8
12
  export { ConfirmActionDialog } from "./confirm-action-dialog";
9
13
  export { AttachmentsFolder } from "./attachments-folder";
@@ -15,6 +19,23 @@ export { OpportunityRequirements } from "./opportunity-requirements";
15
19
  export { OfferDetailShell } from "./offer-detail-shell";
16
20
  export { OfferDetailHeader } from "./offer-detail-header";
17
21
  export { OfferDetailTabs } from "./offer-detail-tabs";
22
+ export { MatchGlyph } from "./match-glyph";
23
+ export { MatchHeadlineBar } from "./match-headline-bar";
24
+ export { FactsCard } from "./facts-card";
25
+ export { PartiesCard } from "./parties-card";
26
+ export { OpportunityCard } from "./opportunity-card";
27
+ export { OfferProductCard } from "./offer-product-card";
28
+ export { TermsCard } from "./terms-card";
29
+ export { MatchCompatibilityCard } from "./match-compatibility-card";
30
+ export { MatchPreview } from "./match-preview";
31
+ export { BuyerNotesCard } from "./buyer-notes-card";
32
+ export { AttachmentsCard } from "./attachments-card";
33
+ export { TimelineEvent } from "./timeline-event";
34
+ export { NewActivityPill } from "./new-activity-pill";
35
+ export { CounterSlideOver } from "./counter-slide-over";
36
+ export { NegotiationSection } from "./negotiation-section";
37
+ export { OfferExportButton } from "./offer-export-button";
38
+ export { OfferDocument } from "./offer-document";
18
39
  // ─── Offer-branching modals + slide-over (new in v0.10.x) ───────────────
19
40
  // Internal files use "branch" / "branch-overview" / "branch-resolution"
20
41
  // terminology — exports use the user-facing "offer" naming per the
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/offer/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAExD,kFAAkF;AAClF,6EAA6E;AAC7E,2EAA2E;AAC3E,gDAAgD;AAChD,OAAO,EAAE,oBAAoB,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAE1D,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AASzD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAEnD,OAAO,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAGrE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAGxD,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG1D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAGtD,2EAA2E;AAC3E,wEAAwE;AACxE,mEAAmE;AACnE,wBAAwB;AAExB,OAAO,EACL,mBAAmB,GAIpB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EACL,eAAe,GAGhB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EACL,iBAAiB,GAIlB,MAAM,uCAAuC,CAAC"}
1
+ {"version":3,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pE,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAG/C,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAGrD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGjD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAGtD,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AAGxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAG3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG1D,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGjD,2EAA2E;AAC3E,wEAAwE;AACxE,mEAAmE;AACnE,wBAAwB;AAExB,OAAO,EACL,mBAAmB,GAIpB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EACL,eAAe,GAGhB,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EACL,iBAAiB,GAIlB,MAAM,uCAAuC,CAAC"}
@@ -1,4 +1,12 @@
1
1
  import type { OfferResponseInput, TranslationFn } from "./types";
2
+ /**
3
+ * @deprecated since 0.18.0 — use `CounterSlideOver` from `@cellarnode/ui/offer`
4
+ * for the unified offer page counter composer. `InlineCounterForm` is retained
5
+ * for existing inline / chat-bubble use cases where a slide-over is not
6
+ * desired. It will remain supported through 0.x; a removal window will be
7
+ * announced with 1.0. Consumers building NEW counter surfaces should prefer
8
+ * `CounterSlideOver`.
9
+ */
2
10
  export interface InlineCounterFormProps {
3
11
  offerId: string;
4
12
  defaultCurrency?: string | null;
@@ -15,5 +23,13 @@ export interface InlineCounterFormProps {
15
23
  /** Optional translation function; falls back to English defaults. */
16
24
  t?: TranslationFn;
17
25
  }
26
+ /**
27
+ * @deprecated since 0.18.0 — use `CounterSlideOver` from `@cellarnode/ui/offer`
28
+ * for the unified offer page counter composer. `InlineCounterForm` is retained
29
+ * for existing inline / chat-bubble use cases where a slide-over is not
30
+ * desired. It will remain supported through 0.x; a removal window will be
31
+ * announced with 1.0. Consumers building NEW counter surfaces should prefer
32
+ * `CounterSlideOver`.
33
+ */
18
34
  export declare function InlineCounterForm({ offerId, defaultCurrency, parentResponseId, onCancel, onSuccess, onSubmit, isSubmitting, t, }: InlineCounterFormProps): import("react/jsx-runtime").JSX.Element;
19
35
  //# sourceMappingURL=inline-counter-form.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"inline-counter-form.d.ts","sourceRoot":"","sources":["../../src/offer/inline-counter-form.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAEjE,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB;;;OAGG;IACH,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,kBAAkB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxE,wCAAwC;IACxC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,qEAAqE;IACrE,CAAC,CAAC,EAAE,aAAa,CAAC;CACnB;AAID,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EACP,eAAe,EACf,gBAAgB,EAChB,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,YAAoB,EACpB,CAAY,GACb,EAAE,sBAAsB,2CA6MxB"}
1
+ {"version":3,"file":"inline-counter-form.d.ts","sourceRoot":"","sources":["../../src/offer/inline-counter-form.tsx"],"names":[],"mappings":"AAiBA,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAEjE;;;;;;;GAOG;AACH,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,QAAQ,EAAE,MAAM,IAAI,CAAC;IACrB,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB;;;OAGG;IACH,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,kBAAkB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACxE,wCAAwC;IACxC,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,qEAAqE;IACrE,CAAC,CAAC,EAAE,aAAa,CAAC;CACnB;AAID;;;;;;;GAOG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,OAAO,EACP,eAAe,EACf,gBAAgB,EAChB,QAAQ,EACR,SAAS,EACT,QAAQ,EACR,YAAoB,EACpB,CAAY,GACb,EAAE,sBAAsB,2CA6MxB"}
@@ -11,6 +11,14 @@ import { ArrowLeftRight, ChevronDown, ChevronUp, Loader2 } from "lucide-react";
11
11
  import { COMMON_CURRENCIES } from "../lib/currencies";
12
12
  import { toneClass } from "../lib/semantic-tones";
13
13
  const defaultT = (_key, fallback) => fallback;
14
+ /**
15
+ * @deprecated since 0.18.0 — use `CounterSlideOver` from `@cellarnode/ui/offer`
16
+ * for the unified offer page counter composer. `InlineCounterForm` is retained
17
+ * for existing inline / chat-bubble use cases where a slide-over is not
18
+ * desired. It will remain supported through 0.x; a removal window will be
19
+ * announced with 1.0. Consumers building NEW counter surfaces should prefer
20
+ * `CounterSlideOver`.
21
+ */
14
22
  export function InlineCounterForm({ offerId, defaultCurrency, parentResponseId, onCancel, onSuccess, onSubmit, isSubmitting = false, t = defaultT, }) {
15
23
  const [price, setPrice] = useState("");
16
24
  const [currency, setCurrency] = useState(defaultCurrency ?? "EUR");
@@ -1 +1 @@
1
- {"version":3,"file":"in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CAAC,MAAM,CAAC,KAAK,CAAC,GACzC,IACE,IACF,EAGN,eAAK,SAAS,EAAC,mCAAmC,aAChD,eAAM,SAAS,EAAC,+BAA+B,YAC5C,CAAC,CAAC,mBAAmB,EAAE,qBAAqB,CAAC,GACzC,EACP,eAAK,SAAS,EAAC,YAAY,aACzB,KAAC,MAAM,IAAC,IAAI,EAAC,QAAQ,EAAC,OAAO,EAAC,OAAO,EAAC,IAAI,EAAC,IAAI,EAAC,OAAO,EAAE,QAAQ,YAC9D,CAAC,CAAC,QAAQ,EAAE,QAAQ,CAAC,GACf,EACT,MAAC,MAAM,IACL,IAAI,EAAC,QAAQ,EACb,IAAI,EAAC,IAAI,EACT,QAAQ,EAAE,SAAS,EACnB,KAAK,EAAE;gDACL,UAAU,EAAE,mBAAmB;gDAC/B,KAAK,EAAE,sBAAsB;6CAC9B,aAEA,SAAS,IAAI,CACZ,KAAC,OAAO,IAAC,SAAS,EAAC,0BAA0B,GAAG,CACjD,EACA,CAAC,CAAC,aAAa,EAAE,cAAc,CAAC,IAC1B,IACL,IACF,IACK,CACd,GACe,IACb,CACR,CAAC;AACJ,CAAC"}
@@ -0,0 +1,16 @@
1
+ import type { MatchEvaluation, Perspective } from "./types";
2
+ export interface MatchCompatibilityCardProps {
3
+ evaluation: MatchEvaluation;
4
+ /**
5
+ * Viewer perspective. Color polarity on each criterion row still comes
6
+ * from the criterion's own `viewerAdvantage` field (blocker B3, spec
7
+ * §11) — the backend scopes advantage to the viewer. `perspective` here
8
+ * is informational: used to compose aria-labels ("Producer: price
9
+ * improved by 4.7%"), never to invert colour polarity. Consumers that
10
+ * only need headline colour can omit this prop.
11
+ */
12
+ perspective?: Perspective;
13
+ className?: string;
14
+ }
15
+ export declare function MatchCompatibilityCard({ evaluation, perspective, className, }: MatchCompatibilityCardProps): import("react/jsx-runtime").JSX.Element;
16
+ //# sourceMappingURL=match-compatibility-card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"match-compatibility-card.d.ts","sourceRoot":"","sources":["../../src/offer/match-compatibility-card.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;AAE5D,MAAM,WAAW,2BAA2B;IAC1C,UAAU,EAAE,eAAe,CAAC;IAC5B;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,wBAAgB,sBAAsB,CAAC,EACrC,UAAU,EACV,WAAW,EACX,SAAS,GACV,EAAE,2BAA2B,2CA8F7B"}
@@ -0,0 +1,27 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { useState } from "react";
3
+ import { cn } from "../lib/utils";
4
+ import { MatchGlyph } from "./match-glyph";
5
+ import { MatchHeadlineBar } from "./match-headline-bar";
6
+ export function MatchCompatibilityCard({ evaluation, perspective, className, }) {
7
+ const [expanded, setExpanded] = useState(evaluation.headline !== "strong");
8
+ const total = evaluation.criteria.length;
9
+ const exceptions = evaluation.criteria.filter((c) => c.state === "partial" || c.state === "miss");
10
+ const positives = evaluation.criteria.filter((c) => c.state === "ok" || c.state === "not_specified" || c.state === "n_a");
11
+ return (_jsxs("section", { "aria-labelledby": "match-heading", className: cn("space-y-3 rounded-2xl border border-border/60 bg-card p-4", className), children: [_jsx("h2", { id: "match-heading", className: "text-xs/5 font-semibold uppercase tracking-wide text-muted-foreground", children: "Match with tender" }), _jsx(MatchHeadlineBar, { state: evaluation.headline, summary: evaluation.headlineSummary, count: total, expanded: expanded, onToggleExpand: () => setExpanded((v) => !v) }), expanded && (_jsxs("div", { className: "space-y-3", children: [exceptions.length > 0 && (_jsx("ul", { className: "space-y-2", children: exceptions.map((c) => {
12
+ // Blocker B3 — per-criterion viewerAdvantage from the
13
+ // backend, not a page-level constant. Empty / neutral is
14
+ // the safe fallback when the evaluator omits it (e.g. the
15
+ // FX-unavailable degraded case, §6.6).
16
+ const advantageClass = c.viewerAdvantage === "improved"
17
+ ? "border-emerald-200 bg-emerald-50/60 dark:bg-emerald-950/30"
18
+ : c.viewerAdvantage === "worsened"
19
+ ? "border-rose-200 bg-rose-50/60 dark:bg-rose-950/30"
20
+ : "border-border/60 bg-muted/30";
21
+ const perspectiveLabel = perspective
22
+ ? `${perspective === "producer" ? "Producer" : "Importer"} view: `
23
+ : "";
24
+ return (_jsxs("li", { "aria-label": `${perspectiveLabel}${c.label} — ${c.state}${c.viewerAdvantage !== "neutral" ? `, ${c.viewerAdvantage}` : ""}`, className: cn("flex items-start justify-between gap-3 rounded-lg border p-3", advantageClass), children: [_jsxs("div", { className: "min-w-0", children: [_jsx("div", { className: "text-sm/6 font-medium", children: c.label }), c.reason && (_jsx("div", { className: "text-xs/5 text-muted-foreground", children: c.reason }))] }), _jsx(MatchGlyph, { state: c.state })] }, c.id));
25
+ }) })), positives.length > 0 && (_jsxs("div", { "aria-label": `${positives.length} additional checks passed or not applicable`, className: "flex flex-wrap gap-2", children: [_jsxs("span", { className: "rounded-full border border-border/60 bg-card px-3 py-1 text-xs font-medium text-muted-foreground", children: ["+", positives.length, " more"] }), positives.slice(0, 6).map((c) => (_jsxs("span", { className: "inline-flex items-center gap-1 rounded-full border border-border/60 bg-card px-2 py-1 text-xs", children: [_jsx(MatchGlyph, { state: c.state }), _jsx("span", { children: c.label })] }, c.id)))] })), evaluation.fx && (_jsxs("div", { className: "text-xs text-muted-foreground", children: ["Price converted via ", evaluation.fx.provider, " @ ", evaluation.fx.rate, " ", "(", evaluation.fx.base, " \u2192 ", evaluation.fx.quote, ")."] }))] }))] }));
26
+ }
27
+ //# sourceMappingURL=match-compatibility-card.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"match-compatibility-card.js","sourceRoot":"","sources":["../../src/offer/match-compatibility-card.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AACjC,OAAO,EAAE,EAAE,EAAE,MAAM,cAAc,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S,CAAC,MAAM,aACb,EACN,SAAS,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAChC,gBAEE,SAAS,EAAC,+FAA+F,aAEzG,KAAC,UAAU,IAAC,KAAK,EAAE,CAAC,CAAC,KAAK,GAAI,EAC9B,yBAAO,CAAC,CAAC,KAAK,GAAQ,KAJjB,CAAC,CAAC,EAAE,CAKJ,CACR,CAAC,IACE,CACP,EACA,UAAU,CAAC,EAAE,IAAI,CAChB,eAAK,SAAS,EAAC,+BAA+B,qCACvB,UAAU,CAAC,EAAE,CAAC,QAAQ,SAAK,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,GAAG,OACrE,UAAU,CAAC,EAAE,CAAC,IAAI,cAAK,UAAU,CAAC,EAAE,CAAC,KAAK,UACxC,CACP,IACG,CACP,IACO,CACX,CAAC;AACJ,CAAC"}
@@ -0,0 +1,19 @@
1
+ import type { StoryObj } from "@storybook/react-vite";
2
+ import { MatchCompatibilityCard } from "./match-compatibility-card";
3
+ declare const meta: {
4
+ title: string;
5
+ component: typeof MatchCompatibilityCard;
6
+ tags: string[];
7
+ parameters: {
8
+ layout: string;
9
+ };
10
+ };
11
+ export default meta;
12
+ type Story = StoryObj<typeof meta>;
13
+ export declare const Strong: Story;
14
+ export declare const Partial: Story;
15
+ export declare const Miss: Story;
16
+ export declare const NotSpecified: Story;
17
+ export declare const NA: Story;
18
+ export declare const CurrencyConversion: Story;
19
+ //# sourceMappingURL=match-compatibility-card.stories.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"match-compatibility-card.stories.d.ts","sourceRoot":"","sources":["../../src/offer/match-compatibility-card.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAC5D,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAGpE,QAAA,MAAM,IAAI;;;;;;;CAKqC,CAAC;AAEhD,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAyGnC,eAAO,MAAM,MAAM,EAAE,KAAwC,CAAC;AAC9D,eAAO,MAAM,OAAO,EAAE,KAAyC,CAAC;AAChE,eAAO,MAAM,IAAI,EAAE,KAAsC,CAAC;AAC1D,eAAO,MAAM,YAAY,EAAE,KAA8C,CAAC;AAC1E,eAAO,MAAM,EAAE,EAAE,KAAyC,CAAC;AAC3D,eAAO,MAAM,kBAAkB,EAAE,KAAoD,CAAC"}
@@ -0,0 +1,111 @@
1
+ import { MatchCompatibilityCard } from "./match-compatibility-card";
2
+ const meta = {
3
+ title: "Offer/MatchCompatibilityCard",
4
+ component: MatchCompatibilityCard,
5
+ tags: ["autodocs"],
6
+ parameters: { layout: "padded" },
7
+ };
8
+ export default meta;
9
+ const okCriterion = (id, label) => ({
10
+ id: id,
11
+ label,
12
+ state: "ok",
13
+ offered: "ok",
14
+ required: "ok",
15
+ viewerAdvantage: "neutral",
16
+ });
17
+ const strong = {
18
+ headline: "strong",
19
+ headlineSummary: "All requirements met",
20
+ criteria: [
21
+ okCriterion("price", "Price"),
22
+ okCriterion("volume", "Volume"),
23
+ okCriterion("alcoholRange", "ABV range"),
24
+ okCriterion("beverageCategory", "Category"),
25
+ ],
26
+ freeTextFields: [],
27
+ hiddenReasons: [],
28
+ };
29
+ const partial = {
30
+ ...strong,
31
+ headline: "partial",
32
+ headlineSummary: "Price is 4% over the ceiling",
33
+ criteria: [
34
+ {
35
+ id: "price",
36
+ label: "Price",
37
+ state: "partial",
38
+ offered: 4.4,
39
+ required: 4.2,
40
+ reason: "Price 4.4 is 4.7% above the ceiling of 4.2",
41
+ viewerAdvantage: "improved",
42
+ },
43
+ okCriterion("volume", "Volume"),
44
+ okCriterion("alcoholRange", "ABV range"),
45
+ ],
46
+ };
47
+ const miss = {
48
+ ...strong,
49
+ headline: "miss",
50
+ headlineSummary: "Beverage subtype does not match",
51
+ criteria: [
52
+ {
53
+ id: "beverageSubtype",
54
+ label: "Subtype",
55
+ state: "miss",
56
+ offered: "red",
57
+ required: "white",
58
+ reason: "Requested white; offered red",
59
+ viewerAdvantage: "neutral",
60
+ },
61
+ okCriterion("price", "Price"),
62
+ okCriterion("volume", "Volume"),
63
+ ],
64
+ };
65
+ const notSpecified = {
66
+ ...strong,
67
+ headline: "strong",
68
+ criteria: [
69
+ {
70
+ id: "vintage",
71
+ label: "Vintage",
72
+ state: "not_specified",
73
+ offered: 2020,
74
+ required: null,
75
+ viewerAdvantage: "neutral",
76
+ },
77
+ okCriterion("price", "Price"),
78
+ ],
79
+ };
80
+ const naStory = {
81
+ ...strong,
82
+ headline: "strong",
83
+ criteria: [
84
+ {
85
+ id: "vintage",
86
+ label: "Vintage",
87
+ state: "n_a",
88
+ offered: null,
89
+ required: [2019, 2021],
90
+ viewerAdvantage: "neutral",
91
+ },
92
+ okCriterion("price", "Price"),
93
+ ],
94
+ };
95
+ const currencyConversion = {
96
+ ...partial,
97
+ fx: {
98
+ rate: 1.09,
99
+ base: "EUR",
100
+ quote: "USD",
101
+ fetchedAt: "2026-04-20T09:00:00Z",
102
+ provider: "frankfurter",
103
+ },
104
+ };
105
+ export const Strong = { args: { evaluation: strong } };
106
+ export const Partial = { args: { evaluation: partial } };
107
+ export const Miss = { args: { evaluation: miss } };
108
+ export const NotSpecified = { args: { evaluation: notSpecified } };
109
+ export const NA = { args: { evaluation: naStory } };
110
+ export const CurrencyConversion = { args: { evaluation: currencyConversion } };
111
+ //# sourceMappingURL=match-compatibility-card.stories.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"match-compatibility-card.stories.js","sourceRoot":"","sources":["../../src/offer/match-compatibility-card.stories.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAGpE,MAAM,IAAI,GAAG;IACX,KAAK,EAAE,8BAA8B;IACrC,SAAS,EAAE,sBAA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AAE,UAAU,EAAE,OAAO,EAAE,EAAE,CAAC;AAChE,MAAM,CAAC,MAAM,IAAI,GAAU,EAAE,IAAI,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,EAAE,CAAC;AAC1D,MAAM,CAAC,MAAM,YAAY,GAAU,EAAE,IAAI,EAAE,EAAE,UAAU,EAAE,YAAY,EAAE,EAAE,CAAC;AAC1E,MAAM,CAAC,MAAM,EAAE,GAAU,EAAE,IAAI,EAAE,EAAE,UAAU,EAAE,OAAO,EAAE,EAAE,CAAC;AAC3D,MAAM,CAAC,MAAM,kBAAkB,GAAU,EAAE,IAAI,EAAE,EAAE,UAAU,EAAE,kBAAkB,EAAE,EAAE,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { MatchState } from "./types";
2
+ export interface MatchGlyphProps {
3
+ state: MatchState;
4
+ /** Optional visible text label. When omitted, an aria-label is still applied. */
5
+ label?: string;
6
+ className?: string;
7
+ }
8
+ /**
9
+ * Non-color glyph for a match criterion state.
10
+ * Always exposes the state via aria-label so color-blind users and screen
11
+ * readers receive the same information.
12
+ */
13
+ export declare function MatchGlyph({ state, label, className }: MatchGlyphProps): import("react/jsx-runtime").JSX.Element;
14
+ //# sourceMappingURL=match-glyph.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"match-glyph.d.ts","sourceRoot":"","sources":["../../src/offer/match-glyph.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAE1C,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,UAAU,CAAC;IAClB,iFAAiF;IACjF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAiCD;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,EAAE,eAAe,2CAYtE"}