@beeq/core 1.8.0-beta.9 → 1.8.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 (780) hide show
  1. package/README.md +5 -3
  2. package/dist/beeq/beeq.css +1 -1
  3. package/dist/beeq/beeq.esm.js +1 -43
  4. package/dist/beeq/beeq.esm.js.map +1 -1
  5. package/dist/beeq/index.esm.js +1 -66
  6. package/dist/beeq/index.esm.js.map +1 -1
  7. package/dist/beeq/p-00702295.entry.js +6 -0
  8. package/dist/beeq/p-00702295.entry.js.map +1 -0
  9. package/dist/beeq/p-01de6133.js +6 -0
  10. package/dist/beeq/p-01de6133.js.map +1 -0
  11. package/dist/beeq/p-026fad0d.entry.js +6 -0
  12. package/dist/beeq/p-026fad0d.entry.js.map +1 -0
  13. package/dist/beeq/p-07b82e50.js +6 -0
  14. package/dist/beeq/p-07b82e50.js.map +1 -0
  15. package/dist/beeq/{p-cfb8829b.entry.js → p-0c0bd129.entry.js} +2 -96
  16. package/dist/beeq/p-0c0bd129.entry.js.map +1 -0
  17. package/dist/beeq/p-0c12aa01.entry.js +6 -0
  18. package/dist/beeq/p-0c12aa01.entry.js.map +1 -0
  19. package/dist/beeq/p-0cab9a82.entry.js +6 -0
  20. package/dist/beeq/p-0cab9a82.entry.js.map +1 -0
  21. package/dist/beeq/p-0f72dbb6.entry.js +6 -0
  22. package/dist/beeq/p-0f72dbb6.entry.js.map +1 -0
  23. package/dist/beeq/p-115ed5b2.js +1 -25
  24. package/dist/beeq/p-115ed5b2.js.map +1 -1
  25. package/dist/beeq/p-19b7bbe0.entry.js +6 -0
  26. package/dist/beeq/p-19b7bbe0.entry.js.map +1 -0
  27. package/dist/beeq/p-19c94c6d.entry.js +6 -0
  28. package/dist/beeq/p-19c94c6d.entry.js.map +1 -0
  29. package/dist/beeq/p-1b0cfcd6.entry.js +6 -0
  30. package/dist/beeq/p-1b0cfcd6.entry.js.map +1 -0
  31. package/dist/beeq/p-1c8b6eb4.js +1 -12
  32. package/dist/beeq/p-1c8b6eb4.js.map +1 -1
  33. package/dist/beeq/p-1cdea079.entry.js +6 -0
  34. package/dist/beeq/p-1cdea079.entry.js.map +1 -0
  35. package/dist/beeq/p-1defeea3.js +1 -64
  36. package/dist/beeq/p-1defeea3.js.map +1 -1
  37. package/dist/beeq/p-1f3a4359.js +1 -11
  38. package/dist/beeq/p-1f3a4359.js.map +1 -1
  39. package/dist/beeq/p-20d91acf.entry.js +6 -0
  40. package/dist/beeq/p-20d91acf.entry.js.map +1 -0
  41. package/dist/beeq/p-29d9487c.entry.js +6 -0
  42. package/dist/beeq/p-29d9487c.entry.js.map +1 -0
  43. package/dist/beeq/p-2c566eb0.entry.js +6 -0
  44. package/dist/beeq/p-2c566eb0.entry.js.map +1 -0
  45. package/dist/beeq/p-2e0e325b.entry.js +6 -0
  46. package/dist/beeq/p-2e0e325b.entry.js.map +1 -0
  47. package/dist/beeq/p-2eab5223.entry.js +6 -0
  48. package/dist/beeq/p-2eab5223.entry.js.map +1 -0
  49. package/dist/beeq/p-2ef4ed54.entry.js +6 -0
  50. package/dist/beeq/p-2ef4ed54.entry.js.map +1 -0
  51. package/dist/beeq/p-36b653f6.entry.js +6 -0
  52. package/dist/beeq/p-36b653f6.entry.js.map +1 -0
  53. package/dist/beeq/p-3c472097.js +6 -0
  54. package/dist/beeq/{p-c6cbb8e2.js.map → p-3c472097.js.map} +1 -1
  55. package/dist/beeq/p-43dc9906.entry.js +6 -0
  56. package/dist/beeq/p-43dc9906.entry.js.map +1 -0
  57. package/dist/{collection/global/scripts/global.js → beeq/p-45800965.js} +2 -2
  58. package/dist/beeq/p-45800965.js.map +1 -0
  59. package/dist/beeq/p-4c1f6afc.entry.js +6 -0
  60. package/dist/beeq/p-4c1f6afc.entry.js.map +1 -0
  61. package/dist/beeq/p-4c66663c.entry.js +6 -0
  62. package/dist/beeq/p-4c66663c.entry.js.map +1 -0
  63. package/dist/beeq/p-4d6a9646.entry.js +6 -0
  64. package/dist/beeq/p-4d6a9646.entry.js.map +1 -0
  65. package/dist/beeq/p-55b0aea8.js +6 -0
  66. package/dist/beeq/p-55b0aea8.js.map +1 -0
  67. package/dist/beeq/p-57621be1.js +1 -9
  68. package/dist/beeq/p-57621be1.js.map +1 -1
  69. package/dist/beeq/p-5c7a719c.entry.js +6 -0
  70. package/dist/beeq/p-5c7a719c.entry.js.map +1 -0
  71. package/dist/beeq/p-60094726.js +7 -0
  72. package/dist/beeq/p-60094726.js.map +1 -0
  73. package/dist/beeq/p-6079f9b2.entry.js +6 -0
  74. package/dist/beeq/p-6079f9b2.entry.js.map +1 -0
  75. package/dist/beeq/p-687da041.js +1 -20
  76. package/dist/beeq/p-687da041.js.map +1 -1
  77. package/dist/beeq/p-75cc6789.entry.js +6 -0
  78. package/dist/beeq/p-75cc6789.entry.js.map +1 -0
  79. package/dist/beeq/p-7636aff3.entry.js +6 -0
  80. package/dist/beeq/p-7636aff3.entry.js.map +1 -0
  81. package/dist/beeq/p-7f124d61.entry.js +6 -0
  82. package/dist/beeq/p-7f124d61.entry.js.map +1 -0
  83. package/dist/beeq/p-921fa1ea.entry.js +6 -0
  84. package/dist/beeq/p-921fa1ea.entry.js.map +1 -0
  85. package/dist/beeq/p-99829fc7.js +1 -8
  86. package/dist/beeq/p-99829fc7.js.map +1 -1
  87. package/dist/beeq/p-a5dc1c94.js +1 -118
  88. package/dist/beeq/p-a5dc1c94.js.map +1 -1
  89. package/dist/beeq/p-a7fb6ffd.entry.js +6 -0
  90. package/dist/beeq/p-a7fb6ffd.entry.js.map +1 -0
  91. package/dist/beeq/p-a8cad5ab.js +1 -5
  92. package/dist/beeq/p-a8cad5ab.js.map +1 -1
  93. package/dist/beeq/p-af062402.js +1 -7
  94. package/dist/beeq/p-af062402.js.map +1 -1
  95. package/dist/beeq/p-b83f174c.entry.js +6 -0
  96. package/dist/beeq/p-b83f174c.entry.js.map +1 -0
  97. package/dist/beeq/p-c09dac58.entry.js +6 -0
  98. package/dist/beeq/p-c09dac58.entry.js.map +1 -0
  99. package/dist/beeq/p-c3a0bd23.js +6 -0
  100. package/dist/beeq/p-c3a0bd23.js.map +1 -0
  101. package/dist/beeq/p-c70c6b00.entry.js +6 -0
  102. package/dist/beeq/p-c70c6b00.entry.js.map +1 -0
  103. package/dist/beeq/p-c78ae3c2.js +1 -1978
  104. package/dist/beeq/p-c78ae3c2.js.map +1 -1
  105. package/dist/beeq/p-cb3b24e6.entry.js +6 -0
  106. package/dist/beeq/p-cb3b24e6.entry.js.map +1 -0
  107. package/dist/beeq/{p-16c6ece5.entry.js → p-cf523684.entry.js} +2 -108
  108. package/dist/beeq/p-cf523684.entry.js.map +1 -0
  109. package/dist/beeq/p-d7ce7165.js +1 -86
  110. package/dist/beeq/p-d7ce7165.js.map +1 -1
  111. package/dist/beeq/p-d8221b88.entry.js +6 -0
  112. package/dist/beeq/p-d8221b88.entry.js.map +1 -0
  113. package/dist/beeq/p-d8a257b7.entry.js +6 -0
  114. package/dist/beeq/p-d8a257b7.entry.js.map +1 -0
  115. package/dist/beeq/{p-3043c826.entry.js → p-dc544089.entry.js} +2 -129
  116. package/dist/beeq/p-dc544089.entry.js.map +1 -0
  117. package/dist/beeq/p-e056c02a.entry.js +6 -0
  118. package/dist/beeq/p-e056c02a.entry.js.map +1 -0
  119. package/dist/beeq/p-eb662058.entry.js +6 -0
  120. package/dist/beeq/p-eb662058.entry.js.map +1 -0
  121. package/dist/beeq/p-ecd27cf2.js +1 -11
  122. package/dist/beeq/p-ecd27cf2.js.map +1 -1
  123. package/dist/beeq/p-f84ae6a1.entry.js +6 -0
  124. package/dist/beeq/p-f84ae6a1.entry.js.map +1 -0
  125. package/dist/beeq.html-custom-data.json +2034 -0
  126. package/dist/cjs/app-globals-42eaedec.js +11 -0
  127. package/dist/cjs/app-globals-42eaedec.js.map +1 -0
  128. package/dist/cjs/{assetsPath-2885c838.js → assetsPath-5e03c40e.js} +6 -5
  129. package/dist/cjs/assetsPath-5e03c40e.js.map +1 -0
  130. package/dist/cjs/beeq.cjs.js +4 -4
  131. package/dist/cjs/beeq.cjs.js.map +1 -1
  132. package/dist/cjs/bq-accordion-group.cjs.entry.js +3 -3
  133. package/dist/cjs/bq-accordion-group.cjs.entry.js.map +1 -1
  134. package/dist/cjs/bq-accordion.cjs.entry.js +6 -6
  135. package/dist/cjs/bq-accordion.cjs.entry.js.map +1 -1
  136. package/dist/cjs/bq-alert.cjs.entry.js +7 -7
  137. package/dist/cjs/bq-alert.cjs.entry.js.map +1 -1
  138. package/dist/cjs/bq-avatar.cjs.entry.js +5 -5
  139. package/dist/cjs/bq-avatar.cjs.entry.js.map +1 -1
  140. package/dist/cjs/bq-badge.cjs.entry.js +5 -4
  141. package/dist/cjs/bq-badge.cjs.entry.js.map +1 -1
  142. package/dist/cjs/bq-breadcrumb-item.cjs.entry.js +4 -11
  143. package/dist/cjs/bq-breadcrumb-item.cjs.entry.js.map +1 -1
  144. package/dist/cjs/bq-breadcrumb.cjs.entry.js +20 -38
  145. package/dist/cjs/bq-breadcrumb.cjs.entry.js.map +1 -1
  146. package/dist/cjs/bq-button_2.cjs.entry.js +10 -9
  147. package/dist/cjs/bq-button_2.cjs.entry.js.map +1 -1
  148. package/dist/cjs/bq-card.cjs.entry.js +4 -4
  149. package/dist/cjs/bq-card.cjs.entry.js.map +1 -1
  150. package/dist/cjs/bq-checkbox.cjs.entry.js +9 -11
  151. package/dist/cjs/bq-checkbox.cjs.entry.js.map +1 -1
  152. package/dist/cjs/bq-date-picker.cjs.entry.js +59 -15
  153. package/dist/cjs/bq-date-picker.cjs.entry.js.map +1 -1
  154. package/dist/cjs/bq-dialog.cjs.entry.js +6 -6
  155. package/dist/cjs/bq-dialog.cjs.entry.js.map +1 -1
  156. package/dist/cjs/bq-divider.cjs.entry.js +8 -7
  157. package/dist/cjs/bq-divider.cjs.entry.js.map +1 -1
  158. package/dist/cjs/bq-drawer.cjs.entry.js +6 -6
  159. package/dist/cjs/bq-drawer.cjs.entry.js.map +1 -1
  160. package/dist/cjs/bq-dropdown_2.cjs.entry.js +5 -5
  161. package/dist/cjs/bq-dropdown_2.cjs.entry.js.map +1 -1
  162. package/dist/cjs/bq-empty-state.cjs.entry.js +7 -7
  163. package/dist/cjs/bq-empty-state.cjs.entry.js.map +1 -1
  164. package/dist/cjs/bq-input.cjs.entry.js +42 -17
  165. package/dist/cjs/bq-input.cjs.entry.js.map +1 -1
  166. package/dist/cjs/bq-notification.cjs.entry.js +11 -6
  167. package/dist/cjs/bq-notification.cjs.entry.js.map +1 -1
  168. package/dist/cjs/bq-option-group.cjs.entry.js +2 -2
  169. package/dist/cjs/bq-option-group.cjs.entry.js.map +1 -1
  170. package/dist/cjs/bq-option-list_2.cjs.entry.js +9 -8
  171. package/dist/cjs/bq-option-list_2.cjs.entry.js.map +1 -1
  172. package/dist/cjs/bq-option.cjs.entry.js +5 -5
  173. package/dist/cjs/bq-option.cjs.entry.js.map +1 -1
  174. package/dist/cjs/bq-page-title.cjs.entry.js +3 -3
  175. package/dist/cjs/bq-page-title.cjs.entry.js.map +1 -1
  176. package/dist/cjs/bq-progress.cjs.entry.js +13 -12
  177. package/dist/cjs/bq-progress.cjs.entry.js.map +1 -1
  178. package/dist/cjs/bq-radio-group.cjs.entry.js +68 -25
  179. package/dist/cjs/bq-radio-group.cjs.entry.js.map +1 -1
  180. package/dist/cjs/bq-radio.cjs.entry.js +10 -4
  181. package/dist/cjs/bq-radio.cjs.entry.js.map +1 -1
  182. package/dist/cjs/bq-select.cjs.entry.js +7 -7
  183. package/dist/cjs/bq-select.cjs.entry.js.map +1 -1
  184. package/dist/cjs/bq-side-menu-item.cjs.entry.js +2 -2
  185. package/dist/cjs/bq-side-menu-item.cjs.entry.js.map +1 -1
  186. package/dist/cjs/bq-side-menu.cjs.entry.js +7 -4
  187. package/dist/cjs/bq-side-menu.cjs.entry.js.map +1 -1
  188. package/dist/cjs/bq-slider.cjs.entry.js +23 -9
  189. package/dist/cjs/bq-slider.cjs.entry.js.map +1 -1
  190. package/dist/cjs/bq-spinner.cjs.entry.js +9 -8
  191. package/dist/cjs/bq-spinner.cjs.entry.js.map +1 -1
  192. package/dist/cjs/bq-status.cjs.entry.js +3 -3
  193. package/dist/cjs/bq-status.cjs.entry.js.map +1 -1
  194. package/dist/cjs/bq-step-item.cjs.entry.js +8 -8
  195. package/dist/cjs/bq-step-item.cjs.entry.js.map +1 -1
  196. package/dist/cjs/bq-steps.cjs.entry.js +2 -2
  197. package/dist/cjs/bq-steps.cjs.entry.js.map +1 -1
  198. package/dist/cjs/bq-switch.cjs.entry.js +57 -5
  199. package/dist/cjs/bq-switch.cjs.entry.js.map +1 -1
  200. package/dist/cjs/bq-tab-group.cjs.entry.js +9 -9
  201. package/dist/cjs/bq-tab-group.cjs.entry.js.map +1 -1
  202. package/dist/cjs/bq-tab.cjs.entry.js +9 -9
  203. package/dist/cjs/bq-tab.cjs.entry.js.map +1 -1
  204. package/dist/cjs/bq-textarea.cjs.entry.js +62 -13
  205. package/dist/cjs/bq-textarea.cjs.entry.js.map +1 -1
  206. package/dist/cjs/bq-toast.cjs.entry.js +9 -4
  207. package/dist/cjs/bq-toast.cjs.entry.js.map +1 -1
  208. package/dist/cjs/bq-tooltip.cjs.entry.js +2 -2
  209. package/dist/cjs/bq-tooltip.cjs.entry.js.map +1 -1
  210. package/dist/cjs/{app-globals-b11284b9.js → cally-9297cdd8.js} +5 -6
  211. package/dist/cjs/cally-9297cdd8.js.map +1 -0
  212. package/dist/cjs/{cssVariables-dd190bc2.js → cssVariables-55ad4942.js} +4 -2
  213. package/dist/cjs/cssVariables-55ad4942.js.map +1 -0
  214. package/dist/cjs/{index-34edf639.js → index-c4edfa07.js} +787 -565
  215. package/dist/cjs/index-c4edfa07.js.map +1 -0
  216. package/dist/cjs/index.cjs.js +6 -4
  217. package/dist/cjs/index.cjs.js.map +1 -1
  218. package/dist/cjs/isClient-c22372aa.js +17 -0
  219. package/dist/cjs/isClient-c22372aa.js.map +1 -0
  220. package/dist/cjs/{isDefined-869f6a26.js → isDefined-e538d669.js} +2 -2
  221. package/dist/cjs/{isDefined-869f6a26.js.map → isDefined-e538d669.js.map} +1 -1
  222. package/dist/cjs/loader.cjs.js +3 -3
  223. package/dist/collection/collection-manifest.json +2 -3
  224. package/dist/collection/components/accordion/bq-accordion.js +117 -18
  225. package/dist/collection/components/accordion/bq-accordion.js.map +1 -1
  226. package/dist/collection/components/accordion/scss/bq-accordion.css +1 -1
  227. package/dist/collection/components/accordion-group/bq-accordion-group.js +36 -1
  228. package/dist/collection/components/accordion-group/bq-accordion-group.js.map +1 -1
  229. package/dist/collection/components/accordion-group/scss/bq-accordion-group.css +1 -1
  230. package/dist/collection/components/alert/bq-alert.js +92 -10
  231. package/dist/collection/components/alert/bq-alert.js.map +1 -1
  232. package/dist/collection/components/alert/scss/bq-alert.css +1 -1
  233. package/dist/collection/components/avatar/bq-avatar.js +66 -4
  234. package/dist/collection/components/avatar/bq-avatar.js.map +1 -1
  235. package/dist/collection/components/avatar/scss/bq-avatar.css +1 -1
  236. package/dist/collection/components/badge/bq-badge.js +36 -2
  237. package/dist/collection/components/badge/bq-badge.js.map +1 -1
  238. package/dist/collection/components/breadcrumb/bq-breadcrumb.js +43 -119
  239. package/dist/collection/components/breadcrumb/bq-breadcrumb.js.map +1 -1
  240. package/dist/collection/components/breadcrumb/scss/bq-breadcrumb.css +1 -1
  241. package/dist/collection/components/breadcrumb-item/bq-breadcrumb-item.js +50 -46
  242. package/dist/collection/components/breadcrumb-item/bq-breadcrumb-item.js.map +1 -1
  243. package/dist/collection/components/breadcrumb-item/scss/bq-breadcrumb-item.css +1 -1
  244. package/dist/collection/components/button/bq-button.js +79 -4
  245. package/dist/collection/components/button/bq-button.js.map +1 -1
  246. package/dist/collection/components/button/scss/bq-button.css +1 -1
  247. package/dist/collection/components/card/bq-card.js +37 -3
  248. package/dist/collection/components/card/bq-card.js.map +1 -1
  249. package/dist/collection/components/card/scss/bq-card.css +1 -1
  250. package/dist/collection/components/checkbox/bq-checkbox.js +62 -9
  251. package/dist/collection/components/checkbox/bq-checkbox.js.map +1 -1
  252. package/dist/collection/components/checkbox/scss/bq-checkbox.css +1 -1
  253. package/dist/collection/components/date-picker/bq-date-picker.js +233 -42
  254. package/dist/collection/components/date-picker/bq-date-picker.js.map +1 -1
  255. package/dist/collection/components/date-picker/scss/bq-date-picker.css +1 -1
  256. package/dist/collection/components/dialog/bq-dialog.js +96 -12
  257. package/dist/collection/components/dialog/bq-dialog.js.map +1 -1
  258. package/dist/collection/components/dialog/scss/bq-dialog.css +1 -1
  259. package/dist/collection/components/divider/bq-divider.js +53 -8
  260. package/dist/collection/components/divider/bq-divider.js.map +1 -1
  261. package/dist/collection/components/divider/scss/bq-divider.css +1 -1
  262. package/dist/collection/components/drawer/bq-drawer.js +75 -13
  263. package/dist/collection/components/drawer/bq-drawer.js.map +1 -1
  264. package/dist/collection/components/drawer/scss/bq-drawer.css +1 -1
  265. package/dist/collection/components/dropdown/bq-dropdown.js +70 -4
  266. package/dist/collection/components/dropdown/bq-dropdown.js.map +1 -1
  267. package/dist/collection/components/dropdown/scss/bq-dropdown.css +1 -1
  268. package/dist/collection/components/empty-state/bq-empty-state.js +25 -5
  269. package/dist/collection/components/empty-state/bq-empty-state.js.map +1 -1
  270. package/dist/collection/components/empty-state/scss/bq-empty-state.css +1 -1
  271. package/dist/collection/components/icon/bq-icon.js +34 -2
  272. package/dist/collection/components/icon/bq-icon.js.map +1 -1
  273. package/dist/collection/components/input/bq-input.js +176 -14
  274. package/dist/collection/components/input/bq-input.js.map +1 -1
  275. package/dist/collection/components/input/scss/bq-input.css +1 -1
  276. package/dist/collection/components/notification/bq-notification.js +80 -10
  277. package/dist/collection/components/notification/bq-notification.js.map +1 -1
  278. package/dist/collection/components/notification/scss/bq-notification.css +1 -1
  279. package/dist/collection/components/option/bq-option.js +52 -4
  280. package/dist/collection/components/option/bq-option.js.map +1 -1
  281. package/dist/collection/components/option-group/bq-option-group.js +32 -1
  282. package/dist/collection/components/option-group/bq-option-group.js.map +1 -1
  283. package/dist/collection/components/option-list/bq-option-list.js +24 -1
  284. package/dist/collection/components/option-list/bq-option-list.js.map +1 -1
  285. package/dist/collection/components/option-list/scss/bq-option-list.css +1 -1
  286. package/dist/collection/components/page-title/bq-page-title.js +39 -2
  287. package/dist/collection/components/page-title/bq-page-title.js.map +1 -1
  288. package/dist/collection/components/panel/bq-panel.js +44 -1
  289. package/dist/collection/components/panel/bq-panel.js.map +1 -1
  290. package/dist/collection/components/panel/scss/bq-panel.css +1 -1
  291. package/dist/collection/components/progress/bq-progress.js +108 -69
  292. package/dist/collection/components/progress/bq-progress.js.map +1 -1
  293. package/dist/collection/components/progress/scss/bq-progress.css +1 -1
  294. package/dist/collection/components/radio/bq-radio.js +76 -2
  295. package/dist/collection/components/radio/bq-radio.js.map +1 -1
  296. package/dist/collection/components/radio/scss/bq-radio.css +1 -1
  297. package/dist/collection/components/radio-group/bq-radio-group.js +187 -57
  298. package/dist/collection/components/radio-group/bq-radio-group.js.map +1 -1
  299. package/dist/collection/components/radio-group/scss/bq-radio-group.css +1 -1
  300. package/dist/collection/components/select/bq-select.js +134 -5
  301. package/dist/collection/components/select/bq-select.js.map +1 -1
  302. package/dist/collection/components/select/scss/bq-select.css +1 -1
  303. package/dist/collection/components/side-menu/bq-side-menu.js +56 -3
  304. package/dist/collection/components/side-menu/bq-side-menu.js.map +1 -1
  305. package/dist/collection/components/side-menu/scss/bq-side-menu.css +1 -1
  306. package/dist/collection/components/side-menu-item/bq-side-menu-item.js +43 -0
  307. package/dist/collection/components/side-menu-item/bq-side-menu-item.js.map +1 -1
  308. package/dist/collection/components/side-menu-item/scss/bq-side-menu-item.css +1 -1
  309. package/dist/collection/components/slider/bq-slider.js +89 -7
  310. package/dist/collection/components/slider/bq-slider.js.map +1 -1
  311. package/dist/collection/components/slider/scss/bq-slider.css +1 -1
  312. package/dist/collection/components/spinner/bq-spinner.js +37 -5
  313. package/dist/collection/components/spinner/bq-spinner.js.map +1 -1
  314. package/dist/collection/components/spinner/scss/bq-spinner.css +1 -1
  315. package/dist/collection/components/status/bq-status.js +24 -4
  316. package/dist/collection/components/status/bq-status.js.map +1 -1
  317. package/dist/collection/components/status/scss/bq-status.css +1 -1
  318. package/dist/collection/components/step-item/bq-step-item.js +44 -6
  319. package/dist/collection/components/step-item/bq-step-item.js.map +1 -1
  320. package/dist/collection/components/step-item/scss/bq-step-item.css +1 -1
  321. package/dist/collection/components/steps/bq-steps.js +34 -1
  322. package/dist/collection/components/steps/bq-steps.js.map +1 -1
  323. package/dist/collection/components/switch/bq-switch.js +125 -4
  324. package/dist/collection/components/switch/bq-switch.js.map +1 -1
  325. package/dist/collection/components/switch/scss/bq-switch.css +1 -1
  326. package/dist/collection/components/tab/bq-tab.js +102 -43
  327. package/dist/collection/components/tab/bq-tab.js.map +1 -1
  328. package/dist/collection/components/tab/scss/bq-tab.css +1 -1
  329. package/dist/collection/components/tab-group/bq-tab-group.js +84 -46
  330. package/dist/collection/components/tab-group/bq-tab-group.js.map +1 -1
  331. package/dist/collection/components/tab-group/scss/bq-tab-group.css +1 -1
  332. package/dist/collection/components/tag/bq-tag.js +70 -3
  333. package/dist/collection/components/tag/bq-tag.js.map +1 -1
  334. package/dist/collection/components/tag/scss/bq-tag.css +1 -1
  335. package/dist/collection/components/textarea/bq-textarea.js +176 -11
  336. package/dist/collection/components/textarea/bq-textarea.js.map +1 -1
  337. package/dist/collection/components/textarea/scss/bq-textarea.css +1 -1
  338. package/dist/collection/components/toast/bq-toast.js +67 -6
  339. package/dist/collection/components/toast/bq-toast.js.map +1 -1
  340. package/dist/collection/components/tooltip/bq-tooltip.js +55 -1
  341. package/dist/collection/components/tooltip/bq-tooltip.js.map +1 -1
  342. package/dist/collection/shared/utils/assetsPath.js +4 -3
  343. package/dist/collection/shared/utils/assetsPath.js.map +1 -1
  344. package/dist/collection/shared/utils/cssVariables.js +2 -1
  345. package/dist/collection/shared/utils/cssVariables.js.map +1 -1
  346. package/dist/collection/shared/utils/index.js +1 -0
  347. package/dist/collection/shared/utils/index.js.map +1 -1
  348. package/dist/collection/shared/utils/isClient.js +12 -0
  349. package/dist/collection/shared/utils/isClient.js.map +1 -0
  350. package/dist/collection/tools/generate-custom-elements-json.js +8 -7
  351. package/dist/collection/tools/generate-custom-elements-json.js.map +1 -1
  352. package/dist/components/bq-accordion-group.js +1 -114
  353. package/dist/components/bq-accordion-group.js.map +1 -1
  354. package/dist/components/bq-accordion.js +1 -311
  355. package/dist/components/bq-accordion.js.map +1 -1
  356. package/dist/components/bq-alert.js +1 -220
  357. package/dist/components/bq-alert.js.map +1 -1
  358. package/dist/components/bq-avatar.js +1 -139
  359. package/dist/components/bq-avatar.js.map +1 -1
  360. package/dist/components/bq-badge.js +1 -7
  361. package/dist/components/bq-badge.js.map +1 -1
  362. package/dist/components/bq-breadcrumb-item.js +1 -96
  363. package/dist/components/bq-breadcrumb-item.js.map +1 -1
  364. package/dist/components/bq-breadcrumb.js +1 -112
  365. package/dist/components/bq-breadcrumb.js.map +1 -1
  366. package/dist/components/bq-button.js +1 -7
  367. package/dist/components/bq-button.js.map +1 -1
  368. package/dist/components/bq-card.js +1 -86
  369. package/dist/components/bq-card.js.map +1 -1
  370. package/dist/components/bq-checkbox.js +1 -207
  371. package/dist/components/bq-checkbox.js.map +1 -1
  372. package/dist/components/bq-date-picker.js +1 -390
  373. package/dist/components/bq-date-picker.js.map +1 -1
  374. package/dist/components/bq-dialog.js +1 -252
  375. package/dist/components/bq-dialog.js.map +1 -1
  376. package/dist/components/bq-divider.js +1 -7
  377. package/dist/components/bq-divider.js.map +1 -1
  378. package/dist/components/bq-drawer.js +1 -249
  379. package/dist/components/bq-drawer.js.map +1 -1
  380. package/dist/components/bq-dropdown.js +1 -7
  381. package/dist/components/bq-dropdown.js.map +1 -1
  382. package/dist/components/bq-empty-state.js +1 -125
  383. package/dist/components/bq-empty-state.js.map +1 -1
  384. package/dist/components/bq-icon.js +1 -7
  385. package/dist/components/bq-icon.js.map +1 -1
  386. package/dist/components/bq-input.js +1 -266
  387. package/dist/components/bq-input.js.map +1 -1
  388. package/dist/components/bq-notification.js +1 -245
  389. package/dist/components/bq-notification.js.map +1 -1
  390. package/dist/components/bq-option-group.js +1 -64
  391. package/dist/components/bq-option-group.js.map +1 -1
  392. package/dist/components/bq-option-list.js +1 -7
  393. package/dist/components/bq-option-list.js.map +1 -1
  394. package/dist/components/bq-option.js +1 -137
  395. package/dist/components/bq-option.js.map +1 -1
  396. package/dist/components/bq-page-title.js +1 -82
  397. package/dist/components/bq-page-title.js.map +1 -1
  398. package/dist/components/bq-panel.js +1 -7
  399. package/dist/components/bq-panel.js.map +1 -1
  400. package/dist/components/bq-progress.js +1 -129
  401. package/dist/components/bq-progress.js.map +1 -1
  402. package/dist/components/bq-radio-group.js +1 -207
  403. package/dist/components/bq-radio-group.js.map +1 -1
  404. package/dist/components/bq-radio.js +1 -136
  405. package/dist/components/bq-radio.js.map +1 -1
  406. package/dist/components/bq-select.js +1 -452
  407. package/dist/components/bq-select.js.map +1 -1
  408. package/dist/components/bq-side-menu-item.js +1 -125
  409. package/dist/components/bq-side-menu-item.js.map +1 -1
  410. package/dist/components/bq-side-menu.js +1 -144
  411. package/dist/components/bq-side-menu.js.map +1 -1
  412. package/dist/components/bq-slider.js +1 -307
  413. package/dist/components/bq-slider.js.map +1 -1
  414. package/dist/components/bq-spinner.js +1 -167
  415. package/dist/components/bq-spinner.js.map +1 -1
  416. package/dist/components/bq-status.js +1 -82
  417. package/dist/components/bq-status.js.map +1 -1
  418. package/dist/components/bq-step-item.js +1 -119
  419. package/dist/components/bq-step-item.js.map +1 -1
  420. package/dist/components/bq-steps.js +1 -108
  421. package/dist/components/bq-steps.js.map +1 -1
  422. package/dist/components/bq-switch.js +1 -175
  423. package/dist/components/bq-switch.js.map +1 -1
  424. package/dist/components/bq-tab-group.js +1 -232
  425. package/dist/components/bq-tab-group.js.map +1 -1
  426. package/dist/components/bq-tab.js +1 -170
  427. package/dist/components/bq-tab.js.map +1 -1
  428. package/dist/components/bq-tag.js +1 -7
  429. package/dist/components/bq-tag.js.map +1 -1
  430. package/dist/components/bq-textarea.js +1 -210
  431. package/dist/components/bq-textarea.js.map +1 -1
  432. package/dist/components/bq-toast.js +1 -213
  433. package/dist/components/bq-toast.js.map +1 -1
  434. package/dist/components/bq-tooltip.js +1 -7
  435. package/dist/components/bq-tooltip.js.map +1 -1
  436. package/dist/components/index.js +1 -1246
  437. package/dist/components/index.js.map +1 -1
  438. package/dist/components/p-07b82e50.js +6 -0
  439. package/dist/components/p-07b82e50.js.map +1 -0
  440. package/dist/components/p-1566efe3.js +6 -0
  441. package/dist/components/p-1566efe3.js.map +1 -0
  442. package/dist/components/p-1c8b6eb4.js +6 -0
  443. package/dist/components/p-1c8b6eb4.js.map +1 -0
  444. package/dist/components/p-1defeea3.js +6 -0
  445. package/dist/components/p-1defeea3.js.map +1 -0
  446. package/dist/components/p-27c1b08e.js +6 -0
  447. package/dist/components/p-27c1b08e.js.map +1 -0
  448. package/dist/components/p-28da2321.js +6 -0
  449. package/dist/components/p-28da2321.js.map +1 -0
  450. package/dist/components/p-33371480.js +6 -0
  451. package/dist/components/p-33371480.js.map +1 -0
  452. package/dist/components/p-55b0aea8.js +6 -0
  453. package/dist/components/p-55b0aea8.js.map +1 -0
  454. package/dist/components/p-57621be1.js +6 -0
  455. package/dist/components/p-57621be1.js.map +1 -0
  456. package/dist/components/p-5940b410.js +7 -0
  457. package/dist/components/p-5940b410.js.map +1 -0
  458. package/dist/components/p-603c898d.js +6 -0
  459. package/dist/components/p-603c898d.js.map +1 -0
  460. package/dist/components/p-687da041.js +6 -0
  461. package/dist/components/p-687da041.js.map +1 -0
  462. package/dist/components/p-78d23ddc.js +6 -0
  463. package/dist/components/p-78d23ddc.js.map +1 -0
  464. package/dist/components/p-7d7f1f7e.js +6 -0
  465. package/dist/components/p-7d7f1f7e.js.map +1 -0
  466. package/dist/components/p-93c16753.js +6 -0
  467. package/dist/components/p-93c16753.js.map +1 -0
  468. package/dist/components/p-99829fc7.js +6 -0
  469. package/dist/components/p-99829fc7.js.map +1 -0
  470. package/dist/components/p-a5dc1c94.js +6 -0
  471. package/dist/components/p-a5dc1c94.js.map +1 -0
  472. package/dist/components/p-a8cad5ab.js +6 -0
  473. package/dist/components/p-a8cad5ab.js.map +1 -0
  474. package/dist/components/p-af062402.js +6 -0
  475. package/dist/components/p-af062402.js.map +1 -0
  476. package/dist/components/p-c2d43340.js +6 -0
  477. package/dist/components/p-c2d43340.js.map +1 -0
  478. package/dist/components/p-c3a0bd23.js +6 -0
  479. package/dist/components/p-c3a0bd23.js.map +1 -0
  480. package/dist/components/p-c78ae3c2.js +6 -0
  481. package/dist/components/p-c78ae3c2.js.map +1 -0
  482. package/dist/components/p-cf496927.js +6 -0
  483. package/dist/components/p-cf496927.js.map +1 -0
  484. package/dist/components/p-d62fdbae.js +6 -0
  485. package/dist/components/p-d62fdbae.js.map +1 -0
  486. package/dist/components/p-d7ce7165.js +6 -0
  487. package/dist/components/p-d7ce7165.js.map +1 -0
  488. package/dist/components/p-ecd27cf2.js +6 -0
  489. package/dist/components/p-ecd27cf2.js.map +1 -0
  490. package/dist/custom-elements.json +17559 -0
  491. package/dist/esm/app-globals-7655df21.js +9 -0
  492. package/dist/esm/app-globals-7655df21.js.map +1 -0
  493. package/dist/esm/{assetsPath-630898a9.js → assetsPath-eed21007.js} +6 -5
  494. package/dist/esm/assetsPath-eed21007.js.map +1 -0
  495. package/dist/esm/beeq.js +5 -5
  496. package/dist/esm/beeq.js.map +1 -1
  497. package/dist/esm/bq-accordion-group.entry.js +3 -3
  498. package/dist/esm/bq-accordion-group.entry.js.map +1 -1
  499. package/dist/esm/bq-accordion.entry.js +6 -6
  500. package/dist/esm/bq-accordion.entry.js.map +1 -1
  501. package/dist/esm/bq-alert.entry.js +7 -7
  502. package/dist/esm/bq-alert.entry.js.map +1 -1
  503. package/dist/esm/bq-avatar.entry.js +5 -5
  504. package/dist/esm/bq-avatar.entry.js.map +1 -1
  505. package/dist/esm/bq-badge.entry.js +5 -4
  506. package/dist/esm/bq-badge.entry.js.map +1 -1
  507. package/dist/esm/bq-breadcrumb-item.entry.js +4 -11
  508. package/dist/esm/bq-breadcrumb-item.entry.js.map +1 -1
  509. package/dist/esm/bq-breadcrumb.entry.js +20 -38
  510. package/dist/esm/bq-breadcrumb.entry.js.map +1 -1
  511. package/dist/esm/bq-button_2.entry.js +10 -9
  512. package/dist/esm/bq-button_2.entry.js.map +1 -1
  513. package/dist/esm/bq-card.entry.js +4 -4
  514. package/dist/esm/bq-card.entry.js.map +1 -1
  515. package/dist/esm/bq-checkbox.entry.js +9 -11
  516. package/dist/esm/bq-checkbox.entry.js.map +1 -1
  517. package/dist/esm/bq-date-picker.entry.js +59 -15
  518. package/dist/esm/bq-date-picker.entry.js.map +1 -1
  519. package/dist/esm/bq-dialog.entry.js +6 -6
  520. package/dist/esm/bq-dialog.entry.js.map +1 -1
  521. package/dist/esm/bq-divider.entry.js +8 -7
  522. package/dist/esm/bq-divider.entry.js.map +1 -1
  523. package/dist/esm/bq-drawer.entry.js +6 -6
  524. package/dist/esm/bq-drawer.entry.js.map +1 -1
  525. package/dist/esm/bq-dropdown_2.entry.js +5 -5
  526. package/dist/esm/bq-dropdown_2.entry.js.map +1 -1
  527. package/dist/esm/bq-empty-state.entry.js +7 -7
  528. package/dist/esm/bq-empty-state.entry.js.map +1 -1
  529. package/dist/esm/bq-input.entry.js +42 -17
  530. package/dist/esm/bq-input.entry.js.map +1 -1
  531. package/dist/esm/bq-notification.entry.js +11 -6
  532. package/dist/esm/bq-notification.entry.js.map +1 -1
  533. package/dist/esm/bq-option-group.entry.js +2 -2
  534. package/dist/esm/bq-option-group.entry.js.map +1 -1
  535. package/dist/esm/bq-option-list_2.entry.js +9 -8
  536. package/dist/esm/bq-option-list_2.entry.js.map +1 -1
  537. package/dist/esm/bq-option.entry.js +5 -5
  538. package/dist/esm/bq-option.entry.js.map +1 -1
  539. package/dist/esm/bq-page-title.entry.js +3 -3
  540. package/dist/esm/bq-page-title.entry.js.map +1 -1
  541. package/dist/esm/bq-progress.entry.js +13 -12
  542. package/dist/esm/bq-progress.entry.js.map +1 -1
  543. package/dist/esm/bq-radio-group.entry.js +68 -25
  544. package/dist/esm/bq-radio-group.entry.js.map +1 -1
  545. package/dist/esm/bq-radio.entry.js +10 -4
  546. package/dist/esm/bq-radio.entry.js.map +1 -1
  547. package/dist/esm/bq-select.entry.js +7 -7
  548. package/dist/esm/bq-select.entry.js.map +1 -1
  549. package/dist/esm/bq-side-menu-item.entry.js +2 -2
  550. package/dist/esm/bq-side-menu-item.entry.js.map +1 -1
  551. package/dist/esm/bq-side-menu.entry.js +7 -4
  552. package/dist/esm/bq-side-menu.entry.js.map +1 -1
  553. package/dist/esm/bq-slider.entry.js +23 -9
  554. package/dist/esm/bq-slider.entry.js.map +1 -1
  555. package/dist/esm/bq-spinner.entry.js +9 -8
  556. package/dist/esm/bq-spinner.entry.js.map +1 -1
  557. package/dist/esm/bq-status.entry.js +3 -3
  558. package/dist/esm/bq-status.entry.js.map +1 -1
  559. package/dist/esm/bq-step-item.entry.js +8 -8
  560. package/dist/esm/bq-step-item.entry.js.map +1 -1
  561. package/dist/esm/bq-steps.entry.js +2 -2
  562. package/dist/esm/bq-steps.entry.js.map +1 -1
  563. package/dist/esm/bq-switch.entry.js +57 -5
  564. package/dist/esm/bq-switch.entry.js.map +1 -1
  565. package/dist/esm/bq-tab-group.entry.js +9 -9
  566. package/dist/esm/bq-tab-group.entry.js.map +1 -1
  567. package/dist/esm/bq-tab.entry.js +9 -9
  568. package/dist/esm/bq-tab.entry.js.map +1 -1
  569. package/dist/esm/bq-textarea.entry.js +62 -13
  570. package/dist/esm/bq-textarea.entry.js.map +1 -1
  571. package/dist/esm/bq-toast.entry.js +9 -4
  572. package/dist/esm/bq-toast.entry.js.map +1 -1
  573. package/dist/esm/bq-tooltip.entry.js +2 -2
  574. package/dist/esm/bq-tooltip.entry.js.map +1 -1
  575. package/dist/esm/{app-globals-de5a646b.js → cally-1a3258d6.js} +2 -6
  576. package/dist/esm/cally-1a3258d6.js.map +1 -0
  577. package/dist/esm/{cssVariables-000c23ad.js → cssVariables-3665b51c.js} +4 -2
  578. package/dist/esm/cssVariables-3665b51c.js.map +1 -0
  579. package/dist/esm/{index-033f1efb.js → index-c7d02072.js} +787 -565
  580. package/dist/esm/index-c7d02072.js.map +1 -0
  581. package/dist/esm/index.js +6 -5
  582. package/dist/esm/index.js.map +1 -1
  583. package/dist/esm/isClient-c6eae7ba.js +15 -0
  584. package/dist/esm/isClient-c6eae7ba.js.map +1 -0
  585. package/dist/esm/{isDefined-f356f816.js → isDefined-48de6db5.js} +2 -2
  586. package/dist/esm/{isDefined-f356f816.js.map → isDefined-48de6db5.js.map} +1 -1
  587. package/dist/esm/loader.js +4 -4
  588. package/dist/hydrate/index.js +12770 -10546
  589. package/dist/hydrate/index.mjs +12770 -10546
  590. package/dist/stencil.config.js +17 -4
  591. package/dist/stencil.config.js.map +1 -1
  592. package/dist/types/components/accordion/bq-accordion.d.ts +100 -10
  593. package/dist/types/components/accordion-group/bq-accordion-group.d.ts +25 -0
  594. package/dist/types/components/alert/bq-alert.d.ts +71 -5
  595. package/dist/types/components/avatar/bq-avatar.d.ts +51 -1
  596. package/dist/types/components/badge/bq-badge.d.ts +28 -0
  597. package/dist/types/components/breadcrumb/bq-breadcrumb.d.ts +25 -17
  598. package/dist/types/components/breadcrumb-item/bq-breadcrumb-item.d.ts +43 -10
  599. package/dist/types/components/button/bq-button.d.ts +51 -0
  600. package/dist/types/components/card/bq-card.d.ts +31 -1
  601. package/dist/types/components/checkbox/bq-checkbox.d.ts +37 -1
  602. package/dist/types/components/date-picker/bq-date-picker.d.ts +118 -28
  603. package/dist/types/components/dialog/bq-dialog.d.ts +76 -8
  604. package/dist/types/components/divider/bq-divider.d.ts +31 -4
  605. package/dist/types/components/drawer/bq-drawer.d.ts +59 -9
  606. package/dist/types/components/dropdown/bq-dropdown.d.ts +51 -3
  607. package/dist/types/components/empty-state/bq-empty-state.d.ts +18 -0
  608. package/dist/types/components/icon/bq-icon.d.ts +21 -1
  609. package/dist/types/components/input/bq-input.d.ts +77 -0
  610. package/dist/types/components/notification/bq-notification.d.ts +57 -5
  611. package/dist/types/components/option/bq-option.d.ts +40 -0
  612. package/dist/types/components/option-group/bq-option-group.d.ts +31 -0
  613. package/dist/types/components/option-list/bq-option-list.d.ts +21 -0
  614. package/dist/types/components/page-title/bq-page-title.d.ts +37 -0
  615. package/dist/types/components/panel/bq-panel.d.ts +31 -0
  616. package/dist/types/components/progress/bq-progress.d.ts +33 -9
  617. package/dist/types/components/radio/bq-radio.d.ts +37 -0
  618. package/dist/types/components/radio-group/bq-radio-group.d.ts +53 -10
  619. package/dist/types/components/select/bq-select.d.ts +85 -0
  620. package/dist/types/components/side-menu/bq-side-menu.d.ts +45 -0
  621. package/dist/types/components/side-menu-item/bq-side-menu-item.d.ts +37 -0
  622. package/dist/types/components/slider/bq-slider.d.ts +39 -1
  623. package/dist/types/components/spinner/bq-spinner.d.ts +26 -0
  624. package/dist/types/components/status/bq-status.d.ts +21 -3
  625. package/dist/types/components/step-item/bq-step-item.d.ts +32 -0
  626. package/dist/types/components/steps/bq-steps.d.ts +27 -0
  627. package/dist/types/components/switch/bq-switch.d.ts +43 -0
  628. package/dist/types/components/tab/bq-tab.d.ts +47 -5
  629. package/dist/types/components/tab-group/bq-tab-group.d.ts +34 -8
  630. package/dist/types/components/tag/bq-tag.d.ts +49 -0
  631. package/dist/types/components/textarea/bq-textarea.d.ts +74 -0
  632. package/dist/types/components/toast/bq-toast.d.ts +47 -2
  633. package/dist/types/components/tooltip/bq-tooltip.d.ts +40 -0
  634. package/dist/types/components.d.ts +5795 -71
  635. package/dist/types/global.d.ts +26 -0
  636. package/dist/types/{Users/dramos/PROJECTs/ENDAVA/BEEQ-Design-System → home/runner/work/BEEQ/BEEQ}/packages/beeq/.stencil/tailwind.config.d.ts +104 -78
  637. package/dist/types/shared/utils/index.d.ts +1 -0
  638. package/dist/types/shared/utils/isClient.d.ts +5 -0
  639. package/dist/types/stencil-public-runtime.d.ts +2 -0
  640. package/dist/types/tools/generate-custom-elements-json.d.ts +1 -1
  641. package/package.json +24 -24
  642. package/dist/beeq/p-01df4baa.js +0 -1826
  643. package/dist/beeq/p-01df4baa.js.map +0 -1
  644. package/dist/beeq/p-01fe8efb.entry.js +0 -182
  645. package/dist/beeq/p-01fe8efb.entry.js.map +0 -1
  646. package/dist/beeq/p-03373320.entry.js +0 -318
  647. package/dist/beeq/p-03373320.entry.js.map +0 -1
  648. package/dist/beeq/p-03c586df.entry.js +0 -292
  649. package/dist/beeq/p-03c586df.entry.js.map +0 -1
  650. package/dist/beeq/p-0a981080.entry.js +0 -154
  651. package/dist/beeq/p-0a981080.entry.js.map +0 -1
  652. package/dist/beeq/p-0ce76c54.entry.js +0 -103
  653. package/dist/beeq/p-0ce76c54.entry.js.map +0 -1
  654. package/dist/beeq/p-119526cc.entry.js +0 -272
  655. package/dist/beeq/p-119526cc.entry.js.map +0 -1
  656. package/dist/beeq/p-16c6ece5.entry.js.map +0 -1
  657. package/dist/beeq/p-3043c826.entry.js.map +0 -1
  658. package/dist/beeq/p-38e70f78.entry.js +0 -133
  659. package/dist/beeq/p-38e70f78.entry.js.map +0 -1
  660. package/dist/beeq/p-398bfb48.entry.js +0 -242
  661. package/dist/beeq/p-398bfb48.entry.js.map +0 -1
  662. package/dist/beeq/p-3fd0d92d.js +0 -1233
  663. package/dist/beeq/p-3fd0d92d.js.map +0 -1
  664. package/dist/beeq/p-41ac1d84.entry.js +0 -195
  665. package/dist/beeq/p-41ac1d84.entry.js.map +0 -1
  666. package/dist/beeq/p-4eabcd51.entry.js +0 -82
  667. package/dist/beeq/p-4eabcd51.entry.js.map +0 -1
  668. package/dist/beeq/p-5ff6621d.entry.js +0 -134
  669. package/dist/beeq/p-5ff6621d.entry.js.map +0 -1
  670. package/dist/beeq/p-60cbc966.entry.js +0 -85
  671. package/dist/beeq/p-60cbc966.entry.js.map +0 -1
  672. package/dist/beeq/p-67a7b85a.entry.js +0 -528
  673. package/dist/beeq/p-67a7b85a.entry.js.map +0 -1
  674. package/dist/beeq/p-68ff188d.entry.js +0 -144
  675. package/dist/beeq/p-68ff188d.entry.js.map +0 -1
  676. package/dist/beeq/p-69c766a3.entry.js +0 -213
  677. package/dist/beeq/p-69c766a3.entry.js.map +0 -1
  678. package/dist/beeq/p-7d789231.entry.js +0 -347
  679. package/dist/beeq/p-7d789231.entry.js.map +0 -1
  680. package/dist/beeq/p-8512b8ee.entry.js +0 -455
  681. package/dist/beeq/p-8512b8ee.entry.js.map +0 -1
  682. package/dist/beeq/p-8b16f130.entry.js +0 -210
  683. package/dist/beeq/p-8b16f130.entry.js.map +0 -1
  684. package/dist/beeq/p-9cab14ee.entry.js +0 -119
  685. package/dist/beeq/p-9cab14ee.entry.js.map +0 -1
  686. package/dist/beeq/p-a23b23c4.entry.js +0 -213
  687. package/dist/beeq/p-a23b23c4.entry.js.map +0 -1
  688. package/dist/beeq/p-aacaaa35.entry.js +0 -209
  689. package/dist/beeq/p-aacaaa35.entry.js.map +0 -1
  690. package/dist/beeq/p-b2df1479.entry.js +0 -270
  691. package/dist/beeq/p-b2df1479.entry.js.map +0 -1
  692. package/dist/beeq/p-b48788b5.js +0 -72
  693. package/dist/beeq/p-b48788b5.js.map +0 -1
  694. package/dist/beeq/p-b77b52f2.entry.js +0 -188
  695. package/dist/beeq/p-b77b52f2.entry.js.map +0 -1
  696. package/dist/beeq/p-c6cbb8e2.js +0 -16
  697. package/dist/beeq/p-c83bc7fd.entry.js +0 -157
  698. package/dist/beeq/p-c83bc7fd.entry.js.map +0 -1
  699. package/dist/beeq/p-cb2b0014.entry.js +0 -363
  700. package/dist/beeq/p-cb2b0014.entry.js.map +0 -1
  701. package/dist/beeq/p-cb917e68.entry.js +0 -177
  702. package/dist/beeq/p-cb917e68.entry.js.map +0 -1
  703. package/dist/beeq/p-cfb8829b.entry.js.map +0 -1
  704. package/dist/beeq/p-d7067dae.entry.js +0 -151
  705. package/dist/beeq/p-d7067dae.entry.js.map +0 -1
  706. package/dist/beeq/p-d7dc7086.entry.js +0 -267
  707. package/dist/beeq/p-d7dc7086.entry.js.map +0 -1
  708. package/dist/beeq/p-e707bd79.entry.js +0 -458
  709. package/dist/beeq/p-e707bd79.entry.js.map +0 -1
  710. package/dist/beeq/p-e76e346b.entry.js +0 -334
  711. package/dist/beeq/p-e76e346b.entry.js.map +0 -1
  712. package/dist/beeq/p-edfd9767.js +0 -31
  713. package/dist/beeq/p-edfd9767.js.map +0 -1
  714. package/dist/beeq/p-f11a3beb.entry.js +0 -90
  715. package/dist/beeq/p-f11a3beb.entry.js.map +0 -1
  716. package/dist/beeq/p-f1d6a960.entry.js +0 -271
  717. package/dist/beeq/p-f1d6a960.entry.js.map +0 -1
  718. package/dist/beeq/p-f350516b.entry.js +0 -154
  719. package/dist/beeq/p-f350516b.entry.js.map +0 -1
  720. package/dist/beeq/p-f979d79a.entry.js +0 -120
  721. package/dist/beeq/p-f979d79a.entry.js.map +0 -1
  722. package/dist/beeq/p-faa3be41.entry.js +0 -159
  723. package/dist/beeq/p-faa3be41.entry.js.map +0 -1
  724. package/dist/beeq/p-fe278ecc.entry.js +0 -267
  725. package/dist/beeq/p-fe278ecc.entry.js.map +0 -1
  726. package/dist/cjs/app-globals-b11284b9.js.map +0 -1
  727. package/dist/cjs/assetsPath-2885c838.js.map +0 -1
  728. package/dist/cjs/cssVariables-dd190bc2.js.map +0 -1
  729. package/dist/cjs/index-34edf639.js.map +0 -1
  730. package/dist/collection/global/scripts/global.js.map +0 -1
  731. package/dist/components/bq-badge2.js +0 -125
  732. package/dist/components/bq-badge2.js.map +0 -1
  733. package/dist/components/bq-button2.js +0 -208
  734. package/dist/components/bq-button2.js.map +0 -1
  735. package/dist/components/bq-divider2.js +0 -159
  736. package/dist/components/bq-divider2.js.map +0 -1
  737. package/dist/components/bq-dropdown2.js +0 -155
  738. package/dist/components/bq-dropdown2.js.map +0 -1
  739. package/dist/components/bq-icon2.js +0 -315
  740. package/dist/components/bq-icon2.js.map +0 -1
  741. package/dist/components/bq-option-list2.js +0 -76
  742. package/dist/components/bq-option-list2.js.map +0 -1
  743. package/dist/components/bq-panel2.js +0 -135
  744. package/dist/components/bq-panel2.js.map +0 -1
  745. package/dist/components/bq-steps.types.js +0 -10
  746. package/dist/components/bq-steps.types.js.map +0 -1
  747. package/dist/components/bq-tab.types.js +0 -11
  748. package/dist/components/bq-tab.types.js.map +0 -1
  749. package/dist/components/bq-tag2.js +0 -271
  750. package/dist/components/bq-tag2.js.map +0 -1
  751. package/dist/components/bq-tooltip2.js +0 -178
  752. package/dist/components/bq-tooltip2.js.map +0 -1
  753. package/dist/components/cssVariables.js +0 -34
  754. package/dist/components/cssVariables.js.map +0 -1
  755. package/dist/components/debounce.js +0 -73
  756. package/dist/components/debounce.js.map +0 -1
  757. package/dist/components/event.js +0 -18
  758. package/dist/components/event.js.map +0 -1
  759. package/dist/components/index2.js +0 -2138
  760. package/dist/components/index2.js.map +0 -1
  761. package/dist/components/isDefined.js +0 -19
  762. package/dist/components/isDefined.js.map +0 -1
  763. package/dist/components/isHTMLElement.js +0 -17
  764. package/dist/components/isHTMLElement.js.map +0 -1
  765. package/dist/components/isNil.js +0 -16
  766. package/dist/components/isNil.js.map +0 -1
  767. package/dist/components/isString.js +0 -21
  768. package/dist/components/isString.js.map +0 -1
  769. package/dist/components/props.js +0 -27
  770. package/dist/components/props.js.map +0 -1
  771. package/dist/components/slot.js +0 -85
  772. package/dist/components/slot.js.map +0 -1
  773. package/dist/components/transition.js +0 -131
  774. package/dist/components/transition.js.map +0 -1
  775. package/dist/esm/app-globals-de5a646b.js.map +0 -1
  776. package/dist/esm/assetsPath-630898a9.js.map +0 -1
  777. package/dist/esm/cssVariables-000c23ad.js.map +0 -1
  778. package/dist/esm/index-033f1efb.js.map +0 -1
  779. package/dist/types/global/scripts/global.d.ts +0 -18
  780. /package/dist/types/{Users/dramos/PROJECTs/ENDAVA/BEEQ-Design-System → home/runner/work/BEEQ/BEEQ}/packages/beeq/.stencil/packages/beeq/stencil.config.d.ts +0 -0
