@beeq/core 1.11.0-beta.2 → 1.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (629) hide show
  1. package/dist/beeq/beeq.esm.js +1 -1
  2. package/dist/beeq/beeq.esm.js.map +1 -1
  3. package/dist/beeq/bq-accordion-group.entry.esm.js.map +1 -1
  4. package/dist/beeq/bq-accordion.entry.esm.js.map +1 -1
  5. package/dist/beeq/bq-alert.entry.esm.js.map +1 -1
  6. package/dist/beeq/bq-avatar.entry.esm.js.map +1 -1
  7. package/dist/beeq/bq-badge.entry.esm.js.map +1 -1
  8. package/dist/beeq/bq-breadcrumb-item.entry.esm.js.map +1 -1
  9. package/dist/beeq/bq-breadcrumb.entry.esm.js.map +1 -1
  10. package/dist/beeq/bq-button.bq-icon.entry.esm.js.map +1 -1
  11. package/dist/beeq/bq-card.entry.esm.js.map +1 -1
  12. package/dist/beeq/bq-checkbox.entry.esm.js.map +1 -1
  13. package/dist/beeq/bq-date-picker.entry.esm.js.map +1 -1
  14. package/dist/beeq/bq-dialog.entry.esm.js.map +1 -1
  15. package/dist/beeq/bq-divider.entry.esm.js.map +1 -1
  16. package/dist/beeq/bq-drawer.entry.esm.js.map +1 -1
  17. package/dist/beeq/bq-dropdown.bq-panel.entry.esm.js.map +1 -1
  18. package/dist/beeq/bq-empty-state.entry.esm.js.map +1 -1
  19. package/dist/beeq/bq-input.entry.esm.js.map +1 -1
  20. package/dist/beeq/bq-notification.entry.esm.js.map +1 -1
  21. package/dist/beeq/bq-option-group.entry.esm.js.map +1 -1
  22. package/dist/beeq/bq-option-list.bq-tag.entry.esm.js.map +1 -1
  23. package/dist/beeq/bq-option.entry.esm.js.map +1 -1
  24. package/dist/beeq/bq-page-title.entry.esm.js.map +1 -1
  25. package/dist/beeq/bq-progress.entry.esm.js.map +1 -1
  26. package/dist/beeq/bq-radio-group.entry.esm.js.map +1 -1
  27. package/dist/beeq/bq-radio.entry.esm.js.map +1 -1
  28. package/dist/beeq/bq-select.entry.esm.js.map +1 -1
  29. package/dist/beeq/bq-side-menu-item.entry.esm.js.map +1 -1
  30. package/dist/beeq/bq-side-menu.entry.esm.js.map +1 -1
  31. package/dist/beeq/bq-slider.entry.esm.js.map +1 -1
  32. package/dist/beeq/bq-spinner.entry.esm.js.map +1 -1
  33. package/dist/beeq/bq-status.entry.esm.js.map +1 -1
  34. package/dist/beeq/bq-step-item.entry.esm.js.map +1 -1
  35. package/dist/beeq/bq-steps.entry.esm.js.map +1 -1
  36. package/dist/beeq/bq-switch.entry.esm.js.map +1 -1
  37. package/dist/beeq/bq-tab-group.entry.esm.js.map +1 -1
  38. package/dist/beeq/bq-tab.entry.esm.js.map +1 -1
  39. package/dist/beeq/bq-textarea.entry.esm.js.map +1 -1
  40. package/dist/beeq/bq-toast.entry.esm.js.map +1 -1
  41. package/dist/beeq/bq-tooltip.entry.esm.js.map +1 -1
  42. package/dist/beeq/index.esm.js +1 -1
  43. package/dist/beeq/index.esm.js.map +1 -1
  44. package/dist/beeq/{p-6eb0f643.entry.js → p-0bf5e367.entry.js} +2 -2
  45. package/dist/beeq/p-0bf5e367.entry.js.map +1 -0
  46. package/dist/beeq/{p-acec3250.entry.js → p-16defa87.entry.js} +2 -2
  47. package/dist/beeq/{p-acec3250.entry.js.map → p-16defa87.entry.js.map} +1 -1
  48. package/dist/beeq/{p-e1450a16.entry.js → p-17de1ba4.entry.js} +2 -2
  49. package/dist/beeq/{p-e1450a16.entry.js.map → p-17de1ba4.entry.js.map} +1 -1
  50. package/dist/beeq/p-1df8fe61.entry.js +6 -0
  51. package/dist/beeq/p-1df8fe61.entry.js.map +1 -0
  52. package/dist/beeq/{p-c7471d26.entry.js → p-24749f67.entry.js} +2 -2
  53. package/dist/beeq/{p-c7471d26.entry.js.map → p-24749f67.entry.js.map} +1 -1
  54. package/dist/beeq/{p-92fed771.entry.js → p-38add122.entry.js} +2 -2
  55. package/dist/beeq/p-38add122.entry.js.map +1 -0
  56. package/dist/beeq/{p-14588d1f.entry.js → p-454fa535.entry.js} +2 -2
  57. package/dist/beeq/{p-14588d1f.entry.js.map → p-454fa535.entry.js.map} +1 -1
  58. package/dist/beeq/{p-0e481031.entry.js → p-4647a0fb.entry.js} +2 -2
  59. package/dist/beeq/{p-0e481031.entry.js.map → p-4647a0fb.entry.js.map} +1 -1
  60. package/dist/beeq/{p-ba7572f4.entry.js → p-4725a142.entry.js} +2 -2
  61. package/dist/beeq/{p-ba7572f4.entry.js.map → p-4725a142.entry.js.map} +1 -1
  62. package/dist/beeq/{p-73054d34.entry.js → p-51351eed.entry.js} +2 -2
  63. package/dist/beeq/p-51351eed.entry.js.map +1 -0
  64. package/dist/beeq/{p-84c96afc.entry.js → p-5b0a56e7.entry.js} +2 -2
  65. package/dist/beeq/p-5b0a56e7.entry.js.map +1 -0
  66. package/dist/beeq/{p-28788a48.entry.js → p-5c23324d.entry.js} +2 -2
  67. package/dist/beeq/p-5c23324d.entry.js.map +1 -0
  68. package/dist/beeq/p-5dd30c4c.entry.js +6 -0
  69. package/dist/beeq/p-5dd30c4c.entry.js.map +1 -0
  70. package/dist/beeq/{p-bcd00932.entry.js → p-5df7df5d.entry.js} +2 -2
  71. package/dist/beeq/p-5df7df5d.entry.js.map +1 -0
  72. package/dist/beeq/{p-1f8cc15c.entry.js → p-5e8c8e90.entry.js} +2 -2
  73. package/dist/beeq/{p-1f8cc15c.entry.js.map → p-5e8c8e90.entry.js.map} +1 -1
  74. package/dist/beeq/{p-b324e939.entry.js → p-662578a2.entry.js} +2 -2
  75. package/dist/beeq/{p-b324e939.entry.js.map → p-662578a2.entry.js.map} +1 -1
  76. package/dist/beeq/{p-f82cff9e.entry.js → p-6ae2ca4b.entry.js} +2 -2
  77. package/dist/beeq/{p-f82cff9e.entry.js.map → p-6ae2ca4b.entry.js.map} +1 -1
  78. package/dist/beeq/{p-3b1ef7e6.entry.js → p-7ca73c06.entry.js} +2 -2
  79. package/dist/beeq/p-7ca73c06.entry.js.map +1 -0
  80. package/dist/beeq/{p-61fe519c.entry.js → p-84e62655.entry.js} +2 -2
  81. package/dist/beeq/{p-61fe519c.entry.js.map → p-84e62655.entry.js.map} +1 -1
  82. package/dist/beeq/{p-afecb3f2.entry.js → p-93d6f4f0.entry.js} +2 -2
  83. package/dist/beeq/p-93d6f4f0.entry.js.map +1 -0
  84. package/dist/beeq/{p-3424586a.entry.js → p-9585221e.entry.js} +2 -2
  85. package/dist/beeq/p-9585221e.entry.js.map +1 -0
  86. package/dist/beeq/{p-9584ff4f.entry.js → p-9e9baa82.entry.js} +2 -2
  87. package/dist/beeq/{p-9584ff4f.entry.js.map → p-9e9baa82.entry.js.map} +1 -1
  88. package/dist/beeq/{p-DMf9D39m.js → p-BNvWMggA.js} +2 -2
  89. package/dist/beeq/{p-DMf9D39m.js.map → p-BNvWMggA.js.map} +1 -1
  90. package/dist/beeq/p-BOf9EC3C.js +7 -0
  91. package/dist/beeq/p-BOf9EC3C.js.map +1 -0
  92. package/dist/beeq/{p-Ci39rxuU.js → p-BRbYDZoo.js} +2 -2
  93. package/dist/beeq/{p-Ci39rxuU.js.map → p-BRbYDZoo.js.map} +1 -1
  94. package/dist/beeq/{p-D9ofIraD.js → p-CVw85-WU.js} +1 -1
  95. package/dist/beeq/p-CVw85-WU.js.map +1 -0
  96. package/dist/{components/p-C_mtknb1.js → beeq/p-CgIw4Syg.js} +2 -2
  97. package/dist/beeq/{p-C_mtknb1.js.map → p-CgIw4Syg.js.map} +1 -1
  98. package/dist/beeq/{p-895454b8.entry.js → p-b1d2e472.entry.js} +2 -2
  99. package/dist/beeq/{p-895454b8.entry.js.map → p-b1d2e472.entry.js.map} +1 -1
  100. package/dist/beeq/p-b7efb629.entry.js +6 -0
  101. package/dist/beeq/{p-4a726c36.entry.js.map → p-b7efb629.entry.js.map} +1 -1
  102. package/dist/beeq/{p-7bf79e31.entry.js → p-b88b2573.entry.js} +2 -2
  103. package/dist/beeq/p-b88b2573.entry.js.map +1 -0
  104. package/dist/beeq/p-bfca08f5.entry.js +6 -0
  105. package/dist/beeq/p-bfca08f5.entry.js.map +1 -0
  106. package/dist/beeq/{p-7ecff021.entry.js → p-c63b89d2.entry.js} +2 -2
  107. package/dist/beeq/p-c63b89d2.entry.js.map +1 -0
  108. package/dist/beeq/{p-33899839.entry.js → p-ca93325b.entry.js} +2 -2
  109. package/dist/beeq/{p-33899839.entry.js.map → p-ca93325b.entry.js.map} +1 -1
  110. package/dist/beeq/{p-db38b20c.entry.js → p-cb0639d5.entry.js} +2 -2
  111. package/dist/beeq/{p-db38b20c.entry.js.map → p-cb0639d5.entry.js.map} +1 -1
  112. package/dist/beeq/{p-b40aaef2.entry.js → p-cd53041f.entry.js} +2 -2
  113. package/dist/beeq/p-cd53041f.entry.js.map +1 -0
  114. package/dist/beeq/{p-ee9117e4.entry.js → p-d8118f0b.entry.js} +2 -2
  115. package/dist/beeq/p-d8118f0b.entry.js.map +1 -0
  116. package/dist/beeq/p-d9c5ab1d.entry.js +6 -0
  117. package/dist/beeq/p-d9c5ab1d.entry.js.map +1 -0
  118. package/dist/beeq/{p-25e92d0a.entry.js → p-dc5aa386.entry.js} +2 -2
  119. package/dist/beeq/{p-25e92d0a.entry.js.map → p-dc5aa386.entry.js.map} +1 -1
  120. package/dist/beeq/{p-32a07a71.entry.js → p-dcda1181.entry.js} +2 -2
  121. package/dist/beeq/{p-32a07a71.entry.js.map → p-dcda1181.entry.js.map} +1 -1
  122. package/dist/beeq/{p-1770fd5b.entry.js → p-e5c12fd7.entry.js} +2 -2
  123. package/dist/beeq/p-e5c12fd7.entry.js.map +1 -0
  124. package/dist/beeq/p-eaa8c123.entry.js +6 -0
  125. package/dist/beeq/p-eaa8c123.entry.js.map +1 -0
  126. package/dist/beeq/{p-de332995.entry.js → p-eb47c1ae.entry.js} +2 -2
  127. package/dist/beeq/p-eb47c1ae.entry.js.map +1 -0
  128. package/dist/beeq/{p-b387860a.entry.js → p-eb6eac82.entry.js} +2 -2
  129. package/dist/beeq/{p-b387860a.entry.js.map → p-eb6eac82.entry.js.map} +1 -1
  130. package/dist/beeq/{p-e1ecf09d.entry.js → p-f691f00c.entry.js} +2 -2
  131. package/dist/beeq/{p-e1ecf09d.entry.js.map → p-f691f00c.entry.js.map} +1 -1
  132. package/dist/beeq/p-igOoibr-.js +6 -0
  133. package/dist/beeq/p-igOoibr-.js.map +1 -0
  134. package/dist/beeq/{p-CVMdKx0v.js → p-lysmVw2n.js} +2 -2
  135. package/dist/beeq/{p-CVMdKx0v.js.map → p-lysmVw2n.js.map} +1 -1
  136. package/dist/beeq.html-custom-data.json +20 -29
  137. package/dist/cjs/beeq.cjs.js +3 -3
  138. package/dist/cjs/beeq.cjs.js.map +1 -1
  139. package/dist/cjs/bq-accordion-group.cjs.entry.js +2 -2
  140. package/dist/cjs/bq-accordion-group.entry.cjs.js.map +1 -1
  141. package/dist/cjs/bq-accordion.cjs.entry.js +18 -8
  142. package/dist/cjs/bq-accordion.entry.cjs.js.map +1 -1
  143. package/dist/cjs/bq-alert.cjs.entry.js +13 -10
  144. package/dist/cjs/bq-alert.entry.cjs.js.map +1 -1
  145. package/dist/cjs/bq-avatar.cjs.entry.js +6 -6
  146. package/dist/cjs/bq-avatar.entry.cjs.js.map +1 -1
  147. package/dist/cjs/bq-badge.cjs.entry.js +4 -2
  148. package/dist/cjs/bq-badge.entry.cjs.js.map +1 -1
  149. package/dist/cjs/bq-breadcrumb-item.cjs.entry.js +5 -5
  150. package/dist/cjs/bq-breadcrumb-item.entry.cjs.js.map +1 -1
  151. package/dist/cjs/bq-breadcrumb.cjs.entry.js +7 -3
  152. package/dist/cjs/bq-breadcrumb.entry.cjs.js.map +1 -1
  153. package/dist/cjs/bq-button.bq-icon.entry.cjs.js.map +1 -1
  154. package/dist/cjs/bq-button_2.cjs.entry.js +14 -10
  155. package/dist/cjs/bq-card.cjs.entry.js +3 -3
  156. package/dist/cjs/bq-card.entry.cjs.js.map +1 -1
  157. package/dist/cjs/bq-checkbox.cjs.entry.js +6 -4
  158. package/dist/cjs/bq-checkbox.entry.cjs.js.map +1 -1
  159. package/dist/cjs/bq-date-picker.cjs.entry.js +70 -25
  160. package/dist/cjs/bq-date-picker.entry.cjs.js.map +1 -1
  161. package/dist/cjs/bq-dialog.cjs.entry.js +13 -7
  162. package/dist/cjs/bq-dialog.entry.cjs.js.map +1 -1
  163. package/dist/cjs/bq-divider.cjs.entry.js +7 -5
  164. package/dist/cjs/bq-divider.entry.cjs.js.map +1 -1
  165. package/dist/cjs/bq-drawer.cjs.entry.js +9 -5
  166. package/dist/cjs/bq-drawer.entry.cjs.js.map +1 -1
  167. package/dist/cjs/bq-dropdown.bq-panel.entry.cjs.js.map +1 -1
  168. package/dist/cjs/bq-dropdown_2.cjs.entry.js +13 -7
  169. package/dist/cjs/bq-empty-state.cjs.entry.js +10 -6
  170. package/dist/cjs/bq-empty-state.entry.cjs.js.map +1 -1
  171. package/dist/cjs/bq-input.cjs.entry.js +30 -22
  172. package/dist/cjs/bq-input.entry.cjs.js.map +1 -1
  173. package/dist/cjs/bq-notification.cjs.entry.js +11 -5
  174. package/dist/cjs/bq-notification.entry.cjs.js.map +1 -1
  175. package/dist/cjs/bq-option-group.cjs.entry.js +3 -3
  176. package/dist/cjs/bq-option-group.entry.cjs.js.map +1 -1
  177. package/dist/cjs/bq-option-list.bq-tag.entry.cjs.js.map +1 -1
  178. package/dist/cjs/bq-option-list_2.cjs.entry.js +8 -6
  179. package/dist/cjs/bq-option.cjs.entry.js +17 -10
  180. package/dist/cjs/bq-option.entry.cjs.js.map +1 -1
  181. package/dist/cjs/bq-page-title.cjs.entry.js +11 -5
  182. package/dist/cjs/bq-page-title.entry.cjs.js.map +1 -1
  183. package/dist/cjs/bq-progress.cjs.entry.js +7 -7
  184. package/dist/cjs/bq-progress.entry.cjs.js.map +1 -1
  185. package/dist/cjs/bq-radio-group.cjs.entry.js +15 -9
  186. package/dist/cjs/bq-radio-group.entry.cjs.js.map +1 -1
  187. package/dist/cjs/bq-radio.cjs.entry.js +4 -2
  188. package/dist/cjs/bq-radio.entry.cjs.js.map +1 -1
  189. package/dist/cjs/bq-select.cjs.entry.js +76 -29
  190. package/dist/cjs/bq-select.entry.cjs.js.map +1 -1
  191. package/dist/cjs/bq-side-menu-item.cjs.entry.js +7 -5
  192. package/dist/cjs/bq-side-menu-item.entry.cjs.js.map +1 -1
  193. package/dist/cjs/bq-side-menu.cjs.entry.js +11 -7
  194. package/dist/cjs/bq-side-menu.entry.cjs.js.map +1 -1
  195. package/dist/cjs/bq-slider.cjs.entry.js +25 -12
  196. package/dist/cjs/bq-slider.entry.cjs.js.map +1 -1
  197. package/dist/cjs/bq-spinner.cjs.entry.js +12 -12
  198. package/dist/cjs/bq-spinner.entry.cjs.js.map +1 -1
  199. package/dist/cjs/bq-status.cjs.entry.js +3 -3
  200. package/dist/cjs/bq-status.entry.cjs.js.map +1 -1
  201. package/dist/cjs/bq-step-item.cjs.entry.js +7 -7
  202. package/dist/cjs/bq-step-item.entry.cjs.js.map +1 -1
  203. package/dist/cjs/bq-steps.cjs.entry.js +6 -4
  204. package/dist/cjs/bq-steps.entry.cjs.js.map +1 -1
  205. package/dist/cjs/bq-switch.cjs.entry.js +9 -5
  206. package/dist/cjs/bq-switch.entry.cjs.js.map +1 -1
  207. package/dist/cjs/bq-tab-group.cjs.entry.js +9 -7
  208. package/dist/cjs/bq-tab-group.entry.cjs.js.map +1 -1
  209. package/dist/cjs/bq-tab.cjs.entry.js +9 -5
  210. package/dist/cjs/bq-tab.entry.cjs.js.map +1 -1
  211. package/dist/cjs/bq-textarea.cjs.entry.js +17 -14
  212. package/dist/cjs/bq-textarea.entry.cjs.js.map +1 -1
  213. package/dist/cjs/bq-toast.cjs.entry.js +5 -6
  214. package/dist/cjs/bq-toast.entry.cjs.js.map +1 -1
  215. package/dist/cjs/bq-tooltip.cjs.entry.js +9 -3
  216. package/dist/cjs/bq-tooltip.entry.cjs.js.map +1 -1
  217. package/dist/cjs/date-C-h2CBps.js +170 -0
  218. package/dist/cjs/date-C-h2CBps.js.map +1 -0
  219. package/dist/cjs/{debounce-DFaAa1Cu.js → debounce-D0tIpUuS.js} +4 -4
  220. package/dist/cjs/debounce-D0tIpUuS.js.map +1 -0
  221. package/dist/cjs/{index-B6fG32hZ.js → index-D7RDSS0K.js} +36 -27
  222. package/dist/cjs/{index-B6fG32hZ.js.map → index-D7RDSS0K.js.map} +1 -1
  223. package/dist/cjs/{index-DMgUhnao.js → index-g8MkV15i.js} +56 -48
  224. package/dist/cjs/index-g8MkV15i.js.map +1 -0
  225. package/dist/cjs/index.cjs.js +7 -4
  226. package/dist/cjs/index.cjs.js.map +1 -1
  227. package/dist/cjs/{isDefined-K4EcmGLZ.js → isDefined-D24L82z9.js} +3 -3
  228. package/dist/cjs/{isDefined-K4EcmGLZ.js.map → isDefined-D24L82z9.js.map} +1 -1
  229. package/dist/cjs/{isString-CHgmxASW.js → isString-CA9m1aBg.js} +3 -3
  230. package/dist/cjs/{isString-CHgmxASW.js.map → isString-CA9m1aBg.js.map} +1 -1
  231. package/dist/cjs/loader.cjs.js +2 -2
  232. package/dist/cjs/{stringToArray-DTx7uqZ4.js → stringToArray-B747BpEA.js} +4 -4
  233. package/dist/cjs/{stringToArray-DTx7uqZ4.js.map → stringToArray-B747BpEA.js.map} +1 -1
  234. package/dist/collection/collection-manifest.json +2 -2
  235. package/dist/collection/components/accordion/bq-accordion.js +17 -11
  236. package/dist/collection/components/accordion/bq-accordion.js.map +1 -1
  237. package/dist/collection/components/accordion/helper/index.js +6 -2
  238. package/dist/collection/components/accordion/helper/index.js.map +1 -1
  239. package/dist/collection/components/accordion/scss/bq-accordion.css +1 -1
  240. package/dist/collection/components/accordion-group/bq-accordion-group.js +6 -6
  241. package/dist/collection/components/alert/bq-alert.js +25 -22
  242. package/dist/collection/components/alert/bq-alert.js.map +1 -1
  243. package/dist/collection/components/avatar/bq-avatar.js +16 -16
  244. package/dist/collection/components/avatar/bq-avatar.js.map +1 -1
  245. package/dist/collection/components/badge/bq-badge.js +10 -8
  246. package/dist/collection/components/badge/bq-badge.js.map +1 -1
  247. package/dist/collection/components/breadcrumb/bq-breadcrumb.js +7 -3
  248. package/dist/collection/components/breadcrumb/bq-breadcrumb.js.map +1 -1
  249. package/dist/collection/components/breadcrumb-item/bq-breadcrumb-item.js +6 -6
  250. package/dist/collection/components/breadcrumb-item/bq-breadcrumb-item.js.map +1 -1
  251. package/dist/collection/components/button/bq-button.js +23 -19
  252. package/dist/collection/components/button/bq-button.js.map +1 -1
  253. package/dist/collection/components/button/scss/bq-button.css +1 -1
  254. package/dist/collection/components/card/bq-card.js +5 -5
  255. package/dist/collection/components/card/bq-card.js.map +1 -1
  256. package/dist/collection/components/checkbox/bq-checkbox.js +19 -17
  257. package/dist/collection/components/checkbox/bq-checkbox.js.map +1 -1
  258. package/dist/collection/components/date-picker/bq-date-picker.js +103 -61
  259. package/dist/collection/components/date-picker/bq-date-picker.js.map +1 -1
  260. package/dist/collection/components/dialog/bq-dialog.js +20 -14
  261. package/dist/collection/components/dialog/bq-dialog.js.map +1 -1
  262. package/dist/collection/components/divider/bq-divider.js +17 -15
  263. package/dist/collection/components/divider/bq-divider.js.map +1 -1
  264. package/dist/collection/components/drawer/bq-drawer.js +16 -12
  265. package/dist/collection/components/drawer/bq-drawer.js.map +1 -1
  266. package/dist/collection/components/dropdown/bq-dropdown.js +18 -14
  267. package/dist/collection/components/dropdown/bq-dropdown.js.map +1 -1
  268. package/dist/collection/components/empty-state/bq-empty-state.js +10 -6
  269. package/dist/collection/components/empty-state/bq-empty-state.js.map +1 -1
  270. package/dist/collection/components/icon/bq-icon.js +17 -17
  271. package/dist/collection/components/icon/bq-icon.js.map +1 -1
  272. package/dist/collection/components/input/bq-input.js +89 -86
  273. package/dist/collection/components/input/bq-input.js.map +1 -1
  274. package/dist/collection/components/notification/bq-notification.js +21 -15
  275. package/dist/collection/components/notification/bq-notification.js.map +1 -1
  276. package/dist/collection/components/option/bq-option.js +42 -16
  277. package/dist/collection/components/option/bq-option.js.map +1 -1
  278. package/dist/collection/components/option/scss/bq-option.css +1 -1
  279. package/dist/collection/components/option-group/bq-option-group.js +1 -1
  280. package/dist/collection/components/option-group/bq-option-group.js.map +1 -1
  281. package/dist/collection/components/option-list/bq-option-list.js +1 -1
  282. package/dist/collection/components/option-list/bq-option-list.js.map +1 -1
  283. package/dist/collection/components/page-title/bq-page-title.js +9 -3
  284. package/dist/collection/components/page-title/bq-page-title.js.map +1 -1
  285. package/dist/collection/components/panel/bq-panel.js +10 -8
  286. package/dist/collection/components/panel/bq-panel.js.map +1 -1
  287. package/dist/collection/components/progress/bq-progress.js +14 -14
  288. package/dist/collection/components/progress/bq-progress.js.map +1 -1
  289. package/dist/collection/components/radio/bq-radio.js +16 -14
  290. package/dist/collection/components/radio/bq-radio.js.map +1 -1
  291. package/dist/collection/components/radio-group/bq-radio-group.js +25 -19
  292. package/dist/collection/components/radio-group/bq-radio-group.js.map +1 -1
  293. package/dist/collection/components/select/bq-select.js +103 -56
  294. package/dist/collection/components/select/bq-select.js.map +1 -1
  295. package/dist/collection/components/select/scss/bq-select.css +1 -1
  296. package/dist/collection/components/side-menu/bq-side-menu.js +12 -8
  297. package/dist/collection/components/side-menu/bq-side-menu.js.map +1 -1
  298. package/dist/collection/components/side-menu/scss/bq-side-menu.css +1 -1
  299. package/dist/collection/components/side-menu-item/bq-side-menu-item.js +8 -6
  300. package/dist/collection/components/side-menu-item/bq-side-menu-item.js.map +1 -1
  301. package/dist/collection/components/slider/bq-slider.js +36 -23
  302. package/dist/collection/components/slider/bq-slider.js.map +1 -1
  303. package/dist/collection/components/spinner/bq-spinner.js +14 -14
  304. package/dist/collection/components/spinner/bq-spinner.js.map +1 -1
  305. package/dist/collection/components/spinner/bq-spinner.types.js +1 -1
  306. package/dist/collection/components/spinner/bq-spinner.types.js.map +1 -1
  307. package/dist/collection/components/spinner/scss/bq-spinner.css +1 -1
  308. package/dist/collection/components/status/bq-status.js +3 -3
  309. package/dist/collection/components/status/bq-status.js.map +1 -1
  310. package/dist/collection/components/step-item/bq-step-item.js +11 -11
  311. package/dist/collection/components/step-item/bq-step-item.js.map +1 -1
  312. package/dist/collection/components/steps/bq-steps.js +8 -6
  313. package/dist/collection/components/steps/bq-steps.js.map +1 -1
  314. package/dist/collection/components/switch/bq-switch.js +22 -18
  315. package/dist/collection/components/switch/bq-switch.js.map +1 -1
  316. package/dist/collection/components/tab/bq-tab.js +17 -13
  317. package/dist/collection/components/tab/bq-tab.js.map +1 -1
  318. package/dist/collection/components/tab-group/bq-tab-group.js +15 -13
  319. package/dist/collection/components/tab-group/bq-tab-group.js.map +1 -1
  320. package/dist/collection/components/tag/bq-tag.js +19 -17
  321. package/dist/collection/components/tag/bq-tag.js.map +1 -1
  322. package/dist/collection/components/tag/helper/index.js.map +1 -1
  323. package/dist/collection/components/textarea/bq-textarea.js +51 -62
  324. package/dist/collection/components/textarea/bq-textarea.js.map +1 -1
  325. package/dist/collection/components/toast/bq-toast.js +11 -12
  326. package/dist/collection/components/toast/bq-toast.js.map +1 -1
  327. package/dist/collection/components/tooltip/bq-tooltip.js +14 -8
  328. package/dist/collection/components/tooltip/bq-tooltip.js.map +1 -1
  329. package/dist/collection/services/interfaces/floating-ui.js.map +1 -1
  330. package/dist/collection/services/libraries/floating-ui/index.js +34 -25
  331. package/dist/collection/services/libraries/floating-ui/index.js.map +1 -1
  332. package/dist/collection/shared/test-utils/sleep.js +1 -1
  333. package/dist/collection/shared/test-utils/sleep.js.map +1 -1
  334. package/dist/collection/shared/utils/date.js +163 -0
  335. package/dist/collection/shared/utils/date.js.map +1 -0
  336. package/dist/collection/shared/utils/debounce.js +2 -1
  337. package/dist/collection/shared/utils/debounce.js.map +1 -1
  338. package/dist/collection/shared/utils/index.js +1 -0
  339. package/dist/collection/shared/utils/index.js.map +1 -1
  340. package/dist/collection/shared/utils/isString.js +1 -1
  341. package/dist/collection/shared/utils/isString.js.map +1 -1
  342. package/dist/collection/shared/utils/setRafTimeout.js +0 -1
  343. package/dist/collection/shared/utils/setRafTimeout.js.map +1 -1
  344. package/dist/collection/tools/angular-value-accessor-config.js.map +1 -1
  345. package/dist/collection/tools/generate-custom-elements-json.js +2 -2
  346. package/dist/collection/tools/generate-custom-elements-json.js.map +1 -1
  347. package/dist/collection/tools/vue-model-config.js.map +1 -1
  348. package/dist/components/bq-accordion-group.js +1 -1
  349. package/dist/components/bq-accordion-group.js.map +1 -1
  350. package/dist/components/bq-accordion.js +1 -1
  351. package/dist/components/bq-accordion.js.map +1 -1
  352. package/dist/components/bq-alert.js +1 -1
  353. package/dist/components/bq-alert.js.map +1 -1
  354. package/dist/components/bq-avatar.js +1 -1
  355. package/dist/components/bq-avatar.js.map +1 -1
  356. package/dist/components/bq-badge.js +1 -1
  357. package/dist/components/bq-breadcrumb-item.js +1 -1
  358. package/dist/components/bq-breadcrumb-item.js.map +1 -1
  359. package/dist/components/bq-breadcrumb.js +1 -1
  360. package/dist/components/bq-breadcrumb.js.map +1 -1
  361. package/dist/components/bq-button.js +1 -1
  362. package/dist/components/bq-card.js +1 -1
  363. package/dist/components/bq-card.js.map +1 -1
  364. package/dist/components/bq-checkbox.js +1 -1
  365. package/dist/components/bq-checkbox.js.map +1 -1
  366. package/dist/components/bq-date-picker.js +1 -1
  367. package/dist/components/bq-date-picker.js.map +1 -1
  368. package/dist/components/bq-dialog.js +1 -1
  369. package/dist/components/bq-dialog.js.map +1 -1
  370. package/dist/components/bq-divider.js +1 -1
  371. package/dist/components/bq-drawer.js +1 -1
  372. package/dist/components/bq-drawer.js.map +1 -1
  373. package/dist/components/bq-dropdown.js +1 -1
  374. package/dist/components/bq-empty-state.js +1 -1
  375. package/dist/components/bq-empty-state.js.map +1 -1
  376. package/dist/components/bq-icon.js +1 -1
  377. package/dist/components/bq-input.js +1 -1
  378. package/dist/components/bq-input.js.map +1 -1
  379. package/dist/components/bq-notification.js +1 -1
  380. package/dist/components/bq-notification.js.map +1 -1
  381. package/dist/components/bq-option-group.js +1 -1
  382. package/dist/components/bq-option-group.js.map +1 -1
  383. package/dist/components/bq-option-list.js +1 -1
  384. package/dist/components/bq-option.js +1 -1
  385. package/dist/components/bq-option.js.map +1 -1
  386. package/dist/components/bq-page-title.js +1 -1
  387. package/dist/components/bq-page-title.js.map +1 -1
  388. package/dist/components/bq-panel.js +1 -1
  389. package/dist/components/bq-progress.js +1 -1
  390. package/dist/components/bq-progress.js.map +1 -1
  391. package/dist/components/bq-radio-group.js +1 -1
  392. package/dist/components/bq-radio-group.js.map +1 -1
  393. package/dist/components/bq-radio.js +1 -1
  394. package/dist/components/bq-radio.js.map +1 -1
  395. package/dist/components/bq-select.js +1 -1
  396. package/dist/components/bq-select.js.map +1 -1
  397. package/dist/components/bq-side-menu-item.js +1 -1
  398. package/dist/components/bq-side-menu-item.js.map +1 -1
  399. package/dist/components/bq-side-menu.js +1 -1
  400. package/dist/components/bq-side-menu.js.map +1 -1
  401. package/dist/components/bq-slider.js +1 -1
  402. package/dist/components/bq-slider.js.map +1 -1
  403. package/dist/components/bq-spinner.js +1 -1
  404. package/dist/components/bq-spinner.js.map +1 -1
  405. package/dist/components/bq-status.js +1 -1
  406. package/dist/components/bq-status.js.map +1 -1
  407. package/dist/components/bq-step-item.js +1 -1
  408. package/dist/components/bq-step-item.js.map +1 -1
  409. package/dist/components/bq-steps.js +1 -1
  410. package/dist/components/bq-steps.js.map +1 -1
  411. package/dist/components/bq-switch.js +1 -1
  412. package/dist/components/bq-switch.js.map +1 -1
  413. package/dist/components/bq-tab-group.js +1 -1
  414. package/dist/components/bq-tab-group.js.map +1 -1
  415. package/dist/components/bq-tab.js +1 -1
  416. package/dist/components/bq-tab.js.map +1 -1
  417. package/dist/components/bq-tag.js +1 -1
  418. package/dist/components/bq-textarea.js +1 -1
  419. package/dist/components/bq-textarea.js.map +1 -1
  420. package/dist/components/bq-toast.js +1 -1
  421. package/dist/components/bq-toast.js.map +1 -1
  422. package/dist/components/bq-tooltip.js +1 -1
  423. package/dist/components/index.js +1 -1
  424. package/dist/components/index.js.map +1 -1
  425. package/dist/components/{p-DX628oDu.js → p-16lKXCDk.js} +2 -2
  426. package/dist/components/p-16lKXCDk.js.map +1 -0
  427. package/dist/components/{p-3U5U42sd.js → p-A6e1tN-B.js} +2 -2
  428. package/dist/components/p-A6e1tN-B.js.map +1 -0
  429. package/dist/components/{p-CHy0sCco.js → p-B5XEhmuc.js} +2 -2
  430. package/dist/components/{p-CHy0sCco.js.map → p-B5XEhmuc.js.map} +1 -1
  431. package/dist/components/{p-BeCgojET.js → p-BBhidARY.js} +2 -2
  432. package/dist/components/p-BBhidARY.js.map +1 -0
  433. package/dist/components/{p-Ci39rxuU.js → p-BRbYDZoo.js} +2 -2
  434. package/dist/components/{p-D9ofIraD.js → p-CVw85-WU.js} +1 -1
  435. package/dist/components/p-CVw85-WU.js.map +1 -0
  436. package/dist/components/p-CXUO6Zub.js +6 -0
  437. package/dist/components/p-CXUO6Zub.js.map +1 -0
  438. package/dist/{beeq/p-C_mtknb1.js → components/p-CgIw4Syg.js} +2 -2
  439. package/dist/components/p-CgIw4Syg.js.map +1 -0
  440. package/dist/components/{p-B6nMRjwz.js → p-D14_9VoZ.js} +2 -2
  441. package/dist/components/{p-B6nMRjwz.js.map → p-D14_9VoZ.js.map} +1 -1
  442. package/dist/components/{p-eLopxgQr.js → p-DGysEMss.js} +2 -2
  443. package/dist/components/p-DGysEMss.js.map +1 -0
  444. package/dist/components/p-DHdYy1q5.js +6 -0
  445. package/dist/components/p-DHdYy1q5.js.map +1 -0
  446. package/dist/components/{p--r87nWid.js → p-DokL_HVP.js} +2 -2
  447. package/dist/components/p-DokL_HVP.js.map +1 -0
  448. package/dist/components/{p-DwLfHxB7.js → p-eRUe5rRq.js} +2 -2
  449. package/dist/components/p-eRUe5rRq.js.map +1 -0
  450. package/dist/components/{p-CVMdKx0v.js → p-lysmVw2n.js} +2 -2
  451. package/dist/components/{p-CVMdKx0v.js.map → p-lysmVw2n.js.map} +1 -1
  452. package/dist/custom-elements.json +374 -378
  453. package/dist/esm/beeq.js +4 -4
  454. package/dist/esm/beeq.js.map +1 -1
  455. package/dist/esm/bq-accordion-group.entry.js +2 -2
  456. package/dist/esm/bq-accordion-group.entry.js.map +1 -1
  457. package/dist/esm/bq-accordion.entry.js +18 -8
  458. package/dist/esm/bq-accordion.entry.js.map +1 -1
  459. package/dist/esm/bq-alert.entry.js +13 -10
  460. package/dist/esm/bq-alert.entry.js.map +1 -1
  461. package/dist/esm/bq-avatar.entry.js +6 -6
  462. package/dist/esm/bq-avatar.entry.js.map +1 -1
  463. package/dist/esm/bq-badge.entry.js +4 -2
  464. package/dist/esm/bq-badge.entry.js.map +1 -1
  465. package/dist/esm/bq-breadcrumb-item.entry.js +5 -5
  466. package/dist/esm/bq-breadcrumb-item.entry.js.map +1 -1
  467. package/dist/esm/bq-breadcrumb.entry.js +7 -3
  468. package/dist/esm/bq-breadcrumb.entry.js.map +1 -1
  469. package/dist/esm/bq-button.bq-icon.entry.js.map +1 -1
  470. package/dist/esm/bq-button_2.entry.js +14 -10
  471. package/dist/esm/bq-card.entry.js +3 -3
  472. package/dist/esm/bq-card.entry.js.map +1 -1
  473. package/dist/esm/bq-checkbox.entry.js +6 -4
  474. package/dist/esm/bq-checkbox.entry.js.map +1 -1
  475. package/dist/esm/bq-date-picker.entry.js +70 -25
  476. package/dist/esm/bq-date-picker.entry.js.map +1 -1
  477. package/dist/esm/bq-dialog.entry.js +13 -7
  478. package/dist/esm/bq-dialog.entry.js.map +1 -1
  479. package/dist/esm/bq-divider.entry.js +7 -5
  480. package/dist/esm/bq-divider.entry.js.map +1 -1
  481. package/dist/esm/bq-drawer.entry.js +9 -5
  482. package/dist/esm/bq-drawer.entry.js.map +1 -1
  483. package/dist/esm/bq-dropdown.bq-panel.entry.js.map +1 -1
  484. package/dist/esm/bq-dropdown_2.entry.js +13 -7
  485. package/dist/esm/bq-empty-state.entry.js +10 -6
  486. package/dist/esm/bq-empty-state.entry.js.map +1 -1
  487. package/dist/esm/bq-input.entry.js +30 -22
  488. package/dist/esm/bq-input.entry.js.map +1 -1
  489. package/dist/esm/bq-notification.entry.js +11 -5
  490. package/dist/esm/bq-notification.entry.js.map +1 -1
  491. package/dist/esm/bq-option-group.entry.js +3 -3
  492. package/dist/esm/bq-option-group.entry.js.map +1 -1
  493. package/dist/esm/bq-option-list.bq-tag.entry.js.map +1 -1
  494. package/dist/esm/bq-option-list_2.entry.js +8 -6
  495. package/dist/esm/bq-option.entry.js +17 -10
  496. package/dist/esm/bq-option.entry.js.map +1 -1
  497. package/dist/esm/bq-page-title.entry.js +11 -5
  498. package/dist/esm/bq-page-title.entry.js.map +1 -1
  499. package/dist/esm/bq-progress.entry.js +7 -7
  500. package/dist/esm/bq-progress.entry.js.map +1 -1
  501. package/dist/esm/bq-radio-group.entry.js +15 -9
  502. package/dist/esm/bq-radio-group.entry.js.map +1 -1
  503. package/dist/esm/bq-radio.entry.js +4 -2
  504. package/dist/esm/bq-radio.entry.js.map +1 -1
  505. package/dist/esm/bq-select.entry.js +76 -29
  506. package/dist/esm/bq-select.entry.js.map +1 -1
  507. package/dist/esm/bq-side-menu-item.entry.js +7 -5
  508. package/dist/esm/bq-side-menu-item.entry.js.map +1 -1
  509. package/dist/esm/bq-side-menu.entry.js +11 -7
  510. package/dist/esm/bq-side-menu.entry.js.map +1 -1
  511. package/dist/esm/bq-slider.entry.js +25 -12
  512. package/dist/esm/bq-slider.entry.js.map +1 -1
  513. package/dist/esm/bq-spinner.entry.js +12 -12
  514. package/dist/esm/bq-spinner.entry.js.map +1 -1
  515. package/dist/esm/bq-status.entry.js +3 -3
  516. package/dist/esm/bq-status.entry.js.map +1 -1
  517. package/dist/esm/bq-step-item.entry.js +7 -7
  518. package/dist/esm/bq-step-item.entry.js.map +1 -1
  519. package/dist/esm/bq-steps.entry.js +6 -4
  520. package/dist/esm/bq-steps.entry.js.map +1 -1
  521. package/dist/esm/bq-switch.entry.js +9 -5
  522. package/dist/esm/bq-switch.entry.js.map +1 -1
  523. package/dist/esm/bq-tab-group.entry.js +9 -7
  524. package/dist/esm/bq-tab-group.entry.js.map +1 -1
  525. package/dist/esm/bq-tab.entry.js +9 -5
  526. package/dist/esm/bq-tab.entry.js.map +1 -1
  527. package/dist/esm/bq-textarea.entry.js +17 -14
  528. package/dist/esm/bq-textarea.entry.js.map +1 -1
  529. package/dist/esm/bq-toast.entry.js +5 -6
  530. package/dist/esm/bq-toast.entry.js.map +1 -1
  531. package/dist/esm/bq-tooltip.entry.js +9 -3
  532. package/dist/esm/bq-tooltip.entry.js.map +1 -1
  533. package/dist/esm/date-igOoibr-.js +167 -0
  534. package/dist/esm/date-igOoibr-.js.map +1 -0
  535. package/dist/esm/{debounce-cjfQylgg.js → debounce-gVeuteEJ.js} +4 -4
  536. package/dist/esm/debounce-gVeuteEJ.js.map +1 -0
  537. package/dist/esm/{index-B2Q_ACEf.js → index-BOf9EC3C.js} +56 -48
  538. package/dist/esm/index-BOf9EC3C.js.map +1 -0
  539. package/dist/esm/{index-C_mtknb1.js → index-CgIw4Syg.js} +36 -27
  540. package/dist/esm/{index-C_mtknb1.js.map → index-CgIw4Syg.js.map} +1 -1
  541. package/dist/esm/index.js +5 -4
  542. package/dist/esm/index.js.map +1 -1
  543. package/dist/esm/{isDefined-DjmcVyb_.js → isDefined-DvmFa_bD.js} +3 -3
  544. package/dist/esm/{isDefined-DjmcVyb_.js.map → isDefined-DvmFa_bD.js.map} +1 -1
  545. package/dist/esm/{isString-CVMdKx0v.js → isString-lysmVw2n.js} +3 -3
  546. package/dist/esm/{isString-CVMdKx0v.js.map → isString-lysmVw2n.js.map} +1 -1
  547. package/dist/esm/loader.js +3 -3
  548. package/dist/esm/{stringToArray-DD7NecAG.js → stringToArray-CIJArUww.js} +4 -4
  549. package/dist/esm/{stringToArray-DD7NecAG.js.map → stringToArray-CIJArUww.js.map} +1 -1
  550. package/dist/hydrate/index.d.ts +2 -0
  551. package/dist/hydrate/index.js +905 -519
  552. package/dist/hydrate/index.mjs +905 -519
  553. package/dist/jest.config.js +3 -0
  554. package/dist/jest.config.js.map +1 -1
  555. package/dist/stencil.config.js +3 -2
  556. package/dist/stencil.config.js.map +1 -1
  557. package/dist/types/components/date-picker/bq-date-picker.d.ts +5 -2
  558. package/dist/types/components/dropdown/bq-dropdown.d.ts +1 -0
  559. package/dist/types/components/icon/bq-icon.d.ts +1 -1
  560. package/dist/types/components/input/bq-input.d.ts +10 -11
  561. package/dist/types/components/option/bq-option.d.ts +4 -2
  562. package/dist/types/components/select/bq-select.d.ts +1 -0
  563. package/dist/types/components/spinner/bq-spinner.types.d.ts +1 -1
  564. package/dist/types/components/step-item/bq-step-item.d.ts +1 -1
  565. package/dist/types/components/tag/helper/index.d.ts +1 -1
  566. package/dist/types/components/textarea/bq-textarea.d.ts +5 -9
  567. package/dist/types/components.d.ts +40 -42
  568. package/dist/types/global.d.ts +1 -4
  569. package/dist/types/{Users/dramos/PROJECTs/ENDAVA/BEEQ-Design-System → home/runner/work/BEEQ/BEEQ}/.stencil/packages/beeq/jest.config.d.ts +3 -0
  570. package/dist/types/services/interfaces/floating-ui.d.ts +1 -1
  571. package/dist/types/services/libraries/floating-ui/index.d.ts +5 -2
  572. package/dist/types/shared/test-utils/setProperties.d.ts +1 -1
  573. package/dist/types/shared/test-utils/sleep.d.ts +1 -1
  574. package/dist/types/shared/utils/date.d.ts +18 -0
  575. package/dist/types/shared/utils/debounce.d.ts +1 -1
  576. package/dist/types/shared/utils/index.d.ts +1 -0
  577. package/dist/types/shared/utils/setRafTimeout.d.ts +1 -1
  578. package/dist/types/stencil-public-runtime.d.ts +35 -11
  579. package/dist/types/tools/angular-value-accessor-config.d.ts +1 -1
  580. package/dist/types/tools/vue-model-config.d.ts +1 -1
  581. package/package.json +4 -4
  582. package/dist/beeq/p-1770fd5b.entry.js.map +0 -1
  583. package/dist/beeq/p-28788a48.entry.js.map +0 -1
  584. package/dist/beeq/p-3424586a.entry.js.map +0 -1
  585. package/dist/beeq/p-3b1ef7e6.entry.js.map +0 -1
  586. package/dist/beeq/p-4a726c36.entry.js +0 -6
  587. package/dist/beeq/p-61065a1c.entry.js +0 -6
  588. package/dist/beeq/p-61065a1c.entry.js.map +0 -1
  589. package/dist/beeq/p-6eb0f643.entry.js.map +0 -1
  590. package/dist/beeq/p-73054d34.entry.js.map +0 -1
  591. package/dist/beeq/p-7bf79e31.entry.js.map +0 -1
  592. package/dist/beeq/p-7ecff021.entry.js.map +0 -1
  593. package/dist/beeq/p-84c96afc.entry.js.map +0 -1
  594. package/dist/beeq/p-92fed771.entry.js.map +0 -1
  595. package/dist/beeq/p-B2Q_ACEf.js +0 -7
  596. package/dist/beeq/p-B2Q_ACEf.js.map +0 -1
  597. package/dist/beeq/p-D9ofIraD.js.map +0 -1
  598. package/dist/beeq/p-afecb3f2.entry.js.map +0 -1
  599. package/dist/beeq/p-b40aaef2.entry.js.map +0 -1
  600. package/dist/beeq/p-bcd00932.entry.js.map +0 -1
  601. package/dist/beeq/p-c737da48.entry.js +0 -6
  602. package/dist/beeq/p-c737da48.entry.js.map +0 -1
  603. package/dist/beeq/p-dc188227.entry.js +0 -6
  604. package/dist/beeq/p-dc188227.entry.js.map +0 -1
  605. package/dist/beeq/p-de332995.entry.js.map +0 -1
  606. package/dist/beeq/p-e2aec11c.entry.js +0 -6
  607. package/dist/beeq/p-e2aec11c.entry.js.map +0 -1
  608. package/dist/beeq/p-e5e294ad.entry.js +0 -6
  609. package/dist/beeq/p-e5e294ad.entry.js.map +0 -1
  610. package/dist/beeq/p-ee9117e4.entry.js.map +0 -1
  611. package/dist/cjs/debounce-DFaAa1Cu.js.map +0 -1
  612. package/dist/cjs/index-DMgUhnao.js.map +0 -1
  613. package/dist/components/p--r87nWid.js.map +0 -1
  614. package/dist/components/p-3U5U42sd.js.map +0 -1
  615. package/dist/components/p-BeCgojET.js.map +0 -1
  616. package/dist/components/p-C_mtknb1.js.map +0 -1
  617. package/dist/components/p-D5Ui9x2e.js +0 -6
  618. package/dist/components/p-D5Ui9x2e.js.map +0 -1
  619. package/dist/components/p-D8zAe4nK.js +0 -6
  620. package/dist/components/p-D8zAe4nK.js.map +0 -1
  621. package/dist/components/p-D9ofIraD.js.map +0 -1
  622. package/dist/components/p-DX628oDu.js.map +0 -1
  623. package/dist/components/p-DwLfHxB7.js.map +0 -1
  624. package/dist/components/p-eLopxgQr.js.map +0 -1
  625. package/dist/esm/debounce-cjfQylgg.js.map +0 -1
  626. package/dist/esm/index-B2Q_ACEf.js.map +0 -1
  627. /package/dist/components/{p-Ci39rxuU.js.map → p-BRbYDZoo.js.map} +0 -0
  628. /package/dist/types/{Users/dramos/PROJECTs/ENDAVA/BEEQ-Design-System → home/runner/work/BEEQ/BEEQ}/.stencil/packages/beeq/stencil.config.d.ts +0 -0
  629. /package/dist/types/{Users/dramos/PROJECTs/ENDAVA/BEEQ-Design-System → home/runner/work/BEEQ/BEEQ}/.stencil/tailwind.config.d.ts +0 -0
