@brandsync/wc 1.14.0 → 1.15.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 (352) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/REFERENCE.md +77 -0
  3. package/custom-elements.json +693 -0
  4. package/dist/brandsync-wc/brandsync-wc.esm.js +1 -1
  5. package/dist/brandsync-wc/{p-9d660c03.entry.js → p-0f97fe35.entry.js} +1 -1
  6. package/dist/brandsync-wc/{p-c488cc8b.entry.js → p-1b4c0971.entry.js} +1 -1
  7. package/dist/brandsync-wc/{p-df3e7973.entry.js → p-1bf8fbbb.entry.js} +1 -1
  8. package/dist/brandsync-wc/{p-b6ac1b50.entry.js → p-1ca8b01e.entry.js} +1 -1
  9. package/dist/brandsync-wc/{p-47cd19aa.entry.js → p-23379d7c.entry.js} +1 -1
  10. package/dist/brandsync-wc/{p-b793a0d6.entry.js → p-2e285364.entry.js} +1 -1
  11. package/dist/brandsync-wc/{p-204cc690.entry.js → p-3488c4fc.entry.js} +1 -1
  12. package/dist/brandsync-wc/{p-e1b7bea7.entry.js → p-34b0c048.entry.js} +1 -1
  13. package/dist/brandsync-wc/p-36fe783a.entry.js +1 -0
  14. package/dist/brandsync-wc/{p-8184d7de.entry.js → p-38ac9aad.entry.js} +1 -1
  15. package/dist/brandsync-wc/{p-16c78ff6.entry.js → p-3c21d0bf.entry.js} +1 -1
  16. package/dist/brandsync-wc/{p-6e923ebc.entry.js → p-401b3d3d.entry.js} +1 -1
  17. package/dist/brandsync-wc/p-45986ad4.entry.js +1 -0
  18. package/dist/brandsync-wc/{p-227a5182.entry.js → p-4ca40386.entry.js} +1 -1
  19. package/dist/brandsync-wc/{p-9125632c.entry.js → p-4ed00786.entry.js} +1 -1
  20. package/dist/brandsync-wc/{p-bee30626.entry.js → p-538d5b58.entry.js} +1 -1
  21. package/dist/brandsync-wc/{p-9fa67924.entry.js → p-54f9529f.entry.js} +1 -1
  22. package/dist/brandsync-wc/{p-1b5cc9b8.entry.js → p-5a45ef51.entry.js} +1 -1
  23. package/dist/brandsync-wc/{p-ce16f038.entry.js → p-5ed1f45e.entry.js} +1 -1
  24. package/dist/brandsync-wc/{p-10290c41.entry.js → p-65fa1b21.entry.js} +1 -1
  25. package/dist/brandsync-wc/{p-e6fc2cd4.entry.js → p-6cb21302.entry.js} +1 -1
  26. package/dist/brandsync-wc/{p-31cd66e0.entry.js → p-6df48031.entry.js} +1 -1
  27. package/dist/brandsync-wc/p-769c5b4a.entry.js +1 -0
  28. package/dist/brandsync-wc/{p-d892277f.entry.js → p-7a072e64.entry.js} +1 -1
  29. package/dist/brandsync-wc/p-7b3518b8.entry.js +1 -0
  30. package/dist/brandsync-wc/{p-658532b7.entry.js → p-86774165.entry.js} +1 -1
  31. package/dist/brandsync-wc/{p-e0927a9a.entry.js → p-87d44938.entry.js} +1 -1
  32. package/dist/brandsync-wc/{p-cc1055e6.entry.js → p-89ea6366.entry.js} +1 -1
  33. package/dist/brandsync-wc/{p-4b40a596.entry.js → p-912629c6.entry.js} +1 -1
  34. package/dist/brandsync-wc/{p-c67bc817.entry.js → p-9beeb30c.entry.js} +1 -1
  35. package/dist/brandsync-wc/{p-315b510c.entry.js → p-a56bc608.entry.js} +1 -1
  36. package/dist/brandsync-wc/{p-2967240d.entry.js → p-abfa43f5.entry.js} +1 -1
  37. package/dist/brandsync-wc/{p-2e68b76e.entry.js → p-ac9472ec.entry.js} +1 -1
  38. package/dist/brandsync-wc/{p-686297f1.entry.js → p-b6081bba.entry.js} +1 -1
  39. package/dist/brandsync-wc/{p-833f9dc4.entry.js → p-b663ee67.entry.js} +1 -1
  40. package/dist/brandsync-wc/{p-dd52209a.entry.js → p-b67a0c8f.entry.js} +1 -1
  41. package/dist/brandsync-wc/{p-80700878.entry.js → p-b9c0b481.entry.js} +1 -1
  42. package/dist/brandsync-wc/{p-fa6b9750.entry.js → p-b9c9bcba.entry.js} +1 -1
  43. package/dist/brandsync-wc/{p-617bd76d.entry.js → p-baa3d37a.entry.js} +1 -1
  44. package/dist/brandsync-wc/{p-2c1efaa1.entry.js → p-bc97ece8.entry.js} +1 -1
  45. package/dist/brandsync-wc/p-c25553bc.entry.js +1 -0
  46. package/dist/brandsync-wc/{p-45cb3e6d.entry.js → p-c85fe37b.entry.js} +1 -1
  47. package/dist/brandsync-wc/{p-056608f0.entry.js → p-cf287ff1.entry.js} +1 -1
  48. package/dist/brandsync-wc/{p-cc25ee67.entry.js → p-d165a742.entry.js} +1 -1
  49. package/dist/brandsync-wc/{p-51f40972.entry.js → p-d81c4f58.entry.js} +1 -1
  50. package/dist/brandsync-wc/{p-94d435a2.entry.js → p-dcacee29.entry.js} +1 -1
  51. package/dist/brandsync-wc/{p-3477539c.entry.js → p-e294f698.entry.js} +1 -1
  52. package/dist/brandsync-wc/{p-3dabf202.entry.js → p-e5f50e93.entry.js} +1 -1
  53. package/dist/brandsync-wc/{p-221244a9.entry.js → p-e72dd05e.entry.js} +1 -1
  54. package/dist/brandsync-wc/{p-0cb6fc39.entry.js → p-e9b6b30f.entry.js} +1 -1
  55. package/dist/brandsync-wc/{p-a2e59aca.entry.js → p-ed71eb02.entry.js} +1 -1
  56. package/dist/brandsync-wc/{p-e65d286c.entry.js → p-f0be9125.entry.js} +1 -1
  57. package/dist/brandsync-wc/p-f3cc961b.entry.js +1 -0
  58. package/dist/brandsync-wc/{p-6ca1e51b.entry.js → p-f4d1d56e.entry.js} +1 -1
  59. package/dist/cjs/brandsync-wc.cjs.js +1 -1
  60. package/dist/cjs/bs-accordion-group.cjs.entry.js +1 -1
  61. package/dist/cjs/bs-ai-disclaimer.cjs.entry.js +1 -1
  62. package/dist/cjs/bs-ai-greeting.cjs.entry.js +1 -1
  63. package/dist/cjs/bs-ai-thinking.cjs.entry.js +1 -1
  64. package/dist/cjs/bs-app-shell.cjs.entry.js +19 -0
  65. package/dist/cjs/bs-attachment-list.cjs.entry.js +1 -1
  66. package/dist/cjs/bs-breadcrumbs.cjs.entry.js +1 -1
  67. package/dist/cjs/bs-button-skeleton.cjs.entry.js +1 -1
  68. package/dist/cjs/bs-chatbot-feedback.cjs.entry.js +1 -1
  69. package/dist/cjs/bs-chatbot-header.cjs.entry.js +1 -1
  70. package/dist/cjs/bs-chatbot-response-action.cjs.entry.js +1 -1
  71. package/dist/cjs/bs-chatbot-sources-drawer.cjs.entry.js +1 -1
  72. package/dist/cjs/bs-chatbot-suggestion-button.cjs.entry.js +1 -1
  73. package/dist/cjs/bs-checkbox-skeleton.cjs.entry.js +1 -1
  74. package/dist/cjs/bs-citation-preview.cjs.entry.js +1 -1
  75. package/dist/cjs/bs-container.cjs.entry.js +23 -0
  76. package/dist/cjs/bs-data-table.cjs.entry.js +2 -2
  77. package/dist/cjs/bs-datepicker.cjs.entry.js +1 -1
  78. package/dist/cjs/bs-divider.cjs.entry.js +29 -0
  79. package/dist/cjs/bs-error-page.cjs.entry.js +1 -1
  80. package/dist/cjs/bs-file-upload-item.cjs.entry.js +1 -1
  81. package/dist/cjs/bs-file-upload.cjs.entry.js +1 -1
  82. package/dist/cjs/bs-grid.cjs.entry.js +55 -0
  83. package/dist/cjs/bs-icon-button.cjs.entry.js +1 -1
  84. package/dist/cjs/bs-icon-tile.cjs.entry.js +2 -2
  85. package/dist/cjs/bs-inline-tab.cjs.entry.js +1 -1
  86. package/dist/cjs/bs-input_3.cjs.entry.js +4 -4
  87. package/dist/cjs/bs-message-list.cjs.entry.js +1 -1
  88. package/dist/cjs/bs-message.cjs.entry.js +1 -1
  89. package/dist/cjs/bs-navigation-drawer-item.cjs.entry.js +1 -1
  90. package/dist/cjs/bs-navigation-drawer.cjs.entry.js +2 -2
  91. package/dist/cjs/bs-navigation-header.cjs.entry.js +1 -1
  92. package/dist/cjs/bs-pagination.cjs.entry.js +1 -1
  93. package/dist/cjs/bs-popover.cjs.entry.js +1 -1
  94. package/dist/cjs/bs-progress-linear.cjs.entry.js +2 -2
  95. package/dist/cjs/bs-progress.cjs.entry.js +2 -2
  96. package/dist/cjs/bs-qr-code.cjs.entry.js +1 -1
  97. package/dist/cjs/bs-radio.cjs.entry.js +1 -1
  98. package/dist/cjs/bs-session-timeout.cjs.entry.js +1 -1
  99. package/dist/cjs/bs-skeleton.cjs.entry.js +1 -1
  100. package/dist/cjs/bs-slider.cjs.entry.js +1 -1
  101. package/dist/cjs/bs-snackbar.cjs.entry.js +1 -1
  102. package/dist/cjs/bs-source-link.cjs.entry.js +2 -2
  103. package/dist/cjs/bs-spinner.cjs.entry.js +1 -1
  104. package/dist/cjs/bs-split-pane.cjs.entry.js +1 -1
  105. package/dist/cjs/bs-stack.cjs.entry.js +81 -0
  106. package/dist/cjs/bs-stepper-step.cjs.entry.js +1 -1
  107. package/dist/cjs/bs-stepper.cjs.entry.js +1 -1
  108. package/dist/cjs/bs-switch.cjs.entry.js +1 -1
  109. package/dist/cjs/bs-tab_3.cjs.entry.js +3 -3
  110. package/dist/cjs/bs-timepicker.cjs.entry.js +2 -2
  111. package/dist/cjs/bs-toast.cjs.entry.js +1 -1
  112. package/dist/cjs/bs-tooltip-trigger.cjs.entry.js +1 -1
  113. package/dist/cjs/bs-tooltip.cjs.entry.js +1 -1
  114. package/dist/cjs/loader.cjs.js +1 -1
  115. package/dist/collection/collection-manifest.json +5 -0
  116. package/dist/collection/components/bs-accordion-group/bs-accordion-group.js +1 -1
  117. package/dist/collection/components/bs-ai-disclaimer/bs-ai-disclaimer.js +1 -1
  118. package/dist/collection/components/bs-ai-greeting/bs-ai-greeting.js +1 -1
  119. package/dist/collection/components/bs-ai-thinking/bs-ai-thinking.js +1 -1
  120. package/dist/collection/components/bs-app-shell/bs-app-shell.cmp.test.js +71 -0
  121. package/dist/collection/components/bs-app-shell/bs-app-shell.css +58 -0
  122. package/dist/collection/components/bs-app-shell/bs-app-shell.js +79 -0
  123. package/dist/collection/components/bs-app-shell/bs-app-shell.stories.js +34 -0
  124. package/dist/collection/components/bs-attachment-list/bs-attachment-list.js +1 -1
  125. package/dist/collection/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.js +1 -1
  126. package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.js +1 -1
  127. package/dist/collection/components/bs-button-skeleton/bs-button-skeleton.js +1 -1
  128. package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.js +1 -1
  129. package/dist/collection/components/bs-chatbot-header/bs-chatbot-header.js +1 -1
  130. package/dist/collection/components/bs-chatbot-response-action/bs-chatbot-response-action.js +1 -1
  131. package/dist/collection/components/bs-chatbot-sources-drawer/bs-chatbot-sources-drawer.js +1 -1
  132. package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.js +1 -1
  133. package/dist/collection/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.js +1 -1
  134. package/dist/collection/components/bs-citation-preview/bs-citation-preview.js +1 -1
  135. package/dist/collection/components/bs-container/bs-container.cmp.test.js +59 -0
  136. package/dist/collection/components/bs-container/bs-container.css +16 -0
  137. package/dist/collection/components/bs-container/bs-container.js +88 -0
  138. package/dist/collection/components/bs-container/bs-container.stories.js +24 -0
  139. package/dist/collection/components/bs-data-table/bs-data-table.js +2 -2
  140. package/dist/collection/components/bs-datepicker/bs-datepicker.js +1 -1
  141. package/dist/collection/components/bs-divider/bs-divider.cmp.test.js +47 -0
  142. package/dist/collection/components/bs-divider/bs-divider.css +47 -0
  143. package/dist/collection/components/bs-divider/bs-divider.js +147 -0
  144. package/dist/collection/components/bs-divider/bs-divider.stories.js +32 -0
  145. package/dist/collection/components/bs-error-page/bs-error-page.js +1 -1
  146. package/dist/collection/components/bs-file-upload/bs-file-upload.js +1 -1
  147. package/dist/collection/components/bs-file-upload-item/bs-file-upload-item.js +1 -1
  148. package/dist/collection/components/bs-grid/bs-grid.cmp.test.js +58 -0
  149. package/dist/collection/components/bs-grid/bs-grid.css +10 -0
  150. package/dist/collection/components/bs-grid/bs-grid.js +208 -0
  151. package/dist/collection/components/bs-grid/bs-grid.stories.js +38 -0
  152. package/dist/collection/components/bs-icon-tile/bs-icon-tile.js +2 -2
  153. package/dist/collection/components/bs-input/bs-input.js +2 -2
  154. package/dist/collection/components/bs-menu/bs-menu.js +1 -1
  155. package/dist/collection/components/bs-menu-item/bs-menu-item.js +1 -1
  156. package/dist/collection/components/bs-message/bs-message.js +1 -1
  157. package/dist/collection/components/bs-message-list/bs-message-list.js +1 -1
  158. package/dist/collection/components/bs-pagination/bs-pagination.js +1 -1
  159. package/dist/collection/components/bs-popover/bs-popover.js +1 -1
  160. package/dist/collection/components/bs-progress/bs-progress.js +2 -2
  161. package/dist/collection/components/bs-progress-linear/bs-progress-linear.js +2 -2
  162. package/dist/collection/components/bs-qr-code/bs-qr-code.js +1 -1
  163. package/dist/collection/components/bs-radio/bs-radio.js +1 -1
  164. package/dist/collection/components/bs-session-timeout/bs-session-timeout.js +1 -1
  165. package/dist/collection/components/bs-skeleton/bs-skeleton.js +1 -1
  166. package/dist/collection/components/bs-slider/bs-slider.js +1 -1
  167. package/dist/collection/components/bs-snackbar/bs-snackbar.js +1 -1
  168. package/dist/collection/components/bs-source-link/bs-source-link.js +2 -2
  169. package/dist/collection/components/bs-spinner/bs-spinner.js +1 -1
  170. package/dist/collection/components/bs-split-pane/bs-split-pane.js +1 -1
  171. package/dist/collection/components/bs-stack/bs-stack.cmp.test.js +113 -0
  172. package/dist/collection/components/bs-stack/bs-stack.css +22 -0
  173. package/dist/collection/components/bs-stack/bs-stack.js +252 -0
  174. package/dist/collection/components/bs-stack/bs-stack.stories.js +36 -0
  175. package/dist/collection/components/bs-stepper/bs-stepper/bs-stepper.js +1 -1
  176. package/dist/collection/components/bs-stepper/bs-stepper-step/bs-stepper-step.js +1 -1
  177. package/dist/collection/components/bs-switch/bs-switch.js +1 -1
  178. package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.js +1 -1
  179. package/dist/collection/components/bs-tab/bs-tab/bs-tab.js +1 -1
  180. package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.js +1 -1
  181. package/dist/collection/components/bs-timepicker/bs-timepicker.js +2 -2
  182. package/dist/collection/components/bs-toast/bs-toast.js +1 -1
  183. package/dist/collection/components/bs-tooltip/bs-tooltip.js +1 -1
  184. package/dist/collection/components/bs-tooltip-trigger/bs-tooltip-trigger.js +1 -1
  185. package/dist/collection/components/bs-whats-new-entry/bs-whats-new-entry.js +1 -1
  186. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.js +2 -2
  187. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.js +1 -1
  188. package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.js +1 -1
  189. package/dist/components/bs-accordion-group.js +1 -1
  190. package/dist/components/bs-ai-disclaimer.js +1 -1
  191. package/dist/components/bs-ai-greeting.js +1 -1
  192. package/dist/components/bs-ai-thinking.js +1 -1
  193. package/dist/components/bs-app-shell.d.ts +11 -0
  194. package/dist/components/bs-app-shell.js +1 -0
  195. package/dist/components/bs-attachment-list.js +1 -1
  196. package/dist/components/bs-attachment.js +1 -1
  197. package/dist/components/bs-breadcrumb-overflow.js +1 -1
  198. package/dist/components/bs-breadcrumbs.js +1 -1
  199. package/dist/components/bs-button-skeleton.js +1 -1
  200. package/dist/components/bs-carousel.js +1 -1
  201. package/dist/components/bs-chatbot-feedback.js +1 -1
  202. package/dist/components/bs-chatbot-header.js +1 -1
  203. package/dist/components/bs-chatbot-response-action.js +1 -1
  204. package/dist/components/bs-chatbot-sources-drawer.js +1 -1
  205. package/dist/components/bs-chatbot-suggestion-button.js +1 -1
  206. package/dist/components/bs-checkbox-skeleton.js +1 -1
  207. package/dist/components/bs-citation-preview.js +1 -1
  208. package/dist/components/bs-container.d.ts +11 -0
  209. package/dist/components/bs-container.js +1 -0
  210. package/dist/components/bs-cookie-consent.js +1 -1
  211. package/dist/components/bs-data-table.js +1 -1
  212. package/dist/components/bs-datepicker.js +1 -1
  213. package/dist/components/bs-dialog.js +1 -1
  214. package/dist/components/bs-divider.d.ts +11 -0
  215. package/dist/components/bs-divider.js +1 -0
  216. package/dist/components/bs-error-page.js +1 -1
  217. package/dist/components/bs-file-upload-item.js +1 -1
  218. package/dist/components/bs-file-upload.js +1 -1
  219. package/dist/components/bs-grid.d.ts +11 -0
  220. package/dist/components/bs-grid.js +1 -0
  221. package/dist/components/bs-icon-button.js +1 -1
  222. package/dist/components/bs-icon-tile.js +1 -1
  223. package/dist/components/bs-inline-tab.js +1 -1
  224. package/dist/components/bs-input.js +1 -1
  225. package/dist/components/bs-menu-item.js +1 -1
  226. package/dist/components/bs-menu.js +1 -1
  227. package/dist/components/bs-message-list.js +1 -1
  228. package/dist/components/bs-message.js +1 -1
  229. package/dist/components/bs-navigation-drawer-item.js +1 -1
  230. package/dist/components/bs-navigation-drawer.js +1 -1
  231. package/dist/components/bs-navigation-header.js +1 -1
  232. package/dist/components/bs-onboarding-checklist.js +1 -1
  233. package/dist/components/bs-pagination.js +1 -1
  234. package/dist/components/bs-popover.js +1 -1
  235. package/dist/components/bs-product-tour.js +1 -1
  236. package/dist/components/bs-progress-linear.js +1 -1
  237. package/dist/components/bs-progress.js +1 -1
  238. package/dist/components/bs-qr-code.js +1 -1
  239. package/dist/components/bs-radio.js +1 -1
  240. package/dist/components/bs-session-timeout.js +1 -1
  241. package/dist/components/bs-side-panel.js +1 -1
  242. package/dist/components/bs-skeleton.js +1 -1
  243. package/dist/components/bs-slider.js +1 -1
  244. package/dist/components/bs-snackbar.js +1 -1
  245. package/dist/components/bs-source-link.js +1 -1
  246. package/dist/components/bs-spinner.js +1 -1
  247. package/dist/components/bs-split-pane.js +1 -1
  248. package/dist/components/bs-stack.d.ts +11 -0
  249. package/dist/components/bs-stack.js +1 -0
  250. package/dist/components/bs-stepper-step.js +1 -1
  251. package/dist/components/bs-stepper.js +1 -1
  252. package/dist/components/bs-switch.js +1 -1
  253. package/dist/components/bs-tab.js +1 -1
  254. package/dist/components/bs-tabs.js +1 -1
  255. package/dist/components/bs-timepicker.js +1 -1
  256. package/dist/components/bs-toast.js +1 -1
  257. package/dist/components/bs-tooltip-trigger.js +1 -1
  258. package/dist/components/bs-tooltip.js +1 -1
  259. package/dist/components/bs-whats-new-entry.js +1 -1
  260. package/dist/components/bs-whats-new.js +1 -1
  261. package/dist/components/{p-CrmEXUwm.js → p-B128GX8H.js} +1 -1
  262. package/dist/components/{p-Dm3TqgV_.js → p-B3l4WpgS.js} +1 -1
  263. package/dist/components/{p-Rx4bpeYN.js → p-B80vOwH6.js} +1 -1
  264. package/dist/components/{p-nC2VxRNo.js → p-Bqe4waKJ.js} +1 -1
  265. package/dist/components/{p-BIW9eUic.js → p-BsbtyRJV.js} +1 -1
  266. package/dist/components/{p-BESyTlfT.js → p-BvYkZcOU.js} +1 -1
  267. package/dist/components/{p-CDYw4Eyj.js → p-ByKcHsj0.js} +1 -1
  268. package/dist/components/{p-BJR8KVFc.js → p-ByLUtXxO.js} +1 -1
  269. package/dist/components/p-C7RZ6qZC.js +1 -0
  270. package/dist/components/{p-DpVeeIko.js → p-CK7fiES5.js} +1 -1
  271. package/dist/components/{p-QnTjSed5.js → p-CQjSDdH7.js} +1 -1
  272. package/dist/components/{p-HAmR4gM2.js → p-D0KM1R2i.js} +1 -1
  273. package/dist/components/{p-HzaOqQ0U.js → p-ElcsxZSh.js} +1 -1
  274. package/dist/components/{p-DAwSBMeM.js → p-GTDI4Ibw.js} +1 -1
  275. package/dist/components/{p-zscW5LNR.js → p-Mf1jorXP.js} +1 -1
  276. package/dist/components/{p-CiSEDtbE.js → p-kDJsWjTN.js} +1 -1
  277. package/dist/esm/brandsync-wc.js +1 -1
  278. package/dist/esm/bs-accordion-group.entry.js +1 -1
  279. package/dist/esm/bs-ai-disclaimer.entry.js +1 -1
  280. package/dist/esm/bs-ai-greeting.entry.js +1 -1
  281. package/dist/esm/bs-ai-thinking.entry.js +1 -1
  282. package/dist/esm/bs-app-shell.entry.js +17 -0
  283. package/dist/esm/bs-attachment-list.entry.js +1 -1
  284. package/dist/esm/bs-breadcrumbs.entry.js +1 -1
  285. package/dist/esm/bs-button-skeleton.entry.js +1 -1
  286. package/dist/esm/bs-chatbot-feedback.entry.js +1 -1
  287. package/dist/esm/bs-chatbot-header.entry.js +1 -1
  288. package/dist/esm/bs-chatbot-response-action.entry.js +1 -1
  289. package/dist/esm/bs-chatbot-sources-drawer.entry.js +1 -1
  290. package/dist/esm/bs-chatbot-suggestion-button.entry.js +1 -1
  291. package/dist/esm/bs-checkbox-skeleton.entry.js +1 -1
  292. package/dist/esm/bs-citation-preview.entry.js +1 -1
  293. package/dist/esm/bs-container.entry.js +21 -0
  294. package/dist/esm/bs-data-table.entry.js +2 -2
  295. package/dist/esm/bs-datepicker.entry.js +1 -1
  296. package/dist/esm/bs-divider.entry.js +27 -0
  297. package/dist/esm/bs-error-page.entry.js +1 -1
  298. package/dist/esm/bs-file-upload-item.entry.js +1 -1
  299. package/dist/esm/bs-file-upload.entry.js +1 -1
  300. package/dist/esm/bs-grid.entry.js +53 -0
  301. package/dist/esm/bs-icon-button.entry.js +1 -1
  302. package/dist/esm/bs-icon-tile.entry.js +2 -2
  303. package/dist/esm/bs-inline-tab.entry.js +1 -1
  304. package/dist/esm/bs-input_3.entry.js +4 -4
  305. package/dist/esm/bs-message-list.entry.js +1 -1
  306. package/dist/esm/bs-message.entry.js +1 -1
  307. package/dist/esm/bs-navigation-drawer-item.entry.js +1 -1
  308. package/dist/esm/bs-navigation-drawer.entry.js +2 -2
  309. package/dist/esm/bs-navigation-header.entry.js +1 -1
  310. package/dist/esm/bs-pagination.entry.js +1 -1
  311. package/dist/esm/bs-popover.entry.js +1 -1
  312. package/dist/esm/bs-progress-linear.entry.js +2 -2
  313. package/dist/esm/bs-progress.entry.js +2 -2
  314. package/dist/esm/bs-qr-code.entry.js +1 -1
  315. package/dist/esm/bs-radio.entry.js +1 -1
  316. package/dist/esm/bs-session-timeout.entry.js +1 -1
  317. package/dist/esm/bs-skeleton.entry.js +1 -1
  318. package/dist/esm/bs-slider.entry.js +1 -1
  319. package/dist/esm/bs-snackbar.entry.js +1 -1
  320. package/dist/esm/bs-source-link.entry.js +2 -2
  321. package/dist/esm/bs-spinner.entry.js +1 -1
  322. package/dist/esm/bs-split-pane.entry.js +1 -1
  323. package/dist/esm/bs-stack.entry.js +79 -0
  324. package/dist/esm/bs-stepper-step.entry.js +1 -1
  325. package/dist/esm/bs-stepper.entry.js +1 -1
  326. package/dist/esm/bs-switch.entry.js +1 -1
  327. package/dist/esm/bs-tab_3.entry.js +3 -3
  328. package/dist/esm/bs-timepicker.entry.js +2 -2
  329. package/dist/esm/bs-toast.entry.js +1 -1
  330. package/dist/esm/bs-tooltip-trigger.entry.js +1 -1
  331. package/dist/esm/bs-tooltip.entry.js +1 -1
  332. package/dist/esm/loader.js +1 -1
  333. package/dist/types/components/bs-app-shell/bs-app-shell.cmp.test.d.ts +1 -0
  334. package/dist/types/components/bs-app-shell/bs-app-shell.d.ts +40 -0
  335. package/dist/types/components/bs-app-shell/bs-app-shell.stories.d.ts +11 -0
  336. package/dist/types/components/bs-container/bs-container.cmp.test.d.ts +1 -0
  337. package/dist/types/components/bs-container/bs-container.d.ts +22 -0
  338. package/dist/types/components/bs-container/bs-container.stories.d.ts +15 -0
  339. package/dist/types/components/bs-divider/bs-divider.cmp.test.d.ts +1 -0
  340. package/dist/types/components/bs-divider/bs-divider.d.ts +29 -0
  341. package/dist/types/components/bs-divider/bs-divider.stories.d.ts +16 -0
  342. package/dist/types/components/bs-grid/bs-grid.cmp.test.d.ts +1 -0
  343. package/dist/types/components/bs-grid/bs-grid.d.ts +43 -0
  344. package/dist/types/components/bs-grid/bs-grid.stories.d.ts +18 -0
  345. package/dist/types/components/bs-stack/bs-stack.cmp.test.d.ts +1 -0
  346. package/dist/types/components/bs-stack/bs-stack.d.ts +46 -0
  347. package/dist/types/components/bs-stack/bs-stack.stories.d.ts +18 -0
  348. package/dist/types/components.d.ts +582 -0
  349. package/package.json +1 -1
  350. package/reference.d.ts +15 -0
  351. package/reference.json +178 -0
  352. package/dist/brandsync-wc/p-0e738622.entry.js +0 -1