@@ -6,15 +6,65 @@ import { h, Host } from "@stencil/core";
6
6
  import { DRAWER_PLACEMENT, DRAWER_POSITIONS } from "./bq-drawer.types";
7
7
  import { enter, hasSlotContent, isNil, leave, validatePropValue } from "../../shared/utils";
8
8
  /**
9
- * @part backdrop - The `<div>` that holds the backdrop overlay
10
- * @part button-close - The BqButton that closes the drawer
11
- * @part button-close__btn - The native button used under the hood that closes the drawer
12
- * @part button-close__label - The text inside the native button that closes the drawer
13
- * @part panel - The `<div>` that holds the drawer entire content
14
- * @part header - The `<header>` that holds the icon, title, and close button
15
- * @part title - The `<div>` that holds the title content
16
- * @part body - The `<main>` that holds the drawer body content
17
- * @part footer - The `<footer>` that holds footer content
9
+ * The Drawer component provides a sliding panel interface commonly used for navigation or presenting additional content without taking up significant screen space.
10
+ *
11
+ * @example How to use it
12
+ * ```html
13
+ * <bq-drawer position="end">
14
+ * <div class="flex gap-xs" slot="title">Title</div>
15
+ * <div class="...">
16
+ * Content
17
+ * </div>
18
+ * <div class="flex flex-1 justify-center gap-xs" slot="footer">
19
+ * <bq-button appearance="primary" block="" size="small">Button</bq-button>
20
+ * <bq-button appearance="link" block="" size="small">Button</bq-button>
21
+ * </div>
22
+ * </bq-drawer>
23
+ * ```
24
+ *
25
+ * @documentation https://www.beeq.design/3d466e231/p/871139-drawer
26
+ * @status stable
27
+ *
28
+ * @dependency bq-button
29
+ * @dependency bq-icon
30
+ * @dependency bq-divider
31
+ *
32
+ * @attr {boolean} enable-backdrop - If true, the backdrop overlay will be shown when the drawer opens.
33
+ * @attr {boolean} close-on-click-outside - If true, the drawer will not close when clicking outside the panel.
34
+ * @attr {boolean} close-on-esc - If true, the drawer will not close when the [Esc] key is pressed.
35
+ * @attr {boolean} open - If true, the drawer component will be shown.
36
+ * @attr {"start" | "end"} position - Defines the position of the drawer.
37
+ *
38
+ * @method show - Method to be called to show the drawer component.
39
+ * @method hide - Method to be called to hide the drawer component.
40
+ *
41
+ * @event bqClose - Callback handler to be called when the drawer is closed.
42
+ * @event bqOpen - Callback handler to be called when the drawer is opened.
43
+ * @event bqAfterOpen - Callback handler to be called after the drawer has been opened.
44
+ * @event bqAfterClose - Callback handler to be called after the drawer has been closed.
45
+ *
46
+ * @slot title - The title content of the drawer.
47
+ * @slot - The body content of the drawer.
48
+ * @slot footer - The footer content of the drawer.
49
+ * @slot button-close - The close button content of the drawer.
50
+ * @slot footer-divider - The footer divider content of the drawer.
51
+ *
52
+ * @part backdrop - The `<div>` that holds the backdrop overlay.
53
+ * @part button-close - The BqButton that closes the drawer.
54
+ * @part button-close__btn - The native button used under the hood that closes the drawer.
55
+ * @part button-close__label - The text inside the native button that closes the drawer.
56
+ * @part panel - The `<div>` that holds the drawer entire content.
57
+ * @part header - The `<header>` that holds the icon, title, and close button.
58
+ * @part title - The `<div>` that holds the title content.
59
+ * @part body - The `<main>` that holds the drawer body content.
60
+ * @part footer - The `<footer>` that holds footer content.
61
+ *
62
+ * @cssprop --bq-drawer--backgroundBackdrop - Background color of the backdrop
63
+ * @cssprop --bq-drawer--gap - Gap between the drawer and the viewport
64
+ * @cssprop --bq-drawer--width - Width of the drawer
65
+ * @cssprop --bq-drawer--paddingX - Padding left and right of the drawer
66
+ * @cssprop --bq-drawer--paddingY - Padding top and bottom of the drawer
67
+ * @cssprop --bq-drawer--zIndex - Z-index of the drawer component
18
68
  */
