@brandsync/wc 1.17.0 → 1.18.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 (570) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/REFERENCE.md +245 -0
  3. package/custom-elements.json +5218 -3031
  4. package/dist/brandsync-wc/brandsync-wc.esm.js +1 -1
  5. package/dist/brandsync-wc/{p-a7fb0b59.entry.js → p-0082db6a.entry.js} +1 -1
  6. package/dist/brandsync-wc/p-07e0b444.entry.js +1 -0
  7. package/dist/brandsync-wc/{p-5c61eb06.entry.js → p-08e0e704.entry.js} +1 -1
  8. package/dist/brandsync-wc/{p-35f76ea7.entry.js → p-0a6f22fe.entry.js} +1 -1
  9. package/dist/brandsync-wc/{p-b02bf1ca.entry.js → p-14b4f4c4.entry.js} +1 -1
  10. package/dist/brandsync-wc/{p-54d91ac9.entry.js → p-15f06226.entry.js} +1 -1
  11. package/dist/brandsync-wc/{p-a5659499.entry.js → p-186e3b78.entry.js} +1 -1
  12. package/dist/brandsync-wc/{p-1bd99669.entry.js → p-1a47774e.entry.js} +1 -1
  13. package/dist/brandsync-wc/{p-70c650b2.entry.js → p-1a62e5b7.entry.js} +1 -1
  14. package/dist/brandsync-wc/p-1aa0f9a3.entry.js +1 -0
  15. package/dist/brandsync-wc/{p-9d740928.entry.js → p-1d8c2ec1.entry.js} +1 -1
  16. package/dist/brandsync-wc/p-246036cd.entry.js +1 -0
  17. package/dist/brandsync-wc/{p-d25adab2.entry.js → p-31ca98c3.entry.js} +1 -1
  18. package/dist/brandsync-wc/{p-84d6d6eb.entry.js → p-344695a8.entry.js} +1 -1
  19. package/dist/brandsync-wc/{p-4f4c0c68.entry.js → p-345b5ef3.entry.js} +1 -1
  20. package/dist/brandsync-wc/{p-e0a9f2d1.entry.js → p-34851d6d.entry.js} +1 -1
  21. package/dist/brandsync-wc/{p-eb0dc5bf.entry.js → p-348fef11.entry.js} +1 -1
  22. package/dist/brandsync-wc/{p-d2a15599.entry.js → p-3e6f430a.entry.js} +1 -1
  23. package/dist/brandsync-wc/{p-065c7e7c.entry.js → p-43f8afda.entry.js} +1 -1
  24. package/dist/brandsync-wc/{p-361aef36.entry.js → p-47929dca.entry.js} +1 -1
  25. package/dist/brandsync-wc/{p-67f125e8.entry.js → p-47ce984f.entry.js} +1 -1
  26. package/dist/brandsync-wc/{p-d5a6098d.entry.js → p-4d4997af.entry.js} +1 -1
  27. package/dist/brandsync-wc/{p-d9184940.entry.js → p-4ff649f1.entry.js} +1 -1
  28. package/dist/brandsync-wc/p-50c116eb.entry.js +1 -0
  29. package/dist/brandsync-wc/{p-f3eca1ce.entry.js → p-50f60ed6.entry.js} +1 -1
  30. package/dist/brandsync-wc/p-52d61070.entry.js +1 -0
  31. package/dist/brandsync-wc/{p-43d5f708.entry.js → p-55d336da.entry.js} +1 -1
  32. package/dist/brandsync-wc/{p-f43a7f16.entry.js → p-55d97d1d.entry.js} +1 -1
  33. package/dist/brandsync-wc/{p-b142d8c9.entry.js → p-56a45582.entry.js} +1 -1
  34. package/dist/brandsync-wc/{p-07673a48.entry.js → p-58179e15.entry.js} +1 -1
  35. package/dist/brandsync-wc/{p-9396c67e.entry.js → p-5868793d.entry.js} +1 -1
  36. package/dist/brandsync-wc/{p-90ba3032.entry.js → p-5ac75555.entry.js} +1 -1
  37. package/dist/brandsync-wc/{p-f82a9f0d.entry.js → p-5cd1abc7.entry.js} +1 -1
  38. package/dist/brandsync-wc/{p-dfad8c0a.entry.js → p-5e36d46f.entry.js} +1 -1
  39. package/dist/brandsync-wc/{p-08e96f13.entry.js → p-64f8eb7e.entry.js} +1 -1
  40. package/dist/brandsync-wc/p-6b019a88.entry.js +1 -0
  41. package/dist/brandsync-wc/{p-f98dfa85.entry.js → p-6c987bc9.entry.js} +1 -1
  42. package/dist/brandsync-wc/{p-b5710db6.entry.js → p-757cd066.entry.js} +1 -1
  43. package/dist/brandsync-wc/{p-47b7fe76.entry.js → p-78114ea3.entry.js} +1 -1
  44. package/dist/brandsync-wc/p-7c29678d.entry.js +1 -0
  45. package/dist/brandsync-wc/{p-9d12b1fb.entry.js → p-7cfb1be6.entry.js} +1 -1
  46. package/dist/brandsync-wc/{p-844205d9.entry.js → p-841a80b4.entry.js} +1 -1
  47. package/dist/brandsync-wc/{p-5057e4fe.entry.js → p-87a10ee1.entry.js} +1 -1
  48. package/dist/brandsync-wc/{p-c05ee501.entry.js → p-8962abe0.entry.js} +1 -1
  49. package/dist/brandsync-wc/p-8e46a262.entry.js +1 -0
  50. package/dist/brandsync-wc/p-8f82ea7e.entry.js +1 -0
  51. package/dist/brandsync-wc/p-95c7f350.entry.js +1 -0
  52. package/dist/brandsync-wc/{p-6ea02b98.entry.js → p-9787bc0f.entry.js} +1 -1
  53. package/dist/brandsync-wc/{p-be7aac52.entry.js → p-998b95d3.entry.js} +1 -1
  54. package/dist/brandsync-wc/{p-11d80e17.entry.js → p-9bd739e5.entry.js} +1 -1
  55. package/dist/brandsync-wc/p-a424a709.entry.js +1 -0
  56. package/dist/brandsync-wc/{p-4eaa9ed4.entry.js → p-a51355d9.entry.js} +1 -1
  57. package/dist/brandsync-wc/{p-3bad5e1b.entry.js → p-a8c2855c.entry.js} +1 -1
  58. package/dist/brandsync-wc/{p-61deb48c.entry.js → p-a9d0a730.entry.js} +1 -1
  59. package/dist/brandsync-wc/{p-2bd30709.entry.js → p-ae207fd5.entry.js} +1 -1
  60. package/dist/brandsync-wc/{p-8048d033.entry.js → p-b1edc9b7.entry.js} +1 -1
  61. package/dist/brandsync-wc/{p-79fc849c.entry.js → p-b759ae72.entry.js} +1 -1
  62. package/dist/brandsync-wc/{p-e8ae626d.entry.js → p-b7bbc52f.entry.js} +1 -1
  63. package/dist/brandsync-wc/{p-aec2dfeb.entry.js → p-bd901b06.entry.js} +1 -1
  64. package/dist/brandsync-wc/{p-c835afb7.entry.js → p-be7272ce.entry.js} +1 -1
  65. package/dist/brandsync-wc/{p-857987f9.entry.js → p-bfff7cbb.entry.js} +1 -1
  66. package/dist/brandsync-wc/{p-8134f97c.entry.js → p-c020ffdf.entry.js} +1 -1
  67. package/dist/brandsync-wc/{p-3cb79512.entry.js → p-c02ed03d.entry.js} +1 -1
  68. package/dist/brandsync-wc/{p-a7fa839a.entry.js → p-cb002195.entry.js} +1 -1
  69. package/dist/brandsync-wc/{p-ffc07eb5.entry.js → p-d3fe8cea.entry.js} +1 -1
  70. package/dist/brandsync-wc/{p-ffccc1ee.entry.js → p-d42a26c1.entry.js} +1 -1
  71. package/dist/brandsync-wc/p-d985e569.entry.js +1 -0
  72. package/dist/brandsync-wc/{p-debc83cc.entry.js → p-e2491db8.entry.js} +1 -1
  73. package/dist/brandsync-wc/{p-fdc168ec.entry.js → p-e32a6df1.entry.js} +1 -1
  74. package/dist/brandsync-wc/{p-57ff14ca.entry.js → p-e3e15670.entry.js} +1 -1
  75. package/dist/brandsync-wc/{p-3c6ec5d0.entry.js → p-e4e9c961.entry.js} +1 -1
  76. package/dist/brandsync-wc/{p-d7956c51.entry.js → p-e99c0937.entry.js} +1 -1
  77. package/dist/brandsync-wc/{p-ab14a07d.entry.js → p-e9adfa44.entry.js} +1 -1
  78. package/dist/brandsync-wc/{p-32297416.entry.js → p-eb3bacb9.entry.js} +1 -1
  79. package/dist/brandsync-wc/{p-3d2c62a6.entry.js → p-ee00d3a5.entry.js} +1 -1
  80. package/dist/brandsync-wc/{p-3bdeeb9d.entry.js → p-ee63423c.entry.js} +1 -1
  81. package/dist/brandsync-wc/p-f4628861.entry.js +1 -0
  82. package/dist/brandsync-wc/{p-4b460eda.entry.js → p-f47b8673.entry.js} +1 -1
  83. package/dist/brandsync-wc/{p-8c4dfccb.entry.js → p-f6caa623.entry.js} +1 -1
  84. package/dist/brandsync-wc/p-f86b58bf.entry.js +1 -0
  85. package/dist/brandsync-wc/{p-00be9a64.entry.js → p-fa91106e.entry.js} +1 -1
  86. package/dist/brandsync-wc/{p-5b933ff4.entry.js → p-fb84002e.entry.js} +1 -1
  87. package/dist/brandsync-wc/{p-b4511ad3.entry.js → p-fbc219c6.entry.js} +1 -1
  88. package/dist/brandsync-wc/{p-0bbaef51.entry.js → p-fd78ff22.entry.js} +1 -1
  89. package/dist/cjs/brandsync-wc.cjs.js +1 -1
  90. package/dist/cjs/bs-accordion-group.cjs.entry.js +1 -1
  91. package/dist/cjs/bs-ai-disclaimer.cjs.entry.js +1 -1
  92. package/dist/cjs/bs-ai-greeting.cjs.entry.js +1 -1
  93. package/dist/cjs/bs-ai-thinking.cjs.entry.js +1 -1
  94. package/dist/cjs/bs-app-recent-item_3.cjs.entry.js +133 -0
  95. package/dist/cjs/bs-app-shell.cjs.entry.js +1 -1
  96. package/dist/cjs/bs-app-switcher.cjs.entry.js +208 -0
  97. package/dist/cjs/bs-attachment-list.cjs.entry.js +1 -1
  98. package/dist/cjs/bs-attachment.cjs.entry.js +1 -1
  99. package/dist/cjs/bs-avatar.cjs.entry.js +1 -1
  100. package/dist/cjs/bs-badge.cjs.entry.js +1 -1
  101. package/dist/cjs/bs-breadcrumb-overflow.cjs.entry.js +1 -1
  102. package/dist/cjs/bs-breadcrumb.cjs.entry.js +1 -1
  103. package/dist/cjs/bs-breadcrumbs.cjs.entry.js +1 -1
  104. package/dist/cjs/bs-button-skeleton.cjs.entry.js +1 -1
  105. package/dist/cjs/bs-button.cjs.entry.js +1 -1
  106. package/dist/cjs/bs-card.cjs.entry.js +1 -1
  107. package/dist/cjs/bs-carousel.cjs.entry.js +1 -1
  108. package/dist/cjs/bs-chatbot-feedback.cjs.entry.js +1 -1
  109. package/dist/cjs/bs-chatbot-header.cjs.entry.js +1 -1
  110. package/dist/cjs/bs-chatbot-response-action.cjs.entry.js +1 -1
  111. package/dist/cjs/bs-chatbot-sources-drawer.cjs.entry.js +1 -1
  112. package/dist/cjs/bs-chatbot-suggestion-button.cjs.entry.js +1 -1
  113. package/dist/cjs/bs-checkbox-skeleton.cjs.entry.js +1 -1
  114. package/dist/cjs/bs-checkbox.cjs.entry.js +1 -1
  115. package/dist/cjs/bs-chip-filter.cjs.entry.js +1 -1
  116. package/dist/cjs/bs-chip-informative.cjs.entry.js +1 -1
  117. package/dist/cjs/bs-chip-input.cjs.entry.js +1 -1
  118. package/dist/cjs/bs-citation-preview.cjs.entry.js +1 -1
  119. package/dist/cjs/bs-command-palette.cjs.entry.js +1 -1
  120. package/dist/cjs/bs-compact-menu-block_2.cjs.entry.js +46 -0
  121. package/dist/cjs/bs-company-switcher.cjs.entry.js +211 -0
  122. package/dist/cjs/bs-composer-status-banner.cjs.entry.js +1 -1
  123. package/dist/cjs/bs-composer.cjs.entry.js +1 -1
  124. package/dist/cjs/bs-container.cjs.entry.js +1 -1
  125. package/dist/cjs/bs-data-table.cjs.entry.js +2 -2
  126. package/dist/cjs/bs-datepicker.cjs.entry.js +1 -1
  127. package/dist/cjs/bs-divider.cjs.entry.js +1 -1
  128. package/dist/cjs/bs-empty-state.cjs.entry.js +1 -1
  129. package/dist/cjs/bs-error-page.cjs.entry.js +1 -1
  130. package/dist/cjs/bs-file-upload-item.cjs.entry.js +1 -1
  131. package/dist/cjs/bs-file-upload.cjs.entry.js +1 -1
  132. package/dist/cjs/bs-global-search.cjs.entry.js +2 -2
  133. package/dist/cjs/bs-grid.cjs.entry.js +2 -2
  134. package/dist/cjs/bs-icon-button.cjs.entry.js +8 -1
  135. package/dist/cjs/bs-icon-tile.cjs.entry.js +10 -2
  136. package/dist/cjs/bs-inline-tab.cjs.entry.js +1 -1
  137. package/dist/cjs/bs-input_3.cjs.entry.js +4 -4
  138. package/dist/cjs/bs-key-caps.cjs.entry.js +1 -1
  139. package/dist/cjs/bs-key.cjs.entry.js +1 -1
  140. package/dist/cjs/bs-keyboard-shortcuts.cjs.entry.js +2 -2
  141. package/dist/cjs/bs-list-item_2.cjs.entry.js +215 -0
  142. package/dist/cjs/bs-list.cjs.entry.js +1 -1
  143. package/dist/cjs/bs-mega-menu.cjs.entry.js +70 -0
  144. package/dist/cjs/bs-message-list.cjs.entry.js +1 -1
  145. package/dist/cjs/bs-message.cjs.entry.js +1 -1
  146. package/dist/cjs/bs-navigation-drawer-item.cjs.entry.js +1 -1
  147. package/dist/cjs/bs-navigation-drawer.cjs.entry.js +2 -2
  148. package/dist/cjs/bs-navigation-header.cjs.entry.js +5 -2
  149. package/dist/cjs/bs-page-header.cjs.entry.js +66 -0
  150. package/dist/cjs/bs-pagination.cjs.entry.js +1 -1
  151. package/dist/cjs/bs-progress-linear.cjs.entry.js +2 -2
  152. package/dist/cjs/bs-progress.cjs.entry.js +2 -2
  153. package/dist/cjs/bs-qr-code.cjs.entry.js +1 -1
  154. package/dist/cjs/bs-radio.cjs.entry.js +1 -1
  155. package/dist/cjs/bs-search-item.cjs.entry.js +1 -1
  156. package/dist/cjs/bs-session-timeout.cjs.entry.js +1 -1
  157. package/dist/cjs/bs-shortcut-row.cjs.entry.js +1 -1
  158. package/dist/cjs/bs-slider.cjs.entry.js +1 -1
  159. package/dist/cjs/bs-snackbar.cjs.entry.js +1 -1
  160. package/dist/cjs/bs-source-link.cjs.entry.js +2 -2
  161. package/dist/cjs/bs-spinner.cjs.entry.js +1 -1
  162. package/dist/cjs/bs-split-pane.cjs.entry.js +1 -1
  163. package/dist/cjs/bs-stack.cjs.entry.js +1 -1
  164. package/dist/cjs/bs-stepper-step.cjs.entry.js +1 -1
  165. package/dist/cjs/bs-stepper.cjs.entry.js +1 -1
  166. package/dist/cjs/bs-switch.cjs.entry.js +1 -1
  167. package/dist/cjs/bs-tab_3.cjs.entry.js +3 -3
  168. package/dist/cjs/bs-timepicker.cjs.entry.js +2 -2
  169. package/dist/cjs/bs-toast.cjs.entry.js +1 -1
  170. package/dist/cjs/bs-tooltip-trigger.cjs.entry.js +1 -1
  171. package/dist/cjs/bs-tooltip.cjs.entry.js +1 -1
  172. package/dist/cjs/bs-tree-item.cjs.entry.js +2 -2
  173. package/dist/cjs/bs-tree.cjs.entry.js +1 -1
  174. package/dist/cjs/loader.cjs.js +1 -1
  175. package/dist/collection/collection-manifest.json +8 -0
  176. package/dist/collection/components/bs-accordion-group/bs-accordion-group.js +1 -1
  177. package/dist/collection/components/bs-ai-disclaimer/bs-ai-disclaimer.js +1 -1
  178. package/dist/collection/components/bs-ai-greeting/bs-ai-greeting.js +1 -1
  179. package/dist/collection/components/bs-ai-thinking/bs-ai-thinking.js +1 -1
  180. package/dist/collection/components/bs-app-recent-item/bs-app-recent-item.cmp.test.js +52 -0
  181. package/dist/collection/components/bs-app-recent-item/bs-app-recent-item.css +111 -0
  182. package/dist/collection/components/bs-app-recent-item/bs-app-recent-item.js +184 -0
  183. package/dist/collection/components/bs-app-recent-item/bs-app-recent-item.stories.js +28 -0
  184. package/dist/collection/components/bs-app-shell/bs-app-shell.js +1 -1
  185. package/dist/collection/components/bs-app-switcher/bs-app-switcher.cmp.test.js +179 -0
  186. package/dist/collection/components/bs-app-switcher/bs-app-switcher.css +173 -0
  187. package/dist/collection/components/bs-app-switcher/bs-app-switcher.js +902 -0
  188. package/dist/collection/components/bs-app-switcher/bs-app-switcher.stories.js +91 -0
  189. package/dist/collection/components/bs-app-tile/bs-app-tile.cmp.test.js +58 -0
  190. package/dist/collection/components/bs-app-tile/bs-app-tile.css +104 -0
  191. package/dist/collection/components/bs-app-tile/bs-app-tile.js +190 -0
  192. package/dist/collection/components/bs-app-tile/bs-app-tile.stories.js +43 -0
  193. package/dist/collection/components/bs-attachment/bs-attachment.js +1 -1
  194. package/dist/collection/components/bs-attachment-list/bs-attachment-list.js +1 -1
  195. package/dist/collection/components/bs-avatar/bs-avatar.css +3 -3
  196. package/dist/collection/components/bs-badge/bs-badge.js +1 -1
  197. package/dist/collection/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.js +1 -1
  198. package/dist/collection/components/bs-breadcrumb/bs-breadcrumb-overflow/bs-breadcrumb-overflow.js +1 -1
  199. package/dist/collection/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.js +1 -1
  200. package/dist/collection/components/bs-button/bs-button/bs-button.js +1 -1
  201. package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.cmp.test.js +13 -0
  202. package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.js +27 -1
  203. package/dist/collection/components/bs-button-skeleton/bs-button-skeleton.js +1 -1
  204. package/dist/collection/components/bs-card/bs-card.js +1 -1
  205. package/dist/collection/components/bs-carousel/bs-carousel.js +1 -1
  206. package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.js +1 -1
  207. package/dist/collection/components/bs-chatbot-header/bs-chatbot-header.js +1 -1
  208. package/dist/collection/components/bs-chatbot-response-action/bs-chatbot-response-action.js +1 -1
  209. package/dist/collection/components/bs-chatbot-sources-drawer/bs-chatbot-sources-drawer.js +1 -1
  210. package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.js +1 -1
  211. package/dist/collection/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.js +1 -1
  212. package/dist/collection/components/bs-checkbox/bs-checkbox.js +1 -1
  213. package/dist/collection/components/bs-chip/bs-chip-filter/bs-chip-filter.js +1 -1
  214. package/dist/collection/components/bs-chip/bs-chip-informative/bs-chip-informative.js +1 -1
  215. package/dist/collection/components/bs-chip/bs-chip-input/bs-chip-input.js +1 -1
  216. package/dist/collection/components/bs-citation-preview/bs-citation-preview.js +1 -1
  217. package/dist/collection/components/bs-command-palette/bs-command-palette.js +1 -1
  218. package/dist/collection/components/bs-compact-menu-block/bs-compact-menu-block.cmp.test.js +32 -0
  219. package/dist/collection/components/bs-compact-menu-block/bs-compact-menu-block.css +43 -0
  220. package/dist/collection/components/bs-compact-menu-block/bs-compact-menu-block.js +67 -0
  221. package/dist/collection/components/bs-compact-menu-block/bs-compact-menu-block.stories.js +25 -0
  222. package/dist/collection/components/bs-company-switcher/bs-company-switcher.cmp.test.js +171 -0
  223. package/dist/collection/components/bs-company-switcher/bs-company-switcher.css +196 -0
  224. package/dist/collection/components/bs-company-switcher/bs-company-switcher.js +720 -0
  225. package/dist/collection/components/bs-company-switcher/bs-company-switcher.stories.js +78 -0
  226. package/dist/collection/components/bs-composer/bs-composer.js +1 -1
  227. package/dist/collection/components/bs-composer-status-banner/bs-composer-status-banner.js +1 -1
  228. package/dist/collection/components/bs-container/bs-container.js +1 -1
  229. package/dist/collection/components/bs-data-table/bs-data-table.js +2 -2
  230. package/dist/collection/components/bs-datepicker/bs-datepicker.js +1 -1
  231. package/dist/collection/components/bs-divider/bs-divider.js +1 -1
  232. package/dist/collection/components/bs-empty-state/bs-empty-state.js +1 -1
  233. package/dist/collection/components/bs-error-page/bs-error-page.js +1 -1
  234. package/dist/collection/components/bs-file-upload/bs-file-upload.js +1 -1
  235. package/dist/collection/components/bs-file-upload-item/bs-file-upload-item.js +1 -1
  236. package/dist/collection/components/bs-global-search/bs-global-search.js +2 -2
  237. package/dist/collection/components/bs-grid/bs-grid.js +2 -2
  238. package/dist/collection/components/bs-icon-tile/bs-icon-tile.js +11 -2
  239. package/dist/collection/components/bs-input/bs-input.js +2 -2
  240. package/dist/collection/components/bs-key/bs-key.js +1 -1
  241. package/dist/collection/components/bs-key-caps/bs-key-caps.js +1 -1
  242. package/dist/collection/components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.js +2 -2
  243. package/dist/collection/components/bs-list/bs-list.js +1 -1
  244. package/dist/collection/components/bs-list-item/bs-list-item.js +1 -1
  245. package/dist/collection/components/bs-mega-menu/bs-mega-menu.cmp.test.js +131 -0
  246. package/dist/collection/components/bs-mega-menu/bs-mega-menu.css +139 -0
  247. package/dist/collection/components/bs-mega-menu/bs-mega-menu.js +358 -0
  248. package/dist/collection/components/bs-mega-menu/bs-mega-menu.stories.js +188 -0
  249. package/dist/collection/components/bs-menu/bs-menu.js +1 -1
  250. package/dist/collection/components/bs-menu-block/bs-menu-block.cmp.test.js +44 -0
  251. package/dist/collection/components/bs-menu-block/bs-menu-block.css +106 -0
  252. package/dist/collection/components/bs-menu-block/bs-menu-block.js +147 -0
  253. package/dist/collection/components/bs-menu-block/bs-menu-block.stories.js +36 -0
  254. package/dist/collection/components/bs-menu-item/bs-menu-item.js +1 -1
  255. package/dist/collection/components/bs-message/bs-message.js +1 -1
  256. package/dist/collection/components/bs-message-list/bs-message-list.js +1 -1
  257. package/dist/collection/components/bs-page-header/bs-page-header.cmp.test.js +206 -0
  258. package/dist/collection/components/bs-page-header/bs-page-header.css +252 -0
  259. package/dist/collection/components/bs-page-header/bs-page-header.js +351 -0
  260. package/dist/collection/components/bs-page-header/bs-page-header.stories.js +177 -0
  261. package/dist/collection/components/bs-pagination/bs-pagination.js +1 -1
  262. package/dist/collection/components/bs-popover/bs-popover.js +1 -1
  263. package/dist/collection/components/bs-progress/bs-progress.js +2 -2
  264. package/dist/collection/components/bs-progress-linear/bs-progress-linear.js +2 -2
  265. package/dist/collection/components/bs-qr-code/bs-qr-code.js +1 -1
  266. package/dist/collection/components/bs-radio/bs-radio.js +1 -1
  267. package/dist/collection/components/bs-search-item/bs-search-item.js +1 -1
  268. package/dist/collection/components/bs-session-timeout/bs-session-timeout.js +1 -1
  269. package/dist/collection/components/bs-shortcut-row/bs-shortcut-row.js +1 -1
  270. package/dist/collection/components/bs-skeleton/bs-skeleton.js +1 -1
  271. package/dist/collection/components/bs-slider/bs-slider.js +1 -1
  272. package/dist/collection/components/bs-snackbar/bs-snackbar.js +1 -1
  273. package/dist/collection/components/bs-source-link/bs-source-link.js +2 -2
  274. package/dist/collection/components/bs-spinner/bs-spinner.js +1 -1
  275. package/dist/collection/components/bs-split-pane/bs-split-pane.js +1 -1
  276. package/dist/collection/components/bs-stack/bs-stack.js +1 -1
  277. package/dist/collection/components/bs-stepper/bs-stepper/bs-stepper.js +1 -1
  278. package/dist/collection/components/bs-stepper/bs-stepper-step/bs-stepper-step.js +1 -1
  279. package/dist/collection/components/bs-switch/bs-switch.js +1 -1
  280. package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.js +1 -1
  281. package/dist/collection/components/bs-tab/bs-tab/bs-tab.js +1 -1
  282. package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.js +1 -1
  283. package/dist/collection/components/bs-timepicker/bs-timepicker.js +2 -2
  284. package/dist/collection/components/bs-toast/bs-toast.js +1 -1
  285. package/dist/collection/components/bs-tooltip/bs-tooltip.js +1 -1
  286. package/dist/collection/components/bs-tooltip-trigger/bs-tooltip-trigger.js +1 -1
  287. package/dist/collection/components/bs-tree/bs-tree.js +1 -1
  288. package/dist/collection/components/bs-tree-item/bs-tree-item.js +2 -2
  289. package/dist/collection/components/bs-whats-new-entry/bs-whats-new-entry.js +1 -1
  290. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.js +2 -2
  291. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.js +1 -1
  292. package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.cmp.test.js +79 -0
  293. package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.css +46 -0
  294. package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.js +10 -1
  295. package/dist/components/bs-accordion-group.js +1 -1
  296. package/dist/components/bs-ai-disclaimer.js +1 -1
  297. package/dist/components/bs-ai-greeting.js +1 -1
  298. package/dist/components/bs-ai-thinking.js +1 -1
  299. package/dist/components/bs-app-recent-item.d.ts +11 -0
  300. package/dist/components/bs-app-recent-item.js +1 -0
  301. package/dist/components/bs-app-shell.js +1 -1
  302. package/dist/components/bs-app-switcher.d.ts +11 -0
  303. package/dist/components/bs-app-switcher.js +1 -0
  304. package/dist/components/bs-app-tile.d.ts +11 -0
  305. package/dist/components/bs-app-tile.js +1 -0
  306. package/dist/components/bs-attachment-list.js +1 -1
  307. package/dist/components/bs-attachment.js +1 -1
  308. package/dist/components/bs-avatar.js +1 -1
  309. package/dist/components/bs-badge.js +1 -1
  310. package/dist/components/bs-breadcrumb-overflow.js +1 -1
  311. package/dist/components/bs-breadcrumb.js +1 -1
  312. package/dist/components/bs-breadcrumbs.js +1 -1
  313. package/dist/components/bs-button-skeleton.js +1 -1
  314. package/dist/components/bs-button.js +1 -1
  315. package/dist/components/bs-card.js +1 -1
  316. package/dist/components/bs-carousel.js +1 -1
  317. package/dist/components/bs-chatbot-feedback.js +1 -1
  318. package/dist/components/bs-chatbot-header.js +1 -1
  319. package/dist/components/bs-chatbot-response-action.js +1 -1
  320. package/dist/components/bs-chatbot-sources-drawer.js +1 -1
  321. package/dist/components/bs-chatbot-suggestion-button.js +1 -1
  322. package/dist/components/bs-checkbox-skeleton.js +1 -1
  323. package/dist/components/bs-checkbox.js +1 -1
  324. package/dist/components/bs-chip-filter.js +1 -1
  325. package/dist/components/bs-chip-informative.js +1 -1
  326. package/dist/components/bs-chip-input.js +1 -1
  327. package/dist/components/bs-citation-preview.js +1 -1
  328. package/dist/components/bs-command-palette.js +1 -1
  329. package/dist/components/bs-compact-menu-block.d.ts +11 -0
  330. package/dist/components/bs-compact-menu-block.js +1 -0
  331. package/dist/components/bs-company-switcher.d.ts +11 -0
  332. package/dist/components/bs-company-switcher.js +1 -0
  333. package/dist/components/bs-composer-status-banner.js +1 -1
  334. package/dist/components/bs-composer.js +1 -1
  335. package/dist/components/bs-container.js +1 -1
  336. package/dist/components/bs-cookie-consent.js +1 -1
  337. package/dist/components/bs-data-table.js +1 -1
  338. package/dist/components/bs-datepicker.js +1 -1
  339. package/dist/components/bs-dialog.js +1 -1
  340. package/dist/components/bs-divider.js +1 -1
  341. package/dist/components/bs-empty-state.js +1 -1
  342. package/dist/components/bs-error-page.js +1 -1
  343. package/dist/components/bs-file-upload-item.js +1 -1
  344. package/dist/components/bs-file-upload.js +1 -1
  345. package/dist/components/bs-global-search.js +1 -1
  346. package/dist/components/bs-grid.js +1 -1
  347. package/dist/components/bs-icon-button.js +1 -1
  348. package/dist/components/bs-icon-tile.js +1 -1
  349. package/dist/components/bs-inline-tab.js +1 -1
  350. package/dist/components/bs-input.js +1 -1
  351. package/dist/components/bs-key-caps.js +1 -1
  352. package/dist/components/bs-key.js +1 -1
  353. package/dist/components/bs-keyboard-shortcuts.js +1 -1
  354. package/dist/components/bs-list-item.js +1 -1
  355. package/dist/components/bs-list.js +1 -1
  356. package/dist/components/bs-mega-menu.d.ts +11 -0
  357. package/dist/components/bs-mega-menu.js +1 -0
  358. package/dist/components/bs-menu-block.d.ts +11 -0
  359. package/dist/components/bs-menu-block.js +1 -0
  360. package/dist/components/bs-menu-item.js +1 -1
  361. package/dist/components/bs-menu.js +1 -1
  362. package/dist/components/bs-message-list.js +1 -1
  363. package/dist/components/bs-message.js +1 -1
  364. package/dist/components/bs-navigation-drawer-item.js +1 -1
  365. package/dist/components/bs-navigation-drawer.js +1 -1
  366. package/dist/components/bs-navigation-header.js +1 -1
  367. package/dist/components/bs-onboarding-checklist.js +1 -1
  368. package/dist/components/bs-page-header.d.ts +11 -0
  369. package/dist/components/bs-page-header.js +1 -0
  370. package/dist/components/bs-pagination.js +1 -1
  371. package/dist/components/bs-popover.js +1 -1
  372. package/dist/components/bs-product-tour.js +1 -1
  373. package/dist/components/bs-progress-linear.js +1 -1
  374. package/dist/components/bs-progress.js +1 -1
  375. package/dist/components/bs-qr-code.js +1 -1
  376. package/dist/components/bs-radio.js +1 -1
  377. package/dist/components/bs-search-item.js +1 -1
  378. package/dist/components/bs-session-timeout.js +1 -1
  379. package/dist/components/bs-shortcut-row.js +1 -1
  380. package/dist/components/bs-side-panel.js +1 -1
  381. package/dist/components/bs-skeleton.js +1 -1
  382. package/dist/components/bs-slider.js +1 -1
  383. package/dist/components/bs-snackbar.js +1 -1
  384. package/dist/components/bs-source-link.js +1 -1
  385. package/dist/components/bs-spinner.js +1 -1
  386. package/dist/components/bs-split-pane.js +1 -1
  387. package/dist/components/bs-stack.js +1 -1
  388. package/dist/components/bs-stepper-step.js +1 -1
  389. package/dist/components/bs-stepper.js +1 -1
  390. package/dist/components/bs-switch.js +1 -1
  391. package/dist/components/bs-tab.js +1 -1
  392. package/dist/components/bs-tabs.js +1 -1
  393. package/dist/components/bs-timepicker.js +1 -1
  394. package/dist/components/bs-toast.js +1 -1
  395. package/dist/components/bs-tooltip-trigger.js +1 -1
  396. package/dist/components/bs-tooltip.js +1 -1
  397. package/dist/components/bs-tree-item.js +1 -1
  398. package/dist/components/bs-tree.js +1 -1
  399. package/dist/components/bs-whats-new-entry.js +1 -1
  400. package/dist/components/bs-whats-new.js +1 -1
  401. package/dist/components/p-B6KgEbdM.js +1 -0
  402. package/dist/components/{p-DYDk73TF.js → p-B8kw9EOx.js} +1 -1
  403. package/dist/components/p-BLPNwyiT.js +1 -0
  404. package/dist/components/{p-D8bvv9QQ.js → p-BP1l6Q3Z.js} +1 -1
  405. package/dist/components/p-BS7ySxJZ.js +1 -0
  406. package/dist/components/{p-DYuzgzxI.js → p-BmdSbmFg.js} +1 -1
  407. package/dist/components/{p-CRtvJlh8.js → p-C1owRphU.js} +1 -1
  408. package/dist/components/{p-TAY9S9yG.js → p-C2rRVRIu.js} +1 -1
  409. package/dist/components/p-C3erqJFy.js +1 -0
  410. package/dist/components/{p-BcYNrEOB.js → p-Cd7p-48Q.js} +1 -1
  411. package/dist/components/{p-DtYTs9Kh.js → p-CmlzHRkn.js} +1 -1
  412. package/dist/components/{p-Bp3DIxjT.js → p-Co36mHEU.js} +1 -1
  413. package/dist/components/p-D4_8H0vn.js +1 -0
  414. package/dist/components/{p-DMLfXpva.js → p-D9dDFyPB.js} +1 -1
  415. package/dist/components/{p-DvNED6Lb.js → p-DBvhi__l.js} +1 -1
  416. package/dist/components/{p-CRM1wIX9.js → p-DFd4pP4i.js} +1 -1
  417. package/dist/components/{p-BUpnOUIM.js → p-DVjuZdjF.js} +1 -1
  418. package/dist/components/{p-D7AXo5NT.js → p-DW0Dw2LS.js} +1 -1
  419. package/dist/components/p-DcdFuKG9.js +1 -0
  420. package/dist/components/{p-CH5atin4.js → p-Deq0LzGO.js} +1 -1
  421. package/dist/components/p-DgY5pxXd.js +1 -0
  422. package/dist/components/{p-w-DkdA4O.js → p-DhhXayh6.js} +1 -1
  423. package/dist/components/p-DiORQQg3.js +1 -0
  424. package/dist/components/{p-Dt4JNhHT.js → p-Dl0FedE5.js} +1 -1
  425. package/dist/components/p-DsBToIYE.js +1 -0
  426. package/dist/components/{p-DG9eT5yi.js → p-DtbeCgXo.js} +1 -1
  427. package/dist/components/{p-DcjgRtSQ.js → p-DzvXbBvk.js} +1 -1
  428. package/dist/components/{p-CervX0wH.js → p-I1_Q3HQu.js} +1 -1
  429. package/dist/components/{p-Cpe2k7ZC.js → p-TXAiCnSZ.js} +1 -1
  430. package/dist/components/p-c-g3-oVu.js +1 -0
  431. package/dist/components/p-erdtytMq.js +1 -0
  432. package/dist/components/{p-BDnZvjlq.js → p-qXdgl7VG.js} +1 -1
  433. package/dist/esm/brandsync-wc.js +1 -1
  434. package/dist/esm/bs-accordion-group.entry.js +1 -1
  435. package/dist/esm/bs-ai-disclaimer.entry.js +1 -1
  436. package/dist/esm/bs-ai-greeting.entry.js +1 -1
  437. package/dist/esm/bs-ai-thinking.entry.js +1 -1
  438. package/dist/esm/bs-app-recent-item_3.entry.js +129 -0
  439. package/dist/esm/bs-app-shell.entry.js +1 -1
  440. package/dist/esm/bs-app-switcher.entry.js +206 -0
  441. package/dist/esm/bs-attachment-list.entry.js +1 -1
  442. package/dist/esm/bs-attachment.entry.js +1 -1
  443. package/dist/esm/bs-avatar.entry.js +1 -1
  444. package/dist/esm/bs-badge.entry.js +1 -1
  445. package/dist/esm/bs-breadcrumb-overflow.entry.js +1 -1
  446. package/dist/esm/bs-breadcrumb.entry.js +1 -1
  447. package/dist/esm/bs-breadcrumbs.entry.js +1 -1
  448. package/dist/esm/bs-button-skeleton.entry.js +1 -1
  449. package/dist/esm/bs-button.entry.js +1 -1
  450. package/dist/esm/bs-card.entry.js +1 -1
  451. package/dist/esm/bs-carousel.entry.js +1 -1
  452. package/dist/esm/bs-chatbot-feedback.entry.js +1 -1
  453. package/dist/esm/bs-chatbot-header.entry.js +1 -1
  454. package/dist/esm/bs-chatbot-response-action.entry.js +1 -1
  455. package/dist/esm/bs-chatbot-sources-drawer.entry.js +1 -1
  456. package/dist/esm/bs-chatbot-suggestion-button.entry.js +1 -1
  457. package/dist/esm/bs-checkbox-skeleton.entry.js +1 -1
  458. package/dist/esm/bs-checkbox.entry.js +1 -1
  459. package/dist/esm/bs-chip-filter.entry.js +1 -1
  460. package/dist/esm/bs-chip-informative.entry.js +1 -1
  461. package/dist/esm/bs-chip-input.entry.js +1 -1
  462. package/dist/esm/bs-citation-preview.entry.js +1 -1
  463. package/dist/esm/bs-command-palette.entry.js +1 -1
  464. package/dist/esm/bs-compact-menu-block_2.entry.js +43 -0
  465. package/dist/esm/bs-company-switcher.entry.js +209 -0
  466. package/dist/esm/bs-composer-status-banner.entry.js +1 -1
  467. package/dist/esm/bs-composer.entry.js +1 -1
  468. package/dist/esm/bs-container.entry.js +1 -1
  469. package/dist/esm/bs-data-table.entry.js +2 -2
  470. package/dist/esm/bs-datepicker.entry.js +1 -1
  471. package/dist/esm/bs-divider.entry.js +1 -1
  472. package/dist/esm/bs-empty-state.entry.js +1 -1
  473. package/dist/esm/bs-error-page.entry.js +1 -1
  474. package/dist/esm/bs-file-upload-item.entry.js +1 -1
  475. package/dist/esm/bs-file-upload.entry.js +1 -1
  476. package/dist/esm/bs-global-search.entry.js +2 -2
  477. package/dist/esm/bs-grid.entry.js +2 -2
  478. package/dist/esm/bs-icon-button.entry.js +8 -1
  479. package/dist/esm/bs-icon-tile.entry.js +11 -3
  480. package/dist/esm/bs-inline-tab.entry.js +1 -1
  481. package/dist/esm/bs-input_3.entry.js +4 -4
  482. package/dist/esm/bs-key-caps.entry.js +1 -1
  483. package/dist/esm/bs-key.entry.js +1 -1
  484. package/dist/esm/bs-keyboard-shortcuts.entry.js +2 -2
  485. package/dist/esm/bs-list-item_2.entry.js +212 -0
  486. package/dist/esm/bs-list.entry.js +1 -1
  487. package/dist/esm/bs-mega-menu.entry.js +68 -0
  488. package/dist/esm/bs-message-list.entry.js +1 -1
  489. package/dist/esm/bs-message.entry.js +1 -1
  490. package/dist/esm/bs-navigation-drawer-item.entry.js +1 -1
  491. package/dist/esm/bs-navigation-drawer.entry.js +2 -2
  492. package/dist/esm/bs-navigation-header.entry.js +5 -2
  493. package/dist/esm/bs-page-header.entry.js +64 -0
  494. package/dist/esm/bs-pagination.entry.js +1 -1
  495. package/dist/esm/bs-progress-linear.entry.js +2 -2
  496. package/dist/esm/bs-progress.entry.js +2 -2
  497. package/dist/esm/bs-qr-code.entry.js +1 -1
  498. package/dist/esm/bs-radio.entry.js +1 -1
  499. package/dist/esm/bs-search-item.entry.js +1 -1
  500. package/dist/esm/bs-session-timeout.entry.js +1 -1
  501. package/dist/esm/bs-shortcut-row.entry.js +1 -1
  502. package/dist/esm/bs-slider.entry.js +1 -1
  503. package/dist/esm/bs-snackbar.entry.js +1 -1
  504. package/dist/esm/bs-source-link.entry.js +2 -2
  505. package/dist/esm/bs-spinner.entry.js +1 -1
  506. package/dist/esm/bs-split-pane.entry.js +1 -1
  507. package/dist/esm/bs-stack.entry.js +1 -1
  508. package/dist/esm/bs-stepper-step.entry.js +1 -1
  509. package/dist/esm/bs-stepper.entry.js +1 -1
  510. package/dist/esm/bs-switch.entry.js +1 -1
  511. package/dist/esm/bs-tab_3.entry.js +3 -3
  512. package/dist/esm/bs-timepicker.entry.js +2 -2
  513. package/dist/esm/bs-toast.entry.js +1 -1
  514. package/dist/esm/bs-tooltip-trigger.entry.js +1 -1
  515. package/dist/esm/bs-tooltip.entry.js +1 -1
  516. package/dist/esm/bs-tree-item.entry.js +2 -2
  517. package/dist/esm/bs-tree.entry.js +1 -1
  518. package/dist/esm/loader.js +1 -1
  519. package/dist/types/components/bs-app-recent-item/bs-app-recent-item.cmp.test.d.ts +1 -0
  520. package/dist/types/components/bs-app-recent-item/bs-app-recent-item.d.ts +51 -0
  521. package/dist/types/components/bs-app-recent-item/bs-app-recent-item.stories.d.ts +15 -0
  522. package/dist/types/components/bs-app-switcher/bs-app-switcher.cmp.test.d.ts +1 -0
  523. package/dist/types/components/bs-app-switcher/bs-app-switcher.d.ts +159 -0
  524. package/dist/types/components/bs-app-switcher/bs-app-switcher.stories.d.ts +34 -0
  525. package/dist/types/components/bs-app-tile/bs-app-tile.cmp.test.d.ts +1 -0
  526. package/dist/types/components/bs-app-tile/bs-app-tile.d.ts +51 -0
  527. package/dist/types/components/bs-app-tile/bs-app-tile.stories.d.ts +18 -0
  528. package/dist/types/components/bs-button/bs-icon-button/bs-icon-button.d.ts +7 -0
  529. package/dist/types/components/bs-compact-menu-block/bs-compact-menu-block.cmp.test.d.ts +1 -0
  530. package/dist/types/components/bs-compact-menu-block/bs-compact-menu-block.d.ts +28 -0
  531. package/dist/types/components/bs-compact-menu-block/bs-compact-menu-block.stories.d.ts +10 -0
  532. package/dist/types/components/bs-company-switcher/bs-company-switcher.cmp.test.d.ts +1 -0
  533. package/dist/types/components/bs-company-switcher/bs-company-switcher.d.ts +130 -0
  534. package/dist/types/components/bs-company-switcher/bs-company-switcher.stories.d.ts +25 -0
  535. package/dist/types/components/bs-icon-tile/bs-icon-tile.d.ts +5 -0
  536. package/dist/types/components/bs-mega-menu/bs-mega-menu.cmp.test.d.ts +1 -0
  537. package/dist/types/components/bs-mega-menu/bs-mega-menu.d.ts +110 -0
  538. package/dist/types/components/bs-mega-menu/bs-mega-menu.stories.d.ts +55 -0
  539. package/dist/types/components/bs-menu-block/bs-menu-block.cmp.test.d.ts +1 -0
  540. package/dist/types/components/bs-menu-block/bs-menu-block.d.ts +47 -0
  541. package/dist/types/components/bs-menu-block/bs-menu-block.stories.d.ts +15 -0
  542. package/dist/types/components/bs-page-header/bs-page-header.cmp.test.d.ts +1 -0
  543. package/dist/types/components/bs-page-header/bs-page-header.d.ts +100 -0
  544. package/dist/types/components/bs-page-header/bs-page-header.stories.d.ts +41 -0
  545. package/dist/types/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.d.ts +7 -1
  546. package/dist/types/components.d.ts +2047 -24
  547. package/dist/types/svg-inline.d.ts +5 -0
  548. package/package.json +2 -1
  549. package/reference.d.ts +26 -2
  550. package/reference.json +947 -56
  551. package/dist/brandsync-wc/p-044ac86c.entry.js +0 -1
  552. package/dist/brandsync-wc/p-225148be.entry.js +0 -1
  553. package/dist/brandsync-wc/p-3789c7a5.entry.js +0 -1
  554. package/dist/brandsync-wc/p-3d7b0708.entry.js +0 -1
  555. package/dist/brandsync-wc/p-5eb5795f.entry.js +0 -1
  556. package/dist/brandsync-wc/p-7ed071fb.entry.js +0 -1
  557. package/dist/brandsync-wc/p-baa39c08.entry.js +0 -1
  558. package/dist/brandsync-wc/p-dcbeb143.entry.js +0 -1
  559. package/dist/brandsync-wc/p-e123b391.entry.js +0 -1
  560. package/dist/brandsync-wc/p-e8e22238.entry.js +0 -1
  561. package/dist/cjs/bs-list-item.cjs.entry.js +0 -66
  562. package/dist/cjs/bs-popover.cjs.entry.js +0 -153
  563. package/dist/cjs/bs-skeleton.cjs.entry.js +0 -51
  564. package/dist/components/p-B32Kl4IB.js +0 -1
  565. package/dist/components/p-BcbaiZLh.js +0 -1
  566. package/dist/components/p-CYzBTzzf.js +0 -1
  567. package/dist/components/p-ChcaPfNL.js +0 -1
  568. package/dist/esm/bs-list-item.entry.js +0 -64
  569. package/dist/esm/bs-popover.entry.js +0 -151
  570. package/dist/esm/bs-skeleton.entry.js +0 -49