@@ -47,7 +47,7 @@ export class BsMenuItem {
47
47
  this.bsSelect.emit();
48
48
  };
49
49
  render() {
50
- return (h("button", { key: '1e0f7b552625b10087b75d9354e9e158cda10732', type: "button", part: "item", role: "menuitem", class: `bs-menu-item ${this.disabled ? 'bs-menu-item--disabled' : ''}`, disabled: this.disabled, "aria-disabled": this.disabled ? 'true' : undefined, onClick: this.onClick }, h("span", { key: '8ec17400e5157f4d34a9f67cb298912f430e4524', part: "icon", class: `bs-menu-item__icon ${this.hasIcon ? 'bs-menu-item__icon--has-content' : ''}` }, h("slot", { key: '3641aa2735310ada27c68c90a42f18489e77f0e9', name: "icon", onSlotchange: this.onIconSlotchange })), h("span", { key: '9c60cb506418e1432b594b0f2ce8f9c4cbf925f6', part: "label", class: "bs-menu-item__label" }, h("slot", { key: '6369f08ae8797a21d498e89b701df3858e4ce575' }))));
50
+ return (h("button", { key: '2d4a54df61b047dab4531362aee81f5d9728818b', type: "button", part: "item", role: "menuitem", class: `bs-menu-item ${this.disabled ? 'bs-menu-item--disabled' : ''}`, disabled: this.disabled, "aria-disabled": this.disabled ? 'true' : undefined, onClick: this.onClick }, h("span", { key: '5ddaa17999d79962d279b927d659f592a2dccc81', part: "icon", class: `bs-menu-item__icon ${this.hasIcon ? 'bs-menu-item__icon--has-content' : ''}` }, h("slot", { key: '41033aa1950751d8565eec3d04af3570120cda58', name: "icon", onSlotchange: this.onIconSlotchange })), h("span", { key: 'eb077b5082815adee640c53fa4396cccf1d81cad', part: "label", class: "bs-menu-item__label" }, h("slot", { key: 'cfb15ca71fd157aebfb0380e2eaac791bd50b051' }))));
51
51
  }
