@open-mercato/core 0.7.1-develop.7203.1.9396450b78 → 0.8.1-develop.7204.1.83330e271e

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 (416) hide show
  1. package/.turbo/turbo-build.log +1 -1
  2. package/build.mjs +11 -0
  3. package/dist/modules/catalog/backend/catalog/products/[id]/page.js +23 -0
  4. package/dist/modules/catalog/backend/catalog/products/[id]/page.js.map +2 -2
  5. package/dist/modules/customers/backend/customers/companies/[id]/page.js +2 -1
  6. package/dist/modules/customers/backend/customers/companies/[id]/page.js.map +2 -2
  7. package/dist/modules/customers/backend/customers/companies-v2/[id]/page.js +2 -1
  8. package/dist/modules/customers/backend/customers/companies-v2/[id]/page.js.map +2 -2
  9. package/dist/modules/customers/backend/customers/people/[id]/page.js +2 -2
  10. package/dist/modules/customers/backend/customers/people/[id]/page.js.map +2 -2
  11. package/dist/modules/customers/backend/customers/people-v2/[id]/page.js +2 -1
  12. package/dist/modules/customers/backend/customers/people-v2/[id]/page.js.map +2 -2
  13. package/dist/modules/customers/lib/detailHelpers.js +4 -0
  14. package/dist/modules/customers/lib/detailHelpers.js.map +2 -2
  15. package/dist/modules/customers/lib/todoCompatibility.js +5 -0
  16. package/dist/modules/customers/lib/todoCompatibility.js.map +2 -2
  17. package/dist/modules/design_system/backend/design-system/page.meta.js +3 -2
  18. package/dist/modules/design_system/backend/design-system/page.meta.js.map +2 -2
  19. package/dist/modules/design_system/gallery/assets/ai-prompt-image.png +0 -0
  20. package/dist/modules/design_system/gallery/assets/avatar-illustration.png +0 -0
  21. package/dist/modules/design_system/gallery/assets/avatar-memoji.png +0 -0
  22. package/dist/modules/design_system/gallery/assets/avatar-photo.png +0 -0
  23. package/dist/modules/design_system/gallery/assets/blog-photo-0.png +0 -0
  24. package/dist/modules/design_system/gallery/assets/contact-support-portrait.png +0 -0
  25. package/dist/modules/design_system/gallery/assets/crypto-ada.png +0 -0
  26. package/dist/modules/design_system/gallery/assets/crypto-avax.png +0 -0
  27. package/dist/modules/design_system/gallery/assets/crypto-bnb.png +0 -0
  28. package/dist/modules/design_system/gallery/assets/crypto-brand.png +0 -0
  29. package/dist/modules/design_system/gallery/assets/crypto-btc.png +0 -0
  30. package/dist/modules/design_system/gallery/assets/crypto-clock.svg +3 -0
  31. package/dist/modules/design_system/gallery/assets/crypto-crown.svg +3 -0
  32. package/dist/modules/design_system/gallery/assets/crypto-dot.png +0 -0
  33. package/dist/modules/design_system/gallery/assets/crypto-eth.png +0 -0
  34. package/dist/modules/design_system/gallery/assets/crypto-hbar.png +0 -0
  35. package/dist/modules/design_system/gallery/assets/crypto-history.svg +3 -0
  36. package/dist/modules/design_system/gallery/assets/crypto-link.svg +3 -0
  37. package/dist/modules/design_system/gallery/assets/crypto-menu.svg +3 -0
  38. package/dist/modules/design_system/gallery/assets/crypto-metamask.png +0 -0
  39. package/dist/modules/design_system/gallery/assets/crypto-more.svg +3 -0
  40. package/dist/modules/design_system/gallery/assets/crypto-phantom.png +0 -0
  41. package/dist/modules/design_system/gallery/assets/crypto-rewards.svg +3 -0
  42. package/dist/modules/design_system/gallery/assets/crypto-sad-face.png +0 -0
  43. package/dist/modules/design_system/gallery/assets/crypto-sol.png +0 -0
  44. package/dist/modules/design_system/gallery/assets/crypto-star.svg +3 -0
  45. package/dist/modules/design_system/gallery/assets/crypto-status-cancelled.svg +3 -0
  46. package/dist/modules/design_system/gallery/assets/crypto-status-pending.svg +3 -0
  47. package/dist/modules/design_system/gallery/assets/crypto-status-success.svg +3 -0
  48. package/dist/modules/design_system/gallery/assets/crypto-status-warning.svg +3 -0
  49. package/dist/modules/design_system/gallery/assets/crypto-trx.png +0 -0
  50. package/dist/modules/design_system/gallery/assets/crypto-usdc.png +0 -0
  51. package/dist/modules/design_system/gallery/assets/crypto-usdt.png +0 -0
  52. package/dist/modules/design_system/gallery/assets/crypto-walletconnect.png +0 -0
  53. package/dist/modules/design_system/gallery/assets/crypto-wei.png +0 -0
  54. package/dist/modules/design_system/gallery/assets/crypto-xrp.png +0 -0
  55. package/dist/modules/design_system/gallery/assets/cryptocurrency-artwork.js +67 -0
  56. package/dist/modules/design_system/gallery/assets/cryptocurrency-artwork.js.map +7 -0
  57. package/dist/modules/design_system/gallery/assets/github-logo.png +0 -0
  58. package/dist/modules/design_system/gallery/assets/images.d.js +1 -0
  59. package/dist/modules/design_system/gallery/assets/images.d.js.map +7 -0
  60. package/dist/modules/design_system/gallery/assets/input-european-union.svg +18 -0
  61. package/dist/modules/design_system/gallery/assets/landing-teams-01.png +0 -0
  62. package/dist/modules/design_system/gallery/assets/marketing-artwork.js +83 -0
  63. package/dist/modules/design_system/gallery/assets/marketing-artwork.js.map +7 -0
  64. package/dist/modules/design_system/gallery/assets/menu-apex.svg +18 -0
  65. package/dist/modules/design_system/gallery/assets/menu-mastercard.svg +7 -0
  66. package/dist/modules/design_system/gallery/assets/menu-spotify.svg +4 -0
  67. package/dist/modules/design_system/gallery/assets/menu-united-states.svg +16 -0
  68. package/dist/modules/design_system/gallery/assets/select-google.png +0 -0
  69. package/dist/modules/design_system/gallery/assets/select-poland.png +0 -0
  70. package/dist/modules/design_system/gallery/assets/selection-artwork.js +5 -0
  71. package/dist/modules/design_system/gallery/assets/selection-artwork.js.map +7 -0
  72. package/dist/modules/design_system/gallery/assets/social-apple-filled.svg +4 -0
  73. package/dist/modules/design_system/gallery/assets/social-apple-stroke.svg +4 -0
  74. package/dist/modules/design_system/gallery/assets/social-dropbox-filled.svg +5 -0
  75. package/dist/modules/design_system/gallery/assets/social-dropbox-stroke.svg +5 -0
  76. package/dist/modules/design_system/gallery/assets/social-facebook-filled.svg +4 -0
  77. package/dist/modules/design_system/gallery/assets/social-facebook-stroke.svg +10 -0
  78. package/dist/modules/design_system/gallery/assets/social-github-filled.svg +4 -0
  79. package/dist/modules/design_system/gallery/assets/social-github-stroke.svg +4 -0
  80. package/dist/modules/design_system/gallery/assets/social-google-filled.svg +7 -0
  81. package/dist/modules/design_system/gallery/assets/social-google-stroke.svg +7 -0
  82. package/dist/modules/design_system/gallery/assets/social-linkedin-filled.svg +4 -0
  83. package/dist/modules/design_system/gallery/assets/social-linkedin-stroke.svg +4 -0
  84. package/dist/modules/design_system/gallery/assets/social-x-filled.svg +4 -0
  85. package/dist/modules/design_system/gallery/assets/social-x-stroke.svg +4 -0
  86. package/dist/modules/design_system/gallery/assets/style-studio-product.png +0 -0
  87. package/dist/modules/design_system/gallery/assets/upload-images.js +8 -0
  88. package/dist/modules/design_system/gallery/assets/upload-images.js.map +7 -0
  89. package/dist/modules/design_system/gallery/components/BrandStylePreview.js +74 -0
  90. package/dist/modules/design_system/gallery/components/BrandStylePreview.js.map +7 -0
  91. package/dist/modules/design_system/gallery/components/CodeSnippet.js +31 -31
  92. package/dist/modules/design_system/gallery/components/CodeSnippet.js.map +2 -2
  93. package/dist/modules/design_system/gallery/components/ColorPlayground.js +408 -0
  94. package/dist/modules/design_system/gallery/components/ColorPlayground.js.map +7 -0
  95. package/dist/modules/design_system/gallery/components/ColorStudioCompositions.js +166 -0
  96. package/dist/modules/design_system/gallery/components/ColorStudioCompositions.js.map +7 -0
  97. package/dist/modules/design_system/gallery/components/ColorStudioSpecimen.js +182 -0
  98. package/dist/modules/design_system/gallery/components/ColorStudioSpecimen.js.map +7 -0
  99. package/dist/modules/design_system/gallery/components/CompactEntrySpecimen.js +80 -0
  100. package/dist/modules/design_system/gallery/components/CompactEntrySpecimen.js.map +7 -0
  101. package/dist/modules/design_system/gallery/components/ComponentIndex.js +42 -0
  102. package/dist/modules/design_system/gallery/components/ComponentIndex.js.map +7 -0
  103. package/dist/modules/design_system/gallery/components/DesignSystemHome.js +69 -0
  104. package/dist/modules/design_system/gallery/components/DesignSystemHome.js.map +7 -0
  105. package/dist/modules/design_system/gallery/components/EntryCard.js +47 -41
  106. package/dist/modules/design_system/gallery/components/EntryCard.js.map +2 -2
  107. package/dist/modules/design_system/gallery/components/EntryHeader.js +68 -0
  108. package/dist/modules/design_system/gallery/components/EntryHeader.js.map +7 -0
  109. package/dist/modules/design_system/gallery/components/FamilyEntryPreview.js +19 -0
  110. package/dist/modules/design_system/gallery/components/FamilyEntryPreview.js.map +7 -0
  111. package/dist/modules/design_system/gallery/components/FoundationGuide.js +46 -0
  112. package/dist/modules/design_system/gallery/components/FoundationGuide.js.map +7 -0
  113. package/dist/modules/design_system/gallery/components/GalleryLink.js +21 -0
  114. package/dist/modules/design_system/gallery/components/GalleryLink.js.map +7 -0
  115. package/dist/modules/design_system/gallery/components/GalleryNavigation.js +82 -0
  116. package/dist/modules/design_system/gallery/components/GalleryNavigation.js.map +7 -0
  117. package/dist/modules/design_system/gallery/components/GalleryShell.js +147 -67
  118. package/dist/modules/design_system/gallery/components/GalleryShell.js.map +3 -3
  119. package/dist/modules/design_system/gallery/components/IconsBrowser.js +33 -0
  120. package/dist/modules/design_system/gallery/components/IconsBrowser.js.map +7 -0
  121. package/dist/modules/design_system/gallery/components/SourceLibrary.js +93 -0
  122. package/dist/modules/design_system/gallery/components/SourceLibrary.js.map +7 -0
  123. package/dist/modules/design_system/gallery/components/StyleAgents.js +139 -0
  124. package/dist/modules/design_system/gallery/components/StyleAgents.js.map +7 -0
  125. package/dist/modules/design_system/gallery/components/ThemeTokenReference.js +101 -0
  126. package/dist/modules/design_system/gallery/components/ThemeTokenReference.js.map +7 -0
  127. package/dist/modules/design_system/gallery/components/VariantPreview.js +2 -2
  128. package/dist/modules/design_system/gallery/components/VariantPreview.js.map +2 -2
  129. package/dist/modules/design_system/gallery/components/colorPreview.js +58 -0
  130. package/dist/modules/design_system/gallery/components/colorPreview.js.map +7 -0
  131. package/dist/modules/design_system/gallery/components/colorStudio.js +218 -0
  132. package/dist/modules/design_system/gallery/components/colorStudio.js.map +7 -0
  133. package/dist/modules/design_system/gallery/components/styleAgentBranding.js +46 -0
  134. package/dist/modules/design_system/gallery/components/styleAgentBranding.js.map +7 -0
  135. package/dist/modules/design_system/gallery/components/themeTokens.js +32 -0
  136. package/dist/modules/design_system/gallery/components/themeTokens.js.map +7 -0
  137. package/dist/modules/design_system/gallery/demos/ai-product-code.generated.js +194 -0
  138. package/dist/modules/design_system/gallery/demos/ai-product-code.generated.js.map +7 -0
  139. package/dist/modules/design_system/gallery/demos/ai-product.js +423 -0
  140. package/dist/modules/design_system/gallery/demos/ai-product.js.map +7 -0
  141. package/dist/modules/design_system/gallery/demos/buttons.js +289 -0
  142. package/dist/modules/design_system/gallery/demos/buttons.js.map +7 -0
  143. package/dist/modules/design_system/gallery/demos/cryptocurrency.js +1708 -0
  144. package/dist/modules/design_system/gallery/demos/cryptocurrency.js.map +7 -0
  145. package/dist/modules/design_system/gallery/demos/feeds-code.generated.js +92 -0
  146. package/dist/modules/design_system/gallery/demos/feeds-code.generated.js.map +7 -0
  147. package/dist/modules/design_system/gallery/demos/feeds.js +148 -0
  148. package/dist/modules/design_system/gallery/demos/feeds.js.map +7 -0
  149. package/dist/modules/design_system/gallery/demos/file-upload.js +72 -0
  150. package/dist/modules/design_system/gallery/demos/file-upload.js.map +7 -0
  151. package/dist/modules/design_system/gallery/demos/foundation-reference-data.js +4875 -0
  152. package/dist/modules/design_system/gallery/demos/foundation-reference-data.js.map +7 -0
  153. package/dist/modules/design_system/gallery/demos/foundation-references.js +188 -0
  154. package/dist/modules/design_system/gallery/demos/foundation-references.js.map +7 -0
  155. package/dist/modules/design_system/gallery/demos/key-components-code.generated.js +6 -0
  156. package/dist/modules/design_system/gallery/demos/key-components-code.generated.js.map +7 -0
  157. package/dist/modules/design_system/gallery/demos/key-components.js +127 -0
  158. package/dist/modules/design_system/gallery/demos/key-components.js.map +7 -0
  159. package/dist/modules/design_system/gallery/demos/marketing-controls-code.generated.js +98 -0
  160. package/dist/modules/design_system/gallery/demos/marketing-controls-code.generated.js.map +7 -0
  161. package/dist/modules/design_system/gallery/demos/marketing-controls.js +134 -0
  162. package/dist/modules/design_system/gallery/demos/marketing-controls.js.map +7 -0
  163. package/dist/modules/design_system/gallery/demos/marketing-widgets-code.generated.js +195 -0
  164. package/dist/modules/design_system/gallery/demos/marketing-widgets-code.generated.js.map +7 -0
  165. package/dist/modules/design_system/gallery/demos/marketing-widgets.js +586 -0
  166. package/dist/modules/design_system/gallery/demos/marketing-widgets.js.map +7 -0
  167. package/dist/modules/design_system/gallery/demos/menu-fixtures.js +40 -0
  168. package/dist/modules/design_system/gallery/demos/menu-fixtures.js.map +7 -0
  169. package/dist/modules/design_system/gallery/demos/menu-sources.js +295 -0
  170. package/dist/modules/design_system/gallery/demos/menu-sources.js.map +7 -0
  171. package/dist/modules/design_system/gallery/demos/menus.js +150 -0
  172. package/dist/modules/design_system/gallery/demos/menus.js.map +7 -0
  173. package/dist/modules/design_system/gallery/demos/rating-reviews.js +53 -0
  174. package/dist/modules/design_system/gallery/demos/rating-reviews.js.map +7 -0
  175. package/dist/modules/design_system/gallery/demos/registered-icons.js +104 -0
  176. package/dist/modules/design_system/gallery/demos/registered-icons.js.map +7 -0
  177. package/dist/modules/design_system/gallery/demos/selection-cards.js +99 -0
  178. package/dist/modules/design_system/gallery/demos/selection-cards.js.map +7 -0
  179. package/dist/modules/design_system/gallery/demos/shell-code.generated.js +189 -0
  180. package/dist/modules/design_system/gallery/demos/shell-code.generated.js.map +7 -0
  181. package/dist/modules/design_system/gallery/demos/shell.js +330 -0
  182. package/dist/modules/design_system/gallery/demos/shell.js.map +7 -0
  183. package/dist/modules/design_system/gallery/demos/source-artwork.js +120 -0
  184. package/dist/modules/design_system/gallery/demos/source-artwork.js.map +7 -0
  185. package/dist/modules/design_system/gallery/demos/source-filters-code.generated.js +125 -0
  186. package/dist/modules/design_system/gallery/demos/source-filters-code.generated.js.map +7 -0
  187. package/dist/modules/design_system/gallery/demos/source-filters.js +185 -0
  188. package/dist/modules/design_system/gallery/demos/source-filters.js.map +7 -0
  189. package/dist/modules/design_system/gallery/demos/source-icons.js +69 -0
  190. package/dist/modules/design_system/gallery/demos/source-icons.js.map +7 -0
  191. package/dist/modules/design_system/gallery/demos/table-cells-code.generated.js +150 -0
  192. package/dist/modules/design_system/gallery/demos/table-cells-code.generated.js.map +7 -0
  193. package/dist/modules/design_system/gallery/demos/table-cells.js +181 -0
  194. package/dist/modules/design_system/gallery/demos/table-cells.js.map +7 -0
  195. package/dist/modules/design_system/gallery/demos/text-inputs.js +113 -0
  196. package/dist/modules/design_system/gallery/demos/text-inputs.js.map +7 -0
  197. package/dist/modules/design_system/gallery/demos/time-picker-code.generated.js +41 -0
  198. package/dist/modules/design_system/gallery/demos/time-picker-code.generated.js.map +7 -0
  199. package/dist/modules/design_system/gallery/demos/time-picker.js +41 -0
  200. package/dist/modules/design_system/gallery/demos/time-picker.js.map +7 -0
  201. package/dist/modules/design_system/gallery/entries/banners.js +123 -60
  202. package/dist/modules/design_system/gallery/entries/banners.js.map +2 -2
  203. package/dist/modules/design_system/gallery/entries/buttons-snippets.js +433 -0
  204. package/dist/modules/design_system/gallery/entries/buttons-snippets.js.map +7 -0
  205. package/dist/modules/design_system/gallery/entries/buttons.js +127 -148
  206. package/dist/modules/design_system/gallery/entries/buttons.js.map +2 -2
  207. package/dist/modules/design_system/gallery/entries/charts.js +532 -186
  208. package/dist/modules/design_system/gallery/entries/charts.js.map +2 -2
  209. package/dist/modules/design_system/gallery/entries/dates.js +191 -3
  210. package/dist/modules/design_system/gallery/entries/dates.js.map +2 -2
  211. package/dist/modules/design_system/gallery/entries/detail.js +118 -77
  212. package/dist/modules/design_system/gallery/entries/detail.js.map +2 -2
  213. package/dist/modules/design_system/gallery/entries/display.js +1449 -240
  214. package/dist/modules/design_system/gallery/entries/display.js.map +2 -2
  215. package/dist/modules/design_system/gallery/entries/feedback.js +1058 -132
  216. package/dist/modules/design_system/gallery/entries/feedback.js.map +2 -2
  217. package/dist/modules/design_system/gallery/entries/filters.js +231 -103
  218. package/dist/modules/design_system/gallery/entries/filters.js.map +2 -2
  219. package/dist/modules/design_system/gallery/entries/foundations.js +368 -57
  220. package/dist/modules/design_system/gallery/entries/foundations.js.map +2 -2
  221. package/dist/modules/design_system/gallery/entries/icons.js +29 -91
  222. package/dist/modules/design_system/gallery/entries/icons.js.map +2 -2
  223. package/dist/modules/design_system/gallery/entries/inputs-snippets.js +154 -0
  224. package/dist/modules/design_system/gallery/entries/inputs-snippets.js.map +7 -0
  225. package/dist/modules/design_system/gallery/entries/inputs.js +2043 -306
  226. package/dist/modules/design_system/gallery/entries/inputs.js.map +2 -2
  227. package/dist/modules/design_system/gallery/entries/library.js +20 -0
  228. package/dist/modules/design_system/gallery/entries/library.js.map +7 -0
  229. package/dist/modules/design_system/gallery/entries/messages.js +121 -103
  230. package/dist/modules/design_system/gallery/entries/messages.js.map +2 -2
  231. package/dist/modules/design_system/gallery/entries/navigation.js +676 -103
  232. package/dist/modules/design_system/gallery/entries/navigation.js.map +2 -2
  233. package/dist/modules/design_system/gallery/entries/notifications.js +131 -78
  234. package/dist/modules/design_system/gallery/entries/notifications.js.map +2 -2
  235. package/dist/modules/design_system/gallery/entries/overlays.js +611 -203
  236. package/dist/modules/design_system/gallery/entries/overlays.js.map +2 -2
  237. package/dist/modules/design_system/gallery/entries/scaffolding.js +1175 -120
  238. package/dist/modules/design_system/gallery/entries/scaffolding.js.map +2 -2
  239. package/dist/modules/design_system/gallery/entries/schedule.js +79 -54
  240. package/dist/modules/design_system/gallery/entries/schedule.js.map +2 -2
  241. package/dist/modules/design_system/gallery/presentation.js +108 -0
  242. package/dist/modules/design_system/gallery/presentation.js.map +7 -0
  243. package/dist/modules/design_system/gallery/registry.js +8 -5
  244. package/dist/modules/design_system/gallery/registry.js.map +2 -2
  245. package/dist/modules/design_system/gallery/source-library.generated.js +5 -0
  246. package/dist/modules/design_system/gallery/source-library.generated.js.map +7 -0
  247. package/dist/modules/design_system/i18n/de.json +7167 -0
  248. package/dist/modules/design_system/i18n/en.json +7167 -0
  249. package/dist/modules/design_system/i18n/es.json +7167 -0
  250. package/dist/modules/design_system/i18n/ko.json +7167 -0
  251. package/dist/modules/design_system/i18n/pl.json +7167 -0
  252. package/dist/modules/push_notifications/lib/queue.js +1 -31
  253. package/dist/modules/push_notifications/lib/queue.js.map +2 -2
  254. package/jest.config.cjs +1 -0
  255. package/jest.mocks/image.js +1 -0
  256. package/package.json +8 -8
  257. package/src/modules/catalog/backend/catalog/products/[id]/page.tsx +50 -0
  258. package/src/modules/customers/backend/customers/companies/[id]/page.tsx +2 -1
  259. package/src/modules/customers/backend/customers/companies-v2/[id]/page.tsx +2 -1
  260. package/src/modules/customers/backend/customers/people/[id]/page.tsx +2 -2
  261. package/src/modules/customers/backend/customers/people-v2/[id]/page.tsx +2 -1
  262. package/src/modules/customers/lib/detailHelpers.ts +4 -0
  263. package/src/modules/customers/lib/todoCompatibility.ts +10 -0
  264. package/src/modules/design_system/backend/design-system/page.meta.ts +3 -2
  265. package/src/modules/design_system/gallery/assets/README.md +30 -0
  266. package/src/modules/design_system/gallery/assets/ai-prompt-image.png +0 -0
  267. package/src/modules/design_system/gallery/assets/avatar-illustration.png +0 -0
  268. package/src/modules/design_system/gallery/assets/avatar-memoji.png +0 -0
  269. package/src/modules/design_system/gallery/assets/avatar-photo.png +0 -0
  270. package/src/modules/design_system/gallery/assets/blog-photo-0.png +0 -0
  271. package/src/modules/design_system/gallery/assets/contact-support-portrait.png +0 -0
  272. package/src/modules/design_system/gallery/assets/crypto-ada.png +0 -0
  273. package/src/modules/design_system/gallery/assets/crypto-avax.png +0 -0
  274. package/src/modules/design_system/gallery/assets/crypto-bnb.png +0 -0
  275. package/src/modules/design_system/gallery/assets/crypto-brand.png +0 -0
  276. package/src/modules/design_system/gallery/assets/crypto-btc.png +0 -0
  277. package/src/modules/design_system/gallery/assets/crypto-clock.svg +3 -0
  278. package/src/modules/design_system/gallery/assets/crypto-crown.svg +3 -0
  279. package/src/modules/design_system/gallery/assets/crypto-dot.png +0 -0
  280. package/src/modules/design_system/gallery/assets/crypto-eth.png +0 -0
  281. package/src/modules/design_system/gallery/assets/crypto-hbar.png +0 -0
  282. package/src/modules/design_system/gallery/assets/crypto-history.svg +3 -0
  283. package/src/modules/design_system/gallery/assets/crypto-link.svg +3 -0
  284. package/src/modules/design_system/gallery/assets/crypto-menu.svg +3 -0
  285. package/src/modules/design_system/gallery/assets/crypto-metamask.png +0 -0
  286. package/src/modules/design_system/gallery/assets/crypto-more.svg +3 -0
  287. package/src/modules/design_system/gallery/assets/crypto-phantom.png +0 -0
  288. package/src/modules/design_system/gallery/assets/crypto-rewards.svg +3 -0
  289. package/src/modules/design_system/gallery/assets/crypto-sad-face.png +0 -0
  290. package/src/modules/design_system/gallery/assets/crypto-sol.png +0 -0
  291. package/src/modules/design_system/gallery/assets/crypto-star.svg +3 -0
  292. package/src/modules/design_system/gallery/assets/crypto-status-cancelled.svg +3 -0
  293. package/src/modules/design_system/gallery/assets/crypto-status-pending.svg +3 -0
  294. package/src/modules/design_system/gallery/assets/crypto-status-success.svg +3 -0
  295. package/src/modules/design_system/gallery/assets/crypto-status-warning.svg +3 -0
  296. package/src/modules/design_system/gallery/assets/crypto-trx.png +0 -0
  297. package/src/modules/design_system/gallery/assets/crypto-usdc.png +0 -0
  298. package/src/modules/design_system/gallery/assets/crypto-usdt.png +0 -0
  299. package/src/modules/design_system/gallery/assets/crypto-walletconnect.png +0 -0
  300. package/src/modules/design_system/gallery/assets/crypto-wei.png +0 -0
  301. package/src/modules/design_system/gallery/assets/crypto-xrp.png +0 -0
  302. package/src/modules/design_system/gallery/assets/cryptocurrency-artwork.ts +63 -0
  303. package/src/modules/design_system/gallery/assets/github-logo.png +0 -0
  304. package/src/modules/design_system/gallery/assets/images.d.ts +9 -0
  305. package/src/modules/design_system/gallery/assets/input-european-union.svg +18 -0
  306. package/src/modules/design_system/gallery/assets/landing-teams-01.png +0 -0
  307. package/src/modules/design_system/gallery/assets/marketing-artwork.ts +79 -0
  308. package/src/modules/design_system/gallery/assets/menu-apex.svg +18 -0
  309. package/src/modules/design_system/gallery/assets/menu-mastercard.svg +7 -0
  310. package/src/modules/design_system/gallery/assets/menu-spotify.svg +4 -0
  311. package/src/modules/design_system/gallery/assets/menu-united-states.svg +16 -0
  312. package/src/modules/design_system/gallery/assets/select-google.png +0 -0
  313. package/src/modules/design_system/gallery/assets/select-poland.png +0 -0
  314. package/src/modules/design_system/gallery/assets/selection-artwork.ts +1 -0
  315. package/src/modules/design_system/gallery/assets/social-apple-filled.svg +4 -0
  316. package/src/modules/design_system/gallery/assets/social-apple-stroke.svg +4 -0
  317. package/src/modules/design_system/gallery/assets/social-dropbox-filled.svg +5 -0
  318. package/src/modules/design_system/gallery/assets/social-dropbox-stroke.svg +5 -0
  319. package/src/modules/design_system/gallery/assets/social-facebook-filled.svg +4 -0
  320. package/src/modules/design_system/gallery/assets/social-facebook-stroke.svg +10 -0
  321. package/src/modules/design_system/gallery/assets/social-github-filled.svg +4 -0
  322. package/src/modules/design_system/gallery/assets/social-github-stroke.svg +4 -0
  323. package/src/modules/design_system/gallery/assets/social-google-filled.svg +7 -0
  324. package/src/modules/design_system/gallery/assets/social-google-stroke.svg +7 -0
  325. package/src/modules/design_system/gallery/assets/social-linkedin-filled.svg +4 -0
  326. package/src/modules/design_system/gallery/assets/social-linkedin-stroke.svg +4 -0
  327. package/src/modules/design_system/gallery/assets/social-x-filled.svg +4 -0
  328. package/src/modules/design_system/gallery/assets/social-x-stroke.svg +4 -0
  329. package/src/modules/design_system/gallery/assets/style-studio-product.png +0 -0
  330. package/src/modules/design_system/gallery/assets/upload-images.ts +5 -0
  331. package/src/modules/design_system/gallery/components/BrandStylePreview.tsx +94 -0
  332. package/src/modules/design_system/gallery/components/CodeSnippet.tsx +34 -34
  333. package/src/modules/design_system/gallery/components/ColorPlayground.tsx +324 -0
  334. package/src/modules/design_system/gallery/components/ColorStudioCompositions.tsx +96 -0
  335. package/src/modules/design_system/gallery/components/ColorStudioSpecimen.tsx +164 -0
  336. package/src/modules/design_system/gallery/components/CompactEntrySpecimen.tsx +65 -0
  337. package/src/modules/design_system/gallery/components/ComponentIndex.tsx +47 -0
  338. package/src/modules/design_system/gallery/components/DesignSystemHome.tsx +66 -0
  339. package/src/modules/design_system/gallery/components/EntryCard.tsx +52 -37
  340. package/src/modules/design_system/gallery/components/EntryHeader.tsx +80 -0
  341. package/src/modules/design_system/gallery/components/FamilyEntryPreview.tsx +22 -0
  342. package/src/modules/design_system/gallery/components/FoundationGuide.tsx +43 -0
  343. package/src/modules/design_system/gallery/components/GalleryLink.tsx +19 -0
  344. package/src/modules/design_system/gallery/components/GalleryNavigation.tsx +86 -0
  345. package/src/modules/design_system/gallery/components/GalleryShell.tsx +149 -63
  346. package/src/modules/design_system/gallery/components/IconsBrowser.tsx +40 -0
  347. package/src/modules/design_system/gallery/components/SourceLibrary.tsx +90 -0
  348. package/src/modules/design_system/gallery/components/StyleAgents.tsx +115 -0
  349. package/src/modules/design_system/gallery/components/ThemeTokenReference.tsx +76 -0
  350. package/src/modules/design_system/gallery/components/VariantPreview.tsx +2 -2
  351. package/src/modules/design_system/gallery/components/colorPreview.ts +63 -0
  352. package/src/modules/design_system/gallery/components/colorStudio.ts +260 -0
  353. package/src/modules/design_system/gallery/components/styleAgentBranding.ts +42 -0
  354. package/src/modules/design_system/gallery/components/themeTokens.ts +26 -0
  355. package/src/modules/design_system/gallery/demos/ai-product-code.generated.ts +3 -0
  356. package/src/modules/design_system/gallery/demos/ai-product.tsx +188 -0
  357. package/src/modules/design_system/gallery/demos/buttons.tsx +331 -0
  358. package/src/modules/design_system/gallery/demos/cryptocurrency.tsx +1943 -0
  359. package/src/modules/design_system/gallery/demos/feeds-code.generated.ts +4 -0
  360. package/src/modules/design_system/gallery/demos/feeds.tsx +82 -0
  361. package/src/modules/design_system/gallery/demos/file-upload.tsx +61 -0
  362. package/src/modules/design_system/gallery/demos/foundation-reference-data.ts +4872 -0
  363. package/src/modules/design_system/gallery/demos/foundation-references.tsx +140 -0
  364. package/src/modules/design_system/gallery/demos/key-components-code.generated.ts +3 -0
  365. package/src/modules/design_system/gallery/demos/key-components.tsx +106 -0
  366. package/src/modules/design_system/gallery/demos/marketing-controls-code.generated.ts +3 -0
  367. package/src/modules/design_system/gallery/demos/marketing-controls.tsx +92 -0
  368. package/src/modules/design_system/gallery/demos/marketing-widgets-code.generated.ts +3 -0
  369. package/src/modules/design_system/gallery/demos/marketing-widgets.tsx +189 -0
  370. package/src/modules/design_system/gallery/demos/menu-fixtures.tsx +48 -0
  371. package/src/modules/design_system/gallery/demos/menu-sources.ts +5 -0
  372. package/src/modules/design_system/gallery/demos/menus.tsx +122 -0
  373. package/src/modules/design_system/gallery/demos/rating-reviews.tsx +44 -0
  374. package/src/modules/design_system/gallery/demos/registered-icons.tsx +117 -0
  375. package/src/modules/design_system/gallery/demos/selection-cards.tsx +97 -0
  376. package/src/modules/design_system/gallery/demos/shell-code.generated.ts +3 -0
  377. package/src/modules/design_system/gallery/demos/shell.tsx +183 -0
  378. package/src/modules/design_system/gallery/demos/source-artwork.tsx +88 -0
  379. package/src/modules/design_system/gallery/demos/source-filters-code.generated.ts +3 -0
  380. package/src/modules/design_system/gallery/demos/source-filters.tsx +119 -0
  381. package/src/modules/design_system/gallery/demos/source-icons.tsx +62 -0
  382. package/src/modules/design_system/gallery/demos/table-cells-code.generated.ts +3 -0
  383. package/src/modules/design_system/gallery/demos/table-cells.tsx +144 -0
  384. package/src/modules/design_system/gallery/demos/text-inputs.tsx +90 -0
  385. package/src/modules/design_system/gallery/demos/time-picker-code.generated.ts +5 -0
  386. package/src/modules/design_system/gallery/demos/time-picker.tsx +31 -0
  387. package/src/modules/design_system/gallery/entries/banners.tsx +143 -94
  388. package/src/modules/design_system/gallery/entries/buttons-snippets.ts +432 -0
  389. package/src/modules/design_system/gallery/entries/buttons.tsx +125 -196
  390. package/src/modules/design_system/gallery/entries/charts.tsx +545 -233
  391. package/src/modules/design_system/gallery/entries/dates.tsx +171 -3
  392. package/src/modules/design_system/gallery/entries/detail.tsx +142 -115
  393. package/src/modules/design_system/gallery/entries/display.tsx +1691 -319
  394. package/src/modules/design_system/gallery/entries/feedback.tsx +1082 -169
  395. package/src/modules/design_system/gallery/entries/filters.tsx +238 -143
  396. package/src/modules/design_system/gallery/entries/foundations.tsx +404 -61
  397. package/src/modules/design_system/gallery/entries/icons.tsx +31 -117
  398. package/src/modules/design_system/gallery/entries/inputs-snippets.ts +156 -0
  399. package/src/modules/design_system/gallery/entries/inputs.tsx +2146 -503
  400. package/src/modules/design_system/gallery/entries/library.tsx +16 -0
  401. package/src/modules/design_system/gallery/entries/messages.tsx +114 -106
  402. package/src/modules/design_system/gallery/entries/navigation.tsx +782 -192
  403. package/src/modules/design_system/gallery/entries/notifications.tsx +145 -120
  404. package/src/modules/design_system/gallery/entries/overlays.tsx +696 -280
  405. package/src/modules/design_system/gallery/entries/scaffolding.tsx +1192 -158
  406. package/src/modules/design_system/gallery/entries/schedule.tsx +72 -58
  407. package/src/modules/design_system/gallery/presentation.ts +106 -0
  408. package/src/modules/design_system/gallery/registry.ts +8 -6
  409. package/src/modules/design_system/gallery/source-library.generated.ts +2 -0
  410. package/src/modules/design_system/i18n/de.json +7112 -3
  411. package/src/modules/design_system/i18n/en.json +7112 -3
  412. package/src/modules/design_system/i18n/es.json +7112 -3
  413. package/src/modules/design_system/i18n/ko.json +7112 -3
  414. package/src/modules/design_system/i18n/pl.json +7112 -3
  415. package/src/modules/push_notifications/AGENTS.md +9 -5
  416. package/src/modules/push_notifications/lib/queue.ts +15 -44
