@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
@@ -52,6 +52,13 @@ export class BsIconButton {
52
52
  * prop to the `aria-label` HTML attribute automatically.
53
53
  */
54
54
  ariaLabel = null;
55
+ /**
56
+ * Makes this a toggle button: sets `aria-pressed` on the inner `<button>` to `true`/`false`. Leave it
57
+ * unset (the default) for a plain action button, which then has no `aria-pressed` at all. The component
58
+ * does not toggle itself; the owner flips this on click. Put the toggle's state in the icon (e.g. a filled
59
+ * star), not in the label, which should stay the same.
60
+ */
61
+ pressed;
55
62
  onClick = () => {
56
63
  const form = this.internals?.form;
57
64
  if (!form || this.disabled)
@@ -62,7 +69,7 @@ export class BsIconButton {
62
69
  form.reset();
63
70
  };
64
71
  render() {
65
- return (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 }, h("span", { key: 'a427c213e0bbf3ee96698917ffc127d1d4d15de8', part: "icon", class: "bs-icon-button__icon" }, h("slot", { key: 'b46bf34d3fb24e9b899ba52fbd2ca39a49c634d3' }))));
72
+ return (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 }, h("span", { key: '2b9cfb3af8b3914ee88a3244c3d1f102cbae7082', part: "icon", class: "bs-icon-button__icon" }, h("slot", { key: 'b561552aece8e0f8ae83dd6619295e5c9477aa89' }))));
66
73
  }
67
74
  static get is() { return "bs-icon-button"; }
68
75
  static get encapsulation() { return "shadow"; }
@@ -191,6 +198,25 @@ export class BsIconButton {
191
198
  "reflect": false,
192
199
  "attribute": "aria-label",
193
200
  "defaultValue": "null"
201
+ },
202
+ "pressed": {
203
+ "type": "boolean",
204
+ "mutable": false,
205
+ "complexType": {
206
+ "original": "boolean",
207
+ "resolved": "boolean",
208
+ "references": {}
209
+ },
210
+ "required": false,
211
+ "optional": true,
212
+ "docs": {
213
+ "tags": [],
214
+ "text": "Makes this a toggle button: sets `aria-pressed` on the inner `<button>` to `true`/`false`. Leave it\nunset (the default) for a plain action button, which then has no `aria-pressed` at all. The component\ndoes not toggle itself; the owner flips this on click. Put the toggle's state in the icon (e.g. a filled\nstar), not in the label, which should stay the same."
215
+ },
216
+ "getter": false,
217
+ "setter": false,
218
+ "reflect": false,
219
+ "attribute": "pressed"
194
220
  }
195
221
  };
196
222
  }