52
52
  static get is() { return "bs-menu-item"; }
53
53
  static get encapsulation() { return "shadow"; }
@@ -45,7 +45,7 @@ export class BsMessage {
45
45
  /** Delivery/render state. `error` uses error colours; `pending` dims the bubble and sets `aria-busy`. */
46
46
  status = 'default';
47
47
  render() {
48
- return (h("div", { key: '76e0e1d307de73bca97c5a79b3ff607278311d3e', class: "bs-message", "aria-busy": this.status === 'pending' ? 'true' : undefined }, h("div", { key: '00c91e1ab7a3cf9e81401e36b50b331c0d7d2735', part: "avatar", class: "bs-message__avatar" }, h("slot", { key: 'a3b0577cbafcd699ecf37c3299757f76e88cd572', name: "avatar" })), h("div", { key: '10b3dc86e24ae0860fffccedb5aaa9fed78f44c5', class: "bs-message__column" }, h("bs-card", { key: '3a88a28a5e9cb9898562860daf576b4280a8e601', part: "container", class: "bs-message__bubble", surface: "base" }, h("div", { key: '95a9c8394c55789cbf7a976b16466d7a9593fae6', part: "content", class: "bs-message__content" }, h("slot", { key: '81c214388b65904f4e15bfae23ddbc34ed35e267' }))), h("div", { key: '27768ab59923180c6f31f7bce893fefa11c967d1', part: "footer", class: "bs-message__footer" }, h("slot", { key: '606f025032c40e01c2490b1d18441c1d2557beac', name: "footer" })), h("div", { key: '79acf174363c391a37ca1907ececf87c9c1cdb45', part: "timestamp", class: "bs-message__timestamp" }, h("slot", { key: '08060d46ea218a3c9315bd2fc89165c605e54ddd', name: "timestamp" }, this.timestamp && h("time", { key: 'a9829bf9725b3c41eb5032427822a2d6fbb2cb6f', dateTime: this.datetime }, this.timestamp))))));
48
+ return (h("div", { key: 'ca6cc1e08eca207f6aa9ff8f6dcf469f43935e82', class: "bs-message", "aria-busy": this.status === 'pending' ? 'true' : undefined }, h("div", { key: '4ca4239579648f898b88d39c73ec79d06afd1111', part: "avatar", class: "bs-message__avatar" }, h("slot", { key: 'e0fee937ebe6fb105a45b4f24ceee6c14fa3c5a1', name: "avatar" })), h("div", { key: '396fbeec6646fcae8c0b442cf15930450760b44c', class: "bs-message__column" }, h("bs-card", { key: 'c39915eda480acbdc8d463e3ef709cd76843d6fa', part: "container", class: "bs-message__bubble", surface: "base" }, h("div", { key: '54f53b103dbef163bd7afe903ceac965bc5fb881', part: "content", class: "bs-message__content" }, h("slot", { key: '6b4bb7918c443e38e3ac2e409e4207e11a071cb2' }))), h("div", { key: 'a1145d6701c160117fc0309647f9026abe454573', part: "footer", class: "bs-message__footer" }, h("slot", { key: '9c93b91f4748756b8ce07df059c1d9bed4928e21', name: "footer" })), h("div", { key: '26da0cad53e92d380bcfeef12ad61200f015d3a1', part: "timestamp", class: "bs-message__timestamp" }, h("slot", { key: 'c61bfb5fd138227897260a95bdcc9355e0668f86', name: "timestamp" }, this.timestamp && h("time", { key: '0e1a0c48657683613e9f02bd126a79471e6e9d2d', dateTime: this.datetime }, this.timestamp))))));
49
49
  }
50
50
  static get is() { return "bs-message"; }
51
51
  static get encapsulation() { return "shadow"; }
@@ -75,7 +75,7 @@ export class BsMessageList {
75
75
  }
76
76
  };
