@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,485 @@
1
+ import { h } from "@stencil/core";
2
+ let uid = 0;
3
+ const keyList = (keys) => Array.isArray(keys)
4
+ ? keys.filter(k => k !== '')
5
+ : String(keys ?? '')
6
+ .split('+')
7
+ .map(k => k.trim())
8
+ .filter(Boolean);
9
+ const isSingleKey = (s) => {
10
+ if (s.singleKey !== undefined)
11
+ return s.singleKey;
12
+ const k = keyList(s.keys);
13
+ return k.length === 1 && k[0].length === 1;
14
+ };
15
+ /**
16
+ * A searchable reference panel of keyboard shortcuts: heading and close button, a search field, an
17
+ * optional single-key on/off switch, shortcut groups in two columns and a footer hint. It is a
18
+ * surface, not a modal -- place it inside `bs-dialog` or a popover.
19
+ *
20
+ * Built from `bs-card`, `bs-icon-button`, `bs-input`, `bs-switch`, `bs-shortcut-row` (and so
21
+ * `bs-key-caps` / `bs-key`).
22
+ *
23
+ * ## When to use
24
+ * - A "press ? to see shortcuts" help overlay for an app with many shortcuts.
25
+ *
26
+ * ## When not to use
27
+ * - A long-form help page or documentation -- link to it instead.
28
+ * - A list of commands the user can run from it -- use `bs-menu`.
29
+ *
30
+ * @slot heading - Replaces the heading text.
31
+ * @slot footer - Replaces the footer hint.
32
+ * @part container - The panel surface (a `bs-card`).
33
+ * @part head - The heading row.
34
+ * @part heading - The heading element.
35
+ * @part close - The close button.
36
+ * @part search - The search field.
37
+ * @part switch - The single-key switch row.
38
+ * @part groups - The columns wrapper.
39
+ * @part group - One group.
40
+ * @part group-title - A group title.
41
+ * @part row - A shortcut row (`bs-shortcut-row`).
42
+ * @part empty - The "no results" line.
43
+ * @part footer - The footer hint.
44
+ * @prop --bs-keyboard-shortcuts-width - Panel width and min-width. Defaults to `720px` (Figma).
45
+ * @prop --bs-keyboard-shortcuts-bg - Panel background. Aliased to `--bs-surface-base`.
46
+ * @prop --bs-keyboard-shortcuts-radius - Aliased to `--bs-border-radius-150`.
47
+ * @prop --bs-keyboard-shortcuts-padding - Aliased to `--bs-spacing-200`.
48
+ * @prop --bs-keyboard-shortcuts-gap - Gap between sections. Aliased to `--bs-spacing-200`.
49
+ * @prop --bs-keyboard-shortcuts-shadow - Figma elevation level 4 (`0 8px 8px` in `--bs-elevation-higher`, 12% black in light mode and 25% in dark mode).
50
+ * @prop --bs-keyboard-shortcuts-column-gap - Gap between the two columns. Aliased to `--bs-spacing-600`.
51
+ * @prop --bs-keyboard-shortcuts-color - Main text colour. Aliased to `--bs-text-default`.
52
+ * @prop --bs-keyboard-shortcuts-color-secondary - Titles, captions, footer. Aliased to `--bs-text-secondary`.
53
+ */
54
+ export class BsKeyboardShortcuts {
55
+ id = `bs-ks-${++uid}`;
56
+ /** Property only: the shortcut groups. */
57
+ groups = [];
58
+ /** Heading text. The `heading` slot overrides it. */
59
+ heading = 'Keyboard shortcuts';
60
+ /** Accessible name of the close button. */
61
+ closeLabel = 'Close';
62
+ /** Search field placeholder (also its accessible name: `bs-input` has no aria-label prop). */
63
+ searchPlaceholder = 'Search for an action';
64
+ /** Current search text. Filters by action or keys text, case-insensitively. */
65
+ query = '';
66
+ /** Shows the single-key switch row. */
67
+ showSingleKeySwitch = true;
68
+ /** Whether single-key shortcuts are on. When off they are shown dimmed. */
69
+ singleKeyEnabled = true;
70
+ /** Switch title. */
71
+ singleKeyLabel = 'Single-key shortcuts';
72
+ /** Switch caption. */
73
+ singleKeyDescription = 'Turn off if they clash with a screen reader or other tools.';
74
+ /** Shows the footer hint. */
75
+ showFooterHint = true;
76
+ /** The key shown in the footer hint. */
77
+ footerKey = '?';
78
+ /** Footer text after the key. */
79
+ footerText = 'anywhere to open this list. On Mac: Cmd instead of Ctrl.';
80
+ /** Text before the footer key. */
81
+ footerPrefix = 'Press';
82
+ /** Line shown when the query matches nothing. */
83
+ noResultsText = 'No shortcuts match';
84
+ /** Emitted by the close button and by Escape. */
85
+ bsClose;
86
+ /** Emitted when the search text changes, with the new text. */
87
+ bsQueryChange;
88
+ /** Emitted when the single-key switch changes, with the new value. */
89
+ bsSingleKeyChange;
90
+ visibleGroups() {
91
+ const q = (this.query ?? '').trim().toLowerCase();
92
+ const groups = this.groups ?? [];
93
+ if (!q)
94
+ return groups.filter(g => g.shortcuts?.length);
95
+ return groups
96
+ .map(g => ({
97
+ ...g,
98
+ shortcuts: (g.shortcuts ?? []).filter(s => s.action.toLowerCase().includes(q) || keyList(s.keys).join('+').toLowerCase().includes(q)),
99
+ }))
100
+ .filter(g => g.shortcuts.length);
101
+ }
102
+ /** Greedy column split: a group stays in column 1 while countBefore + size/2 <= total/2. */
103
+ columns(groups) {
104
+ const total = groups.reduce((n, g) => n + g.shortcuts.length, 0);
105
+ const cols = [[], []];
106
+ let before = 0;
107
+ for (const g of groups) {
108
+ cols[before + g.shortcuts.length / 2 <= total / 2 ? 0 : 1].push(g);
109
+ before += g.shortcuts.length;
110
+ }
111
+ return cols[1].length ? cols : [cols[0]];
112
+ }
113
+ onKeyDown = (ev) => {
114
+ if (ev.key === 'Escape')
115
+ this.bsClose.emit();
116
+ };
117
+ onInput = (ev) => {
118
+ this.query = ev.detail;
119
+ this.bsQueryChange.emit(ev.detail);
120
+ };
121
+ onSwitch = (ev) => {
122
+ this.singleKeyEnabled = ev.detail;
123
+ this.bsSingleKeyChange.emit(ev.detail);
124
+ };
125
+ render() {
126
+ const groups = this.visibleGroups();
127
+ const count = groups.reduce((n, g) => n + g.shortcuts.length, 0);
128
+ const cols = this.columns(groups);
129
+ const headId = `${this.id}-heading`;
130
+ const noResults = count === 0 && (this.query ?? '').trim() !== '';
131
+ let gi = 0;
132
+ return (h("bs-card", { key: '7e825a3d2c214a2228c8b302bc6530ca23427b2f', part: "container", class: "bs-keyboard-shortcuts", surface: "base", role: "region", "aria-labelledby": headId, onKeyDown: this.onKeyDown }, h("div", { key: '8595c3352463214acefb820a23a9adbdd66e6b76', class: "bs-keyboard-shortcuts__body" }, h("div", { key: 'bbdb0c462e6958d6fbeca96bd5ffb5dc99bdaf19', part: "head", class: "bs-keyboard-shortcuts__head" }, h("svg", { key: '95641e98b3795b85caa6e70ebd9bd2deeecdc2aa', class: "bs-keyboard-shortcuts__icon", viewBox: "0 0 24 24", width: "20", height: "20", fill: "none", stroke: "currentColor", "stroke-width": "1.8", "stroke-linecap": "round", "stroke-linejoin": "round", "aria-hidden": "true" }, h("rect", { key: 'b1160b8146645716ea1b675c480f42675a4d6f29', x: "2", y: "5", width: "20", height: "14", rx: "2" }), h("path", { key: '18f2516e9113b2c335587bd3d17c49099496f1ec', d: "M6 9h.01M10 9h.01M14 9h.01M18 9h.01M6 13h.01M18 13h.01M9 15.5h6" })), h("h4", { key: '299d3fa12acc958389b7cd6b7ec9c2cefe12ed43', part: "heading", id: headId, class: "bs-keyboard-shortcuts__heading" }, h("slot", { key: '80365f19a624d950cfa678b1d2cb7a2eb7dbeb33', name: "heading" }, this.heading)), h("bs-icon-button", { key: '2e43986aac1914ab56527ac09e08889fbe6ca0ef', part: "close", variant: "subtle", size: "md", "aria-label": this.closeLabel, onClick: () => this.bsClose.emit() }, h("svg", { key: 'cd655a49a3142304b168c8a8f25c89b63c0fbc79', viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "aria-hidden": "true" }, h("path", { key: '7a39bf4eb97bde3d6d81d3db53fea3589af6e8c9', d: "M6 6l12 12M18 6 6 18" })))), h("bs-input", { key: 'b86dc235443e567aede36a767ddc015481ef08fa', part: "search", type: "search", placeholder: this.searchPlaceholder, value: this.query, onBsInput: this.onInput }), this.showSingleKeySwitch && (h("div", { key: '4fe525465a7dbae779af2aa9596669d06a8c7f71', part: "switch", class: "bs-keyboard-shortcuts__switch" }, h("div", { key: '2821019a258b02c2d37679360001cd6ba390d304', class: "bs-keyboard-shortcuts__switch-text" }, h("span", { key: '58f8f4dca914d41ad2b9b8883a117d4b865b4faa', class: "bs-keyboard-shortcuts__switch-title" }, this.singleKeyLabel), h("span", { key: '41cfb03e58e546ed639a38452524b775065f1027', class: "bs-keyboard-shortcuts__switch-caption" }, this.singleKeyDescription)), h("bs-switch", { key: 'a974154d5c9388fc5fa6b4b077f148fbe37340c4', ariaLabel: this.singleKeyLabel, checked: this.singleKeyEnabled, onBsChange: this.onSwitch }))), h("span", { key: '636f5d35847c6bd0dcfc2d0f00b4d126bb764fbc', class: "bs-keyboard-shortcuts__live", "aria-live": "polite" }, `${count} shortcut${count === 1 ? '' : 's'}`), noResults ? (h("p", { part: "empty", class: "bs-keyboard-shortcuts__empty", role: "status" }, this.noResultsText)) : (h("div", { part: "groups", class: "bs-keyboard-shortcuts__groups" }, cols.map(col => (h("div", { class: "bs-keyboard-shortcuts__column" }, col.map(g => {
133
+ const tid = `${this.id}-g${gi++}`;
134
+ return (h("div", { part: "group", class: "bs-keyboard-shortcuts__group", role: "group", "aria-labelledby": tid }, h("div", { part: "group-title", id: tid, class: "bs-keyboard-shortcuts__group-title" }, g.title), h("div", { class: "bs-keyboard-shortcuts__rows", role: "list" }, g.shortcuts.map(s => (h("bs-shortcut-row", { part: "row", action: s.action, keys: s.keys, selectionRole: "listitem", disabled: !!s.disabled || (!this.singleKeyEnabled && isSingleKey(s)) }))))));
135
+ })))))), this.showFooterHint && (h("div", { key: '05833326cdbea5dbb994fd584bc54866c14cf615', part: "footer", class: "bs-keyboard-shortcuts__footer" }, h("slot", { key: 'eeb752068052c3f27cbfa0893f03a22f04328489', name: "footer" }, h("span", { key: '55c95afd62dae51c2b82362210e558fad904f7b7' }, this.footerPrefix), h("bs-key", { key: 'b9f8ef5cd3b3e5e2fce7a99bd2b29d751a764901', label: this.footerKey }), h("span", { key: '13b4719f50cd4d3fadc2802cb22d31f04e775798' }, this.footerText)))))));
136
+ }
137
+ static get is() { return "bs-keyboard-shortcuts"; }
138
+ static get encapsulation() { return "shadow"; }
139
+ static get originalStyleUrls() {
140
+ return {
141
+ "$": ["bs-keyboard-shortcuts.css"]
142
+ };
143
+ }
144
+ static get styleUrls() {
145
+ return {
146
+ "$": ["bs-keyboard-shortcuts.css"]
147
+ };
148
+ }
149
+ static get properties() {
150
+ return {
151
+ "groups": {
152
+ "type": "unknown",
153
+ "mutable": false,
154
+ "complexType": {
155
+ "original": "BsShortcutGroup[]",
156
+ "resolved": "BsShortcutGroup[]",
157
+ "references": {
158
+ "BsShortcutGroup": {
159
+ "location": "local",
160
+ "path": "/home/runner/work/eg-brandsync-storybook/eg-brandsync-storybook/packages/wc/src/components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.tsx",
161
+ "id": "src/components/bs-keyboard-shortcuts/bs-keyboard-shortcuts.tsx::BsShortcutGroup"
162
+ }
163
+ }
164
+ },
165
+ "required": false,
166
+ "optional": false,
167
+ "docs": {
168
+ "tags": [],
169
+ "text": "Property only: the shortcut groups."
170
+ },
171
+ "getter": false,
172
+ "setter": false,
173
+ "defaultValue": "[]"
174
+ },
175
+ "heading": {
176
+ "type": "string",
177
+ "mutable": false,
178
+ "complexType": {
179
+ "original": "string",
180
+ "resolved": "string",
181
+ "references": {}
182
+ },
183
+ "required": false,
184
+ "optional": false,
185
+ "docs": {
186
+ "tags": [],
187
+ "text": "Heading text. The `heading` slot overrides it."
188
+ },
189
+ "getter": false,
190
+ "setter": false,
191
+ "reflect": false,
192
+ "attribute": "heading",
193
+ "defaultValue": "'Keyboard shortcuts'"
194
+ },
195
+ "closeLabel": {
196
+ "type": "string",
197
+ "mutable": false,
198
+ "complexType": {
199
+ "original": "string",
200
+ "resolved": "string",
201
+ "references": {}
202
+ },
203
+ "required": false,
204
+ "optional": false,
205
+ "docs": {
206
+ "tags": [],
207
+ "text": "Accessible name of the close button."
208
+ },
209
+ "getter": false,
210
+ "setter": false,
211
+ "reflect": false,
212
+ "attribute": "close-label",
213
+ "defaultValue": "'Close'"
214
+ },
215
+ "searchPlaceholder": {
216
+ "type": "string",
217
+ "mutable": false,
218
+ "complexType": {
219
+ "original": "string",
220
+ "resolved": "string",
221
+ "references": {}
222
+ },
223
+ "required": false,
224
+ "optional": false,
225
+ "docs": {
226
+ "tags": [],
227
+ "text": "Search field placeholder (also its accessible name: `bs-input` has no aria-label prop)."
228
+ },
229
+ "getter": false,
230
+ "setter": false,
231
+ "reflect": false,
232
+ "attribute": "search-placeholder",
233
+ "defaultValue": "'Search for an action'"
234
+ },
235
+ "query": {
236
+ "type": "string",
237
+ "mutable": true,
238
+ "complexType": {
239
+ "original": "string",
240
+ "resolved": "string",
241
+ "references": {}
242
+ },
243
+ "required": false,
244
+ "optional": false,
245
+ "docs": {
246
+ "tags": [],
247
+ "text": "Current search text. Filters by action or keys text, case-insensitively."
248
+ },
249
+ "getter": false,
250
+ "setter": false,
251
+ "reflect": false,
252
+ "attribute": "query",
253
+ "defaultValue": "''"
254
+ },
255
+ "showSingleKeySwitch": {
256
+ "type": "boolean",
257
+ "mutable": false,
258
+ "complexType": {
259
+ "original": "boolean",
260
+ "resolved": "boolean",
261
+ "references": {}
262
+ },
263
+ "required": false,
264
+ "optional": false,
265
+ "docs": {
266
+ "tags": [],
267
+ "text": "Shows the single-key switch row."
268
+ },
269
+ "getter": false,
270
+ "setter": false,
271
+ "reflect": false,
272
+ "attribute": "show-single-key-switch",
273
+ "defaultValue": "true"
274
+ },
275
+ "singleKeyEnabled": {
276
+ "type": "boolean",
277
+ "mutable": true,
278
+ "complexType": {
279
+ "original": "boolean",
280
+ "resolved": "boolean",
281
+ "references": {}
282
+ },
283
+ "required": false,
284
+ "optional": false,
285
+ "docs": {
286
+ "tags": [],
287
+ "text": "Whether single-key shortcuts are on. When off they are shown dimmed."
288
+ },
289
+ "getter": false,
290
+ "setter": false,
291
+ "reflect": true,
292
+ "attribute": "single-key-enabled",
293
+ "defaultValue": "true"
294
+ },
295
+ "singleKeyLabel": {
296
+ "type": "string",
297
+ "mutable": false,
298
+ "complexType": {
299
+ "original": "string",
300
+ "resolved": "string",
301
+ "references": {}
302
+ },
303
+ "required": false,
304
+ "optional": false,
305
+ "docs": {
306
+ "tags": [],
307
+ "text": "Switch title."
308
+ },
309
+ "getter": false,
310
+ "setter": false,
311
+ "reflect": false,
312
+ "attribute": "single-key-label",
313
+ "defaultValue": "'Single-key shortcuts'"
314
+ },
315
+ "singleKeyDescription": {
316
+ "type": "string",
317
+ "mutable": false,
318
+ "complexType": {
319
+ "original": "string",
320
+ "resolved": "string",
321
+ "references": {}
322
+ },
323
+ "required": false,
324
+ "optional": false,
325
+ "docs": {
326
+ "tags": [],
327
+ "text": "Switch caption."
328
+ },
329
+ "getter": false,
330
+ "setter": false,
331
+ "reflect": false,
332
+ "attribute": "single-key-description",
333
+ "defaultValue": "'Turn off if they clash with a screen reader or other tools.'"
334
+ },
335
+ "showFooterHint": {
336
+ "type": "boolean",
337
+ "mutable": false,
338
+ "complexType": {
339
+ "original": "boolean",
340
+ "resolved": "boolean",
341
+ "references": {}
342
+ },
343
+ "required": false,
344
+ "optional": false,
345
+ "docs": {
346
+ "tags": [],
347
+ "text": "Shows the footer hint."
348
+ },
349
+ "getter": false,
350
+ "setter": false,
351
+ "reflect": false,
352
+ "attribute": "show-footer-hint",
353
+ "defaultValue": "true"
354
+ },
355
+ "footerKey": {
356
+ "type": "string",
357
+ "mutable": false,
358
+ "complexType": {
359
+ "original": "string",
360
+ "resolved": "string",
361
+ "references": {}
362
+ },
363
+ "required": false,
364
+ "optional": false,
365
+ "docs": {
366
+ "tags": [],
367
+ "text": "The key shown in the footer hint."
368
+ },
369
+ "getter": false,
370
+ "setter": false,
371
+ "reflect": false,
372
+ "attribute": "footer-key",
373
+ "defaultValue": "'?'"
374
+ },
375
+ "footerText": {
376
+ "type": "string",
377
+ "mutable": false,
378
+ "complexType": {
379
+ "original": "string",
380
+ "resolved": "string",
381
+ "references": {}
382
+ },
383
+ "required": false,
384
+ "optional": false,
385
+ "docs": {
386
+ "tags": [],
387
+ "text": "Footer text after the key."
388
+ },
389
+ "getter": false,
390
+ "setter": false,
391
+ "reflect": false,
392
+ "attribute": "footer-text",
393
+ "defaultValue": "'anywhere to open this list. On Mac: Cmd instead of Ctrl.'"
394
+ },
395
+ "footerPrefix": {
396
+ "type": "string",
397
+ "mutable": false,
398
+ "complexType": {
399
+ "original": "string",
400
+ "resolved": "string",
401
+ "references": {}
402
+ },
403
+ "required": false,
404
+ "optional": false,
405
+ "docs": {
406
+ "tags": [],
407
+ "text": "Text before the footer key."
408
+ },
409
+ "getter": false,
410
+ "setter": false,
411
+ "reflect": false,
412
+ "attribute": "footer-prefix",
413
+ "defaultValue": "'Press'"
414
+ },
415
+ "noResultsText": {
416
+ "type": "string",
417
+ "mutable": false,
418
+ "complexType": {
419
+ "original": "string",
420
+ "resolved": "string",
421
+ "references": {}
422
+ },
423
+ "required": false,
424
+ "optional": false,
425
+ "docs": {
426
+ "tags": [],
427
+ "text": "Line shown when the query matches nothing."
428
+ },
429
+ "getter": false,
430
+ "setter": false,
431
+ "reflect": false,
432
+ "attribute": "no-results-text",
433
+ "defaultValue": "'No shortcuts match'"
434
+ }
435
+ };
436
+ }
437
+ static get events() {
438
+ return [{
439
+ "method": "bsClose",
440
+ "name": "bsClose",
441
+ "bubbles": true,
442
+ "cancelable": true,
443
+ "composed": true,
444
+ "docs": {
445
+ "tags": [],
446
+ "text": "Emitted by the close button and by Escape."
447
+ },
448
+ "complexType": {
449
+ "original": "void",
450
+ "resolved": "void",
451
+ "references": {}
452
+ }
453
+ }, {
454
+ "method": "bsQueryChange",
455
+ "name": "bsQueryChange",
456
+ "bubbles": true,
457
+ "cancelable": true,
458
+ "composed": true,
459
+ "docs": {
460
+ "tags": [],
461
+ "text": "Emitted when the search text changes, with the new text."
462
+ },
463
+ "complexType": {
464
+ "original": "string",
465
+ "resolved": "string",
466
+ "references": {}
467
+ }
468
+ }, {
469
+ "method": "bsSingleKeyChange",
470
+ "name": "bsSingleKeyChange",
471
+ "bubbles": true,
472
+ "cancelable": true,
473
+ "composed": true,
474
+ "docs": {
475
+ "tags": [],
476
+ "text": "Emitted when the single-key switch changes, with the new value."
477
+ },
478
+ "complexType": {
479
+ "original": "boolean",
480
+ "resolved": "boolean",
481
+ "references": {}
482
+ }
483
+ }];
484
+ }
485
+ }
@@ -0,0 +1,111 @@
1
+ import { html } from "lit";
2
+ import { componentDescription } from "../../stories-utils";
3
+ /** Figma "Keyboard shortcuts" data, shared by the stories. */
4
+ export const SHORTCUT_GROUPS = [
5
+ {
6
+ title: 'General',
7
+ shortcuts: [
8
+ { action: 'Search everything', keys: 'Ctrl+K' },
9
+ { action: 'Show shortcuts', keys: '?' },
10
+ { action: 'Close dialog', keys: 'Esc' },
11
+ ],
12
+ },
13
+ {
14
+ title: 'Navigation',
15
+ shortcuts: [
16
+ { action: 'Go to Overview', keys: 'G+O' },
17
+ { action: 'Go to Orders', keys: 'G+R' },
18
+ { action: 'Go to Customers', keys: 'G+K' },
19
+ ],
20
+ },
21
+ {
22
+ title: 'Table',
23
+ shortcuts: [
24
+ { action: 'Next row', keys: 'J' },
25
+ { action: 'Previous row', keys: 'K' },
26
+ { action: 'Select row', keys: 'Space' },
27
+ { action: 'Open row', keys: 'Enter' },
28
+ ],
29
+ },
30
+ {
31
+ title: 'Editing',
32
+ shortcuts: [
33
+ { action: 'New order', keys: 'N' },
34
+ { action: 'Save', keys: 'Ctrl+S' },
35
+ { action: 'Undo', keys: 'Ctrl+Z' },
36
+ ],
37
+ },
38
+ ];
39
+ /** Same data for the single-key-off frame: Figma also dims Esc, so it is marked single-key explicitly. */
40
+ export const SHORTCUT_GROUPS_SINGLE_KEY_OFF = SHORTCUT_GROUPS.map(g => ({
41
+ ...g,
42
+ shortcuts: g.shortcuts.map(s => (s.action === 'Close dialog' ? { ...s, singleKey: true } : s)),
43
+ }));
44
+ export const FILTERED_GROUPS = [
45
+ {
46
+ title: 'Editing',
47
+ shortcuts: [
48
+ { action: 'Save', keys: 'Ctrl+S' },
49
+ { action: 'Save as view', keys: 'Ctrl+Shift+S' },
50
+ { action: 'Save in cloud', keys: 'S' },
51
+ ],
52
+ },
53
+ ];
54
+ const meta = {
55
+ // The shared SHORTCUT_GROUPS data constants are exported for the other stories; keep them out of the sidebar.
56
+ excludeStories: /^[A-Z0-9_]+$/,
57
+ title: 'Components/bs-keyboard-shortcuts',
58
+ parameters: { docs: { description: { component: componentDescription('bs-keyboard-shortcuts') } } },
59
+ argTypes: {
60
+ query: { control: 'text' },
61
+ singleKeyEnabled: { control: 'boolean' },
62
+ showSingleKeySwitch: { control: 'boolean' },
63
+ showFooterHint: { control: 'boolean' },
64
+ },
65
+ args: { query: '', singleKeyEnabled: true, showSingleKeySwitch: true, showFooterHint: true },
66
+ render: args => html `
67
+ <bs-keyboard-shortcuts
68
+ .groups=${SHORTCUT_GROUPS}
69
+ .query=${args.query}
70
+ .singleKeyEnabled=${args.singleKeyEnabled}
71
+ .showSingleKeySwitch=${args.showSingleKeySwitch}
72
+ .showFooterHint=${args.showFooterHint}
73
+ ></bs-keyboard-shortcuts>
74
+ `,
75
+ };
76
+ export default meta;
77
+ export const AllShortcuts = {};
78
+ export const SingleKeyOff = {
79
+ render: () => html `<bs-keyboard-shortcuts .groups=${SHORTCUT_GROUPS_SINGLE_KEY_OFF} .singleKeyEnabled=${false}></bs-keyboard-shortcuts>`,
80
+ };
81
+ export const FilteredResults = {
82
+ render: () => html `<bs-keyboard-shortcuts .groups=${FILTERED_GROUPS} query="save"></bs-keyboard-shortcuts>`,
83
+ };
84
+ export const FilteredSingleKeyOff = {
85
+ render: () => html `<bs-keyboard-shortcuts .groups=${FILTERED_GROUPS} query="save" .singleKeyEnabled=${false}></bs-keyboard-shortcuts>`,
86
+ };
87
+ export const NoResults = {
88
+ render: () => html `<bs-keyboard-shortcuts .groups=${SHORTCUT_GROUPS} query="zzz"></bs-keyboard-shortcuts>`,
89
+ };
90
+ export const InDialog = {
91
+ name: 'In a dialog',
92
+ parameters: { docs: { story: { inline: false, height: '720px' } } },
93
+ render: () => {
94
+ const container = document.createElement('div');
95
+ const trigger = document.createElement('bs-button');
96
+ trigger.textContent = 'Show shortcuts';
97
+ const dialog = document.createElement('bs-dialog');
98
+ dialog.setAttribute('heading', 'Keyboard shortcuts');
99
+ dialog.setAttribute('size', 'lg');
100
+ // Both the dialog and the panel emit bsClose; either closes the dialog.
101
+ const panel = document.createElement('bs-keyboard-shortcuts');
102
+ panel.groups = SHORTCUT_GROUPS;
103
+ panel.style.setProperty('--bs-keyboard-shortcuts-shadow', 'none');
104
+ dialog.appendChild(panel);
105
+ trigger.addEventListener('click', () => (dialog.open = true));
106
+ dialog.addEventListener('bsClose', () => (dialog.open = false));
107
+ panel.addEventListener('bsClose', () => (dialog.open = false));
108
+ container.append(trigger, dialog);
109
+ return container;
110
+ },
111
+ };
@@ -97,7 +97,7 @@ export class BsList {
97
97
  enabled[next].focus();
98
98
  }
