@beeq/core 1.2.0 → 1.3.1

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 (431) hide show
  1. package/dist/beeq/beeq.css +1 -1
  2. package/dist/beeq/beeq.esm.js +1 -1
  3. package/dist/beeq/beeq.esm.js.map +1 -1
  4. package/dist/beeq/index.esm.js +1 -1
  5. package/dist/beeq/index.esm.js.map +1 -1
  6. package/dist/beeq/{p-fe2bf708.entry.js → p-0595abce.entry.js} +2 -2
  7. package/dist/beeq/{p-fe2bf708.entry.js.map → p-0595abce.entry.js.map} +1 -1
  8. package/dist/beeq/{p-39dd2bb7.entry.js → p-10ed463d.entry.js} +2 -2
  9. package/dist/beeq/{p-39dd2bb7.entry.js.map → p-10ed463d.entry.js.map} +1 -1
  10. package/dist/beeq/{p-01d532ae.entry.js → p-126c2d19.entry.js} +2 -2
  11. package/dist/beeq/{p-6f0f6b1d.entry.js → p-15ef27e9.entry.js} +2 -2
  12. package/dist/beeq/p-15ef27e9.entry.js.map +1 -0
  13. package/dist/beeq/{p-1f4958a6.entry.js → p-167c3774.entry.js} +2 -2
  14. package/dist/beeq/{p-1f4958a6.entry.js.map → p-167c3774.entry.js.map} +1 -1
  15. package/dist/beeq/p-1c8b6eb4.js +6 -0
  16. package/dist/beeq/p-1c8b6eb4.js.map +1 -0
  17. package/dist/beeq/{p-a624bec3.entry.js → p-1dcff407.entry.js} +2 -2
  18. package/dist/beeq/{p-1d4af402.entry.js → p-22a2bf4a.entry.js} +2 -2
  19. package/dist/beeq/p-22a2bf4a.entry.js.map +1 -0
  20. package/dist/beeq/{p-b6709f16.entry.js → p-29717d60.entry.js} +2 -2
  21. package/dist/beeq/p-2cc2ca42.entry.js +6 -0
  22. package/dist/beeq/{p-d3667996.entry.js.map → p-2cc2ca42.entry.js.map} +1 -1
  23. package/dist/beeq/{p-c77868b1.entry.js → p-30db348f.entry.js} +2 -2
  24. package/dist/beeq/{p-45f8500a.entry.js → p-35dba65d.entry.js} +2 -2
  25. package/dist/beeq/{p-f4ae510d.entry.js → p-3de3223c.entry.js} +2 -2
  26. package/dist/beeq/{p-f4ae510d.entry.js.map → p-3de3223c.entry.js.map} +1 -1
  27. package/dist/beeq/{p-ed7b86bf.entry.js → p-3fe9aa19.entry.js} +2 -2
  28. package/dist/beeq/p-3fe9aa19.entry.js.map +1 -0
  29. package/dist/beeq/{p-aecfae64.entry.js → p-4b1d6824.entry.js} +2 -2
  30. package/dist/beeq/{p-c939d2c1.entry.js → p-4ea77b47.entry.js} +2 -2
  31. package/dist/beeq/{p-722fecf7.entry.js → p-5666c9c1.entry.js} +2 -2
  32. package/dist/beeq/{p-8be0e23d.entry.js → p-56a53f77.entry.js} +2 -2
  33. package/dist/beeq/{p-8a3250c8.entry.js → p-58fdd13f.entry.js} +2 -2
  34. package/dist/beeq/{p-2796cee3.entry.js → p-69c47479.entry.js} +2 -2
  35. package/dist/beeq/{p-2796cee3.entry.js.map → p-69c47479.entry.js.map} +1 -1
  36. package/dist/beeq/p-69d93e10.entry.js +6 -0
  37. package/dist/beeq/p-69d93e10.entry.js.map +1 -0
  38. package/dist/beeq/p-6b12a365.entry.js +6 -0
  39. package/dist/beeq/p-6b12a365.entry.js.map +1 -0
  40. package/dist/beeq/p-704c7a0a.js +7 -0
  41. package/dist/beeq/p-704c7a0a.js.map +1 -0
  42. package/dist/beeq/{p-cafaec2d.entry.js → p-8cc8ac11.entry.js} +2 -2
  43. package/dist/beeq/{p-61800232.entry.js → p-94039fe7.entry.js} +2 -2
  44. package/dist/beeq/{p-61800232.entry.js.map → p-94039fe7.entry.js.map} +1 -1
  45. package/dist/beeq/{p-882091e8.entry.js → p-a15f79c5.entry.js} +2 -2
  46. package/dist/beeq/{p-882091e8.entry.js.map → p-a15f79c5.entry.js.map} +1 -1
  47. package/dist/beeq/{p-76c0d5a2.entry.js → p-a35b19f0.entry.js} +2 -2
  48. package/dist/beeq/{p-01cb76f9.entry.js → p-a7c6f797.entry.js} +2 -2
  49. package/dist/beeq/p-a91e6eab.entry.js +6 -0
  50. package/dist/beeq/p-a91e6eab.entry.js.map +1 -0
  51. package/dist/beeq/p-aaa76f94.entry.js +6 -0
  52. package/dist/beeq/{p-ec9694e9.entry.js.map → p-aaa76f94.entry.js.map} +1 -1
  53. package/dist/beeq/{p-9485b59c.entry.js → p-adbd57e8.entry.js} +2 -2
  54. package/dist/beeq/{p-60ef2dd5.entry.js → p-b0a999d6.entry.js} +2 -2
  55. package/dist/beeq/{p-60ef2dd5.entry.js.map → p-b0a999d6.entry.js.map} +1 -1
  56. package/dist/beeq/p-b7b80227.entry.js +6 -0
  57. package/dist/beeq/p-b7b80227.entry.js.map +1 -0
  58. package/dist/beeq/{p-36f66691.entry.js → p-c3228970.entry.js} +2 -2
  59. package/dist/beeq/{p-5767c20b.entry.js → p-c483c17e.entry.js} +2 -2
  60. package/dist/beeq/{p-b35be40e.entry.js → p-c69c58b8.entry.js} +2 -2
  61. package/dist/beeq/{p-af35411d.entry.js → p-c9fb7a30.entry.js} +2 -2
  62. package/dist/beeq/{p-af35411d.entry.js.map → p-c9fb7a30.entry.js.map} +1 -1
  63. package/dist/beeq/{p-a17900a9.entry.js → p-cf565f6a.entry.js} +2 -2
  64. package/dist/beeq/{p-cdfca19c.entry.js → p-dc08e1c5.entry.js} +2 -2
  65. package/dist/beeq/{p-cdfca19c.entry.js.map → p-dc08e1c5.entry.js.map} +1 -1
  66. package/dist/beeq/{p-b7f82611.entry.js → p-ff6101a7.entry.js} +2 -2
  67. package/dist/cjs/beeq.cjs.js +3 -3
  68. package/dist/cjs/beeq.cjs.js.map +1 -1
  69. package/dist/cjs/bq-accordion-group.cjs.entry.js +3 -3
  70. package/dist/cjs/bq-accordion.cjs.entry.js +4 -4
  71. package/dist/cjs/bq-alert.cjs.entry.js +6 -6
  72. package/dist/cjs/bq-alert.cjs.entry.js.map +1 -1
  73. package/dist/cjs/bq-avatar.cjs.entry.js +5 -5
  74. package/dist/cjs/bq-avatar.cjs.entry.js.map +1 -1
  75. package/dist/cjs/bq-badge.cjs.entry.js +4 -4
  76. package/dist/cjs/bq-breadcrumb-item.cjs.entry.js +5 -5
  77. package/dist/cjs/bq-breadcrumb.cjs.entry.js +3 -3
  78. package/dist/cjs/bq-button.cjs.entry.js +4 -4
  79. package/dist/cjs/bq-button.cjs.entry.js.map +1 -1
  80. package/dist/cjs/bq-card.cjs.entry.js +4 -4
  81. package/dist/cjs/bq-checkbox.cjs.entry.js +5 -5
  82. package/dist/cjs/bq-checkbox.cjs.entry.js.map +1 -1
  83. package/dist/cjs/bq-dialog.cjs.entry.js +5 -5
  84. package/dist/cjs/bq-dialog.cjs.entry.js.map +1 -1
  85. package/dist/cjs/bq-divider.cjs.entry.js +4 -4
  86. package/dist/cjs/bq-drawer.cjs.entry.js +6 -6
  87. package/dist/cjs/bq-drawer.cjs.entry.js.map +1 -1
  88. package/dist/cjs/bq-dropdown_3.cjs.entry.js +369 -0
  89. package/dist/cjs/bq-dropdown_3.cjs.entry.js.map +1 -0
  90. package/dist/cjs/bq-empty-state.cjs.entry.js +6 -6
  91. package/dist/cjs/bq-icon.cjs.entry.js +3 -3
  92. package/dist/cjs/bq-input.cjs.entry.js +6 -6
  93. package/dist/cjs/bq-input.cjs.entry.js.map +1 -1
  94. package/dist/cjs/bq-notification.cjs.entry.js +4 -4
  95. package/dist/cjs/bq-notification.cjs.entry.js.map +1 -1
  96. package/dist/cjs/bq-option-group.cjs.entry.js +3 -3
  97. package/dist/cjs/bq-option.cjs.entry.js +13 -9
  98. package/dist/cjs/bq-option.cjs.entry.js.map +1 -1
  99. package/dist/cjs/bq-panel.cjs.entry.js +3 -3
  100. package/dist/cjs/bq-progress.cjs.entry.js +6 -6
  101. package/dist/cjs/bq-progress.cjs.entry.js.map +1 -1
  102. package/dist/cjs/bq-radio-group.cjs.entry.js +3 -3
  103. package/dist/cjs/bq-radio.cjs.entry.js +4 -4
  104. package/dist/cjs/bq-select.cjs.entry.js +140 -19
  105. package/dist/cjs/bq-select.cjs.entry.js.map +1 -1
  106. package/dist/cjs/bq-side-menu-item.cjs.entry.js +2 -2
  107. package/dist/cjs/bq-side-menu-item.cjs.entry.js.map +1 -1
  108. package/dist/cjs/bq-side-menu.cjs.entry.js +3 -3
  109. package/dist/cjs/bq-side-menu.cjs.entry.js.map +1 -1
  110. package/dist/cjs/bq-slider.cjs.entry.js +165 -157
  111. package/dist/cjs/bq-slider.cjs.entry.js.map +1 -1
  112. package/dist/cjs/bq-spinner.cjs.entry.js +6 -6
  113. package/dist/cjs/bq-spinner.cjs.entry.js.map +1 -1
  114. package/dist/cjs/bq-status.cjs.entry.js +3 -3
  115. package/dist/cjs/bq-step-item.cjs.entry.js +6 -6
  116. package/dist/cjs/bq-steps.cjs.entry.js +3 -3
  117. package/dist/cjs/bq-switch.cjs.entry.js +4 -4
  118. package/dist/cjs/bq-switch.cjs.entry.js.map +1 -1
  119. package/dist/cjs/bq-tab-group.cjs.entry.js +3 -3
  120. package/dist/cjs/bq-tab.cjs.entry.js +4 -4
  121. package/dist/cjs/bq-textarea.cjs.entry.js +5 -5
  122. package/dist/cjs/bq-toast.cjs.entry.js +3 -3
  123. package/dist/cjs/bq-tooltip.cjs.entry.js +5 -3
  124. package/dist/cjs/bq-tooltip.cjs.entry.js.map +1 -1
  125. package/dist/cjs/event-7d21e426.js +20 -0
  126. package/dist/cjs/event-7d21e426.js.map +1 -0
  127. package/dist/cjs/{index-1e15a4d4.js → index-3e03656c.js} +31 -11
  128. package/dist/cjs/index-3e03656c.js.map +1 -0
  129. package/dist/cjs/index.cjs.js +2 -0
  130. package/dist/cjs/index.cjs.js.map +1 -1
  131. package/dist/cjs/loader.cjs.js +2 -2
  132. package/dist/collection/collection-manifest.json +3 -3
  133. package/dist/collection/components/accordion/bq-accordion.js +2 -2
  134. package/dist/collection/components/accordion/scss/bq-accordion.css +1 -1
  135. package/dist/collection/components/accordion-group/bq-accordion-group.js +1 -1
  136. package/dist/collection/components/accordion-group/scss/bq-accordion-group.css +1 -1
  137. package/dist/collection/components/alert/bq-alert.js +4 -4
  138. package/dist/collection/components/alert/bq-alert.js.map +1 -1
  139. package/dist/collection/components/alert/scss/bq-alert.css +1 -1
  140. package/dist/collection/components/avatar/bq-avatar.js +3 -3
  141. package/dist/collection/components/avatar/bq-avatar.js.map +1 -1
  142. package/dist/collection/components/avatar/scss/bq-avatar.css +1 -1
  143. package/dist/collection/components/badge/bq-badge.js +2 -2
  144. package/dist/collection/components/badge/scss/bq-badge.css +1 -1
  145. package/dist/collection/components/breadcrumb/bq-breadcrumb.js +1 -1
  146. package/dist/collection/components/breadcrumb/scss/bq-breadcrumb.css +1 -1
  147. package/dist/collection/components/breadcrumb-item/bq-breadcrumb-item.js +3 -3
  148. package/dist/collection/components/breadcrumb-item/scss/bq-breadcrumb-item.css +1 -1
  149. package/dist/collection/components/button/bq-button.js +2 -2
  150. package/dist/collection/components/button/bq-button.js.map +1 -1
  151. package/dist/collection/components/button/scss/bq-button.css +1 -1
  152. package/dist/collection/components/card/bq-card.js +2 -2
  153. package/dist/collection/components/card/scss/bq-card.css +1 -1
  154. package/dist/collection/components/checkbox/bq-checkbox.js +7 -6
  155. package/dist/collection/components/checkbox/bq-checkbox.js.map +1 -1
  156. package/dist/collection/components/checkbox/scss/bq-checkbox.css +1 -1
  157. package/dist/collection/components/dialog/bq-dialog.js +3 -3
  158. package/dist/collection/components/dialog/bq-dialog.js.map +1 -1
  159. package/dist/collection/components/dialog/scss/bq-dialog.css +1 -1
  160. package/dist/collection/components/divider/bq-divider.js +2 -2
  161. package/dist/collection/components/divider/scss/bq-divider.css +1 -1
  162. package/dist/collection/components/drawer/bq-drawer.js +4 -4
  163. package/dist/collection/components/drawer/bq-drawer.js.map +1 -1
  164. package/dist/collection/components/drawer/scss/bq-drawer.css +1 -1
  165. package/dist/collection/components/dropdown/bq-dropdown.js +1 -1
  166. package/dist/collection/components/dropdown/scss/bq-dropdown.css +1 -1
  167. package/dist/collection/components/empty-state/bq-empty-state.js +4 -4
  168. package/dist/collection/components/empty-state/scss/bq-empty-state.css +1 -1
  169. package/dist/collection/components/icon/bq-icon.js +1 -1
  170. package/dist/collection/components/icon/scss/bq-icon.css +1 -1
  171. package/dist/collection/components/input/bq-input.js +4 -4
  172. package/dist/collection/components/input/bq-input.js.map +1 -1
  173. package/dist/collection/components/input/scss/bq-input.css +1 -1
  174. package/dist/collection/components/notification/bq-notification.js +2 -2
  175. package/dist/collection/components/notification/bq-notification.js.map +1 -1
  176. package/dist/collection/components/notification/scss/bq-notification.css +1 -1
  177. package/dist/collection/components/option/bq-option.js +30 -8
  178. package/dist/collection/components/option/bq-option.js.map +1 -1
  179. package/dist/collection/components/option/scss/bq-option.css +1 -1
  180. package/dist/collection/components/option-group/bq-option-group.js +1 -1
  181. package/dist/collection/components/option-group/scss/bq-option-group.css +1 -1
  182. package/dist/collection/components/option-list/bq-option-list.js +5 -5
  183. package/dist/collection/components/option-list/bq-option-list.js.map +1 -1
  184. package/dist/collection/components/option-list/scss/bq-option-list.css +1 -1
  185. package/dist/collection/components/panel/bq-panel.js +1 -1
  186. package/dist/collection/components/panel/scss/bq-panel.css +1 -1
  187. package/dist/collection/components/progress/__tests__/bq-progress.e2e.js +3 -1
  188. package/dist/collection/components/progress/__tests__/bq-progress.e2e.js.map +1 -1
  189. package/dist/collection/components/progress/bq-progress.js +4 -4
  190. package/dist/collection/components/progress/bq-progress.js.map +1 -1
  191. package/dist/collection/components/progress/scss/bq-progress.css +1 -1
  192. package/dist/collection/components/radio/bq-radio.js +2 -2
  193. package/dist/collection/components/radio/scss/bq-radio.css +1 -1
  194. package/dist/collection/components/radio-group/bq-radio-group.js +1 -1
  195. package/dist/collection/components/radio-group/scss/bq-radio-group.css +1 -1
  196. package/dist/collection/components/select/__tests__/bq-select.e2e.js +37 -0
  197. package/dist/collection/components/select/__tests__/bq-select.e2e.js.map +1 -1
  198. package/dist/collection/components/select/bq-select.js +207 -25
  199. package/dist/collection/components/select/bq-select.js.map +1 -1
  200. package/dist/collection/components/select/scss/bq-select.css +1 -1
  201. package/dist/collection/components/side-menu/bq-side-menu.js +1 -1
  202. package/dist/collection/components/side-menu/scss/bq-side-menu.css +1 -1
  203. package/dist/collection/components/side-menu-item/scss/bq-side-menu-item.css +1 -1
  204. package/dist/collection/components/slider/__tests__/bq-slider.e2e.js +113 -0
  205. package/dist/collection/components/slider/__tests__/bq-slider.e2e.js.map +1 -0
  206. package/dist/collection/components/slider/bq-slider.js +262 -196
  207. package/dist/collection/components/slider/bq-slider.js.map +1 -1
  208. package/dist/collection/components/slider/bq-slider.types.js.map +1 -1
  209. package/dist/collection/components/slider/scss/bq-slider.css +1 -1
  210. package/dist/collection/components/spinner/bq-spinner.js +4 -4
  211. package/dist/collection/components/spinner/bq-spinner.js.map +1 -1
  212. package/dist/collection/components/spinner/scss/bq-spinner.css +1 -1
  213. package/dist/collection/components/status/bq-status.js +1 -1
  214. package/dist/collection/components/status/scss/bq-status.css +1 -1
  215. package/dist/collection/components/step-item/bq-step-item.js +4 -4
  216. package/dist/collection/components/step-item/scss/bq-step-item.css +1 -1
  217. package/dist/collection/components/steps/bq-steps.js +1 -1
  218. package/dist/collection/components/steps/scss/bq-steps.css +1 -1
  219. package/dist/collection/components/switch/bq-switch.js +2 -2
  220. package/dist/collection/components/switch/bq-switch.js.map +1 -1
  221. package/dist/collection/components/switch/scss/bq-switch.css +1 -1
  222. package/dist/collection/components/tab/bq-tab.js +2 -2
  223. package/dist/collection/components/tab/scss/bq-tab.css +1 -1
  224. package/dist/collection/components/tab-group/bq-tab-group.js +1 -1
  225. package/dist/collection/components/tab-group/scss/bq-tab-group.css +1 -1
  226. package/dist/collection/components/tag/__tests__/bq-tag.e2e.js +9 -4
  227. package/dist/collection/components/tag/__tests__/bq-tag.e2e.js.map +1 -1
  228. package/dist/collection/components/tag/bq-tag.js +4 -3
  229. package/dist/collection/components/tag/bq-tag.js.map +1 -1
  230. package/dist/collection/components/tag/helper/index.js +1 -1
  231. package/dist/collection/components/tag/helper/index.js.map +1 -1
  232. package/dist/collection/components/tag/scss/bq-tag.css +1 -1
  233. package/dist/collection/components/textarea/bq-textarea.js +3 -3
  234. package/dist/collection/components/textarea/scss/bq-textarea.css +1 -1
  235. package/dist/collection/components/toast/bq-toast.js +1 -1
  236. package/dist/collection/components/toast/scss/bq-toast.css +1 -1
  237. package/dist/collection/components/tooltip/bq-tooltip.js +3 -1
  238. package/dist/collection/components/tooltip/bq-tooltip.js.map +1 -1
  239. package/dist/collection/components/tooltip/scss/bq-tooltip.css +1 -1
  240. package/dist/collection/shared/utils/event.js +15 -0
  241. package/dist/collection/shared/utils/event.js.map +1 -0
  242. package/dist/collection/shared/utils/index.js +1 -0
  243. package/dist/collection/shared/utils/index.js.map +1 -1
  244. package/dist/components/bq-accordion-group.js +2 -2
  245. package/dist/components/bq-accordion.js +3 -3
  246. package/dist/components/bq-alert.js +5 -5
  247. package/dist/components/bq-alert.js.map +1 -1
  248. package/dist/components/bq-avatar.js +4 -4
  249. package/dist/components/bq-avatar.js.map +1 -1
  250. package/dist/components/bq-badge2.js +3 -3
  251. package/dist/components/bq-breadcrumb-item.js +4 -4
  252. package/dist/components/bq-breadcrumb.js +2 -2
  253. package/dist/components/bq-button2.js +3 -3
  254. package/dist/components/bq-button2.js.map +1 -1
  255. package/dist/components/bq-card.js +3 -3
  256. package/dist/components/bq-checkbox.js +4 -4
  257. package/dist/components/bq-checkbox.js.map +1 -1
  258. package/dist/components/bq-dialog.js +4 -4
  259. package/dist/components/bq-dialog.js.map +1 -1
  260. package/dist/components/bq-divider2.js +3 -3
  261. package/dist/components/bq-drawer.js +5 -5
  262. package/dist/components/bq-drawer.js.map +1 -1
  263. package/dist/components/bq-dropdown2.js +2 -2
  264. package/dist/components/bq-empty-state.js +5 -5
  265. package/dist/components/bq-icon2.js +2 -2
  266. package/dist/components/bq-input.js +5 -5
  267. package/dist/components/bq-input.js.map +1 -1
  268. package/dist/components/bq-notification.js +3 -3
  269. package/dist/components/bq-notification.js.map +1 -1
  270. package/dist/components/bq-option-group.js +2 -2
  271. package/dist/components/bq-option-list2.js +17 -6
  272. package/dist/components/bq-option-list2.js.map +1 -1
  273. package/dist/components/bq-option.js +14 -9
  274. package/dist/components/bq-option.js.map +1 -1
  275. package/dist/components/bq-panel2.js +2 -2
  276. package/dist/components/bq-progress.js +5 -5
  277. package/dist/components/bq-progress.js.map +1 -1
  278. package/dist/components/bq-radio-group.js +2 -2
  279. package/dist/components/bq-radio.js +3 -3
  280. package/dist/components/bq-select.js +159 -28
  281. package/dist/components/bq-select.js.map +1 -1
  282. package/dist/components/bq-side-menu-item.js +1 -1
  283. package/dist/components/bq-side-menu-item.js.map +1 -1
  284. package/dist/components/bq-side-menu.js +2 -2
  285. package/dist/components/bq-side-menu.js.map +1 -1
  286. package/dist/components/bq-slider.js +184 -164
  287. package/dist/components/bq-slider.js.map +1 -1
  288. package/dist/components/bq-spinner.js +5 -5
  289. package/dist/components/bq-spinner.js.map +1 -1
  290. package/dist/components/bq-status.js +2 -2
  291. package/dist/components/bq-step-item.js +5 -5
  292. package/dist/components/bq-steps.js +2 -2
  293. package/dist/components/bq-switch.js +3 -3
  294. package/dist/components/bq-switch.js.map +1 -1
  295. package/dist/components/bq-tab-group.js +2 -2
  296. package/dist/components/bq-tab.js +3 -3
  297. package/dist/components/bq-tag.js +1 -249
  298. package/dist/components/bq-tag.js.map +1 -1
  299. package/dist/{esm/bq-tag.entry.js → components/bq-tag2.js} +61 -18
  300. package/dist/components/bq-tag2.js.map +1 -0
  301. package/dist/components/bq-textarea.js +4 -4
  302. package/dist/components/bq-toast.js +2 -2
  303. package/dist/components/bq-tooltip2.js +4 -2
  304. package/dist/components/bq-tooltip2.js.map +1 -1
  305. package/dist/components/index.js +1 -0
  306. package/dist/components/index.js.map +1 -1
  307. package/dist/esm/beeq.js +4 -4
  308. package/dist/esm/beeq.js.map +1 -1
  309. package/dist/esm/bq-accordion-group.entry.js +3 -3
  310. package/dist/esm/bq-accordion.entry.js +4 -4
  311. package/dist/esm/bq-alert.entry.js +6 -6
  312. package/dist/esm/bq-alert.entry.js.map +1 -1
  313. package/dist/esm/bq-avatar.entry.js +5 -5
  314. package/dist/esm/bq-avatar.entry.js.map +1 -1
  315. package/dist/esm/bq-badge.entry.js +4 -4
  316. package/dist/esm/bq-breadcrumb-item.entry.js +5 -5
  317. package/dist/esm/bq-breadcrumb.entry.js +3 -3
  318. package/dist/esm/bq-button.entry.js +4 -4
  319. package/dist/esm/bq-button.entry.js.map +1 -1
  320. package/dist/esm/bq-card.entry.js +4 -4
  321. package/dist/esm/bq-checkbox.entry.js +5 -5
  322. package/dist/esm/bq-checkbox.entry.js.map +1 -1
  323. package/dist/esm/bq-dialog.entry.js +5 -5
  324. package/dist/esm/bq-dialog.entry.js.map +1 -1
  325. package/dist/esm/bq-divider.entry.js +4 -4
  326. package/dist/esm/bq-drawer.entry.js +6 -6
  327. package/dist/esm/bq-drawer.entry.js.map +1 -1
  328. package/dist/esm/bq-dropdown_3.entry.js +363 -0
  329. package/dist/esm/bq-dropdown_3.entry.js.map +1 -0
  330. package/dist/esm/bq-empty-state.entry.js +6 -6
  331. package/dist/esm/bq-icon.entry.js +3 -3
  332. package/dist/esm/bq-input.entry.js +6 -6
  333. package/dist/esm/bq-input.entry.js.map +1 -1
  334. package/dist/esm/bq-notification.entry.js +4 -4
  335. package/dist/esm/bq-notification.entry.js.map +1 -1
  336. package/dist/esm/bq-option-group.entry.js +3 -3
  337. package/dist/esm/bq-option.entry.js +13 -9
  338. package/dist/esm/bq-option.entry.js.map +1 -1
  339. package/dist/esm/bq-panel.entry.js +3 -3
  340. package/dist/esm/bq-progress.entry.js +6 -6
  341. package/dist/esm/bq-progress.entry.js.map +1 -1
  342. package/dist/esm/bq-radio-group.entry.js +3 -3
  343. package/dist/esm/bq-radio.entry.js +4 -4
  344. package/dist/esm/bq-select.entry.js +140 -19
  345. package/dist/esm/bq-select.entry.js.map +1 -1
  346. package/dist/esm/bq-side-menu-item.entry.js +2 -2
  347. package/dist/esm/bq-side-menu-item.entry.js.map +1 -1
  348. package/dist/esm/bq-side-menu.entry.js +3 -3
  349. package/dist/esm/bq-side-menu.entry.js.map +1 -1
  350. package/dist/esm/bq-slider.entry.js +165 -157
  351. package/dist/esm/bq-slider.entry.js.map +1 -1
  352. package/dist/esm/bq-spinner.entry.js +6 -6
  353. package/dist/esm/bq-spinner.entry.js.map +1 -1
  354. package/dist/esm/bq-status.entry.js +3 -3
  355. package/dist/esm/bq-step-item.entry.js +6 -6
  356. package/dist/esm/bq-steps.entry.js +3 -3
  357. package/dist/esm/bq-switch.entry.js +4 -4
  358. package/dist/esm/bq-switch.entry.js.map +1 -1
  359. package/dist/esm/bq-tab-group.entry.js +3 -3
  360. package/dist/esm/bq-tab.entry.js +4 -4
  361. package/dist/esm/bq-textarea.entry.js +5 -5
  362. package/dist/esm/bq-toast.entry.js +3 -3
  363. package/dist/esm/bq-tooltip.entry.js +5 -3
  364. package/dist/esm/bq-tooltip.entry.js.map +1 -1
  365. package/dist/esm/event-9ce1db79.js +18 -0
  366. package/dist/esm/event-9ce1db79.js.map +1 -0
  367. package/dist/esm/{index-2d9fa67e.js → index-8e584dd6.js} +31 -11
  368. package/dist/esm/index-8e584dd6.js.map +1 -0
  369. package/dist/esm/index.js +1 -0
  370. package/dist/esm/index.js.map +1 -1
  371. package/dist/esm/loader.js +3 -3
  372. package/dist/hydrate/index.js +514 -317
  373. package/dist/types/components/checkbox/bq-checkbox.d.ts +1 -1
  374. package/dist/types/components/option/bq-option.d.ts +3 -0
  375. package/dist/types/components/select/bq-select.d.ts +31 -3
  376. package/dist/types/components/side-menu-item/bq-side-menu-item.d.ts +1 -1
  377. package/dist/types/components/slider/bq-slider.d.ts +83 -36
  378. package/dist/types/components/slider/bq-slider.types.d.ts +1 -0
  379. package/dist/types/components/tag/bq-tag.d.ts +1 -0
  380. package/dist/types/components.d.ts +80 -30
  381. package/dist/types/home/runner/work/BEEQ/BEEQ/packages/beeq/.stencil/tailwind.config.d.ts +1 -0
  382. package/dist/types/shared/utils/event.d.ts +7 -0
  383. package/dist/types/shared/utils/index.d.ts +1 -0
  384. package/package.json +1 -1
  385. package/dist/beeq/p-17d8cc6f.entry.js +0 -6
  386. package/dist/beeq/p-17d8cc6f.entry.js.map +0 -1
  387. package/dist/beeq/p-1d4af402.entry.js.map +0 -1
  388. package/dist/beeq/p-4d6f76f5.entry.js +0 -6
  389. package/dist/beeq/p-4d6f76f5.entry.js.map +0 -1
  390. package/dist/beeq/p-4f1011b6.js +0 -7
  391. package/dist/beeq/p-4f1011b6.js.map +0 -1
  392. package/dist/beeq/p-6f0f6b1d.entry.js.map +0 -1
  393. package/dist/beeq/p-763745cd.entry.js +0 -6
  394. package/dist/beeq/p-763745cd.entry.js.map +0 -1
  395. package/dist/beeq/p-d3667996.entry.js +0 -6
  396. package/dist/beeq/p-ec9694e9.entry.js +0 -6
  397. package/dist/beeq/p-ed7b86bf.entry.js.map +0 -1
  398. package/dist/beeq/p-ee9b3eba.entry.js +0 -6
  399. package/dist/beeq/p-ee9b3eba.entry.js.map +0 -1
  400. package/dist/beeq/p-fbf29d8c.entry.js +0 -6
  401. package/dist/beeq/p-fbf29d8c.entry.js.map +0 -1
  402. package/dist/cjs/bq-dropdown_2.cjs.entry.js +0 -163
  403. package/dist/cjs/bq-dropdown_2.cjs.entry.js.map +0 -1
  404. package/dist/cjs/bq-tag.cjs.entry.js +0 -218
  405. package/dist/cjs/bq-tag.cjs.entry.js.map +0 -1
  406. package/dist/cjs/index-1e15a4d4.js.map +0 -1
  407. package/dist/collection/components/slider/__test__/bq-slider.e2e.js +0 -113
  408. package/dist/collection/components/slider/__test__/bq-slider.e2e.js.map +0 -1
  409. package/dist/esm/bq-dropdown_2.entry.js +0 -158
  410. package/dist/esm/bq-dropdown_2.entry.js.map +0 -1
  411. package/dist/esm/bq-tag.entry.js.map +0 -1
  412. package/dist/esm/index-2d9fa67e.js.map +0 -1
  413. /package/dist/beeq/{p-01d532ae.entry.js.map → p-126c2d19.entry.js.map} +0 -0
  414. /package/dist/beeq/{p-a624bec3.entry.js.map → p-1dcff407.entry.js.map} +0 -0
  415. /package/dist/beeq/{p-b6709f16.entry.js.map → p-29717d60.entry.js.map} +0 -0
  416. /package/dist/beeq/{p-c77868b1.entry.js.map → p-30db348f.entry.js.map} +0 -0
  417. /package/dist/beeq/{p-45f8500a.entry.js.map → p-35dba65d.entry.js.map} +0 -0
  418. /package/dist/beeq/{p-aecfae64.entry.js.map → p-4b1d6824.entry.js.map} +0 -0
  419. /package/dist/beeq/{p-c939d2c1.entry.js.map → p-4ea77b47.entry.js.map} +0 -0
  420. /package/dist/beeq/{p-722fecf7.entry.js.map → p-5666c9c1.entry.js.map} +0 -0
  421. /package/dist/beeq/{p-8be0e23d.entry.js.map → p-56a53f77.entry.js.map} +0 -0
  422. /package/dist/beeq/{p-8a3250c8.entry.js.map → p-58fdd13f.entry.js.map} +0 -0
  423. /package/dist/beeq/{p-cafaec2d.entry.js.map → p-8cc8ac11.entry.js.map} +0 -0
  424. /package/dist/beeq/{p-76c0d5a2.entry.js.map → p-a35b19f0.entry.js.map} +0 -0
  425. /package/dist/beeq/{p-01cb76f9.entry.js.map → p-a7c6f797.entry.js.map} +0 -0
  426. /package/dist/beeq/{p-9485b59c.entry.js.map → p-adbd57e8.entry.js.map} +0 -0
  427. /package/dist/beeq/{p-36f66691.entry.js.map → p-c3228970.entry.js.map} +0 -0
  428. /package/dist/beeq/{p-5767c20b.entry.js.map → p-c483c17e.entry.js.map} +0 -0
  429. /package/dist/beeq/{p-b35be40e.entry.js.map → p-c69c58b8.entry.js.map} +0 -0
  430. /package/dist/beeq/{p-a17900a9.entry.js.map → p-cf565f6a.entry.js.map} +0 -0
  431. /package/dist/beeq/{p-b7f82611.entry.js.map → p-ff6101a7.entry.js.map} +0 -0
