@beeq/core 1.12.4 → 1.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (409) hide show
  1. package/dist/beeq/beeq.esm.js +1 -1
  2. package/dist/beeq/{p-b4b02b99.entry.js → p-0d078519.entry.js} +2 -2
  3. package/dist/beeq/{p-b4b02b99.entry.js.map → p-0d078519.entry.js.map} +1 -1
  4. package/dist/beeq/{p-49a999b4.entry.js → p-1a2c4878.entry.js} +2 -2
  5. package/dist/beeq/p-21db4f39.entry.js +6 -0
  6. package/dist/beeq/p-21db4f39.entry.js.map +1 -0
  7. package/dist/beeq/{p-21db2c4e.entry.js → p-24bb2588.entry.js} +2 -2
  8. package/dist/beeq/{p-21db2c4e.entry.js.map → p-24bb2588.entry.js.map} +1 -1
  9. package/dist/beeq/{p-327cb74b.entry.js → p-2a081a54.entry.js} +2 -2
  10. package/dist/beeq/{p-327cb74b.entry.js.map → p-2a081a54.entry.js.map} +1 -1
  11. package/dist/beeq/{p-8974f66f.entry.js → p-2e1fffcd.entry.js} +2 -2
  12. package/dist/beeq/p-2fd6ea70.entry.js +6 -0
  13. package/dist/beeq/{p-d4df64ae.entry.js.map → p-2fd6ea70.entry.js.map} +1 -1
  14. package/dist/beeq/{p-f4c66e83.entry.js → p-30d1bd84.entry.js} +2 -2
  15. package/dist/beeq/{p-f4c66e83.entry.js.map → p-30d1bd84.entry.js.map} +1 -1
  16. package/dist/beeq/{p-b31d249b.entry.js → p-38006c8e.entry.js} +2 -2
  17. package/dist/beeq/{p-b8bac7c7.entry.js → p-3d754d97.entry.js} +2 -2
  18. package/dist/beeq/{p-b8bac7c7.entry.js.map → p-3d754d97.entry.js.map} +1 -1
  19. package/dist/beeq/{p-25772ebd.entry.js → p-45ae19aa.entry.js} +2 -2
  20. package/dist/beeq/p-45ae19aa.entry.js.map +1 -0
  21. package/dist/beeq/{p-f0a2c87e.entry.js → p-56b49d4e.entry.js} +2 -2
  22. package/dist/beeq/{p-f0a2c87e.entry.js.map → p-56b49d4e.entry.js.map} +1 -1
  23. package/dist/beeq/{p-644013aa.entry.js → p-58813f83.entry.js} +2 -2
  24. package/dist/beeq/{p-644013aa.entry.js.map → p-58813f83.entry.js.map} +1 -1
  25. package/dist/beeq/{p-0a3c5b97.entry.js → p-5eba392c.entry.js} +2 -2
  26. package/dist/beeq/{p-fe22de00.entry.js → p-6a38fcaf.entry.js} +2 -2
  27. package/dist/beeq/{p-d7c20c6f.entry.js → p-6be3f23a.entry.js} +2 -2
  28. package/dist/beeq/{p-d7c20c6f.entry.js.map → p-6be3f23a.entry.js.map} +1 -1
  29. package/dist/beeq/{p-ef783b95.entry.js → p-72ff2fe2.entry.js} +2 -2
  30. package/dist/beeq/{p-1764899f.entry.js → p-7ebe6b9d.entry.js} +2 -2
  31. package/dist/beeq/{p-1764899f.entry.js.map → p-7ebe6b9d.entry.js.map} +1 -1
  32. package/dist/beeq/{p-69cf0536.entry.js → p-817f7a5e.entry.js} +2 -2
  33. package/dist/beeq/{p-69cf0536.entry.js.map → p-817f7a5e.entry.js.map} +1 -1
  34. package/dist/beeq/{p-fb763ec5.entry.js → p-8bd7f4c2.entry.js} +2 -2
  35. package/dist/beeq/{p-8d9bef7a.entry.js → p-8be7ceb5.entry.js} +2 -2
  36. package/dist/beeq/{p-8d9bef7a.entry.js.map → p-8be7ceb5.entry.js.map} +1 -1
  37. package/dist/beeq/{p-f07f4d99.entry.js → p-9413a4d3.entry.js} +2 -2
  38. package/dist/beeq/{p-b7c6fdbd.entry.js → p-96f72671.entry.js} +2 -2
  39. package/dist/beeq/p-96f72671.entry.js.map +1 -0
  40. package/dist/beeq/p-Dx-CEPSQ.js.map +1 -1
  41. package/dist/beeq/p-a0a8ea5b.entry.js +6 -0
  42. package/dist/beeq/p-a0a8ea5b.entry.js.map +1 -0
  43. package/dist/beeq/{p-7972ba08.entry.js → p-a55354ee.entry.js} +2 -2
  44. package/dist/beeq/{p-365f0372.entry.js → p-a72671f9.entry.js} +2 -2
  45. package/dist/beeq/p-a72671f9.entry.js.map +1 -0
  46. package/dist/beeq/{p-56810dba.entry.js → p-bdb983f9.entry.js} +2 -2
  47. package/dist/beeq/{p-56810dba.entry.js.map → p-bdb983f9.entry.js.map} +1 -1
  48. package/dist/beeq/{p-2a7c5b1e.entry.js → p-d6c35472.entry.js} +2 -2
  49. package/dist/beeq/{p-2a7c5b1e.entry.js.map → p-d6c35472.entry.js.map} +1 -1
  50. package/dist/beeq/{p-84e96891.entry.js → p-d792e3d3.entry.js} +2 -2
  51. package/dist/beeq/{p-5645238d.entry.js → p-e9a1b183.entry.js} +2 -2
  52. package/dist/beeq/p-f688d230.entry.js +6 -0
  53. package/dist/beeq/{p-79aab4dd.entry.js.map → p-f688d230.entry.js.map} +1 -1
  54. package/dist/beeq/{p-b6f5430a.entry.js → p-f891fb4b.entry.js} +2 -2
  55. package/dist/beeq/{p-b26ee039.entry.js → p-fa123a10.entry.js} +2 -2
  56. package/dist/beeq/{p-b26ee039.entry.js.map → p-fa123a10.entry.js.map} +1 -1
  57. package/dist/beeq/p-uqkxeAeG.js.map +1 -1
  58. package/dist/beeq/svg/.icons-meta.json +13 -0
  59. package/dist/beeq.html-custom-data.json +2153 -50
  60. package/dist/cjs/beeq.cjs.js +1 -1
  61. package/dist/cjs/bq-accordion.cjs.entry.js +1 -1
  62. package/dist/cjs/bq-accordion.cjs.entry.js.map +1 -1
  63. package/dist/cjs/bq-alert.cjs.entry.js +1 -1
  64. package/dist/cjs/bq-alert.cjs.entry.js.map +1 -1
  65. package/dist/cjs/bq-button_2.cjs.entry.js +2 -2
  66. package/dist/cjs/bq-button_2.cjs.entry.js.map +1 -1
  67. package/dist/cjs/bq-checkbox.cjs.entry.js +4 -4
  68. package/dist/cjs/bq-checkbox.cjs.entry.js.map +1 -1
  69. package/dist/cjs/bq-date-picker.cjs.entry.js +1741 -364
  70. package/dist/cjs/bq-date-picker.cjs.entry.js.map +1 -1
  71. package/dist/cjs/bq-dialog.cjs.entry.js +5 -5
  72. package/dist/cjs/bq-dialog.cjs.entry.js.map +1 -1
  73. package/dist/cjs/bq-divider.cjs.entry.js +4 -4
  74. package/dist/cjs/bq-drawer.cjs.entry.js +5 -5
  75. package/dist/cjs/bq-drawer.cjs.entry.js.map +1 -1
  76. package/dist/cjs/bq-dropdown_2.cjs.entry.js +4 -4
  77. package/dist/cjs/bq-dropdown_2.cjs.entry.js.map +1 -1
  78. package/dist/cjs/bq-empty-state.cjs.entry.js +6 -6
  79. package/dist/cjs/bq-empty-state.cjs.entry.js.map +1 -1
  80. package/dist/cjs/bq-input.cjs.entry.js +8 -8
  81. package/dist/cjs/bq-input.cjs.entry.js.map +1 -1
  82. package/dist/cjs/bq-notification.cjs.entry.js +6 -6
  83. package/dist/cjs/bq-notification.cjs.entry.js.map +1 -1
  84. package/dist/cjs/bq-option-group.cjs.entry.js +1 -1
  85. package/dist/cjs/bq-option-list_2.cjs.entry.js +6 -6
  86. package/dist/cjs/bq-option-list_2.cjs.entry.js.map +1 -1
  87. package/dist/cjs/bq-option.cjs.entry.js +4 -4
  88. package/dist/cjs/bq-page-title.cjs.entry.js +4 -4
  89. package/dist/cjs/bq-progress.cjs.entry.js +5 -5
  90. package/dist/cjs/bq-progress.cjs.entry.js.map +1 -1
  91. package/dist/cjs/bq-radio-group.cjs.entry.js +1 -1
  92. package/dist/cjs/bq-radio.cjs.entry.js +4 -4
  93. package/dist/cjs/bq-radio.cjs.entry.js.map +1 -1
  94. package/dist/cjs/bq-select.cjs.entry.js +1 -1
  95. package/dist/cjs/bq-select.cjs.entry.js.map +1 -1
  96. package/dist/cjs/bq-side-menu-item.cjs.entry.js +1 -1
  97. package/dist/cjs/bq-side-menu-item.cjs.entry.js.map +1 -1
  98. package/dist/cjs/bq-side-menu.cjs.entry.js +2 -2
  99. package/dist/cjs/bq-slider.cjs.entry.js +3 -3
  100. package/dist/cjs/bq-slider.cjs.entry.js.map +1 -1
  101. package/dist/cjs/bq-spinner.cjs.entry.js +4 -4
  102. package/dist/cjs/bq-status.cjs.entry.js +2 -2
  103. package/dist/cjs/bq-status.cjs.entry.js.map +1 -1
  104. package/dist/cjs/bq-step-item.cjs.entry.js +5 -5
  105. package/dist/cjs/bq-step-item.cjs.entry.js.map +1 -1
  106. package/dist/cjs/bq-steps.cjs.entry.js +2 -2
  107. package/dist/cjs/bq-switch.cjs.entry.js +4 -4
  108. package/dist/cjs/bq-switch.cjs.entry.js.map +1 -1
  109. package/dist/cjs/bq-tab-group.cjs.entry.js +3 -3
  110. package/dist/cjs/bq-tab.cjs.entry.js +3 -3
  111. package/dist/cjs/bq-textarea.cjs.entry.js +5 -5
  112. package/dist/cjs/bq-toast.cjs.entry.js +2 -2
  113. package/dist/cjs/bq-toast.cjs.entry.js.map +1 -1
  114. package/dist/cjs/bq-tooltip.cjs.entry.js +4 -4
  115. package/dist/cjs/event-BhuEFC-I.js.map +1 -1
  116. package/dist/cjs/loader.cjs.js +1 -1
  117. package/dist/cjs/slot-DKWrtk4b.js.map +1 -1
  118. package/dist/collection/components/accordion-group/scss/bq-accordion-group.css +1 -1
  119. package/dist/collection/components/alert/scss/bq-alert.css +1 -1
  120. package/dist/collection/components/avatar/scss/bq-avatar.css +1 -1
  121. package/dist/collection/components/breadcrumb/scss/bq-breadcrumb.css +1 -1
  122. package/dist/collection/components/breadcrumb-item/scss/bq-breadcrumb-item.css +1 -1
  123. package/dist/collection/components/button/scss/bq-button.css +1 -1
  124. package/dist/collection/components/card/scss/bq-card.css +1 -1
  125. package/dist/collection/components/checkbox/bq-checkbox.js +5 -4
  126. package/dist/collection/components/checkbox/bq-checkbox.js.map +1 -1
  127. package/dist/collection/components/checkbox/scss/bq-checkbox.css +1 -1
  128. package/dist/collection/components/date-picker/bq-date-picker.js +1141 -457
  129. package/dist/collection/components/date-picker/bq-date-picker.js.map +1 -1
  130. package/dist/collection/components/date-picker/bq-date-picker.types.js +29 -0
  131. package/dist/collection/components/date-picker/bq-date-picker.types.js.map +1 -1
  132. package/dist/collection/components/date-picker/components/CalendarDayView.js +96 -0
  133. package/dist/collection/components/date-picker/components/CalendarDayView.js.map +1 -0
  134. package/dist/collection/components/date-picker/components/CalendarHeader.js +18 -0
  135. package/dist/collection/components/date-picker/components/CalendarHeader.js.map +1 -0
  136. package/dist/collection/components/date-picker/components/CalendarMonthView.js +70 -0
  137. package/dist/collection/components/date-picker/components/CalendarMonthView.js.map +1 -0
  138. package/dist/collection/components/date-picker/components/CalendarYearView.js +68 -0
  139. package/dist/collection/components/date-picker/components/CalendarYearView.js.map +1 -0
  140. package/dist/collection/components/date-picker/helper/bounds.js +114 -0
  141. package/dist/collection/components/date-picker/helper/bounds.js.map +1 -0
  142. package/dist/collection/components/date-picker/helper/calendar.js +156 -0
  143. package/dist/collection/components/date-picker/helper/calendar.js.map +1 -0
  144. package/dist/collection/components/date-picker/helper/constants.js +62 -16
  145. package/dist/collection/components/date-picker/helper/constants.js.map +1 -1
  146. package/dist/collection/components/date-picker/helper/input.js +37 -0
  147. package/dist/collection/components/date-picker/helper/input.js.map +1 -0
  148. package/dist/collection/components/date-picker/helper/intl.js +78 -0
  149. package/dist/collection/components/date-picker/helper/intl.js.map +1 -0
  150. package/dist/collection/components/date-picker/helper/labels.js +61 -0
  151. package/dist/collection/components/date-picker/helper/labels.js.map +1 -0
  152. package/dist/collection/components/date-picker/helper/navigation.js +45 -0
  153. package/dist/collection/components/date-picker/helper/navigation.js.map +1 -0
  154. package/dist/collection/components/date-picker/helper/selection.js +167 -0
  155. package/dist/collection/components/date-picker/helper/selection.js.map +1 -0
  156. package/dist/collection/components/date-picker/helper/value.js +49 -0
  157. package/dist/collection/components/date-picker/helper/value.js.map +1 -0
  158. package/dist/collection/components/date-picker/scss/bq-date-picker.css +1 -1
  159. package/dist/collection/components/dialog/bq-dialog.js +4 -4
  160. package/dist/collection/components/dialog/scss/bq-dialog.css +1 -1
  161. package/dist/collection/components/divider/bq-divider.js +4 -4
  162. package/dist/collection/components/drawer/bq-drawer.js +4 -4
  163. package/dist/collection/components/drawer/scss/bq-drawer.css +1 -1
  164. package/dist/collection/components/dropdown/bq-dropdown.js +1 -1
  165. package/dist/collection/components/dropdown/scss/bq-dropdown.css +1 -1
  166. package/dist/collection/components/empty-state/bq-empty-state.js +5 -5
  167. package/dist/collection/components/empty-state/scss/bq-empty-state.css +1 -1
  168. package/dist/collection/components/icon/bq-icon.js +1 -1
  169. package/dist/collection/components/icon/svg/.icons-meta.json +13 -0
  170. package/dist/collection/components/input/bq-input.js +7 -7
  171. package/dist/collection/components/input/scss/bq-input.css +1 -1
  172. package/dist/collection/components/notification/bq-notification.js +5 -5
  173. package/dist/collection/components/notification/scss/bq-notification.css +1 -1
  174. package/dist/collection/components/option/bq-option.js +4 -4
  175. package/dist/collection/components/option-group/bq-option-group.js +1 -1
  176. package/dist/collection/components/option-group/scss/bq-option-group.css +1 -1
  177. package/dist/collection/components/option-list/bq-option-list.js +1 -1
  178. package/dist/collection/components/option-list/scss/bq-option-list.css +1 -1
  179. package/dist/collection/components/page-title/bq-page-title.js +4 -4
  180. package/dist/collection/components/page-title/scss/bq-page-title.css +1 -1
  181. package/dist/collection/components/panel/bq-panel.js +2 -2
  182. package/dist/collection/components/panel/scss/bq-panel.css +1 -1
  183. package/dist/collection/components/progress/bq-progress.js +4 -4
  184. package/dist/collection/components/progress/scss/bq-progress.css +1 -1
  185. package/dist/collection/components/radio/bq-radio.js +5 -4
  186. package/dist/collection/components/radio/bq-radio.js.map +1 -1
  187. package/dist/collection/components/radio/scss/bq-radio.css +1 -1
  188. package/dist/collection/components/radio-group/bq-radio-group.js +1 -1
  189. package/dist/collection/components/select/scss/bq-select.css +1 -1
  190. package/dist/collection/components/side-menu/bq-side-menu.js +2 -2
  191. package/dist/collection/components/side-menu-item/scss/bq-side-menu-item.css +1 -1
  192. package/dist/collection/components/slider/bq-slider.js +2 -2
  193. package/dist/collection/components/spinner/bq-spinner.js +4 -4
  194. package/dist/collection/components/spinner/scss/bq-spinner.css +1 -1
  195. package/dist/collection/components/status/bq-status.js +1 -1
  196. package/dist/collection/components/status/scss/bq-status.css +1 -1
  197. package/dist/collection/components/step-item/bq-step-item.js +4 -4
  198. package/dist/collection/components/step-item/scss/bq-step-item.css +1 -1
  199. package/dist/collection/components/steps/bq-steps.js +2 -2
  200. package/dist/collection/components/switch/bq-switch.js +3 -3
  201. package/dist/collection/components/switch/scss/bq-switch.css +1 -1
  202. package/dist/collection/components/tab/bq-tab.js +3 -3
  203. package/dist/collection/components/tab/scss/bq-tab.css +1 -1
  204. package/dist/collection/components/tab-group/bq-tab-group.js +3 -3
  205. package/dist/collection/components/tag/bq-tag.js +4 -4
  206. package/dist/collection/components/tag/scss/bq-tag.css +1 -1
  207. package/dist/collection/components/textarea/bq-textarea.js +5 -5
  208. package/dist/collection/components/textarea/scss/bq-textarea.css +1 -1
  209. package/dist/collection/components/toast/bq-toast.js +1 -1
  210. package/dist/collection/components/toast/scss/bq-toast.css +1 -1
  211. package/dist/collection/components/tooltip/bq-tooltip.js +4 -4
  212. package/dist/collection/components/tooltip/scss/bq-tooltip.css +1 -1
  213. package/dist/collection/shared/utils/event.js.map +1 -1
  214. package/dist/collection/shared/utils/slot.js.map +1 -1
  215. package/dist/components/bq-accordion-group.js +1 -1
  216. package/dist/components/bq-accordion-group.js.map +1 -1
  217. package/dist/components/bq-accordion.js +1 -1
  218. package/dist/components/bq-alert.js +1 -1
  219. package/dist/components/bq-alert.js.map +1 -1
  220. package/dist/components/bq-avatar.js +1 -1
  221. package/dist/components/bq-avatar.js.map +1 -1
  222. package/dist/components/bq-breadcrumb-item.js +1 -1
  223. package/dist/components/bq-breadcrumb-item.js.map +1 -1
  224. package/dist/components/bq-breadcrumb.js +1 -1
  225. package/dist/components/bq-breadcrumb.js.map +1 -1
  226. package/dist/components/bq-button.js +1 -1
  227. package/dist/components/bq-card.js +1 -1
  228. package/dist/components/bq-card.js.map +1 -1
  229. package/dist/components/bq-checkbox.js +1 -1
  230. package/dist/components/bq-checkbox.js.map +1 -1
  231. package/dist/components/bq-date-picker.js +1 -1
  232. package/dist/components/bq-date-picker.js.map +1 -1
  233. package/dist/components/bq-dialog.js +1 -1
  234. package/dist/components/bq-dialog.js.map +1 -1
  235. package/dist/components/bq-divider.js +1 -1
  236. package/dist/components/bq-drawer.js +1 -1
  237. package/dist/components/bq-drawer.js.map +1 -1
  238. package/dist/components/bq-dropdown.js +1 -1
  239. package/dist/components/bq-empty-state.js +1 -1
  240. package/dist/components/bq-empty-state.js.map +1 -1
  241. package/dist/components/bq-icon.js +1 -1
  242. package/dist/components/bq-input.js +1 -1
  243. package/dist/components/bq-input.js.map +1 -1
  244. package/dist/components/bq-notification.js +1 -1
  245. package/dist/components/bq-notification.js.map +1 -1
  246. package/dist/components/bq-option-group.js +1 -1
  247. package/dist/components/bq-option-group.js.map +1 -1
  248. package/dist/components/bq-option-list.js +1 -1
  249. package/dist/components/bq-option.js +1 -1
  250. package/dist/components/bq-page-title.js +1 -1
  251. package/dist/components/bq-page-title.js.map +1 -1
  252. package/dist/components/bq-panel.js +1 -1
  253. package/dist/components/bq-progress.js +1 -1
  254. package/dist/components/bq-progress.js.map +1 -1
  255. package/dist/components/bq-radio-group.js +1 -1
  256. package/dist/components/bq-radio.js +1 -1
  257. package/dist/components/bq-radio.js.map +1 -1
  258. package/dist/components/bq-select.js +1 -1
  259. package/dist/components/bq-select.js.map +1 -1
  260. package/dist/components/bq-side-menu-item.js +1 -1
  261. package/dist/components/bq-side-menu-item.js.map +1 -1
  262. package/dist/components/bq-side-menu.js +1 -1
  263. package/dist/components/bq-slider.js +1 -1
  264. package/dist/components/bq-spinner.js +1 -1
  265. package/dist/components/bq-spinner.js.map +1 -1
  266. package/dist/components/bq-status.js +1 -1
  267. package/dist/components/bq-status.js.map +1 -1
  268. package/dist/components/bq-step-item.js +1 -1
  269. package/dist/components/bq-step-item.js.map +1 -1
  270. package/dist/components/bq-steps.js +1 -1
  271. package/dist/components/bq-switch.js +1 -1
  272. package/dist/components/bq-switch.js.map +1 -1
  273. package/dist/components/bq-tab-group.js +1 -1
  274. package/dist/components/bq-tab.js +1 -1
  275. package/dist/components/bq-tab.js.map +1 -1
  276. package/dist/components/bq-tag.js +1 -1
  277. package/dist/components/bq-textarea.js +1 -1
  278. package/dist/components/bq-textarea.js.map +1 -1
  279. package/dist/components/bq-toast.js +1 -1
  280. package/dist/components/bq-toast.js.map +1 -1
  281. package/dist/components/bq-tooltip.js +1 -1
  282. package/dist/components/index.js +1 -1
  283. package/dist/components/{p-CK3SnGa2.js → p-BBCVL6R0.js} +2 -2
  284. package/dist/components/{p-MSqM1CAF.js → p-BS8hIETL.js} +2 -2
  285. package/dist/components/{p-MSqM1CAF.js.map → p-BS8hIETL.js.map} +1 -1
  286. package/dist/components/{p-wi7vUIoV.js → p-CWawcXxA.js} +2 -2
  287. package/dist/components/{p-wi7vUIoV.js.map → p-CWawcXxA.js.map} +1 -1
  288. package/dist/components/{p-CNITfoR_.js → p-D6ngGq0Y.js} +2 -2
  289. package/dist/components/{p-CNITfoR_.js.map → p-D6ngGq0Y.js.map} +1 -1
  290. package/dist/components/{p-jrBUnEFW.js → p-DMKBBBUE.js} +2 -2
  291. package/dist/components/{p-jrBUnEFW.js.map → p-DMKBBBUE.js.map} +1 -1
  292. package/dist/components/p-Dd3v3b2E.js +6 -0
  293. package/dist/components/{p-CfP6le1E.js.map → p-Dd3v3b2E.js.map} +1 -1
  294. package/dist/components/p-Dx-CEPSQ.js.map +1 -1
  295. package/dist/components/{p-BOuMP_Rm.js → p-iyX-PhkX.js} +2 -2
  296. package/dist/components/{p-BOuMP_Rm.js.map → p-iyX-PhkX.js.map} +1 -1
  297. package/dist/components/p-uqkxeAeG.js.map +1 -1
  298. package/dist/components/{p-2bpX-u8x.js → p-v3c5-Hhf.js} +2 -2
  299. package/dist/custom-elements.json +25333 -1261
  300. package/dist/esm/beeq.js +1 -1
  301. package/dist/esm/bq-accordion.entry.js +1 -1
  302. package/dist/esm/bq-accordion.entry.js.map +1 -1
  303. package/dist/esm/bq-alert.entry.js +1 -1
  304. package/dist/esm/bq-alert.entry.js.map +1 -1
  305. package/dist/esm/bq-button_2.entry.js +2 -2
  306. package/dist/esm/bq-button_2.entry.js.map +1 -1
  307. package/dist/esm/bq-checkbox.entry.js +4 -4
  308. package/dist/esm/bq-checkbox.entry.js.map +1 -1
  309. package/dist/esm/bq-date-picker.entry.js +1743 -366
  310. package/dist/esm/bq-date-picker.entry.js.map +1 -1
  311. package/dist/esm/bq-dialog.entry.js +5 -5
  312. package/dist/esm/bq-dialog.entry.js.map +1 -1
  313. package/dist/esm/bq-divider.entry.js +4 -4
  314. package/dist/esm/bq-drawer.entry.js +5 -5
  315. package/dist/esm/bq-drawer.entry.js.map +1 -1
  316. package/dist/esm/bq-dropdown_2.entry.js +4 -4
  317. package/dist/esm/bq-dropdown_2.entry.js.map +1 -1
  318. package/dist/esm/bq-empty-state.entry.js +6 -6
  319. package/dist/esm/bq-empty-state.entry.js.map +1 -1
  320. package/dist/esm/bq-input.entry.js +8 -8
  321. package/dist/esm/bq-input.entry.js.map +1 -1
  322. package/dist/esm/bq-notification.entry.js +6 -6
  323. package/dist/esm/bq-notification.entry.js.map +1 -1
  324. package/dist/esm/bq-option-group.entry.js +1 -1
  325. package/dist/esm/bq-option-list_2.entry.js +6 -6
  326. package/dist/esm/bq-option-list_2.entry.js.map +1 -1
  327. package/dist/esm/bq-option.entry.js +4 -4
  328. package/dist/esm/bq-page-title.entry.js +4 -4
  329. package/dist/esm/bq-progress.entry.js +5 -5
  330. package/dist/esm/bq-progress.entry.js.map +1 -1
  331. package/dist/esm/bq-radio-group.entry.js +1 -1
  332. package/dist/esm/bq-radio.entry.js +4 -4
  333. package/dist/esm/bq-radio.entry.js.map +1 -1
  334. package/dist/esm/bq-select.entry.js +1 -1
  335. package/dist/esm/bq-select.entry.js.map +1 -1
  336. package/dist/esm/bq-side-menu-item.entry.js +1 -1
  337. package/dist/esm/bq-side-menu-item.entry.js.map +1 -1
  338. package/dist/esm/bq-side-menu.entry.js +2 -2
  339. package/dist/esm/bq-slider.entry.js +3 -3
  340. package/dist/esm/bq-slider.entry.js.map +1 -1
  341. package/dist/esm/bq-spinner.entry.js +4 -4
  342. package/dist/esm/bq-status.entry.js +2 -2
  343. package/dist/esm/bq-status.entry.js.map +1 -1
  344. package/dist/esm/bq-step-item.entry.js +5 -5
  345. package/dist/esm/bq-step-item.entry.js.map +1 -1
  346. package/dist/esm/bq-steps.entry.js +2 -2
  347. package/dist/esm/bq-switch.entry.js +4 -4
  348. package/dist/esm/bq-switch.entry.js.map +1 -1
  349. package/dist/esm/bq-tab-group.entry.js +3 -3
  350. package/dist/esm/bq-tab.entry.js +3 -3
  351. package/dist/esm/bq-textarea.entry.js +5 -5
  352. package/dist/esm/bq-toast.entry.js +2 -2
  353. package/dist/esm/bq-toast.entry.js.map +1 -1
  354. package/dist/esm/bq-tooltip.entry.js +4 -4
  355. package/dist/esm/event-Dx-CEPSQ.js.map +1 -1
  356. package/dist/esm/loader.js +1 -1
  357. package/dist/esm/slot-uqkxeAeG.js.map +1 -1
  358. package/dist/hydrate/index.js +1980 -601
  359. package/dist/hydrate/index.mjs +1980 -601
  360. package/dist/stencil.config.js +6 -0
  361. package/dist/stencil.config.js.map +1 -1
  362. package/dist/types/components/checkbox/bq-checkbox.d.ts +2 -1
  363. package/dist/types/components/date-picker/bq-date-picker.d.ts +330 -238
  364. package/dist/types/components/date-picker/bq-date-picker.types.d.ts +30 -39
  365. package/dist/types/components/date-picker/components/CalendarDayView.d.ts +42 -0
  366. package/dist/types/components/date-picker/components/CalendarHeader.d.ts +34 -0
  367. package/dist/types/components/date-picker/components/CalendarMonthView.d.ts +34 -0
  368. package/dist/types/components/date-picker/components/CalendarYearView.d.ts +32 -0
  369. package/dist/types/components/date-picker/helper/bounds.d.ts +49 -0
  370. package/dist/types/components/date-picker/helper/calendar.d.ts +78 -0
  371. package/dist/types/components/date-picker/helper/constants.d.ts +62 -16
  372. package/dist/types/components/date-picker/helper/input.d.ts +23 -0
  373. package/dist/types/components/date-picker/helper/intl.d.ts +38 -0
  374. package/dist/types/components/date-picker/helper/labels.d.ts +29 -0
  375. package/dist/types/components/date-picker/helper/navigation.d.ts +23 -0
  376. package/dist/types/components/date-picker/helper/selection.d.ts +44 -0
  377. package/dist/types/components/date-picker/helper/value.d.ts +31 -0
  378. package/dist/types/components/radio/bq-radio.d.ts +2 -1
  379. package/dist/types/components.d.ts +437 -350
  380. package/dist/types/shared/utils/event.d.ts +1 -1
  381. package/dist/types/shared/utils/slot.d.ts +1 -1
  382. package/package.json +1 -1
  383. package/dist/beeq/p-0cfa8d0b.entry.js +0 -6
  384. package/dist/beeq/p-0cfa8d0b.entry.js.map +0 -1
  385. package/dist/beeq/p-25772ebd.entry.js.map +0 -1
  386. package/dist/beeq/p-365f0372.entry.js.map +0 -1
  387. package/dist/beeq/p-53ea5999.entry.js +0 -6
  388. package/dist/beeq/p-53ea5999.entry.js.map +0 -1
  389. package/dist/beeq/p-79aab4dd.entry.js +0 -6
  390. package/dist/beeq/p-b7c6fdbd.entry.js.map +0 -1
  391. package/dist/beeq/p-d4df64ae.entry.js +0 -6
  392. package/dist/collection/components/date-picker/libs/callyLibrary.js +0 -92
  393. package/dist/collection/components/date-picker/libs/callyLibrary.js.map +0 -1
  394. package/dist/components/p-CfP6le1E.js +0 -6
  395. package/dist/types/components/date-picker/libs/callyLibrary.d.ts +0 -15
  396. /package/dist/beeq/{p-49a999b4.entry.js.map → p-1a2c4878.entry.js.map} +0 -0
  397. /package/dist/beeq/{p-8974f66f.entry.js.map → p-2e1fffcd.entry.js.map} +0 -0
  398. /package/dist/beeq/{p-b31d249b.entry.js.map → p-38006c8e.entry.js.map} +0 -0
  399. /package/dist/beeq/{p-0a3c5b97.entry.js.map → p-5eba392c.entry.js.map} +0 -0
  400. /package/dist/beeq/{p-fe22de00.entry.js.map → p-6a38fcaf.entry.js.map} +0 -0
  401. /package/dist/beeq/{p-ef783b95.entry.js.map → p-72ff2fe2.entry.js.map} +0 -0
  402. /package/dist/beeq/{p-fb763ec5.entry.js.map → p-8bd7f4c2.entry.js.map} +0 -0
  403. /package/dist/beeq/{p-f07f4d99.entry.js.map → p-9413a4d3.entry.js.map} +0 -0
  404. /package/dist/beeq/{p-7972ba08.entry.js.map → p-a55354ee.entry.js.map} +0 -0
  405. /package/dist/beeq/{p-84e96891.entry.js.map → p-d792e3d3.entry.js.map} +0 -0
  406. /package/dist/beeq/{p-5645238d.entry.js.map → p-e9a1b183.entry.js.map} +0 -0
  407. /package/dist/beeq/{p-b6f5430a.entry.js.map → p-f891fb4b.entry.js.map} +0 -0
  408. /package/dist/components/{p-CK3SnGa2.js.map → p-BBCVL6R0.js.map} +0 -0
  409. /package/dist/components/{p-2bpX-u8x.js.map → p-v3c5-Hhf.js.map} +0 -0
