@adyen/bento-vue2 1.72.0 → 1.74.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 (334) hide show
  1. package/dist/@types/components.d.ts +2 -10
  2. package/dist/@types/index.d.ts +1538 -1703
  3. package/dist/@types/use-form-v4.d.ts +1 -1
  4. package/dist/accordion.js +1 -1
  5. package/dist/action-bar.js +1 -1
  6. package/dist/alert.js +1 -1
  7. package/dist/assets/accordion-item.css +1 -1
  8. package/dist/assets/action-bar.css +1 -1
  9. package/dist/assets/avatar.css +1 -1
  10. package/dist/assets/base-modal.css +1 -1
  11. package/dist/assets/button-actions.css +1 -1
  12. package/dist/assets/button.css +1 -1
  13. package/dist/assets/calendar.css +1 -1
  14. package/dist/assets/card.css +1 -1
  15. package/dist/assets/country.css +1 -1
  16. package/dist/assets/currency.css +1 -1
  17. package/dist/assets/data-grid-template.css +1 -1
  18. package/dist/assets/data-grid.css +1 -1
  19. package/dist/assets/date-picker.css +1 -1
  20. package/dist/assets/date-range-picker.css +1 -1
  21. package/dist/assets/dialog-page.css +1 -1
  22. package/dist/assets/dropdown-default-textbox.css +1 -1
  23. package/dist/assets/dropdown-tag.css +1 -1
  24. package/dist/assets/dropdown.css +1 -1
  25. package/dist/assets/file-uploader.css +1 -1
  26. package/dist/assets/filter-bar.css +1 -1
  27. package/dist/assets/form-layout-title.css +1 -1
  28. package/dist/assets/header-meta.css +1 -1
  29. package/dist/assets/header-with-views.css +1 -1
  30. package/dist/assets/input-field-password.css +1 -1
  31. package/dist/assets/input-field-phone-number.css +1 -1
  32. package/dist/assets/input-field.css +1 -1
  33. package/dist/assets/inspector.css +1 -1
  34. package/dist/assets/listbox-option-tag.css +1 -1
  35. package/dist/assets/loading-indicator.css +1 -1
  36. package/dist/assets/modal-fullscreen.css +1 -1
  37. package/dist/assets/pagination.css +1 -1
  38. package/dist/assets/popper-container.css +1 -1
  39. package/dist/assets/radio-group.css +1 -1
  40. package/dist/assets/radio-input.css +1 -1
  41. package/dist/assets/secondary-nav.css +1 -1
  42. package/dist/assets/segmented-control.css +1 -1
  43. package/dist/assets/selection-card-group.css +1 -1
  44. package/dist/assets/sidepanel.css +1 -1
  45. package/dist/assets/step.css +1 -1
  46. package/dist/assets/tab.css +1 -1
  47. package/dist/assets/textarea.css +1 -1
  48. package/dist/assets/timeline-item.css +1 -1
  49. package/dist/assets/toggle.css +1 -1
  50. package/dist/assets/tooltip.css +1 -1
  51. package/dist/assets/tutorial.css +1 -1
  52. package/dist/assets/use-cached-selected-values.css +1 -1
  53. package/dist/avatar.js +1 -1
  54. package/dist/button.js +3 -3
  55. package/dist/card.js +1 -1
  56. package/dist/checkbox.js +2 -2
  57. package/dist/chip.js +1 -1
  58. package/dist/chunks/{accordion-item.CoqaoVnC.js → accordion-item.nQhXD2tV.js} +2 -2
  59. package/dist/chunks/{accordion-item.CoqaoVnC.js.map → accordion-item.nQhXD2tV.js.map} +1 -1
  60. package/dist/chunks/{action-bar.Bxrtx1Vj.js → action-bar.MXZTIUNk.js} +5 -5
  61. package/dist/chunks/{action-bar.Bxrtx1Vj.js.map → action-bar.MXZTIUNk.js.map} +1 -1
  62. package/dist/chunks/{ai-button.FRPkTHz6.js → ai-button.DBwtNkyS.js} +2 -2
  63. package/dist/chunks/{ai-button.FRPkTHz6.js.map → ai-button.DBwtNkyS.js.map} +1 -1
  64. package/dist/chunks/{alert.CMyL-zWT.js → alert.SZPP58tl.js} +3 -3
  65. package/dist/chunks/{alert.CMyL-zWT.js.map → alert.SZPP58tl.js.map} +1 -1
  66. package/dist/chunks/{avatar.KdcsNOsm.js → avatar.CeDqq2Z-.js} +3 -3
  67. package/dist/chunks/avatar.CeDqq2Z-.js.map +1 -0
  68. package/dist/chunks/{base-modal.DInbAZlp.js → base-modal.BMdlCSd0.js} +7 -7
  69. package/dist/chunks/base-modal.BMdlCSd0.js.map +1 -0
  70. package/dist/chunks/{button-actions-with-menu.BtWUxmSL.js → button-actions-with-menu.BFRkPi6g.js} +2 -2
  71. package/dist/chunks/{button-actions-with-menu.BtWUxmSL.js.map → button-actions-with-menu.BFRkPi6g.js.map} +1 -1
  72. package/dist/chunks/{button-actions.55vIvDsX.js → button-actions.B81vY51z.js} +11 -14
  73. package/dist/chunks/button-actions.B81vY51z.js.map +1 -0
  74. package/dist/chunks/button-actions.types.BptAXjD8.js.map +1 -1
  75. package/dist/chunks/{button.CilT7NmM.js → button.CS_kdxYh.js} +3 -3
  76. package/dist/chunks/button.CS_kdxYh.js.map +1 -0
  77. package/dist/chunks/{calendar.M69sfyB9.js → calendar.EfqJlztU.js} +191 -187
  78. package/dist/chunks/calendar.EfqJlztU.js.map +1 -0
  79. package/dist/chunks/{card.C11dmth8.js → card.VOCKI7Ad.js} +8 -8
  80. package/dist/chunks/card.VOCKI7Ad.js.map +1 -0
  81. package/dist/chunks/{checkbox-group.Cr3WdkDM.js → checkbox-group.DETXTJqI.js} +4 -4
  82. package/dist/chunks/{checkbox-group.Cr3WdkDM.js.map → checkbox-group.DETXTJqI.js.map} +1 -1
  83. package/dist/chunks/{checkbox.D7-f9Y6w.js → checkbox.BPtHAAEa.js} +4 -4
  84. package/dist/chunks/{checkbox.D7-f9Y6w.js.map → checkbox.BPtHAAEa.js.map} +1 -1
  85. package/dist/chunks/{chip.omQX_Ziq.js → chip.fqEIkR-s.js} +2 -2
  86. package/dist/chunks/{chip.omQX_Ziq.js.map → chip.fqEIkR-s.js.map} +1 -1
  87. package/dist/chunks/{code-snippet.BGrwAxWy.js → code-snippet.VtrsOTEC.js} +7 -7
  88. package/dist/chunks/{code-snippet.BGrwAxWy.js.map → code-snippet.VtrsOTEC.js.map} +1 -1
  89. package/dist/chunks/{controls-group.CWeUgE2P.js → controls-group.82mB_GDw.js} +2 -2
  90. package/dist/chunks/{controls-group.CWeUgE2P.js.map → controls-group.82mB_GDw.js.map} +1 -1
  91. package/dist/chunks/{copy._BdbMnHK.js → copy.WQDLcs_T.js} +5 -5
  92. package/dist/chunks/{copy._BdbMnHK.js.map → copy.WQDLcs_T.js.map} +1 -1
  93. package/dist/chunks/country.CGn5WjFx.js +69 -0
  94. package/dist/chunks/country.CGn5WjFx.js.map +1 -0
  95. package/dist/chunks/country.types.C0Q_hhgJ.js.map +1 -1
  96. package/dist/chunks/{currency.MT3baDtO.js → currency.DDB4G_A8.js} +52 -35
  97. package/dist/chunks/currency.DDB4G_A8.js.map +1 -0
  98. package/dist/chunks/{dashboard-section.e7ozaS9M.js → dashboard-section.jIpBvP6X.js} +3 -3
  99. package/dist/chunks/{dashboard-section.e7ozaS9M.js.map → dashboard-section.jIpBvP6X.js.map} +1 -1
  100. package/dist/chunks/{dashed-underline.CGU6o7ni.js → dashed-underline.K-l-7bDq.js} +3 -3
  101. package/dist/chunks/{dashed-underline.CGU6o7ni.js.map → dashed-underline.K-l-7bDq.js.map} +1 -1
  102. package/dist/chunks/{data-grid-template.BaPjUlZ2.js → data-grid-template.CozTcWQ0.js} +4 -4
  103. package/dist/chunks/{data-grid-template.BaPjUlZ2.js.map → data-grid-template.CozTcWQ0.js.map} +1 -1
  104. package/dist/chunks/{data-grid.B_Ha2vma.js → data-grid.DN9xml8y.js} +1275 -1214
  105. package/dist/chunks/data-grid.DN9xml8y.js.map +1 -0
  106. package/dist/chunks/{date-input.BqBdAO1E.js → date-format.B8RU7D42.js} +6 -6
  107. package/dist/chunks/date-format.B8RU7D42.js.map +1 -0
  108. package/dist/chunks/date-picker.DoYYzWcA.js +158 -0
  109. package/dist/chunks/date-picker.DoYYzWcA.js.map +1 -0
  110. package/dist/chunks/date-range-picker.C_pJ8yH5.js +917 -0
  111. package/dist/chunks/date-range-picker.C_pJ8yH5.js.map +1 -0
  112. package/dist/chunks/{date.BTdCYdkj.js → date.C1z2TXzM.js} +2 -2
  113. package/dist/chunks/{date.BTdCYdkj.js.map → date.C1z2TXzM.js.map} +1 -1
  114. package/dist/chunks/debounce.DUTu11PS.js.map +1 -1
  115. package/dist/chunks/{dialog-page.LA_ZhbYa.js → dialog-page.D23qNwKW.js} +3 -3
  116. package/dist/chunks/dialog-page.D23qNwKW.js.map +1 -0
  117. package/dist/chunks/{dropdown-default-textbox.CDm-PQfc.js → dropdown-default-textbox.yLeN0E2z.js} +6 -6
  118. package/dist/chunks/dropdown-default-textbox.yLeN0E2z.js.map +1 -0
  119. package/dist/chunks/dropdown-tag.DBnurtCQ.js +245 -0
  120. package/dist/chunks/dropdown-tag.DBnurtCQ.js.map +1 -0
  121. package/dist/chunks/{dropdown.DQbTuKc5.js → dropdown.BOvtYKXS.js} +202 -193
  122. package/dist/chunks/dropdown.BOvtYKXS.js.map +1 -0
  123. package/dist/chunks/{empty-state.DNTrhYUm.js → empty-state.BsdRxzS2.js} +2 -2
  124. package/dist/chunks/{empty-state.DNTrhYUm.js.map → empty-state.BsdRxzS2.js.map} +1 -1
  125. package/dist/chunks/es6.MoTTyETW.js.map +1 -1
  126. package/dist/chunks/{field-label.BKzuCnXr.js → field-label.Auq-Pzho.js} +3 -3
  127. package/dist/chunks/{field-label.BKzuCnXr.js.map → field-label.Auq-Pzho.js.map} +1 -1
  128. package/dist/chunks/{file-uploader.BEClGxsF.js → file-uploader.BGoCYrnw.js} +27 -28
  129. package/dist/chunks/file-uploader.BGoCYrnw.js.map +1 -0
  130. package/dist/chunks/{filter-bar.Dnnv0rpV.js → filter-bar.DzHJi42d.js} +680 -746
  131. package/dist/chunks/filter-bar.DzHJi42d.js.map +1 -0
  132. package/dist/chunks/{fixed-scroller.QCXpkadN.js → fixed-scroller.CgVOf5VE.js} +3 -3
  133. package/dist/chunks/{fixed-scroller.QCXpkadN.js.map → fixed-scroller.CgVOf5VE.js.map} +1 -1
  134. package/dist/chunks/focus-trap.BJfpIboH.js.map +1 -1
  135. package/dist/chunks/{footer-actions.BTELM6rh.js → footer-actions.CLq_kBwY.js} +3 -3
  136. package/dist/chunks/{footer-actions.BTELM6rh.js.map → footer-actions.CLq_kBwY.js.map} +1 -1
  137. package/dist/chunks/{form-layout-title.aXVuAWiG.js → form-layout-title.DoF6ovPB.js} +23 -16
  138. package/dist/chunks/form-layout-title.DoF6ovPB.js.map +1 -0
  139. package/dist/chunks/get-slot-text.BQS5Olxm.js.map +1 -1
  140. package/dist/chunks/{header-meta.DZYH-qg-.js → header-meta.uiIO1wHP.js} +30 -27
  141. package/dist/chunks/{header-meta.DZYH-qg-.js.map → header-meta.uiIO1wHP.js.map} +1 -1
  142. package/dist/chunks/{header-with-views.DjZa4Wob.js → header-with-views.t5Fr63SD.js} +87 -87
  143. package/dist/chunks/header-with-views.t5Fr63SD.js.map +1 -0
  144. package/dist/chunks/{header.CQMiTG7f.js → header.DwSyDQ68.js} +3 -3
  145. package/dist/chunks/{header.CQMiTG7f.js.map → header.DwSyDQ68.js.map} +1 -1
  146. package/dist/chunks/index.B6WW_F-J.js +31 -0
  147. package/dist/chunks/index.B6WW_F-J.js.map +1 -0
  148. package/dist/chunks/{info-icon.fB7jf3NJ.js → info-icon.Bhka3oGh.js} +3 -3
  149. package/dist/chunks/{info-icon.fB7jf3NJ.js.map → info-icon.Bhka3oGh.js.map} +1 -1
  150. package/dist/chunks/{input-field-password.BPujvbx8.js → input-field-password.Dm3HYonF.js} +24 -24
  151. package/dist/chunks/input-field-password.Dm3HYonF.js.map +1 -0
  152. package/dist/chunks/{input-field-phone-number.bqUe_CVf.js → input-field-phone-number.bZauIuHJ.js} +1149 -1149
  153. package/dist/chunks/{input-field-phone-number.bqUe_CVf.js.map → input-field-phone-number.bZauIuHJ.js.map} +1 -1
  154. package/dist/chunks/{input-field.CwF6ldRY.js → input-field.D52XYEzU.js} +5 -5
  155. package/dist/chunks/input-field.D52XYEzU.js.map +1 -0
  156. package/dist/chunks/{inspector.g3OErNAU.js → inspector.pmpheRch.js} +4 -4
  157. package/dist/chunks/inspector.pmpheRch.js.map +1 -0
  158. package/dist/chunks/keyboard-navigation.pB8weElW.js.map +1 -1
  159. package/dist/chunks/{link.C4htMrDV.js → link.D8qpqg3W.js} +2 -2
  160. package/dist/chunks/{link.C4htMrDV.js.map → link.D8qpqg3W.js.map} +1 -1
  161. package/dist/chunks/{listbox-option-tag.UaD4kmXc.js → listbox-option-tag.Dl8GwHLT.js} +3 -3
  162. package/dist/chunks/listbox-option-tag.Dl8GwHLT.js.map +1 -0
  163. package/dist/chunks/loading-indicator.PxbRzshH.js +42 -0
  164. package/dist/chunks/loading-indicator.PxbRzshH.js.map +1 -0
  165. package/dist/chunks/{modal-fullscreen.B-9Ke6Ya.js → modal-fullscreen.BSKm6yn_.js} +6 -6
  166. package/dist/chunks/{modal-fullscreen.B-9Ke6Ya.js.map → modal-fullscreen.BSKm6yn_.js.map} +1 -1
  167. package/dist/chunks/{modal.qybFapnI.js → modal.Bp5twyjz.js} +6 -6
  168. package/dist/chunks/{modal.qybFapnI.js.map → modal.Bp5twyjz.js.map} +1 -1
  169. package/dist/chunks/on-click-outside.D9aY9g8G.js.map +1 -1
  170. package/dist/chunks/{pagination.BWTyXMRW.js → pagination.CKD9FDrA.js} +5 -5
  171. package/dist/chunks/pagination.CKD9FDrA.js.map +1 -0
  172. package/dist/chunks/popover.types.DK6opPkz.js +6 -0
  173. package/dist/chunks/{popover.types.iyDoIAOE.js.map → popover.types.DK6opPkz.js.map} +1 -1
  174. package/dist/chunks/{popper-container.C9KCAJxI.js → popper-container.agLYtGwv.js} +2 -2
  175. package/dist/chunks/{popper-container.C9KCAJxI.js.map → popper-container.agLYtGwv.js.map} +1 -1
  176. package/dist/chunks/{promo-banner.MI5NC2UT.js → promo-banner.DikQcQU2.js} +3 -3
  177. package/dist/chunks/promo-banner.DikQcQU2.js.map +1 -0
  178. package/dist/chunks/radio-group.AcYMFudv.js +177 -0
  179. package/dist/chunks/radio-group.AcYMFudv.js.map +1 -0
  180. package/dist/chunks/{radio-input.D8mv2EYC.js → radio-input.kzb4gxLW.js} +17 -17
  181. package/dist/chunks/radio-input.kzb4gxLW.js.map +1 -0
  182. package/dist/chunks/{rich-text-editor.C905JEDW.js → rich-text-editor.BZgQ578S.js} +7 -7
  183. package/dist/chunks/{rich-text-editor.C905JEDW.js.map → rich-text-editor.BZgQ578S.js.map} +1 -1
  184. package/dist/chunks/{search-bar.CKt_-tZH.js → search-bar.c-w7Uky2.js} +4 -4
  185. package/dist/chunks/{search-bar.CKt_-tZH.js.map → search-bar.c-w7Uky2.js.map} +1 -1
  186. package/dist/chunks/{secondary-nav.B5L2bLmm.js → secondary-nav.D69COlqF.js} +9 -9
  187. package/dist/chunks/secondary-nav.D69COlqF.js.map +1 -0
  188. package/dist/chunks/{segmented-control.Dc34mUMM.js → segmented-control.Cma_nu0G.js} +17 -16
  189. package/dist/chunks/segmented-control.Cma_nu0G.js.map +1 -0
  190. package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -1
  191. package/dist/chunks/{selection-card-group.CBVKMu6b.js → selection-card-group.8UIir78G.js} +5 -5
  192. package/dist/chunks/selection-card-group.8UIir78G.js.map +1 -0
  193. package/dist/chunks/{sidepanel.uWNc58r7.js → sidepanel.A9yG4FP_.js} +12 -12
  194. package/dist/chunks/{sidepanel.uWNc58r7.js.map → sidepanel.A9yG4FP_.js.map} +1 -1
  195. package/dist/chunks/{step.D8blWwfR.js → step.TzzZSA9f.js} +4 -4
  196. package/dist/chunks/step.TzzZSA9f.js.map +1 -0
  197. package/dist/chunks/{structured-list-item.BLalgOps.js → structured-list-item.CMsVwwA6.js} +6 -6
  198. package/dist/chunks/{structured-list-item.BLalgOps.js.map → structured-list-item.CMsVwwA6.js.map} +1 -1
  199. package/dist/chunks/{summary-grid.types.DqzYJ9_N.js → summary-grid.types.B80533d1.js} +6 -6
  200. package/dist/chunks/{summary-grid.types.DqzYJ9_N.js.map → summary-grid.types.B80533d1.js.map} +1 -1
  201. package/dist/chunks/{tab.D8YyoNFV.js → tab.CTui3j3e.js} +3 -3
  202. package/dist/chunks/tab.CTui3j3e.js.map +1 -0
  203. package/dist/chunks/{tag.Tjg4linG.js → tag.BwKc2d2E.js} +2 -2
  204. package/dist/chunks/{tag.Tjg4linG.js.map → tag.BwKc2d2E.js.map} +1 -1
  205. package/dist/chunks/textarea.CIQuLWQ8.js +165 -0
  206. package/dist/chunks/textarea.CIQuLWQ8.js.map +1 -0
  207. package/dist/chunks/{timeline-item.DaRKHndA.js → timeline-item.VSw9vKdO.js} +10 -10
  208. package/dist/chunks/timeline-item.VSw9vKdO.js.map +1 -0
  209. package/dist/chunks/{toast.gMDjItrP.js → toast.B4J4V6n-.js} +3 -3
  210. package/dist/chunks/{toast.gMDjItrP.js.map → toast.B4J4V6n-.js.map} +1 -1
  211. package/dist/chunks/toggle.BJMXpHRu.js +108 -0
  212. package/dist/chunks/toggle.BJMXpHRu.js.map +1 -0
  213. package/dist/chunks/{tooltip.DOD_4rkI.js → tooltip.D3SDcRef.js} +64 -68
  214. package/dist/chunks/tooltip.D3SDcRef.js.map +1 -0
  215. package/dist/chunks/{tutorial.BwnRyUoh.js → tutorial.B32GMtIj.js} +6 -6
  216. package/dist/chunks/tutorial.B32GMtIj.js.map +1 -0
  217. package/dist/chunks/{use-cached-selected-values.C7j6YhuC.js → use-cached-selected-values.IsfhJHxQ.js} +19 -19
  218. package/dist/chunks/use-cached-selected-values.IsfhJHxQ.js.map +1 -0
  219. package/dist/chunks/{use-country-items.DFdM2Ank.js → use-country-items.B3Cd3Tdo.js} +2 -2
  220. package/dist/chunks/use-country-items.B3Cd3Tdo.js.map +1 -0
  221. package/dist/chunks/use-country-phon-code.Bui3zD6W.js.map +1 -1
  222. package/dist/chunks/use-default-slot-validator.BDn0wkYP.js.map +1 -1
  223. package/dist/chunks/use-has-slot.C9lQZ6nz.js.map +1 -1
  224. package/dist/code-snippet.js +1 -1
  225. package/dist/country.js +1 -1
  226. package/dist/currency.js +1 -1
  227. package/dist/dashboard-template.js +1 -1
  228. package/dist/dashed-underline.js +1 -1
  229. package/dist/data-grid-template.js +1 -1
  230. package/dist/data-grid.js +1 -1
  231. package/dist/date-picker.js +5 -4
  232. package/dist/date-range-picker.js +5 -4
  233. package/dist/date.js +1 -1
  234. package/dist/dropdown.js +4 -4
  235. package/dist/empty-state.js +1 -1
  236. package/dist/file-uploader.js +1 -1
  237. package/dist/filter-bar.js +5 -4
  238. package/dist/form-layout.js +1 -1
  239. package/dist/header-with-views.js +1 -1
  240. package/dist/header.js +1 -1
  241. package/dist/index.js +405 -329
  242. package/dist/index.js.map +1 -1
  243. package/dist/info-icon.js +1 -1
  244. package/dist/input-field-password.js +1 -1
  245. package/dist/input-field-phone-number.js +1 -1
  246. package/dist/input-field.js +1 -1
  247. package/dist/inspector.js +1 -1
  248. package/dist/internal.js +12 -12
  249. package/dist/link.js +1 -1
  250. package/dist/loading-indicator.js +1 -1
  251. package/dist/menu.js +1 -1
  252. package/dist/modal-fullscreen.js +1 -1
  253. package/dist/modal.js +2 -2
  254. package/dist/pagination.js +1 -1
  255. package/dist/popover.js +2 -2
  256. package/dist/popper-container.js +1 -1
  257. package/dist/promo-banner.js +1 -1
  258. package/dist/radio-group.js +2 -2
  259. package/dist/rich-text-editor.js +1 -1
  260. package/dist/search-bar.js +2 -2
  261. package/dist/secondary-nav.js +1 -1
  262. package/dist/segmented-control.js +1 -1
  263. package/dist/selection-card.js +1 -1
  264. package/dist/sidepanel.js +1 -1
  265. package/dist/stepper.js +1 -1
  266. package/dist/structured-list.js +1 -1
  267. package/dist/styles/bento-dark.css +25 -15
  268. package/dist/styles/bento-light.css +9 -3
  269. package/dist/styles/bento.css +9 -3
  270. package/dist/styles/legacy.css +9 -3
  271. package/dist/styles/styleguide.css +9 -3
  272. package/dist/summary-grid.js +1 -1
  273. package/dist/tabs.js +1 -1
  274. package/dist/tag.js +1 -1
  275. package/dist/textarea.js +1 -1
  276. package/dist/timeline.js +1 -1
  277. package/dist/toast.js +1 -1
  278. package/dist/toggle.js +1 -1
  279. package/dist/tutorial.js +1 -1
  280. package/dist/use-form-v4.js.map +1 -1
  281. package/dist/web-types.json +1297 -1026
  282. package/package.json +12 -12
  283. package/dist/chunks/avatar.KdcsNOsm.js.map +0 -1
  284. package/dist/chunks/base-modal.DInbAZlp.js.map +0 -1
  285. package/dist/chunks/button-actions.55vIvDsX.js.map +0 -1
  286. package/dist/chunks/button.CilT7NmM.js.map +0 -1
  287. package/dist/chunks/calendar.M69sfyB9.js.map +0 -1
  288. package/dist/chunks/card.C11dmth8.js.map +0 -1
  289. package/dist/chunks/country.1yIZNjdj.js +0 -94
  290. package/dist/chunks/country.1yIZNjdj.js.map +0 -1
  291. package/dist/chunks/currency.MT3baDtO.js.map +0 -1
  292. package/dist/chunks/data-grid.B_Ha2vma.js.map +0 -1
  293. package/dist/chunks/date-input.BqBdAO1E.js.map +0 -1
  294. package/dist/chunks/date-picker.CGTMHUNH.js +0 -240
  295. package/dist/chunks/date-picker.CGTMHUNH.js.map +0 -1
  296. package/dist/chunks/date-range-picker.ChGfJUPq.js +0 -971
  297. package/dist/chunks/date-range-picker.ChGfJUPq.js.map +0 -1
  298. package/dist/chunks/dialog-page.LA_ZhbYa.js.map +0 -1
  299. package/dist/chunks/dropdown-default-textbox.CDm-PQfc.js.map +0 -1
  300. package/dist/chunks/dropdown-tag.Bwl0fY7o.js +0 -306
  301. package/dist/chunks/dropdown-tag.Bwl0fY7o.js.map +0 -1
  302. package/dist/chunks/dropdown.DQbTuKc5.js.map +0 -1
  303. package/dist/chunks/file-uploader.BEClGxsF.js.map +0 -1
  304. package/dist/chunks/filter-bar.Dnnv0rpV.js.map +0 -1
  305. package/dist/chunks/form-layout-title.aXVuAWiG.js.map +0 -1
  306. package/dist/chunks/header-with-views.DjZa4Wob.js.map +0 -1
  307. package/dist/chunks/i18n.BQkEbtPM.js +0 -31
  308. package/dist/chunks/i18n.BQkEbtPM.js.map +0 -1
  309. package/dist/chunks/input-field-password.BPujvbx8.js.map +0 -1
  310. package/dist/chunks/input-field.CwF6ldRY.js.map +0 -1
  311. package/dist/chunks/inspector.g3OErNAU.js.map +0 -1
  312. package/dist/chunks/listbox-option-tag.UaD4kmXc.js.map +0 -1
  313. package/dist/chunks/loading-indicator.DXc7I1Lm.js +0 -48
  314. package/dist/chunks/loading-indicator.DXc7I1Lm.js.map +0 -1
  315. package/dist/chunks/pagination.BWTyXMRW.js.map +0 -1
  316. package/dist/chunks/popover.types.iyDoIAOE.js +0 -6
  317. package/dist/chunks/promo-banner.MI5NC2UT.js.map +0 -1
  318. package/dist/chunks/radio-group.DHUa6baR.js +0 -231
  319. package/dist/chunks/radio-group.DHUa6baR.js.map +0 -1
  320. package/dist/chunks/radio-input.D8mv2EYC.js.map +0 -1
  321. package/dist/chunks/secondary-nav.B5L2bLmm.js.map +0 -1
  322. package/dist/chunks/segmented-control.Dc34mUMM.js.map +0 -1
  323. package/dist/chunks/selection-card-group.CBVKMu6b.js.map +0 -1
  324. package/dist/chunks/step.D8blWwfR.js.map +0 -1
  325. package/dist/chunks/tab.D8YyoNFV.js.map +0 -1
  326. package/dist/chunks/textarea.DUPV-I-L.js +0 -214
  327. package/dist/chunks/textarea.DUPV-I-L.js.map +0 -1
  328. package/dist/chunks/timeline-item.DaRKHndA.js.map +0 -1
  329. package/dist/chunks/toggle.Ct-5NUGu.js +0 -121
  330. package/dist/chunks/toggle.Ct-5NUGu.js.map +0 -1
  331. package/dist/chunks/tooltip.DOD_4rkI.js.map +0 -1
  332. package/dist/chunks/tutorial.BwnRyUoh.js.map +0 -1
  333. package/dist/chunks/use-cached-selected-values.C7j6YhuC.js.map +0 -1
  334. package/dist/chunks/use-country-items.DFdM2Ank.js.map +0 -1
@@ -8,7 +8,6 @@ import { ComputedRef } from 'vue';
8
8
  import { CountryCode } from 'libphonenumber-js/types';
9
9
  import { CountryCode as CountryCode_2 } from 'libphonenumber-js';
10
10
  import { DeepReadonly } from 'vue';
11
- import { default as default_2 } from 'vue-i18n';
12
11
  import { DefaultKeys } from 'vue/types/v3-component-props';
13
12
  import { DefineComponent } from 'vue';
14
13
  import { DirectiveBinding } from 'vue';
@@ -132,8 +131,22 @@ declare type __VLS_NonUndefinedable_54<T> = T extends undefined ? never : T;
132
131
 
133
132
  declare type __VLS_NonUndefinedable_55<T> = T extends undefined ? never : T;
134
133
 
134
+ declare type __VLS_NonUndefinedable_56<T> = T extends undefined ? never : T;
135
+
136
+ declare type __VLS_NonUndefinedable_57<T> = T extends undefined ? never : T;
137
+
138
+ declare type __VLS_NonUndefinedable_58<T> = T extends undefined ? never : T;
139
+
140
+ declare type __VLS_NonUndefinedable_59<T> = T extends undefined ? never : T;
141
+
135
142
  declare type __VLS_NonUndefinedable_6<T> = T extends undefined ? never : T;
136
143
 
144
+ declare type __VLS_NonUndefinedable_60<T> = T extends undefined ? never : T;
145
+
146
+ declare type __VLS_NonUndefinedable_61<T> = T extends undefined ? never : T;
147
+
148
+ declare type __VLS_NonUndefinedable_62<T> = T extends undefined ? never : T;
149
+
137
150
  declare type __VLS_NonUndefinedable_7<T> = T extends undefined ? never : T;
