@adyen/bento-vue3 1.3.0 → 1.4.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 (364) hide show
  1. package/dist/@types/components.d.ts +8 -4
  2. package/dist/@types/packages/core/src/components/button/button.types.d.ts +8 -0
  3. package/dist/@types/packages/vue2/src/components/accordion/accordion.keys.d.ts +1 -1
  4. package/dist/@types/packages/vue2/src/components/accordion/accordion.types.d.ts +1 -24
  5. package/dist/@types/packages/vue2/src/components/accordion/accordion.vue.d.ts +17 -57
  6. package/dist/@types/packages/vue2/src/components/accordion/components/accordion-item.vue.d.ts +27 -29
  7. package/dist/@types/packages/vue2/src/components/accordion/index.d.ts +2 -3
  8. package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +0 -4
  9. package/dist/@types/packages/vue2/src/components/avatar-image/avatar-image.vue.d.ts +1 -4
  10. package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +136 -128
  11. package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +3 -5
  12. package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +3 -3
  13. package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +2 -2
  14. package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +46 -15
  15. package/dist/@types/packages/vue2/src/components/checkbox/checkbox.types.d.ts +2 -1
  16. package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +6 -7
  17. package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +4 -3
  18. package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.types.d.ts +2 -1
  19. package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +37 -11
  20. package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +0 -2
  21. package/dist/@types/packages/vue2/src/components/currency/currency.vue.d.ts +0 -3
  22. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +3 -22
  23. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/components/data-grid-config-settings-column-row/data-grid-config-settings-column-row.vue.d.ts +0 -5
  24. package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +0 -24
  25. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +2 -0
  26. package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +277 -16
  27. package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +2 -5
  28. package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +0 -20
  29. package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +0 -2
  30. package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +0 -20
  31. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +3 -6
  32. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +3 -3
  33. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +164 -104
  34. package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +2 -2
  35. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.types.d.ts +1 -1
  36. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +0 -2
  37. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.types.d.ts +1 -1
  38. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.types.d.ts +1 -1
  39. package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.types.d.ts +1 -1
  40. package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +7 -9
  41. package/dist/@types/packages/vue2/src/components/empty-state/empty-state.types.d.ts +27 -0
  42. package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +76 -0
  43. package/dist/@types/packages/vue2/src/components/empty-state/index.d.ts +2 -0
  44. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +19 -25
  45. package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/components/all-filters-modal-button/all-filters-modal-button.vue.d.ts +1 -1
  46. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/base-filter.vue.d.ts +1 -27
  47. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter-button/base-filter-button.vue.d.ts +1 -4
  48. package/dist/@types/packages/vue2/src/components/filter-bar/components/date-filter/date-filter.vue.d.ts +1 -1
  49. package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +1 -11
  50. package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/filter-bar-button.vue.d.ts +53 -0
  51. package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/index.d.ts +1 -0
  52. package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.vue.d.ts +1 -0
  53. package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/range-filter.vue.d.ts +0 -2
  54. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.vue.d.ts +1 -1
  55. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +0 -2
  56. package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +0 -2
  57. package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +0 -2
  58. package/dist/@types/packages/vue2/src/components/focus-trap/focus-trap.vue.d.ts +7 -0
  59. package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +0 -2
  60. package/dist/@types/packages/vue2/src/components/image/const.d.ts +1 -0
  61. package/dist/@types/packages/vue2/src/components/image/image.types.d.ts +19 -0
  62. package/dist/@types/packages/vue2/src/components/image/image.vue.d.ts +50 -0
  63. package/dist/@types/packages/vue2/src/components/image/index.d.ts +1 -0
  64. package/dist/@types/packages/vue2/src/components/info-icon/info-icon.vue.d.ts +3 -3
  65. package/dist/@types/packages/vue2/src/components/input-field/input-field.types.d.ts +1 -0
  66. package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +61 -58
  67. package/dist/@types/packages/vue2/src/components/internal/avatar/avatar.vue.d.ts +0 -3
  68. package/dist/@types/packages/vue2/src/components/internal/base-button/base-button.vue.d.ts +1 -4
  69. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +0 -5
  70. package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.vue.d.ts +2 -2
  71. package/dist/@types/packages/vue2/src/components/internal/copy/copy.vue.d.ts +0 -2
  72. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.vue.d.ts +0 -2
  73. 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 +0 -2
  74. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +0 -2
  75. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue.d.ts +0 -2
  76. package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select-option/listbox-single-select-option.vue.d.ts +0 -2
  77. package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +3 -7
  78. package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +4 -0
  79. package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.vue.d.ts +2 -5
  80. package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +6 -31
  81. package/dist/@types/packages/vue2/src/components/modal/components/base-modal/__mocks__/base-modal.vue.d.ts +0 -5
  82. package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +14 -9
  83. package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +2 -2
  84. package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +4 -14
  85. package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +7 -6
  86. package/dist/@types/packages/vue2/src/components/pagination/components/pagination-context/pagination-context.vue.d.ts +0 -2
  87. package/dist/@types/packages/vue2/src/components/pagination/components/pagination-controls/pagination-controls.vue.d.ts +0 -2
  88. package/dist/@types/packages/vue2/src/components/pagination/components/pagination-results-per-page/pagination-results-per-page.vue.d.ts +0 -2
  89. package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +2 -1
  90. package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +0 -2
  91. package/dist/@types/packages/vue2/src/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue.d.ts +0 -2
  92. package/dist/@types/packages/vue2/src/components/popover/components/popover-title/popover-title.vue.d.ts +1 -2
  93. package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +9 -9
  94. package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +5 -14
  95. package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.vue.d.ts +4 -6
  96. package/dist/@types/packages/vue2/src/components/radio-group/radio-group.types.d.ts +2 -1
  97. package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +4 -3
  98. package/dist/@types/packages/vue2/src/components/search-bar/search-bar.vue.d.ts +19 -390
  99. package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +0 -3
  100. package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.vue.d.ts +1 -0
  101. package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.types.d.ts +3 -1
  102. package/dist/@types/packages/vue2/src/components/status/status.vue.d.ts +2 -5
  103. package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +0 -2
  104. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +2 -23
  105. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +2 -5
  106. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +2 -5
  107. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +2 -5
  108. package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +1 -4
  109. package/dist/@types/packages/vue2/src/components/tabs/components/tab.types.d.ts +3 -1
  110. package/dist/@types/packages/vue2/src/components/tabs/components/tab.vue.d.ts +1 -0
  111. package/dist/@types/packages/vue2/src/components/tabs/tabs.keys.d.ts +1 -0
  112. package/dist/@types/packages/vue2/src/components/tabs/tabs.types.d.ts +6 -2
  113. package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +4 -9
  114. package/dist/@types/packages/vue2/src/components/tag/tag.vue.d.ts +6 -9
  115. package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +6 -10
  116. package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +4 -10
  117. package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +1 -0
  118. package/dist/@types/packages/vue2/src/components/toast/components/toast-item/toast-item.vue.d.ts +0 -5
  119. package/dist/@types/packages/vue2/src/components/toggle/toggle.vue.d.ts +4 -6
  120. package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +24 -40
  121. package/dist/@types/packages/vue2/src/composables/use-default-slot-validator/use-default-slot-validator.d.ts +2 -1
  122. package/dist/@types/packages/vue2/src/composables/use-has-slot/use-has-slot.d.ts +8 -1
  123. package/dist/@types/packages/vue2/src/index.d.ts +3 -0
  124. package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.vue.d.ts +9 -0
  125. package/dist/@types/packages/vue2/src/utils/ts/get-slot-text/get-slot-text.d.ts +1 -1
  126. package/dist/@types/packages/vue2/src/utils/ts/print-development-warning.d.ts +1 -0
  127. package/dist/accordion.js +104 -254
  128. package/dist/accordion.js.map +1 -1
  129. package/dist/alert.js +61 -64
  130. package/dist/alert.js.map +1 -1
  131. package/dist/assets/base-button.css +1 -1
  132. package/dist/assets/base-modal.css +1 -0
  133. package/dist/assets/button.css +1 -1
  134. package/dist/assets/calendar.css +1 -1
  135. package/dist/assets/checkbox.css +1 -1
  136. package/dist/assets/chevron-up.css +1 -0
  137. package/dist/assets/controls-group.css +1 -1
  138. package/dist/assets/copy.css +1 -1
  139. package/dist/assets/dropdown-default-textbox.css +1 -1
  140. package/dist/assets/dropdown.css +1 -1
  141. package/dist/assets/error-message.css +1 -1
  142. package/dist/assets/footer-actions.css +1 -1
  143. package/dist/assets/index.css +1 -1
  144. package/dist/assets/index10.css +1 -1
  145. package/dist/assets/index11.css +1 -1
  146. package/dist/assets/index12.css +1 -1
  147. package/dist/assets/index13.css +1 -1
  148. package/dist/assets/index14.css +1 -1
  149. package/dist/assets/index15.css +1 -1
  150. package/dist/assets/index16.css +1 -1
  151. package/dist/assets/index17.css +1 -1
  152. package/dist/assets/index18.css +1 -1
  153. package/dist/assets/index19.css +1 -1
  154. package/dist/assets/index2.css +1 -1
  155. package/dist/assets/index20.css +1 -1
  156. package/dist/assets/index21.css +1 -1
  157. package/dist/assets/index22.css +1 -1
  158. package/dist/assets/index24.css +1 -1
  159. package/dist/assets/index25.css +1 -1
  160. package/dist/assets/index26.css +1 -1
  161. package/dist/assets/index27.css +1 -1
  162. package/dist/assets/index28.css +1 -1
  163. package/dist/assets/index29.css +1 -1
  164. package/dist/assets/index3.css +1 -1
  165. package/dist/assets/index30.css +1 -1
  166. package/dist/assets/index31.css +1 -1
  167. package/dist/assets/index32.css +1 -1
  168. package/dist/assets/index33.css +1 -1
  169. package/dist/assets/index34.css +1 -1
  170. package/dist/assets/index35.css +1 -1
  171. package/dist/assets/index36.css +1 -1
  172. package/dist/assets/index37.css +1 -1
  173. package/dist/assets/index38.css +1 -1
  174. package/dist/assets/index39.css +1 -1
  175. package/dist/assets/index4.css +1 -1
  176. package/dist/assets/index40.css +1 -1
  177. package/dist/assets/index41.css +1 -1
  178. package/dist/assets/index42.css +1 -1
  179. package/dist/assets/index43.css +1 -0
  180. package/dist/assets/index5.css +1 -1
  181. package/dist/assets/index6.css +1 -1
  182. package/dist/assets/index7.css +1 -1
  183. package/dist/assets/index8.css +1 -1
  184. package/dist/assets/index9.css +1 -1
  185. package/dist/assets/listbox-option-tag.css +1 -1
  186. package/dist/assets/listbox.css +1 -1
  187. package/dist/assets/loading-button.css +1 -1
  188. package/dist/assets/tooltip.css +1 -1
  189. package/dist/avatar-image.js +1 -1
  190. package/dist/badge.js +2 -2
  191. package/dist/button.js +143 -12
  192. package/dist/button.js.map +1 -1
  193. package/dist/card.js +99 -94
  194. package/dist/card.js.map +1 -1
  195. package/dist/checkbox.js +40 -39
  196. package/dist/checkbox.js.map +1 -1
  197. package/dist/chunks/base-button.6d2843c2.js +108 -0
  198. package/dist/chunks/base-button.6d2843c2.js.map +1 -0
  199. package/dist/chunks/base-modal.3ccb9eb5.js +291 -0
  200. package/dist/chunks/base-modal.3ccb9eb5.js.map +1 -0
  201. package/dist/chunks/{button.e1c39f66.js → button.a8462029.js} +39 -42
  202. package/dist/chunks/button.a8462029.js.map +1 -0
  203. package/dist/chunks/{calendar.09b683b3.js → calendar.3f930683.js} +237 -240
  204. package/dist/chunks/calendar.3f930683.js.map +1 -0
  205. package/dist/chunks/checkbox.5e1e05ae.js +235 -0
  206. package/dist/chunks/checkbox.5e1e05ae.js.map +1 -0
  207. package/dist/chunks/{chevron-down.69bedf14.js → chevron-up.c03b58f8.js} +8 -8
  208. package/dist/chunks/chevron-up.c03b58f8.js.map +1 -0
  209. package/dist/chunks/controls-group.3b0dfb94.js +136 -0
  210. package/dist/chunks/controls-group.3b0dfb94.js.map +1 -0
  211. package/dist/chunks/{copy.2cf5e6c3.js → copy.1d14b783.js} +49 -50
  212. package/dist/chunks/copy.1d14b783.js.map +1 -0
  213. package/dist/chunks/{dropdown-default-textbox.203e747f.js → dropdown-default-textbox.a90e84f9.js} +88 -90
  214. package/dist/chunks/dropdown-default-textbox.a90e84f9.js.map +1 -0
  215. package/dist/chunks/{dropdown.8b415aac.js → dropdown.b798a82e.js} +348 -330
  216. package/dist/chunks/dropdown.b798a82e.js.map +1 -0
  217. package/dist/chunks/{error-message.ddfe8ea5.js → error-message.9acead25.js} +16 -16
  218. package/dist/chunks/error-message.9acead25.js.map +1 -0
  219. package/dist/chunks/footer-actions.9537d0df.js +111 -0
  220. package/dist/chunks/footer-actions.9537d0df.js.map +1 -0
  221. package/dist/chunks/get-slot-text.bead058f.js +9 -0
  222. package/dist/chunks/get-slot-text.bead058f.js.map +1 -0
  223. package/dist/chunks/{grid-layout.a30855ff.js → grid-layout.984317d7.js} +2 -2
  224. package/dist/chunks/{grid-layout.a30855ff.js.map → grid-layout.984317d7.js.map} +1 -1
  225. package/dist/chunks/index.228ecda0.js +101 -0
  226. package/dist/chunks/index.228ecda0.js.map +1 -0
  227. package/dist/chunks/index.89b00b94.js +124 -0
  228. package/dist/chunks/index.89b00b94.js.map +1 -0
  229. package/dist/chunks/{index.3da90517.js → index.9d8273fc.js} +38 -40
  230. package/dist/chunks/index.9d8273fc.js.map +1 -0
  231. package/dist/chunks/{index.c9225c3b.js → index.c2a80208.js} +195 -201
  232. package/dist/chunks/index.c2a80208.js.map +1 -0
  233. package/dist/chunks/{index.13949709.js → index.d26fdf71.js} +116 -113
  234. package/dist/chunks/{index.13949709.js.map → index.d26fdf71.js.map} +1 -1
  235. package/dist/chunks/{index.d27367cd.js → index.e84dbeae.js} +80 -83
  236. package/dist/chunks/{index.d27367cd.js.map → index.e84dbeae.js.map} +1 -1
  237. package/dist/chunks/listbox-option-tag.0c9c571e.js +129 -0
  238. package/dist/chunks/listbox-option-tag.0c9c571e.js.map +1 -0
  239. package/dist/chunks/{listbox.0c7c4e5e.js → listbox.6b52af1a.js} +315 -334
  240. package/dist/chunks/listbox.6b52af1a.js.map +1 -0
  241. package/dist/chunks/{loading-button.61d8ebe5.js → loading-button.081adbf3.js} +33 -33
  242. package/dist/chunks/loading-button.081adbf3.js.map +1 -0
  243. package/dist/chunks/tabs.keys.358742f2.js +7 -0
  244. package/dist/chunks/tabs.keys.358742f2.js.map +1 -0
  245. package/dist/chunks/{tooltip.835d9b52.js → tooltip.e4e34b86.js} +56 -59
  246. package/dist/chunks/tooltip.e4e34b86.js.map +1 -0
  247. package/dist/chunks/use-default-slot-validator.1169c221.js +16 -0
  248. package/dist/chunks/use-default-slot-validator.1169c221.js.map +1 -0
  249. package/dist/chunks/use-has-slot.9fac7123.js +16 -0
  250. package/dist/chunks/use-has-slot.9fac7123.js.map +1 -0
  251. package/dist/code-snippet.js +548 -463
  252. package/dist/code-snippet.js.map +1 -1
  253. package/dist/country.js +501 -505
  254. package/dist/country.js.map +1 -1
  255. package/dist/currency.js +38 -41
  256. package/dist/currency.js.map +1 -1
  257. package/dist/data-grid.js +837 -833
  258. package/dist/data-grid.js.map +1 -1
  259. package/dist/date-picker.js +83 -87
  260. package/dist/date-picker.js.map +1 -1
  261. package/dist/date-range-picker.js +2 -2
  262. package/dist/date.js +1 -1
  263. package/dist/dropdown.js +30 -32
  264. package/dist/dropdown.js.map +1 -1
  265. package/dist/empty-state.js +166 -0
  266. package/dist/empty-state.js.map +1 -0
  267. package/dist/filter-bar.js +986 -935
  268. package/dist/filter-bar.js.map +1 -1
  269. package/dist/focus-trap.js +1 -1
  270. package/dist/form-layout.js +72 -72
  271. package/dist/form-layout.js.map +1 -1
  272. package/dist/header.js +50 -52
  273. package/dist/header.js.map +1 -1
  274. package/dist/image.js +76 -0
  275. package/dist/image.js.map +1 -0
  276. package/dist/index.js +239 -232
  277. package/dist/index.js.map +1 -1
  278. package/dist/info-icon.js +2 -2
  279. package/dist/input-field.js +241 -269
  280. package/dist/input-field.js.map +1 -1
  281. package/dist/internal.js +7 -7
  282. package/dist/link.js +38 -36
  283. package/dist/link.js.map +1 -1
  284. package/dist/loading-indicator.js +1 -1
  285. package/dist/menu.js +131 -139
  286. package/dist/menu.js.map +1 -1
  287. package/dist/modal.js +121 -356
  288. package/dist/modal.js.map +1 -1
  289. package/dist/pagination.js +182 -185
  290. package/dist/pagination.js.map +1 -1
  291. package/dist/payment-method.js +19 -23
  292. package/dist/payment-method.js.map +1 -1
  293. package/dist/popover.js +56 -52
  294. package/dist/popover.js.map +1 -1
  295. package/dist/popper-container.js +36 -41
  296. package/dist/popper-container.js.map +1 -1
  297. package/dist/radio-group.js +112 -113
  298. package/dist/radio-group.js.map +1 -1
  299. package/dist/search-bar.js +77 -91
  300. package/dist/search-bar.js.map +1 -1
  301. package/dist/segmented-control.js +88 -75
  302. package/dist/segmented-control.js.map +1 -1
  303. package/dist/sidepanel.js +122 -121
  304. package/dist/sidepanel.js.map +1 -1
  305. package/dist/status.js +18 -21
  306. package/dist/status.js.map +1 -1
  307. package/dist/structured-list.js +1 -1
  308. package/dist/summary-grid.js +129 -162
  309. package/dist/summary-grid.js.map +1 -1
  310. package/dist/tabs.js +83 -75
  311. package/dist/tabs.js.map +1 -1
  312. package/dist/tag.js +32 -35
  313. package/dist/tag.js.map +1 -1
  314. package/dist/textarea.js +156 -155
  315. package/dist/textarea.js.map +1 -1
  316. package/dist/timeline.js +212 -213
  317. package/dist/timeline.js.map +1 -1
  318. package/dist/toast.js +68 -72
  319. package/dist/toast.js.map +1 -1
  320. package/dist/toggle.js +75 -73
  321. package/dist/toggle.js.map +1 -1
  322. package/dist/typography.js +1 -1
  323. package/dist/web-types.json +1 -1
  324. package/package.json +11 -10
  325. package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateBodyFitContentDynamicStyles/useCalculateBodyFitContentDynamicStyles.d.ts +0 -2
  326. package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateBodyFitContentDynamicStyles/useCalculateBodyFitContentDynamicStyles.types.d.ts +0 -8
  327. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/components/filter-bar-filter-button/filter-bar-filter-button.vue.d.ts +0 -58
  328. package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/components/index.d.ts +0 -1
  329. package/dist/assets/button-actions.css +0 -1
  330. package/dist/assets/chevron-down.css +0 -1
  331. package/dist/chunks/base-button.20be08da.js +0 -111
  332. package/dist/chunks/base-button.20be08da.js.map +0 -1
  333. package/dist/chunks/button-actions.54e28e75.js +0 -124
  334. package/dist/chunks/button-actions.54e28e75.js.map +0 -1
  335. package/dist/chunks/button.e1c39f66.js.map +0 -1
  336. package/dist/chunks/calendar.09b683b3.js.map +0 -1
  337. package/dist/chunks/checkbox.a404069b.js +0 -226
  338. package/dist/chunks/checkbox.a404069b.js.map +0 -1
  339. package/dist/chunks/chevron-down.69bedf14.js.map +0 -1
  340. package/dist/chunks/controls-group.60fb2a86.js +0 -136
  341. package/dist/chunks/controls-group.60fb2a86.js.map +0 -1
  342. package/dist/chunks/copy.2cf5e6c3.js.map +0 -1
  343. package/dist/chunks/dropdown-default-textbox.203e747f.js.map +0 -1
  344. package/dist/chunks/dropdown.8b415aac.js.map +0 -1
  345. package/dist/chunks/error-message.ddfe8ea5.js.map +0 -1
  346. package/dist/chunks/footer-actions.0f640f87.js +0 -106
  347. package/dist/chunks/footer-actions.0f640f87.js.map +0 -1
  348. package/dist/chunks/get-slot-text.2db867f8.js +0 -9
  349. package/dist/chunks/get-slot-text.2db867f8.js.map +0 -1
  350. package/dist/chunks/index.222d29b0.js +0 -120
  351. package/dist/chunks/index.222d29b0.js.map +0 -1
  352. package/dist/chunks/index.3da90517.js.map +0 -1
  353. package/dist/chunks/index.aa34e363.js +0 -104
  354. package/dist/chunks/index.aa34e363.js.map +0 -1
  355. package/dist/chunks/index.c9225c3b.js.map +0 -1
  356. package/dist/chunks/listbox-option-tag.5ae8b79b.js +0 -133
  357. package/dist/chunks/listbox-option-tag.5ae8b79b.js.map +0 -1
  358. package/dist/chunks/listbox.0c7c4e5e.js.map +0 -1
  359. package/dist/chunks/loading-button.61d8ebe5.js.map +0 -1
  360. package/dist/chunks/tooltip.835d9b52.js.map +0 -1
  361. package/dist/chunks/use-default-slot-validator.83d977a1.js +0 -11
  362. package/dist/chunks/use-default-slot-validator.83d977a1.js.map +0 -1
  363. package/dist/chunks/use-has-slot.068222e6.js +0 -5
  364. package/dist/chunks/use-has-slot.068222e6.js.map +0 -1
