@brandsync/wc 1.18.0 → 1.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (962) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/REFERENCE.md +335 -17
  3. package/custom-elements.json +11339 -6515
  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-5868793d.entry.js → p-050270f5.entry.js} +1 -1
  9. package/dist/brandsync-wc/{p-ee63423c.entry.js → p-08a5e178.entry.js} +1 -1
  10. package/dist/brandsync-wc/{p-d42a26c1.entry.js → p-08d08dc9.entry.js} +1 -1
  11. package/dist/brandsync-wc/p-0ebb60a8.entry.js +1 -0
  12. package/dist/brandsync-wc/{p-87a10ee1.entry.js → p-0f864a4f.entry.js} +1 -1
  13. package/dist/brandsync-wc/{p-d3fe8cea.entry.js → p-105c316e.entry.js} +1 -1
  14. package/dist/brandsync-wc/{p-7cfb1be6.entry.js → p-11fefb5a.entry.js} +1 -1
  15. package/dist/brandsync-wc/{p-cb002195.entry.js → p-13d98ec3.entry.js} +1 -1
  16. package/dist/brandsync-wc/p-16f15ba5.entry.js +1 -0
  17. package/dist/brandsync-wc/{p-4d4997af.entry.js → p-18cfec13.entry.js} +1 -1
  18. package/dist/brandsync-wc/{p-f86b58bf.entry.js → p-1a549f9a.entry.js} +1 -1
  19. package/dist/brandsync-wc/{p-a28ef52e.entry.js → p-1bf8a54a.entry.js} +1 -1
  20. package/dist/brandsync-wc/{p-55d336da.entry.js → p-1ce4395a.entry.js} +1 -1
  21. package/dist/brandsync-wc/p-1daf48b1.entry.js +1 -0
  22. package/dist/brandsync-wc/p-20dd8b76.entry.js +1 -0
  23. package/dist/brandsync-wc/{p-a8c2855c.entry.js → p-2210c680.entry.js} +1 -1
  24. package/dist/brandsync-wc/p-23367a4d.entry.js +1 -0
  25. package/dist/brandsync-wc/p-238be384.entry.js +1 -0
  26. package/dist/brandsync-wc/p-23affb5d.entry.js +1 -0
  27. package/dist/brandsync-wc/{p-3e6f430a.entry.js → p-23b3958e.entry.js} +1 -1
  28. package/dist/brandsync-wc/{p-f6caa623.entry.js → p-2621b1b2.entry.js} +1 -1
  29. package/dist/brandsync-wc/p-28723df1.entry.js +1 -0
  30. package/dist/brandsync-wc/p-28a34097.entry.js +1 -0
  31. package/dist/brandsync-wc/{p-bd901b06.entry.js → p-2a96ce61.entry.js} +1 -1
  32. package/dist/brandsync-wc/{p-c020ffdf.entry.js → p-2f58b161.entry.js} +1 -1
  33. package/dist/brandsync-wc/p-319b7baa.entry.js +1 -0
  34. package/dist/brandsync-wc/{p-0a6f22fe.entry.js → p-32004fb3.entry.js} +1 -1
  35. package/dist/brandsync-wc/{p-56a45582.entry.js → p-32157c7a.entry.js} +1 -1
  36. package/dist/brandsync-wc/{p-43f8afda.entry.js → p-32d83763.entry.js} +1 -1
  37. package/dist/brandsync-wc/{p-a424a709.entry.js → p-338b5e39.entry.js} +1 -1
  38. package/dist/brandsync-wc/p-3f6be3f7.entry.js +1 -0
  39. package/dist/brandsync-wc/p-409cf56b.entry.js +1 -0
  40. package/dist/brandsync-wc/{p-58179e15.entry.js → p-452f6c13.entry.js} +1 -1
  41. package/dist/brandsync-wc/{p-9bd739e5.entry.js → p-47fc5f29.entry.js} +1 -1
  42. package/dist/brandsync-wc/p-4810bcc8.entry.js +1 -0
  43. package/dist/brandsync-wc/p-484a6546.entry.js +1 -0
  44. package/dist/brandsync-wc/p-4ae7b8b9.entry.js +1 -0
  45. package/dist/brandsync-wc/p-4d6f2fec.entry.js +1 -0
  46. package/dist/brandsync-wc/p-4f19e8d8.entry.js +1 -0
  47. package/dist/brandsync-wc/p-50a154b8.entry.js +1 -0
  48. package/dist/brandsync-wc/{p-345b5ef3.entry.js → p-50ac6889.entry.js} +1 -1
  49. package/dist/brandsync-wc/p-520b277a.entry.js +1 -0
  50. package/dist/brandsync-wc/p-53b1c545.entry.js +1 -0
  51. package/dist/brandsync-wc/{p-4ff649f1.entry.js → p-548b96f7.entry.js} +1 -1
  52. package/dist/brandsync-wc/{p-144b6ac8.entry.js → p-57ed5ac6.entry.js} +1 -1
  53. package/dist/brandsync-wc/{p-fd78ff22.entry.js → p-587be2c6.entry.js} +1 -1
  54. package/dist/brandsync-wc/p-5a35d573.entry.js +1 -0
  55. package/dist/brandsync-wc/p-5b48a6c7.entry.js +1 -0
  56. package/dist/brandsync-wc/{p-50f60ed6.entry.js → p-5ea899c4.entry.js} +1 -1
  57. package/dist/brandsync-wc/p-6096900b.entry.js +1 -0
  58. package/dist/brandsync-wc/{p-fc76031e.entry.js → p-630d41ab.entry.js} +1 -1
  59. package/dist/brandsync-wc/p-66f1ca2e.entry.js +1 -0
  60. package/dist/brandsync-wc/p-69489f45.entry.js +1 -0
  61. package/dist/brandsync-wc/p-6adc9c4f.entry.js +1 -0
  62. package/dist/brandsync-wc/p-6bdd9ef9.entry.js +1 -0
  63. package/dist/brandsync-wc/p-6db03e96.entry.js +1 -0
  64. package/dist/brandsync-wc/{p-ae207fd5.entry.js → p-70924681.entry.js} +1 -1
  65. package/dist/brandsync-wc/p-7632f773.entry.js +1 -0
  66. package/dist/brandsync-wc/p-78e4dd14.entry.js +1 -0
  67. package/dist/brandsync-wc/{p-e3e15670.entry.js → p-806bb471.entry.js} +1 -1
  68. package/dist/brandsync-wc/{p-1a62e5b7.entry.js → p-86fdbe8f.entry.js} +1 -1
  69. package/dist/brandsync-wc/{p-a51355d9.entry.js → p-89dbb3c8.entry.js} +1 -1
  70. package/dist/brandsync-wc/p-8a4d64fd.entry.js +1 -0
  71. package/dist/brandsync-wc/p-8c83cc99.entry.js +1 -0
  72. package/dist/brandsync-wc/p-8ccd1735.entry.js +1 -0
  73. package/dist/brandsync-wc/p-8d674f11.entry.js +1 -0
  74. package/dist/brandsync-wc/{p-1a47774e.entry.js → p-90442341.entry.js} +1 -1
  75. package/dist/brandsync-wc/{p-be7272ce.entry.js → p-9e93b482.entry.js} +1 -1
  76. package/dist/brandsync-wc/{p-020cb767.entry.js → p-9f852c8b.entry.js} +1 -1
  77. package/dist/brandsync-wc/p-BSt9HeTa.js +1 -0
  78. package/dist/brandsync-wc/p-Vo0zbGRB.js +1 -0
  79. package/dist/brandsync-wc/p-a1d34ff3.entry.js +1 -0
  80. package/dist/brandsync-wc/p-a3c7b4e7.entry.js +1 -0
  81. package/dist/brandsync-wc/{p-6c987bc9.entry.js → p-a6cbb6c6.entry.js} +1 -1
  82. package/dist/brandsync-wc/{p-08e0e704.entry.js → p-a86560e6.entry.js} +1 -1
  83. package/dist/brandsync-wc/p-aa70e80c.entry.js +1 -0
  84. package/dist/brandsync-wc/p-b0f4cbca.entry.js +1 -0
  85. package/dist/brandsync-wc/{p-1aa0f9a3.entry.js → p-b1663378.entry.js} +1 -1
  86. package/dist/brandsync-wc/{p-50c116eb.entry.js → p-b1b14615.entry.js} +1 -1
  87. package/dist/brandsync-wc/{p-5ac75555.entry.js → p-b7545d9b.entry.js} +1 -1
  88. package/dist/brandsync-wc/{p-31ca98c3.entry.js → p-baca1abf.entry.js} +1 -1
  89. package/dist/brandsync-wc/{p-55d97d1d.entry.js → p-bfdd135b.entry.js} +1 -1
  90. package/dist/brandsync-wc/{p-89fa7567.entry.js → p-c23e274a.entry.js} +1 -1
  91. package/dist/brandsync-wc/{p-8f82ea7e.entry.js → p-c39e6be9.entry.js} +1 -1
  92. package/dist/brandsync-wc/p-c6c15b9f.entry.js +1 -0
  93. package/dist/brandsync-wc/p-c9888d09.entry.js +1 -0
  94. package/dist/brandsync-wc/p-ca8a1e51.entry.js +1 -0
  95. package/dist/brandsync-wc/p-d263deec.entry.js +1 -0
  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-0082db6a.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-14b4f4c4.entry.js → p-dd3499ab.entry.js} +1 -1
  101. package/dist/brandsync-wc/p-debc308d.entry.js +1 -0
  102. package/dist/brandsync-wc/{p-c02ed03d.entry.js → p-e18cb639.entry.js} +1 -1
  103. package/dist/brandsync-wc/p-e18e45bc.entry.js +1 -0
  104. package/dist/brandsync-wc/{p-841a80b4.entry.js → p-e2268c96.entry.js} +1 -1
  105. package/dist/brandsync-wc/p-e4033ebc.entry.js +1 -0
  106. package/dist/brandsync-wc/{p-7c29678d.entry.js → p-e6f57fae.entry.js} +1 -1
  107. package/dist/brandsync-wc/p-e8027825.entry.js +1 -0
  108. package/dist/brandsync-wc/{p-e32a6df1.entry.js → p-eb1b1497.entry.js} +1 -1
  109. package/dist/brandsync-wc/{p-bfff7cbb.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-5cd1abc7.entry.js → p-f22d2db8.entry.js} +1 -1
  113. package/dist/brandsync-wc/{p-e2491db8.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-757cd066.entry.js → p-fc7df528.entry.js} +1 -1
  117. package/dist/brandsync-wc/{p-15f06226.entry.js → p-fe6f71da.entry.js} +1 -1
  118. package/dist/brandsync-wc/p-ff14edb6.entry.js +1 -0
  119. package/dist/brandsync-wc/p-ff85a9d8.entry.js +1 -0
  120. package/dist/brandsync-wc/p-wz7B473u.js +3 -0
  121. package/dist/cjs/brandsync-wc.cjs.js +2 -2
  122. package/dist/cjs/bs-accordion-group.cjs.entry.js +2 -2
  123. package/dist/cjs/bs-accordion.cjs.entry.js +61 -4
  124. package/dist/cjs/bs-ai-disclaimer.cjs.entry.js +2 -2
  125. package/dist/cjs/bs-ai-greeting.cjs.entry.js +2 -2
  126. package/dist/cjs/bs-ai-thinking.cjs.entry.js +2 -2
  127. package/dist/cjs/bs-app-recent-item_3.cjs.entry.js +8 -8
  128. package/dist/cjs/bs-app-shell.cjs.entry.js +2 -2
  129. package/dist/cjs/bs-app-switcher.cjs.entry.js +2 -2
  130. package/dist/cjs/bs-attachment-list.cjs.entry.js +2 -2
  131. package/dist/cjs/bs-attachment.cjs.entry.js +3 -3
  132. package/dist/cjs/bs-avatar.cjs.entry.js +3 -10
  133. package/dist/cjs/bs-badge.cjs.entry.js +3 -3
  134. package/dist/cjs/bs-breadcrumb-overflow.cjs.entry.js +2 -2
  135. package/dist/cjs/bs-breadcrumb.cjs.entry.js +3 -3
  136. package/dist/cjs/bs-breadcrumbs.cjs.entry.js +10 -2
  137. package/dist/cjs/bs-button-skeleton.cjs.entry.js +2 -2
  138. package/dist/cjs/bs-button_2.cjs.entry.js +211 -0
  139. package/dist/cjs/bs-card.cjs.entry.js +44 -3
  140. package/dist/cjs/bs-carousel.cjs.entry.js +71 -6
  141. package/dist/cjs/bs-chatbot-feedback.cjs.entry.js +3 -7
  142. package/dist/cjs/bs-chatbot-header.cjs.entry.js +3 -7
  143. package/dist/cjs/bs-chatbot-response-action.cjs.entry.js +3 -3
  144. package/dist/cjs/bs-chatbot-sources-drawer.cjs.entry.js +2 -2
  145. package/dist/cjs/bs-chatbot-suggestion-button.cjs.entry.js +3 -3
  146. package/dist/cjs/bs-checkbox-group.cjs.entry.js +80 -0
  147. package/dist/cjs/bs-checkbox-skeleton.cjs.entry.js +2 -2
  148. package/dist/cjs/bs-checkbox.cjs.entry.js +3 -3
  149. package/dist/cjs/bs-chip-filter.cjs.entry.js +3 -3
  150. package/dist/cjs/bs-chip-informative.cjs.entry.js +2 -2
  151. package/dist/cjs/bs-chip-input.cjs.entry.js +3 -3
  152. package/dist/cjs/bs-citation-preview.cjs.entry.js +2 -2
  153. package/dist/cjs/bs-code-block.cjs.entry.js +75 -0
  154. package/dist/cjs/bs-command-palette.cjs.entry.js +2 -2
  155. package/dist/cjs/bs-compact-menu-block_2.cjs.entry.js +5 -5
  156. package/dist/cjs/bs-company-switcher.cjs.entry.js +3 -3
  157. package/dist/cjs/bs-composer-status-banner.cjs.entry.js +2 -2
  158. package/dist/cjs/bs-composer.cjs.entry.js +6 -4
  159. package/dist/cjs/bs-container.cjs.entry.js +2 -2
  160. package/dist/cjs/bs-cookie-consent.cjs.entry.js +1 -1
  161. package/dist/cjs/bs-data-table.cjs.entry.js +8 -5
  162. package/dist/cjs/bs-datepicker.cjs.entry.js +2 -2
  163. package/dist/cjs/bs-description-item.cjs.entry.js +23 -0
  164. package/dist/cjs/bs-description-list.cjs.entry.js +40 -0
  165. package/dist/cjs/bs-dialog.cjs.entry.js +55 -4
  166. package/dist/cjs/bs-divider.cjs.entry.js +2 -2
  167. package/dist/cjs/bs-dropdown.cjs.entry.js +96 -0
  168. package/dist/cjs/bs-empty-state.cjs.entry.js +7 -3
  169. package/dist/cjs/bs-error-page.cjs.entry.js +2 -2
  170. package/dist/cjs/bs-file-upload-item.cjs.entry.js +2 -2
  171. package/dist/cjs/bs-file-upload.cjs.entry.js +2 -2
  172. package/dist/cjs/bs-global-search.cjs.entry.js +3 -3
  173. package/dist/cjs/bs-grid.cjs.entry.js +3 -3
  174. package/dist/cjs/bs-heading.cjs.entry.js +28 -0
  175. package/dist/cjs/bs-icon-button.cjs.entry.js +10 -3
  176. package/dist/cjs/bs-icon-tile.cjs.entry.js +3 -3
  177. package/dist/cjs/bs-icon.cjs.entry.js +35 -0
  178. package/dist/cjs/bs-inline-tab.cjs.entry.js +3 -3
  179. package/dist/cjs/bs-input_4.cjs.entry.js +794 -0
  180. package/dist/cjs/bs-key-caps.cjs.entry.js +2 -2
  181. package/dist/cjs/bs-key.cjs.entry.js +2 -2
  182. package/dist/cjs/bs-keyboard-shortcuts.cjs.entry.js +3 -3
  183. package/dist/cjs/bs-link.cjs.entry.js +52 -0
  184. package/dist/cjs/bs-list-item.cjs.entry.js +68 -0
  185. package/dist/cjs/bs-list.cjs.entry.js +9 -3
  186. package/dist/cjs/bs-logo.cjs.entry.js +1 -1
  187. package/dist/cjs/bs-mega-menu.cjs.entry.js +53 -3
  188. package/dist/cjs/bs-message-list.cjs.entry.js +2 -2
  189. package/dist/cjs/bs-message.cjs.entry.js +2 -2
  190. package/dist/cjs/bs-navigation-drawer-item.cjs.entry.js +26 -5
  191. package/dist/cjs/bs-navigation-drawer.cjs.entry.js +4 -4
  192. package/dist/cjs/bs-navigation-header.cjs.entry.js +4 -4
  193. package/dist/cjs/bs-onboarding-checklist.cjs.entry.js +1 -1
  194. package/dist/cjs/bs-page-header.cjs.entry.js +2 -2
  195. package/dist/cjs/bs-pagination.cjs.entry.js +3 -3
  196. package/dist/cjs/bs-popover.cjs.entry.js +199 -0
  197. package/dist/cjs/bs-presence.cjs.entry.js +88 -0
  198. package/dist/cjs/bs-product-tour.cjs.entry.js +1 -1
  199. package/dist/cjs/bs-progress-linear.cjs.entry.js +4 -4
  200. package/dist/cjs/bs-progress.cjs.entry.js +3 -3
  201. package/dist/cjs/bs-qr-code.cjs.entry.js +2 -2
  202. package/dist/cjs/bs-radio-group.cjs.entry.js +90 -0
  203. package/dist/cjs/bs-radio.cjs.entry.js +9 -5
  204. package/dist/cjs/bs-search-item.cjs.entry.js +3 -3
  205. package/dist/cjs/bs-select.cjs.entry.js +234 -0
  206. package/dist/cjs/bs-session-timeout.cjs.entry.js +2 -2
  207. package/dist/cjs/bs-shortcut-row.cjs.entry.js +2 -2
  208. package/dist/cjs/bs-side-panel.cjs.entry.js +53 -4
  209. package/dist/cjs/bs-skip-link.cjs.entry.js +52 -0
  210. package/dist/cjs/bs-slider.cjs.entry.js +3 -3
  211. package/dist/cjs/bs-snackbar.cjs.entry.js +3 -3
  212. package/dist/cjs/bs-source-link.cjs.entry.js +5 -4
  213. package/dist/cjs/bs-split-pane.cjs.entry.js +2 -2
  214. package/dist/cjs/bs-stack.cjs.entry.js +2 -2
  215. package/dist/cjs/bs-stat.cjs.entry.js +53 -0
  216. package/dist/cjs/bs-stepper-step.cjs.entry.js +2 -2
  217. package/dist/cjs/bs-stepper.cjs.entry.js +2 -2
  218. package/dist/cjs/bs-switch.cjs.entry.js +5 -12
  219. package/dist/cjs/bs-tab_3.cjs.entry.js +16 -9
  220. package/dist/cjs/bs-table-of-contents.cjs.entry.js +171 -0
  221. package/dist/cjs/bs-tag.cjs.entry.js +51 -0
  222. package/dist/cjs/bs-text.cjs.entry.js +24 -0
  223. package/dist/cjs/bs-timepicker.cjs.entry.js +3 -3
  224. package/dist/cjs/bs-toast.cjs.entry.js +2 -2
  225. package/dist/cjs/bs-toggle-button-group.cjs.entry.js +108 -0
  226. package/dist/cjs/bs-toggle-button.cjs.entry.js +57 -0
  227. package/dist/cjs/bs-toolbar.cjs.entry.js +195 -0
  228. package/dist/cjs/bs-tooltip-trigger.cjs.entry.js +62 -4
  229. package/dist/cjs/bs-tooltip.cjs.entry.js +2 -2
  230. package/dist/cjs/bs-tree-item.cjs.entry.js +4 -4
  231. package/dist/cjs/bs-tree.cjs.entry.js +2 -2
  232. package/dist/cjs/bs-whats-new.cjs.entry.js +1 -1
  233. package/dist/cjs/icon-registry-DWYCqjKw.js +64 -0
  234. package/dist/cjs/{index-BYfMRtlW.js → index-BFxk-bY6.js} +1 -1
  235. package/dist/cjs/index.cjs.js +4 -0
  236. package/dist/cjs/loader.cjs.js +2 -2
  237. package/dist/cjs/motion-DOlI71lc.js +43 -0
  238. package/dist/collection/collection-manifest.json +21 -1
  239. package/dist/collection/components/bs-a11y.cmp.test.js +9 -0
  240. package/dist/collection/components/bs-accordion/bs-accordion.cmp.test.js +21 -6
  241. package/dist/collection/components/bs-accordion/bs-accordion.css +15 -0
  242. package/dist/collection/components/bs-accordion/bs-accordion.js +71 -2
  243. package/dist/collection/components/bs-accordion-group/bs-accordion-group.js +1 -1
  244. package/dist/collection/components/bs-ai-disclaimer/bs-ai-disclaimer.js +1 -1
  245. package/dist/collection/components/bs-ai-greeting/bs-ai-greeting.js +1 -1
  246. package/dist/collection/components/bs-ai-thinking/bs-ai-thinking.js +1 -1
  247. package/dist/collection/components/bs-app-recent-item/bs-app-recent-item.js +3 -3
  248. package/dist/collection/components/bs-app-shell/bs-app-shell.js +1 -1
  249. package/dist/collection/components/bs-app-switcher/bs-app-switcher.js +1 -1
  250. package/dist/collection/components/bs-app-tile/bs-app-tile.js +3 -3
  251. package/dist/collection/components/bs-attachment/bs-attachment.cmp.test.js +10 -0
  252. package/dist/collection/components/bs-attachment/bs-attachment.css +6 -6
  253. package/dist/collection/components/bs-attachment/bs-attachment.js +1 -1
  254. package/dist/collection/components/bs-attachment-list/bs-attachment-list.js +1 -1
  255. package/dist/collection/components/bs-avatar/bs-avatar.cmp.test.js +11 -1
  256. package/dist/collection/components/bs-avatar/bs-avatar.css +9 -4
  257. package/dist/collection/components/bs-avatar/bs-avatar.js +1 -8
  258. package/dist/collection/components/bs-badge/bs-badge.css +4 -1
  259. package/dist/collection/components/bs-badge/bs-badge.js +1 -1
  260. package/dist/collection/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.cmp.test.js +13 -0
  261. package/dist/collection/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.css +8 -0
  262. package/dist/collection/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.js +1 -1
  263. package/dist/collection/components/bs-breadcrumb/bs-breadcrumb-overflow/bs-breadcrumb-overflow.js +1 -1
  264. package/dist/collection/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.js +26 -1
  265. package/dist/collection/components/bs-button/bs-button/bs-button.cmp.test.js +43 -2
  266. package/dist/collection/components/bs-button/bs-button/bs-button.css +18 -18
  267. package/dist/collection/components/bs-button/bs-button/bs-button.js +105 -7
  268. package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.cmp.test.js +43 -0
  269. package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.css +34 -2
  270. package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.js +69 -1
  271. package/dist/collection/components/bs-button-skeleton/bs-button-skeleton.js +1 -1
  272. package/dist/collection/components/bs-card/bs-card.cmp.test.js +78 -0
  273. package/dist/collection/components/bs-card/bs-card.css +75 -0
  274. package/dist/collection/components/bs-card/bs-card.js +200 -1
  275. package/dist/collection/components/bs-card/bs-card.stories.js +32 -0
  276. package/dist/collection/components/bs-carousel/bs-carousel.cmp.test.js +39 -1
  277. package/dist/collection/components/bs-carousel/bs-carousel.css +9 -0
  278. package/dist/collection/components/bs-carousel/bs-carousel.js +75 -4
  279. package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.cmp.test.js +8 -0
  280. package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.css +11 -8
  281. package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.js +1 -5
  282. package/dist/collection/components/bs-chatbot-header/bs-chatbot-header.css +2 -3
  283. package/dist/collection/components/bs-chatbot-header/bs-chatbot-header.js +1 -5
  284. package/dist/collection/components/bs-chatbot-response-action/bs-chatbot-response-action.css +2 -0
  285. package/dist/collection/components/bs-chatbot-response-action/bs-chatbot-response-action.js +2 -1
  286. package/dist/collection/components/bs-chatbot-sources-drawer/bs-chatbot-sources-drawer.js +1 -1
  287. package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.cmp.test.js +18 -0
  288. package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.css +10 -2
  289. package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.js +5 -1
  290. package/dist/collection/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.js +1 -1
  291. package/dist/collection/components/bs-checkbox/bs-checkbox.css +7 -0
  292. package/dist/collection/components/bs-checkbox/bs-checkbox.js +2 -1
  293. package/dist/collection/components/bs-checkbox-group/bs-checkbox-group.cmp.test.js +58 -0
  294. package/dist/collection/components/bs-checkbox-group/bs-checkbox-group.css +65 -0
  295. package/dist/collection/components/bs-checkbox-group/bs-checkbox-group.js +254 -0
  296. package/dist/collection/components/bs-checkbox-group/bs-checkbox-group.stories.js +34 -0
  297. package/dist/collection/components/bs-chip/bs-chip-filter/bs-chip-filter.css +2 -0
  298. package/dist/collection/components/bs-chip/bs-chip-filter/bs-chip-filter.js +2 -1
  299. package/dist/collection/components/bs-chip/bs-chip-informative/bs-chip-informative.js +1 -1
  300. package/dist/collection/components/bs-chip/bs-chip-input/bs-chip-input.css +7 -0
  301. package/dist/collection/components/bs-chip/bs-chip-input/bs-chip-input.js +2 -1
  302. package/dist/collection/components/bs-citation-preview/bs-citation-preview.js +1 -1
  303. package/dist/collection/components/bs-code-block/bs-code-block.cmp.test.js +78 -0
  304. package/dist/collection/components/bs-code-block/bs-code-block.css +132 -0
  305. package/dist/collection/components/bs-code-block/bs-code-block.js +317 -0
  306. package/dist/collection/components/bs-code-block/bs-code-block.stories.js +56 -0
  307. package/dist/collection/components/bs-command-palette/bs-command-palette.js +1 -1
  308. package/dist/collection/components/bs-compact-menu-block/bs-compact-menu-block.js +1 -1
  309. package/dist/collection/components/bs-company-switcher/bs-company-switcher.js +2 -2
  310. package/dist/collection/components/bs-composer/bs-composer.cmp.test.js +29 -0
  311. package/dist/collection/components/bs-composer/bs-composer.css +2 -1
  312. package/dist/collection/components/bs-composer/bs-composer.js +4 -2
  313. package/dist/collection/components/bs-composer/bs-composer.stories.js +0 -1
  314. package/dist/collection/components/bs-composer-status-banner/bs-composer-status-banner.js +1 -1
  315. package/dist/collection/components/bs-container/bs-container.js +1 -1
  316. package/dist/collection/components/bs-cookie-consent/bs-cookie-consent.cmp.test.js +1 -1
  317. package/dist/collection/components/bs-data-table/bs-data-table.cmp.test.js +39 -0
  318. package/dist/collection/components/bs-data-table/bs-data-table.css +12 -0
  319. package/dist/collection/components/bs-data-table/bs-data-table.js +34 -3
  320. package/dist/collection/components/bs-data-table/bs-data-table.stories.js +1 -1
  321. package/dist/collection/components/bs-datepicker/bs-datepicker.js +1 -1
  322. package/dist/collection/components/bs-description-item/bs-description-item.cmp.test.js +14 -0
  323. package/dist/collection/components/bs-description-item/bs-description-item.css +47 -0
  324. package/dist/collection/components/bs-description-item/bs-description-item.js +111 -0
  325. package/dist/collection/components/bs-description-list/bs-description-list.cmp.test.js +58 -0
  326. package/dist/collection/components/bs-description-list/bs-description-list.css +15 -0
  327. package/dist/collection/components/bs-description-list/bs-description-list.js +127 -0
  328. package/dist/collection/components/bs-description-list/bs-description-list.stories.js +34 -0
  329. package/dist/collection/components/bs-dialog/bs-dialog.cmp.test.js +32 -0
  330. package/dist/collection/components/bs-dialog/bs-dialog.css +16 -0
  331. package/dist/collection/components/bs-dialog/bs-dialog.js +61 -3
  332. package/dist/collection/components/bs-divider/bs-divider.js +1 -1
  333. package/dist/collection/components/bs-dropdown/bs-dropdown.cmp.test.js +135 -0
  334. package/dist/collection/components/bs-dropdown/bs-dropdown.css +3 -0
  335. package/dist/collection/components/bs-dropdown/bs-dropdown.js +218 -0
  336. package/dist/collection/components/bs-dropdown/bs-dropdown.stories.js +42 -0
  337. package/dist/collection/components/bs-empty-state/bs-empty-state.cmp.test.js +15 -0
  338. package/dist/collection/components/bs-empty-state/bs-empty-state.css +30 -1
  339. package/dist/collection/components/bs-empty-state/bs-empty-state.js +29 -1
  340. package/dist/collection/components/bs-empty-state/bs-empty-state.stories.js +24 -1
  341. package/dist/collection/components/bs-error-page/bs-error-page.js +1 -1
  342. package/dist/collection/components/bs-file-upload/bs-file-upload.js +1 -1
  343. package/dist/collection/components/bs-file-upload-item/bs-file-upload-item.js +1 -1
  344. package/dist/collection/components/bs-global-search/bs-global-search.js +2 -2
  345. package/dist/collection/components/bs-grid/bs-grid.js +2 -2
  346. package/dist/collection/components/bs-heading/bs-heading.cmp.test.js +38 -0
  347. package/dist/collection/components/bs-heading/bs-heading.css +42 -0
  348. package/dist/collection/components/bs-heading/bs-heading.js +154 -0
  349. package/dist/collection/components/bs-heading/bs-heading.stories.js +28 -0
  350. package/dist/collection/components/bs-icon/bs-icon.cmp.test.js +78 -0
  351. package/dist/collection/components/bs-icon/bs-icon.css +47 -0
  352. package/dist/collection/components/bs-icon/bs-icon.js +155 -0
  353. package/dist/collection/components/bs-icon/bs-icon.stories.js +52 -0
  354. package/dist/collection/components/bs-icon/icon-registry.js +58 -0
  355. package/dist/collection/components/bs-icon-tile/bs-icon-tile.js +2 -2
  356. package/dist/collection/components/bs-input/bs-input.cmp.test.js +431 -45
  357. package/dist/collection/components/bs-input/bs-input.css +196 -12
  358. package/dist/collection/components/bs-input/bs-input.js +565 -46
  359. package/dist/collection/components/bs-input/bs-input.stories.js +32 -4
  360. package/dist/collection/components/bs-key/bs-key.js +1 -1
  361. package/dist/collection/components/bs-key-caps/bs-key-caps.js +1 -1
  362. package/dist/collection/components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.js +2 -2
  363. package/dist/collection/components/bs-link/bs-link.cmp.test.js +52 -0
  364. package/dist/collection/components/bs-link/bs-link.css +129 -0
  365. package/dist/collection/components/bs-link/bs-link.js +257 -0
  366. package/dist/collection/components/bs-link/bs-link.stories.js +31 -0
  367. package/dist/collection/components/bs-list/bs-list.cmp.test.js +23 -0
  368. package/dist/collection/components/bs-list/bs-list.js +32 -2
  369. package/dist/collection/components/bs-list/bs-list.stories.js +35 -2
  370. package/dist/collection/components/bs-list-item/bs-list-item.css +10 -0
  371. package/dist/collection/components/bs-list-item/bs-list-item.js +25 -1
  372. package/dist/collection/components/bs-mega-menu/bs-mega-menu.cmp.test.js +73 -0
  373. package/dist/collection/components/bs-mega-menu/bs-mega-menu.css +5 -1
  374. package/dist/collection/components/bs-mega-menu/bs-mega-menu.js +89 -4
  375. package/dist/collection/components/bs-mega-menu/bs-mega-menu.stories.js +5 -5
  376. package/dist/collection/components/bs-menu/bs-menu.js +1 -1
  377. package/dist/collection/components/bs-menu-block/bs-menu-block.js +3 -3
  378. package/dist/collection/components/bs-menu-item/bs-menu-item.css +2 -0
  379. package/dist/collection/components/bs-menu-item/bs-menu-item.js +2 -1
  380. package/dist/collection/components/bs-message/bs-message.js +1 -1
  381. package/dist/collection/components/bs-message-list/bs-message-list.js +1 -1
  382. package/dist/collection/components/bs-page-header/bs-page-header.js +1 -1
  383. package/dist/collection/components/bs-pagination/bs-pagination.css +2 -0
  384. package/dist/collection/components/bs-pagination/bs-pagination.js +2 -1
  385. package/dist/collection/components/bs-popover/bs-popover.cmp.test.js +20 -0
  386. package/dist/collection/components/bs-popover/bs-popover.css +3 -0
  387. package/dist/collection/components/bs-popover/bs-popover.js +59 -2
  388. package/dist/collection/components/bs-presence/bs-presence.cmp.test.js +64 -0
  389. package/dist/collection/components/bs-presence/bs-presence.css +80 -0
  390. package/dist/collection/components/bs-presence/bs-presence.js +233 -0
  391. package/dist/collection/components/bs-presence/bs-presence.stories.js +101 -0
  392. package/dist/collection/components/bs-progress/bs-progress.js +2 -2
  393. package/dist/collection/components/bs-progress-linear/bs-progress-linear.css +4 -1
  394. package/dist/collection/components/bs-progress-linear/bs-progress-linear.js +2 -2
  395. package/dist/collection/components/bs-qr-code/bs-qr-code.js +1 -1
  396. package/dist/collection/components/bs-radio/bs-radio.cmp.test.js +8 -0
  397. package/dist/collection/components/bs-radio/bs-radio.css +6 -0
  398. package/dist/collection/components/bs-radio/bs-radio.js +28 -3
  399. package/dist/collection/components/bs-radio-group/bs-radio-group.cmp.test.js +85 -0
  400. package/dist/collection/components/bs-radio-group/bs-radio-group.css +59 -0
  401. package/dist/collection/components/bs-radio-group/bs-radio-group.js +309 -0
  402. package/dist/collection/components/bs-radio-group/bs-radio-group.stories.js +35 -0
  403. package/dist/collection/components/bs-ripple/bs-ripple.cmp.test.js +45 -0
  404. package/dist/collection/components/bs-ripple/bs-ripple.css +32 -0
  405. package/dist/collection/components/bs-ripple/bs-ripple.js +188 -0
  406. package/dist/collection/components/bs-ripple/bs-ripple.stories.js +33 -0
  407. package/dist/collection/components/bs-search-item/bs-search-item.css +2 -0
  408. package/dist/collection/components/bs-search-item/bs-search-item.js +2 -1
  409. package/dist/collection/components/bs-select/bs-select.cmp.test.js +108 -0
  410. package/dist/collection/components/bs-select/bs-select.css +231 -0
  411. package/dist/collection/components/bs-select/bs-select.js +506 -0
  412. package/dist/collection/components/bs-select/bs-select.stories.js +58 -0
  413. package/dist/collection/components/bs-session-timeout/bs-session-timeout.js +1 -1
  414. package/dist/collection/components/bs-shortcut-row/bs-shortcut-row.js +1 -1
  415. package/dist/collection/components/bs-side-panel/bs-side-panel.cmp.test.js +19 -0
  416. package/dist/collection/components/bs-side-panel/bs-side-panel.css +8 -0
  417. package/dist/collection/components/bs-side-panel/bs-side-panel.js +58 -2
  418. package/dist/collection/components/bs-skeleton/bs-skeleton.js +1 -1
  419. package/dist/collection/components/bs-skip-link/bs-skip-link.cmp.test.js +60 -0
  420. package/dist/collection/components/bs-skip-link/bs-skip-link.css +58 -0
  421. package/dist/collection/components/bs-skip-link/bs-skip-link.js +123 -0
  422. package/dist/collection/components/bs-skip-link/bs-skip-link.stories.js +27 -0
  423. package/dist/collection/components/bs-slider/bs-slider.cmp.test.js +13 -0
  424. package/dist/collection/components/bs-slider/bs-slider.css +3 -2
  425. package/dist/collection/components/bs-slider/bs-slider.js +1 -1
  426. package/dist/collection/components/bs-snackbar/bs-snackbar.cmp.test.js +22 -0
  427. package/dist/collection/components/bs-snackbar/bs-snackbar.css +23 -0
  428. package/dist/collection/components/bs-snackbar/bs-snackbar.js +1 -1
  429. package/dist/collection/components/bs-source-link/bs-source-link.css +2 -0
  430. package/dist/collection/components/bs-source-link/bs-source-link.js +4 -2
  431. package/dist/collection/components/bs-spinner/bs-spinner.js +1 -1
  432. package/dist/collection/components/bs-split-pane/bs-split-pane.js +1 -1
  433. package/dist/collection/components/bs-stack/bs-stack.js +1 -1
  434. package/dist/collection/components/bs-stat/bs-stat.cmp.test.js +49 -0
  435. package/dist/collection/components/bs-stat/bs-stat.css +116 -0
  436. package/dist/collection/components/bs-stat/bs-stat.js +284 -0
  437. package/dist/collection/components/bs-stat/bs-stat.stories.js +44 -0
  438. package/dist/collection/components/bs-stepper/bs-stepper/bs-stepper.js +1 -1
  439. package/dist/collection/components/bs-stepper/bs-stepper-step/bs-stepper-step.js +1 -1
  440. package/dist/collection/components/bs-switch/bs-switch.css +9 -0
  441. package/dist/collection/components/bs-switch/bs-switch.js +4 -10
  442. package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.css +4 -2
  443. package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.js +2 -1
  444. package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.stories.js +0 -4
  445. package/dist/collection/components/bs-tab/bs-tab/bs-tab.js +2 -1
  446. package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.cmp.test.js +35 -0
  447. package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.css +6 -2
  448. package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.js +13 -6
  449. package/dist/collection/components/bs-table-of-contents/bs-table-of-contents.cmp.test.js +125 -0
  450. package/dist/collection/components/bs-table-of-contents/bs-table-of-contents.css +115 -0
  451. package/dist/collection/components/bs-table-of-contents/bs-table-of-contents.js +392 -0
  452. package/dist/collection/components/bs-table-of-contents/bs-table-of-contents.stories.js +58 -0
  453. package/dist/collection/components/bs-tag/bs-tag.cmp.test.js +66 -0
  454. package/dist/collection/components/bs-tag/bs-tag.css +101 -0
  455. package/dist/collection/components/bs-tag/bs-tag.js +233 -0
  456. package/dist/collection/components/bs-tag/bs-tag.stories.js +59 -0
  457. package/dist/collection/components/bs-text/bs-text.cmp.test.js +33 -0
  458. package/dist/collection/components/bs-text/bs-text.css +48 -0
  459. package/dist/collection/components/bs-text/bs-text.js +126 -0
  460. package/dist/collection/components/bs-text/bs-text.stories.js +25 -0
  461. package/dist/collection/components/bs-timepicker/bs-timepicker.js +2 -2
  462. package/dist/collection/components/bs-toast/bs-toast.js +1 -1
  463. package/dist/collection/components/bs-toggle-button/bs-toggle-button.cmp.test.js +47 -0
  464. package/dist/collection/components/bs-toggle-button/bs-toggle-button.css +125 -0
  465. package/dist/collection/components/bs-toggle-button/bs-toggle-button.js +234 -0
  466. package/dist/collection/components/bs-toggle-button/bs-toggle-button.stories.js +22 -0
  467. package/dist/collection/components/bs-toggle-button-group/bs-toggle-button-group.cmp.test.js +69 -0
  468. package/dist/collection/components/bs-toggle-button-group/bs-toggle-button-group.css +43 -0
  469. package/dist/collection/components/bs-toggle-button-group/bs-toggle-button-group.js +264 -0
  470. package/dist/collection/components/bs-toggle-button-group/bs-toggle-button-group.stories.js +42 -0
  471. package/dist/collection/components/bs-toolbar/bs-toolbar.cmp.test.js +149 -0
  472. package/dist/collection/components/bs-toolbar/bs-toolbar.css +82 -0
  473. package/dist/collection/components/bs-toolbar/bs-toolbar.js +345 -0
  474. package/dist/collection/components/bs-toolbar/bs-toolbar.stories.js +49 -0
  475. package/dist/collection/components/bs-tooltip/bs-tooltip.js +1 -1
  476. package/dist/collection/components/bs-tooltip-trigger/bs-tooltip-trigger.cmp.test.js +53 -2
  477. package/dist/collection/components/bs-tooltip-trigger/bs-tooltip-trigger.css +3 -0
  478. package/dist/collection/components/bs-tooltip-trigger/bs-tooltip-trigger.js +70 -3
  479. package/dist/collection/components/bs-tree/bs-tree.js +1 -1
  480. package/dist/collection/components/bs-tree-item/bs-tree-item.css +2 -0
  481. package/dist/collection/components/bs-tree-item/bs-tree-item.js +3 -2
  482. package/dist/collection/components/bs-whats-new-entry/bs-whats-new-entry.js +1 -1
  483. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.cmp.test.js +25 -0
  484. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.css +2 -2
  485. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.js +2 -2
  486. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.cmp.test.js +58 -0
  487. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.css +10 -2
  488. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.js +63 -4
  489. package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.cmp.test.js +42 -9
  490. package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.css +44 -37
  491. package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.js +2 -2
  492. package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.stories.js +22 -0
  493. package/dist/collection/index.js +1 -0
  494. package/dist/collection/test/helpers/block-link-navigation.js +13 -0
  495. package/dist/collection/test/helpers/contrast.js +57 -0
  496. package/dist/collection/utils/motion.js +37 -0
  497. package/dist/components/bs-accordion-group.js +1 -1
  498. package/dist/components/bs-accordion.js +1 -1
  499. package/dist/components/bs-ai-disclaimer.js +1 -1
  500. package/dist/components/bs-ai-greeting.js +1 -1
  501. package/dist/components/bs-ai-thinking.js +1 -1
  502. package/dist/components/bs-app-recent-item.js +1 -1
  503. package/dist/components/bs-app-shell.js +1 -1
  504. package/dist/components/bs-app-switcher.js +1 -1
  505. package/dist/components/bs-app-tile.js +1 -1
  506. package/dist/components/bs-attachment-list.js +1 -1
  507. package/dist/components/bs-attachment.js +1 -1
  508. package/dist/components/bs-avatar.js +1 -1
  509. package/dist/components/bs-badge.js +1 -1
  510. package/dist/components/bs-breadcrumb-overflow.js +1 -1
  511. package/dist/components/bs-breadcrumb.js +1 -1
  512. package/dist/components/bs-breadcrumbs.js +1 -1
  513. package/dist/components/bs-button-skeleton.js +1 -1
  514. package/dist/components/bs-button.js +1 -1
  515. package/dist/components/bs-card.js +1 -1
  516. package/dist/components/bs-carousel.js +1 -1
  517. package/dist/components/bs-chatbot-feedback.js +1 -1
  518. package/dist/components/bs-chatbot-header.js +1 -1
  519. package/dist/components/bs-chatbot-response-action.js +1 -1
  520. package/dist/components/bs-chatbot-sources-drawer.js +1 -1
  521. package/dist/components/bs-chatbot-suggestion-button.js +1 -1
  522. package/dist/components/bs-checkbox-group.d.ts +11 -0
  523. package/dist/components/bs-checkbox-group.js +1 -0
  524. package/dist/components/bs-checkbox-skeleton.js +1 -1
  525. package/dist/components/bs-checkbox.js +1 -1
  526. package/dist/components/bs-chip-filter.js +1 -1
  527. package/dist/components/bs-chip-informative.js +1 -1
  528. package/dist/components/bs-chip-input.js +1 -1
  529. package/dist/components/bs-citation-preview.js +1 -1
  530. package/dist/components/bs-code-block.d.ts +11 -0
  531. package/dist/components/bs-code-block.js +1 -0
  532. package/dist/components/bs-command-palette.js +1 -1
  533. package/dist/components/bs-compact-menu-block.js +1 -1
  534. package/dist/components/bs-company-switcher.js +1 -1
  535. package/dist/components/bs-composer-status-banner.js +1 -1
  536. package/dist/components/bs-composer.js +1 -1
  537. package/dist/components/bs-container.js +1 -1
  538. package/dist/components/bs-cookie-consent.js +1 -1
  539. package/dist/components/bs-data-table.js +1 -1
  540. package/dist/components/bs-datepicker.js +1 -1
  541. package/dist/components/bs-description-item.d.ts +11 -0
  542. package/dist/components/bs-description-item.js +1 -0
  543. package/dist/components/bs-description-list.d.ts +11 -0
  544. package/dist/components/bs-description-list.js +1 -0
  545. package/dist/components/bs-dialog.js +1 -1
  546. package/dist/components/bs-divider.js +1 -1
  547. package/dist/components/bs-dropdown.d.ts +11 -0
  548. package/dist/components/bs-dropdown.js +1 -0
  549. package/dist/components/bs-empty-state.js +1 -1
  550. package/dist/components/bs-error-page.js +1 -1
  551. package/dist/components/bs-file-upload-item.js +1 -1
  552. package/dist/components/bs-file-upload.js +1 -1
  553. package/dist/components/bs-global-search.js +1 -1
  554. package/dist/components/bs-grid.js +1 -1
  555. package/dist/components/bs-heading.d.ts +11 -0
  556. package/dist/components/bs-heading.js +1 -0
  557. package/dist/components/bs-icon-button.js +1 -1
  558. package/dist/components/bs-icon-tile.js +1 -1
  559. package/dist/components/bs-icon.d.ts +11 -0
  560. package/dist/components/bs-icon.js +1 -0
  561. package/dist/components/bs-inline-tab.js +1 -1
  562. package/dist/components/bs-input.js +1 -1
  563. package/dist/components/bs-key-caps.js +1 -1
  564. package/dist/components/bs-key.js +1 -1
  565. package/dist/components/bs-keyboard-shortcuts.js +1 -1
  566. package/dist/components/bs-link.d.ts +11 -0
  567. package/dist/components/bs-link.js +1 -0
  568. package/dist/components/bs-list-item.js +1 -1
  569. package/dist/components/bs-list.js +1 -1
  570. package/dist/components/bs-logo.js +1 -1
  571. package/dist/components/bs-mega-menu.js +1 -1
  572. package/dist/components/bs-menu-block.js +1 -1
  573. package/dist/components/bs-menu-item.js +1 -1
  574. package/dist/components/bs-menu.js +1 -1
  575. package/dist/components/bs-message-list.js +1 -1
  576. package/dist/components/bs-message.js +1 -1
  577. package/dist/components/bs-navigation-drawer-item.js +1 -1
  578. package/dist/components/bs-navigation-drawer.js +1 -1
  579. package/dist/components/bs-navigation-header.js +1 -1
  580. package/dist/components/bs-onboarding-checklist.js +1 -1
  581. package/dist/components/bs-page-header.js +1 -1
  582. package/dist/components/bs-pagination.js +1 -1
  583. package/dist/components/bs-popover.js +1 -1
  584. package/dist/components/bs-presence.d.ts +11 -0
  585. package/dist/components/bs-presence.js +1 -0
  586. package/dist/components/bs-product-tour.js +1 -1
  587. package/dist/components/bs-progress-linear.js +1 -1
  588. package/dist/components/bs-progress.js +1 -1
  589. package/dist/components/bs-qr-code.js +1 -1
  590. package/dist/components/bs-radio-group.d.ts +11 -0
  591. package/dist/components/bs-radio-group.js +1 -0
  592. package/dist/components/bs-radio.js +1 -1
  593. package/dist/components/bs-ripple.d.ts +11 -0
  594. package/dist/components/bs-ripple.js +1 -0
  595. package/dist/components/bs-search-item.js +1 -1
  596. package/dist/components/bs-select.d.ts +11 -0
  597. package/dist/components/bs-select.js +1 -0
  598. package/dist/components/bs-session-timeout.js +1 -1
  599. package/dist/components/bs-shortcut-row.js +1 -1
  600. package/dist/components/bs-side-panel.js +1 -1
  601. package/dist/components/bs-skeleton.js +1 -1
  602. package/dist/components/bs-skip-link.d.ts +11 -0
  603. package/dist/components/bs-skip-link.js +1 -0
  604. package/dist/components/bs-slider.js +1 -1
  605. package/dist/components/bs-snackbar.js +1 -1
  606. package/dist/components/bs-source-link.js +1 -1
  607. package/dist/components/bs-spinner.js +1 -1
  608. package/dist/components/bs-split-pane.js +1 -1
  609. package/dist/components/bs-stack.js +1 -1
  610. package/dist/components/bs-stat.d.ts +11 -0
  611. package/dist/components/bs-stat.js +1 -0
  612. package/dist/components/bs-stepper-step.js +1 -1
  613. package/dist/components/bs-stepper.js +1 -1
  614. package/dist/components/bs-switch.js +1 -1
  615. package/dist/components/bs-tab.js +1 -1
  616. package/dist/components/bs-table-of-contents.d.ts +11 -0
  617. package/dist/components/bs-table-of-contents.js +1 -0
  618. package/dist/components/bs-tabs.js +1 -1
  619. package/dist/components/bs-tag.d.ts +11 -0
  620. package/dist/components/bs-tag.js +1 -0
  621. package/dist/components/bs-text.d.ts +11 -0
  622. package/dist/components/bs-text.js +1 -0
  623. package/dist/components/bs-timepicker.js +1 -1
  624. package/dist/components/bs-toast.js +1 -1
  625. package/dist/components/bs-toggle-button-group.d.ts +11 -0
  626. package/dist/components/bs-toggle-button-group.js +1 -0
  627. package/dist/components/bs-toggle-button.d.ts +11 -0
  628. package/dist/components/bs-toggle-button.js +1 -0
  629. package/dist/components/bs-toolbar.d.ts +11 -0
  630. package/dist/components/bs-toolbar.js +1 -0
  631. package/dist/components/bs-tooltip-trigger.js +1 -1
  632. package/dist/components/bs-tooltip.js +1 -1
  633. package/dist/components/bs-tree-item.js +1 -1
  634. package/dist/components/bs-tree.js +1 -1
  635. package/dist/components/bs-whats-new-entry.js +1 -1
  636. package/dist/components/bs-whats-new.js +1 -1
  637. package/dist/components/index.js +1 -1
  638. package/dist/components/{p-Co36mHEU.js → p-BB1HiIxJ.js} +1 -1
  639. package/dist/components/p-BLJL4BVY.js +1 -0
  640. package/dist/components/p-BR7C-aKy.js +1 -0
  641. package/dist/components/p-BSt9HeTa.js +1 -0
  642. package/dist/components/{p-Dl0FedE5.js → p-Ba8J2kHD.js} +1 -1
  643. package/dist/components/p-CALH_mHQ.js +1 -0
  644. package/dist/components/{p-c-g3-oVu.js → p-CL99S8-7.js} +1 -1
  645. package/dist/components/p-CXv8kx8w.js +1 -0
  646. package/dist/components/{p-B6KgEbdM.js → p-CZfbB-t_.js} +1 -1
  647. package/dist/components/p-CcAX4o5o.js +1 -0
  648. package/dist/components/{p-C1owRphU.js → p-CePOtLtZ.js} +1 -1
  649. package/dist/components/p-Cso2DKAz.js +1 -0
  650. package/dist/components/p-CxNNy2m6.js +1 -0
  651. package/dist/components/{p-C3erqJFy.js → p-Cz38kNDe.js} +1 -1
  652. package/dist/components/p-D3XmFqCQ.js +1 -0
  653. package/dist/components/{p-Cd7p-48Q.js → p-D4W5LcEW.js} +1 -1
  654. package/dist/components/p-DARbgzSz.js +1 -0
  655. package/dist/components/{p-Deq0LzGO.js → p-DBgafacj.js} +1 -1
  656. package/dist/components/p-DHZ_DStJ.js +1 -0
  657. package/dist/components/{p-DcdFuKG9.js → p-DK1uv2fu.js} +1 -1
  658. package/dist/components/{p-DzvXbBvk.js → p-DL9HtG41.js} +1 -1
  659. package/dist/components/{p-CmlzHRkn.js → p-DLNoxNuW.js} +1 -1
  660. package/dist/components/{p-D4_8H0vn.js → p-DMp5CvEJ.js} +1 -1
  661. package/dist/components/p-DO4sVZCh.js +1 -0
  662. package/dist/components/{p-qXdgl7VG.js → p-DOW-YekD.js} +1 -1
  663. package/dist/components/{p-BTPdjnXT.js → p-DVqoLSEW.js} +1 -1
  664. package/dist/components/p-DYpJMHAH.js +1 -0
  665. package/dist/components/p-DaKBSL2O.js +1 -0
  666. package/dist/components/{p-DtbeCgXo.js → p-Dlp2c-Ii.js} +1 -1
  667. package/dist/components/p-DnagAPBF.js +1 -0
  668. package/dist/components/p-Dt3b6VYT.js +1 -0
  669. package/dist/components/{p-erdtytMq.js → p-DztU3DwY.js} +1 -1
  670. package/dist/components/p-KiyJJwzr.js +1 -0
  671. package/dist/components/p-Vo0zbGRB.js +1 -0
  672. package/dist/components/p-abyVFrPp.js +1 -0
  673. package/dist/components/p-mxDA3wKn.js +1 -0
  674. package/dist/components/p-wd9-vGpQ.js +1 -0
  675. package/dist/components/p-wscU7FUD.js +1 -0
  676. package/dist/esm/brandsync-wc.js +3 -3
  677. package/dist/esm/bs-accordion-group.entry.js +2 -2
  678. package/dist/esm/bs-accordion.entry.js +61 -4
  679. package/dist/esm/bs-ai-disclaimer.entry.js +2 -2
  680. package/dist/esm/bs-ai-greeting.entry.js +2 -2
  681. package/dist/esm/bs-ai-thinking.entry.js +2 -2
  682. package/dist/esm/bs-app-recent-item_3.entry.js +8 -8
  683. package/dist/esm/bs-app-shell.entry.js +2 -2
  684. package/dist/esm/bs-app-switcher.entry.js +2 -2
  685. package/dist/esm/bs-attachment-list.entry.js +2 -2
  686. package/dist/esm/bs-attachment.entry.js +3 -3
  687. package/dist/esm/bs-avatar.entry.js +3 -10
  688. package/dist/esm/bs-badge.entry.js +3 -3
  689. package/dist/esm/bs-breadcrumb-overflow.entry.js +2 -2
  690. package/dist/esm/bs-breadcrumb.entry.js +3 -3
  691. package/dist/esm/bs-breadcrumbs.entry.js +10 -2
  692. package/dist/esm/bs-button-skeleton.entry.js +2 -2
  693. package/dist/esm/bs-button_2.entry.js +208 -0
  694. package/dist/esm/bs-card.entry.js +44 -3
  695. package/dist/esm/bs-carousel.entry.js +71 -6
  696. package/dist/esm/bs-chatbot-feedback.entry.js +3 -7
  697. package/dist/esm/bs-chatbot-header.entry.js +3 -7
  698. package/dist/esm/bs-chatbot-response-action.entry.js +3 -3
  699. package/dist/esm/bs-chatbot-sources-drawer.entry.js +2 -2
  700. package/dist/esm/bs-chatbot-suggestion-button.entry.js +3 -3
  701. package/dist/esm/bs-checkbox-group.entry.js +78 -0
  702. package/dist/esm/bs-checkbox-skeleton.entry.js +2 -2
  703. package/dist/esm/bs-checkbox.entry.js +3 -3
  704. package/dist/esm/bs-chip-filter.entry.js +3 -3
  705. package/dist/esm/bs-chip-informative.entry.js +2 -2
  706. package/dist/esm/bs-chip-input.entry.js +3 -3
  707. package/dist/esm/bs-citation-preview.entry.js +2 -2
  708. package/dist/esm/bs-code-block.entry.js +73 -0
  709. package/dist/esm/bs-command-palette.entry.js +2 -2
  710. package/dist/esm/bs-compact-menu-block_2.entry.js +5 -5
  711. package/dist/esm/bs-company-switcher.entry.js +3 -3
  712. package/dist/esm/bs-composer-status-banner.entry.js +2 -2
  713. package/dist/esm/bs-composer.entry.js +6 -4
  714. package/dist/esm/bs-container.entry.js +2 -2
  715. package/dist/esm/bs-cookie-consent.entry.js +1 -1
  716. package/dist/esm/bs-data-table.entry.js +8 -5
  717. package/dist/esm/bs-datepicker.entry.js +2 -2
  718. package/dist/esm/bs-description-item.entry.js +21 -0
  719. package/dist/esm/bs-description-list.entry.js +38 -0
  720. package/dist/esm/bs-dialog.entry.js +55 -4
  721. package/dist/esm/bs-divider.entry.js +2 -2
  722. package/dist/esm/bs-dropdown.entry.js +94 -0
  723. package/dist/esm/bs-empty-state.entry.js +7 -3
  724. package/dist/esm/bs-error-page.entry.js +2 -2
  725. package/dist/esm/bs-file-upload-item.entry.js +2 -2
  726. package/dist/esm/bs-file-upload.entry.js +2 -2
  727. package/dist/esm/bs-global-search.entry.js +3 -3
  728. package/dist/esm/bs-grid.entry.js +3 -3
  729. package/dist/esm/bs-heading.entry.js +26 -0
  730. package/dist/esm/bs-icon-button.entry.js +10 -3
  731. package/dist/esm/bs-icon-tile.entry.js +3 -3
  732. package/dist/esm/bs-icon.entry.js +33 -0
  733. package/dist/esm/bs-inline-tab.entry.js +3 -3
  734. package/dist/esm/bs-input_4.entry.js +789 -0
  735. package/dist/esm/bs-key-caps.entry.js +2 -2
  736. package/dist/esm/bs-key.entry.js +2 -2
  737. package/dist/esm/bs-keyboard-shortcuts.entry.js +3 -3
  738. package/dist/esm/bs-link.entry.js +50 -0
  739. package/dist/esm/bs-list-item.entry.js +66 -0
  740. package/dist/esm/bs-list.entry.js +9 -3
  741. package/dist/esm/bs-logo.entry.js +1 -1
  742. package/dist/esm/bs-mega-menu.entry.js +53 -3
  743. package/dist/esm/bs-message-list.entry.js +2 -2
  744. package/dist/esm/bs-message.entry.js +2 -2
  745. package/dist/esm/bs-navigation-drawer-item.entry.js +26 -5
  746. package/dist/esm/bs-navigation-drawer.entry.js +4 -4
  747. package/dist/esm/bs-navigation-header.entry.js +4 -4
  748. package/dist/esm/bs-onboarding-checklist.entry.js +1 -1
  749. package/dist/esm/bs-page-header.entry.js +2 -2
  750. package/dist/esm/bs-pagination.entry.js +3 -3
  751. package/dist/esm/bs-popover.entry.js +197 -0
  752. package/dist/esm/bs-presence.entry.js +86 -0
  753. package/dist/esm/bs-product-tour.entry.js +1 -1
  754. package/dist/esm/bs-progress-linear.entry.js +4 -4
  755. package/dist/esm/bs-progress.entry.js +3 -3
  756. package/dist/esm/bs-qr-code.entry.js +2 -2
  757. package/dist/esm/bs-radio-group.entry.js +88 -0
  758. package/dist/esm/bs-radio.entry.js +9 -5
  759. package/dist/esm/bs-search-item.entry.js +3 -3
  760. package/dist/esm/bs-select.entry.js +232 -0
  761. package/dist/esm/bs-session-timeout.entry.js +2 -2
  762. package/dist/esm/bs-shortcut-row.entry.js +2 -2
  763. package/dist/esm/bs-side-panel.entry.js +53 -4
  764. package/dist/esm/bs-skip-link.entry.js +50 -0
  765. package/dist/esm/bs-slider.entry.js +3 -3
  766. package/dist/esm/bs-snackbar.entry.js +3 -3
  767. package/dist/esm/bs-source-link.entry.js +5 -4
  768. package/dist/esm/bs-split-pane.entry.js +2 -2
  769. package/dist/esm/bs-stack.entry.js +2 -2
  770. package/dist/esm/bs-stat.entry.js +51 -0
  771. package/dist/esm/bs-stepper-step.entry.js +2 -2
  772. package/dist/esm/bs-stepper.entry.js +2 -2
  773. package/dist/esm/bs-switch.entry.js +5 -12
  774. package/dist/esm/bs-tab_3.entry.js +16 -9
  775. package/dist/esm/bs-table-of-contents.entry.js +169 -0
  776. package/dist/esm/bs-tag.entry.js +49 -0
  777. package/dist/esm/bs-text.entry.js +22 -0
  778. package/dist/esm/bs-timepicker.entry.js +3 -3
  779. package/dist/esm/bs-toast.entry.js +2 -2
  780. package/dist/esm/bs-toggle-button-group.entry.js +106 -0
  781. package/dist/esm/bs-toggle-button.entry.js +55 -0
  782. package/dist/esm/bs-toolbar.entry.js +193 -0
  783. package/dist/esm/bs-tooltip-trigger.entry.js +62 -4
  784. package/dist/esm/bs-tooltip.entry.js +2 -2
  785. package/dist/esm/bs-tree-item.entry.js +4 -4
  786. package/dist/esm/bs-tree.entry.js +2 -2
  787. package/dist/esm/bs-whats-new.entry.js +1 -1
  788. package/dist/esm/icon-registry-Vo0zbGRB.js +60 -0
  789. package/dist/esm/{index-D3SkQJpw.js → index-wz7B473u.js} +1 -1
  790. package/dist/esm/index.js +2 -0
  791. package/dist/esm/loader.js +3 -3
  792. package/dist/esm/motion-BSt9HeTa.js +39 -0
  793. package/dist/types/components/bs-accordion/bs-accordion.d.ts +22 -0
  794. package/dist/types/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.d.ts +9 -0
  795. package/dist/types/components/bs-button/bs-button/bs-button.d.ts +25 -6
  796. package/dist/types/components/bs-button/bs-icon-button/bs-icon-button.d.ts +8 -0
  797. package/dist/types/components/bs-card/bs-card.d.ts +35 -0
  798. package/dist/types/components/bs-card/bs-card.stories.d.ts +3 -0
  799. package/dist/types/components/bs-carousel/bs-carousel.d.ts +21 -1
  800. package/dist/types/components/bs-chatbot-response-action/bs-chatbot-response-action.d.ts +1 -0
  801. package/dist/types/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.d.ts +4 -0
  802. package/dist/types/components/bs-checkbox/bs-checkbox.d.ts +1 -0
  803. package/dist/types/components/bs-checkbox-group/bs-checkbox-group.cmp.test.d.ts +1 -0
  804. package/dist/types/components/bs-checkbox-group/bs-checkbox-group.d.ts +48 -0
  805. package/dist/types/components/bs-checkbox-group/bs-checkbox-group.stories.d.ts +15 -0
  806. package/dist/types/components/bs-chip/bs-chip-filter/bs-chip-filter.d.ts +1 -0
  807. package/dist/types/components/bs-chip/bs-chip-input/bs-chip-input.d.ts +1 -0
  808. package/dist/types/components/bs-code-block/bs-code-block.cmp.test.d.ts +1 -0
  809. package/dist/types/components/bs-code-block/bs-code-block.d.ts +68 -0
  810. package/dist/types/components/bs-code-block/bs-code-block.stories.d.ts +18 -0
  811. package/dist/types/components/bs-data-table/bs-data-table.d.ts +11 -0
  812. package/dist/types/components/bs-description-item/bs-description-item.cmp.test.d.ts +1 -0
  813. package/dist/types/components/bs-description-item/bs-description-item.d.ts +34 -0
  814. package/dist/types/components/bs-description-list/bs-description-list.cmp.test.d.ts +1 -0
  815. package/dist/types/components/bs-description-list/bs-description-list.d.ts +33 -0
  816. package/dist/types/components/bs-description-list/bs-description-list.stories.d.ts +11 -0
  817. package/dist/types/components/bs-dialog/bs-dialog.d.ts +14 -0
  818. package/dist/types/components/bs-dropdown/bs-dropdown.cmp.test.d.ts +1 -0
  819. package/dist/types/components/bs-dropdown/bs-dropdown.d.ts +51 -0
  820. package/dist/types/components/bs-dropdown/bs-dropdown.stories.d.ts +12 -0
  821. package/dist/types/components/bs-empty-state/bs-empty-state.d.ts +6 -0
  822. package/dist/types/components/bs-empty-state/bs-empty-state.stories.d.ts +3 -0
  823. package/dist/types/components/bs-heading/bs-heading.cmp.test.d.ts +1 -0
  824. package/dist/types/components/bs-heading/bs-heading.d.ts +34 -0
  825. package/dist/types/components/bs-heading/bs-heading.stories.d.ts +15 -0
  826. package/dist/types/components/bs-icon/bs-icon.cmp.test.d.ts +1 -0
  827. package/dist/types/components/bs-icon/bs-icon.d.ts +39 -0
  828. package/dist/types/components/bs-icon/bs-icon.stories.d.ts +16 -0
  829. package/dist/types/components/bs-icon/icon-registry.d.ts +16 -0
  830. package/dist/types/components/bs-input/bs-input.d.ts +83 -12
  831. package/dist/types/components/bs-input/bs-input.stories.d.ts +3 -1
  832. package/dist/types/components/bs-link/bs-link.cmp.test.d.ts +1 -0
  833. package/dist/types/components/bs-link/bs-link.d.ts +48 -0
  834. package/dist/types/components/bs-link/bs-link.stories.d.ts +19 -0
  835. package/dist/types/components/bs-list/bs-list.d.ts +6 -0
  836. package/dist/types/components/bs-list/bs-list.stories.d.ts +4 -0
  837. package/dist/types/components/bs-list-item/bs-list-item.d.ts +4 -0
  838. package/dist/types/components/bs-mega-menu/bs-mega-menu.d.ts +26 -2
  839. package/dist/types/components/bs-menu-item/bs-menu-item.d.ts +1 -0
  840. package/dist/types/components/bs-pagination/bs-pagination.d.ts +1 -0
  841. package/dist/types/components/bs-popover/bs-popover.d.ts +15 -0
  842. package/dist/types/components/bs-presence/bs-presence.cmp.test.d.ts +1 -0
  843. package/dist/types/components/bs-presence/bs-presence.d.ts +50 -0
  844. package/dist/types/components/bs-presence/bs-presence.stories.d.ts +15 -0
  845. package/dist/types/components/bs-radio/bs-radio.d.ts +5 -0
  846. package/dist/types/components/bs-radio-group/bs-radio-group.cmp.test.d.ts +1 -0
  847. package/dist/types/components/bs-radio-group/bs-radio-group.d.ts +57 -0
  848. package/dist/types/components/bs-radio-group/bs-radio-group.stories.d.ts +16 -0
  849. package/dist/types/components/bs-ripple/bs-ripple.cmp.test.d.ts +1 -0
  850. package/dist/types/components/bs-ripple/bs-ripple.d.ts +52 -0
  851. package/dist/types/components/bs-ripple/bs-ripple.stories.d.ts +11 -0
  852. package/dist/types/components/bs-search-item/bs-search-item.d.ts +1 -0
  853. package/dist/types/components/bs-select/bs-select.cmp.test.d.ts +1 -0
  854. package/dist/types/components/bs-select/bs-select.d.ts +85 -0
  855. package/dist/types/components/bs-select/bs-select.stories.d.ts +19 -0
  856. package/dist/types/components/bs-side-panel/bs-side-panel.d.ts +13 -0
  857. package/dist/types/components/bs-skip-link/bs-skip-link.cmp.test.d.ts +1 -0
  858. package/dist/types/components/bs-skip-link/bs-skip-link.d.ts +40 -0
  859. package/dist/types/components/bs-skip-link/bs-skip-link.stories.d.ts +10 -0
  860. package/dist/types/components/bs-source-link/bs-source-link.d.ts +1 -0
  861. package/dist/types/components/bs-stat/bs-stat.cmp.test.d.ts +1 -0
  862. package/dist/types/components/bs-stat/bs-stat.d.ts +56 -0
  863. package/dist/types/components/bs-stat/bs-stat.stories.d.ts +16 -0
  864. package/dist/types/components/bs-switch/bs-switch.d.ts +1 -0
  865. package/dist/types/components/bs-tab/bs-inline-tab/bs-inline-tab.d.ts +1 -0
  866. package/dist/types/components/bs-tab/bs-inline-tab/bs-inline-tab.stories.d.ts +0 -1
  867. package/dist/types/components/bs-tab/bs-tab/bs-tab.d.ts +1 -0
  868. package/dist/types/components/bs-tab/bs-tabs/bs-tabs.d.ts +5 -3
  869. package/dist/types/components/bs-table-of-contents/bs-table-of-contents.cmp.test.d.ts +1 -0
  870. package/dist/types/components/bs-table-of-contents/bs-table-of-contents.d.ts +96 -0
  871. package/dist/types/components/bs-table-of-contents/bs-table-of-contents.stories.d.ts +13 -0
  872. package/dist/types/components/bs-tag/bs-tag.cmp.test.d.ts +1 -0
  873. package/dist/types/components/bs-tag/bs-tag.d.ts +49 -0
  874. package/dist/types/components/bs-tag/bs-tag.stories.d.ts +16 -0
  875. package/dist/types/components/bs-text/bs-text.cmp.test.d.ts +1 -0
  876. package/dist/types/components/bs-text/bs-text.d.ts +31 -0
  877. package/dist/types/components/bs-text/bs-text.stories.d.ts +14 -0
  878. package/dist/types/components/bs-toggle-button/bs-toggle-button.cmp.test.d.ts +1 -0
  879. package/dist/types/components/bs-toggle-button/bs-toggle-button.d.ts +48 -0
  880. package/dist/types/components/bs-toggle-button/bs-toggle-button.stories.d.ts +13 -0
  881. package/dist/types/components/bs-toggle-button-group/bs-toggle-button-group.cmp.test.d.ts +1 -0
  882. package/dist/types/components/bs-toggle-button-group/bs-toggle-button-group.d.ts +42 -0
  883. package/dist/types/components/bs-toggle-button-group/bs-toggle-button-group.stories.d.ts +13 -0
  884. package/dist/types/components/bs-toolbar/bs-toolbar.cmp.test.d.ts +1 -0
  885. package/dist/types/components/bs-toolbar/bs-toolbar.d.ts +88 -0
  886. package/dist/types/components/bs-toolbar/bs-toolbar.stories.d.ts +13 -0
  887. package/dist/types/components/bs-tooltip-trigger/bs-tooltip-trigger.d.ts +18 -0
  888. package/dist/types/components/bs-tree-item/bs-tree-item.d.ts +1 -0
  889. package/dist/types/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.d.ts +11 -1
  890. package/dist/types/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.stories.d.ts +3 -0
  891. package/dist/types/components.d.ts +3512 -94
  892. package/dist/types/index.d.ts +1 -0
  893. package/dist/types/test/helpers/block-link-navigation.d.ts +8 -0
  894. package/dist/types/test/helpers/contrast.d.ts +5 -0
  895. package/dist/types/utils/motion.d.ts +21 -0
  896. package/package.json +1 -1
  897. package/reference.d.ts +90 -30
  898. package/reference.json +898 -24
  899. package/dist/brandsync-wc/p-046a53de.entry.js +0 -1
  900. package/dist/brandsync-wc/p-07e0b444.entry.js +0 -1
  901. package/dist/brandsync-wc/p-186e3b78.entry.js +0 -1
  902. package/dist/brandsync-wc/p-1d8c2ec1.entry.js +0 -1
  903. package/dist/brandsync-wc/p-23b56775.entry.js +0 -1
  904. package/dist/brandsync-wc/p-246036cd.entry.js +0 -1
  905. package/dist/brandsync-wc/p-344695a8.entry.js +0 -1
  906. package/dist/brandsync-wc/p-34851d6d.entry.js +0 -1
  907. package/dist/brandsync-wc/p-348fef11.entry.js +0 -1
  908. package/dist/brandsync-wc/p-47929dca.entry.js +0 -1
  909. package/dist/brandsync-wc/p-47ce984f.entry.js +0 -1
  910. package/dist/brandsync-wc/p-52d61070.entry.js +0 -1
  911. package/dist/brandsync-wc/p-5e36d46f.entry.js +0 -1
  912. package/dist/brandsync-wc/p-64f8eb7e.entry.js +0 -1
  913. package/dist/brandsync-wc/p-6b019a88.entry.js +0 -1
  914. package/dist/brandsync-wc/p-78114ea3.entry.js +0 -1
  915. package/dist/brandsync-wc/p-8962abe0.entry.js +0 -1
  916. package/dist/brandsync-wc/p-8c9938a5.entry.js +0 -1
  917. package/dist/brandsync-wc/p-8e46a262.entry.js +0 -1
  918. package/dist/brandsync-wc/p-95c7f350.entry.js +0 -1
  919. package/dist/brandsync-wc/p-9787bc0f.entry.js +0 -1
  920. package/dist/brandsync-wc/p-998b95d3.entry.js +0 -1
  921. package/dist/brandsync-wc/p-D3SkQJpw.js +0 -3
  922. package/dist/brandsync-wc/p-a9d0a730.entry.js +0 -1
  923. package/dist/brandsync-wc/p-b1edc9b7.entry.js +0 -1
  924. package/dist/brandsync-wc/p-b759ae72.entry.js +0 -1
  925. package/dist/brandsync-wc/p-b7bbc52f.entry.js +0 -1
  926. package/dist/brandsync-wc/p-d985e569.entry.js +0 -1
  927. package/dist/brandsync-wc/p-e4e9c961.entry.js +0 -1
  928. package/dist/brandsync-wc/p-e99c0937.entry.js +0 -1
  929. package/dist/brandsync-wc/p-e9adfa44.entry.js +0 -1
  930. package/dist/brandsync-wc/p-eb3bacb9.entry.js +0 -1
  931. package/dist/brandsync-wc/p-ee00d3a5.entry.js +0 -1
  932. package/dist/brandsync-wc/p-f4628861.entry.js +0 -1
  933. package/dist/brandsync-wc/p-f47b8673.entry.js +0 -1
  934. package/dist/brandsync-wc/p-fa91106e.entry.js +0 -1
  935. package/dist/brandsync-wc/p-fb84002e.entry.js +0 -1
  936. package/dist/brandsync-wc/p-fbc219c6.entry.js +0 -1
  937. package/dist/cjs/bs-button.cjs.entry.js +0 -107
  938. package/dist/cjs/bs-input_3.cjs.entry.js +0 -461
  939. package/dist/cjs/bs-list-item_2.cjs.entry.js +0 -215
  940. package/dist/cjs/bs-spinner.cjs.entry.js +0 -24
  941. package/dist/components/p-B2gx7SZk.js +0 -1
  942. package/dist/components/p-B8kw9EOx.js +0 -1
  943. package/dist/components/p-BLPNwyiT.js +0 -1
  944. package/dist/components/p-BP1l6Q3Z.js +0 -1
  945. package/dist/components/p-BS7ySxJZ.js +0 -1
  946. package/dist/components/p-BmdSbmFg.js +0 -1
  947. package/dist/components/p-C2rRVRIu.js +0 -1
  948. package/dist/components/p-D9dDFyPB.js +0 -1
  949. package/dist/components/p-DBvhi__l.js +0 -1
  950. package/dist/components/p-DFd4pP4i.js +0 -1
  951. package/dist/components/p-DVjuZdjF.js +0 -1
  952. package/dist/components/p-DW0Dw2LS.js +0 -1
  953. package/dist/components/p-DgY5pxXd.js +0 -1
  954. package/dist/components/p-DhhXayh6.js +0 -1
  955. package/dist/components/p-DiORQQg3.js +0 -1
  956. package/dist/components/p-DsBToIYE.js +0 -1
  957. package/dist/components/p-I1_Q3HQu.js +0 -1
  958. package/dist/components/p-TXAiCnSZ.js +0 -1
  959. package/dist/esm/bs-button.entry.js +0 -105
  960. package/dist/esm/bs-input_3.entry.js +0 -457
  961. package/dist/esm/bs-list-item_2.entry.js +0 -212
  962. package/dist/esm/bs-spinner.entry.js +0 -22
