@brandsync/wc 1.18.0 → 1.19.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 (618) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/REFERENCE.md +71 -8
  3. package/custom-elements.json +382 -4
  4. package/dist/brandsync-wc/brandsync-wc.esm.js +1 -1
  5. package/dist/brandsync-wc/p-02314404.entry.js +1 -0
  6. package/dist/brandsync-wc/{p-fd78ff22.entry.js → p-028d3244.entry.js} +1 -1
  7. package/dist/brandsync-wc/{p-f6caa623.entry.js → p-03ad83a3.entry.js} +1 -1
  8. package/dist/brandsync-wc/{p-5cd1abc7.entry.js → p-0819add7.entry.js} +1 -1
  9. package/dist/brandsync-wc/{p-47ce984f.entry.js → p-08649f52.entry.js} +1 -1
  10. package/dist/brandsync-wc/p-0dff9822.entry.js +1 -0
  11. package/dist/brandsync-wc/{p-7cfb1be6.entry.js → p-10b8937f.entry.js} +1 -1
  12. package/dist/brandsync-wc/{p-bd901b06.entry.js → p-129a4de7.entry.js} +1 -1
  13. package/dist/brandsync-wc/p-1580c56c.entry.js +1 -0
  14. package/dist/brandsync-wc/p-15c6f0f3.entry.js +1 -0
  15. package/dist/brandsync-wc/{p-1d8c2ec1.entry.js → p-171fa239.entry.js} +1 -1
  16. package/dist/brandsync-wc/{p-95c7f350.entry.js → p-197ac73f.entry.js} +1 -1
  17. package/dist/brandsync-wc/{p-7c29678d.entry.js → p-1e33bc10.entry.js} +1 -1
  18. package/dist/brandsync-wc/{p-757cd066.entry.js → p-21e5d4d6.entry.js} +1 -1
  19. package/dist/brandsync-wc/{p-5ac75555.entry.js → p-2389f473.entry.js} +1 -1
  20. package/dist/brandsync-wc/{p-50c116eb.entry.js → p-25914efc.entry.js} +1 -1
  21. package/dist/brandsync-wc/{p-345b5ef3.entry.js → p-26e0ab15.entry.js} +1 -1
  22. package/dist/brandsync-wc/{p-9787bc0f.entry.js → p-270b2cb0.entry.js} +1 -1
  23. package/dist/brandsync-wc/{p-15f06226.entry.js → p-27663faf.entry.js} +1 -1
  24. package/dist/brandsync-wc/p-28c38959.entry.js +1 -0
  25. package/dist/brandsync-wc/{p-1a62e5b7.entry.js → p-2a8b2ac9.entry.js} +1 -1
  26. package/dist/brandsync-wc/{p-344695a8.entry.js → p-2a967b45.entry.js} +1 -1
  27. package/dist/brandsync-wc/p-2b3d0bd4.entry.js +1 -0
  28. package/dist/brandsync-wc/p-30736034.entry.js +1 -0
  29. package/dist/brandsync-wc/{p-5868793d.entry.js → p-30ff0659.entry.js} +1 -1
  30. package/dist/brandsync-wc/{p-cb002195.entry.js → p-313ec145.entry.js} +1 -1
  31. package/dist/brandsync-wc/{p-e4e9c961.entry.js → p-3627e0c6.entry.js} +1 -1
  32. package/dist/brandsync-wc/{p-b7bbc52f.entry.js → p-38a2210a.entry.js} +1 -1
  33. package/dist/brandsync-wc/{p-a8c2855c.entry.js → p-391504ab.entry.js} +1 -1
  34. package/dist/brandsync-wc/{p-78114ea3.entry.js → p-3b212a8a.entry.js} +1 -1
  35. package/dist/brandsync-wc/{p-1aa0f9a3.entry.js → p-3c6980b9.entry.js} +1 -1
  36. package/dist/brandsync-wc/{p-4d4997af.entry.js → p-42fcf134.entry.js} +1 -1
  37. package/dist/brandsync-wc/{p-8f82ea7e.entry.js → p-4928c4ad.entry.js} +1 -1
  38. package/dist/brandsync-wc/{p-841a80b4.entry.js → p-4c51da66.entry.js} +1 -1
  39. package/dist/brandsync-wc/{p-50f60ed6.entry.js → p-4d1ee16e.entry.js} +1 -1
  40. package/dist/brandsync-wc/{p-fb84002e.entry.js → p-4dfd4715.entry.js} +1 -1
  41. package/dist/brandsync-wc/p-4ffcf41a.entry.js +1 -0
  42. package/dist/brandsync-wc/{p-9bd739e5.entry.js → p-527fd08d.entry.js} +1 -1
  43. package/dist/brandsync-wc/{p-55d336da.entry.js → p-5371b31c.entry.js} +1 -1
  44. package/dist/brandsync-wc/p-568de1b0.entry.js +1 -0
  45. package/dist/brandsync-wc/p-590deea0.entry.js +1 -0
  46. package/dist/brandsync-wc/{p-ae207fd5.entry.js → p-64e19200.entry.js} +1 -1
  47. package/dist/brandsync-wc/p-6afacd47.entry.js +1 -0
  48. package/dist/brandsync-wc/p-6f32a08e.entry.js +1 -0
  49. package/dist/brandsync-wc/{p-08e0e704.entry.js → p-70a5897b.entry.js} +1 -1
  50. package/dist/brandsync-wc/{p-c020ffdf.entry.js → p-7160a72e.entry.js} +1 -1
  51. package/dist/brandsync-wc/p-776b677f.entry.js +1 -0
  52. package/dist/brandsync-wc/{p-56a45582.entry.js → p-78c94cfe.entry.js} +1 -1
  53. package/dist/brandsync-wc/p-7bff3aa5.entry.js +1 -0
  54. package/dist/brandsync-wc/{p-e32a6df1.entry.js → p-7c741b8d.entry.js} +1 -1
  55. package/dist/brandsync-wc/p-86f04e9e.entry.js +1 -0
  56. package/dist/brandsync-wc/{p-a51355d9.entry.js → p-8a18864a.entry.js} +1 -1
  57. package/dist/brandsync-wc/{p-0a6f22fe.entry.js → p-8a606b38.entry.js} +1 -1
  58. package/dist/brandsync-wc/p-8ac86d16.entry.js +1 -0
  59. package/dist/brandsync-wc/{p-a424a709.entry.js → p-8b21f623.entry.js} +1 -1
  60. package/dist/brandsync-wc/{p-1a47774e.entry.js → p-8d1ad4b0.entry.js} +1 -1
  61. package/dist/brandsync-wc/{p-58179e15.entry.js → p-8e107d7a.entry.js} +1 -1
  62. package/dist/brandsync-wc/{p-4ff649f1.entry.js → p-90d8d45f.entry.js} +1 -1
  63. package/dist/brandsync-wc/{p-f86b58bf.entry.js → p-9751a12d.entry.js} +1 -1
  64. package/dist/brandsync-wc/{p-bfff7cbb.entry.js → p-9868ee72.entry.js} +1 -1
  65. package/dist/brandsync-wc/{p-6c987bc9.entry.js → p-9ba500f1.entry.js} +1 -1
  66. package/dist/brandsync-wc/p-9fa7bd83.entry.js +1 -0
  67. package/dist/brandsync-wc/p-BSt9HeTa.js +1 -0
  68. package/dist/brandsync-wc/{p-be7272ce.entry.js → p-a2bfbf02.entry.js} +1 -1
  69. package/dist/brandsync-wc/{p-d42a26c1.entry.js → p-a50c5e68.entry.js} +1 -1
  70. package/dist/brandsync-wc/{p-ee63423c.entry.js → p-a688a7ca.entry.js} +1 -1
  71. package/dist/brandsync-wc/{p-55d97d1d.entry.js → p-a92c0f06.entry.js} +1 -1
  72. package/dist/brandsync-wc/p-ab301e9d.entry.js +1 -0
  73. package/dist/brandsync-wc/{p-43f8afda.entry.js → p-ab99b8c3.entry.js} +1 -1
  74. package/dist/brandsync-wc/{p-c02ed03d.entry.js → p-c01e231e.entry.js} +1 -1
  75. package/dist/brandsync-wc/{p-d985e569.entry.js → p-d15e48eb.entry.js} +1 -1
  76. package/dist/brandsync-wc/p-d484e976.entry.js +1 -0
  77. package/dist/brandsync-wc/{p-31ca98c3.entry.js → p-d80eecf4.entry.js} +1 -1
  78. package/dist/brandsync-wc/p-dc2ea372.entry.js +1 -0
  79. package/dist/brandsync-wc/p-de0dfd1c.entry.js +1 -0
  80. package/dist/brandsync-wc/p-e1d30e31.entry.js +1 -0
  81. package/dist/brandsync-wc/{p-0082db6a.entry.js → p-e5235e76.entry.js} +1 -1
  82. package/dist/brandsync-wc/{p-fa91106e.entry.js → p-e776d145.entry.js} +1 -1
  83. package/dist/brandsync-wc/{p-d3fe8cea.entry.js → p-e7c80f48.entry.js} +1 -1
  84. package/dist/brandsync-wc/{p-34851d6d.entry.js → p-eb680cff.entry.js} +1 -1
  85. package/dist/brandsync-wc/p-ebcd105d.entry.js +1 -0
  86. package/dist/brandsync-wc/p-f10b19a8.entry.js +1 -0
  87. package/dist/brandsync-wc/{p-87a10ee1.entry.js → p-f3b60029.entry.js} +1 -1
  88. package/dist/brandsync-wc/{p-14b4f4c4.entry.js → p-f4796801.entry.js} +1 -1
  89. package/dist/brandsync-wc/p-f5e6fdf8.entry.js +1 -0
  90. package/dist/brandsync-wc/p-f93127e1.entry.js +1 -0
  91. package/dist/brandsync-wc/{p-e3e15670.entry.js → p-f96f45ae.entry.js} +1 -1
  92. package/dist/brandsync-wc/{p-e2491db8.entry.js → p-feb46fa6.entry.js} +1 -1
  93. package/dist/cjs/brandsync-wc.cjs.js +1 -1
  94. package/dist/cjs/bs-accordion-group.cjs.entry.js +1 -1
  95. package/dist/cjs/bs-accordion.cjs.entry.js +60 -3
  96. package/dist/cjs/bs-ai-disclaimer.cjs.entry.js +1 -1
  97. package/dist/cjs/bs-ai-greeting.cjs.entry.js +1 -1
  98. package/dist/cjs/bs-ai-thinking.cjs.entry.js +1 -1
  99. package/dist/cjs/bs-app-recent-item_3.cjs.entry.js +7 -7
  100. package/dist/cjs/bs-app-shell.cjs.entry.js +1 -1
  101. package/dist/cjs/bs-app-switcher.cjs.entry.js +1 -1
  102. package/dist/cjs/bs-attachment-list.cjs.entry.js +1 -1
  103. package/dist/cjs/bs-attachment.cjs.entry.js +1 -1
  104. package/dist/cjs/bs-badge.cjs.entry.js +1 -1
  105. package/dist/cjs/bs-breadcrumb-overflow.cjs.entry.js +1 -1
  106. package/dist/cjs/bs-breadcrumb.cjs.entry.js +1 -1
  107. package/dist/cjs/bs-breadcrumbs.cjs.entry.js +1 -1
  108. package/dist/cjs/bs-button-skeleton.cjs.entry.js +1 -1
  109. package/dist/cjs/bs-button_2.cjs.entry.js +198 -0
  110. package/dist/cjs/bs-card.cjs.entry.js +1 -1
  111. package/dist/cjs/bs-carousel.cjs.entry.js +70 -5
  112. package/dist/cjs/bs-chatbot-feedback.cjs.entry.js +1 -1
  113. package/dist/cjs/bs-chatbot-header.cjs.entry.js +1 -1
  114. package/dist/cjs/bs-chatbot-response-action.cjs.entry.js +2 -2
  115. package/dist/cjs/bs-chatbot-sources-drawer.cjs.entry.js +1 -1
  116. package/dist/cjs/bs-chatbot-suggestion-button.cjs.entry.js +2 -2
  117. package/dist/cjs/bs-checkbox-skeleton.cjs.entry.js +1 -1
  118. package/dist/cjs/bs-checkbox.cjs.entry.js +2 -2
  119. package/dist/cjs/bs-chip-filter.cjs.entry.js +2 -2
  120. package/dist/cjs/bs-chip-informative.cjs.entry.js +1 -1
  121. package/dist/cjs/bs-chip-input.cjs.entry.js +2 -2
  122. package/dist/cjs/bs-citation-preview.cjs.entry.js +1 -1
  123. package/dist/cjs/bs-command-palette.cjs.entry.js +1 -1
  124. package/dist/cjs/bs-compact-menu-block_2.cjs.entry.js +4 -4
  125. package/dist/cjs/bs-company-switcher.cjs.entry.js +2 -2
  126. package/dist/cjs/bs-composer-status-banner.cjs.entry.js +1 -1
  127. package/dist/cjs/bs-composer.cjs.entry.js +1 -1
  128. package/dist/cjs/bs-container.cjs.entry.js +1 -1
  129. package/dist/cjs/bs-data-table.cjs.entry.js +2 -2
  130. package/dist/cjs/bs-datepicker.cjs.entry.js +1 -1
  131. package/dist/cjs/bs-dialog.cjs.entry.js +54 -3
  132. package/dist/cjs/bs-divider.cjs.entry.js +1 -1
  133. package/dist/cjs/bs-empty-state.cjs.entry.js +1 -1
  134. package/dist/cjs/bs-error-page.cjs.entry.js +1 -1
  135. package/dist/cjs/bs-file-upload-item.cjs.entry.js +1 -1
  136. package/dist/cjs/bs-file-upload.cjs.entry.js +1 -1
  137. package/dist/cjs/bs-global-search.cjs.entry.js +2 -2
  138. package/dist/cjs/bs-grid.cjs.entry.js +2 -2
  139. package/dist/cjs/bs-icon-button.cjs.entry.js +2 -2
  140. package/dist/cjs/bs-icon-tile.cjs.entry.js +2 -2
  141. package/dist/cjs/bs-inline-tab.cjs.entry.js +2 -2
  142. package/dist/cjs/bs-input_3.cjs.entry.js +5 -5
  143. package/dist/cjs/bs-key-caps.cjs.entry.js +1 -1
  144. package/dist/cjs/bs-key.cjs.entry.js +1 -1
  145. package/dist/cjs/bs-keyboard-shortcuts.cjs.entry.js +2 -2
  146. package/dist/cjs/bs-list-item_2.cjs.entry.js +51 -5
  147. package/dist/cjs/bs-list.cjs.entry.js +1 -1
  148. package/dist/cjs/bs-mega-menu.cjs.entry.js +52 -2
  149. package/dist/cjs/bs-message-list.cjs.entry.js +1 -1
  150. package/dist/cjs/bs-message.cjs.entry.js +1 -1
  151. package/dist/cjs/bs-navigation-drawer-item.cjs.entry.js +1 -1
  152. package/dist/cjs/bs-navigation-drawer.cjs.entry.js +2 -2
  153. package/dist/cjs/bs-navigation-header.cjs.entry.js +2 -2
  154. package/dist/cjs/bs-page-header.cjs.entry.js +1 -1
  155. package/dist/cjs/bs-pagination.cjs.entry.js +2 -2
  156. package/dist/cjs/bs-presence.cjs.entry.js +88 -0
  157. package/dist/cjs/bs-progress-linear.cjs.entry.js +2 -2
  158. package/dist/cjs/bs-progress.cjs.entry.js +2 -2
  159. package/dist/cjs/bs-qr-code.cjs.entry.js +1 -1
  160. package/dist/cjs/bs-radio.cjs.entry.js +4 -4
  161. package/dist/cjs/bs-search-item.cjs.entry.js +2 -2
  162. package/dist/cjs/bs-session-timeout.cjs.entry.js +1 -1
  163. package/dist/cjs/bs-shortcut-row.cjs.entry.js +1 -1
  164. package/dist/cjs/bs-side-panel.cjs.entry.js +52 -3
  165. package/dist/cjs/bs-slider.cjs.entry.js +1 -1
  166. package/dist/cjs/bs-snackbar.cjs.entry.js +1 -1
  167. package/dist/cjs/bs-source-link.cjs.entry.js +4 -3
  168. package/dist/cjs/bs-spinner.cjs.entry.js +1 -1
  169. package/dist/cjs/bs-split-pane.cjs.entry.js +1 -1
  170. package/dist/cjs/bs-stack.cjs.entry.js +1 -1
  171. package/dist/cjs/bs-stepper-step.cjs.entry.js +1 -1
  172. package/dist/cjs/bs-stepper.cjs.entry.js +1 -1
  173. package/dist/cjs/bs-switch.cjs.entry.js +4 -11
  174. package/dist/cjs/bs-tab_3.cjs.entry.js +3 -3
  175. package/dist/cjs/bs-timepicker.cjs.entry.js +2 -2
  176. package/dist/cjs/bs-toast.cjs.entry.js +1 -1
  177. package/dist/cjs/bs-tooltip-trigger.cjs.entry.js +61 -3
  178. package/dist/cjs/bs-tooltip.cjs.entry.js +1 -1
  179. package/dist/cjs/bs-tree-item.cjs.entry.js +3 -3
  180. package/dist/cjs/bs-tree.cjs.entry.js +1 -1
  181. package/dist/cjs/loader.cjs.js +1 -1
  182. package/dist/cjs/motion-DOlI71lc.js +43 -0
  183. package/dist/collection/collection-manifest.json +2 -0
  184. package/dist/collection/components/bs-accordion/bs-accordion.cmp.test.js +21 -6
  185. package/dist/collection/components/bs-accordion/bs-accordion.css +15 -0
  186. package/dist/collection/components/bs-accordion/bs-accordion.js +71 -2
  187. package/dist/collection/components/bs-accordion-group/bs-accordion-group.js +1 -1
  188. package/dist/collection/components/bs-ai-disclaimer/bs-ai-disclaimer.js +1 -1
  189. package/dist/collection/components/bs-ai-greeting/bs-ai-greeting.js +1 -1
  190. package/dist/collection/components/bs-ai-thinking/bs-ai-thinking.js +1 -1
  191. package/dist/collection/components/bs-app-recent-item/bs-app-recent-item.js +3 -3
  192. package/dist/collection/components/bs-app-shell/bs-app-shell.js +1 -1
  193. package/dist/collection/components/bs-app-switcher/bs-app-switcher.js +1 -1
  194. package/dist/collection/components/bs-app-tile/bs-app-tile.js +3 -3
  195. package/dist/collection/components/bs-attachment/bs-attachment.js +1 -1
  196. package/dist/collection/components/bs-attachment-list/bs-attachment-list.js +1 -1
  197. package/dist/collection/components/bs-badge/bs-badge.js +1 -1
  198. package/dist/collection/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.js +1 -1
  199. package/dist/collection/components/bs-breadcrumb/bs-breadcrumb-overflow/bs-breadcrumb-overflow.js +1 -1
  200. package/dist/collection/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.js +1 -1
  201. package/dist/collection/components/bs-button/bs-button/bs-button.cmp.test.js +12 -0
  202. package/dist/collection/components/bs-button/bs-button/bs-button.css +2 -0
  203. package/dist/collection/components/bs-button/bs-button/bs-button.js +4 -1
  204. package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.css +2 -0
  205. package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.js +2 -1
  206. package/dist/collection/components/bs-button-skeleton/bs-button-skeleton.js +1 -1
  207. package/dist/collection/components/bs-card/bs-card.js +1 -1
  208. package/dist/collection/components/bs-carousel/bs-carousel.cmp.test.js +39 -1
  209. package/dist/collection/components/bs-carousel/bs-carousel.css +9 -0
  210. package/dist/collection/components/bs-carousel/bs-carousel.js +75 -4
  211. package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.js +1 -1
  212. package/dist/collection/components/bs-chatbot-header/bs-chatbot-header.js +1 -1
  213. package/dist/collection/components/bs-chatbot-response-action/bs-chatbot-response-action.css +2 -0
  214. package/dist/collection/components/bs-chatbot-response-action/bs-chatbot-response-action.js +2 -1
  215. package/dist/collection/components/bs-chatbot-sources-drawer/bs-chatbot-sources-drawer.js +1 -1
  216. package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.css +2 -0
  217. package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.js +2 -1
  218. package/dist/collection/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.js +1 -1
  219. package/dist/collection/components/bs-checkbox/bs-checkbox.css +7 -0
  220. package/dist/collection/components/bs-checkbox/bs-checkbox.js +2 -1
  221. package/dist/collection/components/bs-chip/bs-chip-filter/bs-chip-filter.css +2 -0
  222. package/dist/collection/components/bs-chip/bs-chip-filter/bs-chip-filter.js +2 -1
  223. package/dist/collection/components/bs-chip/bs-chip-informative/bs-chip-informative.js +1 -1
  224. package/dist/collection/components/bs-chip/bs-chip-input/bs-chip-input.css +7 -0
  225. package/dist/collection/components/bs-chip/bs-chip-input/bs-chip-input.js +2 -1
  226. package/dist/collection/components/bs-citation-preview/bs-citation-preview.js +1 -1
  227. package/dist/collection/components/bs-command-palette/bs-command-palette.js +1 -1
  228. package/dist/collection/components/bs-compact-menu-block/bs-compact-menu-block.js +1 -1
  229. package/dist/collection/components/bs-company-switcher/bs-company-switcher.js +2 -2
  230. package/dist/collection/components/bs-composer/bs-composer.js +1 -1
  231. package/dist/collection/components/bs-composer-status-banner/bs-composer-status-banner.js +1 -1
  232. package/dist/collection/components/bs-container/bs-container.js +1 -1
  233. package/dist/collection/components/bs-data-table/bs-data-table.js +2 -2
  234. package/dist/collection/components/bs-datepicker/bs-datepicker.js +1 -1
  235. package/dist/collection/components/bs-dialog/bs-dialog.cmp.test.js +32 -0
  236. package/dist/collection/components/bs-dialog/bs-dialog.css +16 -0
  237. package/dist/collection/components/bs-dialog/bs-dialog.js +61 -3
  238. package/dist/collection/components/bs-divider/bs-divider.js +1 -1
  239. package/dist/collection/components/bs-empty-state/bs-empty-state.js +1 -1
  240. package/dist/collection/components/bs-error-page/bs-error-page.js +1 -1
  241. package/dist/collection/components/bs-file-upload/bs-file-upload.js +1 -1
  242. package/dist/collection/components/bs-file-upload-item/bs-file-upload-item.js +1 -1
  243. package/dist/collection/components/bs-global-search/bs-global-search.js +2 -2
  244. package/dist/collection/components/bs-grid/bs-grid.js +2 -2
  245. package/dist/collection/components/bs-icon-tile/bs-icon-tile.js +2 -2
  246. package/dist/collection/components/bs-input/bs-input.js +2 -2
  247. package/dist/collection/components/bs-key/bs-key.js +1 -1
  248. package/dist/collection/components/bs-key-caps/bs-key-caps.js +1 -1
  249. package/dist/collection/components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.js +2 -2
  250. package/dist/collection/components/bs-list/bs-list.js +1 -1
  251. package/dist/collection/components/bs-list-item/bs-list-item.css +2 -0
  252. package/dist/collection/components/bs-list-item/bs-list-item.js +2 -1
  253. package/dist/collection/components/bs-mega-menu/bs-mega-menu.cmp.test.js +73 -0
  254. package/dist/collection/components/bs-mega-menu/bs-mega-menu.css +5 -1
  255. package/dist/collection/components/bs-mega-menu/bs-mega-menu.js +89 -4
  256. package/dist/collection/components/bs-mega-menu/bs-mega-menu.stories.js +5 -5
  257. package/dist/collection/components/bs-menu/bs-menu.js +1 -1
  258. package/dist/collection/components/bs-menu-block/bs-menu-block.js +3 -3
  259. package/dist/collection/components/bs-menu-item/bs-menu-item.css +2 -0
  260. package/dist/collection/components/bs-menu-item/bs-menu-item.js +2 -1
  261. package/dist/collection/components/bs-message/bs-message.js +1 -1
  262. package/dist/collection/components/bs-message-list/bs-message-list.js +1 -1
  263. package/dist/collection/components/bs-page-header/bs-page-header.js +1 -1
  264. package/dist/collection/components/bs-pagination/bs-pagination.css +2 -0
  265. package/dist/collection/components/bs-pagination/bs-pagination.js +2 -1
  266. package/dist/collection/components/bs-popover/bs-popover.cmp.test.js +20 -0
  267. package/dist/collection/components/bs-popover/bs-popover.css +3 -0
  268. package/dist/collection/components/bs-popover/bs-popover.js +59 -2
  269. package/dist/collection/components/bs-presence/bs-presence.cmp.test.js +64 -0
  270. package/dist/collection/components/bs-presence/bs-presence.css +80 -0
  271. package/dist/collection/components/bs-presence/bs-presence.js +233 -0
  272. package/dist/collection/components/bs-presence/bs-presence.stories.js +101 -0
  273. package/dist/collection/components/bs-progress/bs-progress.js +2 -2
  274. package/dist/collection/components/bs-progress-linear/bs-progress-linear.js +2 -2
  275. package/dist/collection/components/bs-qr-code/bs-qr-code.js +1 -1
  276. package/dist/collection/components/bs-radio/bs-radio.css +6 -0
  277. package/dist/collection/components/bs-radio/bs-radio.js +4 -3
  278. package/dist/collection/components/bs-ripple/bs-ripple.cmp.test.js +45 -0
  279. package/dist/collection/components/bs-ripple/bs-ripple.css +32 -0
  280. package/dist/collection/components/bs-ripple/bs-ripple.js +188 -0
  281. package/dist/collection/components/bs-ripple/bs-ripple.stories.js +33 -0
  282. package/dist/collection/components/bs-search-item/bs-search-item.css +2 -0
  283. package/dist/collection/components/bs-search-item/bs-search-item.js +2 -1
  284. package/dist/collection/components/bs-session-timeout/bs-session-timeout.js +1 -1
  285. package/dist/collection/components/bs-shortcut-row/bs-shortcut-row.js +1 -1
  286. package/dist/collection/components/bs-side-panel/bs-side-panel.cmp.test.js +19 -0
  287. package/dist/collection/components/bs-side-panel/bs-side-panel.css +8 -0
  288. package/dist/collection/components/bs-side-panel/bs-side-panel.js +58 -2
  289. package/dist/collection/components/bs-skeleton/bs-skeleton.js +1 -1
  290. package/dist/collection/components/bs-slider/bs-slider.js +1 -1
  291. package/dist/collection/components/bs-snackbar/bs-snackbar.js +1 -1
  292. package/dist/collection/components/bs-source-link/bs-source-link.css +2 -0
  293. package/dist/collection/components/bs-source-link/bs-source-link.js +4 -2
  294. package/dist/collection/components/bs-spinner/bs-spinner.js +1 -1
  295. package/dist/collection/components/bs-split-pane/bs-split-pane.js +1 -1
  296. package/dist/collection/components/bs-stack/bs-stack.js +1 -1
  297. package/dist/collection/components/bs-stepper/bs-stepper/bs-stepper.js +1 -1
  298. package/dist/collection/components/bs-stepper/bs-stepper-step/bs-stepper-step.js +1 -1
  299. package/dist/collection/components/bs-switch/bs-switch.css +9 -0
  300. package/dist/collection/components/bs-switch/bs-switch.js +4 -10
  301. package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.css +2 -0
  302. package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.js +2 -1
  303. package/dist/collection/components/bs-tab/bs-tab/bs-tab.js +2 -1
  304. package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.js +1 -1
  305. package/dist/collection/components/bs-timepicker/bs-timepicker.js +2 -2
  306. package/dist/collection/components/bs-toast/bs-toast.js +1 -1
  307. package/dist/collection/components/bs-tooltip/bs-tooltip.js +1 -1
  308. package/dist/collection/components/bs-tooltip-trigger/bs-tooltip-trigger.cmp.test.js +53 -2
  309. package/dist/collection/components/bs-tooltip-trigger/bs-tooltip-trigger.css +3 -0
  310. package/dist/collection/components/bs-tooltip-trigger/bs-tooltip-trigger.js +70 -3
  311. package/dist/collection/components/bs-tree/bs-tree.js +1 -1
  312. package/dist/collection/components/bs-tree-item/bs-tree-item.css +2 -0
  313. package/dist/collection/components/bs-tree-item/bs-tree-item.js +3 -2
  314. package/dist/collection/components/bs-whats-new-entry/bs-whats-new-entry.js +1 -1
  315. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.js +2 -2
  316. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.js +1 -1
  317. package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.js +2 -2
  318. package/dist/collection/utils/motion.js +37 -0
  319. package/dist/components/bs-accordion-group.js +1 -1
  320. package/dist/components/bs-accordion.js +1 -1
  321. package/dist/components/bs-ai-disclaimer.js +1 -1
  322. package/dist/components/bs-ai-greeting.js +1 -1
  323. package/dist/components/bs-ai-thinking.js +1 -1
  324. package/dist/components/bs-app-recent-item.js +1 -1
  325. package/dist/components/bs-app-shell.js +1 -1
  326. package/dist/components/bs-app-switcher.js +1 -1
  327. package/dist/components/bs-app-tile.js +1 -1
  328. package/dist/components/bs-attachment-list.js +1 -1
  329. package/dist/components/bs-attachment.js +1 -1
  330. package/dist/components/bs-badge.js +1 -1
  331. package/dist/components/bs-breadcrumb-overflow.js +1 -1
  332. package/dist/components/bs-breadcrumb.js +1 -1
  333. package/dist/components/bs-breadcrumbs.js +1 -1
  334. package/dist/components/bs-button-skeleton.js +1 -1
  335. package/dist/components/bs-button.js +1 -1
  336. package/dist/components/bs-card.js +1 -1
  337. package/dist/components/bs-carousel.js +1 -1
  338. package/dist/components/bs-chatbot-feedback.js +1 -1
  339. package/dist/components/bs-chatbot-header.js +1 -1
  340. package/dist/components/bs-chatbot-response-action.js +1 -1
  341. package/dist/components/bs-chatbot-sources-drawer.js +1 -1
  342. package/dist/components/bs-chatbot-suggestion-button.js +1 -1
  343. package/dist/components/bs-checkbox-skeleton.js +1 -1
  344. package/dist/components/bs-checkbox.js +1 -1
  345. package/dist/components/bs-chip-filter.js +1 -1
  346. package/dist/components/bs-chip-informative.js +1 -1
  347. package/dist/components/bs-chip-input.js +1 -1
  348. package/dist/components/bs-citation-preview.js +1 -1
  349. package/dist/components/bs-command-palette.js +1 -1
  350. package/dist/components/bs-compact-menu-block.js +1 -1
  351. package/dist/components/bs-company-switcher.js +1 -1
  352. package/dist/components/bs-composer-status-banner.js +1 -1
  353. package/dist/components/bs-composer.js +1 -1
  354. package/dist/components/bs-container.js +1 -1
  355. package/dist/components/bs-cookie-consent.js +1 -1
  356. package/dist/components/bs-data-table.js +1 -1
  357. package/dist/components/bs-datepicker.js +1 -1
  358. package/dist/components/bs-dialog.js +1 -1
  359. package/dist/components/bs-divider.js +1 -1
  360. package/dist/components/bs-empty-state.js +1 -1
  361. package/dist/components/bs-error-page.js +1 -1
  362. package/dist/components/bs-file-upload-item.js +1 -1
  363. package/dist/components/bs-file-upload.js +1 -1
  364. package/dist/components/bs-global-search.js +1 -1
  365. package/dist/components/bs-grid.js +1 -1
  366. package/dist/components/bs-icon-button.js +1 -1
  367. package/dist/components/bs-icon-tile.js +1 -1
  368. package/dist/components/bs-inline-tab.js +1 -1
  369. package/dist/components/bs-input.js +1 -1
  370. package/dist/components/bs-key-caps.js +1 -1
  371. package/dist/components/bs-key.js +1 -1
  372. package/dist/components/bs-keyboard-shortcuts.js +1 -1
  373. package/dist/components/bs-list-item.js +1 -1
  374. package/dist/components/bs-list.js +1 -1
  375. package/dist/components/bs-mega-menu.js +1 -1
  376. package/dist/components/bs-menu-block.js +1 -1
  377. package/dist/components/bs-menu-item.js +1 -1
  378. package/dist/components/bs-menu.js +1 -1
  379. package/dist/components/bs-message-list.js +1 -1
  380. package/dist/components/bs-message.js +1 -1
  381. package/dist/components/bs-navigation-drawer-item.js +1 -1
  382. package/dist/components/bs-navigation-drawer.js +1 -1
  383. package/dist/components/bs-navigation-header.js +1 -1
  384. package/dist/components/bs-onboarding-checklist.js +1 -1
  385. package/dist/components/bs-page-header.js +1 -1
  386. package/dist/components/bs-pagination.js +1 -1
  387. package/dist/components/bs-popover.js +1 -1
  388. package/dist/components/bs-presence.d.ts +11 -0
  389. package/dist/components/bs-presence.js +1 -0
  390. package/dist/components/bs-product-tour.js +1 -1
  391. package/dist/components/bs-progress-linear.js +1 -1
  392. package/dist/components/bs-progress.js +1 -1
  393. package/dist/components/bs-qr-code.js +1 -1
  394. package/dist/components/bs-radio.js +1 -1
  395. package/dist/components/bs-ripple.d.ts +11 -0
  396. package/dist/components/bs-ripple.js +1 -0
  397. package/dist/components/bs-search-item.js +1 -1
  398. package/dist/components/bs-session-timeout.js +1 -1
  399. package/dist/components/bs-shortcut-row.js +1 -1
  400. package/dist/components/bs-side-panel.js +1 -1
  401. package/dist/components/bs-skeleton.js +1 -1
  402. package/dist/components/bs-slider.js +1 -1
  403. package/dist/components/bs-snackbar.js +1 -1
  404. package/dist/components/bs-source-link.js +1 -1
  405. package/dist/components/bs-spinner.js +1 -1
  406. package/dist/components/bs-split-pane.js +1 -1
  407. package/dist/components/bs-stack.js +1 -1
  408. package/dist/components/bs-stepper-step.js +1 -1
  409. package/dist/components/bs-stepper.js +1 -1
  410. package/dist/components/bs-switch.js +1 -1
  411. package/dist/components/bs-tab.js +1 -1
  412. package/dist/components/bs-tabs.js +1 -1
  413. package/dist/components/bs-timepicker.js +1 -1
  414. package/dist/components/bs-toast.js +1 -1
  415. package/dist/components/bs-tooltip-trigger.js +1 -1
  416. package/dist/components/bs-tooltip.js +1 -1
  417. package/dist/components/bs-tree-item.js +1 -1
  418. package/dist/components/bs-tree.js +1 -1
  419. package/dist/components/bs-whats-new-entry.js +1 -1
  420. package/dist/components/bs-whats-new.js +1 -1
  421. package/dist/components/p--Tyv3LIl.js +1 -0
  422. package/dist/components/{p-D4_8H0vn.js → p-4yShCgRb.js} +1 -1
  423. package/dist/components/p-6Rr9bjVN.js +1 -0
  424. package/dist/components/{p-I1_Q3HQu.js → p-BHzj13sd.js} +1 -1
  425. package/dist/components/p-BIxcCDgl.js +1 -0
  426. package/dist/components/{p-DcdFuKG9.js → p-BQ4rSQDm.js} +1 -1
  427. package/dist/components/p-BSt9HeTa.js +1 -0
  428. package/dist/components/p-BWRkbt0f.js +1 -0
  429. package/dist/components/p-BfCah-Ij.js +1 -0
  430. package/dist/components/p-BpkPo4ay.js +1 -0
  431. package/dist/components/{p-Co36mHEU.js → p-CFR3Q0io.js} +1 -1
  432. package/dist/components/{p-C3erqJFy.js → p-CHZE_FrW.js} +1 -1
  433. package/dist/components/p-CVQycAap.js +1 -0
  434. package/dist/components/{p-CmlzHRkn.js → p-Cr8cHmpM.js} +1 -1
  435. package/dist/components/p-CvSewXZF.js +1 -0
  436. package/dist/components/{p-Dl0FedE5.js → p-D3PuUD8Z.js} +1 -1
  437. package/dist/components/p-D5eN9Lfa.js +1 -0
  438. package/dist/components/{p-qXdgl7VG.js → p-DDgzEg1C.js} +1 -1
  439. package/dist/components/p-DF2FcJPs.js +1 -0
  440. package/dist/components/{p-DzvXbBvk.js → p-DLnZG_G9.js} +1 -1
  441. package/dist/components/{p-Deq0LzGO.js → p-DXbcyEgd.js} +1 -1
  442. package/dist/components/{p-C1owRphU.js → p-DXwatzvM.js} +1 -1
  443. package/dist/components/{p-erdtytMq.js → p-DcD5eV_Z.js} +1 -1
  444. package/dist/components/{p-B6KgEbdM.js → p-Dj393s3S.js} +1 -1
  445. package/dist/components/p-DtkTnaOp.js +1 -0
  446. package/dist/components/{p-DBvhi__l.js → p-EGNLb4cQ.js} +1 -1
  447. package/dist/components/{p-DFd4pP4i.js → p-Jik5UkAe.js} +1 -1
  448. package/dist/components/p-XZXdZpt4.js +1 -0
  449. package/dist/components/{p-Cd7p-48Q.js → p-Y5FyLR8G.js} +1 -1
  450. package/dist/components/{p-DtbeCgXo.js → p-ZfE38vXZ.js} +1 -1
  451. package/dist/components/{p-c-g3-oVu.js → p-lPTgyF9v.js} +1 -1
  452. package/dist/components/p-syO0ipbw.js +1 -0
  453. package/dist/components/p-up01gvHY.js +1 -0
  454. package/dist/esm/brandsync-wc.js +1 -1
  455. package/dist/esm/bs-accordion-group.entry.js +1 -1
  456. package/dist/esm/bs-accordion.entry.js +61 -4
  457. package/dist/esm/bs-ai-disclaimer.entry.js +1 -1
  458. package/dist/esm/bs-ai-greeting.entry.js +1 -1
  459. package/dist/esm/bs-ai-thinking.entry.js +1 -1
  460. package/dist/esm/bs-app-recent-item_3.entry.js +7 -7
  461. package/dist/esm/bs-app-shell.entry.js +1 -1
  462. package/dist/esm/bs-app-switcher.entry.js +1 -1
  463. package/dist/esm/bs-attachment-list.entry.js +1 -1
  464. package/dist/esm/bs-attachment.entry.js +1 -1
  465. package/dist/esm/bs-badge.entry.js +1 -1
  466. package/dist/esm/bs-breadcrumb-overflow.entry.js +1 -1
  467. package/dist/esm/bs-breadcrumb.entry.js +1 -1
  468. package/dist/esm/bs-breadcrumbs.entry.js +1 -1
  469. package/dist/esm/bs-button-skeleton.entry.js +1 -1
  470. package/dist/esm/bs-button_2.entry.js +195 -0
  471. package/dist/esm/bs-card.entry.js +1 -1
  472. package/dist/esm/bs-carousel.entry.js +70 -5
  473. package/dist/esm/bs-chatbot-feedback.entry.js +1 -1
  474. package/dist/esm/bs-chatbot-header.entry.js +1 -1
  475. package/dist/esm/bs-chatbot-response-action.entry.js +2 -2
  476. package/dist/esm/bs-chatbot-sources-drawer.entry.js +1 -1
  477. package/dist/esm/bs-chatbot-suggestion-button.entry.js +2 -2
  478. package/dist/esm/bs-checkbox-skeleton.entry.js +1 -1
  479. package/dist/esm/bs-checkbox.entry.js +2 -2
  480. package/dist/esm/bs-chip-filter.entry.js +2 -2
  481. package/dist/esm/bs-chip-informative.entry.js +1 -1
  482. package/dist/esm/bs-chip-input.entry.js +2 -2
  483. package/dist/esm/bs-citation-preview.entry.js +1 -1
  484. package/dist/esm/bs-command-palette.entry.js +1 -1
  485. package/dist/esm/bs-compact-menu-block_2.entry.js +4 -4
  486. package/dist/esm/bs-company-switcher.entry.js +2 -2
  487. package/dist/esm/bs-composer-status-banner.entry.js +1 -1
  488. package/dist/esm/bs-composer.entry.js +1 -1
  489. package/dist/esm/bs-container.entry.js +1 -1
  490. package/dist/esm/bs-data-table.entry.js +2 -2
  491. package/dist/esm/bs-datepicker.entry.js +1 -1
  492. package/dist/esm/bs-dialog.entry.js +55 -4
  493. package/dist/esm/bs-divider.entry.js +1 -1
  494. package/dist/esm/bs-empty-state.entry.js +1 -1
  495. package/dist/esm/bs-error-page.entry.js +1 -1
  496. package/dist/esm/bs-file-upload-item.entry.js +1 -1
  497. package/dist/esm/bs-file-upload.entry.js +1 -1
  498. package/dist/esm/bs-global-search.entry.js +2 -2
  499. package/dist/esm/bs-grid.entry.js +2 -2
  500. package/dist/esm/bs-icon-button.entry.js +2 -2
  501. package/dist/esm/bs-icon-tile.entry.js +2 -2
  502. package/dist/esm/bs-inline-tab.entry.js +2 -2
  503. package/dist/esm/bs-input_3.entry.js +5 -5
  504. package/dist/esm/bs-key-caps.entry.js +1 -1
  505. package/dist/esm/bs-key.entry.js +1 -1
  506. package/dist/esm/bs-keyboard-shortcuts.entry.js +2 -2
  507. package/dist/esm/bs-list-item_2.entry.js +51 -5
  508. package/dist/esm/bs-list.entry.js +1 -1
  509. package/dist/esm/bs-mega-menu.entry.js +53 -3
  510. package/dist/esm/bs-message-list.entry.js +1 -1
  511. package/dist/esm/bs-message.entry.js +1 -1
  512. package/dist/esm/bs-navigation-drawer-item.entry.js +1 -1
  513. package/dist/esm/bs-navigation-drawer.entry.js +2 -2
  514. package/dist/esm/bs-navigation-header.entry.js +2 -2
  515. package/dist/esm/bs-page-header.entry.js +1 -1
  516. package/dist/esm/bs-pagination.entry.js +2 -2
  517. package/dist/esm/bs-presence.entry.js +86 -0
  518. package/dist/esm/bs-progress-linear.entry.js +2 -2
  519. package/dist/esm/bs-progress.entry.js +2 -2
  520. package/dist/esm/bs-qr-code.entry.js +1 -1
  521. package/dist/esm/bs-radio.entry.js +4 -4
  522. package/dist/esm/bs-search-item.entry.js +2 -2
  523. package/dist/esm/bs-session-timeout.entry.js +1 -1
  524. package/dist/esm/bs-shortcut-row.entry.js +1 -1
  525. package/dist/esm/bs-side-panel.entry.js +52 -3
  526. package/dist/esm/bs-slider.entry.js +1 -1
  527. package/dist/esm/bs-snackbar.entry.js +1 -1
  528. package/dist/esm/bs-source-link.entry.js +4 -3
  529. package/dist/esm/bs-spinner.entry.js +1 -1
  530. package/dist/esm/bs-split-pane.entry.js +1 -1
  531. package/dist/esm/bs-stack.entry.js +1 -1
  532. package/dist/esm/bs-stepper-step.entry.js +1 -1
  533. package/dist/esm/bs-stepper.entry.js +1 -1
  534. package/dist/esm/bs-switch.entry.js +4 -11
  535. package/dist/esm/bs-tab_3.entry.js +3 -3
  536. package/dist/esm/bs-timepicker.entry.js +2 -2
  537. package/dist/esm/bs-toast.entry.js +1 -1
  538. package/dist/esm/bs-tooltip-trigger.entry.js +62 -4
  539. package/dist/esm/bs-tooltip.entry.js +1 -1
  540. package/dist/esm/bs-tree-item.entry.js +3 -3
  541. package/dist/esm/bs-tree.entry.js +1 -1
  542. package/dist/esm/loader.js +1 -1
  543. package/dist/esm/motion-BSt9HeTa.js +39 -0
  544. package/dist/types/components/bs-accordion/bs-accordion.d.ts +22 -0
  545. package/dist/types/components/bs-button/bs-button/bs-button.d.ts +3 -0
  546. package/dist/types/components/bs-button/bs-icon-button/bs-icon-button.d.ts +1 -0
  547. package/dist/types/components/bs-carousel/bs-carousel.d.ts +21 -1
  548. package/dist/types/components/bs-chatbot-response-action/bs-chatbot-response-action.d.ts +1 -0
  549. package/dist/types/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.d.ts +1 -0
  550. package/dist/types/components/bs-checkbox/bs-checkbox.d.ts +1 -0
  551. package/dist/types/components/bs-chip/bs-chip-filter/bs-chip-filter.d.ts +1 -0
  552. package/dist/types/components/bs-chip/bs-chip-input/bs-chip-input.d.ts +1 -0
  553. package/dist/types/components/bs-dialog/bs-dialog.d.ts +14 -0
  554. package/dist/types/components/bs-list-item/bs-list-item.d.ts +1 -0
  555. package/dist/types/components/bs-mega-menu/bs-mega-menu.d.ts +26 -2
  556. package/dist/types/components/bs-menu-item/bs-menu-item.d.ts +1 -0
  557. package/dist/types/components/bs-pagination/bs-pagination.d.ts +1 -0
  558. package/dist/types/components/bs-popover/bs-popover.d.ts +15 -0
  559. package/dist/types/components/bs-presence/bs-presence.cmp.test.d.ts +1 -0
  560. package/dist/types/components/bs-presence/bs-presence.d.ts +50 -0
  561. package/dist/types/components/bs-presence/bs-presence.stories.d.ts +15 -0
  562. package/dist/types/components/bs-radio/bs-radio.d.ts +1 -0
  563. package/dist/types/components/bs-ripple/bs-ripple.cmp.test.d.ts +1 -0
  564. package/dist/types/components/bs-ripple/bs-ripple.d.ts +52 -0
  565. package/dist/types/components/bs-ripple/bs-ripple.stories.d.ts +11 -0
  566. package/dist/types/components/bs-search-item/bs-search-item.d.ts +1 -0
  567. package/dist/types/components/bs-side-panel/bs-side-panel.d.ts +13 -0
  568. package/dist/types/components/bs-source-link/bs-source-link.d.ts +1 -0
  569. package/dist/types/components/bs-switch/bs-switch.d.ts +1 -0
  570. package/dist/types/components/bs-tab/bs-inline-tab/bs-inline-tab.d.ts +1 -0
  571. package/dist/types/components/bs-tab/bs-tab/bs-tab.d.ts +1 -0
  572. package/dist/types/components/bs-tooltip-trigger/bs-tooltip-trigger.d.ts +18 -0
  573. package/dist/types/components/bs-tree-item/bs-tree-item.d.ts +1 -0
  574. package/dist/types/components.d.ts +407 -8
  575. package/dist/types/utils/motion.d.ts +21 -0
  576. package/package.json +1 -1
  577. package/reference.d.ts +28 -22
  578. package/reference.json +230 -9
  579. package/dist/brandsync-wc/p-046a53de.entry.js +0 -1
  580. package/dist/brandsync-wc/p-07e0b444.entry.js +0 -1
  581. package/dist/brandsync-wc/p-186e3b78.entry.js +0 -1
  582. package/dist/brandsync-wc/p-23b56775.entry.js +0 -1
  583. package/dist/brandsync-wc/p-246036cd.entry.js +0 -1
  584. package/dist/brandsync-wc/p-348fef11.entry.js +0 -1
  585. package/dist/brandsync-wc/p-3e6f430a.entry.js +0 -1
  586. package/dist/brandsync-wc/p-47929dca.entry.js +0 -1
  587. package/dist/brandsync-wc/p-52d61070.entry.js +0 -1
  588. package/dist/brandsync-wc/p-5e36d46f.entry.js +0 -1
  589. package/dist/brandsync-wc/p-64f8eb7e.entry.js +0 -1
  590. package/dist/brandsync-wc/p-6b019a88.entry.js +0 -1
  591. package/dist/brandsync-wc/p-8962abe0.entry.js +0 -1
  592. package/dist/brandsync-wc/p-8c9938a5.entry.js +0 -1
  593. package/dist/brandsync-wc/p-8e46a262.entry.js +0 -1
  594. package/dist/brandsync-wc/p-998b95d3.entry.js +0 -1
  595. package/dist/brandsync-wc/p-a9d0a730.entry.js +0 -1
  596. package/dist/brandsync-wc/p-b1edc9b7.entry.js +0 -1
  597. package/dist/brandsync-wc/p-b759ae72.entry.js +0 -1
  598. package/dist/brandsync-wc/p-e99c0937.entry.js +0 -1
  599. package/dist/brandsync-wc/p-e9adfa44.entry.js +0 -1
  600. package/dist/brandsync-wc/p-eb3bacb9.entry.js +0 -1
  601. package/dist/brandsync-wc/p-ee00d3a5.entry.js +0 -1
  602. package/dist/brandsync-wc/p-f47b8673.entry.js +0 -1
  603. package/dist/brandsync-wc/p-fbc219c6.entry.js +0 -1
  604. package/dist/cjs/bs-button.cjs.entry.js +0 -107
  605. package/dist/components/p-B8kw9EOx.js +0 -1
  606. package/dist/components/p-BLPNwyiT.js +0 -1
  607. package/dist/components/p-BP1l6Q3Z.js +0 -1
  608. package/dist/components/p-BS7ySxJZ.js +0 -1
  609. package/dist/components/p-BmdSbmFg.js +0 -1
  610. package/dist/components/p-C2rRVRIu.js +0 -1
  611. package/dist/components/p-D9dDFyPB.js +0 -1
  612. package/dist/components/p-DVjuZdjF.js +0 -1
  613. package/dist/components/p-DW0Dw2LS.js +0 -1
  614. package/dist/components/p-DgY5pxXd.js +0 -1
  615. package/dist/components/p-DhhXayh6.js +0 -1
  616. package/dist/components/p-DiORQQg3.js +0 -1
  617. package/dist/components/p-TXAiCnSZ.js +0 -1
  618. package/dist/esm/bs-button.entry.js +0 -105