@@ -0,0 +1,211 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-BYfMRtlW.js');
4
+
5
+ const bsCompanySwitcherCss = () => `:host{display:inline-block;box-sizing:border-box;width:var(--bs-company-switcher-width);max-width:100%;--bs-company-switcher-width:260px;--bs-company-switcher-panel-width:360px;--bs-company-switcher-radius:var(--bs-border-radius-100);--bs-company-switcher-trigger-bg:transparent;--bs-company-switcher-trigger-bg-hover:var(--bs-surface-hover);--bs-company-switcher-trigger-bg-pressed:var(--bs-surface-pressed);--bs-company-switcher-trigger-bg-open:var(--bs-surface-selected);--bs-company-switcher-focus-ring:var(--bs-border-neutral-focus);--bs-company-switcher-panel-bg:var(--bs-surface-base);--bs-company-switcher-panel-border-color:var(--bs-border-default);--bs-company-switcher-shadow:var(--bs-shadow-md);--bs-company-switcher-max-height:320px;--bs-company-switcher-text-color:var(--bs-text-default);--bs-company-switcher-muted-color:var(--bs-text-secondary);--bs-company-switcher-header-color:var(--bs-text-muted);--bs-company-switcher-z-index:var(--bs-z-index-popover)}.bs-company-switcher{display:block;width:100%;--bs-popover-radius:var(--bs-company-switcher-radius);--bs-popover-shadow:var(--bs-company-switcher-shadow);--bs-popover-z-index:var(--bs-company-switcher-z-index);--bs-popover-min-width:0px;--bs-popover-bg:transparent}.bs-company-switcher__trigger{box-sizing:border-box;display:flex;align-items:center;gap:var(--bs-spacing-150);width:100%;min-height:54px;padding:var(--bs-spacing-100) var(--bs-spacing-150);border:0;border-radius:var(--bs-company-switcher-radius);background:var(--bs-company-switcher-trigger-bg);color:var(--bs-company-switcher-text-color);font-family:var(--bs-typography-font-family-body, Roboto), sans-serif;text-align:left;cursor:pointer}.bs-company-switcher__trigger:hover{background:var(--bs-company-switcher-trigger-bg-hover)}.bs-company-switcher__trigger:active{background:var(--bs-company-switcher-trigger-bg-pressed)}:host([open]) .bs-company-switcher__trigger,.bs-company-switcher__trigger[aria-busy='true']{background:var(--bs-company-switcher-trigger-bg-open)}.bs-company-switcher__trigger:focus-visible{outline:2px solid var(--bs-company-switcher-focus-ring);outline-offset:2px}.bs-company-switcher__avatar{display:inline-flex;flex:0 0 auto}.bs-company-switcher__text{flex:1 1 0;min-width:0;display:flex;flex-direction:column}.bs-company-switcher__name{font-size:var(--bs-font-size-sm);font-weight:var(--bs-font-weight-medium);line-height:20px}.bs-company-switcher__subtitle{color:var(--bs-company-switcher-muted-color);font-size:var(--bs-font-size-xs);line-height:16px}.bs-company-switcher__name,.bs-company-switcher__subtitle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bs-company-switcher__trail{flex:0 0 auto;width:20px;height:20px;color:var(--bs-icon-default)}.bs-company-switcher__panel{display:block;width:var(--bs-company-switcher-panel-width);max-width:calc(100vw - var(--bs-spacing-200));--bs-card-bg:var(--bs-company-switcher-panel-bg);--bs-card-radius:var(--bs-company-switcher-radius);--bs-card-padding:0px;--bs-card-border-width:1px;--bs-card-border-color:var(--bs-company-switcher-panel-border-color);--bs-card-shadow:none}.bs-company-switcher__search{padding:var(--bs-spacing-150) var(--bs-spacing-150) var(--bs-spacing-100)}.bs-company-switcher__search bs-input{width:100%}.bs-company-switcher__list{box-sizing:border-box;max-height:var(--bs-company-switcher-max-height);overflow-y:auto;padding:0 var(--bs-spacing-100) var(--bs-spacing-100)}.bs-company-switcher__group-header{padding:var(--bs-spacing-100) var(--bs-spacing-100) var(--bs-spacing-50);color:var(--bs-company-switcher-header-color);font-family:var(--bs-typography-font-family-body, Roboto), sans-serif;font-size:var(--bs-font-size-xs);font-weight:var(--bs-font-weight-medium);line-height:16px;letter-spacing:0.06em;text-transform:uppercase}.bs-company-switcher__row{--bs-list-item-min-height:52px;--bs-list-item-padding-y:var(--bs-spacing-100);--bs-list-item-padding-x:var(--bs-spacing-100);--bs-list-item-gap:var(--bs-spacing-150)}.bs-company-switcher__row--active{--bs-list-item-bg:var(--bs-surface-hover)}.bs-company-switcher__row-name{display:block;color:var(--bs-company-switcher-text-color);font-size:var(--bs-font-size-sm);font-weight:var(--bs-font-weight-medium);line-height:20px}.bs-company-switcher__row-sub{display:block;color:var(--bs-company-switcher-muted-color);font-size:var(--bs-font-size-xs);line-height:16px}.bs-company-switcher__check{width:20px;height:20px;color:var(--bs-icon-action, var(--bs-icon-default))}.bs-company-switcher__empty{--bs-empty-state-padding-y:var(--bs-spacing-400)}.bs-company-switcher__footer{display:flex;align-items:center;justify-content:space-between;gap:var(--bs-spacing-100);padding:var(--bs-spacing-100) var(--bs-spacing-150)}.bs-company-switcher__live{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}`;
6
+
7
+ let uid = 0;
8
+ const svgProps = {
9
+ viewBox: '0 0 24 24',
10
+ fill: 'none',
11
+ stroke: 'currentColor',
12
+ 'stroke-width': '1.8',
13
+ 'stroke-linecap': 'round',
14
+ 'stroke-linejoin': 'round',
15
+ 'aria-hidden': 'true',
16
+ };
17
+ const initialsOf = (name) => name
18
+ .split(/\s+/)
19
+ .filter(Boolean)
20
+ .slice(0, 2)
21
+ .map(w => w[0].toUpperCase())
22
+ .join('');
23
+ const digits = (s) => s.replace(/\s+/g, '');
24
+ const BsCompanySwitcher = class {
25
+ constructor(hostRef) {
26
+ index.registerInstance(this, hostRef);
27
+ this.bsCompanySwitch = index.createEvent(this, "bsCompanySwitch");
28
+ this.bsManageCompanies = index.createEvent(this, "bsManageCompanies");
29
+ this.bsAddCompanies = index.createEvent(this, "bsAddCompanies");
30
+ this.bsOpenChange = index.createEvent(this, "bsOpenChange");
31
+ }
32
+ get el() { return index.getElement(this); }
33
+ id = `bs-cs-${++uid}`;
34
+ inputEl;
35
+ focusSearch = false;
36
+ /** The companies the user can switch between. JS property only (an array cannot be an attribute). */
37
+ companies = [];
38
+ /** `id` of the current company. */
39
+ currentId;
40
+ /** `id`s of recently used companies, most recent first. The current company is not repeated in the Recent group. */
41
+ recentIds = [];
42
+ /** `id` of the company being switched to. Shows the switching state: a spinner in the trigger and on that row. */
43
+ switchingId;
44
+ /** Whether the panel is open. */
45
+ open = false;
46
+ /** Text of the trigger when there is no current company. */
47
+ placeholderLabel = 'Select a company';
48
+ /** Placeholder (and accessible name) of the search field. */
49
+ searchPlaceholder = 'Find a company or org. number';
50
+ /** Accessible name of the company listbox. */
51
+ listLabel = 'Companies';
52
+ /** Header of the current company group. */
53
+ currentLabel = 'Current';
54
+ /** Header of the recent companies group. */
55
+ recentLabel = 'Recent';
56
+ /** Header of the all companies group (the count is appended). */
57
+ allLabel = 'All companies';
58
+ /** Header of the search view when there are several matches ("3 matches"). */
59
+ matchesLabel = 'matches';
60
+ /** Header of the search view when there is one match ("1 match"). */
61
+ matchLabel = 'match';
62
+ /** Prefix of the org. number, e.g. "Org. no.". */
63
+ orgNumberLabel = 'Org. no.';
64
+ /** Trigger subtitle while switching. */
65
+ switchingLabel = 'Switching…';
66
+ /** No-results heading. `{query}` is replaced by the query. */
67
+ emptyHeading = 'No companies match “{query}”';
68
+ /** No-results description. */
69
+ emptyDescription = 'Check the spelling, or search by org. number.';
70
+ /** Text of the "Manage Companies" footer button. */
71
+ manageLabel = 'Manage Companies';
72
+ /** Text of the "Add companies" footer button. */
73
+ addLabel = 'Add companies';
74
+ query = '';
75
+ activeId = null;
76
+ /** Fires when a company other than the current one is chosen (click or Enter), with the company. */
77
+ bsCompanySwitch;
78
+ /** Fires when "Manage Companies" is pressed. */
79
+ bsManageCompanies;
80
+ /** Fires when "Add companies" is pressed. */
81
+ bsAddCompanies;
82
+ /** Fires when the panel opens or closes through user interaction, with the new state. */
83
+ bsOpenChange;
84
+ onOpen(next) {
85
+ this.query = '';
86
+ this.activeId = null;
87
+ this.focusSearch = next;
88
+ }
89
+ componentDidRender() {
90
+ if (this.open && this.focusSearch) {
91
+ this.focusSearch = false;
92
+ this.inputEl?.focus();
93
+ }
94
+ }
95
+ byId(id) {
96
+ return id ? this.companies.find(c => c.id === id) : undefined;
97
+ }
98
+ get q() {
99
+ return this.query.trim().toLowerCase();
100
+ }
101
+ matches() {
102
+ const q = this.q;
103
+ const qd = digits(q);
104
+ return this.companies.filter(c => c.name.toLowerCase().includes(q) || digits(c.orgNumber).includes(qd));
105
+ }
106
+ groups() {
107
+ if (this.q) {
108
+ const items = this.matches();
109
+ if (!items.length)
110
+ return [];
111
+ return [{ key: 'matches', header: `${items.length} ${items.length === 1 ? this.matchLabel : this.matchesLabel}`, items }];
112
+ }
113
+ const current = this.byId(this.currentId);
114
+ const recent = this.recentIds.map(i => this.byId(i)).filter((c) => !!c && c.id !== this.currentId);
115
+ const shown = new Set([current?.id, ...recent.map(c => c.id)]);
116
+ const rest = this.companies.filter(c => !shown.has(c.id));
117
+ const out = [];
118
+ if (current)
119
+ out.push({ key: 'current', header: this.currentLabel, items: [current] });
120
+ if (recent.length)
121
+ out.push({ key: 'recent', header: this.recentLabel, items: recent });
122
+ if (rest.length)
123
+ out.push({ key: 'all', header: `${this.allLabel} · ${rest.length}`, items: rest });
124
+ return out;
125
+ }
126
+ rowId(c) {
127
+ return `${this.id}-opt-${c.id}`;
128
+ }
129
+ setOpen(next) {
130
+ if (this.open === next)
131
+ return;
132
+ this.open = next;
133
+ this.bsOpenChange.emit(next);
134
+ }
135
+ choose(c) {
136
+ if (c.id === this.currentId || c.id === this.switchingId) {
137
+ this.setOpen(false);
138
+ return;
139
+ }
140
+ this.bsCompanySwitch.emit(c);
141
+ // The consumer asks for the switching state from its handler; otherwise there is nothing to wait for.
142
+ if (!this.switchingId)
143
+ this.setOpen(false);
144
+ }
145
+ onPopoverOpenChange = (ev) => {
146
+ // bs-popover's own event would bubble out of this host too; ours replaces it.
147
+ ev.stopPropagation();
148
+ this.setOpen(ev.detail);
149
+ };
150
+ onInput = (ev) => {
151
+ ev.stopPropagation();
152
+ this.query = ev.detail;
153
+ this.activeId = null;
154
+ };
155
+ onKeyDown = (ev) => {
156
+ if (ev.key !== 'ArrowDown' && ev.key !== 'ArrowUp' && ev.key !== 'Enter')
157
+ return;
158
+ const rows = this.groups().flatMap(g => g.items);
159
+ if (ev.key === 'Enter') {
160
+ const active = rows.find(c => this.rowId(c) === this.activeId);
161
+ if (active) {
162
+ ev.preventDefault();
163
+ this.choose(active);
164
+ }
165
+ return;
166
+ }
167
+ ev.preventDefault();
168
+ if (!rows.length)
169
+ return;
170
+ const idx = rows.findIndex(c => this.rowId(c) === this.activeId);
171
+ const next = ev.key === 'ArrowDown' ? (idx + 1) % rows.length : idx <= 0 ? rows.length - 1 : idx - 1;
172
+ this.activeId = this.rowId(rows[next]);
173
+ // Wait for the re-render so the row exists with its new state before scrolling to it.
174
+ requestAnimationFrame(() => this.el.shadowRoot?.getElementById(this.activeId ?? '')?.scrollIntoView?.({ block: 'nearest' }));
175
+ };
176
+ subtitle(c) {
177
+ return `${c.country} · ${this.orgNumberLabel} ${c.orgNumber}`;
178
+ }
179
+ renderTrigger() {
180
+ const switching = this.byId(this.switchingId);
181
+ const shown = switching ?? this.byId(this.currentId);
182
+ return (index.h("button", { slot: "trigger", part: "trigger", type: "button", class: "bs-company-switcher__trigger", "aria-haspopup": "listbox", "aria-expanded": String(this.open), "aria-busy": switching ? 'true' : undefined }, index.h("span", { "aria-hidden": "true", class: "bs-company-switcher__avatar" }, shown ? index.h("bs-avatar", { part: "avatar", type: "initials", size: "sm", initials: initialsOf(shown.name) }) : index.h("bs-avatar", { part: "avatar", type: "icon", size: "sm" })), index.h("span", { class: "bs-company-switcher__text" }, index.h("span", { part: "name", class: "bs-company-switcher__name" }, shown ? shown.name : this.placeholderLabel), shown && (index.h("span", { part: "subtitle", class: "bs-company-switcher__subtitle" }, switching ? this.switchingLabel : `${this.orgNumberLabel} ${shown.orgNumber}`))), switching ? (index.h("bs-spinner", { class: "bs-company-switcher__trail", size: "sm", label: this.switchingLabel })) : (index.h("svg", { class: "bs-company-switcher__trail bs-company-switcher__chevron", ...svgProps }, index.h("path", { d: "m6 9 6 6 6-6" })))));
183
+ }
184
+ renderRow(c) {
185
+ const id = this.rowId(c);
186
+ const isCurrent = c.id === this.currentId;
187
+ const isSwitching = c.id === this.switchingId;
188
+ return (index.h("bs-list-item", { part: "row", id: id, class: { 'bs-company-switcher__row': true, 'bs-company-switcher__row--active': this.activeId === id }, selectionRole: "option", value: c.id, selected: isCurrent, "aria-busy": isSwitching ? 'true' : undefined, onMouseEnter: () => (this.activeId = id), onBsItemClick: (ev) => {
189
+ ev.stopPropagation();
190
+ this.choose(c);
191
+ } }, index.h("span", { slot: "leading", "aria-hidden": "true" }, index.h("bs-avatar", { type: "initials", size: "sm", initials: initialsOf(c.name) })), index.h("span", { class: "bs-company-switcher__row-name" }, c.name), index.h("span", { class: "bs-company-switcher__row-sub" }, this.subtitle(c)), isSwitching ? (index.h("bs-spinner", { slot: "trailing", size: "sm", label: this.switchingLabel })) : isCurrent ? (index.h("svg", { slot: "trailing", class: "bs-company-switcher__check", ...svgProps }, index.h("path", { d: "m5 12.5 4.5 4.5L19 7.5" }))) : null));
192
+ }
193
+ render() {
194
+ const groups = this.groups();
195
+ const empty = !!this.q && groups.length === 0;
196
+ const listId = `${this.id}-listbox`;
197
+ const total = groups.reduce((n, g) => n + g.items.length, 0);
198
+ return (index.h("bs-popover", { key: 'cc655dc39514e72df47d69f8be630970be76b37f', class: "bs-company-switcher", open: this.open, placement: "bottom-start", onBsOpenChange: this.onPopoverOpenChange }, this.renderTrigger(), index.h("bs-card", { key: 'baf9e5cfd4e730962070dbdee2b3bf686f42ad97', part: "panel", class: "bs-company-switcher__panel", surface: "base" }, index.h("div", { key: 'e71781a9c7ad79eab8d850bb5f681ee1791178f4', class: "bs-company-switcher__search", onMouseDown: (ev) => ev.preventDefault() }, index.h("div", { key: 'f80b6e79ea19bcb8338f336775396409aae0dcf3', part: "search", role: "combobox", "aria-label": this.searchPlaceholder, "aria-expanded": "true", "aria-haspopup": "listbox", "aria-controls": groups.length ? listId : undefined, "aria-activedescendant": this.activeId ?? undefined, onKeyDown: this.onKeyDown }, index.h("bs-input", { key: '8bd76cccf990cc6b465a5f359d1dd0f1c48b315e', ref: el => (this.inputEl = el), type: "search", value: this.query, placeholder: this.searchPlaceholder, onBsInput: this.onInput }))), groups.length > 0 && (index.h("div", { key: '67d0149206610be71f55eed12b0a355e0cab16dd', id: listId, part: "list", class: "bs-company-switcher__list", role: "listbox", "aria-label": this.listLabel, onMouseDown: (ev) => ev.preventDefault(), onMouseLeave: () => (this.activeId = null) }, groups.map(g => {
199
+ const hid = `${this.id}-h-${g.key}`;
200
+ return (index.h("div", { part: "group", class: "bs-company-switcher__group", role: "group", "aria-labelledby": hid }, index.h("div", { part: "group-header", id: hid, class: "bs-company-switcher__group-header" }, g.header), g.items.map(c => this.renderRow(c))));
201
+ }))), empty && (index.h("bs-empty-state", { key: 'a7f485949bee4ed76fffe78b2a5d78279c172d22', part: "empty", class: "bs-company-switcher__empty", heading: this.emptyHeading.replace('{query}', this.query.trim()), description: this.emptyDescription }, index.h("svg", { key: '12885c0dc593629552f33d38e40180cd8ffaec04', slot: "icon", ...svgProps }, index.h("circle", { key: '8ee00209929c17a73243ca35c6f035ff86280147', cx: "11", cy: "11", r: "7" }), index.h("path", { key: '8c87279536c3a2f1945d2e9ed40362283b05c7e5', d: "m20 20-3.5-3.5" })))), index.h("bs-divider", { key: '6dc7d75e3050ef689a9c24bd925a8afa9e425270', class: "bs-company-switcher__divider", decorative: true }), index.h("div", { key: '5e0dc791b9c79bfd2ddf87798070bc985ff15000', part: "footer", class: "bs-company-switcher__footer" }, index.h("bs-button", { key: '159eb21eb73724bd6fc395b2a06a8cc03dc656dd', variant: "subtle", size: "sm", onClick: () => this.bsManageCompanies.emit() }, index.h("svg", { key: '56981b99ff02d600fb392492894d3e677b6c3baa', slot: "icon", ...svgProps }, index.h("circle", { key: 'e5113734e7139e5dbf4e1a51bb653206efa8a523', cx: "12", cy: "12", r: "3" }), index.h("path", { key: '371976988bd2c5ccdbdc98495256ee447223a88a', d: "M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1.1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1Z" })), this.manageLabel), index.h("bs-button", { key: '0f5c57df82c038e7f273d66d52e6bcf1a656b521', variant: "subtle", size: "sm", onClick: () => this.bsAddCompanies.emit() }, index.h("svg", { key: 'bd03689d5a44537f3b98fa728012e91f9f1fa923', slot: "icon", ...svgProps }, index.h("path", { key: '09a64a5cd36d3dfaa8924b69bd887d5a4f4cefd6', d: "M12 5v14M5 12h14" })), this.addLabel)), index.h("span", { key: '2c2123c995f2b891e7f73869c0d8cc8384b7e01b', class: "bs-company-switcher__live", "aria-live": "polite" }, this.open && this.q ? (empty ? this.emptyHeading.replace('{query}', this.query.trim()) : `${total} ${total === 1 ? this.matchLabel : this.matchesLabel}`) : ''))));
202
+ }
203
+ static get watchers() { return {
204
+ "open": [{
205
+ "onOpen": 0
206
+ }]
207
+ }; }
208
+ };
209
+ BsCompanySwitcher.style = bsCompanySwitcherCss();
210
+
211
+ exports.bs_company_switcher = BsCompanySwitcher;
@@ -51,7 +51,7 @@ const BsComposerStatusBanner = class {
51
51
  return this.type === 'error' || this.type === 'warning' ? index.h(WarningIcon, null) : index.h(ClockIcon, null);
52
52
  }
