@brandsync/wc 1.19.0 → 1.20.1

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 (883) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/REFERENCE.md +266 -11
  3. package/custom-elements.json +11415 -6969
  4. package/dist/brandsync-wc/brandsync-wc.css +1 -1
  5. package/dist/brandsync-wc/brandsync-wc.esm.js +1 -1
  6. package/dist/brandsync-wc/index.esm.js +1 -1
  7. package/dist/brandsync-wc/p-040d4755.entry.js +1 -0
  8. package/dist/brandsync-wc/{p-a688a7ca.entry.js → p-08a5e178.entry.js} +1 -1
  9. package/dist/brandsync-wc/{p-a50c5e68.entry.js → p-08d08dc9.entry.js} +1 -1
  10. package/dist/brandsync-wc/{p-568de1b0.entry.js → p-0ebb60a8.entry.js} +1 -1
  11. package/dist/brandsync-wc/{p-10b8937f.entry.js → p-11fefb5a.entry.js} +1 -1
  12. package/dist/brandsync-wc/{p-313ec145.entry.js → p-13d98ec3.entry.js} +1 -1
  13. package/dist/brandsync-wc/p-14719554.entry.js +1 -0
  14. package/dist/brandsync-wc/{p-42fcf134.entry.js → p-18cfec13.entry.js} +1 -1
  15. package/dist/brandsync-wc/{p-9751a12d.entry.js → p-1a549f9a.entry.js} +1 -1
  16. package/dist/brandsync-wc/{p-a28ef52e.entry.js → p-1bf8a54a.entry.js} +1 -1
  17. package/dist/brandsync-wc/{p-5371b31c.entry.js → p-1ce4395a.entry.js} +1 -1
  18. package/dist/brandsync-wc/{p-de0dfd1c.entry.js → p-1daf48b1.entry.js} +1 -1
  19. package/dist/brandsync-wc/{p-86f04e9e.entry.js → p-20dd8b76.entry.js} +1 -1
  20. package/dist/brandsync-wc/{p-391504ab.entry.js → p-2210c680.entry.js} +1 -1
  21. package/dist/brandsync-wc/{p-f10b19a8.entry.js → p-23367a4d.entry.js} +1 -1
  22. package/dist/brandsync-wc/{p-02314404.entry.js → p-238be384.entry.js} +1 -1
  23. package/dist/brandsync-wc/p-23affb5d.entry.js +1 -0
  24. package/dist/brandsync-wc/p-23b3958e.entry.js +1 -0
  25. package/dist/brandsync-wc/{p-03ad83a3.entry.js → p-2621b1b2.entry.js} +1 -1
  26. package/dist/brandsync-wc/p-28723df1.entry.js +1 -0
  27. package/dist/brandsync-wc/{p-d484e976.entry.js → p-28a34097.entry.js} +1 -1
  28. package/dist/brandsync-wc/{p-129a4de7.entry.js → p-2a96ce61.entry.js} +1 -1
  29. package/dist/brandsync-wc/{p-7160a72e.entry.js → p-2f58b161.entry.js} +1 -1
  30. package/dist/brandsync-wc/p-319b7baa.entry.js +1 -0
  31. package/dist/brandsync-wc/{p-8a606b38.entry.js → p-32004fb3.entry.js} +1 -1
  32. package/dist/brandsync-wc/{p-78c94cfe.entry.js → p-32157c7a.entry.js} +1 -1
  33. package/dist/brandsync-wc/{p-ab99b8c3.entry.js → p-32d83763.entry.js} +1 -1
  34. package/dist/brandsync-wc/{p-8b21f623.entry.js → p-338b5e39.entry.js} +1 -1
  35. package/dist/brandsync-wc/p-39c50762.entry.js +1 -0
  36. package/dist/brandsync-wc/p-3f6be3f7.entry.js +1 -0
  37. package/dist/brandsync-wc/p-409cf56b.entry.js +1 -0
  38. package/dist/brandsync-wc/{p-8e107d7a.entry.js → p-452f6c13.entry.js} +1 -1
  39. package/dist/brandsync-wc/{p-527fd08d.entry.js → p-47fc5f29.entry.js} +1 -1
  40. package/dist/brandsync-wc/p-4810bcc8.entry.js +1 -0
  41. package/dist/brandsync-wc/p-484a6546.entry.js +1 -0
  42. package/dist/brandsync-wc/p-4ae7b8b9.entry.js +1 -0
  43. package/dist/brandsync-wc/p-4d6f2fec.entry.js +1 -0
  44. package/dist/brandsync-wc/{p-4ffcf41a.entry.js → p-4f19e8d8.entry.js} +1 -1
  45. package/dist/brandsync-wc/p-50a154b8.entry.js +1 -0
  46. package/dist/brandsync-wc/{p-26e0ab15.entry.js → p-50ac6889.entry.js} +1 -1
  47. package/dist/brandsync-wc/p-520b277a.entry.js +1 -0
  48. package/dist/brandsync-wc/p-53b1c545.entry.js +1 -0
  49. package/dist/brandsync-wc/{p-90d8d45f.entry.js → p-548b96f7.entry.js} +1 -1
  50. package/dist/brandsync-wc/{p-144b6ac8.entry.js → p-57ed5ac6.entry.js} +1 -1
  51. package/dist/brandsync-wc/{p-028d3244.entry.js → p-587be2c6.entry.js} +1 -1
  52. package/dist/brandsync-wc/p-5a35d573.entry.js +1 -0
  53. package/dist/brandsync-wc/p-5b48a6c7.entry.js +1 -0
  54. package/dist/brandsync-wc/{p-4d1ee16e.entry.js → p-5ea899c4.entry.js} +1 -1
  55. package/dist/brandsync-wc/p-60636c6c.entry.js +1 -0
  56. package/dist/brandsync-wc/p-6096900b.entry.js +1 -0
  57. package/dist/brandsync-wc/{p-fc76031e.entry.js → p-630d41ab.entry.js} +1 -1
  58. package/dist/brandsync-wc/p-66f1ca2e.entry.js +1 -0
  59. package/dist/brandsync-wc/p-69489f45.entry.js +1 -0
  60. package/dist/brandsync-wc/p-6adc9c4f.entry.js +1 -0
  61. package/dist/brandsync-wc/p-6ae75ed0.entry.js +1 -0
  62. package/dist/brandsync-wc/p-6b1ba5ec.entry.js +1 -0
  63. package/dist/brandsync-wc/p-6bdd9ef9.entry.js +1 -0
  64. package/dist/brandsync-wc/{p-dc2ea372.entry.js → p-6db03e96.entry.js} +1 -1
  65. package/dist/brandsync-wc/{p-64e19200.entry.js → p-70924681.entry.js} +1 -1
  66. package/dist/brandsync-wc/{p-590deea0.entry.js → p-78e4dd14.entry.js} +1 -1
  67. package/dist/brandsync-wc/{p-f96f45ae.entry.js → p-806bb471.entry.js} +1 -1
  68. package/dist/brandsync-wc/{p-8a18864a.entry.js → p-89dbb3c8.entry.js} +1 -1
  69. package/dist/brandsync-wc/{p-ebcd105d.entry.js → p-8a4d64fd.entry.js} +1 -1
  70. package/dist/brandsync-wc/p-8c83cc99.entry.js +1 -0
  71. package/dist/brandsync-wc/p-8ccd1735.entry.js +1 -0
  72. package/dist/brandsync-wc/p-8d674f11.entry.js +1 -0
  73. package/dist/brandsync-wc/{p-8d1ad4b0.entry.js → p-90442341.entry.js} +1 -1
  74. package/dist/brandsync-wc/{p-a2bfbf02.entry.js → p-9e93b482.entry.js} +1 -1
  75. package/dist/brandsync-wc/{p-020cb767.entry.js → p-9f852c8b.entry.js} +1 -1
  76. package/dist/brandsync-wc/p-Vo0zbGRB.js +1 -0
  77. package/dist/brandsync-wc/p-a1d34ff3.entry.js +1 -0
  78. package/dist/brandsync-wc/{p-15c6f0f3.entry.js → p-a3c7b4e7.entry.js} +1 -1
  79. package/dist/brandsync-wc/{p-9ba500f1.entry.js → p-a6cbb6c6.entry.js} +1 -1
  80. package/dist/brandsync-wc/{p-70a5897b.entry.js → p-a86560e6.entry.js} +1 -1
  81. package/dist/brandsync-wc/p-aa70e80c.entry.js +1 -0
  82. package/dist/brandsync-wc/p-aa99b1f8.entry.js +1 -0
  83. package/dist/brandsync-wc/{p-0dff9822.entry.js → p-b0f4cbca.entry.js} +1 -1
  84. package/dist/brandsync-wc/{p-3c6980b9.entry.js → p-b1663378.entry.js} +1 -1
  85. package/dist/brandsync-wc/{p-25914efc.entry.js → p-b1b14615.entry.js} +1 -1
  86. package/dist/brandsync-wc/p-b6dc9234.entry.js +1 -0
  87. package/dist/brandsync-wc/{p-2389f473.entry.js → p-b7545d9b.entry.js} +1 -1
  88. package/dist/brandsync-wc/{p-d80eecf4.entry.js → p-baca1abf.entry.js} +1 -1
  89. package/dist/brandsync-wc/{p-a92c0f06.entry.js → p-bfdd135b.entry.js} +1 -1
  90. package/dist/brandsync-wc/p-c0e5db3d.entry.js +1 -0
  91. package/dist/brandsync-wc/{p-89fa7567.entry.js → p-c23e274a.entry.js} +1 -1
  92. package/dist/brandsync-wc/{p-4928c4ad.entry.js → p-c39e6be9.entry.js} +1 -1
  93. package/dist/brandsync-wc/{p-30736034.entry.js → p-c6c15b9f.entry.js} +1 -1
  94. package/dist/brandsync-wc/p-ca8a1e51.entry.js +1 -0
  95. package/dist/brandsync-wc/{p-9fa7bd83.entry.js → p-d263deec.entry.js} +1 -1
  96. package/dist/brandsync-wc/p-d555984e.entry.js +1 -0
  97. package/dist/brandsync-wc/p-d6600c7c.entry.js +1 -0
  98. package/dist/brandsync-wc/{p-e5235e76.entry.js → p-d67840f5.entry.js} +1 -1
  99. package/dist/brandsync-wc/p-d8a299a9.entry.js +1 -0
  100. package/dist/brandsync-wc/{p-8ac86d16.entry.js → p-dc59a735.entry.js} +1 -1
  101. package/dist/brandsync-wc/{p-f4796801.entry.js → p-dd3499ab.entry.js} +1 -1
  102. package/dist/brandsync-wc/p-debc308d.entry.js +1 -0
  103. package/dist/brandsync-wc/{p-c01e231e.entry.js → p-e18cb639.entry.js} +1 -1
  104. package/dist/brandsync-wc/{p-7bff3aa5.entry.js → p-e18e45bc.entry.js} +1 -1
  105. package/dist/brandsync-wc/{p-4c51da66.entry.js → p-e2268c96.entry.js} +1 -1
  106. package/dist/brandsync-wc/p-e4033ebc.entry.js +1 -0
  107. package/dist/brandsync-wc/p-e8027825.entry.js +1 -0
  108. package/dist/brandsync-wc/{p-7c741b8d.entry.js → p-eb1b1497.entry.js} +1 -1
  109. package/dist/brandsync-wc/{p-9868ee72.entry.js → p-eb4ad606.entry.js} +1 -1
  110. package/dist/brandsync-wc/p-ecb1a27d.entry.js +1 -0
  111. package/dist/brandsync-wc/p-f229f59a.entry.js +1 -0
  112. package/dist/brandsync-wc/{p-0819add7.entry.js → p-f22d2db8.entry.js} +1 -1
  113. package/dist/brandsync-wc/{p-feb46fa6.entry.js → p-f71d7582.entry.js} +1 -1
  114. package/dist/brandsync-wc/p-fa894893.entry.js +1 -0
  115. package/dist/brandsync-wc/p-fbd204b6.entry.js +1 -0
  116. package/dist/brandsync-wc/{p-21e5d4d6.entry.js → p-fc7df528.entry.js} +1 -1
  117. package/dist/brandsync-wc/{p-27663faf.entry.js → p-fe6f71da.entry.js} +1 -1
  118. package/dist/brandsync-wc/p-ff85a9d8.entry.js +1 -0
  119. package/dist/brandsync-wc/p-wz7B473u.js +3 -0
  120. package/dist/cjs/brandsync-wc.cjs.js +2 -2
  121. package/dist/cjs/bs-accordion-group.cjs.entry.js +2 -2
  122. package/dist/cjs/bs-accordion.cjs.entry.js +2 -2
  123. package/dist/cjs/bs-ai-disclaimer.cjs.entry.js +2 -2
  124. package/dist/cjs/bs-ai-greeting.cjs.entry.js +2 -2
  125. package/dist/cjs/bs-ai-thinking.cjs.entry.js +2 -2
  126. package/dist/cjs/bs-app-recent-item_3.cjs.entry.js +5 -5
  127. package/dist/cjs/bs-app-shell.cjs.entry.js +2 -2
  128. package/dist/cjs/bs-app-switcher.cjs.entry.js +1 -1
  129. package/dist/cjs/bs-attachment-list.cjs.entry.js +2 -2
  130. package/dist/cjs/bs-attachment.cjs.entry.js +2 -2
  131. package/dist/cjs/bs-avatar.cjs.entry.js +3 -10
  132. package/dist/cjs/bs-badge.cjs.entry.js +2 -2
  133. package/dist/cjs/bs-breadcrumb-overflow.cjs.entry.js +1 -1
  134. package/dist/cjs/bs-breadcrumb.cjs.entry.js +3 -3
  135. package/dist/cjs/bs-breadcrumbs.cjs.entry.js +10 -2
  136. package/dist/cjs/bs-button-skeleton.cjs.entry.js +2 -2
  137. package/dist/cjs/bs-button_2.cjs.entry.js +17 -4
  138. package/dist/cjs/bs-card.cjs.entry.js +44 -3
  139. package/dist/cjs/bs-carousel.cjs.entry.js +2 -2
  140. package/dist/cjs/bs-chatbot-feedback.cjs.entry.js +3 -7
  141. package/dist/cjs/bs-chatbot-header.cjs.entry.js +3 -7
  142. package/dist/cjs/bs-chatbot-response-action.cjs.entry.js +2 -2
  143. package/dist/cjs/bs-chatbot-sources-drawer.cjs.entry.js +2 -2
  144. package/dist/cjs/bs-chatbot-suggestion-button.cjs.entry.js +3 -3
  145. package/dist/cjs/bs-checkbox-group.cjs.entry.js +80 -0
  146. package/dist/cjs/bs-checkbox-skeleton.cjs.entry.js +2 -2
  147. package/dist/cjs/bs-checkbox.cjs.entry.js +1 -1
  148. package/dist/cjs/bs-chip-filter.cjs.entry.js +2 -2
  149. package/dist/cjs/bs-chip-informative.cjs.entry.js +2 -2
  150. package/dist/cjs/bs-chip-input.cjs.entry.js +2 -2
  151. package/dist/cjs/bs-citation-preview.cjs.entry.js +2 -2
  152. package/dist/cjs/bs-code-block.cjs.entry.js +75 -0
  153. package/dist/cjs/bs-command-palette.cjs.entry.js +2 -2
  154. package/dist/cjs/bs-compact-menu-block_2.cjs.entry.js +5 -5
  155. package/dist/cjs/bs-company-switcher.cjs.entry.js +3 -3
  156. package/dist/cjs/bs-composer-status-banner.cjs.entry.js +2 -2
  157. package/dist/cjs/bs-composer.cjs.entry.js +6 -4
  158. package/dist/cjs/bs-container.cjs.entry.js +2 -2
  159. package/dist/cjs/bs-cookie-consent.cjs.entry.js +1 -1
  160. package/dist/cjs/bs-data-table.cjs.entry.js +8 -5
  161. package/dist/cjs/bs-datepicker.cjs.entry.js +2 -2
  162. package/dist/cjs/bs-description-item.cjs.entry.js +23 -0
  163. package/dist/cjs/bs-description-list.cjs.entry.js +40 -0
  164. package/dist/cjs/bs-dialog.cjs.entry.js +1 -1
  165. package/dist/cjs/bs-divider.cjs.entry.js +2 -2
  166. package/dist/cjs/bs-dropdown.cjs.entry.js +96 -0
  167. package/dist/cjs/bs-empty-state.cjs.entry.js +7 -3
  168. package/dist/cjs/bs-error-page.cjs.entry.js +2 -2
  169. package/dist/cjs/bs-file-upload-item.cjs.entry.js +2 -2
  170. package/dist/cjs/bs-file-upload.cjs.entry.js +2 -2
  171. package/dist/cjs/bs-global-search.cjs.entry.js +3 -3
  172. package/dist/cjs/bs-grid.cjs.entry.js +3 -3
  173. package/dist/cjs/bs-heading.cjs.entry.js +28 -0
  174. package/dist/cjs/bs-icon-button.cjs.entry.js +10 -3
  175. package/dist/cjs/bs-icon-tile.cjs.entry.js +3 -3
  176. package/dist/cjs/bs-icon.cjs.entry.js +35 -0
  177. package/dist/cjs/bs-inline-tab.cjs.entry.js +3 -3
  178. package/dist/cjs/bs-input_4.cjs.entry.js +794 -0
  179. package/dist/cjs/bs-key-caps.cjs.entry.js +2 -2
  180. package/dist/cjs/bs-key.cjs.entry.js +2 -2
  181. package/dist/cjs/bs-keyboard-shortcuts.cjs.entry.js +3 -3
  182. package/dist/cjs/bs-link.cjs.entry.js +52 -0
  183. package/dist/cjs/bs-list-item.cjs.entry.js +68 -0
  184. package/dist/cjs/bs-list.cjs.entry.js +9 -3
  185. package/dist/cjs/bs-logo.cjs.entry.js +1 -1
  186. package/dist/cjs/bs-mega-menu.cjs.entry.js +2 -2
  187. package/dist/cjs/bs-message-list.cjs.entry.js +2 -2
  188. package/dist/cjs/bs-message.cjs.entry.js +2 -2
  189. package/dist/cjs/bs-navigation-drawer-item.cjs.entry.js +26 -5
  190. package/dist/cjs/bs-navigation-drawer.cjs.entry.js +4 -4
  191. package/dist/cjs/bs-navigation-header.cjs.entry.js +4 -4
  192. package/dist/cjs/bs-onboarding-checklist.cjs.entry.js +1 -1
  193. package/dist/cjs/bs-page-header.cjs.entry.js +2 -2
  194. package/dist/cjs/bs-pagination.cjs.entry.js +2 -2
  195. package/dist/cjs/bs-popover.cjs.entry.js +223 -0
  196. package/dist/cjs/bs-presence.cjs.entry.js +2 -2
  197. package/dist/cjs/bs-product-tour.cjs.entry.js +1 -1
  198. package/dist/cjs/bs-progress-linear.cjs.entry.js +4 -4
  199. package/dist/cjs/bs-progress.cjs.entry.js +3 -3
  200. package/dist/cjs/bs-qr-code.cjs.entry.js +2 -2
  201. package/dist/cjs/bs-radio-group.cjs.entry.js +90 -0
  202. package/dist/cjs/bs-radio.cjs.entry.js +6 -2
  203. package/dist/cjs/bs-search-item.cjs.entry.js +2 -2
  204. package/dist/cjs/bs-select.cjs.entry.js +234 -0
  205. package/dist/cjs/bs-session-timeout.cjs.entry.js +2 -2
  206. package/dist/cjs/bs-shortcut-row.cjs.entry.js +2 -2
  207. package/dist/cjs/bs-side-panel.cjs.entry.js +1 -1
  208. package/dist/cjs/bs-skip-link.cjs.entry.js +52 -0
  209. package/dist/cjs/bs-slider.cjs.entry.js +3 -3
  210. package/dist/cjs/bs-snackbar.cjs.entry.js +3 -3
  211. package/dist/cjs/bs-source-link.cjs.entry.js +4 -4
  212. package/dist/cjs/bs-split-pane.cjs.entry.js +2 -2
  213. package/dist/cjs/bs-stack.cjs.entry.js +2 -2
  214. package/dist/cjs/bs-stat.cjs.entry.js +53 -0
  215. package/dist/cjs/bs-stepper-step.cjs.entry.js +2 -2
  216. package/dist/cjs/bs-stepper.cjs.entry.js +2 -2
  217. package/dist/cjs/bs-switch.cjs.entry.js +2 -2
  218. package/dist/cjs/bs-tab_3.cjs.entry.js +16 -9
  219. package/dist/cjs/bs-table-of-contents.cjs.entry.js +171 -0
  220. package/dist/cjs/bs-tag.cjs.entry.js +51 -0
  221. package/dist/cjs/bs-text.cjs.entry.js +24 -0
  222. package/dist/cjs/bs-timepicker.cjs.entry.js +3 -3
  223. package/dist/cjs/bs-toast.cjs.entry.js +2 -2
  224. package/dist/cjs/bs-toggle-button-group.cjs.entry.js +108 -0
  225. package/dist/cjs/bs-toggle-button.cjs.entry.js +57 -0
  226. package/dist/cjs/bs-toolbar.cjs.entry.js +195 -0
  227. package/dist/cjs/bs-tooltip-trigger.cjs.entry.js +2 -2
  228. package/dist/cjs/bs-tooltip.cjs.entry.js +2 -2
  229. package/dist/cjs/bs-tree-item.cjs.entry.js +3 -3
  230. package/dist/cjs/bs-tree.cjs.entry.js +2 -2
  231. package/dist/cjs/bs-whats-new.cjs.entry.js +1 -1
  232. package/dist/cjs/icon-registry-DWYCqjKw.js +64 -0
  233. package/dist/cjs/{index-BYfMRtlW.js → index-BFxk-bY6.js} +1 -1
  234. package/dist/cjs/index.cjs.js +4 -0
  235. package/dist/cjs/loader.cjs.js +2 -2
  236. package/dist/collection/collection-manifest.json +19 -1
  237. package/dist/collection/components/bs-a11y.cmp.test.js +9 -0
  238. package/dist/collection/components/bs-accordion/bs-accordion.js +1 -1
  239. package/dist/collection/components/bs-accordion-group/bs-accordion-group.js +1 -1
  240. package/dist/collection/components/bs-ai-disclaimer/bs-ai-disclaimer.js +1 -1
  241. package/dist/collection/components/bs-ai-greeting/bs-ai-greeting.js +1 -1
  242. package/dist/collection/components/bs-ai-thinking/bs-ai-thinking.js +1 -1
  243. package/dist/collection/components/bs-app-recent-item/bs-app-recent-item.js +3 -3
  244. package/dist/collection/components/bs-app-shell/bs-app-shell.js +1 -1
  245. package/dist/collection/components/bs-attachment/bs-attachment.cmp.test.js +10 -0
  246. package/dist/collection/components/bs-attachment/bs-attachment.css +6 -6
  247. package/dist/collection/components/bs-attachment-list/bs-attachment-list.js +1 -1
  248. package/dist/collection/components/bs-avatar/bs-avatar.cmp.test.js +11 -1
  249. package/dist/collection/components/bs-avatar/bs-avatar.css +9 -4
  250. package/dist/collection/components/bs-avatar/bs-avatar.js +1 -8
  251. package/dist/collection/components/bs-badge/bs-badge.css +4 -1
  252. package/dist/collection/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.cmp.test.js +13 -0
  253. package/dist/collection/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.css +8 -0
  254. package/dist/collection/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.js +1 -1
  255. package/dist/collection/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.js +26 -1
  256. package/dist/collection/components/bs-button/bs-button/bs-button.cmp.test.js +31 -2
  257. package/dist/collection/components/bs-button/bs-button/bs-button.css +16 -18
  258. package/dist/collection/components/bs-button/bs-button/bs-button.js +102 -7
  259. package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.cmp.test.js +43 -0
  260. package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.css +32 -2
  261. package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.js +68 -1
  262. package/dist/collection/components/bs-button-skeleton/bs-button-skeleton.js +1 -1
  263. package/dist/collection/components/bs-card/bs-card.cmp.test.js +78 -0
  264. package/dist/collection/components/bs-card/bs-card.css +75 -0
  265. package/dist/collection/components/bs-card/bs-card.js +200 -1
  266. package/dist/collection/components/bs-card/bs-card.stories.js +32 -0
  267. package/dist/collection/components/bs-carousel/bs-carousel.js +2 -2
  268. package/dist/collection/components/bs-carousel/bs-carousel.stories.js +9 -5
  269. package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.cmp.test.js +8 -0
  270. package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.css +11 -8
  271. package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.js +1 -5
  272. package/dist/collection/components/bs-chatbot-header/bs-chatbot-header.css +2 -3
  273. package/dist/collection/components/bs-chatbot-header/bs-chatbot-header.js +1 -5
  274. package/dist/collection/components/bs-chatbot-response-action/bs-chatbot-response-action.js +1 -1
  275. package/dist/collection/components/bs-chatbot-sources-drawer/bs-chatbot-sources-drawer.js +1 -1
  276. package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.cmp.test.js +18 -0
  277. package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.css +8 -2
  278. package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.js +4 -1
  279. package/dist/collection/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.js +1 -1
  280. package/dist/collection/components/bs-checkbox-group/bs-checkbox-group.cmp.test.js +58 -0
  281. package/dist/collection/components/bs-checkbox-group/bs-checkbox-group.css +65 -0
  282. package/dist/collection/components/bs-checkbox-group/bs-checkbox-group.js +254 -0
  283. package/dist/collection/components/bs-checkbox-group/bs-checkbox-group.stories.js +34 -0
  284. package/dist/collection/components/bs-chip/bs-chip-filter/bs-chip-filter.js +1 -1
  285. package/dist/collection/components/bs-chip/bs-chip-informative/bs-chip-informative.js +1 -1
  286. package/dist/collection/components/bs-chip/bs-chip-input/bs-chip-input.js +1 -1
  287. package/dist/collection/components/bs-citation-preview/bs-citation-preview.js +1 -1
  288. package/dist/collection/components/bs-code-block/bs-code-block.cmp.test.js +78 -0
  289. package/dist/collection/components/bs-code-block/bs-code-block.css +132 -0
  290. package/dist/collection/components/bs-code-block/bs-code-block.js +317 -0
  291. package/dist/collection/components/bs-code-block/bs-code-block.stories.js +56 -0
  292. package/dist/collection/components/bs-command-palette/bs-command-palette.js +1 -1
  293. package/dist/collection/components/bs-compact-menu-block/bs-compact-menu-block.js +1 -1
  294. package/dist/collection/components/bs-company-switcher/bs-company-switcher.cmp.test.js +13 -7
  295. package/dist/collection/components/bs-company-switcher/bs-company-switcher.js +2 -2
  296. package/dist/collection/components/bs-composer/bs-composer.cmp.test.js +29 -0
  297. package/dist/collection/components/bs-composer/bs-composer.css +2 -1
  298. package/dist/collection/components/bs-composer/bs-composer.js +4 -2
  299. package/dist/collection/components/bs-composer/bs-composer.stories.js +1 -2
  300. package/dist/collection/components/bs-composer-status-banner/bs-composer-status-banner.js +1 -1
  301. package/dist/collection/components/bs-container/bs-container.js +1 -1
  302. package/dist/collection/components/bs-cookie-consent/bs-cookie-consent.cmp.test.js +1 -1
  303. package/dist/collection/components/bs-data-table/bs-data-table.cmp.test.js +39 -0
  304. package/dist/collection/components/bs-data-table/bs-data-table.css +12 -0
  305. package/dist/collection/components/bs-data-table/bs-data-table.js +34 -3
  306. package/dist/collection/components/bs-data-table/bs-data-table.stories.js +1 -1
  307. package/dist/collection/components/bs-datepicker/bs-datepicker.js +1 -1
  308. package/dist/collection/components/bs-description-item/bs-description-item.cmp.test.js +14 -0
  309. package/dist/collection/components/bs-description-item/bs-description-item.css +47 -0
  310. package/dist/collection/components/bs-description-item/bs-description-item.js +111 -0
  311. package/dist/collection/components/bs-description-list/bs-description-list.cmp.test.js +58 -0
  312. package/dist/collection/components/bs-description-list/bs-description-list.css +15 -0
  313. package/dist/collection/components/bs-description-list/bs-description-list.js +127 -0
  314. package/dist/collection/components/bs-description-list/bs-description-list.stories.js +34 -0
  315. package/dist/collection/components/bs-divider/bs-divider.js +1 -1
  316. package/dist/collection/components/bs-dropdown/bs-dropdown.cmp.test.js +133 -0
  317. package/dist/collection/components/bs-dropdown/bs-dropdown.css +3 -0
  318. package/dist/collection/components/bs-dropdown/bs-dropdown.js +218 -0
  319. package/dist/collection/components/bs-dropdown/bs-dropdown.stories.js +42 -0
  320. package/dist/collection/components/bs-empty-state/bs-empty-state.cmp.test.js +15 -0
  321. package/dist/collection/components/bs-empty-state/bs-empty-state.css +30 -1
  322. package/dist/collection/components/bs-empty-state/bs-empty-state.js +29 -1
  323. package/dist/collection/components/bs-empty-state/bs-empty-state.stories.js +24 -1
  324. package/dist/collection/components/bs-error-page/bs-error-page.js +1 -1
  325. package/dist/collection/components/bs-file-upload/bs-file-upload.js +1 -1
  326. package/dist/collection/components/bs-file-upload-item/bs-file-upload-item.js +1 -1
  327. package/dist/collection/components/bs-global-search/bs-global-search.js +2 -2
  328. package/dist/collection/components/bs-grid/bs-grid.js +2 -2
  329. package/dist/collection/components/bs-heading/bs-heading.cmp.test.js +38 -0
  330. package/dist/collection/components/bs-heading/bs-heading.css +42 -0
  331. package/dist/collection/components/bs-heading/bs-heading.js +154 -0
  332. package/dist/collection/components/bs-heading/bs-heading.stories.js +28 -0
  333. package/dist/collection/components/bs-icon/bs-icon.cmp.test.js +78 -0
  334. package/dist/collection/components/bs-icon/bs-icon.css +47 -0
  335. package/dist/collection/components/bs-icon/bs-icon.js +155 -0
  336. package/dist/collection/components/bs-icon/bs-icon.stories.js +52 -0
  337. package/dist/collection/components/bs-icon/icon-registry.js +58 -0
  338. package/dist/collection/components/bs-icon-tile/bs-icon-tile.js +2 -2
  339. package/dist/collection/components/bs-input/bs-input.cmp.test.js +431 -45
  340. package/dist/collection/components/bs-input/bs-input.css +196 -12
  341. package/dist/collection/components/bs-input/bs-input.js +565 -46
  342. package/dist/collection/components/bs-input/bs-input.stories.js +32 -4
  343. package/dist/collection/components/bs-key/bs-key.js +1 -1
  344. package/dist/collection/components/bs-key-caps/bs-key-caps.js +1 -1
  345. package/dist/collection/components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.js +2 -2
  346. package/dist/collection/components/bs-link/bs-link.cmp.test.js +52 -0
  347. package/dist/collection/components/bs-link/bs-link.css +129 -0
  348. package/dist/collection/components/bs-link/bs-link.js +257 -0
  349. package/dist/collection/components/bs-link/bs-link.stories.js +31 -0
  350. package/dist/collection/components/bs-list/bs-list.cmp.test.js +23 -0
  351. package/dist/collection/components/bs-list/bs-list.js +32 -2
  352. package/dist/collection/components/bs-list/bs-list.stories.js +35 -2
  353. package/dist/collection/components/bs-list-item/bs-list-item.css +8 -0
  354. package/dist/collection/components/bs-list-item/bs-list-item.js +24 -1
  355. package/dist/collection/components/bs-mega-menu/bs-mega-menu.js +1 -1
  356. package/dist/collection/components/bs-menu/bs-menu.js +1 -1
  357. package/dist/collection/components/bs-menu-block/bs-menu-block.js +3 -3
  358. package/dist/collection/components/bs-menu-item/bs-menu-item.js +1 -1
  359. package/dist/collection/components/bs-menu-item/bs-menu-item.stories.js +19 -15
  360. package/dist/collection/components/bs-message/bs-message.js +1 -1
  361. package/dist/collection/components/bs-message-list/bs-message-list.js +1 -1
  362. package/dist/collection/components/bs-page-header/bs-page-header.js +1 -1
  363. package/dist/collection/components/bs-pagination/bs-pagination.js +1 -1
  364. package/dist/collection/components/bs-popover/bs-popover.cmp.test.js +11 -4
  365. package/dist/collection/components/bs-popover/bs-popover.js +26 -2
  366. package/dist/collection/components/bs-presence/bs-presence.js +1 -1
  367. package/dist/collection/components/bs-progress/bs-progress.js +2 -2
  368. package/dist/collection/components/bs-progress-linear/bs-progress-linear.css +4 -1
  369. package/dist/collection/components/bs-progress-linear/bs-progress-linear.js +2 -2
  370. package/dist/collection/components/bs-qr-code/bs-qr-code.js +1 -1
  371. package/dist/collection/components/bs-radio/bs-radio.cmp.test.js +8 -0
  372. package/dist/collection/components/bs-radio/bs-radio.js +25 -1
  373. package/dist/collection/components/bs-radio-group/bs-radio-group.cmp.test.js +85 -0
  374. package/dist/collection/components/bs-radio-group/bs-radio-group.css +59 -0
  375. package/dist/collection/components/bs-radio-group/bs-radio-group.js +309 -0
  376. package/dist/collection/components/bs-radio-group/bs-radio-group.stories.js +35 -0
  377. package/dist/collection/components/bs-ripple/bs-ripple.js +1 -1
  378. package/dist/collection/components/bs-search-item/bs-search-item.js +1 -1
  379. package/dist/collection/components/bs-select/bs-select.cmp.test.js +108 -0
  380. package/dist/collection/components/bs-select/bs-select.css +231 -0
  381. package/dist/collection/components/bs-select/bs-select.js +506 -0
  382. package/dist/collection/components/bs-select/bs-select.stories.js +58 -0
  383. package/dist/collection/components/bs-session-timeout/bs-session-timeout.js +1 -1
  384. package/dist/collection/components/bs-shortcut-row/bs-shortcut-row.js +1 -1
  385. package/dist/collection/components/bs-skeleton/bs-skeleton.js +1 -1
  386. package/dist/collection/components/bs-skip-link/bs-skip-link.cmp.test.js +60 -0
  387. package/dist/collection/components/bs-skip-link/bs-skip-link.css +58 -0
  388. package/dist/collection/components/bs-skip-link/bs-skip-link.js +123 -0
  389. package/dist/collection/components/bs-skip-link/bs-skip-link.stories.js +27 -0
  390. package/dist/collection/components/bs-slider/bs-slider.cmp.test.js +13 -0
  391. package/dist/collection/components/bs-slider/bs-slider.css +3 -2
  392. package/dist/collection/components/bs-slider/bs-slider.js +1 -1
  393. package/dist/collection/components/bs-snackbar/bs-snackbar.cmp.test.js +22 -0
  394. package/dist/collection/components/bs-snackbar/bs-snackbar.css +23 -0
  395. package/dist/collection/components/bs-snackbar/bs-snackbar.js +1 -1
  396. package/dist/collection/components/bs-source-link/bs-source-link.js +3 -3
  397. package/dist/collection/components/bs-spinner/bs-spinner.js +1 -1
  398. package/dist/collection/components/bs-split-pane/bs-split-pane.js +1 -1
  399. package/dist/collection/components/bs-stack/bs-stack.js +1 -1
  400. package/dist/collection/components/bs-stat/bs-stat.cmp.test.js +49 -0
  401. package/dist/collection/components/bs-stat/bs-stat.css +116 -0
  402. package/dist/collection/components/bs-stat/bs-stat.js +284 -0
  403. package/dist/collection/components/bs-stat/bs-stat.stories.js +44 -0
  404. package/dist/collection/components/bs-stepper/bs-stepper/bs-stepper.js +1 -1
  405. package/dist/collection/components/bs-stepper/bs-stepper-step/bs-stepper-step.js +1 -1
  406. package/dist/collection/components/bs-switch/bs-switch.js +1 -1
  407. package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.css +2 -2
  408. package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.js +1 -1
  409. package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.stories.js +0 -4
  410. package/dist/collection/components/bs-tab/bs-tab/bs-tab.js +1 -1
  411. package/dist/collection/components/bs-tab/bs-tab/bs-tab.stories.js +7 -7
  412. package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.cmp.test.js +35 -0
  413. package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.css +6 -2
  414. package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.js +13 -6
  415. package/dist/collection/components/bs-table-of-contents/bs-table-of-contents.cmp.test.js +125 -0
  416. package/dist/collection/components/bs-table-of-contents/bs-table-of-contents.css +115 -0
  417. package/dist/collection/components/bs-table-of-contents/bs-table-of-contents.js +392 -0
  418. package/dist/collection/components/bs-table-of-contents/bs-table-of-contents.stories.js +58 -0
  419. package/dist/collection/components/bs-tag/bs-tag.cmp.test.js +66 -0
  420. package/dist/collection/components/bs-tag/bs-tag.css +101 -0
  421. package/dist/collection/components/bs-tag/bs-tag.js +233 -0
  422. package/dist/collection/components/bs-tag/bs-tag.stories.js +59 -0
  423. package/dist/collection/components/bs-text/bs-text.cmp.test.js +33 -0
  424. package/dist/collection/components/bs-text/bs-text.css +48 -0
  425. package/dist/collection/components/bs-text/bs-text.js +126 -0
  426. package/dist/collection/components/bs-text/bs-text.stories.js +25 -0
  427. package/dist/collection/components/bs-timepicker/bs-timepicker.js +2 -2
  428. package/dist/collection/components/bs-toast/bs-toast.js +1 -1
  429. package/dist/collection/components/bs-toggle-button/bs-toggle-button.cmp.test.js +47 -0
  430. package/dist/collection/components/bs-toggle-button/bs-toggle-button.css +125 -0
  431. package/dist/collection/components/bs-toggle-button/bs-toggle-button.js +234 -0
  432. package/dist/collection/components/bs-toggle-button/bs-toggle-button.stories.js +22 -0
  433. package/dist/collection/components/bs-toggle-button-group/bs-toggle-button-group.cmp.test.js +69 -0
  434. package/dist/collection/components/bs-toggle-button-group/bs-toggle-button-group.css +43 -0
  435. package/dist/collection/components/bs-toggle-button-group/bs-toggle-button-group.js +264 -0
  436. package/dist/collection/components/bs-toggle-button-group/bs-toggle-button-group.stories.js +42 -0
  437. package/dist/collection/components/bs-toolbar/bs-toolbar.cmp.test.js +144 -0
  438. package/dist/collection/components/bs-toolbar/bs-toolbar.css +82 -0
  439. package/dist/collection/components/bs-toolbar/bs-toolbar.js +345 -0
  440. package/dist/collection/components/bs-toolbar/bs-toolbar.stories.js +49 -0
  441. package/dist/collection/components/bs-tooltip/bs-tooltip.js +1 -1
  442. package/dist/collection/components/bs-tooltip-trigger/bs-tooltip-trigger.js +1 -1
  443. package/dist/collection/components/bs-tree/bs-tree.js +1 -1
  444. package/dist/collection/components/bs-tree-item/bs-tree-item.js +2 -2
  445. package/dist/collection/components/bs-tree-item/bs-tree-item.stories.js +6 -4
  446. package/dist/collection/components/bs-whats-new-entry/bs-whats-new-entry.js +1 -1
  447. package/dist/collection/components/disabled-aria.cmp.test.js +19 -0
  448. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.cmp.test.js +25 -0
  449. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.css +2 -2
  450. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.js +2 -2
  451. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.cmp.test.js +58 -0
  452. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.css +10 -2
  453. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.js +63 -4
  454. package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.cmp.test.js +42 -9
  455. package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.css +44 -37
  456. package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.js +2 -2
  457. package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.stories.js +22 -0
  458. package/dist/collection/index.js +1 -0
  459. package/dist/collection/test/helpers/block-link-navigation.js +13 -0
  460. package/dist/collection/test/helpers/contrast.js +57 -0
  461. package/dist/components/bs-accordion-group.js +1 -1
  462. package/dist/components/bs-accordion.js +1 -1
  463. package/dist/components/bs-ai-disclaimer.js +1 -1
  464. package/dist/components/bs-ai-greeting.js +1 -1
  465. package/dist/components/bs-ai-thinking.js +1 -1
  466. package/dist/components/bs-app-recent-item.js +1 -1
  467. package/dist/components/bs-app-shell.js +1 -1
  468. package/dist/components/bs-app-switcher.js +1 -1
  469. package/dist/components/bs-app-tile.js +1 -1
  470. package/dist/components/bs-attachment-list.js +1 -1
  471. package/dist/components/bs-attachment.js +1 -1
  472. package/dist/components/bs-avatar.js +1 -1
  473. package/dist/components/bs-badge.js +1 -1
  474. package/dist/components/bs-breadcrumb-overflow.js +1 -1
  475. package/dist/components/bs-breadcrumb.js +1 -1
  476. package/dist/components/bs-breadcrumbs.js +1 -1
  477. package/dist/components/bs-button-skeleton.js +1 -1
  478. package/dist/components/bs-button.js +1 -1
  479. package/dist/components/bs-card.js +1 -1
  480. package/dist/components/bs-carousel.js +1 -1
  481. package/dist/components/bs-chatbot-feedback.js +1 -1
  482. package/dist/components/bs-chatbot-header.js +1 -1
  483. package/dist/components/bs-chatbot-response-action.js +1 -1
  484. package/dist/components/bs-chatbot-sources-drawer.js +1 -1
  485. package/dist/components/bs-chatbot-suggestion-button.js +1 -1
  486. package/dist/components/bs-checkbox-group.d.ts +11 -0
  487. package/dist/components/bs-checkbox-group.js +1 -0
  488. package/dist/components/bs-checkbox-skeleton.js +1 -1
  489. package/dist/components/bs-checkbox.js +1 -1
  490. package/dist/components/bs-chip-filter.js +1 -1
  491. package/dist/components/bs-chip-informative.js +1 -1
  492. package/dist/components/bs-chip-input.js +1 -1
  493. package/dist/components/bs-citation-preview.js +1 -1
  494. package/dist/components/bs-code-block.d.ts +11 -0
  495. package/dist/components/bs-code-block.js +1 -0
  496. package/dist/components/bs-command-palette.js +1 -1
  497. package/dist/components/bs-compact-menu-block.js +1 -1
  498. package/dist/components/bs-company-switcher.js +1 -1
  499. package/dist/components/bs-composer-status-banner.js +1 -1
  500. package/dist/components/bs-composer.js +1 -1
  501. package/dist/components/bs-container.js +1 -1
  502. package/dist/components/bs-cookie-consent.js +1 -1
  503. package/dist/components/bs-data-table.js +1 -1
  504. package/dist/components/bs-datepicker.js +1 -1
  505. package/dist/components/bs-description-item.d.ts +11 -0
  506. package/dist/components/bs-description-item.js +1 -0
  507. package/dist/components/bs-description-list.d.ts +11 -0
  508. package/dist/components/bs-description-list.js +1 -0
  509. package/dist/components/bs-dialog.js +1 -1
  510. package/dist/components/bs-divider.js +1 -1
  511. package/dist/components/bs-dropdown.d.ts +11 -0
  512. package/dist/components/bs-dropdown.js +1 -0
  513. package/dist/components/bs-empty-state.js +1 -1
  514. package/dist/components/bs-error-page.js +1 -1
  515. package/dist/components/bs-file-upload-item.js +1 -1
  516. package/dist/components/bs-file-upload.js +1 -1
  517. package/dist/components/bs-global-search.js +1 -1
  518. package/dist/components/bs-grid.js +1 -1
  519. package/dist/components/bs-heading.d.ts +11 -0
  520. package/dist/components/bs-heading.js +1 -0
  521. package/dist/components/bs-icon-button.js +1 -1
  522. package/dist/components/bs-icon-tile.js +1 -1
  523. package/dist/components/bs-icon.d.ts +11 -0
  524. package/dist/components/bs-icon.js +1 -0
  525. package/dist/components/bs-inline-tab.js +1 -1
  526. package/dist/components/bs-input.js +1 -1
  527. package/dist/components/bs-key-caps.js +1 -1
  528. package/dist/components/bs-key.js +1 -1
  529. package/dist/components/bs-keyboard-shortcuts.js +1 -1
  530. package/dist/components/bs-link.d.ts +11 -0
  531. package/dist/components/bs-link.js +1 -0
  532. package/dist/components/bs-list-item.js +1 -1
  533. package/dist/components/bs-list.js +1 -1
  534. package/dist/components/bs-logo.js +1 -1
  535. package/dist/components/bs-mega-menu.js +1 -1
  536. package/dist/components/bs-menu-block.js +1 -1
  537. package/dist/components/bs-menu-item.js +1 -1
  538. package/dist/components/bs-menu.js +1 -1
  539. package/dist/components/bs-message-list.js +1 -1
  540. package/dist/components/bs-message.js +1 -1
  541. package/dist/components/bs-navigation-drawer-item.js +1 -1
  542. package/dist/components/bs-navigation-drawer.js +1 -1
  543. package/dist/components/bs-navigation-header.js +1 -1
  544. package/dist/components/bs-onboarding-checklist.js +1 -1
  545. package/dist/components/bs-page-header.js +1 -1
  546. package/dist/components/bs-pagination.js +1 -1
  547. package/dist/components/bs-popover.js +1 -1
  548. package/dist/components/bs-presence.js +1 -1
  549. package/dist/components/bs-product-tour.js +1 -1
  550. package/dist/components/bs-progress-linear.js +1 -1
  551. package/dist/components/bs-progress.js +1 -1
  552. package/dist/components/bs-qr-code.js +1 -1
  553. package/dist/components/bs-radio-group.d.ts +11 -0
  554. package/dist/components/bs-radio-group.js +1 -0
  555. package/dist/components/bs-radio.js +1 -1
  556. package/dist/components/bs-ripple.js +1 -1
  557. package/dist/components/bs-search-item.js +1 -1
  558. package/dist/components/bs-select.d.ts +11 -0
  559. package/dist/components/bs-select.js +1 -0
  560. package/dist/components/bs-session-timeout.js +1 -1
  561. package/dist/components/bs-shortcut-row.js +1 -1
  562. package/dist/components/bs-side-panel.js +1 -1
  563. package/dist/components/bs-skeleton.js +1 -1
  564. package/dist/components/bs-skip-link.d.ts +11 -0
  565. package/dist/components/bs-skip-link.js +1 -0
  566. package/dist/components/bs-slider.js +1 -1
  567. package/dist/components/bs-snackbar.js +1 -1
  568. package/dist/components/bs-source-link.js +1 -1
  569. package/dist/components/bs-spinner.js +1 -1
  570. package/dist/components/bs-split-pane.js +1 -1
  571. package/dist/components/bs-stack.js +1 -1
  572. package/dist/components/bs-stat.d.ts +11 -0
  573. package/dist/components/bs-stat.js +1 -0
  574. package/dist/components/bs-stepper-step.js +1 -1
  575. package/dist/components/bs-stepper.js +1 -1
  576. package/dist/components/bs-switch.js +1 -1
  577. package/dist/components/bs-tab.js +1 -1
  578. package/dist/components/bs-table-of-contents.d.ts +11 -0
  579. package/dist/components/bs-table-of-contents.js +1 -0
  580. package/dist/components/bs-tabs.js +1 -1
  581. package/dist/components/bs-tag.d.ts +11 -0
  582. package/dist/components/bs-tag.js +1 -0
  583. package/dist/components/bs-text.d.ts +11 -0
  584. package/dist/components/bs-text.js +1 -0
  585. package/dist/components/bs-timepicker.js +1 -1
  586. package/dist/components/bs-toast.js +1 -1
  587. package/dist/components/bs-toggle-button-group.d.ts +11 -0
  588. package/dist/components/bs-toggle-button-group.js +1 -0
  589. package/dist/components/bs-toggle-button.d.ts +11 -0
  590. package/dist/components/bs-toggle-button.js +1 -0
  591. package/dist/components/bs-toolbar.d.ts +11 -0
  592. package/dist/components/bs-toolbar.js +1 -0
  593. package/dist/components/bs-tooltip-trigger.js +1 -1
  594. package/dist/components/bs-tooltip.js +1 -1
  595. package/dist/components/bs-tree-item.js +1 -1
  596. package/dist/components/bs-tree.js +1 -1
  597. package/dist/components/bs-whats-new-entry.js +1 -1
  598. package/dist/components/bs-whats-new.js +1 -1
  599. package/dist/components/index.js +1 -1
  600. package/dist/components/p-B5yjDh8h.js +1 -0
  601. package/dist/components/p-B81aicKA.js +1 -0
  602. package/dist/components/{p-CFR3Q0io.js → p-BB1HiIxJ.js} +1 -1
  603. package/dist/components/p-BLJL4BVY.js +1 -0
  604. package/dist/components/{p-D5eN9Lfa.js → p-BR7C-aKy.js} +1 -1
  605. package/dist/components/{p-D3PuUD8Z.js → p-Ba8J2kHD.js} +1 -1
  606. package/dist/components/{p-DF2FcJPs.js → p-C3YETziz.js} +1 -1
  607. package/dist/components/p-CALH_mHQ.js +1 -0
  608. package/dist/components/{p-DcD5eV_Z.js → p-CKTbatgt.js} +1 -1
  609. package/dist/components/{p-lPTgyF9v.js → p-CL99S8-7.js} +1 -1
  610. package/dist/components/{p-Dj393s3S.js → p-CZfbB-t_.js} +1 -1
  611. package/dist/components/p-CcAX4o5o.js +1 -0
  612. package/dist/components/{p-6Rr9bjVN.js → p-Cso2DKAz.js} +1 -1
  613. package/dist/components/{p-CVQycAap.js → p-CxNNy2m6.js} +1 -1
  614. package/dist/components/{p-CHZE_FrW.js → p-Cz38kNDe.js} +1 -1
  615. package/dist/components/{p-Y5FyLR8G.js → p-D4W5LcEW.js} +1 -1
  616. package/dist/components/{p--Tyv3LIl.js → p-DARbgzSz.js} +1 -1
  617. package/dist/components/p-DHZ_DStJ.js +1 -0
  618. package/dist/components/{p-BQ4rSQDm.js → p-DK1uv2fu.js} +1 -1
  619. package/dist/components/{p-DLnZG_G9.js → p-DL9HtG41.js} +1 -1
  620. package/dist/components/{p-Cr8cHmpM.js → p-DLNoxNuW.js} +1 -1
  621. package/dist/components/{p-4yShCgRb.js → p-DMp5CvEJ.js} +1 -1
  622. package/dist/components/p-DO4sVZCh.js +1 -0
  623. package/dist/components/{p-DDgzEg1C.js → p-DOW-YekD.js} +1 -1
  624. package/dist/components/p-DUV80kt-.js +1 -0
  625. package/dist/components/{p-BTPdjnXT.js → p-DVqoLSEW.js} +1 -1
  626. package/dist/components/{p-DtkTnaOp.js → p-DaKBSL2O.js} +1 -1
  627. package/dist/components/{p-ZfE38vXZ.js → p-Dlp2c-Ii.js} +1 -1
  628. package/dist/components/{p-XZXdZpt4.js → p-DnagAPBF.js} +1 -1
  629. package/dist/components/p-Dt3b6VYT.js +1 -0
  630. package/dist/components/{p-BWRkbt0f.js → p-KiyJJwzr.js} +1 -1
  631. package/dist/components/p-Vo0zbGRB.js +1 -0
  632. package/dist/components/p-_zxYDrzi.js +1 -0
  633. package/dist/components/p-abyVFrPp.js +1 -0
  634. package/dist/components/p-mxDA3wKn.js +1 -0
  635. package/dist/components/p-wd9-vGpQ.js +1 -0
  636. package/dist/components/p-wscU7FUD.js +1 -0
  637. package/dist/esm/brandsync-wc.js +3 -3
  638. package/dist/esm/bs-accordion-group.entry.js +2 -2
  639. package/dist/esm/bs-accordion.entry.js +2 -2
  640. package/dist/esm/bs-ai-disclaimer.entry.js +2 -2
  641. package/dist/esm/bs-ai-greeting.entry.js +2 -2
  642. package/dist/esm/bs-ai-thinking.entry.js +2 -2
  643. package/dist/esm/bs-app-recent-item_3.entry.js +5 -5
  644. package/dist/esm/bs-app-shell.entry.js +2 -2
  645. package/dist/esm/bs-app-switcher.entry.js +1 -1
  646. package/dist/esm/bs-attachment-list.entry.js +2 -2
  647. package/dist/esm/bs-attachment.entry.js +2 -2
  648. package/dist/esm/bs-avatar.entry.js +3 -10
  649. package/dist/esm/bs-badge.entry.js +2 -2
  650. package/dist/esm/bs-breadcrumb-overflow.entry.js +1 -1
  651. package/dist/esm/bs-breadcrumb.entry.js +3 -3
  652. package/dist/esm/bs-breadcrumbs.entry.js +10 -2
  653. package/dist/esm/bs-button-skeleton.entry.js +2 -2
  654. package/dist/esm/bs-button_2.entry.js +17 -4
  655. package/dist/esm/bs-card.entry.js +44 -3
  656. package/dist/esm/bs-carousel.entry.js +2 -2
  657. package/dist/esm/bs-chatbot-feedback.entry.js +3 -7
  658. package/dist/esm/bs-chatbot-header.entry.js +3 -7
  659. package/dist/esm/bs-chatbot-response-action.entry.js +2 -2
  660. package/dist/esm/bs-chatbot-sources-drawer.entry.js +2 -2
  661. package/dist/esm/bs-chatbot-suggestion-button.entry.js +3 -3
  662. package/dist/esm/bs-checkbox-group.entry.js +78 -0
  663. package/dist/esm/bs-checkbox-skeleton.entry.js +2 -2
  664. package/dist/esm/bs-checkbox.entry.js +1 -1
  665. package/dist/esm/bs-chip-filter.entry.js +2 -2
  666. package/dist/esm/bs-chip-informative.entry.js +2 -2
  667. package/dist/esm/bs-chip-input.entry.js +2 -2
  668. package/dist/esm/bs-citation-preview.entry.js +2 -2
  669. package/dist/esm/bs-code-block.entry.js +73 -0
  670. package/dist/esm/bs-command-palette.entry.js +2 -2
  671. package/dist/esm/bs-compact-menu-block_2.entry.js +5 -5
  672. package/dist/esm/bs-company-switcher.entry.js +3 -3
  673. package/dist/esm/bs-composer-status-banner.entry.js +2 -2
  674. package/dist/esm/bs-composer.entry.js +6 -4
  675. package/dist/esm/bs-container.entry.js +2 -2
  676. package/dist/esm/bs-cookie-consent.entry.js +1 -1
  677. package/dist/esm/bs-data-table.entry.js +8 -5
  678. package/dist/esm/bs-datepicker.entry.js +2 -2
  679. package/dist/esm/bs-description-item.entry.js +21 -0
  680. package/dist/esm/bs-description-list.entry.js +38 -0
  681. package/dist/esm/bs-dialog.entry.js +1 -1
  682. package/dist/esm/bs-divider.entry.js +2 -2
  683. package/dist/esm/bs-dropdown.entry.js +94 -0
  684. package/dist/esm/bs-empty-state.entry.js +7 -3
  685. package/dist/esm/bs-error-page.entry.js +2 -2
  686. package/dist/esm/bs-file-upload-item.entry.js +2 -2
  687. package/dist/esm/bs-file-upload.entry.js +2 -2
  688. package/dist/esm/bs-global-search.entry.js +3 -3
  689. package/dist/esm/bs-grid.entry.js +3 -3
  690. package/dist/esm/bs-heading.entry.js +26 -0
  691. package/dist/esm/bs-icon-button.entry.js +10 -3
  692. package/dist/esm/bs-icon-tile.entry.js +3 -3
  693. package/dist/esm/bs-icon.entry.js +33 -0
  694. package/dist/esm/bs-inline-tab.entry.js +3 -3
  695. package/dist/esm/bs-input_4.entry.js +789 -0
  696. package/dist/esm/bs-key-caps.entry.js +2 -2
  697. package/dist/esm/bs-key.entry.js +2 -2
  698. package/dist/esm/bs-keyboard-shortcuts.entry.js +3 -3
  699. package/dist/esm/bs-link.entry.js +50 -0
  700. package/dist/esm/bs-list-item.entry.js +66 -0
  701. package/dist/esm/bs-list.entry.js +9 -3
  702. package/dist/esm/bs-logo.entry.js +1 -1
  703. package/dist/esm/bs-mega-menu.entry.js +2 -2
  704. package/dist/esm/bs-message-list.entry.js +2 -2
  705. package/dist/esm/bs-message.entry.js +2 -2
  706. package/dist/esm/bs-navigation-drawer-item.entry.js +26 -5
  707. package/dist/esm/bs-navigation-drawer.entry.js +4 -4
  708. package/dist/esm/bs-navigation-header.entry.js +4 -4
  709. package/dist/esm/bs-onboarding-checklist.entry.js +1 -1
  710. package/dist/esm/bs-page-header.entry.js +2 -2
  711. package/dist/esm/bs-pagination.entry.js +2 -2
  712. package/dist/esm/bs-popover.entry.js +221 -0
  713. package/dist/esm/bs-presence.entry.js +2 -2
  714. package/dist/esm/bs-product-tour.entry.js +1 -1
  715. package/dist/esm/bs-progress-linear.entry.js +4 -4
  716. package/dist/esm/bs-progress.entry.js +3 -3
  717. package/dist/esm/bs-qr-code.entry.js +2 -2
  718. package/dist/esm/bs-radio-group.entry.js +88 -0
  719. package/dist/esm/bs-radio.entry.js +6 -2
  720. package/dist/esm/bs-search-item.entry.js +2 -2
  721. package/dist/esm/bs-select.entry.js +232 -0
  722. package/dist/esm/bs-session-timeout.entry.js +2 -2
  723. package/dist/esm/bs-shortcut-row.entry.js +2 -2
  724. package/dist/esm/bs-side-panel.entry.js +1 -1
  725. package/dist/esm/bs-skip-link.entry.js +50 -0
  726. package/dist/esm/bs-slider.entry.js +3 -3
  727. package/dist/esm/bs-snackbar.entry.js +3 -3
  728. package/dist/esm/bs-source-link.entry.js +4 -4
  729. package/dist/esm/bs-split-pane.entry.js +2 -2
  730. package/dist/esm/bs-stack.entry.js +2 -2
  731. package/dist/esm/bs-stat.entry.js +51 -0
  732. package/dist/esm/bs-stepper-step.entry.js +2 -2
  733. package/dist/esm/bs-stepper.entry.js +2 -2
  734. package/dist/esm/bs-switch.entry.js +2 -2
  735. package/dist/esm/bs-tab_3.entry.js +16 -9
  736. package/dist/esm/bs-table-of-contents.entry.js +169 -0
  737. package/dist/esm/bs-tag.entry.js +49 -0
  738. package/dist/esm/bs-text.entry.js +22 -0
  739. package/dist/esm/bs-timepicker.entry.js +3 -3
  740. package/dist/esm/bs-toast.entry.js +2 -2
  741. package/dist/esm/bs-toggle-button-group.entry.js +106 -0
  742. package/dist/esm/bs-toggle-button.entry.js +55 -0
  743. package/dist/esm/bs-toolbar.entry.js +193 -0
  744. package/dist/esm/bs-tooltip-trigger.entry.js +2 -2
  745. package/dist/esm/bs-tooltip.entry.js +2 -2
  746. package/dist/esm/bs-tree-item.entry.js +3 -3
  747. package/dist/esm/bs-tree.entry.js +2 -2
  748. package/dist/esm/bs-whats-new.entry.js +1 -1
  749. package/dist/esm/icon-registry-Vo0zbGRB.js +60 -0
  750. package/dist/esm/{index-D3SkQJpw.js → index-wz7B473u.js} +1 -1
  751. package/dist/esm/index.js +2 -0
  752. package/dist/esm/loader.js +3 -3
  753. package/dist/types/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.d.ts +9 -0
  754. package/dist/types/components/bs-button/bs-button/bs-button.d.ts +22 -6
  755. package/dist/types/components/bs-button/bs-icon-button/bs-icon-button.d.ts +7 -0
  756. package/dist/types/components/bs-card/bs-card.d.ts +35 -0
  757. package/dist/types/components/bs-card/bs-card.stories.d.ts +3 -0
  758. package/dist/types/components/bs-carousel/bs-carousel.d.ts +1 -1
  759. package/dist/types/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.d.ts +3 -0
  760. package/dist/types/components/bs-checkbox-group/bs-checkbox-group.cmp.test.d.ts +1 -0
  761. package/dist/types/components/bs-checkbox-group/bs-checkbox-group.d.ts +48 -0
  762. package/dist/types/components/bs-checkbox-group/bs-checkbox-group.stories.d.ts +15 -0
  763. package/dist/types/components/bs-code-block/bs-code-block.cmp.test.d.ts +1 -0
  764. package/dist/types/components/bs-code-block/bs-code-block.d.ts +68 -0
  765. package/dist/types/components/bs-code-block/bs-code-block.stories.d.ts +18 -0
  766. package/dist/types/components/bs-data-table/bs-data-table.d.ts +11 -0
  767. package/dist/types/components/bs-description-item/bs-description-item.cmp.test.d.ts +1 -0
  768. package/dist/types/components/bs-description-item/bs-description-item.d.ts +34 -0
  769. package/dist/types/components/bs-description-list/bs-description-list.cmp.test.d.ts +1 -0
  770. package/dist/types/components/bs-description-list/bs-description-list.d.ts +33 -0
  771. package/dist/types/components/bs-description-list/bs-description-list.stories.d.ts +11 -0
  772. package/dist/types/components/bs-dropdown/bs-dropdown.cmp.test.d.ts +1 -0
  773. package/dist/types/components/bs-dropdown/bs-dropdown.d.ts +51 -0
  774. package/dist/types/components/bs-dropdown/bs-dropdown.stories.d.ts +12 -0
  775. package/dist/types/components/bs-empty-state/bs-empty-state.d.ts +6 -0
  776. package/dist/types/components/bs-empty-state/bs-empty-state.stories.d.ts +3 -0
  777. package/dist/types/components/bs-heading/bs-heading.cmp.test.d.ts +1 -0
  778. package/dist/types/components/bs-heading/bs-heading.d.ts +34 -0
  779. package/dist/types/components/bs-heading/bs-heading.stories.d.ts +15 -0
  780. package/dist/types/components/bs-icon/bs-icon.cmp.test.d.ts +1 -0
  781. package/dist/types/components/bs-icon/bs-icon.d.ts +39 -0
  782. package/dist/types/components/bs-icon/bs-icon.stories.d.ts +16 -0
  783. package/dist/types/components/bs-icon/icon-registry.d.ts +16 -0
  784. package/dist/types/components/bs-input/bs-input.d.ts +83 -12
  785. package/dist/types/components/bs-input/bs-input.stories.d.ts +3 -1
  786. package/dist/types/components/bs-link/bs-link.cmp.test.d.ts +1 -0
  787. package/dist/types/components/bs-link/bs-link.d.ts +48 -0
  788. package/dist/types/components/bs-link/bs-link.stories.d.ts +19 -0
  789. package/dist/types/components/bs-list/bs-list.d.ts +6 -0
  790. package/dist/types/components/bs-list/bs-list.stories.d.ts +4 -0
  791. package/dist/types/components/bs-list-item/bs-list-item.d.ts +3 -0
  792. package/dist/types/components/bs-popover/bs-popover.d.ts +9 -1
  793. package/dist/types/components/bs-radio/bs-radio.d.ts +4 -0
  794. package/dist/types/components/bs-radio-group/bs-radio-group.cmp.test.d.ts +1 -0
  795. package/dist/types/components/bs-radio-group/bs-radio-group.d.ts +57 -0
  796. package/dist/types/components/bs-radio-group/bs-radio-group.stories.d.ts +16 -0
  797. package/dist/types/components/bs-select/bs-select.cmp.test.d.ts +1 -0
  798. package/dist/types/components/bs-select/bs-select.d.ts +85 -0
  799. package/dist/types/components/bs-select/bs-select.stories.d.ts +19 -0
  800. package/dist/types/components/bs-skip-link/bs-skip-link.cmp.test.d.ts +1 -0
  801. package/dist/types/components/bs-skip-link/bs-skip-link.d.ts +40 -0
  802. package/dist/types/components/bs-skip-link/bs-skip-link.stories.d.ts +10 -0
  803. package/dist/types/components/bs-stat/bs-stat.cmp.test.d.ts +1 -0
  804. package/dist/types/components/bs-stat/bs-stat.d.ts +56 -0
  805. package/dist/types/components/bs-stat/bs-stat.stories.d.ts +16 -0
  806. package/dist/types/components/bs-tab/bs-inline-tab/bs-inline-tab.stories.d.ts +0 -1
  807. package/dist/types/components/bs-tab/bs-tabs/bs-tabs.d.ts +5 -3
  808. package/dist/types/components/bs-table-of-contents/bs-table-of-contents.cmp.test.d.ts +1 -0
  809. package/dist/types/components/bs-table-of-contents/bs-table-of-contents.d.ts +96 -0
  810. package/dist/types/components/bs-table-of-contents/bs-table-of-contents.stories.d.ts +13 -0
  811. package/dist/types/components/bs-tag/bs-tag.cmp.test.d.ts +1 -0
  812. package/dist/types/components/bs-tag/bs-tag.d.ts +49 -0
  813. package/dist/types/components/bs-tag/bs-tag.stories.d.ts +16 -0
  814. package/dist/types/components/bs-text/bs-text.cmp.test.d.ts +1 -0
  815. package/dist/types/components/bs-text/bs-text.d.ts +31 -0
  816. package/dist/types/components/bs-text/bs-text.stories.d.ts +14 -0
  817. package/dist/types/components/bs-toggle-button/bs-toggle-button.cmp.test.d.ts +1 -0
  818. package/dist/types/components/bs-toggle-button/bs-toggle-button.d.ts +48 -0
  819. package/dist/types/components/bs-toggle-button/bs-toggle-button.stories.d.ts +13 -0
  820. package/dist/types/components/bs-toggle-button-group/bs-toggle-button-group.cmp.test.d.ts +1 -0
  821. package/dist/types/components/bs-toggle-button-group/bs-toggle-button-group.d.ts +42 -0
  822. package/dist/types/components/bs-toggle-button-group/bs-toggle-button-group.stories.d.ts +13 -0
  823. package/dist/types/components/bs-toolbar/bs-toolbar.cmp.test.d.ts +1 -0
  824. package/dist/types/components/bs-toolbar/bs-toolbar.d.ts +88 -0
  825. package/dist/types/components/bs-toolbar/bs-toolbar.stories.d.ts +13 -0
  826. package/dist/types/components/disabled-aria.cmp.test.d.ts +1 -0
  827. package/dist/types/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.d.ts +11 -1
  828. package/dist/types/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.stories.d.ts +3 -0
  829. package/dist/types/components.d.ts +3107 -88
  830. package/dist/types/index.d.ts +1 -0
  831. package/dist/types/test/helpers/block-link-navigation.d.ts +8 -0
  832. package/dist/types/test/helpers/contrast.d.ts +5 -0
  833. package/package.json +6 -1
  834. package/reference.d.ts +63 -9
  835. package/reference.json +670 -17
  836. package/dist/brandsync-wc/p-08649f52.entry.js +0 -1
  837. package/dist/brandsync-wc/p-1580c56c.entry.js +0 -1
  838. package/dist/brandsync-wc/p-171fa239.entry.js +0 -1
  839. package/dist/brandsync-wc/p-197ac73f.entry.js +0 -1
  840. package/dist/brandsync-wc/p-1e33bc10.entry.js +0 -1
  841. package/dist/brandsync-wc/p-270b2cb0.entry.js +0 -1
  842. package/dist/brandsync-wc/p-28c38959.entry.js +0 -1
  843. package/dist/brandsync-wc/p-2a8b2ac9.entry.js +0 -1
  844. package/dist/brandsync-wc/p-2a967b45.entry.js +0 -1
  845. package/dist/brandsync-wc/p-2b3d0bd4.entry.js +0 -1
  846. package/dist/brandsync-wc/p-30ff0659.entry.js +0 -1
  847. package/dist/brandsync-wc/p-3627e0c6.entry.js +0 -1
  848. package/dist/brandsync-wc/p-38a2210a.entry.js +0 -1
  849. package/dist/brandsync-wc/p-3b212a8a.entry.js +0 -1
  850. package/dist/brandsync-wc/p-4dfd4715.entry.js +0 -1
  851. package/dist/brandsync-wc/p-6afacd47.entry.js +0 -1
  852. package/dist/brandsync-wc/p-6f32a08e.entry.js +0 -1
  853. package/dist/brandsync-wc/p-776b677f.entry.js +0 -1
  854. package/dist/brandsync-wc/p-D3SkQJpw.js +0 -3
  855. package/dist/brandsync-wc/p-ab301e9d.entry.js +0 -1
  856. package/dist/brandsync-wc/p-d15e48eb.entry.js +0 -1
  857. package/dist/brandsync-wc/p-e1d30e31.entry.js +0 -1
  858. package/dist/brandsync-wc/p-e776d145.entry.js +0 -1
  859. package/dist/brandsync-wc/p-e7c80f48.entry.js +0 -1
  860. package/dist/brandsync-wc/p-eb680cff.entry.js +0 -1
  861. package/dist/brandsync-wc/p-f3b60029.entry.js +0 -1
  862. package/dist/brandsync-wc/p-f4628861.entry.js +0 -1
  863. package/dist/brandsync-wc/p-f5e6fdf8.entry.js +0 -1
  864. package/dist/brandsync-wc/p-f93127e1.entry.js +0 -1
  865. package/dist/cjs/bs-input_3.cjs.entry.js +0 -461
  866. package/dist/cjs/bs-list-item_2.cjs.entry.js +0 -261
  867. package/dist/cjs/bs-spinner.cjs.entry.js +0 -24
  868. package/dist/components/p-B2gx7SZk.js +0 -1
  869. package/dist/components/p-BHzj13sd.js +0 -1
  870. package/dist/components/p-BIxcCDgl.js +0 -1
  871. package/dist/components/p-BfCah-Ij.js +0 -1
  872. package/dist/components/p-BpkPo4ay.js +0 -1
  873. package/dist/components/p-CvSewXZF.js +0 -1
  874. package/dist/components/p-DXbcyEgd.js +0 -1
  875. package/dist/components/p-DXwatzvM.js +0 -1
  876. package/dist/components/p-DsBToIYE.js +0 -1
  877. package/dist/components/p-EGNLb4cQ.js +0 -1
  878. package/dist/components/p-Jik5UkAe.js +0 -1
  879. package/dist/components/p-syO0ipbw.js +0 -1
  880. package/dist/components/p-up01gvHY.js +0 -1
  881. package/dist/esm/bs-input_3.entry.js +0 -457
  882. package/dist/esm/bs-list-item_2.entry.js +0 -258
  883. package/dist/esm/bs-spinner.entry.js +0 -22