138
151
 
139
152
  declare type __VLS_NonUndefinedable_8<T> = T extends undefined ? never : T;
@@ -599,6 +612,42 @@ declare type __VLS_TypePropsToRuntimeProps_55<T> = {
599
612
  };
600
613
  };
601
614
 
615
+ declare type __VLS_TypePropsToRuntimeProps_56<T> = {
616
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
617
+ type: PropType<__VLS_NonUndefinedable_56<T[K]>>;
618
+ } : {
619
+ type: PropType<T[K]>;
620
+ required: true;
621
+ };
622
+ };
623
+
624
+ declare type __VLS_TypePropsToRuntimeProps_57<T> = {
625
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
626
+ type: PropType<__VLS_NonUndefinedable_57<T[K]>>;
627
+ } : {
628
+ type: PropType<T[K]>;
629
+ required: true;
630
+ };
631
+ };
632
+
633
+ declare type __VLS_TypePropsToRuntimeProps_58<T> = {
634
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
635
+ type: PropType<__VLS_NonUndefinedable_58<T[K]>>;
636
+ } : {
637
+ type: PropType<T[K]>;
638
+ required: true;
639
+ };
640
+ };
641
+
642
+ declare type __VLS_TypePropsToRuntimeProps_59<T> = {
643
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
644
+ type: PropType<__VLS_NonUndefinedable_59<T[K]>>;
645
+ } : {
646
+ type: PropType<T[K]>;
647
+ required: true;
648
+ };
649
+ };
650
+
602
651
  declare type __VLS_TypePropsToRuntimeProps_6<T> = {
603
652
  [K in keyof T]-?: {} extends Pick<T, K> ? {
604
653
  type: PropType<__VLS_NonUndefinedable_6<T[K]>>;
@@ -608,6 +657,33 @@ declare type __VLS_TypePropsToRuntimeProps_6<T> = {
608
657
  };
609
658
  };
610
659
 
660
+ declare type __VLS_TypePropsToRuntimeProps_60<T> = {
661
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
662
+ type: PropType<__VLS_NonUndefinedable_60<T[K]>>;
663
+ } : {
664
+ type: PropType<T[K]>;
665
+ required: true;
666
+ };
667
+ };
668
+
669
+ declare type __VLS_TypePropsToRuntimeProps_61<T> = {
670
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
671
+ type: PropType<__VLS_NonUndefinedable_61<T[K]>>;
672
+ } : {
673
+ type: PropType<T[K]>;
674
+ required: true;
675
+ };
676
+ };
677
+
678
+ declare type __VLS_TypePropsToRuntimeProps_62<T> = {
679
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
680
+ type: PropType<__VLS_NonUndefinedable_62<T[K]>>;
681
+ } : {
682
+ type: PropType<T[K]>;
683
+ required: true;
684
+ };
685
+ };
686
+
611
687
  declare type __VLS_TypePropsToRuntimeProps_7<T> = {
612
688
  [K in keyof T]-?: {} extends Pick<T, K> ? {
613
689
  type: PropType<__VLS_NonUndefinedable_7<T[K]>>;
@@ -923,6 +999,48 @@ declare type __VLS_WithDefaults_52<P, D> = {
923
999
  } : P[K];
924
1000
  };
925
1001
 
1002
+ declare type __VLS_WithDefaults_53<P, D> = {
1003
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
1004
+ default: D[K];
1005
+ } : P[K];
1006
+ };
1007
+
1008
+ declare type __VLS_WithDefaults_54<P, D> = {
1009
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
1010
+ default: D[K];
1011
+ } : P[K];
1012
+ };
1013
+
1014
+ declare type __VLS_WithDefaults_55<P, D> = {
1015
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
1016
+ default: D[K];
1017
+ } : P[K];
1018
+ };
1019
+
1020
+ declare type __VLS_WithDefaults_56<P, D> = {
1021
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
1022
+ default: D[K];
1023
+ } : P[K];
1024
+ };
1025
+
1026
+ declare type __VLS_WithDefaults_57<P, D> = {
1027
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
1028
+ default: D[K];
1029
+ } : P[K];
1030
+ };
1031
+
1032
+ declare type __VLS_WithDefaults_58<P, D> = {
1033
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
1034
+ default: D[K];
1035
+ } : P[K];
1036
+ };
1037
+
1038
+ declare type __VLS_WithDefaults_59<P, D> = {
1039
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
1040
+ default: D[K];
1041
+ } : P[K];
1042
+ };
1043
+
926
1044
  declare type __VLS_WithDefaults_6<P, D> = {
927
1045
  [K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
928
1046
  default: D[K];
@@ -1247,6 +1365,18 @@ declare type __VLS_WithTemplateSlots_54<T, S> = T & {
1247
1365
  };
1248
1366
  };
1249
1367
 
1368
+ declare type __VLS_WithTemplateSlots_55<T, S> = T & {
1369
+ new (): {
1370
+ $slots: S;
1371
+ };
1372
+ };
1373
+
1374
+ declare type __VLS_WithTemplateSlots_56<T, S> = T & {
1375
+ new (): {
1376
+ $slots: S;
1377
+ };
1378
+ };
1379
+
1250
1380
  declare type __VLS_WithTemplateSlots_6<T, S> = T & {
1251
1381
  new (): {
1252
1382
  $slots: S;
@@ -1280,7 +1410,19 @@ export declare type allKeys<T> = T extends any ? keyof T : never;
1280
1410
  /**
1281
1411
  * Any function
1282
1412
  */
1283
- export declare type AnyFn<T> = (...args: T[]) => T;
1413
+ export declare type AnyFn<T> = (...args: Array<T>) => T;
1414
+
1415
+ /**
1416
+ * Private
1417
+ */
1418
+ declare enum BaseFilterEvent {
1419
+ APPLY = "apply",
1420
+ CLEAR = "clear",
1421
+ OPEN = "open",
1422
+ CLOSE = "close",
1423
+ RESET = "reset",
1424
+ CANCEL = "cancel"
1425
+ }
1284
1426
 
1285
1427
  declare interface BaseSummaryGridItemProps {
1286
1428
  /**
@@ -1606,7 +1748,7 @@ declare interface BentoActionButton extends BentoButtonActionBase, BentoButtonPr
1606
1748
  /**
1607
1749
  * Type for the Menus passed as objects to Button Actions
1608
1750
  */
1609
- declare type BentoActionMenu = BentoButtonActionBase & OmitStrict_2<BentoMenuProps, 'button' | 'data'> & Partial<Pick<BentoMenuProps, 'data'>>;
1751
+ declare type BentoActionMenu = BentoButtonActionBase & OmitStrict<BentoMenuProps, 'button' | 'data'> & Partial<Pick<BentoMenuProps, 'data'>>;
1610
1752
 
1611
1753
  /**
1612
1754
  * AI Button component is used for cases where pressing a button starts an AI-related action.
@@ -1822,64 +1964,344 @@ export declare type BentoAvatarListboxOptionItem = Omit<BentoListboxOptionItem,
1822
1964
  src?: string;
1823
1965
  };
1824
1966
 
1825
- export declare type BentoAvatarListboxOptions = BentoAvatarListboxOptionItem[];
1967
+ export declare type BentoAvatarListboxOptions = Array<BentoAvatarListboxOptionItem>;
1826
1968
 
1827
- export declare type BentoBooleanFilterOption = {
1828
- label: string;
1829
- value: string | boolean;
1830
- };
1969
+ export declare const BentoBaseFilter: __VLS_WithTemplateSlots_14<DefineComponent<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_25<BentoBaseFilterProps_2<BentoFilterBarValue, string>>, {
1970
+ appliedFiltersCount: any;
1971
+ buttonLabel: any;
1972
+ buttonSecondaryLabel: any;
1973
+ disabled: boolean;
1974
+ defaultValue: any;
1975
+ onlySlot: boolean;
1976
+ controlled: boolean;
1977
+ disableApplyButton: boolean;
1978
+ disableSecondaryButton: boolean;
1979
+ fitContent: any;
1980
+ tooltipText: any;
1981
+ tooltipPosition: any;
1982
+ value: any;
1983
+ }>, {
1984
+ closePopover: () => void;
1985
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BaseFilterEvent[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_25<BentoBaseFilterProps_2<BentoFilterBarValue, string>>, {
1986
+ appliedFiltersCount: any;
1987
+ buttonLabel: any;
1988
+ buttonSecondaryLabel: any;
1989
+ disabled: boolean;
1990
+ defaultValue: any;
1991
+ onlySlot: boolean;
1992
+ controlled: boolean;
1993
+ disableApplyButton: boolean;
1994
+ disableSecondaryButton: boolean;
1995
+ fitContent: any;
1996
+ tooltipText: any;
1997
+ tooltipPosition: any;
1998
+ value: any;
1999
+ }>>>, {
2000
+ value: BentoFilterBarValue;
2001
+ disabled: boolean;
2002
+ fitContent: boolean;
2003
+ tooltipPosition: `${BentoTooltipPosition}`;
2004
+ tooltipText: string;
2005
+ appliedFiltersCount: string | number;
2006
+ buttonLabel: string;
2007
+ buttonSecondaryLabel: string;
2008
+ defaultValue: BentoFilterBarValue;
2009
+ onlySlot: boolean;
2010
+ controlled: boolean;
2011
+ disableApplyButton: boolean;
2012
+ disableSecondaryButton: boolean;
2013
+ }>, {
2014
+ default: (_: {}) => any;
2015
+ }>;
1831
2016
 
1832
- export declare type BentoBooleanFilterOptions = {
1833
- positiveOption?: BentoBooleanFilterOption;
1834
- negativeOption?: BentoBooleanFilterOption;
1835
- tooltipText?: string;
1836
- tooltipPosition?: BentoTooltipPosition | `${BentoTooltipPosition}`;
1837
- };
2017
+ /**
2018
+ * Defines the mandatory emits that need to be defined by the implementation of any filter
2019
+ *
2020
+ * @template CustomValue Defines the type of the value being passed to the emit. Same as the type set in `BentoBaseFilterProps`
2021
+ *
2022
+ * @example
2023
+ * Using the interface
2024
+ *
2025
+ * ```typescript
2026
+ * import { type BentoBaseFilterEvents } from '..'
2027
+ *
2028
+ * defineEmits<BentoBaseFilterEvents<string>>()
2029
+ * ```
2030
+ *
2031
+ * @example
2032
+ * Using the object
2033
+ *
2034
+ * ```typescript
2035
+ * import { BentoBaseFilterEvents } from '..'
2036
+ *
2037
+ * defineEmits(BentoBaseFilterEvents)
2038
+ * ```
2039
+ */
2040
+ export declare interface BentoBaseFilterEvents<CustomValue> {
2041
+ /**
2042
+ * Used in the All filters modal
2043
+ */
2044
+ (e: 'input', newFilterValue: CustomValue): void;
2045
+ /**
2046
+ * Used in the Filter Bar
2047
+ */
2048
+ (e: 'update', newFilterValue: CustomValue): void;
2049
+ }
1838
2050
 
1839
- export declare type BentoBooleanFilterValue = string | null;
2051
+ export declare const BentoBaseFilterEvents: string[];
1840
2052
 
1841
2053
  /**
1842
- * Button component for all the various types of bento buttons.
2054
+ * Defines the props used by `bento-base-filter` that must be implemented
2055
+ * on every filter as `defineProps`.
1843
2056
  *
1844
- * @example
1845
- * import { BentoButton } from '../..';
1846
- * import { CheckMarkIcon } from '@adyen/ui-assets-icons-16';
2057
+ * The interface can be extended if new values are required.
2058
+ * The object can be extended if new values are required.
1847
2059
  *
1848
- * export default {
1849
- * components: { BentoButton },
1850
- * template: `
1851
- * <bento-button
1852
- * disabled
1853
- * variant="secondary"
1854
- * >
1855
- * <template #iconLeft>
1856
- * <check-mark svg-title="checked" />
1857
- * </template>
2060
+ * @template CustomValue Defines the type of the `value` and `defaultValue` props.
2061
+ * @template CustomOptions Defines the type of the options used by the filter (default: `undefined`).
1858
2062
  *
1859
- * Button text
2063
+ * @example
2064
+ * Using the interface
1860
2065
  *
1861
- * <template #iconRight>
1862
- * <check-mark svg-title="checked" />
1863
- * </template>
1864
- * </bento-button>
1865
- * `,
2066
+ * ```typescript
2067
+ * import { type BentoBaseFilterProps } from '..'
2068
+ *
2069
+ * interface CustomOptions {
2070
+ * option: string;
1866
2071
  * }
2072
+ *
2073
+ * withDefaults(defineProps<BentoBaseFilterProps<string, CustomOptions>>(), {
2074
+ * defaultValue: undefined,
2075
+ * })
2076
+ * ```
2077
+ *
2078
+ * @example
2079
+ * Using the object
2080
+ *
2081
+ * ```typescript
2082
+ * import { BentoBaseFilterProps } from '..'
2083
+ *
2084
+ * defineProps({
2085
+ * ...BentoBaseFilterProps,
2086
+ * options: {
2087
+ * type: Object,
2088
+ * default: () => ({
2089
+ * option: null
2090
+ * })
2091
+ * }
2092
+ * })
2093
+ * ```
1867
2094
  */
1868
- export declare const BentoButton: __VLS_WithTemplateSlots_4<DefineComponent< {
1869
- /**
1870
- * Reduces sizing of button
1871
- */
1872
- condensed: {
1873
- type: BooleanConstructor;
1874
- default: boolean;
1875
- };
1876
- /**
1877
- * Displays button as critical
1878
- */
1879
- critical: {
1880
- type: BooleanConstructor;
1881
- default: boolean;
1882
- };
2095
+ export declare interface BentoBaseFilterProps<CustomValue, CustomOptions = undefined> {
2096
+ /**
2097
+ * Disables the filter from being interacted with.
2098
+ */
2099
+ disabled?: boolean;
2100
+ /**
2101
+ * Default value of the filter to reset to.
2102
+ */
2103
+ defaultValue?: CustomValue;
2104
+ /**
2105
+ * Filter name/key referencing the actual property name in the data set.
2106
+ * Should be unique per filter bar.
2107
+ */
2108
+ field: string;
2109
+ /**
2110
+ * Label text to be displayed
2111
+ */
2112
+ label: string;
2113
+ /**
2114
+ * Renders the base filter's slot content only - leaving out the button and the popover.
2115
+ * Used for the allFiltersModal component.
2116
+ */
2117
+ onlySlot?: boolean;
2118
+ /**
2119
+ * List of options that are needed to setup the filter
2120
+ * Available options:
2121
+ * - firstDayOfWeek: Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
2122
+ * - isDateDisabled: Indicate if a date should be disabled or not
2123
+ * - tooltipPosition: The position of the tooltip attached to the filter button
2124
+ * - tooltipText: The content of the tooltip attached to the filter button
2125
+ */
2126
+ options?: CustomOptions;
2127
+ /**
2128
+ * Current value of the filter
2129
+ */
2130
+ value: CustomValue;
2131
+ }
2132
+
2133
+ export declare const BentoBaseFilterProps: Readonly<{
2134
+ /**
2135
+ * Disables the filter from being interacted with.
2136
+ */
2137
+ disabled: {
2138
+ type: BooleanConstructor;
2139
+ default: boolean;
2140
+ };
2141
+ /**
2142
+ * Default value of the filter to reset to.
2143
+ */
2144
+ defaultValue: {
2145
+ type: (StringConstructor | BooleanConstructor | ObjectConstructor | DateConstructor | ArrayConstructor | NumberConstructor)[];
2146
+ default: any;
2147
+ };
2148
+ /**
2149
+ * Filter name/key referencing the actual property name in the data set.
2150
+ * Should be unique per filter bar.
2151
+ */
2152
+ field: {
2153
+ type: StringConstructor;
2154
+ required: boolean;
2155
+ };
2156
+ /**
2157
+ * Label text to be displayed
2158
+ */
2159
+ label: {
2160
+ type: StringConstructor;
2161
+ required: boolean;
2162
+ };
2163
+ /**
2164
+ * Renders the base filter's slot content only - leaving out the button and the popover.
2165
+ * Used for the allFiltersModal component.
2166
+ */
2167
+ onlySlot: {
2168
+ type: BooleanConstructor;
2169
+ default: boolean;
2170
+ };
2171
+ /**
2172
+ * The current value of the filter, used for v-model.
2173
+ */
2174
+ value: {
2175
+ type: (StringConstructor | BooleanConstructor | ObjectConstructor | DateConstructor | ArrayConstructor | NumberConstructor)[];
2176
+ default: any;
2177
+ };
2178
+ }>;
2179
+
2180
+ /**
2181
+ * Public
2182
+ */
2183
+ declare interface BentoBaseFilterProps_2<Value, Field> {
2184
+ /**
2185
+ * Total count of applied filters
2186
+ */
2187
+ appliedFiltersCount?: string | number;
2188
+ /**
2189
+ * Overrides the label of the popover visibility toggle button text.
2190
+ */
2191
+ buttonLabel?: string;
2192
+ /**
2193
+ * Sets the secondary label text of the popover visibility toggle button text.
2194
+ */
2195
+ buttonSecondaryLabel?: string;
2196
+ /**
2197
+ * Disables the filter from being interacted with.
2198
+ */
2199
+ disabled?: boolean;
2200
+ /**
2201
+ * Default value of the filter to reset to.
2202
+ */
2203
+ defaultValue?: Value;
2204
+ /**
2205
+ * Renders the base filter's slot content only - leaving out the button and the popover.
2206
+ * Used for the allFiltersModal component.
2207
+ */
2208
+ onlySlot?: boolean;
2209
+ /**
2210
+ * Allows to handle the controls (apply/clear) from outside
2211
+ * of the component
2212
+ */
2213
+ controlled?: boolean;
2214
+ /**
2215
+ * Disable the "apply" button
2216
+ */
2217
+ disableApplyButton?: boolean;
2218
+ /**
2219
+ * Disable the secondary button action.
2220
+ */
2221
+ disableSecondaryButton?: boolean;
2222
+ /**
2223
+ * Filter name/key referencing the actual property name in the data set.
2224
+ * Should be unique per filter bar.
2225
+ */
2226
+ field: Field;
2227
+ /**
2228
+ * Label text to be displayed
2229
+ */
2230
+ label: string;
2231
+ /**
2232
+ * Sets the size of the container to fit its content
2233
+ */
2234
+ fitContent?: boolean;
2235
+ /**
2236
+ * Attaches a `BentoTooltip` if present. Text showed in the tooltip on hover.
2237
+ */
2238
+ tooltipText?: string;
2239
+ /**
2240
+ * Position the tooltip should take if space is available.
2241
+ */
2242
+ tooltipPosition?: `${BentoTooltipPosition}`;
2243
+ /**
2244
+ * The current value of the filter, used for v-model.
2245
+ */
2246
+ value?: Value;
2247
+ }
2248
+
2249
+ export declare type BentoBooleanFilterOption = {
2250
+ label: string;
2251
+ value: string | boolean;
2252
+ };
2253
+
2254
+ export declare type BentoBooleanFilterOptions = {
2255
+ positiveOption?: BentoBooleanFilterOption;
2256
+ negativeOption?: BentoBooleanFilterOption;
2257
+ tooltipText?: string;
2258
+ tooltipPosition?: BentoTooltipPosition | `${BentoTooltipPosition}`;
2259
+ };
2260
+
2261
+ export declare type BentoBooleanFilterValue = string | null;
2262
+
2263
+ /**
2264
+ * Button component for all the various types of bento buttons.
2265
+ *
2266
+ * @example
2267
+ * import { BentoButton } from '../..';
2268
+ * import { CheckMarkIcon } from '@adyen/ui-assets-icons-16';
2269
+ *
2270
+ * export default {
2271
+ * components: { BentoButton },
2272
+ * template: `
2273
+ * <bento-button
2274
+ * disabled
2275
+ * variant="secondary"
2276
+ * >
2277
+ * <template #iconLeft>
2278
+ * <check-mark svg-title="checked" />
2279
+ * </template>
2280
+ *
2281
+ * Button text
2282
+ *
2283
+ * <template #iconRight>
2284
+ * <check-mark svg-title="checked" />
2285
+ * </template>
2286
+ * </bento-button>
2287
+ * `,
2288
+ * }
2289
+ */
2290
+ export declare const BentoButton: __VLS_WithTemplateSlots_4<DefineComponent< {
2291
+ /**
2292
+ * Reduces sizing of button
2293
+ */
2294
+ condensed: {
2295
+ type: BooleanConstructor;
2296
+ default: boolean;
2297
+ };
2298
+ /**
2299
+ * Displays button as critical
2300
+ */
2301
+ critical: {
2302
+ type: BooleanConstructor;
2303
+ default: boolean;
2304
+ };
1883
2305
  /**
1884
2306
  * Disables button functionality
1885
2307
  */
@@ -2172,7 +2594,7 @@ export declare enum BentoButtonVariant {
2172
2594
  * `
2173
2595
  * };
2174
2596
  */
2175
- export declare const BentoCard: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_10<{
2597
+ export declare const BentoCard: __VLS_WithTemplateSlots_10<DefineComponent<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_8<{
2176
2598
  /**
2177
2599
  * List of actions that will be used to render the buttons.
2178
2600
  * First element in the list will be rendered as "primary".
@@ -2247,7 +2669,7 @@ titleSize: BentoCardTitleSize;
2247
2669
  click: () => void;
2248
2670
  } & {
2249
2671
  expanded: (isExpanded: boolean) => void;
2250
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_10<{
2672
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_8<{
2251
2673
  /**
2252
2674
  * List of actions that will be used to render the buttons.
2253
2675
  * First element in the list will be rendered as "primary".
@@ -2324,9 +2746,9 @@ disabled: boolean;
2324
2746
  background: BentoCardBackground | `${BentoCardBackground}`;
2325
2747
  actions: BentoButtonActionsList;
2326
2748
  actionsLayout: BentoButtonActionsLayout | `${BentoButtonActionsLayout}`;
2749
+ clickable: boolean;
2327
2750
  closed: boolean;
2328
2751
  expandable: boolean;
2329
- clickable: boolean;
2330
2752
  }>, {
2331
2753
  image: (_: {}) => any;
2332
2754
  default: (_: {}) => any;
@@ -2483,7 +2905,7 @@ style: HTMLAttributes["style"];
2483
2905
  hasSlot: (name: string) => boolean;
2484
2906
  onChange: (newValue: BentoCheckboxType | BentoCheckboxGroupItems) => void;
2485
2907
  getAriaHidden: (attributes: HTMLAttributes) => boolean | "true" | "false";
2486
- t: (key: "required" | "optional" | "checkbox", values?: default_2.Values) => string;
2908
+ t: (key: "required" | "optional" | "checkbox", ...args: Array<any>) => string;
2487
2909
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoCheckboxEvent[], string, Readonly<ExtractPropTypes< {
2488
2910
  /**
2489
2911
  * @deprecated from version 2.0.0. Use the aria-label attribute instead.
@@ -2584,10 +3006,10 @@ tag: any;
2584
3006
  optional: boolean;
2585
3007
  readonly: boolean;
2586
3008
  ariaLabel: string;
2587
- errorMessage: string;
2588
3009
  indeterminate: boolean;
2589
3010
  hasError: boolean;
2590
3011
  modelValue: BentoCheckboxType | BentoCheckboxGroupItems;
3012
+ errorMessage: string;
2591
3013
  }>;
2592
3014
 
2593
3015
  export declare enum BentoCheckboxEvent {
@@ -2869,11 +3291,11 @@ required: boolean;
2869
3291
  disabled: boolean;
2870
3292
  optional: boolean;
2871
3293
  readonly: boolean;
2872
- tooltipText: string;
2873
- hideLabel: boolean;
2874
- errorMessage: string;
2875
3294
  hasError: boolean;
2876
3295
  modelValue: (string | number)[];
3296
+ errorMessage: string;
3297
+ tooltipText: string;
3298
+ hideLabel: boolean;
2877
3299
  formId: string;
2878
3300
  }>;
2879
3301
 
@@ -2930,7 +3352,7 @@ export declare type BentoCheckboxType = boolean | BentoMultiCheckboxType;
2930
3352
  * `
2931
3353
  * }
2932
3354
  */
2933
- export declare const BentoChip: DefineComponent<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BentoChipProps>, {
3355
+ export declare const BentoChip: DefineComponent<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BentoChipProps>, {
2934
3356
  disabled: boolean;
2935
3357
  readonly: boolean;
2936
3358
  error: boolean;
@@ -2938,7 +3360,7 @@ condensed: boolean;
2938
3360
  characterLimit: any;
2939
3361
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
2940
3362
  click: () => void;
2941
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BentoChipProps>, {
3363
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BentoChipProps>, {
2942
3364
  disabled: boolean;
2943
3365
  readonly: boolean;
2944
3366
  error: boolean;
@@ -3020,7 +3442,7 @@ export declare const BentoClickOutsideDirective: {
3020
3442
  * `
3021
3443
  * }
3022
3444
  */
3023
- export declare const BentoCodeSnippet: __VLS_WithTemplateSlots_13<DefineComponent<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BentoCodeSnippetProps>, {
3445
+ export declare const BentoCodeSnippet: __VLS_WithTemplateSlots_12<DefineComponent<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<BentoCodeSnippetProps>, {
3024
3446
  actionable: boolean;
3025
3447
  actionableText: any;
3026
3448
  content: string;
@@ -3030,7 +3452,7 @@ lang: BentoCodeSnippetSupportedLanguage;
3030
3452
  langLabel: any;
3031
3453
  loading: boolean;
3032
3454
  variant: BentoCodeSnippetVariant;
3033
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoCodeSnippetEvent[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_16<__VLS_TypePropsToRuntimeProps_16<BentoCodeSnippetProps>, {
3455
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoCodeSnippetEvent[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<BentoCodeSnippetProps>, {
3034
3456
  actionable: boolean;
3035
3457
  actionableText: any;
3036
3458
  content: string;
@@ -3148,7 +3570,7 @@ declare type BentoColumnCellAction = OmitStrict<BentoButtonActionObject, 'varian
3148
3570
  event?: BentoColumnCellActionEvent;
3149
3571
  isShort?: true;
3150
3572
  variant?: BentoColumnCellActionVariant;
3151
- menuData?: BentoColumnCellActionMenuItem[];
3573
+ menuData?: Array<BentoColumnCellActionMenuItem>;
3152
3574
  getCopyData?: (rowDataItem: BentoDatagridDataItem, columnKey: string) => string;
3153
3575
  };
3154
3576
 
@@ -3162,7 +3584,7 @@ declare type BentoColumnCellActionMenuItem = {
3162
3584
  event?: BentoColumnCellActionEvent;
3163
3585
  } & OmitStrict<BentoMenuItem, 'handler'>;
3164
3586
 
3165
- declare type BentoColumnCellActions = BentoColumnCellAction[];
3587
+ declare type BentoColumnCellActions = Array<BentoColumnCellAction>;
3166
3588
 
3167
3589
  declare type BentoColumnCellActionsByCellDataFn = (rowDataItem: BentoDatagridDataItem, columnKey: string) => BentoColumnCellActions;
3168
3590
 
@@ -3185,7 +3607,7 @@ export declare interface BentoColumnWidthOverridesLookup {
3185
3607
  * A component to display a country's label.
3186
3608
  * The label comes in four variates: iso code, country name, phone number code or capital city.
3187
3609
  *
3188
- * @example
3610
+ * @usage
3189
3611
  * import { BentoCountry, BentoCountryCode } from '../..';
3190
3612
  *
3191
3613
  * export default {
@@ -3195,64 +3617,18 @@ export declare interface BentoColumnWidthOverridesLookup {
3195
3617
  * `
3196
3618
  * }
3197
3619
  */
3198
- export declare const BentoCountry: DefineComponent< {
3199
- /**
3200
- * Two character country code ([ISO 3166-1 alpha-2 format](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3201
- */
3202
- code: {
3203
- type: PropType<BentoCountryCode | `${BentoCountryCode}`>;
3204
- default: BentoCountryCode;
3205
- validator: (value: BentoCountryCode) => boolean;
3206
- };
3207
- /**
3208
- * Custom label text.
3209
- */
3210
- label: {
3211
- type: StringConstructor;
3212
- default: any;
3213
- };
3214
- /**
3215
- * Which label variant to display.
3216
- * @values iso, name, phone_code, capital
3217
- */
3218
- variant: {
3219
- type: PropType<BentoCountryVariant | `${BentoCountryVariant}`>;
3220
- default: BentoCountryVariant;
3221
- validator: (value: BentoCountryVariant) => boolean;
3222
- };
3223
- }, {
3224
- countryName: ComputedRef<string>;
3225
- countryLabel: Ref<string>;
3226
- isSummaryGridLayout: boolean;
3227
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
3228
- /**
3229
- * Two character country code ([ISO 3166-1 alpha-2 format](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3230
- */
3231
- code: {
3232
- type: PropType<BentoCountryCode | `${BentoCountryCode}`>;
3233
- default: BentoCountryCode;
3234
- validator: (value: BentoCountryCode) => boolean;
3235
- };
3236
- /**
3237
- * Custom label text.
3238
- */
3239
- label: {
3240
- type: StringConstructor;
3241
- default: any;
3242
- };
3243
- /**
3244
- * Which label variant to display.
3245
- * @values iso, name, phone_code, capital
3246
- */
3247
- variant: {
3248
- type: PropType<BentoCountryVariant | `${BentoCountryVariant}`>;
3249
- default: BentoCountryVariant;
3250
- validator: (value: BentoCountryVariant) => boolean;
3251
- };
3252
- }>>, {
3253
- code: "MM" | "BD" | "BE" | "BF" | "BG" | "BA" | "BB" | "WF" | "BL" | "BM" | "BN" | "BO" | "BH" | "BI" | "BJ" | "BT" | "JM" | "BV" | "BW" | "WS" | "BQ" | "BR" | "BS" | "JE" | "BY" | "BZ" | "RU" | "RW" | "RS" | "TL" | "RE" | "TM" | "TJ" | "RO" | "TK" | "GW" | "GU" | "GT" | "GS" | "GR" | "GQ" | "GP" | "JP" | "GY" | "GG" | "GF" | "GE" | "GD" | "GB" | "GA" | "SV" | "GN" | "GM" | "GL" | "GI" | "GH" | "OM" | "TN" | "JO" | "HR" | "HT" | "HU" | "HK" | "HN" | "HM" | "VE" | "PR" | "PS" | "PW" | "PT" | "SJ" | "PY" | "IQ" | "PA" | "PF" | "PG" | "PE" | "PK" | "PH" | "PN" | "PL" | "PM" | "ZM" | "EH" | "EE" | "EG" | "ZA" | "EC" | "IT" | "VN" | "SB" | "ET" | "SO" | "ZW" | "SA" | "ES" | "ER" | "ME" | "MD" | "MG" | "MF" | "MA" | "MC" | "UZ" | "ML" | "MO" | "MN" | "MH" | "MK" | "MU" | "MT" | "MW" | "MV" | "MQ" | "MP" | "MS" | "MR" | "IM" | "UG" | "TZ" | "MY" | "MX" | "IL" | "FR" | "IO" | "SH" | "FI" | "FJ" | "FK" | "FM" | "FO" | "NI" | "NL" | "NO" | "NA" | "VU" | "NC" | "NE" | "NF" | "NG" | "NZ" | "NP" | "NR" | "NU" | "CK" | "XK" | "CI" | "CH" | "CO" | "CN" | "CM" | "CL" | "CC" | "CA" | "CG" | "CF" | "CD" | "CZ" | "CY" | "CX" | "CR" | "CW" | "CV" | "CU" | "SZ" | "SY" | "SX" | "KG" | "KE" | "SS" | "SR" | "KI" | "KH" | "KN" | "KM" | "ST" | "SK" | "KR" | "SI" | "KP" | "KW" | "SN" | "SM" | "SL" | "SC" | "KZ" | "KY" | "SG" | "SE" | "SD" | "DO" | "DM" | "DJ" | "DK" | "VG" | "DE" | "YE" | "DZ" | "US" | "UY" | "YT" | "UM" | "LB" | "LC" | "LA" | "TV" | "TW" | "TT" | "TR" | "LK" | "LI" | "LV" | "TO" | "LT" | "LU" | "LR" | "LS" | "TH" | "TF" | "TG" | "TD" | "TC" | "LY" | "VA" | "VC" | "AE" | "AD" | "AG" | "AF" | "AI" | "VI" | "IS" | "IR" | "AM" | "AL" | "AO" | "AQ" | "AS" | "AR" | "AU" | "AT" | "AW" | "IN" | "AX" | "AZ" | "IE" | "ID" | "UA" | "QA" | "MZ" | "ZZ" | BentoCountryCode;
3620
+ export declare const BentoCountry: DefineComponent<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<BentoCountryProps>, {
3621
+ code: BentoCountryCode;
3622
+ label: any;
3623
+ variant: BentoCountryVariant;
3624
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<BentoCountryProps>, {
3625
+ code: BentoCountryCode;
3626
+ label: any;
3627
+ variant: BentoCountryVariant;
3628
+ }>>>, {
3629
+ code: BentoCountryCode | `${BentoCountryCode}`;
3254
3630
  label: string;
3255
- variant: "name" | "iso" | "phone_code" | "capital" | "custom" | BentoCountryVariant;
3631
+ variant: BentoCountryVariant | `${BentoCountryVariant}`;
3256
3632
  }>;
3257
3633
 
3258
3634
  export declare enum BentoCountryCode {
@@ -3515,7 +3891,23 @@ export declare type BentoCountryListboxOptionItem = OmitStrict<BentoListboxOptio
3515
3891
  label?: string;
3516
3892
  };
3517
3893
 
3518
- export declare type BentoCountryListboxOptions = BentoCountryListboxOptionItem[];
3894
+ export declare type BentoCountryListboxOptions = Array<BentoCountryListboxOptionItem>;
3895
+
3896
+ export declare interface BentoCountryProps {
3897
+ /**
3898
+ * Two character country code ([ISO 3166-1 alpha-2 format](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)).
3899
+ */
3900
+ code?: BentoCountryCode | `${BentoCountryCode}`;
3901
+ /**
3902
+ * Custom label text.
3903
+ */
3904
+ label?: string;
3905
+ /**
3906
+ * Which label variant to display.
3907
+ * @values iso, name, phone_code, capital
3908
+ */
3909
+ variant?: BentoCountryVariant | `${BentoCountryVariant}`;
3910
+ }
3519
3911
 
3520
3912
  /**
3521
3913
  * @deprecated for usage with properties since version 2.0. Use the string literal instead.
@@ -3545,13 +3937,13 @@ export declare enum BentoCountryVariant {
3545
3937
  * `
3546
3938
  * }
3547
3939
  */
3548
- export declare const BentoCurrency: DefineComponent<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<BentoCurrencyProps>, {
3940
+ export declare const BentoCurrency: DefineComponent<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<BentoCurrencyProps>, {
3549
3941
  currency: BentoCurrencyISOCode;
3550
3942
  disableTypography: boolean;
3551
3943
  majorUnits: boolean;
3552
3944
  value: any;
3553
3945
  currencySign: string;
3554
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_17<__VLS_TypePropsToRuntimeProps_17<BentoCurrencyProps>, {
3946
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<BentoCurrencyProps>, {
3555
3947
  currency: BentoCurrencyISOCode;
3556
3948
  disableTypography: boolean;
3557
3949
  majorUnits: boolean;
@@ -3560,8 +3952,8 @@ currencySign: string;
3560
3952
  }>>>, {
3561
3953
  value: number;
3562
3954
  disableTypography: boolean;
3563
- currency: BentoCurrencyISOCode | `${BentoCurrencyISOCode}`;
3564
3955
  currencySign: Intl.NumberFormatOptions["currencySign"];
3956
+ currency: BentoCurrencyISOCode | `${BentoCurrencyISOCode}`;
3565
3957
  majorUnits: boolean;
3566
3958
  }>;
3567
3959
 
@@ -3741,7 +4133,7 @@ export declare type BentoCurrencyListboxOptionItem = OmitStrict<BentoListboxOpti
3741
4133
  value: BentoCurrencyISOCode | `${BentoCurrencyISOCode}`;
3742
4134
  };
3743
4135
 
3744
- export declare type BentoCurrencyListboxOptions = BentoCurrencyListboxOptionItem[];
4136
+ export declare type BentoCurrencyListboxOptions = Array<BentoCurrencyListboxOptionItem>;
3745
4137
 
3746
4138
  export declare interface BentoCurrencyProps {
3747
4139
  /**
@@ -3798,7 +4190,7 @@ export declare interface BentoCurrencyProps {
3798
4190
  * `
3799
4191
  * }
3800
4192
  */
3801
- export declare const BentoDashboardSection: __VLS_WithTemplateSlots_53<DefineComponent<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_55<{
4193
+ export declare const BentoDashboardSection: __VLS_WithTemplateSlots_55<DefineComponent<__VLS_WithDefaults_59<__VLS_TypePropsToRuntimeProps_62<{
3802
4194
  /**
3803
4195
  * The header of the section
3804
4196
  */
@@ -3809,7 +4201,7 @@ header: BentoDashboardTemplateHeader;
3809
4201
  halfWidth?: boolean;
3810
4202
  }>, {
3811
4203
  halfWidth: boolean;
3812
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_55<{
4204
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_59<__VLS_TypePropsToRuntimeProps_62<{
3813
4205
  /**
3814
4206
  * The header of the section
3815
4207
  */
@@ -3857,7 +4249,7 @@ halfWidth: boolean;
3857
4249
  * `
3858
4250
  * }
3859
4251
  */
3860
- export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_52<DefineComponent<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_54<{
4252
+ export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_54<DefineComponent<__VLS_WithDefaults_58<__VLS_TypePropsToRuntimeProps_61<{
3861
4253
  /**
3862
4254
  * The header that goes to the top of the template
3863
4255
  */
@@ -3880,7 +4272,7 @@ stickyFilters?: boolean;
3880
4272
  tabs: any;
3881
4273
  stickyTabs: boolean;
3882
4274
  stickyFilters: boolean;
3883
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_54<{
4275
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_58<__VLS_TypePropsToRuntimeProps_61<{
3884
4276
  /**
3885
4277
  * The header that goes to the top of the template
3886
4278
  */
@@ -3919,7 +4311,7 @@ export declare type BentoDashboardTemplateTab = InstanceType<typeof BentoTab>['$
3919
4311
 
3920
4312
  export declare type BentoDashboardTemplateTabs = {
3921
4313
  activeTabIndex?: number;
3922
- tabs: BentoDashboardTemplateTab[];
4314
+ tabs: Array<BentoDashboardTemplateTab>;
3923
4315
  };
3924
4316
 
3925
4317
  /**
@@ -4068,7 +4460,7 @@ default: boolean;
4068
4460
  * Column definitions using 'key' to relate to data object.
4069
4461
  */
4070
4462
  columns: {
4071
- type: PropType<BentoColumn[]>;
4463
+ type: PropType<Array<BentoColumn>>;
4072
4464
  required: true;
4073
4465
  };
4074
4466
  /**
@@ -4201,7 +4593,7 @@ default: boolean;
4201
4593
  * Highlighted items
4202
4594
  */
4203
4595
  highlightedRows: {
4204
- type: PropType<BentoDatagridDataItemId[]>;
4596
+ type: PropType<Array<BentoDatagridDataItemId>>;
4205
4597
  default: () => any[];
4206
4598
  };
4207
4599
  /**
@@ -4253,6 +4645,7 @@ default: any;
4253
4645
  };
4254
4646
  /**
4255
4647
  * Adds an extra option when selecting all items that allows user to select items in other pages too.
4648
+ * Needs pagination.totalCount to be set.
4256
4649
  */
4257
4650
  selectableAcrossPages: {
4258
4651
  type: BooleanConstructor;
@@ -4299,7 +4692,7 @@ default: boolean;
4299
4692
  * Selected items
4300
4693
  */
4301
4694
  selection: {
4302
- type: PropType<BentoDatagridDataItemId[]>;
4695
+ type: PropType<Array<BentoDatagridDataItemId>>;
4303
4696
  default: () => any[];
4304
4697
  };
4305
4698
  /**
@@ -4321,7 +4714,7 @@ default: (_item: BentoDatagridDataItem) => true;
4321
4714
  * It does make sure the currently sorted column has a more visible sort icon, and the sort icon points in the right direction.
4322
4715
  */
4323
4716
  sortBy: {
4324
- type: PropType<BentoDatagridSortByColumn[]>;
4717
+ type: PropType<Array<BentoDatagridSortByColumn>>;
4325
4718
  default: () => any[];
4326
4719
  };
4327
4720
  /**
@@ -4387,7 +4780,7 @@ default: boolean;
4387
4780
  * Column definitions using 'key' to relate to data object.
4388
4781
  */
4389
4782
  columns: {
4390
- type: PropType<BentoColumn[]>;
4783
+ type: PropType<Array<BentoColumn>>;
4391
4784
  required: true;
4392
4785
  };
4393
4786
  /**
@@ -4520,7 +4913,7 @@ default: boolean;
4520
4913
  * Highlighted items
4521
4914
  */
4522
4915
  highlightedRows: {
4523
- type: PropType<BentoDatagridDataItemId[]>;
4916
+ type: PropType<Array<BentoDatagridDataItemId>>;
4524
4917
  default: () => any[];
4525
4918
  };
4526
4919
  /**
@@ -4572,6 +4965,7 @@ default: any;
4572
4965
  };
4573
4966
  /**
4574
4967
  * Adds an extra option when selecting all items that allows user to select items in other pages too.
4968
+ * Needs pagination.totalCount to be set.
4575
4969
  */
4576
4970
  selectableAcrossPages: {
4577
4971
  type: BooleanConstructor;
@@ -4618,7 +5012,7 @@ default: boolean;
4618
5012
  * Selected items
4619
5013
  */
4620
5014
  selection: {
4621
- type: PropType<BentoDatagridDataItemId[]>;
5015
+ type: PropType<Array<BentoDatagridDataItemId>>;
4622
5016
  default: () => any[];
4623
5017
  };
4624
5018
  /**
@@ -4640,7 +5034,7 @@ default: (_item: BentoDatagridDataItem) => true;
4640
5034
  * It does make sure the currently sorted column has a more visible sort icon, and the sort icon points in the right direction.
4641
5035
  */
4642
5036
  sortBy: {
4643
- type: PropType<BentoDatagridSortByColumn[]>;
5037
+ type: PropType<Array<BentoDatagridSortByColumn>>;
4644
5038
  default: () => any[];
4645
5039
  };
4646
5040
  /**
@@ -4720,17 +5114,17 @@ export declare enum BentoDatagridAriaSortValue {
4720
5114
  NONE = "none"
4721
5115
  }
4722
5116
 
4723
- export declare type BentoDatagridData = BentoDatagridDataItem[];
5117
+ export declare type BentoDatagridData = Array<BentoDatagridDataItem>;
4724
5118
 
4725
5119
  export declare interface BentoDatagridDataItem {
4726
5120
  id?: BentoDatagridDataItemId;
4727
- children?: BentoDatagridDataItem[];
5121
+ children?: Array<BentoDatagridDataItem>;
4728
5122
  [fieldName: string]: unknown;
4729
5123
  }
4730
5124
 
4731
5125
  export declare type BentoDatagridDataItemId = string | number;
4732
5126
 
4733
- export declare type BentoDatagridEmptyStateProps = InstanceType<typeof BentoEmptyState>['$props'];
5127
+ export declare type BentoDatagridEmptyStateProps = BentoEmptyStateProps;
4734
5128
 
4735
5129
  export declare enum BentoDatagridEvent {
4736
5130
  COLUMNS = "columns",
@@ -4767,7 +5161,7 @@ declare type BentoDataGridRowActionsFn = (rowDataItem: BentoDatagridDataItem) =>
4767
5161
 
4768
5162
  declare type BentoDataGridRowActionsProp = BentoColumnCellActions | BentoDataGridRowActionsFn;
4769
5163
 
4770
- export declare type BentoDatagridSelection = BentoDatagridDataItemId[];
5164
+ export declare type BentoDatagridSelection = Array<BentoDatagridDataItemId>;
4771
5165
 
4772
5166
  export declare type BentoDatagridShouldShowNestedContentFn = (item: BentoDatagridDataItem) => boolean;
4773
5167
 
@@ -4796,7 +5190,7 @@ export declare enum BentoDatagridSortDirection {
4796
5190
  * `
4797
5191
  * }
4798
5192
  */
4799
- export declare const BentoDataGridStaticIcon: DefineComponent<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_8<{
5193
+ export declare const BentoDataGridStaticIcon: DefineComponent<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_6<{
4800
5194
  /**
4801
5195
  * Renderes the icon with color.
4802
5196
  */
@@ -4812,7 +5206,7 @@ variant?: BentoDataGridStaticIconVariant;
4812
5206
  }>, {
4813
5207
  variant: string;
4814
5208
  colored: boolean;
4815
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_8<__VLS_TypePropsToRuntimeProps_8<{
5209
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_6<{
4816
5210
  /**
4817
5211
  * Renderes the icon with color.
4818
5212
  */
@@ -4862,11 +5256,11 @@ export declare enum BentoDatagridStyleState {
4862
5256
  * `
4863
5257
  * }
4864
5258
  */
4865
- export declare const BentoDataGridSummaryCell: DefineComponent<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<BentoDataGridSummaryCellProps>, {
5259
+ export declare const BentoDataGridSummaryCell: DefineComponent<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<BentoDataGridSummaryCellProps>, {
4866
5260
  dashedUnderline: () => {};
4867
5261
  searchTerm: string;
4868
5262
  tooltipText: any;
4869
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<BentoDataGridSummaryCellProps>, {
5263
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<BentoDataGridSummaryCellProps>, {
4870
5264
  dashedUnderline: () => {};
4871
5265
  searchTerm: string;
4872
5266
  tooltipText: any;
@@ -4886,7 +5280,7 @@ declare interface BentoDataGridSummaryCellProps {
4886
5280
  * An array of strings to display. If there is only one item, it will be displayed as plain text.
4887
5281
  * If there are multiple items, they will be displayed in a popover.
4888
5282
  */
4889
- items: string[];
5283
+ items: Array<string>;
4890
5284
  /**
4891
5285
  * Props to pass to the underlying `BentoDashedUnderline` component, allowing for customization of the popover.
4892
5286
  */
@@ -4924,7 +5318,7 @@ declare interface BentoDataGridSummaryCellProps {
4924
5318
  * `
4925
5319
  * }
4926
5320
  */
4927
- export declare const BentoDataGridTemplate: __VLS_WithTemplateSlots_54<DefineComponent< {
5321
+ export declare const BentoDataGridTemplate: __VLS_WithTemplateSlots_56<DefineComponent< {
4928
5322
  /**
4929
5323
  * The header that goes to the top of the template
4930
5324
  */
@@ -5127,7 +5521,7 @@ export declare type BentoDataGridTemplateTab = InstanceType<typeof BentoTab>['$p
5127
5521
 
5128
5522
  export declare type BentoDataGridTemplateTabs = {
5129
5523
  activeTabIndex?: number;
5130
- tabs: BentoDataGridTemplateTab[];
5524
+ tabs: Array<BentoDataGridTemplateTab>;
5131
5525
  };
5132
5526
 
5133
5527
  /**
@@ -5143,11 +5537,11 @@ export declare type BentoDataGridTemplateTabs = {
5143
5537
  * `
5144
5538
  * }
5145
5539
  */
5146
- export declare const BentoDate: DefineComponent<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<BentoDateProps>, {
5540
+ export declare const BentoDate: DefineComponent<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<BentoDateProps>, {
5147
5541
  date: any;
5148
5542
  format: BentoDateFormat;
5149
5543
  disableTypography: boolean;
5150
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_18<__VLS_TypePropsToRuntimeProps_18<BentoDateProps>, {
5544
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<BentoDateProps>, {
5151
5545
  date: any;
5152
5546
  format: BentoDateFormat;
5153
5547
  disableTypography: boolean;
@@ -5214,271 +5608,100 @@ export declare enum BentoDateFormat {
5214
5608
  * }
5215
5609
  * }
5216
5610
  */
5217
- export declare const BentoDatePicker: DefineComponent< {
5218
- /**
5219
- * Descriptive supporting text visbile underneath the dropdown.
5220
- */
5221
- description: {
5222
- type: StringConstructor;
5223
- default: any;
5224
- };
5225
- /**
5226
- * Disables dropdown functionality.
5227
- */
5228
- disabled: {
5229
- type: BooleanConstructor;
5230
- default: boolean;
5231
- };
5232
- /**
5233
- * Displays component in an error state with an error message
5234
- */
5235
- errorMessage: {
5236
- type: StringConstructor;
5237
- default: any;
5238
- };
5239
- /**
5240
- * Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
5241
- */
5242
- firstDayOfWeek: {
5243
- type: PropType<CalendarMonthFirstDayOfWeek>;
5244
- default: CalendarMonthFirstDayOfWeek;
5245
- validator: (value: CalendarMonthFirstDayOfWeek) => boolean;
5246
- };
5247
- /**
5248
- * Indicate if a date should be disabled or not
5249
- */
5250
- isDateDisabled: {
5251
- type: PropType<CalendarMonthIsDateDisabled>;
5252
- default: any;
5253
- };
5254
- /**
5255
- * Sets a minimum limit for selectable dates - dates before `min` will not be selectable
5256
- */
5257
- min: {
5258
- type: DateConstructor;
5259
- default: any;
5260
- };
5261
- /**
5262
- * Sets a maximum limit for selectable dates - dates after `max` will not be selectable
5263
- */
5264
- max: {
5265
- type: DateConstructor;
5266
- default: any;
5267
- };
5268
- /**
5269
- * Text that is displayed as a label above the element.
5270
- */
5271
- label: {
5272
- type: StringConstructor;
5273
- default: any;
5274
- };
5275
- /**
5276
- * Highlights the dropdown is optional.
5277
- */
5278
- optional: {
5279
- type: BooleanConstructor;
5280
- default: boolean;
5281
- };
5282
- /**
5283
- * The Boolean readonly property, when present, makes the element not mutable, meaning the user can not edit the date picker.
5284
- */
5285
- readonly: {
5286
- type: BooleanConstructor;
5287
- default: boolean;
5288
- };
5289
- /**
5290
- * Highlights the dropdown is required.
5291
- */
5292
- required: {
5293
- type: BooleanConstructor;
5294
- default: boolean;
5295
- };
5296
- /**
5297
- * Adds a info icon next to the label to display the passed tooltip message.
5298
- */
5299
- tooltipText: {
5300
- type: StringConstructor;
5301
- default: any;
5302
- };
5303
- /**
5304
- * Selected date
5305
- */
5306
- value: {
5307
- type: PropType<BentoDatePickerValue>;
5308
- default: any;
5309
- };
5310
- /**
5311
- * The type of calendar to display. Defaults to showing days.
5312
- */
5313
- variant: {
5314
- type: PropType<`${CalendarVariant}`>;
5315
- default: any;
5316
- };
5317
- /**
5318
- * Default start date for the calendar pane
5319
- */
5320
- defaultDisplayMonth: {
5321
- type: StringConstructor;
5322
- default: any;
5323
- validator: (value: string) => boolean;
5324
- };
5325
- }, {
5326
- inputContainerRef: any;
5327
- calendarContainerRef: any;
5328
- dateDisplayValue: ComputedRef<string>;
5329
- datePickerContainerId: string;
5330
- descriptionConditionalClasses: ComputedRef< {
5331
- 'b-date-picker__description--error': string;
5332
- }>;
5333
- isDateIncorrect: Ref<boolean>;
5334
- isDatePickerOpen: Ref<boolean>;
5335
- isReadOnly: ComputedRef<boolean>;
5336
- dateErrorText: ComputedRef<string>;
5337
- labelId: string;
5338
- descriptionId: string;
5339
- errorId: string;
5340
- dateErrorId: string;
5341
- popoverAriaLabel: ComputedRef<string>;
5342
- ariaDescribedBy: ComputedRef<string>;
5343
- textInputValue: Ref<string>;
5344
- initialFocusOnDatePickerOpen: any;
5345
- closeDatePicker: () => void;
5346
- clearDatePickerValue: () => Promise<void>;
5347
- onDateSelected: (selectedDate: Date) => void;
5348
- openDatePicker: () => void;
5349
- onDateKeyDown: (event: KeyboardEvent) => void;
5350
- onDateInputChange: (stringDate: string) => void;
5351
- onSpaceBarOrEnter: (event: KeyboardEvent) => Promise<void>;
5352
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoDatePickerEvent[], string, Readonly<ExtractPropTypes< {
5353
- /**
5354
- * Descriptive supporting text visbile underneath the dropdown.
5355
- */
5356
- description: {
5357
- type: StringConstructor;
5358
- default: any;
5359
- };
5360
- /**
5361
- * Disables dropdown functionality.
5362
- */
5363
- disabled: {
5364
- type: BooleanConstructor;
5365
- default: boolean;
5366
- };
5367
- /**
5368
- * Displays component in an error state with an error message
5369
- */
5370
- errorMessage: {
5371
- type: StringConstructor;
5372
- default: any;
5373
- };
5374
- /**
5375
- * Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
5376
- */
5377
- firstDayOfWeek: {
5378
- type: PropType<CalendarMonthFirstDayOfWeek>;
5379
- default: CalendarMonthFirstDayOfWeek;
5380
- validator: (value: CalendarMonthFirstDayOfWeek) => boolean;
5381
- };
5382
- /**
5383
- * Indicate if a date should be disabled or not
5384
- */
5385
- isDateDisabled: {
5386
- type: PropType<CalendarMonthIsDateDisabled>;
5387
- default: any;
5388
- };
5389
- /**
5390
- * Sets a minimum limit for selectable dates - dates before `min` will not be selectable
5391
- */
5392
- min: {
5393
- type: DateConstructor;
5394
- default: any;
5395
- };
5396
- /**
5397
- * Sets a maximum limit for selectable dates - dates after `max` will not be selectable
5398
- */
5399
- max: {
5400
- type: DateConstructor;
5401
- default: any;
5402
- };
5403
- /**
5404
- * Text that is displayed as a label above the element.
5405
- */
5406
- label: {
5407
- type: StringConstructor;
5408
- default: any;
5409
- };
5410
- /**
5411
- * Highlights the dropdown is optional.
5412
- */
5413
- optional: {
5414
- type: BooleanConstructor;
5415
- default: boolean;
5416
- };
5417
- /**
5418
- * The Boolean readonly property, when present, makes the element not mutable, meaning the user can not edit the date picker.
5419
- */
5420
- readonly: {
5421
- type: BooleanConstructor;
5422
- default: boolean;
5423
- };
5424
- /**
5425
- * Highlights the dropdown is required.
5426
- */
5427
- required: {
5428
- type: BooleanConstructor;
5429
- default: boolean;
5430
- };
5431
- /**
5432
- * Adds a info icon next to the label to display the passed tooltip message.
5433
- */
5434
- tooltipText: {
5435
- type: StringConstructor;
5436
- default: any;
5437
- };
5438
- /**
5439
- * Selected date
5440
- */
5441
- value: {
5442
- type: PropType<BentoDatePickerValue>;
5443
- default: any;
5444
- };
5445
- /**
5446
- * The type of calendar to display. Defaults to showing days.
5447
- */
5448
- variant: {
5449
- type: PropType<`${CalendarVariant}`>;
5450
- default: any;
5451
- };
5452
- /**
5453
- * Default start date for the calendar pane
5454
- */
5455
- defaultDisplayMonth: {
5456
- type: StringConstructor;
5457
- default: any;
5458
- validator: (value: string) => boolean;
5459
- };
5460
- }>>, {
5461
- value: Date;
5611
+ export declare const BentoDatePicker: DefineComponent<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<BentoDatePickerProps>, {
5612
+ defaultDisplayMonth: any;
5613
+ description: any;
5614
+ disabled: boolean;
5615
+ errorMessage: any;
5616
+ firstDayOfWeek: number;
5617
+ isDateDisabled: any;
5618
+ label: any;
5619
+ max: any;
5620
+ min: any;
5621
+ optional: boolean;
5622
+ placeholder: any;
5623
+ readonly: boolean;
5624
+ required: boolean;
5625
+ tooltipText: any;
5626
+ value: any;
5627
+ variant: any;
5628
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoDatePickerEvent[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_9<__VLS_TypePropsToRuntimeProps_9<BentoDatePickerProps>, {
5629
+ defaultDisplayMonth: any;
5630
+ description: any;
5631
+ disabled: boolean;
5632
+ errorMessage: any;
5633
+ firstDayOfWeek: number;
5634
+ isDateDisabled: any;
5635
+ label: any;
5636
+ max: any;
5637
+ min: any;
5638
+ optional: boolean;
5639
+ placeholder: any;
5640
+ readonly: boolean;
5641
+ required: boolean;
5642
+ tooltipText: any;
5643
+ value: any;
5644
+ variant: any;
5645
+ }>>>, {
5646
+ value: BentoDatePickerValue | null;
5462
5647
  description: string;
5463
5648
  label: string;
5464
- variant: "day" | "month";
5649
+ variant: `${CalendarVariant}`;
5465
5650
  required: boolean;
5466
5651
  disabled: boolean;
5467
5652
  optional: boolean;
5468
5653
  readonly: boolean;
5654
+ errorMessage: string;
5655
+ tooltipText: string;
5469
5656
  isDateDisabled: CalendarMonthIsDateDisabled;
5470
5657
  firstDayOfWeek: CalendarMonthFirstDayOfWeek;
5471
- min: Date;
5472
- max: Date;
5473
- defaultDisplayMonth: string;
5474
- tooltipText: string;
5475
- errorMessage: string;
5658
+ min: Date | null;
5659
+ max: Date | null;
5660
+ defaultDisplayMonth: string | null;
5661
+ placeholder: string;
5476
5662
  }>;
5477
5663
 
5478
5664
  export declare enum BentoDatePickerEvent {
5479
5665
  INPUT = "input"
5480
5666
  }
5481
5667
 
5668
+ export declare interface BentoDatePickerProps extends FormField {
5669
+ /**
5670
+ * Default start date for the calendar pane.
5671
+ * Expected format: YYYY-MM-DD
5672
+ * @default null
5673
+ */
5674
+ defaultDisplayMonth?: string | null;
5675
+ /**
5676
+ * Allows you to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
5677
+ * @default 1
5678
+ */
5679
+ firstDayOfWeek?: CalendarMonthFirstDayOfWeek;
5680
+ /**
5681
+ * Indicate if a date should be disabled or not
5682
+ */
5683
+ isDateDisabled?: CalendarMonthIsDateDisabled;
5684
+ /**
5685
+ * Sets a minimum limit for selectable dates - dates before `min` will not be selectable
5686
+ * @default null
5687
+ */
5688
+ min?: Date | null;
5689
+ /**
5690
+ * Sets a maximum limit for selectable dates - dates after `max` will not be selectable
5691
+ * @default null
5692
+ */
5693
+ max?: Date | null;
5694
+ /**
5695
+ * Selected date
5696
+ * @default null
5697
+ */
5698
+ value?: BentoDatePickerValue | null;
5699
+ /**
5700
+ * The type of calendar to display. Defaults to showing days.
5701
+ */
5702
+ variant?: `${CalendarVariant}`;
5703
+ }
5704
+
5482
5705
  export declare type BentoDatePickerValue = Date;
5483
5706
 
5484
5707
  export declare interface BentoDateProps {
@@ -5520,368 +5743,91 @@ export declare type BentoDateRangeFilterValue = BentoDateRangePickerValue | null
5520
5743
  /**
5521
5744
  * Date range picker selector.
5522
5745
  *
5523
- * @example
5524
- * import { BentoDateRangePicker } from '../..';
5525
- *
5526
- * export default {
5527
- * components: { BentoDateRangePicker },
5528
- * template: `
5529
- * <bento-date-range-picker
5530
- * label="Label"
5531
- * description="Supporting text"
5532
- * required
5533
- * optional
5534
- * disabled
5535
- * @input="onDateChanged"
5536
- * v-model="selectedDate"
5537
- * />
5538
- * `,
5539
- * setup() {
5540
- * const selectedDate = ref(new Date()); // reactive({ startDate: new Date(), endDate: new Date() })
5541
- * return {
5542
- * selectedDate,
5543
- * }
5544
- * }
5545
- * }
5546
- */
5547
- export declare const BentoDateRangePicker: DefineComponent< {
5548
- /**
5549
- * Allows user to enter time values in the form
5550
- */
5551
- allowTimeInput: {
5552
- type: BooleanConstructor;
5553
- default: boolean;
5554
- };
5555
- /**
5556
- * Descriptive supporting text visbile underneath the dropdown.
5557
- */
5558
- description: {
5559
- type: StringConstructor;
5560
- default: any;
5561
- };
5562
- /**
5563
- * Disables dropdown functionality.
5564
- */
5565
- disabled: {
5566
- type: BooleanConstructor;
5567
- default: boolean;
5568
- };
5569
- /**
5570
- * Displays component in an error state with an error message
5571
- */
5572
- errorMessage: {
5573
- type: StringConstructor;
5574
- default: any;
5575
- };
5576
- /**
5577
- * Allows user to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
5578
- */
5579
- firstDayOfWeek: {
5580
- type: PropType<CalendarMonthFirstDayOfWeek>;
5581
- default: CalendarMonthFirstDayOfWeek;
5582
- validator: (value: CalendarMonthFirstDayOfWeek) => boolean;
5583
- };
5584
- /**
5585
- * A list of available granularities.
5586
- * If present, the date picker will display a segmented control to change granularity.
5587
- */
5588
- granularities: {
5589
- type: PropType<Array<BentoDateRangePickerGranularityConfig>>;
5590
- default: any;
5591
- };
5592
- /**
5593
- * Indicate if a date should be disabled or not
5594
- */
5595
- isDateDisabled: {
5596
- type: PropType<CalendarMonthIsDateDisabled>;
5597
- default: any;
5598
- };
5599
- /**
5600
- * Text that is displayed as a label above the element.
5601
- */
5602
- label: {
5603
- type: StringConstructor;
5604
- default: any;
5605
- };
5606
- /**
5607
- * Upon opening date range picker, end date's month will be pre-selected.
5608
- */
5609
- showEndDateOnOpen: {
5610
- type: BooleanConstructor;
5611
- default: boolean;
5612
- };
5613
- /**
5614
- * Highlights the dropdown is optional.
5615
- */
5616
- optional: {
5617
- type: BooleanConstructor;
5618
- default: boolean;
5619
- };
5620
- /**
5621
- * The Boolean readonly property, when present, makes the element not mutable, meaning the user can not edit the date range picker.
5622
- */
5623
- readonly: {
5624
- type: BooleanConstructor;
5625
- default: boolean;
5626
- };
5627
- /**
5628
- * Highlights the dropdown is required.
5629
- */
5630
- required: {
5631
- type: BooleanConstructor;
5632
- default: boolean;
5633
- };
5634
- /**
5635
- * Adds a info icon next to the label to display the passed tooltip message.
5636
- */
5637
- tooltipText: {
5638
- type: StringConstructor;
5639
- default: any;
5640
- };
5641
- /**
5642
- * Enables the range selector.
5643
- * If provided, must be an array that sets the custom range dropdown items. Items are of the structure:
5644
- * `label` - label of custom range item.
5645
- * `value` - a unique key of the custom range item.
5646
- * `data` - an object `{ startDate: Date; endDate: Date }` to set the date picker range to upon selecting.
5647
- */
5648
- quickSelectRanges: {
5649
- type: PropType<DateRangePickerCalendarRangeSelectorItems>;
5650
- default: any;
5651
- };
5652
- /**
5653
- * Set a maximum number of dates to be selectable by the range.
5654
- */
5655
- maxRange: {
5656
- type: NumberConstructor;
5657
- default: any;
5658
- validator: (value: number) => boolean;
5659
- };
5660
- /**
5661
- * Sets a minimum limit for selectable dates - dates before `min` will not be selectable
5662
- */
5663
- min: {
5664
- type: DateConstructor;
5665
- default: any;
5666
- };
5667
- /**
5668
- * Sets a maximum limit for selectable dates - dates after `max` will not be selectable
5669
- */
5670
- max: {
5671
- type: DateConstructor;
5672
- default: any;
5673
- };
5674
- /**
5675
- * Number of months rendered on pane
5676
- */
5677
- numberOfMonths: {
5678
- type: NumberConstructor;
5679
- default: number;
5680
- validator: (n: number) => boolean;
5681
- };
5682
- /**
5683
- * Selected date
5684
- */
5685
- value: {
5686
- type: PropType<BentoDateRangePickerValue>;
5687
- default: any;
5688
- };
5689
- /**
5690
- * The type of calendar to display. Defaults to showing days.
5691
- */
5692
- variant: {
5693
- type: PropType<`${CalendarVariant}`>;
5694
- default: any;
5695
- };
5696
- /**
5697
- * Enables the date picker selection to persist until it is explicitly applied.
5698
- * Displays a set of buttons: Apply and Cancel.
5699
- *
5700
- * @deprecated This will be the default behaviour in v2.0.0.
5701
- */
5702
- hasActions: {
5703
- type: BooleanConstructor;
5704
- default: boolean;
5705
- };
5706
- }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoDateRangePickerEvent[], string, Readonly<ExtractPropTypes< {
5707
- /**
5708
- * Allows user to enter time values in the form
5709
- */
5710
- allowTimeInput: {
5711
- type: BooleanConstructor;
5712
- default: boolean;
5713
- };
5714
- /**
5715
- * Descriptive supporting text visbile underneath the dropdown.
5716
- */
5717
- description: {
5718
- type: StringConstructor;
5719
- default: any;
5720
- };
5721
- /**
5722
- * Disables dropdown functionality.
5723
- */
5724
- disabled: {
5725
- type: BooleanConstructor;
5726
- default: boolean;
5727
- };
5728
- /**
5729
- * Displays component in an error state with an error message
5730
- */
5731
- errorMessage: {
5732
- type: StringConstructor;
5733
- default: any;
5734
- };
5735
- /**
5736
- * Allows user to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
5737
- */
5738
- firstDayOfWeek: {
5739
- type: PropType<CalendarMonthFirstDayOfWeek>;
5740
- default: CalendarMonthFirstDayOfWeek;
5741
- validator: (value: CalendarMonthFirstDayOfWeek) => boolean;
5742
- };
5743
- /**
5744
- * A list of available granularities.
5745
- * If present, the date picker will display a segmented control to change granularity.
5746
- */
5747
- granularities: {
5748
- type: PropType<Array<BentoDateRangePickerGranularityConfig>>;
5749
- default: any;
5750
- };
5751
- /**
5752
- * Indicate if a date should be disabled or not
5753
- */
5754
- isDateDisabled: {
5755
- type: PropType<CalendarMonthIsDateDisabled>;
5756
- default: any;
5757
- };
5758
- /**
5759
- * Text that is displayed as a label above the element.
5760
- */
5761
- label: {
5762
- type: StringConstructor;
5763
- default: any;
5764
- };
5765
- /**
5766
- * Upon opening date range picker, end date's month will be pre-selected.
5767
- */
5768
- showEndDateOnOpen: {
5769
- type: BooleanConstructor;
5770
- default: boolean;
5771
- };
5772
- /**
5773
- * Highlights the dropdown is optional.
5774
- */
5775
- optional: {
5776
- type: BooleanConstructor;
5777
- default: boolean;
5778
- };
5779
- /**
5780
- * The Boolean readonly property, when present, makes the element not mutable, meaning the user can not edit the date range picker.
5781
- */
5782
- readonly: {
5783
- type: BooleanConstructor;
5784
- default: boolean;
5785
- };
5786
- /**
5787
- * Highlights the dropdown is required.
5788
- */
5789
- required: {
5790
- type: BooleanConstructor;
5791
- default: boolean;
5792
- };
5793
- /**
5794
- * Adds a info icon next to the label to display the passed tooltip message.
5795
- */
5796
- tooltipText: {
5797
- type: StringConstructor;
5798
- default: any;
5799
- };
5800
- /**
5801
- * Enables the range selector.
5802
- * If provided, must be an array that sets the custom range dropdown items. Items are of the structure:
5803
- * `label` - label of custom range item.
5804
- * `value` - a unique key of the custom range item.
5805
- * `data` - an object `{ startDate: Date; endDate: Date }` to set the date picker range to upon selecting.
5806
- */
5807
- quickSelectRanges: {
5808
- type: PropType<DateRangePickerCalendarRangeSelectorItems>;
5809
- default: any;
5810
- };
5811
- /**
5812
- * Set a maximum number of dates to be selectable by the range.
5813
- */
5814
- maxRange: {
5815
- type: NumberConstructor;
5816
- default: any;
5817
- validator: (value: number) => boolean;
5818
- };
5819
- /**
5820
- * Sets a minimum limit for selectable dates - dates before `min` will not be selectable
5821
- */
5822
- min: {
5823
- type: DateConstructor;
5824
- default: any;
5825
- };
5826
- /**
5827
- * Sets a maximum limit for selectable dates - dates after `max` will not be selectable
5828
- */
5829
- max: {
5830
- type: DateConstructor;
5831
- default: any;
5832
- };
5833
- /**
5834
- * Number of months rendered on pane
5835
- */
5836
- numberOfMonths: {
5837
- type: NumberConstructor;
5838
- default: number;
5839
- validator: (n: number) => boolean;
5840
- };
5841
- /**
5842
- * Selected date
5843
- */
5844
- value: {
5845
- type: PropType<BentoDateRangePickerValue>;
5846
- default: any;
5847
- };
5848
- /**
5849
- * The type of calendar to display. Defaults to showing days.
5850
- */
5851
- variant: {
5852
- type: PropType<`${CalendarVariant}`>;
5853
- default: any;
5854
- };
5855
- /**
5856
- * Enables the date picker selection to persist until it is explicitly applied.
5857
- * Displays a set of buttons: Apply and Cancel.
5858
- *
5859
- * @deprecated This will be the default behaviour in v2.0.0.
5860
- */
5861
- hasActions: {
5862
- type: BooleanConstructor;
5863
- default: boolean;
5864
- };
5865
- }>>, {
5866
- value: BentoDateRangePickerValue;
5746
+ * @example
5747
+ * import { BentoDateRangePicker } from '../..';
5748
+ *
5749
+ * export default {
5750
+ * components: { BentoDateRangePicker },
5751
+ * template: `
5752
+ * <bento-date-range-picker
5753
+ * label="Label"
5754
+ * description="Supporting text"
5755
+ * required
5756
+ * optional
5757
+ * disabled
5758
+ * @input="onDateChanged"
5759
+ * v-model="selectedDate"
5760
+ * />
5761
+ * `,
5762
+ * setup() {
5763
+ * const selectedDate = ref(new Date()); // reactive({ startDate: new Date(), endDate: new Date() })
5764
+ * return {
5765
+ * selectedDate,
5766
+ * }
5767
+ * }
5768
+ * }
5769
+ */
5770
+ export declare const BentoDateRangePicker: DefineComponent<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_10<BentoDateRangePickerProps>, {
5771
+ description: any;
5772
+ disabled: boolean;
5773
+ errorMessage: any;
5774
+ firstDayOfWeek: number;
5775
+ hasActions: boolean;
5776
+ isDateDisabled: any;
5777
+ label: any;
5778
+ max: any;
5779
+ maxRange: any;
5780
+ min: any;
5781
+ numberOfMonths: any;
5782
+ optional: boolean;
5783
+ placeholder: any;
5784
+ quickSelectRanges: any;
5785
+ readonly: boolean;
5786
+ required: boolean;
5787
+ showEndDateOnOpen: boolean;
5788
+ tooltipText: any;
5789
+ value: any;
5790
+ variant: any;
5791
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoDateRangePickerEvent[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_10<__VLS_TypePropsToRuntimeProps_10<BentoDateRangePickerProps>, {
5792
+ description: any;
5793
+ disabled: boolean;
5794
+ errorMessage: any;
5795
+ firstDayOfWeek: number;
5796
+ hasActions: boolean;
5797
+ isDateDisabled: any;
5798
+ label: any;
5799
+ max: any;
5800
+ maxRange: any;
5801
+ min: any;
5802
+ numberOfMonths: any;
5803
+ optional: boolean;
5804
+ placeholder: any;
5805
+ quickSelectRanges: any;
5806
+ readonly: boolean;
5807
+ required: boolean;
5808
+ showEndDateOnOpen: boolean;
5809
+ tooltipText: any;
5810
+ value: any;
5811
+ variant: any;
5812
+ }>>>, {
5813
+ value: BentoDateRangePickerValue | null;
5867
5814
  description: string;
5868
5815
  label: string;
5869
- variant: "day" | "month";
5816
+ variant: `${CalendarVariant}`;
5870
5817
  required: boolean;
5871
5818
  disabled: boolean;
5872
5819
  optional: boolean;
5873
5820
  readonly: boolean;
5821
+ errorMessage: string;
5822
+ tooltipText: string;
5874
5823
  isDateDisabled: CalendarMonthIsDateDisabled;
5875
- firstDayOfWeek: CalendarMonthFirstDayOfWeek;
5824
+ firstDayOfWeek: CalendarMonthFirstDayOfWeek | number;
5876
5825
  min: Date;
5877
5826
  max: Date;
5878
5827
  maxRange: number;
5879
5828
  numberOfMonths: number;
5880
5829
  showEndDateOnOpen: boolean;
5881
- tooltipText: string;
5882
- errorMessage: string;
5883
- allowTimeInput: boolean;
5884
- granularities: BentoDateRangePickerGranularityConfig<CalendarGranularityType>[];
5830
+ placeholder: string;
5885
5831
  quickSelectRanges: DateRangePickerCalendarRangeSelectorItems;
5886
5832
  hasActions: boolean;
5887
5833
  }>;
@@ -5897,6 +5843,69 @@ export declare interface BentoDateRangePickerGranularityConfig<T extends Calenda
5897
5843
  disabled?: boolean;
5898
5844
  }
5899
5845
 
5846
+ export declare interface BentoDateRangePickerProps extends FormField {
5847
+ /**
5848
+ * Allows user to enter time values in the form
5849
+ * @default false
5850
+ */
5851
+ allowTimeInput?: boolean;
5852
+ /**
5853
+ * Allows user to set the first day of the week. 0 is sunday, 1 is monday, 6 is saturday
5854
+ * @default 1
5855
+ */
5856
+ firstDayOfWeek?: CalendarMonthFirstDayOfWeek | number;
5857
+ /**
5858
+ * A list of available granularities.
5859
+ * If present, the date picker will display a segmented control to change granularity.
5860
+ */
5861
+ granularities?: Array<BentoDateRangePickerGranularityConfig>;
5862
+ /**
5863
+ * Indicate if a date should be disabled or not
5864
+ */
5865
+ isDateDisabled?: CalendarMonthIsDateDisabled;
5866
+ /**
5867
+ * Upon opening date range picker, end date's month will be pre-selected.
5868
+ * @default false
5869
+ */
5870
+ showEndDateOnOpen?: boolean;
5871
+ /**
5872
+ * Enables the range selector.
5873
+ * If provided, must be an array that sets the custom range dropdown items.
5874
+ */
5875
+ quickSelectRanges?: DateRangePickerCalendarRangeSelectorItems;
5876
+ /**
5877
+ * Set a maximum number of dates to be selectable by the range.
5878
+ */
5879
+ maxRange?: number;
5880
+ /**
5881
+ * Sets a minimum limit for selectable dates - dates before `min` will not be selectable
5882
+ */
5883
+ min?: Date;
5884
+ /**
5885
+ * Sets a maximum limit for selectable dates - dates after `max` will not be selectable
5886
+ */
5887
+ max?: Date;
5888
+ /**
5889
+ * Number of months rendered on pane
5890
+ */
5891
+ numberOfMonths?: number;
5892
+ /**
5893
+ * Selected date
5894
+ */
5895
+ value?: BentoDateRangePickerValue | null;
5896
+ /**
5897
+ * The type of calendar to display. Defaults to showing days.
5898
+ */
5899
+ variant?: `${CalendarVariant}`;
5900
+ /**
5901
+ * Enables the date picker selection to persist until it is explicitly applied.
5902
+ * Displays a set of buttons: Apply and Cancel.
5903
+ * @deprecated This will be the default behaviour in v2.0.0.
5904
+ * @default false
5905
+ */
5906
+ hasActions?: boolean;
5907
+ }
5908
+
5900
5909
  export declare interface BentoDateRangePickerValue {
5901
5910
  startDate: Date;
5902
5911
  endDate: Date;
@@ -5915,9 +5924,9 @@ export declare interface BentoDateRangePickerValue {
5915
5924
  * template: `<bento-divider />`
5916
5925
  * }
5917
5926
  */
5918
- export declare const BentoDivider: DefineComponent<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<BentoDividerProps>, {
5927
+ export declare const BentoDivider: DefineComponent<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<BentoDividerProps>, {
5919
5928
  variant: BentoDividerVariant;
5920
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_19<__VLS_TypePropsToRuntimeProps_19<BentoDividerProps>, {
5929
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<BentoDividerProps>, {
5921
5930
  variant: BentoDividerVariant;
5922
5931
  }>>>, {
5923
5932
  variant: `${BentoDividerVariant}`;
@@ -5971,7 +5980,7 @@ declare enum BentoDividerVariant {
5971
5980
  * }
5972
5981
  * }
5973
5982
  */
5974
- export declare const BentoDropdown: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<BentoDropdownProps>, {
5983
+ export declare const BentoDropdown: __VLS_WithTemplateSlots_11<DefineComponent<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_11<BentoDropdownProps>, {
5975
5984
  ariaLabel: any;
5976
5985
  condensed: boolean;
5977
5986
  emptyState: any;
@@ -6006,7 +6015,9 @@ focus: () => void;
6006
6015
  input: (selectedValue: any) => void;
6007
6016
  } & {
6008
6017
  "show-more": () => void;
6009
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_7<__VLS_TypePropsToRuntimeProps_7<BentoDropdownProps>, {
6018
+ } & {
6019
+ open: () => void;
6020
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_11<BentoDropdownProps>, {
6010
6021
  ariaLabel: any;
6011
6022
  condensed: boolean;
6012
6023
  emptyState: any;
@@ -6050,9 +6061,9 @@ readonly: boolean;
6050
6061
  size: BentoDropdownSize | `${BentoDropdownSize}`;
6051
6062
  multiple: boolean;
6052
6063
  ariaLabel: string;
6053
- tooltipText: string;
6054
- errorMessage: string;
6055
6064
  items: BentoListboxOptions;
6065
+ errorMessage: string;
6066
+ tooltipText: string;
6056
6067
  isOptionDisabled: BentoListboxIsOptionDisabled;
6057
6068
  staticCategories: boolean;
6058
6069
  hasMoreItems: boolean;
@@ -6062,8 +6073,8 @@ componentLoading: boolean;
6062
6073
  virtualScroll: BentoListboxVirtulisationOptions;
6063
6074
  dynamicFiltering: boolean;
6064
6075
  showSlotContentInMultiple: boolean;
6065
- placeholder: string;
6066
6076
  enableValueLabelPair: boolean;
6077
+ placeholder: string;
6067
6078
  }>, Record<string, (_: any) => any> & Record<string, (_: any) => any> & {
6068
6079
  description: (_: {}) => any;
6069
6080
  }>;
@@ -6096,11 +6107,15 @@ enableValueLabelPair: boolean;
6096
6107
  * }
6097
6108
  * }
6098
6109
  */
6099
- export declare const BentoDropdownAvatar: DefineComponent<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_11<BentoDropdownAvatarProps>, {
6110
+ export declare const BentoDropdownAvatar: DefineComponent<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<BentoDropdownAvatarProps>, {
6100
6111
  items: () => any[];
6101
6112
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6102
6113
  input: (selectedValue: BentoListboxSelectedValue) => void;
6103
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_11<__VLS_TypePropsToRuntimeProps_11<BentoDropdownAvatarProps>, {
6114
+ } & {
6115
+ "show-more": () => void;
6116
+ } & {
6117
+ open: () => void;
6118
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<BentoDropdownAvatarProps>, {
6104
6119
  items: () => any[];
6105
6120
  }>>>, {
6106
6121
  items: BentoAvatarListboxOptions;
@@ -6235,12 +6250,12 @@ type: PropType<string>;
6235
6250
  } & {
6236
6251
  default: any;
6237
6252
  };
6238
- tooltipText: {
6253
+ errorMessage: {
6239
6254
  type: PropType<string>;
6240
6255
  } & {
6241
6256
  default: any;
6242
6257
  };
6243
- errorMessage: {
6258
+ tooltipText: {
6244
6259
  type: PropType<string>;
6245
6260
  } & {
6246
6261
  default: any;
@@ -6290,18 +6305,22 @@ type: PropType<boolean>;
6290
6305
  } & {
6291
6306
  default: boolean;
6292
6307
  };
6293
- placeholder: {
6294
- type: PropType<string>;
6295
- } & {
6296
- default: any;
6297
- };
6298
6308
  enableValueLabelPair: {
6299
6309
  type: PropType<boolean>;
6300
6310
  } & {
6301
6311
  default: boolean;
6302
6312
  };
6313
+ placeholder: {
6314
+ type: PropType<string>;
6315
+ } & {
6316
+ default: any;
6317
+ };
6303
6318
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6304
6319
  input: (selectedValue: BentoListboxSelectedValue) => void;
6320
+ } & {
6321
+ "show-more": () => void;
6322
+ } & {
6323
+ open: () => void;
6305
6324
  }, string, Readonly<ExtractPropTypes< {
6306
6325
  /**
6307
6326
  * The option elements to populate the country dropdown with.
@@ -6392,12 +6411,12 @@ type: PropType<string>;
6392
6411
  } & {
6393
6412
  default: any;
6394
6413
  };
6395
- tooltipText: {
6414
+ errorMessage: {
6396
6415
  type: PropType<string>;
6397
6416
  } & {
6398
6417
  default: any;
6399
6418
  };
6400
- errorMessage: {
6419
+ tooltipText: {
6401
6420
  type: PropType<string>;
6402
6421
  } & {
6403
6422
  default: any;
@@ -6447,16 +6466,16 @@ type: PropType<boolean>;
6447
6466
  } & {
6448
6467
  default: boolean;
6449
6468
  };
6450
- placeholder: {
6451
- type: PropType<string>;
6452
- } & {
6453
- default: any;
6454
- };
6455
6469
  enableValueLabelPair: {
6456
6470
  type: PropType<boolean>;
6457
6471
  } & {
6458
6472
  default: boolean;
6459
6473
  };
6474
+ placeholder: {
6475
+ type: PropType<string>;
6476
+ } & {
6477
+ default: any;
6478
+ };
6460
6479
  }>>, {
6461
6480
  search: BentoListboxSearchOptions;
6462
6481
  value: BentoListboxSelectedValue;
@@ -6473,9 +6492,9 @@ readonly: boolean;
6473
6492
  size: BentoDropdownSize | `${BentoDropdownSize}`;
6474
6493
  multiple: boolean;
6475
6494
  ariaLabel: string;
6476
- tooltipText: string;
6477
- errorMessage: string;
6478
6495
  items: BentoCountryListboxOptions;
6496
+ errorMessage: string;
6497
+ tooltipText: string;
6479
6498
  isOptionDisabled: BentoListboxIsOptionDisabled;
6480
6499
  staticCategories: boolean;
6481
6500
  hasMoreItems: boolean;
@@ -6485,8 +6504,8 @@ componentLoading: boolean;
6485
6504
  virtualScroll: BentoListboxVirtulisationOptions;
6486
6505
  dynamicFiltering: boolean;
6487
6506
  showSlotContentInMultiple: boolean;
6488
- placeholder: string;
6489
6507
  enableValueLabelPair: boolean;
6508
+ placeholder: string;
6490
6509
  }>;
6491
6510
 
6492
6511
  /**
@@ -6517,11 +6536,15 @@ enableValueLabelPair: boolean;
6517
6536
  * }
6518
6537
  * }
6519
6538
  */
6520
- export declare const BentoDropdownCurrency: DefineComponent<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<BentoDropdownCurrencyProps>, {
6539
+ export declare const BentoDropdownCurrency: DefineComponent<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BentoDropdownCurrencyProps>, {
6521
6540
  items: () => any[];
6522
6541
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6523
6542
  input: (selectedValue: BentoListboxSelectedValue) => void;
6524
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_12<__VLS_TypePropsToRuntimeProps_12<BentoDropdownCurrencyProps>, {
6543
+ } & {
6544
+ "show-more": () => void;
6545
+ } & {
6546
+ open: () => void;
6547
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BentoDropdownCurrencyProps>, {
6525
6548
  items: () => any[];
6526
6549
  }>>>, {
6527
6550
  items: BentoCurrencyListboxOptions;
@@ -6565,11 +6588,15 @@ export declare interface BentoDropdownCurrencyProps extends BentoDropdownProps {
6565
6588
  * }
6566
6589
  * }
6567
6590
  */
6568
- export declare const BentoDropdownPaymentMethod: DefineComponent<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BentoDropdownPaymentMethodProps>, {
6591
+ export declare const BentoDropdownPaymentMethod: DefineComponent<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoDropdownPaymentMethodProps>, {
6569
6592
  items: () => any[];
6570
6593
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6571
6594
  input: (selectedValue: BentoListboxSelectedValue) => void;
6572
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_13<__VLS_TypePropsToRuntimeProps_13<BentoDropdownPaymentMethodProps>, {
6595
+ } & {
6596
+ "show-more": () => void;
6597
+ } & {
6598
+ open: () => void;
6599
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoDropdownPaymentMethodProps>, {
6573
6600
  items: () => any[];
6574
6601
  }>>>, {
6575
6602
  items: BentoPaymentMethodListboxOptions;
@@ -6585,7 +6612,7 @@ export declare interface BentoDropdownPaymentMethodProps extends BentoDropdownPr
6585
6612
  items?: BentoPaymentMethodListboxOptions;
6586
6613
  }
6587
6614
 
6588
- export declare interface BentoDropdownProps {
6615
+ export declare interface BentoDropdownProps extends FormField {
6589
6616
  /**
6590
6617
  * @deprecated from version 2.0.0. Use the aria-label attribute instead.
6591
6618
  * Defines a string value that labels an interactive element.
@@ -6599,10 +6626,6 @@ export declare interface BentoDropdownProps {
6599
6626
  * Empty state props used with the inner empty state component which is displayed when no search results are found.
6600
6627
  */
6601
6628
  emptyState?: BentoListboxEmptyStateProps;
6602
- /**
6603
- * Disables dropdown functionality.
6604
- */
6605
- disabled?: boolean;
6606
6629
  /**
6607
6630
  * Sets the possibility to type into the textbox.
6608
6631
  */
@@ -6612,14 +6635,6 @@ export declare interface BentoDropdownProps {
6612
6635
  * @deprecated Use "errorMessage" prop instead
6613
6636
  */
6614
6637
  error?: boolean;
6615
- /**
6616
- * Highlights the dropdown in an erroneous state with an error message.
6617
- */
6618
- errorMessage?: string;
6619
- /**
6620
- * Descriptive supporting text visbile underneath the dropdown.
6621
- */
6622
- description?: string;
6623
6638
  /**
6624
6639
  * Indicates whether there are more items to load
6625
6640
  */
@@ -6640,10 +6655,6 @@ export declare interface BentoDropdownProps {
6640
6655
  * @property value.value - Value of the option
6641
6656
  */
6642
6657
  items?: BentoListboxOptions;
6643
- /**
6644
- * Text that is displayed as a label above the element.
6645
- */
6646
- label?: string;
6647
6658
  /**
6648
6659
  * Indicates if new options are lazy loading.
6649
6660
  */
@@ -6662,22 +6673,6 @@ export declare interface BentoDropdownProps {
6662
6673
  * If enabled, the user will be able to select multiple items.
6663
6674
  */
6664
6675
  multiple?: boolean;
6665
- /**
6666
- * Highlights the dropdown is optional.
6667
- */
6668
- optional?: boolean;
6669
- /**
6670
- * Text that appears in the form control when it has no value set
6671
- */
6672
- placeholder?: string;
6673
- /**
6674
- * Sets the dropdown to readonly state
6675
- */
6676
- readonly?: boolean;
6677
- /**
6678
- * Highlights the dropdown is required.
6679
- */
6680
- required?: boolean;
6681
6676
  /**
6682
6677
  * Dropdown search options and events.
6683
6678
  * @see BentoDropdownSearchOptions
@@ -6695,10 +6690,6 @@ export declare interface BentoDropdownProps {
6695
6690
  * If enabled, dropdown will display non-selectable, static categories
6696
6691
  */
6697
6692
  staticCategories?: boolean;
6698
- /**
6699
- * Adds a info icon next to the label to display the passed tooltip message.
6700
- */
6701
- tooltipText?: string;
6702
6693
  /**
6703
6694
  * The `input` value.
6704
6695
  * Providing an empty string will select no options.
@@ -6760,11 +6751,15 @@ export declare enum BentoDropdownSize {
6760
6751
  * }
6761
6752
  * }
6762
6753
  */
6763
- export declare const BentoDropdownTag: DefineComponent<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoDropdownTagProps>, {
6754
+ export declare const BentoDropdownTag: DefineComponent<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BentoDropdownTagProps>, {
6764
6755
  items: () => any[];
6765
6756
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
6766
6757
  input: (selectedValue: BentoListboxSelectedValue) => void;
6767
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_14<__VLS_TypePropsToRuntimeProps_14<BentoDropdownTagProps>, {
6758
+ } & {
6759
+ "show-more": () => void;
6760
+ } & {
6761
+ open: () => void;
6762
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_15<__VLS_TypePropsToRuntimeProps_15<BentoDropdownTagProps>, {
6768
6763
  items: () => any[];
6769
6764
  }>>>, {
6770
6765
  items: BentoTagListboxOptions;
@@ -6805,14 +6800,14 @@ export declare interface BentoDropdownTagProps extends BentoDropdownProps {
6805
6800
  * `
6806
6801
  * }
6807
6802
  */
6808
- export declare const BentoEmptyState: __VLS_WithTemplateSlots_10<DefineComponent<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_6<BentoEmptyStateProps>, {
6803
+ export declare const BentoEmptyState: __VLS_WithTemplateSlots_13<DefineComponent<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<BentoEmptyStateProps>, {
6809
6804
  action: any;
6810
6805
  description: any;
6811
6806
  headingEl: any;
6812
6807
  image: any;
6813
6808
  title: string;
6814
6809
  variant: string;
6815
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_6<__VLS_TypePropsToRuntimeProps_6<BentoEmptyStateProps>, {
6810
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<BentoEmptyStateProps>, {
6816
6811
  action: any;
6817
6812
  description: any;
6818
6813
  headingEl: any;
@@ -6925,7 +6920,7 @@ export declare enum BentoEmptyStateVariant {
6925
6920
  * }
6926
6921
  * }
6927
6922
  */
6928
- export declare const BentoFileUploader: DefineComponent<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<BentoFileUploaderProps>, {
6923
+ export declare const BentoFileUploader: DefineComponent<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<BentoFileUploaderProps>, {
6929
6924
  accept: any;
6930
6925
  description: any;
6931
6926
  errorMessage: any;
@@ -6942,7 +6937,7 @@ input: (value?: FileList) => void;
6942
6937
  "update:modelValue": (value?: FileList) => void;
6943
6938
  } & {
6944
6939
  "error:upload": (value: boolean) => void;
6945
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_20<__VLS_TypePropsToRuntimeProps_20<BentoFileUploaderProps>, {
6940
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<BentoFileUploaderProps>, {
6946
6941
  accept: any;
6947
6942
  description: any;
6948
6943
  errorMessage: any;
@@ -6953,9 +6948,9 @@ modelValue: any;
6953
6948
  tooltipText: any;
6954
6949
  }>>>, {
6955
6950
  description: string;
6956
- tooltipText: string;
6957
- errorMessage: string;
6958
6951
  modelValue: BentoFileUploaderValue;
6952
+ errorMessage: string;
6953
+ tooltipText: string;
6959
6954
  accept: HTMLInputElement["accept"];
6960
6955
  maxCount: number;
6961
6956
  maxDimensions: any;
@@ -7047,7 +7042,7 @@ export declare type BentoFileUploaderValue = string | Array<string> | File | Arr
7047
7042
  * `
7048
7043
  * }
7049
7044
  */
7050
- export declare const BentoFilterBar: DefineComponent<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<BentoFilterBarProps>, {
7045
+ export declare const BentoFilterBar: DefineComponent<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<BentoFilterBarProps<any, undefined>>, {
7051
7046
  config: () => any[];
7052
7047
  filterValues: () => any[];
7053
7048
  containerSizeLayout: () => {
@@ -7064,7 +7059,7 @@ isClearAllVisible: ComputedRef<boolean>;
7064
7059
  clearAllFilters: () => void;
7065
7060
  isResetAllVisible: ComputedRef<boolean>;
7066
7061
  resetAllFilters: () => void;
7067
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, (BentoFilterBarEvent | BentoSearchBarEvent)[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_21<__VLS_TypePropsToRuntimeProps_21<BentoFilterBarProps>, {
7062
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, (BentoFilterBarEvent | BentoSearchBarEvent)[], string, Readonly<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<BentoFilterBarProps<any, undefined>>, {
7068
7063
  config: () => any[];
7069
7064
  filterValues: () => any[];
7070
7065
  containerSizeLayout: () => {
@@ -7079,7 +7074,7 @@ filterValuesObject: any;
7079
7074
  }>>>, {
7080
7075
  search: BentoFilterBarSearchBarProps;
7081
7076
  value: BentoFilterBarModel;
7082
- config: BentoFilterBarModel;
7077
+ config: BentoFilterBarModel<undefined>;
7083
7078
  searchTerm: BentoFilterBarSearchTerm;
7084
7079
  filterValues: BentoFilterValues;
7085
7080
  containerSizeLayout: {
@@ -7087,7 +7082,7 @@ medium: string;
7087
7082
  small: string;
7088
7083
  };
7089
7084
  showAppliedHiddenFilters: boolean;
7090
- filterValuesObject: BentoFilterValueObject;
7085
+ filterValuesObject: any;
7091
7086
  }>;
7092
7087
 
7093
7088
  export declare interface BentoFilterBarContainerSizeLayout {
@@ -7107,9 +7102,9 @@ export declare enum BentoFilterBarEvent {
7107
7102
  UPDATE_FILTER_VALUES_ARRAY = "update:filter-values"
7108
7103
  }
7109
7104
 
7110
- export declare type BentoFilterBarModel = Array<BentoFilterModel>;
7105
+ export declare type BentoFilterBarModel<CustomOptions = undefined> = Array<BentoFilterModel<CustomOptions>>;
7111
7106
 
7112
- export declare interface BentoFilterBarProps {
7107
+ export declare interface BentoFilterBarProps<CustomValue = BentoFilterBarValue | any, CustomOptions = undefined> {
7113
7108
  /**
7114
7109
  * Array of filters based on @see {@link BentoFilterBarModel}.
7115
7110
  * Each one of the elements in the array correspond to a filter that will
@@ -7126,7 +7121,7 @@ export declare interface BentoFilterBarProps {
7126
7121
  * type: FilterType.TEXT,
7127
7122
  * }]
7128
7123
  */
7129
- config?: BentoFilterBarModel;
7124
+ config?: BentoFilterBarModel<CustomOptions>;
7130
7125
  /**
7131
7126
  * An array of the values for each filter in the filter bar.
7132
7127
  * @see {@link BentoFilterValues}
@@ -7202,7 +7197,7 @@ export declare interface BentoFilterBarProps {
7202
7197
  * 'name': 'some text'
7203
7198
  * },
7204
7199
  */
7205
- filterValuesObject?: BentoFilterValueObject;
7200
+ filterValuesObject?: BentoFilterValueObject<string, CustomValue>;
7206
7201
  }
7207
7202
 
7208
7203
  export declare type BentoFilterBarScreenOptionsLayout = 'one-line' | 'multi-line';
@@ -7233,14 +7228,20 @@ export declare enum BentoFilterItemType {
7233
7228
  DATE_RANGE = "BentoDateRangeFilter"
7234
7229
  }
7235
7230
 
7236
- export declare interface BentoFilterModel extends BentoFilterValue {
7231
+ export declare interface BentoFilterModel<CustomOptions = undefined> extends BentoFilterValue {
7237
7232
  label: string;
7238
7233
  description?: string;
7239
- type: BentoFilterItemType;
7240
- options?: BentoFilterOptions;
7234
+ options?: BentoFilterOptions | CustomOptions;
7241
7235
  disabled?: boolean;
7242
7236
  defaultValue?: BentoFilterBarValue;
7243
7237
  visible?: boolean;
7238
+ /**
7239
+ * Defines the filter to be used.
7240
+ *
7241
+ * Can be one filter defined in the {@link BentoFilterItemType} enum or a
7242
+ * custom filter component defined as a {@link VueNodeElement}
7243
+ */
7244
+ type: BentoFilterItemType | VueNodeElement;
7244
7245
  /**
7245
7246
  * @deprecated This property will be removed in version 2.0, please use `config` & `filter-values` properties.
7246
7247
  */
@@ -7254,7 +7255,7 @@ export declare interface BentoFilterValue {
7254
7255
  value?: BentoFilterBarValue;
7255
7256
  }
7256
7257
 
7257
- export declare type BentoFilterValueObject<T extends PropertyKey = string> = Record<T, BentoFilterBarValue>;
7258
+ export declare type BentoFilterValueObject<T extends PropertyKey = string, CustomValue = BentoFilterBarValue> = Record<T, CustomValue>;
7258
7259
 
7259
7260
  export declare type BentoFilterValues = Array<BentoFilterValue>;
7260
7261
 
@@ -7293,7 +7294,7 @@ export declare type BentoFilterValues = Array<BentoFilterValue>;
7293
7294
  * `
7294
7295
  * }
7295
7296
  */
7296
- export declare const BentoFormLayout: __VLS_WithTemplateSlots_14<DefineComponent< {
7297
+ export declare const BentoFormLayout: __VLS_WithTemplateSlots_15<DefineComponent< {
7297
7298
  /**
7298
7299
  * Renders the form layout as an HTML `form`
7299
7300
  */
@@ -7359,7 +7360,7 @@ loading: boolean;
7359
7360
  * </bento-form-layout-field-tip>
7360
7361
  * `
7361
7362
  */
7362
- export declare const BentoFormLayoutFieldTip: __VLS_WithTemplateSlots_15<DefineComponent< {
7363
+ export declare const BentoFormLayoutFieldTip: __VLS_WithTemplateSlots_16<DefineComponent< {
7363
7364
  /**
7364
7365
  * Type of a alert; set a distinctive icon and color. Defaults to highlight.
7365
7366
  * @values highlight, success, critical, warning
@@ -7369,6 +7370,13 @@ type: PropType<BentoFormLayoutFieldTipTypeOption>;
7369
7370
  default: string;
7370
7371
  validator: (value: BentoFormLayoutFieldTipTypeOption) => boolean;
7371
7372
  };
7373
+ /**
7374
+ * Unique identifier to the form field. Used for accessibility.
7375
+ */
7376
+ id: {
7377
+ type: StringConstructor;
7378
+ default: any;
7379
+ };
7372
7380
  }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
7373
7381
  /**
7374
7382
  * Type of a alert; set a distinctive icon and color. Defaults to highlight.
@@ -7379,8 +7387,16 @@ type: PropType<BentoFormLayoutFieldTipTypeOption>;
7379
7387
  default: string;
7380
7388
  validator: (value: BentoFormLayoutFieldTipTypeOption) => boolean;
7381
7389
  };
7390
+ /**
7391
+ * Unique identifier to the form field. Used for accessibility.
7392
+ */
7393
+ id: {
7394
+ type: StringConstructor;
7395
+ default: any;
7396
+ };
7382
7397
  }>>, {
7383
7398
  type: "critical" | "success" | "warning" | "highlight";
7399
+ id: string;
7384
7400
  }>, {
7385
7401
  default: (_: {}) => any;
7386
7402
  message: (_: {}) => any;
@@ -7408,7 +7424,7 @@ declare type BentoFormLayoutFieldTipTypeOption = `${BentoAlertTypeOption}`;
7408
7424
  * `
7409
7425
  * }
7410
7426
  */
7411
- export declare const BentoFormLayoutGroup: __VLS_WithTemplateSlots_17<DefineComponent< {
7427
+ export declare const BentoFormLayoutGroup: __VLS_WithTemplateSlots_18<DefineComponent< {
7412
7428
  /**
7413
7429
  * The layout of the pair group of components.
7414
7430
  * This will render the components within the width of the proportions.
@@ -7494,7 +7510,7 @@ layout: BentoLayoutGroupProportions;
7494
7510
  * `
7495
7511
  * }
7496
7512
  */
7497
- export declare const BentoFormLayoutTitle: __VLS_WithTemplateSlots_16<DefineComponent< {
7513
+ export declare const BentoFormLayoutTitle: __VLS_WithTemplateSlots_17<DefineComponent< {
7498
7514
  /**
7499
7515
  * Defines if the Form Layout title is
7500
7516
  * a "section" or a "subsection".
@@ -7730,7 +7746,7 @@ declare enum BentoHeaderVariant {
7730
7746
  * `
7731
7747
  * };
7732
7748
  */
7733
- export declare const BentoHeaderWithViews: __VLS_WithTemplateSlots_18<DefineComponent<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<BentoHeaderWithViewsProps>, {
7749
+ export declare const BentoHeaderWithViews: __VLS_WithTemplateSlots_19<DefineComponent<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_26<BentoHeaderWithViewsProps>, {
7734
7750
  actions: () => any[];
7735
7751
  additionalViewSetting: any;
7736
7752
  title: any;
@@ -7756,7 +7772,7 @@ views: () => any[];
7756
7772
  "update:view": (value: BentoHeaderWithViewsItemUpdate) => void;
7757
7773
  } & {
7758
7774
  "update:skip-unsaved-changes": (value: boolean) => void;
7759
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_22<__VLS_TypePropsToRuntimeProps_22<BentoHeaderWithViewsProps>, {
7775
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_26<BentoHeaderWithViewsProps>, {
7760
7776
  actions: () => any[];
7761
7777
  additionalViewSetting: any;
7762
7778
  title: any;
@@ -7774,7 +7790,7 @@ lastUpdated: Date | number;
7774
7790
  reloadButton: HeaderMetaProps["reloadButton"];
7775
7791
  infoIconTooltipText: string;
7776
7792
  additionalViewSetting: BentoHeaderWithViewsItemAdditionalConfig;
7777
- views: BentoHeaderWithViewsItem[];
7793
+ views: Array<BentoHeaderWithViewsItem>;
7778
7794
  disableCustomization: boolean;
7779
7795
  }>, {
7780
7796
  infoIconTooltipContent: (_: {}) => any;
@@ -7869,8 +7885,8 @@ declare enum BentoHeaderWithViewsItemIconEnum {
7869
7885
  }
7870
7886
 
7871
7887
  export declare interface BentoHeaderWithViewsItemUpdate {
7872
- newViews: BentoHeaderWithViewsItem[];
7873
- oldViews: BentoHeaderWithViewsItem[];
7888
+ newViews: Array<BentoHeaderWithViewsItem>;
7889
+ oldViews: Array<BentoHeaderWithViewsItem>;
7874
7890
  targetViewLabel: BentoHeaderWithViewsItem['label'];
7875
7891
  }
7876
7892
 
@@ -7897,7 +7913,7 @@ export declare interface BentoHeaderWithViewsProps {
7897
7913
  * - `additionalViewSetting` (BentoHeaderWithViewsItemAdditionalConfig, optional): Optional configuration for an additional view setting.
7898
7914
  * - `isFixed` (boolean, optional): Indicates if this view can be edited or deleted. * @see {@link BentoHeaderWithViewsItem}
7899
7915
  */
7900
- views?: BentoHeaderWithViewsItem[];
7916
+ views?: Array<BentoHeaderWithViewsItem>;
7901
7917
  /**
7902
7918
  * Optional configuration for an additional view setting, such as a filter or option.
7903
7919
  * Defined by the `BentoHeaderWithViewsItemAdditionalConfig` interface.
@@ -7957,10 +7973,10 @@ export declare interface BentoHeaderWithViewsProps {
7957
7973
  * `
7958
7974
  * }
7959
7975
  */
7960
- export declare const BentoImage: DefineComponent<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<BentoImageProps>, {
7976
+ export declare const BentoImage: DefineComponent<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_27<BentoImageProps>, {
7961
7977
  aspectRatio: any;
7962
7978
  objectFit: any;
7963
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_23<__VLS_TypePropsToRuntimeProps_23<BentoImageProps>, {
7979
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_27<BentoImageProps>, {
7964
7980
  aspectRatio: any;
7965
7981
  objectFit: any;
7966
7982
  }>>>, {
@@ -8010,11 +8026,11 @@ export declare interface BentoImageProps {
8010
8026
  * import { BentoInfoIcon } from '../..';
8011
8027
  * </scrip>
8012
8028
  */
8013
- export declare const BentoInfoIcon: DefineComponent<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<BentoInfoIconProps>, {
8029
+ export declare const BentoInfoIcon: DefineComponent<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_28<BentoInfoIconProps>, {
8014
8030
  tooltipPosition: PopperContainerPositionExtended;
8015
8031
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
8016
8032
  mouseenter: (event: MouseEvent) => void;
8017
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_24<__VLS_TypePropsToRuntimeProps_24<BentoInfoIconProps>, {
8033
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_28<BentoInfoIconProps>, {
8018
8034
  tooltipPosition: PopperContainerPositionExtended;
8019
8035
  }>>>, {
8020
8036
  tooltipPosition: PopperContainerPosition | `${PopperContainerPosition}`;
@@ -8072,7 +8088,7 @@ export declare type BentoInputDropdownProps = {
8072
8088
  * >
8073
8089
  * }
8074
8090
  */
8075
- export declare const BentoInputField: __VLS_WithTemplateSlots_19<DefineComponent<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_25<BentoInputFieldProps>, {
8091
+ export declare const BentoInputField: __VLS_WithTemplateSlots_20<DefineComponent<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_29<BentoInputFieldProps>, {
8076
8092
  ariaHidden: boolean;
8077
8093
  ariaLabel: any;
8078
8094
  condensed: boolean;
@@ -8113,7 +8129,7 @@ keydown: (event: KeyboardEvent) => void;
8113
8129
  keyup: (event: KeyboardEvent) => void;
8114
8130
  } & {
8115
8131
  input: (inputValue: string) => void;
8116
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_25<__VLS_TypePropsToRuntimeProps_25<BentoInputFieldProps>, {
8132
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_29<BentoInputFieldProps>, {
8117
8133
  ariaHidden: boolean;
8118
8134
  ariaLabel: any;
8119
8135
  condensed: boolean;
@@ -8144,8 +8160,8 @@ error: boolean;
8144
8160
  optional: boolean;
8145
8161
  readonly: boolean;
8146
8162
  ariaLabel: string;
8147
- tooltipText: string;
8148
8163
  errorMessage: string;
8164
+ tooltipText: string;
8149
8165
  placeholder: string;
8150
8166
  slashedZero: boolean;
8151
8167
  dropdown: BentoInputDropdownProps;
@@ -8214,7 +8230,7 @@ export declare enum BentoInputFieldEvent {
8214
8230
  * `
8215
8231
  * }
8216
8232
  */
8217
- export declare const BentoInputFieldPassword: DefineComponent<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_26<BentoInputFieldPasswordProps>, {
8233
+ export declare const BentoInputFieldPassword: DefineComponent<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_30<BentoInputFieldPasswordProps>, {
8218
8234
  condensed: boolean;
8219
8235
  debounceTime: number;
8220
8236
  disabled: boolean;
@@ -8236,7 +8252,7 @@ focus: () => void;
8236
8252
  "input:error": (errors: BentoInputFieldPasswordErrorsList) => void;
8237
8253
  } & {
8238
8254
  input: (value: BentoInputFieldValue) => void;
8239
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_26<__VLS_TypePropsToRuntimeProps_26<BentoInputFieldPasswordProps>, {
8255
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_30<BentoInputFieldPasswordProps>, {
8240
8256
  condensed: boolean;
8241
8257
  debounceTime: number;
8242
8258
  disabled: boolean;
@@ -8337,7 +8353,7 @@ export declare interface BentoInputFieldPasswordValidation {
8337
8353
  title?: string;
8338
8354
  suggestion?: string;
8339
8355
  extendDefaultValidation?: boolean;
8340
- list: BentoInputFieldPasswordValidationListItem[];
8356
+ list: Array<BentoInputFieldPasswordValidationListItem>;
8341
8357
  }
8342
8358
 
8343
8359
  /**
@@ -8346,8 +8362,8 @@ export declare interface BentoInputFieldPasswordValidation {
8346
8362
  export declare interface BentoInputFieldPasswordValidationListItem {
8347
8363
  label?: string;
8348
8364
  key?: BentoInputFieldPasswordDefaultRuleKeys | string;
8349
- validate?: (value: BentoInputFieldValue, ...args: any[]) => boolean;
8350
- additionalArgs?: any[];
8365
+ validate?: (value: BentoInputFieldValue, ...args: Array<any>) => boolean;
8366
+ additionalArgs?: Array<any>;
8351
8367
  disabled?: boolean;
8352
8368
  }
8353
8369
 
@@ -8369,8 +8385,9 @@ export declare interface BentoInputFieldPasswordValidationListItem {
8369
8385
  * `
8370
8386
  * }
8371
8387
  */
8372
- export declare const BentoInputFieldPhoneNumber: __VLS_WithTemplateSlots_20<DefineComponent<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_27<BentoInputFieldPhoneNumberProps>, {
8388
+ export declare const BentoInputFieldPhoneNumber: __VLS_WithTemplateSlots_21<DefineComponent<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_31<BentoInputFieldPhoneNumberProps>, {
8373
8389
  countries: () => CountryCode_2[];
8390
+ description: any;
8374
8391
  dynamicFiltering: boolean;
8375
8392
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
8376
8393
  blur: () => void;
@@ -8380,12 +8397,14 @@ input: (value: string) => void;
8380
8397
  "update:selected-country": (country: CountryCode_2) => void;
8381
8398
  } & {
8382
8399
  "input:valid": (value: boolean) => void;
8383
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_27<__VLS_TypePropsToRuntimeProps_27<BentoInputFieldPhoneNumberProps>, {
8400
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_31<BentoInputFieldPhoneNumberProps>, {
8384
8401
  countries: () => CountryCode_2[];
8402
+ description: any;
8385
8403
  dynamicFiltering: boolean;
8386
8404
  }>>>, {
8405
+ description: string;
8387
8406
  dynamicFiltering: boolean;
8388
- countries: CountryCode[];
8407
+ countries: Array<CountryCode>;
8389
8408
  }>, {
8390
8409
  default: (_: {}) => any;
8391
8410
  description: (_: {}) => any;
@@ -8402,7 +8421,7 @@ export declare interface BentoInputFieldPhoneNumberProps extends FormField {
8402
8421
  /**
8403
8422
  * Array of country codes to show on the dropdown
8404
8423
  */
8405
- countries?: CountryCode[];
8424
+ countries?: Array<CountryCode>;
8406
8425
  /**
8407
8426
  * Dropdown props for the small selectable dropdown menu.
8408
8427
  * Properties supported:
@@ -8423,6 +8442,10 @@ export declare interface BentoInputFieldPhoneNumberProps extends FormField {
8423
8442
  * Selected country code
8424
8443
  */
8425
8444
  selectedCountry?: CountryCode;
8445
+ /**
8446
+ * The current value of the field.
8447
+ */
8448
+ value?: string | number;
8426
8449
  }
8427
8450
 
8428
8451
  export declare interface BentoInputFieldProps {
@@ -8662,7 +8685,7 @@ export declare type BentoInpuWithDropdowntFilterValue = {
8662
8685
  * `
8663
8686
  * }
8664
8687
  */
8665
- export declare const BentoInspector: __VLS_WithTemplateSlots_21<DefineComponent<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_28<BentoInspectorProps>, {
8688
+ export declare const BentoInspector: __VLS_WithTemplateSlots_22<DefineComponent<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_32<BentoInspectorProps>, {
8666
8689
  activePage: string;
8667
8690
  expandable: boolean;
8668
8691
  isOpen: boolean;
@@ -8676,7 +8699,7 @@ pageFocusAnchor: any;
8676
8699
  "update:active-page": (value: string) => void;
8677
8700
  } & {
8678
8701
  expand: () => void;
8679
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_28<__VLS_TypePropsToRuntimeProps_28<BentoInspectorProps>, {
8702
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_32<BentoInspectorProps>, {
8680
8703
  activePage: string;
8681
8704
  expandable: boolean;
8682
8705
  isOpen: boolean;
@@ -8688,8 +8711,8 @@ pageFocusAnchor: any;
8688
8711
  isOpen: boolean;
8689
8712
  loading: boolean;
8690
8713
  size: BentoInspectorSize;
8691
- activePage: string;
8692
8714
  expandable: boolean;
8715
+ activePage: string;
8693
8716
  relativeLayout: BentoInspectorRelativeLayout;
8694
8717
  pageFocusAnchor: HTMLElement;
8695
8718
  }>, {
@@ -8792,10 +8815,10 @@ export declare enum BentoKeyboardNavigationKeyDownEvent {
8792
8815
  * `
8793
8816
  * }
8794
8817
  */
8795
- export declare const BentoLayout: __VLS_WithTemplateSlots_22<DefineComponent<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_29<BentoLayoutProps>, {
8818
+ export declare const BentoLayout: __VLS_WithTemplateSlots_23<DefineComponent<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_33<BentoLayoutProps>, {
8796
8819
  size: string;
8797
8820
  variant: string;
8798
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_29<__VLS_TypePropsToRuntimeProps_29<BentoLayoutProps>, {
8821
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_33<BentoLayoutProps>, {
8799
8822
  size: string;
8800
8823
  variant: string;
8801
8824
  }>>>, {
@@ -8838,9 +8861,9 @@ export declare interface BentoLayoutProps {
8838
8861
  * `
8839
8862
  * }
8840
8863
  */
8841
- export declare const BentoLayoutRow: __VLS_WithTemplateSlots_23<DefineComponent<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_30<BentoLayoutRowProps>, {
8864
+ export declare const BentoLayoutRow: __VLS_WithTemplateSlots_24<DefineComponent<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_34<BentoLayoutRowProps>, {
8842
8865
  columnsLayout: string;
8843
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_30<__VLS_TypePropsToRuntimeProps_30<BentoLayoutRowProps>, {
8866
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_34<BentoLayoutRowProps>, {
8844
8867
  columnsLayout: string;
8845
8868
  }>>>, {
8846
8869
  columnsLayout: BentoLayoutRowColumnLayout;
@@ -8887,12 +8910,12 @@ export declare type BentoLazyLoadType = 'automatic' | 'button' | 'none';
8887
8910
  * `
8888
8911
  * }
8889
8912
  */
8890
- export declare const BentoLink: __VLS_WithTemplateSlots_24<DefineComponent<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_31<BentoLinkProps>, {
8913
+ export declare const BentoLink: __VLS_WithTemplateSlots_25<DefineComponent<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_36<BentoLinkProps>, {
8891
8914
  target: any;
8892
8915
  variant: BentoLinkVariant;
8893
8916
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
8894
8917
  click: (clickEvent: MouseEvent) => void;
8895
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_31<__VLS_TypePropsToRuntimeProps_31<BentoLinkProps>, {
8918
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_36<BentoLinkProps>, {
8896
8919
  target: any;
8897
8920
  variant: BentoLinkVariant;
8898
8921
  }>>>, {
@@ -8946,7 +8969,7 @@ declare type BentoListboxEmptyStateProps = {
8946
8969
  action: {
8947
8970
  icon?: any;
8948
8971
  } & BentoButtonActionObject;
8949
- } & OmitStrict_2<BentoEmptyStateProps, 'variant' | 'image' | 'description'>;
8972
+ } & OmitStrict<BentoEmptyStateProps, 'variant' | 'image' | 'description'>;
8950
8973
  export { BentoListboxEmptyStateProps as BentoDropdownEmptyStateProps }
8951
8974
  export { BentoListboxEmptyStateProps }
8952
8975
 
@@ -8978,7 +9001,7 @@ declare enum BentoListboxLazyLoadType {
8978
9001
  export { BentoListboxLazyLoadType as BentoDropdownLazyLoadType }
8979
9002
  export { BentoListboxLazyLoadType }
8980
9003
 
8981
- export declare type BentoListboxMultiSelectValue = BentoListboxValue[];
9004
+ export declare type BentoListboxMultiSelectValue = Array<BentoListboxValue>;
8982
9005
 
8983
9006
  export declare interface BentoListboxOptionItem extends BentoSearchBarItem {
8984
9007
  data?: unknown;
@@ -9150,57 +9173,32 @@ export declare enum BentoLoadingButtonState {
9150
9173
  FAIL = "fail"
9151
9174
  }
9152
9175
 
9153
- export declare const BentoLoadingIndicator: DefineComponent< {
9154
- /**
9155
- * Displays the loading indicator in a small size
9156
- */
9157
- small: {
9158
- type: BooleanConstructor;
9159
- default: boolean;
9160
- };
9161
- /**
9162
- * Displays the loading indicator in a large size
9163
- */
9164
- large: {
9165
- type: BooleanConstructor;
9166
- default: boolean;
9167
- };
9168
- /**
9169
- * Displays the loading indicator in a white variant
9170
- */
9171
- inverse: {
9172
- type: BooleanConstructor;
9173
- default: boolean;
9174
- };
9175
- }, {
9176
- conditionalClasses: ComputedRef< {
9177
- 'b-loading-indicator--inverse': boolean;
9178
- 'b-loading-indicator--small': boolean;
9179
- 'b-loading-indicator--large': boolean;
9180
- }>;
9181
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, BentoLoadingIndicatorEvent[], string, Readonly<ExtractPropTypes< {
9182
- /**
9183
- * Displays the loading indicator in a small size
9184
- */
9185
- small: {
9186
- type: BooleanConstructor;
9187
- default: boolean;
9188
- };
9189
- /**
9190
- * Displays the loading indicator in a large size
9191
- */
9192
- large: {
9193
- type: BooleanConstructor;
9194
- default: boolean;
9195
- };
9196
9176
  /**
9197
- * Displays the loading indicator in a white variant
9198
- */
9199
- inverse: {
9200
- type: BooleanConstructor;
9201
- default: boolean;
9202
- };
9203
- }>>, {
9177
+ * A loading indicator component that displays a spinning animation.
9178
+ *
9179
+ * @usage
9180
+ * import { BentoLoadingIndicator } from '../..';
9181
+ *
9182
+ * export default {
9183
+ * components: { BentoLoadingIndicator },
9184
+ * template: `
9185
+ * <bento-loading-indicator :small="true" />
9186
+ * `
9187
+ * };
9188
+ */
9189
+ export declare const BentoLoadingIndicator: DefineComponent<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_35<BentoLoadingIndicatorProps>, {
9190
+ small: boolean;
9191
+ large: boolean;
9192
+ inverse: boolean;
9193
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
9194
+ "loading-start": () => void;
9195
+ } & {
9196
+ "loading-end": () => void;
9197
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_35<BentoLoadingIndicatorProps>, {
9198
+ small: boolean;
9199
+ large: boolean;
9200
+ inverse: boolean;
9201
+ }>>>, {
9204
9202
  small: boolean;
9205
9203
  large: boolean;
9206
9204
  inverse: boolean;
@@ -9211,6 +9209,21 @@ export declare enum BentoLoadingIndicatorEvent {
9211
9209
  END = "loading-end"
9212
9210
  }
9213
9211
 
9212
+ export declare interface BentoLoadingIndicatorProps {
9213
+ /**
9214
+ * Displays the loading indicator in a small size
9215
+ */
9216
+ small?: boolean;
9217
+ /**
9218
+ * Displays the loading indicator in a large size
9219
+ */
9220
+ large?: boolean;
9221
+ /**
9222
+ * Displays the loading indicator in a white variant
9223
+ */
9224
+ inverse?: boolean;
9225
+ }
9226
+
9214
9227
  /**
9215
9228
  * Menu component to render a series of buttons. Csan render nested submenus.
9216
9229
  *
@@ -9228,7 +9241,7 @@ export declare enum BentoLoadingIndicatorEvent {
9228
9241
  * />
9229
9242
  * }
9230
9243
  */
9231
- export declare const BentoMenu: __VLS_WithTemplateSlots_25<DefineComponent<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_32<BentoMenuProps>, {
9244
+ export declare const BentoMenu: __VLS_WithTemplateSlots_26<DefineComponent<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_37<BentoMenuProps>, {
9232
9245
  button: () => BentoMenuButtonProps;
9233
9246
  closeMenuOnItemSelect: boolean;
9234
9247
  disableArrowDownOpeningMenu: boolean;
@@ -9251,7 +9264,7 @@ open: () => void;
9251
9264
  "menu-item-click": () => void;
9252
9265
  } & {
9253
9266
  "click-outside": () => void;
9254
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_32<__VLS_TypePropsToRuntimeProps_32<BentoMenuProps>, {
9267
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_37<BentoMenuProps>, {
9255
9268
  button: () => BentoMenuButtonProps;
9256
9269
  closeMenuOnItemSelect: boolean;
9257
9270
  disableArrowDownOpeningMenu: boolean;
@@ -9339,7 +9352,7 @@ export declare interface BentoMenuProps {
9339
9352
  /**
9340
9353
  * The data to be displayed in the list
9341
9354
  */
9342
- data: BentoMenuItem[];
9355
+ data: Array<BentoMenuItem>;
9343
9356
  /**
9344
9357
  * Disables opening the menu when the down arrow key is pressed.
9345
9358
  */
@@ -9397,7 +9410,7 @@ export declare interface BentoMenuProps {
9397
9410
  * `
9398
9411
  * };
9399
9412
  */
9400
- export declare const BentoModal: __VLS_WithTemplateSlots_26<DefineComponent< {
9413
+ export declare const BentoModal: __VLS_WithTemplateSlots_27<DefineComponent< {
9401
9414
  /**
9402
9415
  * List of actions that will be used to render the buttons.
9403
9416
  * First element in the list will be rendered as "primary".
@@ -9735,7 +9748,7 @@ export declare enum BentoModalEvent {
9735
9748
  * `
9736
9749
  * }
9737
9750
  */
9738
- export declare const BentoModalFullscreen: __VLS_WithTemplateSlots_28<DefineComponent< {
9751
+ export declare const BentoModalFullscreen: __VLS_WithTemplateSlots_29<DefineComponent< {
9739
9752
  /**
9740
9753
  * List of actions that will be used to render the buttons.
9741
9754
  * First element in the list will be rendered as "primary".
@@ -9877,7 +9890,7 @@ contextualLabel: string;
9877
9890
  * `
9878
9891
  * }
9879
9892
  */
9880
- export declare const BentoModalFullscreenPage: __VLS_WithTemplateSlots_29<DefineComponent< {
9893
+ export declare const BentoModalFullscreenPage: __VLS_WithTemplateSlots_30<DefineComponent< {
9881
9894
  /**
9882
9895
  * List of actions that will be used to render the buttons.
9883
9896
  * First element in the list will be rendered as "primary".
@@ -10019,7 +10032,7 @@ contextualLabel: string;
10019
10032
  * `
10020
10033
  * }
10021
10034
  */
10022
- export declare const BentoModalPage: __VLS_WithTemplateSlots_27<DefineComponent<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_33<BentoModalPageProps>, {
10035
+ export declare const BentoModalPage: __VLS_WithTemplateSlots_28<DefineComponent<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_38<BentoModalPageProps>, {
10023
10036
  actions: any;
10024
10037
  actionsLabel: any;
10025
10038
  columnsSize: BentoModalColumnLayoutVariant;
@@ -10028,7 +10041,7 @@ destructiveActions: boolean;
10028
10041
  withColumnLayout: boolean;
10029
10042
  pageId: any;
10030
10043
  previousPage: any;
10031
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_33<__VLS_TypePropsToRuntimeProps_33<BentoModalPageProps>, {
10044
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_38<BentoModalPageProps>, {
10032
10045
  actions: any;
10033
10046
  actionsLabel: any;
10034
10047
  columnsSize: BentoModalColumnLayoutVariant;
@@ -10176,7 +10189,7 @@ export declare type BentoMultiCheckboxType = Array<string | number>;
10176
10189
  * `,
10177
10190
  * }
10178
10191
  */
10179
- export declare const BentoPagination: __VLS_WithTemplateSlots_30<DefineComponent<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_34<BentoPaginationProps>, {
10192
+ export declare const BentoPagination: __VLS_WithTemplateSlots_31<DefineComponent<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_39<BentoPaginationProps>, {
10180
10193
  ariaLabel: any;
10181
10194
  hasNext: any;
10182
10195
  hidePageSize: boolean;
@@ -10192,7 +10205,7 @@ navigate: (page: number, items?: number) => void;
10192
10205
  "update:page": (page: number) => void;
10193
10206
  } & {
10194
10207
  "update:size": (size: number) => void;
10195
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_34<__VLS_TypePropsToRuntimeProps_34<BentoPaginationProps>, {
10208
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_39<BentoPaginationProps>, {
10196
10209
  ariaLabel: any;
10197
10210
  hasNext: any;
10198
10211
  hidePageSize: boolean;
@@ -10258,10 +10271,10 @@ export declare interface BentoPaginationProps {
10258
10271
  * `
10259
10272
  * }
10260
10273
  */
10261
- export declare const BentoPaymentMethod: DefineComponent<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_35<BentoPaymentMethodProps>, {
10274
+ export declare const BentoPaymentMethod: DefineComponent<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_40<BentoPaymentMethodProps>, {
10262
10275
  type: string;
10263
10276
  small: boolean;
10264
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_35<__VLS_TypePropsToRuntimeProps_35<BentoPaymentMethodProps>, {
10277
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_40<BentoPaymentMethodProps>, {
10265
10278
  type: string;
10266
10279
  small: boolean;
10267
10280
  }>>>, {
@@ -10273,7 +10286,7 @@ export declare type BentoPaymentMethodListboxOptionItem = OmitStrict<BentoListbo
10273
10286
  value: string;
10274
10287
  };
10275
10288
 
10276
- export declare type BentoPaymentMethodListboxOptions = BentoPaymentMethodListboxOptionItem[];
10289
+ export declare type BentoPaymentMethodListboxOptions = Array<BentoPaymentMethodListboxOptionItem>;
10277
10290
 
10278
10291
  export declare interface BentoPaymentMethodProps {
10279
10292
  /**
@@ -11453,7 +11466,7 @@ export declare enum BentoPaymentMethodType {
11453
11466
  * `
11454
11467
  * }
11455
11468
  */
11456
- export declare const BentoPopover: __VLS_WithTemplateSlots_31<DefineComponent<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_36<BentoPopoverProps>, {
11469
+ export declare const BentoPopover: __VLS_WithTemplateSlots_32<DefineComponent<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_41<BentoPopoverProps>, {
11457
11470
  actions: any;
11458
11471
  actionsLayout: string;
11459
11472
  ariaLabel: any;
@@ -11477,7 +11490,7 @@ overflowVisible: boolean;
11477
11490
  dismiss: () => void;
11478
11491
  } & {
11479
11492
  placement: (placement: Placement) => void;
11480
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_36<__VLS_TypePropsToRuntimeProps_36<BentoPopoverProps>, {
11493
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_41<BentoPopoverProps>, {
11481
11494
  actions: any;
11482
11495
  actionsLayout: string;
11483
11496
  ariaLabel: any;
@@ -11505,7 +11518,7 @@ open: boolean;
11505
11518
  position: BentoPopoverPositions | `${BentoPopoverPositions}`;
11506
11519
  trapAll: boolean;
11507
11520
  trapAllOptions: any;
11508
- fallbackPosition: Placement[];
11521
+ fallbackPosition: Array<Placement>;
11509
11522
  fixedPositioning: boolean;
11510
11523
  ariaLabel: string;
11511
11524
  actions: BentoButtonActionsList;
@@ -11514,7 +11527,7 @@ divider: boolean;
11514
11527
  disableFocusTrap: boolean;
11515
11528
  dismissible: boolean;
11516
11529
  fitContent: boolean;
11517
- modifiers: unknown[];
11530
+ modifiers: Array<unknown>;
11518
11531
  withoutSpace: boolean;
11519
11532
  overflowVisible: boolean;
11520
11533
  }>, {
@@ -11605,7 +11618,7 @@ export declare interface BentoPopoverProps {
11605
11618
  * Useful when not using auto as starting placement.
11606
11619
  * https://floating-ui.com/docs/flip#fallbackplacements
11607
11620
  */
11608
- fallbackPosition?: Placement[];
11621
+ fallbackPosition?: Array<Placement>;
11609
11622
  /**
11610
11623
  * Sets the size of the container to fit its content
11611
11624
  */
@@ -11628,7 +11641,7 @@ export declare interface BentoPopoverProps {
11628
11641
  * @deprecated
11629
11642
  * NOTE: This property no longer functions since moving to the floating-ui framework.
11630
11643
  */
11631
- modifiers?: unknown[];
11644
+ modifiers?: Array<unknown>;
11632
11645
  /**
11633
11646
  * Popover's position relative to the target element.
11634
11647
  * Possible values are:
@@ -11689,7 +11702,7 @@ export declare interface BentoPopoverProps {
11689
11702
  * `
11690
11703
  * };
11691
11704
  */
11692
- export declare const BentoPromoBanner: __VLS_WithTemplateSlots_32<DefineComponent<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_37<BentoPromoBannerProps>, {
11705
+ export declare const BentoPromoBanner: __VLS_WithTemplateSlots_33<DefineComponent<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_42<BentoPromoBannerProps>, {
11693
11706
  actions: any;
11694
11707
  color: BentoPromoBannerColor;
11695
11708
  isDismissible: boolean;
@@ -11697,7 +11710,7 @@ dismissButtonText: any;
11697
11710
  layout: BentoPromoBannerLayout;
11698
11711
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
11699
11712
  dismiss: () => void;
11700
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_37<__VLS_TypePropsToRuntimeProps_37<BentoPromoBannerProps>, {
11713
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_42<BentoPromoBannerProps>, {
11701
11714
  actions: any;
11702
11715
  color: BentoPromoBannerColor;
11703
11716
  isDismissible: boolean;
@@ -11706,7 +11719,7 @@ layout: BentoPromoBannerLayout;
11706
11719
  }>>>, {
11707
11720
  color: `${BentoPromoBannerColor}`;
11708
11721
  layout: `${BentoPromoBannerLayout}`;
11709
- actions: BentoPromoBannerAction[];
11722
+ actions: Array<BentoPromoBannerAction>;
11710
11723
  isDismissible: boolean;
11711
11724
  dismissButtonText: string;
11712
11725
  }>, {
@@ -11763,7 +11776,7 @@ export declare interface BentoPromoBannerProps {
11763
11776
  * }]
11764
11777
  * ```
11765
11778
  */
11766
- actions?: BentoPromoBannerAction[];
11779
+ actions?: Array<BentoPromoBannerAction>;
11767
11780
  /**
11768
11781
  * Defines the color of banner's background
11769
11782
  */
@@ -11836,66 +11849,7 @@ export declare interface BentoPromoBannerProps {
11836
11849
  * }
11837
11850
  * }
11838
11851
  */
11839
- export declare const BentoRadioButton: __VLS_WithTemplateSlots_34<DefineComponent< {
11840
- /**
11841
- * Disable the radio button (optional)
11842
- */
11843
- disabled: {
11844
- type: BooleanConstructor;
11845
- default: boolean;
11846
- };
11847
- /**
11848
- * Shows bento-radio-button in error state (optional)
11849
- */
11850
- hasError: {
11851
- type: BooleanConstructor;
11852
- default: boolean;
11853
- };
11854
- /**
11855
- * This property should not be used directly.
11856
- * It will be used by v-model directive on radio component.
11857
- */
11858
- modelValue: {
11859
- type: PropType<BentoRadioButtonValue>;
11860
- default: any;
11861
- };
11862
- /**
11863
- * Sets the radio button to readonly (optional)
11864
- */
11865
- readonly: {
11866
- type: BooleanConstructor;
11867
- default: boolean;
11868
- };
11869
- /**
11870
- * Sets the properties of the BentoTag component that is placed next to the label.
11871
- * {@see BentoTag}
11872
- */
11873
- tag: {
11874
- type: PropType<BentoRadioButtonTag>;
11875
- default: any;
11876
- };
11877
- /**
11878
- * Indicates the value of the input that will be returned when it's checked
11879
- */
11880
- value: {
11881
- type: PropType<BentoRadioButtonValue>;
11882
- required: true;
11883
- };
11884
- /**
11885
- * Sets the name of the radio input.
11886
- * Used for differentiating radio groups or accessing input via form submission.
11887
- */
11888
- name: {
11889
- type: StringConstructor;
11890
- default: any;
11891
- };
11892
- }, {
11893
- focus: () => void;
11894
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
11895
- input: (value: BentoRadioButtonValue) => void;
11896
- } & {
11897
- "update:model-value": (value: BentoRadioButtonValue) => void;
11898
- }, string, Readonly<ExtractPropTypes< {
11852
+ export declare const BentoRadioButton: __VLS_WithTemplateSlots_35<DefineComponent< {
11899
11853
  /**
11900
11854
  * Disable the radio button (optional)
11901
11855
  */
@@ -11948,274 +11902,153 @@ name: {
11948
11902
  type: StringConstructor;
11949
11903
  default: any;
11950
11904
  };
11951
- }>>, {
11952
- name: string;
11953
- disabled: boolean;
11954
- tag: any;
11955
- readonly: boolean;
11956
- hasError: boolean;
11957
- modelValue: BentoRadioButtonValue;
11958
- }>, {
11959
- default: (_: {}) => any;
11960
- description: (_: {}) => any;
11961
- content: (_: {}) => any;
11962
- }>;
11963
-
11964
- export declare enum BentoRadioButtonStateClass {
11965
- DISABLED = "disabled",
11966
- READONLY = "readonly",
11967
- ERROR = "error"
11968
- }
11969
-
11970
- export declare type BentoRadioButtonTag = InstanceType<typeof BentoTag>['$props'];
11971
-
11972
- export declare type BentoRadioButtonValue = string | number;
11973
-
11974
- /**
11975
- * A radio group component should be used whenever it is necessary to use a set of radio buttons
11976
- * This component conforms to the official WAI-ARIA guidelines for grouping controls: https://www.w3.org/WAI/tutorials/forms/grouping/
11977
- *
11978
- * import { BentoRadioGroup } from '../..';
11979
- *
11980
- * export default {
11981
- * components: { BentoRadioGroup },
11982
- * template: `
11983
- * <bento-radio-group
11984
- * label="Your group label"
11985
- * :items="[
11986
- * { value: 1, label: 'Your label' },
11987
- * { value: 2, label: 'Another label', description: 'Your descriptive sub label' },
11988
- * ]"
11989
- * variant="horizontal"
11990
- * />
11991
- * `
11992
- * };
11993
- */
11994
- export declare const BentoRadioGroup: __VLS_WithTemplateSlots_33<DefineComponent< {
11995
- /**
11996
- * Descriptive supporting text visbile underneath the label.
11997
- */
11998
- description: {
11999
- type: StringConstructor;
12000
- default: any;
12001
- };
12002
- /**
12003
- * If set to true, renders all bento-radio-buttons in the group in a disabled state.
12004
- */
12005
- disabled: {
12006
- type: BooleanConstructor;
12007
- default: boolean;
12008
- };
12009
- /**
12010
- * If passed as a prop, all bento-radio-buttons in an error state and renders the string beneath the buttons.
12011
- */
12012
- errorMessage: {
12013
- type: StringConstructor;
12014
- default: any;
12015
- };
12016
- /**
12017
- * The form id the radio group is associated with. Defaults to null, as a radio group can also be used standalone.
12018
- */
12019
- formId: {
12020
- type: StringConstructor;
12021
- default: any;
12022
- };
12023
- /**
12024
- * If set to true, renders all bento-radio-buttons in the group in an error state.
12025
- *
12026
- * @deprecated Use "errorMessage" prop instead
12027
- */
12028
- hasError: {
12029
- type: BooleanConstructor;
12030
- default: boolean;
12031
- };
12032
- /**
12033
- * Shows/hides the group label.
12034
- */
12035
- hideLabel: {
12036
- type: BooleanConstructor;
12037
- default: any;
12038
- };
12039
- /**
12040
- * The radio group's items.
12041
- */
12042
- items: {
12043
- type: PropType<BentoRadioGroupItems>;
12044
- required: true;
12045
- };
12046
- /**
12047
- * The name associated with the group. Required for accessibility purposes.
12048
- */
12049
- label: {
12050
- type: StringConstructor;
12051
- required: true;
12052
- };
12053
- /**
12054
- * Determines the initially selected value of the group. Corresponds to the BentoRadioButtonItem's value.
12055
- * Defaults to no value selected.
12056
- */
12057
- modelValue: {
12058
- type: PropType<BentoRadioGroupValue>;
12059
- default: any;
12060
- };
12061
- /**
12062
- * Indicates the field is optional.
12063
- */
12064
- optional: {
12065
- type: BooleanConstructor;
12066
- default: boolean;
12067
- };
12068
- /**
12069
- * If set to true, renders all bento-radio-button in the group in a readonly state.
12070
- */
12071
- readonly: {
12072
- type: BooleanConstructor;
12073
- default: boolean;
12074
- };
12075
- /**
12076
- * Indicates the field is required.
12077
- */
12078
- required: {
12079
- type: BooleanConstructor;
12080
- default: boolean;
12081
- };
12082
- /**
12083
- * Tooltip message.
12084
- */
12085
- tooltipText: {
12086
- type: StringConstructor;
12087
- default: any;
12088
- };
12089
- /**
12090
- * The radio group's layout. It can be vertical or horizontal. Defaults to vertical.
12091
- */
12092
- variant: {
12093
- type: PropType<BentoRadioGroupVariant | `${BentoRadioGroupVariant}`>;
12094
- default: BentoRadioGroupVariant;
12095
- validator: (value: BentoRadioGroupVariant) => boolean;
12096
- };
12097
11905
  }, {
12098
11906
  focus: () => void;
12099
11907
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
12100
11908
  input: (value: BentoRadioButtonValue) => void;
12101
11909
  } & {
12102
11910
  "update:model-value": (value: BentoRadioButtonValue) => void;
12103
- }, string, Readonly<ExtractPropTypes< {
12104
- /**
12105
- * Descriptive supporting text visbile underneath the label.
12106
- */
12107
- description: {
12108
- type: StringConstructor;
12109
- default: any;
12110
- };
12111
- /**
12112
- * If set to true, renders all bento-radio-buttons in the group in a disabled state.
12113
- */
12114
- disabled: {
12115
- type: BooleanConstructor;
12116
- default: boolean;
12117
- };
12118
- /**
12119
- * If passed as a prop, all bento-radio-buttons in an error state and renders the string beneath the buttons.
12120
- */
12121
- errorMessage: {
12122
- type: StringConstructor;
12123
- default: any;
12124
- };
12125
- /**
12126
- * The form id the radio group is associated with. Defaults to null, as a radio group can also be used standalone.
12127
- */
12128
- formId: {
12129
- type: StringConstructor;
12130
- default: any;
12131
- };
12132
- /**
12133
- * If set to true, renders all bento-radio-buttons in the group in an error state.
12134
- *
12135
- * @deprecated Use "errorMessage" prop instead
12136
- */
12137
- hasError: {
12138
- type: BooleanConstructor;
12139
- default: boolean;
12140
- };
12141
- /**
12142
- * Shows/hides the group label.
12143
- */
12144
- hideLabel: {
12145
- type: BooleanConstructor;
12146
- default: any;
12147
- };
11911
+ }, string, Readonly<ExtractPropTypes< {
12148
11912
  /**
12149
- * The radio group's items.
11913
+ * Disable the radio button (optional)
12150
11914
  */
12151
- items: {
12152
- type: PropType<BentoRadioGroupItems>;
12153
- required: true;
11915
+ disabled: {
11916
+ type: BooleanConstructor;
11917
+ default: boolean;
12154
11918
  };
12155
11919
  /**
12156
- * The name associated with the group. Required for accessibility purposes.
11920
+ * Shows bento-radio-button in error state (optional)
12157
11921
  */
12158
- label: {
12159
- type: StringConstructor;
12160
- required: true;
11922
+ hasError: {
11923
+ type: BooleanConstructor;
11924
+ default: boolean;
12161
11925
  };
12162
11926
  /**
12163
- * Determines the initially selected value of the group. Corresponds to the BentoRadioButtonItem's value.
12164
- * Defaults to no value selected.
11927
+ * This property should not be used directly.
11928
+ * It will be used by v-model directive on radio component.
12165
11929
  */
12166
11930
  modelValue: {
12167
- type: PropType<BentoRadioGroupValue>;
11931
+ type: PropType<BentoRadioButtonValue>;
12168
11932
  default: any;
12169
11933
  };
12170
11934
  /**
12171
- * Indicates the field is optional.
11935
+ * Sets the radio button to readonly (optional)
12172
11936
  */
12173
- optional: {
11937
+ readonly: {
12174
11938
  type: BooleanConstructor;
12175
11939
  default: boolean;
12176
11940
  };
12177
11941
  /**
12178
- * If set to true, renders all bento-radio-button in the group in a readonly state.
11942
+ * Sets the properties of the BentoTag component that is placed next to the label.
11943
+ * {@see BentoTag}
12179
11944
  */
12180
- readonly: {
12181
- type: BooleanConstructor;
12182
- default: boolean;
11945
+ tag: {
11946
+ type: PropType<BentoRadioButtonTag>;
11947
+ default: any;
12183
11948
  };
12184
11949
  /**
12185
- * Indicates the field is required.
11950
+ * Indicates the value of the input that will be returned when it's checked
12186
11951
  */
12187
- required: {
12188
- type: BooleanConstructor;
12189
- default: boolean;
11952
+ value: {
11953
+ type: PropType<BentoRadioButtonValue>;
11954
+ required: true;
12190
11955
  };
12191
11956
  /**
12192
- * Tooltip message.
11957
+ * Sets the name of the radio input.
11958
+ * Used for differentiating radio groups or accessing input via form submission.
12193
11959
  */
12194
- tooltipText: {
11960
+ name: {
12195
11961
  type: StringConstructor;
12196
11962
  default: any;
12197
11963
  };
12198
- /**
12199
- * The radio group's layout. It can be vertical or horizontal. Defaults to vertical.
12200
- */
12201
- variant: {
12202
- type: PropType<BentoRadioGroupVariant | `${BentoRadioGroupVariant}`>;
12203
- default: BentoRadioGroupVariant;
12204
- validator: (value: BentoRadioGroupVariant) => boolean;
12205
- };
12206
11964
  }>>, {
11965
+ name: string;
11966
+ disabled: boolean;
11967
+ tag: any;
11968
+ readonly: boolean;
11969
+ hasError: boolean;
11970
+ modelValue: BentoRadioButtonValue;
11971
+ }>, {
11972
+ default: (_: {}) => any;
11973
+ description: (_: {}) => any;
11974
+ content: (_: {}) => any;
11975
+ }>;
11976
+
11977
+ export declare enum BentoRadioButtonStateClass {
11978
+ DISABLED = "disabled",
11979
+ READONLY = "readonly",
11980
+ ERROR = "error"
11981
+ }
11982
+
11983
+ export declare type BentoRadioButtonTag = InstanceType<typeof BentoTag>['$props'];
11984
+
11985
+ export declare type BentoRadioButtonValue = string | number;
11986
+
11987
+ /**
11988
+ * A radio group component should be used whenever it is necessary to use a set of radio buttons
11989
+ * This component conforms to the official WAI-ARIA guidelines for grouping controls: https://www.w3.org/WAI/tutorials/forms/grouping/
11990
+ *
11991
+ * import { BentoRadioGroup } from '../..';
11992
+ *
11993
+ * export default {
11994
+ * components: { BentoRadioGroup },
11995
+ * template: `
11996
+ * <bento-radio-group
11997
+ * label="Your group label"
11998
+ * :items="[
11999
+ * { value: 1, label: 'Your label' },
12000
+ * { value: 2, label: 'Another label', description: 'Your descriptive sub label' },
12001
+ * ]"
12002
+ * variant="horizontal"
12003
+ * />
12004
+ * `
12005
+ * };
12006
+ */
12007
+ export declare const BentoRadioGroup: __VLS_WithTemplateSlots_34<DefineComponent<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_43<BentoRadioGroupProps>, {
12008
+ description: any;
12009
+ disabled: boolean;
12010
+ errorMessage: any;
12011
+ formId: any;
12012
+ hasError: boolean;
12013
+ hideLabel: any;
12014
+ modelValue: any;
12015
+ optional: boolean;
12016
+ readonly: boolean;
12017
+ required: boolean;
12018
+ tooltipText: any;
12019
+ variant: BentoRadioGroupVariant;
12020
+ }>, {
12021
+ focus: () => void;
12022
+ }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
12023
+ input: (value: BentoRadioButtonValue) => void;
12024
+ } & {
12025
+ "update:model-value": (value: BentoRadioButtonValue) => void;
12026
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_43<BentoRadioGroupProps>, {
12027
+ description: any;
12028
+ disabled: boolean;
12029
+ errorMessage: any;
12030
+ formId: any;
12031
+ hasError: boolean;
12032
+ hideLabel: any;
12033
+ modelValue: any;
12034
+ optional: boolean;
12035
+ readonly: boolean;
12036
+ required: boolean;
12037
+ tooltipText: any;
12038
+ variant: BentoRadioGroupVariant;
12039
+ }>>>, {
12207
12040
  description: string;
12208
- variant: "horizontal" | "vertical" | BentoRadioGroupVariant;
12041
+ variant: BentoRadioGroupVariant | `${BentoRadioGroupVariant}`;
12209
12042
  required: boolean;
12210
12043
  disabled: boolean;
12211
12044
  optional: boolean;
12212
12045
  readonly: boolean;
12213
- tooltipText: string;
12214
- hideLabel: boolean;
12215
- errorMessage: string;
12216
12046
  hasError: boolean;
12217
- modelValue: BentoRadioButtonValue;
12218
- formId: string;
12047
+ modelValue: BentoRadioGroupValue | null;
12048
+ errorMessage: string;
12049
+ tooltipText: string;
12050
+ hideLabel: boolean | null;
12051
+ formId: string | null;
12219
12052
  }>, {
12220
12053
  content: (_: {}) => any;
12221
12054
  description: (_: {}) => any;
@@ -12233,6 +12066,46 @@ export declare interface BentoRadioGroupItem {
12233
12066
 
12234
12067
  export declare type BentoRadioGroupItems = Array<BentoRadioGroupItem>;
12235
12068
 
12069
+ export declare interface BentoRadioGroupProps extends FormField {
12070
+ /**
12071
+ * The form id the radio group is associated with. Defaults to null, as a radio group can also be used standalone.
12072
+ * @default null
12073
+ */
12074
+ formId?: string | null;
12075
+ /**
12076
+ * If set to true, renders all bento-radio-buttons in the group in an error state.
12077
+ * @deprecated Use "errorMessage" prop instead
12078
+ * @default false
12079
+ */
12080
+ hasError?: boolean;
12081
+ /**
12082
+ * Shows/hides the group label.
12083
+ * @default null
12084
+ */
12085
+ hideLabel?: boolean | null;
12086
+ /**
12087
+ * The radio group's items.
12088
+ * Required.
12089
+ */
12090
+ items: BentoRadioGroupItems;
12091
+ /**
12092
+ * The name associated with the group. Required for accessibility purposes.
12093
+ * Required.
12094
+ */
12095
+ label: string;
12096
+ /**
12097
+ * Determines the initially selected value of the group. Corresponds to the BentoRadioButtonItem's value.
12098
+ * Defaults to no value selected.
12099
+ * @default null
12100
+ */
12101
+ modelValue?: BentoRadioGroupValue | null;
12102
+ /**
12103
+ * The radio group's layout. It can be vertical or horizontal. Defaults to vertical.
12104
+ * @default BentoRadioGroupVariant.VERTICAL
12105
+ */
12106
+ variant?: BentoRadioGroupVariant | `${BentoRadioGroupVariant}`;
12107
+ }
12108
+
12236
12109
  export declare type BentoRadioGroupValue = BentoRadioButtonValue;
12237
12110
 
12238
12111
  /**
@@ -12267,7 +12140,7 @@ export declare type BentoRangeFilterOptions = {
12267
12140
  * `
12268
12141
  * }
12269
12142
  */
12270
- export declare const BentoRichTextEditor: DefineComponent<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_39<BentoRichTextEditorProps>, {
12143
+ export declare const BentoRichTextEditor: DefineComponent<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_45<BentoRichTextEditorProps>, {
12271
12144
  description: any;
12272
12145
  disabled: boolean;
12273
12146
  errorMessage: any;
@@ -12279,7 +12152,7 @@ tooltipText: any;
12279
12152
  value: any;
12280
12153
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
12281
12154
  input: (value: string) => void;
12282
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_39<__VLS_TypePropsToRuntimeProps_39<BentoRichTextEditorProps>, {
12155
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_45<BentoRichTextEditorProps>, {
12283
12156
  description: any;
12284
12157
  disabled: boolean;
12285
12158
  errorMessage: any;
@@ -12295,9 +12168,9 @@ description: string;
12295
12168
  label: string;
12296
12169
  required: boolean;
12297
12170
  disabled: boolean;
12171
+ errorMessage: string;
12298
12172
  tooltipText: string;
12299
12173
  hideLabel: boolean;
12300
- errorMessage: string;
12301
12174
  mode: BentoRichTextEditorMode;
12302
12175
  }>;
12303
12176
 
@@ -12391,7 +12264,7 @@ export declare interface BentoRichTextEditorProps {
12391
12264
  * }
12392
12265
  * }
12393
12266
  */
12394
- export declare const BentoSearchBar: DefineComponent<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_40<BentoSearchBarProps>, {
12267
+ export declare const BentoSearchBar: DefineComponent<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_46<BentoSearchBarProps>, {
12395
12268
  condensed: boolean;
12396
12269
  debounceTime: number;
12397
12270
  disabled: boolean;
@@ -12413,7 +12286,7 @@ clear: () => void;
12413
12286
  blur: () => void;
12414
12287
  } & {
12415
12288
  focus: () => void;
12416
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_40<__VLS_TypePropsToRuntimeProps_40<BentoSearchBarProps>, {
12289
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_46<BentoSearchBarProps>, {
12417
12290
  condensed: boolean;
12418
12291
  debounceTime: number;
12419
12292
  disabled: boolean;
@@ -12502,7 +12375,7 @@ export declare interface BentoSearchBarProps {
12502
12375
  * }
12503
12376
  * }
12504
12377
  */
12505
- export declare const BentoSecondaryNav: DefineComponent<__VLS_TypePropsToRuntimeProps_41<{
12378
+ export declare const BentoSecondaryNav: DefineComponent<__VLS_TypePropsToRuntimeProps_47<{
12506
12379
  /**
12507
12380
  * An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
12508
12381
  * which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
@@ -12515,7 +12388,7 @@ items: BentoSecondaryNavItems;
12515
12388
  value?: string;
12516
12389
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
12517
12390
  change: (category: string) => void;
12518
- }, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_41<{
12391
+ }, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_47<{
12519
12392
  /**
12520
12393
  * An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
12521
12394
  * which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
@@ -12532,7 +12405,7 @@ export declare type BentoSecondaryNavItems = Array<BentoSecondaryNavItemsItem |
12532
12405
 
12533
12406
  export declare interface BentoSecondaryNavItemsCategory {
12534
12407
  label: string;
12535
- items: BentoSecondaryNavItemsItem[];
12408
+ items: Array<BentoSecondaryNavItemsItem>;
12536
12409
  }
12537
12410
 
12538
12411
  export declare interface BentoSecondaryNavItemsItem {
@@ -12560,7 +12433,7 @@ export declare interface BentoSecondaryNavState {
12560
12433
  * `
12561
12434
  * }
12562
12435
  */
12563
- export declare const BentoSegmentedControl: DefineComponent<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_42<BentoSegmentedControlProps>, {
12436
+ export declare const BentoSegmentedControl: DefineComponent<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_48<BentoSegmentedControlProps>, {
12564
12437
  ariaLabel: any;
12565
12438
  fullWidth: boolean;
12566
12439
  wrap: boolean;
@@ -12569,7 +12442,7 @@ modelValue: any;
12569
12442
  "update:model-value": (value: any) => void;
12570
12443
  } & {
12571
12444
  input: (value: BentoSegmentedControlValue) => void;
12572
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_41<__VLS_TypePropsToRuntimeProps_42<BentoSegmentedControlProps>, {
12445
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_48<BentoSegmentedControlProps>, {
12573
12446
  ariaLabel: any;
12574
12447
  fullWidth: boolean;
12575
12448
  wrap: boolean;
@@ -12607,7 +12480,7 @@ export declare interface BentoSegmentedControlProps {
12607
12480
  /**
12608
12481
  * Items that will populate the segmented control.
12609
12482
  */
12610
- items: BentoSegmentedControlItem[];
12483
+ items: Array<BentoSegmentedControlItem>;
12611
12484
  /**
12612
12485
  * Determines the selected value of the group. Corresponds to the BentoSegmentedControlItem's value.
12613
12486
  */
@@ -12669,6 +12542,10 @@ export declare interface BentoSelectFilterOptions {
12669
12542
  * when the select filter has all items selected.
12670
12543
  */
12671
12544
  messagesPersistentButtonLabelAllSelectedKey?: string;
12545
+ /**
12546
+ * The event fire when the filter is opened.
12547
+ */
12548
+ onOpen?: () => void;
12672
12549
  lazy?: {
12673
12550
  /**
12674
12551
  * Indicates whether there are more items to load
@@ -12733,6 +12610,11 @@ export declare interface BentoSelectFilterOptions {
12733
12610
  * @default false
12734
12611
  */
12735
12612
  enableValueLabelPair?: boolean;
12613
+ /**
12614
+ * Enables a search bar that dynamically filters values
12615
+ * @default true
12616
+ */
12617
+ dynamicFiltering?: boolean;
12736
12618
  }
12737
12619
 
12738
12620
  export declare type BentoSelectFilterValue = BentoListboxSelectedValue;
@@ -12755,7 +12637,7 @@ export declare type BentoSelectFilterValue = BentoListboxSelectedValue;
12755
12637
  * `
12756
12638
  * }
12757
12639
  */
12758
- export declare const BentoSelectionCard: __VLS_WithTemplateSlots_35<DefineComponent< {
12640
+ export declare const BentoSelectionCard: __VLS_WithTemplateSlots_36<DefineComponent< {
12759
12641
  /**
12760
12642
  * The description of the selection card
12761
12643
  */
@@ -12948,7 +12830,7 @@ fullyClickable: boolean;
12948
12830
  * `,
12949
12831
  * }
12950
12832
  */
12951
- export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_36<DefineComponent< {
12833
+ export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_37<DefineComponent< {
12952
12834
  /**
12953
12835
  * Descriptive supporting text visbile underneath the label.
12954
12836
  */
@@ -13003,7 +12885,7 @@ default: string;
13003
12885
  * The selection card group's items.
13004
12886
  */
13005
12887
  items: {
13006
- type: PropType<BentoSelectionCardItem[]>;
12888
+ type: PropType<Array<BentoSelectionCardItem>>;
13007
12889
  required: true;
13008
12890
  };
13009
12891
  /**
@@ -13116,7 +12998,7 @@ default: string;
13116
12998
  * The selection card group's items.
13117
12999
  */
13118
13000
  items: {
13119
- type: PropType<BentoSelectionCardItem[]>;
13001
+ type: PropType<Array<BentoSelectionCardItem>>;
13120
13002
  required: true;
13121
13003
  };
13122
13004
  /**
@@ -13178,10 +13060,10 @@ disabled: boolean;
13178
13060
  optional: boolean;
13179
13061
  readonly: boolean;
13180
13062
  layout: BentoSelectionCardGroupLayout;
13063
+ modelValue: BentoSelectionCardModelValue;
13064
+ errorMessage: string;
13181
13065
  tooltipText: string;
13182
13066
  hideLabel: boolean;
13183
- errorMessage: string;
13184
- modelValue: BentoSelectionCardModelValue;
13185
13067
  formId: string;
13186
13068
  itemsPerRow: GridLayoutColumnWidth;
13187
13069
  }>, {
@@ -13264,7 +13146,7 @@ export declare type BentoSelectTagFilterOptions = OmitStrict<BentoSelectFilterOp
13264
13146
  * `
13265
13147
  * }
13266
13148
  */
13267
- export declare const BentoSidepanel: __VLS_WithTemplateSlots_38<DefineComponent< {
13149
+ export declare const BentoSidepanel: __VLS_WithTemplateSlots_39<DefineComponent< {
13268
13150
  /**
13269
13151
  * The id of the current active page
13270
13152
  * Should be the same id as the BentoSidepanelPage to be displayed
@@ -13392,7 +13274,7 @@ export declare enum BentoSidepanelEvent {
13392
13274
  * `
13393
13275
  * }
13394
13276
  */
13395
- export declare const BentoSidepanelPage: __VLS_WithTemplateSlots_37<DefineComponent< {
13277
+ export declare const BentoSidepanelPage: __VLS_WithTemplateSlots_38<DefineComponent< {
13396
13278
  /**
13397
13279
  * List of actions that will be used to render the buttons.
13398
13280
  * First element in the list will be rendered as "primary".
@@ -13535,7 +13417,7 @@ destructiveActions: boolean;
13535
13417
  * `
13536
13418
  * }
13537
13419
  */
13538
- export declare const BentoStatus: __VLS_WithTemplateSlots_39<DefineComponent<__VLS_TypePropsToRuntimeProps_43<BentoStatusProps>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_43<BentoStatusProps>>>, {}>, {
13420
+ export declare const BentoStatus: __VLS_WithTemplateSlots_40<DefineComponent<__VLS_TypePropsToRuntimeProps_49<BentoStatusProps>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_49<BentoStatusProps>>>, {}>, {
13539
13421
  default: (_: {}) => any;
13540
13422
  }>;
13541
13423
 
@@ -13580,7 +13462,7 @@ export declare enum BentoStatusVariant {
13580
13462
  * `
13581
13463
  * }
13582
13464
  */
13583
- export declare const BentoStep: __VLS_WithTemplateSlots_41<DefineComponent< {
13465
+ export declare const BentoStep: __VLS_WithTemplateSlots_42<DefineComponent< {
13584
13466
  /**
13585
13467
  * Completed status. Used on non-linear steppers to indicate if the step is completed.
13586
13468
  */
@@ -13637,7 +13519,7 @@ substepIndex: number;
13637
13519
  * `
13638
13520
  * }
13639
13521
  */
13640
- export declare const BentoStepper: __VLS_WithTemplateSlots_40<DefineComponent< {
13522
+ export declare const BentoStepper: __VLS_WithTemplateSlots_41<DefineComponent< {
13641
13523
  /**
13642
13524
  * Type of stepper; defines how the stepper should behave. Default: linear
13643
13525
  * @values linear, non-linear
@@ -13700,7 +13582,7 @@ export declare type BentoStepperState = Ref<{
13700
13582
  latestActiveStep: number;
13701
13583
  type: `${BentoStepperTypeOption}`;
13702
13584
  variant: `${BentoStepperVariantOption}`;
13703
- steps: HTMLElement[];
13585
+ steps: Array<HTMLElement>;
13704
13586
  isParentStep?: boolean;
13705
13587
  navigateToStep: (index: number) => void;
13706
13588
  registerStep: (stepState: BentoStepperStepExposeState) => void;
@@ -13709,7 +13591,7 @@ export declare type BentoStepperState = Ref<{
13709
13591
 
13710
13592
  export declare interface BentoStepperStepExposeState {
13711
13593
  buttonElement: HTMLButtonElement | Ref<UnwrapRef<HTMLButtonElement>>;
13712
- substeps: BentoStepperStepExposeState[] | Ref<BentoStepperStepExposeState[]>;
13594
+ substeps: Array<BentoStepperStepExposeState> | Ref<Array<BentoStepperStepExposeState>>;
13713
13595
  stepContent: string | ComputedRef<string>;
13714
13596
  }
13715
13597
 
@@ -13751,7 +13633,7 @@ declare interface BentoStickyTabsOptions {
13751
13633
  * `
13752
13634
  * }
13753
13635
  */
13754
- export declare const BentoStructuredList: __VLS_WithTemplateSlots_42<DefineComponent<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_44<{
13636
+ export declare const BentoStructuredList: __VLS_WithTemplateSlots_43<DefineComponent<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_50<{
13755
13637
  /**
13756
13638
  * Width of the labels container, in pixels. Overrides layout prop.
13757
13639
  */
@@ -13775,7 +13657,7 @@ layout?: BentoStructuredListLayoutOptions;
13775
13657
  }>, {
13776
13658
  labelsWidth: any;
13777
13659
  layout: string;
13778
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_42<__VLS_TypePropsToRuntimeProps_44<{
13660
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_50<{
13779
13661
  /**
13780
13662
  * Width of the labels container, in pixels. Overrides layout prop.
13781
13663
  */
@@ -13829,7 +13711,7 @@ labelsWidth: number;
13829
13711
  * `
13830
13712
  * }
13831
13713
  */
13832
- export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_43<DefineComponent<__VLS_TypePropsToRuntimeProps_45<{
13714
+ export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_44<DefineComponent<__VLS_TypePropsToRuntimeProps_51<{
13833
13715
  /**
13834
13716
  * Label to display for the value
13835
13717
  */
@@ -13856,7 +13738,7 @@ searchTooltip?: string;
13856
13738
  truncate?: boolean;
13857
13739
  }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
13858
13740
  copy: (value: string) => void;
13859
- }, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_45<{
13741
+ }, string, Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps_51<{
13860
13742
  /**
13861
13743
  * Label to display for the value
13862
13744
  */
@@ -13911,10 +13793,10 @@ declare const BentoStructuredListLayoutOptions: string[];
13911
13793
  * `
13912
13794
  * }
13913
13795
  */
13914
- export declare const BentoSummaryGrid: __VLS_WithTemplateSlots_44<DefineComponent<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_46<BentoSummaryGridProps>, {
13796
+ export declare const BentoSummaryGrid: __VLS_WithTemplateSlots_45<DefineComponent<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_52<BentoSummaryGridProps>, {
13915
13797
  columnWidth: any;
13916
13798
  slashedZero: boolean;
13917
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_43<__VLS_TypePropsToRuntimeProps_46<BentoSummaryGridProps>, {
13799
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_52<BentoSummaryGridProps>, {
13918
13800
  columnWidth: any;
13919
13801
  slashedZero: boolean;
13920
13802
  }>>>, {
@@ -13949,7 +13831,7 @@ export declare interface BentoSummaryGridColumnWidth {
13949
13831
  * `
13950
13832
  * }
13951
13833
  */
13952
- export declare const BentoSummaryGridItemAmount: __VLS_WithTemplateSlots_45<DefineComponent<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_47<BentoSummaryGridItemAmountProps>, {
13834
+ export declare const BentoSummaryGridItemAmount: __VLS_WithTemplateSlots_46<DefineComponent<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_53<BentoSummaryGridItemAmountProps>, {
13953
13835
  copy: any;
13954
13836
  fitContent: boolean;
13955
13837
  infoIconTooltipText: any;
@@ -13966,7 +13848,7 @@ underlineTooltipText: any;
13966
13848
  "copy-click": (event: MouseEvent) => void;
13967
13849
  } & {
13968
13850
  "info-icon-mouseenter": (event: MouseEvent) => void;
13969
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_47<BentoSummaryGridItemAmountProps>, {
13851
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_53<BentoSummaryGridItemAmountProps>, {
13970
13852
  copy: any;
13971
13853
  fitContent: boolean;
13972
13854
  infoIconTooltipText: any;
@@ -14026,7 +13908,7 @@ export declare interface BentoSummaryGridItemAmountProps extends BaseSummaryGrid
14026
13908
  * `
14027
13909
  * }
14028
13910
  */
14029
- export declare const BentoSummaryGridItemCustom: __VLS_WithTemplateSlots_49<DefineComponent<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_51<BentoSummaryGridItemCustomProps>, {
13911
+ export declare const BentoSummaryGridItemCustom: __VLS_WithTemplateSlots_50<DefineComponent<__VLS_WithDefaults_54<__VLS_TypePropsToRuntimeProps_57<BentoSummaryGridItemCustomProps>, {
14030
13912
  copy: any;
14031
13913
  infoIconTooltipText: any;
14032
13914
  fitContent: boolean;
@@ -14036,7 +13918,7 @@ underlineTooltipText: any;
14036
13918
  "copy-click": (event: MouseEvent) => void;
14037
13919
  } & {
14038
13920
  "info-icon-mouseenter": (event: MouseEvent) => void;
14039
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_48<__VLS_TypePropsToRuntimeProps_51<BentoSummaryGridItemCustomProps>, {
13921
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_54<__VLS_TypePropsToRuntimeProps_57<BentoSummaryGridItemCustomProps>, {
14040
13922
  copy: any;
14041
13923
  infoIconTooltipText: any;
14042
13924
  fitContent: boolean;
@@ -14100,7 +13982,7 @@ export declare interface BentoSummaryGridItemCustomProps {
14100
13982
  * `
14101
13983
  * }
14102
13984
  */
14103
- export declare const BentoSummaryGridItemNumeric: __VLS_WithTemplateSlots_46<DefineComponent<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_48<BentoSummaryGridItemNumericProps>, {
13985
+ export declare const BentoSummaryGridItemNumeric: __VLS_WithTemplateSlots_47<DefineComponent<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_54<BentoSummaryGridItemNumericProps>, {
14104
13986
  copy: any;
14105
13987
  fitContent: boolean;
14106
13988
  infoIconTooltipText: any;
@@ -14116,7 +13998,7 @@ underlineTooltipText: any;
14116
13998
  "copy-click": (event: MouseEvent) => void;
14117
13999
  } & {
14118
14000
  "info-icon-mouseenter": (event: MouseEvent) => void;
14119
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_45<__VLS_TypePropsToRuntimeProps_48<BentoSummaryGridItemNumericProps>, {
14001
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_51<__VLS_TypePropsToRuntimeProps_54<BentoSummaryGridItemNumericProps>, {
14120
14002
  copy: any;
14121
14003
  fitContent: boolean;
14122
14004
  infoIconTooltipText: any;
@@ -14175,7 +14057,7 @@ export declare interface BentoSummaryGridItemNumericProps extends BaseSummaryGri
14175
14057
  * `
14176
14058
  * }
14177
14059
  */
14178
- export declare const BentoSummaryGridItemPercentage: __VLS_WithTemplateSlots_47<DefineComponent<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_49<BentoSummaryGridItemPercentageProps>, {
14060
+ export declare const BentoSummaryGridItemPercentage: __VLS_WithTemplateSlots_48<DefineComponent<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_55<BentoSummaryGridItemPercentageProps>, {
14179
14061
  copy: any;
14180
14062
  fitContent: boolean;
14181
14063
  infoIconTooltipText: any;
@@ -14191,7 +14073,7 @@ underlineTooltipText: any;
14191
14073
  "copy-click": (event: MouseEvent) => void;
14192
14074
  } & {
14193
14075
  "info-icon-mouseenter": (event: MouseEvent) => void;
14194
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_46<__VLS_TypePropsToRuntimeProps_49<BentoSummaryGridItemPercentageProps>, {
14076
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_52<__VLS_TypePropsToRuntimeProps_55<BentoSummaryGridItemPercentageProps>, {
14195
14077
  copy: any;
14196
14078
  fitContent: boolean;
14197
14079
  infoIconTooltipText: any;
@@ -14256,7 +14138,7 @@ export declare enum BentoSummaryGridItemSize {
14256
14138
  * `
14257
14139
  * }
14258
14140
  */
14259
- export declare const BentoSummaryGridItemText: __VLS_WithTemplateSlots_48<DefineComponent<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_50<BentoSummaryGridItemTextProps>, {
14141
+ export declare const BentoSummaryGridItemText: __VLS_WithTemplateSlots_49<DefineComponent<__VLS_WithDefaults_53<__VLS_TypePropsToRuntimeProps_56<BentoSummaryGridItemTextProps>, {
14260
14142
  copy: any;
14261
14143
  fitContent: boolean;
14262
14144
  infoIconTooltipText: any;
@@ -14266,7 +14148,7 @@ underlineTooltipText: any;
14266
14148
  "copy-click": (event: MouseEvent) => void;
14267
14149
  } & {
14268
14150
  "info-icon-mouseenter": (event: MouseEvent) => void;
14269
- }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_47<__VLS_TypePropsToRuntimeProps_50<BentoSummaryGridItemTextProps>, {
14151
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_53<__VLS_TypePropsToRuntimeProps_56<BentoSummaryGridItemTextProps>, {
14270
14152
  copy: any;
14271
14153
  fitContent: boolean;
14272
14154
  infoIconTooltipText: any;
@@ -14358,12 +14240,12 @@ export declare interface BentoSummaryGridProps {
14358
14240
  * </bento-tabs>
14359
14241
  * </template>
14360
14242
  */
14361
- export declare const BentoTab: __VLS_WithTemplateSlots_50<DefineComponent<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_52<BentoTabProps>, {
14243
+ export declare const BentoTab: __VLS_WithTemplateSlots_51<DefineComponent<__VLS_WithDefaults_55<__VLS_TypePropsToRuntimeProps_58<BentoTabProps>, {
14362
14244
  counter: any;
14363
14245
  disabled: boolean;
14364
14246
  hidden: boolean;
14365
14247
  withNotificationIndicator: boolean;
14366
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_49<__VLS_TypePropsToRuntimeProps_52<BentoTabProps>, {
14248
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_55<__VLS_TypePropsToRuntimeProps_58<BentoTabProps>, {
14367
14249
  counter: any;
14368
14250
  disabled: boolean;
14369
14251
  hidden: boolean;
@@ -14385,7 +14267,7 @@ declare interface BentoTab_2 {
14385
14267
  disabled: Ref<boolean>;
14386
14268
  hidden: Ref<boolean>;
14387
14269
  id: string;
14388
- title: MaybeRef<string>;
14270
+ title: MaybeRef_2<string>;
14389
14271
  withNotificationIndicator: Ref<boolean>;
14390
14272
  }
14391
14273
 
@@ -14512,11 +14394,11 @@ declare enum BentoTabsEvent {
14512
14394
  ACTIVE_TAB_INDEX = "update:active-tab-index"
14513
14395
  }
14514
14396
 
14515
- export declare const BentoTag: DefineComponent<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_38<BentoTagProps>, {
14397
+ export declare const BentoTag: DefineComponent<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_44<BentoTagProps>, {
14516
14398
  label: any;
14517
14399
  truncate: any;
14518
14400
  variant: BentoTagVariant;
14519
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_38<__VLS_TypePropsToRuntimeProps_38<BentoTagProps>, {
14401
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_44<__VLS_TypePropsToRuntimeProps_44<BentoTagProps>, {
14520
14402
  label: any;
14521
14403
  truncate: any;
14522
14404
  variant: BentoTagVariant;
@@ -14530,7 +14412,7 @@ export declare type BentoTagListboxOptionItem = OmitStrict<BentoListboxOptionIte
14530
14412
  variant: BentoTagVariant | `${BentoTagVariant}`;
14531
14413
  };
14532
14414
 
14533
- export declare type BentoTagListboxOptions = BentoTagListboxOptionItem[];
14415
+ export declare type BentoTagListboxOptions = Array<BentoTagListboxOptionItem>;
14534
14416
 
14535
14417
  export declare interface BentoTagProps {
14536
14418
  /**
@@ -14573,114 +14455,23 @@ declare interface BentoTeleportProps {
14573
14455
  to?: string;
14574
14456
  }
14575
14457
 
14576
- export declare const BentoTextarea: DefineComponent< {
14577
- /**
14578
- * Text that labels an the input element
14579
- */
14580
- ariaLabel: {
14581
- type: StringConstructor;
14582
- default: any;
14583
- };
14584
- /**
14585
- * Text that shows number of characters in textarea
14586
- */
14587
- characterLimit: {
14588
- type: NumberConstructor;
14589
- default: any;
14590
- };
14591
- /**
14592
- * Text displayed as the help text of the textarea
14593
- */
14594
- description: {
14595
- type: StringConstructor;
14596
- default: string;
14597
- };
14598
- /**
14599
- * Disables the possibility of changing value in the textarea
14600
- */
14601
- disabled: {
14602
- type: BooleanConstructor;
14603
- default: boolean;
14604
- };
14605
- /**
14606
- * If set to true, shows a button to clear all the text
14607
- */
14608
- clearable: {
14609
- type: BooleanConstructor;
14610
- default: boolean;
14611
- };
14612
- /**
14613
- * Adds error text
14614
- */
14615
- errorMessage: {
14616
- type: StringConstructor;
14617
- default: string;
14618
- };
14619
- /**
14620
- * Sets the height of the textarea, e.g 200px OR 20vh
14621
- */
14622
- height: {
14623
- type: StringConstructor;
14624
- default: any;
14625
- };
14626
- /**
14627
- * Text displayed as the label of the textarea
14628
- */
14629
- label: {
14630
- type: StringConstructor;
14631
- default: string;
14632
- };
14633
- /**
14634
- * Highlights the textarea is optional.
14635
- */
14636
- optional: {
14637
- type: BooleanConstructor;
14638
- default: boolean;
14639
- };
14640
- /**
14641
- * Text displayed as the placeholder of the textarea
14642
- */
14643
- placeholder: {
14644
- type: StringConstructor;
14645
- default: string;
14646
- };
14647
- /**
14648
- * Set the textarea to read only state.
14649
- */
14650
- readonly: {
14651
- type: BooleanConstructor;
14652
- default: boolean;
14653
- };
14654
- /**
14655
- * Indicates the possibility of resize the textarea
14656
- */
14657
- resizable: {
14658
- type: PropType<BentoTextareaResizeOption | `${BentoTextareaResizeOption}`>;
14659
- default: BentoTextareaResizeOption;
14660
- validator: (value: BentoTextareaResizeOption) => boolean;
14661
- };
14662
- /**
14663
- * Highlights the textarea is required.
14664
- */
14665
- required: {
14666
- type: BooleanConstructor;
14667
- default: boolean;
14668
- };
14669
- /**
14670
- * Adds a info icon next to the label to display the passed tooltip message.
14671
- */
14672
- tooltipText: {
14673
- type: StringConstructor;
14674
- default: any;
14675
- };
14676
- /**
14677
- * Text displayed as the value of the textarea
14678
- */
14679
- value: {
14680
- type: StringConstructor;
14681
- default: string;
14682
- };
14683
- }, {
14458
+ export declare const BentoTextarea: DefineComponent<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_59<BentoTextareaProps>, {
14459
+ ariaLabel: any;
14460
+ characterLimit: any;
14461
+ description: string;
14462
+ disabled: boolean;
14463
+ clearable: boolean;
14464
+ errorMessage: string;
14465
+ height: any;
14466
+ label: string;
14467
+ optional: boolean;
14468
+ placeholder: string;
14469
+ readonly: boolean;
14470
+ resizable: string;
14471
+ required: boolean;
14472
+ tooltipText: any;
14473
+ value: string;
14474
+ }>, {
14684
14475
  focus: () => void;
14685
14476
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
14686
14477
  blur: () => void;
@@ -14698,114 +14489,23 @@ input: (value: string) => void;
14698
14489
  keydown: (event: KeyboardEvent) => void;
14699
14490
  } & {
14700
14491
  keyup: (event: KeyboardEvent) => void;
14701
- }, string, Readonly<ExtractPropTypes< {
14702
- /**
14703
- * Text that labels an the input element
14704
- */
14705
- ariaLabel: {
14706
- type: StringConstructor;
14707
- default: any;
14708
- };
14709
- /**
14710
- * Text that shows number of characters in textarea
14711
- */
14712
- characterLimit: {
14713
- type: NumberConstructor;
14714
- default: any;
14715
- };
14716
- /**
14717
- * Text displayed as the help text of the textarea
14718
- */
14719
- description: {
14720
- type: StringConstructor;
14721
- default: string;
14722
- };
14723
- /**
14724
- * Disables the possibility of changing value in the textarea
14725
- */
14726
- disabled: {
14727
- type: BooleanConstructor;
14728
- default: boolean;
14729
- };
14730
- /**
14731
- * If set to true, shows a button to clear all the text
14732
- */
14733
- clearable: {
14734
- type: BooleanConstructor;
14735
- default: boolean;
14736
- };
14737
- /**
14738
- * Adds error text
14739
- */
14740
- errorMessage: {
14741
- type: StringConstructor;
14742
- default: string;
14743
- };
14744
- /**
14745
- * Sets the height of the textarea, e.g 200px OR 20vh
14746
- */
14747
- height: {
14748
- type: StringConstructor;
14749
- default: any;
14750
- };
14751
- /**
14752
- * Text displayed as the label of the textarea
14753
- */
14754
- label: {
14755
- type: StringConstructor;
14756
- default: string;
14757
- };
14758
- /**
14759
- * Highlights the textarea is optional.
14760
- */
14761
- optional: {
14762
- type: BooleanConstructor;
14763
- default: boolean;
14764
- };
14765
- /**
14766
- * Text displayed as the placeholder of the textarea
14767
- */
14768
- placeholder: {
14769
- type: StringConstructor;
14770
- default: string;
14771
- };
14772
- /**
14773
- * Set the textarea to read only state.
14774
- */
14775
- readonly: {
14776
- type: BooleanConstructor;
14777
- default: boolean;
14778
- };
14779
- /**
14780
- * Indicates the possibility of resize the textarea
14781
- */
14782
- resizable: {
14783
- type: PropType<BentoTextareaResizeOption | `${BentoTextareaResizeOption}`>;
14784
- default: BentoTextareaResizeOption;
14785
- validator: (value: BentoTextareaResizeOption) => boolean;
14786
- };
14787
- /**
14788
- * Highlights the textarea is required.
14789
- */
14790
- required: {
14791
- type: BooleanConstructor;
14792
- default: boolean;
14793
- };
14794
- /**
14795
- * Adds a info icon next to the label to display the passed tooltip message.
14796
- */
14797
- tooltipText: {
14798
- type: StringConstructor;
14799
- default: any;
14800
- };
14801
- /**
14802
- * Text displayed as the value of the textarea
14803
- */
14804
- value: {
14805
- type: StringConstructor;
14806
- default: string;
14807
- };
14808
- }>>, {
14492
+ }, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_56<__VLS_TypePropsToRuntimeProps_59<BentoTextareaProps>, {
14493
+ ariaLabel: any;
14494
+ characterLimit: any;
14495
+ description: string;
14496
+ disabled: boolean;
14497
+ clearable: boolean;
14498
+ errorMessage: string;
14499
+ height: any;
14500
+ label: string;
14501
+ optional: boolean;
14502
+ placeholder: string;
14503
+ readonly: boolean;
14504
+ resizable: string;
14505
+ required: boolean;
14506
+ tooltipText: any;
14507
+ value: string;
14508
+ }>>>, {
14809
14509
  value: string;
14810
14510
  description: string;
14811
14511
  label: string;
@@ -14813,16 +14513,49 @@ required: boolean;
14813
14513
  disabled: boolean;
14814
14514
  optional: boolean;
14815
14515
  readonly: boolean;
14816
- height: string;
14516
+ height: string | null;
14817
14517
  ariaLabel: string;
14818
- tooltipText: string;
14819
14518
  errorMessage: string;
14519
+ tooltipText: string;
14820
14520
  characterLimit: number;
14821
14521
  placeholder: string;
14822
14522
  clearable: boolean;
14823
- resizable: "none" | "both" | "horizontal" | "vertical" | BentoTextareaResizeOption;
14523
+ resizable: BentoTextareaResizeOption | `${BentoTextareaResizeOption}`;
14824
14524
  }>;
14825
14525
 
14526
+ declare interface BentoTextareaProps extends FormField {
14527
+ /**
14528
+ * Text that labels the input element
14529
+ * @default undefined
14530
+ */
14531
+ ariaLabel?: string;
14532
+ /**
14533
+ * Text that shows number of characters in textarea
14534
+ * @default undefined
14535
+ */
14536
+ characterLimit?: number;
14537
+ /**
14538
+ * If set to true, shows a button to clear all the text
14539
+ * @default false
14540
+ */
14541
+ clearable?: boolean;
14542
+ /**
14543
+ * Sets the height of the textarea, e.g 200px OR 20vh
14544
+ * @default null
14545
+ */
14546
+ height?: string | null;
14547
+ /**
14548
+ * Indicates the possibility of resize the textarea.
14549
+ * Accepts the Enum or the string literal version.
14550
+ * @default BentoTextareaResizeOption.BOTH
14551
+ */
14552
+ resizable?: BentoTextareaResizeOption | `${BentoTextareaResizeOption}`;
14553
+ /**
14554
+ * Text displayed as the value of the textarea
14555
+ */
14556
+ value?: string;
14557
+ }
14558
+
14826
14559
  /**
14827
14560
  * @deprecated for usage with properties since version 2.0. Use the string literal instead.
14828
14561
  */
@@ -14915,127 +14648,155 @@ updateNoteContent: (newTimelineNoteContent: string) => void;
14915
14648
  addNoteToTimeline: () => void;
14916
14649
  showAddNoteTextArea: Ref<boolean>;
14917
14650
  addNoteTextareaRef: Ref<Vue3Instance< {}, Readonly<ExtractPropTypes< {
14918
- ariaLabel: {
14919
- type: StringConstructor;
14920
- default: any;
14921
- };
14922
- characterLimit: {
14923
- type: NumberConstructor;
14924
- default: any;
14651
+ value: {
14652
+ type: PropType<string>;
14653
+ } & {
14654
+ default: string;
14925
14655
  };
14926
14656
  description: {
14927
- type: StringConstructor;
14657
+ type: PropType<string>;
14658
+ } & {
14659
+ default: string;
14660
+ };
14661
+ label: {
14662
+ type: PropType<string>;
14663
+ } & {
14928
14664
  default: string;
14929
14665
  };
14666
+ required: {
14667
+ type: PropType<boolean>;
14668
+ } & {
14669
+ default: boolean;
14670
+ };
14930
14671
  disabled: {
14931
- type: BooleanConstructor;
14672
+ type: PropType<boolean>;
14673
+ } & {
14932
14674
  default: boolean;
14933
14675
  };
14934
- clearable: {
14935
- type: BooleanConstructor;
14676
+ optional: {
14677
+ type: PropType<boolean>;
14678
+ } & {
14936
14679
  default: boolean;
14937
14680
  };
14938
- errorMessage: {
14939
- type: StringConstructor;
14940
- default: string;
14681
+ readonly: {
14682
+ type: PropType<boolean>;
14683
+ } & {
14684
+ default: boolean;
14941
14685
  };
14942
14686
  height: {
14943
- type: StringConstructor;
14687
+ type: PropType<string>;
14688
+ } & {
14944
14689
  default: any;
14945
14690
  };
14946
- label: {
14947
- type: StringConstructor;
14691
+ ariaLabel: {
14692
+ type: PropType<string>;
14693
+ } & {
14694
+ default: any;
14695
+ };
14696
+ errorMessage: {
14697
+ type: PropType<string>;
14698
+ } & {
14948
14699
  default: string;
14949
14700
  };
14950
- optional: {
14951
- type: BooleanConstructor;
14952
- default: boolean;
14701
+ tooltipText: {
14702
+ type: PropType<string>;
14703
+ } & {
14704
+ default: any;
14705
+ };
14706
+ characterLimit: {
14707
+ type: PropType<number>;
14708
+ } & {
14709
+ default: any;
14953
14710
  };
14954
14711
  placeholder: {
14955
- type: StringConstructor;
14712
+ type: PropType<string>;
14713
+ } & {
14956
14714
  default: string;
14957
14715
  };
14958
- readonly: {
14959
- type: BooleanConstructor;
14716
+ clearable: {
14717
+ type: PropType<boolean>;
14718
+ } & {
14960
14719
  default: boolean;
14961
14720
  };
14962
14721
  resizable: {
14963
- type: PropType<BentoTextareaResizeOption | `${BentoTextareaResizeOption}`>;
14964
- default: BentoTextareaResizeOption;
14965
- validator: (value: BentoTextareaResizeOption) => boolean;
14966
- };
14967
- required: {
14968
- type: BooleanConstructor;
14969
- default: boolean;
14970
- };
14971
- tooltipText: {
14972
- type: StringConstructor;
14973
- default: any;
14974
- };
14975
- value: {
14976
- type: StringConstructor;
14722
+ type: PropType<"none" | "both" | "horizontal" | "vertical" | BentoTextareaResizeOption>;
14723
+ } & {
14977
14724
  default: string;
14978
14725
  };
14979
14726
  }>>, Readonly<ExtractPropTypes< {
14980
- ariaLabel: {
14981
- type: StringConstructor;
14982
- default: any;
14983
- };
14984
- characterLimit: {
14985
- type: NumberConstructor;
14986
- default: any;
14727
+ value: {
14728
+ type: PropType<string>;
14729
+ } & {
14730
+ default: string;
14987
14731
  };
14988
14732
  description: {
14989
- type: StringConstructor;
14733
+ type: PropType<string>;
14734
+ } & {
14990
14735
  default: string;
14991
14736
  };
14737
+ label: {
14738
+ type: PropType<string>;
14739
+ } & {
14740
+ default: string;
14741
+ };
14742
+ required: {
14743
+ type: PropType<boolean>;
14744
+ } & {
14745
+ default: boolean;
14746
+ };
14992
14747
  disabled: {
14993
- type: BooleanConstructor;
14748
+ type: PropType<boolean>;
14749
+ } & {
14994
14750
  default: boolean;
14995
14751
  };
14996
- clearable: {
14997
- type: BooleanConstructor;
14752
+ optional: {
14753
+ type: PropType<boolean>;
14754
+ } & {
14755
+ default: boolean;
14756
+ };
14757
+ readonly: {
14758
+ type: PropType<boolean>;
14759
+ } & {
14998
14760
  default: boolean;
14999
14761
  };
14762
+ height: {
14763
+ type: PropType<string>;
14764
+ } & {
14765
+ default: any;
14766
+ };
14767
+ ariaLabel: {
14768
+ type: PropType<string>;
14769
+ } & {
14770
+ default: any;
14771
+ };
15000
14772
  errorMessage: {
15001
- type: StringConstructor;
14773
+ type: PropType<string>;
14774
+ } & {
15002
14775
  default: string;
15003
14776
  };
15004
- height: {
15005
- type: StringConstructor;
14777
+ tooltipText: {
14778
+ type: PropType<string>;
14779
+ } & {
15006
14780
  default: any;
15007
14781
  };
15008
- label: {
15009
- type: StringConstructor;
15010
- default: string;
15011
- };
15012
- optional: {
15013
- type: BooleanConstructor;
15014
- default: boolean;
14782
+ characterLimit: {
14783
+ type: PropType<number>;
14784
+ } & {
14785
+ default: any;
15015
14786
  };
15016
14787
  placeholder: {
15017
- type: StringConstructor;
14788
+ type: PropType<string>;
14789
+ } & {
15018
14790
  default: string;
15019
14791
  };
15020
- readonly: {
15021
- type: BooleanConstructor;
14792
+ clearable: {
14793
+ type: PropType<boolean>;
14794
+ } & {
15022
14795
  default: boolean;
15023
14796
  };
15024
14797
  resizable: {
15025
- type: PropType<BentoTextareaResizeOption | `${BentoTextareaResizeOption}`>;
15026
- default: BentoTextareaResizeOption;
15027
- validator: (value: BentoTextareaResizeOption) => boolean;
15028
- };
15029
- required: {
15030
- type: BooleanConstructor;
15031
- default: boolean;
15032
- };
15033
- tooltipText: {
15034
- type: StringConstructor;
15035
- default: any;
15036
- };
15037
- value: {
15038
- type: StringConstructor;
14798
+ type: PropType<"none" | "both" | "horizontal" | "vertical" | BentoTextareaResizeOption>;
14799
+ } & {
15039
14800
  default: string;
15040
14801
  };
15041
14802
  }>>, {
@@ -15062,138 +14823,166 @@ required: boolean;
15062
14823
  disabled: boolean;
15063
14824
  optional: boolean;
15064
14825
  readonly: boolean;
15065
- height: string;
14826
+ height: string | null;
15066
14827
  ariaLabel: string;
15067
- tooltipText: string;
15068
14828
  errorMessage: string;
14829
+ tooltipText: string;
15069
14830
  characterLimit: number;
15070
14831
  placeholder: string;
15071
14832
  clearable: boolean;
15072
- resizable: "none" | "both" | "horizontal" | "vertical" | BentoTextareaResizeOption;
14833
+ resizable: BentoTextareaResizeOption | `${BentoTextareaResizeOption}`;
15073
14834
  }, true, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<ExtractPropTypes< {
15074
- ariaLabel: {
15075
- type: StringConstructor;
15076
- default: any;
15077
- };
15078
- characterLimit: {
15079
- type: NumberConstructor;
15080
- default: any;
14835
+ value: {
14836
+ type: PropType<string>;
14837
+ } & {
14838
+ default: string;
15081
14839
  };
15082
14840
  description: {
15083
- type: StringConstructor;
14841
+ type: PropType<string>;
14842
+ } & {
14843
+ default: string;
14844
+ };
14845
+ label: {
14846
+ type: PropType<string>;
14847
+ } & {
15084
14848
  default: string;
15085
14849
  };
14850
+ required: {
14851
+ type: PropType<boolean>;
14852
+ } & {
14853
+ default: boolean;
14854
+ };
15086
14855
  disabled: {
15087
- type: BooleanConstructor;
14856
+ type: PropType<boolean>;
14857
+ } & {
15088
14858
  default: boolean;
15089
14859
  };
15090
- clearable: {
15091
- type: BooleanConstructor;
14860
+ optional: {
14861
+ type: PropType<boolean>;
14862
+ } & {
15092
14863
  default: boolean;
15093
14864
  };
15094
- errorMessage: {
15095
- type: StringConstructor;
15096
- default: string;
14865
+ readonly: {
14866
+ type: PropType<boolean>;
14867
+ } & {
14868
+ default: boolean;
15097
14869
  };
15098
14870
  height: {
15099
- type: StringConstructor;
14871
+ type: PropType<string>;
14872
+ } & {
15100
14873
  default: any;
15101
14874
  };
15102
- label: {
15103
- type: StringConstructor;
14875
+ ariaLabel: {
14876
+ type: PropType<string>;
14877
+ } & {
14878
+ default: any;
14879
+ };
14880
+ errorMessage: {
14881
+ type: PropType<string>;
14882
+ } & {
15104
14883
  default: string;
15105
14884
  };
15106
- optional: {
15107
- type: BooleanConstructor;
15108
- default: boolean;
14885
+ tooltipText: {
14886
+ type: PropType<string>;
14887
+ } & {
14888
+ default: any;
14889
+ };
14890
+ characterLimit: {
14891
+ type: PropType<number>;
14892
+ } & {
14893
+ default: any;
15109
14894
  };
15110
14895
  placeholder: {
15111
- type: StringConstructor;
14896
+ type: PropType<string>;
14897
+ } & {
15112
14898
  default: string;
15113
14899
  };
15114
- readonly: {
15115
- type: BooleanConstructor;
14900
+ clearable: {
14901
+ type: PropType<boolean>;
14902
+ } & {
15116
14903
  default: boolean;
15117
14904
  };
15118
14905
  resizable: {
15119
- type: PropType<BentoTextareaResizeOption | `${BentoTextareaResizeOption}`>;
15120
- default: BentoTextareaResizeOption;
15121
- validator: (value: BentoTextareaResizeOption) => boolean;
15122
- };
15123
- required: {
15124
- type: BooleanConstructor;
15125
- default: boolean;
15126
- };
15127
- tooltipText: {
15128
- type: StringConstructor;
15129
- default: any;
15130
- };
15131
- value: {
15132
- type: StringConstructor;
14906
+ type: PropType<"none" | "both" | "horizontal" | "vertical" | BentoTextareaResizeOption>;
14907
+ } & {
15133
14908
  default: string;
15134
14909
  };
15135
14910
  }>>> & ShallowUnwrapRef< {
15136
14911
  focus: () => void;
15137
14912
  }> & ExtractComputedReturns< {}> & ComponentCustomProperties & Readonly<ExtractPropTypes< {
15138
- ariaLabel: {
15139
- type: StringConstructor;
15140
- default: any;
15141
- };
15142
- characterLimit: {
15143
- type: NumberConstructor;
15144
- default: any;
14913
+ value: {
14914
+ type: PropType<string>;
14915
+ } & {
14916
+ default: string;
15145
14917
  };
15146
14918
  description: {
15147
- type: StringConstructor;
14919
+ type: PropType<string>;
14920
+ } & {
14921
+ default: string;
14922
+ };
14923
+ label: {
14924
+ type: PropType<string>;
14925
+ } & {
15148
14926
  default: string;
15149
14927
  };
14928
+ required: {
14929
+ type: PropType<boolean>;
14930
+ } & {
14931
+ default: boolean;
14932
+ };
15150
14933
  disabled: {
15151
- type: BooleanConstructor;
14934
+ type: PropType<boolean>;
14935
+ } & {
15152
14936
  default: boolean;
15153
14937
  };
15154
- clearable: {
15155
- type: BooleanConstructor;
14938
+ optional: {
14939
+ type: PropType<boolean>;
14940
+ } & {
15156
14941
  default: boolean;
15157
14942
  };
15158
- errorMessage: {
15159
- type: StringConstructor;
15160
- default: string;
14943
+ readonly: {
14944
+ type: PropType<boolean>;
14945
+ } & {
14946
+ default: boolean;
15161
14947
  };
15162
14948
  height: {
15163
- type: StringConstructor;
14949
+ type: PropType<string>;
14950
+ } & {
15164
14951
  default: any;
15165
14952
  };
15166
- label: {
15167
- type: StringConstructor;
14953
+ ariaLabel: {
14954
+ type: PropType<string>;
14955
+ } & {
14956
+ default: any;
14957
+ };
14958
+ errorMessage: {
14959
+ type: PropType<string>;
14960
+ } & {
15168
14961
  default: string;
15169
14962
  };
15170
- optional: {
15171
- type: BooleanConstructor;
15172
- default: boolean;
14963
+ tooltipText: {
14964
+ type: PropType<string>;
14965
+ } & {
14966
+ default: any;
14967
+ };
14968
+ characterLimit: {
14969
+ type: PropType<number>;
14970
+ } & {
14971
+ default: any;
15173
14972
  };
15174
14973
  placeholder: {
15175
- type: StringConstructor;
14974
+ type: PropType<string>;
14975
+ } & {
15176
14976
  default: string;
15177
14977
  };
15178
- readonly: {
15179
- type: BooleanConstructor;
14978
+ clearable: {
14979
+ type: PropType<boolean>;
14980
+ } & {
15180
14981
  default: boolean;
15181
14982
  };
15182
14983
  resizable: {
15183
- type: PropType<BentoTextareaResizeOption | `${BentoTextareaResizeOption}`>;
15184
- default: BentoTextareaResizeOption;
15185
- validator: (value: BentoTextareaResizeOption) => boolean;
15186
- };
15187
- required: {
15188
- type: BooleanConstructor;
15189
- default: boolean;
15190
- };
15191
- tooltipText: {
15192
- type: StringConstructor;
15193
- default: any;
15194
- };
15195
- value: {
15196
- type: StringConstructor;
14984
+ type: PropType<"none" | "both" | "horizontal" | "vertical" | BentoTextareaResizeOption>;
14985
+ } & {
15197
14986
  default: string;
15198
14987
  };
15199
14988
  }>>>;
@@ -15375,9 +15164,9 @@ export declare interface BentoTimelineConfigData {
15375
15164
  showAll: Ref<boolean>;
15376
15165
  showMoreIndex: Ref<number>;
15377
15166
  hiddenItems: Ref<number>;
15378
- visibleIndexes: Ref<number[]>;
15167
+ visibleIndexes: Ref<Array<number>>;
15379
15168
  timegapLimit: Ref<BentoTimelineGapObject>;
15380
- timelineEntries: Ref<BentoTimelineEntry[]>;
15169
+ timelineEntries: Ref<Array<BentoTimelineEntry>>;
15381
15170
  }
15382
15171
 
15383
15172
  export declare type BentoTimelineDataList = Array<BentoTimelineDataListObject>;
@@ -15521,7 +15310,7 @@ timegapAriaLabel: ComputedRef<string>;
15521
15310
  isLastItem: ComputedRef<boolean>;
15522
15311
  generateUid: (value: string) => string;
15523
15312
  hasSlot: (name: string) => boolean;
15524
- t: (key: "showMore" | "showLess" | "timegap", values?: default_2.Values) => string;
15313
+ t: (key: "showMore" | "showLess" | "timegap", ...args: Array<any>) => string;
15525
15314
  }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes< {
15526
15315
  /**
15527
15316
  * Additional timestamp of the event
@@ -15697,7 +15486,7 @@ export declare type BentoToastItemsList = Array<BentoToastItem>;
15697
15486
  * `,
15698
15487
  * }
15699
15488
  */
15700
- export declare const BentoToggle: DefineComponent< {
15489
+ export declare const BentoToggle: __VLS_WithTemplateSlots_52<DefineComponent< {
15701
15490
  /**
15702
15491
  * @deprecated from version 2.0.0. Use the aria-label attribute instead.
15703
15492
  */
@@ -15738,20 +15527,9 @@ value: {
15738
15527
  type: BooleanConstructor;
15739
15528
  default: boolean;
15740
15529
  };
15741
- }, {
15742
- toggleInput: Ref<boolean>;
15743
- computedAriaLabel: ComputedRef<string>;
15744
- computedDescription: ComputedRef<string>;
15745
- defaultSlotValue: string;
15746
- descriptionSlotValue: string;
15747
- conditionalClasses: ComputedRef< {
15748
- [key: string]: boolean;
15749
- }>;
15750
- descriptionId: string;
15751
- hasSlot: (name: string) => boolean;
15752
- onChange: (event: Event) => void;
15753
- onClick: (event: Event) => void;
15754
- }, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "input"[], string, Readonly<ExtractPropTypes< {
15530
+ }, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
15531
+ input: (value: boolean) => void;
15532
+ }, string, Readonly<ExtractPropTypes< {
15755
15533
  /**
15756
15534
  * @deprecated from version 2.0.0. Use the aria-label attribute instead.
15757
15535
  */
@@ -15798,6 +15576,9 @@ disabled: boolean;
15798
15576
  readonly: boolean;
15799
15577
  ariaLabel: string;
15800
15578
  labelPosition: "after" | "before" | BentoToggleLabelPosition;
15579
+ }>, {
15580
+ default: (_: {}) => any;
15581
+ description: (_: {}) => any;
15801
15582
  }>;
15802
15583
 
15803
15584
  /**
@@ -16025,9 +15806,9 @@ default: any;
16025
15806
  *
16026
15807
  */
16027
15808
  steps: {
16028
- type: PropType<BentoTutorialStep[]>;
15809
+ type: PropType<Array<BentoTutorialStep>>;
16029
15810
  required: true;
16030
- validator: (value: BentoTutorialStep[]) => boolean;
15811
+ validator: (value: Array<BentoTutorialStep>) => boolean;
16031
15812
  };
16032
15813
  /**
16033
15814
  * Options to control the scroll into view behavior.
@@ -16053,9 +15834,9 @@ default: any;
16053
15834
  *
16054
15835
  */
16055
15836
  steps: {
16056
- type: PropType<BentoTutorialStep[]>;
15837
+ type: PropType<Array<BentoTutorialStep>>;
16057
15838
  required: true;
16058
- validator: (value: BentoTutorialStep[]) => boolean;
15839
+ validator: (value: Array<BentoTutorialStep>) => boolean;
16059
15840
  };
16060
15841
  /**
16061
15842
  * Options to control the scroll into view behavior.
@@ -16100,7 +15881,7 @@ export declare interface BentoTutorialStep {
16100
15881
  * `
16101
15882
  * }
16102
15883
  */
16103
- export declare const BentoTypography: __VLS_WithTemplateSlots_51<DefineComponent<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_53<{
15884
+ export declare const BentoTypography: __VLS_WithTemplateSlots_53<DefineComponent<__VLS_WithDefaults_57<__VLS_TypePropsToRuntimeProps_60<{
16104
15885
  /**
16105
15886
  * Sets the HTML DOM element.
16106
15887
  * @values h1, h2, h3, h4, h5, h6, div, p, span
@@ -16148,7 +15929,7 @@ stronger: boolean;
16148
15929
  strongest: boolean;
16149
15930
  variant: BentoTypographyVariant;
16150
15931
  wide: boolean;
16151
- }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_50<__VLS_TypePropsToRuntimeProps_53<{
15932
+ }>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, Readonly<ExtractPropTypes<__VLS_WithDefaults_57<__VLS_TypePropsToRuntimeProps_60<{
16152
15933
  /**
16153
15934
  * Sets the HTML DOM element.
16154
15935
  * @values h1, h2, h3, h4, h5, h6, div, p, span
@@ -16315,7 +16096,7 @@ declare interface DateRangePickerCalendarRangeSelectorItem {
16315
16096
 
16316
16097
  declare type DateRangePickerCalendarRangeSelectorItems = Array<DateRangePickerCalendarRangeSelectorItem>;
16317
16098
 
16318
- declare type DropdownProps = InstanceType<typeof BentoDropdown>['$props'];
16099
+ declare type DropdownProps = BentoDropdownProps;
16319
16100
 
16320
16101
  declare type Element_2 = HTMLElement & {
16321
16102
  __onClickOutside_stop?: () => void;
@@ -16340,51 +16121,43 @@ export declare type Expand<T> = T extends infer O ? {
16340
16121
  */
16341
16122
  export declare type Fn = () => void;
16342
16123
 
16343
- declare interface FormField {
16124
+ export declare interface FormField {
16125
+ /**
16126
+ * If set, displays a description text for the input.
16127
+ */
16128
+ description?: string;
16344
16129
  /**
16345
16130
  * If true, disables user interaction with the field.
16346
16131
  */
16347
16132
  disabled?: boolean;
16348
-
16349
16133
  /**
16350
16134
  * If set, displays an error message and applies error styling to the field.
16351
16135
  */
16352
16136
  errorMessage?: string;
16353
-
16354
16137
  /**
16355
16138
  * The text label displayed for the field.
16356
16139
  */
16357
16140
  label?: string;
16358
-
16359
16141
  /**
16360
16142
  * If true, indicates that the field is optional.
16361
16143
  */
16362
16144
  optional?: boolean;
16363
-
16364
16145
  /**
16365
16146
  * The placeholder text displayed when the field is empty.
16366
16147
  */
16367
16148
  placeholder?: string;
16368
-
16369
16149
  /**
16370
16150
  * If true, makes the field's value readonly, preventing user modification.
16371
16151
  */
16372
16152
  readonly?: boolean;
16373
-
16374
16153
  /**
16375
16154
  * If true, indicates that the field is required.
16376
16155
  */
16377
16156
  required?: boolean;
16378
-
16379
16157
  /**
16380
16158
  * If set, displays an info icon with this tooltip message next to the label.
16381
16159
  */
16382
16160
  tooltipText?: string;
16383
-
16384
- /**
16385
- * The current value of the field.
16386
- */
16387
- value?: string | number;
16388
16161
  }
16389
16162
 
16390
16163
  declare interface GridLayoutColumnWidth {
@@ -16476,6 +16249,13 @@ export declare type MaybeReadonlyRef<T> = (() => T) | ComputedRef<T>;
16476
16249
  */
16477
16250
  export declare type MaybeRef<T> = T | Ref<T> | Ref<UnwrapRef<T>>;
16478
16251
 
16252
+ /**
16253
+ * As recommmended by the vue community to use this type when you are not sure
16254
+ * if the argument is a ref.
16255
+ * Source: https://github.com/vueuse/vueuse/blob/main/packages/shared/utils/types.ts#L28
16256
+ */
16257
+ declare type MaybeRef_2<T> = T | Ref<T>;
16258
+
16479
16259
  /**
16480
16260
  * Validates if the length of the provided value is greater than or equal to the specified length.
16481
16261
  *
@@ -16487,15 +16267,13 @@ export declare function minLength(value: BentoInputFieldValue, length?: number):
16487
16267
 
16488
16268
  export declare type OmitStrict<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
16489
16269
 
16490
- declare type OmitStrict_2<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
16491
-
16492
16270
  declare type OnClickOutsideHandler = (evt: PointerEvent | FocusEvent) => void;
16493
16271
 
16494
16272
  declare interface OnClickOutsideOptions {
16495
16273
  /**
16496
16274
  * List of elements that should not trigger the event.
16497
16275
  */
16498
- ignore?: (MaybeElementRef | string)[];
16276
+ ignore?: Array<MaybeElementRef | string>;
16499
16277
  /**
16500
16278
  * Use capturing phase for internal event listener.
16501
16279
  * @default true
@@ -16610,6 +16388,63 @@ export declare interface ToastStack {
16610
16388
  */
16611
16389
  export declare function toTypedSchema<T extends ZodSchema>(formSchema: T): T;
16612
16390
 
16391
+ /**
16392
+ * A composable to wire the `bento-base-filter` component for the mandatory fields and events.
16393
+ *
16394
+ * @usage
16395
+ * ```vue
16396
+ * <template>
16397
+ * <bento-base-filter
16398
+ * :disable-apply-button="isApplyButtonDisabled"
16399
+ * :disable-secondary-button="isSecondaryButtonDisabled"
16400
+ * @ apply="updateFilter"
16401
+ * @ clear="clearFilter(updateFilter)"
16402
+ * @ open="openFilter"
16403
+ * @ reset="resetFilter(updateFilter)"
16404
+ * >
16405
+ * <!-- CONTENT HERE -->
16406
+ * </bento-base-filter>
16407
+ * </template>
16408
+ * <script>
16409
+ * import { ref } from 'vue'
16410
+ * import { useBentoBaseFilter, BentoBaseFilter, BentoBaseFilterProps } from '../..'
16411
+ *
16412
+ * type CustomFilterValue = boolean
16413
+ * const props = defineProps<BentoBaseFilterProps<CustomFilterValue>>();
16414
+ *
16415
+ * const {
16416
+ * // Values
16417
+ * internalFilterValue,
16418
+ * isSecondaryButtonDisabled,
16419
+ * isApplyButtonDisabled,
16420
+ *
16421
+ * // Methods
16422
+ * clearFilter,
16423
+ * resetFilter,
16424
+ * openFilter,
16425
+ * } = useBentoBaseFilter<CustomFilterValue>(toRef(props, 'value'), toRef(props, 'defaultValue'));
16426
+ * </script>
16427
+ * ```
16428
+ *
16429
+ * @param appliedFilter The currently applied filter value.
16430
+ * @param defaultFilter The default filter value (if available).
16431
+ * @returns An object containing refs and functions:
16432
+ * - `internalFilterValue`: The temporary state of the filter before it's applied.
16433
+ * - `isSecondaryButtonDisabled`: `true` if the secondary (clear/reset) button should be disabled.
16434
+ * - `isApplyButtonDisabled`: `true` if the apply button should be disabled.
16435
+ * - `clearFilter`: Clears the filter to its initial or default state.
16436
+ * - `resetFilter`: Resets the filter to its default state.
16437
+ * - `openFilter`: Syncs the internal state with the applied filter.
16438
+ */
16439
+ export declare function useBentoBaseFilter<T>(appliedFilter: Ref<T>, defaultFilter: Ref<T>): {
16440
+ internalFilterValue: Ref<T>;
16441
+ isSecondaryButtonDisabled: ComputedRef<boolean>;
16442
+ isApplyButtonDisabled: ComputedRef<boolean>;
16443
+ clearFilter: (callback?: (newValue: T) => void) => void;
16444
+ resetFilter: (callback?: (newValue: T) => void) => void;
16445
+ openFilter: (callback?: (newValue: T) => void) => void;
16446
+ };
16447
+
16613
16448
  export declare interface UseBentoTheme {
16614
16449
  getTheme: () => string;
16615
16450
  setTheme: (theme: BentoTheme | `${BentoTheme}`) => void;
@@ -16655,14 +16490,14 @@ export declare const useClickOutside: <T extends OnClickOutsideOptions>(target:
16655
16490
  *
16656
16491
  * @returns a translated country name
16657
16492
  */
16658
- export declare const useCountryCapital: (code: MaybeRef<string>, locale: MaybeRef<string>, useFallback?: boolean) => ComputedRef<string>;
16493
+ export declare const useCountryCapital: (code: MaybeRef_2<string>, locale: MaybeRef_2<string>, useFallback?: boolean) => ComputedRef<string>;
16659
16494
 
16660
16495
  /**
16661
16496
  * Maps an ISO code to it's translated country name.
16662
16497
  *
16663
16498
  * @returns a translated country name
16664
16499
  */
16665
- export declare const useCountryName: (code: MaybeRef<string>, locale: MaybeRef<string>, useFallback?: boolean) => ComputedRef<string>;
16500
+ export declare const useCountryName: (code: MaybeRef_2<string>, locale: MaybeRef_2<string>, useFallback?: boolean) => ComputedRef<string>;
16666
16501
 
16667
16502
  /**
16668
16503
  * Retrieves a country's phone number code.
@@ -16670,7 +16505,7 @@ export declare const useCountryName: (code: MaybeRef<string>, locale: MaybeRef<s
16670
16505
  * @param countryCode 2 character code in ISO 3166-1 alpha-2 format
16671
16506
  * @returns Country's phone code
16672
16507
  */
16673
- export declare const useCountryPhoneCode: (countryCode: MaybeRef<string>) => ComputedRef<string>;
16508
+ export declare const useCountryPhoneCode: (countryCode: MaybeRef_2<string>) => ComputedRef<string>;
16674
16509
 
16675
16510
  /**
16676
16511
  * useForm composable configuration object
@@ -16725,7 +16560,7 @@ export declare interface UseForm<T> {
16725
16560
  */
16726
16561
  export declare function useForm<T extends ZodSchema>({ validationSchema, }: UseForm<T>): {
16727
16562
  errorBag: Ref<{
16728
- [P in allKeys<(typeof validationSchema)['_type']>]?: string[];
16563
+ [P in allKeys<(typeof validationSchema)['_type']>]?: Array<string>;
16729
16564
  }>;
16730
16565
  errors: Ref<{
16731
16566
  [P in allKeys<(typeof validationSchema)['_type']>]?: string;
@@ -16744,7 +16579,7 @@ export declare function useForm<T extends ZodSchema>({ validationSchema, }: UseF
16744
16579
  * @returns {Ref<BentoSearchBarData>} New instance of the array filtered by the {@param searchTerm} text
16745
16580
  * @param {Ref<Boolean>} ignoreGroups - Boolean that determines if search returns items with subitems
16746
16581
  */
16747
- export declare function useSearchBarFilter<T extends BentoSearchBarItem>(searchTerm: Ref<string>, data: Ref<T[]>, searchEvent?: (searchValue: string) => void, ignoreGroups?: Ref<boolean>): ComputedRef<any>;
16582
+ export declare function useSearchBarFilter<T extends BentoSearchBarItem>(searchTerm: Ref<string>, data: Ref<Array<T>>, searchEvent?: (searchValue: string) => void, ignoreGroups?: Ref<boolean>): ComputedRef<any>;
16748
16583
 
16749
16584
  declare type UseVirtualListItemHeight = number | ((index: number) => number);
16750
16585
 
@@ -16757,6 +16592,6 @@ export declare type VueInstance = ComponentPublicInstance;
16757
16592
  * type Vue | Element | (Vue | Element)[] | undefined
16758
16593
  * ```
16759
16594
  */
16760
- export declare type VueNodeElement = Component | Element | (Component | Element)[] | undefined;
16595
+ export declare type VueNodeElement = Component | Element | Array<Component | Element> | undefined;
16761
16596
 
16762
16597
  export { }