19
69
  export class BqDrawer {
20
70
  constructor() {
@@ -173,20 +223,20 @@ export class BqDrawer {
173
223
  // Always the last one in the class.
174
224
  // ===================================
175
225
  render() {
176
- return (h(Host, { key: '6ee33bdb6b0a27e9329992ba262941d404e7d3b0' }, this.enableBackdrop && (h("div", { key: '2e8c981076e86b311a6deaad1a4abd32149639fc', class: {
226
+ return (h(Host, { key: 'a716a127c60de5db3e25edb6f7c9aaed4fa3d7e5' }, this.enableBackdrop && (h("div", { key: '2c35713184b02bdc5cb7a144a7f50acd0eabf17f', class: {
177
227
  'fixed inset-0 block bg-[--bq-drawer--backgroundBackdrop] opacity-0 transition-opacity duration-300': true,
178
228
  'pointer-events-none': !this.open,
179
229
  'opacity-60': this.open,
180
- }, tabIndex: -1, part: "backdrop" })), h("div", { key: '3743e9e70da7583e4d4d31b54c7ee6475c69f0fe', class: {
230
+ }, tabIndex: -1, part: "backdrop" })), h("div", { key: '5b81a5bdc905b0e1c9d021e19d8cc71d99603aca', class: {
181
231
  [`bq-drawer transition-all duration-300 ease-in-out ${this.position || this.placement}`]: true,
182
232
  '-start-[--bq-drawer--width]': this.isPositionStart,
183
233
  '-end-[--bq-drawer--width]': this.isPositionEnd,
184
234
  'start-0': this.open && this.isPositionStart,
185
235
  'end-0': this.open && this.isPositionEnd,
186
- }, ref: (div) => (this.drawerElem = div), "aria-hidden": !this.open ? 'true' : 'false', "aria-labelledby": "bq-drawer__title", "aria-modal": "true", hidden: !this.open, part: "panel", role: "dialog" }, h("header", { key: 'cb3f75a6a4fcde14f577f71f603a55d2c54ae04e', class: "flex items-center", part: "header" }, h("h2", { key: '0c09a2140f1217532cbccc89db7a0b9e08d8892c', class: "flex-1 items-center justify-between font-bold leading-regular text-text-primary", id: "bq-drawer__title", part: "title" }, h("slot", { key: 'd68cb5b78da773913c81f5350990f0eda1be00a9', name: "title" })), h("div", { key: 'cc8df180ace2acbbe13ea47e5a52e2dd35d5eac1', class: "flex", part: "button-close" }, h("bq-button", { key: '5c5afca20debe8b3c25d1c73c5b2fcdf385daa99', class: "[&::part(button)]:rounded-s [&::part(button)]:border-0 [&::part(button)]:bs-fit [&::part(button)]:p-b-0 [&::part(button)]:p-i-0 [&::part(label)]:inline-flex", appearance: "text", size: "small", slot: "button-close", exportparts: "button:button-close__btn,label:button-close__label", onClick: this.hide.bind(this) }, h("slot", { key: '861ca06833499a7cac6df9a97cc7db30c5f4516f', name: "button-close" }, h("bq-icon", { key: '63616038862e0c0d759226c38be0dc8a14aac063', name: "x-bold", role: "img", title: "Close" }))))), h("main", { key: '0c2f5bc950d4105159141fde3c69e1ca6136dc88', class: "block flex-auto overflow-auto", part: "body" }, h("slot", { key: 'f378f60a1e71557a9f918b1eeeba27f4a17c1b07' })), h("footer", { key: '29fb31b638bb1e56ef5c2c2edaefadc8a5217a02', class: {
236
+ }, ref: (div) => (this.drawerElem = div), "aria-hidden": !this.open ? 'true' : 'false', "aria-labelledby": "bq-drawer__title", "aria-modal": "true", hidden: !this.open, part: "panel", role: "dialog" }, h("header", { key: '8991fce74864f75efe643ce271cd3b7706232665', class: "flex items-center", part: "header" }, h("h2", { key: 'ee292cd20857dc02423e5b46e7ecd43c0da616ca', class: "flex-1 items-center justify-between font-bold leading-regular text-primary", id: "bq-drawer__title", part: "title" }, h("slot", { key: '9a40f9bd02d3b62a6ab30813805332586928bb60', name: "title" })), h("div", { key: '89e7788a9eabfa538185b8e1fefb3d85cb20126b', class: "flex", part: "button-close" }, h("bq-button", { key: '58e2bff54395943c2847fa242b27f15ae4fad323', class: "[&::part(button)]:rounded-s [&::part(button)]:border-0 [&::part(button)]:bs-fit [&::part(button)]:p-b-0 [&::part(button)]:p-i-0 [&::part(label)]:inline-flex", appearance: "text", size: "small", slot: "button-close", exportparts: "button:button-close__btn,label:button-close__label", onClick: this.hide.bind(this) }, h("slot", { key: 'cf80701a3b3937074cd2bf1da198c0278d2c0eb9', name: "button-close" }, h("bq-icon", { key: '1273bcaf86c227666bf9138d00d4262f29c4959e', name: "x-bold", role: "img", title: "Close" }))))), h("main", { key: 'b880d52a3f611d1ea23eca2b671a1c06035c44b7', class: "block flex-auto overflow-auto", part: "body" }, h("slot", { key: 'aab010203250eb15cfed94597a678324525f52e7' })), h("footer", { key: '6fb62993cf08d45046549d5ad11d0a01d307371a', class: {
187
237
  block: true,
188
238
  '!hidden': !this.hasFooter,
189
- }, ref: (footerElem) => (this.footerElem = footerElem), part: "footer" }, h("slot", { key: '688ce9efdc2cac6f8b053b0c9669e7afe3c287ad', name: "footer-divider" }, h("bq-divider", { key: '0c267254122d9615fe4d6669e75f49d66c744474', class: "mb-m block", dashed: true })), h("slot", { key: '9bebb07a2292125367745fc4ab537803ba70a056', name: "footer", onSlotchange: this.handleFooterSlotChange })))));
239
+ }, ref: (footerElem) => (this.footerElem = footerElem), part: "footer" }, h("slot", { key: 'ade83c02ad4c9992e951b7a1dc68c9c83d0ae378', name: "footer-divider" }, h("bq-divider", { key: '4192ca556fd8564ab9fc5cc20a324edcc21d3df3', class: "mb-m block", dashed: true })), h("slot", { key: '0cdbcef8d62e5f8ca1d9414dbc46b69de79a0e54', name: "footer", onSlotchange: this.handleFooterSlotChange })))));
190
240
  }
191
241
  static get is() { return "bq-drawer"; }
192
242
  static get encapsulation() { return "shadow"; }
@@ -216,6 +266,8 @@ export class BqDrawer {
216
266
  "tags": [],
217
267
  "text": "If true, the backdrop overlay will be shown when the drawer opens"
218
268
  },
269
+ "getter": false,
270
+ "setter": false,
219
271
  "attribute": "enable-backdrop",
220
272
  "reflect": true,
221
273
  "defaultValue": "false"
@@ -234,6 +286,8 @@ export class BqDrawer {
234
286
  "tags": [],
235
287
  "text": "If true, the drawer will not close when clicking outside the panel"
236
288
  },
289
+ "getter": false,
290
+ "setter": false,
237
291
  "attribute": "close-on-click-outside",
238
292
  "reflect": true,
239
293
  "defaultValue": "false"
@@ -252,6 +306,8 @@ export class BqDrawer {
252
306
  "tags": [],
253
307
  "text": "If true, the dialog will not close when the [Esc] key is pressed"
254
308
  },
309
+ "getter": false,
310
+ "setter": false,
255
311
  "attribute": "close-on-esc",
256
312
  "reflect": true,
257
313
  "defaultValue": "false"
@@ -270,6 +326,8 @@ export class BqDrawer {
270
326
  "tags": [],
271
327
  "text": "If true, the drawer component will be shown"
272
328
  },
329
+ "getter": false,
330
+ "setter": false,
273
331
  "attribute": "open",
274
332
  "reflect": true
275
333
  },
@@ -296,6 +354,8 @@ export class BqDrawer {
296
354
  }],
297
355
  "text": ""
298
356
  },