@@ -0,0 +1,43 @@
1
+ 'use strict';
2
+
3
+ /**
4
+ * Small helpers for the enter/exit motion of overlay components (dialog, popover, side panel).
5
+ * The lengths and curves come from CSS custom properties on the host, which alias the shared
6
+ * `--bs-duration-*` / `--bs-easing-*` tokens. Under `prefers-reduced-motion: reduce` those duration
7
+ * tokens are `0ms`, so every helper here reports 0 and callers skip the motion entirely.
8
+ */
9
+ /** Parses a CSS time (`200ms`, `0.2s`) to milliseconds. Anything else is 0. */
10
+ function parseMs(value) {
11
+ const v = value.trim();
12
+ if (v.endsWith('ms'))
13
+ return parseFloat(v);
14
+ if (v.endsWith('s'))
15
+ return parseFloat(v) * 1000;
16
+ return 0;
17
+ }
18
+ /** Reads a component's motion length (ms), curve and travel distance (px) from custom properties on `host`. */
19
+ function readMotion(host, prefix) {
20
+ const style = getComputedStyle(host);
21
+ return {
22
+ ms: parseMs(style.getPropertyValue(`--${prefix}-duration`)),
23
+ easing: style.getPropertyValue(`--${prefix}-easing`).trim() || 'ease',
24
+ distance: parseFloat(style.getPropertyValue(`--${prefix}-distance`)) || 0,
25
+ };
26
+ }
27
+ /**
28
+ * Plays `frames` on `el` and resolves when the animation finishes or is cancelled. `fill: 'forwards'`
29
+ * (the default for exits) keeps the end state until the caller removes the element.
30
+ */
31
+ function play(el, frames, ms, easing, fill = 'none') {
32
+ if (!el)
33
+ return Promise.resolve();
34
+ return el.animate(frames, { duration: ms, easing, fill }).finished.then(() => undefined, () => undefined);
35
+ }
36
+ /** Cancels every running animation on the given elements (restores their normal style). */
37
+ function cancelMotion(...els) {
38
+ els.forEach(el => el?.getAnimations().forEach(a => a.cancel()));
39
+ }
40
+
41
+ exports.cancelMotion = cancelMotion;
42
+ exports.play = play;
43
+ exports.readMotion = readMotion;
@@ -12,6 +12,7 @@
12
12
  "components/bs-card/bs-card.js",