@@ -18,6 +18,8 @@
18
18
  * @prop --bs-accordion-bg-disabled: Header/content background, disabled. Aliased to --bs-surface-action-disabled.
19
19
  * @prop --bs-accordion-text-disabled: Label/content color, disabled. Aliased to --bs-text-on-disabled.
20
20
  * @prop --bs-accordion-focus-ring: Focus-visible outer ring color. Aliased to --bs-border-neutral-focus.
21
+ * @prop --bs-accordion-duration: Expand/collapse and caret rotation length. Aliased to --bs-duration-default.
22
+ * @prop --bs-accordion-easing: Expand/collapse and caret rotation curve. Aliased to --bs-easing-standard.
21
23
  */
22
24
  :host {
23
25
  display: block;
@@ -41,6 +43,8 @@
41
43
  --bs-accordion-bg-disabled: var(--bs-surface-action-disabled);
42
44
  --bs-accordion-text-disabled: var(--bs-text-on-disabled);
43
45
  --bs-accordion-focus-ring: var(--bs-border-neutral-focus);
46
+ --bs-accordion-duration: var(--bs-duration-default);
47
+ --bs-accordion-easing: var(--bs-easing-standard);
44
48
  }
45
49
 
46
50
  .bs-accordion {
@@ -48,6 +52,7 @@
48
52
  border-radius: var(--bs-accordion-radius);
49
53
  overflow: hidden;
50
54
  font-family: inherit;
55
+ transition: background-color var(--bs-accordion-duration) var(--bs-accordion-easing);
51
56
  }
