@adyen/bento-vue2 1.41.0 → 1.43.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 (196) hide show
  1. package/dist/@types/components.d.ts +4 -0
  2. package/dist/@types/index.d.ts +492 -54
  3. package/dist/action-bar.js +1 -1
  4. package/dist/alert.js +1 -1
  5. package/dist/assets/accordion-item.css +1 -1
  6. package/dist/assets/action-bar.css +1 -1
  7. package/dist/assets/base-modal.css +1 -1
  8. package/dist/assets/card.css +1 -1
  9. package/dist/assets/data-grid.css +1 -1
  10. package/dist/assets/date-range-picker.css +1 -1
  11. package/dist/assets/dialog-page.css +1 -1
  12. package/dist/assets/file-uploader.css +1 -0
  13. package/dist/assets/filter-bar.css +1 -1
  14. package/dist/assets/input-field-password.css +1 -0
  15. package/dist/assets/input-field.css +1 -1
  16. package/dist/assets/inspector.css +1 -1
  17. package/dist/assets/menu.css +1 -1
  18. package/dist/assets/modal-fullscreen.css +1 -1
  19. package/dist/assets/popover.css +1 -1
  20. package/dist/assets/sidepanel.css +1 -1
  21. package/dist/assets/step.css +1 -1
  22. package/dist/assets/tooltip.css +1 -1
  23. package/dist/assets/typography.css +1 -1
  24. package/dist/button.js +2 -2
  25. package/dist/card.js +1 -1
  26. package/dist/checkbox.js +2 -2
  27. package/dist/chunks/{action-bar.r05wfyni.js → action-bar.kPPYSgQK.js} +5 -5
  28. package/dist/chunks/{action-bar.r05wfyni.js.map → action-bar.kPPYSgQK.js.map} +1 -1
  29. package/dist/chunks/{alert.Y4JUnmhl.js → alert.D2Z_aiFC.js} +19 -19
  30. package/dist/chunks/{alert.Y4JUnmhl.js.map → alert.D2Z_aiFC.js.map} +1 -1
  31. package/dist/chunks/{base-modal.SJX9uGT4.js → base-modal.DroVbSCn.js} +2 -2
  32. package/dist/chunks/{base-modal.SJX9uGT4.js.map → base-modal.DroVbSCn.js.map} +1 -1
  33. package/dist/chunks/{button-actions-with-menu.DZOHTxUi.js → button-actions-with-menu.dp6C-PKX.js} +4 -4
  34. package/dist/chunks/{button-actions-with-menu.DZOHTxUi.js.map → button-actions-with-menu.dp6C-PKX.js.map} +1 -1
  35. package/dist/chunks/{button-actions.BJMK3kZC.js → button-actions.Cpx4PQp0.js} +2 -2
  36. package/dist/chunks/{button-actions.BJMK3kZC.js.map → button-actions.Cpx4PQp0.js.map} +1 -1
  37. package/dist/chunks/{card.Cfj-r6CX.js → card.BcjxzwZV.js} +2 -2
  38. package/dist/chunks/{card.Cfj-r6CX.js.map → card.BcjxzwZV.js.map} +1 -1
  39. package/dist/chunks/{checkbox-group.BEI5FPnW.js → checkbox-group.Bcqac3y8.js} +4 -4
  40. package/dist/chunks/{checkbox-group.BEI5FPnW.js.map → checkbox-group.Bcqac3y8.js.map} +1 -1
  41. package/dist/chunks/{checkbox.5uVM-HLg.js → checkbox.B1qjI4R_.js} +3 -3
  42. package/dist/chunks/{checkbox.5uVM-HLg.js.map → checkbox.B1qjI4R_.js.map} +1 -1
  43. package/dist/chunks/{checkmark-circle-fill.DVl6QSwm.js → checkmark-circle-fill.Cn7JN_Tk.js} +5 -5
  44. package/dist/chunks/{checkmark-circle-fill.DVl6QSwm.js.map → checkmark-circle-fill.Cn7JN_Tk.js.map} +1 -1
  45. package/dist/chunks/{code-snippet.DRH4X9pH.js → code-snippet.DuZDA7gH.js} +5 -5
  46. package/dist/chunks/{code-snippet.DRH4X9pH.js.map → code-snippet.DuZDA7gH.js.map} +1 -1
  47. package/dist/chunks/{controls-group.Sni8leS5.js → controls-group.J8shO_JL.js} +2 -2
  48. package/dist/chunks/{controls-group.Sni8leS5.js.map → controls-group.J8shO_JL.js.map} +1 -1
  49. package/dist/chunks/{copy.C5j6vSQT.js → copy.DgzxvExj.js} +2 -2
  50. package/dist/chunks/{copy.C5j6vSQT.js.map → copy.DgzxvExj.js.map} +1 -1
  51. package/dist/chunks/{dashboard-section.DchlD4B2.js → dashboard-section.CExqPbQb.js} +3 -3
  52. package/dist/chunks/{dashboard-section.DchlD4B2.js.map → dashboard-section.CExqPbQb.js.map} +1 -1
  53. package/dist/chunks/{dashed-underline.6Aw4MP34.js → dashed-underline.dGO33Q_E.js} +3 -3
  54. package/dist/chunks/{dashed-underline.6Aw4MP34.js.map → dashed-underline.dGO33Q_E.js.map} +1 -1
  55. package/dist/chunks/{data-grid-template.Bhotcrsr.js → data-grid-template.BF7JMfoJ.js} +2 -2
  56. package/dist/chunks/{data-grid-template.Bhotcrsr.js.map → data-grid-template.BF7JMfoJ.js.map} +1 -1
  57. package/dist/chunks/data-grid.BXB98JQr.js +2556 -0
  58. package/dist/chunks/data-grid.BXB98JQr.js.map +1 -0
  59. package/dist/chunks/{date-picker.lFLlAGXs.js → date-picker.Dfg1_eo6.js} +3 -3
  60. package/dist/chunks/{date-picker.lFLlAGXs.js.map → date-picker.Dfg1_eo6.js.map} +1 -1
  61. package/dist/chunks/{date-range-picker.Cr_YCwxP.js → date-range-picker.xYGf0SRg.js} +180 -177
  62. package/dist/chunks/date-range-picker.xYGf0SRg.js.map +1 -0
  63. package/dist/chunks/dot.BCX4w7eT.js +24 -0
  64. package/dist/chunks/dot.BCX4w7eT.js.map +1 -0
  65. package/dist/chunks/{dropdown-tag.BPkMWSmY.js → dropdown-tag.B4RMse5R.js} +3 -3
  66. package/dist/chunks/{dropdown-tag.BPkMWSmY.js.map → dropdown-tag.B4RMse5R.js.map} +1 -1
  67. package/dist/chunks/{dropdown.D8xKm1YA.js → dropdown.BfzsI2Th.js} +4 -4
  68. package/dist/chunks/{dropdown.D8xKm1YA.js.map → dropdown.BfzsI2Th.js.map} +1 -1
  69. package/dist/chunks/{error-message.Bk2maRF8.js → error-message.B7uoqQpq.js} +2 -2
  70. package/dist/chunks/{error-message.Bk2maRF8.js.map → error-message.B7uoqQpq.js.map} +1 -1
  71. package/dist/chunks/es6.b4enG1py.js.map +1 -1
  72. package/dist/chunks/file-uploader.CK-Frs_q.js +728 -0
  73. package/dist/chunks/file-uploader.CK-Frs_q.js.map +1 -0
  74. package/dist/chunks/{filter-bar.dQZY8j9C.js → filter-bar.hBPWastb.js} +702 -697
  75. package/dist/chunks/filter-bar.hBPWastb.js.map +1 -0
  76. package/dist/chunks/{footer-actions.B68XcD93.js → footer-actions.DwnLB4NW.js} +2 -2
  77. package/dist/chunks/{footer-actions.B68XcD93.js.map → footer-actions.DwnLB4NW.js.map} +1 -1
  78. package/dist/chunks/{form-layout-title.Cd2WlefD.js → form-layout-title.BarHgyjC.js} +2 -2
  79. package/dist/chunks/{form-layout-title.Cd2WlefD.js.map → form-layout-title.BarHgyjC.js.map} +1 -1
  80. package/dist/chunks/{header.DwTrDlSa.js → header.CAJtHW1k.js} +4 -4
  81. package/dist/chunks/{header.DwTrDlSa.js.map → header.CAJtHW1k.js.map} +1 -1
  82. package/dist/chunks/index.Gcw_BUVh.js +367 -0
  83. package/dist/chunks/index.Gcw_BUVh.js.map +1 -0
  84. package/dist/chunks/{info-icon.CCR-cAFR.js → info-icon.p-28zHUJ.js} +2 -2
  85. package/dist/chunks/{info-icon.CCR-cAFR.js.map → info-icon.p-28zHUJ.js.map} +1 -1
  86. package/dist/chunks/input-field-password.BmfOGkrH.js +191 -0
  87. package/dist/chunks/input-field-password.BmfOGkrH.js.map +1 -0
  88. package/dist/chunks/{input-field.CKOdyDVy.js → input-field.CHD3Fzzg.js} +37 -35
  89. package/dist/chunks/input-field.CHD3Fzzg.js.map +1 -0
  90. package/dist/chunks/{layout-row.CtFsZ5-v.js → layout-row.DzS_XyyF.js} +2 -2
  91. package/dist/chunks/{layout-row.CtFsZ5-v.js.map → layout-row.DzS_XyyF.js.map} +1 -1
  92. package/dist/chunks/{listbox-option-tag.CuHL51H9.js → listbox-option-tag.BnX0H4HE.js} +2 -2
  93. package/dist/chunks/{listbox-option-tag.CuHL51H9.js.map → listbox-option-tag.BnX0H4HE.js.map} +1 -1
  94. package/dist/chunks/{loading-button.2h9RXXIZ.js → loading-button.CiPmvU7F.js} +2 -2
  95. package/dist/chunks/{loading-button.2h9RXXIZ.js.map → loading-button.CiPmvU7F.js.map} +1 -1
  96. package/dist/chunks/{menu.DEeyofbM.js → menu.N41WnXc8.js} +2 -2
  97. package/dist/chunks/{menu.DEeyofbM.js.map → menu.N41WnXc8.js.map} +1 -1
  98. package/dist/chunks/{modal-fullscreen.Ct4aitSv.js → modal-fullscreen.BbNe6M9T.js} +2 -2
  99. package/dist/chunks/{modal-fullscreen.Ct4aitSv.js.map → modal-fullscreen.BbNe6M9T.js.map} +1 -1
  100. package/dist/chunks/{modal.tUtoM34X.js → modal.Cb4zg5fN.js} +4 -4
  101. package/dist/chunks/{modal.tUtoM34X.js.map → modal.Cb4zg5fN.js.map} +1 -1
  102. package/dist/chunks/{pagination.CqrSR1Md.js → pagination.DORr-ox0.js} +2 -2
  103. package/dist/chunks/{pagination.CqrSR1Md.js.map → pagination.DORr-ox0.js.map} +1 -1
  104. package/dist/chunks/{popover.BcWFpCY_.js → popover.Uy-vuQq5.js} +2 -2
  105. package/dist/chunks/{popover.BcWFpCY_.js.map → popover.Uy-vuQq5.js.map} +1 -1
  106. package/dist/chunks/{promo-banner.NSOVGA7M.js → promo-banner.cTUF9seG.js} +2 -2
  107. package/dist/chunks/{promo-banner.NSOVGA7M.js.map → promo-banner.cTUF9seG.js.map} +1 -1
  108. package/dist/chunks/{radio-group.DtlPzh_w.js → radio-group.EnMXbuly.js} +4 -4
  109. package/dist/chunks/{radio-group.DtlPzh_w.js.map → radio-group.EnMXbuly.js.map} +1 -1
  110. package/dist/chunks/{search-bar.CN9pWrLP.js → search-bar.BtFX4039.js} +3 -3
  111. package/dist/chunks/{search-bar.CN9pWrLP.js.map → search-bar.BtFX4039.js.map} +1 -1
  112. package/dist/chunks/{secondary-nav.DMw1l7rH.js → secondary-nav.DtnWRhFW.js} +3 -3
  113. package/dist/chunks/{secondary-nav.DMw1l7rH.js.map → secondary-nav.DtnWRhFW.js.map} +1 -1
  114. package/dist/chunks/{segmented-control.uVH5ahVY.js → segmented-control.CVeUROYR.js} +2 -2
  115. package/dist/chunks/{segmented-control.uVH5ahVY.js.map → segmented-control.CVeUROYR.js.map} +1 -1
  116. package/dist/chunks/{selection-card-group.BjOuUbQD.js → selection-card-group.B6XXbJsv.js} +4 -4
  117. package/dist/chunks/{selection-card-group.BjOuUbQD.js.map → selection-card-group.B6XXbJsv.js.map} +1 -1
  118. package/dist/chunks/show.IEAxtCB7.js +43 -0
  119. package/dist/chunks/show.IEAxtCB7.js.map +1 -0
  120. package/dist/chunks/{sidepanel.BjrsqXLl.js → sidepanel.CRJN9Acz.js} +2 -2
  121. package/dist/chunks/{sidepanel.BjrsqXLl.js.map → sidepanel.CRJN9Acz.js.map} +1 -1
  122. package/dist/chunks/step.5g9BIi15.js +217 -0
  123. package/dist/chunks/step.5g9BIi15.js.map +1 -0
  124. package/dist/chunks/{structured-list-item.CAcBJutf.js → structured-list-item.BEhWyaVP.js} +4 -4
  125. package/dist/chunks/{structured-list-item.CAcBJutf.js.map → structured-list-item.BEhWyaVP.js.map} +1 -1
  126. package/dist/chunks/{summary-grid-item-custom.CPprUptt.js → summary-grid-item-custom.CSXo4NjY.js} +4 -4
  127. package/dist/chunks/{summary-grid-item-custom.CPprUptt.js.map → summary-grid-item-custom.CSXo4NjY.js.map} +1 -1
  128. package/dist/chunks/{tag.DSFSfnAf.js → tag.wTXg-O7i.js} +2 -2
  129. package/dist/chunks/{tag.DSFSfnAf.js.map → tag.wTXg-O7i.js.map} +1 -1
  130. package/dist/chunks/{textarea.B4MZ_pi1.js → textarea.Y3yd_3ll.js} +2 -2
  131. package/dist/chunks/{textarea.B4MZ_pi1.js.map → textarea.Y3yd_3ll.js.map} +1 -1
  132. package/dist/chunks/{timeline-item.CxB3KFiu.js → timeline-item.CCV4U3Zx.js} +5 -5
  133. package/dist/chunks/{timeline-item.CxB3KFiu.js.map → timeline-item.CCV4U3Zx.js.map} +1 -1
  134. package/dist/chunks/{tooltip.CS2Gij6x.js → tooltip.DH8TqpYV.js} +84 -68
  135. package/dist/chunks/tooltip.DH8TqpYV.js.map +1 -0
  136. package/dist/chunks/{tutorial.CGjM0EJT.js → tutorial.4r7MKNEU.js} +4 -4
  137. package/dist/chunks/{tutorial.CGjM0EJT.js.map → tutorial.4r7MKNEU.js.map} +1 -1
  138. package/dist/chunks/{use-cached-selected-values.D5ARl96f.js → use-cached-selected-values.CAlfyb_L.js} +8 -5
  139. package/dist/chunks/{use-cached-selected-values.D5ARl96f.js.map → use-cached-selected-values.CAlfyb_L.js.map} +1 -1
  140. package/dist/code-snippet.js +1 -1
  141. package/dist/dashboard-template.js +1 -1
  142. package/dist/dashed-underline.js +1 -1
  143. package/dist/data-grid-template.js +1 -1
  144. package/dist/data-grid.js +1 -1
  145. package/dist/date-picker.js +1 -1
  146. package/dist/date-range-picker.js +1 -1
  147. package/dist/dropdown.js +3 -3
  148. package/dist/file-uploader.js +5 -0
  149. package/dist/file-uploader.js.map +1 -0
  150. package/dist/filter-bar.js +1 -1
  151. package/dist/form-layout.js +1 -1
  152. package/dist/header.js +1 -1
  153. package/dist/index.js +227 -218
  154. package/dist/index.js.map +1 -1
  155. package/dist/info-icon.js +1 -1
  156. package/dist/input-field-password.js +10 -0
  157. package/dist/input-field-password.js.map +1 -0
  158. package/dist/input-field.js +1 -1
  159. package/dist/internal.js +6 -6
  160. package/dist/layout.js +1 -1
  161. package/dist/menu.js +1 -1
  162. package/dist/modal-fullscreen.js +1 -1
  163. package/dist/modal.js +2 -2
  164. package/dist/pagination.js +1 -1
  165. package/dist/popover.js +1 -1
  166. package/dist/promo-banner.js +1 -1
  167. package/dist/radio-group.js +1 -1
  168. package/dist/search-bar.js +2 -2
  169. package/dist/secondary-nav.js +1 -1
  170. package/dist/segmented-control.js +1 -1
  171. package/dist/selection-card.js +1 -1
  172. package/dist/sidepanel.js +1 -1
  173. package/dist/stepper.js +1 -1
  174. package/dist/structured-list.js +1 -1
  175. package/dist/styles/bento-dark.css +98 -34
  176. package/dist/styles/bento-light.css +98 -34
  177. package/dist/styles/bento.css +98 -34
  178. package/dist/styles/legacy.css +106 -42
  179. package/dist/styles/styleguide.css +98 -34
  180. package/dist/summary-grid.js +1 -1
  181. package/dist/tag.js +1 -1
  182. package/dist/textarea.js +1 -1
  183. package/dist/timeline.js +1 -1
  184. package/dist/tutorial.js +1 -1
  185. package/dist/web-types.json +701 -81
  186. package/package.json +10 -8
  187. package/dist/chunks/data-grid.ahAWR42s.js +0 -2408
  188. package/dist/chunks/data-grid.ahAWR42s.js.map +0 -1
  189. package/dist/chunks/date-range-picker.Cr_YCwxP.js.map +0 -1
  190. package/dist/chunks/filter-bar.dQZY8j9C.js.map +0 -1
  191. package/dist/chunks/index.D5am6ibQ.js +0 -249
  192. package/dist/chunks/index.D5am6ibQ.js.map +0 -1
  193. package/dist/chunks/input-field.CKOdyDVy.js.map +0 -1
  194. package/dist/chunks/step.D3-7YL7-.js +0 -234
  195. package/dist/chunks/step.D3-7YL7-.js.map +0 -1
  196. package/dist/chunks/tooltip.CS2Gij6x.js.map +0 -1
