@adyen/bento-vue3 1.1.0 → 1.2.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/packages/vue2/src/components/accordion/accordion.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/accordion/components/accordion-item.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +24 -20
- package/dist/@types/packages/vue2/src/components/avatar-image/avatar-image.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/components/badge/badge.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/button/button.vue.d.ts +43 -43
- 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 +9 -9
- package/dist/@types/packages/vue2/src/components/button/components/loading-button/loading-button.vue.d.ts +6 -6
- 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 +36 -32
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +14 -14
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +10 -10
- package/dist/@types/packages/vue2/src/components/click-outside/click-outside.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +23 -19
- package/dist/@types/packages/vue2/src/components/code-snippet/composables/useLanguage.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/country/composables/useCountryCapital/useCountryCapital.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/country/composables/useCountryFlag.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/country/composables/useCountryName/useCountryName.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/country/composables/useCountryPhoneCode/useCountryPhoneCode.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +15 -13
- package/dist/@types/packages/vue2/src/components/currency/currency.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-columns/data-grid-columns.vue.d.ts +12 -12
- 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 +11 -11
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +12 -12
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateBodyFitContentDynamicStyles/useCalculateBodyFitContentDynamicStyles.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useColumnReorderer/useColumnReorderer.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useConfigSettings/useConfigSettings.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useKeyboardNavigator/useKeyboardNavigator.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useResizer.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useSelector.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/useSorter.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 +30 -30
- package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +11 -9
- package/dist/@types/packages/vue2/src/components/date-picker/composables/use-date-picker-single-calendar-text.types.d.ts +1 -1
- 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 +8 -8
- 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/composables/use-date-range-picker-calendar-text.types.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 +9 -9
- package/dist/@types/packages/vue2/src/components/divider/divider.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +10 -10
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/composables/useDropdownOptionsListbox.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +100 -98
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +7 -7
- 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 +4 -4
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-country/composables/useCountryItems.d.ts +4 -4
- 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 +5 -5
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/dist/@types/packages/vue2/src/components/dropdown/composables/useDisplayValue.types.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/dropdown/composables/useDropdownSearchFilter.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/dropdown/composables/useKeyboardNavigation.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 +27 -25
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +41 -41
- 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 +3 -3
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/base-filter.vue.d.ts +13 -13
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/components/filter-bar-filter-button/filter-bar-filter-button.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter/composables/use-base-filter.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter-button/base-filter-button.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/filter-bar/components/boolean-filter/boolean-filter.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-filter/date-filter.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +18 -18
- package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/range-filter.vue.d.ts +10 -10
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.vue.d.ts +14 -14
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-avatar-filter/select-avatar-filter.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-payment-method-filter/select-payment-method-filter.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +6 -6
- 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 +12 -12
- package/dist/@types/packages/vue2/src/components/focus-trap/focus-trap.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +10 -10
- package/dist/@types/packages/vue2/src/components/info-icon/info-icon.vue.d.ts +11 -9
- 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 +36 -28
- package/dist/@types/packages/vue2/src/components/internal/avatar/avatar.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/internal/base-button/base-button.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +10 -10
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/__test__/calendar-month-day-stub.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 +5 -5
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/composables/move-calendar-date.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +6 -6
- package/dist/@types/packages/vue2/src/components/internal/copy/copy.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/internal/error-message/error-message.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/footer-actions/footer-actions.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/internal/grid-layout/grid-layout.vue.d.ts +4 -4
- 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 +11 -11
- 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 +6 -6
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +15 -15
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option/listbox-option.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +9 -9
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select-option/listbox-single-select-option.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +24 -22
- 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 +9 -9
- package/dist/@types/packages/vue2/src/components/loading-indicator/loading-indicator.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 +7 -7
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item-list/menu-item-list.vue.d.ts +8 -8
- package/dist/@types/packages/vue2/src/components/menu/components/menu-list-container/menu-list-container.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/menu/components/sub-menu-item-list/sub-menu-item-list.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +11 -11
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/__mocks__/base-modal.vue.d.ts +13 -13
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +13 -13
- 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 +13 -13
- package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +28 -20
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-context/pagination-context.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-controls/pagination-controls.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-results-per-page/pagination-results-per-page.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/payment-method/composables/usePaymentIcon.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +11 -9
- package/dist/@types/packages/vue2/src/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/popover/components/popover-image/popover-image.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/popover/components/popover-title/popover-title.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/popover/popover.vue.d.ts +19 -19
- 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 +7 -7
- package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +10 -10
- package/dist/@types/packages/vue2/src/components/search-bar/search-bar.vue.d.ts +97 -85
- package/dist/@types/packages/vue2/src/components/search-bar/useSearchBarDataFilter.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +4 -4
- package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/status/status.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/structured-list/structured-list.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +47 -39
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +19 -13
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +19 -13
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +19 -13
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/summary-grid/summary-grid.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/tag/tag.vue.d.ts +13 -13
- package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +25 -23
- package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +30 -30
- package/dist/@types/packages/vue2/src/components/timeline/timeline.types.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/timeline/timeline.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/toast/components/toast-item/toast-item.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/toast/toast.vue.d.ts +5 -5
- 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 +16 -16
- package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +37 -37
- package/dist/@types/packages/vue2/src/components/typography/typography.vue.d.ts +10 -10
- package/dist/@types/packages/vue2/src/composables/initials.d.ts +2 -2
- package/dist/@types/packages/vue2/src/composables/use-checkbox-select-all/use-checkbox-select-all.d.ts +3 -3
- package/dist/@types/packages/vue2/src/composables/use-has-slot/use-has-slot.d.ts +1 -1
- package/dist/@types/packages/vue2/src/composables/useDynamicImport.d.ts +2 -2
- package/dist/@types/packages/vue2/src/directives/click-outside/directive.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/keyboard-navigation/keyboard-navigation.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/keyboard-navigation/keyboard-navigation.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/tooltip/tooltip.types.d.ts +1 -1
- package/dist/@types/packages/vue2/src/install.d.ts +1 -1
- package/dist/@types/packages/vue2/src/plugins/toastController.d.ts +1 -1
- package/dist/@types/packages/vue2/src/types/elements.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/maybe-ref.d.ts +1 -1
- package/dist/@types/packages/vue2/src/types/refs.d.ts +1 -1
- package/dist/@types/packages/vue2/src/utils/ts/aria-label.d.ts +2 -2
- 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/@types/packages/vue2/src/utils/ts/get-slot-text/get-slot-text.d.ts +1 -1
- package/dist/@types/packages/vue2/src/utils/ts/i18n.d.ts +1 -1
- package/dist/alert.js +49 -47
- package/dist/alert.js.map +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/dropdown.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/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/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/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.css +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/badge.js +1 -1
- package/dist/button.js +3 -3
- package/dist/card.js +77 -68
- package/dist/card.js.map +1 -1
- package/dist/checkbox.js +16 -16
- package/dist/checkbox.js.map +1 -1
- package/dist/chunks/{base-button.fe807878.js → base-button.4a56c2fb.js} +2 -2
- package/dist/chunks/{base-button.fe807878.js.map → base-button.4a56c2fb.js.map} +1 -1
- package/dist/chunks/{button-actions.59449cda.js → button-actions.a6e541ad.js} +7 -7
- package/dist/chunks/{button-actions.59449cda.js.map → button-actions.a6e541ad.js.map} +1 -1
- package/dist/chunks/{button.4ccc3a72.js → button.1f630b6e.js} +10 -10
- package/dist/chunks/button.1f630b6e.js.map +1 -0
- package/dist/chunks/{calendar.1fb0d5b2.js → calendar.08885a56.js} +4 -4
- package/dist/chunks/{calendar.1fb0d5b2.js.map → calendar.08885a56.js.map} +1 -1
- package/dist/chunks/{checkbox.39fa87c7.js → checkbox.cfb8b8df.js} +3 -3
- package/dist/chunks/{checkbox.39fa87c7.js.map → checkbox.cfb8b8df.js.map} +1 -1
- package/dist/chunks/{controls-group.0126679a.js → controls-group.806da9bd.js} +2 -2
- package/dist/chunks/{controls-group.0126679a.js.map → controls-group.806da9bd.js.map} +1 -1
- package/dist/chunks/{copy.012e43f2.js → copy.1ce0203e.js} +3 -3
- package/dist/chunks/{copy.012e43f2.js.map → copy.1ce0203e.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.2ac50ee2.js → dropdown-default-textbox.dd77bb42.js} +2 -2
- package/dist/chunks/{dropdown-default-textbox.2ac50ee2.js.map → dropdown-default-textbox.dd77bb42.js.map} +1 -1
- package/dist/chunks/{dropdown.374481a8.js → dropdown.f9997464.js} +84 -82
- package/dist/chunks/dropdown.f9997464.js.map +1 -0
- package/dist/chunks/{error-message.a65a9abf.js → error-message.b88bb75a.js} +2 -2
- package/dist/chunks/{error-message.a65a9abf.js.map → error-message.b88bb75a.js.map} +1 -1
- package/dist/chunks/{index.0f958a0c.js → index.361c61d3.js} +2 -2
- package/dist/chunks/{index.0f958a0c.js.map → index.361c61d3.js.map} +1 -1
- package/dist/chunks/{index.05d4c01b.js → index.64b7b3cc.js} +6 -6
- package/dist/chunks/{index.05d4c01b.js.map → index.64b7b3cc.js.map} +1 -1
- package/dist/chunks/{index.c25bbcc8.js → index.7dd953ea.js} +53 -52
- package/dist/chunks/{index.c25bbcc8.js.map → index.7dd953ea.js.map} +1 -1
- package/dist/chunks/{index.1e002876.js → index.96001b1d.js} +3 -3
- package/dist/chunks/{index.1e002876.js.map → index.96001b1d.js.map} +1 -1
- package/dist/chunks/{index.b2d970f6.js → index.b46a5047.js} +20 -20
- package/dist/chunks/{index.b2d970f6.js.map → index.b46a5047.js.map} +1 -1
- package/dist/chunks/index.ebf5f6cf.js +119 -0
- package/dist/chunks/index.ebf5f6cf.js.map +1 -0
- package/dist/chunks/{listbox-option-tag.caa1ceba.js → listbox-option-tag.73661a5d.js} +3 -3
- package/dist/chunks/{listbox-option-tag.caa1ceba.js.map → listbox-option-tag.73661a5d.js.map} +1 -1
- package/dist/chunks/{listbox.ceacb0ca.js → listbox.7b5e0eee.js} +42 -41
- package/dist/chunks/{listbox.ceacb0ca.js.map → listbox.7b5e0eee.js.map} +1 -1
- package/dist/chunks/{loading-button.5b8db3dc.js → loading-button.426d89b9.js} +2 -2
- package/dist/chunks/{loading-button.5b8db3dc.js.map → loading-button.426d89b9.js.map} +1 -1
- package/dist/chunks/{tooltip.ca53a83a.js → tooltip.53290a34.js} +2 -2
- package/dist/chunks/{tooltip.ca53a83a.js.map → tooltip.53290a34.js.map} +1 -1
- package/dist/chunks/useCountryItems.e83ef8f0.js.map +1 -1
- package/dist/code-snippet.js +71 -69
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +25 -24
- 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 +204 -204
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +21 -21
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +3 -3
- package/dist/dropdown.js.map +1 -1
- package/dist/filter-bar.js +13 -13
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/header.js +61 -61
- package/dist/header.js.map +1 -1
- package/dist/index.js +65 -65
- package/dist/info-icon.js +20 -19
- package/dist/info-icon.js.map +1 -1
- package/dist/input-field.js +81 -77
- package/dist/input-field.js.map +1 -1
- package/dist/internal.js +6 -6
- package/dist/link.js +15 -15
- package/dist/link.js.map +1 -1
- package/dist/menu.js +5 -5
- package/dist/menu.js.map +1 -1
- package/dist/modal.js +113 -109
- package/dist/modal.js.map +1 -1
- package/dist/pagination.js +4 -4
- package/dist/payment-method.js +15 -14
- package/dist/payment-method.js.map +1 -1
- package/dist/popover.js +21 -21
- package/dist/popover.js.map +1 -1
- package/dist/popper-container.js +17 -17
- package/dist/popper-container.js.map +1 -1
- package/dist/radio-group.js +5 -5
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/segmented-control.js +4 -4
- package/dist/status.js +6 -6
- package/dist/status.js.map +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +155 -142
- package/dist/summary-grid.js.map +1 -1
- package/dist/tabs.js +2 -2
- package/dist/tag.js +8 -8
- package/dist/tag.js.map +1 -1
- package/dist/textarea.js +25 -21
- package/dist/textarea.js.map +1 -1
- package/dist/timeline.js +31 -31
- package/dist/timeline.js.map +1 -1
- package/dist/toast.js +3 -3
- package/dist/toggle.js +157 -3
- package/dist/toggle.js.map +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +5 -4
- package/dist/@types/packages/vue2/src/types/label-position.d.ts +0 -4
- package/dist/chunks/button.4ccc3a72.js.map +0 -1
- package/dist/chunks/dropdown.374481a8.js.map +0 -1
- package/dist/chunks/index.0b6c7187.js +0 -160
- package/dist/chunks/index.0b6c7187.js.map +0 -1
- package/dist/chunks/index.92f7d550.js +0 -119
- package/dist/chunks/index.92f7d550.js.map +0 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PropType } from
|
|
1
|
+
import { PropType } from "../../../../vue3/node_modules/vue";
|
|
2
2
|
import { BentoTypographyElement, BentoTypographyVariant } from './typography.types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<{
|
|
3
|
+
declare const _default: import("../../../../vue3/node_modules/vue").DefineComponent<{
|
|
4
4
|
el: {
|
|
5
|
-
type: PropType<BentoTypographyElement>;
|
|
5
|
+
type: PropType<"div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | BentoTypographyElement>;
|
|
6
6
|
default: BentoTypographyElement;
|
|
7
7
|
validator: (value: BentoTypographyElement) => boolean;
|
|
8
8
|
};
|
|
@@ -15,7 +15,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
15
15
|
default: boolean;
|
|
16
16
|
};
|
|
17
17
|
variant: {
|
|
18
|
-
type: PropType<BentoTypographyVariant>;
|
|
18
|
+
type: PropType<"body" | "caption" | "title" | "subtitle" | BentoTypographyVariant>;
|
|
19
19
|
default: BentoTypographyVariant;
|
|
20
20
|
validator: (value: BentoTypographyVariant) => boolean;
|
|
21
21
|
};
|
|
@@ -32,12 +32,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
32
32
|
default: boolean;
|
|
33
33
|
};
|
|
34
34
|
}, {
|
|
35
|
-
conditionalClasses: import("vue").ComputedRef<{
|
|
35
|
+
conditionalClasses: import("../../../../vue3/node_modules/vue").ComputedRef<{
|
|
36
36
|
[x: string]: boolean;
|
|
37
37
|
}>;
|
|
38
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
38
|
+
}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, {}, string, import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
39
39
|
el: {
|
|
40
|
-
type: PropType<BentoTypographyElement>;
|
|
40
|
+
type: PropType<"div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | BentoTypographyElement>;
|
|
41
41
|
default: BentoTypographyElement;
|
|
42
42
|
validator: (value: BentoTypographyElement) => boolean;
|
|
43
43
|
};
|
|
@@ -50,7 +50,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
50
50
|
default: boolean;
|
|
51
51
|
};
|
|
52
52
|
variant: {
|
|
53
|
-
type: PropType<BentoTypographyVariant>;
|
|
53
|
+
type: PropType<"body" | "caption" | "title" | "subtitle" | BentoTypographyVariant>;
|
|
54
54
|
default: BentoTypographyVariant;
|
|
55
55
|
validator: (value: BentoTypographyVariant) => boolean;
|
|
56
56
|
};
|
|
@@ -70,8 +70,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
70
|
wide: boolean;
|
|
71
71
|
stronger: boolean;
|
|
72
72
|
strongest: boolean;
|
|
73
|
-
el: BentoTypographyElement;
|
|
74
|
-
variant: BentoTypographyVariant;
|
|
73
|
+
el: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | BentoTypographyElement;
|
|
74
|
+
variant: "body" | "caption" | "title" | "subtitle" | BentoTypographyVariant;
|
|
75
75
|
medium: boolean;
|
|
76
76
|
large: boolean;
|
|
77
77
|
}>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ComputedRef } from
|
|
2
|
-
import { MaybeRef } from
|
|
1
|
+
import { ComputedRef } from "../../../vue3/node_modules/vue";
|
|
2
|
+
import { MaybeRef } from "../types";
|
|
3
3
|
export declare const useInitials: (username: MaybeRef<string | null>) => ComputedRef<string | null>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ComputedRef } from
|
|
2
|
-
import type { BentoListboxMultiSelectValue, Fn } from
|
|
3
|
-
import { BentoListboxOptions } from
|
|
1
|
+
import type { ComputedRef } from "../../../../vue3/node_modules/vue";
|
|
2
|
+
import type { BentoListboxMultiSelectValue, Fn } from "../../types";
|
|
3
|
+
import { BentoListboxOptions } from "../../types";
|
|
4
4
|
export declare const useCheckboxSelectAll: (selectedItemsList: ComputedRef<BentoListboxMultiSelectValue>, items: ComputedRef<BentoListboxOptions>, selectAll: Fn, unselectAll: Fn) => {
|
|
5
5
|
isAllSelected: ComputedRef<boolean>;
|
|
6
6
|
isIndeterminate: ComputedRef<boolean>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Slots } from
|
|
1
|
+
import type { Slots } from "../../../../vue3/node_modules/vue";
|
|
2
2
|
export declare const useHasSlot: (slots: Slots) => (name: string) => boolean;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { MaybeRef } from
|
|
2
|
-
export declare const useDynamicIconImport: (packageName: string, suffixSvgSrc: MaybeRef<string>, fallBackSrc: string) => import("vue").Ref<string>;
|
|
1
|
+
import { MaybeRef } from "../types";
|
|
2
|
+
export declare const useDynamicIconImport: (packageName: string, suffixSvgSrc: MaybeRef<string>, fallBackSrc: string) => import("../../../vue3/node_modules/vue").Ref<string>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { MaybeElementRef } from
|
|
1
|
+
import type { MaybeElementRef } from "../../types";
|
|
2
2
|
import type { OnClickOutsideHandler, OnClickOutsideOptions } from './types';
|
|
3
3
|
export declare function onClickOutside<T extends OnClickOutsideOptions>(target: MaybeElementRef, handler: OnClickOutsideHandler, options?: T): () => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Fn, MaybeComputedRef } from
|
|
1
|
+
import type { Fn, MaybeComputedRef } from "../../../types";
|
|
2
2
|
import type { Arrayable, GeneralEventListener } from './types';
|
|
3
3
|
export declare function useEventListener<E extends keyof WindowEventMap>(event: Arrayable<E>, listener: Arrayable<(this: Window, ev: WindowEventMap[E]) => unknown>, options?: MaybeComputedRef<boolean | AddEventListenerOptions>): Fn;
|
|
4
4
|
export declare function useEventListener<E extends keyof WindowEventMap>(target: Window, event: Arrayable<E>, listener: Arrayable<(this: Window, ev: WindowEventMap[E]) => unknown>, options?: MaybeComputedRef<boolean | AddEventListenerOptions>): Fn;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { MaybeComputedElementRef, MaybeElement } from
|
|
1
|
+
import type { MaybeComputedElementRef, MaybeElement } from "../../types";
|
|
2
2
|
export declare const defaultWindow: Window & typeof globalThis;
|
|
3
3
|
export declare const isIOS: boolean;
|
|
4
4
|
export declare function resolveUnref<T>(r: any): T;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PopperContainerPositionBasic } from
|
|
1
|
+
import { PopperContainerPositionBasic } from "../../components/popper-container";
|
|
2
2
|
import type { DirectiveBinding } from 'vue/types/options';
|
|
3
3
|
export declare const BentoTooltipPosition: {
|
|
4
4
|
TOP: PopperContainerPositionBasic.TOP;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Component, ComponentPublicInstance } from
|
|
1
|
+
import type { Component, ComponentPublicInstance } from "../../../vue3/node_modules/vue";
|
|
2
2
|
import { MaybeComputedRef, MaybeRef } from './refs';
|
|
3
3
|
export type VueInstance = ComponentPublicInstance;
|
|
4
4
|
export type VueNodeElement = Component | Element | (Component | Element)[] | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BentoSearchBarItem } from
|
|
1
|
+
import { BentoSearchBarItem } from "../components/search-bar";
|
|
2
2
|
export type BentoListboxValue = string | number;
|
|
3
3
|
export type BentoListboxMultiSelectValue = BentoListboxValue[];
|
|
4
4
|
export interface BentoListboxOptionItem extends BentoSearchBarItem {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ref } from
|
|
1
|
+
import { Ref } from "../../../vue3/node_modules/vue";
|
|
2
2
|
export type MaybeRef<T> = T | Ref<T>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComputedRef, Ref } from
|
|
1
|
+
import { ComputedRef, Ref } from "../../../vue3/node_modules/vue";
|
|
2
2
|
export type MaybeRef<T> = T | Ref<T>;
|
|
3
3
|
export type MaybeReadonlyRef<T> = (() => T) | ComputedRef<T>;
|
|
4
4
|
export type MaybeComputedRef<T> = MaybeReadonlyRef<T> | MaybeRef<T>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ComputedRef } from
|
|
2
|
-
import { MaybeRef } from
|
|
1
|
+
import { ComputedRef } from "../../../../vue3/node_modules/vue";
|
|
2
|
+
import { MaybeRef } from "../../types/maybe-ref";
|
|
3
3
|
interface ariaLabelOptions {
|
|
4
4
|
ariaLabel?: MaybeRef<string | null>;
|
|
5
5
|
label?: MaybeRef<string | null>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ListenOptions } from
|
|
1
|
+
import { ListenOptions } from "../../types/utils-events";
|
|
2
2
|
export declare function listen(target: EventTarget, type: string, listener: EventListener, options?: ListenOptions): any;
|
|
3
3
|
export declare const stopEventPropagation: (event: Event) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BentoFocusTrapHorizontalNavigationEvent, BentoFocusTrapVerticalNavigationEvent } from
|
|
1
|
+
import { BentoFocusTrapHorizontalNavigationEvent, BentoFocusTrapVerticalNavigationEvent } from "../../components/focus-trap/focus-trap.types";
|
|
2
2
|
export declare const deferAction: (callback: FrameRequestCallback) => number;
|
|
3
3
|
export declare const getNextFocusableElement: (factor: any, element: any) => HTMLElement;
|
|
4
4
|
export declare const getArrowType: (event: KeyboardEvent, arrowOrder: BentoFocusTrapVerticalNavigationEvent[] | BentoFocusTrapHorizontalNavigationEvent[]) => {
|
package/dist/alert.js
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { openBlock as o, createElementBlock as
|
|
2
|
-
import { B as
|
|
3
|
-
import { B as
|
|
1
|
+
import { openBlock as o, createElementBlock as u, mergeProps as w, toDisplayString as R, createCommentVNode as r, pushScopeId as G, popScopeId as A, createElementVNode as p, defineComponent as D, computed as n, onMounted as N, resolveComponent as h, normalizeClass as O, createBlock as d, resolveDynamicComponent as P, withCtx as f, renderSlot as g, createVNode as U } from "vue";
|
|
2
|
+
import { B as M, a as W } from "./chunks/button.1f630b6e.js";
|
|
3
|
+
import { B as F, a as b, b as I } from "./chunks/index.ebf5f6cf.js";
|
|
4
4
|
import { C as Y, I as S } from "./chunks/info-filled.514a2db6.js";
|
|
5
5
|
import { _ as H } from "./chunks/_plugin-vue_export-helper.dad06003.js";
|
|
6
6
|
import { C as T } from "./chunks/cross-circle-fill.0feb37b3.js";
|
|
7
7
|
import { C as $ } from "./chunks/checkmark-circle-fill.e6b84561.js";
|
|
8
8
|
import { u as Z } from "./chunks/use-has-slot.068222e6.js";
|
|
9
|
-
import { u as
|
|
10
|
-
import "./assets/
|
|
11
|
-
var
|
|
9
|
+
import { u as j } from "./chunks/i18n.6c402773.js";
|
|
10
|
+
import "./assets/index13.css";
|
|
11
|
+
var i = /* @__PURE__ */ ((t) => (t.DEFAULT = "default", t.TIP = "tip", t))(i || {}), e = /* @__PURE__ */ ((t) => (t.WARNING = "warning", t.CRITICAL = "critical", t.HIGHLIGHT = "highlight", t.SUCCESS = "success", t))(e || {}), y = /* @__PURE__ */ ((t) => (t.CLOSE_ALERT = "close-alert", t))(y || {});
|
|
12
12
|
let B = 0;
|
|
13
|
-
const
|
|
13
|
+
const q = {
|
|
14
14
|
beforeCreate() {
|
|
15
15
|
this.uuid = B.toString(), B += 1;
|
|
16
16
|
}
|
|
17
|
-
},
|
|
17
|
+
}, z = (t) => (G("data-v-1b1bf797"), t = t(), A(), t), J = { key: 0 }, K = /* @__PURE__ */ z(() => /* @__PURE__ */ p("path", {
|
|
18
18
|
fill: "#00112C",
|
|
19
19
|
"fill-rule": "evenodd",
|
|
20
20
|
d: "M15.349 11.5376L9.99897 2.19758C9.79966 1.85738 9.51482 1.57524 9.17274 1.37919C8.83066 1.18314 8.44325 1.07999 8.04897 1.07999C7.65469 1.07999 7.26727 1.18314 6.92519 1.37919C6.58311 1.57524 6.29827 1.85738 6.09897 2.19758L0.648967 11.5376C0.450427 11.8833 0.347305 12.2755 0.350155 12.6742C0.353005 13.0728 0.461725 13.4636 0.665188 13.8064C0.868651 14.1493 1.15955 14.4319 1.50812 14.6254C1.85668 14.8188 2.2504 14.9162 2.64897 14.9076H13.399C13.7933 14.9073 14.1807 14.8034 14.5222 14.6063C14.8638 14.4092 15.1475 14.1258 15.345 13.7845C15.5425 13.4431 15.6468 13.0559 15.6475 12.6615C15.6482 12.2672 15.5453 11.8796 15.349 11.5376ZM7.24897 5.32758C7.24897 5.12866 7.32798 4.9379 7.46864 4.79725C7.60929 4.65659 7.80006 4.57758 7.99897 4.57758C8.19788 4.57758 8.38864 4.65659 8.5293 4.79725C8.66995 4.9379 8.74897 5.12866 8.74897 5.32758V8.32758C8.74897 8.52649 8.66995 8.71725 8.5293 8.85791C8.38864 8.99856 8.19788 9.07758 7.99897 9.07758C7.80006 9.07758 7.60929 8.99856 7.46864 8.85791C7.32798 8.71725 7.24897 8.52649 7.24897 8.32758V5.32758ZM7.99897 12.3276C7.80119 12.3276 7.60785 12.2689 7.4434 12.159C7.27895 12.0492 7.15077 11.893 7.07509 11.7103C6.9994 11.5275 6.9796 11.3265 7.01818 11.1325C7.05677 10.9385 7.15201 10.7603 7.29186 10.6205C7.43171 10.4806 7.6099 10.3854 7.80388 10.3468C7.99786 10.3082 8.19893 10.328 8.38165 10.4037C8.56438 10.4794 8.72056 10.6076 8.83044 10.772C8.94032 10.9365 8.99897 11.1298 8.99897 11.3276C8.99897 11.5928 8.89361 11.8471 8.70607 12.0347C8.51854 12.2222 8.26418 12.3276 7.99897 12.3276Z",
|
|
21
21
|
"clip-rule": "evenodd"
|
|
22
22
|
}, null, -1));
|
|
23
|
-
function Q(t, s,
|
|
24
|
-
return o(),
|
|
23
|
+
function Q(t, s, C, l, a, _) {
|
|
24
|
+
return o(), u("svg", w({ role: "img" }, t.$attrs, {
|
|
25
25
|
xmlns: "http://www.w3.org/2000/svg",
|
|
26
26
|
width: "16",
|
|
27
27
|
height: "16",
|
|
28
28
|
fill: "none"
|
|
29
29
|
}), [
|
|
30
|
-
t.$attrs["svg-title"] ? (o(),
|
|
30
|
+
t.$attrs["svg-title"] ? (o(), u("title", J, R(t.$attrs["svg-title"]), 1)) : r("", !0),
|
|
31
31
|
K
|
|
32
32
|
], 16);
|
|
33
33
|
}
|
|
34
|
-
const E = /* @__PURE__ */ H(
|
|
34
|
+
const E = /* @__PURE__ */ H(q, [["render", Q], ["__scopeId", "data-v-1b1bf797"]]), L = {
|
|
35
35
|
"en-US": {
|
|
36
36
|
highlightIcon: "Highlight icon",
|
|
37
37
|
successIcon: "Success icon",
|
|
@@ -42,7 +42,7 @@ const E = /* @__PURE__ */ H(z, [["render", Q], ["__scopeId", "data-v-1b1bf797"]]
|
|
|
42
42
|
}, X = D({
|
|
43
43
|
i18n: { messages: L },
|
|
44
44
|
name: "bento-alert",
|
|
45
|
-
components: { CrossSmall: Y, BentoButton:
|
|
45
|
+
components: { CrossSmall: Y, BentoButton: M, Warning: E, CrossCircle: T, CheckedCircle: $, Info: S, BentoTypography: F },
|
|
46
46
|
props: {
|
|
47
47
|
/**
|
|
48
48
|
* Adds a close button on the right side of the alert
|
|
@@ -57,7 +57,8 @@ const E = /* @__PURE__ */ H(z, [["render", Q], ["__scopeId", "data-v-1b1bf797"]]
|
|
|
57
57
|
*/
|
|
58
58
|
type: {
|
|
59
59
|
type: String,
|
|
60
|
-
default: e.HIGHLIGHT
|
|
60
|
+
default: e.HIGHLIGHT,
|
|
61
|
+
validator: (t) => Object.values(e).includes(t)
|
|
61
62
|
},
|
|
62
63
|
/**
|
|
63
64
|
* Variant for the alert
|
|
@@ -65,15 +66,16 @@ const E = /* @__PURE__ */ H(z, [["render", Q], ["__scopeId", "data-v-1b1bf797"]]
|
|
|
65
66
|
*/
|
|
66
67
|
variant: {
|
|
67
68
|
type: String,
|
|
68
|
-
default:
|
|
69
|
+
default: i.DEFAULT,
|
|
70
|
+
validator: (t) => Object.values(i).includes(t)
|
|
69
71
|
}
|
|
70
72
|
},
|
|
71
73
|
emits: [y.CLOSE_ALERT],
|
|
72
|
-
setup(t, { slots: s, emit:
|
|
73
|
-
const { t:
|
|
74
|
+
setup(t, { slots: s, emit: C }) {
|
|
75
|
+
const { t: l } = j({ messages: L }), a = n(() => t.variant === i.TIP), _ = n(() => ({
|
|
74
76
|
[`b-alert--${t.type}`]: t.type,
|
|
75
|
-
[`b-alert--${
|
|
76
|
-
})),
|
|
77
|
+
[`b-alert--${i.TIP}`]: a.value
|
|
78
|
+
})), c = n(() => l(`${t.type}Icon`)), m = n(() => {
|
|
77
79
|
switch (t.type) {
|
|
78
80
|
case e.CRITICAL:
|
|
79
81
|
return T;
|
|
@@ -85,12 +87,12 @@ const E = /* @__PURE__ */ H(z, [["render", Q], ["__scopeId", "data-v-1b1bf797"]]
|
|
|
85
87
|
default:
|
|
86
88
|
return S;
|
|
87
89
|
}
|
|
88
|
-
}),
|
|
90
|
+
}), v = n(() => ({
|
|
89
91
|
el: b.DIV,
|
|
90
92
|
variant: a.value ? I.CAPTION : I.BODY,
|
|
91
93
|
wide: !0
|
|
92
94
|
})), k = n(() => t.type === e.HIGHLIGHT ? "status" : "alert"), V = () => {
|
|
93
|
-
|
|
95
|
+
C(y.CLOSE_ALERT);
|
|
94
96
|
};
|
|
95
97
|
return N(() => {
|
|
96
98
|
if (!s.default && !s.description)
|
|
@@ -99,16 +101,16 @@ const E = /* @__PURE__ */ H(z, [["render", Q], ["__scopeId", "data-v-1b1bf797"]]
|
|
|
99
101
|
// Values
|
|
100
102
|
alertConditionalClasses: _,
|
|
101
103
|
computedRole: k,
|
|
102
|
-
descriptionTypography:
|
|
104
|
+
descriptionTypography: v,
|
|
103
105
|
iconComponent: m,
|
|
104
|
-
iconSvgTitle:
|
|
106
|
+
iconSvgTitle: c,
|
|
105
107
|
isTipVariant: a,
|
|
106
108
|
// Methods
|
|
107
109
|
onCloseButtonClick: V,
|
|
108
110
|
hasSlot: Z(s),
|
|
109
|
-
t:
|
|
111
|
+
t: l,
|
|
110
112
|
// Enums
|
|
111
|
-
BentoButtonVariant:
|
|
113
|
+
BentoButtonVariant: W,
|
|
112
114
|
BentoAlertTypeOption: e,
|
|
113
115
|
BentoTypographyVariant: I,
|
|
114
116
|
BentoTypographyElement: b
|
|
@@ -120,23 +122,23 @@ const x = ["role"], tt = { class: "b-alert__icon" }, et = { class: "b-alert__con
|
|
|
120
122
|
class: "b-alert__actions",
|
|
121
123
|
"data-testid": "alert-actions"
|
|
122
124
|
};
|
|
123
|
-
function nt(t, s,
|
|
124
|
-
const
|
|
125
|
-
return o(),
|
|
125
|
+
function nt(t, s, C, l, a, _) {
|
|
126
|
+
const c = h("bento-typography"), m = h("cross-small"), v = h("bento-button");
|
|
127
|
+
return o(), u("div", {
|
|
126
128
|
class: "b-alert",
|
|
127
129
|
role: t.computedRole
|
|
128
130
|
}, [
|
|
129
|
-
|
|
130
|
-
class:
|
|
131
|
+
p("div", {
|
|
132
|
+
class: O(["b-alert__inner-container", t.alertConditionalClasses])
|
|
131
133
|
}, [
|
|
132
|
-
|
|
133
|
-
(o(),
|
|
134
|
+
p("div", tt, [
|
|
135
|
+
(o(), d(P(t.iconComponent), {
|
|
134
136
|
"aria-hidden": "true",
|
|
135
137
|
"svg-title": t.iconSvgTitle
|
|
136
138
|
}, null, 8, ["svg-title"]))
|
|
137
139
|
]),
|
|
138
|
-
|
|
139
|
-
t.hasSlot("default") && !t.isTipVariant ? (o(), c
|
|
140
|
+
p("div", et, [
|
|
141
|
+
t.hasSlot("default") && !t.isTipVariant ? (o(), d(c, {
|
|
140
142
|
key: 0,
|
|
141
143
|
class: "b-alert__title",
|
|
142
144
|
el: t.BentoTypographyElement.DIV,
|
|
@@ -144,33 +146,33 @@ function nt(t, s, u, i, a, _) {
|
|
|
144
146
|
strongest: "",
|
|
145
147
|
wide: ""
|
|
146
148
|
}, {
|
|
147
|
-
default:
|
|
148
|
-
|
|
149
|
+
default: f(() => [
|
|
150
|
+
g(t.$slots, "default", {}, void 0, !0)
|
|
149
151
|
]),
|
|
150
152
|
_: 3
|
|
151
153
|
}, 8, ["el", "variant"])) : r("", !0),
|
|
152
|
-
t.hasSlot("description") ? (o(), c
|
|
154
|
+
t.hasSlot("description") ? (o(), d(c, w({
|
|
153
155
|
key: 1,
|
|
154
156
|
class: "b-alert__description"
|
|
155
157
|
}, t.descriptionTypography, { "data-testid": "alert-description" }), {
|
|
156
|
-
default:
|
|
157
|
-
|
|
158
|
+
default: f(() => [
|
|
159
|
+
g(t.$slots, "description", {}, void 0, !0)
|
|
158
160
|
]),
|
|
159
161
|
_: 3
|
|
160
162
|
}, 16)) : r("", !0),
|
|
161
|
-
t.hasSlot("actions") && !t.isTipVariant ? (o(),
|
|
162
|
-
|
|
163
|
+
t.hasSlot("actions") && !t.isTipVariant ? (o(), u("div", ot, [
|
|
164
|
+
g(t.$slots, "actions", {}, void 0, !0)
|
|
163
165
|
])) : r("", !0)
|
|
164
166
|
]),
|
|
165
|
-
t.closeButton && !t.isTipVariant ? (o(),
|
|
167
|
+
t.closeButton && !t.isTipVariant ? (o(), d(v, {
|
|
166
168
|
key: 0,
|
|
167
169
|
class: "b-alert__close-button",
|
|
168
170
|
variant: t.BentoButtonVariant.TERTIARY,
|
|
169
171
|
type: "button",
|
|
170
172
|
onClick: t.onCloseButtonClick
|
|
171
173
|
}, {
|
|
172
|
-
default:
|
|
173
|
-
|
|
174
|
+
default: f(() => [
|
|
175
|
+
U(m, {
|
|
174
176
|
"svg-title": t.t("close")
|
|
175
177
|
}, null, 8, ["svg-title"])
|
|
176
178
|
]),
|
|
@@ -179,11 +181,11 @@ function nt(t, s, u, i, a, _) {
|
|
|
179
181
|
], 2)
|
|
180
182
|
], 8, x);
|
|
181
183
|
}
|
|
182
|
-
const
|
|
184
|
+
const Ct = /* @__PURE__ */ H(X, [["render", nt], ["__scopeId", "data-v-9af19973"]]);
|
|
183
185
|
export {
|
|
184
|
-
|
|
186
|
+
Ct as BentoAlert,
|
|
185
187
|
y as BentoAlertEvent,
|
|
186
188
|
e as BentoAlertTypeOption,
|
|
187
|
-
|
|
189
|
+
i as BentoAlertVariant
|
|
188
190
|
};
|
|
189
191
|
//# sourceMappingURL=alert.js.map
|
package/dist/alert.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.js","sources":["../../vue2/src/components/alert/alert.types.ts","../../../node_modules/@adyen/ui-assets-icons-16/dist/vue/warning-filled.vue","../../vue2/src/components/alert/alert.vue"],"sourcesContent":["export enum BentoAlertVariant {\n DEFAULT = 'default',\n TIP = 'tip',\n}\n\nexport enum BentoAlertTypeOption {\n WARNING = 'warning',\n CRITICAL = 'critical',\n HIGHLIGHT = 'highlight',\n SUCCESS = 'success',\n}\n\nexport enum BentoAlertEvent {\n CLOSE_ALERT = 'close-alert',\n}\n","\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><path fill=\"#00112C\" fill-rule=\"evenodd\" d=\"M15.349 11.5376L9.99897 2.19758C9.79966 1.85738 9.51482 1.57524 9.17274 1.37919C8.83066 1.18314 8.44325 1.07999 8.04897 1.07999C7.65469 1.07999 7.26727 1.18314 6.92519 1.37919C6.58311 1.57524 6.29827 1.85738 6.09897 2.19758L0.648967 11.5376C0.450427 11.8833 0.347305 12.2755 0.350155 12.6742C0.353005 13.0728 0.461725 13.4636 0.665188 13.8064C0.868651 14.1493 1.15955 14.4319 1.50812 14.6254C1.85668 14.8188 2.2504 14.9162 2.64897 14.9076H13.399C13.7933 14.9073 14.1807 14.8034 14.5222 14.6063C14.8638 14.4092 15.1475 14.1258 15.345 13.7845C15.5425 13.4431 15.6468 13.0559 15.6475 12.6615C15.6482 12.2672 15.5453 11.8796 15.349 11.5376ZM7.24897 5.32758C7.24897 5.12866 7.32798 4.9379 7.46864 4.79725C7.60929 4.65659 7.80006 4.57758 7.99897 4.57758C8.19788 4.57758 8.38864 4.65659 8.5293 4.79725C8.66995 4.9379 8.74897 5.12866 8.74897 5.32758V8.32758C8.74897 8.52649 8.66995 8.71725 8.5293 8.85791C8.38864 8.99856 8.19788 9.07758 7.99897 9.07758C7.80006 9.07758 7.60929 8.99856 7.46864 8.85791C7.32798 8.71725 7.24897 8.52649 7.24897 8.32758V5.32758ZM7.99897 12.3276C7.80119 12.3276 7.60785 12.2689 7.4434 12.159C7.27895 12.0492 7.15077 11.893 7.07509 11.7103C6.9994 11.5275 6.9796 11.3265 7.01818 11.1325C7.05677 10.9385 7.15201 10.7603 7.29186 10.6205C7.43171 10.4806 7.6099 10.3854 7.80388 10.3468C7.99786 10.3082 8.19893 10.328 8.38165 10.4037C8.56438 10.4794 8.72056 10.6076 8.83044 10.772C8.94032 10.9365 8.99897 11.1298 8.99897 11.3276C8.99897 11.5928 8.89361 11.8471 8.70607 12.0347C8.51854 12.2222 8.26418 12.3276 7.99897 12.3276Z\" clip-rule=\"evenodd\"/></svg>\n</template>\n<script>\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n<style scoped lang=\"scss\">\n svg {\n display: inline-flex;\n flex-shrink: 0;\n }\n \n svg,\n svg * {\n fill: currentcolor;\n }\n</style>\n","<template>\n <div class=\"b-alert\" :role=\"computedRole\">\n <div class=\"b-alert__inner-container\" :class=\"alertConditionalClasses\">\n <div class=\"b-alert__icon\">\n <component :is=\"iconComponent\" aria-hidden=\"true\" :svg-title=\"iconSvgTitle\" />\n </div>\n\n <div class=\"b-alert__content\">\n <bento-typography\n v-if=\"hasSlot('default') && !isTipVariant\"\n class=\"b-alert__title\"\n :el=\"BentoTypographyElement.DIV\"\n :variant=\"BentoTypographyVariant.BODY\"\n strongest\n wide\n >\n <slot />\n </bento-typography>\n\n <bento-typography\n v-if=\"hasSlot('description')\"\n class=\"b-alert__description\"\n v-bind=\"descriptionTypography\"\n data-testid=\"alert-description\"\n >\n <slot name=\"description\" />\n </bento-typography>\n\n <div v-if=\"hasSlot('actions') && !isTipVariant\" class=\"b-alert__actions\" data-testid=\"alert-actions\">\n <slot name=\"actions\" />\n </div>\n </div>\n\n <bento-button\n v-if=\"closeButton && !isTipVariant\"\n class=\"b-alert__close-button\"\n :variant=\"BentoButtonVariant.TERTIARY\"\n type=\"button\"\n @click=\"onCloseButtonClick\"\n >\n <cross-small :svg-title=\"t('close')\" />\n </bento-button>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent, onMounted, PropType } from 'vue';\n\n // Component\n import { BentoAlertEvent, BentoAlertTypeOption, BentoAlertVariant } from '@/components/alert/alert.types';\n import { BentoButtonVariant } from '@/core/components/button/button.types';\n import { BentoTypography, BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';\n import { BentoButton } from '@/components/button';\n\n import CrossSmall from '@adyen/ui-assets-icons-16/vue/cross-small';\n import Warning from '@adyen/ui-assets-icons-16/vue/warning-filled';\n import CrossCircle from '@adyen/ui-assets-icons-16/vue/cross-circle-fill';\n import CheckedCircle from '@adyen/ui-assets-icons-16/vue/checkmark-circle-fill';\n import Info from '@adyen/ui-assets-icons-16/vue/info-filled';\n\n // Utils\n import { useHasSlot } from '@/composables';\n import { useI18n } from '@/utils/ts/i18n';\n\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n /**\n * An Alert component is used to display a persistent\n * notification containing information important to the user\n *\n * @example\n * import { BentoAlert, BentoAlertTypeOption } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoAlert },\n * template: `\n * <bento-alert :type=\"BentoAlertTypeOption.HIGHLIGHT\">\n * Title of the Alert\n * </bento-alert>\n * `\n * }\n */\n export default defineComponent({\n i18n: { messages },\n name: 'bento-alert',\n components: { CrossSmall, BentoButton, Warning, CrossCircle, CheckedCircle, Info, BentoTypography },\n props: {\n /**\n * Adds a close button on the right side of the alert\n */\n closeButton: {\n type: Boolean,\n default: false,\n },\n /**\n * Type of a alert; set a distinctive icon and color. Defaults to highlight.\n * @values HIGHLIGHT, SUCCESS, CRITICAL, WARNING\n */\n type: {\n type: String as PropType<BentoAlertTypeOption>,\n default: BentoAlertTypeOption.HIGHLIGHT,\n },\n /**\n * Variant for the alert\n * @values DEFAULT, TIP\n */\n variant: {\n type: String as PropType<BentoAlertVariant>,\n default: BentoAlertVariant.DEFAULT,\n },\n },\n emits: [BentoAlertEvent.CLOSE_ALERT],\n setup(props, { slots, emit }) {\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const isTipVariant = computed(() => props.variant === BentoAlertVariant.TIP);\n\n const alertConditionalClasses = computed(() => ({\n [`b-alert--${props.type}`]: props.type,\n [`b-alert--${BentoAlertVariant.TIP}`]: isTipVariant.value,\n }));\n\n const iconSvgTitle = computed(() => t(`${props.type}Icon`));\n\n const iconComponent = computed(() => {\n switch (props.type) {\n case BentoAlertTypeOption.CRITICAL:\n return CrossCircle;\n case BentoAlertTypeOption.SUCCESS:\n return CheckedCircle;\n case BentoAlertTypeOption.WARNING:\n return Warning;\n case BentoAlertTypeOption.HIGHLIGHT:\n default:\n return Info;\n }\n });\n\n const descriptionTypography = computed(() => ({\n el: BentoTypographyElement.DIV,\n variant: isTipVariant.value ? BentoTypographyVariant.CAPTION : BentoTypographyVariant.BODY,\n wide: true,\n }));\n\n const computedRole = computed(() => (props.type === BentoAlertTypeOption.HIGHLIGHT ? 'status' : 'alert'));\n\n const onCloseButtonClick = () => {\n emit(BentoAlertEvent.CLOSE_ALERT);\n };\n\n onMounted(() => {\n if (!slots.default && !slots.description) {\n throw new Error('Alert Component requires a title or a description');\n }\n });\n\n return {\n // Values\n alertConditionalClasses,\n computedRole,\n descriptionTypography,\n iconComponent,\n iconSvgTitle,\n isTipVariant,\n\n // Methods\n onCloseButtonClick,\n hasSlot: useHasSlot(slots),\n t,\n\n // Enums\n BentoButtonVariant,\n BentoAlertTypeOption,\n BentoTypographyVariant,\n BentoTypographyElement,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./alert.scss\" />\n"],"names":["BentoAlertVariant","BentoAlertVariant2","BentoAlertTypeOption","BentoAlertTypeOption2","BentoAlertEvent","BentoAlertEvent2","uuid","openBlock","createElementBlock","mergeProps","_ctx","_hoisted_1$1","toDisplayString","_sfc_main","defineComponent","messages","CrossIcon","BentoButton","Warning","CrossCircleIcon","CheckedCircleIcon","InfoIcon","BentoTypography","props","slots","emit","t","useI18n","isTipVariant","computed","alertConditionalClasses","iconSvgTitle","iconComponent","descriptionTypography","BentoTypographyElement","BentoTypographyVariant","computedRole","onCloseButtonClick","onMounted","useHasSlot","BentoButtonVariant","_hoisted_1","createBlock","resolveDynamicComponent","_component_bento_typography","createCommentVNode","withCtx","_hoisted_4","createVNode","_component_cross_small"],"mappings":"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","x_google_ignoreList":[1]}
|
|
1
|
+
{"version":3,"file":"alert.js","sources":["../../vue2/src/components/alert/alert.types.ts","../../../node_modules/@adyen/ui-assets-icons-16/dist/vue/warning-filled.vue","../../vue2/src/components/alert/alert.vue"],"sourcesContent":["export enum BentoAlertVariant {\n DEFAULT = 'default',\n TIP = 'tip',\n}\n\nexport enum BentoAlertTypeOption {\n WARNING = 'warning',\n CRITICAL = 'critical',\n HIGHLIGHT = 'highlight',\n SUCCESS = 'success',\n}\n\nexport enum BentoAlertEvent {\n CLOSE_ALERT = 'close-alert',\n}\n","\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><path fill=\"#00112C\" fill-rule=\"evenodd\" d=\"M15.349 11.5376L9.99897 2.19758C9.79966 1.85738 9.51482 1.57524 9.17274 1.37919C8.83066 1.18314 8.44325 1.07999 8.04897 1.07999C7.65469 1.07999 7.26727 1.18314 6.92519 1.37919C6.58311 1.57524 6.29827 1.85738 6.09897 2.19758L0.648967 11.5376C0.450427 11.8833 0.347305 12.2755 0.350155 12.6742C0.353005 13.0728 0.461725 13.4636 0.665188 13.8064C0.868651 14.1493 1.15955 14.4319 1.50812 14.6254C1.85668 14.8188 2.2504 14.9162 2.64897 14.9076H13.399C13.7933 14.9073 14.1807 14.8034 14.5222 14.6063C14.8638 14.4092 15.1475 14.1258 15.345 13.7845C15.5425 13.4431 15.6468 13.0559 15.6475 12.6615C15.6482 12.2672 15.5453 11.8796 15.349 11.5376ZM7.24897 5.32758C7.24897 5.12866 7.32798 4.9379 7.46864 4.79725C7.60929 4.65659 7.80006 4.57758 7.99897 4.57758C8.19788 4.57758 8.38864 4.65659 8.5293 4.79725C8.66995 4.9379 8.74897 5.12866 8.74897 5.32758V8.32758C8.74897 8.52649 8.66995 8.71725 8.5293 8.85791C8.38864 8.99856 8.19788 9.07758 7.99897 9.07758C7.80006 9.07758 7.60929 8.99856 7.46864 8.85791C7.32798 8.71725 7.24897 8.52649 7.24897 8.32758V5.32758ZM7.99897 12.3276C7.80119 12.3276 7.60785 12.2689 7.4434 12.159C7.27895 12.0492 7.15077 11.893 7.07509 11.7103C6.9994 11.5275 6.9796 11.3265 7.01818 11.1325C7.05677 10.9385 7.15201 10.7603 7.29186 10.6205C7.43171 10.4806 7.6099 10.3854 7.80388 10.3468C7.99786 10.3082 8.19893 10.328 8.38165 10.4037C8.56438 10.4794 8.72056 10.6076 8.83044 10.772C8.94032 10.9365 8.99897 11.1298 8.99897 11.3276C8.99897 11.5928 8.89361 11.8471 8.70607 12.0347C8.51854 12.2222 8.26418 12.3276 7.99897 12.3276Z\" clip-rule=\"evenodd\"/></svg>\n</template>\n<script>\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n<style scoped lang=\"scss\">\n svg {\n display: inline-flex;\n flex-shrink: 0;\n }\n \n svg,\n svg * {\n fill: currentcolor;\n }\n</style>\n","<template>\n <div class=\"b-alert\" :role=\"computedRole\">\n <div class=\"b-alert__inner-container\" :class=\"alertConditionalClasses\">\n <div class=\"b-alert__icon\">\n <component :is=\"iconComponent\" aria-hidden=\"true\" :svg-title=\"iconSvgTitle\" />\n </div>\n\n <div class=\"b-alert__content\">\n <bento-typography\n v-if=\"hasSlot('default') && !isTipVariant\"\n class=\"b-alert__title\"\n :el=\"BentoTypographyElement.DIV\"\n :variant=\"BentoTypographyVariant.BODY\"\n strongest\n wide\n >\n <slot />\n </bento-typography>\n\n <bento-typography\n v-if=\"hasSlot('description')\"\n class=\"b-alert__description\"\n v-bind=\"descriptionTypography\"\n data-testid=\"alert-description\"\n >\n <slot name=\"description\" />\n </bento-typography>\n\n <div v-if=\"hasSlot('actions') && !isTipVariant\" class=\"b-alert__actions\" data-testid=\"alert-actions\">\n <slot name=\"actions\" />\n </div>\n </div>\n\n <bento-button\n v-if=\"closeButton && !isTipVariant\"\n class=\"b-alert__close-button\"\n :variant=\"BentoButtonVariant.TERTIARY\"\n type=\"button\"\n @click=\"onCloseButtonClick\"\n >\n <cross-small :svg-title=\"t('close')\" />\n </bento-button>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent, onMounted, PropType } from 'vue';\n\n // Component\n import { BentoAlertEvent, BentoAlertTypeOption, BentoAlertVariant } from '@/components/alert/alert.types';\n import { BentoButtonVariant } from '@/core/components/button/button.types';\n import { BentoTypography, BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';\n import { BentoButton } from '@/components/button';\n\n import CrossSmall from '@adyen/ui-assets-icons-16/vue/cross-small';\n import Warning from '@adyen/ui-assets-icons-16/vue/warning-filled';\n import CrossCircle from '@adyen/ui-assets-icons-16/vue/cross-circle-fill';\n import CheckedCircle from '@adyen/ui-assets-icons-16/vue/checkmark-circle-fill';\n import Info from '@adyen/ui-assets-icons-16/vue/info-filled';\n\n // Utils\n import { useHasSlot } from '@/composables';\n import { useI18n } from '@/utils/ts/i18n';\n\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n /**\n * An Alert component is used to display a persistent\n * notification containing information important to the user\n *\n * @example\n * import { BentoAlert, BentoAlertTypeOption } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoAlert },\n * template: `\n * <bento-alert :type=\"BentoAlertTypeOption.HIGHLIGHT\">\n * Title of the Alert\n * </bento-alert>\n * `\n * }\n */\n export default defineComponent({\n i18n: { messages },\n name: 'bento-alert',\n components: { CrossSmall, BentoButton, Warning, CrossCircle, CheckedCircle, Info, BentoTypography },\n props: {\n /**\n * Adds a close button on the right side of the alert\n */\n closeButton: {\n type: Boolean,\n default: false,\n },\n /**\n * Type of a alert; set a distinctive icon and color. Defaults to highlight.\n * @values HIGHLIGHT, SUCCESS, CRITICAL, WARNING\n */\n type: {\n type: String as PropType<BentoAlertTypeOption | `${BentoAlertTypeOption}`>,\n default: BentoAlertTypeOption.HIGHLIGHT,\n validator: (value: BentoAlertTypeOption) => Object.values(BentoAlertTypeOption).includes(value),\n },\n /**\n * Variant for the alert\n * @values DEFAULT, TIP\n */\n variant: {\n type: String as PropType<BentoAlertVariant | `${BentoAlertVariant}`>,\n default: BentoAlertVariant.DEFAULT,\n validator: (value: BentoAlertVariant) => Object.values(BentoAlertVariant).includes(value),\n },\n },\n emits: [BentoAlertEvent.CLOSE_ALERT],\n setup(props, { slots, emit }) {\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const isTipVariant = computed(() => props.variant === BentoAlertVariant.TIP);\n\n const alertConditionalClasses = computed(() => ({\n [`b-alert--${props.type}`]: props.type,\n [`b-alert--${BentoAlertVariant.TIP}`]: isTipVariant.value,\n }));\n\n const iconSvgTitle = computed(() => t(`${props.type}Icon`));\n\n const iconComponent = computed(() => {\n switch (props.type) {\n case BentoAlertTypeOption.CRITICAL:\n return CrossCircle;\n case BentoAlertTypeOption.SUCCESS:\n return CheckedCircle;\n case BentoAlertTypeOption.WARNING:\n return Warning;\n case BentoAlertTypeOption.HIGHLIGHT:\n default:\n return Info;\n }\n });\n\n const descriptionTypography = computed(() => ({\n el: BentoTypographyElement.DIV,\n variant: isTipVariant.value ? BentoTypographyVariant.CAPTION : BentoTypographyVariant.BODY,\n wide: true,\n }));\n\n const computedRole = computed(() => (props.type === BentoAlertTypeOption.HIGHLIGHT ? 'status' : 'alert'));\n\n const onCloseButtonClick = () => {\n emit(BentoAlertEvent.CLOSE_ALERT);\n };\n\n onMounted(() => {\n if (!slots.default && !slots.description) {\n throw new Error('Alert Component requires a title or a description');\n }\n });\n\n return {\n // Values\n alertConditionalClasses,\n computedRole,\n descriptionTypography,\n iconComponent,\n iconSvgTitle,\n isTipVariant,\n\n // Methods\n onCloseButtonClick,\n hasSlot: useHasSlot(slots),\n t,\n\n // Enums\n BentoButtonVariant,\n BentoAlertTypeOption,\n BentoTypographyVariant,\n BentoTypographyElement,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./alert.scss\" />\n"],"names":["BentoAlertVariant","BentoAlertVariant2","BentoAlertTypeOption","BentoAlertTypeOption2","BentoAlertEvent","BentoAlertEvent2","uuid","openBlock","createElementBlock","mergeProps","_ctx","_hoisted_1$1","toDisplayString","_sfc_main","defineComponent","messages","CrossIcon","BentoButton","Warning","CrossCircleIcon","CheckedCircleIcon","InfoIcon","BentoTypography","value","props","slots","emit","t","useI18n","isTipVariant","computed","alertConditionalClasses","iconSvgTitle","iconComponent","descriptionTypography","BentoTypographyElement","BentoTypographyVariant","computedRole","onCloseButtonClick","onMounted","useHasSlot","BentoButtonVariant","_hoisted_1","createBlock","resolveDynamicComponent","_component_bento_typography","createCommentVNode","withCtx","_hoisted_4","createVNode","_component_cross_small"],"mappings":"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","x_google_ignoreList":[1]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.b-button-actions[data-v-
|
|
1
|
+
.b-button-actions[data-v-18f16af9]{container-type:inline-size;flex-grow:1}.b-button-actions__container-wrapper[data-v-18f16af9]{display:flex;flex-direction:column;gap:var(--b-button-actions-vertical-stack-row-gap)}.b-button-actions__button-wrapper>*[data-v-18f16af9]{width:100%}@container (min-width: 250px){.b-button-actions--buttons-start[data-v-18f16af9]{flex-direction:row;justify-content:start}.b-button-actions--buttons-end[data-v-18f16af9]{column-gap:var(--b-button-actions-buttons-end-column-gap);flex-direction:row;justify-content:end}.b-button-actions--fill-container[data-v-18f16af9]{column-gap:var(--b-button-actions-fill-container-column-gap);display:grid;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column}.b-button-actions--space-between[data-v-18f16af9]{flex-direction:unset;justify-content:space-between}}
|
package/dist/assets/button.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
button[data-v-
|
|
1
|
+
button[data-v-f0e98913]{background-color:transparent;border:0;font:inherit;text-align:inherit}button[data-v-f0e98913]:focus-visible{outline:none}.b-button[data-v-f0e98913]{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;align-items:center;appearance:none;border-radius:var(--b-button-border-radius);box-shadow:var(--b-button-box-shadow);cursor:pointer;display:inline-flex;gap:8px;height:fit-content;justify-content:center;padding:var(--b-button-padding);text-decoration:none;transition:125ms cubic-bezier(.785,.135,.15,.86);transition-property:color,background-color,box-shadow;user-select:none}.b-button[data-v-f0e98913],.b-button[data-v-f0e98913]:before,.b-button[data-v-f0e98913]:after{box-sizing:border-box}.b-button *[data-v-f0e98913],.b-button *[data-v-f0e98913]:before,.b-button *[data-v-f0e98913]:after{box-sizing:border-box}.b-button__label[data-v-f0e98913]{display:inline-flex;line-height:var(--b-button-line-height);vertical-align:middle;white-space:nowrap}.b-legacy-theme .b-button__label[data-v-f0e98913]{font-weight:600}.b-button[data-v-f0e98913]:focus-visible{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--b-focus-ring-color);transition:.1s cubic-bezier(.785,.135,.15,.86);z-index:1}.b-button--primary[data-v-f0e98913]{background-color:var(--b-button-primary-background-color);color:var(--b-button-primary-color)}@media (hover: hover){.b-button--primary[data-v-f0e98913]:hover{background-color:var(--b-button-primary-hover-background-color);color:var(--b-button-primary-color)}}.b-button--primary[data-v-f0e98913]:active{background-color:var(--b-button-primary-active-background-color);color:var(--b-button-primary-color)}.b-button--primary[data-v-f0e98913]:disabled,.b-button--primary.b-button--disabled[data-v-f0e98913]{background-color:var(--b-button-primary-disabled-background-color);color:var(--b-button-primary-disabled-color)}.b-button--secondary[data-v-f0e98913]{background-color:var(--b-button-secondary-background-color);box-shadow:var(--b-button-secondary-box-shadow);color:var(--b-button-secondary-color)}@media (hover: hover){.b-button--secondary[data-v-f0e98913]:hover{background-color:var(--b-button-secondary-hover-background-color);box-shadow:var(--b-button-secondary-hover-box-shadow);color:var(--b-button-secondary-hover-color)}}.b-button--secondary[data-v-f0e98913]:hover:not(:focus){box-shadow:var(--b-button-secondary-hover-box-shadow);color:var(--b-button-secondary-hover-color)}.b-button--secondary[data-v-f0e98913]:active{background-color:var(--b-button-secondary-active-background-color);box-shadow:var(--b-button-secondary-active-box-shadow);color:var(--b-button-secondary-active-color)}.b-button--secondary[data-v-f0e98913]:disabled,.b-button--secondary[data-v-f0e98913]:disabled:not(:focus),.b-button--secondary.b-button--disabled[data-v-f0e98913]:not(:focus){background-color:var(--b-button-secondary-disabled-background-color);box-shadow:var(--b-button-secondary-disabled-box-shadow);color:var(--b-button-secondary-disabled-color)}.b-button--tertiary[data-v-f0e98913]{background-color:transparent;box-shadow:var(--b-button-tertiary-box-shadow);color:var(--b-button-tertiary-color);height:var(--b-button-tertiary-height);padding:var(--b-button-tertiary-padding)}@media (hover: hover){.b-button--tertiary[data-v-f0e98913]:hover{background-color:var(--b-button-tertiary-hover-background-color);color:var(--b-button-tertiary-hover-color)}}.b-button--tertiary[data-v-f0e98913]:active{background-color:var(--b-button-tertiary-active-background-color);color:var(--b-button-tertiary-active-color)}.b-button--tertiary[data-v-f0e98913]:disabled,.b-button--tertiary.b-button--disabled[data-v-f0e98913]{background-color:var(--b-button-tertiary-disabled-background-color);color:var(--b-button-tertiary-disabled-color)}.b-button--primary-critical[data-v-f0e98913]{background-color:var(--b-button-primary-critical-background-color);color:var(--b-button-primary-critical-color)}@media (hover: hover){.b-button--primary-critical[data-v-f0e98913]:hover{background-color:var(--b-button-primary-critical-hover-background-color);color:var(--b-button-primary-critical-color)}}.b-button--primary-critical[data-v-f0e98913]:active{background-color:var(--b-button-primary-critical-active-background-color);color:var(--b-button-primary-critical-color)}.b-button--primary-critical[data-v-f0e98913]:disabled,.b-button--primary-critical.b-button--disabled[data-v-f0e98913]{background-color:var(--b-button-primary-critical-disabled-background-color);color:var(--b-button-primary-critical-disabled-color)}.b-button--secondary-critical[data-v-f0e98913]{background-color:var(--b-button-secondary-critical-background-color);box-shadow:var(--b-button-secondary-critical-box-shadow);color:var(--b-button-secondary-critical-color)}@media (hover: hover){.b-button--secondary-critical[data-v-f0e98913]:hover{background-color:var(--b-button-secondary-critical-hover-background-color);box-shadow:var(--b-button-secondary-critical-hover-box-shadow);color:var(--b-button-secondary-critical-hover-color)}}.b-button--secondary-critical[data-v-f0e98913]:active{background-color:var(--b-button-secondary-critical-active-background-color);box-shadow:var(--b-button-secondary-critical-active-box-shadow);color:var(--b-button-secondary-critical-active-color)}.b-button--secondary-critical[data-v-f0e98913]:disabled,.b-button--secondary-critical.b-button--disabled[data-v-f0e98913]{background-color:var(--b-button-secondary-critical-disabled-background-color);box-shadow:var(--b-button-secondary-critical-disabled-box-shadow);color:var(--b-button-secondary-critical-disabled-color)}.b-button--tertiary-critical[data-v-f0e98913]{background-color:var(--b-button-tertiary-critical-background-color);color:var(--b-button-tertiary-critical-color);height:var(--b-button-tertiary-height);padding:var(--b-button-tertiary-padding)}@media (hover: hover){.b-button--tertiary-critical[data-v-f0e98913]:hover{background-color:var(--b-button-tertiary-critical-hover-background-color);color:var(--b-button-tertiary-critical-hover-color)}}.b-button--tertiary-critical[data-v-f0e98913]:active{background-color:var(--b-button-tertiary-critical-active-background-color);color:var(--b-button-tertiary-critical-active-color)}.b-button--tertiary-critical[data-v-f0e98913]:disabled,.b-button--tertiary-critical.b-button--disabled[data-v-f0e98913]{background-color:var(--b-button-tertiary-critical-disabled-background-color);box-shadow:unset;color:var(--b-button-tertiary-critical-disabled-color)}.b-button--tertiary[data-v-f0e98913],.b-button--tertiary-critical[data-v-f0e98913]{text-decoration:var(--b-button-tertiary-text-decoration)}@media (hover: hover){.b-button--tertiary[data-v-f0e98913]:hover,.b-button--tertiary-critical[data-v-f0e98913]:hover{text-decoration:var(--b-button-tertiary-hover-text-decoration)}}.b-button--tertiary[data-v-f0e98913]:active,.b-button--tertiary-critical[data-v-f0e98913]:active{text-decoration:var(--b-button-tertiary-active-text-decoration)}.b-button--primary-success[data-v-f0e98913]{background-color:var(--b-button-primary-success-background-color);color:var(--b-button-primary-success-color)}@media (hover: hover){.b-button--primary-success[data-v-f0e98913]:hover{background-color:var(--b-button-primary-success-hover-background-color)}}.b-button--primary-success[data-v-f0e98913]:active{background-color:var(--b-button-primary-success-active-background-color)}.b-button--primary-success[data-v-f0e98913]:disabled,.b-button--primary-success.b-button--disabled[data-v-f0e98913]{background-color:var(--b-button-primary-success-disabled-background-color);color:var(--b-button-primary-success-disabled-color)}.b-button--block[data-v-f0e98913]{display:block;width:100%}.b-button[data-v-f0e98913]:disabled,.b-button.b-button--disabled[data-v-f0e98913]{cursor:not-allowed}.b-button--condensed[data-v-f0e98913]{border-radius:var(--b-button-condensed-border-radius);padding:var(--b-button-condensed-padding)}.b-button--condensed .b-button__label[data-v-f0e98913]{font-size:var(--b-button-condensed-font-size);line-height:var(--b-button-condensed-line-height)}.b-button--condensed .b-button__icon svg[data-v-f0e98913]{height:var(--b-button-condensed-icon-height);width:var(--b-button-condensed-icon-width)}.b-button--condensed.b-button--tertiary[data-v-f0e98913],.b-button--condensed.b-button--tertiary-critical[data-v-f0e98913]{padding:var(--b-button-tertiary-padding)}.b-button--circle[data-v-f0e98913]{border-radius:50%;height:40px;width:40px}.b-button--icon-only[data-v-f0e98913]{padding:var(--b-button-icon-only-padding)}.b-button--icon-only.b-button--condensed[data-v-f0e98913]{padding:var(--b-button-icon-only-condensed-padding)}.b-button--icon-only.b-button--tertiary[data-v-f0e98913],.b-button--icon-only.b-button--tertiary-critical[data-v-f0e98913]{height:var(--b-button-tertiary-height);padding:var(--b-button-tertiary-padding)}.b-button__icon-left[data-v-f0e98913],.b-button__icon-right[data-v-f0e98913]{display:inline-flex}
|