@@ -11,7 +11,7 @@ import { TAvatarShape, TAvatarSize } from "./components/avatar/bq-avatar.types";
11
11
  import { TBadgeSize } from "./components/badge/bq-badge.types";
12
12
  import { TButtonAppearance, TButtonBorderRadius, TButtonSize, TButtonType, TButtonVariant } from "./components/button/bq-button.types";
13
13
  import { TCardBorderRadius, TCardType } from "./components/card/bq-card.types";
14
- import { DaysOfWeek, TDatePickerType } from "./components/date-picker/bq-date-picker.types";
14
+ import { DaysOfWeek, TCalendarView, TDatePickerType, TDatePrecision, TFloatingStrategy, TMonthsPerView } from "./components/date-picker/bq-date-picker.types";
15
15
  import { Placement } from "./services/interfaces";
16
16
  import { TInputType, TInputValidation, TInputValue } from "./components/input/bq-input.types";
17
17
  import { TDialogBorderRadius, TDialogFooterAppearance, TDialogSize } from "./components/dialog/bq-dialog.types";
@@ -40,7 +40,7 @@ export { TAvatarShape, TAvatarSize } from "./components/avatar/bq-avatar.types";
40
40
  export { TBadgeSize } from "./components/badge/bq-badge.types";
41
41
  export { TButtonAppearance, TButtonBorderRadius, TButtonSize, TButtonType, TButtonVariant } from "./components/button/bq-button.types";
