@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
@@ -15,6 +15,7 @@ import { h } from "@stencil/core";
15
15
  * @part track - The visual pill-shaped track.
16
16
  * @part knob - The sliding circular knob.
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 are documented via @prop comments in
20
21
  // bs-switch.css, not here.
@@ -64,18 +65,11 @@ export class BsSwitch {
64
65
  this.bsChange.emit(checked);
65
66
  };
66
67
  render() {
67
- const trackClasses = [
68
- 'bs-switch__track',
69
- `bs-switch__track--${this.size}`,
70
- this.checked ? 'bs-switch__track--checked' : '',
71
- this.disabled ? 'bs-switch__track--disabled' : '',
72
- ]
68
+ const trackClasses = ['bs-switch__track', `bs-switch__track--${this.size}`, this.checked ? 'bs-switch__track--checked' : '', this.disabled ? 'bs-switch__track--disabled' : '']
73
69
  .filter(Boolean)
74
70
  .join(' ');
75
- const knobClasses = ['bs-switch__knob', `bs-switch__knob--${this.size}`, this.disabled ? 'bs-switch__knob--disabled' : '']
76
- .filter(Boolean)
77
- .join(' ');
78
- return (h("label", { key: '853ef8cff63a735080d2dc13a3bcbf624f90adcd', class: `bs-switch ${this.disabled ? 'bs-switch--disabled' : ''}` }, h("input", { key: '8ac32fe72fb6284553662925482dfbca96c37875', class: "bs-switch__input", type: "checkbox", role: "switch", checked: this.checked, disabled: this.disabled, "aria-checked": String(this.checked), "aria-label": this.ariaLabel, onChange: this.onChange }), h("span", { key: '8c32a40a08cf3e16f90fda8b6c90c4d4d172b927', part: "track", class: trackClasses }, h("span", { key: 'c5796361aae4834d104a802ccbde22dad715af49', part: "knob", class: knobClasses })), h("span", { key: '3c3a97ce272cbfdc94d23477c05931696cd39ee8', part: "label", class: "bs-switch__label" }, h("slot", { key: '2eb731f751e838ef577e944cc82f9df4dadc0935' }))));
71
+ const knobClasses = ['bs-switch__knob', `bs-switch__knob--${this.size}`, this.disabled ? 'bs-switch__knob--disabled' : ''].filter(Boolean).join(' ');
72
+ return (h("label", { key: 'a4fe8b335679d3a8c4cebc519988e9ba65440dda', class: `bs-switch ${this.disabled ? 'bs-switch--disabled' : ''}` }, h("input", { key: 'bf619000f211f5aecda3f6c5da4e05a11e9b135e', class: "bs-switch__input", type: "checkbox", role: "switch", checked: this.checked, disabled: this.disabled, "aria-checked": String(this.checked), "aria-label": this.ariaLabel, onChange: this.onChange }), h("span", { key: '7f596412be6ae523cb3a41e5672d0a11552f77ba', part: "track", class: trackClasses }, h("span", { key: 'e9ff90d5719c1a3f98564b79a93e0c4d8fe82932', part: "knob", class: knobClasses }, h("bs-ripple", { key: 'bef6b2607487617f53d37ece4f48ae09792564d1', part: "ripple", class: "bs-switch__ripple", centered: true, triggerSelector: ".bs-switch", disabled: this.disabled }))), h("span", { key: '703eb9020f0ee4f887a0b50ef0d711ee34abf1d5', part: "label", class: "bs-switch__label" }, h("slot", { key: '91b178c4820f52eda9414b3ba0763c4fb1192015' }))));
79
73
  }
80
74
  static get is() { return "bs-switch"; }
81
75
  static get encapsulation() { return "shadow"; }
@@ -59,6 +59,8 @@
59
59
  }
60
60
 
