@brandsync/wc 1.17.0 → 1.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (691) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/REFERENCE.md +316 -8
  3. package/custom-elements.json +9323 -6758
  4. package/dist/brandsync-wc/brandsync-wc.esm.js +1 -1
  5. package/dist/brandsync-wc/p-02314404.entry.js +1 -0
  6. package/dist/brandsync-wc/{p-0bbaef51.entry.js → p-028d3244.entry.js} +1 -1
  7. package/dist/brandsync-wc/{p-8c4dfccb.entry.js → p-03ad83a3.entry.js} +1 -1
  8. package/dist/brandsync-wc/{p-f82a9f0d.entry.js → p-0819add7.entry.js} +1 -1
  9. package/dist/brandsync-wc/{p-67f125e8.entry.js → p-08649f52.entry.js} +1 -1
  10. package/dist/brandsync-wc/p-0dff9822.entry.js +1 -0
  11. package/dist/brandsync-wc/{p-9d12b1fb.entry.js → p-10b8937f.entry.js} +1 -1
  12. package/dist/brandsync-wc/{p-aec2dfeb.entry.js → p-129a4de7.entry.js} +1 -1
  13. package/dist/brandsync-wc/p-1580c56c.entry.js +1 -0
  14. package/dist/brandsync-wc/p-15c6f0f3.entry.js +1 -0
  15. package/dist/brandsync-wc/{p-9d740928.entry.js → p-171fa239.entry.js} +1 -1
  16. package/dist/brandsync-wc/p-197ac73f.entry.js +1 -0
  17. package/dist/brandsync-wc/p-1e33bc10.entry.js +1 -0
  18. package/dist/brandsync-wc/{p-b5710db6.entry.js → p-21e5d4d6.entry.js} +1 -1
  19. package/dist/brandsync-wc/{p-90ba3032.entry.js → p-2389f473.entry.js} +1 -1
  20. package/dist/brandsync-wc/p-25914efc.entry.js +1 -0
  21. package/dist/brandsync-wc/{p-4f4c0c68.entry.js → p-26e0ab15.entry.js} +1 -1
  22. package/dist/brandsync-wc/{p-6ea02b98.entry.js → p-270b2cb0.entry.js} +1 -1
  23. package/dist/brandsync-wc/{p-54d91ac9.entry.js → p-27663faf.entry.js} +1 -1
  24. package/dist/brandsync-wc/p-28c38959.entry.js +1 -0
  25. package/dist/brandsync-wc/{p-70c650b2.entry.js → p-2a8b2ac9.entry.js} +1 -1
  26. package/dist/brandsync-wc/{p-84d6d6eb.entry.js → p-2a967b45.entry.js} +1 -1
  27. package/dist/brandsync-wc/p-2b3d0bd4.entry.js +1 -0
  28. package/dist/brandsync-wc/p-30736034.entry.js +1 -0
  29. package/dist/brandsync-wc/{p-9396c67e.entry.js → p-30ff0659.entry.js} +1 -1
  30. package/dist/brandsync-wc/{p-a7fa839a.entry.js → p-313ec145.entry.js} +1 -1
  31. package/dist/brandsync-wc/{p-3c6ec5d0.entry.js → p-3627e0c6.entry.js} +1 -1
  32. package/dist/brandsync-wc/{p-e8ae626d.entry.js → p-38a2210a.entry.js} +1 -1
  33. package/dist/brandsync-wc/{p-3bad5e1b.entry.js → p-391504ab.entry.js} +1 -1
  34. package/dist/brandsync-wc/{p-47b7fe76.entry.js → p-3b212a8a.entry.js} +1 -1
  35. package/dist/brandsync-wc/p-3c6980b9.entry.js +1 -0
  36. package/dist/brandsync-wc/{p-d5a6098d.entry.js → p-42fcf134.entry.js} +1 -1
  37. package/dist/brandsync-wc/p-4928c4ad.entry.js +1 -0
  38. package/dist/brandsync-wc/{p-844205d9.entry.js → p-4c51da66.entry.js} +1 -1
  39. package/dist/brandsync-wc/{p-f3eca1ce.entry.js → p-4d1ee16e.entry.js} +1 -1
  40. package/dist/brandsync-wc/{p-5b933ff4.entry.js → p-4dfd4715.entry.js} +1 -1
  41. package/dist/brandsync-wc/p-4ffcf41a.entry.js +1 -0
  42. package/dist/brandsync-wc/{p-11d80e17.entry.js → p-527fd08d.entry.js} +1 -1
  43. package/dist/brandsync-wc/{p-43d5f708.entry.js → p-5371b31c.entry.js} +1 -1
  44. package/dist/brandsync-wc/p-568de1b0.entry.js +1 -0
  45. package/dist/brandsync-wc/{p-dcbeb143.entry.js → p-590deea0.entry.js} +1 -1
  46. package/dist/brandsync-wc/{p-2bd30709.entry.js → p-64e19200.entry.js} +1 -1
  47. package/dist/brandsync-wc/p-6afacd47.entry.js +1 -0
  48. package/dist/brandsync-wc/p-6f32a08e.entry.js +1 -0
  49. package/dist/brandsync-wc/{p-5c61eb06.entry.js → p-70a5897b.entry.js} +1 -1
  50. package/dist/brandsync-wc/{p-8134f97c.entry.js → p-7160a72e.entry.js} +1 -1
  51. package/dist/brandsync-wc/p-776b677f.entry.js +1 -0
  52. package/dist/brandsync-wc/{p-b142d8c9.entry.js → p-78c94cfe.entry.js} +1 -1
  53. package/dist/brandsync-wc/p-7bff3aa5.entry.js +1 -0
  54. package/dist/brandsync-wc/{p-fdc168ec.entry.js → p-7c741b8d.entry.js} +1 -1
  55. package/dist/brandsync-wc/p-86f04e9e.entry.js +1 -0
  56. package/dist/brandsync-wc/{p-4eaa9ed4.entry.js → p-8a18864a.entry.js} +1 -1
  57. package/dist/brandsync-wc/{p-35f76ea7.entry.js → p-8a606b38.entry.js} +1 -1
  58. package/dist/brandsync-wc/p-8ac86d16.entry.js +1 -0
  59. package/dist/brandsync-wc/p-8b21f623.entry.js +1 -0
  60. package/dist/brandsync-wc/{p-1bd99669.entry.js → p-8d1ad4b0.entry.js} +1 -1
  61. package/dist/brandsync-wc/{p-07673a48.entry.js → p-8e107d7a.entry.js} +1 -1
  62. package/dist/brandsync-wc/{p-d9184940.entry.js → p-90d8d45f.entry.js} +1 -1
  63. package/dist/brandsync-wc/p-9751a12d.entry.js +1 -0
  64. package/dist/brandsync-wc/{p-857987f9.entry.js → p-9868ee72.entry.js} +1 -1
  65. package/dist/brandsync-wc/{p-f98dfa85.entry.js → p-9ba500f1.entry.js} +1 -1
  66. package/dist/brandsync-wc/p-9fa7bd83.entry.js +1 -0
  67. package/dist/brandsync-wc/p-BSt9HeTa.js +1 -0
  68. package/dist/brandsync-wc/{p-c835afb7.entry.js → p-a2bfbf02.entry.js} +1 -1
  69. package/dist/brandsync-wc/{p-ffccc1ee.entry.js → p-a50c5e68.entry.js} +1 -1
  70. package/dist/brandsync-wc/{p-3bdeeb9d.entry.js → p-a688a7ca.entry.js} +1 -1
  71. package/dist/brandsync-wc/{p-f43a7f16.entry.js → p-a92c0f06.entry.js} +1 -1
  72. package/dist/brandsync-wc/p-ab301e9d.entry.js +1 -0
  73. package/dist/brandsync-wc/{p-065c7e7c.entry.js → p-ab99b8c3.entry.js} +1 -1
  74. package/dist/brandsync-wc/{p-3cb79512.entry.js → p-c01e231e.entry.js} +1 -1
  75. package/dist/brandsync-wc/p-d15e48eb.entry.js +1 -0
  76. package/dist/brandsync-wc/p-d484e976.entry.js +1 -0
  77. package/dist/brandsync-wc/{p-d25adab2.entry.js → p-d80eecf4.entry.js} +1 -1
  78. package/dist/brandsync-wc/p-dc2ea372.entry.js +1 -0
  79. package/dist/brandsync-wc/p-de0dfd1c.entry.js +1 -0
  80. package/dist/brandsync-wc/p-e1d30e31.entry.js +1 -0
  81. package/dist/brandsync-wc/{p-a7fb0b59.entry.js → p-e5235e76.entry.js} +1 -1
  82. package/dist/brandsync-wc/{p-00be9a64.entry.js → p-e776d145.entry.js} +1 -1
  83. package/dist/brandsync-wc/{p-ffc07eb5.entry.js → p-e7c80f48.entry.js} +1 -1
  84. package/dist/brandsync-wc/{p-e0a9f2d1.entry.js → p-eb680cff.entry.js} +1 -1
  85. package/dist/brandsync-wc/p-ebcd105d.entry.js +1 -0
  86. package/dist/brandsync-wc/p-f10b19a8.entry.js +1 -0
  87. package/dist/brandsync-wc/{p-5057e4fe.entry.js → p-f3b60029.entry.js} +1 -1
  88. package/dist/brandsync-wc/p-f4628861.entry.js +1 -0
  89. package/dist/brandsync-wc/{p-b02bf1ca.entry.js → p-f4796801.entry.js} +1 -1
  90. package/dist/brandsync-wc/p-f5e6fdf8.entry.js +1 -0
  91. package/dist/brandsync-wc/p-f93127e1.entry.js +1 -0
  92. package/dist/brandsync-wc/{p-57ff14ca.entry.js → p-f96f45ae.entry.js} +1 -1
  93. package/dist/brandsync-wc/{p-debc83cc.entry.js → p-feb46fa6.entry.js} +1 -1
  94. package/dist/cjs/brandsync-wc.cjs.js +1 -1
  95. package/dist/cjs/bs-accordion-group.cjs.entry.js +1 -1
  96. package/dist/cjs/bs-accordion.cjs.entry.js +60 -3
  97. package/dist/cjs/bs-ai-disclaimer.cjs.entry.js +1 -1
  98. package/dist/cjs/bs-ai-greeting.cjs.entry.js +1 -1
  99. package/dist/cjs/bs-ai-thinking.cjs.entry.js +1 -1
  100. package/dist/cjs/bs-app-recent-item_3.cjs.entry.js +133 -0
  101. package/dist/cjs/bs-app-shell.cjs.entry.js +1 -1
  102. package/dist/cjs/bs-app-switcher.cjs.entry.js +208 -0
  103. package/dist/cjs/bs-attachment-list.cjs.entry.js +1 -1
  104. package/dist/cjs/bs-attachment.cjs.entry.js +1 -1
  105. package/dist/cjs/bs-avatar.cjs.entry.js +1 -1
  106. package/dist/cjs/bs-badge.cjs.entry.js +1 -1
  107. package/dist/cjs/bs-breadcrumb-overflow.cjs.entry.js +1 -1
  108. package/dist/cjs/bs-breadcrumb.cjs.entry.js +1 -1
  109. package/dist/cjs/bs-breadcrumbs.cjs.entry.js +1 -1
  110. package/dist/cjs/bs-button-skeleton.cjs.entry.js +1 -1
  111. package/dist/cjs/bs-button_2.cjs.entry.js +198 -0
  112. package/dist/cjs/bs-card.cjs.entry.js +1 -1
  113. package/dist/cjs/bs-carousel.cjs.entry.js +70 -5
  114. package/dist/cjs/bs-chatbot-feedback.cjs.entry.js +1 -1
  115. package/dist/cjs/bs-chatbot-header.cjs.entry.js +1 -1
  116. package/dist/cjs/bs-chatbot-response-action.cjs.entry.js +2 -2
  117. package/dist/cjs/bs-chatbot-sources-drawer.cjs.entry.js +1 -1
  118. package/dist/cjs/bs-chatbot-suggestion-button.cjs.entry.js +2 -2
  119. package/dist/cjs/bs-checkbox-skeleton.cjs.entry.js +1 -1
  120. package/dist/cjs/bs-checkbox.cjs.entry.js +2 -2
  121. package/dist/cjs/bs-chip-filter.cjs.entry.js +2 -2
  122. package/dist/cjs/bs-chip-informative.cjs.entry.js +1 -1
  123. package/dist/cjs/bs-chip-input.cjs.entry.js +2 -2
  124. package/dist/cjs/bs-citation-preview.cjs.entry.js +1 -1
  125. package/dist/cjs/bs-command-palette.cjs.entry.js +1 -1
  126. package/dist/cjs/bs-compact-menu-block_2.cjs.entry.js +46 -0
  127. package/dist/cjs/bs-company-switcher.cjs.entry.js +211 -0
  128. package/dist/cjs/bs-composer-status-banner.cjs.entry.js +1 -1
  129. package/dist/cjs/bs-composer.cjs.entry.js +1 -1
  130. package/dist/cjs/bs-container.cjs.entry.js +1 -1
  131. package/dist/cjs/bs-data-table.cjs.entry.js +2 -2
  132. package/dist/cjs/bs-datepicker.cjs.entry.js +1 -1
  133. package/dist/cjs/bs-dialog.cjs.entry.js +54 -3
  134. package/dist/cjs/bs-divider.cjs.entry.js +1 -1
  135. package/dist/cjs/bs-empty-state.cjs.entry.js +1 -1
  136. package/dist/cjs/bs-error-page.cjs.entry.js +1 -1
  137. package/dist/cjs/bs-file-upload-item.cjs.entry.js +1 -1
  138. package/dist/cjs/bs-file-upload.cjs.entry.js +1 -1
  139. package/dist/cjs/bs-global-search.cjs.entry.js +2 -2
  140. package/dist/cjs/bs-grid.cjs.entry.js +2 -2
  141. package/dist/cjs/bs-icon-button.cjs.entry.js +9 -2
  142. package/dist/cjs/bs-icon-tile.cjs.entry.js +10 -2
  143. package/dist/cjs/bs-inline-tab.cjs.entry.js +2 -2
  144. package/dist/cjs/bs-input_3.cjs.entry.js +5 -5
  145. package/dist/cjs/bs-key-caps.cjs.entry.js +1 -1
  146. package/dist/cjs/bs-key.cjs.entry.js +1 -1
  147. package/dist/cjs/bs-keyboard-shortcuts.cjs.entry.js +2 -2
  148. package/dist/cjs/bs-list-item_2.cjs.entry.js +261 -0
  149. package/dist/cjs/bs-list.cjs.entry.js +1 -1
  150. package/dist/cjs/bs-mega-menu.cjs.entry.js +120 -0
  151. package/dist/cjs/bs-message-list.cjs.entry.js +1 -1
  152. package/dist/cjs/bs-message.cjs.entry.js +1 -1
  153. package/dist/cjs/bs-navigation-drawer-item.cjs.entry.js +1 -1
  154. package/dist/cjs/bs-navigation-drawer.cjs.entry.js +2 -2
  155. package/dist/cjs/bs-navigation-header.cjs.entry.js +5 -2
  156. package/dist/cjs/bs-page-header.cjs.entry.js +66 -0
  157. package/dist/cjs/bs-pagination.cjs.entry.js +2 -2
  158. package/dist/cjs/bs-presence.cjs.entry.js +88 -0
  159. package/dist/cjs/bs-progress-linear.cjs.entry.js +2 -2
  160. package/dist/cjs/bs-progress.cjs.entry.js +2 -2
  161. package/dist/cjs/bs-qr-code.cjs.entry.js +1 -1
  162. package/dist/cjs/bs-radio.cjs.entry.js +4 -4
  163. package/dist/cjs/bs-search-item.cjs.entry.js +2 -2
  164. package/dist/cjs/bs-session-timeout.cjs.entry.js +1 -1
  165. package/dist/cjs/bs-shortcut-row.cjs.entry.js +1 -1
  166. package/dist/cjs/bs-side-panel.cjs.entry.js +52 -3
  167. package/dist/cjs/bs-slider.cjs.entry.js +1 -1
  168. package/dist/cjs/bs-snackbar.cjs.entry.js +1 -1
  169. package/dist/cjs/bs-source-link.cjs.entry.js +4 -3
  170. package/dist/cjs/bs-spinner.cjs.entry.js +1 -1
  171. package/dist/cjs/bs-split-pane.cjs.entry.js +1 -1
  172. package/dist/cjs/bs-stack.cjs.entry.js +1 -1
  173. package/dist/cjs/bs-stepper-step.cjs.entry.js +1 -1
  174. package/dist/cjs/bs-stepper.cjs.entry.js +1 -1
  175. package/dist/cjs/bs-switch.cjs.entry.js +4 -11
  176. package/dist/cjs/bs-tab_3.cjs.entry.js +3 -3
  177. package/dist/cjs/bs-timepicker.cjs.entry.js +2 -2
  178. package/dist/cjs/bs-toast.cjs.entry.js +1 -1
  179. package/dist/cjs/bs-tooltip-trigger.cjs.entry.js +61 -3
  180. package/dist/cjs/bs-tooltip.cjs.entry.js +1 -1
  181. package/dist/cjs/bs-tree-item.cjs.entry.js +3 -3
  182. package/dist/cjs/bs-tree.cjs.entry.js +1 -1
  183. package/dist/cjs/loader.cjs.js +1 -1
  184. package/dist/cjs/motion-DOlI71lc.js +43 -0
  185. package/dist/collection/collection-manifest.json +10 -0
  186. package/dist/collection/components/bs-accordion/bs-accordion.cmp.test.js +21 -6
  187. package/dist/collection/components/bs-accordion/bs-accordion.css +15 -0
  188. package/dist/collection/components/bs-accordion/bs-accordion.js +71 -2
  189. package/dist/collection/components/bs-accordion-group/bs-accordion-group.js +1 -1
  190. package/dist/collection/components/bs-ai-disclaimer/bs-ai-disclaimer.js +1 -1
  191. package/dist/collection/components/bs-ai-greeting/bs-ai-greeting.js +1 -1
  192. package/dist/collection/components/bs-ai-thinking/bs-ai-thinking.js +1 -1
  193. package/dist/collection/components/bs-app-recent-item/bs-app-recent-item.cmp.test.js +52 -0
  194. package/dist/collection/components/bs-app-recent-item/bs-app-recent-item.css +111 -0
  195. package/dist/collection/components/bs-app-recent-item/bs-app-recent-item.js +184 -0
  196. package/dist/collection/components/bs-app-recent-item/bs-app-recent-item.stories.js +28 -0
  197. package/dist/collection/components/bs-app-shell/bs-app-shell.js +1 -1
  198. package/dist/collection/components/bs-app-switcher/bs-app-switcher.cmp.test.js +179 -0
  199. package/dist/collection/components/bs-app-switcher/bs-app-switcher.css +173 -0
  200. package/dist/collection/components/bs-app-switcher/bs-app-switcher.js +902 -0
  201. package/dist/collection/components/bs-app-switcher/bs-app-switcher.stories.js +91 -0
  202. package/dist/collection/components/bs-app-tile/bs-app-tile.cmp.test.js +58 -0
  203. package/dist/collection/components/bs-app-tile/bs-app-tile.css +104 -0
  204. package/dist/collection/components/bs-app-tile/bs-app-tile.js +190 -0
  205. package/dist/collection/components/bs-app-tile/bs-app-tile.stories.js +43 -0
  206. package/dist/collection/components/bs-attachment/bs-attachment.js +1 -1
  207. package/dist/collection/components/bs-attachment-list/bs-attachment-list.js +1 -1
  208. package/dist/collection/components/bs-avatar/bs-avatar.css +3 -3
  209. package/dist/collection/components/bs-badge/bs-badge.js +1 -1
  210. package/dist/collection/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.js +1 -1
  211. package/dist/collection/components/bs-breadcrumb/bs-breadcrumb-overflow/bs-breadcrumb-overflow.js +1 -1
  212. package/dist/collection/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.js +1 -1
  213. package/dist/collection/components/bs-button/bs-button/bs-button.cmp.test.js +12 -0
  214. package/dist/collection/components/bs-button/bs-button/bs-button.css +2 -0
  215. package/dist/collection/components/bs-button/bs-button/bs-button.js +4 -1
  216. package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.cmp.test.js +13 -0
  217. package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.css +2 -0
  218. package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.js +28 -1
  219. package/dist/collection/components/bs-button-skeleton/bs-button-skeleton.js +1 -1
  220. package/dist/collection/components/bs-card/bs-card.js +1 -1
  221. package/dist/collection/components/bs-carousel/bs-carousel.cmp.test.js +39 -1
  222. package/dist/collection/components/bs-carousel/bs-carousel.css +9 -0
  223. package/dist/collection/components/bs-carousel/bs-carousel.js +75 -4
  224. package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.js +1 -1
  225. package/dist/collection/components/bs-chatbot-header/bs-chatbot-header.js +1 -1
  226. package/dist/collection/components/bs-chatbot-response-action/bs-chatbot-response-action.css +2 -0
  227. package/dist/collection/components/bs-chatbot-response-action/bs-chatbot-response-action.js +2 -1
  228. package/dist/collection/components/bs-chatbot-sources-drawer/bs-chatbot-sources-drawer.js +1 -1
  229. package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.css +2 -0
  230. package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.js +2 -1
  231. package/dist/collection/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.js +1 -1
  232. package/dist/collection/components/bs-checkbox/bs-checkbox.css +7 -0
  233. package/dist/collection/components/bs-checkbox/bs-checkbox.js +2 -1
  234. package/dist/collection/components/bs-chip/bs-chip-filter/bs-chip-filter.css +2 -0
  235. package/dist/collection/components/bs-chip/bs-chip-filter/bs-chip-filter.js +2 -1
  236. package/dist/collection/components/bs-chip/bs-chip-informative/bs-chip-informative.js +1 -1
  237. package/dist/collection/components/bs-chip/bs-chip-input/bs-chip-input.css +7 -0
  238. package/dist/collection/components/bs-chip/bs-chip-input/bs-chip-input.js +2 -1
  239. package/dist/collection/components/bs-citation-preview/bs-citation-preview.js +1 -1
  240. package/dist/collection/components/bs-command-palette/bs-command-palette.js +1 -1
  241. package/dist/collection/components/bs-compact-menu-block/bs-compact-menu-block.cmp.test.js +32 -0
  242. package/dist/collection/components/bs-compact-menu-block/bs-compact-menu-block.css +43 -0
  243. package/dist/collection/components/bs-compact-menu-block/bs-compact-menu-block.js +67 -0
  244. package/dist/collection/components/bs-compact-menu-block/bs-compact-menu-block.stories.js +25 -0
  245. package/dist/collection/components/bs-company-switcher/bs-company-switcher.cmp.test.js +171 -0
  246. package/dist/collection/components/bs-company-switcher/bs-company-switcher.css +196 -0
  247. package/dist/collection/components/bs-company-switcher/bs-company-switcher.js +720 -0
  248. package/dist/collection/components/bs-company-switcher/bs-company-switcher.stories.js +78 -0
  249. package/dist/collection/components/bs-composer/bs-composer.js +1 -1
  250. package/dist/collection/components/bs-composer-status-banner/bs-composer-status-banner.js +1 -1
  251. package/dist/collection/components/bs-container/bs-container.js +1 -1
  252. package/dist/collection/components/bs-data-table/bs-data-table.js +2 -2
  253. package/dist/collection/components/bs-datepicker/bs-datepicker.js +1 -1
  254. package/dist/collection/components/bs-dialog/bs-dialog.cmp.test.js +32 -0
  255. package/dist/collection/components/bs-dialog/bs-dialog.css +16 -0
  256. package/dist/collection/components/bs-dialog/bs-dialog.js +61 -3
  257. package/dist/collection/components/bs-divider/bs-divider.js +1 -1
  258. package/dist/collection/components/bs-empty-state/bs-empty-state.js +1 -1
  259. package/dist/collection/components/bs-error-page/bs-error-page.js +1 -1
  260. package/dist/collection/components/bs-file-upload/bs-file-upload.js +1 -1
  261. package/dist/collection/components/bs-file-upload-item/bs-file-upload-item.js +1 -1
  262. package/dist/collection/components/bs-global-search/bs-global-search.js +2 -2
  263. package/dist/collection/components/bs-grid/bs-grid.js +2 -2
  264. package/dist/collection/components/bs-icon-tile/bs-icon-tile.js +11 -2
  265. package/dist/collection/components/bs-input/bs-input.js +2 -2
  266. package/dist/collection/components/bs-key/bs-key.js +1 -1
  267. package/dist/collection/components/bs-key-caps/bs-key-caps.js +1 -1
  268. package/dist/collection/components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.js +2 -2
  269. package/dist/collection/components/bs-list/bs-list.js +1 -1
  270. package/dist/collection/components/bs-list-item/bs-list-item.css +2 -0
  271. package/dist/collection/components/bs-list-item/bs-list-item.js +2 -1
  272. package/dist/collection/components/bs-mega-menu/bs-mega-menu.cmp.test.js +204 -0
  273. package/dist/collection/components/bs-mega-menu/bs-mega-menu.css +143 -0
  274. package/dist/collection/components/bs-mega-menu/bs-mega-menu.js +443 -0
  275. package/dist/collection/components/bs-mega-menu/bs-mega-menu.stories.js +188 -0
  276. package/dist/collection/components/bs-menu/bs-menu.js +1 -1
  277. package/dist/collection/components/bs-menu-block/bs-menu-block.cmp.test.js +44 -0
  278. package/dist/collection/components/bs-menu-block/bs-menu-block.css +106 -0
  279. package/dist/collection/components/bs-menu-block/bs-menu-block.js +147 -0
  280. package/dist/collection/components/bs-menu-block/bs-menu-block.stories.js +36 -0
  281. package/dist/collection/components/bs-menu-item/bs-menu-item.css +2 -0
  282. package/dist/collection/components/bs-menu-item/bs-menu-item.js +2 -1
  283. package/dist/collection/components/bs-message/bs-message.js +1 -1
  284. package/dist/collection/components/bs-message-list/bs-message-list.js +1 -1
  285. package/dist/collection/components/bs-page-header/bs-page-header.cmp.test.js +206 -0
  286. package/dist/collection/components/bs-page-header/bs-page-header.css +252 -0
  287. package/dist/collection/components/bs-page-header/bs-page-header.js +351 -0
  288. package/dist/collection/components/bs-page-header/bs-page-header.stories.js +177 -0
  289. package/dist/collection/components/bs-pagination/bs-pagination.css +2 -0
  290. package/dist/collection/components/bs-pagination/bs-pagination.js +2 -1
  291. package/dist/collection/components/bs-popover/bs-popover.cmp.test.js +20 -0
  292. package/dist/collection/components/bs-popover/bs-popover.css +3 -0
  293. package/dist/collection/components/bs-popover/bs-popover.js +59 -2
  294. package/dist/collection/components/bs-presence/bs-presence.cmp.test.js +64 -0
  295. package/dist/collection/components/bs-presence/bs-presence.css +80 -0
  296. package/dist/collection/components/bs-presence/bs-presence.js +233 -0
  297. package/dist/collection/components/bs-presence/bs-presence.stories.js +101 -0
  298. package/dist/collection/components/bs-progress/bs-progress.js +2 -2
  299. package/dist/collection/components/bs-progress-linear/bs-progress-linear.js +2 -2
  300. package/dist/collection/components/bs-qr-code/bs-qr-code.js +1 -1
  301. package/dist/collection/components/bs-radio/bs-radio.css +6 -0
  302. package/dist/collection/components/bs-radio/bs-radio.js +4 -3
  303. package/dist/collection/components/bs-ripple/bs-ripple.cmp.test.js +45 -0
  304. package/dist/collection/components/bs-ripple/bs-ripple.css +32 -0
  305. package/dist/collection/components/bs-ripple/bs-ripple.js +188 -0
  306. package/dist/collection/components/bs-ripple/bs-ripple.stories.js +33 -0
  307. package/dist/collection/components/bs-search-item/bs-search-item.css +2 -0
  308. package/dist/collection/components/bs-search-item/bs-search-item.js +2 -1
  309. package/dist/collection/components/bs-session-timeout/bs-session-timeout.js +1 -1
  310. package/dist/collection/components/bs-shortcut-row/bs-shortcut-row.js +1 -1
  311. package/dist/collection/components/bs-side-panel/bs-side-panel.cmp.test.js +19 -0
  312. package/dist/collection/components/bs-side-panel/bs-side-panel.css +8 -0
  313. package/dist/collection/components/bs-side-panel/bs-side-panel.js +58 -2
  314. package/dist/collection/components/bs-skeleton/bs-skeleton.js +1 -1
  315. package/dist/collection/components/bs-slider/bs-slider.js +1 -1
  316. package/dist/collection/components/bs-snackbar/bs-snackbar.js +1 -1
  317. package/dist/collection/components/bs-source-link/bs-source-link.css +2 -0
  318. package/dist/collection/components/bs-source-link/bs-source-link.js +4 -2
  319. package/dist/collection/components/bs-spinner/bs-spinner.js +1 -1
  320. package/dist/collection/components/bs-split-pane/bs-split-pane.js +1 -1
  321. package/dist/collection/components/bs-stack/bs-stack.js +1 -1
  322. package/dist/collection/components/bs-stepper/bs-stepper/bs-stepper.js +1 -1
  323. package/dist/collection/components/bs-stepper/bs-stepper-step/bs-stepper-step.js +1 -1
  324. package/dist/collection/components/bs-switch/bs-switch.css +9 -0
  325. package/dist/collection/components/bs-switch/bs-switch.js +4 -10
  326. package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.css +2 -0
  327. package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.js +2 -1
  328. package/dist/collection/components/bs-tab/bs-tab/bs-tab.js +2 -1
  329. package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.js +1 -1
  330. package/dist/collection/components/bs-timepicker/bs-timepicker.js +2 -2
  331. package/dist/collection/components/bs-toast/bs-toast.js +1 -1
  332. package/dist/collection/components/bs-tooltip/bs-tooltip.js +1 -1
  333. package/dist/collection/components/bs-tooltip-trigger/bs-tooltip-trigger.cmp.test.js +53 -2
  334. package/dist/collection/components/bs-tooltip-trigger/bs-tooltip-trigger.css +3 -0
  335. package/dist/collection/components/bs-tooltip-trigger/bs-tooltip-trigger.js +70 -3
  336. package/dist/collection/components/bs-tree/bs-tree.js +1 -1
  337. package/dist/collection/components/bs-tree-item/bs-tree-item.css +2 -0
  338. package/dist/collection/components/bs-tree-item/bs-tree-item.js +3 -2
  339. package/dist/collection/components/bs-whats-new-entry/bs-whats-new-entry.js +1 -1
  340. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.js +2 -2
  341. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.js +1 -1
  342. package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.cmp.test.js +79 -0
  343. package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.css +46 -0
  344. package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.js +10 -1
  345. package/dist/collection/utils/motion.js +37 -0
  346. package/dist/components/bs-accordion-group.js +1 -1
  347. package/dist/components/bs-accordion.js +1 -1
  348. package/dist/components/bs-ai-disclaimer.js +1 -1
  349. package/dist/components/bs-ai-greeting.js +1 -1
  350. package/dist/components/bs-ai-thinking.js +1 -1
  351. package/dist/components/bs-app-recent-item.d.ts +11 -0
  352. package/dist/components/bs-app-recent-item.js +1 -0
  353. package/dist/components/bs-app-shell.js +1 -1
  354. package/dist/components/bs-app-switcher.d.ts +11 -0
  355. package/dist/components/bs-app-switcher.js +1 -0
  356. package/dist/components/bs-app-tile.d.ts +11 -0
  357. package/dist/components/bs-app-tile.js +1 -0
  358. package/dist/components/bs-attachment-list.js +1 -1
  359. package/dist/components/bs-attachment.js +1 -1
  360. package/dist/components/bs-avatar.js +1 -1
  361. package/dist/components/bs-badge.js +1 -1
  362. package/dist/components/bs-breadcrumb-overflow.js +1 -1
  363. package/dist/components/bs-breadcrumb.js +1 -1
  364. package/dist/components/bs-breadcrumbs.js +1 -1
  365. package/dist/components/bs-button-skeleton.js +1 -1
  366. package/dist/components/bs-button.js +1 -1
  367. package/dist/components/bs-card.js +1 -1
  368. package/dist/components/bs-carousel.js +1 -1
  369. package/dist/components/bs-chatbot-feedback.js +1 -1
  370. package/dist/components/bs-chatbot-header.js +1 -1
  371. package/dist/components/bs-chatbot-response-action.js +1 -1
  372. package/dist/components/bs-chatbot-sources-drawer.js +1 -1
  373. package/dist/components/bs-chatbot-suggestion-button.js +1 -1
  374. package/dist/components/bs-checkbox-skeleton.js +1 -1
  375. package/dist/components/bs-checkbox.js +1 -1
  376. package/dist/components/bs-chip-filter.js +1 -1
  377. package/dist/components/bs-chip-informative.js +1 -1
  378. package/dist/components/bs-chip-input.js +1 -1
  379. package/dist/components/bs-citation-preview.js +1 -1
  380. package/dist/components/bs-command-palette.js +1 -1
  381. package/dist/components/bs-compact-menu-block.d.ts +11 -0
  382. package/dist/components/bs-compact-menu-block.js +1 -0
  383. package/dist/components/bs-company-switcher.d.ts +11 -0
  384. package/dist/components/bs-company-switcher.js +1 -0
  385. package/dist/components/bs-composer-status-banner.js +1 -1
  386. package/dist/components/bs-composer.js +1 -1
  387. package/dist/components/bs-container.js +1 -1
  388. package/dist/components/bs-cookie-consent.js +1 -1
  389. package/dist/components/bs-data-table.js +1 -1
  390. package/dist/components/bs-datepicker.js +1 -1
  391. package/dist/components/bs-dialog.js +1 -1
  392. package/dist/components/bs-divider.js +1 -1
  393. package/dist/components/bs-empty-state.js +1 -1
  394. package/dist/components/bs-error-page.js +1 -1
  395. package/dist/components/bs-file-upload-item.js +1 -1
  396. package/dist/components/bs-file-upload.js +1 -1
  397. package/dist/components/bs-global-search.js +1 -1
  398. package/dist/components/bs-grid.js +1 -1
  399. package/dist/components/bs-icon-button.js +1 -1
  400. package/dist/components/bs-icon-tile.js +1 -1
  401. package/dist/components/bs-inline-tab.js +1 -1
  402. package/dist/components/bs-input.js +1 -1
  403. package/dist/components/bs-key-caps.js +1 -1
  404. package/dist/components/bs-key.js +1 -1
  405. package/dist/components/bs-keyboard-shortcuts.js +1 -1
  406. package/dist/components/bs-list-item.js +1 -1
  407. package/dist/components/bs-list.js +1 -1
  408. package/dist/components/bs-mega-menu.d.ts +11 -0
  409. package/dist/components/bs-mega-menu.js +1 -0
  410. package/dist/components/bs-menu-block.d.ts +11 -0
  411. package/dist/components/bs-menu-block.js +1 -0
  412. package/dist/components/bs-menu-item.js +1 -1
  413. package/dist/components/bs-menu.js +1 -1
  414. package/dist/components/bs-message-list.js +1 -1
  415. package/dist/components/bs-message.js +1 -1
  416. package/dist/components/bs-navigation-drawer-item.js +1 -1
  417. package/dist/components/bs-navigation-drawer.js +1 -1
  418. package/dist/components/bs-navigation-header.js +1 -1
  419. package/dist/components/bs-onboarding-checklist.js +1 -1
  420. package/dist/components/bs-page-header.d.ts +11 -0
  421. package/dist/components/bs-page-header.js +1 -0
  422. package/dist/components/bs-pagination.js +1 -1
  423. package/dist/components/bs-popover.js +1 -1
  424. package/dist/components/bs-presence.d.ts +11 -0
  425. package/dist/components/bs-presence.js +1 -0
  426. package/dist/components/bs-product-tour.js +1 -1
  427. package/dist/components/bs-progress-linear.js +1 -1
  428. package/dist/components/bs-progress.js +1 -1
  429. package/dist/components/bs-qr-code.js +1 -1
  430. package/dist/components/bs-radio.js +1 -1
  431. package/dist/components/bs-ripple.d.ts +11 -0
  432. package/dist/components/bs-ripple.js +1 -0
  433. package/dist/components/bs-search-item.js +1 -1
  434. package/dist/components/bs-session-timeout.js +1 -1
  435. package/dist/components/bs-shortcut-row.js +1 -1
  436. package/dist/components/bs-side-panel.js +1 -1
  437. package/dist/components/bs-skeleton.js +1 -1
  438. package/dist/components/bs-slider.js +1 -1
  439. package/dist/components/bs-snackbar.js +1 -1
  440. package/dist/components/bs-source-link.js +1 -1
  441. package/dist/components/bs-spinner.js +1 -1
  442. package/dist/components/bs-split-pane.js +1 -1
  443. package/dist/components/bs-stack.js +1 -1
  444. package/dist/components/bs-stepper-step.js +1 -1
  445. package/dist/components/bs-stepper.js +1 -1
  446. package/dist/components/bs-switch.js +1 -1
  447. package/dist/components/bs-tab.js +1 -1
  448. package/dist/components/bs-tabs.js +1 -1
  449. package/dist/components/bs-timepicker.js +1 -1
  450. package/dist/components/bs-toast.js +1 -1
  451. package/dist/components/bs-tooltip-trigger.js +1 -1
  452. package/dist/components/bs-tooltip.js +1 -1
  453. package/dist/components/bs-tree-item.js +1 -1
  454. package/dist/components/bs-tree.js +1 -1
  455. package/dist/components/bs-whats-new-entry.js +1 -1
  456. package/dist/components/bs-whats-new.js +1 -1
  457. package/dist/components/p--Tyv3LIl.js +1 -0
  458. package/dist/components/p-4yShCgRb.js +1 -0
  459. package/dist/components/p-6Rr9bjVN.js +1 -0
  460. package/dist/components/{p-CervX0wH.js → p-BHzj13sd.js} +1 -1
  461. package/dist/components/p-BIxcCDgl.js +1 -0
  462. package/dist/components/p-BQ4rSQDm.js +1 -0
  463. package/dist/components/p-BSt9HeTa.js +1 -0
  464. package/dist/components/p-BWRkbt0f.js +1 -0
  465. package/dist/components/p-BfCah-Ij.js +1 -0
  466. package/dist/components/p-BpkPo4ay.js +1 -0
  467. package/dist/components/{p-Bp3DIxjT.js → p-CFR3Q0io.js} +1 -1
  468. package/dist/components/p-CHZE_FrW.js +1 -0
  469. package/dist/components/{p-CYzBTzzf.js → p-CVQycAap.js} +1 -1
  470. package/dist/components/{p-DtYTs9Kh.js → p-Cr8cHmpM.js} +1 -1
  471. package/dist/components/p-CvSewXZF.js +1 -0
  472. package/dist/components/{p-Dt4JNhHT.js → p-D3PuUD8Z.js} +1 -1
  473. package/dist/components/p-D5eN9Lfa.js +1 -0
  474. package/dist/components/{p-BDnZvjlq.js → p-DDgzEg1C.js} +1 -1
  475. package/dist/components/p-DF2FcJPs.js +1 -0
  476. package/dist/components/{p-DcjgRtSQ.js → p-DLnZG_G9.js} +1 -1
  477. package/dist/components/{p-CH5atin4.js → p-DXbcyEgd.js} +1 -1
  478. package/dist/components/{p-CRtvJlh8.js → p-DXwatzvM.js} +1 -1
  479. package/dist/components/p-DcD5eV_Z.js +1 -0
  480. package/dist/components/p-Dj393s3S.js +1 -0
  481. package/dist/components/p-DsBToIYE.js +1 -0
  482. package/dist/components/p-DtkTnaOp.js +1 -0
  483. package/dist/components/{p-DvNED6Lb.js → p-EGNLb4cQ.js} +1 -1
  484. package/dist/components/{p-CRM1wIX9.js → p-Jik5UkAe.js} +1 -1
  485. package/dist/components/p-XZXdZpt4.js +1 -0
  486. package/dist/components/{p-BcYNrEOB.js → p-Y5FyLR8G.js} +1 -1
  487. package/dist/components/{p-DG9eT5yi.js → p-ZfE38vXZ.js} +1 -1
  488. package/dist/components/p-lPTgyF9v.js +1 -0
  489. package/dist/components/p-syO0ipbw.js +1 -0
  490. package/dist/components/p-up01gvHY.js +1 -0
  491. package/dist/esm/brandsync-wc.js +1 -1
  492. package/dist/esm/bs-accordion-group.entry.js +1 -1
  493. package/dist/esm/bs-accordion.entry.js +61 -4
  494. package/dist/esm/bs-ai-disclaimer.entry.js +1 -1
  495. package/dist/esm/bs-ai-greeting.entry.js +1 -1
  496. package/dist/esm/bs-ai-thinking.entry.js +1 -1
  497. package/dist/esm/bs-app-recent-item_3.entry.js +129 -0
  498. package/dist/esm/bs-app-shell.entry.js +1 -1
  499. package/dist/esm/bs-app-switcher.entry.js +206 -0
  500. package/dist/esm/bs-attachment-list.entry.js +1 -1
  501. package/dist/esm/bs-attachment.entry.js +1 -1
  502. package/dist/esm/bs-avatar.entry.js +1 -1
  503. package/dist/esm/bs-badge.entry.js +1 -1
  504. package/dist/esm/bs-breadcrumb-overflow.entry.js +1 -1
  505. package/dist/esm/bs-breadcrumb.entry.js +1 -1
  506. package/dist/esm/bs-breadcrumbs.entry.js +1 -1
  507. package/dist/esm/bs-button-skeleton.entry.js +1 -1
  508. package/dist/esm/bs-button_2.entry.js +195 -0
  509. package/dist/esm/bs-card.entry.js +1 -1
  510. package/dist/esm/bs-carousel.entry.js +70 -5
  511. package/dist/esm/bs-chatbot-feedback.entry.js +1 -1
  512. package/dist/esm/bs-chatbot-header.entry.js +1 -1
  513. package/dist/esm/bs-chatbot-response-action.entry.js +2 -2
  514. package/dist/esm/bs-chatbot-sources-drawer.entry.js +1 -1
  515. package/dist/esm/bs-chatbot-suggestion-button.entry.js +2 -2
  516. package/dist/esm/bs-checkbox-skeleton.entry.js +1 -1
  517. package/dist/esm/bs-checkbox.entry.js +2 -2
  518. package/dist/esm/bs-chip-filter.entry.js +2 -2
  519. package/dist/esm/bs-chip-informative.entry.js +1 -1
  520. package/dist/esm/bs-chip-input.entry.js +2 -2
  521. package/dist/esm/bs-citation-preview.entry.js +1 -1
  522. package/dist/esm/bs-command-palette.entry.js +1 -1
  523. package/dist/esm/bs-compact-menu-block_2.entry.js +43 -0
  524. package/dist/esm/bs-company-switcher.entry.js +209 -0
  525. package/dist/esm/bs-composer-status-banner.entry.js +1 -1
  526. package/dist/esm/bs-composer.entry.js +1 -1
  527. package/dist/esm/bs-container.entry.js +1 -1
  528. package/dist/esm/bs-data-table.entry.js +2 -2
  529. package/dist/esm/bs-datepicker.entry.js +1 -1
  530. package/dist/esm/bs-dialog.entry.js +55 -4
  531. package/dist/esm/bs-divider.entry.js +1 -1
  532. package/dist/esm/bs-empty-state.entry.js +1 -1
  533. package/dist/esm/bs-error-page.entry.js +1 -1
  534. package/dist/esm/bs-file-upload-item.entry.js +1 -1
  535. package/dist/esm/bs-file-upload.entry.js +1 -1
  536. package/dist/esm/bs-global-search.entry.js +2 -2
  537. package/dist/esm/bs-grid.entry.js +2 -2
  538. package/dist/esm/bs-icon-button.entry.js +9 -2
  539. package/dist/esm/bs-icon-tile.entry.js +11 -3
  540. package/dist/esm/bs-inline-tab.entry.js +2 -2
  541. package/dist/esm/bs-input_3.entry.js +5 -5
  542. package/dist/esm/bs-key-caps.entry.js +1 -1
  543. package/dist/esm/bs-key.entry.js +1 -1
  544. package/dist/esm/bs-keyboard-shortcuts.entry.js +2 -2
  545. package/dist/esm/bs-list-item_2.entry.js +258 -0
  546. package/dist/esm/bs-list.entry.js +1 -1
  547. package/dist/esm/bs-mega-menu.entry.js +118 -0
  548. package/dist/esm/bs-message-list.entry.js +1 -1
  549. package/dist/esm/bs-message.entry.js +1 -1
  550. package/dist/esm/bs-navigation-drawer-item.entry.js +1 -1
  551. package/dist/esm/bs-navigation-drawer.entry.js +2 -2
  552. package/dist/esm/bs-navigation-header.entry.js +5 -2
  553. package/dist/esm/bs-page-header.entry.js +64 -0
  554. package/dist/esm/bs-pagination.entry.js +2 -2
  555. package/dist/esm/bs-presence.entry.js +86 -0
  556. package/dist/esm/bs-progress-linear.entry.js +2 -2
  557. package/dist/esm/bs-progress.entry.js +2 -2
  558. package/dist/esm/bs-qr-code.entry.js +1 -1
  559. package/dist/esm/bs-radio.entry.js +4 -4
  560. package/dist/esm/bs-search-item.entry.js +2 -2
  561. package/dist/esm/bs-session-timeout.entry.js +1 -1
  562. package/dist/esm/bs-shortcut-row.entry.js +1 -1
  563. package/dist/esm/bs-side-panel.entry.js +52 -3
  564. package/dist/esm/bs-slider.entry.js +1 -1
  565. package/dist/esm/bs-snackbar.entry.js +1 -1
  566. package/dist/esm/bs-source-link.entry.js +4 -3
  567. package/dist/esm/bs-spinner.entry.js +1 -1
  568. package/dist/esm/bs-split-pane.entry.js +1 -1
  569. package/dist/esm/bs-stack.entry.js +1 -1
  570. package/dist/esm/bs-stepper-step.entry.js +1 -1
  571. package/dist/esm/bs-stepper.entry.js +1 -1
  572. package/dist/esm/bs-switch.entry.js +4 -11
  573. package/dist/esm/bs-tab_3.entry.js +3 -3
  574. package/dist/esm/bs-timepicker.entry.js +2 -2
  575. package/dist/esm/bs-toast.entry.js +1 -1
  576. package/dist/esm/bs-tooltip-trigger.entry.js +62 -4
  577. package/dist/esm/bs-tooltip.entry.js +1 -1
  578. package/dist/esm/bs-tree-item.entry.js +3 -3
  579. package/dist/esm/bs-tree.entry.js +1 -1
  580. package/dist/esm/loader.js +1 -1
  581. package/dist/esm/motion-BSt9HeTa.js +39 -0
  582. package/dist/types/components/bs-accordion/bs-accordion.d.ts +22 -0
  583. package/dist/types/components/bs-app-recent-item/bs-app-recent-item.cmp.test.d.ts +1 -0
  584. package/dist/types/components/bs-app-recent-item/bs-app-recent-item.d.ts +51 -0
  585. package/dist/types/components/bs-app-recent-item/bs-app-recent-item.stories.d.ts +15 -0
  586. package/dist/types/components/bs-app-switcher/bs-app-switcher.cmp.test.d.ts +1 -0
  587. package/dist/types/components/bs-app-switcher/bs-app-switcher.d.ts +159 -0
  588. package/dist/types/components/bs-app-switcher/bs-app-switcher.stories.d.ts +34 -0
  589. package/dist/types/components/bs-app-tile/bs-app-tile.cmp.test.d.ts +1 -0
  590. package/dist/types/components/bs-app-tile/bs-app-tile.d.ts +51 -0
  591. package/dist/types/components/bs-app-tile/bs-app-tile.stories.d.ts +18 -0
  592. package/dist/types/components/bs-button/bs-button/bs-button.d.ts +3 -0
  593. package/dist/types/components/bs-button/bs-icon-button/bs-icon-button.d.ts +8 -0
  594. package/dist/types/components/bs-carousel/bs-carousel.d.ts +21 -1
  595. package/dist/types/components/bs-chatbot-response-action/bs-chatbot-response-action.d.ts +1 -0
  596. package/dist/types/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.d.ts +1 -0
  597. package/dist/types/components/bs-checkbox/bs-checkbox.d.ts +1 -0
  598. package/dist/types/components/bs-chip/bs-chip-filter/bs-chip-filter.d.ts +1 -0
  599. package/dist/types/components/bs-chip/bs-chip-input/bs-chip-input.d.ts +1 -0
  600. package/dist/types/components/bs-compact-menu-block/bs-compact-menu-block.cmp.test.d.ts +1 -0
  601. package/dist/types/components/bs-compact-menu-block/bs-compact-menu-block.d.ts +28 -0
  602. package/dist/types/components/bs-compact-menu-block/bs-compact-menu-block.stories.d.ts +10 -0
  603. package/dist/types/components/bs-company-switcher/bs-company-switcher.cmp.test.d.ts +1 -0
  604. package/dist/types/components/bs-company-switcher/bs-company-switcher.d.ts +130 -0
  605. package/dist/types/components/bs-company-switcher/bs-company-switcher.stories.d.ts +25 -0
  606. package/dist/types/components/bs-dialog/bs-dialog.d.ts +14 -0
  607. package/dist/types/components/bs-icon-tile/bs-icon-tile.d.ts +5 -0
  608. package/dist/types/components/bs-list-item/bs-list-item.d.ts +1 -0
  609. package/dist/types/components/bs-mega-menu/bs-mega-menu.cmp.test.d.ts +1 -0
  610. package/dist/types/components/bs-mega-menu/bs-mega-menu.d.ts +134 -0
  611. package/dist/types/components/bs-mega-menu/bs-mega-menu.stories.d.ts +55 -0
  612. package/dist/types/components/bs-menu-block/bs-menu-block.cmp.test.d.ts +1 -0
  613. package/dist/types/components/bs-menu-block/bs-menu-block.d.ts +47 -0
  614. package/dist/types/components/bs-menu-block/bs-menu-block.stories.d.ts +15 -0
  615. package/dist/types/components/bs-menu-item/bs-menu-item.d.ts +1 -0
  616. package/dist/types/components/bs-page-header/bs-page-header.cmp.test.d.ts +1 -0
  617. package/dist/types/components/bs-page-header/bs-page-header.d.ts +100 -0
  618. package/dist/types/components/bs-page-header/bs-page-header.stories.d.ts +41 -0
  619. package/dist/types/components/bs-pagination/bs-pagination.d.ts +1 -0
  620. package/dist/types/components/bs-popover/bs-popover.d.ts +15 -0
  621. package/dist/types/components/bs-presence/bs-presence.cmp.test.d.ts +1 -0
  622. package/dist/types/components/bs-presence/bs-presence.d.ts +50 -0
  623. package/dist/types/components/bs-presence/bs-presence.stories.d.ts +15 -0
  624. package/dist/types/components/bs-radio/bs-radio.d.ts +1 -0
  625. package/dist/types/components/bs-ripple/bs-ripple.cmp.test.d.ts +1 -0
  626. package/dist/types/components/bs-ripple/bs-ripple.d.ts +52 -0
  627. package/dist/types/components/bs-ripple/bs-ripple.stories.d.ts +11 -0
  628. package/dist/types/components/bs-search-item/bs-search-item.d.ts +1 -0
  629. package/dist/types/components/bs-side-panel/bs-side-panel.d.ts +13 -0
  630. package/dist/types/components/bs-source-link/bs-source-link.d.ts +1 -0
  631. package/dist/types/components/bs-switch/bs-switch.d.ts +1 -0
  632. package/dist/types/components/bs-tab/bs-inline-tab/bs-inline-tab.d.ts +1 -0
  633. package/dist/types/components/bs-tab/bs-tab/bs-tab.d.ts +1 -0
  634. package/dist/types/components/bs-tooltip-trigger/bs-tooltip-trigger.d.ts +18 -0
  635. package/dist/types/components/bs-tree-item/bs-tree-item.d.ts +1 -0
  636. package/dist/types/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.d.ts +7 -1
  637. package/dist/types/components.d.ts +2422 -0
  638. package/dist/types/svg-inline.d.ts +5 -0
  639. package/dist/types/utils/motion.d.ts +21 -0
  640. package/package.json +2 -1
  641. package/reference.d.ts +53 -23
  642. package/reference.json +1210 -98
  643. package/dist/brandsync-wc/p-044ac86c.entry.js +0 -1
  644. package/dist/brandsync-wc/p-046a53de.entry.js +0 -1
  645. package/dist/brandsync-wc/p-08e96f13.entry.js +0 -1
  646. package/dist/brandsync-wc/p-225148be.entry.js +0 -1
  647. package/dist/brandsync-wc/p-23b56775.entry.js +0 -1
  648. package/dist/brandsync-wc/p-32297416.entry.js +0 -1
  649. package/dist/brandsync-wc/p-361aef36.entry.js +0 -1
  650. package/dist/brandsync-wc/p-3789c7a5.entry.js +0 -1
  651. package/dist/brandsync-wc/p-3d2c62a6.entry.js +0 -1
  652. package/dist/brandsync-wc/p-3d7b0708.entry.js +0 -1
  653. package/dist/brandsync-wc/p-4b460eda.entry.js +0 -1
  654. package/dist/brandsync-wc/p-5eb5795f.entry.js +0 -1
  655. package/dist/brandsync-wc/p-61deb48c.entry.js +0 -1
  656. package/dist/brandsync-wc/p-79fc849c.entry.js +0 -1
  657. package/dist/brandsync-wc/p-7ed071fb.entry.js +0 -1
  658. package/dist/brandsync-wc/p-8048d033.entry.js +0 -1
  659. package/dist/brandsync-wc/p-8c9938a5.entry.js +0 -1
  660. package/dist/brandsync-wc/p-a5659499.entry.js +0 -1
  661. package/dist/brandsync-wc/p-ab14a07d.entry.js +0 -1
  662. package/dist/brandsync-wc/p-b4511ad3.entry.js +0 -1
  663. package/dist/brandsync-wc/p-baa39c08.entry.js +0 -1
  664. package/dist/brandsync-wc/p-be7aac52.entry.js +0 -1
  665. package/dist/brandsync-wc/p-c05ee501.entry.js +0 -1
  666. package/dist/brandsync-wc/p-d2a15599.entry.js +0 -1
  667. package/dist/brandsync-wc/p-d7956c51.entry.js +0 -1
  668. package/dist/brandsync-wc/p-dfad8c0a.entry.js +0 -1
  669. package/dist/brandsync-wc/p-e123b391.entry.js +0 -1
  670. package/dist/brandsync-wc/p-e8e22238.entry.js +0 -1
  671. package/dist/brandsync-wc/p-eb0dc5bf.entry.js +0 -1
  672. package/dist/cjs/bs-button.cjs.entry.js +0 -107
  673. package/dist/cjs/bs-list-item.cjs.entry.js +0 -66
  674. package/dist/cjs/bs-popover.cjs.entry.js +0 -153
  675. package/dist/cjs/bs-skeleton.cjs.entry.js +0 -51
  676. package/dist/components/p-B32Kl4IB.js +0 -1
  677. package/dist/components/p-BUpnOUIM.js +0 -1
  678. package/dist/components/p-BcbaiZLh.js +0 -1
  679. package/dist/components/p-ChcaPfNL.js +0 -1
  680. package/dist/components/p-Cpe2k7ZC.js +0 -1
  681. package/dist/components/p-D7AXo5NT.js +0 -1
  682. package/dist/components/p-D8bvv9QQ.js +0 -1
  683. package/dist/components/p-DMLfXpva.js +0 -1
  684. package/dist/components/p-DYDk73TF.js +0 -1
  685. package/dist/components/p-DYuzgzxI.js +0 -1
  686. package/dist/components/p-TAY9S9yG.js +0 -1
  687. package/dist/components/p-w-DkdA4O.js +0 -1
  688. package/dist/esm/bs-button.entry.js +0 -105
  689. package/dist/esm/bs-list-item.entry.js +0 -64
  690. package/dist/esm/bs-popover.entry.js +0 -151
  691. package/dist/esm/bs-skeleton.entry.js +0 -49