@@ -1,4 +1,6 @@
1
1
  import { render, h, describe, it, expect } from "@stencil/vitest";
2
+ import { blockLinkNavigation } from "../../../../test/helpers/block-link-navigation";
3
+ blockLinkNavigation();
2
4
  describe('bs-navigation-drawer-item', () => {
3
5
  it('renders a real button with part="item"', async () => {
4
6
  const { root } = await render(h("bs-navigation-drawer-item", null, "Introduction"));
@@ -169,4 +171,60 @@ describe('bs-navigation-drawer-item', () => {
169
171
  expect(root.shadowRoot.querySelector('[part="item"]').hasAttribute('aria-label')).toBe(false);
170
172
  });
171
173
  });
174
+ describe('aria-current', () => {
175
+ it('marks a selected leaf item as the current page', async () => {
176
+ const { root } = await render(h("bs-navigation-drawer-item", { selected: true }, "Overview"));
177
+ expect(root.shadowRoot.querySelector('[part="item"]')).toEqualAttribute('aria-current', 'page');
178
+ });
179
+ it('does not set aria-current on an unselected or expandable item', async () => {
180
+ const unselected = await render(h("bs-navigation-drawer-item", null, "Overview"));
181
+ expect(unselected.root.shadowRoot.querySelector('[part="item"]').hasAttribute('aria-current')).toBe(false);
182
+ const group = await render(h("bs-navigation-drawer-item", { expandable: true, selected: true }, "Components"));
183
+ expect(group.root.shadowRoot.querySelector('[part="item"]').hasAttribute('aria-current')).toBe(false);
184
+ });
185
+ });
186
+ describe('href (link item)', () => {
187
+ const item = (root) => root.shadowRoot.querySelector('[part="item"]');
188
+ it('renders a real <a> with href/target and no button', async () => {
189
+ const { root } = await render(h("bs-navigation-drawer-item", { href: "/overview", target: "_blank" }, "Overview"));
190
+ expect(item(root).tagName).toBe('A');
191
+ expect(item(root)).toEqualAttribute('href', '/overview');
192
+ expect(item(root)).toEqualAttribute('rel', 'noopener noreferrer');
193
+ expect(root.shadowRoot.querySelector('button')).toBeNull();
194
+ });
195
+ it('stays a button without href, and for expandable items even with href', async () => {
196
+ const plain = await render(h("bs-navigation-drawer-item", null, "Overview"));
197
+ expect(item(plain.root).tagName).toBe('BUTTON');
198
+ const group = await render(h("bs-navigation-drawer-item", { expandable: true, href: "/x" }, "Group"));
199
+ expect(item(group.root).tagName).toBe('BUTTON');
200
+ });
201
+ it('emits a cancelable bsSelect on a plain click and lets a router prevent navigation', async () => {
202
+ const { root } = await render(h("bs-navigation-drawer-item", { href: "#/overview" }, "Overview"));
203
+ let cancelable = false;
204
+ root.addEventListener('bsSelect', (e) => {
205
+ cancelable = e.cancelable;
206
+ e.preventDefault();
207
+ });
208
+ const click = new MouseEvent('click', { bubbles: true, cancelable: true, composed: true, button: 0 });
209
+ item(root).dispatchEvent(click);
210
+ expect(cancelable).toBe(true);
211
+ expect(click.defaultPrevented).toBe(true);
212
+ });
213
+ it('leaves ctrl-clicks to the browser (no bsSelect)', async () => {
214
+ const { root, spyOnEvent } = await render(h("bs-navigation-drawer-item", { href: "#/overview" }, "Overview"));
215
+ const spy = spyOnEvent('bsSelect');
216
+ item(root).dispatchEvent(new MouseEvent('click', { bubbles: true, cancelable: true, composed: true, button: 0, ctrlKey: true }));
217
+ expect(spy).toHaveReceivedEventTimes(0);
218
+ });
219
+ it('marks a selected link as the current page', async () => {
220
+ const { root } = await render(h("bs-navigation-drawer-item", { href: "#/overview", selected: true }, "Overview"));
221
+ expect(item(root)).toEqualAttribute('aria-current', 'page');
222
+ });
223
+ });
224
+ it('wraps a long caption in the collapsed rail instead of clipping it on both sides', async () => {
225
+ const { root } = await render(h("bs-navigation-drawer-item", { collapsed: true }, "A very long navigation caption here"));
226
+ const label = root.shadowRoot.querySelector('[part="label"]');
227
+ expect(getComputedStyle(label).whiteSpace).toBe('normal');
228
+ expect(getComputedStyle(label).textOverflow).toBe('clip');
229
+ });
172
230
  });