61
61
  .bs-inline-tab {
62
+ /* Containing block for the absolutely-positioned bs-ripple layer. */
63
+ position: relative;
62
64
  box-sizing: border-box;
63
65
  display: inline-flex;
64
66
  align-items: center;
@@ -29,6 +29,7 @@ import { h } from "@stencil/core";
29
29
  * @part tab - The button element.
30
30
  * @part icon - The icon wrapper.
31
31
  * @part label - The label wrapper.
32
+ * @part ripple - The press-ripple layer (a `bs-ripple`). Tune it with `::part(ripple) { --bs-ripple-color: ...; }`.
32
33
  */
33
34
  // Note: this component's CSS Custom Properties (--bs-inline-tab-*) are documented via @prop
34
35
  // comments in bs-inline-tab.css, not here -- Stencil's docs generator only parses @prop out of CSS
@@ -94,7 +95,7 @@ export class BsInlineTab {
94
95
  };
95
96
  render() {
96
97
  const iconOnly = this.hasIcon && !this.hasLabel;
97
- return (h("button", { key: '593a07fb914f26cb831c92319993fcd161ee7f0d', type: "button", part: "tab", role: "tab", class: `bs-inline-tab ${this.selected ? 'bs-inline-tab--selected' : ''} ${this.disabled ? 'bs-inline-tab--disabled' : ''} ${iconOnly ? 'bs-inline-tab--icon-only' : ''} ${this.hasIcon ? 'bs-inline-tab--has-icon' : ''}`, disabled: this.disabled, "aria-selected": String(this.selected), "aria-disabled": this.disabled ? 'true' : undefined, "aria-label": this.ariaLabel, tabIndex: this.tabbable === undefined ? undefined : this.tabbable ? 0 : -1, onClick: this.onClick }, h("span", { key: '42a07b0dfd4cd676f25616f8693ddfa75c55e6fe', part: "icon", class: `bs-inline-tab__icon ${this.hasIcon ? 'bs-inline-tab__icon--has-content' : ''}` }, h("slot", { key: 'da847d9052ac9cbec891de26f4550b706107aff1', name: "icon", onSlotchange: this.onIconSlotchange })), h("span", { key: '85e3dfb8f6c266c1b225b9814194c8eed6d97edd', part: "label", class: `bs-inline-tab__label ${this.hasLabel ? 'bs-inline-tab__label--has-content' : ''}` }, h("slot", { key: 'f99da4b89292a8399f1d615bd01a1dec7913abdb', onSlotchange: this.onLabelSlotchange }))));
98
+ return (h("button", { key: '8dc1570ed12bc71fd69e9fee3fe1159006785b52', type: "button", part: "tab", role: "tab", class: `bs-inline-tab ${this.selected ? 'bs-inline-tab--selected' : ''} ${this.disabled ? 'bs-inline-tab--disabled' : ''} ${iconOnly ? 'bs-inline-tab--icon-only' : ''} ${this.hasIcon ? 'bs-inline-tab--has-icon' : ''}`, disabled: this.disabled, "aria-selected": String(this.selected), "aria-disabled": this.disabled ? 'true' : undefined, "aria-label": this.ariaLabel, tabIndex: this.tabbable === undefined ? undefined : this.tabbable ? 0 : -1, onClick: this.onClick }, h("bs-ripple", { key: 'd7548736d118b53c5b0e3fa36af2e3ff8c7a6b5f', part: "ripple", centered: false, disabled: this.disabled }), h("span", { key: 'd5f1355d7b9fe756edc2a503bf32c9feafcb3ffc', part: "icon", class: `bs-inline-tab__icon ${this.hasIcon ? 'bs-inline-tab__icon--has-content' : ''}` }, h("slot", { key: 'ed0d0de3d21804e233b0593b96aebb9bbd07ac80', name: "icon", onSlotchange: this.onIconSlotchange })), h("span", { key: '6ab027e86d0d3d1c47e3e22bb53e7f846b32031c', part: "label", class: `bs-inline-tab__label ${this.hasLabel ? 'bs-inline-tab__label--has-content' : ''}` }, h("slot", { key: '90b51e5ead7fb092ee1ee2f81b68709550b00b32', onSlotchange: this.onLabelSlotchange }))));
98
99
  }
99
100
  static get is() { return "bs-inline-tab"; }
100
101
  static get encapsulation() { return "shadow"; }
@@ -31,6 +31,7 @@ import { h } from "@stencil/core";
31
31
  * @part label - The label wrapper.
32
32
  * @part badge - The badge wrapper.
33
33
  * @part indicator - The selection/hover underline indicator.
34
+ * @part ripple - The press-ripple layer (a `bs-ripple`). Tune it with `::part(ripple) { --bs-ripple-color: ...; }`.
34
35
  */
35
36
  // Note: this component's CSS Custom Properties (--bs-tab-*) are documented via @prop comments in
36
37
  // bs-tab.css, not here -- Stencil's docs generator only parses @prop out of CSS file comments, not
@@ -107,7 +108,7 @@ export class BsTab {
107
108
  const iconOnly = this.hasIcon && !this.hasLabel;
108
109
  const vertical = this.hasIcon && this.hasLabel && this.iconPosition === 'top';
109
110
  const showBadge = this.hasBadge && !iconOnly && !vertical;
110
- return (h("button", { key: 'fe8218735ca725926530b81f4d24ecab9a02674a', type: "button", part: "tab", role: "tab", class: `bs-tab ${this.selected ? 'bs-tab--selected' : ''} ${this.disabled ? 'bs-tab--disabled' : ''} ${iconOnly ? 'bs-tab--icon-only' : ''} ${vertical ? 'bs-tab--vertical' : ''}`, disabled: this.disabled, "aria-selected": String(this.selected), "aria-disabled": this.disabled ? 'true' : undefined, "aria-label": this.ariaLabel, tabIndex: this.tabbable === undefined ? undefined : this.tabbable ? 0 : -1, onClick: this.onClick }, h("span", { key: '3402d5e392bd7f564c8af40db99c6f6dc8afaf00', part: "icon", class: `bs-tab__icon ${this.hasIcon ? 'bs-tab__icon--has-content' : ''}` }, h("slot", { key: '38ad5a0cd85e9f02e4b4f42ded831b9acbc4e9df', name: "icon", onSlotchange: this.onIconSlotchange })), h("span", { key: 'a10798abf3a7e42801a82589b4993a54fc0d4bd4', part: "label", class: `bs-tab__label ${this.hasLabel ? 'bs-tab__label--has-content' : ''}` }, h("slot", { key: '123d097e2515fc709c6e0785cb8373d97da30673', onSlotchange: this.onLabelSlotchange })), h("span", { key: 'a44fc02f45dbebdf11cc7a57440d9b065087adf9', part: "badge", class: `bs-tab__badge ${showBadge ? 'bs-tab__badge--has-content' : ''}` }, h("slot", { key: '855acb39e1ca31c0fc9de6ad2728dc83b47ea3e6', name: "badge", onSlotchange: this.onBadgeSlotchange })), h("span", { key: 'f2312b0e3dbfbcc48a02a201760f18dc4afd6e89', part: "indicator", class: "bs-tab__indicator" })));
111
+ return (h("button", { key: '429e88b9d5240c88eccd55d73f1fd13dd918931c', type: "button", part: "tab", role: "tab", class: `bs-tab ${this.selected ? 'bs-tab--selected' : ''} ${this.disabled ? 'bs-tab--disabled' : ''} ${iconOnly ? 'bs-tab--icon-only' : ''} ${vertical ? 'bs-tab--vertical' : ''}`, disabled: this.disabled, "aria-selected": String(this.selected), "aria-disabled": this.disabled ? 'true' : undefined, "aria-label": this.ariaLabel, tabIndex: this.tabbable === undefined ? undefined : this.tabbable ? 0 : -1, onClick: this.onClick }, h("bs-ripple", { key: 'f652c878d5ce6401b848977600648a9d17abd075', part: "ripple", centered: false, disabled: this.disabled }), h("span", { key: 'bf04470844364ec3600b1aa1ad933d4b11c7e0be', part: "icon", class: `bs-tab__icon ${this.hasIcon ? 'bs-tab__icon--has-content' : ''}` }, h("slot", { key: '8eded138d47876050c0fd4051b8d602a1d60d107', name: "icon", onSlotchange: this.onIconSlotchange })), h("span", { key: '4e8d274150281ad1c770b903bec1f92b1ec1da44', part: "label", class: `bs-tab__label ${this.hasLabel ? 'bs-tab__label--has-content' : ''}` }, h("slot", { key: 'ff20a9b4917fdf7552f152d9bc89a28ca1391adc', onSlotchange: this.onLabelSlotchange })), h("span", { key: 'ea55bb9b1bb8566125285b3621cd28f52d62ad9e', part: "badge", class: `bs-tab__badge ${showBadge ? 'bs-tab__badge--has-content' : ''}` }, h("slot", { key: 'd3871776604036d6d0889f30edd566e2ed5c5339', name: "badge", onSlotchange: this.onBadgeSlotchange })), h("span", { key: '610cb54103452951824c47da54d6ad32602ec66d', part: "indicator", class: "bs-tab__indicator" })));
111
112
  }
112
113
  static get is() { return "bs-tab"; }
113
114
  static get encapsulation() { return "shadow"; }
@@ -135,7 +135,7 @@ export class BsTabs {
135
135
  }
136
136
  render() {
137
137
  const vertical = this.orientation === 'vertical';
138
- return (h("div", { key: 'a4d8ed9dc495a188c837bc2baaf39dc1f810d18a', part: "tablist", role: "tablist", "aria-orientation": this.orientation, class: `bs-tabs bs-tabs--${this.type} ${vertical ? 'bs-tabs--vertical' : ''}` }, h("slot", { key: 'd633cbbcabeb0e9e360dd0e83f4c726547770e3f', onSlotchange: () => this.syncRovingTabindex() })));
138
+ return (h("div", { key: 'a2aea116ff595f33d3d29bc37920f5596458f3d4', part: "tablist", role: "tablist", "aria-orientation": this.orientation, class: `bs-tabs bs-tabs--${this.type} ${vertical ? 'bs-tabs--vertical' : ''}` }, h("slot", { key: '16d36488b01cda28a2214152b2cbd76b0d8c045a', onSlotchange: () => this.syncRovingTabindex() })));
139
139
  }
140
140
  static get is() { return "bs-tabs"; }
141
141
  static get encapsulation() { return "shadow"; }
@@ -200,14 +200,14 @@ export class BsTimepicker {
200
200
  return (h("div", { part: "spinner", class: "bs-timepicker__spinner" }, h("button", { part: "step", type: "button", class: "bs-timepicker__step", "aria-label": stepLabel(this.increaseLabel), tabindex: -1, onClick: () => this.stepBy(col, 1) }, h("svg", { viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true" }, h("path", { d: "M18 15L12 9L6 15", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))), h("div", { part: "value", class: "bs-timepicker__value", role: "spinbutton", tabindex: 0, "aria-label": label, "aria-valuemin": min, "aria-valuemax": max, "aria-valuenow": n, "aria-valuetext": pad(n), onKeyDown: this.onKeyDown(col), onBlur: () => (this.typed = '') }, pad(n)), h("button", { part: "step", type: "button", class: "bs-timepicker__step", "aria-label": stepLabel(this.decreaseLabel), tabindex: -1, onClick: () => this.stepBy(col, -1) }, h("svg", { viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true" }, h("path", { d: "M6 9L12 15L18 9", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })))));
201
201
  }
202
202
  render() {
203
- return (h("bs-card", { key: '185b44b483c9cf247656ae469ad69f9c64c8e41c', part: "container", class: "bs-timepicker", surface: "raised" }, h("div", { key: 'b23908efe3abf9882be697f92bf457bbe6a55ec1', class: "bs-timepicker__body" }, h("div", { key: '61fa7ba86099a2c53963a09864f3c2ca3f027111', part: "header", class: "bs-timepicker__header" }, h("div", { key: '6a70e05d3aa012f5941db7212a67ed2345946c15', part: "title", class: "bs-timepicker__title" }, this.heading), h("label", { key: 'd2f5829e927ec0e28a4523c4a7d5b03260e8c8f0', class: "bs-timepicker__format" }, h("span", { key: '3354f298b48c8ec801cce4594d317e01858b8b71' }, this.formatLabel), h("bs-switch", { key: '0a57baeffb981e3a571d0f1822523d3b97da7988', part: "format-toggle", size: "md", ariaLabel: this.formatLabel, checked: !this.is12h, onBsChange: (ev) => (this.format = ev.detail ? '24h' : '12h') }))), h("div", { key: 'b48f10a8c7548b25e0ff50910f64f1f02790bb76', class: "bs-timepicker__divider" }), h("div", { key: 'a10ba57ccd51a56ea23b6a61dfdfd2729004855e', part: "selector", class: "bs-timepicker__selector" }, this.renderColumn('hour', this.hourLabel), h("div", { key: '16599630eb6f2d58dc190d1b094e8c243fa6659d', part: "separator", class: "bs-timepicker__separator", "aria-hidden": "true" }, h("svg", { key: '82749333115eba07a03d22e5ac9fe913160d6af8', viewBox: "0 0 4 32", fill: "currentColor" }, h("circle", { key: '09e97173b802d10629481ea89a51f8f18b0dba20', cx: "2", cy: "10", r: "2" }), h("circle", { key: 'ae5f855f4d40a2688b253d054ec3af8821beb1cb', cx: "2", cy: "22", r: "2" }))), this.renderColumn('minute', this.minuteLabel), this.is12h && (h("bs-input", { key: 'c245dda70d5c59f6aff109a24532c6ad2e288372', part: "period", class: "bs-timepicker__period", type: "dropdown", label: this.periodLabel, value: this.isPm ? 'PM' : 'AM', options: [
203
+ return (h("bs-card", { key: 'b1fee3176c728113e01b14515e910f7026b2c40e', part: "container", class: "bs-timepicker", surface: "raised" }, h("div", { key: '29246aa5712a7f1e391338a579f3d7660a7a8b66', class: "bs-timepicker__body" }, h("div", { key: '0ccbf049e87278cc973262f45025843eccc4e050', part: "header", class: "bs-timepicker__header" }, h("div", { key: 'e039bff5a90391b009739a2747255dfa21961394', part: "title", class: "bs-timepicker__title" }, this.heading), h("label", { key: '7f7be2239e319dc2052891a8199bc1d0cc9bb516', class: "bs-timepicker__format" }, h("span", { key: 'a9acefb7f828b6740df0ef4f8c29c9f12c951f91' }, this.formatLabel), h("bs-switch", { key: '4a0ed6ac9b476ac690897f5fc97461a2ba1d9187', part: "format-toggle", size: "md", ariaLabel: this.formatLabel, checked: !this.is12h, onBsChange: (ev) => (this.format = ev.detail ? '24h' : '12h') }))), h("div", { key: '615e0947d07879b5096520f6a6131b5d7126bd5a', class: "bs-timepicker__divider" }), h("div", { key: 'bec825c705ecb1dcf49527df3ffda30f06815f8d', part: "selector", class: "bs-timepicker__selector" }, this.renderColumn('hour', this.hourLabel), h("div", { key: 'b1afee8b925ce49e44e6d2389ac03697b108dbc4', part: "separator", class: "bs-timepicker__separator", "aria-hidden": "true" }, h("svg", { key: 'a716d2643c7a0ea095380283f535f5cd44a77ba9', viewBox: "0 0 4 32", fill: "currentColor" }, h("circle", { key: 'f271946fadd8f8f8e3086c731af9501461e6ef26', cx: "2", cy: "10", r: "2" }), h("circle", { key: 'e661d9d6b96598430853eefca97bccf6138c00b8', cx: "2", cy: "22", r: "2" }))), this.renderColumn('minute', this.minuteLabel), this.is12h && (h("bs-input", { key: 'be80bc06f68362e85510a9450d693483e9bb2d3c', part: "period", class: "bs-timepicker__period", type: "dropdown", label: this.periodLabel, value: this.isPm ? 'PM' : 'AM', options: [
204
204
  { label: 'AM', value: 'AM' },
205
205
  { label: 'PM', value: 'PM' },
206
206
  ], onBsChange: (ev) => {
207
207
  const pm = ev.detail === 'PM';
208
208
  if (pm !== this.isPm)
209
209
  this.hour = (this.hour + 12) % 24;
210
- } }))), h("div", { key: '1b2357274665377d31590aa3e5561a27bfc90100', class: "bs-timepicker__divider" }), h("div", { key: 'cfa3b7f3c98cc732b33e0a7a2ff76ecefb029f6c', part: "footer", class: "bs-timepicker__footer" }, h("bs-button", { key: '0d4127041258cc0066517d4b5588307306356cda', part: "cancel", variant: "subtle", onClick: this.cancel }, this.cancelLabel), h("bs-button", { key: 'd8b5d5867275490d03ae1741fb1795b670c72514', part: "confirm", variant: "primary", onClick: this.confirm }, this.confirmLabel)))));
210
+ } }))), h("div", { key: 'e3f5ed344ef98046ea70b97aee10ac63f8fb631a', class: "bs-timepicker__divider" }), h("div", { key: '8b8b51a4e2f105a87031a20c4f468547c5785f08', part: "footer", class: "bs-timepicker__footer" }, h("bs-button", { key: 'cfe71e9a9aac09fd0be9535bbbbaf230f9d84a6a', part: "cancel", variant: "subtle", onClick: this.cancel }, this.cancelLabel), h("bs-button", { key: '2c5ad6714d50a248641c0de155c14dcee3857f1e', part: "confirm", variant: "primary", onClick: this.confirm }, this.confirmLabel)))));
211
211
  }
212
212
  static get is() { return "bs-timepicker"; }
213
213
  static get encapsulation() { return "shadow"; }
@@ -27,7 +27,7 @@ export class BsToast {
27
27
  this.bsDismiss.emit();
28
28
  };
29
29
  render() {
30
- return (h("div", { key: '0bf6aadc817b574c07c2ed2cc00cb4a756591902', part: "container", class: `bs-toast bs-toast--${this.state}`, role: "status", "aria-live": this.state === 'error' ? 'assertive' : 'polite' }, h("div", { key: '961e5d3223d58061e1009fa823cd6e85b90637c2', class: "bs-toast__content" }, h("span", { key: '7b677b94135c89a16121a5fd81ff9a2a000c2dee', part: "icon", class: "bs-toast__icon", "aria-hidden": "true" }, h(StateIcon, { key: '88b0339e7b503cf2c415d1988f0aab1173b196c1', state: this.state })), h("span", { key: '34f3fb2f09d743405ad095251ced770a9ee790e8', part: "message", class: "bs-toast__message" }, h("slot", { key: '078843c14efaa0c9a8b1949393516cc2dd456de3' }))), h("div", { key: '9d968f0a028c950335f5b8b3540e22a152c39645', class: "bs-toast__actions" }, h("button", { key: '5fe8bd9e2bdd97df7ef8909a834c321e00ae022f', part: "close", type: "button", class: "bs-toast__close", "aria-label": this.dismissLabel, onClick: this.onDismiss }, h(CloseIcon, { key: '448afe4578a31afb0b1a9316d3e035d5eadadff3' })))));
30
+ return (h("div", { key: 'ea3ed372472902ee9cf1e141906dec39991a6ac5', part: "container", class: `bs-toast bs-toast--${this.state}`, role: "status", "aria-live": this.state === 'error' ? 'assertive' : 'polite' }, h("div", { key: 'b5cd7562bf23e9b62101d6c6fbd7d0c4c34263ef', class: "bs-toast__content" }, h("span", { key: '3f8503c548a6d25eb2322d0df601c7a32047285c', part: "icon", class: "bs-toast__icon", "aria-hidden": "true" }, h(StateIcon, { key: '455b38877ab4e0d48a5ff02f17eb6e8f248c52ce', state: this.state })), h("span", { key: '1f2f0013b4171170d5739ad614711f8a91f35fa7', part: "message", class: "bs-toast__message" }, h("slot", { key: '1298f3d0fbb25843418b8e730d3ed84264e86759' }))), h("div", { key: 'b6c64714995f907901e78ed3c99bc03bbdaee468', class: "bs-toast__actions" }, h("button", { key: '5d92217352987cdd55b4ce5c7f49d7f44c766fe8', part: "close", type: "button", class: "bs-toast__close", "aria-label": this.dismissLabel, onClick: this.onDismiss }, h(CloseIcon, { key: 'cb983078424ad5b520dffeda81d8bcafd1b9cf2b' })))));
31
31
  }
32
32
  static get is() { return "bs-toast"; }
33
33
  static get encapsulation() { return "shadow"; }
@@ -42,7 +42,7 @@ export class BsTooltip {
42
42
  */
43
43
  placement = 'top';
44
44
  render() {
45
- return (h("div", { key: '924b224f9594aca557bc767d61cb8e1b6fd8c6d5', class: "bs-tooltip" }, h("span", { key: 'c97417a9d17c35e0b100f5e2c2f548abbfc23338', part: "arrow", class: "bs-tooltip__arrow" }), h("div", { key: '498e53eaed40ea87de2cf30d5dbe4359d24e8506', part: "bubble", class: "bs-tooltip__bubble" }, h("slot", { key: '268d910b87e4d7b67f9288bdd16d26bfc468d9da' }))));
45
+ return (h("div", { key: 'c2d5db93c82893e1fda6baab1b3d238cb18a258c', class: "bs-tooltip" }, h("span", { key: '028716108a7e548e8e5747cb36349f386d279380', part: "arrow", class: "bs-tooltip__arrow" }), h("div", { key: '09d56d5c90014d5bfe752de30fbe50f02a63343c', part: "bubble", class: "bs-tooltip__bubble" }, h("slot", { key: '473eb298bd6b402555d0b42922dbf9ee1384785e' }))));
46
46
  }
47
47
  static get is() { return "bs-tooltip"; }
48
48
  static get encapsulation() { return "shadow"; }
@@ -10,7 +10,7 @@ describe('bs-tooltip-trigger', () => {
10
10
  expect(tip(root).querySelector('bs-tooltip')).toHaveTextContent('Hint');
11
11
  });
12
12
  it('shows on mouseenter and hides on mouseleave', async () => {
13
- const { root, waitForChanges } = await render(h("bs-tooltip-trigger", { text: "Hint" }, h("button", null, "Go")));
13
+ const { root, waitForChanges } = await render(h("bs-tooltip-trigger", { text: "Hint", style: { '--bs-tooltip-trigger-duration': '0ms' } }, h("button", null, "Go")));
14
14
  wrap(root).dispatchEvent(new MouseEvent('mouseenter'));
15
15
  await waitForChanges();
16
16
  expect(tip(root).hasAttribute('hidden')).toBe(false);
@@ -19,7 +19,7 @@ describe('bs-tooltip-trigger', () => {
19
19
  expect(tip(root).hasAttribute('hidden')).toBe(true);
20
20
  });
21
21
  it('shows on focus and dismisses with Escape', async () => {
22
- const { root, waitForChanges } = await render(h("bs-tooltip-trigger", { text: "Hint" }, h("button", null, "Go")));
22
+ const { root, waitForChanges } = await render(h("bs-tooltip-trigger", { text: "Hint", style: { '--bs-tooltip-trigger-duration': '0ms' } }, h("button", null, "Go")));
23
23
  wrap(root).dispatchEvent(new FocusEvent('focusin', { bubbles: true }));
24
24
  await waitForChanges();
25
25
  expect(tip(root).hasAttribute('hidden')).toBe(false);
@@ -70,4 +70,55 @@ describe('bs-tooltip-trigger', () => {
70
70
  expect(t.left).toBeGreaterThanOrEqual(w.right);
71
71
  });
72
72
  }
73
+ describe('show/hide motion', () => {
74
+ const wait = (ms) => new Promise(r => setTimeout(r, ms));
75
+ const bubble = (root) => tip(root).querySelector('bs-tooltip');
76
+ const make = (duration, placement = 'bottom') => render(h("bs-tooltip-trigger", { text: "Hint", placement: placement, style: { '--bs-tooltip-trigger-duration': duration } }, h("button", null, "Go")));
77
+ it('fades in over the configured duration', async () => {
78
+ const { root, waitForChanges } = await make('150ms');
79
+ wrap(root).dispatchEvent(new MouseEvent('mouseenter'));
80
+ await waitForChanges();
81
+ const anims = bubble(root).getAnimations();
82
+ expect(anims.length).toBe(1);
83
+ expect(anims[0].effect.getTiming().duration).toBe(150);
84
+ });
85
+ it('stays shown while it fades out, then hides', async () => {
86
+ const { root, waitForChanges } = await make('150ms');
87
+ wrap(root).dispatchEvent(new MouseEvent('mouseenter'));
88
+ await waitForChanges();
89
+ await wait(250);
90
+ wrap(root).dispatchEvent(new MouseEvent('mouseleave'));
91
+ await waitForChanges();
92
+ expect(tip(root).hasAttribute('hidden')).toBe(false);
93
+ const anims = bubble(root).getAnimations();
94
+ expect(anims.length).toBe(1);
95
+ expect(anims[0].effect.getTiming().duration).toBe(150);
96
+ await wait(400);
97
+ await waitForChanges();
98
+ expect(tip(root).hasAttribute('hidden')).toBe(true);
99
+ });
100
+ it('cancels the exit when the pointer comes back', async () => {
101
+ const { root, waitForChanges } = await make('300ms');
102
+ wrap(root).dispatchEvent(new MouseEvent('mouseenter'));
103
+ await waitForChanges();
104
+ await wait(400);
105
+ wrap(root).dispatchEvent(new MouseEvent('mouseleave'));
106
+ await waitForChanges();
107
+ wrap(root).dispatchEvent(new MouseEvent('mouseenter'));
108
+ await waitForChanges();
109
+ await wait(500);
110
+ await waitForChanges();
111
+ expect(tip(root).hasAttribute('hidden')).toBe(false);
112
+ });
113
+ it('runs no animation and hides at once when the duration is 0ms', async () => {
114
+ const { root, waitForChanges } = await make('0ms');
115
+ wrap(root).dispatchEvent(new MouseEvent('mouseenter'));
116
+ await waitForChanges();
117
+ expect(bubble(root).getAnimations().length).toBe(0);
118
+ wrap(root).dispatchEvent(new MouseEvent('mouseleave'));
119
+ await waitForChanges();
120
+ expect(bubble(root).getAnimations().length).toBe(0);
121
+ expect(tip(root).hasAttribute('hidden')).toBe(true);
122
+ });
123
+ });
73
124
  });
@@ -2,6 +2,9 @@
2
2
  display: inline-block;
3
3
  --bs-tooltip-trigger-offset: var(--bs-spacing-100);
4
4
  --bs-tooltip-trigger-z-index: var(--bs-z-index-popover);
5
+ --bs-tooltip-trigger-duration: var(--bs-duration-fast);
6
+ --bs-tooltip-trigger-easing: var(--bs-easing-standard);
7
+ --bs-tooltip-trigger-distance: var(--bs-spacing-50);
5
8
  }
6
9
 
7
10
  .bs-tooltip-trigger {
@@ -1,4 +1,5 @@
1
1
  import { h } from "@stencil/core";
2
+ import { cancelMotion, play, readMotion } from "../../utils/motion";
2
3
  let tooltipTriggerId = 0;
3
4
  /**
4
5
  * Wraps a trigger element and shows a `bs-tooltip` on hover or keyboard focus, after an optional
@@ -17,8 +18,15 @@ let tooltipTriggerId = 0;
17
18
  * @part tooltip - The positioned tooltip wrapper (role="tooltip").
18
19
  * @prop --bs-tooltip-trigger-offset - Gap between trigger and tooltip. Aliased to `--bs-spacing-100`.
19
20
  * @prop --bs-tooltip-trigger-z-index - Stacking order. Aliased to `--bs-z-index-popover`.
21
+ * @prop --bs-tooltip-trigger-duration - Length of the show/hide motion. Aliased to `--bs-duration-fast`.
22
+ * @prop --bs-tooltip-trigger-easing - Curve of the show/hide motion. Aliased to `--bs-easing-standard`.
23
+ * @prop --bs-tooltip-trigger-distance - How far the tooltip nudges while it fades. Aliased to `--bs-spacing-50`.
24
+ *
25
+ * The tooltip fades in while drifting a few pixels away from the trigger into place, and fades back out toward it. Under
26
+ * `prefers-reduced-motion: reduce` (or a duration of `0ms`) it appears and disappears instantly.
20
27
  */
21
28
  export class BsTooltipTrigger {
29
+ el;
22
30
  /** Tooltip message. */
23
31
  text = '';
24
32
  /** Milliseconds to wait before showing the tooltip. */
@@ -26,6 +34,57 @@ export class BsTooltipTrigger {
26
34
  /** Side of the trigger the tooltip appears on. The bs-tooltip arrow is only drawn for 'bottom'. */
27
35
  placement = 'bottom';
28
36
  visible = false;
37
+ /** True while the exit motion plays after `visible` went false, so the tooltip stays shown for it. */
38
+ closing = false;
39
+ bubbleEl;
40
+ tipEl;
41
+ enterPending = false;
42
+ exitPending = false;
43
+ motionRun = 0;
44
+ onVisibleChange(next) {
45
+ this.motionRun++;
46
+ cancelMotion(this.bubbleEl);
47
+ this.closing = false;
48
+ if (next) {
49
+ this.enterPending = true;
50
+ }
51
+ else if (this.text && this.tipEl && !this.tipEl.hidden && readMotion(this.el, 'bs-tooltip-trigger').ms > 0) {
52
+ this.closing = true;
53
+ this.exitPending = true;
54
+ }
55
+ }
56
+ /** The tooltip drifts away from the trigger it hangs off: below it drops from above, above it rises from below, and so on. */
57
+ offset(distance) {
58
+ switch (this.placement) {
59
+ case 'top':
60
+ return `translateY(${distance}px)`;
61
+ case 'start':
62
+ return `translateX(${distance}px)`;
63
+ case 'end':
64
+ return `translateX(${-distance}px)`;
65
+ default:
66
+ return `translateY(${-distance}px)`;
67
+ }
68
+ }
69
+ componentDidRender() {
70
+ if (this.exitPending) {
71
+ this.exitPending = false;
72
+ if (this.closing && !this.visible) {
73
+ const { ms, easing, distance } = readMotion(this.el, 'bs-tooltip-trigger');
74
+ const run = ++this.motionRun;
75
+ play(this.bubbleEl, [{ opacity: 1, transform: 'none' }, { opacity: 0, transform: this.offset(distance) }], ms, easing, 'forwards').then(() => {
76
+ if (run === this.motionRun)
77
+ this.closing = false;
78
+ });
79
+ }
80
+ }
81
+ if (this.enterPending) {
82
+ this.enterPending = false;
83
+ const { ms, easing, distance } = readMotion(this.el, 'bs-tooltip-trigger');
84
+ if (ms > 0 && this.visible)
85
+ play(this.bubbleEl, [{ opacity: 0, transform: this.offset(distance) }, { opacity: 1, transform: 'none' }], ms, easing);
86
+ }
87
+ }
29
88
  tooltipId = `bs-tooltip-trigger-${++tooltipTriggerId}`;
30
89
  timer;
31
90
  disconnectedCallback() {
@@ -47,8 +106,8 @@ export class BsTooltipTrigger {
47
106
  this.hide();
48
107
  };
49
108
  render() {
50
- const show = this.visible && !!this.text;
51
- return (h("div", { key: '24d2d838ba7e3ff7c7ea29da91548a2217fd78fa', part: "trigger", class: "bs-tooltip-trigger", "aria-describedby": this.tooltipId, onMouseEnter: this.show, onMouseLeave: this.hide, onFocusin: this.show, onFocusout: this.hide, onKeyDown: this.onKeyDown }, h("slot", { key: 'b911c44e690a3e4dcf64ab7dc78bf18a2f39c8d4' }), h("div", { key: '3a8533fe8853c39f51f1808400b3e6bdf91e2576', part: "tooltip", id: this.tooltipId, class: "bs-tooltip-trigger__tooltip", role: "tooltip", hidden: !show }, h("bs-tooltip", { key: 'b0ab6217c11a8839c0b4fe7762ae33b0d9dc1e1a' }, this.text))));
109
+ const show = (this.visible && !!this.text) || (this.closing && !!this.text);
110
+ return (h("div", { key: '06db867226380b3fcee2542a04b9697426a0107f', part: "trigger", class: "bs-tooltip-trigger", "aria-describedby": this.tooltipId, onMouseEnter: this.show, onMouseLeave: this.hide, onFocusin: this.show, onFocusout: this.hide, onKeyDown: this.onKeyDown }, h("slot", { key: '7f86ca80968a51df576aafb577457bcbbd4c4a6a' }), h("div", { key: '6d5c5600ea220ca7b6189f05a83b93fce16584cb', part: "tooltip", id: this.tooltipId, class: "bs-tooltip-trigger__tooltip", role: "tooltip", hidden: !show, ref: el => (this.tipEl = el) }, h("bs-tooltip", { key: 'feb9d57972b2d8e7e21846b0cf39a532b0004f9b', ref: el => (this.bubbleEl = el) }, this.text))));
52
111
  }
53
112
  static get is() { return "bs-tooltip-trigger"; }
54
113
  static get encapsulation() { return "shadow"; }
@@ -134,7 +193,15 @@ export class BsTooltipTrigger {
134
193
  }
135
194
  static get states() {
136
195
  return {
137
- "visible": {}
196
+ "visible": {},
197
+ "closing": {}
138
198
  };
139
199
  }
200
+ static get elementRef() { return "el"; }
201
+ static get watchers() {
202
+ return [{
203
+ "propName": "visible",
204
+ "methodName": "onVisibleChange"
205
+ }];
206
+ }
140
207
  }
@@ -189,7 +189,7 @@ export class BsTree {
189
189
  e.preventDefault();
190
190
  }
191
191
  render() {
192
- return (h("div", { key: '586069268f0b5e3a8a855bf1ee67584460c8e8b6', part: "container", class: "bs-tree", role: "tree", "aria-label": this.ariaLabel }, h("slot", { key: 'd78f0e9a2ec38295bbddc42fb12d27e874ff0ebf' })));
192
+ return (h("div", { key: '7d6223a9fa7bf6b434d3051a4a48e88c4006d907', part: "container", class: "bs-tree", role: "tree", "aria-label": this.ariaLabel }, h("slot", { key: '0cd83d4fe6acfda0d4c4ab789af4b2f5fc1c12d7' })));
193
193
  }
194
194
  static get is() { return "bs-tree"; }
195
195
  static get encapsulation() { return "shadow"; }
@@ -63,6 +63,8 @@
63
63
  }
64
64
 
65
65
  .bs-tree-item__container {
66
+ /* Containing block for the absolutely-positioned bs-ripple layer. */
67
+ position: relative;
66
68
  box-sizing: border-box;
67
69
  flex: 1;
68
70
  min-width: 0;
@@ -21,6 +21,7 @@ import { Host, h } from "@stencil/core";
21
21
  * @part icon - The icon wrapper.
22
22
  * @part label - The label wrapper.
23
23
  * @part group - The `role="group"` wrapper around the child items (while expanded).
24
+ * @part ripple - The press-ripple layer (a `bs-ripple`). Tune it with `::part(ripple) { --bs-ripple-color: ...; }`.
24
25
  */
25
26
  export class BsTreeItem {
26
27
  el;
@@ -92,11 +93,11 @@ export class BsTreeItem {
92
93
  const isParent = this.hasChildren;
93
94
  const managed = !!this.el.closest('bs-tree');
94
95
  const showChildren = isParent && this.expanded;
95
- return (h(Host, { key: '4e4e36591f3757bf89b769b79cd09096d557a961', role: "treeitem", "aria-level": String(this.level), "aria-expanded": isParent ? String(this.expanded) : null, "aria-selected": String(this.selected), "aria-disabled": this.disabled ? 'true' : null, ...(managed || this.disabled ? {} : { tabindex: '0' }) }, h("div", { key: 'd6eadb88384d6c463937033e48fe301717dd9f3e', class: "bs-tree-item__row", style: { '--bs-tree-item-level': String(this.level) } }, h("div", { key: '66da380c06c54b824ac3a447044894c22428edf8', part: "container", class: {
96
+ return (h(Host, { key: '12205542fd8cd7558c9fb3e421c92c06d1809e40', role: "treeitem", "aria-level": String(this.level), "aria-expanded": isParent ? String(this.expanded) : null, "aria-selected": String(this.selected), "aria-disabled": this.disabled ? 'true' : null, ...(managed || this.disabled ? {} : { tabindex: '0' }) }, h("div", { key: '11d9fe5a0ed281f9ad898bf5221dd00f22e2701d', class: "bs-tree-item__row", style: { '--bs-tree-item-level': String(this.level) } }, h("div", { key: '4ffe7bf7fb24d06fdcde825b9b72370538543854', part: "container", class: {
96
97
  'bs-tree-item__container': true,
97
98
  'bs-tree-item__container--selected': this.selected,
98
99
  'bs-tree-item__container--disabled': this.disabled,
99
- }, onClick: this.onRowClick }, isParent && (h("span", { key: '6600cfd9aa01bf0f0a3f0458e661e8be30f9e649', part: "caret", class: { 'bs-tree-item__caret': true, 'bs-tree-item__caret--open': this.expanded }, "aria-hidden": "true", onClick: this.onCaretClick }, h(CaretRightIcon, { key: 'c0eecda85015fa0c2dc4e8c2f0b4561fdd037305' }))), h("span", { key: '83bc2d33e7f7f34a1ee682bfb93a633b65257842', class: "bs-tree-item__content" }, this.showIcon && (h("span", { key: '06411b06381b28c86d0332f7ec51a58b868e2ace', part: "icon", class: "bs-tree-item__icon", "aria-hidden": "true" }, h("slot", { key: '5762de30314db63f9c262bbb84af36ea3605a8d6', name: "icon" }, isParent ? h(FolderIcon, null) : h(FileIcon, null)))), h("span", { key: '7576371cfccb855e4fb57ced1c63c241833e4ec3', part: "label", class: "bs-tree-item__label" }, h("slot", { key: '4459a19608ca7d7f98fa7b84a9e1cb08573176ff', name: "label" }, this.label))))), showChildren && (h("div", { key: 'c7d2b82efbd0622845b95fae4e04608e13bd685d', part: "group", class: "bs-tree-item__group", role: "group" }, h("slot", { key: '3edd6e523532400ec89928284bc73146a1bdf391' })))));
100
+ }, onClick: this.onRowClick }, !this.disabled && h("bs-ripple", { key: '3469a524f59373948dafd9b16bb7eedf1a6f1000', part: "ripple" }), isParent && (h("span", { key: 'd4365c571e5fd5388debcc09e92d4c7fc5bfbe6c', part: "caret", class: { 'bs-tree-item__caret': true, 'bs-tree-item__caret--open': this.expanded }, "aria-hidden": "true", onClick: this.onCaretClick }, h(CaretRightIcon, { key: '1f68d7131a8e9e24bdca9d42c82c1af9af8bb09d' }))), h("span", { key: 'f525e26ee5ff9a0ca603e5e96ae7156da97f0fa0', class: "bs-tree-item__content" }, this.showIcon && (h("span", { key: '81a0810e006cf932cbfc141b87673f7602f19727', part: "icon", class: "bs-tree-item__icon", "aria-hidden": "true" }, h("slot", { key: 'f51ed15e89cbaa18f0f6e70e62f050399d6b339a', name: "icon" }, isParent ? h(FolderIcon, null) : h(FileIcon, null)))), h("span", { key: '181ccdf186bc1d0138094fb689366881301c1960', part: "label", class: "bs-tree-item__label" }, h("slot", { key: 'cc449375c076dc296a1c5047d7aa0d4b27cdc592', name: "label" }, this.label))))), showChildren && (h("div", { key: '535958746bc51e1efde29862f54413b2c9e6b51d', part: "group", class: "bs-tree-item__group", role: "group" }, h("slot", { key: 'f0fc63938c90ea7ebb620db8f2abdf5eedb7f2d1' })))));
100
101
  }
101
102
  static get is() { return "bs-tree-item"; }
102
103
  static get encapsulation() { return "shadow"; }
@@ -50,7 +50,7 @@ export class BsWhatsNewEntry {
50
50
  hasImage = false;
51
51
  render() {
52
52
  const level = Math.min(6, Math.max(1, Math.trunc(Number(this.headingLevel)) || 3));
53
- return (h("div", { key: '54a3c2784ae0599f6ab1173672f59fc65a9e7ccc', class: "bs-whats-new-entry" }, (this.tag || this.date || this.unread) && (h("div", { key: 'c82e5e5d7486828d8c8d703d3ad7afda5e84beb7', part: "meta", class: "bs-whats-new-entry__meta" }, this.tag && (h("bs-chip-informative", { key: '570273e8af631ea919b4d7f801fb882deb1648bb', part: "tag", size: "sm", color: this.tagColor }, this.tag)), this.date && (h("span", { key: '8e7f75b5120d29dc7b036ce0faa920f7435cfc05', part: "date", class: "bs-whats-new-entry__date" }, this.date)), this.unread && (h("span", { key: '1bcc3e4e6d09e7d4a2225f53cad4bd143b5ed766', part: "unread", class: "bs-whats-new-entry__unread" }, h("span", { key: '2a5b2a37d5044ee066b6d82ae09d557136acd4db', class: "bs-whats-new-entry__sr-only" }, this.unreadLabel))))), h("div", { key: 'e0ef87bc59f4ac7244ae325844b871d341f01854', part: "image", class: { 'bs-whats-new-entry__image': true, 'bs-whats-new-entry__image--visible': this.hasImage } }, h("slot", { key: '5ede8b73d53cb3120146324567c7496d13666525', name: "image", onSlotchange: (ev) => (this.hasImage = ev.target.assignedNodes().length > 0) })), h("div", { key: '483ce24be414275059e23225b43d473963e9d41e', class: "bs-whats-new-entry__content" }, this.heading && h(`h${level}`, { part: 'heading', class: { 'bs-whats-new-entry__heading': true } }, this.heading), this.description && (h("p", { key: '15f00f081c7673153dd1e1504e238066a7492682', part: "description", class: "bs-whats-new-entry__description" }, this.description)), this.actionLabel && (h("bs-button", { key: '5d39e42399197e3d58ce59d0eb10e7e47a55ad39', part: "action", class: "bs-whats-new-entry__action", variant: "subtle", size: "sm", onClick: () => this.bsAction.emit() }, this.actionLabel, h("svg", { key: '957deb07628192f8ccc16f931f2b4ddc4dd54ea5', slot: "end-icon", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("path", { key: 'a4ea579ee77a8caf70c15dc3b209f7663cc77eb6', d: "M5 12H19" }), h("path", { key: '65e70780afab82c607d84ca242ba34c862809520', d: "M13 6L19 12L13 18" }))))), this.divider && h("div", { key: '04c5d9479f1844bbf1baef6c2f4e02450098b0fa', part: "divider", class: "bs-whats-new-entry__divider" })));
53
+ return (h("div", { key: '94bd61474a16e5bb5f139017903ccd2c7a00a29e', class: "bs-whats-new-entry" }, (this.tag || this.date || this.unread) && (h("div", { key: 'f19308efc7626e97d1f3b6200cc619f1c6cfef53', part: "meta", class: "bs-whats-new-entry__meta" }, this.tag && (h("bs-chip-informative", { key: 'f296dc3fe97ec2c88e56f08a4aa599326d8ab31f', part: "tag", size: "sm", color: this.tagColor }, this.tag)), this.date && (h("span", { key: '2182add62fff635204bc82fc7244a0c9e86f402c', part: "date", class: "bs-whats-new-entry__date" }, this.date)), this.unread && (h("span", { key: 'd0d7fe472b04e36cebfce769b41b0ec0a03c1189', part: "unread", class: "bs-whats-new-entry__unread" }, h("span", { key: 'f0cecdf0217e1d37de21391aaed2ec9f8e84e2db', class: "bs-whats-new-entry__sr-only" }, this.unreadLabel))))), h("div", { key: 'a91c74c0749d4c3e8753f0ae099db3527b4708bf', part: "image", class: { 'bs-whats-new-entry__image': true, 'bs-whats-new-entry__image--visible': this.hasImage } }, h("slot", { key: '27df8b523ae98ba0ae50bd351b71d33d33fcec79', name: "image", onSlotchange: (ev) => (this.hasImage = ev.target.assignedNodes().length > 0) })), h("div", { key: '0569d8579c03f7acabc42735c7698692cc8e0f7c', class: "bs-whats-new-entry__content" }, this.heading && h(`h${level}`, { part: 'heading', class: { 'bs-whats-new-entry__heading': true } }, this.heading), this.description && (h("p", { key: 'b3044456157b53439ca1c1cb48974ec300a938de', part: "description", class: "bs-whats-new-entry__description" }, this.description)), this.actionLabel && (h("bs-button", { key: 'd57c182eb2a655c1dbff70c97f5aa98327dbb03e', part: "action", class: "bs-whats-new-entry__action", variant: "subtle", size: "sm", onClick: () => this.bsAction.emit() }, this.actionLabel, h("svg", { key: '106945e585e6b38071a0041aa9ab56b48d47a517', slot: "end-icon", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("path", { key: 'b5a1586a5a2e2831191082d1818971d8c29a54b3', d: "M5 12H19" }), h("path", { key: '273362647cd1098d2d865c9249b3f416d924c54f', d: "M13 6L19 12L13 18" }))))), this.divider && h("div", { key: '29d89b64905a1e0bde5e43540602134fb972cc6a', part: "divider", class: "bs-whats-new-entry__divider" })));
54
54
  }
55
55
  static get is() { return "bs-whats-new-entry"; }
56
56
  static get encapsulation() { return "shadow"; }
@@ -234,11 +234,11 @@ export class BsNavigationDrawer {
234
234
  };
235
235
  render() {
236
236
  const classes = ['bs-navigation-drawer', this.mobile ? 'bs-navigation-drawer--overlay' : '', this.overlayOpen ? 'bs-navigation-drawer--open' : ''].filter(Boolean).join(' ');
237
- return (h(Host, { key: 'b2203f52ae157b565d62e06521b70ddea7f2ae14', "data-overlay": this.mobile ? '' : undefined }, this.mobile && h("div", { key: 'ef85987f69ff5795d899118c8d339d3f52a6f4af', part: "backdrop", class: "bs-navigation-drawer__backdrop", onClick: this.requestClose }), h("nav", { key: '260b591e3439863671aa51b5c90ae203dda82bb5', ref: el => (this.navRef = el), class: classes, "aria-label": this.heading,
237
+ return (h(Host, { key: '49c52b23f8cd7ded807c916a3d9ca7baae3f10ba', "data-overlay": this.mobile ? '' : undefined }, this.mobile && h("div", { key: 'b852ee92942a375d441320a95c1bd11a07754624', part: "backdrop", class: "bs-navigation-drawer__backdrop", onClick: this.requestClose }), h("nav", { key: 'f5e2aa57f8757f2fbd8dd305aac40504e90fec3f', ref: el => (this.navRef = el), class: classes, "aria-label": this.heading,
238
238
  // Stays a plain <nav> landmark in every state: ARIA does not allow role="dialog" on <nav>
239
239
  // (axe: aria-allowed-role). Modality is behavioral -- focus is held inside, the page behind is
240
240
  // scrimmed, Escape closes -- rather than announced through aria-modal.
241
- tabIndex: this.mobile ? -1 : undefined }, this.showLogo && (h("div", { key: '1f947bcd8f55aae3fc83c31c4f1220934de4ca24', part: "logo", class: "bs-navigation-drawer__logo bs-navigation-drawer__logo--full" }, h("bs-logo", { key: 'e77c2e6c15478d308f6c2694164262ad37672ba8', variant: "full", background: this.logoBackground }))), this.showLogo && (h("div", { key: 'c3fa7b9cf7a54a42b1dde273127e59b3880aa5a2', part: "logo", class: "bs-navigation-drawer__logo bs-navigation-drawer__logo--mark" }, h("bs-logo", { key: '4c35edb7b838ea0c812de2197a6d3d59316449a5', variant: "mark", background: this.logoBackground }))), h("div", { key: 'ea7e753bb4a313718f8d003d299cf2d98c4bf94e', class: "bs-navigation-drawer__title-row" }, h("span", { key: '90e3cdc335d0c2820fe9002e2fafc162576b3240', part: "title", class: "bs-navigation-drawer__title" }, this.heading), this.collapsible && (h("button", { key: '3b5a555dc34380c22030733ca745279e3ddca1b6', type: "button", part: "collapse", class: "bs-navigation-drawer__collapse", "aria-label": this.collapsed ? this.expandLabel : this.collapseLabel, "aria-pressed": this.collapsed ? 'true' : 'false', onClick: this.onCollapseClick }, h(CaretLeftIcon, { key: 'f5e095681e642741cbbfe97ad5ae11fe10c679d4' })))), h("div", { key: '14f9928d98e7773b43c9b6a7dcbdcbdb5302c088', part: "search", class: "bs-navigation-drawer__search" }, h("slot", { key: 'ea0fe474c09c0550b2d89cfc2a7a8294c9d1cedd', name: "search" })), h("button", { key: 'e4a321e70895804445a902cdbb07f65952653bed', type: "button", part: "search-trigger", class: "bs-navigation-drawer__search-trigger", "aria-label": this.searchLabel, onClick: this.onSearchTriggerClick }, h(SearchIcon, { key: '582c3bc3117c49270e5c0ba0d0f0d2e5de9c6625' })), h("div", { key: '844f4f8eb5e95921f6aa1c643bf0fc52255ab19f', part: "items", class: "bs-navigation-drawer__items" }, h("slot", { key: '52485aab4b1ddb41051dba85e657d18f9a8abbd8' })))));
241
+ tabIndex: this.mobile ? -1 : undefined }, this.showLogo && (h("div", { key: '505457c0e4ef405aae32ede16e34195996d46a2f', part: "logo", class: "bs-navigation-drawer__logo bs-navigation-drawer__logo--full" }, h("bs-logo", { key: '7f18718b910241ce69d796853b0abdf451a89ac6', variant: "full", background: this.logoBackground }))), this.showLogo && (h("div", { key: '05d02bf25de16dcb7c02b71c385277eafef9ac28', part: "logo", class: "bs-navigation-drawer__logo bs-navigation-drawer__logo--mark" }, h("bs-logo", { key: '63f77b0363d7d262ac87c482e2aa48aee1edc612', variant: "mark", background: this.logoBackground }))), h("div", { key: 'db96e7dc889e58231b1112b9badd7e282c9a6d07', class: "bs-navigation-drawer__title-row" }, h("span", { key: '8d8f37baf13a92325dd1f2912831a5fffcbe2ac8', part: "title", class: "bs-navigation-drawer__title" }, this.heading), this.collapsible && (h("button", { key: '2f8cfcec017a5f4af5963367c0331b09ee6dd5e4', type: "button", part: "collapse", class: "bs-navigation-drawer__collapse", "aria-label": this.collapsed ? this.expandLabel : this.collapseLabel, "aria-pressed": this.collapsed ? 'true' : 'false', onClick: this.onCollapseClick }, h(CaretLeftIcon, { key: '6e6e1d837f20f6837fe2b77cfd7f0c873747e7de' })))), h("div", { key: '3b758c225881964df28f99c6fe477260df86eed6', part: "search", class: "bs-navigation-drawer__search" }, h("slot", { key: 'cbb3553aa7b80985b58494395a3595fff0fb868d', name: "search" })), h("button", { key: '4661d0113e00a3dbf5e6d06609bd563d7cac9800', type: "button", part: "search-trigger", class: "bs-navigation-drawer__search-trigger", "aria-label": this.searchLabel, onClick: this.onSearchTriggerClick }, h(SearchIcon, { key: '6ff77355d5132b608056e8ca7188a37962d6e1e4' })), h("div", { key: '369e4c1c9a17cddf4954b3d666c6c55335bc7876', part: "items", class: "bs-navigation-drawer__items" }, h("slot", { key: '56a50dc4c123db7cb2efa15c39cc6f49e819ee3f' })))));
242
242
  }
243
243
  static get is() { return "bs-navigation-drawer"; }
244
244
  static get encapsulation() { return "shadow"; }
@@ -131,7 +131,7 @@ export class BsNavigationDrawerItem {
131
131
  // incorrectly also toggle this parent row on every child click. Both are wrapped in a
132
132
  // `display: contents` container so render() still returns a single root node (this codebase's
133
133
  // convention, e.g. bs-input.tsx) without that wrapper affecting layout at all.
134
- return (h("div", { key: '81e29ccbcc7a513d9caa85982104e4c65919ffce', class: "bs-navigation-drawer-item__root" }, h("button", { key: '68e2c8edd1280f003719751c9cf2aa561ecc9059', type: "button", part: "item", class: rowClasses, "aria-expanded": this.expandable ? String(this.expanded) : undefined, "aria-label": this.ariaLabel ?? undefined, onClick: this.onClick }, !this.nested && (h("span", { key: '7520bf470ed4250c8767905d5b7e05166b2d9f06', part: "icon", class: `bs-navigation-drawer-item__icon ${this.hasIcon ? 'bs-navigation-drawer-item__icon--has-content' : ''}` }, h("slot", { key: 'c8cffca5bb390ab60d68c6c97736053c374bb026', name: "icon", onSlotchange: this.onIconSlotchange }))), h("span", { key: '4f3b8034935678d64a29281f2cfd1ed44250eca2', part: "label", class: "bs-navigation-drawer-item__label" }, h("slot", { key: 'e9f50c5b4dc9e96ed39d85c1daa96981deb7a810' })), this.expandable && (h("span", { key: '369853e213a7ecd0a64ec28d820d40139fb6d68e', part: "chevron", class: `bs-navigation-drawer-item__chevron ${this.expanded ? 'bs-navigation-drawer-item__chevron--expanded' : ''}` }, h(ChevronDownIcon, { key: 'f3d8fcd09d63be37a4b6a1e3cc10240eec5425f9' })))), this.expandable && (h("span", { key: '445291ae6a7f888ac6cb456ada3a7a17cf4638dd', part: "children", class: "bs-navigation-drawer-item__children" }, h("slot", { key: '697e924b580b1fef5f0b5871df38c0bd104982c8', name: "children" })))));
134
+ return (h("div", { key: 'd9db10cc12e5bb94ef9d4ee56717e05dfb6c81d5', class: "bs-navigation-drawer-item__root" }, h("button", { key: 'a8e08b999c594e581cf7bc2f9dd50b63dd6fd5b7', type: "button", part: "item", class: rowClasses, "aria-expanded": this.expandable ? String(this.expanded) : undefined, "aria-label": this.ariaLabel ?? undefined, onClick: this.onClick }, !this.nested && (h("span", { key: '6f57eb21aade5519a8235c9e90c32a700eaef7a4', part: "icon", class: `bs-navigation-drawer-item__icon ${this.hasIcon ? 'bs-navigation-drawer-item__icon--has-content' : ''}` }, h("slot", { key: '26028625770be92dc2761cf596b2bc4a4d0bfb57', name: "icon", onSlotchange: this.onIconSlotchange }))), h("span", { key: '1cbdceae85fe3260092c893131ad3b326d487220', part: "label", class: "bs-navigation-drawer-item__label" }, h("slot", { key: '1ebf7621f785f2c74a35ef74c4f636d5a38825c1' })), this.expandable && (h("span", { key: 'fbbad51caf5dbe3e16e4441ccc5c491c84d96d16', part: "chevron", class: `bs-navigation-drawer-item__chevron ${this.expanded ? 'bs-navigation-drawer-item__chevron--expanded' : ''}` }, h(ChevronDownIcon, { key: '2d70a545c6dba957f610448bec41073b686ce393' })))), this.expandable && (h("span", { key: '59d66b9003e99d048a755200ce29bbae7baa37d1', part: "children", class: "bs-navigation-drawer-item__children" }, h("slot", { key: '46409b5c795e13a3f49bd9c034c2ebc20a27ecf2', name: "children" })))));
135
135
  }
136
136
  static get is() { return "bs-navigation-drawer-item"; }
137
137
  static get encapsulation() { return "shadow"; }
@@ -68,8 +68,8 @@ export class BsNavigationHeader {
68
68
  const showLogo = this.alignment !== 'with-navigation-drawer';
69
69
  const rootClasses = `bs-navigation-header bs-navigation-header--${this.alignment}`;
70
70
  return [
71
- h("header", { key: '3c9fb71de577fc51e54ef408afcbca45e84ce079', class: rootClasses, "aria-label": this.ariaLabel ?? undefined }, this.skipToContentHref && (h("a", { key: '43037609edd64d0c71959032d74889dc6606b35f', part: "skip-link", class: "bs-navigation-header__skip-link", href: this.skipToContentHref }, this.skipToContentLabel)), showLogo && (h("bs-logo", { key: 'cbc5b28a31a5ce411ece05ed001cf4305cad18ab', part: "logo", class: "bs-navigation-header__logo", variant: "full", background: this.logoBackground })), h("div", { key: '26d9fafe4fe95925094037f5cd4160ba32af2a12', part: "left", class: "bs-navigation-header__left" }, h("slot", { key: '784a5580313c462c5e501954e979b01c04ba325e', name: "left" })), h("div", { key: '2269661581210bcad049f58f8e36b2d2cfd5f1a3', part: "right", class: "bs-navigation-header__right" }, h("slot", { key: '8f388585ff868e30816e345811d620dd624c37c2', name: "right" }))),
72
- h("div", { key: '65a6486ebad50bda4723aab3b9eb7a47cc0b17c8', part: "menu", class: "bs-navigation-header__menu" }, h("slot", { key: 'b46c078d0114329c5b10458944f212974c50f098', name: "menu" })),
71
+ h("header", { key: 'e5a6d82f514a4a9a8b9536e20fcca17d1e452dd5', class: rootClasses, "aria-label": this.ariaLabel ?? undefined }, this.skipToContentHref && (h("a", { key: 'a8643e93a72106972c90dc1ae3ded93373a3a92c', part: "skip-link", class: "bs-navigation-header__skip-link", href: this.skipToContentHref }, this.skipToContentLabel)), showLogo && (h("bs-logo", { key: 'ea9b690969ccbc0bbfe3a04db3757103ebdfa48e', part: "logo", class: "bs-navigation-header__logo", variant: "full", background: this.logoBackground })), h("div", { key: '0f594db771b56aa2ef6b273012f2c8adec7dd863', part: "left", class: "bs-navigation-header__left" }, h("slot", { key: 'da581da6eb58bfce585c672afd03aeedcfc9e524', name: "left" })), h("div", { key: '2c8b09111497e393f1daad72834adf556a120030', part: "right", class: "bs-navigation-header__right" }, h("slot", { key: '9a94ec3a103ac001fd54c4b29efdefd4d9fdf89e', name: "right" }))),
72
+ h("div", { key: '7038aad3e3fb78939d5560d6279015cb6b7aa744', part: "menu", class: "bs-navigation-header__menu" }, h("slot", { key: '2dcec3ff4dbae882c7e32c633ce57997a4dc326a', name: "menu" })),
73
73
  ];
74
74
  }
75
75
  static get is() { return "bs-navigation-header"; }
@@ -0,0 +1,37 @@
1
+ /**
2
+ * Small helpers for the enter/exit motion of overlay components (dialog, popover, side panel).
3
+ * The lengths and curves come from CSS custom properties on the host, which alias the shared
4
+ * `--bs-duration-*` / `--bs-easing-*` tokens. Under `prefers-reduced-motion: reduce` those duration
5
+ * tokens are `0ms`, so every helper here reports 0 and callers skip the motion entirely.
6
+ */
7
+ /** Parses a CSS time (`200ms`, `0.2s`) to milliseconds. Anything else is 0. */
8
+ export function parseMs(value) {
9
+ const v = value.trim();
10
+ if (v.endsWith('ms'))
11
+ return parseFloat(v);
12
+ if (v.endsWith('s'))
13
+ return parseFloat(v) * 1000;
14
+ return 0;
15
+ }
16
+ /** Reads a component's motion length (ms), curve and travel distance (px) from custom properties on `host`. */
17
+ export function readMotion(host, prefix) {
18
+ const style = getComputedStyle(host);
19
+ return {
20
+ ms: parseMs(style.getPropertyValue(`--${prefix}-duration`)),
21
+ easing: style.getPropertyValue(`--${prefix}-easing`).trim() || 'ease',
22
+ distance: parseFloat(style.getPropertyValue(`--${prefix}-distance`)) || 0,
23
+ };
24
+ }
25
+ /**
26
+ * Plays `frames` on `el` and resolves when the animation finishes or is cancelled. `fill: 'forwards'`
27
+ * (the default for exits) keeps the end state until the caller removes the element.
28
+ */
29
+ export function play(el, frames, ms, easing, fill = 'none') {
30
+ if (!el)
31
+ return Promise.resolve();
32
+ return el.animate(frames, { duration: ms, easing, fill }).finished.then(() => undefined, () => undefined);
33
+ }
34
+ /** Cancels every running animation on the given elements (restores their normal style). */
35
+ export function cancelMotion(...els) {
36
+ els.forEach(el => el?.getAnimations().forEach(a => a.cancel()));
37
+ }
@@ -1 +1 @@
1
- import{t as o,p as s,H as c,h as r}from"./p-B2gx7SZk.js";const t=s(class extends c{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow()}get el(){return this}multiple=!1;onToggle(o){const s=o.target;if(!s||"bs-accordion"!==s.tagName.toLowerCase())return;const c=o.detail;s.expanded=c,c&&!this.multiple&&Array.from(this.el.querySelectorAll("bs-accordion")).forEach((o=>{o!==s&&(o.expanded=!1)}))}render(){return r("div",{key:"6424b834f6d3b9a06b4cb227bf97850d7b07df97",part:"group",class:"bs-accordion-group"},r("slot",{key:"9f1e0a012b0b240542f202f0242b09ca50c977c2"}))}static get style(){return":host{display:block;--bs-accordion-group-gap:0}.bs-accordion-group{display:flex;flex-direction:column;gap:var(--bs-accordion-group-gap)}"}},[769,"bs-accordion-group",{multiple:[4]},[[0,"bsToggle","onToggle"]]]);function e(){"undefined"!=typeof customElements&&["bs-accordion-group"].forEach((s=>{"bs-accordion-group"===s&&(customElements.get(o(s))||customElements.define(o(s),t))}))}e();const n=t,i=e;export{n as BsAccordionGroup,i as defineCustomElement}
1
+ import{t as o,p as s,H as c,h as e}from"./p-B2gx7SZk.js";const r=s(class extends c{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow()}get el(){return this}multiple=!1;onToggle(o){const s=o.target;if(!s||"bs-accordion"!==s.tagName.toLowerCase())return;const c=o.detail;s.expanded=c,c&&!this.multiple&&Array.from(this.el.querySelectorAll("bs-accordion")).forEach((o=>{o!==s&&(o.expanded=!1)}))}render(){return e("div",{key:"f3c43bbdb41aacc19356b37b736dbbe92dbee8c9",part:"group",class:"bs-accordion-group"},e("slot",{key:"5ad2f89cd263163bd153473e0bae103655426588"}))}static get style(){return":host{display:block;--bs-accordion-group-gap:0}.bs-accordion-group{display:flex;flex-direction:column;gap:var(--bs-accordion-group-gap)}"}},[769,"bs-accordion-group",{multiple:[4]},[[0,"bsToggle","onToggle"]]]);function t(){"undefined"!=typeof customElements&&["bs-accordion-group"].forEach((s=>{"bs-accordion-group"===s&&(customElements.get(o(s))||customElements.define(o(s),r))}))}t();const n=r,a=t;export{n as BsAccordionGroup,a as defineCustomElement}
@@ -1 +1 @@
1
- import{t as o,p as a,H as i,c as e,h as c}from"./p-B2gx7SZk.js";const n=a(class extends i{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.bsToggle=e(this,"bsToggle")}expanded=!1;size="medium";disabled=!1;showIcon=!0;showPreview=!0;bsToggle;onActivate=()=>{this.disabled||this.bsToggle.emit(!this.expanded)};render(){return c("div",{key:"2774538f3bc8d52e5a295edafbdad5e2a12dddda",part:"container",class:`bs-accordion bs-accordion--${this.size} ${this.disabled?"bs-accordion--disabled":""}`},c("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":this.expanded+"",onClick:this.onActivate},this.showIcon&&c("span",{key:"abd274cb295ae34e9220846a1e8466623f65663a",part:"icon",class:"bs-accordion__icon bs-accordion__icon--"+this.size,"aria-hidden":"true"},c("slot",{key:"d9c4c429852c77f4a10c05eb247a9d3d35559ef6",name:"icon"},c(d,{key:"2fb492c43754a517e4e98b684f811be21777e849"}))),c("span",{key:"a02484f1a47148493fbc193bc4b9daa8e4c634e7",part:"label",class:"bs-accordion__label "+(this.showIcon?"":"bs-accordion__label--no-icon")},c("slot",{key:"8241ccee7233e85c2d69c225c07e67b982674ef7",name:"label"})),c("span",{key:"6e36ee8dbd22ca924f9d8ea8b5c3017c5478f058",part:"caret",class:"bs-accordion__caret bs-accordion__caret--"+this.size,"aria-hidden":"true"},c(this.expanded?s:r,null))),(this.expanded||this.showPreview)&&c("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"}`},c("slot",{key:"6a60fd12ed4ec7e3b4ab0e56414e0a90c4f5d889"})))}static get style(){return":host{display:block;--bs-accordion-radius:var(--bs-border-radius-100);--bs-accordion-header-padding-y-medium:var(--bs-spacing-150);--bs-accordion-header-padding-y-large:var(--bs-spacing-250);--bs-accordion-header-padding-x:var(--bs-spacing-200);--bs-accordion-content-padding-bottom:var(--bs-spacing-150);--bs-accordion-content-padding-right:var(--bs-spacing-200);--bs-accordion-content-padding-left:var(--bs-spacing-800);--bs-accordion-content-padding-left-no-icon:var(--bs-spacing-200);--bs-accordion-icon-width-medium:var(--bs-spacing-800);--bs-accordion-icon-height-medium:48px;--bs-accordion-icon-size-large:var(--bs-spacing-800);--bs-accordion-font-size:var(--bs-font-size-md);--bs-accordion-line-height:var(--bs-line-height-body-md);--bs-accordion-font-weight:var(--bs-font-weight-semibold);--bs-accordion-text-default:var(--bs-text-default);--bs-accordion-bg-hover:var(--bs-surface-hover);--bs-accordion-bg-disabled:var(--bs-surface-action-disabled);--bs-accordion-text-disabled:var(--bs-text-on-disabled);--bs-accordion-focus-ring:var(--bs-border-neutral-focus)}.bs-accordion{display:block;border-radius:var(--bs-accordion-radius);overflow:hidden;font-family:inherit}.bs-accordion:has(.bs-accordion__header:hover),.bs-accordion:has(.bs-accordion__header:active){background:var(--bs-accordion-bg-hover)}.bs-accordion:has(.bs-accordion__header:focus-visible){background:var(--bs-accordion-bg-hover);outline:2px solid var(--bs-accordion-focus-ring);outline-offset:2px;border-radius:calc(var(--bs-accordion-radius) + 2px)}.bs-accordion__header{display:flex;align-items:center;width:100%;border:none;background:transparent;color:var(--bs-accordion-text-default);padding:0;cursor:pointer;font-family:inherit;text-align:start}.bs-accordion__header:focus-visible{outline:none}.bs-accordion__header--medium{padding-top:var(--bs-accordion-header-padding-y-medium);padding-bottom:var(--bs-accordion-header-padding-y-medium)}.bs-accordion__header--large{padding-top:var(--bs-accordion-header-padding-y-large);padding-bottom:var(--bs-accordion-header-padding-y-large)}.bs-accordion__header:disabled{background:var(--bs-accordion-bg-disabled);color:var(--bs-accordion-text-disabled);cursor:default}.bs-accordion__icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;color:inherit}.bs-accordion__icon svg{width:24px;height:24px}.bs-accordion__icon--medium{width:var(--bs-accordion-icon-width-medium);height:var(--bs-accordion-icon-height-medium)}.bs-accordion__icon--large{width:var(--bs-accordion-icon-size-large);height:var(--bs-accordion-icon-size-large)}.bs-accordion__label{flex:1 1 auto;min-width:0;font-size:var(--bs-accordion-font-size);line-height:calc(var(--bs-accordion-line-height) * 1px);font-weight:var(--bs-accordion-font-weight)}.bs-accordion__label--no-icon{padding-inline-start:var(--bs-accordion-header-padding-x)}.bs-accordion__caret{display:flex;align-items:center;justify-content:center;flex-shrink:0;color:inherit}.bs-accordion__caret svg{width:24px;height:24px}.bs-accordion__caret--medium{width:var(--bs-accordion-icon-width-medium);height:var(--bs-accordion-icon-height-medium)}.bs-accordion__caret--large{width:var(--bs-accordion-icon-size-large);height:var(--bs-accordion-icon-size-large)}.bs-accordion__content{padding-top:0;padding-bottom:var(--bs-accordion-content-padding-bottom);padding-inline-end:var(--bs-accordion-content-padding-right);padding-inline-start:var(--bs-accordion-content-padding-left);color:var(--bs-accordion-text-default);font-size:var(--bs-accordion-font-size);line-height:calc(var(--bs-accordion-line-height) * 1px)}.bs-accordion__content--no-icon{padding-inline-start:var(--bs-accordion-content-padding-left-no-icon)}.bs-accordion__content--collapsed{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bs-accordion--disabled .bs-accordion__content{background:var(--bs-accordion-bg-disabled);color:var(--bs-accordion-text-disabled)}"}},[769,"bs-accordion",{expanded:[516],size:[1],disabled:[4],showIcon:[4,"show-icon"],showPreview:[4,"show-preview"]}]),d=()=>c("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},c("path",{d:"M12 5V19",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),c("path",{d:"M5 12H19",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})),r=()=>c("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},c("path",{d:"M6 9.75L12 15.75L18 9.75",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})),s=()=>c("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},c("path",{d:"M6 14.25L12 8.25L18 14.25",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}));function t(){"undefined"!=typeof customElements&&["bs-accordion"].forEach((a=>{"bs-accordion"===a&&(customElements.get(o(a))||customElements.define(o(a),n))}))}t();const b=n,l=t;export{b as BsAccordion,l as defineCustomElement}
1
+ import{t as o,p as i,H as a,c as e,h as n}from"./p-B2gx7SZk.js";const c=i(class extends a{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.bsToggle=e(this,"bsToggle")}get el(){return this}expanded=!1;size="medium";disabled=!1;showIcon=!0;showPreview=!0;bsToggle;closing=!1;contentEl;animation;fromHeight=0;fromPadding="0px";pendingAnimation=!1;onExpandedChange(o){const i=this.contentEl;this.fromHeight=i?i.getBoundingClientRect().height:0,this.fromPadding=i?getComputedStyle(i).paddingBottom:"0px",this.animation?.cancel(),this.pendingAnimation=!0,o||this.showPreview||(this.closing=!0)}componentDidRender(){if(!this.pendingAnimation)return;this.pendingAnimation=!1;const o=this.contentEl,i=getComputedStyle(this.el),a=this.toMs(i.getPropertyValue("--bs-accordion-duration"));if(!o||0===a)return void(this.closing=!1);const e=!this.expanded&&!this.showPreview,n=e?0:o.getBoundingClientRect().height,c=e?"0px":getComputedStyle(o).paddingBottom;this.animation=o.animate([{height:this.fromHeight+"px",paddingBottom:this.fromPadding,overflow:"hidden"},{height:n+"px",paddingBottom:c,overflow:"hidden"}],{duration:a,easing:i.getPropertyValue("--bs-accordion-easing").trim()||"ease"}),this.animation.onfinish=()=>{this.closing=!1}}toMs(o){const i=o.trim();return i.endsWith("ms")?parseFloat(i):i.endsWith("s")?1e3*parseFloat(i):0}onActivate=()=>{this.disabled||this.bsToggle.emit(!this.expanded)};render(){return n("div",{key:"b7645b3be5116d906a2aa6e4e680859a9c19323f",part:"container",class:`bs-accordion bs-accordion--${this.size} ${this.disabled?"bs-accordion--disabled":""}`},n("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":this.expanded+"",onClick:this.onActivate},this.showIcon&&n("span",{key:"5d35f4e2c05704a6bef532919301e765f8195aa7",part:"icon",class:"bs-accordion__icon bs-accordion__icon--"+this.size,"aria-hidden":"true"},n("slot",{key:"137280692f375379ef43be918094192d6030e2ad",name:"icon"},n(d,{key:"8826de2813774382dcf21e856288ff936eb12425"}))),n("span",{key:"57f370d082a86b7488bf309a114b82077d1f6711",part:"label",class:"bs-accordion__label "+(this.showIcon?"":"bs-accordion__label--no-icon")},n("slot",{key:"5563063582ee2e1fb79d02acdc3d0feb5ac07eec",name:"label"})),n("span",{key:"8d8afd4433823aa8122b2ed167fd5ed3c32dc21a",part:"caret",class:`bs-accordion__caret bs-accordion__caret--${this.size} ${this.expanded?"bs-accordion__caret--open":""}`,"aria-hidden":"true"},n(r,{key:"51dfcbdfa5ccff5c3e6a6c2f983fc4d7fb460c18"}))),(this.expanded||this.showPreview||this.closing)&&n("div",{key:"8d62decaf3dc7a98f91eaea1723fc26a8fc520a4",ref:o=>this.contentEl=o,part:"content",class:`bs-accordion__content ${this.showIcon?"":"bs-accordion__content--no-icon"} ${this.expanded?"bs-accordion__content--expanded":"bs-accordion__content--collapsed"}`},n("slot",{key:"56493eb5b425134b38ac60f481219a823379626e"})))}static get watchers(){return{expanded:[{onExpandedChange:0}]}}static get style(){return":host{display:block;--bs-accordion-radius:var(--bs-border-radius-100);--bs-accordion-header-padding-y-medium:var(--bs-spacing-150);--bs-accordion-header-padding-y-large:var(--bs-spacing-250);--bs-accordion-header-padding-x:var(--bs-spacing-200);--bs-accordion-content-padding-bottom:var(--bs-spacing-150);--bs-accordion-content-padding-right:var(--bs-spacing-200);--bs-accordion-content-padding-left:var(--bs-spacing-800);--bs-accordion-content-padding-left-no-icon:var(--bs-spacing-200);--bs-accordion-icon-width-medium:var(--bs-spacing-800);--bs-accordion-icon-height-medium:48px;--bs-accordion-icon-size-large:var(--bs-spacing-800);--bs-accordion-font-size:var(--bs-font-size-md);--bs-accordion-line-height:var(--bs-line-height-body-md);--bs-accordion-font-weight:var(--bs-font-weight-semibold);--bs-accordion-text-default:var(--bs-text-default);--bs-accordion-bg-hover:var(--bs-surface-hover);--bs-accordion-bg-disabled:var(--bs-surface-action-disabled);--bs-accordion-text-disabled:var(--bs-text-on-disabled);--bs-accordion-focus-ring:var(--bs-border-neutral-focus);--bs-accordion-duration:var(--bs-duration-default);--bs-accordion-easing:var(--bs-easing-standard)}.bs-accordion{display:block;border-radius:var(--bs-accordion-radius);overflow:hidden;font-family:inherit;transition:background-color var(--bs-accordion-duration) var(--bs-accordion-easing)}.bs-accordion:has(.bs-accordion__header:hover),.bs-accordion:has(.bs-accordion__header:active){background:var(--bs-accordion-bg-hover)}.bs-accordion:has(.bs-accordion__header:focus-visible){background:var(--bs-accordion-bg-hover);outline:2px solid var(--bs-accordion-focus-ring);outline-offset:2px;border-radius:calc(var(--bs-accordion-radius) + 2px)}.bs-accordion__header{display:flex;align-items:center;width:100%;border:none;background:transparent;color:var(--bs-accordion-text-default);padding:0;cursor:pointer;font-family:inherit;text-align:start}.bs-accordion__header:focus-visible{outline:none}.bs-accordion__header--medium{padding-top:var(--bs-accordion-header-padding-y-medium);padding-bottom:var(--bs-accordion-header-padding-y-medium)}.bs-accordion__header--large{padding-top:var(--bs-accordion-header-padding-y-large);padding-bottom:var(--bs-accordion-header-padding-y-large)}.bs-accordion__header:disabled{background:var(--bs-accordion-bg-disabled);color:var(--bs-accordion-text-disabled);cursor:default}.bs-accordion__icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;color:inherit}.bs-accordion__icon svg{width:24px;height:24px}.bs-accordion__icon--medium{width:var(--bs-accordion-icon-width-medium);height:var(--bs-accordion-icon-height-medium)}.bs-accordion__icon--large{width:var(--bs-accordion-icon-size-large);height:var(--bs-accordion-icon-size-large)}.bs-accordion__label{flex:1 1 auto;min-width:0;font-size:var(--bs-accordion-font-size);line-height:calc(var(--bs-accordion-line-height) * 1px);font-weight:var(--bs-accordion-font-weight)}.bs-accordion__label--no-icon{padding-inline-start:var(--bs-accordion-header-padding-x)}.bs-accordion__caret{display:flex;align-items:center;justify-content:center;flex-shrink:0;color:inherit}.bs-accordion__caret{transition:transform var(--bs-accordion-duration) var(--bs-accordion-easing)}.bs-accordion__caret--open{transform:rotate(180deg)}.bs-accordion__caret svg{width:24px;height:24px}.bs-accordion__caret--medium{width:var(--bs-accordion-icon-width-medium);height:var(--bs-accordion-icon-height-medium)}.bs-accordion__caret--large{width:var(--bs-accordion-icon-size-large);height:var(--bs-accordion-icon-size-large)}.bs-accordion__content{box-sizing:border-box;padding-top:0;padding-bottom:var(--bs-accordion-content-padding-bottom);padding-inline-end:var(--bs-accordion-content-padding-right);padding-inline-start:var(--bs-accordion-content-padding-left);color:var(--bs-accordion-text-default);font-size:var(--bs-accordion-font-size);line-height:calc(var(--bs-accordion-line-height) * 1px)}.bs-accordion__content--no-icon{padding-inline-start:var(--bs-accordion-content-padding-left-no-icon)}.bs-accordion__content--collapsed{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bs-accordion--disabled .bs-accordion__content{background:var(--bs-accordion-bg-disabled);color:var(--bs-accordion-text-disabled)}"}},[769,"bs-accordion",{expanded:[516],size:[1],disabled:[4],showIcon:[4,"show-icon"],showPreview:[4,"show-preview"],closing:[32]},void 0,{expanded:[{onExpandedChange:0}]}]),d=()=>n("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},n("path",{d:"M12 5V19",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),n("path",{d:"M5 12H19",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})),r=()=>n("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},n("path",{d:"M6 9.75L12 15.75L18 9.75",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}));function s(){"undefined"!=typeof customElements&&["bs-accordion"].forEach((i=>{"bs-accordion"===i&&(customElements.get(o(i))||customElements.define(o(i),c))}))}s();const t=c,b=s;export{t as BsAccordion,b as defineCustomElement}
@@ -1 +1 @@
1
- import{t as e,p as i,H as s,h as a}from"./p-B2gx7SZk.js";const t=i(class extends s{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow()}render(){return a("div",{key:"40d8b2e77afc19a9e7ef192e2cff44e6589dd693",class:"bs-ai-disclaimer"},a("p",{key:"a9702343421808cdbb6e6d9e3a5c6d66e7b43f8a",part:"text",class:"bs-ai-disclaimer__text"},a("slot",{key:"62950b55efe5c08769790c095c2ed3a082a36201"})))}static get style(){return":host{display:block;--bs-ai-disclaimer-padding-x:var(--bs-spacing-200);--bs-ai-disclaimer-text-color:var(--bs-text-secondary);--bs-ai-disclaimer-font-size:var(--bs-font-size-sm);--bs-ai-disclaimer-line-height:var(--bs-line-height-body-sm)}.bs-ai-disclaimer{box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:0 var(--bs-ai-disclaimer-padding-x);font-family:inherit}.bs-ai-disclaimer__text{margin:0;flex:1 0 0;min-width:0;color:var(--bs-ai-disclaimer-text-color);font-size:var(--bs-ai-disclaimer-font-size);line-height:calc(var(--bs-ai-disclaimer-line-height) * 1px);text-align:center;word-break:break-word}"}},[257,"bs-ai-disclaimer"]);function r(){"undefined"!=typeof customElements&&["bs-ai-disclaimer"].forEach((i=>{"bs-ai-disclaimer"===i&&(customElements.get(e(i))||customElements.define(e(i),t))}))}r();const c=t,d=r;export{c as BsAiDisclaimer,d as defineCustomElement}
1
+ import{t as i,p as e,H as s,h as a}from"./p-B2gx7SZk.js";const t=e(class extends s{constructor(i){super(),!1!==i&&this.__registerHost(),this.__attachShadow()}render(){return a("div",{key:"c60fa36f1340f01982c9084dcc24d875df50d33f",class:"bs-ai-disclaimer"},a("p",{key:"19d76fe258f68e2e0e2a0f7f22a6775c7522cef0",part:"text",class:"bs-ai-disclaimer__text"},a("slot",{key:"66861e47f7da39e0b1e162d327dedf0d57fcaf2f"})))}static get style(){return":host{display:block;--bs-ai-disclaimer-padding-x:var(--bs-spacing-200);--bs-ai-disclaimer-text-color:var(--bs-text-secondary);--bs-ai-disclaimer-font-size:var(--bs-font-size-sm);--bs-ai-disclaimer-line-height:var(--bs-line-height-body-sm)}.bs-ai-disclaimer{box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:0 var(--bs-ai-disclaimer-padding-x);font-family:inherit}.bs-ai-disclaimer__text{margin:0;flex:1 0 0;min-width:0;color:var(--bs-ai-disclaimer-text-color);font-size:var(--bs-ai-disclaimer-font-size);line-height:calc(var(--bs-ai-disclaimer-line-height) * 1px);text-align:center;word-break:break-word}"}},[257,"bs-ai-disclaimer"]);function r(){"undefined"!=typeof customElements&&["bs-ai-disclaimer"].forEach((e=>{"bs-ai-disclaimer"===e&&(customElements.get(i(e))||customElements.define(i(e),t))}))}r();const c=t,d=r;export{c as BsAiDisclaimer,d as defineCustomElement}