42
42
  export { TCardBorderRadius, TCardType } from "./components/card/bq-card.types";
43
- export { DaysOfWeek, TDatePickerType } from "./components/date-picker/bq-date-picker.types";
43
+ export { DaysOfWeek, TCalendarView, TDatePickerType, TDatePrecision, TFloatingStrategy, TMonthsPerView } from "./components/date-picker/bq-date-picker.types";
44
44
  export { Placement } from "./services/interfaces";
45
45
  export { TInputType, TInputValidation, TInputValue } from "./components/input/bq-input.types";
46
46
  export { TDialogBorderRadius, TDialogFooterAppearance, TDialogSize } from "./components/dialog/bq-dialog.types";
@@ -663,9 +663,10 @@ export namespace Components {
663
663
  * @event bqChange - Handler to be called when the checkbox state changes
664
664
  * @event bqFocus - Handler to be called when the checkbox gets focus
665
665
  * @event bqBlur - Handler to be called when the checkbox loses focus
666
- * @cssprop --bq-checkbox--size - Checkbox size
666
+ * @cssprop --bq-checkbox--background-color - Checkbox background color
667
667
  * @cssprop --bq-checkbox--border-radius - Checkbox border radius
668
668
  * @cssprop --bq-checkbox--border-width - Checkbox border width
669
+ * @cssprop --bq-checkbox--size - Checkbox size
669
670
  */
670
671
  interface BqCheckbox {
671
672
  /**
@@ -721,222 +722,246 @@ export namespace Components {
721
722
  "value": string;
722
723
  }
723
724
  /**
724
- * The Date Picker is a intuitive UI element component allows users to select dates from a visual calendar interface, providing an intuitive way to input date information.
725
+ * The Date Picker is a pure-Stencil calendar input.
726
+ * It supports single, multi, and range selection, three navigation views
727
+ * (days → months → years), full localization via `Intl.DateTimeFormat`,
728
+ * multi-month side-by-side rendering, and RTL layouts.
725
729
  * @example How to use it
726
730
  * ```html
727
731
  * <bq-date-picker
728
732
  * first-day-of-week="1"
729
733
  * locale="en-GB"
730
- * months-per-view="single"
731
- * months="2"
732
734
  * name="bq-date-picker"
733
735
  * placeholder="Enter your date"
734
- * placement="bottom-end"
735
- * show-outside-days="false"
736
- * type="range"
737
- * validation-status="none"
738
- * value="2024-05-25"
736
+ * type="single"
737
+ * value="2026-07-15"
739
738
  * >
740
- * <label class="flex flex-grow items-center" slot="label">
741
- * Date picker label
742
- * </label>
739
+ * <label slot="label">Date picker label</label>
743
740
  * </bq-date-picker>
744
741
  * ```
745
- * @documentation https://www.beeq.design/3d466e231/p/5793a9-date-picker
746
- * @status stable
742
+ * @documentation https://storybook.beeq.design/?path=/docs/components-date-picker--docs
743
+ * @status experimental
747
744
  * @dependency bq-button
748
745
  * @dependency bq-dropdown
749
746
  * @dependency bq-icon
750
747
  * @attr {boolean} autofocus - If `true`, the Date picker input will be focused on component render.
751
748
  * @attr {string} clear-button-label - The clear button aria label.
749
+ * @attr {string} calendar-button-label - The aria-label for the calendar trigger button.
752
750
  * @attr {boolean} disable-clear - If `true`, the clear button won't be displayed.
753
751
  * @attr {boolean} disabled - Indicates whether the Date picker input is disabled or not.
754
- * @attr {number} distance - Represents the distance (gutter or margin) between the Date picker panel and the input element.
755
- * @attr {0 | 1 | 2 | 3 | 4 | 5 | 6} first-day-of-week - The first day of the week, where Sunday is 0, Monday is 1, etc.
756
- * @attr {Intl.DateTimeFormatOptions} format-options - The options to use when formatting the displayed value. Details: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options
757
- * @attr {string} form - The ID of the form that the Date picker input belongs to.
758
- * @attr {string} form-validation-message - The native form validation message (mandatory if `required` is set).
759
- * @attr {function} is-date-disallowed - A function that takes a date and returns true if the date should not be selectable.
760
- * @attr {Intl.LocalesArgument} locale - The locale for formatting dates. If not set, will use the browser's locale. Details: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument
761
- * @attr {string} max - The latest date that can be selected.
762
- * @attr {string} min - The earliest date that can be selected.
763
- * @attr {number} months - Number of months to show when range is `true`.
764
- * @attr {string} name - The Date picker input name.
765
- * @attr {boolean} open - If `true`, the Date picker panel will be visible.
766
- * @attr {string} panel-height - When set, it will override the height of the Date picker panel.
767
- * @attr {"top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end"} placement - Position of the Date picker panel.
768
- * @attr {boolean} required - Indicates whether or not the Date picker input is required to be filled out before submitting the form.
769
- * @attr {number} skidding - Represents the skidding between the Date picker panel and the input element.
770
- * @attr {boolean} show-outside-days - Whether to show days outside the month.
771
- * @attr {string} strategy - Defines the strategy to position the Date picker panel.
772
- * @attr {string} tentative - The date that is tentatively selected, e.g. the start of a range selection.
773
- * @attr {"single" | "multi" | "range"} type - It defines how the calendar will behave, allowing single date selection, range selection, or multiple date selection.
774
- * @attr {"error" | "none" | "success" | "warning"} validation-status - The validation status of the Select input.
775
- * @attr {string} value - The select input value represents the currently selected date or range and can be used to reset the field to a previous value.
752
+ * @attr {number} distance - Represents the distance between the panel and the input.
753
+ * @attr {0 | 1 | 2 | 3 | 4 | 5 | 6} first-day-of-week - The first day of the week (0 = Sunday).
754
+ * @attr {Intl.DateTimeFormatOptions} format-options - Display formatting options.
755
+ * @attr {string} form - The form ID the input belongs to.
756
+ * @attr {string} form-validation-message - Custom native form validation message.
757
+ * @attr {"days" | "months" | "years"} initial-view - The view to open when the panel first opens.
758
+ * @attr {function} is-date-disallowed - Predicate that marks specific dates as unselectable.
759
+ * @attr {Intl.LocalesArgument} locale - Locale used for formatting.
760
+ * @attr {string} max - Latest selectable date (ISO).
761
+ * @attr {string} min - Earliest selectable date (ISO).
762
+ * @attr {number} months - Number of month panels to render side by side (range/multi). Capped at 2.
763
+ * @attr {"single" | "months"} months-per-view - Prev/Next step size when multi-month is enabled.
764
+ * @attr {string} name - Input name.
765
+ * @attr {boolean} open - If `true`, the panel is visible.
766
+ * @attr {string} panel-height - Overrides the height of the panel.
767
+ * @attr {string} placeholder - Input placeholder text.
768
+ * @attr {"top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end"} placement - Placement of the panel.
769
+ * @attr {boolean} required - Whether a value must be selected before submitting the form.
770
+ * @attr {boolean} show-outside-days - Whether to render days that belong to adjacent months.
771
+ * @attr {number} skidding - Skidding between the panel and the trigger.
772
+ * @attr {"fixed" | "absolute"} strategy - Positioning strategy for the panel.
773
+ * @attr {"single" | "multi" | "range"} type - Selection mode.
774
+ * @attr {"error" | "none" | "success" | "warning"} validation-status - Validation state.
775
+ * @attr {string} value - The current selection, as a wire-format string. Shape depends on `type` and `precision`:
776
+ * • **single**: a single ISO token — `YYYY-MM-DD` (precision `day`), `YYYY-MM` (precision `month`), `YYYY` (precision `year`).
777
+ * • **range**: `start/end` (two tokens joined with `/`) at the same precision.
778
+ * • **multi**: space-separated tokens at the same precision.
779
+ * Bounds (`min`/`max`) may be supplied at any of these precisions and are honoured accordingly.
780
+ * @attr {"day" | "month" | "year"} precision - Granularity of the value and of the calendar's initial view. Also drives which cells are selectable (day cells at `day`, month cells at `month`, year cells at `year`). Defaults to `"day"`.
776
781
  * @method clear - Clears the selected value.
777
- * @event bqBlur - Callback handler emitted when the input loses focus.
778
- * @event bqChange - Callback handler emitted when the input value has changed and the input loses focus.
779
- * @event bqClear - Callback handler emitted when the input value has been cleared.
780
- * @event bqFocus - Callback handler emitted when the input has received focus.
781
- * @cssprop --bq-date-picker--background-color - Date picker background color.
782
- * @cssprop --bq-date-picker--border-color - Date picker border color.
783
- * @cssprop --bq-date-picker--border-color-disabled - Date picker border color when disabled.
784
- * @cssprop --bq-date-picker--border-color-focus - Date picker border color on focus.
785
- * @cssprop --bq-date-picker--border-radius - Date picker border radius.
786
- * @cssprop --bq-date-picker--border-style - Date picker border style.
787
- * @cssprop --bq-date-picker--border-width - Date picker border width.
788
- * @cssprop --bq-date-picker--currentDate-border-color - Date picker border color for current date.
789
- * @cssprop --bq-date-picker--currentDate-border-width - Date picker border width for current date.
790
- * @cssprop --bq-date-picker--day-size - Date picker button day size.
791
- * @cssprop --bq-date-picker--gap - Gap between Date picker content and prefix/suffix.
792
- * @cssprop --bq-date-picker--icon-size - Icon size to use in prefix/suffix and clear button.
793
- * @cssprop --bq-date-picker--label-margin-bottom - Date picker label margin bottom.
794
- * @cssprop --bq-date-picker--label-text-color - Date picker label text color.
795
- * @cssprop --bq-date-picker--label-text-size - Date picker label text size.
796
- * @cssprop --bq-date-picker--padding-end - Date picker padding end.
797
- * @cssprop --bq-date-picker--padding-start - Date picker padding start.
798
- * @cssprop --bq-date-picker--paddingY - Date picker padding top and bottom.
799
- * @cssprop --bq-date-picker--range-background-color - Background color for the selected date range in the date picker.
800
- * @cssprop --bq-date-picker--range-inner-background-color - Background color for the selected dates inside the date range in the date picker.
801
- * @cssprop --bq-date-picker--text-color - Date picker text color.
802
- * @cssprop --bq-date-picker--text-placeholder-color - Date picker placeholder text color.
803
- * @cssprop --bq-date-picker--text-size - Date picker text size.
782
+ * @event bqBlur - Emitted when the input loses focus.
783
+ * @event bqChange - Emitted when the value changes.
784
+ * @event bqClear - Emitted when the value is cleared.
785
+ * @event bqFocus - Emitted when the input receives focus.
786
+ * @event bqViewChange - Emitted when the internal calendar view changes (days ↔ months ↔ years).
787
+ * @cssprop --bq-date-picker--background-color - Input background color.
788
+ * @cssprop --bq-date-picker--border-color - Input border color.
789
+ * @cssprop --bq-date-picker--border-color-disabled - Border color when disabled.
790
+ * @cssprop --bq-date-picker--border-color-focus - Border color on focus.
791
+ * @cssprop --bq-date-picker--border-radius - Input border radius.
792
+ * @cssprop --bq-date-picker--border-style - Border style.
793
+ * @cssprop --bq-date-picker--border-width - Border width.
794
+ * @cssprop --bq-date-picker--currentDate-border-color - Border color for today's date.
795
+ * @cssprop --bq-date-picker--currentDate-border-width - Border width for today's date.
796
+ * @cssprop --bq-date-picker--day-size - Size of a day cell in the calendar.
797
+ * @cssprop --bq-date-picker--gap - Gap between the input content and prefix/suffix.
798
+ * @cssprop --bq-date-picker--header-title-color - Color of the per-panel month label in multi-panel view.
799
+ * @cssprop --bq-date-picker--icon-size - Size of the icons used in prefix/suffix/clear.
800
+ * @cssprop --bq-date-picker--label-margin-bottom - Space below the label.
801
+ * @cssprop --bq-date-picker--label-text-color - Label text color.
802
+ * @cssprop --bq-date-picker--label-text-size - Label text size.
803
+ * @cssprop --bq-date-picker--padding-end - Input padding end.
804
+ * @cssprop --bq-date-picker--padding-start - Input padding start.
805
+ * @cssprop --bq-date-picker--paddingY - Input vertical padding.
806
+ * @cssprop --bq-date-picker--range-background-color - Background color for range start/end days.
807
+ * @cssprop --bq-date-picker--range-inner-background-color - Background color for inner range days.
808
+ * @cssprop --bq-date-picker--row-gap - Vertical space between day-grid rows.
809
+ * @cssprop --bq-date-picker--text-color - Input text color.
810
+ * @cssprop --bq-date-picker--text-placeholder-color - Placeholder text color.
811
+ * @cssprop --bq-date-picker--text-size - Input text size.
812
+ * @cssprop --bq-date-picker--view-cell-background-hover - Hover background for day/month/year cells.
813
+ * @cssprop --bq-date-picker--view-cell-background-selected - Selected background for day/month/year cells.
814
+ * @cssprop --bq-date-picker--view-cell-height - Height of month/year cells.
815
+ * @cssprop --bq-date-picker--view-cell-radius - Border radius of day/month/year cells.
816
+ * @cssprop --bq-date-picker--view-cell-text-selected - Text color for selected day/month/year cells.
804
817
  */
805
818
  interface BqDatePicker {
806
819
  /**
807
- * If `true`, the Date picker input will be focused on component render
820
+ * If `true`, the Date picker input will be focused on component render.
821
+ * @default false
808
822
  */
809
823
  "autofocus": boolean;
810
824
  /**
811
- * Clears the selected value.
812
- * @returns
825
+ * The aria-label for the calendar trigger button.
826
+ * @default 'Open calendar'
827
+ */
828
+ "calendarButtonLabel": string;
829
+ /**
830
+ * Clears the selected value and any pending validation state (bad input, bounds overflow). Emits `bqClear`. No-op when the component is disabled.
831
+ * @returns A promise that resolves once the value has been cleared.
813
832
  */
814
833
  "clear": () => Promise<void>;
815
834
  /**
816
- * The clear button aria label
835
+ * The clear button aria label.
817
836
  * @default 'Clear value'
818
837
  */
819
- "clearButtonLabel"?: string;
838
+ "clearButtonLabel": string;
820
839
  /**
821
- * If `true`, the clear button won't be displayed
840
+ * If `true`, the clear button won't be displayed.
822
841
  * @default false
823
842
  */
824
- "disableClear"?: boolean;
843
+ "disableClear": boolean;
825
844
  /**
826
- * Indicates whether the Date picker input is disabled or not. If `true`, the Date picker is disabled and cannot be interacted with.
845
+ * Indicates whether the Date picker input is disabled or not.
827
846
  * @default false
828
847
  */
829
- "disabled"?: boolean;
848
+ "disabled": boolean;
830
849
  /**
831
- * Represents the distance (gutter or margin) between the Date picker panel and the input element.
850
+ * Distance (gutter) between the Date picker panel and the input element.
832
851
  * @default 8
833
852
  */
834
- "distance"?: number;
853
+ "distance": number;
835
854
  /**
836
- * The first day of the week, where Sunday is 0, Monday is 1, etc
855
+ * The first day of the week, where Sunday is 0, Monday is 1, etc.
837
856
  * @default 1
838
857
  */
839
- "firstDayOfWeek"?: DaysOfWeek;
858
+ "firstDayOfWeek": DaysOfWeek;
840
859
  /**
841
- * The ID of the form that the Date picker input belongs to.
860
+ * The ID of the form the input belongs to.
842
861
  */
843
862
  "form"?: string;
844
863
  /**
845
- * The native form validation message (mandatory if `required` is set)
864
+ * Native form validation message (mandatory if `required` is set).
846
865
  */
847
866
  "formValidationMessage"?: string;
848
867
  /**
849
- * The options to use when formatting the displayed value. Details: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options
850
- * @default { day: 'numeric', month: 'short', year: 'numeric', }
868
+ * Options used when formatting the displayed value. When omitted, sensible defaults are picked based on `precision`: - `day` → `{ day: 'numeric', month: 'short', year: 'numeric' }` - `month` → `{ month: 'long', year: 'numeric' }` - `year` → `{ year: 'numeric' }`
851
869
  */
852
- "formatOptions": Intl.DateTimeFormatOptions;
870
+ "formatOptions"?: Intl.DateTimeFormatOptions;
853
871
  /**
854
- * A function that takes a date and returns true if the date should not be selectable
872
+ * The view opened first when the panel becomes visible.
873
+ * @default 'days'
874
+ */
875
+ "initialView": TCalendarView;
876
+ /**
877
+ * Predicate that marks specific dates as unselectable.
855
878
  */
856
879
  "isDateDisallowed"?: (date: Date) => boolean;
857
880
  /**
858
- * The locale for formatting dates. If not set, will use the browser's locale. Details: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument
881
+ * Locale used for formatting dates.
859
882
  * @default 'en-GB'
860
883
  */
861
884
  "locale": Intl.LocalesArgument;
862
885
  /**
863
- * The latest date that can be selected
886
+ * Latest date that can be selected (ISO).
864
887
  */
865
888
  "max"?: string;
866
889
  /**
867
- * The earliest date that can be selected
890
+ * Earliest date that can be selected (ISO).
868
891
  */
869
892
  "min"?: string;
870
893
  /**
871
- * Number of months to show when range is `true`
894
+ * Number of months to show side by side (range / multi). Capped at 2. Larger values are silently clamped to keep the popover from overflowing the viewport and to preserve keyboard navigation semantics.
895
+ * @default 1
872
896
  */
873
897
  "months": number;
874
898
  /**
875
- * Specifies how the next/previous buttons should navigate the calendar. - single: The buttons will navigate by a single month at a time. - months: The buttons will navigate by the number of months displayed per view.
899
+ * How the next/previous buttons should navigate the calendar. - single: navigate one month at a time. - months: navigate by the number of months displayed.
876
900
  * @default 'single'
877
901
  */
878
- "monthsPerView": 'single' | 'months';
902
+ "monthsPerView": TMonthsPerView;
879
903
  /**
880
904
  * The Date picker input name.
881
905
  */
882
906
  "name": string;
883
907
  /**
884
- * If `true`, the Date picker panel will be visible.
908
+ * If `true`, the panel is visible.
885
909
  * @default false
886
910
  */
887
- "open"?: boolean;
911
+ "open": boolean;
888
912
  /**
889
- * When set, it will override the height of the Date picker panel.
913
+ * Overrides the height of the Date picker panel.
890
914
  * @default 'auto'
891
915
  */
892
916
  "panelHeight"?: string;
893
917
  /**
894
- * The Date picker input placeholder text value
918
+ * Placeholder text shown when no value is selected.
895
919
  */
896
920
  "placeholder"?: string;
897
921
  /**
898
- * Position of the Date picker panel
922
+ * Position of the Date picker panel.
899
923
  * @default 'bottom-end'
900
924
  */
901
- "placement"?: Placement;
925
+ "placement": Placement;
902
926
  /**
903
- * Indicates whether or not the Date picker input is required to be filled out before submitting the form.
927
+ * Precision of the value produced by the picker. - `day` → `YYYY-MM-DD` (default). Standard drill-down. - `month` → `YYYY-MM`. Selection commits on the months view; no days view. - `year` → `YYYY`. Selection commits on the years view; no months/days view. When precision is coarser than day, `initialView` is forced to match and the header title cycles through the views available for that precision.
928
+ * @default 'day'
904
929
  */
905
- "required"?: boolean;
930
+ "precision": TDatePrecision;
906
931
  /**
907
- * Whether to show days outside the month
932
+ * Whether a value must be selected before submitting the form.
933
+ * @default false
934
+ */
935
+ "required": boolean;
936
+ /**
937
+ * Whether to render days outside the current month.
908
938
  * @default false
909
939
  */
910
940
  "showOutsideDays": boolean;
911
941
  /**
912
- * Represents the skidding between the Date picker panel and the input element.
942
+ * Skidding between the panel and the input element.
913
943
  * @default 0
914
944
  */
915
- "skidding"?: number;
945
+ "skidding": number;
916
946
  /**
917
- * Defines the strategy to position the Date picker panel
947
+ * Positioning strategy for the panel.
918
948
  * @default 'fixed'
919
949
  */
920
- "strategy"?: 'fixed' | 'absolute';
921
- /**
922
- * The date that is tentatively selected e.g. the start of a range selection
923
- */
924
- "tentative"?: string;
950
+ "strategy": TFloatingStrategy;
925
951
  /**
926
- * It defines how the calendar will behave, allowing single date selection, range selection, or multiple date selection
952
+ * Selection type. - `single`: single date. - `multi`: multiple discrete dates. - `range`: contiguous range.
927
953
  * @default 'single'
928
954
  */
929
955
  "type": TDatePickerType;
930
956
  /**
931
- * The validation status of the Select input.
932
- * @remarks This property is used to indicate the validation status of the select input. It can be set to one of the following values: - `'none'`: No validation status is set. - `'error'`: The input has a validation error. - `'warning'`: The input has a validation warning. - `'success'`: The input has passed validation.
957
+ * Validation state applied to the input.
933
958
  * @default 'none'
934
959
  */
935
960
  "validationStatus": TInputValidation;
936
961
  /**
937
- * The select input value represents the currently selected date or range and can be used to reset the field to a previous value. All dates are expected in ISO-8601 format (YYYY-MM-DD).
962
+ * Currently selected value, in the precision-aware wire format: - `precision="day"` → tokens are `YYYY-MM-DD` - `precision="month"` tokens are `YYYY-MM` - `precision="year"` → tokens are `YYYY` How multiple tokens are combined depends on `type`: - `single` → a single token (e.g. `"2025-05-15"`, `"2025-05"`, `"2025"`) - `range` → `"start/end"` — two tokens joined with `/` - `multi` → space-separated tokens (e.g. `"2025-05-15 2025-05-20"`)
938
963
  */
939
- "value": string;
964
+ "value": string | undefined;
940
965
  }
941
966
  /**
942
967
  * The Dialog component is used to display additional content or prompt a user for action.
@@ -1894,8 +1919,9 @@ export namespace Components {
1894
1919
  * @event bqClick - Handler to be called when the radio state changes
1895
1920
  * @event bqFocus - Handler to be called when the radio gets focused
1896
1921
  * @event bqKeyDown - The handler is to be called when the radio key is pressed
1897
- * @cssprop --bq-radio--size - Radio size
1922
+ * @cssprop --bq-radio--background-color - Radio background color
1898
1923
  * @cssprop --bq-radio--border-width - Radio border width
1924
+ * @cssprop --bq-radio--size - Radio size
1899
1925
  */
1900
1926
  interface BqRadio {
1901
1927
  /**
@@ -3790,9 +3816,10 @@ declare global {
3790
3816
  * @event bqChange - Handler to be called when the checkbox state changes
3791
3817
  * @event bqFocus - Handler to be called when the checkbox gets focus
3792
3818
  * @event bqBlur - Handler to be called when the checkbox loses focus
3793
- * @cssprop --bq-checkbox--size - Checkbox size
3819
+ * @cssprop --bq-checkbox--background-color - Checkbox background color
3794
3820
  * @cssprop --bq-checkbox--border-radius - Checkbox border radius
3795
3821
  * @cssprop --bq-checkbox--border-width - Checkbox border width
3822
+ * @cssprop --bq-checkbox--size - Checkbox size
3796
3823
  */
3797
3824
  interface HTMLBqCheckboxElement extends Components.BqCheckbox, HTMLStencilElement {
3798
3825
  addEventListener<K extends keyof HTMLBqCheckboxElementEventMap>(type: K, listener: (this: HTMLBqCheckboxElement, ev: BqCheckboxCustomEvent<HTMLBqCheckboxElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
@@ -3810,91 +3837,104 @@ declare global {
3810
3837
  };
3811
3838
  interface HTMLBqDatePickerElementEventMap {
3812
3839
  "bqBlur": HTMLBqDatePickerElement;
3813
- "bqChange": { value: string; el: HTMLBqDatePickerElement };
3840
+ "bqChange": { value: string | undefined; el: HTMLBqDatePickerElement };
3814
3841
  "bqClear": HTMLBqDatePickerElement;
3815
3842
  "bqFocus": HTMLBqDatePickerElement;
3843
+ "bqViewChange": { view: TCalendarView; el: HTMLBqDatePickerElement };
3816
3844
  }
3817
3845
  /**
3818
- * The Date Picker is a intuitive UI element component allows users to select dates from a visual calendar interface, providing an intuitive way to input date information.
3846
+ * The Date Picker is a pure-Stencil calendar input.
3847
+ * It supports single, multi, and range selection, three navigation views
3848
+ * (days → months → years), full localization via `Intl.DateTimeFormat`,
3849
+ * multi-month side-by-side rendering, and RTL layouts.
3819
3850
  * @example How to use it
3820
3851
  * ```html
3821
3852
  * <bq-date-picker
3822
3853
  * first-day-of-week="1"
3823
3854
  * locale="en-GB"
3824
- * months-per-view="single"
3825
- * months="2"
3826
3855
  * name="bq-date-picker"
3827
3856
  * placeholder="Enter your date"
3828
- * placement="bottom-end"
3829
- * show-outside-days="false"
3830
- * type="range"
3831
- * validation-status="none"
3832
- * value="2024-05-25"
3857
+ * type="single"
3858
+ * value="2026-07-15"
3833
3859
  * >
3834
- * <label class="flex flex-grow items-center" slot="label">
3835
- * Date picker label
3836
- * </label>
3860
+ * <label slot="label">Date picker label</label>
3837
3861
  * </bq-date-picker>
3838
3862
  * ```
3839
- * @documentation https://www.beeq.design/3d466e231/p/5793a9-date-picker
3840
- * @status stable
3863
+ * @documentation https://storybook.beeq.design/?path=/docs/components-date-picker--docs
3864
+ * @status experimental
3841
3865
  * @dependency bq-button
3842
3866
  * @dependency bq-dropdown
3843
3867
  * @dependency bq-icon
3844
3868
  * @attr {boolean} autofocus - If `true`, the Date picker input will be focused on component render.
3845
3869
  * @attr {string} clear-button-label - The clear button aria label.
3870
+ * @attr {string} calendar-button-label - The aria-label for the calendar trigger button.
3846
3871
  * @attr {boolean} disable-clear - If `true`, the clear button won't be displayed.
3847
3872
  * @attr {boolean} disabled - Indicates whether the Date picker input is disabled or not.
3848
- * @attr {number} distance - Represents the distance (gutter or margin) between the Date picker panel and the input element.
3849
- * @attr {0 | 1 | 2 | 3 | 4 | 5 | 6} first-day-of-week - The first day of the week, where Sunday is 0, Monday is 1, etc.
3850
- * @attr {Intl.DateTimeFormatOptions} format-options - The options to use when formatting the displayed value. Details: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options
3851
- * @attr {string} form - The ID of the form that the Date picker input belongs to.
3852
- * @attr {string} form-validation-message - The native form validation message (mandatory if `required` is set).
3853
- * @attr {function} is-date-disallowed - A function that takes a date and returns true if the date should not be selectable.
3854
- * @attr {Intl.LocalesArgument} locale - The locale for formatting dates. If not set, will use the browser's locale. Details: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument
3855
- * @attr {string} max - The latest date that can be selected.
3856
- * @attr {string} min - The earliest date that can be selected.
3857
- * @attr {number} months - Number of months to show when range is `true`.
3858
- * @attr {string} name - The Date picker input name.
3859
- * @attr {boolean} open - If `true`, the Date picker panel will be visible.
3860
- * @attr {string} panel-height - When set, it will override the height of the Date picker panel.
3861
- * @attr {"top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end"} placement - Position of the Date picker panel.
3862
- * @attr {boolean} required - Indicates whether or not the Date picker input is required to be filled out before submitting the form.
3863
- * @attr {number} skidding - Represents the skidding between the Date picker panel and the input element.
3864
- * @attr {boolean} show-outside-days - Whether to show days outside the month.
3865
- * @attr {string} strategy - Defines the strategy to position the Date picker panel.
3866
- * @attr {string} tentative - The date that is tentatively selected, e.g. the start of a range selection.
3867
- * @attr {"single" | "multi" | "range"} type - It defines how the calendar will behave, allowing single date selection, range selection, or multiple date selection.
3868
- * @attr {"error" | "none" | "success" | "warning"} validation-status - The validation status of the Select input.
3869
- * @attr {string} value - The select input value represents the currently selected date or range and can be used to reset the field to a previous value.
3873
+ * @attr {number} distance - Represents the distance between the panel and the input.
3874
+ * @attr {0 | 1 | 2 | 3 | 4 | 5 | 6} first-day-of-week - The first day of the week (0 = Sunday).
3875
+ * @attr {Intl.DateTimeFormatOptions} format-options - Display formatting options.
3876
+ * @attr {string} form - The form ID the input belongs to.
3877
+ * @attr {string} form-validation-message - Custom native form validation message.
3878
+ * @attr {"days" | "months" | "years"} initial-view - The view to open when the panel first opens.
3879
+ * @attr {function} is-date-disallowed - Predicate that marks specific dates as unselectable.
3880
+ * @attr {Intl.LocalesArgument} locale - Locale used for formatting.
3881
+ * @attr {string} max - Latest selectable date (ISO).
3882
+ * @attr {string} min - Earliest selectable date (ISO).
3883
+ * @attr {number} months - Number of month panels to render side by side (range/multi). Capped at 2.
3884
+ * @attr {"single" | "months"} months-per-view - Prev/Next step size when multi-month is enabled.
3885
+ * @attr {string} name - Input name.
3886
+ * @attr {boolean} open - If `true`, the panel is visible.
3887
+ * @attr {string} panel-height - Overrides the height of the panel.
3888
+ * @attr {string} placeholder - Input placeholder text.
3889
+ * @attr {"top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end"} placement - Placement of the panel.
3890
+ * @attr {boolean} required - Whether a value must be selected before submitting the form.
3891
+ * @attr {boolean} show-outside-days - Whether to render days that belong to adjacent months.
3892
+ * @attr {number} skidding - Skidding between the panel and the trigger.
3893
+ * @attr {"fixed" | "absolute"} strategy - Positioning strategy for the panel.
3894
+ * @attr {"single" | "multi" | "range"} type - Selection mode.
3895
+ * @attr {"error" | "none" | "success" | "warning"} validation-status - Validation state.
3896
+ * @attr {string} value - The current selection, as a wire-format string. Shape depends on `type` and `precision`:
3897
+ * • **single**: a single ISO token — `YYYY-MM-DD` (precision `day`), `YYYY-MM` (precision `month`), `YYYY` (precision `year`).
3898
+ * • **range**: `start/end` (two tokens joined with `/`) at the same precision.
3899
+ * • **multi**: space-separated tokens at the same precision.
3900
+ * Bounds (`min`/`max`) may be supplied at any of these precisions and are honoured accordingly.
3901
+ * @attr {"day" | "month" | "year"} precision - Granularity of the value and of the calendar's initial view. Also drives which cells are selectable (day cells at `day`, month cells at `month`, year cells at `year`). Defaults to `"day"`.
3870
3902
  * @method clear - Clears the selected value.
3871
- * @event bqBlur - Callback handler emitted when the input loses focus.
3872
- * @event bqChange - Callback handler emitted when the input value has changed and the input loses focus.
3873
- * @event bqClear - Callback handler emitted when the input value has been cleared.
3874
- * @event bqFocus - Callback handler emitted when the input has received focus.
3875
- * @cssprop --bq-date-picker--background-color - Date picker background color.
3876
- * @cssprop --bq-date-picker--border-color - Date picker border color.
3877
- * @cssprop --bq-date-picker--border-color-disabled - Date picker border color when disabled.
3878
- * @cssprop --bq-date-picker--border-color-focus - Date picker border color on focus.
3879
- * @cssprop --bq-date-picker--border-radius - Date picker border radius.
3880
- * @cssprop --bq-date-picker--border-style - Date picker border style.
3881
- * @cssprop --bq-date-picker--border-width - Date picker border width.
3882
- * @cssprop --bq-date-picker--currentDate-border-color - Date picker border color for current date.
3883
- * @cssprop --bq-date-picker--currentDate-border-width - Date picker border width for current date.
3884
- * @cssprop --bq-date-picker--day-size - Date picker button day size.
3885
- * @cssprop --bq-date-picker--gap - Gap between Date picker content and prefix/suffix.
3886
- * @cssprop --bq-date-picker--icon-size - Icon size to use in prefix/suffix and clear button.
3887
- * @cssprop --bq-date-picker--label-margin-bottom - Date picker label margin bottom.
3888
- * @cssprop --bq-date-picker--label-text-color - Date picker label text color.
3889
- * @cssprop --bq-date-picker--label-text-size - Date picker label text size.
3890
- * @cssprop --bq-date-picker--padding-end - Date picker padding end.
3891
- * @cssprop --bq-date-picker--padding-start - Date picker padding start.
3892
- * @cssprop --bq-date-picker--paddingY - Date picker padding top and bottom.
3893
- * @cssprop --bq-date-picker--range-background-color - Background color for the selected date range in the date picker.
3894
- * @cssprop --bq-date-picker--range-inner-background-color - Background color for the selected dates inside the date range in the date picker.
3895
- * @cssprop --bq-date-picker--text-color - Date picker text color.
3896
- * @cssprop --bq-date-picker--text-placeholder-color - Date picker placeholder text color.
3897
- * @cssprop --bq-date-picker--text-size - Date picker text size.
3903
+ * @event bqBlur - Emitted when the input loses focus.
3904
+ * @event bqChange - Emitted when the value changes.
3905
+ * @event bqClear - Emitted when the value is cleared.
3906
+ * @event bqFocus - Emitted when the input receives focus.
3907
+ * @event bqViewChange - Emitted when the internal calendar view changes (days ↔ months ↔ years).
3908
+ * @cssprop --bq-date-picker--background-color - Input background color.
3909
+ * @cssprop --bq-date-picker--border-color - Input border color.
3910
+ * @cssprop --bq-date-picker--border-color-disabled - Border color when disabled.
3911
+ * @cssprop --bq-date-picker--border-color-focus - Border color on focus.
3912
+ * @cssprop --bq-date-picker--border-radius - Input border radius.
3913
+ * @cssprop --bq-date-picker--border-style - Border style.
3914
+ * @cssprop --bq-date-picker--border-width - Border width.
3915
+ * @cssprop --bq-date-picker--currentDate-border-color - Border color for today's date.
3916
+ * @cssprop --bq-date-picker--currentDate-border-width - Border width for today's date.
3917
+ * @cssprop --bq-date-picker--day-size - Size of a day cell in the calendar.
3918
+ * @cssprop --bq-date-picker--gap - Gap between the input content and prefix/suffix.
3919
+ * @cssprop --bq-date-picker--header-title-color - Color of the per-panel month label in multi-panel view.
3920
+ * @cssprop --bq-date-picker--icon-size - Size of the icons used in prefix/suffix/clear.
3921
+ * @cssprop --bq-date-picker--label-margin-bottom - Space below the label.
3922
+ * @cssprop --bq-date-picker--label-text-color - Label text color.
3923
+ * @cssprop --bq-date-picker--label-text-size - Label text size.
3924
+ * @cssprop --bq-date-picker--padding-end - Input padding end.
3925
+ * @cssprop --bq-date-picker--padding-start - Input padding start.
3926
+ * @cssprop --bq-date-picker--paddingY - Input vertical padding.
3927
+ * @cssprop --bq-date-picker--range-background-color - Background color for range start/end days.
3928
+ * @cssprop --bq-date-picker--range-inner-background-color - Background color for inner range days.
3929
+ * @cssprop --bq-date-picker--row-gap - Vertical space between day-grid rows.
3930
+ * @cssprop --bq-date-picker--text-color - Input text color.
3931
+ * @cssprop --bq-date-picker--text-placeholder-color - Placeholder text color.
3932
+ * @cssprop --bq-date-picker--text-size - Input text size.
3933
+ * @cssprop --bq-date-picker--view-cell-background-hover - Hover background for day/month/year cells.
3934
+ * @cssprop --bq-date-picker--view-cell-background-selected - Selected background for day/month/year cells.
3935
+ * @cssprop --bq-date-picker--view-cell-height - Height of month/year cells.
3936
+ * @cssprop --bq-date-picker--view-cell-radius - Border radius of day/month/year cells.
3937
+ * @cssprop --bq-date-picker--view-cell-text-selected - Text color for selected day/month/year cells.
3898
3938
  */
3899
3939
  interface HTMLBqDatePickerElement extends Components.BqDatePicker, HTMLStencilElement {
3900
3940
  addEventListener<K extends keyof HTMLBqDatePickerElementEventMap>(type: K, listener: (this: HTMLBqDatePickerElement, ev: BqDatePickerCustomEvent<HTMLBqDatePickerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
@@ -4571,8 +4611,9 @@ declare global {
4571
4611
  * @event bqClick - Handler to be called when the radio state changes
4572
4612
  * @event bqFocus - Handler to be called when the radio gets focused
4573
4613
  * @event bqKeyDown - The handler is to be called when the radio key is pressed
4574
- * @cssprop --bq-radio--size - Radio size
4614
+ * @cssprop --bq-radio--background-color - Radio background color
4575
4615
  * @cssprop --bq-radio--border-width - Radio border width
4616
+ * @cssprop --bq-radio--size - Radio size
4576
4617
  */
4577
4618
  interface HTMLBqRadioElement extends Components.BqRadio, HTMLStencilElement {
4578
4619
  addEventListener<K extends keyof HTMLBqRadioElementEventMap>(type: K, listener: (this: HTMLBqRadioElement, ev: BqRadioCustomEvent<HTMLBqRadioElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
@@ -6105,9 +6146,10 @@ declare namespace LocalJSX {
6105
6146
  * @event bqChange - Handler to be called when the checkbox state changes
6106
6147
  * @event bqFocus - Handler to be called when the checkbox gets focus
6107
6148
  * @event bqBlur - Handler to be called when the checkbox loses focus
6108
- * @cssprop --bq-checkbox--size - Checkbox size
6149
+ * @cssprop --bq-checkbox--background-color - Checkbox background color
6109
6150
  * @cssprop --bq-checkbox--border-radius - Checkbox border radius
6110
6151
  * @cssprop --bq-checkbox--border-width - Checkbox border width
6152
+ * @cssprop --bq-checkbox--size - Checkbox size
6111
6153
  */
6112
6154
  interface BqCheckbox {
6113
6155
  /**
@@ -6167,233 +6209,261 @@ declare namespace LocalJSX {
6167
6209
  "value": string;
6168
6210
  }
6169
6211
  /**
6170
- * The Date Picker is a intuitive UI element component allows users to select dates from a visual calendar interface, providing an intuitive way to input date information.
6212
+ * The Date Picker is a pure-Stencil calendar input.
6213
+ * It supports single, multi, and range selection, three navigation views
6214
+ * (days → months → years), full localization via `Intl.DateTimeFormat`,
6215
+ * multi-month side-by-side rendering, and RTL layouts.
6171
6216
  * @example How to use it
6172
6217
  * ```html
6173
6218
  * <bq-date-picker
6174
6219
  * first-day-of-week="1"
6175
6220
  * locale="en-GB"
6176
- * months-per-view="single"
6177
- * months="2"
6178
6221
  * name="bq-date-picker"
6179
6222
  * placeholder="Enter your date"
6180
- * placement="bottom-end"
6181
- * show-outside-days="false"
6182
- * type="range"
6183
- * validation-status="none"
6184
- * value="2024-05-25"
6223
+ * type="single"
6224
+ * value="2026-07-15"
6185
6225
  * >
6186
- * <label class="flex flex-grow items-center" slot="label">
6187
- * Date picker label
6188
- * </label>
6226
+ * <label slot="label">Date picker label</label>
6189
6227
  * </bq-date-picker>
6190
6228
  * ```
6191
- * @documentation https://www.beeq.design/3d466e231/p/5793a9-date-picker
6192
- * @status stable
6229
+ * @documentation https://storybook.beeq.design/?path=/docs/components-date-picker--docs
6230
+ * @status experimental
6193
6231
  * @dependency bq-button
6194
6232
  * @dependency bq-dropdown
6195
6233
  * @dependency bq-icon
6196
6234
  * @attr {boolean} autofocus - If `true`, the Date picker input will be focused on component render.
6197
6235
  * @attr {string} clear-button-label - The clear button aria label.
6236
+ * @attr {string} calendar-button-label - The aria-label for the calendar trigger button.
6198
6237
  * @attr {boolean} disable-clear - If `true`, the clear button won't be displayed.
6199
6238
  * @attr {boolean} disabled - Indicates whether the Date picker input is disabled or not.
6200
- * @attr {number} distance - Represents the distance (gutter or margin) between the Date picker panel and the input element.
6201
- * @attr {0 | 1 | 2 | 3 | 4 | 5 | 6} first-day-of-week - The first day of the week, where Sunday is 0, Monday is 1, etc.
6202
- * @attr {Intl.DateTimeFormatOptions} format-options - The options to use when formatting the displayed value. Details: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options
6203
- * @attr {string} form - The ID of the form that the Date picker input belongs to.
6204
- * @attr {string} form-validation-message - The native form validation message (mandatory if `required` is set).
6205
- * @attr {function} is-date-disallowed - A function that takes a date and returns true if the date should not be selectable.
6206
- * @attr {Intl.LocalesArgument} locale - The locale for formatting dates. If not set, will use the browser's locale. Details: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument
6207
- * @attr {string} max - The latest date that can be selected.
6208
- * @attr {string} min - The earliest date that can be selected.
6209
- * @attr {number} months - Number of months to show when range is `true`.
6210
- * @attr {string} name - The Date picker input name.
6211
- * @attr {boolean} open - If `true`, the Date picker panel will be visible.
6212
- * @attr {string} panel-height - When set, it will override the height of the Date picker panel.
6213
- * @attr {"top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end"} placement - Position of the Date picker panel.
6214
- * @attr {boolean} required - Indicates whether or not the Date picker input is required to be filled out before submitting the form.
6215
- * @attr {number} skidding - Represents the skidding between the Date picker panel and the input element.
6216
- * @attr {boolean} show-outside-days - Whether to show days outside the month.
6217
- * @attr {string} strategy - Defines the strategy to position the Date picker panel.
6218
- * @attr {string} tentative - The date that is tentatively selected, e.g. the start of a range selection.
6219
- * @attr {"single" | "multi" | "range"} type - It defines how the calendar will behave, allowing single date selection, range selection, or multiple date selection.
6220
- * @attr {"error" | "none" | "success" | "warning"} validation-status - The validation status of the Select input.
6221
- * @attr {string} value - The select input value represents the currently selected date or range and can be used to reset the field to a previous value.
6239
+ * @attr {number} distance - Represents the distance between the panel and the input.
6240
+ * @attr {0 | 1 | 2 | 3 | 4 | 5 | 6} first-day-of-week - The first day of the week (0 = Sunday).
6241
+ * @attr {Intl.DateTimeFormatOptions} format-options - Display formatting options.
6242
+ * @attr {string} form - The form ID the input belongs to.
6243
+ * @attr {string} form-validation-message - Custom native form validation message.
6244
+ * @attr {"days" | "months" | "years"} initial-view - The view to open when the panel first opens.
6245
+ * @attr {function} is-date-disallowed - Predicate that marks specific dates as unselectable.
6246
+ * @attr {Intl.LocalesArgument} locale - Locale used for formatting.
6247
+ * @attr {string} max - Latest selectable date (ISO).
6248
+ * @attr {string} min - Earliest selectable date (ISO).
6249
+ * @attr {number} months - Number of month panels to render side by side (range/multi). Capped at 2.
6250
+ * @attr {"single" | "months"} months-per-view - Prev/Next step size when multi-month is enabled.
6251
+ * @attr {string} name - Input name.
6252
+ * @attr {boolean} open - If `true`, the panel is visible.
6253
+ * @attr {string} panel-height - Overrides the height of the panel.
6254
+ * @attr {string} placeholder - Input placeholder text.
6255
+ * @attr {"top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end"} placement - Placement of the panel.
6256
+ * @attr {boolean} required - Whether a value must be selected before submitting the form.
6257
+ * @attr {boolean} show-outside-days - Whether to render days that belong to adjacent months.
6258
+ * @attr {number} skidding - Skidding between the panel and the trigger.
6259
+ * @attr {"fixed" | "absolute"} strategy - Positioning strategy for the panel.
6260
+ * @attr {"single" | "multi" | "range"} type - Selection mode.
6261
+ * @attr {"error" | "none" | "success" | "warning"} validation-status - Validation state.
6262
+ * @attr {string} value - The current selection, as a wire-format string. Shape depends on `type` and `precision`:
6263
+ * • **single**: a single ISO token — `YYYY-MM-DD` (precision `day`), `YYYY-MM` (precision `month`), `YYYY` (precision `year`).
6264
+ * • **range**: `start/end` (two tokens joined with `/`) at the same precision.
6265
+ * • **multi**: space-separated tokens at the same precision.
6266
+ * Bounds (`min`/`max`) may be supplied at any of these precisions and are honoured accordingly.
6267
+ * @attr {"day" | "month" | "year"} precision - Granularity of the value and of the calendar's initial view. Also drives which cells are selectable (day cells at `day`, month cells at `month`, year cells at `year`). Defaults to `"day"`.
6222
6268
  * @method clear - Clears the selected value.
6223
- * @event bqBlur - Callback handler emitted when the input loses focus.
6224
- * @event bqChange - Callback handler emitted when the input value has changed and the input loses focus.
6225
- * @event bqClear - Callback handler emitted when the input value has been cleared.
6226
- * @event bqFocus - Callback handler emitted when the input has received focus.
6227
- * @cssprop --bq-date-picker--background-color - Date picker background color.
6228
- * @cssprop --bq-date-picker--border-color - Date picker border color.
6229
- * @cssprop --bq-date-picker--border-color-disabled - Date picker border color when disabled.
6230
- * @cssprop --bq-date-picker--border-color-focus - Date picker border color on focus.
6231
- * @cssprop --bq-date-picker--border-radius - Date picker border radius.
6232
- * @cssprop --bq-date-picker--border-style - Date picker border style.
6233
- * @cssprop --bq-date-picker--border-width - Date picker border width.
6234
- * @cssprop --bq-date-picker--currentDate-border-color - Date picker border color for current date.
6235
- * @cssprop --bq-date-picker--currentDate-border-width - Date picker border width for current date.
6236
- * @cssprop --bq-date-picker--day-size - Date picker button day size.
6237
- * @cssprop --bq-date-picker--gap - Gap between Date picker content and prefix/suffix.
6238
- * @cssprop --bq-date-picker--icon-size - Icon size to use in prefix/suffix and clear button.
6239
- * @cssprop --bq-date-picker--label-margin-bottom - Date picker label margin bottom.
6240
- * @cssprop --bq-date-picker--label-text-color - Date picker label text color.
6241
- * @cssprop --bq-date-picker--label-text-size - Date picker label text size.
6242
- * @cssprop --bq-date-picker--padding-end - Date picker padding end.
6243
- * @cssprop --bq-date-picker--padding-start - Date picker padding start.
6244
- * @cssprop --bq-date-picker--paddingY - Date picker padding top and bottom.
6245
- * @cssprop --bq-date-picker--range-background-color - Background color for the selected date range in the date picker.
6246
- * @cssprop --bq-date-picker--range-inner-background-color - Background color for the selected dates inside the date range in the date picker.
6247
- * @cssprop --bq-date-picker--text-color - Date picker text color.
6248
- * @cssprop --bq-date-picker--text-placeholder-color - Date picker placeholder text color.
6249
- * @cssprop --bq-date-picker--text-size - Date picker text size.
6269
+ * @event bqBlur - Emitted when the input loses focus.
6270
+ * @event bqChange - Emitted when the value changes.
6271
+ * @event bqClear - Emitted when the value is cleared.
6272
+ * @event bqFocus - Emitted when the input receives focus.
6273
+ * @event bqViewChange - Emitted when the internal calendar view changes (days ↔ months ↔ years).
6274
+ * @cssprop --bq-date-picker--background-color - Input background color.
6275
+ * @cssprop --bq-date-picker--border-color - Input border color.
6276
+ * @cssprop --bq-date-picker--border-color-disabled - Border color when disabled.
6277
+ * @cssprop --bq-date-picker--border-color-focus - Border color on focus.
6278
+ * @cssprop --bq-date-picker--border-radius - Input border radius.
6279
+ * @cssprop --bq-date-picker--border-style - Border style.
6280
+ * @cssprop --bq-date-picker--border-width - Border width.
6281
+ * @cssprop --bq-date-picker--currentDate-border-color - Border color for today's date.
6282
+ * @cssprop --bq-date-picker--currentDate-border-width - Border width for today's date.
6283
+ * @cssprop --bq-date-picker--day-size - Size of a day cell in the calendar.
6284
+ * @cssprop --bq-date-picker--gap - Gap between the input content and prefix/suffix.
6285
+ * @cssprop --bq-date-picker--header-title-color - Color of the per-panel month label in multi-panel view.
6286
+ * @cssprop --bq-date-picker--icon-size - Size of the icons used in prefix/suffix/clear.
6287
+ * @cssprop --bq-date-picker--label-margin-bottom - Space below the label.
6288
+ * @cssprop --bq-date-picker--label-text-color - Label text color.
6289
+ * @cssprop --bq-date-picker--label-text-size - Label text size.
6290
+ * @cssprop --bq-date-picker--padding-end - Input padding end.
6291
+ * @cssprop --bq-date-picker--padding-start - Input padding start.
6292
+ * @cssprop --bq-date-picker--paddingY - Input vertical padding.
6293
+ * @cssprop --bq-date-picker--range-background-color - Background color for range start/end days.
6294
+ * @cssprop --bq-date-picker--range-inner-background-color - Background color for inner range days.
6295
+ * @cssprop --bq-date-picker--row-gap - Vertical space between day-grid rows.
6296
+ * @cssprop --bq-date-picker--text-color - Input text color.
6297
+ * @cssprop --bq-date-picker--text-placeholder-color - Placeholder text color.
6298
+ * @cssprop --bq-date-picker--text-size - Input text size.
6299
+ * @cssprop --bq-date-picker--view-cell-background-hover - Hover background for day/month/year cells.
6300
+ * @cssprop --bq-date-picker--view-cell-background-selected - Selected background for day/month/year cells.
6301
+ * @cssprop --bq-date-picker--view-cell-height - Height of month/year cells.
6302
+ * @cssprop --bq-date-picker--view-cell-radius - Border radius of day/month/year cells.
6303
+ * @cssprop --bq-date-picker--view-cell-text-selected - Text color for selected day/month/year cells.
6250
6304
  */
6251
6305
  interface BqDatePicker {
6252
6306
  /**
6253
- * If `true`, the Date picker input will be focused on component render
6307
+ * If `true`, the Date picker input will be focused on component render.
6308
+ * @default false
6254
6309
  */
6255
6310
  "autofocus"?: boolean;
6256
6311
  /**
6257
- * The clear button aria label
6312
+ * The aria-label for the calendar trigger button.
6313
+ * @default 'Open calendar'
6314
+ */
6315
+ "calendarButtonLabel"?: string;
6316
+ /**
6317
+ * The clear button aria label.
6258
6318
  * @default 'Clear value'
6259
6319
  */
6260
6320
  "clearButtonLabel"?: string;
6261
6321
  /**
6262
- * If `true`, the clear button won't be displayed
6322
+ * If `true`, the clear button won't be displayed.
6263
6323
  * @default false
6264
6324
  */
6265
6325
  "disableClear"?: boolean;
6266
6326
  /**
6267
- * Indicates whether the Date picker input is disabled or not. If `true`, the Date picker is disabled and cannot be interacted with.
6327
+ * Indicates whether the Date picker input is disabled or not.
6268
6328
  * @default false
6269
6329
  */
6270
6330
  "disabled"?: boolean;
6271
6331
  /**
6272
- * Represents the distance (gutter or margin) between the Date picker panel and the input element.
6332
+ * Distance (gutter) between the Date picker panel and the input element.
6273
6333
  * @default 8
6274
6334
  */
6275
6335
  "distance"?: number;
6276
6336
  /**
6277
- * The first day of the week, where Sunday is 0, Monday is 1, etc
6337
+ * The first day of the week, where Sunday is 0, Monday is 1, etc.
6278
6338
  * @default 1
6279
6339
  */
6280
6340
  "firstDayOfWeek"?: DaysOfWeek;
6281
6341
  /**
6282
- * The ID of the form that the Date picker input belongs to.
6342
+ * The ID of the form the input belongs to.
6283
6343
  */
6284
6344
  "form"?: string;
6285
6345
  /**
6286
- * The native form validation message (mandatory if `required` is set)
6346
+ * Native form validation message (mandatory if `required` is set).
6287
6347
  */
6288
6348
  "formValidationMessage"?: string;
6289
6349
  /**
6290
- * The options to use when formatting the displayed value. Details: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options
6291
- * @default { day: 'numeric', month: 'short', year: 'numeric', }
6350
+ * Options used when formatting the displayed value. When omitted, sensible defaults are picked based on `precision`: - `day` → `{ day: 'numeric', month: 'short', year: 'numeric' }` - `month` → `{ month: 'long', year: 'numeric' }` - `year` → `{ year: 'numeric' }`
6292
6351
  */
6293
6352
  "formatOptions"?: Intl.DateTimeFormatOptions;
6294
6353
  /**
6295
- * A function that takes a date and returns true if the date should not be selectable
6354
+ * The view opened first when the panel becomes visible.
6355
+ * @default 'days'
6356
+ */
6357
+ "initialView"?: TCalendarView;
6358
+ /**
6359
+ * Predicate that marks specific dates as unselectable.
6296
6360
  */
6297
6361
  "isDateDisallowed"?: (date: Date) => boolean;
6298
6362
  /**
6299
- * The locale for formatting dates. If not set, will use the browser's locale. Details: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument
6363
+ * Locale used for formatting dates.
6300
6364
  * @default 'en-GB'
6301
6365
  */
6302
6366
  "locale"?: Intl.LocalesArgument;
6303
6367
  /**
6304
- * The latest date that can be selected
6368
+ * Latest date that can be selected (ISO).
6305
6369
  */
6306
6370
  "max"?: string;
6307
6371
  /**
6308
- * The earliest date that can be selected
6372
+ * Earliest date that can be selected (ISO).
6309
6373
  */
6310
6374
  "min"?: string;
6311
6375
  /**
6312
- * Number of months to show when range is `true`
6376
+ * Number of months to show side by side (range / multi). Capped at 2. Larger values are silently clamped to keep the popover from overflowing the viewport and to preserve keyboard navigation semantics.
6377
+ * @default 1
6313
6378
  */
6314
6379
  "months"?: number;
6315
6380
  /**
6316
- * Specifies how the next/previous buttons should navigate the calendar. - single: The buttons will navigate by a single month at a time. - months: The buttons will navigate by the number of months displayed per view.
6381
+ * How the next/previous buttons should navigate the calendar. - single: navigate one month at a time. - months: navigate by the number of months displayed.
6317
6382
  * @default 'single'
6318
6383
  */
6319
- "monthsPerView"?: 'single' | 'months';
6384
+ "monthsPerView"?: TMonthsPerView;
6320
6385
  /**
6321
6386
  * The Date picker input name.
6322
6387
  */
6323
6388
  "name": string;
6324
6389
  /**
6325
- * Callback handler emitted when the input loses focus
6390
+ * Callback handler emitted when the input loses focus.
6326
6391
  */
6327
6392
  "onBqBlur"?: (event: BqDatePickerCustomEvent<HTMLBqDatePickerElement>) => void;
6328
6393
  /**
6329
- * Callback handler emitted when the input value has changed and the input loses focus. This handler is called whenever the user finishes typing or pasting text into the input field and then clicks outside of the input field.
6394
+ * Callback handler emitted when the input value changes.
6330
6395
  */
6331
- "onBqChange"?: (event: BqDatePickerCustomEvent<{ value: string; el: HTMLBqDatePickerElement }>) => void;
6396
+ "onBqChange"?: (event: BqDatePickerCustomEvent<{ value: string | undefined; el: HTMLBqDatePickerElement }>) => void;
6332
6397
  /**
6333
- * Callback handler emitted when the input value has been cleared
6398
+ * Callback handler emitted when the value is cleared.
6334
6399
  */
6335
6400
  "onBqClear"?: (event: BqDatePickerCustomEvent<HTMLBqDatePickerElement>) => void;
6336
6401
  /**
6337
- * Callback handler emitted when the input has received focus
6402
+ * Callback handler emitted when the input receives focus.
6338
6403
  */
6339
6404
  "onBqFocus"?: (event: BqDatePickerCustomEvent<HTMLBqDatePickerElement>) => void;
6340
6405
  /**
6341
- * If `true`, the Date picker panel will be visible.
6406
+ * Callback handler emitted when the internal calendar view changes (e.g. from `days` to `months`, or from `years` back to `days`).
6407
+ */
6408
+ "onBqViewChange"?: (event: BqDatePickerCustomEvent<{ view: TCalendarView; el: HTMLBqDatePickerElement }>) => void;
6409
+ /**
6410
+ * If `true`, the panel is visible.
6342
6411
  * @default false
6343
6412
  */
6344
6413
  "open"?: boolean;
6345
6414
  /**
6346
- * When set, it will override the height of the Date picker panel.
6415
+ * Overrides the height of the Date picker panel.
6347
6416
  * @default 'auto'
6348
6417
  */
6349
6418
  "panelHeight"?: string;
6350
6419
  /**
6351
- * The Date picker input placeholder text value
6420
+ * Placeholder text shown when no value is selected.
6352
6421
  */
6353
6422
  "placeholder"?: string;
6354
6423
  /**
6355
- * Position of the Date picker panel
6424
+ * Position of the Date picker panel.
6356
6425
  * @default 'bottom-end'
6357
6426
  */
6358
6427
  "placement"?: Placement;
6359
6428
  /**
6360
- * Indicates whether or not the Date picker input is required to be filled out before submitting the form.
6429
+ * Precision of the value produced by the picker. - `day` → `YYYY-MM-DD` (default). Standard drill-down. - `month` → `YYYY-MM`. Selection commits on the months view; no days view. - `year` → `YYYY`. Selection commits on the years view; no months/days view. When precision is coarser than day, `initialView` is forced to match and the header title cycles through the views available for that precision.
6430
+ * @default 'day'
6431
+ */
6432
+ "precision"?: TDatePrecision;
6433
+ /**
6434
+ * Whether a value must be selected before submitting the form.
6435
+ * @default false
6361
6436
  */
6362
6437
  "required"?: boolean;
6363
6438
  /**
6364
- * Whether to show days outside the month
6439
+ * Whether to render days outside the current month.
6365
6440
  * @default false
6366
6441
  */
6367
6442
  "showOutsideDays"?: boolean;
6368
6443
  /**
6369
- * Represents the skidding between the Date picker panel and the input element.
6444
+ * Skidding between the panel and the input element.
6370
6445
  * @default 0
6371
6446
  */
6372
6447
  "skidding"?: number;
6373
6448
  /**
6374
- * Defines the strategy to position the Date picker panel
6449
+ * Positioning strategy for the panel.
6375
6450
  * @default 'fixed'
6376
6451
  */
6377
- "strategy"?: 'fixed' | 'absolute';
6452
+ "strategy"?: TFloatingStrategy;
6378
6453
  /**
6379
- * The date that is tentatively selected e.g. the start of a range selection
6380
- */
6381
- "tentative"?: string;
6382
- /**
6383
- * It defines how the calendar will behave, allowing single date selection, range selection, or multiple date selection
6454
+ * Selection type. - `single`: single date. - `multi`: multiple discrete dates. - `range`: contiguous range.
6384
6455
  * @default 'single'
6385
6456
  */
6386
6457
  "type"?: TDatePickerType;
6387
6458
  /**
6388
- * The validation status of the Select input.
6389
- * @remarks This property is used to indicate the validation status of the select input. It can be set to one of the following values: - `'none'`: No validation status is set. - `'error'`: The input has a validation error. - `'warning'`: The input has a validation warning. - `'success'`: The input has passed validation.
6459
+ * Validation state applied to the input.
6390
6460
  * @default 'none'
6391
6461
  */
6392
6462
  "validationStatus"?: TInputValidation;
6393
6463
  /**
6394
- * The select input value represents the currently selected date or range and can be used to reset the field to a previous value. All dates are expected in ISO-8601 format (YYYY-MM-DD).
6464
+ * Currently selected value, in the precision-aware wire format: - `precision="day"` → tokens are `YYYY-MM-DD` - `precision="month"` tokens are `YYYY-MM` - `precision="year"` → tokens are `YYYY` How multiple tokens are combined depends on `type`: - `single` → a single token (e.g. `"2025-05-15"`, `"2025-05"`, `"2025"`) - `range` → `"start/end"` — two tokens joined with `/` - `multi` → space-separated tokens (e.g. `"2025-05-15 2025-05-20"`)
6395
6465
  */
6396
- "value"?: string;
6466
+ "value"?: string | undefined;
6397
6467
  }
6398
6468
  /**
6399
6469
  * The Dialog component is used to display additional content or prompt a user for action.
@@ -7419,8 +7489,9 @@ declare namespace LocalJSX {
7419
7489
  * @event bqClick - Handler to be called when the radio state changes
7420
7490
  * @event bqFocus - Handler to be called when the radio gets focused
7421
7491
  * @event bqKeyDown - The handler is to be called when the radio key is pressed
7422
- * @cssprop --bq-radio--size - Radio size
7492
+ * @cssprop --bq-radio--background-color - Radio background color
7423
7493
  * @cssprop --bq-radio--border-width - Radio border width
7494
+ * @cssprop --bq-radio--size - Radio size
7424
7495
  */
7425
7496
  interface BqRadio {
7426
7497
  /**
@@ -8916,30 +8987,32 @@ declare namespace LocalJSX {
8916
8987
  interface BqDatePickerAttributes {
8917
8988
  "autofocus": boolean;
8918
8989
  "clearButtonLabel": string;
8990
+ "calendarButtonLabel": string;
8919
8991
  "disableClear": boolean;
8920
8992
  "disabled": boolean;
8921
8993
  "distance": number;
8922
8994
  "firstDayOfWeek": DaysOfWeek;
8923
8995
  "form": string;
8924
8996
  "formValidationMessage": string;
8997
+ "initialView": TCalendarView;
8925
8998
  "locale": Intl.LocalesArgument;
8926
8999
  "max": string;
8927
9000
  "min": string;
8928
9001
  "months": number;
8929
- "monthsPerView": 'single' | 'months';
9002
+ "monthsPerView": TMonthsPerView;
8930
9003
  "name": string;
8931
9004
  "open": boolean;
8932
9005
  "panelHeight": string;
8933
9006
  "placeholder": string;
8934
9007
  "placement": Placement;
9008
+ "precision": TDatePrecision;
8935
9009
  "required": boolean;
8936
9010
  "skidding": number;
8937
9011
  "showOutsideDays": boolean;
8938
- "strategy": 'fixed' | 'absolute';
8939
- "tentative": string;
9012
+ "strategy": TFloatingStrategy;
8940
9013
  "type": TDatePickerType;
8941
9014
  "validationStatus": TInputValidation;
8942
- "value": string;
9015
+ "value": string | undefined;
8943
9016
  }
8944
9017
  interface BqDialogAttributes {
8945
9018
  "border": TDialogBorderRadius;
@@ -9635,92 +9708,105 @@ declare module "@stencil/core" {
9635
9708
  * @event bqChange - Handler to be called when the checkbox state changes
9636
9709
  * @event bqFocus - Handler to be called when the checkbox gets focus
9637
9710
  * @event bqBlur - Handler to be called when the checkbox loses focus
9638
- * @cssprop --bq-checkbox--size - Checkbox size
9711
+ * @cssprop --bq-checkbox--background-color - Checkbox background color
9639
9712
  * @cssprop --bq-checkbox--border-radius - Checkbox border radius
9640
9713
  * @cssprop --bq-checkbox--border-width - Checkbox border width
9714
+ * @cssprop --bq-checkbox--size - Checkbox size
9641
9715
  */
9642
9716
  "bq-checkbox": LocalJSX.IntrinsicElements["bq-checkbox"] & JSXBase.HTMLAttributes<HTMLBqCheckboxElement>;
9643
9717
  /**
9644
- * The Date Picker is a intuitive UI element component allows users to select dates from a visual calendar interface, providing an intuitive way to input date information.
9718
+ * The Date Picker is a pure-Stencil calendar input.
9719
+ * It supports single, multi, and range selection, three navigation views
9720
+ * (days → months → years), full localization via `Intl.DateTimeFormat`,
9721
+ * multi-month side-by-side rendering, and RTL layouts.
9645
9722
  * @example How to use it
9646
9723
  * ```html
9647
9724
  * <bq-date-picker
9648
9725
  * first-day-of-week="1"
9649
9726
  * locale="en-GB"
9650
- * months-per-view="single"
9651
- * months="2"
9652
9727
  * name="bq-date-picker"
9653
9728
  * placeholder="Enter your date"
9654
- * placement="bottom-end"
9655
- * show-outside-days="false"
9656
- * type="range"
9657
- * validation-status="none"
9658
- * value="2024-05-25"
9729
+ * type="single"
9730
+ * value="2026-07-15"
9659
9731
  * >
9660
- * <label class="flex flex-grow items-center" slot="label">
9661
- * Date picker label
9662
- * </label>
9732
+ * <label slot="label">Date picker label</label>
9663
9733
  * </bq-date-picker>
9664
9734
  * ```
9665
- * @documentation https://www.beeq.design/3d466e231/p/5793a9-date-picker
9666
- * @status stable
9735
+ * @documentation https://storybook.beeq.design/?path=/docs/components-date-picker--docs
9736
+ * @status experimental
9667
9737
  * @dependency bq-button
9668
9738
  * @dependency bq-dropdown
9669
9739
  * @dependency bq-icon
9670
9740
  * @attr {boolean} autofocus - If `true`, the Date picker input will be focused on component render.
9671
9741
  * @attr {string} clear-button-label - The clear button aria label.
9742
+ * @attr {string} calendar-button-label - The aria-label for the calendar trigger button.
9672
9743
  * @attr {boolean} disable-clear - If `true`, the clear button won't be displayed.
9673
9744
  * @attr {boolean} disabled - Indicates whether the Date picker input is disabled or not.
9674
- * @attr {number} distance - Represents the distance (gutter or margin) between the Date picker panel and the input element.
9675
- * @attr {0 | 1 | 2 | 3 | 4 | 5 | 6} first-day-of-week - The first day of the week, where Sunday is 0, Monday is 1, etc.
9676
- * @attr {Intl.DateTimeFormatOptions} format-options - The options to use when formatting the displayed value. Details: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options
9677
- * @attr {string} form - The ID of the form that the Date picker input belongs to.
9678
- * @attr {string} form-validation-message - The native form validation message (mandatory if `required` is set).
9679
- * @attr {function} is-date-disallowed - A function that takes a date and returns true if the date should not be selectable.
9680
- * @attr {Intl.LocalesArgument} locale - The locale for formatting dates. If not set, will use the browser's locale. Details: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument
9681
- * @attr {string} max - The latest date that can be selected.
9682
- * @attr {string} min - The earliest date that can be selected.
9683
- * @attr {number} months - Number of months to show when range is `true`.
9684
- * @attr {string} name - The Date picker input name.
9685
- * @attr {boolean} open - If `true`, the Date picker panel will be visible.
9686
- * @attr {string} panel-height - When set, it will override the height of the Date picker panel.
9687
- * @attr {"top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end"} placement - Position of the Date picker panel.
9688
- * @attr {boolean} required - Indicates whether or not the Date picker input is required to be filled out before submitting the form.
9689
- * @attr {number} skidding - Represents the skidding between the Date picker panel and the input element.
9690
- * @attr {boolean} show-outside-days - Whether to show days outside the month.
9691
- * @attr {string} strategy - Defines the strategy to position the Date picker panel.
9692
- * @attr {string} tentative - The date that is tentatively selected, e.g. the start of a range selection.
9693
- * @attr {"single" | "multi" | "range"} type - It defines how the calendar will behave, allowing single date selection, range selection, or multiple date selection.
9694
- * @attr {"error" | "none" | "success" | "warning"} validation-status - The validation status of the Select input.
9695
- * @attr {string} value - The select input value represents the currently selected date or range and can be used to reset the field to a previous value.
9745
+ * @attr {number} distance - Represents the distance between the panel and the input.
9746
+ * @attr {0 | 1 | 2 | 3 | 4 | 5 | 6} first-day-of-week - The first day of the week (0 = Sunday).
9747
+ * @attr {Intl.DateTimeFormatOptions} format-options - Display formatting options.
9748
+ * @attr {string} form - The form ID the input belongs to.
9749
+ * @attr {string} form-validation-message - Custom native form validation message.
9750
+ * @attr {"days" | "months" | "years"} initial-view - The view to open when the panel first opens.
9751
+ * @attr {function} is-date-disallowed - Predicate that marks specific dates as unselectable.
9752
+ * @attr {Intl.LocalesArgument} locale - Locale used for formatting.
9753
+ * @attr {string} max - Latest selectable date (ISO).
9754
+ * @attr {string} min - Earliest selectable date (ISO).
9755
+ * @attr {number} months - Number of month panels to render side by side (range/multi). Capped at 2.
9756
+ * @attr {"single" | "months"} months-per-view - Prev/Next step size when multi-month is enabled.
9757
+ * @attr {string} name - Input name.
9758
+ * @attr {boolean} open - If `true`, the panel is visible.
9759
+ * @attr {string} panel-height - Overrides the height of the panel.
9760
+ * @attr {string} placeholder - Input placeholder text.
9761
+ * @attr {"top" | "right" | "bottom" | "left" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end"} placement - Placement of the panel.
9762
+ * @attr {boolean} required - Whether a value must be selected before submitting the form.
9763
+ * @attr {boolean} show-outside-days - Whether to render days that belong to adjacent months.
9764
+ * @attr {number} skidding - Skidding between the panel and the trigger.
9765
+ * @attr {"fixed" | "absolute"} strategy - Positioning strategy for the panel.
9766
+ * @attr {"single" | "multi" | "range"} type - Selection mode.
9767
+ * @attr {"error" | "none" | "success" | "warning"} validation-status - Validation state.
9768
+ * @attr {string} value - The current selection, as a wire-format string. Shape depends on `type` and `precision`:
9769
+ * • **single**: a single ISO token — `YYYY-MM-DD` (precision `day`), `YYYY-MM` (precision `month`), `YYYY` (precision `year`).
9770
+ * • **range**: `start/end` (two tokens joined with `/`) at the same precision.
9771
+ * • **multi**: space-separated tokens at the same precision.
9772
+ * Bounds (`min`/`max`) may be supplied at any of these precisions and are honoured accordingly.
9773
+ * @attr {"day" | "month" | "year"} precision - Granularity of the value and of the calendar's initial view. Also drives which cells are selectable (day cells at `day`, month cells at `month`, year cells at `year`). Defaults to `"day"`.
9696
9774
  * @method clear - Clears the selected value.
9697
- * @event bqBlur - Callback handler emitted when the input loses focus.
9698
- * @event bqChange - Callback handler emitted when the input value has changed and the input loses focus.
9699
- * @event bqClear - Callback handler emitted when the input value has been cleared.
9700
- * @event bqFocus - Callback handler emitted when the input has received focus.
9701
- * @cssprop --bq-date-picker--background-color - Date picker background color.
9702
- * @cssprop --bq-date-picker--border-color - Date picker border color.
9703
- * @cssprop --bq-date-picker--border-color-disabled - Date picker border color when disabled.
9704
- * @cssprop --bq-date-picker--border-color-focus - Date picker border color on focus.
9705
- * @cssprop --bq-date-picker--border-radius - Date picker border radius.
9706
- * @cssprop --bq-date-picker--border-style - Date picker border style.
9707
- * @cssprop --bq-date-picker--border-width - Date picker border width.
9708
- * @cssprop --bq-date-picker--currentDate-border-color - Date picker border color for current date.
9709
- * @cssprop --bq-date-picker--currentDate-border-width - Date picker border width for current date.
9710
- * @cssprop --bq-date-picker--day-size - Date picker button day size.
9711
- * @cssprop --bq-date-picker--gap - Gap between Date picker content and prefix/suffix.
9712
- * @cssprop --bq-date-picker--icon-size - Icon size to use in prefix/suffix and clear button.
9713
- * @cssprop --bq-date-picker--label-margin-bottom - Date picker label margin bottom.
9714
- * @cssprop --bq-date-picker--label-text-color - Date picker label text color.
9715
- * @cssprop --bq-date-picker--label-text-size - Date picker label text size.
9716
- * @cssprop --bq-date-picker--padding-end - Date picker padding end.
9717
- * @cssprop --bq-date-picker--padding-start - Date picker padding start.
9718
- * @cssprop --bq-date-picker--paddingY - Date picker padding top and bottom.
9719
- * @cssprop --bq-date-picker--range-background-color - Background color for the selected date range in the date picker.
9720
- * @cssprop --bq-date-picker--range-inner-background-color - Background color for the selected dates inside the date range in the date picker.
9721
- * @cssprop --bq-date-picker--text-color - Date picker text color.
9722
- * @cssprop --bq-date-picker--text-placeholder-color - Date picker placeholder text color.
9723
- * @cssprop --bq-date-picker--text-size - Date picker text size.
9775
+ * @event bqBlur - Emitted when the input loses focus.
9776
+ * @event bqChange - Emitted when the value changes.
9777
+ * @event bqClear - Emitted when the value is cleared.
9778
+ * @event bqFocus - Emitted when the input receives focus.
9779
+ * @event bqViewChange - Emitted when the internal calendar view changes (days ↔ months ↔ years).
9780
+ * @cssprop --bq-date-picker--background-color - Input background color.
9781
+ * @cssprop --bq-date-picker--border-color - Input border color.
9782
+ * @cssprop --bq-date-picker--border-color-disabled - Border color when disabled.
9783
+ * @cssprop --bq-date-picker--border-color-focus - Border color on focus.
9784
+ * @cssprop --bq-date-picker--border-radius - Input border radius.
9785
+ * @cssprop --bq-date-picker--border-style - Border style.
9786
+ * @cssprop --bq-date-picker--border-width - Border width.
9787
+ * @cssprop --bq-date-picker--currentDate-border-color - Border color for today's date.
9788
+ * @cssprop --bq-date-picker--currentDate-border-width - Border width for today's date.
9789
+ * @cssprop --bq-date-picker--day-size - Size of a day cell in the calendar.
9790
+ * @cssprop --bq-date-picker--gap - Gap between the input content and prefix/suffix.
9791
+ * @cssprop --bq-date-picker--header-title-color - Color of the per-panel month label in multi-panel view.
9792
+ * @cssprop --bq-date-picker--icon-size - Size of the icons used in prefix/suffix/clear.
9793
+ * @cssprop --bq-date-picker--label-margin-bottom - Space below the label.
9794
+ * @cssprop --bq-date-picker--label-text-color - Label text color.
9795
+ * @cssprop --bq-date-picker--label-text-size - Label text size.
9796
+ * @cssprop --bq-date-picker--padding-end - Input padding end.
9797
+ * @cssprop --bq-date-picker--padding-start - Input padding start.
9798
+ * @cssprop --bq-date-picker--paddingY - Input vertical padding.
9799
+ * @cssprop --bq-date-picker--range-background-color - Background color for range start/end days.
9800
+ * @cssprop --bq-date-picker--range-inner-background-color - Background color for inner range days.
9801
+ * @cssprop --bq-date-picker--row-gap - Vertical space between day-grid rows.
9802
+ * @cssprop --bq-date-picker--text-color - Input text color.
9803
+ * @cssprop --bq-date-picker--text-placeholder-color - Placeholder text color.
9804
+ * @cssprop --bq-date-picker--text-size - Input text size.
9805
+ * @cssprop --bq-date-picker--view-cell-background-hover - Hover background for day/month/year cells.
9806
+ * @cssprop --bq-date-picker--view-cell-background-selected - Selected background for day/month/year cells.
9807
+ * @cssprop --bq-date-picker--view-cell-height - Height of month/year cells.
9808
+ * @cssprop --bq-date-picker--view-cell-radius - Border radius of day/month/year cells.
9809
+ * @cssprop --bq-date-picker--view-cell-text-selected - Text color for selected day/month/year cells.
9724
9810
  */
9725
9811
  "bq-date-picker": LocalJSX.IntrinsicElements["bq-date-picker"] & JSXBase.HTMLAttributes<HTMLBqDatePickerElement>;
9726
9812
  /**
@@ -10203,8 +10289,9 @@ declare module "@stencil/core" {
10203
10289
  * @event bqClick - Handler to be called when the radio state changes
10204
10290
  * @event bqFocus - Handler to be called when the radio gets focused
10205
10291
  * @event bqKeyDown - The handler is to be called when the radio key is pressed
10206
- * @cssprop --bq-radio--size - Radio size
10292
+ * @cssprop --bq-radio--background-color - Radio background color
10207
10293
  * @cssprop --bq-radio--border-width - Radio border width
10294
+ * @cssprop --bq-radio--size - Radio size
10208
10295
  */
10209
10296
  "bq-radio": LocalJSX.IntrinsicElements["bq-radio"] & JSXBase.HTMLAttributes<HTMLBqRadioElement>;
10210
10297
  /**