@brandsync/wc 0.1.0 → 1.1.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 (294) hide show
  1. package/custom-elements.json +1513 -669
  2. package/dist/brandsync-wc/brandsync-wc.esm.js +1 -1
  3. package/dist/brandsync-wc/p-00d40aca.entry.js +1 -0
  4. package/dist/brandsync-wc/{p-6e95eb36.entry.js → p-0299e8e1.entry.js} +1 -1
  5. package/dist/brandsync-wc/p-0921ca0d.entry.js +1 -0
  6. package/dist/brandsync-wc/{p-f4f22015.entry.js → p-0a2d690f.entry.js} +1 -1
  7. package/dist/brandsync-wc/{p-111974df.entry.js → p-0cf117f4.entry.js} +1 -1
  8. package/dist/brandsync-wc/{p-aa43d478.entry.js → p-127d698d.entry.js} +1 -1
  9. package/dist/brandsync-wc/{p-9bcd99aa.entry.js → p-1780224d.entry.js} +1 -1
  10. package/dist/brandsync-wc/{p-55a8d4b5.entry.js → p-18e0cff4.entry.js} +1 -1
  11. package/dist/brandsync-wc/{p-0847f5c0.entry.js → p-1abacfe8.entry.js} +1 -1
  12. package/dist/brandsync-wc/{p-10f6f3cd.entry.js → p-2a7cc40c.entry.js} +1 -1
  13. package/dist/brandsync-wc/{p-79af762c.entry.js → p-2e7586dd.entry.js} +1 -1
  14. package/dist/brandsync-wc/{p-eb04c578.entry.js → p-31b28025.entry.js} +1 -1
  15. package/dist/brandsync-wc/{p-1ce7dd64.entry.js → p-32fe390d.entry.js} +1 -1
  16. package/dist/brandsync-wc/{p-38aad266.entry.js → p-35bcb932.entry.js} +1 -1
  17. package/dist/brandsync-wc/{p-0ba35c3b.entry.js → p-393efb5d.entry.js} +1 -1
  18. package/dist/brandsync-wc/p-3e61d206.entry.js +1 -0
  19. package/dist/brandsync-wc/{p-91551e7b.entry.js → p-3e8728dc.entry.js} +1 -1
  20. package/dist/brandsync-wc/{p-20c24179.entry.js → p-5321186f.entry.js} +1 -1
  21. package/dist/brandsync-wc/{p-11f3fceb.entry.js → p-579fbe4d.entry.js} +1 -1
  22. package/dist/brandsync-wc/{p-d3265e70.entry.js → p-63906504.entry.js} +1 -1
  23. package/dist/brandsync-wc/{p-59ac2495.entry.js → p-673546bf.entry.js} +1 -1
  24. package/dist/brandsync-wc/{p-73217b90.entry.js → p-696f885c.entry.js} +1 -1
  25. package/dist/brandsync-wc/{p-d55bbcec.entry.js → p-6ef0a0ed.entry.js} +1 -1
  26. package/dist/brandsync-wc/{p-6d85fba4.entry.js → p-6fc78ccf.entry.js} +1 -1
  27. package/dist/brandsync-wc/{p-917a5bbc.entry.js → p-7091f130.entry.js} +1 -1
  28. package/dist/brandsync-wc/{p-752c04c8.entry.js → p-72e02bd5.entry.js} +1 -1
  29. package/dist/brandsync-wc/{p-9c4768aa.entry.js → p-778fcc55.entry.js} +1 -1
  30. package/dist/brandsync-wc/{p-18813680.entry.js → p-790fadf9.entry.js} +1 -1
  31. package/dist/brandsync-wc/{p-321ed4d3.entry.js → p-82953f42.entry.js} +1 -1
  32. package/dist/brandsync-wc/p-8b5f4ca7.entry.js +1 -0
  33. package/dist/brandsync-wc/{p-Do3l4of3.js → p-CvfB8CQv.js} +2 -2
  34. package/dist/brandsync-wc/{p-c3079ad7.entry.js → p-a16afeaa.entry.js} +1 -1
  35. package/dist/brandsync-wc/{p-cc79e75f.entry.js → p-a73bfd31.entry.js} +1 -1
  36. package/dist/brandsync-wc/{p-00bb9bda.entry.js → p-a7704457.entry.js} +1 -1
  37. package/dist/brandsync-wc/{p-2063a6d6.entry.js → p-aa1cc2b6.entry.js} +1 -1
  38. package/dist/brandsync-wc/{p-e93e944b.entry.js → p-ac12372f.entry.js} +1 -1
  39. package/dist/brandsync-wc/p-b2abd8d9.entry.js +1 -0
  40. package/dist/brandsync-wc/p-b63362e7.entry.js +1 -0
  41. package/dist/brandsync-wc/{p-9876e83c.entry.js → p-bb2ec290.entry.js} +1 -1
  42. package/dist/brandsync-wc/{p-171fed0c.entry.js → p-c7427962.entry.js} +1 -1
  43. package/dist/brandsync-wc/{p-6b469b2d.entry.js → p-c76ca89f.entry.js} +1 -1
  44. package/dist/brandsync-wc/{p-43e37883.entry.js → p-c7b9a5c7.entry.js} +1 -1
  45. package/dist/brandsync-wc/{p-c3c383dc.entry.js → p-ca74c7d9.entry.js} +1 -1
  46. package/dist/brandsync-wc/p-cc9f85d6.entry.js +1 -0
  47. package/dist/brandsync-wc/{p-1b7c9928.entry.js → p-cff188cb.entry.js} +1 -1
  48. package/dist/brandsync-wc/{p-81d49240.entry.js → p-e230ed08.entry.js} +1 -1
  49. package/dist/brandsync-wc/{p-5ae9e60e.entry.js → p-f652d79c.entry.js} +1 -1
  50. package/dist/brandsync-wc/p-fc9d52d4.entry.js +1 -0
  51. package/dist/cjs/brandsync-wc.cjs.js +3 -3
  52. package/dist/cjs/bs-ai-disclaimer.cjs.entry.js +2 -2
  53. package/dist/cjs/bs-ai-greeting.cjs.entry.js +2 -2
  54. package/dist/cjs/bs-ai-thinking.cjs.entry.js +2 -2
  55. package/dist/cjs/bs-attachment-list.cjs.entry.js +2 -2
  56. package/dist/cjs/bs-attachment.cjs.entry.js +1 -1
  57. package/dist/cjs/bs-avatar.cjs.entry.js +1 -1
  58. package/dist/cjs/bs-badge.cjs.entry.js +1 -1
  59. package/dist/cjs/bs-breadcrumb-overflow.cjs.entry.js +1 -1
  60. package/dist/cjs/bs-breadcrumb.cjs.entry.js +1 -1
  61. package/dist/cjs/bs-breadcrumbs.cjs.entry.js +2 -2
  62. package/dist/cjs/bs-button-skeleton.cjs.entry.js +2 -2
  63. package/dist/cjs/bs-button.cjs.entry.js +1 -1
  64. package/dist/cjs/bs-card.cjs.entry.js +2 -2
  65. package/dist/cjs/bs-chatbot-feedback.cjs.entry.js +2 -2
  66. package/dist/cjs/bs-chatbot-header.cjs.entry.js +2 -2
  67. package/dist/cjs/bs-chatbot-response-action.cjs.entry.js +2 -2
  68. package/dist/cjs/bs-chatbot-sources-drawer.cjs.entry.js +2 -2
  69. package/dist/cjs/bs-chatbot-suggestion-button.cjs.entry.js +2 -2
  70. package/dist/cjs/bs-checkbox-skeleton.cjs.entry.js +2 -2
  71. package/dist/cjs/bs-checkbox.cjs.entry.js +1 -1
  72. package/dist/cjs/bs-chip-filter.cjs.entry.js +68 -0
  73. package/dist/cjs/bs-chip-informative.cjs.entry.js +42 -0
  74. package/dist/cjs/bs-chip-input.cjs.entry.js +76 -0
  75. package/dist/cjs/bs-composer-status-banner.cjs.entry.js +2 -2
  76. package/dist/cjs/bs-composer.cjs.entry.js +2 -2
  77. package/dist/cjs/bs-data-table.cjs.entry.js +3 -3
  78. package/dist/cjs/bs-dialog.cjs.entry.js +13 -3
  79. package/dist/cjs/bs-icon-button.cjs.entry.js +2 -2
  80. package/dist/cjs/bs-inline-tab.cjs.entry.js +2 -2
  81. package/dist/cjs/bs-input.cjs.entry.js +3 -3
  82. package/dist/cjs/bs-logo.cjs.entry.js +1 -1
  83. package/dist/cjs/bs-menu-item.cjs.entry.js +2 -2
  84. package/dist/cjs/bs-menu.cjs.entry.js +2 -2
  85. package/dist/cjs/bs-navigation-drawer-item.cjs.entry.js +2 -2
  86. package/dist/cjs/bs-navigation-drawer.cjs.entry.js +2 -2
  87. package/dist/cjs/bs-navigation-header.cjs.entry.js +2 -2
  88. package/dist/cjs/bs-pagination.cjs.entry.js +2 -2
  89. package/dist/cjs/bs-radio.cjs.entry.js +2 -2
  90. package/dist/cjs/bs-slider.cjs.entry.js +2 -2
  91. package/dist/cjs/bs-snackbar.cjs.entry.js +2 -2
  92. package/dist/cjs/bs-source-link.cjs.entry.js +3 -3
  93. package/dist/cjs/bs-stepper-step.cjs.entry.js +44 -0
  94. package/dist/cjs/bs-stepper.cjs.entry.js +62 -0
  95. package/dist/cjs/bs-switch.cjs.entry.js +2 -2
  96. package/dist/cjs/bs-tab.cjs.entry.js +2 -2
  97. package/dist/cjs/bs-tabs.cjs.entry.js +2 -2
  98. package/dist/cjs/bs-tooltip.cjs.entry.js +2 -2
  99. package/dist/cjs/{index-DHVw-IPK.js → index-CdAh5BFg.js} +27 -14
  100. package/dist/cjs/loader.cjs.js +2 -2
  101. package/dist/collection/collection-manifest.json +6 -1
  102. package/dist/collection/components/bs-ai-disclaimer/bs-ai-disclaimer.js +1 -1
  103. package/dist/collection/components/bs-ai-greeting/bs-ai-greeting.js +1 -1
  104. package/dist/collection/components/bs-ai-thinking/bs-ai-thinking.js +1 -1
  105. package/dist/collection/components/bs-attachment/bs-attachment.js +1 -1
  106. package/dist/collection/components/bs-attachment-list/bs-attachment-list.js +1 -1
  107. package/dist/collection/components/bs-avatar/bs-avatar.js +2 -2
  108. package/dist/collection/components/bs-badge/bs-badge.js +1 -1
  109. package/dist/collection/components/bs-breadcrumb/bs-breadcrumb/bs-breadcrumb.js +1 -1
  110. package/dist/collection/components/bs-breadcrumb/bs-breadcrumb-overflow/bs-breadcrumb-overflow.js +1 -1
  111. package/dist/collection/components/bs-breadcrumb/bs-breadcrumbs/bs-breadcrumbs.js +1 -1
  112. package/dist/collection/components/bs-button/bs-button/bs-button.js +2 -2
  113. package/dist/collection/components/bs-button/bs-icon-button/bs-icon-button.js +3 -3
  114. package/dist/collection/components/bs-button-skeleton/bs-button-skeleton.js +1 -1
  115. package/dist/collection/components/bs-card/bs-card.css +6 -0
  116. package/dist/collection/components/bs-card/bs-card.js +1 -1
  117. package/dist/collection/components/bs-chatbot-feedback/bs-chatbot-feedback.js +1 -1
  118. package/dist/collection/components/bs-chatbot-header/bs-chatbot-header.js +1 -1
  119. package/dist/collection/components/bs-chatbot-response-action/bs-chatbot-response-action.js +1 -1
  120. package/dist/collection/components/bs-chatbot-sources-drawer/bs-chatbot-sources-drawer.js +1 -1
  121. package/dist/collection/components/bs-chatbot-suggestion-button/bs-chatbot-suggestion-button.js +1 -1
  122. package/dist/collection/components/bs-checkbox/bs-checkbox-skeleton/bs-checkbox-skeleton.js +1 -1
  123. package/dist/collection/components/bs-checkbox/bs-checkbox.js +1 -1
  124. package/dist/collection/components/bs-chip/bs-chip-filter/bs-chip-filter.cmp.test.js +99 -0
  125. package/dist/collection/components/bs-chip/bs-chip-filter/bs-chip-filter.css +156 -0
  126. package/dist/collection/components/bs-chip/bs-chip-filter/bs-chip-filter.js +222 -0
  127. package/dist/collection/components/bs-chip/bs-chip-filter/bs-chip-filter.stories.js +76 -0
  128. package/dist/collection/components/bs-chip/bs-chip-informative/bs-chip-informative.cmp.test.js +43 -0
  129. package/dist/collection/components/bs-chip/bs-chip-informative/bs-chip-informative.css +135 -0
  130. package/dist/collection/components/bs-chip/bs-chip-informative/bs-chip-informative.js +143 -0
  131. package/dist/collection/components/bs-chip/bs-chip-informative/bs-chip-informative.stories.js +70 -0
  132. package/dist/collection/components/bs-chip/bs-chip-input/bs-chip-input.cmp.test.js +93 -0
  133. package/dist/collection/components/bs-chip/bs-chip-input/bs-chip-input.css +172 -0
  134. package/dist/collection/components/bs-chip/bs-chip-input/bs-chip-input.js +208 -0
  135. package/dist/collection/components/bs-chip/bs-chip-input/bs-chip-input.stories.js +67 -0
  136. package/dist/collection/components/bs-composer/bs-composer.js +3 -3
  137. package/dist/collection/components/bs-composer-status-banner/bs-composer-status-banner.js +2 -2
  138. package/dist/collection/components/bs-data-table/bs-data-table.js +6 -6
  139. package/dist/collection/components/bs-dialog/bs-dialog.cmp.test.js +6 -0
  140. package/dist/collection/components/bs-dialog/bs-dialog.js +13 -3
  141. package/dist/collection/components/bs-input/bs-input.js +2 -2
  142. package/dist/collection/components/bs-logo/bs-logo.js +2 -2
  143. package/dist/collection/components/bs-menu/bs-menu.js +1 -1
  144. package/dist/collection/components/bs-menu-item/bs-menu-item.js +1 -1
  145. package/dist/collection/components/bs-pagination/bs-pagination.js +1 -1
  146. package/dist/collection/components/bs-radio/bs-radio.js +1 -1
  147. package/dist/collection/components/bs-slider/bs-slider.js +2 -2
  148. package/dist/collection/components/bs-snackbar/bs-snackbar.js +2 -2
  149. package/dist/collection/components/bs-source-link/bs-source-link.js +2 -2
  150. package/dist/collection/components/bs-stepper/bs-stepper/bs-stepper.cmp.test.js +42 -0
  151. package/dist/collection/components/bs-stepper/bs-stepper/bs-stepper.css +29 -0
  152. package/dist/collection/components/bs-stepper/bs-stepper/bs-stepper.js +162 -0
  153. package/dist/collection/components/bs-stepper/bs-stepper/bs-stepper.stories.js +59 -0
  154. package/dist/collection/components/bs-stepper/bs-stepper-step/bs-stepper-step.cmp.test.js +73 -0
  155. package/dist/collection/components/bs-stepper/bs-stepper-step/bs-stepper-step.css +258 -0
  156. package/dist/collection/components/bs-stepper/bs-stepper-step/bs-stepper-step.js +231 -0
  157. package/dist/collection/components/bs-switch/bs-switch.js +2 -2
  158. package/dist/collection/components/bs-tab/bs-inline-tab/bs-inline-tab.js +1 -1
  159. package/dist/collection/components/bs-tab/bs-tab/bs-tab.js +2 -2
  160. package/dist/collection/components/bs-tab/bs-tabs/bs-tabs.js +3 -3
  161. package/dist/collection/components/bs-tooltip/bs-tooltip.js +1 -1
  162. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer/bs-navigation-drawer.js +1 -1
  163. package/dist/collection/components/ui-shell/bs-navigation-drawer/bs-navigation-drawer-item/bs-navigation-drawer-item.js +1 -1
  164. package/dist/collection/components/ui-shell/bs-navigation-header/bs-navigation-header/bs-navigation-header.js +2 -2
  165. package/dist/components/bs-ai-disclaimer.js +1 -1
  166. package/dist/components/bs-ai-greeting.js +1 -1
  167. package/dist/components/bs-ai-thinking.js +1 -1
  168. package/dist/components/bs-attachment-list.js +1 -1
  169. package/dist/components/bs-attachment.js +1 -1
  170. package/dist/components/bs-avatar.js +1 -1
  171. package/dist/components/bs-badge.js +1 -1
  172. package/dist/components/bs-breadcrumb-overflow.js +1 -1
  173. package/dist/components/bs-breadcrumb.js +1 -1
  174. package/dist/components/bs-breadcrumbs.js +1 -1
  175. package/dist/components/bs-button-skeleton.js +1 -1
  176. package/dist/components/bs-button.js +1 -1
  177. package/dist/components/bs-card.js +1 -1
  178. package/dist/components/bs-chatbot-feedback.js +1 -1
  179. package/dist/components/bs-chatbot-header.js +1 -1
  180. package/dist/components/bs-chatbot-response-action.js +1 -1
  181. package/dist/components/bs-chatbot-sources-drawer.js +1 -1
  182. package/dist/components/bs-chatbot-suggestion-button.js +1 -1
  183. package/dist/components/bs-checkbox-skeleton.js +1 -1
  184. package/dist/components/bs-checkbox.js +1 -1
  185. package/dist/components/bs-chip-filter.d.ts +11 -0
  186. package/dist/components/bs-chip-filter.js +1 -0
  187. package/dist/components/bs-chip-informative.d.ts +11 -0
  188. package/dist/components/bs-chip-informative.js +1 -0
  189. package/dist/components/bs-chip-input.d.ts +11 -0
  190. package/dist/components/bs-chip-input.js +1 -0
  191. package/dist/components/bs-composer-status-banner.js +1 -1
  192. package/dist/components/bs-composer.js +1 -1
  193. package/dist/components/bs-data-table.js +1 -1
  194. package/dist/components/bs-dialog.js +1 -1
  195. package/dist/components/bs-icon-button.js +1 -1
  196. package/dist/components/bs-inline-tab.js +1 -1
  197. package/dist/components/bs-input.js +1 -1
  198. package/dist/components/bs-logo.js +1 -1
  199. package/dist/components/bs-menu-item.js +1 -1
  200. package/dist/components/bs-menu.js +1 -1
  201. package/dist/components/bs-navigation-drawer-item.js +1 -1
  202. package/dist/components/bs-navigation-drawer.js +1 -1
  203. package/dist/components/bs-navigation-header.js +1 -1
  204. package/dist/components/bs-pagination.js +1 -1
  205. package/dist/components/bs-radio.js +1 -1
  206. package/dist/components/bs-slider.js +1 -1
  207. package/dist/components/bs-snackbar.js +1 -1
  208. package/dist/components/bs-source-link.js +1 -1
  209. package/dist/components/bs-stepper-step.d.ts +11 -0
  210. package/dist/components/bs-stepper-step.js +1 -0
  211. package/dist/components/bs-stepper.d.ts +11 -0
  212. package/dist/components/bs-stepper.js +1 -0
  213. package/dist/components/bs-switch.js +1 -1
  214. package/dist/components/bs-tab.js +1 -1
  215. package/dist/components/bs-tabs.js +1 -1
  216. package/dist/components/bs-tooltip.js +1 -1
  217. package/dist/components/index.js +1 -1
  218. package/dist/components/{p-BFcVSpES.js → p-B8JpGodL.js} +1 -1
  219. package/dist/components/{p-qK1XlpTA.js → p-BFVUq5m5.js} +1 -1
  220. package/dist/components/{p-BtX5URLk.js → p-BPUNjzjH.js} +1 -1
  221. package/dist/components/{p-CgaPcyEJ.js → p-Bb6vh9PN.js} +1 -1
  222. package/dist/components/{p-BJZYe7M4.js → p-CsnFdZ3v.js} +1 -1
  223. package/dist/components/{p-BKaZWFE1.js → p-DwVm6HIb.js} +1 -1
  224. package/dist/esm/brandsync-wc.js +4 -4
  225. package/dist/esm/bs-ai-disclaimer.entry.js +2 -2
  226. package/dist/esm/bs-ai-greeting.entry.js +2 -2
  227. package/dist/esm/bs-ai-thinking.entry.js +2 -2
  228. package/dist/esm/bs-attachment-list.entry.js +2 -2
  229. package/dist/esm/bs-attachment.entry.js +1 -1
  230. package/dist/esm/bs-avatar.entry.js +1 -1
  231. package/dist/esm/bs-badge.entry.js +1 -1
  232. package/dist/esm/bs-breadcrumb-overflow.entry.js +1 -1
  233. package/dist/esm/bs-breadcrumb.entry.js +1 -1
  234. package/dist/esm/bs-breadcrumbs.entry.js +2 -2
  235. package/dist/esm/bs-button-skeleton.entry.js +2 -2
  236. package/dist/esm/bs-button.entry.js +1 -1
  237. package/dist/esm/bs-card.entry.js +2 -2
  238. package/dist/esm/bs-chatbot-feedback.entry.js +2 -2
  239. package/dist/esm/bs-chatbot-header.entry.js +2 -2
  240. package/dist/esm/bs-chatbot-response-action.entry.js +2 -2
  241. package/dist/esm/bs-chatbot-sources-drawer.entry.js +2 -2
  242. package/dist/esm/bs-chatbot-suggestion-button.entry.js +2 -2
  243. package/dist/esm/bs-checkbox-skeleton.entry.js +2 -2
  244. package/dist/esm/bs-checkbox.entry.js +1 -1
  245. package/dist/esm/bs-chip-filter.entry.js +66 -0
  246. package/dist/esm/bs-chip-informative.entry.js +40 -0
  247. package/dist/esm/bs-chip-input.entry.js +74 -0
  248. package/dist/esm/bs-composer-status-banner.entry.js +2 -2
  249. package/dist/esm/bs-composer.entry.js +2 -2
  250. package/dist/esm/bs-data-table.entry.js +3 -3
  251. package/dist/esm/bs-dialog.entry.js +13 -3
  252. package/dist/esm/bs-icon-button.entry.js +2 -2
  253. package/dist/esm/bs-inline-tab.entry.js +2 -2
  254. package/dist/esm/bs-input.entry.js +3 -3
  255. package/dist/esm/bs-logo.entry.js +1 -1
  256. package/dist/esm/bs-menu-item.entry.js +2 -2
  257. package/dist/esm/bs-menu.entry.js +2 -2
  258. package/dist/esm/bs-navigation-drawer-item.entry.js +2 -2
  259. package/dist/esm/bs-navigation-drawer.entry.js +2 -2
  260. package/dist/esm/bs-navigation-header.entry.js +2 -2
  261. package/dist/esm/bs-pagination.entry.js +2 -2
  262. package/dist/esm/bs-radio.entry.js +2 -2
  263. package/dist/esm/bs-slider.entry.js +2 -2
  264. package/dist/esm/bs-snackbar.entry.js +2 -2
  265. package/dist/esm/bs-source-link.entry.js +3 -3
  266. package/dist/esm/bs-stepper-step.entry.js +42 -0
  267. package/dist/esm/bs-stepper.entry.js +60 -0
  268. package/dist/esm/bs-switch.entry.js +2 -2
  269. package/dist/esm/bs-tab.entry.js +2 -2
  270. package/dist/esm/bs-tabs.entry.js +2 -2
  271. package/dist/esm/bs-tooltip.entry.js +2 -2
  272. package/dist/esm/{index-Do3l4of3.js → index-CvfB8CQv.js} +27 -14
  273. package/dist/esm/loader.js +3 -3
  274. package/dist/types/components/bs-chip/bs-chip-filter/bs-chip-filter.cmp.test.d.ts +1 -0
  275. package/dist/types/components/bs-chip/bs-chip-filter/bs-chip-filter.d.ts +56 -0
  276. package/dist/types/components/bs-chip/bs-chip-filter/bs-chip-filter.stories.d.ts +20 -0
  277. package/dist/types/components/bs-chip/bs-chip-informative/bs-chip-informative.cmp.test.d.ts +1 -0
  278. package/dist/types/components/bs-chip/bs-chip-informative/bs-chip-informative.d.ts +41 -0
  279. package/dist/types/components/bs-chip/bs-chip-informative/bs-chip-informative.stories.d.ts +21 -0
  280. package/dist/types/components/bs-chip/bs-chip-input/bs-chip-input.cmp.test.d.ts +1 -0
  281. package/dist/types/components/bs-chip/bs-chip-input/bs-chip-input.d.ts +60 -0
  282. package/dist/types/components/bs-chip/bs-chip-input/bs-chip-input.stories.d.ts +18 -0
  283. package/dist/types/components/bs-stepper/bs-stepper/bs-stepper.cmp.test.d.ts +1 -0
  284. package/dist/types/components/bs-stepper/bs-stepper/bs-stepper.d.ts +48 -0
  285. package/dist/types/components/bs-stepper/bs-stepper/bs-stepper.stories.d.ts +14 -0
  286. package/dist/types/components/bs-stepper/bs-stepper-step/bs-stepper-step.cmp.test.d.ts +1 -0
  287. package/dist/types/components/bs-stepper/bs-stepper-step/bs-stepper-step.d.ts +55 -0
  288. package/dist/types/components.d.ts +653 -0
  289. package/dist/types/stencil-public-runtime.d.ts +62 -55
  290. package/loader/index.d.ts +1 -1
  291. package/package.json +6 -5
  292. package/dist/brandsync-wc/p-0f3cb0c4.entry.js +0 -1
  293. package/dist/brandsync-wc/p-ce7fc368.entry.js +0 -1
  294. package/dist/brandsync-wc/p-f0ae2740.entry.js +0 -1