@@ -27,7 +27,7 @@ export class BsButtonSkeleton {
27
27
  /** Accessible name announced for the loading placeholder. */
28
28
  loadingLabel = 'Loading';
29
29
  render() {
30
- return h("span", { key: '248ee140711040c1a4a35cd8539431d79d5f5c7c', part: "container", class: `bs-button-skeleton bs-button-skeleton--${this.size}`, role: "status", "aria-label": this.loadingLabel });
30
+ return h("span", { key: 'ba65829a03b8c34ec0f42b157626e5869978d3bf', part: "container", class: `bs-button-skeleton bs-button-skeleton--${this.size}`, role: "status", "aria-label": this.loadingLabel });
31
31
  }
32
32
  static get is() { return "bs-button-skeleton"; }
33
33
  static get encapsulation() { return "shadow"; }
@@ -34,7 +34,7 @@ export class BsCard {
34
34
  this.hasImage = ev.target.assignedNodes().length > 0;
35
35
  };
36
36
  render() {
37
- return (h("div", { key: '288db1e39f66129bf5d6598f53fb49d5481d0f02', part: "container", class: `bs-card bs-card--${this.surface}` }, h("div", { key: '9f25abc5cdfdf40d7bdefab7f1154545cc634f9d', part: "image", class: `bs-card__image ${this.hasImage ? 'bs-card__image--visible' : ''}` }, h("slot", { key: '8eff4a23e8ecf977056206bc8c223b4ad97b7656', name: "image", onSlotchange: this.onImageSlotchange })), h("div", { key: 'b0a1580657943f30c9a5dba3361dcf00dd36e90f', class: "bs-card__content" }, h("div", { key: 'f151de3b9d5975d2953131aea92a2353ac665bbc', part: "header", class: "bs-card__header" }, h("slot", { key: '6d015146a6ff72788ad3843caa37f2c304728b8b', name: "header" })), h("div", { key: 'd678f0d33dba58725b397502d9aced9983466bf6', part: "body", class: "bs-card__body" }, h("slot", { key: '51b7cdca4af0e43ba7de04c14bca32f59baa2f58' })), h("div", { key: '6b6fe027565678561d7f7beb79f6ceb05397ff50', part: "footer", class: "bs-card__footer" }, h("slot", { key: '6d704d0e7b6644e3f0e6b4ce7ae12e515c84339d', name: "footer" })))));
37
+ return (h("div", { key: 'be681abe6454f6f0ef03ec8ef05f2ef7e036b2fb', part: "container", class: `bs-card bs-card--${this.surface}` }, h("div", { key: '94fcc1a41307d29cd6e3d1c0db68e4ad56f76e66', part: "image", class: `bs-card__image ${this.hasImage ? 'bs-card__image--visible' : ''}` }, h("slot", { key: 'fa2441f597664fcfb1920f7f6b6d81cebb33c3cf', name: "image", onSlotchange: this.onImageSlotchange })), h("div", { key: 'f45578aeab67c531e3f1066788b646464e4ee5a3', class: "bs-card__content" }, h("div", { key: '44bc9e76ebb151099736e73fac2eea1e5baba014', part: "header", class: "bs-card__header" }, h("slot", { key: '58f766725dd1bd81aa4a5f5fa1da2626fd705582', name: "header" })), h("div", { key: '8ee2df46d6a643e0f7d13ec875a363b4ef714b00', part: "body", class: "bs-card__body" }, h("slot", { key: '8c47ca1e2acffbc952cf15a0518c3ca2d640fe58' })), h("div", { key: 'de5856f9b0a72cd42345320fbdd2a290640039d7', part: "footer", class: "bs-card__footer" }, h("slot", { key: '982cee8e6fb70228faf2cd7a55312ef690bd23a2', name: "footer" })))));
38
38
  }
39
39
  static get is() { return "bs-card"; }
40
40
  static get encapsulation() { return "shadow"; }
@@ -186,7 +186,7 @@ export class BsCarousel {
186
186
  // While auto-advance is actually running, slide changes must not be announced (it would
187
187
  // interrupt the user constantly); otherwise announce them politely.
188
188
  const rotating = this.autoplay && !this.paused && !this.interacting;
189
- return (h("section", { key: '4d3a0024b4f407a595769bc3dce7270104a0aeb7', part: "carousel", class: "bs-carousel", role: "region", "aria-roledescription": "carousel", "aria-label": this.label, style: { '--bs-carousel-slides-per-view': String(this.perView) } }, h("div", { key: '7160dbff92ce24112a5ebe54f10cfb4034d29750', part: "slides", class: "bs-carousel__slides", "aria-live": rotating ? 'off' : 'polite' }, h("slot", { key: 'fee4505b4a303719c62f9a7b76bea784ef920a20', onSlotchange: this.onSlotChange })), showTracker && (h("div", { key: 'd70a3780f4d9c00c087d931fb4b50401890a2c38', part: "tracker", class: "bs-carousel__tracker" }, this.tracker === 'numbers' ? (h("bs-pagination", { part: "pagination", totalPages: this.pageCount, currentPage: this.page, onBsPageChange: (ev) => {
189
+ return (h("section", { key: 'e388f41561ae9194608c34bc9a7efceabebe721b', part: "carousel", class: "bs-carousel", role: "region", "aria-roledescription": "carousel", "aria-label": this.label, style: { '--bs-carousel-slides-per-view': String(this.perView) } }, h("div", { key: '76a5c27dc3b801cf42c903218aaa76ced0c6f700', part: "slides", class: "bs-carousel__slides", "aria-live": rotating ? 'off' : 'polite' }, h("slot", { key: '90c92304c35d872398a4db3c2ed862468009b785', onSlotchange: this.onSlotChange })), showTracker && (h("div", { key: '0f2e97e93e7a2392eeb60b50e87b557c95a1b929', part: "tracker", class: "bs-carousel__tracker" }, this.tracker === 'numbers' ? (h("bs-pagination", { part: "pagination", totalPages: this.pageCount, currentPage: this.page, onBsPageChange: (ev) => {
190
190
  ev.stopPropagation();
191
191
  this.goTo(ev.detail);
192
192
  } })) : (h("div", { class: "bs-carousel__nav" }, this.renderDotsTracker())), this.renderPause()))));
@@ -139,7 +139,7 @@ export class BsChatbotFeedback {
139
139
  }
140
140
  render() {
141
141
  const stars = [1, 2, 3, 4, 5];
142
- return (h("div", { key: '64c7f8d329b25d54264ccc3fd2046c7b91b0a928', class: "bs-chatbot-feedback", role: "region", "aria-label": this.computedHeading() }, h("button", { key: '3b4f619db2a8f1f44fdc7229d3fda8726728483e', type: "button", part: "close", class: "bs-chatbot-feedback__close", "aria-label": this.closeLabel, onClick: this.onCloseClick }, h(CloseIcon, { key: 'c7c698aeb2b70255e3515b7f2aa505b326d26e53' })), h("div", { key: '6d076b4c3ce3ceb29e77faa28b8c9ff378166977', class: "bs-chatbot-feedback__top" }, h("div", { key: '4417e15cea995e2ae22cf606d0b13ca7f7c28a6d', class: "bs-chatbot-feedback__text" }, h("p", { key: 'c36b0301127b7f522cc7a491d4ef2fbb691ed082', part: "heading", class: "bs-chatbot-feedback__heading" }, this.computedHeading()), h("p", { key: 'bde47a0de3f408bf8f3deab1fd4bc6b44782528d', part: "subtitle", class: "bs-chatbot-feedback__subtitle" }, this.computedSubtitle())), h("div", { key: 'd6a28296298b30340ae249582a02f2242ddde6fd', class: "bs-chatbot-feedback__stars", role: "radiogroup", "aria-label": this.ratingLabel }, stars.map(value => (h("button", { type: "button", part: "star", class: "bs-chatbot-feedback__star", role: "radio", "aria-checked": (this.rating >= value).toString(), "aria-label": `${value} ${value > 1 ? this.starsLabel : this.starLabel}`, disabled: this.submitted, onClick: () => this.onStarClick(value) }, h(StarIcon, { filled: this.rating >= value }))))), !this.submitted && (h("div", { key: 'a3d957978212ba546914eb8f19a6c0b6776b4cda', class: "bs-chatbot-feedback__field" }, h("label", { key: 'ccbda1eeff0a7963704e1c095349ce503c76d6cc', part: "label", class: "bs-chatbot-feedback__label", htmlFor: "bs-chatbot-feedback-comment" }, this.commentLabel), h("textarea", { key: 'c1676c31a10315e8bccabe1841b8abc990f32158', part: "textarea", id: "bs-chatbot-feedback-comment", class: "bs-chatbot-feedback__textarea", placeholder: this.commentPlaceholder, value: this.comment, onInput: this.onCommentInput }))), this.submitted && this.comment && (h("p", { key: 'ca1fc129a1fa0645a9aa85fdbf0d0de73c24f8e6', part: "comment", class: "bs-chatbot-feedback__comment" }, this.comment))), h("div", { key: 'd6f9ae5f1c52de30bb07a22e6dcbe97fce7e5a97', class: "bs-chatbot-feedback__actions" }, !this.submitted && (h("button", { key: 'dd46f42be756a4f1af593c83c130ea25f1fcd312', type: "button", part: "submit", class: "bs-chatbot-feedback__submit", disabled: this.rating === 0, onClick: this.onSubmitClick }, h(SendIcon, { key: 'b462d0786b439f5543659d12875d1e42f5e649e6' }), this.submitLabel)), h("button", { key: '818daeb3198f4adfbb5d55b8bdfd07f6904c84d5', type: "button", part: "new-chat", class: `bs-chatbot-feedback__new-chat ${this.submitted ? 'bs-chatbot-feedback__new-chat--primary' : 'bs-chatbot-feedback__new-chat--outlined'}`, onClick: this.onNewChatClick }, h(EditIcon, { key: '504ed8bd1ac4b325afb3ed082105510bfebe4bd4' }), this.newChatLabel))));
142
+ return (h("div", { key: '687bdf3ad27c52994940ad585592a1c98e193043', class: "bs-chatbot-feedback", role: "region", "aria-label": this.computedHeading() }, h("button", { key: '4a1f9ae9e066e3e1bb5577e71b5823ff987bfce9', type: "button", part: "close", class: "bs-chatbot-feedback__close", "aria-label": this.closeLabel, onClick: this.onCloseClick }, h(CloseIcon, { key: 'cf8bf10c555376a6d733d5ce32cedc2e7bb3a673' })), h("div", { key: '360b2152b1761c33885aaaf1add02724c7dc0954', class: "bs-chatbot-feedback__top" }, h("div", { key: 'ee7e9ec8de6b674f019cc86d1445d8ebc8698ce8', class: "bs-chatbot-feedback__text" }, h("p", { key: '71df5fc535f48e0171bb8ed59b964b5c09f26ff7', part: "heading", class: "bs-chatbot-feedback__heading" }, this.computedHeading()), h("p", { key: 'a75c4fe0dc0a6c2e9fbeb7731a4d54fdc47ac627', part: "subtitle", class: "bs-chatbot-feedback__subtitle" }, this.computedSubtitle())), h("div", { key: 'db2bf8547c08786fe41f39be3b5721af732a70c4', class: "bs-chatbot-feedback__stars", role: "radiogroup", "aria-label": this.ratingLabel }, stars.map(value => (h("button", { type: "button", part: "star", class: "bs-chatbot-feedback__star", role: "radio", "aria-checked": (this.rating >= value).toString(), "aria-label": `${value} ${value > 1 ? this.starsLabel : this.starLabel}`, disabled: this.submitted, onClick: () => this.onStarClick(value) }, h(StarIcon, { filled: this.rating >= value }))))), !this.submitted && (h("div", { key: '6da5f9638f4fe9f7e3536656dc383a3576f3bd22', class: "bs-chatbot-feedback__field" }, h("label", { key: '1c6f056ef6b7f3f9b72dad368a3ec4ee74372cdf', part: "label", class: "bs-chatbot-feedback__label", htmlFor: "bs-chatbot-feedback-comment" }, this.commentLabel), h("textarea", { key: '4738b9f313f2202e5c802eef26427f2ead962a51', part: "textarea", id: "bs-chatbot-feedback-comment", class: "bs-chatbot-feedback__textarea", placeholder: this.commentPlaceholder, value: this.comment, onInput: this.onCommentInput }))), this.submitted && this.comment && (h("p", { key: 'e2a8e1e14c23210c42ca3c8215acc2b84f3e7cbe', part: "comment", class: "bs-chatbot-feedback__comment" }, this.comment))), h("div", { key: '150e6d6d376c1154bb92a86587e5bd3efc8171cd', class: "bs-chatbot-feedback__actions" }, !this.submitted && (h("button", { key: '285c665aafecd02cbfea4fc3bc394d5e3cccf991', type: "button", part: "submit", class: "bs-chatbot-feedback__submit", disabled: this.rating === 0, onClick: this.onSubmitClick }, h(SendIcon, { key: 'b13ad8dafdf1594ff1e6293ae3b0ddaa8afdacb3' }), this.submitLabel)), h("button", { key: '9281f0ab341ad8a270d8e2bf78a0eaf29e826d13', type: "button", part: "new-chat", class: `bs-chatbot-feedback__new-chat ${this.submitted ? 'bs-chatbot-feedback__new-chat--primary' : 'bs-chatbot-feedback__new-chat--outlined'}`, onClick: this.onNewChatClick }, h(EditIcon, { key: 'c3b3d01c786aca633ce57c5531436e2a02b58054' }), this.newChatLabel))));
143
143
  }
144
144
  static get is() { return "bs-chatbot-feedback"; }
145
145
  static get encapsulation() { return "shadow"; }
@@ -93,7 +93,7 @@ export class BsChatbotHeader {
93
93
  this.bsClose.emit();
94
94
  };
95
95
  render() {
96
- return (h("div", { key: 'a3bf82b419fe181054ef681938edee90b3a7370c', class: "bs-chatbot-header", role: "banner", "aria-label": this.heading }, h("div", { key: '194e0c8da2af153b8a6c525db7c09d2960d00766', part: "logo", class: "bs-chatbot-header__logo", role: "img", "aria-label": this.heading, innerHTML: GENIE_LOGO_SVG }), h("div", { key: 'c5b7c45960c14dd1052fd6e0e16d9100e87f6065', class: "bs-chatbot-header__actions" }, h("slot", { key: 'ffb35bd3e7694623c672b086db42ee69e14606ae', name: "actions" }), !this.hideNewChat && (h("span", { key: '00870907a0971458c484c88082176f809f8eaa8e', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: '2b12b13ac7595a39b2f90bbfccf784d643ccb8a6', type: "button", part: "new-chat", class: "bs-chatbot-header__button", "aria-label": this.newChatLabel, onClick: this.onNewChatClick }, h("slot", { key: '12ffde1876b46f492d8690796e27c9e716020a6f', name: "new-chat-icon" }, h(NewChatIcon, { key: 'a720b894daaa12a6bb4e89391ac400a00217e2a1' }))), h("bs-tooltip", { key: 'f4a8aebd32eea278cc45d7ec67de564e539671c4', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, this.newChatLabel))), !this.hideHistory && (h("span", { key: '38668bf4d54439e8b6aff21aed277753a9bfd05c', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: 'fd7dbd9db931baaa42a74523952bb58fd81f8c59', type: "button", part: "history", class: "bs-chatbot-header__button", "aria-label": this.historyLabel, onClick: this.onHistoryClick }, h("slot", { key: '8677cb10b69e30f1ed63f760a6d1384e43ee889a', name: "history-icon" }, h(HistoryIcon, { key: 'f3dbc6e2ad0e498d975ff12127ea5a04aa5feabb' }))), h("bs-tooltip", { key: 'f95bef141e03ea75a803786961d56cb57c4c4419', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, this.historyLabel))), !this.hideExpand && (h("span", { key: 'cfc6b76abab457ddbb0f800c9421755fa4a7356f', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: '2413fa727f2eb5d6963ec0a60a0f52bce91a50bb', type: "button", part: "expand", class: "bs-chatbot-header__button", "aria-label": this.expanded ? this.collapseLabel : this.expandLabel, "aria-pressed": this.expanded ? 'true' : 'false', onClick: this.onExpandClick }, h("slot", { key: '2291b453f5d21ed2c605b9637530e719fd50b979', name: "expand-icon" }, h(ExpandIcon, { key: 'b8ed1f8839eea3714532283e15a6cd0fe5fe6fb4' }))), h("bs-tooltip", { key: '392da3045534004015b4b894f0948876e1f12141', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, this.expanded ? this.collapseLabel : this.expandLabel))), !this.hideClose && (h("span", { key: '136d790708106fb64c1c83371af5d76e37cb57fd', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: 'b500c7104dace70ad434b556fa913fa650f95ce2', type: "button", part: "close", class: "bs-chatbot-header__button", "aria-label": this.closeLabel, onClick: this.onCloseClick }, h("slot", { key: '3ede2fe906f8819e496d1c8537b3520cf29698d7', name: "close-icon" }, h(CloseIcon, { key: '9d26f8d6b36cb51d564b7d44d375828af4671d6c' }))), h("bs-tooltip", { key: '14c17d47ac9e6bb7ed78a49fb8005879c6674718', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, this.closeLabel))))));
96
+ return (h("div", { key: '6905b251db2d793c866be5ccd9af9c8975b382e2', class: "bs-chatbot-header", role: "banner", "aria-label": this.heading }, h("div", { key: '62ae1b598ab0fb57e08ce750ac2fe004300b280d', part: "logo", class: "bs-chatbot-header__logo", role: "img", "aria-label": this.heading, innerHTML: GENIE_LOGO_SVG }), h("div", { key: '9d26c1559ab08868f3ad781d35c68e7d6deae7ba', class: "bs-chatbot-header__actions" }, h("slot", { key: '4b4cdd87bfa3a98dce549b00d12afef875f0bea6', name: "actions" }), !this.hideNewChat && (h("span", { key: '22a02d1b7830e7ebb61837fbd5bbefc802f3fcde', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: 'edda62eebead66a4afeff20bb279d7fa813cf6d7', type: "button", part: "new-chat", class: "bs-chatbot-header__button", "aria-label": this.newChatLabel, onClick: this.onNewChatClick }, h("slot", { key: 'a290ad14e1b0248d2fe9be15ab90bcc5af4194c7', name: "new-chat-icon" }, h(NewChatIcon, { key: '24cedf0fe54ca1713ba2d3e80e79b695fdad2bda' }))), h("bs-tooltip", { key: '62eba53fac24e0e6372566cc0ce9abfba807fb64', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, this.newChatLabel))), !this.hideHistory && (h("span", { key: 'e1dcf980c63750d6a6f5cedc6ec365dfa63ae214', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: '70222dcdee26cc430819865ae0f237b99cef1687', type: "button", part: "history", class: "bs-chatbot-header__button", "aria-label": this.historyLabel, onClick: this.onHistoryClick }, h("slot", { key: '338cc4979146086ed08292d9fd0ec6e74d53e797', name: "history-icon" }, h(HistoryIcon, { key: '941cbf5db830981aa71d056196354c15c7ebde58' }))), h("bs-tooltip", { key: '196550c79e7c699bee01bbef081d6e9e1656b38f', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, this.historyLabel))), !this.hideExpand && (h("span", { key: '49f3705dcf2ca4b2a5221e11563d953b34e68405', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: '3c38e331d8c3617279074f1ccba5960dc6b884ea', type: "button", part: "expand", class: "bs-chatbot-header__button", "aria-label": this.expanded ? this.collapseLabel : this.expandLabel, "aria-pressed": this.expanded ? 'true' : 'false', onClick: this.onExpandClick }, h("slot", { key: '8f0f54bb25073ecf2579a4d7301f5ff1f63e80cb', name: "expand-icon" }, h(ExpandIcon, { key: 'fb2a835a1300c9bcd38aa13f7fff674ba5af89c2' }))), h("bs-tooltip", { key: 'aab69e0847453daf35810eeee5536fa9a16fc3ef', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, this.expanded ? this.collapseLabel : this.expandLabel))), !this.hideClose && (h("span", { key: '0a32c45030c014a2106882e4404e2ce09704f6ee', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: 'b43080c2d32d2569ea4d427dc2b6f39541db5924', type: "button", part: "close", class: "bs-chatbot-header__button", "aria-label": this.closeLabel, onClick: this.onCloseClick }, h("slot", { key: '58d2fecd20b910262e8a9b2c446a420028444c8c', name: "close-icon" }, h(CloseIcon, { key: '0593909895f5e0d79d1a0e18a9c201623dd538f9' }))), h("bs-tooltip", { key: 'bb0c07c43482284811c378c97a3f314e2a37019d', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, this.closeLabel))))));
97
97
  }
98
98
  static get is() { return "bs-chatbot-header"; }
99
99
  static get encapsulation() { return "shadow"; }
@@ -127,7 +127,7 @@ export class BsChatbotResponseAction {
127
127
  };
128
128
  render() {
129
129
  const hasSources = !!this.sourcesCount && this.sourcesCount > 0;
130
- return (h("div", { key: 'ebc6d993ea58554ab0a5d36c9148da333424ed8c', class: "bs-chatbot-response-action" }, h("button", { key: 'f171f6c7be3a81f75b036a6e19d8d25c60da45de', type: "button", part: "like", class: "bs-chatbot-response-action__button", "aria-label": this.likeLabel, "aria-pressed": this.liked ? 'true' : 'false', onClick: this.onLikeClick }, h("slot", { key: '36697458bd76eeb31d6a3cd0c793ba9b12850bb5', name: "like-icon" }, h(ThumbsUpIcon, { key: '3f07e995a80dff4a9ad993ec943e20dfba199828' }))), h("button", { key: '70a982907bfd4ea1843a157db2830dc251b6cce3', type: "button", part: "dislike", class: "bs-chatbot-response-action__button", "aria-label": this.dislikeLabel, "aria-pressed": this.disliked ? 'true' : 'false', onClick: this.onDislikeClick }, h("slot", { key: 'f74a10e3488db4167c7aeadb12dfe18e07bd8375', name: "dislike-icon" }, h(ThumbsDownIcon, { key: 'a84fd41bdb0b04f0899186f9dc7c3b3f9a01c4e4' }))), h("button", { key: 'f9607a0b7fb610308437fd348291a39a1a75c48f', type: "button", part: "copy", class: "bs-chatbot-response-action__button", "aria-label": this.copyLabel, onClick: this.onCopyClick }, h("slot", { key: '50d0ee6d299b0b9eaa2f2a76c8e163c62b0b1c46', name: "copy-icon" }, h(CopyIcon, { key: '4393f5f8613f96b3040bef7fb3ab56002bec882a' }))), !this.hideRegenerate && (h("button", { key: 'a7df160d71f63455807b0641fdb4ecc7c963262f', type: "button", part: "regenerate", class: "bs-chatbot-response-action__button", "aria-label": this.regenerateLabel, onClick: this.onRegenerateClick }, h("slot", { key: '746a947dcdc2513dcc14a2c45ad43e8c5689b155', name: "regenerate-icon" }, h(RegenerateIcon, { key: '6d64c1b4a2795d4700bbf398098bb660e1b7a61d' })))), h("div", { key: '6b3969c13b586c593f0e5a1a98407fd5514b5038', class: "bs-chatbot-response-action__menu-wrapper" }, h("button", { key: 'ce57cbfbb40b2a4888cc1aae725d94f330203dce', type: "button", part: "menu", class: "bs-chatbot-response-action__button", "aria-label": this.menuLabel, "aria-haspopup": "menu", "aria-expanded": this.menuOpen ? 'true' : 'false', onClick: this.onMenuClick }, h("slot", { key: 'c301f66e32e50b915374bb660f8e8ebfda5fece2', name: "menu-icon" }, h(MenuIcon, { key: '3cb0895245598879d982ff9f206a278d6c8332fc' }))), this.menuOpen && (h("div", { key: 'bc20c2db7f705d5b10d6d6f770ad0fc15de0cf55', class: "bs-chatbot-response-action__menu-popup" }, h("slot", { key: '0a429d4727cdc0138da8044e0b813722f1f17eec', name: "menu" })))), hasSources && (h("button", { key: '35dc4762ead97f292db9652a18f4fbb41a1ce4d2', type: "button", part: "sources", class: "bs-chatbot-response-action__sources", onClick: this.onSourcesClick }, h("slot", { key: 'fb308abbcfbef564e9e424ccdbfaaac95911bf6b', name: "sources-icon" }, h(SourcesIcon, { key: '281a8fbb031ff7af27b176894bfd287c78a4de97' })), h("span", { key: '6afee37c37811f052b9d83089f220b354dd161b7', class: "bs-chatbot-response-action__sources-label" }, this.sourcesCount, " ", this.sourcesCount === 1 ? this.sourceLabel : this.sourcesLabel)))));
130
+ return (h("div", { key: 'eeea81b1964f9f9dc89aac2b58459321bc3c3bf7', class: "bs-chatbot-response-action" }, h("button", { key: '890d8d74c1b62846b314441319963327023dafd2', type: "button", part: "like", class: "bs-chatbot-response-action__button", "aria-label": this.likeLabel, "aria-pressed": this.liked ? 'true' : 'false', onClick: this.onLikeClick }, h("slot", { key: '12bb1913203d02b062f689882be119925a0ba8d2', name: "like-icon" }, h(ThumbsUpIcon, { key: '5dd57ec7c5000dafb958f72a1b6846c1c85f5da8' }))), h("button", { key: '06d7ae497480097121e06d7f07582944941d49c9', type: "button", part: "dislike", class: "bs-chatbot-response-action__button", "aria-label": this.dislikeLabel, "aria-pressed": this.disliked ? 'true' : 'false', onClick: this.onDislikeClick }, h("slot", { key: '709deebe7f0f1bfae5fcecfc0a1cfa01921221ae', name: "dislike-icon" }, h(ThumbsDownIcon, { key: '97fea08af1048a9f7ef3dc133809a0fab241c1c8' }))), h("button", { key: 'bb0ca6a6c02d2688d5321d3bcead17ac4e84ff32', type: "button", part: "copy", class: "bs-chatbot-response-action__button", "aria-label": this.copyLabel, onClick: this.onCopyClick }, h("slot", { key: '0ad95f409aaa2412bc37da4ea3daf1cd922f74a0', name: "copy-icon" }, h(CopyIcon, { key: 'bd472f1ef302ce0c11ad2a3c461f322878176a17' }))), !this.hideRegenerate && (h("button", { key: '0c2d85e0d2c25edd9c1e60abaff6258324f432f2', type: "button", part: "regenerate", class: "bs-chatbot-response-action__button", "aria-label": this.regenerateLabel, onClick: this.onRegenerateClick }, h("slot", { key: 'f8363082e347c552d25583a8ee5f30df3127596a', name: "regenerate-icon" }, h(RegenerateIcon, { key: '131a1aca2c71d1f3a5707cab2120aeeb5ae9069f' })))), h("div", { key: '73364305feb5631f872901fcad16632cf5e5254c', class: "bs-chatbot-response-action__menu-wrapper" }, h("button", { key: 'd5e550ac34dcf6f325458b494313d7bb2260041d', type: "button", part: "menu", class: "bs-chatbot-response-action__button", "aria-label": this.menuLabel, "aria-haspopup": "menu", "aria-expanded": this.menuOpen ? 'true' : 'false', onClick: this.onMenuClick }, h("slot", { key: '2b79ed5dfae0a9eca283a5c7ad703c5208dcfdab', name: "menu-icon" }, h(MenuIcon, { key: '545e3c1c234aa7f9eed5f5987e3e14cdf013094f' }))), this.menuOpen && (h("div", { key: 'e7da0d55acbf4fa4f84f29273368d2a374628925', class: "bs-chatbot-response-action__menu-popup" }, h("slot", { key: 'fa737fc36afebbbee3d077ba381390317cb61905', name: "menu" })))), hasSources && (h("button", { key: '0789164cf269b4110c439b2bcde397a3b058c439', type: "button", part: "sources", class: "bs-chatbot-response-action__sources", onClick: this.onSourcesClick }, h("slot", { key: '331eb28b2e2dc2b284dfca7b54108020cbb65783', name: "sources-icon" }, h(SourcesIcon, { key: '0d7648fbd9adbf864952e82eda597e9ea2674a33' })), h("span", { key: '983aa3f0ecb65f1fac792000de1f7490e11e4b4e', class: "bs-chatbot-response-action__sources-label" }, this.sourcesCount, " ", this.sourcesCount === 1 ? this.sourceLabel : this.sourcesLabel)))));
131
131
  }
132
132
  static get is() { return "bs-chatbot-response-action"; }
133
133
  static get encapsulation() { return "shadow"; }
@@ -59,7 +59,7 @@ export class BsChatbotSourcesDrawer {
59
59
  };
60
60
  render() {
61
61
  const displayCount = this.count ?? this.slottedCount;
62
- return (h("div", { key: '00bae658c31f1b0cb31cde007056aad03bf0ad77', class: "bs-chatbot-sources-drawer", role: "region", "aria-label": this.heading }, h("div", { key: 'ee2f47d76139560f152dc730d8d4252c550c4874', class: "bs-chatbot-sources-drawer__header" }, h("div", { key: 'dacf3742bd6db7b2b4ab7dfa25a569d48fef4ae8', class: "bs-chatbot-sources-drawer__title-group" }, h("h2", { key: '4a574daa2822b1acd984268e1e758f457bf40c4f', part: "heading", class: "bs-chatbot-sources-drawer__heading" }, this.heading), displayCount > 0 && (h("span", { key: 'cef7cd7a050ecb145d62a8f0992e795405c8f8d6', part: "count", class: "bs-chatbot-sources-drawer__count" }, displayCount))), h("button", { key: '8a1c6a8c16de70836555fed325602e3e2152c618', type: "button", part: "collapse", class: "bs-chatbot-sources-drawer__collapse", "aria-label": this.collapseLabel, onClick: this.onCollapseClick }, h("slot", { key: '9dd216a247757d22fb6dea3b75e07dc9ed3e6cb0', name: "collapse-icon" }, h(CaretRightIcon, { key: '8c6a8d2dd8b1fa71812e257e43939990be25ce04' })))), h("div", { key: '4d057db59b72db7c13eacaa2113cb9964caef1c9', part: "list", class: "bs-chatbot-sources-drawer__list" }, h("slot", { key: '5e5e753897ed08f1b2e1e37919e7ac4ed721a893', onSlotchange: this.onSlotchange }))));
62
+ return (h("div", { key: 'bfda9a3a1b7babe3796e467ffa336c84cf6d8a4a', class: "bs-chatbot-sources-drawer", role: "region", "aria-label": this.heading }, h("div", { key: 'bfd62d975c23e0d4b95929c9a9ae88be1fcd5413', class: "bs-chatbot-sources-drawer__header" }, h("div", { key: 'c65d83289c40381f6e563970bbbc5bce6e7b071a', class: "bs-chatbot-sources-drawer__title-group" }, h("h2", { key: '5e89e3d436784ad56c853e48405599ee294dc2dc', part: "heading", class: "bs-chatbot-sources-drawer__heading" }, this.heading), displayCount > 0 && (h("span", { key: '5a8b0f3d487f720aa171e3aaf1d91604ba14c26d', part: "count", class: "bs-chatbot-sources-drawer__count" }, displayCount))), h("button", { key: 'd9e7552b2d20bdd10cf792c907d7944a88c9fad0', type: "button", part: "collapse", class: "bs-chatbot-sources-drawer__collapse", "aria-label": this.collapseLabel, onClick: this.onCollapseClick }, h("slot", { key: '4f1fcf8effe9664a5040039f3ea09c75e2df309b', name: "collapse-icon" }, h(CaretRightIcon, { key: 'b45707e326013749ce09346e2d05b72095590a8c' })))), h("div", { key: '14b3d1263fb57ff577d233ff8d8a2c679bfd5f1f', part: "list", class: "bs-chatbot-sources-drawer__list" }, h("slot", { key: '4ae945ece2ed3c8f35ed724617fbc24199c01817', onSlotchange: this.onSlotchange }))));
63
63
  }
64
64
  static get is() { return "bs-chatbot-sources-drawer"; }
65
65
  static get encapsulation() { return "shadow"; }
@@ -42,7 +42,7 @@ export class BsChatbotSuggestionButton {
42
42
  this.bsSelect.emit();
43
43
  };
44
44
  render() {
45
- return (h("button", { key: '9773b5f3b62675a48eacc9a63fd52cd92172fe68', type: "button", part: "button", class: "bs-chatbot-suggestion-button", disabled: this.disabled, onClick: this.onClick }, h("slot", { key: '1fbe7d378fb81cebc348b232c5fbe00fe31daf78' })));
45
+ return (h("button", { key: '96fa6f46dfdf1dbf39428c9c35a0b8e02627a016', type: "button", part: "button", class: "bs-chatbot-suggestion-button", disabled: this.disabled, onClick: this.onClick }, h("slot", { key: '0f00a98b9ca49c6db6508afb0f10061a1594d860' })));
46
46
  }
47
47
  static get is() { return "bs-chatbot-suggestion-button"; }
48
48
  static get encapsulation() { return "shadow"; }
@@ -35,7 +35,7 @@ export class BsCheckboxSkeleton {
35
35
  /** Accessible name announced for the loading placeholder. */
36
36
  loadingLabel = 'Loading';
37
37
  render() {
38
- return (h("span", { key: '553af2d9b475730b4f399da364a42a8fe61de077', part: "container", class: "bs-checkbox-skeleton", role: "status", "aria-label": this.loadingLabel }, h("span", { key: '06b4a8dcb9b436f1f79a9d59144430d22081d89d', part: "box", class: `bs-checkbox-skeleton__box bs-checkbox-skeleton__box--${this.size}` }), h("span", { key: 'd56789d4ad329edf3336cabef6a7b5200f977210', part: "label", class: "bs-checkbox-skeleton__label" })));
38
+ return (h("span", { key: '893b7cc62c061fca220ece795a914d1c04afe3f1', part: "container", class: "bs-checkbox-skeleton", role: "status", "aria-label": this.loadingLabel }, h("span", { key: '4af59de817a1022250f93d254b8711f5d0c230bb', part: "box", class: `bs-checkbox-skeleton__box bs-checkbox-skeleton__box--${this.size}` }), h("span", { key: '377294db3bc2f5ceb3f39cc88a4b4a86ed948b09', part: "label", class: "bs-checkbox-skeleton__label" })));
39
39
  }
40
40
  static get is() { return "bs-checkbox-skeleton"; }
41
41
  static get encapsulation() { return "shadow"; }
@@ -120,7 +120,7 @@ export class BsCheckbox {
120
120
  ]
121
121
  .filter(Boolean)
122
122
  .join(' ');
123
- return (h("label", { key: '98b2c7da5530c74c5632f28a770096201df43f1f', class: `bs-checkbox ${this.disabled ? 'bs-checkbox--disabled' : ''}` }, h("input", { key: '1765be1adab7001f6b8c6ca79c9da8ca3a67bb77', ref: el => (this.inputEl = el), class: "bs-checkbox__input", type: "checkbox", checked: this.checked, disabled: this.disabled, required: this.required, "aria-checked": this.indeterminate ? 'mixed' : String(this.checked), "aria-label": this.ariaLabel, onChange: this.onChange }), h("span", { key: 'ffae4c14191d40da029aaa058d0a11f1170e8c00', part: "box", class: boxClasses }, showIcon && (h("svg", { key: 'ef0ddf8663a8d1a517b3604c8fa3a98ff1ba7187', part: "icon", class: "bs-checkbox__icon", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, this.indeterminate ? (h("path", { d: "M3 8H13", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round" })) : (h("path", { d: "M3 8.5L6.2 11.5L13 4.5", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), h("span", { key: '9fda5d8e25fecbc6d4ebe9339f63fae58e8bac26', part: "label", class: "bs-checkbox__label" }, h("slot", { key: '95d6e3a55c81444feb8d1221bb080b9c49a8cf46' }))));
123
+ return (h("label", { key: '935cb1230ee19ed086cf1889b95e5cb0694b2942', class: `bs-checkbox ${this.disabled ? 'bs-checkbox--disabled' : ''}` }, h("input", { key: '5a505a5e06dcf517c5463838e286ad3ca051aa96', ref: el => (this.inputEl = el), class: "bs-checkbox__input", type: "checkbox", checked: this.checked, disabled: this.disabled, required: this.required, "aria-checked": this.indeterminate ? 'mixed' : String(this.checked), "aria-label": this.ariaLabel, onChange: this.onChange }), h("span", { key: '4938df0023d4237cfc8b17c8656c752e4295de47', part: "box", class: boxClasses }, showIcon && (h("svg", { key: 'c71f39e8127b1b345942481e6eac071b8dbc194b', part: "icon", class: "bs-checkbox__icon", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, this.indeterminate ? (h("path", { d: "M3 8H13", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round" })) : (h("path", { d: "M3 8.5L6.2 11.5L13 4.5", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))))), h("span", { key: '90cc8fba0da12a4527238fd1b536266edac132c0', part: "label", class: "bs-checkbox__label" }, h("slot", { key: '7622ef9ea5c7b118d543728de089cb6c9ae71b5d' }))));
124
124
  }
125
125
  static get is() { return "bs-checkbox"; }
126
126
  static get encapsulation() { return "shadow"; }
@@ -70,7 +70,7 @@ export class BsChipFilter {
70
70
  // label-only edge gets more -- except when NEITHER edge has a glyph, where both edges use a
71
71
  // third, larger value rather than the label-only one (see bs-chip-filter.css's own comment).
72
72
  const paddingVariant = this.hasIcon && this.dropdown ? 'icon-dropdown' : this.hasIcon ? 'icon-only' : this.dropdown ? 'dropdown-only' : 'text-only';
73
- return (h("button", { key: 'c1b7395764984baadd0d32d5bd6a3d8d61cb637a', type: "button", class: `bs-chip-filter bs-chip-filter--${this.size} bs-chip-filter--${paddingVariant} ${this.selected ? 'bs-chip-filter--selected' : ''}`, disabled: this.disabled, "aria-pressed": String(this.selected), "aria-label": this.ariaLabel, onClick: this.onClick }, h("span", { key: 'db74ff2a992268bb95564dc1631e54d00208255f', part: "icon", class: `bs-chip-filter__icon ${this.hasIcon ? 'bs-chip-filter__icon--visible' : ''}` }, h("slot", { key: '9319387acc35131d0555f9ad84c1f733034920d7', name: "icon", onSlotchange: this.onIconSlotchange })), h("span", { key: '06291c8712d77d43c3c823e4b90d99218618db35', part: "label", class: "bs-chip-filter__label" }, h("slot", { key: '3c72fcc1085239ba9c45ee6e89f5b8e8b4cc0ce8' })), this.dropdown && (h("span", { key: 'd2efca03ed06d2341aec986cca2c0d27bdce5a75', part: "caret", class: "bs-chip-filter__caret", "aria-hidden": "true" }, h(ChevronDownIcon, { key: '8bb9383201632e567f662909559702fcf391790e' })))));
73
+ return (h("button", { key: 'f9a3d08479e7ed41739f3aafb0ab368a0675b217', type: "button", class: `bs-chip-filter bs-chip-filter--${this.size} bs-chip-filter--${paddingVariant} ${this.selected ? 'bs-chip-filter--selected' : ''}`, disabled: this.disabled, "aria-pressed": String(this.selected), "aria-label": this.ariaLabel, onClick: this.onClick }, h("span", { key: '223cd086065cdcc534142889709de256fc02018b', part: "icon", class: `bs-chip-filter__icon ${this.hasIcon ? 'bs-chip-filter__icon--visible' : ''}` }, h("slot", { key: 'bfcf02d9ae967d4af95149b4690f98f78e381f1d', name: "icon", onSlotchange: this.onIconSlotchange })), h("span", { key: 'af8b7601dc3c5ced08acc8d0b0414b2f2f4ef758', part: "label", class: "bs-chip-filter__label" }, h("slot", { key: '83056a3f9a30ccdd688ca1286480a65b0a1ed8c9' })), this.dropdown && (h("span", { key: '6b3c1058216ad7b2508f189e754b7740e111c11d', part: "caret", class: "bs-chip-filter__caret", "aria-hidden": "true" }, h(ChevronDownIcon, { key: 'a5f375e9e65a57a4a901729efcb0bfba5edc32eb' })))));
74
74
  }
75
75
  static get is() { return "bs-chip-filter"; }
76
76
  static get encapsulation() { return "shadow"; }
@@ -44,7 +44,7 @@ export class BsChipInformative {
44
44
  };
45
45
  render() {
46
46
  const paddingVariant = this.hasIcon ? 'icon' : 'text';
47
- return (h(Host, { key: 'ee5706f8c040b01f97e44b9dba4d74a3b023005c', class: `bs-chip-informative bs-chip-informative--${this.color} bs-chip-informative--${this.size} bs-chip-informative--${paddingVariant}` }, h("span", { key: '611cc7bec3b22cc2e7de25fc8aa49e8d4eca3cba', part: "icon", class: `bs-chip-informative__icon ${this.hasIcon ? 'bs-chip-informative__icon--visible' : ''}` }, h("slot", { key: '5945478d567c7b6a6e4ff602c2edd6465d3b7778', name: "icon", onSlotchange: this.onIconSlotchange })), h("span", { key: '7e78fb0f2e5cfc2d232aa04f0c9edf94044f8eca', part: "label", class: "bs-chip-informative__label" }, h("slot", { key: 'fcec1018222e0da3f0adc6da13e0699c0bad764b' }))));
47
+ return (h(Host, { key: '175475b365a087e43fa6523a258698656e23d39e', class: `bs-chip-informative bs-chip-informative--${this.color} bs-chip-informative--${this.size} bs-chip-informative--${paddingVariant}` }, h("span", { key: 'b2116f28c75229963194c84e4d0d6e8c0fab1621', part: "icon", class: `bs-chip-informative__icon ${this.hasIcon ? 'bs-chip-informative__icon--visible' : ''}` }, h("slot", { key: '8fade40486f0d673b3349dc9c2282ff687d029f6', name: "icon", onSlotchange: this.onIconSlotchange })), h("span", { key: '6b87a554737b9424033885a06f5136982a3d67bb', part: "label", class: "bs-chip-informative__label" }, h("slot", { key: '21f2759811a28da66033444be65b2fb680737bde' }))));
48
48
  }
49
49
  static get is() { return "bs-chip-informative"; }
50
50
  static get encapsulation() { return "shadow"; }
@@ -79,7 +79,7 @@ export class BsChipInput {
79
79
  };
80
80
  render() {
81
81
  const paddingVariant = this.hasIcon ? 'icon' : 'text';
82
- return (h(Host, { key: '1e44e8c6c324502677a711e9efdeea812181e93d', class: `bs-chip-input bs-chip-input--${this.size} bs-chip-input--${paddingVariant}` }, h("button", { key: '7c698a6cfbe6ca8ff1215edeb59d7a58071ec29e', type: "button", part: "body", class: "bs-chip-input__body", disabled: this.disabled, "aria-pressed": String(this.selected), onClick: this.onBodyClick }, h("span", { key: '159334959b3da3665fb6f4a2930c15fc1da028ad', part: "icon", class: `bs-chip-input__icon ${this.hasIcon ? 'bs-chip-input__icon--visible' : ''}` }, h("slot", { key: '0f12a8dbf2b17578ec1446032fa6b795f6aac9f4', name: "icon", onSlotchange: this.onIconSlotchange })), h("span", { key: 'd8236eaa237e3d204f721274551c0d50ce6b1f9a', part: "label", class: "bs-chip-input__label" }, h("slot", { key: '4872dcc68aa9a204801f10415fd1b3bc31db0c2a', onSlotchange: this.onLabelSlotchange }))), h("button", { key: 'ac930ef1166ff21f889641cf0644c20e77f92196', type: "button", part: "remove", class: "bs-chip-input__remove", disabled: this.disabled, "aria-label": `${this.removeLabel} ${this.labelText}`, onClick: this.onRemoveClick }, h(CloseIcon, { key: 'ba26dff61400df054f3b2d73526e08d02734ba07' }))));
82
+ return (h(Host, { key: '9f4d441c816706bb360a4a06d7dfdcd06a89fb7c', class: `bs-chip-input bs-chip-input--${this.size} bs-chip-input--${paddingVariant}` }, h("button", { key: '740f5af451317b26f069613c1d35966993e6fcfa', type: "button", part: "body", class: "bs-chip-input__body", disabled: this.disabled, "aria-pressed": String(this.selected), onClick: this.onBodyClick }, h("span", { key: 'a53e4b835d43bd9d3fa2704872a4a2eaf6640f33', part: "icon", class: `bs-chip-input__icon ${this.hasIcon ? 'bs-chip-input__icon--visible' : ''}` }, h("slot", { key: 'cceac9f60078c14a43bd7cf4ead2a126f8272ca7', name: "icon", onSlotchange: this.onIconSlotchange })), h("span", { key: '8baa5a3f5bb554498e36fbdca5fd72acbdca4c1e', part: "label", class: "bs-chip-input__label" }, h("slot", { key: 'e12ea30cabae514a396367eef15ebf7e70e4bd19', onSlotchange: this.onLabelSlotchange }))), h("button", { key: 'a153766c79179c0c266b4215099dc00cadb7521a', type: "button", part: "remove", class: "bs-chip-input__remove", disabled: this.disabled, "aria-label": `${this.removeLabel} ${this.labelText}`, onClick: this.onRemoveClick }, h(CloseIcon, { key: '637fe474a7da111f0ecceb5120006578bd44ca18' }))));
83
83
  }
84
84
  static get is() { return "bs-chip-input"; }
85
85
  static get encapsulation() { return "shadow"; }
@@ -38,7 +38,7 @@ export class BsCitationPreview {
38
38
  bsOpen;
39
39
  render() {
40
40
  const hasPage = this.page !== undefined && this.page !== null && this.page !== '';
41
- return (h("bs-card", { key: 'ea8213ae775ca510bf853f2cb2f8ece97f95001f', part: "container", class: "bs-citation-preview", surface: "base" }, h("div", { key: 'd10d32d872cbaabb10a090c1ce8b3ef514c61937', class: "bs-citation-preview__body" }, h("bs-source-link", { key: 'ae1213e1bd69cdf3e56ce9231d76ff4f9f2a5ac0', part: "header", fileName: this.fileName, sourceName: this.sourceName, href: this.href, onBsOpen: () => this.bsOpen.emit() }), h("div", { key: 'ed6b1225fb0ce6f545c4a2e3d1d644cb607c7e78', part: "snippet", class: "bs-citation-preview__snippet" }, h("slot", { key: 'bf00115e8845869813b8ee2a75b25da773d8e0d3' })), h("div", { key: '1770276d58af8961bed809c1e958458c0e20c302', class: "bs-citation-preview__footer" }, h("slot", { key: '78fe989b67646fe2c2aa2e6d5f98fd13c91eb436', name: "footer" }, hasPage && (h("span", { key: '15d025d294c68ec6452a501ac50547278c54d105', part: "page", class: "bs-citation-preview__page" }, "Page ", this.page)))))));
41
+ return (h("bs-card", { key: 'af7b50840be8a1fa0454a9117243e203f30fcc95', part: "container", class: "bs-citation-preview", surface: "base" }, h("div", { key: '0c0d947599941f28b24c60650262a1b6e4ed5c4a', class: "bs-citation-preview__body" }, h("bs-source-link", { key: '9be793892a7cbf9f7b6fff934bcc252dd7d42dff', part: "header", fileName: this.fileName, sourceName: this.sourceName, href: this.href, onBsOpen: () => this.bsOpen.emit() }), h("div", { key: 'bef7cd349b82433a2090f293686b653e6a13d71b', part: "snippet", class: "bs-citation-preview__snippet" }, h("slot", { key: '570771c36bfbbb68b93284a70615fcce6d9f0505' })), h("div", { key: 'dc8c1ad2d2bc57dddc963a3434563959d18c5f6a', class: "bs-citation-preview__footer" }, h("slot", { key: '7e621faf0e3e90b06f8ceb4712e0d61b18f7d797', name: "footer" }, hasPage && (h("span", { key: 'd00646db324820ff44a7a2b0d122b92990be251f', part: "page", class: "bs-citation-preview__page" }, "Page ", this.page)))))));
42
42
  }
43
43
  static get is() { return "bs-citation-preview"; }
44
44
  static get encapsulation() { return "shadow"; }
@@ -393,7 +393,7 @@ export class BsCommandPalette {
393
393
  const sections = this.shownSections().filter(s => this.filled[s]);
394
394
  const hasList = sections.length > 0;
395
395
  const showResults = loading || empty || hasList;
396
- return (h("dialog", { key: '55a38e90a59faa6f0314c7e26ae90326fc82d7dc', ref: el => (this.dialogEl = el), part: "dialog", class: "bs-command-palette", "aria-label": this.label, "aria-modal": "true", role: "dialog", onCancel: this.onCancel, onClose: () => this.open && this.setOpen(false), onClick: this.onDialogClick, onKeyDown: this.onDialogKeyDown }, h("div", { key: '793f0509daba42c4a208d3f5ff3cdfa7d963989a', part: "panel", class: "bs-command-palette__panel" }, h("div", { key: '9af1794a677b7696e242df6a4e9e7775a8efdbea', part: "search", class: "bs-command-palette__search" }, this.scopeLabel && (h("bs-chip-informative", { key: '506dd50cecd610c48d61b24723e5a700a05ec693', class: "bs-command-palette__scope", color: "info" }, this.scopeLabel)), h("div", { key: 'ae0d016a687820e4960b9ff3d59c74cd937796bf', class: "bs-command-palette__field", ref: el => (this.comboEl = el), role: "combobox", "aria-label": this.placeholder, "aria-expanded": String(hasList), "aria-haspopup": "listbox", "aria-controls": hasList ? listId : undefined, onKeyDown: this.onKeyDown }, h("bs-input", { key: 'd444f70cfd6878434d19364ee1668987ae7da1c2', part: "input", ref: el => (this.inputEl = el), type: "search", value: this.value, placeholder: this.placeholder, onBsInput: this.onInput })), h("span", { key: '8baa325a3af0bd2c4b09e7201c315fbbb37f55e9', class: "bs-command-palette__esc", "aria-hidden": "true" }, h("bs-key", { key: 'a9bc3f695d63b32ab227b93a8a46db33da56da27', label: "Esc" }))), showResults && h("div", { key: 'e97114037b44d14a51872929314773aa637d64f1', class: "bs-command-palette__divider", role: "presentation" }), showResults && (h("div", { key: 'c8bc5e63b0ff902c8a2730775ae7294f025a7dc6', part: "results", class: "bs-command-palette__results", "aria-busy": String(loading), onMouseOver: this.onResultsMouseOver }, loading && (h("div", { key: 'c4bfacce3dc902aab472d825494d1e67ca593c32', class: "bs-command-palette__loading", role: "status" }, h("bs-spinner", { key: 'fcf43a2a30cc94b67075bbded0eaae329c4e18a4', size: "sm" }), h("span", { key: 'b9f195cacbd6ad6acfcd151f47c52b0c937ff1f5' }, this.loadingLabel))), empty && this.renderEmpty(), hasList && (h("div", { key: 'e4da543ad73a9b7dc209876d6e8dd1d057f4048e', id: listId, class: "bs-command-palette__list", role: "listbox", "aria-label": this.listLabel }, sections.map(s => this.renderSection(s)))))), this.showFooter && this.renderFooter()), h("span", { key: 'c4aab5214af689a0332a9730753ca187b91b5ec3', class: "bs-command-palette__live", "aria-live": "polite" }, this.announcement())));
396
+ return (h("dialog", { key: '6a561ea62b6c339d10be7c860ca78ec1980c196e', ref: el => (this.dialogEl = el), part: "dialog", class: "bs-command-palette", "aria-label": this.label, "aria-modal": "true", role: "dialog", onCancel: this.onCancel, onClose: () => this.open && this.setOpen(false), onClick: this.onDialogClick, onKeyDown: this.onDialogKeyDown }, h("div", { key: 'b4592134ab30548ceebe592c83a6aef96d4f30fa', part: "panel", class: "bs-command-palette__panel" }, h("div", { key: '803431fd163a7bec9ef8b2d29f40b010b82c562e', part: "search", class: "bs-command-palette__search" }, this.scopeLabel && (h("bs-chip-informative", { key: '66eea31c8b70c0ce11407e48088580f04f6f79a3', class: "bs-command-palette__scope", color: "info" }, this.scopeLabel)), h("div", { key: '6210de6dc47a703c20de9ea6f49f48ec7f0440ef', class: "bs-command-palette__field", ref: el => (this.comboEl = el), role: "combobox", "aria-label": this.placeholder, "aria-expanded": String(hasList), "aria-haspopup": "listbox", "aria-controls": hasList ? listId : undefined, onKeyDown: this.onKeyDown }, h("bs-input", { key: '6b74b215fe9b4336297179bf3200d78111bfd151', part: "input", ref: el => (this.inputEl = el), type: "search", value: this.value, placeholder: this.placeholder, onBsInput: this.onInput })), h("span", { key: '0512eecf3b1e247e6258d583e339d98a2015aa01', class: "bs-command-palette__esc", "aria-hidden": "true" }, h("bs-key", { key: '1ec651c3432aaa92eb741e7e93b3389de386079d', label: "Esc" }))), showResults && h("div", { key: 'e59e86456dd91a126ef7ae2cb130764c5929331c', class: "bs-command-palette__divider", role: "presentation" }), showResults && (h("div", { key: '738aed619a5a63ab17be147720b0c70e0b5a9bbe', part: "results", class: "bs-command-palette__results", "aria-busy": String(loading), onMouseOver: this.onResultsMouseOver }, loading && (h("div", { key: 'de7b2c46f0e2c18ffe0052564d75c77eb967bbba', class: "bs-command-palette__loading", role: "status" }, h("bs-spinner", { key: 'cc14ce65a1bc976936a7b426495242a195cb198d', size: "sm" }), h("span", { key: 'b32b2df7f17043367242eccfe3bc0e1bed12b8ea' }, this.loadingLabel))), empty && this.renderEmpty(), hasList && (h("div", { key: 'f3dd45741f74456e063ac547e2a578a9b085ddab', id: listId, class: "bs-command-palette__list", role: "listbox", "aria-label": this.listLabel }, sections.map(s => this.renderSection(s)))))), this.showFooter && this.renderFooter()), h("span", { key: '34e1b38ed74e053dabdd28890a11aee77937db01', class: "bs-command-palette__live", "aria-live": "polite" }, this.announcement())));
397
397
  }
398
398
  static get is() { return "bs-command-palette"; }
399
399
  static get encapsulation() { return "shadow"; }
@@ -0,0 +1,32 @@
1
+ import { render, h, describe, it, expect } from "@stencil/vitest";
2
+ import axe from "axe-core";
3
+ import { assertShadowParts, assertCssCustomProperties } from "../../test/helpers/conventions";
4
+ const q = (el, s) => el.shadowRoot.querySelector(s);
5
+ const make = async (props = {}) => {
6
+ const r = await render(h("div", { style: { width: '245px' } }, h("bs-compact-menu-block", { name: "Payments" })));
7
+ const el = r.root.querySelector('bs-compact-menu-block');
8
+ Object.assign(el, props);
9
+ await r.waitForChanges();
10
+ return { ...r, el };
11
+ };
12
+ describe('bs-compact-menu-block', () => {
13
+ it('is a button named by its text, with the parts and custom properties', async () => {
14
+ const { el } = await make();
15
+ const c = q(el, '[part="container"]');
16
+ expect(c.tagName).toBe('BUTTON');
17
+ expect(c.textContent).toBe('Payments');
18
+ assertShadowParts(el.shadowRoot, ['container']);
19
+ assertCssCustomProperties(el, ['--bs-compact-menu-block-padding', '--bs-compact-menu-block-bg-hover', '--bs-compact-menu-block-focus-ring']);
20
+ });
21
+ it('is a single 36px line', async () => {
22
+ const { el } = await make();
23
+ expect(Math.round(el.getBoundingClientRect().height)).toBe(36);
24
+ });
25
+ it('has no axe violations', async () => {
26
+ for (const props of [{}]) {
27
+ const { el } = await make(props);
28
+ const results = await axe.run(el);
29
+ expect(results.violations.map(v => `${JSON.stringify(props)} ${v.id}: ${v.help}`)).toEqual([]);
30
+ }
31
+ });
32
+ });
@@ -0,0 +1,43 @@
1
+ :host {
2
+ display: block;
3
+ box-sizing: border-box;
4
+ --bs-compact-menu-block-padding: var(--bs-spacing-100);
5
+ --bs-compact-menu-block-radius: var(--bs-border-radius-100);
6
+ --bs-compact-menu-block-bg: transparent;
7
+ --bs-compact-menu-block-bg-hover: var(--bs-surface-hover);
8
+ --bs-compact-menu-block-bg-pressed: var(--bs-surface-pressed);
9
+ --bs-compact-menu-block-color: var(--bs-text-default);
10
+ --bs-compact-menu-block-focus-ring: var(--bs-border-info);
11
+ }
12
+
13
+ .bs-compact-menu-block {
14
+ box-sizing: border-box;
15
+ display: block;
16
+ width: 100%;
17
+ margin: 0;
18
+ padding: var(--bs-compact-menu-block-padding);
19
+ border: 0;
20
+ border-radius: var(--bs-compact-menu-block-radius);
21
+ background: var(--bs-compact-menu-block-bg);
22
+ color: var(--bs-compact-menu-block-color);
23
+ font-family: var(--bs-typography-font-family-body, Roboto), sans-serif;
24
+ font-size: var(--bs-fontsize-body-sm);
25
+ font-weight: var(--bs-font-weight-regular);
26
+ line-height: calc(var(--bs-line-height-body-sm) * 1px);
27
+ text-align: left;
28
+ cursor: pointer;
29
+ }
30
+
31
+ .bs-compact-menu-block:hover,
32
+ .bs-compact-menu-block:focus-visible {
33
+ background: var(--bs-compact-menu-block-bg-hover);
34
+ }
35
+
36
+ .bs-compact-menu-block:active {
37
+ background: var(--bs-compact-menu-block-bg-pressed);
38
+ }
39
+
40
+ .bs-compact-menu-block:focus-visible {
41
+ outline: var(--bs-spacing-25) solid var(--bs-compact-menu-block-focus-ring);
42
+ outline-offset: 0;
43
+ }
@@ -0,0 +1,67 @@
1
+ import { h } from "@stencil/core";
2
+ /**
3
+ * A plain text entry in a mega menu: one line, no icon. Matches the Figma "Compact menu block" component
4
+ * (Default, Hover, Pressed and Focused).
5
+ *
6
+ * The block is always a native button and only emits events; it never navigates. Hover, pressed and focus come from the
7
+ * native element.
8
+ *
9
+ * ## When to use
10
+ * - A dense list of destinations in a mega menu, usually inside `bs-mega-menu` with `type="compact"`.
11
+ *
12
+ * ## When not to use
13
+ * - A destination that needs an icon or a description -- use `bs-menu-block`.
14
+ * - A command in a dropdown list -- use `bs-menu-item`.
15
+ *
16
+ * @part container - The button.
17
+ * @prop --bs-compact-menu-block-padding - Padding inside the block. Aliased to `--bs-spacing-100`.
18
+ * @prop --bs-compact-menu-block-radius - Corner radius. Aliased to `--bs-border-radius-100`.
19
+ * @prop --bs-compact-menu-block-bg - Resting background. `transparent`.
20
+ * @prop --bs-compact-menu-block-bg-hover - Aliased to `--bs-surface-hover`.
21
+ * @prop --bs-compact-menu-block-bg-pressed - Aliased to `--bs-surface-pressed`.
22
+ * @prop --bs-compact-menu-block-color - Text colour. Aliased to `--bs-text-default`.
23
+ * @prop --bs-compact-menu-block-focus-ring - Focus ring colour. Aliased to `--bs-border-info`.
24
+ */
25
+ export class BsCompactMenuBlock {
26
+ /** The text, and the accessible name. */
27
+ name;
28
+ render() {
29
+ const common = { part: 'container', class: 'bs-compact-menu-block' };
30
+ return (h("button", { key: '2bd3b6eebed0124d8f013bb1d1a74d14bd3d76c5', ...common, type: "button" }, this.name));
31
+ }
32
+ static get is() { return "bs-compact-menu-block"; }
33
+ static get encapsulation() { return "shadow"; }
34
+ static get originalStyleUrls() {
35
+ return {
36
+ "$": ["bs-compact-menu-block.css"]
37
+ };
38
+ }
39
+ static get styleUrls() {
40
+ return {
41
+ "$": ["bs-compact-menu-block.css"]
42
+ };
43
+ }
44
+ static get properties() {
45
+ return {
46
+ "name": {
47
+ "type": "string",
48
+ "mutable": false,
49
+ "complexType": {
50
+ "original": "string",
51
+ "resolved": "string",
52
+ "references": {}
53
+ },
54
+ "required": true,
55
+ "optional": false,
56
+ "docs": {
57
+ "tags": [],
58
+ "text": "The text, and the accessible name."
59
+ },
60
+ "getter": false,
61
+ "setter": false,
62
+ "reflect": false,
63
+ "attribute": "name"
64
+ }
65
+ };
66
+ }
67
+ }
@@ -0,0 +1,25 @@
1
+ import { html } from "lit";
2
+ import { componentDescription } from "../../stories-utils";
3
+ const meta = {
4
+ title: 'Components/bs-compact-menu-block',
5
+ parameters: { layout: 'padded', docs: { description: { component: componentDescription('bs-compact-menu-block') } } },
6
+ argTypes: { name: { control: 'text' } },
7
+ args: { name: 'Payments' },
8
+ render: args => html `
9
+ <div style="width: 245px">
10
+ <bs-compact-menu-block name=${args.name}></bs-compact-menu-block>
11
+ </div>
12
+ `,
13
+ };
14
+ export default meta;
15
+ export const Default = {};
16
+ /** A list of blocks. Hover, pressed and focus come from the native element: point at a block, press it, or Tab to it. */
17
+ export const States = {
18
+ render: () => html `
19
+ <div style="display:flex;flex-direction:column;width:245px">
20
+ <bs-compact-menu-block name="General ledger"></bs-compact-menu-block>
21
+ <bs-compact-menu-block name="Journal entries"></bs-compact-menu-block>
22
+ <bs-compact-menu-block name="Chart of accounts"></bs-compact-menu-block>
23
+ </div>
24
+ `,
25
+ };