@beeq/core 1.8.0-beta.0 → 1.8.0-beta.2

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 (417) hide show
  1. package/dist/beeq/beeq.esm.js +43 -1
  2. package/dist/beeq/beeq.esm.js.map +1 -1
  3. package/dist/beeq/index.esm.js +64 -1
  4. package/dist/beeq/index.esm.js.map +1 -1
  5. package/dist/beeq/p-026222c6.entry.js +309 -0
  6. package/dist/beeq/{p-63ad9702.entry.js.map → p-026222c6.entry.js.map} +1 -1
  7. package/dist/beeq/p-04d98ed3.entry.js +257 -0
  8. package/dist/beeq/p-04d98ed3.entry.js.map +1 -0
  9. package/dist/beeq/p-05685544.entry.js +121 -0
  10. package/dist/beeq/{p-c9c942e6.entry.js.map → p-05685544.entry.js.map} +1 -1
  11. package/dist/beeq/p-0ab0b58d.js +25 -1
  12. package/dist/beeq/p-0ab0b58d.js.map +1 -1
  13. package/dist/beeq/p-0c42c08a.js +1811 -0
  14. package/dist/beeq/p-0c42c08a.js.map +1 -0
  15. package/dist/beeq/p-0ebe73ef.entry.js +149 -0
  16. package/dist/beeq/{p-571b40ff.entry.js.map → p-0ebe73ef.entry.js.map} +1 -1
  17. package/dist/beeq/p-115ed5b2.js +25 -1
  18. package/dist/beeq/p-115ed5b2.js.map +1 -1
  19. package/dist/beeq/p-11eaeb5d.entry.js +330 -0
  20. package/dist/beeq/{p-4739f5c3.entry.js.map → p-11eaeb5d.entry.js.map} +1 -1
  21. package/dist/beeq/p-12dbc6ac.entry.js +87 -0
  22. package/dist/beeq/{p-3b2ce34b.entry.js.map → p-12dbc6ac.entry.js.map} +1 -1
  23. package/dist/beeq/p-19df76ba.entry.js +220 -0
  24. package/dist/beeq/{p-79b7547b.entry.js.map → p-19df76ba.entry.js.map} +1 -1
  25. package/dist/beeq/p-1c8b6eb4.js +12 -1
  26. package/dist/beeq/p-1c8b6eb4.js.map +1 -1
  27. package/dist/beeq/p-1f3a4359.js +11 -1
  28. package/dist/beeq/p-1f3a4359.js.map +1 -1
  29. package/dist/beeq/p-2ef721e1.entry.js +261 -0
  30. package/dist/beeq/{p-52577f3a.entry.js.map → p-2ef721e1.entry.js.map} +1 -1
  31. package/dist/beeq/p-37466506.entry.js +103 -0
  32. package/dist/beeq/{p-b90c6de9.entry.js.map → p-37466506.entry.js.map} +1 -1
  33. package/dist/beeq/p-377c70d1.entry.js +173 -0
  34. package/dist/beeq/{p-eddb77c7.entry.js.map → p-377c70d1.entry.js.map} +1 -1
  35. package/dist/beeq/p-38d4bd8a.js +1934 -1
  36. package/dist/beeq/p-38d4bd8a.js.map +1 -1
  37. package/dist/beeq/p-3dd0e436.entry.js +130 -0
  38. package/dist/beeq/p-3dd0e436.entry.js.map +1 -0
  39. package/dist/beeq/p-3fd0d92d.js +1228 -1
  40. package/dist/beeq/p-3fd0d92d.js.map +1 -1
  41. package/dist/beeq/p-41033fe6.entry.js +84 -0
  42. package/dist/beeq/{p-94d62f1b.entry.js.map → p-41033fe6.entry.js.map} +1 -1
  43. package/dist/beeq/p-43e4fcdb.entry.js +173 -0
  44. package/dist/beeq/{p-9c6c6646.entry.js.map → p-43e4fcdb.entry.js.map} +1 -1
  45. package/dist/beeq/p-4a235cd2.entry.js +258 -0
  46. package/dist/beeq/{p-b9544567.entry.js.map → p-4a235cd2.entry.js.map} +1 -1
  47. package/dist/beeq/p-4a3d8532.entry.js +205 -0
  48. package/dist/beeq/{p-8059836c.entry.js.map → p-4a3d8532.entry.js.map} +1 -1
  49. package/dist/beeq/p-4dd962a7.entry.js +104 -0
  50. package/dist/beeq/{p-ae8ffb81.entry.js.map → p-4dd962a7.entry.js.map} +1 -1
  51. package/dist/beeq/p-4eccc020.entry.js +203 -0
  52. package/dist/beeq/{p-a006be9e.entry.js.map → p-4eccc020.entry.js.map} +1 -1
  53. package/dist/beeq/p-4fc098bb.entry.js +90 -0
  54. package/dist/beeq/{p-be664fb0.entry.js.map → p-4fc098bb.entry.js.map} +1 -1
  55. package/dist/beeq/p-513bab02.js +16 -0
  56. package/dist/beeq/{p-aee056e5.js.map → p-513bab02.js.map} +1 -1
  57. package/dist/beeq/p-57621be1.js +9 -1
  58. package/dist/beeq/p-57621be1.js.map +1 -1
  59. package/dist/beeq/p-5eab4f55.entry.js +117 -0
  60. package/dist/beeq/{p-9f40249f.entry.js.map → p-5eab4f55.entry.js.map} +1 -1
  61. package/dist/beeq/p-600e7c38.entry.js +102 -0
  62. package/dist/beeq/{p-633319f3.entry.js.map → p-600e7c38.entry.js.map} +1 -1
  63. package/dist/beeq/p-687da041.js +20 -1
  64. package/dist/beeq/p-687da041.js.map +1 -1
  65. package/dist/beeq/p-7089c66a.entry.js +156 -0
  66. package/dist/beeq/{p-235328ee.entry.js.map → p-7089c66a.entry.js.map} +1 -1
  67. package/dist/beeq/p-734853f9.entry.js +259 -0
  68. package/dist/beeq/{p-d2bbae3b.entry.js.map → p-734853f9.entry.js.map} +1 -1
  69. package/dist/beeq/p-7774eec3.entry.js +135 -0
  70. package/dist/beeq/{p-255fcbe4.entry.js.map → p-7774eec3.entry.js.map} +1 -1
  71. package/dist/beeq/p-7b9ff03f.entry.js +437 -0
  72. package/dist/beeq/p-7b9ff03f.entry.js.map +1 -0
  73. package/dist/beeq/p-7c06dfec.entry.js +204 -0
  74. package/dist/beeq/{p-a8cb8989.entry.js.map → p-7c06dfec.entry.js.map} +1 -1
  75. package/dist/beeq/p-900d4e78.entry.js +102 -0
  76. package/dist/beeq/{p-b7281046.entry.js.map → p-900d4e78.entry.js.map} +1 -1
  77. package/dist/beeq/p-911e07b7.entry.js +513 -0
  78. package/dist/beeq/p-911e07b7.entry.js.map +1 -0
  79. package/dist/beeq/p-924ebf7d.entry.js +394 -0
  80. package/dist/beeq/p-924ebf7d.entry.js.map +1 -0
  81. package/dist/beeq/p-951ba558.js +64 -1
  82. package/dist/beeq/p-951ba558.js.map +1 -1
  83. package/dist/beeq/p-99829fc7.js +8 -1
  84. package/dist/beeq/p-99829fc7.js.map +1 -1
  85. package/dist/beeq/p-9aa18e2f.entry.js +303 -0
  86. package/dist/beeq/p-9aa18e2f.entry.js.map +1 -0
  87. package/dist/beeq/p-a5dc1c94.js +118 -1
  88. package/dist/beeq/p-a5dc1c94.js.map +1 -1
  89. package/dist/beeq/p-a8cad5ab.js +5 -1
  90. package/dist/beeq/p-a8cad5ab.js.map +1 -1
  91. package/dist/beeq/p-ae94b9f8.entry.js +144 -0
  92. package/dist/beeq/{p-41bac721.entry.js.map → p-ae94b9f8.entry.js.map} +1 -1
  93. package/dist/beeq/p-af062402.js +7 -1
  94. package/dist/beeq/p-af062402.js.map +1 -1
  95. package/dist/beeq/p-b38e8c5a.entry.js +208 -0
  96. package/dist/beeq/p-b38e8c5a.entry.js.map +1 -0
  97. package/dist/beeq/p-b4278945.entry.js +195 -0
  98. package/dist/beeq/{p-a7b0fd0b.entry.js.map → p-b4278945.entry.js.map} +1 -1
  99. package/dist/beeq/p-b48545b6.entry.js +248 -0
  100. package/dist/beeq/{p-4ba2bec7.entry.js.map → p-b48545b6.entry.js.map} +1 -1
  101. package/dist/beeq/p-c907de72.entry.js +145 -0
  102. package/dist/beeq/{p-96d7f361.entry.js.map → p-c907de72.entry.js.map} +1 -1
  103. package/dist/beeq/p-ceb3bb9a.entry.js +187 -0
  104. package/dist/beeq/p-ceb3bb9a.entry.js.map +1 -0
  105. package/dist/beeq/p-d3008f60.entry.js +279 -0
  106. package/dist/beeq/p-d3008f60.entry.js.map +1 -0
  107. package/dist/beeq/p-d7a88b16.js +87 -1
  108. package/dist/beeq/p-d7a88b16.js.map +1 -1
  109. package/dist/beeq/p-e5afdf8c.js +87 -0
  110. package/dist/beeq/p-e5afdf8c.js.map +1 -0
  111. package/dist/beeq/p-e7d75b87.entry.js +144 -0
  112. package/dist/beeq/{p-6e026fad.entry.js.map → p-e7d75b87.entry.js.map} +1 -1
  113. package/dist/beeq/p-ecd27cf2.js +11 -1
  114. package/dist/beeq/p-ecd27cf2.js.map +1 -1
  115. package/dist/beeq/p-f00abfb8.entry.js +145 -0
  116. package/dist/beeq/{p-90c5851d.entry.js.map → p-f00abfb8.entry.js.map} +1 -1
  117. package/dist/beeq/p-f8663855.entry.js +329 -0
  118. package/dist/beeq/{p-e6382462.entry.js.map → p-f8663855.entry.js.map} +1 -1
  119. package/dist/cjs/assetsPath-7ead23b7.js +89 -0
  120. package/dist/cjs/assetsPath-7ead23b7.js.map +1 -0
  121. package/dist/cjs/beeq.cjs.js +2 -2
  122. package/dist/cjs/bq-accordion-group.cjs.entry.js +2 -2
  123. package/dist/cjs/bq-accordion.cjs.entry.js +2 -2
  124. package/dist/cjs/bq-alert.cjs.entry.js +19 -25
  125. package/dist/cjs/bq-alert.cjs.entry.js.map +1 -1
  126. package/dist/cjs/bq-avatar.cjs.entry.js +5 -5
  127. package/dist/cjs/bq-badge.cjs.entry.js +4 -4
  128. package/dist/cjs/bq-breadcrumb-item.cjs.entry.js +6 -6
  129. package/dist/cjs/bq-breadcrumb.cjs.entry.js +3 -3
  130. package/dist/cjs/bq-button_2.cjs.entry.js +16 -10
  131. package/dist/cjs/bq-button_2.cjs.entry.js.map +1 -1
  132. package/dist/cjs/bq-card.cjs.entry.js +4 -4
  133. package/dist/cjs/bq-checkbox.cjs.entry.js +4 -4
  134. package/dist/cjs/bq-date-picker.cjs.entry.js +10 -7
  135. package/dist/cjs/bq-date-picker.cjs.entry.js.map +1 -1
  136. package/dist/cjs/bq-dialog.cjs.entry.js +7 -7
  137. package/dist/cjs/bq-divider.cjs.entry.js +9 -6
  138. package/dist/cjs/bq-divider.cjs.entry.js.map +1 -1
  139. package/dist/cjs/bq-drawer.cjs.entry.js +7 -7
  140. package/dist/cjs/bq-dropdown_2.cjs.entry.js +3 -3
  141. package/dist/cjs/bq-empty-state.cjs.entry.js +6 -6
  142. package/dist/cjs/bq-input.cjs.entry.js +7 -7
  143. package/dist/cjs/bq-notification.cjs.entry.js +26 -19
  144. package/dist/cjs/bq-notification.cjs.entry.js.map +1 -1
  145. package/dist/cjs/bq-option-group.cjs.entry.js +2 -2
  146. package/dist/cjs/bq-option-list_2.cjs.entry.js +7 -7
  147. package/dist/cjs/bq-option.cjs.entry.js +6 -6
  148. package/dist/cjs/bq-page-title.cjs.entry.js +4 -4
  149. package/dist/cjs/bq-progress.cjs.entry.js +6 -6
  150. package/dist/cjs/bq-radio-group.cjs.entry.js +3 -3
  151. package/dist/cjs/bq-radio.cjs.entry.js +3 -3
  152. package/dist/cjs/bq-select.cjs.entry.js +21 -15
  153. package/dist/cjs/bq-select.cjs.entry.js.map +1 -1
  154. package/dist/cjs/bq-side-menu-item.cjs.entry.js +2 -2
  155. package/dist/cjs/bq-side-menu.cjs.entry.js +3 -3
  156. package/dist/cjs/bq-slider.cjs.entry.js +12 -6
  157. package/dist/cjs/bq-slider.cjs.entry.js.map +1 -1
  158. package/dist/cjs/bq-spinner.cjs.entry.js +6 -6
  159. package/dist/cjs/bq-status.cjs.entry.js +3 -3
  160. package/dist/cjs/bq-step-item.cjs.entry.js +9 -6
  161. package/dist/cjs/bq-step-item.cjs.entry.js.map +1 -1
  162. package/dist/cjs/bq-steps.cjs.entry.js +3 -3
  163. package/dist/cjs/bq-switch.cjs.entry.js +4 -4
  164. package/dist/cjs/bq-tab-group.cjs.entry.js +5 -5
  165. package/dist/cjs/bq-tab.cjs.entry.js +4 -4
  166. package/dist/cjs/bq-textarea.cjs.entry.js +5 -5
  167. package/dist/cjs/bq-toast.cjs.entry.js +29 -31
  168. package/dist/cjs/bq-toast.cjs.entry.js.map +1 -1
  169. package/dist/cjs/bq-tooltip.cjs.entry.js +2 -2
  170. package/dist/cjs/{index-e6d59dbb.js → index-1d3aac65.js} +20 -2
  171. package/dist/cjs/index-1d3aac65.js.map +1 -0
  172. package/dist/cjs/index.cjs.js +2 -2
  173. package/dist/cjs/{isDefined-4f4a320b.js → isDefined-a9dd6d5b.js} +2 -2
  174. package/dist/cjs/{isDefined-4f4a320b.js.map → isDefined-a9dd6d5b.js.map} +1 -1
  175. package/dist/cjs/loader.cjs.js +2 -2
  176. package/dist/collection/components/alert/bq-alert.js +26 -26
  177. package/dist/collection/components/alert/bq-alert.js.map +1 -1
  178. package/dist/collection/components/alert/scss/bq-alert.css +1 -1
  179. package/dist/collection/components/avatar/bq-avatar.js +3 -3
  180. package/dist/collection/components/badge/bq-badge.js +2 -2
  181. package/dist/collection/components/breadcrumb/bq-breadcrumb.js +1 -1
  182. package/dist/collection/components/breadcrumb-item/bq-breadcrumb-item.js +3 -3
  183. package/dist/collection/components/button/bq-button.js +2 -2
  184. package/dist/collection/components/card/bq-card.js +2 -2
  185. package/dist/collection/components/checkbox/bq-checkbox.js +2 -2
  186. package/dist/collection/components/date-picker/bq-date-picker.js +6 -3
  187. package/dist/collection/components/date-picker/bq-date-picker.js.map +1 -1
  188. package/dist/collection/components/date-picker/scss/bq-date-picker.css +1 -1
  189. package/dist/collection/components/dialog/bq-dialog.js +4 -4
  190. package/dist/collection/components/dialog/scss/bq-dialog.css +1 -1
  191. package/dist/collection/components/divider/bq-divider.js +7 -4
  192. package/dist/collection/components/divider/bq-divider.js.map +1 -1
  193. package/dist/collection/components/drawer/bq-drawer.js +4 -4
  194. package/dist/collection/components/drawer/scss/bq-drawer.css +1 -1
  195. package/dist/collection/components/dropdown/bq-dropdown.js +1 -1
  196. package/dist/collection/components/empty-state/bq-empty-state.js +4 -4
  197. package/dist/collection/components/icon/bq-icon.js +13 -7
  198. package/dist/collection/components/icon/bq-icon.js.map +1 -1
  199. package/dist/collection/components/input/bq-input.js +4 -4
  200. package/dist/collection/components/notification/bq-notification.js +31 -17
  201. package/dist/collection/components/notification/bq-notification.js.map +1 -1
  202. package/dist/collection/components/notification/scss/bq-notification.css +1 -1
  203. package/dist/collection/components/option/bq-option.js +4 -4
  204. package/dist/collection/components/option-group/bq-option-group.js +1 -1
  205. package/dist/collection/components/option-list/bq-option-list.js +1 -1
  206. package/dist/collection/components/page-title/bq-page-title.js +2 -2
  207. package/dist/collection/components/panel/bq-panel.js +1 -1
  208. package/dist/collection/components/progress/bq-progress.js +4 -4
  209. package/dist/collection/components/radio/bq-radio.js +2 -2
  210. package/dist/collection/components/radio-group/bq-radio-group.js +1 -1
  211. package/dist/collection/components/select/bq-select.js +18 -12
  212. package/dist/collection/components/select/bq-select.js.map +1 -1
  213. package/dist/collection/components/select/scss/bq-select.css +1 -1
  214. package/dist/collection/components/side-menu/bq-side-menu.js +1 -1
  215. package/dist/collection/components/slider/bq-slider.js +10 -4
  216. package/dist/collection/components/slider/bq-slider.js.map +1 -1
  217. package/dist/collection/components/spinner/bq-spinner.js +4 -4
  218. package/dist/collection/components/status/bq-status.js +1 -1
  219. package/dist/collection/components/step-item/bq-step-item.js +7 -4
  220. package/dist/collection/components/step-item/bq-step-item.js.map +1 -1
  221. package/dist/collection/components/steps/bq-steps.js +1 -1
  222. package/dist/collection/components/switch/bq-switch.js +2 -2
  223. package/dist/collection/components/tab/bq-tab.js +2 -2
  224. package/dist/collection/components/tab-group/bq-tab-group.js +3 -3
  225. package/dist/collection/components/tag/bq-tag.js +3 -3
  226. package/dist/collection/components/tag/scss/bq-tag.css +1 -1
  227. package/dist/collection/components/textarea/bq-textarea.js +3 -3
  228. package/dist/collection/components/toast/bq-toast.js +35 -29
  229. package/dist/collection/components/toast/bq-toast.js.map +1 -1
  230. package/dist/collection/components/tooltip/bq-tooltip.js +1 -1
  231. package/dist/collection/index.js +1 -0
  232. package/dist/collection/index.js.map +1 -1
  233. package/dist/collection/shared/utils/assetsPath.js +64 -27
  234. package/dist/collection/shared/utils/assetsPath.js.map +1 -1
  235. package/dist/components/assetsPath.js +64 -27
  236. package/dist/components/assetsPath.js.map +1 -1
  237. package/dist/components/bq-alert.js +17 -23
  238. package/dist/components/bq-alert.js.map +1 -1
  239. package/dist/components/bq-avatar.js +3 -3
  240. package/dist/components/bq-badge2.js +2 -2
  241. package/dist/components/bq-breadcrumb-item.js +3 -3
  242. package/dist/components/bq-breadcrumb.js +1 -1
  243. package/dist/components/bq-button2.js +2 -2
  244. package/dist/components/bq-card.js +2 -2
  245. package/dist/components/bq-checkbox.js +2 -2
  246. package/dist/components/bq-date-picker.js +7 -4
  247. package/dist/components/bq-date-picker.js.map +1 -1
  248. package/dist/components/bq-dialog.js +5 -5
  249. package/dist/components/bq-divider2.js +7 -4
  250. package/dist/components/bq-divider2.js.map +1 -1
  251. package/dist/components/bq-drawer.js +5 -5
  252. package/dist/components/bq-dropdown2.js +1 -1
  253. package/dist/components/bq-empty-state.js +4 -4
  254. package/dist/components/bq-icon2.js +11 -5
  255. package/dist/components/bq-icon2.js.map +1 -1
  256. package/dist/components/bq-input.js +4 -4
  257. package/dist/components/bq-notification.js +25 -17
  258. package/dist/components/bq-notification.js.map +1 -1
  259. package/dist/components/bq-option-group.js +1 -1
  260. package/dist/components/bq-option-list2.js +1 -1
  261. package/dist/components/bq-option.js +4 -4
  262. package/dist/components/bq-page-title.js +2 -2
  263. package/dist/components/bq-panel2.js +1 -1
  264. package/dist/components/bq-progress.js +4 -4
  265. package/dist/components/bq-radio-group.js +1 -1
  266. package/dist/components/bq-radio.js +2 -2
  267. package/dist/components/bq-select.js +19 -13
  268. package/dist/components/bq-select.js.map +1 -1
  269. package/dist/components/bq-side-menu.js +1 -1
  270. package/dist/components/bq-slider.js +10 -4
  271. package/dist/components/bq-slider.js.map +1 -1
  272. package/dist/components/bq-spinner.js +4 -4
  273. package/dist/components/bq-status.js +1 -1
  274. package/dist/components/bq-step-item.js +7 -4
  275. package/dist/components/bq-step-item.js.map +1 -1
  276. package/dist/components/bq-steps.js +1 -1
  277. package/dist/components/bq-switch.js +2 -2
  278. package/dist/components/bq-tab-group.js +3 -3
  279. package/dist/components/bq-tab.js +2 -2
  280. package/dist/components/bq-tag2.js +4 -4
  281. package/dist/components/bq-textarea.js +3 -3
  282. package/dist/components/bq-toast.js +28 -29
  283. package/dist/components/bq-toast.js.map +1 -1
  284. package/dist/components/bq-tooltip2.js +1 -1
  285. package/dist/esm/assetsPath-c02b0e16.js +86 -0
  286. package/dist/esm/assetsPath-c02b0e16.js.map +1 -0
  287. package/dist/esm/beeq.js +3 -3
  288. package/dist/esm/bq-accordion-group.entry.js +2 -2
  289. package/dist/esm/bq-accordion.entry.js +2 -2
  290. package/dist/esm/bq-alert.entry.js +19 -25
  291. package/dist/esm/bq-alert.entry.js.map +1 -1
  292. package/dist/esm/bq-avatar.entry.js +5 -5
  293. package/dist/esm/bq-badge.entry.js +4 -4
  294. package/dist/esm/bq-breadcrumb-item.entry.js +6 -6
  295. package/dist/esm/bq-breadcrumb.entry.js +3 -3
  296. package/dist/esm/bq-button_2.entry.js +16 -10
  297. package/dist/esm/bq-button_2.entry.js.map +1 -1
  298. package/dist/esm/bq-card.entry.js +4 -4
  299. package/dist/esm/bq-checkbox.entry.js +4 -4
  300. package/dist/esm/bq-date-picker.entry.js +10 -7
  301. package/dist/esm/bq-date-picker.entry.js.map +1 -1
  302. package/dist/esm/bq-dialog.entry.js +7 -7
  303. package/dist/esm/bq-divider.entry.js +9 -6
  304. package/dist/esm/bq-divider.entry.js.map +1 -1
  305. package/dist/esm/bq-drawer.entry.js +7 -7
  306. package/dist/esm/bq-dropdown_2.entry.js +3 -3
  307. package/dist/esm/bq-empty-state.entry.js +6 -6
  308. package/dist/esm/bq-input.entry.js +7 -7
  309. package/dist/esm/bq-notification.entry.js +26 -19
  310. package/dist/esm/bq-notification.entry.js.map +1 -1
  311. package/dist/esm/bq-option-group.entry.js +2 -2
  312. package/dist/esm/bq-option-list_2.entry.js +7 -7
  313. package/dist/esm/bq-option.entry.js +6 -6
  314. package/dist/esm/bq-page-title.entry.js +4 -4
  315. package/dist/esm/bq-progress.entry.js +6 -6
  316. package/dist/esm/bq-radio-group.entry.js +3 -3
  317. package/dist/esm/bq-radio.entry.js +3 -3
  318. package/dist/esm/bq-select.entry.js +22 -16
  319. package/dist/esm/bq-select.entry.js.map +1 -1
  320. package/dist/esm/bq-side-menu-item.entry.js +2 -2
  321. package/dist/esm/bq-side-menu.entry.js +3 -3
  322. package/dist/esm/bq-slider.entry.js +12 -6
  323. package/dist/esm/bq-slider.entry.js.map +1 -1
  324. package/dist/esm/bq-spinner.entry.js +6 -6
  325. package/dist/esm/bq-status.entry.js +3 -3
  326. package/dist/esm/bq-step-item.entry.js +9 -6
  327. package/dist/esm/bq-step-item.entry.js.map +1 -1
  328. package/dist/esm/bq-steps.entry.js +3 -3
  329. package/dist/esm/bq-switch.entry.js +4 -4
  330. package/dist/esm/bq-tab-group.entry.js +5 -5
  331. package/dist/esm/bq-tab.entry.js +4 -4
  332. package/dist/esm/bq-textarea.entry.js +5 -5
  333. package/dist/esm/bq-toast.entry.js +29 -31
  334. package/dist/esm/bq-toast.entry.js.map +1 -1
  335. package/dist/esm/bq-tooltip.entry.js +2 -2
  336. package/dist/esm/{index-efc1c2ef.js → index-f69556fe.js} +20 -2
  337. package/dist/esm/index-f69556fe.js.map +1 -0
  338. package/dist/esm/index.js +3 -3
  339. package/dist/esm/{isDefined-91ae4cd3.js → isDefined-1e676215.js} +2 -2
  340. package/dist/esm/{isDefined-91ae4cd3.js.map → isDefined-1e676215.js.map} +1 -1
  341. package/dist/esm/loader.js +3 -3
  342. package/dist/hydrate/index.js +281 -201
  343. package/dist/hydrate/index.mjs +281 -201
  344. package/dist/stencil.config.js +6 -0
  345. package/dist/stencil.config.js.map +1 -1
  346. package/dist/types/components/alert/bq-alert.d.ts +10 -4
  347. package/dist/types/components/date-picker/bq-date-picker.d.ts +1 -0
  348. package/dist/types/components/divider/bq-divider.d.ts +1 -0
  349. package/dist/types/components/icon/bq-icon.d.ts +3 -1
  350. package/dist/types/components/notification/bq-notification.d.ts +8 -0
  351. package/dist/types/components/select/bq-select.d.ts +2 -0
  352. package/dist/types/components/slider/bq-slider.d.ts +2 -0
  353. package/dist/types/components/step-item/bq-step-item.d.ts +1 -0
  354. package/dist/types/components/toast/bq-toast.d.ts +5 -0
  355. package/dist/types/components.d.ts +8 -8
  356. package/dist/types/index.d.ts +1 -1
  357. package/dist/types/shared/utils/assetsPath.d.ts +18 -11
  358. package/package.json +4 -4
  359. package/dist/beeq/p-235328ee.entry.js +0 -6
  360. package/dist/beeq/p-255fcbe4.entry.js +0 -6
  361. package/dist/beeq/p-268dc1e3.entry.js +0 -6
  362. package/dist/beeq/p-268dc1e3.entry.js.map +0 -1
  363. package/dist/beeq/p-3aa41d80.entry.js +0 -6
  364. package/dist/beeq/p-3aa41d80.entry.js.map +0 -1
  365. package/dist/beeq/p-3b2ce34b.entry.js +0 -6
  366. package/dist/beeq/p-41bac721.entry.js +0 -6
  367. package/dist/beeq/p-4739f5c3.entry.js +0 -6
  368. package/dist/beeq/p-4ba2bec7.entry.js +0 -6
  369. package/dist/beeq/p-52577f3a.entry.js +0 -6
  370. package/dist/beeq/p-571b40ff.entry.js +0 -6
  371. package/dist/beeq/p-606c080c.entry.js +0 -6
  372. package/dist/beeq/p-606c080c.entry.js.map +0 -1
  373. package/dist/beeq/p-633319f3.entry.js +0 -6
  374. package/dist/beeq/p-63ad9702.entry.js +0 -6
  375. package/dist/beeq/p-6e026fad.entry.js +0 -6
  376. package/dist/beeq/p-6edc8a33.js +0 -6
  377. package/dist/beeq/p-6edc8a33.js.map +0 -1
  378. package/dist/beeq/p-76e714c6.js +0 -7
  379. package/dist/beeq/p-76e714c6.js.map +0 -1
  380. package/dist/beeq/p-79b7547b.entry.js +0 -6
  381. package/dist/beeq/p-7f23cde7.entry.js +0 -6
  382. package/dist/beeq/p-7f23cde7.entry.js.map +0 -1
  383. package/dist/beeq/p-8059836c.entry.js +0 -6
  384. package/dist/beeq/p-8b7c7049.entry.js +0 -6
  385. package/dist/beeq/p-8b7c7049.entry.js.map +0 -1
  386. package/dist/beeq/p-90c5851d.entry.js +0 -6
  387. package/dist/beeq/p-94d62f1b.entry.js +0 -6
  388. package/dist/beeq/p-96d7f361.entry.js +0 -6
  389. package/dist/beeq/p-9acfedb8.entry.js +0 -6
  390. package/dist/beeq/p-9acfedb8.entry.js.map +0 -1
  391. package/dist/beeq/p-9c6c6646.entry.js +0 -6
  392. package/dist/beeq/p-9cd26e8d.entry.js +0 -6
  393. package/dist/beeq/p-9cd26e8d.entry.js.map +0 -1
  394. package/dist/beeq/p-9f40249f.entry.js +0 -6
  395. package/dist/beeq/p-a006be9e.entry.js +0 -6
  396. package/dist/beeq/p-a7b0fd0b.entry.js +0 -6
  397. package/dist/beeq/p-a8cb8989.entry.js +0 -6
  398. package/dist/beeq/p-ae8ffb81.entry.js +0 -6
  399. package/dist/beeq/p-aee056e5.js +0 -6
  400. package/dist/beeq/p-b7281046.entry.js +0 -6
  401. package/dist/beeq/p-b90c6de9.entry.js +0 -6
  402. package/dist/beeq/p-b9544567.entry.js +0 -6
  403. package/dist/beeq/p-be664fb0.entry.js +0 -6
  404. package/dist/beeq/p-c9c942e6.entry.js +0 -6
  405. package/dist/beeq/p-d2bbae3b.entry.js +0 -6
  406. package/dist/beeq/p-ddb23180.entry.js +0 -6
  407. package/dist/beeq/p-ddb23180.entry.js.map +0 -1
  408. package/dist/beeq/p-e6382462.entry.js +0 -6
  409. package/dist/beeq/p-eab59153.entry.js +0 -6
  410. package/dist/beeq/p-eab59153.entry.js.map +0 -1
  411. package/dist/beeq/p-eddb77c7.entry.js +0 -6
  412. package/dist/cjs/assetsPath-eac0a3bf.js +0 -52
  413. package/dist/cjs/assetsPath-eac0a3bf.js.map +0 -1
  414. package/dist/cjs/index-e6d59dbb.js.map +0 -1
  415. package/dist/esm/assetsPath-ae18c25e.js +0 -49
  416. package/dist/esm/assetsPath-ae18c25e.js.map +0 -1
  417. package/dist/esm/index-efc1c2ef.js.map +0 -1
