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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (417) hide show
  1. package/dist/beeq/beeq.esm.js +43 -1
  2. package/dist/beeq/beeq.esm.js.map +1 -1
  3. package/dist/beeq/index.esm.js +64 -1
  4. package/dist/beeq/index.esm.js.map +1 -1
  5. package/dist/beeq/p-026222c6.entry.js +309 -0
  6. package/dist/beeq/{p-63ad9702.entry.js.map → p-026222c6.entry.js.map} +1 -1
  7. package/dist/beeq/p-04d98ed3.entry.js +257 -0
  8. package/dist/beeq/p-04d98ed3.entry.js.map +1 -0
  9. package/dist/beeq/p-05685544.entry.js +121 -0
  10. package/dist/beeq/{p-c9c942e6.entry.js.map → p-05685544.entry.js.map} +1 -1
  11. package/dist/beeq/p-0ab0b58d.js +25 -1
  12. package/dist/beeq/p-0ab0b58d.js.map +1 -1
  13. package/dist/beeq/p-0c42c08a.js +1811 -0
  14. package/dist/beeq/p-0c42c08a.js.map +1 -0
  15. package/dist/beeq/p-0ebe73ef.entry.js +149 -0
  16. package/dist/beeq/{p-571b40ff.entry.js.map → p-0ebe73ef.entry.js.map} +1 -1
  17. package/dist/beeq/p-115ed5b2.js +25 -1
  18. package/dist/beeq/p-115ed5b2.js.map +1 -1
  19. package/dist/beeq/p-11eaeb5d.entry.js +330 -0
  20. package/dist/beeq/{p-4739f5c3.entry.js.map → p-11eaeb5d.entry.js.map} +1 -1
  21. package/dist/beeq/p-12dbc6ac.entry.js +87 -0
  22. package/dist/beeq/{p-3b2ce34b.entry.js.map → p-12dbc6ac.entry.js.map} +1 -1
  23. package/dist/beeq/p-19df76ba.entry.js +220 -0
  24. package/dist/beeq/{p-79b7547b.entry.js.map → p-19df76ba.entry.js.map} +1 -1
  25. package/dist/beeq/p-1c8b6eb4.js +12 -1
  26. package/dist/beeq/p-1c8b6eb4.js.map +1 -1
  27. package/dist/beeq/p-1f3a4359.js +11 -1
  28. package/dist/beeq/p-1f3a4359.js.map +1 -1
  29. package/dist/beeq/p-2ef721e1.entry.js +261 -0
  30. package/dist/beeq/{p-52577f3a.entry.js.map → p-2ef721e1.entry.js.map} +1 -1
  31. package/dist/beeq/p-37466506.entry.js +103 -0
  32. package/dist/beeq/{p-b90c6de9.entry.js.map → p-37466506.entry.js.map} +1 -1
  33. package/dist/beeq/p-377c70d1.entry.js +173 -0
  34. package/dist/beeq/{p-eddb77c7.entry.js.map → p-377c70d1.entry.js.map} +1 -1
  35. package/dist/beeq/p-38d4bd8a.js +1934 -1
  36. package/dist/beeq/p-38d4bd8a.js.map +1 -1
  37. package/dist/beeq/p-3dd0e436.entry.js +130 -0
  38. package/dist/beeq/p-3dd0e436.entry.js.map +1 -0
  39. package/dist/beeq/p-3fd0d92d.js +1228 -1
  40. package/dist/beeq/p-3fd0d92d.js.map +1 -1
  41. package/dist/beeq/p-41033fe6.entry.js +84 -0
  42. package/dist/beeq/{p-94d62f1b.entry.js.map → p-41033fe6.entry.js.map} +1 -1
  43. package/dist/beeq/p-43e4fcdb.entry.js +173 -0
  44. package/dist/beeq/{p-9c6c6646.entry.js.map → p-43e4fcdb.entry.js.map} +1 -1
  45. package/dist/beeq/p-4a235cd2.entry.js +258 -0
  46. package/dist/beeq/{p-b9544567.entry.js.map → p-4a235cd2.entry.js.map} +1 -1
  47. package/dist/beeq/p-4a3d8532.entry.js +205 -0
  48. package/dist/beeq/{p-8059836c.entry.js.map → p-4a3d8532.entry.js.map} +1 -1
  49. package/dist/beeq/p-4dd962a7.entry.js +104 -0
  50. package/dist/beeq/{p-ae8ffb81.entry.js.map → p-4dd962a7.entry.js.map} +1 -1
  51. package/dist/beeq/p-4eccc020.entry.js +203 -0
  52. package/dist/beeq/{p-a006be9e.entry.js.map → p-4eccc020.entry.js.map} +1 -1
  53. package/dist/beeq/p-4fc098bb.entry.js +90 -0
  54. package/dist/beeq/{p-be664fb0.entry.js.map → p-4fc098bb.entry.js.map} +1 -1
  55. package/dist/beeq/p-513bab02.js +16 -0
  56. package/dist/beeq/{p-aee056e5.js.map → p-513bab02.js.map} +1 -1
  57. package/dist/beeq/p-57621be1.js +9 -1
  58. package/dist/beeq/p-57621be1.js.map +1 -1
  59. package/dist/beeq/p-5eab4f55.entry.js +117 -0
  60. package/dist/beeq/{p-9f40249f.entry.js.map → p-5eab4f55.entry.js.map} +1 -1
  61. package/dist/beeq/p-600e7c38.entry.js +102 -0
  62. package/dist/beeq/{p-633319f3.entry.js.map → p-600e7c38.entry.js.map} +1 -1
  63. package/dist/beeq/p-687da041.js +20 -1
  64. package/dist/beeq/p-687da041.js.map +1 -1
  65. package/dist/beeq/p-7089c66a.entry.js +156 -0
  66. package/dist/beeq/{p-235328ee.entry.js.map → p-7089c66a.entry.js.map} +1 -1
  67. package/dist/beeq/p-734853f9.entry.js +259 -0
  68. package/dist/beeq/{p-d2bbae3b.entry.js.map → p-734853f9.entry.js.map} +1 -1
  69. package/dist/beeq/p-7774eec3.entry.js +135 -0
  70. package/dist/beeq/{p-255fcbe4.entry.js.map → p-7774eec3.entry.js.map} +1 -1
  71. package/dist/beeq/p-7b9ff03f.entry.js +437 -0
  72. package/dist/beeq/p-7b9ff03f.entry.js.map +1 -0
  73. package/dist/beeq/p-7c06dfec.entry.js +204 -0
  74. package/dist/beeq/{p-a8cb8989.entry.js.map → p-7c06dfec.entry.js.map} +1 -1
  75. package/dist/beeq/p-900d4e78.entry.js +102 -0
  76. package/dist/beeq/{p-b7281046.entry.js.map → p-900d4e78.entry.js.map} +1 -1
  77. package/dist/beeq/p-911e07b7.entry.js +513 -0
  78. package/dist/beeq/p-911e07b7.entry.js.map +1 -0
  79. package/dist/beeq/p-924ebf7d.entry.js +394 -0
  80. package/dist/beeq/p-924ebf7d.entry.js.map +1 -0
  81. package/dist/beeq/p-951ba558.js +64 -1
  82. package/dist/beeq/p-951ba558.js.map +1 -1
  83. package/dist/beeq/p-99829fc7.js +8 -1
  84. package/dist/beeq/p-99829fc7.js.map +1 -1
  85. package/dist/beeq/p-9aa18e2f.entry.js +303 -0
  86. package/dist/beeq/p-9aa18e2f.entry.js.map +1 -0
  87. package/dist/beeq/p-a5dc1c94.js +118 -1
  88. package/dist/beeq/p-a5dc1c94.js.map +1 -1
  89. package/dist/beeq/p-a8cad5ab.js +5 -1
  90. package/dist/beeq/p-a8cad5ab.js.map +1 -1
  91. package/dist/beeq/p-ae94b9f8.entry.js +144 -0
  92. package/dist/beeq/{p-41bac721.entry.js.map → p-ae94b9f8.entry.js.map} +1 -1
  93. package/dist/beeq/p-af062402.js +7 -1
  94. package/dist/beeq/p-af062402.js.map +1 -1
  95. package/dist/beeq/p-b38e8c5a.entry.js +208 -0
  96. package/dist/beeq/p-b38e8c5a.entry.js.map +1 -0
  97. package/dist/beeq/p-b4278945.entry.js +195 -0
  98. package/dist/beeq/{p-a7b0fd0b.entry.js.map → p-b4278945.entry.js.map} +1 -1
  99. package/dist/beeq/p-b48545b6.entry.js +248 -0
  100. package/dist/beeq/{p-4ba2bec7.entry.js.map → p-b48545b6.entry.js.map} +1 -1
  101. package/dist/beeq/p-c907de72.entry.js +145 -0
  102. package/dist/beeq/{p-96d7f361.entry.js.map → p-c907de72.entry.js.map} +1 -1
  103. package/dist/beeq/p-ceb3bb9a.entry.js +187 -0
  104. package/dist/beeq/p-ceb3bb9a.entry.js.map +1 -0
  105. package/dist/beeq/p-d3008f60.entry.js +279 -0
  106. package/dist/beeq/p-d3008f60.entry.js.map +1 -0
  107. package/dist/beeq/p-d7a88b16.js +87 -1
  108. package/dist/beeq/p-d7a88b16.js.map +1 -1
  109. package/dist/beeq/p-e5afdf8c.js +87 -0
  110. package/dist/beeq/p-e5afdf8c.js.map +1 -0
  111. package/dist/beeq/p-e7d75b87.entry.js +144 -0
  112. package/dist/beeq/{p-6e026fad.entry.js.map → p-e7d75b87.entry.js.map} +1 -1
  113. package/dist/beeq/p-ecd27cf2.js +11 -1
  114. package/dist/beeq/p-ecd27cf2.js.map +1 -1
  115. package/dist/beeq/p-f00abfb8.entry.js +145 -0
  116. package/dist/beeq/{p-90c5851d.entry.js.map → p-f00abfb8.entry.js.map} +1 -1
  117. package/dist/beeq/p-f8663855.entry.js +329 -0
  118. package/dist/beeq/{p-e6382462.entry.js.map → p-f8663855.entry.js.map} +1 -1
  119. package/dist/cjs/assetsPath-7ead23b7.js +89 -0
  120. package/dist/cjs/assetsPath-7ead23b7.js.map +1 -0
  121. package/dist/cjs/beeq.cjs.js +2 -2
  122. package/dist/cjs/bq-accordion-group.cjs.entry.js +2 -2
  123. package/dist/cjs/bq-accordion.cjs.entry.js +2 -2
  124. package/dist/cjs/bq-alert.cjs.entry.js +19 -25
  125. package/dist/cjs/bq-alert.cjs.entry.js.map +1 -1
  126. package/dist/cjs/bq-avatar.cjs.entry.js +5 -5
  127. package/dist/cjs/bq-badge.cjs.entry.js +4 -4
  128. package/dist/cjs/bq-breadcrumb-item.cjs.entry.js +6 -6
  129. package/dist/cjs/bq-breadcrumb.cjs.entry.js +3 -3
  130. package/dist/cjs/bq-button_2.cjs.entry.js +16 -10
  131. package/dist/cjs/bq-button_2.cjs.entry.js.map +1 -1
  132. package/dist/cjs/bq-card.cjs.entry.js +4 -4
  133. package/dist/cjs/bq-checkbox.cjs.entry.js +4 -4
  134. package/dist/cjs/bq-date-picker.cjs.entry.js +10 -7
  135. package/dist/cjs/bq-date-picker.cjs.entry.js.map +1 -1
  136. package/dist/cjs/bq-dialog.cjs.entry.js +7 -7
  137. package/dist/cjs/bq-divider.cjs.entry.js +9 -6
  138. package/dist/cjs/bq-divider.cjs.entry.js.map +1 -1
  139. package/dist/cjs/bq-drawer.cjs.entry.js +7 -7
  140. package/dist/cjs/bq-dropdown_2.cjs.entry.js +3 -3
  141. package/dist/cjs/bq-empty-state.cjs.entry.js +6 -6
  142. package/dist/cjs/bq-input.cjs.entry.js +7 -7
  143. package/dist/cjs/bq-notification.cjs.entry.js +26 -19
  144. package/dist/cjs/bq-notification.cjs.entry.js.map +1 -1
  145. package/dist/cjs/bq-option-group.cjs.entry.js +2 -2
  146. package/dist/cjs/bq-option-list_2.cjs.entry.js +7 -7
  147. package/dist/cjs/bq-option.cjs.entry.js +6 -6
  148. package/dist/cjs/bq-page-title.cjs.entry.js +4 -4
  149. package/dist/cjs/bq-progress.cjs.entry.js +6 -6
  150. package/dist/cjs/bq-radio-group.cjs.entry.js +3 -3
  151. package/dist/cjs/bq-radio.cjs.entry.js +3 -3
  152. package/dist/cjs/bq-select.cjs.entry.js +21 -15
  153. package/dist/cjs/bq-select.cjs.entry.js.map +1 -1
  154. package/dist/cjs/bq-side-menu-item.cjs.entry.js +2 -2
  155. package/dist/cjs/bq-side-menu.cjs.entry.js +3 -3
  156. package/dist/cjs/bq-slider.cjs.entry.js +12 -6
  157. package/dist/cjs/bq-slider.cjs.entry.js.map +1 -1
  158. package/dist/cjs/bq-spinner.cjs.entry.js +6 -6
  159. package/dist/cjs/bq-status.cjs.entry.js +3 -3
  160. package/dist/cjs/bq-step-item.cjs.entry.js +9 -6
  161. package/dist/cjs/bq-step-item.cjs.entry.js.map +1 -1
  162. package/dist/cjs/bq-steps.cjs.entry.js +3 -3
  163. package/dist/cjs/bq-switch.cjs.entry.js +4 -4
  164. package/dist/cjs/bq-tab-group.cjs.entry.js +5 -5
  165. package/dist/cjs/bq-tab.cjs.entry.js +4 -4
  166. package/dist/cjs/bq-textarea.cjs.entry.js +5 -5
  167. package/dist/cjs/bq-toast.cjs.entry.js +29 -31
  168. package/dist/cjs/bq-toast.cjs.entry.js.map +1 -1
  169. package/dist/cjs/bq-tooltip.cjs.entry.js +2 -2
  170. package/dist/cjs/{index-e6d59dbb.js → index-1d3aac65.js} +20 -2
  171. package/dist/cjs/index-1d3aac65.js.map +1 -0
  172. package/dist/cjs/index.cjs.js +2 -2
  173. package/dist/cjs/{isDefined-4f4a320b.js → isDefined-a9dd6d5b.js} +2 -2
  174. package/dist/cjs/{isDefined-4f4a320b.js.map → isDefined-a9dd6d5b.js.map} +1 -1
  175. package/dist/cjs/loader.cjs.js +2 -2
  176. package/dist/collection/components/alert/bq-alert.js +26 -26
  177. package/dist/collection/components/alert/bq-alert.js.map +1 -1
  178. package/dist/collection/components/alert/scss/bq-alert.css +1 -1
  179. package/dist/collection/components/avatar/bq-avatar.js +3 -3
  180. package/dist/collection/components/badge/bq-badge.js +2 -2
  181. package/dist/collection/components/breadcrumb/bq-breadcrumb.js +1 -1
  182. package/dist/collection/components/breadcrumb-item/bq-breadcrumb-item.js +3 -3
  183. package/dist/collection/components/button/bq-button.js +2 -2
  184. package/dist/collection/components/card/bq-card.js +2 -2
  185. package/dist/collection/components/checkbox/bq-checkbox.js +2 -2
  186. package/dist/collection/components/date-picker/bq-date-picker.js +6 -3
  187. package/dist/collection/components/date-picker/bq-date-picker.js.map +1 -1
  188. package/dist/collection/components/date-picker/scss/bq-date-picker.css +1 -1
  189. package/dist/collection/components/dialog/bq-dialog.js +4 -4
  190. package/dist/collection/components/dialog/scss/bq-dialog.css +1 -1
  191. package/dist/collection/components/divider/bq-divider.js +7 -4
  192. package/dist/collection/components/divider/bq-divider.js.map +1 -1
  193. package/dist/collection/components/drawer/bq-drawer.js +4 -4
  194. package/dist/collection/components/drawer/scss/bq-drawer.css +1 -1
  195. package/dist/collection/components/dropdown/bq-dropdown.js +1 -1
  196. package/dist/collection/components/empty-state/bq-empty-state.js +4 -4
  197. package/dist/collection/components/icon/bq-icon.js +13 -7
  198. package/dist/collection/components/icon/bq-icon.js.map +1 -1
  199. package/dist/collection/components/input/bq-input.js +4 -4
  200. package/dist/collection/components/notification/bq-notification.js +31 -17
  201. package/dist/collection/components/notification/bq-notification.js.map +1 -1
  202. package/dist/collection/components/notification/scss/bq-notification.css +1 -1
  203. package/dist/collection/components/option/bq-option.js +4 -4
  204. package/dist/collection/components/option-group/bq-option-group.js +1 -1
  205. package/dist/collection/components/option-list/bq-option-list.js +1 -1
  206. package/dist/collection/components/page-title/bq-page-title.js +2 -2
  207. package/dist/collection/components/panel/bq-panel.js +1 -1
  208. package/dist/collection/components/progress/bq-progress.js +4 -4
  209. package/dist/collection/components/radio/bq-radio.js +2 -2
  210. package/dist/collection/components/radio-group/bq-radio-group.js +1 -1
  211. package/dist/collection/components/select/bq-select.js +18 -12
  212. package/dist/collection/components/select/bq-select.js.map +1 -1
  213. package/dist/collection/components/select/scss/bq-select.css +1 -1
  214. package/dist/collection/components/side-menu/bq-side-menu.js +1 -1
  215. package/dist/collection/components/slider/bq-slider.js +10 -4
  216. package/dist/collection/components/slider/bq-slider.js.map +1 -1
  217. package/dist/collection/components/spinner/bq-spinner.js +4 -4
  218. package/dist/collection/components/status/bq-status.js +1 -1
  219. package/dist/collection/components/step-item/bq-step-item.js +7 -4
  220. package/dist/collection/components/step-item/bq-step-item.js.map +1 -1
  221. package/dist/collection/components/steps/bq-steps.js +1 -1
  222. package/dist/collection/components/switch/bq-switch.js +2 -2
  223. package/dist/collection/components/tab/bq-tab.js +2 -2
  224. package/dist/collection/components/tab-group/bq-tab-group.js +3 -3
  225. package/dist/collection/components/tag/bq-tag.js +3 -3
  226. package/dist/collection/components/tag/scss/bq-tag.css +1 -1
  227. package/dist/collection/components/textarea/bq-textarea.js +3 -3
  228. package/dist/collection/components/toast/bq-toast.js +35 -29
  229. package/dist/collection/components/toast/bq-toast.js.map +1 -1
  230. package/dist/collection/components/tooltip/bq-tooltip.js +1 -1
  231. package/dist/collection/index.js +1 -0
  232. package/dist/collection/index.js.map +1 -1
  233. package/dist/collection/shared/utils/assetsPath.js +64 -27
  234. package/dist/collection/shared/utils/assetsPath.js.map +1 -1
  235. package/dist/components/assetsPath.js +64 -27
  236. package/dist/components/assetsPath.js.map +1 -1
  237. package/dist/components/bq-alert.js +17 -23
  238. package/dist/components/bq-alert.js.map +1 -1
  239. package/dist/components/bq-avatar.js +3 -3
  240. package/dist/components/bq-badge2.js +2 -2
  241. package/dist/components/bq-breadcrumb-item.js +3 -3
  242. package/dist/components/bq-breadcrumb.js +1 -1
  243. package/dist/components/bq-button2.js +2 -2
  244. package/dist/components/bq-card.js +2 -2
  245. package/dist/components/bq-checkbox.js +2 -2
  246. package/dist/components/bq-date-picker.js +7 -4
  247. package/dist/components/bq-date-picker.js.map +1 -1
  248. package/dist/components/bq-dialog.js +5 -5
  249. package/dist/components/bq-divider2.js +7 -4
  250. package/dist/components/bq-divider2.js.map +1 -1
  251. package/dist/components/bq-drawer.js +5 -5
  252. package/dist/components/bq-dropdown2.js +1 -1
  253. package/dist/components/bq-empty-state.js +4 -4
  254. package/dist/components/bq-icon2.js +11 -5
  255. package/dist/components/bq-icon2.js.map +1 -1
  256. package/dist/components/bq-input.js +4 -4
  257. package/dist/components/bq-notification.js +25 -17
  258. package/dist/components/bq-notification.js.map +1 -1
  259. package/dist/components/bq-option-group.js +1 -1
  260. package/dist/components/bq-option-list2.js +1 -1
  261. package/dist/components/bq-option.js +4 -4
  262. package/dist/components/bq-page-title.js +2 -2
  263. package/dist/components/bq-panel2.js +1 -1
  264. package/dist/components/bq-progress.js +4 -4
  265. package/dist/components/bq-radio-group.js +1 -1
  266. package/dist/components/bq-radio.js +2 -2
  267. package/dist/components/bq-select.js +19 -13
  268. package/dist/components/bq-select.js.map +1 -1
  269. package/dist/components/bq-side-menu.js +1 -1
  270. package/dist/components/bq-slider.js +10 -4
  271. package/dist/components/bq-slider.js.map +1 -1
  272. package/dist/components/bq-spinner.js +4 -4
  273. package/dist/components/bq-status.js +1 -1
  274. package/dist/components/bq-step-item.js +7 -4
  275. package/dist/components/bq-step-item.js.map +1 -1
  276. package/dist/components/bq-steps.js +1 -1
  277. package/dist/components/bq-switch.js +2 -2
  278. package/dist/components/bq-tab-group.js +3 -3
  279. package/dist/components/bq-tab.js +2 -2
  280. package/dist/components/bq-tag2.js +4 -4
  281. package/dist/components/bq-textarea.js +3 -3
  282. package/dist/components/bq-toast.js +28 -29
  283. package/dist/components/bq-toast.js.map +1 -1
  284. package/dist/components/bq-tooltip2.js +1 -1
  285. package/dist/esm/assetsPath-c02b0e16.js +86 -0
  286. package/dist/esm/assetsPath-c02b0e16.js.map +1 -0
  287. package/dist/esm/beeq.js +3 -3
  288. package/dist/esm/bq-accordion-group.entry.js +2 -2
  289. package/dist/esm/bq-accordion.entry.js +2 -2
  290. package/dist/esm/bq-alert.entry.js +19 -25
  291. package/dist/esm/bq-alert.entry.js.map +1 -1
  292. package/dist/esm/bq-avatar.entry.js +5 -5
  293. package/dist/esm/bq-badge.entry.js +4 -4
  294. package/dist/esm/bq-breadcrumb-item.entry.js +6 -6
  295. package/dist/esm/bq-breadcrumb.entry.js +3 -3
  296. package/dist/esm/bq-button_2.entry.js +16 -10
  297. package/dist/esm/bq-button_2.entry.js.map +1 -1
  298. package/dist/esm/bq-card.entry.js +4 -4
  299. package/dist/esm/bq-checkbox.entry.js +4 -4
  300. package/dist/esm/bq-date-picker.entry.js +10 -7
  301. package/dist/esm/bq-date-picker.entry.js.map +1 -1
  302. package/dist/esm/bq-dialog.entry.js +7 -7
  303. package/dist/esm/bq-divider.entry.js +9 -6
  304. package/dist/esm/bq-divider.entry.js.map +1 -1
  305. package/dist/esm/bq-drawer.entry.js +7 -7
  306. package/dist/esm/bq-dropdown_2.entry.js +3 -3
  307. package/dist/esm/bq-empty-state.entry.js +6 -6
  308. package/dist/esm/bq-input.entry.js +7 -7
  309. package/dist/esm/bq-notification.entry.js +26 -19
  310. package/dist/esm/bq-notification.entry.js.map +1 -1
  311. package/dist/esm/bq-option-group.entry.js +2 -2
  312. package/dist/esm/bq-option-list_2.entry.js +7 -7
  313. package/dist/esm/bq-option.entry.js +6 -6
  314. package/dist/esm/bq-page-title.entry.js +4 -4
  315. package/dist/esm/bq-progress.entry.js +6 -6
  316. package/dist/esm/bq-radio-group.entry.js +3 -3
  317. package/dist/esm/bq-radio.entry.js +3 -3
  318. package/dist/esm/bq-select.entry.js +22 -16
  319. package/dist/esm/bq-select.entry.js.map +1 -1
  320. package/dist/esm/bq-side-menu-item.entry.js +2 -2
  321. package/dist/esm/bq-side-menu.entry.js +3 -3
  322. package/dist/esm/bq-slider.entry.js +12 -6
  323. package/dist/esm/bq-slider.entry.js.map +1 -1
  324. package/dist/esm/bq-spinner.entry.js +6 -6
  325. package/dist/esm/bq-status.entry.js +3 -3
  326. package/dist/esm/bq-step-item.entry.js +9 -6
  327. package/dist/esm/bq-step-item.entry.js.map +1 -1
  328. package/dist/esm/bq-steps.entry.js +3 -3
  329. package/dist/esm/bq-switch.entry.js +4 -4
  330. package/dist/esm/bq-tab-group.entry.js +5 -5
  331. package/dist/esm/bq-tab.entry.js +4 -4
  332. package/dist/esm/bq-textarea.entry.js +5 -5
  333. package/dist/esm/bq-toast.entry.js +29 -31
  334. package/dist/esm/bq-toast.entry.js.map +1 -1
  335. package/dist/esm/bq-tooltip.entry.js +2 -2
  336. package/dist/esm/{index-efc1c2ef.js → index-f69556fe.js} +20 -2
  337. package/dist/esm/index-f69556fe.js.map +1 -0
  338. package/dist/esm/index.js +3 -3
  339. package/dist/esm/{isDefined-91ae4cd3.js → isDefined-1e676215.js} +2 -2
  340. package/dist/esm/{isDefined-91ae4cd3.js.map → isDefined-1e676215.js.map} +1 -1
  341. package/dist/esm/loader.js +3 -3
  342. package/dist/hydrate/index.js +281 -201
  343. package/dist/hydrate/index.mjs +281 -201
  344. package/dist/stencil.config.js +6 -0
  345. package/dist/stencil.config.js.map +1 -1
  346. package/dist/types/components/alert/bq-alert.d.ts +10 -4
  347. package/dist/types/components/date-picker/bq-date-picker.d.ts +1 -0
  348. package/dist/types/components/divider/bq-divider.d.ts +1 -0
  349. package/dist/types/components/icon/bq-icon.d.ts +3 -1
  350. package/dist/types/components/notification/bq-notification.d.ts +8 -0
  351. package/dist/types/components/select/bq-select.d.ts +2 -0
  352. package/dist/types/components/slider/bq-slider.d.ts +2 -0
  353. package/dist/types/components/step-item/bq-step-item.d.ts +1 -0
  354. package/dist/types/components/toast/bq-toast.d.ts +5 -0
  355. package/dist/types/components.d.ts +8 -8
  356. package/dist/types/index.d.ts +1 -1
  357. package/dist/types/shared/utils/assetsPath.d.ts +18 -11
  358. package/package.json +4 -4
  359. package/dist/beeq/p-235328ee.entry.js +0 -6
  360. package/dist/beeq/p-255fcbe4.entry.js +0 -6
  361. package/dist/beeq/p-268dc1e3.entry.js +0 -6
  362. package/dist/beeq/p-268dc1e3.entry.js.map +0 -1
  363. package/dist/beeq/p-3aa41d80.entry.js +0 -6
  364. package/dist/beeq/p-3aa41d80.entry.js.map +0 -1
  365. package/dist/beeq/p-3b2ce34b.entry.js +0 -6
  366. package/dist/beeq/p-41bac721.entry.js +0 -6
  367. package/dist/beeq/p-4739f5c3.entry.js +0 -6
  368. package/dist/beeq/p-4ba2bec7.entry.js +0 -6
  369. package/dist/beeq/p-52577f3a.entry.js +0 -6
  370. package/dist/beeq/p-571b40ff.entry.js +0 -6
  371. package/dist/beeq/p-606c080c.entry.js +0 -6
  372. package/dist/beeq/p-606c080c.entry.js.map +0 -1
  373. package/dist/beeq/p-633319f3.entry.js +0 -6
  374. package/dist/beeq/p-63ad9702.entry.js +0 -6
  375. package/dist/beeq/p-6e026fad.entry.js +0 -6
  376. package/dist/beeq/p-6edc8a33.js +0 -6
  377. package/dist/beeq/p-6edc8a33.js.map +0 -1
  378. package/dist/beeq/p-76e714c6.js +0 -7
  379. package/dist/beeq/p-76e714c6.js.map +0 -1
  380. package/dist/beeq/p-79b7547b.entry.js +0 -6
  381. package/dist/beeq/p-7f23cde7.entry.js +0 -6
  382. package/dist/beeq/p-7f23cde7.entry.js.map +0 -1
  383. package/dist/beeq/p-8059836c.entry.js +0 -6
  384. package/dist/beeq/p-8b7c7049.entry.js +0 -6
  385. package/dist/beeq/p-8b7c7049.entry.js.map +0 -1
  386. package/dist/beeq/p-90c5851d.entry.js +0 -6
  387. package/dist/beeq/p-94d62f1b.entry.js +0 -6
  388. package/dist/beeq/p-96d7f361.entry.js +0 -6
  389. package/dist/beeq/p-9acfedb8.entry.js +0 -6
  390. package/dist/beeq/p-9acfedb8.entry.js.map +0 -1
  391. package/dist/beeq/p-9c6c6646.entry.js +0 -6
  392. package/dist/beeq/p-9cd26e8d.entry.js +0 -6
  393. package/dist/beeq/p-9cd26e8d.entry.js.map +0 -1
  394. package/dist/beeq/p-9f40249f.entry.js +0 -6
  395. package/dist/beeq/p-a006be9e.entry.js +0 -6
  396. package/dist/beeq/p-a7b0fd0b.entry.js +0 -6
  397. package/dist/beeq/p-a8cb8989.entry.js +0 -6
  398. package/dist/beeq/p-ae8ffb81.entry.js +0 -6
  399. package/dist/beeq/p-aee056e5.js +0 -6
  400. package/dist/beeq/p-b7281046.entry.js +0 -6
  401. package/dist/beeq/p-b90c6de9.entry.js +0 -6
  402. package/dist/beeq/p-b9544567.entry.js +0 -6
  403. package/dist/beeq/p-be664fb0.entry.js +0 -6
  404. package/dist/beeq/p-c9c942e6.entry.js +0 -6
  405. package/dist/beeq/p-d2bbae3b.entry.js +0 -6
  406. package/dist/beeq/p-ddb23180.entry.js +0 -6
  407. package/dist/beeq/p-ddb23180.entry.js.map +0 -1
  408. package/dist/beeq/p-e6382462.entry.js +0 -6
  409. package/dist/beeq/p-eab59153.entry.js +0 -6
  410. package/dist/beeq/p-eab59153.entry.js.map +0 -1
  411. package/dist/beeq/p-eddb77c7.entry.js +0 -6
  412. package/dist/cjs/assetsPath-eac0a3bf.js +0 -52
  413. package/dist/cjs/assetsPath-eac0a3bf.js.map +0 -1
  414. package/dist/cjs/index-e6d59dbb.js.map +0 -1
  415. package/dist/esm/assetsPath-ae18c25e.js +0 -49
  416. package/dist/esm/assetsPath-ae18c25e.js.map +0 -1
  417. package/dist/esm/index-efc1c2ef.js.map +0 -1