53
53
  render() {
54
- return (index.h("div", { key: '9a18ded6392d5374cdf4357650498f1eff8bc896', role: this.roleForType(), "aria-busy": this.loading ? 'true' : undefined, class: `bs-composer-status-banner bs-composer-status-banner--${this.type}` }, index.h("div", { key: '8acfc215792a889e80d01a08e86a0aa96bfe8967', class: "bs-composer-status-banner__message-group" }, this.showIcon && (index.h("span", { key: '2a4e0a5fe6b4f2fef30d534eae0c15009f813d33', part: "icon", class: "bs-composer-status-banner__icon" }, index.h("slot", { key: '5378cfaf8b1fed689eedac4f6a2bf892dda043f8', name: "icon" }, this.renderDefaultIcon()))), index.h("p", { key: '9fe869051bbf300c12f0ec8006d409abf4bebf56', part: "message", class: "bs-composer-status-banner__message" }, this.message)), this.showButton && (index.h("button", { key: '6fe2f55c57523ee917ae6d96e2a070f1006f0a44', type: "button", part: "action", class: "bs-composer-status-banner__action", onClick: this.onActionClick }, this.actionLabel)), this.allowClose && (index.h("button", { key: '18d5ec846134a57c11c46810bb0b35acac0a20b6', type: "button", part: "close", class: "bs-composer-status-banner__close", "aria-label": this.closeLabel, onClick: this.onCloseClick }, index.h(CloseIcon, { key: 'cbf7993e299eacc8a05efc55cf0dc4539ba9d424' })))));
54
+ return (index.h("div", { key: 'e7ee5d0dca888ba5126a292fd7ff9cefbdc47eda', role: this.roleForType(), "aria-busy": this.loading ? 'true' : undefined, class: `bs-composer-status-banner bs-composer-status-banner--${this.type}` }, index.h("div", { key: 'c44a8f911942a310b8cc706a10a97180f75013ff', class: "bs-composer-status-banner__message-group" }, this.showIcon && (index.h("span", { key: '7787871c8f6885068739d9fffd8d589b6babbd43', part: "icon", class: "bs-composer-status-banner__icon" }, index.h("slot", { key: 'a8dd0077f51e4a8b872ab6778d0387999022285b', name: "icon" }, this.renderDefaultIcon()))), index.h("p", { key: '398fb7946e36d45bd8ade95154d9d686fc5de6e1', part: "message", class: "bs-composer-status-banner__message" }, this.message)), this.showButton && (index.h("button", { key: '18874261ba3638533d3fdb876d19303d79c75259', type: "button", part: "action", class: "bs-composer-status-banner__action", onClick: this.onActionClick }, this.actionLabel)), this.allowClose && (index.h("button", { key: '187e50bbe911683937a7895cfe862028cc9f775a', type: "button", part: "close", class: "bs-composer-status-banner__close", "aria-label": this.closeLabel, onClick: this.onCloseClick }, index.h(CloseIcon, { key: 'c9dac11a2af23ba04d7c6836cbda7adbace51d8d' })))));
55
55
  }
