@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
@@ -0,0 +1,80 @@
1
+ :host {
2
+ display: block;
3
+ --bs-presence-duration: var(--bs-duration-default);
4
+ --bs-presence-easing: var(--bs-easing-standard);
5
+ --bs-presence-distance: var(--bs-spacing-400);
6
+ /* No brandsync token for a unitless scale factor. 0.96 is visible in the playground
7
+ without the content jumping. */
8
+ --bs-presence-scale: 0.96;
9
+ }
10
+
11
+ :host([duration='instant']) {
12
+ --bs-presence-duration: var(--bs-duration-instant);
13
+ }
14
+ :host([duration='fast']) {
15
+ --bs-presence-duration: var(--bs-duration-fast);
16
+ }
17
+ :host([duration='default']) {
18
+ --bs-presence-duration: var(--bs-duration-default);
19
+ }
20
+ :host([duration='slow']) {
21
+ --bs-presence-duration: var(--bs-duration-slow);
22
+ }
23
+ :host([duration='slower']) {
24
+ --bs-presence-duration: var(--bs-duration-slower);
25
+ }
26
+
27
+ :host([easing='standard']) {
28
+ --bs-presence-easing: var(--bs-easing-standard);
29
+ }
30
+ :host([easing='decelerate']) {
31
+ --bs-presence-easing: var(--bs-easing-decelerate);
32
+ }
33
+ :host([easing='accelerate']) {
34
+ --bs-presence-easing: var(--bs-easing-accelerate);
35
+ }
36
+ :host([easing='linear']) {
37
+ --bs-presence-easing: var(--bs-easing-linear);
38
+ }
39
+
40
+ @media (prefers-reduced-motion: reduce) {
41
+ :host {
42
+ --bs-presence-duration: var(--bs-duration-instant);
43
+ }
44
+ }
45
+
46
+ .bs-presence {
47
+ display: grid;
48
+ grid-template-rows: 1fr;
49
+ }
50
+
51
+ .bs-presence--closed.bs-presence--collapse {
52
+ grid-template-rows: 0fr;
53
+ }
54
+
55
+ .bs-presence--collapse .bs-presence__clip {
56
+ overflow: hidden;
57
+ }
58
+
59
+ .bs-presence__clip {
60
+ min-height: 0;
61
+ opacity: 1;
62
+ transform: none;
63
+ }
64
+
65
+ .bs-presence--closed .bs-presence__clip {
66
+ opacity: 0;
67
+ pointer-events: none;
68
+ }
69
+
70
+ .bs-presence--slide-up.bs-presence--closed .bs-presence__clip {
71
+ transform: translateY(var(--bs-presence-distance));
72
+ }
73
+
74
+ .bs-presence--slide-down.bs-presence--closed .bs-presence__clip {
75
+ transform: translateY(calc(var(--bs-presence-distance) * -1));
76
+ }
77
+
78
+ .bs-presence--scale.bs-presence--closed .bs-presence__clip {
79
+ transform: scale(var(--bs-presence-scale));
80
+ }
@@ -0,0 +1,233 @@
1
+ import { Host, h } from "@stencil/core";
2
+ const PRESETS = ['fade', 'slide-up', 'slide-down', 'scale', 'collapse'];
3
+ /**
4
+ * Shows and hides slotted content with a short enter/exit transition.
5
+ *
6
+ * The motion uses the shared duration and easing tokens (`--bs-duration-*`, `--bs-easing-*`).
7
+ * Under `prefers-reduced-motion: reduce` those durations are already `0ms`, and this component
8
+ * forces `--bs-presence-duration` to `--bs-duration-instant` as well, so the content snaps
9
+ * instead of moving.
10
+ *
11
+ * ## When to use
12
+ * - Revealing a block that does not have its own enter/exit (a card, a form section, a panel).
13
+ * - Comparing duration and easing tokens while designing a screen.
14
+ *
15
+ * ## When not to use
16
+ * - Loading placeholders (`bs-skeleton`), spinners (`bs-spinner`), or progress.
17
+ * - Dialog, snackbar, toast, and command palette — those components own their motion.
18
+ *
19
+ * @slot - The content to show and hide.
20
+ * @part content - The element that transitions. Style it with `::part(content)`.
21
+ * @prop --bs-presence-duration - Transition length. Set from the `duration` prop to a `--bs-duration-*` token.
22
+ * @prop --bs-presence-easing - Transition curve. Set from the `easing` prop to a `--bs-easing-*` token.
23
+ * @prop --bs-presence-distance - Travel distance for `slide-up` and `slide-down`. Aliased to `--bs-spacing-400`.
24
+ * @prop --bs-presence-scale - Closed scale for `scale`. No unitless scale token exists, so the default is `0.96`.
25
+ */
26
+ export class BsPresence {
27
+ el;
28
+ /** When true, the slotted content is shown. Flipping this plays the exit or enter transition. */
29
+ active = false;
30
+ /** Which transition to play. */
31
+ preset = 'fade';
32
+ /** Length of the transition, mapped to a `--bs-duration-*` token. */
33
+ duration = 'default';
34
+ /** Curve of the transition, mapped to a `--bs-easing-*` token. */
35
+ easing = 'standard';
36
+ /** Fires once when the transition to the new `active` state finishes. Payload is that state. */
37
+ bsTransitionEnd;
38
+ clip;
39
+ shell;
40
+ /**
41
+ * CSS class changes inside this shadow root will play the exit and then not the entrance
42
+ * (Chromium drops the reverse transition). The Web Animations API plays both directions.
43
+ * A 0ms duration — including `prefers-reduced-motion` — snaps and emits here.
44
+ */
45
+ onActiveChange(active) {
46
+ const clip = this.clip;
47
+ const shell = this.shell;
48
+ clip?.getAnimations().forEach(animation => animation.cancel());
49
+ shell?.getAnimations().forEach(animation => animation.cancel());
50
+ const ms = this.motionDuration();
51
+ if (!clip || ms === 0) {
52
+ this.bsTransitionEnd.emit(active);
53
+ return;
54
+ }
55
+ const style = getComputedStyle(this.el);
56
+ const easing = style.getPropertyValue('--bs-presence-easing').trim() || 'ease';
57
+ const distance = style.getPropertyValue('--bs-presence-distance').trim() || '0px';
58
+ const scale = style.getPropertyValue('--bs-presence-scale').trim() || '1';
59
+ const preset = PRESETS.includes(this.preset) ? this.preset : 'fade';
60
+ const hidden = preset === 'slide-up'
61
+ ? `translateY(${distance})`
62
+ : preset === 'slide-down'
63
+ ? `translateY(calc(${distance} * -1))`
64
+ : preset === 'scale'
65
+ ? `scale(${scale})`
66
+ : 'none';
67
+ const shown = { opacity: 1, transform: 'none' };
68
+ const concealed = { opacity: 0, transform: hidden };
69
+ const animation = clip.animate(active ? [concealed, shown] : [shown, concealed], { duration: ms, easing, fill: 'both' });
70
+ if (preset === 'collapse' && shell) {
71
+ shell.animate(active
72
+ ? [{ gridTemplateRows: '0fr' }, { gridTemplateRows: '1fr' }]
73
+ : [{ gridTemplateRows: '1fr' }, { gridTemplateRows: '0fr' }], { duration: ms, easing, fill: 'both' });
74
+ }
75
+ animation.onfinish = () => {
76
+ animation.cancel();
77
+ shell?.getAnimations().forEach(running => running.cancel());
78
+ if (this.active === active)
79
+ this.bsTransitionEnd.emit(active);
80
+ };
81
+ }
82
+ motionDuration() {
83
+ const value = getComputedStyle(this.el).getPropertyValue('--bs-presence-duration').trim();
84
+ if (value.endsWith('ms'))
85
+ return parseFloat(value);
86
+ if (value.endsWith('s'))
87
+ return parseFloat(value) * 1000;
88
+ return 0;
89
+ }
90
+ render() {
91
+ const preset = PRESETS.includes(this.preset) ? this.preset : 'fade';
92
+ return (h(Host, { key: '2defd735d80a2efdccffd600c23f1db31ef5914d', inert: this.active ? undefined : true, "aria-hidden": this.active ? null : 'true' }, h("div", { key: 'bebdec566c415bcb0baa196c3f74b04adc80dfb4', part: "content", class: `bs-presence bs-presence--${preset}${this.active ? '' : ' bs-presence--closed'}`, ref: el => (this.shell = el) }, h("div", { key: 'fac80d18429fe4aa2b00533ede5b7ae228cf142e', class: "bs-presence__clip", ref: el => (this.clip = el) }, h("slot", { key: '86fc247c13f2c64c365f8c8f9d959af6befaa89a' })))));
93
+ }
94
+ static get is() { return "bs-presence"; }
95
+ static get encapsulation() { return "shadow"; }
96
+ static get originalStyleUrls() {
97
+ return {
98
+ "$": ["bs-presence.css"]
99
+ };
100
+ }
101
+ static get styleUrls() {
102
+ return {
103
+ "$": ["bs-presence.css"]
104
+ };
105
+ }
106
+ static get properties() {
107
+ return {
108
+ "active": {
109
+ "type": "boolean",
110
+ "mutable": false,
111
+ "complexType": {
112
+ "original": "boolean",
113
+ "resolved": "boolean",
114
+ "references": {}
115
+ },
116
+ "required": false,
117
+ "optional": false,
118
+ "docs": {
119
+ "tags": [],
120
+ "text": "When true, the slotted content is shown. Flipping this plays the exit or enter transition."
121
+ },
122
+ "getter": false,
123
+ "setter": false,
124
+ "reflect": true,
125
+ "attribute": "active",
126
+ "defaultValue": "false"
127
+ },
128
+ "preset": {
129
+ "type": "string",
130
+ "mutable": false,
131
+ "complexType": {
132
+ "original": "BsPresencePreset",
133
+ "resolved": "\"collapse\" | \"fade\" | \"scale\" | \"slide-down\" | \"slide-up\"",
134
+ "references": {
135
+ "BsPresencePreset": {
136
+ "location": "local",
137
+ "path": "/home/runner/work/eg-brandsync-storybook/eg-brandsync-storybook/packages/wc/src/components/bs-presence/bs-presence.tsx",
138
+ "id": "src/components/bs-presence/bs-presence.tsx::BsPresencePreset"
139
+ }
140
+ }
141
+ },
142
+ "required": false,
143
+ "optional": false,
144
+ "docs": {
145
+ "tags": [],
146
+ "text": "Which transition to play."
147
+ },
148
+ "getter": false,
149
+ "setter": false,
150
+ "reflect": true,
151
+ "attribute": "preset",
152
+ "defaultValue": "'fade'"
153
+ },
154
+ "duration": {
155
+ "type": "string",
156
+ "mutable": false,
157
+ "complexType": {
158
+ "original": "BsPresenceDuration",
159
+ "resolved": "\"default\" | \"fast\" | \"instant\" | \"slow\" | \"slower\"",
160
+ "references": {
161
+ "BsPresenceDuration": {
162
+ "location": "local",
163
+ "path": "/home/runner/work/eg-brandsync-storybook/eg-brandsync-storybook/packages/wc/src/components/bs-presence/bs-presence.tsx",
164
+ "id": "src/components/bs-presence/bs-presence.tsx::BsPresenceDuration"
165
+ }
166
+ }
167
+ },
168
+ "required": false,
169
+ "optional": false,
170
+ "docs": {
171
+ "tags": [],
172
+ "text": "Length of the transition, mapped to a `--bs-duration-*` token."
173
+ },
174
+ "getter": false,
175
+ "setter": false,
176
+ "reflect": true,
177
+ "attribute": "duration",
178
+ "defaultValue": "'default'"
179
+ },
180
+ "easing": {
181
+ "type": "string",
182
+ "mutable": false,
183
+ "complexType": {
184
+ "original": "BsPresenceEasing",
185
+ "resolved": "\"accelerate\" | \"decelerate\" | \"linear\" | \"standard\"",
186
+ "references": {
187
+ "BsPresenceEasing": {
188
+ "location": "local",
189
+ "path": "/home/runner/work/eg-brandsync-storybook/eg-brandsync-storybook/packages/wc/src/components/bs-presence/bs-presence.tsx",
190
+ "id": "src/components/bs-presence/bs-presence.tsx::BsPresenceEasing"
191
+ }
192
+ }
193
+ },
194
+ "required": false,
195
+ "optional": false,
196
+ "docs": {
197
+ "tags": [],
198
+ "text": "Curve of the transition, mapped to a `--bs-easing-*` token."
199
+ },
200
+ "getter": false,
201
+ "setter": false,
202
+ "reflect": true,
203
+ "attribute": "easing",
204
+ "defaultValue": "'standard'"
205
+ }
206
+ };
207
+ }
208
+ static get events() {
209
+ return [{
210
+ "method": "bsTransitionEnd",
211
+ "name": "bsTransitionEnd",
212
+ "bubbles": true,
213
+ "cancelable": true,
214
+ "composed": true,
215
+ "docs": {
216
+ "tags": [],
217
+ "text": "Fires once when the transition to the new `active` state finishes. Payload is that state."
218
+ },
219
+ "complexType": {
220
+ "original": "boolean",
221
+ "resolved": "boolean",
222
+ "references": {}
223
+ }
224
+ }];
225
+ }
226
+ static get elementRef() { return "el"; }
227
+ static get watchers() {
228
+ return [{
229
+ "propName": "active",
230
+ "methodName": "onActiveChange"
231
+ }];
232
+ }
233
+ }
@@ -0,0 +1,101 @@
1
+ import { html } from "lit";
2
+ import { componentDescription, propDescription } from "../../stories-utils";
3
+ const presets = ['fade', 'slide-up', 'slide-down', 'scale', 'collapse'];
4
+ const durations = ['instant', 'fast', 'default', 'slow', 'slower'];
5
+ const easings = ['standard', 'decelerate', 'accelerate', 'linear'];
6
+ const card = html `
7
+ <bs-card style="width: 320px">
8
+ <span slot="header">Booking summary</span>
9
+ Room 214 · 2 nights
10
+ </bs-card>
11
+ `;
12
+ const motionMs = (el) => {
13
+ const value = getComputedStyle(el).getPropertyValue('--bs-presence-duration').trim();
14
+ if (value.endsWith('ms'))
15
+ return parseFloat(value);
16
+ if (value.endsWith('s'))
17
+ return parseFloat(value) * 1000;
18
+ return 0;
19
+ };
20
+ // Hide, wait out the exit, then show again. Flipping `active` in one frame never paints the
21
+ // hidden state, so the enter transition has nothing to animate from.
22
+ const replay = (event) => {
23
+ const demo = event.currentTarget.closest('[data-presence-demo]');
24
+ const nodes = Array.from(demo?.querySelectorAll('bs-presence') ?? []);
25
+ nodes.forEach(el => {
26
+ el.active = false;
27
+ });
28
+ const wait = Math.max(0, ...nodes.map(motionMs)) + 40;
29
+ window.setTimeout(() => {
30
+ nodes.forEach(el => {
31
+ el.active = true;
32
+ });
33
+ }, wait);
34
+ };
35
+ const demo = (body) => html `
36
+ <div data-presence-demo>
37
+ <bs-stack gap="300">
38
+ <bs-button @click=${replay}>Replay</bs-button>
39
+ ${body}
40
+ </bs-stack>
41
+ </div>
42
+ `;
43
+ const meta = {
44
+ title: 'Motion/bs-presence',
45
+ parameters: { docs: { description: { component: componentDescription('bs-presence') } } },
46
+ render: args => demo(html `
47
+ <bs-presence
48
+ ?active=${args.active}
49
+ preset=${args.preset}
50
+ duration=${args.duration}
51
+ easing=${args.easing}
52
+ >
53
+ ${card}
54
+ </bs-presence>
55
+ `),
56
+ argTypes: {
57
+ active: { control: 'boolean', description: propDescription('bs-presence', 'active') },
58
+ preset: { control: 'inline-radio', options: presets, description: propDescription('bs-presence', 'preset') },
59
+ duration: { control: 'inline-radio', options: durations, description: propDescription('bs-presence', 'duration') },
60
+ easing: { control: 'inline-radio', options: easings, description: propDescription('bs-presence', 'easing') },
61
+ },
62
+ args: { active: true, preset: 'fade', duration: 'default', easing: 'standard' },
63
+ };
64
+ export default meta;
65
+ export const Default = {};
66
+ export const Presets = {
67
+ render: () => demo(html `
68
+ <bs-grid min-column-width="220px" gap="300">
69
+ ${presets.map(preset => html `
70
+ <bs-stack gap="100">
71
+ <span>${preset}</span>
72
+ <bs-presence active preset=${preset} duration="slow"> ${card} </bs-presence>
73
+ </bs-stack>
74
+ `)}
75
+ </bs-grid>
76
+ `),
77
+ };
78
+ export const Durations = {
79
+ render: () => demo(html `
80
+ <bs-stack gap="200">
81
+ ${durations.map(duration => html `
82
+ <bs-stack gap="100">
83
+ <span>${duration}</span>
84
+ <bs-presence active preset="slide-up" duration=${duration}> ${card} </bs-presence>
85
+ </bs-stack>
86
+ `)}
87
+ </bs-stack>
88
+ `),
89
+ };
90
+ export const Easings = {
91
+ render: () => demo(html `
92
+ <bs-stack gap="200">
93
+ ${easings.map(easing => html `
94
+ <bs-stack gap="100">
95
+ <span>${easing}</span>
96
+ <bs-presence active preset="slide-up" duration="slower" easing=${easing}> ${card} </bs-presence>
97
+ </bs-stack>
98
+ `)}
99
+ </bs-stack>
100
+ `),
101
+ };
@@ -69,7 +69,7 @@ export class BsProgress {
69
69
  const isDeterminate = this.type === 'determinate';
70
70
  const value = this.clampedValue;
71
71
  const dashOffset = circumference * (1 - value / 100);
72
- return (h("div", { key: '76f9b0175af7e6300a901f8c0e26da4b9de2a192', part: "container", class: "bs-progress" }, h("div", { key: '10d34faab3d49fa21e72d0cf2bd1d1c2804ef442', class: "bs-progress__box", style: { width: `${diameter}px`, height: `${diameter}px` }, role: "progressbar", "aria-label": this.ariaLabel, "aria-valuemin": isDeterminate ? '0' : undefined, "aria-valuemax": isDeterminate ? '100' : undefined, "aria-valuenow": isDeterminate ? String(value) : undefined, "aria-busy": isDeterminate ? undefined : 'true' }, isDeterminate ? (h("svg", { class: "bs-progress__ring", width: diameter, height: diameter, viewBox: `0 0 ${diameter} ${diameter}` }, h("circle", { part: "track", class: "bs-progress__track", cx: diameter / 2, cy: diameter / 2, r: radius, "stroke-width": this.strokeWidth, fill: "none" }), h("circle", { part: "arc", class: "bs-progress__arc", cx: diameter / 2, cy: diameter / 2, r: radius, "stroke-width": this.strokeWidth, fill: "none", "stroke-linecap": "round", "stroke-dasharray": circumference, "stroke-dashoffset": dashOffset }))) : (
72
+ return (h("div", { key: 'b91ecdb26db2711f65f9b35169d30f8c21c85ef0', part: "container", class: "bs-progress" }, h("div", { key: 'cafa73aaacde863f5a82185fe75454b0004d68f3', class: "bs-progress__box", style: { width: `${diameter}px`, height: `${diameter}px` }, role: "progressbar", "aria-label": this.ariaLabel, "aria-valuemin": isDeterminate ? '0' : undefined, "aria-valuemax": isDeterminate ? '100' : undefined, "aria-valuenow": isDeterminate ? String(value) : undefined, "aria-busy": isDeterminate ? undefined : 'true' }, isDeterminate ? (h("svg", { class: "bs-progress__ring", width: diameter, height: diameter, viewBox: `0 0 ${diameter} ${diameter}` }, h("circle", { part: "track", class: "bs-progress__track", cx: diameter / 2, cy: diameter / 2, r: radius, "stroke-width": this.strokeWidth, fill: "none" }), h("circle", { part: "arc", class: "bs-progress__arc", cx: diameter / 2, cy: diameter / 2, r: radius, "stroke-width": this.strokeWidth, fill: "none", "stroke-linecap": "round", "stroke-dasharray": circumference, "stroke-dashoffset": dashOffset }))) : (
73
73
  // Figma's indeterminate ring is a fading "comet tail" (transparent -> solid color),
74
74
  // not a flat-colored partial arc -- SVG has no angular/conic gradient primitive, so a
75
75
  // CSS conic-gradient (color varying by angle) + a radial-gradient mask (carving the
@@ -78,7 +78,7 @@ export class BsProgress {
78
78
  h("div", { part: "arc", class: "bs-progress__spinner", style: {
79
79
  '--bs-progress-spinner-stroke-width': `${this.strokeWidth}px`,
80
80
  '--bs-progress-spinner-sweep': `${INDETERMINATE_SWEEP_DEGREES}deg`,
81
- } }))), isDeterminate && this.showLabel && (h("span", { key: 'bfc9b155c8b8d68255a0ad223e31bc25f79566b8', part: "label", class: `bs-progress__label bs-progress__label--${this.size}` }, value, "%"))));
81
+ } }))), isDeterminate && this.showLabel && (h("span", { key: '3d9d1fb48f12171fe4e7bfae6ee86b5d97bc094c', part: "label", class: `bs-progress__label bs-progress__label--${this.size}` }, value, "%"))));
82
82
  }
