@adyen/bento-vue3 1.35.1 → 1.37.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/core/src/components/checkbox/checkbox.types.d.ts +9 -0
- package/dist/@types/packages/{vue2/src/components/checkbox → core/src}/components/checkbox-group/checkbox-group.types.d.ts +1 -1
- package/dist/@types/packages/core/src/components/tag/tag.types.d.ts +14 -0
- package/dist/@types/packages/core/src/components/tooltip/tooltip.types.d.ts +11 -0
- package/dist/@types/packages/core/src/utils/ts/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +32 -195
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +58 -221
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/index.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/checkbox/index.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +20 -11
- package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/currency/currency.vue.d.ts +9 -0
- 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 +10 -1
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +29 -2
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/date/date.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +31 -4
- package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.vue.d.ts +41 -14
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +54 -18
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +1 -1
- 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-small-textbox/dropdown-small-textbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +243 -400
- 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 +18 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter-button/base-filter-button.vue.d.ts +18 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-filter/date-filter.vue.d.ts +49 -4
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +104 -32
- package/dist/@types/packages/vue2/src/components/filter-bar/components/input-filter/input-filter.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/range-filter.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue.d.ts +24 -179
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-payment-method-filter/select-payment-method-filter.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +24 -179
- package/dist/@types/packages/vue2/src/components/filter-bar/filter-bar.vue.d.ts +216 -400
- package/dist/@types/packages/vue2/src/components/header/header.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/base-button/base-button.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/internal/calendar/calendar.vue.d.ts +18 -0
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/calendar-month.vue.d.ts +18 -0
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/__test__/calendar-month-day-stub.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/internal/calendar/components/calendar-month/components/calendar-month-day/calendar-month-day.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/internal/checkbox-input/checkbox-input.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/checkbox-input/index.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/index.d.ts +1 -0
- 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 +40 -193
- 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 +79 -386
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +118 -579
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-option-tag/listbox-option-tag.vue.d.ts +24 -179
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/components/listbox-single-select-category/listbox-single-select-category.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +18 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select-option/listbox-single-select-option.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +166 -600
- package/dist/@types/packages/vue2/src/components/internal/radio-input/radio-input.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/tooltip/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/{tooltip → internal/tooltip}/tooltip.vue.d.ts +76 -67
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item/menu-item.vue.d.ts +18 -0
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item-list/menu-item-list.vue.d.ts +36 -0
- package/dist/@types/packages/vue2/src/components/menu/components/sub-menu-item-list/sub-menu-item-list.vue.d.ts +18 -0
- package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +36 -0
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-context/pagination-context.vue.d.ts +20 -11
- package/dist/@types/packages/vue2/src/components/pagination/components/pagination-results-per-page/pagination-results-per-page.vue.d.ts +20 -11
- package/dist/@types/packages/vue2/src/components/pagination/pagination.vue.d.ts +40 -22
- package/dist/@types/packages/vue2/src/components/payment-method/payment-method.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/popover/components/popover-title/popover-title.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/radio-group/components/radio-button/radio-button.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/selection-card/selection-card.types.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +24 -179
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +24 -179
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-custom/summary-grid-item-custom.vue.d.ts +24 -179
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +24 -179
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +24 -179
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-text/summary-grid-item-text.vue.d.ts +24 -179
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tabs/components/tab.vue.d.ts +15 -0
- package/dist/@types/packages/vue2/src/components/tabs/tabs.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +9 -0
- package/dist/@types/packages/vue2/src/components/tag/tag.vue.d.ts +26 -219
- package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/timeline/components/timeline-item/timeline-item.vue.d.ts +35 -181
- package/dist/@types/packages/vue2/src/components/timeline/timeline.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/toggle/toggle.vue.d.ts +10 -1
- package/dist/@types/packages/vue2/src/components/typography/typography.vue.d.ts +8 -0
- package/dist/@types/packages/vue2/src/composables/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/composables/use-bento-theme/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/composables/use-bento-theme/install.d.ts +18 -0
- package/dist/@types/packages/vue2/src/composables/use-bento-theme/use-bento-theme.d.ts +2 -0
- package/dist/@types/packages/vue2/src/composables/use-bento-theme/use-bento-theme.types.d.ts +6 -0
- package/dist/@types/packages/vue2/src/directives/tooltip/index.d.ts +1 -1
- package/dist/@types/packages/vue2/src/directives/tooltip/tooltip.types.d.ts +0 -11
- package/dist/@types/packages/vue2/src/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/install.d.ts +2 -5
- package/dist/accordion.js +1 -1
- package/dist/action-bar.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/checkbox-group.css +1 -1
- package/dist/assets/checkbox-input.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/code-snippet.css +1 -1
- package/dist/assets/dashboard-section.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/date-picker.css +1 -1
- package/dist/assets/date-range-picker.css +1 -1
- package/dist/assets/date.css +1 -0
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown-default-textbox.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/empty-state.css +1 -1
- package/dist/assets/error-message.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/form-layout-title.css +1 -1
- package/dist/assets/header.css +1 -1
- package/dist/assets/info-icon.css +1 -1
- package/dist/assets/input-field.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/menu.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/pagination.css +1 -1
- package/dist/assets/popover.css +1 -1
- package/dist/assets/popper-container.css +1 -1
- package/dist/assets/radio-group.css +1 -1
- package/dist/assets/radio-input.css +1 -1
- package/dist/assets/search-bar.css +1 -1
- package/dist/assets/segmented-control.css +1 -1
- package/dist/assets/selection-card-group.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/status.css +1 -1
- package/dist/assets/summary-grid-item-custom.css +1 -1
- package/dist/assets/tabs.css +1 -1
- package/dist/assets/tag.css +1 -1
- package/dist/assets/textarea.css +1 -1
- package/dist/assets/timeline-item.css +1 -1
- package/dist/assets/toggle.css +1 -1
- package/dist/assets/tooltip.css +1 -1
- package/dist/assets/typography.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/avatar.js +1 -1
- package/dist/button.js +4 -4
- package/dist/card.js +1 -1
- package/dist/checkbox.js +3 -3
- package/dist/chunks/{accordion-item.C30QFxol.js → accordion-item.BTOF1iNR.js} +4 -4
- package/dist/chunks/accordion-item.BTOF1iNR.js.map +1 -0
- package/dist/chunks/{action-bar.5XBrXwYv.js → action-bar.CuisUSoa.js} +6 -6
- package/dist/chunks/{action-bar.5XBrXwYv.js.map → action-bar.CuisUSoa.js.map} +1 -1
- package/dist/chunks/{alert.BvSx_Bi7.js → alert.BTECwgk3.js} +3 -3
- package/dist/chunks/{alert.BvSx_Bi7.js.map → alert.BTECwgk3.js.map} +1 -1
- package/dist/chunks/{avatar.8erKxh8t.js → avatar.DqdDHXay.js} +2 -2
- package/dist/chunks/{avatar.8erKxh8t.js.map → avatar.DqdDHXay.js.map} +1 -1
- package/dist/chunks/{base-button.BxUrydaP.js → base-button.N4QTXNIp.js} +2 -2
- package/dist/chunks/{base-button.BxUrydaP.js.map → base-button.N4QTXNIp.js.map} +1 -1
- package/dist/chunks/{base-modal.BenvK-Np.js → base-modal.GY3twZI_.js} +7 -7
- package/dist/chunks/base-modal.GY3twZI_.js.map +1 -0
- package/dist/chunks/{button-actions-with-menu.CHOjMHpd.js → button-actions-with-menu.D0K6sGoU.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.CHOjMHpd.js.map → button-actions-with-menu.D0K6sGoU.js.map} +1 -1
- package/dist/chunks/{button-actions.DyI_dSvx.js → button-actions.DK09ba3B.js} +3 -3
- package/dist/chunks/{button-actions.DyI_dSvx.js.map → button-actions.DK09ba3B.js.map} +1 -1
- package/dist/chunks/{button.Br6CyG40.js → button.BJBAbiJq.js} +3 -3
- package/dist/chunks/{button.Br6CyG40.js.map → button.BJBAbiJq.js.map} +1 -1
- package/dist/chunks/{calendar.DzYaxc0M.js → calendar.CzrIJLEX.js} +59 -58
- package/dist/chunks/calendar.CzrIJLEX.js.map +1 -0
- package/dist/chunks/{card.Bt8jcp9I.js → card.Dd6y_Qwc.js} +5 -5
- package/dist/chunks/card.Dd6y_Qwc.js.map +1 -0
- package/dist/chunks/{checkbox-group.B0wngKi6.js → checkbox-group.8IN5S-BB.js} +7 -7
- package/dist/chunks/checkbox-group.8IN5S-BB.js.map +1 -0
- package/dist/chunks/{checkbox-input.JdcvpfTa.js → checkbox-input.B24-74ay.js} +20 -18
- package/dist/chunks/checkbox-input.B24-74ay.js.map +1 -0
- package/dist/chunks/{checkbox.Bk_jmkGe.js → checkbox.ZkvB_0XY.js} +7 -7
- package/dist/chunks/checkbox.ZkvB_0XY.js.map +1 -0
- package/dist/chunks/{code-snippet.1SigVnjS.js → code-snippet.D1Q8mX86.js} +10 -9
- package/dist/chunks/{code-snippet.1SigVnjS.js.map → code-snippet.D1Q8mX86.js.map} +1 -1
- package/dist/chunks/{controls-group.COc0kArc.js → controls-group.DBO4uV2t.js} +3 -3
- package/dist/chunks/{controls-group.COc0kArc.js.map → controls-group.DBO4uV2t.js.map} +1 -1
- package/dist/chunks/{copy.1-HH1fz5.js → copy.CJmwNFh_.js} +13 -12
- package/dist/chunks/{copy.1-HH1fz5.js.map → copy.CJmwNFh_.js.map} +1 -1
- package/dist/chunks/{country.CVI-oSer.js → country.O-bKmLZc.js} +2 -2
- package/dist/chunks/{country.CVI-oSer.js.map → country.O-bKmLZc.js.map} +1 -1
- package/dist/chunks/{currency.BdtY-UIM.js → currency.BGrGBnhm.js} +2 -2
- package/dist/chunks/{currency.BdtY-UIM.js.map → currency.BGrGBnhm.js.map} +1 -1
- package/dist/chunks/{dashboard-section.BOrGKdY9.js → dashboard-section.hRVI8IAm.js} +3 -3
- package/dist/chunks/{dashboard-section.BOrGKdY9.js.map → dashboard-section.hRVI8IAm.js.map} +1 -1
- package/dist/chunks/{dashed-underline.BO4BuqUM.js → dashed-underline.BeGUM9AR.js} +23 -22
- package/dist/chunks/{dashed-underline.BO4BuqUM.js.map → dashed-underline.BeGUM9AR.js.map} +1 -1
- package/dist/chunks/{data-grid-template.O946JKTa.js → data-grid-template.DVfZY2QM.js} +3 -3
- package/dist/chunks/{data-grid-template.O946JKTa.js.map → data-grid-template.DVfZY2QM.js.map} +1 -1
- package/dist/chunks/{data-grid.Bv5TA_zR.js → data-grid.WQipkZ5D.js} +756 -754
- package/dist/chunks/data-grid.WQipkZ5D.js.map +1 -0
- package/dist/chunks/{date-picker.DvEPEMIM.js → date-picker.CjXqKx-6.js} +23 -22
- package/dist/chunks/date-picker.CjXqKx-6.js.map +1 -0
- package/dist/chunks/{date-range-picker.BLVlkkG_.js → date-range-picker.DT0bD7bx.js} +31 -30
- package/dist/chunks/{date-range-picker.BLVlkkG_.js.map → date-range-picker.DT0bD7bx.js.map} +1 -1
- package/dist/chunks/{date.CYUV4seY.js → date.Ddj3zcg0.js} +4 -3
- package/dist/chunks/{date.CYUV4seY.js.map → date.Ddj3zcg0.js.map} +1 -1
- package/dist/chunks/{dialog-page.DALFn9KR.js → dialog-page.D_Z9V5rz.js} +2 -2
- package/dist/chunks/{dialog-page.DALFn9KR.js.map → dialog-page.D_Z9V5rz.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.Bu4bpNGU.js → dropdown-default-textbox.CcRQ1f4U.js} +27 -27
- package/dist/chunks/dropdown-default-textbox.CcRQ1f4U.js.map +1 -0
- package/dist/chunks/{dropdown-tag.bpKWbC_O.js → dropdown-tag.Dm5QqVYj.js} +6 -6
- package/dist/chunks/{dropdown-tag.bpKWbC_O.js.map → dropdown-tag.Dm5QqVYj.js.map} +1 -1
- package/dist/chunks/{dropdown.rFZp3hMb.js → dropdown.DBRe0ttO.js} +62 -61
- package/dist/chunks/dropdown.DBRe0ttO.js.map +1 -0
- package/dist/chunks/{empty-state.CyEWCcDk.js → empty-state.B6_DdIft.js} +3 -3
- package/dist/chunks/{empty-state.CyEWCcDk.js.map → empty-state.B6_DdIft.js.map} +1 -1
- package/dist/chunks/{error-message.DblYEZ7E.js → error-message.BsCRxqJP.js} +3 -3
- package/dist/chunks/{error-message.DblYEZ7E.js.map → error-message.BsCRxqJP.js.map} +1 -1
- package/dist/chunks/es6.BvpG4Oi6.js.map +1 -1
- package/dist/chunks/events.FNmSWp_P.js +52 -0
- package/dist/chunks/events.FNmSWp_P.js.map +1 -0
- package/dist/chunks/{filter-bar.IN7gqxsc.js → filter-bar.8DrpM6NO.js} +27 -27
- package/dist/chunks/filter-bar.8DrpM6NO.js.map +1 -0
- package/dist/chunks/{fixed-scroller.DwYB1pqo.js → fixed-scroller.Dk1hJcNA.js} +2 -2
- package/dist/chunks/{fixed-scroller.DwYB1pqo.js.map → fixed-scroller.Dk1hJcNA.js.map} +1 -1
- package/dist/chunks/{footer-actions.CyoMN_ca.js → footer-actions.CLD0Hyok.js} +4 -4
- package/dist/chunks/{footer-actions.CyoMN_ca.js.map → footer-actions.CLD0Hyok.js.map} +1 -1
- package/dist/chunks/{form-layout-title.Bi_3du_6.js → form-layout-title.BqaYHFxV.js} +3 -3
- package/dist/chunks/{form-layout-title.Bi_3du_6.js.map → form-layout-title.BqaYHFxV.js.map} +1 -1
- package/dist/chunks/generate-uid.D-HFI38h.js +32 -0
- package/dist/chunks/generate-uid.D-HFI38h.js.map +1 -0
- package/dist/chunks/{header.Byd6jXl6.js → header.BwTpNk4U.js} +7 -7
- package/dist/chunks/{header.Byd6jXl6.js.map → header.BwTpNk4U.js.map} +1 -1
- package/dist/chunks/{info-icon.DIu8FeJC.js → info-icon.WGVkmqMM.js} +12 -12
- package/dist/chunks/info-icon.WGVkmqMM.js.map +1 -0
- package/dist/chunks/{input-field.CgS1AEGu.js → input-field.B6DTUBbZ.js} +6 -6
- package/dist/chunks/input-field.B6DTUBbZ.js.map +1 -0
- package/dist/chunks/{inspector.types.xpv2J9pJ.js → inspector.types.CKC5Fjz0.js} +5 -5
- package/dist/chunks/inspector.types.CKC5Fjz0.js.map +1 -0
- package/dist/chunks/{keyboard-navigation.Clz1jOaA.js → keyboard-navigation.C3QMVRKY.js} +2 -2
- package/dist/chunks/{keyboard-navigation.Clz1jOaA.js.map → keyboard-navigation.C3QMVRKY.js.map} +1 -1
- package/dist/chunks/{link.2YS7haGc.js → link.DdN8QuxV.js} +2 -2
- package/dist/chunks/{link.2YS7haGc.js.map → link.DdN8QuxV.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.QqDEHMKB.js → listbox-option-tag.58u_cWFs.js} +3 -3
- package/dist/chunks/{listbox-option-tag.QqDEHMKB.js.map → listbox-option-tag.58u_cWFs.js.map} +1 -1
- package/dist/chunks/{loading-button.Bntgn6Lk.js → loading-button.6hYlQMSl.js} +2 -2
- package/dist/chunks/{loading-button.Bntgn6Lk.js.map → loading-button.6hYlQMSl.js.map} +1 -1
- package/dist/chunks/{menu.BN5WGXw3.js → menu.C4805-Dq.js} +7 -7
- package/dist/chunks/{menu.BN5WGXw3.js.map → menu.C4805-Dq.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.zljoH4pr.js → modal-fullscreen.CuEg-noK.js} +7 -7
- package/dist/chunks/modal-fullscreen.CuEg-noK.js.map +1 -0
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.tT8umwqG.js → modal.vue_vue_type_script_setup_true_lang.2_gb7O_d.js} +6 -6
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.tT8umwqG.js.map → modal.vue_vue_type_script_setup_true_lang.2_gb7O_d.js.map} +1 -1
- package/dist/chunks/{pagination.BMn5ryDD.js → pagination.BZH-5145.js} +7 -7
- package/dist/chunks/pagination.BZH-5145.js.map +1 -0
- package/dist/chunks/{payment-method.-3VYG5ud.js → payment-method.Lwl-3chY.js} +2 -2
- package/dist/chunks/{payment-method.-3VYG5ud.js.map → payment-method.Lwl-3chY.js.map} +1 -1
- package/dist/chunks/{popover.pDk6zsak.js → popover.DgJtd7Yj.js} +8 -7
- package/dist/chunks/{popover.pDk6zsak.js.map → popover.DgJtd7Yj.js.map} +1 -1
- package/dist/chunks/{popper-container.DFpaesDm.js → popper-container.Cyf6zCPq.js} +361 -365
- package/dist/chunks/popper-container.Cyf6zCPq.js.map +1 -0
- package/dist/chunks/popper-container.types.BCZMbVFD.js +9 -0
- package/dist/chunks/popper-container.types.BCZMbVFD.js.map +1 -0
- package/dist/chunks/{radio-group.DUtoFXmr.js → radio-group.C1imRci1.js} +8 -8
- package/dist/chunks/radio-group.C1imRci1.js.map +1 -0
- package/dist/chunks/{search-bar.poJCoGD-.js → search-bar.DwKqXdMu.js} +40 -39
- package/dist/chunks/search-bar.DwKqXdMu.js.map +1 -0
- package/dist/chunks/{secondary-nav.Dyvd-YBg.js → secondary-nav.CXOWJcdc.js} +3 -3
- package/dist/chunks/{secondary-nav.Dyvd-YBg.js.map → secondary-nav.CXOWJcdc.js.map} +1 -1
- package/dist/chunks/{segmented-control.DbR5NYWR.js → segmented-control.CueLfseV.js} +8 -7
- package/dist/chunks/segmented-control.CueLfseV.js.map +1 -0
- package/dist/chunks/{selection-card-group.CHBS81j6.js → selection-card-group.GgDEa529.js} +23 -23
- package/dist/chunks/selection-card-group.GgDEa529.js.map +1 -0
- package/dist/chunks/{sidepanel.CuQCXV1E.js → sidepanel.C3DL5ZCV.js} +14 -14
- package/dist/chunks/sidepanel.C3DL5ZCV.js.map +1 -0
- package/dist/chunks/{status.types.r9TfZmvE.js → status.types.nTyHETSy.js} +2 -2
- package/dist/chunks/{status.types.r9TfZmvE.js.map → status.types.nTyHETSy.js.map} +1 -1
- package/dist/chunks/{step.ClnCjesW.js → step.DNhSkFAA.js} +31 -30
- package/dist/chunks/{step.ClnCjesW.js.map → step.DNhSkFAA.js.map} +1 -1
- package/dist/chunks/{structured-list-item.1A2sjhP4.js → structured-list-item.IwqvXP2Q.js} +11 -10
- package/dist/chunks/{structured-list-item.1A2sjhP4.js.map → structured-list-item.IwqvXP2Q.js.map} +1 -1
- package/dist/chunks/{summary-grid-item-custom.CuvUVoQ8.js → summary-grid-item-custom.BbN72bub.js} +5 -5
- package/dist/chunks/{summary-grid-item-custom.CuvUVoQ8.js.map → summary-grid-item-custom.BbN72bub.js.map} +1 -1
- package/dist/chunks/tabs.CV5s2cJq.js +211 -0
- package/dist/chunks/tabs.CV5s2cJq.js.map +1 -0
- package/dist/chunks/tag.wfnhGWVG.js +51 -0
- package/dist/chunks/tag.wfnhGWVG.js.map +1 -0
- package/dist/chunks/{textarea.CHnvON8G.js → textarea.DO0GBL6m.js} +19 -19
- package/dist/chunks/textarea.DO0GBL6m.js.map +1 -0
- package/dist/chunks/{timeline-item.Dc_l5Xyy.js → timeline-item.B7D-RsYN.js} +11 -11
- package/dist/chunks/{timeline-item.Dc_l5Xyy.js.map → timeline-item.B7D-RsYN.js.map} +1 -1
- package/dist/chunks/{toast.CIVPmwmU.js → toast.BaEY0X3c.js} +4 -4
- package/dist/chunks/{toast.CIVPmwmU.js.map → toast.BaEY0X3c.js.map} +1 -1
- package/dist/chunks/{toggle-button.CBRd1v6x.js → toggle-button.CX-FLsuq.js} +2 -2
- package/dist/chunks/{toggle-button.CBRd1v6x.js.map → toggle-button.CX-FLsuq.js.map} +1 -1
- package/dist/chunks/{toggle.8t4flh_3.js → toggle.Bme9eaeR.js} +4 -4
- package/dist/chunks/toggle.Bme9eaeR.js.map +1 -0
- package/dist/chunks/{tooltip.DvsfWV0-.js → tooltip.BEl_LdFo.js} +50 -51
- package/dist/chunks/tooltip.BEl_LdFo.js.map +1 -0
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.DdLmYCOe.js → tutorial.vue_vue_type_script_setup_true_lang.DKMxylGg.js} +9 -8
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.DdLmYCOe.js.map → tutorial.vue_vue_type_script_setup_true_lang.DKMxylGg.js.map} +1 -1
- package/dist/chunks/typography.DNzU41ah.js +82 -0
- package/dist/chunks/typography.DNzU41ah.js.map +1 -0
- package/dist/chunks/{use-bento-toast-controller.BDYlxAYq.js → use-bento-toast-controller.C2wUDcoc.js} +3 -3
- package/dist/chunks/use-bento-toast-controller.C2wUDcoc.js.map +1 -0
- package/dist/chunks/{use-cached-selected-values.CS3gHOyI.js → use-cached-selected-values.CX-a8FKd.js} +12 -11
- package/dist/chunks/{use-cached-selected-values.CS3gHOyI.js.map → use-cached-selected-values.CX-a8FKd.js.map} +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/country.js +1 -1
- package/dist/currency.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/dropdown.js +4 -4
- package/dist/empty-state.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/form-layout.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +316 -299
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/inspector.js +1 -1
- package/dist/internal.js +21 -19
- package/dist/internal.js.map +1 -1
- package/dist/link.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/pagination.js +1 -1
- package/dist/payment-method.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +5 -4
- package/dist/popper-container.js.map +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/segmented-control.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/status.js +1 -1
- package/dist/stepper.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento-dark.css +1810 -0
- package/dist/styles/bento-light.css +1809 -0
- package/dist/styles/bento.css +69 -7
- package/dist/styles/legacy.css +67 -5
- package/dist/styles/styleguide.css +69 -7
- package/dist/summary-grid.js +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tag.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/toast.js +1 -1
- package/dist/toggle.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +3 -3
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.types.d.ts +0 -9
- package/dist/chunks/accordion-item.C30QFxol.js.map +0 -1
- package/dist/chunks/base-modal.BenvK-Np.js.map +0 -1
- package/dist/chunks/calendar.DzYaxc0M.js.map +0 -1
- package/dist/chunks/card.Bt8jcp9I.js.map +0 -1
- package/dist/chunks/checkbox-group.B0wngKi6.js.map +0 -1
- package/dist/chunks/checkbox-input.JdcvpfTa.js.map +0 -1
- package/dist/chunks/checkbox.Bk_jmkGe.js.map +0 -1
- package/dist/chunks/data-grid.Bv5TA_zR.js.map +0 -1
- package/dist/chunks/date-picker.DvEPEMIM.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.Bu4bpNGU.js.map +0 -1
- package/dist/chunks/dropdown.rFZp3hMb.js.map +0 -1
- package/dist/chunks/events.CMzGybJJ.js +0 -47
- package/dist/chunks/events.CMzGybJJ.js.map +0 -1
- package/dist/chunks/filter-bar.IN7gqxsc.js.map +0 -1
- package/dist/chunks/info-icon.DIu8FeJC.js.map +0 -1
- package/dist/chunks/input-field.CgS1AEGu.js.map +0 -1
- package/dist/chunks/inspector.types.xpv2J9pJ.js.map +0 -1
- package/dist/chunks/modal-fullscreen.zljoH4pr.js.map +0 -1
- package/dist/chunks/pagination.BMn5ryDD.js.map +0 -1
- package/dist/chunks/popper-container.DFpaesDm.js.map +0 -1
- package/dist/chunks/radio-group.DUtoFXmr.js.map +0 -1
- package/dist/chunks/search-bar.poJCoGD-.js.map +0 -1
- package/dist/chunks/segmented-control.DbR5NYWR.js.map +0 -1
- package/dist/chunks/selection-card-group.CHBS81j6.js.map +0 -1
- package/dist/chunks/sidepanel.CuQCXV1E.js.map +0 -1
- package/dist/chunks/tabs.xY_6yqmE.js +0 -185
- package/dist/chunks/tabs.xY_6yqmE.js.map +0 -1
- package/dist/chunks/tag.RYw4OhWk.js +0 -75
- package/dist/chunks/tag.RYw4OhWk.js.map +0 -1
- package/dist/chunks/textarea.CHnvON8G.js.map +0 -1
- package/dist/chunks/toggle.8t4flh_3.js.map +0 -1
- package/dist/chunks/tooltip.DvsfWV0-.js.map +0 -1
- package/dist/chunks/typography.z9P0Ec3Q.js +0 -72
- package/dist/chunks/typography.z9P0Ec3Q.js.map +0 -1
- package/dist/chunks/unique-id.XFfoKuc2.js +0 -28
- package/dist/chunks/unique-id.XFfoKuc2.js.map +0 -1
- package/dist/chunks/use-bento-toast-controller.BDYlxAYq.js.map +0 -1
- /package/dist/@types/packages/{vue2 → core}/src/components/internal/checkbox-input/checkbox-input.types.d.ts +0 -0
- /package/dist/@types/packages/{vue2/src/utils/ts/unique-id.d.ts → core/src/utils/ts/generate-uid.d.ts} +0 -0
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import { defineComponent as U, ref as c, computed as n, watch as B, provide as M, readonly as oe, openBlock as b, createElementBlock as g, withDirectives as j, mergeProps as G, toHandlers as le, unref as d, renderSlot as L, createVNode as $, withCtx as E, createTextVNode as q, toDisplayString as W, createCommentVNode as
|
|
2
|
-
import { B as D } from "./typography.
|
|
3
|
-
import
|
|
1
|
+
import { defineComponent as U, ref as c, computed as n, watch as B, provide as M, readonly as oe, openBlock as b, createElementBlock as g, withDirectives as j, mergeProps as G, toHandlers as le, unref as d, renderSlot as L, createVNode as $, withCtx as E, createTextVNode as q, toDisplayString as W, createCommentVNode as re, createElementVNode as J, useSlots as ue, inject as ie, onMounted as pe, onBeforeUnmount as ce, normalizeClass as ve, createBlock as K, Fragment as de, vShow as me } from "vue";
|
|
2
|
+
import { B as D } from "./typography.DNzU41ah.js";
|
|
3
|
+
import "./events.FNmSWp_P.js";
|
|
4
|
+
import { B as R, a as be } from "./keyboard-navigation.C3QMVRKY.js";
|
|
4
5
|
import { u as fe } from "./i18n.DL9GT2-k.js";
|
|
5
6
|
import { _ as z } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
6
|
-
import { B as Se } from "./base-button.
|
|
7
|
+
import { B as Se } from "./base-button.N4QTXNIp.js";
|
|
7
8
|
import { C as _e } from "./checkmark-small.DEc2T64_.js";
|
|
8
9
|
import "../assets/step.css";
|
|
9
10
|
const ge = (t) => {
|
|
10
|
-
function
|
|
11
|
+
function r(v) {
|
|
11
12
|
return ({ detail: i }) => {
|
|
12
13
|
var p;
|
|
13
14
|
i.preventDefault();
|
|
14
|
-
const
|
|
15
|
-
|
|
15
|
+
const u = t.value.indexOf(document.activeElement);
|
|
16
|
+
u < 0 || (p = t.value[u + v]) == null || p.focus();
|
|
16
17
|
};
|
|
17
18
|
}
|
|
18
|
-
const l =
|
|
19
|
+
const l = r(-1), a = r(1);
|
|
19
20
|
return {
|
|
20
21
|
[R.ARROW_DOWN]: a,
|
|
21
22
|
[R.ARROW_RIGHT]: a,
|
|
@@ -23,8 +24,8 @@ const ge = (t) => {
|
|
|
23
24
|
[R.ARROW_LEFT]: l
|
|
24
25
|
};
|
|
25
26
|
}, ye = (t) => {
|
|
26
|
-
const
|
|
27
|
-
return Array.from(l.children).indexOf(
|
|
27
|
+
const r = t.buttonElement.value.parentElement, l = r.parentElement;
|
|
28
|
+
return Array.from(l.children).indexOf(r);
|
|
28
29
|
}, Q = (t) => ({ registerStep: (a) => {
|
|
29
30
|
const v = ye(a);
|
|
30
31
|
t.value.splice(v, 0, {
|
|
@@ -74,19 +75,19 @@ const X = {
|
|
|
74
75
|
}
|
|
75
76
|
},
|
|
76
77
|
emits: ["update:index"],
|
|
77
|
-
setup(t, { emit:
|
|
78
|
-
const l = t, a =
|
|
79
|
-
s > p.value && (p.value = s),
|
|
78
|
+
setup(t, { emit: r }) {
|
|
79
|
+
const l = t, a = r, { t: v } = fe({ messages: X }), i = c([]), u = c(l.index), p = c(u.value), e = (s) => {
|
|
80
|
+
s > p.value && (p.value = s), u.value = s;
|
|
80
81
|
}, y = n(() => {
|
|
81
82
|
var s;
|
|
82
|
-
return (s = i.value[
|
|
83
|
+
return (s = i.value[u.value]) == null ? void 0 : s.stepContent;
|
|
83
84
|
}), m = n(() => i.value.length), I = n(() => i.value.map(({ buttonElement: s }) => s)), N = n(() => l.variant === F.HORIZONTAL), f = n(
|
|
84
85
|
() => i.value.map(({ buttonElement: s, substeps: S }, _) => {
|
|
85
|
-
const V =
|
|
86
|
+
const V = u.value === _;
|
|
86
87
|
return !N.value && V ? [s].concat(S.map((C) => C.buttonElement)) : [s];
|
|
87
88
|
}).flat()
|
|
88
89
|
), { registerStep: x, removeStep: A } = Q(i), O = c({
|
|
89
|
-
activeStepIndex:
|
|
90
|
+
activeStepIndex: u,
|
|
90
91
|
latestActiveStep: p,
|
|
91
92
|
steps: I,
|
|
92
93
|
type: l.type,
|
|
@@ -97,7 +98,7 @@ const X = {
|
|
|
97
98
|
}), T = n(() => ({
|
|
98
99
|
"b-stepper__list--horizontal": N.value
|
|
99
100
|
}));
|
|
100
|
-
B(() => l.index, e), B(
|
|
101
|
+
B(() => l.index, e), B(u, (s) => {
|
|
101
102
|
a("update:index", s);
|
|
102
103
|
});
|
|
103
104
|
const k = ge(f);
|
|
@@ -116,20 +117,20 @@ const X = {
|
|
|
116
117
|
class: "b-stepper__text-stepper"
|
|
117
118
|
}, {
|
|
118
119
|
default: E(() => [
|
|
119
|
-
q(W(d(v)("step", { currentIndex:
|
|
120
|
+
q(W(d(v)("step", { currentIndex: u.value + 1, totalSteps: m.value, content: y.value })), 1)
|
|
120
121
|
]),
|
|
121
122
|
_: 1
|
|
122
123
|
})
|
|
123
124
|
]));
|
|
124
125
|
}
|
|
125
|
-
}),
|
|
126
|
+
}), He = /* @__PURE__ */ z(Ee, [["__scopeId", "data-v-3daeb439"]]);
|
|
126
127
|
let Z = 0;
|
|
127
128
|
const Ie = {
|
|
128
129
|
beforeCreate() {
|
|
129
130
|
this.uuid = Z.toString(), Z += 1;
|
|
130
131
|
}
|
|
131
132
|
}, Ne = { key: 0 };
|
|
132
|
-
function Ae(t,
|
|
133
|
+
function Ae(t, r, l, a, v, i) {
|
|
133
134
|
return b(), g("svg", G({ role: "img" }, t.$attrs, {
|
|
134
135
|
class: "ui-assets-icons-16",
|
|
135
136
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -137,8 +138,8 @@ function Ae(t, u, l, a, v, i) {
|
|
|
137
138
|
height: "16",
|
|
138
139
|
fill: "none"
|
|
139
140
|
}), [
|
|
140
|
-
t.$attrs["svg-title"] ? (b(), g("title", Ne, W(t.$attrs["svg-title"]), 1)) :
|
|
141
|
-
|
|
141
|
+
t.$attrs["svg-title"] ? (b(), g("title", Ne, W(t.$attrs["svg-title"]), 1)) : re("", !0),
|
|
142
|
+
r[0] || (r[0] = J("path", {
|
|
142
143
|
fill: "#00112C",
|
|
143
144
|
d: "M8 5.25C6.48122 5.25 5.25 6.48122 5.25 8C5.25 9.51878 6.48122 10.75 8 10.75C9.51878 10.75 10.75 9.51878 10.75 8C10.75 6.48122 9.51878 5.25 8 5.25Z"
|
|
144
145
|
}, null, -1))
|
|
@@ -168,13 +169,13 @@ const he = /* @__PURE__ */ z(Ie, [["render", Ae]]), Re = {
|
|
|
168
169
|
}
|
|
169
170
|
},
|
|
170
171
|
emits: ["update:substep-index"],
|
|
171
|
-
setup(t, { emit:
|
|
172
|
-
const l =
|
|
172
|
+
setup(t, { emit: r }) {
|
|
173
|
+
const l = ue(), a = t, v = r, i = c(null), u = c(null), p = c([]), e = ie(P), y = n(() => {
|
|
173
174
|
var o;
|
|
174
175
|
return (o = i.value) == null ? void 0 : o.$el;
|
|
175
176
|
}), m = n(() => e == null ? void 0 : e.value.steps.indexOf(y.value)), I = n(() => {
|
|
176
177
|
var o;
|
|
177
|
-
return (o =
|
|
178
|
+
return (o = u.value) == null ? void 0 : o.$el.textContent;
|
|
178
179
|
}), N = n(() => p.value.map(({ buttonElement: o }) => o)), f = c(a.substepIndex), x = c(f.value), A = (o) => {
|
|
179
180
|
o > x.value && (x.value = o), f.value = o;
|
|
180
181
|
}, { registerStep: O, removeStep: T } = Q(p), k = c({
|
|
@@ -253,7 +254,7 @@ const he = /* @__PURE__ */ z(Ie, [["render", Ae]]), Re = {
|
|
|
253
254
|
default: E(() => [
|
|
254
255
|
$(d(D), {
|
|
255
256
|
ref_key: "stepContent",
|
|
256
|
-
ref:
|
|
257
|
+
ref: u,
|
|
257
258
|
el: "span",
|
|
258
259
|
variant: "body",
|
|
259
260
|
stronger: _.value,
|
|
@@ -274,11 +275,11 @@ const he = /* @__PURE__ */ z(Ie, [["render", Ae]]), Re = {
|
|
|
274
275
|
])
|
|
275
276
|
], 2));
|
|
276
277
|
}
|
|
277
|
-
}),
|
|
278
|
+
}), We = /* @__PURE__ */ z(Be, [["__scopeId", "data-v-1968679e"]]);
|
|
278
279
|
export {
|
|
279
280
|
H as B,
|
|
280
|
-
|
|
281
|
+
We as a,
|
|
281
282
|
F as b,
|
|
282
|
-
|
|
283
|
+
He as s
|
|
283
284
|
};
|
|
284
|
-
//# sourceMappingURL=step.
|
|
285
|
+
//# sourceMappingURL=step.DNhSkFAA.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step.ClnCjesW.js","sources":["../../../vue2/src/components/stepper/composables/use-keyboard-navigation/use-keyboard-navigation.ts","../../../vue2/src/components/stepper/composables/use-step-register/use-step-register.ts","../../../vue2/src/components/stepper/stepper.keys.ts","../../../vue2/src/components/stepper/stepper.types.ts","../../../vue2/src/components/stepper/stepper.vue","../../../../node_modules/.pnpm/@adyen+ui-assets-icons-16@4.1.0_vue@2.7.16/node_modules/@adyen/ui-assets-icons-16/dist/vue/dot.vue","../../../vue2/src/components/stepper/components/step/step.vue"],"sourcesContent":["import { Ref, UnwrapRef } from 'vue';\n\nimport { BentoKeyboardNavigationKeyDownEvent } from '@/types';\n\n/**\n * Returns keyboard navigation's event handlers to navigate through the steps\n *\n * @param steps the list of bento-steps DOM elements to focus on the navigation\n * @returns\n */\nexport const useKeyboardNavigation = (steps: Ref<UnwrapRef<HTMLButtonElement[]>>) => {\n // Returns the event handler that moves the focus on a given step offset\n function focusOnStep(indexOffset: number) {\n return ({ detail: event }) => {\n event.preventDefault();\n\n const currentIndex = steps.value.indexOf(document.activeElement as HTMLButtonElement);\n if (currentIndex < 0) {\n return;\n }\n\n steps.value[currentIndex + indexOffset]?.focus();\n };\n }\n\n const focusOnPreviousStep = focusOnStep(-1);\n const focusOnNextStep = focusOnStep(1);\n\n return {\n [BentoKeyboardNavigationKeyDownEvent.ARROW_DOWN]: focusOnNextStep,\n [BentoKeyboardNavigationKeyDownEvent.ARROW_RIGHT]: focusOnNextStep,\n [BentoKeyboardNavigationKeyDownEvent.ARROW_UP]: focusOnPreviousStep,\n [BentoKeyboardNavigationKeyDownEvent.ARROW_LEFT]: focusOnPreviousStep,\n };\n};\n","import type { Ref, UnwrapRef } from 'vue';\nimport type { BentoStepperStepExposeState } from '../../stepper.types';\n\n/**\n * Gets the position of a `bento-step` element within its `bento-stepper` parent.\n * @param stepState The `bento-step` state.\n * @returns The index of the element.\n */\nconst getStepPosition = (stepState: BentoStepperStepExposeState) => {\n // Button is wrapped by <li> element\n const listItemElement = (stepState.buttonElement as Ref<UnwrapRef<HTMLButtonElement>>).value.parentElement;\n const listElement = listItemElement.parentElement;\n return Array.from(listElement.children).indexOf(listItemElement);\n};\n\n/**\n * Provides methods to register/unregister `bento-step` elements to/from the `bento-stepper` step state.\n * These methods allow for tracking the child step elements, including their position in the DOM tree.\n * @param childrenSteps The `bento-stepper` (or `bento-step` if substeps) step state.\n */\nexport const useStepRegister = (childrenSteps: Ref<BentoStepperStepExposeState[]>) => {\n /**\n * Registers a step's HTML element in the stepper state.\n * Should be called by a `bento-step` when it is mounted.\n * @param stepState The `bento-step` state.\n */\n const registerStep = (stepState: BentoStepperStepExposeState) => {\n const position = getStepPosition(stepState);\n childrenSteps.value.splice(position, 0, {\n stepContent: stepState.stepContent as string,\n buttonElement: stepState.buttonElement as HTMLButtonElement,\n substeps: stepState.substeps as BentoStepperStepExposeState[],\n });\n };\n\n /**\n * Unregisters a step's HTML element in the stepper state.\n * Should be called by a `bento-step` before it is unmounted.\n * @param stepState The `bento-step` state.\n */\n const removeStep = (stepState: BentoStepperStepExposeState) => {\n childrenSteps.value.splice(\n childrenSteps.value.findIndex(step => step.buttonElement === stepState.buttonElement.value),\n 1\n );\n };\n\n return { registerStep, removeStep };\n};\n","export const STEPPER_STATE = Symbol('stepper state');\n","import type { ComputedRef, Ref, UnwrapRef } from 'vue';\n\nexport enum BentoStepperTypeOption {\n LINEAR = 'linear',\n NON_LINEAR = 'non-linear',\n}\n\nexport enum BentoStepperVariantOption {\n HORIZONTAL = 'horizontal',\n VERTICAL = 'vertical',\n}\n\nexport interface BentoStepperStepExposeState {\n buttonElement: HTMLButtonElement | Ref<UnwrapRef<HTMLButtonElement>>;\n substeps: BentoStepperStepExposeState[] | Ref<BentoStepperStepExposeState[]>;\n stepContent: string | ComputedRef<string>;\n}\n\nexport type BentoStepperState = Ref<{\n activeStepIndex: number;\n latestActiveStep: number;\n type: `${BentoStepperTypeOption}`;\n variant: `${BentoStepperVariantOption}`;\n steps: HTMLElement[];\n isParentStep?: boolean;\n navigateToStep: (index: number) => void;\n registerStep: (stepState: BentoStepperStepExposeState) => void;\n removeStep: (stepState: BentoStepperStepExposeState) => void;\n}>;\n","<template>\n <nav class=\"b-stepper\">\n <ol\n v-bento-keyboard-navigation-directive\n class=\"b-stepper__list\"\n :class=\"conditionalClasses\"\n v-on=\"keyboardNavigationListeners\"\n >\n <slot></slot>\n </ol>\n\n <bento-typography el=\"span\" variant=\"body\" stronger class=\"b-stepper__text-stepper\"\n >{{\n t('step', { currentIndex: activeStepIndex + 1, totalSteps: stepsAmount, content: currentStepContent })\n }}\n </bento-typography>\n </nav>\n</template>\n\n<script setup lang=\"ts\">\n import { BentoTypography } from '@/components/typography';\n\n import { computed, type DeepReadonly, PropType, provide, readonly, ref, watch } from 'vue';\n import { BentoKeyboardNavigationDirective as vBentoKeyboardNavigationDirective } from '@/directives';\n\n import { useKeyboardNavigation, useStepRegister } from './composables';\n import { useI18n } from '@/utils/ts/i18n';\n\n import { STEPPER_STATE } from './stepper.keys';\n import {\n BentoStepperState,\n BentoStepperStepExposeState,\n BentoStepperTypeOption,\n BentoStepperVariantOption,\n } from './stepper.types';\n\n import messages from './messages.json';\n\n const props = defineProps({\n /**\n * Type of stepper; defines how the stepper should behave. Default: linear\n * @values linear, non-linear\n */\n type: {\n type: String as PropType<`${BentoStepperTypeOption}`>,\n default: 'linear',\n },\n /**\n * Stepper variant; defines how the stepper should be displayed. Default: vertical\n * @values vertical, horizontal\n */\n variant: {\n type: String as PropType<`${BentoStepperVariantOption}`>,\n default: 'vertical',\n },\n /**\n * Active step index\n */\n index: {\n type: Number,\n default: 0,\n },\n });\n\n const emit = defineEmits<{\n /**\n * Event triggered when step is updated by the stepper\n */\n (e: 'update:index', index: number): void;\n }>();\n\n type MessageSchema = (typeof messages)['en-US'];\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const childrenSteps = ref<BentoStepperStepExposeState[]>([]);\n const activeStepIndex = ref(props.index);\n const latestActiveStep = ref(activeStepIndex.value);\n\n const navigateToStep = (index: number) => {\n // Stores latest active step index so users can navigate backwards and forwards on linear stepper\n if (index > latestActiveStep.value) {\n latestActiveStep.value = index;\n }\n activeStepIndex.value = index;\n };\n\n const currentStepContent = computed(() => childrenSteps.value[activeStepIndex.value]?.stepContent);\n const stepsAmount = computed(() => childrenSteps.value.length);\n const childrenStepsElements = computed(() => childrenSteps.value.map(({ buttonElement }) => buttonElement));\n const isHorizontalVariant = computed(() => props.variant === BentoStepperVariantOption.HORIZONTAL);\n\n // List of all visible steps nested on the stepper, including the substeps of the children steps\n // Flattening the steps on a single list makes the keyboard navigation easier to be handled\n const allVisibleStepsElements = computed(() =>\n childrenSteps.value\n .map(({ buttonElement, substeps }, index) => {\n const isStepActive = activeStepIndex.value === index;\n const isSubstepsVisible = !isHorizontalVariant.value && isStepActive;\n\n if (!isSubstepsVisible) {\n return [buttonElement];\n }\n\n return [buttonElement].concat(substeps.map(step => step.buttonElement));\n })\n .flat()\n );\n\n const { registerStep, removeStep } = useStepRegister(childrenSteps);\n\n const stepperState: BentoStepperState = ref({\n activeStepIndex,\n latestActiveStep,\n steps: childrenStepsElements,\n type: props.type,\n variant: props.variant,\n navigateToStep,\n registerStep,\n removeStep,\n });\n\n const conditionalClasses = computed(() => ({\n 'b-stepper__list--horizontal': isHorizontalVariant.value,\n }));\n\n watch(() => props.index, navigateToStep);\n watch(activeStepIndex, index => {\n emit('update:index', index);\n });\n\n const keyboardNavigationListeners = useKeyboardNavigation(allVisibleStepsElements);\n\n // Provides stepper state to BentoStep children components\n provide<DeepReadonly<BentoStepperState>>(STEPPER_STATE, readonly(stepperState));\n</script>\n\n<script lang=\"ts\">\n /**\n * Steppers break down complex processes into manageable steps to guide users through a sequential or multi-step process.\n *\n * @example\n * import { BentoStep, BentoStepper } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoStep, BentoStepper },\n * template: `\n * <bento-stepper :index=\"1\">\n * <bento-step>Step 1</bento-step>\n * <bento-step>Step 2</bento-step>\n * <bento-step>Step 3</bento-step>\n * </bento-stepper>\n * `\n * }\n */\n\n export default {\n i18n: { messages },\n name: 'stepper',\n };\n</script>\n\n<style scoped src=\"./stepper.scss\" />\n","\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" 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\" d=\"M8 5.25C6.48122 5.25 5.25 6.48122 5.25 8C5.25 9.51878 6.48122 10.75 8 10.75C9.51878 10.75 10.75 9.51878 10.75 8C10.75 6.48122 9.51878 5.25 8 5.25Z\"/></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>\n @import '../css/main.css';\n</style>\n","<template>\n <li :class=\"conditionalClasses\" class=\"b-step\">\n <base-button\n ref=\"buttonComponent\"\n :aria-current=\"ariaCurrentValue\"\n :aria-disabled=\"ariaDisabledValue\"\n class=\"b-step__button\"\n type=\"button\"\n :tabindex=\"tabIndexValue\"\n :disabled=\"isDisabled\"\n @click=\"navigateToStep\"\n @focus=\"isFocused = true\"\n @blur=\"isFocused = false\"\n >\n <template #iconLeft>\n <bento-typography el=\"span\" variant=\"body\" stronger class=\"b-step__index\" aria-hidden=\"true\">\n <checkmark-small-icon v-if=\"isCompleted\" />\n <template v-else-if=\"!isSubstep\">{{ index + 1 }}</template>\n <dot-icon v-else />\n </bento-typography>\n </template>\n\n <bento-typography ref=\"stepContent\" el=\"span\" variant=\"body\" :stronger=\"isActive\" class=\"b-step__content\">\n <slot></slot>\n </bento-typography>\n </base-button>\n\n <ul v-show=\"isSubstepsVisible\" ref=\"substepList\" class=\"b-step__substep-list\">\n <slot name=\"substeps\"></slot>\n </ul>\n </li>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, inject, onBeforeUnmount, onMounted, provide, ref, useSlots, watch } from 'vue';\n import { BaseButton } from '@/components/internal/base-button';\n import { BentoTypography } from '@/components/typography';\n import CheckmarkSmallIcon from '@adyen/ui-assets-icons-16/vue/checkmark-small';\n import DotIcon from '@adyen/ui-assets-icons-16/vue/dot';\n\n import { useStepRegister } from '../../composables';\n import { STEPPER_STATE } from '../../stepper.keys';\n import {\n BentoStepperState,\n BentoStepperStepExposeState,\n BentoStepperTypeOption,\n BentoStepperVariantOption,\n } from '../../stepper.types';\n import { Booleanish } from '@/types';\n\n const slots = useSlots();\n\n const props = defineProps({\n /**\n * Completed status. Used on non-linear steppers to indicate if the step is completed.\n */\n completed: {\n type: Boolean,\n default: false,\n },\n /**\n * Active substep index\n */\n substepIndex: {\n type: Number,\n default: 0,\n },\n });\n\n const emit = defineEmits<{\n /**\n * Event triggered when substep is updated by the parent step\n */\n (e: 'update:substep-index', index: number): void;\n }>();\n\n // Element refs\n const buttonComponent = ref<InstanceType<typeof BaseButton> | null>(null);\n const stepContent = ref<InstanceType<typeof BentoTypography> | null>(null);\n const substeps = ref<BentoStepperStepExposeState[]>([]);\n\n // Injects parent BentoStepper state data\n const stepper = inject<BentoStepperState>(STEPPER_STATE);\n\n const buttonElement = computed(() => buttonComponent.value?.$el as HTMLButtonElement);\n const index = computed(() => stepper?.value.steps.indexOf(buttonElement.value));\n\n const stepContentValue = computed(() => stepContent.value?.$el.textContent);\n\n // Substep logic\n const substepsButtonElements = computed(() => substeps.value.map(({ buttonElement }) => buttonElement));\n\n const activeSubStepIndex = ref(props.substepIndex);\n const latestActiveSubStepIndex = ref(activeSubStepIndex.value);\n\n const navigateToSubstep = (value: number) => {\n if (value > latestActiveSubStepIndex.value) {\n latestActiveSubStepIndex.value = value;\n }\n\n activeSubStepIndex.value = value;\n };\n\n const { registerStep, removeStep } = useStepRegister(substeps);\n\n const stepState: BentoStepperState = ref({\n activeStepIndex: activeSubStepIndex,\n latestActiveStep: latestActiveSubStepIndex,\n type: stepper.value.type,\n variant: stepper.value.variant,\n steps: substepsButtonElements,\n isParentStep: true,\n navigateToStep: navigateToSubstep,\n registerStep,\n removeStep,\n });\n\n provide(STEPPER_STATE, stepState);\n\n watch(() => props.substepIndex, navigateToSubstep);\n watch(activeSubStepIndex, value => {\n emit('update:substep-index', value);\n });\n\n onMounted(() => {\n if (!stepper) {\n throw new Error(\n 'BentoStep components should only be used inside BentoStepper or other BentoStep components.'\n );\n }\n\n stepper.value.registerStep({\n buttonElement,\n stepContent: stepContentValue,\n substeps,\n });\n });\n\n onBeforeUnmount(() => {\n stepper.value.removeStep({\n buttonElement,\n stepContent: stepContentValue,\n substeps,\n });\n });\n\n // Step states\n const isSubstep = computed(() => stepper.value.isParentStep);\n const isFocused = ref(false);\n const isActive = computed(() => stepper?.value.activeStepIndex === index.value);\n const isSubstepsVisible = computed(\n () =>\n isActive.value &&\n stepper.value.variant !== BentoStepperVariantOption.HORIZONTAL &&\n !isSubstep.value &&\n slots.substeps\n );\n const isCompleted = computed(() => {\n if (stepper?.value.type === BentoStepperTypeOption.NON_LINEAR) {\n return props.completed;\n }\n\n return stepper?.value.latestActiveStep > index.value;\n });\n const isDisabled = computed(\n () => stepper?.value.type === BentoStepperTypeOption.LINEAR && index.value > stepper?.value.latestActiveStep\n );\n\n const navigateToStep = () => {\n if (isDisabled.value) {\n return;\n }\n\n stepper.value.navigateToStep(index.value);\n };\n\n // Styling and a11y\n const ariaCurrentValue = computed(() => (isActive.value ? 'step' : ('false' as Booleanish)));\n const ariaDisabledValue = computed(() => isDisabled.value.toString() as Booleanish);\n const tabIndexValue = computed(() => (isFocused.value || (index.value === 0 && !isSubstep.value) ? '0' : '-1'));\n\n const conditionalClasses = computed(() => ({\n 'b-step--active': isActive.value,\n 'b-step--completed': isCompleted.value,\n 'b-step--substep': isSubstep.value,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * Steps are components placed inside BentoSteppers to break down complex processes\n *\n * @example\n * import { BentoStep } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoStep },\n * template: `\n * <bento-stepper>\n * <bento-step>Step 1</bento-step>\n * <bento-step>\n * Step 2\n * <template #substeps>\n * <bento-step>Substep 1</bento-step>\n * <bento-step>Substep 2</bento-step>\n * </template>\n * </bento-step>\n * </bento-stepper>\n * `\n * }\n */\n\n export default {\n name: 'step',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./step.scss\" />\n"],"names":["useKeyboardNavigation","steps","focusOnStep","indexOffset","event","currentIndex","_a","focusOnPreviousStep","focusOnNextStep","BentoKeyboardNavigationKeyDownEvent","getStepPosition","stepState","listItemElement","listElement","useStepRegister","childrenSteps","position","step","STEPPER_STATE","BentoStepperTypeOption","BentoStepperTypeOption2","BentoStepperVariantOption","BentoStepperVariantOption2","__default__$1","messages","props","__props","emit","__emit","t","useI18n","ref","activeStepIndex","latestActiveStep","navigateToStep","index","currentStepContent","computed","stepsAmount","childrenStepsElements","buttonElement","isHorizontalVariant","allVisibleStepsElements","substeps","isStepActive","registerStep","removeStep","stepperState","conditionalClasses","watch","keyboardNavigationListeners","provide","readonly","uuid","openBlock","createElementBlock","mergeProps","_ctx","createCommentVNode","__default__","slots","useSlots","buttonComponent","stepContent","stepper","inject","stepContentValue","substepsButtonElements","buttonElement2","activeSubStepIndex","latestActiveSubStepIndex","navigateToSubstep","value","onMounted","onBeforeUnmount","isSubstep","isFocused","isActive","isSubstepsVisible","isCompleted","isDisabled","ariaCurrentValue","ariaDisabledValue","tabIndexValue"],"mappings":";;;;;;;;AAUa,M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A,gBAAAA,EAAA,MAAA,qBAAA7B,EAAA,KAAA,GACA2C,IAAAzC;AAAA,MAA0B,MAAAwC,EAAA,SAAAb,EAAA,MAAA,YAAA3C,EAAA,cAAA,CAAAsD,EAAA,SAAAf,EAAA;AAAA,IAKZ,GAEdmB,IAAA1C,EAAA,OACI2B,KAAA,gBAAAA,EAAA,MAAA,UAAA7C,EAAA,aACIM,EAAA,aAGJuC,KAAA,gBAAAA,EAAA,MAAA,oBAAA7B,EAAA,KAA+C,GAEnD6C,IAAA3C;AAAA,MAAmB,OAAA2B,KAAA,gBAAAA,EAAA,MAAA,UAAA7C,EAAA,UAAAgB,EAAA,SAAA6B,KAAA,gBAAAA,EAAA,MAAA;AAAA,IAC6E,GAGhG9B,IAAA,MAAA;AACI,MAAA8C,EAAA,SAIAhB,EAAA,MAAA,eAAA7B,EAAA,KAAA;AAAA,IAAwC,GAI5C8C,KAAA5C,EAAA,MAAAwC,EAAA,QAAA,SAAA,OAAA,GACAK,KAAA7C,EAAA,MAAA2C,EAAA,MAAA,SAAA,CAAA,GACAG,KAAA9C,EAAA,MAAAuC,EAAA,SAAAzC,EAAA,UAAA,KAAA,CAAAwC,EAAA,QAAA,MAAA,IAAA,GAEA3B,KAAAX,EAAA,OAAA;AAAA,MAA2C,kBAAAwC,EAAA;AAAA,MACZ,qBAAAE,EAAA;AAAA,MACM,mBAAAJ,EAAA;AAAA,IACJ,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[5]}
|
|
1
|
+
{"version":3,"file":"step.DNhSkFAA.js","sources":["../../../vue2/src/components/stepper/composables/use-keyboard-navigation/use-keyboard-navigation.ts","../../../vue2/src/components/stepper/composables/use-step-register/use-step-register.ts","../../../vue2/src/components/stepper/stepper.keys.ts","../../../vue2/src/components/stepper/stepper.types.ts","../../../vue2/src/components/stepper/stepper.vue","../../../../node_modules/.pnpm/@adyen+ui-assets-icons-16@4.1.0_vue@2.7.16/node_modules/@adyen/ui-assets-icons-16/dist/vue/dot.vue","../../../vue2/src/components/stepper/components/step/step.vue"],"sourcesContent":["import { Ref, UnwrapRef } from 'vue';\n\nimport { BentoKeyboardNavigationKeyDownEvent } from '@/types';\n\n/**\n * Returns keyboard navigation's event handlers to navigate through the steps\n *\n * @param steps the list of bento-steps DOM elements to focus on the navigation\n * @returns\n */\nexport const useKeyboardNavigation = (steps: Ref<UnwrapRef<HTMLButtonElement[]>>) => {\n // Returns the event handler that moves the focus on a given step offset\n function focusOnStep(indexOffset: number) {\n return ({ detail: event }) => {\n event.preventDefault();\n\n const currentIndex = steps.value.indexOf(document.activeElement as HTMLButtonElement);\n if (currentIndex < 0) {\n return;\n }\n\n steps.value[currentIndex + indexOffset]?.focus();\n };\n }\n\n const focusOnPreviousStep = focusOnStep(-1);\n const focusOnNextStep = focusOnStep(1);\n\n return {\n [BentoKeyboardNavigationKeyDownEvent.ARROW_DOWN]: focusOnNextStep,\n [BentoKeyboardNavigationKeyDownEvent.ARROW_RIGHT]: focusOnNextStep,\n [BentoKeyboardNavigationKeyDownEvent.ARROW_UP]: focusOnPreviousStep,\n [BentoKeyboardNavigationKeyDownEvent.ARROW_LEFT]: focusOnPreviousStep,\n };\n};\n","import type { Ref, UnwrapRef } from 'vue';\nimport type { BentoStepperStepExposeState } from '../../stepper.types';\n\n/**\n * Gets the position of a `bento-step` element within its `bento-stepper` parent.\n * @param stepState The `bento-step` state.\n * @returns The index of the element.\n */\nconst getStepPosition = (stepState: BentoStepperStepExposeState) => {\n // Button is wrapped by <li> element\n const listItemElement = (stepState.buttonElement as Ref<UnwrapRef<HTMLButtonElement>>).value.parentElement;\n const listElement = listItemElement.parentElement;\n return Array.from(listElement.children).indexOf(listItemElement);\n};\n\n/**\n * Provides methods to register/unregister `bento-step` elements to/from the `bento-stepper` step state.\n * These methods allow for tracking the child step elements, including their position in the DOM tree.\n * @param childrenSteps The `bento-stepper` (or `bento-step` if substeps) step state.\n */\nexport const useStepRegister = (childrenSteps: Ref<BentoStepperStepExposeState[]>) => {\n /**\n * Registers a step's HTML element in the stepper state.\n * Should be called by a `bento-step` when it is mounted.\n * @param stepState The `bento-step` state.\n */\n const registerStep = (stepState: BentoStepperStepExposeState) => {\n const position = getStepPosition(stepState);\n childrenSteps.value.splice(position, 0, {\n stepContent: stepState.stepContent as string,\n buttonElement: stepState.buttonElement as HTMLButtonElement,\n substeps: stepState.substeps as BentoStepperStepExposeState[],\n });\n };\n\n /**\n * Unregisters a step's HTML element in the stepper state.\n * Should be called by a `bento-step` before it is unmounted.\n * @param stepState The `bento-step` state.\n */\n const removeStep = (stepState: BentoStepperStepExposeState) => {\n childrenSteps.value.splice(\n childrenSteps.value.findIndex(step => step.buttonElement === stepState.buttonElement.value),\n 1\n );\n };\n\n return { registerStep, removeStep };\n};\n","export const STEPPER_STATE = Symbol('stepper state');\n","import type { ComputedRef, Ref, UnwrapRef } from 'vue';\n\nexport enum BentoStepperTypeOption {\n LINEAR = 'linear',\n NON_LINEAR = 'non-linear',\n}\n\nexport enum BentoStepperVariantOption {\n HORIZONTAL = 'horizontal',\n VERTICAL = 'vertical',\n}\n\nexport interface BentoStepperStepExposeState {\n buttonElement: HTMLButtonElement | Ref<UnwrapRef<HTMLButtonElement>>;\n substeps: BentoStepperStepExposeState[] | Ref<BentoStepperStepExposeState[]>;\n stepContent: string | ComputedRef<string>;\n}\n\nexport type BentoStepperState = Ref<{\n activeStepIndex: number;\n latestActiveStep: number;\n type: `${BentoStepperTypeOption}`;\n variant: `${BentoStepperVariantOption}`;\n steps: HTMLElement[];\n isParentStep?: boolean;\n navigateToStep: (index: number) => void;\n registerStep: (stepState: BentoStepperStepExposeState) => void;\n removeStep: (stepState: BentoStepperStepExposeState) => void;\n}>;\n","<template>\n <nav class=\"b-stepper\">\n <ol\n v-bento-keyboard-navigation-directive\n class=\"b-stepper__list\"\n :class=\"conditionalClasses\"\n v-on=\"keyboardNavigationListeners\"\n >\n <slot></slot>\n </ol>\n\n <bento-typography el=\"span\" variant=\"body\" stronger class=\"b-stepper__text-stepper\"\n >{{\n t('step', { currentIndex: activeStepIndex + 1, totalSteps: stepsAmount, content: currentStepContent })\n }}\n </bento-typography>\n </nav>\n</template>\n\n<script setup lang=\"ts\">\n import { BentoTypography } from '@/components/typography';\n\n import { computed, type DeepReadonly, PropType, provide, readonly, ref, watch } from 'vue';\n import { BentoKeyboardNavigationDirective as vBentoKeyboardNavigationDirective } from '@/directives';\n\n import { useKeyboardNavigation, useStepRegister } from './composables';\n import { useI18n } from '@/utils/ts/i18n';\n\n import { STEPPER_STATE } from './stepper.keys';\n import {\n BentoStepperState,\n BentoStepperStepExposeState,\n BentoStepperTypeOption,\n BentoStepperVariantOption,\n } from './stepper.types';\n\n import messages from './messages.json';\n\n const props = defineProps({\n /**\n * Type of stepper; defines how the stepper should behave. Default: linear\n * @values linear, non-linear\n */\n type: {\n type: String as PropType<`${BentoStepperTypeOption}`>,\n default: 'linear',\n },\n /**\n * Stepper variant; defines how the stepper should be displayed. Default: vertical\n * @values vertical, horizontal\n */\n variant: {\n type: String as PropType<`${BentoStepperVariantOption}`>,\n default: 'vertical',\n },\n /**\n * Active step index\n */\n index: {\n type: Number,\n default: 0,\n },\n });\n\n const emit = defineEmits<{\n /**\n * Event triggered when step is updated by the stepper\n */\n (e: 'update:index', index: number): void;\n }>();\n\n type MessageSchema = (typeof messages)['en-US'];\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const childrenSteps = ref<BentoStepperStepExposeState[]>([]);\n const activeStepIndex = ref(props.index);\n const latestActiveStep = ref(activeStepIndex.value);\n\n const navigateToStep = (index: number) => {\n // Stores latest active step index so users can navigate backwards and forwards on linear stepper\n if (index > latestActiveStep.value) {\n latestActiveStep.value = index;\n }\n activeStepIndex.value = index;\n };\n\n const currentStepContent = computed(() => childrenSteps.value[activeStepIndex.value]?.stepContent);\n const stepsAmount = computed(() => childrenSteps.value.length);\n const childrenStepsElements = computed(() => childrenSteps.value.map(({ buttonElement }) => buttonElement));\n const isHorizontalVariant = computed(() => props.variant === BentoStepperVariantOption.HORIZONTAL);\n\n // List of all visible steps nested on the stepper, including the substeps of the children steps\n // Flattening the steps on a single list makes the keyboard navigation easier to be handled\n const allVisibleStepsElements = computed(() =>\n childrenSteps.value\n .map(({ buttonElement, substeps }, index) => {\n const isStepActive = activeStepIndex.value === index;\n const isSubstepsVisible = !isHorizontalVariant.value && isStepActive;\n\n if (!isSubstepsVisible) {\n return [buttonElement];\n }\n\n return [buttonElement].concat(substeps.map(step => step.buttonElement));\n })\n .flat()\n );\n\n const { registerStep, removeStep } = useStepRegister(childrenSteps);\n\n const stepperState: BentoStepperState = ref({\n activeStepIndex,\n latestActiveStep,\n steps: childrenStepsElements,\n type: props.type,\n variant: props.variant,\n navigateToStep,\n registerStep,\n removeStep,\n });\n\n const conditionalClasses = computed(() => ({\n 'b-stepper__list--horizontal': isHorizontalVariant.value,\n }));\n\n watch(() => props.index, navigateToStep);\n watch(activeStepIndex, index => {\n emit('update:index', index);\n });\n\n const keyboardNavigationListeners = useKeyboardNavigation(allVisibleStepsElements);\n\n // Provides stepper state to BentoStep children components\n provide<DeepReadonly<BentoStepperState>>(STEPPER_STATE, readonly(stepperState));\n</script>\n\n<script lang=\"ts\">\n /**\n * Steppers break down complex processes into manageable steps to guide users through a sequential or multi-step process.\n *\n * @example\n * import { BentoStep, BentoStepper } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoStep, BentoStepper },\n * template: `\n * <bento-stepper :index=\"1\">\n * <bento-step>Step 1</bento-step>\n * <bento-step>Step 2</bento-step>\n * <bento-step>Step 3</bento-step>\n * </bento-stepper>\n * `\n * }\n */\n\n export default {\n i18n: { messages },\n name: 'stepper',\n };\n</script>\n\n<style scoped src=\"./stepper.scss\" />\n","\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" 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\" d=\"M8 5.25C6.48122 5.25 5.25 6.48122 5.25 8C5.25 9.51878 6.48122 10.75 8 10.75C9.51878 10.75 10.75 9.51878 10.75 8C10.75 6.48122 9.51878 5.25 8 5.25Z\"/></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>\n @import '../css/main.css';\n</style>\n","<template>\n <li :class=\"conditionalClasses\" class=\"b-step\">\n <base-button\n ref=\"buttonComponent\"\n :aria-current=\"ariaCurrentValue\"\n :aria-disabled=\"ariaDisabledValue\"\n class=\"b-step__button\"\n type=\"button\"\n :tabindex=\"tabIndexValue\"\n :disabled=\"isDisabled\"\n @click=\"navigateToStep\"\n @focus=\"isFocused = true\"\n @blur=\"isFocused = false\"\n >\n <template #iconLeft>\n <bento-typography el=\"span\" variant=\"body\" stronger class=\"b-step__index\" aria-hidden=\"true\">\n <checkmark-small-icon v-if=\"isCompleted\" />\n <template v-else-if=\"!isSubstep\">{{ index + 1 }}</template>\n <dot-icon v-else />\n </bento-typography>\n </template>\n\n <bento-typography ref=\"stepContent\" el=\"span\" variant=\"body\" :stronger=\"isActive\" class=\"b-step__content\">\n <slot></slot>\n </bento-typography>\n </base-button>\n\n <ul v-show=\"isSubstepsVisible\" ref=\"substepList\" class=\"b-step__substep-list\">\n <slot name=\"substeps\"></slot>\n </ul>\n </li>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, inject, onBeforeUnmount, onMounted, provide, ref, useSlots, watch } from 'vue';\n import { BaseButton } from '@/components/internal/base-button';\n import { BentoTypography } from '@/components/typography';\n import CheckmarkSmallIcon from '@adyen/ui-assets-icons-16/vue/checkmark-small';\n import DotIcon from '@adyen/ui-assets-icons-16/vue/dot';\n\n import { useStepRegister } from '../../composables';\n import { STEPPER_STATE } from '../../stepper.keys';\n import {\n BentoStepperState,\n BentoStepperStepExposeState,\n BentoStepperTypeOption,\n BentoStepperVariantOption,\n } from '../../stepper.types';\n import { Booleanish } from '@/types';\n\n const slots = useSlots();\n\n const props = defineProps({\n /**\n * Completed status. Used on non-linear steppers to indicate if the step is completed.\n */\n completed: {\n type: Boolean,\n default: false,\n },\n /**\n * Active substep index\n */\n substepIndex: {\n type: Number,\n default: 0,\n },\n });\n\n const emit = defineEmits<{\n /**\n * Event triggered when substep is updated by the parent step\n */\n (e: 'update:substep-index', index: number): void;\n }>();\n\n // Element refs\n const buttonComponent = ref<InstanceType<typeof BaseButton> | null>(null);\n const stepContent = ref<InstanceType<typeof BentoTypography> | null>(null);\n const substeps = ref<BentoStepperStepExposeState[]>([]);\n\n // Injects parent BentoStepper state data\n const stepper = inject<BentoStepperState>(STEPPER_STATE);\n\n const buttonElement = computed(() => buttonComponent.value?.$el as HTMLButtonElement);\n const index = computed(() => stepper?.value.steps.indexOf(buttonElement.value));\n\n const stepContentValue = computed(() => stepContent.value?.$el.textContent);\n\n // Substep logic\n const substepsButtonElements = computed(() => substeps.value.map(({ buttonElement }) => buttonElement));\n\n const activeSubStepIndex = ref(props.substepIndex);\n const latestActiveSubStepIndex = ref(activeSubStepIndex.value);\n\n const navigateToSubstep = (value: number) => {\n if (value > latestActiveSubStepIndex.value) {\n latestActiveSubStepIndex.value = value;\n }\n\n activeSubStepIndex.value = value;\n };\n\n const { registerStep, removeStep } = useStepRegister(substeps);\n\n const stepState: BentoStepperState = ref({\n activeStepIndex: activeSubStepIndex,\n latestActiveStep: latestActiveSubStepIndex,\n type: stepper.value.type,\n variant: stepper.value.variant,\n steps: substepsButtonElements,\n isParentStep: true,\n navigateToStep: navigateToSubstep,\n registerStep,\n removeStep,\n });\n\n provide(STEPPER_STATE, stepState);\n\n watch(() => props.substepIndex, navigateToSubstep);\n watch(activeSubStepIndex, value => {\n emit('update:substep-index', value);\n });\n\n onMounted(() => {\n if (!stepper) {\n throw new Error(\n 'BentoStep components should only be used inside BentoStepper or other BentoStep components.'\n );\n }\n\n stepper.value.registerStep({\n buttonElement,\n stepContent: stepContentValue,\n substeps,\n });\n });\n\n onBeforeUnmount(() => {\n stepper.value.removeStep({\n buttonElement,\n stepContent: stepContentValue,\n substeps,\n });\n });\n\n // Step states\n const isSubstep = computed(() => stepper.value.isParentStep);\n const isFocused = ref(false);\n const isActive = computed(() => stepper?.value.activeStepIndex === index.value);\n const isSubstepsVisible = computed(\n () =>\n isActive.value &&\n stepper.value.variant !== BentoStepperVariantOption.HORIZONTAL &&\n !isSubstep.value &&\n slots.substeps\n );\n const isCompleted = computed(() => {\n if (stepper?.value.type === BentoStepperTypeOption.NON_LINEAR) {\n return props.completed;\n }\n\n return stepper?.value.latestActiveStep > index.value;\n });\n const isDisabled = computed(\n () => stepper?.value.type === BentoStepperTypeOption.LINEAR && index.value > stepper?.value.latestActiveStep\n );\n\n const navigateToStep = () => {\n if (isDisabled.value) {\n return;\n }\n\n stepper.value.navigateToStep(index.value);\n };\n\n // Styling and a11y\n const ariaCurrentValue = computed(() => (isActive.value ? 'step' : ('false' as Booleanish)));\n const ariaDisabledValue = computed(() => isDisabled.value.toString() as Booleanish);\n const tabIndexValue = computed(() => (isFocused.value || (index.value === 0 && !isSubstep.value) ? '0' : '-1'));\n\n const conditionalClasses = computed(() => ({\n 'b-step--active': isActive.value,\n 'b-step--completed': isCompleted.value,\n 'b-step--substep': isSubstep.value,\n }));\n</script>\n\n<script lang=\"ts\">\n /**\n * Steps are components placed inside BentoSteppers to break down complex processes\n *\n * @example\n * import { BentoStep } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoStep },\n * template: `\n * <bento-stepper>\n * <bento-step>Step 1</bento-step>\n * <bento-step>\n * Step 2\n * <template #substeps>\n * <bento-step>Substep 1</bento-step>\n * <bento-step>Substep 2</bento-step>\n * </template>\n * </bento-step>\n * </bento-stepper>\n * `\n * }\n */\n\n export default {\n name: 'step',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./step.scss\" />\n"],"names":["useKeyboardNavigation","steps","focusOnStep","indexOffset","event","currentIndex","_a","focusOnPreviousStep","focusOnNextStep","BentoKeyboardNavigationKeyDownEvent","getStepPosition","stepState","listItemElement","listElement","useStepRegister","childrenSteps","position","step","STEPPER_STATE","BentoStepperTypeOption","BentoStepperTypeOption2","BentoStepperVariantOption","BentoStepperVariantOption2","__default__$1","messages","props","__props","emit","__emit","t","useI18n","ref","activeStepIndex","latestActiveStep","navigateToStep","index","currentStepContent","computed","stepsAmount","childrenStepsElements","buttonElement","isHorizontalVariant","allVisibleStepsElements","substeps","isStepActive","registerStep","removeStep","stepperState","conditionalClasses","watch","keyboardNavigationListeners","provide","readonly","uuid","openBlock","createElementBlock","mergeProps","_ctx","createCommentVNode","__default__","slots","useSlots","buttonComponent","stepContent","stepper","inject","stepContentValue","substepsButtonElements","buttonElement2","activeSubStepIndex","latestActiveSubStepIndex","navigateToSubstep","value","onMounted","onBeforeUnmount","isSubstep","isFocused","isActive","isSubstepsVisible","isCompleted","isDisabled","ariaCurrentValue","ariaDisabledValue","tabIndexValue"],"mappings":";;;;;;;;;AAUa,MAAAA,KAAA,CAAAC,MAAA;AAET,WAAAC,EAAAC,GAAA;AACI,WAAA,CAAA,EAAA,QAAAC,EAAA,MAAA;;AACI,MAAAA,EAAA,eAAA;AAEA,YAAAC,IAAAJ,EAAA,MAAA,QAAA,SAAA,aAAA;AACA,MAAAI,IAAA,MAIAC,IAAAL,EAAA,MAAAI,IAAAF,CAAA,MAAA,QAAAG,EAAA;AAAA,IAA+C;AAAA,EACnD;AAGJ,QAAAC,IAAAL,EAAA,EAAA,GACAM,IAAAN,EAAA,CAAA;AAEA,SAAA;AAAA,IAAO,CAAAO,EAAA,UAAA,GAAAD;AAAA,IAC+C,CAAAC,EAAA,WAAA,GAAAD;AAAA,IACC,CAAAC,EAAA,QAAA,GAAAF;AAAA,IACH,CAAAE,EAAA,UAAA,GAAAF;AAAA,EACE;AAE1D,GC1BAG,KAAA,CAAAC,MAAA;AAEI,QAAAC,IAAAD,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C,EAAA,MAAAwC,EAAA,QAAA,SAAA,OAAA,GACAK,KAAA7C,EAAA,MAAA2C,EAAA,MAAA,SAAA,CAAA,GACAG,KAAA9C,EAAA,MAAAuC,EAAA,SAAAzC,EAAA,UAAA,KAAA,CAAAwC,EAAA,QAAA,MAAA,IAAA,GAEA3B,KAAAX,EAAA,OAAA;AAAA,MAA2C,kBAAAwC,EAAA;AAAA,MACZ,qBAAAE,EAAA;AAAA,MACM,mBAAAJ,EAAA;AAAA,IACJ,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[5]}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { defineComponent as h, inject as p, computed as o, provide as D, openBlock as r, createElementBlock as v, renderSlot as B, ref as N, normalizeClass as _, createElementVNode as f, normalizeStyle as W, createVNode as y, unref as e, withCtx as b, createTextVNode as $, toDisplayString as g, createBlock as u, createCommentVNode as d, withDirectives as U } from "vue";
|
|
2
2
|
import { _ as S } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
3
|
-
import { B as R } from "./button.
|
|
4
|
-
import { B as V } from "./info-icon.
|
|
5
|
-
import { B as j } from "./typography.
|
|
6
|
-
import { C as O } from "./copy.
|
|
3
|
+
import { B as R } from "./button.BJBAbiJq.js";
|
|
4
|
+
import { B as V } from "./info-icon.WGVkmqMM.js";
|
|
5
|
+
import { B as j } from "./typography.DNzU41ah.js";
|
|
6
|
+
import { C as O } from "./copy.CJmwNFh_.js";
|
|
7
7
|
import { S as w } from "./search.EnLryD8V.js";
|
|
8
8
|
import { u as A } from "./i18n.DL9GT2-k.js";
|
|
9
|
-
import
|
|
9
|
+
import "./events.FNmSWp_P.js";
|
|
10
|
+
import { B as J } from "./tooltip.BEl_LdFo.js";
|
|
10
11
|
import "../assets/structured-list-item.css";
|
|
11
12
|
const C = Symbol("structured list condensed style injection key"), I = Symbol("structured list labels width injection key"), x = ["25-75", "33-66", "42-58", "50-50"], z = { class: "b-structured-list" }, F = {}, H = /* @__PURE__ */ h({
|
|
12
13
|
...F,
|
|
@@ -23,7 +24,7 @@ const C = Symbol("structured list condensed style injection key"), I = Symbol("s
|
|
|
23
24
|
B(i.$slots, "default", {}, void 0, !0)
|
|
24
25
|
]));
|
|
25
26
|
}
|
|
26
|
-
}),
|
|
27
|
+
}), rt = /* @__PURE__ */ S(H, [["__scopeId", "data-v-42e8c709"]]), T = {
|
|
27
28
|
"en-US": {
|
|
28
29
|
search: "Search"
|
|
29
30
|
},
|
|
@@ -98,10 +99,10 @@ const C = Symbol("structured list condensed style injection key"), I = Symbol("s
|
|
|
98
99
|
], 2)
|
|
99
100
|
], 2));
|
|
100
101
|
}
|
|
101
|
-
}),
|
|
102
|
+
}), at = /* @__PURE__ */ S(Y, [["__scopeId", "data-v-a401a9ff"]]);
|
|
102
103
|
export {
|
|
103
|
-
|
|
104
|
+
rt as B,
|
|
104
105
|
C as S,
|
|
105
|
-
|
|
106
|
+
at as a
|
|
106
107
|
};
|
|
107
|
-
//# sourceMappingURL=structured-list-item.
|
|
108
|
+
//# sourceMappingURL=structured-list-item.IwqvXP2Q.js.map
|
package/dist/chunks/{structured-list-item.1A2sjhP4.js.map → structured-list-item.IwqvXP2Q.js.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"structured-list-item.
|
|
1
|
+
{"version":3,"file":"structured-list-item.IwqvXP2Q.js","sources":["../../../vue2/src/components/structured-list/structured-list.keys.ts","../../../vue2/src/components/structured-list/structured-list.types.ts","../../../vue2/src/components/structured-list/structured-list.vue","../../../vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue"],"sourcesContent":["export const STRUCTURED_LIST_CONDENSED_INJECTION_KEY = Symbol('structured list condensed style injection key');\nexport const STRUCTURED_LIST_LABELS_WIDTH_INJECTION_KEY = Symbol('structured list labels width injection key');\n","export type BentoStructuredListLayoutOptions = '25-75' | '33-66' | '42-58' | '50-50';\nexport const BentoStructuredListLayoutOptions = ['25-75', '33-66', '42-58', '50-50'];\n","<template>\n <dl class=\"b-structured-list\">\n <slot />\n </dl>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, inject, provide } from 'vue';\n import {\n STRUCTURED_LIST_CONDENSED_INJECTION_KEY,\n STRUCTURED_LIST_LABELS_WIDTH_INJECTION_KEY,\n } from '@/components/structured-list/structured-list.keys';\n import { BentoStructuredListLayoutOptions } from './structured-list.types';\n\n const props = withDefaults(\n defineProps<{\n /**\n * Width of the labels container, in pixels. Overrides layout prop.\n */\n labelsWidth?: number;\n /**\n * The layout of the label value pair in percentage.\n * If labelsWidth is set, layout will be overriden by the static pixel value.\n *\n * If the value entered is not listed in the example\n * list below '33-66' will be applied\n * @example\n * '25-75'\n * '33-66'\n * '42-58'\n * '50-50'\n */\n layout?: BentoStructuredListLayoutOptions;\n }>(),\n {\n labelsWidth: null,\n layout: '33-66',\n }\n );\n\n const isCondensed = inject(STRUCTURED_LIST_CONDENSED_INJECTION_KEY, false);\n\n const computedLayout = computed(() =>\n BentoStructuredListLayoutOptions.includes(props.layout) ? props.layout : '33-66'\n );\n\n const computedLabelsWidth = computed(() => {\n if (isCondensed) {\n return '130px';\n }\n\n if (props.labelsWidth) {\n return `${props.labelsWidth}px`;\n }\n\n return `${computedLayout.value.split('-')[0]}%`;\n });\n\n provide(STRUCTURED_LIST_LABELS_WIDTH_INJECTION_KEY, computedLabelsWidth);\n</script>\n\n<script lang=\"ts\">\n /**\n * This is a list used to display pairs of information in a clear and organized manner.\n * `BentoStructureListItem` should be used to pass the label/value pairs to the list.\n *\n * @example\n * import { BentoStructuredListItem, BentoStructuredListItem } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoStructuredList, BentoStructuredListItem },\n * template: `\n * <bento-structured-list>\n * <bento-structured-list-item label=\"Payment\">\n * <bento-payment-method label=\"Klarna\" type=\"Klarna\" />\n * </bento-structured-list-item>\n * <bento-structured-list-item label=\"Amount\">\n * <bento-currency :currency=\"BentoCurrencyISOCode.USD\">\n * 123456\n * </bento-currency>\n * </bento-structured-list-item>\n * </bento-structured-list>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./structured-list.scss\" />\n","<template>\n <div class=\"b-structured-list-item\" :class=\"conditionalClasses\">\n <dt class=\"b-structured-list-item__label\" :style=\"computedLabelStyle\">\n <bento-typography :variant=\"labelTypographyVariant\">{{ label }}</bento-typography>\n <bento-info-icon v-if=\"labelInfo\" class=\"b-structured-list-item__icon\" :tooltip-text=\"labelInfo\" />\n </dt>\n <dd class=\"b-structured-list-item__value\" :class=\"valueConditionalClasses\">\n <slot />\n <copy v-if=\"copy\" class=\"b-structured-list-item__icon\" :text=\"copy\" />\n <bento-button\n v-if=\"search\"\n v-bento-tooltip-directive:top=\"searchTooltip ? searchTooltip : t('search')\"\n class=\"b-structured-list-item__icon\"\n variant=\"tertiary\"\n @click=\"search\"\n >\n <template #iconLeft>\n <search-icon :svg-title=\"t('search')\" />\n </template>\n </bento-button>\n </dd>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, inject, ref, Ref } from 'vue';\n\n // Components\n import { BentoButton } from '@/components/button';\n import { BentoInfoIcon } from '@/components/info-icon';\n import { BentoTypography } from '@/components/typography';\n import Copy from '@/components/internal/copy/copy.vue';\n import SearchIcon from '@adyen/ui-assets-icons-16/vue/search';\n\n // Utils\n import { useI18n } from '@/utils/ts/i18n';\n\n // Directives\n import { BentoTooltipDirective as vBentoTooltipDirective } from '@/directives';\n\n // Keys\n import {\n STRUCTURED_LIST_CONDENSED_INJECTION_KEY,\n STRUCTURED_LIST_LABELS_WIDTH_INJECTION_KEY,\n } from '../../structured-list.keys';\n\n import messages from '../../messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const DEFAULT_LABELS_WIDTH = '33%';\n\n const props = defineProps<{\n /**\n * Label to display for the value\n */\n label: string;\n /**\n * Text to display in info icon tooltip in the label to display for the value\n */\n labelInfo?: string;\n /**\n * Text to copy when the user clicks `Copy` icon\n */\n copy?: string;\n /**\n * Function to trigger when user clicks `Search` icon\n */\n search?: (event: Event) => void;\n /**\n * Text to display when the user hovers over `Search` icon\n */\n searchTooltip?: string;\n /**\n * Truncates the value of the item\n */\n truncate?: boolean;\n }>();\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n const isCondensed = inject(STRUCTURED_LIST_CONDENSED_INJECTION_KEY, false);\n const labelsWidth = inject<Ref<string>>(STRUCTURED_LIST_LABELS_WIDTH_INJECTION_KEY, ref(DEFAULT_LABELS_WIDTH));\n const computedLabelStyle = computed(() => `flex-basis:${labelsWidth.value}`);\n const conditionalClasses = computed(() => ({\n 'b-structured-list-item--condensed': isCondensed,\n }));\n\n const valueConditionalClasses = computed(() => ({\n 'b-structured-list-item__value--truncate': props.truncate,\n }));\n\n const labelTypographyVariant = computed(() => (isCondensed ? 'caption' : 'body'));\n</script>\n\n<script lang=\"ts\">\n /**\n * This is an item of the `BentoStructuredList` meant to be used only with that component.\n * It consists of a label/value pair, and also the optional copy and search modifiers.\n *\n * @example\n * import { BentoCurrencyISOCode, BentoStructuredListItem, BentoStructuredListItem } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoStructuredListItem, BentoStructuredListItem },\n * template: `\n * <bento-structured-list>\n * <bento-structured-list-item label=\"Shopper\" search='searchShopper' search-tooltip='Find shopper'>\n * <bento-typography>\n * 143442642\n * </bento-status>\n * </bento-structured-list-item>\n * <bento-structured-list-item label=\"Amount\" copy='123456'>\n * <bento-currency :currency=\"BentoCurrencyISOCode.USD\">\n * 123456\n * </bento-currency>\n * </bento-structured-list-item>\n * </bento-structured-list>\n * `\n * }\n */\n export default {\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./structured-list-item.scss\" />\n"],"names":["STRUCTURED_LIST_CONDENSED_INJECTION_KEY","STRUCTURED_LIST_LABELS_WIDTH_INJECTION_KEY","BentoStructuredListLayoutOptions","__default__$1","props","__props","isCondensed","inject","computedLayout","computed","computedLabelsWidth","provide","__default__","messages","DEFAULT_LABELS_WIDTH","t","useI18n","labelsWidth","ref","computedLabelStyle","conditionalClasses","valueConditionalClasses","labelTypographyVariant"],"mappings":";;;;;;;;;;;AAAa,MAAAA,IAAA,OAAA,+CAAA,GACAC,IAAA,OAAA,4CAAA,GCANC,IAAA,CAAA,SAAA,SAAA,SAAA,OAAA,uCCoFHC,IAAA,CAAA;;;;;;;;AAvEA,UAAAC,IAAAC,GA0BAC,IAAAC,EAAAP,GAAA,EAAA,GAEAQ,IAAAC;AAAA,MAAuB,MAAAP,EAAA,SAAAE,EAAA,MAAA,IAAAA,EAAA,SAAA;AAAA,IACsD,GAG7EM,IAAAD,EAAA,MACIH,IACI,UAGJF,EAAA,cACI,GAAAA,EAAA,WAAA,OAGJ,GAAAI,EAAA,MAAA,MAAA,GAAA,EAAA,CAAA,CAAA,GAA4C;AAGhD,WAAAG,EAAAV,GAAAS,CAAA;;;;;;;;;;;;;;GC8DAE,IAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAEf;;;;;;;;;;;;AAxEA,UAAAC,IAAA,OAEAV,IAAAC,GA2BA,EAAA,GAAAU,EAAA,IAAAC,EAAA,EAAA,UAAAH,EAAA,CAAA,GACAP,IAAAC,EAAAP,GAAA,EAAA,GACAiB,IAAAV,EAAAN,GAAAiB,EAAAJ,CAAA,CAAA,GACAK,IAAAV,EAAA,MAAA,cAAAQ,EAAA,KAAA,EAAA,GACAG,IAAAX,EAAA,OAAA;AAAA,MAA2C,qCAAAH;AAAA,IACF,EAAA,GAGzCe,IAAAZ,EAAA,OAAA;AAAA,MAAgD,2CAAAL,EAAA;AAAA,IACK,EAAA,GAGrDkB,IAAAb,EAAA,MAAAH,IAAA,YAAA,MAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/chunks/{summary-grid-item-custom.CuvUVoQ8.js → summary-grid-item-custom.BbN72bub.js}
RENAMED
|
@@ -3,10 +3,10 @@ import { u as k } from "./use-has-slot.B7eQSabc.js";
|
|
|
3
3
|
import { S as q } from "./summary-grid.keys.BBbFrFGF.js";
|
|
4
4
|
import { G as U } from "./grid-layout.CqLbbEzI.js";
|
|
5
5
|
import { _ as T } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
6
|
-
import { B as Y } from "./info-icon.
|
|
7
|
-
import { B as W, a as V } from "./typography.
|
|
8
|
-
import { B as X, a as L } from "./tag.
|
|
9
|
-
import { C as F } from "./copy.
|
|
6
|
+
import { B as Y } from "./info-icon.WGVkmqMM.js";
|
|
7
|
+
import { B as W, a as V } from "./typography.DNzU41ah.js";
|
|
8
|
+
import { B as X, a as L } from "./tag.wfnhGWVG.js";
|
|
9
|
+
import { C as F } from "./copy.CJmwNFh_.js";
|
|
10
10
|
import "../assets/summary-grid-item-custom.css";
|
|
11
11
|
const H = S({
|
|
12
12
|
name: "bento-summary-grid",
|
|
@@ -717,4 +717,4 @@ export {
|
|
|
717
717
|
o as f,
|
|
718
718
|
_e as s
|
|
719
719
|
};
|
|
720
|
-
//# sourceMappingURL=summary-grid-item-custom.
|
|
720
|
+
//# sourceMappingURL=summary-grid-item-custom.BbN72bub.js.map
|