@@ -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: '81d4b297593509fc8dd189f6f793f779e74257a9', class: "bs-chatbot-feedback", role: "region", "aria-label": this.computedHeading() }, h("button", { key: '0354e90dafc04230f5ff232a41ef833be53109da', type: "button", part: "close", class: "bs-chatbot-feedback__close", "aria-label": "Close", onClick: this.onCloseClick }, h(CloseIcon, { key: 'bb7dbb0f779ae0c6ed97d89de9daeb273cb95891' })), h("div", { key: 'a08af9ead8ff286a6dbf0cd447c59d5daa985b2e', class: "bs-chatbot-feedback__top" }, h("div", { key: 'ec2566d3fa1b69296e834292718f64f8cdc4de7a', class: "bs-chatbot-feedback__text" }, h("p", { key: 'f93002e0eb4d23247e879910f1f04062eda3445a', part: "heading", class: "bs-chatbot-feedback__heading" }, this.computedHeading()), h("p", { key: '49bc3b0849d622b719dcc8b003c7b19d478e29fe', part: "subtitle", class: "bs-chatbot-feedback__subtitle" }, this.computedSubtitle())), h("div", { key: '4b94ee7207c95f78dd3fa2d3660647f553dda8a8', 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: '390dc5a2d4073f89ac90fb6f753d9cd6072cc8e1', class: "bs-chatbot-feedback__field" }, h("label", { key: '4ade9e346c7c5af11ea66f7a491d99f76ba4de8d', part: "label", class: "bs-chatbot-feedback__label", htmlFor: "bs-chatbot-feedback-comment" }, "Tell us what you think"), h("textarea", { key: '8ef6e3fa14f5ebdc060e34b8b73ef08b3ed07396', 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: '6b2c93b3e8c494a8a24d2592163497b41c2eab26', part: "comment", class: "bs-chatbot-feedback__comment" }, this.comment))), h("div", { key: 'a38c0b8ad956c56dc9d6f53152744e3e1f4bf049', class: "bs-chatbot-feedback__actions" }, !this.submitted && (h("button", { key: 'b93d7d561dd3bf253c1a04b30ea61b8a27f65d37', type: "button", part: "submit", class: "bs-chatbot-feedback__submit", disabled: this.rating === 0, onClick: this.onSubmitClick }, h(SendIcon, { key: '48cdda204d0d4855d7ec75b9be4715acfc9ad738' }), "Submit feedback")), h("button", { key: '40b3568e4aabf7a4e274b52c26e0216af539ed9f', 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: '53804fd03520aefc0d88b5d35b6078c5488c121a' }), "Start new chat"))));
126
+ return (h("div", { key: 'd006bb1ca76efdcf06bae35e3525003a68386421', class: "bs-chatbot-feedback", role: "region", "aria-label": this.computedHeading() }, h("button", { key: 'c288a911fe59b201dc7a9f888c6cd4e85c6e28a0', type: "button", part: "close", class: "bs-chatbot-feedback__close", "aria-label": "Close", onClick: this.onCloseClick }, h(CloseIcon, { key: '2b989f0ff28ddc59b3b1821e6c3288bf30dac4b6' })), h("div", { key: '84b2274b2cb5da5040d2762173305c49ae4ef66e', class: "bs-chatbot-feedback__top" }, h("div", { key: '692b5724537886c9597a3889a1342343d7809d21', class: "bs-chatbot-feedback__text" }, h("p", { key: 'bd4f0e67a9c9b47660d3b0974434ca6eae6a0abf', part: "heading", class: "bs-chatbot-feedback__heading" }, this.computedHeading()), h("p", { key: '5e305ef80903253dfc3ae2e57f65ad35f7ebb56d', part: "subtitle", class: "bs-chatbot-feedback__subtitle" }, this.computedSubtitle())), h("div", { key: '9cf3adc518948acf2cc1b51f61ba2ced66e5c9c6', 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: '9de7ba54587ea9cef1c0167ca54ea47a800b199f', class: "bs-chatbot-feedback__field" }, h("label", { key: '2ade2e0ccacce7ecf13a28f584cddab5891a0d05', part: "label", class: "bs-chatbot-feedback__label", htmlFor: "bs-chatbot-feedback-comment" }, "Tell us what you think"), h("textarea", { key: '765dfe11db1978017aa66f03029bd43161853920', 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: '30428029a4bede383a160646e77669ce781aa309', part: "comment", class: "bs-chatbot-feedback__comment" }, this.comment))), h("div", { key: 'ac853cce4db151b43e22bb671e14b4bb43f4b86e', class: "bs-chatbot-feedback__actions" }, !this.submitted && (h("button", { key: '0ac1bcae1b176e04500d7c1a9893a2156e118ef7', type: "button", part: "submit", class: "bs-chatbot-feedback__submit", disabled: this.rating === 0, onClick: this.onSubmitClick }, h(SendIcon, { key: 'ab682fd1f41b2edf85f48517713d50d1e2e8c2d9' }), "Submit feedback")), h("button", { key: '349a69e6510793552b439f1091e1bedbba64c87a', 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: '9c0e9890952b3d7e89c95c53a5b173867acce1e4' }), "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: 'e0ea19eeb010af536dba9981ed9859181445dfe3', class: "bs-chatbot-header", role: "banner", "aria-label": this.heading }, h("div", { key: 'b2e9ebadd61e80ad1f4559dd0e0130d6b36f625c', part: "logo", class: "bs-chatbot-header__logo", role: "img", "aria-label": this.heading, innerHTML: GENIE_LOGO_SVG }), h("div", { key: '51a96ee8e2c456e00d090ef329a0a7625e8a22dd', class: "bs-chatbot-header__actions" }, h("span", { key: '26f392cb56b496da1e4c26fe378246bb47f0a7e9', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: '7418cea294cc509323049494464fc292c643d881', type: "button", part: "new-chat", class: "bs-chatbot-header__button", "aria-label": "New chat", onClick: this.onNewChatClick }, h("slot", { key: '510a66d1d0cc7baccf0f2d9f2dc6b26acfc76d0b', name: "new-chat-icon" }, h(NewChatIcon, { key: 'b135187338a185bda4f145f2311c7ea3b21839d5' }))), h("bs-tooltip", { key: '55605b4ec0d3c51fc5fc5546676e240a64bb5278', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, "New chat")), h("span", { key: 'bab4c50dcf6d0931f90de7a1c45249559149aa9c', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: 'a70f0acd00a29476800e0cc1367a1f11ab159c75', type: "button", part: "history", class: "bs-chatbot-header__button", "aria-label": "History", onClick: this.onHistoryClick }, h("slot", { key: 'dfbd816dee51c428359509c4d9fc97efbd290a0e', name: "history-icon" }, h(HistoryIcon, { key: '5550515b799ab3d494d812aa9567781f86c7381a' }))), h("bs-tooltip", { key: '66cc280bc34b411b4ad8d0640acafbc14259bfab', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, "History")), h("span", { key: '21bd18c8221473430d5afa844d0a8fd6072fabe4', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: 'fe794fafeb13f4aa5ae1f228b8b28eeb82317631', 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: '457d0ca096b2f44aee67db3ca6cae24d440b9bb0', name: "expand-icon" }, h(ExpandIcon, { key: '207caae0afda63b8ddc55b13c9de0abf991a5650' }))), h("bs-tooltip", { key: '12251a2b24cd651f0ee91307d62f7179e67fb066', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, this.expanded ? 'Collapse' : 'Expand')), h("span", { key: '25d6e11049392522aa8a0b1b9bc6327850a10084', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: 'ed9df95ed3922f23d135980ffc2e1306c3d09da2', type: "button", part: "close", class: "bs-chatbot-header__button", "aria-label": "Close", onClick: this.onCloseClick }, h("slot", { key: '73fbf236b91e874ebc40a51b565b772d8b4f65fd', name: "close-icon" }, h(CloseIcon, { key: '26ab31c650988a86860790fd9591b5cd2d0daf3c' }))), h("bs-tooltip", { key: 'f51ce61c93ba84116545d95c6ce89b21e791dc4c', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, "Close")))));
77
+ return (h("div", { key: '19defcf3ef6bab001fc70969fe6ae7e43e620772', class: "bs-chatbot-header", role: "banner", "aria-label": this.heading }, h("div", { key: '455979628f49722589abe9a472dd0d43e27c1d57', part: "logo", class: "bs-chatbot-header__logo", role: "img", "aria-label": this.heading, innerHTML: GENIE_LOGO_SVG }), h("div", { key: '123327fd2ac302f1e0c97becfe2b4026db0a463c', class: "bs-chatbot-header__actions" }, h("span", { key: '4dec5a38d3586c98a3827e744132b35155c754cb', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: '6d205052018910e3b0b188f1250a3e06b3134d3d', type: "button", part: "new-chat", class: "bs-chatbot-header__button", "aria-label": "New chat", onClick: this.onNewChatClick }, h("slot", { key: '7f02991d13abc79cb779037e61493e277a5f8af1', name: "new-chat-icon" }, h(NewChatIcon, { key: '95caf87255a959b0569536f5ba8574680a2157c8' }))), h("bs-tooltip", { key: '80bee6f77434b05a469819474fe21824f67f8398', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, "New chat")), h("span", { key: 'b1f92ec3d067d6087bc23407022645915d91bda5', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: '89343546b8a911e69c11ce1658c387c77175bb2f', type: "button", part: "history", class: "bs-chatbot-header__button", "aria-label": "History", onClick: this.onHistoryClick }, h("slot", { key: '8be5b498d86d3b8eb02443c2b5f4ace29d7dd242', name: "history-icon" }, h(HistoryIcon, { key: '3b06808d71e2ee7ef148eb5b5f37831a74a3cdbd' }))), h("bs-tooltip", { key: '3ae97c6ac032e00cf8dc1b885cd09fe9dc522eda', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, "History")), h("span", { key: 'b863e64938643b958e9cdf2b821401da24b22237', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: 'b13aeced1938d418dfc78325087dd2e6769b6373', 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: '7ee525ea7bb0a95996071bf20d3f87fbf25bd4d2', name: "expand-icon" }, h(ExpandIcon, { key: 'dbe3535acdacfdcb76fd2c336359c62126c9bdd8' }))), h("bs-tooltip", { key: '0f0896b3b71e16a590f91324f13f0bd8a606a001', class: "bs-chatbot-header__tooltip", placement: "top", "aria-hidden": "true" }, this.expanded ? 'Collapse' : 'Expand')), h("span", { key: '0238181d5fbfe40a8581412004476ebfa3d0beb6', class: "bs-chatbot-header__tooltip-wrapper" }, h("button", { key: 'd29269294c457586f2f5dae90ef28de747bab7d9', type: "button", part: "close", class: "bs-chatbot-header__button", "aria-label": "Close", onClick: this.onCloseClick }, h("slot", { key: 'dbc9fdc1cbef4ae59ba3d41e59488b91de549a37', name: "close-icon" }, h(CloseIcon, { key: '0c2b8d8efaa5baf448e3de948feff76c71cc03ef' }))), h("bs-tooltip", { key: '2fc96a3ae618c3e0214a7dd3f329e8b676e9b6b9', 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: '6f0fe6d237fa76a44aebc5452d77619f8a6f3e07', class: "bs-chatbot-response-action" }, h("button", { key: 'e46a78f8a28c8b23780d86ea52618bb96003bbc6', type: "button", part: "like", class: "bs-chatbot-response-action__button", "aria-label": "Like", onClick: this.onLikeClick }, h("slot", { key: 'cf59ea0115e99fef5e5398f8101ecd4702f6d13c', name: "like-icon" }, h(ThumbsUpIcon, { key: '0597457db34f2e4677f63a7253dd59015bbcbaf5' }))), h("button", { key: '9dd6db57941126a2b50f3c1c45653e35cc4e9113', type: "button", part: "dislike", class: "bs-chatbot-response-action__button", "aria-label": "Dislike", onClick: this.onDislikeClick }, h("slot", { key: '8ab78179e979275461cd420e1ab7919396e6126e', name: "dislike-icon" }, h(ThumbsDownIcon, { key: '5f9eeeb87c3bb3f635468dfcdddb323069c20c6f' }))), h("button", { key: '6bf0a37024846ababcfc0c1593f6d9fd4bd2b6af', type: "button", part: "copy", class: "bs-chatbot-response-action__button", "aria-label": "Copy", onClick: this.onCopyClick }, h("slot", { key: '68c68be3274b3bf2c0f59178640e6009ec5869da', name: "copy-icon" }, h(CopyIcon, { key: '229bd54acaad25cc05da69361142be1588c723f9' }))), h("button", { key: '1cc152937d132b179b72daf1342f63cbabcc67f2', type: "button", part: "regenerate", class: "bs-chatbot-response-action__button", "aria-label": "Regenerate", onClick: this.onRegenerateClick }, h("slot", { key: '407f9527d50f75d0063b92a6f68ed6a4364b72bc', name: "regenerate-icon" }, h(RegenerateIcon, { key: 'f1d5fca176ef8f90c167a62307bda06bdc86b4a6' }))), h("div", { key: '2fe454900888c46dc17d24ce28c3af1d2d9afcf6', class: "bs-chatbot-response-action__menu-wrapper" }, h("button", { key: '3046ca6507dd70c734a37e6aed89613167ce5e29', 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: '3e6814659655c0ba61bc84a3eacae0a13b2c9cd6', name: "menu-icon" }, h(MenuIcon, { key: '70a898b1158a284f1c8e07a6d92ce11de1265844' }))), this.menuOpen && (h("div", { key: '95bc1e4c5a8e8d160a6b59c36bf3485ecfdc8505', class: "bs-chatbot-response-action__menu-popup" }, h("slot", { key: '80dd0220745586c213c4372ded2f2138c4e3dadb', name: "menu" })))), hasSources && (h("button", { key: '4f1036874d1a02347820bb0d19a77c18f5d33bc0', type: "button", part: "sources", class: "bs-chatbot-response-action__sources", onClick: this.onSourcesClick }, h("slot", { key: '11c4b6b5399ffd011bb60da19265e19bc4407061', name: "sources-icon" }, h(SourcesIcon, { key: 'fd64afb252fb5b32332cc46ff664fc947df22ea5' })), h("span", { key: 'ef47e93369d033e3306e7006516470d5b1c9c13f', class: "bs-chatbot-response-action__sources-label" }, this.sourcesCount, " ", this.sourcesCount === 1 ? 'source' : 'sources')))));
108
+ return (h("div", { key: '24c68fc03ccb44936dd1d432496960b8dfcee7b5', class: "bs-chatbot-response-action" }, h("button", { key: 'f11c68b55809d7883985216509f8c0212a82e238', type: "button", part: "like", class: "bs-chatbot-response-action__button", "aria-label": "Like", onClick: this.onLikeClick }, h("slot", { key: 'dd0f1a8551fb5ee988e2b4a00f1229b4f4243e5c', name: "like-icon" }, h(ThumbsUpIcon, { key: 'e5f2b60558c6bb19d57bc19166659f9861d8a168' }))), h("button", { key: '77faba07ee823f265dd96c928719d998775a90c6', type: "button", part: "dislike", class: "bs-chatbot-response-action__button", "aria-label": "Dislike", onClick: this.onDislikeClick }, h("slot", { key: 'a2c1a4bec00e0e4955003f5bb0c6e05d0ae90b7d', name: "dislike-icon" }, h(ThumbsDownIcon, { key: 'ec84d052150d71a60378d6b706116360db2694e0' }))), h("button", { key: '43791f3aa3f21ee44641da14bf62f1e3d83f97c5', type: "button", part: "copy", class: "bs-chatbot-response-action__button", "aria-label": "Copy", onClick: this.onCopyClick }, h("slot", { key: 'b8ee7f9dbed2b5d4014ef4f2d5d5e2737baf67f6', name: "copy-icon" }, h(CopyIcon, { key: 'd91f9da3cf09a0d760dbf28b3d05d65cd4be0149' }))), h("button", { key: 'fcbbae5cec2ebbb40792afd234459278121fd760', type: "button", part: "regenerate", class: "bs-chatbot-response-action__button", "aria-label": "Regenerate", onClick: this.onRegenerateClick }, h("slot", { key: '13897ba124350a7e793059d22abaed93be7ae40a', name: "regenerate-icon" }, h(RegenerateIcon, { key: 'c13ed7f8452cc16e2cbbb865c16bef71714a42c0' }))), h("div", { key: 'f3d82e7dd0b338fb0095a6b6c54578b20c89fc72', class: "bs-chatbot-response-action__menu-wrapper" }, h("button", { key: 'a42f4457e72ee4585e7f85262597537f7002b46c', 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: '559e8cecfc7a726e1a5bc43211eaee7464087590', name: "menu-icon" }, h(MenuIcon, { key: 'cb768ecba1be7f49dcea247128af0efc5170463d' }))), this.menuOpen && (h("div", { key: 'd98ad7f49789c6ed72c4fea4548ebfa2761346b4', class: "bs-chatbot-response-action__menu-popup" }, h("slot", { key: 'c2c05b8440def40997971b1b464b31ce2f032da4', name: "menu" })))), hasSources && (h("button", { key: '5b813a1f660fb42d0304bc0dda29399f893cd0fd', type: "button", part: "sources", class: "bs-chatbot-response-action__sources", onClick: this.onSourcesClick }, h("slot", { key: 'cee378ade6c52f1ae285320c59e4ddc1c66f924a', name: "sources-icon" }, h(SourcesIcon, { key: 'f18aa44186faa2ab584c129eede0cff65201db85' })), h("span", { key: '89639777df4d3bc6a1c8418887fadb0774ab324e', 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: '4f5ba818b20615f14f05744f7da90293687fb571', class: "bs-chatbot-sources-drawer", role: "region", "aria-label": this.heading }, h("div", { key: 'e42b0c3ea3c33da5ab3c5aff08a27dfdf91f9213', class: "bs-chatbot-sources-drawer__header" }, h("div", { key: '47364bc1d824a102c63a8f3fbca310c3c50996db', class: "bs-chatbot-sources-drawer__title-group" }, h("h2", { key: 'ad91fd640f31ad585438ed0da4fa6964321d0839', part: "heading", class: "bs-chatbot-sources-drawer__heading" }, this.heading), displayCount > 0 && (h("span", { key: 'c46163c92ba3d15e384101d5e37d72c1e2034534', part: "count", class: "bs-chatbot-sources-drawer__count" }, displayCount))), h("button", { key: 'f82bf6ec52abb532b3fd5f4b6d7d4405d71685a0', type: "button", part: "collapse", class: "bs-chatbot-sources-drawer__collapse", "aria-label": "Collapse sources", onClick: this.onCollapseClick }, h("slot", { key: 'f7e7edab6658cbf745f06fa18931d9522e488723', name: "collapse-icon" }, h(CaretRightIcon, { key: '6e3ac570d6a5ca716b39c611b2f6d0c15078cbbf' })))), h("div", { key: '5006ed497dec22fb534a8805edbf24a8196e3cbc', part: "list", class: "bs-chatbot-sources-drawer__list" }, h("slot", { key: 'f32856392781219b2f0102181cbcfb768a331cea', onSlotchange: this.onSlotchange }))));
60
+ return (h("div", { key: 'd457067b704c7df5a763ec8ada13f02595e9a450', class: "bs-chatbot-sources-drawer", role: "region", "aria-label": this.heading }, h("div", { key: '7bed0625e25444d49cb2bc2d85bda4b08f242672', class: "bs-chatbot-sources-drawer__header" }, h("div", { key: 'b55ce1be49393360840caa2ed824ae2d3eafab59', class: "bs-chatbot-sources-drawer__title-group" }, h("h2", { key: 'fe97457121b810e09792581e07864c366e5d9121', part: "heading", class: "bs-chatbot-sources-drawer__heading" }, this.heading), displayCount > 0 && (h("span", { key: '41a116982438e62d6d6a870f4eaf8f68d8ff758b', part: "count", class: "bs-chatbot-sources-drawer__count" }, displayCount))), h("button", { key: '5026bcd60e49776abff2305793c9d0424fce8cbb', type: "button", part: "collapse", class: "bs-chatbot-sources-drawer__collapse", "aria-label": "Collapse sources", onClick: this.onCollapseClick }, h("slot", { key: 'f9ca644ea20b7d9b440d766ae93e1ee01a5b451b', name: "collapse-icon" }, h(CaretRightIcon, { key: 'ffa427ee1e25cac7e197c5fb1c44edefb45d328e' })))), h("div", { key: '67b518bd9c1da897d44f607d08200ad0ffca067e', part: "list", class: "bs-chatbot-sources-drawer__list" }, h("slot", { key: '34f904ce8cc9f0924d0c2012fff054faab4cb306', 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: '6382d81881701ca9363c0031e8db634812f233f7', type: "button", part: "button", class: "bs-chatbot-suggestion-button", disabled: this.disabled, onClick: this.onClick }, h("slot", { key: 'cc6a6586b36c70f5420f08ebc44db5452fe184bc' })));
48
+ return (h("button", { key: '7e2678988fe2cb407e75e275e51ff11d816dd25a', type: "button", part: "button", class: "bs-chatbot-suggestion-button", disabled: this.disabled, onClick: this.onClick }, h("slot", { key: 'fba2c8b032a6952df37c644129875d44d884603b' })));
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: '3ce0fec776997d16edcb84d3fe46c461721230b1', part: "container", class: "bs-checkbox-skeleton", role: "status", "aria-label": "Loading" }, h("span", { key: 'b59ec36ba925cb95545a4836bfa3b631a5ac54f6', part: "box", class: `bs-checkbox-skeleton__box bs-checkbox-skeleton__box--${this.size}` }), h("span", { key: '847024bd9c5d30157fe2e2cf3ef7421c8741dc21', part: "label", class: "bs-checkbox-skeleton__label" })));
36
+ return (h("span", { key: '37e97e41981813fcb9afed02c2f9b8dada09c71a', part: "container", class: "bs-checkbox-skeleton", role: "status", "aria-label": "Loading" }, h("span", { key: '65de48f7ab1695fb5f1aa5c3d95948024ca05f3a', part: "box", class: `bs-checkbox-skeleton__box bs-checkbox-skeleton__box--${this.size}` }), h("span", { key: '72dbe80d166c54bc7bd39d05f790b89a29f31887', 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"; }
@@ -118,7 +118,7 @@ export class BsCheckbox {
118
118
  "references": {
119
119
  "BsCheckboxSize": {
120
120
  "location": "local",
121
- "path": "/Users/vivka/brandsync-web-components/src/components/bs-checkbox/bs-checkbox.tsx",
121
+ "path": "/home/runner/work/Brandsync-web-components/Brandsync-web-components/packages/wc/src/components/bs-checkbox/bs-checkbox.tsx",
122
122
  "id": "src/components/bs-checkbox/bs-checkbox.tsx::BsCheckboxSize"
123
123
  }
124
124
  }
@@ -0,0 +1,99 @@
1
+ import { render, h, describe, it, expect } from "@stencil/vitest";
2
+ describe('bs-chip-filter', () => {
3
+ it('renders an unselected chip by default', async () => {
4
+ const { root } = await render(h("bs-chip-filter", null, "Label"));
5
+ const button = root.shadowRoot.querySelector('button');
6
+ expect(button).toEqualAttribute('aria-pressed', 'false');
7
+ expect(button).not.toHaveClass('bs-chip-filter--selected');
8
+ });
9
+ it('reflects the selected prop to the host attribute and the button', async () => {
10
+ const { root } = await render(h("bs-chip-filter", { selected: true }, "Label"));
11
+ expect(root).toEqualAttribute('selected', '');
12
+ const button = root.shadowRoot.querySelector('button');
13
+ expect(button).toEqualAttribute('aria-pressed', 'true');
14
+ expect(button).toHaveClass('bs-chip-filter--selected');
15
+ });
16
+ it('clicking toggles selected and emits bsChange with the new value', async () => {
17
+ const { root, waitForChanges, spyOnEvent } = await render(h("bs-chip-filter", null, "Label"));
18
+ const bsChangeSpy = spyOnEvent('bsChange');
19
+ const button = root.shadowRoot.querySelector('button');
20
+ button.click();
21
+ await waitForChanges();
22
+ expect(root.selected).toBe(true);
23
+ expect(bsChangeSpy).toHaveReceivedEventTimes(1);
24
+ expect(bsChangeSpy).toHaveReceivedEventDetail(true);
25
+ button.click();
26
+ await waitForChanges();
27
+ expect(root.selected).toBe(false);
28
+ expect(bsChangeSpy).toHaveReceivedEventTimes(2);
29
+ expect(bsChangeSpy).toHaveReceivedEventDetail(false);
30
+ });
31
+ describe('disabled', () => {
32
+ it('sets the disabled attribute on the native button', async () => {
33
+ const { root } = await render(h("bs-chip-filter", { disabled: true }, "Label"));
34
+ const button = root.shadowRoot.querySelector('button');
35
+ expect(button).toHaveAttribute('disabled');
36
+ });
37
+ it('prevents toggling via click', async () => {
38
+ const { root, waitForChanges, spyOnEvent } = await render(h("bs-chip-filter", { disabled: true }, "Label"));
39
+ const bsChangeSpy = spyOnEvent('bsChange');
40
+ const button = root.shadowRoot.querySelector('button');
41
+ button.click();
42
+ await waitForChanges();
43
+ expect(root.selected).toBe(false);
44
+ expect(bsChangeSpy).toHaveReceivedEventTimes(0);
45
+ });
46
+ });
47
+ ['md', 'lg'].forEach(size => {
48
+ it(`renders size="${size}" with the matching modifier class`, async () => {
49
+ const { root } = await render(h("bs-chip-filter", { size: size }, "Label"));
50
+ const button = root.shadowRoot.querySelector('button');
51
+ expect(button).toHaveClass(`bs-chip-filter--${size}`);
52
+ });
53
+ });
54
+ describe('dropdown caret', () => {
55
+ it('does not render a caret by default', async () => {
56
+ const { root } = await render(h("bs-chip-filter", null, "Label"));
57
+ expect(root.shadowRoot.querySelector('[part="caret"]')).toBeNull();
58
+ });
59
+ it('renders a caret when dropdown is set', async () => {
60
+ const { root } = await render(h("bs-chip-filter", { dropdown: true }, "Label"));
61
+ expect(root.shadowRoot.querySelector('[part="caret"]')).not.toBeNull();
62
+ });
63
+ });
64
+ describe('icon slot and padding variant', () => {
65
+ it('has no icon and the text-only padding variant by default', async () => {
66
+ const { root } = await render(h("bs-chip-filter", null, "Label"));
67
+ const button = root.shadowRoot.querySelector('button');
68
+ expect(root.shadowRoot.querySelector('[part="icon"]')).not.toHaveClass('bs-chip-filter__icon--visible');
69
+ expect(button).toHaveClass('bs-chip-filter--text-only');
70
+ });
71
+ it('marks the icon visible and picks the icon-only padding variant when the icon slot has content', async () => {
72
+ const { root, waitForChanges } = await render(h("bs-chip-filter", null, h("svg", { slot: "icon" }), "Label"));
73
+ await waitForChanges();
74
+ const button = root.shadowRoot.querySelector('button');
75
+ expect(root.shadowRoot.querySelector('[part="icon"]')).toHaveClass('bs-chip-filter__icon--visible');
76
+ expect(button).toHaveClass('bs-chip-filter--icon-only');
77
+ });
78
+ it('picks the dropdown-only padding variant with a caret but no icon', async () => {
79
+ const { root } = await render(h("bs-chip-filter", { dropdown: true }, "Label"));
80
+ const button = root.shadowRoot.querySelector('button');
81
+ expect(button).toHaveClass('bs-chip-filter--dropdown-only');
82
+ });
83
+ it('picks the icon-dropdown padding variant with both an icon and a caret', async () => {
84
+ const { root, waitForChanges } = await render(h("bs-chip-filter", { dropdown: true }, h("svg", { slot: "icon" }), "Label"));
85
+ await waitForChanges();
86
+ const button = root.shadowRoot.querySelector('button');
87
+ expect(button).toHaveClass('bs-chip-filter--icon-dropdown');
88
+ });
89
+ });
90
+ it('reflects ariaLabel to the native button', async () => {
91
+ const { root } = await render(h("bs-chip-filter", { ariaLabel: "Filter by status" }, "Label"));
92
+ const button = root.shadowRoot.querySelector('button');
93
+ expect(button).toEqualAttribute('aria-label', 'Filter by status');
94
+ });
95
+ it('renders label slot content', async () => {
96
+ const { root } = await render(h("bs-chip-filter", null, "Active users"));
97
+ expect(root).toHaveTextContent('Active users');
98
+ });
99
+ });
@@ -0,0 +1,156 @@
1
+ /**
2
+ * @prop --bs-chip-filter-height-md: Height at size="md". Aliased to --bs-spacing-300.
3
+ * @prop --bs-chip-filter-height-lg: Height at size="lg". Aliased to --bs-spacing-400.
4
+ * @prop --bs-chip-filter-gap: Gap between icon/label/caret. Aliased to --bs-spacing-50.
5
+ * @prop --bs-chip-filter-icon-size: Icon/caret glyph size. 16px, matching Figma exactly --
6
+ * constant across both sizes, only the chip's own height changes.
7
+ * @prop --bs-chip-filter-padding-x-glyph-side: Horizontal padding on an edge adjacent to the icon
8
+ * or the caret. Aliased to --bs-spacing-100.
9
+ * @prop --bs-chip-filter-padding-x-plain-side: Horizontal padding on a label-only edge, when the
10
+ * opposite edge has a glyph. Aliased to --bs-spacing-150.
11
+ * @prop --bs-chip-filter-padding-x-text-only: Horizontal padding on both edges, when neither has
12
+ * a glyph. Aliased to --bs-spacing-200 -- deliberately not the same as
13
+ * --bs-chip-filter-padding-x-plain-side; verified against Figma that a plain-text chip (no icon,
14
+ * no dropdown) uses a bigger value on both sides rather than the smaller one-sided compensating
15
+ * value used when only one edge lacks a glyph.
16
+ * @prop --bs-chip-filter-font-size: Aliased to --bs-font-size-sm.
17
+ * @prop --bs-chip-filter-line-height: Aliased to --bs-line-height-body-sm.
18
+ * @prop --bs-chip-filter-font-weight: Aliased to --bs-font-weight-regular.
19
+ *
20
+ * Color (background/text per selected/hover/focus/pressed/disabled state) comes directly from
21
+ * brandsync-tokens' own pre-built chip token set (--bs-chip-bg-..., --bs-chip-text-...,
22
+ * --bs-chip-border-...) below -- those are shared across the whole bs-chip family, not local to
23
+ * this component, so they're consumed directly rather than re-aliased under a
24
+ * bs-chip-filter-specific name.
25
+ */
26
+ :host {
27
+ display: inline-flex;
28
+
29
+ --bs-chip-filter-height-md: var(--bs-spacing-300);
30
+ --bs-chip-filter-height-lg: var(--bs-spacing-400);
31
+ --bs-chip-filter-gap: var(--bs-spacing-50);
32
+ --bs-chip-filter-icon-size: 16px;
33
+ --bs-chip-filter-padding-x-glyph-side: var(--bs-spacing-100);
34
+ --bs-chip-filter-padding-x-plain-side: var(--bs-spacing-150);
35
+ --bs-chip-filter-padding-x-text-only: var(--bs-spacing-200);
36
+ --bs-chip-filter-font-size: var(--bs-font-size-sm);
37
+ --bs-chip-filter-line-height: var(--bs-line-height-body-sm);
38
+ --bs-chip-filter-font-weight: var(--bs-font-weight-regular);
39
+ }
40
+
41
+ .bs-chip-filter {
42
+ display: inline-flex;
43
+ align-items: center;
44
+ gap: var(--bs-chip-filter-gap);
45
+ box-sizing: border-box;
46
+ border: none;
47
+ border-radius: var(--bs-border-radius-full);
48
+ font-family: inherit;
49
+ font-size: var(--bs-chip-filter-font-size);
50
+ font-weight: var(--bs-chip-filter-font-weight);
51
+ line-height: calc(var(--bs-chip-filter-line-height) * 1px);
52
+ white-space: nowrap;
53
+ cursor: pointer;
54
+ background: var(--bs-chip-bg-primary-container);
55
+ color: var(--bs-chip-text-primary);
56
+ transition: background-color var(--bs-duration-fast, 120ms) var(--bs-easing-standard, ease);
57
+ }
58
+
59
+ .bs-chip-filter--md {
60
+ height: var(--bs-chip-filter-height-md);
61
+ }
62
+
63
+ .bs-chip-filter--lg {
64
+ height: var(--bs-chip-filter-height-lg);
65
+ }
66
+
67
+ .bs-chip-filter--icon-dropdown {
68
+ padding: 0 var(--bs-chip-filter-padding-x-glyph-side);
69
+ }
70
+
71
+ .bs-chip-filter--icon-only {
72
+ padding-left: var(--bs-chip-filter-padding-x-glyph-side);
73
+ padding-right: var(--bs-chip-filter-padding-x-plain-side);
74
+ }
75
+
76
+ .bs-chip-filter--dropdown-only {
77
+ padding-left: var(--bs-chip-filter-padding-x-plain-side);
78
+ padding-right: var(--bs-chip-filter-padding-x-glyph-side);
79
+ }
80
+
81
+ .bs-chip-filter--text-only {
82
+ padding: 0 var(--bs-chip-filter-padding-x-text-only);
83
+ }
84
+
85
+ .bs-chip-filter__icon {
86
+ display: none;
87
+ flex-shrink: 0;
88
+ width: var(--bs-chip-filter-icon-size);
89
+ height: var(--bs-chip-filter-icon-size);
90
+ }
91
+
92
+ .bs-chip-filter__icon--visible {
93
+ display: flex;
94
+ align-items: center;
95
+ justify-content: center;
96
+ }
97
+
98
+ .bs-chip-filter__icon ::slotted(*) {
99
+ display: block;
100
+ width: var(--bs-chip-filter-icon-size);
101
+ height: var(--bs-chip-filter-icon-size);
102
+ }
103
+
104
+ .bs-chip-filter__label {
105
+ display: flex;
106
+ align-items: center;
107
+ }
108
+
109
+ .bs-chip-filter__caret {
110
+ display: flex;
111
+ flex-shrink: 0;
112
+ align-items: center;
113
+ justify-content: center;
114
+ width: var(--bs-chip-filter-icon-size);
115
+ height: var(--bs-chip-filter-icon-size);
116
+ }
117
+
118
+ /* Unselected (default): the light "container" background set. */
119
+ .bs-chip-filter:hover:not(:disabled) {
120
+ background: var(--bs-chip-bg-primary-container-hover);
121
+ }
122
+
123
+ .bs-chip-filter:active:not(:disabled) {
124
+ background: var(--bs-chip-bg-primary-container-pressed);
125
+ }
126
+
127
+ .bs-chip-filter:focus-visible {
128
+ background: var(--bs-chip-bg-primary-container-focused);
129
+ outline: 2px solid var(--bs-chip-border-focus);
130
+ outline-offset: 2px;
131
+ }
132
+
133
+ /* Selected: the dark "primary" background set, inverse (white) text -- swaps every state above
134
+ to its --primary-* (not --primary-container-*) counterpart. */
135
+ .bs-chip-filter--selected {
136
+ background: var(--bs-chip-bg-primary);
137
+ color: var(--bs-chip-text-inverse);
138
+ }
139
+
140
+ .bs-chip-filter--selected:hover:not(:disabled) {
141
+ background: var(--bs-chip-bg-primary-hover);
142
+ }
143
+
144
+ .bs-chip-filter--selected:active:not(:disabled) {
145
+ background: var(--bs-chip-bg-primary-pressed);
146
+ }
147
+
148
+ .bs-chip-filter--selected:focus-visible {
149
+ background: var(--bs-chip-bg-primary-focused);
150
+ }
151
+
152
+ .bs-chip-filter:disabled {
153
+ background: var(--bs-chip-bg-disabled);
154
+ color: var(--bs-chip-text-disabled);
155
+ cursor: not-allowed;
156
+ }
@@ -0,0 +1,222 @@
1
+ import { h } from "@stencil/core";
2
+ /**
3
+ * A pill-shaped, selectable toggle used to filter a list or dataset (e.g. a "Filter chip" row
4
+ * above a table or search results), optionally paired with a leading icon and/or a dropdown caret
5
+ * that signals it opens a menu of further options.
6
+ *
7
+ * ## When to use
8
+ * - Letting a user toggle a filter on/off, or open a menu of filter options (pair `dropdown` with
9
+ * your own `bs-menu` -- this component only renders the caret affordance, it doesn't manage a
10
+ * menu itself).
11
+ *
12
+ * ## When not to use
13
+ * - A static, non-interactive status/category label -- use `bs-badge` instead.
14
+ * - A single primary action -- use `bs-button`.
15
+ *
16
+ * @slot - Default slot: the chip's label content.
17
+ * @slot icon - Optional leading icon, rendered before the label.
18
+ * @part icon - The icon wrapper element.
19
+ * @part label - The text label element.
20
+ * @part caret - The dropdown caret wrapper element, when `dropdown` is set.
21
+ */
22
+ export class BsChipFilter {
23
+ el;
24
+ /** Sizing scale. Controls the chip's height only -- icon size, gap, and font size stay
25
+ * constant across sizes, matching the Figma spec exactly. */
26
+ size = 'lg';
27
+ /** Whether the chip reads as toggled on. Mutable so clicking it toggles directly, and
28
+ * reflected so consumers can target `bs-chip-filter[selected]` via CSS. */
29
+ selected = false;
30
+ /** Shows a trailing dropdown caret, signaling this chip opens a menu of further options.
31
+ * Purely a visual affordance -- wire up the actual menu (e.g. `bs-menu`) yourself. */
32
+ dropdown = false;
33
+ /** Disables the chip: sets the native `disabled` attribute, suppresses hover/focus/pressed
34
+ * styling, and prevents toggling. */
35
+ disabled = false;
36
+ /**
37
+ * Accessible name override. The visible label (default slot) already gives the native button
38
+ * an accessible name, so this is only needed if that text isn't sufficient on its own (e.g. it
39
+ * doesn't convey that activating the chip toggles a filter).
40
+ */
41
+ ariaLabel = null;
42
+ /** Tracks whether the `icon` slot has assigned content, so the icon/label gap only applies
43
+ * when there's actually a leading icon. */
44
+ hasIcon = false;
45
+ /** Emitted when `selected` changes via user interaction, with the new value. */
46
+ bsChange;
47
+ /** Same reasoning as bs-button's identical method: computes the initial state directly from
48
+ * the host's light DOM children, since a slot that starts (and stays) empty never fires
49
+ * `slotchange`. */
50
+ componentWillLoad() {
51
+ this.hasIcon = this.hasSlottedContent('icon');
52
+ }
53
+ hasSlottedContent(slotName) {
54
+ return Array.from(this.el.childNodes).some(node => node.nodeType === Node.ELEMENT_NODE && node.getAttribute('slot') === slotName);
55
+ }
56
+ onIconSlotchange = (ev) => {
57
+ this.hasIcon = ev.target.assignedNodes().length > 0;
58
+ };
59
+ onClick = () => {
60
+ this.selected = !this.selected;
61
+ this.bsChange.emit(this.selected);
62
+ };
63
+ render() {
64
+ // Matches the four Icon x Dropdown combinations verified against Figma (node 1905:9151):
65
+ // whichever edge is adjacent to a glyph (icon and/or caret) gets tighter padding, and a
66
+ // label-only edge gets more -- except when NEITHER edge has a glyph, where both edges use a
67
+ // third, larger value rather than the label-only one (see bs-chip-filter.css's own comment).
68
+ const paddingVariant = this.hasIcon && this.dropdown ? 'icon-dropdown' : this.hasIcon ? 'icon-only' : this.dropdown ? 'dropdown-only' : 'text-only';
69
+ return (h("button", { key: 'c585746cca27a4d60d2a0c242e26e19ba8b41677', type: "button", class: `bs-chip-filter bs-chip-filter--${this.size} bs-chip-filter--${paddingVariant} ${this.selected ? 'bs-chip-filter--selected' : ''}`, disabled: this.disabled, "aria-pressed": String(this.selected), "aria-label": this.ariaLabel, onClick: this.onClick }, h("span", { key: 'f62eda39d506b130e5cfe0881bfa80dd0241e1cf', part: "icon", class: `bs-chip-filter__icon ${this.hasIcon ? 'bs-chip-filter__icon--visible' : ''}` }, h("slot", { key: '233f80cba2500aa4fed6e1ccdb6d19f14fb64384', name: "icon", onSlotchange: this.onIconSlotchange })), h("span", { key: '74d101de8d1dd20bda1fbc789733282ae1a3784a', part: "label", class: "bs-chip-filter__label" }, h("slot", { key: '15db7eea134a9d3eac56a159c920141daed4e467' })), this.dropdown && (h("span", { key: 'e070c37932fa4bdc4f494472f361870e2f3d6b22', part: "caret", class: "bs-chip-filter__caret", "aria-hidden": "true" }, h(ChevronDownIcon, { key: '642401f2ddc833731875cfdd3b7d5d96f2272167' })))));
70
+ }
71
+ static get is() { return "bs-chip-filter"; }
72
+ static get encapsulation() { return "shadow"; }
73
+ static get delegatesFocus() { return true; }
74
+ static get originalStyleUrls() {
75
+ return {
76
+ "$": ["bs-chip-filter.css"]
77
+ };
78
+ }
79
+ static get styleUrls() {
80
+ return {
81
+ "$": ["bs-chip-filter.css"]
82
+ };
83
+ }
84
+ static get properties() {
85
+ return {
86
+ "size": {
87
+ "type": "string",
88
+ "mutable": false,
89
+ "complexType": {
90
+ "original": "BsChipFilterSize",
91
+ "resolved": "\"lg\" | \"md\"",
92
+ "references": {
93
+ "BsChipFilterSize": {
94
+ "location": "local",
95
+ "path": "/home/runner/work/Brandsync-web-components/Brandsync-web-components/packages/wc/src/components/bs-chip/bs-chip-filter/bs-chip-filter.tsx",
96
+ "id": "src/components/bs-chip/bs-chip-filter/bs-chip-filter.tsx::BsChipFilterSize"
97
+ }
98
+ }
99
+ },
100
+ "required": false,
101
+ "optional": false,
102
+ "docs": {
103
+ "tags": [],
104
+ "text": "Sizing scale. Controls the chip's height only -- icon size, gap, and font size stay\nconstant across sizes, matching the Figma spec exactly."
105
+ },
106
+ "getter": false,
107
+ "setter": false,
108
+ "reflect": false,
109
+ "attribute": "size",
110
+ "defaultValue": "'lg'"
111
+ },
112
+ "selected": {
113
+ "type": "boolean",
114
+ "mutable": true,
115
+ "complexType": {
116
+ "original": "boolean",
117
+ "resolved": "boolean",
118
+ "references": {}
119
+ },
120
+ "required": false,
121
+ "optional": false,
122
+ "docs": {
123
+ "tags": [],
124
+ "text": "Whether the chip reads as toggled on. Mutable so clicking it toggles directly, and\nreflected so consumers can target `bs-chip-filter[selected]` via CSS."
125
+ },
126
+ "getter": false,
127
+ "setter": false,
128
+ "reflect": true,
129
+ "attribute": "selected",
130
+ "defaultValue": "false"
131
+ },
132
+ "dropdown": {
133
+ "type": "boolean",
134
+ "mutable": false,
135
+ "complexType": {
136
+ "original": "boolean",
137
+ "resolved": "boolean",
138
+ "references": {}
139
+ },
140
+ "required": false,
141
+ "optional": false,
142
+ "docs": {
143
+ "tags": [],
144
+ "text": "Shows a trailing dropdown caret, signaling this chip opens a menu of further options.\nPurely a visual affordance -- wire up the actual menu (e.g. `bs-menu`) yourself."
145
+ },
146
+ "getter": false,
147
+ "setter": false,
148
+ "reflect": false,
149
+ "attribute": "dropdown",
150
+ "defaultValue": "false"
151
+ },
152
+ "disabled": {
153
+ "type": "boolean",
154
+ "mutable": false,
155
+ "complexType": {
156
+ "original": "boolean",
157
+ "resolved": "boolean",
158
+ "references": {}
159
+ },
160
+ "required": false,
161
+ "optional": false,
162
+ "docs": {
163
+ "tags": [],
164
+ "text": "Disables the chip: sets the native `disabled` attribute, suppresses hover/focus/pressed\nstyling, and prevents toggling."
165
+ },
166
+ "getter": false,
167
+ "setter": false,
168
+ "reflect": false,
169
+ "attribute": "disabled",
170
+ "defaultValue": "false"
171
+ },
172
+ "ariaLabel": {
173
+ "type": "string",
174
+ "mutable": false,
175
+ "complexType": {
176
+ "original": "string | null",
177
+ "resolved": "string",
178
+ "references": {}
179
+ },
180
+ "required": false,
181
+ "optional": false,
182
+ "docs": {
183
+ "tags": [],
184
+ "text": "Accessible name override. The visible label (default slot) already gives the native button\nan accessible name, so this is only needed if that text isn't sufficient on its own (e.g. it\ndoesn't convey that activating the chip toggles a filter)."
185
+ },
186
+ "getter": false,
187
+ "setter": false,
188
+ "reflect": false,
189
+ "attribute": "aria-label",
190
+ "defaultValue": "null"
191
+ }
192
+ };
193
+ }
194
+ static get states() {
195
+ return {
196
+ "hasIcon": {}
197
+ };
198
+ }
199
+ static get events() {
200
+ return [{
201
+ "method": "bsChange",
202
+ "name": "bsChange",
203
+ "bubbles": true,
204
+ "cancelable": true,
205
+ "composed": true,
206
+ "docs": {
207
+ "tags": [],
208
+ "text": "Emitted when `selected` changes via user interaction, with the new value."
209
+ },
210
+ "complexType": {
211
+ "original": "boolean",
212
+ "resolved": "boolean",
213
+ "references": {}
214
+ }
215
+ }];
216
+ }
217
+ static get elementRef() { return "el"; }
218
+ }
219
+ // Same icon already established for this exact "expand/collapse" affordance in
220
+ // bs-navigation-drawer-item -- reused verbatim rather than pulling in Figma's own CaretDown
221
+ // asset, per this library's existing icon for this purpose.
222
+ const ChevronDownIcon = () => (h("svg", { viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", "aria-hidden": "true" }, h("path", { d: "M4 6L8 10L12 6", stroke: "currentColor", "stroke-width": "1.5", "stroke-linecap": "round", "stroke-linejoin": "round" })));