@beeq/core 1.11.2 → 1.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (737) 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/index.esm.js +1 -1
  4. package/dist/beeq/p-039f7907.entry.js +6 -0
  5. package/dist/beeq/p-039f7907.entry.js.map +1 -0
  6. package/dist/beeq/{p-eb47c1ae.entry.js → p-043a472a.entry.js} +2 -2
  7. package/dist/beeq/p-043a472a.entry.js.map +1 -0
  8. package/dist/beeq/p-1b988f57.entry.js +6 -0
  9. package/dist/beeq/p-1b988f57.entry.js.map +1 -0
  10. package/dist/beeq/p-20de0359.entry.js +6 -0
  11. package/dist/beeq/p-20de0359.entry.js.map +1 -0
  12. package/dist/beeq/p-22e2de76.entry.js +6 -0
  13. package/dist/beeq/p-22e2de76.entry.js.map +1 -0
  14. package/dist/beeq/p-258e890f.entry.js +6 -0
  15. package/dist/beeq/p-258e890f.entry.js.map +1 -0
  16. package/dist/beeq/p-28c6cdbc.entry.js +6 -0
  17. package/dist/beeq/p-28c6cdbc.entry.js.map +1 -0
  18. package/dist/beeq/p-3c491238.entry.js +6 -0
  19. package/dist/beeq/p-3c491238.entry.js.map +1 -0
  20. package/dist/beeq/{p-cd53041f.entry.js → p-47404d61.entry.js} +2 -2
  21. package/dist/beeq/p-47404d61.entry.js.map +1 -0
  22. package/dist/beeq/p-50cbee50.entry.js +6 -0
  23. package/dist/beeq/p-50cbee50.entry.js.map +1 -0
  24. package/dist/beeq/{p-b88b2573.entry.js → p-52334e53.entry.js} +2 -2
  25. package/dist/{cjs/bq-tab.entry.cjs.js.map → beeq/p-52334e53.entry.js.map} +1 -1
  26. package/dist/beeq/p-552d3e73.entry.js +6 -0
  27. package/dist/beeq/p-552d3e73.entry.js.map +1 -0
  28. package/dist/{components/p-CXUO6Zub.js → beeq/p-55b686b4.entry.js} +2 -2
  29. package/dist/beeq/p-55b686b4.entry.js.map +1 -0
  30. package/dist/beeq/p-59cb331c.entry.js +6 -0
  31. package/dist/beeq/p-59cb331c.entry.js.map +1 -0
  32. package/dist/beeq/p-5e186220.entry.js +6 -0
  33. package/dist/beeq/p-5e186220.entry.js.map +1 -0
  34. package/dist/beeq/p-63f1dcd2.entry.js +6 -0
  35. package/dist/beeq/p-63f1dcd2.entry.js.map +1 -0
  36. package/dist/beeq/{p-662578a2.entry.js → p-6cac6da2.entry.js} +2 -2
  37. package/dist/beeq/p-6cac6da2.entry.js.map +1 -0
  38. package/dist/beeq/p-76d65605.entry.js +6 -0
  39. package/dist/beeq/p-76d65605.entry.js.map +1 -0
  40. package/dist/beeq/p-8379d440.entry.js +6 -0
  41. package/dist/beeq/p-8379d440.entry.js.map +1 -0
  42. package/dist/{components/p-B5XEhmuc.js → beeq/p-8a5e127b.entry.js} +2 -2
  43. package/dist/beeq/p-8a5e127b.entry.js.map +1 -0
  44. package/dist/beeq/{p-84e62655.entry.js → p-8cd20d85.entry.js} +2 -2
  45. package/dist/beeq/p-8cd20d85.entry.js.map +1 -0
  46. package/dist/beeq/{p-cb0639d5.entry.js → p-8e9d8445.entry.js} +2 -2
  47. package/dist/beeq/p-8e9d8445.entry.js.map +1 -0
  48. package/dist/{components/p-DHdYy1q5.js → beeq/p-8fd716b1.entry.js} +2 -2
  49. package/dist/beeq/p-8fd716b1.entry.js.map +1 -0
  50. package/dist/beeq/p-904e521c.entry.js +6 -0
  51. package/dist/beeq/p-904e521c.entry.js.map +1 -0
  52. package/dist/beeq/p-90b0fef1.entry.js +6 -0
  53. package/dist/beeq/p-90b0fef1.entry.js.map +1 -0
  54. package/dist/beeq/p-96a79f9b.entry.js +6 -0
  55. package/dist/beeq/p-96a79f9b.entry.js.map +1 -0
  56. package/dist/beeq/p-BIw6Ac7W.js +7 -0
  57. package/dist/beeq/p-BIw6Ac7W.js.map +1 -0
  58. package/dist/beeq/p-BRMw_HGf.js +6 -0
  59. package/dist/beeq/p-BRMw_HGf.js.map +1 -0
  60. package/dist/beeq/p-C33fRBEf.js +6 -0
  61. package/dist/beeq/p-C33fRBEf.js.map +1 -0
  62. package/dist/beeq/p-CpKQ7XUL.js +6 -0
  63. package/dist/beeq/p-CpKQ7XUL.js.map +1 -0
  64. package/dist/beeq/p-D1A0LpG_.js +6 -0
  65. package/dist/beeq/{p-BxgDLPzX.js.map → p-D1A0LpG_.js.map} +1 -1
  66. package/dist/beeq/p-a09d8901.entry.js +6 -0
  67. package/dist/beeq/p-a09d8901.entry.js.map +1 -0
  68. package/dist/beeq/p-a7a74198.entry.js +6 -0
  69. package/dist/beeq/p-a7a74198.entry.js.map +1 -0
  70. package/dist/beeq/p-a9cc76af.entry.js +6 -0
  71. package/dist/beeq/p-a9cc76af.entry.js.map +1 -0
  72. package/dist/beeq/p-b4a612db.entry.js +6 -0
  73. package/dist/beeq/p-b4a612db.entry.js.map +1 -0
  74. package/dist/beeq/{p-dc5aa386.entry.js → p-b7de07f5.entry.js} +2 -2
  75. package/dist/beeq/p-b7de07f5.entry.js.map +1 -0
  76. package/dist/beeq/p-be1b3e87.entry.js +6 -0
  77. package/dist/beeq/p-be1b3e87.entry.js.map +1 -0
  78. package/dist/beeq/p-c414e7c0.entry.js +6 -0
  79. package/dist/beeq/p-c414e7c0.entry.js.map +1 -0
  80. package/dist/beeq/p-d4ffd9f1.entry.js +6 -0
  81. package/dist/beeq/p-d4ffd9f1.entry.js.map +1 -0
  82. package/dist/{components/p-16lKXCDk.js → beeq/p-dfd80d40.entry.js} +2 -2
  83. package/dist/beeq/p-dfd80d40.entry.js.map +1 -0
  84. package/dist/beeq/{p-0bf5e367.entry.js → p-e394c440.entry.js} +2 -2
  85. package/dist/beeq/p-e394c440.entry.js.map +1 -0
  86. package/dist/beeq/p-e39e3d9c.entry.js +6 -0
  87. package/dist/beeq/{bq-switch.entry.esm.js.map → p-e39e3d9c.entry.js.map} +1 -1
  88. package/dist/beeq/p-ecef6efa.entry.js +6 -0
  89. package/dist/beeq/p-ecef6efa.entry.js.map +1 -0
  90. package/dist/beeq/p-f477b7ac.entry.js +6 -0
  91. package/dist/beeq/p-f477b7ac.entry.js.map +1 -0
  92. package/dist/beeq.html-custom-data.json +103 -48
  93. package/dist/cjs/beeq.cjs.js +5 -3
  94. package/dist/cjs/beeq.cjs.js.map +1 -1
  95. package/dist/cjs/bq-accordion-group.cjs.entry.js +20 -9
  96. package/dist/cjs/bq-accordion-group.cjs.entry.js.map +1 -0
  97. package/dist/cjs/bq-accordion.cjs.entry.js +31 -20
  98. package/dist/cjs/bq-accordion.cjs.entry.js.map +1 -0
  99. package/dist/cjs/bq-alert.cjs.entry.js +31 -20
  100. package/dist/cjs/bq-alert.cjs.entry.js.map +1 -0
  101. package/dist/cjs/bq-avatar.cjs.entry.js +32 -19
  102. package/dist/cjs/bq-avatar.cjs.entry.js.map +1 -0
  103. package/dist/cjs/bq-badge.cjs.entry.js +17 -12
  104. package/dist/cjs/bq-badge.cjs.entry.js.map +1 -0
  105. package/dist/cjs/bq-breadcrumb-item.cjs.entry.js +7 -4
  106. package/dist/cjs/bq-breadcrumb-item.cjs.entry.js.map +1 -0
  107. package/dist/cjs/bq-breadcrumb.cjs.entry.js +11 -8
  108. package/dist/cjs/bq-breadcrumb.cjs.entry.js.map +1 -0
  109. package/dist/cjs/bq-button_2.cjs.entry.js +63 -30
  110. package/dist/cjs/bq-button_2.cjs.entry.js.map +1 -0
  111. package/dist/cjs/bq-card.cjs.entry.js +15 -10
  112. package/dist/cjs/bq-card.cjs.entry.js.map +1 -0
  113. package/dist/cjs/bq-checkbox.cjs.entry.js +16 -9
  114. package/dist/cjs/bq-checkbox.cjs.entry.js.map +1 -0
  115. package/dist/cjs/bq-date-picker.cjs.entry.js +189 -137
  116. package/dist/cjs/bq-date-picker.cjs.entry.js.map +1 -0
  117. package/dist/cjs/bq-dialog.cjs.entry.js +29 -20
  118. package/dist/cjs/bq-dialog.cjs.entry.js.map +1 -0
  119. package/dist/cjs/bq-divider.cjs.entry.js +29 -20
  120. package/dist/cjs/{bq-divider.entry.cjs.js.map → bq-divider.cjs.entry.js.map} +1 -1
  121. package/dist/cjs/bq-drawer.cjs.entry.js +33 -24
  122. package/dist/cjs/bq-drawer.cjs.entry.js.map +1 -0
  123. package/dist/cjs/bq-dropdown_2.cjs.entry.js +37 -18
  124. package/dist/cjs/bq-dropdown_2.cjs.entry.js.map +1 -0
  125. package/dist/cjs/bq-empty-state.cjs.entry.js +34 -29
  126. package/dist/cjs/bq-empty-state.cjs.entry.js.map +1 -0
  127. package/dist/cjs/bq-input.cjs.entry.js +31 -26
  128. package/dist/cjs/bq-input.cjs.entry.js.map +1 -0
  129. package/dist/cjs/bq-notification.cjs.entry.js +29 -18
  130. package/dist/cjs/bq-notification.cjs.entry.js.map +1 -0
  131. package/dist/cjs/bq-option-group.cjs.entry.js +7 -4
  132. package/dist/cjs/bq-option-group.cjs.entry.js.map +1 -0
  133. package/dist/cjs/bq-option-list_2.cjs.entry.js +25 -18
  134. package/dist/cjs/bq-option-list_2.cjs.entry.js.map +1 -0
  135. package/dist/cjs/bq-option.cjs.entry.js +20 -17
  136. package/dist/cjs/bq-option.cjs.entry.js.map +1 -0
  137. package/dist/cjs/bq-page-title.cjs.entry.js +16 -13
  138. package/dist/cjs/bq-page-title.cjs.entry.js.map +1 -0
  139. package/dist/cjs/bq-progress.cjs.entry.js +30 -19
  140. package/dist/cjs/bq-progress.cjs.entry.js.map +1 -0
  141. package/dist/cjs/bq-radio-group.cjs.entry.js +33 -12
  142. package/dist/cjs/bq-radio-group.cjs.entry.js.map +1 -0
  143. package/dist/cjs/bq-radio.cjs.entry.js +14 -11
  144. package/dist/cjs/bq-radio.cjs.entry.js.map +1 -0
  145. package/dist/cjs/bq-select.cjs.entry.js +56 -34
  146. package/dist/cjs/bq-select.cjs.entry.js.map +1 -0
  147. package/dist/cjs/bq-side-menu-item.cjs.entry.js +11 -8
  148. package/dist/cjs/bq-side-menu-item.cjs.entry.js.map +1 -0
  149. package/dist/cjs/bq-side-menu.cjs.entry.js +13 -8
  150. package/dist/cjs/bq-side-menu.cjs.entry.js.map +1 -0
  151. package/dist/cjs/bq-slider.cjs.entry.js +38 -29
  152. package/dist/cjs/bq-slider.cjs.entry.js.map +1 -0
  153. package/dist/cjs/bq-spinner.cjs.entry.js +25 -16
  154. package/dist/cjs/bq-spinner.cjs.entry.js.map +1 -0
  155. package/dist/cjs/bq-status.cjs.entry.js +10 -5
  156. package/dist/cjs/bq-status.cjs.entry.js.map +1 -0
  157. package/dist/cjs/bq-step-item.cjs.entry.js +37 -19
  158. package/dist/cjs/bq-step-item.cjs.entry.js.map +1 -0
  159. package/dist/cjs/bq-steps.cjs.entry.js +34 -10
  160. package/dist/cjs/bq-steps.cjs.entry.js.map +1 -0
  161. package/dist/cjs/{bq-steps.types-D4B3f19X.js → bq-steps.types-BvbHJAPO.js} +4 -2
  162. package/dist/cjs/bq-steps.types-BvbHJAPO.js.map +1 -0
  163. package/dist/cjs/bq-switch.cjs.entry.js +18 -13
  164. package/dist/cjs/bq-switch.cjs.entry.js.map +1 -0
  165. package/dist/cjs/bq-tab-group.cjs.entry.js +29 -16
  166. package/dist/cjs/bq-tab-group.cjs.entry.js.map +1 -0
  167. package/dist/cjs/bq-tab.cjs.entry.js +19 -10
  168. package/dist/cjs/bq-tab.cjs.entry.js.map +1 -0
  169. package/dist/cjs/bq-textarea.cjs.entry.js +28 -21
  170. package/dist/cjs/bq-textarea.cjs.entry.js.map +1 -0
  171. package/dist/cjs/bq-toast.cjs.entry.js +19 -8
  172. package/dist/cjs/bq-toast.cjs.entry.js.map +1 -0
  173. package/dist/cjs/bq-tooltip.cjs.entry.js +28 -15
  174. package/dist/cjs/bq-tooltip.cjs.entry.js.map +1 -0
  175. package/dist/{collection/shared/utils/date.js → cjs/form-COLxwVaW.js} +146 -3
  176. package/dist/cjs/form-COLxwVaW.js.map +1 -0
  177. package/dist/cjs/index-C09ZVaB4.js +154 -0
  178. package/dist/cjs/index-C09ZVaB4.js.map +1 -0
  179. package/dist/cjs/{index-g8MkV15i.js → index-Cnm84YLJ.js} +294 -365
  180. package/dist/cjs/index-Cnm84YLJ.js.map +1 -0
  181. package/dist/cjs/index.cjs.js +13 -4
  182. package/dist/cjs/index.cjs.js.map +1 -1
  183. package/dist/cjs/{isHTMLElement-DMA6t4n4.js → isHTMLElement-CtkOWsTF.js} +3 -3
  184. package/dist/{esm/isHTMLElement-BxgDLPzX.js.map → cjs/isHTMLElement-CtkOWsTF.js.map} +1 -1
  185. package/dist/cjs/loader.cjs.js +4 -2
  186. package/dist/collection/collection-manifest.json +2 -2
  187. package/dist/collection/components/accordion/bq-accordion.js +18 -16
  188. package/dist/collection/components/accordion/bq-accordion.js.map +1 -1
  189. package/dist/collection/components/accordion-group/bq-accordion-group.js +6 -4
  190. package/dist/collection/components/accordion-group/bq-accordion-group.js.map +1 -1
  191. package/dist/collection/components/alert/bq-alert.js +20 -17
  192. package/dist/collection/components/alert/bq-alert.js.map +1 -1
  193. package/dist/collection/components/alert/scss/bq-alert.css +1 -1
  194. package/dist/collection/components/avatar/bq-avatar.js +18 -15
  195. package/dist/collection/components/avatar/bq-avatar.js.map +1 -1
  196. package/dist/collection/components/badge/bq-badge.js +12 -10
  197. package/dist/collection/components/badge/bq-badge.js.map +1 -1
  198. package/dist/collection/components/breadcrumb/bq-breadcrumb.js +7 -6
  199. package/dist/collection/components/breadcrumb/bq-breadcrumb.js.map +1 -1
  200. package/dist/collection/components/breadcrumb-item/bq-breadcrumb-item.js +2 -2
  201. package/dist/collection/components/breadcrumb-item/bq-breadcrumb-item.js.map +1 -1
  202. package/dist/collection/components/button/bq-button.js +93 -36
  203. package/dist/collection/components/button/bq-button.js.map +1 -1
  204. package/dist/collection/components/button/scss/bq-button.css +1 -1
  205. package/dist/collection/components/card/bq-card.js +12 -9
  206. package/dist/collection/components/card/bq-card.js.map +1 -1
  207. package/dist/collection/components/checkbox/bq-checkbox.js +5 -5
  208. package/dist/collection/components/checkbox/bq-checkbox.js.map +1 -1
  209. package/dist/collection/components/date-picker/bq-date-picker.js +113 -102
  210. package/dist/collection/components/date-picker/bq-date-picker.js.map +1 -1
  211. package/dist/collection/components/date-picker/bq-date-picker.types.js +1 -0
  212. package/dist/collection/components/date-picker/bq-date-picker.types.js.map +1 -1
  213. package/dist/collection/components/date-picker/helper/constants.js +23 -0
  214. package/dist/collection/components/date-picker/helper/constants.js.map +1 -0
  215. package/dist/collection/components/date-picker/{helper → libs}/callyLibrary.js +57 -38
  216. package/dist/collection/components/date-picker/libs/callyLibrary.js.map +1 -0
  217. package/dist/collection/components/date-picker/scss/bq-date-picker.css +1 -1
  218. package/dist/collection/components/dialog/bq-dialog.js +21 -18
  219. package/dist/collection/components/dialog/bq-dialog.js.map +1 -1
  220. package/dist/collection/components/dialog/scss/bq-dialog.css +1 -1
  221. package/dist/collection/components/divider/bq-divider.js +22 -18
  222. package/dist/collection/components/divider/bq-divider.js.map +1 -1
  223. package/dist/collection/components/divider/scss/bq-divider.css +1 -1
  224. package/dist/collection/components/drawer/bq-drawer.js +24 -21
  225. package/dist/collection/components/drawer/bq-drawer.js.map +1 -1
  226. package/dist/collection/components/drawer/scss/bq-drawer.css +1 -1
  227. package/dist/collection/components/dropdown/bq-dropdown.js +4 -3
  228. package/dist/collection/components/dropdown/bq-dropdown.js.map +1 -1
  229. package/dist/collection/components/empty-state/bq-empty-state.js +28 -27
  230. package/dist/collection/components/empty-state/bq-empty-state.js.map +1 -1
  231. package/dist/collection/components/icon/bq-icon.js +5 -3
  232. package/dist/collection/components/icon/bq-icon.js.map +1 -1
  233. package/dist/collection/components/input/bq-input.js +28 -25
  234. package/dist/collection/components/input/bq-input.js.map +1 -1
  235. package/dist/collection/components/input/scss/bq-input.css +1 -1
  236. package/dist/collection/components/notification/bq-notification.js +17 -14
  237. package/dist/collection/components/notification/bq-notification.js.map +1 -1
  238. package/dist/collection/components/notification/scss/bq-notification.css +1 -1
  239. package/dist/collection/components/option/bq-option.js +16 -15
  240. package/dist/collection/components/option/bq-option.js.map +1 -1
  241. package/dist/collection/components/option-group/bq-option-group.js +2 -2
  242. package/dist/collection/components/option-group/bq-option-group.js.map +1 -1
  243. package/dist/collection/components/option-list/bq-option-list.js +2 -2
  244. package/dist/collection/components/option-list/bq-option-list.js.map +1 -1
  245. package/dist/collection/components/page-title/bq-page-title.js +11 -11
  246. package/dist/collection/components/page-title/bq-page-title.js.map +1 -1
  247. package/dist/collection/components/panel/bq-panel.js +5 -4
  248. package/dist/collection/components/panel/bq-panel.js.map +1 -1
  249. package/dist/collection/components/progress/bq-progress.js +20 -16
  250. package/dist/collection/components/progress/bq-progress.js.map +1 -1
  251. package/dist/collection/components/radio/bq-radio.js +10 -9
  252. package/dist/collection/components/radio/bq-radio.js.map +1 -1
  253. package/dist/collection/components/radio-group/bq-radio-group.js +5 -3
  254. package/dist/collection/components/radio-group/bq-radio-group.js.map +1 -1
  255. package/dist/collection/components/select/bq-select.js +48 -29
  256. package/dist/collection/components/select/bq-select.js.map +1 -1
  257. package/dist/collection/components/select/scss/bq-select.css +1 -1
  258. package/dist/collection/components/side-menu/bq-side-menu.js +8 -6
  259. package/dist/collection/components/side-menu/bq-side-menu.js.map +1 -1
  260. package/dist/collection/components/side-menu-item/bq-side-menu-item.js +6 -6
  261. package/dist/collection/components/side-menu-item/bq-side-menu-item.js.map +1 -1
  262. package/dist/collection/components/slider/bq-slider.js +30 -27
  263. package/dist/collection/components/slider/bq-slider.js.map +1 -1
  264. package/dist/collection/components/spinner/bq-spinner.js +14 -12
  265. package/dist/collection/components/spinner/bq-spinner.js.map +1 -1
  266. package/dist/collection/components/status/bq-status.js +4 -3
  267. package/dist/collection/components/status/bq-status.js.map +1 -1
  268. package/dist/collection/components/step-item/bq-step-item.js +105 -17
  269. package/dist/collection/components/step-item/bq-step-item.js.map +1 -1
  270. package/dist/collection/components/step-item/scss/bq-step-item.css +1 -1
  271. package/dist/collection/components/steps/bq-steps.js +55 -8
  272. package/dist/collection/components/steps/bq-steps.js.map +1 -1
  273. package/dist/collection/components/steps/bq-steps.types.js +1 -0
  274. package/dist/collection/components/steps/bq-steps.types.js.map +1 -1
  275. package/dist/collection/components/steps/scss/bq-steps.css +1 -1
  276. package/dist/collection/components/switch/bq-switch.js +15 -12
  277. package/dist/collection/components/switch/bq-switch.js.map +1 -1
  278. package/dist/collection/components/tab/bq-tab.js +11 -8
  279. package/dist/collection/components/tab/bq-tab.js.map +1 -1
  280. package/dist/collection/components/tab-group/bq-tab-group.js +15 -11
  281. package/dist/collection/components/tab-group/bq-tab-group.js.map +1 -1
  282. package/dist/collection/components/tag/bq-tag.js +19 -14
  283. package/dist/collection/components/tag/bq-tag.js.map +1 -1
  284. package/dist/collection/components/tag/scss/bq-tag.css +1 -1
  285. package/dist/collection/components/textarea/bq-textarea.js +22 -19
  286. package/dist/collection/components/textarea/bq-textarea.js.map +1 -1
  287. package/dist/collection/components/toast/bq-toast.js +9 -5
  288. package/dist/collection/components/toast/bq-toast.js.map +1 -1
  289. package/dist/collection/components/tooltip/bq-tooltip.js +10 -9
  290. package/dist/collection/components/tooltip/bq-tooltip.js.map +1 -1
  291. package/dist/collection/shared/utils/date/dateFormatting.js +86 -0
  292. package/dist/collection/shared/utils/date/dateFormatting.js.map +1 -0
  293. package/dist/{cjs/date-C-h2CBps.js → collection/shared/utils/date/dateParsing.js} +19 -8
  294. package/dist/collection/shared/utils/date/dateParsing.js.map +1 -0
  295. package/dist/collection/shared/utils/date/index.js +7 -0
  296. package/dist/collection/shared/utils/date/index.js.map +1 -0
  297. package/dist/collection/shared/utils/form.js +35 -0
  298. package/dist/collection/shared/utils/form.js.map +1 -0
  299. package/dist/collection/shared/utils/index.js +1 -0
  300. package/dist/collection/shared/utils/index.js.map +1 -1
  301. package/dist/collection/shared/utils/isHTMLElement.js +1 -1
  302. package/dist/collection/shared/utils/isHTMLElement.js.map +1 -1
  303. package/dist/components/bq-accordion-group.js +1 -1
  304. package/dist/components/bq-accordion-group.js.map +1 -1
  305. package/dist/components/bq-accordion.js +1 -1
  306. package/dist/components/bq-accordion.js.map +1 -1
  307. package/dist/components/bq-alert.js +1 -1
  308. package/dist/components/bq-alert.js.map +1 -1
  309. package/dist/components/bq-avatar.js +1 -1
  310. package/dist/components/bq-avatar.js.map +1 -1
  311. package/dist/components/bq-badge.js +1 -1
  312. package/dist/components/bq-breadcrumb-item.js +1 -1
  313. package/dist/components/bq-breadcrumb-item.js.map +1 -1
  314. package/dist/components/bq-breadcrumb.js +1 -1
  315. package/dist/components/bq-breadcrumb.js.map +1 -1
  316. package/dist/components/bq-button.js +1 -1
  317. package/dist/components/bq-card.js +1 -1
  318. package/dist/components/bq-card.js.map +1 -1
  319. package/dist/components/bq-checkbox.js +1 -1
  320. package/dist/components/bq-checkbox.js.map +1 -1
  321. package/dist/components/bq-date-picker.js +1 -1
  322. package/dist/components/bq-date-picker.js.map +1 -1
  323. package/dist/components/bq-dialog.js +1 -1
  324. package/dist/components/bq-dialog.js.map +1 -1
  325. package/dist/components/bq-divider.js +1 -1
  326. package/dist/components/bq-drawer.js +1 -1
  327. package/dist/components/bq-drawer.js.map +1 -1
  328. package/dist/components/bq-dropdown.js +1 -1
  329. package/dist/components/bq-empty-state.js +1 -1
  330. package/dist/components/bq-empty-state.js.map +1 -1
  331. package/dist/components/bq-icon.js +1 -1
  332. package/dist/components/bq-input.js +1 -1
  333. package/dist/components/bq-input.js.map +1 -1
  334. package/dist/components/bq-notification.js +1 -1
  335. package/dist/components/bq-notification.js.map +1 -1
  336. package/dist/components/bq-option-group.js +1 -1
  337. package/dist/components/bq-option-group.js.map +1 -1
  338. package/dist/components/bq-option-list.js +1 -1
  339. package/dist/components/bq-option.js +1 -1
  340. package/dist/components/bq-option.js.map +1 -1
  341. package/dist/components/bq-page-title.js +1 -1
  342. package/dist/components/bq-page-title.js.map +1 -1
  343. package/dist/components/bq-panel.js +1 -1
  344. package/dist/components/bq-progress.js +1 -1
  345. package/dist/components/bq-progress.js.map +1 -1
  346. package/dist/components/bq-radio-group.js +1 -1
  347. package/dist/components/bq-radio-group.js.map +1 -1
  348. package/dist/components/bq-radio.js +1 -1
  349. package/dist/components/bq-radio.js.map +1 -1
  350. package/dist/components/bq-select.js +1 -1
  351. package/dist/components/bq-select.js.map +1 -1
  352. package/dist/components/bq-side-menu-item.js +1 -1
  353. package/dist/components/bq-side-menu-item.js.map +1 -1
  354. package/dist/components/bq-side-menu.js +1 -1
  355. package/dist/components/bq-side-menu.js.map +1 -1
  356. package/dist/components/bq-slider.js +1 -1
  357. package/dist/components/bq-slider.js.map +1 -1
  358. package/dist/components/bq-spinner.js +1 -1
  359. package/dist/components/bq-spinner.js.map +1 -1
  360. package/dist/components/bq-status.js +1 -1
  361. package/dist/components/bq-status.js.map +1 -1
  362. package/dist/components/bq-step-item.js +1 -1
  363. package/dist/components/bq-step-item.js.map +1 -1
  364. package/dist/components/bq-steps.js +1 -1
  365. package/dist/components/bq-steps.js.map +1 -1
  366. package/dist/components/bq-switch.js +1 -1
  367. package/dist/components/bq-switch.js.map +1 -1
  368. package/dist/components/bq-tab-group.js +1 -1
  369. package/dist/components/bq-tab-group.js.map +1 -1
  370. package/dist/components/bq-tab.js +1 -1
  371. package/dist/components/bq-tab.js.map +1 -1
  372. package/dist/components/bq-tag.js +1 -1
  373. package/dist/components/bq-textarea.js +1 -1
  374. package/dist/components/bq-textarea.js.map +1 -1
  375. package/dist/components/bq-toast.js +1 -1
  376. package/dist/components/bq-toast.js.map +1 -1
  377. package/dist/components/bq-tooltip.js +1 -1
  378. package/dist/components/index.d.ts +1 -0
  379. package/dist/components/index.js +1 -1
  380. package/dist/components/index.js.map +1 -1
  381. package/dist/{beeq/p-4647a0fb.entry.js → components/p-B93kqFqH.js} +2 -2
  382. package/dist/components/p-B93kqFqH.js.map +1 -0
  383. package/dist/components/p-BRMw_HGf.js +6 -0
  384. package/dist/components/p-BRMw_HGf.js.map +1 -0
  385. package/dist/components/p-BcmnHFqE.js +6 -0
  386. package/dist/components/p-BcmnHFqE.js.map +1 -0
  387. package/dist/components/p-Bi6ozE0v.js +6 -0
  388. package/dist/components/p-Bi6ozE0v.js.map +1 -0
  389. package/dist/{beeq/p-b1d2e472.entry.js → components/p-C6pBQ61U.js} +2 -2
  390. package/dist/components/p-C6pBQ61U.js.map +1 -0
  391. package/dist/components/{p-DGysEMss.js → p-CCQ_5HvV.js} +2 -2
  392. package/dist/components/p-CCQ_5HvV.js.map +1 -0
  393. package/dist/components/p-D1A0LpG_.js +6 -0
  394. package/dist/components/{p-BxgDLPzX.js.map → p-D1A0LpG_.js.map} +1 -1
  395. package/dist/components/p-DhVt1fuD.js +6 -0
  396. package/dist/components/p-DhVt1fuD.js.map +1 -0
  397. package/dist/components/p-SKH1pCPg.js +6 -0
  398. package/dist/components/p-SKH1pCPg.js.map +1 -0
  399. package/dist/components/{p-A6e1tN-B.js → p-plkW8XNd.js} +2 -2
  400. package/dist/components/p-plkW8XNd.js.map +1 -0
  401. package/dist/components/p-qVvRSuP7.js +6 -0
  402. package/dist/components/p-qVvRSuP7.js.map +1 -0
  403. package/dist/components/p-yO5LAmkd.js +6 -0
  404. package/dist/components/p-yO5LAmkd.js.map +1 -0
  405. package/dist/custom-elements.json +1543 -811
  406. package/dist/esm/beeq.js +6 -4
  407. package/dist/esm/beeq.js.map +1 -1
  408. package/dist/esm/bq-accordion-group.entry.js +20 -9
  409. package/dist/esm/bq-accordion-group.entry.js.map +1 -1
  410. package/dist/esm/bq-accordion.entry.js +31 -20
  411. package/dist/esm/bq-accordion.entry.js.map +1 -1
  412. package/dist/esm/bq-alert.entry.js +31 -20
  413. package/dist/esm/bq-alert.entry.js.map +1 -1
  414. package/dist/esm/bq-avatar.entry.js +32 -19
  415. package/dist/esm/bq-avatar.entry.js.map +1 -1
  416. package/dist/esm/bq-badge.entry.js +17 -12
  417. package/dist/esm/bq-badge.entry.js.map +1 -1
  418. package/dist/esm/bq-breadcrumb-item.entry.js +7 -4
  419. package/dist/esm/bq-breadcrumb-item.entry.js.map +1 -1
  420. package/dist/esm/bq-breadcrumb.entry.js +11 -8
  421. package/dist/esm/bq-breadcrumb.entry.js.map +1 -1
  422. package/dist/esm/bq-button_2.entry.js +63 -30
  423. package/dist/esm/bq-button_2.entry.js.map +1 -0
  424. package/dist/esm/bq-card.entry.js +15 -10
  425. package/dist/esm/bq-card.entry.js.map +1 -1
  426. package/dist/esm/bq-checkbox.entry.js +16 -9
  427. package/dist/esm/bq-checkbox.entry.js.map +1 -1
  428. package/dist/esm/bq-date-picker.entry.js +188 -136
  429. package/dist/esm/bq-date-picker.entry.js.map +1 -1
  430. package/dist/esm/bq-dialog.entry.js +29 -20
  431. package/dist/esm/bq-dialog.entry.js.map +1 -1
  432. package/dist/esm/bq-divider.entry.js +29 -20
  433. package/dist/esm/bq-divider.entry.js.map +1 -1
  434. package/dist/esm/bq-drawer.entry.js +33 -24
  435. package/dist/esm/bq-drawer.entry.js.map +1 -1
  436. package/dist/esm/bq-dropdown_2.entry.js +35 -16
  437. package/dist/esm/bq-dropdown_2.entry.js.map +1 -0
  438. package/dist/esm/bq-empty-state.entry.js +34 -29
  439. package/dist/esm/bq-empty-state.entry.js.map +1 -1
  440. package/dist/esm/bq-input.entry.js +31 -26
  441. package/dist/esm/bq-input.entry.js.map +1 -1
  442. package/dist/esm/bq-notification.entry.js +29 -18
  443. package/dist/esm/bq-notification.entry.js.map +1 -1
  444. package/dist/esm/bq-option-group.entry.js +7 -4
  445. package/dist/esm/bq-option-group.entry.js.map +1 -1
  446. package/dist/esm/bq-option-list_2.entry.js +25 -18
  447. package/dist/esm/bq-option-list_2.entry.js.map +1 -0
  448. package/dist/esm/bq-option.entry.js +20 -17
  449. package/dist/esm/bq-option.entry.js.map +1 -1
  450. package/dist/esm/bq-page-title.entry.js +16 -13
  451. package/dist/esm/bq-page-title.entry.js.map +1 -1
  452. package/dist/esm/bq-progress.entry.js +30 -19
  453. package/dist/esm/bq-progress.entry.js.map +1 -1
  454. package/dist/esm/bq-radio-group.entry.js +33 -12
  455. package/dist/esm/bq-radio-group.entry.js.map +1 -1
  456. package/dist/esm/bq-radio.entry.js +14 -11
  457. package/dist/esm/bq-radio.entry.js.map +1 -1
  458. package/dist/esm/bq-select.entry.js +53 -31
  459. package/dist/esm/bq-select.entry.js.map +1 -1
  460. package/dist/esm/bq-side-menu-item.entry.js +11 -8
  461. package/dist/esm/bq-side-menu-item.entry.js.map +1 -1
  462. package/dist/esm/bq-side-menu.entry.js +13 -8
  463. package/dist/esm/bq-side-menu.entry.js.map +1 -1
  464. package/dist/esm/bq-slider.entry.js +38 -29
  465. package/dist/esm/bq-slider.entry.js.map +1 -1
  466. package/dist/esm/bq-spinner.entry.js +25 -16
  467. package/dist/esm/bq-spinner.entry.js.map +1 -1
  468. package/dist/esm/bq-status.entry.js +10 -5
  469. package/dist/esm/bq-status.entry.js.map +1 -1
  470. package/dist/esm/bq-step-item.entry.js +37 -19
  471. package/dist/esm/bq-step-item.entry.js.map +1 -1
  472. package/dist/esm/bq-steps.entry.js +34 -10
  473. package/dist/esm/bq-steps.entry.js.map +1 -1
  474. package/dist/esm/bq-steps.types-BRMw_HGf.js +12 -0
  475. package/dist/esm/bq-steps.types-BRMw_HGf.js.map +1 -0
  476. package/dist/esm/bq-switch.entry.js +18 -13
  477. package/dist/esm/bq-switch.entry.js.map +1 -1
  478. package/dist/esm/bq-tab-group.entry.js +29 -16
  479. package/dist/esm/bq-tab-group.entry.js.map +1 -1
  480. package/dist/esm/bq-tab.entry.js +19 -10
  481. package/dist/esm/bq-tab.entry.js.map +1 -1
  482. package/dist/esm/bq-textarea.entry.js +28 -21
  483. package/dist/esm/bq-textarea.entry.js.map +1 -1
  484. package/dist/esm/bq-toast.entry.js +19 -8
  485. package/dist/esm/bq-toast.entry.js.map +1 -1
  486. package/dist/esm/bq-tooltip.entry.js +28 -15
  487. package/dist/esm/bq-tooltip.entry.js.map +1 -1
  488. package/dist/esm/{date-igOoibr-.js → form-DLjuE3KX.js} +132 -3
  489. package/dist/esm/form-DLjuE3KX.js.map +1 -0
  490. package/dist/esm/{index-BOf9EC3C.js → index-BIw6Ac7W.js} +295 -365
  491. package/dist/esm/index-BIw6Ac7W.js.map +1 -0
  492. package/dist/esm/index-C33fRBEf.js +151 -0
  493. package/dist/esm/index-C33fRBEf.js.map +1 -0
  494. package/dist/esm/index.js +4 -2
  495. package/dist/esm/{isHTMLElement-BxgDLPzX.js → isHTMLElement-D1A0LpG_.js} +3 -3
  496. package/dist/{cjs/isHTMLElement-DMA6t4n4.js.map → esm/isHTMLElement-D1A0LpG_.js.map} +1 -1
  497. package/dist/esm/loader.js +5 -3
  498. package/dist/hydrate/index.d.ts +12 -0
  499. package/dist/hydrate/index.js +6360 -2418
  500. package/dist/hydrate/index.mjs +6359 -2419
  501. package/dist/stencil.config.js +1 -0
  502. package/dist/stencil.config.js.map +1 -1
  503. package/dist/types/components/accordion/bq-accordion.d.ts +1 -1
  504. package/dist/types/components/accordion-group/bq-accordion-group.d.ts +1 -1
  505. package/dist/types/components/alert/bq-alert.d.ts +2 -2
  506. package/dist/types/components/avatar/bq-avatar.d.ts +1 -1
  507. package/dist/types/components/badge/bq-badge.d.ts +1 -1
  508. package/dist/types/components/breadcrumb/bq-breadcrumb.d.ts +1 -1
  509. package/dist/types/components/breadcrumb-item/bq-breadcrumb-item.d.ts +1 -1
  510. package/dist/types/components/button/bq-button.d.ts +18 -15
  511. package/dist/types/components/card/bq-card.d.ts +1 -1
  512. package/dist/types/components/checkbox/bq-checkbox.d.ts +1 -1
  513. package/dist/types/components/date-picker/bq-date-picker.d.ts +63 -18
  514. package/dist/types/components/date-picker/bq-date-picker.types.d.ts +31 -5
  515. package/dist/types/components/date-picker/helper/constants.d.ts +18 -0
  516. package/dist/types/components/date-picker/libs/callyLibrary.d.ts +15 -0
  517. package/dist/types/components/dialog/bq-dialog.d.ts +1 -1
  518. package/dist/types/components/divider/bq-divider.d.ts +1 -1
  519. package/dist/types/components/drawer/bq-drawer.d.ts +1 -1
  520. package/dist/types/components/dropdown/bq-dropdown.d.ts +1 -1
  521. package/dist/types/components/empty-state/bq-empty-state.d.ts +1 -1
  522. package/dist/types/components/icon/bq-icon.d.ts +1 -1
  523. package/dist/types/components/input/bq-input.d.ts +1 -1
  524. package/dist/types/components/notification/bq-notification.d.ts +1 -1
  525. package/dist/types/components/option/bq-option.d.ts +1 -1
  526. package/dist/types/components/option-group/bq-option-group.d.ts +1 -1
  527. package/dist/types/components/option-list/bq-option-list.d.ts +1 -1
  528. package/dist/types/components/page-title/bq-page-title.d.ts +1 -1
  529. package/dist/types/components/panel/bq-panel.d.ts +1 -1
  530. package/dist/types/components/progress/bq-progress.d.ts +1 -1
  531. package/dist/types/components/radio/bq-radio.d.ts +1 -1
  532. package/dist/types/components/radio-group/bq-radio-group.d.ts +1 -1
  533. package/dist/types/components/select/bq-select.d.ts +2 -1
  534. package/dist/types/components/side-menu/bq-side-menu.d.ts +1 -1
  535. package/dist/types/components/side-menu-item/bq-side-menu-item.d.ts +1 -1
  536. package/dist/types/components/slider/bq-slider.d.ts +1 -1
  537. package/dist/types/components/spinner/bq-spinner.d.ts +1 -1
  538. package/dist/types/components/status/bq-status.d.ts +1 -1
  539. package/dist/types/components/step-item/bq-step-item.d.ts +12 -2
  540. package/dist/types/components/steps/bq-steps.d.ts +6 -2
  541. package/dist/types/components/steps/bq-steps.types.d.ts +2 -0
  542. package/dist/types/components/switch/bq-switch.d.ts +1 -1
  543. package/dist/types/components/tab/bq-tab.d.ts +1 -1
  544. package/dist/types/components/tab-group/bq-tab-group.d.ts +1 -1
  545. package/dist/types/components/tag/bq-tag.d.ts +1 -1
  546. package/dist/types/components/textarea/bq-textarea.d.ts +1 -1
  547. package/dist/types/components/toast/bq-toast.d.ts +1 -1
  548. package/dist/types/components/tooltip/bq-tooltip.d.ts +1 -1
  549. package/dist/types/components.d.ts +114 -27
  550. package/dist/types/shared/utils/date/dateFormatting.d.ts +29 -0
  551. package/dist/types/shared/utils/{date.d.ts → date/dateParsing.d.ts} +16 -2
  552. package/dist/types/shared/utils/date/index.d.ts +2 -0
  553. package/dist/types/shared/utils/form.d.ts +28 -0
  554. package/dist/types/shared/utils/index.d.ts +1 -0
  555. package/dist/types/stencil-public-runtime.d.ts +87 -4
  556. package/package.json +3 -2
  557. package/dist/beeq/bq-accordion-group.entry.esm.js.map +0 -1
  558. package/dist/beeq/bq-accordion.entry.esm.js.map +0 -1
  559. package/dist/beeq/bq-alert.entry.esm.js.map +0 -1
  560. package/dist/beeq/bq-avatar.entry.esm.js.map +0 -1
  561. package/dist/beeq/bq-badge.entry.esm.js.map +0 -1
  562. package/dist/beeq/bq-breadcrumb-item.entry.esm.js.map +0 -1
  563. package/dist/beeq/bq-breadcrumb.entry.esm.js.map +0 -1
  564. package/dist/beeq/bq-button.bq-icon.entry.esm.js.map +0 -1
  565. package/dist/beeq/bq-card.entry.esm.js.map +0 -1
  566. package/dist/beeq/bq-checkbox.entry.esm.js.map +0 -1
  567. package/dist/beeq/bq-date-picker.entry.esm.js.map +0 -1
  568. package/dist/beeq/bq-dialog.entry.esm.js.map +0 -1
  569. package/dist/beeq/bq-divider.entry.esm.js.map +0 -1
  570. package/dist/beeq/bq-drawer.entry.esm.js.map +0 -1
  571. package/dist/beeq/bq-dropdown.bq-panel.entry.esm.js.map +0 -1
  572. package/dist/beeq/bq-empty-state.entry.esm.js.map +0 -1
  573. package/dist/beeq/bq-input.entry.esm.js.map +0 -1
  574. package/dist/beeq/bq-notification.entry.esm.js.map +0 -1
  575. package/dist/beeq/bq-option-group.entry.esm.js.map +0 -1
  576. package/dist/beeq/bq-option-list.bq-tag.entry.esm.js.map +0 -1
  577. package/dist/beeq/bq-option.entry.esm.js.map +0 -1
  578. package/dist/beeq/bq-page-title.entry.esm.js.map +0 -1
  579. package/dist/beeq/bq-progress.entry.esm.js.map +0 -1
  580. package/dist/beeq/bq-radio-group.entry.esm.js.map +0 -1
  581. package/dist/beeq/bq-radio.entry.esm.js.map +0 -1
  582. package/dist/beeq/bq-select.entry.esm.js.map +0 -1
  583. package/dist/beeq/bq-side-menu-item.entry.esm.js.map +0 -1
  584. package/dist/beeq/bq-side-menu.entry.esm.js.map +0 -1
  585. package/dist/beeq/bq-slider.entry.esm.js.map +0 -1
  586. package/dist/beeq/bq-spinner.entry.esm.js.map +0 -1
  587. package/dist/beeq/bq-status.entry.esm.js.map +0 -1
  588. package/dist/beeq/bq-step-item.entry.esm.js.map +0 -1
  589. package/dist/beeq/bq-steps.entry.esm.js.map +0 -1
  590. package/dist/beeq/bq-tab-group.entry.esm.js.map +0 -1
  591. package/dist/beeq/bq-tab.entry.esm.js.map +0 -1
  592. package/dist/beeq/bq-textarea.entry.esm.js.map +0 -1
  593. package/dist/beeq/bq-toast.entry.esm.js.map +0 -1
  594. package/dist/beeq/bq-tooltip.entry.esm.js.map +0 -1
  595. package/dist/beeq/loader.esm.js.map +0 -1
  596. package/dist/beeq/p-0bf5e367.entry.js.map +0 -1
  597. package/dist/beeq/p-16defa87.entry.js +0 -6
  598. package/dist/beeq/p-16defa87.entry.js.map +0 -1
  599. package/dist/beeq/p-17de1ba4.entry.js +0 -6
  600. package/dist/beeq/p-17de1ba4.entry.js.map +0 -1
  601. package/dist/beeq/p-1df8fe61.entry.js +0 -6
  602. package/dist/beeq/p-1df8fe61.entry.js.map +0 -1
  603. package/dist/beeq/p-24749f67.entry.js +0 -6
  604. package/dist/beeq/p-24749f67.entry.js.map +0 -1
  605. package/dist/beeq/p-38add122.entry.js +0 -6
  606. package/dist/beeq/p-38add122.entry.js.map +0 -1
  607. package/dist/beeq/p-454fa535.entry.js +0 -6
  608. package/dist/beeq/p-454fa535.entry.js.map +0 -1
  609. package/dist/beeq/p-4647a0fb.entry.js.map +0 -1
  610. package/dist/beeq/p-4725a142.entry.js +0 -6
  611. package/dist/beeq/p-4725a142.entry.js.map +0 -1
  612. package/dist/beeq/p-51351eed.entry.js +0 -6
  613. package/dist/beeq/p-51351eed.entry.js.map +0 -1
  614. package/dist/beeq/p-5b0a56e7.entry.js +0 -6
  615. package/dist/beeq/p-5b0a56e7.entry.js.map +0 -1
  616. package/dist/beeq/p-5c23324d.entry.js +0 -6
  617. package/dist/beeq/p-5c23324d.entry.js.map +0 -1
  618. package/dist/beeq/p-5df7df5d.entry.js +0 -6
  619. package/dist/beeq/p-5df7df5d.entry.js.map +0 -1
  620. package/dist/beeq/p-5e8c8e90.entry.js +0 -6
  621. package/dist/beeq/p-5e8c8e90.entry.js.map +0 -1
  622. package/dist/beeq/p-662578a2.entry.js.map +0 -1
  623. package/dist/beeq/p-6ae2ca4b.entry.js +0 -6
  624. package/dist/beeq/p-6ae2ca4b.entry.js.map +0 -1
  625. package/dist/beeq/p-7ca73c06.entry.js +0 -6
  626. package/dist/beeq/p-7ca73c06.entry.js.map +0 -1
  627. package/dist/beeq/p-84e62655.entry.js.map +0 -1
  628. package/dist/beeq/p-93d6f4f0.entry.js +0 -6
  629. package/dist/beeq/p-93d6f4f0.entry.js.map +0 -1
  630. package/dist/beeq/p-9585221e.entry.js +0 -6
  631. package/dist/beeq/p-9585221e.entry.js.map +0 -1
  632. package/dist/beeq/p-9c9a83f8.entry.js +0 -6
  633. package/dist/beeq/p-9c9a83f8.entry.js.map +0 -1
  634. package/dist/beeq/p-9e9baa82.entry.js +0 -6
  635. package/dist/beeq/p-9e9baa82.entry.js.map +0 -1
  636. package/dist/beeq/p-BOf9EC3C.js +0 -7
  637. package/dist/beeq/p-BOf9EC3C.js.map +0 -1
  638. package/dist/beeq/p-BxgDLPzX.js +0 -6
  639. package/dist/beeq/p-DEUOprS4.js +0 -6
  640. package/dist/beeq/p-DEUOprS4.js.map +0 -1
  641. package/dist/beeq/p-b1d2e472.entry.js.map +0 -1
  642. package/dist/beeq/p-b7efb629.entry.js +0 -6
  643. package/dist/beeq/p-b7efb629.entry.js.map +0 -1
  644. package/dist/beeq/p-b88b2573.entry.js.map +0 -1
  645. package/dist/beeq/p-bfca08f5.entry.js +0 -6
  646. package/dist/beeq/p-bfca08f5.entry.js.map +0 -1
  647. package/dist/beeq/p-c63b89d2.entry.js +0 -6
  648. package/dist/beeq/p-c63b89d2.entry.js.map +0 -1
  649. package/dist/beeq/p-ca93325b.entry.js +0 -6
  650. package/dist/beeq/p-ca93325b.entry.js.map +0 -1
  651. package/dist/beeq/p-cb0639d5.entry.js.map +0 -1
  652. package/dist/beeq/p-cd53041f.entry.js.map +0 -1
  653. package/dist/beeq/p-d31e8b6a.entry.js +0 -6
  654. package/dist/beeq/p-d31e8b6a.entry.js.map +0 -1
  655. package/dist/beeq/p-d8118f0b.entry.js +0 -6
  656. package/dist/beeq/p-d8118f0b.entry.js.map +0 -1
  657. package/dist/beeq/p-d9c5ab1d.entry.js +0 -6
  658. package/dist/beeq/p-d9c5ab1d.entry.js.map +0 -1
  659. package/dist/beeq/p-dc5aa386.entry.js.map +0 -1
  660. package/dist/beeq/p-dcda1181.entry.js +0 -6
  661. package/dist/beeq/p-dcda1181.entry.js.map +0 -1
  662. package/dist/beeq/p-eaa8c123.entry.js +0 -6
  663. package/dist/beeq/p-eaa8c123.entry.js.map +0 -1
  664. package/dist/beeq/p-eb47c1ae.entry.js.map +0 -1
  665. package/dist/beeq/p-eb6eac82.entry.js +0 -6
  666. package/dist/beeq/p-eb6eac82.entry.js.map +0 -1
  667. package/dist/beeq/p-f691f00c.entry.js +0 -6
  668. package/dist/beeq/p-f691f00c.entry.js.map +0 -1
  669. package/dist/beeq/p-igOoibr-.js +0 -6
  670. package/dist/beeq/p-igOoibr-.js.map +0 -1
  671. package/dist/cjs/bq-accordion-group.entry.cjs.js.map +0 -1
  672. package/dist/cjs/bq-accordion.entry.cjs.js.map +0 -1
  673. package/dist/cjs/bq-alert.entry.cjs.js.map +0 -1
  674. package/dist/cjs/bq-avatar.entry.cjs.js.map +0 -1
  675. package/dist/cjs/bq-badge.entry.cjs.js.map +0 -1
  676. package/dist/cjs/bq-breadcrumb-item.entry.cjs.js.map +0 -1
  677. package/dist/cjs/bq-breadcrumb.entry.cjs.js.map +0 -1
  678. package/dist/cjs/bq-button.bq-icon.entry.cjs.js.map +0 -1
  679. package/dist/cjs/bq-card.entry.cjs.js.map +0 -1
  680. package/dist/cjs/bq-checkbox.entry.cjs.js.map +0 -1
  681. package/dist/cjs/bq-date-picker.entry.cjs.js.map +0 -1
  682. package/dist/cjs/bq-dialog.entry.cjs.js.map +0 -1
  683. package/dist/cjs/bq-drawer.entry.cjs.js.map +0 -1
  684. package/dist/cjs/bq-dropdown.bq-panel.entry.cjs.js.map +0 -1
  685. package/dist/cjs/bq-empty-state.entry.cjs.js.map +0 -1
  686. package/dist/cjs/bq-input.entry.cjs.js.map +0 -1
  687. package/dist/cjs/bq-notification.entry.cjs.js.map +0 -1
  688. package/dist/cjs/bq-option-group.entry.cjs.js.map +0 -1
  689. package/dist/cjs/bq-option-list.bq-tag.entry.cjs.js.map +0 -1
  690. package/dist/cjs/bq-option.entry.cjs.js.map +0 -1
  691. package/dist/cjs/bq-page-title.entry.cjs.js.map +0 -1
  692. package/dist/cjs/bq-progress.entry.cjs.js.map +0 -1
  693. package/dist/cjs/bq-radio-group.entry.cjs.js.map +0 -1
  694. package/dist/cjs/bq-radio.entry.cjs.js.map +0 -1
  695. package/dist/cjs/bq-select.entry.cjs.js.map +0 -1
  696. package/dist/cjs/bq-side-menu-item.entry.cjs.js.map +0 -1
  697. package/dist/cjs/bq-side-menu.entry.cjs.js.map +0 -1
  698. package/dist/cjs/bq-slider.entry.cjs.js.map +0 -1
  699. package/dist/cjs/bq-spinner.entry.cjs.js.map +0 -1
  700. package/dist/cjs/bq-status.entry.cjs.js.map +0 -1
  701. package/dist/cjs/bq-step-item.entry.cjs.js.map +0 -1
  702. package/dist/cjs/bq-steps.entry.cjs.js.map +0 -1
  703. package/dist/cjs/bq-steps.types-D4B3f19X.js.map +0 -1
  704. package/dist/cjs/bq-switch.entry.cjs.js.map +0 -1
  705. package/dist/cjs/bq-tab-group.entry.cjs.js.map +0 -1
  706. package/dist/cjs/bq-textarea.entry.cjs.js.map +0 -1
  707. package/dist/cjs/bq-toast.entry.cjs.js.map +0 -1
  708. package/dist/cjs/bq-tooltip.entry.cjs.js.map +0 -1
  709. package/dist/cjs/date-C-h2CBps.js.map +0 -1
  710. package/dist/cjs/index-g8MkV15i.js.map +0 -1
  711. package/dist/collection/components/date-picker/helper/callyLibrary.js.map +0 -1
  712. package/dist/collection/shared/utils/date.js.map +0 -1
  713. package/dist/components/p-16lKXCDk.js.map +0 -1
  714. package/dist/components/p-A6e1tN-B.js.map +0 -1
  715. package/dist/components/p-B5XEhmuc.js.map +0 -1
  716. package/dist/components/p-BxgDLPzX.js +0 -6
  717. package/dist/components/p-CIV0haMJ.js +0 -6
  718. package/dist/components/p-CIV0haMJ.js.map +0 -1
  719. package/dist/components/p-CXUO6Zub.js.map +0 -1
  720. package/dist/components/p-D14_9VoZ.js +0 -6
  721. package/dist/components/p-D14_9VoZ.js.map +0 -1
  722. package/dist/components/p-DEUOprS4.js +0 -6
  723. package/dist/components/p-DEUOprS4.js.map +0 -1
  724. package/dist/components/p-DGysEMss.js.map +0 -1
  725. package/dist/components/p-DHdYy1q5.js.map +0 -1
  726. package/dist/components/p-DokL_HVP.js +0 -6
  727. package/dist/components/p-DokL_HVP.js.map +0 -1
  728. package/dist/components/p-eRUe5rRq.js +0 -6
  729. package/dist/components/p-eRUe5rRq.js.map +0 -1
  730. package/dist/esm/bq-button.bq-icon.entry.js.map +0 -1
  731. package/dist/esm/bq-dropdown.bq-panel.entry.js.map +0 -1
  732. package/dist/esm/bq-option-list.bq-tag.entry.js.map +0 -1
  733. package/dist/esm/bq-steps.types-DEUOprS4.js +0 -11
  734. package/dist/esm/bq-steps.types-DEUOprS4.js.map +0 -1
  735. package/dist/esm/date-igOoibr-.js.map +0 -1
  736. package/dist/esm/index-BOf9EC3C.js.map +0 -1
  737. package/dist/types/components/date-picker/helper/callyLibrary.d.ts +0 -11