52
57
 
53
58
  /* Hover/pressed/focus-visible highlight the WHOLE item (header + content together), not just the
@@ -163,6 +168,14 @@
163
168
  color: inherit;
164
169
  }
165
170
 
171
+ .bs-accordion__caret {
172
+ transition: transform var(--bs-accordion-duration) var(--bs-accordion-easing);
173
+ }
174
+
175
+ .bs-accordion__caret--open {
176
+ transform: rotate(180deg);
177
+ }
178
+
166
179
  .bs-accordion__caret svg {
167
180
  width: 24px;
168
181
  height: 24px;
@@ -179,6 +192,8 @@
179
192
  }
180
193
 
181
194
  .bs-accordion__content {
195
+ /* border-box so the animated height includes the padding, matching what getBoundingClientRect reads. */
196
+ box-sizing: border-box;
182
197
  padding-top: 0;
183
198
  padding-bottom: var(--bs-accordion-content-padding-bottom);
184
199
  padding-inline-end: var(--bs-accordion-content-padding-right);
@@ -19,8 +19,14 @@ import { h } from "@stencil/core";
19
19
  * @part label - The label wrapper.
20
20
  * @part caret - The trailing caret wrapper.
21
21
  * @part content - The body content wrapper.
22
+ * @prop --bs-accordion-duration - Length of the expand/collapse motion. Aliased to `--bs-duration-default`.
23
+ * @prop --bs-accordion-easing - Curve of the expand/collapse motion. Aliased to `--bs-easing-standard`.
24
+ *
25
+ * Expanding and collapsing animate the body's height and rotate the caret. Under
26
+ * `prefers-reduced-motion: reduce` the duration token is `0ms`, so the body snaps.
22
27
  */