package/dist/menu.js CHANGED
@@ -1,50 +1,50 @@
1
- import { openBlock as m, createElementBlock as k, mergeProps as W, toDisplayString as N, createCommentVNode as P, pushScopeId as le, popScopeId as ue, createElementVNode as T, defineComponent as O, computed as M, resolveComponent as C, createBlock as S, normalizeClass as j, createSlots as ie, withCtx as g, createVNode as I, createTextVNode as A, resolveDynamicComponent as ae, renderSlot as Y, ref as f, onMounted as re, Transition as ce, withKeys as y, withModifiers as E, Fragment as Z, renderList as z, normalizeStyle as G, resolveDirective as de, withDirectives as me } from "vue";
2
- import { _ as L } from "./chunks/_plugin-vue_export-helper.dad06003.js";
1
+ import { openBlock as m, createElementBlock as k, mergeProps as V, toDisplayString as E, createCommentVNode as P, pushScopeId as se, popScopeId as le, createElementVNode as O, defineComponent as K, computed as B, resolveComponent as h, createBlock as L, normalizeClass as W, createSlots as ue, withCtx as g, createVNode as I, createTextVNode as D, resolveDynamicComponent as ie, renderSlot as j, ref as f, onMounted as ae, Transition as re, withKeys as y, withModifiers as T, Fragment as Z, renderList as z, normalizeStyle as G, resolveDirective as de, withDirectives as ce } from "vue";
2
+ import { _ as S } from "./chunks/_plugin-vue_export-helper.dad06003.js";
3
3
  import { g as F } from "./chunks/unique-id.a2a2b458.js";