@@ -0,0 +1,20 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { SourceLibrary } from "../components/SourceLibrary.js";
3
+ const entries = [{
4
+ id: "source-library",
5
+ title: "Complete source library",
6
+ importPath: "@open-mercato/core/modules/design_system/gallery/components/SourceLibrary",
7
+ descriptionKey: "design_system.gallery.sourceLibrary.boundary",
8
+ variants: [{
9
+ id: "inventory",
10
+ title: "All source pages, component sets and variant axes",
11
+ render: () => /* @__PURE__ */ jsx(SourceLibrary, {}),
12
+ code: `import { SourceLibrary } from '@open-mercato/core/modules/design_system/gallery/components/SourceLibrary'
13
+
14
+ <SourceLibrary />`
15
+ }]
16
+ }];
17
+ export {
18
+ entries
19
+ };
20
+ //# sourceMappingURL=library.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../src/modules/design_system/gallery/entries/library.tsx"],
4
+ "sourcesContent": ["import * as React from 'react'\nimport { SourceLibrary } from '../components/SourceLibrary'\nimport type { GalleryEntry } from '../types'\n\nexport const entries: GalleryEntry[] = [{\n id: 'source-library',\n title: 'Complete source library',\n importPath: '@open-mercato/core/modules/design_system/gallery/components/SourceLibrary',\n descriptionKey: 'design_system.gallery.sourceLibrary.boundary',\n variants: [{\n id: 'inventory',\n title: 'All source pages, component sets and variant axes',\n render: () => <SourceLibrary />,\n code: `import { SourceLibrary } from '@open-mercato/core/modules/design_system/gallery/components/SourceLibrary'\\n\\n<SourceLibrary />`,\n }],\n}]\n"],
5
+ "mappings": "AAYkB;AAXlB,SAAS,qBAAqB;AAGvB,MAAM,UAA0B,CAAC;AAAA,EACtC,IAAI;AAAA,EACJ,OAAO;AAAA,EACP,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAChB,UAAU,CAAC;AAAA,IACT,IAAI;AAAA,IACJ,OAAO;AAAA,IACP,QAAQ,MAAM,oBAAC,iBAAc;AAAA,IAC7B,MAAM;AAAA;AAAA;AAAA,EACR,CAAC;AACH,CAAC;",
6
+ "names": []
7
+ }
@@ -1,15 +1,98 @@
1
1
  import { jsx } from "react/jsx-runtime";
