@adyen/bento-vue3 1.24.0 → 1.26.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 (280) hide show
  1. package/dist/@types/packages/vue2/src/components/alert/alert.types.d.ts +3 -0
  2. package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +46 -54
  3. package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +86 -179
  4. package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +1 -1
  5. package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +2 -2
  6. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.keys.d.ts +1 -0
  7. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.types.d.ts +8 -1
  8. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.vue.d.ts +7 -4
  9. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.types.d.ts +10 -2
  10. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.vue.d.ts +6 -2
  11. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.types.d.ts +3 -0
  12. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +8 -6
  13. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.d.ts +26 -11
  14. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.types.d.ts +1 -0
  15. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-hovering/use-column-hovering.d.ts +18 -6
  16. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-reorderer/use-column-reorderer.d.ts +36 -12
  17. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-config-settings/use-config-settings.d.ts +18 -6
  18. package/dist/@types/packages/vue2/src/components/data-grid/composables/use-resizer.d.ts +18 -6
  19. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +19 -53
  20. package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +2 -2
  21. package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +2 -2
  22. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +1 -1
  23. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +1 -1
  24. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/composables/use-dropdown-options-listbox.d.ts +13 -7
  25. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +14 -14
  26. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +1 -1
  27. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.d.ts +2 -2
  28. package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.types.d.ts +3 -24
  29. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +4 -4
  30. package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +1 -1
  31. package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/index.d.ts +1 -0
  32. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/index.d.ts +2 -0
  33. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/select-filter-button/select-filter-button.vue.d.ts +148 -0
  34. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/select-filter-dropdown/select-filter-dropdown.vue.d.ts +150 -0
  35. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.vue.d.ts +28 -27
  36. package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +11 -7
  37. package/dist/@types/packages/vue2/src/components/internal/checkbox-input/checkbox-input.vue.d.ts +1 -1
  38. package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +1 -1
  39. package/dist/@types/packages/vue2/src/components/internal/dialog-page/dialog-page.types.d.ts +1 -0
  40. package/dist/@types/packages/vue2/src/components/internal/field-label/field-label.vue.d.ts +1 -1
  41. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-chips/listbox-multi-select-chips.vue.d.ts +3 -3
  42. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +1 -2
  43. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +45 -9
  44. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +10 -9
  45. package/dist/@types/packages/vue2/src/components/internal/listbox/composables/use-cached-selected-values/use-cached-selected-values.d.ts +2 -2
  46. package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +15 -15
  47. package/dist/@types/packages/vue2/src/components/internal/radio-input/radio-input.vue.d.ts +1 -1
  48. package/dist/@types/packages/vue2/src/components/menu/components/menu-item-list/menu-item-list.vue.d.ts +3 -2
  49. package/dist/@types/packages/vue2/src/components/menu/components/menu-list-container/menu-list-container.vue.d.ts +8 -1
  50. package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +3 -1
  51. package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +2 -2
  52. package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/selection-card-group.vue.d.ts +3 -3
  53. package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +2 -2
  54. package/dist/@types/packages/vue2/src/components/toggle/toggle.vue.d.ts +1 -1
  55. package/dist/@types/packages/vue2/src/components/tutorial/components/tutorial-popover/tutorial-popover.vue.d.ts +20 -0
  56. package/dist/@types/packages/vue2/src/components/tutorial/tutorial.types.d.ts +1 -0
  57. package/dist/@types/packages/vue2/src/components/tutorial/tutorial.vue.d.ts +22 -2
  58. package/dist/@types/packages/vue2/src/components/typography/index.d.ts +1 -1
  59. package/dist/@types/packages/vue2/src/components/typography/typography.vue.d.ts +1 -1
  60. package/dist/@types/packages/vue2/src/composables/use-click-outside/index.d.ts +1 -0
  61. package/dist/@types/packages/vue2/src/index.d.ts +1 -0
  62. package/dist/accordion.js +3 -3
  63. package/dist/action-bar.js +7 -7
  64. package/dist/alert.js +126 -166
  65. package/dist/alert.js.map +1 -1
  66. package/dist/assets/base-modal.css +1 -1
  67. package/dist/assets/dialog-page.css +1 -1
  68. package/dist/assets/dropdown.css +1 -1
  69. package/dist/assets/index.css +1 -1
  70. package/dist/assets/index10.css +1 -1
  71. package/dist/assets/index11.css +1 -1
  72. package/dist/assets/index12.css +1 -1
  73. package/dist/assets/index13.css +1 -1
  74. package/dist/assets/index14.css +1 -1
  75. package/dist/assets/index15.css +1 -1
  76. package/dist/assets/index16.css +1 -1
  77. package/dist/assets/index17.css +1 -1
  78. package/dist/assets/index18.css +1 -1
  79. package/dist/assets/index19.css +1 -1
  80. package/dist/assets/index2.css +1 -1
  81. package/dist/assets/index20.css +1 -1
  82. package/dist/assets/index21.css +1 -1
  83. package/dist/assets/index22.css +1 -1
  84. package/dist/assets/index23.css +1 -1
  85. package/dist/assets/index24.css +1 -1
  86. package/dist/assets/index25.css +1 -1
  87. package/dist/assets/index26.css +1 -1
  88. package/dist/assets/index27.css +1 -1
  89. package/dist/assets/index28.css +1 -1
  90. package/dist/assets/index29.css +1 -1
  91. package/dist/assets/index3.css +1 -1
  92. package/dist/assets/index30.css +1 -1
  93. package/dist/assets/index31.css +1 -1
  94. package/dist/assets/index32.css +1 -1
  95. package/dist/assets/index33.css +1 -1
  96. package/dist/assets/index34.css +1 -1
  97. package/dist/assets/index35.css +1 -1
  98. package/dist/assets/index36.css +1 -1
  99. package/dist/assets/index37.css +1 -1
  100. package/dist/assets/index38.css +1 -1
  101. package/dist/assets/index39.css +1 -1
  102. package/dist/assets/index4.css +1 -1
  103. package/dist/assets/index40.css +1 -1
  104. package/dist/assets/index41.css +1 -1
  105. package/dist/assets/index42.css +1 -1
  106. package/dist/assets/index43.css +1 -1
  107. package/dist/assets/index44.css +1 -1
  108. package/dist/assets/index45.css +1 -1
  109. package/dist/assets/index46.css +1 -1
  110. package/dist/assets/index47.css +1 -1
  111. package/dist/assets/index48.css +1 -1
  112. package/dist/assets/index5.css +1 -1
  113. package/dist/assets/index6.css +1 -1
  114. package/dist/assets/index7.css +1 -1
  115. package/dist/assets/index8.css +1 -1
  116. package/dist/assets/index9.css +1 -1
  117. package/dist/assets/{listbox.css → use-cached-selected-values.css} +1 -1
  118. package/dist/avatar-image.js +1 -1
  119. package/dist/badge.js +1 -1
  120. package/dist/button.js +5 -5
  121. package/dist/card.js +168 -267
  122. package/dist/card.js.map +1 -1
  123. package/dist/checkbox.js +6 -6
  124. package/dist/chunks/{base-button.ab9c947e.js → base-button.e84acf30.js} +2 -2
  125. package/dist/chunks/{base-button.ab9c947e.js.map → base-button.e84acf30.js.map} +1 -1
  126. package/dist/chunks/{base-modal.28b5ff83.js → base-modal.29e062d0.js} +7 -7
  127. package/dist/chunks/{base-modal.28b5ff83.js.map → base-modal.29e062d0.js.map} +1 -1
  128. package/dist/chunks/{button-actions-with-menu.305991e5.js → button-actions-with-menu.7fce47a2.js} +4 -4
  129. package/dist/chunks/{button-actions-with-menu.305991e5.js.map → button-actions-with-menu.7fce47a2.js.map} +1 -1
  130. package/dist/chunks/{button-actions.ea025810.js → button-actions.642b37de.js} +3 -3
  131. package/dist/chunks/{button-actions.ea025810.js.map → button-actions.642b37de.js.map} +1 -1
  132. package/dist/chunks/{button.ce5d1f5e.js → button.60dad578.js} +3 -3
  133. package/dist/chunks/{button.ce5d1f5e.js.map → button.60dad578.js.map} +1 -1
  134. package/dist/chunks/{calendar.24a492f1.js → calendar.f38cdab9.js} +5 -5
  135. package/dist/chunks/{calendar.24a492f1.js.map → calendar.f38cdab9.js.map} +1 -1
  136. package/dist/chunks/{checkbox-input.99336948.js → checkbox-input.ab758a81.js} +2 -2
  137. package/dist/chunks/{checkbox-input.99336948.js.map → checkbox-input.ab758a81.js.map} +1 -1
  138. package/dist/chunks/{checkbox.d0f897e0.js → checkbox.f55ee3a5.js} +4 -4
  139. package/dist/chunks/{checkbox.d0f897e0.js.map → checkbox.f55ee3a5.js.map} +1 -1
  140. package/dist/chunks/{checkmark-circle-fill.c45a999d.js → checkmark-circle-fill.f3a69c6a.js} +2 -2
  141. package/dist/chunks/{checkmark-circle-fill.c45a999d.js.map → checkmark-circle-fill.f3a69c6a.js.map} +1 -1
  142. package/dist/chunks/{checkmark-small.c79220d9.js → checkmark-small.d7e31e5e.js} +2 -2
  143. package/dist/chunks/{checkmark-small.c79220d9.js.map → checkmark-small.d7e31e5e.js.map} +1 -1
  144. package/dist/chunks/{checkmark.eb3c7a06.js → checkmark.87919b24.js} +2 -2
  145. package/dist/chunks/{checkmark.eb3c7a06.js.map → checkmark.87919b24.js.map} +1 -1
  146. package/dist/chunks/{chevron-left.4ee92950.js → chevron-left.963d35e9.js} +2 -2
  147. package/dist/chunks/{chevron-left.4ee92950.js.map → chevron-left.963d35e9.js.map} +1 -1
  148. package/dist/chunks/{chevron-up.638a9f34.js → chevron-up.05ca20db.js} +2 -2
  149. package/dist/chunks/{chevron-up.638a9f34.js.map → chevron-up.05ca20db.js.map} +1 -1
  150. package/dist/chunks/{controls-group.2b31233c.js → controls-group.9e0f17b2.js} +3 -3
  151. package/dist/chunks/{controls-group.2b31233c.js.map → controls-group.9e0f17b2.js.map} +1 -1
  152. package/dist/chunks/{copy.9003ed59.js → copy.852d4cb8.js} +4 -4
  153. package/dist/chunks/{copy.9003ed59.js.map → copy.852d4cb8.js.map} +1 -1
  154. package/dist/chunks/{cross-circle-fill.1abec1a2.js → cross-circle-fill.81925c7f.js} +2 -2
  155. package/dist/chunks/{cross-circle-fill.1abec1a2.js.map → cross-circle-fill.81925c7f.js.map} +1 -1
  156. package/dist/chunks/{cross-small.b85406fe.js → cross-small.9bc6a02f.js} +2 -2
  157. package/dist/chunks/{cross-small.b85406fe.js.map → cross-small.9bc6a02f.js.map} +1 -1
  158. package/dist/chunks/{cross.26509efc.js → cross.a60533f6.js} +2 -2
  159. package/dist/chunks/{cross.26509efc.js.map → cross.a60533f6.js.map} +1 -1
  160. package/dist/chunks/dialog-page.ea67bb14.js +173 -0
  161. package/dist/chunks/dialog-page.ea67bb14.js.map +1 -0
  162. package/dist/chunks/{dropdown-default-textbox.311443a8.js → dropdown-default-textbox.ad5063c2.js} +4 -4
  163. package/dist/chunks/{dropdown-default-textbox.311443a8.js.map → dropdown-default-textbox.ad5063c2.js.map} +1 -1
  164. package/dist/chunks/{dropdown.170b43c4.js → dropdown.d8587f36.js} +295 -317
  165. package/dist/chunks/dropdown.d8587f36.js.map +1 -0
  166. package/dist/chunks/{error-message.4678cbdc.js → error-message.3fb5573a.js} +3 -3
  167. package/dist/chunks/{error-message.4678cbdc.js.map → error-message.3fb5573a.js.map} +1 -1
  168. package/dist/chunks/{fixed-scroller.f09618f2.js → fixed-scroller.59aefd1b.js} +3 -3
  169. package/dist/chunks/{fixed-scroller.f09618f2.js.map → fixed-scroller.59aefd1b.js.map} +1 -1
  170. package/dist/chunks/{footer-actions.2efe610e.js → footer-actions.89e68269.js} +4 -4
  171. package/dist/chunks/{footer-actions.2efe610e.js.map → footer-actions.89e68269.js.map} +1 -1
  172. package/dist/chunks/{index.1b1646bf.js → index.030c1dd7.js} +212 -191
  173. package/dist/chunks/index.030c1dd7.js.map +1 -0
  174. package/dist/chunks/{index.70c91b3b.js → index.07122048.js} +2 -2
  175. package/dist/chunks/{index.70c91b3b.js.map → index.07122048.js.map} +1 -1
  176. package/dist/chunks/{index.c41d1bbb.js → index.146f967e.js} +2 -2
  177. package/dist/chunks/{index.c41d1bbb.js.map → index.146f967e.js.map} +1 -1
  178. package/dist/chunks/{index.920cc1ee.js → index.5bdebf9d.js} +7 -7
  179. package/dist/chunks/{index.920cc1ee.js.map → index.5bdebf9d.js.map} +1 -1
  180. package/dist/chunks/{index.b772214b.js → index.6e0e9d21.js} +3 -3
  181. package/dist/chunks/{index.b772214b.js.map → index.6e0e9d21.js.map} +1 -1
  182. package/dist/chunks/{index.44f2aca7.js → index.8be283d5.js} +2 -2
  183. package/dist/chunks/{index.44f2aca7.js.map → index.8be283d5.js.map} +1 -1
  184. package/dist/chunks/{index.0d513625.js → index.96cd0d4c.js} +9 -9
  185. package/dist/chunks/{index.0d513625.js.map → index.96cd0d4c.js.map} +1 -1
  186. package/dist/chunks/{index.b3cb905c.js → index.9bf04b01.js} +3 -3
  187. package/dist/chunks/{index.b3cb905c.js.map → index.9bf04b01.js.map} +1 -1
  188. package/dist/chunks/{index.51fe0fc2.js → index.a3d60e4f.js} +17 -17
  189. package/dist/chunks/index.a3d60e4f.js.map +1 -0
  190. package/dist/chunks/{index.c5b58864.js → index.ba3396d3.js} +3 -3
  191. package/dist/chunks/{index.c5b58864.js.map → index.ba3396d3.js.map} +1 -1
  192. package/dist/chunks/{index.6987f880.js → index.c8ffede1.js} +7 -7
  193. package/dist/chunks/{index.6987f880.js.map → index.c8ffede1.js.map} +1 -1
  194. package/dist/chunks/{info.550f9511.js → info.205b4496.js} +2 -2
  195. package/dist/chunks/{info.550f9511.js.map → info.205b4496.js.map} +1 -1
  196. package/dist/chunks/{listbox-option-tag.bf77e0c4.js → listbox-option-tag.b6182b2e.js} +3 -3
  197. package/dist/chunks/{listbox-option-tag.bf77e0c4.js.map → listbox-option-tag.b6182b2e.js.map} +1 -1
  198. package/dist/chunks/{loading-button.cdc193c6.js → loading-button.0391ad8b.js} +4 -4
  199. package/dist/chunks/{loading-button.cdc193c6.js.map → loading-button.0391ad8b.js.map} +1 -1
  200. package/dist/chunks/{payment-method.ea1788f7.js → payment-method.31a68b9b.js} +2 -2
  201. package/dist/chunks/{payment-method.ea1788f7.js.map → payment-method.31a68b9b.js.map} +1 -1
  202. package/dist/chunks/{refresh.bd60f6a8.js → refresh.53691839.js} +2 -2
  203. package/dist/chunks/{refresh.bd60f6a8.js.map → refresh.53691839.js.map} +1 -1
  204. package/dist/chunks/{search.ade93bda.js → search.4e4ee4dd.js} +2 -2
  205. package/dist/chunks/{search.ade93bda.js.map → search.4e4ee4dd.js.map} +1 -1
  206. package/dist/chunks/{tooltip.10210728.js → tooltip.1084d92b.js} +3 -3
  207. package/dist/chunks/{tooltip.10210728.js.map → tooltip.1084d92b.js.map} +1 -1
  208. package/dist/chunks/{use-bento-toast-controller.3275a505.js → use-bento-toast-controller.98d8613c.js} +2 -2
  209. package/dist/chunks/{use-bento-toast-controller.3275a505.js.map → use-bento-toast-controller.98d8613c.js.map} +1 -1
  210. package/dist/chunks/use-cached-selected-values.852aeafe.js +1537 -0
  211. package/dist/chunks/use-cached-selected-values.852aeafe.js.map +1 -0
  212. package/dist/code-snippet.js +7 -7
  213. package/dist/code-snippet.js.map +1 -1
  214. package/dist/country.js +2 -2
  215. package/dist/currency.js +1 -1
  216. package/dist/data-grid-template.js +1 -1
  217. package/dist/data-grid.js +1317 -1256
  218. package/dist/data-grid.js.map +1 -1
  219. package/dist/date-picker.js +8 -8
  220. package/dist/date-range-picker.js +2 -2
  221. package/dist/date.js +1 -1
  222. package/dist/divider.js +1 -1
  223. package/dist/dropdown.js +7 -7
  224. package/dist/empty-state.js +3 -3
  225. package/dist/filter-bar.js +1260 -1108
  226. package/dist/filter-bar.js.map +1 -1
  227. package/dist/focus-trap.js +1 -1
  228. package/dist/form-layout.js +53 -51
  229. package/dist/form-layout.js.map +1 -1
  230. package/dist/header.js +5 -5
  231. package/dist/index.js +141 -133
  232. package/dist/index.js.map +1 -1
  233. package/dist/info-icon.js +4 -4
  234. package/dist/input-field.js +50 -48
  235. package/dist/input-field.js.map +1 -1
  236. package/dist/internal.js +31 -78
  237. package/dist/internal.js.map +1 -1
  238. package/dist/link.js +1 -1
  239. package/dist/loading-indicator.js +1 -1
  240. package/dist/menu.js +1 -1
  241. package/dist/modal-fullscreen.js +7 -7
  242. package/dist/modal.js +6 -6
  243. package/dist/pagination.js +4 -4
  244. package/dist/payment-method.js +1 -1
  245. package/dist/popover.js +1 -1
  246. package/dist/popper-container.js +1 -1
  247. package/dist/radio-group.js +112 -112
  248. package/dist/radio-group.js.map +1 -1
  249. package/dist/search-bar.js +4 -4
  250. package/dist/secondary-nav.js +2 -2
  251. package/dist/segmented-control.js +4 -4
  252. package/dist/selection-card.js +5 -5
  253. package/dist/sidepanel.js +64 -62
  254. package/dist/sidepanel.js.map +1 -1
  255. package/dist/status.js +2 -2
  256. package/dist/stepper.js +4 -4
  257. package/dist/structured-list.js +1 -1
  258. package/dist/summary-grid.js +3 -3
  259. package/dist/tabs.js +22 -20
  260. package/dist/tabs.js.map +1 -1
  261. package/dist/tag.js +3 -3
  262. package/dist/textarea.js +4 -4
  263. package/dist/timeline.js +7 -7
  264. package/dist/toast.js +5 -5
  265. package/dist/toggle.js +3 -3
  266. package/dist/tutorial.js +145 -124
  267. package/dist/tutorial.js.map +1 -1
  268. package/dist/typography.js +1 -1
  269. package/dist/web-types.json +1 -1
  270. package/package.json +7 -3
  271. package/dist/@types/packages/vue2/src/composables/useDynamicImport.d.ts +0 -8
  272. package/dist/chunks/dialog-page.2c07d294.js +0 -172
  273. package/dist/chunks/dialog-page.2c07d294.js.map +0 -1
  274. package/dist/chunks/dropdown.170b43c4.js.map +0 -1
  275. package/dist/chunks/index.1b1646bf.js.map +0 -1
  276. package/dist/chunks/index.51fe0fc2.js.map +0 -1
  277. package/dist/chunks/listbox.b6a1aea2.js +0 -1466
  278. package/dist/chunks/listbox.b6a1aea2.js.map +0 -1
  279. /package/dist/@types/packages/{vue2 → core}/src/components/typography/typography.types.d.ts +0 -0
  280. /package/dist/assets/{cross.css → checkmark-circle-fill.css} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { PropType } from "../../../../../../../vue3/node_modules/vue";