13
13
  "components/bs-carousel/bs-carousel.js",
14
14
  "components/bs-checkbox/bs-checkbox.js",
15
+ "components/bs-checkbox-group/bs-checkbox-group.js",
15
16
  "components/bs-chip/bs-chip-filter/bs-chip-filter.js",
16
17
  "components/bs-chip/bs-chip-informative/bs-chip-informative.js",
17
18
  "components/bs-chip/bs-chip-input/bs-chip-input.js",
@@ -25,24 +26,31 @@
25
26
  "components/bs-datepicker/bs-datepicker.js",
26
27
  "components/bs-dialog/bs-dialog.js",
27
28
  "components/bs-divider/bs-divider.js",
29
+ "components/bs-popover/bs-popover.js",
30
+ "components/bs-dropdown/bs-dropdown.js",
28
31
  "components/bs-icon-tile/bs-icon-tile.js",
29
32
  "components/bs-error-page/bs-error-page.js",
30
33
  "components/bs-file-upload/bs-file-upload.js",
31
34
  "components/bs-file-upload-item/bs-file-upload-item.js",
32
35
  "components/bs-global-search/bs-global-search.js",
33
36
  "components/bs-grid/bs-grid.js",
37
+ "components/bs-heading/bs-heading.js",
38
+ "components/bs-icon/bs-icon.js",
34
39
  "components/bs-button/bs-icon-button/bs-icon-button.js",