2
+ import { useT } from "@open-mercato/shared/lib/i18n/context";
2
3
  import * as React from "react";
3
- import {
4
- EmailThreadsPanel,
5
- MessageObjectPreview
6
- } from "@open-mercato/ui/backend/messages";
4
+ import { EmailThreadsPanel, MessageObjectPreview } from "@open-mercato/ui/backend/messages";
7
5
  import { MessagePrioritySelector } from "@open-mercato/ui/backend/messages/MessagePrioritySelector";
8
- const sampleThreads = [
6
+ function EmailThreadsPanelEntryReadOnlyPreview() {
7
+ const t = useT();
8
+ return /* @__PURE__ */ jsx(
9
+ EmailThreadsPanel,
10
+ {
11
+ threads: sampleThreads(t),
12
+ canCompose: false,
13
+ composeDisabledHint: /* @__PURE__ */ jsx("span", { className: "text-sm text-muted-foreground", children: t("design_system.gallery.samples.content.connectAnEmailProviderToReplyFromHere") }),
14
+ onRefresh: () => {
15
+ },
16
+ className: "w-full"
17
+ }
18
+ );
19
+ }
20
+ function MessageObjectPreviewEntryPreviewDataPreview() {
21
+ const t = useT();
22
+ return /* @__PURE__ */ jsx(
23
+ MessageObjectPreview,
24
+ {
25
+ entityId: "order-10241",
26
+ entityModule: "sales",
27
+ entityType: "order",
28
+ previewData: {
29
+ title: t("design_system.gallery.samples.content.order10241"),
30
+ subtitle: t("design_system.gallery.samples.content.annaNowak3Items"),
31
+ status: "processing"
32
+ }
33
+ }
34
+ );
35
+ }
36
+ function MessageObjectPreviewEntryActionRequiredPreview() {
37
+ const t = useT();
38
+ return /* @__PURE__ */ jsx(
39
+ MessageObjectPreview,
40
+ {
41
+ entityId: "return-1182",
42
+ entityModule: "sales",
43
+ entityType: "return",
44
+ actionRequired: true,
45
+ actionLabel: t("design_system.gallery.samples.content.approveReturn"),
46
+ previewData: {
47
+ title: t("design_system.gallery.samples.content.returnRequest1182"),
48
+ subtitle: t("design_system.gallery.samples.content.order10241AnnaNowak"),
49
+ metadata: {
50
+ total: "EUR 412.00",
51
+ due: "Jun 15, 2026"
52
+ }
53
+ }
54
+ }
55
+ );
56
+ }
57
+ function EmailThreadsPanelEntryConversationsPreview() {
58
+ const t = useT();
59
+ return /* @__PURE__ */ jsx(
60
+ EmailThreadsPanel,
61
+ {
62
+ threads: sampleThreads(t),
63
+ canCompose: true,
64
+ onComposeNew: () => {
65
+ },
66
+ onReply: () => {
67
+ },
68
+ onRefresh: () => {
69
+ },
70
+ className: "w-full"
71
+ }
72
+ );
73
+ }
74
+ function EmailThreadsPanelEntryOptimisticStatusPreview() {
75
+ const t = useT();
76
+ return /* @__PURE__ */ jsx(
77
+ EmailThreadsPanel,
78
+ {
79
+ threads: optimisticThread(t),
80
+ canCompose: true,
81
+ onComposeNew: () => {
82
+ },
83
+ onReply: () => {
84
+ },
85
+ onRetry: () => {
86
+ },
87
+ className: "w-full"
88
+ }
89
+ );
90
+ }
91
+ const sampleThreads = (t) => [
9
92
  {
10
93
  threadKey: "thread-fitting",
11
- subject: "Fitting appointment \u2014 June 12",
12
- preview: "Great, see you Friday at 10:00.",
94
+ subject: t("design_system.gallery.samples.content.fittingAppointmentJune12"),
95
+ preview: t("design_system.gallery.samples.content.greatSeeYouFridayAt1000"),
13
96
  participants: ["anna.nowak@example.com"],
14
97
  lastMessageAt: "2026-06-10T14:05:00.000Z",
15
98
  messageCount: 2,
@@ -22,12 +105,12 @@ const sampleThreads = [
22
105
  rfcMessageId: "<fitting-1@example.com>",
23
106
  references: [],
24
107
  direction: "outbound",
25
- fromName: "Studio Team",
108
+ fromName: t("design_system.gallery.samples.content.studioTeam"),
26
109
  fromEmail: "studio@example.com",
27
110
  to: ["anna.nowak@example.com"],
28
111
  cc: [],
29
- subject: "Fitting appointment \u2014 June 12",
30
- bodyText: "Hi Anna, we can offer Friday June 12 at 10:00. Does that work for you?",
112
+ subject: t("design_system.gallery.samples.content.fittingAppointmentJune12"),
113
+ bodyText: t("design_system.gallery.samples.content.hiAnnaWeCanOfferFridayJune12At1000DoesThatWorkForYou"),
31
114
  sentAt: "2026-06-10T09:24:00.000Z",
32
115
  providerKey: "gmail"
33
116
  },
@@ -41,8 +124,8 @@ const sampleThreads = [
41
124
  fromEmail: "anna.nowak@example.com",
42
125
  to: ["studio@example.com"],
43
126
  cc: [],
44
- subject: "Re: Fitting appointment \u2014 June 12",
45
- bodyText: "Great, see you Friday at 10:00.",
127
+ subject: t("design_system.gallery.samples.content.reFittingAppointmentJune12"),
128
+ bodyText: t("design_system.gallery.samples.content.greatSeeYouFridayAt1000"),
46
129
  sentAt: "2026-06-10T14:05:00.000Z",
47
130
  providerKey: "gmail"
48
131
  }
@@ -50,8 +133,8 @@ const sampleThreads = [
50
133
  },
51
134
  {
52
135
  threadKey: "thread-invoice",
53
- subject: "Invoice 2026-118",
54
- preview: "Attached is the corrected invoice for May.",
136
+ subject: t("design_system.gallery.samples.content.invoice2026118"),
137
+ preview: t("design_system.gallery.samples.content.attachedIsTheCorrectedInvoiceForMay"),
55
138
  participants: ["billing@acme.example.com"],
56
139
  lastMessageAt: "2026-06-08T08:12:00.000Z",
57
140
  messageCount: 1,
@@ -64,23 +147,23 @@ const sampleThreads = [
64
147
  rfcMessageId: "<invoice-1@example.com>",
65
148
  references: [],
66
149
  direction: "inbound",
67
- fromName: "Acme Billing",
150
+ fromName: t("design_system.gallery.samples.content.acmeBilling"),
68
151
  fromEmail: "billing@acme.example.com",
69
152
  to: ["studio@example.com"],
70
153
  cc: ["accounting@example.com"],
71
- subject: "Invoice 2026-118",
72
- bodyText: "Attached is the corrected invoice for May.",
154
+ subject: t("design_system.gallery.samples.content.invoice2026118"),
155
+ bodyText: t("design_system.gallery.samples.content.attachedIsTheCorrectedInvoiceForMay"),
73
156
  sentAt: "2026-06-08T08:12:00.000Z",
74
157
  providerKey: "gmail"
75
158
  }
76
159
  ]
77
160
  }
78
161
  ];
79
- const optimisticThread = [
162
+ const optimisticThread = (t) => [
80
163
  {
81
164
  threadKey: "thread-optimistic",
82
- subject: "Order 10241 \u2014 delivery update",
83
- preview: "Your order ships tomorrow.",
165
+ subject: t("design_system.gallery.samples.content.order10241DeliveryUpdate"),
166
+ preview: t("design_system.gallery.samples.content.yourOrderShipsTomorrow"),
84
167
  participants: ["jan.kowalski@example.com"],
85
168
  lastMessageAt: "2026-06-11T16:40:00.000Z",
86
169
  messageCount: 3,
@@ -93,12 +176,12 @@ const optimisticThread = [
93
176
  rfcMessageId: null,
94
177
  references: [],
95
178
  direction: "outbound",
96
- fromName: "Studio Team",
179
+ fromName: t("design_system.gallery.samples.content.studioTeam"),
97
180
  fromEmail: "studio@example.com",
98
181
  to: ["jan.kowalski@example.com"],
99
182
  cc: [],
100
- subject: "Order 10241 \u2014 delivery update",
101
- bodyText: "Your order ships tomorrow.",
183
+ subject: t("design_system.gallery.samples.content.order10241DeliveryUpdate"),
184
+ bodyText: t("design_system.gallery.samples.content.yourOrderShipsTomorrow"),
102
185
  sentAt: "2026-06-11T16:38:00.000Z",
103
186
  providerKey: "gmail",
104
187
  status: "sent"
@@ -109,12 +192,12 @@ const optimisticThread = [
109
192
  rfcMessageId: null,
110
193
  references: [],
111
194
  direction: "outbound",
112
- fromName: "Studio Team",
195
+ fromName: t("design_system.gallery.samples.content.studioTeam"),
113
196
  fromEmail: "studio@example.com",
114
197
  to: ["jan.kowalski@example.com"],
115
198
  cc: [],
116
- subject: "Re: Order 10241 \u2014 delivery update",
117
- bodyText: "Tracking number follows in a separate email.",
199
+ subject: t("design_system.gallery.samples.content.reOrder10241DeliveryUpdate"),
200
+ bodyText: t("design_system.gallery.samples.content.trackingNumberFollowsInASeparateEmail"),
118
201
  sentAt: "2026-06-11T16:39:00.000Z",
119
202
  providerKey: "gmail",
120
203
  status: "sending"
@@ -125,16 +208,16 @@ const optimisticThread = [
125
208
  rfcMessageId: null,
126
209
  references: [],
127
210
  direction: "outbound",
128
- fromName: "Studio Team",
211
+ fromName: t("design_system.gallery.samples.content.studioTeam"),
129
212
  fromEmail: "studio@example.com",
130
213
  to: ["jan.kowalski@example.com"],
131
214
  cc: [],
132
- subject: "Re: Order 10241 \u2014 delivery update",
133
- bodyText: "Here is the tracking link.",
215
+ subject: t("design_system.gallery.samples.content.reOrder10241DeliveryUpdate"),
216
+ bodyText: t("design_system.gallery.samples.content.hereIsTheTrackingLink"),
134
217
  sentAt: "2026-06-11T16:40:00.000Z",
135
218
  providerKey: "gmail",
136
219
  status: "failed",
137
- statusError: "Mailbox temporarily unavailable."
220
+ statusError: t("design_system.gallery.samples.content.mailboxTemporarilyUnavailable")
138
221
  }
139
222
  ]
140
223
  }
@@ -147,20 +230,7 @@ const emailThreadsPanelEntry = {
147
230
  {
148
231
  id: "conversations",
149
232
  title: "Conversations",
150
- render: () => /* @__PURE__ */ jsx(
151
- EmailThreadsPanel,
152
- {
153
- threads: sampleThreads,
154
- canCompose: true,
155
- onComposeNew: () => {
156
- },
157
- onReply: () => {
158
- },
159
- onRefresh: () => {
160
- },
161
- className: "w-full"
162
- }
163
- ),
233
+ render: () => /* @__PURE__ */ jsx(EmailThreadsPanelEntryConversationsPreview, {}),
164
234
  code: `import { EmailThreadsPanel, type EmailThread } from '@open-mercato/ui/backend/messages'
165
235
 
166
236
  <EmailThreadsPanel
@@ -174,20 +244,7 @@ const emailThreadsPanelEntry = {
174
244
  {
175
245
  id: "optimistic-status",
176
246
  title: "Optimistic send status",
177
- render: () => /* @__PURE__ */ jsx(
178
- EmailThreadsPanel,
179
- {
180
- threads: optimisticThread,
181
- canCompose: true,
182
- onComposeNew: () => {
183
- },
184
- onReply: () => {
185
- },
186
- onRetry: () => {
187
- },
188
- className: "w-full"
189
- }
190
- ),
247
+ render: () => /* @__PURE__ */ jsx(EmailThreadsPanelEntryOptimisticStatusPreview, {}),
191
248
  code: `import { EmailThreadsPanel } from '@open-mercato/ui/backend/messages'
192
249
 
193
250
  // Messages carry status: 'sending' | 'sent' | 'failed' via mergeOptimisticEmailThreads
@@ -211,17 +268,7 @@ const emailThreadsPanelEntry = {
211
268
  {
212
269
  id: "read-only",
213
270
  title: "Read-only (compose disabled)",
214
- render: () => /* @__PURE__ */ jsx(
215
- EmailThreadsPanel,
216
- {
217
- threads: sampleThreads,
218
- canCompose: false,
219
- composeDisabledHint: /* @__PURE__ */ jsx("span", { className: "text-sm text-muted-foreground", children: "Connect an email provider to reply from here." }),
220
- onRefresh: () => {
221
- },
222
- className: "w-full"
223
- }
224
- ),
271
+ render: () => /* @__PURE__ */ jsx(EmailThreadsPanelEntryReadOnlyPreview, {}),
225
272
  code: `import { EmailThreadsPanel } from '@open-mercato/ui/backend/messages'
226
273
 
227
274
  <EmailThreadsPanel
@@ -235,8 +282,9 @@ const emailThreadsPanelEntry = {
235
282
  };
236
283
  const galleryT = (key, fallback) => fallback ?? key;
237
284
  function DemoMessagePrioritySelector() {
285
+ const t = useT();
238
286
  const [value, setValue] = React.useState("high");
239
- return /* @__PURE__ */ jsx(MessagePrioritySelector, { value, onChange: setValue, t: galleryT });
287
+ return /* @__PURE__ */ jsx(MessagePrioritySelector, { value, onChange: setValue, t });
240
288
  }
241
289
  const messagePrioritySelectorEntry = {
242
290
  id: "message-priority-selector",
@@ -266,19 +314,7 @@ const messageObjectPreviewEntry = {
266
314
  {
267
315
  id: "preview-data",
268
316
  title: "Preview data",
269
- render: () => /* @__PURE__ */ jsx(
270
- MessageObjectPreview,
271
- {
272
- entityId: "order-10241",
273
- entityModule: "sales",
274
- entityType: "order",
275
- previewData: {
276
- title: "Order #10241",
277
- subtitle: "Anna Nowak \u2014 3 items",
278
- status: "processing"
279
- }
280
- }
281
- ),
317
+ render: () => /* @__PURE__ */ jsx(MessageObjectPreviewEntryPreviewDataPreview, {}),
282
318
  code: `import { MessageObjectPreview } from '@open-mercato/ui/backend/messages'
283
319
 
284
320
  <MessageObjectPreview
@@ -291,21 +327,7 @@ const messageObjectPreviewEntry = {
291
327
  {
292
328
  id: "action-required",
293
329
  title: "Action required with metadata",
294
- render: () => /* @__PURE__ */ jsx(
295
- MessageObjectPreview,
296
- {
297
- entityId: "return-1182",
298
- entityModule: "sales",
299
- entityType: "return",
300
- actionRequired: true,
301
- actionLabel: "Approve return",
302
- previewData: {
303
- title: "Return request #1182",
304
- subtitle: "Order #10241 \u2014 Anna Nowak",
305
- metadata: { total: "EUR 412.00", due: "Jun 15, 2026" }
306
- }
307
- }
308
- ),
330
+ render: () => /* @__PURE__ */ jsx(MessageObjectPreviewEntryActionRequiredPreview, {}),
309
331
  code: `import { MessageObjectPreview } from '@open-mercato/ui/backend/messages'
310
332
 
311
333
  <MessageObjectPreview
@@ -323,11 +345,7 @@ const messageObjectPreviewEntry = {
323
345
  }
324
346
  ]
325
347
  };
326
- const entries = [
327
- emailThreadsPanelEntry,
328
- messagePrioritySelectorEntry,
329
- messageObjectPreviewEntry
330
- ];
348
+ const entries = [emailThreadsPanelEntry, messagePrioritySelectorEntry, messageObjectPreviewEntry];
331
349
  export {
332
350
  entries
333
351
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../src/modules/design_system/gallery/entries/messages.tsx"],
4
- "sourcesContent": ["import * as React from 'react'\nimport {\n EmailThreadsPanel,\n MessageObjectPreview,\n type EmailThread,\n} from '@open-mercato/ui/backend/messages'\nimport { MessagePrioritySelector } from '@open-mercato/ui/backend/messages/MessagePrioritySelector'\nimport type { MessagePriority } from '@open-mercato/ui/backend/messages/message-priority'\nimport type { GalleryEntry } from '../types'\n\n// Component titles and variant names are proper nouns from the codebase and\n// are deliberately not translated. `code` MUST contain the entry's importPath\n// (enforced by the registry-integrity test) and is always reviewed alongside\n// its sibling `render`.\n\n// Fixed sample timestamps (June 2026) \u2014 previews must not depend on \"today\".\nconst sampleThreads: EmailThread[] = [\n {\n threadKey: 'thread-fitting',\n subject: 'Fitting appointment \u2014 June 12',\n preview: 'Great, see you Friday at 10:00.',\n participants: ['anna.nowak@example.com'],\n lastMessageAt: '2026-06-10T14:05:00.000Z',\n messageCount: 2,\n providerKey: 'gmail',\n lastDirection: 'inbound',\n messages: [\n {\n id: 'msg-fitting-1',\n messageId: null,\n rfcMessageId: '<fitting-1@example.com>',\n references: [],\n direction: 'outbound',\n fromName: 'Studio Team',\n fromEmail: 'studio@example.com',\n to: ['anna.nowak@example.com'],\n cc: [],\n subject: 'Fitting appointment \u2014 June 12',\n bodyText: 'Hi Anna, we can offer Friday June 12 at 10:00. Does that work for you?',\n sentAt: '2026-06-10T09:24:00.000Z',\n providerKey: 'gmail',\n },\n {\n id: 'msg-fitting-2',\n messageId: null,\n rfcMessageId: '<fitting-2@example.com>',\n references: ['<fitting-1@example.com>'],\n direction: 'inbound',\n fromName: 'Anna Nowak',\n fromEmail: 'anna.nowak@example.com',\n to: ['studio@example.com'],\n cc: [],\n subject: 'Re: Fitting appointment \u2014 June 12',\n bodyText: 'Great, see you Friday at 10:00.',\n sentAt: '2026-06-10T14:05:00.000Z',\n providerKey: 'gmail',\n },\n ],\n },\n {\n threadKey: 'thread-invoice',\n subject: 'Invoice 2026-118',\n preview: 'Attached is the corrected invoice for May.',\n participants: ['billing@acme.example.com'],\n lastMessageAt: '2026-06-08T08:12:00.000Z',\n messageCount: 1,\n providerKey: 'gmail',\n lastDirection: 'inbound',\n messages: [\n {\n id: 'msg-invoice-1',\n messageId: null,\n rfcMessageId: '<invoice-1@example.com>',\n references: [],\n direction: 'inbound',\n fromName: 'Acme Billing',\n fromEmail: 'billing@acme.example.com',\n to: ['studio@example.com'],\n cc: ['accounting@example.com'],\n subject: 'Invoice 2026-118',\n bodyText: 'Attached is the corrected invoice for May.',\n sentAt: '2026-06-08T08:12:00.000Z',\n providerKey: 'gmail',\n },\n ],\n },\n]\n\nconst optimisticThread: EmailThread[] = [\n {\n threadKey: 'thread-optimistic',\n subject: 'Order 10241 \u2014 delivery update',\n preview: 'Your order ships tomorrow.',\n participants: ['jan.kowalski@example.com'],\n lastMessageAt: '2026-06-11T16:40:00.000Z',\n messageCount: 3,\n providerKey: 'gmail',\n lastDirection: 'outbound',\n messages: [\n {\n id: 'msg-opt-1',\n messageId: null,\n rfcMessageId: null,\n references: [],\n direction: 'outbound',\n fromName: 'Studio Team',\n fromEmail: 'studio@example.com',\n to: ['jan.kowalski@example.com'],\n cc: [],\n subject: 'Order 10241 \u2014 delivery update',\n bodyText: 'Your order ships tomorrow.',\n sentAt: '2026-06-11T16:38:00.000Z',\n providerKey: 'gmail',\n status: 'sent',\n },\n {\n id: 'msg-opt-2',\n messageId: null,\n rfcMessageId: null,\n references: [],\n direction: 'outbound',\n fromName: 'Studio Team',\n fromEmail: 'studio@example.com',\n to: ['jan.kowalski@example.com'],\n cc: [],\n subject: 'Re: Order 10241 \u2014 delivery update',\n bodyText: 'Tracking number follows in a separate email.',\n sentAt: '2026-06-11T16:39:00.000Z',\n providerKey: 'gmail',\n status: 'sending',\n },\n {\n id: 'msg-opt-3',\n messageId: null,\n rfcMessageId: null,\n references: [],\n direction: 'outbound',\n fromName: 'Studio Team',\n fromEmail: 'studio@example.com',\n to: ['jan.kowalski@example.com'],\n cc: [],\n subject: 'Re: Order 10241 \u2014 delivery update',\n bodyText: 'Here is the tracking link.',\n sentAt: '2026-06-11T16:40:00.000Z',\n providerKey: 'gmail',\n status: 'failed',\n statusError: 'Mailbox temporarily unavailable.',\n },\n ],\n },\n]\n\nconst emailThreadsPanelEntry: GalleryEntry = {\n id: 'email-threads-panel',\n title: 'EmailThreadsPanel',\n importPath: '@open-mercato/ui/backend/messages',\n variants: [\n {\n id: 'conversations',\n title: 'Conversations',\n render: () => (\n <EmailThreadsPanel\n threads={sampleThreads}\n canCompose\n onComposeNew={() => {}}\n onReply={() => {}}\n onRefresh={() => {}}\n className=\"w-full\"\n />\n ),\n code: `import { EmailThreadsPanel, type EmailThread } from '@open-mercato/ui/backend/messages'\n\n<EmailThreadsPanel\n threads={threads /* EmailThread[] fetched by the host page */}\n canCompose\n onComposeNew={() => openComposer()}\n onReply={(thread) => openReply(thread)}\n onRefresh={() => refetch()}\n/>`,\n },\n {\n id: 'optimistic-status',\n title: 'Optimistic send status',\n render: () => (\n <EmailThreadsPanel\n threads={optimisticThread}\n canCompose\n onComposeNew={() => {}}\n onReply={() => {}}\n onRetry={() => {}}\n className=\"w-full\"\n />\n ),\n code: `import { EmailThreadsPanel } from '@open-mercato/ui/backend/messages'\n\n// Messages carry status: 'sending' | 'sent' | 'failed' via mergeOptimisticEmailThreads\n<EmailThreadsPanel\n threads={threads}\n canCompose\n onComposeNew={() => openComposer()}\n onReply={(thread) => openReply(thread)}\n onRetry={(message) => resend(message)}\n/>`,\n },\n {\n id: 'empty',\n title: 'Empty state',\n render: () => (\n <EmailThreadsPanel threads={[]} canCompose onComposeNew={() => {}} className=\"w-full\" />\n ),\n code: `import { EmailThreadsPanel } from '@open-mercato/ui/backend/messages'\n\n<EmailThreadsPanel threads={[]} canCompose onComposeNew={() => openComposer()} />`,\n },\n {\n id: 'read-only',\n title: 'Read-only (compose disabled)',\n render: () => (\n <EmailThreadsPanel\n threads={sampleThreads}\n canCompose={false}\n composeDisabledHint={\n <span className=\"text-sm text-muted-foreground\">\n Connect an email provider to reply from here.\n </span>\n }\n onRefresh={() => {}}\n className=\"w-full\"\n />\n ),\n code: `import { EmailThreadsPanel } from '@open-mercato/ui/backend/messages'\n\n<EmailThreadsPanel\n threads={threads}\n canCompose={false}\n composeDisabledHint={<span className=\"text-sm text-muted-foreground\">Connect an email provider to reply from here.</span>}\n onRefresh={() => refetch()}\n/>`,\n },\n ],\n}\n\nconst galleryT = (key: string, fallback?: string) => fallback ?? key\n\nfunction DemoMessagePrioritySelector() {\n const [value, setValue] = React.useState<MessagePriority>('high')\n return <MessagePrioritySelector value={value} onChange={setValue} t={galleryT} />\n}\n\nconst messagePrioritySelectorEntry: GalleryEntry = {\n id: 'message-priority-selector',\n title: 'MessagePrioritySelector',\n importPath: '@open-mercato/ui/backend/messages/MessagePrioritySelector',\n variants: [\n {\n id: 'interactive',\n title: 'Interactive (presentational core of the API-wired MessageComposer)',\n render: () => <DemoMessagePrioritySelector />,\n code: `import { MessagePrioritySelector } from '@open-mercato/ui/backend/messages/MessagePrioritySelector'\nimport type { MessagePriority } from '@open-mercato/ui/backend/messages/message-priority'\n\nconst [value, setValue] = React.useState<MessagePriority>('high')\n\n// Inside MessageComposer priorities come through defaultValues.priority;\n// standalone usage is fully controlled.\n<MessagePrioritySelector value={value} onChange={setValue} t={t} />`,\n },\n ],\n}\n\nconst messageObjectPreviewEntry: GalleryEntry = {\n id: 'message-object-preview',\n title: 'MessageObjectPreview',\n importPath: '@open-mercato/ui/backend/messages',\n variants: [\n {\n id: 'preview-data',\n title: 'Preview data',\n render: () => (\n <MessageObjectPreview\n entityId=\"order-10241\"\n entityModule=\"sales\"\n entityType=\"order\"\n previewData={{\n title: 'Order #10241',\n subtitle: 'Anna Nowak \u2014 3 items',\n status: 'processing',\n }}\n />\n ),\n code: `import { MessageObjectPreview } from '@open-mercato/ui/backend/messages'\n\n<MessageObjectPreview\n entityId=\"order-10241\"\n entityModule=\"sales\"\n entityType=\"order\"\n previewData={{ title: 'Order #10241', subtitle: 'Anna Nowak \u2014 3 items', status: 'processing' }}\n/>`,\n },\n {\n id: 'action-required',\n title: 'Action required with metadata',\n render: () => (\n <MessageObjectPreview\n entityId=\"return-1182\"\n entityModule=\"sales\"\n entityType=\"return\"\n actionRequired\n actionLabel=\"Approve return\"\n previewData={{\n title: 'Return request #1182',\n subtitle: 'Order #10241 \u2014 Anna Nowak',\n metadata: { total: 'EUR 412.00', due: 'Jun 15, 2026' },\n }}\n />\n ),\n code: `import { MessageObjectPreview } from '@open-mercato/ui/backend/messages'\n\n<MessageObjectPreview\n entityId=\"return-1182\"\n entityModule=\"sales\"\n entityType=\"return\"\n actionRequired\n actionLabel=\"Approve return\"\n previewData={{\n title: 'Return request #1182',\n subtitle: 'Order #10241 \u2014 Anna Nowak',\n metadata: { total: 'EUR 412.00', due: 'Jun 15, 2026' },\n }}\n/>`,\n },\n ],\n}\n\nexport const entries: GalleryEntry[] = [\n emailThreadsPanelEntry,\n messagePrioritySelectorEntry,\n messageObjectPreviewEntry,\n]\n"],
5
- "mappings": "AAiKQ;AAjKR,YAAY,WAAW;AACvB;AAAA,EACE;AAAA,EACA;AAAA,OAEK;AACP,SAAS,+BAA+B;AAUxC,MAAM,gBAA+B;AAAA,EACnC;AAAA,IACE,WAAW;AAAA,IACX,SAAS;AAAA,IACT,SAAS;AAAA,IACT,cAAc,CAAC,wBAAwB;AAAA,IACvC,eAAe;AAAA,IACf,cAAc;AAAA,IACd,aAAa;AAAA,IACb,eAAe;AAAA,IACf,UAAU;AAAA,MACR;AAAA,QACE,IAAI;AAAA,QACJ,WAAW;AAAA,QACX,cAAc;AAAA,QACd,YAAY,CAAC;AAAA,QACb,WAAW;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ACJ,OAAO;AAAA,MACP,QAAQ,MAAM,oBAAC,+BAA4B;AAAA,MAC3C,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQR;AAAA,EACF;AACF;AAEA,MAAM,4BAA0C;AAAA,EAC9C,IAAI;AAAA,EACJ,OAAO;AAAA,EACP,YAAY;AAAA,EACZ,UAAU;AAAA,IACR;AAAA,MACE,IAAI;AAAA,MACJ,OAAO;AAAA,MACP,QAAQ,MACN;AAAA,QAAC;AAAA;AAAA,UACC,UAAS;AAAA,UACT,cAAa;AAAA,UACb,YAAW;AAAA,UACX,aAAa;AAAA,YACX,OAAO;AAAA,YACP,UAAU;AAAA,YACV,QAAQ;AAAA,UACV;AAAA;AAAA,MACF;AAAA,MAEF,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAQR;AAAA,IACA;AAAA,MACE,IAAI;AAAA,MACJ,OAAO;AAAA,MACP,QAAQ,MACN;AAAA,QAAC;AAAA;AAAA,UACC,UAAS;AAAA,UACT,cAAa;AAAA,UACb,YAAW;AAAA,UACX,gBAAc;AAAA,UACd,aAAY;AAAA,UACZ,aAAa;AAAA,YACX,OAAO;AAAA,YACP,UAAU;AAAA,YACV,UAAU,EAAE,OAAO,cAAc,KAAK,eAAe;AAAA,UACvD;AAAA;AAAA,MACF;AAAA,MAEF,MAAM;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAcR;AAAA,EACF;AACF;AAEO,MAAM,UAA0B;AAAA,EACrC;AAAA,EACA;AAAA,EACA;AACF;",
4
+ "sourcesContent": ["import { useT } from '@open-mercato/shared/lib/i18n/context'\nimport * as React from 'react'\nimport { EmailThreadsPanel, MessageObjectPreview, type EmailThread } from '@open-mercato/ui/backend/messages'\nimport { MessagePrioritySelector } from '@open-mercato/ui/backend/messages/MessagePrioritySelector'\nimport type { MessagePriority } from '@open-mercato/ui/backend/messages/message-priority'\nimport type { GalleryEntry } from '../types'\n\n// Component titles and variant names are proper nouns from the codebase and\n// are deliberately not translated. `code` MUST contain the entry's importPath\n// (enforced by the registry-integrity test) and is always reviewed alongside\n// its sibling `render`.\n\n// Fixed sample timestamps (June 2026) \u2014 previews must not depend on \"today\".\nfunction EmailThreadsPanelEntryReadOnlyPreview() {\n const t = useT()\n return (\n <EmailThreadsPanel\n threads={sampleThreads(t)}\n canCompose={false}\n composeDisabledHint={\n <span className=\"text-sm text-muted-foreground\">\n {t('design_system.gallery.samples.content.connectAnEmailProviderToReplyFromHere')}\n </span>\n }\n onRefresh={() => {}}\n className=\"w-full\"\n />\n )\n}\nfunction MessageObjectPreviewEntryPreviewDataPreview() {\n const t = useT()\n return (\n <MessageObjectPreview\n entityId=\"order-10241\"\n entityModule=\"sales\"\n entityType=\"order\"\n previewData={{\n title: t('design_system.gallery.samples.content.order10241'),\n subtitle: t('design_system.gallery.samples.content.annaNowak3Items'),\n status: 'processing',\n }}\n />\n )\n}\nfunction MessageObjectPreviewEntryActionRequiredPreview() {\n const t = useT()\n return (\n <MessageObjectPreview\n entityId=\"return-1182\"\n entityModule=\"sales\"\n entityType=\"return\"\n actionRequired\n actionLabel={t('design_system.gallery.samples.content.approveReturn')}\n previewData={{\n title: t('design_system.gallery.samples.content.returnRequest1182'),\n subtitle: t('design_system.gallery.samples.content.order10241AnnaNowak'),\n metadata: {\n total: 'EUR 412.00',\n due: 'Jun 15, 2026',\n },\n }}\n />\n )\n}\nfunction EmailThreadsPanelEntryConversationsPreview() {\n const t = useT()\n return (\n <EmailThreadsPanel\n threads={sampleThreads(t)}\n canCompose\n onComposeNew={() => {}}\n onReply={() => {}}\n onRefresh={() => {}}\n className=\"w-full\"\n />\n )\n}\nfunction EmailThreadsPanelEntryOptimisticStatusPreview() {\n const t = useT()\n return (\n <EmailThreadsPanel\n threads={optimisticThread(t)}\n canCompose\n onComposeNew={() => {}}\n onReply={() => {}}\n onRetry={() => {}}\n className=\"w-full\"\n />\n )\n}\nconst sampleThreads = (t: ReturnType<typeof useT>): EmailThread[] => [\n {\n threadKey: 'thread-fitting',\n subject: t('design_system.gallery.samples.content.fittingAppointmentJune12'),\n preview: t('design_system.gallery.samples.content.greatSeeYouFridayAt1000'),\n participants: ['anna.nowak@example.com'],\n lastMessageAt: '2026-06-10T14:05:00.000Z',\n messageCount: 2,\n providerKey: 'gmail',\n lastDirection: 'inbound',\n messages: [\n {\n id: 'msg-fitting-1',\n messageId: null,\n rfcMessageId: '<fitting-1@example.com>',\n references: [],\n direction: 'outbound',\n fromName: t('design_system.gallery.samples.content.studioTeam'),\n fromEmail: 'studio@example.com',\n to: ['anna.nowak@example.com'],\n cc: [],\n subject: t('design_system.gallery.samples.content.fittingAppointmentJune12'),\n bodyText: t('design_system.gallery.samples.content.hiAnnaWeCanOfferFridayJune12At1000DoesThatWorkForYou'),\n sentAt: '2026-06-10T09:24:00.000Z',\n providerKey: 'gmail',\n },\n {\n id: 'msg-fitting-2',\n messageId: null,\n rfcMessageId: '<fitting-2@example.com>',\n references: ['<fitting-1@example.com>'],\n direction: 'inbound',\n fromName: 'Anna Nowak',\n fromEmail: 'anna.nowak@example.com',\n to: ['studio@example.com'],\n cc: [],\n subject: t('design_system.gallery.samples.content.reFittingAppointmentJune12'),\n bodyText: t('design_system.gallery.samples.content.greatSeeYouFridayAt1000'),\n sentAt: '2026-06-10T14:05:00.000Z',\n providerKey: 'gmail',\n },\n ],\n },\n {\n threadKey: 'thread-invoice',\n subject: t('design_system.gallery.samples.content.invoice2026118'),\n preview: t('design_system.gallery.samples.content.attachedIsTheCorrectedInvoiceForMay'),\n participants: ['billing@acme.example.com'],\n lastMessageAt: '2026-06-08T08:12:00.000Z',\n messageCount: 1,\n providerKey: 'gmail',\n lastDirection: 'inbound',\n messages: [\n {\n id: 'msg-invoice-1',\n messageId: null,\n rfcMessageId: '<invoice-1@example.com>',\n references: [],\n direction: 'inbound',\n fromName: t('design_system.gallery.samples.content.acmeBilling'),\n fromEmail: 'billing@acme.example.com',\n to: ['studio@example.com'],\n cc: ['accounting@example.com'],\n subject: t('design_system.gallery.samples.content.invoice2026118'),\n bodyText: t('design_system.gallery.samples.content.attachedIsTheCorrectedInvoiceForMay'),\n sentAt: '2026-06-08T08:12:00.000Z',\n providerKey: 'gmail',\n },\n ],\n },\n]\nconst optimisticThread = (t: ReturnType<typeof useT>): EmailThread[] => [\n {\n threadKey: 'thread-optimistic',\n subject: t('design_system.gallery.samples.content.order10241DeliveryUpdate'),\n preview: t('design_system.gallery.samples.content.yourOrderShipsTomorrow'),\n participants: ['jan.kowalski@example.com'],\n lastMessageAt: '2026-06-11T16:40:00.000Z',\n messageCount: 3,\n providerKey: 'gmail',\n lastDirection: 'outbound',\n messages: [\n {\n id: 'msg-opt-1',\n messageId: null,\n rfcMessageId: null,\n references: [],\n direction: 'outbound',\n fromName: t('design_system.gallery.samples.content.studioTeam'),\n fromEmail: 'studio@example.com',\n to: ['jan.kowalski@example.com'],\n cc: [],\n subject: t('design_system.gallery.samples.content.order10241DeliveryUpdate'),\n bodyText: t('design_system.gallery.samples.content.yourOrderShipsTomorrow'),\n sentAt: '2026-06-11T16:38:00.000Z',\n providerKey: 'gmail',\n status: 'sent',\n },\n {\n id: 'msg-opt-2',\n messageId: null,\n rfcMessageId: null,\n references: [],\n direction: 'outbound',\n fromName: t('design_system.gallery.samples.content.studioTeam'),\n fromEmail: 'studio@example.com',\n to: ['jan.kowalski@example.com'],\n cc: [],\n subject: t('design_system.gallery.samples.content.reOrder10241DeliveryUpdate'),\n bodyText: t('design_system.gallery.samples.content.trackingNumberFollowsInASeparateEmail'),\n sentAt: '2026-06-11T16:39:00.000Z',\n providerKey: 'gmail',\n status: 'sending',\n },\n {\n id: 'msg-opt-3',\n messageId: null,\n rfcMessageId: null,\n references: [],\n direction: 'outbound',\n fromName: t('design_system.gallery.samples.content.studioTeam'),\n fromEmail: 'studio@example.com',\n to: ['jan.kowalski@example.com'],\n cc: [],\n subject: t('design_system.gallery.samples.content.reOrder10241DeliveryUpdate'),\n bodyText: t('design_system.gallery.samples.content.hereIsTheTrackingLink'),\n sentAt: '2026-06-11T16:40:00.000Z',\n providerKey: 'gmail',\n status: 'failed',\n statusError: t('design_system.gallery.samples.content.mailboxTemporarilyUnavailable'),\n },\n ],\n },\n]\nconst emailThreadsPanelEntry: GalleryEntry = {\n id: 'email-threads-panel',\n title: 'EmailThreadsPanel',\n importPath: '@open-mercato/ui/backend/messages',\n variants: [\n {\n id: 'conversations',\n title: 'Conversations',\n render: () => <EmailThreadsPanelEntryConversationsPreview />,\n code: `import { EmailThreadsPanel, type EmailThread } from '@open-mercato/ui/backend/messages'\n\n<EmailThreadsPanel\n threads={threads /* EmailThread[] fetched by the host page */}\n canCompose\n onComposeNew={() => openComposer()}\n onReply={(thread) => openReply(thread)}\n onRefresh={() => refetch()}\n/>`,\n },\n {\n id: 'optimistic-status',\n title: 'Optimistic send status',\n render: () => <EmailThreadsPanelEntryOptimisticStatusPreview />,\n code: `import { EmailThreadsPanel } from '@open-mercato/ui/backend/messages'\n\n// Messages carry status: 'sending' | 'sent' | 'failed' via mergeOptimisticEmailThreads\n<EmailThreadsPanel\n threads={threads}\n canCompose\n onComposeNew={() => openComposer()}\n onReply={(thread) => openReply(thread)}\n onRetry={(message) => resend(message)}\n/>`,\n },\n {\n id: 'empty',\n title: 'Empty state',\n render: () => <EmailThreadsPanel threads={[]} canCompose onComposeNew={() => {}} className=\"w-full\" />,\n code: `import { EmailThreadsPanel } from '@open-mercato/ui/backend/messages'\n\n<EmailThreadsPanel threads={[]} canCompose onComposeNew={() => openComposer()} />`,\n },\n {\n id: 'read-only',\n title: 'Read-only (compose disabled)',\n render: () => <EmailThreadsPanelEntryReadOnlyPreview />,\n code: `import { EmailThreadsPanel } from '@open-mercato/ui/backend/messages'\n\n<EmailThreadsPanel\n threads={threads}\n canCompose={false}\n composeDisabledHint={<span className=\"text-sm text-muted-foreground\">Connect an email provider to reply from here.</span>}\n onRefresh={() => refetch()}\n/>`,\n },\n ],\n}\nconst galleryT = (key: string, fallback?: string) => fallback ?? key\nfunction DemoMessagePrioritySelector() {\n const t = useT()\n const [value, setValue] = React.useState<MessagePriority>('high')\n return <MessagePrioritySelector value={value} onChange={setValue} t={t} />\n}\nconst messagePrioritySelectorEntry: GalleryEntry = {\n id: 'message-priority-selector',\n title: 'MessagePrioritySelector',\n importPath: '@open-mercato/ui/backend/messages/MessagePrioritySelector',\n variants: [\n {\n id: 'interactive',\n title: 'Interactive (presentational core of the API-wired MessageComposer)',\n render: () => <DemoMessagePrioritySelector />,\n code: `import { MessagePrioritySelector } from '@open-mercato/ui/backend/messages/MessagePrioritySelector'\nimport type { MessagePriority } from '@open-mercato/ui/backend/messages/message-priority'\n\nconst [value, setValue] = React.useState<MessagePriority>('high')\n\n// Inside MessageComposer priorities come through defaultValues.priority;\n// standalone usage is fully controlled.\n<MessagePrioritySelector value={value} onChange={setValue} t={t} />`,\n },\n ],\n}\nconst messageObjectPreviewEntry: GalleryEntry = {\n id: 'message-object-preview',\n title: 'MessageObjectPreview',\n importPath: '@open-mercato/ui/backend/messages',\n variants: [\n {\n id: 'preview-data',\n title: 'Preview data',\n render: () => <MessageObjectPreviewEntryPreviewDataPreview />,\n code: `import { MessageObjectPreview } from '@open-mercato/ui/backend/messages'\n\n<MessageObjectPreview\n entityId=\"order-10241\"\n entityModule=\"sales\"\n entityType=\"order\"\n previewData={{ title: 'Order #10241', subtitle: 'Anna Nowak \u2014 3 items', status: 'processing' }}\n/>`,\n },\n {\n id: 'action-required',\n title: 'Action required with metadata',\n render: () => <MessageObjectPreviewEntryActionRequiredPreview />,\n code: `import { MessageObjectPreview } from '@open-mercato/ui/backend/messages'\n\n<MessageObjectPreview\n entityId=\"return-1182\"\n entityModule=\"sales\"\n entityType=\"return\"\n actionRequired\n actionLabel=\"Approve return\"\n previewData={{\n title: 'Return request #1182',\n subtitle: 'Order #10241 \u2014 Anna Nowak',\n metadata: { total: 'EUR 412.00', due: 'Jun 15, 2026' },\n }}\n/>`,\n },\n ],\n}\nexport const entries: GalleryEntry[] = [emailThreadsPanelEntry, messagePrioritySelectorEntry, messageObjectPreviewEntry]\n"],
5
+ "mappings": "AAoBQ;AApBR,SAAS,YAAY;AACrB,YAAY,WAAW;AACvB,SAAS,mBAAmB,4BAA8C;AAC1E,SAAS,+BAA+B;AAUxC,SAAS,wCAAwC;AAC/C,QAAM,IAAI,KAAK;AACf,SACE;AAAA,IAAC;AAAA;AAAA,MACC,SAAS,cAAc,CAAC;AAAA,MACxB,YAAY;AAAA,MACZ,qBACE,oBAAC,UAAK,WAAU,iCACb,YAAE,6EAA6E,GAClF;AAAA,MAEF,WAAW,MAAM;AAAA,MAAC;AAAA,MAClB,WAAU;AAAA;AAAA,EACZ;AAEJ;AACA,SAAS,8CAA8C;AACrD,QAAM,IAAI,KAAK;AACf,SACE;AAAA,IAAC;AAAA;AAAA,MACC,UAAS;AAAA,MACT,cAAa;AAAA,MACb,YAAW;AAAA,MACX,aAAa;AAAA,QACX,OAAO,EAAE,kDAAkD;AAAA,QAC3D,UAAU,EAAE,uDAAuD;AAAA,QACnE,QAAQ;AAAA,MACV;AAAA;AAAA,EACF;AAEJ;AACA,SAAS,iDAAiD;AACxD,QAAM,IAAI,KAAK;AACf,SACE;AAAA,IAAC;AAAA;AAAA,MACC,UAAS;AAAA,MACT,cAAa;AAAA,MACb,YAAW;AAAA,MACX,gBAAc;AAAA,MACd,aAAa,EAAE,qDAAqD;AAAA,MACpE,aAAa;AAAA,QACX,OAAO,EAAE,yDAAyD;AAAA,QAClE,UAAU,EAAE,2DAA2D;AAAA,QACvE,UAAU;AAAA,UACR,OAAO;AAAA,UACP,KAAK;AAAA,QACP;AAAA,MACF;AAAA;AAAA,EACF;AAEJ;AACA,SAAS,6CAA6C;AACpD,QAAM,IAAI,KAAK;AACf,SACE;AAAA,IAAC;AAAA;AAAA,MACC,SAAS,cAAc,CAAC;AAAA,MACxB,YAAU;AAAA,MACV,cAAc,MAAM;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