@@ -6,8 +6,8 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-e6d59dbb.js');
10
- require('./assetsPath-eac0a3bf.js');
9
+ const index = require('./index-1d3aac65.js');
10
+ require('./assetsPath-7ead23b7.js');
11
11
  const clamp = require('./clamp-dbbea7bf.js');
12
12
  const debounce = require('./debounce-f94a239b.js');
13
13
  const isNil = require('./isNil-f93429a2.js');
@@ -34,6 +34,11 @@ const BqSlider = class {
34
34
  // Internal business logic.
35
35
  // These methods cannot be called from the host element.
36
36
  // =======================================================
37
+ this.init = () => {
38
+ this.handleGapChange(this.gap);
39
+ this.setState(this.value);
40
+ this.handleStepPropChange();
41
+ };
37
42
  this.runUpdates = () => {
38
43
  this.updateProgressTrack();
39
44
  this.syncInputsValue();
@@ -196,9 +201,10 @@ const BqSlider = class {
196
201
  // Ordered by their natural call order
197
202
  // =====================================
198
203
  connectedCallback() {
199
- this.handleGapChange(this.gap);
200
- this.setState(this.value);
201
- this.handleStepPropChange();
204
+ this.init();
205
+ }
206
+ componentWillLoad() {
207
+ this.init();
202
208
  }
203
209
  componentDidLoad() {
204
210
  this.runUpdates();
@@ -220,7 +226,7 @@ const BqSlider = class {
220
226
  // Always the last one in the class.
221
227
  // ===================================
222
228
  render() {
223
- return (index.h("div", { key: 'e5cc501e43ecb6b226dfc155a8cdd2695d321e82', "aria-disabled": this.disabled ? 'true' : 'false', class: { 'flex is-full': true, 'cursor-not-allowed opacity-60': this.disabled }, part: "base" }, this.renderLabel(this.minValue, 'start', 'me-xs text-end'), index.h("div", { key: '8981fe81b253e935b9768b10bc4a7b1e8094be61', class: "relative is-full", part: "container" }, index.h("span", { key: 'bda764fef71c4fa0fa8ef5b2ae2eac7abb5010ea', class: "absolute start-0 -translate-y-1/2 rounded-xs bg-[--bq-slider--trackarea-color] bs-1 is-full inset-bs-[50%]", ref: (elem) => (this.trackElem = elem), part: "track-area" }), index.h("span", { key: 'fb6871c348b5b41b29f9be40cd5c449a405e281c', class: "absolute -translate-y-1/2 rounded-xs bg-[--bq-slider--progress-color] bs-1 is-[50%] inset-bs-[50%]", ref: (elem) => (this.progressElem = elem), part: "progress-area" }), this.enableTooltip &&
229
+ return (index.h("div", { key: '7e5e51fd0071e51d0044aad5806ca6f0830effd6', "aria-disabled": this.disabled ? 'true' : 'false', class: { 'flex is-full': true, 'cursor-not-allowed opacity-60': this.disabled }, part: "base" }, this.renderLabel(this.minValue, 'start', 'me-xs text-end'), index.h("div", { key: 'a634215936756adc80b3b1334be46e043d56e0e5', class: "relative is-full", part: "container" }, index.h("span", { key: '84706af7ff86d2f7552671716e202c5c1cf2726a', class: "absolute start-0 -translate-y-1/2 rounded-xs bg-[--bq-slider--trackarea-color] bs-1 is-full inset-bs-[50%]", ref: (elem) => (this.trackElem = elem), part: "track-area" }), index.h("span", { key: 'be9989047cee5228530fe55522341adc818bac2e', class: "absolute -translate-y-1/2 rounded-xs bg-[--bq-slider--progress-color] bs-1 is-[50%] inset-bs-[50%]", ref: (elem) => (this.progressElem = elem), part: "progress-area" }), this.enableTooltip &&
224
230
  this.renderTooltip(this.minValue, this.minThumbPosition, (elem) => (this.minTooltipElem = elem)), this.renderInput('min', this.minValue, (input) => (this.inputMinElem = input)), this.enableTooltip &&
225
231
  this.isRangeType &&
226
232
  this.renderTooltip(this.maxValue, this.maxThumbPosition, (elem) => (this.maxTooltipElem = elem)), this.isRangeType && this.renderInput('max', this.maxValue, (input) => (this.inputMaxElem = input))), this.renderLabel(this.maxValue, 'end', 'ms-xs text-start')));
@@ -1 +1 @@
1
- {"file":"bq-slider.entry.cjs.js","mappings":";;;;;;;;;;;;;;;AAAA,MAAM,WAAW,GAAG,+pzBAA+pzB,CAAC;AACprzB,uBAAe,WAAW;;MCqBb,QAAQ;;;;;;;;;;;;;;;;;;QAsJX,eAAU,GAAG;YACnB,IAAI,CAAC,mBAAmB,EAAE,CAAC;YAC3B,IAAI,CAAC,eAAe,EAAE,CAAC;YACvB,IAAI,CAAC,gBAAgB,EAAE,CAAC;SACzB,CAAC;QAEM,aAAQ,GAAG,CAAC,QAAsB;YACxC,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;YACrC,MAAM,KAAK,GAAG,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;YAE5C,IAAI,CAAC,QAAQ,GAAG,WAAW,GAAGA,WAAK,CA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,CACvD,EACN;KACH;;;;;;;;;;;;;","names":["clamp","isString","debounce","h","isNil"],"sources":["../../packages/beeq/src/components/slider/scss/bq-slider.scss?tag=bq-slider&encapsulation=shadow","../../packages/beeq/src/components/slider/bq-slider.tsx"],"sourcesContent":["/* -------------------------------------------------------------------------- */\n/* Slider styles */\n/* -------------------------------------------------------------------------- */\n\n@import './bq-slider.variables';\n\n@layer components {\n .thumb {\n @apply pointer-events-auto box-content size-[--bq-slider--thumb-size] cursor-pointer appearance-none rounded-full border-m border-solid border-stroke-brand bg-ui-primary;\n @apply transition-[background-color,border-color,box-shadow] duration-300;\n }\n\n .thumb-focus {\n @apply focus;\n }\n\n .thumb-hover {\n @apply border-hover-stroke-brand;\n }\n\n .thumb-active {\n @apply cursor-grabbing bg-active-ui-brand border-active-stroke-brand;\n }\n}\n\n:host {\n @apply block is-full;\n}\n\n/* ---------------------- Webkit (Chrome, Safari, Edge) --------------------- */\n\ninput[type='range']::-webkit-slider-thumb {\n @apply thumb;\n}\n\ninput[type='range']::-webkit-slider-runnable-track {\n @apply transition-all duration-300 ease-in;\n}\n\ninput[type='range']:focus-visible::-webkit-slider-thumb {\n @apply thumb-focus;\n}\n\ninput[type='range']:hover::-webkit-slider-thumb {\n @apply thumb-hover;\n}\n\ninput[type='range']:active::-webkit-slider-thumb {\n @apply thumb-active;\n}\n\ninput[type='range'][disabled]::-webkit-slider-thumb {\n @apply cursor-not-allowed;\n}\n\n/* ---------------------------- Mozilla (Firefox) --------------------------- */\n\ninput[type='range']::-moz-range-thumb {\n @apply thumb;\n}\n\ninput[type='range']::-moz-range-track {\n @apply transition-all duration-300 ease-in;\n}\n\ninput[type='range']:focus-visible::-moz-range-thumb {\n @apply thumb-focus;\n}\n\ninput[type='range']:hover::-moz-range-thumb {\n @apply thumb-hover;\n}\n\ninput[type='range']:active::-moz-range-thumb {\n @apply thumb-active;\n}\n\ninput[type='range'][disabled]::-moz-range-thumb {\n @apply cursor-not-allowed;\n}\n","import { Component, Element, Event, EventEmitter, h, Prop, State, Watch } from '@stencil/core';\n\nimport { TSliderType, TSliderValue } from './bq-slider.types';\nimport { clamp, debounce, isNil, isString, TDebounce } from '../../shared/utils';\n\n/**\n * @part base - The component's base wrapper.\n * @part container - The container of the slider.\n * @part track-area - The track area of the slider.\n * @part progress-area - The progress area of the slider.\n * @part input-min - The input element for the value when the slider type is `single` or the minimum value when the slider type is `range`.\n * @part input-max - The input element for the maximum value.\n * @part label-start - The label for the value when the slider type is `single` or the minimum value when the slider type is `range`.\n * @part label-end - The label for maximum value when the slider type is `range`.\n */\n@Component({\n tag: 'bq-slider',\n styleUrl: './scss/bq-slider.scss',\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class BqSlider {\n // Own Properties\n // ====================\n\n private inputMinElem: HTMLInputElement;\n private inputMaxElem: HTMLInputElement;\n private minTooltipElem: HTMLBqTooltipElement;\n private maxTooltipElem: HTMLBqTooltipElement;\n private progressElem: HTMLSpanElement;\n private trackElem: HTMLSpanElement;\n private debounceBqChange: TDebounce<void>;\n\n // Reference to host HTML element\n // ===================================\n\n @Element() el!: HTMLBqSliderElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n /**\n * The `minValue` state is the only value when the slider type is `single`\n * and the minimum value when the slider type is `range`.\n */\n @State() minValue: number;\n /** The `maxValue` state is only used when the slider type is `range`. */\n @State() maxValue: number;\n /** It hold the left position of the Thumb for the value or the minimum value (if the slider type is `range`) */\n @State() minThumbPosition: number;\n /** It hold the left position of the Thumb for the maximum value (if the slider type is `range`) */\n @State() maxThumbPosition: number;\n\n // Public Property API\n // ========================\n\n /** The amount of time, in milliseconds, to wait to trigger the `bqChange` event after each value change. */\n @Prop({ reflect: true }) debounceTime = 0;\n\n /** If `true` the slider is disabled. */\n @Prop({ reflect: true }) disabled? = false;\n\n /** If `true` it will show the value label on a side of the slider track area */\n @Prop({ reflect: true }) enableValueIndicator? = false;\n\n /** A number representing the amount to remain between the minimum and maximum values (only for range type). */\n @Prop({ reflect: true, mutable: true }) gap = 0;\n\n /** A number representing the max value of the slider. */\n @Prop({ reflect: true }) max = 100;\n\n /** A number representing the min value of the slider. */\n @Prop({ reflect: true }) min = 0;\n\n /**\n * A number representing the step of the slider.\n * ⚠️ Please notice that the value (or list of values if the slider type is `range`) will be rounded to the nearest multiple of `step`.\n */\n @Prop({ reflect: true }) step = 1;\n\n /** It defines the type of slider to display */\n @Prop({ reflect: true }) type: TSliderType = 'single';\n\n /**\n * The value of the slider.\n * - If the slider type is `single`, the value is a number.\n * - If the slider type is `range`, the value is an array of two numbers (the first number represents the `min` value and the second number represents the `max` value).\n */\n @Prop({ reflect: true, mutable: true }) value: TSliderValue;\n\n /** If `true`, a tooltip will be shown displaying the progress value */\n @Prop({ reflect: true }) enableTooltip: boolean = false;\n\n /**\n * If `true`, a tooltip will always display the progress value.\n * It relies on enableTooltip and if enableTooltip is false, tooltipAlwaysVisible cannot be true.\n */\n @Prop({ reflect: true }) tooltipAlwaysVisible: boolean = false;\n\n // Prop lifecycle events\n // =======================\n\n @Watch('value')\n handleValuePropChange(newValue: TSliderValue) {\n this.setState(newValue);\n this.emitBqChange();\n }\n\n @Watch('step')\n handleStepPropChange() {\n this.minValue = Math.round(this.minValue / this.step) * this.step;\n this.maxValue = Math.round(this.maxValue / this.step) * this.step;\n }\n\n @Watch('gap')\n handleGapChange(newValue: number) {\n if (!this.isRangeType) return;\n // Use the this.value prop value when the component is initialized\n // Otherwise, use the current this.min and this.max state values\n const value = !isNil(this.min) && !isNil(this.max) ? [this.min, this.max] : this.stringToObject(this.value);\n // If the gap is less than the min or greater than the max, set it to 0\n this.gap = newValue < value[0] || newValue > value[1] ? 0 : newValue;\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n /** Handler to be called when change the value on range inputs */\n @Event() bqChange: EventEmitter<{ value: Exclude<TSliderValue, string>; el: HTMLBqSliderElement }>;\n\n /** Handler to be called when the slider loses focus */\n @Event() bqBlur: EventEmitter<HTMLBqSliderElement>;\n\n /** Handler to be called when the slider gets focused */\n @Event() bqFocus: EventEmitter<HTMLBqSliderElement>;\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n connectedCallback() {\n this.handleGapChange(this.gap);\n this.setState(this.value);\n this.handleStepPropChange();\n }\n\n componentDidLoad() {\n this.runUpdates();\n }\n\n componentDidUpdate() {\n this.runUpdates();\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 runUpdates = () => {\n this.updateProgressTrack();\n this.syncInputsValue();\n this.setThumbPosition();\n };\n\n private setState = (newValue: TSliderValue) => {\n const isRangeType = this.isRangeType;\n const value = this.stringToObject(newValue);\n\n this.minValue = isRangeType ? clamp(value[0], this.min, this.max - this.gap) : value;\n this.maxValue = isRangeType ? clamp(value[1], this.minValue + this.gap, this.max) : this.minValue;\n };\n\n private setThumbPosition = () => {\n if (!this.enableTooltip) return;\n\n // Destructure the returned object from this.thumbPosition() and assign the properties to this.minThumbPosition and this.maxThumbPosition\n ({ minThumbPosition: this.minThumbPosition, maxThumbPosition: this.maxThumbPosition } = this.thumbPosition());\n };\n\n private syncInputsValue = () => {\n this.inputMinElem?.setAttribute('value', this.minValue.toString());\n this.inputMaxElem?.setAttribute('value', this.maxValue.toString());\n };\n\n private stringToObject = (value: TSliderValue) => (isString(value) ? JSON.parse(value) : value);\n\n private handleInputChange = (type: 'min' | 'max', event: InputEvent) => {\n const target = event.target as HTMLInputElement;\n const value = parseFloat(target.value);\n\n if (type === 'min') {\n this.minValue = this.isRangeType ? Math.min(value, this.maxValue - this.gap) : value;\n } else if (type === 'max') {\n this.maxValue = this.isRangeType ? Math.max(value, this.minValue + this.gap) : value;\n }\n\n // Update the input value to reflect the clamped value\n const reflectedValue = (type === 'min' ? this.minValue : this.maxValue).toString();\n target.value = reflectedValue;\n target.setAttribute('value', reflectedValue);\n\n // Sync the prop value.\n // This will trigger the `@Watch('value')` method and emit the `bqChange` event.\n this.value = this.isRangeType ? [this.minValue, this.maxValue] : this.minValue;\n };\n\n private calculatePercent = (value: number) => {\n const totalRange = Number(this.max) - Number(this.min);\n return (value / totalRange) * 100;\n };\n\n private updateProgressTrack = () => {\n if (!this.progressElem) return;\n\n // For range type, left starts from the `min` value and width is the difference between `max` and `min`.\n // For non-range type, left starts from 0 and width is the `min` value.\n const left = this.isRangeType ? this.calculatePercent(this.minValue) : 0;\n const width = this.isRangeType\n ? this.calculatePercent(Number(this.maxValue) - Number(this.minValue))\n : this.calculatePercent(this.minValue);\n\n this.progressElem.style.insetInlineStart = `${left}%`;\n this.progressElem.style.inlineSize = `${width}%`;\n };\n\n private calculateThumbPosition = (value: number): number => {\n if (!this.progressElem) return;\n\n // Get the width of the track area and the size of the input range thumb\n const trackAreaWidth = this.trackElem.getBoundingClientRect().width;\n // We need to also add 4px to the thumb size,\n // this is because the thumb is 2px border (`border-m`)\n const inputThumbSize = parseInt(getComputedStyle(this.el).getPropertyValue('--bq-slider--thumb-size'), 10) + 4;\n const totalWidth = trackAreaWidth - inputThumbSize;\n\n return ((value - this.min) / (this.max - this.min)) * totalWidth + inputThumbSize / 2;\n };\n\n private thumbPosition = (): { minThumbPosition: number; maxThumbPosition?: number } => {\n const minThumbPosition = this.calculateThumbPosition(this.minValue);\n const maxThumbPosition = this.isRangeType ? this.calculateThumbPosition(this.maxValue) : undefined;\n\n return { minThumbPosition, maxThumbPosition };\n };\n\n private emitBqChange = () => {\n this.debounceBqChange?.cancel();\n\n const value: Exclude<TSliderValue, string> = this.isRangeType ? [this.minValue, this.maxValue] : this.minValue;\n this.debounceBqChange = debounce(() => this.bqChange.emit({ value, el: this.el }), this.debounceTime);\n\n this.debounceBqChange();\n };\n\n private handleBlur = () => {\n this.bqBlur.emit(this.el);\n };\n\n private handleFocus = () => {\n this.bqFocus.emit(this.el);\n };\n\n private handleMouseDown = (event: MouseEvent) => {\n this.handleTooltipVisibility(event, 'remove');\n };\n\n private handleMouseUp = (event: MouseEvent) => {\n this.handleTooltipVisibility(event, 'add');\n };\n\n private handleTooltipVisibility = (event: MouseEvent, action: 'add' | 'remove') => {\n if (!this.enableTooltip || this.tooltipAlwaysVisible) return;\n\n const target = event.target as HTMLElement;\n const tooltipElem = target === this.inputMinElem ? this.minTooltipElem : this.maxTooltipElem;\n tooltipElem.classList[action]('hidden');\n };\n\n private get decimalCount(): number {\n // Return the length of the decimal part of the step value.\n return (this.step % 1).toFixed(10).split('.')[1].replace(/0+$/, '').length;\n }\n\n private get isRangeType() {\n return this.type === 'range';\n }\n\n private get isTooltipAlwaysVisible(): boolean {\n return this.tooltipAlwaysVisible && this.enableTooltip;\n }\n\n private renderLabel = (value: number, position: 'start' | 'end', css?: string) => {\n return (\n <span\n class={{\n [`${css} box-content block text-s font-medium leading-regular text-text-primary is-fit min-is-8 [font-variant:tabular-nums]`]:\n true,\n hidden: position === 'start' ? !this.enableValueIndicator : !this.enableValueIndicator || !this.isRangeType,\n }}\n part={`label-${position}`}\n >\n {value.toFixed(this.decimalCount)}\n </span>\n );\n };\n\n private renderInput = (type: 'max' | 'min', value: number, refCallback: (input: HTMLInputElement) => void) => {\n // Determine the zIndex value based on the type and the current min and max values.\n const zIndexValue = (type: 'min' | 'max'): string => {\n const zIndex = {\n min: this.minValue === this.min && this.maxValue === this.minValue,\n max: this.maxValue === this.max && this.minValue === this.maxValue,\n };\n\n // If the value of both thumbs is the same as the min or max value, set the zIndex to -1\n return zIndex[type] ? '-1' : '0';\n };\n\n return (\n <input\n type=\"range\"\n class={{\n 'absolute start-0 -translate-y-1/2 cursor-pointer appearance-none bg-transparent outline-none is-full inset-bs-[50%] disabled:cursor-not-allowed':\n true,\n 'pointer-events-none': this.isRangeType,\n }}\n style={this.isRangeType ? { zIndex: zIndexValue(type) } : undefined}\n disabled={this.disabled}\n min={this.min}\n max={this.max}\n step={this.step}\n ref={refCallback}\n onInput={(ev) => this.handleInputChange(type, ev)}\n onBlur={this.handleBlur}\n onFocus={this.handleFocus}\n onMouseDown={this.handleMouseDown}\n onMouseUp={this.handleMouseUp}\n value={value}\n part={`input-${type}`}\n />\n );\n };\n\n private renderTooltip = (\n value: number,\n thumbPosition: number,\n refCallback: (elem: HTMLBqTooltipElement) => void,\n ): HTMLBqTooltipElement => (\n <bq-tooltip\n class={{\n 'absolute [&::part(panel)]:absolute': true,\n hidden: !this.isTooltipAlwaysVisible,\n }}\n exportparts=\"base,trigger,panel\"\n alwaysVisible={true}\n distance={this.enableValueIndicator ? 6 : 16}\n style={{ insetInlineStart: `${thumbPosition}px`, fontVariant: 'tabular-nums' }}\n ref={refCallback}\n >\n <div class=\"absolute bs-1 is-1\" slot=\"trigger\" />\n {value.toFixed(this.decimalCount)}\n </bq-tooltip>\n );\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n return (\n <div\n aria-disabled={this.disabled ? 'true' : 'false'}\n class={{ 'flex is-full': true, 'cursor-not-allowed opacity-60': this.disabled }}\n part=\"base\"\n >\n {/* LABEL (start) */}\n {this.renderLabel(this.minValue, 'start', 'me-xs text-end')}\n {/* SLIDER */}\n <div class=\"relative is-full\" part=\"container\">\n {/* TRACK AREA */}\n <span\n class=\"absolute start-0 -translate-y-1/2 rounded-xs bg-[--bq-slider--trackarea-color] bs-1 is-full inset-bs-[50%]\"\n ref={(elem) => (this.trackElem = elem)}\n part=\"track-area\"\n />\n {/* PROGRESS AREA */}\n <span\n class=\"absolute -translate-y-1/2 rounded-xs bg-[--bq-slider--progress-color] bs-1 is-[50%] inset-bs-[50%]\"\n ref={(elem) => (this.progressElem = elem)}\n part=\"progress-area\"\n />\n {/* TOOLTIP on top of the value or min value (if the slider type is `range`) */}\n {this.enableTooltip &&\n this.renderTooltip(this.minValue, this.minThumbPosition, (elem) => (this.minTooltipElem = elem))}\n {/* INPUT (Min), used on single type */}\n {this.renderInput('min', this.minValue, (input) => (this.inputMinElem = input))}\n {/* TOOLTIP on top of the max value (if the slider type is `range`) */}\n {this.enableTooltip &&\n this.isRangeType &&\n this.renderTooltip(this.maxValue, this.maxThumbPosition, (elem) => (this.maxTooltipElem = elem))}\n {/* INPUT (Max) */}\n {this.isRangeType && this.renderInput('max', this.maxValue, (input) => (this.inputMaxElem = input))}\n </div>\n {/* LABEL (end) */}\n {this.renderLabel(this.maxValue, 'end', 'ms-xs text-start')}\n </div>\n );\n }\n}\n"],"version":3}
1
+ {"file":"bq-slider.entry.cjs.js","mappings":";;;;;;;;;;;;;;;AAAA,MAAM,WAAW,GAAG,+pzBAA+pzB,CAAC;AACprzB,uBAAe,WAAW;;MCqBb,QAAQ;;;;;;;;;;;;;;;;;;QAwJX,SAAI,GAAG;YACb,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YAC/B,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;YAC1B,IAAI,CAAC,oBAAoB,EAAE,CAAC;SAC7B,CAAC;QAEM,eAAU,GAAG;YACnB,IAAI,CAAC,mBAAmB,EAAE,CAAC;YAC3B,IAAI,CAAC,eAAe,EAAE,CAAC;YACvB,IAAI,CAAC,gBAAgB,EAAE,CAAC;SACzB,CAAC;QAEM,aAAQ,GAAG,CAAC,QAAsB;YACxC,MAAM,WAAW,GAAG,IAAI,CAAC,WAAW,CAAC;YACrC,MAAM,KAAK,GAAG,IAAI,CAAC,cAAc,CAAC,QAAQ,CAAC,CAAC;YAE5C,IAAI,CAAC,QAAQ,GAAG,WAAW,GAAGA,WAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,GAAG,EAAE,IAAI,CAAC,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;YACrF,IAAI,CAAC,QAAQ,GAAG,WAAW,GAAGA,WAAK,CAAC,KAAK,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,QAAQ,GAAG,IAAI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AAS,GAAG,IAAI,CAAC,EACtC,IAAI,EAAC,YAAY,GACjB,EAEFA,mEACE,KAAK,EAAC,oGAAoG,EAC1G,GAAG,EAAE,CAAC,IAAI,MAAM,IAAI,CAAC,YAAY,GAAG,IAAI,CAAC,EACzC,IAAI,EAAC,eAAe,GACpB,EAED,IAAI,CAAC,aAAa;YACjB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,gBAAgB,EAAE,CAAC,IAAI,MAAM,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC,EAEjG,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,KAAK,MAAM,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,CAAC,EAE9E,IAAI,CAAC,aAAa;YACjB,IAAI,CAAC,WAAW;YAChB,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,QAAQ,EAAE,IAAI,CAAC,gBAAgB,EAAE,CAAC,IAAI,MAAM,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,CAAC,EAEjG,IAAI,CAAC,WAAW,IAAI,IAAI,CAAC,WAAW,CAAC,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE,CAAC,KAAK,MAAM,IAAI,CAAC,YAAY,GAAG,KAAK,CAAC,CAAC,CAC/F,EAEL,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,QAAQ,EAAE,KAAK,EAAE,kBAAkB,CAAC,CACvD,EACN;KACH;;;;;;;;;;;;;","names":["clamp","isString","debounce","h","isNil"],"sources":["../../packages/beeq/src/components/slider/scss/bq-slider.scss?tag=bq-slider&encapsulation=shadow","../../packages/beeq/src/components/slider/bq-slider.tsx"],"sourcesContent":["/* -------------------------------------------------------------------------- */\n/* Slider styles */\n/* -------------------------------------------------------------------------- */\n\n@import './bq-slider.variables';\n\n@layer components {\n .thumb {\n @apply pointer-events-auto box-content size-[--bq-slider--thumb-size] cursor-pointer appearance-none rounded-full border-m border-solid border-stroke-brand bg-ui-primary;\n @apply transition-[background-color,border-color,box-shadow] duration-300;\n }\n\n .thumb-focus {\n @apply focus;\n }\n\n .thumb-hover {\n @apply border-hover-stroke-brand;\n }\n\n .thumb-active {\n @apply cursor-grabbing bg-active-ui-brand border-active-stroke-brand;\n }\n}\n\n:host {\n @apply block is-full;\n}\n\n/* ---------------------- Webkit (Chrome, Safari, Edge) --------------------- */\n\ninput[type='range']::-webkit-slider-thumb {\n @apply thumb;\n}\n\ninput[type='range']::-webkit-slider-runnable-track {\n @apply transition-all duration-300 ease-in;\n}\n\ninput[type='range']:focus-visible::-webkit-slider-thumb {\n @apply thumb-focus;\n}\n\ninput[type='range']:hover::-webkit-slider-thumb {\n @apply thumb-hover;\n}\n\ninput[type='range']:active::-webkit-slider-thumb {\n @apply thumb-active;\n}\n\ninput[type='range'][disabled]::-webkit-slider-thumb {\n @apply cursor-not-allowed;\n}\n\n/* ---------------------------- Mozilla (Firefox) --------------------------- */\n\ninput[type='range']::-moz-range-thumb {\n @apply thumb;\n}\n\ninput[type='range']::-moz-range-track {\n @apply transition-all duration-300 ease-in;\n}\n\ninput[type='range']:focus-visible::-moz-range-thumb {\n @apply thumb-focus;\n}\n\ninput[type='range']:hover::-moz-range-thumb {\n @apply thumb-hover;\n}\n\ninput[type='range']:active::-moz-range-thumb {\n @apply thumb-active;\n}\n\ninput[type='range'][disabled]::-moz-range-thumb {\n @apply cursor-not-allowed;\n}\n","import { Component, Element, Event, EventEmitter, h, Prop, State, Watch } from '@stencil/core';\n\nimport { TSliderType, TSliderValue } from './bq-slider.types';\nimport { clamp, debounce, isNil, isString, TDebounce } from '../../shared/utils';\n\n/**\n * @part base - The component's base wrapper.\n * @part container - The container of the slider.\n * @part track-area - The track area of the slider.\n * @part progress-area - The progress area of the slider.\n * @part input-min - The input element for the value when the slider type is `single` or the minimum value when the slider type is `range`.\n * @part input-max - The input element for the maximum value.\n * @part label-start - The label for the value when the slider type is `single` or the minimum value when the slider type is `range`.\n * @part label-end - The label for maximum value when the slider type is `range`.\n */\n@Component({\n tag: 'bq-slider',\n styleUrl: './scss/bq-slider.scss',\n shadow: {\n delegatesFocus: true,\n },\n})\nexport class BqSlider {\n // Own Properties\n // ====================\n\n private inputMinElem: HTMLInputElement;\n private inputMaxElem: HTMLInputElement;\n private minTooltipElem: HTMLBqTooltipElement;\n private maxTooltipElem: HTMLBqTooltipElement;\n private progressElem: HTMLSpanElement;\n private trackElem: HTMLSpanElement;\n private debounceBqChange: TDebounce<void>;\n\n // Reference to host HTML element\n // ===================================\n\n @Element() el!: HTMLBqSliderElement;\n\n // State() variables\n // Inlined decorator, alphabetical order\n // =======================================\n\n /**\n * The `minValue` state is the only value when the slider type is `single`\n * and the minimum value when the slider type is `range`.\n */\n @State() minValue: number;\n /** The `maxValue` state is only used when the slider type is `range`. */\n @State() maxValue: number;\n /** It hold the left position of the Thumb for the value or the minimum value (if the slider type is `range`) */\n @State() minThumbPosition: number;\n /** It hold the left position of the Thumb for the maximum value (if the slider type is `range`) */\n @State() maxThumbPosition: number;\n\n // Public Property API\n // ========================\n\n /** The amount of time, in milliseconds, to wait to trigger the `bqChange` event after each value change. */\n @Prop({ reflect: true }) debounceTime = 0;\n\n /** If `true` the slider is disabled. */\n @Prop({ reflect: true }) disabled? = false;\n\n /** If `true` it will show the value label on a side of the slider track area */\n @Prop({ reflect: true }) enableValueIndicator? = false;\n\n /** A number representing the amount to remain between the minimum and maximum values (only for range type). */\n @Prop({ reflect: true, mutable: true }) gap = 0;\n\n /** A number representing the max value of the slider. */\n @Prop({ reflect: true }) max = 100;\n\n /** A number representing the min value of the slider. */\n @Prop({ reflect: true }) min = 0;\n\n /**\n * A number representing the step of the slider.\n * ⚠️ Please notice that the value (or list of values if the slider type is `range`) will be rounded to the nearest multiple of `step`.\n */\n @Prop({ reflect: true }) step = 1;\n\n /** It defines the type of slider to display */\n @Prop({ reflect: true }) type: TSliderType = 'single';\n\n /**\n * The value of the slider.\n * - If the slider type is `single`, the value is a number.\n * - If the slider type is `range`, the value is an array of two numbers (the first number represents the `min` value and the second number represents the `max` value).\n */\n @Prop({ reflect: true, mutable: true }) value: TSliderValue;\n\n /** If `true`, a tooltip will be shown displaying the progress value */\n @Prop({ reflect: true }) enableTooltip: boolean = false;\n\n /**\n * If `true`, a tooltip will always display the progress value.\n * It relies on enableTooltip and if enableTooltip is false, tooltipAlwaysVisible cannot be true.\n */\n @Prop({ reflect: true }) tooltipAlwaysVisible: boolean = false;\n\n // Prop lifecycle events\n // =======================\n\n @Watch('value')\n handleValuePropChange(newValue: TSliderValue) {\n this.setState(newValue);\n this.emitBqChange();\n }\n\n @Watch('step')\n handleStepPropChange() {\n this.minValue = Math.round(this.minValue / this.step) * this.step;\n this.maxValue = Math.round(this.maxValue / this.step) * this.step;\n }\n\n @Watch('gap')\n handleGapChange(newValue: number) {\n if (!this.isRangeType) return;\n // Use the this.value prop value when the component is initialized\n // Otherwise, use the current this.min and this.max state values\n const value = !isNil(this.min) && !isNil(this.max) ? [this.min, this.max] : this.stringToObject(this.value);\n // If the gap is less than the min or greater than the max, set it to 0\n this.gap = newValue < value[0] || newValue > value[1] ? 0 : newValue;\n }\n\n // Events section\n // Requires JSDocs for public API documentation\n // ==============================================\n\n /** Handler to be called when change the value on range inputs */\n @Event() bqChange: EventEmitter<{ value: Exclude<TSliderValue, string>; el: HTMLBqSliderElement }>;\n\n /** Handler to be called when the slider loses focus */\n @Event() bqBlur: EventEmitter<HTMLBqSliderElement>;\n\n /** Handler to be called when the slider gets focused */\n @Event() bqFocus: EventEmitter<HTMLBqSliderElement>;\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n connectedCallback() {\n this.init();\n }\n\n componentWillLoad() {\n this.init();\n }\n\n componentDidLoad() {\n this.runUpdates();\n }\n\n componentDidUpdate() {\n this.runUpdates();\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 init = () => {\n this.handleGapChange(this.gap);\n this.setState(this.value);\n this.handleStepPropChange();\n };\n\n private runUpdates = () => {\n this.updateProgressTrack();\n this.syncInputsValue();\n this.setThumbPosition();\n };\n\n private setState = (newValue: TSliderValue) => {\n const isRangeType = this.isRangeType;\n const value = this.stringToObject(newValue);\n\n this.minValue = isRangeType ? clamp(value[0], this.min, this.max - this.gap) : value;\n this.maxValue = isRangeType ? clamp(value[1], this.minValue + this.gap, this.max) : this.minValue;\n };\n\n private setThumbPosition = () => {\n if (!this.enableTooltip) return;\n\n // Destructure the returned object from this.thumbPosition() and assign the properties to this.minThumbPosition and this.maxThumbPosition\n ({ minThumbPosition: this.minThumbPosition, maxThumbPosition: this.maxThumbPosition } = this.thumbPosition());\n };\n\n private syncInputsValue = () => {\n this.inputMinElem?.setAttribute('value', this.minValue.toString());\n this.inputMaxElem?.setAttribute('value', this.maxValue.toString());\n };\n\n private stringToObject = (value: TSliderValue) => (isString(value) ? JSON.parse(value) : value);\n\n private handleInputChange = (type: 'min' | 'max', event: InputEvent) => {\n const target = event.target as HTMLInputElement;\n const value = parseFloat(target.value);\n\n if (type === 'min') {\n this.minValue = this.isRangeType ? Math.min(value, this.maxValue - this.gap) : value;\n } else if (type === 'max') {\n this.maxValue = this.isRangeType ? Math.max(value, this.minValue + this.gap) : value;\n }\n\n // Update the input value to reflect the clamped value\n const reflectedValue = (type === 'min' ? this.minValue : this.maxValue).toString();\n target.value = reflectedValue;\n target.setAttribute('value', reflectedValue);\n\n // Sync the prop value.\n // This will trigger the `@Watch('value')` method and emit the `bqChange` event.\n this.value = this.isRangeType ? [this.minValue, this.maxValue] : this.minValue;\n };\n\n private calculatePercent = (value: number) => {\n const totalRange = Number(this.max) - Number(this.min);\n return (value / totalRange) * 100;\n };\n\n private updateProgressTrack = () => {\n if (!this.progressElem) return;\n\n // For range type, left starts from the `min` value and width is the difference between `max` and `min`.\n // For non-range type, left starts from 0 and width is the `min` value.\n const left = this.isRangeType ? this.calculatePercent(this.minValue) : 0;\n const width = this.isRangeType\n ? this.calculatePercent(Number(this.maxValue) - Number(this.minValue))\n : this.calculatePercent(this.minValue);\n\n this.progressElem.style.insetInlineStart = `${left}%`;\n this.progressElem.style.inlineSize = `${width}%`;\n };\n\n private calculateThumbPosition = (value: number): number => {\n if (!this.progressElem) return;\n\n // Get the width of the track area and the size of the input range thumb\n const trackAreaWidth = this.trackElem.getBoundingClientRect().width;\n // We need to also add 4px to the thumb size,\n // this is because the thumb is 2px border (`border-m`)\n const inputThumbSize = parseInt(getComputedStyle(this.el).getPropertyValue('--bq-slider--thumb-size'), 10) + 4;\n const totalWidth = trackAreaWidth - inputThumbSize;\n\n return ((value - this.min) / (this.max - this.min)) * totalWidth + inputThumbSize / 2;\n };\n\n private thumbPosition = (): { minThumbPosition: number; maxThumbPosition?: number } => {\n const minThumbPosition = this.calculateThumbPosition(this.minValue);\n const maxThumbPosition = this.isRangeType ? this.calculateThumbPosition(this.maxValue) : undefined;\n\n return { minThumbPosition, maxThumbPosition };\n };\n\n private emitBqChange = () => {\n this.debounceBqChange?.cancel();\n\n const value: Exclude<TSliderValue, string> = this.isRangeType ? [this.minValue, this.maxValue] : this.minValue;\n this.debounceBqChange = debounce(() => this.bqChange.emit({ value, el: this.el }), this.debounceTime);\n\n this.debounceBqChange();\n };\n\n private handleBlur = () => {\n this.bqBlur.emit(this.el);\n };\n\n private handleFocus = () => {\n this.bqFocus.emit(this.el);\n };\n\n private handleMouseDown = (event: MouseEvent) => {\n this.handleTooltipVisibility(event, 'remove');\n };\n\n private handleMouseUp = (event: MouseEvent) => {\n this.handleTooltipVisibility(event, 'add');\n };\n\n private handleTooltipVisibility = (event: MouseEvent, action: 'add' | 'remove') => {\n if (!this.enableTooltip || this.tooltipAlwaysVisible) return;\n\n const target = event.target as HTMLElement;\n const tooltipElem = target === this.inputMinElem ? this.minTooltipElem : this.maxTooltipElem;\n tooltipElem.classList[action]('hidden');\n };\n\n private get decimalCount(): number {\n // Return the length of the decimal part of the step value.\n return (this.step % 1).toFixed(10).split('.')[1].replace(/0+$/, '').length;\n }\n\n private get isRangeType() {\n return this.type === 'range';\n }\n\n private get isTooltipAlwaysVisible(): boolean {\n return this.tooltipAlwaysVisible && this.enableTooltip;\n }\n\n private renderLabel = (value: number, position: 'start' | 'end', css?: string) => {\n return (\n <span\n class={{\n [`${css} box-content block text-s font-medium leading-regular text-text-primary is-fit min-is-8 [font-variant:tabular-nums]`]:\n true,\n hidden: position === 'start' ? !this.enableValueIndicator : !this.enableValueIndicator || !this.isRangeType,\n }}\n part={`label-${position}`}\n >\n {value.toFixed(this.decimalCount)}\n </span>\n );\n };\n\n private renderInput = (type: 'max' | 'min', value: number, refCallback: (input: HTMLInputElement) => void) => {\n // Determine the zIndex value based on the type and the current min and max values.\n const zIndexValue = (type: 'min' | 'max'): string => {\n const zIndex = {\n min: this.minValue === this.min && this.maxValue === this.minValue,\n max: this.maxValue === this.max && this.minValue === this.maxValue,\n };\n\n // If the value of both thumbs is the same as the min or max value, set the zIndex to -1\n return zIndex[type] ? '-1' : '0';\n };\n\n return (\n <input\n type=\"range\"\n class={{\n 'absolute start-0 -translate-y-1/2 cursor-pointer appearance-none bg-transparent outline-none is-full inset-bs-[50%] disabled:cursor-not-allowed':\n true,\n 'pointer-events-none': this.isRangeType,\n }}\n style={this.isRangeType ? { zIndex: zIndexValue(type) } : undefined}\n disabled={this.disabled}\n min={this.min}\n max={this.max}\n step={this.step}\n ref={refCallback}\n onInput={(ev) => this.handleInputChange(type, ev)}\n onBlur={this.handleBlur}\n onFocus={this.handleFocus}\n onMouseDown={this.handleMouseDown}\n onMouseUp={this.handleMouseUp}\n value={value}\n part={`input-${type}`}\n />\n );\n };\n\n private renderTooltip = (\n value: number,\n thumbPosition: number,\n refCallback: (elem: HTMLBqTooltipElement) => void,\n ): HTMLBqTooltipElement => (\n <bq-tooltip\n class={{\n 'absolute [&::part(panel)]:absolute': true,\n hidden: !this.isTooltipAlwaysVisible,\n }}\n exportparts=\"base,trigger,panel\"\n alwaysVisible={true}\n distance={this.enableValueIndicator ? 6 : 16}\n style={{ insetInlineStart: `${thumbPosition}px`, fontVariant: 'tabular-nums' }}\n ref={refCallback}\n >\n <div class=\"absolute bs-1 is-1\" slot=\"trigger\" />\n {value.toFixed(this.decimalCount)}\n </bq-tooltip>\n );\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n return (\n <div\n aria-disabled={this.disabled ? 'true' : 'false'}\n class={{ 'flex is-full': true, 'cursor-not-allowed opacity-60': this.disabled }}\n part=\"base\"\n >\n {/* LABEL (start) */}\n {this.renderLabel(this.minValue, 'start', 'me-xs text-end')}\n {/* SLIDER */}\n <div class=\"relative is-full\" part=\"container\">\n {/* TRACK AREA */}\n <span\n class=\"absolute start-0 -translate-y-1/2 rounded-xs bg-[--bq-slider--trackarea-color] bs-1 is-full inset-bs-[50%]\"\n ref={(elem) => (this.trackElem = elem)}\n part=\"track-area\"\n />\n {/* PROGRESS AREA */}\n <span\n class=\"absolute -translate-y-1/2 rounded-xs bg-[--bq-slider--progress-color] bs-1 is-[50%] inset-bs-[50%]\"\n ref={(elem) => (this.progressElem = elem)}\n part=\"progress-area\"\n />\n {/* TOOLTIP on top of the value or min value (if the slider type is `range`) */}\n {this.enableTooltip &&\n this.renderTooltip(this.minValue, this.minThumbPosition, (elem) => (this.minTooltipElem = elem))}\n {/* INPUT (Min), used on single type */}\n {this.renderInput('min', this.minValue, (input) => (this.inputMinElem = input))}\n {/* TOOLTIP on top of the max value (if the slider type is `range`) */}\n {this.enableTooltip &&\n this.isRangeType &&\n this.renderTooltip(this.maxValue, this.maxThumbPosition, (elem) => (this.maxTooltipElem = elem))}\n {/* INPUT (Max) */}\n {this.isRangeType && this.renderInput('max', this.maxValue, (input) => (this.inputMaxElem = input))}\n </div>\n {/* LABEL (end) */}\n {this.renderLabel(this.maxValue, 'end', 'ms-xs text-start')}\n </div>\n );\n }\n}\n"],"version":3}
@@ -6,8 +6,8 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-e6d59dbb.js');
10
- require('./assetsPath-eac0a3bf.js');
9
+ const index = require('./index-1d3aac65.js');
10
+ require('./assetsPath-7ead23b7.js');
11
11
  const cssVariables = require('./cssVariables-7139f0c6.js');
12
12
  const isNil = require('./isNil-f93429a2.js');
13
13
  const isHTMLElement = require('./isHTMLElement-729e6be0.js');
@@ -119,18 +119,18 @@ const BqSpinner = class {
119
119
  // Always the last one in the class.
120
120
  // ===================================
121
121
  render() {
122
- return (index.h("div", { key: '9f62c61c9d882bd9d520059a62b1d7859b21a2a9', class: {
122
+ return (index.h("div", { key: '16c6b705d29da31217a216a1f3112541406bab57', class: {
123
123
  [`bq-spinner ${this.size} text-${this.textPosition}`]: true,
124
124
  'is-animated': this.animation,
125
125
  'has-text': !!this.slotContentLength,
126
- }, part: "base" }, !this.hasIconSlot && (index.h("div", { key: '665458605918883f5749b9c65faed2d4b35d8590', class: `bq-spinner--loader ${this.size} relative text-[--bq-spinner--color]`, "aria-label": "Loading...", role: "status" }, index.h("svg", { key: '7dfbc336f3cdeb12140676ebf8cf9515b91a122c', class: "bs-full is-full", fill: "currentColor", viewBox: "0 0 48 48" }, index.h("path", { key: 'bbe8fe1d60e547818ce6848fd90aa5a373a2671f', fill: "currentColor", d: "M10.27 7.637c-.937-1.117-.798-2.796.415-3.605a24 24 0 0 1 37.09 23.249c-.2 1.444-1.65 2.301-3.064 1.944-1.414-.356-2.25-1.793-2.096-3.242A18.72 18.72 0 0 0 14.102 8.11c-1.237.77-2.895.643-3.832-.474Z" }), index.h("path", { key: '265cd94b7686bb5f540d249f1e2496db71959ca9', fill: "currentColor", d: "M48 24c0 13.255-10.745 24-24 24S0 37.255 0 24 10.745 0 24 0s24 10.745 24 24ZM5.28 24c0 10.339 8.381 18.72 18.72 18.72 10.339 0 18.72-8.381 18.72-18.72 0-10.339-8.381-18.72-18.72-18.72C13.661 5.28 5.28 13.661 5.28 24Z", opacity: ".1" })))), index.h("span", { key: '9f291abf7feaeef7a3852e8f596822a31a08b722', class: {
126
+ }, part: "base" }, !this.hasIconSlot && (index.h("div", { key: '963e8626cc63d84271989ac1c88865b677e006f8', class: `bq-spinner--loader ${this.size} relative text-[--bq-spinner--color]`, "aria-label": "Loading...", role: "status" }, index.h("svg", { key: 'd2516d3243caa3b9bd1223c2eadc9de3298b7803', class: "bs-full is-full", fill: "currentColor", viewBox: "0 0 48 48" }, index.h("path", { key: '72f146eff86a3758c6bd9516cce570b3085fa3ba', fill: "currentColor", d: "M10.27 7.637c-.937-1.117-.798-2.796.415-3.605a24 24 0 0 1 37.09 23.249c-.2 1.444-1.65 2.301-3.064 1.944-1.414-.356-2.25-1.793-2.096-3.242A18.72 18.72 0 0 0 14.102 8.11c-1.237.77-2.895.643-3.832-.474Z" }), index.h("path", { key: '2366c8c25addee9092f1cc1f6402fa2d2835c742', fill: "currentColor", d: "M48 24c0 13.255-10.745 24-24 24S0 37.255 0 24 10.745 0 24 0s24 10.745 24 24ZM5.28 24c0 10.339 8.381 18.72 18.72 18.72 10.339 0 18.72-8.381 18.72-18.72 0-10.339-8.381-18.72-18.72-18.72C13.661 5.28 5.28 13.661 5.28 24Z", opacity: ".1" })))), index.h("span", { key: '79c4c16ce19fb6d443c09d3b1e43e856f7230057', class: {
127
127
  'bq-spinner--icon': true,
128
128
  flex: this.hasIconSlot,
129
129
  '!hidden': !this.hasIconSlot,
130
- }, ref: (spanElem) => (this.iconSlotElem = spanElem), part: "custom-icon" }, index.h("slot", { key: '375fdfab3b73437e23d54254b6d2c22ec82d73db', name: "icon", onSlotchange: this.handleIconSlotChange })), index.h("span", { key: 'be19259971375900430935d01fb0f9f464cf693c', class: {
130
+ }, ref: (spanElem) => (this.iconSlotElem = spanElem), part: "custom-icon" }, index.h("slot", { key: 'd574885b176b5b6a9e1b5257c2612266b9d90bf2', name: "icon", onSlotchange: this.handleIconSlotChange })), index.h("span", { key: 'adf980624b245e7217da1a62c21f4d6fe337cabc', class: {
131
131
  'bq-spinner--text font-medium leading-regular text-text-primary': true,
132
132
  '!hidden': !this.isTextDisplayed,
133
- }, part: "text", ref: (spanElem) => (this.slotElem = spanElem) }, index.h("slot", { key: '10d45af6dcfa7f97e3ac12020940e756db93a64a', onSlotchange: this.handleSlotChange }))));
133
+ }, part: "text", ref: (spanElem) => (this.slotElem = spanElem) }, index.h("slot", { key: 'a88e6a388607c252af762e760585772b80c5cf3b', onSlotchange: this.handleSlotChange }))));
134
134
  }
135
135
  get el() { return index.getElement(this); }
136
136
  static get watchers() { return {
@@ -6,8 +6,8 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-e6d59dbb.js');
10
- require('./assetsPath-eac0a3bf.js');
9
+ const index = require('./index-1d3aac65.js');
10
+ require('./assetsPath-7ead23b7.js');
11
11
  const props = require('./props-2653e993.js');
12
12
 
13
13
  const STATUS_TYPE = ['alert', 'danger', 'info', 'neutral', 'success'];
@@ -50,7 +50,7 @@ const BqStatus = class {
50
50
  // Always the last one in the class.
51
51
  // ===================================
52
52
  render() {
53
- return (index.h("div", { key: 'e7f3be9973b3633fd86d523953bdc5d6b6e9c691', class: "bq-status inline-flex items-center gap-xs", part: "base", role: "status" }, index.h("bq-badge", { key: 'ac1aac686c9cd534ce66f8e7bba2f8518c0f089f', class: `bq-status__circle rounded-full ${this.type}`, size: "medium", part: "circle", role: "img" }), index.h("div", { key: '407cf69fbf95af7adab52896d5a65b8fad86e278', class: "bq-status__text text-s font-medium leading-regular text-text-primary max-bs-[20px] p-b-0 p-i-0 m-b-0 m-i-0", part: "text" }, index.h("slot", { key: 'cd57b390fba7e4a1b219e8fd1b6a8ec4af3dde3f' }))));
53
+ return (index.h("div", { key: '4d591f888f3bad0314c12af4db22da33c48a229a', class: "bq-status inline-flex items-center gap-xs", part: "base", role: "status" }, index.h("bq-badge", { key: '0ffb552feb332dc9e6195b93bd2d28c3d1dce407', class: `bq-status__circle rounded-full ${this.type}`, size: "medium", part: "circle", role: "img" }), index.h("div", { key: '80dc151a5b7c4ab47712cb5fcd0d11c82d2a0c1f', class: "bq-status__text text-s font-medium leading-regular text-text-primary max-bs-[20px] p-b-0 p-i-0 m-b-0 m-i-0", part: "text" }, index.h("slot", { key: 'fbb6fbfcfdc296dd6a4f9fefa005e6944cce1014' }))));
54
54
  }
55
55
  get el() { return index.getElement(this); }
56
56
  static get watchers() { return {
@@ -6,8 +6,8 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-e6d59dbb.js');
10
- require('./assetsPath-eac0a3bf.js');
9
+ const index = require('./index-1d3aac65.js');
10
+ require('./assetsPath-7ead23b7.js');
11
11
  const isHTMLElement = require('./isHTMLElement-729e6be0.js');
12
12
  const props = require('./props-2653e993.js');
13
13
  const bqSteps_types = require('./bq-steps.types-4d1836d0.js');
@@ -45,6 +45,9 @@ const BqStepItem = class {
45
45
  connectedCallback() {
46
46
  this.checkPropValues();
47
47
  }
48
+ componentWillLoad() {
49
+ this.checkPropValues();
50
+ }
48
51
  componentDidLoad() {
49
52
  this.handleIconPrefix();
50
53
  }
@@ -70,18 +73,18 @@ const BqStepItem = class {
70
73
  // Always the last one in the class.
71
74
  // ===================================
72
75
  render() {
73
- return (index.h("div", { key: 'ee81b4fb2e6555f809767f882076e0a2afc5e569', class: {
76
+ return (index.h("div", { key: '0b83690a453edf783ee752888c0557ef8619c04f', class: {
74
77
  'bq-step-item flex gap-s': true,
75
78
  [`bq-step-item--${this.status}`]: true,
76
79
  'pointer-events-none opacity-60': this.isDisabled,
77
- }, part: "base" }, index.h("div", { key: '96aad17f2fca80d608b10ded6c6ce290b2263302', class: `bq-step-item__prefix relative ${this.type} ${this.size} ${this.status}` }, index.h("slot", { key: '05aa22e80691a4afc347a48256f77c6ec3cdef26', name: "prefix", onSlotchange: this.handleIconPrefix })), index.h("div", { key: '44746dfb9b20068c0be4f3a199759fedd1dec48e', class: "bq-step-item__content" }, index.h("div", { key: 'b96a100e4bc735e09583ae9b97ccdf5be44daeae', class: {
80
+ }, part: "base" }, index.h("div", { key: 'c20c2a316726878841679080075f38b7c840662d', class: `bq-step-item__prefix relative ${this.type} ${this.size} ${this.status}` }, index.h("slot", { key: 'd1964706f6b54b97f5d0ee553e502e7cc58fd08a', name: "prefix", onSlotchange: this.handleIconPrefix })), index.h("div", { key: '81e1d2d5465b7b2f6d5db1a138e70e895c40139a', class: "bq-step-item__content" }, index.h("div", { key: '7ffa64231663a996a38149ca5541fd6d0191f148', class: {
78
81
  'bq-step-item__content--title pe-xs3 text-m leading-regular text-text-primary': true,
79
82
  'pointer-events-none': this.isDisabled,
80
83
  'text-text-brand': this.isCurrent,
81
- }, part: "title" }, index.h("slot", { key: '66630a986de2488dbb5ec464541fd8ba3a37c151' })), index.h("div", { key: '39c91c04160c2ddf5aa910e52d7c9549b8cc96d9', class: {
84
+ }, part: "title" }, index.h("slot", { key: '639d52f6b077b60e6bd7ca6b79d521fc4fd68b1f' })), index.h("div", { key: '713cfc1e9902f57ffa146a3a87d047e69d221886', class: {
82
85
  'bq-step-item__content--description text-s leading-regular opacity-60': true,
83
86
  'opacity-60': this.isDisabled,
84
- }, part: "description" }, index.h("slot", { key: 'bd882789e1595a6ae867ef2f0d2adf47e8b46dbc', name: "description" })))));
87
+ }, part: "description" }, index.h("slot", { key: 'fcfb92f7e6ca65a1c150b2132ddf126428e3a3b1', name: "description" })))));
85
88
  }
86
89
  get el() { return index.getElement(this); }
87
90
  static get watchers() { return {
@@ -1 +1 @@
1
- {"file":"bq-step-item.entry.cjs.js","mappings":";;;;;;;;;;;;;;AAAO,MAAM,gBAAgB,GAAG,CAAC,SAAS,EAAE,SAAS,EAAE,WAAW,EAAE,OAAO,EAAE,UAAU,CAAU;;ACAjG,MAAM,aAAa,GAAG,8iuBAA8iuB,CAAC;AACrkuB,yBAAe,aAAa;;MCef,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AM,EAAE,IAClFA,mEAAM,IAAI,EAAC,QAAQ,EAAC,YAAY,EAAE,IAAI,CAAC,gBAAgB,GAAI,CACvD,EACNA,kEAAK,KAAK,EAAC,uBAAuB,IAEhCA,kEACE,KAAK,EAAE;gBACL,8EAA8E,EAAE,IAAI;gBACpF,qBAAqB,EAAE,IAAI,CAAC,UAAU;gBACtC,iBAAiB,EAAE,IAAI,CAAC,SAAS;aAClC,EACD,IAAI,EAAC,OAAO,IAEZA,oEAAQ,CACJ,EAENA,kEACE,KAAK,EAAE;gBACL,sEAAsE,EAAE,IAAI;gBAC5E,YAAY,EAAE,IAAI,CAAC,UAAU;aAC9B,EACD,IAAI,EAAC,aAAa,IAElBA,mEAAM,IAAI,EAAC,aAAa,GAAG,CACvB,CACF,CACF,EACN;KACH;;;;;;;;;;;","names":["isHTMLElement","validatePropValue","STEPS_SIZE","h"],"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(colors.icon.primary);\n\n @apply bg-bg-primary;\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;\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-[--bq-text--alt];\n }\n\n &.completed {\n @apply bg-ui-success-alt text-text-success;\n }\n\n &.error {\n @apply bg-ui-danger-alt text-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 { Component, Element, Event, EventEmitter, h, Prop, Watch } from '@stencil/core';\n\nimport { STEP_ITEM_STATUS, TStepItemStatus } from './bq-step-item.types';\nimport { isHTMLElement, validatePropValue } from '../../shared/utils';\nimport { STEPS_SIZE, TStepsSize, TStepsType } from '../steps/bq-steps.types';\n\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@Component({\n tag: 'bq-step-item',\n styleUrl: './scss/bq-step-item.scss',\n shadow: true,\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 /** 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 }) 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_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 emitted when the step item is clicked */\n @Event() bqClick: EventEmitter<{ target: HTMLBqStepItemElement; value: string }>;\n\n // Component lifecycle events\n // Ordered by their natural call order\n // =====================================\n\n connectedCallback() {\n this.checkPropValues();\n }\n\n componentDidLoad() {\n this.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 get isDisabled(): boolean {\n return this.status === 'disabled';\n }\n\n private get isCurrent(): boolean {\n return this.status === 'current';\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 iconElem.weight = this.isCurrent ? 'fill' : 'regular';\n };\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n return (\n <div\n class={{\n 'bq-step-item flex gap-s': true,\n [`bq-step-item--${this.status}`]: true,\n 'pointer-events-none opacity-60': this.isDisabled,\n }}\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\">\n {/* TITLE */}\n <div\n class={{\n 'bq-step-item__content--title pe-xs3 text-m leading-regular text-text-primary': true,\n 'pointer-events-none': this.isDisabled,\n 'text-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 leading-regular opacity-60': true,\n 'opacity-60': this.isDisabled,\n }}\n part=\"description\"\n >\n <slot name=\"description\" />\n </div>\n </div>\n </div>\n );\n }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MAAM;QACJ,QACEE,kEACE,KAAK,EAAE;gBACL,yBAAyB,EAAE,IAAI;gBAC/B,CAAC,iBAAiB,IAAI,CAAC,MAAM,EAAE,GAAG,IAAI;gBACtC,gCAAgC,EAAE,IAAI,CAAC,UAAU;aAClD,EACD,IAAI,EAAC,MAAM,IAEXA,kEAAK,KAAK,EAAE,iCAAiC,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,MAAM,EAAE,IAClFA,mEAAM,IAAI,EAAC,QAAQ,EAAC,YAAY,EAAE,IAAI,CAAC,gBAAgB,GAAI,CACvD,EACNA,kEAAK,KAAK,EAAC,uBAAuB,IAEhCA,kEACE,KAAK,EAAE;gBACL,8EAA8E,EAAE,IAAI;gBACpF,qBAAqB,EAAE,IAAI,CAAC,UAAU;gBACtC,iBAAiB,EAAE,IAAI,CAAC,SAAS;aAClC,EACD,IAAI,EAAC,OAAO,IAEZA,oEAAQ,CACJ,EAENA,kEACE,KAAK,EAAE;gBACL,sEAAsE,EAAE,IAAI;gBAC5E,YAAY,EAAE,IAAI,CAAC,UAAU;aAC9B,EACD,IAAI,EAAC,aAAa,IAElBA,mEAAM,IAAI,EAAC,aAAa,GAAG,CACvB,CACF,CACF,EACN;KACH;;;;;;;;;;;","names":["isHTMLElement","validatePropValue","STEPS_SIZE","h"],"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(colors.icon.primary);\n\n @apply bg-bg-primary;\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;\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-[--bq-text--alt];\n }\n\n &.completed {\n @apply bg-ui-success-alt text-text-success;\n }\n\n &.error {\n @apply bg-ui-danger-alt text-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 { Component, Element, Event, EventEmitter, h, Prop, Watch } from '@stencil/core';\n\nimport { STEP_ITEM_STATUS, TStepItemStatus } from './bq-step-item.types';\nimport { isHTMLElement, validatePropValue } from '../../shared/utils';\nimport { STEPS_SIZE, TStepsSize, TStepsType } from '../steps/bq-steps.types';\n\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@Component({\n tag: 'bq-step-item',\n styleUrl: './scss/bq-step-item.scss',\n shadow: true,\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 /** 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 }) 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_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 emitted when the step item is clicked */\n @Event() bqClick: EventEmitter<{ target: HTMLBqStepItemElement; value: string }>;\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 get isDisabled(): boolean {\n return this.status === 'disabled';\n }\n\n private get isCurrent(): boolean {\n return this.status === 'current';\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 iconElem.weight = this.isCurrent ? 'fill' : 'regular';\n };\n\n // render() function\n // Always the last one in the class.\n // ===================================\n\n render() {\n return (\n <div\n class={{\n 'bq-step-item flex gap-s': true,\n [`bq-step-item--${this.status}`]: true,\n 'pointer-events-none opacity-60': this.isDisabled,\n }}\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\">\n {/* TITLE */}\n <div\n class={{\n 'bq-step-item__content--title pe-xs3 text-m leading-regular text-text-primary': true,\n 'pointer-events-none': this.isDisabled,\n 'text-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 leading-regular opacity-60': true,\n 'opacity-60': this.isDisabled,\n }}\n part=\"description\"\n >\n <slot name=\"description\" />\n </div>\n </div>\n </div>\n );\n }\n}\n"],"version":3}
@@ -6,9 +6,9 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-e6d59dbb.js');
9
+ const index = require('./index-1d3aac65.js');
10
10
  const bqSteps_types = require('./bq-steps.types-4d1836d0.js');
11
- require('./assetsPath-eac0a3bf.js');
11
+ require('./assetsPath-7ead23b7.js');
12
12
  const props = require('./props-2653e993.js');
13
13
 
14
14
  const bqStepsCss = "::backdrop,:root{--bq-blue-100:#e7f0fd;--bq-blue-200:#d0e2fb;--bq-blue-300:#a1c5f7;--bq-blue-400:#73a8f3;--bq-blue-500:#448bef;--bq-blue-600:#156eeb;--bq-blue-700:#1158bc;--bq-blue-800:#0d428d;--bq-blue-900:#082c5e;--bq-blue-1000:#04162f;--bq-corai-100:#fff2f2;--bq-corai-200:#ffe6e6;--bq-corai-300:#ffccce;--bq-corai-400:#ffb3b5;--bq-corai-500:#ff999d;--bq-corai-600:#ff8084;--bq-corai-700:#cc666a;--bq-corai-800:#994d4f;--bq-corai-900:#663335;--bq-corai-1000:#331a1a;--bq-cyan-100:#e8f7fb;--bq-cyan-200:#d2f0f8;--bq-cyan-300:#a5e1f1;--bq-cyan-400:#78d1e9;--bq-cyan-500:#4bc2e2;--bq-cyan-600:#1eb3db;--bq-cyan-700:#188faf;--bq-cyan-800:#126b83;--bq-cyan-900:#0c4858;--bq-cyan-1000:#06242c;--bq-gold-100:#fbf4ec;--bq-gold-200:#f7e9da;--bq-gold-300:#f0d3b6;--bq-gold-400:#e8bc91;--bq-gold-500:#e1a66d;--bq-gold-600:#d99048;--bq-gold-700:#ae733a;--bq-gold-800:#82562b;--bq-gold-900:#573a1d;--bq-gold-1000:#2b1d0e;--bq-green-100:#e8f8ef;--bq-green-200:#d2f1e0;--bq-green-300:#a5e3c1;--bq-green-400:#78d5a1;--bq-green-500:#4bc782;--bq-green-600:#1eb963;--bq-green-700:#18944f;--bq-green-800:#126f3b;--bq-green-900:#0c4a28;--bq-green-1000:#062514;--bq-grey-100:#f1f2f4;--bq-grey-200:#e7e8eb;--bq-grey-300:#caccd2;--bq-grey-400:#a6aab3;--bq-grey-50:#f6f6f8;--bq-grey-500:#898e99;--bq-grey-600:#646a77;--bq-grey-700:#3f4350;--bq-grey-800:#2a2c35;--bq-grey-900:#1c1d23;--bq-grey-950:#15161a;--bq-grey-1000:#0d0e11;--bq-indigo-100:#edecfc;--bq-indigo-200:#dcdafa;--bq-indigo-300:#b9b5f5;--bq-indigo-400:#9590ef;--bq-indigo-500:#726bea;--bq-indigo-600:#4f46e5;--bq-indigo-700:#3f38b7;--bq-indigo-800:#2f2a89;--bq-indigo-900:#201c5c;--bq-indigo-1000:#100e2e;--bq-iris-100:#e9f0ff;--bq-iris-200:#d6e0ff;--bq-iris-300:#b2c0fe;--bq-iris-400:#8691f8;--bq-iris-500:#6061ee;--bq-iris-600:#4f46e5;--bq-iris-700:#413abd;--bq-iris-800:#332e95;--bq-iris-900:#26216d;--bq-iris-1000:#181545;--bq-lime-100:#f5fae8;--bq-lime-200:#ecf6d2;--bq-lime-300:#d9eda5;--bq-lime-400:#c5e379;--bq-lime-500:#b2da4c;--bq-lime-600:#9fd11f;--bq-lime-700:#7fa719;--bq-lime-800:#5f7d13;--bq-lime-900:#40540c;--bq-lime-1000:#202a06;--bq-magenta-100:#fce7f4;--bq-magenta-200:#f9cfea;--bq-magenta-300:#f39fd6;--bq-magenta-400:#ee6fbf;--bq-magenta-500:#e83fab;--bq-magenta-600:#de1395;--bq-magenta-700:#b20f77;--bq-magenta-800:#850c59;--bq-magenta-900:#58083c;--bq-magenta-1000:#2c041e;--bq-neutral-white:#fbfbfc;--bq-neutral-black:#060708;--bq-orange-100:#fbf0e9;--bq-orange-200:#f8e1d4;--bq-orange-300:#f1c2a8;--bq-orange-400:#eaa47d;--bq-orange-500:#e38551;--bq-orange-600:#dc6726;--bq-orange-700:#b0521e;--bq-orange-800:#843e17;--bq-orange-900:#58290f;--bq-orange-1000:#2c1508;--bq-purple-100:#efebf8;--bq-purple-200:#e0d7f2;--bq-purple-300:#c1afe5;--bq-purple-400:#a388d8;--bq-purple-500:#8460cb;--bq-purple-600:#6538be;--bq-purple-700:#512d98;--bq-purple-800:#3d2272;--bq-purple-900:#28164c;--bq-purple-1000:#140b26;--bq-red-100:#fce7ea;--bq-red-200:#f9d1d5;--bq-red-300:#f3a2ac;--bq-red-400:#ed7482;--bq-red-500:#e74559;--bq-red-600:#e1172f;--bq-red-700:#b41226;--bq-red-800:#870e1c;--bq-red-900:#5a0913;--bq-red-1000:#2d0509;--bq-sky-100:#eff4fb;--bq-sky-200:#dfeaf8;--bq-sky-300:#bfd5f1;--bq-sky-400:#9ec1e9;--bq-sky-500:#7eace2;--bq-sky-600:#5e97db;--bq-sky-700:#4b79af;--bq-sky-800:#385b83;--bq-sky-900:#263c58;--bq-sky-1000:#131e2c;--bq-teal-100:#e5f7f5;--bq-teal-200:#ccf0eb;--bq-teal-300:#99e1d8;--bq-teal-400:#66d2c4;--bq-teal-500:#33c3b1;--bq-teal-600:#00b49d;--bq-teal-700:#00907e;--bq-teal-800:#006c5e;--bq-teal-900:#00483f;--bq-teal-1000:#00241f;--bq-volcano-100:#feede7;--bq-volcano-200:#fddbd1;--bq-volcano-300:#fbb8a3;--bq-volcano-400:#fa9474;--bq-volcano-500:#f87146;--bq-volcano-600:#f64d18;--bq-volcano-700:#c53e13;--bq-volcano-800:#942e0e;--bq-volcano-900:#621f0a;--bq-volcano-1000:#310f05;--bq-yellow-100:#fefbe7;--bq-yellow-200:#fcf6d0;--bq-yellow-300:#faeea0;--bq-yellow-400:#f7e571;--bq-yellow-500:#f5dd41;--bq-yellow-600:#f2d412;--bq-yellow-700:#c2aa0e;--bq-yellow-800:#917f0b;--bq-yellow-900:#615507;--bq-yellow-1000:#302a04;--bq-endava-grey-50:#f7f7f8;--bq-endava-grey-100:#e4e6e7;--bq-endava-grey-200:#b5babe;--bq-endava-grey-300:#949ca1;--bq-endava-grey-400:#737d84;--bq-endava-grey-500:#525f67;--bq-endava-grey-600:#30404b;--bq-endava-grey-700:#2b3942;--bq-endava-grey-800:#263139;--bq-endava-grey-900:#192b37;--bq-endava-grey-950:#151b1e;--bq-endava-grey-1000:#0f1316;--bq-endava-neutral-white:#fafbfb;--bq-endava-neutral-black:#060708;--bq-endava-orange-100:#fef3f1;--bq-endava-orange-200:#fbd6d1;--bq-endava-orange-300:#fab7af;--bq-endava-orange-400:#fa988b;--bq-endava-orange-500:#fc7866;--bq-endava-orange-600:#ff5640;--bq-endava-orange-700:#ce4a39;--bq-endava-orange-800:#a03d30;--bq-endava-orange-900:#722e25;--bq-endava-orange-1000:#471e19}*,:after,:before{box-sizing:border-box}*{font:inherit;margin:0}ol[role=list],ul[role=list]{list-style-type:none}html{font-size:var(--bq-font-size--m)}html:focus-within{scroll-behavior:smooth}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:var(--bq-background--primary);color:var(--bq-text--primary);font-family:var(--bq-font-family);line-height:var(--bq-font-line-height--regular);min-height:100vh;text-rendering:optimizeSpeed}a:not([class]){text-decoration-skip-ink:auto}canvas,img,picture,svg,video{display:block;max-width:100%}button,input,select,textarea{font:inherit}h1,h2,h3,h4,h5,h6,p{overflow-wrap:break-word}@media (prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,:after,:before{animation-duration:.01ms!important;animation-iteration-count:1!important;scroll-behavior:auto;transition-duration:.01ms!important}}:root{--bq-white:#fff;--bq-black:#060708;--bq-neutral-50:var(--bq-grey-50);--bq-neutral-100:var(--bq-grey-100);--bq-neutral-200:var(--bq-grey-200);--bq-neutral-300:var(--bq-grey-300);--bq-neutral-400:var(--bq-grey-400);--bq-neutral-500:var(--bq-grey-500);--bq-neutral-600:var(--bq-grey-600);--bq-neutral-700:var(--bq-grey-700);--bq-neutral-800:var(--bq-grey-800);--bq-neutral-900:var(--bq-grey-900);--bq-neutral-950:var(--bq-grey-950);--bq-neutral-1000:var(--bq-grey-1000);--bq-brand-light:var(--bq-iris-100);--bq-brand:var(--bq-iris-600);--bq-brand-dark:var(--bq-iris-1000);--bq-accent-light:var(--bq-purple-100);--bq-accent:var(--bq-purple-600);--bq-accent-dark:var(--bq-purple-1000);--bq-success-light:var(--bq-teal-100);--bq-success:var(--bq-teal-600);--bq-success-dark:var(--bq-teal-1000);--bq-danger-light:var(--bq-red-100);--bq-danger:var(--bq-red-600);--bq-danger-dark:var(--bq-red-1000);--bq-warning-light:var(--bq-gold-100);--bq-warning:var(--bq-gold-600);--bq-warning-dark:var(--bq-gold-1000);--bq-info-light:var(--bq-iris-100);--bq-info:var(--bq-iris-600);--bq-info-dark:var(--bq-iris-1000);--bq-focus:var(--bq-iris-600);--bq-data-01:var(--bq-brand);--bq-data-02:var(--bq-purple-600);--bq-data-03:var(--bq-magenta-600);--bq-data-04:var(--bq-cyan-600);--bq-data-05:var(--bq-teal-600);--bq-data-06:var(--bq-orange-600);--bq-data-07:var(--bq-yellow-600);--bq-data-08:var(--bq-red-600);--bq-data-09:var(--bq-blue-600);--bq-data-10:var(--bq-grey-600);--bq-data-11:var(--bq-black);--bq-data-12:var(--bq-white);--bq-radius--none:0;--bq-radius--xs2:0.125rem;--bq-radius--xs:0.25rem;--bq-radius--s:0.5rem;--bq-radius--m:0.75rem;--bq-radius--l:1.5rem;--bq-radius--full:9999px;--bq-box-shadow--xs:0 2px 0 rgba(0,0,0,.016);--bq-box-shadow--s:0 8px 24px rgba(0,0,0,.04);--bq-box-shadow--m:0 10px 48px -16px rgba(0,0,0,.12);--bq-box-shadow--l:0 20px 58px -16px rgba(0,0,0,.16);--bq-font-family:\"Outfit\",sans-serif;--bq-font-size--xs:0.75rem;--bq-font-size--s:0.875rem;--bq-font-size--m:1rem;--bq-font-size--l:1.125rem;--bq-font-size--xl:1.5rem;--bq-font-size--xxl:2rem;--bq-font-size--xxl2:2.5rem;--bq-font-size--xxl3:3rem;--bq-font-size--xxl4:3.5rem;--bq-font-size--xxl5:4rem;--bq-font-weight--thin:100;--bq-font-weight--light:300;--bq-font-weight--regular:400;--bq-font-weight--medium:500;--bq-font-weight--semibold:600;--bq-font-weight--bold:700;--bq-font-line-height--small:1.2;--bq-font-line-height--regular:1.5;--bq-font-line-height--large:1.5;--bq-spacing-xs3:0.125rem;--bq-spacing-xs2:0.25rem;--bq-spacing-xs:0.5rem;--bq-spacing-s:0.75rem;--bq-spacing-m:1rem;--bq-spacing-l:1.5rem;--bq-spacing-xl:2rem;--bq-spacing-xxl:2.5rem;--bq-spacing-xxl2:3.5rem;--bq-spacing-xxl3:4rem;--bq-spacing-xxl4:4.5rem;--bq-stroke-s:1px;--bq-stroke-m:2px;--bq-stroke-l:3px}.beeq.light,.light,:root,[bq-mode=light]{--bq-background--primary:var(--bq-white);--bq-background--secondary:var(--bq-neutral-100);--bq-background--tertiary:var(--bq-neutral-200);--bq-background--alt:var(--bq-neutral-300);--bq-background--inverse:var(--bq-neutral-900);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-800);--bq-icon--alt:var(--bq-white);--bq-icon--secondary:var(--bq-neutral-600);--bq-icon--inverse:var(--bq-neutral-50);--bq-icon--brand:var(--bq-brand);--bq-icon--info:var(--bq-brand);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-200);--bq-stroke--secondary:var(--bq-neutral-600);--bq-stroke--tertiary:var(--bq-neutral-900);--bq-stroke--inverse:var(--bq-white);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-50);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-brand);--bq-text--primary:var(--bq-neutral-800);--bq-text--secondary:var(--bq-neutral-600);--bq-text--inverse:var(--bq-neutral-50);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-brand);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-white);--bq-ui--secondary:var(--bq-neutral-200);--bq-ui--tertiary:var(--bq-neutral-500);--bq-ui--inverse:var(--bq-neutral-900);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-light);--bq-ui--alt:var(--bq-neutral-50);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-light);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-light);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-light);--bq-ui--info:var(--bq-brand);--bq-ui--info-alt:var(--bq-brand-light);--bq-hover:#bcbfc5;--bq-active:#444546}.beeq.dark,.dark,[bq-mode=dark]{--bq-background--primary:var(--bq-neutral-1000);--bq-background--secondary:var(--bq-neutral-950);--bq-background--tertiary:var(--bq-neutral-800);--bq-background--alt:var(--bq-neutral-700);--bq-background--inverse:var(--bq-neutral-600);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-100);--bq-icon--secondary:var(--bq-neutral-400);--bq-icon--inverse:var(--bq-neutral-800);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-brand);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-900);--bq-stroke--secondary:var(--bq-neutral-700);--bq-stroke--tertiary:var(--bq-neutral-400);--bq-stroke--inverse:var(--bq-neutral-950);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-1000);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-brand);--bq-text--primary:var(--bq-neutral-100);--bq-text--secondary:var(--bq-neutral-400);--bq-text--inverse:var(--bq-neutral-800);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-brand);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-neutral-900);--bq-ui--secondary:var(--bq-neutral-800);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-brand);--bq-ui--info-alt:var(--bq-brand-dark);--bq-hover:#444546;--bq-active:#1f2026}.endava,[bq-theme=endava]{--bq-font-family:\"Poppins\",sans-serif;--bq-white:#fafbfb;--bq-black:#030406;--bq-neutral-50:var(--bq-endava-grey-50);--bq-neutral-100:var(--bq-endava-grey-100);--bq-neutral-200:var(--bq-endava-grey-200);--bq-neutral-300:var(--bq-endava-grey-300);--bq-neutral-400:var(--bq-endava-grey-400);--bq-neutral-500:var(--bq-endava-grey-500);--bq-neutral-600:var(--bq-endava-grey-600);--bq-neutral-700:var(--bq-endava-grey-700);--bq-neutral-800:var(--bq-endava-grey-800);--bq-neutral-900:var(--bq-endava-grey-900);--bq-neutral-950:var(--bq-endava-grey-950);--bq-neutral-1000:var(--bq-endava-grey-1000);--bq-brand-light:var(--bq-endava-orange-100);--bq-brand:var(--bq-endava-orange-600);--bq-brand-dark:var(--bq-endava-orange-1000);--bq-accent-light:var(--bq-endava-orange-100);--bq-accent:var(--bq-endava-orange-600);--bq-accent-dark:var(--bq-endava-orange-1000);--bq-success-light:var(--bq-green-100);--bq-success:var(--bq-green-600);--bq-success-dark:var(--bq-green-1000);--bq-danger-light:var(--bq-corai-100);--bq-danger:var(--bq-corai-600);--bq-danger-dark:var(--bq-corai-1000);--bq-warning-light:var(--bq-yellow-100);--bq-warning:var(--bq-yellow-600);--bq-warning-dark:var(--bq-yellow-1000);--bq-info-light:var(--bq-blue-100);--bq-info:var(--bq-blue-600);--bq-info-dark:var(--bq-blue-1000);--bq-focus:var(--bq-endava-orange-600);--bq-data-01:var(--bq-brand);--bq-data-02:#af0cd8;--bq-data-03:#0ca8d8;--bq-data-04:var(--bq-teal-600);--bq-data-05:var(--bq-yellow-600);--bq-data-06:var(--bq-orange-600);--bq-data-07:var(--bq-blue-600);--bq-data-08:var(--bq-red-600);--bq-data-09:var(--bq-purple-600);--bq-data-10:#394b56;--bq-data-11:var(--bq-black);--bq-data-12:var(--bq-white)}.endava.light,[bq-theme=endava][bq-mode=light]{--bq-background--primary:var(--bq-white);--bq-background--secondary:var(--bq-neutral-100);--bq-background--tertiary:var(--bq-neutral-200);--bq-background--alt:var(--bq-neutral-300);--bq-background--inverse:var(--bq-neutral-900);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-800);--bq-icon--secondary:var(--bq-neutral-600);--bq-icon--inverse:var(--bq-neutral-50);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-info);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-200);--bq-stroke--secondary:var(--bq-neutral-600);--bq-stroke--tertiary:var(--bq-neutral-900);--bq-stroke--inverse:var(--bq-white);--bq-stroke--brand:var(--bq-brand);--bq-stroke--alt:var(--bq-neutral-50);--bq-stroke--brand-alt:var(--bq-brand-light);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-info);--bq-text--primary:var(--bq-neutral-800);--bq-text--secondary:var(--bq-neutral-600);--bq-text--inverse:var(--bq-neutral-50);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-white);--bq-text--info:var(--bq-info);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-white);--bq-ui--secondary:var(--bq-neutral-200);--bq-ui--tertiary:var(--bq-neutral-500);--bq-ui--inverse:var(--bq-neutral-900);--bq-ui--alt:var(--bq-neutral-50);--bq-ui--brand-alt:var(--bq-brand-light);--bq-ui--brand:var(--bq-brand);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-light);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-light);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-light);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-light);--bq-hover:#444546;--bq-active:#1f2026}.endava.dark,[bq-theme=endava][bq-mode=dark]{--bq-background--primary:var(--bq-neutral-1000);--bq-background--secondary:var(--bq-neutral-900);--bq-background--tertiary:var(--bq-neutral-800);--bq-background--alt:var(--bq-neutral-700);--bq-background--inverse:var(--bq-neutral-600);--bq-background--brand:var(--bq-brand);--bq-background--overlay:var(--bq-neutral-900);--bq-icon--primary:var(--bq-neutral-100);--bq-icon--secondary:var(--bq-neutral-400);--bq-icon--inverse:var(--bq-neutral-800);--bq-icon--brand:var(--bq-brand);--bq-icon--alt:var(--bq-white);--bq-icon--info:var(--bq-info);--bq-icon--success:var(--bq-success);--bq-icon--warning:var(--bq-warning);--bq-icon--danger:var(--bq-danger);--bq-stroke--primary:var(--bq-neutral-900);--bq-stroke--secondary:var(--bq-neutral-700);--bq-stroke--tertiary:var(--bq-neutral-400);--bq-stroke--inverse:var(--bq-neutral-950);--bq-stroke--brand:var(--bq-brand);--bq-stroke--brand-alt:var(--bq-brand-dark);--bq-stroke--alt:var(--bq-neutral-1000);--bq-stroke--success:var(--bq-success);--bq-stroke--warning:var(--bq-warning);--bq-stroke--danger:var(--bq-danger);--bq-stroke--info:var(--bq-info);--bq-text--primary:var(--bq-neutral-100);--bq-text--secondary:var(--bq-neutral-400);--bq-text--inverse:var(--bq-neutral-800);--bq-text--brand:var(--bq-brand);--bq-text--alt:var(--bq-neutral-white);--bq-text--info:var(--bq-info);--bq-text--success:var(--bq-success);--bq-text--warning:var(--bq-warning);--bq-text--danger:var(--bq-danger);--bq-ui--primary:var(--bq-neutral-900);--bq-ui--secondary:var(--bq-neutral-800);--bq-ui--tertiary:var(--bq-neutral-700);--bq-ui--inverse:var(--bq-neutral-100);--bq-ui--brand:var(--bq-brand);--bq-ui--brand-alt:var(--bq-brand-dark);--bq-ui--alt:var(--bq-neutral-950);--bq-ui--success:var(--bq-success);--bq-ui--success-alt:var(--bq-success-dark);--bq-ui--warning:var(--bq-warning);--bq-ui--warning-alt:var(--bq-warning-dark);--bq-ui--danger:var(--bq-danger);--bq-ui--danger-alt:var(--bq-danger-dark);--bq-ui--info:var(--bq-info);--bq-ui--info-alt:var(--bq-info-dark);--bq-hover:#444546;--bq-active:#1f2026}.transform{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.block{display:block}.pe-\\[--bq-steps--gap\\]{padding-inline-end:var(--bq-steps--gap)}.ps-\\[--bq-steps--gap\\]{padding-inline-start:var(--bq-steps--gap)}@-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);display:block}::slotted(bq-step-item:not(:first-child)){padding-inline-start:var(--bq-steps--gap)}::slotted(bq-step-item:not(:last-child)){padding-inline-end:var(--bq-steps--gap)}.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}.absolute{position:absolute}.relative{position:relative}.-z-10{z-index:-10}.flex{display:flex}.w-full{width:100%}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.p-bs-m{padding-block-start:var(--bq-spacing-m)}.p-bs-s{padding-block-start:var(--bq-spacing-s)}.p-i-s{padding-inline:var(--bq-spacing-s)}.inset-ie-0{inset-inline-end:0}.inset-is-0{inset-inline-start:0}.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.\\!hidden{display:none!important}.gap-0{gap:0}";
@@ -69,7 +69,7 @@ const BqSteps = class {
69
69
  // ===================================
70
70
  render() {
71
71
  const dividerPaddingTop = this.size === 'small' ? 'p-bs-s' : 'p-bs-m';
72
- return (index.h("div", { key: '0e811bd6835fb63bd6dc44cdb3b0d4f23c45ae10', class: "relative flex w-full items-start justify-between", ref: (div) => (this.stepElem = div), part: "container" }, index.h("slot", { key: 'f26ac0048389436fa826c5e91d7190802e12d641' }), index.h("bq-divider", { key: '2a0128887aa7f64a317219ff34d3ec75756cad3e', class: `absolute -z-10 p-i-s inset-ie-0 inset-is-0 ${dividerPaddingTop}`, strokeColor: this.dividerColor, strokeThickness: 2, exportparts: "base:divider-base,dash-start:divider-dash-start,dash-end:divider-dash-end" })));
72
+ return (index.h("div", { key: '0db3af56983cb0a41fc4bca5ca93d4455d52bd19', class: "relative flex w-full items-start justify-between", ref: (div) => (this.stepElem = div), part: "container" }, index.h("slot", { key: '05ec86abb032fd6f0d17b77228fa6f2a3ab38c8d' }), index.h("bq-divider", { key: 'a5444e7a1d01284d048d9f24015643d7740d0820', class: `absolute -z-10 p-i-s inset-ie-0 inset-is-0 ${dividerPaddingTop}`, strokeColor: this.dividerColor, strokeThickness: 2, exportparts: "base:divider-base,dash-start:divider-dash-start,dash-end:divider-dash-end" })));
73
73
  }
74
74
  get el() { return index.getElement(this); }
75
75
  static get watchers() { return {
@@ -6,8 +6,8 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-e6d59dbb.js');
10
- require('./assetsPath-eac0a3bf.js');
9
+ const index = require('./index-1d3aac65.js');
10
+ require('./assetsPath-7ead23b7.js');
11
11
  const isNil = require('./isNil-f93429a2.js');
12
12
  const slot = require('./slot-dd6f7db9.js');
13
13
 
@@ -118,11 +118,11 @@ const BqSwitch = class {
118
118
  'is-disabled': this.disabled,
119
119
  'flex-row-reverse': this.reverseOrder,
120
120
  };
121
- return (index.h(index.Host, { key: 'fae73a4c0aab74d8b1f66566ecd62f513e939e2b', class: { 'full-width': this.fullWidth }, style: hostStyle }, index.h("label", { key: 'd749bcd45d7b58145fe4d4f8c356c4ab71eb6265', class: { 'bq-switch group': true, ...labelCssClasses }, part: "base" }, index.h("input", { key: '70127f61b01d1afd2a61e91aede358fa4251c767', class: "bq-switch--input peer sr-only peer-checked:invisible", type: "checkbox", checked: this.checked, disabled: this.disabled, required: this.required, name: !isNil.isNil(this.name) ? this.name : undefined, "aria-label": this.name, "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', onBlur: this.handleOnBlur, onChange: this.handleChange, onFocus: this.handleOnFocus, ref: (input) => (this.inputElem = input), role: "switch", value: this.value }), index.h("div", { key: '78c0e68ff3ffe099cc7a173ad6b6b271792195f2', class: "bq-switch--control relative box-border flex justify-between rounded-full bg-ui-tertiary transition duration-300 bs-[--bq-switch--height] is-[--bq-switch--width] p-b-xs2 p-i-xs2 group-[&.is-checked]:bg-ui-brand", part: "control" }, this.innerLabel === 'icon' && (index.h("bq-icon", { key: '2553f47346d89f8f8a82bfdcc1687b2efd97e4ac', class: "bq-switch--control__icon on", name: "check", color: "icon--alt", role: "img", title: "On", part: "icon-on" })), index.h("div", { key: '895d33f28c17de07264d4291ab2b334ee6b8f5fc', class: "bq-switch--control__dot", part: "dot" }), this.innerLabel === 'icon' && (index.h("bq-icon", { key: 'b42482b7d2eb7b21af8d45020e995390b44a3ac5', class: "bq-switch--control__icon off", name: "x", color: "icon--inverse", role: "img", title: "Off", part: "icon-off" }))), index.h("span", { key: '8ddd145ce099516fefbdb6b821814e68da82e7b6', class: {
121
+ return (index.h(index.Host, { key: '6af1345db320b26d6ba3cdcef15838a692b0b910', class: { 'full-width': this.fullWidth }, style: hostStyle }, index.h("label", { key: 'e4d1acf76533314856c97ba939c10d36dae7e132', class: { 'bq-switch group': true, ...labelCssClasses }, part: "base" }, index.h("input", { key: '48bea788941dd8b93c5cfe104f95cb8ecc18f0a0', class: "bq-switch--input peer sr-only peer-checked:invisible", type: "checkbox", checked: this.checked, disabled: this.disabled, required: this.required, name: !isNil.isNil(this.name) ? this.name : undefined, "aria-label": this.name, "aria-checked": this.checked ? 'true' : 'false', "aria-disabled": this.disabled ? 'true' : 'false', onBlur: this.handleOnBlur, onChange: this.handleChange, onFocus: this.handleOnFocus, ref: (input) => (this.inputElem = input), role: "switch", value: this.value }), index.h("div", { key: '6d513056ff58e72123b301597974128c3e9df66f', class: "bq-switch--control relative box-border flex justify-between rounded-full bg-ui-tertiary transition duration-300 bs-[--bq-switch--height] is-[--bq-switch--width] p-b-xs2 p-i-xs2 group-[&.is-checked]:bg-ui-brand", part: "control" }, this.innerLabel === 'icon' && (index.h("bq-icon", { key: '4ae4b83081d7727800dff1f2a3b3f41f827d9b46', class: "bq-switch--control__icon on", name: "check", color: "icon--alt", role: "img", title: "On", part: "icon-on" })), index.h("div", { key: 'd5562e1664c42dbdaa2f22f148d40982bcd4c06d', class: "bq-switch--control__dot", part: "dot" }), this.innerLabel === 'icon' && (index.h("bq-icon", { key: 'bb1a3ed188107f4fcc542fb748b7ecdbacc027a3', class: "bq-switch--control__icon off", name: "x", color: "icon--inverse", role: "img", title: "Off", part: "icon-off" }))), index.h("span", { key: '2ed1b4a200f90d228c11287f5997f8d74ffffcb5', class: {
122
122
  'bq-switch--label text-m font-medium leading-regular text-text-primary transition-colors duration-300': true,
123
123
  'ms-s': this.hasLabel && !this.reverseOrder,
124
124
  'me-s': this.hasLabel && this.reverseOrder,
125
- }, ref: (span) => (this.labelElem = span), part: "label" }, index.h("slot", { key: 'd8187d841f482668bf21d0391c7b124f43c90d7a', onSlotchange: this.handleSlotChange })))));
125
+ }, ref: (span) => (this.labelElem = span), part: "label" }, index.h("slot", { key: '2b98f17f2dcee67e77fdcdc8bd3c446db854ba80', onSlotchange: this.handleSlotChange })))));
126
126
  }
127
127
  static get delegatesFocus() { return true; }
128
128
  get el() { return index.getElement(this); }
@@ -6,8 +6,8 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-e6d59dbb.js');
10
- require('./assetsPath-eac0a3bf.js');
9
+ const index = require('./index-1d3aac65.js');
10
+ require('./assetsPath-7ead23b7.js');
11
11
  const debounce = require('./debounce-f94a239b.js');
12
12
  const getNextElement = require('./getNextElement-4b790655.js');
13
13
  const isHTMLElement = require('./isHTMLElement-729e6be0.js');
@@ -157,13 +157,13 @@ const BqTabGroup = class {
157
157
  // Always the last one in the class.
158
158
  // ===================================
159
159
  render() {
160
- return (index.h(index.Host, { key: '03e71370e936cdb6196a7204ab03e261fc242436', class: { 'inline-block': this.orientation === 'vertical' } }, index.h("div", { key: '833a873f450ab4697e6d0a7e7741332d61b99eb3', class: {
160
+ return (index.h(index.Host, { key: '360cf7d3aa1fd8e0ab7cc33f2fdfd8630097878d', class: { 'inline-block': this.orientation === 'vertical' } }, index.h("div", { key: '08d9fdee8775342ae3fbc2c6706db735151cb098', class: {
161
161
  [`bq-tab-group bq-tab-group--${this.orientation}-${this.placement} flex is-full`]: true,
162
162
  'no-divider': this.disableDivider,
163
- }, part: "base" }, index.h("div", { key: 'e2521b4ba3c23c820414bd28c7bd99543f94c460', class: {
163
+ }, part: "base" }, index.h("div", { key: '7a3467d6f45c73099153dad11df364be271977ec', class: {
164
164
  'bq-tab-group--container flex overflow-x-auto': true,
165
165
  'flex-col': this.orientation !== 'horizontal',
166
- }, role: "tablist", part: "tabs" }, index.h("slot", { key: '830d424ebb92fac263e0fe98a3413bdfa6242a97' })))));
166
+ }, role: "tablist", part: "tabs" }, index.h("slot", { key: '0cd8984a6f7993adc39ed2145ead854e1b53dc49' })))));
167
167
  }
168
168
  get el() { return index.getElement(this); }
169
169
  static get watchers() { return {
@@ -6,9 +6,9 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-e6d59dbb.js');
9
+ const index = require('./index-1d3aac65.js');
10
10
  const bqTab_types = require('./bq-tab.types-a8b320b0.js');
11
- require('./assetsPath-eac0a3bf.js');
11
+ require('./assetsPath-7ead23b7.js');
12
12
  const props = require('./props-2653e993.js');
13
13
  const slot = require('./slot-dd6f7db9.js');
14
14
 
@@ -113,11 +113,11 @@ const BqTab = class {
113
113
  // Always the last one in the class.
114
114
  // ===================================
115
115
  render() {
116
- return (index.h("button", { key: 'eda539eaa0be58cee0ef9fa2af2de0125ae62bd1', ref: (el) => (this.buttonElement = el), class: {
116
+ return (index.h("button", { key: '87ebcc3f74f4d0a25b70cde7831c2c86438ab902', ref: (el) => (this.buttonElement = el), class: {
117
117
  [`bq-tab bq-tab--${this.size} bq-tab--${this.orientation}-${this.placement}`]: true,
118
118
  'text-text-brand': this.active,
119
119
  'text-text-primary': !this.active,
120
- }, id: this.tabId, onBlur: this.handleOnBlur, onClick: this.handleClick, onFocus: this.handleOnFocus, onKeyDown: this.handleOnKeyDown, disabled: this.disabled, role: "tab", "aria-controls": this.controls, "aria-disabled": this.disabled ? 'true' : 'false', "aria-selected": this.active ? 'true' : 'false', tabindex: this.tabindex, part: "base" }, index.h("div", { key: '25a4a6a78af08b9915396fb2320dbbe586331d0a', class: "flex items-center justify-center", part: "content" }, index.h("div", { key: 'fc31213ded30b6c5b11d76a332fa01f84ae19c84', class: "flex", ref: (span) => (this.iconElement = span), part: "icon" }, index.h("slot", { key: '08a5a4b94d442cfbca016792907892051704f9c0', name: "icon", onSlotchange: this.handleIconSlotChange })), index.h("div", { key: 'e23d23d8bc84edf18f7005c8ed82c562dd7f431a', class: { 'line-clamp-1': true, 'ms-[--bq-tab--label-icon-gap]': this.hasIcon }, part: "text" }, index.h("slot", { key: '9019ba0be64f7feaf0af7fa08e6b1b50501000a4' })))));
120
+ }, id: this.tabId, onBlur: this.handleOnBlur, onClick: this.handleClick, onFocus: this.handleOnFocus, onKeyDown: this.handleOnKeyDown, disabled: this.disabled, role: "tab", "aria-controls": this.controls, "aria-disabled": this.disabled ? 'true' : 'false', "aria-selected": this.active ? 'true' : 'false', tabindex: this.tabindex, part: "base" }, index.h("div", { key: '864eaa616150500fe2f0da5e6debf478a5b6999a', class: "flex items-center justify-center", part: "content" }, index.h("div", { key: '39d18bbe2732b0d80481c8ab40fef5fda1cd6bc2', class: "flex", ref: (span) => (this.iconElement = span), part: "icon" }, index.h("slot", { key: 'c8fa386b8c2d8aec1b18844b878ba99f191fa626', name: "icon", onSlotchange: this.handleIconSlotChange })), index.h("div", { key: '1579dbd951a409144bb9f81df35bf28ff63fa4f7', class: { 'line-clamp-1': true, 'ms-[--bq-tab--label-icon-gap]': this.hasIcon }, part: "text" }, index.h("slot", { key: '145f6616ac64e6f25f6c77ad1dc9fa01cb23062f' })))));
121
121
  }
122
122
  get el() { return index.getElement(this); }
123
123
  static get watchers() { return {
@@ -6,8 +6,8 @@
6
6
 
7
7
  Object.defineProperty(exports, '__esModule', { value: true });
8
8
 
9
- const index = require('./index-e6d59dbb.js');
10
- require('./assetsPath-eac0a3bf.js');
9
+ const index = require('./index-1d3aac65.js');
10
+ require('./assetsPath-7ead23b7.js');
11
11
  const debounce = require('./debounce-f94a239b.js');
12
12
  const isHTMLElement = require('./isHTMLElement-729e6be0.js');
13
13
  const slot = require('./slot-dd6f7db9.js');
@@ -133,15 +133,15 @@ const BqTextarea = class {
133
133
  // ===================================
134
134
  render() {
135
135
  var _a, _b;
136
- return (index.h("div", { key: '06b0757fa073ff0bdfdf22e14b80df437f135706', class: "bq-textarea flex flex-auto flex-col", part: "base" }, index.h("label", { key: 'b9817a35ac4e7175a1d59f63c328d063ffb88299', class: { 'bq-textarea__label': true, '!hidden': !this.hasLabel }, htmlFor: (_a = this.name) !== null && _a !== void 0 ? _a : this.fallbackId, ref: (label) => (this.labelElem = label), part: "label" }, index.h("slot", { key: '52c27fdeb929ae046ce1beb29fc2b4c6566dc243', name: "label", onSlotchange: this.handleLabelSlotChange })), index.h("textarea", { key: '1467a427f5e1c3e015ddaf74ec11043c02ed036b', id: (_b = this.name) !== null && _b !== void 0 ? _b : this.fallbackId, class: {
136
+ return (index.h("div", { key: '331d4f8a0e69c201642696a101698f143490c780', class: "bq-textarea flex flex-auto flex-col", part: "base" }, index.h("label", { key: '726f72ee1a72b98f4e1be0dc86ac9336c202e57c', class: { 'bq-textarea__label': true, '!hidden': !this.hasLabel }, htmlFor: (_a = this.name) !== null && _a !== void 0 ? _a : this.fallbackId, ref: (label) => (this.labelElem = label), part: "label" }, index.h("slot", { key: 'f4dd236d832775a4a897bcd26ebbd490950179a8', name: "label", onSlotchange: this.handleLabelSlotChange })), index.h("textarea", { key: '523c4ebda953e951c7e9866c24acf6ba876a5da3', id: (_b = this.name) !== null && _b !== void 0 ? _b : this.fallbackId, class: {
137
137
  'bq-textarea__input': true,
138
138
  'resize-none': this.disableResize,
139
139
  [`validation-${this.validationStatus}`]: true,
140
- }, autocapitalize: this.autocapitalize, autocomplete: this.autocomplete, autocorrect: this.autocorrect, autofocus: this.autofocus, disabled: this.disabled, form: this.form, maxLength: this.maxlength > 0 ? this.maxlength : undefined, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, rows: this.rows, spellcheck: this.spellcheck, wrap: this.wrap, ref: (elem) => (this.textarea = elem), onBlur: this.handleBlur, onChange: this.handleChange, onFocus: this.handleFocus, onInput: this.handleInput, part: "input" }, this.value), index.h("div", { key: '087c1bcd722ee2cac449ed04e9600fb117df01e3', class: {
140
+ }, autocapitalize: this.autocapitalize, autocomplete: this.autocomplete, autocorrect: this.autocorrect, autofocus: this.autofocus, disabled: this.disabled, form: this.form, maxLength: this.maxlength > 0 ? this.maxlength : undefined, name: this.name, placeholder: this.placeholder, readOnly: this.readonly, required: this.required, rows: this.rows, spellcheck: this.spellcheck, wrap: this.wrap, ref: (elem) => (this.textarea = elem), onBlur: this.handleBlur, onChange: this.handleChange, onFocus: this.handleFocus, onInput: this.handleInput, part: "input" }, this.value), index.h("div", { key: '443cdfb15291b50fe6e6e52c27b14949ee74665a', class: {
141
141
  'bq-textarea__helper flex items-center justify-between': true,
142
142
  [`validation-${this.validationStatus}`]: true,
143
143
  '!hidden': !this.hasHelperText && !this.maxlength,
144
- }, part: "helper-info" }, index.h("span", { key: 'dc19136581b13d936f27f0db98a8541a07dee914', class: "bq-textarea__helper--text", ref: (span) => (this.helperTextElem = span), part: "helper-text" }, index.h("slot", { key: '858cef9cf17f3d586297cd0d5795dbb4285f9730', name: "helper-text", onSlotchange: this.handleHelperTextSlotChange })), index.h("span", { key: 'df68252ed8bf25438fc1e442b749fc3a87ac41b5', class: { 'bq-textarea__helper--counter': true, '!hidden': !this.maxlength }, part: "helper-counter" }, this.numberOfCharacters, "/", this.maxlength))));
144
+ }, part: "helper-info" }, index.h("span", { key: 'a278c710b69f70919d3f4b5a10aa1bcdda432888', class: "bq-textarea__helper--text", ref: (span) => (this.helperTextElem = span), part: "helper-text" }, index.h("slot", { key: '8721978f4696404bb97c3759267477f94bbd0409', name: "helper-text", onSlotchange: this.handleHelperTextSlotChange })), index.h("span", { key: 'a0f3eb599a19aafa28ec83c2b8cbd1e264edcef4', class: { 'bq-textarea__helper--counter': true, '!hidden': !this.maxlength }, part: "helper-counter" }, this.numberOfCharacters, "/", this.maxlength))));
145
145
  }
146
146
  static get delegatesFocus() { return true; }
147
147
  get el() { return index.getElement(this); }