@@ -1,6 +0,0 @@
1
- /*!
2
- * Built by Endavans
3
- * © https://beeq.design - Apache 2 License.
4
- */
5
- import{p as a,H as r,c as e,h as b,d as n}from"./p-eLopxgQr.js";import{i as q}from"./p-B4sM1t6Z.js";import{i as t}from"./p-BcPwGxIn.js";import{g as i}from"./p-_RvVpeh2.js";let o;const s="data-beeq";const c="svg";const d=a=>{o=a};const l=(a="")=>{if(!o){const a=v();const r=a?.getAttribute(s);const e=u();const b=e?`${g(e)}/${c}`:"";d(r||b)}const r=a?`/${a.replace(/^\//,"")}`:"";return o.replace(/\/$/,"")+r};const v=()=>{if(!q())return null;return document.querySelector(`script[${s}]`)};const u=()=>{if(!q())return null;return document.querySelector(`script[src*="beeq"]`)};const g=a=>{if(!q())return"";const r=a.getAttribute("src");return r?r.substring(0,r.lastIndexOf("/")):""};const f="svg";const y="bq-icon__svg";const h={requests:new Map,content:new Map};const m=a=>{const r=a.getAttribute("class")||"";a.setAttribute("class",`${r} ${y}`.trim());a.setAttribute("part",f);a.removeAttribute("height");a.removeAttribute("width")};const w=a=>{if(!a||a.nodeType!==Node.ELEMENT_NODE)return false;if(a.nodeName.toLowerCase()==="script")return false;const r=Array.from(a.attributes).some((a=>{const r=a.value?.toLowerCase()||"";const e=a.name.toLowerCase();if(e.startsWith("on"))return true;if(r.includes("javascript:"))return true;return false}));if(r)return false;return Array.from(a.children).every((a=>w(a)))};const k=a=>{if(!q()||t(a))return"";try{const r=new DOMParser;const e=r.parseFromString(a,"image/svg+xml");const b=e.querySelector(f);if(!b||!w(b)){console.warn("[BqIcon] SVG content failed security validation");return""}m(b);return(new XMLSerializer).serializeToString(b)}catch(a){console.error("[BqIcon] Error processing SVG content:",a);return""}};const p=async(a,r=true)=>{if(!q())return"";try{const e=await fetch(a);if(!e.ok){throw new Error(`HTTP ${e.status}: ${e.statusText}`)}const b=await e.text();if(!b.trim()){console.warn(`[BqIcon] Empty SVG content received from ${a}`);return""}return r?k(b):b}catch(r){console.error(`[BqIcon] Failed to fetch SVG from ${a}:`,r);return""}};const x=async(a,r=true)=>{if(!q()||t(a))return undefined;if(h.content.has(a)){const r=h.content.get(a);return r}if(!h.requests.has(a)){const e=p(a,r).then((r=>{h.content.set(a,r);h.requests.delete(a);return r}));h.requests.set(a,e)}return h.requests.get(a)};const z='.bq-icon__svg,.scale-x-\\[--bq-icon--direction\\],.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}::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{text-size-adjust:none;font-family:var(--bq-font-family);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);line-height:var(--bq-font-line-height--regular);min-height:100vb;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}}:where(: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:not([bq-mode]),.light,:root:not([bq-theme]):not([bq-mode]),:root[bq-theme=beeq]:not([bq-mode]),[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-100);--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}.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-950);--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}:where(.endava),:where([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,.endava:not([bq-mode]),[bq-theme=endava]:not([bq-mode]),[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-100);--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-950);--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}.inline-block{display:inline-block}.scale-x-\\[--bq-icon--direction\\]{--tw-scale-x:var(--bq-icon--direction)}.scale-x-\\[--bq-icon--direction\\],.transform{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))}@-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-icon--color:currentColor;--bq-icon--size:24px;display:inline-block}.bq-icon__svg{--tw-scale-x:var(--bq-icon--direction);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))}.static{position:static}.flex{display:flex}.text-\\[--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)}';const $=a(class a extends r{constructor(a){super();if(a!==false){this.__registerHost()}this.__attachShadow();this.svgLoaded=e(this,"svgLoaded")}_svgContent;label;color;name;size=24;src;weight=undefined;handlePropsChange(){this.loadIcon(this.name)}handleWeightChange(){if(this.name.includes(this.weight))return;console.warn(`❗️ [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>'`);const a="regular";const r=!t(this.weight)&&this.weight!==a;const e=r?`-${this.weight}`:"";const b=`${this.name}${e}`;this.loadIcon(b)}svgLoaded;connectedCallback(){this.setupIconComponent()}componentWillLoad(){this.setupIconComponent()}setupIconComponent=()=>{this.loadIcon(this.name);if(!t(this.weight))this.handleWeightChange()};getIconSource=a=>{if(!this.name&&!this.src)return undefined;if(this.src)return this.src;const r=".svg";const e=`${a}${r}`;return l(e)};loadIcon=async a=>{const r=this.getIconSource(a);if(!r)return;try{const a=await x(r,true);if(!a)return;this._svgContent=a;this.svgLoaded.emit(this._svgContent)}catch(a){console.error("[BEEQ] Failed to load the icon SVG content",a)}};render(){const{color:a,label:r,name:e,size:q}=this;const t={...a&&{"--bq-icon--color":i(a)},...q&&{"--bq-icon--size":`${q}px`}};return b(n,{key:"849a56352b6ffdff9d98de2db9c6f46d05955657",style:t},b("div",{key:"b3ded59f6807e90287d6a6a6308eba0266745287","aria-label":r??`${e} icon`,class:"flex text-[--bq-icon--color] bs-[--bq-icon--size] is-[--bq-icon--size]",innerHTML:this._svgContent,part:"base",role:"img"}))}static get assetsDirs(){return["svg"]}static get watchers(){return{color:["handlePropsChange"],name:["handlePropsChange"],size:["handlePropsChange"],weight:["handleWeightChange"]}}static get style(){return z}},[257,"bq-icon",{label:[513],color:[513],name:[513],size:[520],src:[513],weight:[513],_svgContent:[32]},undefined,{color:["handlePropsChange"],name:["handlePropsChange"],size:["handlePropsChange"],weight:["handleWeightChange"]}]);function C(){if(typeof customElements==="undefined"){return}const a=["bq-icon"];a.forEach((a=>{switch(a){case"bq-icon":if(!customElements.get(a)){customElements.define(a,$)}break}}))}export{$ as B,C as d,l as g,d as s};
6
- //# sourceMappingURL=p-D8zAe4nK.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["beeqBasePath","DATA_BEEQ_ATTRIBUTE","DEFAULT_SVG_PATH","setBasePath","path","getBasePath","subpath","configScript","findConfigScript","configPath","getAttribute","fallbackScript","findFallbackScript","fallbackPath","getScriptPath","formattedSubpath","replace","isClient","document","querySelector","script","src","substring","lastIndexOf","SVG_TAG","ICON_CSS_CLASS","cache","requests","Map","content","sanitizeSvgElement","svg","currentClass","setAttribute","trim","removeAttribute","validateElement","element","nodeType","Node","ELEMENT_NODE","nodeName","toLowerCase","hasUnsafeAttribute","Array","from","attributes","some","attr","value","name","startsWith","includes","children","every","child","processSvgContent","isNil","domParser","DOMParser","doc","parseFromString","console","warn","XMLSerializer","serializeToString","error","fetchAndProcessSvg","async","url","shouldSanitize","response","fetch","ok","Error","status","statusText","text","getSvgContent","sanitize","undefined","has","cachedContent","get","request","then","set","delete","bqIconCss","BqIcon","__stencil_proxyCustomElement","HTMLElement","_svgContent","label","color","size","weight","handlePropsChange","this","loadIcon","handleWeightChange","REGULAR","isWeightedIcon","weightSuffix","iconName","svgLoaded","connectedCallback","setupIconComponent","componentWillLoad","getIconSource","SVG_EXTENSION","iconFileName","emit","render","styles","getColorCSSVariable","h","Host","key","style","class","innerHTML","part","role"],"sources":["../../packages/beeq/src/shared/utils/assetsPath.ts","../../packages/beeq/src/components/icon/helper/request.ts","../../packages/beeq/src/components/icon/scss/bq-icon.scss?tag=bq-icon&encapsulation=shadow","../../packages/beeq/src/components/icon/bq-icon.tsx"],"sourcesContent":["/**\n * Inspired by Shoelace's `getBasePath` and `setBasePath` functions.\n * https://github.com/shoelace-style/shoelace/blob/next/src/utilities/base-path.ts\n */\nimport { isClient } from './isClient';\n\nlet beeqBasePath: string | undefined;\nconst DATA_BEEQ_ATTRIBUTE = 'data-beeq';\nconst DEFAULT_SVG_PATH = 'svg';\n\n/**\n * Sets the base path for the assets.\n * @param {string} path - The base path to set.\n */\nexport const setBasePath = (path: string): void => {\n beeqBasePath = path;\n};\n\n/**\n * Gets the base path for the assets.\n * @param {string} subpath - An optional subpath to append to the base path.\n * @returns {string} The base path of the assets.\n */\nexport const getBasePath = (subpath: string = ''): string => {\n if (!beeqBasePath) {\n const configScript = findConfigScript();\n // Get the path from the config script that uses the data-beeq attribute\n const configPath = configScript?.getAttribute(DATA_BEEQ_ATTRIBUTE);\n\n const fallbackScript = findFallbackScript();\n // If no data-beeq attribute is found, use the script path\n const fallbackPath = fallbackScript ? `${getScriptPath(fallbackScript)}/${DEFAULT_SVG_PATH}` : '';\n\n setBasePath(configPath || fallbackPath);\n }\n\n // Return the base path without a trailing slash. If one exists, append the subpath separated by a slash.\n const formattedSubpath = subpath ? `/${subpath.replace(/^\\//, '')}` : '';\n return beeqBasePath.replace(/\\/$/, '') + formattedSubpath;\n};\n\n/**\n * Finds the configuration script element.\n * @returns The configuration script element or null if not found.\n */\nconst findConfigScript = (): HTMLScriptElement | null => {\n if (!isClient()) return null;\n\n return document.querySelector(`script[${DATA_BEEQ_ATTRIBUTE}]`);\n};\n\n/**\n * Finds the fallback script element.\n * @returns The fallback script element or null if not found.\n */\nconst findFallbackScript = (): HTMLScriptElement | null => {\n if (!isClient()) return null;\n\n return document.querySelector(`script[src*=\"beeq\"]`);\n};\n\n/**\n * Gets the path of a script element.\n * @param {HTMLScriptElement} script - The script element.\n * @returns The path of the script element.\n */\nconst getScriptPath = (script: HTMLScriptElement): string => {\n if (!isClient()) return '';\n\n const src = script.getAttribute('src');\n return src ? src.substring(0, src.lastIndexOf('/')) : '';\n};\n","/* -------------------------------------------------------------------------- */\n/* Icon request helper */\n/* -------------------------------------------------------------------------- */\n\nimport { isClient, isNil } from '../../../shared/utils';\n\nconst SVG_TAG = 'svg';\nconst ICON_CSS_CLASS = 'bq-icon__svg';\n\ninterface IconCache {\n requests: Map<string, Promise<string>>;\n content: Map<string, string>;\n}\n\nconst cache: IconCache = {\n requests: new Map(),\n content: new Map(),\n};\n\n/**\n * Sanitizes SVG element by setting required attributes and removing unwanted ones\n * @param svg - The SVG element to sanitize\n */\nconst sanitizeSvgElement = (svg: SVGElement): void => {\n const currentClass = svg.getAttribute('class') || '';\n\n svg.setAttribute('class', `${currentClass} ${ICON_CSS_CLASS}`.trim());\n svg.setAttribute('part', SVG_TAG);\n svg.removeAttribute('height');\n svg.removeAttribute('width');\n};\n\n/**\n * Validates element security (no scripts or event handlers)\n * @param element - The element to validate\n * @returns True if the element is valid, false otherwise\n */\nconst validateElement = (element: Element): boolean => {\n if (!element || element.nodeType !== Node.ELEMENT_NODE) return false;\n if (element.nodeName.toLowerCase() === 'script') return false;\n\n // Check for malicious attributes using modern array methods\n const hasUnsafeAttribute = Array.from(element.attributes).some((attr) => {\n const value = attr.value?.toLowerCase() || '';\n const name = attr.name.toLowerCase();\n\n // Check for event handlers\n if (name.startsWith('on')) return true;\n // Check for javascript: URLs\n if (value.includes('javascript:')) return true;\n\n return false;\n });\n\n if (hasUnsafeAttribute) return false;\n\n // Recursively validate children\n return Array.from(element.children).every((child) => validateElement(child));\n};\n\n/**\n * Processes SVG content with security checks and sanitization\n * @param content - The SVG content to process\n * @returns The processed and sanitized SVG content\n */\nconst processSvgContent = (content: string): string => {\n if (!isClient() || isNil(content)) return '';\n\n try {\n const domParser = new DOMParser();\n const doc = domParser.parseFromString(content, 'image/svg+xml');\n const svg = doc.querySelector(SVG_TAG);\n\n if (!svg || !validateElement(svg)) {\n console.warn('[BqIcon] SVG content failed security validation');\n return '';\n }\n\n sanitizeSvgElement(svg);\n return new XMLSerializer().serializeToString(svg);\n } catch (error) {\n console.error('[BqIcon] Error processing SVG content:', error);\n return '';\n }\n};\n\n/**\n * Fetches and processes SVG content from URL\n * @param url - The URL of the SVG to fetch\n * @param shouldSanitize - Whether to sanitize the SVG content\n * @returns Promise that resolves to the processed SVG content\n */\nconst fetchAndProcessSvg = async (url: string, shouldSanitize = true): Promise<string> => {\n if (!isClient()) return '';\n\n try {\n const response = await fetch(url);\n\n if (!response.ok) {\n throw new Error(`HTTP ${response.status}: ${response.statusText}`);\n }\n\n const content = await response.text();\n\n if (!content.trim()) {\n console.warn(`[BqIcon] Empty SVG content received from ${url}`);\n return '';\n }\n\n return shouldSanitize ? processSvgContent(content) : content;\n } catch (error) {\n console.error(`[BqIcon] Failed to fetch SVG from ${url}:`, error);\n return '';\n }\n};\n\n/**\n * Retrieves SVG content with caching, security validation, and sanitization\n * @param url - The URL of the SVG to fetch\n * @param sanitize - Whether to sanitize the SVG content (default: true)\n * @returns Promise that resolves to the processed SVG content or undefined\n */\nexport const getSvgContent = async (url?: string, sanitize = true): Promise<string> => {\n if (!isClient() || isNil(url)) return undefined;\n\n // Return cached content if available\n if (cache.content.has(url)) {\n const cachedContent = cache.content.get(url);\n return cachedContent;\n }\n\n // Check if the request is already in the cache\n if (!cache.requests.has(url)) {\n // Create new request with proper cleanup\n const request = fetchAndProcessSvg(url, sanitize).then((content) => {\n // Cache the result (including empty strings for failed requests)\n cache.content.set(url, content);\n // Clean up the pending request\n cache.requests.delete(url);\n return content;\n });\n\n cache.requests.set(url, request);\n }\n\n return cache.requests.get(url);\n};\n\n/**\n * Clears the icon cache - useful for testing or memory management\n */\nexport const clearIconCache = (): void => {\n cache.requests.clear();\n cache.content.clear();\n};\n\n/**\n * Gets cache statistics for debugging\n */\nexport const getCacheStats = () => ({\n pendingRequests: cache.requests.size,\n cachedContent: cache.content.size,\n urls: Array.from(cache.content.keys()),\n});\n\n// Export cache for external access if needed\nexport { cache as iconCache };\n","/* -------------------------------------------------------------------------- */\n/* Icon styles */\n/* -------------------------------------------------------------------------- */\n\n@import './bq-icon.variables';\n\n:host {\n @apply inline-block;\n}\n\n/**\n * This class is added on packages/beeq/src/components/icon/helper/request.ts\n * See lines 42 and 58 for details.\n */\n.bq-icon__svg {\n @apply scale-x-[--bq-icon--direction];\n}\n","import { Component, Event, h, Host, Prop, State, Watch } from '@stencil/core';\nimport type { EventEmitter } from '@stencil/core';\n\nimport type { TIconWeight } from './bq-icon.types';\nimport { getSvgContent } from './helper/request';\nimport { getBasePath, getColorCSSVariable, isNil } from '../../shared/utils';\n\n/**\n * The Icon component is an image that provides a visual representation of an object, action, or concept displayed on the screen.\n * It is a small graphical element that is used to enhance the user interface and improve user experience.\n *\n * @example How to use it\n * ```html\n * <bq-icon color=\"text--brand\" name=\"bell-ringing\" size=\"24\"></bq-icon>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/675fad-icon\n * @status stable\n *\n * @attr {string} color - Set the stroke color of the SVG. The value should be a valid value of the palette color.\n * @attr {string} label - Label for the icon, used for accessibility.\n * @attr {string} name - Icon name to load. Please check all available icons [here](https://phosphoricons.com/).\n * @attr {string | number} size - Set the size of the SVG.\n * @attr {string} src - Set the source of the SVG. If the source is set, the name property will be ignored.\n *\n * @event svgLoaded - Callback handler to be called when the SVG has loaded.\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 * @cssprop --bq-icon--color - The stroke color of the SVG.\n * @cssprop --bq-icon--size - The size of the SVG.\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 undefined;\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 = async (name: string) => {\n const url = this.getIconSource(name);\n if (!url) return;\n\n try {\n const content = await getSvgContent(url, true);\n if (!content) return;\n\n this._svgContent = content;\n this.svgLoaded.emit(this._svgContent);\n } catch (error) {\n console.error('[BEEQ] Failed to load the icon SVG content', error);\n }\n };\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n const { color, label, name, size } = this;\n const styles = {\n ...(color && { '--bq-icon--color': getColorCSSVariable(color) }),\n ...(size && { '--bq-icon--size': `${size}px` }),\n };\n\n return (\n <Host style={styles}>\n <div\n aria-label={label ?? `${name} icon`}\n class=\"flex text-[--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"],"mappings":";;;;4KAMA,IAAIA,EACJ,MAAMC,EAAsB,YAC5B,MAAMC,EAAmB,MAMZ,MAAAC,EAAeC,IAC1BJ,EAAeI,CAAI,E,MAQRC,EAAc,CAACC,EAAkB,MAC5C,IAAKN,EAAc,CACjB,MAAMO,EAAeC,IAErB,MAAMC,EAAaF,GAAcG,aAAaT,GAE9C,MAAMU,EAAiBC,IAEvB,MAAMC,EAAeF,EAAiB,GAAGG,EAAcH,MAAmBT,IAAqB,GAE/FC,EAAYM,GAAcI,E,CAI5B,MAAME,EAAmBT,EAAU,IAAIA,EAAQU,QAAQ,MAAO,MAAQ,GACtE,OAAOhB,EAAagB,QAAQ,MAAO,IAAMD,CAAgB,EAO3D,MAAMP,EAAmB,KACvB,IAAKS,IAAY,OAAO,KAExB,OAAOC,SAASC,cAAc,UAAUlB,KAAuB,EAOjE,MAAMW,EAAqB,KACzB,IAAKK,IAAY,OAAO,KAExB,OAAOC,SAASC,cAAc,sBAAsB,EAQtD,MAAML,EAAiBM,IACrB,IAAKH,IAAY,MAAO,GAExB,MAAMI,EAAMD,EAAOV,aAAa,OAChC,OAAOW,EAAMA,EAAIC,UAAU,EAAGD,EAAIE,YAAY,MAAQ,EAAE,EChE1D,MAAMC,EAAU,MAChB,MAAMC,EAAiB,eAOvB,MAAMC,EAAmB,CACvBC,SAAU,IAAIC,IACdC,QAAS,IAAID,KAOf,MAAME,EAAsBC,IAC1B,MAAMC,EAAeD,EAAIrB,aAAa,UAAY,GAElDqB,EAAIE,aAAa,QAAS,GAAGD,KAAgBP,IAAiBS,QAC9DH,EAAIE,aAAa,OAAQT,GACzBO,EAAII,gBAAgB,UACpBJ,EAAII,gBAAgB,QAAQ,EAQ9B,MAAMC,EAAmBC,IACvB,IAAKA,GAAWA,EAAQC,WAAaC,KAAKC,aAAc,OAAO,MAC/D,GAAIH,EAAQI,SAASC,gBAAkB,SAAU,OAAO,MAGxD,MAAMC,EAAqBC,MAAMC,KAAKR,EAAQS,YAAYC,MAAMC,IAC9D,MAAMC,EAAQD,EAAKC,OAAOP,eAAiB,GAC3C,MAAMQ,EAAOF,EAAKE,KAAKR,cAGvB,GAAIQ,EAAKC,WAAW,MAAO,OAAO,KAElC,GAAIF,EAAMG,SAAS,eAAgB,OAAO,KAE1C,OAAO,KAAK,IAGd,GAAIT,EAAoB,OAAO,MAG/B,OAAOC,MAAMC,KAAKR,EAAQgB,UAAUC,OAAOC,GAAUnB,EAAgBmB,IAAO,EAQ9E,MAAMC,EAAqB3B,IACzB,IAAKZ,KAAcwC,EAAM5B,GAAU,MAAO,GAE1C,IACE,MAAM6B,EAAY,IAAIC,UACtB,MAAMC,EAAMF,EAAUG,gBAAgBhC,EAAS,iBAC/C,MAAME,EAAM6B,EAAIzC,cAAcK,GAE9B,IAAKO,IAAQK,EAAgBL,GAAM,CACjC+B,QAAQC,KAAK,mDACb,MAAO,E,CAGTjC,EAAmBC,GACnB,OAAO,IAAIiC,eAAgBC,kBAAkBlC,E,CAC7C,MAAOmC,GACPJ,QAAQI,MAAM,yCAA0CA,GACxD,MAAO,E,GAUX,MAAMC,EAAqBC,MAAOC,EAAaC,EAAiB,QAC9D,IAAKrD,IAAY,MAAO,GAExB,IACE,MAAMsD,QAAiBC,MAAMH,GAE7B,IAAKE,EAASE,GAAI,CAChB,MAAM,IAAIC,MAAM,QAAQH,EAASI,WAAWJ,EAASK,a,CAGvD,MAAM/C,QAAgB0C,EAASM,OAE/B,IAAKhD,EAAQK,OAAQ,CACnB4B,QAAQC,KAAK,4CAA4CM,KACzD,MAAO,E,CAGT,OAAOC,EAAiBd,EAAkB3B,GAAWA,C,CACrD,MAAOqC,GACPJ,QAAQI,MAAM,qCAAqCG,KAAQH,GAC3D,MAAO,E,GAUJ,MAAMY,EAAgBV,MAAOC,EAAcU,EAAW,QAC3D,IAAK9D,KAAcwC,EAAMY,GAAM,OAAOW,UAGtC,GAAItD,EAAMG,QAAQoD,IAAIZ,GAAM,CAC1B,MAAMa,EAAgBxD,EAAMG,QAAQsD,IAAId,GACxC,OAAOa,C,CAIT,IAAKxD,EAAMC,SAASsD,IAAIZ,GAAM,CAE5B,MAAMe,EAAUjB,EAAmBE,EAAKU,GAAUM,MAAMxD,IAEtDH,EAAMG,QAAQyD,IAAIjB,EAAKxC,GAEvBH,EAAMC,SAAS4D,OAAOlB,GACtB,OAAOxC,CAAO,IAGhBH,EAAMC,SAAS2D,IAAIjB,EAAKe,E,CAG1B,OAAO1D,EAAMC,SAASwD,IAAId,EAAI,ECjJhC,MAAMmB,EAAY,whnB,MCuCLC,EAAMC,EAAA,MAAAD,UAAAE,E,oHAWAC,YAMQC,MAGAC,MAGA5C,KAGA6C,KAAyB,GAGzB1E,IAGA2E,OAAuBhB,UAQhD,iBAAAiB,GACEC,KAAKC,SAASD,KAAKhD,K,CAQrB,kBAAAkD,GACE,GAAIF,KAAKhD,KAAKE,SAAS8C,KAAKF,QAAS,OAErClC,QAAQC,KACN,2NAKF,MAAMsC,EAAU,UAChB,MAAMC,GAAkB7C,EAAMyC,KAAKF,SAAWE,KAAKF,SAAWK,EAG9D,MAAME,EAAeD,EAAiB,IAAIJ,KAAKF,SAAW,GAG1D,MAAMQ,EAAW,GAAGN,KAAKhD,OAAOqD,IAChCL,KAAKC,SAASK,E,CAQPC,UAMT,iBAAAC,GACER,KAAKS,oB,CAGP,iBAAAC,GACEV,KAAKS,oB,CAkBCA,mBAAqB,KAC3BT,KAAKC,SAASD,KAAKhD,MAEnB,IAAKO,EAAMyC,KAAKF,QAASE,KAAKE,oBAAoB,EAG5CS,cAAiB3D,IACvB,IAAKgD,KAAKhD,OAASgD,KAAK7E,IAAK,OAAO2D,UAEpC,GAAIkB,KAAK7E,IAAK,OAAO6E,KAAK7E,IAE1B,MAAMyF,EAAgB,OACtB,MAAMC,EAAe,GAAG7D,IAAO4D,IAE/B,OAAOzG,EAAY0G,EAAa,EAG1BZ,SAAW/B,MAAOlB,IACxB,MAAMmB,EAAM6B,KAAKW,cAAc3D,GAC/B,IAAKmB,EAAK,OAEV,IACE,MAAMxC,QAAgBiD,EAAcT,EAAK,MACzC,IAAKxC,EAAS,OAEdqE,KAAKN,YAAc/D,EACnBqE,KAAKO,UAAUO,KAAKd,KAAKN,Y,CACzB,MAAO1B,GACPJ,QAAQI,MAAM,6CAA8CA,E,GAQhE,MAAA+C,GACE,MAAMnB,MAAEA,EAAKD,MAAEA,EAAK3C,KAAEA,EAAI6C,KAAEA,GAASG,KACrC,MAAMgB,EAAS,IACTpB,GAAS,CAAE,mBAAoBqB,EAAoBrB,OACnDC,GAAQ,CAAE,kBAAmB,GAAGA,QAGtC,OACEqB,EAACC,EAAK,CAAAC,IAAA,2CAAAC,MAAOL,GACXE,EACc,OAAAE,IAAA,wDAAAzB,GAAS,GAAG3C,SACxBsE,MAAM,yEACNC,UAAWvB,KAAKN,YAChB8B,KAAK,OACLC,KAAK,Q","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["setRafTimeout","func","wait","args","invokeFunc","timeoutId","setTimeout","clearTimeout","rafId","currentTime","performance","now","cancel","cancelAnimationFrame","handleRequestAnimationFrame","time","delta","requestAnimationFrame","debounce","immediate","debounceHandler","context","this","timeoutHandler","fn","apply","isNil","Object","assign"],"sources":["../../packages/beeq/src/shared/utils/setRafTimeout.ts","../../packages/beeq/src/shared/utils/debounce.ts"],"sourcesContent":["/**\n * Implements setTimeout using requestAnimationFrame. Uses setTimeout if wait is 0.\n *\n * @param {Function} func - The function to timeout.\n * @param {Number} wait - The number of milliseconds to delay.\n * @param {Any[]} args - The arguments of func.\n * @returns {void}\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport const setRafTimeout = <TFunc extends (...args: any[]) => void>(\n func: TFunc,\n wait: number,\n ...args: Parameters<TFunc>\n): (() => void) => {\n const invokeFunc = () => func(...args);\n\n if (wait === 0) {\n const timeoutId = setTimeout(invokeFunc, wait);\n return () => clearTimeout(timeoutId);\n } else {\n let rafId: number;\n const currentTime = performance.now();\n\n const cancel = () => cancelAnimationFrame(rafId);\n\n const handleRequestAnimationFrame: FrameRequestCallback = (time) => {\n const delta = time - currentTime;\n\n cancel();\n\n if (delta < wait) {\n rafId = requestAnimationFrame(handleRequestAnimationFrame);\n } else {\n invokeFunc();\n }\n };\n\n rafId = requestAnimationFrame(handleRequestAnimationFrame);\n\n return cancel;\n }\n};\n","import { isNil } from './isNil';\nimport { setRafTimeout } from './setRafTimeout';\n\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport type TFunction = (...args: any[]) => unknown;\n\ntype TDebounceFnReturn<T> = T extends unknown[] ? (...params: T) => void : (param: T) => void;\nexport type TDebounce<T> = TDebounceFnReturn<T> & { cancel: () => void } extends infer U ? U : never;\n\n/**\n * Creates a debounced function that delays invoking func until after wait milliseconds have elapsed\n * since the last time the debounced function was invoked.\n *\n * @param {Function} func - The function to debounce.\n * @param {Number} wait - The number of milliseconds to delay.\n * @param {Boolean} immediate - If `true`, the function triggers immediately and then waits for the interval before being called again.\n * @return {Function} The new debounced function.\n */\nexport const debounce = <TFunc extends TFunction>(func: TFunc, wait = 0, immediate = false) => {\n let cancel: () => void | undefined;\n\n function debounceHandler(...args: Parameters<typeof func>) {\n cancel?.();\n\n // eslint-disable-next-line @typescript-eslint/no-this-alias\n const context = this;\n\n function timeoutHandler(fn: TFunc, context: unknown, ...args: Parameters<typeof fn>) {\n fn.apply(context, args);\n }\n\n if (immediate && isNil(cancel)) {\n func.apply(context, args);\n }\n\n cancel = setRafTimeout(timeoutHandler, wait, func, context, ...args);\n }\n\n return Object.assign(debounceHandler, {\n cancel: () => {\n cancel?.();\n },\n });\n};\n"],"mappings":";;;;oCASO,MAAMA,EAAgB,CAC3BC,EACAC,KACGC,KAEH,MAAMC,EAAa,IAAMH,KAAQE,GAEjC,GAAID,IAAS,EAAG,CACd,MAAMG,EAAYC,WAAWF,EAAYF,GACzC,MAAO,IAAMK,aAAaF,E,KACrB,CACL,IAAIG,EACJ,MAAMC,EAAcC,YAAYC,MAEhC,MAAMC,EAAS,IAAMC,qBAAqBL,GAE1C,MAAMM,EAAqDC,IACzD,MAAMC,EAAQD,EAAON,EAErBG,IAEA,GAAII,EAAQd,EAAM,CAChBM,EAAQS,sBAAsBH,E,KACzB,CACLV,G,GAIJI,EAAQS,sBAAsBH,GAE9B,OAAOF,C,GCrBJ,MAAMM,EAAW,CAA0BjB,EAAaC,EAAO,EAAGiB,EAAY,SACnF,IAAIP,EAEJ,SAASQ,KAAmBjB,GAC1BS,MAGA,MAAMS,EAAUC,KAEhB,SAASC,EAAeC,EAAWH,KAAqBlB,GACtDqB,EAAGC,MAAMJ,EAASlB,E,CAGpB,GAAIgB,GAAaO,EAAMd,GAAS,CAC9BX,EAAKwB,MAAMJ,EAASlB,E,CAGtBS,EAASZ,EAAcuB,EAAgBrB,EAAMD,EAAMoB,KAAYlB,E,CAGjE,OAAOwB,OAAOC,OAAOR,EAAiB,CACpCR,OAAQ,KACNA,KAAU,GAEZ,S","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["DIVIDER_ORIENTATION","DIVIDER_ORIENTATION_ENUM","HORIZONTAL","VERTICAL","DIVIDER_TITLE_ALIGNMENT","DIVIDER_STROKE_LINECAP","bqDividerCss","BqDivider","__stencil_proxyCustomElement","HTMLElement","titleElem","hasTitle","dashed","orientation","strokeColor","titleAlignment","strokeDashWidth","strokeDashGap","strokeThickness","strokeBasis","strokeLinecap","checkPropValues","validatePropValue","this","el","connectedCallback","componentWillLoad","componentDidLoad","handleSlotChange","hasSlotContent","getTextContent","querySelector","strokeAttributes","strokeDrawPositions","strokeDasharray","drawOffset","x1","x2","y1","y2","orientationMap","Map","Object","entries","get","render","styles","getColorCSSVariable","isNil","h","Host","key","style","class","part","ref","div","role","onSlotchange"],"sources":["../../packages/beeq/src/components/divider/bq-divider.types.ts","../../packages/beeq/src/components/divider/scss/bq-divider.scss?tag=bq-divider&encapsulation=shadow","../../packages/beeq/src/components/divider/bq-divider.tsx"],"sourcesContent":["export const DIVIDER_ORIENTATION = ['horizontal', 'vertical'] as const;\nexport type TDividerOrientation = (typeof DIVIDER_ORIENTATION)[number];\n\nexport const DIVIDER_ORIENTATION_ENUM = {\n HORIZONTAL: 'horizontal',\n VERTICAL: 'vertical',\n} as const;\n\nexport const DIVIDER_TITLE_ALIGNMENT = ['start', 'middle', 'end'] as const;\nexport type TDividerTitleAlignment = (typeof DIVIDER_TITLE_ALIGNMENT)[number];\n\nexport const DIVIDER_STROKE_LINECAP = ['square', 'round', 'butt'] as const;\nexport type TDividerStrokeLinecap = (typeof DIVIDER_STROKE_LINECAP)[number];\n","/* -------------------------------------------------------------------------- */\n/* Button styles */\n/* -------------------------------------------------------------------------- */\n\n@import './bq-divider.variables';\n\n:host {\n @apply block is-full;\n}\n\n:host([orientation='vertical']) {\n @apply flex bs-full;\n}\n\n.bq-divider {\n @apply flex items-center gap-[--bq-divider--title-marginX];\n}\n\n.bq-divider--stroke {\n @apply flex-grow stroke-[color:--bq-divider--stroke-color] bs-[--bq-divider--stroke-thickness] is-full;\n\n &.end {\n @apply rotate-180;\n }\n}\n\n.bq-divider--title__start .bq-divider--stroke.start,\n.bq-divider--title__end .bq-divider--stroke.end {\n @apply flex-grow-0 basis-[--bq-divider--stroke-basis];\n}\n\n.bq-divider--vertical {\n @apply flex-col items-center gap-[--bq-divider--title-marginX] is-full;\n\n .bq-divider--stroke {\n @apply bs-full is-[--bq-divider--stroke-thickness];\n }\n}\n","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} from './bq-divider.types';\nimport type { TDividerOrientation, TDividerStrokeLinecap, TDividerTitleAlignment } from './bq-divider.types';\nimport { getColorCSSVariable, getTextContent, hasSlotContent, isNil, validatePropValue } from '../../shared/utils';\n\n/**\n * The Divider component is used to visually separate content in a layout.\n *\n * @example How to use it\n * ```html\n * <bq-divider orientation=\"horizontal\" stroke-color=\"stroke--primary\" title-alignment=\"middle\">\n * <span slot=\"title\">Divider Title</span>\n * </bq-divider>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/53dfe6-divider\n * @status stable\n *\n * @attr {boolean} dashed - If true, the divider has a dashed pattern.\n * @attr {\"horizontal\" | \"vertical\"} orientation - The default orientation of the divider.\n * @attr {string} stroke-color - Set the stroke color of the divider. The value should be a valid value of the palette color.\n * @attr {\"start\" | \"middle\" | \"end\"} title-alignment - Set the alignment of the title on the main axis of the divider (horizontal / vertical).\n * @attr {number} stroke-dash-width - Set the width of each dash of the divider's stroke. This is applicable when the stroke is dashed.\n * @attr {number} stroke-dash-gap - Set the gap of the divider's stroke. This is applicable when the stroke is dashed.\n * @attr {number} stroke-thickness - Set the thickness of the divider's stroke. Value expressed in px.\n * @attr {number} stroke-basis - Set the min width of the divider's stroke when text is not centered. Value expressed in px.\n * @attr {\"square\" | \"round\" | \"butt\"} stroke-linecap - Set the line of the divider's stroke. This is applicable when the stroke is dashed.\n *\n * @slot - The title content of the divider.\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 * @cssprop --bq-divider--color - Divider color\n * @cssprop --bq-divider--title-marginX - Divider space between title and delimiters\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"],"mappings":";;;;gNAAO,MAAMA,EAAsB,CAAC,aAAc,YAG3C,MAAMC,EAA2B,CACtCC,WAAY,aACZC,SAAU,YAGL,MAAMC,EAA0B,CAAC,QAAS,SAAU,OAGpD,MAAMC,EAAyB,CAAC,SAAU,QAAS,QCX1D,MAAMC,EAAe,0ipB,MCkDRC,EAASC,EAAA,MAAAD,UAAAE,E,iFAIZC,U,qBAWSC,SAMTC,OAAS,MAGQC,YAAmC,aAGnCC,YAAuB,kBAGvBC,eAA0C,SAG1CC,gBAA2B,GAG3BC,cAAyB,EAGzBC,gBAA2B,EAG3BC,YAAuB,EAGvBC,cAAwC,OAQjE,eAAAC,GACEC,EAAkBtB,EAAqB,aAAcuB,KAAKC,GAAI,eAC9DF,EAAkBlB,EAAyB,SAAUmB,KAAKC,GAAI,kBAC9DF,EAAkBjB,EAAwB,OAAQkB,KAAKC,GAAI,gB,CAW7D,iBAAAC,GACEF,KAAKF,iB,CAGP,iBAAAK,GACEH,KAAKF,iB,CAGP,gBAAAM,GACEJ,KAAKK,kB,CAkBCA,iBAAmB,KACzBL,KAAKZ,SAAWkB,EAAeN,KAAKb,cAAgBoB,EAAeP,KAAKb,UAAUqB,cAAc,QAAQ,EAG1G,oBAAYC,GACV,MAAO,IACFT,KAAKU,uBACJV,KAAKX,QAAU,CAAE,mBAAoBW,KAAKW,iBAC9C,iBAAkBX,KAAKH,cACvB,eAAgBG,KAAKL,gB,CAIzB,uBAAYe,GACV,MAAME,EAAaZ,KAAKL,gBAAkB,EAC1C,MAAMe,EAAsB,CAC1B,CAAChC,EAAyBC,YAAa,CAAEkC,GAAID,EAAYE,GAAI,OAAQC,GAAIH,EAAYI,GAAIJ,GACzF,CAAClC,EAAyBE,UAAW,CAAEiC,GAAID,EAAYE,GAAIF,EAAYG,GAAIH,EAAYI,GAAI,SAE7F,MAAMC,EAAiB,IAAIC,IAAIC,OAAOC,QAAQV,IAE9C,OAAOO,EAAeI,IAAIrB,KAAKV,Y,CAGjC,mBAAYqB,GACV,MAAO,GAAGX,KAAKP,oBAAoBO,KAAKN,e,CAO1C,MAAA4B,GACE,MAAMC,EAAS,IACTvB,KAAKT,aAAe,CAAE,6BAA8BiC,EAAoBxB,KAAKT,iBAC7ES,KAAKL,iBAAmB,CAAE,iCAAkC,GAAGK,KAAKL,yBACnE8B,EAAMzB,KAAKJ,cAAgB,CAAE,6BAA8B,GAAGI,KAAKJ,kBAG1E,OACE8B,EAACC,EAAK,CAAAC,IAAA,2CAAAC,MAAON,GACXG,EAAA,OAAAE,IAAA,2CACEE,MAAO,CACL,aAAc,KACd,CAAC,eAAe9B,KAAKV,eAAgB,KACrC,CAAC,sBAAsBU,KAAKR,kBAAmB,KAC/C,SAAUQ,KAAKZ,UAEjB2C,KAAK,OACLC,IAAMC,GAASjC,KAAKb,UAAY8C,EAChCC,KAAK,YAAW,mBACElC,KAAKV,aAEvBoC,EAAA,OAAAE,IAAA,2CACEE,MAAO,CACL,2BAA4B,KAC5B,UAAW9B,KAAKJ,cAAgB,GAAKI,KAAKR,iBAAmB,SAE/DuC,KAAK,cAELL,EAAU,QAAAE,IAAA,8CAAA5B,KAAKS,iBAAkBsB,KAAK,qBAExCL,EAAA,QAAAE,IAAA,2CAAMO,aAAcnC,KAAKK,mBACzBqB,EAAA,OAAAE,IAAA,2CACEE,MAAO,CACL,yBAA0B,KAC1B,WAAY9B,KAAKZ,UAAaY,KAAKJ,cAAgB,GAAKI,KAAKR,iBAAmB,OAElFuC,KAAK,YAELL,EAAA,QAAAE,IAAA,8CAAU5B,KAAKS,iBAAkBsB,KAAK,oB","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["bqDropdownCss","id","BqDropdown","__stencil_proxyCustomElement","HTMLElement","dropdownPanelId","triggerElem","disableScrollLock","disabled","distance","keepOpenOnSelect","placement","open","panelHeight","sameWidth","skidding","strategy","onOpenChange","this","bqOpen","emit","handleDisabledChange","removeAttribute","setAttribute","componentDidLoad","el","querySelector","onItemSelect","onClickOutside","event","isEventTargetChildOfElement","onEscape","key","handleScrollEvent","togglePanel","hasAttribute","render","style","h","class","part","onClick","name","role","exportparts"],"sources":["../../packages/beeq/src/components/dropdown/scss/bq-dropdown.scss?tag=bq-dropdown&encapsulation=shadow","../../packages/beeq/src/components/dropdown/bq-dropdown.tsx"],"sourcesContent":["/* -------------------------------------------------------------------------- */\n/* Dropdown styles */\n/* -------------------------------------------------------------------------- */\n\n:host {\n @apply relative inline-block;\n}\n","import { Component, Element, Event, h, Listen, Prop, Watch } from '@stencil/core';\nimport type { EventEmitter } from '@stencil/core';\n\nimport type { Placement } from '../../services/interfaces';\nimport { isEventTargetChildOfElement } from '../../shared/utils';\n\nlet id = 0;\n\n/**\n * The Dropdown Component is commonly used when presenting a list of selectable options that are too numerous to fit comfortably on the screen.\n * They provide an efficient way to save space and present a long list of options in a compact and organized manner.\n *\n * @example How to use it\n * ```html\n * <bq-dropdown placement=\"bottom-start\">\n * <bq-button slot=\"trigger\">Dropdown</bq-button>\n * <bq-option-list>\n * <bq-option value=\"users\">...</bq-option>\n * <bq-option value=\"user\">...</bq-option>\n * <bq-option value=\"dashboard\">...</bq-option>\n * <bq-option value=\"settings\">...</bq-option>\n * <bq-option value=\"logout\">...</bq-option>\n * </bq-option-list>\n * </bq-dropdown>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/47ff4b-dropdown\n * @status stable\n *\n * @dependency bq-panel\n *\n * @attr {boolean} disabled - If true, the dropdown panel will be visible and won't be shown.\n * @attr {number} distance - Represents the distance (gutter or margin) between the panel and the trigger element.\n * @attr {boolean} keep-open-on-select - If true, the panel will remain open after a selection is made.\n * @attr {\"top\" | \"bottom\" | \"left\" | \"right\" | \"top-start\" | \"top-end\" | \"bottom-start\" | \"bottom-end\" | \"left-start\" | \"left-end\" | \"right-start\" | \"right-end\"} placement - Position of the panel.\n * @attr {boolean} open - If true, the panel will be visible.\n * @attr {string} panel-height - When set, it will override the height of the dropdown panel.\n * @attr {boolean} same-width - Whether the panel should have the same width as the trigger element.\n * @attr {number} skidding - Represents the skidding between the panel and the trigger element.\n * @attr {\"fixed\" | \"absolute\"} strategy - Defines the strategy to position the panel.\n *\n * @event bqOpen - Callback handler to be called when the dropdown panel is opened or closed.\n *\n * @slot trigger - The trigger element that opens the dropdown panel.\n * @slot - The content of the dropdown panel.\n *\n * @part base - The component's internal wrapper.\n * @part dropdown - The `<bq-panel>` element used under the hood to display the dropdown panel.\n * @part panel - The `<div>` element used to display and style the panel inside the `<bq-panel>` element.\n * @part trigger - The `<div>` element that hosts the trigger element.\n *\n * @cssprop --bq-panel--background - Panel background color\n * @cssprop --bq-panel--border-color - Panel border color\n * @cssprop --bq-panel--border-radius - Panel border radius\n * @cssprop --bq-panel--border-style - Panel border style\n * @cssprop --bq-panel--border-width - Panel border width\n * @cssprop --bq-panel--box-shadow - Panel box shadow\n * @cssprop --bq-panel--padding - Panel padding\n * @cssprop --bq-panel--height - Panel height\n * @cssprop --bq-panel--width - Panel width\n * @cssprop --bq-panel-z-index - Panel z-index applied when opened\n */\n@Component({\n tag: 'bq-dropdown',\n styleUrl: './scss/bq-dropdown.scss',\n shadow: true,\n})\nexport class BqDropdown {\n // Own Properties\n // ====================\n\n private dropdownPanelId = `bq-dropdown-panel-${++id}`;\n private triggerElem: HTMLElement;\n\n // Reference to host HTML element\n // ===================================\n\n @Element() el!: HTMLBqDropdownElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n // Public Property API\n // ========================\n\n /** If true, the dropdown panel will not lock the page body scroll when open. */\n @Prop({ reflect: true }) disableScrollLock?: boolean = false;\n\n /** If true, the dropdown panel will be visible and won't be shown. */\n @Prop({ reflect: true }) disabled?: boolean = false;\n\n /** Represents the distance (gutter or margin) between the panel and the trigger element. */\n @Prop({ reflect: true }) distance?: number = 4;\n\n /** If true, the panel will remain open after a selection is made. */\n @Prop({ reflect: true }) keepOpenOnSelect?: boolean = false;\n\n /** Position of the panel */\n @Prop({ reflect: true }) placement?: Placement = 'bottom-start';\n\n /** If true, the panel will be visible. */\n @Prop({ reflect: true, mutable: true }) open?: boolean = false;\n\n /** When set, it will override the height of the dropdown panel */\n @Prop({ reflect: true }) panelHeight?: string;\n\n /** Whether the panel should have the same width as the trigger element */\n @Prop({ reflect: true }) sameWidth?: boolean = false;\n\n /** Represents the skidding between the panel and the trigger element. */\n @Prop({ reflect: true }) skidding?: number = 0;\n\n /** Defines the strategy to position the panel */\n @Prop({ reflect: true }) strategy?: 'fixed' | 'absolute' = 'fixed';\n\n // Prop lifecycle events\n // =======================\n\n @Watch('open')\n onOpenChange() {\n this.bqOpen.emit({ open: this.open });\n }\n\n @Watch('disabled')\n handleDisabledChange() {\n if (!this.triggerElem) return;\n\n // set 'disabled' attribute based on 'this.disabled' value, ensuring consistent state handling\n if (!this.disabled) {\n this.triggerElem?.removeAttribute('disabled');\n return;\n }\n this.triggerElem?.setAttribute('disabled', 'true');\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n /** Callback handler to be called when the dropdown panel is opened or closed. */\n @Event() bqOpen: EventEmitter<{ open: boolean }>;\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n componentDidLoad() {\n this.triggerElem = this.el.querySelector('[slot=\"trigger\"]');\n this.handleDisabledChange();\n }\n\n // Listeners\n // ==============\n\n @Listen('bqSelect', { passive: true })\n onItemSelect() {\n if (this.keepOpenOnSelect) return;\n\n this.open = false;\n }\n\n /** Listens for the 'click' event on the document object\n * and closes the dropdown panel if the click is outside the component.\n */\n @Listen('click', { target: 'document', passive: true })\n onClickOutside(event: MouseEvent) {\n if (!this.open || isEventTargetChildOfElement(event, this.el)) return;\n\n // Close when clicking outside of the close element\n this.open = false;\n }\n\n @Listen('keyup', { target: 'window', passive: true })\n onEscape(event: KeyboardEvent) {\n if (!this.open) return;\n // Close the panel when pressing Escape or when pressing Tab and the component loses focus.\n if (event.key === 'Escape' || (event.key === 'Tab' && !isEventTargetChildOfElement(event, this.el))) {\n this.open = false;\n }\n }\n\n @Listen('scroll', { target: 'window', passive: true, capture: true })\n handleScrollEvent() {\n if (!this.open || this.disableScrollLock) return;\n\n // Close the panel when the scroll event is triggered.\n // This is useful for those cases where the floating panel is inside a scrollable container.\n // For example, a select inside a dialog, drawer, etc.\n // ⚠️ Notice that document body scroll lock is handled via the `scrollLock` utility.\n this.open = false;\n }\n\n // Public methods API\n // These methods are exposed on the host element.\n // Always use two lines.\n // Public Methods must be async.\n // Requires JSDocs for public API documentation.\n // ===============================================\n\n // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n private togglePanel = (): void => {\n // Don't toggle the panel if the component is disabled or the trigger element is disabled\n if (this.disabled || this.triggerElem?.hasAttribute('disabled')) return;\n\n this.open = !this.open;\n };\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n const style = {\n ...(this.panelHeight && { '--bq-panel--height': this.panelHeight }),\n };\n\n return (\n <div class=\"bq-dropdown\" part=\"base\">\n {/* TRIGGER CONTAINER */}\n <div\n class=\"bq-dropdown__trigger block\"\n aria-controls={this.dropdownPanelId}\n aria-haspopup=\"true\"\n onClick={this.togglePanel}\n part=\"trigger\"\n >\n <slot name=\"trigger\" />\n </div>\n {/* PANEL */}\n <bq-panel\n style={style}\n id={this.dropdownPanelId}\n class=\"bq-dropdown__panel\"\n disableScrollLock={this.disableScrollLock}\n distance={this.distance}\n placement={this.placement}\n open={this.open}\n sameWidth={this.sameWidth}\n skidding={this.skidding}\n strategy={this.strategy}\n role=\"group\"\n part=\"dropdown\"\n exportparts=\"panel\"\n >\n <slot />\n </bq-panel>\n </div>\n );\n }\n}\n"],"mappings":";;;;iIAAA,MAAMA,EAAgB,qomBCMtB,IAAIC,EAAK,E,MA6DIC,EAAUC,EAAA,MAAAD,UAAAE,E,8GAIbC,gBAAkB,uBAAuBJ,IACzCK,Y,qBAeiBC,kBAA8B,MAG9BC,SAAqB,MAGrBC,SAAoB,EAGpBC,iBAA6B,MAG7BC,UAAwB,eAGTC,KAAiB,MAGhCC,YAGAC,UAAsB,MAGtBC,SAAoB,EAGpBC,SAAkC,QAM3D,YAAAC,GACEC,KAAKC,OAAOC,KAAK,CAAER,KAAMM,KAAKN,M,CAIhC,oBAAAS,GACE,IAAKH,KAAKZ,YAAa,OAGvB,IAAKY,KAAKV,SAAU,CAClBU,KAAKZ,aAAagB,gBAAgB,YAClC,M,CAEFJ,KAAKZ,aAAaiB,aAAa,WAAY,O,CAQpCJ,OAMT,gBAAAK,GACEN,KAAKZ,YAAcY,KAAKO,GAAGC,cAAc,oBACzCR,KAAKG,sB,CAOP,YAAAM,GACE,GAAIT,KAAKR,iBAAkB,OAE3BQ,KAAKN,KAAO,K,CAOd,cAAAgB,CAAeC,GACb,IAAKX,KAAKN,MAAQkB,EAA4BD,EAAOX,KAAKO,IAAK,OAG/DP,KAAKN,KAAO,K,CAId,QAAAmB,CAASF,GACP,IAAKX,KAAKN,KAAM,OAEhB,GAAIiB,EAAMG,MAAQ,UAAaH,EAAMG,MAAQ,QAAUF,EAA4BD,EAAOX,KAAKO,IAAM,CACnGP,KAAKN,KAAO,K,EAKhB,iBAAAqB,GACE,IAAKf,KAAKN,MAAQM,KAAKX,kBAAmB,OAM1CW,KAAKN,KAAO,K,CAeNsB,YAAc,KAEpB,GAAIhB,KAAKV,UAAYU,KAAKZ,aAAa6B,aAAa,YAAa,OAEjEjB,KAAKN,MAAQM,KAAKN,IAAI,EAOxB,MAAAwB,GACE,MAAMC,EAAQ,IACRnB,KAAKL,aAAe,CAAE,qBAAsBK,KAAKL,cAGvD,OACEyB,EAAA,OAAAN,IAAA,2CAAKO,MAAM,cAAcC,KAAK,QAE5BF,EAAA,OAAAN,IAAA,2CACEO,MAAM,6BAA4B,gBACnBrB,KAAKb,gBACN,uBACdoC,QAASvB,KAAKgB,YACdM,KAAK,WAELF,EAAA,QAAAN,IAAA,2CAAMU,KAAK,aAGbJ,EAAA,YAAAN,IAAA,2CACEK,MAAOA,EACPpC,GAAIiB,KAAKb,gBACTkC,MAAM,qBACNhC,kBAAmBW,KAAKX,kBACxBE,SAAUS,KAAKT,SACfE,UAAWO,KAAKP,UAChBC,KAAMM,KAAKN,KACXE,UAAWI,KAAKJ,UAChBC,SAAUG,KAAKH,SACfC,SAAUE,KAAKF,SACf2B,KAAK,QACLH,KAAK,WACLI,YAAY,SAEZN,EAAQ,QAAAN,IAAA,8C","ignoreList":[]}