@@ -0,0 +1 @@
1
+ {"version":3,"names":["STATUS_TYPE","bqStatusCss","BqStatus","type","checkPropValues","validatePropValue","this","el","componentWillLoad","render","_jsxs","class","part","role","children","_jsx","size"],"sources":["../../packages/beeq/src/components/status/bq-status.types.ts","../../packages/beeq/src/components/status/scss/bq-status.scss?tag=bq-status&encapsulation=shadow","../../packages/beeq/src/components/status/bq-status.tsx"],"sourcesContent":["export const STATUS_TYPE = ['alert', 'danger', 'info', 'neutral', 'success'] as const;\nexport type TStatusType = (typeof STATUS_TYPE)[number];\n","@import './bq-status.variables';\n\n.bq-status__circle {\n &::part(base) {\n --bq-badge--size-medium: var(--bq-status-circle--size);\n }\n\n &.success::part(base) {\n --bq-badge--background-color: theme(backgroundColor.ui.success);\n }\n\n &.danger::part(base) {\n --bq-badge--background-color: theme(backgroundColor.ui.danger);\n }\n\n &.neutral::part(base) {\n --bq-badge--background-color: theme(backgroundColor.ui.secondary);\n }\n\n &.alert::part(base) {\n --bq-badge--background-color: theme(backgroundColor.ui.warning);\n }\n\n &.info::part(base) {\n --bq-badge--background-color: theme(backgroundColor.ui.brand);\n }\n}\n\n.bq-status__text ::slotted(*) {\n @apply text-s font-medium leading-regular text-primary p-b-0 p-i-0 m-b-0 m-i-0;\n}\n","import { Component, Element, Prop, Watch } from '@stencil/core';\n\nimport { validatePropValue } from '../../shared/utils';\nimport type { TStatusType } from './bq-status.types';\nimport { STATUS_TYPE } from './bq-status.types';\n\n/**\n * The Status Component is a UI element that represents the current state or condition of an item, task, or process.\n *\n * @example How to use it\n * ```html\n * <bq-status type=\"alert\">Alert status</bq-status>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/46c8d5-status/b/09d7b1\n * @status stable\n *\n * @dependency bq-badge\n *\n * @attr {\"alert\" | \"danger\" | \"info\" | \"neutral\" | \"success\"} type - It defines the type of status to display.\n *\n * @slot The content of the status component.\n *\n * @part base - The component's internal wrapper of the status component.\n * @part circle - The colored circle that marks the status type.\n * @part text - The `<div>` container that holds the text label of the status component.\n *\n * @cssprop --bq-status-circ - Status circle size.\n */\n@Component({\n tag: 'bq-status',\n styleUrl: './scss/bq-status.scss',\n shadow: true,\n})\nexport class BqStatus {\n // Own Properties\n // ====================\n\n // Reference to host HTML element\n // ===================================\n @Element() el!: HTMLBqStatusElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n // Public Property API\n // ========================\n\n /** It defines the type of status to display */\n @Prop({ reflect: true }) type: TStatusType = 'neutral';\n\n // Prop lifecycle events\n // =======================\n @Watch('type')\n checkPropValues() {\n validatePropValue(STATUS_TYPE, 'neutral', this.el, 'type');\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 componentWillLoad() {\n this.checkPropValues();\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 // render() function\n // Always the last one in the class.\n // ===================================\n render() {\n return (\n <div class=\"bq-status inline-flex items-center gap-xs\" part=\"base\" role=\"status\">\n <bq-badge class={`bq-status__circle rounded-full ${this.type}`} part=\"circle\" size=\"medium\" />\n <div\n class=\"bq-status__text max-bs-[20px] m-b-0 m-i-0 p-b-0 p-i-0 font-medium text-primary text-s leading-regular\"\n part=\"text\"\n >\n <slot />\n </div>\n </div>\n );\n }\n}\n"],"mappings":";;;;0HAAO,MAAMA,EAAc,CAAC,QAAS,SAAU,OAAQ,UAAW,WCAlE,MAAMC,EAAc,IAAM,skpB,MCkCbC,EAAQ,M,iDAgBMC,KAAoB,UAK7C,eAAAC,GACEC,EAAkBL,EAAa,UAAWM,KAAKC,GAAI,O,CAUrD,iBAAAC,GACEF,KAAKF,iB,CAoBP,MAAAK,GACE,OACEC,SAAKC,MAAM,4CAA4CC,KAAK,OAAOC,KAAK,SAAQC,SAAA,CAC9EC,EAAU,YAAAJ,MAAO,kCAAkCL,KAAKH,OAAQS,KAAK,SAASI,KAAK,UAAQ,4CAC3FD,EACE,OAAAJ,MAAM,wGACNC,KAAK,OAAME,SAEXC,EAAQ,qGAEN,2C","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Built by Endavans
3
+ * © https://beeq.design - Apache 2 License.
4
+ */
5
+ import{r as a,c as r,a as e,d as b}from"./p-BIw6Ac7W.js";import{a as n}from"./p-C33fRBEf.js";import{d as t}from"./p-CVw85-WU.js";import{g as q}from"./p-BsSDkLU5.js";import{i}from"./p-D1A0LpG_.js";import{i as o}from"./p-BcPwGxIn.js";import{v as s}from"./p-zh4P02Kn.js";import{T as d,a as l,b as c}from"./p-DnkZCdMA.js";const v=()=>`::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}.absolute{position:absolute}.relative{position:relative}.end-0{inset-inline-end:0}.start-0{inset-inline-start:0}.block{display:block}.flex{display:flex}.hidden{display:none}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.gap-xs2{gap:var(--bq-spacing-xs2)}.border-0{border-width:0}.border-solid{border-style:solid}.border-primary{border-color:var(--bq-stroke--primary)}.p-xs2{padding:var(--bq-spacing-xs2)}.content-empty{--tw-content:"";content:var(--tw-content)}.content-none{--tw-content:none;content:var(--tw-content)}.bs-full{block-size:100%}.is-0{inline-size:0}.is-full{inline-size:100%}.inset-be-0{inset-block-end:0}.\\[border-block-end-width\\:--bq-stroke-s\\]{border-block-end-width:var(--bq-stroke-s)}.\\[border-block-end-width\\:0px\\]{border-block-end-width:0}.\\[border-inline-end-width\\:--bq-stroke-s\\]{border-inline-end-width:var(--bq-stroke-s)}.\\[border-inline-start-width\\:--bq-stroke-s\\]{border-inline-start-width:var(--bq-stroke-s)}@-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{display:block}.bq-tab-group{position:relative}.bq-tab-group:after{--tw-content:"";border-color:var(--bq-stroke--primary);border-style:solid;border-width:0;content:var(--tw-content);display:flex;position:absolute}.bq-tab-group--horizontal-end:after,.bq-tab-group--horizontal-start:after{border-block-end-width:var(--bq-stroke-s);inline-size:100%;inset-block-end:0}.bq-tab-group--horizontal-start{justify-content:flex-start}.bq-tab-group--horizontal-end{justify-content:flex-end}.bq-tab-group--vertical-start:after{block-size:100%;border-block-end-width:0;border-inline-end-width:var(--bq-stroke-s);inline-size:0;inset-inline-end:0}.bq-tab-group--vertical-end:after{block-size:100%;border-block-end-width:0;border-inline-start-width:var(--bq-stroke-s);inline-size:0;inset-inline-start:0}.bq-tab-group.no-divider:after{--tw-content:none;content:var(--tw-content)}.bq-tab-group--container{-ms-overflow-style:none;gap:var(--bq-spacing-xs2);padding:var(--bq-spacing-xs2);scrollbar-width:none}.bq-tab-group--container::-webkit-scrollbar{display:none}.static{position:static}.inline-block{display:inline-block}.flex-col{flex-direction:column}.overflow-x-auto{overflow-x:auto}.underline{text-decoration-line:underline}.blur{--tw-blur:blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.ms-\\[--bq-tab--label-icon-gap\\]{margin-inline-start:var(--bq-tab--label-icon-gap)}.line-clamp-1{-webkit-box-orient:vertical;-webkit-line-clamp:1;display:-webkit-box;overflow:hidden}.items-center{align-items:center}.justify-center{justify-content:center}.text-brand{color:var(--bq-text--brand)}.text-primary{color:var(--bq-text--primary)}.focus{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}`;const u=class{constructor(e){a(this,e);this.bqChange=r(this,"bqChange")}debouncedBqChange;get el(){return e(this)}debounceTime=0;disableDivider=false;orientation="horizontal";placement="start";size="medium";value;checkDebounceChange(){if(this.debounceTime<0){this.debounceTime=Math.max(0,this.debounceTime)}if(this.debouncedBqChange){this.debouncedBqChange.cancel()}this.debouncedBqChange=t((a=>{this.bqChange.emit(a)}),this.debounceTime)}checkPropValues(){s(d,"medium",this.el,"size");s(l,"horizontal",this.el,"orientation");s(c,"start",this.el,"placement");this.bqTabElements.forEach((a=>{a.size=this.size;a.orientation=this.orientation;a.placement=this.placement;a.active=!o(this.value)?a.tabId===this.value:false}))}bqChange;componentWillLoad(){this.checkDebounceChange();this.checkPropValues()}componentDidLoad(){this.checkPropValues()}onKeyUp(a){const{target:r}=a;if(!i(r,"bq-tab"))return;this.makeTabsFocusable()}onBqClick(a){const{detail:r}=a;this.bqTabElements.forEach((a=>{a.active=a===r}));this.debouncedBqChange({value:r.tabId,target:r});this.selectTab(r)}async onBqKeyDown(a){const{target:r}=a;if(!i(r,"bq-tab"))return;const e={ArrowDown:"forward",ArrowRight:"forward",ArrowUp:"backward",ArrowLeft:"backward"};const b=e[a.detail.key];if(!b)return;await this.focusTabSibling(r,b)}onBqBlur(){this.restoreTabsFocus()}focusTabSibling=async(a,r)=>{let e=null;this.bqTabElements.forEach(((b,n,t)=>{b.active=false;if(b===a){e=q(t,n,r)}}));if(e){await e.vFocus();this.selectTab(e)}};makeTabsFocusable=()=>{this.bqTabElements.forEach((a=>{if(a.disabled)return;(async()=>{await a.enableFocus(true)})()}))};restoreTabsFocus=()=>{this.bqTabElements.forEach((a=>{if(a.disabled||a.active)return;(async()=>{await a.enableFocus(false)})()}))};get bqTabElements(){return Array.from(this.el.querySelectorAll("bq-tab"))}selectTab=a=>{const{tabId:r}=a;a.active=true;this.value=r;this.debouncedBqChange({value:r,target:a})};render(){return n(b,{class:{"inline-block":this.orientation==="vertical"},children:n("div",{class:{[`bq-tab-group bq-tab-group--${this.orientation}-${this.placement} is-full flex`]:true,"no-divider":this.disableDivider},part:"base",children:n("div",{class:{"bq-tab-group--container flex overflow-x-auto":true,"flex-col":this.orientation!=="horizontal"},part:"tabs",role:"tablist",children:n("slot",{},"c6a50f259ecaab21d223cc188f390a7d186ce2f8")},"71ba00dd69ed2cbaf547ca46a745dad58a4434c1")},"4f7c13e06144d733c851f1b8e62238bfdd4aabcd")},"50d10913b0d057c1f9272e4c577e65739e8b714a")}static get watchers(){return{debounceTime:[{checkDebounceChange:0}],size:[{checkPropValues:0}],value:[{checkPropValues:0}],orientation:[{checkPropValues:0}],placement:[{checkPropValues:0}]}}};u.style=v();export{u as bq_tab_group};
6
+ //# sourceMappingURL=p-20de0359.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["bqTabGroupCss","BqTabGroup","debouncedBqChange","debounceTime","disableDivider","orientation","placement","size","value","checkDebounceChange","this","Math","max","cancel","debounce","event","bqChange","emit","checkPropValues","validatePropValue","TAB_SIZE","el","TAB_ORIENTATION","TAB_PLACEMENT","bqTabElements","forEach","bqTabElement","active","isNil","tabId","componentWillLoad","componentDidLoad","onKeyUp","target","isHTMLElement","makeTabsFocusable","onBqClick","detail","selectTab","onBqKeyDown","keyActions","ArrowDown","ArrowRight","ArrowUp","ArrowLeft","direction","key","focusTabSibling","onBqBlur","restoreTabsFocus","async","currentTarget","index","elements","getNextElement","vFocus","disabled","enableFocus","Array","from","querySelectorAll","render","_jsx","Host","class","children","part","role"],"sources":["../../packages/beeq/src/components/tab-group/scss/bq-tab-group.scss?tag=bq-tab-group&encapsulation=shadow","../../packages/beeq/src/components/tab-group/bq-tab-group.tsx"],"sourcesContent":["/* -------------------------------------------------------------------------- */\n/* Tab styles */\n/* -------------------------------------------------------------------------- */\n\n:host {\n @apply block;\n}\n\n.bq-tab-group {\n @apply relative;\n\n &::after {\n @apply absolute flex border-0 border-solid border-primary content-empty;\n }\n\n &--horizontal-start,\n &--horizontal-end {\n &::after {\n @apply is-full inset-be-0 [border-block-end-width:--bq-stroke-s];\n }\n }\n\n &--horizontal-start {\n @apply justify-start;\n }\n\n &--horizontal-end {\n @apply justify-end;\n }\n\n &--vertical-start::after {\n @apply end-0 bs-full is-0 [border-block-end-width:0px] [border-inline-end-width:--bq-stroke-s];\n }\n\n &--vertical-end::after {\n @apply start-0 bs-full is-0 [border-block-end-width:0px] [border-inline-start-width:--bq-stroke-s];\n }\n}\n\n.bq-tab-group.no-divider {\n &::after {\n @apply content-none;\n }\n}\n\n.bq-tab-group--container {\n @include hide-scrollbar;\n @apply gap-xs2 p-xs2; // This will avoid cutting the outline focus style\n}\n","import type { EventEmitter } from '@stencil/core';\nimport { Component, Element, Event, Host, Listen, Prop, Watch } from '@stencil/core';\n\nimport { debounce, getNextElement, isHTMLElement, isNil, type TDebounce, validatePropValue } from '../../shared/utils';\nimport type { TTabOrientation, TTabPlacement, TTabSize } from '../tab/bq-tab.types';\nimport { TAB_ORIENTATION, TAB_PLACEMENT, TAB_SIZE } from '../tab/bq-tab.types';\n\n/**\n * The tab group is a user interface element that allows users wrap a set of tab items.\n *\n * @example How to use it\n * ```html\n * <bq-tab-group value=\"5\">\n * <bq-tab tab-id=\"1\">Tab</bq-tab>\n * <bq-tab tab-id=\"2\" active>Tab</bq-tab>\n * <bq-tab tab-id=\"3\">Long Tab name</bq-tab>\n * <bq-tab tab-id=\"4\" disabled>Tab</bq-tab>\n * </bq-tab-group>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/775321-tabs\n * @status stable\n *\n * @attr {number} debounce-time - A number representing the delay value applied to bqChange event handler\n * @attr {boolean} disable-divider - If true, the underline divider below the tabs won't be shown\n * @attr {string} orientation - The direction that tab should be render\n * @attr {string} placement - The placement that tab should be render\n * @attr {string} size - The size of the tab\n * @attr {string} value - A string representing the id of the selected tab.\n *\n * @event bqChange - Handler to be called when the tab value changes\n *\n * @slot - The bq-tab items\n *\n * @part base - The HTML div wrapper inside the shadow DOM.\n * @part tabs - The HTML div used to hold the tab buttons.\n */\n@Component({\n tag: 'bq-tab-group',\n styleUrl: './scss/bq-tab-group.scss',\n shadow: true,\n})\nexport class BqTabGroup {\n // Own Properties\n // ====================\n\n private debouncedBqChange: TDebounce<{ value: string; target: HTMLBqTabElement }>;\n\n // Reference to host HTML element\n // ===================================\n\n @Element() el!: HTMLBqTabGroupElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n // Public Property API\n // ========================\n\n /** A number representing the delay value applied to bqChange event handler */\n @Prop({ reflect: true, mutable: true }) debounceTime = 0;\n\n /** If true, the underline divider below the tabs won't be shown */\n @Prop({ reflect: true }) disableDivider = false;\n\n /** The direction that tab should be render */\n @Prop({ reflect: true }) orientation?: TTabOrientation = 'horizontal';\n\n /** The placement that tab should be render */\n @Prop({ reflect: true }) placement?: TTabPlacement = 'start';\n\n /** The size of the tab */\n @Prop({ reflect: true }) size: TTabSize = 'medium';\n\n /** A string representing the id of the selected tab. */\n @Prop({ reflect: true, mutable: true }) value: string;\n\n // Prop lifecycle events\n // =======================\n\n @Watch('debounceTime')\n checkDebounceChange() {\n if (this.debounceTime < 0) {\n this.debounceTime = Math.max(0, this.debounceTime);\n }\n\n if (this.debouncedBqChange) {\n this.debouncedBqChange.cancel();\n }\n\n this.debouncedBqChange = debounce((event: Parameters<typeof this.debouncedBqChange>[0]) => {\n this.bqChange.emit(event);\n }, this.debounceTime);\n }\n\n @Watch('size')\n @Watch('value')\n @Watch('orientation')\n @Watch('placement')\n checkPropValues() {\n validatePropValue(TAB_SIZE, 'medium', this.el, 'size');\n validatePropValue(TAB_ORIENTATION, 'horizontal', this.el, 'orientation');\n validatePropValue(TAB_PLACEMENT, 'start', this.el, 'placement');\n\n this.bqTabElements.forEach((bqTabElement) => {\n bqTabElement.size = this.size;\n bqTabElement.orientation = this.orientation;\n bqTabElement.placement = this.placement;\n bqTabElement.active = !isNil(this.value) ? bqTabElement.tabId === this.value : false;\n });\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n /** Handler to be called when the tab value changes */\n @Event() bqChange: EventEmitter<{ target: HTMLBqTabElement; value: string }>;\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n componentWillLoad() {\n this.checkDebounceChange();\n this.checkPropValues();\n }\n\n componentDidLoad() {\n this.checkPropValues();\n }\n\n // Listeners\n // ==============\n\n @Listen('keyup', { target: 'body', passive: true, capture: true })\n onKeyUp(event: KeyboardEvent) {\n const { target } = event;\n if (!isHTMLElement(target, 'bq-tab')) return;\n\n this.makeTabsFocusable();\n }\n\n @Listen('bqClick', { passive: true })\n onBqClick(event: CustomEvent<HTMLBqTabElement>) {\n const { detail: target } = event;\n this.bqTabElements.forEach((bqTabElement) => {\n bqTabElement.active = bqTabElement === target;\n });\n this.debouncedBqChange({ value: target.tabId, target });\n this.selectTab(target);\n }\n\n @Listen('bqKeyDown', { passive: true })\n async onBqKeyDown(event: CustomEvent<KeyboardEvent>) {\n const { target } = event;\n\n // NOTE: ensures the target is an HTML element with the tag name 'bq-tab'\n if (!isHTMLElement(target, 'bq-tab')) return;\n\n const keyActions: { [key: string]: 'forward' | 'backward' } = {\n ArrowDown: 'forward',\n ArrowRight: 'forward',\n ArrowUp: 'backward',\n ArrowLeft: 'backward',\n };\n\n // NOTE: gets the direction based on key pressed\n const direction = keyActions[event.detail.key];\n\n if (!direction) return;\n\n await this.focusTabSibling(target, direction);\n }\n\n @Listen('bqBlur', { capture: true, passive: true })\n onBqBlur() {\n this.restoreTabsFocus();\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 focusTabSibling = async (\n currentTarget: HTMLBqTabElement,\n direction: 'forward' | 'backward',\n ): Promise<void> => {\n let target: HTMLBqTabElement | null = null;\n\n this.bqTabElements.forEach((bqTabElement, index, elements) => {\n bqTabElement.active = false;\n\n if (bqTabElement === currentTarget) {\n target = getNextElement(elements, index, direction);\n }\n });\n\n if (target) {\n await target.vFocus();\n this.selectTab(target);\n }\n };\n\n private makeTabsFocusable = (): void => {\n this.bqTabElements.forEach((bqTabElement) => {\n if (bqTabElement.disabled) return;\n\n /**\n * This is a \"fire and forget\" operation. The callback itself doesn't do anything special\n * with the asynchronous code (doesn't await it or do anything with the result)\n * Details: https://stackoverflow.com/a/63488201\n */\n (async () => {\n await bqTabElement.enableFocus(true);\n })();\n });\n };\n\n private restoreTabsFocus = (): void => {\n this.bqTabElements.forEach((bqTabElement) => {\n if (bqTabElement.disabled || bqTabElement.active) return;\n\n /** @See line #173 */\n (async () => {\n await bqTabElement.enableFocus(false);\n })();\n });\n };\n\n private get bqTabElements(): HTMLBqTabElement[] {\n return Array.from(this.el.querySelectorAll('bq-tab'));\n }\n\n private selectTab = (target: HTMLBqTabElement): void => {\n const { tabId } = target;\n target.active = true;\n this.value = tabId;\n this.debouncedBqChange({ value: tabId, target });\n };\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n return (\n <Host class={{ 'inline-block': this.orientation === 'vertical' }}>\n <div\n class={{\n [`bq-tab-group bq-tab-group--${this.orientation}-${this.placement} is-full flex`]: true,\n 'no-divider': this.disableDivider,\n }}\n part=\"base\"\n >\n <div\n class={{\n 'bq-tab-group--container flex overflow-x-auto': true,\n 'flex-col': this.orientation !== 'horizontal',\n }}\n part=\"tabs\"\n role=\"tablist\"\n >\n <slot />\n </div>\n </div>\n </Host>\n );\n }\n}\n"],"mappings":";;;;8TAAA,MAAMA,EAAgB,IAAM,yzqB,MC0CfC,EAAU,M,0DAIbC,kB,wBAegCC,aAAe,EAG9BC,eAAiB,MAGjBC,YAAgC,aAGhCC,UAA4B,QAG5BC,KAAiB,SAGFC,MAMxC,mBAAAC,GACE,GAAIC,KAAKP,aAAe,EAAG,CACzBO,KAAKP,aAAeQ,KAAKC,IAAI,EAAGF,KAAKP,a,CAGvC,GAAIO,KAAKR,kBAAmB,CAC1BQ,KAAKR,kBAAkBW,Q,CAGzBH,KAAKR,kBAAoBY,GAAUC,IACjCL,KAAKM,SAASC,KAAKF,EAAM,GACxBL,KAAKP,a,CAOV,eAAAe,GACEC,EAAkBC,EAAU,SAAUV,KAAKW,GAAI,QAC/CF,EAAkBG,EAAiB,aAAcZ,KAAKW,GAAI,eAC1DF,EAAkBI,EAAe,QAASb,KAAKW,GAAI,aAEnDX,KAAKc,cAAcC,SAASC,IAC1BA,EAAanB,KAAOG,KAAKH,KACzBmB,EAAarB,YAAcK,KAAKL,YAChCqB,EAAapB,UAAYI,KAAKJ,UAC9BoB,EAAaC,QAAUC,EAAMlB,KAAKF,OAASkB,EAAaG,QAAUnB,KAAKF,MAAQ,KAAK,G,CAS/EQ,SAMT,iBAAAc,GACEpB,KAAKD,sBACLC,KAAKQ,iB,CAGP,gBAAAa,GACErB,KAAKQ,iB,CAOP,OAAAc,CAAQjB,GACN,MAAMkB,OAAEA,GAAWlB,EACnB,IAAKmB,EAAcD,EAAQ,UAAW,OAEtCvB,KAAKyB,mB,CAIP,SAAAC,CAAUrB,GACR,MAAQsB,OAAQJ,GAAWlB,EAC3BL,KAAKc,cAAcC,SAASC,IAC1BA,EAAaC,OAASD,IAAiBO,CAAM,IAE/CvB,KAAKR,kBAAkB,CAAEM,MAAOyB,EAAOJ,MAAOI,WAC9CvB,KAAK4B,UAAUL,E,CAIjB,iBAAMM,CAAYxB,GAChB,MAAMkB,OAAEA,GAAWlB,EAGnB,IAAKmB,EAAcD,EAAQ,UAAW,OAEtC,MAAMO,EAAwD,CAC5DC,UAAW,UACXC,WAAY,UACZC,QAAS,WACTC,UAAW,YAIb,MAAMC,EAAYL,EAAWzB,EAAMsB,OAAOS,KAE1C,IAAKD,EAAW,aAEVnC,KAAKqC,gBAAgBd,EAAQY,E,CAIrC,QAAAG,GACEtC,KAAKuC,kB,CAeCF,gBAAkBG,MACxBC,EACAN,KAEA,IAAIZ,EAAkC,KAEtCvB,KAAKc,cAAcC,SAAQ,CAACC,EAAc0B,EAAOC,KAC/C3B,EAAaC,OAAS,MAEtB,GAAID,IAAiByB,EAAe,CAClClB,EAASqB,EAAeD,EAAUD,EAAOP,E,KAI7C,GAAIZ,EAAQ,OACJA,EAAOsB,SACb7C,KAAK4B,UAAUL,E,GAIXE,kBAAoB,KAC1BzB,KAAKc,cAAcC,SAASC,IAC1B,GAAIA,EAAa8B,SAAU,OAO3B,iBACQ9B,EAAa+B,YAAY,KAChC,EAFD,EAEI,GACJ,EAGIR,iBAAmB,KACzBvC,KAAKc,cAAcC,SAASC,IAC1B,GAAIA,EAAa8B,UAAY9B,EAAaC,OAAQ,OAGlD,iBACQD,EAAa+B,YAAY,MAChC,EAFD,EAEI,GACJ,EAGJ,iBAAYjC,GACV,OAAOkC,MAAMC,KAAKjD,KAAKW,GAAGuC,iBAAiB,U,CAGrCtB,UAAaL,IACnB,MAAMJ,MAAEA,GAAUI,EAClBA,EAAON,OAAS,KAChBjB,KAAKF,MAAQqB,EACbnB,KAAKR,kBAAkB,CAAEM,MAAOqB,EAAOI,UAAS,EAOlD,MAAA4B,GACE,OACEC,EAACC,EAAI,CAACC,MAAO,CAAE,eAAgBtD,KAAKL,cAAgB,YAClD4D,SAAAH,EAAA,OACEE,MAAO,CACL,CAAC,8BAA8BtD,KAAKL,eAAeK,KAAKJ,0BAA2B,KACnF,aAAcI,KAAKN,gBAErB8D,KAAK,OAELD,SAAAH,EAAA,OACEE,MAAO,CACL,+CAAgD,KAChD,WAAYtD,KAAKL,cAAgB,cAEnC6D,KAAK,OACLC,KAAK,UAASF,SAEdH,EAAQ,oGAEN,wF","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Built by Endavans
3
+ * © https://beeq.design - Apache 2 License.
4
+ */
5
+ import{r,c as a,a as e}from"./p-BIw6Ac7W.js";import{j as b,a as t}from"./p-C33fRBEf.js";import{i as n}from"./p-D1A0LpG_.js";import{v as i}from"./p-zh4P02Kn.js";import{S as q,a as o}from"./p-BRMw_HGf.js";const s=["default","current","completed","error","disabled"];const d=()=>`.transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}::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}.box-border{box-sizing:border-box}.flex{display:flex}.inline-flex{display:inline-flex}.flex-1{flex:1 1 0%}.flex-\\[0_0_auto\\]{flex:0 0 auto}.items-center{align-items:center}.justify-center{justify-content:center}.gap-s{gap:var(--bq-spacing-s)}.rounded-m{border-radius:var(--bq-radius--m)}.border-none{border-style:none}.bg-\\[--bq-step-item--prefix-num-bg-color\\]{background-color:var(--bq-step-item--prefix-num-bg-color)}.bg-\\[var\\(--bq-step-item--prefix-color-current\\)\\]{background-color:var(--bq-step-item--prefix-color-current)}.bg-transparent{background-color:transparent}.bg-ui-danger-alt{background-color:var(--bq-ui--danger-alt)}.bg-ui-success-alt{background-color:var(--bq-ui--success-alt)}.pe-\\[--bq-steps--gap\\]{padding-inline-end:var(--bq-steps--gap)}.ps-0{padding-inline-start:0}.text-m{font-size:var(--bq-font-size--m)}.text-s{font-size:var(--bq-font-size--s)}.font-semibold{font-weight:var(--bq-font-weight--semibold)}.leading-regular{line-height:var(--bq-font-line-height--regular)}.text-alt{color:var(--bq-text--alt)}.text-danger{color:var(--bq-text--danger)}.text-primary{color:var(--bq-text--primary)}.text-success{color:var(--bq-text--success)}.opacity-60{opacity:.6}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.bs-\\[--bq-step-item--prefix-num-size\\]{block-size:var(--bq-step-item--prefix-num-size)}.is-\\[--bq-step-item--prefix-num-size\\]{inline-size:var(--bq-step-item--prefix-num-size)}.p-b-xs2{padding-block:var(--bq-spacing-xs2)}.\\[--bq-step-item--prefix-num-size\\:--bq-spacing-l\\]{--bq-step-item--prefix-num-size:var(--bq-spacing-l)}@-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-step-item--prefix-color:var(--bq-icon--secondary);--bq-step-item--prefix-color-current:var(--bq-icon--brand);--bq-step-item--prefix-color-completed:var(--bq-icon--success);--bq-step-item--prefix-color-error:var(--bq-icon--danger);--bq-step-item--prefix-num-size:var(--bq-spacing-xl);--bq-step-item--prefix-num-bg-color:var(--bq-ui--secondary);--bq-icon--color:var(--bq-icon--primary);box-sizing:border-box;display:inline-flex}:host([orientation=vertical]){display:flex;flex:1 1 0%}:host([orientation=vertical][is-last]){flex:0 0 auto}.bq-step-item{background-color:transparent;border-radius:var(--bq-radius--m);border-style:none;display:flex;gap:var(--bq-spacing-s);padding-block:var(--bq-spacing-xs2);padding-inline-end:var(--bq-steps--gap);padding-inline-start:0;transition-duration:.3s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.bq-step-item:focus-visible{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}.bq-step-item:hover{background-color:color-mix(in srgb,var(--bq-ui--secondary),var(--bq-hover) 20%)}.bq-step-item__prefix.dot ::slotted(bq-icon),.bq-step-item__prefix.icon ::slotted(bq-icon){--bq-icon--color:var(--bq-step-item--prefix-color)}.bq-step-item__prefix.dot.current ::slotted(bq-icon),.bq-step-item__prefix.icon.current ::slotted(bq-icon){--bq-icon--color:var(--bq-step-item--prefix-color-current)}.bq-step-item__prefix.dot.completed ::slotted(bq-icon),.bq-step-item__prefix.icon.completed ::slotted(bq-icon){--bq-icon--color:var(--bq-step-item--prefix-color-completed)}.bq-step-item__prefix.dot.error ::slotted(bq-icon),.bq-step-item__prefix.icon.error ::slotted(bq-icon){--bq-icon--color:var(--bq-step-item--prefix-color-error)}.bq-step-item__prefix.dot.disabled ::slotted(bq-icon),.bq-step-item__prefix.icon.disabled ::slotted(bq-icon){opacity:.6}.bq-step-item__prefix.numeric{align-items:center;background-color:var(--bq-step-item--prefix-num-bg-color);block-size:var(--bq-step-item--prefix-num-size);border-radius:var(--bq-radius--full);color:var(--bq-text--primary);display:flex;font-size:var(--bq-font-size--m);font-weight:var(--bq-font-weight--semibold);inline-size:var(--bq-step-item--prefix-num-size);justify-content:center;line-height:var(--bq-font-line-height--regular)}.bq-step-item__prefix.numeric.small{--bq-step-item--prefix-num-size:var(--bq-spacing-l);font-size:var(--bq-font-size--s)}.bq-step-item__prefix.numeric.current{background-color:var(--bq-step-item--prefix-color-current);color:var(--bq-text--alt)}.bq-step-item__prefix.numeric.completed{background-color:var(--bq-ui--success-alt);color:var(--bq-text--success)}.bq-step-item__prefix.numeric.error{background-color:var(--bq-ui--danger-alt);color:var(--bq-text--danger)}.bq-step-item__prefix.numeric.disabled{opacity:.6}.bq-step-item__content--description::slotted(*){font-size:var(--bq-font-size--s);line-height:var(--bq-font-line-height--regular);opacity:.6}.focus-visible\\:focus:focus-visible{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}.pointer-events-none{pointer-events:none}.static{position:static}.relative{position:relative}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.p-m{padding:var(--bq-spacing-m)}.p-s{padding:var(--bq-spacing-s)}.pe-xs3{padding-inline-end:var(--bq-spacing-xs3)}.text-start{text-align:start}.text-brand{color:var(--bq-text--brand)}.text-secondary{color:var(--bq-text--secondary)}.focus{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}.\\[\\&\\:\\:part\\(base\\)\\]\\:self-start::part(base){align-self:flex-start}.\\[\\&\\:\\:part\\(base\\)\\]\\:p-m::part(base){padding:var(--bq-spacing-m)}.\\[\\&\\:\\:part\\(base\\)\\]\\:p-s::part(base){padding:var(--bq-spacing-s)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.justify-between{justify-content:space-between}.bs-full{block-size:100%}.is-full{inline-size:100%}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.\\!hidden{display:none!important}.gap-0{gap:0}`;const l=class{constructor(e){r(this,e);this.bqClick=a(this,"bqClick");this.bqFocus=a(this,"bqFocus");this.bqBlur=a(this,"bqBlur")}get el(){return e(this)}dividerColor="stroke--primary";isLast=false;orientation="horizontal";size="medium";status="default";type;checkPropValues(){i(q,"horizontal",this.el,"orientation");i(o,"medium",this.el,"size");i(s,"default",this.el,"status");this.handleIconPrefix()}bqClick;bqFocus;bqBlur;connectedCallback(){this.checkPropValues()}componentWillLoad(){this.checkPropValues()}componentDidLoad(){this.handleIconPrefix()}handleFocus=()=>{this.bqFocus.emit(this.el)};handleBlur=()=>{this.bqBlur.emit(this.el)};handleClick=async()=>{if(this.isDisabled||this.isCurrent)return;const r=this.bqClick.emit(this.el);if(r.defaultPrevented)return;const a=this.el.closest("bq-steps");if(!a)return;await a.setCurrentStepItem(this.el)};handleIconPrefix=()=>{const r=this.el.querySelector('[slot="prefix"]');if(!r||!n(r,"bq-icon"))return;r.size=this.size==="small"?24:32};get isDisabled(){return this.status==="disabled"}get isCurrent(){return this.status==="current"}render(){const r=this.orientation==="vertical";return b("div",{class:{"inline-flex":true,"flex-row":!r,"flex-col":r},role:"listitem",children:[b("button",{class:{"bq-step-item":true,[`bq-step-item--${this.status}`]:true,"pointer-events-none opacity-60":this.isDisabled},disabled:this.isDisabled,onBlur:this.handleBlur,onClick:this.handleClick,onFocus:this.handleFocus,"aria-current":this.isCurrent?"step":undefined,type:"button",part:"base",children:[t("div",{class:`bq-step-item__prefix relative ${this.type} ${this.size} ${this.status}`,children:t("slot",{name:"prefix",onSlotchange:this.handleIconPrefix},"51734549220522f861e90acdc3fc4ee4a4194956")},"a3b0b3e4809dc9a2ed649d8bd0fc9183e5668b6c"),b("div",{class:"bq-step-item__content items-start text-start",children:[t("div",{class:{"bq-step-item__content--title pe-xs3 text-m text-primary leading-regular":true,"pointer-events-none":this.isDisabled,"text-brand":this.isCurrent},part:"title",children:t("slot",{},"6f304aeed650943719cd7ada6bcc62b82e0016e3")},"b7eaec59b1bba2ec93947cd58529ff3b38463498"),t("div",{class:{"bq-step-item__content--description text-s text-secondary leading-regular":true,"opacity-60":this.isDisabled},part:"description",children:t("slot",{name:"description"},"6234012f46d580ed3c9b91996bb76d6d65237096")},"2de2a01ed0aa6c4e6762b0731137abeffe98354f")]},"d59a22a793bb8dd1ddebb48a4055fa03436e9b84")]},"94f5d409175756db62fd7a0659444252518d64e5"),!this.isLast&&t("bq-divider",{class:{"[&::part(base)]:self-start [&::part(base)]:p-m":true,"[&::part(base)]:p-s":r&&this.size==="small"},exportparts:"base:divider-base,dash-start:divider-dash-start,dash-end:divider-dash-end",orientation:this.orientation,strokeColor:this.dividerColor,strokeThickness:2,"aria-hidden":"true"},"e631ee54d47f139977a94d420e5f075344065f25")]},"6585a59414854aff66e2df88d3c6edfb7dfeb3f1")}static get delegatesFocus(){return true}static get watchers(){return{size:[{checkPropValues:0}],status:[{checkPropValues:0}]}}};l.style=d();export{l as bq_step_item};
6
+ //# sourceMappingURL=p-22e2de76.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["STEP_ITEM_STATUS","bqStepItemCss","BqStepItem","dividerColor","isLast","orientation","size","status","type","checkPropValues","validatePropValue","STEPS_ORIENTATION","this","el","STEPS_SIZE","handleIconPrefix","bqClick","bqFocus","bqBlur","connectedCallback","componentWillLoad","componentDidLoad","handleFocus","emit","handleBlur","handleClick","async","isDisabled","isCurrent","clickEvent","defaultPrevented","stepsParent","closest","setCurrentStepItem","iconElem","querySelector","isHTMLElement","render","isVertical","_jsxs","class","role","children","disabled","onBlur","onClick","onFocus","undefined","part","_jsx","name","onSlotchange","exportparts","strokeColor","strokeThickness"],"sources":["../../packages/beeq/src/components/step-item/bq-step-item.types.ts","../../packages/beeq/src/components/step-item/scss/bq-step-item.scss?tag=bq-step-item&encapsulation=shadow","../../packages/beeq/src/components/step-item/bq-step-item.tsx"],"sourcesContent":["export const STEP_ITEM_STATUS = ['default', 'current', 'completed', 'error', 'disabled'] as const;\nexport type TStepItemStatus = (typeof STEP_ITEM_STATUS)[number];\n","/* -------------------------------------------------------------------------- */\n/* Step item styles */\n/* -------------------------------------------------------------------------- */\n\n@import './bq-step-item.variables';\n\n:host {\n --bq-icon--color: theme(stroke.icon.primary);\n\n @apply box-border inline-flex;\n}\n\n:host([orientation='vertical']) {\n @apply flex flex-1;\n}\n\n:host([orientation='vertical'][is-last]) {\n @apply flex-[0_0_auto];\n}\n\n.bq-step-item {\n @apply flex gap-s rounded-m border-none bg-transparent pe-[--bq-steps--gap] ps-0 p-b-xs2 focus-visible:focus hover:bg-hover-ui-secondary;\n @apply transition-colors duration-300;\n}\n\n.bq-step-item__prefix.dot,\n.bq-step-item__prefix.icon {\n ::slotted(bq-icon) {\n --bq-icon--color: var(--bq-step-item--prefix-color);\n }\n\n &.current {\n ::slotted(bq-icon) {\n --bq-icon--color: var(--bq-step-item--prefix-color-current);\n }\n }\n\n &.completed {\n ::slotted(bq-icon) {\n --bq-icon--color: var(--bq-step-item--prefix-color-completed);\n }\n }\n\n &.error {\n ::slotted(bq-icon) {\n --bq-icon--color: var(--bq-step-item--prefix-color-error);\n }\n }\n\n &.disabled {\n ::slotted(bq-icon) {\n opacity: 0.6;\n }\n }\n}\n\n.bq-step-item__prefix.numeric {\n @apply flex items-center justify-center rounded-full;\n @apply bg-[--bq-step-item--prefix-num-bg-color] bs-[--bq-step-item--prefix-num-size] is-[--bq-step-item--prefix-num-size];\n @apply text-m font-semibold leading-regular text-primary;\n\n &.small {\n @apply text-s [--bq-step-item--prefix-num-size:--bq-spacing-l];\n }\n\n // Status\n\n &.current {\n @apply bg-[var(--bq-step-item--prefix-color-current)] text-alt;\n }\n\n &.completed {\n @apply bg-ui-success-alt text-success;\n }\n\n &.error {\n @apply bg-ui-danger-alt text-danger;\n }\n\n &.disabled {\n @apply opacity-60;\n }\n}\n\n.bq-step-item__content--description::slotted(*) {\n @apply text-s leading-regular opacity-60;\n}\n","import type { EventEmitter } from '@stencil/core';\nimport { Component, Element, Event, Prop, Watch } from '@stencil/core';\n\nimport { isHTMLElement, validatePropValue } from '../../shared/utils';\nimport type { TStepsOrientation, TStepsSize, TStepsType } from '../steps/bq-steps.types';\nimport { STEPS_ORIENTATION, STEPS_SIZE } from '../steps/bq-steps.types';\nimport type { TStepItemStatus } from './bq-step-item.types';\nimport { STEP_ITEM_STATUS } from './bq-step-item.types';\n\n/**\n * The Step Item Component is a UI element used to display a single step or stage in a process or task.\n * It should be used inside the Steps component.\n *\n * @example How to use it\n * ```html\n * <bq-step-item status=\"completed\">\n * <bq-icon slot=\"prefix\" name=\"check-circle\"></bq-icon>\n * <span>Title</span>\n * <span slot=\"description\">Description</span>\n * </bq-step-item>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/896b66-stepper\n * @status stable\n *\n * @attr {string} divider-color - The color of the line that connects the steps. It should be a valid declarative color token.\n * @attr {\"horizontal\" | \"vertical\"} orientation - The orientation of the step item\n * @attr {\"small\" | \"medium\"} size - It defines prefix size\n * @attr {\"completed\" | \"current\" | \"error\" | \"default\" | \"disabled\"} status - It defines step item appearance based on its status\n * @attr {\"numeric\" | \"icon\" | \"dot\"} type - It defines the step item type used\n *\n * @event bqClick - Callback handler emitted when the step item is clicked\n * @event bqFocus - Callback handler emitted when the step item is focused\n * @event bqBlur - Callback handler emitted when the step item loses focus\n *\n * @slot - The step item content\n * @slot prefix - The step item prefix\n * @slot description - The step item description\n *\n * @part base - The component's base wrapper.\n * @part title - The component's title.\n * @part description - The component's description.\n *\n * @cssprop --bq-step-item--prefix-color - Color of the prefix icon\n * @cssprop --bq-step-item--prefix-color-current - Color of the prefix icon when current\n * @cssprop --bq-step-item--prefix-color-completed - Color of the prefix icon when completed\n * @cssprop --bq-step-item--prefix-color-error - Color of the prefix icon when error\n * @cssprop --bq-step-item--prefix-num-size - Size of the prefix number\n * @cssprop --bq-step-item--prefix-num-bg-color - Background color of the prefix number\n */\n@Component({\n tag: 'bq-step-item',\n styleUrl: './scss/bq-step-item.scss',\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class BqStepItem {\n // Own Properties\n // ====================\n\n // Reference to host HTML element\n // ===================================\n @Element() el!: HTMLBqStepItemElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n // Public Property API\n // ========================\n\n /** The color of the line that connects the steps. It should be a valid declarative color token. */\n @Prop({ reflect: true }) dividerColor: string = 'stroke--primary';\n\n /** @internal It defines if the step item is the last one */\n @Prop({ reflect: true }) isLast?: boolean = false;\n\n /** It defines the orientation of the step item */\n @Prop({ reflect: true }) orientation?: TStepsOrientation = 'horizontal';\n\n /** It defines prefix size */\n @Prop({ reflect: true }) size?: TStepsSize = 'medium';\n\n /** It defines step item appearance based on its status */\n @Prop({ reflect: true, mutable: true }) status?: TStepItemStatus = 'default';\n\n /** It defines the step item type used */\n @Prop({ reflect: true }) type?: TStepsType;\n\n // Prop lifecycle events\n // =======================\n\n @Watch('size')\n @Watch('status')\n checkPropValues() {\n validatePropValue(STEPS_ORIENTATION, 'horizontal', this.el, 'orientation');\n validatePropValue(STEPS_SIZE, 'medium', this.el, 'size');\n validatePropValue(STEP_ITEM_STATUS, 'default', this.el, 'status');\n\n this.handleIconPrefix();\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n /** Callback handler triggered when the step item is clicked */\n @Event() bqClick: EventEmitter<HTMLBqStepItemElement>;\n\n /** Callback handler triggered when the step item is focused */\n @Event() bqFocus: EventEmitter<HTMLBqStepItemElement>;\n\n /** Callback handler triggered when the step item loses focus */\n @Event() bqBlur: EventEmitter<HTMLBqStepItemElement>;\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.handleIconPrefix();\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 handleFocus = () => {\n this.bqFocus.emit(this.el);\n };\n\n private handleBlur = () => {\n this.bqBlur.emit(this.el);\n };\n\n private handleClick = async () => {\n if (this.isDisabled || this.isCurrent) return;\n\n const clickEvent = this.bqClick.emit(this.el);\n if (clickEvent.defaultPrevented) return;\n\n const stepsParent = this.el.closest('bq-steps');\n if (!stepsParent) return;\n\n await stepsParent.setCurrentStepItem(this.el);\n };\n\n private handleIconPrefix = () => {\n const iconElem = this.el.querySelector('[slot=\"prefix\"]');\n if (!iconElem || !isHTMLElement(iconElem, 'bq-icon')) return;\n\n iconElem.size = this.size === 'small' ? 24 : 32;\n };\n\n private get isDisabled(): boolean {\n return this.status === 'disabled';\n }\n\n private get isCurrent(): boolean {\n return this.status === 'current';\n }\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n const isVertical = this.orientation === 'vertical';\n\n return (\n <div class={{ 'inline-flex': true, 'flex-row': !isVertical, 'flex-col': isVertical }} role=\"listitem\">\n <button\n class={{\n 'bq-step-item': true,\n [`bq-step-item--${this.status}`]: true,\n 'pointer-events-none opacity-60': this.isDisabled,\n }}\n disabled={this.isDisabled}\n onBlur={this.handleBlur}\n onClick={this.handleClick}\n onFocus={this.handleFocus}\n aria-current={this.isCurrent ? 'step' : undefined}\n type=\"button\"\n part=\"base\"\n >\n <div class={`bq-step-item__prefix relative ${this.type} ${this.size} ${this.status}`}>\n <slot name=\"prefix\" onSlotchange={this.handleIconPrefix} />\n </div>\n <div class=\"bq-step-item__content items-start text-start\">\n {/* TITLE */}\n <div\n class={{\n 'bq-step-item__content--title pe-xs3 text-m text-primary leading-regular': true,\n 'pointer-events-none': this.isDisabled,\n 'text-brand': this.isCurrent,\n }}\n part=\"title\"\n >\n <slot />\n </div>\n {/* DESCRIPTION */}\n <div\n class={{\n 'bq-step-item__content--description text-s text-secondary leading-regular': true,\n 'opacity-60': this.isDisabled,\n }}\n part=\"description\"\n >\n <slot name=\"description\" />\n </div>\n </div>\n </button>\n {!this.isLast && (\n <bq-divider\n class={{\n '[&::part(base)]:self-start [&::part(base)]:p-m': true,\n '[&::part(base)]:p-s': isVertical && this.size === 'small',\n }}\n exportparts=\"base:divider-base,dash-start:divider-dash-start,dash-end:divider-dash-end\"\n orientation={this.orientation}\n strokeColor={this.dividerColor}\n strokeThickness={2}\n aria-hidden=\"true\"\n />\n )}\n </div>\n );\n }\n}\n"],"mappings":";;;;2MAAO,MAAMA,EAAmB,CAAC,UAAW,UAAW,YAAa,QAAS,YCA7E,MAAMC,EAAgB,IAAM,uhyB,MCyDfC,EAAU,M,4IAgBIC,aAAuB,kBAGvBC,OAAmB,MAGnBC,YAAkC,aAGlCC,KAAoB,SAGLC,OAA2B,UAG1CC,KAOzB,eAAAC,GACEC,EAAkBC,EAAmB,aAAcC,KAAKC,GAAI,eAC5DH,EAAkBI,EAAY,SAAUF,KAAKC,GAAI,QACjDH,EAAkBV,EAAkB,UAAWY,KAAKC,GAAI,UAExDD,KAAKG,kB,CAQEC,QAGAC,QAGAC,OAMT,iBAAAC,GACEP,KAAKH,iB,CAGP,iBAAAW,GACER,KAAKH,iB,CAGP,gBAAAY,GACET,KAAKG,kB,CAkBCO,YAAc,KACpBV,KAAKK,QAAQM,KAAKX,KAAKC,GAAG,EAGpBW,WAAa,KACnBZ,KAAKM,OAAOK,KAAKX,KAAKC,GAAG,EAGnBY,YAAcC,UACpB,GAAId,KAAKe,YAAcf,KAAKgB,UAAW,OAEvC,MAAMC,EAAajB,KAAKI,QAAQO,KAAKX,KAAKC,IAC1C,GAAIgB,EAAWC,iBAAkB,OAEjC,MAAMC,EAAcnB,KAAKC,GAAGmB,QAAQ,YACpC,IAAKD,EAAa,aAEZA,EAAYE,mBAAmBrB,KAAKC,GAAG,EAGvCE,iBAAmB,KACzB,MAAMmB,EAAWtB,KAAKC,GAAGsB,cAAc,mBACvC,IAAKD,IAAaE,EAAcF,EAAU,WAAY,OAEtDA,EAAS5B,KAAOM,KAAKN,OAAS,QAAU,GAAK,EAAE,EAGjD,cAAYqB,GACV,OAAOf,KAAKL,SAAW,U,CAGzB,aAAYqB,GACV,OAAOhB,KAAKL,SAAW,S,CAOzB,MAAA8B,GACE,MAAMC,EAAa1B,KAAKP,cAAgB,WAExC,OACEkC,EAAK,OAAAC,MAAO,CAAE,cAAe,KAAM,YAAaF,EAAY,WAAYA,GAAcG,KAAK,WAAUC,SAAA,CACnGH,EACE,UAAAC,MAAO,CACL,eAAgB,KAChB,CAAC,iBAAiB5B,KAAKL,UAAW,KAClC,iCAAkCK,KAAKe,YAEzCgB,SAAU/B,KAAKe,WACfiB,OAAQhC,KAAKY,WACbqB,QAASjC,KAAKa,YACdqB,QAASlC,KAAKU,YAAW,eACXV,KAAKgB,UAAY,OAASmB,UACxCvC,KAAK,SACLwC,KAAK,OAELN,SAAA,CAAAO,EAAA,OAAKT,MAAO,iCAAiC5B,KAAKJ,QAAQI,KAAKN,QAAQM,KAAKL,SAAQmC,SAClFO,EAAM,QAAAC,KAAK,SAASC,aAAcvC,KAAKG,kBAAgB,6CACnD,4CACNwB,SAAKC,MAAM,+CAETE,SAAA,CAAAO,EAAA,OACET,MAAO,CACL,0EAA2E,KAC3E,sBAAuB5B,KAAKe,WAC5B,aAAcf,KAAKgB,WAErBoB,KAAK,QAAON,SAEZO,yDACI,4CAENA,EACE,OAAAT,MAAO,CACL,2EAA4E,KAC5E,aAAc5B,KAAKe,YAErBqB,KAAK,cAAaN,SAElBO,UAAMC,KAAK,eAAgB,2FACvB,8CAED,6CACPtC,KAAKR,QACL6C,EACE,cAAAT,MAAO,CACL,iDAAkD,KAClD,sBAAuBF,GAAc1B,KAAKN,OAAS,SAErD8C,YAAY,4EACZ/C,YAAaO,KAAKP,YAClBgD,YAAazC,KAAKT,aAClBmD,gBAAiB,EACL,sBACZ,8CAEA,2C","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Built by Endavans
3
+ * © https://beeq.design - Apache 2 License.
4
+ */
5
+ import{r as a,a as r}from"./p-BIw6Ac7W.js";import{a as b}from"./p-C33fRBEf.js";import{v as e}from"./p-zh4P02Kn.js";import{S as q,a as n,b as t}from"./p-BRMw_HGf.js";const i=()=>`.transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}::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}.box-border{box-sizing:border-box}.flex{display:flex}.inline-flex{display:inline-flex}.bs-full{block-size:100%}@-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-steps--divider-color:var(--bq-ui--secondary);--bq-steps--gap:var(--bq-spacing-m);box-sizing:border-box;display:inline-flex}:host([orientation=vertical]){block-size:100%;display:flex}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.static{position:static}.relative{position:relative}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.is-full{inline-size:100%}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}`;const o=class{constructor(r){a(this,r)}stepElem;get el(){return r(this)}dividerColor="stroke--primary";orientation="horizontal";size="medium";type;checkPropValues(){e(q,"horizontal",this.el,"orientation");e(n,"medium",this.el,"size");e(t,"numeric",this.el,"type");this.setStepItemProps()}componentDidLoad(){this.setStepItemProps()}async setCurrentStepItem(a){const r=this.bqSteps.find((a=>a.status==="current"));if(r)r.status="default";a.status="current"}get bqSteps(){if(!this.stepElem)return[];const a=this.stepElem.querySelector("slot");return[...a.assignedElements({flatten:true})].filter((a=>a.tagName.toLowerCase()==="bq-step-item"))}setStepItemProps=()=>{this.bqSteps.forEach((a=>{a.isLast=a===this.lastStepItem;a.dividerColor=this.dividerColor;a.orientation=this.orientation;a.size=this.size;a.type=this.type}))};get lastStepItem(){return this.bqSteps.at(-1)}render(){return b("div",{class:{"relative inline-flex items-start justify-between":true,"is-full flex-row":this.orientation==="horizontal","bs-full flex-col":this.orientation==="vertical"},part:"container",role:"list",ref:a=>{this.stepElem=a},children:b("slot",{},"46f8a80293d60735b8b159028276f4c55d1c1d52")},"c3a4c2006ff09a4e7087e71c03e6f4aabc9ad1e6")}static get watchers(){return{dividerColor:[{checkPropValues:0}],orientation:[{checkPropValues:0}],type:[{checkPropValues:0}],size:[{checkPropValues:0}]}}};o.style=i();export{o as bq_steps};
6
+ //# sourceMappingURL=p-258e890f.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["bqStepsCss","BqSteps","stepElem","dividerColor","orientation","size","type","checkPropValues","validatePropValue","STEPS_ORIENTATION","this","el","STEPS_SIZE","STEPS_TYPE","setStepItemProps","componentDidLoad","setCurrentStepItem","newCurrentStep","currentStep","bqSteps","find","step","status","slot","querySelector","assignedElements","flatten","filter","tagName","toLowerCase","forEach","bqStepElem","isLast","lastStepItem","at","render","_jsx","class","part","role","ref","div","children"],"sources":["../../packages/beeq/src/components/steps/scss/bq-steps.scss?tag=bq-steps&encapsulation=shadow","../../packages/beeq/src/components/steps/bq-steps.tsx"],"sourcesContent":["/* -------------------------------------------------------------------------- */\n/* Steps styles */\n/* -------------------------------------------------------------------------- */\n\n@import './bq-steps.variables';\n\n:host {\n @apply box-border inline-flex;\n}\n\n:host([orientation='vertical']) {\n @apply flex bs-full;\n}\n","import { Component, Element, Method, Prop, Watch } from '@stencil/core';\n\nimport { validatePropValue } from '../../shared/utils';\nimport type { TStepsOrientation, TStepsSize, TStepsType } from './bq-steps.types';\nimport { STEPS_ORIENTATION, STEPS_SIZE, STEPS_TYPE } from './bq-steps.types';\n\n/**\n * The Steps Component is a UI element used to display a series of steps or stages in a process or task.\n * It is used to guide users through a process or task and to indicate their progress.\n *\n * @example How to use it\n * ```html\n * <bq-steps divider-color=\"stroke--primary\" type=\"dot\" size=\"medium\">\n * <bq-step-item status=\"completed\"> ... </bq-step-item>\n * <bq-step-item status=\"error\"> ... </bq-step-item>\n * <bq-step-item status=\"current\"> ... </bq-step-item>\n * <bq-step-item status=\"default\"> ... </bq-step-item>\n * </bq-steps>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/896b66-stepper\n * @status stable\n *\n * @dependency bq-divider\n *\n * @attr {string} divider-color - The color of the line that connects the steps. It should be a valid declarative color token.\n * @attr {\"horizontal\" | \"vertical\"} orientation - The orientation of the steps\n * @attr {\"medium\" | \"small\"} size - The size of the steps\n * @attr {\"numeric\" | \"icon\" | \"dot\"} type - The type of prefix element to use on the step items\n *\n * @slot - The step items\n *\n * @part container - The container wrapper of the Steps component\n * @part divider-base - The base wrapper of the divider component\n * @part divider-dash-start - The dash start wrapper of the divider component\n * @part divider-dash-end - The dash end wrapper of the divider component\n *\n * @cssprop --bq-steps--divider-color - Divider color\n * @cssprop --bq-steps--gap - Gap between steps\n */\n@Component({\n tag: 'bq-steps',\n styleUrl: './scss/bq-steps.scss',\n shadow: true,\n})\nexport class BqSteps {\n // Own Properties\n // ====================\n\n private stepElem: HTMLElement;\n\n // Reference to host HTML element\n // ===================================\n\n @Element() el!: HTMLBqStepsElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n // Public Property API\n // ========================\n\n /** The color of the line that connects the steps. It should be a valid declarative color token. */\n @Prop({ reflect: true }) dividerColor: string = 'stroke--primary';\n\n /** The orientation of the steps */\n @Prop({ reflect: true }) orientation: TStepsOrientation = 'horizontal';\n\n /** The size of the steps */\n @Prop({ reflect: true }) size: TStepsSize = 'medium';\n\n /** The type of prefix element to use on the step items */\n @Prop({ reflect: true }) type: TStepsType;\n\n // Prop lifecycle events\n // =======================\n\n @Watch('dividerColor')\n @Watch('orientation')\n @Watch('type')\n @Watch('size')\n checkPropValues() {\n validatePropValue(STEPS_ORIENTATION, 'horizontal', this.el, 'orientation');\n validatePropValue(STEPS_SIZE, 'medium', this.el, 'size');\n validatePropValue(STEPS_TYPE, 'numeric', this.el, 'type');\n\n this.setStepItemProps();\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 componentDidLoad() {\n this.setStepItemProps();\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 /**\n * Set the current step item.\n * @param newCurrentStep - The step item to set as current.\n */\n @Method()\n async setCurrentStepItem(newCurrentStep: HTMLBqStepItemElement): Promise<void> {\n // Ideally, only one step item should be current.\n // So we change the status of the current step item to default.\n const currentStep = this.bqSteps.find((step: HTMLBqStepItemElement) => step.status === 'current');\n if (currentStep) currentStep.status = 'default';\n // And then we set the status of the new current step item to current.\n newCurrentStep.status = 'current';\n }\n\n // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n private get bqSteps(): HTMLBqStepItemElement[] {\n if (!this.stepElem) return [];\n\n const slot = this.stepElem.querySelector('slot');\n return [...slot.assignedElements({ flatten: true })].filter(\n (el: HTMLBqStepItemElement) => el.tagName.toLowerCase() === 'bq-step-item',\n ) as [HTMLBqStepItemElement];\n }\n\n private setStepItemProps = () => {\n this.bqSteps.forEach((bqStepElem: HTMLBqStepItemElement) => {\n bqStepElem.isLast = bqStepElem === this.lastStepItem;\n bqStepElem.dividerColor = this.dividerColor;\n bqStepElem.orientation = this.orientation;\n bqStepElem.size = this.size;\n bqStepElem.type = this.type;\n });\n };\n\n private get lastStepItem(): HTMLBqStepItemElement | undefined {\n return this.bqSteps.at(-1);\n }\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n return (\n <div\n class={{\n 'relative inline-flex items-start justify-between': true,\n 'is-full flex-row': this.orientation === 'horizontal',\n 'bs-full flex-col': this.orientation === 'vertical',\n }}\n part=\"container\"\n role=\"list\"\n ref={(div) => {\n this.stepElem = div;\n }}\n >\n <slot />\n </div>\n );\n }\n}\n"],"mappings":";;;;qKAAA,MAAMA,EAAa,IAAM,2xnB,MC6CZC,EAAO,M,yBAIVC,S,wBAeiBC,aAAuB,kBAGvBC,YAAiC,aAGjCC,KAAmB,SAGnBC,KASzB,eAAAC,GACEC,EAAkBC,EAAmB,aAAcC,KAAKC,GAAI,eAC5DH,EAAkBI,EAAY,SAAUF,KAAKC,GAAI,QACjDH,EAAkBK,EAAY,UAAWH,KAAKC,GAAI,QAElDD,KAAKI,kB,CAUP,gBAAAC,GACEL,KAAKI,kB,CAkBP,wBAAME,CAAmBC,GAGvB,MAAMC,EAAcR,KAAKS,QAAQC,MAAMC,GAAgCA,EAAKC,SAAW,YACvF,GAAIJ,EAAaA,EAAYI,OAAS,UAEtCL,EAAeK,OAAS,S,CAQ1B,WAAYH,GACV,IAAKT,KAAKR,SAAU,MAAO,GAE3B,MAAMqB,EAAOb,KAAKR,SAASsB,cAAc,QACzC,MAAO,IAAID,EAAKE,iBAAiB,CAAEC,QAAS,QAASC,QAClDhB,GAA8BA,EAAGiB,QAAQC,gBAAkB,gB,CAIxDf,iBAAmB,KACzBJ,KAAKS,QAAQW,SAASC,IACpBA,EAAWC,OAASD,IAAerB,KAAKuB,aACxCF,EAAW5B,aAAeO,KAAKP,aAC/B4B,EAAW3B,YAAcM,KAAKN,YAC9B2B,EAAW1B,KAAOK,KAAKL,KACvB0B,EAAWzB,KAAOI,KAAKJ,IAAI,GAC3B,EAGJ,gBAAY2B,GACV,OAAOvB,KAAKS,QAAQe,IAAG,E,CAOzB,MAAAC,GACE,OACEC,EACE,OAAAC,MAAO,CACL,mDAAoD,KACpD,mBAAoB3B,KAAKN,cAAgB,aACzC,mBAAoBM,KAAKN,cAAgB,YAE3CkC,KAAK,YACLC,KAAK,OACLC,IAAMC,IACJ/B,KAAKR,SAAWuC,CAAG,EAGrBC,SAAAN,EAAA,uDACI,2C","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Built by Endavans
3
+ * © https://beeq.design - Apache 2 License.
4
+ */
5
+ import{r,c as a,a as b,d as e}from"./p-BIw6Ac7W.js";import{a as n,j as q}from"./p-C33fRBEf.js";const i=()=>`.transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}::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}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.relative{position:relative}.box-border{box-sizing:border-box}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.items-center{align-items:center}.justify-center{justify-content:center}.gap-2{gap:.5rem}.rounded-full{border-radius:var(--bq-radius--full)}.rounded-s{border-radius:var(--bq-radius--s)}.border-\\[length\\:--bq-radio--border-width\\]{border-width:var(--bq-radio--border-width)}.border-solid{border-style:solid}.border-icon-brand{border-color:var(--bq-icon--brand)}.bg-ui-brand{background-color:var(--bq-ui--brand)}.font-medium{font-weight:var(--bq-font-weight--medium)}.leading-regular{line-height:var(--bq-font-line-height--regular)}.text-primary{color:var(--bq-text--primary)}.opacity-60{opacity:.6}.transition-\\[background-color\\]{transition-duration:.15s;transition-property:background-color;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-\\[color\\2c background-color\\2c border-color\\2c box-shadow\\]{transition-duration:.15s;transition-property:color,background-color,border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.bg-hover-ui-primary{background-color:color-mix(in srgb,var(--bq-ui--primary),var(--bq-hover) 20%)}.border-hover-icon-brand{border-color:color-mix(in srgb,var(--bq-icon--brand),var(--bq-hover) 20%)}.border-hover-icon-primary{border-color:color-mix(in srgb,var(--bq-icon--primary),var(--bq-hover) 20%)}.bs-\\[--bq-radio--size\\]{block-size:var(--bq-radio--size)}.bs-full{block-size:100%}.is-\\[--bq-radio--size\\]{inline-size:var(--bq-radio--size)}.is-full{inline-size:100%}.p-b-\\[2px\\]{padding-block:2px}.p-b-\\[3px\\]{padding-block:3px}.p-b-xs{padding-block:var(--bq-spacing-xs)}.p-i-\\[2px\\]{padding-inline:2px}.p-i-\\[3px\\]{padding-inline:3px}.p-i-xs{padding-inline:var(--bq-spacing-xs)}.focus{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}@-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-radio--size:24px;--bq-radio--border-width:var(--bq-stroke-m);display:inline-block}.bq-radio{align-items:center;border-radius:var(--bq-radius--s);box-sizing:border-box;cursor:pointer;display:inline-flex;gap:.5rem;justify-content:center;padding-block:var(--bq-spacing-xs);padding-inline:var(--bq-spacing-xs);transition-duration:.3s;transition-property:background-color;transition-timing-function:cubic-bezier(.4,0,.2,1)}.bq-radio.is-disabled{cursor:not-allowed;opacity:.6}.bq-radio.is-disabled.is-checked .bq-radio__circle{border-color:var(--bq-icon--brand)}.bq-radio.is-disabled.is-checked .bq-radio__checked{background-color:var(--bq-ui--brand)}.bq-radio.has-background:not(.is-disabled):hover{background-color:color-mix(in srgb,var(--bq-ui--primary),var(--bq-hover) 20%)}.bq-radio.is-checked:not(.is-disabled) .bq-radio__circle{border-color:var(--bq-icon--brand)}.bq-radio.is-checked:not(.is-disabled) .bq-radio__checked{background-color:var(--bq-ui--brand)}.bq-radio.is-checked:not(.is-disabled):hover .bq-radio__checked,.bq-radio.is-checked:not(.is-disabled):hover .bq-radio__circle,.bq-radio:not(.is-disabled):hover .bq-radio__circle{border-color:color-mix(in srgb,var(--bq-icon--brand),var(--bq-hover) 20%)}.bq-radio__input{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.bq-radio__input:focus-visible~.bq-radio__circle{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}.bq-radio__control{block-size:var(--bq-radio--size);inline-size:var(--bq-radio--size);padding-block:2px;padding-inline:2px}.bq-radio__circle,.bq-radio__control{align-items:center;border-radius:var(--bq-radius--full);box-sizing:border-box;display:flex;justify-content:center}.bq-radio__circle{block-size:100%;border-color:color-mix(in srgb,var(--bq-icon--primary),var(--bq-hover) 20%);border-style:solid;border-width:var(--bq-radio--border-width);inline-size:100%;padding-block:3px;padding-inline:3px;position:relative}.bq-radio__checked{block-size:100%;border-radius:var(--bq-radius--full);inline-size:100%}.bq-radio__label{color:var(--bq-text--primary);font-weight:var(--bq-font-weight--medium);line-height:var(--bq-font-line-height--regular)}.bq-radio__checked,.bq-radio__circle,.bq-radio__label{transition-duration:.3s;transition-property:color,background-color,border-color,box-shadow;transition-timing-function:cubic-bezier(.4,0,.2,1)}.blur{--tw-blur:blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.static{position:static}`;const t=class{constructor(b){r(this,b);this.bqClick=a(this,"bqClick");this.bqFocus=a(this,"bqFocus");this.bqBlur=a(this,"bqBlur");this.bqKeyDown=a(this,"bqKeyDown")}inputElement;get el(){return b(this)}backgroundOnHover=false;checked=false;disabled=false;forceDisabled=false;formId;name;required;value;bqClick;bqFocus;bqBlur;bqKeyDown;async vClick(){this.inputElement?.click()}async vFocus(){this.inputElement?.focus()}async vBlur(){this.inputElement?.blur()}async getNativeInput(){return this.inputElement}handleClick=r=>{r.preventDefault();if(this.disabled)return;const a=this.bqClick.emit({value:this.value,target:this.el});if(a.defaultPrevented){r.stopImmediatePropagation()}};handleOnFocus=()=>{this.bqFocus.emit(this.el)};handleOnBlur=()=>{this.bqBlur.emit(this.el)};handleOnKeyDown=r=>{this.bqKeyDown.emit({key:r.key,target:this.el})};get isDisabled(){return this.disabled||this.forceDisabled}render(){return n(e,{children:q("label",{class:{"bq-radio group":true,"is-disabled":this.isDisabled,"is-checked":this.checked,"has-background":this.backgroundOnHover},part:"base",children:[q("div",{class:"bq-radio__control",children:[n("input",{"aria-checked":this.checked?"true":"false","aria-disabled":this.isDisabled?"true":"false","aria-labelledby":"bq-radio__label",checked:this.checked,class:"bq-radio__input",disabled:this.isDisabled,form:this.formId,name:this.name,onBlur:this.handleOnBlur,onClick:this.handleClick,onFocus:this.handleOnFocus,onKeyDown:this.handleOnKeyDown,part:"input",ref:r=>{this.inputElement=r},required:this.required,type:"radio",value:this.value},"f66c4b4c9f6198ce9633427d72aa53633cf0a755"),n("div",{class:"bq-radio__circle",part:"radio",children:n("div",{class:"bq-radio__checked"},"5ec3e348bfa8b603d985706ab461a7efd21fb486")},"b96eb2344583b5d863ecb5826454e3013677c345")]},"08e24ae8593a75299931e672f968b7c03322080b"),n("span",{class:"bq-radio__label group-hover:text-text-primary-hover group-[.is-disabled]:text-text-primary-disabled",part:"label",children:n("slot",{id:"bq-radio__label"},"79d783632d8c11da457b4ec343999bcc2d8b7bb2")},"1f8d0690de7c18068a32b314bb40dad2be46f953")]},"0df6f0b244d4d87d794ac71090fbccd98d5b8eb0")},"2d1547345897731128ca2bf8260d19346fddfc48")}static get delegatesFocus(){return true}};t.style=i();export{t as bq_radio};
6
+ //# sourceMappingURL=p-28c6cdbc.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["bqRadioCss","BqRadio","inputElement","backgroundOnHover","checked","disabled","forceDisabled","formId","name","required","value","bqClick","bqFocus","bqBlur","bqKeyDown","vClick","this","click","vFocus","focus","vBlur","blur","getNativeInput","handleClick","event","preventDefault","bqClickEvent","emit","target","el","defaultPrevented","stopImmediatePropagation","handleOnFocus","handleOnBlur","handleOnKeyDown","key","isDisabled","render","_jsx","Host","children","_jsxs","class","part","form","onBlur","onClick","onFocus","onKeyDown","ref","element","type","id"],"sources":["../../packages/beeq/src/components/radio/scss/bq-radio.scss?tag=bq-radio&encapsulation=shadow","../../packages/beeq/src/components/radio/bq-radio.tsx"],"sourcesContent":["/* -------------------------------------------------------------------------- */\n/* Radio styles */\n/* -------------------------------------------------------------------------- */\n\n@import './bq-radio.variables';\n\n:host {\n @apply inline-block;\n}\n\n.bq-radio {\n @apply box-border inline-flex cursor-pointer items-center justify-center gap-2 transition-[background-color] duration-300;\n @apply rounded-s p-b-xs p-i-xs;\n\n &.is-disabled {\n @apply cursor-not-allowed opacity-60;\n\n &.is-checked .bq-radio__circle {\n @apply border-icon-brand;\n }\n\n &.is-checked .bq-radio__checked {\n @apply bg-ui-brand;\n }\n }\n\n &.has-background:not(.is-disabled):hover {\n @apply bg-hover-ui-primary;\n }\n\n &.is-checked:not(.is-disabled) {\n .bq-radio__circle {\n @apply border-icon-brand;\n }\n\n .bq-radio__checked {\n @apply bg-ui-brand;\n }\n }\n\n &:not(.is-disabled):hover .bq-radio__circle {\n @apply border-hover-icon-brand;\n }\n\n &.is-checked:not(.is-disabled):hover {\n .bq-radio__checked,\n .bq-radio__circle {\n @apply border-hover-icon-brand;\n }\n }\n}\n\n.bq-radio__input {\n @apply sr-only;\n\n &:focus-visible {\n ~ .bq-radio__circle {\n @apply focus;\n }\n }\n}\n\n.bq-radio__control {\n @apply box-border flex items-center justify-center rounded-full bs-[--bq-radio--size] is-[--bq-radio--size] p-b-[2px] p-i-[2px];\n}\n\n.bq-radio__circle {\n @apply relative box-border flex items-center justify-center rounded-full border-[length:--bq-radio--border-width] border-solid border-hover-icon-primary bs-full is-full p-b-[3px] p-i-[3px];\n}\n\n.bq-radio__checked {\n @apply rounded-full bs-full is-full;\n}\n\n.bq-radio__label {\n @apply font-medium leading-regular text-primary;\n}\n\n.bq-radio__circle,\n.bq-radio__checked,\n.bq-radio__label {\n @apply transition-[color,background-color,border-color,box-shadow] duration-300;\n}\n","import type { EventEmitter } from '@stencil/core';\nimport { Component, Element, Event, Host, Method, Prop } from '@stencil/core';\n\n/**\n * The radio button is a user interface element that allows users to select a single option.\n *\n * @example How to use it\n * ```html\n * <bq-radio value=\"option1\">Radio option 1</bq-radio>\n * ```\n *\n * @documentation https://www.beeq.design/3d466e231/p/9718e1-radio-button/b/09d7b1\n * @status stable\n *\n * @attr {boolean} background-on-hover - If `true`, the radio displays background on hover\n * @attr {boolean} checked - If `true` radio input is checked\n * @attr {boolean} disabled - If `true` radio input is disabled\n * @attr {string} form-id - The form ID that the radio input is associated with\n * @attr {string} name - Name of the HTML input form control. Submitted with the form as part of a name/value pair\n * @attr {boolean} required - If `true`, it will indicate that the user must specify a value for the radio before the owning form can be submitted\n * @attr {boolean} value - A string representing the value of the radio\n *\n * @method vClick - Simulate a click event on the native `<input>` HTML element used under the hood\n * @method vFocus - Sets focus on the native `<input>` HTML element used under the hood\n * @method vBlur - Remove focus from the native `<input>` HTML element used under the hood\n * @method getNativeInput - Returns the native `<input>` HTML element used under the hood\n *\n * @event bqBlur - Handler to be called when the radio loses focus\n * @event bqClick - Handler to be called when the radio state changes\n * @event bqFocus - Handler to be called when the radio gets focused\n * @event bqKeyDown - The handler is to be called when the radio key is pressed\n *\n * @slot - The bq-radio item\n *\n * @part base - The component's internal wrapper of the radio component.\n * @part input - The native HTML `<input type=\"radio\">` used under the hood.\n * @part radio - The component's internal wrapper of the radio component.\n * @part label - The `<span>` element that holds the text content.\n *\n * @cssprop --bq-radio--size - Radio size\n * @cssprop --bq-radio--border-width - Radio border width\n */\n@Component({\n tag: 'bq-radio',\n styleUrl: './scss/bq-radio.scss',\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class BqRadio {\n // Own Properties\n // ====================\n private inputElement: HTMLInputElement;\n\n // Reference to host HTML element\n // ===================================\n\n @Element() el!: HTMLBqRadioElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n // Public Property API\n // ========================\n\n /** If true radio displays background on hover */\n @Prop({ reflect: true }) backgroundOnHover = false;\n\n /** If true radio input is checked */\n @Prop({ reflect: true, mutable: true }) checked = false;\n\n /** If true radio input is disabled */\n @Prop({ reflect: true }) disabled = false;\n\n /** @internal Used by the radio-group parent component to force the disabled state of the radio input */\n @Prop({ reflect: true }) forceDisabled = false;\n\n /** The form ID that the radio input is associated with */\n @Prop({ reflect: true }) formId?: string;\n\n /** Name of the HTML input form control. Submitted with the form as part of a name/value pair. */\n @Prop({ reflect: true }) name!: string;\n\n /** If `true`, it will indicate that the user must specify a value for the radio before the owning form can be submitted */\n @Prop({ reflect: true }) required?: boolean;\n\n /** A string representing the value of the radio. */\n @Prop({ reflect: true }) value!: string;\n\n // Prop lifecycle events\n // =======================\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n /** Handler to be called when the radio state changes */\n @Event() bqClick: EventEmitter<{ value: string; target: HTMLBqRadioElement }>;\n\n /** Handler to be called when the radio gets focus */\n @Event() bqFocus: EventEmitter<HTMLBqRadioElement>;\n\n /** Handler to be called when the radio loses focus */\n @Event() bqBlur: EventEmitter<HTMLBqRadioElement>;\n\n /** Handler to be called when the radio key is pressed */\n @Event() bqKeyDown: EventEmitter<{ key: string; target: HTMLBqRadioElement }>;\n\n // Component lifecycle events\n // Ordered by their natural call order\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 /**\n * Simulate a click event on the native `<input>` HTML element used under the hood.\n * Use this method instead of the global `element.click()`.\n */\n @Method()\n async vClick() {\n this.inputElement?.click();\n }\n\n /**\n * Sets focus on the native `<input>` HTML element used under the hood.\n * Use this method instead of the global `element.focus()`.\n */\n @Method()\n async vFocus() {\n this.inputElement?.focus();\n }\n\n /**\n * Remove focus from the native `<input>` HTML element used under the hood.\n * Use this method instead of the global `element.blur()`.\n */\n @Method()\n async vBlur() {\n this.inputElement?.blur();\n }\n\n /**\n * Returns the native `<input>` HTML element used under the hood.\n */\n @Method()\n async getNativeInput() {\n return this.inputElement;\n }\n\n // Local methods\n // Internal business logic.\n // These methods cannot be called from the host element.\n // =======================================================\n\n private handleClick = (event: MouseEvent) => {\n // Prevent the native input click default behavior\n event.preventDefault();\n if (this.disabled) return;\n\n // Emit the event without changing state\n // Let the radio-group handle all state management and event propagation\n const bqClickEvent = this.bqClick.emit({ value: this.value, target: this.el });\n if (bqClickEvent.defaultPrevented) {\n event.stopImmediatePropagation();\n }\n };\n\n private handleOnFocus = () => {\n this.bqFocus.emit(this.el);\n };\n\n private handleOnBlur = () => {\n this.bqBlur.emit(this.el);\n };\n\n private handleOnKeyDown = (event: KeyboardEvent) => {\n this.bqKeyDown.emit({ key: event.key, target: this.el });\n };\n\n private get isDisabled() {\n return this.disabled || this.forceDisabled;\n }\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n return (\n <Host>\n <label\n class={{\n 'bq-radio group': true,\n 'is-disabled': this.isDisabled,\n 'is-checked': this.checked,\n 'has-background': this.backgroundOnHover,\n }}\n part=\"base\"\n >\n <div class=\"bq-radio__control\">\n <input\n aria-checked={this.checked ? 'true' : 'false'}\n aria-disabled={this.isDisabled ? 'true' : 'false'}\n aria-labelledby=\"bq-radio__label\"\n checked={this.checked}\n class=\"bq-radio__input\"\n disabled={this.isDisabled}\n form={this.formId}\n name={this.name}\n onBlur={this.handleOnBlur}\n onClick={this.handleClick}\n onFocus={this.handleOnFocus}\n onKeyDown={this.handleOnKeyDown}\n part=\"input\"\n ref={(element) => {\n this.inputElement = element;\n }}\n required={this.required}\n type=\"radio\"\n value={this.value}\n />\n <div class=\"bq-radio__circle\" part=\"radio\">\n <div class=\"bq-radio__checked\" />\n </div>\n </div>\n <span\n class=\"bq-radio__label group-hover:text-text-primary-hover group-[.is-disabled]:text-text-primary-disabled\"\n part=\"label\"\n >\n <slot id=\"bq-radio__label\"></slot>\n </span>\n </label>\n </Host>\n );\n }\n}\n"],"mappings":";;;;+FAAA,MAAMA,EAAa,IAAM,4lvB,MCiDZC,EAAO,M,uJAGVC,a,wBAeiBC,kBAAoB,MAGLC,QAAU,MAGzBC,SAAW,MAGXC,cAAgB,MAGhBC,OAGAC,KAGAC,SAGAC,MAUhBC,QAGAC,QAGAC,OAGAC,UAqBT,YAAMC,GACJC,KAAKd,cAAce,O,CAQrB,YAAMC,GACJF,KAAKd,cAAciB,O,CAQrB,WAAMC,GACJJ,KAAKd,cAAcmB,M,CAOrB,oBAAMC,GACJ,OAAON,KAAKd,Y,CAQNqB,YAAeC,IAErBA,EAAMC,iBACN,GAAIT,KAAKX,SAAU,OAInB,MAAMqB,EAAeV,KAAKL,QAAQgB,KAAK,CAAEjB,MAAOM,KAAKN,MAAOkB,OAAQZ,KAAKa,KACzE,GAAIH,EAAaI,iBAAkB,CACjCN,EAAMO,0B,GAIFC,cAAgB,KACtBhB,KAAKJ,QAAQe,KAAKX,KAAKa,GAAG,EAGpBI,aAAe,KACrBjB,KAAKH,OAAOc,KAAKX,KAAKa,GAAG,EAGnBK,gBAAmBV,IACzBR,KAAKF,UAAUa,KAAK,CAAEQ,IAAKX,EAAMW,IAAKP,OAAQZ,KAAKa,IAAK,EAG1D,cAAYO,GACV,OAAOpB,KAAKX,UAAYW,KAAKV,a,CAO/B,MAAA+B,GACE,OACEC,EAACC,EACC,CAAAC,SAAAC,EAAA,SACEC,MAAO,CACL,iBAAkB,KAClB,cAAe1B,KAAKoB,WACpB,aAAcpB,KAAKZ,QACnB,iBAAkBY,KAAKb,mBAEzBwC,KAAK,OAAMH,SAAA,CAEXC,SAAKC,MAAM,oBACTF,SAAA,CAAAF,EAAA,wBACgBtB,KAAKZ,QAAU,OAAS,QACvB,gBAAAY,KAAKoB,WAAa,OAAS,QAC1B,oCAChBhC,QAASY,KAAKZ,QACdsC,MAAM,kBACNrC,SAAUW,KAAKoB,WACfQ,KAAM5B,KAAKT,OACXC,KAAMQ,KAAKR,KACXqC,OAAQ7B,KAAKiB,aACba,QAAS9B,KAAKO,YACdwB,QAAS/B,KAAKgB,cACdgB,UAAWhC,KAAKkB,gBAChBS,KAAK,QACLM,IAAMC,IACJlC,KAAKd,aAAegD,CAAO,EAE7BzC,SAAUO,KAAKP,SACf0C,KAAK,QACLzC,MAAOM,KAAKN,OAAK,4CAEnB4B,EAAA,OAAKI,MAAM,mBAAmBC,KAAK,QAAOH,SACxCF,EAAK,OAAAI,MAAM,qBAAsB,2FAC7B,4CAERJ,EAAA,QACEI,MAAM,sGACNC,KAAK,QAELH,SAAAF,EAAA,QAAMc,GAAG,mBAAiB,6CACrB,2FAEJ,2C","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ /*!
2
+ * Built by Endavans
3
+ * © https://beeq.design - Apache 2 License.
4
+ */
5
+ import{r as a,c as e,a as r}from"./p-BIw6Ac7W.js";import{j as b,a as n}from"./p-C33fRBEf.js";import{a as t}from"./p-uqkxeAeG.js";const i=()=>`.bq-side-menu__item--label,.bq-side-menu__item--suffix,.scale-0,.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}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.flex{display:flex}.flex-grow{flex-grow:1}.scale-0{--tw-scale-x:0;--tw-scale-y:0}.scale-0,.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))}.items-center{align-items:center}.justify-center{justify-content:center}.gap-0{gap:0}.gap-x-s{column-gap:var(--bq-spacing-s)}.rounded-s{border-radius:var(--bq-radius--s)}.border-none{border-style:none}.bg-\\[var\\(--bq-side-menu-item--bg-active\\)\\]{background-color:var(--bq-side-menu-item--bg-active)}.bg-\\[var\\(--bq-side-menu-item--bg-default\\)\\]{background-color:var(--bq-side-menu-item--bg-default)}.px-\\[var\\(--bq-side-menu-item--paddingX\\)\\]{padding-left:var(--bq-side-menu-item--paddingX);padding-right:var(--bq-side-menu-item--paddingX)}.py-\\[var\\(--bq-side-menu-item--paddingY\\)\\]{padding-bottom:var(--bq-side-menu-item--paddingY);padding-top:var(--bq-side-menu-item--paddingY)}.text-m{font-size:var(--bq-font-size--m)}.text-\\[color\\:var\\(--bq-side-menu-item--text-active\\)\\]{color:var(--bq-side-menu-item--text-active)}.text-\\[color\\:var\\(--bq-side-menu-item--text-default\\)\\]{color:var(--bq-side-menu-item--text-default)}.no-underline{text-decoration-line:none}.opacity-60{opacity:.6}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-300{transition-duration:.3s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@-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-side-menu-item--bg-default:transparent;--bq-side-menu-item--bg-active:var(--bq-ui--brand-alt);--bq-side-menu-item--text-default:var(--bq-text--primary);--bq-side-menu-item--text-active:var(--bq-text--brand);--bq-side-menu-item--paddingX:var(--bq-spacing-l);--bq-side-menu-item--paddingY:var(--bq-spacing-m);display:flex}.bq-side-menu__item{align-items:center;background-color:var(--bq-side-menu-item--bg-default);border-radius:var(--bq-radius--s);border-style:none;color:var(--bq-side-menu-item--text-default);column-gap:var(--bq-spacing-s);display:flex;flex-grow:1;font-size:var(--bq-font-size--m);padding:var(--bq-side-menu-item--paddingY) var(--bq-side-menu-item--paddingX);text-decoration-line:none;transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.bq-side-menu__item:focus-visible:not(.disabled){outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}.bq-side-menu__item:hover:not(.disabled){cursor:pointer}.bq-side-menu__item:hover:not(.disabled,.active){background-color:color-mix(in srgb,var(--bq-ui--alt),var(--bq-hover) 20%);color:color-mix(in srgb,var(--bq-text--primary),var(--bq-hover) 20%);font-size:var(--bq-font-size--m)}.bq-side-menu__item.active{background-color:var(--bq-side-menu-item--bg-active);color:var(--bq-side-menu-item--text-active);font-size:var(--bq-font-size--m)}.bq-side-menu__item.disabled{opacity:.6}.bq-side-menu__item.disabled:hover{cursor:not-allowed}.bq-side-menu__item.is-collapsed{gap:0;justify-content:center}.bq-side-menu__item.is-collapsed .bq-side-menu__item--label,.bq-side-menu__item.is-collapsed .bq-side-menu__item--suffix{clip:rect(0,0,0,0);--tw-scale-x:0;--tw-scale-y:0;border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;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));white-space:nowrap;width:1px}.bq-side-menu__item--label,.bq-side-menu__item--suffix{transition-duration:.3s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.\\[\\&\\:not\\(\\.disabled\\)\\]\\:focus-visible\\:focus:focus-visible:not(.disabled){outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}.hover\\:cursor-not-allowed:hover{cursor:not-allowed}.\\[\\&\\:not\\(\\.disabled\\2c \\.active\\)\\]\\:hover\\:text-m:hover:not(.disabled,.active){font-size:var(--bq-font-size--m)}.\\[\\&\\:not\\(\\.disabled\\2c \\.active\\)\\]\\:hover\\:bg-hover-ui-alt:hover:not(.disabled,.active){background-color:color-mix(in srgb,var(--bq-ui--alt),var(--bq-hover) 20%)}.collapse{visibility:collapse}.static{position:static}.ml-auto{margin-left:auto}.block{display:block}.hidden{display:none}.overflow-hidden{overflow:hidden}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.focus{outline:var(--bq-ring-width,2px) solid var(--bq-ring-color-focus,var(--bq-focus));outline-offset:var(--bq-ring-offset-width,1px)}.visible{visibility:visible}.fixed{position:fixed}.relative{position:relative}`;const q=class{constructor(r){a(this,r);this.bqBlur=e(this,"bqBlur");this.bqFocus=e(this,"bqFocus");this.bqClick=e(this,"bqClick")}labelElem;get el(){return r(this)}textContent;active=false;collapse=false;disabled=false;bqBlur;bqFocus;bqClick;componentDidLoad(){this.handleSlotChange()}handleSlotChange=()=>{if(!this.labelElem)return;this.textContent=t(this.labelElem.querySelector("slot"))};handleBlur=a=>{if(this.disabled){a.preventDefault();a.stopPropagation();return}this.bqBlur.emit(this.el)};handleFocus=a=>{if(this.disabled){a.preventDefault();a.stopPropagation();return}this.bqFocus.emit(this.el)};handleClick=a=>{if(this.disabled||this.active){a.preventDefault();a.stopPropagation();return}this.bqClick.emit(this.el)};menuItem=()=>b("button",{"aria-disabled":this.disabled?"true":"false",class:{"bq-side-menu__item":true,active:this.active,disabled:this.disabled,"is-collapsed":this.collapse},onBlur:this.handleBlur,onClick:this.handleClick,onFocus:this.handleFocus,part:"base",role:"menuitem",slot:"trigger",tabindex:this.disabled?-1:0,type:"button",children:[n("div",{class:"bq-side-menu__item--prefix flex items-center",part:"prefix",children:n("slot",{name:"prefix"})}),n("div",{class:"bq-side-menu__item--label overflow-hidden text-ellipsis whitespace-nowrap",ref:a=>{this.labelElem=a},children:n("slot",{onSlotchange:this.handleSlotChange})}),n("div",{class:"bq-side-menu__item--suffix ml-auto flex items-center",part:"suffix",children:n("slot",{name:"suffix"})})]});render(){return!this.collapse?this.menuItem():b("bq-tooltip",{class:"bq-side-menu__item--tooltip block",exportparts:"trigger, panel",placement:"right",children:[this.textContent,this.menuItem()]})}};q.style=i();export{q as bq_side_menu_item};
6
+ //# sourceMappingURL=p-3c491238.entry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["bqSideMenuItemCss","BqSideMenuItem","labelElem","textContent","active","collapse","disabled","bqBlur","bqFocus","bqClick","componentDidLoad","this","handleSlotChange","getTextContent","querySelector","handleBlur","ev","preventDefault","stopPropagation","emit","el","handleFocus","handleClick","menuItem","_jsxs","class","onBlur","onClick","onFocus","part","role","slot","tabindex","type","children","_jsx","name","ref","onSlotchange","render","exportparts","placement"],"sources":["../../packages/beeq/src/components/side-menu-item/scss/bq-side-menu-item.scss?tag=bq-side-menu-item&encapsulation=shadow","../../packages/beeq/src/components/side-menu-item/bq-side-menu-item.tsx"],"sourcesContent":["/* -------------------------------------------------------------------------- */\n/* Side menu item styles */\n/* -------------------------------------------------------------------------- */\n\n@import './bq-side-menu-item.variables';\n\n:host {\n @apply flex;\n}\n\n.bq-side-menu__item {\n @apply flex flex-grow items-center gap-x-s rounded-s border-none px-[var(--bq-side-menu-item--paddingX)] py-[var(--bq-side-menu-item--paddingY)] no-underline transition-colors duration-150;\n\n // Default state\n @apply bg-[var(--bq-side-menu-item--bg-default)] text-m text-[color:var(--bq-side-menu-item--text-default)];\n\n // Focus state\n @apply [&:not(.disabled)]:focus-visible:focus;\n\n // Hover state\n @apply [&:not(.disabled)]:hover:cursor-pointer;\n @apply [&:not(.disabled,.active)]:hover:text-m [&:not(.disabled,.active)]:hover:bg-hover-ui-alt [&:not(.disabled,.active)]:hover:text-hover-primary;\n}\n\n.bq-side-menu__item.active {\n // Active state\n @apply bg-[var(--bq-side-menu-item--bg-active)] text-m text-[color:var(--bq-side-menu-item--text-active)];\n}\n\n.bq-side-menu__item.disabled {\n @apply opacity-60 hover:cursor-not-allowed;\n}\n\n.bq-side-menu__item.is-collapsed {\n @apply justify-center gap-0;\n\n .bq-side-menu__item--label,\n .bq-side-menu__item--suffix {\n @apply sr-only scale-0;\n }\n}\n\n.bq-side-menu__item--label,\n.bq-side-menu__item--suffix {\n @apply transition-all duration-300 ease-in-out;\n}\n","import type { EventEmitter } from '@stencil/core';\nimport { Component, Element, Event, Prop, State } from '@stencil/core';\n\nimport { getTextContent } from '../../shared/utils';\n\n/**\n * Represents the default side menu item for standard navigation elements, providing a clean and straightforward way to display menu options.\n *\n * @example How to use it\n * ```html\n * <bq-side-menu-item>\n * <bq-icon name=\"star-four\" slot=\"prefix\"></bq-icon>\n * Menu item\n * <bq-badge slot=\"suffix\">5</bq-badge>\n * </bq-side-menu-item>\n * ```\n * @documentation https://www.beeq.design/3d466e231/p/99822d-side-menu/b/09d7b1\n * @status stable\n *\n * @dependency bq-tooltip\n *\n * @attr {boolean} active - If `true`, the menu item will be shown as active/selected.\n * @attr {boolean} collapse - If `true`, the item label and suffix will be hidden and the `width` will be reduced according to its parent.\n * @attr {boolean} disabled - If `true`, the menu item will be disabled (no interaction allowed).\n *\n * @event bqBlur - Handler to be called when the button loses focus.\n * @event bqClick - Handler to be called when the button gets focused.\n * @event bqFocus - Handler to be called when the button is clicked.\n *\n * @slot prefix - The prefix part of menu item.\n * @slot - The content of the menu item.\n * @slot suffix - The suffix part of menu item.\n *\n * @part base - The component wrapper container inside the shadow DOM\n * @part label - The label slot\n * @part prefix - The prefix slot\n * @part suffix - The suffix slot\n * @part panel - The `<div>` container that holds the tooltip content (when the side menu is collapsed)\n * @part trigger - The `<div>` container that holds the element which displays tooltip on hover (when the side menu is collapsed)\n *\n * @cssprop --bq-side-menu-item--bg-default - Side menu item default background color\n * @cssprop --bq-side-menu-item--bg-active - Side menu item active background color\n * @cssprop --bq-side-menu-item--text-default - Side menu item default text color\n * @cssprop --bq-side-menu-item--text-active - Side menu item active text color\n * @cssprop --bq-side-menu-item--paddingX - Side menu item vertical padding\n * @cssprop --bq-side-menu-item--paddingY - Side menu item horizontal padding\n */\n@Component({\n tag: 'bq-side-menu-item',\n styleUrl: './scss/bq-side-menu-item.scss',\n shadow: true,\n})\nexport class BqSideMenuItem {\n // Own Properties\n // ====================\n\n private labelElem: HTMLElement;\n\n // Reference to host HTML element\n // ===================================\n\n @Element() el!: HTMLBqSideMenuItemElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n @State() textContent: string;\n\n // Public Property API\n // ========================\n\n /** If true, the menu item will be shown as active/selected. */\n @Prop() active: boolean = false;\n\n /** If true, the item label and suffix will be hidden and the `width` will be reduced according to its parent. */\n @Prop() collapse: boolean = false;\n\n /** If true, the menu item will be disabled (no interaction allowed) */\n @Prop() disabled: boolean = false;\n\n // Prop lifecycle events\n // =======================\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n /** Handler to be called when the button loses focus */\n @Event() bqBlur: EventEmitter<HTMLBqSideMenuItemElement>;\n\n /** Handler to be called when the button is clicked */\n @Event() bqFocus: EventEmitter<HTMLBqSideMenuItemElement>;\n\n /** Handler to be called when button gets focus */\n @Event() bqClick: EventEmitter<HTMLBqSideMenuItemElement>;\n\n // Component lifecycle events\n // Ordered by their natural call order\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 if (!this.labelElem) return;\n this.textContent = getTextContent(this.labelElem.querySelector('slot'));\n };\n\n handleBlur = (ev: Event) => {\n if (this.disabled) {\n ev.preventDefault();\n ev.stopPropagation();\n return;\n }\n\n this.bqBlur.emit(this.el);\n };\n\n handleFocus = (ev: Event) => {\n if (this.disabled) {\n ev.preventDefault();\n ev.stopPropagation();\n return;\n }\n\n this.bqFocus.emit(this.el);\n };\n\n handleClick = (ev: Event) => {\n if (this.disabled || this.active) {\n ev.preventDefault();\n ev.stopPropagation();\n return;\n }\n\n this.bqClick.emit(this.el);\n };\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n private menuItem = () => (\n <button\n aria-disabled={this.disabled ? 'true' : 'false'}\n class={{\n 'bq-side-menu__item': true,\n active: this.active,\n disabled: this.disabled,\n 'is-collapsed': this.collapse,\n }}\n onBlur={this.handleBlur}\n onClick={this.handleClick}\n onFocus={this.handleFocus}\n part=\"base\"\n role=\"menuitem\"\n slot=\"trigger\"\n tabindex={this.disabled ? -1 : 0}\n type=\"button\"\n >\n <div class=\"bq-side-menu__item--prefix flex items-center\" part=\"prefix\">\n <slot name=\"prefix\" />\n </div>\n <div\n class=\"bq-side-menu__item--label overflow-hidden text-ellipsis whitespace-nowrap\"\n ref={(labelElem) => {\n this.labelElem = labelElem;\n }}\n >\n <slot onSlotchange={this.handleSlotChange} />\n </div>\n <div class=\"bq-side-menu__item--suffix ml-auto flex items-center\" part=\"suffix\">\n <slot name=\"suffix\" />\n </div>\n </button>\n );\n\n render() {\n return !this.collapse ? (\n this.menuItem()\n ) : (\n <bq-tooltip class=\"bq-side-menu__item--tooltip block\" exportparts=\"trigger, panel\" placement=\"right\">\n {this.textContent}\n {this.menuItem()}\n </bq-tooltip>\n );\n }\n}\n"],"mappings":";;;;iIAAA,MAAMA,EAAoB,IAAM,i/vB,MCoDnBC,EAAc,M,oHAIjBC,U,wBAWCC,YAMDC,OAAkB,MAGlBC,SAAoB,MAGpBC,SAAoB,MAUnBC,OAGAC,QAGAC,QAMT,gBAAAC,GACEC,KAAKC,kB,CAkBCA,iBAAmB,KACzB,IAAKD,KAAKT,UAAW,OACrBS,KAAKR,YAAcU,EAAeF,KAAKT,UAAUY,cAAc,QAAQ,EAGzEC,WAAcC,IACZ,GAAIL,KAAKL,SAAU,CACjBU,EAAGC,iBACHD,EAAGE,kBACH,M,CAGFP,KAAKJ,OAAOY,KAAKR,KAAKS,GAAG,EAG3BC,YAAeL,IACb,GAAIL,KAAKL,SAAU,CACjBU,EAAGC,iBACHD,EAAGE,kBACH,M,CAGFP,KAAKH,QAAQW,KAAKR,KAAKS,GAAG,EAG5BE,YAAeN,IACb,GAAIL,KAAKL,UAAYK,KAAKP,OAAQ,CAChCY,EAAGC,iBACHD,EAAGE,kBACH,M,CAGFP,KAAKF,QAAQU,KAAKR,KAAKS,GAAG,EAOpBG,SAAW,IACjBC,EAAA,0BACiBb,KAAKL,SAAW,OAAS,QACxCmB,MAAO,CACL,qBAAsB,KACtBrB,OAAQO,KAAKP,OACbE,SAAUK,KAAKL,SACf,eAAgBK,KAAKN,UAEvBqB,OAAQf,KAAKI,WACbY,QAAShB,KAAKW,YACdM,QAASjB,KAAKU,YACdQ,KAAK,OACLC,KAAK,WACLC,KAAK,UACLC,SAAUrB,KAAKL,UAAW,EAAK,EAC/B2B,KAAK,SAAQC,SAAA,CAEbC,SAAKV,MAAM,+CAA+CI,KAAK,SAC7DK,SAAAC,EAAA,QAAMC,KAAK,aAEbD,EACE,OAAAV,MAAM,4EACNY,IAAMnC,IACJS,KAAKT,UAAYA,CAAS,EAC3BgC,SAEDC,EAAM,QAAAG,aAAc3B,KAAKC,qBAE3BuB,EAAA,OAAKV,MAAM,uDAAuDI,KAAK,SAAQK,SAC7EC,EAAM,QAAAC,KAAK,gBAKjB,MAAAG,GACE,OAAQ5B,KAAKN,SACXM,KAAKY,WAELC,gBAAYC,MAAM,oCAAoCe,YAAY,iBAAiBC,UAAU,QAC1FP,SAAA,CAAAvB,KAAKR,YACLQ,KAAKY,a","ignoreList":[]}