@brandsync/wc 1.16.0 → 1.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (625) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/REFERENCE.md +476 -0
  3. package/custom-elements.json +10039 -5497
  4. package/dist/brandsync-wc/brandsync-wc.esm.js +1 -1
  5. package/dist/brandsync-wc/{p-f271e1d2.entry.js → p-0082db6a.entry.js} +1 -1
  6. package/dist/brandsync-wc/p-07e0b444.entry.js +1 -0
  7. package/dist/brandsync-wc/{p-b67a0c8f.entry.js → p-08e0e704.entry.js} +1 -1
  8. package/dist/brandsync-wc/{p-d165a742.entry.js → p-0a6f22fe.entry.js} +1 -1
  9. package/dist/brandsync-wc/{p-8390a155.entry.js → p-14b4f4c4.entry.js} +1 -1
  10. package/dist/brandsync-wc/p-15f06226.entry.js +1 -0
  11. package/dist/brandsync-wc/{p-a5659499.entry.js → p-186e3b78.entry.js} +1 -1
  12. package/dist/brandsync-wc/{p-c85fe37b.entry.js → p-1a47774e.entry.js} +1 -1
  13. package/dist/brandsync-wc/p-1a62e5b7.entry.js +1 -0
  14. package/dist/brandsync-wc/p-1aa0f9a3.entry.js +1 -0
  15. package/dist/brandsync-wc/{p-e9b6b30f.entry.js → p-1d8c2ec1.entry.js} +1 -1
  16. package/dist/brandsync-wc/p-246036cd.entry.js +1 -0
  17. package/dist/brandsync-wc/{p-45986ad4.entry.js → p-31ca98c3.entry.js} +1 -1
  18. package/dist/brandsync-wc/p-344695a8.entry.js +1 -0
  19. package/dist/brandsync-wc/{p-c25553bc.entry.js → p-345b5ef3.entry.js} +1 -1
  20. package/dist/brandsync-wc/{p-dcacee29.entry.js → p-34851d6d.entry.js} +1 -1
  21. package/dist/brandsync-wc/{p-6cb21302.entry.js → p-348fef11.entry.js} +1 -1
  22. package/dist/brandsync-wc/p-3e6f430a.entry.js +1 -0
  23. package/dist/brandsync-wc/p-43f8afda.entry.js +1 -0
  24. package/dist/brandsync-wc/{p-361aef36.entry.js → p-47929dca.entry.js} +1 -1
  25. package/dist/brandsync-wc/{p-cc4c8c1d.entry.js → p-47ce984f.entry.js} +1 -1
  26. package/dist/brandsync-wc/{p-d5a6098d.entry.js → p-4d4997af.entry.js} +1 -1
  27. package/dist/brandsync-wc/p-4ff649f1.entry.js +1 -0
  28. package/dist/brandsync-wc/p-50c116eb.entry.js +1 -0
  29. package/dist/brandsync-wc/{p-f3eca1ce.entry.js → p-50f60ed6.entry.js} +1 -1
  30. package/dist/brandsync-wc/p-52d61070.entry.js +1 -0
  31. package/dist/brandsync-wc/{p-2e285364.entry.js → p-55d336da.entry.js} +1 -1
  32. package/dist/brandsync-wc/{p-38fe9d07.entry.js → p-55d97d1d.entry.js} +1 -1
  33. package/dist/brandsync-wc/{p-9beeb30c.entry.js → p-56a45582.entry.js} +1 -1
  34. package/dist/brandsync-wc/{p-e9afb553.entry.js → p-58179e15.entry.js} +1 -1
  35. package/dist/brandsync-wc/{p-1ca8b01e.entry.js → p-5868793d.entry.js} +1 -1
  36. package/dist/brandsync-wc/{p-38ac9aad.entry.js → p-5ac75555.entry.js} +1 -1
  37. package/dist/brandsync-wc/{p-7b3518b8.entry.js → p-5cd1abc7.entry.js} +1 -1
  38. package/dist/brandsync-wc/{p-dfad8c0a.entry.js → p-5e36d46f.entry.js} +1 -1
  39. package/dist/brandsync-wc/{p-54f9529f.entry.js → p-64f8eb7e.entry.js} +1 -1
  40. package/dist/brandsync-wc/p-6b019a88.entry.js +1 -0
  41. package/dist/brandsync-wc/{p-f0be9125.entry.js → p-6c987bc9.entry.js} +1 -1
  42. package/dist/brandsync-wc/{p-5ed1f45e.entry.js → p-757cd066.entry.js} +1 -1
  43. package/dist/brandsync-wc/{p-47b7fe76.entry.js → p-78114ea3.entry.js} +1 -1
  44. package/dist/brandsync-wc/p-7c29678d.entry.js +1 -0
  45. package/dist/brandsync-wc/{p-9d12b1fb.entry.js → p-7cfb1be6.entry.js} +1 -1
  46. package/dist/brandsync-wc/{p-4ed00786.entry.js → p-841a80b4.entry.js} +1 -1
  47. package/dist/brandsync-wc/{p-a56bc608.entry.js → p-87a10ee1.entry.js} +1 -1
  48. package/dist/brandsync-wc/{p-c05ee501.entry.js → p-8962abe0.entry.js} +1 -1
  49. package/dist/brandsync-wc/p-8e46a262.entry.js +1 -0
  50. package/dist/brandsync-wc/p-8f82ea7e.entry.js +1 -0
  51. package/dist/brandsync-wc/p-95c7f350.entry.js +1 -0
  52. package/dist/brandsync-wc/{p-3488c4fc.entry.js → p-9787bc0f.entry.js} +1 -1
  53. package/dist/brandsync-wc/{p-0159f0da.entry.js → p-998b95d3.entry.js} +1 -1
  54. package/dist/brandsync-wc/p-9bd739e5.entry.js +1 -0
  55. package/dist/brandsync-wc/p-a424a709.entry.js +1 -0
  56. package/dist/brandsync-wc/{p-b6081bba.entry.js → p-a51355d9.entry.js} +1 -1
  57. package/dist/brandsync-wc/{p-4ca40386.entry.js → p-a8c2855c.entry.js} +1 -1
  58. package/dist/brandsync-wc/{p-b663ee67.entry.js → p-a9d0a730.entry.js} +1 -1
  59. package/dist/brandsync-wc/{p-15f4c343.entry.js → p-ae207fd5.entry.js} +1 -1
  60. package/dist/brandsync-wc/{p-8048d033.entry.js → p-b1edc9b7.entry.js} +1 -1
  61. package/dist/brandsync-wc/{p-949a4270.entry.js → p-b759ae72.entry.js} +1 -1
  62. package/dist/brandsync-wc/{p-7dc59e0b.entry.js → p-b7bbc52f.entry.js} +1 -1
  63. package/dist/brandsync-wc/{p-912629c6.entry.js → p-bd901b06.entry.js} +1 -1
  64. package/dist/brandsync-wc/p-be7272ce.entry.js +1 -0
  65. package/dist/brandsync-wc/{p-401b3d3d.entry.js → p-bfff7cbb.entry.js} +1 -1
  66. package/dist/brandsync-wc/{p-298158da.entry.js → p-c020ffdf.entry.js} +1 -1
  67. package/dist/brandsync-wc/{p-abfa43f5.entry.js → p-c02ed03d.entry.js} +1 -1
  68. package/dist/brandsync-wc/{p-baa3d37a.entry.js → p-cb002195.entry.js} +1 -1
  69. package/dist/brandsync-wc/{p-ffc07eb5.entry.js → p-d3fe8cea.entry.js} +1 -1
  70. package/dist/brandsync-wc/{p-42b79d95.entry.js → p-d42a26c1.entry.js} +1 -1
  71. package/dist/brandsync-wc/{p-e72dd05e.entry.js → p-d985e569.entry.js} +1 -1
  72. package/dist/brandsync-wc/{p-cf287ff1.entry.js → p-e2491db8.entry.js} +1 -1
  73. package/dist/brandsync-wc/{p-36fe783a.entry.js → p-e32a6df1.entry.js} +1 -1
  74. package/dist/brandsync-wc/{p-65fa1b21.entry.js → p-e3e15670.entry.js} +1 -1
  75. package/dist/brandsync-wc/{p-67629178.entry.js → p-e4e9c961.entry.js} +1 -1
  76. package/dist/brandsync-wc/{p-521d0fc2.entry.js → p-e99c0937.entry.js} +1 -1
  77. package/dist/brandsync-wc/{p-89ea6366.entry.js → p-e9adfa44.entry.js} +1 -1
  78. package/dist/brandsync-wc/{p-76748795.entry.js → p-eb3bacb9.entry.js} +1 -1
  79. package/dist/brandsync-wc/p-ee00d3a5.entry.js +1 -0
  80. package/dist/brandsync-wc/{p-ed71eb02.entry.js → p-ee63423c.entry.js} +1 -1
  81. package/dist/brandsync-wc/p-f4628861.entry.js +1 -0
  82. package/dist/brandsync-wc/{p-d81c4f58.entry.js → p-f47b8673.entry.js} +1 -1
  83. package/dist/brandsync-wc/{p-b9c9bcba.entry.js → p-f6caa623.entry.js} +1 -1
  84. package/dist/brandsync-wc/p-f86b58bf.entry.js +1 -0
  85. package/dist/brandsync-wc/{p-00be9a64.entry.js → p-fa91106e.entry.js} +1 -1
  86. package/dist/brandsync-wc/{p-538d5b58.entry.js → p-fb84002e.entry.js} +1 -1
  87. package/dist/brandsync-wc/{p-a12691d8.entry.js → p-fbc219c6.entry.js} +1 -1
  88. package/dist/brandsync-wc/{p-f3cc961b.entry.js → p-fd78ff22.entry.js} +1 -1
  89. package/dist/cjs/brandsync-wc.cjs.js +1 -1
  90. package/dist/cjs/bs-accordion-group.cjs.entry.js +1 -1
  91. package/dist/cjs/bs-ai-disclaimer.cjs.entry.js +1 -1
  92. package/dist/cjs/bs-ai-greeting.cjs.entry.js +1 -1
  93. package/dist/cjs/bs-ai-thinking.cjs.entry.js +1 -1
  94. package/dist/cjs/bs-app-recent-item_3.cjs.entry.js +133 -0
  95. package/dist/cjs/bs-app-shell.cjs.entry.js +1 -1
  96. package/dist/cjs/bs-app-switcher.cjs.entry.js +208 -0
  97. package/dist/cjs/bs-attachment-list.cjs.entry.js +1 -1
  98. package/dist/cjs/bs-attachment.cjs.entry.js +1 -1
  99. package/dist/cjs/bs-avatar.cjs.entry.js +1 -1
  100. package/dist/cjs/bs-badge.cjs.entry.js +1 -1
  101. package/dist/cjs/bs-breadcrumb-overflow.cjs.entry.js +1 -1
  102. package/dist/cjs/bs-breadcrumb.cjs.entry.js +1 -1
  103. package/dist/cjs/bs-breadcrumbs.cjs.entry.js +1 -1
  104. package/dist/cjs/bs-button-skeleton.cjs.entry.js +1 -1
  105. package/dist/cjs/bs-button.cjs.entry.js +1 -1
  106. package/dist/cjs/bs-card.cjs.entry.js +1 -1
  107. package/dist/cjs/bs-carousel.cjs.entry.js +1 -1
  108. package/dist/cjs/bs-chatbot-feedback.cjs.entry.js +1 -1
  109. package/dist/cjs/bs-chatbot-header.cjs.entry.js +1 -1
  110. package/dist/cjs/bs-chatbot-response-action.cjs.entry.js +1 -1
  111. package/dist/cjs/bs-chatbot-sources-drawer.cjs.entry.js +1 -1
  112. package/dist/cjs/bs-chatbot-suggestion-button.cjs.entry.js +1 -1
  113. package/dist/cjs/bs-checkbox-skeleton.cjs.entry.js +1 -1
  114. package/dist/cjs/bs-checkbox.cjs.entry.js +1 -1
  115. package/dist/cjs/bs-chip-filter.cjs.entry.js +1 -1
  116. package/dist/cjs/bs-chip-informative.cjs.entry.js +1 -1
  117. package/dist/cjs/bs-chip-input.cjs.entry.js +1 -1
  118. package/dist/cjs/bs-citation-preview.cjs.entry.js +1 -1
  119. package/dist/cjs/bs-command-palette.cjs.entry.js +374 -0
  120. package/dist/cjs/bs-compact-menu-block_2.cjs.entry.js +46 -0
  121. package/dist/cjs/bs-company-switcher.cjs.entry.js +211 -0
  122. package/dist/cjs/bs-composer-status-banner.cjs.entry.js +1 -1
  123. package/dist/cjs/bs-composer.cjs.entry.js +1 -1
  124. package/dist/cjs/bs-container.cjs.entry.js +1 -1
  125. package/dist/cjs/bs-data-table.cjs.entry.js +2 -2
  126. package/dist/cjs/bs-datepicker.cjs.entry.js +1 -1
  127. package/dist/cjs/bs-divider.cjs.entry.js +1 -1
  128. package/dist/cjs/bs-empty-state.cjs.entry.js +47 -0
  129. package/dist/cjs/bs-error-page.cjs.entry.js +1 -1
  130. package/dist/cjs/bs-file-upload-item.cjs.entry.js +1 -1
  131. package/dist/cjs/bs-file-upload.cjs.entry.js +1 -1
  132. package/dist/cjs/bs-global-search.cjs.entry.js +326 -0
  133. package/dist/cjs/bs-grid.cjs.entry.js +2 -2
  134. package/dist/cjs/bs-icon-button.cjs.entry.js +8 -1
  135. package/dist/cjs/bs-icon-tile.cjs.entry.js +10 -2
  136. package/dist/cjs/bs-inline-tab.cjs.entry.js +1 -1
  137. package/dist/cjs/bs-input_3.cjs.entry.js +4 -4
  138. package/dist/cjs/bs-key-caps.cjs.entry.js +39 -0
  139. package/dist/cjs/bs-key.cjs.entry.js +28 -0
  140. package/dist/cjs/bs-keyboard-shortcuts.cjs.entry.js +112 -0
  141. package/dist/cjs/bs-list-item_2.cjs.entry.js +215 -0
  142. package/dist/cjs/bs-list.cjs.entry.js +1 -1
  143. package/dist/cjs/bs-mega-menu.cjs.entry.js +70 -0
  144. package/dist/cjs/bs-message-list.cjs.entry.js +1 -1
  145. package/dist/cjs/bs-message.cjs.entry.js +1 -1
  146. package/dist/cjs/bs-navigation-drawer-item.cjs.entry.js +1 -1
  147. package/dist/cjs/bs-navigation-drawer.cjs.entry.js +2 -2
  148. package/dist/cjs/bs-navigation-header.cjs.entry.js +5 -2
  149. package/dist/cjs/bs-page-header.cjs.entry.js +66 -0
  150. package/dist/cjs/bs-pagination.cjs.entry.js +1 -1
  151. package/dist/cjs/bs-progress-linear.cjs.entry.js +2 -2
  152. package/dist/cjs/bs-progress.cjs.entry.js +2 -2
  153. package/dist/cjs/bs-qr-code.cjs.entry.js +1 -1
  154. package/dist/cjs/bs-radio.cjs.entry.js +1 -1
  155. package/dist/cjs/bs-search-item.cjs.entry.js +47 -0
  156. package/dist/cjs/bs-session-timeout.cjs.entry.js +1 -1
  157. package/dist/cjs/bs-shortcut-row.cjs.entry.js +27 -0
  158. package/dist/cjs/bs-slider.cjs.entry.js +1 -1
  159. package/dist/cjs/bs-snackbar.cjs.entry.js +1 -1
  160. package/dist/cjs/bs-source-link.cjs.entry.js +2 -2
  161. package/dist/cjs/bs-spinner.cjs.entry.js +1 -1
  162. package/dist/cjs/bs-split-pane.cjs.entry.js +1 -1
  163. package/dist/cjs/bs-stack.cjs.entry.js +1 -1
  164. package/dist/cjs/bs-stepper-step.cjs.entry.js +1 -1
  165. package/dist/cjs/bs-stepper.cjs.entry.js +1 -1
  166. package/dist/cjs/bs-switch.cjs.entry.js +1 -1
  167. package/dist/cjs/bs-tab_3.cjs.entry.js +3 -3
  168. package/dist/cjs/bs-timepicker.cjs.entry.js +2 -2
  169. package/dist/cjs/bs-toast.cjs.entry.js +1 -1
  170. package/dist/cjs/bs-tooltip-trigger.cjs.entry.js +1 -1
  171. package/dist/cjs/bs-tooltip.cjs.entry.js +1 -1
  172. package/dist/cjs/bs-tree-item.cjs.entry.js +2 -2
  173. package/dist/cjs/bs-tree.cjs.entry.js +1 -1
  174. package/dist/cjs/loader.cjs.js +1 -1
  175. package/dist/collection/collection-manifest.json +17 -1
  176. package/dist/collection/components/bs-accordion-group/bs-accordion-group.js +1 -1
  177. package/dist/collection/components/bs-ai-disclaimer/bs-ai-disclaimer.js +1 -1
  178. package/dist/collection/components/bs-ai-greeting/bs-ai-greeting.js +1 -1
  179. package/dist/collection/components/bs-ai-thinking/bs-ai-thinking.js +1 -1
  180. package/dist/collection/components/bs-app-recent-item/bs-app-recent-item.cmp.test.js +52 -0
  181. package/dist/collection/components/bs-app-recent-item/bs-app-recent-item.css +111 -0
  182. package/dist/collection/components/bs-app-recent-item/bs-app-recent-item.js +184 -0
  183. package/dist/collection/components/bs-app-recent-item/bs-app-recent-item.stories.js +28 -0
  184. package/dist/collection/components/bs-app-shell/bs-app-shell.js +1 -1
  185. package/dist/collection/components/bs-app-switcher/bs-app-switcher.cmp.test.js +179 -0
  186. package/dist/collection/components/bs-app-switcher/bs-app-switcher.css +173 -0
  187. package/dist/collection/components/bs-app-switcher/bs-app-switcher.js +902 -0
  188. package/dist/collection/components/bs-app-switcher/bs-app-switcher.stories.js +91 -0
  189. package/dist/collection/components/bs-app-tile/bs-app-tile.cmp.test.js +58 -0
  190. package/dist/collection/components/bs-app-tile/bs-app-tile.css +104 -0
  191. package/dist/collection/components/bs-app-tile/bs-app-tile.js +190 -0
  192. package/dist/collection/components/bs-app-tile/bs-app-tile.stories.js +43 -0
  193. package/dist/collection/components/bs-attachment/bs-attachment.js +1 -1
  194. package/dist/collection/components/bs-attachment-list/bs-attachment-list.js +1 -1
  195. package/dist/collection/components/bs-avatar/bs-avatar.css +3 -3
  196. package/dist/collection/components/bs-badge/bs-badge.js +1 -1
  197. package/dist/collection/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.js +1 -1
  198. package/dist/collection/components/bs-breadcrumb/bs-breadcrumb-overflow/bs-breadcrumb-overflow.js +1 -1
  199. package/dist/collection/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.js +1 -1
  200. package/dist/collection/components/bs-button/bs-button/bs-button.js +1 -1
  201. package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.cmp.test.js +13 -0
  202. package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.js +27 -1
  203. package/dist/collection/components/bs-button-skeleton/bs-button-skeleton.js +1 -1
  204. package/dist/collection/components/bs-card/bs-card.js +1 -1
  205. package/dist/collection/components/bs-carousel/bs-carousel.js +1 -1
  206. package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.js +1 -1
  207. package/dist/collection/components/bs-chatbot-header/bs-chatbot-header.js +1 -1
  208. package/dist/collection/components/bs-chatbot-response-action/bs-chatbot-response-action.js +1 -1
  209. package/dist/collection/components/bs-chatbot-sources-drawer/bs-chatbot-sources-drawer.js +1 -1
  210. package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.js +1 -1
  211. package/dist/collection/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.js +1 -1
  212. package/dist/collection/components/bs-checkbox/bs-checkbox.js +1 -1
  213. package/dist/collection/components/bs-chip/bs-chip-filter/bs-chip-filter.js +1 -1
  214. package/dist/collection/components/bs-chip/bs-chip-informative/bs-chip-informative.js +1 -1
  215. package/dist/collection/components/bs-chip/bs-chip-input/bs-chip-input.js +1 -1
  216. package/dist/collection/components/bs-citation-preview/bs-citation-preview.js +1 -1
  217. package/dist/collection/components/bs-command-palette/bs-command-palette.cmp.test.js +207 -0
  218. package/dist/collection/components/bs-command-palette/bs-command-palette.css +214 -0
  219. package/dist/collection/components/bs-command-palette/bs-command-palette.js +1114 -0
  220. package/dist/collection/components/bs-command-palette/bs-command-palette.stories.js +194 -0
  221. package/dist/collection/components/bs-compact-menu-block/bs-compact-menu-block.cmp.test.js +32 -0
  222. package/dist/collection/components/bs-compact-menu-block/bs-compact-menu-block.css +43 -0
  223. package/dist/collection/components/bs-compact-menu-block/bs-compact-menu-block.js +67 -0
  224. package/dist/collection/components/bs-compact-menu-block/bs-compact-menu-block.stories.js +25 -0
  225. package/dist/collection/components/bs-company-switcher/bs-company-switcher.cmp.test.js +171 -0
  226. package/dist/collection/components/bs-company-switcher/bs-company-switcher.css +196 -0
  227. package/dist/collection/components/bs-company-switcher/bs-company-switcher.js +720 -0
  228. package/dist/collection/components/bs-company-switcher/bs-company-switcher.stories.js +78 -0
  229. package/dist/collection/components/bs-composer/bs-composer.js +1 -1
  230. package/dist/collection/components/bs-composer-status-banner/bs-composer-status-banner.js +1 -1
  231. package/dist/collection/components/bs-container/bs-container.js +1 -1
  232. package/dist/collection/components/bs-data-table/bs-data-table.js +2 -2
  233. package/dist/collection/components/bs-datepicker/bs-datepicker.js +1 -1
  234. package/dist/collection/components/bs-divider/bs-divider.js +1 -1
  235. package/dist/collection/components/bs-empty-state/bs-empty-state.cmp.test.js +102 -0
  236. package/dist/collection/components/bs-empty-state/bs-empty-state.css +45 -0
  237. package/dist/collection/components/bs-empty-state/bs-empty-state.js +175 -0
  238. package/dist/collection/components/bs-empty-state/bs-empty-state.stories.js +52 -0
  239. package/dist/collection/components/bs-error-page/bs-error-page.js +1 -1
  240. package/dist/collection/components/bs-file-upload/bs-file-upload.js +1 -1
  241. package/dist/collection/components/bs-file-upload-item/bs-file-upload-item.js +1 -1
  242. package/dist/collection/components/bs-global-search/bs-global-search.cmp.test.js +491 -0
  243. package/dist/collection/components/bs-global-search/bs-global-search.css +115 -0
  244. package/dist/collection/components/bs-global-search/bs-global-search.js +1024 -0
  245. package/dist/collection/components/bs-global-search/bs-global-search.stories.js +146 -0
  246. package/dist/collection/components/bs-grid/bs-grid.js +2 -2
  247. package/dist/collection/components/bs-icon-tile/bs-icon-tile.js +11 -2
  248. package/dist/collection/components/bs-input/bs-input.js +2 -2
  249. package/dist/collection/components/bs-key/bs-key.cmp.test.js +59 -0
  250. package/dist/collection/components/bs-key/bs-key.css +58 -0
  251. package/dist/collection/components/bs-key/bs-key.js +84 -0
  252. package/dist/collection/components/bs-key/bs-key.stories.js +19 -0
  253. package/dist/collection/components/bs-key-caps/bs-key-caps.cmp.test.js +60 -0
  254. package/dist/collection/components/bs-key-caps/bs-key-caps.css +28 -0
  255. package/dist/collection/components/bs-key-caps/bs-key-caps.js +120 -0
  256. package/dist/collection/components/bs-key-caps/bs-key-caps.stories.js +29 -0
  257. package/dist/collection/components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.cmp.test.js +194 -0
  258. package/dist/collection/components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.css +138 -0
  259. package/dist/collection/components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.js +485 -0
  260. package/dist/collection/components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.stories.js +111 -0
  261. package/dist/collection/components/bs-list/bs-list.js +1 -1
  262. package/dist/collection/components/bs-list-item/bs-list-item.js +1 -1
  263. package/dist/collection/components/bs-mega-menu/bs-mega-menu.cmp.test.js +131 -0
  264. package/dist/collection/components/bs-mega-menu/bs-mega-menu.css +139 -0
  265. package/dist/collection/components/bs-mega-menu/bs-mega-menu.js +358 -0
  266. package/dist/collection/components/bs-mega-menu/bs-mega-menu.stories.js +188 -0
  267. package/dist/collection/components/bs-menu/bs-menu.js +1 -1
  268. package/dist/collection/components/bs-menu-block/bs-menu-block.cmp.test.js +44 -0
  269. package/dist/collection/components/bs-menu-block/bs-menu-block.css +106 -0
  270. package/dist/collection/components/bs-menu-block/bs-menu-block.js +147 -0
  271. package/dist/collection/components/bs-menu-block/bs-menu-block.stories.js +36 -0
  272. package/dist/collection/components/bs-menu-item/bs-menu-item.js +1 -1
  273. package/dist/collection/components/bs-message/bs-message.js +1 -1
  274. package/dist/collection/components/bs-message-list/bs-message-list.js +1 -1
  275. package/dist/collection/components/bs-page-header/bs-page-header.cmp.test.js +206 -0
  276. package/dist/collection/components/bs-page-header/bs-page-header.css +252 -0
  277. package/dist/collection/components/bs-page-header/bs-page-header.js +351 -0
  278. package/dist/collection/components/bs-page-header/bs-page-header.stories.js +177 -0
  279. package/dist/collection/components/bs-pagination/bs-pagination.js +1 -1
  280. package/dist/collection/components/bs-popover/bs-popover.js +1 -1
  281. package/dist/collection/components/bs-progress/bs-progress.js +2 -2
  282. package/dist/collection/components/bs-progress-linear/bs-progress-linear.js +2 -2
  283. package/dist/collection/components/bs-qr-code/bs-qr-code.js +1 -1
  284. package/dist/collection/components/bs-radio/bs-radio.js +1 -1
  285. package/dist/collection/components/bs-search-item/bs-search-item.cmp.test.js +147 -0
  286. package/dist/collection/components/bs-search-item/bs-search-item.css +112 -0
  287. package/dist/collection/components/bs-search-item/bs-search-item.js +222 -0
  288. package/dist/collection/components/bs-search-item/bs-search-item.stories.js +31 -0
  289. package/dist/collection/components/bs-session-timeout/bs-session-timeout.js +1 -1
  290. package/dist/collection/components/bs-shortcut-row/bs-shortcut-row.cmp.test.js +60 -0
  291. package/dist/collection/components/bs-shortcut-row/bs-shortcut-row.css +42 -0
  292. package/dist/collection/components/bs-shortcut-row/bs-shortcut-row.js +154 -0
  293. package/dist/collection/components/bs-shortcut-row/bs-shortcut-row.stories.js +24 -0
  294. package/dist/collection/components/bs-skeleton/bs-skeleton.js +1 -1
  295. package/dist/collection/components/bs-slider/bs-slider.js +1 -1
  296. package/dist/collection/components/bs-snackbar/bs-snackbar.js +1 -1
  297. package/dist/collection/components/bs-source-link/bs-source-link.js +2 -2
  298. package/dist/collection/components/bs-spinner/bs-spinner.js +1 -1
  299. package/dist/collection/components/bs-split-pane/bs-split-pane.js +1 -1
  300. package/dist/collection/components/bs-stack/bs-stack.js +1 -1
  301. package/dist/collection/components/bs-stepper/bs-stepper/bs-stepper.js +1 -1
  302. package/dist/collection/components/bs-stepper/bs-stepper-step/bs-stepper-step.js +1 -1
  303. package/dist/collection/components/bs-switch/bs-switch.js +1 -1
  304. package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.js +1 -1
  305. package/dist/collection/components/bs-tab/bs-tab/bs-tab.js +1 -1
  306. package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.js +1 -1
  307. package/dist/collection/components/bs-timepicker/bs-timepicker.js +2 -2
  308. package/dist/collection/components/bs-toast/bs-toast.js +1 -1
  309. package/dist/collection/components/bs-tooltip/bs-tooltip.js +1 -1
  310. package/dist/collection/components/bs-tooltip-trigger/bs-tooltip-trigger.js +1 -1
  311. package/dist/collection/components/bs-tree/bs-tree.js +1 -1
  312. package/dist/collection/components/bs-tree-item/bs-tree-item.js +2 -2
  313. package/dist/collection/components/bs-whats-new-entry/bs-whats-new-entry.js +1 -1
  314. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.js +2 -2
  315. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.js +1 -1
  316. package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.cmp.test.js +79 -0
  317. package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.css +46 -0
  318. package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.js +10 -1
  319. package/dist/components/bs-accordion-group.js +1 -1
  320. package/dist/components/bs-ai-disclaimer.js +1 -1
  321. package/dist/components/bs-ai-greeting.js +1 -1
  322. package/dist/components/bs-ai-thinking.js +1 -1
  323. package/dist/components/bs-app-recent-item.d.ts +11 -0
  324. package/dist/components/bs-app-recent-item.js +1 -0
  325. package/dist/components/bs-app-shell.js +1 -1
  326. package/dist/components/bs-app-switcher.d.ts +11 -0
  327. package/dist/components/bs-app-switcher.js +1 -0
  328. package/dist/components/bs-app-tile.d.ts +11 -0
  329. package/dist/components/bs-app-tile.js +1 -0
  330. package/dist/components/bs-attachment-list.js +1 -1
  331. package/dist/components/bs-attachment.js +1 -1
  332. package/dist/components/bs-avatar.js +1 -1
  333. package/dist/components/bs-badge.js +1 -1
  334. package/dist/components/bs-breadcrumb-overflow.js +1 -1
  335. package/dist/components/bs-breadcrumb.js +1 -1
  336. package/dist/components/bs-breadcrumbs.js +1 -1
  337. package/dist/components/bs-button-skeleton.js +1 -1
  338. package/dist/components/bs-button.js +1 -1
  339. package/dist/components/bs-card.js +1 -1
  340. package/dist/components/bs-carousel.js +1 -1
  341. package/dist/components/bs-chatbot-feedback.js +1 -1
  342. package/dist/components/bs-chatbot-header.js +1 -1
  343. package/dist/components/bs-chatbot-response-action.js +1 -1
  344. package/dist/components/bs-chatbot-sources-drawer.js +1 -1
  345. package/dist/components/bs-chatbot-suggestion-button.js +1 -1
  346. package/dist/components/bs-checkbox-skeleton.js +1 -1
  347. package/dist/components/bs-checkbox.js +1 -1
  348. package/dist/components/bs-chip-filter.js +1 -1
  349. package/dist/components/bs-chip-informative.js +1 -1
  350. package/dist/components/bs-chip-input.js +1 -1
  351. package/dist/components/bs-citation-preview.js +1 -1
  352. package/dist/components/bs-command-palette.d.ts +11 -0
  353. package/dist/components/bs-command-palette.js +1 -0
  354. package/dist/components/bs-compact-menu-block.d.ts +11 -0
  355. package/dist/components/bs-compact-menu-block.js +1 -0
  356. package/dist/components/bs-company-switcher.d.ts +11 -0
  357. package/dist/components/bs-company-switcher.js +1 -0
  358. package/dist/components/bs-composer-status-banner.js +1 -1
  359. package/dist/components/bs-composer.js +1 -1
  360. package/dist/components/bs-container.js +1 -1
  361. package/dist/components/bs-cookie-consent.js +1 -1
  362. package/dist/components/bs-data-table.js +1 -1
  363. package/dist/components/bs-datepicker.js +1 -1
  364. package/dist/components/bs-dialog.js +1 -1
  365. package/dist/components/bs-divider.js +1 -1
  366. package/dist/components/bs-empty-state.d.ts +11 -0
  367. package/dist/components/bs-empty-state.js +1 -0
  368. package/dist/components/bs-error-page.js +1 -1
  369. package/dist/components/bs-file-upload-item.js +1 -1
  370. package/dist/components/bs-file-upload.js +1 -1
  371. package/dist/components/bs-global-search.d.ts +11 -0
  372. package/dist/components/bs-global-search.js +1 -0
  373. package/dist/components/bs-grid.js +1 -1
  374. package/dist/components/bs-icon-button.js +1 -1
  375. package/dist/components/bs-icon-tile.js +1 -1
  376. package/dist/components/bs-inline-tab.js +1 -1
  377. package/dist/components/bs-input.js +1 -1
  378. package/dist/components/bs-key-caps.d.ts +11 -0
  379. package/dist/components/bs-key-caps.js +1 -0
  380. package/dist/components/bs-key.d.ts +11 -0
  381. package/dist/components/bs-key.js +1 -0
  382. package/dist/components/bs-keyboard-shortcuts.d.ts +11 -0
  383. package/dist/components/bs-keyboard-shortcuts.js +1 -0
  384. package/dist/components/bs-list-item.js +1 -1
  385. package/dist/components/bs-list.js +1 -1
  386. package/dist/components/bs-mega-menu.d.ts +11 -0
  387. package/dist/components/bs-mega-menu.js +1 -0
  388. package/dist/components/bs-menu-block.d.ts +11 -0
  389. package/dist/components/bs-menu-block.js +1 -0
  390. package/dist/components/bs-menu-item.js +1 -1
  391. package/dist/components/bs-menu.js +1 -1
  392. package/dist/components/bs-message-list.js +1 -1
  393. package/dist/components/bs-message.js +1 -1
  394. package/dist/components/bs-navigation-drawer-item.js +1 -1
  395. package/dist/components/bs-navigation-drawer.js +1 -1
  396. package/dist/components/bs-navigation-header.js +1 -1
  397. package/dist/components/bs-onboarding-checklist.js +1 -1
  398. package/dist/components/bs-page-header.d.ts +11 -0
  399. package/dist/components/bs-page-header.js +1 -0
  400. package/dist/components/bs-pagination.js +1 -1
  401. package/dist/components/bs-popover.js +1 -1
  402. package/dist/components/bs-product-tour.js +1 -1
  403. package/dist/components/bs-progress-linear.js +1 -1
  404. package/dist/components/bs-progress.js +1 -1
  405. package/dist/components/bs-qr-code.js +1 -1
  406. package/dist/components/bs-radio.js +1 -1
  407. package/dist/components/bs-search-item.d.ts +11 -0
  408. package/dist/components/bs-search-item.js +1 -0
  409. package/dist/components/bs-session-timeout.js +1 -1
  410. package/dist/components/bs-shortcut-row.d.ts +11 -0
  411. package/dist/components/bs-shortcut-row.js +1 -0
  412. package/dist/components/bs-side-panel.js +1 -1
  413. package/dist/components/bs-skeleton.js +1 -1
  414. package/dist/components/bs-slider.js +1 -1
  415. package/dist/components/bs-snackbar.js +1 -1
  416. package/dist/components/bs-source-link.js +1 -1
  417. package/dist/components/bs-spinner.js +1 -1
  418. package/dist/components/bs-split-pane.js +1 -1
  419. package/dist/components/bs-stack.js +1 -1
  420. package/dist/components/bs-stepper-step.js +1 -1
  421. package/dist/components/bs-stepper.js +1 -1
  422. package/dist/components/bs-switch.js +1 -1
  423. package/dist/components/bs-tab.js +1 -1
  424. package/dist/components/bs-tabs.js +1 -1
  425. package/dist/components/bs-timepicker.js +1 -1
  426. package/dist/components/bs-toast.js +1 -1
  427. package/dist/components/bs-tooltip-trigger.js +1 -1
  428. package/dist/components/bs-tooltip.js +1 -1
  429. package/dist/components/bs-tree-item.js +1 -1
  430. package/dist/components/bs-tree.js +1 -1
  431. package/dist/components/bs-whats-new-entry.js +1 -1
  432. package/dist/components/bs-whats-new.js +1 -1
  433. package/dist/components/p-B6KgEbdM.js +1 -0
  434. package/dist/components/{p-CQjSDdH7.js → p-B8kw9EOx.js} +1 -1
  435. package/dist/components/p-BLPNwyiT.js +1 -0
  436. package/dist/components/{p-J9cxcDhY.js → p-BP1l6Q3Z.js} +1 -1
  437. package/dist/components/p-BS7ySxJZ.js +1 -0
  438. package/dist/components/{p-DYuzgzxI.js → p-BmdSbmFg.js} +1 -1
  439. package/dist/components/{p-CRtvJlh8.js → p-C1owRphU.js} +1 -1
  440. package/dist/components/{p-BsbtyRJV.js → p-C2rRVRIu.js} +1 -1
  441. package/dist/components/p-C3erqJFy.js +1 -0
  442. package/dist/components/p-Cd7p-48Q.js +1 -0
  443. package/dist/components/{p-CK7fiES5.js → p-CmlzHRkn.js} +1 -1
  444. package/dist/components/p-Co36mHEU.js +1 -0
  445. package/dist/components/p-D4_8H0vn.js +1 -0
  446. package/dist/components/{p-D0KM1R2i.js → p-D9dDFyPB.js} +1 -1
  447. package/dist/components/{p-DvNED6Lb.js → p-DBvhi__l.js} +1 -1
  448. package/dist/components/{p-kDJsWjTN.js → p-DFd4pP4i.js} +1 -1
  449. package/dist/components/{p-BdkE4auv.js → p-DVjuZdjF.js} +1 -1
  450. package/dist/components/{p-Bb1-2M8K.js → p-DW0Dw2LS.js} +1 -1
  451. package/dist/components/p-DcdFuKG9.js +1 -0
  452. package/dist/components/p-Deq0LzGO.js +1 -0
  453. package/dist/components/{p-BaJEv6rL.js → p-DgY5pxXd.js} +1 -1
  454. package/dist/components/{p-ByLUtXxO.js → p-DhhXayh6.js} +1 -1
  455. package/dist/components/p-DiORQQg3.js +1 -0
  456. package/dist/components/p-Dl0FedE5.js +1 -0
  457. package/dist/components/p-DsBToIYE.js +1 -0
  458. package/dist/components/{p-DFKc3lLA.js → p-DtbeCgXo.js} +1 -1
  459. package/dist/components/{p-C7RZ6qZC.js → p-DzvXbBvk.js} +1 -1
  460. package/dist/components/p-I1_Q3HQu.js +1 -0
  461. package/dist/components/{p-C93ymWm7.js → p-TXAiCnSZ.js} +1 -1
  462. package/dist/components/p-c-g3-oVu.js +1 -0
  463. package/dist/components/p-erdtytMq.js +1 -0
  464. package/dist/components/{p-B128GX8H.js → p-qXdgl7VG.js} +1 -1
  465. package/dist/esm/brandsync-wc.js +1 -1
  466. package/dist/esm/bs-accordion-group.entry.js +1 -1
  467. package/dist/esm/bs-ai-disclaimer.entry.js +1 -1
  468. package/dist/esm/bs-ai-greeting.entry.js +1 -1
  469. package/dist/esm/bs-ai-thinking.entry.js +1 -1
  470. package/dist/esm/bs-app-recent-item_3.entry.js +129 -0
  471. package/dist/esm/bs-app-shell.entry.js +1 -1
  472. package/dist/esm/bs-app-switcher.entry.js +206 -0
  473. package/dist/esm/bs-attachment-list.entry.js +1 -1
  474. package/dist/esm/bs-attachment.entry.js +1 -1
  475. package/dist/esm/bs-avatar.entry.js +1 -1
  476. package/dist/esm/bs-badge.entry.js +1 -1
  477. package/dist/esm/bs-breadcrumb-overflow.entry.js +1 -1
  478. package/dist/esm/bs-breadcrumb.entry.js +1 -1
  479. package/dist/esm/bs-breadcrumbs.entry.js +1 -1
  480. package/dist/esm/bs-button-skeleton.entry.js +1 -1
  481. package/dist/esm/bs-button.entry.js +1 -1
  482. package/dist/esm/bs-card.entry.js +1 -1
  483. package/dist/esm/bs-carousel.entry.js +1 -1
  484. package/dist/esm/bs-chatbot-feedback.entry.js +1 -1
  485. package/dist/esm/bs-chatbot-header.entry.js +1 -1
  486. package/dist/esm/bs-chatbot-response-action.entry.js +1 -1
  487. package/dist/esm/bs-chatbot-sources-drawer.entry.js +1 -1
  488. package/dist/esm/bs-chatbot-suggestion-button.entry.js +1 -1
  489. package/dist/esm/bs-checkbox-skeleton.entry.js +1 -1
  490. package/dist/esm/bs-checkbox.entry.js +1 -1
  491. package/dist/esm/bs-chip-filter.entry.js +1 -1
  492. package/dist/esm/bs-chip-informative.entry.js +1 -1
  493. package/dist/esm/bs-chip-input.entry.js +1 -1
  494. package/dist/esm/bs-citation-preview.entry.js +1 -1
  495. package/dist/esm/bs-command-palette.entry.js +372 -0
  496. package/dist/esm/bs-compact-menu-block_2.entry.js +43 -0
  497. package/dist/esm/bs-company-switcher.entry.js +209 -0
  498. package/dist/esm/bs-composer-status-banner.entry.js +1 -1
  499. package/dist/esm/bs-composer.entry.js +1 -1
  500. package/dist/esm/bs-container.entry.js +1 -1
  501. package/dist/esm/bs-data-table.entry.js +2 -2
  502. package/dist/esm/bs-datepicker.entry.js +1 -1
  503. package/dist/esm/bs-divider.entry.js +1 -1
  504. package/dist/esm/bs-empty-state.entry.js +45 -0
  505. package/dist/esm/bs-error-page.entry.js +1 -1
  506. package/dist/esm/bs-file-upload-item.entry.js +1 -1
  507. package/dist/esm/bs-file-upload.entry.js +1 -1
  508. package/dist/esm/bs-global-search.entry.js +324 -0
  509. package/dist/esm/bs-grid.entry.js +2 -2
  510. package/dist/esm/bs-icon-button.entry.js +8 -1
  511. package/dist/esm/bs-icon-tile.entry.js +11 -3
  512. package/dist/esm/bs-inline-tab.entry.js +1 -1
  513. package/dist/esm/bs-input_3.entry.js +4 -4
  514. package/dist/esm/bs-key-caps.entry.js +37 -0
  515. package/dist/esm/bs-key.entry.js +26 -0
  516. package/dist/esm/bs-keyboard-shortcuts.entry.js +110 -0
  517. package/dist/esm/bs-list-item_2.entry.js +212 -0
  518. package/dist/esm/bs-list.entry.js +1 -1
  519. package/dist/esm/bs-mega-menu.entry.js +68 -0
  520. package/dist/esm/bs-message-list.entry.js +1 -1
  521. package/dist/esm/bs-message.entry.js +1 -1
  522. package/dist/esm/bs-navigation-drawer-item.entry.js +1 -1
  523. package/dist/esm/bs-navigation-drawer.entry.js +2 -2
  524. package/dist/esm/bs-navigation-header.entry.js +5 -2
  525. package/dist/esm/bs-page-header.entry.js +64 -0
  526. package/dist/esm/bs-pagination.entry.js +1 -1
  527. package/dist/esm/bs-progress-linear.entry.js +2 -2
  528. package/dist/esm/bs-progress.entry.js +2 -2
  529. package/dist/esm/bs-qr-code.entry.js +1 -1
  530. package/dist/esm/bs-radio.entry.js +1 -1
  531. package/dist/esm/bs-search-item.entry.js +45 -0
  532. package/dist/esm/bs-session-timeout.entry.js +1 -1
  533. package/dist/esm/bs-shortcut-row.entry.js +25 -0
  534. package/dist/esm/bs-slider.entry.js +1 -1
  535. package/dist/esm/bs-snackbar.entry.js +1 -1
  536. package/dist/esm/bs-source-link.entry.js +2 -2
  537. package/dist/esm/bs-spinner.entry.js +1 -1
  538. package/dist/esm/bs-split-pane.entry.js +1 -1
  539. package/dist/esm/bs-stack.entry.js +1 -1
  540. package/dist/esm/bs-stepper-step.entry.js +1 -1
  541. package/dist/esm/bs-stepper.entry.js +1 -1
  542. package/dist/esm/bs-switch.entry.js +1 -1
  543. package/dist/esm/bs-tab_3.entry.js +3 -3
  544. package/dist/esm/bs-timepicker.entry.js +2 -2
  545. package/dist/esm/bs-toast.entry.js +1 -1
  546. package/dist/esm/bs-tooltip-trigger.entry.js +1 -1
  547. package/dist/esm/bs-tooltip.entry.js +1 -1
  548. package/dist/esm/bs-tree-item.entry.js +2 -2
  549. package/dist/esm/bs-tree.entry.js +1 -1
  550. package/dist/esm/loader.js +1 -1
  551. package/dist/types/components/bs-app-recent-item/bs-app-recent-item.cmp.test.d.ts +1 -0
  552. package/dist/types/components/bs-app-recent-item/bs-app-recent-item.d.ts +51 -0
  553. package/dist/types/components/bs-app-recent-item/bs-app-recent-item.stories.d.ts +15 -0
  554. package/dist/types/components/bs-app-switcher/bs-app-switcher.cmp.test.d.ts +1 -0
  555. package/dist/types/components/bs-app-switcher/bs-app-switcher.d.ts +159 -0
  556. package/dist/types/components/bs-app-switcher/bs-app-switcher.stories.d.ts +34 -0
  557. package/dist/types/components/bs-app-tile/bs-app-tile.cmp.test.d.ts +1 -0
  558. package/dist/types/components/bs-app-tile/bs-app-tile.d.ts +51 -0
  559. package/dist/types/components/bs-app-tile/bs-app-tile.stories.d.ts +18 -0
  560. package/dist/types/components/bs-button/bs-icon-button/bs-icon-button.d.ts +7 -0
  561. package/dist/types/components/bs-command-palette/bs-command-palette.cmp.test.d.ts +1 -0
  562. package/dist/types/components/bs-command-palette/bs-command-palette.d.ts +172 -0
  563. package/dist/types/components/bs-command-palette/bs-command-palette.stories.d.ts +56 -0
  564. package/dist/types/components/bs-compact-menu-block/bs-compact-menu-block.cmp.test.d.ts +1 -0
  565. package/dist/types/components/bs-compact-menu-block/bs-compact-menu-block.d.ts +28 -0
  566. package/dist/types/components/bs-compact-menu-block/bs-compact-menu-block.stories.d.ts +10 -0
  567. package/dist/types/components/bs-company-switcher/bs-company-switcher.cmp.test.d.ts +1 -0
  568. package/dist/types/components/bs-company-switcher/bs-company-switcher.d.ts +130 -0
  569. package/dist/types/components/bs-company-switcher/bs-company-switcher.stories.d.ts +25 -0
  570. package/dist/types/components/bs-empty-state/bs-empty-state.cmp.test.d.ts +1 -0
  571. package/dist/types/components/bs-empty-state/bs-empty-state.d.ts +50 -0
  572. package/dist/types/components/bs-empty-state/bs-empty-state.stories.d.ts +13 -0
  573. package/dist/types/components/bs-global-search/bs-global-search.cmp.test.d.ts +1 -0
  574. package/dist/types/components/bs-global-search/bs-global-search.d.ts +166 -0
  575. package/dist/types/components/bs-global-search/bs-global-search.stories.d.ts +61 -0
  576. package/dist/types/components/bs-icon-tile/bs-icon-tile.d.ts +5 -0
  577. package/dist/types/components/bs-key/bs-key.cmp.test.d.ts +1 -0
  578. package/dist/types/components/bs-key/bs-key.d.ts +36 -0
  579. package/dist/types/components/bs-key/bs-key.stories.d.ts +11 -0
  580. package/dist/types/components/bs-key-caps/bs-key-caps.cmp.test.d.ts +1 -0
  581. package/dist/types/components/bs-key-caps/bs-key-caps.d.ts +31 -0
  582. package/dist/types/components/bs-key-caps/bs-key-caps.stories.d.ts +15 -0
  583. package/dist/types/components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.cmp.test.d.ts +1 -0
  584. package/dist/types/components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.d.ts +95 -0
  585. package/dist/types/components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.stories.d.ts +43 -0
  586. package/dist/types/components/bs-mega-menu/bs-mega-menu.cmp.test.d.ts +1 -0
  587. package/dist/types/components/bs-mega-menu/bs-mega-menu.d.ts +110 -0
  588. package/dist/types/components/bs-mega-menu/bs-mega-menu.stories.d.ts +55 -0
  589. package/dist/types/components/bs-menu-block/bs-menu-block.cmp.test.d.ts +1 -0
  590. package/dist/types/components/bs-menu-block/bs-menu-block.d.ts +47 -0
  591. package/dist/types/components/bs-menu-block/bs-menu-block.stories.d.ts +15 -0
  592. package/dist/types/components/bs-page-header/bs-page-header.cmp.test.d.ts +1 -0
  593. package/dist/types/components/bs-page-header/bs-page-header.d.ts +100 -0
  594. package/dist/types/components/bs-page-header/bs-page-header.stories.d.ts +41 -0
  595. package/dist/types/components/bs-search-item/bs-search-item.cmp.test.d.ts +1 -0
  596. package/dist/types/components/bs-search-item/bs-search-item.d.ts +61 -0
  597. package/dist/types/components/bs-search-item/bs-search-item.stories.d.ts +13 -0
  598. package/dist/types/components/bs-shortcut-row/bs-shortcut-row.cmp.test.d.ts +1 -0
  599. package/dist/types/components/bs-shortcut-row/bs-shortcut-row.d.ts +38 -0
  600. package/dist/types/components/bs-shortcut-row/bs-shortcut-row.stories.d.ts +13 -0
  601. package/dist/types/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.d.ts +7 -1
  602. package/dist/types/components.d.ts +3920 -71
  603. package/dist/types/svg-inline.d.ts +5 -0
  604. package/package.json +2 -1
  605. package/reference.d.ts +50 -2
  606. package/reference.json +1701 -31
  607. package/dist/brandsync-wc/p-0228a584.entry.js +0 -1
  608. package/dist/brandsync-wc/p-0f97fe35.entry.js +0 -1
  609. package/dist/brandsync-wc/p-23379d7c.entry.js +0 -1
  610. package/dist/brandsync-wc/p-34b0c048.entry.js +0 -1
  611. package/dist/brandsync-wc/p-3789c7a5.entry.js +0 -1
  612. package/dist/brandsync-wc/p-5a45ef51.entry.js +0 -1
  613. package/dist/brandsync-wc/p-769c5b4a.entry.js +0 -1
  614. package/dist/brandsync-wc/p-86774165.entry.js +0 -1
  615. package/dist/brandsync-wc/p-e5f50e93.entry.js +0 -1
  616. package/dist/brandsync-wc/p-f4d1d56e.entry.js +0 -1
  617. package/dist/cjs/bs-list-item.cjs.entry.js +0 -66
  618. package/dist/cjs/bs-popover.cjs.entry.js +0 -153
  619. package/dist/cjs/bs-skeleton.cjs.entry.js +0 -51
  620. package/dist/components/p-B80vOwH6.js +0 -1
  621. package/dist/components/p-ChcaPfNL.js +0 -1
  622. package/dist/components/p-GTDI4Ibw.js +0 -1
  623. package/dist/esm/bs-list-item.entry.js +0 -64
  624. package/dist/esm/bs-popover.entry.js +0 -151
  625. package/dist/esm/bs-skeleton.entry.js +0 -49