@@ -0,0 +1,209 @@
1
+ import { r as registerInstance, c as createEvent, a as getElement, h } from './index-D3SkQJpw.js';
2
+
3
+ const bsCompanySwitcherCss = () => `:host{display:inline-block;box-sizing:border-box;width:var(--bs-company-switcher-width);max-width:100%;--bs-company-switcher-width:260px;--bs-company-switcher-panel-width:360px;--bs-company-switcher-radius:var(--bs-border-radius-100);--bs-company-switcher-trigger-bg:transparent;--bs-company-switcher-trigger-bg-hover:var(--bs-surface-hover);--bs-company-switcher-trigger-bg-pressed:var(--bs-surface-pressed);--bs-company-switcher-trigger-bg-open:var(--bs-surface-selected);--bs-company-switcher-focus-ring:var(--bs-border-neutral-focus);--bs-company-switcher-panel-bg:var(--bs-surface-base);--bs-company-switcher-panel-border-color:var(--bs-border-default);--bs-company-switcher-shadow:var(--bs-shadow-md);--bs-company-switcher-max-height:320px;--bs-company-switcher-text-color:var(--bs-text-default);--bs-company-switcher-muted-color:var(--bs-text-secondary);--bs-company-switcher-header-color:var(--bs-text-muted);--bs-company-switcher-z-index:var(--bs-z-index-popover)}.bs-company-switcher{display:block;width:100%;--bs-popover-radius:var(--bs-company-switcher-radius);--bs-popover-shadow:var(--bs-company-switcher-shadow);--bs-popover-z-index:var(--bs-company-switcher-z-index);--bs-popover-min-width:0px;--bs-popover-bg:transparent}.bs-company-switcher__trigger{box-sizing:border-box;display:flex;align-items:center;gap:var(--bs-spacing-150);width:100%;min-height:54px;padding:var(--bs-spacing-100) var(--bs-spacing-150);border:0;border-radius:var(--bs-company-switcher-radius);background:var(--bs-company-switcher-trigger-bg);color:var(--bs-company-switcher-text-color);font-family:var(--bs-typography-font-family-body, Roboto), sans-serif;text-align:left;cursor:pointer}.bs-company-switcher__trigger:hover{background:var(--bs-company-switcher-trigger-bg-hover)}.bs-company-switcher__trigger:active{background:var(--bs-company-switcher-trigger-bg-pressed)}:host([open]) .bs-company-switcher__trigger,.bs-company-switcher__trigger[aria-busy='true']{background:var(--bs-company-switcher-trigger-bg-open)}.bs-company-switcher__trigger:focus-visible{outline:2px solid var(--bs-company-switcher-focus-ring);outline-offset:2px}.bs-company-switcher__avatar{display:inline-flex;flex:0 0 auto}.bs-company-switcher__text{flex:1 1 0;min-width:0;display:flex;flex-direction:column}.bs-company-switcher__name{font-size:var(--bs-font-size-sm);font-weight:var(--bs-font-weight-medium);line-height:20px}.bs-company-switcher__subtitle{color:var(--bs-company-switcher-muted-color);font-size:var(--bs-font-size-xs);line-height:16px}.bs-company-switcher__name,.bs-company-switcher__subtitle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bs-company-switcher__trail{flex:0 0 auto;width:20px;height:20px;color:var(--bs-icon-default)}.bs-company-switcher__panel{display:block;width:var(--bs-company-switcher-panel-width);max-width:calc(100vw - var(--bs-spacing-200));--bs-card-bg:var(--bs-company-switcher-panel-bg);--bs-card-radius:var(--bs-company-switcher-radius);--bs-card-padding:0px;--bs-card-border-width:1px;--bs-card-border-color:var(--bs-company-switcher-panel-border-color);--bs-card-shadow:none}.bs-company-switcher__search{padding:var(--bs-spacing-150) var(--bs-spacing-150) var(--bs-spacing-100)}.bs-company-switcher__search bs-input{width:100%}.bs-company-switcher__list{box-sizing:border-box;max-height:var(--bs-company-switcher-max-height);overflow-y:auto;padding:0 var(--bs-spacing-100) var(--bs-spacing-100)}.bs-company-switcher__group-header{padding:var(--bs-spacing-100) var(--bs-spacing-100) var(--bs-spacing-50);color:var(--bs-company-switcher-header-color);font-family:var(--bs-typography-font-family-body, Roboto), sans-serif;font-size:var(--bs-font-size-xs);font-weight:var(--bs-font-weight-medium);line-height:16px;letter-spacing:0.06em;text-transform:uppercase}.bs-company-switcher__row{--bs-list-item-min-height:52px;--bs-list-item-padding-y:var(--bs-spacing-100);--bs-list-item-padding-x:var(--bs-spacing-100);--bs-list-item-gap:var(--bs-spacing-150)}.bs-company-switcher__row--active{--bs-list-item-bg:var(--bs-surface-hover)}.bs-company-switcher__row-name{display:block;color:var(--bs-company-switcher-text-color);font-size:var(--bs-font-size-sm);font-weight:var(--bs-font-weight-medium);line-height:20px}.bs-company-switcher__row-sub{display:block;color:var(--bs-company-switcher-muted-color);font-size:var(--bs-font-size-xs);line-height:16px}.bs-company-switcher__check{width:20px;height:20px;color:var(--bs-icon-action, var(--bs-icon-default))}.bs-company-switcher__empty{--bs-empty-state-padding-y:var(--bs-spacing-400)}.bs-company-switcher__footer{display:flex;align-items:center;justify-content:space-between;gap:var(--bs-spacing-100);padding:var(--bs-spacing-100) var(--bs-spacing-150)}.bs-company-switcher__live{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}`;
4
+
5
+ let uid = 0;
6
+ const svgProps = {
7
+ viewBox: '0 0 24 24',
8
+ fill: 'none',
9
+ stroke: 'currentColor',
10
+ 'stroke-width': '1.8',
11
+ 'stroke-linecap': 'round',
12
+ 'stroke-linejoin': 'round',
13
+ 'aria-hidden': 'true',
14
+ };
15
+ const initialsOf = (name) => name
16
+ .split(/\s+/)
17
+ .filter(Boolean)
18
+ .slice(0, 2)
19
+ .map(w => w[0].toUpperCase())
20
+ .join('');
21
+ const digits = (s) => s.replace(/\s+/g, '');
22
+ const BsCompanySwitcher = class {
23
+ constructor(hostRef) {
24
+ registerInstance(this, hostRef);
25
+ this.bsCompanySwitch = createEvent(this, "bsCompanySwitch");
26
+ this.bsManageCompanies = createEvent(this, "bsManageCompanies");
27
+ this.bsAddCompanies = createEvent(this, "bsAddCompanies");
28
+ this.bsOpenChange = createEvent(this, "bsOpenChange");
29
+ }
30
+ get el() { return getElement(this); }
31
+ id = `bs-cs-${++uid}`;
32
+ inputEl;
33
+ focusSearch = false;
34
+ /** The companies the user can switch between. JS property only (an array cannot be an attribute). */
35
+ companies = [];
36
+ /** `id` of the current company. */
37
+ currentId;
38
+ /** `id`s of recently used companies, most recent first. The current company is not repeated in the Recent group. */
39
+ recentIds = [];
40
+ /** `id` of the company being switched to. Shows the switching state: a spinner in the trigger and on that row. */
41
+ switchingId;
42
+ /** Whether the panel is open. */
43
+ open = false;
44
+ /** Text of the trigger when there is no current company. */
45
+ placeholderLabel = 'Select a company';
46
+ /** Placeholder (and accessible name) of the search field. */
47
+ searchPlaceholder = 'Find a company or org. number';
48
+ /** Accessible name of the company listbox. */
49
+ listLabel = 'Companies';
50
+ /** Header of the current company group. */
51
+ currentLabel = 'Current';
52
+ /** Header of the recent companies group. */
53
+ recentLabel = 'Recent';
54
+ /** Header of the all companies group (the count is appended). */
55
+ allLabel = 'All companies';
56
+ /** Header of the search view when there are several matches ("3 matches"). */
57
+ matchesLabel = 'matches';
58
+ /** Header of the search view when there is one match ("1 match"). */
59
+ matchLabel = 'match';
60
+ /** Prefix of the org. number, e.g. "Org. no.". */
61
+ orgNumberLabel = 'Org. no.';
62
+ /** Trigger subtitle while switching. */
63
+ switchingLabel = 'Switching…';
64
+ /** No-results heading. `{query}` is replaced by the query. */
65
+ emptyHeading = 'No companies match “{query}”';
66
+ /** No-results description. */
67
+ emptyDescription = 'Check the spelling, or search by org. number.';
68
+ /** Text of the "Manage Companies" footer button. */
69
+ manageLabel = 'Manage Companies';
70
+ /** Text of the "Add companies" footer button. */
71
+ addLabel = 'Add companies';
72
+ query = '';
73
+ activeId = null;
74
+ /** Fires when a company other than the current one is chosen (click or Enter), with the company. */
75
+ bsCompanySwitch;
76
+ /** Fires when "Manage Companies" is pressed. */
77
+ bsManageCompanies;
78
+ /** Fires when "Add companies" is pressed. */
79
+ bsAddCompanies;
80
+ /** Fires when the panel opens or closes through user interaction, with the new state. */
81
+ bsOpenChange;
82
+ onOpen(next) {
83
+ this.query = '';
84
+ this.activeId = null;
85
+ this.focusSearch = next;
86
+ }
87
+ componentDidRender() {
88
+ if (this.open && this.focusSearch) {
89
+ this.focusSearch = false;
90
+ this.inputEl?.focus();
91
+ }
92
+ }
93
+ byId(id) {
94
+ return id ? this.companies.find(c => c.id === id) : undefined;
95
+ }
96
+ get q() {
97
+ return this.query.trim().toLowerCase();
98
+ }
99
+ matches() {
100
+ const q = this.q;
101
+ const qd = digits(q);
102
+ return this.companies.filter(c => c.name.toLowerCase().includes(q) || digits(c.orgNumber).includes(qd));
103
+ }
104
+ groups() {
105
+ if (this.q) {
106
+ const items = this.matches();
107
+ if (!items.length)
108
+ return [];
109
+ return [{ key: 'matches', header: `${items.length} ${items.length === 1 ? this.matchLabel : this.matchesLabel}`, items }];
110
+ }
111
+ const current = this.byId(this.currentId);
112
+ const recent = this.recentIds.map(i => this.byId(i)).filter((c) => !!c && c.id !== this.currentId);
113
+ const shown = new Set([current?.id, ...recent.map(c => c.id)]);
114
+ const rest = this.companies.filter(c => !shown.has(c.id));
115
+ const out = [];
116
+ if (current)
117
+ out.push({ key: 'current', header: this.currentLabel, items: [current] });
118
+ if (recent.length)
119
+ out.push({ key: 'recent', header: this.recentLabel, items: recent });
120
+ if (rest.length)
121
+ out.push({ key: 'all', header: `${this.allLabel} · ${rest.length}`, items: rest });
122
+ return out;
123
+ }
124
+ rowId(c) {
125
+ return `${this.id}-opt-${c.id}`;
126
+ }
127
+ setOpen(next) {
128
+ if (this.open === next)
129
+ return;
130
+ this.open = next;
131
+ this.bsOpenChange.emit(next);
132
+ }
133
+ choose(c) {
134
+ if (c.id === this.currentId || c.id === this.switchingId) {
135
+ this.setOpen(false);
136
+ return;
137
+ }
138
+ this.bsCompanySwitch.emit(c);
139
+ // The consumer asks for the switching state from its handler; otherwise there is nothing to wait for.
140
+ if (!this.switchingId)
141
+ this.setOpen(false);
142
+ }
143
+ onPopoverOpenChange = (ev) => {
144
+ // bs-popover's own event would bubble out of this host too; ours replaces it.
145
+ ev.stopPropagation();
146
+ this.setOpen(ev.detail);
147
+ };
148
+ onInput = (ev) => {
149
+ ev.stopPropagation();
150
+ this.query = ev.detail;
151
+ this.activeId = null;
152
+ };
153
+ onKeyDown = (ev) => {
154
+ if (ev.key !== 'ArrowDown' && ev.key !== 'ArrowUp' && ev.key !== 'Enter')
155
+ return;
156
+ const rows = this.groups().flatMap(g => g.items);
157
+ if (ev.key === 'Enter') {
158
+ const active = rows.find(c => this.rowId(c) === this.activeId);
159
+ if (active) {
160
+ ev.preventDefault();
161
+ this.choose(active);
162
+ }
163
+ return;
164
+ }
165
+ ev.preventDefault();
166
+ if (!rows.length)
167
+ return;
168
+ const idx = rows.findIndex(c => this.rowId(c) === this.activeId);
169
+ const next = ev.key === 'ArrowDown' ? (idx + 1) % rows.length : idx <= 0 ? rows.length - 1 : idx - 1;
170
+ this.activeId = this.rowId(rows[next]);
171
+ // Wait for the re-render so the row exists with its new state before scrolling to it.
172
+ requestAnimationFrame(() => this.el.shadowRoot?.getElementById(this.activeId ?? '')?.scrollIntoView?.({ block: 'nearest' }));
173
+ };
174
+ subtitle(c) {
175
+ return `${c.country} · ${this.orgNumberLabel} ${c.orgNumber}`;
176
+ }
177
+ renderTrigger() {
178
+ const switching = this.byId(this.switchingId);
179
+ const shown = switching ?? this.byId(this.currentId);
180
+ return (h("button", { slot: "trigger", part: "trigger", type: "button", class: "bs-company-switcher__trigger", "aria-haspopup": "listbox", "aria-expanded": String(this.open), "aria-busy": switching ? 'true' : undefined }, h("span", { "aria-hidden": "true", class: "bs-company-switcher__avatar" }, shown ? h("bs-avatar", { part: "avatar", type: "initials", size: "sm", initials: initialsOf(shown.name) }) : h("bs-avatar", { part: "avatar", type: "icon", size: "sm" })), h("span", { class: "bs-company-switcher__text" }, h("span", { part: "name", class: "bs-company-switcher__name" }, shown ? shown.name : this.placeholderLabel), shown && (h("span", { part: "subtitle", class: "bs-company-switcher__subtitle" }, switching ? this.switchingLabel : `${this.orgNumberLabel} ${shown.orgNumber}`))), switching ? (h("bs-spinner", { class: "bs-company-switcher__trail", size: "sm", label: this.switchingLabel })) : (h("svg", { class: "bs-company-switcher__trail bs-company-switcher__chevron", ...svgProps }, h("path", { d: "m6 9 6 6 6-6" })))));
181
+ }
182
+ renderRow(c) {
183
+ const id = this.rowId(c);
184
+ const isCurrent = c.id === this.currentId;
185
+ const isSwitching = c.id === this.switchingId;
186
+ return (h("bs-list-item", { part: "row", id: id, class: { 'bs-company-switcher__row': true, 'bs-company-switcher__row--active': this.activeId === id }, selectionRole: "option", value: c.id, selected: isCurrent, "aria-busy": isSwitching ? 'true' : undefined, onMouseEnter: () => (this.activeId = id), onBsItemClick: (ev) => {
187
+ ev.stopPropagation();
188
+ this.choose(c);
189
+ } }, h("span", { slot: "leading", "aria-hidden": "true" }, h("bs-avatar", { type: "initials", size: "sm", initials: initialsOf(c.name) })), h("span", { class: "bs-company-switcher__row-name" }, c.name), h("span", { class: "bs-company-switcher__row-sub" }, this.subtitle(c)), isSwitching ? (h("bs-spinner", { slot: "trailing", size: "sm", label: this.switchingLabel })) : isCurrent ? (h("svg", { slot: "trailing", class: "bs-company-switcher__check", ...svgProps }, h("path", { d: "m5 12.5 4.5 4.5L19 7.5" }))) : null));
190
+ }
191
+ render() {
192
+ const groups = this.groups();
193
+ const empty = !!this.q && groups.length === 0;
194
+ const listId = `${this.id}-listbox`;
195
+ const total = groups.reduce((n, g) => n + g.items.length, 0);
196
+ return (h("bs-popover", { key: '9ce15612a22c2401bdeb75f5dbae869d76d9310c', class: "bs-company-switcher", open: this.open, placement: "bottom-start", onBsOpenChange: this.onPopoverOpenChange }, this.renderTrigger(), h("bs-card", { key: '848ef0a3498aa67b55b4c1885c88b6e7b9e4534d', part: "panel", class: "bs-company-switcher__panel", surface: "base" }, h("div", { key: '9ec54e9e78fb33c4e8049691ca8fb391ad05fa42', class: "bs-company-switcher__search", onMouseDown: (ev) => ev.preventDefault() }, h("div", { key: '222550548c6bdd41584a1a7c55c6e0bf23d07b8b', part: "search", role: "combobox", "aria-label": this.searchPlaceholder, "aria-expanded": "true", "aria-haspopup": "listbox", "aria-controls": groups.length ? listId : undefined, "aria-activedescendant": this.activeId ?? undefined, onKeyDown: this.onKeyDown }, h("bs-input", { key: 'd0dd2042031a45ab83b1cb857268df097f2dff5f', ref: el => (this.inputEl = el), type: "search", value: this.query, placeholder: this.searchPlaceholder, onBsInput: this.onInput }))), groups.length > 0 && (h("div", { key: '28343988f512c3515cd69a6b766d9990cd63d23a', id: listId, part: "list", class: "bs-company-switcher__list", role: "listbox", "aria-label": this.listLabel, onMouseDown: (ev) => ev.preventDefault(), onMouseLeave: () => (this.activeId = null) }, groups.map(g => {
197
+ const hid = `${this.id}-h-${g.key}`;
198
+ return (h("div", { part: "group", class: "bs-company-switcher__group", role: "group", "aria-labelledby": hid }, h("div", { part: "group-header", id: hid, class: "bs-company-switcher__group-header" }, g.header), g.items.map(c => this.renderRow(c))));
199
+ }))), empty && (h("bs-empty-state", { key: 'd4918f499f405f08d1874646442b9a529ae9fd3f', part: "empty", class: "bs-company-switcher__empty", heading: this.emptyHeading.replace('{query}', this.query.trim()), description: this.emptyDescription }, h("svg", { key: 'da86a364c21c7b3dbb3121750b022d348f2ecdab', slot: "icon", ...svgProps }, h("circle", { key: 'f81525086c48f928325c2532089b69ede5528e33', cx: "11", cy: "11", r: "7" }), h("path", { key: '490f2df2b35e29cdff08a60c1d63fb2fdd9ef1a7', d: "m20 20-3.5-3.5" })))), h("bs-divider", { key: '9a1997a336530026eab0743cbe7cca26f5c4da23', class: "bs-company-switcher__divider", decorative: true }), h("div", { key: '361ca8743c2c50fcaadc0541b9a3ceac1289f471', part: "footer", class: "bs-company-switcher__footer" }, h("bs-button", { key: '0dc207fc2719f926fba2859be9130bb28bee652a', variant: "subtle", size: "sm", onClick: () => this.bsManageCompanies.emit() }, h("svg", { key: '5ba9707f09ab325c7f7edff7fbec22196656ad8c', slot: "icon", ...svgProps }, h("circle", { key: '5f99a660c029225dbceb38347c5a6a4141ecbaaf', cx: "12", cy: "12", r: "3" }), h("path", { key: '7f3aec8c463210e81e079051d3a13f0550e6d27c', d: "M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1.1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1Z" })), this.manageLabel), h("bs-button", { key: 'f6204900c1e1f21b59d02a770339c0471efdc379', variant: "subtle", size: "sm", onClick: () => this.bsAddCompanies.emit() }, h("svg", { key: '2381e1068dbd3785995f6946c6215b743feeb323', slot: "icon", ...svgProps }, h("path", { key: '7decd85389ffd646e48d501126b99bc4498604be', d: "M12 5v14M5 12h14" })), this.addLabel)), h("span", { key: '36cb6c11fa0a3f51985a5272dce01441f8127fb0', class: "bs-company-switcher__live", "aria-live": "polite" }, this.open && this.q ? (empty ? this.emptyHeading.replace('{query}', this.query.trim()) : `${total} ${total === 1 ? this.matchLabel : this.matchesLabel}`) : ''))));
200
+ }
201
+ static get watchers() { return {
202
+ "open": [{
203
+ "onOpen": 0
204
+ }]
205
+ }; }
206
+ };
207
+ BsCompanySwitcher.style = bsCompanySwitcherCss();
208
+
209
+ export { BsCompanySwitcher as bs_company_switcher };
@@ -49,7 +49,7 @@ const BsComposerStatusBanner = class {
49
49
  return this.type === 'error' || this.type === 'warning' ? h(WarningIcon, null) : h(ClockIcon, null);
50
50
  }
