@brandsync/wc 1.10.0 → 1.11.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 (432) hide show
  1. package/custom-elements.json +8335 -4132
  2. package/dist/brandsync-wc/brandsync-wc.css +33 -0
  3. package/dist/brandsync-wc/brandsync-wc.esm.js +1 -1
  4. package/dist/brandsync-wc/{p-9f8852a0.entry.js → p-00a0d489.entry.js} +1 -1
  5. package/dist/brandsync-wc/{p-a5feaad4.entry.js → p-061ddc46.entry.js} +1 -1
  6. package/dist/brandsync-wc/{p-360452c2.entry.js → p-09435f41.entry.js} +1 -1
  7. package/dist/brandsync-wc/{p-dbcbe682.entry.js → p-09bc1923.entry.js} +1 -1
  8. package/dist/brandsync-wc/{p-1f7208cb.entry.js → p-09cbf05b.entry.js} +1 -1
  9. package/dist/brandsync-wc/{p-c99b6a66.entry.js → p-0b2d3b7e.entry.js} +1 -1
  10. package/dist/brandsync-wc/p-0b7c77c1.entry.js +1 -0
  11. package/dist/brandsync-wc/p-0ee4126c.entry.js +1 -0
  12. package/dist/brandsync-wc/{p-5f3cd501.entry.js → p-0f8cd2e8.entry.js} +1 -1
  13. package/dist/brandsync-wc/{p-1c0db4d6.entry.js → p-1261f0b0.entry.js} +1 -1
  14. package/dist/brandsync-wc/{p-b2074a32.entry.js → p-1978e63c.entry.js} +1 -1
  15. package/dist/brandsync-wc/p-1aab6d07.entry.js +1 -0
  16. package/dist/brandsync-wc/{p-96ed9386.entry.js → p-20030f4d.entry.js} +1 -1
  17. package/dist/brandsync-wc/p-2177042f.entry.js +1 -0
  18. package/dist/brandsync-wc/{p-a8e2a829.entry.js → p-2368a92e.entry.js} +1 -1
  19. package/dist/brandsync-wc/{p-2e958566.entry.js → p-247e36ad.entry.js} +1 -1
  20. package/dist/brandsync-wc/p-2497d128.entry.js +1 -0
  21. package/dist/brandsync-wc/{p-701ebf4a.entry.js → p-282ddbee.entry.js} +1 -1
  22. package/dist/brandsync-wc/{p-763876f5.entry.js → p-2f4e08e1.entry.js} +1 -1
  23. package/dist/brandsync-wc/{p-c3f72584.entry.js → p-34e5feaf.entry.js} +1 -1
  24. package/dist/brandsync-wc/{p-ea4e20ef.entry.js → p-39a26c64.entry.js} +1 -1
  25. package/dist/brandsync-wc/p-3a1af63a.entry.js +1 -0
  26. package/dist/brandsync-wc/{p-9f6fe37d.entry.js → p-3f09296a.entry.js} +1 -1
  27. package/dist/brandsync-wc/p-416322bd.entry.js +1 -0
  28. package/dist/brandsync-wc/{p-bbcc47b0.entry.js → p-491b51e6.entry.js} +1 -1
  29. package/dist/brandsync-wc/p-52cb2358.entry.js +1 -0
  30. package/dist/brandsync-wc/{p-daab6b22.entry.js → p-56c37e0a.entry.js} +1 -1
  31. package/dist/brandsync-wc/p-5ba90a13.entry.js +1 -0
  32. package/dist/brandsync-wc/{p-2181378f.entry.js → p-5f27f04d.entry.js} +1 -1
  33. package/dist/brandsync-wc/{p-08c99a60.entry.js → p-617bd13a.entry.js} +1 -1
  34. package/dist/brandsync-wc/p-68fcd4a4.entry.js +1 -0
  35. package/dist/brandsync-wc/{p-9e88f19c.entry.js → p-69c0a85d.entry.js} +1 -1
  36. package/dist/brandsync-wc/{p-d3f44cb7.entry.js → p-6a696161.entry.js} +1 -1
  37. package/dist/brandsync-wc/{p-32cd69f1.entry.js → p-6c6cdf77.entry.js} +1 -1
  38. package/dist/brandsync-wc/{p-041776c0.entry.js → p-6e735e37.entry.js} +1 -1
  39. package/dist/brandsync-wc/{p-fc58c663.entry.js → p-73f214ed.entry.js} +1 -1
  40. package/dist/brandsync-wc/{p-be2c1740.entry.js → p-7796b93f.entry.js} +1 -1
  41. package/dist/brandsync-wc/p-78a69a59.entry.js +1 -0
  42. package/dist/brandsync-wc/{p-f370b8fa.entry.js → p-78f4fcf0.entry.js} +1 -1
  43. package/dist/brandsync-wc/p-7f954939.entry.js +1 -0
  44. package/dist/brandsync-wc/{p-835a8dc7.entry.js → p-81605b82.entry.js} +1 -1
  45. package/dist/brandsync-wc/{p-a71d2811.entry.js → p-823ab3b2.entry.js} +1 -1
  46. package/dist/brandsync-wc/{p-a92eec48.entry.js → p-89fabf27.entry.js} +1 -1
  47. package/dist/brandsync-wc/{p-AgoOSYvW.js → p-DqQRXQMx.js} +2 -2
  48. package/dist/brandsync-wc/{p-18c3c22c.entry.js → p-a9169157.entry.js} +1 -1
  49. package/dist/brandsync-wc/{p-f89de457.entry.js → p-afb07368.entry.js} +1 -1
  50. package/dist/brandsync-wc/{p-301b2455.entry.js → p-b84366a7.entry.js} +1 -1
  51. package/dist/brandsync-wc/p-b9a4042e.entry.js +1 -0
  52. package/dist/brandsync-wc/{p-275072dd.entry.js → p-b9ccd9d1.entry.js} +1 -1
  53. package/dist/brandsync-wc/{p-61c1a2a3.entry.js → p-be3dd446.entry.js} +1 -1
  54. package/dist/brandsync-wc/{p-d42b1c2b.entry.js → p-c0a92750.entry.js} +1 -1
  55. package/dist/brandsync-wc/{p-8eba7f90.entry.js → p-d754ee13.entry.js} +1 -1
  56. package/dist/brandsync-wc/{p-e9b43754.entry.js → p-d75f3f87.entry.js} +1 -1
  57. package/dist/brandsync-wc/{p-e8a5b8eb.entry.js → p-d8b29a53.entry.js} +1 -1
  58. package/dist/brandsync-wc/p-de110ad0.entry.js +1 -0
  59. package/dist/brandsync-wc/p-e2556b4e.entry.js +1 -0
  60. package/dist/brandsync-wc/{p-af2bf957.entry.js → p-e5daa6ca.entry.js} +1 -1
  61. package/dist/brandsync-wc/{p-0132a2d1.entry.js → p-f15d9524.entry.js} +1 -1
  62. package/dist/brandsync-wc/p-f5180578.entry.js +1 -0
  63. package/dist/brandsync-wc/{p-fd254972.entry.js → p-f7d15fbe.entry.js} +1 -1
  64. package/dist/brandsync-wc/{p-50a251a4.entry.js → p-fc069773.entry.js} +1 -1
  65. package/dist/brandsync-wc/p-fcee0dc4.entry.js +1 -0
  66. package/dist/cjs/brandsync-wc.cjs.js +2 -2
  67. package/dist/cjs/bs-accordion.cjs.entry.js +1 -1
  68. package/dist/cjs/bs-ai-disclaimer.cjs.entry.js +2 -2
  69. package/dist/cjs/bs-ai-greeting.cjs.entry.js +2 -2
  70. package/dist/cjs/bs-ai-thinking.cjs.entry.js +2 -2
  71. package/dist/cjs/bs-attachment-list.cjs.entry.js +2 -2
  72. package/dist/cjs/bs-attachment.cjs.entry.js +1 -1
  73. package/dist/cjs/bs-avatar.cjs.entry.js +1 -1
  74. package/dist/cjs/bs-badge.cjs.entry.js +1 -1
  75. package/dist/cjs/bs-breadcrumb-overflow.cjs.entry.js +1 -1
  76. package/dist/cjs/bs-breadcrumb.cjs.entry.js +1 -1
  77. package/dist/cjs/bs-breadcrumbs.cjs.entry.js +2 -2
  78. package/dist/cjs/bs-button-skeleton.cjs.entry.js +2 -2
  79. package/dist/cjs/bs-button.cjs.entry.js +3 -3
  80. package/dist/cjs/bs-card.cjs.entry.js +3 -3
  81. package/dist/cjs/bs-carousel.cjs.entry.js +1 -1
  82. package/dist/cjs/bs-chatbot-feedback.cjs.entry.js +2 -2
  83. package/dist/cjs/bs-chatbot-header.cjs.entry.js +2 -2
  84. package/dist/cjs/bs-chatbot-response-action.cjs.entry.js +2 -2
  85. package/dist/cjs/bs-chatbot-sources-drawer.cjs.entry.js +2 -2
  86. package/dist/cjs/bs-chatbot-suggestion-button.cjs.entry.js +2 -2
  87. package/dist/cjs/bs-checkbox-skeleton.cjs.entry.js +2 -2
  88. package/dist/cjs/bs-checkbox.cjs.entry.js +1 -1
  89. package/dist/cjs/bs-chip-filter.cjs.entry.js +1 -1
  90. package/dist/cjs/bs-chip-informative.cjs.entry.js +1 -1
  91. package/dist/cjs/bs-chip-input.cjs.entry.js +1 -1
  92. package/dist/cjs/bs-composer-status-banner.cjs.entry.js +1 -1
  93. package/dist/cjs/bs-composer.cjs.entry.js +1 -1
  94. package/dist/cjs/bs-cookie-consent.cjs.entry.js +186 -0
  95. package/dist/cjs/bs-data-table.cjs.entry.js +1 -1
  96. package/dist/cjs/bs-datepicker.cjs.entry.js +13 -9
  97. package/dist/cjs/bs-dialog.cjs.entry.js +1 -1
  98. package/dist/cjs/bs-error-page.cjs.entry.js +103 -0
  99. package/dist/cjs/bs-file-upload-item.cjs.entry.js +2 -2
  100. package/dist/cjs/bs-file-upload.cjs.entry.js +2 -2
  101. package/dist/cjs/bs-icon-button.cjs.entry.js +2 -2
  102. package/dist/cjs/bs-icon-tile.cjs.entry.js +52 -0
  103. package/dist/cjs/bs-inline-tab.cjs.entry.js +2 -2
  104. package/dist/cjs/{bs-input_2.cjs.entry.js → bs-input_3.cjs.entry.js} +40 -5
  105. package/dist/cjs/bs-logo.cjs.entry.js +1 -1
  106. package/dist/cjs/bs-navigation-drawer-item.cjs.entry.js +2 -2
  107. package/dist/cjs/bs-navigation-drawer.cjs.entry.js +3 -3
  108. package/dist/cjs/bs-navigation-header.cjs.entry.js +2 -2
  109. package/dist/cjs/bs-onboarding-checklist.cjs.entry.js +161 -0
  110. package/dist/cjs/bs-pagination.cjs.entry.js +2 -2
  111. package/dist/cjs/bs-product-tour.cjs.entry.js +78 -0
  112. package/dist/cjs/bs-progress-linear.cjs.entry.js +4 -4
  113. package/dist/cjs/bs-progress.cjs.entry.js +3 -3
  114. package/dist/cjs/bs-qr-code.cjs.entry.js +148 -0
  115. package/dist/cjs/bs-radio.cjs.entry.js +2 -2
  116. package/dist/cjs/bs-session-timeout.cjs.entry.js +215 -0
  117. package/dist/cjs/bs-slider.cjs.entry.js +2 -2
  118. package/dist/cjs/bs-snackbar.cjs.entry.js +9 -3
  119. package/dist/cjs/bs-source-link.cjs.entry.js +3 -3
  120. package/dist/cjs/bs-stepper-step.cjs.entry.js +2 -2
  121. package/dist/cjs/bs-stepper.cjs.entry.js +2 -2
  122. package/dist/cjs/bs-switch.cjs.entry.js +2 -2
  123. package/dist/cjs/bs-tab_3.cjs.entry.js +255 -0
  124. package/dist/cjs/bs-timepicker.cjs.entry.js +4 -4
  125. package/dist/cjs/bs-toast.cjs.entry.js +2 -2
  126. package/dist/cjs/bs-tooltip.cjs.entry.js +2 -2
  127. package/dist/cjs/bs-whats-new.cjs.entry.js +144 -0
  128. package/dist/cjs/{index-kk9YXF2S.js → index-tFJjflK5.js} +15 -3
  129. package/dist/cjs/loader.cjs.js +2 -2
  130. package/dist/collection/collection-manifest.json +9 -0
  131. package/dist/collection/components/bs-a11y.cmp.test.js +22 -0
  132. package/dist/collection/components/bs-ai-disclaimer/bs-ai-disclaimer.js +1 -1
  133. package/dist/collection/components/bs-ai-greeting/bs-ai-greeting.js +1 -1
  134. package/dist/collection/components/bs-ai-thinking/bs-ai-thinking.js +1 -1
  135. package/dist/collection/components/bs-attachment-list/bs-attachment-list.js +1 -1
  136. package/dist/collection/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.js +1 -1
  137. package/dist/collection/components/bs-button/bs-button/bs-button.cmp.test.js +28 -0
  138. package/dist/collection/components/bs-button/bs-button/bs-button.css +8 -2
  139. package/dist/collection/components/bs-button/bs-button/bs-button.js +4 -1
  140. package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.js +1 -1
  141. package/dist/collection/components/bs-button-skeleton/bs-button-skeleton.js +1 -1
  142. package/dist/collection/components/bs-card/bs-card.cmp.test.js +48 -0
  143. package/dist/collection/components/bs-card/bs-card.css +37 -16
  144. package/dist/collection/components/bs-card/bs-card.js +2 -2
  145. package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.js +1 -1
  146. package/dist/collection/components/bs-chatbot-header/bs-chatbot-header.js +1 -1
  147. package/dist/collection/components/bs-chatbot-response-action/bs-chatbot-response-action.js +1 -1
  148. package/dist/collection/components/bs-chatbot-sources-drawer/bs-chatbot-sources-drawer.js +1 -1
  149. package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.js +1 -1
  150. package/dist/collection/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.js +1 -1
  151. package/dist/collection/components/bs-cookie-consent/bs-cookie-consent.cmp.test.js +217 -0
  152. package/dist/collection/components/bs-cookie-consent/bs-cookie-consent.css +350 -0
  153. package/dist/collection/components/bs-cookie-consent/bs-cookie-consent.js +668 -0
  154. package/dist/collection/components/bs-cookie-consent/bs-cookie-consent.stories.js +103 -0
  155. package/dist/collection/components/bs-datepicker/bs-datepicker.cmp.test.js +9 -0
  156. package/dist/collection/components/bs-datepicker/bs-datepicker.css +21 -11
  157. package/dist/collection/components/bs-datepicker/bs-datepicker.js +13 -7
  158. package/dist/collection/components/bs-datepicker/bs-datepicker.stories.js +3 -2
  159. package/dist/collection/components/bs-error-page/bs-error-page.cmp.test.js +99 -0
  160. package/dist/collection/components/bs-error-page/bs-error-page.css +105 -0
  161. package/dist/collection/components/bs-error-page/bs-error-page.js +328 -0
  162. package/dist/collection/components/bs-error-page/bs-error-page.stories.js +57 -0
  163. package/dist/collection/components/bs-file-upload/bs-file-upload.js +1 -1
  164. package/dist/collection/components/bs-file-upload-item/bs-file-upload-item.js +1 -1
  165. package/dist/collection/components/bs-icon-tile/bs-icon-tile.cmp.test.js +175 -0
  166. package/dist/collection/components/bs-icon-tile/bs-icon-tile.css +112 -0
  167. package/dist/collection/components/bs-icon-tile/bs-icon-tile.js +158 -0
  168. package/dist/collection/components/bs-icon-tile/bs-icon-tile.stories.js +45 -0
  169. package/dist/collection/components/bs-input/bs-input.cmp.test.js +14 -0
  170. package/dist/collection/components/bs-input/bs-input.css +9 -2
  171. package/dist/collection/components/bs-input/bs-input.js +2 -2
  172. package/dist/collection/components/bs-menu/bs-menu.js +1 -1
  173. package/dist/collection/components/bs-menu-item/bs-menu-item.js +1 -1
  174. package/dist/collection/components/bs-onboarding-checklist/bs-onboarding-checklist.cmp.test.js +280 -0
  175. package/dist/collection/components/bs-onboarding-checklist/bs-onboarding-checklist.css +488 -0
  176. package/dist/collection/components/bs-onboarding-checklist/bs-onboarding-checklist.js +674 -0
  177. package/dist/collection/components/bs-onboarding-checklist/bs-onboarding-checklist.stories.js +92 -0
  178. package/dist/collection/components/bs-pagination/bs-pagination.js +1 -1
  179. package/dist/collection/components/bs-product-tour/bs-product-tour.cmp.test.js +116 -0
  180. package/dist/collection/components/bs-product-tour/bs-product-tour.css +265 -0
  181. package/dist/collection/components/bs-product-tour/bs-product-tour.js +391 -0
  182. package/dist/collection/components/bs-product-tour/bs-product-tour.stories.js +68 -0
  183. package/dist/collection/components/bs-progress/bs-progress.js +2 -2
  184. package/dist/collection/components/bs-progress-linear/bs-progress-linear.css +1 -1
  185. package/dist/collection/components/bs-progress-linear/bs-progress-linear.js +2 -2
  186. package/dist/collection/components/bs-qr-code/bs-qr-code.cmp.test.js +152 -0
  187. package/dist/collection/components/bs-qr-code/bs-qr-code.css +307 -0
  188. package/dist/collection/components/bs-qr-code/bs-qr-code.js +767 -0
  189. package/dist/collection/components/bs-qr-code/bs-qr-code.stories.js +99 -0
  190. package/dist/collection/components/bs-radio/bs-radio.js +1 -1
  191. package/dist/collection/components/bs-session-timeout/bs-session-timeout.cmp.test.js +202 -0
  192. package/dist/collection/components/bs-session-timeout/bs-session-timeout.css +239 -0
  193. package/dist/collection/components/bs-session-timeout/bs-session-timeout.js +772 -0
  194. package/dist/collection/components/bs-session-timeout/bs-session-timeout.stories.js +88 -0
  195. package/dist/collection/components/bs-slider/bs-slider.js +1 -1
  196. package/dist/collection/components/bs-snackbar/bs-snackbar.cmp.test.js +20 -0
  197. package/dist/collection/components/bs-snackbar/bs-snackbar.css +6 -4
  198. package/dist/collection/components/bs-snackbar/bs-snackbar.js +53 -1
  199. package/dist/collection/components/bs-source-link/bs-source-link.js +2 -2
  200. package/dist/collection/components/bs-stepper/bs-stepper/bs-stepper.js +1 -1
  201. package/dist/collection/components/bs-stepper/bs-stepper-step/bs-stepper-step.js +1 -1
  202. package/dist/collection/components/bs-switch/bs-switch.js +1 -1
  203. package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.js +1 -1
  204. package/dist/collection/components/bs-tab/bs-tab/bs-tab.js +1 -1
  205. package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.js +1 -1
  206. package/dist/collection/components/bs-timepicker/bs-timepicker.css +15 -11
  207. package/dist/collection/components/bs-timepicker/bs-timepicker.js +4 -2
  208. package/dist/collection/components/bs-toast/bs-toast.js +1 -1
  209. package/dist/collection/components/bs-tooltip/bs-tooltip.js +1 -1
  210. package/dist/collection/components/bs-whats-new/bs-whats-new.cmp.test.js +200 -0
  211. package/dist/collection/components/bs-whats-new/bs-whats-new.css +315 -0
  212. package/dist/collection/components/bs-whats-new/bs-whats-new.js +790 -0
  213. package/dist/collection/components/bs-whats-new/bs-whats-new.stories.js +105 -0
  214. package/dist/collection/components/bs-whats-new-entry/bs-whats-new-entry.cmp.test.js +79 -0
  215. package/dist/collection/components/bs-whats-new-entry/bs-whats-new-entry.css +131 -0
  216. package/dist/collection/components/bs-whats-new-entry/bs-whats-new-entry.js +295 -0
  217. package/dist/collection/components/bs-whats-new-entry/bs-whats-new-entry.stories.js +67 -0
  218. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.js +2 -2
  219. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.js +1 -1
  220. package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.js +1 -1
  221. package/dist/components/bs-accordion.js +1 -1
  222. package/dist/components/bs-ai-disclaimer.js +1 -1
  223. package/dist/components/bs-ai-greeting.js +1 -1
  224. package/dist/components/bs-ai-thinking.js +1 -1
  225. package/dist/components/bs-attachment-list.js +1 -1
  226. package/dist/components/bs-attachment.js +1 -1
  227. package/dist/components/bs-avatar.js +1 -1
  228. package/dist/components/bs-badge.js +1 -1
  229. package/dist/components/bs-breadcrumb-overflow.js +1 -1
  230. package/dist/components/bs-breadcrumb.js +1 -1
  231. package/dist/components/bs-breadcrumbs.js +1 -1
  232. package/dist/components/bs-button-skeleton.js +1 -1
  233. package/dist/components/bs-button.js +1 -1
  234. package/dist/components/bs-card.js +1 -1
  235. package/dist/components/bs-carousel.js +1 -1
  236. package/dist/components/bs-chatbot-feedback.js +1 -1
  237. package/dist/components/bs-chatbot-header.js +1 -1
  238. package/dist/components/bs-chatbot-response-action.js +1 -1
  239. package/dist/components/bs-chatbot-sources-drawer.js +1 -1
  240. package/dist/components/bs-chatbot-suggestion-button.js +1 -1
  241. package/dist/components/bs-checkbox-skeleton.js +1 -1
  242. package/dist/components/bs-checkbox.js +1 -1
  243. package/dist/components/bs-chip-filter.js +1 -1
  244. package/dist/components/bs-chip-informative.js +1 -1
  245. package/dist/components/bs-chip-input.js +1 -1
  246. package/dist/components/bs-composer-status-banner.js +1 -1
  247. package/dist/components/bs-composer.js +1 -1
  248. package/dist/components/bs-cookie-consent.d.ts +11 -0
  249. package/dist/components/bs-cookie-consent.js +1 -0
  250. package/dist/components/bs-data-table.js +1 -1
  251. package/dist/components/bs-datepicker.js +1 -1
  252. package/dist/components/bs-dialog.js +1 -1
  253. package/dist/components/bs-error-page.d.ts +11 -0
  254. package/dist/components/bs-error-page.js +1 -0
  255. package/dist/components/bs-file-upload-item.js +1 -1
  256. package/dist/components/bs-file-upload.js +1 -1
  257. package/dist/components/bs-icon-button.js +1 -1
  258. package/dist/components/bs-icon-tile.d.ts +11 -0
  259. package/dist/components/bs-icon-tile.js +1 -0
  260. package/dist/components/bs-inline-tab.js +1 -1
  261. package/dist/components/bs-input.js +1 -1
  262. package/dist/components/bs-logo.js +1 -1
  263. package/dist/components/bs-menu-item.js +1 -1
  264. package/dist/components/bs-menu.js +1 -1
  265. package/dist/components/bs-navigation-drawer-item.js +1 -1
  266. package/dist/components/bs-navigation-drawer.js +1 -1
  267. package/dist/components/bs-navigation-header.js +1 -1
  268. package/dist/components/bs-onboarding-checklist.d.ts +11 -0
  269. package/dist/components/bs-onboarding-checklist.js +1 -0
  270. package/dist/components/bs-pagination.js +1 -1
  271. package/dist/components/bs-product-tour.d.ts +11 -0
  272. package/dist/components/bs-product-tour.js +1 -0
  273. package/dist/components/bs-progress-linear.js +1 -1
  274. package/dist/components/bs-progress.js +1 -1
  275. package/dist/components/bs-qr-code.d.ts +11 -0
  276. package/dist/components/bs-qr-code.js +1 -0
  277. package/dist/components/bs-radio.js +1 -1
  278. package/dist/components/bs-session-timeout.d.ts +11 -0
  279. package/dist/components/bs-session-timeout.js +1 -0
  280. package/dist/components/bs-slider.js +1 -1
  281. package/dist/components/bs-snackbar.js +1 -1
  282. package/dist/components/bs-source-link.js +1 -1
  283. package/dist/components/bs-stepper-step.js +1 -1
  284. package/dist/components/bs-stepper.js +1 -1
  285. package/dist/components/bs-switch.js +1 -1
  286. package/dist/components/bs-tab.js +1 -1
  287. package/dist/components/bs-tabs.js +1 -1
  288. package/dist/components/bs-timepicker.js +1 -1
  289. package/dist/components/bs-toast.js +1 -1
  290. package/dist/components/bs-tooltip.js +1 -1
  291. package/dist/components/bs-whats-new-entry.d.ts +11 -0
  292. package/dist/components/bs-whats-new-entry.js +1 -0
  293. package/dist/components/bs-whats-new.d.ts +11 -0
  294. package/dist/components/bs-whats-new.js +1 -0
  295. package/dist/components/index.js +1 -1
  296. package/dist/components/{p-R2MlkUzD.js → p-BEEoVNRu.js} +1 -1
  297. package/dist/components/{p-DkIVyFOP.js → p-BZ3M4lOU.js} +1 -1
  298. package/dist/components/{p-Ba860ej1.js → p-B_I4UEMp.js} +1 -1
  299. package/dist/components/{p-ZK8p5zax.js → p-Be9L4_Fe.js} +1 -1
  300. package/dist/components/p-Be_Pmccm.js +1 -0
  301. package/dist/components/{p-CPvqZNO8.js → p-Bl_tVzeq.js} +1 -1
  302. package/dist/components/p-C8yT2Ucq.js +1 -0
  303. package/dist/components/p-CA31vqjL.js +1 -0
  304. package/dist/components/p-CUfs0ROR.js +1 -0
  305. package/dist/components/{p-JYlmcxBn.js → p-CVrEuVFo.js} +1 -1
  306. package/dist/components/{p-B7Icv1ho.js → p-C_j_jDM6.js} +1 -1
  307. package/dist/components/p-CbimDNGY.js +1 -0
  308. package/dist/components/p-CeUK3n7D.js +1 -0
  309. package/dist/components/p-CncySD_-.js +1 -0
  310. package/dist/components/p-DE8K7fg0.js +1 -0
  311. package/dist/components/p-Dr0Qk9Zc.js +1 -0
  312. package/dist/components/p-DuLL7Ouw.js +1 -0
  313. package/dist/components/p-YsHQLXET.js +1 -0
  314. package/dist/components/p-qmS2CBqi.js +1 -0
  315. package/dist/components/{p-BYR_ZC8v.js → p-zTHlbyH6.js} +1 -1
  316. package/dist/esm/brandsync-wc.js +3 -3
  317. package/dist/esm/bs-accordion.entry.js +1 -1
  318. package/dist/esm/bs-ai-disclaimer.entry.js +2 -2
  319. package/dist/esm/bs-ai-greeting.entry.js +2 -2
  320. package/dist/esm/bs-ai-thinking.entry.js +2 -2
  321. package/dist/esm/bs-attachment-list.entry.js +2 -2
  322. package/dist/esm/bs-attachment.entry.js +1 -1
  323. package/dist/esm/bs-avatar.entry.js +1 -1
  324. package/dist/esm/bs-badge.entry.js +1 -1
  325. package/dist/esm/bs-breadcrumb-overflow.entry.js +1 -1
  326. package/dist/esm/bs-breadcrumb.entry.js +1 -1
  327. package/dist/esm/bs-breadcrumbs.entry.js +2 -2
  328. package/dist/esm/bs-button-skeleton.entry.js +2 -2
  329. package/dist/esm/bs-button.entry.js +3 -3
  330. package/dist/esm/bs-card.entry.js +3 -3
  331. package/dist/esm/bs-carousel.entry.js +1 -1
  332. package/dist/esm/bs-chatbot-feedback.entry.js +2 -2
  333. package/dist/esm/bs-chatbot-header.entry.js +2 -2
  334. package/dist/esm/bs-chatbot-response-action.entry.js +2 -2
  335. package/dist/esm/bs-chatbot-sources-drawer.entry.js +2 -2
  336. package/dist/esm/bs-chatbot-suggestion-button.entry.js +2 -2
  337. package/dist/esm/bs-checkbox-skeleton.entry.js +2 -2
  338. package/dist/esm/bs-checkbox.entry.js +1 -1
  339. package/dist/esm/bs-chip-filter.entry.js +1 -1
  340. package/dist/esm/bs-chip-informative.entry.js +1 -1
  341. package/dist/esm/bs-chip-input.entry.js +1 -1
  342. package/dist/esm/bs-composer-status-banner.entry.js +1 -1
  343. package/dist/esm/bs-composer.entry.js +1 -1
  344. package/dist/esm/bs-cookie-consent.entry.js +184 -0
  345. package/dist/esm/bs-data-table.entry.js +1 -1
  346. package/dist/esm/bs-datepicker.entry.js +13 -9
  347. package/dist/esm/bs-dialog.entry.js +1 -1
  348. package/dist/esm/bs-error-page.entry.js +101 -0
  349. package/dist/esm/bs-file-upload-item.entry.js +2 -2
  350. package/dist/esm/bs-file-upload.entry.js +2 -2
  351. package/dist/esm/bs-icon-button.entry.js +2 -2
  352. package/dist/esm/bs-icon-tile.entry.js +50 -0
  353. package/dist/esm/bs-inline-tab.entry.js +2 -2
  354. package/dist/esm/{bs-input_2.entry.js → bs-input_3.entry.js} +40 -6
  355. package/dist/esm/bs-logo.entry.js +1 -1
  356. package/dist/esm/bs-navigation-drawer-item.entry.js +2 -2
  357. package/dist/esm/bs-navigation-drawer.entry.js +3 -3
  358. package/dist/esm/bs-navigation-header.entry.js +2 -2
  359. package/dist/esm/bs-onboarding-checklist.entry.js +159 -0
  360. package/dist/esm/bs-pagination.entry.js +2 -2
  361. package/dist/esm/bs-product-tour.entry.js +76 -0
  362. package/dist/esm/bs-progress-linear.entry.js +4 -4
  363. package/dist/esm/bs-progress.entry.js +3 -3
  364. package/dist/esm/bs-qr-code.entry.js +146 -0
  365. package/dist/esm/bs-radio.entry.js +2 -2
  366. package/dist/esm/bs-session-timeout.entry.js +213 -0
  367. package/dist/esm/bs-slider.entry.js +2 -2
  368. package/dist/esm/bs-snackbar.entry.js +9 -3
  369. package/dist/esm/bs-source-link.entry.js +3 -3
  370. package/dist/esm/bs-stepper-step.entry.js +2 -2
  371. package/dist/esm/bs-stepper.entry.js +2 -2
  372. package/dist/esm/bs-switch.entry.js +2 -2
  373. package/dist/esm/bs-tab_3.entry.js +251 -0
  374. package/dist/esm/bs-timepicker.entry.js +4 -4
  375. package/dist/esm/bs-toast.entry.js +2 -2
  376. package/dist/esm/bs-tooltip.entry.js +2 -2
  377. package/dist/esm/bs-whats-new.entry.js +142 -0
  378. package/dist/esm/{index-AgoOSYvW.js → index-DqQRXQMx.js} +15 -3
  379. package/dist/esm/loader.js +3 -3
  380. package/dist/types/components/bs-button/bs-button/bs-button.d.ts +3 -0
  381. package/dist/types/components/bs-cookie-consent/bs-cookie-consent.cmp.test.d.ts +1 -0
  382. package/dist/types/components/bs-cookie-consent/bs-cookie-consent.d.ts +136 -0
  383. package/dist/types/components/bs-cookie-consent/bs-cookie-consent.stories.d.ts +16 -0
  384. package/dist/types/components/bs-datepicker/bs-datepicker.d.ts +2 -0
  385. package/dist/types/components/bs-error-page/bs-error-page.cmp.test.d.ts +1 -0
  386. package/dist/types/components/bs-error-page/bs-error-page.d.ts +60 -0
  387. package/dist/types/components/bs-error-page/bs-error-page.stories.d.ts +22 -0
  388. package/dist/types/components/bs-icon-tile/bs-icon-tile.cmp.test.d.ts +1 -0
  389. package/dist/types/components/bs-icon-tile/bs-icon-tile.d.ts +40 -0
  390. package/dist/types/components/bs-icon-tile/bs-icon-tile.stories.d.ts +13 -0
  391. package/dist/types/components/bs-onboarding-checklist/bs-onboarding-checklist.cmp.test.d.ts +1 -0
  392. package/dist/types/components/bs-onboarding-checklist/bs-onboarding-checklist.d.ts +140 -0
  393. package/dist/types/components/bs-onboarding-checklist/bs-onboarding-checklist.stories.d.ts +18 -0
  394. package/dist/types/components/bs-product-tour/bs-product-tour.cmp.test.d.ts +1 -0
  395. package/dist/types/components/bs-product-tour/bs-product-tour.d.ts +78 -0
  396. package/dist/types/components/bs-product-tour/bs-product-tour.stories.d.ts +19 -0
  397. package/dist/types/components/bs-qr-code/bs-qr-code.cmp.test.d.ts +1 -0
  398. package/dist/types/components/bs-qr-code/bs-qr-code.d.ts +124 -0
  399. package/dist/types/components/bs-qr-code/bs-qr-code.stories.d.ts +28 -0
  400. package/dist/types/components/bs-session-timeout/bs-session-timeout.cmp.test.d.ts +1 -0
  401. package/dist/types/components/bs-session-timeout/bs-session-timeout.d.ts +141 -0
  402. package/dist/types/components/bs-session-timeout/bs-session-timeout.stories.d.ts +19 -0
  403. package/dist/types/components/bs-snackbar/bs-snackbar.d.ts +7 -0
  404. package/dist/types/components/bs-timepicker/bs-timepicker.d.ts +2 -0
  405. package/dist/types/components/bs-whats-new/bs-whats-new.cmp.test.d.ts +1 -0
  406. package/dist/types/components/bs-whats-new/bs-whats-new.d.ts +147 -0
  407. package/dist/types/components/bs-whats-new/bs-whats-new.stories.d.ts +14 -0
  408. package/dist/types/components/bs-whats-new-entry/bs-whats-new-entry.cmp.test.d.ts +1 -0
  409. package/dist/types/components/bs-whats-new-entry/bs-whats-new-entry.d.ts +53 -0
  410. package/dist/types/components/bs-whats-new-entry/bs-whats-new-entry.stories.d.ts +18 -0
  411. package/dist/types/components.d.ts +2636 -96
  412. package/package.json +1 -1
  413. package/dist/brandsync-wc/p-1c3a43c7.entry.js +0 -1
  414. package/dist/brandsync-wc/p-1c427ffb.entry.js +0 -1
  415. package/dist/brandsync-wc/p-4f2c4929.entry.js +0 -1
  416. package/dist/brandsync-wc/p-76e1c295.entry.js +0 -1
  417. package/dist/brandsync-wc/p-790db8b3.entry.js +0 -1
  418. package/dist/brandsync-wc/p-796a1860.entry.js +0 -1
  419. package/dist/brandsync-wc/p-806a5347.entry.js +0 -1
  420. package/dist/brandsync-wc/p-addfa0a0.entry.js +0 -1
  421. package/dist/brandsync-wc/p-c9a72416.entry.js +0 -1
  422. package/dist/brandsync-wc/p-f006d962.entry.js +0 -1
  423. package/dist/brandsync-wc/p-f074f94e.entry.js +0 -1
  424. package/dist/cjs/bs-menu.cjs.entry.js +0 -39
  425. package/dist/cjs/bs-tab.cjs.entry.js +0 -88
  426. package/dist/cjs/bs-tabs.cjs.entry.js +0 -133
  427. package/dist/components/p-BTvme8CE.js +0 -1
  428. package/dist/components/p-CpUHnsq9.js +0 -1
  429. package/dist/components/p-jDO25SfF.js +0 -1
  430. package/dist/esm/bs-menu.entry.js +0 -37
  431. package/dist/esm/bs-tab.entry.js +0 -86
  432. package/dist/esm/bs-tabs.entry.js +0 -131
