@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.
- package/dist/@types/components.d.ts +8 -4
- package/dist/@types/packages/core/src/components/button/button.types.d.ts +8 -0
- package/dist/@types/packages/vue2/src/components/accordion/accordion.keys.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/accordion/accordion.types.d.ts +1 -24
- package/dist/@types/packages/vue2/src/components/accordion/accordion.vue.d.ts +17 -57
- package/dist/@types/packages/vue2/src/components/accordion/components/accordion-item.vue.d.ts +27 -29
- package/dist/@types/packages/vue2/src/components/accordion/index.d.ts +2 -3
- package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +0 -4
- package/dist/@types/packages/vue2/src/components/avatar-image/avatar-image.vue.d.ts +1 -4
- package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +136 -128
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +3 -5
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +46 -15
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.types.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +6 -7
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +4 -3
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.types.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +37 -11
- package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/currency/currency.vue.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +3 -22
- 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
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +0 -24
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +277 -16
- package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +2 -5
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +0 -20
- package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +0 -20
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +3 -6
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +164 -104
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-tag/dropdown-tag.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +7 -9
- package/dist/@types/packages/vue2/src/components/empty-state/empty-state.types.d.ts +27 -0
- package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +76 -0
- package/dist/@types/packages/vue2/src/components/empty-state/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +19 -25
- 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
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/base-filter.vue.d.ts +1 -27
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter-button/base-filter-button.vue.d.ts +1 -4
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-filter/date-filter.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +1 -11
- package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/filter-bar-button.vue.d.ts +53 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/filter-bar-button/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/range-filter.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/focus-trap/focus-trap.vue.d.ts +7 -0
- package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/image/const.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/image/image.types.d.ts +19 -0
- package/dist/@types/packages/vue2/src/components/image/image.vue.d.ts +50 -0
- package/dist/@types/packages/vue2/src/components/image/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/info-icon/info-icon.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/input-field/input-field.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +61 -58
- package/dist/@types/packages/vue2/src/components/internal/avatar/avatar.vue.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/internal/base-button/base-button.vue.d.ts +1 -4
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +0 -5
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/copy/copy.vue.d.ts +0 -2
- 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
- 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
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select-option/listbox-single-select-option.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +3 -7
- package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +4 -0
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.vue.d.ts +2 -5
- package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +6 -31
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/__mocks__/base-modal.vue.d.ts +0 -5
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +14 -9
- package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +4 -14
- package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +7 -6
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-context/pagination-context.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-controls/pagination-controls.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-results-per-page/pagination-results-per-page.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/popover/components/popover-title/popover-title.vue.d.ts +1 -2
- package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +5 -14
- package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.vue.d.ts +4 -6
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.types.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +4 -3
- package/dist/@types/packages/vue2/src/components/search-bar/search-bar.vue.d.ts +19 -390
- package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +0 -3
- package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.types.d.ts +3 -1
- package/dist/@types/packages/vue2/src/components/status/status.vue.d.ts +2 -5
- package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +2 -23
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +2 -5
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +2 -5
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +2 -5
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +1 -4
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.types.d.ts +3 -1
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tabs/tabs.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tabs/tabs.types.d.ts +6 -2
- package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +4 -9
- package/dist/@types/packages/vue2/src/components/tag/tag.vue.d.ts +6 -9
- package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +6 -10
- package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +4 -10
- package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/toast/components/toast-item/toast-item.vue.d.ts +0 -5
- package/dist/@types/packages/vue2/src/components/toggle/toggle.vue.d.ts +4 -6
- package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +24 -40
- package/dist/@types/packages/vue2/src/composables/use-default-slot-validator/use-default-slot-validator.d.ts +2 -1
- package/dist/@types/packages/vue2/src/composables/use-has-slot/use-has-slot.d.ts +8 -1
- package/dist/@types/packages/vue2/src/index.d.ts +3 -0
- package/dist/@types/packages/vue2/src/templates/data-grid-template/data-grid-template.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/utils/ts/get-slot-text/get-slot-text.d.ts +1 -1
- package/dist/@types/packages/vue2/src/utils/ts/print-development-warning.d.ts +1 -0
- package/dist/accordion.js +104 -254
- package/dist/accordion.js.map +1 -1
- package/dist/alert.js +61 -64
- package/dist/alert.js.map +1 -1
- package/dist/assets/base-button.css +1 -1
- package/dist/assets/base-modal.css +1 -0
- package/dist/assets/button.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/chevron-up.css +1 -0
- package/dist/assets/controls-group.css +1 -1
- package/dist/assets/copy.css +1 -1
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/error-message.css +1 -1
- package/dist/assets/footer-actions.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index21.css +1 -1
- package/dist/assets/index22.css +1 -1
- package/dist/assets/index24.css +1 -1
- package/dist/assets/index25.css +1 -1
- package/dist/assets/index26.css +1 -1
- package/dist/assets/index27.css +1 -1
- package/dist/assets/index28.css +1 -1
- package/dist/assets/index29.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index30.css +1 -1
- package/dist/assets/index31.css +1 -1
- package/dist/assets/index32.css +1 -1
- package/dist/assets/index33.css +1 -1
- package/dist/assets/index34.css +1 -1
- package/dist/assets/index35.css +1 -1
- package/dist/assets/index36.css +1 -1
- package/dist/assets/index37.css +1 -1
- package/dist/assets/index38.css +1 -1
- package/dist/assets/index39.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index40.css +1 -1
- package/dist/assets/index41.css +1 -1
- package/dist/assets/index42.css +1 -1
- package/dist/assets/index43.css +1 -0
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/listbox-option-tag.css +1 -1
- package/dist/assets/listbox.css +1 -1
- package/dist/assets/loading-button.css +1 -1
- package/dist/assets/tooltip.css +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/badge.js +2 -2
- package/dist/button.js +143 -12
- package/dist/button.js.map +1 -1
- package/dist/card.js +99 -94
- package/dist/card.js.map +1 -1
- package/dist/checkbox.js +40 -39
- package/dist/checkbox.js.map +1 -1
- package/dist/chunks/base-button.6d2843c2.js +108 -0
- package/dist/chunks/base-button.6d2843c2.js.map +1 -0
- package/dist/chunks/base-modal.3ccb9eb5.js +291 -0
- package/dist/chunks/base-modal.3ccb9eb5.js.map +1 -0
- package/dist/chunks/{button.e1c39f66.js → button.a8462029.js} +39 -42
- package/dist/chunks/button.a8462029.js.map +1 -0
- package/dist/chunks/{calendar.09b683b3.js → calendar.3f930683.js} +237 -240
- package/dist/chunks/calendar.3f930683.js.map +1 -0
- package/dist/chunks/checkbox.5e1e05ae.js +235 -0
- package/dist/chunks/checkbox.5e1e05ae.js.map +1 -0
- package/dist/chunks/{chevron-down.69bedf14.js → chevron-up.c03b58f8.js} +8 -8
- package/dist/chunks/chevron-up.c03b58f8.js.map +1 -0
- package/dist/chunks/controls-group.3b0dfb94.js +136 -0
- package/dist/chunks/controls-group.3b0dfb94.js.map +1 -0
- package/dist/chunks/{copy.2cf5e6c3.js → copy.1d14b783.js} +49 -50
- package/dist/chunks/copy.1d14b783.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.203e747f.js → dropdown-default-textbox.a90e84f9.js} +88 -90
- package/dist/chunks/dropdown-default-textbox.a90e84f9.js.map +1 -0
- package/dist/chunks/{dropdown.8b415aac.js → dropdown.b798a82e.js} +348 -330
- package/dist/chunks/dropdown.b798a82e.js.map +1 -0
- package/dist/chunks/{error-message.ddfe8ea5.js → error-message.9acead25.js} +16 -16
- package/dist/chunks/error-message.9acead25.js.map +1 -0
- package/dist/chunks/footer-actions.9537d0df.js +111 -0
- package/dist/chunks/footer-actions.9537d0df.js.map +1 -0
- package/dist/chunks/get-slot-text.bead058f.js +9 -0
- package/dist/chunks/get-slot-text.bead058f.js.map +1 -0
- package/dist/chunks/{grid-layout.a30855ff.js → grid-layout.984317d7.js} +2 -2
- package/dist/chunks/{grid-layout.a30855ff.js.map → grid-layout.984317d7.js.map} +1 -1
- package/dist/chunks/index.228ecda0.js +101 -0
- package/dist/chunks/index.228ecda0.js.map +1 -0
- package/dist/chunks/index.89b00b94.js +124 -0
- package/dist/chunks/index.89b00b94.js.map +1 -0
- package/dist/chunks/{index.3da90517.js → index.9d8273fc.js} +38 -40
- package/dist/chunks/index.9d8273fc.js.map +1 -0
- package/dist/chunks/{index.c9225c3b.js → index.c2a80208.js} +195 -201
- package/dist/chunks/index.c2a80208.js.map +1 -0
- package/dist/chunks/{index.13949709.js → index.d26fdf71.js} +116 -113
- package/dist/chunks/{index.13949709.js.map → index.d26fdf71.js.map} +1 -1
- package/dist/chunks/{index.d27367cd.js → index.e84dbeae.js} +80 -83
- package/dist/chunks/{index.d27367cd.js.map → index.e84dbeae.js.map} +1 -1
- package/dist/chunks/listbox-option-tag.0c9c571e.js +129 -0
- package/dist/chunks/listbox-option-tag.0c9c571e.js.map +1 -0
- package/dist/chunks/{listbox.0c7c4e5e.js → listbox.6b52af1a.js} +315 -334
- package/dist/chunks/listbox.6b52af1a.js.map +1 -0
- package/dist/chunks/{loading-button.61d8ebe5.js → loading-button.081adbf3.js} +33 -33
- package/dist/chunks/loading-button.081adbf3.js.map +1 -0
- package/dist/chunks/tabs.keys.358742f2.js +7 -0
- package/dist/chunks/tabs.keys.358742f2.js.map +1 -0
- package/dist/chunks/{tooltip.835d9b52.js → tooltip.e4e34b86.js} +56 -59
- package/dist/chunks/tooltip.e4e34b86.js.map +1 -0
- package/dist/chunks/use-default-slot-validator.1169c221.js +16 -0
- package/dist/chunks/use-default-slot-validator.1169c221.js.map +1 -0
- package/dist/chunks/use-has-slot.9fac7123.js +16 -0
- package/dist/chunks/use-has-slot.9fac7123.js.map +1 -0
- package/dist/code-snippet.js +548 -463
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +501 -505
- package/dist/country.js.map +1 -1
- package/dist/currency.js +38 -41
- package/dist/currency.js.map +1 -1
- package/dist/data-grid.js +837 -833
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +83 -87
- package/dist/date-picker.js.map +1 -1
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/dropdown.js +30 -32
- package/dist/dropdown.js.map +1 -1
- package/dist/empty-state.js +166 -0
- package/dist/empty-state.js.map +1 -0
- package/dist/filter-bar.js +986 -935
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +72 -72
- package/dist/form-layout.js.map +1 -1
- package/dist/header.js +50 -52
- package/dist/header.js.map +1 -1
- package/dist/image.js +76 -0
- package/dist/image.js.map +1 -0
- package/dist/index.js +239 -232
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +2 -2
- package/dist/input-field.js +241 -269
- package/dist/input-field.js.map +1 -1
- package/dist/internal.js +7 -7
- package/dist/link.js +38 -36
- package/dist/link.js.map +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +131 -139
- package/dist/menu.js.map +1 -1
- package/dist/modal.js +121 -356
- package/dist/modal.js.map +1 -1
- package/dist/pagination.js +182 -185
- package/dist/pagination.js.map +1 -1
- package/dist/payment-method.js +19 -23
- package/dist/payment-method.js.map +1 -1
- package/dist/popover.js +56 -52
- package/dist/popover.js.map +1 -1
- package/dist/popper-container.js +36 -41
- package/dist/popper-container.js.map +1 -1
- package/dist/radio-group.js +112 -113
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +77 -91
- package/dist/search-bar.js.map +1 -1
- package/dist/segmented-control.js +88 -75
- package/dist/segmented-control.js.map +1 -1
- package/dist/sidepanel.js +122 -121
- package/dist/sidepanel.js.map +1 -1
- package/dist/status.js +18 -21
- package/dist/status.js.map +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +129 -162
- package/dist/summary-grid.js.map +1 -1
- package/dist/tabs.js +83 -75
- package/dist/tabs.js.map +1 -1
- package/dist/tag.js +32 -35
- package/dist/tag.js.map +1 -1
- package/dist/textarea.js +156 -155
- package/dist/textarea.js.map +1 -1
- package/dist/timeline.js +212 -213
- package/dist/timeline.js.map +1 -1
- package/dist/toast.js +68 -72
- package/dist/toast.js.map +1 -1
- package/dist/toggle.js +75 -73
- package/dist/toggle.js.map +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +11 -10
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateBodyFitContentDynamicStyles/useCalculateBodyFitContentDynamicStyles.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateBodyFitContentDynamicStyles/useCalculateBodyFitContentDynamicStyles.types.d.ts +0 -8
- 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
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/components/index.d.ts +0 -1
- package/dist/assets/button-actions.css +0 -1
- package/dist/assets/chevron-down.css +0 -1
- package/dist/chunks/base-button.20be08da.js +0 -111
- package/dist/chunks/base-button.20be08da.js.map +0 -1
- package/dist/chunks/button-actions.54e28e75.js +0 -124
- package/dist/chunks/button-actions.54e28e75.js.map +0 -1
- package/dist/chunks/button.e1c39f66.js.map +0 -1
- package/dist/chunks/calendar.09b683b3.js.map +0 -1
- package/dist/chunks/checkbox.a404069b.js +0 -226
- package/dist/chunks/checkbox.a404069b.js.map +0 -1
- package/dist/chunks/chevron-down.69bedf14.js.map +0 -1
- package/dist/chunks/controls-group.60fb2a86.js +0 -136
- package/dist/chunks/controls-group.60fb2a86.js.map +0 -1
- package/dist/chunks/copy.2cf5e6c3.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.203e747f.js.map +0 -1
- package/dist/chunks/dropdown.8b415aac.js.map +0 -1
- package/dist/chunks/error-message.ddfe8ea5.js.map +0 -1
- package/dist/chunks/footer-actions.0f640f87.js +0 -106
- package/dist/chunks/footer-actions.0f640f87.js.map +0 -1
- package/dist/chunks/get-slot-text.2db867f8.js +0 -9
- package/dist/chunks/get-slot-text.2db867f8.js.map +0 -1
- package/dist/chunks/index.222d29b0.js +0 -120
- package/dist/chunks/index.222d29b0.js.map +0 -1
- package/dist/chunks/index.3da90517.js.map +0 -1
- package/dist/chunks/index.aa34e363.js +0 -104
- package/dist/chunks/index.aa34e363.js.map +0 -1
- package/dist/chunks/index.c9225c3b.js.map +0 -1
- package/dist/chunks/listbox-option-tag.5ae8b79b.js +0 -133
- package/dist/chunks/listbox-option-tag.5ae8b79b.js.map +0 -1
- package/dist/chunks/listbox.0c7c4e5e.js.map +0 -1
- package/dist/chunks/loading-button.61d8ebe5.js.map +0 -1
- package/dist/chunks/tooltip.835d9b52.js.map +0 -1
- package/dist/chunks/use-default-slot-validator.83d977a1.js +0 -11
- package/dist/chunks/use-default-slot-validator.83d977a1.js.map +0 -1
- package/dist/chunks/use-has-slot.068222e6.js +0 -5
- package/dist/chunks/use-has-slot.068222e6.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,66 +1,68 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var f = (t, e, r) => (
|
|
4
|
-
import { reactive as
|
|
5
|
-
import { g as
|
|
6
|
-
import { BentoAlert as
|
|
7
|
-
import {
|
|
8
|
-
import { BentoCard as
|
|
9
|
-
import { BentoColumnOverflow as
|
|
10
|
-
import { BentoDatePicker as
|
|
11
|
-
import { B as
|
|
12
|
-
import { B as
|
|
13
|
-
import { BentoDropdownAvatar as
|
|
14
|
-
import { BentoDivider as
|
|
15
|
-
import { B as
|
|
16
|
-
import { BentoClickOutside as
|
|
17
|
-
import { BentoCodeSnippet as
|
|
18
|
-
import { BentoCountry as
|
|
19
|
-
import { BentoCurrency as
|
|
20
|
-
import { B as
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import { B as Zo
|
|
53
|
-
import { B as
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import "
|
|
60
|
-
|
|
1
|
+
var h = Object.defineProperty;
|
|
2
|
+
var C = (t, e, r) => e in t ? h(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
|
|
3
|
+
var f = (t, e, r) => (C(t, typeof e != "symbol" ? e + "" : e, r), r);
|
|
4
|
+
import { reactive as S, defineComponent as b, computed as k, openBlock as a, createElementBlock as v, mergeProps as s, unref as m, createBlock as l, withCtx as p, renderSlot as i, createElementVNode as D } from "vue";
|
|
5
|
+
import { g as E } from "./chunks/unique-id.a2a2b458.js";
|
|
6
|
+
import { BentoAlert as K, BentoAlertEvent as Q, BentoAlertTypeOption as W, BentoAlertVariant as H } from "./alert.js";
|
|
7
|
+
import { a as J, b as X, B as Y } from "./chunks/button.a8462029.js";
|
|
8
|
+
import { BentoCard as ee, BentoCardBackground as te, BentoCardTitleSize as oe } from "./card.js";
|
|
9
|
+
import { BentoColumnOverflow as ne, BentoDataGrid as ae, BentoDatagridAriaSortValue as ie, BentoDatagridEvent as Be, BentoDatagridSortDirection as se, BentoDatagridStyleState as me } from "./data-grid.js";
|
|
10
|
+
import { BentoDatePicker as pe, BentoDatePickerEvent as de } from "./date-picker.js";
|
|
11
|
+
import { B as fe, a as ce } from "./chunks/index.c2a80208.js";
|
|
12
|
+
import { B as xe, u as ge } from "./chunks/dropdown.b798a82e.js";
|
|
13
|
+
import { BentoDropdownAvatar as he, BentoDropdownCountry as Ce, BentoDropdownCurrency as Se, BentoDropdownPaymentMethod as be, BentoDropdownTag as ke } from "./dropdown.js";
|
|
14
|
+
import { BentoDivider as De } from "./divider.js";
|
|
15
|
+
import { B as Ie, b as Le, a as Pe } from "./chunks/checkbox.5e1e05ae.js";
|
|
16
|
+
import { BentoClickOutside as Fe } from "./click-outside.js";
|
|
17
|
+
import { BentoCodeSnippet as we, BentoCodeSnippetEvent as Ge, BentoCodeSnippetSupportedLanguage as Me, BentoCodeSnippetVariant as Ae } from "./code-snippet.js";
|
|
18
|
+
import { BentoCountry as Oe, BentoCountryCode as Re, BentoCountryVariant as Ue, useCountryCapital as Ne, useCountryName as qe, useCountryPhoneCode as ze } from "./country.js";
|
|
19
|
+
import { BentoCurrency as Qe, BentoCurrencyISOCode as We } from "./currency.js";
|
|
20
|
+
import { B as je, a as Je } from "./chunks/index.e84dbeae.js";
|
|
21
|
+
import { BentoEmptyState as Ye, BentoEmptyStateImage as Ze, BentoEmptyStateImageVariant as et, BentoEmptyStateVariant as tt } from "./empty-state.js";
|
|
22
|
+
import { BentoFilterBar as rt, BentoFilterBarEvent as nt, BentoFilterEvent as at, BentoFilterItemType as it } from "./filter-bar.js";
|
|
23
|
+
import { BentoFormLayout as st, BentoFormLayoutFieldTip as mt, BentoFormLayoutGroup as lt, BentoFormLayoutTitle as pt } from "./form-layout.js";
|
|
24
|
+
import { BentoInfoIcon as ut } from "./info-icon.js";
|
|
25
|
+
import { BentoInputField as ct, BentoInputFieldElementPosition as yt, BentoInputFieldEvent as xt, BentoInputFieldStateClass as gt, BentoInputFieldType as Tt, BentoInputFieldVariant as ht } from "./input-field.js";
|
|
26
|
+
import { BentoLoadingIndicator as St, BentoLoadingIndicatorEvent as bt } from "./loading-indicator.js";
|
|
27
|
+
import { BentoMenu as vt, BentoMenuEvent as Dt } from "./menu.js";
|
|
28
|
+
import { BentoModal as It } from "./modal.js";
|
|
29
|
+
import { b as Pt, d as _t, e as Ft, c as Vt, a as wt, B as Gt } from "./chunks/base-modal.3ccb9eb5.js";
|
|
30
|
+
import { BentoHeader as At } from "./header.js";
|
|
31
|
+
import { BentoPagination as Ot } from "./pagination.js";
|
|
32
|
+
import { BentoPaymentMethod as Ut, BentoPaymentMethodType as Nt } from "./payment-method.js";
|
|
33
|
+
import { BentoPopover as zt, BentoPopoverPositions as Kt } from "./popover.js";
|
|
34
|
+
import { BentoRadioGroup as Wt, BentoRadioGroupVariant as Ht } from "./radio-group.js";
|
|
35
|
+
import { BentoSearchBar as Jt, BentoSearchBarEvent as Xt, BentoSearchBarInternalEvent as Yt } from "./search-bar.js";
|
|
36
|
+
import { BentoSegmentedControl as eo, BentoSegmentedControlEvent as to } from "./segmented-control.js";
|
|
37
|
+
import { BentoStatus as ro, BentoStatusVariant as no } from "./status.js";
|
|
38
|
+
import { B as io, a as Bo } from "./chunks/index.9d8273fc.js";
|
|
39
|
+
import { BentoSummaryGrid as mo, BentoSummaryGridItemAmount as lo, BentoSummaryGridItemCustom as po, BentoSummaryGridItemNumeric as uo, BentoSummaryGridItemPercentage as fo, BentoSummaryGridItemSize as co, BentoSummaryGridItemText as yo, BentoSummaryGridItemTrendDirection as xo } from "./summary-grid.js";
|
|
40
|
+
import { BentoTab as To, BentoTabs as ho } from "./tabs.js";
|
|
41
|
+
import { BentoTag as So, BentoTagVariant as bo } from "./tag.js";
|
|
42
|
+
import { BentoTextarea as vo } from "./textarea.js";
|
|
43
|
+
import { BentoTimeline as Eo, BentoTimelineGapUnit as Io, BentoTimelineItem as Lo, BentoTimelineItemVariant as Po, BentoTimelineShowMorePlacement as _o } from "./timeline.js";
|
|
44
|
+
import { BentoToast as Vo } from "./toast.js";
|
|
45
|
+
import { u as Go } from "./chunks/toastController.0b01d2e8.js";
|
|
46
|
+
import { BentoToggle as Ao, BentoToggleLabelPosition as $o, BentoTogglePropClass as Oo } from "./toggle.js";
|
|
47
|
+
import { B as c } from "./chunks/index.89b00b94.js";
|
|
48
|
+
import { c as Uo, b as No, a as qo } from "./chunks/index.89b00b94.js";
|
|
49
|
+
import { D as Ko } from "./chunks/date-input.9186a0bf.js";
|
|
50
|
+
import { a as Wo, B as Ho } from "./chunks/debounce.f8d92e44.js";
|
|
51
|
+
import { a as Jo, b as Xo } from "./chunks/listbox.6b52af1a.js";
|
|
52
|
+
import { B as Zo } from "./chunks/directive.0408e565.js";
|
|
53
|
+
import { b as tr, B as or, a as rr } from "./chunks/tooltip.e4e34b86.js";
|
|
54
|
+
import { BentoButtonActions as ar, BentoButtonActionsLayout as ir, BentoButtonActionsLayoutBasic as Br, BentoButtonActionsLayoutExtended as sr } from "./button.js";
|
|
55
|
+
import { B as lr, a as pr } from "./chunks/loading-button.081adbf3.js";
|
|
56
|
+
import { b as ur, b as fr } from "./chunks/calendar.3f930683.js";
|
|
57
|
+
import { BentoCheckboxGroup as yr, BentoCheckboxGroupVariant as xr } from "./checkbox.js";
|
|
58
|
+
import { BentoLinkVariant as d } from "./link.js";
|
|
59
|
+
import { RouterLink as y } from "vue-router";
|
|
60
|
+
import { _ as I } from "./chunks/_plugin-vue_export-helper.dad06003.js";
|
|
61
|
+
import "./assets/index.css";
|
|
62
|
+
class L {
|
|
61
63
|
constructor() {
|
|
62
64
|
f(this, "_state");
|
|
63
|
-
this._state =
|
|
65
|
+
this._state = S({ queue: [] });
|
|
64
66
|
}
|
|
65
67
|
get state() {
|
|
66
68
|
return this._state;
|
|
@@ -69,34 +71,34 @@ class _ {
|
|
|
69
71
|
this._state.queue.splice(this._state.queue.indexOf(e), 1);
|
|
70
72
|
}
|
|
71
73
|
addToast(e) {
|
|
72
|
-
const r =
|
|
74
|
+
const r = E("toast"), n = {
|
|
73
75
|
...e,
|
|
74
76
|
id: r,
|
|
75
|
-
dismiss: () => this.dismissToast(
|
|
77
|
+
dismiss: () => this.dismissToast(n)
|
|
76
78
|
};
|
|
77
|
-
return this._state.queue.push(
|
|
78
|
-
dismiss: () => this.dismissToast(
|
|
79
|
+
return this._state.queue.push(n), {
|
|
80
|
+
dismiss: () => this.dismissToast(n)
|
|
79
81
|
};
|
|
80
82
|
}
|
|
81
83
|
}
|
|
82
|
-
const
|
|
84
|
+
const x = (t) => {
|
|
83
85
|
document.body.classList.add(t);
|
|
84
|
-
},
|
|
86
|
+
}, R = {
|
|
85
87
|
install: async (t, e) => {
|
|
86
|
-
e != null && e.withToast && (t.config.globalProperties.$bentoToastController = new
|
|
88
|
+
e != null && e.withToast && (t.config.globalProperties.$bentoToastController = new L()), (e == null ? void 0 : e.theme) === "b-legacy-theme" ? (x(
|
|
87
89
|
"b-legacy-theme"
|
|
88
90
|
/* LEGACY */
|
|
89
|
-
), await import("@adyen/bento-design-tokens/dist/css/bento/variables-legacy.css?used")) : (e == null ? void 0 : e.theme) === "b-styleguide-theme" ? (
|
|
91
|
+
), await import("@adyen/bento-design-tokens/dist/css/bento/variables-legacy.css?used")) : (e == null ? void 0 : e.theme) === "b-styleguide-theme" ? (x(
|
|
90
92
|
"b-styleguide-theme"
|
|
91
93
|
/* STYLEGUIDE */
|
|
92
94
|
), await import("@adyen/bento-design-tokens/dist/css/bento/variables-styleguide.css?used")) : await import("@adyen/bento-design-tokens/dist/css/bento/variables.css?used"), e != null && e.withUtilityClasses && await import("@adyen/bento-design-tokens/dist/css/bento/utility.css?used");
|
|
93
95
|
}
|
|
94
|
-
},
|
|
96
|
+
}, P = ["href"], _ = ["href", "onClick"], F = /* @__PURE__ */ b({
|
|
95
97
|
__name: "link",
|
|
96
98
|
props: {
|
|
97
99
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
98
100
|
// @ts-ignore
|
|
99
|
-
...
|
|
101
|
+
...y.props,
|
|
100
102
|
/**
|
|
101
103
|
* Set the rendered link to a regular external anchor link.
|
|
102
104
|
*/
|
|
@@ -109,195 +111,200 @@ const T = (t) => {
|
|
|
109
111
|
* Link variant type affecting visual style.
|
|
110
112
|
* @values default, quiet
|
|
111
113
|
*/
|
|
112
|
-
variant: { type: String, default:
|
|
114
|
+
variant: { type: String, default: d.DEFAULT }
|
|
113
115
|
},
|
|
114
116
|
emits: ["click"],
|
|
115
117
|
setup(t, { emit: e }) {
|
|
116
|
-
const r = t,
|
|
117
|
-
[`b-link--${
|
|
118
|
-
})), u = (o,
|
|
119
|
-
e("click", o),
|
|
118
|
+
const r = t, n = k(() => ({
|
|
119
|
+
[`b-link--${d.QUIET}`]: r.variant === d.QUIET
|
|
120
|
+
})), u = (o, B) => {
|
|
121
|
+
e("click", o), B && B();
|
|
120
122
|
};
|
|
121
|
-
return (o,
|
|
123
|
+
return (o, B) => t.external ? (a(), v("a", s({ key: 0 }, o.$attrs, {
|
|
122
124
|
href: o.to,
|
|
123
125
|
target: "_blank",
|
|
124
|
-
class: ["b-link", n
|
|
126
|
+
class: ["b-link", m(n)],
|
|
125
127
|
onClick: u
|
|
126
128
|
}), [
|
|
127
|
-
t.disableTypography ?
|
|
129
|
+
t.disableTypography ? i(o.$slots, "default", { key: 1 }, void 0, !0) : (a(), l(c, {
|
|
128
130
|
key: 0,
|
|
129
|
-
el:
|
|
130
|
-
variant:
|
|
131
|
+
el: "span",
|
|
132
|
+
variant: "body"
|
|
131
133
|
}, {
|
|
132
|
-
default:
|
|
133
|
-
|
|
134
|
+
default: p(() => [
|
|
135
|
+
i(o.$slots, "default", {}, void 0, !0)
|
|
134
136
|
]),
|
|
135
137
|
_: 3
|
|
136
|
-
}
|
|
137
|
-
], 16,
|
|
138
|
+
}))
|
|
139
|
+
], 16, P)) : (a(), l(m(y), s({ key: 1 }, o.$props, {
|
|
138
140
|
custom: "",
|
|
139
141
|
onClick: u
|
|
140
142
|
}), {
|
|
141
|
-
default:
|
|
142
|
-
|
|
143
|
-
href:
|
|
144
|
-
class: ["b-link", n
|
|
145
|
-
onClick:
|
|
143
|
+
default: p(({ href: g, navigate: T }) => [
|
|
144
|
+
D("a", s(o.$attrs, {
|
|
145
|
+
href: g,
|
|
146
|
+
class: ["b-link", m(n)],
|
|
147
|
+
onClick: T
|
|
146
148
|
}), [
|
|
147
|
-
t.disableTypography ?
|
|
149
|
+
t.disableTypography ? i(o.$slots, "default", { key: 1 }, void 0, !0) : (a(), l(c, {
|
|
148
150
|
key: 0,
|
|
149
|
-
el:
|
|
150
|
-
variant:
|
|
151
|
+
el: "span",
|
|
152
|
+
variant: "body"
|
|
151
153
|
}, {
|
|
152
|
-
default:
|
|
153
|
-
|
|
154
|
+
default: p(() => [
|
|
155
|
+
i(o.$slots, "default", {}, void 0, !0)
|
|
154
156
|
]),
|
|
155
157
|
_: 3
|
|
156
|
-
}
|
|
157
|
-
], 16,
|
|
158
|
+
}))
|
|
159
|
+
], 16, _)
|
|
158
160
|
]),
|
|
159
161
|
_: 3
|
|
160
162
|
}, 16));
|
|
161
163
|
}
|
|
162
164
|
});
|
|
163
|
-
const
|
|
165
|
+
const U = /* @__PURE__ */ I(F, [["__scopeId", "data-v-bdaab366"]]);
|
|
164
166
|
export {
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
167
|
+
K as BentoAlert,
|
|
168
|
+
Q as BentoAlertEvent,
|
|
169
|
+
W as BentoAlertTypeOption,
|
|
170
|
+
H as BentoAlertVariant,
|
|
171
|
+
J as BentoButton,
|
|
172
|
+
ar as BentoButtonActions,
|
|
173
|
+
ir as BentoButtonActionsLayout,
|
|
174
|
+
Br as BentoButtonActionsLayoutBasic,
|
|
175
|
+
sr as BentoButtonActionsLayoutExtended,
|
|
176
|
+
X as BentoButtonPropClass,
|
|
177
|
+
Y as BentoButtonVariant,
|
|
178
|
+
ee as BentoCard,
|
|
179
|
+
te as BentoCardBackground,
|
|
180
|
+
oe as BentoCardTitleSize,
|
|
181
|
+
Ie as BentoCheckbox,
|
|
182
|
+
Le as BentoCheckboxEvent,
|
|
183
|
+
yr as BentoCheckboxGroup,
|
|
184
|
+
xr as BentoCheckboxGroupVariant,
|
|
185
|
+
Pe as BentoCheckboxState,
|
|
186
|
+
Fe as BentoClickOutside,
|
|
187
|
+
Zo as BentoClickOutsideDirective,
|
|
188
|
+
we as BentoCodeSnippet,
|
|
189
|
+
Ge as BentoCodeSnippetEvent,
|
|
190
|
+
Me as BentoCodeSnippetSupportedLanguage,
|
|
191
|
+
Ae as BentoCodeSnippetVariant,
|
|
192
|
+
ne as BentoColumnOverflow,
|
|
193
|
+
Oe as BentoCountry,
|
|
194
|
+
Re as BentoCountryCode,
|
|
195
|
+
Ue as BentoCountryVariant,
|
|
196
|
+
Qe as BentoCurrency,
|
|
197
|
+
We as BentoCurrencyISOCode,
|
|
198
|
+
ae as BentoDataGrid,
|
|
199
|
+
ie as BentoDatagridAriaSortValue,
|
|
200
|
+
Be as BentoDatagridEvent,
|
|
201
|
+
se as BentoDatagridSortDirection,
|
|
202
|
+
me as BentoDatagridStyleState,
|
|
203
|
+
je as BentoDate,
|
|
204
|
+
Je as BentoDateFormat,
|
|
205
|
+
pe as BentoDatePicker,
|
|
206
|
+
de as BentoDatePickerEvent,
|
|
207
|
+
ur as BentoDatePickerFirstDayOfWeek,
|
|
208
|
+
fe as BentoDateRangePicker,
|
|
209
|
+
ce as BentoDateRangePickerEvent,
|
|
210
|
+
fr as BentoDateRangePickerFirstDayOfWeek,
|
|
211
|
+
De as BentoDivider,
|
|
212
|
+
xe as BentoDropdown,
|
|
213
|
+
he as BentoDropdownAvatar,
|
|
214
|
+
Ce as BentoDropdownCountry,
|
|
215
|
+
Se as BentoDropdownCurrency,
|
|
214
216
|
be as BentoDropdownPaymentMethod,
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
217
|
+
ke as BentoDropdownTag,
|
|
218
|
+
Ye as BentoEmptyState,
|
|
219
|
+
Ze as BentoEmptyStateImage,
|
|
220
|
+
et as BentoEmptyStateImageVariant,
|
|
221
|
+
tt as BentoEmptyStateVariant,
|
|
222
|
+
rt as BentoFilterBar,
|
|
223
|
+
nt as BentoFilterBarEvent,
|
|
224
|
+
at as BentoFilterEvent,
|
|
225
|
+
it as BentoFilterItemType,
|
|
226
|
+
st as BentoFormLayout,
|
|
227
|
+
mt as BentoFormLayoutFieldTip,
|
|
228
|
+
lt as BentoFormLayoutGroup,
|
|
229
|
+
pt as BentoFormLayoutTitle,
|
|
230
|
+
At as BentoHeader,
|
|
231
|
+
ut as BentoInfoIcon,
|
|
232
|
+
ct as BentoInputField,
|
|
233
|
+
yt as BentoInputFieldElementPosition,
|
|
234
|
+
xt as BentoInputFieldEvent,
|
|
235
|
+
gt as BentoInputFieldStateClass,
|
|
236
|
+
Tt as BentoInputFieldType,
|
|
237
|
+
ht as BentoInputFieldVariant,
|
|
238
|
+
Wo as BentoKeyboardNavigationDirective,
|
|
239
|
+
Ho as BentoKeyboardNavigationKeyDownEvent,
|
|
240
|
+
U as BentoLink,
|
|
241
|
+
d as BentoLinkVariant,
|
|
242
|
+
Jo as BentoListboxEvent,
|
|
243
|
+
Xo as BentoListboxLazyLoadType,
|
|
244
|
+
lr as BentoLoadingButton,
|
|
245
|
+
pr as BentoLoadingButtonState,
|
|
246
|
+
St as BentoLoadingIndicator,
|
|
247
|
+
bt as BentoLoadingIndicatorEvent,
|
|
248
|
+
vt as BentoMenu,
|
|
249
|
+
Dt as BentoMenuEvent,
|
|
250
|
+
It as BentoModal,
|
|
251
|
+
Pt as BentoModalColumnLayoutVariant,
|
|
252
|
+
_t as BentoModalDialogType,
|
|
253
|
+
Ft as BentoModalEvent,
|
|
254
|
+
Vt as BentoModalRole,
|
|
255
|
+
wt as BentoModalSize,
|
|
256
|
+
Gt as BentoModalVariant,
|
|
257
|
+
Ot as BentoPagination,
|
|
258
|
+
Ut as BentoPaymentMethod,
|
|
259
|
+
Nt as BentoPaymentMethodType,
|
|
260
|
+
zt as BentoPopover,
|
|
261
|
+
Kt as BentoPopoverPositions,
|
|
262
|
+
Wt as BentoRadioGroup,
|
|
263
|
+
Ht as BentoRadioGroupVariant,
|
|
264
|
+
Jt as BentoSearchBar,
|
|
265
|
+
Xt as BentoSearchBarEvent,
|
|
259
266
|
Yt as BentoSearchBarInternalEvent,
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
267
|
+
eo as BentoSegmentedControl,
|
|
268
|
+
to as BentoSegmentedControlEvent,
|
|
269
|
+
ro as BentoStatus,
|
|
270
|
+
no as BentoStatusVariant,
|
|
271
|
+
io as BentoStructuredList,
|
|
272
|
+
Bo as BentoStructuredListItem,
|
|
273
|
+
mo as BentoSummaryGrid,
|
|
274
|
+
lo as BentoSummaryGridItemAmount,
|
|
275
|
+
po as BentoSummaryGridItemCustom,
|
|
276
|
+
uo as BentoSummaryGridItemNumeric,
|
|
277
|
+
fo as BentoSummaryGridItemPercentage,
|
|
278
|
+
co as BentoSummaryGridItemSize,
|
|
279
|
+
yo as BentoSummaryGridItemText,
|
|
280
|
+
xo as BentoSummaryGridItemTrendDirection,
|
|
281
|
+
To as BentoTab,
|
|
282
|
+
ho as BentoTabs,
|
|
283
|
+
So as BentoTag,
|
|
284
|
+
bo as BentoTagVariant,
|
|
285
|
+
vo as BentoTextarea,
|
|
286
|
+
Eo as BentoTimeline,
|
|
287
|
+
Io as BentoTimelineGapUnit,
|
|
288
|
+
Lo as BentoTimelineItem,
|
|
289
|
+
Po as BentoTimelineItemVariant,
|
|
290
|
+
_o as BentoTimelineShowMorePlacement,
|
|
291
|
+
Vo as BentoToast,
|
|
292
|
+
Ao as BentoToggle,
|
|
293
|
+
$o as BentoToggleLabelPosition,
|
|
294
|
+
Oo as BentoTogglePropClass,
|
|
295
|
+
tr as BentoTooltipDirective,
|
|
296
|
+
or as BentoTooltipPosition,
|
|
297
|
+
rr as BentoTooltipState,
|
|
291
298
|
c as BentoTypography,
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
299
|
+
Uo as BentoTypographyElement,
|
|
300
|
+
No as BentoTypographyModifier,
|
|
301
|
+
qo as BentoTypographyVariant,
|
|
302
|
+
Ko as DateFormat,
|
|
303
|
+
R as default,
|
|
304
|
+
Go as useBentoToastController,
|
|
305
|
+
Ne as useCountryCapital,
|
|
306
|
+
qe as useCountryName,
|
|
307
|
+
ze as useCountryPhoneCode,
|
|
308
|
+
ge as useSearchBarFilter
|
|
302
309
|
};
|
|
303
310
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../vue2/src/plugins/toastController.ts","../../vue2/src/install.ts","../src/components/link/link.vue"],"sourcesContent":["import { reactive } from 'vue';\nimport { generateUid } from '@/utils/ts/unique-id';\nimport { BentoToastItem } from '@/components/toast/components/toast-item';\n\n/* eslint-disable no-underscore-dangle */\nexport default class ToastController {\n get state(): { queue: Array<BentoToastItem> } {\n return this._state;\n }\n\n private _state: { queue: Array<BentoToastItem> };\n\n constructor() {\n this._state = reactive({ queue: [] });\n }\n\n private dismissToast(toast: BentoToastItem): void {\n this._state.queue.splice(this._state.queue.indexOf(toast), 1);\n }\n\n public addToast(params: BentoToastItem) {\n const id = generateUid('toast');\n const toast = {\n ...params,\n id,\n dismiss: () => this.dismissToast(toast),\n };\n\n // new messages always appear in front\n this._state.queue.push(toast);\n\n // return API to manipulate toast\n return {\n dismiss: () => this.dismissToast(toast),\n };\n }\n}\n/* eslint-enable no-underscore-dangle */\n","import type { PluginObject } from 'vue';\nimport { isVue2 } from 'vue-demi';\nimport ToastController from './plugins/toastController';\n\nexport enum BentoTheme {\n LEGACY = 'b-legacy-theme',\n STYLEGUIDE = 'b-styleguide-theme',\n BENTO = '',\n}\n\ninterface BentoVuePlugin {\n theme: BentoTheme;\n withToast: boolean;\n}\n\nconst setTheme = (theme: BentoTheme) => {\n document.body.classList.add(theme);\n};\n\nconst plugin: PluginObject<BentoVuePlugin> = {\n install: async (Vue, options: { theme: BentoTheme; withToast: boolean; withUtilityClasses: boolean }) => {\n if (options?.withToast) {\n if (isVue2) {\n // Adds a new property to the Vue instance\n // eslint-disable-next-line no-param-reassign\n (Vue as any).prototype.$bentoToastController = new ToastController();\n } else {\n // eslint-disable-next-line no-param-reassign\n (Vue as any).config.globalProperties.$bentoToastController = new ToastController();\n }\n }\n // Make sure to put all awaited CSS imports below this point and not above!\n if (options?.theme === BentoTheme.LEGACY) {\n setTheme(BentoTheme.LEGACY);\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-legacy.css');\n } else if (options?.theme === BentoTheme.STYLEGUIDE) {\n setTheme(BentoTheme.STYLEGUIDE);\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-styleguide.css');\n } else {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables.css');\n }\n\n if (options?.withUtilityClasses) {\n await import('@adyen/bento-design-tokens/dist/css/bento/utility.css');\n }\n },\n};\n\nexport default plugin;\n","<template>\n <a\n v-if=\"external\"\n v-bind=\"$attrs\"\n :href=\"to\"\n target=\"_blank\"\n class=\"b-link\"\n :class=\"conditionalClasses\"\n @click=\"onClick\"\n >\n <bento-typography
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../vue2/src/plugins/toastController.ts","../../vue2/src/install.ts","../src/components/link/link.vue"],"sourcesContent":["import { reactive } from 'vue';\nimport { generateUid } from '@/utils/ts/unique-id';\nimport { BentoToastItem } from '@/components/toast/components/toast-item';\n\n/* eslint-disable no-underscore-dangle */\nexport default class ToastController {\n get state(): { queue: Array<BentoToastItem> } {\n return this._state;\n }\n\n private _state: { queue: Array<BentoToastItem> };\n\n constructor() {\n this._state = reactive({ queue: [] });\n }\n\n private dismissToast(toast: BentoToastItem): void {\n this._state.queue.splice(this._state.queue.indexOf(toast), 1);\n }\n\n public addToast(params: BentoToastItem) {\n const id = generateUid('toast');\n const toast = {\n ...params,\n id,\n dismiss: () => this.dismissToast(toast),\n };\n\n // new messages always appear in front\n this._state.queue.push(toast);\n\n // return API to manipulate toast\n return {\n dismiss: () => this.dismissToast(toast),\n };\n }\n}\n/* eslint-enable no-underscore-dangle */\n","import type { PluginObject } from 'vue';\nimport { isVue2 } from 'vue-demi';\nimport ToastController from './plugins/toastController';\n\nexport enum BentoTheme {\n LEGACY = 'b-legacy-theme',\n STYLEGUIDE = 'b-styleguide-theme',\n BENTO = '',\n}\n\ninterface BentoVuePlugin {\n theme: BentoTheme;\n withToast: boolean;\n}\n\nconst setTheme = (theme: BentoTheme) => {\n document.body.classList.add(theme);\n};\n\nconst plugin: PluginObject<BentoVuePlugin> = {\n install: async (Vue, options: { theme: BentoTheme; withToast: boolean; withUtilityClasses: boolean }) => {\n if (options?.withToast) {\n if (isVue2) {\n // Adds a new property to the Vue instance\n // eslint-disable-next-line no-param-reassign\n (Vue as any).prototype.$bentoToastController = new ToastController();\n } else {\n // eslint-disable-next-line no-param-reassign\n (Vue as any).config.globalProperties.$bentoToastController = new ToastController();\n }\n }\n // Make sure to put all awaited CSS imports below this point and not above!\n if (options?.theme === BentoTheme.LEGACY) {\n setTheme(BentoTheme.LEGACY);\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-legacy.css');\n } else if (options?.theme === BentoTheme.STYLEGUIDE) {\n setTheme(BentoTheme.STYLEGUIDE);\n await import('@adyen/bento-design-tokens/dist/css/bento/variables-styleguide.css');\n } else {\n await import('@adyen/bento-design-tokens/dist/css/bento/variables.css');\n }\n\n if (options?.withUtilityClasses) {\n await import('@adyen/bento-design-tokens/dist/css/bento/utility.css');\n }\n },\n};\n\nexport default plugin;\n","<template>\n <a\n v-if=\"external\"\n v-bind=\"$attrs\"\n :href=\"to\"\n target=\"_blank\"\n class=\"b-link\"\n :class=\"conditionalClasses\"\n @click=\"onClick\"\n >\n <bento-typography v-if=\"!disableTypography\" el=\"span\" variant=\"body\">\n <slot />\n </bento-typography>\n <slot v-else />\n </a>\n <router-link v-else v-slot=\"{ href, navigate }\" v-bind=\"$props\" custom @click=\"onClick\">\n <a v-bind=\"$attrs\" :href=\"href\" class=\"b-link\" :class=\"conditionalClasses\" @click=\"navigate\">\n <bento-typography v-if=\"!disableTypography\" el=\"span\" variant=\"body\">\n <slot />\n </bento-typography>\n <slot v-else />\n </a>\n </router-link>\n</template>\n\n<script setup lang=\"ts\">\n import { BentoLinkVariant } from '@/core/components/link/link.types';\n import BentoTypography from '@/components/typography/typography.vue';\n import { computed, type PropType } from 'vue';\n import { RouterLink } from 'vue-router';\n import type { RouterLinkSlotArgument } from 'vue-router/types/router';\n\n const props = defineProps({\n // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n // @ts-ignore\n ...RouterLink.props,\n /**\n * Set the rendered link to a regular external anchor link.\n */\n external: { type: Boolean, default: false },\n /**\n * Disable the default typography for the component. Only use this when the component is inside another typography component.\n */\n disableTypography: { type: Boolean, default: false },\n /**\n * Link variant type affecting visual style.\n * @values default, quiet\n */\n variant: { type: String as PropType<BentoLinkVariant>, default: BentoLinkVariant.DEFAULT },\n });\n const emit = defineEmits(['click']);\n const conditionalClasses = computed(() => ({\n [`b-link--${BentoLinkVariant.QUIET}`]: props.variant === BentoLinkVariant.QUIET,\n }));\n\n const onClick = (e: MouseEvent, navigateCallback?: RouterLinkSlotArgument['navigate']) => {\n emit('click', e);\n if (navigateCallback) {\n navigateCallback();\n }\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"@/core/components/link/link.scss\" />\n"],"names":["ToastController","__publicField","reactive","toast","params","id","generateUid","setTheme","theme","plugin","Vue","options","conditionalClasses","computed","BentoLinkVariant","props","onClick","e","navigateCallback","emit"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAKA,MAAAA,EAAA;AAAA,EAKY,cAAA;AAFR,IAAAC,EAAA;AAKI,SAAA,SAAAC,EAAA,EAAA,OAAA,CAAA,EAAA,CAAA;AAAA,EAAoC;AAAA,EARP,IAAA,QAAA;AAE7B,WAAA,KAAA;AAAA,EAAY;AAAA,EAOhB,aAAAC,GAAA;AAGI,SAAA,OAAA,MAAA,OAAA,KAAA,OAAA,MAAA,QAAAA,CAAA,GAAA,CAAA;AAAA,EAA4D;AAAA,EAChE,SAAAC,GAAA;AAGI,UAAAC,IAAAC,EAAA,OAAA,GACAH,IAAA;AAAA,MAAc,GAAAC;AAAA,MACP,IAAAC;AAAA,MACH,SAAA,MAAA,KAAA,aAAAF,CAAA;AAAA,IACsC;AAI1C,gBAAA,OAAA,MAAA,KAAAA,CAAA,GAGA;AAAA,MAAO,SAAA,MAAA,KAAA,aAAAA,CAAA;AAAA,IACmC;AAAA,EAC1C;AAER;ACrBA,MAAAI,IAAA,CAAAC,MAAA;AACI,WAAA,KAAA,UAAA,IAAAA,CAAA;AACJ,GAEAC,IAAA;AAAA,EAA6C,SAAA,OAAAC,GAAAC,MAAA;AAErC,IAAAA,KAAA,QAAAA,EAAA,cAOQD,EAAA,OAAA,iBAAA,wBAAA,IAAAV,EAAA,KAIRW,KAAA,gBAAAA,EAAA,WAAA,oBACIJ;AAAA,MAAA;AAAA;AAAA,IAAA,GACA,MAAA,OAAA,qEAAA,MAA6EI,KAAA,gBAAAA,EAAA,WAAA,wBAE7EJ;AAAA,MAAA;AAAA;AAAA,IAAA,GACA,MAAA,OAAA,yEAAA,KAEA,MAAA,OAAA,8DAAA,GAGJI,KAAA,QAAAA,EAAA,sBACI,MAAA,OAAA,4DAAA;AAAA,EACJ;AAER;;;;;;;;;;;;;;;;;;;;;;iBCKIC,IAAAC,EAAA,OAAA;AAAA,MAA2C,CAAA,WAAAC,EAAA,OAAA,GAAAC,EAAA,YAAAD,EAAA;AAAA,IACmC,EAAA,GAG9EE,IAAA,CAAAC,GAAAC,MAAA;AACI,MAAAC,EAAA,SAAAF,CAAA,GACAC,KACIA,EAAA;AAAA,IACJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/info-icon.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { openBlock as i, createElementBlock as n, mergeProps as f, toDisplayString as h, createCommentVNode as v, createElementVNode as e, pushScopeId as m, popScopeId as g, defineComponent as $, resolveComponent as b, resolveDirective as I, withDirectives as w, createVNode as y } from "vue";
|
|
2
2
|
import { PopperContainerPosition as s } from "./popper-container.js";
|
|
3
|
-
import { b as S } from "./chunks/tooltip.
|
|
3
|
+
import { b as S } from "./chunks/tooltip.e4e34b86.js";
|
|
4
4
|
import { _ as r } from "./chunks/_plugin-vue_export-helper.dad06003.js";
|
|
5
|
-
import "./assets/
|
|
5
|
+
import "./assets/index17.css";
|
|
6
6
|
let c = 0;
|
|
7
7
|
const P = {
|
|
8
8
|
beforeCreate() {
|