23
28
  export class BsAccordion {
29
+ el;
24
30
  /** Whether the section is expanded. This is the single source of truth for the component's
25
31
  * visual state -- a controlled component, like a controlled `<input>`. Clicking (or
26
32
  * keyboard-activating) the header never mutates this prop itself; it only emits `bsToggle` with
@@ -45,6 +51,58 @@ export class BsAccordion {
45
51
  /** Emitted when the header is activated (click, or Enter/Space while focused), with the
46
52
  * REQUESTED new expanded value (`!expanded`). Never fires while `disabled`. */
47
53
  bsToggle;
54
+ /** Keeps the body mounted while it animates closed when `showPreview` is `false`. */
55
+ closing = false;
56
+ contentEl;
57
+ animation;
58
+ fromHeight = 0;
59
+ fromPadding = '0px';
60
+ pendingAnimation = false;
61
+ /**
62
+ * Runs before the re-render that follows an `expanded` change, so the body's current height can
63
+ * be read while it is still in its old state. `componentDidRender` then animates from that height
64
+ * to the new one. Reading the live height (not a stored one) also makes interrupting a running
65
+ * animation start from wherever it currently is.
66
+ */
67
+ onExpandedChange(expanded) {
68
+ const content = this.contentEl;
69
+ this.fromHeight = content ? content.getBoundingClientRect().height : 0;
70
+ this.fromPadding = content ? getComputedStyle(content).paddingBottom : '0px';
71
+ this.animation?.cancel();
72
+ this.pendingAnimation = true;
73
+ if (!expanded && !this.showPreview)
74
+ this.closing = true;
75
+ }
76
+ componentDidRender() {
77
+ if (!this.pendingAnimation)
78
+ return;
79
+ this.pendingAnimation = false;
80
+ const content = this.contentEl;
81
+ const style = getComputedStyle(this.el);
82
+ const ms = this.toMs(style.getPropertyValue('--bs-accordion-duration'));
83
+ if (!content || ms === 0) {
84
+ this.closing = false;
85
+ return;
86
+ }
87
+ const toZero = !this.expanded && !this.showPreview;
88
+ const toHeight = toZero ? 0 : content.getBoundingClientRect().height;
89
+ const toPadding = toZero ? '0px' : getComputedStyle(content).paddingBottom;
90
+ this.animation = content.animate([
91
+ { height: `${this.fromHeight}px`, paddingBottom: this.fromPadding, overflow: 'hidden' },
92
+ { height: `${toHeight}px`, paddingBottom: toPadding, overflow: 'hidden' },
93
+ ], { duration: ms, easing: style.getPropertyValue('--bs-accordion-easing').trim() || 'ease' });
94
+ this.animation.onfinish = () => {
95
+ this.closing = false;
96
+ };
97
+ }
98
+ toMs(value) {
99
+ const v = value.trim();
100
+ if (v.endsWith('ms'))
101
+ return parseFloat(v);
102
+ if (v.endsWith('s'))
103
+ return parseFloat(v) * 1000;
104
+ return 0;
105
+ }
48
106
  onActivate = () => {
49
107
  if (this.disabled)
50
108
  return;
@@ -55,7 +113,7 @@ export class BsAccordion {
55
113
  // `<div role="button">`: it gets click, keyboard activation (Enter/Space), focus-visible
56
114
  // styling, and `disabled` semantics (not focusable, no events) for free, and flexbox handles
57
115
  // laying out its children as easily as a <div>'s -- no layout reason to hand-roll any of that.
58
- return (h("div", { key: '2774538f3bc8d52e5a295edafbdad5e2a12dddda', part: "container", class: `bs-accordion bs-accordion--${this.size} ${this.disabled ? 'bs-accordion--disabled' : ''}` }, h("button", { key: '7e1942dca9082ac653dd7e3d55d9b919790bcd5b', type: "button", part: "header", class: `bs-accordion__header bs-accordion__header--${this.size} ${this.showIcon ? '' : 'bs-accordion__header--no-icon'}`, disabled: this.disabled, "aria-expanded": String(this.expanded), onClick: this.onActivate }, this.showIcon && (h("span", { key: 'abd274cb295ae34e9220846a1e8466623f65663a', part: "icon", class: `bs-accordion__icon bs-accordion__icon--${this.size}`, "aria-hidden": "true" }, h("slot", { key: 'd9c4c429852c77f4a10c05eb247a9d3d35559ef6', name: "icon" }, h(PlusIcon, { key: '2fb492c43754a517e4e98b684f811be21777e849' })))), h("span", { key: 'a02484f1a47148493fbc193bc4b9daa8e4c634e7', part: "label", class: `bs-accordion__label ${this.showIcon ? '' : 'bs-accordion__label--no-icon'}` }, h("slot", { key: '8241ccee7233e85c2d69c225c07e67b982674ef7', name: "label" })), h("span", { key: '6e36ee8dbd22ca924f9d8ea8b5c3017c5478f058', part: "caret", class: `bs-accordion__caret bs-accordion__caret--${this.size}`, "aria-hidden": "true" }, this.expanded ? h(CaretUpIcon, null) : h(CaretDownIcon, null))), (this.expanded || this.showPreview) && (h("div", { key: '1e3ad6fe654c633a4094ea9014ef79d82feae2db', part: "content", class: `bs-accordion__content ${this.showIcon ? '' : 'bs-accordion__content--no-icon'} ${this.expanded ? 'bs-accordion__content--expanded' : 'bs-accordion__content--collapsed'}` }, h("slot", { key: '6a60fd12ed4ec7e3b4ab0e56414e0a90c4f5d889' })))));
116
+ return (h("div", { key: 'b7645b3be5116d906a2aa6e4e680859a9c19323f', part: "container", class: `bs-accordion bs-accordion--${this.size} ${this.disabled ? 'bs-accordion--disabled' : ''}` }, h("button", { key: 'a1c824c54a529b2214dbb47cb93adea5cdadee84', type: "button", part: "header", class: `bs-accordion__header bs-accordion__header--${this.size} ${this.showIcon ? '' : 'bs-accordion__header--no-icon'}`, disabled: this.disabled, "aria-expanded": String(this.expanded), onClick: this.onActivate }, this.showIcon && (h("span", { key: '5d35f4e2c05704a6bef532919301e765f8195aa7', part: "icon", class: `bs-accordion__icon bs-accordion__icon--${this.size}`, "aria-hidden": "true" }, h("slot", { key: '137280692f375379ef43be918094192d6030e2ad', name: "icon" }, h(PlusIcon, { key: '8826de2813774382dcf21e856288ff936eb12425' })))), h("span", { key: '57f370d082a86b7488bf309a114b82077d1f6711', part: "label", class: `bs-accordion__label ${this.showIcon ? '' : 'bs-accordion__label--no-icon'}` }, h("slot", { key: '5563063582ee2e1fb79d02acdc3d0feb5ac07eec', name: "label" })), h("span", { key: '8d8afd4433823aa8122b2ed167fd5ed3c32dc21a', part: "caret", class: `bs-accordion__caret bs-accordion__caret--${this.size} ${this.expanded ? 'bs-accordion__caret--open' : ''}`, "aria-hidden": "true" }, h(CaretDownIcon, { key: '51dfcbdfa5ccff5c3e6a6c2f983fc4d7fb460c18' }))), (this.expanded || this.showPreview || this.closing) && (h("div", { key: '8d62decaf3dc7a98f91eaea1723fc26a8fc520a4', ref: el => (this.contentEl = el), part: "content", class: `bs-accordion__content ${this.showIcon ? '' : 'bs-accordion__content--no-icon'} ${this.expanded ? 'bs-accordion__content--expanded' : 'bs-accordion__content--collapsed'}` }, h("slot", { key: '56493eb5b425134b38ac60f481219a823379626e' })))));
59
117
  }
60
118
  static get is() { return "bs-accordion"; }
61
119
  static get encapsulation() { return "shadow"; }
@@ -179,6 +237,11 @@ export class BsAccordion {
179
237
  }
180
238
  };
181
239
  }