@@ -56,6 +56,9 @@ export class BqDivider {
56
56
  connectedCallback() {
57
57
  this.checkPropValues();
58
58
  }
59
+ componentWillLoad() {
60
+ this.checkPropValues();
61
+ }
59
62
  componentDidLoad() {
60
63
  this.handleSlotChange();
61
64
  }
@@ -88,18 +91,18 @@ export class BqDivider {
88
91
  ...(this.strokeThickness && { '--bq-divider--stroke-thickness': `${this.strokeThickness}px` }),
89
92
  ...(!isNil(this.strokeBasis) && { '--bq-divider--stroke-basis': `${this.strokeBasis}px` }),
90
93
  };
91
- return (h(Host, { key: '1b15194cc72683a65c71f3f34f8cd8b740ec095c', style: styles }, h("div", { key: '19f35ffbd0c84ea4cf11c61cd8abc4e8df812d52', class: {
94
+ return (h(Host, { key: '6c0665021b2aa68aa5e36bd7b316d29c06a757b8', style: styles }, h("div", { key: '5f9db24e2ec04379d9870c472a6fa5eb6adca124', class: {
92
95
  'bq-divider': true,
93
96
  [`bq-divider--${this.orientation}`]: true,
94
97
  [`bq-divider--title__${this.titleAlignment}`]: true,
95
98
  'gap-0': !this.hasTitle,
96
- }, part: "base", ref: (div) => (this.titleElem = div), role: "separator", "aria-orientation": this.orientation }, h("svg", { key: '83a9122ee40844d298fc8805251cbb7a5e233440', class: {
99
+ }, part: "base", ref: (div) => (this.titleElem = div), role: "separator", "aria-orientation": this.orientation }, h("svg", { key: '43d5f3de13d96f380db563ff3b5cc24415ca9e94', class: {
97
100
  'bq-divider--stroke start': true,
98
101
  '!hidden': this.strokeBasis === 0 && this.titleAlignment === 'start',
99
- }, part: "dash-start" }, h("line", { key: '5b6d5ac31bb358985540b4c947108f2f8e9a1194', ...this.strokeAttributes, part: "dash-start-line" })), h("slot", { key: '91104508eab2c8672d66cab306c3f767fbcaff5a', onSlotchange: this.handleSlotChange }), h("svg", { key: 'b223798e38b1a9f6805dd76bd1766f144bed213f', class: {
102
+ }, part: "dash-start" }, h("line", { key: '83db2577aa297162d0e4d6f2da1bbc9f8d2c99e0', ...this.strokeAttributes, part: "dash-start-line" })), h("slot", { key: 'b254e7a311652203e0ba493879482a41bf8670b0', onSlotchange: this.handleSlotChange }), h("svg", { key: '67b6c6ab371b23ed828d0bb0bb4293967b768497', class: {
100
103
  'bq-divider--stroke end': true,
101
104
  '!hidden': !this.hasTitle || (this.strokeBasis === 0 && this.titleAlignment === 'end'),
102
- }, part: "dash-end" }, h("line", { key: '6e99b6ea20a1228b3ecd989557aea546714dafb0', ...this.strokeAttributes, part: "dash-end-line" })))));
105
+ }, part: "dash-end" }, h("line", { key: '0edcfdb8ce39dece8589d1e583c04cd7e86d210a', ...this.strokeAttributes, part: "dash-end-line" })))));
103
106
  }