2
- import { BentoListboxEvent, BentoListboxOptionItem, BentoListboxOptions, BentoListboxSelectedValue, BentoListboxValue } from "../../../../../types";
2
+ import { BentoListboxEvent, BentoListboxLazyLoadType, BentoListboxOptionItem, BentoListboxOptions, BentoListboxValue } from "../../../../../types";
3
3
  /**
4
4
  * Listbox multi-select options list
5
5
  *
@@ -17,6 +17,13 @@ import { BentoListboxEvent, BentoListboxOptionItem, BentoListboxOptions, BentoLi
17
17
  * }
18
18
  */
19
19
  declare const _default: import("../../../../../../../vue3/node_modules/vue").DefineComponent<{
20
+ /**
21
+ * Indicates whether there are more items to load
22
+ */
23
+ hasMoreItems: {
24
+ type: BooleanConstructor;
25
+ default: boolean;
26
+ };
20
27
  /**
21
28
  * Function that allows the options to be disabled
22
29
  *
@@ -41,6 +48,16 @@ declare const _default: import("../../../../../../../vue3/node_modules/vue").Def
41
48
  type: PropType<BentoListboxOptions>;
42
49
  required: true;
43
50
  };
51
+ /**
52
+ * The type of `Lazy Load`.
53
+ * Type "automatic" will enable infinite scrolling
54
+ * Type "button" will enable lazy loading with "Show more" button
55
+ */
56
+ lazyLoadType: {
57
+ type: PropType<"button" | "none" | "automatic" | BentoListboxLazyLoadType>;
58
+ default: BentoListboxLazyLoadType;
59
+ validator: (value: BentoListboxLazyLoadType) => boolean;
60
+ };
44
61
  /**
45
62
  * Flag that indicates that an external search it's being made
46
63
  * to filter out the items inside the the multi-select listbox
@@ -56,8 +73,8 @@ declare const _default: import("../../../../../../../vue3/node_modules/vue").Def
56
73
  * Providing an empty array will select no options.
57
74
  */
58
75
  selectedValues: {
59
- type: PropType<BentoListboxSelectedValue>;
60
- default: () => BentoListboxSelectedValue;
76
+ type: PropType<BentoListboxOptions>;
77
+ required: true;
61
78
  };
62
79
  /**
63
80
  * If enabled, dropdown will display non-selectable, static categories
@@ -75,15 +92,16 @@ declare const _default: import("../../../../../../../vue3/node_modules/vue").Def
75
92
  isIndeterminate: import("../../../../../../../vue3/node_modules/vue").ComputedRef<boolean>;
76
93
  isMultiLevelSelect: import("../../../../../../../vue3/node_modules/vue").ComputedRef<boolean>;
77
94
  flattenedItemsList: import("../../../../../../../vue3/node_modules/vue").ComputedRef<any[]>;
78
- selectedItemsList: import("../../../../../../../vue3/node_modules/vue").Ref<any>;
95
+ selectedItemsList: import("../../../../../../../vue3/node_modules/vue").ComputedRef<BentoListboxValue[]>;
79
96
  selectAllCheckboxText: import("../../../../../../../vue3/node_modules/vue").ComputedRef<string>;
80
- selectedOptions: import("../../../../../../../vue3/node_modules/vue").ComputedRef<BentoListboxOptionItem[]>;
97
+ selectedOptions: import("../../../../../../../vue3/node_modules/vue").ComputedRef<BentoListboxOptions>;
98
+ showSelectAllCheckbox: import("../../../../../../../vue3/node_modules/vue").ComputedRef<boolean>;
81
99
  slots: Readonly<{
82
100
  [name: string]: import("../../../../../../../vue3/node_modules/vue").Slot;
83
101
  }>;
84
102
  BentoListboxEvent: typeof BentoListboxEvent;
85
103
  selectAllCategory: (category: BentoListboxOptionItem) => void;
86
- toggleCheckboxSelection: (eventName: any, value: BentoListboxValue) => void;
104
+ toggleCheckboxSelection: (eventName: any, selectedOption: BentoListboxOptionItem) => void;
87
105
  toggleSelectAll: (selectedValue: boolean) => void;
88
106
  unselectAllCategory: (category: BentoListboxOptionItem) => void;
89
107
  listboxListeners: {
@@ -93,6 +111,13 @@ declare const _default: import("../../../../../../../vue3/node_modules/vue").Def
93
111
  "keydown:end": () => void;
94
112
  };
95
113
  }, unknown, {}, {}, import("../../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, BentoListboxEvent.SELECT[], BentoListboxEvent.SELECT, import("../../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../../../vue3/node_modules/vue").ExtractPropTypes<{
114
+ /**
115
+ * Indicates whether there are more items to load
116
+ */
117
+ hasMoreItems: {
118
+ type: BooleanConstructor;
119
+ default: boolean;
120
+ };
96
121
  /**
97
122
  * Function that allows the options to be disabled
98
123
  *
@@ -117,6 +142,16 @@ declare const _default: import("../../../../../../../vue3/node_modules/vue").Def
117
142
  type: PropType<BentoListboxOptions>;
118
143
  required: true;
119
144
  };
145
+ /**
146
+ * The type of `Lazy Load`.
147
+ * Type "automatic" will enable infinite scrolling
148
+ * Type "button" will enable lazy loading with "Show more" button
149
+ */
150
+ lazyLoadType: {
151
+ type: PropType<"button" | "none" | "automatic" | BentoListboxLazyLoadType>;
152
+ default: BentoListboxLazyLoadType;
153
+ validator: (value: BentoListboxLazyLoadType) => boolean;
154
+ };
120
155
  /**
121
156
  * Flag that indicates that an external search it's being made
122
157
  * to filter out the items inside the the multi-select listbox
@@ -132,8 +167,8 @@ declare const _default: import("../../../../../../../vue3/node_modules/vue").Def
132
167
  * Providing an empty array will select no options.
133
168
  */
134
169
  selectedValues: {
135
- type: PropType<BentoListboxSelectedValue>;
136
- default: () => BentoListboxSelectedValue;
170
+ type: PropType<BentoListboxOptions>;
171
+ required: true;
137
172
  };
138
173
  /**
139
174
  * If enabled, dropdown will display non-selectable, static categories
@@ -148,6 +183,7 @@ declare const _default: import("../../../../../../../vue3/node_modules/vue").Def
148
183
  isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
149
184
  staticCategories: boolean;
150
185
  searching: boolean;
151
- selectedValues: BentoListboxSelectedValue;
186
+ hasMoreItems: boolean;
187
+ lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
152
188
  }>;
153
189
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from "../../../../../../../vue3/node_modules/vue";
2
- import { BentoListboxEvent, BentoListboxOptions, BentoListboxSelectedValue } from "../../../../../types";
2
+ import { BentoListboxEvent, BentoListboxOptions } from "../../../../../types";
3
3
  /**
4
4
  * Listbox single-select options list
5
5
  *
@@ -47,7 +47,7 @@ declare const _default: import("../../../../../../../vue3/node_modules/vue").Def
47
47
  * Set to an empty string `''` if you don't want any of the available options to be selected
48
48
  */
49
49
  selectedValue: {
50
- type: PropType<BentoListboxSelectedValue>;
50
+ type: PropType<BentoListboxOptions>;
51
51
  default: any;
52
52
  };
53
53
  /**
@@ -60,11 +60,12 @@ declare const _default: import("../../../../../../../vue3/node_modules/vue").Def
60
60
  }, {
61
61
  BentoListboxEvent: typeof BentoListboxEvent;
62
62
  listboxItemRef: import("../../../../../../../vue3/node_modules/vue").Ref<any[]>;
63
+ selectedItem: import("../../../../../../../vue3/node_modules/vue").ComputedRef<import("../../../../../types").BentoListboxOptionItem>;
63
64
  slots: Readonly<{
64
65
  [name: string]: import("../../../../../../../vue3/node_modules/vue").Slot;
65
66
  }>;
66
67
  hasCategories: import("../../../../../../../vue3/node_modules/vue").ComputedRef<boolean>;
67
- onOptionSelected: (eventName: any) => (selectedValue: BentoListboxSelectedValue) => void;
68
+ onOptionSelected: (eventName: any) => (selectedOption: BentoListboxOptions) => void;
68
69
  listboxListeners: {
69
70
  "keydown:arrow-up": (event?: CustomEvent<KeyboardEvent>) => void;
70
71
  "keydown:arrow-down": (event?: CustomEvent<KeyboardEvent>) => void;
@@ -72,10 +73,10 @@ declare const _default: import("../../../../../../../vue3/node_modules/vue").Def
72
73
  "keydown:end": () => void;
73
74
  };
74
75
  listboxOptionListeners: {
75
- select: (selectedValue: BentoListboxSelectedValue) => void;
76
- "space-pressed": (selectedValue: BentoListboxSelectedValue) => void;
77
- "tab-pressed": (selectedValue: BentoListboxSelectedValue) => void;
78
- "enter-pressed": (selectedValue: BentoListboxSelectedValue) => void;
76
+ select: (selectedOption: BentoListboxOptions) => void;
77
+ "space-pressed": (selectedOption: BentoListboxOptions) => void;
78
+ "tab-pressed": (selectedOption: BentoListboxOptions) => void;
79
+ "enter-pressed": (selectedOption: BentoListboxOptions) => void;
79
80
  };
80
81
  }, unknown, {}, {}, import("../../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, (BentoListboxEvent.SELECT | BentoListboxEvent.ENTER | BentoListboxEvent.SPACE | BentoListboxEvent.TAB)[], BentoListboxEvent.SELECT | BentoListboxEvent.ENTER | BentoListboxEvent.SPACE | BentoListboxEvent.TAB, import("../../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../../../vue3/node_modules/vue").ExtractPropTypes<{
81
82
  /**
@@ -108,7 +109,7 @@ declare const _default: import("../../../../../../../vue3/node_modules/vue").Def
108
109
  * Set to an empty string `''` if you don't want any of the available options to be selected
109
110
  */
110
111
  selectedValue: {
111
- type: PropType<BentoListboxSelectedValue>;
112
+ type: PropType<BentoListboxOptions>;
112
113
  default: any;
113
114
  };
114
115
  /**
@@ -125,7 +126,7 @@ declare const _default: import("../../../../../../../vue3/node_modules/vue").Def
125
126
  "onTab-pressed"?: (...args: any[]) => any;
126
127
  }, {
127
128
  isOptionDisabled: (optionValue: import("../../../../../types").BentoListboxOptionItem) => boolean;
128
- selectedValue: BentoListboxSelectedValue;
129
+ selectedValue: BentoListboxOptions;
129
130
  staticCategories: boolean;
130
131
  }>;
131
132
  export default _default;
@@ -14,14 +14,14 @@ import { Ref } from "../../../../../../../vue3/node_modules/vue";
14
14
  * @returns Two lists of cached items. One list with label/value pairs and one with only the values stored.
15
15
  */
16
16
  export declare const useCachedSelectedValues: (items: Ref<BentoListboxOptions>, selectedValues: Ref<BentoListboxSelectedValue>, multiple: Ref<boolean>) => {
17
- cachedSelectedValues: Ref<{
17
+ cachedSelectedListboxOptions: Ref<{
18
18
  data?: unknown;
19
19
  description?: string;
20
20
  value: BentoListboxValue;
21
21
  items?: any[];
22
22
  label: string;
23
23
  }[]>;
24
- simpleSelectedValuesCache: Ref<BentoListboxSelectedValue>;
24
+ cachedListboxSelectedValues: Ref<BentoListboxSelectedValue>;
25
25
  resetCache: () => void;
26
26
  setCachedValues: (newSelectedValues: BentoListboxOptions) => void;
27
27
  };
@@ -1,5 +1,5 @@
1
1
  import { PropType } from "../../../../../vue3/node_modules/vue";
2
- import { BentoKeyboardNavigationKeyDownEvent, BentoListboxEmptyStateProps, BentoListboxEvent, BentoListboxLazyLoadType, BentoListboxOptionItem, BentoListboxOptions, BentoListboxSelectedValue, BentoListboxVirtulisationOptions } from "../../../types";
2
+ import { BentoKeyboardNavigationKeyDownEvent, BentoListboxEmptyStateProps, BentoListboxEvent, BentoListboxLazyLoadType, BentoListboxOptionItem, BentoListboxOptions, BentoListboxVirtulisationOptions } from "../../../types";
3
3
  import { BentoLoadingButtonState } from "../../button";
4
4
  /**
5
5
  * Listbox container.
@@ -125,8 +125,8 @@ declare const _default: import("../../../../../vue3/node_modules/vue").DefineCom
125
125
  * Set to an empty string `''` if you don't want any of the available options to be selected for single select
126
126
  */
127
127
  selectedValue: {
128
- type: PropType<BentoListboxSelectedValue>;
129
- default: any;
128
+ type: PropType<BentoListboxOptions>;
129
+ default: () => any[];
130
130
  };
131
131
  /**
132
132
  * Enables virtual scrolling if set to true or by providing an object with itemHeight function.
@@ -148,8 +148,8 @@ declare const _default: import("../../../../../vue3/node_modules/vue").DefineCom
148
148
  title: string;
149
149
  image: "1-generic-use" | "2-generic-use" | "3-generic-use" | "4-generic-use" | "adding-payment-methods" | "adyen-giving" | "internal-error" | "no-results-found" | "notifications-cleared" | "page-not-found" | "planned-maintenance" | "referrals" | "success" | "upload-files" | "wrong-environment";
150
150
  variant: "condensed" | "full-page" | "embedded" | "basic";
151
- description: string;
152
151
  action: import("../../button").BentoButtonActionObject;
152
+ description: string;
153
153
  headingEl: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span";
154
154
  }> & Omit<Readonly<import("../../../../../vue3/node_modules/vue").ExtractPropTypes<{
155
155
  action: {
@@ -180,7 +180,7 @@ declare const _default: import("../../../../../vue3/node_modules/vue").DefineCom
180
180
  default: string;
181
181
  validator: (value: import("../../empty-state").BentoEmptyStateVariant) => boolean;
182
182
  };
183
- }>> & import("../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../vue3/node_modules/vue").ComponentCustomProps, "title" | "image" | "variant" | "description" | "action" | "headingEl">>;
183
+ }>> & import("../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../vue3/node_modules/vue").ComponentCustomProps, "title" | "image" | "variant" | "action" | "description" | "headingEl">>;
184
184
  loadingButtonState: import("../../../../../vue3/node_modules/vue").ComputedRef<BentoLoadingButtonState.START | BentoLoadingButtonState.LOADING>;
185
185
  slots: Readonly<{
186
186
  [name: string]: import("../../../../../vue3/node_modules/vue").Slot;
@@ -192,13 +192,13 @@ declare const _default: import("../../../../../vue3/node_modules/vue").DefineCom
192
192
  BentoKeyboardNavigationKeyDownEvent: typeof BentoKeyboardNavigationKeyDownEvent;
193
193
  BentoListboxEvent: typeof BentoListboxEvent;
194
194
  onListboxContainerScroll: () => void;
195
- onOptionSelected: (eventName: any) => (selectedValue: BentoListboxSelectedValue) => void;
195
+ onOptionSelected: (eventName: any) => (selectedItem: BentoListboxOptions) => void;
196
196
  emitShowMore: () => void;
197
197
  listboxListeners: {
198
- select: (selectedValue: BentoListboxSelectedValue) => void;
199
- "space-pressed": (selectedValue: BentoListboxSelectedValue) => void;
200
- "tab-pressed": (selectedValue: BentoListboxSelectedValue) => void;
201
- "enter-pressed": (selectedValue: BentoListboxSelectedValue) => void;
198
+ select: (selectedItem: BentoListboxOptions) => void;
199
+ "space-pressed": (selectedItem: BentoListboxOptions) => void;
200
+ "tab-pressed": (selectedItem: BentoListboxOptions) => void;
201
+ "enter-pressed": (selectedItem: BentoListboxOptions) => void;
202
202
  };
203
203
  }, unknown, {}, {}, import("../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../vue3/node_modules/vue").ComponentOptionsMixin, (BentoListboxEvent.SELECT | BentoListboxEvent.SHOW_MORE | BentoListboxEvent.ESCAPE | BentoListboxEvent.ENTER | BentoListboxEvent.SPACE | BentoListboxEvent.TAB)[], BentoListboxEvent.SELECT | BentoListboxEvent.SHOW_MORE | BentoListboxEvent.ESCAPE | BentoListboxEvent.ENTER | BentoListboxEvent.SPACE | BentoListboxEvent.TAB, import("../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../vue3/node_modules/vue").ExtractPropTypes<{
204
204
  /**
@@ -303,8 +303,8 @@ declare const _default: import("../../../../../vue3/node_modules/vue").DefineCom
303
303
  * Set to an empty string `''` if you don't want any of the available options to be selected for single select
304
304
  */
305
305
  selectedValue: {
306
- type: PropType<BentoListboxSelectedValue>;
307
- default: any;
306
+ type: PropType<BentoListboxOptions>;
307
+ default: () => any[];
308
308
  };
309
309
  /**
310
310
  * Enables virtual scrolling if set to true or by providing an object with itemHeight function.
@@ -324,14 +324,14 @@ declare const _default: import("../../../../../vue3/node_modules/vue").DefineCom
324
324
  }, {
325
325
  multiple: boolean;
326
326
  isOptionDisabled: (optionValue: BentoListboxOptionItem) => boolean;
327
- selectedValue: BentoListboxSelectedValue;
327
+ selectedValue: BentoListboxOptions;
328
328
  staticCategories: boolean;
329
329
  ariaLabel: string;
330
330
  searching: any;
331
- loading: boolean;
332
- emptyState: BentoListboxEmptyStateProps;
333
331
  hasMoreItems: boolean;
334
332
  lazyLoadType: "button" | "none" | "automatic" | BentoListboxLazyLoadType;
333
+ loading: boolean;
334
+ emptyState: BentoListboxEmptyStateProps;
335
335
  virtualScroll: BentoListboxVirtulisationOptions;
336
336
  }>;
337
337
  export default _default;
@@ -137,9 +137,9 @@ declare const _default: import("../../../../../vue3/node_modules/vue").DefineCom
137
137
  "onUpdate:model-value"?: (value: RadioInputValue) => any;
138
138
  }, {
139
139
  disabled: boolean;
140
- readonly: boolean;
141
140
  id: string;
142
141
  ariaLabel: string;
142
+ readonly: boolean;
143
143
  ariaDescribedby: string;
144
144
  hasError: boolean;
145
145
  modelValue: RadioInputValue;
@@ -36,14 +36,14 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
36
36
  subMenuFocusedIndex: import("../../../../../../vue3/node_modules/vue").Ref<number>;
37
37
  showSubMenu: import("../../../../../../vue3/node_modules/vue").Ref<boolean>;
38
38
  visibleSubMenuIndex: any;
39
- toggleMenu: (item: BentoMenuItem, index: number) => Promise<void>;
39
+ menuItemClick: (item: BentoMenuItem, index: number) => void;
40
40
  closeMenu: () => void;
41
41
  focusPrevious: () => void;
42
42
  focusNext: () => void;
43
43
  focusRight: (item: any, index: any) => void;
44
44
  focusLeft: () => void;
45
45
  onBackButton: () => void;
46
- }, unknown, {}, {}, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, BentoMenuEvent.CLOSE[], BentoMenuEvent.CLOSE, import("../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../../vue3/node_modules/vue").ExtractPropTypes<{
46
+ }, unknown, {}, {}, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, (BentoMenuEvent.CLOSE | "menu-item-click")[], BentoMenuEvent.CLOSE | "menu-item-click", import("../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../../vue3/node_modules/vue").ExtractPropTypes<{
47
47
  /**
48
48
  * The data to be displayed in the list
49
49
  */
@@ -67,6 +67,7 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
67
67
  };
68
68
  }>> & {
69
69
  onClose?: (...args: any[]) => any;
70
+ "onMenu-item-click"?: (...args: any[]) => any;
70
71
  }, {
71
72
  indentItems: boolean;
72
73
  focusLastElement: boolean;
@@ -1,5 +1,12 @@
1
1
  /**
2
2
  * Menu list container component to set the correct styling in a menu list. For internal use only.
3
3
  */
4
- declare const _default: import("../../../../../../vue3/node_modules/vue").DefineComponent<{}, {}, {}, {}, {}, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, {}, string, import("../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../../vue3/node_modules/vue").ExtractPropTypes<{}>>, {}>;
4
+ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../vue3/node_modules/vue").DefineComponent<{}, {}, {}, {}, {}, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../../../vue3/node_modules/vue").ComponentOptionsMixin, {}, string, import("../../../../../../vue3/node_modules/vue").VNodeProps & import("../../../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../../vue3/node_modules/vue").ExtractPropTypes<{}>>, {}>, {
5
+ default: (_: {}) => any;
6
+ }>;
5
7
  export default _default;
