@beeq/core 1.12.2-beta.0 → 1.12.3-beta.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 (640) hide show
  1. package/dist/beeq/beeq.esm.js +1 -44
  2. package/dist/beeq/beeq.esm.js.map +1 -1
  3. package/dist/beeq/index.esm.js +1 -69
  4. package/dist/beeq/p-026cfacc.entry.js +6 -0
  5. package/dist/beeq/p-026cfacc.entry.js.map +1 -0
  6. package/dist/beeq/p-061d53de.entry.js +6 -0
  7. package/dist/beeq/p-061d53de.entry.js.map +1 -0
  8. package/dist/beeq/{p-9a78587d.entry.js → p-08fef3d3.entry.js} +2 -134
  9. package/dist/beeq/p-08fef3d3.entry.js.map +1 -0
  10. package/dist/beeq/p-12d9420b.entry.js +6 -0
  11. package/dist/beeq/p-12d9420b.entry.js.map +1 -0
  12. package/dist/beeq/p-17454929.entry.js +6 -0
  13. package/dist/beeq/p-17454929.entry.js.map +1 -0
  14. package/dist/beeq/{p-ff327b98.entry.js → p-1bce390d.entry.js} +2 -116
  15. package/dist/beeq/p-1bce390d.entry.js.map +1 -0
  16. package/dist/beeq/p-1c09c7c0.entry.js +6 -0
  17. package/dist/beeq/p-1c09c7c0.entry.js.map +1 -0
  18. package/dist/beeq/p-1f819545.entry.js +6 -0
  19. package/dist/beeq/p-1f819545.entry.js.map +1 -0
  20. package/dist/beeq/p-292a8a40.entry.js +6 -0
  21. package/dist/beeq/p-292a8a40.entry.js.map +1 -0
  22. package/dist/beeq/p-2ec4fbf0.entry.js +6 -0
  23. package/dist/beeq/p-2ec4fbf0.entry.js.map +1 -0
  24. package/dist/beeq/p-34125078.entry.js +6 -0
  25. package/dist/beeq/p-34125078.entry.js.map +1 -0
  26. package/dist/beeq/{p-6b68123f.entry.js → p-36e8e717.entry.js} +2 -246
  27. package/dist/beeq/p-36e8e717.entry.js.map +1 -0
  28. package/dist/beeq/p-37f739f5.entry.js +6 -0
  29. package/dist/beeq/p-37f739f5.entry.js.map +1 -0
  30. package/dist/beeq/p-38a7015c.entry.js +6 -0
  31. package/dist/{components/p-CXLw0i9p.js.map → beeq/p-38a7015c.entry.js.map} +1 -1
  32. package/dist/beeq/p-4aa539d7.entry.js +6 -0
  33. package/dist/beeq/p-4aa539d7.entry.js.map +1 -0
  34. package/dist/beeq/p-51074699.entry.js +6 -0
  35. package/dist/beeq/p-51074699.entry.js.map +1 -0
  36. package/dist/beeq/p-64123cb2.entry.js +6 -0
  37. package/dist/beeq/p-64123cb2.entry.js.map +1 -0
  38. package/dist/beeq/{p-426fd908.entry.js → p-6a70511e.entry.js} +2 -211
  39. package/dist/beeq/p-6a70511e.entry.js.map +1 -0
  40. package/dist/beeq/{p-1011ae42.entry.js → p-7c9c6561.entry.js} +2 -89
  41. package/dist/beeq/p-7c9c6561.entry.js.map +1 -0
  42. package/dist/beeq/p-7e73ea84.entry.js +6 -0
  43. package/dist/beeq/p-7e73ea84.entry.js.map +1 -0
  44. package/dist/beeq/p-84db8789.entry.js +6 -0
  45. package/dist/beeq/p-84db8789.entry.js.map +1 -0
  46. package/dist/beeq/p-85af346a.entry.js +6 -0
  47. package/dist/beeq/p-85af346a.entry.js.map +1 -0
  48. package/dist/beeq/p-B4sM1t6Z.js +1 -8
  49. package/dist/beeq/p-BNvWMggA.js +1 -23
  50. package/dist/beeq/p-BRMw_HGf.js +1 -8
  51. package/dist/beeq/p-BRbYDZoo.js +1 -10
  52. package/dist/beeq/p-BcPwGxIn.js +1 -9
  53. package/dist/beeq/p-BsSDkLU5.js +1 -26
  54. package/dist/beeq/p-CCNjsDdb.js +1 -88
  55. package/dist/beeq/p-CVw85-WU.js +1 -64
  56. package/dist/beeq/p-Cau9SvT4.js +1 -12
  57. package/dist/beeq/p-CmKvDWiL.js +1 -1782
  58. package/dist/beeq/p-CpKQ7XUL.js +1 -284
  59. package/dist/beeq/p-D1A0LpG_.js +1 -10
  60. package/dist/beeq/p-DdvbF5yL.js +1 -119
  61. package/dist/beeq/p-DnkZCdMA.js +1 -8
  62. package/dist/beeq/p-Ds7rcaFH.js +1 -65
  63. package/dist/beeq/p-Dx-CEPSQ.js +1 -13
  64. package/dist/beeq/p-XbB3xSTR.js +7 -0
  65. package/dist/beeq/p-XbB3xSTR.js.map +1 -0
  66. package/dist/beeq/p-_RvVpeh2.js +1 -29
  67. package/dist/beeq/p-a4e6c238.entry.js +6 -0
  68. package/dist/beeq/p-a4e6c238.entry.js.map +1 -0
  69. package/dist/beeq/p-ab690c8e.entry.js +6 -0
  70. package/dist/beeq/p-ab690c8e.entry.js.map +1 -0
  71. package/dist/beeq/p-ad86b7ee.entry.js +6 -0
  72. package/dist/beeq/p-ad86b7ee.entry.js.map +1 -0
  73. package/dist/beeq/p-b31ab8df.entry.js +6 -0
  74. package/dist/beeq/p-b31ab8df.entry.js.map +1 -0
  75. package/dist/beeq/p-b4f1b67f.entry.js +6 -0
  76. package/dist/beeq/p-b4f1b67f.entry.js.map +1 -0
  77. package/dist/beeq/{p-8b5934a3.entry.js → p-bcd26036.entry.js} +2 -154
  78. package/dist/beeq/p-bcd26036.entry.js.map +1 -0
  79. package/dist/beeq/{p-11671252.entry.js → p-c08c4c7b.entry.js} +2 -124
  80. package/dist/beeq/p-c08c4c7b.entry.js.map +1 -0
  81. package/dist/{components/p-CXLw0i9p.js → beeq/p-c3013171.entry.js} +2 -291
  82. package/dist/beeq/p-c3013171.entry.js.map +1 -0
  83. package/dist/beeq/p-ce975008.entry.js +6 -0
  84. package/dist/beeq/p-ce975008.entry.js.map +1 -0
  85. package/dist/beeq/{p-db09cc1e.entry.js → p-cf843f3a.entry.js} +2 -83
  86. package/dist/beeq/p-cf843f3a.entry.js.map +1 -0
  87. package/dist/beeq/p-d1f4ce2e.entry.js +6 -0
  88. package/dist/beeq/p-d1f4ce2e.entry.js.map +1 -0
  89. package/dist/beeq/p-d6edf4cb.entry.js +6 -0
  90. package/dist/beeq/p-d6edf4cb.entry.js.map +1 -0
  91. package/dist/beeq/p-e38637a0.entry.js +6 -0
  92. package/dist/beeq/p-e38637a0.entry.js.map +1 -0
  93. package/dist/beeq/p-ec4c7f14.entry.js +6 -0
  94. package/dist/beeq/p-ec4c7f14.entry.js.map +1 -0
  95. package/dist/beeq/p-f3c8eda1.entry.js +6 -0
  96. package/dist/beeq/p-f3c8eda1.entry.js.map +1 -0
  97. package/dist/beeq/{p-1aba3eec.entry.js → p-f86bbd71.entry.js} +2 -146
  98. package/dist/beeq/p-f86bbd71.entry.js.map +1 -0
  99. package/dist/beeq/p-ff68b62f.entry.js +6 -0
  100. package/dist/beeq/p-ff68b62f.entry.js.map +1 -0
  101. package/dist/beeq/p-lysmVw2n.js +1 -12
  102. package/dist/beeq/p-uqkxeAeG.js +1 -88
  103. package/dist/beeq/p-zh4P02Kn.js +1 -21
  104. package/dist/beeq/scripts/esm-loader.js +24 -0
  105. package/dist/beeq/scripts/zeroheight-svg-loader.js +22 -0
  106. package/dist/beeq.html-custom-data.json +198 -198
  107. package/dist/cjs/beeq.cjs.js +2 -3
  108. package/dist/cjs/beeq.cjs.js.map +1 -1
  109. package/dist/cjs/bq-accordion-group.cjs.entry.js +2 -3
  110. package/dist/cjs/bq-accordion-group.cjs.entry.js.map +1 -1
  111. package/dist/cjs/bq-accordion.cjs.entry.js +14 -15
  112. package/dist/cjs/bq-accordion.cjs.entry.js.map +1 -1
  113. package/dist/cjs/bq-alert.cjs.entry.js +14 -15
  114. package/dist/cjs/bq-alert.cjs.entry.js.map +1 -1
  115. package/dist/cjs/bq-avatar.cjs.entry.js +13 -14
  116. package/dist/cjs/bq-avatar.cjs.entry.js.map +1 -1
  117. package/dist/cjs/bq-badge.cjs.entry.js +9 -10
  118. package/dist/cjs/bq-badge.cjs.entry.js.map +1 -1
  119. package/dist/cjs/bq-breadcrumb-item.cjs.entry.js +2 -3
  120. package/dist/cjs/bq-breadcrumb-item.cjs.entry.js.map +1 -1
  121. package/dist/cjs/bq-breadcrumb.cjs.entry.js +7 -8
  122. package/dist/cjs/bq-breadcrumb.cjs.entry.js.map +1 -1
  123. package/dist/cjs/bq-button_2.cjs.entry.js +19 -20
  124. package/dist/cjs/bq-button_2.cjs.entry.js.map +1 -1
  125. package/dist/cjs/bq-card.cjs.entry.js +7 -8
  126. package/dist/cjs/bq-card.cjs.entry.js.map +1 -1
  127. package/dist/cjs/bq-checkbox.cjs.entry.js +5 -6
  128. package/dist/cjs/bq-checkbox.cjs.entry.js.map +1 -1
  129. package/dist/cjs/bq-date-picker.cjs.entry.js +20 -21
  130. package/dist/cjs/bq-date-picker.cjs.entry.js.map +1 -1
  131. package/dist/cjs/bq-dialog.cjs.entry.js +15 -16
  132. package/dist/cjs/bq-dialog.cjs.entry.js.map +1 -1
  133. package/dist/cjs/bq-divider.cjs.entry.js +15 -16
  134. package/dist/cjs/bq-divider.cjs.entry.js.map +1 -1
  135. package/dist/cjs/bq-drawer.cjs.entry.js +19 -20
  136. package/dist/cjs/bq-drawer.cjs.entry.js.map +1 -1
  137. package/dist/cjs/bq-dropdown_2.cjs.entry.js +7 -8
  138. package/dist/cjs/bq-dropdown_2.cjs.entry.js.map +1 -1
  139. package/dist/cjs/bq-empty-state.cjs.entry.js +26 -27
  140. package/dist/cjs/bq-empty-state.cjs.entry.js.map +1 -1
  141. package/dist/cjs/bq-input.cjs.entry.js +22 -23
  142. package/dist/cjs/bq-input.cjs.entry.js.map +1 -1
  143. package/dist/cjs/bq-notification.cjs.entry.js +12 -13
  144. package/dist/cjs/bq-notification.cjs.entry.js.map +1 -1
  145. package/dist/cjs/bq-option-group.cjs.entry.js +2 -3
  146. package/dist/cjs/bq-option-group.cjs.entry.js.map +1 -1
  147. package/dist/cjs/bq-option-list_2.cjs.entry.js +11 -12
  148. package/dist/cjs/bq-option-list_2.cjs.entry.js.map +1 -1
  149. package/dist/cjs/bq-option.cjs.entry.js +15 -16
  150. package/dist/cjs/bq-option.cjs.entry.js.map +1 -1
  151. package/dist/cjs/bq-page-title.cjs.entry.js +11 -12
  152. package/dist/cjs/bq-page-title.cjs.entry.js.map +1 -1
  153. package/dist/cjs/bq-progress.cjs.entry.js +13 -14
  154. package/dist/cjs/bq-progress.cjs.entry.js.map +1 -1
  155. package/dist/cjs/bq-radio-group.cjs.entry.js +2 -3
  156. package/dist/cjs/bq-radio-group.cjs.entry.js.map +1 -1
  157. package/dist/cjs/bq-radio.cjs.entry.js +9 -10
  158. package/dist/cjs/bq-radio.cjs.entry.js.map +1 -1
  159. package/dist/cjs/bq-select.cjs.entry.js +31 -32
  160. package/dist/cjs/bq-select.cjs.entry.js.map +1 -1
  161. package/dist/cjs/bq-side-menu-item.cjs.entry.js +6 -7
  162. package/dist/cjs/bq-side-menu-item.cjs.entry.js.map +1 -1
  163. package/dist/cjs/bq-side-menu.cjs.entry.js +4 -5
  164. package/dist/cjs/bq-side-menu.cjs.entry.js.map +1 -1
  165. package/dist/cjs/bq-slider.cjs.entry.js +23 -24
  166. package/dist/cjs/bq-slider.cjs.entry.js.map +1 -1
  167. package/dist/cjs/bq-spinner.cjs.entry.js +10 -11
  168. package/dist/cjs/bq-spinner.cjs.entry.js.map +1 -1
  169. package/dist/cjs/bq-status.cjs.entry.js +2 -3
  170. package/dist/cjs/bq-status.cjs.entry.js.map +1 -1
  171. package/dist/cjs/bq-step-item.cjs.entry.js +17 -18
  172. package/dist/cjs/bq-step-item.cjs.entry.js.map +1 -1
  173. package/dist/cjs/bq-steps.cjs.entry.js +3 -4
  174. package/dist/cjs/bq-steps.cjs.entry.js.map +1 -1
  175. package/dist/cjs/bq-switch.cjs.entry.js +10 -11
  176. package/dist/cjs/bq-switch.cjs.entry.js.map +1 -1
  177. package/dist/cjs/bq-tab-group.cjs.entry.js +8 -9
  178. package/dist/cjs/bq-tab-group.cjs.entry.js.map +1 -1
  179. package/dist/cjs/bq-tab.cjs.entry.js +5 -6
  180. package/dist/cjs/bq-tab.cjs.entry.js.map +1 -1
  181. package/dist/cjs/bq-textarea.cjs.entry.js +16 -17
  182. package/dist/cjs/bq-textarea.cjs.entry.js.map +1 -1
  183. package/dist/cjs/bq-toast.cjs.entry.js +2 -3
  184. package/dist/cjs/bq-toast.cjs.entry.js.map +1 -1
  185. package/dist/cjs/bq-tooltip.cjs.entry.js +9 -10
  186. package/dist/cjs/bq-tooltip.cjs.entry.js.map +1 -1
  187. package/dist/cjs/{index-BwvwUnfB.js → index-Bp6IQmE_.js} +68 -22
  188. package/dist/cjs/index-Bp6IQmE_.js.map +1 -0
  189. package/dist/cjs/loader.cjs.js +2 -3
  190. package/dist/cjs/loader.cjs.js.map +1 -1
  191. package/dist/collection/components/accordion/bq-accordion.js +14 -14
  192. package/dist/collection/components/accordion/bq-accordion.js.map +1 -1
  193. package/dist/collection/components/accordion-group/bq-accordion-group.js +2 -2
  194. package/dist/collection/components/accordion-group/bq-accordion-group.js.map +1 -1
  195. package/dist/collection/components/alert/bq-alert.js +14 -15
  196. package/dist/collection/components/alert/bq-alert.js.map +1 -1
  197. package/dist/collection/components/avatar/bq-avatar.js +13 -14
  198. package/dist/collection/components/avatar/bq-avatar.js.map +1 -1
  199. package/dist/collection/components/badge/bq-badge.js +9 -10
  200. package/dist/collection/components/badge/bq-badge.js.map +1 -1
  201. package/dist/collection/components/breadcrumb/bq-breadcrumb.js +6 -7
  202. package/dist/collection/components/breadcrumb/bq-breadcrumb.js.map +1 -1
  203. package/dist/collection/components/breadcrumb-item/bq-breadcrumb-item.js +2 -2
  204. package/dist/collection/components/breadcrumb-item/bq-breadcrumb-item.js.map +1 -1
  205. package/dist/collection/components/button/bq-button.js +18 -19
  206. package/dist/collection/components/button/bq-button.js.map +1 -1
  207. package/dist/collection/components/card/bq-card.js +7 -8
  208. package/dist/collection/components/card/bq-card.js.map +1 -1
  209. package/dist/collection/components/checkbox/bq-checkbox.js +5 -5
  210. package/dist/collection/components/checkbox/bq-checkbox.js.map +1 -1
  211. package/dist/collection/components/date-picker/bq-date-picker.js +20 -20
  212. package/dist/collection/components/date-picker/bq-date-picker.js.map +1 -1
  213. package/dist/collection/components/dialog/bq-dialog.js +15 -15
  214. package/dist/collection/components/dialog/bq-dialog.js.map +1 -1
  215. package/dist/collection/components/divider/bq-divider.js +15 -16
  216. package/dist/collection/components/divider/bq-divider.js.map +1 -1
  217. package/dist/collection/components/drawer/bq-drawer.js +19 -20
  218. package/dist/collection/components/drawer/bq-drawer.js.map +1 -1
  219. package/dist/collection/components/dropdown/bq-dropdown.js +2 -2
  220. package/dist/collection/components/dropdown/bq-dropdown.js.map +1 -1
  221. package/dist/collection/components/empty-state/bq-empty-state.js +26 -26
  222. package/dist/collection/components/empty-state/bq-empty-state.js.map +1 -1
  223. package/dist/collection/components/icon/bq-icon.js +2 -3
  224. package/dist/collection/components/icon/bq-icon.js.map +1 -1
  225. package/dist/collection/components/input/bq-input.js +22 -22
  226. package/dist/collection/components/input/bq-input.js.map +1 -1
  227. package/dist/collection/components/notification/bq-notification.js +12 -13
  228. package/dist/collection/components/notification/bq-notification.js.map +1 -1
  229. package/dist/collection/components/option/bq-option.js +15 -16
  230. package/dist/collection/components/option/bq-option.js.map +1 -1
  231. package/dist/collection/components/option-group/bq-option-group.js +2 -2
  232. package/dist/collection/components/option-group/bq-option-group.js.map +1 -1
  233. package/dist/collection/components/option-list/bq-option-list.js +2 -2
  234. package/dist/collection/components/option-list/bq-option-list.js.map +1 -1
  235. package/dist/collection/components/page-title/bq-page-title.js +11 -11
  236. package/dist/collection/components/page-title/bq-page-title.js.map +1 -1
  237. package/dist/collection/components/panel/bq-panel.js +3 -3
  238. package/dist/collection/components/panel/bq-panel.js.map +1 -1
  239. package/dist/collection/components/progress/bq-progress.js +13 -14
  240. package/dist/collection/components/progress/bq-progress.js.map +1 -1
  241. package/dist/collection/components/radio/bq-radio.js +9 -10
  242. package/dist/collection/components/radio/bq-radio.js.map +1 -1
  243. package/dist/collection/components/radio-group/bq-radio-group.js +2 -3
  244. package/dist/collection/components/radio-group/bq-radio-group.js.map +1 -1
  245. package/dist/collection/components/select/bq-select.js +27 -27
  246. package/dist/collection/components/select/bq-select.js.map +1 -1
  247. package/dist/collection/components/select/scss/bq-select.css +1 -1
  248. package/dist/collection/components/side-menu/bq-side-menu.js +4 -4
  249. package/dist/collection/components/side-menu/bq-side-menu.js.map +1 -1
  250. package/dist/collection/components/side-menu-item/bq-side-menu-item.js +6 -6
  251. package/dist/collection/components/side-menu-item/bq-side-menu-item.js.map +1 -1
  252. package/dist/collection/components/slider/bq-slider.js +23 -23
  253. package/dist/collection/components/slider/bq-slider.js.map +1 -1
  254. package/dist/collection/components/spinner/bq-spinner.js +10 -10
  255. package/dist/collection/components/spinner/bq-spinner.js.map +1 -1
  256. package/dist/collection/components/status/bq-status.js +2 -2
  257. package/dist/collection/components/status/bq-status.js.map +1 -1
  258. package/dist/collection/components/step-item/bq-step-item.js +16 -16
  259. package/dist/collection/components/step-item/bq-step-item.js.map +1 -1
  260. package/dist/collection/components/step-item/scss/bq-step-item.css +1 -1
  261. package/dist/collection/components/steps/bq-steps.js +3 -3
  262. package/dist/collection/components/steps/bq-steps.js.map +1 -1
  263. package/dist/collection/components/switch/bq-switch.js +10 -11
  264. package/dist/collection/components/switch/bq-switch.js.map +1 -1
  265. package/dist/collection/components/tab/bq-tab.js +5 -5
  266. package/dist/collection/components/tab/bq-tab.js.map +1 -1
  267. package/dist/collection/components/tab-group/bq-tab-group.js +8 -9
  268. package/dist/collection/components/tab-group/bq-tab-group.js.map +1 -1
  269. package/dist/collection/components/tag/bq-tag.js +10 -11
  270. package/dist/collection/components/tag/bq-tag.js.map +1 -1
  271. package/dist/collection/components/tag/scss/bq-tag.css +1 -1
  272. package/dist/collection/components/textarea/bq-textarea.js +16 -16
  273. package/dist/collection/components/textarea/bq-textarea.js.map +1 -1
  274. package/dist/collection/components/toast/bq-toast.js +2 -3
  275. package/dist/collection/components/toast/bq-toast.js.map +1 -1
  276. package/dist/collection/components/tooltip/bq-tooltip.js +8 -8
  277. package/dist/collection/components/tooltip/bq-tooltip.js.map +1 -1
  278. package/dist/collection/global/scripts/esm-loader.js +23 -6
  279. package/dist/collection/scripts/esm-loader.js +24 -0
  280. package/dist/collection/scripts/zeroheight-svg-loader.js +22 -0
  281. package/dist/components/bq-accordion-group.js +1 -157
  282. package/dist/components/bq-accordion-group.js.map +1 -1
  283. package/dist/components/bq-accordion.js +1 -444
  284. package/dist/components/bq-accordion.js.map +1 -1
  285. package/dist/components/bq-alert.js +1 -354
  286. package/dist/components/bq-alert.js.map +1 -1
  287. package/dist/components/bq-avatar.js +1 -206
  288. package/dist/components/bq-avatar.js.map +1 -1
  289. package/dist/components/bq-badge.js +1 -8
  290. package/dist/components/bq-breadcrumb-item.js +1 -129
  291. package/dist/components/bq-breadcrumb-item.js.map +1 -1
  292. package/dist/components/bq-breadcrumb.js +1 -138
  293. package/dist/components/bq-breadcrumb.js.map +1 -1
  294. package/dist/components/bq-button.js +1 -8
  295. package/dist/components/bq-card.js +1 -118
  296. package/dist/components/bq-card.js.map +1 -1
  297. package/dist/components/bq-checkbox.js +1 -314
  298. package/dist/components/bq-checkbox.js.map +1 -1
  299. package/dist/components/bq-date-picker.js +1 -1113
  300. package/dist/components/bq-date-picker.js.map +1 -1
  301. package/dist/components/bq-dialog.js +1 -347
  302. package/dist/components/bq-dialog.js.map +1 -1
  303. package/dist/components/bq-divider.js +1 -8
  304. package/dist/components/bq-drawer.js +1 -356
  305. package/dist/components/bq-drawer.js.map +1 -1
  306. package/dist/components/bq-dropdown.js +1 -8
  307. package/dist/components/bq-empty-state.js +1 -192
  308. package/dist/components/bq-empty-state.js.map +1 -1
  309. package/dist/components/bq-icon.js +1 -8
  310. package/dist/components/bq-input.js +1 -502
  311. package/dist/components/bq-input.js.map +1 -1
  312. package/dist/components/bq-notification.js +1 -381
  313. package/dist/components/bq-notification.js.map +1 -1
  314. package/dist/components/bq-option-group.js +1 -104
  315. package/dist/components/bq-option-group.js.map +1 -1
  316. package/dist/components/bq-option-list.js +1 -8
  317. package/dist/components/bq-option.js +1 -200
  318. package/dist/components/bq-option.js.map +1 -1
  319. package/dist/components/bq-page-title.js +1 -150
  320. package/dist/components/bq-page-title.js.map +1 -1
  321. package/dist/components/bq-panel.js +1 -8
  322. package/dist/components/bq-progress.js +1 -220
  323. package/dist/components/bq-progress.js.map +1 -1
  324. package/dist/components/bq-radio-group.js +1 -457
  325. package/dist/components/bq-radio-group.js.map +1 -1
  326. package/dist/components/bq-radio.js +1 -219
  327. package/dist/components/bq-radio.js.map +1 -1
  328. package/dist/components/bq-select.js +1 -794
  329. package/dist/components/bq-select.js.map +1 -1
  330. package/dist/components/bq-side-menu-item.js +1 -181
  331. package/dist/components/bq-side-menu-item.js.map +1 -1
  332. package/dist/components/bq-side-menu.js +1 -200
  333. package/dist/components/bq-side-menu.js.map +1 -1
  334. package/dist/components/bq-slider.js +1 -443
  335. package/dist/components/bq-slider.js.map +1 -1
  336. package/dist/components/bq-spinner.js +1 -248
  337. package/dist/components/bq-spinner.js.map +1 -1
  338. package/dist/components/bq-status.js +1 -119
  339. package/dist/components/bq-status.js.map +1 -1
  340. package/dist/components/bq-step-item.js +1 -236
  341. package/dist/components/bq-step-item.js.map +1 -1
  342. package/dist/components/bq-steps.js +1 -175
  343. package/dist/components/bq-steps.js.map +1 -1
  344. package/dist/components/bq-switch.js +1 -330
  345. package/dist/components/bq-switch.js.map +1 -1
  346. package/dist/components/bq-tab-group.js +1 -273
  347. package/dist/components/bq-tab-group.js.map +1 -1
  348. package/dist/components/bq-tab.js +1 -248
  349. package/dist/components/bq-tab.js.map +1 -1
  350. package/dist/components/bq-tag.js +1 -8
  351. package/dist/components/bq-textarea.js +1 -393
  352. package/dist/components/bq-textarea.js.map +1 -1
  353. package/dist/components/bq-toast.js +1 -281
  354. package/dist/components/bq-toast.js.map +1 -1
  355. package/dist/components/bq-tooltip.js +1 -8
  356. package/dist/components/index.js +1 -149
  357. package/dist/components/index.js.map +1 -1
  358. package/dist/components/p-4z5qnOaY.js +6 -0
  359. package/dist/components/p-4z5qnOaY.js.map +1 -0
  360. package/dist/components/p-8mobOXPw.js +6 -0
  361. package/dist/components/p-8mobOXPw.js.map +1 -0
  362. package/dist/components/p-B4sM1t6Z.js +1 -8
  363. package/dist/components/p-B4sM1t6Z.js.map +1 -1
  364. package/dist/components/p-BHxv_w2i.js +6 -0
  365. package/dist/components/p-BHxv_w2i.js.map +1 -0
  366. package/dist/components/p-BRMw_HGf.js +1 -8
  367. package/dist/components/p-BRMw_HGf.js.map +1 -1
  368. package/dist/components/p-BRbYDZoo.js +1 -10
  369. package/dist/components/p-BRbYDZoo.js.map +1 -1
  370. package/dist/components/p-BcPwGxIn.js +1 -9
  371. package/dist/components/p-BcPwGxIn.js.map +1 -1
  372. package/dist/components/{p-C8_OKNHL.js → p-Br5pwRAS.js} +2 -221
  373. package/dist/components/p-Br5pwRAS.js.map +1 -0
  374. package/dist/components/p-BsSDkLU5.js +1 -26
  375. package/dist/components/p-BsSDkLU5.js.map +1 -1
  376. package/dist/components/p-C4FuG35Q.js +6 -0
  377. package/dist/components/p-C4FuG35Q.js.map +1 -0
  378. package/dist/components/p-CVw85-WU.js +1 -64
  379. package/dist/components/p-CVw85-WU.js.map +1 -1
  380. package/dist/components/p-CmKvDWiL.js +1 -1782
  381. package/dist/components/p-CmKvDWiL.js.map +1 -1
  382. package/dist/components/p-D1A0LpG_.js +1 -10
  383. package/dist/components/p-D1A0LpG_.js.map +1 -1
  384. package/dist/components/p-D97CZ-cz.js +6 -0
  385. package/dist/components/p-D97CZ-cz.js.map +1 -0
  386. package/dist/components/p-DDVIIUm1.js +6 -0
  387. package/dist/components/p-DDVIIUm1.js.map +1 -0
  388. package/dist/components/p-DSdUt2Ay.js +6 -0
  389. package/dist/components/p-DSdUt2Ay.js.map +1 -0
  390. package/dist/components/p-DdvbF5yL.js +1 -119
  391. package/dist/components/p-DdvbF5yL.js.map +1 -1
  392. package/dist/components/p-Dla7kvqV.js +6 -0
  393. package/dist/components/p-Dla7kvqV.js.map +1 -0
  394. package/dist/components/p-DnkZCdMA.js +1 -8
  395. package/dist/components/p-DnkZCdMA.js.map +1 -1
  396. package/dist/components/{p-YyF6_fWE.js → p-DoX6g7vo.js} +2 -381
  397. package/dist/components/p-DoX6g7vo.js.map +1 -0
  398. package/dist/components/p-Dx-CEPSQ.js +1 -13
  399. package/dist/components/p-Dx-CEPSQ.js.map +1 -1
  400. package/dist/components/p-_RvVpeh2.js +1 -29
  401. package/dist/components/p-_RvVpeh2.js.map +1 -1
  402. package/dist/components/p-lysmVw2n.js +1 -12
  403. package/dist/components/p-lysmVw2n.js.map +1 -1
  404. package/dist/components/p-uqkxeAeG.js +1 -88
  405. package/dist/components/p-uqkxeAeG.js.map +1 -1
  406. package/dist/components/p-zh4P02Kn.js +1 -21
  407. package/dist/components/p-zh4P02Kn.js.map +1 -1
  408. package/dist/custom-elements.json +5184 -5184
  409. package/dist/esm/beeq.js +2 -3
  410. package/dist/esm/beeq.js.map +1 -1
  411. package/dist/esm/bq-accordion-group.entry.js +2 -3
  412. package/dist/esm/bq-accordion-group.entry.js.map +1 -1
  413. package/dist/esm/bq-accordion.entry.js +14 -15
  414. package/dist/esm/bq-accordion.entry.js.map +1 -1
  415. package/dist/esm/bq-alert.entry.js +14 -15
  416. package/dist/esm/bq-alert.entry.js.map +1 -1
  417. package/dist/esm/bq-avatar.entry.js +13 -14
  418. package/dist/esm/bq-avatar.entry.js.map +1 -1
  419. package/dist/esm/bq-badge.entry.js +9 -10
  420. package/dist/esm/bq-badge.entry.js.map +1 -1
  421. package/dist/esm/bq-breadcrumb-item.entry.js +2 -3
  422. package/dist/esm/bq-breadcrumb-item.entry.js.map +1 -1
  423. package/dist/esm/bq-breadcrumb.entry.js +7 -8
  424. package/dist/esm/bq-breadcrumb.entry.js.map +1 -1
  425. package/dist/esm/bq-button_2.entry.js +19 -20
  426. package/dist/esm/bq-button_2.entry.js.map +1 -1
  427. package/dist/esm/bq-card.entry.js +7 -8
  428. package/dist/esm/bq-card.entry.js.map +1 -1
  429. package/dist/esm/bq-checkbox.entry.js +5 -6
  430. package/dist/esm/bq-checkbox.entry.js.map +1 -1
  431. package/dist/esm/bq-date-picker.entry.js +20 -21
  432. package/dist/esm/bq-date-picker.entry.js.map +1 -1
  433. package/dist/esm/bq-dialog.entry.js +15 -16
  434. package/dist/esm/bq-dialog.entry.js.map +1 -1
  435. package/dist/esm/bq-divider.entry.js +15 -16
  436. package/dist/esm/bq-divider.entry.js.map +1 -1
  437. package/dist/esm/bq-drawer.entry.js +19 -20
  438. package/dist/esm/bq-drawer.entry.js.map +1 -1
  439. package/dist/esm/bq-dropdown_2.entry.js +5 -6
  440. package/dist/esm/bq-dropdown_2.entry.js.map +1 -1
  441. package/dist/esm/bq-empty-state.entry.js +26 -27
  442. package/dist/esm/bq-empty-state.entry.js.map +1 -1
  443. package/dist/esm/bq-input.entry.js +22 -23
  444. package/dist/esm/bq-input.entry.js.map +1 -1
  445. package/dist/esm/bq-notification.entry.js +12 -13
  446. package/dist/esm/bq-notification.entry.js.map +1 -1
  447. package/dist/esm/bq-option-group.entry.js +2 -3
  448. package/dist/esm/bq-option-group.entry.js.map +1 -1
  449. package/dist/esm/bq-option-list_2.entry.js +11 -12
  450. package/dist/esm/bq-option-list_2.entry.js.map +1 -1
  451. package/dist/esm/bq-option.entry.js +15 -16
  452. package/dist/esm/bq-option.entry.js.map +1 -1
  453. package/dist/esm/bq-page-title.entry.js +11 -12
  454. package/dist/esm/bq-page-title.entry.js.map +1 -1
  455. package/dist/esm/bq-progress.entry.js +13 -14
  456. package/dist/esm/bq-progress.entry.js.map +1 -1
  457. package/dist/esm/bq-radio-group.entry.js +2 -3
  458. package/dist/esm/bq-radio-group.entry.js.map +1 -1
  459. package/dist/esm/bq-radio.entry.js +9 -10
  460. package/dist/esm/bq-radio.entry.js.map +1 -1
  461. package/dist/esm/bq-select.entry.js +28 -29
  462. package/dist/esm/bq-select.entry.js.map +1 -1
  463. package/dist/esm/bq-side-menu-item.entry.js +6 -7
  464. package/dist/esm/bq-side-menu-item.entry.js.map +1 -1
  465. package/dist/esm/bq-side-menu.entry.js +4 -5
  466. package/dist/esm/bq-side-menu.entry.js.map +1 -1
  467. package/dist/esm/bq-slider.entry.js +23 -24
  468. package/dist/esm/bq-slider.entry.js.map +1 -1
  469. package/dist/esm/bq-spinner.entry.js +10 -11
  470. package/dist/esm/bq-spinner.entry.js.map +1 -1
  471. package/dist/esm/bq-status.entry.js +2 -3
  472. package/dist/esm/bq-status.entry.js.map +1 -1
  473. package/dist/esm/bq-step-item.entry.js +17 -18
  474. package/dist/esm/bq-step-item.entry.js.map +1 -1
  475. package/dist/esm/bq-steps.entry.js +3 -4
  476. package/dist/esm/bq-steps.entry.js.map +1 -1
  477. package/dist/esm/bq-switch.entry.js +10 -11
  478. package/dist/esm/bq-switch.entry.js.map +1 -1
  479. package/dist/esm/bq-tab-group.entry.js +8 -9
  480. package/dist/esm/bq-tab-group.entry.js.map +1 -1
  481. package/dist/esm/bq-tab.entry.js +5 -6
  482. package/dist/esm/bq-tab.entry.js.map +1 -1
  483. package/dist/esm/bq-textarea.entry.js +16 -17
  484. package/dist/esm/bq-textarea.entry.js.map +1 -1
  485. package/dist/esm/bq-toast.entry.js +2 -3
  486. package/dist/esm/bq-toast.entry.js.map +1 -1
  487. package/dist/esm/bq-tooltip.entry.js +9 -10
  488. package/dist/esm/bq-tooltip.entry.js.map +1 -1
  489. package/dist/esm/{index-D0hQxkOP.js → index-XbB3xSTR.js} +67 -23
  490. package/dist/esm/index-XbB3xSTR.js.map +1 -0
  491. package/dist/esm/loader.js +2 -3
  492. package/dist/esm/loader.js.map +1 -1
  493. package/dist/hydrate/index.js +413 -417
  494. package/dist/hydrate/index.mjs +413 -417
  495. package/dist/stencil.config.js +1 -1
  496. package/dist/stencil.config.js.map +1 -1
  497. package/dist/types/components/accordion/bq-accordion.d.ts +1 -1
  498. package/dist/types/components/accordion-group/bq-accordion-group.d.ts +1 -1
  499. package/dist/types/components/alert/bq-alert.d.ts +1 -1
  500. package/dist/types/components/avatar/bq-avatar.d.ts +1 -1
  501. package/dist/types/components/badge/bq-badge.d.ts +1 -1
  502. package/dist/types/components/breadcrumb/bq-breadcrumb.d.ts +1 -1
  503. package/dist/types/components/breadcrumb-item/bq-breadcrumb-item.d.ts +1 -1
  504. package/dist/types/components/button/bq-button.d.ts +1 -1
  505. package/dist/types/components/card/bq-card.d.ts +1 -1
  506. package/dist/types/components/checkbox/bq-checkbox.d.ts +1 -1
  507. package/dist/types/components/date-picker/bq-date-picker.d.ts +1 -1
  508. package/dist/types/components/dialog/bq-dialog.d.ts +1 -1
  509. package/dist/types/components/divider/bq-divider.d.ts +1 -1
  510. package/dist/types/components/drawer/bq-drawer.d.ts +1 -1
  511. package/dist/types/components/dropdown/bq-dropdown.d.ts +1 -1
  512. package/dist/types/components/empty-state/bq-empty-state.d.ts +1 -1
  513. package/dist/types/components/icon/bq-icon.d.ts +1 -1
  514. package/dist/types/components/input/bq-input.d.ts +1 -1
  515. package/dist/types/components/notification/bq-notification.d.ts +1 -1
  516. package/dist/types/components/option/bq-option.d.ts +1 -1
  517. package/dist/types/components/option-group/bq-option-group.d.ts +1 -1
  518. package/dist/types/components/option-list/bq-option-list.d.ts +1 -1
  519. package/dist/types/components/page-title/bq-page-title.d.ts +1 -1
  520. package/dist/types/components/panel/bq-panel.d.ts +1 -1
  521. package/dist/types/components/progress/bq-progress.d.ts +1 -1
  522. package/dist/types/components/radio/bq-radio.d.ts +1 -1
  523. package/dist/types/components/radio-group/bq-radio-group.d.ts +1 -1
  524. package/dist/types/components/select/bq-select.d.ts +1 -1
  525. package/dist/types/components/side-menu/bq-side-menu.d.ts +1 -1
  526. package/dist/types/components/side-menu-item/bq-side-menu-item.d.ts +1 -1
  527. package/dist/types/components/slider/bq-slider.d.ts +1 -1
  528. package/dist/types/components/spinner/bq-spinner.d.ts +1 -1
  529. package/dist/types/components/status/bq-status.d.ts +1 -1
  530. package/dist/types/components/step-item/bq-step-item.d.ts +1 -1
  531. package/dist/types/components/steps/bq-steps.d.ts +1 -1
  532. package/dist/types/components/switch/bq-switch.d.ts +1 -1
  533. package/dist/types/components/tab/bq-tab.d.ts +1 -1
  534. package/dist/types/components/tab-group/bq-tab-group.d.ts +1 -1
  535. package/dist/types/components/tag/bq-tag.d.ts +1 -1
  536. package/dist/types/components/textarea/bq-textarea.d.ts +1 -1
  537. package/dist/types/components/toast/bq-toast.d.ts +1 -1
  538. package/dist/types/components/tooltip/bq-tooltip.d.ts +1 -1
  539. package/package.json +1 -1
  540. package/dist/beeq/p-1011ae42.entry.js.map +0 -1
  541. package/dist/beeq/p-110c262d.entry.js +0 -173
  542. package/dist/beeq/p-110c262d.entry.js.map +0 -1
  543. package/dist/beeq/p-11671252.entry.js.map +0 -1
  544. package/dist/beeq/p-11fcb99b.entry.js +0 -281
  545. package/dist/beeq/p-11fcb99b.entry.js.map +0 -1
  546. package/dist/beeq/p-1aba3eec.entry.js.map +0 -1
  547. package/dist/beeq/p-20162842.entry.js +0 -151
  548. package/dist/beeq/p-20162842.entry.js.map +0 -1
  549. package/dist/beeq/p-3a4c4de9.entry.js +0 -188
  550. package/dist/beeq/p-3a4c4de9.entry.js.map +0 -1
  551. package/dist/beeq/p-426fd908.entry.js.map +0 -1
  552. package/dist/beeq/p-47571092.entry.js +0 -289
  553. package/dist/beeq/p-47571092.entry.js.map +0 -1
  554. package/dist/beeq/p-49e90223.entry.js +0 -86
  555. package/dist/beeq/p-49e90223.entry.js.map +0 -1
  556. package/dist/beeq/p-4b00a155.entry.js +0 -747
  557. package/dist/beeq/p-4b00a155.entry.js.map +0 -1
  558. package/dist/beeq/p-54ddd09f.entry.js +0 -392
  559. package/dist/beeq/p-54ddd09f.entry.js.map +0 -1
  560. package/dist/beeq/p-6b68123f.entry.js.map +0 -1
  561. package/dist/beeq/p-6d708caf.entry.js +0 -339
  562. package/dist/beeq/p-6d708caf.entry.js.map +0 -1
  563. package/dist/beeq/p-70607940.entry.js +0 -174
  564. package/dist/beeq/p-70607940.entry.js.map +0 -1
  565. package/dist/beeq/p-72c376a9.entry.js +0 -165
  566. package/dist/beeq/p-72c376a9.entry.js.map +0 -1
  567. package/dist/beeq/p-78bbd845.entry.js +0 -109
  568. package/dist/beeq/p-78bbd845.entry.js.map +0 -1
  569. package/dist/beeq/p-8012f01d.entry.js +0 -556
  570. package/dist/beeq/p-8012f01d.entry.js.map +0 -1
  571. package/dist/beeq/p-8b5934a3.entry.js.map +0 -1
  572. package/dist/beeq/p-94c2081a.entry.js +0 -681
  573. package/dist/beeq/p-94c2081a.entry.js.map +0 -1
  574. package/dist/beeq/p-95979cb0.entry.js +0 -289
  575. package/dist/beeq/p-95979cb0.entry.js.map +0 -1
  576. package/dist/beeq/p-978b2249.entry.js +0 -196
  577. package/dist/beeq/p-978b2249.entry.js.map +0 -1
  578. package/dist/beeq/p-9a78587d.entry.js.map +0 -1
  579. package/dist/beeq/p-BtYhUEAn.js +0 -9
  580. package/dist/beeq/p-BtYhUEAn.js.map +0 -1
  581. package/dist/beeq/p-C33fRBEf.js +0 -156
  582. package/dist/beeq/p-C33fRBEf.js.map +0 -1
  583. package/dist/beeq/p-D0hQxkOP.js +0 -2816
  584. package/dist/beeq/p-D0hQxkOP.js.map +0 -1
  585. package/dist/beeq/p-ac7cd72b.entry.js +0 -322
  586. package/dist/beeq/p-ac7cd72b.entry.js.map +0 -1
  587. package/dist/beeq/p-ae85a23a.entry.js +0 -408
  588. package/dist/beeq/p-ae85a23a.entry.js.map +0 -1
  589. package/dist/beeq/p-b0f9a0cb.entry.js +0 -296
  590. package/dist/beeq/p-b0f9a0cb.entry.js.map +0 -1
  591. package/dist/beeq/p-b194e120.entry.js +0 -293
  592. package/dist/beeq/p-b194e120.entry.js.map +0 -1
  593. package/dist/beeq/p-b2858324.entry.js +0 -210
  594. package/dist/beeq/p-b2858324.entry.js.map +0 -1
  595. package/dist/beeq/p-c34fc2c7.entry.js +0 -351
  596. package/dist/beeq/p-c34fc2c7.entry.js.map +0 -1
  597. package/dist/beeq/p-c630a8b8.entry.js +0 -442
  598. package/dist/beeq/p-c630a8b8.entry.js.map +0 -1
  599. package/dist/beeq/p-cb9b1edc.entry.js +0 -232
  600. package/dist/beeq/p-cb9b1edc.entry.js.map +0 -1
  601. package/dist/beeq/p-cc6b349e.entry.js +0 -172
  602. package/dist/beeq/p-cc6b349e.entry.js.map +0 -1
  603. package/dist/beeq/p-d0edfaa5.entry.js +0 -388
  604. package/dist/beeq/p-d0edfaa5.entry.js.map +0 -1
  605. package/dist/beeq/p-db09cc1e.entry.js.map +0 -1
  606. package/dist/beeq/p-f6d82c39.entry.js +0 -206
  607. package/dist/beeq/p-f6d82c39.entry.js.map +0 -1
  608. package/dist/beeq/p-f83010e9.entry.js +0 -118
  609. package/dist/beeq/p-f83010e9.entry.js.map +0 -1
  610. package/dist/beeq/p-f97c679f.entry.js +0 -233
  611. package/dist/beeq/p-f97c679f.entry.js.map +0 -1
  612. package/dist/beeq/p-ff327b98.entry.js.map +0 -1
  613. package/dist/beeq/p-ff73f344.entry.js +0 -396
  614. package/dist/beeq/p-ff73f344.entry.js.map +0 -1
  615. package/dist/cjs/app-globals-BY_z0SzA.js +0 -12
  616. package/dist/cjs/app-globals-BY_z0SzA.js.map +0 -1
  617. package/dist/cjs/index-BwvwUnfB.js.map +0 -1
  618. package/dist/cjs/index-C09ZVaB4.js +0 -154
  619. package/dist/cjs/index-C09ZVaB4.js.map +0 -1
  620. package/dist/components/p-C8_OKNHL.js.map +0 -1
  621. package/dist/components/p-C97BzPa8.js +0 -177
  622. package/dist/components/p-C97BzPa8.js.map +0 -1
  623. package/dist/components/p-CMejKLsB.js +0 -248
  624. package/dist/components/p-CMejKLsB.js.map +0 -1
  625. package/dist/components/p-DBPU_cIr.js +0 -338
  626. package/dist/components/p-DBPU_cIr.js.map +0 -1
  627. package/dist/components/p-DDCN9O42.js +0 -2669
  628. package/dist/components/p-DDCN9O42.js.map +0 -1
  629. package/dist/components/p-DHhUeR-_.js +0 -377
  630. package/dist/components/p-DHhUeR-_.js.map +0 -1
  631. package/dist/components/p-DSqLegVR.js +0 -100
  632. package/dist/components/p-DSqLegVR.js.map +0 -1
  633. package/dist/components/p-YyF6_fWE.js.map +0 -1
  634. package/dist/components/p-qOL6hl5s.js +0 -298
  635. package/dist/components/p-qOL6hl5s.js.map +0 -1
  636. package/dist/esm/app-globals-BtYhUEAn.js +0 -10
  637. package/dist/esm/app-globals-BtYhUEAn.js.map +0 -1
  638. package/dist/esm/index-C33fRBEf.js +0 -151
  639. package/dist/esm/index-C33fRBEf.js.map +0 -1
  640. package/dist/esm/index-D0hQxkOP.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"names":["STEP_ITEM_STATUS","bqStepItemCss","BqStepItem","__stencil_proxyCustomElement","HTMLElement","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":";;;;;;;;;;;;;;AAAO,MAAMA,IAAmB,EAAC,WAAW,WAAW,aAAa,SAAS;;ACA7E,MAAMC,gBAAgB,MAAM;;MCyDfC,KAAUC,EAAA,MAAAD,UAAAE;;;;;;;;;;;;;;;;;;;;EAgBIC,aAAuB;;EAGvBC,OAAmB;;EAGnBC,YAAkC;;EAGlCC,KAAoB;;EAGLC,OAA2B;;EAG1CC;;;EAOzB,eAAAC;IACEC,EAAkBC,GAAmB,cAAcC,KAAKC,IAAI;IAC5DH,EAAkBI,GAAY,UAAUF,KAAKC,IAAI;IACjDH,EAAkBZ,GAAkB,WAAWc,KAAKC,IAAI;IAExDD,KAAKG;;;;;;EAQEC;;EAGAC;;EAGAC;;;;EAMT,iBAAAC;IACEP,KAAKH;;EAGP,iBAAAW;IACER,KAAKH;;EAGP,gBAAAY;IACET,KAAKG;;;;;;;;;;;;;;EAkBCO,YAAc;IACpBV,KAAKK,QAAQM,KAAKX,KAAKC;AAAG;EAGpBW,WAAa;IACnBZ,KAAKM,OAAOK,KAAKX,KAAKC;AAAG;EAGnBY,YAAcC;IACpB,IAAId,KAAKe,cAAcf,KAAKgB,WAAW;IAEvC,MAAMC,IAAajB,KAAKI,QAAQO,KAAKX,KAAKC;IAC1C,IAAIgB,EAAWC,kBAAkB;IAEjC,MAAMC,IAAcnB,KAAKC,GAAGmB,QAAQ;IACpC,KAAKD,GAAa;UAEZA,EAAYE,mBAAmBrB,KAAKC;AAAG;EAGvCE,iBAAmB;IACzB,MAAMmB,IAAWtB,KAAKC,GAAGsB,cAAc;IACvC,KAAKD,MAAaE,EAAcF,GAAU,YAAY;IAEtDA,EAAS5B,OAAOM,KAAKN,SAAS,UAAU,KAAK;AAAE;EAGjD,cAAYqB;IACV,OAAOf,KAAKL,WAAW;;EAGzB,aAAYqB;IACV,OAAOhB,KAAKL,WAAW;;;;;EAOzB,MAAA8B;IACE,MAAMC,IAAa1B,KAAKP,gBAAgB;IAExC,OACEkC,EAAK;MAAAC,OAAO;QAAE,eAAe;QAAM,aAAaF;QAAY,YAAYA;;MAAcG,MAAK;MAAUC,UAAA,EACnGH,EACE;QAAAC,OAAO;UACL,gBAAgB;UAChB,CAAC,iBAAiB5B,KAAKL,WAAW;UAClC,kCAAkCK,KAAKe;;QAEzCgB,UAAU/B,KAAKe;QACfiB,QAAQhC,KAAKY;QACbqB,SAASjC,KAAKa;QACdqB,SAASlC,KAAKU;QAAW,gBACXV,KAAKgB,YAAY,SAASmB;QACxCvC,MAAK;QACLwC,MAAK;QAELN,UAAA,EAAAO,EAAA;UAAKT,OAAO,iCAAiC5B,KAAKJ,QAAQI,KAAKN,QAAQM,KAAKL;UAAQmC,UAClFO,EAAM;YAAAC,MAAK;YAASC,cAAcvC,KAAKG;aAAgB;WACnD,6CACNwB;UAAKC,OAAM;UAETE,UAAA,EAAAO,EAAA;YACET,OAAO;cACL,2EAA2E;cAC3E,uBAAuB5B,KAAKe;cAC5B,cAAcf,KAAKgB;;YAErBoB,MAAK;YAAON,UAEZO;aACI,6CAENA,EACE;YAAAT,OAAO;cACL,4EAA4E;cAC5E,cAAc5B,KAAKe;;YAErBqB,MAAK;YAAaN,UAElBO;cAAMC,MAAK;eAAgB;aAAA;WACvB;SAED,8CACPtC,KAAKR,UACL6C,EACE;QAAAT,OAAO;UACL,kDAAkD;UAClD,uBAAuBF,KAAc1B,KAAKN,SAAS;;QAErD8C,aAAY;QACZ/C,aAAaO,KAAKP;QAClBgD,aAAazC,KAAKT;QAClBmD,iBAAiB;QACL;SACZ;OAEA","ignoreList":[]}
