@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
@@ -1,12 +1,13 @@
1
- import { defineComponent as y, ref as z, computed as v, resolveComponent as d, openBlock as o, createElementBlock as c, createVNode as r, withCtx as u, createBlock as f, resolveDynamicComponent as E, mergeProps as P, createSlots as U, createTextVNode as $, toDisplayString as m, createCommentVNode as C, pushScopeId as b, popScopeId as T, createElementVNode as p, normalizeClass as j } from "vue";
2
- import { B as k, a as R } from "./chunks/index.222d29b0.js";
3
- import { B as A } from "./chunks/dropdown.8b415aac.js";
4
- import { g as F } from "./chunks/unique-id.a2a2b458.js";
5
- import { g as D, a as M } from "./chunks/i18n.6c402773.js";
6
- import { _ as h } from "./chunks/_plugin-vue_export-helper.dad06003.js";
7
- import { B as J, a as Y } from "./chunks/button.e1c39f66.js";
8
- import "./assets/index13.css";
9
- const K = {
1
+ import { defineComponent as y, ref as A, computed as m, resolveComponent as u, openBlock as o, createElementBlock as _, createVNode as p, withCtx as c, createBlock as P, resolveDynamicComponent as E, mergeProps as C, createSlots as U, createTextVNode as N, toDisplayString as h, createCommentVNode as $, pushScopeId as T, popScopeId as w, createElementVNode as d, toRefs as V, normalizeClass as j } from "vue";
2
+ import { u as J } from "./chunks/aria-label.ac9651a5.js";
3
+ import { B as R } from "./chunks/index.89b00b94.js";
4
+ import { B as F } from "./chunks/dropdown.b798a82e.js";
5
+ import { g as M } from "./chunks/unique-id.a2a2b458.js";
6
+ import { g as D, a as Z } from "./chunks/i18n.6c402773.js";
7
+ import { _ as f } from "./chunks/_plugin-vue_export-helper.dad06003.js";
8
+ import { a as K } from "./chunks/button.a8462029.js";
9
+ import "./assets/index29.css";
10
+ const q = {
10
11
  "en-US": {
11
12
  showingItems: "Showing {itemCount} items",
12
13
  showingItemsWithTotal: "Showing {itemCount} of {totalCount} items"
@@ -31,19 +32,19 @@ const K = {
31
32
  showingItems: "Mostrando {itemCount} artículos",
32
33
  showingItemsWithTotal: "Mostrando {itemCount} de {totalCount} artículos"
33
34
  }
34
- }, q = 50, N = [
35
+ }, G = 50, S = [
35
36
  { label: "10", value: 10 },
36
37
  { label: "20", value: 20 },
37
38
  { label: "50", value: 50 },
38
39
  // DEFAULT_NUMBER_OF_RESULTS
39
40
  { label: "75", value: 75 },
40
41
  { label: "100", value: 100 }
41
- ], G = y({
42
+ ], H = y({
42
43
  name: "bento-pagination-context-results-per-page",
43
- i18n: { messages: K },
44
+ i18n: { messages: q },
44
45
  components: {
45
- BentoDropdown: A,
46
- BentoTypography: k
46
+ BentoDropdown: F,
47
+ BentoTypography: R
47
48
  },
48
49
  props: {
49
50
  /**
@@ -51,8 +52,8 @@ const K = {
51
52
  */
52
53
  itemsPerPage: {
53
54
  type: Number,
54
- default: q,
55
- validator: (e) => N.some(({ value: a }) => a === e)
55
+ default: G,
56
+ validator: (e) => S.some(({ value: t }) => t === e)
56
57
  },
57
58
  /**
58
59
  * The total number of items the pager is paging through.
@@ -60,40 +61,36 @@ const K = {
60
61
  totalCount: { type: Number, default: null }
61
62
  },
62
63
  emits: ["select"],
63
- setup(e, { emit: a }) {
64
- const i = F("b-pagination-context-number-elements"), n = z(N), s = M(), l = (t) => {
65
- a("select", t);
66
- }, g = v(() => e.totalCount ? "showingItemsWithTotal" : "showingItems");
64
+ setup(e, { emit: t }) {
65
+ const n = M("b-pagination-context-number-elements"), i = A(S), s = Z(), l = (a) => {
66
+ t("select", a);
67
+ }, g = m(() => e.totalCount ? "showingItemsWithTotal" : "showingItems");
67
68
  return {
68
69
  // Values
69
- dropdownId: i,
70
- dropdownOptions: n,
70
+ dropdownId: n,
71
+ dropdownOptions: i,
71
72
  i18nComponent: s,
72
73
  translationPathKey: g,
73
74
  // Methods
74
75
  getI18nProps: D,
75
- // Enums
76
- BentoTypographyElement: R,
77
76
  // Events
78
77
  onSelectChange: l
79
78
  };
80
79
  }
81
80
  });
82
- const H = { class: "b-pagination-results-per-page" };
83
- function Q(e, a, i, n, s, l) {
84
- const g = d("bento-dropdown"), t = d("bento-typography");
85
- return o(), c("div", H, [
86
- r(t, {
87
- el: e.BentoTypographyElement.DIV
88
- }, {
89
- default: u(() => [
90
- (o(), f(E(e.i18nComponent), P(e.getI18nProps(e.translationPathKey), {
81
+ const Q = { class: "b-pagination-results-per-page" };
82
+ function X(e, t, n, i, s, l) {
83
+ const g = u("bento-dropdown"), a = u("bento-typography");
84
+ return o(), _("div", Q, [
85
+ p(a, { el: "div" }, {
86
+ default: c(() => [
87
+ (o(), P(E(e.i18nComponent), C(e.getI18nProps(e.translationPathKey), {
91
88
  class: "b-pagination-results-per-page__dropdown-container",
92
89
  tag: "div",
93
90
  plural: e.totalCount
94
91
  }), U({
95
- itemCount: u(() => [
96
- r(g, {
92
+ itemCount: c(() => [
93
+ p(g, {
97
94
  id: e.dropdownId,
98
95
  value: e.itemsPerPage,
99
96
  items: e.dropdownOptions,
@@ -106,18 +103,18 @@ function Q(e, a, i, n, s, l) {
106
103
  }, [
107
104
  e.totalCount ? {
108
105
  name: "totalCount",
109
- fn: u(() => [
110
- $(m(e.totalCount), 1)
106
+ fn: c(() => [
107
+ N(h(e.totalCount), 1)
111
108
  ]),
112
109
  key: "0"
113
110
  } : void 0
114
111
  ]), 1040, ["plural"]))
115
112
  ]),
116
113
  _: 1
117
- }, 8, ["el"])
114
+ })
118
115
  ]);
119
116
  }
120
- const X = /* @__PURE__ */ h(G, [["render", Q], ["__scopeId", "data-v-ca80d3ba"]]), x = {
117
+ const Y = /* @__PURE__ */ f(H, [["render", X], ["__scopeId", "data-v-1c7ef9c8"]]), x = {
121
118
  "en-US": {
122
119
  pageOfTotalPages: "Page {page} of {totalPages}",
123
120
  pageOneOfOne: "Page 1 of 1",
@@ -152,8 +149,8 @@ const X = /* @__PURE__ */ h(G, [["render", Q], ["__scopeId", "data-v-ca80d3ba"]]
152
149
  i18n: { messages: x },
153
150
  name: "bento-pagination-context",
154
151
  components: {
155
- BentoDropdown: A,
156
- BentoTypography: k
152
+ BentoDropdown: F,
153
+ BentoTypography: R
157
154
  },
158
155
  props: {
159
156
  /**
@@ -170,39 +167,37 @@ const X = /* @__PURE__ */ h(G, [["render", Q], ["__scopeId", "data-v-ca80d3ba"]]
170
167
  totalPages: { type: Number, default: null }
171
168
  },
172
169
  emits: ["page-selected"],
173
- setup(e, { emit: a }) {
174
- const i = F("bento-pagination-context-current-page"), n = (_) => a("page-selected", _), s = M(), l = (_) => ({
175
- label: _.toString(),
176
- value: _
177
- }), g = (_, w) => w + 1, t = v(
170
+ setup(e, { emit: t }) {
171
+ const n = M("bento-pagination-context-current-page"), i = (r) => t("page-selected", r), s = Z(), l = (r) => ({
172
+ label: r.toString(),
173
+ value: r
174
+ }), g = (r, b) => b + 1, a = m(
178
175
  () => Array.from(new Array(e.totalPages), g).map(l)
179
176
  );
180
177
  return {
181
178
  // Values
182
- dropdownId: i,
183
- listOfAvailablePages: t,
179
+ dropdownId: n,
180
+ listOfAvailablePages: a,
184
181
  i18nComponent: s,
185
182
  // Methods
186
183
  getI18nProps: D,
187
184
  // Events
188
- onPageSelectChange: n,
189
- // Enums
190
- BentoTypographyElement: R
185
+ onPageSelectChange: i
191
186
  };
192
187
  }
193
188
  });
194
189
  const te = { class: "b-pagination-context" };
195
- function ae(e, a, i, n, s, l) {
196
- const g = d("bento-dropdown"), t = d("bento-typography");
197
- return o(), c("div", te, [
198
- e.totalPages > 1 ? (o(), f(t, {
190
+ function ae(e, t, n, i, s, l) {
191
+ const g = u("bento-dropdown"), a = u("bento-typography");
192
+ return o(), _("div", te, [
193
+ e.totalPages > 1 ? (o(), P(a, {
199
194
  key: 0,
200
- el: e.BentoTypographyElement.DIV
195
+ el: "div"
201
196
  }, {
202
- default: u(() => [
203
- (o(), f(E(e.i18nComponent), P(e.getI18nProps("pageOfTotalPages"), { tag: "div" }), {
204
- page: u(() => [
205
- r(g, {
197
+ default: c(() => [
198
+ (o(), P(E(e.i18nComponent), C(e.getI18nProps("pageOfTotalPages"), { tag: "div" }), {
199
+ page: c(() => [
200
+ p(g, {
206
201
  id: e.dropdownId,
207
202
  value: e.page,
208
203
  items: e.listOfAvailablePages,
@@ -211,137 +206,137 @@ function ae(e, a, i, n, s, l) {
211
206
  onInput: e.onPageSelectChange
212
207
  }, null, 8, ["id", "value", "items", "aria-label", "onInput"])
213
208
  ]),
214
- totalPages: u(() => [
215
- $(m(e.totalPages), 1)
209
+ totalPages: c(() => [
210
+ N(h(e.totalPages), 1)
216
211
  ]),
217
212
  _: 1
218
213
  }, 16))
219
214
  ]),
220
215
  _: 1
221
- }, 8, ["el"])) : e.totalPages === 1 ? (o(), f(t, {
216
+ })) : e.totalPages === 1 ? (o(), P(a, {
222
217
  key: 1,
223
- el: e.BentoTypographyElement.SPAN
218
+ el: "span"
224
219
  }, {
225
- default: u(() => [
226
- $(m(e.$t("pageOneOfOne")), 1)
220
+ default: c(() => [
221
+ N(h(e.$t("pageOneOfOne")), 1)
227
222
  ]),
228
223
  _: 1
229
- }, 8, ["el"])) : (o(), f(t, {
224
+ })) : (o(), P(a, {
230
225
  key: 2,
231
- el: e.BentoTypographyElement.SPAN
226
+ el: "span"
232
227
  }, {
233
- default: u(() => [
234
- $(m(e.$t("pageNumber", { page: e.page })), 1)
228
+ default: c(() => [
229
+ N(h(e.$t("pageNumber", { page: e.page })), 1)
235
230
  ]),
236
231
  _: 1
237
- }, 8, ["el"]))
232
+ }))
238
233
  ]);
239
234
  }
240
- const ne = /* @__PURE__ */ h(ee, [["render", ae], ["__scopeId", "data-v-4f29e7b2"]]);
241
- let S = 0;
235
+ const ne = /* @__PURE__ */ f(ee, [["render", ae], ["__scopeId", "data-v-3e3a7bc1"]]);
236
+ let L = 0;
242
237
  const oe = {
243
238
  beforeCreate() {
244
- this.uuid = S.toString(), S += 1;
239
+ this.uuid = L.toString(), L += 1;
245
240
  }
246
- }, Z = (e) => (b("data-v-d0300c1f"), e = e(), T(), e), ie = { key: 0 }, se = /* @__PURE__ */ Z(() => /* @__PURE__ */ p("path", {
241
+ }, W = (e) => (T("data-v-d0300c1f"), e = e(), w(), e), ie = { key: 0 }, se = /* @__PURE__ */ W(() => /* @__PURE__ */ d("path", {
247
242
  fill: "#00112C",
248
243
  "fill-rule": "evenodd",
249
244
  d: "M4.25 11C4.25 11.4142 4.58579 11.75 5 11.75C5.41421 11.75 5.75 11.4142 5.75 11L5.75 4.99999C5.75 4.58577 5.41421 4.24999 5 4.24999C4.58579 4.24999 4.25 4.58577 4.25 4.99998L4.25 11Z",
250
245
  "clip-rule": "evenodd"
251
- }, null, -1)), le = /* @__PURE__ */ Z(() => /* @__PURE__ */ p("path", {
246
+ }, null, -1)), le = /* @__PURE__ */ W(() => /* @__PURE__ */ d("path", {
252
247
  fill: "#00112C",
253
248
  "fill-rule": "evenodd",
254
249
  d: "M11.5303 5.53031C11.8232 5.23742 11.8232 4.76255 11.5303 4.46965C11.2374 4.17676 10.7626 4.17676 10.4697 4.46965L7.46967 7.46965C7.17678 7.76255 7.17678 8.23742 7.46967 8.53031L10.4697 11.5303C10.7626 11.8232 11.2374 11.8232 11.5303 11.5303C11.8232 11.2374 11.8232 10.7625 11.5303 10.4697L9.06066 7.99998L11.5303 5.53031Z",
255
250
  "clip-rule": "evenodd"
256
251
  }, null, -1));
257
- function ge(e, a, i, n, s, l) {
258
- return o(), c("svg", P({ role: "img" }, e.$attrs, {
252
+ function ge(e, t, n, i, s, l) {
253
+ return o(), _("svg", C({ role: "img" }, e.$attrs, {
259
254
  xmlns: "http://www.w3.org/2000/svg",
260
255
  width: "16",
261
256
  height: "16",
262
257
  fill: "none"
263
258
  }), [
264
- e.$attrs["svg-title"] ? (o(), c("title", ie, m(e.$attrs["svg-title"]), 1)) : C("", !0),
259
+ e.$attrs["svg-title"] ? (o(), _("title", ie, h(e.$attrs["svg-title"]), 1)) : $("", !0),
265
260
  se,
266
261
  le
267
262
  ], 16);
268
263
  }
269
- const re = /* @__PURE__ */ h(oe, [["render", ge], ["__scopeId", "data-v-d0300c1f"]]);
270
- let L = 0;
264
+ const re = /* @__PURE__ */ f(oe, [["render", ge], ["__scopeId", "data-v-d0300c1f"]]);
265
+ let O = 0;
271
266
  const pe = {
272
267
  beforeCreate() {
273
- this.uuid = L.toString(), L += 1;
268
+ this.uuid = O.toString(), O += 1;
274
269
  }
275
- }, V = (e) => (b("data-v-526f9959"), e = e(), T(), e), de = { key: 0 }, ue = /* @__PURE__ */ V(() => /* @__PURE__ */ p("path", {
270
+ }, z = (e) => (T("data-v-526f9959"), e = e(), w(), e), de = { key: 0 }, ue = /* @__PURE__ */ z(() => /* @__PURE__ */ d("path", {
276
271
  fill: "#00112C",
277
272
  "fill-rule": "evenodd",
278
273
  d: "M4.46967 10.4697C4.17678 10.7626 4.17678 11.2374 4.46967 11.5303C4.76256 11.8232 5.23744 11.8232 5.53033 11.5303L8.53033 8.53032C8.82322 8.23743 8.82322 7.76256 8.53033 7.46966L5.53033 4.46966C5.23744 4.17677 4.76256 4.17677 4.46967 4.46966C4.17678 4.76256 4.17678 5.23743 4.46967 5.53032L6.93934 7.99999L4.46967 10.4697Z",
279
274
  "clip-rule": "evenodd"
280
- }, null, -1)), ce = /* @__PURE__ */ V(() => /* @__PURE__ */ p("path", {
275
+ }, null, -1)), ce = /* @__PURE__ */ z(() => /* @__PURE__ */ d("path", {
281
276
  fill: "#00112C",
282
277
  "fill-rule": "evenodd",
283
278
  d: "M11.75 4.99999C11.75 4.58578 11.4142 4.24999 11 4.24999C10.5858 4.24999 10.25 4.58578 10.25 4.99999V11C10.25 11.4142 10.5858 11.75 11 11.75C11.4142 11.75 11.75 11.4142 11.75 11L11.75 4.99999Z",
284
279
  "clip-rule": "evenodd"
285
280
  }, null, -1));
286
- function _e(e, a, i, n, s, l) {
287
- return o(), c("svg", P({ role: "img" }, e.$attrs, {
281
+ function _e(e, t, n, i, s, l) {
282
+ return o(), _("svg", C({ role: "img" }, e.$attrs, {
288
283
  xmlns: "http://www.w3.org/2000/svg",
289
284
  width: "16",
290
285
  height: "16",
291
286
  fill: "none"
292
287
  }), [
293
- e.$attrs["svg-title"] ? (o(), c("title", de, m(e.$attrs["svg-title"]), 1)) : C("", !0),
288
+ e.$attrs["svg-title"] ? (o(), _("title", de, h(e.$attrs["svg-title"]), 1)) : $("", !0),
294
289
  ue,
295
290
  ce
296
291
  ], 16);
297
292
  }
298
- const ve = /* @__PURE__ */ h(pe, [["render", _e], ["__scopeId", "data-v-526f9959"]]);
299
- let B = 0;
293
+ const ve = /* @__PURE__ */ f(pe, [["render", _e], ["__scopeId", "data-v-526f9959"]]);
294
+ let k = 0;
300
295
  const me = {
301
296
  beforeCreate() {
302
- this.uuid = B.toString(), B += 1;
297
+ this.uuid = k.toString(), k += 1;
303
298
  }
304
- }, he = (e) => (b("data-v-ad07f9f1"), e = e(), T(), e), fe = { key: 0 }, Pe = /* @__PURE__ */ he(() => /* @__PURE__ */ p("path", {
299
+ }, he = (e) => (T("data-v-ad07f9f1"), e = e(), w(), e), fe = { key: 0 }, Pe = /* @__PURE__ */ he(() => /* @__PURE__ */ d("path", {
305
300
  fill: "#00112C",
306
301
  "fill-rule": "evenodd",
307
302
  d: "M10.0303 4.46967C10.3232 4.76256 10.3232 5.23744 10.0303 5.53033L7.56066 8L10.0303 10.4697C10.3232 10.7626 10.3232 11.2374 10.0303 11.5303C9.73744 11.8232 9.26256 11.8232 8.96967 11.5303L5.96967 8.53033C5.67678 8.23744 5.67678 7.76256 5.96967 7.46967L8.96967 4.46967C9.26256 4.17678 9.73744 4.17678 10.0303 4.46967Z",
308
303
  "clip-rule": "evenodd"
309
304
  }, null, -1));
310
- function Ce(e, a, i, n, s, l) {
311
- return o(), c("svg", P({ role: "img" }, e.$attrs, {
305
+ function Ce(e, t, n, i, s, l) {
306
+ return o(), _("svg", C({ role: "img" }, e.$attrs, {
312
307
  xmlns: "http://www.w3.org/2000/svg",
313
308
  width: "16",
314
309
  height: "16",
315
310
  fill: "none"
316
311
  }), [
317
- e.$attrs["svg-title"] ? (o(), c("title", fe, m(e.$attrs["svg-title"]), 1)) : C("", !0),
312
+ e.$attrs["svg-title"] ? (o(), _("title", fe, h(e.$attrs["svg-title"]), 1)) : $("", !0),
318
313
  Pe
319
314
  ], 16);
320
315
  }
321
- const be = /* @__PURE__ */ h(me, [["render", Ce], ["__scopeId", "data-v-ad07f9f1"]]);
322
- let O = 0;
323
- const Te = {
316
+ const be = /* @__PURE__ */ f(me, [["render", Ce], ["__scopeId", "data-v-ad07f9f1"]]);
317
+ let B = 0;
318
+ const $e = {
324
319
  beforeCreate() {
325
- this.uuid = O.toString(), O += 1;
320
+ this.uuid = B.toString(), B += 1;
326
321
  }
327
- }, $e = (e) => (b("data-v-5d0b9449"), e = e(), T(), e), ye = { key: 0 }, we = /* @__PURE__ */ $e(() => /* @__PURE__ */ p("path", {
322
+ }, Te = (e) => (T("data-v-5d0b9449"), e = e(), w(), e), we = { key: 0 }, Ne = /* @__PURE__ */ Te(() => /* @__PURE__ */ d("path", {
328
323
  fill: "#00112C",
329
324
  "fill-rule": "evenodd",
330
325
  d: "M5.96967 11.5303C5.67678 11.2374 5.67678 10.7626 5.96967 10.4697L8.43934 8L5.96967 5.53033C5.67678 5.23744 5.67678 4.76256 5.96967 4.46967C6.26256 4.17678 6.73744 4.17678 7.03033 4.46967L10.0303 7.46967C10.171 7.61032 10.25 7.80109 10.25 8C10.25 8.19891 10.171 8.38968 10.0303 8.53033L7.03033 11.5303C6.73744 11.8232 6.26256 11.8232 5.96967 11.5303Z",
331
326
  "clip-rule": "evenodd"
332
327
  }, null, -1));
333
- function Ie(e, a, i, n, s, l) {
334
- return o(), c("svg", P({ role: "img" }, e.$attrs, {
328
+ function ye(e, t, n, i, s, l) {
329
+ return o(), _("svg", C({ role: "img" }, e.$attrs, {
335
330
  xmlns: "http://www.w3.org/2000/svg",
336
331
  width: "16",
337
332
  height: "16",
338
333
  fill: "none"
339
334
  }), [
340
- e.$attrs["svg-title"] ? (o(), c("title", ye, m(e.$attrs["svg-title"]), 1)) : C("", !0),
341
- we
335
+ e.$attrs["svg-title"] ? (o(), _("title", we, h(e.$attrs["svg-title"]), 1)) : $("", !0),
336
+ Ne
342
337
  ], 16);
343
338
  }
344
- const Ne = /* @__PURE__ */ h(Te, [["render", Ie], ["__scopeId", "data-v-5d0b9449"]]), Se = {
339
+ const Ie = /* @__PURE__ */ f($e, [["render", ye], ["__scopeId", "data-v-5d0b9449"]]), Se = {
345
340
  "en-US": {
346
341
  navigateToTheFirstPage: "Navigate to the first page",
347
342
  navigateToThePreviousPage: "Navigate to the previous page",
@@ -382,11 +377,11 @@ const Ne = /* @__PURE__ */ h(Te, [["render", Ie], ["__scopeId", "data-v-5d0b9449
382
377
  i18n: { messages: Se },
383
378
  name: "adl-pagination-controls",
384
379
  components: {
385
- BentoButton: J,
380
+ BentoButton: K,
386
381
  SkipLeft: re,
387
382
  SkipRight: ve,
388
383
  ChevronLeft: be,
389
- ChevronRight: Ne
384
+ ChevronRight: Ie
390
385
  },
391
386
  props: {
392
387
  /**
@@ -403,97 +398,91 @@ const Ne = /* @__PURE__ */ h(Te, [["render", Ie], ["__scopeId", "data-v-5d0b9449
403
398
  totalPages: { type: Number, default: null }
404
399
  },
405
400
  emits: ["navigate"],
406
- setup(e, { emit: a }) {
407
- const i = v(() => e.page === 1), n = v(() => e.page === e.totalPages), s = v(() => !e.hasNext || n.value), l = v(() => {
408
- const t = !e.hasNext, _ = !e.totalPages;
409
- return t || n.value || _;
401
+ setup(e, { emit: t }) {
402
+ const n = m(() => e.page === 1), i = m(() => e.page === e.totalPages), s = m(() => !e.hasNext || i.value), l = m(() => {
403
+ const a = !e.hasNext, r = !e.totalPages;
404
+ return a || i.value || r;
410
405
  });
411
406
  return {
412
407
  // Values
413
408
  isNextButtonDisabled: s,
414
- isCurrentPageFirst: i,
415
- isCurrentPageLast: n,
409
+ isCurrentPageFirst: n,
410
+ isCurrentPageLast: i,
416
411
  isLastPageButtonDisabled: l,
417
412
  // Events
418
- navigate: (t) => {
419
- a("navigate", t);
420
- },
421
- // Enums
422
- BentoButtonVariant: Y
413
+ navigate: (a) => {
414
+ t("navigate", a);
415
+ }
423
416
  };
424
417
  }
425
418
  });
426
- const Be = { class: "b-pagination-controls" }, Oe = { class: "b-pagination-controls__item" }, Ee = { class: "b-pagination-controls__item" }, ke = { class: "b-pagination-controls__item" }, Re = { class: "b-pagination-controls__item" };
427
- function Ae(e, a, i, n, s, l) {
428
- const g = d("skip-left"), t = d("bento-button"), _ = d("chevron-left"), w = d("chevron-right"), W = d("skip-right");
429
- return o(), c("ul", Be, [
430
- p("li", Oe, [
431
- r(t, {
419
+ const Oe = { class: "b-pagination-controls" }, ke = { class: "b-pagination-controls__item" }, Be = { class: "b-pagination-controls__item" }, Ae = { class: "b-pagination-controls__item" }, Ee = { class: "b-pagination-controls__item" };
420
+ function Re(e, t, n, i, s, l) {
421
+ const g = u("skip-left"), a = u("bento-button"), r = u("chevron-left"), b = u("chevron-right"), I = u("skip-right");
422
+ return o(), _("ul", Oe, [
423
+ d("li", ke, [
424
+ p(a, {
432
425
  disabled: e.isCurrentPageFirst,
433
- variant: e.BentoButtonVariant.TERTIARY,
434
- tertiary: "",
426
+ variant: "tertiary",
435
427
  condensed: "",
436
- onClick: a[0] || (a[0] = (I) => e.navigate(1))
428
+ onClick: t[0] || (t[0] = (v) => e.navigate(1))
437
429
  }, {
438
- iconLeft: u(() => [
439
- r(g, {
430
+ iconLeft: c(() => [
431
+ p(g, {
440
432
  "svg-title": e.$t("navigateToTheFirstPage")
441
433
  }, null, 8, ["svg-title"])
442
434
  ]),
443
435
  _: 1
444
- }, 8, ["disabled", "variant"])
436
+ }, 8, ["disabled"])
445
437
  ]),
446
- p("li", Ee, [
447
- r(t, {
438
+ d("li", Be, [
439
+ p(a, {
448
440
  disabled: e.isCurrentPageFirst,
449
- variant: e.BentoButtonVariant.TERTIARY,
450
- tertiary: "",
441
+ variant: "tertiary",
451
442
  condensed: "",
452
- onClick: a[1] || (a[1] = (I) => e.navigate(e.page - 1))
443
+ onClick: t[1] || (t[1] = (v) => e.navigate(e.page - 1))
453
444
  }, {
454
- iconLeft: u(() => [
455
- r(_, {
445
+ iconLeft: c(() => [
446
+ p(r, {
456
447
  "svg-title": e.$t("navigateToThePreviousPage")
457
448
  }, null, 8, ["svg-title"])
458
449
  ]),
459
450
  _: 1
460
- }, 8, ["disabled", "variant"])
451
+ }, 8, ["disabled"])
461
452
  ]),
462
- p("li", ke, [
463
- r(t, {
453
+ d("li", Ae, [
454
+ p(a, {
464
455
  disabled: e.isNextButtonDisabled,
465
- variant: e.BentoButtonVariant.TERTIARY,
466
- tertiary: "",
456
+ variant: "tertiary",
467
457
  condensed: "",
468
- onClick: a[2] || (a[2] = (I) => e.navigate(e.page + 1))
458
+ onClick: t[2] || (t[2] = (v) => e.navigate(e.page + 1))
469
459
  }, {
470
- iconLeft: u(() => [
471
- r(w, {
460
+ iconLeft: c(() => [
461
+ p(b, {
472
462
  "svg-title": e.$t("navigateToTheNextPage")
473
463
  }, null, 8, ["svg-title"])
474
464
  ]),
475
465
  _: 1
476
- }, 8, ["disabled", "variant"])
466
+ }, 8, ["disabled"])
477
467
  ]),
478
- p("li", Re, [
479
- r(t, {
468
+ d("li", Ee, [
469
+ p(a, {
480
470
  disabled: e.isLastPageButtonDisabled,
481
- variant: e.BentoButtonVariant.TERTIARY,
482
- tertiary: "",
471
+ variant: "tertiary",
483
472
  condensed: "",
484
- onClick: a[3] || (a[3] = (I) => e.navigate(e.totalPages))
473
+ onClick: t[3] || (t[3] = (v) => e.navigate(e.totalPages))
485
474
  }, {
486
- iconLeft: u(() => [
487
- r(W, {
475
+ iconLeft: c(() => [
476
+ p(I, {
488
477
  "svg-title": e.$t("navigateToTheLastPage")
489
478
  }, null, 8, ["svg-title"])
490
479
  ]),
491
480
  _: 1
492
- }, 8, ["disabled", "variant"])
481
+ }, 8, ["disabled"])
493
482
  ])
494
483
  ]);
495
484
  }
496
- const Fe = /* @__PURE__ */ h(Le, [["render", Ae], ["__scopeId", "data-v-8f38b953"]]), De = {
485
+ const Fe = /* @__PURE__ */ f(Le, [["render", Re], ["__scopeId", "data-v-b1c3077d"]]), Me = {
497
486
  "en-US": {
498
487
  paginatedNavigation: "Paginated navigation",
499
488
  showingItemsWithTotal: "Showing {itemCount} of {totalCount} item | Showing {itemCount} of {totalCount} items"
@@ -518,15 +507,18 @@ const Fe = /* @__PURE__ */ h(Le, [["render", Ae], ["__scopeId", "data-v-8f38b953
518
507
  paginatedNavigation: "Navegación por páginas",
519
508
  showingItemsWithTotal: "Mostrando {itemCount} de {totalCount} artículo | Mostrando {itemCount} de {totalCount} artículos"
520
509
  }
521
- }, Me = y({
522
- i18n: { messages: De },
510
+ }, De = y({
511
+ i18n: { messages: Me },
523
512
  name: "bento-pagination",
524
513
  components: {
525
514
  BentoPaginationContext: ne,
526
515
  BentoPaginationControls: Fe,
527
- BentoPaginationResultsPerPage: X
516
+ BentoPaginationResultsPerPage: Y
528
517
  },
529
518
  props: {
519
+ /**
520
+ * @deprecated from version 2.0.0. Use the aria-label attribute instead.
521
+ */
530
522
  /**
531
523
  * A brief description of the purpose of the navigation (for a11y).
532
524
  * Omit the term "navigation", as the screen reader will read both the role and the contents of the label.
@@ -565,54 +557,59 @@ const Fe = /* @__PURE__ */ h(Le, [["render", Ae], ["__scopeId", "data-v-8f38b953
565
557
  totalCount: { type: Number, default: null }
566
558
  },
567
559
  emits: ["navigate", "items-page", "update:page", "update:size"],
568
- setup(e, { emit: a }) {
569
- const i = v(
560
+ setup(e, { attrs: t, emit: n }) {
561
+ const i = A(t["aria-label"]), { ariaLabel: s } = V(e), l = J({
562
+ ariaLabel: i.value,
563
+ // TODO: take this line away when the aria-label props is removed
564
+ label: s
565
+ }), g = m(
570
566
  () => !e.totalCount || !e.size ? null : Math.ceil(e.totalCount / e.size)
571
- ), n = (t) => {
572
- a("navigate", t), a("update:page", t);
573
- }, s = (t) => {
574
- n(t);
575
- }, l = (t) => {
576
- a("items-page", t), a("update:size", t), n(1);
577
- }, g = v(() => ({
567
+ ), a = (v) => {
568
+ n("navigate", v), n("update:page", v);
569
+ }, r = (v) => {
570
+ a(v);
571
+ }, b = (v) => {
572
+ n("items-page", v), n("update:size", v), a(1);
573
+ }, I = m(() => ({
578
574
  "b-pagination__navigation--no-results-per-page": e.hidePageSize
579
575
  }));
580
576
  return {
581
577
  // Values
582
- totalPages: i,
583
- navigationConditionalClasses: g,
578
+ computedAriaLabel: l,
579
+ totalPages: g,
580
+ navigationConditionalClasses: I,
584
581
  // Events
585
- navigate: n,
586
- onItemsPerPageChange: l,
587
- onPageSelected: s
582
+ navigate: a,
583
+ onItemsPerPageChange: b,
584
+ onPageSelected: r
588
585
  };
589
586
  }
590
587
  });
591
- const Ze = (e) => (b("data-v-1c9873b8"), e = e(), T(), e), Ve = { class: "b-pagination" }, We = ["aria-label"], ze = { class: "b-pagination__page-navigator" }, Ue = /* @__PURE__ */ Ze(() => /* @__PURE__ */ p("div", { class: "b-pagination__divider" }, null, -1));
592
- function je(e, a, i, n, s, l) {
593
- const g = d("bento-pagination-results-per-page"), t = d("bento-pagination-context"), _ = d("bento-pagination-controls");
594
- return o(), c("div", Ve, [
595
- p("nav", {
596
- "aria-label": e.ariaLabel,
588
+ const Ze = (e) => (T("data-v-443af17b"), e = e(), w(), e), We = { class: "b-pagination" }, ze = ["aria-label"], Ue = { class: "b-pagination__page-navigator" }, Ve = /* @__PURE__ */ Ze(() => /* @__PURE__ */ d("div", { class: "b-pagination__divider" }, null, -1));
589
+ function je(e, t, n, i, s, l) {
590
+ const g = u("bento-pagination-results-per-page"), a = u("bento-pagination-context"), r = u("bento-pagination-controls");
591
+ return o(), _("div", We, [
592
+ d("nav", {
593
+ "aria-label": e.computedAriaLabel,
597
594
  class: j(["b-pagination__navigation", e.navigationConditionalClasses])
598
595
  }, [
599
- e.hidePageSize ? C("", !0) : (o(), f(g, {
596
+ e.hidePageSize ? $("", !0) : (o(), P(g, {
600
597
  key: 0,
601
598
  class: "b-pagination__results-per-page",
602
599
  "items-per-page": e.size,
603
600
  "total-count": e.totalCount,
604
601
  onSelect: e.onItemsPerPageChange
605
602
  }, null, 8, ["items-per-page", "total-count", "onSelect"])),
606
- p("div", ze, [
607
- r(t, {
603
+ d("div", Ue, [
604
+ p(a, {
608
605
  class: "b-pagination__context",
609
606
  "total-pages": e.totalPages,
610
607
  page: e.page,
611
608
  "total-count": e.totalCount,
612
609
  onPageSelected: e.onPageSelected
613
610
  }, null, 8, ["total-pages", "page", "total-count", "onPageSelected"]),
614
- Ue,
615
- r(_, {
611
+ Ve,
612
+ p(r, {
616
613
  class: "b-pagination__controls",
617
614
  "has-next": e.hasNext,
618
615
  page: e.page,
@@ -620,11 +617,11 @@ function je(e, a, i, n, s, l) {
620
617
  onNavigate: e.navigate
621
618
  }, null, 8, ["has-next", "page", "total-pages", "onNavigate"])
622
619
  ])
623
- ], 10, We)
620
+ ], 10, ze)
624
621
  ]);
625
622
  }
626
- const Xe = /* @__PURE__ */ h(Me, [["render", je], ["__scopeId", "data-v-1c9873b8"]]);
623
+ const xe = /* @__PURE__ */ f(De, [["render", je], ["__scopeId", "data-v-443af17b"]]);
627
624
  export {
628
- Xe as BentoPagination
625
+ xe as BentoPagination
629
626
  };
630
627
  //# sourceMappingURL=pagination.js.map