35
40
  "components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.js",
41
+ "components/bs-link/bs-link.js",
36
42
  "components/bs-logo/bs-logo.js",
37
43
  "components/bs-mega-menu/bs-mega-menu.js",
38
44
  "components/bs-message/bs-message.js",
39
45
  "components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.js",
40
46
  "components/bs-onboarding-checklist/bs-onboarding-checklist.js",
41
- "components/bs-popover/bs-popover.js",
47
+ "components/bs-presence/bs-presence.js",
42
48
  "components/bs-product-tour/bs-product-tour.js",
43
49
  "components/bs-progress/bs-progress.js",
44
50
  "components/bs-progress-linear/bs-progress-linear.js",
45
51
  "components/bs-qr-code/bs-qr-code.js",
52
+ "components/bs-radio-group/bs-radio-group.js",
53
+ "components/bs-select/bs-select.js",
46
54
  "components/bs-session-timeout/bs-session-timeout.js",
47
55
  "components/bs-side-panel/bs-side-panel.js",
48
56
  "components/bs-skeleton/bs-skeleton.js",
@@ -51,12 +59,18 @@
51
59
  "components/bs-spinner/bs-spinner.js",
52
60
  "components/bs-split-pane/bs-split-pane.js",
53
61
  "components/bs-stack/bs-stack.js",