@@ -19,7 +19,7 @@ export declare class BqCheckbox {
19
19
  /** If true checkbox is disabled */
20
20
  disabled?: boolean;
21
21
  /** A state that is neither checked nor unchecked */
22
- indeterminate: false;
22
+ indeterminate?: boolean;
23
23
  /** Name of the HTML input form control. Submitted with the form as part of a name/value pair. */
24
24
  name: string;
25
25
  /** If `true`, it will indicate that the user must specify a value for the checkbox before the owning form can be submitted */
@@ -11,6 +11,8 @@ export declare class BqOption {
11
11
  el: HTMLBqOptionElement;
12
12
  hasPrefix: boolean;
13
13
  hasSuffix: boolean;
14
+ /** If true, the option is hidden. */
15
+ hidden: boolean;
14
16
  /** If true, the option is disabled. */
15
17
  disabled?: boolean;
16
18
  /** A string representing the value of the option. Can be used to identify the item */
@@ -31,5 +33,6 @@ export declare class BqOption {
31
33
  private onClick;
32
34
  private onSlotChange;
33
35
  private handleSuffixSlotChange;
36
+ private get isDisabledOrHidden();
34
37
  render(): any;
35
38
  }
@@ -1,17 +1,26 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
2
  import { FloatingUIPlacement } from '../../services/interfaces';
3
- import { TInputValidation, TInputValue } from '../input/bq-input.types';
3
+ import { TInputValidation } from '../input/bq-input.types';
4
+ export type TSelectValue = string | string[];
4
5
  /**
5
6
  * @part base - The component's base wrapper.
6
7
  * @part button - The native HTML button used under the hood in the clear button.
7
8
  * @part clear-btn - The clear button.
8
9
  * @part control - The input control wrapper.
10
+ * @part input-outline - The input outline wrapper that holds the tags container and the native HTML input used under the hood.
9
11
  * @part helper-text - The helper text slot container.
10
12
  * @part input - The native HTML input element used under the hood.
11
13
  * @part label - The label slot container.
12
14
  * @part panel - The select panel container
13
15
  * @part prefix - The prefix slot container.
14
16
  * @part suffix - The suffix slot container.
17
+ * @part tags - The tags container of the BqTags for multiple selection.
18
+ * @part tag - The tag container of the BqTag for multiple selection.
19
+ * @part tag__base - The base wrapper of the BqTag for multiple selection.
20
+ * @part tag__prefix - The prefix slot container of the BqTag for multiple selection.
21
+ * @part tag__text - The text slot container of the BqTag for multiple selection.
22
+ * @part tag__btn-close - The close button of the BqTag for multiple selection.
23
+ * @part option-list - The option list container.
15
24
  */
16
25
  export declare class BqSelect {
17
26
  private helperTextElem?;
@@ -19,10 +28,12 @@ export declare class BqSelect {
19
28
  private labelElem?;
20
29
  private prefixElem?;
21
30
  private suffixElem?;
31
+ private debounceQuery;
22
32
  private fallbackInputId;
23
33
  el: HTMLBqSelectElement;
24
34
  displayValue?: string;
25
35
  hasHelperText: boolean;
36
+ selectedOptions: HTMLBqOptionElement[];
26
37
  hasLabel: boolean;
27
38
  hasPrefix: boolean;
28
39
  hasSuffix: boolean;
@@ -31,6 +42,11 @@ export declare class BqSelect {
31
42
  autofocus: boolean;
32
43
  /** The clear button aria label */
33
44
  clearButtonLabel?: string;
45
+ /**
46
+ * The amount of time, in milliseconds, to wait before emitting the `bqInput` event after the input value changes.
47
+ * A value of 0 means no debouncing will occur.
48
+ */
49
+ debounceTime?: number;
34
50
  /**
35
51
  * Indicates whether the Select input is disabled or not.
36
52
  * If `true`, the Select is disabled and cannot be interacted with.
@@ -46,6 +62,10 @@ export declare class BqSelect {
46
62
  keepOpenOnSelect?: boolean;
47
63
  /** The Select input name. */
48
64
  name: string;
65
+ /** The maximum number of tags to display when multiple selection is enabled */
66
+ maxTagsVisible: number;
67
+ /** If true, the Select input will allow multiple selections. */
68
+ multiple?: boolean;
49
69
  /** If true, the Select panel will be visible. */
50
70
  open?: boolean;
51
71
  /** When set, it will override the height of the Select panel. */
@@ -54,7 +74,7 @@ export declare class BqSelect {
54
74
  placeholder?: string;
55
75
  /** Position of the Select panel */
56
76
  placement?: FloatingUIPlacement;
57
- /** If true, the Select input cannot be modified. */
77
+ /** If true, the list of options cannot be filtered (searching won't be available) */
58
78
  readonly?: boolean;
59
79
  /** Indicates whether or not the Select input is required to be filled out before submitting the form. */
60
80
  required?: boolean;
@@ -76,7 +96,7 @@ export declare class BqSelect {
76
96
  */
77
97
  validationStatus: TInputValidation;
78
98
  /** The select input value, it can be used to reset the field to a previous value */
79
- value: TInputValue;
99
+ value: TSelectValue;
80
100
  handleValueChange(): void;
81
101
  /** Callback handler emitted when the Select input loses focus */
82
102
  bqBlur: EventEmitter<HTMLBqSelectElement>;
@@ -89,6 +109,7 @@ export declare class BqSelect {
89
109
  value: string | number | string[];
90
110
  item: HTMLBqOptionElement;
91
111
  }>;
112
+ connectedCallback(): void;
92
113
  componentDidLoad(): void;
93
114
  handleOpenChange(ev: CustomEvent<{
94
115
  open: boolean;
@@ -104,13 +125,20 @@ export declare class BqSelect {
104
125
  private handleBlur;
105
126
  private handleFocus;
106
127
  private handleSelect;
128
+ private handleMultipleSelection;
129
+ private handleSearchFilter;
107
130
  private handleClearClick;
131
+ private handleTagRemove;
108
132
  private handleLabelSlotChange;
109
133
  private handlePrefixSlotChange;
110
134
  private handleSuffixSlotChange;
111
135
  private handleHelperTextSlotChange;
136
+ private resetOptionsVisibility;
112
137
  private syncItemsFromValue;
113
138
  private getOptionLabel;
114
139
  private get options();
140
+ private get displayPlaceholder();
141
+ private get displayTags();
142
+ private get hasClearIcon();
115
143
  render(): any;
116
144
  }
@@ -1,4 +1,4 @@
1
- import { Event, EventEmitter } from '../../stencil-public-runtime';
1
+ import { EventEmitter } from '../../stencil-public-runtime';
2
2
  /**
3
3
  * @part base - The component wrapper container inside the shadow DOM
4
4
  * @part label - The label slot
@@ -1,58 +1,105 @@
1
1
  import { EventEmitter } from '../../stencil-public-runtime';
2
- import { TSliderType } from './bq-slider.types';
2
+ import { TSliderType, TSliderValue } from './bq-slider.types';
3
+ /**
4
+ * @part base - The component's base wrapper.
5
+ * @part container - The container of the slider.
6
+ * @part track-area - The track area of the slider.
7
+ * @part progress-area - The progress area of the slider.
8
+ * @part input-min - The input element for the value when the slider type is `single` or the minimum value when the slider type is `range`.
9
+ * @part input-max - The input element for the maximum value.
10
+ * @part label-start - The label for the value when the slider type is `single` or the minimum value when the slider type is `range`.
11
+ * @part label-end - The label for maximum value when the slider type is `range`.
12
+ */
3
13
  export declare class BqSlider {
4
- private progressDivElement;
5
- private minRangeInputElement;
6
- private maxRangeInputElement;
7
- private bqChangeDebounced;
14
+ private inputMinElem;
15
+ private inputMaxElem;
16
+ private minTooltipElem;
17
+ private maxTooltipElem;
18
+ private progressElem;
19
+ private trackElem;
20
+ private debounceBqChange;
8
21
  el: HTMLBqSliderElement;
9
- private minRangeValue;
10
- private maxRangeValue;
11
- /** If `true` slider is disabled */
12
- disabled?: boolean;
13
- /** A number representing the delay value applied to bqChange event handler */
22
+ /**
23
+ * The `minValue` state is the only value when the slider type is `single`
24
+ * and the minimum value when the slider type is `range`.
25
+ */
26
+ minValue: number;
27
+ /** The `maxValue` state is only used when the slider type is `range`. */
28
+ maxValue: number;
29
+ /** It hold the left position of the Thumb for the value or the minimum value (if the slider type is `range`) */
30
+ minThumbPosition: number;
31
+ /** It hold the left position of the Thumb for the maximum value (if the slider type is `range`) */
32
+ maxThumbPosition: number;
33
+ /** The amount of time, in milliseconds, to wait to trigger the `bqChange` event after each value change. */
14
34
  debounceTime: number;
15
- /** A number representing the minimum value between the min and max range selected. */
35
+ /** If `true` the slider is disabled. */
36
+ disabled?: boolean;
37
+ /** If `true` it will show the value label on a side of the slider track area */
38
+ enableValueIndicator?: boolean;
39
+ /** A number representing the amount to remain between the minimum and maximum values (only for range type). */
16
40
  gap: number;
17
- /** A number representing the min value of the slider. */
18
- min: number;
19
41
  /** A number representing the max value of the slider. */
20
42
  max: number;
21
- /** A number representing the step of the slider. */
43
+ /** A number representing the min value of the slider. */
44
+ min: number;
45
+ /**
46
+ * A number representing the step of the slider.
47
+ * ⚠️ Please notice that the value (or list of values if the slider type is `range`) will be rounded to the nearest multiple of `step`.
48
+ */
22
49
  step: number;
23
50
  /** It defines the type of slider to display */
24
51
  type: TSliderType;
25
- /** If `true` it will display the min and max values */
26
- valueIndicator?: boolean;
27
- /** A number representing the value of the slider. */
28
- value: number | Array<number> | string;
29
- handleTypePropChange(): void;
30
- handleValuePropChange(): void;
52
+ /**
53
+ * The value of the slider.
54
+ * - If the slider type is `single`, the value is a number.
55
+ * - If the slider type is `range`, the value is an array of two numbers (the first number represents the `min` value and the second number represents the `max` value).
56
+ */
57
+ value: TSliderValue;
58
+ /** If `true`, a tooltip will be shown displaying the progress value */
59
+ enableTooltip: boolean;
60
+ /**
61
+ * If `true`, a tooltip will always display the progress value.
62
+ * It relies on enableTooltip and if enableTooltip is false, tooltipAlwaysVisible cannot be true.
63
+ */
64
+ tooltipAlwaysVisible: boolean;
65
+ handleValuePropChange(newValue: TSliderValue): void;
66
+ handleStepPropChange(): void;
67
+ handleGapChange(newValue: number): void;
31
68
  /** Handler to be called when change the value on range inputs */
32
69
  bqChange: EventEmitter<{
33
- value: number | Array<number> | string;
70
+ value: Exclude<TSliderValue, string>;
34
71
  el: HTMLBqSliderElement;
35
72
  }>;
36
73
  /** Handler to be called when the slider loses focus */
37
74
  bqBlur: EventEmitter<HTMLBqSliderElement>;
38
75
  /** Handler to be called when the slider gets focused */
39
76
  bqFocus: EventEmitter<HTMLBqSliderElement>;
40
- componentWillLoad(): void;
77
+ connectedCallback(): void;
41
78
  componentDidLoad(): void;
42
79
  componentDidUpdate(): void;
43
- private get isSingleSlider();
44
- private get stepDecimalNumber();
45
- private setPropValue;
46
- private handleMinRangeInput;
47
- private handleMaxRangeInput;
48
- private updateProgressSize;
49
- private sanitizeArrayValue;
50
- private sanitizePropValue;
51
- private setElementValue;
52
- private getMinRangeValue;
53
- private getMaxRangeValue;
54
- private handleRangeInputBlur;
55
- private handleRangeInputFocus;
56
- private handleRangeInputChange;
80
+ private runUpdates;
81
+ private calculateMinValue;
82
+ private calculateMaxValue;
83
+ private setState;
84
+ private setThumbPosition;
85
+ private syncInputsValue;
86
+ private stringToObject;
87
+ private handleInputChange;
88
+ private calculatePercent;
89
+ private updateProgressTrack;
90
+ private calculateThumbPosition;
91
+ private thumbPosition;
92
+ private emitBqChange;
93
+ private handleBlur;
94
+ private handleFocus;
95
+ private handleMouseDown;
96
+ private handleMouseUp;
97
+ private handleTooltipVisibility;
98
+ private get decimalCount();
99
+ private get isRangeType();
100
+ private get isTooltipAlwaysVisible();
101
+ private renderLabel;
102
+ private renderInput;
103
+ private renderTooltip;
57
104
  render(): any;
58
105
  }
@@ -1,2 +1,3 @@
1
1
  export declare const SLIDER_TYPE: readonly ["single", "range"];
2
2
  export type TSliderType = (typeof SLIDER_TYPE)[number];
3
+ export type TSliderValue = string | number | [number, number];
@@ -4,6 +4,7 @@ import { TTagBorderRadius, TTagColor, TTagSize, TTagVariant } from './bq-tag.typ
4
4
  * @part wrapper - The wrapper container `<div>` of the element inside the shadow DOM.
5
5
  * @part prefix - The `<span>` tag element that acts as prefix container (when icon exists in front of tag).
6
6
  * @part text - The `<div>` element containing the text of the tag component.
7
+ * @part btn-close - The close button element to remove the tag component.
7
8
  */
8
9
  export declare class BqTag {
9
10
  private prefixElem;
@@ -21,8 +21,9 @@ import { TInputType, TInputValidation, TInputValue } from "./components/input/bq
21
21
  import { TNotificationBorderRadius, TNotificationType } from "./components/notification/bq-notification.types";
22
22
  import { TProgressBorderShape, TProgressThickness, TProgressType } from "./components/progress/bq-progress.types";
23
23
  import { TRadioGroupOrientation } from "./components/radio-group/bq-radio-group.types";
24
+ import { TSelectValue } from "./components/select/bq-select";
24
25
  import { TSideMenuAppearance, TSideMenuSize } from "./components/side-menu/bq-side-menu.types";
25
- import { TSliderType } from "./components/slider/bq-slider.types";
26
+ import { TSliderType, TSliderValue } from "./components/slider/bq-slider.types";
26
27
  import { TSpinnerSize, TSpinnerTextPosition } from "./components/spinner/bq-spinner.types";
27
28
  import { TStatusType } from "./components/status/bq-status.types";
28
29
  import { TStepsSize, TStepsType } from "./components/steps/bq-steps.types";
@@ -48,8 +49,9 @@ export { TInputType, TInputValidation, TInputValue } from "./components/input/bq
48
49
  export { TNotificationBorderRadius, TNotificationType } from "./components/notification/bq-notification.types";
49
50
  export { TProgressBorderShape, TProgressThickness, TProgressType } from "./components/progress/bq-progress.types";
50
51
  export { TRadioGroupOrientation } from "./components/radio-group/bq-radio-group.types";
52
+ export { TSelectValue } from "./components/select/bq-select";
51
53
  export { TSideMenuAppearance, TSideMenuSize } from "./components/side-menu/bq-side-menu.types";
52
- export { TSliderType } from "./components/slider/bq-slider.types";
54
+ export { TSliderType, TSliderValue } from "./components/slider/bq-slider.types";
53
55
  export { TSpinnerSize, TSpinnerTextPosition } from "./components/spinner/bq-spinner.types";
54
56
  export { TStatusType } from "./components/status/bq-status.types";
55
57
  export { TStepsSize, TStepsType } from "./components/steps/bq-steps.types";
@@ -293,7 +295,7 @@ export namespace Components {
293
295
  /**
294
296
  * A state that is neither checked nor unchecked
295
297
  */
296
- "indeterminate": false;
298
+ "indeterminate"?: boolean;
297
299
  /**
298
300
  * Name of the HTML input form control. Submitted with the form as part of a name/value pair.
299
301
  */
@@ -648,6 +650,10 @@ export namespace Components {
648
650
  * If true, the option is disabled.
649
651
  */
650
652
  "disabled"?: boolean;
653
+ /**
654
+ * If true, the option is hidden.
655
+ */
656
+ "hidden": boolean;
651
657
  /**
652
658
  * If true, the option is selected and active.
653
659
  */
@@ -808,6 +814,10 @@ export namespace Components {
808
814
  * The clear button aria label
809
815
  */
810
816
  "clearButtonLabel"?: string;
817
+ /**
818
+ * The amount of time, in milliseconds, to wait before emitting the `bqInput` event after the input value changes. A value of 0 means no debouncing will occur.
819
+ */
820
+ "debounceTime"?: number;
811
821
  /**
812
822
  * If true, the clear button won't be displayed
813
823
  */
@@ -828,6 +838,14 @@ export namespace Components {
828
838
  * If true, the Select panel will remain open after a selection is made.
829
839
  */
830
840
  "keepOpenOnSelect"?: boolean;
841
+ /**
842
+ * The maximum number of tags to display when multiple selection is enabled
843
+ */
844
+ "maxTagsVisible": number;
845
+ /**
846
+ * If true, the Select input will allow multiple selections.
847
+ */
848
+ "multiple"?: boolean;
831
849
  /**
832
850
  * The Select input name.
833
851
  */
@@ -849,7 +867,7 @@ export namespace Components {
849
867
  */
850
868
  "placement"?: FloatingUIPlacement;
851
869
  /**
852
- * If true, the Select input cannot be modified.
870
+ * If true, the list of options cannot be filtered (searching won't be available)
853
871
  */
854
872
  "readonly"?: boolean;
855
873
  /**
@@ -876,7 +894,7 @@ export namespace Components {
876
894
  /**
877
895
  * The select input value, it can be used to reset the field to a previous value
878
896
  */
879
- "value": TInputValue;
897
+ "value": TSelectValue;
880
898
  }
881
899
  interface BqSideMenu {
882
900
  /**
@@ -912,15 +930,23 @@ export namespace Components {
912
930
  }
913
931
  interface BqSlider {
914
932
  /**
915
- * A number representing the delay value applied to bqChange event handler
933
+ * The amount of time, in milliseconds, to wait to trigger the `bqChange` event after each value change.
916
934
  */
917
935
  "debounceTime": number;
918
936
  /**
919
- * If `true` slider is disabled
937
+ * If `true` the slider is disabled.
920
938
  */
921
939
  "disabled"?: boolean;
922
940
  /**
923
- * A number representing the minimum value between the min and max range selected.
941
+ * If `true`, a tooltip will be shown displaying the progress value
942
+ */
943
+ "enableTooltip": boolean;
944
+ /**
945
+ * If `true` it will show the value label on a side of the slider track area
946
+ */
947
+ "enableValueIndicator"?: boolean;
948
+ /**
949
+ * A number representing the amount to remain between the minimum and maximum values (only for range type).
924
950
  */
925
951
  "gap": number;
926
952
  /**
@@ -932,21 +958,21 @@ export namespace Components {
932
958
  */
933
959
  "min": number;
934
960
  /**
935
- * A number representing the step of the slider.
961
+ * A number representing the step of the slider. ⚠️ Please notice that the value (or list of values if the slider type is `range`) will be rounded to the nearest multiple of `step`.
936
962
  */
937
963
  "step": number;
938
964
  /**
939
- * It defines the type of slider to display
965
+ * If `true`, a tooltip will always display the progress value. It relies on enableTooltip and if enableTooltip is false, tooltipAlwaysVisible cannot be true.
940
966
  */
941
- "type": TSliderType;
967
+ "tooltipAlwaysVisible": boolean;
942
968
  /**
943
- * A number representing the value of the slider.
969
+ * It defines the type of slider to display
944
970
  */
945
- "value": number | Array<number> | string;
971
+ "type": TSliderType;
946
972
  /**
947
- * If `true` it will display the min and max values
973
+ * The value of the slider. - If the slider type is `single`, the value is a number. - If the slider type is `range`, the value is an array of two numbers (the first number represents the `min` value and the second number represents the `max` value).
948
974
  */
949
- "valueIndicator"?: boolean;
975
+ "value": TSliderValue;
950
976
  }
951
977
  /**
952
978
  * Spinners are designed for users to display data loading.
@@ -1848,7 +1874,7 @@ declare global {
1848
1874
  new (): HTMLBqSideMenuItemElement;
1849
1875
  };
1850
1876
  interface HTMLBqSliderElementEventMap {
1851
- "bqChange": { value: number | Array<number> | string; el: HTMLBqSliderElement };
1877
+ "bqChange": { value: Exclude<TSliderValue, string>; el: HTMLBqSliderElement };
1852
1878
  "bqBlur": HTMLBqSliderElement;
1853
1879
  "bqFocus": HTMLBqSliderElement;
1854
1880
  }
@@ -2375,7 +2401,7 @@ declare namespace LocalJSX {
2375
2401
  /**
2376
2402
  * A state that is neither checked nor unchecked
2377
2403
  */
2378
- "indeterminate"?: false;
2404
+ "indeterminate"?: boolean;
2379
2405
  /**
2380
2406
  * Name of the HTML input form control. Submitted with the form as part of a name/value pair.
2381
2407
  */
@@ -2778,6 +2804,10 @@ declare namespace LocalJSX {
2778
2804
  * If true, the option is disabled.
2779
2805
  */
2780
2806
  "disabled"?: boolean;
2807
+ /**
2808
+ * If true, the option is hidden.
2809
+ */
2810
+ "hidden"?: boolean;
2781
2811
  /**
2782
2812
  * Handler to be called when item loses focus
2783
2813
  */
@@ -2960,6 +2990,10 @@ declare namespace LocalJSX {
2960
2990
  * The clear button aria label
2961
2991
  */
2962
2992
  "clearButtonLabel"?: string;
2993
+ /**
2994
+ * The amount of time, in milliseconds, to wait before emitting the `bqInput` event after the input value changes. A value of 0 means no debouncing will occur.
2995
+ */
2996
+ "debounceTime"?: number;
2963
2997
  /**
2964
2998
  * If true, the clear button won't be displayed
2965
2999
  */
@@ -2980,6 +3014,14 @@ declare namespace LocalJSX {
2980
3014
  * If true, the Select panel will remain open after a selection is made.
2981
3015
  */
2982
3016
  "keepOpenOnSelect"?: boolean;
3017
+ /**
3018
+ * The maximum number of tags to display when multiple selection is enabled
3019
+ */
3020
+ "maxTagsVisible"?: number;
3021
+ /**
3022
+ * If true, the Select input will allow multiple selections.
3023
+ */
3024
+ "multiple"?: boolean;
2983
3025
  /**
2984
3026
  * The Select input name.
2985
3027
  */
@@ -3017,7 +3059,7 @@ declare namespace LocalJSX {
3017
3059
  */
3018
3060
  "placement"?: FloatingUIPlacement;
3019
3061
  /**
3020
- * If true, the Select input cannot be modified.
3062
+ * If true, the list of options cannot be filtered (searching won't be available)
3021
3063
  */
3022
3064
  "readonly"?: boolean;
3023
3065
  /**
@@ -3044,7 +3086,7 @@ declare namespace LocalJSX {
3044
3086
  /**
3045
3087
  * The select input value, it can be used to reset the field to a previous value
3046
3088
  */
3047
- "value"?: TInputValue;
3089
+ "value"?: TSelectValue;
3048
3090
  }
3049
3091
  interface BqSideMenu {
3050
3092
  /**
@@ -3096,15 +3138,23 @@ declare namespace LocalJSX {
3096
3138
  }
3097
3139
  interface BqSlider {
3098
3140
  /**
3099
- * A number representing the delay value applied to bqChange event handler
3141
+ * The amount of time, in milliseconds, to wait to trigger the `bqChange` event after each value change.
3100
3142
  */
3101
3143
  "debounceTime"?: number;
3102
3144
  /**
3103
- * If `true` slider is disabled
3145
+ * If `true` the slider is disabled.
3104
3146
  */
3105
3147
  "disabled"?: boolean;
3106
3148
  /**
3107
- * A number representing the minimum value between the min and max range selected.
3149
+ * If `true`, a tooltip will be shown displaying the progress value
3150
+ */
3151
+ "enableTooltip"?: boolean;
3152
+ /**
3153
+ * If `true` it will show the value label on a side of the slider track area
3154
+ */
3155
+ "enableValueIndicator"?: boolean;
3156
+ /**
3157
+ * A number representing the amount to remain between the minimum and maximum values (only for range type).
3108
3158
  */
3109
3159
  "gap"?: number;
3110
3160
  /**
@@ -3122,27 +3172,27 @@ declare namespace LocalJSX {
3122
3172
  /**
3123
3173
  * Handler to be called when change the value on range inputs
3124
3174
  */
3125
- "onBqChange"?: (event: BqSliderCustomEvent<{ value: number | Array<number> | string; el: HTMLBqSliderElement }>) => void;
3175
+ "onBqChange"?: (event: BqSliderCustomEvent<{ value: Exclude<TSliderValue, string>; el: HTMLBqSliderElement }>) => void;
3126
3176
  /**
3127
3177
  * Handler to be called when the slider gets focused
3128
3178
  */
3129
3179
  "onBqFocus"?: (event: BqSliderCustomEvent<HTMLBqSliderElement>) => void;
3130
3180
  /**
3131
- * A number representing the step of the slider.
3181
+ * A number representing the step of the slider. ⚠️ Please notice that the value (or list of values if the slider type is `range`) will be rounded to the nearest multiple of `step`.
3132
3182
  */
3133
3183
  "step"?: number;
3134
3184
  /**
3135
- * It defines the type of slider to display
3185
+ * If `true`, a tooltip will always display the progress value. It relies on enableTooltip and if enableTooltip is false, tooltipAlwaysVisible cannot be true.
3136
3186
  */
3137
- "type"?: TSliderType;
3187
+ "tooltipAlwaysVisible"?: boolean;
3138
3188
  /**
3139
- * A number representing the value of the slider.
3189
+ * It defines the type of slider to display
3140
3190
  */
3141
- "value"?: number | Array<number> | string;
3191
+ "type"?: TSliderType;
3142
3192
  /**
3143
- * If `true` it will display the min and max values
3193
+ * The value of the slider. - If the slider type is `single`, the value is a number. - If the slider type is `range`, the value is an array of two numbers (the first number represents the `min` value and the second number represents the `max` value).
3144
3194
  */
3145
- "valueIndicator"?: boolean;
3195
+ "value"?: TSliderValue;
3146
3196
  }
3147
3197
  /**
3148
3198
  * Spinners are designed for users to display data loading.
@@ -258,6 +258,7 @@ declare const _default: {
258
258
  tertiary: string;
259
259
  inverse: string;
260
260
  brand: string;
261
+ alt: string;
261
262
  success: string;
262
263
  warning: string;
263
264
  danger: string;
@@ -0,0 +1,7 @@
1
+ /**
2
+ * Check if the event target is a child of the host element
3
+ * @param event - The event to check
4
+ * @param hostElement - The host element to check against
5
+ * @returns True if the event target is a child of the host element
6
+ */
7
+ export declare const isEventTargetChildOfElement: (event: Event, hostElement: HTMLElement) => boolean;
@@ -1,6 +1,7 @@
1
1
  export * from './assetsPath';
2
2
  export * from './cssVariables';
3
3
  export * from './debounce';
4
+ export * from './event';
4
5
  export * from './getNextElement';
5
6
  export * from './getRandom';
6
7
  export * from './isDefined';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beeq/core",
3
- "version": "1.2.0",
3
+ "version": "1.3.1",
4
4
  "license": "Apache-2.0",
5
5
  "description": "BEEQ, a Design System components ruled by Endavan developers :)",
6
6
  "main": "./dist/index.cjs.js",