99
99
  render() {
100
- return (h("div", { key: '0f3e4a90f79c77ab2a67e88c4480f0c5785e49eb', part: "list", class: "bs-list", role: this.selectable ? 'listbox' : 'list', "aria-label": this.ariaLabel ?? undefined }, h("slot", { key: '7b5618d45ad58385f3d27565bdfee3e4bb5eac2e', onSlotchange: () => this.sync() })));
100
+ return (h("div", { key: '3483a207be9fb42c6d6c4e2385b3d03e3351b05c', part: "list", class: "bs-list", role: this.selectable ? 'listbox' : 'list', "aria-label": this.ariaLabel ?? undefined }, h("slot", { key: 'cc497c226b4fc18f04121a3aff3fe5e10891bf82', onSlotchange: () => this.sync() })));
101
101
  }
102
102
  static get is() { return "bs-list"; }
103
103
  static get encapsulation() { return "shadow"; }
@@ -101,7 +101,7 @@ export class BsListItem {
101
101
  const role = this.selectionRole === 'option' ? 'option' : this.selectionRole === 'listitem' ? 'listitem' : this.interactive ? 'button' : undefined;
102
102
  const standaloneFocusable = this.interactive && !this.selectionRole && !this.disabled;
103
103
  const showTrailing = this.showArrow || this.hasTrailing;
104
- return (h(Host, { key: 'b7e1ad2635a02bace4a6f53a397ac9a70f887b43', role: role, tabindex: standaloneFocusable ? '0' : undefined, "aria-selected": this.selectionRole === 'option' ? String(this.selected) : undefined, "aria-disabled": this.disabled ? 'true' : undefined, class: { 'bs-list-item--interactive': interactive && !this.disabled } }, h("div", { key: 'b197e2ef9b36a003fef75d2c47588483b33a63d5', part: "container", class: "bs-list-item" }, h("div", { key: '3cdd3bb2bdf76bf4388299e1097b59a8c0902363', part: "leading", class: { 'bs-list-item__leading': true, 'bs-list-item__leading--has-content': this.hasLeading } }, h("slot", { key: 'e4d3e156c25fb8f3063ae6c9de843e1ed60458a1', name: "leading", onSlotchange: (e) => (this.hasLeading = this.slotHas(e)) })), h("div", { key: '3a8c79aa044f103d2618333929bfed0cdce870e7', part: "content", class: "bs-list-item__content" }, !this.hasDefault && this.label && (h("div", { key: 'a0123e4b7663553140f3dd17c95a450edc379bd8', part: "label", class: "bs-list-item__label" }, this.label)), !this.hasDefault && this.description && (h("div", { key: '8275c24aed7bda59f7472d8d0ded4e830527009b', part: "description", class: "bs-list-item__description" }, this.description)), !this.hasDefault && this.supportText && (h("div", { key: '06e6ba4b185af790ed46ae362b6aa2cc0376123b', part: "support-text", class: "bs-list-item__support" }, this.supportText)), h("slot", { key: '00302f710e6433920cf7bd91730214ebcfccad4d', onSlotchange: (e) => (this.hasDefault = this.slotHas(e)) })), h("div", { key: '8c9506c0b3513a2fca1ad62702c7aa9bc118141b', part: "trailing", class: { 'bs-list-item__trailing': true, 'bs-list-item__trailing--shown': showTrailing } }, h("slot", { key: '3a3ec60f0483ba864addd4669ea6d1e6f261bb78', name: "trailing", onSlotchange: (e) => (this.hasTrailing = this.slotHas(e)) }, this.showArrow && (h("svg", { key: 'cab7a817530222313bec049106a68e622a6b14e2', viewBox: "0 0 32 32", width: "32", height: "32", fill: "none", "aria-hidden": "true" }, h("path", { key: 'ad794e820e1e36c1f4a22d9aac789a42c25e9056', d: "M12 7L21 16L12 25", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))));
104
+ return (h(Host, { key: 'eac7aeec4fedc05af55c5ca7a78efb693199de3a', role: role, tabindex: standaloneFocusable ? '0' : undefined, "aria-selected": this.selectionRole === 'option' ? String(this.selected) : undefined, "aria-disabled": this.disabled ? 'true' : undefined, class: { 'bs-list-item--interactive': interactive && !this.disabled } }, h("div", { key: '3ba832febb95adfc10481b0b1d70cc4448f0a9dd', part: "container", class: "bs-list-item" }, h("div", { key: 'd528d17243f6185d164c5f6964abe4b1d8143d5b', part: "leading", class: { 'bs-list-item__leading': true, 'bs-list-item__leading--has-content': this.hasLeading } }, h("slot", { key: '60efa1761cc46a7790986689acbada2f99d94add', name: "leading", onSlotchange: (e) => (this.hasLeading = this.slotHas(e)) })), h("div", { key: '4af6ee3b0969aeecdc2ead6b63be52b90927b713', part: "content", class: "bs-list-item__content" }, !this.hasDefault && this.label && (h("div", { key: '57481516f3d3ed73854a58fa870d40d760252b99', part: "label", class: "bs-list-item__label" }, this.label)), !this.hasDefault && this.description && (h("div", { key: 'acb37f4ec42b1c4c49d82cd21a89353a48ff3fcc', part: "description", class: "bs-list-item__description" }, this.description)), !this.hasDefault && this.supportText && (h("div", { key: 'b9e310fd74f06b1114b2ecf64b6c7de8b63a4c61', part: "support-text", class: "bs-list-item__support" }, this.supportText)), h("slot", { key: '7bb751ff77d29cd6f1852c90f5e71f855b222345', onSlotchange: (e) => (this.hasDefault = this.slotHas(e)) })), h("div", { key: '2bf6cb3dedfe1dcf868aba049f3718083ec63830', part: "trailing", class: { 'bs-list-item__trailing': true, 'bs-list-item__trailing--shown': showTrailing } }, h("slot", { key: '5cf7ede0e83b1040210346bdf7e7e6a5c7d06cfd', name: "trailing", onSlotchange: (e) => (this.hasTrailing = this.slotHas(e)) }, this.showArrow && (h("svg", { key: 'fb103f9892eebfd9a481c8d4b60e7504cb19311e', viewBox: "0 0 32 32", width: "32", height: "32", fill: "none", "aria-hidden": "true" }, h("path", { key: 'c33fa8a2aaa5a446adde56c7c8d4bfece8ef1dc9', d: "M12 7L21 16L12 25", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }))))))));
105
105
  }
106
106
  static get is() { return "bs-list-item"; }
107
107
  static get encapsulation() { return "shadow"; }