62
+ "components/bs-stat/bs-stat.js",
54
63
  "components/bs-stepper/bs-stepper-step/bs-stepper-step.js",
55
64
  "components/bs-switch/bs-switch.js",
56
65
  "components/bs-tab/bs-tab/bs-tab.js",
66
+ "components/bs-table-of-contents/bs-table-of-contents.js",
57
67
  "components/bs-tab/bs-tabs/bs-tabs.js",
68
+ "components/bs-tag/bs-tag.js",
69
+ "components/bs-text/bs-text.js",
58
70
  "components/bs-timepicker/bs-timepicker.js",
59
71
  "components/bs-toast/bs-toast.js",
72
+ "components/bs-toggle-button/bs-toggle-button.js",
73
+ "components/bs-toolbar/bs-toolbar.js",
60
74
  "components/bs-tooltip-trigger/bs-tooltip-trigger.js",
61
75
  "components/bs-whats-new-entry/bs-whats-new-entry.js",
62
76
  "components/bs-whats-new/bs-whats-new.js",
@@ -76,7 +90,10 @@
76
90
  "components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.js",
77
91
  "components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.js",
78
92
  "components/bs-citation-preview/bs-citation-preview.js",
93
+ "components/bs-code-block/bs-code-block.js",
79
94
  "components/bs-compact-menu-block/bs-compact-menu-block.js",