@@ -0,0 +1,211 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-BYfMRtlW.js');
4
+
5
+ const bsCompanySwitcherCss = () => `:host{display:inline-block;box-sizing:border-box;width:var(--bs-company-switcher-width);max-width:100%;--bs-company-switcher-width:260px;--bs-company-switcher-panel-width:360px;--bs-company-switcher-radius:var(--bs-border-radius-100);--bs-company-switcher-trigger-bg:transparent;--bs-company-switcher-trigger-bg-hover:var(--bs-surface-hover);--bs-company-switcher-trigger-bg-pressed:var(--bs-surface-pressed);--bs-company-switcher-trigger-bg-open:var(--bs-surface-selected);--bs-company-switcher-focus-ring:var(--bs-border-neutral-focus);--bs-company-switcher-panel-bg:var(--bs-surface-base);--bs-company-switcher-panel-border-color:var(--bs-border-default);--bs-company-switcher-shadow:var(--bs-shadow-md);--bs-company-switcher-max-height:320px;--bs-company-switcher-text-color:var(--bs-text-default);--bs-company-switcher-muted-color:var(--bs-text-secondary);--bs-company-switcher-header-color:var(--bs-text-muted);--bs-company-switcher-z-index:var(--bs-z-index-popover)}.bs-company-switcher{display:block;width:100%;--bs-popover-radius:var(--bs-company-switcher-radius);--bs-popover-shadow:var(--bs-company-switcher-shadow);--bs-popover-z-index:var(--bs-company-switcher-z-index);--bs-popover-min-width:0px;--bs-popover-bg:transparent}.bs-company-switcher__trigger{box-sizing:border-box;display:flex;align-items:center;gap:var(--bs-spacing-150);width:100%;min-height:54px;padding:var(--bs-spacing-100) var(--bs-spacing-150);border:0;border-radius:var(--bs-company-switcher-radius);background:var(--bs-company-switcher-trigger-bg);color:var(--bs-company-switcher-text-color);font-family:var(--bs-typography-font-family-body, Roboto), sans-serif;text-align:left;cursor:pointer}.bs-company-switcher__trigger:hover{background:var(--bs-company-switcher-trigger-bg-hover)}.bs-company-switcher__trigger:active{background:var(--bs-company-switcher-trigger-bg-pressed)}:host([open]) .bs-company-switcher__trigger,.bs-company-switcher__trigger[aria-busy='true']{background:var(--bs-company-switcher-trigger-bg-open)}.bs-company-switcher__trigger:focus-visible{outline:2px solid var(--bs-company-switcher-focus-ring);outline-offset:2px}.bs-company-switcher__avatar{display:inline-flex;flex:0 0 auto}.bs-company-switcher__text{flex:1 1 0;min-width:0;display:flex;flex-direction:column}.bs-company-switcher__name{font-size:var(--bs-font-size-sm);font-weight:var(--bs-font-weight-medium);line-height:20px}.bs-company-switcher__subtitle{color:var(--bs-company-switcher-muted-color);font-size:var(--bs-font-size-xs);line-height:16px}.bs-company-switcher__name,.bs-company-switcher__subtitle{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bs-company-switcher__trail{flex:0 0 auto;width:20px;height:20px;color:var(--bs-icon-default)}.bs-company-switcher__panel{display:block;width:var(--bs-company-switcher-panel-width);max-width:calc(100vw - var(--bs-spacing-200));--bs-card-bg:var(--bs-company-switcher-panel-bg);--bs-card-radius:var(--bs-company-switcher-radius);--bs-card-padding:0px;--bs-card-border-width:1px;--bs-card-border-color:var(--bs-company-switcher-panel-border-color);--bs-card-shadow:none}.bs-company-switcher__search{padding:var(--bs-spacing-150) var(--bs-spacing-150) var(--bs-spacing-100)}.bs-company-switcher__search bs-input{width:100%}.bs-company-switcher__list{box-sizing:border-box;max-height:var(--bs-company-switcher-max-height);overflow-y:auto;padding:0 var(--bs-spacing-100) var(--bs-spacing-100)}.bs-company-switcher__group-header{padding:var(--bs-spacing-100) var(--bs-spacing-100) var(--bs-spacing-50);color:var(--bs-company-switcher-header-color);font-family:var(--bs-typography-font-family-body, Roboto), sans-serif;font-size:var(--bs-font-size-xs);font-weight:var(--bs-font-weight-medium);line-height:16px;letter-spacing:0.06em;text-transform:uppercase}.bs-company-switcher__row{--bs-list-item-min-height:52px;--bs-list-item-padding-y:var(--bs-spacing-100);--bs-list-item-padding-x:var(--bs-spacing-100);--bs-list-item-gap:var(--bs-spacing-150)}.bs-company-switcher__row--active{--bs-list-item-bg:var(--bs-surface-hover)}.bs-company-switcher__row-name{display:block;color:var(--bs-company-switcher-text-color);font-size:var(--bs-font-size-sm);font-weight:var(--bs-font-weight-medium);line-height:20px}.bs-company-switcher__row-sub{display:block;color:var(--bs-company-switcher-muted-color);font-size:var(--bs-font-size-xs);line-height:16px}.bs-company-switcher__check{width:20px;height:20px;color:var(--bs-icon-action, var(--bs-icon-default))}.bs-company-switcher__empty{--bs-empty-state-padding-y:var(--bs-spacing-400)}.bs-company-switcher__footer{display:flex;align-items:center;justify-content:space-between;gap:var(--bs-spacing-100);padding:var(--bs-spacing-100) var(--bs-spacing-150)}.bs-company-switcher__live{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}`;
6
+
7
+ let uid = 0;
8
+ const svgProps = {
9
+ viewBox: '0 0 24 24',
10
+ fill: 'none',
11
+ stroke: 'currentColor',
12
+ 'stroke-width': '1.8',
13
+ 'stroke-linecap': 'round',
14
+ 'stroke-linejoin': 'round',
15
+ 'aria-hidden': 'true',
16
+ };
17
+ const initialsOf = (name) => name
18
+ .split(/\s+/)
19
+ .filter(Boolean)
20
+ .slice(0, 2)
21
+ .map(w => w[0].toUpperCase())
22
+ .join('');
23
+ const digits = (s) => s.replace(/\s+/g, '');
24
+ const BsCompanySwitcher = class {
25
+ constructor(hostRef) {
26
+ index.registerInstance(this, hostRef);
27
+ this.bsCompanySwitch = index.createEvent(this, "bsCompanySwitch");
28
+ this.bsManageCompanies = index.createEvent(this, "bsManageCompanies");
29
+ this.bsAddCompanies = index.createEvent(this, "bsAddCompanies");
30
+ this.bsOpenChange = index.createEvent(this, "bsOpenChange");
31
+ }
32
+ get el() { return index.getElement(this); }
33
+ id = `bs-cs-${++uid}`;
34
+ inputEl;
35
+ focusSearch = false;
36
+ /** The companies the user can switch between. JS property only (an array cannot be an attribute). */
37
+ companies = [];
38
+ /** `id` of the current company. */
39
+ currentId;
40
+ /** `id`s of recently used companies, most recent first. The current company is not repeated in the Recent group. */
41
+ recentIds = [];
42
+ /** `id` of the company being switched to. Shows the switching state: a spinner in the trigger and on that row. */
43
+ switchingId;
44
+ /** Whether the panel is open. */
45
+ open = false;
46
+ /** Text of the trigger when there is no current company. */
47
+ placeholderLabel = 'Select a company';
48
+ /** Placeholder (and accessible name) of the search field. */
49
+ searchPlaceholder = 'Find a company or org. number';
50
+ /** Accessible name of the company listbox. */
51
+ listLabel = 'Companies';
52
+ /** Header of the current company group. */
53
+ currentLabel = 'Current';
54
+ /** Header of the recent companies group. */
55
+ recentLabel = 'Recent';
56
+ /** Header of the all companies group (the count is appended). */
57
+ allLabel = 'All companies';
58
+ /** Header of the search view when there are several matches ("3 matches"). */
59
+ matchesLabel = 'matches';
60
+ /** Header of the search view when there is one match ("1 match"). */
61
+ matchLabel = 'match';
62
+ /** Prefix of the org. number, e.g. "Org. no.". */
63
+ orgNumberLabel = 'Org. no.';
64
+ /** Trigger subtitle while switching. */
65
+ switchingLabel = 'Switching…';
66
+ /** No-results heading. `{query}` is replaced by the query. */
67
+ emptyHeading = 'No companies match “{query}”';
68
+ /** No-results description. */
69
+ emptyDescription = 'Check the spelling, or search by org. number.';
70
+ /** Text of the "Manage Companies" footer button. */
71
+ manageLabel = 'Manage Companies';
72
+ /** Text of the "Add companies" footer button. */
73
+ addLabel = 'Add companies';
74
+ query = '';
75
+ activeId = null;
76
+ /** Fires when a company other than the current one is chosen (click or Enter), with the company. */
77
+ bsCompanySwitch;
78
+ /** Fires when "Manage Companies" is pressed. */
79
+ bsManageCompanies;
80
+ /** Fires when "Add companies" is pressed. */
81
+ bsAddCompanies;
82
+ /** Fires when the panel opens or closes through user interaction, with the new state. */
83
+ bsOpenChange;
84
+ onOpen(next) {
85
+ this.query = '';
86
+ this.activeId = null;
87
+ this.focusSearch = next;
88
+ }
89
+ componentDidRender() {
90
+ if (this.open && this.focusSearch) {
91
+ this.focusSearch = false;
92
+ this.inputEl?.focus();
93
+ }
94
+ }
95
+ byId(id) {
96
+ return id ? this.companies.find(c => c.id === id) : undefined;
97
+ }
98
+ get q() {
99
+ return this.query.trim().toLowerCase();
100
+ }
101
+ matches() {
102
+ const q = this.q;
103
+ const qd = digits(q);
104
+ return this.companies.filter(c => c.name.toLowerCase().includes(q) || digits(c.orgNumber).includes(qd));
105
+ }
106
+ groups() {
107
+ if (this.q) {
108
+ const items = this.matches();
109
+ if (!items.length)
110
+ return [];
111
+ return [{ key: 'matches', header: `${items.length} ${items.length === 1 ? this.matchLabel : this.matchesLabel}`, items }];
112
+ }
113
+ const current = this.byId(this.currentId);
114
+ const recent = this.recentIds.map(i => this.byId(i)).filter((c) => !!c && c.id !== this.currentId);
115
+ const shown = new Set([current?.id, ...recent.map(c => c.id)]);
116
+ const rest = this.companies.filter(c => !shown.has(c.id));
117
+ const out = [];
118
+ if (current)
119
+ out.push({ key: 'current', header: this.currentLabel, items: [current] });
120
+ if (recent.length)
121
+ out.push({ key: 'recent', header: this.recentLabel, items: recent });
122
+ if (rest.length)
123
+ out.push({ key: 'all', header: `${this.allLabel} · ${rest.length}`, items: rest });
124
+ return out;
125
+ }
126
+ rowId(c) {
127
+ return `${this.id}-opt-${c.id}`;
128
+ }
129
+ setOpen(next) {
130
+ if (this.open === next)
131
+ return;
132
+ this.open = next;
133
+ this.bsOpenChange.emit(next);
134
+ }
135
+ choose(c) {
136
+ if (c.id === this.currentId || c.id === this.switchingId) {
137
+ this.setOpen(false);
138
+ return;
139
+ }
140
+ this.bsCompanySwitch.emit(c);
141
+ // The consumer asks for the switching state from its handler; otherwise there is nothing to wait for.
142
+ if (!this.switchingId)
143
+ this.setOpen(false);
144
+ }
145
+ onPopoverOpenChange = (ev) => {
146
+ // bs-popover's own event would bubble out of this host too; ours replaces it.
147
+ ev.stopPropagation();
148
+ this.setOpen(ev.detail);
149
+ };
150
+ onInput = (ev) => {
151
+ ev.stopPropagation();
152
+ this.query = ev.detail;
153
+ this.activeId = null;
154
+ };
155
+ onKeyDown = (ev) => {
156
+ if (ev.key !== 'ArrowDown' && ev.key !== 'ArrowUp' && ev.key !== 'Enter')
157
+ return;
158
+ const rows = this.groups().flatMap(g => g.items);
159
+ if (ev.key === 'Enter') {
160
+ const active = rows.find(c => this.rowId(c) === this.activeId);
161
+ if (active) {
162
+ ev.preventDefault();
163
+ this.choose(active);
164
+ }
165
+ return;
166
+ }
167
+ ev.preventDefault();
168
+ if (!rows.length)
169
+ return;
170
+ const idx = rows.findIndex(c => this.rowId(c) === this.activeId);
171
+ const next = ev.key === 'ArrowDown' ? (idx + 1) % rows.length : idx <= 0 ? rows.length - 1 : idx - 1;
172
+ this.activeId = this.rowId(rows[next]);
173
+ // Wait for the re-render so the row exists with its new state before scrolling to it.
174
+ requestAnimationFrame(() => this.el.shadowRoot?.getElementById(this.activeId ?? '')?.scrollIntoView?.({ block: 'nearest' }));
175
+ };
176
+ subtitle(c) {
177
+ return `${c.country} · ${this.orgNumberLabel} ${c.orgNumber}`;
178
+ }
179
+ renderTrigger() {
180
+ const switching = this.byId(this.switchingId);
181
+ const shown = switching ?? this.byId(this.currentId);
182
+ return (index.h("button", { slot: "trigger", part: "trigger", type: "button", class: "bs-company-switcher__trigger", "aria-haspopup": "listbox", "aria-expanded": String(this.open), "aria-busy": switching ? 'true' : undefined }, index.h("span", { "aria-hidden": "true", class: "bs-company-switcher__avatar" }, shown ? index.h("bs-avatar", { part: "avatar", type: "initials", size: "sm", initials: initialsOf(shown.name) }) : index.h("bs-avatar", { part: "avatar", type: "icon", size: "sm" })), index.h("span", { class: "bs-company-switcher__text" }, index.h("span", { part: "name", class: "bs-company-switcher__name" }, shown ? shown.name : this.placeholderLabel), shown && (index.h("span", { part: "subtitle", class: "bs-company-switcher__subtitle" }, switching ? this.switchingLabel : `${this.orgNumberLabel} ${shown.orgNumber}`))), switching ? (index.h("bs-spinner", { class: "bs-company-switcher__trail", size: "sm", label: this.switchingLabel })) : (index.h("svg", { class: "bs-company-switcher__trail bs-company-switcher__chevron", ...svgProps }, index.h("path", { d: "m6 9 6 6 6-6" })))));
183
+ }
184
+ renderRow(c) {
185
+ const id = this.rowId(c);
186
+ const isCurrent = c.id === this.currentId;
187
+ const isSwitching = c.id === this.switchingId;
188
+ return (index.h("bs-list-item", { part: "row", id: id, class: { 'bs-company-switcher__row': true, 'bs-company-switcher__row--active': this.activeId === id }, selectionRole: "option", value: c.id, selected: isCurrent, "aria-busy": isSwitching ? 'true' : undefined, onMouseEnter: () => (this.activeId = id), onBsItemClick: (ev) => {
189
+ ev.stopPropagation();
190
+ this.choose(c);
191
+ } }, index.h("span", { slot: "leading", "aria-hidden": "true" }, index.h("bs-avatar", { type: "initials", size: "sm", initials: initialsOf(c.name) })), index.h("span", { class: "bs-company-switcher__row-name" }, c.name), index.h("span", { class: "bs-company-switcher__row-sub" }, this.subtitle(c)), isSwitching ? (index.h("bs-spinner", { slot: "trailing", size: "sm", label: this.switchingLabel })) : isCurrent ? (index.h("svg", { slot: "trailing", class: "bs-company-switcher__check", ...svgProps }, index.h("path", { d: "m5 12.5 4.5 4.5L19 7.5" }))) : null));
192
+ }
193
+ render() {
194
+ const groups = this.groups();
195
+ const empty = !!this.q && groups.length === 0;
196
+ const listId = `${this.id}-listbox`;
197
+ const total = groups.reduce((n, g) => n + g.items.length, 0);
198
+ return (index.h("bs-popover", { key: 'cc655dc39514e72df47d69f8be630970be76b37f', class: "bs-company-switcher", open: this.open, placement: "bottom-start", onBsOpenChange: this.onPopoverOpenChange }, this.renderTrigger(), index.h("bs-card", { key: 'baf9e5cfd4e730962070dbdee2b3bf686f42ad97', part: "panel", class: "bs-company-switcher__panel", surface: "base" }, index.h("div", { key: 'e71781a9c7ad79eab8d850bb5f681ee1791178f4', class: "bs-company-switcher__search", onMouseDown: (ev) => ev.preventDefault() }, index.h("div", { key: 'f80b6e79ea19bcb8338f336775396409aae0dcf3', part: "search", role: "combobox", "aria-label": this.searchPlaceholder, "aria-expanded": "true", "aria-haspopup": "listbox", "aria-controls": groups.length ? listId : undefined, "aria-activedescendant": this.activeId ?? undefined, onKeyDown: this.onKeyDown }, index.h("bs-input", { key: '8bd76cccf990cc6b465a5f359d1dd0f1c48b315e', ref: el => (this.inputEl = el), type: "search", value: this.query, placeholder: this.searchPlaceholder, onBsInput: this.onInput }))), groups.length > 0 && (index.h("div", { key: '67d0149206610be71f55eed12b0a355e0cab16dd', id: listId, part: "list", class: "bs-company-switcher__list", role: "listbox", "aria-label": this.listLabel, onMouseDown: (ev) => ev.preventDefault(), onMouseLeave: () => (this.activeId = null) }, groups.map(g => {
199
+ const hid = `${this.id}-h-${g.key}`;
200
+ return (index.h("div", { part: "group", class: "bs-company-switcher__group", role: "group", "aria-labelledby": hid }, index.h("div", { part: "group-header", id: hid, class: "bs-company-switcher__group-header" }, g.header), g.items.map(c => this.renderRow(c))));
201
+ }))), empty && (index.h("bs-empty-state", { key: 'a7f485949bee4ed76fffe78b2a5d78279c172d22', part: "empty", class: "bs-company-switcher__empty", heading: this.emptyHeading.replace('{query}', this.query.trim()), description: this.emptyDescription }, index.h("svg", { key: '12885c0dc593629552f33d38e40180cd8ffaec04', slot: "icon", ...svgProps }, index.h("circle", { key: '8ee00209929c17a73243ca35c6f035ff86280147', cx: "11", cy: "11", r: "7" }), index.h("path", { key: '8c87279536c3a2f1945d2e9ed40362283b05c7e5', d: "m20 20-3.5-3.5" })))), index.h("bs-divider", { key: '6dc7d75e3050ef689a9c24bd925a8afa9e425270', class: "bs-company-switcher__divider", decorative: true }), index.h("div", { key: '5e0dc791b9c79bfd2ddf87798070bc985ff15000', part: "footer", class: "bs-company-switcher__footer" }, index.h("bs-button", { key: '159eb21eb73724bd6fc395b2a06a8cc03dc656dd', variant: "subtle", size: "sm", onClick: () => this.bsManageCompanies.emit() }, index.h("svg", { key: '56981b99ff02d600fb392492894d3e677b6c3baa', slot: "icon", ...svgProps }, index.h("circle", { key: 'e5113734e7139e5dbf4e1a51bb653206efa8a523', cx: "12", cy: "12", r: "3" }), index.h("path", { key: '371976988bd2c5ccdbdc98495256ee447223a88a', d: "M19.4 15a1.7 1.7 0 0 0 .3 1.8l.1.1a2 2 0 1 1-2.8 2.8l-.1-.1a1.7 1.7 0 0 0-1.8-.3 1.7 1.7 0 0 0-1 1.5V21a2 2 0 1 1-4 0v-.1a1.7 1.7 0 0 0-1.1-1.5 1.7 1.7 0 0 0-1.8.3l-.1.1a2 2 0 1 1-2.8-2.8l.1-.1a1.7 1.7 0 0 0 .3-1.8 1.7 1.7 0 0 0-1.5-1H3a2 2 0 1 1 0-4h.1a1.7 1.7 0 0 0 1.5-1.1 1.7 1.7 0 0 0-.3-1.8l-.1-.1a2 2 0 1 1 2.8-2.8l.1.1a1.7 1.7 0 0 0 1.8.3H9a1.7 1.7 0 0 0 1-1.5V3a2 2 0 1 1 4 0v.1a1.7 1.7 0 0 0 1 1.5 1.7 1.7 0 0 0 1.8-.3l.1-.1a2 2 0 1 1 2.8 2.8l-.1.1a1.7 1.7 0 0 0-.3 1.8V9a1.7 1.7 0 0 0 1.5 1H21a2 2 0 1 1 0 4h-.1a1.7 1.7 0 0 0-1.5 1Z" })), this.manageLabel), index.h("bs-button", { key: '0f5c57df82c038e7f273d66d52e6bcf1a656b521', variant: "subtle", size: "sm", onClick: () => this.bsAddCompanies.emit() }, index.h("svg", { key: 'bd03689d5a44537f3b98fa728012e91f9f1fa923', slot: "icon", ...svgProps }, index.h("path", { key: '09a64a5cd36d3dfaa8924b69bd887d5a4f4cefd6', d: "M12 5v14M5 12h14" })), this.addLabel)), index.h("span", { key: '2c2123c995f2b891e7f73869c0d8cc8384b7e01b', class: "bs-company-switcher__live", "aria-live": "polite" }, this.open && this.q ? (empty ? this.emptyHeading.replace('{query}', this.query.trim()) : `${total} ${total === 1 ? this.matchLabel : this.matchesLabel}`) : ''))));
202
+ }
203
+ static get watchers() { return {
204
+ "open": [{
205
+ "onOpen": 0
206
+ }]
207
+ }; }
208
+ };
209
+ BsCompanySwitcher.style = bsCompanySwitcherCss();
210
+
211
+ exports.bs_company_switcher = BsCompanySwitcher;
@@ -51,7 +51,7 @@ const BsComposerStatusBanner = class {
51
51
  return this.type === 'error' || this.type === 'warning' ? index.h(WarningIcon, null) : index.h(ClockIcon, null);
52
52
  }