56
56
  };
57
57
  const SpinnerIcon = () => (index.h("svg", { class: "bs-composer-status-banner__spinner", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true" }, index.h("circle", { cx: "10", cy: "10", r: "7.25", stroke: "currentColor", "stroke-opacity": "0.25", "stroke-width": "1.5" }), index.h("path", { d: "M17.25 10A7.25 7.25 0 0 0 10 2.75", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round" })));
@@ -199,7 +199,7 @@ const BsComposer = class {
199
199
  const placeholder = this.placeholder ?? DEFAULT_PLACEHOLDERS[this.variant];
200
200
  const disabled = this.state === 'disabled';
201
201
  const recording = this.state === 'recording';
202
- return (index.h("div", { key: 'f1ccd8ab2299efcf83dc8f858845e87ba87f9c41', class: `bs-composer bs-composer--${this.state} bs-composer--${this.variant}` }, index.h("div", { key: '2edd5ab5b6a67d108d2f8067a639e74b6ab4f39f', part: "attachments", class: `bs-composer__attachments-row ${this.hasAttachments ? 'bs-composer__attachments-row--visible' : ''}` }, index.h("slot", { key: 'a7b2acfea4b2498792749e24aaf9329e521a93df', name: "attachments", onSlotchange: this.onAttachmentsSlotchange })), index.h("div", { key: '0de284b100f38a60b472eadfd89f06690023a1a1', class: "bs-composer__text-row" }, index.h("textarea", { key: '0c46b8e4f54234b2df62af566f0b6bf9b1f978d1', ref: el => (this.inputEl = el), part: "input", class: "bs-composer__input", rows: 1, value: this.value, placeholder: placeholder, disabled: disabled, maxLength: this.maxLength, "aria-label": this.ariaLabel, onInput: this.onInput, onKeyDown: this.onInputKeydown })), index.h("div", { key: 'a3ca22299095e398b6dd7a62c9b6ce93a4d49dab', class: "bs-composer__controls-row" }, !this.hideAttach && (index.h("button", { key: 'c06cad301027ce2fdef180189945bebd2f876081', type: "button", part: "attach", class: "bs-composer__attach", "aria-label": this.attachLabel, onClick: this.onAttachClick }, index.h(PlusIcon, { key: 'd863cc1734ca9b67447b2cbbe19a2ba75266d169' }))), recording ? (index.h("span", { class: "bs-composer__waveform", "aria-hidden": "true" }, WAVEFORM_BAR_HEIGHTS.map(height => (index.h("span", { class: "bs-composer__waveform-bar", style: { '--bs-composer-bar-height': `${height}px` } }))))) : (index.h("span", { class: "bs-composer__spacer" })), !this.hideMic && (index.h("button", { key: 'aadf13bf18c9215045cf7ea326bbc1495ab21288', type: "button", part: "mic", class: `bs-composer__mic ${recording ? 'bs-composer__mic--recording' : ''}`, "aria-label": recording ? this.stopRecordingLabel : this.micLabel, disabled: disabled, onClick: this.onMicClick }, recording ? index.h(StopIcon, null) : index.h(MicIcon, null))), index.h("button", { key: '36ca7d3824349cd65473553e0a20b14c41b74b8b', type: "button", part: "action", class: `bs-composer__action bs-composer__action--${this.state}`, "aria-label": this.actionLabel(), disabled: disabled, "aria-busy": this.loading && this.state === 'idle' ? 'true' : undefined, onClick: this.onActionClick }, this.renderActionIcon()), index.h("slot", { key: '0965e567d4cb590d7cd072ecf72c10c2c97e1f69', name: "actions-end" }))));
202
+ return (index.h("div", { key: 'ec6fd11d15f862e5d5633ee153572831562f8635', class: `bs-composer bs-composer--${this.state} bs-composer--${this.variant}` }, index.h("div", { key: '4de8e636ad98cf8cd280f35bab8723df0c59bcee', part: "attachments", class: `bs-composer__attachments-row ${this.hasAttachments ? 'bs-composer__attachments-row--visible' : ''}` }, index.h("slot", { key: '8abb10aca311a2d53d1e2980f7a9985b8467e9af', name: "attachments", onSlotchange: this.onAttachmentsSlotchange })), index.h("div", { key: '2e8de5850afda9498f9f08bbe5e2e5fbf86005dc', class: "bs-composer__text-row" }, index.h("textarea", { key: '8f75958b9a04785e32f347d87e5362e0e83a7aec', ref: el => (this.inputEl = el), part: "input", class: "bs-composer__input", rows: 1, value: this.value, placeholder: placeholder, disabled: disabled, maxLength: this.maxLength, "aria-label": this.ariaLabel, onInput: this.onInput, onKeyDown: this.onInputKeydown })), index.h("div", { key: 'd18ad65d7aefaa3b23ee0be475cdfa97dbcea546', class: "bs-composer__controls-row" }, !this.hideAttach && (index.h("button", { key: 'e953064c20184d159f0ef7b352bee7b7c1a28d1d', type: "button", part: "attach", class: "bs-composer__attach", "aria-label": this.attachLabel, onClick: this.onAttachClick }, index.h(PlusIcon, { key: '459ac92ed2c057f2882715f3cadbbf70faf1d180' }))), recording ? (index.h("span", { class: "bs-composer__waveform", "aria-hidden": "true" }, WAVEFORM_BAR_HEIGHTS.map(height => (index.h("span", { class: "bs-composer__waveform-bar", style: { '--bs-composer-bar-height': `${height}px` } }))))) : (index.h("span", { class: "bs-composer__spacer" })), !this.hideMic && (index.h("button", { key: '4f1039338eb4ae672f32da55fdd67ccb820983be', type: "button", part: "mic", class: `bs-composer__mic ${recording ? 'bs-composer__mic--recording' : ''}`, "aria-label": recording ? this.stopRecordingLabel : this.micLabel, disabled: disabled, onClick: this.onMicClick }, recording ? index.h(StopIcon, null) : index.h(MicIcon, null))), index.h("button", { key: '07b8f71f8d5a9ce1288e5cd42179935389b8aef8', type: "button", part: "action", class: `bs-composer__action bs-composer__action--${this.state}`, "aria-label": this.actionLabel(), disabled: disabled, "aria-busy": this.loading && this.state === 'idle' ? 'true' : undefined, onClick: this.onActionClick }, this.renderActionIcon()), index.h("slot", { key: '5e14d6db5a96be5123d7374bd66d5d044ffb767d', name: "actions-end" }))));
203
203
  }