@@ -44,7 +44,7 @@
44
44
  * @prop --bs-navigation-drawer-item-focus-ring-color: Focus ring color. Aliased to
45
45
  * --bs-border-neutral-focus.
46
46
  * @prop --bs-navigation-drawer-item-children-gap: Gap between nested child rows. Aliased to
47
- * --bs-spacing-100.
47
+ * --bs-spacing-150 (12px).
48
48
  * @prop --bs-navigation-drawer-item-collapsed-gap: Gap between the icon and caption when
49
49
  * `collapsed`. Aliased to --bs-spacing-100.
50
50
  * @prop --bs-navigation-drawer-item-collapsed-padding: Padding of a `collapsed` row. Aliased to
@@ -87,7 +87,7 @@
87
87
  --bs-navigation-drawer-item-bg-selected-focus: var(--bs-surface-selected-focus);
88
88
  --bs-navigation-drawer-item-focus-ring-color: var(--bs-border-neutral-focus);
89
89
 
90
- --bs-navigation-drawer-item-children-gap: var(--bs-spacing-100);
90
+ --bs-navigation-drawer-item-children-gap: var(--bs-spacing-150);
91
91
 
92
92
  --bs-navigation-drawer-item-collapsed-gap: var(--bs-spacing-100);
93
93
  --bs-navigation-drawer-item-collapsed-padding: var(--bs-spacing-100);