104
107
  static get is() { return "bq-divider"; }
105
108
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- {"version":3,"file":"bq-divider.js","sourceRoot":"","sources":["../../../../../../src/components/divider/bq-divider.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, Element, h, Host, Prop, State, Watch } from '@stencil/core';\n\nimport {\n DIVIDER_ORIENTATION,\n DIVIDER_ORIENTATION_ENUM,\n DIVIDER_STROKE_LINECAP,\n DIVIDER_TITLE_ALIGNMENT,\n TDividerOrientation,\n TDividerStrokeLinecap,\n TDividerTitleAlignment,\n} from './bq-divider.types';\nimport { getColorCSSVariable, getTextContent, hasSlotContent, isNil, validatePropValue } from '../../shared/utils';\n\n/**\n * @part base - The component's internal wrapper.\n * @part dash-start - The component's internal svg wrapper for the start line of the divider's stroke\n * @part dash-end - The component's internal svg wrapper for the end line of the divider's stroke\n * @part dash-start-line - The component's internal line component of the divider's stroke\n * @part dash-end-line - The component's internal line component of the divider's stroke\n */\n@Component({\n tag: 'bq-divider',\n styleUrl: './scss/bq-divider.scss',\n shadow: true,\n})\nexport class BqDivider {\n // Own Properties\n // ====================\n\n private titleElem: HTMLDivElement;\n\n // Reference to host HTML element\n // ===================================\n\n @Element() el!: HTMLBqDividerElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n @State() private hasTitle: boolean;\n\n // Public Property API\n // ========================\n\n /** If true, the divider has a dashed pattern */\n @Prop() dashed = false;\n\n /** The default orientation of the divider */\n @Prop({ reflect: true }) orientation: TDividerOrientation = 'horizontal';\n\n /** Set the stroke color of the divider. The value should be a valid value of the palette color */\n @Prop({ reflect: true }) strokeColor?: string = 'stroke--primary';\n\n /** Set the alignment of the title on the main axis of the divider (horizontal / vertical) */\n @Prop({ reflect: true }) titleAlignment?: TDividerTitleAlignment = 'middle';\n\n /** Set the width of each dash of the divider's stroke. This is applicable when the stroke is dashed */\n @Prop({ reflect: true }) strokeDashWidth?: number = 12;\n\n /** Set the gap of the divider's stroke. This is applicable when the stroke is dashed */\n @Prop({ reflect: true }) strokeDashGap?: number = 7;\n\n /** Set the thickness of the divider's stroke. Value expressed in px*/\n @Prop({ reflect: true }) strokeThickness?: number = 1;\n\n /** Set the min width of the divider's stroke when text is not centered. Value expressed in px */\n @Prop({ reflect: true }) strokeBasis?: number = 0;\n\n /** Set the line of the divider's stroke. This is applicable when the stroke is dashed */\n @Prop({ reflect: true }) strokeLinecap?: TDividerStrokeLinecap = 'butt';\n\n // Prop lifecycle events\n // =======================\n\n @Watch('orientation')\n @Watch('titleAlignment')\n @Watch('strokeLinecap')\n checkPropValues() {\n validatePropValue(DIVIDER_ORIENTATION, 'horizontal', this.el, 'orientation');\n validatePropValue(DIVIDER_TITLE_ALIGNMENT, 'middle', this.el, 'titleAlignment');\n validatePropValue(DIVIDER_STROKE_LINECAP, 'butt', this.el, 'strokeLinecap');\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n connectedCallback() {\n this.checkPropValues();\n }\n\n componentDidLoad() {\n this.handleSlotChange();\n }\n\n // Listeners\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 handleSlotChange = () => {\n this.hasTitle = hasSlotContent(this.titleElem) || !!getTextContent(this.titleElem.querySelector('slot'));\n };\n\n private get strokeAttributes() {\n return {\n ...this.strokeDrawPositions,\n ...(this.dashed && { 'stroke-dasharray': this.strokeDasharray }),\n 'stroke-linecap': this.strokeLinecap,\n 'stroke-width': this.strokeThickness,\n };\n }\n\n private get strokeDrawPositions() {\n const drawOffset = this.strokeThickness / 2;\n const strokeDrawPositions = {\n [DIVIDER_ORIENTATION_ENUM.HORIZONTAL]: { x1: drawOffset, x2: '100%', y1: drawOffset, y2: drawOffset },\n [DIVIDER_ORIENTATION_ENUM.VERTICAL]: { x1: drawOffset, x2: drawOffset, y1: drawOffset, y2: '100%' },\n };\n const orientationMap = new Map(Object.entries(strokeDrawPositions));\n\n return orientationMap.get(this.orientation);\n }\n\n private get strokeDasharray() {\n return `${this.strokeDashWidth}, ${this.strokeDashGap}`;\n }\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n const styles = {\n ...(this.strokeColor && { '--bq-divider--stroke-color': getColorCSSVariable(this.strokeColor) }),\n ...(this.strokeThickness && { '--bq-divider--stroke-thickness': `${this.strokeThickness}px` }),\n ...(!isNil(this.strokeBasis) && { '--bq-divider--stroke-basis': `${this.strokeBasis}px` }),\n };\n\n return (\n <Host style={styles}>\n <div\n class={{\n 'bq-divider': true,\n [`bq-divider--${this.orientation}`]: true,\n [`bq-divider--title__${this.titleAlignment}`]: true,\n 'gap-0': !this.hasTitle,\n }}\n part=\"base\"\n ref={(div) => (this.titleElem = div)}\n role=\"separator\"\n aria-orientation={this.orientation}\n >\n <svg\n class={{\n 'bq-divider--stroke start': true,\n '!hidden': this.strokeBasis === 0 && this.titleAlignment === 'start',\n }}\n part=\"dash-start\"\n >\n <line {...this.strokeAttributes} part=\"dash-start-line\" />\n </svg>\n <slot onSlotchange={this.handleSlotChange} />\n <svg\n class={{\n 'bq-divider--stroke end': true,\n '!hidden': !this.hasTitle || (this.strokeBasis === 0 && this.titleAlignment === 'end'),\n }}\n part=\"dash-end\"\n >\n <line {...this.strokeAttributes} part=\"dash-end-line\" />\n </svg>\n </div>\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"bq-divider.js","sourceRoot":"","sources":["../../../../../../src/components/divider/bq-divider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,MAAM,eAAe,CAAC;AAEhF,OAAO,EACL,mBAAmB,EACnB,wBAAwB,EACxB,sBAAsB,EACtB,uBAAuB,GAIxB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,mBAAmB,EAAE,cAAc,EAAE,cAAc,EAAE,KAAK,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAEnH;;;;;;GAMG;AAMH,MAAM,OAAO,SAAS;;QA+EpB,YAAY;QACZ,iBAAiB;QAEjB,qBAAqB;QACrB,iDAAiD;QACjD,wBAAwB;QACxB,gCAAgC;QAChC,gDAAgD;QAChD,kDAAkD;QAElD,gBAAgB;QAChB,2BAA2B;QAC3B,wDAAwD;QACxD,0DAA0D;QAElD,qBAAgB,GAAG,GAAG,EAAE;YAC9B,IAAI,CAAC,QAAQ,GAAG,cAAc,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,cAAc,CAAC,IAAI,CAAC,SAAS,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC;QAC3G,CAAC,CAAC;;sBA3Ee,KAAK;2BAGsC,YAAY;2BAGxB,iBAAiB;8BAGE,QAAQ;+BAGvB,EAAE;6BAGJ,CAAC;+BAGC,CAAC;2BAGL,CAAC;6BAGgB,MAAM;;IAEvE,wBAAwB;IACxB,0BAA0B;IAK1B,eAAe;QACb,iBAAiB,CAAC,mBAAmB,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,EAAE,aAAa,CAAC,CAAC;QAC7E,iBAAiB,CAAC,uBAAuB,EAAE,QAAQ,EAAE,IAAI,CAAC,EAAE,EAAE,gBAAgB,CAAC,CAAC;QAChF,iBAAiB,CAAC,sBAAsB,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,EAAE,eAAe,CAAC,CAAC;IAC9E,CAAC;IAED,iBAAiB;IACjB,+CAA+C;IAC/C,iDAAiD;IAEjD,6BAA6B;IAC7B,sCAAsC;IACtC,wCAAwC;IAExC,iBAAiB;QACf,IAAI,CAAC,eAAe,EAAE,CAAC;IACzB,CAAC;IAED,iBAAiB;QACf,IAAI,CAAC,eAAe,EAAE,CAAC;IACzB,CAAC;IAED,gBAAgB;QACd,IAAI,CAAC,gBAAgB,EAAE,CAAC;IAC1B,CAAC;IAqBD,IAAY,gBAAgB;QAC1B,OAAO;YACL,GAAG,IAAI,CAAC,mBAAmB;YAC3B,GAAG,CAAC,IAAI,CAAC,MAAM,IAAI,EAAE,kBAAkB,EAAE,IAAI,CAAC,eAAe,EAAE,CAAC;YAChE,gBAAgB,EAAE,IAAI,CAAC,aAAa;YACpC,cAAc,EAAE,IAAI,CAAC,eAAe;SACrC,CAAC;IACJ,CAAC;IAED,IAAY,mBAAmB;QAC7B,MAAM,UAAU,GAAG,IAAI,CAAC,eAAe,GAAG,CAAC,CAAC;QAC5C,MAAM,mBAAmB,GAAG;YAC1B,CAAC,wBAAwB,CAAC,UAAU,CAAC,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,EAAE;YACrG,CAAC,wBAAwB,CAAC,QAAQ,CAAC,EAAE,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM,EAAE;SACpG,CAAC;QACF,MAAM,cAAc,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;QAEpE,OAAO,cAAc,CAAC,GAAG,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;IAC9C,CAAC;IAED,IAAY,eAAe;QACzB,OAAO,GAAG,IAAI,CAAC,eAAe,KAAK,IAAI,CAAC,aAAa,EAAE,CAAC;IAC1D,CAAC;IAED,oBAAoB;IACpB,oCAAoC;IACpC,sCAAsC;IAEtC,MAAM;QACJ,MAAM,MAAM,GAAG;YACb,GAAG,CAAC,IAAI,CAAC,WAAW,IAAI,EAAE,4BAA4B,EAAE,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC;YAChG,GAAG,CAAC,IAAI,CAAC,eAAe,IAAI,EAAE,gCAAgC,EAAE,GAAG,IAAI,CAAC,eAAe,IAAI,EAAE,CAAC;YAC9F,GAAG,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,IAAI,EAAE,4BAA4B,EAAE,GAAG,IAAI,CAAC,WAAW,IAAI,EAAE,CAAC;SAC3F,CAAC;QAEF,OAAO,CACL,EAAC,IAAI,qDAAC,KAAK,EAAE,MAAM;YACjB,4DACE,KAAK,EAAE;oBACL,YAAY,EAAE,IAAI;oBAClB,CAAC,eAAe,IAAI,CAAC,WAAW,EAAE,CAAC,EAAE,IAAI;oBACzC,CAAC,sBAAsB,IAAI,CAAC,cAAc,EAAE,CAAC,EAAE,IAAI;oBACnD,OAAO,EAAE,CAAC,IAAI,CAAC,QAAQ;iBACxB,EACD,IAAI,EAAC,MAAM,EACX,GAAG,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,IAAI,CAAC,SAAS,GAAG,GAAG,CAAC,EACpC,IAAI,EAAC,WAAW,sBACE,IAAI,CAAC,WAAW;gBAElC,4DACE,KAAK,EAAE;wBACL,0BAA0B,EAAE,IAAI;wBAChC,SAAS,EAAE,IAAI,CAAC,WAAW,KAAK,CAAC,IAAI,IAAI,CAAC,cAAc,KAAK,OAAO;qBACrE,EACD,IAAI,EAAC,YAAY;oBAEjB,gEAAU,IAAI,CAAC,gBAAgB,EAAE,IAAI,EAAC,iBAAiB,GAAG,CACtD;gBACN,6DAAM,YAAY,EAAE,IAAI,CAAC,gBAAgB,GAAI;gBAC7C,4DACE,KAAK,EAAE;wBACL,wBAAwB,EAAE,IAAI;wBAC9B,SAAS,EAAE,CAAC,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,WAAW,KAAK,CAAC,IAAI,IAAI,CAAC,cAAc,KAAK,KAAK,CAAC;qBACvF,EACD,IAAI,EAAC,UAAU;oBAEf,gEAAU,IAAI,CAAC,gBAAgB,EAAE,IAAI,EAAC,eAAe,GAAG,CACpD,CACF,CACD,CACR,CAAC;IACJ,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACF","sourcesContent":["import { Component, Element, h, Host, Prop, State, Watch } from '@stencil/core';\n\nimport {\n DIVIDER_ORIENTATION,\n DIVIDER_ORIENTATION_ENUM,\n DIVIDER_STROKE_LINECAP,\n DIVIDER_TITLE_ALIGNMENT,\n TDividerOrientation,\n TDividerStrokeLinecap,\n TDividerTitleAlignment,\n} from './bq-divider.types';\nimport { getColorCSSVariable, getTextContent, hasSlotContent, isNil, validatePropValue } from '../../shared/utils';\n\n/**\n * @part base - The component's internal wrapper.\n * @part dash-start - The component's internal svg wrapper for the start line of the divider's stroke\n * @part dash-end - The component's internal svg wrapper for the end line of the divider's stroke\n * @part dash-start-line - The component's internal line component of the divider's stroke\n * @part dash-end-line - The component's internal line component of the divider's stroke\n */\n@Component({\n tag: 'bq-divider',\n styleUrl: './scss/bq-divider.scss',\n shadow: true,\n})\nexport class BqDivider {\n // Own Properties\n // ====================\n\n private titleElem: HTMLDivElement;\n\n // Reference to host HTML element\n // ===================================\n\n @Element() el!: HTMLBqDividerElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n @State() private hasTitle: boolean;\n\n // Public Property API\n // ========================\n\n /** If true, the divider has a dashed pattern */\n @Prop() dashed = false;\n\n /** The default orientation of the divider */\n @Prop({ reflect: true }) orientation: TDividerOrientation = 'horizontal';\n\n /** Set the stroke color of the divider. The value should be a valid value of the palette color */\n @Prop({ reflect: true }) strokeColor?: string = 'stroke--primary';\n\n /** Set the alignment of the title on the main axis of the divider (horizontal / vertical) */\n @Prop({ reflect: true }) titleAlignment?: TDividerTitleAlignment = 'middle';\n\n /** Set the width of each dash of the divider's stroke. This is applicable when the stroke is dashed */\n @Prop({ reflect: true }) strokeDashWidth?: number = 12;\n\n /** Set the gap of the divider's stroke. This is applicable when the stroke is dashed */\n @Prop({ reflect: true }) strokeDashGap?: number = 7;\n\n /** Set the thickness of the divider's stroke. Value expressed in px*/\n @Prop({ reflect: true }) strokeThickness?: number = 1;\n\n /** Set the min width of the divider's stroke when text is not centered. Value expressed in px */\n @Prop({ reflect: true }) strokeBasis?: number = 0;\n\n /** Set the line of the divider's stroke. This is applicable when the stroke is dashed */\n @Prop({ reflect: true }) strokeLinecap?: TDividerStrokeLinecap = 'butt';\n\n // Prop lifecycle events\n // =======================\n\n @Watch('orientation')\n @Watch('titleAlignment')\n @Watch('strokeLinecap')\n checkPropValues() {\n validatePropValue(DIVIDER_ORIENTATION, 'horizontal', this.el, 'orientation');\n validatePropValue(DIVIDER_TITLE_ALIGNMENT, 'middle', this.el, 'titleAlignment');\n validatePropValue(DIVIDER_STROKE_LINECAP, 'butt', this.el, 'strokeLinecap');\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n connectedCallback() {\n this.checkPropValues();\n }\n\n componentWillLoad() {\n this.checkPropValues();\n }\n\n componentDidLoad() {\n this.handleSlotChange();\n }\n\n // Listeners\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 handleSlotChange = () => {\n this.hasTitle = hasSlotContent(this.titleElem) || !!getTextContent(this.titleElem.querySelector('slot'));\n };\n\n private get strokeAttributes() {\n return {\n ...this.strokeDrawPositions,\n ...(this.dashed && { 'stroke-dasharray': this.strokeDasharray }),\n 'stroke-linecap': this.strokeLinecap,\n 'stroke-width': this.strokeThickness,\n };\n }\n\n private get strokeDrawPositions() {\n const drawOffset = this.strokeThickness / 2;\n const strokeDrawPositions = {\n [DIVIDER_ORIENTATION_ENUM.HORIZONTAL]: { x1: drawOffset, x2: '100%', y1: drawOffset, y2: drawOffset },\n [DIVIDER_ORIENTATION_ENUM.VERTICAL]: { x1: drawOffset, x2: drawOffset, y1: drawOffset, y2: '100%' },\n };\n const orientationMap = new Map(Object.entries(strokeDrawPositions));\n\n return orientationMap.get(this.orientation);\n }\n\n private get strokeDasharray() {\n return `${this.strokeDashWidth}, ${this.strokeDashGap}`;\n }\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n const styles = {\n ...(this.strokeColor && { '--bq-divider--stroke-color': getColorCSSVariable(this.strokeColor) }),\n ...(this.strokeThickness && { '--bq-divider--stroke-thickness': `${this.strokeThickness}px` }),\n ...(!isNil(this.strokeBasis) && { '--bq-divider--stroke-basis': `${this.strokeBasis}px` }),\n };\n\n return (\n <Host style={styles}>\n <div\n class={{\n 'bq-divider': true,\n [`bq-divider--${this.orientation}`]: true,\n [`bq-divider--title__${this.titleAlignment}`]: true,\n 'gap-0': !this.hasTitle,\n }}\n part=\"base\"\n ref={(div) => (this.titleElem = div)}\n role=\"separator\"\n aria-orientation={this.orientation}\n >\n <svg\n class={{\n 'bq-divider--stroke start': true,\n '!hidden': this.strokeBasis === 0 && this.titleAlignment === 'start',\n }}\n part=\"dash-start\"\n >\n <line {...this.strokeAttributes} part=\"dash-start-line\" />\n </svg>\n <slot onSlotchange={this.handleSlotChange} />\n <svg\n class={{\n 'bq-divider--stroke end': true,\n '!hidden': !this.hasTitle || (this.strokeBasis === 0 && this.titleAlignment === 'end'),\n }}\n part=\"dash-end\"\n >\n <line {...this.strokeAttributes} part=\"dash-end-line\" />\n </svg>\n </div>\n </Host>\n );\n }\n}\n"]}
@@ -155,20 +155,20 @@ export class BqDrawer {
155
155
  // Always the last one in the class.
156
156
  // ===================================
157
157
  render() {
158
- return (h(Host, { key: '06bfbbc33ec83a3b334e82297030ea534e446d7b' }, this.enableBackdrop && (h("div", { key: '2189aa2aea1e4b6fad95c03a432a1b973ef4ae48', class: {
158
+ return (h(Host, { key: '6ee33bdb6b0a27e9329992ba262941d404e7d3b0' }, this.enableBackdrop && (h("div", { key: '2e8c981076e86b311a6deaad1a4abd32149639fc', class: {
159
159
  'fixed inset-0 block bg-[--bq-drawer--backgroundBackdrop] opacity-0 transition-opacity duration-300': true,
160
160
  'pointer-events-none': !this.open,
161
161
  'opacity-60': this.open,
162
- }, tabIndex: -1, part: "backdrop" })), h("div", { key: '6033c3f21f3122b8796e44b3be2e1473bbd8c17a', class: {
162
+ }, tabIndex: -1, part: "backdrop" })), h("div", { key: '3743e9e70da7583e4d4d31b54c7ee6475c69f0fe', class: {
163
163
  [`bq-drawer transition-all duration-300 ease-in-out ${this.position || this.placement}`]: true,
164
164
  '-start-[--bq-drawer--width]': this.isPositionStart,
165
165
  '-end-[--bq-drawer--width]': this.isPositionEnd,
166
166
  'start-0': this.open && this.isPositionStart,
167
167
  'end-0': this.open && this.isPositionEnd,
168
- }, 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: 'b01c72b094f16a8dd96e2aae632104ccf3ac6230', class: "flex items-center", part: "header" }, h("h2", { key: '355cecec0a6ab46e4e44602507689a76c5d4dee2', class: "flex-1 items-center justify-between font-bold leading-regular text-text-primary", id: "bq-drawer__title", part: "title" }, h("slot", { key: 'ee338222db7728d37ff9d4393ce1236414932abf', name: "title" })), h("div", { key: '47639ae7c86eee1414046808ea5b35c93ad06476', class: "flex", part: "button-close" }, h("bq-button", { key: '4ef91a82325a8651d9bfd4971dfcb3b3e4b4a691', 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: 'e65f92b4a532213933481796771f7b919794b3e5', name: "button-close" }, h("bq-icon", { key: '464e0dcea0c3e7548b014446deb106f3c2e89bbb', name: "x-bold", role: "img", title: "Close" }))))), h("main", { key: '9fa6ab5e5b5b773ac7813d3ea0a271a14503ea6a', class: "block flex-auto overflow-auto", part: "body" }, h("slot", { key: 'd5c82ba2d10ef0003094e0714ced0648b0458760' })), h("footer", { key: '2cba041328518adfe9f85124236d2e950eee1f20', class: {
168
+ }, 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: {
169
169
  block: true,
170
170
  '!hidden': !this.hasFooter,
171
- }, ref: (footerElem) => (this.footerElem = footerElem), part: "footer" }, h("slot", { key: '7ca0225dd16ea3bb8eff40f468503e2fabf3a717', name: "footer-divider" }, h("bq-divider", { key: 'c44f08cce89af824a94777a00a66972205523625', class: "mb-m block", dashed: true })), h("slot", { key: 'cae09b69c94a92ccd455661147f6916cd95f6d8c', name: "footer", onSlotchange: this.handleFooterSlotChange })))));
171
+ }, 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 })))));
172
172
  }
