@brandsync/wc 1.2.0 → 1.3.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 (188) hide show
  1. package/custom-elements.json +417 -0
  2. package/dist/brandsync-wc/brandsync-wc.esm.js +1 -1
  3. package/dist/brandsync-wc/p-03676f8a.entry.js +1 -0
  4. package/dist/brandsync-wc/{p-718ce85f.entry.js → p-04c26826.entry.js} +1 -1
  5. package/dist/brandsync-wc/{p-f94449da.entry.js → p-0c8050e8.entry.js} +1 -1
  6. package/dist/brandsync-wc/p-0d5cc77f.entry.js +1 -0
  7. package/dist/brandsync-wc/{p-7f14660d.entry.js → p-19c98e13.entry.js} +1 -1
  8. package/dist/brandsync-wc/{p-a35d5ea7.entry.js → p-23758f81.entry.js} +1 -1
  9. package/dist/brandsync-wc/{p-b6425ac2.entry.js → p-29c360f3.entry.js} +1 -1
  10. package/dist/brandsync-wc/{p-260e14de.entry.js → p-35d98580.entry.js} +1 -1
  11. package/dist/brandsync-wc/{p-aac6b59b.entry.js → p-39204377.entry.js} +1 -1
  12. package/dist/brandsync-wc/p-5a4db480.entry.js +1 -0
  13. package/dist/brandsync-wc/{p-8f2cfe31.entry.js → p-5d118af1.entry.js} +1 -1
  14. package/dist/brandsync-wc/{p-c76ca89f.entry.js → p-76d391d7.entry.js} +1 -1
  15. package/dist/brandsync-wc/{p-7655e741.entry.js → p-7de20530.entry.js} +1 -1
  16. package/dist/brandsync-wc/{p-1e9ceb9d.entry.js → p-7ea0133f.entry.js} +1 -1
  17. package/dist/brandsync-wc/{p-650b7eef.entry.js → p-8acb623e.entry.js} +1 -1
  18. package/dist/brandsync-wc/{p-f6fafbd6.entry.js → p-8ec95da5.entry.js} +1 -1
  19. package/dist/brandsync-wc/{p-0921ca0d.entry.js → p-94266d72.entry.js} +1 -1
  20. package/dist/brandsync-wc/{p-205deb32.entry.js → p-96d1ce21.entry.js} +1 -1
  21. package/dist/brandsync-wc/{p-67bc2ec8.entry.js → p-9ad278f4.entry.js} +1 -1
  22. package/dist/brandsync-wc/{p-c8480d21.entry.js → p-9f9c1a1d.entry.js} +1 -1
  23. package/dist/brandsync-wc/{p-ed704126.entry.js → p-b2704450.entry.js} +1 -1
  24. package/dist/brandsync-wc/{p-a597dc2b.entry.js → p-bcafba87.entry.js} +1 -1
  25. package/dist/brandsync-wc/{p-3e6d37a4.entry.js → p-bd2cc2c6.entry.js} +1 -1
  26. package/dist/brandsync-wc/{p-2e7586dd.entry.js → p-be675b82.entry.js} +1 -1
  27. package/dist/brandsync-wc/{p-6970a24c.entry.js → p-bf4a5b1b.entry.js} +1 -1
  28. package/dist/brandsync-wc/{p-ce08c9d7.entry.js → p-c4a16564.entry.js} +1 -1
  29. package/dist/brandsync-wc/{p-393efb5d.entry.js → p-cd703364.entry.js} +1 -1
  30. package/dist/brandsync-wc/{p-c7b9a5c7.entry.js → p-d589fa72.entry.js} +1 -1
  31. package/dist/brandsync-wc/{p-03f9fd54.entry.js → p-d5d15d9f.entry.js} +1 -1
  32. package/dist/brandsync-wc/{p-41732f18.entry.js → p-e58b1dbb.entry.js} +1 -1
  33. package/dist/brandsync-wc/{p-17dbd4b3.entry.js → p-eae7587e.entry.js} +1 -1
  34. package/dist/brandsync-wc/{p-cff188cb.entry.js → p-f196642a.entry.js} +1 -1
  35. package/dist/cjs/brandsync-wc.cjs.js +1 -1
  36. package/dist/cjs/bs-ai-disclaimer.cjs.entry.js +1 -1
  37. package/dist/cjs/bs-ai-greeting.cjs.entry.js +1 -1
  38. package/dist/cjs/bs-ai-thinking.cjs.entry.js +1 -1
  39. package/dist/cjs/bs-attachment-list.cjs.entry.js +1 -1
  40. package/dist/cjs/bs-breadcrumbs.cjs.entry.js +1 -1
  41. package/dist/cjs/bs-button-skeleton.cjs.entry.js +1 -1
  42. package/dist/cjs/bs-chatbot-feedback.cjs.entry.js +1 -1
  43. package/dist/cjs/bs-chatbot-header.cjs.entry.js +1 -1
  44. package/dist/cjs/bs-chatbot-response-action.cjs.entry.js +1 -1
  45. package/dist/cjs/bs-chatbot-sources-drawer.cjs.entry.js +1 -1
  46. package/dist/cjs/bs-chatbot-suggestion-button.cjs.entry.js +1 -1
  47. package/dist/cjs/bs-checkbox-skeleton.cjs.entry.js +1 -1
  48. package/dist/cjs/bs-inline-tab.cjs.entry.js +1 -1
  49. package/dist/cjs/bs-input.cjs.entry.js +2 -2
  50. package/dist/cjs/bs-menu-item.cjs.entry.js +1 -1
  51. package/dist/cjs/bs-menu.cjs.entry.js +1 -1
  52. package/dist/cjs/bs-navigation-drawer-item.cjs.entry.js +1 -1
  53. package/dist/cjs/bs-navigation-drawer.cjs.entry.js +1 -1
  54. package/dist/cjs/bs-pagination.cjs.entry.js +1 -1
  55. package/dist/cjs/bs-progress-linear.cjs.entry.js +65 -0
  56. package/dist/cjs/bs-progress.cjs.entry.js +69 -0
  57. package/dist/cjs/bs-radio.cjs.entry.js +1 -1
  58. package/dist/cjs/bs-slider.cjs.entry.js +1 -1
  59. package/dist/cjs/bs-snackbar.cjs.entry.js +1 -1
  60. package/dist/cjs/bs-source-link.cjs.entry.js +2 -2
  61. package/dist/cjs/bs-stepper-step.cjs.entry.js +1 -1
  62. package/dist/cjs/bs-stepper.cjs.entry.js +1 -1
  63. package/dist/cjs/bs-switch.cjs.entry.js +1 -1
  64. package/dist/cjs/bs-tab.cjs.entry.js +1 -1
  65. package/dist/cjs/bs-tabs.cjs.entry.js +1 -1
  66. package/dist/cjs/bs-toast.cjs.entry.js +1 -1
  67. package/dist/cjs/bs-tooltip.cjs.entry.js +1 -1
  68. package/dist/cjs/loader.cjs.js +1 -1
  69. package/dist/collection/collection-manifest.json +2 -0
  70. package/dist/collection/components/bs-ai-disclaimer/bs-ai-disclaimer.js +1 -1
  71. package/dist/collection/components/bs-ai-greeting/bs-ai-greeting.js +1 -1
  72. package/dist/collection/components/bs-ai-thinking/bs-ai-thinking.js +1 -1
  73. package/dist/collection/components/bs-attachment-list/bs-attachment-list.js +1 -1
  74. package/dist/collection/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.js +1 -1
  75. package/dist/collection/components/bs-button-skeleton/bs-button-skeleton.js +1 -1
  76. package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.js +1 -1
  77. package/dist/collection/components/bs-chatbot-header/bs-chatbot-header.js +1 -1
  78. package/dist/collection/components/bs-chatbot-response-action/bs-chatbot-response-action.js +1 -1
  79. package/dist/collection/components/bs-chatbot-sources-drawer/bs-chatbot-sources-drawer.js +1 -1
  80. package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.js +1 -1
  81. package/dist/collection/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.js +1 -1
  82. package/dist/collection/components/bs-input/bs-input.js +2 -2
  83. package/dist/collection/components/bs-menu/bs-menu.js +1 -1
  84. package/dist/collection/components/bs-menu-item/bs-menu-item.js +1 -1
  85. package/dist/collection/components/bs-pagination/bs-pagination.js +1 -1
  86. package/dist/collection/components/bs-progress/bs-progress.cmp.test.js +96 -0
  87. package/dist/collection/components/bs-progress/bs-progress.css +119 -0
  88. package/dist/collection/components/bs-progress/bs-progress.js +212 -0
  89. package/dist/collection/components/bs-progress/bs-progress.stories.js +72 -0
  90. package/dist/collection/components/bs-progress-linear/bs-progress-linear.cmp.test.js +92 -0
  91. package/dist/collection/components/bs-progress-linear/bs-progress-linear.css +108 -0
  92. package/dist/collection/components/bs-progress-linear/bs-progress-linear.js +192 -0
  93. package/dist/collection/components/bs-progress-linear/bs-progress-linear.stories.js +66 -0
  94. package/dist/collection/components/bs-radio/bs-radio.js +1 -1
  95. package/dist/collection/components/bs-slider/bs-slider.js +1 -1
  96. package/dist/collection/components/bs-snackbar/bs-snackbar.js +1 -1
  97. package/dist/collection/components/bs-source-link/bs-source-link.js +2 -2
  98. package/dist/collection/components/bs-stepper/bs-stepper/bs-stepper.js +1 -1
  99. package/dist/collection/components/bs-stepper/bs-stepper-step/bs-stepper-step.js +1 -1
  100. package/dist/collection/components/bs-switch/bs-switch.js +1 -1
  101. package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.js +1 -1
  102. package/dist/collection/components/bs-tab/bs-tab/bs-tab.js +1 -1
  103. package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.js +1 -1
  104. package/dist/collection/components/bs-toast/bs-toast.js +1 -1
  105. package/dist/collection/components/bs-tooltip/bs-tooltip.js +1 -1
  106. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.js +1 -1
  107. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.js +1 -1
  108. package/dist/components/bs-ai-disclaimer.js +1 -1
  109. package/dist/components/bs-ai-greeting.js +1 -1
  110. package/dist/components/bs-ai-thinking.js +1 -1
  111. package/dist/components/bs-attachment-list.js +1 -1
  112. package/dist/components/bs-breadcrumb-overflow.js +1 -1
  113. package/dist/components/bs-breadcrumbs.js +1 -1
  114. package/dist/components/bs-button-skeleton.js +1 -1
  115. package/dist/components/bs-chatbot-feedback.js +1 -1
  116. package/dist/components/bs-chatbot-header.js +1 -1
  117. package/dist/components/bs-chatbot-response-action.js +1 -1
  118. package/dist/components/bs-chatbot-sources-drawer.js +1 -1
  119. package/dist/components/bs-chatbot-suggestion-button.js +1 -1
  120. package/dist/components/bs-checkbox-skeleton.js +1 -1
  121. package/dist/components/bs-inline-tab.js +1 -1
  122. package/dist/components/bs-input.js +1 -1
  123. package/dist/components/bs-menu-item.js +1 -1
  124. package/dist/components/bs-menu.js +1 -1
  125. package/dist/components/bs-navigation-drawer-item.js +1 -1
  126. package/dist/components/bs-navigation-drawer.js +1 -1
  127. package/dist/components/bs-pagination.js +1 -1
  128. package/dist/components/bs-progress-linear.d.ts +11 -0
  129. package/dist/components/bs-progress-linear.js +1 -0
  130. package/dist/components/bs-progress.d.ts +11 -0
  131. package/dist/components/bs-progress.js +1 -0
  132. package/dist/components/bs-radio.js +1 -1
  133. package/dist/components/bs-slider.js +1 -1
  134. package/dist/components/bs-snackbar.js +1 -1
  135. package/dist/components/bs-source-link.js +1 -1
  136. package/dist/components/bs-stepper-step.js +1 -1
  137. package/dist/components/bs-stepper.js +1 -1
  138. package/dist/components/bs-switch.js +1 -1
  139. package/dist/components/bs-tab.js +1 -1
  140. package/dist/components/bs-tabs.js +1 -1
  141. package/dist/components/bs-toast.js +1 -1
  142. package/dist/components/bs-tooltip.js +1 -1
  143. package/dist/components/{p-BlCziuES.js → p-BIgPiuc-.js} +1 -1
  144. package/dist/components/{p-Bg98eW9H.js → p-BUtz3sub.js} +1 -1
  145. package/dist/components/{p-BOP5EJrQ.js → p-Rn1IWs8l.js} +1 -1
  146. package/dist/esm/brandsync-wc.js +1 -1
  147. package/dist/esm/bs-ai-disclaimer.entry.js +1 -1
  148. package/dist/esm/bs-ai-greeting.entry.js +1 -1
  149. package/dist/esm/bs-ai-thinking.entry.js +1 -1
  150. package/dist/esm/bs-attachment-list.entry.js +1 -1
  151. package/dist/esm/bs-breadcrumbs.entry.js +1 -1
  152. package/dist/esm/bs-button-skeleton.entry.js +1 -1
  153. package/dist/esm/bs-chatbot-feedback.entry.js +1 -1
  154. package/dist/esm/bs-chatbot-header.entry.js +1 -1
  155. package/dist/esm/bs-chatbot-response-action.entry.js +1 -1
  156. package/dist/esm/bs-chatbot-sources-drawer.entry.js +1 -1
  157. package/dist/esm/bs-chatbot-suggestion-button.entry.js +1 -1
  158. package/dist/esm/bs-checkbox-skeleton.entry.js +1 -1
  159. package/dist/esm/bs-inline-tab.entry.js +1 -1
  160. package/dist/esm/bs-input.entry.js +2 -2
  161. package/dist/esm/bs-menu-item.entry.js +1 -1
  162. package/dist/esm/bs-menu.entry.js +1 -1
  163. package/dist/esm/bs-navigation-drawer-item.entry.js +1 -1
  164. package/dist/esm/bs-navigation-drawer.entry.js +1 -1
  165. package/dist/esm/bs-pagination.entry.js +1 -1
  166. package/dist/esm/bs-progress-linear.entry.js +63 -0
  167. package/dist/esm/bs-progress.entry.js +67 -0
  168. package/dist/esm/bs-radio.entry.js +1 -1
  169. package/dist/esm/bs-slider.entry.js +1 -1
  170. package/dist/esm/bs-snackbar.entry.js +1 -1
  171. package/dist/esm/bs-source-link.entry.js +2 -2
  172. package/dist/esm/bs-stepper-step.entry.js +1 -1
  173. package/dist/esm/bs-stepper.entry.js +1 -1
  174. package/dist/esm/bs-switch.entry.js +1 -1
  175. package/dist/esm/bs-tab.entry.js +1 -1
  176. package/dist/esm/bs-tabs.entry.js +1 -1
  177. package/dist/esm/bs-toast.entry.js +1 -1
  178. package/dist/esm/bs-tooltip.entry.js +1 -1
  179. package/dist/esm/loader.js +1 -1
  180. package/dist/types/components/bs-progress/bs-progress.cmp.test.d.ts +1 -0
  181. package/dist/types/components/bs-progress/bs-progress.d.ts +46 -0
  182. package/dist/types/components/bs-progress/bs-progress.stories.d.ts +18 -0
  183. package/dist/types/components/bs-progress-linear/bs-progress-linear.cmp.test.d.ts +1 -0
  184. package/dist/types/components/bs-progress-linear/bs-progress-linear.d.ts +50 -0
  185. package/dist/types/components/bs-progress-linear/bs-progress-linear.stories.d.ts +17 -0
  186. package/dist/types/components.d.ts +241 -0
  187. package/package.json +1 -1
  188. package/dist/brandsync-wc/p-04d6aa95.entry.js +0 -1