8
+ type __VLS_WithTemplateSlots<T, S> = T & {
9
+ new (): {
10
+ $slots: S;
11
+ };
12
+ };
@@ -84,8 +84,9 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
84
84
  onKeyDown: () => void;
85
85
  onKeyUp: () => void;
86
86
  closeMenu: () => void;
87
+ menuItemClick: () => void;
87
88
  toggleShowMenu: (e: MouseEvent) => void;
88
- }, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, (BentoMenuEvent.CLOSE | BentoMenuEvent.OPEN)[], BentoMenuEvent.CLOSE | BentoMenuEvent.OPEN, import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
89
+ }, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, (BentoMenuEvent.CLOSE | BentoMenuEvent.OPEN | "menu-item-click")[], BentoMenuEvent.CLOSE | BentoMenuEvent.OPEN | "menu-item-click", import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
89
90
  /**
90
91
  * Object containing props to change the menu button appearance. Accepts the same props present in BentoButton.
91
92
  */
@@ -134,6 +135,7 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
134
135
  }>> & {
135
136
  onClose?: (...args: any[]) => any;
136
137
  onOpen?: (...args: any[]) => any;
138
+ "onMenu-item-click"?: (...args: any[]) => any;
137
139
  }, {
138
140
  button: BentoMenuButtonProps;
139
141
  teleport: boolean;
@@ -238,11 +238,11 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_mo
238
238
  variant: "horizontal" | "vertical" | BentoRadioGroupVariant;
239
239
  disabled: boolean;
240
240
  description: string;
241
- optional: boolean;
242
- readonly: boolean;
243
241
  tooltipText: string;
242
+ optional: boolean;
244
243
  hideLabel: boolean;
245
244
  errorMessage: string;
245
+ readonly: boolean;
246
246
  hasError: boolean;
247
247
  modelValue: import("./components/radio-button").BentoRadioButtonValue;
248
248
  formId: string;
@@ -251,13 +251,13 @@ declare const _default: __VLS_WithTemplateSlots<import("../../../../../../vue3/n
251
251
  required: boolean;
252
252
  variant: BentoSelectionCardGroupVariant;
253
253
  disabled: boolean;
254
- description: string;
255
- optional: boolean;
256
- readonly: boolean;
257
254
  layout: BentoSelectionCardGroupLayout;
255
+ description: string;
258
256
  tooltipText: string;
257
+ optional: boolean;
259
258
  hideLabel: boolean;
260
259
  errorMessage: string;
260
+ readonly: boolean;
261
261
  modelValue: BentoSelectionCardModelValue;
262
262
  formId: string;
263
263
  }>, {
@@ -241,11 +241,11 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
241
241
  height: string;
242
242
  placeholder: string;
243
243
  description: string;
244
- optional: boolean;
245
- readonly: boolean;
246
244
  tooltipText: string;
245
+ optional: boolean;
247
246
  errorMessage: string;
248
247
  ariaLabel: string;
248
+ readonly: boolean;
249
249
  clearable: boolean;
250
250
  characterLimit: number;
251
251
  resizable: "none" | "both" | "horizontal" | "vertical" | BentoTextareaResizeOption;
@@ -119,8 +119,8 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
119
119
  }, {
120
120
  value: boolean;
121
121
  disabled: boolean;
122
- readonly: boolean;
123
122
  ariaLabel: string;
123
+ readonly: boolean;
124
124
  labelPosition: "after" | "before" | BentoToggleLabelPosition;
125
125
  }>;
126
126
  export default _default;
@@ -2,6 +2,7 @@ import { PropType, type default as Vue } from "../../../../../../vue3/node_modul
2
2
  import { BentoPopoverPositions } from "../../../popover";
3
3
  import { type BentoButtonActionObject } from "../../../button";
4
4
  import type { VueNodeElement } from "../../../../types";
5
+ import type { BentoTutorialScrollOptions } from '../../tutorial.types';
5
6
  declare const _default: __VLS_WithTemplateSlots<Vue.DefineComponent<{
6
7
  /**
7
8
  * Optional configuration for the secondary action.
@@ -61,6 +62,15 @@ declare const _default: __VLS_WithTemplateSlots<Vue.DefineComponent<{
61
62
  default: import("../../../popper-container").PopperContainerPositionExtended;
62
63
  validator: (value: BentoPopoverPositions) => boolean;
63
64
  };
65
+ /**
66
+ * Options to control the scroll into view behavior.
67
+ * Takes the same options as the `scrollIntoView` function
68
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView}
69
+ */
70
+ scrollOptions: {
71
+ type: PropType<BentoTutorialScrollOptions>;
72
+ default: any;
73
+ };
64
74
  /**
65
75
  * Indicates whether this popover is a single tutorial or a tour.
66
76
  */
@@ -166,6 +176,15 @@ declare const _default: __VLS_WithTemplateSlots<Vue.DefineComponent<{
166
176
  default: import("../../../popper-container").PopperContainerPositionExtended;
167
177
  validator: (value: BentoPopoverPositions) => boolean;
168
178
  };
179
+ /**
180
+ * Options to control the scroll into view behavior.
181
+ * Takes the same options as the `scrollIntoView` function
182
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView}
183
+ */
184
+ scrollOptions: {
185
+ type: PropType<BentoTutorialScrollOptions>;
186
+ default: any;
187
+ };
169
188
  /**
170
189
  * Indicates whether this popover is a single tutorial or a tour.
171
190
  */
@@ -240,6 +259,7 @@ declare const _default: __VLS_WithTemplateSlots<Vue.DefineComponent<{
240
259
  active: boolean;
241
260
  action: BentoButtonActionObject;
242
261
  totalSteps: number;
262
+ scrollOptions: any;
243
263
  }>, {
244
264
  default: (_: {}) => any;
245
265
  }>;
@@ -11,3 +11,4 @@ export interface BentoTutorialStep {
11
11
  action?: BentoButtonActionObject;
12
12
  position?: `${BentoPopoverPositions}`;
13
13
  }
14
+ export type BentoTutorialScrollOptions = boolean | ScrollIntoViewOptions;
@@ -1,5 +1,5 @@
1
1
  import { PropType } from "../../../../vue3/node_modules/vue";
2
- import type { BentoTutorialStep } from './tutorial.types';
2
+ import type { BentoTutorialScrollOptions, BentoTutorialStep } from './tutorial.types';
3
3
  /**
4
4
  * The Tutorial is a temporary popover that should be used to educate users about
5
5
  * new or unfamiliar features or experiences.
@@ -44,6 +44,15 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
44
44
  required: true;
45
45
  validator: (value: BentoTutorialStep[]) => boolean;
46
46
  };
47
+ /**
48
+ * Options to control the scroll into view behavior.
49
+ * Takes the same options as the `scrollIntoView` function
50
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView}
51
+ */
52
+ scrollOptions: {
53
+ type: PropType<BentoTutorialScrollOptions>;
54
+ default: any;
55
+ };
47
56
  }, {}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, {}, string, import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
48
57
  /**
49
58
  * The steps configuration for the tutorial.
@@ -54,5 +63,16 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
54
63
  required: true;
55
64
  validator: (value: BentoTutorialStep[]) => boolean;
56
65
  };
57
- }>>, {}>;
66
+ /**
67
+ * Options to control the scroll into view behavior.
68
+ * Takes the same options as the `scrollIntoView` function
69
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollIntoView}
70
+ */
71
+ scrollOptions: {
72
+ type: PropType<BentoTutorialScrollOptions>;
73
+ default: any;
74
+ };
75
+ }>>, {
76
+ scrollOptions: any;
77
+ }>;
58
78
  export default _default;