173
173
  static get is() { return "bq-drawer"; }
174
174
  static get encapsulation() { return "shadow"; }
@@ -1 +1 @@
1
- ::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}.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}.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}}.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
+ ::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}.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}.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}.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}}.gap-0{gap:0}.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)}
@@ -98,7 +98,7 @@ export class BqDropdown {
98
98
  const style = {
99
99
  ...(this.panelHeight && { '--bq-panel--height': this.panelHeight }),
100
100
  };
101
- return (h("div", { key: '50ad5de23a43cc4cf52b84109f4956c4a3b858bc', class: "bq-dropdown", part: "base" }, h("div", { key: '81787e14a6b5693e069ef554dfd4c0594a0a5a6d', class: "bq-dropdown__trigger block", "aria-controls": this.dropdownPanelId, "aria-haspopup": "true", onClick: this.togglePanel, part: "trigger" }, h("slot", { key: 'ed9b75fde64885b12aeb4e9f69bb2cc42cd5e52a', name: "trigger" })), h("bq-panel", { key: '2520cbe2913f90d966a45926489fe9dc86c70450', 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: 'dd36867f0d0bbabbd76e56ee081ca1a3c3fb88f3' }))));
101
+ return (h("div", { key: '952b1eb133f00d22fd504a0975b2d23671e9898e', class: "bq-dropdown", part: "base" }, h("div", { key: 'b59b3aa571d0a463191687144def31d10302de59', class: "bq-dropdown__trigger block", "aria-controls": this.dropdownPanelId, "aria-haspopup": "true", onClick: this.togglePanel, part: "trigger" }, h("slot", { key: '18cde485c4085aaea0cdbd93861135156a48d01c', name: "trigger" })), h("bq-panel", { key: '136b936d68aa417ae6d69108f192f364dfa28687', 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: '92b21fb933471e42d1be39bc2e0bd6cc3b642b2b' }))));
102
102
  }