83
83
  static get is() { return "bs-progress"; }
84
84
  static get encapsulation() { return "shadow"; }
@@ -51,13 +51,13 @@ export class BsProgressLinear {
51
51
  render() {
52
52
  const isDeterminate = this.type === 'determinate';
53
53
  const value = this.clampedValue;
54
- return (h("div", { key: '8cb0ed265f5fae4146ace2ff2cb4e9876b0011c6', part: "container", class: "bs-progress-linear" }, h("div", { key: '62b448cc83f5b317b41277c414cf7712ef4ee1b5', part: "track", class: `bs-progress-linear__track bs-progress-linear__track--${this.size}`, role: "progressbar", "aria-label": this.ariaLabel, "aria-valuemin": isDeterminate ? '0' : undefined, "aria-valuemax": isDeterminate ? '100' : undefined, "aria-valuenow": isDeterminate ? String(value) : undefined, "aria-busy": isDeterminate ? undefined : 'true' }, isDeterminate ? (h("div", { part: "fill", class: "bs-progress-linear__fill", style: { width: `${value}%` } })) : (
54
+ return (h("div", { key: 'b8413e4b2007893cf2a30243eaa6018c0e7321c8', part: "container", class: "bs-progress-linear" }, h("div", { key: 'a169168b32f47f5d62a14c54a3d1fde9e2beb219', part: "track", class: `bs-progress-linear__track bs-progress-linear__track--${this.size}`, role: "progressbar", "aria-label": this.ariaLabel, "aria-valuemin": isDeterminate ? '0' : undefined, "aria-valuemax": isDeterminate ? '100' : undefined, "aria-valuenow": isDeterminate ? String(value) : undefined, "aria-busy": isDeterminate ? undefined : 'true' }, isDeterminate ? (h("div", { part: "fill", class: "bs-progress-linear__fill", style: { width: `${value}%` } })) : (
55
55
  // Figma's indeterminate bar is a soft "comet" gradient segment (transparent -> blue ->
56
56
  // transparent) sliding left-to-right across the track's full width in a loop -- the
57
57
  // same fade concept as bs-progress's indeterminate ring's conic-gradient comet tail,
58
58
  // but along a straight line via a linear-gradient + `transform: translateX(...)`
59
59
  // keyframe animation instead of a rotating conic-gradient.
60
- h("div", { part: "fill", class: "bs-progress-linear__fill bs-progress-linear__fill--indeterminate" }))), this.showLabel && this.hasLabelContent && (h("span", { key: '26e60beb19a7f45a903667928d7256a4d24875c9', part: "label", class: "bs-progress-linear__label" }, h("slot", { key: 'ca9c57dc3b3ee22eedf489ee4e6b3444f85b59df' })))));
60
+ h("div", { part: "fill", class: "bs-progress-linear__fill bs-progress-linear__fill--indeterminate" }))), this.showLabel && this.hasLabelContent && (h("span", { key: 'dbde538356381fb557ec01cab90b6d8ba67a479b', part: "label", class: "bs-progress-linear__label" }, h("slot", { key: 'e9f6bced860f1147a88171fade7e3e0a6947c17e' })))));
61
61
  }
62
62
  // The default slot's assigned content lives in the host's light DOM regardless of whether a
63
63
  // <slot> is currently rendered in the shadow tree, so this can be computed directly from the
@@ -168,7 +168,7 @@ export class BsQrCode {
168
168
  const buttonSize = this.size === 'sm' ? 'sm' : 'md';
169
169
  // Figma shows the unavailable actions as filled-disabled (grey) rather than a faded outline,
170
170
  // which is what bs-button's disabled primary looks like.
171
- return (h("bs-card", { key: 'c69bffccb96c2c76fabc8a68caa33598d330925c', part: "container", class: "bs-qr-code", surface: "base" }, this.closable && (h("bs-icon-button", { key: 'eddf5fd0434ef1d4a79c65cb76e643f5607c3690', part: "close", class: "bs-qr-code__close", variant: "subtle", size: "sm", ariaLabel: this.closeLabel, onClick: () => this.bsClose.emit() }, h("svg", { key: '04751b373bc8ccf24b0777646598f6b0b594dd1d', viewBox: "0 0 20 20", fill: "none", stroke: "currentColor", "stroke-width": "1.6", "stroke-linecap": "round", "aria-hidden": "true" }, h("path", { key: 'e40257103cb9c062af6806874a44cc4050b91a09', d: "M5 5L15 15M15 5L5 15" })))), h("div", { key: '55689fd3950bf8a52fcc13e51447b329414c846d', class: "bs-qr-code__body" }, h("div", { key: '7335ae0ae9f42fe3b99b1dc8096338c1b0d12fc4', part: "head", class: "bs-qr-code__head" }, h("p", { key: '1d6288133f9619f865782d75352e02ffbd4b3cb3', part: "title", class: "bs-qr-code__title" }, this.heading), this.description && (h("p", { key: '2ac5a838cc0d524b726363a5711fcfd3558e7738', part: "description", class: "bs-qr-code__description" }, this.description))), h("div", { key: '2412e4792a4ba605c3e8c68652600901f00fbd9c', part: "qr", class: "bs-qr-code__qr" }, h("div", { key: '480f7b27bdb7521592cf200fa2e8a36b89742d94', part: "code", class: "bs-qr-code__code" }, h("slot", { key: 'cc20adaeea528bdaddc2187fd48d8c33b6c29984', name: "code" }, this.renderMatrix()), h("div", { key: '98ad7405250536002da78c856fe34f29101d6b8b', part: "logo", class: { 'bs-qr-code__logo': true, 'bs-qr-code__logo--visible': this.hasLogo } }, h("slot", { key: 'fa3ad80018891516474a16cdc74f7c40b3ff7193', name: "logo", onSlotchange: (ev) => (this.hasLogo = ev.target.assignedNodes().length > 0) }))), this.renderOverlay()), this.type === 'payment' && this.amount && (h("div", { key: '16aea140dffc0b85679923c72ff68f73496cd382', part: "amount", class: "bs-qr-code__amount" }, this.amountLabel && h("p", { key: '4b6c14f95fbc75fa750361bedb63e06f6cf8fbfa', class: "bs-qr-code__amount-label" }, this.amountLabel), h("p", { key: '23ef126293fe71e364e2fe6d8bf7e9570a0a8073', class: "bs-qr-code__amount-value" }, this.amount))), this.type === 'default' && this.url && (h("div", { key: '055769372c728d26f4a7b0ca15b4c1e9d9182f85', part: "url", class: "bs-qr-code__url" }, this.url)), this.expiry && (h("bs-chip-informative", { key: '2bda390d9e14ba387015619c5d51c136f344d42c', part: "expiry", size: "md" }, h(TimerIcon, { key: 'daa9d8dd4b9dbbc3f0a01d4c203020a7a128e3e4', slot: "icon" }), this.expiry)), showActions && (h("div", { key: '42fdca6de6985912a93580b60a69b06de86ab240', part: "actions", class: "bs-qr-code__actions" }, !this.hideDownload && (h("bs-button", { key: 'da9f965b3c996842c2f7c853b12baa7cd1523d0b', part: "download", variant: interactive ? 'outlined' : 'primary', size: buttonSize, disabled: !interactive, onClick: () => interactive && this.bsDownload.emit() }, h(DownloadIcon, { key: 'c0ff457c873583ba21dc0ef936b5b75723170921', slot: "icon" }), this.downloadLabel)), !this.hideCopy && (h("bs-button", { key: '023df4653bdbcf8440c511818a27f8363218c202', part: "copy", variant: interactive ? 'outlined' : 'primary', size: buttonSize, disabled: !interactive, onClick: () => interactive && this.onCopy() }, h(CopyIcon, { key: '0abdffdb59b543625340be0af0bfabd21fa57bca', slot: "icon" }), this.copyLabel)))))));
171
+ return (h("bs-card", { key: '4e167a1963bdcf3cfab55d45512b9a6892967863', part: "container", class: "bs-qr-code", surface: "base" }, this.closable && (h("bs-icon-button", { key: '6515eda31ed66c48f751a030aac2a1e8787168bb', part: "close", class: "bs-qr-code__close", variant: "subtle", size: "sm", ariaLabel: this.closeLabel, onClick: () => this.bsClose.emit() }, h("svg", { key: '3fcb2f17e996eec1f0d7b63ce801a0c2afaa34f5', viewBox: "0 0 20 20", fill: "none", stroke: "currentColor", "stroke-width": "1.6", "stroke-linecap": "round", "aria-hidden": "true" }, h("path", { key: '2918e13d5155c393d5bcd38770f4288c4a580249', d: "M5 5L15 15M15 5L5 15" })))), h("div", { key: '9e78a07d15f1c796d5d3a95250048f792dffed66', class: "bs-qr-code__body" }, h("div", { key: 'f11274026541602224216fd1c9125ee6747fa863', part: "head", class: "bs-qr-code__head" }, h("p", { key: '2bad1953d7f5c67c92e3759999d4aa4010b016c5', part: "title", class: "bs-qr-code__title" }, this.heading), this.description && (h("p", { key: 'abb48d14fbf8b307d4f370601cd2eb5ffc4df421', part: "description", class: "bs-qr-code__description" }, this.description))), h("div", { key: '17af9e23f1a66d89367d9c26bb8ea551c069b2c0', part: "qr", class: "bs-qr-code__qr" }, h("div", { key: '2092115e613237a13c31243d7370f20bd3fc4c09', part: "code", class: "bs-qr-code__code" }, h("slot", { key: 'c189b0b1edf6f61489e9d1ebe8275c2685862e77', name: "code" }, this.renderMatrix()), h("div", { key: '1e082f0d8b7ee552ab35f2da7ec13c0a9c5d7d86', part: "logo", class: { 'bs-qr-code__logo': true, 'bs-qr-code__logo--visible': this.hasLogo } }, h("slot", { key: '5c305729c9771f95d3bf1877efe86de9f63054e7', name: "logo", onSlotchange: (ev) => (this.hasLogo = ev.target.assignedNodes().length > 0) }))), this.renderOverlay()), this.type === 'payment' && this.amount && (h("div", { key: 'd896562fc83349ada191a1956dfe8b3ffe02dfda', part: "amount", class: "bs-qr-code__amount" }, this.amountLabel && h("p", { key: '8523dd83e68c5f7af690afa71152d82a8f33280d', class: "bs-qr-code__amount-label" }, this.amountLabel), h("p", { key: 'b558183ed05e918b49f17901c5f4a90455527c07', class: "bs-qr-code__amount-value" }, this.amount))), this.type === 'default' && this.url && (h("div", { key: 'b2e14982c041255d561c733465ec946191f71308', part: "url", class: "bs-qr-code__url" }, this.url)), this.expiry && (h("bs-chip-informative", { key: '73443e59dd874d9888b4635d25f8abfb66e2ba15', part: "expiry", size: "md" }, h(TimerIcon, { key: 'e2c8e896629106af6b6e43f5927cc40cb986c895', slot: "icon" }), this.expiry)), showActions && (h("div", { key: 'c0e4e621b7535020de664c18b156a40ebd0f9cc5', part: "actions", class: "bs-qr-code__actions" }, !this.hideDownload && (h("bs-button", { key: '7d20bfd9ef09f9f739f7c2482d4f6a460dc4380d', part: "download", variant: interactive ? 'outlined' : 'primary', size: buttonSize, disabled: !interactive, onClick: () => interactive && this.bsDownload.emit() }, h(DownloadIcon, { key: '27ea6048df80bc0882178f428ab8484d9c2d3e0c', slot: "icon" }), this.downloadLabel)), !this.hideCopy && (h("bs-button", { key: '814e7b49e0b2b3d1c55042910495cb33da115210', part: "copy", variant: interactive ? 'outlined' : 'primary', size: buttonSize, disabled: !interactive, onClick: () => interactive && this.onCopy() }, h(CopyIcon, { key: '82af9fe245268df404461f9f750c61b0b4ade027', slot: "icon" }), this.copyLabel)))))));
172
172
  }
173
173
  static get is() { return "bs-qr-code"; }
174
174
  static get encapsulation() { return "shadow"; }
@@ -168,3 +168,9 @@
168
168
  .bs-radio__circle { border: 2px solid ButtonText; forced-color-adjust: none; background: Canvas; }
169
169
  .bs-radio__dot { background: Highlight; }
170
170
  }