240
+ static get states() {
241
+ return {
242
+ "closing": {}
243
+ };
244
+ }
182
245
  static get events() {
183
246
  return [{
184
247
  "method": "bsToggle",
@@ -197,7 +260,13 @@ export class BsAccordion {
197
260
  }
198
261
  }];
199
262
  }
263
+ static get elementRef() { return "el"; }
264
+ static get watchers() {
265
+ return [{
266
+ "propName": "expanded",
267
+ "methodName": "onExpandedChange"
268
+ }];
269
+ }
200
270
  }
201
271
  const PlusIcon = () => (h("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true" }, h("path", { d: "M12 5V19", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("path", { d: "M5 12H19", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));
202
272
  const CaretDownIcon = () => (h("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true" }, h("path", { d: "M6 9.75L12 15.75L18 9.75", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));
203
- const CaretUpIcon = () => (h("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true" }, h("path", { d: "M6 14.25L12 8.25L18 14.25", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));
@@ -35,7 +35,7 @@ export class BsAccordionGroup {
35
35
  }
36
36
  }
37
37
  render() {
38
- return (h("div", { key: '6424b834f6d3b9a06b4cb227bf97850d7b07df97', part: "group", class: "bs-accordion-group" }, h("slot", { key: '9f1e0a012b0b240542f202f0242b09ca50c977c2' })));
38
+ return (h("div", { key: 'f3c43bbdb41aacc19356b37b736dbbe92dbee8c9', part: "group", class: "bs-accordion-group" }, h("slot", { key: '5ad2f89cd263163bd153473e0bae103655426588' })));
39
39
  }
40
40
  static get is() { return "bs-accordion-group"; }
41
41
  static get encapsulation() { return "shadow"; }
@@ -25,7 +25,7 @@ import { h } from "@stencil/core";
25
25
  export class BsAiDisclaimer {
26
26
  render() {
27
27
  https: //images.unsplash.com/photo-1512917774080-9991f1c4c750?w=200&h=200&fit=crop
28
- return (h("div", { key: '40d8b2e77afc19a9e7ef192e2cff44e6589dd693', class: "bs-ai-disclaimer" }, h("p", { key: 'a9702343421808cdbb6e6d9e3a5c6d66e7b43f8a', part: "text", class: "bs-ai-disclaimer__text" }, h("slot", { key: '62950b55efe5c08769790c095c2ed3a082a36201' }))));
28
+ return (h("div", { key: 'c60fa36f1340f01982c9084dcc24d875df50d33f', class: "bs-ai-disclaimer" }, h("p", { key: '19d76fe258f68e2e0e2a0f7f22a6775c7522cef0', part: "text", class: "bs-ai-disclaimer__text" }, h("slot", { key: '66861e47f7da39e0b1e162d327dedf0d57fcaf2f' }))));
29
29
  }
30
30
  static get is() { return "bs-ai-disclaimer"; }
31
31
  static get encapsulation() { return "shadow"; }
@@ -43,7 +43,7 @@ export class BsAiGreeting {
43
43
  const subtext = this.productName
44
44
  ? `How can I help you with ${this.productName} today?`
45
45
  : 'How can I help you today?';
46
- return (h("div", { key: 'b9a60d4da5d2a8bf7564e405c5c8856ef18db3a0', class: "bs-ai-greeting" }, h("div", { key: 'ef9a401361f1c360f78e7de73027b4572054c88f', part: "heading", class: "bs-ai-greeting__heading" }, h("p", { key: '358ee1dceb08dd256283fa2a413c7d9bfae502ec', class: "bs-ai-greeting__heading-line" }, "Hi. I'm ", this.assistantName, ","), h("p", { key: '752c4c2c7824c75a239f82dc5e6f3075b629d654', class: "bs-ai-greeting__heading-line" }, "your AI assistant.")), h("p", { key: 'b4a78b43e7b0b073b67069e223124e022efe611e', part: "subtext", class: "bs-ai-greeting__subtext" }, subtext)));
46
+ return (h("div", { key: '1044390f82275f2ece3242201178e5fbe3dd0f83', class: "bs-ai-greeting" }, h("div", { key: '338a57a7ed4aae16d0210ad322b3dd14e4ae3c45', part: "heading", class: "bs-ai-greeting__heading" }, h("p", { key: '9aec512708b3ec838992af2e84911331e600def7', class: "bs-ai-greeting__heading-line" }, "Hi. I'm ", this.assistantName, ","), h("p", { key: 'ab23bbb5b65532320cad671818202fc8acebba46', class: "bs-ai-greeting__heading-line" }, "your AI assistant.")), h("p", { key: '1d4b83012beb32bedcf48de15461179e8bd7eca8', part: "subtext", class: "bs-ai-greeting__subtext" }, subtext)));
47
47
  }
48
48
  static get is() { return "bs-ai-greeting"; }
49
49
  static get encapsulation() { return "shadow"; }
@@ -29,7 +29,7 @@ export class BsAiThinking {
29
29
  /** The status text shown next to the icon, e.g. "Retrieving", "Thinking", "Searching". */
30
30
  label = 'Thinking';
31
31
  render() {
32
- return (h("div", { key: '4d30265a3514c027259e7552abc31bbe44b2408c', class: "bs-ai-thinking", role: "status", "aria-live": "polite" }, h("img", { key: 'a46bdd8751c55e9f06dc7ae5ec88a15e65ba0502', part: "icon", class: "bs-ai-thinking__icon", src: GENIE_MARK_ICON, alt: "", "aria-hidden": "true" }), h("span", { key: '970d16be73ab87b7a62efdde4a37a795dfb57b73', part: "label", class: "bs-ai-thinking__label" }, this.label)));
32
+ return (h("div", { key: '86329576f183a586c2cedfcfe6d5ddb76d37ed25', class: "bs-ai-thinking", role: "status", "aria-live": "polite" }, h("img", { key: '5d56adc7f23efb232569765b3cf3529859bd4035', part: "icon", class: "bs-ai-thinking__icon", src: GENIE_MARK_ICON, alt: "", "aria-hidden": "true" }), h("span", { key: 'abd1bb6e0adf31a1ddc74bbbf08d3f0128aa0ae4', part: "label", class: "bs-ai-thinking__label" }, this.label)));
33
33
  }
34
34
  static get is() { return "bs-ai-thinking"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -63,10 +63,10 @@ export class BsAppRecentItem {
63
63
  onClick: this.onClick,
64
64
  };
65
65
  const body = [
66
- h("bs-icon-tile", { key: '40dc2e9a479cc0e8bf897776efbb6c9562e59397', part: "icon", class: "bs-app-recent-item__icon", size: "md" }, this.icon ? h("span", { class: "bs-app-recent-item__glyph", style: { '--bs-app-recent-item-glyph': `url(${JSON.stringify(this.icon)})` } }) : h("slot", null)),
67
- h("span", { key: 'e41fab5b55dd1c678853adbdc759d256d2d7e295', class: "bs-app-recent-item__text" }, h("span", { key: '0592bd9f18ab68d112a49421e34a04a61dbfc75c', part: "name", class: "bs-app-recent-item__name" }, this.name), this.description && (h("span", { key: 'fd6f0cc5b13b4c1fabb537588a22e23312f8d013', part: "description", class: "bs-app-recent-item__description" }, this.description))),
66
+ h("bs-icon-tile", { key: '25195db69c69ce67d0679a08ae8747829ceded31', part: "icon", class: "bs-app-recent-item__icon", size: "md" }, this.icon ? h("span", { class: "bs-app-recent-item__glyph", style: { '--bs-app-recent-item-glyph': `url(${JSON.stringify(this.icon)})` } }) : h("slot", null)),
67
+ h("span", { key: 'ef11e62cab8201965e9d8c0d6f2afbc520b11af8', class: "bs-app-recent-item__text" }, h("span", { key: 'fad916fcc805b11e1659aa6885aa38651c99f1d3', part: "name", class: "bs-app-recent-item__name" }, this.name), this.description && (h("span", { key: 'e4b5d5c3f944b47de6637db714e661ad6df9735f', part: "description", class: "bs-app-recent-item__description" }, this.description))),
68
68
  ];
69
- return (h("button", { key: '251c32943d99ff2580c16df173609b821dd1992d', ...common, type: "button" }, body));
69
+ return (h("button", { key: '8fe690965c53eea77a004123ecdddec7f1172e42', ...common, type: "button" }, body));
70
70
  }
71
71
  static get is() { return "bs-app-recent-item"; }
72
72
  static get encapsulation() { return "shadow"; }
@@ -38,7 +38,7 @@ export class BsAppShell {
38
38
  /** When true the host is `height: 100%`; when false it is content-sized with `min-height: 100vh`. */
39
39
  fullHeight = true;
40
40
  render() {
41
- return (h("div", { key: 'e81aecf9ac19aff77ce4f6024bb48d051a9240a7', class: "bs-app-shell", part: "container" }, h("div", { key: '3bd113852f0db029d2515d9fe88292746e85764f', class: "bs-app-shell__header", part: "header" }, h("slot", { key: 'a538e654c63deb0bc3ad6075fc85ecde683e7587', name: "header" })), h("div", { key: '3b36be978c2db51d44fa807799e96aadc082fb77', class: "bs-app-shell__navigation", part: "navigation" }, h("slot", { key: 'eb74b091c1810fd6f981b3d1b553a17f01d9d3fc', name: "navigation" })), h("main", { key: 'f822e4277e77ec40d66e9ae49cf4bbf812c49ff3', class: "bs-app-shell__main", part: "main" }, h("slot", { key: '5fc343fcbfb1ed1e058ce27ca7be2d518b911927' })), h("div", { key: 'cee504b33b4cb5b4c38d3c4e61da8f31277fb865', class: "bs-app-shell__aside", part: "aside" }, h("slot", { key: '1c7cb896f2b9ef2b7aeccc5ed0b14c9c1317218c', name: "aside" }))));
41
+ return (h("div", { key: 'ff8c3b56c5ef688cc6c0ea56506ff11276e8d3e3', class: "bs-app-shell", part: "container" }, h("div", { key: 'd5774240964b2983194a2159a0a1144a21a6d283', class: "bs-app-shell__header", part: "header" }, h("slot", { key: '277a167b2f8bedde05303de0c40d3eba2ca2d991', name: "header" })), h("div", { key: '239b9188f0d433fead73cbef56adf4c2814481e8', class: "bs-app-shell__navigation", part: "navigation" }, h("slot", { key: '40ae1bad1999bc8d7ab42fd3d42871a5ca6f7e6f', name: "navigation" })), h("main", { key: '4ac23628e313bce91c8ba91b988cef538561d5db', class: "bs-app-shell__main", part: "main" }, h("slot", { key: '33b33785532d89474eaba090fdb4dc46975f0e2b' })), h("div", { key: '5b746ae7fb368233c68cc67f983b34229d5103d1', class: "bs-app-shell__aside", part: "aside" }, h("slot", { key: 'c68ae0b5809ad6ea9e4f02e0bdb9364e0ccc914b', name: "aside" }))));
42
42
  }
43
43
  static get is() { return "bs-app-shell"; }
44
44
  static get encapsulation() { return "shadow"; }
@@ -235,7 +235,7 @@ export class BsAppSwitcher {
235
235
  }
236
236
  render() {
237
237
  const headingId = `${this.id}-heading`;
238
- return (h("bs-card", { key: 'eca37058ac18a9a7faa40caa37aa2291503753c2', part: "panel", class: "bs-app-switcher", surface: "base", role: "region", "aria-labelledby": headingId }, h("div", { key: 'bd0ec6ec6d065d09a6854cd7f93314963d94fcb5', part: "header", class: "bs-app-switcher__header" }, h("h2", { key: '8aa69807c51467c75627e20cad79caad6b42505d', part: "heading", id: headingId, class: "bs-app-switcher__heading" }, this.heading), this.renderLink('manage', 'bs-app-switcher__manage', this.manageHref, this.manageLabel, () => this.bsManage.emit())), h("bs-divider", { key: '1cb1791cf9ab0eb09b772bcb53bb42cf8457c882', decorative: true }), this.renderBody(), h("bs-divider", { key: 'cf069a35387e0c5263f391278b962a464835414b', decorative: true }), h("div", { key: '16764053a5b74e6afb90bf29e27cc76e107c8e4a', part: "footer", class: "bs-app-switcher__footer" }, this.renderLink('browse', 'bs-app-switcher__browse', this.browseHref, this.browseLabel, () => this.bsBrowseAll.emit(), h("svg", { class: "bs-app-switcher__external", ...svgProps }, h("path", { d: "M7 17 17 7M8 7h9v9" })))), h("span", { key: '943b9d2acca5e67fa8ff481bcf381c3bf9842641', class: "bs-app-switcher__live", role: "status" }, this.liveText())));
238
+ return (h("bs-card", { key: '8257b65b618a40aa48c5e4e6ea464cd0e730b822', part: "panel", class: "bs-app-switcher", surface: "base", role: "region", "aria-labelledby": headingId }, h("div", { key: '99756a738b6954a8f6d6b4dae25115d9ba132be2', part: "header", class: "bs-app-switcher__header" }, h("h2", { key: '61ac20db2636acdf82c495e4aa1afaad047e5241', part: "heading", id: headingId, class: "bs-app-switcher__heading" }, this.heading), this.renderLink('manage', 'bs-app-switcher__manage', this.manageHref, this.manageLabel, () => this.bsManage.emit())), h("bs-divider", { key: 'f68ea80899a97f097dd26a4d4ff311a0c958c7a9', decorative: true }), this.renderBody(), h("bs-divider", { key: '05db5ca0047deb646a0b0bf68afec0663e7b132f', decorative: true }), h("div", { key: 'b32e86a8ba520756bce064384502f4ce71ada4ba', part: "footer", class: "bs-app-switcher__footer" }, this.renderLink('browse', 'bs-app-switcher__browse', this.browseHref, this.browseLabel, () => this.bsBrowseAll.emit(), h("svg", { class: "bs-app-switcher__external", ...svgProps }, h("path", { d: "M7 17 17 7M8 7h9v9" })))), h("span", { key: '1de45b23ef4e79e1b7af1f438304260f264e0489', class: "bs-app-switcher__live", role: "status" }, this.liveText())));
239
239
  }
240
240
  static get is() { return "bs-app-switcher"; }
241
241
  static get encapsulation() { return "shadow"; }
@@ -62,10 +62,10 @@ export class BsAppTile {
62
62
  onClick: this.onClick,
63
63
  };
64
64
  const body = [
65
- h("bs-icon-tile", { key: '712e5209c8201201fd6e61ced1f6f53aeebe0a6c', part: "icon", class: "bs-app-tile__icon", size: this.size === 'grid' ? 'lg' : 'md' }, this.icon ? h("span", { class: "bs-app-tile__glyph", style: { '--bs-app-tile-glyph': `url(${JSON.stringify(this.icon)})` } }) : h("slot", null)),
66
- h("span", { key: '65eca3956b52fd13a3d3994f189dbc4a56fdc0ba', part: "label", class: "bs-app-tile__label" }, this.name),
65
+ h("bs-icon-tile", { key: '6404044d9a208e22f557cb71fbfdfc91c78b3b0c', part: "icon", class: "bs-app-tile__icon", size: this.size === 'grid' ? 'lg' : 'md' }, this.icon ? h("span", { class: "bs-app-tile__glyph", style: { '--bs-app-tile-glyph': `url(${JSON.stringify(this.icon)})` } }) : h("slot", null)),
66
+ h("span", { key: '0bb976f0b075ad63f52cd9f07fe541bc826a69cd', part: "label", class: "bs-app-tile__label" }, this.name),
67
67
  ];
68
- return (h("button", { key: 'ff6a0f97191dadd903f8b49bc4090e4665a0b591', ...common, type: "button" }, body));
68
+ return (h("button", { key: 'c6dc2a317c93fd4fa2c39a42d6c194e1345c4720', ...common, type: "button" }, body));
69
69
  }
70
70
  static get is() { return "bs-app-tile"; }
71
71
  static get encapsulation() { return "shadow"; }
@@ -54,7 +54,7 @@ export class BsAttachment {
54
54
  };
55
55
  render() {
56
56
  const isImage = this.type === 'image';
57
- return (h("div", { key: '1b70040e8fc2199fed52e81d97701199ed060900', class: { 'bs-attachment': true, 'bs-attachment--loading': this.loading }, "aria-busy": this.loading ? 'true' : 'false' }, isImage ? this.renderImage() : this.renderCard(), this.removable && (h("bs-icon-button", { key: '7fcb8dcc715c2439ce62219e693fc416025b1359', part: "remove", class: "bs-attachment__remove", size: "xs", variant: "neutral", ariaLabel: `${this.removeLabel}: ${this.fileName}`, onClick: this.onRemoveClick }, h(CloseIcon, { key: 'c9fc3e64c2b1ef2e9ec4c3d5dcb20aebea4950e4' })))));
57
+ return (h("div", { key: '397e7570d4765a1e4dfb410666c0fb0b78c06686', class: { 'bs-attachment': true, 'bs-attachment--loading': this.loading }, "aria-busy": this.loading ? 'true' : 'false' }, isImage ? this.renderImage() : this.renderCard(), this.removable && (h("bs-icon-button", { key: '738b5e3dbf1e2b0856bb20dc5eb3027d1cd87ef5', part: "remove", class: "bs-attachment__remove", size: "xs", variant: "neutral", ariaLabel: `${this.removeLabel}: ${this.fileName}`, onClick: this.onRemoveClick }, h(CloseIcon, { key: 'd21c9d3832f170c5af2d01e2d76b83be3acd3da7' })))));
58
58
  }
59
59
  renderImage() {
60
60
  return (h("div", { part: "thumbnail", class: "bs-attachment__thumbnail" }, h("img", { class: "bs-attachment__image", src: this.imageSrc, alt: this.imageAlt }), this.loading && h(Spinner, { class: "bs-attachment__spinner bs-attachment__spinner--overlay", size: 16, label: this.uploadingLabel })));
@@ -58,7 +58,7 @@ export class BsAttachmentList {
58
58
  this.canScrollRight = row.scrollWidth - row.clientWidth - row.scrollLeft > 1;
59
59
  };
60
60
  render() {
61
- return (h("div", { key: '437edaeda096e7ba3617040279b8eb5c79c6aa33', class: "bs-attachment-list" }, h("div", { key: 'a09ccfec9b8f9fe3d08e0d6a13d190307fe6bf69', part: "row", class: "bs-attachment-list__row", ref: el => (this.row = el), onScroll: this.onScroll, role: "group", "aria-label": this.ariaLabel, tabIndex: 0 }, h("slot", { key: 'c64a44ba2710dac5d8cb3ff80ee519354dfd44af', onSlotchange: this.onSlotchange })), this.canScrollRight && h("div", { key: 'da532064127af89debc42d5c3af870e35aa3fed0', part: "fade", class: "bs-attachment-list__fade", "aria-hidden": "true" })));
61
+ return (h("div", { key: 'c01982051a8914fcaede14e787f362a4f82a317d', class: "bs-attachment-list" }, h("div", { key: '9475c8aa5dec12ed9356f72326bdc4ab215576d5', part: "row", class: "bs-attachment-list__row", ref: el => (this.row = el), onScroll: this.onScroll, role: "group", "aria-label": this.ariaLabel, tabIndex: 0 }, h("slot", { key: '85db80cf4422334d291377e5cc7390f69e014676', onSlotchange: this.onSlotchange })), this.canScrollRight && h("div", { key: 'a8659966ec3fd0a128a9e4b5d40ff7121b919172', part: "fade", class: "bs-attachment-list__fade", "aria-hidden": "true" })));
62
62
  }
63
63
  static get is() { return "bs-attachment-list"; }
64
64
  static get encapsulation() { return "shadow"; }
@@ -17,7 +17,7 @@ export class BsBadge {
17
17
  /** Maps directly to the brandsync-tokens `--bs-badge-bg-*` / `--bs-badge-text-*` sets. */
18
18
  variant = 'default';
19
19
  render() {
20
- return (h("span", { key: '12d18ea63d62468cede43efaddbf1d4a707c31be', part: "container", class: `bs-badge bs-badge--${this.variant}` }, h("slot", { key: '7418716533cf907da4b9cd05a01aaea69e257425' })));
20
+ return (h("span", { key: 'e81df8a115da1e47eec003565f06f7d8f2bce24a', part: "container", class: `bs-badge bs-badge--${this.variant}` }, h("slot", { key: '112b68af29d688640aace037db5f9d786956d264' })));
21
21
  }
22
22
  static get is() { return "bs-badge"; }
23
23
  static get encapsulation() { return "shadow"; }
@@ -59,7 +59,7 @@ export class BsBreadcrumb {
59
59
  ev.preventDefault();
60
60
  };
61
61
  render() {
62
- return (h(Host, { key: '4bab1e3218264a8c97ccb1b9df4d0bf66fe8a4c7', role: "listitem" }, h("span", { key: '1012f764261168bb246e4fef76b1988b70cd290c', part: "separator", class: "bs-breadcrumb__separator", "aria-hidden": "true" }, h(CaretRightIcon, { key: 'b37d81c4bfd0313fb313b862e194ca30950ee839' })), this.current ? (h("span", { part: "current", class: "bs-breadcrumb__current", "aria-current": "page" }, h("slot", null))) : this.href ? (h("a", { part: "link", class: "bs-breadcrumb__link", href: this.href, onClick: this.onLinkClick }, h("slot", null))) : (h("span", { part: "link", class: "bs-breadcrumb__link" }, h("slot", null)))));
62
+ return (h(Host, { key: 'b6d483d8dd99cda45b49bfc488aeec3514e3b234', role: "listitem" }, h("span", { key: '2dd5b9265590a43403f22830d34c1c7c4815927e', part: "separator", class: "bs-breadcrumb__separator", "aria-hidden": "true" }, h(CaretRightIcon, { key: '7178d1170e8fbdde1281514ac6916bf1e7561e7b' })), this.current ? (h("span", { part: "current", class: "bs-breadcrumb__current", "aria-current": "page" }, h("slot", null))) : this.href ? (h("a", { part: "link", class: "bs-breadcrumb__link", href: this.href, onClick: this.onLinkClick }, h("slot", null))) : (h("span", { part: "link", class: "bs-breadcrumb__link" }, h("slot", null)))));
63
63
  }
64
64
  static get is() { return "bs-breadcrumb"; }
65
65
  static get encapsulation() { return "shadow"; }
@@ -88,7 +88,7 @@ export class BsBreadcrumbOverflow {
88
88
  }
89
89
  }
90
90
  render() {
91
- return (h(Host, { key: 'e4c2c1cf0601cff0d084fef4f295ad09ef6c3643', role: "listitem" }, h("span", { key: 'a085ee9e9d41e5836cb60ccada98a357ba2ba264', part: "separator", class: "bs-breadcrumb-overflow__separator", "aria-hidden": "true" }, h(CaretRightIcon, { key: '59685abc8d64a821f812f365c4ebd64ba1450ef6' })), h("span", { key: '357986825b4f2fcb6af583c031ce8190606df118', class: "bs-breadcrumb-overflow__wrapper" }, h("button", { key: '2f10d676681ee442dc66703b8a838b40c8b71a91', type: "button", part: "ellipsis", class: "bs-breadcrumb-overflow__ellipsis", "aria-haspopup": "menu", "aria-expanded": String(this.open), "aria-label": this.overflowLabel, onClick: this.onEllipsisToggle }, h(DotsThreeIcon, { key: '1a74b819b245fb62fb2599acc3ff458eac024e52' })), this.open && this.items.length > 0 && (h("bs-menu", { key: 'c8e57092e8396da8a7d8157eae69022154050075', part: "menu", class: "bs-breadcrumb-overflow__menu" }, this.items.map(item => item.href ? (h("a", { part: "link", class: "bs-breadcrumb-overflow__link", href: item.href, onClick: this.onItemClick(item.href) }, item.label)) : (h("span", { part: "link", class: "bs-breadcrumb-overflow__link" }, item.label))))))));
91
+ return (h(Host, { key: '8b47ed9e6346d813bf2db5a510151027d6f2a523', role: "listitem" }, h("span", { key: '7eb3b681a555c1bf07b16c34c8e7364384ecb3d2', part: "separator", class: "bs-breadcrumb-overflow__separator", "aria-hidden": "true" }, h(CaretRightIcon, { key: '4bd4ced37d1a24b37f507b53b7b6c0fe8f577de7' })), h("span", { key: '03f6ff9300d53bcbddf6d8fb57ed08a85fe9e67b', class: "bs-breadcrumb-overflow__wrapper" }, h("button", { key: '9b0fb0cfc28ccffbfe54dffc8a5612d1c83b27f5', type: "button", part: "ellipsis", class: "bs-breadcrumb-overflow__ellipsis", "aria-haspopup": "menu", "aria-expanded": String(this.open), "aria-label": this.overflowLabel, onClick: this.onEllipsisToggle }, h(DotsThreeIcon, { key: '932b86a682c495b1acc47cd703294c5b2dbf3c03' })), this.open && this.items.length > 0 && (h("bs-menu", { key: '809bbfe99843c3e531ee2e620a5adca4c66360d9', part: "menu", class: "bs-breadcrumb-overflow__menu" }, this.items.map(item => item.href ? (h("a", { part: "link", class: "bs-breadcrumb-overflow__link", href: item.href, onClick: this.onItemClick(item.href) }, item.label)) : (h("span", { part: "link", class: "bs-breadcrumb-overflow__link" }, item.label))))))));
92
92
  }
93
93
  static get is() { return "bs-breadcrumb-overflow"; }
94
94
  static get encapsulation() { return "shadow"; }
@@ -54,7 +54,7 @@ export class BsBreadcrumbs {
54
54
  });
55
55
  }
56
56
  render() {
57
- return (h("nav", { key: '8e8c96763ed36fcbf87fcd8fa348c294cad89096', "aria-label": this.label }, h("ol", { key: 'aae3d390d6ddc68fba3e2ef96bfb57160715fc95', part: "list", class: "bs-breadcrumbs__list" }, h("slot", { key: '2edfd750dcb70d9fd9bec01ac42ad52c79dc3a34', onSlotchange: this.onSlotChange }))));
57
+ return (h("nav", { key: '6df966694de1f681033e8705c536c983faa1155c', "aria-label": this.label }, h("ol", { key: '61d5e7cf39bbee670f49bbc8340df75057919431', part: "list", class: "bs-breadcrumbs__list" }, h("slot", { key: '12ac9fccdb05ecf029e8eeaaa98065272945341b', onSlotchange: this.onSlotChange }))));
58
58
  }
59
59
  static get is() { return "bs-breadcrumbs"; }
60
60
  static get encapsulation() { return "shadow"; }
@@ -133,3 +133,15 @@ describe('bs-button', () => {
133
133
  });
134
134
  });
135
135
  });
136
+ describe('bs-button ripple', () => {
137
+ it('contains a bs-ripple, centered only when icon-only', async () => {
138
+ const { root } = await render(h("bs-button", null, "Save"));
139
+ const ripple = root.shadowRoot.querySelector('bs-ripple');
140
+ expect(ripple).not.toBeNull();
141
+ expect(ripple.centered).toBe(false);
142
+ });
143
+ it('passes disabled through to the ripple', async () => {
144
+ const { root } = await render(h("bs-button", { disabled: true }, "Save"));
145
+ expect(root.shadowRoot.querySelector('bs-ripple').disabled).toBe(true);
146
+ });
147
+ });
@@ -79,6 +79,8 @@
79
79
  Every variant's label actually uses the regular weight. */
80
80
  font-weight: var(--bs-font-weight-regular);
81
81
  cursor: pointer;
82
+ /* Containing block for the absolutely-positioned bs-ripple layer. */
83
+ position: relative;
82
84
  transition: background-color var(--bs-duration-fast, 120ms) var(--bs-easing-standard, ease);
83
85
  }