103
103
  static get is() { return "bq-dropdown"; }
104
104
  static get encapsulation() { return "shadow"; }
@@ -58,11 +58,11 @@ export class BqEmptyState {
58
58
  // Always the last one in the class.
59
59
  // ===================================
60
60
  render() {
61
- return (h("div", { key: 'b90615e659a6cac45327e8c696189bbd13c29507', class: "inline-flex flex-col items-center", part: "wrapper" }, h("div", { key: 'b6042b2a9882fa0c1d144c429f310f544603b765', class: {
61
+ return (h("div", { key: 'edbbd39b9a17ead9e468197c44baade22dc48e94', class: "inline-flex flex-col items-center", part: "wrapper" }, h("div", { key: 'a40b8a7186614deeb705a98ffd32a35e91d47684', class: {
62
62
  'm-be-m': this.size === 'small',
63
63
  'm-be-xl': this.size === 'medium',
64
64
  'm-be-xxl': this.size === 'large',
65
- }, part: "thumbnail" }, h("slot", { key: '0591ec8aeedbf24b9591c771439f7152b0ede783', name: "thumbnail" }, h("bq-icon", { key: 'fa71af7602f1711fb137082030af4196ca9be7da', size: this.iconSize, name: "database", part: "icon", exportparts: "base,svg" }))), h("div", { key: '0df3edf598038dadca2cf6e31629f5a7fbbcaefe', class: {
65
+ }, part: "thumbnail" }, h("slot", { key: '7fd61415c33d06a0e083dd9cfd71d2beb6fece94', name: "thumbnail" }, h("bq-icon", { key: '13f20586539db6b31b21361d749e3f87e58b9176', size: this.iconSize, name: "database", part: "icon", exportparts: "base,svg" }))), h("div", { key: '0b0cbf179c5f4c4b7199aaea8b64d57c1081f18d', class: {
66
66
  'title-font font-bold leading-regular text-text-primary': true,
67
67
  'text-m': this.size === 'small',
68
68
  'text-l': this.size === 'medium',
@@ -70,7 +70,7 @@ export class BqEmptyState {
70
70
  'm-be-xs': this.size === 'small' && this.hasBody,
71
71
  'm-be-m': this.size === 'medium' && this.hasBody,
72
72
  'm-be-l': this.size === 'large' && this.hasBody,
73
- }, part: "title" }, h("slot", { key: 'c72a86306c641ddf07b9b43e2b4a387bcb274595' })), h("div", { key: 'bf5ea4bbde69a6e8ff1213844a479358f792f530', class: {
73
+ }, part: "title" }, h("slot", { key: '6b7573b0a9dd1643a70addac73e5a81c230a345b' })), h("div", { key: '43d6a20cb5dff348f89d8000a1429e43cc24660d', class: {
74
74
  'font-normal leading-regular': true,
75
75
  'text-s': this.size === 'small',
76
76
  'text-m': this.size === 'medium',
@@ -78,7 +78,7 @@ export class BqEmptyState {
78
78
  'm-be-m': this.size === 'small' && this.hasFooter,
79
79
  'm-be-l': this.size === 'medium' && this.hasFooter,
80
80
  'm-be-xl': this.size === 'large' && this.hasFooter,
81
- }, ref: (div) => (this.bodyElem = div), part: "body" }, h("slot", { key: '4dfcf2f72ad4cd972373ac9b0040b0a8685e6a70', name: "body", onSlotchange: this.handleContentSlotChange })), h("div", { key: '51b98d98e2d09ab0b14c8c63e0559eebd46844c2', class: { 'flex items-start gap-xs': true }, ref: (div) => (this.footerElem = div), part: "footer" }, h("slot", { key: 'd81630f3a9cf1a98f9adbfa759e4e02671961823', name: "footer", onSlotchange: this.handleFooterSlotChange }))));
81
+ }, ref: (div) => (this.bodyElem = div), part: "body" }, h("slot", { key: '42a967e534f2806881bc1c27baad90f7d8174693', name: "body", onSlotchange: this.handleContentSlotChange })), h("div", { key: '4196f39c435a23d92494af48b7a7724b7354f7a2', class: { 'flex items-start gap-xs': true }, ref: (div) => (this.footerElem = div), part: "footer" }, h("slot", { key: '93586a303fc4c43c06d32755a506c9fce16c98a4', name: "footer", onSlotchange: this.handleFooterSlotChange }))));
82
82
  }
83
83
  static get is() { return "bq-empty-state"; }
84
84
  static get encapsulation() { return "shadow"; }
@@ -25,6 +25,12 @@ export class BqIcon {
25
25
  // Internal business logic.
26
26
  // These methods cannot be called from the host element.
27
27
  // =======================================================
28
+ this.setupIconComponent = () => {
29
+ this.loadIcon(this.name);
30
+ // !TO BE REMOVED: Delete this once the deprecated `weight` property is removed
31
+ if (!isNil(this.weight))
32
+ this.handleWeightChange();
33
+ };
28
34
  this.getIconSource = (name) => {
29
35
  if (!this.name && !this.src)
30
36
  return;
@@ -80,10 +86,10 @@ export class BqIcon {
80
86
  // Ordered by their natural call order
81
87
  // =====================================
82
88
  connectedCallback() {
83
- this.handlePropsChange();
84
- // !TO BE REMOVED: Delete this once the deprecated `weight` property is removed
85
- if (!isNil(this.weight))
86
- this.handleWeightChange();
89
+ this.setupIconComponent();
90
+ }
91
+ componentWillLoad() {
92
+ this.setupIconComponent();
87
93
  }
88
94
  // render() function
89
95
  // Always the last one in the class.
@@ -94,7 +100,7 @@ export class BqIcon {
94
100
  ...(this.color && { '--bq-icon--color': getColorCSSVariable(this.color) }),
95
101
  ...(this.size && { '--bq-icon--size': `${this.size}px` }),
96
102
  };
97
- return (h(Host, { key: 'b9779cb2a449a9ed5e1b1527c032ac063eb2ddfa', style: styles }, h("div", { key: '523947c4b80904049f194e369f7edce91dca43de', "aria-label": (_a = this.label) !== null && _a !== void 0 ? _a : `${this.name} icon`, class: "flex text-[color:--bq-icon--color] bs-[--bq-icon--size] is-[--bq-icon--size]", innerHTML: this._svgContent, part: "base", role: "img" })));
103
+ return (h(Host, { key: '69753077792209616891575d12aeeefbd767f29c', style: styles }, h("div", { key: 'b7df52fa6437e598b9a79e686c9b036cd3dbe864', "aria-label": (_a = this.label) !== null && _a !== void 0 ? _a : `${this.name} icon`, class: "flex text-[color:--bq-icon--color] bs-[--bq-icon--size] is-[--bq-icon--size]", innerHTML: this._svgContent, part: "base", role: "img" })));
98
104
  }
99
105
  static get is() { return "bq-icon"; }
100
106
  static get encapsulation() { return "shadow"; }
@@ -153,8 +159,8 @@ export class BqIcon {
153
159
  "resolved": "string",
154
160
  "references": {}
155
161
  },
156
- "required": true,
157
- "optional": false,
162
+ "required": false,
163
+ "optional": true,
158
164
  "docs": {
159
165
  "tags": [],
160
166
  "text": "Icon name to load. Please check all available icons [here](https://phosphoricons.com/)"
@@ -1 +1 @@
1
- {"version":3,"file":"bq-icon.js","sourceRoot":"","sources":["../../../../../../src/components/icon/bq-icon.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, Event, EventEmitter, h, Host, Prop, State, Watch } from '@stencil/core';\n\nimport { TIconWeight } from './bq-icon.types';\nimport { getSvgContent, iconContent } from './helper/request';\nimport { getBasePath, getColorCSSVariable, isNil } from '../../shared/utils';\n\n/**\n * Icons are simplified images that graphically explain the meaning of an object on the screen.\n *\n * @part base - The component's internal wrapper that holds the icon SVG content.\n * @part svg - The `<svg>` tag element inside the component.\n */\n@Component({\n assetsDirs: ['svg'],\n tag: 'bq-icon',\n styleUrl: './scss/bq-icon.scss',\n shadow: true,\n})\nexport class BqIcon {\n // Own Properties\n // ====================\n\n // Reference to host HTML element\n // ===================================\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n @State() private _svgContent: string;\n\n // Public Property API\n // ========================\n\n /** Label for the icon, used for accessibility */\n @Prop({ reflect: true }) label?: string;\n\n /** Set the stroke color of the SVG. The value should be a valid value of the palette color */\n @Prop({ reflect: true }) color?: string;\n\n /** Icon name to load. Please check all available icons [here](https://phosphoricons.com/) */\n @Prop({ reflect: true }) name!: string;\n\n /** Set the size of the SVG */\n @Prop({ reflect: true }) size?: string | number = 24;\n\n /** Set the source of the SVG. If the source is set, the name property will be ignored */\n @Prop({ reflect: true }) src?: string;\n\n /** @deprecated It set the icon weight/style */\n @Prop({ reflect: true }) weight?: TIconWeight = undefined;\n\n // Prop lifecycle events\n // =======================\n\n @Watch('color')\n @Watch('name')\n @Watch('size')\n handlePropsChange() {\n this.loadIcon(this.name);\n }\n\n /**\n * !TO BE REMOVED: Delete this `@Watch()` once the deprecated `weight` property is removed\n * We need to maintain retro-compatibility until the next major release\n */\n @Watch('weight')\n handleWeightChange() {\n if (this.name.includes(this.weight)) return;\n\n console.warn(\n `❗️ [bq-icon]: the 'weight' property is deprecated, you should add the weight to the icon name.\\n\n For example, '<bq-icon name=\"bell-fill\"></bq-icon>' instead of '<bq-icon name=\"bell\" weight=\"fill\"></bq-icon>'`,\n );\n // Check if the icon is weighted. An icon is considered weighted if its weight is not 'regular' and ENV_SVG_PATH is not set.\n // Eg: if the weight is 'bold' and ENV_SVG_PATH is not set, isWeightedIcon will be true.\n const REGULAR = 'regular';\n const isWeightedIcon = !isNil(this.weight) && this.weight !== REGULAR;\n // If the icon is weighted, append the weight to the icon name. Otherwise, append nothing.\n // Eg: if isWeightedIcon is true and the weight is 'bold', weightSuffix will be '-bold'.\n const weightSuffix = isWeightedIcon ? `-${this.weight}` : '';\n // Construct the icon name by appending the weight suffix (if any) and the file extension.\n // Eg: if the name is 'my-icon' and weightSuffix is '-bold', iconName will be 'my-icon-bold.svg'.\n const iconName = `${this.name}${weightSuffix}`;\n this.loadIcon(iconName);\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n /** Callback handler to be called when the SVG has loaded */\n @Event() svgLoaded: EventEmitter;\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n connectedCallback() {\n this.handlePropsChange();\n\n // !TO BE REMOVED: Delete this once the deprecated `weight` property is removed\n if (!isNil(this.weight)) this.handleWeightChange();\n }\n\n // Listeners\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 getIconSource = (name: string) => {\n if (!this.name && !this.src) return;\n // Return the src if it is set\n if (this.src) return this.src;\n\n const SVG_EXTENSION = '.svg';\n const iconFileName = `${name}${SVG_EXTENSION}`;\n\n return getBasePath(iconFileName);\n };\n\n private loadIcon = (name: string) => {\n const url = this.getIconSource(name);\n getSvgContent(url, true).then(() => {\n this._svgContent = iconContent.get(url);\n this.svgLoaded.emit(this._svgContent);\n });\n };\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n const styles = {\n ...(this.color && { '--bq-icon--color': getColorCSSVariable(this.color) }),\n ...(this.size && { '--bq-icon--size': `${this.size}px` }),\n };\n\n return (\n <Host style={styles}>\n <div\n aria-label={this.label ?? `${this.name} icon`}\n class=\"flex text-[color:--bq-icon--color] bs-[--bq-icon--size] is-[--bq-icon--size]\"\n innerHTML={this._svgContent}\n part=\"base\"\n role=\"img\"\n />\n </Host>\n );\n }\n}\n"]}
1
+ {"version":3,"file":"bq-icon.js","sourceRoot":"","sources":["../../../../../../src/components/icon/bq-icon.tsx"],"names":[],"mappings":"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","sourcesContent":["import { Component, Event, EventEmitter, h, Host, Prop, State, Watch } from '@stencil/core';\n\nimport { TIconWeight } from './bq-icon.types';\nimport { getSvgContent, iconContent } from './helper/request';\nimport { getBasePath, getColorCSSVariable, isNil } from '../../shared/utils';\n\n/**\n * Icons are simplified images that graphically explain the meaning of an object on the screen.\n *\n * @part base - The component's internal wrapper that holds the icon SVG content.\n * @part svg - The `<svg>` tag element inside the component.\n */\n@Component({\n assetsDirs: ['svg'],\n tag: 'bq-icon',\n styleUrl: './scss/bq-icon.scss',\n shadow: true,\n})\nexport class BqIcon {\n // Own Properties\n // ====================\n\n // Reference to host HTML element\n // ===================================\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n @State() private _svgContent: string;\n\n // Public Property API\n // ========================\n\n /** Label for the icon, used for accessibility */\n @Prop({ reflect: true }) label?: string;\n\n /** Set the stroke color of the SVG. The value should be a valid value of the palette color */\n @Prop({ reflect: true }) color?: string;\n\n /** Icon name to load. Please check all available icons [here](https://phosphoricons.com/) */\n @Prop({ reflect: true }) name?: string;\n\n /** Set the size of the SVG */\n @Prop({ reflect: true }) size?: string | number = 24;\n\n /** Set the source of the SVG. If the source is set, the name property will be ignored */\n @Prop({ reflect: true }) src?: string;\n\n /** @deprecated It set the icon weight/style */\n @Prop({ reflect: true }) weight?: TIconWeight = undefined;\n\n // Prop lifecycle events\n // =======================\n\n @Watch('color')\n @Watch('name')\n @Watch('size')\n handlePropsChange() {\n this.loadIcon(this.name);\n }\n\n /**\n * !TO BE REMOVED: Delete this `@Watch()` once the deprecated `weight` property is removed\n * We need to maintain retro-compatibility until the next major release\n */\n @Watch('weight')\n handleWeightChange() {\n if (this.name.includes(this.weight)) return;\n\n console.warn(\n `❗️ [bq-icon]: the 'weight' property is deprecated, you should add the weight to the icon name.\\n\n For example, '<bq-icon name=\"bell-fill\"></bq-icon>' instead of '<bq-icon name=\"bell\" weight=\"fill\"></bq-icon>'`,\n );\n // Check if the icon is weighted. An icon is considered weighted if its weight is not 'regular' and ENV_SVG_PATH is not set.\n // Eg: if the weight is 'bold' and ENV_SVG_PATH is not set, isWeightedIcon will be true.\n const REGULAR = 'regular';\n const isWeightedIcon = !isNil(this.weight) && this.weight !== REGULAR;\n // If the icon is weighted, append the weight to the icon name. Otherwise, append nothing.\n // Eg: if isWeightedIcon is true and the weight is 'bold', weightSuffix will be '-bold'.\n const weightSuffix = isWeightedIcon ? `-${this.weight}` : '';\n // Construct the icon name by appending the weight suffix (if any) and the file extension.\n // Eg: if the name is 'my-icon' and weightSuffix is '-bold', iconName will be 'my-icon-bold.svg'.\n const iconName = `${this.name}${weightSuffix}`;\n this.loadIcon(iconName);\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n /** Callback handler to be called when the SVG has loaded */\n @Event() svgLoaded: EventEmitter;\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n connectedCallback() {\n this.setupIconComponent();\n }\n\n componentWillLoad() {\n this.setupIconComponent();\n }\n\n // Listeners\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 setupIconComponent = () => {\n this.loadIcon(this.name);\n // !TO BE REMOVED: Delete this once the deprecated `weight` property is removed\n if (!isNil(this.weight)) this.handleWeightChange();\n };\n\n private getIconSource = (name: string) => {\n if (!this.name && !this.src) return;\n // Return the src if it is set\n if (this.src) return this.src;\n\n const SVG_EXTENSION = '.svg';\n const iconFileName = `${name}${SVG_EXTENSION}`;\n\n return getBasePath(iconFileName);\n };\n\n private loadIcon = (name: string) => {\n const url = this.getIconSource(name);\n getSvgContent(url, true).then(() => {\n this._svgContent = iconContent.get(url);\n this.svgLoaded.emit(this._svgContent);\n });\n };\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n const styles = {\n ...(this.color && { '--bq-icon--color': getColorCSSVariable(this.color) }),\n ...(this.size && { '--bq-icon--size': `${this.size}px` }),\n };\n\n return (\n <Host style={styles}>\n <div\n aria-label={this.label ?? `${this.name} icon`}\n class=\"flex text-[color:--bq-icon--color] bs-[--bq-icon--size] is-[--bq-icon--size]\"\n innerHTML={this._svgContent}\n part=\"base\"\n role=\"img\"\n />\n </Host>\n );\n }\n}\n"]}
@@ -151,19 +151,19 @@ export class BqInput {
151
151
  // Always the last one in the class.
152
152
  // ===================================
153
153
  render() {
154
- return (h("div", { key: 'c9d184b8abfbaebda3478f7b8892c7d2bf024fdc', class: "bq-input", part: "base" }, h("label", { key: 'a938804cb78f78b65c1c2139d90fd98e5edecb52', class: { 'bq-input--label': true, '!hidden': !this.hasLabel }, htmlFor: this.name || this.fallbackInputId, ref: (labelElem) => (this.labelElem = labelElem), part: "label" }, h("slot", { key: '37c407ab1b0399be8371629431d839f138f751df', name: "label", onSlotchange: this.handleLabelSlotChange })), h("div", { key: '130305745ed36bbe2d1012508f3ae2653b6794b2', class: {
154
+ return (h("div", { key: '6456eb631d27ddd492c0d91d0b694f51694f2c76', class: "bq-input", part: "base" }, h("label", { key: '5c095c3f025473c6956c83875fb9a7b016ee1066', class: { 'bq-input--label': true, '!hidden': !this.hasLabel }, htmlFor: this.name || this.fallbackInputId, ref: (labelElem) => (this.labelElem = labelElem), part: "label" }, h("slot", { key: 'b407395cb6be17281329181390e1eaaecfb424c1', name: "label", onSlotchange: this.handleLabelSlotChange })), h("div", { key: 'f9935a3468bf0804556454c8179a05e1e787abdd', class: {
155
155
  'bq-input--control': true,
156
156
  [`validation-${this.validationStatus}`]: true,
157
157
  disabled: this.disabled,
158
- }, part: "control" }, h("span", { key: '59c8d5f28373cae3741f4420da1fbc4744869806', class: { 'bq-input--control__prefix': true, '!hidden': !this.hasPrefix }, ref: (spanElem) => (this.prefixElem = spanElem), part: "prefix" }, h("slot", { key: '4f6a705b9a4e7deb46e334c11c6b242b091afec6', name: "prefix", onSlotchange: this.handlePrefixSlotChange })), h("input", { key: '6c238b5c2329d3f77dd4cb8a0aac9ffbfc937aad', id: this.name || this.fallbackInputId, class: "bq-input--control__input", "aria-disabled": this.disabled ? 'true' : 'false', autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, disabled: this.disabled, form: this.form, inputMode: this.inputmode, max: this.max, maxLength: this.maxlength, min: this.min, minLength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, ref: (inputElem) => (this.inputElem = inputElem), readOnly: this.readonly, required: this.required, step: this.step, type: this.type, value: this.value, part: "input",
158
+ }, part: "control" }, h("span", { key: '2c25f0a47ff0493846eb633882bc1150c32c80d4', class: { 'bq-input--control__prefix': true, '!hidden': !this.hasPrefix }, ref: (spanElem) => (this.prefixElem = spanElem), part: "prefix" }, h("slot", { key: 'b14fca287d3f7d42b8ce610d2f1c53ac70afb061', name: "prefix", onSlotchange: this.handlePrefixSlotChange })), h("input", { key: 'a16c8d2d02da63455bca853e6176fc0071dec1ab', id: this.name || this.fallbackInputId, class: "bq-input--control__input", "aria-disabled": this.disabled ? 'true' : 'false', autoCapitalize: this.autocapitalize, autoComplete: this.autocomplete, autoCorrect: this.autocorrect, autoFocus: this.autofocus, disabled: this.disabled, form: this.form, inputMode: this.inputmode, max: this.max, maxLength: this.maxlength, min: this.min, minLength: this.minlength, name: this.name, pattern: this.pattern, placeholder: this.placeholder, ref: (inputElem) => (this.inputElem = inputElem), readOnly: this.readonly, required: this.required, step: this.step, type: this.type, value: this.value, part: "input",
159
159
  // Events
160
160
  onBlur: this.handleBlur, onChange: this.handleChange, onFocus: this.handleFocus, onInput: this.handleInput }), this.hasValue && !this.disabled && !this.disableClear && (
161
161
  // The clear button will be visible as long as the input has a value
162
162
  // and the parent group is hovered or has focus-within
163
- h("bq-button", { key: 'bae89f316a8c7cfb04d1bcff8df6e418c93fa838', class: "bq-input--control__clear ms-[--bq-input--gap] hidden", appearance: "text", "aria-label": this.clearButtonLabel, size: "small", onBqClick: this.handleClearClick, part: "clear-btn", exportparts: "button" }, h("slot", { key: 'd00287e78d20d2fdcbac8aa89a3bb30c40c6b8f1', name: "clear-icon" }, h("bq-icon", { key: '9be1f57ece6cea670a5c7adc76fb70feb66663c5', name: "x-circle", class: "flex" })))), h("span", { key: '93421c6d1e061e2a19315d1d8aadbcc2a01f19c3', class: { 'bq-input--control__suffix': true, '!hidden': !this.hasSuffix }, ref: (spanElem) => (this.suffixElem = spanElem), part: "suffix" }, h("slot", { key: 'ccb589bdc3b227467885d728c82f3fcedacb1695', name: "suffix", onSlotchange: this.handleSuffixSlotChange }))), h("div", { key: 'b0374c936b4e3839ed936ade23ad59aa3c69cf9a', class: {
163
+ h("bq-button", { key: '4fdde3ef16fc5b31900240733ab0c822441503b6', class: "bq-input--control__clear ms-[--bq-input--gap] hidden", appearance: "text", "aria-label": this.clearButtonLabel, size: "small", onBqClick: this.handleClearClick, part: "clear-btn", exportparts: "button" }, h("slot", { key: 'e8ad23d8fd3c486a55c17a4baf53238c088885ea', name: "clear-icon" }, h("bq-icon", { key: '3402512e92cee84751d578503abd987063c0ee8e', name: "x-circle", class: "flex" })))), h("span", { key: 'f2d5f18b7522cb2f6af172b9f9584602604913c5', class: { 'bq-input--control__suffix': true, '!hidden': !this.hasSuffix }, ref: (spanElem) => (this.suffixElem = spanElem), part: "suffix" }, h("slot", { key: 'cc5a7c6a0af31fc4758fc5f15da24a40d0d629c5', name: "suffix", onSlotchange: this.handleSuffixSlotChange }))), h("div", { key: 'eff9af8467d1473657417a391de9b6c035c8558a', class: {
164
164
  [`bq-input--helper-text validation-${this.validationStatus}`]: true,
165
165
  '!hidden': !this.hasHelperText,
166
- }, ref: (divElem) => (this.helperTextElem = divElem), part: "helper-text" }, h("slot", { key: 'a0a8c8d546efa959d6126e96ddf97a702263026f', name: "helper-text", onSlotchange: this.handleHelperTextSlotChange }))));
166
+ }, ref: (divElem) => (this.helperTextElem = divElem), part: "helper-text" }, h("slot", { key: '0682443b71ba03cfc586399c379cf14ee1f58c4e', name: "helper-text", onSlotchange: this.handleHelperTextSlotChange }))));
167
167
  }
168
168
  static get is() { return "bq-input"; }
169
169
  static get encapsulation() { return "shadow"; }
@@ -5,7 +5,7 @@
5
5
  import { h, Host } from "@stencil/core";
6
6
  import { NOTIFICATION_TYPE } from "./bq-notification.types";
7
7
  import { debounce, enter, hasSlotContent, leave, validatePropValue } from "../../shared/utils";
8
- const notificationPortal = Object.assign(document.createElement('div'), { className: 'bq-notification-portal' });
8
+ const NOTIFICATION_PORTAL_SELECTOR = 'bq-notification-portal';
9
9
  /**
10
10
  * @part base - The `<div>` container of the predefined bq-icon component.
11
11
  * @part body - The container `<div>` that wraps the notification description content
@@ -18,6 +18,12 @@ const notificationPortal = Object.assign(document.createElement('div'), { classN
18
18
  * @part svg - The `<svg>` element of the predefined bq-icon component.
19
19
  * @part title - The container `<div>` that wraps the notification title content
20
20
  * @part wrapper - The wrapper container `<div>` of the element inside the shadow DOM
21
+ *
22
+ * @slot - The notification title content
23
+ * @slot body - The notification description content
24
+ * @slot footer - The notification footer content
25
+ * @slot icon - The icon to be displayed in the notification
26
+ * @slot btn-close - The close button of the notification
21
27
  */
22
28
  export class BqNotification {
23
29
  constructor() {
@@ -56,6 +62,7 @@ export class BqNotification {
56
62
  };
57
63
  this.hasContent = false;
58
64
  this.hasFooter = false;
65
+ this.notificationPortal = document.querySelector(`.${NOTIFICATION_PORTAL_SELECTOR}`);
59
66
  this.autoDismiss = undefined;
60
67
  this.border = 's';
61
68
  this.disableClose = undefined;
@@ -91,6 +98,14 @@ export class BqNotification {
91
98
  // Component lifecycle events
92
99
  // Ordered by their natural call order
93
100
  // =====================================
101
+ connectedCallback() {
102
+ const { notificationPortal } = this;
103
+ if (!notificationPortal) {
104
+ this.notificationPortal = Object.assign(document.createElement('div'), {
105
+ className: NOTIFICATION_PORTAL_SELECTOR,
106
+ });
107
+ }
108
+ }
94
109
  componentWillLoad() {
95
110
  this.checkPropValues();
96
111
  this.handleTimeout();
@@ -99,9 +114,10 @@ export class BqNotification {
99
114
  // ==============
100
115
  afterNotificationClose() {
101
116
  try {
117
+ const { notificationPortal } = this;
102
118
  notificationPortal.removeChild(this.el);
103
119
  // Remove the notification portal from the DOM when there are no more notifications
104
- if (notificationPortal.querySelector('bq-notification') === null) {
120
+ if (notificationPortal.querySelector(this.el.tagName.toLowerCase()) === null) {
105
121
  notificationPortal.remove();
106
122
  }
107
123
  }
@@ -131,25 +147,22 @@ export class BqNotification {
131
147
  }
132
148
  /** This method can be used to display notifications in a fixed-position element that allows for stacking multiple notifications vertically */
133
149
  async toast() {
134
- if (notificationPortal.parentElement === null) {
150
+ const { notificationPortal } = this;
151
+ if ((notificationPortal === null || notificationPortal === void 0 ? void 0 : notificationPortal.parentElement) === null) {
135
152
  document.body.append(notificationPortal);
136
153
  }
137
- notificationPortal.appendChild(this.el);
154
+ notificationPortal === null || notificationPortal === void 0 ? void 0 : notificationPortal.appendChild(this.el);
138
155
  requestAnimationFrame(() => {
139
156
  this.show();
140
157
  });
141
158
  }
142
159
  get iconName() {
143
- switch (this.type) {
144
- case 'error':
145
- return 'x-circle';
146
- case 'success':
147
- return 'check-circle';
148
- case 'warning':
149
- return 'warning-circle';
150
- default:
151
- return 'info';
152
- }
160
+ const typeMap = {
161
+ error: 'x-circle',
162
+ success: 'check-circle',
163
+ warning: 'warning-circle',
164
+ };
165
+ return typeMap[this.type] || 'info';
153
166
  }
154
167
  // render() function
155
168
  // Always the last one in the class.
@@ -158,11 +171,11 @@ export class BqNotification {
158
171
  const style = {
159
172
  ...(this.border && { '--bq-notification--border-radius': `var(--bq-radius--${this.border})` }),
160
173
  };
161
- return (h(Host, { key: '1e67fa4060bf1d2f984bf721deb67795df6d8739', style: style, class: { 'is-hidden': !this.open }, "aria-hidden": !this.open ? 'true' : 'false', hidden: !this.open ? 'true' : 'false', role: "alert" }, h("div", { key: 'cab0d46840368ff89ad7610cddcab8cdc4f865b1', class: "bq-notification", "data-transition-enter": "transform transition ease-out duration-300", "data-transition-enter-start": "translate-y-xs opacity-0 sm:translate-y-0 sm:translate-x-s", "data-transition-enter-end": "translate-y-0 opacity-100 sm:translate-x-0", "data-transition-leave": "transform transition ease-in duration-100", "data-transition-leave-start": "translate-y-0 opacity-100 sm:translate-x-0", "data-transition-leave-end": "-translate-y-xs opacity-0 sm:translate-y-0 sm:translate-x-s", ref: (div) => (this.notificationElem = div), part: "wrapper" }, !this.disableClose && (h("bq-button", { key: '7c65d537da079924637f7ccea87b6d690236cf2b', class: "notification--close absolute inset-ie-5", appearance: "text", size: "small", onClick: () => this.hide(), part: "btn-close" }, h("bq-icon", { key: 'ba649babc47708fb866bf976bee6c05c485e7013', name: "x" }))), h("div", { key: '571369c005f0ee05dcfbcb2456c3909e8df2065b', class: {
174
+ return (h(Host, { key: '4f0f1bb7d3b014811a0fba39de5779ccffcb1662', style: style, class: { 'is-hidden': !this.open }, "aria-hidden": !this.open ? 'true' : 'false', hidden: !this.open ? 'true' : 'false', role: "alert" }, h("div", { key: '8a98766cf1c67154a6c9640dc86f6df41fbaa382', class: "bq-notification", "data-transition-enter": "transform transition ease-out duration-300", "data-transition-enter-start": "translate-y-xs opacity-0 sm:translate-y-0 sm:translate-x-s", "data-transition-enter-end": "translate-y-0 opacity-100 sm:translate-x-0", "data-transition-leave": "transform transition ease-in duration-100", "data-transition-leave-start": "translate-y-0 opacity-100 sm:translate-x-0", "data-transition-leave-end": "-translate-y-xs opacity-0 sm:translate-y-0 sm:translate-x-s", ref: (div) => (this.notificationElem = div), part: "wrapper" }, !this.disableClose && (h("bq-button", { key: '727c5255aa20c84716e42ee1f46f40266fbb3762', class: "notification--close absolute inset-ie-5 [&::part(label)]:inline-flex", appearance: "text", size: "small", onClick: () => this.hide(), part: "btn-close" }, h("slot", { key: 'd0b86246fca4af363efe8c356c2c8d25e528d940', name: "btn-close" }, h("bq-icon", { key: '033d5aa584962f83442f3c3738ff8d559e5076a4', name: "x" })))), h("div", { key: '3ecbf91961be74c3cbf373faac6c5e5acc283f4a', class: {
162
175
  '!hidden': this.hideIcon,
163
176
  [`color-${this.type}`]: true, // The icon color will be based on the type (info, success, warning, error)
164
177
  'notification--icon me-xs flex text-left align-top': true,
165
- }, part: "icon-outline" }, h("slot", { key: '5e027aee231ed52ab73cd3e7fa298541038103da', name: "icon" }, h("bq-icon", { key: 'cfe0f397487cbd7680228400290f6efcf5c40ea2', name: this.iconName, part: "icon", exportparts: "base,svg" }))), h("div", { key: 'fa673a938aa0a8c988acc4d39ea6e49d374cb64e', class: "flex flex-col items-start gap-[--bq-notification--content-footer-gap]", part: "main" }, h("div", { key: 'a145f425bf0fe0487d212a55cd3599a0ce428ce7', class: "flex flex-col gap-[--bq-notification--title-body-gap]", part: "content" }, h("div", { key: '235a808554b7e274e6a1d654114fc803510c4b61', class: "title-font font-semibold leading-regular", part: "title" }, h("slot", { key: '597ce6212b45c4a5f9eeaaf241933d793706f1f7' })), h("div", { key: '785144a527dc95f25c45ac500b6b8da732e6d25e', class: { 'text-s leading-regular': true, '!hidden': !this.hasContent }, ref: (div) => (this.bodyElem = div), part: "body" }, h("slot", { key: '916905e82bc4b486cb3d7800edadf71d231ae85c', name: "body", onSlotchange: this.handleContentSlotChange }))), h("div", { key: '6bd42d15d7d793075a5445ec909454955cb8e3c1', class: { 'flex items-start gap-xs': true, '!hidden': !this.hasFooter }, ref: (div) => (this.footerElem = div), part: "footer" }, h("slot", { key: 'ebe254ab8c6c687c68c7bbbcb7427b9ac051f725', name: "footer", onSlotchange: this.handleFooterSlotChange }))))));
178
+ }, part: "icon-outline" }, h("slot", { key: 'b253eb56bbeda313ba734bc50295165c295fc6d7', name: "icon" }, h("bq-icon", { key: '3f67f0070f5a0ea679ab8e6a12389ec13dbe3f06', name: this.iconName, part: "icon", exportparts: "base,svg" }))), h("div", { key: '3af243d4711a1c6b26ea715d5697fd5143865400', class: "flex flex-col items-start gap-[--bq-notification--content-footer-gap]", part: "main" }, h("div", { key: '0230a3c19b9175b49634484bf119074023cccb80', class: "flex flex-col gap-[--bq-notification--title-body-gap]", part: "content" }, h("div", { key: 'af66909c83a639a775785f73d5a8868c6950e3a3', class: "title-font font-semibold leading-regular", part: "title" }, h("slot", { key: '1772d3848388ab66f810d94e4eab0fe6098761f2' })), h("div", { key: 'c43b1ebffed06675104d9005993ef3bcf693868f', class: { 'text-s leading-regular': true, '!hidden': !this.hasContent }, ref: (div) => (this.bodyElem = div), part: "body" }, h("slot", { key: 'bd11c03f62ccf2c87142ab426a8e6bb698fbd95d', name: "body", onSlotchange: this.handleContentSlotChange }))), h("div", { key: '5dad8a74c5a851e686df40a6e21fbe629728a480', class: { 'flex items-start gap-xs': true, '!hidden': !this.hasFooter }, ref: (div) => (this.footerElem = div), part: "footer" }, h("slot", { key: 'a5a182734b5c50527f3460918a351f95f88f8964', name: "footer", onSlotchange: this.handleFooterSlotChange }))))));
166
179
  }
167
180
  static get is() { return "bq-notification"; }
168
181
  static get encapsulation() { return "shadow"; }
@@ -317,7 +330,8 @@ export class BqNotification {
317
330
  static get states() {
318
331
  return {
319
332
  "hasContent": {},
320
- "hasFooter": {}
333
+ "hasFooter": {},
334
+ "notificationPortal": {}
321
335
  };
322
336
  }
323
337
  static get events() {