95
+ "components/bs-description-item/bs-description-item.js",
96
+ "components/bs-description-list/bs-description-list.js",
80
97
  "components/bs-empty-state/bs-empty-state.js",
81
98
  "components/bs-input/bs-input.js",
82
99
  "components/bs-key/bs-key.js",
@@ -90,11 +107,14 @@
90
107
  "components/bs-page-header/bs-page-header.js",
91
108
  "components/bs-pagination/bs-pagination.js",
92
109
  "components/bs-radio/bs-radio.js",
110
+ "components/bs-ripple/bs-ripple.js",
93
111
  "components/bs-search-item/bs-search-item.js",
94
112
  "components/bs-shortcut-row/bs-shortcut-row.js",
113
+ "components/bs-skip-link/bs-skip-link.js",
95
114
  "components/bs-source-link/bs-source-link.js",
96
115
  "components/bs-stepper/bs-stepper/bs-stepper.js",
97
116
  "components/bs-tab/bs-inline-tab/bs-inline-tab.js",
117
+ "components/bs-toggle-button-group/bs-toggle-button-group.js",
98
118
  "components/bs-tooltip/bs-tooltip.js",
99
119
  "components/bs-tree/bs-tree.js",
100
120
  "components/bs-tree-item/bs-tree-item.js",
@@ -16,6 +16,12 @@ describe('axe: form controls', () => {
16
16
  axeOf('bs-checkbox', () => h("bs-checkbox", null, "Agree"));
17
17
  axeOf('bs-checkbox (icon-only)', () => h("bs-checkbox", { ariaLabel: "Select row" }));
18
18
  axeOf('bs-switch', () => h("bs-switch", null, "Alerts"));
19
+ axeOf('bs-select', () => h("bs-select", { label: "Fruit", description: "Pick one", options: [{ label: 'Apple', value: 'a' }, { label: 'Banana', value: 'b' }], value: "a" }));
20
+ axeOf('bs-select (open, error)', () => h("bs-select", { label: "Fruit", error: "Required", open: true, options: [{ label: 'Apple', value: 'a' }, { label: 'Banana', value: 'b' }] }));
21
+ axeOf('bs-toggle-button-group (single)', () => (h("bs-toggle-button-group", { ariaLabel: "View", value: "a" }, h("bs-toggle-button", { value: "a" }, "List"), h("bs-toggle-button", { value: "b" }, "Grid"))));
22
+ axeOf('bs-toggle-button-group (multiple, icon-only)', () => (h("bs-toggle-button-group", { ariaLabel: "Format", multiple: true }, h("bs-toggle-button", { value: "b", ariaLabel: "Bold" }, h("svg", { slot: "icon", viewBox: "0 0 8 8", "aria-hidden": "true" })), h("bs-toggle-button", { value: "i", ariaLabel: "Italic" }, h("svg", { slot: "icon", viewBox: "0 0 8 8", "aria-hidden": "true" })))));
23
+ axeOf('bs-link', () => h("bs-link", { href: "/docs" }, "Docs"));
24
+ axeOf('bs-link (external, button)', () => h("bs-link", { href: "https://example.com", target: "_blank", variant: "button" }, "Open"));
19
25
  axeOf('bs-radio group', () => (h("div", { role: "radiogroup", "aria-label": "Fruit" }, h("bs-radio", { name: "f", value: "a", checked: true }, "A"), h("bs-radio", { name: "f", value: "b" }, "B"))));
20
26
  });