@@ -26,8 +26,8 @@ const BsSourceLink = class {
26
26
  };
27
27
  render() {
28
28
  const inner = [
29
- index.h("span", { key: '2729f16097550b7d60f116006c0cce86085e7fe4', class: "bs-source-link__left" }, index.h("span", { key: 'ba631a3a1c9c42e855dcbeb9554808dbb1b1f564', class: "bs-source-link__filename-row" }, index.h("span", { key: '324fec2cf91add6f8b7d7a5eeecfb8d5bcf8d087', part: "icon", class: "bs-source-link__icon" }, index.h("slot", { key: '504e4702cfe7c49c1c8186f12e5e893dc0cf166d', name: "icon" }, index.h(FileTextIcon, { key: 'c7eeca554f6b7fa7b4a7091676ccf6344292abc4' }))), index.h("p", { key: '7631367fe476e307120ea7e6f0f529016bbc86f7', part: "filename", class: "bs-source-link__filename" }, this.fileName)), index.h("span", { key: 'd67eaeb3e770d9119698bafe8f5c952b99999f5d', class: "bs-source-link__meta" }, this.sourceName && (index.h("span", { key: '67a08ca2742a10ac99734724e6a4ff0e1abfe870', part: "source", class: "bs-source-link__source" }, this.sourceName)), this.sourceName && this.version && index.h("span", { key: '5416ffb3915e03d901901455a47fd97ee7eadde5', class: "bs-source-link__dot", "aria-hidden": "true" }), this.version && (index.h("span", { key: '2c404027613850e260f93ed561306aa73a9eefd0', part: "version", class: "bs-source-link__version" }, this.version)))),
30
- index.h("span", { key: '92e95ac26643f3035dc827a568512032622071e3', part: "arrow", class: "bs-source-link__arrow", "aria-hidden": "true" }, index.h(ArrowUpRightIcon, { key: 'baf53b5ec528ddf042f1717efdf51658a03aae3f' })),
29
+ index.h("span", { key: '6e0bde7df2c893933c6490a995e418a43de6454f', class: "bs-source-link__left" }, index.h("span", { key: '9724f21e43696b3a07daabd05a348eaee96cd082', class: "bs-source-link__filename-row" }, index.h("span", { key: '901c8a90c0707197d0ae5f5c053f2e197683c973', part: "icon", class: "bs-source-link__icon" }, index.h("slot", { key: 'ca4ecd68ec7149bfe61830b3bd75a45e7086c165', name: "icon" }, index.h(FileTextIcon, { key: '656b72e726370c03b271e83397666be76544eb65' }))), index.h("p", { key: 'c20b0bc181548a81c57364b707afba77d535d62a', part: "filename", class: "bs-source-link__filename" }, this.fileName)), index.h("span", { key: '3178845a3c16d2ffd5fc1942806851370d966290', class: "bs-source-link__meta" }, this.sourceName && (index.h("span", { key: '6967d7fa214067d5e0d14123d287c4ce6cf40496', part: "source", class: "bs-source-link__source" }, this.sourceName)), this.sourceName && this.version && index.h("span", { key: 'a58b3e8d2d8ef4a23c8d6155454ab5825fd737b5', class: "bs-source-link__dot", "aria-hidden": "true" }), this.version && (index.h("span", { key: '1701393a524375eee95905308a9b8be1b9647bc8', part: "version", class: "bs-source-link__version" }, this.version)))),
30
+ index.h("span", { key: 'a291c8de9d56e8b269660441930b4bf95977883f', part: "arrow", class: "bs-source-link__arrow", "aria-hidden": "true" }, index.h(ArrowUpRightIcon, { key: '90a1a20ee9f84e5e339fa2a11c59691f6f45759f' })),
31
31
  ];
32
32
  return this.href ? (index.h("a", { class: "bs-source-link", href: this.href, target: this.target, rel: "noopener noreferrer", onClick: this.onClick }, inner)) : (index.h("button", { type: "button", class: "bs-source-link", onClick: this.onClick }, inner));
33
33
  }
@@ -34,7 +34,7 @@ const BsStepperStep = class {
34
34
  }
35
35
  render() {
36
36
  const state = this.state;
37
- return (index.h(index.Host, { key: '23bdc6334a36d9b2dd28719b9b23fbc17ad8f29b', role: "listitem", class: `bs-stepper-step--${this.direction}` }, index.h("div", { key: '388e17882bb5215c33e0665107acbcff5c7b4c9c', class: "bs-stepper-step__top" }, index.h("span", { key: '6cf79ab50a94f9578e76f14ca23cdfa984ef394b', part: "icon", class: `bs-stepper-step__icon bs-stepper-step__icon--${state}` }, state === 'current' && index.h("span", { key: '8081181e8865a29f703c74d5a20183513bdf2b66', class: "bs-stepper-step__icon-dot" }), state === 'done' && index.h(CheckIcon, { key: '92755c827c9c09b1bae504daabd2067fc498b355' }), state === 'error' && index.h(ExclamationIcon, { key: '62ac0a0826b8f8b507fcd0a7c47bff3c39f804b4' })), index.h("span", { key: 'a1c15ede35ab01d876a0289552dffc37c75626d1', part: "connector", class: "bs-stepper-step__connector", "aria-hidden": "true" }, index.h("span", { key: '5029f8f629af1091bcb8fa2a47ebe12a7bd6628e', class: "bs-stepper-step__connector-line" }))), index.h("span", { key: '3835e986646f619751043ab0eeb1b5d977f22a58', part: "label", class: `bs-stepper-step__label bs-stepper-step__label--${state}` }, index.h("span", { key: '5da4053ea5ecf588853b5d9678737a67b7aadbe1', part: "name", class: "bs-stepper-step__name" }, this.name), this.showDescription && this.description && (index.h("span", { key: 'd5544b97eefe9311ac13f0cbcd4bf6d87bc24ca5', part: "description", class: "bs-stepper-step__description" }, this.description)))));
37
+ return (index.h(index.Host, { key: '0885597069b454df03e0797e6fc3ec4bba3357b1', role: "listitem", class: `bs-stepper-step--${this.direction}` }, index.h("div", { key: 'e5bf87615b06b2ffd35b18329a925171c45cbf4e', class: "bs-stepper-step__top" }, index.h("span", { key: 'e82c4b4d88769d9301a258f9f8ba10e75aac381d', part: "icon", class: `bs-stepper-step__icon bs-stepper-step__icon--${state}` }, state === 'current' && index.h("span", { key: '61b0982711c74851add824ccb561f26711ed1162', class: "bs-stepper-step__icon-dot" }), state === 'done' && index.h(CheckIcon, { key: 'f53ba1c507f79cac0ee4cde326c2a95580b95ea2' }), state === 'error' && index.h(ExclamationIcon, { key: '9671c46079a379711410c878cb520d915ff419b3' })), index.h("span", { key: 'af6ba4667e1237ff2ade9947a19ccea455aa1cb1', part: "connector", class: "bs-stepper-step__connector", "aria-hidden": "true" }, index.h("span", { key: '337b424d21fa9ad1c1289a314d1e4aee1d868e08', class: "bs-stepper-step__connector-line" }))), index.h("span", { key: '265d260e904153b4875fecd899affb5e16482e52', part: "label", class: `bs-stepper-step__label bs-stepper-step__label--${state}` }, index.h("span", { key: '2402a6d04e7467ea9b14b86569093226253ce934', part: "name", class: "bs-stepper-step__name" }, this.name), this.showDescription && this.description && (index.h("span", { key: 'ed6b927749fb9b174bf481e862fc4109ca557e1a', part: "description", class: "bs-stepper-step__description" }, this.description)))));
38
38
  }
39
39
  };
