@open-mercato/core 0.7.1-develop.7203.1.9396450b78 → 0.8.0

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 -9
  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
@@ -1,4 +1,7 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { useT } from "@open-mercato/shared/lib/i18n/context";
3
+ import { MarketingWidgetDemo } from "../demos/marketing-widgets.js";
4
+ import { marketingWidgetExampleCode } from "../demos/marketing-widgets-code.generated.js";
2
5
  import {
3
6
  BarChart,
4
7
  DeltaBadge,
@@ -8,49 +11,409 @@ import {
8
11
  Sparkline,
9
12
  TopNTable
10
13
  } from "@open-mercato/ui/backend/charts";
11
- const revenueByMonth = [
12
- { month: "Jan", revenue: 48200 },
13
- { month: "Feb", revenue: 51400 },
14
- { month: "Mar", revenue: 47900 },
15
- { month: "Apr", revenue: 61200 },
16
- { month: "May", revenue: 58600 },
17
- { month: "Jun", revenue: 67300 }
14
+ function KpiCardEntryDeltaBadgePreview() {
15
+ const t = useT();
16
+ return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
17
+ /* @__PURE__ */ jsx(DeltaBadge, { direction: "up", value: 12.4 }),
18
+ /* @__PURE__ */ jsx(DeltaBadge, { direction: "down", value: 4.7 }),
19
+ /* @__PURE__ */ jsx(DeltaBadge, { direction: "unchanged", value: 0 }),
20
+ /* @__PURE__ */ jsx(DeltaBadge, { direction: "up", value: 38, unit: t("design_system.gallery.samples.content.pts") })
21
+ ] });
22
+ }
23
+ function SparklineEntryDefaultPreview() {
24
+ const t = useT();
25
+ return /* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: /* @__PURE__ */ jsx(Sparkline, { values: weeklyOrdersTrend, ariaLabel: t("design_system.gallery.samples.content.weeklyOrdersTrend") }) });
26
+ }
27
+ function SparklineEntrySemanticColorPreview() {
28
+ const t = useT();
29
+ return /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-6", children: [
30
+ /* @__PURE__ */ jsx("span", { className: "text-primary", children: /* @__PURE__ */ jsx(Sparkline, { values: weeklyOrdersTrend, ariaLabel: t("design_system.gallery.samples.content.ordersTrendingUp") }) }),
31
+ /* @__PURE__ */ jsx("span", { className: "text-destructive", children: /* @__PURE__ */ jsx(
32
+ Sparkline,
33
+ {
34
+ values: [...weeklyOrdersTrend].reverse(),
35
+ ariaLabel: t("design_system.gallery.samples.content.returnsTrendingDown")
36
+ }
37
+ ) })
38
+ ] });
39
+ }
40
+ function SparklineEntrySizesPreview() {
41
+ const t = useT();
42
+ return /* @__PURE__ */ jsxs("div", { className: "flex items-end gap-6 text-muted-foreground", children: [
43
+ /* @__PURE__ */ jsx(
44
+ Sparkline,
45
+ {
46
+ values: weeklyOrdersTrend,
47
+ ariaLabel: t("design_system.gallery.samples.content.smallTrend"),
48
+ width: 64,
49
+ height: 20
50
+ }
51
+ ),
52
+ /* @__PURE__ */ jsx(Sparkline, { values: weeklyOrdersTrend, ariaLabel: t("design_system.gallery.samples.content.defaultTrend") }),
53
+ /* @__PURE__ */ jsx(
54
+ Sparkline,
55
+ {
56
+ values: weeklyOrdersTrend,
57
+ ariaLabel: t("design_system.gallery.samples.content.largeTrend"),
58
+ width: 160,
59
+ height: 40
60
+ }
61
+ )
62
+ ] });
63
+ }
64
+ function KpiCardEntryTrendDirectionsPreview() {
65
+ const t = useT();
66
+ return /* @__PURE__ */ jsxs("div", { className: "grid w-full max-w-3xl grid-cols-1 gap-4 sm:grid-cols-3", children: [
67
+ /* @__PURE__ */ jsx(
68
+ KpiCard,
69
+ {
70
+ title: t("design_system.gallery.samples.content.revenue"),
71
+ value: 67300,
72
+ prefix: "\u20AC",
73
+ trend: {
74
+ value: 14.8,
75
+ direction: "up"
76
+ },
77
+ comparisonLabel: t("design_system.gallery.samples.content.vsPreviousMonth")
78
+ }
79
+ ),
80
+ /* @__PURE__ */ jsx(
81
+ KpiCard,
82
+ {
83
+ title: t("design_system.gallery.samples.content.cancelledOrders"),
84
+ value: 22,
85
+ trend: {
86
+ value: 6.1,
87
+ direction: "down"
88
+ },
89
+ comparisonLabel: t("design_system.gallery.samples.content.vsPreviousMonth")
90
+ }
91
+ ),
92
+ /* @__PURE__ */ jsx(
93
+ KpiCard,
94
+ {
95
+ title: t("design_system.gallery.samples.content.activeCustomers"),
96
+ value: 1284,
97
+ trend: {
98
+ value: 0,
99
+ direction: "unchanged"
100
+ },
101
+ comparisonLabel: t("design_system.gallery.samples.content.vsPreviousMonth")
102
+ }
103
+ )
104
+ ] });
105
+ }
106
+ function KpiCardEntrySuffixAndFooterPreview() {
107
+ const t = useT();
108
+ return /* @__PURE__ */ jsx("div", { className: "w-full max-w-xs", children: /* @__PURE__ */ jsx(
109
+ KpiCard,
110
+ {
111
+ title: t("design_system.gallery.samples.content.averageOrderValue"),
112
+ value: 86.4,
113
+ prefix: "\u20AC",
114
+ suffix: t("design_system.gallery.samples.content.net"),
115
+ trend: {
116
+ value: 3.2,
117
+ direction: "up"
118
+ },
119
+ footer: /* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: /* @__PURE__ */ jsx(
120
+ Sparkline,
121
+ {
122
+ values: weeklyOrdersTrend,
123
+ ariaLabel: t("design_system.gallery.samples.content.weeklyOrdersTrend")
124
+ }
125
+ ) })
126
+ }
127
+ ) });
128
+ }
129
+ function KpiCardEntryStatesPreview() {
130
+ const t = useT();
131
+ return /* @__PURE__ */ jsxs("div", { className: "grid w-full max-w-3xl grid-cols-1 gap-4 sm:grid-cols-3", children: [
132
+ /* @__PURE__ */ jsx(KpiCard, { title: t("design_system.gallery.samples.content.loading"), value: null, loading: true }),
133
+ /* @__PURE__ */ jsx(
134
+ KpiCard,
135
+ {
136
+ title: t("design_system.gallery.samples.content.error"),
137
+ value: null,
138
+ error: t("design_system.gallery.samples.content.failedToLoadMetric")
139
+ }
140
+ ),
141
+ /* @__PURE__ */ jsx(KpiCard, { title: t("design_system.gallery.samples.content.noData"), value: null })
142
+ ] });
143
+ }
144
+ function BarChartEntryBasicPreview() {
145
+ const t = useT();
146
+ return /* @__PURE__ */ jsx("div", { className: "w-full max-w-xl", children: /* @__PURE__ */ jsx(
147
+ BarChart,
148
+ {
149
+ title: t("design_system.gallery.samples.content.revenueByMonth"),
150
+ data: revenueByMonth(t),
151
+ index: "month",
152
+ categories: ["revenue"],
153
+ showLegend: false
154
+ }
155
+ ) });
156
+ }
157
+ function BarChartEntryHorizontalPreview() {
158
+ const t = useT();
159
+ return /* @__PURE__ */ jsx("div", { className: "w-full max-w-xl", children: /* @__PURE__ */ jsx(
160
+ BarChart,
161
+ {
162
+ title: t("design_system.gallery.samples.content.revenueByChannel"),
163
+ data: revenueByChannel(t),
164
+ index: "channel",
165
+ categories: ["revenue"],
166
+ layout: "horizontal",
167
+ showLegend: false
168
+ }
169
+ ) });
170
+ }
171
+ function BarChartEntryMultiSeriesPreview() {
172
+ const t = useT();
173
+ return /* @__PURE__ */ jsx("div", { className: "w-full max-w-xl", children: /* @__PURE__ */ jsx(
174
+ BarChart,
175
+ {
176
+ title: t("design_system.gallery.samples.content.ordersByMonth"),
177
+ data: ordersByMonth(t),
178
+ index: "month",
179
+ categories: ["online", "retail"],
180
+ categoryLabels: {
181
+ online: t("design_system.gallery.samples.content.online"),
182
+ retail: t("design_system.gallery.samples.content.retail")
183
+ }
184
+ }
185
+ ) });
186
+ }
187
+ function LineChartEntryBasicPreview() {
188
+ const t = useT();
189
+ return /* @__PURE__ */ jsx("div", { className: "w-full max-w-xl", children: /* @__PURE__ */ jsx(
190
+ LineChart,
191
+ {
192
+ title: t("design_system.gallery.samples.content.revenueByMonth"),
193
+ data: revenueByMonth(t),
194
+ index: "month",
195
+ categories: ["revenue"],
196
+ showLegend: false
197
+ }
198
+ ) });
199
+ }
200
+ function LineChartEntryAreaPreview() {
201
+ const t = useT();
202
+ return /* @__PURE__ */ jsx("div", { className: "w-full max-w-xl", children: /* @__PURE__ */ jsx(
203
+ LineChart,
204
+ {
205
+ title: t("design_system.gallery.samples.content.revenueByMonth"),
206
+ data: revenueByMonth(t),
207
+ index: "month",
208
+ categories: ["revenue"],
209
+ showArea: true,
210
+ showLegend: false
211
+ }
212
+ ) });
213
+ }
214
+ function LineChartEntryMultiSeriesPreview() {
215
+ const t = useT();
216
+ return /* @__PURE__ */ jsx("div", { className: "w-full max-w-xl", children: /* @__PURE__ */ jsx(
217
+ LineChart,
218
+ {
219
+ title: t("design_system.gallery.samples.content.ordersByMonth"),
220
+ data: ordersByMonth(t),
221
+ index: "month",
222
+ categories: ["online", "retail"],
223
+ categoryLabels: {
224
+ online: t("design_system.gallery.samples.content.online"),
225
+ retail: t("design_system.gallery.samples.content.retail")
226
+ },
227
+ curveType: "monotone"
228
+ }
229
+ ) });
230
+ }
231
+ function PieChartEntryPiePreview() {
232
+ const t = useT();
233
+ return /* @__PURE__ */ jsx("div", { className: "w-full max-w-md", children: /* @__PURE__ */ jsx(PieChart, { title: t("design_system.gallery.samples.content.ordersByStatus"), data: ordersByStatus(t) }) });
234
+ }
235
+ function PieChartEntryDonutPreview() {
236
+ const t = useT();
237
+ return /* @__PURE__ */ jsx("div", { className: "w-full max-w-md", children: /* @__PURE__ */ jsx(
238
+ PieChart,
239
+ {
240
+ title: t("design_system.gallery.samples.content.ordersByStatus"),
241
+ data: ordersByStatus(t),
242
+ variant: "donut"
243
+ }
244
+ ) });
245
+ }
246
+ function TopNTableEntryBasicPreview() {
247
+ const t = useT();
248
+ return /* @__PURE__ */ jsx("div", { className: "w-full max-w-xl", children: /* @__PURE__ */ jsx(
249
+ TopNTable,
250
+ {
251
+ title: t("design_system.gallery.samples.content.topProducts"),
252
+ data: topProducts(t),
253
+ columns: topProductColumns(t)
254
+ }
255
+ ) });
256
+ }
257
+ function TopNTableEntryMaxRowsPreview() {
258
+ const t = useT();
259
+ return /* @__PURE__ */ jsx("div", { className: "w-full max-w-xl", children: /* @__PURE__ */ jsx(
260
+ TopNTable,
261
+ {
262
+ title: t("design_system.gallery.samples.content.top3Products"),
263
+ data: topProducts(t),
264
+ columns: topProductColumns(t),
265
+ maxRows: 3
266
+ }
267
+ ) });
268
+ }
269
+ function TopNTableEntryEmptyPreview() {
270
+ const t = useT();
271
+ return /* @__PURE__ */ jsx("div", { className: "w-full max-w-xl", children: /* @__PURE__ */ jsx(
272
+ TopNTable,
273
+ {
274
+ title: t("design_system.gallery.samples.content.topProducts"),
275
+ data: [],
276
+ columns: topProductColumns(t),
277
+ emptyMessage: t("design_system.gallery.samples.content.noSalesInThisPeriod")
278
+ }
279
+ ) });
280
+ }
281
+ const revenueByMonth = (t) => [
282
+ {
283
+ month: t("design_system.gallery.samples.content.jan"),
284
+ revenue: 48200
285
+ },
286
+ {
287
+ month: t("design_system.gallery.samples.content.feb"),
288
+ revenue: 51400
289
+ },
290
+ {
291
+ month: t("design_system.gallery.samples.content.mar"),
292
+ revenue: 47900
293
+ },
294
+ {
295
+ month: t("design_system.gallery.samples.content.apr"),
296
+ revenue: 61200
297
+ },
298
+ {
299
+ month: t("design_system.gallery.samples.content.may"),
300
+ revenue: 58600
301
+ },
302
+ {
303
+ month: t("design_system.gallery.samples.content.jun"),
304
+ revenue: 67300
305
+ }
18
306
  ];