84
86
 
@@ -18,8 +18,11 @@ import { h } from "@stencil/core";
18
18
  * it for actions that actually delete/revoke/undo something.
19
19
  *
20
20
  * @slot - Default slot: the button's label content.
21
+ * Built from: `bs-ripple` (press feedback).
22
+ *
21
23
  * @slot icon - Optional leading icon, rendered before the label.
22
24
  * @slot end-icon - Optional trailing icon, rendered after the label.
25
+ * @part ripple - The press-ripple layer (a `bs-ripple`). Tune it with `bs-button::part(ripple) { --bs-ripple-color: ...; }` (also `--bs-ripple-opacity`, `--bs-ripple-duration`).
23
26
  * @part icon - The icon wrapper element.
24
27
  * @part label - The text label element.
25
28
  * @part end-icon - The trailing icon wrapper element.
@@ -119,7 +122,7 @@ export class BsButton {
119
122
  };
120
123
  render() {
121
124
  const iconOnly = (this.hasIcon || this.hasEndIcon) && !this.hasLabel;
122
- return (h("button", { key: 'd9339f3df9872d414b8252dd6dbccb897ffd3bdb', class: `bs-button bs-button--${this.variant} bs-button--${this.size} ${iconOnly ? 'bs-button--icon-only' : ''} ${this.hasIcon && !iconOnly ? 'bs-button--has-icon' : ''} ${this.hasEndIcon && !iconOnly ? 'bs-button--has-end-icon' : ''}`, type: this.type, disabled: this.disabled, "aria-label": this.ariaLabel, onClick: this.onClick }, h("span", { key: '4744ade682f1bc2e18a63a598aa4cfc3f6b5d028', part: "icon", class: `bs-button__icon ${this.hasIcon ? 'bs-button__icon--visible' : ''}` }, h("slot", { key: '9cddc004d35fdf9c621691138388f1ecb3b401e0', name: "icon", onSlotchange: this.onIconSlotchange })), h("span", { key: '71ae5f7a5f8ff9b311bf69f0da7d449430d026a3', part: "label", class: "bs-button__label" }, h("slot", { key: 'bf0ab3a00d3584ba29c30a1b9e5efc64e53f9df5', onSlotchange: this.onLabelSlotchange })), h("span", { key: '1b6fc4b65cc067d75aaaf2022b9053a48d19aa83', part: "end-icon", class: `bs-button__end-icon ${this.hasEndIcon ? 'bs-button__end-icon--visible' : ''}` }, h("slot", { key: '5a3fc614a61fb7f2dbc595b6ab8e15a26028ea75', name: "end-icon", onSlotchange: this.onEndIconSlotchange }))));
125
+ return (h("button", { key: '498371cb1db28a17e668275a5e3dab6a093ce932', class: `bs-button bs-button--${this.variant} bs-button--${this.size} ${iconOnly ? 'bs-button--icon-only' : ''} ${this.hasIcon && !iconOnly ? 'bs-button--has-icon' : ''} ${this.hasEndIcon && !iconOnly ? 'bs-button--has-end-icon' : ''}`, type: this.type, disabled: this.disabled, "aria-label": this.ariaLabel, onClick: this.onClick }, h("bs-ripple", { key: '1d985ad61540f85cc47332f876eda6efcef5b87a', part: "ripple", centered: iconOnly, disabled: this.disabled }), h("span", { key: 'fbf28591ab62369e0a1a7b32da670cd350aee122', part: "icon", class: `bs-button__icon ${this.hasIcon ? 'bs-button__icon--visible' : ''}` }, h("slot", { key: '294540047c366c6f8576c8123f64f55c712d6335', name: "icon", onSlotchange: this.onIconSlotchange })), h("span", { key: '8536c25dab900331235dba703350ff57fd7c8ff6', part: "label", class: "bs-button__label" }, h("slot", { key: '59cdb689925c55ec90c34a016e586f5be95f38e4', onSlotchange: this.onLabelSlotchange })), h("span", { key: '0976f3628408ccccec017b8e09b5a41016f0b516', part: "end-icon", class: `bs-button__end-icon ${this.hasEndIcon ? 'bs-button__end-icon--visible' : ''}` }, h("slot", { key: '40a1f6d3faf5f4ae39e9da0aa0027207afe3e7a1', name: "end-icon", onSlotchange: this.onEndIconSlotchange }))));
123
126
  }