40
40
  const CheckIcon = () => (index.h("svg", { viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true" }, index.h("path", { d: "M2.5 9L6 12.5L14 4.5", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));
@@ -43,7 +43,7 @@ const BsStepper = class {
43
43
  });
44
44
  }
45
45
  render() {
46
- return index.h("slot", { key: 'e897ba6e9153f8449bb5189245a22153d0e7e02e', onSlotchange: this.onSlotChange });
46
+ return index.h("slot", { key: 'ce510c14afc31408f1a8b04a6ab6a6bc8480dd97', onSlotchange: this.onSlotChange });
47
47
  }
48
48
  static get watchers() { return {
49
49
  "currentStep": [{
@@ -48,7 +48,7 @@ const BsSwitch = class {
48
48
  const knobClasses = ['bs-switch__knob', `bs-switch__knob--${this.size}`, this.disabled ? 'bs-switch__knob--disabled' : '']
49
49
  .filter(Boolean)
50
50
  .join(' ');
51
- return (index.h("label", { key: '72a1a031e9ed8763a2b60f3c23de18973cc7409d', class: `bs-switch ${this.disabled ? 'bs-switch--disabled' : ''}` }, index.h("input", { key: '90427f6930abcb294526caa912331a568f6eaaeb', class: "bs-switch__input", type: "checkbox", role: "switch", checked: this.checked, disabled: this.disabled, "aria-checked": String(this.checked), "aria-label": this.ariaLabel, onChange: this.onChange }), index.h("span", { key: 'be4eb4528f413527e67f38201c20ca86eeef37c1', part: "track", class: trackClasses }, index.h("span", { key: '030a60024a77bfae2f78a40128dd62a8581f5fd1', part: "knob", class: knobClasses })), index.h("span", { key: '5792002eed1c0489a1456e362f0fd3c290522834', part: "label", class: "bs-switch__label" }, index.h("slot", { key: '9dadf202bcde1760dcda56ca84155ecdb117b746' }))));
51
+ return (index.h("label", { key: '8cc77a7334a032869209299197e49619d3ac6291', class: `bs-switch ${this.disabled ? 'bs-switch--disabled' : ''}` }, index.h("input", { key: '2d052950431ecd2ea7dfdfef8252ef2ec5bd2dc4', class: "bs-switch__input", type: "checkbox", role: "switch", checked: this.checked, disabled: this.disabled, "aria-checked": String(this.checked), "aria-label": this.ariaLabel, onChange: this.onChange }), index.h("span", { key: 'f3a7f7260a0f915e22eb32408495c4e114a9bcff', part: "track", class: trackClasses }, index.h("span", { key: '4c59c865cca27b3d7f068a2798a5901a43b1ef40', part: "knob", class: knobClasses })), index.h("span", { key: '807b245462b4b44f224beb892312f914625065e6', part: "label", class: "bs-switch__label" }, index.h("slot", { key: '056f758a35f0a9f5392561a6a47a3f8a65c9ffc7' }))));
52
52
  }
53
53
  static get delegatesFocus() { return true; }
54
54
  };
@@ -72,7 +72,7 @@ const BsTab = class {
72
72
  const iconOnly = this.hasIcon && !this.hasLabel;
73
73
  const vertical = this.hasIcon && this.hasLabel && this.iconPosition === 'top';
74
74
  const showBadge = this.hasBadge && !iconOnly && !vertical;
75
- return (index.h("button", { key: '108e2a145203f9686056af4ef0afaccb9d2db30a', type: "button", part: "tab", role: "tab", class: `bs-tab ${this.selected ? 'bs-tab--selected' : ''} ${this.disabled ? 'bs-tab--disabled' : ''} ${iconOnly ? 'bs-tab--icon-only' : ''} ${vertical ? 'bs-tab--vertical' : ''}`, disabled: this.disabled, "aria-selected": String(this.selected), "aria-disabled": this.disabled ? 'true' : undefined, "aria-label": this.ariaLabel, onClick: this.onClick }, index.h("span", { key: '16ac002486b78656a93cdb79ec2c496784fc97bd', part: "icon", class: `bs-tab__icon ${this.hasIcon ? 'bs-tab__icon--has-content' : ''}` }, index.h("slot", { key: '18eb1f6346db1658af06d4fd0fe3b9e647459abe', name: "icon", onSlotchange: this.onIconSlotchange })), index.h("span", { key: 'f97b7760370940a57d240635aa5680ffab053be8', part: "label", class: `bs-tab__label ${this.hasLabel ? 'bs-tab__label--has-content' : ''}` }, index.h("slot", { key: '2ba740311a892af6d6db0d84ad0f126ca35c48de', onSlotchange: this.onLabelSlotchange })), index.h("span", { key: 'f1090ed9db4149673c29d1e62ec62db024c50868', part: "badge", class: `bs-tab__badge ${showBadge ? 'bs-tab__badge--has-content' : ''}` }, index.h("slot", { key: 'a594d11d28f47d5e2665d3f1378892f8fb68c4aa', name: "badge", onSlotchange: this.onBadgeSlotchange })), index.h("span", { key: '1fd376b6321eeeec0e0a67000bd0c9d5166f9a40', part: "indicator", class: "bs-tab__indicator" })));
75
+ return (index.h("button", { key: '582c9b12915fa85e4b05114e4c1d5a15ec9253d1', type: "button", part: "tab", role: "tab", class: `bs-tab ${this.selected ? 'bs-tab--selected' : ''} ${this.disabled ? 'bs-tab--disabled' : ''} ${iconOnly ? 'bs-tab--icon-only' : ''} ${vertical ? 'bs-tab--vertical' : ''}`, disabled: this.disabled, "aria-selected": String(this.selected), "aria-disabled": this.disabled ? 'true' : undefined, "aria-label": this.ariaLabel, onClick: this.onClick }, index.h("span", { key: 'd2e55d29b23478056bb3f24a00ec1237fa9e0a9d', part: "icon", class: `bs-tab__icon ${this.hasIcon ? 'bs-tab__icon--has-content' : ''}` }, index.h("slot", { key: '767704d1770a124686fa503c0ca19b651412c07f', name: "icon", onSlotchange: this.onIconSlotchange })), index.h("span", { key: '8d4f45d058cbbd5bc64a03862048faaaa1effdf3', part: "label", class: `bs-tab__label ${this.hasLabel ? 'bs-tab__label--has-content' : ''}` }, index.h("slot", { key: '45805bbb18a4a8a39b01e1bc81a37a2b09449d3c', onSlotchange: this.onLabelSlotchange })), index.h("span", { key: '27a3379b320a5ac2f2a437c8ca980989cf5ed239', part: "badge", class: `bs-tab__badge ${showBadge ? 'bs-tab__badge--has-content' : ''}` }, index.h("slot", { key: '2bbd98cc2c68472a9399b3c5ff67ddbeae441949', name: "badge", onSlotchange: this.onBadgeSlotchange })), index.h("span", { key: '3f75545064c2114483382e1ee65e23f5aad33ccd', part: "indicator", class: "bs-tab__indicator" })));
76
76
  }
77
77
  };
78
78
  BsTab.style = bsTabCss();
@@ -31,7 +31,7 @@ const BsTabs = class {
31
31
  }
32
32
  render() {
33
33
  const vertical = this.orientation === 'vertical';
34
- return (index.h("div", { key: '625a82decaddca7fc41585696f15a8fdd19c3127', part: "tablist", role: "tablist", "aria-orientation": this.orientation, class: `bs-tabs bs-tabs--${this.type} ${vertical ? 'bs-tabs--vertical' : ''}` }, index.h("slot", { key: '059943f777aaf60a2de4026bcb25f561f66a5020' })));
34
+ return (index.h("div", { key: 'a2e67e62af5aec684a0b79e06905e1d2dbc1d469', part: "tablist", role: "tablist", "aria-orientation": this.orientation, class: `bs-tabs bs-tabs--${this.type} ${vertical ? 'bs-tabs--vertical' : ''}` }, index.h("slot", { key: '6b3b19d55ff342c65ef321e6556cf56701dc18a0' })));
35
35
  }
36
36
  };
37
37
  BsTabs.style = bsTabsCss();
@@ -19,7 +19,7 @@ const BsToast = class {
19
19
  this.bsDismiss.emit();
20
20
  };
21
21
  render() {
22
- return (index.h("div", { key: '46791568d11373681bdb2eae526fc29f93cc1ba6', part: "container", class: `bs-toast bs-toast--${this.state}`, role: "status", "aria-live": this.state === 'error' ? 'assertive' : 'polite' }, index.h("div", { key: '77b3faf40813c86dd624ec665e6e4eb0e6cb80b8', class: "bs-toast__content" }, index.h("span", { key: 'b8c2e8d6c729b8aaaf540906f55feaf95ea0d42c', part: "icon", class: "bs-toast__icon", "aria-hidden": "true" }, index.h(StateIcon, { key: '4c69c6dc371c2f7bc1cf393c293fadfd30fabcea', state: this.state })), index.h("span", { key: '3938894f0ad2c99bece035b5049b806847b6fc69', part: "message", class: "bs-toast__message" }, index.h("slot", { key: '35566107844c74a57b37b00d369a8396db821f5f' }))), index.h("div", { key: 'df56dba231fa2e6cf4ad5bd57bb2b4608161294d', class: "bs-toast__actions" }, index.h("button", { key: 'c0f78562bd1acbc421b87d6915d48c7768795e78', part: "close", type: "button", class: "bs-toast__close", "aria-label": "Dismiss", onClick: this.onDismiss }, index.h(CloseIcon, { key: 'b74a4cbb76307190bf9af2651e52791ba814b2af' })))));
22
+ return (index.h("div", { key: '601af8a97314bc7d5119f0e3d333bf7361253c82', part: "container", class: `bs-toast bs-toast--${this.state}`, role: "status", "aria-live": this.state === 'error' ? 'assertive' : 'polite' }, index.h("div", { key: '3d497021797f520831a4ee896e1a17ccf980c5ce', class: "bs-toast__content" }, index.h("span", { key: 'c2c881ca3eef65884914f18b5dbed59f20067650', part: "icon", class: "bs-toast__icon", "aria-hidden": "true" }, index.h(StateIcon, { key: '0b02a6e4ed1cc0421659cba0479b05ecb638749d', state: this.state })), index.h("span", { key: '138aedff518384bf0ee185711ba1b2194c71c8e3', part: "message", class: "bs-toast__message" }, index.h("slot", { key: 'd1e46ef85c2101904234fce982d1f45b8b799ddb' }))), index.h("div", { key: 'eeaa1695bb943483df6b2c1f91ea99aebf48587b', class: "bs-toast__actions" }, index.h("button", { key: '300a542e27c8c7c92a51cc25def8a82046fd2ad1', part: "close", type: "button", class: "bs-toast__close", "aria-label": "Dismiss", onClick: this.onDismiss }, index.h(CloseIcon, { key: '547514944e5c0142f11eec104ac8fe3f161a8b62' })))));
23
23
  }
24
24
  };
25
25
  const StateIcon = ({ state }) => {
@@ -16,7 +16,7 @@ const BsTooltip = class {
16
16
  */
17
17
  placement = 'top';
18
18
  render() {
19
- return (index.h("div", { key: '425dac71d4f76074266a2e1676f8b443e300fd94', class: "bs-tooltip" }, index.h("span", { key: '0af2492abc554c9def9e338eada6ba7ac156fc28', part: "arrow", class: "bs-tooltip__arrow" }), index.h("div", { key: '34c5700bfac8ecadd0712a5356f334eac5d497fd', part: "bubble", class: "bs-tooltip__bubble" }, index.h("slot", { key: 'd46c949de53165a7a0f7f2fa3ffb2058558ce18d' }))));
19
+ return (index.h("div", { key: '062ea3196a5a89090efda9c1740d797302b7e71a', class: "bs-tooltip" }, index.h("span", { key: 'ede20a2edfd834182b46d143d682cdd994ba74f3', part: "arrow", class: "bs-tooltip__arrow" }), index.h("div", { key: '05f0ead68e3e70c7ead8c7f0b275e5903ffb73ba', part: "bubble", class: "bs-tooltip__bubble" }, index.h("slot", { key: '0af70f3d08a96110c684a570c03f758cb9388774' }))));
20
20
  }
21
21
  };
22
22
  BsTooltip.style = bsTooltipCss();
@@ -5,7 +5,7 @@ var index = require('./index-CdAh5BFg.js');
5
5
  const defineCustomElements = async (win, options) => {
6
6
  if (typeof window === 'undefined') return undefined;
7
7
  await index.globalScripts();
8
- return index.bootstrapLazy([["bs-input.cjs",[[785,"bs-input",{"value":[1025],"type":[1],"label":[1],"placeholder":[1],"description":[1],"error":[1],"disabled":[4],"required":[4],"step":[2],"min":[2],"max":[2],"options":[16],"rows":[2],"chips":[16],"titleOptions":[16],"initialsTitle":[1,"initials-title"],"countryOptions":[16],"country":[1],"length":[2],"open":[1540],"hasIcon":[32],"hasEndIcon":[32],"passwordVisible":[32],"chipDraft":[32]},[[0,"keydown","onHostKeydown"],[0,"focusout","onHostFocusOut"]]]]],["bs-attachment.cjs",[[513,"bs-attachment",{"type":[1],"fileName":[1,"file-name"],"imageSrc":[1,"image-src"],"imageAlt":[1,"image-alt"],"loading":[4],"removable":[4]}]]],["bs-breadcrumb-overflow.cjs",[[513,"bs-breadcrumb-overflow",{"items":[16],"overflowLabel":[1,"overflow-label"],"size":[513],"open":[32]},[[0,"keydown","onHostKeydown"],[0,"focusout","onHostFocusOut"]]]]],["bs-chatbot-header.cjs",[[769,"bs-chatbot-header",{"heading":[1],"expanded":[1540]}]]],["bs-dialog.cjs",[[769,"bs-dialog",{"open":[1540],"heading":[1],"size":[1],"centered":[516],"hasFooter":[32],"hasImage":[32],"hasIcon":[32]},[[4,"keydown","onKeydown"],[4,"focusin","onFocusIn"]]]]],["bs-navigation-drawer.cjs",[[769,"bs-navigation-drawer",{"heading":[1],"collapsible":[4],"collapsed":[1540],"logoBackground":[1,"logo-background"],"showLogo":[4,"show-logo"]},null,{"collapsed":[{"onCollapsedChange":0}]}]]],["bs-navigation-header.cjs",[[769,"bs-navigation-header",{"alignment":[1],"ariaLabel":[1,"aria-label"],"skipToContentHref":[1,"skip-to-content-href"],"skipToContentLabel":[1,"skip-to-content-label"],"logoBackground":[1,"logo-background"]}]]],["bs-ai-disclaimer.cjs",[[257,"bs-ai-disclaimer"]]],["bs-ai-greeting.cjs",[[513,"bs-ai-greeting",{"assistantName":[1,"assistant-name"],"productName":[1,"product-name"]}]]],["bs-ai-thinking.cjs",[[513,"bs-ai-thinking",{"label":[1]}]]],["bs-attachment-list.cjs",[[769,"bs-attachment-list",{"ariaLabel":[1,"aria-label"],"canScrollRight":[32]}]]],["bs-avatar.cjs",[[513,"bs-avatar",{"type":[1],"size":[1],"initials":[1],"src":[1],"alt":[1],"ariaLabel":[1,"aria-label"],"disabled":[516]}]]],["bs-badge.cjs",[[769,"bs-badge",{"variant":[1]}]]],["bs-breadcrumb.cjs",[[769,"bs-breadcrumb",{"href":[1],"current":[516],"size":[513]}]]],["bs-breadcrumbs.cjs",[[769,"bs-breadcrumbs",{"label":[1],"size":[1]},null,{"size":[{"onSizeChange":0}]}]]],["bs-button.cjs",[[785,"bs-button",{"variant":[1],"size":[1],"disabled":[4],"type":[1],"ariaLabel":[1,"aria-label"],"hasIcon":[32],"hasEndIcon":[32],"hasLabel":[32]}]]],["bs-button-skeleton.cjs",[[513,"bs-button-skeleton",{"size":[1]}]]],["bs-card.cjs",[[769,"bs-card",{"surface":[1],"hasImage":[32]}]]],["bs-chatbot-feedback.cjs",[[513,"bs-chatbot-feedback",{"rating":[1538],"submitted":[1540],"comment":[1025],"heading":[1],"subtitle":[1]}]]],["bs-chatbot-response-action.cjs",[[769,"bs-chatbot-response-action",{"sourcesCount":[2,"sources-count"],"menuOpen":[1540,"menu-open"]},[[4,"click","onDocumentClick"],[4,"keydown","onKeydown"]]]]],["bs-chatbot-sources-drawer.cjs",[[769,"bs-chatbot-sources-drawer",{"heading":[1],"count":[2],"slottedCount":[32]}]]],["bs-chatbot-suggestion-button.cjs",[[769,"bs-chatbot-suggestion-button",{"disabled":[4]}]]],["bs-checkbox.cjs",[[785,"bs-checkbox",{"size":[1],"checked":[1540],"indeterminate":[1540],"disabled":[4],"error":[4],"ariaLabel":[1,"aria-label"]},null,{"indeterminate":[{"onIndeterminateChange":0}]}]]],["bs-checkbox-skeleton.cjs",[[513,"bs-checkbox-skeleton",{"size":[1]}]]],["bs-chip-filter.cjs",[[785,"bs-chip-filter",{"size":[1],"selected":[1540],"dropdown":[4],"disabled":[4],"ariaLabel":[1,"aria-label"],"hasIcon":[32]}]]],["bs-chip-informative.cjs",[[769,"bs-chip-informative",{"color":[1],"size":[1],"disabled":[516],"hasIcon":[32]}]]],["bs-chip-input.cjs",[[785,"bs-chip-input",{"size":[1],"selected":[1540],"disabled":[516],"hasIcon":[32],"labelText":[32]}]]],["bs-composer.cjs",[[785,"bs-composer",{"variant":[1],"placeholder":[1],"value":[1],"state":[1],"ariaLabel":[1,"aria-label"],"hasAttachments":[32]}]]],["bs-composer-status-banner.cjs",[[769,"bs-composer-status-banner",{"type":[1],"message":[1],"showIcon":[4,"show-icon"],"showButton":[4,"show-button"],"actionLabel":[1,"action-label"],"allowClose":[4,"allow-close"]}]]],["bs-data-table.cjs",[[513,"bs-data-table",{"columns":[16],"rows":[16],"sortColumn":[1,"sort-column"],"sortDirection":[1,"sort-direction"],"selectable":[4],"cellRenderer":[16],"selectedIds":[32]}]]],["bs-inline-tab.cjs",[[769,"bs-inline-tab",{"selected":[516],"disabled":[4],"ariaLabel":[1,"aria-label"],"hasIcon":[32],"hasLabel":[32]}]]],["bs-navigation-drawer-item.cjs",[[769,"bs-navigation-drawer-item",{"selected":[516],"expandable":[4],"expanded":[1540],"nested":[4],"ariaLabel":[1,"aria-label"],"collapsed":[516],"hasIcon":[32]}]]],["bs-pagination.cjs",[[513,"bs-pagination",{"totalPages":[2,"total-pages"],"currentPage":[1538,"current-page"],"siblingCount":[2,"sibling-count"],"previousLabel":[1,"previous-label"],"nextLabel":[1,"next-label"]}]]],["bs-radio.cjs",[[785,"bs-radio",{"name":[1],"value":[1],"checked":[1540],"disabled":[4]}]]],["bs-slider.cjs",[[529,"bs-slider",{"type":[1],"showLabel":[4,"show-label"],"label":[1],"min":[2],"max":[2],"step":[2],"value":[1026],"valueStart":[1026,"value-start"],"valueEnd":[1026,"value-end"],"segments":[2],"disabled":[4],"ariaLabel":[1,"aria-label"]}]]],["bs-snackbar.cjs",[[769,"bs-snackbar",{"variant":[1],"loading":[4],"actionLabel":[1,"action-label"]}]]],["bs-source-link.cjs",[[769,"bs-source-link",{"fileName":[1,"file-name"],"sourceName":[1,"source-name"],"version":[1],"href":[1],"target":[1]}]]],["bs-stepper.cjs",[[769,"bs-stepper",{"currentStep":[2,"current-step"],"direction":[513],"showDescription":[4,"show-description"]},null,{"currentStep":[{"onPropChange":0}],"direction":[{"onPropChange":0}],"showDescription":[{"onPropChange":0}]}]]],["bs-stepper-step.cjs",[[513,"bs-stepper-step",{"name":[1],"description":[1],"error":[4],"disabled":[4],"computedState":[1,"computed-state"],"direction":[1],"showDescription":[4,"show-description"]}]]],["bs-switch.cjs",[[785,"bs-switch",{"size":[1],"checked":[1540],"disabled":[4],"ariaLabel":[1,"aria-label"]}]]],["bs-tab.cjs",[[769,"bs-tab",{"selected":[516],"disabled":[4],"iconPosition":[1,"icon-position"],"ariaLabel":[1,"aria-label"],"hasIcon":[32],"hasLabel":[32],"hasBadge":[32]}]]],["bs-tabs.cjs",[[769,"bs-tabs",{"type":[1],"orientation":[1]},[[0,"bsSelect","onTabSelect"]]]]],["bs-toast.cjs",[[769,"bs-toast",{"state":[1]}]]],["bs-menu-item.cjs",[[769,"bs-menu-item",{"disabled":[4],"hasIcon":[32]}]]],["bs-tooltip.cjs",[[769,"bs-tooltip",{"placement":[1]}]]],["bs-icon-button.cjs",[[785,"bs-icon-button",{"variant":[1],"size":[1],"disabled":[4],"type":[1],"ariaLabel":[1,"aria-label"]}]]],["bs-logo.cjs",[[513,"bs-logo",{"variant":[1],"background":[1],"src":[1],"alt":[1]}]]],["bs-menu.cjs",[[257,"bs-menu"]]]], options);
8
+ return index.bootstrapLazy([["bs-input.cjs",[[785,"bs-input",{"value":[1025],"type":[1],"label":[1],"placeholder":[1],"description":[1],"error":[1],"disabled":[4],"required":[4],"step":[2],"min":[2],"max":[2],"options":[16],"rows":[2],"chips":[16],"titleOptions":[16],"initialsTitle":[1,"initials-title"],"countryOptions":[16],"country":[1],"length":[2],"open":[1540],"hasIcon":[32],"hasEndIcon":[32],"passwordVisible":[32],"chipDraft":[32]},[[0,"keydown","onHostKeydown"],[0,"focusout","onHostFocusOut"]]]]],["bs-attachment.cjs",[[513,"bs-attachment",{"type":[1],"fileName":[1,"file-name"],"imageSrc":[1,"image-src"],"imageAlt":[1,"image-alt"],"loading":[4],"removable":[4]}]]],["bs-breadcrumb-overflow.cjs",[[513,"bs-breadcrumb-overflow",{"items":[16],"overflowLabel":[1,"overflow-label"],"size":[513],"open":[32]},[[0,"keydown","onHostKeydown"],[0,"focusout","onHostFocusOut"]]]]],["bs-chatbot-header.cjs",[[769,"bs-chatbot-header",{"heading":[1],"expanded":[1540]}]]],["bs-dialog.cjs",[[769,"bs-dialog",{"open":[1540],"heading":[1],"size":[1],"centered":[516],"hasFooter":[32],"hasImage":[32],"hasIcon":[32]},[[4,"keydown","onKeydown"],[4,"focusin","onFocusIn"]]]]],["bs-navigation-drawer.cjs",[[769,"bs-navigation-drawer",{"heading":[1],"collapsible":[4],"collapsed":[1540],"logoBackground":[1,"logo-background"],"showLogo":[4,"show-logo"]},null,{"collapsed":[{"onCollapsedChange":0}]}]]],["bs-navigation-header.cjs",[[769,"bs-navigation-header",{"alignment":[1],"ariaLabel":[1,"aria-label"],"skipToContentHref":[1,"skip-to-content-href"],"skipToContentLabel":[1,"skip-to-content-label"],"logoBackground":[1,"logo-background"]}]]],["bs-ai-disclaimer.cjs",[[257,"bs-ai-disclaimer"]]],["bs-ai-greeting.cjs",[[513,"bs-ai-greeting",{"assistantName":[1,"assistant-name"],"productName":[1,"product-name"]}]]],["bs-ai-thinking.cjs",[[513,"bs-ai-thinking",{"label":[1]}]]],["bs-attachment-list.cjs",[[769,"bs-attachment-list",{"ariaLabel":[1,"aria-label"],"canScrollRight":[32]}]]],["bs-avatar.cjs",[[513,"bs-avatar",{"type":[1],"size":[1],"initials":[1],"src":[1],"alt":[1],"ariaLabel":[1,"aria-label"],"disabled":[516]}]]],["bs-badge.cjs",[[769,"bs-badge",{"variant":[1]}]]],["bs-breadcrumb.cjs",[[769,"bs-breadcrumb",{"href":[1],"current":[516],"size":[513]}]]],["bs-breadcrumbs.cjs",[[769,"bs-breadcrumbs",{"label":[1],"size":[1]},null,{"size":[{"onSizeChange":0}]}]]],["bs-button.cjs",[[785,"bs-button",{"variant":[1],"size":[1],"disabled":[4],"type":[1],"ariaLabel":[1,"aria-label"],"hasIcon":[32],"hasEndIcon":[32],"hasLabel":[32]}]]],["bs-button-skeleton.cjs",[[513,"bs-button-skeleton",{"size":[1]}]]],["bs-card.cjs",[[769,"bs-card",{"surface":[1],"hasImage":[32]}]]],["bs-chatbot-feedback.cjs",[[513,"bs-chatbot-feedback",{"rating":[1538],"submitted":[1540],"comment":[1025],"heading":[1],"subtitle":[1]}]]],["bs-chatbot-response-action.cjs",[[769,"bs-chatbot-response-action",{"sourcesCount":[2,"sources-count"],"menuOpen":[1540,"menu-open"]},[[4,"click","onDocumentClick"],[4,"keydown","onKeydown"]]]]],["bs-chatbot-sources-drawer.cjs",[[769,"bs-chatbot-sources-drawer",{"heading":[1],"count":[2],"slottedCount":[32]}]]],["bs-chatbot-suggestion-button.cjs",[[769,"bs-chatbot-suggestion-button",{"disabled":[4]}]]],["bs-checkbox.cjs",[[785,"bs-checkbox",{"size":[1],"checked":[1540],"indeterminate":[1540],"disabled":[4],"error":[4],"ariaLabel":[1,"aria-label"]},null,{"indeterminate":[{"onIndeterminateChange":0}]}]]],["bs-checkbox-skeleton.cjs",[[513,"bs-checkbox-skeleton",{"size":[1]}]]],["bs-chip-filter.cjs",[[785,"bs-chip-filter",{"size":[1],"selected":[1540],"dropdown":[4],"disabled":[4],"ariaLabel":[1,"aria-label"],"hasIcon":[32]}]]],["bs-chip-informative.cjs",[[769,"bs-chip-informative",{"color":[1],"size":[1],"disabled":[516],"hasIcon":[32]}]]],["bs-chip-input.cjs",[[785,"bs-chip-input",{"size":[1],"selected":[1540],"disabled":[516],"hasIcon":[32],"labelText":[32]}]]],["bs-composer.cjs",[[785,"bs-composer",{"variant":[1],"placeholder":[1],"value":[1],"state":[1],"ariaLabel":[1,"aria-label"],"hasAttachments":[32]}]]],["bs-composer-status-banner.cjs",[[769,"bs-composer-status-banner",{"type":[1],"message":[1],"showIcon":[4,"show-icon"],"showButton":[4,"show-button"],"actionLabel":[1,"action-label"],"allowClose":[4,"allow-close"]}]]],["bs-data-table.cjs",[[513,"bs-data-table",{"columns":[16],"rows":[16],"sortColumn":[1,"sort-column"],"sortDirection":[1,"sort-direction"],"selectable":[4],"cellRenderer":[16],"selectedIds":[32]}]]],["bs-inline-tab.cjs",[[769,"bs-inline-tab",{"selected":[516],"disabled":[4],"ariaLabel":[1,"aria-label"],"hasIcon":[32],"hasLabel":[32]}]]],["bs-navigation-drawer-item.cjs",[[769,"bs-navigation-drawer-item",{"selected":[516],"expandable":[4],"expanded":[1540],"nested":[4],"ariaLabel":[1,"aria-label"],"collapsed":[516],"hasIcon":[32]}]]],["bs-pagination.cjs",[[513,"bs-pagination",{"totalPages":[2,"total-pages"],"currentPage":[1538,"current-page"],"siblingCount":[2,"sibling-count"],"previousLabel":[1,"previous-label"],"nextLabel":[1,"next-label"]}]]],["bs-progress.cjs",[[513,"bs-progress",{"type":[1],"size":[1],"strokeWidth":[2,"stroke-width"],"value":[2],"showLabel":[4,"show-label"]}]]],["bs-progress-linear.cjs",[[769,"bs-progress-linear",{"type":[1],"size":[1],"value":[2],"showLabel":[4,"show-label"],"hasLabelContent":[32]}]]],["bs-radio.cjs",[[785,"bs-radio",{"name":[1],"value":[1],"checked":[1540],"disabled":[4]}]]],["bs-slider.cjs",[[529,"bs-slider",{"type":[1],"showLabel":[4,"show-label"],"label":[1],"min":[2],"max":[2],"step":[2],"value":[1026],"valueStart":[1026,"value-start"],"valueEnd":[1026,"value-end"],"segments":[2],"disabled":[4],"ariaLabel":[1,"aria-label"]}]]],["bs-snackbar.cjs",[[769,"bs-snackbar",{"variant":[1],"loading":[4],"actionLabel":[1,"action-label"]}]]],["bs-source-link.cjs",[[769,"bs-source-link",{"fileName":[1,"file-name"],"sourceName":[1,"source-name"],"version":[1],"href":[1],"target":[1]}]]],["bs-stepper.cjs",[[769,"bs-stepper",{"currentStep":[2,"current-step"],"direction":[513],"showDescription":[4,"show-description"]},null,{"currentStep":[{"onPropChange":0}],"direction":[{"onPropChange":0}],"showDescription":[{"onPropChange":0}]}]]],["bs-stepper-step.cjs",[[513,"bs-stepper-step",{"name":[1],"description":[1],"error":[4],"disabled":[4],"computedState":[1,"computed-state"],"direction":[1],"showDescription":[4,"show-description"]}]]],["bs-switch.cjs",[[785,"bs-switch",{"size":[1],"checked":[1540],"disabled":[4],"ariaLabel":[1,"aria-label"]}]]],["bs-tab.cjs",[[769,"bs-tab",{"selected":[516],"disabled":[4],"iconPosition":[1,"icon-position"],"ariaLabel":[1,"aria-label"],"hasIcon":[32],"hasLabel":[32],"hasBadge":[32]}]]],["bs-tabs.cjs",[[769,"bs-tabs",{"type":[1],"orientation":[1]},[[0,"bsSelect","onTabSelect"]]]]],["bs-toast.cjs",[[769,"bs-toast",{"state":[1]}]]],["bs-menu-item.cjs",[[769,"bs-menu-item",{"disabled":[4],"hasIcon":[32]}]]],["bs-tooltip.cjs",[[769,"bs-tooltip",{"placement":[1]}]]],["bs-icon-button.cjs",[[785,"bs-icon-button",{"variant":[1],"size":[1],"disabled":[4],"type":[1],"ariaLabel":[1,"aria-label"]}]]],["bs-logo.cjs",[[513,"bs-logo",{"variant":[1],"background":[1],"src":[1],"alt":[1]}]]],["bs-menu.cjs",[[257,"bs-menu"]]]], options);
9
9
  };
10
10
 
11
11
  exports.setNonce = index.setNonce;
@@ -18,6 +18,8 @@
18
18
  "components/bs-button/bs-icon-button/bs-icon-button.js",
19
19
  "components/bs-logo/bs-logo.js",
20
20
  "components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.js",
21
+ "components/bs-progress/bs-progress.js",
22
+ "components/bs-progress-linear/bs-progress-linear.js",
21
23
  "components/bs-slider/bs-slider.js",
22
24
  "components/bs-snackbar/bs-snackbar.js",
23
25
  "components/bs-stepper/bs-stepper-step/bs-stepper-step.js",
@@ -25,7 +25,7 @@ import { h } from "@stencil/core";
25
25
  export class BsAiDisclaimer {
26
26
  render() {
27
27
  https: //images.unsplash.com/photo-1512917774080-9991f1c4c750?w=200&h=200&fit=crop
28
- return (h("div", { key: '26e7b473aa03ada36a706ac5f908ff88a1e1b64a', class: "bs-ai-disclaimer" }, h("p", { key: '8f19030e5a8ef09a76d5d149e744b26d7848255e', part: "text", class: "bs-ai-disclaimer__text" }, h("slot", { key: 'c1493d47be97fa794f4acbc676ada8dfc0f96750' }))));
28
+ return (h("div", { key: '4f97fed2aa1612c2c93d03696c9fa8f33fc2c380', class: "bs-ai-disclaimer" }, h("p", { key: 'efcb8ec3df0edfe94d34b0fdd780b2b8a385bad2', part: "text", class: "bs-ai-disclaimer__text" }, h("slot", { key: 'c2ca831b256929422fbf5f2ce053c827405302e4' }))));
29
29
  }
30
30
  static get is() { return "bs-ai-disclaimer"; }
31
31
  static get encapsulation() { return "shadow"; }
@@ -43,7 +43,7 @@ export class BsAiGreeting {
43
43
  const subtext = this.productName
44
44
  ? `How can I help you with ${this.productName} today?`
45
45
  : 'How can I help you today?';
46
- return (h("div", { key: 'ae136c97700f0ed54f2a1e58e712e7e5c0c54959', class: "bs-ai-greeting" }, h("div", { key: '050f107d678a52455ce5d396be148f8e86395816', part: "heading", class: "bs-ai-greeting__heading" }, h("p", { key: '8db2fe3a6b179fa0cd632ad273782fb87c3aa32d', class: "bs-ai-greeting__heading-line" }, "Hi. I'm ", this.assistantName, ","), h("p", { key: 'f13eced93d8b6250b963885f0b3a17b7c0bdb402', class: "bs-ai-greeting__heading-line" }, "your AI assistant.")), h("p", { key: '6e9766b1845217cb3b8c96fd93be2a2a97f003b3', part: "subtext", class: "bs-ai-greeting__subtext" }, subtext)));
46
+ return (h("div", { key: '7d6dd7d98e9b3516e2aff3abe671a15ae1e32ec2', class: "bs-ai-greeting" }, h("div", { key: 'e7a11b044039367fcde413cd9632ed0c6c9a37f4', part: "heading", class: "bs-ai-greeting__heading" }, h("p", { key: '50573beb3d35965a6e58c1454630991911f099bb', class: "bs-ai-greeting__heading-line" }, "Hi. I'm ", this.assistantName, ","), h("p", { key: '238ee90e74c49a3714baf36083f88654f0e27fe7', class: "bs-ai-greeting__heading-line" }, "your AI assistant.")), h("p", { key: 'dbed3603ab646f0d5dc88a845d944089d1d2b134', part: "subtext", class: "bs-ai-greeting__subtext" }, subtext)));
47
47
  }
48
48
  static get is() { return "bs-ai-greeting"; }
49
49
  static get encapsulation() { return "shadow"; }
@@ -29,7 +29,7 @@ export class BsAiThinking {
29
29
  /** The status text shown next to the icon, e.g. "Retrieving", "Thinking", "Searching". */
30
30
  label = 'Thinking';
31
31
  render() {
32
- return (h("div", { key: 'dec2c3f68428169df0c5e264d0cc8f250aa605ad', class: "bs-ai-thinking", role: "status", "aria-live": "polite" }, h("img", { key: 'de52d7c41b6bf99ec5f564949f5507725e1e8195', part: "icon", class: "bs-ai-thinking__icon", src: GENIE_MARK_ICON, alt: "", "aria-hidden": "true" }), h("span", { key: 'c42e32af0b9b7877a091ade0348b81456a2068b2', part: "label", class: "bs-ai-thinking__label" }, this.label)));
32
+ return (h("div", { key: '3098d1bcfbba354869496949c32b7029ef6bd3a0', class: "bs-ai-thinking", role: "status", "aria-live": "polite" }, h("img", { key: '84f044cbacd3688152f9de7286e5aff9554c8e91', part: "icon", class: "bs-ai-thinking__icon", src: GENIE_MARK_ICON, alt: "", "aria-hidden": "true" }), h("span", { key: 'a66438fb6f75d993b5930c8ba1c1061ade66c74d', part: "label", class: "bs-ai-thinking__label" }, this.label)));
33
33
  }
34
34
  static get is() { return "bs-ai-thinking"; }
35
35
  static get encapsulation() { return "shadow"; }
@@ -58,7 +58,7 @@ export class BsAttachmentList {
58
58
  this.canScrollRight = row.scrollWidth - row.clientWidth - row.scrollLeft > 1;
59
59
  };
60
60
  render() {
61
- return (h("div", { key: '9b2d1b9dd30215c6703c56bb90dba89830e85abb', class: "bs-attachment-list" }, h("div", { key: '270869759cf89caf5d813cc062bb2721ca0e5ccd', part: "row", class: "bs-attachment-list__row", ref: el => (this.row = el), onScroll: this.onScroll, role: "group", "aria-label": this.ariaLabel, tabIndex: 0 }, h("slot", { key: 'b2d8229ffa9fc839c6c1a96f7ce9aaa38dd036f4', onSlotchange: this.onSlotchange })), this.canScrollRight && h("div", { key: '63cee7b78eec41fc63f1132a010f487eefe90ba1', part: "fade", class: "bs-attachment-list__fade", "aria-hidden": "true" })));
61
+ return (h("div", { key: 'f0ae8f5ebc9949e9c5b799f4567b9e562bf7691a', class: "bs-attachment-list" }, h("div", { key: 'b0e4b97c9eefa51fb9eed6cf670ecda4587384b8', part: "row", class: "bs-attachment-list__row", ref: el => (this.row = el), onScroll: this.onScroll, role: "group", "aria-label": this.ariaLabel, tabIndex: 0 }, h("slot", { key: '176636c8e97cfd174204d6e74d1daaa743af5b2c', onSlotchange: this.onSlotchange })), this.canScrollRight && h("div", { key: '0254f23dc3571e7e3470b9ffdbbf2d5b10f8dce3', part: "fade", class: "bs-attachment-list__fade", "aria-hidden": "true" })));
62
62
  }
63
63
  static get is() { return "bs-attachment-list"; }
64
64
  static get encapsulation() { return "shadow"; }
@@ -54,7 +54,7 @@ export class BsBreadcrumbs {
54
54
  });
55
55
  }
56
56
  render() {
57
- return (h("nav", { key: 'e0255e54ec2355682fb37d01c44cd43594354f8c', "aria-label": this.label }, h("ol", { key: '944b432ac94940609b6eaad964556ec303722d3a', part: "list", class: "bs-breadcrumbs__list" }, h("slot", { key: '4b6e159b32f05a480f0573437cf36bb094a593c6', onSlotchange: this.onSlotChange }))));
57
+ return (h("nav", { key: '1d2a884ed591fec3dd164c8bdf2a3050187f2fac', "aria-label": this.label }, h("ol", { key: '1b839b42f72a06a739733ca3a75303c0454f3a97', part: "list", class: "bs-breadcrumbs__list" }, h("slot", { key: '58c829377cf81e2a429d103a7f372d2d5dadf8a5', onSlotchange: this.onSlotChange }))));
58
58
  }
59
59
  static get is() { return "bs-breadcrumbs"; }
60
60
  static get encapsulation() { return "shadow"; }
@@ -25,7 +25,7 @@ export class BsButtonSkeleton {
25
25
  /** Sizing scale, matching the `bs-button` size it stands in for. */
26
26
  size = 'md';
27
27
  render() {
28
- return h("span", { key: '5f8f84b3b82e4c88a2308a9d9cfd0d8dfb50e876', part: "container", class: `bs-button-skeleton bs-button-skeleton--${this.size}`, role: "status", "aria-label": "Loading" });
28
+ return h("span", { key: '4a08242dee8f135807ce7f73433db4ca83d16711', part: "container", class: `bs-button-skeleton bs-button-skeleton--${this.size}`, role: "status", "aria-label": "Loading" });
29
29
  }
30
30
  static get is() { return "bs-button-skeleton"; }
31
31
  static get encapsulation() { return "shadow"; }
@@ -123,7 +123,7 @@ export class BsChatbotFeedback {
123
123
  }
124
124
  render() {
125
125
  const stars = [1, 2, 3, 4, 5];
126
- return (h("div", { key: 'e2c53e479c52e5a7e21dd6b010863cfed34f523b', class: "bs-chatbot-feedback", role: "region", "aria-label": this.computedHeading() }, h("button", { key: '7ea071eb0f77718b1f41c2c40181c61e5114f339', type: "button", part: "close", class: "bs-chatbot-feedback__close", "aria-label": "Close", onClick: this.onCloseClick }, h(CloseIcon, { key: '39d490c84008bc1a949a497c6606ce3789c39701' })), h("div", { key: '0030328128dad8a52a5f9c8393d82c6522bc5543', class: "bs-chatbot-feedback__top" }, h("div", { key: '8e53604efefeb014a947ac6559574df74ce21293', class: "bs-chatbot-feedback__text" }, h("p", { key: '6a69d8d8d66802db883d6ca7c6a7c218cca9baa8', part: "heading", class: "bs-chatbot-feedback__heading" }, this.computedHeading()), h("p", { key: '6facf10badd690adeaf33058af4e2e5104ba92c8', part: "subtitle", class: "bs-chatbot-feedback__subtitle" }, this.computedSubtitle())), h("div", { key: 'c933517d5e5bafcdeae73d3a6b85e1bcee6955b2', class: "bs-chatbot-feedback__stars", role: "radiogroup", "aria-label": "Rating" }, stars.map(value => (h("button", { type: "button", part: "star", class: "bs-chatbot-feedback__star", role: "radio", "aria-checked": (this.rating >= value).toString(), "aria-label": `${value} star${value > 1 ? 's' : ''}`, disabled: this.submitted, onClick: () => this.onStarClick(value) }, h(StarIcon, { filled: this.rating >= value }))))), !this.submitted && (h("div", { key: '09872bfeb1d6df31149ead5c14befa27ed8a94cf', class: "bs-chatbot-feedback__field" }, h("label", { key: '5e45545e6c36ffeda32438689d43fd4f4cd57754', part: "label", class: "bs-chatbot-feedback__label", htmlFor: "bs-chatbot-feedback-comment" }, "Tell us what you think"), h("textarea", { key: 'db1eb08051b7d12c2397d91308a1ddc96a335686', part: "textarea", id: "bs-chatbot-feedback-comment", class: "bs-chatbot-feedback__textarea", placeholder: "e.g.The response was helpful ....", value: this.comment, onInput: this.onCommentInput }))), this.submitted && this.comment && (h("p", { key: '888f86568ba57fb93771150ff59952923af0ae4c', part: "comment", class: "bs-chatbot-feedback__comment" }, this.comment))), h("div", { key: '7027d27f3c5dcbac0fe97ad130c9e4bf424a9103', class: "bs-chatbot-feedback__actions" }, !this.submitted && (h("button", { key: 'c410bbe6a1dd85d9c03f689ac8921d90f5bd63e2', type: "button", part: "submit", class: "bs-chatbot-feedback__submit", disabled: this.rating === 0, onClick: this.onSubmitClick }, h(SendIcon, { key: '9a098a14cf2e04c73e02c4ef0f75da4e23529da4' }), "Submit feedback")), h("button", { key: '810c89a2b8b4b5b9c14aa5368ed2365c98b839a7', type: "button", part: "new-chat", class: `bs-chatbot-feedback__new-chat ${this.submitted ? 'bs-chatbot-feedback__new-chat--primary' : 'bs-chatbot-feedback__new-chat--outlined'}`, onClick: this.onNewChatClick }, h(EditIcon, { key: '7c86efd66631a8a0fdd7acc5c754dddd0f42aab8' }), "Start new chat"))));
126
+ return (h("div", { key: '70fa15615edf82f3072ce2b70f40acc26581d357', class: "bs-chatbot-feedback", role: "region", "aria-label": this.computedHeading() }, h("button", { key: 'a12a1bc4a979a341f196d1bb5c7b339b71921adb', type: "button", part: "close", class: "bs-chatbot-feedback__close", "aria-label": "Close", onClick: this.onCloseClick }, h(CloseIcon, { key: 'c43b62f1171655ceb70cc9381f48ca70ac713b42' })), h("div", { key: '478edae3eaed5bc24509dee4a5de1330609418b8', class: "bs-chatbot-feedback__top" }, h("div", { key: '5e2e27ec77d323275928d02eda1233ada161767e', class: "bs-chatbot-feedback__text" }, h("p", { key: 'b8a797d6b7ea99698d4a50d77df2c2f39b197fb5', part: "heading", class: "bs-chatbot-feedback__heading" }, this.computedHeading()), h("p", { key: '47245dbc477cad19404a44ea105a628bcfd26986', part: "subtitle", class: "bs-chatbot-feedback__subtitle" }, this.computedSubtitle())), h("div", { key: 'ff977860ca700ec52902c2fdccce2d61d026bb17', class: "bs-chatbot-feedback__stars", role: "radiogroup", "aria-label": "Rating" }, stars.map(value => (h("button", { type: "button", part: "star", class: "bs-chatbot-feedback__star", role: "radio", "aria-checked": (this.rating >= value).toString(), "aria-label": `${value} star${value > 1 ? 's' : ''}`, disabled: this.submitted, onClick: () => this.onStarClick(value) }, h(StarIcon, { filled: this.rating >= value }))))), !this.submitted && (h("div", { key: 'ee1259121b2adb9d697fb44413ae98ba45ffd2fe', class: "bs-chatbot-feedback__field" }, h("label", { key: '6092b767faf76ea377a2b98752b1e544664d6d15', part: "label", class: "bs-chatbot-feedback__label", htmlFor: "bs-chatbot-feedback-comment" }, "Tell us what you think"), h("textarea", { key: '384a13781db62cf3f62b6ad06b4d6b329b320c1f', part: "textarea", id: "bs-chatbot-feedback-comment", class: "bs-chatbot-feedback__textarea", placeholder: "e.g.The response was helpful ....", value: this.comment, onInput: this.onCommentInput }))), this.submitted && this.comment && (h("p", { key: '15fddc08668bc3a74bad663f38e7217e6bc81abc', part: "comment", class: "bs-chatbot-feedback__comment" }, this.comment))), h("div", { key: 'bbedf1924f505e3ddfef44064087a22b7cf6a7fd', class: "bs-chatbot-feedback__actions" }, !this.submitted && (h("button", { key: '47a55de319cded45e550ca405c5e37f4394d51f5', type: "button", part: "submit", class: "bs-chatbot-feedback__submit", disabled: this.rating === 0, onClick: this.onSubmitClick }, h(SendIcon, { key: 'd4bc9834d37ab6988b8f28e2f4fce6e1a138c970' }), "Submit feedback")), h("button", { key: '5d33d5686b28229ebc5154287bee88410fdd7ede', type: "button", part: "new-chat", class: `bs-chatbot-feedback__new-chat ${this.submitted ? 'bs-chatbot-feedback__new-chat--primary' : 'bs-chatbot-feedback__new-chat--outlined'}`, onClick: this.onNewChatClick }, h(EditIcon, { key: '8aae8a6cf36c352384879bbd791c71cea7b6adf6' }), "Start new chat"))));
127
127
  }
128
128
  static get is() { return "bs-chatbot-feedback"; }
129
129
  static get encapsulation() { return "shadow"; }
@@ -74,7 +74,7 @@ export class BsChatbotHeader {
74
74
  this.bsClose.emit();
75
75
  };
76
76
  render() {
77
- return (h("div", { key: '5dfec82f3287604e96f4cedf88572c4e125c6a25', class: "bs-chatbot-header", role: "banner", "aria-label": this.heading }, h("div", { key: '0b6150aed7641ad4784f6da5c88310ebb4b697fb', part: "logo", class: "bs-chatbot-header__logo", role: "img", "aria-label": this.heading, innerHTML: GENIE_LOGO_SVG }), h("div", { key: '32f82e9f0a7caac8005270b8e7fddb51958db6ef', class: "bs-chatbot-header__actions" }, h("span", { key: '850e437877cc7a38d94fe915cdb36508823d6bb5', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: 'cc223071ce84b4279d383e9ed489af4cd29c5400', type: "button", part: "new-chat", class: "bs-chatbot-header__button", "aria-label": "New chat", onClick: this.onNewChatClick }, h("slot", { key: 'c1cf2e98f1fe70050c1cdc86626d818954987fd3', name: "new-chat-icon" }, h(NewChatIcon, { key: '3195d3c48fadb448eeed765bfc4634afa7259e58' }))), h("bs-tooltip", { key: 'e60f561f7837a4c2c6e3c660a0b42fbf760a9b45', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, "New chat")), h("span", { key: 'b1892cec33d77a20f18b2f4d24a43bfa8960bccc', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: '8391cd76856dd02a27097f37ffc4988f7f22e0e9', type: "button", part: "history", class: "bs-chatbot-header__button", "aria-label": "History", onClick: this.onHistoryClick }, h("slot", { key: 'bdfa76904127ed12872b32b306de25f07e24b143', name: "history-icon" }, h(HistoryIcon, { key: '03a0274814c4ab48cfc1079ab7a68d23cc14cc2b' }))), h("bs-tooltip", { key: 'c24f6a546611a2d5eff5f1b8d6db36696f3247c6', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, "History")), h("span", { key: '735bf2953d83ab2f64fc6d5f7a2b0e0fc615c1a3', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: '93ebb0b2211c9dab1caccc34d3d22630b77bbb35', type: "button", part: "expand", class: "bs-chatbot-header__button", "aria-label": this.expanded ? 'Collapse' : 'Expand', "aria-pressed": this.expanded ? 'true' : 'false', onClick: this.onExpandClick }, h("slot", { key: 'f33c3762fe0cb122a12fbdc6e82f2e6aa2b8dfd5', name: "expand-icon" }, h(ExpandIcon, { key: '29b06bcab56fc11322fa142a826f75740a737213' }))), h("bs-tooltip", { key: '771b316816cdab7f119f4e1c5bc86f3a7e3a5714', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, this.expanded ? 'Collapse' : 'Expand')), h("span", { key: '7d2c13b669e54e81a5be120ed9f083742e507645', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: '37a176ca2b413927ceb89bb35c386d05ad3368e9', type: "button", part: "close", class: "bs-chatbot-header__button", "aria-label": "Close", onClick: this.onCloseClick }, h("slot", { key: 'ce00fb1c1e30e125fcbe50c7e936d929847aa176', name: "close-icon" }, h(CloseIcon, { key: '78cbf21b668cc7db478cb6a84383a734c00d790b' }))), h("bs-tooltip", { key: '298dceb184e4581c3b46da8197b59e84074e1dc8', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, "Close")))));
77
+ return (h("div", { key: '7e7f71caf75675cce3f178bc4fa9e0a3d53aa812', class: "bs-chatbot-header", role: "banner", "aria-label": this.heading }, h("div", { key: '0ea7c7057d12cfb1ad1824266cbd4d973d3fce38', part: "logo", class: "bs-chatbot-header__logo", role: "img", "aria-label": this.heading, innerHTML: GENIE_LOGO_SVG }), h("div", { key: '6ba043cbd01052d028bcd45ef69d35f3b7e666e4', class: "bs-chatbot-header__actions" }, h("span", { key: '08cb7c189fb35039de90fa230058e8a445661f99', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: 'e2b1ac039f0ae5e50cadd61c423653442f5ad728', type: "button", part: "new-chat", class: "bs-chatbot-header__button", "aria-label": "New chat", onClick: this.onNewChatClick }, h("slot", { key: 'e7e4830b66fcf8d0c2dd85534e040e92f104b3eb', name: "new-chat-icon" }, h(NewChatIcon, { key: '238d9446d2f77c35a3e990e753bbb7cafc96e037' }))), h("bs-tooltip", { key: 'af242e0e02fb8d03aaa4e3e39827b4213bffdfc1', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, "New chat")), h("span", { key: '939bbe2882807f0d3fc45d3e3e0dbf28771d8312', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: '858d8efa957530d463688e7fbfa610ab034a9337', type: "button", part: "history", class: "bs-chatbot-header__button", "aria-label": "History", onClick: this.onHistoryClick }, h("slot", { key: '6f62828c4aec75607922f4351dd32c44c0698bbf', name: "history-icon" }, h(HistoryIcon, { key: '03c85067f778f7a6ddd601e18c71def40d6a64e7' }))), h("bs-tooltip", { key: 'd06e0655156bb6b2ddd1ac825541d4380111c204', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, "History")), h("span", { key: '42e78539d529cea0a19f6f5b1457d1a48bd62f19', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: 'fa0796a28a0a7a6f72ec48e44acd9d257e897529', type: "button", part: "expand", class: "bs-chatbot-header__button", "aria-label": this.expanded ? 'Collapse' : 'Expand', "aria-pressed": this.expanded ? 'true' : 'false', onClick: this.onExpandClick }, h("slot", { key: '369cff5533e420992608351dff1943daff352c25', name: "expand-icon" }, h(ExpandIcon, { key: '2aedcdbfd7a372454b39f4b17e7468f3e2b3cf0c' }))), h("bs-tooltip", { key: '53c2311bd5e8af8a20138eaa6a6dd3a562444a8d', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, this.expanded ? 'Collapse' : 'Expand')), h("span", { key: 'd10e2419f9fcb9fc73cc4fe00a17ef5496d904dc', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: 'c441d3a39bca00357f673ae6814fab78143e1c6b', type: "button", part: "close", class: "bs-chatbot-header__button", "aria-label": "Close", onClick: this.onCloseClick }, h("slot", { key: '3b9f99bb50fc55ddcc57ccaf4a173ae57de4b48c', name: "close-icon" }, h(CloseIcon, { key: 'dbac72f3e57dc18afe79669227cad5f09f69da3f' }))), h("bs-tooltip", { key: 'eab5277e0aabccad8f0d831c679e7b9fad1e5740', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, "Close")))));
78
78
  }
79
79
  static get is() { return "bs-chatbot-header"; }
80
80
  static get encapsulation() { return "shadow"; }
@@ -105,7 +105,7 @@ export class BsChatbotResponseAction {
105
105
  };
106
106
  render() {
107
107
  const hasSources = !!this.sourcesCount && this.sourcesCount > 0;
108
- return (h("div", { key: 'c15cc3a766e35be488da4b12bf723f03319eae99', class: "bs-chatbot-response-action" }, h("button", { key: 'bbe4c344d999149241bf01b59312e0067f4c506b', type: "button", part: "like", class: "bs-chatbot-response-action__button", "aria-label": "Like", onClick: this.onLikeClick }, h("slot", { key: '71305d3ca5a846f04e14d347a2a20df223476e72', name: "like-icon" }, h(ThumbsUpIcon, { key: '27bab65b5dcc421c073e5c6059ee93dcb9f240e5' }))), h("button", { key: '49fb53820c2897ea08ca02323d15c51eb01e8ee7', type: "button", part: "dislike", class: "bs-chatbot-response-action__button", "aria-label": "Dislike", onClick: this.onDislikeClick }, h("slot", { key: 'daefb77861d29f33489bde4d421586dc11cca122', name: "dislike-icon" }, h(ThumbsDownIcon, { key: '438a1002406f1a6275eb3b25dacb70aa102666b2' }))), h("button", { key: 'decf278674a50c0ff2916f7d6ee453789bd0446e', type: "button", part: "copy", class: "bs-chatbot-response-action__button", "aria-label": "Copy", onClick: this.onCopyClick }, h("slot", { key: '062eaa99d2f41f0f989939bc89266de8e54ed42d', name: "copy-icon" }, h(CopyIcon, { key: '98594b5cfba143d72d872c7a7a0e19c0d56085a4' }))), h("button", { key: '7b84279224fc9aa5ccb33b8254a777b934ebae06', type: "button", part: "regenerate", class: "bs-chatbot-response-action__button", "aria-label": "Regenerate", onClick: this.onRegenerateClick }, h("slot", { key: 'dd903ba58db6e7d15e5805c4a1d2e71d1ace2b9d', name: "regenerate-icon" }, h(RegenerateIcon, { key: 'e992a8c626bf5e47af8c8e5f6c815aa7f1400b11' }))), h("div", { key: 'd0f17f4dd1f0180a48fda6b58bd3f0c1f882ffd7', class: "bs-chatbot-response-action__menu-wrapper" }, h("button", { key: 'e0053f4919e3225d8718384d993272287f2b4127', type: "button", part: "menu", class: "bs-chatbot-response-action__button", "aria-label": "More options", "aria-haspopup": "menu", "aria-expanded": this.menuOpen ? 'true' : 'false', onClick: this.onMenuClick }, h("slot", { key: '2dd181588120f6fb53444687a802ab348e98ca10', name: "menu-icon" }, h(MenuIcon, { key: 'b283baf6f54bce2d521c7b557ebf72f69c91e3fe' }))), this.menuOpen && (h("div", { key: '751a5ccbc9ea79b4b350cb2406132751334260a9', class: "bs-chatbot-response-action__menu-popup" }, h("slot", { key: '2af8bdb559468514e300e3aa840f2021384de021', name: "menu" })))), hasSources && (h("button", { key: 'ca88da48fc486e77f9727aaa2f94df629dd97bb6', type: "button", part: "sources", class: "bs-chatbot-response-action__sources", onClick: this.onSourcesClick }, h("slot", { key: 'db1b6edddaa0e8ee12a71a08bea5b16701820947', name: "sources-icon" }, h(SourcesIcon, { key: 'ae3a163e2f280985baba92b9d4efc28129acf0e5' })), h("span", { key: '1b389177029e2f090e6aa78b5d8128b8dc7f2d3e', class: "bs-chatbot-response-action__sources-label" }, this.sourcesCount, " ", this.sourcesCount === 1 ? 'source' : 'sources')))));
108
+ return (h("div", { key: 'a5a577b57036f3507bd382142d59aa5cfb5d1a10', class: "bs-chatbot-response-action" }, h("button", { key: 'd5d7682b13210606a9d73b04666fb5286241a71b', type: "button", part: "like", class: "bs-chatbot-response-action__button", "aria-label": "Like", onClick: this.onLikeClick }, h("slot", { key: '57d73923eaf8ed0ca1f014378316edf17510c466', name: "like-icon" }, h(ThumbsUpIcon, { key: 'e2ecc2cefe28cf928456958a65dfdbe58498a5ed' }))), h("button", { key: '0be83348e74004b96ed3d70747cf80aff49c55b5', type: "button", part: "dislike", class: "bs-chatbot-response-action__button", "aria-label": "Dislike", onClick: this.onDislikeClick }, h("slot", { key: 'a2534fbac754be7c70e2a701409d0a4e3de6f4f3', name: "dislike-icon" }, h(ThumbsDownIcon, { key: 'fd1d3fb6cba214c58ac3aef3c586c9acda898b42' }))), h("button", { key: 'f22e29329216f08ac7239d70be7e2404e5c6cf74', type: "button", part: "copy", class: "bs-chatbot-response-action__button", "aria-label": "Copy", onClick: this.onCopyClick }, h("slot", { key: '5b09286141378e540dad9f1c46cb8955ba6c45a2', name: "copy-icon" }, h(CopyIcon, { key: '89530dbef867c50eb6a89d44e9c1e9f0d0054710' }))), h("button", { key: '8c3795a99e154af1d9c549b33e308ce023ede273', type: "button", part: "regenerate", class: "bs-chatbot-response-action__button", "aria-label": "Regenerate", onClick: this.onRegenerateClick }, h("slot", { key: '44380d96f15e7e34306c671f73445c599b555c2d', name: "regenerate-icon" }, h(RegenerateIcon, { key: '2889133104c33c9534b65ccac3bef2d5e9e62215' }))), h("div", { key: 'a8ca7cae6645d86de3c8cec97327592dc64f84c5', class: "bs-chatbot-response-action__menu-wrapper" }, h("button", { key: '635e247f931a9b850b517a0278f94dec6af06024', type: "button", part: "menu", class: "bs-chatbot-response-action__button", "aria-label": "More options", "aria-haspopup": "menu", "aria-expanded": this.menuOpen ? 'true' : 'false', onClick: this.onMenuClick }, h("slot", { key: 'f6fd17940a559fad1f3fe345932990c25dbbd175', name: "menu-icon" }, h(MenuIcon, { key: '42a1c62cfa3335cb3ff18f786d623fb24b85e22e' }))), this.menuOpen && (h("div", { key: 'dbae73386c940b6634e0b6965e29cebcb22894d4', class: "bs-chatbot-response-action__menu-popup" }, h("slot", { key: '80510a0aaf42bb82c62733f6a1fb0a170cbaafc1', name: "menu" })))), hasSources && (h("button", { key: 'dd97c3a10903a43af26fbc410b70c2d3537978ac', type: "button", part: "sources", class: "bs-chatbot-response-action__sources", onClick: this.onSourcesClick }, h("slot", { key: '6714d2472df74279948428cc21cf1f52b9be30e7', name: "sources-icon" }, h(SourcesIcon, { key: '0b1f75683249b1adf41e0876285ba60bc4798b00' })), h("span", { key: '6d6bcee3ea127b0d184263bad68df17a56f08d5f', class: "bs-chatbot-response-action__sources-label" }, this.sourcesCount, " ", this.sourcesCount === 1 ? 'source' : 'sources')))));
109
109
  }
110
110
  static get is() { return "bs-chatbot-response-action"; }
111
111
  static get encapsulation() { return "shadow"; }
@@ -57,7 +57,7 @@ export class BsChatbotSourcesDrawer {
57
57
  };
58
58
  render() {
59
59
  const displayCount = this.count ?? this.slottedCount;
60
- return (h("div", { key: '7e7d4e927e584807577e02ab2d6811b8eb26d850', class: "bs-chatbot-sources-drawer", role: "region", "aria-label": this.heading }, h("div", { key: '3feb972675a7472bfd49f0164c8af1767ce82af0', class: "bs-chatbot-sources-drawer__header" }, h("div", { key: '5b0f70d84ba6656fcb516cb53fbc63150d013059', class: "bs-chatbot-sources-drawer__title-group" }, h("h2", { key: '6913fb84bc901a8538f74096f74df98103a87b35', part: "heading", class: "bs-chatbot-sources-drawer__heading" }, this.heading), displayCount > 0 && (h("span", { key: '6eda1f962cd7bfc8bd120454988372590784458b', part: "count", class: "bs-chatbot-sources-drawer__count" }, displayCount))), h("button", { key: '7db71240b8e5150de1e4e8f68e0d9b0bce7788c5', type: "button", part: "collapse", class: "bs-chatbot-sources-drawer__collapse", "aria-label": "Collapse sources", onClick: this.onCollapseClick }, h("slot", { key: '79c14cfe115966d1e53e0f9c673393128211bb85', name: "collapse-icon" }, h(CaretRightIcon, { key: 'e5f316c75642b5ec23c46d3ae6361c97cabee2a7' })))), h("div", { key: 'fec3cbebcc8522f84fdb4ba20c8b463d322116c9', part: "list", class: "bs-chatbot-sources-drawer__list" }, h("slot", { key: '8c23cd4194267439fa5f903ff33bc090771007c4', onSlotchange: this.onSlotchange }))));
60
+ return (h("div", { key: 'ab5e52fcb47131dc7892d8ee7f7ed8a4f08b6d09', class: "bs-chatbot-sources-drawer", role: "region", "aria-label": this.heading }, h("div", { key: '8796c29ea6b2526172db45138a0e0ce2a5c42a9a', class: "bs-chatbot-sources-drawer__header" }, h("div", { key: '68c88eda8a6177381f0876a8793df56ac0184f97', class: "bs-chatbot-sources-drawer__title-group" }, h("h2", { key: 'c45cf3bbc19e1b823dc3fb5a4d8054adaaad9cd8', part: "heading", class: "bs-chatbot-sources-drawer__heading" }, this.heading), displayCount > 0 && (h("span", { key: '233322ff5aeec5cd0c83ba8b19dff4d69d3a815f', part: "count", class: "bs-chatbot-sources-drawer__count" }, displayCount))), h("button", { key: '430d248b87ce7f6ec4dfe215e9f5b59f00cfa6f5', type: "button", part: "collapse", class: "bs-chatbot-sources-drawer__collapse", "aria-label": "Collapse sources", onClick: this.onCollapseClick }, h("slot", { key: '653546edda2ca9c971fa81b49073792392f5401b', name: "collapse-icon" }, h(CaretRightIcon, { key: '8b43f2c17ef1604e38ed28bf418493a06671fa3f' })))), h("div", { key: '200db381a1beff3bc3ac3e3851a398c26049a144', part: "list", class: "bs-chatbot-sources-drawer__list" }, h("slot", { key: 'e8f1c5085c069fc007881ae7be228cc3bec50516', onSlotchange: this.onSlotchange }))));
61
61
  }
62
62
  static get is() { return "bs-chatbot-sources-drawer"; }
63
63
  static get encapsulation() { return "shadow"; }
@@ -45,7 +45,7 @@ export class BsChatbotSuggestionButton {
45
45
  this.bsSelect.emit();
46
46
  };
47
47
  render() {
48
- return (h("button", { key: '0a980666835a143d72291370b4575d069964a477', type: "button", part: "button", class: "bs-chatbot-suggestion-button", disabled: this.disabled, onClick: this.onClick }, h("slot", { key: '76a4e8f5773259d52c34d46a6eb8a63b32bfc647' })));
48
+ return (h("button", { key: '480879357259eb51958f342800e1a367beea634d', type: "button", part: "button", class: "bs-chatbot-suggestion-button", disabled: this.disabled, onClick: this.onClick }, h("slot", { key: '79c5164455cf06cbb2d4334f27a883c31757878b' })));
49
49
  }
50
50
  static get is() { return "bs-chatbot-suggestion-button"; }
51
51
  static get encapsulation() { return "shadow"; }
@@ -33,7 +33,7 @@ export class BsCheckboxSkeleton {
33
33
  * (unusual) default `bs-checkbox` itself uses. */
34
34
  size = 'lg';
35
35
  render() {
36
- return (h("span", { key: '48c41b6a2367d0d25c2613bcb0a7351e4a6008c5', part: "container", class: "bs-checkbox-skeleton", role: "status", "aria-label": "Loading" }, h("span", { key: '9b70627ab11ab9488f3293c3773887e8517e67e5', part: "box", class: `bs-checkbox-skeleton__box bs-checkbox-skeleton__box--${this.size}` }), h("span", { key: 'e520369b9d4ced5c85089ae13ce97d42b4e7b344', part: "label", class: "bs-checkbox-skeleton__label" })));
36
+ return (h("span", { key: '4f03edea0ccdd12a7956d8ea66489aa5ea2049eb', part: "container", class: "bs-checkbox-skeleton", role: "status", "aria-label": "Loading" }, h("span", { key: '35acfd9f5b5f6094d833a339771d02fb7dadecb4', part: "box", class: `bs-checkbox-skeleton__box bs-checkbox-skeleton__box--${this.size}` }), h("span", { key: '6fe0a18b4d34898a8f516c0fb01710c08b30a208', part: "label", class: "bs-checkbox-skeleton__label" })));
37
37
  }
38
38
  static get is() { return "bs-checkbox-skeleton"; }
39
39
  static get encapsulation() { return "shadow"; }
@@ -341,10 +341,10 @@ export class BsInput {
341
341
  return (h("div", { part: "field", class: `bs-input__field bs-input__field--pin ${errorClass} ${disabledClass}` }, Array.from({ length: this.length }).map((_, i) => (h("input", { id: i === 0 ? 'control' : undefined, ref: el => (this.pinInputs[i] = el), part: "control", class: "bs-input__pin-cell", type: "text", inputMode: "numeric", maxLength: 1, value: this.value[i] ?? '', disabled: this.disabled, "aria-required": this.required ? 'true' : undefined, onInput: this.onPinInput(i), onKeyDown: this.onPinKeydown(i) })))));
342
342
  }
343
343
  render() {
344
- return (h("div", { key: 'd9cf2c23e899ddf058e58e17856ff45fbc94aefe', class: `bs-input ${this.error ? 'bs-input--error' : ''}` }, this.label && (
344
+ return (h("div", { key: '29c5fb5ff9425d70dd8455a191c84812fdc44956', class: `bs-input ${this.error ? 'bs-input--error' : ''}` }, this.label && (
345
345
  // "control" is a fixed id, not a generated one -- safe because Shadow DOM scopes ids
346
346
  // to this instance's own shadow root, so it can never collide with another bs-input.
347
- h("label", { key: '717e519713f58bf226319378415e2c52fbfddfb1', part: "label", class: "bs-input__label", htmlFor: "control" }, this.label, this.required && (h("span", { key: 'e3352ca754e5d579bfbda81c14ea491d4091c80c', part: "required", class: "bs-input__required", "aria-hidden": "true" }, "*")))), this.type === 'pin' ? this.renderPinField() : this.type === 'initials' ? this.renderInitialsField() : this.renderField(), this.error ? (h("span", { id: "description-or-error", part: "error", class: "bs-input__error" }, h("svg", { part: "error-icon", class: "bs-input__error-icon", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, h("circle", { cx: "8", cy: "8", r: "6.5", stroke: "currentColor", "stroke-width": "1.2" }), h("path", { d: "M8 5V8.5", stroke: "currentColor", "stroke-width": "1.2", "stroke-linecap": "round" }), h("circle", { cx: "8", cy: "11", r: "0.75", fill: "currentColor" })), this.error)) : this.description ? (h("span", { id: "description-or-error", part: "description", class: "bs-input__description" }, this.description)) : null));
347
+ h("label", { key: '8da819da9b93e2aec33461677e62dc82021d7a02', part: "label", class: "bs-input__label", htmlFor: "control" }, this.label, this.required && (h("span", { key: '0abd96f57861eb8a8c41cf7181e11f3b44e195e5', part: "required", class: "bs-input__required", "aria-hidden": "true" }, "*")))), this.type === 'pin' ? this.renderPinField() : this.type === 'initials' ? this.renderInitialsField() : this.renderField(), this.error ? (h("span", { id: "description-or-error", part: "error", class: "bs-input__error" }, h("svg", { part: "error-icon", class: "bs-input__error-icon", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true" }, h("circle", { cx: "8", cy: "8", r: "6.5", stroke: "currentColor", "stroke-width": "1.2" }), h("path", { d: "M8 5V8.5", stroke: "currentColor", "stroke-width": "1.2", "stroke-linecap": "round" }), h("circle", { cx: "8", cy: "11", r: "0.75", fill: "currentColor" })), this.error)) : this.description ? (h("span", { id: "description-or-error", part: "description", class: "bs-input__description" }, this.description)) : null));
348
348
  }
349
349
  static get is() { return "bs-input"; }
350
350
  static get encapsulation() { return "shadow"; }
@@ -22,7 +22,7 @@ import { h } from "@stencil/core";
22
22
  */
23
23
  export class BsMenu {
24
24
  render() {
25
- return (h("div", { key: '3eec5b00fa0448900321d3f0b4b60f924b404c82', part: "list", class: "bs-menu", role: "menu" }, h("slot", { key: '4ba792af9042becd0b4dc9733fb835e2e9429442' })));
25
+ return (h("div", { key: 'dd742f65c43d51805fff4b77412e12d8d8704e3f', part: "list", class: "bs-menu", role: "menu" }, h("slot", { key: '395c901d030847b07a0936a16bef43ce4c3931cd' })));
26
26
  }
27
27
  static get is() { return "bs-menu"; }
28
28
  static get encapsulation() { return "shadow"; }
@@ -47,7 +47,7 @@ export class BsMenuItem {
47
47
  this.bsSelect.emit();
48
48
  };
49
49
  render() {
50
- return (h("button", { key: '7f167cd83f9a8eeae18f128355d5ffb8f436ac79', 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: '4df57b5696b2c4853f6ea94b0316b6ae5094708b', part: "icon", class: `bs-menu-item__icon ${this.hasIcon ? 'bs-menu-item__icon--has-content' : ''}` }, h("slot", { key: '31a576332ed664d476376d1ae526dea00f6b9a3d', name: "icon", onSlotchange: this.onIconSlotchange })), h("span", { key: 'fc59ab3bb2c7229a97c3aff9a0442e8c3d346e96', part: "label", class: "bs-menu-item__label" }, h("slot", { key: '1d295c872f60b32e8230acbc2f63474b4d869bc8' }))));
50
+ return (h("button", { key: '537a4ef632ef8acf72b0cf7747ade28ba307e1ef', 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: '67bb25d41e2066f9e9d2fd106ebb24b3eecdce63', part: "icon", class: `bs-menu-item__icon ${this.hasIcon ? 'bs-menu-item__icon--has-content' : ''}` }, h("slot", { key: 'df844ec5fefff0e64624681f5fddc245fc18d426', name: "icon", onSlotchange: this.onIconSlotchange })), h("span", { key: 'b657fb13e0a437ecc7300816cbffb91f7668c665', part: "label", class: "bs-menu-item__label" }, h("slot", { key: '273220d5e7c90aae4d677c634f534897c8b980c6' }))));
51
51
  }
52
52
  static get is() { return "bs-menu-item"; }
53
53
  static get encapsulation() { return "shadow"; }
@@ -87,7 +87,7 @@ export class BsPagination {
87
87
  }
88
88
  render() {
89
89
  const pageList = this.getPageList();
90
- return (h("nav", { key: 'd9f5e2b792e86a7d4d2571986a4fac1ae4f44fdc', "aria-label": "Pagination" }, h("ul", { key: 'cd277ba70a358c6425ed507378190373f4e39ecc', part: "list", class: "bs-pagination__list" }, h("li", { key: 'a0a1071f87a56c4c7c060261382ab70a4dc8c1fa', part: "item", class: "bs-pagination__item" }, h("button", { key: '6a6f0a0141db4c12f9a3d39c6ae609d003be308a', 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: '8687c2b631c801a89104718f370ac811d75b6ba4' }))), 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": `Go to page ${item}`, "aria-current": item === this.currentPage ? 'page' : undefined, onClick: () => this.goToPage(item) }, item)))), h("li", { key: '27dfa774e3e541706a45a8d078c6ce1299128733', part: "item", class: "bs-pagination__item" }, h("button", { key: 'eaf59317f590798049f9206596b7ffd6b30c3429', 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: 'ecbc2337e1db1dcf15f69f098b28c0d560aece9a' }))))));
90
+ return (h("nav", { key: '1cd9579d68bedee2d0e6e04a96a9ac3230ce21b9', "aria-label": "Pagination" }, h("ul", { key: 'c279f92f1f08f17724a59ddd9a9ff6086307deb1', part: "list", class: "bs-pagination__list" }, h("li", { key: 'cec04dcf7f6e1f6be5774b3a68aacf7f2ec27224', part: "item", class: "bs-pagination__item" }, h("button", { key: 'ed917eaac4275e19de2f9bc2e2cfde4ce03fb93e', 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: 'd0448255baeaceb830aa1b4eefc0d065c5730b2e' }))), 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": `Go to page ${item}`, "aria-current": item === this.currentPage ? 'page' : undefined, onClick: () => this.goToPage(item) }, item)))), h("li", { key: 'b0acab6503ad12774d3e1fdc9db75a5403439b49', part: "item", class: "bs-pagination__item" }, h("button", { key: 'e8f1fafeb042983b5d2eedbfd9a145337cb91989', 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: '4ee1e79e9f3fd68344e871bb376b6027eb50808e' }))))));
91
91
  }
92
92
  static get is() { return "bs-pagination"; }
93
93
  static get encapsulation() { return "shadow"; }
@@ -0,0 +1,96 @@
1
+ import { render, h, describe, it, expect } from "@stencil/vitest";
2
+ // Same math as the component's own private `circumference`/`dashOffset` getters, for computing an
3
+ // expected stroke-dashoffset independently of the implementation.
4
+ const expectedDashOffset = (diameter, strokeWidth, value) => {
5
+ const radius = (diameter - strokeWidth) / 2;
6
+ const circumference = 2 * Math.PI * radius;
7
+ const clamped = Math.min(100, Math.max(0, value));
8
+ return circumference * (1 - clamped / 100);
9
+ };
10
+ describe('bs-progress', () => {
11
+ describe('size/type combinations', () => {
12
+ ['small', 'medium', 'large'].forEach(size => {
13
+ it(`renders size="${size}" type="determinate"`, async () => {
14
+ const { root } = await render(h("bs-progress", { size: size, type: "determinate", value: 40 }));
15
+ expect(root.shadowRoot.querySelector('.bs-progress__ring')).not.toBeNull();
16
+ expect(root.shadowRoot.querySelector('[part="track"]')).not.toBeNull();
17
+ expect(root.shadowRoot.querySelector('[part="arc"]')).not.toBeNull();
18
+ });
19
+ it(`renders size="${size}" type="indeterminate"`, async () => {
20
+ const { root } = await render(h("bs-progress", { size: size, type: "indeterminate" }));
21
+ expect(root.shadowRoot.querySelector('.bs-progress__spinner')).not.toBeNull();
22
+ expect(root.shadowRoot.querySelector('[part="arc"]')).not.toBeNull();
23
+ });
24
+ });
25
+ });
26
+ describe('arc sweep', () => {
27
+ [0, 50, 100].forEach(value => {
28
+ it(`computes stroke-dashoffset for value=${value} at default size/stroke-width`, async () => {
29
+ const { root } = await render(h("bs-progress", { value: value }));
30
+ const arc = root.shadowRoot.querySelector('[part="arc"]');
31
+ const expected = expectedDashOffset(44, 4, value);
32
+ expect(Number(arc.getAttribute('stroke-dashoffset'))).toBeCloseTo(expected, 5);
33
+ });
34
+ });
35
+ it('produces a smaller (non-zero) dashoffset for a larger value', async () => {
36
+ const { root: rootLow } = await render(h("bs-progress", { value: 10 }));
37
+ const { root: rootHigh } = await render(h("bs-progress", { value: 90 }));
38
+ const lowOffset = Number(rootLow.shadowRoot.querySelector('[part="arc"]').getAttribute('stroke-dashoffset'));
39
+ const highOffset = Number(rootHigh.shadowRoot.querySelector('[part="arc"]').getAttribute('stroke-dashoffset'));
40
+ expect(highOffset).toBeLessThan(lowOffset);
41
+ });
42
+ });
43
+ describe('value clamping', () => {
44
+ it('clamps a value above 100 down to 100', async () => {
45
+ const { root } = await render(h("bs-progress", { value: 150 }));
46
+ const label = root.shadowRoot.querySelector('[part="label"]');
47
+ expect(label.textContent).toBe('100%');
48
+ const arc = root.shadowRoot.querySelector('[part="arc"]');
49
+ expect(Number(arc.getAttribute('stroke-dashoffset'))).toBeCloseTo(0, 5);
50
+ });
51
+ it('clamps a negative value up to 0', async () => {
52
+ const { root } = await render(h("bs-progress", { value: -10 }));
53
+ const label = root.shadowRoot.querySelector('[part="label"]');
54
+ expect(label.textContent).toBe('0%');
55
+ const arc = root.shadowRoot.querySelector('[part="arc"]');
56
+ const expected = expectedDashOffset(44, 4, 0);
57
+ expect(Number(arc.getAttribute('stroke-dashoffset'))).toBeCloseTo(expected, 5);
58
+ });
59
+ });
60
+ describe('label', () => {
61
+ it('renders "${value}%" when determinate and showLabel is true (default)', async () => {
62
+ const { root } = await render(h("bs-progress", { value: 42 }));
63
+ const label = root.shadowRoot.querySelector('[part="label"]');
64
+ expect(label).not.toBeNull();
65
+ expect(label.textContent).toBe('42%');
66
+ });
67
+ it('omits the label when showLabel is false', async () => {
68
+ const { root } = await render(h("bs-progress", { value: 42, showLabel: false }));
69
+ expect(root.shadowRoot.querySelector('[part="label"]')).toBeNull();
70
+ });
71
+ it('omits the label when type is indeterminate, even with showLabel true', async () => {
72
+ const { root } = await render(h("bs-progress", { type: "indeterminate", showLabel: true }));
73
+ expect(root.shadowRoot.querySelector('[part="label"]')).toBeNull();
74
+ });
75
+ });
76
+ describe('aria attributes', () => {
77
+ it('sets aria-valuemin/max/now for determinate', async () => {
78
+ const { root } = await render(h("bs-progress", { type: "determinate", value: 65 }));
79
+ const box = root.shadowRoot.querySelector('.bs-progress__box');
80
+ expect(box).toEqualAttribute('role', 'progressbar');
81
+ expect(box).toEqualAttribute('aria-valuemin', '0');
82
+ expect(box).toEqualAttribute('aria-valuemax', '100');
83
+ expect(box).toEqualAttribute('aria-valuenow', '65');
84
+ expect(box.hasAttribute('aria-busy')).toBe(false);
85
+ });
86
+ it('omits aria-valuenow and sets aria-busy for indeterminate', async () => {
87
+ const { root } = await render(h("bs-progress", { type: "indeterminate" }));
88
+ const box = root.shadowRoot.querySelector('.bs-progress__box');
89
+ expect(box).toEqualAttribute('role', 'progressbar');
90
+ expect(box.hasAttribute('aria-valuenow')).toBe(false);
91
+ expect(box.hasAttribute('aria-valuemin')).toBe(false);
92
+ expect(box.hasAttribute('aria-valuemax')).toBe(false);
93
+ expect(box).toEqualAttribute('aria-busy', 'true');
94
+ });
95
+ });
96
+ });