171
+
172
+ /* The hit area is already the round halo's size; tint with the brand colour. The press target is the whole label. */
173
+ .bs-radio__ripple {
174
+ border-radius: 50%;
175
+ --bs-ripple-color: var(--bs-color-primary-default);
176
+ }
@@ -15,6 +15,7 @@ import { h } from "@stencil/core";
15
15
  * @part circle - The visual radio ring.
16
16
  * @part dot - The center fill shown inside the ring when `checked`.
17
17
  * @part label - The label text wrapper.
18
+ * @part ripple - The press-ripple halo (a `bs-ripple`). Tune it with `::part(ripple) { --bs-ripple-color: ...; }`.
18
19
  */
19
20
  // Note: this component's CSS Custom Properties (--bs-radio-*) are documented via @prop comments
20
21
  // in bs-radio.css, not here -- Stencil's docs generator only parses @prop out of CSS file
@@ -53,7 +54,7 @@ export class BsRadio {
53
54
  return Array.from(root.querySelectorAll('bs-radio')).filter(r => r.name === this.name);
54
55
  }
55
56
  onCheckedChange() {
56
- this.internals?.setFormValue?.(this.checked ? this.value ?? 'on' : null);
57
+ this.internals?.setFormValue?.(this.checked ? (this.value ?? 'on') : null);
57
58
  if (this.checked) {
58
59
  this.groupMembers().forEach(r => {
59
60
  if (r !== this.el && r.checked)
@@ -70,7 +71,7 @@ export class BsRadio {
70
71
  }
71
72
  componentWillLoad() {
72
73
  this.initialChecked = this.checked;
73
- this.internals?.setFormValue?.(this.checked ? this.value ?? 'on' : null);
74
+ this.internals?.setFormValue?.(this.checked ? (this.value ?? 'on') : null);
74
75
  }
75
76
  componentDidLoad() {
76
77
  this.refreshGroupState();
@@ -104,7 +105,7 @@ export class BsRadio {
104
105
  }
105
106
  };
106
107
  render() {
107
- return (h("label", { key: '886be8e0972dcb7d918447186ac6972a9132eb02', class: `bs-radio ${this.disabled ? 'bs-radio--disabled' : ''}` }, h("input", { key: 'd82e6e5d9a5a283bf3a0590add040cfb8f153fb7', class: "bs-radio__input", type: "radio", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, tabIndex: this.checked || !this.groupHasChecked ? 0 : -1, onKeyDown: this.onKeyDown, onChange: this.onChange }), h("span", { key: '3844f7c165afc6c2de1b4befbe0d6aa5b89dab42', class: "bs-radio__hit-area" }, h("span", { key: 'd710b061715195882f889284e4b13dc872df03be', class: "bs-radio__state-layer" }, h("span", { key: 'd7eaa53202cfd9884ea6f890ff609e678d043fb0', part: "circle", class: `bs-radio__circle ${this.checked ? 'bs-radio__circle--selected' : ''}` }, this.checked && h("span", { key: 'c4942a1f370d7822a88e05a5d150bc5cb9cdd426', part: "dot", class: "bs-radio__dot" })))), h("span", { key: '79b5334b22ffe48a63bff43b0a8ce3df8c57e9cb', part: "label", class: "bs-radio__label" }, h("slot", { key: 'f71e839a6afe980e2ef54d40c4b40d6513ff0540' }))));
108
+ return (h("label", { key: '45b7a8896d570c915d86a073ae624cd9d7cba26a', class: `bs-radio ${this.disabled ? 'bs-radio--disabled' : ''}` }, h("input", { key: '1952e33f69903cfc8b85f6e6e3a544381d8785ed', class: "bs-radio__input", type: "radio", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, tabIndex: this.checked || !this.groupHasChecked ? 0 : -1, onKeyDown: this.onKeyDown, onChange: this.onChange }), h("span", { key: '5c88f70158e39dd51ce403860dd66eebaea1ddf7', class: "bs-radio__hit-area" }, h("bs-ripple", { key: '041e1e5535e9267b551d87f5fd66ccb29d7aa4d3', part: "ripple", class: "bs-radio__ripple", centered: true, triggerSelector: ".bs-radio", disabled: this.disabled }), h("span", { key: '7bbdb3278e70e531fcf5b7f3f237fec299d5282e', class: "bs-radio__state-layer" }, h("span", { key: '7586e3baaeef3900c1f9676524ef69378bbdc121', part: "circle", class: `bs-radio__circle ${this.checked ? 'bs-radio__circle--selected' : ''}` }, this.checked && h("span", { key: '72a0571227b331512de1b89471aa18b909f34b84', part: "dot", class: "bs-radio__dot" })))), h("span", { key: 'c48f3a4b3acb74bb5e71eb561dba2217460af8a0', part: "label", class: "bs-radio__label" }, h("slot", { key: '48fab02676fb747aff3160ddc3cf2e0ee5cd2883' }))));
108
109
  }
109
110
  static get is() { return "bs-radio"; }
110
111
  static get encapsulation() { return "shadow"; }
@@ -0,0 +1,45 @@
1
+ import { render, h, describe, it, expect } from "@stencil/vitest";
2
+ import { assertCssCustomProperties, assertShadowParts, runAxeCheck } from "../../test/helpers/conventions";
3
+ const press = (el) => el.dispatchEvent(new PointerEvent('pointerdown', { bubbles: true, button: 0, clientX: 5, clientY: 5 }));
4
+ describe('bs-ripple', () => {
5
+ it('is hidden from assistive tech and has no axe violations', async () => {
6
+ const { root } = await render(h("button", { style: { position: 'relative' } }, "Press", h("bs-ripple", null)));
7
+ expect(root.querySelector('bs-ripple')).toEqualAttribute('aria-hidden', 'true');
8
+ await runAxeCheck(root);
9
+ });
10
+ it('exposes its customization surface', async () => {
11
+ const { root } = await render(h("bs-ripple", null));
12
+ assertShadowParts(root.shadowRoot, ['surface']);
13
+ assertCssCustomProperties(root, ['--bs-ripple-color', '--bs-ripple-opacity', '--bs-ripple-duration', '--bs-ripple-easing']);
14
+ });
15
+ it('draws a circle on pointerdown of its parent and removes it when done', async () => {
16
+ const { root, waitForChanges } = await render(h("div", { style: { position: 'relative', width: '100px', height: '40px' } }, h("bs-ripple", { style: { '--bs-ripple-duration': '50ms' } })));
17
+ const ripple = root.querySelector('bs-ripple');
18
+ press(root);
19
+ await waitForChanges();
20
+ expect(ripple.shadowRoot.querySelectorAll('.bs-ripple__circle').length).toBe(1);
21
+ await new Promise(resolve => setTimeout(resolve, 200));
22
+ expect(ripple.shadowRoot.querySelectorAll('.bs-ripple__circle').length).toBe(0);
23
+ });
24
+ it('does nothing when disabled', async () => {
25
+ const { root } = await render(h("div", { style: { position: 'relative' } }, h("bs-ripple", { disabled: true })));
26
+ press(root);
27
+ expect(root.querySelector('bs-ripple').shadowRoot.querySelectorAll('.bs-ripple__circle').length).toBe(0);
28
+ });
29
+ it('does nothing inside a disabled button', async () => {
30
+ const { root } = await render(h("button", { disabled: true, style: { position: 'relative' } }, h("bs-ripple", null)));
31
+ press(root);
32
+ expect(root.querySelector('bs-ripple').shadowRoot.querySelectorAll('.bs-ripple__circle').length).toBe(0);
33
+ });
34
+ it('does nothing when the duration is 0ms (reduced motion)', async () => {
35
+ const { root } = await render(h("div", { style: { position: 'relative' } }, h("bs-ripple", { style: { '--bs-ripple-duration': '0ms' } })));
36
+ press(root);
37
+ expect(root.querySelector('bs-ripple').shadowRoot.querySelectorAll('.bs-ripple__circle').length).toBe(0);
38
+ });
39
+ it('listens on the element matched by triggerSelector instead of its parent', async () => {
40
+ const { root } = await render(h("div", { class: "outer", style: { position: 'relative' } }, h("span", { style: { position: 'relative', display: 'block', width: '20px', height: '20px' } }, h("bs-ripple", { triggerSelector: ".outer", style: { '--bs-ripple-duration': '50ms' } }))));
41
+ const ripple = root.querySelector('bs-ripple');
42
+ press(root);
43
+ expect(ripple.shadowRoot.querySelectorAll('.bs-ripple__circle').length).toBe(1);
44
+ });
45
+ });
@@ -0,0 +1,32 @@
1
+ :host {
2
+ /* Fills the nearest positioned ancestor and takes its rounded corners, so the ripple is clipped to
3
+ the pressable surface. Never intercepts the pointer. */
4
+ position: absolute;
5
+ inset: 0;
6
+ display: block;
7
+ border-radius: inherit;
8
+ overflow: hidden;
9
+ pointer-events: none;
10
+
11
+ --bs-ripple-color: currentColor;
12
+ /* No brandsync token for a ripple tint. 0.24 is visible on every filled variant without hiding the label. */
13
+ --bs-ripple-opacity: 0.24;
14
+ --bs-ripple-duration: var(--bs-duration-slower);
15
+ --bs-ripple-easing: var(--bs-easing-decelerate);
16
+ }
17
+
18
+ .bs-ripple {
19
+ position: absolute;
20
+ inset: 0;
21
+ overflow: hidden;
22
+ border-radius: inherit;
23
+ }
24
+
25
+ .bs-ripple__circle {
26
+ position: absolute;
27
+ border-radius: 50%;
28
+ background: var(--bs-ripple-color);
29
+ opacity: 0;
30
+ transform: scale(0);
31
+ pointer-events: none;
32
+ }