53
53
  render() {
54
- return (index.h("div", { key: '7ddbbad5af14adf35a87097ce7e7644fd9e50ec3', role: this.roleForType(), "aria-busy": this.loading ? 'true' : undefined, class: `bs-composer-status-banner bs-composer-status-banner--${this.type}` }, index.h("div", { key: '1fb9a5fb707db89056115ec0992484b310a47590', class: "bs-composer-status-banner__message-group" }, this.showIcon && (index.h("span", { key: 'c9cf1d3be7dd33b73f8a2813295ed90e2dbc865a', part: "icon", class: "bs-composer-status-banner__icon" }, index.h("slot", { key: '86735a463ca03af8359ef17d971a63d5c518f587', name: "icon" }, this.renderDefaultIcon()))), index.h("p", { key: '046dad63d8a6b12c5c4fe766edef811d945b427f', part: "message", class: "bs-composer-status-banner__message" }, this.message)), this.showButton && (index.h("button", { key: '3c8d3d824413b32ff596f63b579c8b7ce683af81', type: "button", part: "action", class: "bs-composer-status-banner__action", onClick: this.onActionClick }, this.actionLabel)), this.allowClose && (index.h("button", { key: '3d5dbe65b4ba7e04202fc260b0ca665a4eb3b516', type: "button", part: "close", class: "bs-composer-status-banner__close", "aria-label": this.closeLabel, onClick: this.onCloseClick }, index.h(CloseIcon, { key: '86efc37f964fd1440ac10cc47077605dbc0664ce' })))));
54
+ return (index.h("div", { key: 'e7ee5d0dca888ba5126a292fd7ff9cefbdc47eda', role: this.roleForType(), "aria-busy": this.loading ? 'true' : undefined, class: `bs-composer-status-banner bs-composer-status-banner--${this.type}` }, index.h("div", { key: 'c44a8f911942a310b8cc706a10a97180f75013ff', class: "bs-composer-status-banner__message-group" }, this.showIcon && (index.h("span", { key: '7787871c8f6885068739d9fffd8d589b6babbd43', part: "icon", class: "bs-composer-status-banner__icon" }, index.h("slot", { key: 'a8dd0077f51e4a8b872ab6778d0387999022285b', name: "icon" }, this.renderDefaultIcon()))), index.h("p", { key: '398fb7946e36d45bd8ade95154d9d686fc5de6e1', part: "message", class: "bs-composer-status-banner__message" }, this.message)), this.showButton && (index.h("button", { key: '18874261ba3638533d3fdb876d19303d79c75259', type: "button", part: "action", class: "bs-composer-status-banner__action", onClick: this.onActionClick }, this.actionLabel)), this.allowClose && (index.h("button", { key: '187e50bbe911683937a7895cfe862028cc9f775a', type: "button", part: "close", class: "bs-composer-status-banner__close", "aria-label": this.closeLabel, onClick: this.onCloseClick }, index.h(CloseIcon, { key: 'c9dac11a2af23ba04d7c6836cbda7adbace51d8d' })))));
55
55
  }