19
- const revenueByChannel = [
20
- { channel: "Online store", revenue: 182400 },
21
- { channel: "Marketplace", revenue: 96800 },
22
- { channel: "Retail", revenue: 64200 },
23
- { channel: "Wholesale", revenue: 41500 }
307
+ const revenueByChannel = (t) => [
308
+ {
309
+ channel: t("design_system.gallery.samples.content.onlineStore"),
310
+ revenue: 182400
311
+ },
312
+ {
313
+ channel: t("design_system.gallery.samples.content.marketplace"),
314
+ revenue: 96800
315
+ },
316
+ {
317
+ channel: t("design_system.gallery.samples.content.retail"),
318
+ revenue: 64200
319
+ },
320
+ {
321
+ channel: t("design_system.gallery.samples.content.wholesale"),
322
+ revenue: 41500
323
+ }
24
324
  ];
25
- const ordersByMonth = [
26
- { month: "Jan", online: 320, retail: 180 },
27
- { month: "Feb", online: 348, retail: 164 },
28
- { month: "Mar", online: 331, retail: 196 },
29
- { month: "Apr", online: 402, retail: 214 },
30
- { month: "May", online: 389, retail: 205 },
31
- { month: "Jun", online: 446, retail: 232 }
325
+ const ordersByMonth = (t) => [
326
+ {
327
+ month: t("design_system.gallery.samples.content.jan"),
328
+ online: 320,
329
+ retail: 180
330
+ },
331
+ {
332
+ month: t("design_system.gallery.samples.content.feb"),
333
+ online: 348,
334
+ retail: 164
335
+ },
336
+ {
337
+ month: t("design_system.gallery.samples.content.mar"),
338
+ online: 331,
339
+ retail: 196
340
+ },
341
+ {
342
+ month: t("design_system.gallery.samples.content.apr"),
343
+ online: 402,
344
+ retail: 214
345
+ },
346
+ {
347
+ month: t("design_system.gallery.samples.content.may"),
348
+ online: 389,
349
+ retail: 205
350
+ },
351
+ {
352
+ month: t("design_system.gallery.samples.content.jun"),
353
+ online: 446,
354
+ retail: 232
355
+ }
32
356
  ];
33
- const ordersByStatus = [
34
- { name: "Completed", value: 268 },
35
- { name: "Processing", value: 84 },
36
- { name: "Pending payment", value: 37 },
37
- { name: "Cancelled", value: 22 }
357
+ const ordersByStatus = (t) => [
358
+ {
359
+ name: t("design_system.gallery.samples.content.completed"),
360
+ value: 268
361
+ },
362
+ {
363
+ name: t("design_system.gallery.samples.content.processing"),
364
+ value: 84
365
+ },
366
+ {
367
+ name: t("design_system.gallery.samples.content.pendingPayment"),
368
+ value: 37
369
+ },
370
+ {
371
+ name: t("design_system.gallery.samples.content.cancelled"),
372
+ value: 22
373
+ }
38
374
  ];
39
375
  const weeklyOrdersTrend = [12, 18, 14, 22, 19, 27, 24, 31, 28, 35, 33, 41];
40
- const topProducts = [
41
- { product: "Aurora desk lamp", orders: 412, revenue: 28840 },
42
- { product: "Birch side table", orders: 366, revenue: 47580 },
43
- { product: "Linen throw pillow", orders: 341, revenue: 11935 },
44
- { product: "Oak bookshelf", orders: 214, revenue: 53500 },
45
- { product: "Ceramic vase set", orders: 198, revenue: 8910 }
376
+ const topProducts = (t) => [
377
+ {
378
+ product: t("design_system.gallery.samples.content.auroraDeskLamp"),
379
+ orders: 412,
380
+ revenue: 28840
381
+ },
382
+ {
383
+ product: t("design_system.gallery.samples.content.birchSideTable"),
384
+ orders: 366,
385
+ revenue: 47580
386
+ },
387
+ {
388
+ product: t("design_system.gallery.samples.content.linenThrowPillow"),
389
+ orders: 341,
390
+ revenue: 11935
391
+ },
392
+ {
393
+ product: t("design_system.gallery.samples.content.oakBookshelf"),
394
+ orders: 214,
395
+ revenue: 53500
396
+ },
397
+ {
398
+ product: t("design_system.gallery.samples.content.ceramicVaseSet"),
399
+ orders: 198,
400
+ revenue: 8910
401
+ }
46
402
  ];
47
403
  const formatCurrency = (value) => `\u20AC${value.toLocaleString("en-US")}`;
48
- const topProductColumns = [
49
- { key: "product", header: "Product" },
50
- { key: "orders", header: "Orders", align: "right" },
404
+ const topProductColumns = (t) => [
405
+ {
406
+ key: "product",
407
+ header: t("design_system.gallery.samples.content.product")
408
+ },
409
+ {
410
+ key: "orders",
411
+ header: t("design_system.gallery.samples.content.orders"),
412
+ align: "right"
413
+ },
51
414
  {
52
415
  key: "revenue",
53
- header: "Revenue",
416
+ header: t("design_system.gallery.samples.content.revenue"),
54
417
  align: "right",
55
418
  formatter: (value) => formatCurrency(value)
56
419
  }
@@ -63,36 +426,7 @@ const kpiCardEntry = {
63
426
  {
64
427
  id: "trend-directions",
65
428
  title: "Trend directions",
66
- render: () => /* @__PURE__ */ jsxs("div", { className: "grid w-full max-w-3xl grid-cols-1 gap-4 sm:grid-cols-3", children: [
67
- /* @__PURE__ */ jsx(
68
- KpiCard,
69
- {
70
- title: "Revenue",
71
- value: 67300,
72
- prefix: "\u20AC",
73
- trend: { value: 14.8, direction: "up" },
74
- comparisonLabel: "vs. previous month"
75
- }
76
- ),
77
- /* @__PURE__ */ jsx(
78
- KpiCard,
79
- {
80
- title: "Cancelled orders",
81
- value: 22,
82
- trend: { value: 6.1, direction: "down" },
83
- comparisonLabel: "vs. previous month"
84
- }
85
- ),
86
- /* @__PURE__ */ jsx(
87
- KpiCard,
88
- {
89
- title: "Active customers",
90
- value: 1284,
91
- trend: { value: 0, direction: "unchanged" },
92
- comparisonLabel: "vs. previous month"
93
- }
94
- )
95
- ] }),
429
+ render: () => /* @__PURE__ */ jsx(KpiCardEntryTrendDirectionsPreview, {}),
96
430
  code: `import { KpiCard } from '@open-mercato/ui/backend/charts'
97
431
 
98
432
  <KpiCard
@@ -106,17 +440,7 @@ const kpiCardEntry = {
106
440
  {
107
441
  id: "suffix-and-footer",
108
442
  title: "Suffix and footer slot",
109
- render: () => /* @__PURE__ */ jsx("div", { className: "w-full max-w-xs", children: /* @__PURE__ */ jsx(
110
- KpiCard,
111
- {
112
- title: "Average order value",
113
- value: 86.4,
114
- prefix: "\u20AC",
115
- suffix: "net",
116
- trend: { value: 3.2, direction: "up" },
117
- footer: /* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: /* @__PURE__ */ jsx(Sparkline, { values: weeklyOrdersTrend, ariaLabel: "Weekly orders trend" }) })
118
- }
119
- ) }),
443
+ render: () => /* @__PURE__ */ jsx(KpiCardEntrySuffixAndFooterPreview, {}),
120
444
  code: `import { KpiCard, Sparkline } from '@open-mercato/ui/backend/charts'
121
445
 
122
446
  <KpiCard
@@ -131,11 +455,7 @@ const kpiCardEntry = {
131
455
  {
132
456
  id: "states",
133
457
  title: "Loading, error and empty states",
134
- render: () => /* @__PURE__ */ jsxs("div", { className: "grid w-full max-w-3xl grid-cols-1 gap-4 sm:grid-cols-3", children: [
135
- /* @__PURE__ */ jsx(KpiCard, { title: "Loading", value: null, loading: true }),
136
- /* @__PURE__ */ jsx(KpiCard, { title: "Error", value: null, error: "Failed to load metric" }),
137
- /* @__PURE__ */ jsx(KpiCard, { title: "No data", value: null })
138
- ] }),
458
+ render: () => /* @__PURE__ */ jsx(KpiCardEntryStatesPreview, {}),
139
459
  code: `import { KpiCard } from '@open-mercato/ui/backend/charts'
140
460
 
141
461
  <KpiCard title="Loading" value={null} loading />
@@ -145,12 +465,7 @@ const kpiCardEntry = {
145
465
  {
146
466
  id: "delta-badge",
147
467
  title: "DeltaBadge (standalone)",
148
- render: () => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
149
- /* @__PURE__ */ jsx(DeltaBadge, { direction: "up", value: 12.4 }),
150
- /* @__PURE__ */ jsx(DeltaBadge, { direction: "down", value: 4.7 }),
151
- /* @__PURE__ */ jsx(DeltaBadge, { direction: "unchanged", value: 0 }),
152
- /* @__PURE__ */ jsx(DeltaBadge, { direction: "up", value: 38, unit: " pts" })
153
- ] }),
468
+ render: () => /* @__PURE__ */ jsx(KpiCardEntryDeltaBadgePreview, {}),
154
469
  code: `import { DeltaBadge } from '@open-mercato/ui/backend/charts'
155
470
 
156
471
  <DeltaBadge direction="up" value={12.4} />
@@ -168,7 +483,7 @@ const sparklineEntry = {
168
483
  {
169
484
  id: "default",
170
485
  title: "default",
171
- render: () => /* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: /* @__PURE__ */ jsx(Sparkline, { values: weeklyOrdersTrend, ariaLabel: "Weekly orders trend" }) }),
486
+ render: () => /* @__PURE__ */ jsx(SparklineEntryDefaultPreview, {}),
172
487
  code: `import { Sparkline } from '@open-mercato/ui/backend/charts'
173
488
 
174
489
  <Sparkline values={[12, 18, 14, 22, 19, 27, 24, 31]} ariaLabel="Weekly orders trend" />`
@@ -176,16 +491,7 @@ const sparklineEntry = {
176
491
  {
177
492
  id: "semantic-color",
178
493
  title: "Colored via currentColor",
179
- render: () => /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-6", children: [
180
- /* @__PURE__ */ jsx("span", { className: "text-primary", children: /* @__PURE__ */ jsx(Sparkline, { values: weeklyOrdersTrend, ariaLabel: "Orders trending up" }) }),
181
- /* @__PURE__ */ jsx("span", { className: "text-destructive", children: /* @__PURE__ */ jsx(
182
- Sparkline,
183
- {
184
- values: [...weeklyOrdersTrend].reverse(),
185
- ariaLabel: "Returns trending down"
186
- }
187
- ) })
188
- ] }),
494
+ render: () => /* @__PURE__ */ jsx(SparklineEntrySemanticColorPreview, {}),
189
495
  code: `import { Sparkline } from '@open-mercato/ui/backend/charts'
190
496
 
191
497
  // Sparkline strokes with currentColor \u2014 set a semantic text token on the wrapper.
@@ -196,11 +502,7 @@ const sparklineEntry = {
196
502
  {
197
503
  id: "sizes",
198
504
  title: "Custom width and height",
199
- render: () => /* @__PURE__ */ jsxs("div", { className: "flex items-end gap-6 text-muted-foreground", children: [
200
- /* @__PURE__ */ jsx(Sparkline, { values: weeklyOrdersTrend, ariaLabel: "Small trend", width: 64, height: 20 }),
201
- /* @__PURE__ */ jsx(Sparkline, { values: weeklyOrdersTrend, ariaLabel: "Default trend" }),
202
- /* @__PURE__ */ jsx(Sparkline, { values: weeklyOrdersTrend, ariaLabel: "Large trend", width: 160, height: 40 })
203
- ] }),
505
+ render: () => /* @__PURE__ */ jsx(SparklineEntrySizesPreview, {}),
204
506
  code: `import { Sparkline } from '@open-mercato/ui/backend/charts'
205
507
 
206
508
  <Sparkline values={values} ariaLabel="Small trend" width={64} height={20} />
@@ -217,16 +519,7 @@ const barChartEntry = {
217
519
  {
218
520
  id: "basic",
219
521
  title: "Basic (revenue by month)",
220
- render: () => /* @__PURE__ */ jsx("div", { className: "w-full max-w-xl", children: /* @__PURE__ */ jsx(
221
- BarChart,
222
- {
223
- title: "Revenue by month",
224
- data: revenueByMonth,
225
- index: "month",
226
- categories: ["revenue"],
227
- showLegend: false
228
- }
229
- ) }),
522
+ render: () => /* @__PURE__ */ jsx(BarChartEntryBasicPreview, {}),
230
523
  code: `import { BarChart } from '@open-mercato/ui/backend/charts'
231
524
 
232
525
  <BarChart
@@ -240,17 +533,7 @@ const barChartEntry = {
240
533
  {
241
534
  id: "horizontal",
242
535
  title: "Horizontal layout",
243
- render: () => /* @__PURE__ */ jsx("div", { className: "w-full max-w-xl", children: /* @__PURE__ */ jsx(
244
- BarChart,
245
- {
246
- title: "Revenue by channel",
247
- data: revenueByChannel,
248
- index: "channel",
249
- categories: ["revenue"],
250
- layout: "horizontal",
251
- showLegend: false
252
- }
253
- ) }),
536
+ render: () => /* @__PURE__ */ jsx(BarChartEntryHorizontalPreview, {}),
254
537
  code: `import { BarChart } from '@open-mercato/ui/backend/charts'
255
538
 
256
539
  <BarChart
@@ -265,16 +548,7 @@ const barChartEntry = {
265
548
  {
266
549
  id: "multi-series",
267
550
  title: "Multiple series with legend",
268
- render: () => /* @__PURE__ */ jsx("div", { className: "w-full max-w-xl", children: /* @__PURE__ */ jsx(
269
- BarChart,
270
- {
271
- title: "Orders by month",
272
- data: ordersByMonth,
273
- index: "month",
274
- categories: ["online", "retail"],
275
- categoryLabels: { online: "Online", retail: "Retail" }
276
- }
277
- ) }),
551
+ render: () => /* @__PURE__ */ jsx(BarChartEntryMultiSeriesPreview, {}),
278
552
  code: `import { BarChart } from '@open-mercato/ui/backend/charts'
279
553
 
280
554
  <BarChart
@@ -295,16 +569,7 @@ const lineChartEntry = {
295
569
  {
296
570
  id: "basic",
297
571
  title: "Basic (revenue by month)",
298
- render: () => /* @__PURE__ */ jsx("div", { className: "w-full max-w-xl", children: /* @__PURE__ */ jsx(
299
- LineChart,
300
- {
301
- title: "Revenue by month",
302
- data: revenueByMonth,
303
- index: "month",
304
- categories: ["revenue"],
305
- showLegend: false
306
- }
307
- ) }),
572
+ render: () => /* @__PURE__ */ jsx(LineChartEntryBasicPreview, {}),
308
573
  code: `import { LineChart } from '@open-mercato/ui/backend/charts'
309
574
 
310
575
  <LineChart
@@ -318,17 +583,7 @@ const lineChartEntry = {
318
583
  {
319
584
  id: "area",
320
585
  title: "Area fill",
321
- render: () => /* @__PURE__ */ jsx("div", { className: "w-full max-w-xl", children: /* @__PURE__ */ jsx(
322
- LineChart,
323
- {
324
- title: "Revenue by month",
325
- data: revenueByMonth,
326
- index: "month",
327
- categories: ["revenue"],
328
- showArea: true,
329
- showLegend: false
330
- }
331
- ) }),
586
+ render: () => /* @__PURE__ */ jsx(LineChartEntryAreaPreview, {}),
332
587
  code: `import { LineChart } from '@open-mercato/ui/backend/charts'
333
588
 
334
589
  <LineChart
@@ -343,17 +598,7 @@ const lineChartEntry = {
343
598
  {
344
599
  id: "multi-series",
345
600
  title: "Multiple series, monotone curve",
346
- render: () => /* @__PURE__ */ jsx("div", { className: "w-full max-w-xl", children: /* @__PURE__ */ jsx(
347
- LineChart,
348
- {
349
- title: "Orders by month",
350
- data: ordersByMonth,
351
- index: "month",
352
- categories: ["online", "retail"],
353
- categoryLabels: { online: "Online", retail: "Retail" },
354
- curveType: "monotone"
355
- }
356
- ) }),
601
+ render: () => /* @__PURE__ */ jsx(LineChartEntryMultiSeriesPreview, {}),
357
602
  code: `import { LineChart } from '@open-mercato/ui/backend/charts'
358
603
 
359
604
  <LineChart
@@ -375,7 +620,7 @@ const pieChartEntry = {
375
620
  {
376
621
  id: "pie",
377
622
  title: "Pie (orders by status)",
378
- render: () => /* @__PURE__ */ jsx("div", { className: "w-full max-w-md", children: /* @__PURE__ */ jsx(PieChart, { title: "Orders by status", data: ordersByStatus }) }),
623
+ render: () => /* @__PURE__ */ jsx(PieChartEntryPiePreview, {}),
379
624
  code: `import { PieChart } from '@open-mercato/ui/backend/charts'
380
625
 
381
626
  <PieChart title="Orders by status" data={ordersByStatus} />`
@@ -383,7 +628,7 @@ const pieChartEntry = {
383
628
  {
384
629
  id: "donut",
385
630
  title: "Donut",
386
- render: () => /* @__PURE__ */ jsx("div", { className: "w-full max-w-md", children: /* @__PURE__ */ jsx(PieChart, { title: "Orders by status", data: ordersByStatus, variant: "donut" }) }),
631
+ render: () => /* @__PURE__ */ jsx(PieChartEntryDonutPreview, {}),
387
632
  code: `import { PieChart } from '@open-mercato/ui/backend/charts'
388
633
 
389
634
  <PieChart title="Orders by status" data={ordersByStatus} variant="donut" />`
@@ -398,7 +643,7 @@ const topNTableEntry = {
398
643
  {
399
644
  id: "basic",
400
645
  title: "Top products by revenue",
401
- render: () => /* @__PURE__ */ jsx("div", { className: "w-full max-w-xl", children: /* @__PURE__ */ jsx(TopNTable, { title: "Top products", data: topProducts, columns: topProductColumns }) }),
646
+ render: () => /* @__PURE__ */ jsx(TopNTableEntryBasicPreview, {}),
402
647
  code: `import { TopNTable, type TopNTableColumn } from '@open-mercato/ui/backend/charts'
403
648
 
404
649
  const columns: TopNTableColumn<TopProductRow>[] = [
@@ -412,15 +657,7 @@ const columns: TopNTableColumn<TopProductRow>[] = [
412
657
  {
413
658
  id: "max-rows",
414
659
  title: "Capped with maxRows",
415
- render: () => /* @__PURE__ */ jsx("div", { className: "w-full max-w-xl", children: /* @__PURE__ */ jsx(
416
- TopNTable,
417
- {
418
- title: "Top 3 products",
419
- data: topProducts,
420
- columns: topProductColumns,
421
- maxRows: 3
422
- }
423
- ) }),
660
+ render: () => /* @__PURE__ */ jsx(TopNTableEntryMaxRowsPreview, {}),
424
661
  code: `import { TopNTable } from '@open-mercato/ui/backend/charts'
425
662
 
426
663
  <TopNTable title="Top 3 products" data={topProducts} columns={columns} maxRows={3} />`
@@ -428,22 +665,131 @@ const columns: TopNTableColumn<TopProductRow>[] = [
428
665
  {
429
666
  id: "empty",
430
667
  title: "Empty state",
431
- render: () => /* @__PURE__ */ jsx("div", { className: "w-full max-w-xl", children: /* @__PURE__ */ jsx(
432
- TopNTable,
433
- {
434
- title: "Top products",
435
- data: [],
436
- columns: topProductColumns,
437
- emptyMessage: "No sales in this period"
438
- }
439
- ) }),
668
+ render: () => /* @__PURE__ */ jsx(TopNTableEntryEmptyPreview, {}),
440
669
  code: `import { TopNTable } from '@open-mercato/ui/backend/charts'
441
670
 
442
671
  <TopNTable title="Top products" data={[]} columns={columns} emptyMessage="No sales in this period" />`
443
672
  }
444
673
  ]
445
674
  };
675
+ const marketingWidgetsEntry = {
676
+ id: "marketing-widgets",
677
+ title: "Marketing & Sales Widgets",
678
+ importPath: "@open-mercato/ui/primitives/card",
679
+ figmaNodeId: "164628:1734",
680
+ variants: [
681
+ {
682
+ id: "total-sales",
683
+ title: "total-sales",
684
+ render: () => /* @__PURE__ */ jsx(MarketingWidgetDemo, { kind: "total-sales" }),
685
+ code: marketingWidgetExampleCode('<MarketingWidgetDemo kind="total-sales" />')
686
+ },
687
+ {
688
+ id: "total-visitors",
689
+ title: "total-visitors",
690
+ render: () => /* @__PURE__ */ jsx(MarketingWidgetDemo, { kind: "total-visitors" }),
691
+ code: marketingWidgetExampleCode('<MarketingWidgetDemo kind="total-visitors" />')
692
+ },
693
+ {
694
+ id: "conversion-rate",
695
+ title: "conversion-rate",
696
+ render: () => /* @__PURE__ */ jsx(MarketingWidgetDemo, { kind: "conversion-rate" }),
697
+ code: marketingWidgetExampleCode('<MarketingWidgetDemo kind="conversion-rate" />')
698
+ },
699
+ {
700
+ id: "user-retention",
701
+ title: "user-retention",
702
+ render: () => /* @__PURE__ */ jsx(MarketingWidgetDemo, { kind: "user-retention" }),
703
+ code: marketingWidgetExampleCode('<MarketingWidgetDemo kind="user-retention" />')
704
+ },
705
+ {
706
+ id: "weekly-visitors",
707
+ title: "weekly-visitors",
708
+ render: () => /* @__PURE__ */ jsx(MarketingWidgetDemo, { kind: "weekly-visitors" }),
709
+ code: marketingWidgetExampleCode('<MarketingWidgetDemo kind="weekly-visitors" />')
710
+ },
711
+ {
712
+ id: "visitor-channels",
713
+ title: "visitor-channels",
714
+ render: () => /* @__PURE__ */ jsx(MarketingWidgetDemo, { kind: "visitor-channels" }),
715
+ code: marketingWidgetExampleCode('<MarketingWidgetDemo kind="visitor-channels" />')
716
+ },
717
+ {
718
+ id: "geography",
719
+ title: "geography",
720
+ render: () => /* @__PURE__ */ jsx(MarketingWidgetDemo, { kind: "geography" }),
721
+ code: marketingWidgetExampleCode('<MarketingWidgetDemo kind="geography" />')
722
+ },
723
+ {
724
+ id: "realtime-visitors",
725
+ title: "realtime-visitors",
726
+ render: () => /* @__PURE__ */ jsx(MarketingWidgetDemo, { kind: "realtime-visitors" }),
727
+ code: marketingWidgetExampleCode('<MarketingWidgetDemo kind="realtime-visitors" />')
728
+ },
729
+ {
730
+ id: "marketing-channels",
731
+ title: "marketing-channels",
732
+ render: () => /* @__PURE__ */ jsx(MarketingWidgetDemo, { kind: "marketing-channels" }),
733
+ code: marketingWidgetExampleCode('<MarketingWidgetDemo kind="marketing-channels" />')
734
+ },
735
+ {
736
+ id: "product-performance",
737
+ title: "product-performance",
738
+ render: () => /* @__PURE__ */ jsx(MarketingWidgetDemo, { kind: "product-performance" }),
739
+ code: marketingWidgetExampleCode('<MarketingWidgetDemo kind="product-performance" />')
740
+ },
741
+ {
742
+ id: "shipping-tracking",
743
+ title: "shipping-tracking",
744
+ render: () => /* @__PURE__ */ jsx(MarketingWidgetDemo, { kind: "shipping-tracking" }),
745
+ code: marketingWidgetExampleCode('<MarketingWidgetDemo kind="shipping-tracking" />')
746
+ },
747
+ {
748
+ id: "my-products",
749
+ title: "my-products",
750
+ render: () => /* @__PURE__ */ jsx(MarketingWidgetDemo, { kind: "my-products" }),
751
+ code: marketingWidgetExampleCode('<MarketingWidgetDemo kind="my-products" />')
752
+ },
753
+ {
754
+ id: "product-categories",
755
+ title: "product-categories",
756
+ render: () => /* @__PURE__ */ jsx(MarketingWidgetDemo, { kind: "product-categories" }),
757
+ code: marketingWidgetExampleCode('<MarketingWidgetDemo kind="product-categories" />')
758
+ },
759
+ {
760
+ id: "customer-segments",
761
+ title: "customer-segments",
762
+ render: () => /* @__PURE__ */ jsx(MarketingWidgetDemo, { kind: "customer-segments" }),
763
+ code: marketingWidgetExampleCode('<MarketingWidgetDemo kind="customer-segments" />')
764
+ },
765
+ {
766
+ id: "sales-channels",
767
+ title: "sales-channels",
768
+ render: () => /* @__PURE__ */ jsx(MarketingWidgetDemo, { kind: "sales-channels" }),
769
+ code: marketingWidgetExampleCode('<MarketingWidgetDemo kind="sales-channels" />')
770
+ },
771
+ {
772
+ id: "campaign-data",
773
+ title: "campaign-data",
774
+ render: () => /* @__PURE__ */ jsx(MarketingWidgetDemo, { kind: "campaign-data" }),
775
+ code: marketingWidgetExampleCode('<MarketingWidgetDemo kind="campaign-data" />')
776
+ },
777
+ {
778
+ id: "support-analytics",
779
+ title: "support-analytics",
780
+ render: () => /* @__PURE__ */ jsx(MarketingWidgetDemo, { kind: "support-analytics" }),
781
+ code: marketingWidgetExampleCode('<MarketingWidgetDemo kind="support-analytics" />')
782
+ },
783
+ {
784
+ id: "recent-activities",
785
+ title: "recent-activities",
786
+ render: () => /* @__PURE__ */ jsx(MarketingWidgetDemo, { kind: "recent-activities" }),
787
+ code: marketingWidgetExampleCode('<MarketingWidgetDemo kind="recent-activities" />')
788
+ }
789
+ ]
790
+ };
446
791
  const entries = [
792
+ marketingWidgetsEntry,
447
793
  kpiCardEntry,
448
794
  sparklineEntry,
449
795
  barChartEntry,