357
+ "getter": false,
358
+ "setter": false,
299
359
  "attribute": "placement",
300
360
  "reflect": true,
301
361
  "defaultValue": "'right'"
@@ -320,6 +380,8 @@ export class BqDrawer {
320
380
  "tags": [],
321
381
  "text": "Defines the position of the drawer"
322
382
  },
383
+ "getter": false,
384
+ "setter": false,
323
385
  "attribute": "position",
324
386
  "reflect": true,
325
387
  "defaultValue": "'end'"
@@ -1 +1 @@
1
- {"version":3,"file":"bq-drawer.js","sourceRoot":"","sources":["../../../../../../src/components/drawer/bq-drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAErH,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAqC,MAAM,mBAAmB,CAAC;AAC1G,OAAO,EAAE,KAAK,EAAE,cAAc,EAAE,KAAK,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAE5F;;;;;;;;;;GAUG;AAOH,MAAM,OAAO,QAAQ;;yBAiBU,KAAK;uBACN,KAAK;8BAMS,KAAK;mCAGA,KAAK;0BAGd,KAAK;;yBAM2B,OAAO;wBAGT,KAAK;;IAtCzE,iBAAiB;IACjB,uBAAuB;IAEf,UAAU,CAAc;IACxB,UAAU,CAAiB;IAC3B,cAAc,GAAG,iBAAiB,CAAC;IAE3C,iCAAiC;IACjC,sCAAsC;IAE3B,EAAE,CAAuB;IA8BpC,wBAAwB;IACxB,0BAA0B;IAG1B,KAAK,CAAC,gBAAgB;QACpB,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;YACf,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;YAC7B,OAAO;QACT,CAAC;QAED,MAAM,IAAI,CAAC,eAAe,EAAE,CAAC;IAC/B,CAAC;IAED;;;OAGG;IAEH,qBAAqB;QACnB,IAAI,CAAC,KAAK,CAAC,IAA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IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;4BAE7B,6DAAM,IAAI,EAAC,cAAc;gCACvB,gEAAS,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,KAAK,EAAC,KAAK,EAAC,OAAO,GAAG,CAC7C,CACG,CACR,CACC;gBACT,6DAAM,KAAK,EAAC,+BAA+B,EAAC,IAAI,EAAC,MAAM;oBACrD,8DAAQ,CACH;gBACP,+DACE,KAAK,EAAE;wBACL,KAAK,EAAE,IAAI;wBACX,SAAS,EAAE,CAAC,IAAI,CAAC,SAAS;qBAC3B,EACD,GAAG,EAAE,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,UAAU,GAAG,UAAU,CAAC,EACnD,IAAI,EAAC,QAAQ;oBAEb,6DAAM,IAAI,EAAC,gBAAgB;wBACzB,mEAAY,KAAK,EAAC,YAAY,EAAC,MAAM,SAAG,CACnC;oBACP,6DAAM,IAAI,EAAC,QAAQ,EAAC,YAAY,EAAE,IAAI,CAAC,sBAAsB,GAAI,CAC1D,CACL,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Host, Listen, Method, Prop, State, Watch } from '@stencil/core';\n\nimport { DRAWER_PLACEMENT, DRAWER_POSITIONS, TDrawerPlacement, TDrawerPosition } from './bq-drawer.types';\nimport { enter, hasSlotContent, isNil, leave, validatePropValue } from '../../shared/utils';\n\n/**\n * @part backdrop - The `<div>` that holds the backdrop overlay\n * @part button-close - The BqButton that closes the drawer\n * @part button-close__btn - The native button used under the hood that closes the drawer\n * @part button-close__label - The text inside the native button that closes the drawer\n * @part panel - The `<div>` that holds the drawer entire content\n * @part header - The `<header>` that holds the icon, title, and close button\n * @part title - The `<div>` that holds the title content\n * @part body - The `<main>` that holds the drawer body content\n * @part footer - The `<footer>` that holds footer content\n */\n\n@Component({\n tag: 'bq-drawer',\n styleUrl: './scss/bq-drawer.scss',\n shadow: true,\n})\nexport class BqDrawer {\n // Own Properties\n // ====================\n\n private footerElem: HTMLElement;\n private drawerElem: HTMLDivElement;\n private OPEN_CSS_CLASS = 'bq-drawer--open';\n\n // Reference to host HTML element\n // ===================================\n\n @Element() el!: HTMLBqDrawerElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n @State() private hasFooter = false;\n @State() hasIcon: boolean = false;\n\n // Public Property API\n // ========================\n\n /** If true, the backdrop overlay will be shown when the drawer opens */\n @Prop({ reflect: true }) enableBackdrop = false;\n\n /** If true, the drawer will not close when clicking outside the panel */\n @Prop({ reflect: true }) closeOnClickOutside = false;\n\n /** If true, the dialog will not close when the [Esc] key is pressed */\n @Prop({ reflect: true }) closeOnEsc = false;\n\n /** If true, the drawer component will be shown */\n @Prop({ reflect: true, mutable: true }) open: boolean;\n\n /** @deprecated Defines the position of the drawer */\n @Prop({ reflect: true, mutable: true }) placement: TDrawerPlacement = 'right';\n\n /** Defines the position of the drawer */\n @Prop({ reflect: true, mutable: true }) position: TDrawerPosition = 'end';\n\n // Prop lifecycle events\n // =======================\n\n @Watch('open')\n async handleOpenChange() {\n if (!this.open) {\n await this.handleAfterHide();\n return;\n }\n\n await this.handleAfterShow();\n }\n\n /**\n * !TO BE REMOVED: Delete this `@Watch()` once the deprecated `placement` property is removed\n * We need to maintain retro-compatibility with the deprecated `placement` property\n */\n @Watch('placement')\n handlePlacementChange() {\n if (!isNil(this.placement)) {\n console.warn(\n `❗️ [bq-drawer]: the 'placement' prop is deprecated and it will be removed in the future. Please use 'position' instead.`,\n );\n }\n validatePropValue(DRAWER_PLACEMENT, 'right', this.el, 'placement');\n // Sync 'position' property\n const synPositionMap = {\n right: 'end',\n left: 'start',\n };\n this.position = (synPositionMap[this.placement] as TDrawerPosition) || this.position;\n }\n\n @Watch('position')\n handlePositionChange() {\n validatePropValue(DRAWER_POSITIONS, 'start', this.el, 'position');\n /**\n * Sync 'placement' property\n * !TO BE REMOVED: Delete the code below once the deprecated `placement` property is removed\n */\n const syncPlacementMap = {\n end: 'right',\n start: 'left',\n };\n this.placement = (syncPlacementMap[this.position] as TDrawerPlacement) || this.placement;\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n /** Callback handler to be called when the drawer is closed */\n @Event() bqClose!: EventEmitter;\n\n /** Callback handler to be called when the drawer is opened */\n @Event() bqOpen!: EventEmitter;\n\n /** Callback handler to be called after the drawer has been opened */\n @Event() bqAfterOpen!: EventEmitter;\n\n /** Callback handler to be called after the drawer has been closed */\n @Event() bqAfterClose!: EventEmitter;\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n componentWillLoad() {\n this.handlePositionChange();\n // !TO BE REMOVED: Delete this once the deprecated `placement` property is removed\n this.handlePlacementChange();\n }\n\n // Listeners\n // ==============\n\n @Listen('mousedown', { target: 'window', capture: true })\n async handleMouseClick(event: MouseEvent) {\n if (!this.open) return;\n if (!this.drawerElem || this.closeOnClickOutside) return;\n // Skip if the mouse button is not the main button\n if (event.button !== 0) return;\n\n const rect = this.drawerElem.getBoundingClientRect();\n if (event.clientX < rect.left || event.clientX > rect.right) {\n await this.hide();\n }\n }\n\n @Listen('keydown', { target: 'window', capture: true })\n async handleKeyDown(event: KeyboardEvent) {\n if (!this.open) return;\n if (!this.drawerElem || this.closeOnEsc || !(event.key === 'Escape' || event.key === 'Esc')) return;\n\n await this.hide();\n }\n\n // Public methods API\n // These methods are exposed on the host element.\n // Always use two lines.\n // Public Methods must be async.\n // Requires JSDocs for public API documentation.\n // ===============================================\n\n /** Method to be called to hide the drawer component */\n @Method()\n async hide(): Promise<void> {\n const ev = this.bqClose.emit();\n if (ev.defaultPrevented) return;\n\n this.open = false;\n }\n\n /** Method to be called to show the drawer component */\n @Method()\n async show(): Promise<void> {\n const ev = this.bqOpen.emit();\n if (ev.defaultPrevented) return;\n\n this.open = true;\n }\n\n // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n private handleFooterSlotChange = () => {\n this.hasFooter = hasSlotContent(this.footerElem, 'footer');\n };\n\n private handleAfterHide = async () => {\n if (!this.drawerElem) return;\n\n await leave(this.drawerElem);\n this.handleTransitionEnd();\n };\n\n private handleAfterShow = async () => {\n if (!this.drawerElem) return;\n\n this.el.classList.add(this.OPEN_CSS_CLASS);\n await enter(this.drawerElem);\n this.handleTransitionEnd();\n };\n\n private handleTransitionEnd = () => {\n if (this.open) {\n this.bqAfterOpen.emit();\n return;\n }\n\n this.bqAfterClose.emit();\n this.el.classList.remove(this.OPEN_CSS_CLASS);\n };\n\n private get isPositionStart() {\n // !TO BE REMOVED: `placement` is deprecated and will be removed in the future\n return this.position === 'start' || this.placement === 'left';\n }\n\n private get isPositionEnd() {\n // !TO BE REMOVED: `placement` is deprecated and will be removed in the future\n return this.position === 'end' || this.placement === 'right';\n }\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n return (\n <Host>\n {/* BACKDROP */}\n {this.enableBackdrop && (\n <div\n class={{\n 'fixed inset-0 block bg-[--bq-drawer--backgroundBackdrop] opacity-0 transition-opacity duration-300':\n true,\n 'pointer-events-none': !this.open,\n 'opacity-60': this.open,\n }}\n tabIndex={-1}\n part=\"backdrop\"\n />\n )}\n {/* DRAWER PANEL */}\n <div\n class={{\n [`bq-drawer transition-all duration-300 ease-in-out ${this.position || this.placement}`]: true,\n '-start-[--bq-drawer--width]': this.isPositionStart,\n '-end-[--bq-drawer--width]': this.isPositionEnd,\n 'start-0': this.open && this.isPositionStart,\n 'end-0': this.open && this.isPositionEnd,\n }}\n ref={(div) => (this.drawerElem = div)}\n aria-hidden={!this.open ? 'true' : 'false'}\n aria-labelledby=\"bq-drawer__title\"\n aria-modal=\"true\"\n hidden={!this.open}\n part=\"panel\"\n role=\"dialog\"\n >\n <header class=\"flex items-center\" part=\"header\">\n <h2\n class=\"flex-1 items-center justify-between font-bold leading-regular text-text-primary\"\n id=\"bq-drawer__title\"\n part=\"title\"\n >\n <slot name=\"title\" />\n </h2>\n <div class=\"flex\" part=\"button-close\">\n <bq-button\n class=\"[&::part(button)]:rounded-s [&::part(button)]:border-0 [&::part(button)]:bs-fit [&::part(button)]:p-b-0 [&::part(button)]:p-i-0 [&::part(label)]:inline-flex\"\n appearance=\"text\"\n size=\"small\"\n slot=\"button-close\"\n exportparts=\"button:button-close__btn,label:button-close__label\"\n onClick={this.hide.bind(this)}\n >\n <slot name=\"button-close\">\n <bq-icon name=\"x-bold\" role=\"img\" title=\"Close\" />\n </slot>\n </bq-button>\n </div>\n </header>\n <main class=\"block flex-auto overflow-auto\" part=\"body\">\n <slot />\n </main>\n <footer\n class={{\n block: true,\n '!hidden': !this.hasFooter,\n }}\n ref={(footerElem) => (this.footerElem = footerElem)}\n part=\"footer\"\n >\n <slot name=\"footer-divider\">\n <bq-divider class=\"mb-m block\" dashed />\n </slot>\n <slot name=\"footer\" onSlotchange={this.handleFooterSlotChange} />\n </footer>\n </div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"bq-drawer.js","sourceRoot":"","sources":["../../../../../../src/components/drawer/bq-drawer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAErH,OAAO,EAAE,gBAAgB,EAAE,gBAAgB,EAAqC,MAAM,mBAAmB,CAAC;AAC1G,OAAO,EAAE,KAAK,EAAE,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AgB;wBACzB,mEAAY,KAAK,EAAC,YAAY,EAAC,MAAM,SAAG,CACnC;oBACP,6DAAM,IAAI,EAAC,QAAQ,EAAC,YAAY,EAAE,IAAI,CAAC,sBAAsB,GAAI,CAC1D,CACL,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Host, Listen, Method, Prop, State, Watch } from '@stencil/core';\n\nimport { DRAWER_PLACEMENT, DRAWER_POSITIONS, TDrawerPlacement, TDrawerPosition } from './bq-drawer.types';\nimport { enter, hasSlotContent, isNil, leave, validatePropValue } from '../../shared/utils';\n\n/**\n * The Drawer component provides a sliding panel interface commonly used for navigation or presenting additional content without taking up significant screen space.\n *\n * @example How to use it\n * ```html\n * <bq-drawer position=\"end\">\n * <div class=\"flex gap-xs\" slot=\"title\">Title</div>\n * <div class=\"...\">\n * Content\n * </div>\n * <div class=\"flex flex-1 justify-center gap-xs\" slot=\"footer\">\n * <bq-button appearance=\"primary\" block=\"\" size=\"small\">Button</bq-button>\n * <bq-button appearance=\"link\" block=\"\" size=\"small\">Button</bq-button>\n * </div>\n * </bq-drawer>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/871139-drawer\n * @status stable\n *\n * @dependency bq-button\n * @dependency bq-icon\n * @dependency bq-divider\n *\n * @attr {boolean} enable-backdrop - If true, the backdrop overlay will be shown when the drawer opens.\n * @attr {boolean} close-on-click-outside - If true, the drawer will not close when clicking outside the panel.\n * @attr {boolean} close-on-esc - If true, the drawer will not close when the [Esc] key is pressed.\n * @attr {boolean} open - If true, the drawer component will be shown.\n * @attr {\"start\" | \"end\"} position - Defines the position of the drawer.\n *\n * @method show - Method to be called to show the drawer component.\n * @method hide - Method to be called to hide the drawer component.\n *\n * @event bqClose - Callback handler to be called when the drawer is closed.\n * @event bqOpen - Callback handler to be called when the drawer is opened.\n * @event bqAfterOpen - Callback handler to be called after the drawer has been opened.\n * @event bqAfterClose - Callback handler to be called after the drawer has been closed.\n *\n * @slot title - The title content of the drawer.\n * @slot - The body content of the drawer.\n * @slot footer - The footer content of the drawer.\n * @slot button-close - The close button content of the drawer.\n * @slot footer-divider - The footer divider content of the drawer.\n *\n * @part backdrop - The `<div>` that holds the backdrop overlay.\n * @part button-close - The BqButton that closes the drawer.\n * @part button-close__btn - The native button used under the hood that closes the drawer.\n * @part button-close__label - The text inside the native button that closes the drawer.\n * @part panel - The `<div>` that holds the drawer entire content.\n * @part header - The `<header>` that holds the icon, title, and close button.\n * @part title - The `<div>` that holds the title content.\n * @part body - The `<main>` that holds the drawer body content.\n * @part footer - The `<footer>` that holds footer content.\n *\n * @cssprop --bq-drawer--backgroundBackdrop - Background color of the backdrop\n * @cssprop --bq-drawer--gap - Gap between the drawer and the viewport\n * @cssprop --bq-drawer--width - Width of the drawer\n * @cssprop --bq-drawer--paddingX - Padding left and right of the drawer\n * @cssprop --bq-drawer--paddingY - Padding top and bottom of the drawer\n * @cssprop --bq-drawer--zIndex - Z-index of the drawer component\n */\n@Component({\n tag: 'bq-drawer',\n styleUrl: './scss/bq-drawer.scss',\n shadow: true,\n})\nexport class BqDrawer {\n // Own Properties\n // ====================\n\n private footerElem: HTMLElement;\n private drawerElem: HTMLDivElement;\n private OPEN_CSS_CLASS = 'bq-drawer--open';\n\n // Reference to host HTML element\n // ===================================\n\n @Element() el!: HTMLBqDrawerElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n @State() private hasFooter = false;\n @State() hasIcon: boolean = false;\n\n // Public Property API\n // ========================\n\n /** If true, the backdrop overlay will be shown when the drawer opens */\n @Prop({ reflect: true }) enableBackdrop = false;\n\n /** If true, the drawer will not close when clicking outside the panel */\n @Prop({ reflect: true }) closeOnClickOutside = false;\n\n /** If true, the dialog will not close when the [Esc] key is pressed */\n @Prop({ reflect: true }) closeOnEsc = false;\n\n /** If true, the drawer component will be shown */\n @Prop({ reflect: true, mutable: true }) open: boolean;\n\n /** @deprecated Defines the position of the drawer */\n @Prop({ reflect: true, mutable: true }) placement: TDrawerPlacement = 'right';\n\n /** Defines the position of the drawer */\n @Prop({ reflect: true, mutable: true }) position: TDrawerPosition = 'end';\n\n // Prop lifecycle events\n // =======================\n\n @Watch('open')\n async handleOpenChange() {\n if (!this.open) {\n await this.handleAfterHide();\n return;\n }\n\n await this.handleAfterShow();\n }\n\n /**\n * !TO BE REMOVED: Delete this `@Watch()` once the deprecated `placement` property is removed\n * We need to maintain retro-compatibility with the deprecated `placement` property\n */\n @Watch('placement')\n handlePlacementChange() {\n if (!isNil(this.placement)) {\n console.warn(\n `❗️ [bq-drawer]: the 'placement' prop is deprecated and it will be removed in the future. Please use 'position' instead.`,\n );\n }\n validatePropValue(DRAWER_PLACEMENT, 'right', this.el, 'placement');\n // Sync 'position' property\n const synPositionMap = {\n right: 'end',\n left: 'start',\n };\n this.position = (synPositionMap[this.placement] as TDrawerPosition) || this.position;\n }\n\n @Watch('position')\n handlePositionChange() {\n validatePropValue(DRAWER_POSITIONS, 'start', this.el, 'position');\n /**\n * Sync 'placement' property\n * !TO BE REMOVED: Delete the code below once the deprecated `placement` property is removed\n */\n const syncPlacementMap = {\n end: 'right',\n start: 'left',\n };\n this.placement = (syncPlacementMap[this.position] as TDrawerPlacement) || this.placement;\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n /** Callback handler to be called when the drawer is closed */\n @Event() bqClose!: EventEmitter;\n\n /** Callback handler to be called when the drawer is opened */\n @Event() bqOpen!: EventEmitter;\n\n /** Callback handler to be called after the drawer has been opened */\n @Event() bqAfterOpen!: EventEmitter;\n\n /** Callback handler to be called after the drawer has been closed */\n @Event() bqAfterClose!: EventEmitter;\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n componentWillLoad() {\n this.handlePositionChange();\n // !TO BE REMOVED: Delete this once the deprecated `placement` property is removed\n this.handlePlacementChange();\n }\n\n // Listeners\n // ==============\n\n @Listen('mousedown', { target: 'window', capture: true })\n async handleMouseClick(event: MouseEvent) {\n if (!this.open) return;\n if (!this.drawerElem || this.closeOnClickOutside) return;\n // Skip if the mouse button is not the main button\n if (event.button !== 0) return;\n\n const rect = this.drawerElem.getBoundingClientRect();\n if (event.clientX < rect.left || event.clientX > rect.right) {\n await this.hide();\n }\n }\n\n @Listen('keydown', { target: 'window', capture: true })\n async handleKeyDown(event: KeyboardEvent) {\n if (!this.open) return;\n if (!this.drawerElem || this.closeOnEsc || !(event.key === 'Escape' || event.key === 'Esc')) return;\n\n await this.hide();\n }\n\n // Public methods API\n // These methods are exposed on the host element.\n // Always use two lines.\n // Public Methods must be async.\n // Requires JSDocs for public API documentation.\n // ===============================================\n\n /** Method to be called to hide the drawer component */\n @Method()\n async hide(): Promise<void> {\n const ev = this.bqClose.emit();\n if (ev.defaultPrevented) return;\n\n this.open = false;\n }\n\n /** Method to be called to show the drawer component */\n @Method()\n async show(): Promise<void> {\n const ev = this.bqOpen.emit();\n if (ev.defaultPrevented) return;\n\n this.open = true;\n }\n\n // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n private handleFooterSlotChange = () => {\n this.hasFooter = hasSlotContent(this.footerElem, 'footer');\n };\n\n private handleAfterHide = async () => {\n if (!this.drawerElem) return;\n\n await leave(this.drawerElem);\n this.handleTransitionEnd();\n };\n\n private handleAfterShow = async () => {\n if (!this.drawerElem) return;\n\n this.el.classList.add(this.OPEN_CSS_CLASS);\n await enter(this.drawerElem);\n this.handleTransitionEnd();\n };\n\n private handleTransitionEnd = () => {\n if (this.open) {\n this.bqAfterOpen.emit();\n return;\n }\n\n this.bqAfterClose.emit();\n this.el.classList.remove(this.OPEN_CSS_CLASS);\n };\n\n private get isPositionStart() {\n // !TO BE REMOVED: `placement` is deprecated and will be removed in the future\n return this.position === 'start' || this.placement === 'left';\n }\n\n private get isPositionEnd() {\n // !TO BE REMOVED: `placement` is deprecated and will be removed in the future\n return this.position === 'end' || this.placement === 'right';\n }\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n return (\n <Host>\n {/* BACKDROP */}\n {this.enableBackdrop && (\n <div\n class={{\n 'fixed inset-0 block bg-[--bq-drawer--backgroundBackdrop] opacity-0 transition-opacity duration-300':\n true,\n 'pointer-events-none': !this.open,\n 'opacity-60': this.open,\n }}\n tabIndex={-1}\n part=\"backdrop\"\n />\n )}\n {/* DRAWER PANEL */}\n <div\n class={{\n [`bq-drawer transition-all duration-300 ease-in-out ${this.position || this.placement}`]: true,\n '-start-[--bq-drawer--width]': this.isPositionStart,\n '-end-[--bq-drawer--width]': this.isPositionEnd,\n 'start-0': this.open && this.isPositionStart,\n 'end-0': this.open && this.isPositionEnd,\n }}\n ref={(div) => (this.drawerElem = div)}\n aria-hidden={!this.open ? 'true' : 'false'}\n aria-labelledby=\"bq-drawer__title\"\n aria-modal=\"true\"\n hidden={!this.open}\n part=\"panel\"\n role=\"dialog\"\n >\n <header class=\"flex items-center\" part=\"header\">\n <h2\n class=\"flex-1 items-center justify-between font-bold leading-regular text-primary\"\n id=\"bq-drawer__title\"\n part=\"title\"\n >\n <slot name=\"title\" />\n </h2>\n <div class=\"flex\" part=\"button-close\">\n <bq-button\n class=\"[&::part(button)]:rounded-s [&::part(button)]:border-0 [&::part(button)]:bs-fit [&::part(button)]:p-b-0 [&::part(button)]:p-i-0 [&::part(label)]:inline-flex\"\n appearance=\"text\"\n size=\"small\"\n slot=\"button-close\"\n exportparts=\"button:button-close__btn,label:button-close__label\"\n onClick={this.hide.bind(this)}\n >\n <slot name=\"button-close\">\n <bq-icon name=\"x-bold\" role=\"img\" title=\"Close\" />\n </slot>\n </bq-button>\n </div>\n </header>\n <main class=\"block flex-auto overflow-auto\" part=\"body\">\n <slot />\n </main>\n <footer\n class={{\n block: true,\n '!hidden': !this.hasFooter,\n }}\n ref={(footerElem) => (this.footerElem = footerElem)}\n part=\"footer\"\n >\n <slot name=\"footer-divider\">\n <bq-divider class=\"mb-m block\" dashed />\n </slot>\n <slot name=\"footer\" onSlotchange={this.handleFooterSlotChange} />\n </footer>\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -1 +1 @@
1
- .transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.bq-drawer,.shadow-m{--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}::backdrop,:root{--bq-blue-100:#e7f0fd;--bq-blue-200:#d0e2fb;--bq-blue-300:#a1c5f7;--bq-blue-400:#73a8f3;--bq-blue-500:#448bef;--bq-blue-600:#156eeb;--bq-blue-700:#1158bc;--bq-blue-800:#0d428d;--bq-blue-900:#082c5e;--bq-blue-1000:#04162f;--bq-corai-100:#fff2f2;--bq-corai-200:#ffe6e6;--bq-corai-300:#ffccce;--bq-corai-400:#ffb3b5;--bq-corai-500:#ff999d;--bq-corai-600:#ff8084;--bq-corai-700:#cc666a;--bq-corai-800:#994d4f;--bq-corai-900:#663335;--bq-corai-1000:#331a1a;--bq-cyan-100:#e8f7fb;--bq-cyan-200:#d2f0f8;--bq-cyan-300:#a5e1f1;--bq-cyan-400:#78d1e9;--bq-cyan-500:#4bc2e2;--bq-cyan-600:#1eb3db;--bq-cyan-700:#188faf;--bq-cyan-800:#126b83;--bq-cyan-900:#0c4858;--bq-cyan-1000:#06242c;--bq-gold-100:#fbf4ec;--bq-gold-200:#f7e9da;--bq-gold-300:#f0d3b6;--bq-gold-400:#e8bc91;--bq-gold-500:#e1a66d;--bq-gold-600:#d99048;--bq-gold-700:#ae733a;--bq-gold-800:#82562b;--bq-gold-900:#573a1d;--bq-gold-1000:#2b1d0e;--bq-green-100:#e8f8ef;--bq-green-200:#d2f1e0;--bq-green-300:#a5e3c1;--bq-green-400:#78d5a1;--bq-green-500:#4bc782;--bq-green-600:#1eb963;--bq-green-700:#18944f;--bq-green-800:#126f3b;--bq-green-900:#0c4a28;--bq-green-1000:#062514;--bq-grey-100:#f1f2f4;--bq-grey-200:#e7e8eb;--bq-grey-300:#caccd2;--bq-grey-400:#a6aab3;--bq-grey-50:#f6f6f8;--bq-grey-500:#898e99;--bq-grey-600:#646a77;--bq-grey-700:#3f4350;--bq-grey-800:#2a2c35;--bq-grey-900:#1c1d23;--bq-grey-950:#15161a;--bq-grey-1000:#0d0e11;--bq-indigo-100:#edecfc;--bq-indigo-200:#dcdafa;--bq-indigo-300:#b9b5f5;--bq-indigo-400:#9590ef;--bq-indigo-500:#726bea;--bq-indigo-600:#4f46e5;--bq-indigo-700:#3f38b7;--bq-indigo-800:#2f2a89;--bq-indigo-900:#201c5c;--bq-indigo-1000:#100e2e;--bq-iris-100:#e9f0ff;--bq-iris-200:#d6e0ff;--bq-iris-300:#b2c0fe;--bq-iris-400:#8691f8;--bq-iris-500:#6061ee;--bq-iris-600:#4f46e5;--bq-iris-700:#413abd;--bq-iris-800:#332e95;--bq-iris-900:#26216d;--bq-iris-1000:#181545;--bq-lime-100:#f5fae8;--bq-lime-200:#ecf6d2;--bq-lime-300:#d9eda5;--bq-lime-400:#c5e379;--bq-lime-500:#b2da4c;--bq-lime-600:#9fd11f;--bq-lime-700:#7fa719;--bq-lime-800:#5f7d13;--bq-lime-900:#40540c;--bq-lime-1000:#202a06;--bq-magenta-100:#fce7f4;--bq-magenta-200:#f9cfea;--bq-magenta-300:#f39fd6;--bq-magenta-400:#ee6fbf;--bq-magenta-500:#e83fab;--bq-magenta-600:#de1395;--bq-magenta-700:#b20f77;--bq-magenta-800:#850c59;--bq-magenta-900:#58083c;--bq-magenta-1000:#2c041e;--bq-neutral-white:#fbfbfc;--bq-neutral-black:#060708;--bq-orange-100:#fbf0e9;--bq-orange-200:#f8e1d4;--bq-orange-300:#f1c2a8;--bq-orange-400:#eaa47d;--bq-orange-500:#e38551;--bq-orange-600:#dc6726;--bq-orange-700:#b0521e;--bq-orange-800:#843e17;--bq-orange-900:#58290f;--bq-orange-1000:#2c1508;--bq-purple-100:#efebf8;--bq-purple-200:#e0d7f2;--bq-purple-300:#c1afe5;--bq-purple-400:#a388d8;--bq-purple-500:#8460cb;--bq-purple-600:#6538be;--bq-purple-700:#512d98;--bq-purple-800:#3d2272;--bq-purple-900:#28164c;--bq-purple-1000:#140b26;--bq-red-100:#fce7ea;--bq-red-200:#f9d1d5;--bq-red-300:#f3a2ac;--bq-red-400:#ed7482;--bq-red-500:#e74559;--bq-red-600:#e1172f;--bq-red-700:#b41226;--bq-red-800:#870e1c;--bq-red-900:#5a0913;--bq-red-1000:#2d0509;--bq-sky-100:#eff4fb;--bq-sky-200:#dfeaf8;--bq-sky-300:#bfd5f1;--bq-sky-400:#9ec1e9;--bq-sky-500:#7eace2;--bq-sky-600:#5e97db;--bq-sky-700:#4b79af;--bq-sky-800:#385b83;--bq-sky-900:#263c58;--bq-sky-1000:#131e2c;--bq-teal-100:#e5f7f5;--bq-teal-200:#ccf0eb;--bq-teal-300:#99e1d8;--bq-teal-400:#66d2c4;--bq-teal-500:#33c3b1;--bq-teal-600:#00b49d;--bq-teal-700:#00907e;--bq-teal-800:#006c5e;--bq-teal-900:#00483f;--bq-teal-1000:#00241f;--bq-volcano-100:#feede7;--bq-volcano-200:#fddbd1;--bq-volcano-300:#fbb8a3;--bq-volcano-400:#fa9474;--bq-volcano-500:#f87146;--bq-volcano-600:#f64d18;--bq-volcano-700:#c53e13;--bq-volcano-800:#942e0e;--bq-volcano-900:#621f0a;--bq-volcano-1000:#310f05;--bq-yellow-100:#fefbe7;--bq-yellow-200:#fcf6d0;--bq-yellow-300:#faeea0;--bq-yellow-400:#f7e571;--bq-yellow-500:#f5dd41;--bq-yellow-600:#f2d412;--bq-yellow-700:#c2aa0e;--bq-yellow-800:#917f0b;--bq-yellow-900:#615507;--bq-yellow-1000:#302a04;--bq-endava-grey-50:#f7f7f8;--bq-endava-grey-100:#e4e6e7;--bq-endava-grey-200:#b5babe;--bq-endava-grey-300:#949ca1;--bq-endava-grey-400:#737d84;--bq-endava-grey-500:#525f67;--bq-endava-grey-600:#30404b;--bq-endava-grey-700:#2b3942;--bq-endava-grey-800:#263139;--bq-endava-grey-900:#192b37;--bq-endava-grey-950:#151b1e;--bq-endava-grey-1000:#0f1316;--bq-endava-neutral-white:#fafbfb;--bq-endava-neutral-black:#060708;--bq-endava-orange-100:#fef3f1;--bq-endava-orange-200:#fbd6d1;--bq-endava-orange-300:#fab7af;--bq-endava-orange-400:#fa988b;--bq-endava-orange-500:#fc7866;--bq-endava-orange-600:#ff5640;--bq-endava-orange-700:#ce4a39;--bq-endava-orange-800:#a03d30;--bq-endava-orange-900:#722e25;--bq-endava-orange-1000:#471e19}*,:after,:before{box-sizing:border-box}*{font:inherit;margin:0}ol[role=list],ul[role=list]{list-style-type:none}html{font-size:var(--bq-font-size--m)}html:focus-within{scroll-behavior:smooth}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bq-background--primary);color:var(--bq-text--primary);font-family:var(--bq-font-family);line-height:var(--bq-font-line-height--regular);min-height:100vh;text-rendering:optimizeSpeed}a:not([class]){text-decoration-skip-ink:auto}canvas,img,picture,svg,video{display:block;max-width:100%}button,input,select,textarea{font:inherit}h1,h2,h3,h4,h5,h6,p{overflow-wrap:break-word}@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto;transition-duration:.01ms!important}}:root{--bq-white:#fff;--bq-black:#060708;--bq-neutral-50:var(--bq-grey-50);--bq-neutral-100:var(--bq-grey-100);--bq-neutral-200:var(--bq-grey-200);--bq-neutral-300:var(--bq-grey-300);--bq-neutral-400:var(--bq-grey-400);--bq-neutral-500:var(--bq-grey-500);--bq-neutral-600:var(--bq-grey-600);--bq-neutral-700:var(--bq-grey-700);--bq-neutral-800:var(--bq-grey-800);--bq-neutral-900:var(--bq-grey-900);--bq-neutral-950:var(--bq-grey-950);--bq-neutral-1000:var(--bq-grey-1000);--bq-brand-light:var(--bq-iris-100);--bq-brand:var(--bq-iris-600);--bq-brand-dark:var(--bq-iris-1000);--bq-accent-light:var(--bq-purple-100);--bq-accent:var(--bq-purple-600);--bq-accent-dark:var(--bq-purple-1000);--bq-success-light:var(--bq-teal-100);--bq-success:var(--bq-teal-600);--bq-success-dark:var(--bq-teal-1000);--bq-danger-light:var(--bq-red-100);--bq-danger:var(--bq-red-600);--bq-danger-dark:var(--bq-red-1000);--bq-warning-light:var(--bq-gold-100);--bq-warning:var(--bq-gold-600);--bq-warning-dark:var(--bq-gold-1000);--bq-info-light:var(--bq-iris-100);--bq-info:var(--bq-iris-600);--bq-info-dark:var(--bq-iris-1000);--bq-focus:var(--bq-iris-600);--bq-data-01:var(--bq-brand);--bq-data-02:var(--bq-purple-600);--bq-data-03:var(--bq-magenta-600);--bq-data-04:var(--bq-cyan-600);--bq-data-05:var(--bq-teal-600);--bq-data-06:var(--bq-orange-600);--bq-data-07:var(--bq-yellow-600);--bq-data-08:var(--bq-red-600);--bq-data-09:var(--bq-blue-600);--bq-data-10:var(--bq-grey-600);--bq-data-11:var(--bq-black);--bq-data-12:var(--bq-white);--bq-radius--none:0;--bq-radius--xs2:0.125rem;--bq-radius--xs:0.25rem;--bq-radius--s:0.5rem;--bq-radius--m:0.75rem;--bq-radius--l:1.5rem;--bq-radius--full:9999px;--bq-box-shadow--xs:0 2px 0 rgba(0,0,0,.016);--bq-box-shadow--s:0 8px 24px rgba(0,0,0,.04);--bq-box-shadow--m:0 10px 48px -16px rgba(0,0,0,.12);--bq-box-shadow--l:0 20px 58px -16px rgba(0,0,0,.16);--bq-font-family:"Outfit",sans-serif;--bq-font-size--xs:0.75rem;--bq-font-size--s:0.875rem;--bq-font-size--m:1rem;--bq-font-size--l:1.125rem;--bq-font-size--xl:1.5rem;--bq-font-size--xxl:2rem;--bq-font-size--xxl2:2.5rem;--bq-font-size--xxl3:3rem;--bq-font-size--xxl4:3.5rem;--bq-font-size--xxl5:4rem;--bq-font-weight--thin:100;--bq-font-weight--light:300;--bq-font-weight--regular:400;--bq-font-weight--medium:500;--bq-font-weight--semibold:600;--bq-font-weight--bold:700;--bq-font-line-height--small:1.2;--bq-font-line-height--regular:1.5;--bq-font-line-height--large:1.5;--bq-spacing-xs3:0.125rem;--bq-spacing-xs2:0.25rem;--bq-spacing-xs:0.5rem;--bq-spacing-s:0.75rem;--bq-spacing-m:1rem;--bq-spacing-l:1.5rem;--bq-spacing-xl:2rem;--bq-spacing-xxl:2.5rem;--bq-spacing-xxl2:3.5rem;--bq-spacing-xxl3:4rem;--bq-spacing-xxl4:4.5rem;--bq-stroke-s:1px;--bq-stroke-m:2px;--bq-stroke-l:3px}.beeq.light,.light,:root,[bq-mode=light]{--bq-background--primary:var(--bq-white);--bq-background--secondary:var(--bq-neutral-100);--bq-background--tertiary:var(--bq-neutral-200);--bq-background--alt:var(--bq-neutral-300);--bq-background--inverse:var(--bq-neutral-900);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-800);--bq-icon--alt:var(--bq-white);--bq-icon--secondary:var(--bq-neutral-600);--bq-icon--inverse:var(--bq-neutral-50);--bq-icon--brand:var(--bq-brand);--bq-icon--info:var(--bq-brand);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-200);--bq-stroke--secondary:var(--bq-neutral-600);--bq-stroke--tertiary:var(--bq-neutral-900);--bq-stroke--inverse:var(--bq-white);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-50);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-brand);--bq-text--primary:var(--bq-neutral-800);--bq-text--secondary:var(--bq-neutral-600);--bq-text--inverse:var(--bq-neutral-50);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-brand);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-white);--bq-ui--secondary:var(--bq-neutral-200);--bq-ui--tertiary:var(--bq-neutral-500);--bq-ui--inverse:var(--bq-neutral-900);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-light);--bq-ui--alt:var(--bq-neutral-50);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-light);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-light);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-light);--bq-ui--info:var(--bq-brand);--bq-ui--info-alt:var(--bq-brand-light);--bq-hover:#bcbfc5;--bq-active:#444546}.beeq.dark,.dark,[bq-mode=dark]{--bq-background--primary:var(--bq-neutral-1000);--bq-background--secondary:var(--bq-neutral-950);--bq-background--tertiary:var(--bq-neutral-800);--bq-background--alt:var(--bq-neutral-700);--bq-background--inverse:var(--bq-neutral-600);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-100);--bq-icon--secondary:var(--bq-neutral-400);--bq-icon--inverse:var(--bq-neutral-800);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-brand);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-900);--bq-stroke--secondary:var(--bq-neutral-700);--bq-stroke--tertiary:var(--bq-neutral-400);--bq-stroke--inverse:var(--bq-neutral-950);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-1000);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-brand);--bq-text--primary:var(--bq-neutral-100);--bq-text--secondary:var(--bq-neutral-400);--bq-text--inverse:var(--bq-neutral-800);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-brand);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-neutral-900);--bq-ui--secondary:var(--bq-neutral-800);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-brand);--bq-ui--info-alt:var(--bq-brand-dark);--bq-hover:#444546;--bq-active:#1f2026}.endava,[bq-theme=endava]{--bq-font-family:"Poppins",sans-serif;--bq-white:#fafbfb;--bq-black:#030406;--bq-neutral-50:var(--bq-endava-grey-50);--bq-neutral-100:var(--bq-endava-grey-100);--bq-neutral-200:var(--bq-endava-grey-200);--bq-neutral-300:var(--bq-endava-grey-300);--bq-neutral-400:var(--bq-endava-grey-400);--bq-neutral-500:var(--bq-endava-grey-500);--bq-neutral-600:var(--bq-endava-grey-600);--bq-neutral-700:var(--bq-endava-grey-700);--bq-neutral-800:var(--bq-endava-grey-800);--bq-neutral-900:var(--bq-endava-grey-900);--bq-neutral-950:var(--bq-endava-grey-950);--bq-neutral-1000:var(--bq-endava-grey-1000);--bq-brand-light:var(--bq-endava-orange-100);--bq-brand:var(--bq-endava-orange-600);--bq-brand-dark:var(--bq-endava-orange-1000);--bq-accent-light:var(--bq-endava-orange-100);--bq-accent:var(--bq-endava-orange-600);--bq-accent-dark:var(--bq-endava-orange-1000);--bq-success-light:var(--bq-green-100);--bq-success:var(--bq-green-600);--bq-success-dark:var(--bq-green-1000);--bq-danger-light:var(--bq-corai-100);--bq-danger:var(--bq-corai-600);--bq-danger-dark:var(--bq-corai-1000);--bq-warning-light:var(--bq-yellow-100);--bq-warning:var(--bq-yellow-600);--bq-warning-dark:var(--bq-yellow-1000);--bq-info-light:var(--bq-blue-100);--bq-info:var(--bq-blue-600);--bq-info-dark:var(--bq-blue-1000);--bq-focus:var(--bq-endava-orange-600);--bq-data-01:var(--bq-brand);--bq-data-02:#af0cd8;--bq-data-03:#0ca8d8;--bq-data-04:var(--bq-teal-600);--bq-data-05:var(--bq-yellow-600);--bq-data-06:var(--bq-orange-600);--bq-data-07:var(--bq-blue-600);--bq-data-08:var(--bq-red-600);--bq-data-09:var(--bq-purple-600);--bq-data-10:#394b56;--bq-data-11:var(--bq-black);--bq-data-12:var(--bq-white)}.endava.light,[bq-theme=endava][bq-mode=light]{--bq-background--primary:var(--bq-white);--bq-background--secondary:var(--bq-neutral-100);--bq-background--tertiary:var(--bq-neutral-200);--bq-background--alt:var(--bq-neutral-300);--bq-background--inverse:var(--bq-neutral-900);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-800);--bq-icon--secondary:var(--bq-neutral-600);--bq-icon--inverse:var(--bq-neutral-50);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-info);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-200);--bq-stroke--secondary:var(--bq-neutral-600);--bq-stroke--tertiary:var(--bq-neutral-900);--bq-stroke--inverse:var(--bq-white);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-50);--bq-stroke--brand-alt:var(--bq-brand-light);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-info);--bq-text--primary:var(--bq-neutral-800);--bq-text--secondary:var(--bq-neutral-600);--bq-text--inverse:var(--bq-neutral-50);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-info);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-white);--bq-ui--secondary:var(--bq-neutral-200);--bq-ui--tertiary:var(--bq-neutral-500);--bq-ui--inverse:var(--bq-neutral-900);--bq-ui--alt:var(--bq-neutral-50);--bq-ui--brand-alt:var(--bq-brand-light);--bq-ui--brand:var(--bq-brand);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-light);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-light);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-light);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-light);--bq-hover:#444546;--bq-active:#1f2026}.endava.dark,[bq-theme=endava][bq-mode=dark]{--bq-background--primary:var(--bq-neutral-1000);--bq-background--secondary:var(--bq-neutral-900);--bq-background--tertiary:var(--bq-neutral-800);--bq-background--alt:var(--bq-neutral-700);--bq-background--inverse:var(--bq-neutral-600);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-100);--bq-icon--secondary:var(--bq-neutral-400);--bq-icon--inverse:var(--bq-neutral-800);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-info);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-900);--bq-stroke--secondary:var(--bq-neutral-700);--bq-stroke--tertiary:var(--bq-neutral-400);--bq-stroke--inverse:var(--bq-neutral-950);--bq-stroke--brand:var(--bq-brand);--bq-stroke--brand-alt:var(--bq-brand-dark);--bq-stroke--alt:var(--bq-neutral-1000);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-info);--bq-text--primary:var(--bq-neutral-100);--bq-text--secondary:var(--bq-neutral-400);--bq-text--inverse:var(--bq-neutral-800);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-neutral-white);--bq-text--info:var(--bq-info);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-neutral-900);--bq-ui--secondary:var(--bq-neutral-800);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-dark);--bq-hover:#444546;--bq-active:#1f2026}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.z-10{z-index:10}.flex{display:flex}.flex-col{flex-direction:column}.gap-\[--bq-drawer--gap\]{gap:var(--bq-drawer--gap)}.bg-bg-primary{background-color:var(--bq-background--primary)}.shadow-m{--tw-shadow:var(--bq-box-shadow--m);--tw-shadow-colored:var(--bq-box-shadow--m);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.is-\[--bq-drawer--width\]{inline-size:var(--bq-drawer--width)}.max-is-full{max-inline-size:100%}.p-b-\[--bq-drawer--paddingY\]{padding-block:var(--bq-drawer--paddingY)}.p-i-\[--bq-drawer--paddingX\]{padding-inline:var(--bq-drawer--paddingX)}.inset-b-0{inset-block:0}@-webkit-keyframes fade-in{0%{opacity:0}}@keyframes fade-in{0%{opacity:0}}@-webkit-keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}:host{--bq-drawer--backgroundBackdrop:var(--bq-grey-900);--bq-drawer--gap:var(--bq-spacing-l);--bq-drawer--width:320px;--bq-drawer--paddingX:var(--bq-spacing-l);--bq-drawer--paddingY:var(--bq-spacing-m);--bq-drawer--zIndex:9999;visibility:hidden!important}:host(.bq-drawer--open){visibility:visible!important}.bq-drawer{--tw-shadow:var(--bq-box-shadow--m);--tw-shadow-colored:var(--bq-box-shadow--m);background-color:var(--bq-background--primary);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);display:flex;flex-direction:column;gap:var(--bq-drawer--gap);inline-size:var(--bq-drawer--width);inset-block:0;max-inline-size:100%;padding-block:var(--bq-drawer--paddingY);padding-inline:var(--bq-drawer--paddingX);position:fixed;z-index:10}.pointer-events-none{pointer-events:none}.static{position:static}.inset-0{inset:0}.-end-\[--bq-drawer--width\]{inset-inline-end:calc(var(--bq-drawer--width)*-1)}.-start-\[--bq-drawer--width\]{inset-inline-start:calc(var(--bq-drawer--width)*-1)}.end-0{inset-inline-end:0}.start-0{inset-inline-start:0}.mb-m{margin-bottom:var(--bq-spacing-m)}.block{display:block}.\!hidden{display:none!important}.hidden{display:none}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.items-center{align-items:center}.justify-between{justify-content:space-between}.overflow-auto{overflow:auto}.bg-\[--bq-drawer--backgroundBackdrop\]{background-color:var(--bq-drawer--backgroundBackdrop)}.font-bold{font-weight:var(--bq-font-weight--bold)}.leading-regular{line-height:var(--bq-font-line-height--regular)}.text-text-primary{color:var(--bq-text--primary)}.opacity-0{opacity:0}.opacity-60{opacity:.6}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.\[\&\:\:part\(button\)\]\:rounded-s::part(button){border-radius:var(--bq-radius--s)}.\[\&\:\:part\(button\)\]\:border-0::part(button){border-width:0}.\[\&\:\:part\(button\)\]\:bs-fit::part(button){block-size:fit-content}.\[\&\:\:part\(button\)\]\:p-b-0::part(button){padding-block:0}.\[\&\:\:part\(button\)\]\:p-i-0::part(button){padding-inline:0}.\[\&\:\:part\(label\)\]\:inline-flex::part(label){display:inline-flex}.gap-0{gap:0}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.focus{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}.text-\[color\:--bq-icon--color\]{color:var(--bq-icon--color)}.bs-\[--bq-icon--size\]{block-size:var(--bq-icon--size)}.is-\[--bq-icon--size\]{inline-size:var(--bq-icon--size)}
1
+ .transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.bq-drawer,.shadow-m{--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000}::backdrop,:root{--bq-blue-100:#e7f0fd;--bq-blue-200:#d0e2fb;--bq-blue-300:#a1c5f7;--bq-blue-400:#73a8f3;--bq-blue-500:#448bef;--bq-blue-600:#156eeb;--bq-blue-700:#1158bc;--bq-blue-800:#0d428d;--bq-blue-900:#082c5e;--bq-blue-1000:#04162f;--bq-corai-100:#fff2f2;--bq-corai-200:#ffe6e6;--bq-corai-300:#ffccce;--bq-corai-400:#ffb3b5;--bq-corai-500:#ff999d;--bq-corai-600:#ff8084;--bq-corai-700:#cc666a;--bq-corai-800:#994d4f;--bq-corai-900:#663335;--bq-corai-1000:#331a1a;--bq-cyan-100:#e8f7fb;--bq-cyan-200:#d2f0f8;--bq-cyan-300:#a5e1f1;--bq-cyan-400:#78d1e9;--bq-cyan-500:#4bc2e2;--bq-cyan-600:#1eb3db;--bq-cyan-700:#188faf;--bq-cyan-800:#126b83;--bq-cyan-900:#0c4858;--bq-cyan-1000:#06242c;--bq-gold-100:#fbf4ec;--bq-gold-200:#f7e9da;--bq-gold-300:#f0d3b6;--bq-gold-400:#e8bc91;--bq-gold-500:#e1a66d;--bq-gold-600:#d99048;--bq-gold-700:#ae733a;--bq-gold-800:#82562b;--bq-gold-900:#573a1d;--bq-gold-1000:#2b1d0e;--bq-green-100:#e8f8ef;--bq-green-200:#d2f1e0;--bq-green-300:#a5e3c1;--bq-green-400:#78d5a1;--bq-green-500:#4bc782;--bq-green-600:#1eb963;--bq-green-700:#18944f;--bq-green-800:#126f3b;--bq-green-900:#0c4a28;--bq-green-1000:#062514;--bq-grey-100:#f1f2f4;--bq-grey-200:#e7e8eb;--bq-grey-300:#caccd2;--bq-grey-400:#a6aab3;--bq-grey-50:#f6f6f8;--bq-grey-500:#898e99;--bq-grey-600:#646a77;--bq-grey-700:#3f4350;--bq-grey-800:#2a2c35;--bq-grey-900:#1c1d23;--bq-grey-950:#15161a;--bq-grey-1000:#0d0e11;--bq-indigo-100:#edecfc;--bq-indigo-200:#dcdafa;--bq-indigo-300:#b9b5f5;--bq-indigo-400:#9590ef;--bq-indigo-500:#726bea;--bq-indigo-600:#4f46e5;--bq-indigo-700:#3f38b7;--bq-indigo-800:#2f2a89;--bq-indigo-900:#201c5c;--bq-indigo-1000:#100e2e;--bq-iris-100:#e9f0ff;--bq-iris-200:#d6e0ff;--bq-iris-300:#b2c0fe;--bq-iris-400:#8691f8;--bq-iris-500:#6061ee;--bq-iris-600:#4f46e5;--bq-iris-700:#413abd;--bq-iris-800:#332e95;--bq-iris-900:#26216d;--bq-iris-1000:#181545;--bq-lime-100:#f5fae8;--bq-lime-200:#ecf6d2;--bq-lime-300:#d9eda5;--bq-lime-400:#c5e379;--bq-lime-500:#b2da4c;--bq-lime-600:#9fd11f;--bq-lime-700:#7fa719;--bq-lime-800:#5f7d13;--bq-lime-900:#40540c;--bq-lime-1000:#202a06;--bq-magenta-100:#fce7f4;--bq-magenta-200:#f9cfea;--bq-magenta-300:#f39fd6;--bq-magenta-400:#ee6fbf;--bq-magenta-500:#e83fab;--bq-magenta-600:#de1395;--bq-magenta-700:#b20f77;--bq-magenta-800:#850c59;--bq-magenta-900:#58083c;--bq-magenta-1000:#2c041e;--bq-neutral-white:#fbfbfc;--bq-neutral-black:#060708;--bq-orange-100:#fbf0e9;--bq-orange-200:#f8e1d4;--bq-orange-300:#f1c2a8;--bq-orange-400:#eaa47d;--bq-orange-500:#e38551;--bq-orange-600:#dc6726;--bq-orange-700:#b0521e;--bq-orange-800:#843e17;--bq-orange-900:#58290f;--bq-orange-1000:#2c1508;--bq-purple-100:#efebf8;--bq-purple-200:#e0d7f2;--bq-purple-300:#c1afe5;--bq-purple-400:#a388d8;--bq-purple-500:#8460cb;--bq-purple-600:#6538be;--bq-purple-700:#512d98;--bq-purple-800:#3d2272;--bq-purple-900:#28164c;--bq-purple-1000:#140b26;--bq-red-100:#fce7ea;--bq-red-200:#f9d1d5;--bq-red-300:#f3a2ac;--bq-red-400:#ed7482;--bq-red-500:#e74559;--bq-red-600:#e1172f;--bq-red-700:#b41226;--bq-red-800:#870e1c;--bq-red-900:#5a0913;--bq-red-1000:#2d0509;--bq-sky-100:#eff4fb;--bq-sky-200:#dfeaf8;--bq-sky-300:#bfd5f1;--bq-sky-400:#9ec1e9;--bq-sky-500:#7eace2;--bq-sky-600:#5e97db;--bq-sky-700:#4b79af;--bq-sky-800:#385b83;--bq-sky-900:#263c58;--bq-sky-1000:#131e2c;--bq-teal-100:#e5f7f5;--bq-teal-200:#ccf0eb;--bq-teal-300:#99e1d8;--bq-teal-400:#66d2c4;--bq-teal-500:#33c3b1;--bq-teal-600:#00b49d;--bq-teal-700:#00907e;--bq-teal-800:#006c5e;--bq-teal-900:#00483f;--bq-teal-1000:#00241f;--bq-volcano-100:#feede7;--bq-volcano-200:#fddbd1;--bq-volcano-300:#fbb8a3;--bq-volcano-400:#fa9474;--bq-volcano-500:#f87146;--bq-volcano-600:#f64d18;--bq-volcano-700:#c53e13;--bq-volcano-800:#942e0e;--bq-volcano-900:#621f0a;--bq-volcano-1000:#310f05;--bq-yellow-100:#fefbe7;--bq-yellow-200:#fcf6d0;--bq-yellow-300:#faeea0;--bq-yellow-400:#f7e571;--bq-yellow-500:#f5dd41;--bq-yellow-600:#f2d412;--bq-yellow-700:#c2aa0e;--bq-yellow-800:#917f0b;--bq-yellow-900:#615507;--bq-yellow-1000:#302a04;--bq-endava-grey-50:#f7f7f8;--bq-endava-grey-100:#e4e6e7;--bq-endava-grey-200:#b5babe;--bq-endava-grey-300:#949ca1;--bq-endava-grey-400:#737d84;--bq-endava-grey-500:#525f67;--bq-endava-grey-600:#30404b;--bq-endava-grey-700:#2b3942;--bq-endava-grey-800:#263139;--bq-endava-grey-900:#192b37;--bq-endava-grey-950:#151b1e;--bq-endava-grey-1000:#0f1316;--bq-endava-neutral-white:#fafbfb;--bq-endava-neutral-black:#060708;--bq-endava-orange-100:#fef3f1;--bq-endava-orange-200:#fbd6d1;--bq-endava-orange-300:#fab7af;--bq-endava-orange-400:#fa988b;--bq-endava-orange-500:#fc7866;--bq-endava-orange-600:#ff5640;--bq-endava-orange-700:#ce4a39;--bq-endava-orange-800:#a03d30;--bq-endava-orange-900:#722e25;--bq-endava-orange-1000:#471e19}*,:after,:before{box-sizing:border-box}*{font:inherit;margin:0}ol[role=list],ul[role=list]{list-style-type:none}html{font-size:var(--bq-font-size--m)}html:focus-within{scroll-behavior:smooth}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bq-background--primary);color:var(--bq-text--primary);font-family:var(--bq-font-family);line-height:var(--bq-font-line-height--regular);min-height:100vh;text-rendering:optimizeSpeed}a:not([class]){text-decoration-skip-ink:auto}canvas,img,picture,svg,video{display:block;max-width:100%}button,input,select,textarea{font:inherit}h1,h2,h3,h4,h5,h6,p{overflow-wrap:break-word}@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto;transition-duration:.01ms!important}}:root{--bq-white:#fff;--bq-black:#060708;--bq-neutral-50:var(--bq-grey-50);--bq-neutral-100:var(--bq-grey-100);--bq-neutral-200:var(--bq-grey-200);--bq-neutral-300:var(--bq-grey-300);--bq-neutral-400:var(--bq-grey-400);--bq-neutral-500:var(--bq-grey-500);--bq-neutral-600:var(--bq-grey-600);--bq-neutral-700:var(--bq-grey-700);--bq-neutral-800:var(--bq-grey-800);--bq-neutral-900:var(--bq-grey-900);--bq-neutral-950:var(--bq-grey-950);--bq-neutral-1000:var(--bq-grey-1000);--bq-brand-light:var(--bq-iris-100);--bq-brand:var(--bq-iris-600);--bq-brand-dark:var(--bq-iris-1000);--bq-accent-light:var(--bq-purple-100);--bq-accent:var(--bq-purple-600);--bq-accent-dark:var(--bq-purple-1000);--bq-success-light:var(--bq-teal-100);--bq-success:var(--bq-teal-600);--bq-success-dark:var(--bq-teal-1000);--bq-danger-light:var(--bq-red-100);--bq-danger:var(--bq-red-600);--bq-danger-dark:var(--bq-red-1000);--bq-warning-light:var(--bq-gold-100);--bq-warning:var(--bq-gold-600);--bq-warning-dark:var(--bq-gold-1000);--bq-info-light:var(--bq-iris-100);--bq-info:var(--bq-iris-600);--bq-info-dark:var(--bq-iris-1000);--bq-focus:var(--bq-iris-600);--bq-data-01:var(--bq-brand);--bq-data-02:var(--bq-purple-600);--bq-data-03:var(--bq-magenta-600);--bq-data-04:var(--bq-cyan-600);--bq-data-05:var(--bq-teal-600);--bq-data-06:var(--bq-orange-600);--bq-data-07:var(--bq-yellow-600);--bq-data-08:var(--bq-red-600);--bq-data-09:var(--bq-blue-600);--bq-data-10:var(--bq-grey-600);--bq-data-11:var(--bq-black);--bq-data-12:var(--bq-white);--bq-radius--none:0;--bq-radius--xs2:0.125rem;--bq-radius--xs:0.25rem;--bq-radius--s:0.5rem;--bq-radius--m:0.75rem;--bq-radius--l:1.5rem;--bq-radius--full:9999px;--bq-box-shadow--xs:0 2px 0 rgba(0,0,0,.016);--bq-box-shadow--s:0 8px 24px rgba(0,0,0,.04);--bq-box-shadow--m:0 10px 48px -16px rgba(0,0,0,.12);--bq-box-shadow--l:0 20px 58px -16px rgba(0,0,0,.16);--bq-font-family:"Outfit",sans-serif;--bq-font-size--xs:0.75rem;--bq-font-size--s:0.875rem;--bq-font-size--m:1rem;--bq-font-size--l:1.125rem;--bq-font-size--xl:1.5rem;--bq-font-size--xxl:2rem;--bq-font-size--xxl2:2.5rem;--bq-font-size--xxl3:3rem;--bq-font-size--xxl4:3.5rem;--bq-font-size--xxl5:4rem;--bq-font-weight--thin:100;--bq-font-weight--light:300;--bq-font-weight--regular:400;--bq-font-weight--medium:500;--bq-font-weight--semibold:600;--bq-font-weight--bold:700;--bq-font-line-height--small:1.2;--bq-font-line-height--regular:1.5;--bq-font-line-height--large:1.5;--bq-spacing-xs3:0.125rem;--bq-spacing-xs2:0.25rem;--bq-spacing-xs:0.5rem;--bq-spacing-s:0.75rem;--bq-spacing-m:1rem;--bq-spacing-l:1.5rem;--bq-spacing-xl:2rem;--bq-spacing-xxl:2.5rem;--bq-spacing-xxl2:3.5rem;--bq-spacing-xxl3:4rem;--bq-spacing-xxl4:4.5rem;--bq-stroke-s:1px;--bq-stroke-m:2px;--bq-stroke-l:3px}.beeq.light,.light,:root,[bq-mode=light]{--bq-background--primary:var(--bq-white);--bq-background--secondary:var(--bq-neutral-100);--bq-background--tertiary:var(--bq-neutral-200);--bq-background--alt:var(--bq-neutral-300);--bq-background--inverse:var(--bq-neutral-900);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-800);--bq-icon--alt:var(--bq-white);--bq-icon--secondary:var(--bq-neutral-600);--bq-icon--inverse:var(--bq-neutral-50);--bq-icon--brand:var(--bq-brand);--bq-icon--info:var(--bq-brand);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-200);--bq-stroke--secondary:var(--bq-neutral-600);--bq-stroke--tertiary:var(--bq-neutral-900);--bq-stroke--inverse:var(--bq-white);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-50);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-brand);--bq-text--primary:var(--bq-neutral-800);--bq-text--secondary:var(--bq-neutral-600);--bq-text--inverse:var(--bq-neutral-50);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-brand);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-white);--bq-ui--secondary:var(--bq-neutral-200);--bq-ui--tertiary:var(--bq-neutral-500);--bq-ui--inverse:var(--bq-neutral-900);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-light);--bq-ui--alt:var(--bq-neutral-50);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-light);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-light);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-light);--bq-ui--info:var(--bq-brand);--bq-ui--info-alt:var(--bq-brand-light);--bq-hover:#bcbfc5;--bq-active:#444546}.beeq.dark,.dark,[bq-mode=dark]{--bq-background--primary:var(--bq-neutral-1000);--bq-background--secondary:var(--bq-neutral-950);--bq-background--tertiary:var(--bq-neutral-800);--bq-background--alt:var(--bq-neutral-700);--bq-background--inverse:var(--bq-neutral-600);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-100);--bq-icon--secondary:var(--bq-neutral-400);--bq-icon--inverse:var(--bq-neutral-800);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-brand);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-900);--bq-stroke--secondary:var(--bq-neutral-700);--bq-stroke--tertiary:var(--bq-neutral-400);--bq-stroke--inverse:var(--bq-neutral-950);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-1000);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-brand);--bq-text--primary:var(--bq-neutral-100);--bq-text--secondary:var(--bq-neutral-400);--bq-text--inverse:var(--bq-neutral-800);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-brand);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-neutral-900);--bq-ui--secondary:var(--bq-neutral-800);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-brand);--bq-ui--info-alt:var(--bq-brand-dark);--bq-hover:#444546;--bq-active:#1f2026}.endava,[bq-theme=endava]{--bq-font-family:"Poppins",sans-serif;--bq-white:#fafbfb;--bq-black:#030406;--bq-neutral-50:var(--bq-endava-grey-50);--bq-neutral-100:var(--bq-endava-grey-100);--bq-neutral-200:var(--bq-endava-grey-200);--bq-neutral-300:var(--bq-endava-grey-300);--bq-neutral-400:var(--bq-endava-grey-400);--bq-neutral-500:var(--bq-endava-grey-500);--bq-neutral-600:var(--bq-endava-grey-600);--bq-neutral-700:var(--bq-endava-grey-700);--bq-neutral-800:var(--bq-endava-grey-800);--bq-neutral-900:var(--bq-endava-grey-900);--bq-neutral-950:var(--bq-endava-grey-950);--bq-neutral-1000:var(--bq-endava-grey-1000);--bq-brand-light:var(--bq-endava-orange-100);--bq-brand:var(--bq-endava-orange-600);--bq-brand-dark:var(--bq-endava-orange-1000);--bq-accent-light:var(--bq-endava-orange-100);--bq-accent:var(--bq-endava-orange-600);--bq-accent-dark:var(--bq-endava-orange-1000);--bq-success-light:var(--bq-green-100);--bq-success:var(--bq-green-600);--bq-success-dark:var(--bq-green-1000);--bq-danger-light:var(--bq-corai-100);--bq-danger:var(--bq-corai-600);--bq-danger-dark:var(--bq-corai-1000);--bq-warning-light:var(--bq-yellow-100);--bq-warning:var(--bq-yellow-600);--bq-warning-dark:var(--bq-yellow-1000);--bq-info-light:var(--bq-blue-100);--bq-info:var(--bq-blue-600);--bq-info-dark:var(--bq-blue-1000);--bq-focus:var(--bq-endava-orange-600);--bq-data-01:var(--bq-brand);--bq-data-02:#af0cd8;--bq-data-03:#0ca8d8;--bq-data-04:var(--bq-teal-600);--bq-data-05:var(--bq-yellow-600);--bq-data-06:var(--bq-orange-600);--bq-data-07:var(--bq-blue-600);--bq-data-08:var(--bq-red-600);--bq-data-09:var(--bq-purple-600);--bq-data-10:#394b56;--bq-data-11:var(--bq-black);--bq-data-12:var(--bq-white)}.endava.light,[bq-theme=endava][bq-mode=light]{--bq-background--primary:var(--bq-white);--bq-background--secondary:var(--bq-neutral-100);--bq-background--tertiary:var(--bq-neutral-200);--bq-background--alt:var(--bq-neutral-300);--bq-background--inverse:var(--bq-neutral-900);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-800);--bq-icon--secondary:var(--bq-neutral-600);--bq-icon--inverse:var(--bq-neutral-50);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-info);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-200);--bq-stroke--secondary:var(--bq-neutral-600);--bq-stroke--tertiary:var(--bq-neutral-900);--bq-stroke--inverse:var(--bq-white);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-50);--bq-stroke--brand-alt:var(--bq-brand-light);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-info);--bq-text--primary:var(--bq-neutral-800);--bq-text--secondary:var(--bq-neutral-600);--bq-text--inverse:var(--bq-neutral-50);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-info);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-white);--bq-ui--secondary:var(--bq-neutral-200);--bq-ui--tertiary:var(--bq-neutral-500);--bq-ui--inverse:var(--bq-neutral-900);--bq-ui--alt:var(--bq-neutral-50);--bq-ui--brand-alt:var(--bq-brand-light);--bq-ui--brand:var(--bq-brand);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-light);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-light);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-light);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-light);--bq-hover:#444546;--bq-active:#1f2026}.endava.dark,[bq-theme=endava][bq-mode=dark]{--bq-background--primary:var(--bq-neutral-1000);--bq-background--secondary:var(--bq-neutral-900);--bq-background--tertiary:var(--bq-neutral-800);--bq-background--alt:var(--bq-neutral-700);--bq-background--inverse:var(--bq-neutral-600);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-100);--bq-icon--secondary:var(--bq-neutral-400);--bq-icon--inverse:var(--bq-neutral-800);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-info);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-900);--bq-stroke--secondary:var(--bq-neutral-700);--bq-stroke--tertiary:var(--bq-neutral-400);--bq-stroke--inverse:var(--bq-neutral-950);--bq-stroke--brand:var(--bq-brand);--bq-stroke--brand-alt:var(--bq-brand-dark);--bq-stroke--alt:var(--bq-neutral-1000);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-info);--bq-text--primary:var(--bq-neutral-100);--bq-text--secondary:var(--bq-neutral-400);--bq-text--inverse:var(--bq-neutral-800);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-neutral-white);--bq-text--info:var(--bq-info);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-neutral-900);--bq-ui--secondary:var(--bq-neutral-800);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-dark);--bq-hover:#444546;--bq-active:#1f2026}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.z-\[--bq-drawer--zIndex\]{z-index:var(--bq-drawer--zIndex)}.flex{display:flex}.flex-col{flex-direction:column}.gap-\[--bq-drawer--gap\]{gap:var(--bq-drawer--gap)}.bg-primary{background-color:var(--bq-background--primary)}.shadow-m{--tw-shadow:var(--bq-box-shadow--m);--tw-shadow-colored:var(--bq-box-shadow--m);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.is-\[--bq-drawer--width\]{inline-size:var(--bq-drawer--width)}.max-is-full{max-inline-size:100%}.p-b-\[--bq-drawer--paddingY\]{padding-block:var(--bq-drawer--paddingY)}.p-i-\[--bq-drawer--paddingX\]{padding-inline:var(--bq-drawer--paddingX)}.inset-b-0{inset-block:0}@-webkit-keyframes fade-in{0%{opacity:0}}@keyframes fade-in{0%{opacity:0}}@-webkit-keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@keyframes slide-in{0%{-webkit-transform:translateY(10px);transform:translateY(10px)}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}:host{--bq-drawer--backgroundBackdrop:var(--bq-background--overlay);--bq-drawer--gap:var(--bq-spacing-l);--bq-drawer--width:320px;--bq-drawer--paddingX:var(--bq-spacing-l);--bq-drawer--paddingY:var(--bq-spacing-m);--bq-drawer--zIndex:10;visibility:hidden!important}:host(.bq-drawer--open){visibility:visible!important}.bq-drawer{--tw-shadow:var(--bq-box-shadow--m);--tw-shadow-colored:var(--bq-box-shadow--m);background-color:var(--bq-background--primary);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);display:flex;flex-direction:column;gap:var(--bq-drawer--gap);inline-size:var(--bq-drawer--width);inset-block:0;max-inline-size:100%;padding-block:var(--bq-drawer--paddingY);padding-inline:var(--bq-drawer--paddingX);position:fixed;z-index:var(--bq-drawer--zIndex)}.pointer-events-none{pointer-events:none}.static{position:static}.inset-0{inset:0}.-end-\[--bq-drawer--width\]{inset-inline-end:calc(var(--bq-drawer--width)*-1)}.-start-\[--bq-drawer--width\]{inset-inline-start:calc(var(--bq-drawer--width)*-1)}.end-0{inset-inline-end:0}.start-0{inset-inline-start:0}.mb-m{margin-bottom:var(--bq-spacing-m)}.block{display:block}.\!hidden{display:none!important}.hidden{display:none}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-xs{gap:var(--bq-spacing-xs)}.overflow-auto{overflow:auto}.bg-\[--bq-drawer--backgroundBackdrop\]{background-color:var(--bq-drawer--backgroundBackdrop)}.font-bold{font-weight:var(--bq-font-weight--bold)}.leading-regular{line-height:var(--bq-font-line-height--regular)}.text-primary{color:var(--bq-text--primary)}.opacity-0{opacity:0}.opacity-60{opacity:.6}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.\[\&\:\:part\(button\)\]\:rounded-s::part(button){border-radius:var(--bq-radius--s)}.\[\&\:\:part\(button\)\]\:border-0::part(button){border-width:0}.\[\&\:\:part\(button\)\]\:bs-fit::part(button){block-size:fit-content}.\[\&\:\:part\(button\)\]\:p-b-0::part(button){padding-block:0}.\[\&\:\:part\(button\)\]\:p-i-0::part(button){padding-inline:0}.\[\&\:\:part\(label\)\]\:inline-flex::part(label){display:inline-flex}.gap-0{gap:0}.inline{display:inline}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.focus{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}.text-\[color\:--bq-icon--color\]{color:var(--bq-icon--color)}.bs-\[--bq-icon--size\]{block-size:var(--bq-icon--size)}.is-\[--bq-icon--size\]{inline-size:var(--bq-icon--size)}
@@ -5,10 +5,58 @@
5
5
  import { h } from "@stencil/core";
6
6
  let id = 0;
7
7
  /**
8
+ * The Dropdown Component is commonly used when presenting a list of selectable options that are too numerous to fit comfortably on the screen.
9
+ * They provide an efficient way to save space and present a long list of options in a compact and organized manner.
10
+ *
11
+ * @example How to use it
12
+ * ```html
13
+ * <bq-dropdown placement="bottom-start">
14
+ * <bq-button slot="trigger">Dropdown</bq-button>
15
+ * <bq-option-list>
16
+ * <bq-option value="users">...</bq-option>
17
+ * <bq-option value="user">...</bq-option>
18
+ * <bq-option value="dashboard">...</bq-option>
19
+ * <bq-option value="settings">...</bq-option>
20
+ * <bq-option value="logout">...</bq-option>
21
+ * </bq-option-list>
22
+ * </bq-dropdown>
23
+ * ```
24
+ *
25
+ * @documentation https://www.beeq.design/3d466e231/p/47ff4b-dropdown
26
+ * @status stable
27
+ *
28
+ * @dependency bq-panel
29
+ *
30
+ * @attr {boolean} disabled - If true, the dropdown panel will be visible and won't be shown.
31
+ * @attr {number} distance - Represents the distance (gutter or margin) between the panel and the trigger element.
32
+ * @attr {boolean} keep-open-on-select - If true, the panel will remain open after a selection is made.
33
+ * @attr {"top" | "bottom" | "left" | "right" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | "right-start" | "right-end"} placement - Position of the panel.
34
+ * @attr {boolean} open - If true, the panel will be visible.
35
+ * @attr {string} panel-height - When set, it will override the height of the dropdown panel.
36
+ * @attr {boolean} same-width - Whether the panel should have the same width as the trigger element.
37
+ * @attr {number} skidding - Represents the skidding between the panel and the trigger element.
38
+ * @attr {"fixed" | "absolute"} strategy - Defines the strategy to position the panel.
39
+ *
40
+ * @event bqOpen - Callback handler to be called when the dropdown panel is opened or closed.
41
+ *
42
+ * @slot trigger - The trigger element that opens the dropdown panel.
43
+ * @slot - The content of the dropdown panel.
44
+ *
8
45
  * @part base - The component's internal wrapper.
9
- * @part dropdown - The `<bq-panel>` element used under the hood to display the dropdown panel
10
- * @part panel - The `<div>` element used to display and style the panel inside the `<bq-panel>` element
11
- * @part trigger - The `<div>` element that hosts the trigger element
46
+ * @part dropdown - The `<bq-panel>` element used under the hood to display the dropdown panel.
47
+ * @part panel - The `<div>` element used to display and style the panel inside the `<bq-panel>` element.
48
+ * @part trigger - The `<div>` element that hosts the trigger element.
49
+ *
50
+ * @cssprop --bq-panel--background - Panel background color
51
+ * @cssprop --bq-panel--border-color - Panel border color
52
+ * @cssprop --bq-panel--border-radius - Panel border radius
53
+ * @cssprop --bq-panel--border-style - Panel border style
54
+ * @cssprop --bq-panel--border-width - Panel border width
55
+ * @cssprop --bq-panel--box-shadow - Panel box shadow
56
+ * @cssprop --bq-panel--padding - Panel padding
57
+ * @cssprop --bq-panel--height - Panel height
58
+ * @cssprop --bq-panel--width - Panel width
59
+ * @cssprop --bq-panel-z-index - Panel z-index applied when opened
12
60
  */
13
61
  export class BqDropdown {
14
62
  constructor() {
@@ -109,7 +157,7 @@ export class BqDropdown {
109
157
  const style = {
110
158
  ...(this.panelHeight && { '--bq-panel--height': this.panelHeight }),
111
159
  };
112
- return (h("div", { key: '2ac61eda06d45f2b8854b267644853bf4a51ef01', class: "bq-dropdown", part: "base" }, h("div", { key: '59edd47afa2965bb12cabcb06fdaf9de0b9b4b5f', class: "bq-dropdown__trigger block", "aria-controls": this.dropdownPanelId, "aria-haspopup": "true", onClick: this.togglePanel, part: "trigger" }, h("slot", { key: '6a17b3bf90a78c5098ebe90df4fe50d43b056e91', name: "trigger" })), h("bq-panel", { key: 'd90f69501154639e9aebc37dbecf2ddaf8b3dd7f', style: style, id: this.dropdownPanelId, class: "bq-dropdown__panel", distance: this.distance, placement: this.placement, open: this.open, sameWidth: this.sameWidth, skidding: this.skidding, strategy: this.strategy, role: "group", part: "dropdown", exportparts: "panel" }, h("slot", { key: '7f8f659817324022d6dc31726094a1c82e6cab91' }))));
160
+ return (h("div", { key: 'da44b02a96713e24f65afc3e019a378fe497567e', class: "bq-dropdown", part: "base" }, h("div", { key: '560daacd029e09afc08933f28c024a2e9b9e809e', class: "bq-dropdown__trigger block", "aria-controls": this.dropdownPanelId, "aria-haspopup": "true", onClick: this.togglePanel, part: "trigger" }, h("slot", { key: '0ab1e80b76d71410b7741c87dad7f69e443af836', name: "trigger" })), h("bq-panel", { key: '4a895bb98e7b429390ba965d10dad1aadf2a9f05', style: style, id: this.dropdownPanelId, class: "bq-dropdown__panel", distance: this.distance, placement: this.placement, open: this.open, sameWidth: this.sameWidth, skidding: this.skidding, strategy: this.strategy, role: "group", part: "dropdown", exportparts: "panel" }, h("slot", { key: '8cb9e1762db458296d6dcedd0a1ad96fdd3104e2' }))));
113
161
  }
114
162
  static get is() { return "bq-dropdown"; }
115
163
  static get encapsulation() { return "shadow"; }
@@ -139,6 +187,8 @@ export class BqDropdown {
139
187
  "tags": [],
140
188
  "text": "If true, the dropdown panel will be visible and won't be shown."
141
189
  },
190
+ "getter": false,
191
+ "setter": false,
142
192
  "attribute": "disabled",
143
193
  "reflect": true,
144
194
  "defaultValue": "false"
@@ -157,6 +207,8 @@ export class BqDropdown {
157
207
  "tags": [],
158
208
  "text": "Represents the distance (gutter or margin) between the panel and the trigger element."
159
209
  },
210
+ "getter": false,
211
+ "setter": false,
160
212
  "attribute": "distance",
161
213
  "reflect": true,
162
214
  "defaultValue": "4"
@@ -175,6 +227,8 @@ export class BqDropdown {
175
227
  "tags": [],
176
228
  "text": "If true, the panel will remain open after a selection is made."
177
229
  },
230
+ "getter": false,
231
+ "setter": false,
178
232
  "attribute": "keep-open-on-select",
179
233
  "reflect": true,
180
234
  "defaultValue": "false"
@@ -199,6 +253,8 @@ export class BqDropdown {
199
253
  "tags": [],
200
254
  "text": "Position of the panel"
201
255
  },
256
+ "getter": false,
257
+ "setter": false,
202
258
  "attribute": "placement",
203
259
  "reflect": true,
204
260
  "defaultValue": "'bottom-start'"
@@ -217,6 +273,8 @@ export class BqDropdown {
217
273
  "tags": [],
218
274
  "text": "If true, the panel will be visible."
219
275
  },
276
+ "getter": false,
277
+ "setter": false,
220
278
  "attribute": "open",
221
279
  "reflect": true,
222
280
  "defaultValue": "false"
@@ -235,6 +293,8 @@ export class BqDropdown {
235
293
  "tags": [],
236
294
  "text": "When set, it will override the height of the dropdown panel"
237
295
  },
296
+ "getter": false,
297
+ "setter": false,
238
298
  "attribute": "panel-height",
239
299
  "reflect": true
240
300
  },
@@ -252,6 +312,8 @@ export class BqDropdown {
252
312
  "tags": [],
253
313
  "text": "Whether the panel should have the same width as the trigger element"
254
314
  },
315
+ "getter": false,
316
+ "setter": false,
255
317
  "attribute": "same-width",
256
318
  "reflect": true,
257
319
  "defaultValue": "false"
@@ -270,6 +332,8 @@ export class BqDropdown {
270
332
  "tags": [],
271
333
  "text": "Represents the skidding between the panel and the trigger element."
272
334
  },
335
+ "getter": false,
336
+ "setter": false,
273
337
  "attribute": "skidding",
274
338
  "reflect": true,
275
339
  "defaultValue": "0"
@@ -288,6 +352,8 @@ export class BqDropdown {
288
352
  "tags": [],
289
353
  "text": "Defines the strategy to position the panel"
290
354
  },
355
+ "getter": false,
356
+ "setter": false,
291
357
  "attribute": "strategy",
292
358
  "reflect": true,
293
359
  "defaultValue": "'fixed'"
@@ -1 +1 @@
1
- {"version":3,"file":"bq-dropdown.js","sourceRoot":"","sources":["../../../../../../src/components/dropdown/bq-dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAIhG,IAAI,EAAE,GAAG,CAAC,CAAC;AAEX;;;;;GAKG;AAMH,MAAM,OAAO,UAAU;;wBAoByB,KAAK;wBAGN,CAAC;gCAGQ,KAAK;yBAGV,cAAc;oBAGN,KAAK;;yBAMf,KAAK;wBAGP,CAAC;wBAGa,OAAO;;IA3ClE,iBAAiB;IACjB,uBAAuB;IAEf,eAAe,GAAG,qBAAqB,EAAE,EAAE,EAAE,CAAC;IAC9C,WAAW,CAAc;IAEjC,iCAAiC;IACjC,sCAAsC;IAE3B,EAAE,CAAyB;IAoCtC,wBAAwB;IACxB,0BAA0B;IAG1B,YAAY;QACV,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;IAC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AAQ,EACvB,IAAI,EAAC,OAAO,EACZ,IAAI,EAAC,UAAU,EACf,WAAW,EAAC,OAAO;gBAEnB,8DAAQ,CACC,CACP,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Listen, Prop, Watch } from '@stencil/core';\n\nimport { Placement } from '../../services/interfaces';\n\nlet id = 0;\n\n/**\n * @part base - The component's internal wrapper.\n * @part dropdown - The `<bq-panel>` element used under the hood to display the dropdown panel\n * @part panel - The `<div>` element used to display and style the panel inside the `<bq-panel>` element\n * @part trigger - The `<div>` element that hosts the trigger element\n */\n@Component({\n tag: 'bq-dropdown',\n styleUrl: './scss/bq-dropdown.scss',\n shadow: true,\n})\nexport class BqDropdown {\n // Own Properties\n // ====================\n\n private dropdownPanelId = `bq-dropdown-panel-${++id}`;\n private triggerElem: HTMLElement;\n\n // Reference to host HTML element\n // ===================================\n\n @Element() el!: HTMLBqDropdownElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n // Public Property API\n // ========================\n\n /** If true, the dropdown panel will be visible and won't be shown. */\n @Prop({ reflect: true }) disabled?: boolean = false;\n\n /** Represents the distance (gutter or margin) between the panel and the trigger element. */\n @Prop({ reflect: true }) distance?: number = 4;\n\n /** If true, the panel will remain open after a selection is made. */\n @Prop({ reflect: true }) keepOpenOnSelect?: boolean = false;\n\n /** Position of the panel */\n @Prop({ reflect: true }) placement?: Placement = 'bottom-start';\n\n /** If true, the panel will be visible. */\n @Prop({ reflect: true, mutable: true }) open?: boolean = false;\n\n /** When set, it will override the height of the dropdown panel */\n @Prop({ reflect: true }) panelHeight?: string;\n\n /** Whether the panel should have the same width as the trigger element */\n @Prop({ reflect: true }) sameWidth?: boolean = false;\n\n /** Represents the skidding between the panel and the trigger element. */\n @Prop({ reflect: true }) skidding?: number = 0;\n\n /** Defines the strategy to position the panel */\n @Prop({ reflect: true }) strategy?: 'fixed' | 'absolute' = 'fixed';\n\n // Prop lifecycle events\n // =======================\n\n @Watch('open')\n onOpenChange() {\n this.bqOpen.emit({ open: this.open });\n }\n\n @Watch('disabled')\n handleDisabledChange() {\n if (!this.triggerElem) return;\n\n // set 'disabled' attribute based on 'this.disabled' value, ensuring consistent state handling\n if (!this.disabled) {\n this.triggerElem?.removeAttribute('disabled');\n return;\n }\n this.triggerElem?.setAttribute('disabled', 'true');\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n /** Callback handler to be called when the dropdown panel is opened or closed. */\n @Event() bqOpen: EventEmitter<{ open: boolean }>;\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n componentDidLoad() {\n this.triggerElem = this.el.querySelector('[slot=\"trigger\"]');\n this.handleDisabledChange();\n }\n\n // Listeners\n // ==============\n\n /** Listens for the 'click' event on the document object\n * and closes the dropdown panel if the click is outside the component.\n */\n @Listen('click', { target: 'document', passive: true })\n onClickOutside(event: MouseEvent) {\n if (!this.open) return;\n\n // Close when clicking outside of the close element\n const path = event.composedPath();\n if (!path.includes(this.el)) {\n this.open = false;\n }\n }\n\n /**\n * Listens for the 'keyup' event on the window object\n * and closes the dropdown panel if the 'Escape' key or 'Tab' key outside the component is pressed.\n */\n @Listen('keyup', { target: 'window', passive: true })\n onEscape(event: KeyboardEvent) {\n if (!this.open) return;\n\n if (event.key === 'Escape' || (event.key === 'Tab' && !event.composedPath().includes(this.el))) {\n this.open = false;\n }\n }\n\n @Listen('bqSelect', { passive: true })\n onItemSelect() {\n if (this.keepOpenOnSelect) return;\n\n this.open = false;\n }\n\n // Public methods API\n // These methods are exposed on the host element.\n // Always use two lines.\n // Public Methods must be async.\n // Requires JSDocs for public API documentation.\n // ===============================================\n\n // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n private togglePanel = (): void => {\n // Don't toggle the panel if the component is disabled or the trigger element is disabled\n if (this.disabled || this.triggerElem?.hasAttribute('disabled')) return;\n\n this.open = !this.open;\n };\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n const style = {\n ...(this.panelHeight && { '--bq-panel--height': this.panelHeight }),\n };\n\n return (\n <div class=\"bq-dropdown\" part=\"base\">\n {/* TRIGGER CONTAINER */}\n <div\n class=\"bq-dropdown__trigger block\"\n aria-controls={this.dropdownPanelId}\n aria-haspopup=\"true\"\n onClick={this.togglePanel}\n part=\"trigger\"\n >\n <slot name=\"trigger\" />\n </div>\n {/* PANEL */}\n <bq-panel\n style={style}\n id={this.dropdownPanelId}\n class=\"bq-dropdown__panel\"\n distance={this.distance}\n placement={this.placement}\n open={this.open}\n sameWidth={this.sameWidth}\n skidding={this.skidding}\n strategy={this.strategy}\n role=\"group\"\n part=\"dropdown\"\n exportparts=\"panel\"\n >\n <slot />\n </bq-panel>\n </div>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"bq-dropdown.js","sourceRoot":"","sources":["../../../../../../src/components/dropdown/bq-dropdown.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAgB,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAIhG,IAAI,EAAE,GAAG,CAAC,CAAC;AAEX;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqDG;AAMH,MAAM,OAAO,UAAU;;wBAoByB,KAAK;wBAGN,CAAC;gCAGQ,KAAK;yBAGV,cAAc;oBAGN,KAAK;;yBAMf,KAAK;wBAGP,CAAC;wBAGa,OAAO;;IA3ClE,iBAAiB;IACj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AAE,EAAE,IAAI,CAAC,eAAe,EACxB,KAAK,EAAC,oBAAoB,EAC1B,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,SAAS,EAAE,IAAI,CAAC,SAAS,EACzB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,IAAI,EAAC,OAAO,EACZ,IAAI,EAAC,UAAU,EACf,WAAW,EAAC,OAAO;gBAEnB,8DAAQ,CACC,CACP,CACP,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, Event, EventEmitter, h, Listen, Prop, Watch } from '@stencil/core';\n\nimport { Placement } from '../../services/interfaces';\n\nlet id = 0;\n\n/**\n * The Dropdown Component is commonly used when presenting a list of selectable options that are too numerous to fit comfortably on the screen.\n * They provide an efficient way to save space and present a long list of options in a compact and organized manner.\n *\n * @example How to use it\n * ```html\n * <bq-dropdown placement=\"bottom-start\">\n * <bq-button slot=\"trigger\">Dropdown</bq-button>\n * <bq-option-list>\n * <bq-option value=\"users\">...</bq-option>\n * <bq-option value=\"user\">...</bq-option>\n * <bq-option value=\"dashboard\">...</bq-option>\n * <bq-option value=\"settings\">...</bq-option>\n * <bq-option value=\"logout\">...</bq-option>\n * </bq-option-list>\n * </bq-dropdown>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/47ff4b-dropdown\n * @status stable\n *\n * @dependency bq-panel\n *\n * @attr {boolean} disabled - If true, the dropdown panel will be visible and won't be shown.\n * @attr {number} distance - Represents the distance (gutter or margin) between the panel and the trigger element.\n * @attr {boolean} keep-open-on-select - If true, the panel will remain open after a selection is made.\n * @attr {\"top\" | \"bottom\" | \"left\" | \"right\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\" | \"right-start\" | \"right-end\"} placement - Position of the panel.\n * @attr {boolean} open - If true, the panel will be visible.\n * @attr {string} panel-height - When set, it will override the height of the dropdown panel.\n * @attr {boolean} same-width - Whether the panel should have the same width as the trigger element.\n * @attr {number} skidding - Represents the skidding between the panel and the trigger element.\n * @attr {\"fixed\" | \"absolute\"} strategy - Defines the strategy to position the panel.\n *\n * @event bqOpen - Callback handler to be called when the dropdown panel is opened or closed.\n *\n * @slot trigger - The trigger element that opens the dropdown panel.\n * @slot - The content of the dropdown panel.\n *\n * @part base - The component's internal wrapper.\n * @part dropdown - The `<bq-panel>` element used under the hood to display the dropdown panel.\n * @part panel - The `<div>` element used to display and style the panel inside the `<bq-panel>` element.\n * @part trigger - The `<div>` element that hosts the trigger element.\n *\n * @cssprop --bq-panel--background - Panel background color\n * @cssprop --bq-panel--border-color - Panel border color\n * @cssprop --bq-panel--border-radius - Panel border radius\n * @cssprop --bq-panel--border-style - Panel border style\n * @cssprop --bq-panel--border-width - Panel border width\n * @cssprop --bq-panel--box-shadow - Panel box shadow\n * @cssprop --bq-panel--padding - Panel padding\n * @cssprop --bq-panel--height - Panel height\n * @cssprop --bq-panel--width - Panel width\n * @cssprop --bq-panel-z-index - Panel z-index applied when opened\n */\n@Component({\n tag: 'bq-dropdown',\n styleUrl: './scss/bq-dropdown.scss',\n shadow: true,\n})\nexport class BqDropdown {\n // Own Properties\n // ====================\n\n private dropdownPanelId = `bq-dropdown-panel-${++id}`;\n private triggerElem: HTMLElement;\n\n // Reference to host HTML element\n // ===================================\n\n @Element() el!: HTMLBqDropdownElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n // Public Property API\n // ========================\n\n /** If true, the dropdown panel will be visible and won't be shown. */\n @Prop({ reflect: true }) disabled?: boolean = false;\n\n /** Represents the distance (gutter or margin) between the panel and the trigger element. */\n @Prop({ reflect: true }) distance?: number = 4;\n\n /** If true, the panel will remain open after a selection is made. */\n @Prop({ reflect: true }) keepOpenOnSelect?: boolean = false;\n\n /** Position of the panel */\n @Prop({ reflect: true }) placement?: Placement = 'bottom-start';\n\n /** If true, the panel will be visible. */\n @Prop({ reflect: true, mutable: true }) open?: boolean = false;\n\n /** When set, it will override the height of the dropdown panel */\n @Prop({ reflect: true }) panelHeight?: string;\n\n /** Whether the panel should have the same width as the trigger element */\n @Prop({ reflect: true }) sameWidth?: boolean = false;\n\n /** Represents the skidding between the panel and the trigger element. */\n @Prop({ reflect: true }) skidding?: number = 0;\n\n /** Defines the strategy to position the panel */\n @Prop({ reflect: true }) strategy?: 'fixed' | 'absolute' = 'fixed';\n\n // Prop lifecycle events\n // =======================\n\n @Watch('open')\n onOpenChange() {\n this.bqOpen.emit({ open: this.open });\n }\n\n @Watch('disabled')\n handleDisabledChange() {\n if (!this.triggerElem) return;\n\n // set 'disabled' attribute based on 'this.disabled' value, ensuring consistent state handling\n if (!this.disabled) {\n this.triggerElem?.removeAttribute('disabled');\n return;\n }\n this.triggerElem?.setAttribute('disabled', 'true');\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n /** Callback handler to be called when the dropdown panel is opened or closed. */\n @Event() bqOpen: EventEmitter<{ open: boolean }>;\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n componentDidLoad() {\n this.triggerElem = this.el.querySelector('[slot=\"trigger\"]');\n this.handleDisabledChange();\n }\n\n // Listeners\n // ==============\n\n /** Listens for the 'click' event on the document object\n * and closes the dropdown panel if the click is outside the component.\n */\n @Listen('click', { target: 'document', passive: true })\n onClickOutside(event: MouseEvent) {\n if (!this.open) return;\n\n // Close when clicking outside of the close element\n const path = event.composedPath();\n if (!path.includes(this.el)) {\n this.open = false;\n }\n }\n\n /**\n * Listens for the 'keyup' event on the window object\n * and closes the dropdown panel if the 'Escape' key or 'Tab' key outside the component is pressed.\n */\n @Listen('keyup', { target: 'window', passive: true })\n onEscape(event: KeyboardEvent) {\n if (!this.open) return;\n\n if (event.key === 'Escape' || (event.key === 'Tab' && !event.composedPath().includes(this.el))) {\n this.open = false;\n }\n }\n\n @Listen('bqSelect', { passive: true })\n onItemSelect() {\n if (this.keepOpenOnSelect) return;\n\n this.open = false;\n }\n\n // Public methods API\n // These methods are exposed on the host element.\n // Always use two lines.\n // Public Methods must be async.\n // Requires JSDocs for public API documentation.\n // ===============================================\n\n // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n private togglePanel = (): void => {\n // Don't toggle the panel if the component is disabled or the trigger element is disabled\n if (this.disabled || this.triggerElem?.hasAttribute('disabled')) return;\n\n this.open = !this.open;\n };\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n const style = {\n ...(this.panelHeight && { '--bq-panel--height': this.panelHeight }),\n };\n\n return (\n <div class=\"bq-dropdown\" part=\"base\">\n {/* TRIGGER CONTAINER */}\n <div\n class=\"bq-dropdown__trigger block\"\n aria-controls={this.dropdownPanelId}\n aria-haspopup=\"true\"\n onClick={this.togglePanel}\n part=\"trigger\"\n >\n <slot name=\"trigger\" />\n </div>\n {/* PANEL */}\n <bq-panel\n style={style}\n id={this.dropdownPanelId}\n class=\"bq-dropdown__panel\"\n distance={this.distance}\n placement={this.placement}\n open={this.open}\n sameWidth={this.sameWidth}\n skidding={this.skidding}\n strategy={this.strategy}\n role=\"group\"\n part=\"dropdown\"\n exportparts=\"panel\"\n >\n <slot />\n </bq-panel>\n </div>\n );\n }\n}\n"]}