56
56
  };
57
57
  const SpinnerIcon = () => (index.h("svg", { class: "bs-composer-status-banner__spinner", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true" }, index.h("circle", { cx: "10", cy: "10", r: "7.25", stroke: "currentColor", "stroke-opacity": "0.25", "stroke-width": "1.5" }), index.h("path", { d: "M17.25 10A7.25 7.25 0 0 0 10 2.75", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round" })));
@@ -199,7 +199,7 @@ const BsComposer = class {
199
199
  const placeholder = this.placeholder ?? DEFAULT_PLACEHOLDERS[this.variant];
200
200
  const disabled = this.state === 'disabled';
201
201
  const recording = this.state === 'recording';
202
- return (index.h("div", { key: '2ce76ec3bd4b265f11bb99dee3a3c90d9172597c', class: `bs-composer bs-composer--${this.state} bs-composer--${this.variant}` }, index.h("div", { key: '413304d4f29b85642bf75beb879a9551d5be8263', part: "attachments", class: `bs-composer__attachments-row ${this.hasAttachments ? 'bs-composer__attachments-row--visible' : ''}` }, index.h("slot", { key: 'e548c8e0f26f25748f4873c22ad97431f9de3ce8', name: "attachments", onSlotchange: this.onAttachmentsSlotchange })), index.h("div", { key: '1df76f515366b9ef952714b8454b6aa36fd905c8', class: "bs-composer__text-row" }, index.h("textarea", { key: '27f0367c0eb47824e66f41cd6d90838e18116b7a', ref: el => (this.inputEl = el), part: "input", class: "bs-composer__input", rows: 1, value: this.value, placeholder: placeholder, disabled: disabled, maxLength: this.maxLength, "aria-label": this.ariaLabel, onInput: this.onInput, onKeyDown: this.onInputKeydown })), index.h("div", { key: 'b27a014146d993fc41d80c233365964de65cf34c', class: "bs-composer__controls-row" }, !this.hideAttach && (index.h("button", { key: 'b1fe110b360b29a371a68626a1507213e11facf1', type: "button", part: "attach", class: "bs-composer__attach", "aria-label": this.attachLabel, onClick: this.onAttachClick }, index.h(PlusIcon, { key: 'b925e8b4e010f17594edf604401423b00ff72cba' }))), recording ? (index.h("span", { class: "bs-composer__waveform", "aria-hidden": "true" }, WAVEFORM_BAR_HEIGHTS.map(height => (index.h("span", { class: "bs-composer__waveform-bar", style: { '--bs-composer-bar-height': `${height}px` } }))))) : (index.h("span", { class: "bs-composer__spacer" })), !this.hideMic && (index.h("button", { key: '52248240911d69cbb69d11ef2368a9dbce2d545a', type: "button", part: "mic", class: `bs-composer__mic ${recording ? 'bs-composer__mic--recording' : ''}`, "aria-label": recording ? this.stopRecordingLabel : this.micLabel, disabled: disabled, onClick: this.onMicClick }, recording ? index.h(StopIcon, null) : index.h(MicIcon, null))), index.h("button", { key: '653e4a36899abaddb91ebf975e53514b400d2497', type: "button", part: "action", class: `bs-composer__action bs-composer__action--${this.state}`, "aria-label": this.actionLabel(), disabled: disabled, "aria-busy": this.loading && this.state === 'idle' ? 'true' : undefined, onClick: this.onActionClick }, this.renderActionIcon()), index.h("slot", { key: 'de551ed30be4f5008c58c4ec441daf8842209edd', name: "actions-end" }))));
202
+ return (index.h("div", { key: 'ec6fd11d15f862e5d5633ee153572831562f8635', class: `bs-composer bs-composer--${this.state} bs-composer--${this.variant}` }, index.h("div", { key: '4de8e636ad98cf8cd280f35bab8723df0c59bcee', part: "attachments", class: `bs-composer__attachments-row ${this.hasAttachments ? 'bs-composer__attachments-row--visible' : ''}` }, index.h("slot", { key: '8abb10aca311a2d53d1e2980f7a9985b8467e9af', name: "attachments", onSlotchange: this.onAttachmentsSlotchange })), index.h("div", { key: '2e8de5850afda9498f9f08bbe5e2e5fbf86005dc', class: "bs-composer__text-row" }, index.h("textarea", { key: '8f75958b9a04785e32f347d87e5362e0e83a7aec', ref: el => (this.inputEl = el), part: "input", class: "bs-composer__input", rows: 1, value: this.value, placeholder: placeholder, disabled: disabled, maxLength: this.maxLength, "aria-label": this.ariaLabel, onInput: this.onInput, onKeyDown: this.onInputKeydown })), index.h("div", { key: 'd18ad65d7aefaa3b23ee0be475cdfa97dbcea546', class: "bs-composer__controls-row" }, !this.hideAttach && (index.h("button", { key: 'e953064c20184d159f0ef7b352bee7b7c1a28d1d', type: "button", part: "attach", class: "bs-composer__attach", "aria-label": this.attachLabel, onClick: this.onAttachClick }, index.h(PlusIcon, { key: '459ac92ed2c057f2882715f3cadbbf70faf1d180' }))), recording ? (index.h("span", { class: "bs-composer__waveform", "aria-hidden": "true" }, WAVEFORM_BAR_HEIGHTS.map(height => (index.h("span", { class: "bs-composer__waveform-bar", style: { '--bs-composer-bar-height': `${height}px` } }))))) : (index.h("span", { class: "bs-composer__spacer" })), !this.hideMic && (index.h("button", { key: '4f1039338eb4ae672f32da55fdd67ccb820983be', type: "button", part: "mic", class: `bs-composer__mic ${recording ? 'bs-composer__mic--recording' : ''}`, "aria-label": recording ? this.stopRecordingLabel : this.micLabel, disabled: disabled, onClick: this.onMicClick }, recording ? index.h(StopIcon, null) : index.h(MicIcon, null))), index.h("button", { key: '07b8f71f8d5a9ce1288e5cd42179935389b8aef8', type: "button", part: "action", class: `bs-composer__action bs-composer__action--${this.state}`, "aria-label": this.actionLabel(), disabled: disabled, "aria-busy": this.loading && this.state === 'idle' ? 'true' : undefined, onClick: this.onActionClick }, this.renderActionIcon()), index.h("slot", { key: '5e14d6db5a96be5123d7374bd66d5d044ffb767d', name: "actions-end" }))));
203
203
  }
