@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,674 @@
1
+ import { h } from "@stencil/core";
2
+ /**
3
+ * A "get set up" checklist, in four forms that matching the Figma "Onboarding checklist" component:
4
+ *
5
+ * - `panel` -- the full list: heading, progress, every step with a status icon, and the current step
6
+ * expanded with its description, time estimate, Skip for now and a primary action.
7
+ * - `dashboard` -- a wide card for the top of a page: summary and progress on the left, the current step
8
+ * and the next ones as small cards on the right, and a "See all steps" link.
9
+ * - `launcher` -- a small always-visible chip that reopens the checklist; three layouts (`icon`, `ring`,
10
+ * `inline`).
11
+ * - `completion` -- the "You're all set" card once every step is done.
12
+ *
13
+ * The component shows progress and reports what the user pressed. It doesn't know what a step means,
14
+ * run it, or remember anything: your app owns the steps (`steps`, each with `done`), marks them done, and
15
+ * decides which form to show.
16
+ *
17
+ * **Built from:** `bs-card` (every surface), `bs-icon-tile` (the icons), `bs-button` (the actions),
18
+ * `bs-icon-button` (the close button), `bs-progress-linear` (the progress bar), `bs-progress` (the launcher
19
+ * ring).
20
+ *
21
+ * ## When to use
22
+ * - Guiding a new account or user through a short list of setup tasks they can do in any order or later.
23
+ *
24
+ * ## When not to use
25
+ * - A strict, linear flow where each step needs the one before -- use `bs-stepper`.
26
+ * - A tour of the interface itself -- use `bs-product-tour`.
27
+ *
28
+ * ## Accessibility
29
+ * Steps are an ordered list; the current one has `aria-current="step"`, and each step carries a visually
30
+ * hidden "Done" / "Not done". The progress bar is named with the progress text.
31
+ *
32
+ * @slot icon - Replaces the icon in the heading tile (`panel`, `dashboard`, `launcher`).
33
+ * @slot icon-<step id> - Replaces the icon of that step in the `dashboard` cards, e.g. `slot="icon-bank"`.
34
+ * @part container - The card (or the launcher button's card).
35
+ * @part art - The heading icon tile.
36
+ * @part heading - The heading.
37
+ * @part description - The paragraph under it.
38
+ * @part progress - The progress block (label, percentage, bar).
39
+ * @part steps - The list of steps (`panel`).
40
+ * @part step - Each step row (`panel`) or card (`dashboard`).
41
+ * @part current - The current step, in addition to `step`.
42
+ * @part action - The current step's primary button (`panel`) or Start link (`dashboard`).
43
+ * @part skip - The current step's Skip for now button (`panel`).
44
+ * @part close - The close button.
45
+ * @part see-all - The "See all steps" link (`dashboard`).
46
+ * @part launcher - The launcher button (`launcher`).
47
+ * @part primary - The main button (`completion`).
48
+ * @part secondary - The Hide checklist button (`completion`).
49
+ */
50
+ export class BsOnboardingChecklist {
51
+ /** Which form: `panel`, `dashboard`, `launcher` or `completion`. */
52
+ type = 'panel';
53
+ /** Layout of the `launcher`: `icon` (tile, title, progress text), `ring` (circular progress, title,
54
+ * text) or `inline` (tile, title and text on one line, with a chevron). */
55
+ launcherLayout = 'icon';
56
+ /** The steps: `[{ id, label, description?, done?, estimate?, actionLabel?, skippable? }]`. The first step
57
+ * that isn't `done` is the current one. Must be set as a JS property, not an HTML attribute -- see
58
+ * CONVENTIONS.md's non-string props rule. */
59
+ steps = [];
60
+ /** Heading. Defaults per `type` ("Get started", "Finish setting up", "Setup", "You're all set"). */
61
+ heading;
62
+ /** Paragraph under the heading. Defaults to a summary of the progress for `dashboard`. Nothing for
63
+ * `launcher`. */
64
+ description;
65
+ /** HTML heading level, 1-6. */
66
+ headingLevel = 2;
67
+ /** Text under the launcher title. Defaults to "N% complete". */
68
+ progressText;
69
+ /** Shows a close button (`panel`, `dashboard`). */
70
+ closable = false;
71
+ /** Template of the progress label; `{done}` and `{total}` are replaced. */
72
+ progressLabel = '{done} of {total} done';
73
+ /** Label of "Skip for now" on the current step (`panel`). */
74
+ skipLabel = 'Skip for now';
75
+ /** Label of the Start link on the current step's card (`dashboard`). */
76
+ startLabel = 'Start';
77
+ /** Label of the link that opens the whole checklist (`dashboard`). */
78
+ seeAllLabel = 'See all steps';
79
+ /** Caption on the cards of steps that come after the current one (`dashboard`). */
80
+ afterLabel = 'After the step before';
81
+ /** Label of the main button (`completion`). */
82
+ doneLabel = 'Go to dashboard';
83
+ /** Label of the secondary button (`completion`). */
84
+ hideLabel = 'Hide checklist';
85
+ /** Accessible name of the close button. */
86
+ closeLabel = 'Close';
87
+ /** Visually hidden text on a finished step. */
88
+ statusDoneLabel = 'Done';
89
+ /** Visually hidden text on an unfinished step. */
90
+ statusTodoLabel = 'Not done';
91
+ /** Fires when a step's primary action is pressed (`panel` button, `dashboard` Start): `{ id }`. */
92
+ bsStepAction;
93
+ /** Fires when "Skip for now" is pressed on the current step (`panel`): `{ id }`. */
94
+ bsStepSkip;
95
+ /** Fires when the close button is pressed. */
96
+ bsClose;
97
+ /** Fires when the user asks to open the full checklist: "See all steps" (`dashboard`) or the launcher. */
98
+ bsOpen;
99
+ /** Fires when the main button is pressed (`completion`). */
100
+ bsDone;
101
+ /** Fires when Hide checklist is pressed (`completion`). */
102
+ bsHide;
103
+ // --- derived state -----------------------------------------------------------------------
104
+ get list() {
105
+ return this.steps ?? [];
106
+ }
107
+ get doneCount() {
108
+ return this.list.filter(s => s.done).length;
109
+ }
110
+ get percent() {
111
+ return this.list.length ? Math.round((this.doneCount / this.list.length) * 100) : 0;
112
+ }
113
+ get currentId() {
114
+ return this.list.find(s => !s.done)?.id;
115
+ }
116
+ fill(template) {
117
+ return template.replace('{done}', String(this.doneCount)).replace('{total}', String(this.list.length));
118
+ }
119
+ // --- pieces ------------------------------------------------------------------------------
120
+ renderHeading(text, cls = '') {
121
+ const level = Math.min(6, Math.max(1, Math.trunc(Number(this.headingLevel)) || 2));
122
+ return h(`h${level}`, { part: 'heading', id: 'heading', class: { 'bs-oc__heading': true, [cls]: !!cls } }, text);
123
+ }
124
+ renderClose() {
125
+ if (!this.closable)
126
+ return null;
127
+ return (h("bs-icon-button", { part: "close", class: "bs-oc__close", 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" }))));
128
+ }
129
+ renderProgress(color = 'primary') {
130
+ const text = this.fill(this.progressLabel);
131
+ return (h("div", { part: "progress", class: "bs-oc__progress" }, h("div", { class: "bs-oc__progress-labels" }, h("span", { class: "bs-oc__progress-text" }, text), h("span", { class: "bs-oc__progress-percent" }, this.percent, " %")), h("bs-progress-linear", { class: `bs-oc__bar bs-oc__bar--${color}`, type: "determinate", size: "large", value: this.percent, showLabel: false, ariaLabel: `${text}, ${this.percent} %` })));
132
+ }
133
+ renderStatus(done, current) {
134
+ return (h("span", { class: { 'bs-oc__status': true, 'bs-oc__status--done': done, 'bs-oc__status--current': current }, "aria-hidden": "true" }, h("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("circle", { cx: "12", cy: "12", r: "9" }), done && h("path", { d: "M8 12.5L10.8 15.3L16 9.5" }))));
135
+ }
136
+ renderStepRow(s) {
137
+ const done = !!s.done;
138
+ return (h("li", { part: "step", class: { 'bs-oc__step': true, 'bs-oc__step--done': done } }, this.renderStatus(done, false), h("span", { class: "bs-oc__step-label" }, s.label), h("span", { class: "bs-oc__sr-only" }, done ? this.statusDoneLabel : this.statusTodoLabel)));
139
+ }
140
+ renderCurrentStep(s) {
141
+ return (h("li", { part: "step current", class: "bs-oc__current", "aria-current": "step" }, h("bs-card", { surface: "container", class: "bs-oc__current-card" }, h("div", { class: "bs-oc__current-body" }, h("div", { class: "bs-oc__current-head" }, this.renderStatus(false, true), h("span", { class: "bs-oc__current-label" }, s.label), h("span", { class: "bs-oc__sr-only" }, this.statusTodoLabel)), s.description && h("p", { class: "bs-oc__current-text" }, s.description), h("div", { class: "bs-oc__current-foot" }, s.estimate ? (h("span", { class: "bs-oc__estimate" }, h(ClockIcon, null), s.estimate)) : (h("span", null)), h("div", { class: "bs-oc__current-actions" }, s.skippable !== false && (h("bs-button", { part: "skip", class: "bs-oc__text-button", variant: "subtle", size: "sm", onClick: () => this.bsStepSkip.emit({ id: s.id }) }, this.skipLabel)), s.actionLabel && (h("bs-button", { part: "action", variant: "primary", size: "sm", onClick: () => this.bsStepAction.emit({ id: s.id }) }, s.actionLabel))))))));
142
+ }
143
+ renderPanel(d) {
144
+ const current = this.currentId;
145
+ return (h("bs-card", { part: "container", class: "bs-oc bs-oc--panel", surface: "base", role: "region", "aria-labelledby": "heading" }, h("div", { class: "bs-oc__panel" }, h("div", { class: "bs-oc__head" }, this.renderHeading(this.heading ?? d.heading), h("span", { class: "bs-oc__spacer" }), this.renderClose()), (this.description ?? d.description) && h("p", { part: "description", class: "bs-oc__description" }, this.description ?? d.description), this.renderProgress(), h("ol", { part: "steps", class: "bs-oc__steps" }, this.list.map(s => (s.id === current ? this.renderCurrentStep(s) : this.renderStepRow(s)))))));
146
+ }
147
+ renderDashboard(d) {
148
+ const remaining = this.list.filter(s => !s.done).slice(0, 3);
149
+ const left = this.list.filter(s => !s.done).length;
150
+ const summary = this.description ?? (left > 0 ? `${this.fill(this.progressLabel)}.` : '');
151
+ return (h("bs-card", { part: "container", class: "bs-oc bs-oc--dashboard", surface: "base", role: "region", "aria-labelledby": "heading" }, h("div", { class: "bs-oc__dash" }, this.renderClose(), h("div", { class: "bs-oc__dash-summary" }, h("bs-icon-tile", { part: "art", intent: "brand", size: "md" }, h("slot", { name: "icon" }, h(ChecklistIcon, null))), this.renderHeading(this.heading ?? d.heading), summary && h("p", { part: "description", class: "bs-oc__description" }, summary), h("bs-progress-linear", { class: "bs-oc__bar bs-oc__bar--primary", type: "determinate", size: "large", value: this.percent, showLabel: false, ariaLabel: `${this.fill(this.progressLabel)}, ${this.percent} %` }), h("bs-button", { part: "see-all", class: "bs-oc__text-button bs-oc__link", variant: "subtle", size: "sm", onClick: () => this.bsOpen.emit() }, this.seeAllLabel, h(ArrowIcon, { slot: "end-icon" }))), h("ol", { class: "bs-oc__cards" }, remaining.map((s, i) => {
152
+ const isCurrent = i === 0;
153
+ return (h("li", { part: isCurrent ? 'step current' : 'step', class: "bs-oc__card-item", "aria-current": isCurrent ? 'step' : undefined }, h("bs-card", { surface: "base", class: { 'bs-oc__step-card': true, 'bs-oc__step-card--current': isCurrent } }, h("div", { class: "bs-oc__step-card-body" }, h("bs-icon-tile", { part: "step-art", intent: isCurrent ? 'brand' : 'default', size: "md" }, h("slot", { name: `icon-${s.id}` }, h(ListIcon, null))), h("span", { class: "bs-oc__step-card-label" }, s.label), isCurrent ? (h("bs-button", { part: "action", class: "bs-oc__text-button bs-oc__link", variant: "subtle", size: "sm", onClick: () => this.bsStepAction.emit({ id: s.id }) }, this.startLabel, h(ArrowIcon, { slot: "end-icon" }))) : (h("span", { class: "bs-oc__step-card-caption" }, this.afterLabel))))));
154
+ })))));
155
+ }
156
+ renderLauncher(d) {
157
+ const title = this.heading ?? d.heading;
158
+ const text = this.progressText ?? `${this.percent}% complete`;
159
+ const layout = this.launcherLayout;
160
+ const copy = layout === 'inline' ? (h("span", { class: "bs-oc__launcher-copy bs-oc__launcher-copy--inline" }, h("span", { class: "bs-oc__launcher-title bs-oc__launcher-title--inline" }, title), h("span", { class: "bs-oc__launcher-text" }, text))) : (h("span", { class: "bs-oc__launcher-copy" }, h("span", { class: "bs-oc__launcher-title" }, title), h("span", { class: "bs-oc__launcher-text" }, text)));
161
+ return (h("bs-card", { part: "container", class: `bs-oc bs-oc--launcher bs-oc--launcher-${layout}`, surface: "base" }, h("button", { part: "launcher", type: "button", class: "bs-oc__launcher", onClick: () => this.bsOpen.emit() }, layout === 'ring' && h("bs-progress", { class: "bs-oc__ring", type: "determinate", size: "small", value: this.percent, showLabel: false, ariaLabel: text }), layout === 'icon' && (h("bs-icon-tile", { part: "art", intent: "brand", size: "md" }, h("slot", { name: "icon" }, h(BankIcon, null)))), layout === 'inline' && (h("bs-icon-tile", { part: "art", intent: this.percent >= 100 ? 'success' : 'brand', size: "md" }, h("slot", { name: "icon" }, h(CheckIcon, null)))), copy, layout === 'inline' && (h("span", { class: "bs-oc__chevron", "aria-hidden": "true" }, h("svg", { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, h("path", { d: "M9 6L15 12L9 18" })))))));
162
+ }
163
+ renderCompletion(d) {
164
+ return (h("bs-card", { part: "container", class: "bs-oc bs-oc--completion", surface: "base", role: "region", "aria-labelledby": "heading" }, h("div", { class: "bs-oc__completion" }, h("bs-icon-tile", { part: "art", intent: "success", size: "lg" }, h("slot", { name: "icon" }, h(CheckIcon, null))), this.renderHeading(this.heading ?? d.heading), (this.description ?? d.description) && h("p", { part: "description", class: "bs-oc__description bs-oc__description--center" }, this.description ?? d.description), this.renderProgress('success'), h("bs-button", { part: "primary", class: "bs-oc__block", variant: "primary", onClick: () => this.bsDone.emit() }, this.doneLabel), h("bs-button", { part: "secondary", class: "bs-oc__block bs-oc__text-button", variant: "subtle", size: "lg", onClick: () => this.bsHide.emit() }, this.hideLabel))));
165
+ }
166
+ render() {
167
+ const d = DEFAULTS[this.type] ?? DEFAULTS.panel;
168
+ switch (this.type) {
169
+ case 'dashboard':
170
+ return this.renderDashboard(d);
171
+ case 'launcher':
172
+ return this.renderLauncher(d);
173
+ case 'completion':
174
+ return this.renderCompletion(d);
175
+ default:
176
+ return this.renderPanel(d);
177
+ }
178
+ }
179
+ static get is() { return "bs-onboarding-checklist"; }
180
+ static get encapsulation() { return "shadow"; }
181
+ static get originalStyleUrls() {
182
+ return {
183
+ "$": ["bs-onboarding-checklist.css"]
184
+ };
185
+ }
186
+ static get styleUrls() {
187
+ return {
188
+ "$": ["bs-onboarding-checklist.css"]
189
+ };
190
+ }
191
+ static get properties() {
192
+ return {
193
+ "type": {
194
+ "type": "string",
195
+ "mutable": false,
196
+ "complexType": {
197
+ "original": "BsOnboardingChecklistType",
198
+ "resolved": "\"completion\" | \"dashboard\" | \"launcher\" | \"panel\"",
199
+ "references": {
200
+ "BsOnboardingChecklistType": {
201
+ "location": "local",
202
+ "path": "/home/runner/work/eg-brandsync-storybook/eg-brandsync-storybook/packages/wc/src/components/bs-onboarding-checklist/bs-onboarding-checklist.tsx",
203
+ "id": "src/components/bs-onboarding-checklist/bs-onboarding-checklist.tsx::BsOnboardingChecklistType"
204
+ }
205
+ }
206
+ },
207
+ "required": false,
208
+ "optional": false,
209
+ "docs": {
210
+ "tags": [],
211
+ "text": "Which form: `panel`, `dashboard`, `launcher` or `completion`."
212
+ },
213
+ "getter": false,
214
+ "setter": false,
215
+ "reflect": true,
216
+ "attribute": "type",
217
+ "defaultValue": "'panel'"
218
+ },
219
+ "launcherLayout": {
220
+ "type": "string",
221
+ "mutable": false,
222
+ "complexType": {
223
+ "original": "BsOnboardingLauncherLayout",
224
+ "resolved": "\"icon\" | \"inline\" | \"ring\"",
225
+ "references": {
226
+ "BsOnboardingLauncherLayout": {
227
+ "location": "local",
228
+ "path": "/home/runner/work/eg-brandsync-storybook/eg-brandsync-storybook/packages/wc/src/components/bs-onboarding-checklist/bs-onboarding-checklist.tsx",
229
+ "id": "src/components/bs-onboarding-checklist/bs-onboarding-checklist.tsx::BsOnboardingLauncherLayout"
230
+ }
231
+ }
232
+ },
233
+ "required": false,
234
+ "optional": false,
235
+ "docs": {
236
+ "tags": [],
237
+ "text": "Layout of the `launcher`: `icon` (tile, title, progress text), `ring` (circular progress, title,\ntext) or `inline` (tile, title and text on one line, with a chevron)."
238
+ },
239
+ "getter": false,
240
+ "setter": false,
241
+ "reflect": true,
242
+ "attribute": "launcher-layout",
243
+ "defaultValue": "'icon'"
244
+ },
245
+ "steps": {
246
+ "type": "unknown",
247
+ "mutable": false,
248
+ "complexType": {
249
+ "original": "BsOnboardingStep[]",
250
+ "resolved": "BsOnboardingStep[]",
251
+ "references": {
252
+ "BsOnboardingStep": {
253
+ "location": "local",
254
+ "path": "/home/runner/work/eg-brandsync-storybook/eg-brandsync-storybook/packages/wc/src/components/bs-onboarding-checklist/bs-onboarding-checklist.tsx",
255
+ "id": "src/components/bs-onboarding-checklist/bs-onboarding-checklist.tsx::BsOnboardingStep"
256
+ }
257
+ }
258
+ },
259
+ "required": false,
260
+ "optional": false,
261
+ "docs": {
262
+ "tags": [],
263
+ "text": "The steps: `[{ id, label, description?, done?, estimate?, actionLabel?, skippable? }]`. The first step\nthat isn't `done` is the current one. Must be set as a JS property, not an HTML attribute -- see\nCONVENTIONS.md's non-string props rule."
264
+ },
265
+ "getter": false,
266
+ "setter": false,
267
+ "defaultValue": "[]"
268
+ },
269
+ "heading": {
270
+ "type": "string",
271
+ "mutable": false,
272
+ "complexType": {
273
+ "original": "string",
274
+ "resolved": "string",
275
+ "references": {}
276
+ },
277
+ "required": false,
278
+ "optional": true,
279
+ "docs": {
280
+ "tags": [],
281
+ "text": "Heading. Defaults per `type` (\"Get started\", \"Finish setting up\", \"Setup\", \"You're all set\")."
282
+ },
283
+ "getter": false,
284
+ "setter": false,
285
+ "reflect": false,
286
+ "attribute": "heading"
287
+ },
288
+ "description": {
289
+ "type": "string",
290
+ "mutable": false,
291
+ "complexType": {
292
+ "original": "string",
293
+ "resolved": "string",
294
+ "references": {}
295
+ },
296
+ "required": false,
297
+ "optional": true,
298
+ "docs": {
299
+ "tags": [],
300
+ "text": "Paragraph under the heading. Defaults to a summary of the progress for `dashboard`. Nothing for\n`launcher`."
301
+ },
302
+ "getter": false,
303
+ "setter": false,
304
+ "reflect": false,
305
+ "attribute": "description"
306
+ },
307
+ "headingLevel": {
308
+ "type": "number",
309
+ "mutable": false,
310
+ "complexType": {
311
+ "original": "number",
312
+ "resolved": "number",
313
+ "references": {}
314
+ },
315
+ "required": false,
316
+ "optional": false,
317
+ "docs": {
318
+ "tags": [],
319
+ "text": "HTML heading level, 1-6."
320
+ },
321
+ "getter": false,
322
+ "setter": false,
323
+ "reflect": false,
324
+ "attribute": "heading-level",
325
+ "defaultValue": "2"
326
+ },
327
+ "progressText": {
328
+ "type": "string",
329
+ "mutable": false,
330
+ "complexType": {
331
+ "original": "string",
332
+ "resolved": "string",
333
+ "references": {}
334
+ },
335
+ "required": false,
336
+ "optional": true,
337
+ "docs": {
338
+ "tags": [],
339
+ "text": "Text under the launcher title. Defaults to \"N% complete\"."
340
+ },
341
+ "getter": false,
342
+ "setter": false,
343
+ "reflect": false,
344
+ "attribute": "progress-text"
345
+ },
346
+ "closable": {
347
+ "type": "boolean",
348
+ "mutable": false,
349
+ "complexType": {
350
+ "original": "boolean",
351
+ "resolved": "boolean",
352
+ "references": {}
353
+ },
354
+ "required": false,
355
+ "optional": false,
356
+ "docs": {
357
+ "tags": [],
358
+ "text": "Shows a close button (`panel`, `dashboard`)."
359
+ },
360
+ "getter": false,
361
+ "setter": false,
362
+ "reflect": false,
363
+ "attribute": "closable",
364
+ "defaultValue": "false"
365
+ },
366
+ "progressLabel": {
367
+ "type": "string",
368
+ "mutable": false,
369
+ "complexType": {
370
+ "original": "string",
371
+ "resolved": "string",
372
+ "references": {}
373
+ },
374
+ "required": false,
375
+ "optional": false,
376
+ "docs": {
377
+ "tags": [],
378
+ "text": "Template of the progress label; `{done}` and `{total}` are replaced."
379
+ },
380
+ "getter": false,
381
+ "setter": false,
382
+ "reflect": false,
383
+ "attribute": "progress-label",
384
+ "defaultValue": "'{done} of {total} done'"
385
+ },
386
+ "skipLabel": {
387
+ "type": "string",
388
+ "mutable": false,
389
+ "complexType": {
390
+ "original": "string",
391
+ "resolved": "string",
392
+ "references": {}
393
+ },
394
+ "required": false,
395
+ "optional": false,
396
+ "docs": {
397
+ "tags": [],
398
+ "text": "Label of \"Skip for now\" on the current step (`panel`)."
399
+ },
400
+ "getter": false,
401
+ "setter": false,
402
+ "reflect": false,
403
+ "attribute": "skip-label",
404
+ "defaultValue": "'Skip for now'"
405
+ },
406
+ "startLabel": {
407
+ "type": "string",
408
+ "mutable": false,
409
+ "complexType": {
410
+ "original": "string",
411
+ "resolved": "string",
412
+ "references": {}
413
+ },
414
+ "required": false,
415
+ "optional": false,
416
+ "docs": {
417
+ "tags": [],
418
+ "text": "Label of the Start link on the current step's card (`dashboard`)."
419
+ },
420
+ "getter": false,
421
+ "setter": false,
422
+ "reflect": false,
423
+ "attribute": "start-label",
424
+ "defaultValue": "'Start'"
425
+ },
426
+ "seeAllLabel": {
427
+ "type": "string",
428
+ "mutable": false,
429
+ "complexType": {
430
+ "original": "string",
431
+ "resolved": "string",
432
+ "references": {}
433
+ },
434
+ "required": false,
435
+ "optional": false,
436
+ "docs": {
437
+ "tags": [],
438
+ "text": "Label of the link that opens the whole checklist (`dashboard`)."
439
+ },
440
+ "getter": false,
441
+ "setter": false,
442
+ "reflect": false,
443
+ "attribute": "see-all-label",
444
+ "defaultValue": "'See all steps'"
445
+ },
446
+ "afterLabel": {
447
+ "type": "string",
448
+ "mutable": false,
449
+ "complexType": {
450
+ "original": "string",
451
+ "resolved": "string",
452
+ "references": {}
453
+ },
454
+ "required": false,
455
+ "optional": false,
456
+ "docs": {
457
+ "tags": [],
458
+ "text": "Caption on the cards of steps that come after the current one (`dashboard`)."
459
+ },
460
+ "getter": false,
461
+ "setter": false,
462
+ "reflect": false,
463
+ "attribute": "after-label",
464
+ "defaultValue": "'After the step before'"
465
+ },
466
+ "doneLabel": {
467
+ "type": "string",
468
+ "mutable": false,
469
+ "complexType": {
470
+ "original": "string",
471
+ "resolved": "string",
472
+ "references": {}
473
+ },
474
+ "required": false,
475
+ "optional": false,
476
+ "docs": {
477
+ "tags": [],
478
+ "text": "Label of the main button (`completion`)."
479
+ },
480
+ "getter": false,
481
+ "setter": false,
482
+ "reflect": false,
483
+ "attribute": "done-label",
484
+ "defaultValue": "'Go to dashboard'"
485
+ },
486
+ "hideLabel": {
487
+ "type": "string",
488
+ "mutable": false,
489
+ "complexType": {
490
+ "original": "string",
491
+ "resolved": "string",
492
+ "references": {}
493
+ },
494
+ "required": false,
495
+ "optional": false,
496
+ "docs": {
497
+ "tags": [],
498
+ "text": "Label of the secondary button (`completion`)."
499
+ },
500
+ "getter": false,
501
+ "setter": false,
502
+ "reflect": false,
503
+ "attribute": "hide-label",
504
+ "defaultValue": "'Hide checklist'"
505
+ },
506
+ "closeLabel": {
507
+ "type": "string",
508
+ "mutable": false,
509
+ "complexType": {
510
+ "original": "string",
511
+ "resolved": "string",
512
+ "references": {}
513
+ },
514
+ "required": false,
515
+ "optional": false,
516
+ "docs": {
517
+ "tags": [],
518
+ "text": "Accessible name of the close button."
519
+ },
520
+ "getter": false,
521
+ "setter": false,
522
+ "reflect": false,
523
+ "attribute": "close-label",
524
+ "defaultValue": "'Close'"
525
+ },
526
+ "statusDoneLabel": {
527
+ "type": "string",
528
+ "mutable": false,
529
+ "complexType": {
530
+ "original": "string",
531
+ "resolved": "string",
532
+ "references": {}
533
+ },
534
+ "required": false,
535
+ "optional": false,
536
+ "docs": {
537
+ "tags": [],
538
+ "text": "Visually hidden text on a finished step."
539
+ },
540
+ "getter": false,
541
+ "setter": false,
542
+ "reflect": false,
543
+ "attribute": "status-done-label",
544
+ "defaultValue": "'Done'"
545
+ },
546
+ "statusTodoLabel": {
547
+ "type": "string",
548
+ "mutable": false,
549
+ "complexType": {
550
+ "original": "string",
551
+ "resolved": "string",
552
+ "references": {}
553
+ },
554
+ "required": false,
555
+ "optional": false,
556
+ "docs": {
557
+ "tags": [],
558
+ "text": "Visually hidden text on an unfinished step."
559
+ },
560
+ "getter": false,
561
+ "setter": false,
562
+ "reflect": false,
563
+ "attribute": "status-todo-label",
564
+ "defaultValue": "'Not done'"
565
+ }
566
+ };
567
+ }
568
+ static get events() {
569
+ return [{
570
+ "method": "bsStepAction",
571
+ "name": "bsStepAction",
572
+ "bubbles": true,
573
+ "cancelable": true,
574
+ "composed": true,
575
+ "docs": {
576
+ "tags": [],
577
+ "text": "Fires when a step's primary action is pressed (`panel` button, `dashboard` Start): `{ id }`."
578
+ },
579
+ "complexType": {
580
+ "original": "{ id: string }",
581
+ "resolved": "{ id: string; }",
582
+ "references": {}
583
+ }
584
+ }, {
585
+ "method": "bsStepSkip",
586
+ "name": "bsStepSkip",
587
+ "bubbles": true,
588
+ "cancelable": true,
589
+ "composed": true,
590
+ "docs": {
591
+ "tags": [],
592
+ "text": "Fires when \"Skip for now\" is pressed on the current step (`panel`): `{ id }`."
593
+ },
594
+ "complexType": {
595
+ "original": "{ id: string }",
596
+ "resolved": "{ id: string; }",
597
+ "references": {}
598
+ }
599
+ }, {
600
+ "method": "bsClose",
601
+ "name": "bsClose",
602
+ "bubbles": true,
603
+ "cancelable": true,
604
+ "composed": true,
605
+ "docs": {
606
+ "tags": [],
607
+ "text": "Fires when the close button is pressed."
608
+ },
609
+ "complexType": {
610
+ "original": "void",
611
+ "resolved": "void",
612
+ "references": {}
613
+ }
614
+ }, {
615
+ "method": "bsOpen",
616
+ "name": "bsOpen",
617
+ "bubbles": true,
618
+ "cancelable": true,
619
+ "composed": true,
620
+ "docs": {
621
+ "tags": [],
622
+ "text": "Fires when the user asks to open the full checklist: \"See all steps\" (`dashboard`) or the launcher."
623
+ },
624
+ "complexType": {
625
+ "original": "void",
626
+ "resolved": "void",
627
+ "references": {}
628
+ }
629
+ }, {
630
+ "method": "bsDone",
631
+ "name": "bsDone",
632
+ "bubbles": true,
633
+ "cancelable": true,
634
+ "composed": true,
635
+ "docs": {
636
+ "tags": [],
637
+ "text": "Fires when the main button is pressed (`completion`)."
638
+ },
639
+ "complexType": {
640
+ "original": "void",
641
+ "resolved": "void",
642
+ "references": {}
643
+ }
644
+ }, {
645
+ "method": "bsHide",
646
+ "name": "bsHide",
647
+ "bubbles": true,
648
+ "cancelable": true,
649
+ "composed": true,
650
+ "docs": {
651
+ "tags": [],
652
+ "text": "Fires when Hide checklist is pressed (`completion`)."
653
+ },
654
+ "complexType": {
655
+ "original": "void",
656
+ "resolved": "void",
657
+ "references": {}
658
+ }
659
+ }];
660
+ }
661
+ }
662
+ const DEFAULTS = {
663
+ panel: { heading: 'Get started', description: 'Set up your account in a few minutes. You can come back to this at any time.' },
664
+ dashboard: { heading: 'Finish setting up', description: '' },
665
+ launcher: { heading: 'Setup', description: '' },
666
+ completion: { heading: 'You’re all set', description: 'Everything is ready.' },
667
+ };
668
+ const icon = (children) => (props) => (h("svg", { class: "bs-oc__glyph", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.8", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true", ...props }, children));
669
+ const ChecklistIcon = icon(h("g", null, h("path", { d: "M4 7L6 9L9 5.5" }), h("path", { d: "M4 16L6 18L9 14.5" }), h("path", { d: "M12.5 7H20" }), h("path", { d: "M12.5 16H20" })));
670
+ const ListIcon = icon(h("g", null, h("path", { d: "M8 6H20" }), h("path", { d: "M8 12H20" }), h("path", { d: "M8 18H20" }), h("path", { d: "M4 6V6.01" }), h("path", { d: "M4 12V12.01" }), h("path", { d: "M4 18V18.01" })));
671
+ const BankIcon = icon(h("g", null, h("path", { d: "M3.5 9.5L12 4L20.5 9.5" }), h("path", { d: "M5 10V17" }), h("path", { d: "M9.5 10V17" }), h("path", { d: "M14.5 10V17" }), h("path", { d: "M19 10V17" }), h("path", { d: "M3.5 19.5H20.5" })));
672
+ const CheckIcon = icon(h("g", null, h("circle", { cx: "12", cy: "12", r: "9" }), h("path", { d: "M8 12.5L10.8 15.3L16 9.5" })));
673
+ const ArrowIcon = icon(h("g", null, h("path", { d: "M5 12H19" }), h("path", { d: "M13 6L19 12L13 18" })));
674
+ const ClockIcon = () => (h("svg", { class: "bs-oc__clock", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("circle", { cx: "12", cy: "12", r: "9" }), h("path", { d: "M12 7V12L15 14" })));