@adyen/bento-vue2 1.1.1 → 1.3.0-1
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/README.md +60 -29
- package/dist/@types/components.d.ts +12 -0
- package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +15 -11
- package/dist/@types/packages/vue2/src/components/avatar-image/avatar-image.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +14 -14
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/button/index.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +20 -16
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +77 -31
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +13 -9
- package/dist/@types/packages/vue2/src/components/code-snippet/composables/useLanguage.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/country/composables/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/country/composables/useCountryCapital/useCountryCapital.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/country/composables/useCountryName/useCountryName.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/country/composables/useCountryPhoneCode/useCountryPhoneCode.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +10 -9
- package/dist/@types/packages/vue2/src/components/currency/currency.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +3 -3
- 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 +4 -4
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useColumnReorderer/useColumnReorderer.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useConfigSettings/useConfigSettings.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +7 -5
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +21 -11
- package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +13 -13
- package/dist/@types/packages/vue2/src/components/date-range-picker/composables/use-date-range-picker-calendar-text.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +21 -11
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/composables/useDropdownOptionsListbox.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +87 -85
- 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-avatar/dropdown-avatar.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-avatar/dropdown-avatar.vue.d.ts +19 -17
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/composables/useCountryItems.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/dropdown-country.vue.d.ts +23 -21
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/dropdown-currency.vue.d.ts +18 -16
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-payment-method/dropdown-payment-method.vue.d.ts +18 -16
- 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/components/variants/dropdown-tag/dropdown-tag.vue.d.ts +9 -7
- package/dist/@types/packages/vue2/src/components/dropdown/composables/useDisplayValue.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/composables/useDropdownSearchFilter.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +16 -13
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +26 -26
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/base-filter.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter-button/base-filter-button.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +9 -11
- package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/range-filter.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-avatar-filter/select-avatar-filter.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-payment-method-filter/select-payment-method-filter.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.types.d.ts +10 -10
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-field-tip/form-layout-field-tip.vue.d.ts +10 -0
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-field-tip/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-group/composable/use-form-layout-group-percentage.d.ts +3 -0
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-group/form-layout-group.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-group/form-layout-group.vue.d.ts +23 -0
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-group/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-title/form-layout-title.vue.d.ts +33 -0
- package/dist/@types/packages/vue2/src/components/form-layout/components/form-layout-title/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/form-layout/components/index.d.ts +3 -0
- package/dist/@types/packages/vue2/src/components/form-layout/form-layout.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/form-layout/form-layout.vue.d.ts +33 -0
- package/dist/@types/packages/vue2/src/components/form-layout/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/info-icon/info-icon.vue.d.ts +8 -6
- package/dist/@types/packages/vue2/src/components/input-field/input-field.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +25 -16
- package/dist/@types/packages/vue2/src/components/internal/avatar/avatar.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/base-button/base-button.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +53 -22
- package/dist/@types/packages/vue2/src/components/internal/copy/copy.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/internal/footer-actions/footer-actions.vue.d.ts +1 -1
- 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 +2 -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 +2 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option/listbox-option.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select-option/listbox-single-select-option.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +11 -9
- package/dist/@types/packages/vue2/src/components/link/index.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/__mocks__/base-modal.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +55 -48
- package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/modal/components/modal-dialog/modal-dialog.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +27 -27
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-context/pagination-context.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-controls/pagination-controls.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-results-per-page/pagination-results-per-page.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/payment-method/composables/usePaymentIcon.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +6 -4
- package/dist/@types/packages/vue2/src/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/popover/components/popover-title/popover-title.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +12 -12
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.utils.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +53 -7
- package/dist/@types/packages/vue2/src/components/search-bar/search-bar.vue.d.ts +64 -47
- package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/sidepanel/components/sidepanel-page.vue.d.ts +68 -0
- package/dist/@types/packages/vue2/src/components/sidepanel/index.d.ts +3 -0
- package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.keys.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.types.d.ts +21 -0
- package/dist/@types/packages/vue2/src/components/sidepanel/sidepanel.vue.d.ts +43 -0
- package/dist/@types/packages/vue2/src/components/status/status.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +38 -30
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +16 -10
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +16 -10
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +16 -10
- package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/tabs/tabs.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/tag/tag.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +10 -7
- package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +20 -20
- package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/toast/components/toast-item/toast-item.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/toggle/toggle.types.d.ts +4 -0
- package/dist/@types/packages/vue2/src/components/toggle/toggle.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +25 -25
- package/dist/@types/packages/vue2/src/components/typography/typography.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/composables/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/composables/initials.d.ts +1 -1
- package/dist/@types/packages/vue2/src/composables/use-checkbox-select-all/use-checkbox-select-all.d.ts +2 -2
- package/dist/@types/packages/vue2/src/composables/use-form-layout-loading/use-form-layout-loading.d.ts +4 -0
- package/dist/@types/packages/vue2/src/composables/useDynamicImport.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/click-outside/on-click-outside.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/click-outside/types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/click-outside/useEventListener/index.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/click-outside/utils.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/tooltip/tooltip.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/plugins/toastController.d.ts +1 -1
- package/dist/@types/packages/vue2/src/types/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/types/listbox.d.ts +1 -1
- package/dist/@types/packages/vue2/src/types/utils-events.d.ts +0 -1
- package/dist/@types/packages/vue2/src/utils/ts/aria-label.d.ts +1 -1
- package/dist/@types/packages/vue2/src/utils/ts/dev-environment.d.ts +1 -0
- package/dist/@types/packages/vue2/src/utils/ts/events.d.ts +1 -1
- package/dist/@types/packages/vue2/src/utils/ts/focus-trap.utils.d.ts +1 -1
- package/dist/accordion.js +1 -1
- package/dist/alert.js +34 -32
- package/dist/alert.js.map +1 -1
- package/dist/assets/arrow-left.css +1 -0
- package/dist/assets/base-button.css +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- 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 -0
- package/dist/assets/grid-layout.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/index23.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 -0
- package/dist/assets/index41.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/button.js +3 -3
- package/dist/card.js +33 -31
- package/dist/card.js.map +1 -1
- package/dist/checkbox.js +93 -84
- package/dist/checkbox.js.map +1 -1
- package/dist/chunks/arrow-left.1d5d08bd.js +26 -0
- package/dist/chunks/arrow-left.1d5d08bd.js.map +1 -0
- package/dist/chunks/{base-button.16e8bb2c.js → base-button.ebd7c02e.js} +2 -2
- package/dist/chunks/{base-button.16e8bb2c.js.map → base-button.ebd7c02e.js.map} +1 -1
- package/dist/chunks/{button-actions.bcaea94e.js → button-actions.075932ac.js} +10 -10
- package/dist/chunks/{button-actions.bcaea94e.js.map → button-actions.075932ac.js.map} +1 -1
- package/dist/chunks/{button.34695c2c.js → button.be42b512.js} +11 -11
- package/dist/chunks/button.be42b512.js.map +1 -0
- package/dist/chunks/{calendar.a32d5783.js → calendar.2d5aa882.js} +6 -6
- package/dist/chunks/calendar.2d5aa882.js.map +1 -0
- package/dist/chunks/{checkbox.5d8f5768.js → checkbox.f6548e4f.js} +3 -3
- package/dist/chunks/{checkbox.5d8f5768.js.map → checkbox.f6548e4f.js.map} +1 -1
- package/dist/chunks/controls-group.62e35aef.js +87 -0
- package/dist/chunks/controls-group.62e35aef.js.map +1 -0
- package/dist/chunks/{copy.f49481e9.js → copy.6081b6ec.js} +3 -3
- package/dist/chunks/{copy.f49481e9.js.map → copy.6081b6ec.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.b7a68bb4.js → dropdown-default-textbox.35029df1.js} +32 -30
- package/dist/chunks/dropdown-default-textbox.35029df1.js.map +1 -0
- package/dist/chunks/{dropdown.0c80d6c1.js → dropdown.9681d483.js} +176 -171
- package/dist/chunks/dropdown.9681d483.js.map +1 -0
- package/dist/chunks/{error-message.fa27bee9.js → error-message.588e0cf6.js} +2 -2
- package/dist/chunks/{error-message.fa27bee9.js.map → error-message.588e0cf6.js.map} +1 -1
- package/dist/chunks/footer-actions.63766096.js +98 -0
- package/dist/chunks/footer-actions.63766096.js.map +1 -0
- package/dist/chunks/form-layout.types.a7a1438d.js +5 -0
- package/dist/chunks/form-layout.types.a7a1438d.js.map +1 -0
- package/dist/chunks/{index.ec1c7120.js → index.0a747d58.js} +200 -194
- package/dist/chunks/{index.ec1c7120.js.map → index.0a747d58.js.map} +1 -1
- package/dist/chunks/{index.875ba379.js → index.4d3472d3.js} +33 -32
- package/dist/chunks/{index.875ba379.js.map → index.4d3472d3.js.map} +1 -1
- package/dist/chunks/{index.695c11ef.js → index.96e2f563.js} +2 -2
- package/dist/chunks/{index.695c11ef.js.map → index.96e2f563.js.map} +1 -1
- package/dist/chunks/{index.36bd0bb1.js → index.a374cb78.js} +3 -3
- package/dist/chunks/{index.36bd0bb1.js.map → index.a374cb78.js.map} +1 -1
- package/dist/chunks/{index.16f60189.js → index.b56bf100.js} +6 -6
- package/dist/chunks/{index.16f60189.js.map → index.b56bf100.js.map} +1 -1
- package/dist/chunks/{index.2066e16f.js → index.e3c7b9ee.js} +16 -15
- package/dist/chunks/index.e3c7b9ee.js.map +1 -0
- package/dist/chunks/{listbox-option-tag.ac8eae9a.js → listbox-option-tag.e5a28267.js} +3 -3
- package/dist/chunks/{listbox-option-tag.ac8eae9a.js.map → listbox-option-tag.e5a28267.js.map} +1 -1
- package/dist/chunks/{listbox.4ea4114c.js → listbox.140e447a.js} +179 -178
- package/dist/chunks/listbox.140e447a.js.map +1 -0
- package/dist/chunks/{loading-button.3fa1b7a8.js → loading-button.80bba4ca.js} +10 -10
- package/dist/chunks/loading-button.80bba4ca.js.map +1 -0
- package/dist/chunks/{tooltip.807205c0.js → tooltip.680d6038.js} +2 -2
- package/dist/chunks/tooltip.680d6038.js.map +1 -0
- package/dist/chunks/use-form-layout-loading.d03e5d48.js +12 -0
- package/dist/chunks/use-form-layout-loading.d03e5d48.js.map +1 -0
- package/dist/chunks/useCountryItems.5d7b436e.js.map +1 -1
- package/dist/code-snippet.js +132 -130
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +148 -172
- package/dist/country.js.map +1 -1
- package/dist/currency.js +1 -1
- package/dist/currency.js.map +1 -1
- package/dist/data-grid.js +495 -512
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +81 -75
- package/dist/date-picker.js.map +1 -1
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +72 -67
- package/dist/dropdown.js.map +1 -1
- package/dist/filter-bar.js +268 -265
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +174 -0
- package/dist/form-layout.js.map +1 -0
- package/dist/header.js +30 -30
- package/dist/header.js.map +1 -1
- package/dist/index.js +193 -184
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +13 -12
- package/dist/info-icon.js.map +1 -1
- package/dist/input-field.js +82 -76
- package/dist/input-field.js.map +1 -1
- package/dist/internal.js +6 -6
- package/dist/link.js +12 -12
- package/dist/link.js.map +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +5 -5
- package/dist/menu.js.map +1 -1
- package/dist/modal.js +204 -321
- package/dist/modal.js.map +1 -1
- package/dist/pagination.js +4 -4
- package/dist/payment-method.js +12 -11
- package/dist/payment-method.js.map +1 -1
- package/dist/popover.js +5 -5
- package/dist/popover.js.map +1 -1
- package/dist/popper-container.js +14 -14
- package/dist/popper-container.js.map +1 -1
- package/dist/radio-group.js +98 -100
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/segmented-control.js +4 -4
- package/dist/sidepanel.js +218 -0
- package/dist/sidepanel.js.map +1 -0
- package/dist/status.js +9 -9
- package/dist/status.js.map +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +101 -88
- package/dist/summary-grid.js.map +1 -1
- package/dist/tabs.js +3 -3
- package/dist/tabs.js.map +1 -1
- package/dist/tag.js +13 -13
- package/dist/tag.js.map +1 -1
- package/dist/textarea.js +86 -80
- package/dist/textarea.js.map +1 -1
- package/dist/timeline.js +24 -24
- package/dist/timeline.js.map +1 -1
- package/dist/toast.js +3 -3
- package/dist/toggle.js +117 -2
- package/dist/toggle.js.map +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +512 -130
- package/package.json +11 -8
- package/dist/@types/packages/vue2/src/components/country/composables/useCountryFlag.d.ts +0 -2
- package/dist/@types/packages/vue2/src/types/label-position.d.ts +0 -4
- package/dist/chunks/button.34695c2c.js.map +0 -1
- package/dist/chunks/calendar.a32d5783.js.map +0 -1
- package/dist/chunks/controls-group.e607b021.js +0 -64
- package/dist/chunks/controls-group.e607b021.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.b7a68bb4.js.map +0 -1
- package/dist/chunks/dropdown.0c80d6c1.js.map +0 -1
- package/dist/chunks/index.2066e16f.js.map +0 -1
- package/dist/chunks/index.f55a6913.js +0 -121
- package/dist/chunks/index.f55a6913.js.map +0 -1
- package/dist/chunks/listbox.4ea4114c.js.map +0 -1
- package/dist/chunks/loading-button.3fa1b7a8.js.map +0 -1
- package/dist/chunks/tooltip.807205c0.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,34 +1,45 @@
|
|
|
1
|
-
# Bento
|
|
1
|
+
# Bento Vue component library
|
|
2
2
|
|
|
3
|
-
Welcome to the Bento
|
|
3
|
+
Welcome to the Bento Vue component library!
|
|
4
4
|
|
|
5
5
|
The aim of this library is to centralize all general reusable components you will find across the Adyen Front-end
|
|
6
6
|
architecture.
|
|
7
7
|
|
|
8
|
-
Bento Vue contains foundational Vue 2.x UI components for shipping new features faster.
|
|
8
|
+
Bento Vue contains foundational Vue 2.x (and Vue 3.x) UI components for shipping new features faster.
|
|
9
9
|
|
|
10
10
|
## Getting started
|
|
11
11
|
|
|
12
12
|
### Installation
|
|
13
13
|
|
|
14
|
+
#### Vue 2
|
|
15
|
+
|
|
14
16
|
Bento Vue2 is available as an npm package
|
|
15
17
|
|
|
16
18
|
```bash
|
|
17
19
|
npm install @adyen/bento-vue2
|
|
18
20
|
```
|
|
19
21
|
|
|
22
|
+
#### Vue 3
|
|
23
|
+
|
|
24
|
+
Bento Vue3 is available as an npm package
|
|
25
|
+
|
|
26
|
+
```bash
|
|
27
|
+
npm install @adyen/bento-vue3
|
|
28
|
+
```
|
|
29
|
+
|
|
20
30
|
### Adyen Design System Vue ecosystem
|
|
21
31
|
|
|
22
32
|
| Project | Optional | Description |
|
|
23
33
|
| ---------------------------- | -------- | ------------------------------------------------------------------------------ |
|
|
24
34
|
| `@adyen/bento-vue2` | ❌ | A collection of Vue 2.x UI components |
|
|
35
|
+
| `@adyen/bento-vue3` | ❌ | A collection of Vue 3.x UI components |
|
|
25
36
|
| `@adyen/bento-design-tokens` | ✅ | List of Design Tokens used to define styles of the components and their themes |
|
|
26
37
|
|
|
27
38
|
### Usage
|
|
28
39
|
|
|
29
40
|
In order to use the compoents via the `BentoVue` plugin, the following steps must be reproduced:
|
|
30
41
|
|
|
31
|
-
1. Load the plugin globally in **Vue**
|
|
42
|
+
1. Load the plugin globally in **Vue** (and optional enable certain features).
|
|
32
43
|
2. Import the `font.css` file.
|
|
33
44
|
3. Initialize `vue-i18n`.
|
|
34
45
|
4. Add changes to your [bundler](#Bundlers) configuration e.g. [webpack](#webpack) or [vite](#vite).
|
|
@@ -37,7 +48,12 @@ In order to use the compoents via the `BentoVue` plugin, the following steps mus
|
|
|
37
48
|
#### Load plugin and register components
|
|
38
49
|
|
|
39
50
|
To start using the Bento components, import the `BentoVue` plugin to inject the theme by default to Vue in order to
|
|
40
|
-
allow the components to use the Design Token CSS variables
|
|
51
|
+
allow the components to use the Design Token CSS variables.
|
|
52
|
+
|
|
53
|
+
You can enable the following feature by passing them the second argument to in the `.use` function.
|
|
54
|
+
|
|
55
|
+
- `withToast`: Will enable all toast functionality required by the `BentoToast` component.
|
|
56
|
+
- `withUtilityClasses`: Will inject the utility classes into the page.
|
|
41
57
|
|
|
42
58
|
##### Vue 2
|
|
43
59
|
|
|
@@ -46,7 +62,10 @@ import BentoVue from '@adyen/bento-vue2';
|
|
|
46
62
|
|
|
47
63
|
Vue.use(BentoVue);
|
|
48
64
|
// or, if you want to make use of the toast component we provide
|
|
49
|
-
Vue.use(BentoVue, {
|
|
65
|
+
Vue.use(BentoVue, {
|
|
66
|
+
withToast: true, // this line installs Bento and includes the toast component
|
|
67
|
+
withUtilityClasses: true, // this line injects the utility classes into the page
|
|
68
|
+
});
|
|
50
69
|
```
|
|
51
70
|
|
|
52
71
|
##### Vue 3
|
|
@@ -55,7 +74,10 @@ Vue.use(BentoVue, { withToast: true }); // this line installs Bento and includes
|
|
|
55
74
|
import BentoVue from '@adyen/bento-vue3';
|
|
56
75
|
|
|
57
76
|
const app = createApp()
|
|
58
|
-
.use(BentoVue, {
|
|
77
|
+
.use(BentoVue, {
|
|
78
|
+
withToast: true, // this line installs Bento and includes the toast component
|
|
79
|
+
withUtilityClasses: true, // this line injects the utility classes into the page
|
|
80
|
+
})
|
|
59
81
|
.mount('#app');
|
|
60
82
|
```
|
|
61
83
|
|
|
@@ -85,42 +107,42 @@ initialization the following lines of code must be included:
|
|
|
85
107
|
|
|
86
108
|
##### Vue 2
|
|
87
109
|
|
|
88
|
-
```
|
|
110
|
+
```typescript
|
|
89
111
|
import Vue from 'vue';
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
112
|
+
import VueI18n from 'vue-i18n';
|
|
113
|
+
|
|
114
|
+
Vue.use(VueI18n);
|
|
115
|
+
|
|
116
|
+
const i18n = new VueI18n({
|
|
117
|
+
locale: 'en-US',
|
|
118
|
+
fallbackLocale: 'en-US',
|
|
119
|
+
fallbackRoot: false,
|
|
120
|
+
});
|
|
99
121
|
|
|
100
122
|
const app = new Vue({
|
|
101
123
|
el: '#app',
|
|
102
124
|
router,
|
|
103
125
|
template: '<router-view />',
|
|
104
|
-
|
|
126
|
+
i18n,
|
|
105
127
|
});
|
|
106
128
|
```
|
|
107
129
|
|
|
108
130
|
##### Vue 3
|
|
109
131
|
|
|
110
|
-
```
|
|
132
|
+
```typescript
|
|
111
133
|
import BentoVue from '@adyen/bento-vue3';
|
|
112
|
-
|
|
134
|
+
import VueI18n from 'vue-i18n';
|
|
113
135
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
136
|
+
const i18n = createI18n({
|
|
137
|
+
locale: 'en-US',
|
|
138
|
+
fallbackLocale: 'en-US',
|
|
139
|
+
fallbackRoot: false,
|
|
140
|
+
allowComposition: true,
|
|
141
|
+
});
|
|
120
142
|
|
|
121
143
|
const app = createApp()
|
|
122
144
|
.use(BentoVue, { withToast: true }) // this line installs Bento
|
|
123
|
-
|
|
145
|
+
.use(i18n) // this line vue-i18n
|
|
124
146
|
.mount('#app');
|
|
125
147
|
```
|
|
126
148
|
|
|
@@ -316,8 +338,17 @@ are:
|
|
|
316
338
|
- Default: _no class needed_
|
|
317
339
|
- ADL: `.b-legacy-theme`.
|
|
318
340
|
|
|
319
|
-
To use an alternative theme in your application,
|
|
320
|
-
|
|
341
|
+
To use an alternative theme in your application, you will need to:
|
|
342
|
+
|
|
343
|
+
1. Import the the css file into your app.
|
|
344
|
+
|
|
345
|
+
e.g. add the ADL theme.
|
|
346
|
+
|
|
347
|
+
```typescript
|
|
348
|
+
import '@adyen/bento-design-tokens/dist/css/bento/variables-legacy.css';
|
|
349
|
+
```
|
|
350
|
+
|
|
351
|
+
2. set the respective theme class in the main container inside the `App.vue` component.
|
|
321
352
|
|
|
322
353
|
```html
|
|
323
354
|
<template>
|
|
@@ -28,6 +28,10 @@ import {
|
|
|
28
28
|
BentoDropdownCurrency,
|
|
29
29
|
BentoDropdownPaymentMethod,
|
|
30
30
|
BentoFilterBar,
|
|
31
|
+
BentoFormLayout,
|
|
32
|
+
BentoFormLayoutFieldTip,
|
|
33
|
+
BentoFormLayoutGroup,
|
|
34
|
+
BentoFormLayoutTitle,
|
|
31
35
|
BentoHeader,
|
|
32
36
|
BentoInfoIcon,
|
|
33
37
|
BentoInputField,
|
|
@@ -42,6 +46,8 @@ import {
|
|
|
42
46
|
BentoRadioGroup,
|
|
43
47
|
BentoSearchBar,
|
|
44
48
|
BentoSegmentedControl,
|
|
49
|
+
BentoSidepanel,
|
|
50
|
+
BentoSidepanelPage,
|
|
45
51
|
BentoStatus,
|
|
46
52
|
BentoStructuredList,
|
|
47
53
|
BentoStructuredListItem,
|
|
@@ -91,6 +97,10 @@ declare module 'vue' {
|
|
|
91
97
|
BentoDropdownAvatar: typeof BentoDropdownAvatar;
|
|
92
98
|
BentoDropdownCountry: typeof BentoDropdownCountry;
|
|
93
99
|
BentoFilterBar: typeof BentoFilterBar;
|
|
100
|
+
BentoFormLayout: typeof BentoFormLayout;
|
|
101
|
+
BentoFormLayoutFieldTip: typeof BentoFormLayoutFieldTip;
|
|
102
|
+
BentoFormLayoutGroup: typeof BentoFormLayoutGroup;
|
|
103
|
+
BentoFormLayoutTitle: typeof BentoFormLayoutTitle;
|
|
94
104
|
BentoHeader: typeof BentoHeader;
|
|
95
105
|
BentoInfoIcon: typeof BentoInfoIcon;
|
|
96
106
|
BentoDropdownCurrency: typeof BentoDropdownCurrency;
|
|
@@ -107,6 +117,8 @@ declare module 'vue' {
|
|
|
107
117
|
BentoRadioGroup: typeof BentoRadioGroup;
|
|
108
118
|
BentoSearchBar: typeof BentoSearchBar;
|
|
109
119
|
BentoSegmentedControl: typeof BentoSegmentedControl;
|
|
120
|
+
BentoSidepanel: typeof BentoSidepanel;
|
|
121
|
+
BentoSidepanelPage: typeof BentoSidepanelPage;
|
|
110
122
|
BentoStatus: typeof BentoStatus;
|
|
111
123
|
BentoStructuredList: typeof BentoStructuredList;
|
|
112
124
|
BentoStructuredListItem: typeof BentoStructuredListItem;
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { BentoAlertEvent, BentoAlertTypeOption, BentoAlertVariant } from
|
|
3
|
-
import { BentoButtonVariant } from
|
|
4
|
-
import { BentoTypographyElement, BentoTypographyVariant } from
|
|
2
|
+
import { BentoAlertEvent, BentoAlertTypeOption, BentoAlertVariant } from "./alert.types";
|
|
3
|
+
import { BentoButtonVariant } from "../../../../core/src/components/button/button.types";
|
|
4
|
+
import { BentoTypographyElement, BentoTypographyVariant } from "../typography";
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
6
6
|
closeButton: {
|
|
7
7
|
type: BooleanConstructor;
|
|
8
8
|
default: boolean;
|
|
9
9
|
};
|
|
10
10
|
type: {
|
|
11
|
-
type: PropType<BentoAlertTypeOption>;
|
|
11
|
+
type: PropType<"warning" | "critical" | "highlight" | "success" | BentoAlertTypeOption>;
|
|
12
12
|
default: BentoAlertTypeOption;
|
|
13
|
+
validator: (value: BentoAlertTypeOption) => boolean;
|
|
13
14
|
};
|
|
14
15
|
variant: {
|
|
15
|
-
type: PropType<BentoAlertVariant>;
|
|
16
|
+
type: PropType<"default" | "tip" | BentoAlertVariant>;
|
|
16
17
|
default: BentoAlertVariant;
|
|
18
|
+
validator: (value: BentoAlertVariant) => boolean;
|
|
17
19
|
};
|
|
18
20
|
}, {
|
|
19
21
|
alertConditionalClasses: import("vue").ComputedRef<{
|
|
20
|
-
[x: string]: boolean | BentoAlertTypeOption;
|
|
22
|
+
[x: string]: boolean | "warning" | "critical" | "highlight" | "success" | BentoAlertTypeOption;
|
|
21
23
|
}>;
|
|
22
24
|
computedRole: import("vue").ComputedRef<"alert" | "status">;
|
|
23
25
|
descriptionTypography: import("vue").ComputedRef<{
|
|
@@ -30,7 +32,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
30
32
|
isTipVariant: import("vue").ComputedRef<boolean>;
|
|
31
33
|
onCloseButtonClick: () => void;
|
|
32
34
|
hasSlot: (name: string) => boolean;
|
|
33
|
-
t: import("vue-i18n-bridge").ComposerTranslation<import("
|
|
35
|
+
t: import("vue-i18n-bridge").ComposerTranslation<import("../../utils/ts/i18n").i18nMessages, string, import("@intlify/core-base").RemoveIndexSignature<{
|
|
34
36
|
[x: string]: import("vue-i18n-bridge").LocaleMessageValue<import("vue-i18n-bridge").VueMessageType>;
|
|
35
37
|
}>, never, import("@intlify/core-base")._ResourcePath<{
|
|
36
38
|
[key: string]: string;
|
|
@@ -47,16 +49,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
47
49
|
default: boolean;
|
|
48
50
|
};
|
|
49
51
|
type: {
|
|
50
|
-
type: PropType<BentoAlertTypeOption>;
|
|
52
|
+
type: PropType<"warning" | "critical" | "highlight" | "success" | BentoAlertTypeOption>;
|
|
51
53
|
default: BentoAlertTypeOption;
|
|
54
|
+
validator: (value: BentoAlertTypeOption) => boolean;
|
|
52
55
|
};
|
|
53
56
|
variant: {
|
|
54
|
-
type: PropType<BentoAlertVariant>;
|
|
57
|
+
type: PropType<"default" | "tip" | BentoAlertVariant>;
|
|
55
58
|
default: BentoAlertVariant;
|
|
59
|
+
validator: (value: BentoAlertVariant) => boolean;
|
|
56
60
|
};
|
|
57
61
|
}>>, {
|
|
58
|
-
type: BentoAlertTypeOption;
|
|
59
|
-
variant: BentoAlertVariant;
|
|
62
|
+
type: "warning" | "critical" | "highlight" | "success" | BentoAlertTypeOption;
|
|
63
|
+
variant: "default" | "tip" | BentoAlertVariant;
|
|
60
64
|
closeButton: boolean;
|
|
61
65
|
}>;
|
|
62
66
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { BentoAvatarImageColor, BentoAvatarImageVariant } from './avatar-image.types';
|
|
3
|
-
import { BentoTypographyElement, BentoTypographyVariant } from
|
|
3
|
+
import { BentoTypographyElement, BentoTypographyVariant } from "../typography";
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
src: {
|
|
6
6
|
type: StringConstructor;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { BentoButtonVariant } from
|
|
3
|
-
import { BentoTypographyElement, BentoTypographyVariant } from
|
|
4
|
-
import { Booleanish } from
|
|
2
|
+
import { BentoButtonVariant } from "../../../../core/src/components/button/button.types";
|
|
3
|
+
import { BentoTypographyElement, BentoTypographyVariant } from "../typography";
|
|
4
|
+
import { Booleanish } from "../../types";
|
|
5
5
|
import type { RouterLinkProps } from 'vue-router/types/router';
|
|
6
6
|
import type { AnchorHTMLAttributes } from 'vue/types/jsx';
|
|
7
7
|
import { BentoLinkVariant } from '../link';
|
|
@@ -29,7 +29,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
29
29
|
default: boolean;
|
|
30
30
|
};
|
|
31
31
|
variant: {
|
|
32
|
-
type: PropType<BentoButtonVariant>;
|
|
32
|
+
type: PropType<"primary" | "secondary" | "tertiary" | BentoButtonVariant>;
|
|
33
33
|
default: BentoButtonVariant;
|
|
34
34
|
validator: (value: BentoButtonVariant) => boolean;
|
|
35
35
|
};
|
|
@@ -310,7 +310,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
310
310
|
type: PropType<string>;
|
|
311
311
|
};
|
|
312
312
|
variant: {
|
|
313
|
-
type: PropType<BentoLinkVariant>;
|
|
313
|
+
type: PropType<"default" | BentoLinkVariant | "quiet">;
|
|
314
314
|
} & {
|
|
315
315
|
default: BentoLinkVariant;
|
|
316
316
|
};
|
|
@@ -898,7 +898,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
898
898
|
type: PropType<string>;
|
|
899
899
|
};
|
|
900
900
|
variant: {
|
|
901
|
-
type: PropType<BentoLinkVariant>;
|
|
901
|
+
type: PropType<"default" | BentoLinkVariant | "quiet">;
|
|
902
902
|
} & {
|
|
903
903
|
default: BentoLinkVariant;
|
|
904
904
|
};
|
|
@@ -1226,7 +1226,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1226
1226
|
}>>, {
|
|
1227
1227
|
click: (clickEvent: MouseEvent) => void;
|
|
1228
1228
|
}, {
|
|
1229
|
-
variant: BentoLinkVariant;
|
|
1229
|
+
variant: "default" | BentoLinkVariant | "quiet";
|
|
1230
1230
|
}, true, import("vue/types/v3-component-options").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, any>> & Readonly<Readonly<import("vue").ExtractPropTypes<{
|
|
1231
1231
|
replace: {
|
|
1232
1232
|
type: PropType<boolean>;
|
|
@@ -1490,7 +1490,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1490
1490
|
type: PropType<string>;
|
|
1491
1491
|
};
|
|
1492
1492
|
variant: {
|
|
1493
|
-
type: PropType<BentoLinkVariant>;
|
|
1493
|
+
type: PropType<"default" | BentoLinkVariant | "quiet">;
|
|
1494
1494
|
} & {
|
|
1495
1495
|
default: BentoLinkVariant;
|
|
1496
1496
|
};
|
|
@@ -2078,7 +2078,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2078
2078
|
type: PropType<string>;
|
|
2079
2079
|
};
|
|
2080
2080
|
variant: {
|
|
2081
|
-
type: PropType<BentoLinkVariant>;
|
|
2081
|
+
type: PropType<"default" | BentoLinkVariant | "quiet">;
|
|
2082
2082
|
} & {
|
|
2083
2083
|
default: BentoLinkVariant;
|
|
2084
2084
|
};
|
|
@@ -2666,7 +2666,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2666
2666
|
type: PropType<string>;
|
|
2667
2667
|
};
|
|
2668
2668
|
variant: {
|
|
2669
|
-
type: PropType<BentoLinkVariant>;
|
|
2669
|
+
type: PropType<"default" | BentoLinkVariant | "quiet">;
|
|
2670
2670
|
} & {
|
|
2671
2671
|
default: BentoLinkVariant;
|
|
2672
2672
|
};
|
|
@@ -2994,7 +2994,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2994
2994
|
}>>, {}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {
|
|
2995
2995
|
click: (clickEvent: MouseEvent) => void;
|
|
2996
2996
|
}, string, {
|
|
2997
|
-
variant: BentoLinkVariant;
|
|
2997
|
+
variant: "default" | BentoLinkVariant | "quiet";
|
|
2998
2998
|
}> & {
|
|
2999
2999
|
props: {
|
|
3000
3000
|
replace: {
|
|
@@ -3259,7 +3259,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3259
3259
|
type: PropType<string>;
|
|
3260
3260
|
};
|
|
3261
3261
|
variant: {
|
|
3262
|
-
type: PropType<BentoLinkVariant>;
|
|
3262
|
+
type: PropType<"default" | BentoLinkVariant | "quiet">;
|
|
3263
3263
|
} & {
|
|
3264
3264
|
default: BentoLinkVariant;
|
|
3265
3265
|
};
|
|
@@ -3619,7 +3619,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3619
3619
|
default: boolean;
|
|
3620
3620
|
};
|
|
3621
3621
|
variant: {
|
|
3622
|
-
type: PropType<BentoButtonVariant>;
|
|
3622
|
+
type: PropType<"primary" | "secondary" | "tertiary" | BentoButtonVariant>;
|
|
3623
3623
|
default: BentoButtonVariant;
|
|
3624
3624
|
validator: (value: BentoButtonVariant) => boolean;
|
|
3625
3625
|
};
|
|
@@ -3633,6 +3633,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3633
3633
|
critical: boolean;
|
|
3634
3634
|
condensed: boolean;
|
|
3635
3635
|
disabled: boolean;
|
|
3636
|
-
variant: BentoButtonVariant;
|
|
3636
|
+
variant: "primary" | "secondary" | "tertiary" | BentoButtonVariant;
|
|
3637
3637
|
}>;
|
|
3638
3638
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { VueNodeElement } from
|
|
2
|
-
import type { BentoButtonVariant } from
|
|
1
|
+
import type { VueNodeElement } from "../../../../types";
|
|
2
|
+
import type { BentoButtonVariant } from "../..";
|
|
3
3
|
export interface BentoButtonActionObject {
|
|
4
4
|
title: string;
|
|
5
5
|
event: (event: Event) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { BentoButtonVariant } from
|
|
2
|
+
import { BentoButtonVariant } from "../../../../../../core/src/components/button/button.types";
|
|
3
3
|
import { BentoButtonActionsLayout, BentoButtonActionsList } from './button-actions.types';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
actions: {
|
|
@@ -7,7 +7,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7
7
|
required: true;
|
|
8
8
|
};
|
|
9
9
|
layout: {
|
|
10
|
-
type: PropType<BentoButtonActionsLayout>;
|
|
10
|
+
type: PropType<BentoButtonActionsLayout | "buttons-end" | "fill-container" | "space-between" | "vertical-stack" | "buttons-start">;
|
|
11
11
|
default: import("./button-actions.types").BentoButtonActionsLayoutBasic;
|
|
12
12
|
validator: (layout: BentoButtonActionsLayout) => boolean;
|
|
13
13
|
};
|
|
@@ -23,11 +23,11 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
23
|
required: true;
|
|
24
24
|
};
|
|
25
25
|
layout: {
|
|
26
|
-
type: PropType<BentoButtonActionsLayout>;
|
|
26
|
+
type: PropType<BentoButtonActionsLayout | "buttons-end" | "fill-container" | "space-between" | "vertical-stack" | "buttons-start">;
|
|
27
27
|
default: import("./button-actions.types").BentoButtonActionsLayoutBasic;
|
|
28
28
|
validator: (layout: BentoButtonActionsLayout) => boolean;
|
|
29
29
|
};
|
|
30
30
|
}>>, {
|
|
31
|
-
layout: BentoButtonActionsLayout;
|
|
31
|
+
layout: BentoButtonActionsLayout | "buttons-end" | "fill-container" | "space-between" | "vertical-stack" | "buttons-start";
|
|
32
32
|
}>;
|
|
33
33
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { BentoButtonVariant } from
|
|
2
|
+
import { BentoButtonVariant } from "../../../../../../core/src/components/button/button.types";
|
|
3
3
|
import { BentoLoadingButtonState } from './loading-button.types';
|
|
4
4
|
declare const _default: import("vue").DefineComponent<{
|
|
5
5
|
condensed: {
|
|
@@ -11,12 +11,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
11
11
|
default: boolean;
|
|
12
12
|
};
|
|
13
13
|
state: {
|
|
14
|
-
type: PropType<BentoLoadingButtonState>;
|
|
14
|
+
type: PropType<"start" | "success" | "loading" | BentoLoadingButtonState | "fail">;
|
|
15
15
|
default: BentoLoadingButtonState;
|
|
16
16
|
validator: (value: BentoLoadingButtonState) => boolean;
|
|
17
17
|
};
|
|
18
18
|
variant: {
|
|
19
|
-
type: PropType<BentoButtonVariant>;
|
|
19
|
+
type: PropType<"primary" | "secondary" | "tertiary" | BentoButtonVariant>;
|
|
20
20
|
default: BentoButtonVariant;
|
|
21
21
|
validator: (value: BentoButtonVariant) => boolean;
|
|
22
22
|
};
|
|
@@ -37,19 +37,19 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
37
37
|
default: boolean;
|
|
38
38
|
};
|
|
39
39
|
state: {
|
|
40
|
-
type: PropType<BentoLoadingButtonState>;
|
|
40
|
+
type: PropType<"start" | "success" | "loading" | BentoLoadingButtonState | "fail">;
|
|
41
41
|
default: BentoLoadingButtonState;
|
|
42
42
|
validator: (value: BentoLoadingButtonState) => boolean;
|
|
43
43
|
};
|
|
44
44
|
variant: {
|
|
45
|
-
type: PropType<BentoButtonVariant>;
|
|
45
|
+
type: PropType<"primary" | "secondary" | "tertiary" | BentoButtonVariant>;
|
|
46
46
|
default: BentoButtonVariant;
|
|
47
47
|
validator: (value: BentoButtonVariant) => boolean;
|
|
48
48
|
};
|
|
49
49
|
}>>, {
|
|
50
50
|
condensed: boolean;
|
|
51
51
|
disabled: boolean;
|
|
52
|
-
variant: BentoButtonVariant;
|
|
53
|
-
state: BentoLoadingButtonState;
|
|
52
|
+
variant: "primary" | "secondary" | "tertiary" | BentoButtonVariant;
|
|
53
|
+
state: "start" | "success" | "loading" | BentoLoadingButtonState | "fail";
|
|
54
54
|
}>;
|
|
55
55
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { default as BentoButton } from './button.vue';
|
|
2
|
-
export * from
|
|
2
|
+
export * from "../../../../core/src/components/button/button.types";
|
|
3
3
|
export * from './components/button-actions';
|
|
4
4
|
export * from './components/loading-button';
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
|
-
import { BentoTypographyElement, BentoTypographyVariant } from
|
|
3
|
-
import { BentoButtonActionsLayout, BentoButtonActionsList } from
|
|
4
|
-
import { BentoCardBackground, BentoCardTitleSize } from
|
|
2
|
+
import { BentoTypographyElement, BentoTypographyVariant } from "../typography";
|
|
3
|
+
import { BentoButtonActionsLayout, BentoButtonActionsList } from "../button";
|
|
4
|
+
import { BentoCardBackground, BentoCardTitleSize } from "./card.types";
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
6
6
|
background: {
|
|
7
|
-
type: PropType<BentoCardBackground>;
|
|
7
|
+
type: PropType<"primary" | "secondary" | BentoCardBackground>;
|
|
8
8
|
default: BentoCardBackground;
|
|
9
|
+
validator: (value: BentoCardBackground) => boolean;
|
|
9
10
|
};
|
|
10
11
|
titleSize: {
|
|
11
|
-
type: PropType<BentoCardTitleSize>;
|
|
12
|
+
type: PropType<"small" | "default" | BentoCardTitleSize>;
|
|
12
13
|
default: BentoCardTitleSize;
|
|
14
|
+
validator: (value: BentoCardTitleSize) => boolean;
|
|
13
15
|
};
|
|
14
16
|
expandable: {
|
|
15
17
|
type: BooleanConstructor;
|
|
@@ -28,14 +30,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
30
|
default: any;
|
|
29
31
|
};
|
|
30
32
|
actionsLayout: {
|
|
31
|
-
type: PropType<BentoButtonActionsLayout>;
|
|
32
|
-
default: import("
|
|
33
|
+
type: PropType<BentoButtonActionsLayout | "buttons-end" | "fill-container" | "space-between" | "vertical-stack" | "buttons-start">;
|
|
34
|
+
default: import("../button").BentoButtonActionsLayoutBasic;
|
|
33
35
|
validator: (value: BentoButtonActionsLayout) => boolean;
|
|
34
36
|
};
|
|
35
37
|
}, {
|
|
36
38
|
cardId: string;
|
|
37
39
|
cardConditionalClasses: import("vue").ComputedRef<{
|
|
38
|
-
[x: string]: boolean | BentoCardBackground;
|
|
40
|
+
[x: string]: boolean | "primary" | "secondary" | BentoCardBackground;
|
|
39
41
|
'b-card--expandable': boolean;
|
|
40
42
|
'b-card--disabled': boolean;
|
|
41
43
|
}>;
|
|
@@ -74,7 +76,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
74
76
|
}>;
|
|
75
77
|
hasSlot: (name: string) => boolean;
|
|
76
78
|
onClick: () => void;
|
|
77
|
-
t: import("vue-i18n-bridge").ComposerTranslation<import("
|
|
79
|
+
t: import("vue-i18n-bridge").ComposerTranslation<import("../../utils/ts/i18n").i18nMessages, string, import("@intlify/core-base").RemoveIndexSignature<{
|
|
78
80
|
[x: string]: import("vue-i18n-bridge").LocaleMessageValue<import("vue-i18n-bridge").VueMessageType>;
|
|
79
81
|
}>, never, import("@intlify/core-base")._ResourcePath<{
|
|
80
82
|
[key: string]: string;
|
|
@@ -86,12 +88,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
86
88
|
BentoTypographyElement: typeof BentoTypographyElement;
|
|
87
89
|
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, ("click" | "expanded")[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
88
90
|
background: {
|
|
89
|
-
type: PropType<BentoCardBackground>;
|
|
91
|
+
type: PropType<"primary" | "secondary" | BentoCardBackground>;
|
|
90
92
|
default: BentoCardBackground;
|
|
93
|
+
validator: (value: BentoCardBackground) => boolean;
|
|
91
94
|
};
|
|
92
95
|
titleSize: {
|
|
93
|
-
type: PropType<BentoCardTitleSize>;
|
|
96
|
+
type: PropType<"small" | "default" | BentoCardTitleSize>;
|
|
94
97
|
default: BentoCardTitleSize;
|
|
98
|
+
validator: (value: BentoCardTitleSize) => boolean;
|
|
95
99
|
};
|
|
96
100
|
expandable: {
|
|
97
101
|
type: BooleanConstructor;
|
|
@@ -110,17 +114,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
110
114
|
default: any;
|
|
111
115
|
};
|
|
112
116
|
actionsLayout: {
|
|
113
|
-
type: PropType<BentoButtonActionsLayout>;
|
|
114
|
-
default: import("
|
|
117
|
+
type: PropType<BentoButtonActionsLayout | "buttons-end" | "fill-container" | "space-between" | "vertical-stack" | "buttons-start">;
|
|
118
|
+
default: import("../button").BentoButtonActionsLayoutBasic;
|
|
115
119
|
validator: (value: BentoButtonActionsLayout) => boolean;
|
|
116
120
|
};
|
|
117
121
|
}>>, {
|
|
118
122
|
disabled: boolean;
|
|
119
|
-
background: BentoCardBackground;
|
|
123
|
+
background: "primary" | "secondary" | BentoCardBackground;
|
|
120
124
|
actions: BentoButtonActionsList;
|
|
121
|
-
actionsLayout: BentoButtonActionsLayout;
|
|
125
|
+
actionsLayout: BentoButtonActionsLayout | "buttons-end" | "fill-container" | "space-between" | "vertical-stack" | "buttons-start";
|
|
122
126
|
closed: boolean;
|
|
123
|
-
titleSize: BentoCardTitleSize;
|
|
127
|
+
titleSize: "small" | "default" | BentoCardTitleSize;
|
|
124
128
|
expandable: boolean;
|
|
125
129
|
}>;
|
|
126
130
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PropType } from 'vue';
|
|
2
2
|
import { BentoCheckboxEvent, BentoCheckboxType } from './checkbox.types';
|
|
3
|
-
import { BentoTypographyElement, BentoTypographyVariant } from
|
|
3
|
+
import { BentoTypographyElement, BentoTypographyVariant } from "../typography";
|
|
4
4
|
import { BentoCheckboxGroupItems } from './components/checkbox-group/checkbox-group.types';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
6
6
|
value: {
|