@@ -117,6 +117,7 @@
117
117
  font-size: var(--bs-navigation-drawer-item-font-size);
118
118
  line-height: calc(var(--bs-navigation-drawer-item-line-height) * 1px);
119
119
  text-align: left;
120
+ text-decoration: none;
120
121
  cursor: pointer;
121
122
  transition:
122
123
  color var(--bs-duration-fast) var(--bs-easing-standard),
@@ -277,6 +278,11 @@
277
278
  flex: none;
278
279
  width: 100%;
279
280
  text-align: center;
281
+ /* A centered caption in a nowrap + overflow:hidden box is clipped on BOTH sides when it is
282
+ wider than the 96px rail; wrap instead so long captions stay readable. */
283
+ white-space: normal;
284
+ overflow-wrap: anywhere;
285
+ text-overflow: clip;
280
286
  font-size: var(--bs-navigation-drawer-item-collapsed-font-size);
281
287
  line-height: calc(var(--bs-navigation-drawer-item-collapsed-line-height) * 1px);
282
288
  }
@@ -311,6 +317,8 @@
311
317
  display: flex;
312
318
  flex-direction: column;
313
319
  gap: var(--bs-navigation-drawer-item-children-gap);
320
+ /* Same spacing between the parent row and its first child as between sibling children. */
321
+ margin-top: var(--bs-navigation-drawer-item-children-gap);
314
322
  }