@@ -57,6 +57,10 @@ declare type __VLS_NonUndefinedable_21<T> = T extends undefined ? never : T;
57
57
 
58
58
  declare type __VLS_NonUndefinedable_22<T> = T extends undefined ? never : T;
59
59
 
60
+ declare type __VLS_NonUndefinedable_23<T> = T extends undefined ? never : T;
61
+
62
+ declare type __VLS_NonUndefinedable_24<T> = T extends undefined ? never : T;
63
+
60
64
  declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
61
65
 
62
66
  declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
@@ -236,6 +240,28 @@ declare type __VLS_TypePropsToRuntimeProps_22<T> = {
236
240
  };
237
241
  };
238
242
 
243
+ declare type __VLS_TypePropsToRuntimeProps_23<T> = {
244
+ [K in keyof T]-?: {} extends Pick<T, K>
245
+ ? {
246
+ type: PropType<__VLS_NonUndefinedable_23<T[K]>>;
247
+ }
248
+ : {
249
+ type: PropType<T[K]>;
250
+ required: true;
251
+ };
252
+ };
253
+
254
+ declare type __VLS_TypePropsToRuntimeProps_24<T> = {
255
+ [K in keyof T]-?: {} extends Pick<T, K>
256
+ ? {
257
+ type: PropType<__VLS_NonUndefinedable_24<T[K]>>;
258
+ }
259
+ : {
260
+ type: PropType<T[K]>;
261
+ required: true;
262
+ };
263
+ };
264
+
239
265
  declare type __VLS_TypePropsToRuntimeProps_3<T> = {
240
266
  [K in keyof T]-?: {} extends Pick<T, K>
241
267
  ? {
@@ -409,6 +435,22 @@ declare type __VLS_WithDefaults_2<P, D> = {
409
435
  : P[K];
410
436
  };
411
437
 
438
+ declare type __VLS_WithDefaults_20<P, D> = {
439
+ [K in keyof Pick<P, keyof P>]: K extends keyof D
440
+ ? P[K] & {
441
+ default: D[K];
442
+ }
443
+ : P[K];
444
+ };
445
+
446
+ declare type __VLS_WithDefaults_21<P, D> = {
447
+ [K in keyof Pick<P, keyof P>]: K extends keyof D
448
+ ? P[K] & {
449
+ default: D[K];
450
+ }
451
+ : P[K];
452
+ };
453
+
412
454
  declare type __VLS_WithDefaults_3<P, D> = {
413
455
  [K in keyof Pick<P, keyof P>]: K extends keyof D
414
456
  ? P[K] & {
@@ -3681,8 +3723,8 @@ export declare interface BentoCurrencyProps {
3681
3723
  */
3682
3724
  export declare const BentoDashboardSection: __VLS_WithTemplateSlots_41<
3683
3725
  DefineComponent<
3684
- __VLS_WithDefaults_19<
3685
- __VLS_TypePropsToRuntimeProps_22<{
3726
+ __VLS_WithDefaults_21<
3727
+ __VLS_TypePropsToRuntimeProps_24<{
3686
3728
  /**
3687
3729
  * The header of the section
3688
3730
  */
@@ -3706,8 +3748,8 @@ export declare const BentoDashboardSection: __VLS_WithTemplateSlots_41<
3706
3748
  string,
3707
3749
  Readonly<
3708
3750
  ExtractPropTypes<
3709
- __VLS_WithDefaults_19<
3710
- __VLS_TypePropsToRuntimeProps_22<{
3751
+ __VLS_WithDefaults_21<
3752
+ __VLS_TypePropsToRuntimeProps_24<{
3711
3753
  /**
3712
3754
  * The header of the section
3713
3755
  */
@@ -3765,8 +3807,8 @@ export declare const BentoDashboardSection: __VLS_WithTemplateSlots_41<
3765
3807
  */
3766
3808
  export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_40<
3767
3809
  DefineComponent<
3768
- __VLS_WithDefaults_18<
3769
- __VLS_TypePropsToRuntimeProps_21<{
3810
+ __VLS_WithDefaults_20<
3811
+ __VLS_TypePropsToRuntimeProps_23<{
3770
3812
  /**
3771
3813
  * The header that goes to the top of the template
3772
3814
  */
@@ -3802,8 +3844,8 @@ export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_40<
3802
3844
  string,
3803
3845
  Readonly<
3804
3846
  ExtractPropTypes<
3805
- __VLS_WithDefaults_18<
3806
- __VLS_TypePropsToRuntimeProps_21<{
3847
+ __VLS_WithDefaults_20<
3848
+ __VLS_TypePropsToRuntimeProps_23<{
3807
3849
  /**
3808
3850
  * The header that goes to the top of the template
3809
3851
  */
@@ -4089,6 +4131,13 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_8<
4089
4131
  type: BooleanConstructor;
4090
4132
  default: boolean;
4091
4133
  };
4134
+ /**
4135
+ * Enables the nested content slot functionality.
4136
+ */
4137
+ hasNestedRows: {
4138
+ type: BooleanConstructor;
4139
+ default: boolean;
4140
+ };
4092
4141
  /**
4093
4142
  * Highlighted items
4094
4143
  */
@@ -4194,6 +4243,13 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_8<
4194
4243
  type: PropType<BentoDatagridShouldShowNestedContentFn>;
4195
4244
  default: (_item: BentoDatagridDataItem) => true;
4196
4245
  };
4246
+ /**
4247
+ * Returns the nested rows for a given BentoDatagridDataItem.
4248
+ */
4249
+ shouldShowNestedRows: {
4250
+ type: PropType<BentoDatagridShouldShowNestedRowsFn>;
4251
+ default: (_item: BentoDatagridDataItem) => true;
4252
+ };
4197
4253
  /**
4198
4254
  * Sortby handles proper rendering of sort icon in header. Sorting currently is only supported server side.
4199
4255
  * It does make sure the currently sorted column has a more visible sort icon, and the sort icon points in the right direction.
@@ -4344,6 +4400,13 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_8<
4344
4400
  type: BooleanConstructor;
4345
4401
  default: boolean;
4346
4402
  };
4403
+ /**
4404
+ * Enables the nested content slot functionality.
4405
+ */
4406
+ hasNestedRows: {
4407
+ type: BooleanConstructor;
4408
+ default: boolean;
4409
+ };
4347
4410
  /**
4348
4411
  * Highlighted items
4349
4412
  */
@@ -4449,6 +4512,13 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_8<
4449
4512
  type: PropType<BentoDatagridShouldShowNestedContentFn>;
4450
4513
  default: (_item: BentoDatagridDataItem) => true;
4451
4514
  };
4515
+ /**
4516
+ * Returns the nested rows for a given BentoDatagridDataItem.
4517
+ */
4518
+ shouldShowNestedRows: {
4519
+ type: PropType<BentoDatagridShouldShowNestedRowsFn>;
4520
+ default: (_item: BentoDatagridDataItem) => true;
4521
+ };
4452
4522
  /**
4453
4523
  * Sortby handles proper rendering of sort icon in header. Sorting currently is only supported server side.
4454
4524
  * It does make sure the currently sorted column has a more visible sort icon, and the sort icon points in the right direction.
@@ -4491,8 +4561,10 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_8<
4491
4561
  isDataItemDisabled: BentoDatagridIsDataItemDisabledFn;
4492
4562
  allowRowClicks: boolean;
4493
4563
  hasNestedContent: boolean;
4564
+ hasNestedRows: boolean;
4494
4565
  highlightedRows: BentoDatagridDataItemId[];
4495
4566
  shouldShowNestedContent: BentoDatagridShouldShowNestedContentFn;
4567
+ shouldShowNestedRows: BentoDatagridShouldShowNestedRowsFn;
4496
4568
  filterValues: BentoFilterValues;
4497
4569
  allowColumnDragAndDrop: boolean;
4498
4570
  bulkActions: BentoButtonActionsList;
@@ -4509,6 +4581,7 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_8<
4509
4581
  Record<string, (_: any) => any> &
4510
4582
  Record<string, (_: any) => any> & {
4511
4583
  header: (_: {}) => any;
4584
+ 'pagination-slot': (_: {}) => any;
4512
4585
  footer: (_: {}) => any;
4513
4586
  }
4514
4587
  >;
@@ -4528,6 +4601,7 @@ export declare type BentoDatagridData = BentoDatagridDataItem[];
4528
4601
 
4529
4602
  export declare interface BentoDatagridDataItem {
4530
4603
  id?: BentoDatagridDataItemId;
4604
+ children?: BentoDatagridDataItem[];
4531
4605
  [fieldName: string]: unknown;
4532
4606
  }
4533
4607
 
@@ -4540,6 +4614,7 @@ export declare enum BentoDatagridEvent {
4540
4614
  COLUMN_RESIZE = 'column-resize',
4541
4615
  ITEMS_PAGE = 'items-page',
4542
4616
  NAVIGATE = 'navigate',
4617
+ NESTED_CONTENT_TOGGLED = 'nested-content-toggled',
4543
4618
  FILTER_SEARCH_INPUT = 'filter-search-input',
4544
4619
  FILTER_SEARCH_CLEAR = 'filter-search-clear',
4545
4620
  UPDATE_COLUMNS = 'update:columns',
@@ -4567,6 +4642,8 @@ export declare type BentoDatagridSelection = BentoDatagridDataItemId[];
4567
4642
 
4568
4643
  export declare type BentoDatagridShouldShowNestedContentFn = (item: BentoDatagridDataItem) => boolean;
4569
4644
 
4645
+ export declare type BentoDatagridShouldShowNestedRowsFn = (item: BentoDatagridDataItem) => boolean;
4646
+
4570
4647
  export declare interface BentoDatagridSortByColumn {
4571
4648
  field: BentoColumn['field'];
4572
4649
  direction: BentoDatagridSortDirection;
@@ -7881,6 +7958,153 @@ export declare enum BentoEmptyStateVariant {
7881
7958
  CONDENSED = 'condensed',
7882
7959
  }
7883
7960
 
7961
+ /**
7962
+ * The file uploader component enables users to upload one or multiple files from their device to our system.
7963
+ *
7964
+ * @example
7965
+ * import { BentoFileUploader, type BentoFileValue } from '@adyen/bento-vue2';
7966
+ *
7967
+ * export default {
7968
+ * components: { BentoFileUploader },
7969
+ * template: `
7970
+ * <bento-file-uploader
7971
+ * accept="image/*,video/*,.pdf,.png"
7972
+ * condensed
7973
+ * description="Custom supporting text"
7974
+ * disabled
7975
+ * errorMessage="Custom error message"
7976
+ * label="Bento file uploader"
7977
+ * :maxCount="1"
7978
+ * :maxDimensions="{ width: 200, height: 100 }"
7979
+ * :maxSize="1000"
7980
+ * v-model="files"
7981
+ * multiple
7982
+ * :optional="false"
7983
+ * required
7984
+ * tooltipText="Useful information"
7985
+ * />
7986
+ * `,
7987
+ * setup() {
7988
+ * const files = ref<BentoFileValue>()
7989
+ * }
7990
+ * }
7991
+ */
7992
+ export declare const BentoFileUploader: DefineComponent<
7993
+ __VLS_WithDefaults_8<
7994
+ __VLS_TypePropsToRuntimeProps_8<BentoFileUploaderProps>,
7995
+ {
7996
+ accept: any;
7997
+ description: any;
7998
+ errorMessage: any;
7999
+ maxCount: number;
8000
+ maxDimensions: any;
8001
+ maxSize: any;
8002
+ modelValue: any;
8003
+ tooltipText: any;
8004
+ }
8005
+ >,
8006
+ {},
8007
+ {},
8008
+ {},
8009
+ {},
8010
+ ComponentOptionsMixin,
8011
+ ComponentOptionsMixin,
8012
+ {
8013
+ change: (value?: FileList) => void;
8014
+ } & {
8015
+ 'update:modelValue': (value?: FileList) => void;
8016
+ },
8017
+ string,
8018
+ Readonly<
8019
+ ExtractPropTypes<
8020
+ __VLS_WithDefaults_8<
8021
+ __VLS_TypePropsToRuntimeProps_8<BentoFileUploaderProps>,
8022
+ {
8023
+ accept: any;
8024
+ description: any;
8025
+ errorMessage: any;
8026
+ maxCount: number;
8027
+ maxDimensions: any;
8028
+ maxSize: any;
8029
+ modelValue: any;
8030
+ tooltipText: any;
8031
+ }
8032
+ >
8033
+ >
8034
+ >,
8035
+ {
8036
+ description: string;
8037
+ tooltipText: string;
8038
+ errorMessage: string;
8039
+ modelValue: BentoFileUploaderValue;
8040
+ accept: HTMLInputElement['accept'];
8041
+ maxCount: number;
8042
+ maxDimensions: any;
8043
+ maxSize: number;
8044
+ }
8045
+ >;
8046
+
8047
+ export declare interface BentoFileUploaderProps {
8048
+ /**
8049
+ * A string that defines the file types the file input should accept.
8050
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept
8051
+ */
8052
+ accept?: HTMLInputElement['accept'];
8053
+ /**
8054
+ * Reduces the size of the uploader area.
8055
+ */
8056
+ condensed?: boolean;
8057
+ /**
8058
+ * Descriptive supporting text visbile underneath the label.
8059
+ */
8060
+ description?: string;
8061
+ /**
8062
+ * Disable the radio button (optional).
8063
+ */
8064
+ disabled?: boolean;
8065
+ /**
8066
+ * Renders file-uploader with an error state and the error message beneath the input box
8067
+ */
8068
+ errorMessage?: string;
8069
+ /**
8070
+ * The label of the component.
8071
+ */
8072
+ label: string;
8073
+ /**
8074
+ * Sets a maximum file count. Allows for uploading multiple files.
8075
+ */
8076
+ maxCount?: number;
8077
+ /**
8078
+ * Sets a maximum image size (for image file types only).
8079
+ */
8080
+ maxDimensions?: {
8081
+ width?: number;
8082
+ height?: number;
8083
+ };
8084
+ /**
8085
+ * Sets a maximum file size in Bytes
8086
+ */
8087
+ maxSize?: number;
8088
+ /**
8089
+ * Used to support `v-model`. Doesn't actually set the value of the file uploader.
8090
+ */
8091
+ modelValue?: BentoFileUploaderValue;
8092
+ /**
8093
+ * Sets the field as optional.
8094
+ */
8095
+ optional?: boolean;
8096
+ /**
8097
+ * Sets the field as required.
8098
+ */
8099
+ required?: boolean;
8100
+ /**
8101
+ * Adds a info icon next to the label to display the passed tooltip message.
8102
+ */
8103
+ tooltipText?: string;
8104
+ }
8105
+
8106
+ export declare type BentoFileUploaderValue = string | Array<string> | File | Array<File>;
8107
+
7884
8108
  /**
7885
8109
  * The filter bar filters item lists and tables according to various filter criteria.
7886
8110
  *
@@ -8132,6 +8356,7 @@ export declare interface BentoFilterModel extends BentoFilterValue {
8132
8356
  description?: string;
8133
8357
  type: BentoFilterItemType;
8134
8358
  options?: BentoFilterOptions;
8359
+ disabled?: boolean;
8135
8360
  defaultValue?: BentoFilterBarValue;
8136
8361
  visible?: boolean;
8137
8362
  /**
@@ -8736,8 +8961,8 @@ declare enum BentoHeaderVariant {
8736
8961
  * }
8737
8962
  */
8738
8963
  export declare const BentoImage: DefineComponent<
8739
- __VLS_WithDefaults_8<
8740
- __VLS_TypePropsToRuntimeProps_8<BentoImageProps>,
8964
+ __VLS_WithDefaults_9<
8965
+ __VLS_TypePropsToRuntimeProps_9<BentoImageProps>,
8741
8966
  {
8742
8967
  aspectRatio: any;
8743
8968
  objectFit: any;
@@ -8753,8 +8978,8 @@ export declare const BentoImage: DefineComponent<
8753
8978
  string,
8754
8979
  Readonly<
8755
8980
  ExtractPropTypes<
8756
- __VLS_WithDefaults_8<
8757
- __VLS_TypePropsToRuntimeProps_8<BentoImageProps>,
8981
+ __VLS_WithDefaults_9<
8982
+ __VLS_TypePropsToRuntimeProps_9<BentoImageProps>,
8758
8983
  {
8759
8984
  aspectRatio: any;
8760
8985
  objectFit: any;
@@ -9075,6 +9300,8 @@ export declare const BentoInputField: __VLS_WithTemplateSlots_17<
9075
9300
  focus: () => void;
9076
9301
  } & {
9077
9302
  keydown: (event: KeyboardEvent) => void;
9303
+ } & {
9304
+ keyup: (event: KeyboardEvent) => void;
9078
9305
  } & {
9079
9306
  input: (inputValue: string) => void;
9080
9307
  },
@@ -9283,6 +9510,173 @@ export declare enum BentoInputFieldEvent {
9283
9510
  KEYDOWN = 'keydown',
9284
9511
  }
9285
9512
 
9513
+ /**
9514
+ * The input field password is a component designed to support users' preference for entering values securely.
9515
+ * This is an extension of the `bento-input-field` component.
9516
+ *
9517
+ * @example
9518
+ * import { BentoInputFieldPassword } from '@adyen/bento-vue2';
9519
+ *
9520
+ * export default {
9521
+ * components: { BentoInputFieldPassword },
9522
+ * template: `
9523
+ * <bento-input-field-password
9524
+ * label="Label"
9525
+ * error-message="Error"
9526
+ * :validation="{
9527
+ * title: 'Password must contain at least:',
9528
+ * suggestion: 'Avoid using currency symbols or accented letters.',
9529
+ * list: [
9530
+ * { label: '8 characters', validate: minLength, additionalArgs: [8] },
9531
+ * { label: '1 lowercase (a-z)', validate: requireLowercase },
9532
+ * { label: '1 uppercase (A-Z)', validate: requireUppercase },
9533
+ * { label: '1 numerical (0-9)', validate: requireNumeric },
9534
+ * { label: '1 special character', validate: requireSpecialCharacter },
9535
+ * {
9536
+ * label: 'Always true',
9537
+ * validate: () => {
9538
+ * const example = 'Example';
9539
+ *
9540
+ * return () => example.length > 1;
9541
+ * },
9542
+ * },
9543
+ * ],
9544
+ * }"
9545
+ * />
9546
+ * `
9547
+ * }
9548
+ */
9549
+ export declare const BentoInputFieldPassword: DefineComponent<
9550
+ __VLS_WithDefaults_10<
9551
+ __VLS_TypePropsToRuntimeProps_10<BentoInputFieldPasswordProps>,
9552
+ {
9553
+ condensed: boolean;
9554
+ disabled: boolean;
9555
+ label: any;
9556
+ errorMessage: any;
9557
+ placeholder: string;
9558
+ readonly: boolean;
9559
+ validation: any;
9560
+ value: any;
9561
+ withHint: boolean;
9562
+ }
9563
+ >,
9564
+ {},
9565
+ {},
9566
+ {},
9567
+ {},
9568
+ ComponentOptionsMixin,
9569
+ ComponentOptionsMixin,
9570
+ {
9571
+ 'input:valid': () => void;
9572
+ } & {
9573
+ input: (value: BentoInputFieldValue) => void;
9574
+ },
9575
+ string,
9576
+ Readonly<
9577
+ ExtractPropTypes<
9578
+ __VLS_WithDefaults_10<
9579
+ __VLS_TypePropsToRuntimeProps_10<BentoInputFieldPasswordProps>,
9580
+ {
9581
+ condensed: boolean;
9582
+ disabled: boolean;
9583
+ label: any;
9584
+ errorMessage: any;
9585
+ placeholder: string;
9586
+ readonly: boolean;
9587
+ validation: any;
9588
+ value: any;
9589
+ withHint: boolean;
9590
+ }
9591
+ >
9592
+ >
9593
+ >,
9594
+ {
9595
+ value: BentoInputFieldProps['value'];
9596
+ label: string;
9597
+ condensed: BentoInputFieldProps['condensed'];
9598
+ disabled: BentoInputFieldProps['disabled'];
9599
+ validation: BentoInputFieldPasswordValidation;
9600
+ errorMessage: BentoInputFieldProps['errorMessage'];
9601
+ readonly: BentoInputFieldProps['readonly'];
9602
+ placeholder: BentoInputFieldProps['placeholder'];
9603
+ withHint: boolean;
9604
+ }
9605
+ >;
9606
+
9607
+ export declare interface BentoInputFieldPasswordProps {
9608
+ /**
9609
+ * Reduces height of the input
9610
+ */
9611
+ condensed?: BentoInputFieldProps['condensed'];
9612
+ /**
9613
+ * Disables the possibility of changing value in the input-field
9614
+ */
9615
+ disabled?: BentoInputFieldProps['disabled'];
9616
+ /**
9617
+ * Renders input-field with an error state and the error message beneath the input box
9618
+ */
9619
+ errorMessage?: BentoInputFieldProps['errorMessage'];
9620
+ /**
9621
+ * Text displayed as the placeholder of the input-field
9622
+ */
9623
+ placeholder?: BentoInputFieldProps['placeholder'];
9624
+ /**
9625
+ * Setting this property to true will set the input field to read only state.
9626
+ */
9627
+ readonly?: BentoInputFieldProps['readonly'];
9628
+ /**
9629
+ * Text displayed as the value of the input-field
9630
+ */
9631
+ value?: BentoInputFieldProps['value'];
9632
+ /**
9633
+ * Label to be shown with the input field
9634
+ */
9635
+ label?: string;
9636
+ /**
9637
+ * Configuration object for password field validation.
9638
+ *
9639
+ * This object defines the validation criteria and associated messages for a password field.
9640
+ * It includes the following properties:
9641
+ *
9642
+ * - `title`: The title displayed at the top of the validation hint.
9643
+ * - `suggestion`: The message displayed at the bottom of the validation hint, providing additional guidance.
9644
+ * - `list`: An array of callback functions to be executed on the value after each user input, validating the password against the specified rules.
9645
+ *
9646
+ * By default, the validation checks that:
9647
+ *
9648
+ * - The value has a minimum length of 8 characters.
9649
+ * - The value contains at least one lowercase letter.
9650
+ * - The value contains at least one uppercase letter.
9651
+ * - The value contains at least one numeric digit.
9652
+ * - The value contains at least one special character.
9653
+ *
9654
+ *
9655
+ */
9656
+ validation?: BentoInputFieldPasswordValidation;
9657
+ /**
9658
+ * Whether the password validation hint is displayed when the input field is activated via focus or input
9659
+ */
9660
+ withHint?: boolean;
9661
+ }
9662
+
9663
+ export declare interface BentoInputFieldPasswordValidation {
9664
+ title?: string;
9665
+ suggestion?: string;
9666
+ list: BentoInputFieldPasswordValidationListItem[];
9667
+ }
9668
+
9669
+ /**
9670
+ * Public
9671
+ */
9672
+ export declare interface BentoInputFieldPasswordValidationListItem {
9673
+ label: string;
9674
+ validate: (value: BentoInputFieldValue, ...args: any[]) => boolean;
9675
+ additionalArgs?: any[];
9676
+ }
9677
+
9678
+ declare type BentoInputFieldProps = InstanceType<typeof BentoInputField>['$props'];
9679
+
9286
9680
  export declare enum BentoInputFieldStateClass {
9287
9681
  CONDENSED = 'condensed',
9288
9682
  DISABLED = 'disabled',
@@ -9356,8 +9750,8 @@ export declare type BentoInpuWithDropdowntFilterValue = {
9356
9750
  */
9357
9751
  export declare const BentoInspector: __VLS_WithTemplateSlots_18<
9358
9752
  DefineComponent<
9359
- __VLS_WithDefaults_9<
9360
- __VLS_TypePropsToRuntimeProps_9<{
9753
+ __VLS_WithDefaults_11<
9754
+ __VLS_TypePropsToRuntimeProps_11<{
9361
9755
  /**
9362
9756
  * Shows the Expand icon in the inspector
9363
9757
  */
@@ -9400,8 +9794,8 @@ export declare const BentoInspector: __VLS_WithTemplateSlots_18<
9400
9794
  string,
9401
9795
  Readonly<
9402
9796
  ExtractPropTypes<
9403
- __VLS_WithDefaults_9<
9404
- __VLS_TypePropsToRuntimeProps_9<{
9797
+ __VLS_WithDefaults_11<
9798
+ __VLS_TypePropsToRuntimeProps_11<{
9405
9799
  /**
9406
9800
  * Shows the Expand icon in the inspector
9407
9801
  */
@@ -9495,8 +9889,8 @@ export declare enum BentoKeyboardNavigationKeyDownEvent {
9495
9889
  */
9496
9890
  export declare const BentoLayout: __VLS_WithTemplateSlots_19<
9497
9891
  DefineComponent<
9498
- __VLS_WithDefaults_10<
9499
- __VLS_TypePropsToRuntimeProps_10<BentoLayoutProps>,
9892
+ __VLS_WithDefaults_12<
9893
+ __VLS_TypePropsToRuntimeProps_12<BentoLayoutProps>,
9500
9894
  {
9501
9895
  size: string;
9502
9896
  variant: string;
@@ -9512,8 +9906,8 @@ export declare const BentoLayout: __VLS_WithTemplateSlots_19<
9512
9906
  string,
9513
9907
  Readonly<
9514
9908
  ExtractPropTypes<
9515
- __VLS_WithDefaults_10<
9516
- __VLS_TypePropsToRuntimeProps_10<BentoLayoutProps>,
9909
+ __VLS_WithDefaults_12<
9910
+ __VLS_TypePropsToRuntimeProps_12<BentoLayoutProps>,
9517
9911
  {
9518
9912
  size: string;
9519
9913
  variant: string;
@@ -9576,8 +9970,8 @@ export declare interface BentoLayoutProps {
9576
9970
  */
9577
9971
  export declare const BentoLayoutRow: __VLS_WithTemplateSlots_20<
9578
9972
  DefineComponent<
9579
- __VLS_WithDefaults_11<
9580
- __VLS_TypePropsToRuntimeProps_11<BentoLayoutRowProps>,
9973
+ __VLS_WithDefaults_13<
9974
+ __VLS_TypePropsToRuntimeProps_13<BentoLayoutRowProps>,
9581
9975
  {
9582
9976
  columnsLayout: string;
9583
9977
  }
@@ -9592,8 +9986,8 @@ export declare const BentoLayoutRow: __VLS_WithTemplateSlots_20<
9592
9986
  string,
9593
9987
  Readonly<
9594
9988
  ExtractPropTypes<
9595
- __VLS_WithDefaults_11<
9596
- __VLS_TypePropsToRuntimeProps_11<BentoLayoutRowProps>,
9989
+ __VLS_WithDefaults_13<
9990
+ __VLS_TypePropsToRuntimeProps_13<BentoLayoutRowProps>,
9597
9991
  {
9598
9992
  columnsLayout: string;
9599
9993
  }
@@ -9650,8 +10044,8 @@ export declare type BentoLazyLoadType = 'automatic' | 'button' | 'none';
9650
10044
  */
9651
10045
  export declare const BentoLink: __VLS_WithTemplateSlots_21<
9652
10046
  DefineComponent<
9653
- __VLS_WithDefaults_12<
9654
- __VLS_TypePropsToRuntimeProps_12<BentoLinkProps>,
10047
+ __VLS_WithDefaults_14<
10048
+ __VLS_TypePropsToRuntimeProps_14<BentoLinkProps>,
9655
10049
  {
9656
10050
  target: any;
9657
10051
  variant: BentoLinkVariant;
@@ -9669,8 +10063,8 @@ export declare const BentoLink: __VLS_WithTemplateSlots_21<
9669
10063
  string,
9670
10064
  Readonly<
9671
10065
  ExtractPropTypes<
9672
- __VLS_WithDefaults_12<
9673
- __VLS_TypePropsToRuntimeProps_12<BentoLinkProps>,
10066
+ __VLS_WithDefaults_14<
10067
+ __VLS_TypePropsToRuntimeProps_14<BentoLinkProps>,
9674
10068
  {
9675
10069
  target: any;
9676
10070
  variant: BentoLinkVariant;
@@ -12912,8 +13306,8 @@ export declare type BentoPopoverPositions = PopperContainerPosition;
12912
13306
  */
12913
13307
  export declare const BentoPromoBanner: __VLS_WithTemplateSlots_27<
12914
13308
  DefineComponent<
12915
- __VLS_WithDefaults_13<
12916
- __VLS_TypePropsToRuntimeProps_13<BentoPromoBannerProps>,
13309
+ __VLS_WithDefaults_15<
13310
+ __VLS_TypePropsToRuntimeProps_15<BentoPromoBannerProps>,
12917
13311
  {
12918
13312
  actions: any;
12919
13313
  color: BentoPromoBannerColor;
@@ -12934,8 +13328,8 @@ export declare const BentoPromoBanner: __VLS_WithTemplateSlots_27<
12934
13328
  string,
12935
13329
  Readonly<
12936
13330
  ExtractPropTypes<
12937
- __VLS_WithDefaults_13<
12938
- __VLS_TypePropsToRuntimeProps_13<BentoPromoBannerProps>,
13331
+ __VLS_WithDefaults_15<
13332
+ __VLS_TypePropsToRuntimeProps_15<BentoPromoBannerProps>,
12939
13333
  {
12940
13334
  actions: any;
12941
13335
  color: BentoPromoBannerColor;
@@ -13727,7 +14121,7 @@ export declare interface BentoSearchBarItem {
13727
14121
  * }
13728
14122
  */
13729
14123
  export declare const BentoSecondaryNav: DefineComponent<
13730
- __VLS_TypePropsToRuntimeProps_15<{
14124
+ __VLS_TypePropsToRuntimeProps_17<{
13731
14125
  /**
13732
14126
  * An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
13733
14127
  * which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
@@ -13751,7 +14145,7 @@ export declare const BentoSecondaryNav: DefineComponent<
13751
14145
  string,
13752
14146
  Readonly<
13753
14147
  ExtractPropTypes<
13754
- __VLS_TypePropsToRuntimeProps_15<{
14148
+ __VLS_TypePropsToRuntimeProps_17<{
13755
14149
  /**
13756
14150
  * An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
13757
14151
  * which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
@@ -13801,8 +14195,8 @@ export declare interface BentoSecondaryNavState {
13801
14195
  * }
13802
14196
  */
13803
14197
  export declare const BentoSegmentedControl: DefineComponent<
13804
- __VLS_WithDefaults_15<
13805
- __VLS_TypePropsToRuntimeProps_16<{
14198
+ __VLS_WithDefaults_17<
14199
+ __VLS_TypePropsToRuntimeProps_18<{
13806
14200
  /**
13807
14201
  * Accessible name describing the segmented control.
13808
14202
  * @deprecated from version 2.0.0. Use the aria-label attribute instead.
@@ -13843,8 +14237,8 @@ export declare const BentoSegmentedControl: DefineComponent<
13843
14237
  string,
13844
14238
  Readonly<
13845
14239
  ExtractPropTypes<
13846
- __VLS_WithDefaults_15<
13847
- __VLS_TypePropsToRuntimeProps_16<{
14240
+ __VLS_WithDefaults_17<
14241
+ __VLS_TypePropsToRuntimeProps_18<{
13848
14242
  /**
13849
14243
  * Accessible name describing the segmented control.
13850
14244
  * @deprecated from version 2.0.0. Use the aria-label attribute instead.
@@ -13922,6 +14316,7 @@ export declare interface BentoSelectFilterOptions {
13922
14316
  */
13923
14317
  multiple?: boolean;
13924
14318
  /**
14319
+ * @deprecated from version 2.0.0. The persistent filter label now uses a counter instead of custom strings. This property is now redundant.
13925
14320
  * The translation object to handle any custom transations. e.g. perisistent filter labels.
13926
14321
  */
13927
14322
  messages?: {
@@ -13932,11 +14327,13 @@ export declare interface BentoSelectFilterOptions {
13932
14327
  };
13933
14328
  };
13934
14329
  /**
14330
+ * @deprecated from version 2.0.0. The persistent filter label now uses a counter instead of custom strings. This property is now redundant.
13935
14331
  * The unique key to use in the messages translation object to use for the persistent button label
13936
14332
  * when the select filter has partially selected items.
13937
14333
  */
13938
14334
  messagesPersistentButtonLabelPartiallySelectedKey?: string;
13939
14335
  /**
14336
+ * @deprecated from version 2.0.0. The persistent filter label now uses a counter instead of custom strings. This property is now redundant.
13940
14337
  * The unique key to use in the messages translation object to use for the persistent button label
13941
14338
  * when the select filter has all items selected.
13942
14339
  */
@@ -14851,7 +15248,7 @@ export declare const BentoSidepanelPage: __VLS_WithTemplateSlots_32<
14851
15248
  */
14852
15249
  export declare const BentoStatus: __VLS_WithTemplateSlots_34<
14853
15250
  DefineComponent<
14854
- __VLS_TypePropsToRuntimeProps_17<{
15251
+ __VLS_TypePropsToRuntimeProps_19<{
14855
15252
  variant: BentoStatusVariant | `${BentoStatusVariant}`;
14856
15253
  }>,
14857
15254
  {},
@@ -14864,7 +15261,7 @@ export declare const BentoStatus: __VLS_WithTemplateSlots_34<
14864
15261
  string,
14865
15262
  Readonly<
14866
15263
  ExtractPropTypes<
14867
- __VLS_TypePropsToRuntimeProps_17<{
15264
+ __VLS_TypePropsToRuntimeProps_19<{
14868
15265
  variant: BentoStatusVariant | `${BentoStatusVariant}`;
14869
15266
  }>
14870
15267
  >
@@ -15110,8 +15507,8 @@ export declare enum BentoStepperVariantOption {
15110
15507
  */
15111
15508
  export declare const BentoStructuredList: __VLS_WithTemplateSlots_37<
15112
15509
  DefineComponent<
15113
- __VLS_WithDefaults_16<
15114
- __VLS_TypePropsToRuntimeProps_18<{
15510
+ __VLS_WithDefaults_18<
15511
+ __VLS_TypePropsToRuntimeProps_20<{
15115
15512
  /**
15116
15513
  * Width of the labels container, in pixels. Overrides layout prop.
15117
15514
  */
@@ -15145,8 +15542,8 @@ export declare const BentoStructuredList: __VLS_WithTemplateSlots_37<
15145
15542
  string,
15146
15543
  Readonly<
15147
15544
  ExtractPropTypes<
15148
- __VLS_WithDefaults_16<
15149
- __VLS_TypePropsToRuntimeProps_18<{
15545
+ __VLS_WithDefaults_18<
15546
+ __VLS_TypePropsToRuntimeProps_20<{
15150
15547
  /**
15151
15548
  * Width of the labels container, in pixels. Overrides layout prop.
15152
15549
  */
@@ -15207,7 +15604,7 @@ export declare const BentoStructuredList: __VLS_WithTemplateSlots_37<
15207
15604
  */
15208
15605
  export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_38<
15209
15606
  DefineComponent<
15210
- __VLS_TypePropsToRuntimeProps_19<{
15607
+ __VLS_TypePropsToRuntimeProps_21<{
15211
15608
  /**
15212
15609
  * Label to display for the value
15213
15610
  */
@@ -15243,7 +15640,7 @@ export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_38<
15243
15640
  string,
15244
15641
  Readonly<
15245
15642
  ExtractPropTypes<
15246
- __VLS_TypePropsToRuntimeProps_19<{
15643
+ __VLS_TypePropsToRuntimeProps_21<{
15247
15644
  /**
15248
15645
  * Label to display for the value
15249
15646
  */
@@ -16443,8 +16840,8 @@ declare enum BentoTabsEvent {
16443
16840
  }
16444
16841
 
16445
16842
  export declare const BentoTag: DefineComponent<
16446
- __VLS_WithDefaults_14<
16447
- __VLS_TypePropsToRuntimeProps_14<BentoTagProps>,
16843
+ __VLS_WithDefaults_16<
16844
+ __VLS_TypePropsToRuntimeProps_16<BentoTagProps>,
16448
16845
  {
16449
16846
  label: any;
16450
16847
  truncate: any;
@@ -16461,8 +16858,8 @@ export declare const BentoTag: DefineComponent<
16461
16858
  string,
16462
16859
  Readonly<
16463
16860
  ExtractPropTypes<
16464
- __VLS_WithDefaults_14<
16465
- __VLS_TypePropsToRuntimeProps_14<BentoTagProps>,
16861
+ __VLS_WithDefaults_16<
16862
+ __VLS_TypePropsToRuntimeProps_16<BentoTagProps>,
16466
16863
  {
16467
16864
  label: any;
16468
16865
  truncate: any;
@@ -17713,8 +18110,8 @@ export declare interface BentoTutorialStep {
17713
18110
  */
17714
18111
  export declare const BentoTypography: __VLS_WithTemplateSlots_39<
17715
18112
  DefineComponent<
17716
- __VLS_WithDefaults_17<
17717
- __VLS_TypePropsToRuntimeProps_20<{
18113
+ __VLS_WithDefaults_19<
18114
+ __VLS_TypePropsToRuntimeProps_22<{
17718
18115
  /**
17719
18116
  * Sets the HTML DOM element.
17720
18117
  * @values h1, h2, h3, h4, h5, h6, div, p, span
@@ -17775,8 +18172,8 @@ export declare const BentoTypography: __VLS_WithTemplateSlots_39<
17775
18172
  string,
17776
18173
  Readonly<
17777
18174
  ExtractPropTypes<
17778
- __VLS_WithDefaults_17<
17779
- __VLS_TypePropsToRuntimeProps_20<{
18175
+ __VLS_WithDefaults_19<
18176
+ __VLS_TypePropsToRuntimeProps_22<{
17780
18177
  /**
17781
18178
  * Sets the HTML DOM element.
17782
18179
  * @values h1, h2, h3, h4, h5, h6, div, p, span
@@ -18108,6 +18505,15 @@ export declare type MaybeReadonlyRef<T> = (() => T) | ComputedRef<T>;
18108
18505
  */
18109
18506
  export declare type MaybeRef<T> = T | Ref<T> | Ref<UnwrapRef<T>>;
18110
18507
 
18508
+ /**
18509
+ * Validates if the length of the provided value is greater than or equal to the specified length.
18510
+ *
18511
+ * @param value - The input value to check.
18512
+ * @param length - The minimum required length of the value. Defaults to 8.
18513
+ * @returns `true` if the length of the value is greater than or equal to the specified length, `false` otherwise.
18514
+ */
18515
+ export declare function minLength(value: BentoInputFieldValue, length?: number): boolean;
18516
+
18111
18517
  export declare type OmitStrict<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
18112
18518
 
18113
18519
  declare type OnClickOutsideHandler = (evt: PointerEvent | FocusEvent) => void;
@@ -18177,6 +18583,38 @@ declare enum PopperContainerPositionExtended {
18177
18583
  LEFT_END = 'left-end',
18178
18584
  }
18179
18585
 
18586
+ /**
18587
+ * Validates if the provided value contains at least one lowercase letter.
18588
+ *
18589
+ * @param value - The input value to check.
18590
+ * @returns `true` if the value contains at least one lowercase letter, `false` otherwise.
18591
+ */
18592
+ export declare function requireLowercase(value: BentoInputFieldValue): boolean;
18593
+
18594
+ /**
18595
+ * Validates if the provided value contains at least one numerical digit.
18596
+ *
18597
+ * @param value - The input value to check.
18598
+ * @returns `true` if the value contains at least one numerical digit, `false` otherwise.
18599
+ */
18600
+ export declare function requireNumeric(value: BentoInputFieldValue): boolean;
18601
+
18602
+ /**
18603
+ * Validates if the provided value contains at least one special character (non-alphanumeric).
18604
+ *
18605
+ * @param value - The input value to check.
18606
+ * @returns `true` if the value contains at least one special character, `false` otherwise.
18607
+ */
18608
+ export declare function requireSpecialCharacter(value: BentoInputFieldValue): boolean;
18609
+
18610
+ /**
18611
+ * Validates if the provided value contains at least one uppercase letter.
18612
+ *
18613
+ * @param value - The input value to check.
18614
+ * @returns `true` if the value contains at least one uppercase letter, `false` otherwise.
18615
+ */
18616
+ export declare function requireUppercase(value: BentoInputFieldValue): boolean;
18617
+
18180
18618
  declare interface Toast {
18181
18619
  dismiss: () => void;
18182
18620
  }