@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
@@ -1,4 +1,5 @@
1
1
  import { render, h, describe, it, expect, afterEach } from "@stencil/vitest";
2
+ const wait = (ms) => new Promise(resolve => setTimeout(resolve, ms));
2
3
  describe('bs-dialog', () => {
3
4
  afterEach(() => {
4
5
  document.querySelectorAll('button[data-test-trigger]').forEach(el => el.remove());
@@ -98,6 +99,9 @@ describe('bs-dialog', () => {
98
99
  await waitForChanges();
99
100
  expect(closeSpy).toHaveReceivedEventTimes(1);
100
101
  expect(root).not.toHaveAttribute('open');
102
+ // Closing plays a short exit motion, then the dialog is removed.
103
+ await new Promise(resolve => setTimeout(resolve, 450));
104
+ await waitForChanges();
101
105
  expect(root.shadowRoot.querySelector('[part="dialog"]')).toBeNull();
102
106
  });
103
107
  it('closes when the backdrop itself is clicked, but not when the dialog inside it is clicked', async () => {
@@ -159,4 +163,32 @@ describe('bs-dialog', () => {
159
163
  await waitForChanges();
160
164
  expect(document.activeElement).toBe(trigger);
161
165
  });
166
+ describe('open/close motion', () => {
167
+ it('stays mounted while the exit plays, then unmounts', async () => {
168
+ const { root, waitForChanges } = await render(h("bs-dialog", { open: true, style: { '--bs-dialog-duration': '150ms' } }, "Body"));
169
+ root.open = false;
170
+ await waitForChanges();
171
+ expect(root.shadowRoot.querySelector('[part="dialog"]')).not.toBeNull();
172
+ expect(root.shadowRoot.querySelector('[part="backdrop"]')).toHaveClass('bs-dialog__backdrop--closing');
173
+ await wait(400);
174
+ await waitForChanges();
175
+ expect(root.shadowRoot.querySelector('[part="dialog"]')).toBeNull();
176
+ });
177
+ it('unmounts immediately when the duration is 0ms', async () => {
178
+ const { root, waitForChanges } = await render(h("bs-dialog", { open: true, style: { '--bs-dialog-duration': '0ms' } }, "Body"));
179
+ root.open = false;
180
+ await waitForChanges();
181
+ expect(root.shadowRoot.querySelector('[part="dialog"]')).toBeNull();
182
+ });
183
+ it('re-opening mid-exit keeps the dialog', async () => {
184
+ const { root, waitForChanges } = await render(h("bs-dialog", { open: true, style: { '--bs-dialog-duration': '300ms' } }, "Body"));
185
+ root.open = false;
186
+ await waitForChanges();
187
+ root.open = true;
188
+ await waitForChanges();
189
+ await wait(500);
190
+ expect(root.shadowRoot.querySelector('[part="dialog"]')).not.toBeNull();
191
+ expect(root.shadowRoot.querySelector('[part="backdrop"]')).not.toHaveClass('bs-dialog__backdrop--closing');
192
+ });
193
+ });
162
194
  });
@@ -1,3 +1,14 @@
1
+ /**
2
+ * @prop --bs-dialog-duration: Length of the open/close motion. Aliased to --bs-duration-default.
3
+ * @prop --bs-dialog-easing: Curve of the open/close motion. Aliased to --bs-easing-standard.
4
+ * @prop --bs-dialog-distance: How far the dialog lifts while it fades in/out. Aliased to --bs-spacing-200.
5
+ */
6
+ :host {
7
+ --bs-dialog-duration: var(--bs-duration-default);
8
+ --bs-dialog-easing: var(--bs-easing-standard);
9
+ --bs-dialog-distance: var(--bs-spacing-200);
10
+ }
11
+
1
12
  .bs-dialog__backdrop {
2
13
  position: fixed;
3
14
  inset: 0;
@@ -8,6 +19,11 @@
8
19
  background: rgba(0, 0, 0, 0.4);
9
20
  }
10
21
 
22
+ .bs-dialog__backdrop--closing {
23
+ /* The dialog is on its way out: clicks must not land on it, or on the page behind through it. */
24
+ pointer-events: none;
25
+ }
26
+
11
27
  .bs-dialog__dialog {
12
28
  position: relative;
13
29
  display: flex;
@@ -1,4 +1,5 @@
1
1
  import { h } from "@stencil/core";
2
+ import { cancelMotion, play, readMotion } from "../../utils/motion";
2
3
  /**
3
4
  * An overlay dialog that interrupts the current flow for a focused task or confirmation.
4
5
  * Closes itself on backdrop click, Escape, or its own close button, and emits `bsClose`.
@@ -32,8 +33,13 @@ import { h } from "@stencil/core";
32
33
  * @part close - The close button (inline in the header, or floating -- see the class doc above).
33
34
  * @part body - The body content wrapper.
34
35
  * @part footer - The footer wrapper (only visible when the footer slot has content).
36
+ *
37
+ * Opening fades the backdrop in and lifts the dialog into place; closing plays the same motion in
38
+ * reverse before the dialog is removed. Length, curve and travel are `--bs-dialog-duration`,
39
+ * `--bs-dialog-easing` and `--bs-dialog-distance`. Under `prefers-reduced-motion: reduce` it is instant.
35
40
  */
36
41
  export class BsDialog {
42
+ el;
37
43
  /** Mutable + reflected so the component can close itself (backdrop click, Escape, close button)
38
44
  * the same way a native `<dialog>` does, while still emitting `bsClose` for the consumer to react to. */
39
45
  open = false;
@@ -67,6 +73,42 @@ export class BsDialog {
67
73
  onIconSlotchange = (ev) => {
68
74
  this.hasIcon = ev.target.assignedNodes().length > 0;
69
75
  };
76
+ /** True while the exit motion plays after `open` went false, so the dialog stays mounted for it. */
77
+ closing = false;
78
+ backdropRef;
79
+ enterPending = false;
80
+ exitPending = false;
81
+ motionRun = 0;
82
+ onOpenChange(next) {
83
+ this.motionRun++;
84
+ cancelMotion(this.backdropRef, this.dialogRef);
85
+ if (next) {
86
+ this.closing = false;
87
+ this.enterPending = true;
88
+ }
89
+ else if (this.wasOpen && readMotion(this.el, 'bs-dialog').ms > 0) {
90
+ this.closing = true;
91
+ this.exitPending = true;
92
+ }
93
+ }
94
+ playEnter() {
95
+ const { ms, easing, distance } = readMotion(this.el, 'bs-dialog');
96
+ if (ms === 0)
97
+ return;
98
+ play(this.backdropRef, [{ opacity: 0 }, { opacity: 1 }], ms, easing);
99
+ play(this.dialogRef, [{ opacity: 0, transform: `translateY(${distance}px) scale(0.96)` }, { opacity: 1, transform: 'none' }], ms, easing);
100
+ }
101
+ playExit() {
102
+ const { ms, easing, distance } = readMotion(this.el, 'bs-dialog');
103
+ const run = ++this.motionRun;
104
+ Promise.all([
105
+ play(this.backdropRef, [{ opacity: 1 }, { opacity: 0 }], ms, easing, 'forwards'),
106
+ play(this.dialogRef, [{ opacity: 1, transform: 'none' }, { opacity: 0, transform: `translateY(${distance}px) scale(0.96)` }], ms, easing, 'forwards'),
107
+ ]).then(() => {
108
+ if (run === this.motionRun)
109
+ this.closing = false;
110
+ });
111
+ }
70
112
  dialogRef;
71
113
  previouslyFocused;
72
114
  previousBodyOverflow;
@@ -99,6 +141,14 @@ export class BsDialog {
99
141
  }
100
142
  }
101
143
  componentDidRender() {
144
+ if (this.open && this.enterPending) {
145
+ this.enterPending = false;
146
+ this.playEnter();
147
+ }
148
+ else if (!this.open && this.closing && this.exitPending) {
149
+ this.exitPending = false;
150
+ this.playExit();
151
+ }
102
152
  if (this.open && !this.wasOpen) {
103
153
  this.previouslyFocused = document.activeElement;
104
154
  // Deferred to the next frame -- calling .focus() synchronously here, in the same task as
@@ -130,13 +180,13 @@ export class BsDialog {
130
180
  }
131
181
  }
132
182
  render() {
133
- if (!this.open) {
183
+ if (!this.open && !this.closing) {
134
184
  return null;
135
185
  }
136
186
  // The close button floats (absolute, over the top of the dialog) whenever there's a hero image
137
187
  // to sit over, or the centered layout has no header row to put an inline close button in.
138
188
  const floatingClose = this.centered || this.hasImage;
139
- return (h("div", { part: "backdrop", class: "bs-dialog__backdrop", onClick: this.onBackdropClick }, h("div", { ref: el => (this.dialogRef = el), tabIndex: -1, part: "dialog", class: `bs-dialog__dialog bs-dialog__dialog--${this.size}`, role: "dialog", "aria-modal": "true", "aria-label": this.heading }, floatingClose && (h("bs-icon-button", { part: "close", class: "bs-dialog__close--floating", variant: "neutral", size: "md", "aria-label": this.closeLabel, onClick: this.close }, h(CloseIcon, null))), h("div", { part: "image", class: `bs-dialog__image ${this.hasImage ? 'bs-dialog__image--visible' : ''}` }, h("slot", { name: "image", onSlotchange: this.onImageSlotchange })), this.centered && (h("div", { part: "icon", class: `bs-dialog__icon ${this.hasIcon ? 'bs-dialog__icon--visible' : ''}` }, h("slot", { name: "icon", onSlotchange: this.onIconSlotchange }))), h("div", { part: "header", class: `bs-dialog__header ${this.centered ? 'bs-dialog__header--centered' : ''}` }, h("span", { class: "bs-dialog__heading" }, this.heading), !floatingClose && (h("bs-icon-button", { part: "close", variant: "subtle", size: "md", "aria-label": this.closeLabel, onClick: this.close }, h(CloseIcon, null)))), h("div", { part: "body", class: `bs-dialog__body ${this.centered ? 'bs-dialog__body--centered' : ''}` }, h("slot", null)), h("div", { part: "footer", class: `bs-dialog__footer ${this.hasFooter ? 'bs-dialog__footer--visible' : ''}` }, h("slot", { name: "footer", onSlotchange: this.onFooterSlotchange })))));
189
+ return (h("div", { ref: el => (this.backdropRef = el), part: "backdrop", class: `bs-dialog__backdrop ${this.open ? '' : 'bs-dialog__backdrop--closing'}`, onClick: this.onBackdropClick }, h("div", { ref: el => (this.dialogRef = el), tabIndex: -1, part: "dialog", class: `bs-dialog__dialog bs-dialog__dialog--${this.size}`, role: "dialog", "aria-modal": "true", "aria-label": this.heading }, floatingClose && (h("bs-icon-button", { part: "close", class: "bs-dialog__close--floating", variant: "neutral", size: "md", "aria-label": this.closeLabel, onClick: this.close }, h(CloseIcon, null))), h("div", { part: "image", class: `bs-dialog__image ${this.hasImage ? 'bs-dialog__image--visible' : ''}` }, h("slot", { name: "image", onSlotchange: this.onImageSlotchange })), this.centered && (h("div", { part: "icon", class: `bs-dialog__icon ${this.hasIcon ? 'bs-dialog__icon--visible' : ''}` }, h("slot", { name: "icon", onSlotchange: this.onIconSlotchange }))), h("div", { part: "header", class: `bs-dialog__header ${this.centered ? 'bs-dialog__header--centered' : ''}` }, h("span", { class: "bs-dialog__heading" }, this.heading), !floatingClose && (h("bs-icon-button", { part: "close", variant: "subtle", size: "md", "aria-label": this.closeLabel, onClick: this.close }, h(CloseIcon, null)))), h("div", { part: "body", class: `bs-dialog__body ${this.centered ? 'bs-dialog__body--centered' : ''}` }, h("slot", null)), h("div", { part: "footer", class: `bs-dialog__footer ${this.hasFooter ? 'bs-dialog__footer--visible' : ''}` }, h("slot", { name: "footer", onSlotchange: this.onFooterSlotchange })))));
140
190
  }
141
191
  static get is() { return "bs-dialog"; }
142
192
  static get encapsulation() { return "shadow"; }
@@ -263,7 +313,8 @@ export class BsDialog {
263
313
  return {
264
314
  "hasFooter": {},
265
315
  "hasImage": {},
266
- "hasIcon": {}
316
+ "hasIcon": {},
317
+ "closing": {}
267
318
  };
268
319
  }
269
320
  static get events() {
@@ -284,6 +335,13 @@ export class BsDialog {
284
335
  }
285
336
  }];
286
337
  }
338
+ static get elementRef() { return "el"; }
339
+ static get watchers() {
340
+ return [{
341
+ "propName": "open",
342
+ "methodName": "onOpenChange"
343
+ }];
344
+ }
287
345
  static get listeners() {
288
346
  return [{
289
347
  "name": "keydown",
@@ -28,7 +28,7 @@ export class BsDivider {
28
28
  const a11y = this.decorative
29
29
  ? { role: 'none', 'aria-hidden': 'true' }
30
30
  : { role: 'separator', 'aria-orientation': orientation };
31
- return (h(Host, { key: '858582c09f3f2712a3ee9d51a80a1f53b2a29dfb', ...a11y }, h("div", { key: '184d290fbfdabab256850af57792e7d6c5ebf563', class: "line", part: "line" })));
31
+ return (h(Host, { key: 'e075bd62e465491383d5377676b87c297f32f623', ...a11y }, h("div", { key: '0eb6f8b8b36d4da2ead95d19193e111060ca0b10', class: "line", part: "line" })));
32
32
  }
33
33
  static get is() { return "bs-divider"; }
34
34
  static get encapsulation() { return "shadow"; }
@@ -61,7 +61,7 @@ export class BsEmptyState {
61
61
  render() {
62
62
  const level = Math.min(6, Math.max(2, Math.round(Number(this.headingLevel)) || 3));
63
63
  const Heading = `h${level}`;
64
- return (h("div", { key: 'dabc994fcb254cb35958f8bde54d7935bb6ff70a', part: "container", class: "bs-empty-state" }, h("bs-icon-tile", { key: 'efec1cc06eb3447fbd81b12634c12ee96f9fd0d2', part: "icon", size: "lg", intent: this.intent }, this.hasIcon && h("slot", { key: 'd8a7482e2b32f6361b82232652edcc1aadb74a5b', name: "icon" })), this.heading && (h(Heading, { key: '6625baa3d00097951042608aeb888f7c1665e987', part: "heading", class: "bs-empty-state__heading" }, this.heading)), (this.description || this.hasDescriptionSlot) && (h("p", { key: 'c367d9d3aa154e8413c04ca47de7cd9f5eed6883', part: "description", class: "bs-empty-state__description" }, this.hasDescriptionSlot ? h("slot", null) : this.description)), this.hasAction && (h("div", { key: '7b9b78de4e71e6d07d94d4595290492542d7bf62', part: "action", class: "bs-empty-state__action" }, h("slot", { key: '7b57218ca03edfd6f972a2bb6ce458db8dc33d9a', name: "action" })))));
64
+ return (h("div", { key: '7c9a598641c29fd747d042759d1b84401a2102d5', part: "container", class: "bs-empty-state" }, h("bs-icon-tile", { key: 'a11aa98623be1b76678092fc1a81dec33fb77e63', part: "icon", size: "lg", intent: this.intent }, this.hasIcon && h("slot", { key: 'f91436013c89319f2a06ae38f12c655d023bf485', name: "icon" })), this.heading && (h(Heading, { key: 'c93b6af8f937dafa8e1047384ed1246b7db6df4c', part: "heading", class: "bs-empty-state__heading" }, this.heading)), (this.description || this.hasDescriptionSlot) && (h("p", { key: '05a336857bb29e1df9405cf8cb5d0ae0f6d28f74', part: "description", class: "bs-empty-state__description" }, this.hasDescriptionSlot ? h("slot", null) : this.description)), this.hasAction && (h("div", { key: '02dbc3448e2cbe706c3db1c9bfbf70e8c129c36f', part: "action", class: "bs-empty-state__action" }, h("slot", { key: '42f3ec130d476919046540406af68d686d425c19', name: "action" })))));
65
65
  }
66
66
  static get is() { return "bs-empty-state"; }
67
67
  static get encapsulation() { return "shadow"; }
@@ -65,7 +65,7 @@ export class BsErrorPage {
65
65
  const primary = this.primaryLabel ?? d.primary;
66
66
  const secondary = this.secondaryLabel ?? d.secondary;
67
67
  const level = Math.min(6, Math.max(1, Math.trunc(Number(this.headingLevel)) || 1));
68
- return (h("bs-card", { key: '4214c79438721c66089be3a4ae64fcd6bdcbdea6', part: "container", class: "bs-error-page", surface: "base" }, h("div", { key: '39b2a7292d488442fc2465635a5be9dd704dc42e', class: "bs-error-page__body" }, h("div", { key: 'beb353eefb6b77b03fe7d1ea3894b6a625eebe06', class: "bs-error-page__art-group" }, h("bs-icon-tile", { key: '516a9c87ddb3ac5140d2880d4638eb5eca01db73', part: "art", class: `bs-error-page__art ${d.info ? 'bs-error-page__art--info' : ''}`, intent: d.intent, size: "lg" }, h("slot", { key: '3c3029ce78413f49c4bb839260c432848329b428', name: "icon" }, d.glyph())), code && (h("span", { key: 'fc4058b507c0b60ca417f09f7838664716b17fc3', part: "code", class: "bs-error-page__code" }, code))), h(`h${level}`, { part: 'heading', class: { 'bs-error-page__heading': true } }, heading), description && (h("p", { key: 'b914f77506217b401e26694205104d623596d270', part: "description", class: "bs-error-page__description" }, description)), (primary || secondary) && (h("div", { key: 'b6dc2e92b34960f754a54b31a659337135e63607', part: "actions", class: "bs-error-page__actions" }, primary && (h("bs-button", { key: 'e4f85bf6e86a80fbf1bd09fc77e16768c435a97b', part: "primary", variant: "primary", onClick: () => this.bsPrimary.emit() }, primary)), secondary && (h("bs-button", { key: 'a1469448cfbf1edb0bb8fe1d613101782dc87145', part: "secondary", variant: "outlined", onClick: () => this.bsSecondary.emit() }, secondary)))), this.reference && (h("p", { key: 'e8f32f0cc84051d02418bb48bc6116675ec55097', part: "reference", class: "bs-error-page__reference" }, this.reference)))));
68
+ return (h("bs-card", { key: 'b236e353ba68c47c300ca7bc8c87744b056261d3', part: "container", class: "bs-error-page", surface: "base" }, h("div", { key: 'dd65a6504d533bbaa7be0134a3853f041836c536', class: "bs-error-page__body" }, h("div", { key: '450194e7695bbea5076ca9ce060f5f5aa0eb6aac', class: "bs-error-page__art-group" }, h("bs-icon-tile", { key: '5a49ef75e17d2a565d34678792a83b62e64b2f4e', part: "art", class: `bs-error-page__art ${d.info ? 'bs-error-page__art--info' : ''}`, intent: d.intent, size: "lg" }, h("slot", { key: '06b3356dbc54741538ddeb633a99184c1d4f3e8d', name: "icon" }, d.glyph())), code && (h("span", { key: 'c11c2bdd41d504a5305164df96601b5ef2794027', part: "code", class: "bs-error-page__code" }, code))), h(`h${level}`, { part: 'heading', class: { 'bs-error-page__heading': true } }, heading), description && (h("p", { key: 'a20c05d36c8b9e9d64119df40ffb8eb8da44dd06', part: "description", class: "bs-error-page__description" }, description)), (primary || secondary) && (h("div", { key: '366cbecd6b82bb83a2b137b35bbf0520a2364e44', part: "actions", class: "bs-error-page__actions" }, primary && (h("bs-button", { key: 'a71c32a3588e38592d3b20dd723ed4b4e17b7d94', part: "primary", variant: "primary", onClick: () => this.bsPrimary.emit() }, primary)), secondary && (h("bs-button", { key: '4fef13ed699b7df97916eb09686dc7e0b5ac90aa', part: "secondary", variant: "outlined", onClick: () => this.bsSecondary.emit() }, secondary)))), this.reference && (h("p", { key: '87d6403fcebf8345fae40329d509f41c6d2d7bfe', part: "reference", class: "bs-error-page__reference" }, this.reference)))));
69
69
  }
70
70
  static get is() { return "bs-error-page"; }
71
71
  static get encapsulation() { return "shadow"; }
@@ -112,7 +112,7 @@ export class BsFileUpload {
112
112
  this.handleFiles(files);
113
113
  };
114
114
  render() {
115
- return (h("div", { key: '5312a866a1db63fd378f265fc200a509bfd50ce1', part: "dropzone", class: `bs-file-upload bs-file-upload--${this.direction} ${this.dragging ? 'bs-file-upload--dragging' : ''} ${this.disabled ? 'bs-file-upload--disabled' : ''}`, onDragEnter: this.onDragOver, onDragOver: this.onDragOver, onDragLeave: this.onDragLeave, onDrop: this.onDrop }, h("div", { key: '7276ccfa10a086d933b5563a208393a75e0dd821', part: "icon", class: "bs-file-upload__icon" }, h("slot", { key: 'e828eaa70303c82cb2bea5e647807079946b62e7', name: "icon" }, h(UploadIcon, { key: 'bd6ee5b8b20996ee68f972cb79db7c47f645c4d3' }))), h("div", { key: '784440974685713b31ba97642b931b99e64433a3', class: "bs-file-upload__content" }, h("div", { key: 'c7568214218e02ecb794f3429b843462f88bf216', class: "bs-file-upload__text" }, this.heading && (h("span", { key: '4872f617be4f30b9ab98aeca2dca7012d9391905', part: "heading", class: "bs-file-upload__heading" }, this.heading)), this.description && (h("span", { key: 'd8f446f1f8690ec773b094aeeb66af49ec1de291', part: "description", id: "description", class: "bs-file-upload__description" }, this.description))), h("bs-button", { key: 'bb0634e3e0dcb4a4ef59fa7c5daeaacbff5bceda', part: "browse", variant: "neutral", size: "sm", disabled: this.disabled, onClick: this.onBrowse }, this.buttonLabel)), h("input", { key: 'f55602446ec222ca46b7dab95aaff26d6d5b1632', ref: el => (this.inputEl = el), class: "bs-file-upload__input", type: "file", hidden: true, tabindex: -1, accept: this.accept, multiple: this.multiple, disabled: this.disabled, "aria-describedby": this.description ? 'description' : undefined, onChange: this.onInputChange })));
115
+ return (h("div", { key: 'dca680bf51b270a837fe7e8b59ec0e68aab5ccb2', part: "dropzone", class: `bs-file-upload bs-file-upload--${this.direction} ${this.dragging ? 'bs-file-upload--dragging' : ''} ${this.disabled ? 'bs-file-upload--disabled' : ''}`, onDragEnter: this.onDragOver, onDragOver: this.onDragOver, onDragLeave: this.onDragLeave, onDrop: this.onDrop }, h("div", { key: '6553299e75c11c86f5d87a797066977712b40cec', part: "icon", class: "bs-file-upload__icon" }, h("slot", { key: 'f7807bf5237e14f230084ec31777c417efdf1715', name: "icon" }, h(UploadIcon, { key: '8070074c0c7ae30980632842609160604147fa15' }))), h("div", { key: '2d8635c020ee47ff7f69662f5cb3ceae51d7c700', class: "bs-file-upload__content" }, h("div", { key: 'a7274934366c0c99ec9691f3f34c7664a5e0dacf', class: "bs-file-upload__text" }, this.heading && (h("span", { key: 'd8bc7716995b017e7c7d9452d0cd57cbbb20cbaa', part: "heading", class: "bs-file-upload__heading" }, this.heading)), this.description && (h("span", { key: '2b42c3ef723f3d196ffb015fafec77a80c90a053', part: "description", id: "description", class: "bs-file-upload__description" }, this.description))), h("bs-button", { key: 'c1a2f9de60ef0b22f04a104fb582abfce703d7d2', part: "browse", variant: "neutral", size: "sm", disabled: this.disabled, onClick: this.onBrowse }, this.buttonLabel)), h("input", { key: '8330b08007a1c6f9e1a4e161ab31da694ff10a23', ref: el => (this.inputEl = el), class: "bs-file-upload__input", type: "file", hidden: true, tabindex: -1, accept: this.accept, multiple: this.multiple, disabled: this.disabled, "aria-describedby": this.description ? 'description' : undefined, onChange: this.onInputChange })));
116
116
  }
117
117
  static get is() { return "bs-file-upload"; }
118
118
  static get encapsulation() { return "shadow"; }
@@ -86,7 +86,7 @@ export class BsFileUploadItem {
86
86
  }
87
87
  render() {
88
88
  const removing = this.state === 'success';
89
- return (h("div", { key: '26933845798c1cee2739c2a5a3d402175244717b', part: "item", class: `bs-file-upload-item bs-file-upload-item--${this.state}` }, h("div", { key: 'b7312bfd0a7bcbeac8e098be4cb6d565283f2e0f', part: "thumbnail", class: "bs-file-upload-item__thumbnail" }, h("slot", { key: '69350d5224f540e0f4d5033e3ac92ccff397b565', name: "thumbnail" }, this.thumbnailSrc ? (h("img", { class: "bs-file-upload-item__image", src: this.thumbnailSrc, alt: this.thumbnailAlt })) : (h(ImageIcon, null)))), h("div", { key: 'fbe429e0dd56af6fe5d955ce384a335c9ce3843a', class: "bs-file-upload-item__content" }, h("div", { key: 'b45f5b5500d760dcfb0d8fe3e87638db9325ae99', class: "bs-file-upload-item__meta" }, h("span", { key: '7e5a8cd3ccca37c88182d0e430841f36f29f56e7', part: "name", class: "bs-file-upload-item__name" }, this.fileName), this.fileSize && (h("span", { key: '114e9167c4542c9e071ebb21ee77d25d5c9221b4', part: "size", class: "bs-file-upload-item__size" }, this.fileSize))), this.renderStatus()), h("bs-icon-button", { key: 'f6a9a212a6436ac50eaab6b0224b58245171a7de', part: "action", variant: "subtle", size: "lg", ariaLabel: removing ? this.removeLabel : this.cancelLabel, onClick: this.onAction }, removing ? h(TrashIcon, null) : h(CloseIcon, null))));
89
+ return (h("div", { key: 'aff0de0cc425f2bea76407bd4e805ba7662816f1', part: "item", class: `bs-file-upload-item bs-file-upload-item--${this.state}` }, h("div", { key: 'e27d9ccd7f23a1a97eae0af9fa93fd5a45305bce', part: "thumbnail", class: "bs-file-upload-item__thumbnail" }, h("slot", { key: '16e52a05a81a1c89e1f74d9e48311a0663d60dec', name: "thumbnail" }, this.thumbnailSrc ? (h("img", { class: "bs-file-upload-item__image", src: this.thumbnailSrc, alt: this.thumbnailAlt })) : (h(ImageIcon, null)))), h("div", { key: '7b0dd4283f8412c51e3d74e6b3659c769e205c38', class: "bs-file-upload-item__content" }, h("div", { key: '70f55bffad0b17cd2808d26c7117d00b1f1385ec', class: "bs-file-upload-item__meta" }, h("span", { key: '759c23ce263cfab9230cb0b8a5d5322f0af46ca5', part: "name", class: "bs-file-upload-item__name" }, this.fileName), this.fileSize && (h("span", { key: '9667c0fbb54d59d6e1803fabaea475f321bfd985', part: "size", class: "bs-file-upload-item__size" }, this.fileSize))), this.renderStatus()), h("bs-icon-button", { key: '6dc6d78f8bceee678d18aae7747193e32d4bc637', part: "action", variant: "subtle", size: "lg", ariaLabel: removing ? this.removeLabel : this.cancelLabel, onClick: this.onAction }, removing ? h(TrashIcon, null) : h(CloseIcon, null))));
90
90
  }
91
91
  static get is() { return "bs-file-upload-item"; }
92
92
  static get encapsulation() { return "shadow"; }
@@ -342,10 +342,10 @@ export class BsGlobalSearch {
342
342
  const listId = `${this.id}-listbox`;
343
343
  const isList = this.status === 'default' || this.status === 'results';
344
344
  const showFooter = this.showFooter && isList;
345
- return (h("div", { key: '48912c3c2e6fdfefa05d234fa037e4b47e36cbd9', class: "bs-global-search" }, h("div", { key: 'aeb8a5d41463b5df24502aecb85290f2535184d6', part: "field", class: "bs-global-search__field", role: "combobox", "aria-label": this.label || this.placeholder, "aria-expanded": String(this.open && showList), "aria-haspopup": "listbox", "aria-controls": this.open && showList ? listId : undefined, "aria-activedescendant": this.open && this.activeId ? this.activeId : undefined, onKeyDown: this.onKeyDown, onFocusin: () => this.setOpen(true), onClick: () => this.setOpen(true) }, h("bs-input", { key: '0aec5505a09ca9fa08e152983b17e3a35619e5ce', ref: el => (this.inputEl = el), type: "search", value: this.value, placeholder: this.placeholder, disabled: this.disabled, onBsInput: this.onInput })), this.open && (h("div", { key: 'c9b1589c7602b0522a5a33d895e50e2f57ae7e66', part: "panel", class: "bs-global-search__panel", onMouseDown: (ev) => ev.preventDefault(), onMouseOver: this.onPanelMouseOver }, isList && showList && (h("div", { key: 'aa49f77c49ea3aa5337a01aa8cf2e760ac8f6125', id: listId, class: "bs-global-search__list", role: "listbox", "aria-label": this.listLabel }, sections.map(s => {
345
+ return (h("div", { key: '122fd2e1440ff04e7aeb9e12b8071287c9eae7ec', class: "bs-global-search" }, h("div", { key: 'dc2a228d802815873904ca8f0504f71f8ce73dd0', part: "field", class: "bs-global-search__field", role: "combobox", "aria-label": this.label || this.placeholder, "aria-expanded": String(this.open && showList), "aria-haspopup": "listbox", "aria-controls": this.open && showList ? listId : undefined, "aria-activedescendant": this.open && this.activeId ? this.activeId : undefined, onKeyDown: this.onKeyDown, onFocusin: () => this.setOpen(true), onClick: () => this.setOpen(true) }, h("bs-input", { key: '350322cbdeccd18ac2456fb358ec83589aa835c8', ref: el => (this.inputEl = el), type: "search", value: this.value, placeholder: this.placeholder, disabled: this.disabled, onBsInput: this.onInput })), this.open && (h("div", { key: 'c250dc78b38158f9529dbd9c2bd1f2f3e9c107a4', part: "panel", class: "bs-global-search__panel", onMouseDown: (ev) => ev.preventDefault(), onMouseOver: this.onPanelMouseOver }, isList && showList && (h("div", { key: '17c81ab7633498a3de7853a33b2d31db8b304633', id: listId, class: "bs-global-search__list", role: "listbox", "aria-label": this.listLabel }, sections.map(s => {
346
346
  const hid = `${this.id}-h-${s}`;
347
347
  return (h("div", { part: "section", class: "bs-global-search__section", role: "group", "aria-labelledby": hid }, h("div", { part: "section-header", id: hid, class: "bs-global-search__section-header" }, this.sectionLabel(s)), h("slot", { name: s })));
348
- }))), this.status === 'empty' && this.renderStateBlock('empty'), this.status === 'error' && this.renderStateBlock('error'), showFooter && this.renderFooter())), h("span", { key: '591953d910a7986705dde045c325c3043df1387b', class: "bs-global-search__live", "aria-live": "polite" }, this.announcement())));
348
+ }))), this.status === 'empty' && this.renderStateBlock('empty'), this.status === 'error' && this.renderStateBlock('error'), showFooter && this.renderFooter())), h("span", { key: 'fc76b4785031c6ed1b3e3ba5668dfaacdbc0faa4', class: "bs-global-search__live", "aria-live": "polite" }, this.announcement())));
349
349
  }
350
350
  static get is() { return "bs-global-search"; }
351
351
  static get encapsulation() { return "shadow"; }
@@ -59,12 +59,12 @@ export class BsGrid {
59
59
  const row = this.rowGap ? this.token(this.rowGap) : gapValue;
60
60
  const col = this.columnGap ? this.token(this.columnGap) : gapValue;
61
61
  const align = ALIGNS.includes(this.align) ? this.align : 'stretch';
62
- return (h("div", { key: 'd504eaf0d6db8c106094f3efb60600b65774ea4d', class: "bs-grid", part: "container", style: {
62
+ return (h("div", { key: 'cd02b8630bd31c42ffdf9a594a0808aa5f2cea92', class: "bs-grid", part: "container", style: {
63
63
  gridTemplateColumns: this.template(),
64
64
  rowGap: `var(--bs-grid-row-gap, ${row})`,
65
65
  columnGap: `var(--bs-grid-column-gap, ${col})`,
66
66
  alignItems: align,
67
- } }, h("slot", { key: 'd127b6a767777b1d2cc3fe981e1846e5a8726a60' })));
67
+ } }, h("slot", { key: 'ff6f7beebdd212901e3b071f0c02270df6494219' })));
68
68
  }
69
69
  static get is() { return "bs-grid"; }
70
70
  static get encapsulation() { return "shadow"; }
@@ -46,8 +46,8 @@ export class BsIconTile {
46
46
  render() {
47
47
  const labelled = !!this.label;
48
48
  return [
49
- h("div", { key: 'ea92c7e93e3283dccf7feb0afcc87947eb9f3087', part: "container", class: "bs-icon-tile", role: labelled ? 'img' : undefined, "aria-label": labelled ? this.label : undefined, "aria-hidden": labelled ? undefined : 'true' }, h("span", { key: '50ba78a85b831869ea60882b89739cc0ef36a6b4', part: "icon", class: "bs-icon-tile__icon" }, h("slot", { key: 'ab395f4bfc9a40be9ac74f05ebf227a241cdfca8', onSlotchange: (ev) => (this.hasCustomIcon = hasContent(ev.target)) }), !this.hasCustomIcon && (GLYPHS[this.intent] ?? GLYPHS.default))),
50
- h("span", { key: '07ad1aa22ba646f82b8eb2782ddda0c816dc47a5', part: "text", class: { 'bs-icon-tile__text': true, 'bs-icon-tile__text--visible': this.hasText } }, h("slot", { key: 'f4209dee495bf82b95c95fcd754bdf8305d5b02f', name: "text", onSlotchange: (ev) => (this.hasText = ev.target.assignedNodes().length > 0) })),
49
+ h("div", { key: '72226f2004fa4334e1b270d790e182b0c5b9dd05', part: "container", class: "bs-icon-tile", role: labelled ? 'img' : undefined, "aria-label": labelled ? this.label : undefined, "aria-hidden": labelled ? undefined : 'true' }, h("span", { key: '126fdd0362b424918cff1e84d95a40b529693a57', part: "icon", class: "bs-icon-tile__icon" }, h("slot", { key: '7d5ea3f933dd8fada375e98110ceddc55176c792', onSlotchange: (ev) => (this.hasCustomIcon = hasContent(ev.target)) }), !this.hasCustomIcon && (GLYPHS[this.intent] ?? GLYPHS.default))),
50
+ h("span", { key: '7902e66e2e74303c43dae40fae7993b71dff7ace', part: "text", class: { 'bs-icon-tile__text': true, 'bs-icon-tile__text--visible': this.hasText } }, h("slot", { key: '4a97955f0d4aa46206d85209fa1c8cde20c664aa', name: "text", onSlotchange: (ev) => (this.hasText = ev.target.assignedNodes().length > 0) })),
51
51
  ];
52
52
  }
53
53
  static get is() { return "bs-icon-tile"; }
@@ -397,10 +397,10 @@ export class BsInput {
397
397
  return (h("div", { part: "field", class: `bs-input__field bs-input__field--pin ${errorClass} ${disabledClass}` }, Array.from({ length: this.length }).map((_, i) => (h("input", { id: i === 0 ? 'control' : undefined, ref: el => (this.pinInputs[i] = el), part: "control", class: "bs-input__pin-cell", type: "text", inputMode: "numeric", maxLength: 1, value: this.value[i] ?? '', disabled: this.disabled, "aria-required": this.required ? 'true' : undefined, onInput: this.onPinInput(i), onKeyDown: this.onPinKeydown(i) })))));
398
398
  }
399
399
  render() {
400
- return (h("div", { key: '3c0ea65d5b8852b14e1295d6a6a33aef95d02d01', class: `bs-input ${this.error ? 'bs-input--error' : ''}` }, this.label && (
400
+ return (h("div", { key: 'a462df7f8f0e0a78a90cadb6453cbccd120e9baf', class: `bs-input ${this.error ? 'bs-input--error' : ''}` }, this.label && (
401
401
  // "control" is a fixed id, not a generated one -- safe because Shadow DOM scopes ids
402
402
  // to this instance's own shadow root, so it can never collide with another bs-input.
403
- h("label", { key: '13e99193d9906c7c7534df1c9bd6395f1a758524', part: "label", class: "bs-input__label", htmlFor: "control" }, this.label, this.required && (h("span", { key: 'ac14aa6322a8ce40624cdc392dde96b7bad298a8', part: "required", class: "bs-input__required", "aria-hidden": "true" }, "*")))), this.type === 'pin' ? this.renderPinField() : this.type === 'initials' ? this.renderInitialsField() : this.renderField(), this.error ? (h("span", { id: "description-or-error", part: "error", class: "bs-input__error" }, h("svg", { part: "error-icon", class: "bs-input__error-icon", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, h("circle", { cx: "8", cy: "8", r: "6.5", stroke: "currentColor", "stroke-width": "1.2" }), h("path", { d: "M8 5V8.5", stroke: "currentColor", "stroke-width": "1.2", "stroke-linecap": "round" }), h("circle", { cx: "8", cy: "11", r: "0.75", fill: "currentColor" })), this.error)) : this.description ? (h("span", { id: "description-or-error", part: "description", class: "bs-input__description" }, this.description)) : null));
403
+ h("label", { key: '7aebd73c573b3fb1b26ea0ca0959db890073d9f5', part: "label", class: "bs-input__label", htmlFor: "control" }, this.label, this.required && (h("span", { key: '40bb309ab983fbccd797e878aa78e612e65c6b56', part: "required", class: "bs-input__required", "aria-hidden": "true" }, "*")))), this.type === 'pin' ? this.renderPinField() : this.type === 'initials' ? this.renderInitialsField() : this.renderField(), this.error ? (h("span", { id: "description-or-error", part: "error", class: "bs-input__error" }, h("svg", { part: "error-icon", class: "bs-input__error-icon", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, h("circle", { cx: "8", cy: "8", r: "6.5", stroke: "currentColor", "stroke-width": "1.2" }), h("path", { d: "M8 5V8.5", stroke: "currentColor", "stroke-width": "1.2", "stroke-linecap": "round" }), h("circle", { cx: "8", cy: "11", r: "0.75", fill: "currentColor" })), this.error)) : this.description ? (h("span", { id: "description-or-error", part: "description", class: "bs-input__description" }, this.description)) : null));
404
404
  }
405
405
  static get is() { return "bs-input"; }
406
406
  static get encapsulation() { return "shadow"; }
@@ -38,7 +38,7 @@ export class BsKey {
38
38
  this.hasIcon = ev.target.assignedNodes().length > 0;
39
39
  };
40
40
  render() {
41
- return (h("kbd", { key: '45bd298f9fcf91ac4a6fd1c10c879a9373c53fae', part: "container", class: "bs-key" }, !this.hasIcon && (h("span", { key: '019bb8652eef6eafbe3d11ac0a179aa06a853e99', part: "label", class: "bs-key__label" }, h("slot", { key: '9b4e0c377ad3a6ab51125894aca36164e3f4546c' }, this.label))), h("span", { key: '2d8618a0a71f799d6b4c3c8ecd3364d2a744879d', part: "icon", class: { 'bs-key__icon': true, 'bs-key__icon--hidden': !this.hasIcon } }, h("slot", { key: '9c7bf13a4ddf4ad57fcee6c81653783eb0bde3c4', name: "icon", onSlotchange: this.onIconSlotChange }))));
41
+ return (h("kbd", { key: 'e84e287f0dd4b06bc63839a8b8bfccfac064bdd2', part: "container", class: "bs-key" }, !this.hasIcon && (h("span", { key: '625fff9396a1d12863cb7eacfd0adf021a70835d', part: "label", class: "bs-key__label" }, h("slot", { key: '62f75a400443b6719994800e0050469d16939197' }, this.label))), h("span", { key: '3a989710a0d213de963feb4c51eb950fa46add68', part: "icon", class: { 'bs-key__icon': true, 'bs-key__icon--hidden': !this.hasIcon } }, h("slot", { key: '62ca858bdc844d645701096b6b72ef6291abceb9', name: "icon", onSlotchange: this.onIconSlotChange }))));
42
42
  }
43
43
  static get is() { return "bs-key"; }
44
44
  static get encapsulation() { return "shadow"; }
@@ -41,7 +41,7 @@ export class BsKeyCaps {
41
41
  render() {
42
42
  const keys = this.keyList();
43
43
  const name = this.label ?? (keys.length ? keys.join(' plus ') : undefined);
44
- return (h("span", { key: 'a5a71f50df215bafb5225553a3822048470b0df6', part: "container", class: "bs-key-caps", role: "group", "aria-label": name, "aria-disabled": this.disabled ? 'true' : undefined }, keys.map(k => (h("bs-key", { label: k }))), h("slot", { key: '3efb98fca94e15103658c10444000b60665ddd31' })));
44
+ return (h("span", { key: '53c116e6e8a19e8d02f1c0062054ba2446f7e7fc', part: "container", class: "bs-key-caps", role: "group", "aria-label": name, "aria-disabled": this.disabled ? 'true' : undefined }, keys.map(k => (h("bs-key", { label: k }))), h("slot", { key: '05d08db73dd84fdc420ea4346bf5b6b4431c5ffc' })));
45
45
  }
46
46
  static get is() { return "bs-key-caps"; }
47
47
  static get encapsulation() { return "shadow"; }
@@ -129,10 +129,10 @@ export class BsKeyboardShortcuts {
129
129
  const headId = `${this.id}-heading`;
130
130
  const noResults = count === 0 && (this.query ?? '').trim() !== '';
131
131
  let gi = 0;
132
- return (h("bs-card", { key: '7e825a3d2c214a2228c8b302bc6530ca23427b2f', part: "container", class: "bs-keyboard-shortcuts", surface: "base", role: "region", "aria-labelledby": headId, onKeyDown: this.onKeyDown }, h("div", { key: '8595c3352463214acefb820a23a9adbdd66e6b76', class: "bs-keyboard-shortcuts__body" }, h("div", { key: 'bbdb0c462e6958d6fbeca96bd5ffb5dc99bdaf19', part: "head", class: "bs-keyboard-shortcuts__head" }, h("svg", { key: '95641e98b3795b85caa6e70ebd9bd2deeecdc2aa', class: "bs-keyboard-shortcuts__icon", viewBox: "0 0 24 24", width: "20", height: "20", fill: "none", stroke: "currentColor", "stroke-width": "1.8", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("rect", { key: 'b1160b8146645716ea1b675c480f42675a4d6f29', x: "2", y: "5", width: "20", height: "14", rx: "2" }), h("path", { key: '18f2516e9113b2c335587bd3d17c49099496f1ec', d: "M6 9h.01M10 9h.01M14 9h.01M18 9h.01M6 13h.01M18 13h.01M9 15.5h6" })), h("h4", { key: '299d3fa12acc958389b7cd6b7ec9c2cefe12ed43', part: "heading", id: headId, class: "bs-keyboard-shortcuts__heading" }, h("slot", { key: '80365f19a624d950cfa678b1d2cb7a2eb7dbeb33', name: "heading" }, this.heading)), h("bs-icon-button", { key: '2e43986aac1914ab56527ac09e08889fbe6ca0ef', part: "close", variant: "subtle", size: "md", "aria-label": this.closeLabel, onClick: () => this.bsClose.emit() }, h("svg", { key: 'cd655a49a3142304b168c8a8f25c89b63c0fbc79', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "aria-hidden": "true" }, h("path", { key: '7a39bf4eb97bde3d6d81d3db53fea3589af6e8c9', d: "M6 6l12 12M18 6 6 18" })))), h("bs-input", { key: 'b86dc235443e567aede36a767ddc015481ef08fa', part: "search", type: "search", placeholder: this.searchPlaceholder, value: this.query, onBsInput: this.onInput }), this.showSingleKeySwitch && (h("div", { key: '4fe525465a7dbae779af2aa9596669d06a8c7f71', part: "switch", class: "bs-keyboard-shortcuts__switch" }, h("div", { key: '2821019a258b02c2d37679360001cd6ba390d304', class: "bs-keyboard-shortcuts__switch-text" }, h("span", { key: '58f8f4dca914d41ad2b9b8883a117d4b865b4faa', class: "bs-keyboard-shortcuts__switch-title" }, this.singleKeyLabel), h("span", { key: '41cfb03e58e546ed639a38452524b775065f1027', class: "bs-keyboard-shortcuts__switch-caption" }, this.singleKeyDescription)), h("bs-switch", { key: 'a974154d5c9388fc5fa6b4b077f148fbe37340c4', ariaLabel: this.singleKeyLabel, checked: this.singleKeyEnabled, onBsChange: this.onSwitch }))), h("span", { key: '636f5d35847c6bd0dcfc2d0f00b4d126bb764fbc', class: "bs-keyboard-shortcuts__live", "aria-live": "polite" }, `${count} shortcut${count === 1 ? '' : 's'}`), noResults ? (h("p", { part: "empty", class: "bs-keyboard-shortcuts__empty", role: "status" }, this.noResultsText)) : (h("div", { part: "groups", class: "bs-keyboard-shortcuts__groups" }, cols.map(col => (h("div", { class: "bs-keyboard-shortcuts__column" }, col.map(g => {
132
+ return (h("bs-card", { key: '79e5266a0337b073391c6c82c629086f3f5a6dce', part: "container", class: "bs-keyboard-shortcuts", surface: "base", role: "region", "aria-labelledby": headId, onKeyDown: this.onKeyDown }, h("div", { key: 'ad81f8b924d8d2d5462efd14e3201746fb00d04b', class: "bs-keyboard-shortcuts__body" }, h("div", { key: '54a8c9ea691523fe7f4c3f41157ffcaa814fff91', part: "head", class: "bs-keyboard-shortcuts__head" }, h("svg", { key: 'd11295fa495307b9d2117b5efda0be187eabbafb', class: "bs-keyboard-shortcuts__icon", viewBox: "0 0 24 24", width: "20", height: "20", fill: "none", stroke: "currentColor", "stroke-width": "1.8", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("rect", { key: 'ff8e19a76fc9c2d21605d9d7e5642465a0b0977b', x: "2", y: "5", width: "20", height: "14", rx: "2" }), h("path", { key: 'e71f72087979fd4114439ca7db3722e5eba298d4', d: "M6 9h.01M10 9h.01M14 9h.01M18 9h.01M6 13h.01M18 13h.01M9 15.5h6" })), h("h4", { key: 'b5fb4a70cedbf7104abdc873c147e1f0986cfcd5', part: "heading", id: headId, class: "bs-keyboard-shortcuts__heading" }, h("slot", { key: 'c4d748a98ef98e02a26476c4c8b853d3e77bad11', name: "heading" }, this.heading)), h("bs-icon-button", { key: 'aff51431172e892da6de1181bf3344eca2909e76', part: "close", variant: "subtle", size: "md", "aria-label": this.closeLabel, onClick: () => this.bsClose.emit() }, h("svg", { key: 'eb80c782f7af169f434b4ff142c961f85eef3306', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "aria-hidden": "true" }, h("path", { key: 'c576a6aeca7ad33fb18922d6f6b327ac6e2aab5d', d: "M6 6l12 12M18 6 6 18" })))), h("bs-input", { key: '200bfa90b61cc7a8ecdde7f373fd6b0c7f438e7c', part: "search", type: "search", placeholder: this.searchPlaceholder, value: this.query, onBsInput: this.onInput }), this.showSingleKeySwitch && (h("div", { key: '41584586700e0589f078e996ab54497401c87059', part: "switch", class: "bs-keyboard-shortcuts__switch" }, h("div", { key: '4987a67e712f50b2259c2a4cd2d945adc14a2786', class: "bs-keyboard-shortcuts__switch-text" }, h("span", { key: '410cc42bbb55207ec1f8c6f18c6a6ed07eab58b5', class: "bs-keyboard-shortcuts__switch-title" }, this.singleKeyLabel), h("span", { key: '55cf6495958aa22f6470fd852ca4fae07195b5bc', class: "bs-keyboard-shortcuts__switch-caption" }, this.singleKeyDescription)), h("bs-switch", { key: 'b7538cbce99447c3ac03c1dedceff7a4a84941f2', ariaLabel: this.singleKeyLabel, checked: this.singleKeyEnabled, onBsChange: this.onSwitch }))), h("span", { key: '993d7c182bce54e4a0faad2873ab9a8a3257bfd7', class: "bs-keyboard-shortcuts__live", "aria-live": "polite" }, `${count} shortcut${count === 1 ? '' : 's'}`), noResults ? (h("p", { part: "empty", class: "bs-keyboard-shortcuts__empty", role: "status" }, this.noResultsText)) : (h("div", { part: "groups", class: "bs-keyboard-shortcuts__groups" }, cols.map(col => (h("div", { class: "bs-keyboard-shortcuts__column" }, col.map(g => {
133
133
  const tid = `${this.id}-g${gi++}`;
134
134
  return (h("div", { part: "group", class: "bs-keyboard-shortcuts__group", role: "group", "aria-labelledby": tid }, h("div", { part: "group-title", id: tid, class: "bs-keyboard-shortcuts__group-title" }, g.title), h("div", { class: "bs-keyboard-shortcuts__rows", role: "list" }, g.shortcuts.map(s => (h("bs-shortcut-row", { part: "row", action: s.action, keys: s.keys, selectionRole: "listitem", disabled: !!s.disabled || (!this.singleKeyEnabled && isSingleKey(s)) }))))));
135
- })))))), this.showFooterHint && (h("div", { key: '05833326cdbea5dbb994fd584bc54866c14cf615', part: "footer", class: "bs-keyboard-shortcuts__footer" }, h("slot", { key: 'eeb752068052c3f27cbfa0893f03a22f04328489', name: "footer" }, h("span", { key: '55c95afd62dae51c2b82362210e558fad904f7b7' }, this.footerPrefix), h("bs-key", { key: 'b9f8ef5cd3b3e5e2fce7a99bd2b29d751a764901', label: this.footerKey }), h("span", { key: '13b4719f50cd4d3fadc2802cb22d31f04e775798' }, this.footerText)))))));
135
+ })))))), this.showFooterHint && (h("div", { key: '4b980ff2fa253a36021615fe9a9203707a728b64', part: "footer", class: "bs-keyboard-shortcuts__footer" }, h("slot", { key: 'b72e0707aef77ffd10c192a622a2c0bc6f387b29', name: "footer" }, h("span", { key: '1324c58fd399271b2f0d983306b39f734e6e2d7f' }, this.footerPrefix), h("bs-key", { key: '47d4279c83abd23982bb4030582a7c21262e99ce', label: this.footerKey }), h("span", { key: '8ab0550e4d65d4c85e8ff3395f5bc230f9faacf8' }, this.footerText)))))));
136
136
  }
137
137
  static get is() { return "bs-keyboard-shortcuts"; }
138
138
  static get encapsulation() { return "shadow"; }
@@ -97,7 +97,7 @@ export class BsList {
97
97
  enabled[next].focus();
98
98
  }
99
99
  render() {
100
- return (h("div", { key: '3483a207be9fb42c6d6c4e2385b3d03e3351b05c', part: "list", class: "bs-list", role: this.selectable ? 'listbox' : 'list', "aria-label": this.ariaLabel ?? undefined }, h("slot", { key: 'cc497c226b4fc18f04121a3aff3fe5e10891bf82', onSlotchange: () => this.sync() })));
100
+ return (h("div", { key: '9956c0d827c6ea78a2ed0a93e823555eac9af301', part: "list", class: "bs-list", role: this.selectable ? 'listbox' : 'list', "aria-label": this.ariaLabel ?? undefined }, h("slot", { key: '054ef607c962bdb4171e2b3818928f7e1765f692', onSlotchange: () => this.sync() })));
101
101
  }
102
102
  static get is() { return "bs-list"; }
103
103
  static get encapsulation() { return "shadow"; }
@@ -27,6 +27,8 @@
27
27
  }
28
28
 
29
29
  .bs-list-item {
30
+ /* Containing block for the absolutely-positioned bs-ripple layer. */
31
+ position: relative;
30
32
  box-sizing: border-box;
31
33
  display: flex;
32
34
  align-items: center;
@@ -50,6 +50,7 @@ import { Host, h } from "@stencil/core";
50
50
  * @prop --bs-list-item-focus-ring - Focus ring colour. Aliased to `--bs-border-neutral-focus`.
51
51
  * @prop --bs-list-item-image-width - Leading image width. 72px.
52
52
  * @prop --bs-list-item-image-height - Leading image height. 56px.
53
+ * @part ripple - The press-ripple layer (a `bs-ripple`). Tune it with `::part(ripple) { --bs-ripple-color: ...; }`.
53
54
  */
54
55
  export class BsListItem {
55
56
  el;
@@ -101,7 +102,7 @@ export class BsListItem {
101
102
  const role = this.selectionRole === 'option' ? 'option' : this.selectionRole === 'listitem' ? 'listitem' : this.interactive ? 'button' : undefined;
102
103
  const standaloneFocusable = this.interactive && !this.selectionRole && !this.disabled;
103
104
  const showTrailing = this.showArrow || this.hasTrailing;
104
- return (h(Host, { key: 'eac7aeec4fedc05af55c5ca7a78efb693199de3a', role: role, tabindex: standaloneFocusable ? '0' : undefined, "aria-selected": this.selectionRole === 'option' ? String(this.selected) : undefined, "aria-disabled": this.disabled ? 'true' : undefined, class: { 'bs-list-item--interactive': interactive && !this.disabled } }, h("div", { key: '3ba832febb95adfc10481b0b1d70cc4448f0a9dd', part: "container", class: "bs-list-item" }, h("div", { key: 'd528d17243f6185d164c5f6964abe4b1d8143d5b', part: "leading", class: { 'bs-list-item__leading': true, 'bs-list-item__leading--has-content': this.hasLeading } }, h("slot", { key: '60efa1761cc46a7790986689acbada2f99d94add', name: "leading", onSlotchange: (e) => (this.hasLeading = this.slotHas(e)) })), h("div", { key: '4af6ee3b0969aeecdc2ead6b63be52b90927b713', part: "content", class: "bs-list-item__content" }, !this.hasDefault && this.label && (h("div", { key: '57481516f3d3ed73854a58fa870d40d760252b99', part: "label", class: "bs-list-item__label" }, this.label)), !this.hasDefault && this.description && (h("div", { key: 'acb37f4ec42b1c4c49d82cd21a89353a48ff3fcc', part: "description", class: "bs-list-item__description" }, this.description)), !this.hasDefault && this.supportText && (h("div", { key: 'b9e310fd74f06b1114b2ecf64b6c7de8b63a4c61', part: "support-text", class: "bs-list-item__support" }, this.supportText)), h("slot", { key: '7bb751ff77d29cd6f1852c90f5e71f855b222345', onSlotchange: (e) => (this.hasDefault = this.slotHas(e)) })), h("div", { key: '2bf6cb3dedfe1dcf868aba049f3718083ec63830', part: "trailing", class: { 'bs-list-item__trailing': true, 'bs-list-item__trailing--shown': showTrailing } }, h("slot", { key: '5cf7ede0e83b1040210346bdf7e7e6a5c7d06cfd', name: "trailing", onSlotchange: (e) => (this.hasTrailing = this.slotHas(e)) }, this.showArrow && (h("svg", { key: 'fb103f9892eebfd9a481c8d4b60e7504cb19311e', viewBox: "0 0 32 32", width: "32", height: "32", fill: "none", "aria-hidden": "true" }, h("path", { key: 'c33fa8a2aaa5a446adde56c7c8d4bfece8ef1dc9', d: "M12 7L21 16L12 25", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))));
105
+ return (h(Host, { key: 'a4036266a279faf010db1b74aafec4e82574e921', role: role, tabindex: standaloneFocusable ? '0' : undefined, "aria-selected": this.selectionRole === 'option' ? String(this.selected) : undefined, "aria-disabled": this.disabled ? 'true' : undefined, class: { 'bs-list-item--interactive': interactive && !this.disabled } }, h("div", { key: '5536afa9b97d2813b04ae1b81731a9a9598f326a', part: "container", class: "bs-list-item" }, interactive && !this.disabled && h("bs-ripple", { key: 'b88b81c3aa539eb54f275ec26c63049e9f3c8163', part: "ripple" }), h("div", { key: 'c297bb864a5744e51ef7053e1ee965cd5bb4184b', part: "leading", class: { 'bs-list-item__leading': true, 'bs-list-item__leading--has-content': this.hasLeading } }, h("slot", { key: '7f67174fcaff9518c2b5b6303b0ea817f1a151c0', name: "leading", onSlotchange: (e) => (this.hasLeading = this.slotHas(e)) })), h("div", { key: 'dc21fd490e75685ca49619f4eafb76e175c4d15d', part: "content", class: "bs-list-item__content" }, !this.hasDefault && this.label && (h("div", { key: '857cb18376ff874ae8f651f4b354a7e01c4992d0', part: "label", class: "bs-list-item__label" }, this.label)), !this.hasDefault && this.description && (h("div", { key: '0c21f5a9300f1ef3ebd633e22467f05ccc4d4bc7', part: "description", class: "bs-list-item__description" }, this.description)), !this.hasDefault && this.supportText && (h("div", { key: '0b5aa6198aec09d9a4a7cd3086407e71bd3daf99', part: "support-text", class: "bs-list-item__support" }, this.supportText)), h("slot", { key: 'ce13d14cb3d11f7ec93782dae33e83e802f56e5b', onSlotchange: (e) => (this.hasDefault = this.slotHas(e)) })), h("div", { key: '723bf038e7b070a17080c15183a8ea1b3b4abe79', part: "trailing", class: { 'bs-list-item__trailing': true, 'bs-list-item__trailing--shown': showTrailing } }, h("slot", { key: '48057fb7c77264a761185f029a3f8a8c55f3eed4', name: "trailing", onSlotchange: (e) => (this.hasTrailing = this.slotHas(e)) }, this.showArrow && (h("svg", { key: 'b13854ebfc8bfe7571f91ffd0b1d15043c4edf5d', viewBox: "0 0 32 32", width: "32", height: "32", fill: "none", "aria-hidden": "true" }, h("path", { key: '386a20723c7b54845ef2fff0b2292828775f3c06', d: "M12 7L21 16L12 25", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))));
105
106
  }
106
107
  static get is() { return "bs-list-item"; }
107
108
  static get encapsulation() { return "shadow"; }
@@ -128,4 +128,77 @@ describe('bs-mega-menu', () => {
128
128
  expect(results.violations.map(v => `${v.id}: ${v.help}`)).toEqual([]);
129
129
  }
130
130
  });
131
+ describe('open/close motion', () => {
132
+ const wait = (ms) => new Promise(r => setTimeout(r, ms));
133
+ const panel = (el) => q(el, '[part="panel"]');
134
+ it('stays visible with no open prop (the hidden-only contract)', async () => {
135
+ const { el } = await make();
136
+ expect(getComputedStyle(el).display).not.toBe('none');
137
+ expect(panel(el).getAnimations().length).toBe(0);
138
+ });
139
+ it('is removed while open is false and shown with an enter animation of the configured duration', async () => {
140
+ const { el, waitForChanges } = await make();
141
+ el.style.setProperty('--bs-mega-menu-duration', '150ms');
142
+ el.open = false;
143
+ await waitForChanges();
144
+ expect(getComputedStyle(el).display).toBe('none');
145
+ el.open = true;
146
+ await waitForChanges();
147
+ expect(getComputedStyle(el).display).not.toBe('none');
148
+ const anims = panel(el).getAnimations();
149
+ expect(anims.length).toBe(1);
150
+ expect(anims[0].effect.getTiming().duration).toBe(150);
151
+ });
152
+ it('plays an exit of the configured duration, is inert meanwhile, then is removed', async () => {
153
+ const { el, waitForChanges } = await make({ open: true });
154
+ el.style.setProperty('--bs-mega-menu-duration', '150ms');
155
+ el.open = false;
156
+ await waitForChanges();
157
+ expect(getComputedStyle(el).display).not.toBe('none');
158
+ expect(panel(el).inert).toBe(true);
159
+ const anims = panel(el).getAnimations();
160
+ expect(anims.length).toBe(1);
161
+ expect(anims[0].effect.getTiming().duration).toBe(150);
162
+ await wait(400);
163
+ await waitForChanges();
164
+ expect(getComputedStyle(el).display).toBe('none');
165
+ expect(panel(el).inert).toBe(false);
166
+ });
167
+ it('cancels the exit when it opens again', async () => {
168
+ const { el, waitForChanges } = await make({ open: true });
169
+ el.style.setProperty('--bs-mega-menu-duration', '300ms');
170
+ el.open = false;
171
+ await waitForChanges();
172
+ el.open = true;
173
+ await waitForChanges();
174
+ await wait(500);
175
+ await waitForChanges();
176
+ expect(getComputedStyle(el).display).not.toBe('none');
177
+ expect(panel(el).inert).toBe(false);
178
+ });
179
+ it('runs no animation and changes at once when the duration is 0ms', async () => {
180
+ const { el, waitForChanges } = await make({ open: true });
181
+ el.style.setProperty('--bs-mega-menu-duration', '0ms');
182
+ el.open = false;
183
+ await waitForChanges();
184
+ expect(panel(el).getAnimations().length).toBe(0);
185
+ expect(getComputedStyle(el).display).toBe('none');
186
+ el.open = true;
187
+ await waitForChanges();
188
+ expect(panel(el).getAnimations().length).toBe(0);
189
+ expect(getComputedStyle(el).display).not.toBe('none');
190
+ });
191
+ it('still hides instantly with the hidden attribute while open is true', async () => {
192
+ const { el, waitForChanges } = await make({ open: true });
193
+ el.hidden = true;
194
+ await waitForChanges();
195
+ expect(getComputedStyle(el).display).toBe('none');
196
+ });
197
+ it('has no axe violations while open', async () => {
198
+ const { el } = await make({ open: true });
199
+ await wait(300);
200
+ const results = await axe.run(el);
201
+ expect(results.violations.map(v => `${v.id}: ${v.help}`)).toEqual([]);
202
+ });
203
+ });
131
204
  });
@@ -15,9 +15,13 @@
15
15
  --bs-mega-menu-heading-color: var(--bs-text-muted);
16
16
  --bs-mega-menu-text-color: var(--bs-text-default);
17
17
  --bs-mega-menu-muted-color: var(--bs-text-secondary);
18
+ --bs-mega-menu-duration: var(--bs-duration-default);
19
+ --bs-mega-menu-easing: var(--bs-easing-standard);
20
+ --bs-mega-menu-distance: var(--bs-spacing-100);
18
21
  }
19
22
 
20
- :host([hidden]) {
23
+ :host([hidden]),
24
+ :host([data-closed]) {
21
25
  display: none;
22
26
  }
23
27