315
323
 
316
324
  :host(:not([expanded])) .bs-navigation-drawer-item__children {
@@ -83,7 +83,17 @@ export class BsNavigationDrawerItem {
83
83
  * never shows a nested tree.
84
84
  */
85
85
  collapsed = false;
86
- /** Fires on click, only when `expandable` is false. See the class doc above. */
86
+ /** Makes a leaf item a real link: renders an `<a part="item" href>` instead of the `<button>`, so
87
+ * open-in-new-tab, copy link address, middle-click and the status-bar URL work. Ignored when
88
+ * `expandable` (groups stay buttons). `bsSelect` still fires on a plain click and is
89
+ * **cancelable**: call `event.preventDefault()` to stop the navigation and route it yourself
90
+ * (an SPA router). Ctrl/cmd/shift/alt-clicks and middle-clicks are left to the browser and do not
91
+ * emit `bsSelect`. */
92
+ href;
93
+ /** `target` of the link, when `href` is set. */
94
+ target;
95
+ /** Fires on click, only when `expandable` is false. Cancelable when `href` is set (see `href`).
96
+ * See the class doc above. */
87
97
  bsSelect;
88
98
  /** Fires with the new `expanded` value on click, only when `expandable` is true. See the class
89
99
  * doc above. */
@@ -106,7 +116,16 @@ export class BsNavigationDrawerItem {
106
116
  onIconSlotchange = (ev) => {
107
117
  this.hasIcon = ev.target.assignedNodes().length > 0;
108
118
  };
109
- onClick = () => {
119
+ onClick = (ev) => {
120
+ if (this.href && !this.expandable) {
121
+ // Modified and non-primary clicks open in a new tab/window: leave them to the browser.
122
+ if (ev.defaultPrevented || ev.button !== 0 || ev.metaKey || ev.ctrlKey || ev.shiftKey || ev.altKey)
123
+ return;
124
+ const select = this.bsSelect.emit();
125
+ if (select.defaultPrevented)
126
+ ev.preventDefault();
127
+ return;
128
+ }
110
129
  if (this.expandable) {
111
130
  this.expanded = !this.expanded;
112
131
  this.bsToggle.emit(this.expanded);
@@ -131,7 +150,9 @@ export class BsNavigationDrawerItem {
131
150
  // incorrectly also toggle this parent row on every child click. Both are wrapped in a
132
151
  // `display: contents` container so render() still returns a single root node (this codebase's
133
152
  // convention, e.g. bs-input.tsx) without that wrapper affecting layout at all.
134
- return (h("div", { key: 'd9db10cc12e5bb94ef9d4ee56717e05dfb6c81d5', class: "bs-navigation-drawer-item__root" }, h("button", { key: 'a8e08b999c594e581cf7bc2f9dd50b63dd6fd5b7', type: "button", part: "item", class: rowClasses, "aria-expanded": this.expandable ? String(this.expanded) : undefined, "aria-label": this.ariaLabel ?? undefined, onClick: this.onClick }, !this.nested && (h("span", { key: '6f57eb21aade5519a8235c9e90c32a700eaef7a4', part: "icon", class: `bs-navigation-drawer-item__icon ${this.hasIcon ? 'bs-navigation-drawer-item__icon--has-content' : ''}` }, h("slot", { key: '26028625770be92dc2761cf596b2bc4a4d0bfb57', name: "icon", onSlotchange: this.onIconSlotchange }))), h("span", { key: '1cbdceae85fe3260092c893131ad3b326d487220', part: "label", class: "bs-navigation-drawer-item__label" }, h("slot", { key: '1ebf7621f785f2c74a35ef74c4f636d5a38825c1' })), this.expandable && (h("span", { key: 'fbbad51caf5dbe3e16e4441ccc5c491c84d96d16', part: "chevron", class: `bs-navigation-drawer-item__chevron ${this.expanded ? 'bs-navigation-drawer-item__chevron--expanded' : ''}` }, h(ChevronDownIcon, { key: '2d70a545c6dba957f610448bec41073b686ce393' })))), this.expandable && (h("span", { key: '59d66b9003e99d048a755200ce29bbae7baa37d1', part: "children", class: "bs-navigation-drawer-item__children" }, h("slot", { key: '46409b5c795e13a3f49bd9c034c2ebc20a27ecf2', name: "children" })))));
153
+ const isLink = !!this.href && !this.expandable;
154
+ const Tag = isLink ? 'a' : 'button';
155
+ return (h("div", { key: '6959b0e14cf788fc3ea5c25c548f1552dc846e48', class: "bs-navigation-drawer-item__root" }, h(Tag, { key: '0da9511f8e0c726e85bbd9d1742cfadb2e34c6b2', ...(isLink ? { href: this.href, target: this.target, rel: this.target === '_blank' ? 'noopener noreferrer' : undefined } : { type: 'button' }), part: "item", class: rowClasses, "aria-expanded": this.expandable ? String(this.expanded) : undefined, "aria-current": this.selected && !this.expandable ? 'page' : undefined, "aria-label": this.ariaLabel ?? undefined, onClick: this.onClick }, !this.nested && (h("span", { key: '60bd0685577fb2bb6362917bfbdef2844fed536a', part: "icon", class: `bs-navigation-drawer-item__icon ${this.hasIcon ? 'bs-navigation-drawer-item__icon--has-content' : ''}` }, h("slot", { key: 'c58670508fd4ab20e5b5625baba6838e6550981d', name: "icon", onSlotchange: this.onIconSlotchange }))), h("span", { key: 'dd2e59620cede02cd9a419a706c983fd513be47d', part: "label", class: "bs-navigation-drawer-item__label" }, h("slot", { key: 'edd672532d815514ebd110c3a7d84c77d0ea565e' })), this.expandable && (h("span", { key: '9574bdd1a733c3c10dbd538d59b12f87aee71e9f', part: "chevron", class: `bs-navigation-drawer-item__chevron ${this.expanded ? 'bs-navigation-drawer-item__chevron--expanded' : ''}` }, h(ChevronDownIcon, { key: 'd29a831256777f0044f0902bceda134a4ddd0153' })))), this.expandable && (h("span", { key: '9e0bc4982629ecda8dcedec08f2af663b14042d1', part: "children", class: "bs-navigation-drawer-item__children" }, h("slot", { key: '71cb92fe0b807f0d3374fb5da4bab79cc362a24d', name: "children" })))));
135
156
  }
136
157
  static get is() { return "bs-navigation-drawer-item"; }
137
158
  static get encapsulation() { return "shadow"; }
@@ -266,6 +287,44 @@ export class BsNavigationDrawerItem {
266
287
  "reflect": true,
267
288
  "attribute": "collapsed",
268
289
  "defaultValue": "false"
290
+ },
291
+ "href": {
292
+ "type": "string",
293
+ "mutable": false,
294
+ "complexType": {
295
+ "original": "string",
296
+ "resolved": "string",
297
+ "references": {}
298
+ },
299
+ "required": false,
300
+ "optional": true,
301
+ "docs": {
302
+ "tags": [],
303
+ "text": "Makes a leaf item a real link: renders an `<a part=\"item\" href>` instead of the `<button>`, so\nopen-in-new-tab, copy link address, middle-click and the status-bar URL work. Ignored when\n`expandable` (groups stay buttons). `bsSelect` still fires on a plain click and is\n**cancelable**: call `event.preventDefault()` to stop the navigation and route it yourself\n(an SPA router). Ctrl/cmd/shift/alt-clicks and middle-clicks are left to the browser and do not\nemit `bsSelect`."
304
+ },
305
+ "getter": false,
306
+ "setter": false,
307
+ "reflect": false,
308
+ "attribute": "href"
309
+ },
310
+ "target": {
311
+ "type": "string",
312
+ "mutable": false,
313
+ "complexType": {
314
+ "original": "string",
315
+ "resolved": "string",
316
+ "references": {}
317
+ },
318
+ "required": false,
319
+ "optional": true,
320
+ "docs": {
321
+ "tags": [],
322
+ "text": "`target` of the link, when `href` is set."
323
+ },
324
+ "getter": false,
325
+ "setter": false,
326
+ "reflect": false,
327
+ "attribute": "target"
269
328
  }
270
329
  };
271
330
  }
@@ -283,7 +342,7 @@ export class BsNavigationDrawerItem {
283
342
  "composed": true,
284
343
  "docs": {
285
344
  "tags": [],
286
- "text": "Fires on click, only when `expandable` is false. See the class doc above."
345
+ "text": "Fires on click, only when `expandable` is false. Cancelable when `href` is set (see `href`).\nSee the class doc above."
287
346
  },
288
347
  "complexType": {
289
348
  "original": "void",
@@ -110,27 +110,23 @@ describe('bs-navigation-header: width and small screens', () => {
110
110
  expect(Math.round(bar.getBoundingClientRect().width)).toBe(1920);
111
111
  });
112
112
  });
113
- // Issue: at <=768px a left slot with intrinsic width (e.g. a search field) made the right slot
114
- // drop to its own row, because right was forced to flex: 1 1 100%.
115
- // `default` also has the logo and two 40px gaps in the row, so only a single action icon fits
116
- // beside it at 390px (more would correctly wrap -- see the next test).
113
+ // At a narrow header width the left slot drops to its own second row, so the right slot stays
114
+ // beside the logo on the first row and inside the viewport.
117
115
  for (const [alignment, icons] of [
118
116
  ['with-navigation-drawer', 3],
119
117
  ['default', 1],
120
118
  ]) {
121
- it(`${alignment}: a wide left slot yields, so the right slot stays on the same row at 390px`, async () => {
119
+ it(`${alignment}: a wide left slot drops below, so the right slot stays on the logo row at 390px`, async () => {
122
120
  await withViewport(390, 800, async () => {
123
121
  const { root, waitForChanges } = await render(h("bs-navigation-header", { alignment: alignment }, h("input", { slot: "left", style: { width: '380px' }, "aria-label": "Search" }), h("div", { slot: "right", style: { display: 'flex', gap: '8px' } }, Array.from({ length: icons }, (_, i) => (h("bs-icon-button", { ariaLabel: `Action ${i + 1}` }, "x"))))));
124
122
  await waitForChanges();
125
123
  const left = root.shadowRoot.querySelector('[part="left"]');
126
124
  const right = root.shadowRoot.querySelector('[part="right"]');
127
- // Same row = the two boxes overlap vertically (they have different heights and are
128
- // center-aligned, so their tops legitimately differ).
129
125
  const l = left.getBoundingClientRect();
130
126
  const r = right.getBoundingClientRect();
131
- expect(r.top < l.bottom && l.top < r.bottom).toBe(true);
132
- // and it stays inside the viewport (no horizontal overflow from the right slot)
127
+ expect(l.top).toBeGreaterThanOrEqual(r.bottom - 1);
133
128
  expect(r.right).toBeLessThanOrEqual(390);
129
+ expect(l.right).toBeLessThanOrEqual(390);
134
130
  });
135
131
  });
136
132
  }
@@ -222,3 +218,40 @@ describe('bs-navigation-header: mobile', () => {
222
218
  });
223
219
  });
224
220
  });
221
+ describe('bs-navigation-header: container-width layout', () => {
222
+ const intersects = (a, b) => a.left < b.right && b.left < a.right && a.top < b.bottom && b.top < a.bottom;
223
+ for (const width of [320, 600, 1200]) {
224
+ it(`${width}px container: no overlap/clipping between left items and right content, "Sign in" on one line`, async () => {
225
+ // Wide viewport on purpose: only the header's OWN width (container query) may drive layout.
226
+ await withViewport(1400, 900, async () => {
227
+ const { root, waitForChanges } = await render(h("div", { style: { width: `${width}px` } }, h("bs-navigation-header", null, h("div", { slot: "left", style: { display: 'contents' } }, h("bs-button", { variant: "subtle", size: "sm" }, "Products"), h("bs-button", { variant: "subtle", size: "sm" }, "Solutions"), h("bs-button", { variant: "subtle", size: "sm" }, "Pricing")), h("div", { slot: "right", style: { display: 'contents' } }, h("bs-icon-button", { ariaLabel: "Search" }, "s"), h("bs-icon-button", { ariaLabel: "Notifications" }, "n"), h("bs-button", { size: "sm" }, "Sign in")))));
228
+ await waitForChanges();
229
+ await new Promise(r => setTimeout(r, 100));
230
+ const header = root.querySelector('bs-navigation-header');
231
+ const bar = header.shadowRoot.querySelector('header');
232
+ const barRect = bar.getBoundingClientRect();
233
+ const lefts = Array.from(header.querySelectorAll('[slot="left"] > bs-button')).map(e => e.getBoundingClientRect());
234
+ const rights = Array.from(header.querySelectorAll('[slot="right"] > *')).map(e => e.getBoundingClientRect());
235
+ for (const l of lefts) {
236
+ for (const r of rights)
237
+ expect(intersects(l, r)).toBe(false);
238
+ }
239
+ for (const rect of [...lefts, ...rights]) {
240
+ expect(rect.left).toBeGreaterThanOrEqual(barRect.left - 0.5);
241
+ expect(rect.right).toBeLessThanOrEqual(barRect.right + 0.5);
242
+ }
243
+ // left items don't touch each other or the icons either (spacing from tokens)
244
+ for (let i = 1; i < lefts.length; i++) {
245
+ if (Math.abs(lefts[i].top - lefts[i - 1].top) < 4)
246
+ expect(lefts[i].left - lefts[i - 1].right).toBeGreaterThanOrEqual(4);
247
+ }
248
+ const signIn = header.querySelector('[slot="right"] > bs-button');
249
+ const signInRect = signIn.getBoundingClientRect();
250
+ // single line: the sm button is 40px tall at 1200px; a wrapped label would be taller
251
+ expect(Math.round(signInRect.height)).toBeLessThanOrEqual(40);
252
+ expect(header.getBoundingClientRect().width).toBe(width);
253
+ expect(header.scrollWidth).toBeLessThanOrEqual(width);
254
+ });
255
+ });
256
+ }
257
+ });
@@ -9,9 +9,8 @@
9
9
  * @prop --bs-navigation-header-padding-x: Aliased to --bs-margin-fluid.
10
10
  * @prop --bs-navigation-header-max-width: Overall max-width of the bar. Defaults to `none`, so an
11
11
  * app-shell header spans its container (a 1920px default stopped the bar short on screens wider
12
- * than that while the content below kept going). Set a length, e.g. `1920px`, to cap it. The global
13
- * vendored --bs-breakpoints-max-width token is not used: it is malformed (`1920rem` instead of
14
- * `1920px`).
12
+ * than that while the content below kept going). Set a length, e.g. `1920px` or
13
+ * `var(--bs-breakpoints-max-width)` (now `1920px`; it used to be a malformed `1920rem`), to cap it.
15
14
  * @prop --bs-navigation-header-item-gap: Gap between the logo and the `left` slot (`default`
16
15
  * alignment), or between the `left` and `right` slots (`with-navigation-drawer` alignment, which
17
16
  * has no logo). Not used in `center` alignment -- see the class doc in bs-navigation-header.tsx.
@@ -34,6 +33,8 @@
34
33
  :host {
35
34
  display: block;
36
35
  position: relative;
36
+ /* The header responds to its OWN width (see the @container rule below), not the viewport's. */
37
+ container-type: inline-size;
37
38
  --bs-navigation-header-menu-z-index: var(--bs-z-index-dropdown);
38
39
  --bs-navigation-header-menu-max-height: calc(100vh - 100%);
39
40
 
@@ -121,9 +122,19 @@
121
122
 
122
123
  .bs-navigation-header__left {
123
124
  display: flex;
125
+ flex-wrap: wrap;
124
126
  align-items: center;
125
127
  gap: var(--bs-navigation-header-slot-gap);
128
+ /* Shrinkable and wrapping, so left-slot items fold onto another line instead of running under
129
+ the right slot. */
130
+ flex: 0 1 auto;
131
+ min-width: 0;
132
+ }
133
+
134
+ .bs-navigation-header__left ::slotted(*),
135
+ .bs-navigation-header__right ::slotted(*) {
126
136
  flex-shrink: 0;
137
+ white-space: nowrap;
127
138
  }
128
139
 
129
140
  .bs-navigation-header__right {
@@ -131,56 +142,52 @@
131
142
  align-items: center;
132
143
  justify-content: flex-end;
133
144
  gap: var(--bs-navigation-header-slot-gap);
134
- flex: 1 0 0;
135
- min-width: 0;
145
+ /* Never shrinks: action buttons/labels keep their natural width and stay on one line. */
146
+ flex: 1 0 auto;
147
+ white-space: nowrap;
136
148
  }
137
149
 
138
- /* Below 768px (same breakpoint bs-navigation-drawer's own small-screen treatment uses, for
139
- consistency -- this library has no other width-based @media precedent to follow, see that
140
- component's CSS for the full reasoning), the fixed-width `bs-logo` (flex-shrink: 0 on `__logo`
141
- above) and the `right` slot's action icons no longer reliably fit in one row at real
142
- small-screen widths (e.g. 390px) -- the icon buttons inside `right` don't shrink, so they
143
- overflowed past the logo, reading as an overlap/collision. The bar therefore wraps, but only when
144
- it has to: `left` takes a zero flex-basis (`flex: 1 1 0%; min-width: 0`) so it yields all its
145
- space to the logo and `right` instead of forcing `right` onto its own row whenever `left` has
146
- intrinsic width (e.g. a search field), and `right` keeps its natural width (`flex: 0 0 auto`),
147
- pushed to the end. When logo + `right` fit together they share one row; when they don't, `right`
148
- wraps below, right-aligned. Content slotted into `left` should itself be able to shrink
149
- (`width: 100%` / `min-width: 0`) -- a fixed-width element would overflow its container.
150
- Only `default`/`with-navigation-drawer` need this -- `center`'s logo/right are already flex: 1
151
- and absorb the narrower width themselves. */
152
- @media (max-width: 768px) {
153
- @supports (height: 100dvh) {
154
- :host {
155
- --bs-navigation-header-menu-max-height: calc(100dvh - 100%);
156
- }
157
- }
150
+ .bs-navigation-header--center .bs-navigation-header__right {
151
+ flex: 1 0 0;
152
+ }
158
153
 
159
- .bs-navigation-header--default,
160
- .bs-navigation-header--with-navigation-drawer {
154
+ /* Narrow container (<= 768px of the HEADER's own width, so it also works in a narrow sidebar or
155
+ embedded preview, not just on small viewports): the bar wraps. Logo and `right` share the first
156
+ row (`right` pushed to the end, never shrinking), and `left` drops to its own full-width second
157
+ row where its items wrap again if needed -- so nothing in `left` can overlap or be clipped by
158
+ `right`. */
159
+ @container (max-width: 768px) {
160
+ .bs-navigation-header {
161
161
  flex-wrap: wrap;
162
162
  row-gap: var(--bs-navigation-header-slot-gap);
163
163
  }
164
164
 
165
- .bs-navigation-header--default .bs-navigation-header__left,
166
- .bs-navigation-header--with-navigation-drawer .bs-navigation-header__left {
167
- flex: 1 1 0%;
168
- min-width: 0;
165
+ .bs-navigation-header--center .bs-navigation-header__logo {
166
+ flex: 1 0 auto;
169
167
  }
170
168
 
171
- .bs-navigation-header--default .bs-navigation-header__right,
172
- .bs-navigation-header--with-navigation-drawer .bs-navigation-header__right {
169
+ .bs-navigation-header__right,
170
+ .bs-navigation-header--center .bs-navigation-header__right {
173
171
  flex: 0 0 auto;
174
172
  margin-inline-start: auto;
175
- justify-content: flex-end;
176
173
  }
177
174
 
178
- /* Slotted tabs/buttons are wider than the room left for `left` on a phone. The region scrolls
179
- sideways inside itself instead of pushing the page wider. Desktop is untouched. */
180
- .bs-navigation-header--default .bs-navigation-header__left {
175
+ .bs-navigation-header__left {
176
+ order: 3;
177
+ flex: 1 1 100%;
178
+ /* Items wrap; a single item wider than the row scrolls inside the region instead of
179
+ widening the page. */
181
180
  overflow-x: auto;
182
181
  scrollbar-width: none;
183
182
  }
183
+ }
184
+
185
+ @media (max-width: 768px) {
186
+ @supports (height: 100dvh) {
187
+ :host {
188
+ --bs-navigation-header-menu-max-height: calc(100dvh - 100%);
189
+ }
190
+ }
184
191
 
185
192
  /* A tall `menu` panel scrolls inside itself rather than running past the bottom of the screen. */
186
193
  .bs-navigation-header__menu {
@@ -68,8 +68,8 @@ export class BsNavigationHeader {
68
68
  const showLogo = this.alignment !== 'with-navigation-drawer';
69
69
  const rootClasses = `bs-navigation-header bs-navigation-header--${this.alignment}`;
70
70
  return [
71
- h("header", { key: 'e5a6d82f514a4a9a8b9536e20fcca17d1e452dd5', class: rootClasses, "aria-label": this.ariaLabel ?? undefined }, this.skipToContentHref && (h("a", { key: 'a8643e93a72106972c90dc1ae3ded93373a3a92c', part: "skip-link", class: "bs-navigation-header__skip-link", href: this.skipToContentHref }, this.skipToContentLabel)), showLogo && (h("bs-logo", { key: 'ea9b690969ccbc0bbfe3a04db3757103ebdfa48e', part: "logo", class: "bs-navigation-header__logo", variant: "full", background: this.logoBackground })), h("div", { key: '0f594db771b56aa2ef6b273012f2c8adec7dd863', part: "left", class: "bs-navigation-header__left" }, h("slot", { key: 'da581da6eb58bfce585c672afd03aeedcfc9e524', name: "left" })), h("div", { key: '2c8b09111497e393f1daad72834adf556a120030', part: "right", class: "bs-navigation-header__right" }, h("slot", { key: '9a94ec3a103ac001fd54c4b29efdefd4d9fdf89e', name: "right" }))),
72
- h("div", { key: '7038aad3e3fb78939d5560d6279015cb6b7aa744', part: "menu", class: "bs-navigation-header__menu" }, h("slot", { key: '2dcec3ff4dbae882c7e32c633ce57997a4dc326a', name: "menu" })),
71
+ h("header", { key: 'a7fcffa2ec464842b2e6aad19fa9a21e85796b7d', class: rootClasses, "aria-label": this.ariaLabel ?? undefined }, this.skipToContentHref && (h("a", { key: '21432a41f971e607c5df6c846d869912682a56cc', part: "skip-link", class: "bs-navigation-header__skip-link", href: this.skipToContentHref }, this.skipToContentLabel)), showLogo && (h("bs-logo", { key: '6803c29fd5a3ede2f4a644da7829fee45e2b8fa2', part: "logo", class: "bs-navigation-header__logo", variant: "full", background: this.logoBackground })), h("div", { key: 'e42b7b5efce1b19d59d230dbad95b1f271db679e', part: "left", class: "bs-navigation-header__left" }, h("slot", { key: 'a5e06ce8b39f8b58bdda0309f6c83e6c3cdb1875', name: "left" })), h("div", { key: '77e37e7c843f836abfa17bba7d7f0faba6a8d77d', part: "right", class: "bs-navigation-header__right" }, h("slot", { key: '093e569c6288ccf3012dfdd9c802777c1c30a9f2', name: "right" }))),
72
+ h("div", { key: 'a236363d6d749ef4a65b2a027146958a7d104913', part: "menu", class: "bs-navigation-header__menu" }, h("slot", { key: 'd1b13e21f13dc901b937a77792986ead352f47eb', name: "menu" })),
73
73
  ];
74
74
  }
75
75
  static get is() { return "bs-navigation-header"; }
@@ -342,6 +342,28 @@ export const HeaderBaseWithActions = {
342
342
  export const HeaderBaseWithNavigationAndActions = {
343
343
  name: 'Header Base with Navigation and Actions',
344
344
  };
345
+ // The header reacts to its OWN width (container query), so these wrap it in a fixed-width box
346
+ // rather than resizing the viewport.
347
+ const inContainer = (width) => (args) => html `
348
+ <div style="width: ${width}; border: 1px dashed var(--bs-border-default);">
349
+ <bs-navigation-header alignment=${args.alignment} logo-background=${args.logoBackground}>
350
+ <div slot="left" style="display: contents;">${leftSlotContent(args.leftContentType)}</div>
351
+ <div slot="right" style="display: contents;">${RIGHT_SLOT}</div>
352
+ </bs-navigation-header>
353
+ </div>
354
+ `;
355
+ export const HeaderBaseNarrowContainer = {
356
+ name: 'Narrow container (320px)',
357
+ render: inContainer('320px'),
358
+ };
359
+ export const HeaderBaseMediumContainer = {
360
+ name: 'Medium container (600px)',
361
+ render: inContainer('600px'),
362
+ };
363
+ export const HeaderBaseWideContainer = {
364
+ name: 'Wide container (1200px)',
365
+ render: inContainer('1200px'),
366
+ };
345
367
  export const HeaderBaseWithNavigationAndActionsCentered = {
346
368
  name: 'Header Base with Navigation and Actions, Centered',
347
369
  args: { alignment: 'center' },
@@ -8,3 +8,4 @@
8
8
  * to consume components of this package as outlined in the `README.md`.
9
9
  */
10
10
  export { format } from './utils/utils';
11
+ export { registerIcons, iconNames } from './components/bs-icon/icon-registry';
@@ -0,0 +1,13 @@
1
+ import { afterEach, beforeEach } from "vitest";
2
+ /** Blocks native link navigation for every test in the calling file.
3
+ *
4
+ * A click that reaches an `<a href>` un-prevented really navigates (or, with ctrl/cmd/middle, opens a
5
+ * new tab in) the browser running the tests; the vitest browser runner does not survive that, and
6
+ * floods the run with "Unknown event: ready" errors that fail the whole job. The listener sits on
7
+ * `window` in the bubbling phase, so the component's own handlers (and anything the test listens for)
8
+ * still run first. Call once at the top of any test file that clicks a link. */
9
+ export function blockLinkNavigation() {
10
+ const guard = (e) => e.preventDefault();
11
+ beforeEach(() => window.addEventListener('click', guard));
12
+ afterEach(() => window.removeEventListener('click', guard));
13
+ }
@@ -0,0 +1,57 @@
1
+ /** WCAG contrast helpers for browser component tests. Any CSS colour (rgb(), color-mix(), oklch...) is
2
+ * normalised to sRGB through a 1x1 canvas, so computed-style values can be passed straight in. */
3
+ function toRgb(css) {
4
+ const ctx = document.createElement('canvas').getContext('2d', { willReadFrequently: true });
5
+ ctx.canvas.width = ctx.canvas.height = 1;
6
+ ctx.clearRect(0, 0, 1, 1);
7
+ ctx.fillStyle = css;
8
+ ctx.fillRect(0, 0, 1, 1);
9
+ const d = ctx.getImageData(0, 0, 1, 1).data;
10
+ return [d[0], d[1], d[2], d[3] / 255];
11
+ }
12
+ function luminance([r, g, b]) {
13
+ const c = [r, g, b].map(v => {
14
+ const s = v / 255;
15
+ return s <= 0.03928 ? s / 12.92 : Math.pow((s + 0.055) / 1.055, 2.4);
16
+ });
17
+ return 0.2126 * c[0] + 0.7152 * c[1] + 0.0722 * c[2];
18
+ }
19
+ /** Contrast ratio between a foreground and background CSS colour; a translucent bg is composited over `backdrop`, a translucent fg over the bg. */
20
+ export function contrastRatio(fg, bg, backdrop = 'rgb(255, 255, 255)') {
21
+ const raw = toRgb(bg);
22
+ const back = toRgb(backdrop);
23
+ const b = [0, 1, 2].map(i => raw[i] * raw[3] + back[i] * (1 - raw[3]));
24
+ const f = toRgb(fg);
25
+ const a = f[3];
26
+ const fgc = [0, 1, 2].map(i => f[i] * a + b[i] * (1 - a));
27
+ const l1 = luminance(fgc);
28
+ const l2 = luminance(b);
29
+ return (Math.max(l1, l2) + 0.05) / (Math.min(l1, l2) + 0.05);
30
+ }
31
+ /** Resolves a CSS value (e.g. `var(--bs-text-inverse)`) to a computed colour in the context of `el`. */
32
+ export function resolveColor(el, value, prop = 'backgroundColor') {
33
+ const probe = document.createElement('span');
34
+ probe.style[prop] = value;
35
+ probe.style.display = 'none';
36
+ el.appendChild(probe);
37
+ const out = getComputedStyle(probe)[prop];
38
+ probe.remove();
39
+ return out;
40
+ }
41
+ export async function withTheme(theme, fn) {
42
+ const prev = document.documentElement.getAttribute('data-theme');
43
+ if (theme === 'dark')
44
+ document.documentElement.setAttribute('data-theme', 'dark');
45
+ else
46
+ document.documentElement.removeAttribute('data-theme');
47
+ await new Promise(r => setTimeout(r, 60));
48
+ try {
49
+ return await fn();
50
+ }
51
+ finally {
52
+ if (prev === null)
53
+ document.documentElement.removeAttribute('data-theme');
54
+ else
55
+ document.documentElement.setAttribute('data-theme', prev);
56
+ }
57
+ }
@@ -1 +1 @@
1
- import{t as o,p as s,H as c,h as e}from"./p-B2gx7SZk.js";const r=s(class extends c{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow()}get el(){return this}multiple=!1;onToggle(o){const s=o.target;if(!s||"bs-accordion"!==s.tagName.toLowerCase())return;const c=o.detail;s.expanded=c,c&&!this.multiple&&Array.from(this.el.querySelectorAll("bs-accordion")).forEach((o=>{o!==s&&(o.expanded=!1)}))}render(){return e("div",{key:"f3c43bbdb41aacc19356b37b736dbbe92dbee8c9",part:"group",class:"bs-accordion-group"},e("slot",{key:"5ad2f89cd263163bd153473e0bae103655426588"}))}static get style(){return":host{display:block;--bs-accordion-group-gap:0}.bs-accordion-group{display:flex;flex-direction:column;gap:var(--bs-accordion-group-gap)}"}},[769,"bs-accordion-group",{multiple:[4]},[[0,"bsToggle","onToggle"]]]);function t(){"undefined"!=typeof customElements&&["bs-accordion-group"].forEach((s=>{"bs-accordion-group"===s&&(customElements.get(o(s))||customElements.define(o(s),r))}))}t();const n=r,a=t;export{n as BsAccordionGroup,a as defineCustomElement}
1
+ import{t as o,p as c,H as s,h as r}from"./p-CcAX4o5o.js";const t=c(class extends s{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow()}get el(){return this}multiple=!1;onToggle(o){const c=o.target;if(!c||"bs-accordion"!==c.tagName.toLowerCase())return;const s=o.detail;c.expanded=s,s&&!this.multiple&&Array.from(this.el.querySelectorAll("bs-accordion")).forEach((o=>{o!==c&&(o.expanded=!1)}))}render(){return r("div",{key:"56384f2124a0950a70906c7cc581fe084d5ccfd5",part:"group",class:"bs-accordion-group"},r("slot",{key:"8b6cc577ccd33cb10d7b393cf2acd0b6d0cf11df"}))}static get style(){return":host{display:block;--bs-accordion-group-gap:0}.bs-accordion-group{display:flex;flex-direction:column;gap:var(--bs-accordion-group-gap)}"}},[769,"bs-accordion-group",{multiple:[4]},[[0,"bsToggle","onToggle"]]]);function e(){"undefined"!=typeof customElements&&["bs-accordion-group"].forEach((c=>{"bs-accordion-group"===c&&(customElements.get(o(c))||customElements.define(o(c),t))}))}e();const n=t,i=e;export{n as BsAccordionGroup,i as defineCustomElement}
@@ -1 +1 @@
1
- import{t as o,p as i,H as a,c as e,h as n}from"./p-B2gx7SZk.js";const c=i(class extends a{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.bsToggle=e(this,"bsToggle")}get el(){return this}expanded=!1;size="medium";disabled=!1;showIcon=!0;showPreview=!0;bsToggle;closing=!1;contentEl;animation;fromHeight=0;fromPadding="0px";pendingAnimation=!1;onExpandedChange(o){const i=this.contentEl;this.fromHeight=i?i.getBoundingClientRect().height:0,this.fromPadding=i?getComputedStyle(i).paddingBottom:"0px",this.animation?.cancel(),this.pendingAnimation=!0,o||this.showPreview||(this.closing=!0)}componentDidRender(){if(!this.pendingAnimation)return;this.pendingAnimation=!1;const o=this.contentEl,i=getComputedStyle(this.el),a=this.toMs(i.getPropertyValue("--bs-accordion-duration"));if(!o||0===a)return void(this.closing=!1);const e=!this.expanded&&!this.showPreview,n=e?0:o.getBoundingClientRect().height,c=e?"0px":getComputedStyle(o).paddingBottom;this.animation=o.animate([{height:this.fromHeight+"px",paddingBottom:this.fromPadding,overflow:"hidden"},{height:n+"px",paddingBottom:c,overflow:"hidden"}],{duration:a,easing:i.getPropertyValue("--bs-accordion-easing").trim()||"ease"}),this.animation.onfinish=()=>{this.closing=!1}}toMs(o){const i=o.trim();return i.endsWith("ms")?parseFloat(i):i.endsWith("s")?1e3*parseFloat(i):0}onActivate=()=>{this.disabled||this.bsToggle.emit(!this.expanded)};render(){return n("div",{key:"b7645b3be5116d906a2aa6e4e680859a9c19323f",part:"container",class:`bs-accordion bs-accordion--${this.size} ${this.disabled?"bs-accordion--disabled":""}`},n("button",{key:"a1c824c54a529b2214dbb47cb93adea5cdadee84",type:"button",part:"header",class:`bs-accordion__header bs-accordion__header--${this.size} ${this.showIcon?"":"bs-accordion__header--no-icon"}`,disabled:this.disabled,"aria-expanded":this.expanded+"",onClick:this.onActivate},this.showIcon&&n("span",{key:"5d35f4e2c05704a6bef532919301e765f8195aa7",part:"icon",class:"bs-accordion__icon bs-accordion__icon--"+this.size,"aria-hidden":"true"},n("slot",{key:"137280692f375379ef43be918094192d6030e2ad",name:"icon"},n(d,{key:"8826de2813774382dcf21e856288ff936eb12425"}))),n("span",{key:"57f370d082a86b7488bf309a114b82077d1f6711",part:"label",class:"bs-accordion__label "+(this.showIcon?"":"bs-accordion__label--no-icon")},n("slot",{key:"5563063582ee2e1fb79d02acdc3d0feb5ac07eec",name:"label"})),n("span",{key:"8d8afd4433823aa8122b2ed167fd5ed3c32dc21a",part:"caret",class:`bs-accordion__caret bs-accordion__caret--${this.size} ${this.expanded?"bs-accordion__caret--open":""}`,"aria-hidden":"true"},n(r,{key:"51dfcbdfa5ccff5c3e6a6c2f983fc4d7fb460c18"}))),(this.expanded||this.showPreview||this.closing)&&n("div",{key:"8d62decaf3dc7a98f91eaea1723fc26a8fc520a4",ref:o=>this.contentEl=o,part:"content",class:`bs-accordion__content ${this.showIcon?"":"bs-accordion__content--no-icon"} ${this.expanded?"bs-accordion__content--expanded":"bs-accordion__content--collapsed"}`},n("slot",{key:"56493eb5b425134b38ac60f481219a823379626e"})))}static get watchers(){return{expanded:[{onExpandedChange:0}]}}static get style(){return":host{display:block;--bs-accordion-radius:var(--bs-border-radius-100);--bs-accordion-header-padding-y-medium:var(--bs-spacing-150);--bs-accordion-header-padding-y-large:var(--bs-spacing-250);--bs-accordion-header-padding-x:var(--bs-spacing-200);--bs-accordion-content-padding-bottom:var(--bs-spacing-150);--bs-accordion-content-padding-right:var(--bs-spacing-200);--bs-accordion-content-padding-left:var(--bs-spacing-800);--bs-accordion-content-padding-left-no-icon:var(--bs-spacing-200);--bs-accordion-icon-width-medium:var(--bs-spacing-800);--bs-accordion-icon-height-medium:48px;--bs-accordion-icon-size-large:var(--bs-spacing-800);--bs-accordion-font-size:var(--bs-font-size-md);--bs-accordion-line-height:var(--bs-line-height-body-md);--bs-accordion-font-weight:var(--bs-font-weight-semibold);--bs-accordion-text-default:var(--bs-text-default);--bs-accordion-bg-hover:var(--bs-surface-hover);--bs-accordion-bg-disabled:var(--bs-surface-action-disabled);--bs-accordion-text-disabled:var(--bs-text-on-disabled);--bs-accordion-focus-ring:var(--bs-border-neutral-focus);--bs-accordion-duration:var(--bs-duration-default);--bs-accordion-easing:var(--bs-easing-standard)}.bs-accordion{display:block;border-radius:var(--bs-accordion-radius);overflow:hidden;font-family:inherit;transition:background-color var(--bs-accordion-duration) var(--bs-accordion-easing)}.bs-accordion:has(.bs-accordion__header:hover),.bs-accordion:has(.bs-accordion__header:active){background:var(--bs-accordion-bg-hover)}.bs-accordion:has(.bs-accordion__header:focus-visible){background:var(--bs-accordion-bg-hover);outline:2px solid var(--bs-accordion-focus-ring);outline-offset:2px;border-radius:calc(var(--bs-accordion-radius) + 2px)}.bs-accordion__header{display:flex;align-items:center;width:100%;border:none;background:transparent;color:var(--bs-accordion-text-default);padding:0;cursor:pointer;font-family:inherit;text-align:start}.bs-accordion__header:focus-visible{outline:none}.bs-accordion__header--medium{padding-top:var(--bs-accordion-header-padding-y-medium);padding-bottom:var(--bs-accordion-header-padding-y-medium)}.bs-accordion__header--large{padding-top:var(--bs-accordion-header-padding-y-large);padding-bottom:var(--bs-accordion-header-padding-y-large)}.bs-accordion__header:disabled{background:var(--bs-accordion-bg-disabled);color:var(--bs-accordion-text-disabled);cursor:default}.bs-accordion__icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;color:inherit}.bs-accordion__icon svg{width:24px;height:24px}.bs-accordion__icon--medium{width:var(--bs-accordion-icon-width-medium);height:var(--bs-accordion-icon-height-medium)}.bs-accordion__icon--large{width:var(--bs-accordion-icon-size-large);height:var(--bs-accordion-icon-size-large)}.bs-accordion__label{flex:1 1 auto;min-width:0;font-size:var(--bs-accordion-font-size);line-height:calc(var(--bs-accordion-line-height) * 1px);font-weight:var(--bs-accordion-font-weight)}.bs-accordion__label--no-icon{padding-inline-start:var(--bs-accordion-header-padding-x)}.bs-accordion__caret{display:flex;align-items:center;justify-content:center;flex-shrink:0;color:inherit}.bs-accordion__caret{transition:transform var(--bs-accordion-duration) var(--bs-accordion-easing)}.bs-accordion__caret--open{transform:rotate(180deg)}.bs-accordion__caret svg{width:24px;height:24px}.bs-accordion__caret--medium{width:var(--bs-accordion-icon-width-medium);height:var(--bs-accordion-icon-height-medium)}.bs-accordion__caret--large{width:var(--bs-accordion-icon-size-large);height:var(--bs-accordion-icon-size-large)}.bs-accordion__content{box-sizing:border-box;padding-top:0;padding-bottom:var(--bs-accordion-content-padding-bottom);padding-inline-end:var(--bs-accordion-content-padding-right);padding-inline-start:var(--bs-accordion-content-padding-left);color:var(--bs-accordion-text-default);font-size:var(--bs-accordion-font-size);line-height:calc(var(--bs-accordion-line-height) * 1px)}.bs-accordion__content--no-icon{padding-inline-start:var(--bs-accordion-content-padding-left-no-icon)}.bs-accordion__content--collapsed{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bs-accordion--disabled .bs-accordion__content{background:var(--bs-accordion-bg-disabled);color:var(--bs-accordion-text-disabled)}"}},[769,"bs-accordion",{expanded:[516],size:[1],disabled:[4],showIcon:[4,"show-icon"],showPreview:[4,"show-preview"],closing:[32]},void 0,{expanded:[{onExpandedChange:0}]}]),d=()=>n("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},n("path",{d:"M12 5V19",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),n("path",{d:"M5 12H19",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})),r=()=>n("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},n("path",{d:"M6 9.75L12 15.75L18 9.75",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}));function s(){"undefined"!=typeof customElements&&["bs-accordion"].forEach((i=>{"bs-accordion"===i&&(customElements.get(o(i))||customElements.define(o(i),c))}))}s();const t=c,b=s;export{t as BsAccordion,b as defineCustomElement}
1
+ import{t as o,p as i,H as a,c as n,h as e}from"./p-CcAX4o5o.js";const c=i(class extends a{constructor(o){super(),!1!==o&&this.__registerHost(),this.__attachShadow(),this.bsToggle=n(this,"bsToggle")}get el(){return this}expanded=!1;size="medium";disabled=!1;showIcon=!0;showPreview=!0;bsToggle;closing=!1;contentEl;animation;fromHeight=0;fromPadding="0px";pendingAnimation=!1;onExpandedChange(o){const i=this.contentEl;this.fromHeight=i?i.getBoundingClientRect().height:0,this.fromPadding=i?getComputedStyle(i).paddingBottom:"0px",this.animation?.cancel(),this.pendingAnimation=!0,o||this.showPreview||(this.closing=!0)}componentDidRender(){if(!this.pendingAnimation)return;this.pendingAnimation=!1;const o=this.contentEl,i=getComputedStyle(this.el),a=this.toMs(i.getPropertyValue("--bs-accordion-duration"));if(!o||0===a)return void(this.closing=!1);const n=!this.expanded&&!this.showPreview,e=n?0:o.getBoundingClientRect().height,c=n?"0px":getComputedStyle(o).paddingBottom;this.animation=o.animate([{height:this.fromHeight+"px",paddingBottom:this.fromPadding,overflow:"hidden"},{height:e+"px",paddingBottom:c,overflow:"hidden"}],{duration:a,easing:i.getPropertyValue("--bs-accordion-easing").trim()||"ease"}),this.animation.onfinish=()=>{this.closing=!1}}toMs(o){const i=o.trim();return i.endsWith("ms")?parseFloat(i):i.endsWith("s")?1e3*parseFloat(i):0}onActivate=()=>{this.disabled||this.bsToggle.emit(!this.expanded)};render(){return e("div",{key:"5b7922ce5d634a43d1ca3020b02e61b2749646f1",part:"container",class:`bs-accordion bs-accordion--${this.size} ${this.disabled?"bs-accordion--disabled":""}`,"aria-disabled":this.disabled?"true":void 0},e("button",{key:"36a5a7504c9d4301db2268652037a28cee8cc395",type:"button",part:"header",class:`bs-accordion__header bs-accordion__header--${this.size} ${this.showIcon?"":"bs-accordion__header--no-icon"}`,disabled:this.disabled,"aria-expanded":this.expanded+"",onClick:this.onActivate},this.showIcon&&e("span",{key:"2933f14e71ec7902e310761481c7408aa5afdb07",part:"icon",class:"bs-accordion__icon bs-accordion__icon--"+this.size,"aria-hidden":"true"},e("slot",{key:"d156fc7944f2177764a5622c6753c45190176549",name:"icon"},e(d,{key:"c570019c3b65661d9237c9d182ab5b0aa6fcc808"}))),e("span",{key:"dafef9038d6d29fa3193515d605244d371efc2bb",part:"label",class:"bs-accordion__label "+(this.showIcon?"":"bs-accordion__label--no-icon")},e("slot",{key:"c752f678a8032bd3cb01b1d9d43eb9d863707a67",name:"label"})),e("span",{key:"20fd3835f885ad26ebfea64c02bd16dfd0c3fea1",part:"caret",class:`bs-accordion__caret bs-accordion__caret--${this.size} ${this.expanded?"bs-accordion__caret--open":""}`,"aria-hidden":"true"},e(r,{key:"af7922ee4c4280e17dddd51f6681415c70389ef6"}))),(this.expanded||this.showPreview||this.closing)&&e("div",{key:"ac8fb07634032e1035e88c0f713841d9276df2f8",ref:o=>this.contentEl=o,part:"content",class:`bs-accordion__content ${this.showIcon?"":"bs-accordion__content--no-icon"} ${this.expanded?"bs-accordion__content--expanded":"bs-accordion__content--collapsed"}`},e("slot",{key:"6263559f2a03fd514cdc98538e1c9faee0767313"})))}static get watchers(){return{expanded:[{onExpandedChange:0}]}}static get style(){return":host{display:block;--bs-accordion-radius:var(--bs-border-radius-100);--bs-accordion-header-padding-y-medium:var(--bs-spacing-150);--bs-accordion-header-padding-y-large:var(--bs-spacing-250);--bs-accordion-header-padding-x:var(--bs-spacing-200);--bs-accordion-content-padding-bottom:var(--bs-spacing-150);--bs-accordion-content-padding-right:var(--bs-spacing-200);--bs-accordion-content-padding-left:var(--bs-spacing-800);--bs-accordion-content-padding-left-no-icon:var(--bs-spacing-200);--bs-accordion-icon-width-medium:var(--bs-spacing-800);--bs-accordion-icon-height-medium:48px;--bs-accordion-icon-size-large:var(--bs-spacing-800);--bs-accordion-font-size:var(--bs-font-size-md);--bs-accordion-line-height:var(--bs-line-height-body-md);--bs-accordion-font-weight:var(--bs-font-weight-semibold);--bs-accordion-text-default:var(--bs-text-default);--bs-accordion-bg-hover:var(--bs-surface-hover);--bs-accordion-bg-disabled:var(--bs-surface-action-disabled);--bs-accordion-text-disabled:var(--bs-text-on-disabled);--bs-accordion-focus-ring:var(--bs-border-neutral-focus);--bs-accordion-duration:var(--bs-duration-default);--bs-accordion-easing:var(--bs-easing-standard)}.bs-accordion{display:block;border-radius:var(--bs-accordion-radius);overflow:hidden;font-family:inherit;transition:background-color var(--bs-accordion-duration) var(--bs-accordion-easing)}.bs-accordion:has(.bs-accordion__header:hover),.bs-accordion:has(.bs-accordion__header:active){background:var(--bs-accordion-bg-hover)}.bs-accordion:has(.bs-accordion__header:focus-visible){background:var(--bs-accordion-bg-hover);outline:2px solid var(--bs-accordion-focus-ring);outline-offset:2px;border-radius:calc(var(--bs-accordion-radius) + 2px)}.bs-accordion__header{display:flex;align-items:center;width:100%;border:none;background:transparent;color:var(--bs-accordion-text-default);padding:0;cursor:pointer;font-family:inherit;text-align:start}.bs-accordion__header:focus-visible{outline:none}.bs-accordion__header--medium{padding-top:var(--bs-accordion-header-padding-y-medium);padding-bottom:var(--bs-accordion-header-padding-y-medium)}.bs-accordion__header--large{padding-top:var(--bs-accordion-header-padding-y-large);padding-bottom:var(--bs-accordion-header-padding-y-large)}.bs-accordion__header:disabled{background:var(--bs-accordion-bg-disabled);color:var(--bs-accordion-text-disabled);cursor:default}.bs-accordion__icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;color:inherit}.bs-accordion__icon svg{width:24px;height:24px}.bs-accordion__icon--medium{width:var(--bs-accordion-icon-width-medium);height:var(--bs-accordion-icon-height-medium)}.bs-accordion__icon--large{width:var(--bs-accordion-icon-size-large);height:var(--bs-accordion-icon-size-large)}.bs-accordion__label{flex:1 1 auto;min-width:0;font-size:var(--bs-accordion-font-size);line-height:calc(var(--bs-accordion-line-height) * 1px);font-weight:var(--bs-accordion-font-weight)}.bs-accordion__label--no-icon{padding-inline-start:var(--bs-accordion-header-padding-x)}.bs-accordion__caret{display:flex;align-items:center;justify-content:center;flex-shrink:0;color:inherit}.bs-accordion__caret{transition:transform var(--bs-accordion-duration) var(--bs-accordion-easing)}.bs-accordion__caret--open{transform:rotate(180deg)}.bs-accordion__caret svg{width:24px;height:24px}.bs-accordion__caret--medium{width:var(--bs-accordion-icon-width-medium);height:var(--bs-accordion-icon-height-medium)}.bs-accordion__caret--large{width:var(--bs-accordion-icon-size-large);height:var(--bs-accordion-icon-size-large)}.bs-accordion__content{box-sizing:border-box;padding-top:0;padding-bottom:var(--bs-accordion-content-padding-bottom);padding-inline-end:var(--bs-accordion-content-padding-right);padding-inline-start:var(--bs-accordion-content-padding-left);color:var(--bs-accordion-text-default);font-size:var(--bs-accordion-font-size);line-height:calc(var(--bs-accordion-line-height) * 1px)}.bs-accordion__content--no-icon{padding-inline-start:var(--bs-accordion-content-padding-left-no-icon)}.bs-accordion__content--collapsed{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.bs-accordion--disabled .bs-accordion__content{background:var(--bs-accordion-bg-disabled);color:var(--bs-accordion-text-disabled)}"}},[769,"bs-accordion",{expanded:[516],size:[1],disabled:[4],showIcon:[4,"show-icon"],showPreview:[4,"show-preview"],closing:[32]},void 0,{expanded:[{onExpandedChange:0}]}]),d=()=>e("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},e("path",{d:"M12 5V19",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}),e("path",{d:"M5 12H19",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})),r=()=>e("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true"},e("path",{d:"M6 9.75L12 15.75L18 9.75",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}));function s(){"undefined"!=typeof customElements&&["bs-accordion"].forEach((i=>{"bs-accordion"===i&&(customElements.get(o(i))||customElements.define(o(i),c))}))}s();const t=c,b=s;export{t as BsAccordion,b as defineCustomElement}
@@ -1 +1 @@
1
- import{t as i,p as e,H as s,h as a}from"./p-B2gx7SZk.js";const t=e(class extends s{constructor(i){super(),!1!==i&&this.__registerHost(),this.__attachShadow()}render(){return a("div",{key:"c60fa36f1340f01982c9084dcc24d875df50d33f",class:"bs-ai-disclaimer"},a("p",{key:"19d76fe258f68e2e0e2a0f7f22a6775c7522cef0",part:"text",class:"bs-ai-disclaimer__text"},a("slot",{key:"66861e47f7da39e0b1e162d327dedf0d57fcaf2f"})))}static get style(){return":host{display:block;--bs-ai-disclaimer-padding-x:var(--bs-spacing-200);--bs-ai-disclaimer-text-color:var(--bs-text-secondary);--bs-ai-disclaimer-font-size:var(--bs-font-size-sm);--bs-ai-disclaimer-line-height:var(--bs-line-height-body-sm)}.bs-ai-disclaimer{box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:0 var(--bs-ai-disclaimer-padding-x);font-family:inherit}.bs-ai-disclaimer__text{margin:0;flex:1 0 0;min-width:0;color:var(--bs-ai-disclaimer-text-color);font-size:var(--bs-ai-disclaimer-font-size);line-height:calc(var(--bs-ai-disclaimer-line-height) * 1px);text-align:center;word-break:break-word}"}},[257,"bs-ai-disclaimer"]);function r(){"undefined"!=typeof customElements&&["bs-ai-disclaimer"].forEach((e=>{"bs-ai-disclaimer"===e&&(customElements.get(i(e))||customElements.define(i(e),t))}))}r();const c=t,d=r;export{c as BsAiDisclaimer,d as defineCustomElement}
1
+ import{t as i,p as e,H as s,h as a}from"./p-CcAX4o5o.js";const t=e(class extends s{constructor(i){super(),!1!==i&&this.__registerHost(),this.__attachShadow()}render(){return a("div",{key:"42b8ec6acacf3cc88ca6ab26e6799e4cfbde3306",class:"bs-ai-disclaimer"},a("p",{key:"91208bcb6b163418762194ffea845b8f7ad603ba",part:"text",class:"bs-ai-disclaimer__text"},a("slot",{key:"b8062d0ad625601e6766729d94d0111385b29380"})))}static get style(){return":host{display:block;--bs-ai-disclaimer-padding-x:var(--bs-spacing-200);--bs-ai-disclaimer-text-color:var(--bs-text-secondary);--bs-ai-disclaimer-font-size:var(--bs-font-size-sm);--bs-ai-disclaimer-line-height:var(--bs-line-height-body-sm)}.bs-ai-disclaimer{box-sizing:border-box;display:flex;align-items:center;justify-content:center;padding:0 var(--bs-ai-disclaimer-padding-x);font-family:inherit}.bs-ai-disclaimer__text{margin:0;flex:1 0 0;min-width:0;color:var(--bs-ai-disclaimer-text-color);font-size:var(--bs-ai-disclaimer-font-size);line-height:calc(var(--bs-ai-disclaimer-line-height) * 1px);text-align:center;word-break:break-word}"}},[257,"bs-ai-disclaimer"]);function r(){"undefined"!=typeof customElements&&["bs-ai-disclaimer"].forEach((e=>{"bs-ai-disclaimer"===e&&(customElements.get(i(e))||customElements.define(i(e),t))}))}r();const c=t,d=r;export{c as BsAiDisclaimer,d as defineCustomElement}