124
127
  static get is() { return "bs-button"; }
125
128
  static get encapsulation() { return "shadow"; }
@@ -132,6 +132,8 @@
132
132
  }
133
133
 
134
134
  .bs-icon-button {
135
+ /* Containing block for the absolutely-positioned bs-ripple layer. */
136
+ position: relative;
135
137
  display: inline-flex;
136
138
  align-items: center;
137
139
  justify-content: center;
@@ -23,6 +23,7 @@ import { h } from "@stencil/core";
23
23
  * @slot - Default slot: the icon content. Exactly one icon, no label -- an inline SVG, or an icon-font
24
24
  * glyph (sized by `font-size`, which this component sets from the `size` prop).
25
25
  * @part icon - The icon wrapper element.
26
+ * @part ripple - The press-ripple layer (a `bs-ripple`). Tune it with `::part(ripple) { --bs-ripple-color: ...; }`.
26
27
  */
27
28
  // Note: this component's CSS Custom Properties (--bs-icon-button-*) are documented via @prop
28
29
  // comments in bs-icon-button.css, not here -- Stencil's docs generator only parses @prop out of
@@ -69,7 +70,7 @@ export class BsIconButton {
69
70
  form.reset();
70
71
  };
71
72
  render() {
72
- return (h("button", { key: 'e04c7785712f0f9a2bfaa0efd51712d7c6ca805e', class: `bs-icon-button bs-icon-button--${this.variant} bs-icon-button--${this.size}`, type: this.type, disabled: this.disabled, "aria-label": this.ariaLabel, "aria-pressed": this.pressed === undefined ? undefined : String(this.pressed), onClick: this.onClick }, h("span", { key: '2b9cfb3af8b3914ee88a3244c3d1f102cbae7082', part: "icon", class: "bs-icon-button__icon" }, h("slot", { key: 'b561552aece8e0f8ae83dd6619295e5c9477aa89' }))));
73
+ return (h("button", { key: '6ffeb6535c6c1fb493f6c805a1f70a431a593d08', class: `bs-icon-button bs-icon-button--${this.variant} bs-icon-button--${this.size}`, type: this.type, disabled: this.disabled, "aria-label": this.ariaLabel, "aria-pressed": this.pressed === undefined ? undefined : String(this.pressed), onClick: this.onClick }, h("bs-ripple", { key: '0f3f40ca57f447a5d92b3f0ef132c146ef25675d', part: "ripple", centered: true, disabled: this.disabled }), h("span", { key: '00c1039364372917781441fca63553a430b9398a', part: "icon", class: "bs-icon-button__icon" }, h("slot", { key: '18ba74587ec975b3f95115c211bcef1d4bac6ae5' }))));
73
74
  }
74
75
  static get is() { return "bs-icon-button"; }
75
76
  static get encapsulation() { return "shadow"; }
@@ -27,7 +27,7 @@ export class BsButtonSkeleton {
27
27
  /** Accessible name announced for the loading placeholder. */
28
28
  loadingLabel = 'Loading';
29
29
  render() {
30
- return h("span", { key: 'ba65829a03b8c34ec0f42b157626e5869978d3bf', part: "container", class: `bs-button-skeleton bs-button-skeleton--${this.size}`, role: "status", "aria-label": this.loadingLabel });
30
+ return h("span", { key: 'c29256165abc3f5de50cf1f087f0ad161e33bb76', part: "container", class: `bs-button-skeleton bs-button-skeleton--${this.size}`, role: "status", "aria-label": this.loadingLabel });
31
31
  }
32
32
  static get is() { return "bs-button-skeleton"; }
33
33
  static get encapsulation() { return "shadow"; }
@@ -34,7 +34,7 @@ export class BsCard {
34
34
  this.hasImage = ev.target.assignedNodes().length > 0;
35
35
  };
36
36
  render() {
37
- return (h("div", { key: 'be681abe6454f6f0ef03ec8ef05f2ef7e036b2fb', part: "container", class: `bs-card bs-card--${this.surface}` }, h("div", { key: '94fcc1a41307d29cd6e3d1c0db68e4ad56f76e66', part: "image", class: `bs-card__image ${this.hasImage ? 'bs-card__image--visible' : ''}` }, h("slot", { key: 'fa2441f597664fcfb1920f7f6b6d81cebb33c3cf', name: "image", onSlotchange: this.onImageSlotchange })), h("div", { key: 'f45578aeab67c531e3f1066788b646464e4ee5a3', class: "bs-card__content" }, h("div", { key: '44bc9e76ebb151099736e73fac2eea1e5baba014', part: "header", class: "bs-card__header" }, h("slot", { key: '58f766725dd1bd81aa4a5f5fa1da2626fd705582', name: "header" })), h("div", { key: '8ee2df46d6a643e0f7d13ec875a363b4ef714b00', part: "body", class: "bs-card__body" }, h("slot", { key: '8c47ca1e2acffbc952cf15a0518c3ca2d640fe58' })), h("div", { key: 'de5856f9b0a72cd42345320fbdd2a290640039d7', part: "footer", class: "bs-card__footer" }, h("slot", { key: '982cee8e6fb70228faf2cd7a55312ef690bd23a2', name: "footer" })))));
37
+ return (h("div", { key: '5badbcc0d29f07bf53520091e1e8fe8d8187dd18', part: "container", class: `bs-card bs-card--${this.surface}` }, h("div", { key: '2c69c0795db112c2dc52289a47b76d60662ef693', part: "image", class: `bs-card__image ${this.hasImage ? 'bs-card__image--visible' : ''}` }, h("slot", { key: '3aa0debc45e28c88b05103a494ee52f047305d9d', name: "image", onSlotchange: this.onImageSlotchange })), h("div", { key: '6fbe78e872b7aa7e166907a4173edd813f8fd73b', class: "bs-card__content" }, h("div", { key: '19df2524b50471bbb56e95b445643a4bfddd0c12', part: "header", class: "bs-card__header" }, h("slot", { key: 'bd4c9b53ccc07b7a95f6aee28b2a95a0ab8b137e', name: "header" })), h("div", { key: 'c5351e535d77c007806554ae3580b1b0b0bafd9d', part: "body", class: "bs-card__body" }, h("slot", { key: '323ac4df7355ce44383137ad754c650ff515ef28' })), h("div", { key: 'ac3e228d13303ffcaab2a4879a202db28e2c3a6a', part: "footer", class: "bs-card__footer" }, h("slot", { key: 'a2afbae842ef598422853a0628bb9f14dee34c6a', name: "footer" })))));
38
38
  }
39
39
  static get is() { return "bs-card"; }
40
40
  static get encapsulation() { return "shadow"; }
@@ -1,8 +1,10 @@
1
1
  import { render, h, describe, it, expect } from "@stencil/vitest";
2
2
  import { afterEach, beforeEach, vi } from "vitest";
3
3
  import { userEvent } from "vitest/browser";
4
- import { assertShadowParts, runAxeCheck } from "../../test/helpers/conventions";
4
+ import { assertCssCustomProperties, assertShadowParts, runAxeCheck } from "../../test/helpers/conventions";
5
5
  const slides = (n) => Array.from({ length: n }, (_, i) => h("div", null, "Slide ", i + 1));
6
+ // Page changes play a short exit-then-enter motion (default 300ms); the new page is on screen after it.
7
+ const settled = () => new Promise(resolve => setTimeout(resolve, 450));
6
8
  const visible = (root) => Array.from(root.children).filter(c => !c.hidden).map(c => c.textContent);
7
9
  // Autoplay deliberately holds while the pointer is over the carousel (WCAG pause-on-hover). The test
8
10
  // browser keeps ONE pointer for the whole run, so an earlier test that hovered something near the top
@@ -88,6 +90,7 @@ describe('bs-carousel', () => {
88
90
  expect(prev.disabled).toBe(true);
89
91
  btn(next).click();
90
92
  await waitForChanges();
93
+ await settled();
91
94
  expect(visible(root)).toEqual(['Slide 4', 'Slide 5', 'Slide 6']);
92
95
  expect(root.currentPage).toBe(2);
93
96
  expect(spy).toHaveReceivedEventDetail(2);
@@ -108,6 +111,7 @@ describe('bs-carousel', () => {
108
111
  pagination.shadowRoot.querySelectorAll('.bs-pagination__page')[2].click();
109
112
  await waitForChanges();
110
113
  expect(root.currentPage).toBe(3);
114
+ await settled();
111
115
  expect(visible(root)).toEqual(['Slide 7', 'Slide 8', 'Slide 9']);
112
116
  expect(spy).toHaveReceivedEventTimes(1);
113
117
  expect(spy).toHaveReceivedEventDetail(3);
@@ -195,4 +199,38 @@ describe('bs-carousel', () => {
195
199
  expect(root.currentPage).toBe(1);
196
200
  });
197
201
  });
202
+ describe('page change motion', () => {
203
+ const wait = (ms) => new Promise(resolve => setTimeout(resolve, ms));
204
+ it('keeps the old page up while it animates out, then shows the new page', async () => {
205
+ const { root, waitForChanges } = await render(h("bs-carousel", { style: { '--bs-carousel-duration': '200ms' } }, slides(6)));
206
+ const before = visible(root);
207
+ root.currentPage = 2;
208
+ await waitForChanges();
209
+ expect(visible(root)).toEqual(before);
210
+ await wait(400);
211
+ await waitForChanges();
212
+ expect(visible(root)).not.toEqual(before);
213
+ expect(root.currentPage).toBe(2);
214
+ });
215
+ it('switches immediately when the duration is 0ms', async () => {
216
+ const { root, waitForChanges } = await render(h("bs-carousel", { style: { '--bs-carousel-duration': '0ms' } }, slides(6)));
217
+ const before = visible(root);
218
+ root.currentPage = 2;
219
+ await waitForChanges();
220
+ expect(visible(root)).not.toEqual(before);
221
+ });
222
+ it('snaps to the latest page when changed again mid-motion', async () => {
223
+ const { root, waitForChanges } = await render(h("bs-carousel", { style: { '--bs-carousel-duration': '400ms' } }, slides(9)));
224
+ root.currentPage = 2;
225
+ await waitForChanges();
226
+ root.currentPage = 3;
227
+ await waitForChanges();
228
+ await wait(100);
229
+ expect(visible(root)).toEqual(['Slide 7', 'Slide 8', 'Slide 9']);
230
+ });
231
+ it('exposes its motion custom properties', async () => {
232
+ const { root } = await render(h("bs-carousel", null, slides(6)));
233
+ assertCssCustomProperties(root, ['--bs-carousel-duration', '--bs-carousel-easing', '--bs-carousel-slide-distance']);
234
+ });
235
+ });
198
236
  });
@@ -7,6 +7,9 @@
7
7
  * @prop --bs-carousel-dot-color: Fill of an inactive dot. Aliased to --bs-surface-container.
8
8
  * @prop --bs-carousel-dot-active-color: Fill of the active dot. Aliased to --bs-color-primary-default.
9
9
  * @prop --bs-carousel-dots-gap: Gap between dots. Aliased to --bs-spacing-50.
10
+ * @prop --bs-carousel-duration: Length of a page change (slides out, then in; the dots use the same length). Aliased to --bs-duration-slow.
11
+ * @prop --bs-carousel-easing: Curve of a page change. Aliased to --bs-easing-standard.
12
+ * @prop --bs-carousel-slide-distance: How far the slides travel while they fade. Aliased to --bs-spacing-400.
10
13
  */
11
14
  :host {
12
15
  display: block;
@@ -20,6 +23,9 @@
20
23
  --bs-carousel-dot-color: var(--bs-surface-container);
21
24
  --bs-carousel-dot-active-color: var(--bs-color-primary-default);
22
25
  --bs-carousel-dots-gap: var(--bs-spacing-50);
26
+ --bs-carousel-duration: var(--bs-duration-slow);
27
+ --bs-carousel-easing: var(--bs-easing-standard);
28
+ --bs-carousel-slide-distance: var(--bs-spacing-400);
23
29
  }
24
30
 
25
31
  .bs-carousel {
@@ -77,6 +83,9 @@
77
83
  height: var(--bs-carousel-dot-size);
78
84
  border-radius: var(--bs-carousel-dot-radius);
79
85
  background: var(--bs-carousel-dot-color);
86
+ transition:
87
+ width var(--bs-carousel-duration) var(--bs-carousel-easing),
88
+ background-color var(--bs-carousel-duration) var(--bs-carousel-easing);
80
89
  }
81
90
 
82
91
  .bs-carousel__dot--active {