21
27
  describe('axe: actions & navigation', () => {
@@ -60,6 +66,9 @@ describe('axe: display & feedback', () => {
60
66
  axeOf('bs-badge', () => h("bs-badge", null, "3"));
61
67
  axeOf('bs-card', () => h("bs-card", null, "Content"));
62
68
  axeOf('bs-chip-informative', () => h("bs-chip-informative", null, "Tag"));
69
+ axeOf('bs-tag', () => (h("bs-tag", { removable: true, color: "info" }, "Design")));
70
+ axeOf('bs-stat', () => h("bs-stat", { label: "Active users", value: "1,284", trend: "up", trendValue: "12%" }));
71
+ axeOf('bs-description-list', () => (h("bs-description-list", { ariaLabel: "Details", layout: "horizontal", dividers: true }, h("bs-description-item", { term: "Owner", description: "Sam Lee" }))));
63
72
  axeOf('bs-logo', () => h("bs-logo", null));
64
73
  axeOf('bs-progress', () => h("bs-progress", { value: 40, ariaLabel: "Uploading" }));
65
74
  axeOf('bs-progress-linear', () => h("bs-progress-linear", { value: 40, ariaLabel: "Uploading" }));
@@ -1,5 +1,5 @@
1
1
  import { render, h, describe, it, expect } from "@stencil/vitest";
2
- import { runAxeCheck } from "../../test/helpers/conventions";
2
+ import { assertCssCustomProperties, runAxeCheck } from "../../test/helpers/conventions";
3
3
  describe('bs-accordion', () => {
4
4
  it('has no axe-core accessibility violations', async () => {
5
5
  const { root } = await render(h("bs-accordion", null, h("span", { slot: "label" }, "Title"), "Body content"));
@@ -18,15 +18,30 @@ describe('bs-accordion', () => {
18
18
  });
19
19
  });
20
20
  describe('caret direction', () => {
21
- it('shows CaretDown when collapsed', async () => {
21
+ it('is not rotated when collapsed', async () => {
22
22
  const { root } = await render(h("bs-accordion", null, "Body"));
23
- const caret = root.shadowRoot.querySelector('[part="caret"]');
24
- expect(caret.innerHTML).toContain('9.75L12 15.75');
23
+ expect(root.shadowRoot.querySelector('[part="caret"]')).not.toHaveClass('bs-accordion__caret--open');
25
24
  });
26
- it('shows CaretUp when expanded', async () => {
25
+ it('rotates (open class) when expanded, and uses a single glyph', async () => {
27
26
  const { root } = await render(h("bs-accordion", { expanded: true }, "Body"));
28
27
  const caret = root.shadowRoot.querySelector('[part="caret"]');
29
- expect(caret.innerHTML).toContain('14.25L12 8.25');
28
+ expect(caret).toHaveClass('bs-accordion__caret--open');
29
+ expect(caret.querySelectorAll('svg').length).toBe(1);
30
+ });
31
+ });
32
+ describe('motion', () => {
33
+ it('keeps the body mounted while collapsing without a preview, then removes it', async () => {
34
+ const { root, waitForChanges } = await render(h("bs-accordion", { expanded: true, showPreview: false }, "Body content"));
35
+ root.expanded = false;
36
+ await waitForChanges();
37
+ expect(root.shadowRoot.querySelector('[part="content"]')).not.toBeNull();
38
+ await new Promise(resolve => setTimeout(resolve, 600));
39
+ await waitForChanges();
40
+ expect(root.shadowRoot.querySelector('[part="content"]')).toBeNull();
41
+ });
42
+ it('exposes its duration and easing custom properties', async () => {
43
+ const { root } = await render(h("bs-accordion", null, "Body"));
44
+ assertCssCustomProperties(root, ['--bs-accordion-duration', '--bs-accordion-easing']);
30
45
  });
31
46
  });
32
47
  describe('controlled expanded prop', () => {
@@ -18,6 +18,8 @@
18
18
  * @prop --bs-accordion-bg-disabled: Header/content background, disabled. Aliased to --bs-surface-action-disabled.
19
19
  * @prop --bs-accordion-text-disabled: Label/content color, disabled. Aliased to --bs-text-on-disabled.
20
20
  * @prop --bs-accordion-focus-ring: Focus-visible outer ring color. Aliased to --bs-border-neutral-focus.
21
+ * @prop --bs-accordion-duration: Expand/collapse and caret rotation length. Aliased to --bs-duration-default.
22
+ * @prop --bs-accordion-easing: Expand/collapse and caret rotation curve. Aliased to --bs-easing-standard.
21
23
  */
22
24
  :host {
23
25
  display: block;
@@ -41,6 +43,8 @@
41
43
  --bs-accordion-bg-disabled: var(--bs-surface-action-disabled);
42
44
  --bs-accordion-text-disabled: var(--bs-text-on-disabled);
43
45
  --bs-accordion-focus-ring: var(--bs-border-neutral-focus);
46
+ --bs-accordion-duration: var(--bs-duration-default);
47
+ --bs-accordion-easing: var(--bs-easing-standard);
44
48
  }
45
49
 
46
50
  .bs-accordion {
@@ -48,6 +52,7 @@
48
52
  border-radius: var(--bs-accordion-radius);
49
53
  overflow: hidden;
50
54
  font-family: inherit;
55
+ transition: background-color var(--bs-accordion-duration) var(--bs-accordion-easing);
51
56
  }
52
57
 
53
58
  /* Hover/pressed/focus-visible highlight the WHOLE item (header + content together), not just the
@@ -163,6 +168,14 @@
163
168
  color: inherit;
164
169
  }
165
170
 
171
+ .bs-accordion__caret {
172
+ transition: transform var(--bs-accordion-duration) var(--bs-accordion-easing);
173
+ }
174
+
175
+ .bs-accordion__caret--open {
176
+ transform: rotate(180deg);
177
+ }
178
+
166
179
  .bs-accordion__caret svg {
167
180
  width: 24px;
168
181
  height: 24px;
@@ -179,6 +192,8 @@
179
192
  }
180
193
 
181
194
  .bs-accordion__content {
195
+ /* border-box so the animated height includes the padding, matching what getBoundingClientRect reads. */
196
+ box-sizing: border-box;
182
197
  padding-top: 0;
183
198
  padding-bottom: var(--bs-accordion-content-padding-bottom);
184
199
  padding-inline-end: var(--bs-accordion-content-padding-right);
@@ -19,8 +19,14 @@ import { h } from "@stencil/core";
19
19
  * @part label - The label wrapper.
20
20
  * @part caret - The trailing caret wrapper.
21
21
  * @part content - The body content wrapper.
22
+ * @prop --bs-accordion-duration - Length of the expand/collapse motion. Aliased to `--bs-duration-default`.
23
+ * @prop --bs-accordion-easing - Curve of the expand/collapse motion. Aliased to `--bs-easing-standard`.
24
+ *
25
+ * Expanding and collapsing animate the body's height and rotate the caret. Under
26
+ * `prefers-reduced-motion: reduce` the duration token is `0ms`, so the body snaps.
22
27
  */
23
28
  export class BsAccordion {
29
+ el;
24
30
  /** Whether the section is expanded. This is the single source of truth for the component's
25
31
  * visual state -- a controlled component, like a controlled `<input>`. Clicking (or
26
32
  * keyboard-activating) the header never mutates this prop itself; it only emits `bsToggle` with
@@ -45,6 +51,58 @@ export class BsAccordion {
45
51
  /** Emitted when the header is activated (click, or Enter/Space while focused), with the
46
52
  * REQUESTED new expanded value (`!expanded`). Never fires while `disabled`. */
47
53
  bsToggle;
54
+ /** Keeps the body mounted while it animates closed when `showPreview` is `false`. */
55
+ closing = false;
56
+ contentEl;
57
+ animation;
58
+ fromHeight = 0;
59
+ fromPadding = '0px';
60
+ pendingAnimation = false;
61
+ /**
62
+ * Runs before the re-render that follows an `expanded` change, so the body's current height can
63
+ * be read while it is still in its old state. `componentDidRender` then animates from that height
64
+ * to the new one. Reading the live height (not a stored one) also makes interrupting a running
65
+ * animation start from wherever it currently is.
66
+ */
67
+ onExpandedChange(expanded) {
68
+ const content = this.contentEl;
69
+ this.fromHeight = content ? content.getBoundingClientRect().height : 0;
70
+ this.fromPadding = content ? getComputedStyle(content).paddingBottom : '0px';
71
+ this.animation?.cancel();
72
+ this.pendingAnimation = true;
73
+ if (!expanded && !this.showPreview)
74
+ this.closing = true;
75
+ }
76
+ componentDidRender() {
77
+ if (!this.pendingAnimation)
78
+ return;
79
+ this.pendingAnimation = false;
80
+ const content = this.contentEl;
81
+ const style = getComputedStyle(this.el);
82
+ const ms = this.toMs(style.getPropertyValue('--bs-accordion-duration'));
83
+ if (!content || ms === 0) {
84
+ this.closing = false;
85
+ return;
86
+ }
87
+ const toZero = !this.expanded && !this.showPreview;
88
+ const toHeight = toZero ? 0 : content.getBoundingClientRect().height;
89
+ const toPadding = toZero ? '0px' : getComputedStyle(content).paddingBottom;
90
+ this.animation = content.animate([
91
+ { height: `${this.fromHeight}px`, paddingBottom: this.fromPadding, overflow: 'hidden' },
92
+ { height: `${toHeight}px`, paddingBottom: toPadding, overflow: 'hidden' },
93
+ ], { duration: ms, easing: style.getPropertyValue('--bs-accordion-easing').trim() || 'ease' });
94
+ this.animation.onfinish = () => {
95
+ this.closing = false;
96
+ };
97
+ }
98
+ toMs(value) {
99
+ const v = value.trim();
100
+ if (v.endsWith('ms'))
101
+ return parseFloat(v);
102
+ if (v.endsWith('s'))
103
+ return parseFloat(v) * 1000;
104
+ return 0;
105
+ }
48
106
  onActivate = () => {
49
107
  if (this.disabled)
50
108
  return;
@@ -55,7 +113,7 @@ export class BsAccordion {
55
113
  // `<div role="button">`: it gets click, keyboard activation (Enter/Space), focus-visible
56
114
  // styling, and `disabled` semantics (not focusable, no events) for free, and flexbox handles
57
115
  // laying out its children as easily as a <div>'s -- no layout reason to hand-roll any of that.
58
- return (h("div", { key: '2774538f3bc8d52e5a295edafbdad5e2a12dddda', part: "container", class: `bs-accordion bs-accordion--${this.size} ${this.disabled ? 'bs-accordion--disabled' : ''}` }, h("button", { key: '7e1942dca9082ac653dd7e3d55d9b919790bcd5b', type: "button", part: "header", class: `bs-accordion__header bs-accordion__header--${this.size} ${this.showIcon ? '' : 'bs-accordion__header--no-icon'}`, disabled: this.disabled, "aria-expanded": String(this.expanded), onClick: this.onActivate }, this.showIcon && (h("span", { key: 'abd274cb295ae34e9220846a1e8466623f65663a', part: "icon", class: `bs-accordion__icon bs-accordion__icon--${this.size}`, "aria-hidden": "true" }, h("slot", { key: 'd9c4c429852c77f4a10c05eb247a9d3d35559ef6', name: "icon" }, h(PlusIcon, { key: '2fb492c43754a517e4e98b684f811be21777e849' })))), h("span", { key: 'a02484f1a47148493fbc193bc4b9daa8e4c634e7', part: "label", class: `bs-accordion__label ${this.showIcon ? '' : 'bs-accordion__label--no-icon'}` }, h("slot", { key: '8241ccee7233e85c2d69c225c07e67b982674ef7', name: "label" })), h("span", { key: '6e36ee8dbd22ca924f9d8ea8b5c3017c5478f058', part: "caret", class: `bs-accordion__caret bs-accordion__caret--${this.size}`, "aria-hidden": "true" }, this.expanded ? h(CaretUpIcon, null) : h(CaretDownIcon, null))), (this.expanded || this.showPreview) && (h("div", { key: '1e3ad6fe654c633a4094ea9014ef79d82feae2db', part: "content", class: `bs-accordion__content ${this.showIcon ? '' : 'bs-accordion__content--no-icon'} ${this.expanded ? 'bs-accordion__content--expanded' : 'bs-accordion__content--collapsed'}` }, h("slot", { key: '6a60fd12ed4ec7e3b4ab0e56414e0a90c4f5d889' })))));
116
+ return (h("div", { key: 'b7645b3be5116d906a2aa6e4e680859a9c19323f', part: "container", class: `bs-accordion bs-accordion--${this.size} ${this.disabled ? 'bs-accordion--disabled' : ''}` }, h("button", { key: 'a1c824c54a529b2214dbb47cb93adea5cdadee84', type: "button", part: "header", class: `bs-accordion__header bs-accordion__header--${this.size} ${this.showIcon ? '' : 'bs-accordion__header--no-icon'}`, disabled: this.disabled, "aria-expanded": String(this.expanded), onClick: this.onActivate }, this.showIcon && (h("span", { key: '5d35f4e2c05704a6bef532919301e765f8195aa7', part: "icon", class: `bs-accordion__icon bs-accordion__icon--${this.size}`, "aria-hidden": "true" }, h("slot", { key: '137280692f375379ef43be918094192d6030e2ad', name: "icon" }, h(PlusIcon, { key: '8826de2813774382dcf21e856288ff936eb12425' })))), h("span", { key: '57f370d082a86b7488bf309a114b82077d1f6711', part: "label", class: `bs-accordion__label ${this.showIcon ? '' : 'bs-accordion__label--no-icon'}` }, h("slot", { key: '5563063582ee2e1fb79d02acdc3d0feb5ac07eec', name: "label" })), h("span", { key: '8d8afd4433823aa8122b2ed167fd5ed3c32dc21a', part: "caret", class: `bs-accordion__caret bs-accordion__caret--${this.size} ${this.expanded ? 'bs-accordion__caret--open' : ''}`, "aria-hidden": "true" }, h(CaretDownIcon, { key: '51dfcbdfa5ccff5c3e6a6c2f983fc4d7fb460c18' }))), (this.expanded || this.showPreview || this.closing) && (h("div", { key: '8d62decaf3dc7a98f91eaea1723fc26a8fc520a4', ref: el => (this.contentEl = el), part: "content", class: `bs-accordion__content ${this.showIcon ? '' : 'bs-accordion__content--no-icon'} ${this.expanded ? 'bs-accordion__content--expanded' : 'bs-accordion__content--collapsed'}` }, h("slot", { key: '56493eb5b425134b38ac60f481219a823379626e' })))));
59
117
  }
60
118
  static get is() { return "bs-accordion"; }
61
119
  static get encapsulation() { return "shadow"; }
@@ -179,6 +237,11 @@ export class BsAccordion {
179
237
  }
180
238
  };
181
239
  }
240
+ static get states() {
241
+ return {
242
+ "closing": {}
243
+ };
244
+ }
182
245
  static get events() {
183
246
  return [{
184
247
  "method": "bsToggle",
@@ -197,7 +260,13 @@ export class BsAccordion {
197
260
  }
198
261
  }];
199
262
  }
263
+ static get elementRef() { return "el"; }
264
+ static get watchers() {
265
+ return [{
266
+ "propName": "expanded",
267
+ "methodName": "onExpandedChange"
268
+ }];
269
+ }
200
270
  }
201
271
  const PlusIcon = () => (h("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true" }, h("path", { d: "M12 5V19", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }), h("path", { d: "M5 12H19", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));
202
272
  const CaretDownIcon = () => (h("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true" }, h("path", { d: "M6 9.75L12 15.75L18 9.75", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));
203
- const CaretUpIcon = () => (h("svg", { viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true" }, h("path", { d: "M6 14.25L12 8.25L18 14.25", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));
@@ -35,7 +35,7 @@ export class BsAccordionGroup {
35
35
  }
36
36
  }
37
37
  render() {
38
- return (h("div", { key: '6424b834f6d3b9a06b4cb227bf97850d7b07df97', part: "group", class: "bs-accordion-group" }, h("slot", { key: '9f1e0a012b0b240542f202f0242b09ca50c977c2' })));
38
+ return (h("div", { key: '56384f2124a0950a70906c7cc581fe084d5ccfd5', part: "group", class: "bs-accordion-group" }, h("slot", { key: '8b6cc577ccd33cb10d7b393cf2acd0b6d0cf11df' })));
39
39
  }
40
40
  static get is() { return "bs-accordion-group"; }
41
41
  static get encapsulation() { return "shadow"; }
@@ -25,7 +25,7 @@ import { h } from "@stencil/core";
25
25
  export class BsAiDisclaimer {
26
26
  render() {
27
27
  https: //images.unsplash.com/photo-1512917774080-9991f1c4c750?w=200&h=200&fit=crop
28
- return (h("div", { key: '40d8b2e77afc19a9e7ef192e2cff44e6589dd693', class: "bs-ai-disclaimer" }, h("p", { key: 'a9702343421808cdbb6e6d9e3a5c6d66e7b43f8a', part: "text", class: "bs-ai-disclaimer__text" }, h("slot", { key: '62950b55efe5c08769790c095c2ed3a082a36201' }))));
28
+ return (h("div", { key: '42b8ec6acacf3cc88ca6ab26e6799e4cfbde3306', class: "bs-ai-disclaimer" }, h("p", { key: '91208bcb6b163418762194ffea845b8f7ad603ba', part: "text", class: "bs-ai-disclaimer__text" }, h("slot", { key: 'b8062d0ad625601e6766729d94d0111385b29380' }))));
29
29
  }
30
30
  static get is() { return "bs-ai-disclaimer"; }
31
31
  static get encapsulation() { return "shadow"; }
@@ -43,7 +43,7 @@ export class BsAiGreeting {
43
43
  const subtext = this.productName
44
44
  ? `How can I help you with ${this.productName} today?`
45
45
  : 'How can I help you today?';
46
- return (h("div", { key: 'b9a60d4da5d2a8bf7564e405c5c8856ef18db3a0', class: "bs-ai-greeting" }, h("div", { key: 'ef9a401361f1c360f78e7de73027b4572054c88f', part: "heading", class: "bs-ai-greeting__heading" }, h("p", { key: '358ee1dceb08dd256283fa2a413c7d9bfae502ec', class: "bs-ai-greeting__heading-line" }, "Hi. I'm ", this.assistantName, ","), h("p", { key: '752c4c2c7824c75a239f82dc5e6f3075b629d654', class: "bs-ai-greeting__heading-line" }, "your AI assistant.")), h("p", { key: 'b4a78b43e7b0b073b67069e223124e022efe611e', part: "subtext", class: "bs-ai-greeting__subtext" }, subtext)));
46
+ return (h("div", { key: '1f79a81a945a8035c3e0e8b6ebf7b007bd9c6715', class: "bs-ai-greeting" }, h("div", { key: '069645a7530d7cdbc1fc84f5d5642f42be3a3bf0', part: "heading", class: "bs-ai-greeting__heading" }, h("p", { key: '4e4f8f2a8f8e3dc9e8d8ebfabe50044bacbe80b0', class: "bs-ai-greeting__heading-line" }, "Hi. I'm ", this.assistantName, ","), h("p", { key: 'fab76105a61cc5f005e3d2b055296aff48cb73cd', class: "bs-ai-greeting__heading-line" }, "your AI assistant.")), h("p", { key: 'b59877f8be280fd6f3384b1320bc4a7f41874a08', part: "subtext", class: "bs-ai-greeting__subtext" }, subtext)));
47
47
  }
48
48
  static get is() { return "bs-ai-greeting"; }
49
49
  static get encapsulation() { return "shadow"; }
@@ -29,7 +29,7 @@ export class BsAiThinking {
29
29
  /** The status text shown next to the icon, e.g. "Retrieving", "Thinking", "Searching". */
30
30
  label = 'Thinking';
31
31
  render() {
32
- return (h("div", { key: '4d30265a3514c027259e7552abc31bbe44b2408c', class: "bs-ai-thinking", role: "status", "aria-live": "polite" }, h("img", { key: 'a46bdd8751c55e9f06dc7ae5ec88a15e65ba0502', part: "icon", class: "bs-ai-thinking__icon", src: GENIE_MARK_ICON, alt: "", "aria-hidden": "true" }), h("span", { key: '970d16be73ab87b7a62efdde4a37a795dfb57b73', part: "label", class: "bs-ai-thinking__label" }, this.label)));
32
+ return (h("div", { key: '6cde3a4e39f20988a64e8e5e12bded17881e3759', class: "bs-ai-thinking", role: "status", "aria-live": "polite" }, h("img", { key: '8607373a20a5b2b3710fef1e72ac65255a7a6e67', part: "icon", class: "bs-ai-thinking__icon", src: GENIE_MARK_ICON, alt: "", "aria-hidden": "true" }), h("span", { key: '93ddd0850764dc02032f79bef90042f524d37806', part: "label", class: "bs-ai-thinking__label" }, this.label)));
33
33
  }
34
34
  static get is() { return "bs-ai-thinking"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -63,10 +63,10 @@ export class BsAppRecentItem {
63
63
  onClick: this.onClick,
64
64
  };
65
65
  const body = [
66
- h("bs-icon-tile", { key: '40dc2e9a479cc0e8bf897776efbb6c9562e59397', part: "icon", class: "bs-app-recent-item__icon", size: "md" }, this.icon ? h("span", { class: "bs-app-recent-item__glyph", style: { '--bs-app-recent-item-glyph': `url(${JSON.stringify(this.icon)})` } }) : h("slot", null)),
67
- h("span", { key: 'e41fab5b55dd1c678853adbdc759d256d2d7e295', class: "bs-app-recent-item__text" }, h("span", { key: '0592bd9f18ab68d112a49421e34a04a61dbfc75c', part: "name", class: "bs-app-recent-item__name" }, this.name), this.description && (h("span", { key: 'fd6f0cc5b13b4c1fabb537588a22e23312f8d013', part: "description", class: "bs-app-recent-item__description" }, this.description))),
66
+ h("bs-icon-tile", { key: 'dba9c2186088e32388156d6cba1fb2d4bb63909a', part: "icon", class: "bs-app-recent-item__icon", size: "md" }, this.icon ? h("span", { class: "bs-app-recent-item__glyph", style: { '--bs-app-recent-item-glyph': `url(${JSON.stringify(this.icon)})` } }) : h("slot", null)),
67
+ h("span", { key: '1c5c4e8cee96487647c89f688b8ec34ca8f46ff6', class: "bs-app-recent-item__text" }, h("span", { key: '49477af6347c0852d60990053c45e81a8a9ad5a5', part: "name", class: "bs-app-recent-item__name" }, this.name), this.description && (h("span", { key: 'be09443548bdb0740e9374572e85a272b6c2ee46', part: "description", class: "bs-app-recent-item__description" }, this.description))),
68
68
  ];
69
- return (h("button", { key: '251c32943d99ff2580c16df173609b821dd1992d', ...common, type: "button" }, body));
69
+ return (h("button", { key: 'a705988cedb88540ad48acc4f15387e468499968', ...common, type: "button" }, body));
70
70
  }
71
71
  static get is() { return "bs-app-recent-item"; }
72
72
  static get encapsulation() { return "shadow"; }
@@ -38,7 +38,7 @@ export class BsAppShell {
38
38
  /** When true the host is `height: 100%`; when false it is content-sized with `min-height: 100vh`. */
39
39
  fullHeight = true;
40
40
  render() {
41
- return (h("div", { key: 'e81aecf9ac19aff77ce4f6024bb48d051a9240a7', class: "bs-app-shell", part: "container" }, h("div", { key: '3bd113852f0db029d2515d9fe88292746e85764f', class: "bs-app-shell__header", part: "header" }, h("slot", { key: 'a538e654c63deb0bc3ad6075fc85ecde683e7587', name: "header" })), h("div", { key: '3b36be978c2db51d44fa807799e96aadc082fb77', class: "bs-app-shell__navigation", part: "navigation" }, h("slot", { key: 'eb74b091c1810fd6f981b3d1b553a17f01d9d3fc', name: "navigation" })), h("main", { key: 'f822e4277e77ec40d66e9ae49cf4bbf812c49ff3', class: "bs-app-shell__main", part: "main" }, h("slot", { key: '5fc343fcbfb1ed1e058ce27ca7be2d518b911927' })), h("div", { key: 'cee504b33b4cb5b4c38d3c4e61da8f31277fb865', class: "bs-app-shell__aside", part: "aside" }, h("slot", { key: '1c7cb896f2b9ef2b7aeccc5ed0b14c9c1317218c', name: "aside" }))));
41
+ return (h("div", { key: '413d1ca357dc8f965c2c126ea8cc923d533678b4', class: "bs-app-shell", part: "container" }, h("div", { key: 'e03fcf75e89168ab64f2abf068ce5f764bedd793', class: "bs-app-shell__header", part: "header" }, h("slot", { key: 'cec39829282c89b37bd1c08ac50f9740ae4e2800', name: "header" })), h("div", { key: 'e10cbea46eb0bc25f55201990ee412123111878e', class: "bs-app-shell__navigation", part: "navigation" }, h("slot", { key: '8d4b764e76e7e96ac0605886fc40b1b2edd5703c', name: "navigation" })), h("main", { key: 'c89a3db0a2c160bc397d5fa6ffab9ef8ab88f99e', class: "bs-app-shell__main", part: "main" }, h("slot", { key: '0a6250177f2a20b7fe4c1edd667afe1e5803658f' })), h("div", { key: '1a8d637f15be869915b815903c2a590e8504c057', class: "bs-app-shell__aside", part: "aside" }, h("slot", { key: 'c6e13833e120dca04961105d8c083072f035d5ff', name: "aside" }))));
42
42
  }
43
43
  static get is() { return "bs-app-shell"; }
44
44
  static get encapsulation() { return "shadow"; }
@@ -235,7 +235,7 @@ export class BsAppSwitcher {
235
235
  }
236
236
  render() {
237
237
  const headingId = `${this.id}-heading`;
238
- return (h("bs-card", { key: 'eca37058ac18a9a7faa40caa37aa2291503753c2', part: "panel", class: "bs-app-switcher", surface: "base", role: "region", "aria-labelledby": headingId }, h("div", { key: 'bd0ec6ec6d065d09a6854cd7f93314963d94fcb5', part: "header", class: "bs-app-switcher__header" }, h("h2", { key: '8aa69807c51467c75627e20cad79caad6b42505d', part: "heading", id: headingId, class: "bs-app-switcher__heading" }, this.heading), this.renderLink('manage', 'bs-app-switcher__manage', this.manageHref, this.manageLabel, () => this.bsManage.emit())), h("bs-divider", { key: '1cb1791cf9ab0eb09b772bcb53bb42cf8457c882', decorative: true }), this.renderBody(), h("bs-divider", { key: 'cf069a35387e0c5263f391278b962a464835414b', decorative: true }), h("div", { key: '16764053a5b74e6afb90bf29e27cc76e107c8e4a', part: "footer", class: "bs-app-switcher__footer" }, this.renderLink('browse', 'bs-app-switcher__browse', this.browseHref, this.browseLabel, () => this.bsBrowseAll.emit(), h("svg", { class: "bs-app-switcher__external", ...svgProps }, h("path", { d: "M7 17 17 7M8 7h9v9" })))), h("span", { key: '943b9d2acca5e67fa8ff481bcf381c3bf9842641', class: "bs-app-switcher__live", role: "status" }, this.liveText())));
238
+ return (h("bs-card", { key: '8257b65b618a40aa48c5e4e6ea464cd0e730b822', part: "panel", class: "bs-app-switcher", surface: "base", role: "region", "aria-labelledby": headingId }, h("div", { key: '99756a738b6954a8f6d6b4dae25115d9ba132be2', part: "header", class: "bs-app-switcher__header" }, h("h2", { key: '61ac20db2636acdf82c495e4aa1afaad047e5241', part: "heading", id: headingId, class: "bs-app-switcher__heading" }, this.heading), this.renderLink('manage', 'bs-app-switcher__manage', this.manageHref, this.manageLabel, () => this.bsManage.emit())), h("bs-divider", { key: 'f68ea80899a97f097dd26a4d4ff311a0c958c7a9', decorative: true }), this.renderBody(), h("bs-divider", { key: '05db5ca0047deb646a0b0bf68afec0663e7b132f', decorative: true }), h("div", { key: 'b32e86a8ba520756bce064384502f4ce71ada4ba', part: "footer", class: "bs-app-switcher__footer" }, this.renderLink('browse', 'bs-app-switcher__browse', this.browseHref, this.browseLabel, () => this.bsBrowseAll.emit(), h("svg", { class: "bs-app-switcher__external", ...svgProps }, h("path", { d: "M7 17 17 7M8 7h9v9" })))), h("span", { key: '1de45b23ef4e79e1b7af1f438304260f264e0489', class: "bs-app-switcher__live", role: "status" }, this.liveText())));
239
239
  }
240
240
  static get is() { return "bs-app-switcher"; }
241
241
  static get encapsulation() { return "shadow"; }
@@ -62,10 +62,10 @@ export class BsAppTile {
62
62
  onClick: this.onClick,
63
63
  };
64
64
  const body = [
65
- h("bs-icon-tile", { key: '712e5209c8201201fd6e61ced1f6f53aeebe0a6c', part: "icon", class: "bs-app-tile__icon", size: this.size === 'grid' ? 'lg' : 'md' }, this.icon ? h("span", { class: "bs-app-tile__glyph", style: { '--bs-app-tile-glyph': `url(${JSON.stringify(this.icon)})` } }) : h("slot", null)),
66
- h("span", { key: '65eca3956b52fd13a3d3994f189dbc4a56fdc0ba', part: "label", class: "bs-app-tile__label" }, this.name),
65
+ h("bs-icon-tile", { key: '6404044d9a208e22f557cb71fbfdfc91c78b3b0c', part: "icon", class: "bs-app-tile__icon", size: this.size === 'grid' ? 'lg' : 'md' }, this.icon ? h("span", { class: "bs-app-tile__glyph", style: { '--bs-app-tile-glyph': `url(${JSON.stringify(this.icon)})` } }) : h("slot", null)),
66
+ h("span", { key: '0bb976f0b075ad63f52cd9f07fe541bc826a69cd', part: "label", class: "bs-app-tile__label" }, this.name),
67
67
  ];
68
- return (h("button", { key: 'ff6a0f97191dadd903f8b49bc4090e4665a0b591', ...common, type: "button" }, body));
68
+ return (h("button", { key: 'c6dc2a317c93fd4fa2c39a42d6c194e1345c4720', ...common, type: "button" }, body));
69
69
  }
70
70
  static get is() { return "bs-app-tile"; }
71
71
  static get encapsulation() { return "shadow"; }
@@ -38,4 +38,14 @@ describe('bs-attachment', () => {
38
38
  const { root } = await render(h("bs-attachment", { removable: false }));
39
39
  expect(root.shadowRoot.querySelector('[part="remove"]')).toBeNull();
40
40
  });
41
+ it('places the VISIBLE dismiss button 12px from the thumbnail top and right edge', async () => {
42
+ const { root } = await render(h("bs-attachment", { "image-src": "data:image/gif;base64,R0lGODlhAQABAAAAACw=", "image-alt": "x", "file-name": "a.png", removable: true, style: { display: 'block', width: '200px' } }));
43
+ const host = root.shadowRoot.querySelector('.bs-attachment');
44
+ const ib = root.shadowRoot.querySelector('[part="remove"]');
45
+ const a = host.getBoundingClientRect();
46
+ const b = ib.shadowRoot.querySelector('button').getBoundingClientRect();
47
+ expect(b.width).toBe(16);
48
+ expect(b.top - a.top).toBe(12);
49
+ expect(a.right - b.right).toBe(12);
50
+ });
41
51
  });
@@ -102,12 +102,12 @@
102
102
 
103
103
  .bs-attachment__remove {
104
104
  position: absolute;
105
- /* Verified against Figma node 2513:32843 (EG Genie UI Kit v1.0): the remove button's own 32x32
106
- hit-target box sits flush at the thumbnail's top-right corner (top:0, right:0), with the
107
- *visible* 16px button centered inside it (8px inset on every side) -- so the visible button's
108
- real offset from the thumbnail's corner is 8px, not 4px. */
109
- top: var(--bs-spacing-100);
110
- inset-inline-end: var(--bs-spacing-100);
105
+ /* Design review (#50): the VISIBLE 16px button sits 12px (spacing-150) from the thumbnail's top and
106
+ right edges (this supersedes the earlier 8px Figma reading). display:flex removes the inline
107
+ line-box strut that otherwise pushed the button ~3px lower than the right inset. */
108
+ display: flex;
109
+ top: var(--bs-spacing-150);
110
+ inset-inline-end: var(--bs-spacing-150);
111
111
  opacity: 0;
112
112
  pointer-events: none;
113
113
  transition: opacity var(--bs-duration-fast) var(--bs-easing-standard);
@@ -54,7 +54,7 @@ export class BsAttachment {
54
54
  };
55
55
  render() {
56
56
  const isImage = this.type === 'image';
57
- return (h("div", { key: '1b70040e8fc2199fed52e81d97701199ed060900', class: { 'bs-attachment': true, 'bs-attachment--loading': this.loading }, "aria-busy": this.loading ? 'true' : 'false' }, isImage ? this.renderImage() : this.renderCard(), this.removable && (h("bs-icon-button", { key: '7fcb8dcc715c2439ce62219e693fc416025b1359', part: "remove", class: "bs-attachment__remove", size: "xs", variant: "neutral", ariaLabel: `${this.removeLabel}: ${this.fileName}`, onClick: this.onRemoveClick }, h(CloseIcon, { key: 'c9fc3e64c2b1ef2e9ec4c3d5dcb20aebea4950e4' })))));
57
+ return (h("div", { key: '397e7570d4765a1e4dfb410666c0fb0b78c06686', class: { 'bs-attachment': true, 'bs-attachment--loading': this.loading }, "aria-busy": this.loading ? 'true' : 'false' }, isImage ? this.renderImage() : this.renderCard(), this.removable && (h("bs-icon-button", { key: '738b5e3dbf1e2b0856bb20dc5eb3027d1cd87ef5', part: "remove", class: "bs-attachment__remove", size: "xs", variant: "neutral", ariaLabel: `${this.removeLabel}: ${this.fileName}`, onClick: this.onRemoveClick }, h(CloseIcon, { key: 'd21c9d3832f170c5af2d01e2d76b83be3acd3da7' })))));
58
58
  }
59
59
  renderImage() {
60
60
  return (h("div", { part: "thumbnail", class: "bs-attachment__thumbnail" }, h("img", { class: "bs-attachment__image", src: this.imageSrc, alt: this.imageAlt }), this.loading && h(Spinner, { class: "bs-attachment__spinner bs-attachment__spinner--overlay", size: 16, label: this.uploadingLabel })));
@@ -58,7 +58,7 @@ export class BsAttachmentList {
58
58
  this.canScrollRight = row.scrollWidth - row.clientWidth - row.scrollLeft > 1;
59
59
  };
60
60
  render() {
61
- return (h("div", { key: '437edaeda096e7ba3617040279b8eb5c79c6aa33', class: "bs-attachment-list" }, h("div", { key: 'a09ccfec9b8f9fe3d08e0d6a13d190307fe6bf69', part: "row", class: "bs-attachment-list__row", ref: el => (this.row = el), onScroll: this.onScroll, role: "group", "aria-label": this.ariaLabel, tabIndex: 0 }, h("slot", { key: 'c64a44ba2710dac5d8cb3ff80ee519354dfd44af', onSlotchange: this.onSlotchange })), this.canScrollRight && h("div", { key: 'da532064127af89debc42d5c3af870e35aa3fed0', part: "fade", class: "bs-attachment-list__fade", "aria-hidden": "true" })));
61
+ return (h("div", { key: 'ff420857d6be7d6db3643759dfd328edc473f8b0', class: "bs-attachment-list" }, h("div", { key: '3c62c72f7d4a7477baa07eb4b3d358f23729395e', part: "row", class: "bs-attachment-list__row", ref: el => (this.row = el), onScroll: this.onScroll, role: "group", "aria-label": this.ariaLabel, tabIndex: 0 }, h("slot", { key: '4b510eca2db2a3fdf4992fdcf1c5fe95d4089aad', onSlotchange: this.onSlotchange })), this.canScrollRight && h("div", { key: 'fcb930e61971ed1225b9da2706e8ad66c9db2628', part: "fade", class: "bs-attachment-list__fade", "aria-hidden": "true" })));
62
62
  }
63
63
  static get is() { return "bs-attachment-list"; }
64
64
  static get encapsulation() { return "shadow"; }
@@ -9,7 +9,10 @@ describe('bs-avatar', () => {
9
9
  });
10
10
  it('renders the fallback user icon for type="icon"', async () => {
11
11
  const { root } = await render(h("bs-avatar", { type: "icon" }));
12
- expect(root.shadowRoot.querySelector('[part="icon"]')).not.toBeNull();
12
+ const icon = root.shadowRoot.querySelector('[part="icon"]');
13
+ expect(icon).not.toBeNull();
14
+ expect(icon.tagName.toLowerCase()).toBe('bs-icon');
15
+ expect(icon).toEqualAttribute('name', 'user');
13
16
  expect(root.shadowRoot.querySelector('[part="initials"]')).toBeNull();
14
17
  expect(root.shadowRoot.querySelector('[part="image"]')).toBeNull();
15
18
  });
@@ -51,4 +54,11 @@ describe('bs-avatar', () => {
51
54
  const { root } = await render(h("bs-avatar", { disabled: true }));
52
55
  expect(root.hasAttribute('disabled')).toBe(true);
53
56
  });
57
+ it('scales the fallback icon to 60% of each avatar size', async () => {
58
+ for (const [size, px] of [['xs', 24], ['md', 44], ['xxl', 128]]) {
59
+ const { root } = await render(h("bs-avatar", { size: size }));
60
+ const icon = root.shadowRoot.querySelector('[part="icon"]');
61
+ expect(Math.round(icon.getBoundingClientRect().width)).toBe(Math.round(px * 0.6));
62
+ }
63
+ });
54
64
  });
@@ -81,31 +81,37 @@
81
81
  .bs-avatar--xs {
82
82
  width: var(--bs-avatar-size-xs);
83
83
  height: var(--bs-avatar-size-xs);
84
+ --bs-avatar-icon-size: calc(var(--bs-avatar-size-xs) * 0.6);
84
85
  }
85
86
 
86
87
  .bs-avatar--sm {
87
88
  width: var(--bs-avatar-size-sm);
88
89
  height: var(--bs-avatar-size-sm);
90
+ --bs-avatar-icon-size: calc(var(--bs-avatar-size-sm) * 0.6);
89
91
  }
90
92
 
91
93
  .bs-avatar--md {
92
94
  width: var(--bs-avatar-size-md);
93
95
  height: var(--bs-avatar-size-md);
96
+ --bs-avatar-icon-size: calc(var(--bs-avatar-size-md) * 0.6);
94
97
  }
95
98
 
96
99
  .bs-avatar--lg {
97
100
  width: var(--bs-avatar-size-lg);
98
101
  height: var(--bs-avatar-size-lg);
102
+ --bs-avatar-icon-size: calc(var(--bs-avatar-size-lg) * 0.6);
99
103
  }
100
104
 
101
105
  .bs-avatar--xl {
102
106
  width: var(--bs-avatar-size-xl);
103
107
  height: var(--bs-avatar-size-xl);
108
+ --bs-avatar-icon-size: calc(var(--bs-avatar-size-xl) * 0.6);
104
109
  }
105
110
 
106
111
  .bs-avatar--xxl {
107
112
  width: var(--bs-avatar-size-xxl);
108
113
  height: var(--bs-avatar-size-xxl);
114
+ --bs-avatar-icon-size: calc(var(--bs-avatar-size-xxl) * 0.6);
109
115
  border-width: var(--bs-avatar-border-width-xxl);
110
116
  }
111
117
 
@@ -117,11 +123,10 @@
117
123
  object-fit: cover;
118
124
  }
119
125
 
120
- /* type="icon" -- proportional to the container regardless of size, so one shared viewBox scales
121
- cleanly across all six sizes without needing a per-size icon custom property. */
126
+ /* type="icon" -- Phosphor `user` via bs-icon (tone="inherit" = currentColor). Its size is 60% of the
127
+ avatar, set per size above through --bs-avatar-icon-size. */
122
128
  .bs-avatar__icon {
123
- width: 60%;
124
- height: 60%;
129
+ --bs-icon-size: var(--bs-avatar-icon-size);
125
130
  color: var(--bs-avatar-icon-primary);
126
131
  }
127
132