51
51
  render() {
52
- return (h("div", { key: '9a18ded6392d5374cdf4357650498f1eff8bc896', role: this.roleForType(), "aria-busy": this.loading ? 'true' : undefined, class: `bs-composer-status-banner bs-composer-status-banner--${this.type}` }, h("div", { key: '8acfc215792a889e80d01a08e86a0aa96bfe8967', class: "bs-composer-status-banner__message-group" }, this.showIcon && (h("span", { key: '2a4e0a5fe6b4f2fef30d534eae0c15009f813d33', part: "icon", class: "bs-composer-status-banner__icon" }, h("slot", { key: '5378cfaf8b1fed689eedac4f6a2bf892dda043f8', name: "icon" }, this.renderDefaultIcon()))), h("p", { key: '9fe869051bbf300c12f0ec8006d409abf4bebf56', part: "message", class: "bs-composer-status-banner__message" }, this.message)), this.showButton && (h("button", { key: '6fe2f55c57523ee917ae6d96e2a070f1006f0a44', type: "button", part: "action", class: "bs-composer-status-banner__action", onClick: this.onActionClick }, this.actionLabel)), this.allowClose && (h("button", { key: '18d5ec846134a57c11c46810bb0b35acac0a20b6', type: "button", part: "close", class: "bs-composer-status-banner__close", "aria-label": this.closeLabel, onClick: this.onCloseClick }, h(CloseIcon, { key: 'cbf7993e299eacc8a05efc55cf0dc4539ba9d424' })))));
52
+ return (h("div", { key: '275d6a4c6eae013bf2f9804857baba9d0a2917a8', role: this.roleForType(), "aria-busy": this.loading ? 'true' : undefined, class: `bs-composer-status-banner bs-composer-status-banner--${this.type}` }, h("div", { key: '756473764a79392e539a0f0ec724374866385c0b', class: "bs-composer-status-banner__message-group" }, this.showIcon && (h("span", { key: 'e49eebafc231aa5987967672df2b9ffe2b3f951e', part: "icon", class: "bs-composer-status-banner__icon" }, h("slot", { key: '1047ceaf71e08f90bb7224aee6207a65e9fefd4d', name: "icon" }, this.renderDefaultIcon()))), h("p", { key: 'a0433bc0d21420bc561e0fdccfdfc75cb76f8bf3', part: "message", class: "bs-composer-status-banner__message" }, this.message)), this.showButton && (h("button", { key: '4291b58cc42d22395fe831eda2850725fcc3bda9', type: "button", part: "action", class: "bs-composer-status-banner__action", onClick: this.onActionClick }, this.actionLabel)), this.allowClose && (h("button", { key: '91d659760339c80414a59ef65bf053f9ad0aaceb', type: "button", part: "close", class: "bs-composer-status-banner__close", "aria-label": this.closeLabel, onClick: this.onCloseClick }, h(CloseIcon, { key: '47c78a3753c2a62c0a859771b89102bc974b32a6' })))));
53
53
  }