4
- import { B as pe } from "./chunks/directive.0408e565.js";
5
- import { B as fe, a as V } from "./chunks/button.e1c39f66.js";
6
- import { BentoPopover as ve, BentoPopoverPositions as K } from "./popover.js";
7
- import { a as _e, C as H } from "./chunks/chevron-right.aef416c6.js";
8
- import { B as be, a as q } from "./chunks/base-button.20be08da.js";
9
- import { B as ye, a as he, b as Ce } from "./chunks/index.222d29b0.js";
10
- import "./assets/index20.css";
4
+ import { B as me } from "./chunks/directive.0408e565.js";
5
+ import { a as pe } from "./chunks/button.a8462029.js";
6
+ import { BentoPopover as fe, BentoPopoverPositions as H } from "./popover.js";
7
+ import { a as ve, C as A } from "./chunks/chevron-right.aef416c6.js";
8
+ import { B as _e, a as q } from "./chunks/base-button.6d2843c2.js";
9
+ import { B as be } from "./chunks/index.89b00b94.js";
10
+ import "./assets/index19.css";
11
11
  let U = 0;
12
- const ge = {
12
+ const ye = {
13
13
  beforeCreate() {
14
14
  this.uuid = U.toString(), U += 1;
15
15
  }
16
- }, D = (e) => (le("data-v-c663a42e"), e = e(), ue(), e), Be = { key: 0 }, $e = /* @__PURE__ */ D(() => /* @__PURE__ */ T("path", {
16
+ }, N = (e) => (se("data-v-c663a42e"), e = e(), le(), e), Ce = { key: 0 }, he = /* @__PURE__ */ N(() => /* @__PURE__ */ O("path", {
17
17
  fill: "#00112C",
18
18
  "fill-rule": "evenodd",
19
19
  d: "M8 4C8.29667 4 8.58668 3.91203 8.83335 3.74721C9.08003 3.58238 9.27229 3.34811 9.38582 3.07403C9.49935 2.79994 9.52906 2.49834 9.47118 2.20737C9.4133 1.91639 9.27044 1.64912 9.06066 1.43934C8.85088 1.22956 8.58361 1.0867 8.29264 1.02882C8.00166 0.970945 7.70006 1.00065 7.42597 1.11418C7.15189 1.22771 6.91762 1.41997 6.7528 1.66665C6.58797 1.91332 6.5 2.20333 6.5 2.5C6.5 2.89783 6.65804 3.27936 6.93934 3.56066C7.22064 3.84197 7.60218 4 8 4Z",
20
20
  "clip-rule": "evenodd"
21
- }, null, -1)), Me = /* @__PURE__ */ D(() => /* @__PURE__ */ T("path", {
21
+ }, null, -1)), ge = /* @__PURE__ */ N(() => /* @__PURE__ */ O("path", {
22
22
  fill: "#00112C",
23
23
  "fill-rule": "evenodd",
24
24
  d: "M8 15C8.29667 15 8.58668 14.912 8.83335 14.7472C9.08003 14.5824 9.27229 14.3481 9.38582 14.074C9.49935 13.7999 9.52906 13.4983 9.47118 13.2074C9.4133 12.9164 9.27044 12.6491 9.06066 12.4393C8.85088 12.2296 8.58361 12.0867 8.29264 12.0288C8.00166 11.9709 7.70006 12.0007 7.42597 12.1142C7.15189 12.2277 6.91762 12.42 6.7528 12.6666C6.58797 12.9133 6.5 13.2033 6.5 13.5C6.5 13.8978 6.65804 14.2794 6.93934 14.5607C7.22064 14.842 7.60218 15 8 15Z",
25
25
  "clip-rule": "evenodd"
26
- }, null, -1)), Ie = /* @__PURE__ */ D(() => /* @__PURE__ */ T("path", {
26
+ }, null, -1)), $e = /* @__PURE__ */ N(() => /* @__PURE__ */ O("path", {
27
27
  fill: "#00112C",
28
28
  "fill-rule": "evenodd",
29
29
  d: "M8.83335 9.24721C8.58668 9.41203 8.29667 9.5 8 9.5C7.60218 9.5 7.22064 9.34197 6.93934 9.06066C6.65804 8.77936 6.5 8.39783 6.5 8C6.5 7.70333 6.58797 7.41332 6.7528 7.16665C6.91762 6.91997 7.15189 6.72771 7.42597 6.61418C7.70006 6.50065 8.00166 6.47094 8.29264 6.52882C8.58361 6.5867 8.85088 6.72956 9.06066 6.93934C9.27044 7.14912 9.4133 7.41639 9.47118 7.70737C9.52906 7.99834 9.49935 8.29994 9.38582 8.57403C9.27229 8.84811 9.08003 9.08238 8.83335 9.24721Z",
30
30
  "clip-rule": "evenodd"
31
31
  }, null, -1));
32
- function ke(e, t, d, s, i, a) {
33
- return m(), k("svg", W({ role: "img" }, e.$attrs, {
32
+ function Me(e, t, c, s, i, a) {
33
+ return m(), k("svg", V({ role: "img" }, e.$attrs, {
34
34
  xmlns: "http://www.w3.org/2000/svg",
35
35
  width: "16",
36
36
  height: "16",
37
37
  fill: "none"
38
38
  }), [
39
- e.$attrs["svg-title"] ? (m(), k("title", Be, N(e.$attrs["svg-title"]), 1)) : P("", !0),
40
- $e,
41
- Me,
42
- Ie
39
+ e.$attrs["svg-title"] ? (m(), k("title", Ce, E(e.$attrs["svg-title"]), 1)) : P("", !0),
40
+ he,
41
+ ge,
42
+ $e
43
43
  ], 16);
44
44
  }
45
- const we = /* @__PURE__ */ L(ge, [["render", ke], ["__scopeId", "data-v-c663a42e"]]), Se = O({
45
+ const Be = /* @__PURE__ */ S(ye, [["render", Me], ["__scopeId", "data-v-c663a42e"]]), Ie = K({
46
46
  name: "menu-item",
47
- components: { BaseButton: be, BentoTypography: ye, ChevronRightIcon: _e },
47
+ components: { BaseButton: _e, BentoTypography: be, ChevronRightIcon: ve },
48
48
  props: {
49
49
  /**
50
50
  * menu-item text that gets displayed as the main label
@@ -112,16 +112,12 @@ const we = /* @__PURE__ */ L(ge, [["render", ke], ["__scopeId", "data-v-c663a42e
112
112
  },
113
113
  emits: [q.CLICK],
114
114
  setup(e, { emit: t }) {
115
- const d = M(() => ({
116
- "b-menu-item--critical": e.critical,
117
- "b-menu-item--indent": e.indent
118
- }));
119
115
  return {
120
- // Enums
121
- BentoTypographyElement: he,
122
- BentoTypographyVariant: Ce,
123
116
  // Values
124
- conditionalClasses: d,
117
+ conditionalClasses: B(() => ({
118
+ "b-menu-item--critical": e.critical,
119
+ "b-menu-item--indent": e.indent
120
+ })),
125
121
  // Methods
126
122
  onClick: (i) => {
127
123
  i.stopPropagation(), e.handler(), t(q.CLICK);
@@ -129,45 +125,45 @@ const we = /* @__PURE__ */ L(ge, [["render", ke], ["__scopeId", "data-v-c663a42e
129
125
  };
130
126
  }
131
127
  });
132
- function Le(e, t, d, s, i, a) {
133
- const u = C("bento-typography"), l = C("chevron-right-icon"), o = C("base-button");
134
- return m(), S(o, {
135
- class: j(["b-menu-item", e.conditionalClasses]),
128
+ function ke(e, t, c, s, i, a) {
129
+ const u = h("bento-typography"), l = h("chevron-right-icon"), o = h("base-button");
130
+ return m(), L(o, {
131
+ class: W(["b-menu-item", e.conditionalClasses]),
136
132
  role: "menuitem",
137
133
  disabled: e.disabled,
138
134
  tabindex: "-1",
139
135
  onClick: e.onClick
140
- }, ie({
136
+ }, ue({
141
137
  default: g(() => [
142
138
  I(u, {
143
- el: e.BentoTypographyElement.SPAN,
144
- variant: e.BentoTypographyVariant.BODY,
139
+ el: "span",
140
+ variant: "body",
145
141
  stronger: e.isTitle,
146
142
  class: "b-menu-item__primary-text"
147
143
  }, {
148
144
  default: g(() => [
149
- A(N(e.text), 1)
145
+ D(E(e.text), 1)
150
146
  ]),
151
147
  _: 1
152
- }, 8, ["el", "variant", "stronger"]),
153
- e.secondaryText ? (m(), S(u, {
148
+ }, 8, ["stronger"]),
149
+ e.secondaryText ? (m(), L(u, {
154
150
  key: 0,
155
- el: e.BentoTypographyElement.SPAN,
156
- variant: e.BentoTypographyVariant.BODY,
151
+ el: "span",
152
+ variant: "body",
157
153
  class: "b-menu-item__secondary-text"
158
154
  }, {
159
155
  default: g(() => [
160
- A(N(e.secondaryText), 1)
156
+ D(E(e.secondaryText), 1)
161
157
  ]),
162
158
  _: 1
163
- }, 8, ["el", "variant"])) : P("", !0)
159
+ })) : P("", !0)
164
160
  ]),
165
161
  _: 2
166
162
  }, [
167
163
  e.icon ? {
168
164
  name: "iconLeft",
169
165
  fn: g(() => [
170
- (m(), S(ae(e.icon), {
166
+ (m(), L(ie(e.icon), {
171
167
  class: "b-menu-item__icon-left",
172
168
  "aria-hidden": "true"
173
169
  }))
@@ -183,23 +179,23 @@ function Le(e, t, d, s, i, a) {
183
179
  } : void 0
184
180
  ]), 1032, ["class", "disabled", "onClick"]);
185
181
  }
186
- const J = /* @__PURE__ */ L(Se, [["render", Le], ["__scopeId", "data-v-51ecff68"]]);
187
- var h = /* @__PURE__ */ ((e) => (e.BACK = "back", e.CLOSE = "close", e.OPEN = "open", e))(h || {});
188
- const Te = O({
182
+ const J = /* @__PURE__ */ S(Ie, [["render", ke], ["__scopeId", "data-v-4fbf6230"]]);
183
+ var C = /* @__PURE__ */ ((e) => (e.BACK = "back", e.CLOSE = "close", e.OPEN = "open", e))(C || {});
184
+ const we = K({
189
185
  name: "bento-menu-list-container"
190
186
  });
191
- const Oe = { class: "b-menu-list-container" };
192
- function Pe(e, t, d, s, i, a) {
193
- return m(), k("div", Oe, [
194
- Y(e.$slots, "default", {}, void 0, !0)
187
+ const Le = { class: "b-menu-list-container" };
188
+ function Se(e, t, c, s, i, a) {
189
+ return m(), k("div", Le, [
190
+ j(e.$slots, "default", {}, void 0, !0)
195
191
  ]);
196
192
  }
197
- const Q = /* @__PURE__ */ L(Te, [["render", Pe], ["__scopeId", "data-v-ea0113ba"]]), X = {
193
+ const Q = /* @__PURE__ */ S(we, [["render", Se], ["__scopeId", "data-v-ea0113ba"]]), X = {
198
194
  "en-US": {
199
195
  menuButton: "Open menu",
200
196
  backButton: "Go back"
201
197
  }
202
- }, Ee = O({
198
+ }, Oe = K({
203
199
  i18n: { messages: X },
204
200
  name: "sub-menu-item-list",
205
201
  components: { MenuItem: J, MenuListContainer: Q },
@@ -213,11 +209,11 @@ const Q = /* @__PURE__ */ L(Te, [["render", Pe], ["__scopeId", "data-v-ea0113ba"
213
209
  required: !0
214
210
  }
215
211
  },
216
- emits: [h.CLOSE, h.BACK],
212
+ emits: [C.CLOSE, C.BACK],
217
213
  setup(e, { emit: t }) {
218
- const d = f(null), s = f(0), i = f(e.items.length), a = () => t(h.CLOSE), u = () => t(h.BACK), l = M(() => {
214
+ const c = f(null), s = f(0), i = f(e.items.length), a = () => t(C.CLOSE), u = () => t(C.BACK), l = B(() => {
219
215
  var v;
220
- const c = (v = e.items) == null ? void 0 : v.map((_) => ({
216
+ const d = (v = e.items) == null ? void 0 : v.map((_) => ({
221
217
  ..._,
222
218
  indent: !_.icon,
223
219
  isTitle: !1,
@@ -228,20 +224,20 @@ const Q = /* @__PURE__ */ L(Te, [["render", Pe], ["__scopeId", "data-v-ea0113ba"
228
224
  text: e.title,
229
225
  secondaryText: null,
230
226
  critical: !1,
231
- icon: H,
227
+ icon: A,
232
228
  isTitle: !0,
233
229
  disabled: !1,
234
230
  indent: !1,
235
231
  handler: u,
236
232
  clickHandler: u
237
233
  },
238
- ...c
234
+ ...d
239
235
  ];
240
236
  }), o = async () => {
241
- var c, v, _, w, B;
242
- (B = (w = (_ = (v = (c = d.value) == null ? void 0 : c.children) == null ? void 0 : v[s.value]) == null ? void 0 : _.children) == null ? void 0 : w[0]) == null || B.focus();
237
+ var d, v, _, w, $;
238
+ ($ = (w = (_ = (v = (d = c.value) == null ? void 0 : d.children) == null ? void 0 : v[s.value]) == null ? void 0 : _.children) == null ? void 0 : w[0]) == null || $.focus();
243
239
  };
244
- re(async () => {
240
+ ae(async () => {
245
241
  setTimeout(() => o(), 150);
246
242
  });
247
243
  const n = () => {
@@ -251,11 +247,11 @@ const Q = /* @__PURE__ */ L(Te, [["render", Pe], ["__scopeId", "data-v-ea0113ba"
251
247
  };
252
248
  return {
253
249
  // Enums
254
- BentoMenuEvent: h,
250
+ BentoMenuEvent: C,
255
251
  // Values
256
- subMenuItemListRefLocal: d,
252
+ subMenuItemListRefLocal: c,
257
253
  subMenuFocusedIndex: s,
258
- ChevronLeftIcon: H,
254
+ ChevronLeftIcon: A,
259
255
  computedItems: l,
260
256
  // Methods
261
257
  closeMenu: a,
@@ -265,28 +261,28 @@ const Q = /* @__PURE__ */ L(Te, [["render", Pe], ["__scopeId", "data-v-ea0113ba"
265
261
  };
266
262
  }
267
263
  });
268
- function Ke(e, t, d, s, i, a) {
269
- const u = C("menu-item"), l = C("menu-list-container");
270
- return m(), S(ce, {
264
+ function Ke(e, t, c, s, i, a) {
265
+ const u = h("menu-item"), l = h("menu-list-container");
266
+ return m(), L(re, {
271
267
  name: "b-sub-menu-item-list__transition",
272
268
  appear: ""
273
269
  }, {
274
270
  default: g(() => [
275
271
  I(l, { class: "b-sub-menu-item-list" }, {
276
272
  default: g(() => [
277
- T("ul", {
273
+ O("ul", {
278
274
  ref: "subMenuItemListRefLocal",
279
275
  role: "menu",
280
276
  class: "b-sub-menu-item-list__list",
281
277
  onKeydown: [
282
- t[0] || (t[0] = y(E((...o) => e.focusNext && e.focusNext(...o), ["stop"]), ["down"])),
283
- t[1] || (t[1] = y(E((...o) => e.focusPrevious && e.focusPrevious(...o), ["stop"]), ["up"])),
284
- t[2] || (t[2] = y(E((...o) => e.onBackButton && e.onBackButton(...o), ["stop"]), ["esc"]))
278
+ t[0] || (t[0] = y(T((...o) => e.focusNext && e.focusNext(...o), ["stop"]), ["down"])),
279
+ t[1] || (t[1] = y(T((...o) => e.focusPrevious && e.focusPrevious(...o), ["stop"]), ["up"])),
280
+ t[2] || (t[2] = y(T((...o) => e.onBackButton && e.onBackButton(...o), ["stop"]), ["esc"]))
285
281
  ]
286
282
  }, [
287
283
  (m(!0), k(Z, null, z(e.computedItems, (o, n) => (m(), k("li", {
288
284
  key: `sub-menu-item-list-item-${n}`,
289
- class: j([
285
+ class: W([
290
286
  { "b-sub-menu-item-list__back-button": n === 0 },
291
287
  { "b-sub-menu-item-list__first-item": n == 1 }
292
288
  ]),
@@ -313,9 +309,9 @@ function Ke(e, t, d, s, i, a) {
313
309
  _: 1
314
310
  });
315
311
  }
316
- const Ne = /* @__PURE__ */ L(Ee, [["render", Ke], ["__scopeId", "data-v-67456329"]]), De = O({
312
+ const Pe = /* @__PURE__ */ S(Oe, [["render", Ke], ["__scopeId", "data-v-67456329"]]), Te = K({
317
313
  name: "menu-item-list",
318
- components: { MenuItem: J, MenuListContainer: Q, SubMenuItemList: Ne },
314
+ components: { MenuItem: J, MenuListContainer: Q, SubMenuItemList: Pe },
319
315
  props: {
320
316
  /**
321
317
  * The data to be displayed in the list
@@ -339,9 +335,9 @@ const Ne = /* @__PURE__ */ L(Ee, [["render", Ke], ["__scopeId", "data-v-67456329
339
335
  default: !1
340
336
  }
341
337
  },
342
- emits: [h.CLOSE],
338
+ emits: [C.CLOSE],
343
339
  setup(e, { emit: t }) {
344
- const d = f(null), s = f(null), i = f(null), a = f(!1), u = f(null), l = f(e.focusLastElement ? e.data.length - 1 : 0), o = f(0), n = f(e.data.length - 1), p = M(() => e.data.some((r) => r.icon)), c = M(() => e.indentItems || p.value ? e.data.map((r) => {
340
+ const c = f(null), s = f(null), i = f(null), a = f(!1), u = f(null), l = f(e.focusLastElement ? e.data.length - 1 : 0), o = f(0), n = f(e.data.length - 1), p = B(() => e.data.some((r) => r.icon)), d = B(() => e.indentItems || p.value ? e.data.map((r) => {
345
341
  let b = !1;
346
342
  return r.icon || (b = !0), {
347
343
  ...r,
@@ -349,35 +345,35 @@ const Ne = /* @__PURE__ */ L(Ee, [["render", Ke], ["__scopeId", "data-v-67456329
349
345
  indent: b
350
346
  };
351
347
  }) : e.data), v = () => {
352
- var r, b, $;
353
- return ($ = (b = (r = d.value) == null ? void 0 : r.children[l.value]) == null ? void 0 : b.children[0]) == null ? void 0 : $.focus();
354
- }, _ = () => t(h.CLOSE), w = async (r, b) => {
348
+ var r, b, M;
349
+ return (M = (b = (r = c.value) == null ? void 0 : r.children[l.value]) == null ? void 0 : b.children[0]) == null ? void 0 : M.focus();
350
+ }, _ = () => t(C.CLOSE), w = async (r, b) => {
355
351
  r.items ? (u.value = b, a.value = !0) : (u.value = b, a.value = !1, _());
356
- }, B = () => {
357
- l.value > 0 ? (l.value -= 1, c.value[l.value].disabled && B()) : l.value = n.value, v();
352
+ }, $ = () => {
353
+ l.value > 0 ? (l.value -= 1, d.value[l.value].disabled && $()) : l.value = n.value, v();
358
354
  }, R = () => {
359
- l.value < n.value ? (l.value += 1, c.value[l.value].disabled && R()) : l.value = 0, v();
360
- }, x = (r, b) => {
361
- var $;
362
- ($ = r == null ? void 0 : r.items) != null && $.length && (u.value = b, a.value = !0);
363
- }, ee = () => {
355
+ l.value < n.value ? (l.value += 1, d.value[l.value].disabled && R()) : l.value = 0, v();
356
+ }, Y = (r, b) => {
357
+ var M;
358
+ (M = r == null ? void 0 : r.items) != null && M.length && (u.value = b, a.value = !0);
359
+ }, x = () => {
364
360
  u.value && a.value && (u.value = null, a.value = !1);
365
- }, ne = () => {
361
+ }, ee = () => {
366
362
  a.value = !1, u.value = null, v();
367
- }, te = M(() => {
363
+ }, ne = B(() => {
368
364
  var r;
369
365
  return (r = s == null ? void 0 : s.value) == null ? void 0 : r.$el.offsetHeight;
370
- }), oe = M(() => {
371
- var r, b, $;
372
- return ($ = (b = (r = i == null ? void 0 : i.value) == null ? void 0 : r[0]) == null ? void 0 : b.$el) == null ? void 0 : $.offsetHeight;
373
- }), se = M(() => a.value ? `${oe.value}px` : `${te.value}px`);
366
+ }), te = B(() => {
367
+ var r, b, M;
368
+ return (M = (b = (r = i == null ? void 0 : i.value) == null ? void 0 : r[0]) == null ? void 0 : b.$el) == null ? void 0 : M.offsetHeight;
369
+ }), oe = B(() => a.value ? `${te.value}px` : `${ne.value}px`);
374
370
  return {
375
371
  // Values
376
- menuItemListRef: d,
372
+ menuItemListRef: c,
377
373
  menuItemListWrapperRef: s,
378
374
  subMenuItemListRef: i,
379
- computedData: c,
380
- computedHeight: se,
375
+ computedData: d,
376
+ computedHeight: oe,
381
377
  focusedIndex: l,
382
378
  subMenuFocusedIndex: o,
383
379
  showSubMenu: a,
@@ -385,23 +381,23 @@ const Ne = /* @__PURE__ */ L(Ee, [["render", Ke], ["__scopeId", "data-v-67456329
385
381
  // Methods
386
382
  toggleMenu: w,
387
383
  closeMenu: _,
388
- focusPrevious: B,
384
+ focusPrevious: $,
389
385
  focusNext: R,
390
- focusRight: x,
391
- focusLeft: ee,
392
- onBackButton: ne
386
+ focusRight: Y,
387
+ focusLeft: x,
388
+ onBackButton: ee
393
389
  };
394
390
  }
395
391
  });
396
- const Re = ["onKeydown"];
397
- function Ae(e, t, d, s, i, a) {
398
- const u = C("menu-item"), l = C("sub-menu-item-list"), o = C("menu-list-container");
399
- return m(), S(o, {
392
+ const Ee = ["onKeydown"];
393
+ function Ne(e, t, c, s, i, a) {
394
+ const u = h("menu-item"), l = h("sub-menu-item-list"), o = h("menu-list-container");
395
+ return m(), L(o, {
400
396
  ref: "menuItemListWrapperRef",
401
397
  style: G({ height: e.computedHeight })
402
398
  }, {
403
399
  default: g(() => [
404
- T("ul", {
400
+ O("ul", {
405
401
  ref: "menuItemListRef",
406
402
  class: "b-menu-item-list",
407
403
  role: "menu",
@@ -413,19 +409,19 @@ function Ae(e, t, d, s, i, a) {
413
409
  ]
414
410
  }, [
415
411
  (m(!0), k(Z, null, z(e.computedData, (n, p) => {
416
- var c, v, _, w;
412
+ var d, v, _, w;
417
413
  return m(), k("li", {
418
414
  key: `menu-item-${p}`,
419
415
  class: "b-menu-item-list__item",
420
416
  role: "none",
421
417
  onKeydown: [
422
- y((B) => e.focusRight(n, p), ["right"]),
423
- t[0] || (t[0] = y((B) => e.focusLeft(), ["left"]))
418
+ y(($) => e.focusRight(n, p), ["right"]),
419
+ t[0] || (t[0] = y(($) => e.focusLeft(), ["left"]))
424
420
  ]
425
421
  }, [
426
422
  I(u, {
427
423
  text: n.text,
428
- handler: (c = n.items) != null && c.length ? () => null : n.handler,
424
+ handler: (d = n.items) != null && d.length ? () => null : n.handler,
429
425
  "secondary-text": n.secondaryText,
430
426
  icon: n.icon,
431
427
  chevron: !!((v = n.items) != null && v.length),
@@ -435,9 +431,9 @@ function Ae(e, t, d, s, i, a) {
435
431
  tabindex: p === e.subMenuFocusedIndex ? "0" : "-1",
436
432
  "aria-haspopup": !!((_ = n.items) != null && _.length),
437
433
  "aria-expanded": e.showSubMenu && e.visibleSubMenuIndex === p,
438
- onClick: (B) => e.toggleMenu(n, p)
434
+ onClick: ($) => e.toggleMenu(n, p)
439
435
  }, null, 8, ["text", "handler", "secondary-text", "icon", "chevron", "disabled", "critical", "indent", "tabindex", "aria-haspopup", "aria-expanded", "onClick"]),
440
- (w = n.items) != null && w.length && e.showSubMenu && e.visibleSubMenuIndex === p ? (m(), S(l, {
436
+ (w = n.items) != null && w.length && e.showSubMenu && e.visibleSubMenuIndex === p ? (m(), L(l, {
441
437
  key: 0,
442
438
  ref_for: !0,
443
439
  ref: "subMenuItemListRef",
@@ -446,18 +442,18 @@ function Ae(e, t, d, s, i, a) {
446
442
  onBack: e.onBackButton,
447
443
  onClose: e.closeMenu
448
444
  }, null, 8, ["items", "title", "onBack", "onClose"])) : P("", !0)
449
- ], 40, Re);
445
+ ], 40, Ee);
450
446
  }), 128))
451
447
  ], 544)
452
448
  ]),
453
449
  _: 1
454
450
  }, 8, ["style"]);
455
451
  }
456
- const Fe = /* @__PURE__ */ L(De, [["render", Ae], ["__scopeId", "data-v-a917040d"]]), Ve = O({
452
+ const Re = /* @__PURE__ */ S(Te, [["render", Ne], ["__scopeId", "data-v-a917040d"]]), De = K({
457
453
  i18n: { messages: X },
458
454
  name: "bento-menu",
459
- components: { BentoButton: fe, BentoPopover: ve, MenuItemList: Fe, OptionsVerticalIcon: we },
460
- directives: { BentoClickOutsideDirective: pe },
455
+ components: { BentoButton: pe, BentoPopover: fe, MenuItemList: Re, OptionsVerticalIcon: Be },
456
+ directives: { BentoClickOutsideDirective: me },
461
457
  props: {
462
458
  /**
463
459
  * The data to be displayed in the list
@@ -468,12 +464,11 @@ const Fe = /* @__PURE__ */ L(De, [["render", Ae], ["__scopeId", "data-v-a917040d
468
464
  },
469
465
  /**
470
466
  * The position of where the menu should open.
471
- * @see BentoPopoverPositions
472
467
  */
473
468
  menuPosition: {
474
469
  type: String,
475
- default: K.BOTTOM_START,
476
- validator: (e) => Object.values(K).includes(e)
470
+ default: H.BOTTOM_START,
471
+ validator: (e) => Object.values(H).includes(e)
477
472
  },
478
473
  /**
479
474
  * Instructs the menu popover to be visible outside of the containing container.
@@ -496,23 +491,20 @@ const Fe = /* @__PURE__ */ L(De, [["render", Ae], ["__scopeId", "data-v-a917040d
496
491
  button: {
497
492
  type: Object,
498
493
  default: () => ({
499
- variant: V.SECONDARY
494
+ variant: "secondary"
500
495
  })
501
496
  }
502
497
  },
503
- emits: [h.CLOSE, h.OPEN],
498
+ emits: [C.CLOSE, C.OPEN],
504
499
  setup(e, { emit: t }) {
505
- const d = f(null), s = f(!1), i = f(!1), a = F("menu"), u = F("menu-popover"), l = M(() => e.menuWidth ? { width: `${e.menuWidth}px` } : null), o = () => {
506
- s.value = !0, t(h.OPEN);
500
+ const c = f(null), s = f(!1), i = f(!1), a = F("menu"), u = F("menu-popover"), l = B(() => e.menuWidth ? { width: `${e.menuWidth}px` } : null), o = () => {
501
+ s.value = !0, t(C.OPEN);
507
502
  }, n = () => {
508
- s.value && (s.value = !1, d.value.$el.focus(), t(h.CLOSE));
503
+ s.value && (s.value = !1, c.value.$el.focus(), t(C.CLOSE));
509
504
  };
510
505
  return {
511
- // Enums
512
- BentoButtonVariant: V,
513
- BentoPopoverPositions: K,
514
506
  // Values
515
- menuButtonRef: d,
507
+ menuButtonRef: c,
516
508
  menuId: a,
517
509
  popoverId: u,
518
510
  showMenu: s,
@@ -532,26 +524,26 @@ const Fe = /* @__PURE__ */ L(De, [["render", Ae], ["__scopeId", "data-v-a917040d
532
524
  };
533
525
  }
534
526
  });
535
- function He(e, t, d, s, i, a) {
536
- const u = C("options-vertical-icon"), l = C("bento-button"), o = C("menu-item-list"), n = C("bento-popover"), p = de("bento-click-outside-directive");
537
- return me((m(), k("div", {
527
+ function Fe(e, t, c, s, i, a) {
528
+ const u = h("options-vertical-icon"), l = h("bento-button"), o = h("menu-item-list"), n = h("bento-popover"), p = de("bento-click-outside-directive");
529
+ return ce((m(), k("div", {
538
530
  class: "b-menu",
539
531
  onKeydown: [
540
- t[0] || (t[0] = y((...c) => e.onKeyDown && e.onKeyDown(...c), ["down"])),
541
- t[1] || (t[1] = y((...c) => e.onKeyUp && e.onKeyUp(...c), ["up"])),
542
- t[2] || (t[2] = y((...c) => e.closeMenu && e.closeMenu(...c), ["esc"]))
532
+ t[0] || (t[0] = y((...d) => e.onKeyDown && e.onKeyDown(...d), ["down"])),
533
+ t[1] || (t[1] = y((...d) => e.onKeyUp && e.onKeyUp(...d), ["up"])),
534
+ t[2] || (t[2] = y((...d) => e.closeMenu && e.closeMenu(...d), ["esc"]))
543
535
  ]
544
536
  }, [
545
- I(l, W({
537
+ I(l, V({
546
538
  ref: "menuButtonRef",
547
539
  "aria-haspopup": "true"
548
540
  }, e.button, {
549
- "aria-expanded": e.showMenu,
541
+ "aria-expanded": `${e.showMenu}`,
550
542
  "aria-controls": e.showMenu ? e.menuId : null,
551
543
  onClick: e.toggleShowMenu
552
544
  }), {
553
545
  iconLeft: g(() => [
554
- Y(e.$slots, "default", {}, () => [
546
+ j(e.$slots, "default", {}, () => [
555
547
  I(u, {
556
548
  title: e.$t("menuButton")
557
549
  }, null, 8, ["title"])
@@ -559,7 +551,7 @@ function He(e, t, d, s, i, a) {
559
551
  ]),
560
552
  _: 3
561
553
  }, 16, ["aria-expanded", "aria-controls", "onClick"]),
562
- e.menuButtonRef ? (m(), S(n, {
554
+ e.menuButtonRef ? (m(), L(n, {
563
555
  key: 0,
564
556
  id: e.menuId,
565
557
  open: e.showMenu,
@@ -583,9 +575,9 @@ function He(e, t, d, s, i, a) {
583
575
  [p, e.closeMenu]
584
576
  ]);
585
577
  }
586
- const Qe = /* @__PURE__ */ L(Ve, [["render", He], ["__scopeId", "data-v-7183030b"]]);
578
+ const Ge = /* @__PURE__ */ S(De, [["render", Fe], ["__scopeId", "data-v-487dd6cd"]]);
587
579
  export {
588
- Qe as BentoMenu,
589
- h as BentoMenuEvent
580
+ Ge as BentoMenu,
581
+ C as BentoMenuEvent
590
582
  };
591
583
  //# sourceMappingURL=menu.js.map