@@ -0,0 +1,790 @@
1
+ import { h } from "@stencil/core";
2
+ /**
3
+ * A product's "What's new" surface, in three forms matching the Figma component:
4
+ *
5
+ * - `feed` -- a docked panel: heading, "Mark all as read", filter tabs, the list of updates (each a
6
+ * `bs-whats-new-entry`) and a link to the full release notes.
7
+ * - `announcement` -- one big update, with a hero image, a tag, a heading, a few bullet points, "1 of 3"
8
+ * and Remind me later / Next.
9
+ * - `teaser` -- a small card pointing at the feed: tag, date, heading, a line of text and "Open What's new".
10
+ *
11
+ * The component only shows what you give it and reports what the user pressed. It doesn't fetch updates,
12
+ * track which the user has seen, or decide when to appear: your app owns `entries` (with their `unread`
13
+ * flags) and reacts to the events.
14
+ *
15
+ * **Built from:** `bs-card` (the surface), `bs-whats-new-entry` (each update), `bs-tabs` (the filters),
16
+ * `bs-chip-informative` (the tags), `bs-button`, `bs-icon-button`.
17
+ *
18
+ * ## When to use
19
+ * - Telling users about changes to the product, in a place they can come back to.
20
+ *
21
+ * ## When not to use
22
+ * - Messages about the user's own data or an action they just took -- use `bs-snackbar`, `bs-toast`.
23
+ * - A guided walk through the interface -- use `bs-product-tour`.
24
+ *
25
+ * @slot hero - The hero image of the `announcement` (or any media). Use `image` for a plain URL.
26
+ * @part container - The card.
27
+ * @part heading - The heading.
28
+ * @part close - The close button.
29
+ * @part mark-all-read - The "Mark all as read" button (`feed`).
30
+ * @part filters - The filter tabs (`feed`).
31
+ * @part entries - The list of updates (`feed`).
32
+ * @part entry - Each update (`feed`).
33
+ * @part release-notes - The release notes link (`feed`).
34
+ * @part hero - The hero area (`announcement`).
35
+ * @part tag - The tag chip (`announcement`, `teaser`).
36
+ * @part points - The bullet list (`announcement`).
37
+ * @part step - The "1 of 3" label (`announcement`).
38
+ * @part secondary - The Remind me later button (`announcement`).
39
+ * @part primary - The Next button (`announcement`).
40
+ * @part date - The date (`teaser`).
41
+ * @part description - The text (`teaser`).
42
+ * @part action - The Open What's new link (`teaser`).
43
+ */
44
+ export class BsWhatsNew {
45
+ /** Which form: `feed`, `announcement` or `teaser`. */
46
+ type = 'feed';
47
+ /** Heading. Defaults to "What's new" for `feed`; set it for the other forms. */
48
+ heading;
49
+ /** HTML heading level, 1-6. */
50
+ headingLevel = 2;
51
+ /** Shows a close button. */
52
+ closable = false;
53
+ /** Accessible name of the close button. */
54
+ closeLabel = 'Close';
55
+ // --- feed --------------------------------------------------------------------------------
56
+ /** The updates in the feed: `[{ id, category?, tag?, tagColor?, date?, unread?, heading, description?,
57
+ * actionLabel?, image? }]`. Must be set as a JS property, not an HTML attribute -- see CONVENTIONS.md's
58
+ * non-string props rule. */
59
+ entries = [];
60
+ /** The filter tabs: `[{ value, label }]`. `value: "all"` shows every entry; any other value shows the
61
+ * entries whose `category` matches. Defaults to All, New Features, Improvements and Fixes
62
+ * (categories `features`, `improvements`, `fixes`). Set `[]` for no tabs. */
63
+ filters = [
64
+ { value: 'all', label: 'All' },
65
+ { value: 'features', label: 'New Features' },
66
+ { value: 'improvements', label: 'Improvements' },
67
+ { value: 'fixes', label: 'Fixes' },
68
+ ];
69
+ /** The selected filter's `value`. Mutable: choosing a tab updates it. */
70
+ filter = 'all';
71
+ /** Label of the "Mark all as read" button, shown while any entry is `unread`. */
72
+ markAllReadLabel = 'Mark all as read';
73
+ /** Text of the release notes link. */
74
+ releaseNotesLabel = 'See all release notes';
75
+ /** URL of the full release notes. The link is only shown when this is set. */
76
+ releaseNotesUrl;
77
+ /** Text shown when the selected filter has no entries. */
78
+ emptyLabel = 'Nothing new here yet.';
79
+ // --- announcement ------------------------------------------------------------------------
80
+ /** Tag text (`announcement`, `teaser`), e.g. "New feature". */
81
+ tag;
82
+ /** Colour of the tag. */
83
+ tagColor = 'info';
84
+ /** URL of the hero image (`announcement`). Or slot your own into `hero`. */
85
+ image;
86
+ /** The bullet points (`announcement`). Must be set as a JS property -- see CONVENTIONS.md. */
87
+ points = [];
88
+ /** Current step, 1-based (`announcement`). Used with `total`. */
89
+ step = 1;
90
+ /** Number of announcements in the sequence (`announcement`). The step label is hidden when 0. */
91
+ total = 0;
92
+ /** Template of the step label; `{step}` and `{total}` are replaced. */
93
+ stepLabel = '{step} of {total}';
94
+ /** Label of the secondary button (`announcement`). Empty hides it. */
95
+ secondaryLabel = 'Remind me later';
96
+ /** Label of the primary button (`announcement`). Empty hides it. */
97
+ primaryLabel = 'Next';
98
+ // --- teaser ------------------------------------------------------------------------------
99
+ /** The date as text (`teaser`). */
100
+ date;
101
+ /** The line under the heading (`teaser`). */
102
+ description;
103
+ /** Label of the link (`teaser`). */
104
+ actionLabel = 'Open What’s new';
105
+ // --- events ------------------------------------------------------------------------------
106
+ /** Fires when "Mark all as read" is pressed (`feed`). Update the entries' `unread` yourself. */
107
+ bsMarkAllRead;
108
+ /** Fires when an entry's action link is pressed (`feed`): `{ id }`. */
109
+ bsEntryAction;
110
+ /** Fires when the user picks a filter tab (`feed`): `{ value }`. */
111
+ bsFilterChange;
112
+ /** Fires when the close button is pressed. */
113
+ bsClose;
114
+ /** Fires when the primary button (`announcement`) is pressed. */
115
+ bsPrimary;
116
+ /** Fires when the secondary button (`announcement`) is pressed. */
117
+ bsSecondary;
118
+ /** Fires when the teaser's link is pressed (`teaser`) -- open the feed. */
119
+ bsOpen;
120
+ /** True while something is assigned to the `hero` slot, so the hero area only exists then. */
121
+ hasHeroSlot = false;
122
+ // --- pieces ------------------------------------------------------------------------------
123
+ heading_(text, cls = '') {
124
+ const level = Math.min(6, Math.max(1, Math.trunc(Number(this.headingLevel)) || 2));
125
+ return h(`h${level}`, { part: 'heading', id: 'heading', class: { 'bs-wn__heading': true, [cls]: !!cls } }, text);
126
+ }
127
+ renderClose(compact = false) {
128
+ if (!this.closable)
129
+ return null;
130
+ return (h("bs-icon-button", { part: "close", class: { 'bs-wn__close': true, 'bs-wn__close--compact': compact }, variant: "subtle", size: "md", ariaLabel: this.closeLabel, onClick: () => this.bsClose.emit() }, h("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.8", "stroke-linecap": "round", "aria-hidden": "true" }, h("path", { d: "M6 6L18 18M18 6L6 18" }))));
131
+ }
132
+ renderTag() {
133
+ if (!this.tag)
134
+ return null;
135
+ return (h("bs-chip-informative", { part: "tag", size: "sm", color: this.tagColor }, this.tag));
136
+ }
137
+ renderFeed() {
138
+ const all = this.entries ?? [];
139
+ const visible = this.filter === 'all' ? all : all.filter(e => e.category === this.filter);
140
+ const anyUnread = all.some(e => e.unread);
141
+ const filters = this.filters ?? [];
142
+ return (h("bs-card", { part: "container", class: "bs-wn bs-wn--feed", surface: "base", role: "region", "aria-labelledby": "heading" }, h("div", { class: "bs-wn__feed" }, h("div", { class: "bs-wn__head" }, this.heading_(this.heading ?? 'What’s new'), h("span", { class: "bs-wn__spacer" }), anyUnread && (h("bs-button", { part: "mark-all-read", class: "bs-wn__text-button", variant: "subtle", size: "sm", onClick: () => this.bsMarkAllRead.emit() }, this.markAllReadLabel)), this.renderClose()), filters.length > 0 && (h("div", { part: "filters", class: "bs-wn__filters" }, h("bs-tabs", { value: this.filter, onBsChange: (ev) => this.onFilter(ev.detail.value) }, filters.map(f => (h("bs-tab", { key: f.value, value: f.value, selected: f.value === this.filter }, f.label)))))), visible.length === 0 ? (h("p", { class: "bs-wn__empty" }, this.emptyLabel)) : (h("div", { part: "entries", class: "bs-wn__entries" }, visible.map((e, i) => (h("bs-whats-new-entry", { key: e.id, part: "entry", tag: e.tag, tagColor: e.tagColor, date: e.date, unread: !!e.unread, heading: e.heading, headingLevel: Math.min(6, (Number(this.headingLevel) || 2) + 1), description: e.description, actionLabel: e.actionLabel, divider: i < visible.length - 1 || !!this.releaseNotesUrl, onBsAction: () => this.bsEntryAction.emit({ id: e.id }) }, e.image && h("img", { slot: "image", src: e.image, alt: "" })))))), this.releaseNotesUrl && (h("div", { class: "bs-wn__footer" }, h("a", { part: "release-notes", class: "bs-wn__link", href: this.releaseNotesUrl }, h("span", { class: "bs-wn__link-text" }, this.releaseNotesLabel), h("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("path", { d: "M7 17L17 7" }), h("path", { d: "M8 7H17V16" }))))))));
143
+ }
144
+ onFilter(value) {
145
+ if (value === this.filter)
146
+ return;
147
+ this.filter = value;
148
+ this.bsFilterChange.emit({ value });
149
+ }
150
+ renderAnnouncement() {
151
+ const step = this.total > 0 ? this.stepLabel.replace('{step}', String(this.step)).replace('{total}', String(this.total)) : '';
152
+ const points = this.points ?? [];
153
+ return (h("bs-card", { part: "container", class: "bs-wn bs-wn--announcement", surface: "base", role: "region", "aria-labelledby": "heading" }, h("div", { class: "bs-wn__announcement" }, this.renderClose(), h("div", { part: "hero", class: { 'bs-wn__hero': true, 'bs-wn__hero--visible': !!this.image || this.hasHeroSlot } }, this.image && h("img", { src: this.image, alt: "" }), h("slot", { name: "hero", onSlotchange: (ev) => (this.hasHeroSlot = ev.target.assignedNodes().length > 0) })), h("div", { class: "bs-wn__body" }, this.renderTag(), this.heading_(this.heading ?? '', 'bs-wn__heading--lg'), points.length > 0 && (h("ul", { part: "points", class: "bs-wn__points" }, points.map(p => (h("li", null, h("svg", { class: "bs-wn__check", viewBox: "0 0 18 18", fill: "none", stroke: "currentColor", "stroke-width": "1.8", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("path", { d: "M3.5 9.5L7 13L14.5 5" })), h("span", null, p)))))), h("div", { class: "bs-wn__announcement-footer" }, h("span", { part: "step", class: "bs-wn__step" }, step), h("div", { class: "bs-wn__actions" }, this.secondaryLabel && (h("bs-button", { part: "secondary", class: "bs-wn__text-button bs-wn__text-button--md", variant: "subtle", onClick: () => this.bsSecondary.emit() }, this.secondaryLabel)), this.primaryLabel && (h("bs-button", { part: "primary", variant: "primary", onClick: () => this.bsPrimary.emit() }, this.primaryLabel))))))));
154
+ }
155
+ renderTeaser() {
156
+ return (h("bs-card", { part: "container", class: "bs-wn bs-wn--teaser", surface: "base", role: "region", "aria-labelledby": "heading" }, h("div", { class: "bs-wn__teaser" }, h("div", { class: "bs-wn__teaser-row" }, this.renderTag(), this.date && (h("span", { part: "date", class: "bs-wn__date" }, this.date)), h("span", { class: "bs-wn__spacer" }), this.renderClose(true)), this.heading_(this.heading ?? '', 'bs-wn__heading--sm'), this.description && (h("p", { part: "description", class: "bs-wn__description" }, this.description)), this.actionLabel && (h("bs-button", { part: "action", class: "bs-wn__text-button bs-wn__link-button", variant: "subtle", size: "sm", onClick: () => this.bsOpen.emit() }, this.actionLabel, h("svg", { slot: "end-icon", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("path", { d: "M5 12H19" }), h("path", { d: "M13 6L19 12L13 18" })))))));
157
+ }
158
+ render() {
159
+ switch (this.type) {
160
+ case 'announcement':
161
+ return this.renderAnnouncement();
162
+ case 'teaser':
163
+ return this.renderTeaser();
164
+ default:
165
+ return this.renderFeed();
166
+ }
167
+ }
168
+ static get is() { return "bs-whats-new"; }
169
+ static get encapsulation() { return "shadow"; }
170
+ static get originalStyleUrls() {
171
+ return {
172
+ "$": ["bs-whats-new.css"]
173
+ };
174
+ }
175
+ static get styleUrls() {
176
+ return {
177
+ "$": ["bs-whats-new.css"]
178
+ };
179
+ }
180
+ static get properties() {
181
+ return {
182
+ "type": {
183
+ "type": "string",
184
+ "mutable": false,
185
+ "complexType": {
186
+ "original": "BsWhatsNewType",
187
+ "resolved": "\"announcement\" | \"feed\" | \"teaser\"",
188
+ "references": {
189
+ "BsWhatsNewType": {
190
+ "location": "local",
191
+ "path": "/home/runner/work/eg-brandsync-storybook/eg-brandsync-storybook/packages/wc/src/components/bs-whats-new/bs-whats-new.tsx",
192
+ "id": "src/components/bs-whats-new/bs-whats-new.tsx::BsWhatsNewType"
193
+ }
194
+ }
195
+ },
196
+ "required": false,
197
+ "optional": false,
198
+ "docs": {
199
+ "tags": [],
200
+ "text": "Which form: `feed`, `announcement` or `teaser`."
201
+ },
202
+ "getter": false,
203
+ "setter": false,
204
+ "reflect": true,
205
+ "attribute": "type",
206
+ "defaultValue": "'feed'"
207
+ },
208
+ "heading": {
209
+ "type": "string",
210
+ "mutable": false,
211
+ "complexType": {
212
+ "original": "string",
213
+ "resolved": "string",
214
+ "references": {}
215
+ },
216
+ "required": false,
217
+ "optional": true,
218
+ "docs": {
219
+ "tags": [],
220
+ "text": "Heading. Defaults to \"What's new\" for `feed`; set it for the other forms."
221
+ },
222
+ "getter": false,
223
+ "setter": false,
224
+ "reflect": false,
225
+ "attribute": "heading"
226
+ },
227
+ "headingLevel": {
228
+ "type": "number",
229
+ "mutable": false,
230
+ "complexType": {
231
+ "original": "number",
232
+ "resolved": "number",
233
+ "references": {}
234
+ },
235
+ "required": false,
236
+ "optional": false,
237
+ "docs": {
238
+ "tags": [],
239
+ "text": "HTML heading level, 1-6."
240
+ },
241
+ "getter": false,
242
+ "setter": false,
243
+ "reflect": false,
244
+ "attribute": "heading-level",
245
+ "defaultValue": "2"
246
+ },
247
+ "closable": {
248
+ "type": "boolean",
249
+ "mutable": false,
250
+ "complexType": {
251
+ "original": "boolean",
252
+ "resolved": "boolean",
253
+ "references": {}
254
+ },
255
+ "required": false,
256
+ "optional": false,
257
+ "docs": {
258
+ "tags": [],
259
+ "text": "Shows a close button."
260
+ },
261
+ "getter": false,
262
+ "setter": false,
263
+ "reflect": false,
264
+ "attribute": "closable",
265
+ "defaultValue": "false"
266
+ },
267
+ "closeLabel": {
268
+ "type": "string",
269
+ "mutable": false,
270
+ "complexType": {
271
+ "original": "string",
272
+ "resolved": "string",
273
+ "references": {}
274
+ },
275
+ "required": false,
276
+ "optional": false,
277
+ "docs": {
278
+ "tags": [],
279
+ "text": "Accessible name of the close button."
280
+ },
281
+ "getter": false,
282
+ "setter": false,
283
+ "reflect": false,
284
+ "attribute": "close-label",
285
+ "defaultValue": "'Close'"
286
+ },
287
+ "entries": {
288
+ "type": "unknown",
289
+ "mutable": false,
290
+ "complexType": {
291
+ "original": "BsWhatsNewItem[]",
292
+ "resolved": "BsWhatsNewItem[]",
293
+ "references": {
294
+ "BsWhatsNewItem": {
295
+ "location": "local",
296
+ "path": "/home/runner/work/eg-brandsync-storybook/eg-brandsync-storybook/packages/wc/src/components/bs-whats-new/bs-whats-new.tsx",
297
+ "id": "src/components/bs-whats-new/bs-whats-new.tsx::BsWhatsNewItem"
298
+ }
299
+ }
300
+ },
301
+ "required": false,
302
+ "optional": false,
303
+ "docs": {
304
+ "tags": [],
305
+ "text": "The updates in the feed: `[{ id, category?, tag?, tagColor?, date?, unread?, heading, description?,\nactionLabel?, image? }]`. Must be set as a JS property, not an HTML attribute -- see CONVENTIONS.md's\nnon-string props rule."
306
+ },
307
+ "getter": false,
308
+ "setter": false,
309
+ "defaultValue": "[]"
310
+ },
311
+ "filters": {
312
+ "type": "unknown",
313
+ "mutable": false,
314
+ "complexType": {
315
+ "original": "BsWhatsNewFilter[]",
316
+ "resolved": "BsWhatsNewFilter[]",
317
+ "references": {
318
+ "BsWhatsNewFilter": {
319
+ "location": "local",
320
+ "path": "/home/runner/work/eg-brandsync-storybook/eg-brandsync-storybook/packages/wc/src/components/bs-whats-new/bs-whats-new.tsx",
321
+ "id": "src/components/bs-whats-new/bs-whats-new.tsx::BsWhatsNewFilter"
322
+ }
323
+ }
324
+ },
325
+ "required": false,
326
+ "optional": false,
327
+ "docs": {
328
+ "tags": [],
329
+ "text": "The filter tabs: `[{ value, label }]`. `value: \"all\"` shows every entry; any other value shows the\nentries whose `category` matches. Defaults to All, New Features, Improvements and Fixes\n(categories `features`, `improvements`, `fixes`). Set `[]` for no tabs."
330
+ },
331
+ "getter": false,
332
+ "setter": false,
333
+ "defaultValue": "[\n { value: 'all', label: 'All' },\n { value: 'features', label: 'New Features' },\n { value: 'improvements', label: 'Improvements' },\n { value: 'fixes', label: 'Fixes' },\n ]"
334
+ },
335
+ "filter": {
336
+ "type": "string",
337
+ "mutable": true,
338
+ "complexType": {
339
+ "original": "string",
340
+ "resolved": "string",
341
+ "references": {}
342
+ },
343
+ "required": false,
344
+ "optional": false,
345
+ "docs": {
346
+ "tags": [],
347
+ "text": "The selected filter's `value`. Mutable: choosing a tab updates it."
348
+ },
349
+ "getter": false,
350
+ "setter": false,
351
+ "reflect": true,
352
+ "attribute": "filter",
353
+ "defaultValue": "'all'"
354
+ },
355
+ "markAllReadLabel": {
356
+ "type": "string",
357
+ "mutable": false,
358
+ "complexType": {
359
+ "original": "string",
360
+ "resolved": "string",
361
+ "references": {}
362
+ },
363
+ "required": false,
364
+ "optional": false,
365
+ "docs": {
366
+ "tags": [],
367
+ "text": "Label of the \"Mark all as read\" button, shown while any entry is `unread`."
368
+ },
369
+ "getter": false,
370
+ "setter": false,
371
+ "reflect": false,
372
+ "attribute": "mark-all-read-label",
373
+ "defaultValue": "'Mark all as read'"
374
+ },
375
+ "releaseNotesLabel": {
376
+ "type": "string",
377
+ "mutable": false,
378
+ "complexType": {
379
+ "original": "string",
380
+ "resolved": "string",
381
+ "references": {}
382
+ },
383
+ "required": false,
384
+ "optional": false,
385
+ "docs": {
386
+ "tags": [],
387
+ "text": "Text of the release notes link."
388
+ },
389
+ "getter": false,
390
+ "setter": false,
391
+ "reflect": false,
392
+ "attribute": "release-notes-label",
393
+ "defaultValue": "'See all release notes'"
394
+ },
395
+ "releaseNotesUrl": {
396
+ "type": "string",
397
+ "mutable": false,
398
+ "complexType": {
399
+ "original": "string",
400
+ "resolved": "string",
401
+ "references": {}
402
+ },
403
+ "required": false,
404
+ "optional": true,
405
+ "docs": {
406
+ "tags": [],
407
+ "text": "URL of the full release notes. The link is only shown when this is set."
408
+ },
409
+ "getter": false,
410
+ "setter": false,
411
+ "reflect": false,
412
+ "attribute": "release-notes-url"
413
+ },
414
+ "emptyLabel": {
415
+ "type": "string",
416
+ "mutable": false,
417
+ "complexType": {
418
+ "original": "string",
419
+ "resolved": "string",
420
+ "references": {}
421
+ },
422
+ "required": false,
423
+ "optional": false,
424
+ "docs": {
425
+ "tags": [],
426
+ "text": "Text shown when the selected filter has no entries."
427
+ },
428
+ "getter": false,
429
+ "setter": false,
430
+ "reflect": false,
431
+ "attribute": "empty-label",
432
+ "defaultValue": "'Nothing new here yet.'"
433
+ },
434
+ "tag": {
435
+ "type": "string",
436
+ "mutable": false,
437
+ "complexType": {
438
+ "original": "string",
439
+ "resolved": "string",
440
+ "references": {}
441
+ },
442
+ "required": false,
443
+ "optional": true,
444
+ "docs": {
445
+ "tags": [],
446
+ "text": "Tag text (`announcement`, `teaser`), e.g. \"New feature\"."
447
+ },
448
+ "getter": false,
449
+ "setter": false,
450
+ "reflect": false,
451
+ "attribute": "tag"
452
+ },
453
+ "tagColor": {
454
+ "type": "string",
455
+ "mutable": false,
456
+ "complexType": {
457
+ "original": "BsWhatsNewEntryTagColor",
458
+ "resolved": "\"error\" | \"info\" | \"neutral\" | \"success\" | \"warning\"",
459
+ "references": {
460
+ "BsWhatsNewEntryTagColor": {
461
+ "location": "import",
462
+ "path": "../bs-whats-new-entry/bs-whats-new-entry",
463
+ "id": "src/components/bs-whats-new-entry/bs-whats-new-entry.tsx::BsWhatsNewEntryTagColor",
464
+ "referenceLocation": "BsWhatsNewEntryTagColor"
465
+ }
466
+ }
467
+ },
468
+ "required": false,
469
+ "optional": false,
470
+ "docs": {
471
+ "tags": [],
472
+ "text": "Colour of the tag."
473
+ },
474
+ "getter": false,
475
+ "setter": false,
476
+ "reflect": false,
477
+ "attribute": "tag-color",
478
+ "defaultValue": "'info'"
479
+ },
480
+ "image": {
481
+ "type": "string",
482
+ "mutable": false,
483
+ "complexType": {
484
+ "original": "string",
485
+ "resolved": "string",
486
+ "references": {}
487
+ },
488
+ "required": false,
489
+ "optional": true,
490
+ "docs": {
491
+ "tags": [],
492
+ "text": "URL of the hero image (`announcement`). Or slot your own into `hero`."
493
+ },
494
+ "getter": false,
495
+ "setter": false,
496
+ "reflect": false,
497
+ "attribute": "image"
498
+ },
499
+ "points": {
500
+ "type": "unknown",
501
+ "mutable": false,
502
+ "complexType": {
503
+ "original": "string[]",
504
+ "resolved": "string[]",
505
+ "references": {}
506
+ },
507
+ "required": false,
508
+ "optional": false,
509
+ "docs": {
510
+ "tags": [],
511
+ "text": "The bullet points (`announcement`). Must be set as a JS property -- see CONVENTIONS.md."
512
+ },
513
+ "getter": false,
514
+ "setter": false,
515
+ "defaultValue": "[]"
516
+ },
517
+ "step": {
518
+ "type": "number",
519
+ "mutable": false,
520
+ "complexType": {
521
+ "original": "number",
522
+ "resolved": "number",
523
+ "references": {}
524
+ },
525
+ "required": false,
526
+ "optional": false,
527
+ "docs": {
528
+ "tags": [],
529
+ "text": "Current step, 1-based (`announcement`). Used with `total`."
530
+ },
531
+ "getter": false,
532
+ "setter": false,
533
+ "reflect": false,
534
+ "attribute": "step",
535
+ "defaultValue": "1"
536
+ },
537
+ "total": {
538
+ "type": "number",
539
+ "mutable": false,
540
+ "complexType": {
541
+ "original": "number",
542
+ "resolved": "number",
543
+ "references": {}
544
+ },
545
+ "required": false,
546
+ "optional": false,
547
+ "docs": {
548
+ "tags": [],
549
+ "text": "Number of announcements in the sequence (`announcement`). The step label is hidden when 0."
550
+ },
551
+ "getter": false,
552
+ "setter": false,
553
+ "reflect": false,
554
+ "attribute": "total",
555
+ "defaultValue": "0"
556
+ },
557
+ "stepLabel": {
558
+ "type": "string",
559
+ "mutable": false,
560
+ "complexType": {
561
+ "original": "string",
562
+ "resolved": "string",
563
+ "references": {}
564
+ },
565
+ "required": false,
566
+ "optional": false,
567
+ "docs": {
568
+ "tags": [],
569
+ "text": "Template of the step label; `{step}` and `{total}` are replaced."
570
+ },
571
+ "getter": false,
572
+ "setter": false,
573
+ "reflect": false,
574
+ "attribute": "step-label",
575
+ "defaultValue": "'{step} of {total}'"
576
+ },
577
+ "secondaryLabel": {
578
+ "type": "string",
579
+ "mutable": false,
580
+ "complexType": {
581
+ "original": "string",
582
+ "resolved": "string",
583
+ "references": {}
584
+ },
585
+ "required": false,
586
+ "optional": false,
587
+ "docs": {
588
+ "tags": [],
589
+ "text": "Label of the secondary button (`announcement`). Empty hides it."
590
+ },
591
+ "getter": false,
592
+ "setter": false,
593
+ "reflect": false,
594
+ "attribute": "secondary-label",
595
+ "defaultValue": "'Remind me later'"
596
+ },
597
+ "primaryLabel": {
598
+ "type": "string",
599
+ "mutable": false,
600
+ "complexType": {
601
+ "original": "string",
602
+ "resolved": "string",
603
+ "references": {}
604
+ },
605
+ "required": false,
606
+ "optional": false,
607
+ "docs": {
608
+ "tags": [],
609
+ "text": "Label of the primary button (`announcement`). Empty hides it."
610
+ },
611
+ "getter": false,
612
+ "setter": false,
613
+ "reflect": false,
614
+ "attribute": "primary-label",
615
+ "defaultValue": "'Next'"
616
+ },
617
+ "date": {
618
+ "type": "string",
619
+ "mutable": false,
620
+ "complexType": {
621
+ "original": "string",
622
+ "resolved": "string",
623
+ "references": {}
624
+ },
625
+ "required": false,
626
+ "optional": true,
627
+ "docs": {
628
+ "tags": [],
629
+ "text": "The date as text (`teaser`)."
630
+ },
631
+ "getter": false,
632
+ "setter": false,
633
+ "reflect": false,
634
+ "attribute": "date"
635
+ },
636
+ "description": {
637
+ "type": "string",
638
+ "mutable": false,
639
+ "complexType": {
640
+ "original": "string",
641
+ "resolved": "string",
642
+ "references": {}
643
+ },
644
+ "required": false,
645
+ "optional": true,
646
+ "docs": {
647
+ "tags": [],
648
+ "text": "The line under the heading (`teaser`)."
649
+ },
650
+ "getter": false,
651
+ "setter": false,
652
+ "reflect": false,
653
+ "attribute": "description"
654
+ },
655
+ "actionLabel": {
656
+ "type": "string",
657
+ "mutable": false,
658
+ "complexType": {
659
+ "original": "string",
660
+ "resolved": "string",
661
+ "references": {}
662
+ },
663
+ "required": false,
664
+ "optional": false,
665
+ "docs": {
666
+ "tags": [],
667
+ "text": "Label of the link (`teaser`)."
668
+ },
669
+ "getter": false,
670
+ "setter": false,
671
+ "reflect": false,
672
+ "attribute": "action-label",
673
+ "defaultValue": "'Open What\u2019s new'"
674
+ }
675
+ };
676
+ }
677
+ static get states() {
678
+ return {
679
+ "hasHeroSlot": {}
680
+ };
681
+ }
682
+ static get events() {
683
+ return [{
684
+ "method": "bsMarkAllRead",
685
+ "name": "bsMarkAllRead",
686
+ "bubbles": true,
687
+ "cancelable": true,
688
+ "composed": true,
689
+ "docs": {
690
+ "tags": [],
691
+ "text": "Fires when \"Mark all as read\" is pressed (`feed`). Update the entries' `unread` yourself."
692
+ },
693
+ "complexType": {
694
+ "original": "void",
695
+ "resolved": "void",
696
+ "references": {}
697
+ }
698
+ }, {
699
+ "method": "bsEntryAction",
700
+ "name": "bsEntryAction",
701
+ "bubbles": true,
702
+ "cancelable": true,
703
+ "composed": true,
704
+ "docs": {
705
+ "tags": [],
706
+ "text": "Fires when an entry's action link is pressed (`feed`): `{ id }`."
707
+ },
708
+ "complexType": {
709
+ "original": "{ id: string }",
710
+ "resolved": "{ id: string; }",
711
+ "references": {}
712
+ }
713
+ }, {
714
+ "method": "bsFilterChange",
715
+ "name": "bsFilterChange",
716
+ "bubbles": true,
717
+ "cancelable": true,
718
+ "composed": true,
719
+ "docs": {
720
+ "tags": [],
721
+ "text": "Fires when the user picks a filter tab (`feed`): `{ value }`."
722
+ },
723
+ "complexType": {
724
+ "original": "{ value: string }",
725
+ "resolved": "{ value: string; }",
726
+ "references": {}
727
+ }
728
+ }, {
729
+ "method": "bsClose",
730
+ "name": "bsClose",
731
+ "bubbles": true,
732
+ "cancelable": true,
733
+ "composed": true,
734
+ "docs": {
735
+ "tags": [],
736
+ "text": "Fires when the close button is pressed."
737
+ },
738
+ "complexType": {
739
+ "original": "void",
740
+ "resolved": "void",
741
+ "references": {}
742
+ }
743
+ }, {
744
+ "method": "bsPrimary",
745
+ "name": "bsPrimary",
746
+ "bubbles": true,
747
+ "cancelable": true,
748
+ "composed": true,
749
+ "docs": {
750
+ "tags": [],
751
+ "text": "Fires when the primary button (`announcement`) is pressed."
752
+ },
753
+ "complexType": {
754
+ "original": "void",
755
+ "resolved": "void",
756
+ "references": {}
757
+ }
758
+ }, {
759
+ "method": "bsSecondary",
760
+ "name": "bsSecondary",
761
+ "bubbles": true,
762
+ "cancelable": true,
763
+ "composed": true,
764
+ "docs": {
765
+ "tags": [],
766
+ "text": "Fires when the secondary button (`announcement`) is pressed."
767
+ },
768
+ "complexType": {
769
+ "original": "void",
770
+ "resolved": "void",
771
+ "references": {}
772
+ }
773
+ }, {
774
+ "method": "bsOpen",
775
+ "name": "bsOpen",
776
+ "bubbles": true,
777
+ "cancelable": true,
778
+ "composed": true,
779
+ "docs": {
780
+ "tags": [],
781
+ "text": "Fires when the teaser's link is pressed (`teaser`) -- open the feed."
782
+ },
783
+ "complexType": {
784
+ "original": "void",
785
+ "resolved": "void",
786
+ "references": {}
787
+ }
788
+ }];
789
+ }
790
+ }