77
77
  render() {
78
- return (h("div", { key: '188f548bf2663418ebd3dcda57fbd286b10c7eeb', class: "bs-message-list" }, h("div", { key: 'f6bd80892f1b9d08215027239d6de8736b468340', part: "viewport", class: "bs-message-list__viewport", role: "log", "aria-live": "polite", tabindex: "0", ref: el => (this.viewport = el), onScroll: this.onScroll }, h("slot", { key: '8b7670ce5566d4eb946693e67cc57ae9ad6243b4' })), this.showScrollButton && (h("bs-icon-button", { key: '597edb7c5f81db986839e403961d9b4a274b34c3', part: "scroll-to-latest", class: "bs-message-list__scroll", variant: "neutral", ariaLabel: this.scrollToLatestLabel, onClick: () => this.scrollToLatest() }, h("svg", { key: '5b95b7a87560b5e652834a132da9eee9b4295b59', width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, h("path", { key: 'd93260a40a73539d9a712bc4928d947d819b8054', d: "M8 3v10M3.5 8.5L8 13l4.5-4.5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))))));
78
+ return (h("div", { key: '975306593610d06410c0c0c8486a4a2802c866f1', class: "bs-message-list" }, h("div", { key: 'ce773c0fafcbf5491539b05b03970c8d52263f61', part: "viewport", class: "bs-message-list__viewport", role: "log", "aria-live": "polite", tabindex: "0", ref: el => (this.viewport = el), onScroll: this.onScroll }, h("slot", { key: 'fdf3265e567c3756c665d007c9117a6de0bf6a8c' })), this.showScrollButton && (h("bs-icon-button", { key: 'd7ce5fc99e25bb870eeefb2e89af2fdbb3d6e366', part: "scroll-to-latest", class: "bs-message-list__scroll", variant: "neutral", ariaLabel: this.scrollToLatestLabel, onClick: () => this.scrollToLatest() }, h("svg", { key: 'a38a17ec2733477935c3a3496451e6c55243b905', width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, h("path", { key: '99af4b6c21da2c66f4a12f395dfaeef7df4b8557', d: "M8 3v10M3.5 8.5L8 13l4.5-4.5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" }))))));
79
79
  }
80
80
  static get is() { return "bs-message-list"; }
81
81
  static get encapsulation() { return "shadow"; }
@@ -91,7 +91,7 @@ export class BsPagination {
91
91
  }
92
92
  render() {
93
93
  const pageList = this.getPageList();
94
- return (h("nav", { key: '96915c9c13aad90a4db232b78062618d99b3e48f', "aria-label": this.navLabel }, h("ul", { key: '57e51e0ab7da9ac5bfae840579195bee1d7b0642', part: "list", class: "bs-pagination__list" }, h("li", { key: '831d06deaa95f1992ee7fa80e54b672a05ca5c5c', part: "item", class: "bs-pagination__item" }, h("button", { key: '3b513f181a3f95aa39869f64eb023b27597e151d', part: "prev", type: "button", class: "bs-pagination__control", "aria-label": this.previousLabel, disabled: this.currentPage <= 1, onClick: () => this.goToPage(this.currentPage - 1) }, h(ChevronLeftIcon, { key: 'e9dc1c534f7bccb9c4e30c91a2dc7b2344e4a2dd' }))), pageList.map((item, index) => item === 'ellipsis' ? (h("li", { part: "item", class: "bs-pagination__item", key: `ellipsis-${index}` }, h("span", { part: "ellipsis", class: "bs-pagination__ellipsis", "aria-hidden": "true" }, h(EllipsisIcon, null)))) : (h("li", { part: "item", class: "bs-pagination__item", key: item }, h("button", { part: item === this.currentPage ? 'page current' : 'page', type: "button", class: `bs-pagination__control bs-pagination__page ${item === this.currentPage ? 'bs-pagination__page--current' : ''}`, "aria-label": `${this.pageLabel} ${item}`, "aria-current": item === this.currentPage ? 'page' : undefined, onClick: () => this.goToPage(item) }, item)))), h("li", { key: '2f24b7b2dfc20820eccf8805ae4f1036adfe4911', part: "item", class: "bs-pagination__item" }, h("button", { key: '2888093afa769f6bb9bf6b2d9c8ff111332bf7ab', part: "next", type: "button", class: "bs-pagination__control", "aria-label": this.nextLabel, disabled: this.currentPage >= this.safeTotalPages, onClick: () => this.goToPage(this.currentPage + 1) }, h(ChevronRightIcon, { key: 'eaed42626409dc0a5784ed6f99cdb84c8fc2e1cb' }))))));
94
+ return (h("nav", { key: '06cb2459f56b6e12d2c2cefcf2a1ce1124777043', "aria-label": this.navLabel }, h("ul", { key: '43d5ed118491fab134ce246b180246376f3ac682', part: "list", class: "bs-pagination__list" }, h("li", { key: 'd7f3aec6470fe62a0deabcf836d0841fd29a31eb', part: "item", class: "bs-pagination__item" }, h("button", { key: 'f14cfdc9080113c26971535eb25d56918c7a980c', part: "prev", type: "button", class: "bs-pagination__control", "aria-label": this.previousLabel, disabled: this.currentPage <= 1, onClick: () => this.goToPage(this.currentPage - 1) }, h(ChevronLeftIcon, { key: '8db797703e6a8af9e396362cb544dc106624f2b9' }))), pageList.map((item, index) => item === 'ellipsis' ? (h("li", { part: "item", class: "bs-pagination__item", key: `ellipsis-${index}` }, h("span", { part: "ellipsis", class: "bs-pagination__ellipsis", "aria-hidden": "true" }, h(EllipsisIcon, null)))) : (h("li", { part: "item", class: "bs-pagination__item", key: item }, h("button", { part: item === this.currentPage ? 'page current' : 'page', type: "button", class: `bs-pagination__control bs-pagination__page ${item === this.currentPage ? 'bs-pagination__page--current' : ''}`, "aria-label": `${this.pageLabel} ${item}`, "aria-current": item === this.currentPage ? 'page' : undefined, onClick: () => this.goToPage(item) }, item)))), h("li", { key: '9a7f5d781c7ba8e6403bd53e0b333943ef6df45e', part: "item", class: "bs-pagination__item" }, h("button", { key: '8f745ebaf087a8c81119fb96c74ec60fbb57c711', part: "next", type: "button", class: "bs-pagination__control", "aria-label": this.nextLabel, disabled: this.currentPage >= this.safeTotalPages, onClick: () => this.goToPage(this.currentPage + 1) }, h(ChevronRightIcon, { key: '1a1ca7605f8eaeda1f6728cb9936388254797c3f' }))))));
95
95
  }
96
96
  static get is() { return "bs-pagination"; }
97
97
  static get encapsulation() { return "shadow"; }
@@ -152,7 +152,7 @@ export class BsPopover {
152
152
  }
153
153
  };
154
154
  render() {
155
- return (h("div", { key: 'e4e96eb40953abdd3f5f9a9169cfe2b9ad87d3b5', class: "bs-popover" }, h("div", { key: '6456d7cb3cba9e243015086095534cad82716711', part: "trigger", class: "bs-popover__trigger", "aria-haspopup": "true", "aria-expanded": String(this.open), "aria-controls": this.popupId, onClick: this.onTriggerClick, onKeyDown: this.onTriggerKeyDown }, h("slot", { key: '1a1d545bf0afc0a59e4f9f7f29bf359cc2264c65', name: "trigger", ref: el => (this.triggerSlot = el) })), h("div", { key: '8a1e1e3ade63f2cba665368f3bd2659ce659ee18', part: "popup", id: this.popupId, class: "bs-popover__popup", tabindex: "-1", hidden: !this.open, ref: el => (this.popupEl = el) }, h("slot", { key: 'abdeeb2105d00487a43f23dd6021c61b533e8139' }))));
155
+ return (h("div", { key: '230678d7440e218c133a315f4a15f7136043fd44', class: "bs-popover" }, h("div", { key: 'dd514d3e6771a4adc2a90bbe097736db3df7e2e0', part: "trigger", class: "bs-popover__trigger", "aria-haspopup": "true", "aria-expanded": String(this.open), "aria-controls": this.popupId, onClick: this.onTriggerClick, onKeyDown: this.onTriggerKeyDown }, h("slot", { key: 'ff258cd0e061ae599371f72599599d84d2a4e8a1', name: "trigger", ref: el => (this.triggerSlot = el) })), h("div", { key: '13396ff2f4e4bd65d725dd32dd0e39c072f32a79', part: "popup", id: this.popupId, class: "bs-popover__popup", tabindex: "-1", hidden: !this.open, ref: el => (this.popupEl = el) }, h("slot", { key: 'af116fe77709a8121e0c4bb4a3d49bd93bdc7c30' }))));
156
156
  }
157
157
  static get is() { return "bs-popover"; }
158
158
  static get encapsulation() { return "shadow"; }
@@ -69,7 +69,7 @@ export class BsProgress {
69
69
  const isDeterminate = this.type === 'determinate';
70
70
  const value = this.clampedValue;
71
71
  const dashOffset = circumference * (1 - value / 100);
72
- return (h("div", { key: '2909533f8b4472a7c12c564c3b42b6456d5d1c80', part: "container", class: "bs-progress" }, h("div", { key: '3f41fc7f22d7c9eba13e859330aae4f6230af8ab', class: "bs-progress__box", style: { width: `${diameter}px`, height: `${diameter}px` }, role: "progressbar", "aria-label": this.ariaLabel, "aria-valuemin": isDeterminate ? '0' : undefined, "aria-valuemax": isDeterminate ? '100' : undefined, "aria-valuenow": isDeterminate ? String(value) : undefined, "aria-busy": isDeterminate ? undefined : 'true' }, isDeterminate ? (h("svg", { class: "bs-progress__ring", width: diameter, height: diameter, viewBox: `0 0 ${diameter} ${diameter}` }, h("circle", { part: "track", class: "bs-progress__track", cx: diameter / 2, cy: diameter / 2, r: radius, "stroke-width": this.strokeWidth, fill: "none" }), h("circle", { part: "arc", class: "bs-progress__arc", cx: diameter / 2, cy: diameter / 2, r: radius, "stroke-width": this.strokeWidth, fill: "none", "stroke-linecap": "round", "stroke-dasharray": circumference, "stroke-dashoffset": dashOffset }))) : (
72
+ return (h("div", { key: 'afa27ec8f954d6ff71f774e7de4f150e49df143c', part: "container", class: "bs-progress" }, h("div", { key: '31429f8a7e2e641b4de0ef7eb8e2d718107f4157', class: "bs-progress__box", style: { width: `${diameter}px`, height: `${diameter}px` }, role: "progressbar", "aria-label": this.ariaLabel, "aria-valuemin": isDeterminate ? '0' : undefined, "aria-valuemax": isDeterminate ? '100' : undefined, "aria-valuenow": isDeterminate ? String(value) : undefined, "aria-busy": isDeterminate ? undefined : 'true' }, isDeterminate ? (h("svg", { class: "bs-progress__ring", width: diameter, height: diameter, viewBox: `0 0 ${diameter} ${diameter}` }, h("circle", { part: "track", class: "bs-progress__track", cx: diameter / 2, cy: diameter / 2, r: radius, "stroke-width": this.strokeWidth, fill: "none" }), h("circle", { part: "arc", class: "bs-progress__arc", cx: diameter / 2, cy: diameter / 2, r: radius, "stroke-width": this.strokeWidth, fill: "none", "stroke-linecap": "round", "stroke-dasharray": circumference, "stroke-dashoffset": dashOffset }))) : (
73
73
  // Figma's indeterminate ring is a fading "comet tail" (transparent -> solid color),
74
74
  // not a flat-colored partial arc -- SVG has no angular/conic gradient primitive, so a
75
75
  // CSS conic-gradient (color varying by angle) + a radial-gradient mask (carving the
@@ -78,7 +78,7 @@ export class BsProgress {
78
78
  h("div", { part: "arc", class: "bs-progress__spinner", style: {
79
79
  '--bs-progress-spinner-stroke-width': `${this.strokeWidth}px`,
80
80
  '--bs-progress-spinner-sweep': `${INDETERMINATE_SWEEP_DEGREES}deg`,
81
- } }))), isDeterminate && this.showLabel && (h("span", { key: '417f47612fc45127c4a1832a6cb4122ad16d9579', part: "label", class: `bs-progress__label bs-progress__label--${this.size}` }, value, "%"))));
81
+ } }))), isDeterminate && this.showLabel && (h("span", { key: '85634f6af94208a13bd46483b4d3465a64e89a42', part: "label", class: `bs-progress__label bs-progress__label--${this.size}` }, value, "%"))));
82
82
  }
83
83
  static get is() { return "bs-progress"; }
84
84
  static get encapsulation() { return "shadow"; }
@@ -51,13 +51,13 @@ export class BsProgressLinear {
51
51
  render() {
52
52
  const isDeterminate = this.type === 'determinate';
53
53
  const value = this.clampedValue;
54
- return (h("div", { key: 'abdae797c319d17404ea15adf1b312c0f19e0ed9', part: "container", class: "bs-progress-linear" }, h("div", { key: 'ec250c3d5d93c6d6fd4c20d57ea7e7177dac2b91', part: "track", class: `bs-progress-linear__track bs-progress-linear__track--${this.size}`, role: "progressbar", "aria-label": this.ariaLabel, "aria-valuemin": isDeterminate ? '0' : undefined, "aria-valuemax": isDeterminate ? '100' : undefined, "aria-valuenow": isDeterminate ? String(value) : undefined, "aria-busy": isDeterminate ? undefined : 'true' }, isDeterminate ? (h("div", { part: "fill", class: "bs-progress-linear__fill", style: { width: `${value}%` } })) : (
54
+ return (h("div", { key: 'a4393415d974b0f8a90db37007dfa934ba388043', part: "container", class: "bs-progress-linear" }, h("div", { key: '253c0fc25a269378c3c80710d1366d990691506b', part: "track", class: `bs-progress-linear__track bs-progress-linear__track--${this.size}`, role: "progressbar", "aria-label": this.ariaLabel, "aria-valuemin": isDeterminate ? '0' : undefined, "aria-valuemax": isDeterminate ? '100' : undefined, "aria-valuenow": isDeterminate ? String(value) : undefined, "aria-busy": isDeterminate ? undefined : 'true' }, isDeterminate ? (h("div", { part: "fill", class: "bs-progress-linear__fill", style: { width: `${value}%` } })) : (
55
55
  // Figma's indeterminate bar is a soft "comet" gradient segment (transparent -> blue ->
56
56
  // transparent) sliding left-to-right across the track's full width in a loop -- the
57
57
  // same fade concept as bs-progress's indeterminate ring's conic-gradient comet tail,
58
58
  // but along a straight line via a linear-gradient + `transform: translateX(...)`
59
59
  // keyframe animation instead of a rotating conic-gradient.
60
- h("div", { part: "fill", class: "bs-progress-linear__fill bs-progress-linear__fill--indeterminate" }))), this.showLabel && this.hasLabelContent && (h("span", { key: 'd7fd99b0b5666b83cd597086a2643a919b9b9d5c', part: "label", class: "bs-progress-linear__label" }, h("slot", { key: '81adeaf185aa995907b317b960fffa4b684404e4' })))));
60
+ h("div", { part: "fill", class: "bs-progress-linear__fill bs-progress-linear__fill--indeterminate" }))), this.showLabel && this.hasLabelContent && (h("span", { key: '95aeb588e3ac6c1a1b96217826617a1347507350', part: "label", class: "bs-progress-linear__label" }, h("slot", { key: '6afaff0a710a6c16c42cd0e1b92910f8bec0503b' })))));
61
61
  }
62
62
  // The default slot's assigned content lives in the host's light DOM regardless of whether a
63
63
  // <slot> is currently rendered in the shadow tree, so this can be computed directly from the
@@ -168,7 +168,7 @@ export class BsQrCode {
168
168
  const buttonSize = this.size === 'sm' ? 'sm' : 'md';
169
169
  // Figma shows the unavailable actions as filled-disabled (grey) rather than a faded outline,
170
170
  // which is what bs-button's disabled primary looks like.
171
- return (h("bs-card", { key: '01dc0befd273aecce2437e98987fa6a76555a65c', part: "container", class: "bs-qr-code", surface: "base" }, this.closable && (h("bs-icon-button", { key: 'b611e446cbaa4267f7cfcb6e1baa1352e316994c', part: "close", class: "bs-qr-code__close", variant: "subtle", size: "sm", ariaLabel: this.closeLabel, onClick: () => this.bsClose.emit() }, h("svg", { key: 'c3af9b06190a8d98e80a1ba5aa32a614cf706ef8', viewBox: "0 0 20 20", fill: "none", stroke: "currentColor", "stroke-width": "1.6", "stroke-linecap": "round", "aria-hidden": "true" }, h("path", { key: 'bc86434823fabb3375bd2aa7c8382b33ed94e293', d: "M5 5L15 15M15 5L5 15" })))), h("div", { key: '95520bbba236876975ca8097f923162c9af84505', class: "bs-qr-code__body" }, h("div", { key: '1c5ab32fd408dfb874914848daf611d5ede8fc15', part: "head", class: "bs-qr-code__head" }, h("p", { key: '765b6700e9d73ad9858e7dfed25adba98d9f37a4', part: "title", class: "bs-qr-code__title" }, this.heading), this.description && (h("p", { key: '9994b60173dfdce115ab249122f29d17f8e530da', part: "description", class: "bs-qr-code__description" }, this.description))), h("div", { key: '9a32be6fa563ff3ed7f7825ce793cd1521989dbe', part: "qr", class: "bs-qr-code__qr" }, h("div", { key: '9aa3199f1d5dac68eb4b3d8c6e490199964715ab', part: "code", class: "bs-qr-code__code" }, h("slot", { key: 'e859ada22ca6dad597fb2d3c239662a51b43b39c', name: "code" }, this.renderMatrix()), h("div", { key: '49023d47353f7eac10d46d7be68be8691be50455', part: "logo", class: { 'bs-qr-code__logo': true, 'bs-qr-code__logo--visible': this.hasLogo } }, h("slot", { key: '53125aeb2c4891ca790268f9ef5ee3ba37cae5f0', name: "logo", onSlotchange: (ev) => (this.hasLogo = ev.target.assignedNodes().length > 0) }))), this.renderOverlay()), this.type === 'payment' && this.amount && (h("div", { key: '2714b2a6513da5442809292f78b31141ee77ce81', part: "amount", class: "bs-qr-code__amount" }, this.amountLabel && h("p", { key: '51573f23cf8d2c3a0b7e3df2a9ff212f18c92539', class: "bs-qr-code__amount-label" }, this.amountLabel), h("p", { key: 'dc7c005152c216ababde9282c385856e8d6b3b57', class: "bs-qr-code__amount-value" }, this.amount))), this.type === 'default' && this.url && (h("div", { key: 'a3f3c4d1ceea0ba079ca204a1acd5447551f86f4', part: "url", class: "bs-qr-code__url" }, this.url)), this.expiry && (h("bs-chip-informative", { key: '39d95354200ccf4cfbfc9dc3c15da200955fa2f5', part: "expiry", size: "md" }, h(TimerIcon, { key: '7244fd36a173052caf4db2e4f0f2ad05f3569341', slot: "icon" }), this.expiry)), showActions && (h("div", { key: 'f6c808132c0ca1d8af27b8aedf5cc5f86a3ba7e8', part: "actions", class: "bs-qr-code__actions" }, !this.hideDownload && (h("bs-button", { key: 'ff50126a297987518e4e174c08db438560671d95', part: "download", variant: interactive ? 'outlined' : 'primary', size: buttonSize, disabled: !interactive, onClick: () => interactive && this.bsDownload.emit() }, h(DownloadIcon, { key: 'e7c982907553a6607b3c941c77a4f88876c71c85', slot: "icon" }), this.downloadLabel)), !this.hideCopy && (h("bs-button", { key: 'bc603f4ba0a2bfa12112806b2eb2a04ccec60568', part: "copy", variant: interactive ? 'outlined' : 'primary', size: buttonSize, disabled: !interactive, onClick: () => interactive && this.onCopy() }, h(CopyIcon, { key: '35e27d196c9475f5b0be1dd0e389b699d08ec7db', slot: "icon" }), this.copyLabel)))))));
171
+ return (h("bs-card", { key: '8a78a58e189863a37ac0824e84c8da50d0f82c4c', part: "container", class: "bs-qr-code", surface: "base" }, this.closable && (h("bs-icon-button", { key: 'e771194dc383c40cbc9b4b6e2316d787dfda9e0f', part: "close", class: "bs-qr-code__close", variant: "subtle", size: "sm", ariaLabel: this.closeLabel, onClick: () => this.bsClose.emit() }, h("svg", { key: '2ee3bc0a83ec9c44f15ad906abc40d6f88598fec', viewBox: "0 0 20 20", fill: "none", stroke: "currentColor", "stroke-width": "1.6", "stroke-linecap": "round", "aria-hidden": "true" }, h("path", { key: 'acb73db86f4af7c81c6aa8c71c458c3a1381c9ed', d: "M5 5L15 15M15 5L5 15" })))), h("div", { key: '48d25ac25dd6c3cd0b77d800cddc11b1f1a57206', class: "bs-qr-code__body" }, h("div", { key: '340cd0dc7d945b6b3dedd103909067d7c8e5ae91', part: "head", class: "bs-qr-code__head" }, h("p", { key: '022fda836023d01aee585926bfe1f227b1789bae', part: "title", class: "bs-qr-code__title" }, this.heading), this.description && (h("p", { key: 'f72976f2aafa5f66adf77db3ed21380ef26f3e0c', part: "description", class: "bs-qr-code__description" }, this.description))), h("div", { key: '865fcb97b32fea2fd3cfaa71e6fd91358906ec8f', part: "qr", class: "bs-qr-code__qr" }, h("div", { key: '295e823796a723e4a9ead87ab178133596920cd2', part: "code", class: "bs-qr-code__code" }, h("slot", { key: '26a87b0ec43d5b08dbabeb0addab57e698813918', name: "code" }, this.renderMatrix()), h("div", { key: 'd7355f6fc021333d12f70a2c75fc1cea1052120c', part: "logo", class: { 'bs-qr-code__logo': true, 'bs-qr-code__logo--visible': this.hasLogo } }, h("slot", { key: 'edecfcdc96b623d01dee5c18de4191051ea4f40b', name: "logo", onSlotchange: (ev) => (this.hasLogo = ev.target.assignedNodes().length > 0) }))), this.renderOverlay()), this.type === 'payment' && this.amount && (h("div", { key: '2efac5db58bbe7bfd1dc3d42ef3ce12d85bb42a5', part: "amount", class: "bs-qr-code__amount" }, this.amountLabel && h("p", { key: '0765abe8467bc7a1f312b71b043f05e365f1f9b3', class: "bs-qr-code__amount-label" }, this.amountLabel), h("p", { key: '65f41dcaf4f167cda93ce750e072ab94a38921eb', class: "bs-qr-code__amount-value" }, this.amount))), this.type === 'default' && this.url && (h("div", { key: 'da32b3ac2acfaf7523c24ce11cbca43236b196dd', part: "url", class: "bs-qr-code__url" }, this.url)), this.expiry && (h("bs-chip-informative", { key: '409328cdc5859c9c8e3d2be87b90b73cfc873cc2', part: "expiry", size: "md" }, h(TimerIcon, { key: '3752627cec20d06f351476da803d013aae832ea6', slot: "icon" }), this.expiry)), showActions && (h("div", { key: 'ad00fe126c5f5dfd9e6a713aa0bdd4cd70a869ca', part: "actions", class: "bs-qr-code__actions" }, !this.hideDownload && (h("bs-button", { key: '0964029df2c3a97a561b368dd167ccf1770a251f', part: "download", variant: interactive ? 'outlined' : 'primary', size: buttonSize, disabled: !interactive, onClick: () => interactive && this.bsDownload.emit() }, h(DownloadIcon, { key: 'e30c02777793dc41ea3437c58d0b229b7bb75510', slot: "icon" }), this.downloadLabel)), !this.hideCopy && (h("bs-button", { key: 'c845423f9652d79a099cd4466d06aa29152636ad', part: "copy", variant: interactive ? 'outlined' : 'primary', size: buttonSize, disabled: !interactive, onClick: () => interactive && this.onCopy() }, h(CopyIcon, { key: '443d3070916468e1bc1b015496ecaff3311b6565', slot: "icon" }), this.copyLabel)))))));
172
172
  }
173
173
  static get is() { return "bs-qr-code"; }
174
174
  static get encapsulation() { return "shadow"; }
@@ -104,7 +104,7 @@ export class BsRadio {
104
104
  }
105
105
  };
106
106
  render() {
107
- return (h("label", { key: '5c69e7244183b1116d44e50079371d0bf29ac058', class: `bs-radio ${this.disabled ? 'bs-radio--disabled' : ''}` }, h("input", { key: 'f40a114f0e9fcb21ff0e7bb02876ded6979b7727', class: "bs-radio__input", type: "radio", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, tabIndex: this.checked || !this.groupHasChecked ? 0 : -1, onKeyDown: this.onKeyDown, onChange: this.onChange }), h("span", { key: '4cca356fd757d34f24ec5d8a8a3a2517da004409', class: "bs-radio__hit-area" }, h("span", { key: '6beda905b88e822335ebf67a64eba5df86beb4a9', class: "bs-radio__state-layer" }, h("span", { key: '28e63967c2ad046f694c2097d2aec35f4ebcf843', part: "circle", class: `bs-radio__circle ${this.checked ? 'bs-radio__circle--selected' : ''}` }, this.checked && h("span", { key: 'cda8ba5bf3f5bf99564e6f0f1af115803e33f6c0', part: "dot", class: "bs-radio__dot" })))), h("span", { key: 'df59f8b97fb54cc037732a22412ec64464df8bdc', part: "label", class: "bs-radio__label" }, h("slot", { key: '154be3de3d6fe5aa0cb8fd7d806c28956a21e87d' }))));
107
+ return (h("label", { key: '1465269cf2bc9815b0c6e4600d55f7e5956485bf', class: `bs-radio ${this.disabled ? 'bs-radio--disabled' : ''}` }, h("input", { key: '40b159566b7d65e0262e49abe28e1edb9e48ca52', class: "bs-radio__input", type: "radio", name: this.name, value: this.value, checked: this.checked, disabled: this.disabled, tabIndex: this.checked || !this.groupHasChecked ? 0 : -1, onKeyDown: this.onKeyDown, onChange: this.onChange }), h("span", { key: 'a749940d33c9278b896d6dce5afed44303001bd5', class: "bs-radio__hit-area" }, h("span", { key: 'bd6ab2f86f6e33da8c36bdae8053e739ead1da01', class: "bs-radio__state-layer" }, h("span", { key: '5397567009a5515f1173c4588ffd726e8f659406', part: "circle", class: `bs-radio__circle ${this.checked ? 'bs-radio__circle--selected' : ''}` }, this.checked && h("span", { key: 'b3921cef5b6d3c324cc4ab13f8f9e293e6873cfb', part: "dot", class: "bs-radio__dot" })))), h("span", { key: '5dc29a0aaeb10c5ab8bb162b8f00929576f763d3', part: "label", class: "bs-radio__label" }, h("slot", { key: 'd224abc131b4669034a8bc3018dbfaa4d976d640' }))));
108
108
  }
109
109
  static get is() { return "bs-radio"; }
110
110
  static get encapsulation() { return "shadow"; }
@@ -196,7 +196,7 @@ export class BsSessionTimeout {
196
196
  const description = this.description ?? d.description;
197
197
  const primary = this.primaryLabel ?? d.primary;
198
198
  const secondary = this.secondaryLabel ?? d.secondary;
199
- return (h("bs-card", { key: 'a59288c1e524507781d37b23493224c299ca697a', part: "container", class: "bs-session-timeout", surface: "base", role: "region", "aria-labelledby": "heading" }, h("div", { key: 'adde8ef701bc24337fe42998c9f3af0fd3b817bf', class: "bs-session-timeout__body" }, !this.hideIcon && (h("bs-icon-tile", { key: 'a3d1f87b2fcd29a319be7e119bf76c800b343e48', part: "art", intent: d.intent, size: "lg" }, h("slot", { key: '42b9193378bf88f0ea2f4e3ac48a0ff58545d21b', name: "icon" }, d.glyph()))), this.renderHeading(heading, description), this.type === 'warning' && this.renderWarning(), this.type === 'warning' && this.savedMessage && (h("p", { key: 'ed78d1c152d3edcf0db93c7bb8b6d744ae8283c5', part: "saved", class: "bs-session-timeout__saved" }, h(InfoIcon, { key: '7992c624db71b1471ea62b82f5d8c90d438d7ee1' }), h("span", { key: 'a4cdc8e871083a685de65d3e785800ff6af1452e' }, this.savedMessage))), this.type === 'signed-out' && this.renderAccount(), this.type === 'confirm-identity' && this.renderConfirm(), this.type === 'warning' && (primary || secondary) && (h("div", { key: '756f8e8cddd87c273273621d69796be30a9daa3e', part: "actions", class: "bs-session-timeout__actions" }, secondary && (h("bs-button", { key: '525c02f57453d82e5e2105b1f28d8f7ca8e8e1bc', part: "secondary", variant: "outlined", onClick: () => this.bsSecondary.emit() }, secondary)), primary && (h("bs-button", { key: 'daaf10a97c4306a657fce5ec827a067659a2b2d7', part: "primary", variant: "primary", onClick: () => this.bsPrimary.emit() }, primary)))), this.type === 'signed-out' && (primary || secondary) && (h("div", { key: 'f1b52edae2419a8e66b08a681d2f2b917383c90e', part: "actions", class: "bs-session-timeout__actions bs-session-timeout__actions--stacked" }, primary && (h("bs-button", { key: '145f8f09b939c82eef01068bc0e849fc7f63b957', part: "primary", class: "bs-session-timeout__block-button", variant: "primary", onClick: () => this.bsPrimary.emit() }, primary)), secondary && (h("bs-button", { key: '897e5342fe89966702d2af457f9038b60e8929ec', part: "secondary", class: "bs-session-timeout__text-button", variant: "subtle", size: "lg", onClick: () => this.bsSecondary.emit() }, secondary)))), h("div", { key: 'b3f242f4a8b00b52975ed66d9a72ebc98997cf29', class: "bs-session-timeout__sr-only", role: "status", "aria-live": "polite" }, this.announcement))));
199
+ return (h("bs-card", { key: '8922ea5cb968852d3ce425364278348c71c10be2', part: "container", class: "bs-session-timeout", surface: "base", role: "region", "aria-labelledby": "heading" }, h("div", { key: 'b613354d729da81aea5d05b6c3ccb8de5e64b075', class: "bs-session-timeout__body" }, !this.hideIcon && (h("bs-icon-tile", { key: '852e15692bd30510cd5cb52b092868684ff8d73b', part: "art", intent: d.intent, size: "lg" }, h("slot", { key: '5a5b89e4c85536710217b5e3d29d87c333152472', name: "icon" }, d.glyph()))), this.renderHeading(heading, description), this.type === 'warning' && this.renderWarning(), this.type === 'warning' && this.savedMessage && (h("p", { key: '626014fca6ecdc96934996f0a0f9aef368fb8635', part: "saved", class: "bs-session-timeout__saved" }, h(InfoIcon, { key: '2ba9eaeba78425078d43d2c01ade39475e779cc9' }), h("span", { key: '45e7fae171cc6bfe738aabf42784cfabd27eab0d' }, this.savedMessage))), this.type === 'signed-out' && this.renderAccount(), this.type === 'confirm-identity' && this.renderConfirm(), this.type === 'warning' && (primary || secondary) && (h("div", { key: '4378b0b81c299b4ace854b4f9e41c3c8da0a2936', part: "actions", class: "bs-session-timeout__actions" }, secondary && (h("bs-button", { key: '7c25a927573c57c1dabc905eb4ecee8d3195f0e0', part: "secondary", variant: "outlined", onClick: () => this.bsSecondary.emit() }, secondary)), primary && (h("bs-button", { key: '21a301ea8780ad05517d2f45524d6c3133dbe256', part: "primary", variant: "primary", onClick: () => this.bsPrimary.emit() }, primary)))), this.type === 'signed-out' && (primary || secondary) && (h("div", { key: 'f741f30b96c640df5f33ced255dcd5929f779e5f', part: "actions", class: "bs-session-timeout__actions bs-session-timeout__actions--stacked" }, primary && (h("bs-button", { key: '16d6dbe5c3cc201b8b8de2818053faedc0fd3107', part: "primary", class: "bs-session-timeout__block-button", variant: "primary", onClick: () => this.bsPrimary.emit() }, primary)), secondary && (h("bs-button", { key: 'a37390a6c98d099a1f50938a9d45e43483318ea2', part: "secondary", class: "bs-session-timeout__text-button", variant: "subtle", size: "lg", onClick: () => this.bsSecondary.emit() }, secondary)))), h("div", { key: 'bcafa657342437a24caa5979299688b60d61f02e', class: "bs-session-timeout__sr-only", role: "status", "aria-live": "polite" }, this.announcement))));
200
200
  }
201
201
  static get is() { return "bs-session-timeout"; }
202
202
  static get encapsulation() { return "shadow"; }
@@ -60,7 +60,7 @@ export class BsSkeleton {
60
60
  lines.push(h("span", { part: "line", class: { 'bs-skeleton__line': true, [`bs-skeleton__line--${this.variant}`]: true, 'bs-skeleton__line--short': isShortLast }, style: style }));
61
61
  }
62
62
  const hasLabel = !!this.label;
63
- return (h("span", { key: 'dc80e4fbb6d9da6387f5bb674595469e7566ce2c', part: "container", class: { 'bs-skeleton': true, 'bs-skeleton--animated': this.animated, [`bs-skeleton--${this.variant}`]: true }, role: hasLabel ? 'status' : undefined, "aria-label": hasLabel ? this.label : undefined, "aria-hidden": hasLabel ? undefined : 'true' }, lines));
63
+ return (h("span", { key: '7d2c9b9259f7a7402540d55cdbb66e40809eb8af', part: "container", class: { 'bs-skeleton': true, 'bs-skeleton--animated': this.animated, [`bs-skeleton--${this.variant}`]: true }, role: hasLabel ? 'status' : undefined, "aria-label": hasLabel ? this.label : undefined, "aria-hidden": hasLabel ? undefined : 'true' }, lines));
64
64
  }
65
65
  static get is() { return "bs-skeleton"; }
66
66
  static get encapsulation() { return "shadow"; }
@@ -233,7 +233,7 @@ export class BsSlider {
233
233
  render() {
234
234
  const isRange = this.type === 'range';
235
235
  const rootClasses = ['bs-slider', this.disabled ? 'bs-slider--disabled' : ''].filter(Boolean).join(' ');
236
- return (h("div", { key: '24883c8b7d1f00df7a700de4e296ecdfc293bf47', class: rootClasses }, this.showLabel && (h("div", { key: 'd41690990898df937f99a5285f2f407b550d881c', class: "bs-slider__header" }, h("span", { key: '2519779a06f6bb9911be0bdb4539b36c3c16f725', id: "bs-slider-label", part: "label", class: "bs-slider__label" }, this.label), isRange ? (h("span", { class: "bs-slider__value-fields" }, this.renderPercentField(this.percent(this.effectiveValueStart), this.onStartPercentFieldChange, this.ariaLabel ?? this.startValueLabel), h("span", { class: "bs-slider__separator" }, "\u2013"), this.renderPercentField(this.percent(this.effectiveValueEnd), this.onEndPercentFieldChange, this.ariaLabel ? `${this.ariaLabel} end` : this.endValueLabel))) : (this.renderPercentField(this.percent(this.value), this.onPercentFieldChange, this.ariaLabel ? `${this.ariaLabel} value` : 'Value')))), h("div", { key: 'd0525503f51fc1dc3f9753fce131e008db7ded54', class: "bs-slider__row" }, this.showLabel && (h("span", { key: '98ecbdd3462da354a2fb7c719b8eb48c81a0c809', part: "bound", class: "bs-slider__bound" }, this.min)), isRange ? this.renderRangeThumbs() : this.renderSingleThumb(), this.showLabel && (h("span", { key: '3e1690be98b45b3f595991d5cdde35f0abfe0da3', part: "bound", class: "bs-slider__bound" }, this.max)))));
236
+ return (h("div", { key: '27a3ea5b427fcc77b8d5e3e1ebe2e5bc4e63b7c7', class: rootClasses }, this.showLabel && (h("div", { key: '0d4a3457ce390dd2b05be33e46a3bd67dd6f027e', class: "bs-slider__header" }, h("span", { key: '21fda56ed3bfad6a7838cc6be53fe206634e35a8', id: "bs-slider-label", part: "label", class: "bs-slider__label" }, this.label), isRange ? (h("span", { class: "bs-slider__value-fields" }, this.renderPercentField(this.percent(this.effectiveValueStart), this.onStartPercentFieldChange, this.ariaLabel ?? this.startValueLabel), h("span", { class: "bs-slider__separator" }, "\u2013"), this.renderPercentField(this.percent(this.effectiveValueEnd), this.onEndPercentFieldChange, this.ariaLabel ? `${this.ariaLabel} end` : this.endValueLabel))) : (this.renderPercentField(this.percent(this.value), this.onPercentFieldChange, this.ariaLabel ? `${this.ariaLabel} value` : 'Value')))), h("div", { key: '1d8b7c5fa72467ae5a58520ad66452331c5d8e16', class: "bs-slider__row" }, this.showLabel && (h("span", { key: 'd45c1e0d5cfe7a66f8bd85a239148b2c13a8b3df', part: "bound", class: "bs-slider__bound" }, this.min)), isRange ? this.renderRangeThumbs() : this.renderSingleThumb(), this.showLabel && (h("span", { key: '063d2007c094ebed57e58fe0fbaa0e1f0581ed71', part: "bound", class: "bs-slider__bound" }, this.max)))));
237
237
  }
238
238
  static get is() { return "bs-slider"; }
239
239
  static get encapsulation() { return "shadow"; }
@@ -67,7 +67,7 @@ export class BsSnackbar {
67
67
  this.bsDismiss.emit();
68
68
  };
69
69
  render() {
70
- return (h("div", { key: '869f548001524a78fa66a0b295c177a43160531e', part: "container", class: `bs-snackbar bs-snackbar--${this.variant}`, role: "status", "aria-live": this.variant === 'error' ? 'assertive' : 'polite' }, h("div", { key: 'eca8a98a1ae3dff7ecadd7e370bd59c855a56025', class: "bs-snackbar__content" }, h("span", { key: 'ffba923b45ff59cd8501f7d3da9bd5260113de83', part: "icon", class: "bs-snackbar__icon", "aria-hidden": "true" }, this.loading ? h("span", { class: "bs-snackbar__spinner" }) : h(CheckCircleIcon, null)), h("span", { key: '803f3247af157e79e2e2c2822977ae55cc058a98', part: "message", class: "bs-snackbar__message" }, h("slot", { key: 'fd66b14457361cca63be3a152003a098b56aa43e' }))), h("div", { key: 'ba808bf880cfb2f0c32a70f53ff4e0b2df05eb17', class: "bs-snackbar__actions" }, this.actionLabel && (h("bs-button", { key: '4e7ca40abdfd155cd064d153fee866e87ad64e26', part: "action", variant: this.actionVariant ?? ACTION_VARIANT[this.variant], size: "sm", onClick: this.onAction }, this.actionLabel)), !this.hideClose && (h("bs-icon-button", { key: '89ba5909db07c9e910136e5723bb5df25d0a4b51', part: "close", variant: "subtle", size: "md", ariaLabel: "Dismiss", onClick: this.onDismiss }, h(CloseIcon, { key: '6e3f8d010cf3f234d0e199b3a5d96c8200b25bcc' }))))));
70
+ return (h("div", { key: 'c28affe5d8731108fb850d3a748f529ee387a19b', part: "container", class: `bs-snackbar bs-snackbar--${this.variant}`, role: "status", "aria-live": this.variant === 'error' ? 'assertive' : 'polite' }, h("div", { key: 'fa1934bd51d1c2c9287d748c28885ca48972160f', class: "bs-snackbar__content" }, h("span", { key: 'b2d96ef66bc8fabf1efb19951ca2559cd17cccd6', part: "icon", class: "bs-snackbar__icon", "aria-hidden": "true" }, this.loading ? h("span", { class: "bs-snackbar__spinner" }) : h(CheckCircleIcon, null)), h("span", { key: 'bf425e1893ecc38f5c808589b3e4aa37377ebdc8', part: "message", class: "bs-snackbar__message" }, h("slot", { key: '5ad9c390508942f8d3b380de83100da30a06f02d' }))), h("div", { key: '84d388fa214fc995d5f0f5f3a336984b251373c8', class: "bs-snackbar__actions" }, this.actionLabel && (h("bs-button", { key: 'c96e9fc2252a60a6a33aa31e3b698bf1662f7447', part: "action", variant: this.actionVariant ?? ACTION_VARIANT[this.variant], size: "sm", onClick: this.onAction }, this.actionLabel)), !this.hideClose && (h("bs-icon-button", { key: '8b0a71688b6418ebb2db2fe648334048429d7168', part: "close", variant: "subtle", size: "md", ariaLabel: "Dismiss", onClick: this.onDismiss }, h(CloseIcon, { key: 'bcc155735db55392b049f6b5761e05341e588d35' }))))));
71
71
  }
72
72
  static get is() { return "bs-snackbar"; }
73
73
  static get encapsulation() { return "shadow"; }
@@ -51,8 +51,8 @@ export class BsSourceLink {
51
51
  };
52
52
  render() {
53
53
  const inner = [
54
- h("span", { key: '37082ba8b750f01d04cec4e437fc3d5481768f27', class: "bs-source-link__left" }, h("span", { key: '10f49ce451047e0b2656d0ec724a5841b112046a', class: "bs-source-link__filename-row" }, h("span", { key: '63b4c0dcb376053f68a5d62c6232a205451f1826', part: "icon", class: "bs-source-link__icon" }, h("slot", { key: '6df8546c36387bd130b68cda5f8aa5e3c35fd388', name: "icon" }, h(FileTextIcon, { key: '8ba49429459a63d05324e31b6994fa5f3b5c6534' }))), h("p", { key: '0b6d7826f62526c903048a25610bfed99381bce0', part: "filename", class: "bs-source-link__filename" }, this.fileName)), h("span", { key: 'f71e6440d5fe06486d5a10493ab5c7b17e2cfd78', class: "bs-source-link__meta" }, this.sourceName && (h("span", { key: 'a4d97d5fd1be65d17d9dca52d30eaa9d1a022f0e', part: "source", class: "bs-source-link__source" }, this.sourceName)), this.sourceName && this.version && h("span", { key: '809b5e51e436270dd304db280f98e164f2722eda', class: "bs-source-link__dot", "aria-hidden": "true" }), this.version && (h("span", { key: '5e30c00db6cf2d659c62a6fc863a7c6fd8111d12', part: "version", class: "bs-source-link__version" }, this.version)))),
55
- h("span", { key: '89dcb19eec419f95ed277d729925296ecfe0e4b1', part: "arrow", class: "bs-source-link__arrow", "aria-hidden": "true" }, h(ArrowUpRightIcon, { key: '8d2c8521747a1f3d7cd8b6bff5385ee04b2a7923' })),
54
+ h("span", { key: 'e693ffb8cd5d0fc8c8f602868d17a7b41735a470', class: "bs-source-link__left" }, h("span", { key: '685b3dfbee1ece7cb3ba8cb2c593836a6b557ab6', class: "bs-source-link__filename-row" }, h("span", { key: '4888e161fef6c69a889f29dcd90577904aea81a0', part: "icon", class: "bs-source-link__icon" }, h("slot", { key: '806c2219ca588ec505a1e6ea62ebb5e171fbb1ef', name: "icon" }, h(FileTextIcon, { key: '208c43fdfe05fb6f7c987fc760bc37ab9dc7faef' }))), h("p", { key: 'bf34fc21cf242f290c0220f3fd216616f2042fed', part: "filename", class: "bs-source-link__filename" }, this.fileName)), h("span", { key: '2924ba8f19ab78096a532e08946ad5047ab04387', class: "bs-source-link__meta" }, this.sourceName && (h("span", { key: 'b638eea6c0c05f3b5b7eb6f4c02f94910a5aa1fa', part: "source", class: "bs-source-link__source" }, this.sourceName)), this.sourceName && this.version && h("span", { key: '5d407c3a10813d7f85a1b6a99e3e869e6ce28b8b', class: "bs-source-link__dot", "aria-hidden": "true" }), this.version && (h("span", { key: 'b25df35eae4fe62bdf1e745dd8f478792adb0129', part: "version", class: "bs-source-link__version" }, this.version)))),
55
+ h("span", { key: '263a19dd6402cba9057a543921ff669b323b58ac', part: "arrow", class: "bs-source-link__arrow", "aria-hidden": "true" }, h(ArrowUpRightIcon, { key: '7d2baa2d8f13fe3b6cbd2abed2c6096d5076c667' })),
56
56
  ];
57
57
  return this.href ? (h("a", { class: "bs-source-link", href: this.href, target: this.target, rel: "noopener noreferrer", onClick: this.onClick }, inner)) : (h("button", { type: "button", class: "bs-source-link", onClick: this.onClick }, inner));
58
58
  }
@@ -30,7 +30,7 @@ export class BsSpinner {
30
30
  label;
31
31
  render() {
32
32
  const hasLabel = !!this.label;
33
- return (h("span", { key: '31531b80418f912ded9ffabafc1ad36b48e1c4e1', part: "container", class: `bs-spinner bs-spinner--${this.size}`, role: hasLabel ? 'status' : undefined, "aria-label": hasLabel ? this.label : undefined, "aria-hidden": hasLabel ? undefined : 'true' }, h("svg", { key: '7c820016daa154c8e8486a8d5a60505a39d37bde', part: "svg", class: "bs-spinner__svg", viewBox: "0 0 24 24", fill: "none", focusable: "false" }, h("circle", { key: '60b8dce8ac87753a2a9d3c3521ce387bcf6e9491', class: "bs-spinner__track", cx: "12", cy: "12", r: "9", "stroke-width": "3" }), h("path", { key: '3548aee65c89828fed57465a95b72e15c50807f4', class: "bs-spinner__arc", d: "M12 3a9 9 0 0 1 9 9", "stroke-width": "3", "stroke-linecap": "round" }))));
33
+ return (h("span", { key: 'ffeef19b6e11c8bae27649f667c65be8b6b211e5', part: "container", class: `bs-spinner bs-spinner--${this.size}`, role: hasLabel ? 'status' : undefined, "aria-label": hasLabel ? this.label : undefined, "aria-hidden": hasLabel ? undefined : 'true' }, h("svg", { key: 'afa93c3331107ff2be423c0693ed546d1687c143', part: "svg", class: "bs-spinner__svg", viewBox: "0 0 24 24", fill: "none", focusable: "false" }, h("circle", { key: 'e016a9b43eb8f297f644ba9a1d4f4e2a9dc35752', class: "bs-spinner__track", cx: "12", cy: "12", r: "9", "stroke-width": "3" }), h("path", { key: '68827930d857322dfb7480de9cc76bb18011120d', class: "bs-spinner__arc", d: "M12 3a9 9 0 0 1 9 9", "stroke-width": "3", "stroke-linecap": "round" }))));
34
34
  }
35
35
  static get is() { return "bs-spinner"; }
36
36
  static get encapsulation() { return "shadow"; }
@@ -215,7 +215,7 @@ export class BsSplitPane {
215
215
  nodes.push(h("div", { part: "divider", class: { 'bs-split-pane__divider': true, 'bs-split-pane__divider--active': this.draggingIndex === i, 'bs-split-pane__divider--static': !this.resizable }, role: "separator", "aria-orientation": dividerOrientation, "aria-label": this.dividerLabel, "aria-valuemin": 0, "aria-valuemax": 100, "aria-valuenow": this.percentFor(i), tabindex: this.resizable ? 0 : undefined, onPointerDown: this.onPointerDown(i), onPointerMove: this.onPointerMove, onPointerUp: this.onPointerUp, onPointerCancel: this.onPointerUp, onKeyDown: this.onKeyDown(i) }, h("span", { part: "divider-thumb", class: "bs-split-pane__thumb" })));
216
216
  }
217
217
  }
218
- return (h("div", { key: '8ef79e5ccc0ac2e8d4204f82b3507bef387e95cc', part: "container", class: `bs-split-pane bs-split-pane--${this.orientation}` }, nodes));
218
+ return (h("div", { key: '67d978089645337e56106163c6d6ac38fd6d063c', part: "container", class: `bs-split-pane bs-split-pane--${this.orientation}` }, nodes));
219
219
  }
220
220
  static get is() { return "bs-split-pane"; }
221
221
  static get encapsulation() { return "shadow"; }
@@ -0,0 +1,113 @@
1
+ import { render, h, describe, it, expect } from "@stencil/vitest";
2
+ const mount = (props = {}, count = 3) => render(h("div", { style: { width: '400px' } }, h("bs-stack", { ...props }, Array.from({ length: count }, (_, i) => (h("div", { id: `c${i}`, style: { width: '50px', height: '20px' } }, i))))));
3
+ const stackOf = (root) => root.querySelector('bs-stack');
4
+ const rect = (root, id) => root.querySelector(`#${id}`).getBoundingClientRect();
5
+ describe('bs-stack', () => {
6
+ it('defaults: vertical, stretch, start, gap 100', async () => {
7
+ const { root } = await mount();
8
+ const el = stackOf(root);
9
+ expect(el).toEqualAttribute('direction', 'vertical');
10
+ expect(el).toEqualAttribute('align', 'stretch');
11
+ expect(el).toEqualAttribute('justify', 'start');
12
+ const cs = getComputedStyle(el);
13
+ expect(cs.flexDirection).toBe('column');
14
+ expect(parseFloat(cs.rowGap)).toBeGreaterThan(0);
15
+ const gap = rect(root, 'c1').top - rect(root, 'c0').bottom;
16
+ expect(Math.round(gap)).toBe(Math.round(parseFloat(cs.rowGap)));
17
+ });
18
+ it('horizontal lays children in a row', async () => {
19
+ const { root } = await mount({ direction: 'horizontal' });
20
+ expect(rect(root, 'c1').left).toBeGreaterThan(rect(root, 'c0').left);
21
+ expect(Math.round(rect(root, 'c1').top)).toBe(Math.round(rect(root, 'c0').top));
22
+ });
23
+ it('gap prop maps to a spacing token; bigger token gives a bigger gap; invalid falls back', async () => {
24
+ const { root, waitForChanges } = await mount({ gap: '200' });
25
+ const el = stackOf(root);
26
+ const g200 = parseFloat(getComputedStyle(el).rowGap);
27
+ el.setAttribute('gap', '100');
28
+ await waitForChanges();
29
+ const g100 = parseFloat(getComputedStyle(el).rowGap);
30
+ expect(g200).toBeGreaterThan(g100);
31
+ el.setAttribute('gap', '999');
32
+ await waitForChanges();
33
+ expect(parseFloat(getComputedStyle(el).rowGap)).toBe(g100);
34
+ el.setAttribute('gap', '0');
35
+ await waitForChanges();
36
+ expect(parseFloat(getComputedStyle(el).rowGap)).toBe(0);
37
+ });
38
+ it('--bs-stack-gap can be overridden directly', async () => {
39
+ const { root } = await mount({ style: { '--bs-stack-gap': '24px' } });
40
+ expect(Math.round(rect(root, 'c1').top - rect(root, 'c0').bottom)).toBe(24);
41
+ });
42
+ it('align and justify position items', async () => {
43
+ const { root, waitForChanges } = await mount({ direction: 'horizontal', align: 'center', justify: 'end' });
44
+ const el = stackOf(root);
45
+ expect(Math.round(rect(root, 'c2').right)).toBe(Math.round(el.getBoundingClientRect().right));
46
+ el.setAttribute('justify', 'center');
47
+ await waitForChanges();
48
+ const first = rect(root, 'c0').left - el.getBoundingClientRect().left;
49
+ const last = el.getBoundingClientRect().right - rect(root, 'c2').right;
50
+ expect(Math.abs(first - last)).toBeLessThan(2);
51
+ });
52
+ it('wrap lets items flow onto a second line', async () => {
53
+ const { root } = await render(h("div", { style: { width: '120px' } }, h("bs-stack", { direction: "horizontal", wrap: true }, h("div", { id: "a", style: { width: '80px', height: '10px' } }), h("div", { id: "b", style: { width: '80px', height: '10px' } }))));
54
+ expect(rect(root, 'b').top).toBeGreaterThan(rect(root, 'a').top);
55
+ });
56
+ it('divider inserts n-1 decorative dividers, perpendicular to the direction', async () => {
57
+ const { root, waitForChanges } = await mount({ divider: true });
58
+ await waitForChanges();
59
+ const el = stackOf(root);
60
+ const dividers = el.shadowRoot.querySelectorAll('bs-divider');
61
+ expect(dividers.length).toBe(2);
62
+ expect(dividers[0]).toEqualAttribute('orientation', 'horizontal');
63
+ expect(dividers[0]).toEqualAttribute('role', 'none');
64
+ // Light DOM children stay in place and in order.
65
+ expect(Array.from(el.children).map(c => c.id)).toEqual(['c0', 'c1', 'c2']);
66
+ // Geometry: a divider sits between c0 and c1.
67
+ const d = dividers[0].getBoundingClientRect();
68
+ expect(d.top).toBeGreaterThanOrEqual(Math.round(rect(root, 'c0').bottom));
69
+ expect(d.bottom).toBeLessThanOrEqual(Math.round(rect(root, 'c1').top) + 1);
70
+ });
71
+ it('horizontal stack uses vertical dividers that stretch to the row height', async () => {
72
+ const { root, waitForChanges } = await mount({ divider: true, direction: 'horizontal' });
73
+ await waitForChanges();
74
+ const el = stackOf(root);
75
+ const dividers = el.shadowRoot.querySelectorAll('bs-divider');
76
+ expect(dividers.length).toBe(2);
77
+ expect(dividers[0]).toEqualAttribute('orientation', 'vertical');
78
+ expect(Math.round(dividers[0].getBoundingClientRect().height)).toBe(Math.round(el.getBoundingClientRect().height));
79
+ });
80
+ it('tracks added and removed children', async () => {
81
+ const { root, waitForChanges } = await mount({ divider: true });
82
+ await waitForChanges();
83
+ const el = stackOf(root);
84
+ const extra = document.createElement('div');
85
+ extra.id = 'extra';
86
+ el.appendChild(extra);
87
+ await new Promise(r => setTimeout(r, 50));
88
+ await waitForChanges();
89
+ expect(el.shadowRoot.querySelectorAll('bs-divider').length).toBe(3);
90
+ el.removeChild(extra);
91
+ el.removeChild(el.firstElementChild);
92
+ await new Promise(r => setTimeout(r, 50));
93
+ await waitForChanges();
94
+ expect(el.shadowRoot.querySelectorAll('bs-divider').length).toBe(1);
95
+ });
96
+ it('turning divider off removes dividers and generated slot attributes', async () => {
97
+ const { root, waitForChanges } = await mount({ divider: true });
98
+ await waitForChanges();
99
+ const el = stackOf(root);
100
+ expect(root.querySelector('#c0').getAttribute('slot')).toBe('bs-stack-item-0');
101
+ el.divider = false;
102
+ await waitForChanges();
103
+ expect(el.shadowRoot.querySelectorAll('bs-divider').length).toBe(0);
104
+ expect(root.querySelector('#c0').hasAttribute('slot')).toBe(false);
105
+ });
106
+ it('no dividers by default and none for a single child', async () => {
107
+ const { root } = await mount();
108
+ expect(stackOf(root).shadowRoot.querySelectorAll('bs-divider').length).toBe(0);
109
+ const single = await mount({ divider: true }, 1);
110
+ await single.waitForChanges();
111
+ expect(stackOf(single.root).shadowRoot.querySelectorAll('bs-divider').length).toBe(0);
112
+ });
113
+ });
@@ -0,0 +1,22 @@
1
+ :host {
2
+ display: flex;
3
+ box-sizing: border-box;
4
+ flex-direction: column;
5
+ align-items: stretch;
6
+ justify-content: flex-start;
7
+ /* --bs-stack-gap is the public override; -token is set from the `gap` prop. */
8
+ gap: var(--bs-stack-gap, var(--bs-stack-gap-token, var(--bs-spacing-100)));
9
+ }
10
+ :host([direction='horizontal']) { flex-direction: row; }
11
+ :host([wrap]) { flex-wrap: wrap; }
12
+ :host([align='start']) { align-items: flex-start; }
13
+ :host([align='center']) { align-items: center; }
14
+ :host([align='end']) { align-items: flex-end; }
15
+ :host([align='stretch']) { align-items: stretch; }
16
+ :host([align='baseline']) { align-items: baseline; }
17
+ :host([justify='start']) { justify-content: flex-start; }
18
+ :host([justify='center']) { justify-content: center; }
19
+ :host([justify='end']) { justify-content: flex-end; }
20
+ :host([justify='between']) { justify-content: space-between; }
21
+ :host([justify='around']) { justify-content: space-around; }
22
+ slot { display: contents; }