@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/timeline.js CHANGED
@@ -1,64 +1,64 @@
1
- import { defineComponent as W, ref as Y, computed as c, toRefs as ae, provide as V, openBlock as s, createElementBlock as _, renderSlot as oe, mergeProps as X, toDisplayString as y, createCommentVNode as h, pushScopeId as G, popScopeId as x, createElementVNode as p, inject as j, resolveComponent as w, createVNode as S, withCtx as b, createTextVNode as I, createBlock as C, resolveDynamicComponent as se, normalizeClass as q, Fragment as $, renderList as re } from "vue";
2
- import { _ as F } from "./chunks/_plugin-vue_export-helper.dad06003.js";
3
- import { B as le, a as me } from "./chunks/button.e1c39f66.js";
4
- import { B as de } from "./chunks/index.d27367cd.js";
5
- import { BentoTag as ue } from "./tag.js";
6
- import { B as ce, a as _e, b as pe } from "./chunks/index.222d29b0.js";
7
- import { B as fe, a as he, S as ve } from "./chunks/index.3da90517.js";
8
- import { C as ge } from "./chunks/checkmark-circle-fill.e6b84561.js";
9
- import { C as be } from "./chunks/cross-circle-fill.0feb37b3.js";
10
- import { r as ye, e as Ie, t as B, g as z } from "./chunks/index.f55fdc32.js";
11
- import { c as Te, a as Ee } from "./chunks/index.86453263.js";
12
- import { g as Se } from "./chunks/unique-id.a2a2b458.js";
1
+ import { defineComponent as X, ref as V, computed as _, toRefs as ae, provide as U, openBlock as a, createElementBlock as f, renderSlot as oe, mergeProps as G, toDisplayString as y, createCommentVNode as b, pushScopeId as x, popScopeId as ee, createElementVNode as v, inject as q, onUnmounted as re, resolveComponent as T, createVNode as E, withCtx as I, createTextVNode as S, createBlock as M, resolveDynamicComponent as le, normalizeClass as z, Fragment as F, renderList as me } from "vue";
2
+ import { _ as B } from "./chunks/_plugin-vue_export-helper.dad06003.js";
3
+ import { a as de } from "./chunks/button.a8462029.js";
4
+ import { B as ue } from "./chunks/index.e84dbeae.js";
5
+ import { BentoTag as ce } from "./tag.js";
6
+ import { B as _e } from "./chunks/index.89b00b94.js";
7
+ import { B as fe, a as ve, S as he } from "./chunks/index.9d8273fc.js";
8
+ import { C as pe } from "./chunks/checkmark-circle-fill.e6b84561.js";
9
+ import { C as ge } from "./chunks/cross-circle-fill.0feb37b3.js";
10
+ import { r as be, e as Ie, t as A, g as H } from "./chunks/index.f55fdc32.js";
11
+ import { c as ye, a as Se } from "./chunks/index.86453263.js";
12
+ import { g as Ee } from "./chunks/unique-id.a2a2b458.js";
13
13
  import { u as we } from "./chunks/i18n.6c402773.js";