54
54
  };
55
55
  const SpinnerIcon = () => (h("svg", { class: "bs-composer-status-banner__spinner", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true" }, h("circle", { cx: "10", cy: "10", r: "7.25", stroke: "currentColor", "stroke-opacity": "0.25", "stroke-width": "1.5" }), h("path", { d: "M17.25 10A7.25 7.25 0 0 0 10 2.75", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round" })));
@@ -197,7 +197,7 @@ const BsComposer = class {
197
197
  const placeholder = this.placeholder ?? DEFAULT_PLACEHOLDERS[this.variant];
198
198
  const disabled = this.state === 'disabled';
199
199
  const recording = this.state === 'recording';
200
- return (h("div", { key: 'f1ccd8ab2299efcf83dc8f858845e87ba87f9c41', class: `bs-composer bs-composer--${this.state} bs-composer--${this.variant}` }, h("div", { key: '2edd5ab5b6a67d108d2f8067a639e74b6ab4f39f', part: "attachments", class: `bs-composer__attachments-row ${this.hasAttachments ? 'bs-composer__attachments-row--visible' : ''}` }, h("slot", { key: 'a7b2acfea4b2498792749e24aaf9329e521a93df', name: "attachments", onSlotchange: this.onAttachmentsSlotchange })), h("div", { key: '0de284b100f38a60b472eadfd89f06690023a1a1', class: "bs-composer__text-row" }, h("textarea", { key: '0c46b8e4f54234b2df62af566f0b6bf9b1f978d1', ref: el => (this.inputEl = el), part: "input", class: "bs-composer__input", rows: 1, value: this.value, placeholder: placeholder, disabled: disabled, maxLength: this.maxLength, "aria-label": this.ariaLabel, onInput: this.onInput, onKeyDown: this.onInputKeydown })), h("div", { key: 'a3ca22299095e398b6dd7a62c9b6ce93a4d49dab', class: "bs-composer__controls-row" }, !this.hideAttach && (h("button", { key: 'c06cad301027ce2fdef180189945bebd2f876081', type: "button", part: "attach", class: "bs-composer__attach", "aria-label": this.attachLabel, onClick: this.onAttachClick }, h(PlusIcon, { key: 'd863cc1734ca9b67447b2cbbe19a2ba75266d169' }))), recording ? (h("span", { class: "bs-composer__waveform", "aria-hidden": "true" }, WAVEFORM_BAR_HEIGHTS.map(height => (h("span", { class: "bs-composer__waveform-bar", style: { '--bs-composer-bar-height': `${height}px` } }))))) : (h("span", { class: "bs-composer__spacer" })), !this.hideMic && (h("button", { key: 'aadf13bf18c9215045cf7ea326bbc1495ab21288', type: "button", part: "mic", class: `bs-composer__mic ${recording ? 'bs-composer__mic--recording' : ''}`, "aria-label": recording ? this.stopRecordingLabel : this.micLabel, disabled: disabled, onClick: this.onMicClick }, recording ? h(StopIcon, null) : h(MicIcon, null))), h("button", { key: '36ca7d3824349cd65473553e0a20b14c41b74b8b', type: "button", part: "action", class: `bs-composer__action bs-composer__action--${this.state}`, "aria-label": this.actionLabel(), disabled: disabled, "aria-busy": this.loading && this.state === 'idle' ? 'true' : undefined, onClick: this.onActionClick }, this.renderActionIcon()), h("slot", { key: '0965e567d4cb590d7cd072ecf72c10c2c97e1f69', name: "actions-end" }))));
200
+ return (h("div", { key: 'd63357675cbf508fc50014a9e2d3c8224bdc0108', class: `bs-composer bs-composer--${this.state} bs-composer--${this.variant}` }, h("div", { key: 'be65e62348956075f765621cb30e76063d85b9e3', part: "attachments", class: `bs-composer__attachments-row ${this.hasAttachments ? 'bs-composer__attachments-row--visible' : ''}` }, h("slot", { key: '8a1bcb47e809ea09db6918a90df7e3ffd5b6e57d', name: "attachments", onSlotchange: this.onAttachmentsSlotchange })), h("div", { key: 'a07dff798906b0532b439c0cb02c0dcee4d87f5d', class: "bs-composer__text-row" }, h("textarea", { key: 'b86a424e4012daa5a7fa8074e742fdc52bff87b8', ref: el => (this.inputEl = el), part: "input", class: "bs-composer__input", rows: 1, value: this.value, placeholder: placeholder, disabled: disabled, maxLength: this.maxLength, "aria-label": this.ariaLabel, onInput: this.onInput, onKeyDown: this.onInputKeydown })), h("div", { key: 'e7c4feda7f407f92372415561fa137c3fc124a6e', class: "bs-composer__controls-row" }, !this.hideAttach && (h("button", { key: '5d5dad6b3e4e63a0affa27f7522586919b8ba66c', type: "button", part: "attach", class: "bs-composer__attach", "aria-label": this.attachLabel, onClick: this.onAttachClick }, h(PlusIcon, { key: 'd1df5c9d4071e2dede7acd9c3923d264b14cea43' }))), recording ? (h("span", { class: "bs-composer__waveform", "aria-hidden": "true" }, WAVEFORM_BAR_HEIGHTS.map(height => (h("span", { class: "bs-composer__waveform-bar", style: { '--bs-composer-bar-height': `${height}px` } }))))) : (h("span", { class: "bs-composer__spacer" })), !this.hideMic && (h("button", { key: 'cb1ca37ee7ce02fb4bfd0fabf762d16030cf5b43', type: "button", part: "mic", class: `bs-composer__mic ${recording ? 'bs-composer__mic--recording' : ''}`, "aria-label": recording ? this.stopRecordingLabel : this.micLabel, disabled: disabled, onClick: this.onMicClick }, recording ? h(StopIcon, null) : h(MicIcon, null))), h("button", { key: 'c0ca786da9492d16c3a86b4a4f81683aeb2fac0f', type: "button", part: "action", class: `bs-composer__action bs-composer__action--${this.state}`, "aria-label": this.actionLabel(), disabled: disabled, "aria-busy": this.loading && this.state === 'idle' ? 'true' : undefined, onClick: this.onActionClick }, this.renderActionIcon()), h("slot", { key: '040cc29528d369ef8e8a513058b1b7379cbb6c4a', name: "actions-end" }))));
201
201
  }