204
204
  static get delegatesFocus() { return true; }
205
205
  };
@@ -15,7 +15,7 @@ const BsContainer = class {
15
15
  padding = '300';
16
16
  render() {
17
17
  const pad = SPACING_TOKENS.includes(String(this.padding)) ? String(this.padding) : '300';
18
- return (index.h(index.Host, { key: '001d2089d9e69657dad10a4d95c550900bdb5252', style: { '--bs-container-padding-token': `var(--bs-spacing-${pad})` } }, index.h("slot", { key: '8f983ed8ad608a386d84468682296d9318089d28' })));
18
+ return (index.h(index.Host, { key: 'c72bb071abd58c825dcd4b87351362de82a402fa', style: { '--bs-container-padding-token': `var(--bs-spacing-${pad})` } }, index.h("slot", { key: '341e67abd2a13b47d9d852696f212847c2624b38' })));
19
19
  }
20
20
  };
21
21
  BsContainer.style = bsContainerCss();
@@ -76,11 +76,11 @@ const BsDataTable = class {
76
76
  }
77
77
  }
78
78
  render() {
79
- return (index.h("table", { key: '5b61e4f581c2ab0da069cabf9a612285f98b0865', part: "table", class: "bs-data-table" }, index.h("thead", { key: 'c3bed54d42e2e2c3d54cfa9754251ab0d34c55fd', part: "head" }, index.h("tr", { key: '8f0aaa90b06650719423de98e05f39ffce407a67' }, this.selectable && (index.h("th", { key: 'ed065c125b50493c621c8922cdd3d7ca26222b8e', class: "bs-data-table__select-col" }, this.rows.length > 0 && (index.h("input", { key: '0e4f29de07f7818e7024714281f5faadcd288c88', type: "checkbox", "aria-label": this.selectAllLabel, checked: this.selectedIds.size > 0 && this.selectedIds.size === this.rows.length, indeterminate: this.selectedIds.size > 0 && this.selectedIds.size < this.rows.length, onChange: this.onSelectAllChange })))), this.columns.map(column => {
79
+ return (index.h("table", { key: 'd6b278e5252570f3b97ef3fdd53b132974041e6c', part: "table", class: "bs-data-table" }, index.h("thead", { key: '16280faa094841550a637466fa37ec2df6950e4b', part: "head" }, index.h("tr", { key: 'e78510a9b1b7966257cb626218aaf9f51bde402e' }, this.selectable && (index.h("th", { key: '1a79de8886d8d394fc0b06f283258db94e0f3b1f', class: "bs-data-table__select-col" }, this.rows.length > 0 && (index.h("input", { key: 'c34bd5b47dcea30418fce8674a2aefff7f8bf601', type: "checkbox", "aria-label": this.selectAllLabel, checked: this.selectedIds.size > 0 && this.selectedIds.size === this.rows.length, indeterminate: this.selectedIds.size > 0 && this.selectedIds.size < this.rows.length, onChange: this.onSelectAllChange })))), this.columns.map(column => {
80
80
  const isSorted = this.sortColumn === column.key;
81
81
  const ariaSort = column.sortable ? (isSorted ? (this.sortDirection === 'asc' ? 'ascending' : 'descending') : 'none') : undefined;
82
82
  return (index.h("th", { part: "header-cell", class: "bs-data-table__header-cell", "aria-sort": ariaSort }, column.sortable ? (index.h("button", { type: "button", class: "bs-data-table__sort-button", onClick: () => this.onHeaderClick(column) }, column.label, isSorted && index.h("span", { class: "bs-data-table__sort-indicator" }, this.sortDirection === 'asc' ? ' ▲' : ' ▼'))) : (column.label)));
83
- }))), index.h("tbody", { key: 'b993a2e1c22d094936c49ad33486b2ecc02861c8', part: "body" }, this.rows.map(row => (index.h("tr", { part: "row", class: "bs-data-table__row" }, this.selectable && (index.h("td", { class: "bs-data-table__select-col" }, index.h("input", { type: "checkbox", checked: this.selectedIds.has(row.id), onChange: ev => this.onRowCheckboxChange(row, ev) }))), this.columns.map(column => this.cellRenderer ? (
83
+ }))), index.h("tbody", { key: '80266f8d66ffdf7132bf2f331568db34ed53ed28', part: "body" }, this.rows.map(row => (index.h("tr", { part: "row", class: "bs-data-table__row" }, this.selectable && (index.h("td", { class: "bs-data-table__select-col" }, index.h("input", { type: "checkbox", checked: this.selectedIds.has(row.id), onChange: ev => this.onRowCheckboxChange(row, ev) }))), this.columns.map(column => this.cellRenderer ? (
84
84
  // cellRenderer is a developer-supplied, trusted function (JS-property-only, never
85
85
  // derived from untrusted input) -- its HTML output is intentionally not escaped,
86
86
  // same trust model as React's dangerouslySetInnerHTML.
@@ -314,7 +314,7 @@ const BsDatepicker = class {
314
314
  : this.defaultTabbable(days);
315
315
  const isInRange = (iso) => !!selectedStart && !!previewEnd && iso > selectedStart && iso < previewEnd;
316
316
  const weekdays = this.weekdays();
317
- return (index.h("bs-card", { key: 'd2794a112b72b3dc871360b1e57273c9ef097fc4', part: "container", class: "bs-datepicker", surface: "raised" }, index.h("div", { key: 'bee55a1cd06aa44171f40babae77b1f2f742d160', class: "bs-datepicker__body" }, this.renderHeader(), index.h("div", { key: 'd4ab1cfd76fcea8b64daeb951da7b36300c036f0', part: "nav", class: "bs-datepicker__nav" }, index.h("button", { key: '5fcbb3f928db51049fd034beb3519400afe4f128', part: "prev", type: "button", class: "bs-datepicker__nav-button", "aria-label": this.previousLabel, onClick: () => this.moveView(-1) }, index.h("svg", { key: '18889f8f9dd9364bd73595635b72515b91d35ade', viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true" }, index.h("path", { key: '3d648cd4be611ef4de37cc08f9017809388d36e3', d: "M15 18L9 12L15 6", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))), index.h("div", { key: 'c0647871f1c140472807ae51e04604c6d87ccaa4', part: "title", class: "bs-datepicker__title", "aria-live": "polite" }, this.titleText()), index.h("button", { key: 'ec3d33aeea146534d6640ac336905a002d0e7dc2', part: "next", type: "button", class: "bs-datepicker__nav-button", "aria-label": this.nextLabel, onClick: () => this.moveView(1) }, index.h("svg", { key: '5cbac8630a30064d940e5f03ce767b525c09dd7c', viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true" }, index.h("path", { key: '2c47ca0911b8b42cd3590ff053905df327363e9f', d: "M9 18L15 12L9 6", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })))), index.h("div", { key: '91a6942792287f3044962fd278e36ed04ec03878', part: "grid", class: "bs-datepicker__grid", role: "grid", "aria-label": this.titleText() }, index.h("div", { key: '445e0548f0913426fe2eb730f291423d9165f839', class: "bs-datepicker__row", role: "row" }, weekdays.map(w => (index.h("div", { part: "weekday", class: "bs-datepicker__weekday", role: "columnheader" }, w)))), Array.from({ length: 6 }, (_, r) => {
317
+ return (index.h("bs-card", { key: 'cdb34fb56c5dd485e68fdbaf846c13ecc0547117', part: "container", class: "bs-datepicker", surface: "raised" }, index.h("div", { key: '348836d221ea9d88f81d74c756f6e33749185e77', class: "bs-datepicker__body" }, this.renderHeader(), index.h("div", { key: '19192cd83a674a876ddebb3048cf61392f5ce1b4', part: "nav", class: "bs-datepicker__nav" }, index.h("button", { key: '936dd7846972754b3e3e12e0b5d1ebf459f6626b', part: "prev", type: "button", class: "bs-datepicker__nav-button", "aria-label": this.previousLabel, onClick: () => this.moveView(-1) }, index.h("svg", { key: '8adff95c2ac4160773ba27b2bba2690376bf7b6e', viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true" }, index.h("path", { key: 'e07e13f74b49ef8676ef9b2b61648f2fbcd7ff26', d: "M15 18L9 12L15 6", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))), index.h("div", { key: '60e2dccce60ce780002b5a37b7bce2cb77a7ded2', part: "title", class: "bs-datepicker__title", "aria-live": "polite" }, this.titleText()), index.h("button", { key: '4ea132ee9b1d1b7df1dd3595dc52e9cd977dc9d4', part: "next", type: "button", class: "bs-datepicker__nav-button", "aria-label": this.nextLabel, onClick: () => this.moveView(1) }, index.h("svg", { key: 'e648752590a0483c152a06ff2ebe1a4c7f459fd1', viewBox: "0 0 24 24", fill: "none", "aria-hidden": "true" }, index.h("path", { key: '61f9ebdc93a4636284fe3215f0ff6699ef7bb8de', d: "M9 18L15 12L9 6", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" })))), index.h("div", { key: 'd94bd61c202b575b3ae4b8312224f302cf13330e', part: "grid", class: "bs-datepicker__grid", role: "grid", "aria-label": this.titleText() }, index.h("div", { key: 'ac7713f2ebdc1d429641d14856ed597866fb5a07', class: "bs-datepicker__row", role: "row" }, weekdays.map(w => (index.h("div", { part: "weekday", class: "bs-datepicker__weekday", role: "columnheader" }, w)))), Array.from({ length: 6 }, (_, r) => {
318
318
  const row = days.slice(r * 7, r * 7 + 7);
319
319
  return (index.h("div", { class: "bs-datepicker__row", role: "row" }, row.map((d, c) => {
320
320
  const iso = toIso(d);
@@ -21,7 +21,7 @@ const BsDivider = class {
21
21
  const a11y = this.decorative
22
22
  ? { role: 'none', 'aria-hidden': 'true' }
23
23
  : { role: 'separator', 'aria-orientation': orientation };
24
- return (index.h(index.Host, { key: '72be86556d663c54fde0d585ae5850b236389b23', ...a11y }, index.h("div", { key: 'a08f191d8f900bc88fc0c44be08da1a7d8eb2e3c', class: "line", part: "line" })));
24
+ return (index.h(index.Host, { key: '858582c09f3f2712a3ee9d51a80a1f53b2a29dfb', ...a11y }, index.h("div", { key: '184d290fbfdabab256850af57792e7d6c5ebf563', class: "line", part: "line" })));
25
25
  }
26
26
  };
27
27
  BsDivider.style = bsDividerCss();
@@ -0,0 +1,47 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index-BYfMRtlW.js');
4
+
5
+ const bsEmptyStateCss = () => `:host{display:block;box-sizing:border-box;--bs-empty-state-padding-y:var(--bs-spacing-700);--bs-empty-state-padding-x:var(--bs-spacing-300);--bs-empty-state-gap:var(--bs-spacing-150);--bs-empty-state-heading-color:var(--bs-text-default);--bs-empty-state-description-color:var(--bs-text-secondary)}.bs-empty-state{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;gap:var(--bs-empty-state-gap);padding:var(--bs-empty-state-padding-y) var(--bs-empty-state-padding-x);text-align:center}.bs-empty-state__heading{margin:0;align-self:stretch;color:var(--bs-empty-state-heading-color);font-family:inherit;font-size:var(--bs-font-size-xl);font-weight:var(--bs-font-weight-bold);line-height:24px}.bs-empty-state__description{margin:0;align-self:stretch;color:var(--bs-empty-state-description-color);font-family:inherit;font-size:var(--bs-font-size-sm);font-weight:var(--bs-font-weight-regular);line-height:20px}.bs-empty-state__action{display:flex;justify-content:center}`;
6
+
7
+ const BsEmptyState = class {
8
+ constructor(hostRef) {
9
+ index.registerInstance(this, hostRef);
10
+ }
11
+ get el() { return index.getElement(this); }
12
+ /** The heading text. */
13
+ heading;
14
+ /** The description text. The default slot overrides it. */
15
+ description;
16
+ /** Colour and default glyph of the icon tile. Use `error` for failures. */
17
+ intent = 'default';
18
+ /** Heading level, 2 to 6 (renders `h2`..`h6`). Pick the one that fits the page outline. */
19
+ headingLevel = 3;
20
+ hasIcon = false;
21
+ hasDescriptionSlot = false;
22
+ hasAction = false;
23
+ observer;
24
+ componentWillLoad() {
25
+ this.readSlots();
26
+ this.observer = new MutationObserver(() => this.readSlots());
27
+ this.observer.observe(this.el, { childList: true, subtree: false, characterData: false });
28
+ }
29
+ disconnectedCallback() {
30
+ this.observer?.disconnect();
31
+ }
32
+ readSlots() {
33
+ const nodes = Array.from(this.el.childNodes);
34
+ const slotOf = (n) => (n.nodeType === Node.ELEMENT_NODE ? n.getAttribute('slot') : null);
35
+ this.hasIcon = nodes.some(n => slotOf(n) === 'icon');
36
+ this.hasAction = nodes.some(n => slotOf(n) === 'action');
37
+ this.hasDescriptionSlot = nodes.some(n => !slotOf(n) && (n.nodeType === Node.ELEMENT_NODE || (n.nodeType === Node.TEXT_NODE && !!n.textContent?.trim())));
38
+ }
39
+ render() {
40
+ const level = Math.min(6, Math.max(2, Math.round(Number(this.headingLevel)) || 3));
41
+ const Heading = `h${level}`;
42
+ return (index.h("div", { key: 'dabc994fcb254cb35958f8bde54d7935bb6ff70a', part: "container", class: "bs-empty-state" }, index.h("bs-icon-tile", { key: 'efec1cc06eb3447fbd81b12634c12ee96f9fd0d2', part: "icon", size: "lg", intent: this.intent }, this.hasIcon && index.h("slot", { key: 'd8a7482e2b32f6361b82232652edcc1aadb74a5b', name: "icon" })), this.heading && (index.h(Heading, { key: '6625baa3d00097951042608aeb888f7c1665e987', part: "heading", class: "bs-empty-state__heading" }, this.heading)), (this.description || this.hasDescriptionSlot) && (index.h("p", { key: 'c367d9d3aa154e8413c04ca47de7cd9f5eed6883', part: "description", class: "bs-empty-state__description" }, this.hasDescriptionSlot ? index.h("slot", null) : this.description)), this.hasAction && (index.h("div", { key: '7b9b78de4e71e6d07d94d4595290492542d7bf62', part: "action", class: "bs-empty-state__action" }, index.h("slot", { key: '7b57218ca03edfd6f972a2bb6ce458db8dc33d9a', name: "action" })))));
43
+ }
44
+ };
45
+ BsEmptyState.style = bsEmptyStateCss();
46
+
47
+ exports.bs_empty_state = BsEmptyState;
@@ -46,7 +46,7 @@ const BsErrorPage = class {
46
46
  const primary = this.primaryLabel ?? d.primary;
47
47
  const secondary = this.secondaryLabel ?? d.secondary;
48
48
  const level = Math.min(6, Math.max(1, Math.trunc(Number(this.headingLevel)) || 1));
49
- return (index.h("bs-card", { key: '68774f7ab0252b92905900f06f564d1c2a8ce163', part: "container", class: "bs-error-page", surface: "base" }, index.h("div", { key: 'f263ce4991e2aa4553e430e60e646df5fc257120', class: "bs-error-page__body" }, index.h("div", { key: '3aa6b36e1aa05ea63e52e8c79684b166853e5950', class: "bs-error-page__art-group" }, index.h("bs-icon-tile", { key: 'b0b7f3fa925acef6b95e23136df7f9bac3e43ff4', part: "art", class: `bs-error-page__art ${d.info ? 'bs-error-page__art--info' : ''}`, intent: d.intent, size: "lg" }, index.h("slot", { key: 'e33db2aa8c275de0e32effc759e177ef1ee46c6d', name: "icon" }, d.glyph())), code && (index.h("span", { key: '9f576963f7399e4ca6e86cfd0331f0c7c7119886', part: "code", class: "bs-error-page__code" }, code))), index.h(`h${level}`, { part: 'heading', class: { 'bs-error-page__heading': true } }, heading), description && (index.h("p", { key: 'ea4861b666f95c7416a4d54152f8ffd1b900eb61', part: "description", class: "bs-error-page__description" }, description)), (primary || secondary) && (index.h("div", { key: 'e0ec38c28b957390486fce52497f91661abc7ef1', part: "actions", class: "bs-error-page__actions" }, primary && (index.h("bs-button", { key: 'a2b190366240c9fbe3e7a78a16b9881a3ad4468a', part: "primary", variant: "primary", onClick: () => this.bsPrimary.emit() }, primary)), secondary && (index.h("bs-button", { key: 'bef26b3dcc61c4e968c054d35ed67430884c9f99', part: "secondary", variant: "outlined", onClick: () => this.bsSecondary.emit() }, secondary)))), this.reference && (index.h("p", { key: 'b8de6e83c2c68ca8880afc781e8ffceb03f23164', part: "reference", class: "bs-error-page__reference" }, this.reference)))));
49
+ return (index.h("bs-card", { key: '4214c79438721c66089be3a4ae64fcd6bdcbdea6', part: "container", class: "bs-error-page", surface: "base" }, index.h("div", { key: '39b2a7292d488442fc2465635a5be9dd704dc42e', class: "bs-error-page__body" }, index.h("div", { key: 'beb353eefb6b77b03fe7d1ea3894b6a625eebe06', class: "bs-error-page__art-group" }, index.h("bs-icon-tile", { key: '516a9c87ddb3ac5140d2880d4638eb5eca01db73', part: "art", class: `bs-error-page__art ${d.info ? 'bs-error-page__art--info' : ''}`, intent: d.intent, size: "lg" }, index.h("slot", { key: '3c3029ce78413f49c4bb839260c432848329b428', name: "icon" }, d.glyph())), code && (index.h("span", { key: 'fc4058b507c0b60ca417f09f7838664716b17fc3', part: "code", class: "bs-error-page__code" }, code))), index.h(`h${level}`, { part: 'heading', class: { 'bs-error-page__heading': true } }, heading), description && (index.h("p", { key: 'b914f77506217b401e26694205104d623596d270', part: "description", class: "bs-error-page__description" }, description)), (primary || secondary) && (index.h("div", { key: 'b6dc2e92b34960f754a54b31a659337135e63607', part: "actions", class: "bs-error-page__actions" }, primary && (index.h("bs-button", { key: 'e4f85bf6e86a80fbf1bd09fc77e16768c435a97b', part: "primary", variant: "primary", onClick: () => this.bsPrimary.emit() }, primary)), secondary && (index.h("bs-button", { key: 'a1469448cfbf1edb0bb8fe1d613101782dc87145', part: "secondary", variant: "outlined", onClick: () => this.bsSecondary.emit() }, secondary)))), this.reference && (index.h("p", { key: 'e8f32f0cc84051d02418bb48bc6116675ec55097', part: "reference", class: "bs-error-page__reference" }, this.reference)))));
50
50
  }
51
51
  };
52
52
  const icon = (children) => () => (index.h("svg", { class: "bs-error-page__glyph", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "1.8", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, children));
@@ -71,7 +71,7 @@ const BsFileUploadItem = class {
71
71
  }
72
72
  render() {
73
73
  const removing = this.state === 'success';
74
- return (index.h("div", { key: 'e109650dda74a0a0db7af7f621da5e70079a7830', part: "item", class: `bs-file-upload-item bs-file-upload-item--${this.state}` }, index.h("div", { key: '800f1bd6a8cabd97c0aa43fe9a521876d4e6feb8', part: "thumbnail", class: "bs-file-upload-item__thumbnail" }, index.h("slot", { key: 'e5696a2cf9d69579ff8fd79688f83879c4093c74', name: "thumbnail" }, this.thumbnailSrc ? (index.h("img", { class: "bs-file-upload-item__image", src: this.thumbnailSrc, alt: this.thumbnailAlt })) : (index.h(ImageIcon, null)))), index.h("div", { key: 'bc52ee589c5cf4040dcb1aa86cce0150136d71ae', class: "bs-file-upload-item__content" }, index.h("div", { key: 'a70dc514e89ebfb1de3e772652e6ab8b2987007a', class: "bs-file-upload-item__meta" }, index.h("span", { key: '1c0a8e151f284a8344650fb00912582c17d2d5ee', part: "name", class: "bs-file-upload-item__name" }, this.fileName), this.fileSize && (index.h("span", { key: 'f608a1ee6e44e34e9e67600622a180e676fb960a', part: "size", class: "bs-file-upload-item__size" }, this.fileSize))), this.renderStatus()), index.h("bs-icon-button", { key: '5781f2aa401d12d3a4f4b0172d64cb0b9ceacf00', part: "action", variant: "subtle", size: "lg", ariaLabel: removing ? this.removeLabel : this.cancelLabel, onClick: this.onAction }, removing ? index.h(TrashIcon, null) : index.h(CloseIcon, null))));
74
+ return (index.h("div", { key: '26933845798c1cee2739c2a5a3d402175244717b', part: "item", class: `bs-file-upload-item bs-file-upload-item--${this.state}` }, index.h("div", { key: 'b7312bfd0a7bcbeac8e098be4cb6d565283f2e0f', part: "thumbnail", class: "bs-file-upload-item__thumbnail" }, index.h("slot", { key: '69350d5224f540e0f4d5033e3ac92ccff397b565', name: "thumbnail" }, this.thumbnailSrc ? (index.h("img", { class: "bs-file-upload-item__image", src: this.thumbnailSrc, alt: this.thumbnailAlt })) : (index.h(ImageIcon, null)))), index.h("div", { key: 'fbe429e0dd56af6fe5d955ce384a335c9ce3843a', class: "bs-file-upload-item__content" }, index.h("div", { key: 'b45f5b5500d760dcfb0d8fe3e87638db9325ae99', class: "bs-file-upload-item__meta" }, index.h("span", { key: '7e5a8cd3ccca37c88182d0e430841f36f29f56e7', part: "name", class: "bs-file-upload-item__name" }, this.fileName), this.fileSize && (index.h("span", { key: '114e9167c4542c9e071ebb21ee77d25d5c9221b4', part: "size", class: "bs-file-upload-item__size" }, this.fileSize))), this.renderStatus()), index.h("bs-icon-button", { key: 'f6a9a212a6436ac50eaab6b0224b58245171a7de', part: "action", variant: "subtle", size: "lg", ariaLabel: removing ? this.removeLabel : this.cancelLabel, onClick: this.onAction }, removing ? index.h(TrashIcon, null) : index.h(CloseIcon, null))));
75
75
  }
76
76
  };
77
77
  // Figma exports, recolored via currentColor so the CSS tokens drive the color.
@@ -100,7 +100,7 @@ const BsFileUpload = class {
100
100
  this.handleFiles(files);
101
101
  };
102
102
  render() {
103
- return (index.h("div", { key: 'd9f116b4dcf8641a590581c24176d4659a2b6892', part: "dropzone", class: `bs-file-upload bs-file-upload--${this.direction} ${this.dragging ? 'bs-file-upload--dragging' : ''} ${this.disabled ? 'bs-file-upload--disabled' : ''}`, onDragEnter: this.onDragOver, onDragOver: this.onDragOver, onDragLeave: this.onDragLeave, onDrop: this.onDrop }, index.h("div", { key: '5aa0c733860505646bde5cad571a4d850d38f979', part: "icon", class: "bs-file-upload__icon" }, index.h("slot", { key: '292d3074620f2a228dbe544363f7ef8cce4f194c', name: "icon" }, index.h(UploadIcon, { key: '65c343be45634d10d561ba0f7a3cdd201a7664e6' }))), index.h("div", { key: '69d1ddde89b8c26d7a40a963cf16d1519b5b1fd4', class: "bs-file-upload__content" }, index.h("div", { key: '7730fdb7efb8eeffb374fff22fdd9d60497eebce', class: "bs-file-upload__text" }, this.heading && (index.h("span", { key: '0ca349bd1fedd84d869b363da150e13c07623f3b', part: "heading", class: "bs-file-upload__heading" }, this.heading)), this.description && (index.h("span", { key: '522d99de1b5caf70cd7e44bf8e821fe49951c788', part: "description", id: "description", class: "bs-file-upload__description" }, this.description))), index.h("bs-button", { key: 'f7af51522dfb762102f0c17bcbfd0e737b52d783', part: "browse", variant: "neutral", size: "sm", disabled: this.disabled, onClick: this.onBrowse }, this.buttonLabel)), index.h("input", { key: '71a2262124fd84b52dbffa18966eb1479e1ad95a', ref: el => (this.inputEl = el), class: "bs-file-upload__input", type: "file", hidden: true, tabindex: -1, accept: this.accept, multiple: this.multiple, disabled: this.disabled, "aria-describedby": this.description ? 'description' : undefined, onChange: this.onInputChange })));
103
+ return (index.h("div", { key: '5312a866a1db63fd378f265fc200a509bfd50ce1', part: "dropzone", class: `bs-file-upload bs-file-upload--${this.direction} ${this.dragging ? 'bs-file-upload--dragging' : ''} ${this.disabled ? 'bs-file-upload--disabled' : ''}`, onDragEnter: this.onDragOver, onDragOver: this.onDragOver, onDragLeave: this.onDragLeave, onDrop: this.onDrop }, index.h("div", { key: '7276ccfa10a086d933b5563a208393a75e0dd821', part: "icon", class: "bs-file-upload__icon" }, index.h("slot", { key: 'e828eaa70303c82cb2bea5e647807079946b62e7', name: "icon" }, index.h(UploadIcon, { key: 'bd6ee5b8b20996ee68f972cb79db7c47f645c4d3' }))), index.h("div", { key: '784440974685713b31ba97642b931b99e64433a3', class: "bs-file-upload__content" }, index.h("div", { key: 'c7568214218e02ecb794f3429b843462f88bf216', class: "bs-file-upload__text" }, this.heading && (index.h("span", { key: '4872f617be4f30b9ab98aeca2dca7012d9391905', part: "heading", class: "bs-file-upload__heading" }, this.heading)), this.description && (index.h("span", { key: 'd8f446f1f8690ec773b094aeeb66af49ec1de291', part: "description", id: "description", class: "bs-file-upload__description" }, this.description))), index.h("bs-button", { key: 'bb0634e3e0dcb4a4ef59fa7c5daeaacbff5bceda', part: "browse", variant: "neutral", size: "sm", disabled: this.disabled, onClick: this.onBrowse }, this.buttonLabel)), index.h("input", { key: 'f55602446ec222ca46b7dab95aaff26d6d5b1632', ref: el => (this.inputEl = el), class: "bs-file-upload__input", type: "file", hidden: true, tabindex: -1, accept: this.accept, multiple: this.multiple, disabled: this.disabled, "aria-describedby": this.description ? 'description' : undefined, onChange: this.onInputChange })));
104
104
  }
105
105
  };
106
106
  // Figma's "UploadSimple" icon (3272:50330), exported SVG, recolored via currentColor.