14
- import "./assets/index35.css";
15
- var H = 1e3 * 60, D = 60 * 24, J = D * 30, K = D * 365;
16
- function P(e, n) {
14
+ import "./assets/index40.css";
15
+ var J = 1e3 * 60, O = 60 * 24, K = O * 30, Z = O * 365;
16
+ function P(e, t) {
17
17
  var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
18
- ye(2, arguments);
18
+ be(2, arguments);
19
19
  var l = r.locale || Ie;
20
20
  if (!l.formatDistance)
21
21
  throw new RangeError("locale must contain localize.formatDistance property");
22
- var f = Te(e, n);
23
- if (isNaN(f))
22
+ var h = ye(e, t);
23
+ if (isNaN(h))
24
24
  throw new RangeError("Invalid time value");
25
- var a = Ee(r);
26
- a.addSuffix = !!r.addSuffix, a.comparison = f;
27
- var i, d;
28
- f > 0 ? (i = B(n), d = B(e)) : (i = B(e), d = B(n));
29
- var v = r.roundingMethod == null ? "round" : String(r.roundingMethod), t;
30
- if (v === "floor")
31
- t = Math.floor;
32
- else if (v === "ceil")
33
- t = Math.ceil;
34
- else if (v === "round")
35
- t = Math.round;
25
+ var s = Se(r);
26
+ s.addSuffix = !!r.addSuffix, s.comparison = h;
27
+ var i, c;
28
+ h > 0 ? (i = A(t), c = A(e)) : (i = A(e), c = A(t));
29
+ var p = r.roundingMethod == null ? "round" : String(r.roundingMethod), m;
30
+ if (p === "floor")
31
+ m = Math.floor;
32
+ else if (p === "ceil")
33
+ m = Math.ceil;
34
+ else if (p === "round")
35
+ m = Math.round;
36
36
  else
37
37
  throw new RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");
38
- var u = d.getTime() - i.getTime(), m = u / H, g = z(d) - z(i), E = (u - g) / H, o;
39
- if (r.unit == null ? m < 1 ? o = "second" : m < 60 ? o = "minute" : m < D ? o = "hour" : E < J ? o = "day" : E < K ? o = "month" : o = "year" : o = String(r.unit), o === "second") {
40
- var L = t(u / 1e3);
41
- return l.formatDistance("xSeconds", L, a);
42
- } else if (o === "minute") {
43
- var R = t(m);
44
- return l.formatDistance("xMinutes", R, a);
45
- } else if (o === "hour") {
46
- var k = t(m / 60);
47
- return l.formatDistance("xHours", k, a);
48
- } else if (o === "day") {
49
- var N = t(E / D);
50
- return l.formatDistance("xDays", N, a);
51
- } else if (o === "month") {
52
- var O = t(E / J);
53
- return O === 12 && r.unit !== "month" ? l.formatDistance("xYears", 1, a) : l.formatDistance("xMonths", O, a);
54
- } else if (o === "year") {
55
- var A = t(E / K);
56
- return l.formatDistance("xYears", A, a);
38
+ var n = c.getTime() - i.getTime(), o = n / J, u = H(c) - H(i), g = (n - u) / J, d;
39
+ if (r.unit == null ? o < 1 ? d = "second" : o < 60 ? d = "minute" : o < O ? d = "hour" : g < K ? d = "day" : g < Z ? d = "month" : d = "year" : d = String(r.unit), d === "second") {
40
+ var L = m(n / 1e3);
41
+ return l.formatDistance("xSeconds", L, s);
42
+ } else if (d === "minute") {
43
+ var k = m(o);
44
+ return l.formatDistance("xMinutes", k, s);
45
+ } else if (d === "hour") {
46
+ var R = m(o / 60);
47
+ return l.formatDistance("xHours", R, s);
48
+ } else if (d === "day") {
49
+ var $ = m(g / O);
50
+ return l.formatDistance("xDays", $, s);
51
+ } else if (d === "month") {
52
+ var C = m(g / K);
53
+ return C === 12 && r.unit !== "month" ? l.formatDistance("xYears", 1, s) : l.formatDistance("xMonths", C, s);
54
+ } else if (d === "year") {
55
+ var D = m(g / Z);
56
+ return l.formatDistance("xYears", D, s);
57
57
  }
58
58
  throw new RangeError("unit must be 'second', 'minute', 'hour', 'day', 'month' or 'year'");
59
59
  }
60
- var M = /* @__PURE__ */ ((e) => (e.BOTTOM = "bottom", e.AFTER_FIRST = "after-first", e.BEFORE_LAST = "before-last", e))(M || {}), Ce = /* @__PURE__ */ ((e) => (e.SECOND = "second", e.MINUTE = "minute", e.HOUR = "hour", e.DAY = "day", e.MONTH = "month", e.YEAR = "year", e))(Ce || {}), T = /* @__PURE__ */ ((e) => (e.DEFAULT = "SquareSmallIcon", e.SUCCESS = "CheckedCircleIcon", e.CRITICAL = "CrossCircleIcon", e))(T || {});
61
- const ee = Symbol("timeline register entry injection key"), te = Symbol("timeline config obj injection key"), Me = W({
60
+ var N = /* @__PURE__ */ ((e) => (e.BOTTOM = "bottom", e.AFTER_FIRST = "after-first", e.BEFORE_LAST = "before-last", e))(N || {}), Ce = /* @__PURE__ */ ((e) => (e.SECOND = "second", e.MINUTE = "minute", e.HOUR = "hour", e.DAY = "day", e.MONTH = "month", e.YEAR = "year", e))(Ce || {}), w = /* @__PURE__ */ ((e) => (e.DEFAULT = "SquareSmallIcon", e.SUCCESS = "CheckedCircleIcon", e.CRITICAL = "CrossCircleIcon", e))(w || {});
61
+ const te = Symbol("timeline register entry injection key"), ie = Symbol("timeline config obj injection key"), Te = X({
62
62
  name: "bento-timeline",
63
63
  props: {
64
64
  /**
@@ -80,90 +80,93 @@ const ee = Symbol("timeline register entry injection key"), te = Symbol("timelin
80
80
  }
81
81
  },
82
82
  setup(e) {
83
- const n = Y([]), r = c(
84
- () => e.showMore && n.value.length > e.showMore.limit ? n.value.length - e.showMore.limit : null
85
- ), l = Y(!1), { timegapLimit: f } = ae(e), a = c(() => {
83
+ const t = V([]), r = _(
84
+ () => e.showMore && t.value.length > e.showMore.limit ? t.value.length - e.showMore.limit : null
85
+ ), l = V(!1), { timegapLimit: h } = ae(e), s = _(() => {
86
86
  if (!e.showMore)
87
87
  return null;
88
- const t = Array.from(n.value.keys());
89
- return e.showMore.placement === M.BEFORE_LAST ? [
90
- ...t.slice(0, e.showMore.limit - 1),
91
- t[t.length - 1]
92
- ] : e.showMore.placement === M.AFTER_FIRST ? [t[0], ...t.slice(-(e.showMore.limit - 1))] : t.slice(0, e.showMore.limit);
93
- }), i = c(() => {
88
+ const n = Array.from(t.value.keys());
89
+ return e.showMore.placement === N.BEFORE_LAST ? [
90
+ ...n.slice(0, e.showMore.limit - 1),
91
+ n[n.length - 1]
92
+ ] : e.showMore.placement === N.AFTER_FIRST ? [n[0], ...n.slice(-(e.showMore.limit - 1))] : n.slice(0, e.showMore.limit);
93
+ }), i = _(() => {
94
94
  if (!e.showMore)
95
95
  return null;
96
96
  switch (e.showMore.placement) {
97
- case M.BEFORE_LAST:
97
+ case N.BEFORE_LAST:
98
98
  return e.showMore.limit - 2;
99
- case M.AFTER_FIRST:
99
+ case N.AFTER_FIRST:
100
100
  return 0;
101
- case M.BOTTOM:
101
+ case N.BOTTOM:
102
102
  default:
103
103
  return e.showMore.limit - 1;
104
104
  }
105
- }), d = ({ title: t, date: u }) => {
106
- const m = n.value.length;
107
- return n.value.push({ title: t, date: u }), { timelineEntries: n, index: m };
108
- }, v = {
105
+ }), c = (n) => () => {
106
+ var o;
107
+ t.value = (o = t.value) == null ? void 0 : o.filter((u, g) => g !== n);
108
+ }, p = ({ title: n, date: o }) => {
109
+ const u = t.value.length;
110
+ return t.value.push({ title: n, date: o }), { timelineEntries: t, index: u, unregisterTimelineEntry: c(u) };
111
+ }, m = {
109
112
  showAll: l,
110
113
  showMoreIndex: i,
111
114
  hiddenItems: r,
112
- visibleIndexes: a,
113
- timegapLimit: f
115
+ visibleIndexes: s,
116
+ timegapLimit: h
114
117
  };
115
- V(ee, d), V(te, v);
118
+ U(te, p), U(ie, m);
116
119
  }
117
120
  });
118
- const Ne = { class: "b-timeline" };
119
- function Oe(e, n, r, l, f, a) {
120
- return s(), _("ol", Ne, [
121
+ const Me = { class: "b-timeline" };
122
+ function Ne(e, t, r, l, h, s) {
123
+ return a(), f("ol", Me, [
121
124
  oe(e.$slots, "default", {}, void 0, !0)
122
125
  ]);
123
126
  }
124
- const mt = /* @__PURE__ */ F(Me, [["render", Oe], ["__scopeId", "data-v-835711f5"]]);
125
- let Z = 0;
126
- const Ae = {
127
+ const lt = /* @__PURE__ */ B(Te, [["render", Ne], ["__scopeId", "data-v-02203eda"]]);
128
+ let Q = 0;
129
+ const Le = {
127
130
  beforeCreate() {
128
- this.uuid = Z.toString(), Z += 1;
131
+ this.uuid = Q.toString(), Q += 1;
129
132
  }
130
- }, Be = (e) => (G("data-v-f702de38"), e = e(), x(), e), De = { key: 0 }, Le = /* @__PURE__ */ Be(() => /* @__PURE__ */ p("path", {
133
+ }, Ae = (e) => (x("data-v-f702de38"), e = e(), ee(), e), Oe = { key: 0 }, ke = /* @__PURE__ */ Ae(() => /* @__PURE__ */ v("path", {
131
134
  fill: "#00112C",
132
135
  "fill-rule": "evenodd",
133
136
  d: "M5.5 3.25C4.25736 3.25 3.25 4.25736 3.25 5.5V10.5C3.25 11.7426 4.25736 12.75 5.5 12.75H10.5C11.7426 12.75 12.75 11.7426 12.75 10.5V5.5C12.75 4.25736 11.7426 3.25 10.5 3.25H5.5Z",
134
137
  "clip-rule": "evenodd"
135
138
  }, null, -1));
136
- function Re(e, n, r, l, f, a) {
137
- return s(), _("svg", X({ role: "img" }, e.$attrs, {
139
+ function Re(e, t, r, l, h, s) {
140
+ return a(), f("svg", G({ role: "img" }, e.$attrs, {
138
141
  xmlns: "http://www.w3.org/2000/svg",
139
142
  width: "16",
140
143
  height: "16",
141
144
  fill: "none"
142
145
  }), [
143
- e.$attrs["svg-title"] ? (s(), _("title", De, y(e.$attrs["svg-title"]), 1)) : h("", !0),
144
- Le
146
+ e.$attrs["svg-title"] ? (a(), f("title", Oe, y(e.$attrs["svg-title"]), 1)) : b("", !0),
147
+ ke
145
148
  ], 16);
146
149
  }
147
- const ke = /* @__PURE__ */ F(Ae, [["render", Re], ["__scopeId", "data-v-f702de38"]]), Q = {
150
+ const $e = /* @__PURE__ */ B(Le, [["render", Re], ["__scopeId", "data-v-f702de38"]]), W = {
148
151
  "en-US": {
149
152
  timegap: "{timegap} passed between the timeline events",
150
153
  showMore: "Show {items} more",
151
154
  showLess: "Show less"
152
155
  }
153
- }, $e = W({
156
+ }, De = X({
154
157
  name: "bento-timeline-item",
155
158
  components: {
156
- BentoButton: le,
157
- BentoDate: de,
158
- BentoTag: ue,
159
- BentoTypography: ce,
159
+ BentoButton: de,
160
+ BentoDate: ue,
161
+ BentoTag: ce,
162
+ BentoTypography: _e,
160
163
  BentoStructuredList: fe,
161
- BentoStructuredListItem: he,
162
- CrossCircleIcon: be,
163
- CheckedCircleIcon: ge,
164
- SquareSmallIcon: ke
164
+ BentoStructuredListItem: ve,
165
+ CrossCircleIcon: ge,
166
+ CheckedCircleIcon: pe,
167
+ SquareSmallIcon: $e
165
168
  },
166
- i18n: { messages: Q },
169
+ i18n: { messages: W },
167
170
  props: {
168
171
  /**
169
172
  * Additional timestamp of the event
@@ -213,220 +216,216 @@ const ke = /* @__PURE__ */ F(Ae, [["render", Re], ["__scopeId", "data-v-f702de38
213
216
  */
214
217
  variant: {
215
218
  type: String,
216
- default: T.DEFAULT,
217
- validator: (e) => Object.values(T).includes(e)
219
+ default: w.DEFAULT,
220
+ validator: (e) => Object.values(w).includes(e)
218
221
  }
219
222
  },
220
223
  setup(e) {
221
- const { t: n } = we({ messages: Q }), r = c(() => ({
222
- "b-timeline-item__icon--default": e.variant === T.DEFAULT,
223
- "b-timeline-item__icon--success": e.variant === T.SUCCESS,
224
- "b-timeline-item__icon--critical": e.variant === T.CRITICAL
225
- })), l = c(() => ({
226
- "b-timeline-item__title--default": e.variant === T.DEFAULT
224
+ const { t } = we({ messages: W }), r = _(() => ({
225
+ "b-timeline-item__icon--default": e.variant === w.DEFAULT,
226
+ "b-timeline-item__icon--success": e.variant === w.SUCCESS,
227
+ "b-timeline-item__icon--critical": e.variant === w.CRITICAL
228
+ })), l = _(() => ({
229
+ "b-timeline-item__title--default": e.variant === w.DEFAULT
227
230
  }));
228
- V(ve, !0);
229
- const f = j(ee), { timelineEntries: a, index: i } = f({
231
+ U(he, !0);
232
+ const h = q(te), { timelineEntries: s, index: i, unregisterTimelineEntry: c } = h({
230
233
  title: e.title,
231
234
  date: e.timestamp.date
232
- }), { showAll: d, showMoreIndex: v, hiddenItems: t, visibleIndexes: u, timegapLimit: m } = j(te), g = c(() => d.value || !u.value), E = c(() => g.value ? !0 : u.value.includes(i)), o = c(() => {
233
- var U;
234
- if (!m.value)
235
+ });
236
+ re(() => c());
237
+ const { showAll: p, showMoreIndex: m, hiddenItems: n, visibleIndexes: o, timegapLimit: u } = q(ie), g = _(() => p.value || !o.value), d = _(() => g.value ? !0 : o.value.includes(i)), L = _(() => {
238
+ var Y;
239
+ if (!u.value)
235
240
  return null;
236
- const N = (U = a.value[i - 1]) == null ? void 0 : U.date, O = g.value || u.value.includes(i - 1);
237
- if (!N || !O)
241
+ const C = (Y = s.value[i - 1]) == null ? void 0 : Y.date, D = g.value || o.value.includes(i - 1);
242
+ if (!C || !D)
238
243
  return null;
239
- const { date: A } = a.value[i], ne = parseInt(
240
- P(N, A, { unit: m.value.unit }),
244
+ const { date: j } = s.value[i], se = parseInt(
245
+ P(C, j, { unit: u.value.unit }),
241
246
  10
242
247
  );
243
- return m.value.amount < ne ? P(N, A, { roundingMethod: "floor" }) : null;
244
- }), L = c(() => o.value ? n("timegap", { timegap: o.value }) : ""), R = c(() => t.value && v.value === i), k = c(() => i === a.value.length - 1);
248
+ return u.value.amount < se ? P(C, j, { roundingMethod: "floor" }) : null;
249
+ }), k = _(() => L.value ? t("timegap", { timegap: L.value }) : ""), R = _(() => n.value && m.value === i), $ = _(() => i === s.value.length - 1);
245
250
  return {
246
251
  // Values
247
252
  iconConditionalClasses: r,
248
253
  titleConditionalClasses: l,
249
254
  displayShowMoreButton: R,
250
- showAll: d,
251
- hiddenItems: t,
252
- isVisible: E,
253
- timegap: o,
254
- timegapAriaLabel: L,
255
- isLastItem: k,
255
+ showAll: p,
256
+ hiddenItems: n,
257
+ isVisible: d,
258
+ timegap: L,
259
+ timegapAriaLabel: k,
260
+ isLastItem: $,
256
261
  // Methods
257
- generateUid: Se,
258
- t: n,
259
- // Types
260
- BentoTimelineItemVariant: T,
261
- BentoTypographyElement: _e,
262
- BentoTypographyVariant: pe,
263
- BentoButtonVariant: me
262
+ generateUid: Ee,
263
+ t
264
264
  };
265
265
  }
266
266
  });
267
- const ie = (e) => (G("data-v-e71b1cbd"), e = e(), x(), e), Ve = {
267
+ const ne = (e) => (x("data-v-cbd33889"), e = e(), ee(), e), Fe = {
268
268
  key: 0,
269
269
  class: "b-timeline-item"
270
- }, Fe = {
270
+ }, Ue = {
271
271
  key: 0,
272
272
  class: "b-timeline-item__row"
273
- }, Ue = /* @__PURE__ */ ie(() => /* @__PURE__ */ p("div", {
273
+ }, Be = /* @__PURE__ */ ne(() => /* @__PURE__ */ v("div", {
274
274
  class: "b-timeline-item__marker",
275
275
  "aria-hidden": "true"
276
276
  }, [
277
- /* @__PURE__ */ p("div", { class: "b-timeline-item__icon b-timeline-item__icon--timegap" }),
278
- /* @__PURE__ */ p("div", { class: "b-timeline-item__separator" })
279
- ], -1)), Ye = { class: "b-timeline-item__content" }, je = { class: "b-timeline-item__row" }, qe = {
277
+ /* @__PURE__ */ v("div", { class: "b-timeline-item__icon b-timeline-item__icon--timegap" }),
278
+ /* @__PURE__ */ v("div", { class: "b-timeline-item__separator" })
279
+ ], -1)), je = { class: "b-timeline-item__content" }, Ye = { class: "b-timeline-item__row" }, Ve = {
280
280
  class: "b-timeline-item__marker",
281
281
  "aria-hidden": "true"
282
- }, ze = {
282
+ }, qe = {
283
283
  key: 0,
284
- class: "b-timeline-item__separator"
285
- }, He = { class: "b-timeline-item__content" }, Je = {
284
+ class: "b-timeline-item__separator",
285
+ "data-testid": "last-timeline-item-separator"
286
+ }, ze = { class: "b-timeline-item__content" }, He = {
286
287
  key: 3,
287
288
  class: "b-timeline-item__data-list"
288
- }, Ke = {
289
+ }, Je = {
289
290
  key: 1,
290
291
  class: "b-timeline-item__row"
291
- }, Pe = /* @__PURE__ */ ie(() => /* @__PURE__ */ p("div", {
292
+ }, Ke = /* @__PURE__ */ ne(() => /* @__PURE__ */ v("div", {
292
293
  class: "b-timeline-item__marker",
293
294
  "aria-hidden": "true"
294
295
  }, [
295
- /* @__PURE__ */ p("div", { class: "b-timeline-item__separator" })
296
+ /* @__PURE__ */ v("div", { class: "b-timeline-item__separator" })
296
297
  ], -1)), Ze = { class: "b-timeline-item__content" };
297
- function Qe(e, n, r, l, f, a) {
298
- const i = w("bento-typography"), d = w("bento-date"), v = w("bento-structured-list-item"), t = w("bento-structured-list"), u = w("bento-tag"), m = w("bento-button");
299
- return e.isVisible ? (s(), _("li", Ve, [
300
- e.timegap ? (s(), _("div", Fe, [
301
- Ue,
302
- p("div", Ye, [
303
- S(i, {
298
+ function Pe(e, t, r, l, h, s) {
299
+ const i = T("bento-typography"), c = T("bento-date"), p = T("bento-structured-list-item"), m = T("bento-structured-list"), n = T("bento-tag"), o = T("bento-button");
300
+ return e.isVisible ? (a(), f("li", Fe, [
301
+ e.timegap ? (a(), f("div", Ue, [
302
+ Be,
303
+ v("div", je, [
304
+ E(i, {
304
305
  class: "b-timeline-item__timegap",
305
306
  "aria-label": e.timegapAriaLabel
306
307
  }, {
307
- default: b(() => [
308
- I(y(e.timegap), 1)
308
+ default: I(() => [
309
+ S(y(e.timegap), 1)
309
310
  ]),
310
311
  _: 1
311
312
  }, 8, ["aria-label"])
312
313
  ])
313
- ])) : h("", !0),
314
- p("div", je, [
315
- p("div", qe, [
316
- (s(), C(se(e.variant), {
317
- class: q(["b-timeline-item__icon", e.iconConditionalClasses])
314
+ ])) : b("", !0),
315
+ v("div", Ye, [
316
+ v("div", Ve, [
317
+ (a(), M(le(e.variant), {
318
+ class: z(["b-timeline-item__icon", e.iconConditionalClasses])
318
319
  }, null, 8, ["class"])),
319
- e.isLastItem ? h("", !0) : (s(), _("div", ze))
320
+ e.isLastItem ? b("", !0) : (a(), f("div", qe))
320
321
  ]),
321
- p("div", He, [
322
- S(i, {
323
- el: e.BentoTypographyElement.DIV,
324
- variant: e.BentoTypographyVariant.BODY,
322
+ v("div", ze, [
323
+ E(i, {
324
+ el: "div",
325
+ variant: "body",
325
326
  strongest: "",
326
- class: q(["b-timeline-item__title", e.titleConditionalClasses]),
327
+ class: z(["b-timeline-item__title", e.titleConditionalClasses]),
327
328
  role: "heading"
328
329
  }, {
329
- default: b(() => [
330
- I(y(e.title), 1)
330
+ default: I(() => [
331
+ S(y(e.title), 1)
331
332
  ]),
332
333
  _: 1
333
- }, 8, ["el", "variant", "class"]),
334
- e.timestamp ? (s(), C(i, {
334
+ }, 8, ["class"]),
335
+ e.timestamp ? (a(), M(i, {
335
336
  key: 0,
336
337
  class: "b-timeline-item__timestamp",
337
- el: e.BentoTypographyElement.DIV,
338
- variant: e.BentoTypographyVariant.CAPTION
338
+ el: "div",
339
+ variant: "caption"
339
340
  }, {
340
- default: b(() => [
341
- S(d, {
341
+ default: I(() => [
342
+ E(c, {
342
343
  date: e.timestamp.date,
343
344
  format: e.timestamp.format,
344
345
  "disable-typography": ""
345
346
  }, null, 8, ["date", "format"]),
346
- I(" " + y(e.timestamp.value), 1)
347
+ S(" " + y(e.timestamp.value), 1)
347
348
  ]),
348
349
  _: 1
349
- }, 8, ["el", "variant"])) : h("", !0),
350
- e.additionalTimestamp ? (s(), C(i, {
350
+ })) : b("", !0),
351
+ e.additionalTimestamp ? (a(), M(i, {
351
352
  key: 1,
352
353
  class: "b-timeline-item__timestamp",
353
- el: e.BentoTypographyElement.DIV,
354
- variant: e.BentoTypographyVariant.CAPTION
354
+ el: "div",
355
+ variant: "caption"
355
356
  }, {
356
- default: b(() => [
357
- S(d, {
357
+ default: I(() => [
358
+ E(c, {
358
359
  date: e.additionalTimestamp.date,
359
360
  format: e.additionalTimestamp.format,
360
361
  "disable-typography": ""
361
362
  }, null, 8, ["date", "format"]),
362
- I(" " + y(e.additionalTimestamp.value), 1)
363
+ S(" " + y(e.additionalTimestamp.value), 1)
363
364
  ]),
364
365
  _: 1
365
- }, 8, ["el", "variant"])) : h("", !0),
366
- e.description ? (s(), C(i, {
366
+ })) : b("", !0),
367
+ e.description ? (a(), M(i, {
367
368
  key: 2,
368
- el: e.BentoTypographyElement.DIV,
369
- variant: e.BentoTypographyVariant.BODY,
369
+ el: "div",
370
+ variant: "body",
370
371
  class: "b-timeline-item__description"
371
372
  }, {
372
- default: b(() => [
373
- I(y(e.description), 1)
373
+ default: I(() => [
374
+ S(y(e.description), 1)
374
375
  ]),
375
376
  _: 1
376
- }, 8, ["el", "variant"])) : h("", !0),
377
- e.dataList ? (s(), _("div", Je, [
378
- S(t, null, {
379
- default: b(() => [
380
- (s(!0), _($, null, re(e.dataList, (g) => (s(), C(v, {
381
- key: e.generateUid(g.label),
382
- label: g.label
377
+ })) : b("", !0),
378
+ e.dataList ? (a(), f("div", He, [
379
+ E(m, null, {
380
+ default: I(() => [
381
+ (a(!0), f(F, null, me(e.dataList, (u) => (a(), M(p, {
382
+ key: e.generateUid(u.label),
383
+ label: u.label
383
384
  }, {
384
- default: b(() => [
385
- S(i, {
386
- variant: e.BentoTypographyVariant.CAPTION
387
- }, {
388
- default: b(() => [
389
- I(y(g.value), 1)
385
+ default: I(() => [
386
+ E(i, { variant: "caption" }, {
387
+ default: I(() => [
388
+ S(y(u.value), 1)
390
389
  ]),
391
390
  _: 2
392
- }, 1032, ["variant"])
391
+ }, 1024)
393
392
  ]),
394
393
  _: 2
395
394
  }, 1032, ["label"]))), 128))
396
395
  ]),
397
396
  _: 1
398
397
  })
399
- ])) : h("", !0),
400
- e.tag ? (s(), C(u, X({ key: 4 }, e.tag, { class: "b-timeline-item__tag" }), null, 16)) : h("", !0)
398
+ ])) : b("", !0),
399
+ e.tag ? (a(), M(n, G({ key: 4 }, e.tag, { class: "b-timeline-item__tag" }), null, 16)) : b("", !0)
401
400
  ])
402
401
  ]),
403
- e.displayShowMoreButton ? (s(), _("div", Ke, [
404
- Pe,
405
- p("div", Ze, [
406
- S(m, {
402
+ e.displayShowMoreButton ? (a(), f("div", Je, [
403
+ Ke,
404
+ v("div", Ze, [
405
+ E(o, {
407
406
  class: "b-timeline__show-more",
408
- variant: e.BentoButtonVariant.TERTIARY,
409
- onClick: n[0] || (n[0] = (g) => e.showAll = !e.showAll)
407
+ variant: "tertiary",
408
+ onClick: t[0] || (t[0] = (u) => e.showAll = !e.showAll)
410
409
  }, {
411
- default: b(() => [
412
- e.showAll ? (s(), _($, { key: 1 }, [
413
- I(y(e.t("showLess")), 1)
414
- ], 64)) : (s(), _($, { key: 0 }, [
415
- I(y(e.t("showMore", { items: e.hiddenItems })), 1)
410
+ default: I(() => [
411
+ e.showAll ? (a(), f(F, { key: 1 }, [
412
+ S(y(e.t("showLess")), 1)
413
+ ], 64)) : (a(), f(F, { key: 0 }, [
414
+ S(y(e.t("showMore", { items: e.hiddenItems })), 1)
416
415
  ], 64))
417
416
  ]),
418
417
  _: 1
419
- }, 8, ["variant"])
418
+ })
420
419
  ])
421
- ])) : h("", !0)
422
- ])) : h("", !0);
420
+ ])) : b("", !0)
421
+ ])) : b("", !0);
423
422
  }
424
- const dt = /* @__PURE__ */ F($e, [["render", Qe], ["__scopeId", "data-v-e71b1cbd"]]);
423
+ const mt = /* @__PURE__ */ B(De, [["render", Pe], ["__scopeId", "data-v-cbd33889"]]);
425
424
  export {
426
- mt as BentoTimeline,
425
+ lt as BentoTimeline,
427
426
  Ce as BentoTimelineGapUnit,
428
- dt as BentoTimelineItem,
429
- T as BentoTimelineItemVariant,
430
- M as BentoTimelineShowMorePlacement
427
+ mt as BentoTimelineItem,
428
+ w as BentoTimelineItemVariant,
429
+ N as BentoTimelineShowMorePlacement
431
430
  };
432
431
  //# sourceMappingURL=timeline.js.map