202
202
  static get delegatesFocus() { return true; }
203
203
  };
@@ -13,7 +13,7 @@ const BsContainer = class {
13
13
  padding = '300';
14
14
  render() {
15
15
  const pad = SPACING_TOKENS.includes(String(this.padding)) ? String(this.padding) : '300';
16
- return (h(Host, { key: 'af5052dbda078e66b8afcf84e842f124748353b9', style: { '--bs-container-padding-token': `var(--bs-spacing-${pad})` } }, h("slot", { key: '2493e7614d7fcaf07b24e350e68a65b06fd77640' })));
16
+ return (h(Host, { key: '340c37cb6fc2d4b45a8581a49e70914c56f6d41e', style: { '--bs-container-padding-token': `var(--bs-spacing-${pad})` } }, h("slot", { key: '1c20b5de141a8329e9eb6c086073b7afab41b506' })));
17
17
  }
18
18
  };
19
19
  BsContainer.style = bsContainerCss();
@@ -74,11 +74,11 @@ const BsDataTable = class {
74
74
  }
75
75
  }
76
76
  render() {
77
- return (h("table", { key: '72d4058323ac137aa589476e5b89ed47bd8b996e', part: "table", class: "bs-data-table" }, h("thead", { key: '65e27a1aba0b9eb6892df5b0581672c9fb18ce13', part: "head" }, h("tr", { key: '690d1fab0effa5b0e9e44160ac91d77ab1290079' }, this.selectable && (h("th", { key: 'cf96e314093743b5e6341cf2fce3e0ac6b5e99ef', class: "bs-data-table__select-col" }, this.rows.length > 0 && (h("input", { key: 'fe6fe4d41420f9a37f11337044173ce5b13340d4', type: "checkbox", "aria-label": this.selectAllLabel, checked: this.selectedIds.size > 0 && this.selectedIds.size === this.rows.length, indeterminate: this.selectedIds.size > 0 && this.selectedIds.size < this.rows.length, onChange: this.onSelectAllChange })))), this.columns.map(column => {
77
+ return (h("table", { key: '646bdc772d8911e9531c8e7a0085c23cf400c5f9', part: "table", class: "bs-data-table" }, h("thead", { key: 'b18ad41e0aa107b8051dde2126456ba5fd86ec44', part: "head" }, h("tr", { key: '67ee2efb68900f4d240fbc3ef4291f4b7ae0ad0b' }, this.selectable && (h("th", { key: 'ccc73b67cc1533c654237e8132224271738fa731', class: "bs-data-table__select-col" }, this.rows.length > 0 && (h("input", { key: 'b7cf76aeead033daaea4650b90abbacba4a72341', type: "checkbox", "aria-label": this.selectAllLabel, checked: this.selectedIds.size > 0 && this.selectedIds.size === this.rows.length, indeterminate: this.selectedIds.size > 0 && this.selectedIds.size < this.rows.length, onChange: this.onSelectAllChange })))), this.columns.map(column => {
78
78
  const isSorted = this.sortColumn === column.key;
79
79
  const ariaSort = column.sortable ? (isSorted ? (this.sortDirection === 'asc' ? 'ascending' : 'descending') : 'none') : undefined;
80
80
  return (h("th", { part: "header-cell", class: "bs-data-table__header-cell", "aria-sort": ariaSort }, column.sortable ? (h("button", { type: "button", class: "bs-data-table__sort-button", onClick: () => this.onHeaderClick(column) }, column.label, isSorted && h("span", { class: "bs-data-table__sort-indicator" }, this.sortDirection === 'asc' ? ' ▲' : ' ▼'))) : (column.label)));
81
- }))), h("tbody", { key: '34e3bb93c663862d1d8b29956c22392b3c2400ac', part: "body" }, this.rows.map(row => (h("tr", { part: "row", class: "bs-data-table__row" }, this.selectable && (h("td", { class: "bs-data-table__select-col" }, h("input", { type: "checkbox", checked: this.selectedIds.has(row.id), onChange: ev => this.onRowCheckboxChange(row, ev) }))), this.columns.map(column => this.cellRenderer ? (
81
+ }))), h("tbody", { key: 'e4d8dc0dbaa0a223442bdf307dce7c05f54547b9', part: "body" }, this.rows.map(row => (h("tr", { part: "row", class: "bs-data-table__row" }, this.selectable && (h("td", { class: "bs-data-table__select-col" }, h("input", { type: "checkbox", checked: this.selectedIds.has(row.id), onChange: ev => this.onRowCheckboxChange(row, ev) }))), this.columns.map(column => this.cellRenderer ? (
82
82
  // cellRenderer is a developer-supplied, trusted function (JS-property-only, never
83
83
  // derived from untrusted input) -- its HTML output is intentionally not escaped,
84
84
  // same trust model as React's dangerouslySetInnerHTML.
@@ -312,7 +312,7 @@ const BsDatepicker = class {
312
312
  : this.defaultTabbable(days);
313
313
  const isInRange = (iso) => !!selectedStart && !!previewEnd && iso > selectedStart && iso < previewEnd;
314
314
  const weekdays = this.weekdays();
315
- return (h("bs-card", { key: '280abccf2d86d04f392f4daeb9811bf34d71dc6b', part: "container", class: "bs-datepicker", surface: "raised" }, h("div", { key: '624706b13929083f05bab4210a5c8444240f8a53', class: "bs-datepicker__body" }, this.renderHeader(), h("div", { key: '69d8f66f154e0e194b77b091bede097407c43902', part: "nav", class: "bs-datepicker__nav" }, h("button", { key: '089809f514e4513624749748d639ef6da997618b', part: "prev", type: "button", class: "bs-datepicker__nav-button", "aria-label": this.previousLabel, onClick: () => this.moveView(-1) }, h("svg", { key: 'd78f4940665d866752772f69de2e8058390bf6e5', viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true" }, h("path", { key: 'f34d431a9f77b036fe4417c033f197c72780c1bf', d: "M15 18L9 12L15 6", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))), h("div", { key: '36a37548a0bc04db3416f5e206c0990f0d1189eb', part: "title", class: "bs-datepicker__title", "aria-live": "polite" }, this.titleText()), h("button", { key: '3bf5616d93ea0d5f8968691692b2b64ce6334d0b', part: "next", type: "button", class: "bs-datepicker__nav-button", "aria-label": this.nextLabel, onClick: () => this.moveView(1) }, h("svg", { key: '5f9aac5a4e1658051908f5bad88b6c196f6dfea7', viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true" }, h("path", { key: '0515eaeb3cd01b48633675668292cb01634c134a', d: "M9 18L15 12L9 6", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: '2decbaa1fc82ee83c58ae19cd19bd53c51aabe0d', part: "grid", class: "bs-datepicker__grid", role: "grid", "aria-label": this.titleText() }, h("div", { key: '4720f7dbda3ca990885a56d00860eaf4ab7689e8', class: "bs-datepicker__row", role: "row" }, weekdays.map(w => (h("div", { part: "weekday", class: "bs-datepicker__weekday", role: "columnheader" }, w)))), Array.from({ length: 6 }, (_, r) => {
315
+ return (h("bs-card", { key: '7ec1a401f3de27dbfca02cec5bafddfd65ddb8b1', part: "container", class: "bs-datepicker", surface: "raised" }, h("div", { key: '39ef955d7175fbaf485a138ad7bbe3fd00133700', class: "bs-datepicker__body" }, this.renderHeader(), h("div", { key: '304ef15f46dc9dfd30a3fdee1e4d9b4a8a31fd86', part: "nav", class: "bs-datepicker__nav" }, h("button", { key: '01ae2998d09497afb4b16950629287e0d6def2d4', part: "prev", type: "button", class: "bs-datepicker__nav-button", "aria-label": this.previousLabel, onClick: () => this.moveView(-1) }, h("svg", { key: '7d9063f139f079abc906f43458e19bc21b3b05cb', viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true" }, h("path", { key: '7142cdbf7bfd7db26516831ab55c7d9203ab2485', d: "M15 18L9 12L15 6", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))), h("div", { key: '492425990862fa53c2be547c7bf8d56b9c369109', part: "title", class: "bs-datepicker__title", "aria-live": "polite" }, this.titleText()), h("button", { key: '895f8b4ad72fa0e801b9dcc4701f9b69aad72e83', part: "next", type: "button", class: "bs-datepicker__nav-button", "aria-label": this.nextLabel, onClick: () => this.moveView(1) }, h("svg", { key: '998a268f59503b92a7f7ca0b4832c79d9ee48e78', viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true" }, h("path", { key: '22e141eb617d5a0b009f005bf18abe95c1189efe', d: "M9 18L15 12L9 6", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })))), h("div", { key: 'e6fd0113d7682efee354bce15f74591cf7b9cc30', part: "grid", class: "bs-datepicker__grid", role: "grid", "aria-label": this.titleText() }, h("div", { key: 'e4000fda3ac22ac7d382a89d1e5741bb4555ac8c', class: "bs-datepicker__row", role: "row" }, weekdays.map(w => (h("div", { part: "weekday", class: "bs-datepicker__weekday", role: "columnheader" }, w)))), Array.from({ length: 6 }, (_, r) => {
316
316
  const row = days.slice(r * 7, r * 7 + 7);
317
317
  return (h("div", { class: "bs-datepicker__row", role: "row" }, row.map((d, c) => {
318
318
  const iso = toIso(d);
@@ -1,12 +1,14 @@
1
- import { r as registerInstance, c as createEvent, h } from './index-D3SkQJpw.js';
1
+ import { r as registerInstance, c as createEvent, a as getElement, h } from './index-D3SkQJpw.js';
2
+ import { c as cancelMotion, r as readMotion, p as play } from './motion-BSt9HeTa.js';
2
3
 
3
- const bsDialogCss = () => `.bs-dialog__backdrop{position:fixed;inset:0;z-index:var(--bs-z-index-modal);display:flex;align-items:center;justify-content:center;background:rgba(0, 0, 0, 0.4)}.bs-dialog__dialog{position:relative;display:flex;flex-direction:column;max-height:calc(100vh - var(--bs-spacing-800));background:var(--bs-surface-base);color:var(--bs-text-default);border-radius:var(--bs-border-radius-200);box-shadow:var(--bs-shadow-xl);font-family:inherit}.bs-dialog__dialog--sm{width:360px}.bs-dialog__dialog--md{width:560px}.bs-dialog__dialog--lg{width:800px}.bs-dialog__header{display:flex;align-items:center;justify-content:space-between;padding:var(--bs-spacing-200) var(--bs-spacing-200) var(--bs-spacing-100)}.bs-dialog__image--visible+.bs-dialog__header,.bs-dialog__icon--visible+.bs-dialog__header{padding-top:0}.bs-dialog__heading{font-size:var(--bs-font-size-lg);font-weight:var(--bs-font-weight-semibold);color:var(--bs-text-default)}.bs-dialog__close--floating{position:absolute;top:var(--bs-spacing-200);inset-inline-end:var(--bs-spacing-200);z-index:1}.bs-dialog__body{padding:0 var(--bs-spacing-200) var(--bs-spacing-200);overflow-y:auto}.bs-dialog__body--centered{text-align:center}.bs-dialog__footer--visible{display:flex;justify-content:flex-end;gap:var(--bs-spacing-200);padding:0 var(--bs-spacing-200) var(--bs-spacing-200)}.bs-dialog__image--visible{overflow:hidden;border-radius:var(--bs-border-radius-200) var(--bs-border-radius-200) 0 0;margin-bottom:var(--bs-spacing-200)}.bs-dialog__image--visible ::slotted(img){display:block;width:100%;height:auto;object-fit:cover}.bs-dialog__icon--visible{display:flex;align-items:center;justify-content:center;padding:var(--bs-spacing-200) var(--bs-spacing-200) 0;margin-bottom:var(--bs-spacing-200)}.bs-dialog__icon--visible ::slotted(*){width:64px;height:64px}.bs-dialog__header--centered{justify-content:center;text-align:center}@media (forced-colors: active){.bs-dialog__dialog{border:1px solid CanvasText}}`;
4
+ const bsDialogCss = () => `:host{--bs-dialog-duration:var(--bs-duration-default);--bs-dialog-easing:var(--bs-easing-standard);--bs-dialog-distance:var(--bs-spacing-200)}.bs-dialog__backdrop{position:fixed;inset:0;z-index:var(--bs-z-index-modal);display:flex;align-items:center;justify-content:center;background:rgba(0, 0, 0, 0.4)}.bs-dialog__backdrop--closing{pointer-events:none}.bs-dialog__dialog{position:relative;display:flex;flex-direction:column;max-height:calc(100vh - var(--bs-spacing-800));background:var(--bs-surface-base);color:var(--bs-text-default);border-radius:var(--bs-border-radius-200);box-shadow:var(--bs-shadow-xl);font-family:inherit}.bs-dialog__dialog--sm{width:360px}.bs-dialog__dialog--md{width:560px}.bs-dialog__dialog--lg{width:800px}.bs-dialog__header{display:flex;align-items:center;justify-content:space-between;padding:var(--bs-spacing-200) var(--bs-spacing-200) var(--bs-spacing-100)}.bs-dialog__image--visible+.bs-dialog__header,.bs-dialog__icon--visible+.bs-dialog__header{padding-top:0}.bs-dialog__heading{font-size:var(--bs-font-size-lg);font-weight:var(--bs-font-weight-semibold);color:var(--bs-text-default)}.bs-dialog__close--floating{position:absolute;top:var(--bs-spacing-200);inset-inline-end:var(--bs-spacing-200);z-index:1}.bs-dialog__body{padding:0 var(--bs-spacing-200) var(--bs-spacing-200);overflow-y:auto}.bs-dialog__body--centered{text-align:center}.bs-dialog__footer--visible{display:flex;justify-content:flex-end;gap:var(--bs-spacing-200);padding:0 var(--bs-spacing-200) var(--bs-spacing-200)}.bs-dialog__image--visible{overflow:hidden;border-radius:var(--bs-border-radius-200) var(--bs-border-radius-200) 0 0;margin-bottom:var(--bs-spacing-200)}.bs-dialog__image--visible ::slotted(img){display:block;width:100%;height:auto;object-fit:cover}.bs-dialog__icon--visible{display:flex;align-items:center;justify-content:center;padding:var(--bs-spacing-200) var(--bs-spacing-200) 0;margin-bottom:var(--bs-spacing-200)}.bs-dialog__icon--visible ::slotted(*){width:64px;height:64px}.bs-dialog__header--centered{justify-content:center;text-align:center}@media (forced-colors: active){.bs-dialog__dialog{border:1px solid CanvasText}}`;
4
5
 
5
6
  const BsDialog = class {
6
7
  constructor(hostRef) {
7
8
  registerInstance(this, hostRef);
8
9
  this.bsClose = createEvent(this, "bsClose");
9
10
  }
11
+ get el() { return getElement(this); }
10
12
  /** Mutable + reflected so the component can close itself (backdrop click, Escape, close button)
11
13
  * the same way a native `<dialog>` does, while still emitting `bsClose` for the consumer to react to. */
12
14
  open = false;
@@ -40,6 +42,42 @@ const BsDialog = class {
40
42
  onIconSlotchange = (ev) => {
41
43
  this.hasIcon = ev.target.assignedNodes().length > 0;
42
44
  };
45
+ /** True while the exit motion plays after `open` went false, so the dialog stays mounted for it. */
46
+ closing = false;
47
+ backdropRef;
48
+ enterPending = false;
49
+ exitPending = false;
50
+ motionRun = 0;
51
+ onOpenChange(next) {
52
+ this.motionRun++;
53
+ cancelMotion(this.backdropRef, this.dialogRef);
54
+ if (next) {
55
+ this.closing = false;
56
+ this.enterPending = true;
57
+ }
58
+ else if (this.wasOpen && readMotion(this.el, 'bs-dialog').ms > 0) {
59
+ this.closing = true;
60
+ this.exitPending = true;
61
+ }
62
+ }
63
+ playEnter() {
64
+ const { ms, easing, distance } = readMotion(this.el, 'bs-dialog');
65
+ if (ms === 0)
66
+ return;
67
+ play(this.backdropRef, [{ opacity: 0 }, { opacity: 1 }], ms, easing);
68
+ play(this.dialogRef, [{ opacity: 0, transform: `translateY(${distance}px) scale(0.96)` }, { opacity: 1, transform: 'none' }], ms, easing);
69
+ }
70
+ playExit() {
71
+ const { ms, easing, distance } = readMotion(this.el, 'bs-dialog');
72
+ const run = ++this.motionRun;
73
+ Promise.all([
74
+ play(this.backdropRef, [{ opacity: 1 }, { opacity: 0 }], ms, easing, 'forwards'),
75
+ play(this.dialogRef, [{ opacity: 1, transform: 'none' }, { opacity: 0, transform: `translateY(${distance}px) scale(0.96)` }], ms, easing, 'forwards'),
76
+ ]).then(() => {
77
+ if (run === this.motionRun)
78
+ this.closing = false;
79
+ });
80
+ }
43
81
  dialogRef;
44
82
  previouslyFocused;
45
83
  previousBodyOverflow;
@@ -72,6 +110,14 @@ const BsDialog = class {
72
110
  }
73
111
  }
74
112
  componentDidRender() {
113
+ if (this.open && this.enterPending) {
114
+ this.enterPending = false;
115
+ this.playEnter();
116
+ }
117
+ else if (!this.open && this.closing && this.exitPending) {
118
+ this.exitPending = false;
119
+ this.playExit();
120
+ }
75
121
  if (this.open && !this.wasOpen) {
76
122
  this.previouslyFocused = document.activeElement;
77
123
  // Deferred to the next frame -- calling .focus() synchronously here, in the same task as
@@ -103,14 +149,19 @@ const BsDialog = class {
103
149
  }
104
150
  }
105
151
  render() {
106
- if (!this.open) {
152
+ if (!this.open && !this.closing) {
107
153
  return null;
108
154
  }
109
155
  // The close button floats (absolute, over the top of the dialog) whenever there's a hero image
110
156
  // to sit over, or the centered layout has no header row to put an inline close button in.
111
157
  const floatingClose = this.centered || this.hasImage;
112
- return (h("div", { part: "backdrop", class: "bs-dialog__backdrop", onClick: this.onBackdropClick }, h("div", { ref: el => (this.dialogRef = el), tabIndex: -1, part: "dialog", class: `bs-dialog__dialog bs-dialog__dialog--${this.size}`, role: "dialog", "aria-modal": "true", "aria-label": this.heading }, floatingClose && (h("bs-icon-button", { part: "close", class: "bs-dialog__close--floating", variant: "neutral", size: "md", "aria-label": this.closeLabel, onClick: this.close }, h(CloseIcon, null))), h("div", { part: "image", class: `bs-dialog__image ${this.hasImage ? 'bs-dialog__image--visible' : ''}` }, h("slot", { name: "image", onSlotchange: this.onImageSlotchange })), this.centered && (h("div", { part: "icon", class: `bs-dialog__icon ${this.hasIcon ? 'bs-dialog__icon--visible' : ''}` }, h("slot", { name: "icon", onSlotchange: this.onIconSlotchange }))), h("div", { part: "header", class: `bs-dialog__header ${this.centered ? 'bs-dialog__header--centered' : ''}` }, h("span", { class: "bs-dialog__heading" }, this.heading), !floatingClose && (h("bs-icon-button", { part: "close", variant: "subtle", size: "md", "aria-label": this.closeLabel, onClick: this.close }, h(CloseIcon, null)))), h("div", { part: "body", class: `bs-dialog__body ${this.centered ? 'bs-dialog__body--centered' : ''}` }, h("slot", null)), h("div", { part: "footer", class: `bs-dialog__footer ${this.hasFooter ? 'bs-dialog__footer--visible' : ''}` }, h("slot", { name: "footer", onSlotchange: this.onFooterSlotchange })))));
158
+ return (h("div", { ref: el => (this.backdropRef = el), part: "backdrop", class: `bs-dialog__backdrop ${this.open ? '' : 'bs-dialog__backdrop--closing'}`, onClick: this.onBackdropClick }, h("div", { ref: el => (this.dialogRef = el), tabIndex: -1, part: "dialog", class: `bs-dialog__dialog bs-dialog__dialog--${this.size}`, role: "dialog", "aria-modal": "true", "aria-label": this.heading }, floatingClose && (h("bs-icon-button", { part: "close", class: "bs-dialog__close--floating", variant: "neutral", size: "md", "aria-label": this.closeLabel, onClick: this.close }, h(CloseIcon, null))), h("div", { part: "image", class: `bs-dialog__image ${this.hasImage ? 'bs-dialog__image--visible' : ''}` }, h("slot", { name: "image", onSlotchange: this.onImageSlotchange })), this.centered && (h("div", { part: "icon", class: `bs-dialog__icon ${this.hasIcon ? 'bs-dialog__icon--visible' : ''}` }, h("slot", { name: "icon", onSlotchange: this.onIconSlotchange }))), h("div", { part: "header", class: `bs-dialog__header ${this.centered ? 'bs-dialog__header--centered' : ''}` }, h("span", { class: "bs-dialog__heading" }, this.heading), !floatingClose && (h("bs-icon-button", { part: "close", variant: "subtle", size: "md", "aria-label": this.closeLabel, onClick: this.close }, h(CloseIcon, null)))), h("div", { part: "body", class: `bs-dialog__body ${this.centered ? 'bs-dialog__body--centered' : ''}` }, h("slot", null)), h("div", { part: "footer", class: `bs-dialog__footer ${this.hasFooter ? 'bs-dialog__footer--visible' : ''}` }, h("slot", { name: "footer", onSlotchange: this.onFooterSlotchange })))));
113
159
  }
160
+ static get watchers() { return {
161
+ "open": [{
162
+ "onOpenChange": 0
163
+ }]
164
+ }; }
114
165
  };
115
166
  // 16x16 native viewBox, matching bs-attachment's own CloseIcon proportions (two crossing diagonal
116
167
  // strokes) -- shared between both close button variants above rather than duplicated inline.
@@ -19,7 +19,7 @@ const BsDivider = class {
19
19
  const a11y = this.decorative
20
20
  ? { role: 'none', 'aria-hidden': 'true' }
21
21
  : { role: 'separator', 'aria-orientation': orientation };
22
- return (h(Host, { key: '0146af9f63ddd328e30262cf9767222445da478b', ...a11y }, h("div", { key: 'a621923c43fd326fe5ee6e7223bd5e7103b01e9e', class: "line", part: "line" })));
22
+ return (h(Host, { key: 'e075bd62e465491383d5377676b87c297f32f623', ...a11y }, h("div", { key: '0eb6f8b8b36d4da2ead95d19193e111060ca0b10', class: "line", part: "line" })));
23
23
  }
24
24
  };
25
25
  BsDivider.style = bsDividerCss();
@@ -37,7 +37,7 @@ const BsEmptyState = class {
37
37
  render() {
38
38
  const level = Math.min(6, Math.max(2, Math.round(Number(this.headingLevel)) || 3));
39
39
  const Heading = `h${level}`;
40
- return (h("div", { key: '0f841411b4b0f38d29487f3f52f79cb7a281f32a', part: "container", class: "bs-empty-state" }, h("bs-icon-tile", { key: '69c1e66424d966aed5e29582c2947bbfe0725cde', part: "icon", size: "lg", intent: this.intent }, this.hasIcon && h("slot", { key: '3243c54d7760d27cee1463ffe1acd1d886929a77', name: "icon" })), this.heading && (h(Heading, { key: '06075e06b4917ba28276c8b4c77e7dcc000c6f23', part: "heading", class: "bs-empty-state__heading" }, this.heading)), (this.description || this.hasDescriptionSlot) && (h("p", { key: '00dab545646803b8ed2f9723e6aa80f620f085a1', part: "description", class: "bs-empty-state__description" }, this.hasDescriptionSlot ? h("slot", null) : this.description)), this.hasAction && (h("div", { key: '1a984f1efd3bfbe6e5fd981e2f367ddd25e6f3c7', part: "action", class: "bs-empty-state__action" }, h("slot", { key: 'ea9b962f5652238d74625a11627992f0f4fb34bf', name: "action" })))));
40
+ return (h("div", { key: '7c9a598641c29fd747d042759d1b84401a2102d5', part: "container", class: "bs-empty-state" }, h("bs-icon-tile", { key: 'a11aa98623be1b76678092fc1a81dec33fb77e63', part: "icon", size: "lg", intent: this.intent }, this.hasIcon && h("slot", { key: 'f91436013c89319f2a06ae38f12c655d023bf485', name: "icon" })), this.heading && (h(Heading, { key: 'c93b6af8f937dafa8e1047384ed1246b7db6df4c', part: "heading", class: "bs-empty-state__heading" }, this.heading)), (this.description || this.hasDescriptionSlot) && (h("p", { key: '05a336857bb29e1df9405cf8cb5d0ae0f6d28f74', part: "description", class: "bs-empty-state__description" }, this.hasDescriptionSlot ? h("slot", null) : this.description)), this.hasAction && (h("div", { key: '02dbc3448e2cbe706c3db1c9bfbf70e8c129c36f', part: "action", class: "bs-empty-state__action" }, h("slot", { key: '42f3ec130d476919046540406af68d686d425c19', name: "action" })))));
41
41
  }
42
42
  };
43
43
  BsEmptyState.style = bsEmptyStateCss();
@@ -44,7 +44,7 @@ const BsErrorPage = class {
44
44
  const primary = this.primaryLabel ?? d.primary;
45
45
  const secondary = this.secondaryLabel ?? d.secondary;
46
46
  const level = Math.min(6, Math.max(1, Math.trunc(Number(this.headingLevel)) || 1));
47
- return (h("bs-card", { key: '376ab30f0eeaf89fb522373b375d0c68eebe8e99', part: "container", class: "bs-error-page", surface: "base" }, h("div", { key: '380013c4a4ac5208823856bb565f841e4b9aace3', class: "bs-error-page__body" }, h("div", { key: 'ce3ed8170977a0e2c4b1247140734fa3ba4c4896', class: "bs-error-page__art-group" }, h("bs-icon-tile", { key: '625d8cef3b2969f15e6ba5e94913359f54f277dd', part: "art", class: `bs-error-page__art ${d.info ? 'bs-error-page__art--info' : ''}`, intent: d.intent, size: "lg" }, h("slot", { key: 'e4415c41729cc3e9b52f1c61dfb8906a1d8dcc6a', name: "icon" }, d.glyph())), code && (h("span", { key: 'a6d8d24456746f9da3387c2acae20410382d7b62', part: "code", class: "bs-error-page__code" }, code))), h(`h${level}`, { part: 'heading', class: { 'bs-error-page__heading': true } }, heading), description && (h("p", { key: '4cace21798cbd9f40f2eb493938b5c12db43be97', part: "description", class: "bs-error-page__description" }, description)), (primary || secondary) && (h("div", { key: 'aca6cc9c414530bbb657e02c0910bbc4cae35ae6', part: "actions", class: "bs-error-page__actions" }, primary && (h("bs-button", { key: 'e5ec7c649b3b49e42e2f8132372e5b1b25f850bf', part: "primary", variant: "primary", onClick: () => this.bsPrimary.emit() }, primary)), secondary && (h("bs-button", { key: '7414d2d76186402404cf36ad662340f30e4b65aa', part: "secondary", variant: "outlined", onClick: () => this.bsSecondary.emit() }, secondary)))), this.reference && (h("p", { key: 'cf2fff2d7d2a77dd9f5a1fca1464ae0f687e4b5a', part: "reference", class: "bs-error-page__reference" }, this.reference)))));
47
+ return (h("bs-card", { key: 'b236e353ba68c47c300ca7bc8c87744b056261d3', part: "container", class: "bs-error-page", surface: "base" }, h("div", { key: 'dd65a6504d533bbaa7be0134a3853f041836c536', class: "bs-error-page__body" }, h("div", { key: '450194e7695bbea5076ca9ce060f5f5aa0eb6aac', class: "bs-error-page__art-group" }, h("bs-icon-tile", { key: '5a49ef75e17d2a565d34678792a83b62e64b2f4e', part: "art", class: `bs-error-page__art ${d.info ? 'bs-error-page__art--info' : ''}`, intent: d.intent, size: "lg" }, h("slot", { key: '06b3356dbc54741538ddeb633a99184c1d4f3e8d', name: "icon" }, d.glyph())), code && (h("span", { key: 'c11c2bdd41d504a5305164df96601b5ef2794027', part: "code", class: "bs-error-page__code" }, code))), h(`h${level}`, { part: 'heading', class: { 'bs-error-page__heading': true } }, heading), description && (h("p", { key: 'a20c05d36c8b9e9d64119df40ffb8eb8da44dd06', part: "description", class: "bs-error-page__description" }, description)), (primary || secondary) && (h("div", { key: '366cbecd6b82bb83a2b137b35bbf0520a2364e44', part: "actions", class: "bs-error-page__actions" }, primary && (h("bs-button", { key: 'a71c32a3588e38592d3b20dd723ed4b4e17b7d94', part: "primary", variant: "primary", onClick: () => this.bsPrimary.emit() }, primary)), secondary && (h("bs-button", { key: '4fef13ed699b7df97916eb09686dc7e0b5ac90aa', part: "secondary", variant: "outlined", onClick: () => this.bsSecondary.emit() }, secondary)))), this.reference && (h("p", { key: '87d6403fcebf8345fae40329d509f41c6d2d7bfe', part: "reference", class: "bs-error-page__reference" }, this.reference)))));
48
48
  }
49
49
  };
50
50
  const icon = (children) => () => (h("svg", { class: "bs-error-page__glyph", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.8", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, children));
@@ -69,7 +69,7 @@ const BsFileUploadItem = class {
69
69
  }
70
70
  render() {
71
71
  const removing = this.state === 'success';
72
- return (h("div", { key: '02ddff16491c33fa61626bca72275ea0a1037c14', part: "item", class: `bs-file-upload-item bs-file-upload-item--${this.state}` }, h("div", { key: 'c465a9216d363ee858933d24abb468d73d66190e', part: "thumbnail", class: "bs-file-upload-item__thumbnail" }, h("slot", { key: '5aeaec4d3e9120163dab89c9bb3ca71e8976cae3', name: "thumbnail" }, this.thumbnailSrc ? (h("img", { class: "bs-file-upload-item__image", src: this.thumbnailSrc, alt: this.thumbnailAlt })) : (h(ImageIcon, null)))), h("div", { key: '3fdf5cb05270ae986e59404758f487932da10fbe', class: "bs-file-upload-item__content" }, h("div", { key: 'eb783412a8f97eaf6d566c06283c0ca0cc735570', class: "bs-file-upload-item__meta" }, h("span", { key: 'a456cfbcbaa19329715d55d80845a6b824bb2d64', part: "name", class: "bs-file-upload-item__name" }, this.fileName), this.fileSize && (h("span", { key: '7810e2855de50d3fa42d7ee29af81e2c58ea1a42', part: "size", class: "bs-file-upload-item__size" }, this.fileSize))), this.renderStatus()), h("bs-icon-button", { key: '7be3bf3d73ec51a2ce3bc23b4e401306c2d6bcc9', part: "action", variant: "subtle", size: "lg", ariaLabel: removing ? this.removeLabel : this.cancelLabel, onClick: this.onAction }, removing ? h(TrashIcon, null) : h(CloseIcon, null))));
72
+ return (h("div", { key: 'aff0de0cc425f2bea76407bd4e805ba7662816f1', part: "item", class: `bs-file-upload-item bs-file-upload-item--${this.state}` }, h("div", { key: 'e27d9ccd7f23a1a97eae0af9fa93fd5a45305bce', part: "thumbnail", class: "bs-file-upload-item__thumbnail" }, h("slot", { key: '16e52a05a81a1c89e1f74d9e48311a0663d60dec', name: "thumbnail" }, this.thumbnailSrc ? (h("img", { class: "bs-file-upload-item__image", src: this.thumbnailSrc, alt: this.thumbnailAlt })) : (h(ImageIcon, null)))), h("div", { key: '7b0dd4283f8412c51e3d74e6b3659c769e205c38', class: "bs-file-upload-item__content" }, h("div", { key: '70f55bffad0b17cd2808d26c7117d00b1f1385ec', class: "bs-file-upload-item__meta" }, h("span", { key: '759c23ce263cfab9230cb0b8a5d5322f0af46ca5', part: "name", class: "bs-file-upload-item__name" }, this.fileName), this.fileSize && (h("span", { key: '9667c0fbb54d59d6e1803fabaea475f321bfd985', part: "size", class: "bs-file-upload-item__size" }, this.fileSize))), this.renderStatus()), h("bs-icon-button", { key: '6dc6d78f8bceee678d18aae7747193e32d4bc637', part: "action", variant: "subtle", size: "lg", ariaLabel: removing ? this.removeLabel : this.cancelLabel, onClick: this.onAction }, removing ? h(TrashIcon, null) : h(CloseIcon, null))));
73
73
  }
74
74
  };
75
75
  // Figma exports, recolored via currentColor so the CSS tokens drive the color.
@@ -98,7 +98,7 @@ const BsFileUpload = class {
98
98
  this.handleFiles(files);
99
99
  };
100
100
  render() {
101
- return (h("div", { key: '58fece79d4fb5204ba4edadbdac4a26b5ef3186b', part: "dropzone", class: `bs-file-upload bs-file-upload--${this.direction} ${this.dragging ? 'bs-file-upload--dragging' : ''} ${this.disabled ? 'bs-file-upload--disabled' : ''}`, onDragEnter: this.onDragOver, onDragOver: this.onDragOver, onDragLeave: this.onDragLeave, onDrop: this.onDrop }, h("div", { key: '9339e7a61fd8d2d337c442518b0feca4eac56f4e', part: "icon", class: "bs-file-upload__icon" }, h("slot", { key: 'b361ea7dda65426da604485f8d00022520e96643', name: "icon" }, h(UploadIcon, { key: 'fb08c4f2ec4250293ca66ab7a84c0b77599b15b9' }))), h("div", { key: '1ee60fe58d4196a8aaf95d38e7ba1d6aaaf269fb', class: "bs-file-upload__content" }, h("div", { key: '57e91a29e74a9e02831b32e3ab674607a256e68c', class: "bs-file-upload__text" }, this.heading && (h("span", { key: '389ea949446b63bb976071fec70d3e5398d3ebef', part: "heading", class: "bs-file-upload__heading" }, this.heading)), this.description && (h("span", { key: 'f6709820df651e915ee7b0073672820478e3c483', part: "description", id: "description", class: "bs-file-upload__description" }, this.description))), h("bs-button", { key: '29abda9026efccb881b26794ca5441888ef4c02c', part: "browse", variant: "neutral", size: "sm", disabled: this.disabled, onClick: this.onBrowse }, this.buttonLabel)), h("input", { key: '3ea4af2d866795676c74138f5ce6f75f5cb13111', ref: el => (this.inputEl = el), class: "bs-file-upload__input", type: "file", hidden: true, tabindex: -1, accept: this.accept, multiple: this.multiple, disabled: this.disabled, "aria-describedby": this.description ? 'description' : undefined, onChange: this.onInputChange })));
101
+ return (h("div", { key: 'dca680bf51b270a837fe7e8b59ec0e68aab5ccb2', part: "dropzone", class: `bs-file-upload bs-file-upload--${this.direction} ${this.dragging ? 'bs-file-upload--dragging' : ''} ${this.disabled ? 'bs-file-upload--disabled' : ''}`, onDragEnter: this.onDragOver, onDragOver: this.onDragOver, onDragLeave: this.onDragLeave, onDrop: this.onDrop }, h("div", { key: '6553299e75c11c86f5d87a797066977712b40cec', part: "icon", class: "bs-file-upload__icon" }, h("slot", { key: 'f7807bf5237e14f230084ec31777c417efdf1715', name: "icon" }, h(UploadIcon, { key: '8070074c0c7ae30980632842609160604147fa15' }))), h("div", { key: '2d8635c020ee47ff7f69662f5cb3ceae51d7c700', class: "bs-file-upload__content" }, h("div", { key: 'a7274934366c0c99ec9691f3f34c7664a5e0dacf', class: "bs-file-upload__text" }, this.heading && (h("span", { key: 'd8bc7716995b017e7c7d9452d0cd57cbbb20cbaa', part: "heading", class: "bs-file-upload__heading" }, this.heading)), this.description && (h("span", { key: '2b42c3ef723f3d196ffb015fafec77a80c90a053', part: "description", id: "description", class: "bs-file-upload__description" }, this.description))), h("bs-button", { key: 'c1a2f9de60ef0b22f04a104fb582abfce703d7d2', part: "browse", variant: "neutral", size: "sm", disabled: this.disabled, onClick: this.onBrowse }, this.buttonLabel)), h("input", { key: '8330b08007a1c6f9e1a4e161ab31da694ff10a23', ref: el => (this.inputEl = el), class: "bs-file-upload__input", type: "file", hidden: true, tabindex: -1, accept: this.accept, multiple: this.multiple, disabled: this.disabled, "aria-describedby": this.description ? 'description' : undefined, onChange: this.onInputChange })));
102
102
  }
103
103
  };
104
104
  // Figma's "UploadSimple" icon (3272:50330), exported SVG, recolored via currentColor.
@@ -305,10 +305,10 @@ const BsGlobalSearch = class {
305
305
  const listId = `${this.id}-listbox`;
306
306
  const isList = this.status === 'default' || this.status === 'results';
307
307
  const showFooter = this.showFooter && isList;
308
- return (h("div", { key: 'dd4477e08b51d52d5309150c4e95f0e560411a05', class: "bs-global-search" }, h("div", { key: 'a37363a1076c4fab1676d4801a0f9751528b42d0', part: "field", class: "bs-global-search__field", role: "combobox", "aria-label": this.label || this.placeholder, "aria-expanded": String(this.open && showList), "aria-haspopup": "listbox", "aria-controls": this.open && showList ? listId : undefined, "aria-activedescendant": this.open && this.activeId ? this.activeId : undefined, onKeyDown: this.onKeyDown, onFocusin: () => this.setOpen(true), onClick: () => this.setOpen(true) }, h("bs-input", { key: 'c0a4d130a36937c90c95659b439eef20655a6c99', ref: el => (this.inputEl = el), type: "search", value: this.value, placeholder: this.placeholder, disabled: this.disabled, onBsInput: this.onInput })), this.open && (h("div", { key: 'f85e3f63bf82a5de2648e8fa60f4fd4df288ec3b', part: "panel", class: "bs-global-search__panel", onMouseDown: (ev) => ev.preventDefault(), onMouseOver: this.onPanelMouseOver }, isList && showList && (h("div", { key: 'cc926315b2b1d2ad62026531a4174cb84df713a8', id: listId, class: "bs-global-search__list", role: "listbox", "aria-label": this.listLabel }, sections.map(s => {
308
+ return (h("div", { key: '122fd2e1440ff04e7aeb9e12b8071287c9eae7ec', class: "bs-global-search" }, h("div", { key: 'dc2a228d802815873904ca8f0504f71f8ce73dd0', part: "field", class: "bs-global-search__field", role: "combobox", "aria-label": this.label || this.placeholder, "aria-expanded": String(this.open && showList), "aria-haspopup": "listbox", "aria-controls": this.open && showList ? listId : undefined, "aria-activedescendant": this.open && this.activeId ? this.activeId : undefined, onKeyDown: this.onKeyDown, onFocusin: () => this.setOpen(true), onClick: () => this.setOpen(true) }, h("bs-input", { key: '350322cbdeccd18ac2456fb358ec83589aa835c8', ref: el => (this.inputEl = el), type: "search", value: this.value, placeholder: this.placeholder, disabled: this.disabled, onBsInput: this.onInput })), this.open && (h("div", { key: 'c250dc78b38158f9529dbd9c2bd1f2f3e9c107a4', part: "panel", class: "bs-global-search__panel", onMouseDown: (ev) => ev.preventDefault(), onMouseOver: this.onPanelMouseOver }, isList && showList && (h("div", { key: '17c81ab7633498a3de7853a33b2d31db8b304633', id: listId, class: "bs-global-search__list", role: "listbox", "aria-label": this.listLabel }, sections.map(s => {
309
309
  const hid = `${this.id}-h-${s}`;
310
310
  return (h("div", { part: "section", class: "bs-global-search__section", role: "group", "aria-labelledby": hid }, h("div", { part: "section-header", id: hid, class: "bs-global-search__section-header" }, this.sectionLabel(s)), h("slot", { name: s })));
311
- }))), this.status === 'empty' && this.renderStateBlock('empty'), this.status === 'error' && this.renderStateBlock('error'), showFooter && this.renderFooter())), h("span", { key: '4bf9f7fc2a00853aee7b48328819ef0a9181d668', class: "bs-global-search__live", "aria-live": "polite" }, this.announcement())));
311
+ }))), this.status === 'empty' && this.renderStateBlock('empty'), this.status === 'error' && this.renderStateBlock('error'), showFooter && this.renderFooter())), h("span", { key: 'fc76b4785031c6ed1b3e3ba5668dfaacdbc0faa4', class: "bs-global-search__live", "aria-live": "polite" }, this.announcement())));
312
312
  }
313
313
  static get watchers() { return {
314
314
  "status": [{
@@ -40,12 +40,12 @@ const BsGrid = class {
40
40
  const row = this.rowGap ? this.token(this.rowGap) : gapValue;
41
41
  const col = this.columnGap ? this.token(this.columnGap) : gapValue;
42
42
  const align = ALIGNS.includes(this.align) ? this.align : 'stretch';
43
- return (h("div", { key: '0799adbc2484f270db8ca5c2cadc1a0ec55ecbc0', class: "bs-grid", part: "container", style: {
43
+ return (h("div", { key: 'cd02b8630bd31c42ffdf9a594a0808aa5f2cea92', class: "bs-grid", part: "container", style: {
44
44
  gridTemplateColumns: this.template(),
45
45
  rowGap: `var(--bs-grid-row-gap, ${row})`,
46
46
  columnGap: `var(--bs-grid-column-gap, ${col})`,
47
47
  alignItems: align,
48
- } }, h("slot", { key: '90d4940c5b1870df9eaae616f8fbe3738f025a3b' })));
48
+ } }, h("slot", { key: 'ff6f7beebdd212901e3b071f0c02270df6494219' })));
49
49
  }
50
50
  };
51
51
  BsGrid.style = bsGridCss();