@@ -1,2 +1,2 @@
1
1
  export { default as BentoTypography } from './typography.vue';
2
- export * from './typography.types';
2
+ export * from "../../../../core/src/components/typography/typography.types";
@@ -1,4 +1,4 @@
1
- import { BentoTypographyElement, BentoTypographyVariant } from './typography.types';
1
+ import { BentoTypographyElement, BentoTypographyVariant } from "../../../../core/src/components/typography/typography.types";
2
2
  /**
3
3
  * The Typography component makes it easy to apply a default set of font weights, sizes and other text styles
4
4
  * easily to text. The variants and properties match with those found in Figma.
@@ -0,0 +1 @@
1
+ export * from './use-click-outside';
@@ -50,6 +50,7 @@ export * from './components/tutorial';
50
50
  export * from './components/typography';
51
51
  export * from './composables/use-form-validate';
52
52
  export * from './composables/use-bento-toast-controller';
53
+ export * from './composables/use-click-outside';
53
54
  export * from './templates/data-grid-template';
54
55
  export * from './types';
55
56
  export * from './directives';
package/dist/accordion.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { defineComponent as C, provide as k, toRef as B, openBlock as a, createElementBlock as r, renderSlot as E, ref as b, inject as O, computed as $, watch as s, createVNode as y, unref as e, withCtx as g, createElementVNode as h, createBlock as I, createTextVNode as z, toDisplayString as A, Transition as D, normalizeStyle as H, createCommentVNode as V } from "vue";
2
2
  import { _ as N } from "./chunks/_plugin-vue_export-helper.dad06003.js";
3
- import { B as w } from "./chunks/index.51fe0fc2.js";
4
- import { C as R, a as j } from "./chunks/chevron-up.638a9f34.js";
3
+ import { B as w } from "./chunks/index.a3d60e4f.js";
4
+ import { C as R, a as j } from "./chunks/chevron-up.05ca20db.js";
5
5
  import { g as x } from "./chunks/unique-id.a2a2b458.js";
6
6
  import { o as M } from "./chunks/resize.a041304d.js";
7
7
  import { u as U } from "./chunks/use-expandable-content-height.62fc84e5.js";
8
- import "./assets/index9.css";
8
+ import "./assets/index10.css";
9
9
  const S = Symbol("accordion title size injection key"), q = { class: "b-accordion" }, J = {}, K = /* @__PURE__ */ C({
10
10
  ...J,
11
11
  __name: "accordion",
@@ -1,13 +1,13 @@
1
1
  import { onMounted as k, nextTick as B, getCurrentScope as z, onScopeDispose as H, unref as o, getCurrentInstance as x, ref as _, watch as A, watchEffect as U, computed as y, defineComponent as Y, toRefs as K, provide as Q, openBlock as S, createBlock as I, Transition as $, withCtx as w, createElementVNode as V, normalizeClass as q, createElementBlock as J, createVNode as N, createCommentVNode as Z, createTextVNode as X, toDisplayString as W } from "vue";
2
- import { a as ee } from "./chunks/button.ce5d1f5e.js";
3
- import { B as te } from "./chunks/index.51fe0fc2.js";
4
- import { B as ne } from "./chunks/button-actions-with-menu.305991e5.js";
5
- import { C as ae } from "./chunks/cross.26509efc.js";
2
+ import { a as ee } from "./chunks/button.60dad578.js";
3
+ import { B as te } from "./chunks/index.a3d60e4f.js";
4
+ import { B as ne } from "./chunks/button-actions-with-menu.7fce47a2.js";
5
+ import { C as ae } from "./chunks/cross.a60533f6.js";
6
6
  import { u as oe } from "./chunks/i18n.f7e6533e.js";
7
- import { P as ie } from "./chunks/index.920cc1ee.js";
8
- import { B as se } from "./chunks/button-actions.ea025810.js";
7
+ import { P as ie } from "./chunks/index.5bdebf9d.js";
8
+ import { B as se } from "./chunks/button-actions.642b37de.js";
9
9
  import { _ as ce } from "./chunks/_plugin-vue_export-helper.dad06003.js";
10
- import "./assets/index35.css";
10
+ import "./assets/index17.css";
11
11
  function P(e) {
12
12
  return z() ? (H(e), !0) : !1;
13
13
  }