1
+ {"version":3,"names":["STEP_ITEM_STATUS","bqStepItemCss","BqStepItem","__stencil_proxyCustomElement","HTMLElement","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","h","key","class","role","disabled","onBlur","onClick","onFocus","undefined","part","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, h, 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":";;;;kNAAO,MAAMA,EAAmB,CAAC,UAAW,UAAW,YAAa,QAAS,YCA7E,MAAMC,EAAgB,IAAM,w+xB,MCyDfC,EAAUC,EAAA,MAAAD,UAAAE,E,iMAgBIC,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,EAAkBZ,EAAkB,UAAWc,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,EAAA,OAAAC,IAAA,2CAAKC,MAAO,CAAE,cAAe,KAAM,YAAaH,EAAY,WAAYA,GAAcI,KAAK,YACzFH,EAAA,UAAAC,IAAA,2CACEC,MAAO,CACL,eAAgB,KAChB,CAAC,iBAAiB7B,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,QAELT,EAAA,OAAAC,IAAA,2CAAKC,MAAO,iCAAiC7B,KAAKJ,QAAQI,KAAKN,QAAQM,KAAKL,UAC1EgC,EAAM,QAAAC,IAAA,2CAAAS,KAAK,SAASC,aAActC,KAAKG,oBAEzCwB,EAAK,OAAAC,IAAA,2CAAAC,MAAM,gDAETF,EAAA,OAAAC,IAAA,2CACEC,MAAO,CACL,0EAA2E,KAC3E,sBAAuB7B,KAAKe,WAC5B,aAAcf,KAAKgB,WAErBoB,KAAK,SAELT,EAAA,QAAAC,IAAA,8CAGFD,EAAA,OAAAC,IAAA,2CACEC,MAAO,CACL,2EAA4E,KAC5E,aAAc7B,KAAKe,YAErBqB,KAAK,eAELT,EAAA,QAAAC,IAAA,2CAAMS,KAAK,oBAIfrC,KAAKR,QACLmC,EAAA,cAAAC,IAAA,2CACEC,MAAO,CACL,iDAAkD,KAClD,sBAAuBH,GAAc1B,KAAKN,OAAS,SAErD6C,YAAY,4EACZ9C,YAAaO,KAAKP,YAClB+C,YAAaxC,KAAKT,aAClBkD,gBAAiB,EACL,uB","ignoreList":[]}
@@ -2,179 +2,5 @@
2
2
  * Built by Endavans
3
3
  * © https://beeq.design - Apache 2 License.
4
4
  */
5
- import { p as a, H as r, d as e, t as b } from "./p-DDCN9O42.js";
6
-
7
- import { v as q } from "./p-zh4P02Kn.js";
8
-
9
- import { S as n, a as t, b as i } from "./p-BRMw_HGf.js";
10
-
11
- const bqStepsCss = () => `.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}}`;
12
-
13
- const o = a(class a extends r {
14
- constructor(a) {
15
- super();
16
- if (a !== false) {
17
- this.__registerHost();
18
- }
19
- this.__attachShadow();
20
- }
21
- // Own Properties
22
- // ====================
23
- stepElem;
24
- get el() {
25
- return this;
26
- }
27
- // State() variables
28
- // Inlined decorator, alphabetical order
29
- // =======================================
30
- // Public Property API
31
- // ========================
32
- /** The color of the line that connects the steps. It should be a valid declarative color token. */
33
- dividerColor="stroke--primary";
34
- /** The orientation of the steps */
35
- orientation="horizontal";
36
- /** The size of the steps */
37
- size="medium";
38
- /** The type of prefix element to use on the step items */
39
- type;
40
- // Prop lifecycle events
41
- // =======================
42
- checkPropValues() {
43
- q(n, "horizontal", this.el, "orientation");
44
- q(t, "medium", this.el, "size");
45
- q(i, "numeric", this.el, "type");
46
- this.setStepItemProps();
47
- }
48
- // Events section
49
- // Requires JSDocs for public API documentation
50
- // ==============================================
51
- // Component lifecycle events
52
- // Ordered by their natural call order
53
- // =====================================
54
- componentDidLoad() {
55
- this.setStepItemProps();
56
- }
57
- // Listeners
58
- // ==============
59
- // Public methods API
60
- // These methods are exposed on the host element.
61
- // Always use two lines.
62
- // Public Methods must be async.
63
- // Requires JSDocs for public API documentation.
64
- // ===============================================
65
- /**
66
- * Set the current step item.
67
- * @param newCurrentStep - The step item to set as current.
68
- */
69
- async setCurrentStepItem(a) {
70
- // Ideally, only one step item should be current.
71
- // So we change the status of the current step item to default.
72
- const r = this.bqSteps.find((a => a.status === "current"));
73
- if (r) r.status = "default";
74
- // And then we set the status of the new current step item to current.
75
- a.status = "current";
76
- }
77
- // Local methods
78
- // Internal business logic.
79
- // These methods cannot be called from the host element.
80
- // =======================================================
81
- get bqSteps() {
82
- if (!this.stepElem) return [];
83
- const a = this.stepElem.querySelector("slot");
84
- return [ ...a.assignedElements({
85
- flatten: true
86
- }) ].filter((a => a.tagName.toLowerCase() === "bq-step-item"));
87
- }
88
- setStepItemProps=() => {
89
- this.bqSteps.forEach((a => {
90
- a.isLast = a === this.lastStepItem;
91
- a.dividerColor = this.dividerColor;
92
- a.orientation = this.orientation;
93
- a.size = this.size;
94
- a.type = this.type;
95
- }));
96
- };
97
- get lastStepItem() {
98
- return this.bqSteps.at(-1);
99
- }
100
- // render() function
101
- // Always the last one in the class.
102
- // ===================================
103
- render() {
104
- return e("div", {
105
- class: {
106
- "relative inline-flex items-start justify-between": true,
107
- "is-full flex-row": this.orientation === "horizontal",
108
- "bs-full flex-col": this.orientation === "vertical"
109
- },
110
- part: "container",
111
- role: "list",
112
- ref: a => {
113
- this.stepElem = a;
114
- },
115
- children: e("slot", {}, "46f8a80293d60735b8b159028276f4c55d1c1d52")
116
- }, "c3a4c2006ff09a4e7087e71c03e6f4aabc9ad1e6");
117
- }
118
- static get watchers() {
119
- return {
120
- dividerColor: [ {
121
- checkPropValues: 0
122
- } ],
123
- orientation: [ {
124
- checkPropValues: 0
125
- } ],
126
- type: [ {
127
- checkPropValues: 0
128
- } ],
129
- size: [ {
130
- checkPropValues: 0
131
- } ]
132
- };
133
- }
134
- static get style() {
135
- return bqStepsCss();
136
- }
137
- }, [ 769, "bq-steps", {
138
- dividerColor: [ 513, "divider-color" ],
139
- orientation: [ 513 ],
140
- size: [ 513 ],
141
- type: [ 513 ],
142
- setCurrentStepItem: [ 64 ]
143
- }, undefined, {
144
- dividerColor: [ {
145
- checkPropValues: 0
146
- } ],
147
- orientation: [ {
148
- checkPropValues: 0
149
- } ],
150
- type: [ {
151
- checkPropValues: 0
152
- } ],
153
- size: [ {
154
- checkPropValues: 0
155
- } ]
156
- } ]);
157
-
158
- function defineCustomElement$1() {
159
- if (typeof customElements === "undefined") {
160
- return;
161
- }
162
- const a = [ "bq-steps" ];
163
- a.forEach((a => {
164
- switch (a) {
165
- case "bq-steps":
166
- if (!customElements.get(b(a))) {
167
- customElements.define(b(a), o);
168
- }
169
- break;
170
- }
171
- }));
172
- }
173
-
174
- const s = o;
175
-
176
- const d = defineCustomElement$1;
177
-
178
- export { s as BqSteps, d as defineCustomElement };
179
- //# sourceMappingURL=bq-steps.js.map
5
+ import{p as a,H as r,h as e,t as b}from"./p-DDVIIUm1.js";import{v as q}from"./p-zh4P02Kn.js";import{S as n,a as t,b as i}from"./p-BRMw_HGf.js";const o=()=>`.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 s=a(class a extends r{constructor(a){super();if(a!==false){this.__registerHost()}this.__attachShadow()}stepElem;get el(){return this}dividerColor="stroke--primary";orientation="horizontal";size="medium";type;checkPropValues(){q(n,"horizontal",this.el,"orientation");q(t,"medium",this.el,"size");q(i,"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 e("div",{key:"8009e16d96dcd655103e54671b66dcfd237d722d",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}},e("slot",{key:"9212530f9fc0d276cda4b52d12826008171e7f7d"}))}static get watchers(){return{dividerColor:[{checkPropValues:0}],orientation:[{checkPropValues:0}],type:[{checkPropValues:0}],size:[{checkPropValues:0}]}}static get style(){return o()}},[769,"bq-steps",{dividerColor:[513,"divider-color"],orientation:[513],size:[513],type:[513],setCurrentStepItem:[64]},undefined,{dividerColor:[{checkPropValues:0}],orientation:[{checkPropValues:0}],type:[{checkPropValues:0}],size:[{checkPropValues:0}]}]);function d(){if(typeof customElements==="undefined"){return}const a=["bq-steps"];a.forEach((a=>{switch(a){case"bq-steps":if(!customElements.get(b(a))){customElements.define(b(a),s)}break}}))}const l=s;const v=d;export{l as BqSteps,v as defineCustomElement};
180
6
  //# sourceMappingURL=bq-steps.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["bqStepsCss","BqSteps","__stencil_proxyCustomElement","HTMLElement","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":";;;;;;;;;;AAAA,MAAMA,aAAa,MAAM;;MC6CZC,KAAOC,EAAA,MAAAD,UAAAE;;;;;;;;;;EAIVC;;;;;;;;;;EAeiBC,aAAuB;;EAGvBC,YAAiC;;EAGjCC,KAAmB;;EAGnBC;;;EASzB,eAAAC;IACEC,EAAkBC,GAAmB,cAAcC,KAAKC,IAAI;IAC5DH,EAAkBI,GAAY,UAAUF,KAAKC,IAAI;IACjDH,EAAkBK,GAAY,WAAWH,KAAKC,IAAI;IAElDD,KAAKI;;;;;;;;EAUP,gBAAAC;IACEL,KAAKI;;;;;;;;;;;;;;EAkBP,wBAAME,CAAmBC;;;IAGvB,MAAMC,IAAcR,KAAKS,QAAQC,MAAMC,KAAgCA,EAAKC,WAAW;IACvF,IAAIJ,GAAaA,EAAYI,SAAS;;QAEtCL,EAAeK,SAAS;;;;;;EAQ1B,WAAYH;IACV,KAAKT,KAAKR,UAAU,OAAO;IAE3B,MAAMqB,IAAOb,KAAKR,SAASsB,cAAc;IACzC,OAAO,KAAID,EAAKE,iBAAiB;MAAEC,SAAS;SAASC,QAClDhB,KAA8BA,EAAGiB,QAAQC,kBAAkB;;EAIxDf,iBAAmB;IACzBJ,KAAKS,QAAQW,SAASC;MACpBA,EAAWC,SAASD,MAAerB,KAAKuB;MACxCF,EAAW5B,eAAeO,KAAKP;MAC/B4B,EAAW3B,cAAcM,KAAKN;MAC9B2B,EAAW1B,OAAOK,KAAKL;MACvB0B,EAAWzB,OAAOI,KAAKJ;AAAI;AAC3B;EAGJ,gBAAY2B;IACV,OAAOvB,KAAKS,QAAQe,IAAG;;;;;EAOzB,MAAAC;IACE,OACEC,EACE;MAAAC,OAAO;QACL,oDAAoD;QACpD,oBAAoB3B,KAAKN,gBAAgB;QACzC,oBAAoBM,KAAKN,gBAAgB;;MAE3CkC,MAAK;MACLC,MAAK;MACLC,KAAMC;QACJ/B,KAAKR,WAAWuC;AAAG;MAGrBC,UAAAN,EAAA;OACI","ignoreList":[]}
1
+ {"version":3,"names":["bqStepsCss","BqSteps","__stencil_proxyCustomElement","HTMLElement","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","h","key","class","part","role","ref","div"],"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, h, 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":";;;;+IAAA,MAAMA,EAAa,IAAM,2xnB,MC6CZC,EAAOC,EAAA,MAAAD,UAAAE,E,iFAIVC,S,qBAeiBC,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,IAAA,2CAAAC,MAAO,CACL,mDAAoD,KACpD,mBAAoB5B,KAAKN,cAAgB,aACzC,mBAAoBM,KAAKN,cAAgB,YAE3CmC,KAAK,YACLC,KAAK,OACLC,IAAMC,IACJhC,KAAKR,SAAWwC,CAAG,GAGrBN,EAAQ,QAAAC,IAAA,6C","ignoreList":[]}