204
204
  static get delegatesFocus() { return true; }
205
205
  };
@@ -15,7 +15,7 @@ const BsContainer = class {
15
15
  padding = '300';
16
16
  render() {
17
17
  const pad = SPACING_TOKENS.includes(String(this.padding)) ? String(this.padding) : '300';
18
- return (index.h(index.Host, { key: 'af5052dbda078e66b8afcf84e842f124748353b9', style: { '--bs-container-padding-token': `var(--bs-spacing-${pad})` } }, index.h("slot", { key: '2493e7614d7fcaf07b24e350e68a65b06fd77640' })));
18
+ return (index.h(index.Host, { key: 'c72bb071abd58c825dcd4b87351362de82a402fa', style: { '--bs-container-padding-token': `var(--bs-spacing-${pad})` } }, index.h("slot", { key: '341e67abd2a13b47d9d852696f212847c2624b38' })));
19
19
  }
20
20
  };
21
21
  BsContainer.style = bsContainerCss();
@@ -76,11 +76,11 @@ const BsDataTable = class {
76
76
  }
77
77
  }
78
78
  render() {
79
- return (index.h("table", { key: '72d4058323ac137aa589476e5b89ed47bd8b996e', part: "table", class: "bs-data-table" }, index.h("thead", { key: '65e27a1aba0b9eb6892df5b0581672c9fb18ce13', part: "head" }, index.h("tr", { key: '690d1fab0effa5b0e9e44160ac91d77ab1290079' }, this.selectable && (index.h("th", { key: 'cf96e314093743b5e6341cf2fce3e0ac6b5e99ef', class: "bs-data-table__select-col" }, this.rows.length > 0 && (index.h("input", { key: 'fe6fe4d41420f9a37f11337044173ce5b13340d4', type: "checkbox", "aria-label": this.selectAllLabel, checked: this.selectedIds.size > 0 && this.selectedIds.size === this.rows.length, indeterminate: this.selectedIds.size > 0 && this.selectedIds.size < this.rows.length, onChange: this.onSelectAllChange })))), this.columns.map(column => {
79
+ return (index.h("table", { key: 'd6b278e5252570f3b97ef3fdd53b132974041e6c', part: "table", class: "bs-data-table" }, index.h("thead", { key: '16280faa094841550a637466fa37ec2df6950e4b', part: "head" }, index.h("tr", { key: 'e78510a9b1b7966257cb626218aaf9f51bde402e' }, this.selectable && (index.h("th", { key: '1a79de8886d8d394fc0b06f283258db94e0f3b1f', class: "bs-data-table__select-col" }, this.rows.length > 0 && (index.h("input", { key: 'c34bd5b47dcea30418fce8674a2aefff7f8bf601', type: "checkbox", "aria-label": this.selectAllLabel, checked: this.selectedIds.size > 0 && this.selectedIds.size === this.rows.length, indeterminate: this.selectedIds.size > 0 && this.selectedIds.size < this.rows.length, onChange: this.onSelectAllChange })))), this.columns.map(column => {
80
80
  const isSorted = this.sortColumn === column.key;
81
81
  const ariaSort = column.sortable ? (isSorted ? (this.sortDirection === 'asc' ? 'ascending' : 'descending') : 'none') : undefined;
82
82
  return (index.h("th", { part: "header-cell", class: "bs-data-table__header-cell", "aria-sort": ariaSort }, column.sortable ? (index.h("button", { type: "button", class: "bs-data-table__sort-button", onClick: () => this.onHeaderClick(column) }, column.label, isSorted && index.h("span", { class: "bs-data-table__sort-indicator" }, this.sortDirection === 'asc' ? ' ▲' : ' ▼'))) : (column.label)));
83
- }))), index.h("tbody", { key: '34e3bb93c663862d1d8b29956c22392b3c2400ac', part: "body" }, this.rows.map(row => (index.h("tr", { part: "row", class: "bs-data-table__row" }, this.selectable && (index.h("td", { class: "bs-data-table__select-col" }, index.h("input", { type: "checkbox", checked: this.selectedIds.has(row.id), onChange: ev => this.onRowCheckboxChange(row, ev) }))), this.columns.map(column => this.cellRenderer ? (
83
+ }))), index.h("tbody", { key: '80266f8d66ffdf7132bf2f331568db34ed53ed28', part: "body" }, this.rows.map(row => (index.h("tr", { part: "row", class: "bs-data-table__row" }, this.selectable && (index.h("td", { class: "bs-data-table__select-col" }, index.h("input", { type: "checkbox", checked: this.selectedIds.has(row.id), onChange: ev => this.onRowCheckboxChange(row, ev) }))), this.columns.map(column => this.cellRenderer ? (
84
84
  // cellRenderer is a developer-supplied, trusted function (JS-property-only, never
85
85
  // derived from untrusted input) -- its HTML output is intentionally not escaped,
86
86
  // same trust model as React's dangerouslySetInnerHTML.
@@ -314,7 +314,7 @@ const BsDatepicker = class {
314
314
  : this.defaultTabbable(days);
315
315
  const isInRange = (iso) => !!selectedStart && !!previewEnd && iso > selectedStart && iso < previewEnd;
316
316
  const weekdays = this.weekdays();
317
- return (index.h("bs-card", { key: '280abccf2d86d04f392f4daeb9811bf34d71dc6b', part: "container", class: "bs-datepicker", surface: "raised" }, index.h("div", { key: '624706b13929083f05bab4210a5c8444240f8a53', class: "bs-datepicker__body" }, this.renderHeader(), index.h("div", { key: '69d8f66f154e0e194b77b091bede097407c43902', part: "nav", class: "bs-datepicker__nav" }, index.h("button", { key: '089809f514e4513624749748d639ef6da997618b', part: "prev", type: "button", class: "bs-datepicker__nav-button", "aria-label": this.previousLabel, onClick: () => this.moveView(-1) }, index.h("svg", { key: 'd78f4940665d866752772f69de2e8058390bf6e5', viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true" }, index.h("path", { key: 'f34d431a9f77b036fe4417c033f197c72780c1bf', d: "M15 18L9 12L15 6", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))), index.h("div", { key: '36a37548a0bc04db3416f5e206c0990f0d1189eb', part: "title", class: "bs-datepicker__title", "aria-live": "polite" }, this.titleText()), index.h("button", { key: '3bf5616d93ea0d5f8968691692b2b64ce6334d0b', part: "next", type: "button", class: "bs-datepicker__nav-button", "aria-label": this.nextLabel, onClick: () => this.moveView(1) }, index.h("svg", { key: '5f9aac5a4e1658051908f5bad88b6c196f6dfea7', viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true" }, index.h("path", { key: '0515eaeb3cd01b48633675668292cb01634c134a', d: "M9 18L15 12L9 6", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })))), index.h("div", { key: '2decbaa1fc82ee83c58ae19cd19bd53c51aabe0d', part: "grid", class: "bs-datepicker__grid", role: "grid", "aria-label": this.titleText() }, index.h("div", { key: '4720f7dbda3ca990885a56d00860eaf4ab7689e8', class: "bs-datepicker__row", role: "row" }, weekdays.map(w => (index.h("div", { part: "weekday", class: "bs-datepicker__weekday", role: "columnheader" }, w)))), Array.from({ length: 6 }, (_, r) => {
317
+ return (index.h("bs-card", { key: 'cdb34fb56c5dd485e68fdbaf846c13ecc0547117', part: "container", class: "bs-datepicker", surface: "raised" }, index.h("div", { key: '348836d221ea9d88f81d74c756f6e33749185e77', class: "bs-datepicker__body" }, this.renderHeader(), index.h("div", { key: '19192cd83a674a876ddebb3048cf61392f5ce1b4', part: "nav", class: "bs-datepicker__nav" }, index.h("button", { key: '936dd7846972754b3e3e12e0b5d1ebf459f6626b', part: "prev", type: "button", class: "bs-datepicker__nav-button", "aria-label": this.previousLabel, onClick: () => this.moveView(-1) }, index.h("svg", { key: '8adff95c2ac4160773ba27b2bba2690376bf7b6e', viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true" }, index.h("path", { key: 'e07e13f74b49ef8676ef9b2b61648f2fbcd7ff26', d: "M15 18L9 12L15 6", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))), index.h("div", { key: '60e2dccce60ce780002b5a37b7bce2cb77a7ded2', part: "title", class: "bs-datepicker__title", "aria-live": "polite" }, this.titleText()), index.h("button", { key: '4ea132ee9b1d1b7df1dd3595dc52e9cd977dc9d4', part: "next", type: "button", class: "bs-datepicker__nav-button", "aria-label": this.nextLabel, onClick: () => this.moveView(1) }, index.h("svg", { key: 'e648752590a0483c152a06ff2ebe1a4c7f459fd1', viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true" }, index.h("path", { key: '61f9ebdc93a4636284fe3215f0ff6699ef7bb8de', d: "M9 18L15 12L9 6", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })))), index.h("div", { key: 'd94bd61c202b575b3ae4b8312224f302cf13330e', part: "grid", class: "bs-datepicker__grid", role: "grid", "aria-label": this.titleText() }, index.h("div", { key: 'ac7713f2ebdc1d429641d14856ed597866fb5a07', class: "bs-datepicker__row", role: "row" }, weekdays.map(w => (index.h("div", { part: "weekday", class: "bs-datepicker__weekday", role: "columnheader" }, w)))), Array.from({ length: 6 }, (_, r) => {
318
318
  const row = days.slice(r * 7, r * 7 + 7);
319
319
  return (index.h("div", { class: "bs-datepicker__row", role: "row" }, row.map((d, c) => {
320
320
  const iso = toIso(d);
@@ -21,7 +21,7 @@ const BsDivider = class {
21
21
  const a11y = this.decorative
22
22
  ? { role: 'none', 'aria-hidden': 'true' }
23
23
  : { role: 'separator', 'aria-orientation': orientation };
24
- return (index.h(index.Host, { key: '0146af9f63ddd328e30262cf9767222445da478b', ...a11y }, index.h("div", { key: 'a621923c43fd326fe5ee6e7223bd5e7103b01e9e', class: "line", part: "line" })));
24
+ return (index.h(index.Host, { key: '858582c09f3f2712a3ee9d51a80a1f53b2a29dfb', ...a11y }, index.h("div", { key: '184d290fbfdabab256850af57792e7d6c5ebf563', class: "line", part: "line" })));
25
25
  }
26
26
  };
27
27
  BsDivider.style = bsDividerCss();
@@ -39,7 +39,7 @@ const BsEmptyState = class {
39
39
  render() {
40
40
  const level = Math.min(6, Math.max(2, Math.round(Number(this.headingLevel)) || 3));
41
41
  const Heading = `h${level}`;
42
- return (index.h("div", { key: '0f841411b4b0f38d29487f3f52f79cb7a281f32a', part: "container", class: "bs-empty-state" }, index.h("bs-icon-tile", { key: '69c1e66424d966aed5e29582c2947bbfe0725cde', part: "icon", size: "lg", intent: this.intent }, this.hasIcon && index.h("slot", { key: '3243c54d7760d27cee1463ffe1acd1d886929a77', name: "icon" })), this.heading && (index.h(Heading, { key: '06075e06b4917ba28276c8b4c77e7dcc000c6f23', part: "heading", class: "bs-empty-state__heading" }, this.heading)), (this.description || this.hasDescriptionSlot) && (index.h("p", { key: '00dab545646803b8ed2f9723e6aa80f620f085a1', part: "description", class: "bs-empty-state__description" }, this.hasDescriptionSlot ? index.h("slot", null) : this.description)), this.hasAction && (index.h("div", { key: '1a984f1efd3bfbe6e5fd981e2f367ddd25e6f3c7', part: "action", class: "bs-empty-state__action" }, index.h("slot", { key: 'ea9b962f5652238d74625a11627992f0f4fb34bf', name: "action" })))));
42
+ return (index.h("div", { key: 'dabc994fcb254cb35958f8bde54d7935bb6ff70a', part: "container", class: "bs-empty-state" }, index.h("bs-icon-tile", { key: 'efec1cc06eb3447fbd81b12634c12ee96f9fd0d2', part: "icon", size: "lg", intent: this.intent }, this.hasIcon && index.h("slot", { key: 'd8a7482e2b32f6361b82232652edcc1aadb74a5b', name: "icon" })), this.heading && (index.h(Heading, { key: '6625baa3d00097951042608aeb888f7c1665e987', part: "heading", class: "bs-empty-state__heading" }, this.heading)), (this.description || this.hasDescriptionSlot) && (index.h("p", { key: 'c367d9d3aa154e8413c04ca47de7cd9f5eed6883', part: "description", class: "bs-empty-state__description" }, this.hasDescriptionSlot ? index.h("slot", null) : this.description)), this.hasAction && (index.h("div", { key: '7b9b78de4e71e6d07d94d4595290492542d7bf62', part: "action", class: "bs-empty-state__action" }, index.h("slot", { key: '7b57218ca03edfd6f972a2bb6ce458db8dc33d9a', name: "action" })))));
43
43
  }
44
44
  };
45
45
  BsEmptyState.style = bsEmptyStateCss();
@@ -46,7 +46,7 @@ const BsErrorPage = class {
46
46
  const primary = this.primaryLabel ?? d.primary;
47
47
  const secondary = this.secondaryLabel ?? d.secondary;
48
48
  const level = Math.min(6, Math.max(1, Math.trunc(Number(this.headingLevel)) || 1));
49
- return (index.h("bs-card", { key: '376ab30f0eeaf89fb522373b375d0c68eebe8e99', part: "container", class: "bs-error-page", surface: "base" }, index.h("div", { key: '380013c4a4ac5208823856bb565f841e4b9aace3', class: "bs-error-page__body" }, index.h("div", { key: 'ce3ed8170977a0e2c4b1247140734fa3ba4c4896', class: "bs-error-page__art-group" }, index.h("bs-icon-tile", { key: '625d8cef3b2969f15e6ba5e94913359f54f277dd', part: "art", class: `bs-error-page__art ${d.info ? 'bs-error-page__art--info' : ''}`, intent: d.intent, size: "lg" }, index.h("slot", { key: 'e4415c41729cc3e9b52f1c61dfb8906a1d8dcc6a', name: "icon" }, d.glyph())), code && (index.h("span", { key: 'a6d8d24456746f9da3387c2acae20410382d7b62', part: "code", class: "bs-error-page__code" }, code))), index.h(`h${level}`, { part: 'heading', class: { 'bs-error-page__heading': true } }, heading), description && (index.h("p", { key: '4cace21798cbd9f40f2eb493938b5c12db43be97', part: "description", class: "bs-error-page__description" }, description)), (primary || secondary) && (index.h("div", { key: 'aca6cc9c414530bbb657e02c0910bbc4cae35ae6', part: "actions", class: "bs-error-page__actions" }, primary && (index.h("bs-button", { key: 'e5ec7c649b3b49e42e2f8132372e5b1b25f850bf', part: "primary", variant: "primary", onClick: () => this.bsPrimary.emit() }, primary)), secondary && (index.h("bs-button", { key: '7414d2d76186402404cf36ad662340f30e4b65aa', part: "secondary", variant: "outlined", onClick: () => this.bsSecondary.emit() }, secondary)))), this.reference && (index.h("p", { key: 'cf2fff2d7d2a77dd9f5a1fca1464ae0f687e4b5a', part: "reference", class: "bs-error-page__reference" }, this.reference)))));
49
+ return (index.h("bs-card", { key: '4214c79438721c66089be3a4ae64fcd6bdcbdea6', part: "container", class: "bs-error-page", surface: "base" }, index.h("div", { key: '39b2a7292d488442fc2465635a5be9dd704dc42e', class: "bs-error-page__body" }, index.h("div", { key: 'beb353eefb6b77b03fe7d1ea3894b6a625eebe06', class: "bs-error-page__art-group" }, index.h("bs-icon-tile", { key: '516a9c87ddb3ac5140d2880d4638eb5eca01db73', part: "art", class: `bs-error-page__art ${d.info ? 'bs-error-page__art--info' : ''}`, intent: d.intent, size: "lg" }, index.h("slot", { key: '3c3029ce78413f49c4bb839260c432848329b428', name: "icon" }, d.glyph())), code && (index.h("span", { key: 'fc4058b507c0b60ca417f09f7838664716b17fc3', part: "code", class: "bs-error-page__code" }, code))), index.h(`h${level}`, { part: 'heading', class: { 'bs-error-page__heading': true } }, heading), description && (index.h("p", { key: 'b914f77506217b401e26694205104d623596d270', part: "description", class: "bs-error-page__description" }, description)), (primary || secondary) && (index.h("div", { key: 'b6dc2e92b34960f754a54b31a659337135e63607', part: "actions", class: "bs-error-page__actions" }, primary && (index.h("bs-button", { key: 'e4f85bf6e86a80fbf1bd09fc77e16768c435a97b', part: "primary", variant: "primary", onClick: () => this.bsPrimary.emit() }, primary)), secondary && (index.h("bs-button", { key: 'a1469448cfbf1edb0bb8fe1d613101782dc87145', part: "secondary", variant: "outlined", onClick: () => this.bsSecondary.emit() }, secondary)))), this.reference && (index.h("p", { key: 'e8f32f0cc84051d02418bb48bc6116675ec55097', part: "reference", class: "bs-error-page__reference" }, this.reference)))));
50
50
  }
51
51
  };
52
52
  const icon = (children) => () => (index.h("svg", { class: "bs-error-page__glyph", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.8", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, children));
@@ -71,7 +71,7 @@ const BsFileUploadItem = class {
71
71
  }
72
72
  render() {
73
73
  const removing = this.state === 'success';
74
- return (index.h("div", { key: '02ddff16491c33fa61626bca72275ea0a1037c14', part: "item", class: `bs-file-upload-item bs-file-upload-item--${this.state}` }, index.h("div", { key: 'c465a9216d363ee858933d24abb468d73d66190e', part: "thumbnail", class: "bs-file-upload-item__thumbnail" }, index.h("slot", { key: '5aeaec4d3e9120163dab89c9bb3ca71e8976cae3', name: "thumbnail" }, this.thumbnailSrc ? (index.h("img", { class: "bs-file-upload-item__image", src: this.thumbnailSrc, alt: this.thumbnailAlt })) : (index.h(ImageIcon, null)))), index.h("div", { key: '3fdf5cb05270ae986e59404758f487932da10fbe', class: "bs-file-upload-item__content" }, index.h("div", { key: 'eb783412a8f97eaf6d566c06283c0ca0cc735570', class: "bs-file-upload-item__meta" }, index.h("span", { key: 'a456cfbcbaa19329715d55d80845a6b824bb2d64', part: "name", class: "bs-file-upload-item__name" }, this.fileName), this.fileSize && (index.h("span", { key: '7810e2855de50d3fa42d7ee29af81e2c58ea1a42', part: "size", class: "bs-file-upload-item__size" }, this.fileSize))), this.renderStatus()), index.h("bs-icon-button", { key: '7be3bf3d73ec51a2ce3bc23b4e401306c2d6bcc9', part: "action", variant: "subtle", size: "lg", ariaLabel: removing ? this.removeLabel : this.cancelLabel, onClick: this.onAction }, removing ? index.h(TrashIcon, null) : index.h(CloseIcon, null))));
74
+ return (index.h("div", { key: '26933845798c1cee2739c2a5a3d402175244717b', part: "item", class: `bs-file-upload-item bs-file-upload-item--${this.state}` }, index.h("div", { key: 'b7312bfd0a7bcbeac8e098be4cb6d565283f2e0f', part: "thumbnail", class: "bs-file-upload-item__thumbnail" }, index.h("slot", { key: '69350d5224f540e0f4d5033e3ac92ccff397b565', name: "thumbnail" }, this.thumbnailSrc ? (index.h("img", { class: "bs-file-upload-item__image", src: this.thumbnailSrc, alt: this.thumbnailAlt })) : (index.h(ImageIcon, null)))), index.h("div", { key: 'fbe429e0dd56af6fe5d955ce384a335c9ce3843a', class: "bs-file-upload-item__content" }, index.h("div", { key: 'b45f5b5500d760dcfb0d8fe3e87638db9325ae99', class: "bs-file-upload-item__meta" }, index.h("span", { key: '7e5a8cd3ccca37c88182d0e430841f36f29f56e7', part: "name", class: "bs-file-upload-item__name" }, this.fileName), this.fileSize && (index.h("span", { key: '114e9167c4542c9e071ebb21ee77d25d5c9221b4', part: "size", class: "bs-file-upload-item__size" }, this.fileSize))), this.renderStatus()), index.h("bs-icon-button", { key: 'f6a9a212a6436ac50eaab6b0224b58245171a7de', part: "action", variant: "subtle", size: "lg", ariaLabel: removing ? this.removeLabel : this.cancelLabel, onClick: this.onAction }, removing ? index.h(TrashIcon, null) : index.h(CloseIcon, null))));
75
75
  }
76
76
  };
77
77
  // Figma exports, recolored via currentColor so the CSS tokens drive the color.
@@ -100,7 +100,7 @@ const BsFileUpload = class {
100
100
  this.handleFiles(files);
101
101
  };
102
102
  render() {
103
- return (index.h("div", { key: '58fece79d4fb5204ba4edadbdac4a26b5ef3186b', part: "dropzone", class: `bs-file-upload bs-file-upload--${this.direction} ${this.dragging ? 'bs-file-upload--dragging' : ''} ${this.disabled ? 'bs-file-upload--disabled' : ''}`, onDragEnter: this.onDragOver, onDragOver: this.onDragOver, onDragLeave: this.onDragLeave, onDrop: this.onDrop }, index.h("div", { key: '9339e7a61fd8d2d337c442518b0feca4eac56f4e', part: "icon", class: "bs-file-upload__icon" }, index.h("slot", { key: 'b361ea7dda65426da604485f8d00022520e96643', name: "icon" }, index.h(UploadIcon, { key: 'fb08c4f2ec4250293ca66ab7a84c0b77599b15b9' }))), index.h("div", { key: '1ee60fe58d4196a8aaf95d38e7ba1d6aaaf269fb', class: "bs-file-upload__content" }, index.h("div", { key: '57e91a29e74a9e02831b32e3ab674607a256e68c', class: "bs-file-upload__text" }, this.heading && (index.h("span", { key: '389ea949446b63bb976071fec70d3e5398d3ebef', part: "heading", class: "bs-file-upload__heading" }, this.heading)), this.description && (index.h("span", { key: 'f6709820df651e915ee7b0073672820478e3c483', part: "description", id: "description", class: "bs-file-upload__description" }, this.description))), index.h("bs-button", { key: '29abda9026efccb881b26794ca5441888ef4c02c', part: "browse", variant: "neutral", size: "sm", disabled: this.disabled, onClick: this.onBrowse }, this.buttonLabel)), index.h("input", { key: '3ea4af2d866795676c74138f5ce6f75f5cb13111', ref: el => (this.inputEl = el), class: "bs-file-upload__input", type: "file", hidden: true, tabindex: -1, accept: this.accept, multiple: this.multiple, disabled: this.disabled, "aria-describedby": this.description ? 'description' : undefined, onChange: this.onInputChange })));
103
+ return (index.h("div", { key: '5312a866a1db63fd378f265fc200a509bfd50ce1', part: "dropzone", class: `bs-file-upload bs-file-upload--${this.direction} ${this.dragging ? 'bs-file-upload--dragging' : ''} ${this.disabled ? 'bs-file-upload--disabled' : ''}`, onDragEnter: this.onDragOver, onDragOver: this.onDragOver, onDragLeave: this.onDragLeave, onDrop: this.onDrop }, index.h("div", { key: '7276ccfa10a086d933b5563a208393a75e0dd821', part: "icon", class: "bs-file-upload__icon" }, index.h("slot", { key: 'e828eaa70303c82cb2bea5e647807079946b62e7', name: "icon" }, index.h(UploadIcon, { key: 'bd6ee5b8b20996ee68f972cb79db7c47f645c4d3' }))), index.h("div", { key: '784440974685713b31ba97642b931b99e64433a3', class: "bs-file-upload__content" }, index.h("div", { key: 'c7568214218e02ecb794f3429b843462f88bf216', class: "bs-file-upload__text" }, this.heading && (index.h("span", { key: '4872f617be4f30b9ab98aeca2dca7012d9391905', part: "heading", class: "bs-file-upload__heading" }, this.heading)), this.description && (index.h("span", { key: 'd8f446f1f8690ec773b094aeeb66af49ec1de291', part: "description", id: "description", class: "bs-file-upload__description" }, this.description))), index.h("bs-button", { key: 'bb0634e3e0dcb4a4ef59fa7c5daeaacbff5bceda', part: "browse", variant: "neutral", size: "sm", disabled: this.disabled, onClick: this.onBrowse }, this.buttonLabel)), index.h("input", { key: 'f55602446ec222ca46b7dab95aaff26d6d5b1632', ref: el => (this.inputEl = el), class: "bs-file-upload__input", type: "file", hidden: true, tabindex: -1, accept: this.accept, multiple: this.multiple, disabled: this.disabled, "aria-describedby": this.description ? 'description' : undefined, onChange: this.onInputChange })));
104
104
  }
105
105
  };
106
106
  // Figma's "UploadSimple" icon (3272:50330), exported SVG, recolored via currentColor.
@@ -307,10 +307,10 @@ const BsGlobalSearch = class {
307
307
  const listId = `${this.id}-listbox`;
308
308
  const isList = this.status === 'default' || this.status === 'results';
309
309
  const showFooter = this.showFooter && isList;
310
- return (index.h("div", { key: 'dd4477e08b51d52d5309150c4e95f0e560411a05', class: "bs-global-search" }, index.h("div", { key: 'a37363a1076c4fab1676d4801a0f9751528b42d0', part: "field", class: "bs-global-search__field", role: "combobox", "aria-label": this.label || this.placeholder, "aria-expanded": String(this.open && showList), "aria-haspopup": "listbox", "aria-controls": this.open && showList ? listId : undefined, "aria-activedescendant": this.open && this.activeId ? this.activeId : undefined, onKeyDown: this.onKeyDown, onFocusin: () => this.setOpen(true), onClick: () => this.setOpen(true) }, index.h("bs-input", { key: 'c0a4d130a36937c90c95659b439eef20655a6c99', ref: el => (this.inputEl = el), type: "search", value: this.value, placeholder: this.placeholder, disabled: this.disabled, onBsInput: this.onInput })), this.open && (index.h("div", { key: 'f85e3f63bf82a5de2648e8fa60f4fd4df288ec3b', part: "panel", class: "bs-global-search__panel", onMouseDown: (ev) => ev.preventDefault(), onMouseOver: this.onPanelMouseOver }, isList && showList && (index.h("div", { key: 'cc926315b2b1d2ad62026531a4174cb84df713a8', id: listId, class: "bs-global-search__list", role: "listbox", "aria-label": this.listLabel }, sections.map(s => {
310
+ return (index.h("div", { key: '48912c3c2e6fdfefa05d234fa037e4b47e36cbd9', class: "bs-global-search" }, index.h("div", { key: 'aeb8a5d41463b5df24502aecb85290f2535184d6', part: "field", class: "bs-global-search__field", role: "combobox", "aria-label": this.label || this.placeholder, "aria-expanded": String(this.open && showList), "aria-haspopup": "listbox", "aria-controls": this.open && showList ? listId : undefined, "aria-activedescendant": this.open && this.activeId ? this.activeId : undefined, onKeyDown: this.onKeyDown, onFocusin: () => this.setOpen(true), onClick: () => this.setOpen(true) }, index.h("bs-input", { key: '0aec5505a09ca9fa08e152983b17e3a35619e5ce', ref: el => (this.inputEl = el), type: "search", value: this.value, placeholder: this.placeholder, disabled: this.disabled, onBsInput: this.onInput })), this.open && (index.h("div", { key: 'c9b1589c7602b0522a5a33d895e50e2f57ae7e66', part: "panel", class: "bs-global-search__panel", onMouseDown: (ev) => ev.preventDefault(), onMouseOver: this.onPanelMouseOver }, isList && showList && (index.h("div", { key: 'aa49f77c49ea3aa5337a01aa8cf2e760ac8f6125', id: listId, class: "bs-global-search__list", role: "listbox", "aria-label": this.listLabel }, sections.map(s => {
311
311
  const hid = `${this.id}-h-${s}`;
312
312
  return (index.h("div", { part: "section", class: "bs-global-search__section", role: "group", "aria-labelledby": hid }, index.h("div", { part: "section-header", id: hid, class: "bs-global-search__section-header" }, this.sectionLabel(s)), index.h("slot", { name: s })));
313
- }))), this.status === 'empty' && this.renderStateBlock('empty'), this.status === 'error' && this.renderStateBlock('error'), showFooter && this.renderFooter())), index.h("span", { key: '4bf9f7fc2a00853aee7b48328819ef0a9181d668', class: "bs-global-search__live", "aria-live": "polite" }, this.announcement())));
313
+ }))), this.status === 'empty' && this.renderStateBlock('empty'), this.status === 'error' && this.renderStateBlock('error'), showFooter && this.renderFooter())), index.h("span", { key: '591953d910a7986705dde045c325c3043df1387b', class: "bs-global-search__live", "aria-live": "polite" }, this.announcement())));
314
314
  }
315
315
  static get watchers() { return {
316
316
  "status": [{
@@ -42,12 +42,12 @@ const BsGrid = class {
42
42
  const row = this.rowGap ? this.token(this.rowGap) : gapValue;
43
43
  const col = this.columnGap ? this.token(this.columnGap) : gapValue;
44
44
  const align = ALIGNS.includes(this.align) ? this.align : 'stretch';
45
- return (index.h("div", { key: '0799adbc2484f270db8ca5c2cadc1a0ec55ecbc0', class: "bs-grid", part: "container", style: {
45
+ return (index.h("div", { key: 'd504eaf0d6db8c106094f3efb60600b65774ea4d', class: "bs-grid", part: "container", style: {
46
46
  gridTemplateColumns: this.template(),
47
47
  rowGap: `var(--bs-grid-row-gap, ${row})`,
48
48
  columnGap: `var(--bs-grid-column-gap, ${col})`,
49
49
  alignItems: align,
50
- } }, index.h("slot", { key: '90d4940c5b1870df9eaae616f8fbe3738f025a3b' })));
50
+ } }, index.h("slot", { key: 'd127b6a767777b1d2cc3fe981e1846e5a8726a60' })));
51
51
  }
52
52
  };
53
53
  BsGrid.style = bsGridCss();
@@ -39,6 +39,13 @@ const BsIconButton = class {
39
39
  * prop to the `aria-label` HTML attribute automatically.
40
40
  */
41
41
  ariaLabel = null;
42
+ /**
43
+ * Makes this a toggle button: sets `aria-pressed` on the inner `<button>` to `true`/`false`. Leave it
44
+ * unset (the default) for a plain action button, which then has no `aria-pressed` at all. The component
45
+ * does not toggle itself; the owner flips this on click. Put the toggle's state in the icon (e.g. a filled
46
+ * star), not in the label, which should stay the same.
47
+ */
48
+ pressed;
42
49
  onClick = () => {
43
50
  const form = this.internals?.form;
44
51
  if (!form || this.disabled)
@@ -49,7 +56,7 @@ const BsIconButton = class {
49
56
  form.reset();
50
57
  };
51
58
  render() {
52
- return (index.h("button", { key: '75325bed02f38716052a4341a971ed429355d615', class: `bs-icon-button bs-icon-button--${this.variant} bs-icon-button--${this.size}`, type: this.type, disabled: this.disabled, "aria-label": this.ariaLabel, onClick: this.onClick }, index.h("span", { key: 'a427c213e0bbf3ee96698917ffc127d1d4d15de8', part: "icon", class: "bs-icon-button__icon" }, index.h("slot", { key: 'b46bf34d3fb24e9b899ba52fbd2ca39a49c634d3' }))));
59
+ return (index.h("button", { key: 'e04c7785712f0f9a2bfaa0efd51712d7c6ca805e', class: `bs-icon-button bs-icon-button--${this.variant} bs-icon-button--${this.size}`, type: this.type, disabled: this.disabled, "aria-label": this.ariaLabel, "aria-pressed": this.pressed === undefined ? undefined : String(this.pressed), onClick: this.onClick }, index.h("span", { key: '2b9cfb3af8b3914ee88a3244c3d1f102cbae7082', part: "icon", class: "bs-icon-button__icon" }, index.h("slot", { key: 'b561552aece8e0f8ae83dd6619295e5c9477aa89' }))));
53
60
  }
54
61
  static get delegatesFocus() { return true; }
55
62
  static get formAssociated() { return true; }
@@ -8,6 +8,7 @@ const BsIconTile = class {
8
8
  constructor(hostRef) {
9
9
  index.registerInstance(this, hostRef);
10
10
  }
11
+ get el() { return index.getElement(this); }
11
12
  /** Tile size: `sm` 24px, `md` 32px, `lg` 48px. */
12
13
  size = 'sm';
13
14
  /** Colour and default glyph. `brand` uses the brand colours; `information` the info palette. */
@@ -19,11 +20,18 @@ const BsIconTile = class {
19
20
  hasCustomIcon = false;
20
21
  /** True while something is assigned to the `text` slot, so the text wrapper (and its gap) only exists then. */
21
22
  hasText = false;
23
+ /** `slotchange` alone is not enough: when the icon is already a child at first render (or is added in the same
24
+ * pass that upgrades this element) the event can fire before the handler is attached, leaving the default
25
+ * glyph drawn next to the slotted icon. Read the light DOM once up front. */
26
+ componentWillLoad() {
27
+ this.hasCustomIcon = Array.from(this.el.childNodes).some(n => (n.nodeType === Node.ELEMENT_NODE && !n.hasAttribute('slot')) || (n.nodeType === Node.TEXT_NODE && !!n.textContent?.trim()));
28
+ this.hasText = Array.from(this.el.children).some(c => c.getAttribute('slot') === 'text');
29
+ }
22
30
  render() {
23
31
  const labelled = !!this.label;
24
32
  return [
25
- index.h("div", { key: '3fc3a9874dbadcf9ac6fa3df92f7c5cb48c4cc7b', part: "container", class: "bs-icon-tile", role: labelled ? 'img' : undefined, "aria-label": labelled ? this.label : undefined, "aria-hidden": labelled ? undefined : 'true' }, index.h("span", { key: 'e27206a1f0ef5a05183863c952c631614e44b591', part: "icon", class: "bs-icon-tile__icon" }, index.h("slot", { key: '31c4cd875c08f01b04d1fbc8b27dbb471c383129', onSlotchange: (ev) => (this.hasCustomIcon = hasContent(ev.target)) }), !this.hasCustomIcon && (GLYPHS[this.intent] ?? GLYPHS.default))),
26
- index.h("span", { key: 'fcc4dbeff34fa2de817619963ec0ec2597d04db3', part: "text", class: { 'bs-icon-tile__text': true, 'bs-icon-tile__text--visible': this.hasText } }, index.h("slot", { key: '24509194d7cb291ee7930039f42dcea780f0bcf3', name: "text", onSlotchange: (ev) => (this.hasText = ev.target.assignedNodes().length > 0) })),
33
+ index.h("div", { key: 'ea92c7e93e3283dccf7feb0afcc87947eb9f3087', part: "container", class: "bs-icon-tile", role: labelled ? 'img' : undefined, "aria-label": labelled ? this.label : undefined, "aria-hidden": labelled ? undefined : 'true' }, index.h("span", { key: '50ba78a85b831869ea60882b89739cc0ef36a6b4', part: "icon", class: "bs-icon-tile__icon" }, index.h("slot", { key: 'ab395f4bfc9a40be9ac74f05ebf227a241cdfca8', onSlotchange: (ev) => (this.hasCustomIcon = hasContent(ev.target)) }), !this.hasCustomIcon && (GLYPHS[this.intent] ?? GLYPHS.default))),
34
+ index.h("span", { key: '07ad1aa22ba646f82b8eb2782ddda0c816dc47a5', part: "text", class: { 'bs-icon-tile__text': true, 'bs-icon-tile__text--visible': this.hasText } }, index.h("slot", { key: 'f4209dee495bf82b95c95fcd754bdf8305d5b02f', name: "text", onSlotchange: (ev) => (this.hasText = ev.target.assignedNodes().length > 0) })),
27
35
  ];
28
36
  }
29
37
  };
@@ -69,7 +69,7 @@ const BsInlineTab = class {
69
69
  };
70
70
  render() {
71
71
  const iconOnly = this.hasIcon && !this.hasLabel;
72
- return (index.h("button", { key: 'ec19773b2ad2363cb5f6dc1f3f845db3755c3d13', type: "button", part: "tab", role: "tab", class: `bs-inline-tab ${this.selected ? 'bs-inline-tab--selected' : ''} ${this.disabled ? 'bs-inline-tab--disabled' : ''} ${iconOnly ? 'bs-inline-tab--icon-only' : ''} ${this.hasIcon ? 'bs-inline-tab--has-icon' : ''}`, disabled: this.disabled, "aria-selected": String(this.selected), "aria-disabled": this.disabled ? 'true' : undefined, "aria-label": this.ariaLabel, tabIndex: this.tabbable === undefined ? undefined : this.tabbable ? 0 : -1, onClick: this.onClick }, index.h("span", { key: '561fa96dd2f01fe03b1bdb30675be98aec9e33ef', part: "icon", class: `bs-inline-tab__icon ${this.hasIcon ? 'bs-inline-tab__icon--has-content' : ''}` }, index.h("slot", { key: 'c1f0d97a04e41fccd22fb412b3019fd0d63b0cc6', name: "icon", onSlotchange: this.onIconSlotchange })), index.h("span", { key: '07f4873273ef9e91c472344bbdf97b6915d4b14f', part: "label", class: `bs-inline-tab__label ${this.hasLabel ? 'bs-inline-tab__label--has-content' : ''}` }, index.h("slot", { key: '3bc180fa828034358155abd397aa68661f09fcf3', onSlotchange: this.onLabelSlotchange }))));
72
+ return (index.h("button", { key: '593a07fb914f26cb831c92319993fcd161ee7f0d', type: "button", part: "tab", role: "tab", class: `bs-inline-tab ${this.selected ? 'bs-inline-tab--selected' : ''} ${this.disabled ? 'bs-inline-tab--disabled' : ''} ${iconOnly ? 'bs-inline-tab--icon-only' : ''} ${this.hasIcon ? 'bs-inline-tab--has-icon' : ''}`, disabled: this.disabled, "aria-selected": String(this.selected), "aria-disabled": this.disabled ? 'true' : undefined, "aria-label": this.ariaLabel, tabIndex: this.tabbable === undefined ? undefined : this.tabbable ? 0 : -1, onClick: this.onClick }, index.h("span", { key: '42a07b0dfd4cd676f25616f8693ddfa75c55e6fe', part: "icon", class: `bs-inline-tab__icon ${this.hasIcon ? 'bs-inline-tab__icon--has-content' : ''}` }, index.h("slot", { key: 'da847d9052ac9cbec891de26f4550b706107aff1', name: "icon", onSlotchange: this.onIconSlotchange })), index.h("span", { key: '85e3dfb8f6c266c1b225b9814194c8eed6d97edd', part: "label", class: `bs-inline-tab__label ${this.hasLabel ? 'bs-inline-tab__label--has-content' : ''}` }, index.h("slot", { key: 'f99da4b89292a8399f1d615bd01a1dec7913abdb', onSlotchange: this.onLabelSlotchange }))));
73
73
  }
74
74
  };
75
75
  BsInlineTab.style = bsInlineTabCss();
@@ -368,10 +368,10 @@ const BsInput = class {
368
368
  return (index.h("div", { part: "field", class: `bs-input__field bs-input__field--pin ${errorClass} ${disabledClass}` }, Array.from({ length: this.length }).map((_, i) => (index.h("input", { id: i === 0 ? 'control' : undefined, ref: el => (this.pinInputs[i] = el), part: "control", class: "bs-input__pin-cell", type: "text", inputMode: "numeric", maxLength: 1, value: this.value[i] ?? '', disabled: this.disabled, "aria-required": this.required ? 'true' : undefined, onInput: this.onPinInput(i), onKeyDown: this.onPinKeydown(i) })))));
369
369
  }
370
370
  render() {
371
- return (index.h("div", { key: '99df53d78ddc715d336738a27efeb3d64140a9c7', class: `bs-input ${this.error ? 'bs-input--error' : ''}` }, this.label && (
371
+ return (index.h("div", { key: '3c0ea65d5b8852b14e1295d6a6a33aef95d02d01', class: `bs-input ${this.error ? 'bs-input--error' : ''}` }, this.label && (
372
372
  // "control" is a fixed id, not a generated one -- safe because Shadow DOM scopes ids
373
373
  // to this instance's own shadow root, so it can never collide with another bs-input.
374
- index.h("label", { key: '27f894fedaf23ded0432d9f26e80a9dd4d2bbb8e', part: "label", class: "bs-input__label", htmlFor: "control" }, this.label, this.required && (index.h("span", { key: '4260924b6128864a17ae809e5e54bc3f5aff5b64', part: "required", class: "bs-input__required", "aria-hidden": "true" }, "*")))), this.type === 'pin' ? this.renderPinField() : this.type === 'initials' ? this.renderInitialsField() : this.renderField(), this.error ? (index.h("span", { id: "description-or-error", part: "error", class: "bs-input__error" }, index.h("svg", { part: "error-icon", class: "bs-input__error-icon", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, index.h("circle", { cx: "8", cy: "8", r: "6.5", stroke: "currentColor", "stroke-width": "1.2" }), index.h("path", { d: "M8 5V8.5", stroke: "currentColor", "stroke-width": "1.2", "stroke-linecap": "round" }), index.h("circle", { cx: "8", cy: "11", r: "0.75", fill: "currentColor" })), this.error)) : this.description ? (index.h("span", { id: "description-or-error", part: "description", class: "bs-input__description" }, this.description)) : null));
374
+ index.h("label", { key: '13e99193d9906c7c7534df1c9bd6395f1a758524', part: "label", class: "bs-input__label", htmlFor: "control" }, this.label, this.required && (index.h("span", { key: 'ac14aa6322a8ce40624cdc392dde96b7bad298a8', part: "required", class: "bs-input__required", "aria-hidden": "true" }, "*")))), this.type === 'pin' ? this.renderPinField() : this.type === 'initials' ? this.renderInitialsField() : this.renderField(), this.error ? (index.h("span", { id: "description-or-error", part: "error", class: "bs-input__error" }, index.h("svg", { part: "error-icon", class: "bs-input__error-icon", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, index.h("circle", { cx: "8", cy: "8", r: "6.5", stroke: "currentColor", "stroke-width": "1.2" }), index.h("path", { d: "M8 5V8.5", stroke: "currentColor", "stroke-width": "1.2", "stroke-linecap": "round" }), index.h("circle", { cx: "8", cy: "11", r: "0.75", fill: "currentColor" })), this.error)) : this.description ? (index.h("span", { id: "description-or-error", part: "description", class: "bs-input__description" }, this.description)) : null));
375
375
  }
376
376
  static get delegatesFocus() { return true; }
377
377
  static get formAssociated() { return true; }
@@ -422,7 +422,7 @@ const BsMenu = class {
422
422
  items[next].shadowRoot?.querySelector('button')?.focus();
423
423
  }
424
424
  render() {
425
- return (index.h("div", { key: '8acfe07941922ce4ad0bbb5eef11bb6eecba2c08', part: "list", class: "bs-menu", role: "menu" }, index.h("slot", { key: 'a3482ba2653512937d3c1f2b4fa798f1bd81859c' })));
425
+ return (index.h("div", { key: '850122bbadc472043159746a66002281d53ddd7b', part: "list", class: "bs-menu", role: "menu" }, index.h("slot", { key: '5a64d51431e7cad88d5a7f4d01aa004098e9b2d2' })));
426
426
  }
427
427
  };
428
428
  BsMenu.style = bsMenuCss();
@@ -451,7 +451,7 @@ const BsMenuItem = class {
451
451
  this.bsSelect.emit();
452
452
  };
453
453
  render() {
454
- return (index.h("button", { key: '09c4e8582ce6a31ff4aa293e20c3d7f1caa6e845', type: "button", part: "item", role: "menuitem", class: `bs-menu-item ${this.disabled ? 'bs-menu-item--disabled' : ''}`, disabled: this.disabled, "aria-disabled": this.disabled ? 'true' : undefined, onClick: this.onClick }, index.h("span", { key: 'ecfc57bc3eab836edd5f0ef0d009da8ccbbce563', part: "icon", class: `bs-menu-item__icon ${this.hasIcon ? 'bs-menu-item__icon--has-content' : ''}` }, index.h("slot", { key: '8eb2a0b480c7fbe7aa17ec5cd193764353a394e9', name: "icon", onSlotchange: this.onIconSlotchange })), index.h("span", { key: 'e67b7512fd58b0e0847b5d3d14658cfc1bd4a00c', part: "label", class: "bs-menu-item__label" }, index.h("slot", { key: '466a45cb85e7cdadde2fb994243689873482d65c' }))));
454
+ return (index.h("button", { key: '6b051d2fd71b1be59a253c9eb10e7a8f1242e110', type: "button", part: "item", role: "menuitem", class: `bs-menu-item ${this.disabled ? 'bs-menu-item--disabled' : ''}`, disabled: this.disabled, "aria-disabled": this.disabled ? 'true' : undefined, onClick: this.onClick }, index.h("span", { key: '245b088e3d5243d4b6ca8871b087d53174405590', part: "icon", class: `bs-menu-item__icon ${this.hasIcon ? 'bs-menu-item__icon--has-content' : ''}` }, index.h("slot", { key: 'f325951ecf61f5b2e39d54fb9dd7deda9fc313cb', name: "icon", onSlotchange: this.onIconSlotchange })), index.h("span", { key: '2d89029982559af29db78a0ba2fd48ccfbc1c416', part: "label", class: "bs-menu-item__label" }, index.h("slot", { key: '56681e9c1241233fc36e9bcd5a19c58ef3af5b4b' }))));
455
455
  }
456
456
  };
457
457
  BsMenuItem.style = bsMenuItemCss();
@@ -31,7 +31,7 @@ const BsKeyCaps = class {
31
31
  render() {
32
32
  const keys = this.keyList();
33
33
  const name = this.label ?? (keys.length ? keys.join(' plus ') : undefined);
34
- return (index.h("span", { key: 'd2396eec919fbad20d6152faf4786d1bcfac9042', part: "container", class: "bs-key-caps", role: "group", "aria-label": name, "aria-disabled": this.disabled ? 'true' : undefined }, keys.map(k => (index.h("bs-key", { label: k }))), index.h("slot", { key: '9f4facb9f8d6ce6079facc16d260a41f48e54470' })));
34
+ return (index.h("span", { key: 'a5a71f50df215bafb5225553a3822048470b0df6', part: "container", class: "bs-key-caps", role: "group", "aria-label": name, "aria-disabled": this.disabled ? 'true' : undefined }, keys.map(k => (index.h("bs-key", { label: k }))), index.h("slot", { key: '3efb98fca94e15103658c10444000b60665ddd31' })));
35
35
  }
36
36
  };
37
37
  BsKeyCaps.style = bsKeyCapsCss();
@@ -20,7 +20,7 @@ const BsKey = class {
20
20
  this.hasIcon = ev.target.assignedNodes().length > 0;
21
21
  };
22
22
  render() {
23
- return (index.h("kbd", { key: 'ebd13e9ce82e11cb2868adaf1d9dfc38a261bf26', part: "container", class: "bs-key" }, !this.hasIcon && (index.h("span", { key: 'abb27af837ff8a82bc976841a04a2ef3d0386cdd', part: "label", class: "bs-key__label" }, index.h("slot", { key: 'e28affc720c80cf40edba55229e7df67e79a579b' }, this.label))), index.h("span", { key: 'c88fb0200102cfcd6e3b3b84218de6fcfddf06b8', part: "icon", class: { 'bs-key__icon': true, 'bs-key__icon--hidden': !this.hasIcon } }, index.h("slot", { key: '4043e70a46538183913b6275ba569fb75c078c27', name: "icon", onSlotchange: this.onIconSlotChange }))));
23
+ return (index.h("kbd", { key: '45bd298f9fcf91ac4a6fd1c10c879a9373c53fae', part: "container", class: "bs-key" }, !this.hasIcon && (index.h("span", { key: '019bb8652eef6eafbe3d11ac0a179aa06a853e99', part: "label", class: "bs-key__label" }, index.h("slot", { key: '9b4e0c377ad3a6ab51125894aca36164e3f4546c' }, this.label))), index.h("span", { key: '2d8618a0a71f799d6b4c3c8ecd3364d2a744879d', part: "icon", class: { 'bs-key__icon': true, 'bs-key__icon--hidden': !this.hasIcon } }, index.h("slot", { key: '9c7bf13a4ddf4ad57fcee6c81653783eb0bde3c4', name: "icon", onSlotchange: this.onIconSlotChange }))));
24
24
  }
25
25
  };
26
26
  BsKey.style = bsKeyCss();