@adyen/bento-vue3 1.26.0 → 1.28.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/components.d.ts +8 -0
- package/dist/@types/packages/core/src/utils/ts/storybook.d.ts +12 -0
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/button/components/button-actions/button-actions.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.types.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/code-snippet/utils/get-lang-loader.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/dashed-underline/dashed-underline.vue.d.ts +91 -0
- package/dist/@types/packages/vue2/src/components/dashed-underline/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-static-icon/data-grid-static-icon.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-static-icon/data-grid-static-icon.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-static-icon/data-grid-static-icon.vue.d.ts +65 -0
- package/dist/@types/packages/vue2/src/components/data-grid/components/index.d.ts +1 -0
- 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-column-hovering/use-column-hovering.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-column-reorderer/use-column-reorderer.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-config-settings/use-config-settings.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-resizer.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.types.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +15 -0
- package/dist/@types/packages/vue2/src/components/data-grid/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +1 -18
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +12 -0
- package/dist/@types/packages/vue2/src/components/internal/avatar/avatar.vue.d.ts +38 -42
- package/dist/@types/packages/vue2/src/components/internal/radio-input/index.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/radio-input/radio-input.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +59 -85
- package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.types.d.ts +3 -0
- package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.vue.d.ts +48 -80
- package/dist/@types/packages/vue2/src/components/status/status.vue.d.ts +19 -16
- package/dist/@types/packages/vue2/src/components/structured-list/components/structered-list-item/structured-list-item.vue.d.ts +36 -54
- package/dist/@types/packages/vue2/src/components/structured-list/structured-list.vue.d.ts +27 -22
- package/dist/@types/packages/vue2/src/components/tabs/tabs.vue.d.ts +76 -1
- package/dist/@types/packages/vue2/src/components/tutorial/tutorial.vue.d.ts +21 -2
- package/dist/@types/packages/vue2/src/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/templates/dashboard-template/components/dashboard-section/dashboard-section.vue.d.ts +78 -0
- package/dist/@types/packages/vue2/src/templates/dashboard-template/dashboard-template.types.d.ts +8 -0
- package/dist/@types/packages/vue2/src/templates/dashboard-template/dashboard-template.vue.d.ts +103 -0
- package/dist/@types/packages/vue2/src/templates/dashboard-template/index.d.ts +3 -0
- package/dist/@types/packages/vue2/src/utils/ts/storybook.d.ts +1 -12
- package/dist/accordion.js +3 -125
- package/dist/accordion.js.map +1 -1
- package/dist/action-bar.js +2 -270
- package/dist/action-bar.js.map +1 -1
- package/dist/alert.js +5 -181
- package/dist/alert.js.map +1 -1
- package/dist/assets/{index10.css → accordion-item.css} +1 -1
- package/dist/assets/{index17.css → action-bar.css} +1 -1
- package/dist/assets/alert.css +1 -0
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button-actions.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/{index26.css → card.css} +1 -1
- package/dist/assets/checkbox-input.css +1 -1
- package/dist/assets/{index14.css → code-snippet.css} +1 -1
- package/dist/assets/dashboard-section.css +1 -0
- package/dist/assets/dashed-underline.css +1 -0
- package/dist/assets/data-grid-template.css +1 -0
- package/dist/assets/data-grid.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/filter-bar.css +1 -0
- package/dist/assets/{index43.css → form-layout-title.css} +1 -1
- package/dist/assets/{index39.css → input-field.css} +1 -1
- package/dist/assets/link.css +1 -0
- package/dist/assets/listbox-option-tag.css +1 -1
- package/dist/assets/{index7.css → menu.css} +1 -1
- package/dist/assets/{index27.css → modal-fullscreen.css} +1 -1
- package/dist/assets/{index19.css → popover.css} +1 -1
- package/dist/assets/radio-input.css +1 -1
- package/dist/assets/segmented-control.css +1 -0
- package/dist/assets/selection-card-group.css +1 -0
- package/dist/assets/{index44.css → sidepanel.css} +1 -1
- package/dist/assets/status.css +1 -0
- package/dist/assets/structured-list-item.css +1 -0
- package/dist/assets/{index32.css → tabs.css} +1 -1
- package/dist/assets/toggle.css +1 -0
- package/dist/assets/tutorial.css +1 -0
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/badge.js +13 -14
- package/dist/badge.js.map +1 -1
- package/dist/button.js +14 -89
- package/dist/button.js.map +1 -1
- package/dist/card.js +4 -203
- package/dist/card.js.map +1 -1
- package/dist/checkbox.js +8 -194
- package/dist/checkbox.js.map +1 -1
- package/dist/chunks/1-generic-use.CZhwP2Yc.js +5 -0
- package/dist/chunks/1-generic-use.CZhwP2Yc.js.map +1 -0
- package/dist/chunks/1-generic-use.R6x8PEGA.js +5 -0
- package/dist/chunks/1-generic-use.R6x8PEGA.js.map +1 -0
- package/dist/chunks/2-generic-use.CNKjB4B7.js +5 -0
- package/dist/chunks/2-generic-use.CNKjB4B7.js.map +1 -0
- package/dist/chunks/2-generic-use.w0fUhovx.js +5 -0
- package/dist/chunks/2-generic-use.w0fUhovx.js.map +1 -0
- package/dist/chunks/3-generic-use.BLEzR04g.js +5 -0
- package/dist/chunks/3-generic-use.BLEzR04g.js.map +1 -0
- package/dist/chunks/3-generic-use.D3NFHgI4.js +5 -0
- package/dist/chunks/3-generic-use.D3NFHgI4.js.map +1 -0
- package/dist/chunks/4-generic-use.CULEpvgj.js +5 -0
- package/dist/chunks/4-generic-use.CULEpvgj.js.map +1 -0
- package/dist/chunks/4-generic-use.D82y3n39.js +5 -0
- package/dist/chunks/4-generic-use.D82y3n39.js.map +1 -0
- package/dist/chunks/{_plugin-vue_export-helper.dad06003.js → _plugin-vue_export-helper.CHgC5LLL.js} +1 -1
- package/dist/chunks/_plugin-vue_export-helper.CHgC5LLL.js.map +1 -0
- package/dist/chunks/accordion-item.BcfGYvjn.js +126 -0
- package/dist/chunks/accordion-item.BcfGYvjn.js.map +1 -0
- package/dist/chunks/action-bar.BvAtk-jI.js +188 -0
- package/dist/chunks/action-bar.BvAtk-jI.js.map +1 -0
- package/dist/chunks/adding-payment-methods.BJZLPxtM.js +5 -0
- package/dist/chunks/adding-payment-methods.BJZLPxtM.js.map +1 -0
- package/dist/chunks/adding-payment-methods.Dle8zt43.js +5 -0
- package/dist/chunks/adding-payment-methods.Dle8zt43.js.map +1 -0
- package/dist/chunks/adyen-giving.Ffw_DlJK.js +5 -0
- package/dist/chunks/adyen-giving.Ffw_DlJK.js.map +1 -0
- package/dist/chunks/adyen-giving.LiKHj_jY.js +5 -0
- package/dist/chunks/adyen-giving.LiKHj_jY.js.map +1 -0
- package/dist/chunks/alert.C0gIf7Ka.js +162 -0
- package/dist/chunks/alert.C0gIf7Ka.js.map +1 -0
- package/dist/chunks/{aria-label.ac9651a5.js → aria-label.CaUURpnB.js} +1 -1
- package/dist/chunks/{aria-label.ac9651a5.js.map → aria-label.CaUURpnB.js.map} +1 -1
- package/dist/chunks/avatar-image.DO4w_loj.js +61 -0
- package/dist/chunks/avatar-image.DO4w_loj.js.map +1 -0
- package/dist/chunks/{base-button.e84acf30.js → base-button.ewkxHD6W.js} +24 -25
- package/dist/chunks/{base-button.e84acf30.js.map → base-button.ewkxHD6W.js.map} +1 -1
- package/dist/chunks/{base-modal.29e062d0.js → base-modal.BgYlnM_Q.js} +81 -83
- package/dist/chunks/{base-modal.29e062d0.js.map → base-modal.BgYlnM_Q.js.map} +1 -1
- package/dist/chunks/{base-modal.keys.b08a6bdf.js → base-modal.keys.C2PQXcE2.js} +1 -1
- package/dist/chunks/{base-modal.keys.b08a6bdf.js.map → base-modal.keys.C2PQXcE2.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.7fce47a2.js → button-actions-with-menu.C14zvgVo.js} +14 -15
- package/dist/chunks/{button-actions-with-menu.7fce47a2.js.map → button-actions-with-menu.C14zvgVo.js.map} +1 -1
- package/dist/chunks/{button-actions.642b37de.js → button-actions.hGhRdgC2.js} +41 -40
- package/dist/chunks/button-actions.hGhRdgC2.js.map +1 -0
- package/dist/chunks/{button.60dad578.js → button.DoqHEvPh.js} +38 -38
- package/dist/chunks/button.DoqHEvPh.js.map +1 -0
- package/dist/chunks/{calendar.f38cdab9.js → calendar.CwULNbSL.js} +285 -326
- package/dist/chunks/{calendar.f38cdab9.js.map → calendar.CwULNbSL.js.map} +1 -1
- package/dist/chunks/card.C7zLKdcy.js +205 -0
- package/dist/chunks/card.C7zLKdcy.js.map +1 -0
- package/dist/chunks/checkbox-group.BcT-eZ2p.js +192 -0
- package/dist/chunks/checkbox-group.BcT-eZ2p.js.map +1 -0
- package/dist/chunks/{checkbox-input.ab758a81.js → checkbox-input.CR1lHf7f.js} +43 -43
- package/dist/chunks/{checkbox-input.ab758a81.js.map → checkbox-input.CR1lHf7f.js.map} +1 -1
- package/dist/chunks/{checkbox.f55ee3a5.js → checkbox.xjIFibII.js} +38 -39
- package/dist/chunks/{checkbox.f55ee3a5.js.map → checkbox.xjIFibII.js.map} +1 -1
- package/dist/chunks/checkmark-circle-fill.D29b-JWj.js +44 -0
- package/dist/chunks/{checkmark-circle-fill.f3a69c6a.js.map → checkmark-circle-fill.D29b-JWj.js.map} +1 -1
- package/dist/chunks/{checkmark-small.d7e31e5e.js → checkmark-small.BCeGkayS.js} +10 -10
- package/dist/chunks/{checkmark-small.d7e31e5e.js.map → checkmark-small.BCeGkayS.js.map} +1 -1
- package/dist/chunks/{chevron-left.963d35e9.js → chevron-left.4JHuWe7i.js} +18 -18
- package/dist/chunks/{chevron-left.963d35e9.js.map → chevron-left.4JHuWe7i.js.map} +1 -1
- package/dist/chunks/{chevron-up.05ca20db.js → chevron-up.5-KtIp8i.js} +19 -19
- package/dist/chunks/{chevron-up.05ca20db.js.map → chevron-up.5-KtIp8i.js.map} +1 -1
- package/dist/chunks/click-outside.DABh6NLr.js +23 -0
- package/dist/chunks/click-outside.DABh6NLr.js.map +1 -0
- package/dist/chunks/code-snippet.e8bxDBCO.js +1052 -0
- package/dist/chunks/code-snippet.e8bxDBCO.js.map +1 -0
- package/dist/chunks/{controls-group.9e0f17b2.js → controls-group.DWu8NqKL.js} +17 -18
- package/dist/chunks/{controls-group.9e0f17b2.js.map → controls-group.DWu8NqKL.js.map} +1 -1
- package/dist/chunks/{copy.852d4cb8.js → copy.BhO7oRgC.js} +39 -40
- package/dist/chunks/{copy.852d4cb8.js.map → copy.BhO7oRgC.js.map} +1 -1
- package/dist/chunks/{country.types.002caff2.js → country.types.Br0AjxGy.js} +5 -5
- package/dist/chunks/{country.types.002caff2.js.map → country.types.Br0AjxGy.js.map} +1 -1
- package/dist/chunks/country.vX94O3uR.js +98 -0
- package/dist/chunks/country.vX94O3uR.js.map +1 -0
- package/dist/chunks/{cross-circle-fill.81925c7f.js → cross-circle-fill.vLaelNTN.js} +12 -12
- package/dist/chunks/{cross-circle-fill.81925c7f.js.map → cross-circle-fill.vLaelNTN.js.map} +1 -1
- package/dist/chunks/cross-small.48UCoOqB.js +29 -0
- package/dist/chunks/{cross-small.9bc6a02f.js.map → cross-small.48UCoOqB.js.map} +1 -1
- package/dist/chunks/cross.BlL0FyHo.js +29 -0
- package/dist/chunks/{cross.a60533f6.js.map → cross.BlL0FyHo.js.map} +1 -1
- package/dist/chunks/currency.CgVd9fQN.js +121 -0
- package/dist/chunks/currency.CgVd9fQN.js.map +1 -0
- package/dist/chunks/dashboard-section.DKeDjvkB.js +167 -0
- package/dist/chunks/dashboard-section.DKeDjvkB.js.map +1 -0
- package/dist/chunks/dashed-underline.DGTW7Y_-.js +79 -0
- package/dist/chunks/dashed-underline.DGTW7Y_-.js.map +1 -0
- package/dist/chunks/data-grid-template.6Nls-D4o.js +89 -0
- package/dist/chunks/data-grid-template.6Nls-D4o.js.map +1 -0
- package/dist/chunks/{data-grid-template.keys.a819a991.js → data-grid-template.keys.2_AkxuNT.js} +1 -1
- package/dist/chunks/{data-grid-template.keys.a819a991.js.map → data-grid-template.keys.2_AkxuNT.js.map} +1 -1
- package/dist/chunks/data-grid.BwfZhc09.js +2733 -0
- package/dist/chunks/data-grid.BwfZhc09.js.map +1 -0
- package/dist/chunks/{date-input.9186a0bf.js → date-input.BqBdAO1E.js} +1 -1
- package/dist/chunks/{date-input.9186a0bf.js.map → date-input.BqBdAO1E.js.map} +1 -1
- package/dist/chunks/date-picker.CoPmllNh.js +273 -0
- package/dist/chunks/date-picker.CoPmllNh.js.map +1 -0
- package/dist/chunks/{index.96cd0d4c.js → date-range-picker.CiwDo2jW.js} +216 -218
- package/dist/chunks/date-range-picker.CiwDo2jW.js.map +1 -0
- package/dist/chunks/{index.146f967e.js → date.2ndGvIGE.js} +36 -41
- package/dist/chunks/date.2ndGvIGE.js.map +1 -0
- package/dist/chunks/{debounce.b5ef6acf.js → debounce.DUTu11PS.js} +1 -1
- package/dist/chunks/{debounce.b5ef6acf.js.map → debounce.DUTu11PS.js.map} +1 -1
- package/dist/chunks/{dialog-page.ea67bb14.js → dialog-page.BLqqR73w.js} +48 -49
- package/dist/chunks/{dialog-page.ea67bb14.js.map → dialog-page.BLqqR73w.js.map} +1 -1
- package/dist/chunks/divider.CnwfddJD.js +22 -0
- package/dist/chunks/divider.CnwfddJD.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.ad5063c2.js → dropdown-default-textbox.-Oy2eT40.js} +75 -77
- package/dist/chunks/{dropdown-default-textbox.ad5063c2.js.map → dropdown-default-textbox.-Oy2eT40.js.map} +1 -1
- package/dist/chunks/dropdown-tag.C-LxVWlt.js +201 -0
- package/dist/chunks/dropdown-tag.C-LxVWlt.js.map +1 -0
- package/dist/chunks/{dropdown.d8587f36.js → dropdown.CxBlK83Q.js} +221 -233
- package/dist/chunks/dropdown.CxBlK83Q.js.map +1 -0
- package/dist/chunks/empty-state.BBxgpI-D.js +185 -0
- package/dist/chunks/empty-state.BBxgpI-D.js.map +1 -0
- package/dist/chunks/{error-message.3fb5573a.js → error-message.DyjHMyEZ.js} +30 -32
- package/dist/chunks/{error-message.3fb5573a.js.map → error-message.DyjHMyEZ.js.map} +1 -1
- package/dist/chunks/events.CMzGybJJ.js +47 -0
- package/dist/chunks/events.CMzGybJJ.js.map +1 -0
- package/dist/chunks/filter-bar.U2ZcPmSU.js +2775 -0
- package/dist/chunks/filter-bar.U2ZcPmSU.js.map +1 -0
- package/dist/chunks/{fixed-scroller.59aefd1b.js → fixed-scroller.DV7HtKDr.js} +20 -21
- package/dist/chunks/{fixed-scroller.59aefd1b.js.map → fixed-scroller.DV7HtKDr.js.map} +1 -1
- package/dist/chunks/{index.8be283d5.js → focus-trap.CwkbHfT8.js} +20 -20
- package/dist/chunks/focus-trap.CwkbHfT8.js.map +1 -0
- package/dist/chunks/{footer-actions.89e68269.js → footer-actions.D9nQFagi.js} +20 -21
- package/dist/chunks/{footer-actions.89e68269.js.map → footer-actions.D9nQFagi.js.map} +1 -1
- package/dist/chunks/form-layout-title.4Gz8-dJv.js +204 -0
- package/dist/chunks/form-layout-title.4Gz8-dJv.js.map +1 -0
- package/dist/chunks/{form-layout.types.a7a1438d.js → form-layout.types.D3EKzbE7.js} +1 -1
- package/dist/chunks/{form-layout.types.a7a1438d.js.map → form-layout.types.D3EKzbE7.js.map} +1 -1
- package/dist/chunks/{get-slot-text.bead058f.js → get-slot-text.D5WBGjic.js} +1 -1
- package/dist/chunks/{get-slot-text.bead058f.js.map → get-slot-text.D5WBGjic.js.map} +1 -1
- package/dist/chunks/{grid-layout.c2fe3057.js → grid-layout.CqLbbEzI.js} +15 -15
- package/dist/chunks/{grid-layout.c2fe3057.js.map → grid-layout.CqLbbEzI.js.map} +1 -1
- package/dist/chunks/header.Cr7115vM.js +307 -0
- package/dist/chunks/header.Cr7115vM.js.map +1 -0
- package/dist/chunks/{i18n.f7e6533e.js → i18n.DY5YXG5f.js} +46 -89
- package/dist/chunks/{i18n.f7e6533e.js.map → i18n.DY5YXG5f.js.map} +1 -1
- package/dist/chunks/image.0KzfycGE.js +78 -0
- package/dist/chunks/image.0KzfycGE.js.map +1 -0
- package/dist/chunks/{index.fdf12170.js → index.B_EJflcs.js} +2 -2
- package/dist/chunks/{index.fdf12170.js.map → index.B_EJflcs.js.map} +1 -1
- package/dist/chunks/{index.f55fdc32.js → index.B_UZQ6qF.js} +209 -243
- package/dist/chunks/{index.f55fdc32.js.map → index.B_UZQ6qF.js.map} +1 -1
- package/dist/chunks/index.Dytpif0G.js +125 -0
- package/dist/chunks/index.Dytpif0G.js.map +1 -0
- package/dist/chunks/{index.d80206ed.js → index.Z84QE0E2.js} +2 -2
- package/dist/chunks/{index.d80206ed.js.map → index.Z84QE0E2.js.map} +1 -1
- package/dist/chunks/{index.86453263.js → index.xqFSZOAb.js} +2 -2
- package/dist/chunks/{index.86453263.js.map → index.xqFSZOAb.js.map} +1 -1
- package/dist/chunks/info-icon.DvL1e5Iu.js +45 -0
- package/dist/chunks/info-icon.DvL1e5Iu.js.map +1 -0
- package/dist/chunks/{info.205b4496.js → info.CNegCnli.js} +17 -17
- package/dist/chunks/{info.205b4496.js.map → info.CNegCnli.js.map} +1 -1
- package/dist/chunks/input-field.iH1ICJkQ.js +344 -0
- package/dist/chunks/input-field.iH1ICJkQ.js.map +1 -0
- package/dist/chunks/internal-error.BLZodVBE.js +5 -0
- package/dist/chunks/internal-error.BLZodVBE.js.map +1 -0
- package/dist/chunks/internal-error.BmrwJFpR.js +5 -0
- package/dist/chunks/internal-error.BmrwJFpR.js.map +1 -0
- package/dist/chunks/{keyboard-navigation.ca47dfa8.js → keyboard-navigation.Clz1jOaA.js} +2 -2
- package/dist/chunks/{keyboard-navigation.ca47dfa8.js.map → keyboard-navigation.Clz1jOaA.js.map} +1 -1
- package/dist/chunks/link.DeNN3Amu.js +111 -0
- package/dist/chunks/link.DeNN3Amu.js.map +1 -0
- package/dist/chunks/listbox-option-tag.Bv4-hXnG.js +94 -0
- package/dist/chunks/listbox-option-tag.Bv4-hXnG.js.map +1 -0
- package/dist/chunks/{loading-button.0391ad8b.js → loading-button.BI32pZiW.js} +19 -20
- package/dist/chunks/{loading-button.0391ad8b.js.map → loading-button.BI32pZiW.js.map} +1 -1
- package/dist/chunks/loading-indicator.BFMEf39U.js +44 -0
- package/dist/chunks/loading-indicator.BFMEf39U.js.map +1 -0
- package/dist/chunks/{index.030c1dd7.js → menu.DN-xhDQU.js} +80 -82
- package/dist/chunks/menu.DN-xhDQU.js.map +1 -0
- package/dist/chunks/modal-fullscreen.CeogBGfr.js +264 -0
- package/dist/chunks/modal-fullscreen.CeogBGfr.js.map +1 -0
- package/dist/chunks/{modal-fullscreen.keys.b9f31632.js → modal-fullscreen.keys.CMba3hYp.js} +1 -1
- package/dist/chunks/{modal-fullscreen.keys.b9f31632.js.map → modal-fullscreen.keys.CMba3hYp.js.map} +1 -1
- package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.BBef1Rl9.js +495 -0
- package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.BBef1Rl9.js.map +1 -0
- package/dist/chunks/no-results-found.Bg_ZcEid.js +5 -0
- package/dist/chunks/no-results-found.Bg_ZcEid.js.map +1 -0
- package/dist/chunks/no-results-found.BqvYsBR6.js +5 -0
- package/dist/chunks/no-results-found.BqvYsBR6.js.map +1 -0
- package/dist/chunks/notifications-cleared.BMZk37uf.js +5 -0
- package/dist/chunks/notifications-cleared.BMZk37uf.js.map +1 -0
- package/dist/chunks/notifications-cleared.C7W9ZXY7.js +5 -0
- package/dist/chunks/notifications-cleared.C7W9ZXY7.js.map +1 -0
- package/dist/chunks/{on-click-outside.3e0c3e2a.js → on-click-outside.CcNG5w7_.js} +1 -1
- package/dist/chunks/{on-click-outside.3e0c3e2a.js.map → on-click-outside.CcNG5w7_.js.map} +1 -1
- package/dist/chunks/page-not-found.COJLPVaU.js +5 -0
- package/dist/chunks/page-not-found.COJLPVaU.js.map +1 -0
- package/dist/chunks/page-not-found.DWW6W-PZ.js +5 -0
- package/dist/chunks/page-not-found.DWW6W-PZ.js.map +1 -0
- package/dist/chunks/pagination.BwG1MF4j.js +633 -0
- package/dist/chunks/pagination.BwG1MF4j.js.map +1 -0
- package/dist/chunks/{payment-method.31a68b9b.js → payment-method.NCItxw1D.js} +26 -27
- package/dist/chunks/{payment-method.31a68b9b.js.map → payment-method.NCItxw1D.js.map} +1 -1
- package/dist/chunks/payment-method.types.CJKfZQN5.js +5 -0
- package/dist/chunks/payment-method.types.CJKfZQN5.js.map +1 -0
- package/dist/chunks/planned-maintenance.C61sWB9h.js +5 -0
- package/dist/chunks/planned-maintenance.C61sWB9h.js.map +1 -0
- package/dist/chunks/planned-maintenance.jmWYTdet.js +5 -0
- package/dist/chunks/planned-maintenance.jmWYTdet.js.map +1 -0
- package/dist/chunks/{index.5bdebf9d.js → popover.DRb2GW7t.js} +48 -49
- package/dist/chunks/popover.DRb2GW7t.js.map +1 -0
- package/dist/chunks/{index.9bf04b01.js → popper-container.B76aE-3-.js} +180 -182
- package/dist/chunks/popper-container.B76aE-3-.js.map +1 -0
- package/dist/chunks/radio-group.B9HCffiZ.js +296 -0
- package/dist/chunks/radio-group.B9HCffiZ.js.map +1 -0
- package/dist/chunks/{radio-input.1dd15424.js → radio-input.BEzK-fgR.js} +13 -14
- package/dist/chunks/radio-input.BEzK-fgR.js.map +1 -0
- package/dist/chunks/referrals.BvtT-kQS.js +5 -0
- package/dist/chunks/referrals.BvtT-kQS.js.map +1 -0
- package/dist/chunks/referrals.aX8WZigH.js +5 -0
- package/dist/chunks/referrals.aX8WZigH.js.map +1 -0
- package/dist/chunks/refresh.BfxRdaQb.js +29 -0
- package/dist/chunks/{refresh.53691839.js.map → refresh.BfxRdaQb.js.map} +1 -1
- package/dist/chunks/{resize.a041304d.js → resize.Bqks3WUm.js} +1 -1
- package/dist/chunks/{resize.a041304d.js.map → resize.Bqks3WUm.js.map} +1 -1
- package/dist/chunks/search-bar.DxskyM4e.js +107 -0
- package/dist/chunks/search-bar.DxskyM4e.js.map +1 -0
- package/dist/chunks/{search.4e4ee4dd.js → search.0lh99z1F.js} +16 -16
- package/dist/chunks/{search.4e4ee4dd.js.map → search.0lh99z1F.js.map} +1 -1
- package/dist/chunks/secondary-nav.D66nxbU-.js +112 -0
- package/dist/chunks/secondary-nav.D66nxbU-.js.map +1 -0
- package/dist/chunks/segmented-control.NnFfAdTq.js +142 -0
- package/dist/chunks/segmented-control.NnFfAdTq.js.map +1 -0
- package/dist/chunks/segmented-control.types.BHRLV8KU.js +5 -0
- package/dist/chunks/segmented-control.types.BHRLV8KU.js.map +1 -0
- package/dist/chunks/selection-card-group.C-YLePO4.js +385 -0
- package/dist/chunks/selection-card-group.C-YLePO4.js.map +1 -0
- package/dist/chunks/sidepanel.B-LtA15e.js +230 -0
- package/dist/chunks/sidepanel.B-LtA15e.js.map +1 -0
- package/dist/chunks/{sidepanel.keys.1ed8a57c.js → sidepanel.keys.R0DKQuYx.js} +1 -1
- package/dist/chunks/{sidepanel.keys.1ed8a57c.js.map → sidepanel.keys.R0DKQuYx.js.map} +1 -1
- package/dist/chunks/status.types.Bqdcr1WO.js +42 -0
- package/dist/chunks/status.types.Bqdcr1WO.js.map +1 -0
- package/dist/chunks/step.CVoaYmVZ.js +284 -0
- package/dist/chunks/step.CVoaYmVZ.js.map +1 -0
- package/dist/chunks/structured-list-item.DQiPKhOI.js +101 -0
- package/dist/chunks/structured-list-item.DQiPKhOI.js.map +1 -0
- package/dist/chunks/success.DhioLvPD.js +5 -0
- package/dist/chunks/success.DhioLvPD.js.map +1 -0
- package/dist/chunks/success.nNwxJRBS.js +5 -0
- package/dist/chunks/success.nNwxJRBS.js.map +1 -0
- package/dist/chunks/summary-grid-item-custom.B941Kdvq.js +720 -0
- package/dist/chunks/summary-grid-item-custom.B941Kdvq.js.map +1 -0
- package/dist/chunks/{summary-grid.keys.1d1028c2.js → summary-grid.keys.BBbFrFGF.js} +1 -1
- package/dist/chunks/{summary-grid.keys.1d1028c2.js.map → summary-grid.keys.BBbFrFGF.js.map} +1 -1
- package/dist/chunks/tabs.TNKpNgTM.js +185 -0
- package/dist/chunks/tabs.TNKpNgTM.js.map +1 -0
- package/dist/chunks/{tabs.keys.358742f2.js → tabs.keys.Bc2pSKRw.js} +1 -1
- package/dist/chunks/{tabs.keys.358742f2.js.map → tabs.keys.Bc2pSKRw.js.map} +1 -1
- package/dist/chunks/tag.CPhtHjDD.js +75 -0
- package/dist/chunks/tag.CPhtHjDD.js.map +1 -0
- package/dist/chunks/{teleport.afeb4c3b.js → teleport.L8qFCYpr.js} +20 -21
- package/dist/chunks/{teleport.afeb4c3b.js.map → teleport.L8qFCYpr.js.map} +1 -1
- package/dist/chunks/textarea.CJ8xiMjv.js +288 -0
- package/dist/chunks/textarea.CJ8xiMjv.js.map +1 -0
- package/dist/chunks/timeline-item.Cap9MXkH.js +531 -0
- package/dist/chunks/timeline-item.Cap9MXkH.js.map +1 -0
- package/dist/chunks/toast.Bwo57uNy.js +215 -0
- package/dist/chunks/toast.Bwo57uNy.js.map +1 -0
- package/dist/chunks/toggle-button.q9F2dsIi.js +79 -0
- package/dist/chunks/toggle-button.q9F2dsIi.js.map +1 -0
- package/dist/chunks/toggle.DmTjGY0a.js +161 -0
- package/dist/chunks/toggle.DmTjGY0a.js.map +1 -0
- package/dist/chunks/{tooltip.1084d92b.js → tooltip.CTR3s-Rm.js} +60 -61
- package/dist/chunks/tooltip.CTR3s-Rm.js.map +1 -0
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.WNVsOZdp.js +408 -0
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.WNVsOZdp.js.map +1 -0
- package/dist/chunks/typography.D7onlQ9v.js +73 -0
- package/dist/chunks/typography.D7onlQ9v.js.map +1 -0
- package/dist/chunks/{unique-id.a2a2b458.js → unique-id.XFfoKuc2.js} +14 -20
- package/dist/chunks/{unique-id.a2a2b458.js.map → unique-id.XFfoKuc2.js.map} +1 -1
- package/dist/chunks/upload-files.5wQwbfkp.js +5 -0
- package/dist/chunks/upload-files.5wQwbfkp.js.map +1 -0
- package/dist/chunks/upload-files.jTQY6y2X.js +5 -0
- package/dist/chunks/upload-files.jTQY6y2X.js.map +1 -0
- package/dist/chunks/{use-bento-toast-controller.98d8613c.js → use-bento-toast-controller.C0A5tZgd.js} +3 -3
- package/dist/chunks/{use-bento-toast-controller.98d8613c.js.map → use-bento-toast-controller.C0A5tZgd.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.852aeafe.js → use-cached-selected-values.BQBWFTvi.js} +490 -476
- package/dist/chunks/use-cached-selected-values.BQBWFTvi.js.map +1 -0
- package/dist/chunks/{use-click-outside.941d1600.js → use-click-outside.DbjR7Lh4.js} +2 -2
- package/dist/chunks/{use-click-outside.941d1600.js.map → use-click-outside.DbjR7Lh4.js.map} +1 -1
- package/dist/chunks/{use-country-items.32e30471.js → use-country-items.CongYNiX.js} +4 -4
- package/dist/chunks/{use-country-items.32e30471.js.map → use-country-items.CongYNiX.js.map} +1 -1
- package/dist/chunks/{use-default-slot-validator.1169c221.js → use-default-slot-validator.O02rzsob.js} +1 -1
- package/dist/chunks/{use-default-slot-validator.1169c221.js.map → use-default-slot-validator.O02rzsob.js.map} +1 -1
- package/dist/chunks/{use-expandable-content-height.62fc84e5.js → use-expandable-content-height.GkjjbmPy.js} +1 -1
- package/dist/chunks/{use-expandable-content-height.62fc84e5.js.map → use-expandable-content-height.GkjjbmPy.js.map} +1 -1
- package/dist/chunks/{use-form-layout-loading.d03e5d48.js → use-form-layout-loading.D3lALhtC.js} +2 -2
- package/dist/chunks/{use-form-layout-loading.d03e5d48.js.map → use-form-layout-loading.D3lALhtC.js.map} +1 -1
- package/dist/chunks/{use-has-slot.4d98bf29.js → use-has-slot.B7eQSabc.js} +1 -1
- package/dist/chunks/{use-has-slot.4d98bf29.js.map → use-has-slot.B7eQSabc.js.map} +1 -1
- package/dist/chunks/warning-filled.DHw1rVWs.js +29 -0
- package/dist/chunks/warning-filled.DHw1rVWs.js.map +1 -0
- package/dist/chunks/wrong-environment.BOsyKdRI.js +5 -0
- package/dist/chunks/wrong-environment.BOsyKdRI.js.map +1 -0
- package/dist/chunks/wrong-environment.BiHTPtbJ.js +5 -0
- package/dist/chunks/wrong-environment.BiHTPtbJ.js.map +1 -0
- package/dist/click-outside.js +2 -20
- package/dist/click-outside.js.map +1 -1
- package/dist/code-snippet.js +5 -2131
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +8 -101
- package/dist/country.js.map +1 -1
- package/dist/currency.js +3 -118
- package/dist/currency.js.map +1 -1
- package/dist/dashboard-template.js +6 -0
- package/dist/dashboard-template.js.map +1 -0
- package/dist/dashed-underline.js +5 -0
- package/dist/dashed-underline.js.map +1 -0
- package/dist/data-grid-template.js +2 -87
- package/dist/data-grid-template.js.map +1 -1
- package/dist/data-grid.js +8 -2643
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +5 -272
- package/dist/date-picker.js.map +1 -1
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +12 -205
- package/dist/dropdown.js.map +1 -1
- package/dist/empty-state.js +5 -176
- package/dist/empty-state.js.map +1 -1
- package/dist/filter-bar.js +5 -2778
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +5 -205
- package/dist/form-layout.js.map +1 -1
- package/dist/header.js +2 -306
- package/dist/header.js.map +1 -1
- package/dist/image.js +4 -75
- package/dist/image.js.map +1 -1
- package/dist/index.js +263 -256
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +2 -43
- package/dist/info-icon.js.map +1 -1
- package/dist/input-field.js +7 -342
- package/dist/input-field.js.map +1 -1
- package/dist/internal.js +15 -15
- package/dist/link.js +1 -1
- package/dist/loading-indicator.js +3 -41
- package/dist/loading-indicator.js.map +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +3 -263
- package/dist/modal-fullscreen.js.map +1 -1
- package/dist/modal.js +11 -501
- package/dist/modal.js.map +1 -1
- package/dist/pagination.js +2 -634
- package/dist/pagination.js.map +1 -1
- package/dist/payment-method.js +4 -4
- package/dist/payment-method.js.map +1 -1
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/radio-group.js +6 -296
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +6 -107
- package/dist/search-bar.js.map +1 -1
- package/dist/secondary-nav.js +2 -112
- package/dist/secondary-nav.js.map +1 -1
- package/dist/segmented-control.js +4 -255
- package/dist/segmented-control.js.map +1 -1
- package/dist/selection-card.js +4 -384
- package/dist/selection-card.js.map +1 -1
- package/dist/sidepanel.js +4 -229
- package/dist/sidepanel.js.map +1 -1
- package/dist/status.js +3 -50
- package/dist/status.js.map +1 -1
- package/dist/stepper.js +5 -283
- package/dist/stepper.js.map +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +9 -720
- package/dist/summary-grid.js.map +1 -1
- package/dist/tabs.js +3 -182
- package/dist/tabs.js.map +1 -1
- package/dist/tag.js +3 -73
- package/dist/tag.js.map +1 -1
- package/dist/textarea.js +2 -286
- package/dist/textarea.js.map +1 -1
- package/dist/timeline.js +7 -530
- package/dist/timeline.js.map +1 -1
- package/dist/toast.js +2 -215
- package/dist/toast.js.map +1 -1
- package/dist/toggle.js +4 -159
- package/dist/toggle.js.map +1 -1
- package/dist/tutorial.js +2 -392
- package/dist/tutorial.js.map +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +10 -10
- package/dist/assets/index11.css +0 -1
- package/dist/assets/index16.css +0 -1
- package/dist/assets/index18.css +0 -1
- package/dist/assets/index24.css +0 -1
- package/dist/assets/index25.css +0 -1
- package/dist/assets/index37.css +0 -1
- package/dist/assets/index40.css +0 -1
- package/dist/assets/index42.css +0 -1
- package/dist/assets/index46.css +0 -1
- package/dist/assets/index47.css +0 -1
- package/dist/assets/index9.css +0 -1
- package/dist/chunks/1-generic-use.3ea646cd.js +0 -5
- package/dist/chunks/1-generic-use.3ea646cd.js.map +0 -1
- package/dist/chunks/1-generic-use.ccca5813.js +0 -5
- package/dist/chunks/1-generic-use.ccca5813.js.map +0 -1
- package/dist/chunks/2-generic-use.443db127.js +0 -5
- package/dist/chunks/2-generic-use.443db127.js.map +0 -1
- package/dist/chunks/2-generic-use.d69d7c08.js +0 -5
- package/dist/chunks/2-generic-use.d69d7c08.js.map +0 -1
- package/dist/chunks/3-generic-use.9f74667f.js +0 -5
- package/dist/chunks/3-generic-use.9f74667f.js.map +0 -1
- package/dist/chunks/3-generic-use.fe7ae2ce.js +0 -5
- package/dist/chunks/3-generic-use.fe7ae2ce.js.map +0 -1
- package/dist/chunks/4-generic-use.0356f4a1.js +0 -5
- package/dist/chunks/4-generic-use.0356f4a1.js.map +0 -1
- package/dist/chunks/4-generic-use.cd04bad0.js +0 -5
- package/dist/chunks/4-generic-use.cd04bad0.js.map +0 -1
- package/dist/chunks/_plugin-vue_export-helper.dad06003.js.map +0 -1
- package/dist/chunks/adding-payment-methods.d570e03e.js +0 -5
- package/dist/chunks/adding-payment-methods.d570e03e.js.map +0 -1
- package/dist/chunks/adding-payment-methods.e419d6c0.js +0 -5
- package/dist/chunks/adding-payment-methods.e419d6c0.js.map +0 -1
- package/dist/chunks/adyen-giving.480913b5.js +0 -5
- package/dist/chunks/adyen-giving.480913b5.js.map +0 -1
- package/dist/chunks/adyen-giving.54ed984c.js +0 -5
- package/dist/chunks/adyen-giving.54ed984c.js.map +0 -1
- package/dist/chunks/button-actions.642b37de.js.map +0 -1
- package/dist/chunks/button.60dad578.js.map +0 -1
- package/dist/chunks/checkmark-circle-fill.f3a69c6a.js +0 -44
- package/dist/chunks/checkmark.87919b24.js +0 -29
- package/dist/chunks/checkmark.87919b24.js.map +0 -1
- package/dist/chunks/cross-small.9bc6a02f.js +0 -29
- package/dist/chunks/cross.a60533f6.js +0 -29
- package/dist/chunks/dropdown.d8587f36.js.map +0 -1
- package/dist/chunks/events.58c00e6d.js +0 -50
- package/dist/chunks/events.58c00e6d.js.map +0 -1
- package/dist/chunks/index.030c1dd7.js.map +0 -1
- package/dist/chunks/index.07122048.js +0 -23
- package/dist/chunks/index.07122048.js.map +0 -1
- package/dist/chunks/index.146f967e.js.map +0 -1
- package/dist/chunks/index.5bdebf9d.js.map +0 -1
- package/dist/chunks/index.6e0e9d21.js +0 -118
- package/dist/chunks/index.6e0e9d21.js.map +0 -1
- package/dist/chunks/index.8be283d5.js.map +0 -1
- package/dist/chunks/index.96cd0d4c.js.map +0 -1
- package/dist/chunks/index.9bf04b01.js.map +0 -1
- package/dist/chunks/index.a3d60e4f.js +0 -74
- package/dist/chunks/index.a3d60e4f.js.map +0 -1
- package/dist/chunks/index.ba3396d3.js +0 -62
- package/dist/chunks/index.ba3396d3.js.map +0 -1
- package/dist/chunks/index.c8ffede1.js +0 -168
- package/dist/chunks/index.c8ffede1.js.map +0 -1
- package/dist/chunks/internal-error.35cbb071.js +0 -5
- package/dist/chunks/internal-error.35cbb071.js.map +0 -1
- package/dist/chunks/internal-error.9a4823ed.js +0 -5
- package/dist/chunks/internal-error.9a4823ed.js.map +0 -1
- package/dist/chunks/listbox-option-tag.b6182b2e.js +0 -129
- package/dist/chunks/listbox-option-tag.b6182b2e.js.map +0 -1
- package/dist/chunks/no-results-found.58856d70.js +0 -5
- package/dist/chunks/no-results-found.58856d70.js.map +0 -1
- package/dist/chunks/no-results-found.cbb12f78.js +0 -5
- package/dist/chunks/no-results-found.cbb12f78.js.map +0 -1
- package/dist/chunks/notifications-cleared.71025c22.js +0 -5
- package/dist/chunks/notifications-cleared.71025c22.js.map +0 -1
- package/dist/chunks/notifications-cleared.c4f4bed4.js +0 -5
- package/dist/chunks/notifications-cleared.c4f4bed4.js.map +0 -1
- package/dist/chunks/page-not-found.a500440d.js +0 -5
- package/dist/chunks/page-not-found.a500440d.js.map +0 -1
- package/dist/chunks/page-not-found.d1a84ba7.js +0 -5
- package/dist/chunks/page-not-found.d1a84ba7.js.map +0 -1
- package/dist/chunks/planned-maintenance.7fa5ac16.js +0 -5
- package/dist/chunks/planned-maintenance.7fa5ac16.js.map +0 -1
- package/dist/chunks/planned-maintenance.cff01aed.js +0 -5
- package/dist/chunks/planned-maintenance.cff01aed.js.map +0 -1
- package/dist/chunks/radio-input.1dd15424.js.map +0 -1
- package/dist/chunks/referrals.178ce0eb.js +0 -5
- package/dist/chunks/referrals.178ce0eb.js.map +0 -1
- package/dist/chunks/referrals.599047da.js +0 -5
- package/dist/chunks/referrals.599047da.js.map +0 -1
- package/dist/chunks/refresh.53691839.js +0 -29
- package/dist/chunks/success.41981fe8.js +0 -5
- package/dist/chunks/success.41981fe8.js.map +0 -1
- package/dist/chunks/success.77fac78b.js +0 -5
- package/dist/chunks/success.77fac78b.js.map +0 -1
- package/dist/chunks/tooltip.1084d92b.js.map +0 -1
- package/dist/chunks/upload-files.2708eca7.js +0 -5
- package/dist/chunks/upload-files.2708eca7.js.map +0 -1
- package/dist/chunks/upload-files.b4cd9f8b.js +0 -5
- package/dist/chunks/upload-files.b4cd9f8b.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.852aeafe.js.map +0 -1
- package/dist/chunks/wrong-environment.c73b0bc0.js +0 -5
- package/dist/chunks/wrong-environment.c73b0bc0.js.map +0 -1
- package/dist/chunks/wrong-environment.f890a237.js +0 -5
- package/dist/chunks/wrong-environment.f890a237.js.map +0 -1
- /package/dist/@types/packages/{vue2/src/components/internal → core/src/components}/radio-input/radio-input.types.d.ts +0 -0
- /package/dist/assets/{index13.css → avatar-image.css} +0 -0
- /package/dist/assets/{index21.css → badge.css} +0 -0
- /package/dist/assets/{index5.css → checkbox-group.css} +0 -0
- /package/dist/assets/{index4.css → country.css} +0 -0
- /package/dist/assets/{checkmark-circle-fill.css → cross.css} +0 -0
- /package/dist/assets/{index2.css → date-picker.css} +0 -0
- /package/dist/assets/{index20.css → date-range-picker.css} +0 -0
- /package/dist/assets/{index3.css → divider.css} +0 -0
- /package/dist/assets/{index48.css → dropdown-tag.css} +0 -0
- /package/dist/assets/{index8.css → empty-state.css} +0 -0
- /package/dist/assets/{index.css → focus-trap.css} +0 -0
- /package/dist/assets/{index15.css → header.css} +0 -0
- /package/dist/assets/{index6.css → info-icon.css} +0 -0
- /package/dist/assets/{index41.css → loading-indicator.css} +0 -0
- /package/dist/assets/{index28.css → pagination.css} +0 -0
- /package/dist/assets/{index29.css → popper-container.css} +0 -0
- /package/dist/assets/{index30.css → radio-group.css} +0 -0
- /package/dist/assets/{index22.css → search-bar.css} +0 -0
- /package/dist/assets/{index23.css → secondary-nav.css} +0 -0
- /package/dist/assets/{index45.css → step.css} +0 -0
- /package/dist/assets/{index31.css → summary-grid-item-custom.css} +0 -0
- /package/dist/assets/{index33.css → tag.css} +0 -0
- /package/dist/assets/{index34.css → textarea.css} +0 -0
- /package/dist/assets/{index35.css → timeline-item.css} +0 -0
- /package/dist/assets/{index36.css → toast.css} +0 -0
- /package/dist/assets/{index12.css → toggle-button.css} +0 -0
- /package/dist/assets/{index38.css → typography.css} +0 -0
package/dist/chunks/{button-actions-with-menu.7fce47a2.js → button-actions-with-menu.C14zvgVo.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineComponent as d, computed as s, toRef as u, provide as l, openBlock as
|
|
2
|
-
import { M as
|
|
3
|
-
import {
|
|
4
|
-
import { B as
|
|
5
|
-
import { _ as A } from "./_plugin-vue_export-helper.
|
|
1
|
+
import { defineComponent as d, computed as s, toRef as u, provide as l, openBlock as a, createElementBlock as p, createElementVNode as m, createVNode as _, unref as n, createBlock as f, createCommentVNode as v } from "vue";
|
|
2
|
+
import { M as B, B as b } from "./menu.DN-xhDQU.js";
|
|
3
|
+
import { a as h } from "./popover.DRb2GW7t.js";
|
|
4
|
+
import { B as y } from "./button-actions.hGhRdgC2.js";
|
|
5
|
+
import { _ as A } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
6
6
|
import "../assets/button-actions-with-menu.css";
|
|
7
7
|
const N = { class: "b-button-actions-with-menu" }, E = {
|
|
8
8
|
role: "group",
|
|
@@ -70,12 +70,12 @@ const N = { class: "b-button-actions-with-menu" }, E = {
|
|
|
70
70
|
menuPosition: {
|
|
71
71
|
type: String,
|
|
72
72
|
default: "bottom-start",
|
|
73
|
-
validator: (o) => Object.values(
|
|
73
|
+
validator: (o) => Object.values(h).includes(o)
|
|
74
74
|
}
|
|
75
75
|
},
|
|
76
76
|
setup(o) {
|
|
77
|
-
const t = o,
|
|
78
|
-
l(
|
|
77
|
+
const t = o, c = s(() => t.actions.slice(0, t.displayedActions)), r = u(t, "inverse");
|
|
78
|
+
l(B, r);
|
|
79
79
|
const i = s(
|
|
80
80
|
() => t.displayedActions !== void 0 && t.displayedActions < t.actions.length ? t.actions.slice(t.displayedActions, t.actions.length).map((e) => ({
|
|
81
81
|
text: e.title,
|
|
@@ -85,13 +85,13 @@ const N = { class: "b-button-actions-with-menu" }, E = {
|
|
|
85
85
|
disabled: e.disabled
|
|
86
86
|
})) : []
|
|
87
87
|
);
|
|
88
|
-
return (e,
|
|
88
|
+
return (e, k) => (a(), p("div", N, [
|
|
89
89
|
m("div", E, [
|
|
90
|
-
_(n(
|
|
91
|
-
actions: n(
|
|
90
|
+
_(n(y), {
|
|
91
|
+
actions: n(c),
|
|
92
92
|
inverse: o.inverse
|
|
93
93
|
}, null, 8, ["actions", "inverse"]),
|
|
94
|
-
n(i).length ? (
|
|
94
|
+
n(i).length ? (a(), f(b, {
|
|
95
95
|
key: 0,
|
|
96
96
|
data: n(i),
|
|
97
97
|
"menu-position": o.menuPosition
|
|
@@ -99,9 +99,8 @@ const N = { class: "b-button-actions-with-menu" }, E = {
|
|
|
99
99
|
])
|
|
100
100
|
]));
|
|
101
101
|
}
|
|
102
|
-
});
|
|
103
|
-
const C = /* @__PURE__ */ A(M, [["__scopeId", "data-v-f58eba13"]]);
|
|
102
|
+
}), C = /* @__PURE__ */ A(M, [["__scopeId", "data-v-f58eba13"]]);
|
|
104
103
|
export {
|
|
105
104
|
C as B
|
|
106
105
|
};
|
|
107
|
-
//# sourceMappingURL=button-actions-with-menu.
|
|
106
|
+
//# sourceMappingURL=button-actions-with-menu.C14zvgVo.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-actions-with-menu.
|
|
1
|
+
{"version":3,"file":"button-actions-with-menu.C14zvgVo.js","sources":["../../../vue2/src/components/internal/button-actions-with-menu/button-actions-with-menu.vue"],"sourcesContent":["<template>\n <div class=\"b-button-actions-with-menu\">\n <div role=\"group\" class=\"b-button-actions-with-menu__container-wrapper\">\n <bento-button-actions :actions=\"computedActions\" :inverse=\"inverse\" />\n <bento-menu v-if=\"computedMenuActions.length\" :data=\"computedMenuActions\" :menu-position=\"menuPosition\" />\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, PropType, provide, toRef } from 'vue';\n import BentoMenu from '@/components/menu/menu.vue';\n import { BentoMenuItem } from '@/components/menu/components/menu-item/menu-item.types';\n import { BentoButtonActions, BentoButtonActionsList } from '@/components/button';\n import { MENU_INVERSE_INJECTION_KEY } from '@/components/menu/menu.keys';\n import { BentoPopoverPositions } from '@/components/popover';\n\n /**\n * An internal button actions component with the option to display some of the actions in a menu.\n *\n * @example\n * <button-actions-with-menu\n * :actions=\"[\n * title: 'Primary',\n * event: () => { ... },\n * icon: FourPeopleIcon,\n * link: {\n * variant: 'default',\n * external: true,\n * to: 'https://www.adyen.com/'\n * },\n * }, {\n * title: 'Secondary',\n * event: () => { ... }\n * disabled: true,\n * variant: BentoButtonVariant.PRIMARY,\n * critical: true\n * }]\n * :displayedActions=\"2\"\n * />\n */\n const props = defineProps({\n /**\n * List of actions that will be used to render the buttons.\n * First element in the list will be rendered as \"primary\".\n * All elements after the first will be rendered as \"secondary\".\n *\n * Each object in the list should have a `title`, an `event` and\n * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.\n *\n * `title`: Button's text.\n *\n * `event`: Event triggered when clicking the Button.\n *\n * `icon` (optional): Vue Icon from the library `@adyen/ui-assets-icons-16`.\n *\n * @see BentoButton for a list of all the other props supported by each button action.\n *\n * ```\n * [{\n * title: 'Primary',\n * event: () => { ... },\n * icon: FourPeopleIcon,\n * link: {\n variant: 'default',\n external: true,\n to: 'https://www.adyen.com/'\n },\n * }, {\n * title: 'Secondary',\n * event: () => { ... }\n * disabled: true,\n * variant: 'primary',\n * critical: true\n * }]\n * ```\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n required: true,\n },\n\n /**\n * The number of actions to be displayed. The rest of the actions will be collapsed in a menu component.\n */\n displayedActions: {\n type: Number,\n default: undefined,\n },\n\n /**\n * Set inverse color scheme to buttons and menu\n */\n inverse: {\n type: Boolean,\n default: false,\n },\n\n /**\n * The position of where the menu should open.\n */\n menuPosition: {\n type: String as PropType<BentoPopoverPositions | `${BentoPopoverPositions}`>,\n default: 'bottom-start',\n validator: (value: BentoPopoverPositions) => Object.values(BentoPopoverPositions).includes(value),\n },\n });\n\n const computedActions = computed(() => props.actions.slice(0, props.displayedActions));\n const inverseRef = toRef(props, 'inverse');\n\n provide(MENU_INVERSE_INJECTION_KEY, inverseRef);\n\n const computedMenuActions = computed(() =>\n props.displayedActions !== undefined && props.displayedActions < props.actions.length\n ? (props.actions.slice(props.displayedActions, props.actions.length).map(el => ({\n text: el.title,\n handler: el.event,\n icon: el.icon,\n critical: el.critical,\n disabled: el.disabled,\n })) as BentoMenuItem[])\n : []\n );\n</script>\n\n<script lang=\"ts\">\n /**\n * An internal button actions component with the option to display some of the actions in a menu.\n *\n * @example\n * <button-actions-with-menu\n * :actions=\"[\n * title: 'Primary',\n * event: () => { ... },\n * icon: FourPeopleIcon,\n * link: {\n * variant: 'default',\n * external: true,\n * to: 'https://www.adyen.com/'\n * },\n * }, {\n * title: 'Secondary',\n * event: () => { ... }\n * disabled: true,\n * variant: BentoButtonVariant.PRIMARY,\n * critical: true\n * }]\n * :displayedActions=\"2\"\n * />\n */\n\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./button-actions-with-menu.scss\" />\n"],"names":["__default__","computedActions","computed","props","inverseRef","toRef","provide","MENU_INVERSE_INJECTION_KEY","computedMenuActions","el"],"mappings":";;;;;;;;;GAwJIA,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA5CAC,IAAAC,EAAA,MAAAC,EAAA,QAAA,MAAA,GAAAA,EAAA,gBAAA,CAAA,GACAC,IAAAC,EAAAF,GAAA,SAAA;AAEA,IAAAG,EAAAC,GAAAH,CAAA;AAEA,UAAAI,IAAAN;AAAA,MAA4B,MAAAC,EAAA,qBAAA,UAAAA,EAAA,mBAAAA,EAAA,QAAA,SAAAA,EAAA,QAAA,MAAAA,EAAA,kBAAAA,EAAA,QAAA,MAAA,EAAA,IAAA,CAAAM,OAAA;AAAA,QAE4D,MAAAA,EAAA;AAAA,QACjE,SAAAA,EAAA;AAAA,QACG,MAAAA,EAAA;AAAA,QACH,UAAAA,EAAA;AAAA,QACI,UAAAA,EAAA;AAAA,MACA,EAAA,IAAA,CAAA;AAAA,IAEhB;;;;;;;;;;;;;;;;"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import {
|
|
3
|
-
import { B as
|
|
4
|
-
import { _ as
|
|
1
|
+
import { defineComponent as h, computed as _, openBlock as a, createElementBlock as l, createElementVNode as L, normalizeClass as A, unref as o, Fragment as I, renderList as O, createBlock as t, mergeProps as m, toHandlers as f, withCtx as s, createTextVNode as g, toDisplayString as y, createSlots as R, resolveDynamicComponent as k } from "vue";
|
|
2
|
+
import { B as x } from "./button.DoqHEvPh.js";
|
|
3
|
+
import { B as u } from "./loading-button.BI32pZiW.js";
|
|
4
|
+
import { _ as w } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
5
5
|
import "../assets/button-actions.css";
|
|
6
|
-
var
|
|
7
|
-
const
|
|
8
|
-
...
|
|
6
|
+
var T = /* @__PURE__ */ ((i) => (i.BUTTONS_END = "buttons-end", i.FILL_CONTAINER = "fill-container", i.SPACE_BETWEEN = "space-between", i.VERTICAL_STACK = "vertical-stack", i))(T || {}), E = /* @__PURE__ */ ((i) => (i.BUTTONS_START = "buttons-start", i))(E || {});
|
|
7
|
+
const B = { ...T, ...E }, D = { class: "b-button-actions" }, V = {}, U = /* @__PURE__ */ h({
|
|
8
|
+
...V,
|
|
9
9
|
__name: "button-actions",
|
|
10
10
|
props: {
|
|
11
11
|
/**
|
|
@@ -66,34 +66,34 @@ const T = { ...B, ...E }, w = { class: "b-button-actions" }, D = {}, V = /* @__P
|
|
|
66
66
|
*/
|
|
67
67
|
layout: {
|
|
68
68
|
type: String,
|
|
69
|
-
default:
|
|
70
|
-
validator: (
|
|
69
|
+
default: B.BUTTONS_END,
|
|
70
|
+
validator: (i) => Object.values(B).includes(i)
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
|
-
setup(
|
|
74
|
-
const r =
|
|
75
|
-
const
|
|
76
|
-
return
|
|
77
|
-
},
|
|
73
|
+
setup(i) {
|
|
74
|
+
const r = i, N = _(() => r.actions.slice().reverse()), d = (n) => {
|
|
75
|
+
const p = r.actions.length - 1;
|
|
76
|
+
return n === p ? "primary" : "secondary";
|
|
77
|
+
}, C = _(() => ({
|
|
78
78
|
[`b-button-actions--${r.layout}`]: !0
|
|
79
|
-
})), v = (
|
|
80
|
-
click:
|
|
81
|
-
} : {};
|
|
82
|
-
return (
|
|
83
|
-
|
|
84
|
-
class: A(["b-button-actions__container-wrapper", o(
|
|
79
|
+
})), v = (n) => (n == null ? void 0 : n.event) !== void 0 ? {
|
|
80
|
+
click: n.event
|
|
81
|
+
} : {}, S = (n) => n.iconOnly && (n.iconLeft || n.iconRight || n.icon);
|
|
82
|
+
return (n, p) => (a(), l("div", D, [
|
|
83
|
+
L("div", {
|
|
84
|
+
class: A(["b-button-actions__container-wrapper", o(C)]),
|
|
85
85
|
role: "group"
|
|
86
86
|
}, [
|
|
87
|
-
(
|
|
87
|
+
(a(!0), l(I, null, O(o(N), (e, c) => (a(), l("div", {
|
|
88
88
|
key: c,
|
|
89
89
|
class: "b-button-actions__button-wrapper"
|
|
90
90
|
}, [
|
|
91
|
-
e.state ? (
|
|
91
|
+
e.state ? (a(), t(o(u), m({
|
|
92
92
|
key: 0,
|
|
93
93
|
condensed: e.condensed,
|
|
94
94
|
critical: e.critical,
|
|
95
95
|
disabled: e.disabled,
|
|
96
|
-
inverse:
|
|
96
|
+
inverse: i.inverse,
|
|
97
97
|
state: e.state,
|
|
98
98
|
variant: e.variant || d(c)
|
|
99
99
|
}, f(v(e))), {
|
|
@@ -101,49 +101,50 @@ const T = { ...B, ...E }, w = { class: "b-button-actions" }, D = {}, V = /* @__P
|
|
|
101
101
|
g(y(e.title), 1)
|
|
102
102
|
]),
|
|
103
103
|
_: 2
|
|
104
|
-
}, 1040, ["condensed", "critical", "disabled", "inverse", "state", "variant"])) : (
|
|
104
|
+
}, 1040, ["condensed", "critical", "disabled", "inverse", "state", "variant"])) : (a(), t(x, m({
|
|
105
105
|
key: 1,
|
|
106
106
|
condensed: e.condensed,
|
|
107
107
|
critical: e.critical,
|
|
108
108
|
disabled: e.disabled,
|
|
109
|
-
inverse:
|
|
109
|
+
inverse: i.inverse,
|
|
110
110
|
link: e.link,
|
|
111
111
|
variant: e.variant || d(c)
|
|
112
|
-
}, f(v(e))),
|
|
113
|
-
default: s(() => [
|
|
114
|
-
g(" " + y(e.title) + " ", 1)
|
|
115
|
-
]),
|
|
116
|
-
_: 2
|
|
117
|
-
}, [
|
|
112
|
+
}, f(v(e))), R({ _: 2 }, [
|
|
118
113
|
e.icon || e.iconLeft ? {
|
|
119
114
|
name: "iconLeft",
|
|
120
115
|
fn: s(() => [
|
|
121
|
-
(
|
|
116
|
+
(a(), t(k(e.icon || e.iconLeft), {
|
|
122
117
|
"svg-title": e.title
|
|
123
118
|
}, null, 8, ["svg-title"]))
|
|
124
119
|
]),
|
|
125
120
|
key: "0"
|
|
126
121
|
} : void 0,
|
|
122
|
+
S(e) ? void 0 : {
|
|
123
|
+
name: "default",
|
|
124
|
+
fn: s(() => [
|
|
125
|
+
g(y(e.title), 1)
|
|
126
|
+
]),
|
|
127
|
+
key: "1"
|
|
128
|
+
},
|
|
127
129
|
e.iconRight ? {
|
|
128
130
|
name: "iconRight",
|
|
129
131
|
fn: s(() => [
|
|
130
|
-
(
|
|
132
|
+
(a(), t(k(e.iconRight), {
|
|
131
133
|
"svg-title": e.title
|
|
132
134
|
}, null, 8, ["svg-title"]))
|
|
133
135
|
]),
|
|
134
|
-
key: "
|
|
136
|
+
key: "2"
|
|
135
137
|
} : void 0
|
|
136
138
|
]), 1040, ["condensed", "critical", "disabled", "inverse", "link", "variant"]))
|
|
137
139
|
]))), 128))
|
|
138
140
|
], 2)
|
|
139
141
|
]));
|
|
140
142
|
}
|
|
141
|
-
});
|
|
142
|
-
const q = /* @__PURE__ */ O(V, [["__scopeId", "data-v-a4aeb31d"]]);
|
|
143
|
+
}), z = /* @__PURE__ */ w(U, [["__scopeId", "data-v-423f22d6"]]);
|
|
143
144
|
export {
|
|
144
|
-
|
|
145
|
-
|
|
145
|
+
z as B,
|
|
146
|
+
T as a,
|
|
146
147
|
E as b,
|
|
147
|
-
|
|
148
|
+
B as c
|
|
148
149
|
};
|
|
149
|
-
//# sourceMappingURL=button-actions.
|
|
150
|
+
//# sourceMappingURL=button-actions.hGhRdgC2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-actions.hGhRdgC2.js","sources":["../../../vue2/src/components/button/components/button-actions/button-actions.types.ts","../../../vue2/src/components/button/components/button-actions/button-actions.vue"],"sourcesContent":["import type { VueNodeElement } from '@/types';\nimport type { BentoButtonProps, BentoLoadingButtonState } from '@/components/button';\n\nexport interface BentoButtonActionObject extends BentoButtonProps {\n title: string;\n event?: (event: Event) => void;\n icon?: VueNodeElement;\n iconLeft?: VueNodeElement;\n iconRight?: VueNodeElement;\n state?: BentoLoadingButtonState | `${BentoLoadingButtonState}`;\n iconOnly?: boolean;\n}\n\nexport type BentoButtonActionsList = Array<BentoButtonActionObject>;\n\nexport enum BentoButtonActionsLayoutBasic {\n BUTTONS_END = 'buttons-end',\n FILL_CONTAINER = 'fill-container',\n SPACE_BETWEEN = 'space-between',\n VERTICAL_STACK = 'vertical-stack',\n}\nexport enum BentoButtonActionsLayoutExtended {\n BUTTONS_START = 'buttons-start',\n}\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport const BentoButtonActionsLayout = { ...BentoButtonActionsLayoutBasic, ...BentoButtonActionsLayoutExtended };\nexport type BentoButtonActionsLayout = BentoButtonActionsLayoutBasic | BentoButtonActionsLayoutExtended;\n","<template>\n <div class=\"b-button-actions\">\n <div class=\"b-button-actions__container-wrapper\" :class=\"conditionalClasses\" role=\"group\">\n <div v-for=\"(button, index) in reversedActionsList\" :key=\"index\" class=\"b-button-actions__button-wrapper\">\n <bento-loading-button\n v-if=\"button.state\"\n :condensed=\"button.condensed\"\n :critical=\"button.critical\"\n :disabled=\"button.disabled\"\n :inverse=\"inverse\"\n :state=\"button.state\"\n :variant=\"button.variant || generateButtonVariantByIndex(index)\"\n v-on=\"generateButtonEvents(button)\"\n >\n {{ button.title }}\n </bento-loading-button>\n <bento-button\n v-else\n :condensed=\"button.condensed\"\n :critical=\"button.critical\"\n :disabled=\"button.disabled\"\n :inverse=\"inverse\"\n :link=\"button.link\"\n :variant=\"button.variant || generateButtonVariantByIndex(index)\"\n v-on=\"generateButtonEvents(button)\"\n >\n <template v-if=\"button.icon || button.iconLeft\" #iconLeft>\n <component :is=\"button.icon || button.iconLeft\" :svg-title=\"button.title\"></component>\n </template>\n <template v-if=\"!isIconOnly(button)\" #default>\n {{ button.title }}\n </template>\n <template v-if=\"button.iconRight\" #iconRight>\n <component :is=\"button.iconRight\" :svg-title=\"button.title\"></component>\n </template>\n </bento-button>\n </div>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, PropType } from 'vue';\n import BentoButton from '../../button.vue';\n import { BentoButtonActionObject, BentoButtonActionsLayout, BentoButtonActionsList } from './button-actions.types';\n import { BentoLoadingButton } from '../loading-button';\n\n const props = defineProps({\n /**\n * List of actions that will be used to render the buttons.\n * First element in the list will be rendered as \"primary\".\n * All elements after the first will be rendered as \"secondary\".\n *\n * Each object in the list should have a `title`, an `event` and\n * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.\n *\n * `title`: Button's text.\n *\n * `event`: Event triggered when clicking the Button.\n *\n * `icon` (optional): Vue Icon from the library `@adyen/ui-assets-icons-16`.\n *\n * @see BentoButton for a list of all the other props supported by each button action.\n *\n * ```\n * [{\n * title: 'Primary',\n * event: () => { ... },\n * icon: FourPeopleIcon,\n * link: {\n * variant: 'default',\n * external: true,\n * to: 'https://www.adyen.com/'\n * },\n * }, {\n * title: 'Secondary',\n * event: () => { ... }\n * disabled: true,\n * variant: 'secondary',\n * critical: true\n * }]\n * ```\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n required: true,\n },\n\n /**\n * Sets the Button Actions to color scheme inverse\n */\n inverse: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Defines the layout in which the button actions is presented.\n * It can be one of:\n *\n * @values BUTTONS_START\n * @values BUTTONS_END\n * @values FILL_CONTAINER\n * @values SPACE_BETWEEN\n * @values VERTICAL_STACK\n */\n layout: {\n type: String as PropType<BentoButtonActionsLayout | `${BentoButtonActionsLayout}`>,\n default: BentoButtonActionsLayout.BUTTONS_END,\n validator: (layout: BentoButtonActionsLayout) => Object.values(BentoButtonActionsLayout).includes(layout),\n },\n });\n\n const reversedActionsList = computed(() => props.actions.slice().reverse());\n const generateButtonVariantByIndex = actionIndex => {\n const lastActionIndex = props.actions.length - 1;\n return actionIndex === lastActionIndex ? 'primary' : 'secondary';\n };\n\n const conditionalClasses = computed(() => ({\n [`b-button-actions--${props.layout}`]: true,\n }));\n\n const generateButtonEvents = (button: BentoButtonActionObject) =>\n button?.event !== undefined\n ? {\n click: button.event,\n }\n : {};\n\n const isIconOnly = (button: BentoButtonActionObject) =>\n button.iconOnly && (button.iconLeft || button.iconRight || button.icon);\n</script>\n\n<script lang=\"ts\">\n /**\n * ButtonActions component manages a set of actions a user can choose from by displaying a group of buttons.\n *\n * @example\n * import { BentoButtonActions } from '@adyen/bento-vue2';\n * import MachineLearningIcon from '@adyen/ui-assets-icons-16/vue/machine-learning';\n *\n * const clickedAction = () => { //your action here }\n *\n * <template>\n * <bento-button-actions\n * :actions=\"[{\n * title: 'Primary',\n * event: clickedAction,\n * icon: MachineLearningIcon,\n * }, {\n * title: 'Secondary',\n * event: clickedAction,\n * }, {\n * title: 'Tertiary',\n * event: clickedAction,\n * }]\"\n * />\n * </template>\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./button-actions.scss\" />\n"],"names":["BentoButtonActionsLayoutBasic","BentoButtonActionsLayoutBasic2","BentoButtonActionsLayoutExtended","BentoButtonActionsLayoutExtended2","BentoButtonActionsLayout","__default__","reversedActionsList","computed","props","generateButtonVariantByIndex","actionIndex","lastActionIndex","conditionalClasses","generateButtonEvents","button","isIconOnly"],"mappings":";;;;;AAeY,IAAAA,IAAA,kBAAAC,OACRA,EAAA,cAAA,eACAA,EAAA,iBAAA,kBACAA,EAAA,gBAAA,iBACAA,EAAA,iBAAA,kBAJQA,IAAAD,KAAA,CAAA,CAAA,GAMAE,IAAA,kBAAAC,OACRA,EAAA,gBAAA,iBADQA,IAAAD,KAAA,CAAA,CAAA;AAOL,MAAAE,IAAA,EAAA,GAAAJ,GAAA,GAAAE,EAAA,sCCoIHG,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA/CAC,IAAAC,EAAA,MAAAC,EAAA,QAAA,MAAA,EAAA,QAAA,CAAA,GACAC,IAAA,CAAAC,MAAA;AACI,YAAAC,IAAAH,EAAA,QAAA,SAAA;AACA,aAAAE,MAAAC,IAAA,YAAA;AAAA,IAAqD,GAGzDC,IAAAL,EAAA,OAAA;AAAA,MAA2C,CAAA,qBAAAC,EAAA,MAAA,EAAA,GAAA;AAAA,IACA,EAAA,GAG3CK,IAAA,CAAAC,OAAAA,KAAA,gBAAAA,EAAA,WAAA,SAAA;AAAA,MAEU,OAAAA,EAAA;AAAA,IACkB,IAAA,CAAA,GAI5BC,IAAA,CAAAD,MAAAA,EAAA,aAAAA,EAAA,YAAAA,EAAA,aAAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { B as
|
|
3
|
-
import { u as
|
|
4
|
-
import { B as
|
|
5
|
-
import { _ as
|
|
1
|
+
import { defineComponent as I, useAttrs as C, useSlots as N, computed as s, openBlock as i, createBlock as f, resolveDynamicComponent as T, unref as a, mergeProps as h, withCtx as y, createElementBlock as _, renderSlot as c, createCommentVNode as d } from "vue";
|
|
2
|
+
import { B as A } from "./typography.D7onlQ9v.js";
|
|
3
|
+
import { u as O } from "./use-has-slot.B7eQSabc.js";
|
|
4
|
+
import { B as $, a as L } from "./link.DeNN3Amu.js";
|
|
5
|
+
import { _ as Y } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
6
6
|
import "../assets/button.css";
|
|
7
|
-
var u = /* @__PURE__ */ ((t) => (t.PRIMARY = "primary", t.SECONDARY = "secondary", t.TERTIARY = "tertiary", t.TERTIARY_WITH_BACKGROUND = "tertiary-with-background", t))(u || {}),
|
|
8
|
-
const
|
|
7
|
+
var u = /* @__PURE__ */ ((t) => (t.PRIMARY = "primary", t.SECONDARY = "secondary", t.TERTIARY = "tertiary", t.TERTIARY_WITH_BACKGROUND = "tertiary-with-background", t))(u || {}), n = /* @__PURE__ */ ((t) => (t.CONDENSED = "condensed", t.DESTRUCTIVE = "critical", t.DISABLED = "disabled", t.ICON_ONLY = "icon-only", t.INVERSE = "inverse", t))(n || {});
|
|
8
|
+
const B = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "b-button__icon-left",
|
|
11
11
|
"data-testid": "icon-button-left"
|
|
12
|
-
},
|
|
12
|
+
}, U = {
|
|
13
13
|
key: 2,
|
|
14
14
|
class: "b-button__icon-right",
|
|
15
15
|
"data-testid": "icon-button-right"
|
|
16
|
-
},
|
|
16
|
+
}, w = {
|
|
17
17
|
name: "bento-button"
|
|
18
|
-
},
|
|
19
|
-
...
|
|
18
|
+
}, x = /* @__PURE__ */ I({
|
|
19
|
+
...w,
|
|
20
20
|
props: {
|
|
21
21
|
/**
|
|
22
22
|
* Reduces sizing of button
|
|
@@ -58,61 +58,61 @@ const Y = {
|
|
|
58
58
|
},
|
|
59
59
|
emits: ["blur", "click", "focus", "keydown.esc"],
|
|
60
60
|
setup(t, { emit: m }) {
|
|
61
|
-
const e = t, b =
|
|
62
|
-
var o,
|
|
61
|
+
const e = t, b = C(), v = N(), r = O(v), p = s(() => (e == null ? void 0 : e.link) !== void 0 ? $ : "button"), E = s(() => {
|
|
62
|
+
var o, l;
|
|
63
63
|
return {
|
|
64
64
|
"aria-controls": (o = b["aria-controls"]) == null ? void 0 : o.toString(),
|
|
65
|
-
"aria-expanded": (
|
|
65
|
+
"aria-expanded": (l = b["aria-expanded"]) == null ? void 0 : l.toString()
|
|
66
66
|
};
|
|
67
67
|
}), k = s(
|
|
68
68
|
() => p.value === "button" ? {
|
|
69
69
|
...E.value,
|
|
70
70
|
disabled: e.disabled,
|
|
71
71
|
type: e.type
|
|
72
|
-
} : { ...e.link, disableTypography: !0, variant:
|
|
72
|
+
} : { ...e.link, disableTypography: !0, variant: L.DEFAULT, isButton: !0 }
|
|
73
73
|
), S = s(() => ({
|
|
74
|
-
[`b-button--${e.variant}${e.critical ? `-${
|
|
74
|
+
[`b-button--${e.variant}${e.critical ? `-${n.DESTRUCTIVE}` : ""}`]: !0
|
|
75
75
|
})), R = s(() => ({
|
|
76
76
|
...S.value,
|
|
77
|
-
[`b-button--${
|
|
78
|
-
[`b-button--${
|
|
79
|
-
[`b-button--${
|
|
80
|
-
|
|
81
|
-
|
|
77
|
+
[`b-button--${n.CONDENSED}`]: e.condensed,
|
|
78
|
+
[`b-button--${n.DISABLED}`]: e.disabled,
|
|
79
|
+
[`b-button--${n.INVERSE}`]: e.inverse
|
|
80
|
+
})), g = () => ({
|
|
81
|
+
[`b-button--${n.ICON_ONLY}`]: !r("default")
|
|
82
|
+
}), D = (o) => {
|
|
82
83
|
e.disabled ? (o.preventDefault(), o.stopPropagation()) : m("click", o);
|
|
83
84
|
};
|
|
84
|
-
return (o,
|
|
85
|
-
class: ["b-button",
|
|
86
|
-
onClickCapture:
|
|
85
|
+
return (o, l) => (i(), f(T(a(p)), h(a(k), {
|
|
86
|
+
class: ["b-button", { ...a(R), ...g() }],
|
|
87
|
+
onClickCapture: D
|
|
87
88
|
}), {
|
|
88
|
-
default:
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
default: y(() => [
|
|
90
|
+
a(r)("iconLeft") ? (i(), _("span", B, [
|
|
91
|
+
c(o.$slots, "iconLeft", {}, void 0, !0)
|
|
91
92
|
])) : d("", !0),
|
|
92
|
-
|
|
93
|
+
a(r)("default") ? (i(), f(a(A), {
|
|
93
94
|
key: 1,
|
|
94
95
|
el: "span",
|
|
95
96
|
variant: "body",
|
|
96
97
|
stronger: "",
|
|
97
98
|
class: "b-button__label"
|
|
98
99
|
}, {
|
|
99
|
-
default:
|
|
100
|
-
|
|
100
|
+
default: y(() => [
|
|
101
|
+
c(o.$slots, "default", {}, void 0, !0)
|
|
101
102
|
]),
|
|
102
103
|
_: 3
|
|
103
104
|
})) : d("", !0),
|
|
104
|
-
|
|
105
|
-
|
|
105
|
+
a(r)("iconRight") ? (i(), _("span", U, [
|
|
106
|
+
c(o.$slots, "iconRight", {}, void 0, !0)
|
|
106
107
|
])) : d("", !0)
|
|
107
108
|
]),
|
|
108
109
|
_: 3
|
|
109
110
|
}, 16, ["class"]));
|
|
110
111
|
}
|
|
111
|
-
});
|
|
112
|
-
const F = /* @__PURE__ */ L(U, [["__scopeId", "data-v-24f521c4"]]);
|
|
112
|
+
}), G = /* @__PURE__ */ Y(x, [["__scopeId", "data-v-7e137e7c"]]);
|
|
113
113
|
export {
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
114
|
+
G as B,
|
|
115
|
+
u as a,
|
|
116
|
+
n as b
|
|
117
117
|
};
|
|
118
|
-
//# sourceMappingURL=button.
|
|
118
|
+
//# sourceMappingURL=button.DoqHEvPh.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button.DoqHEvPh.js","sources":["../../../core/src/components/button/button.types.ts","../../../vue2/src/components/button/button.vue"],"sourcesContent":["/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoButtonVariant {\n PRIMARY = 'primary',\n SECONDARY = 'secondary',\n TERTIARY = 'tertiary',\n TERTIARY_WITH_BACKGROUND = 'tertiary-with-background',\n}\n\nexport enum BentoButtonPropClass {\n CONDENSED = 'condensed',\n DESTRUCTIVE = 'critical',\n DISABLED = 'disabled',\n ICON_ONLY = 'icon-only',\n INVERSE = 'inverse',\n}\n\nexport interface BentoButtonProps {\n condensed?: boolean;\n critical?: boolean;\n disabled?: boolean;\n inverse?: boolean;\n variant?: BentoButtonVariant | `${BentoButtonVariant}`;\n type?: string;\n link?: object;\n}\n","<template>\n <component\n :is=\"componentType\"\n v-bind=\"componentProps\"\n class=\"b-button\"\n :class=\"{ ...conditionalClasses, ...getIconOnlyClass() }\"\n @click.capture=\"onClickButton\"\n >\n <span v-if=\"hasSlot('iconLeft')\" class=\"b-button__icon-left\" data-testid=\"icon-button-left\">\n <slot name=\"iconLeft\" />\n </span>\n <bento-typography v-if=\"hasSlot('default')\" el=\"span\" variant=\"body\" stronger class=\"b-button__label\">\n <slot />\n </bento-typography>\n <span v-if=\"hasSlot('iconRight')\" class=\"b-button__icon-right\" data-testid=\"icon-button-right\">\n <slot name=\"iconRight\" />\n </span>\n </component>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, PropType, useAttrs, useSlots } from 'vue';\n import { BentoButtonPropClass, BentoButtonVariant } from '@/core/components/button/button.types';\n import { BentoTypography } from '@/components/typography';\n import { useHasSlot } from '@/composables/use-has-slot/use-has-slot';\n import { Booleanish } from '@/types/prop-types';\n import type { RouterLinkProps } from 'vue-router/types/router';\n import type { AnchorHTMLAttributes, ButtonHTMLAttributes } from 'vue/types/jsx';\n import { BentoLink, BentoLinkVariant } from '@/components/link';\n\n // TODO: replace all this code when migrated to Vue 3 is complete as this is the only\n // current way to extend the `router-link` component in Vue 2 and Vue Router 3\n export interface LinkProps extends RouterLinkProps, AnchorHTMLAttributes {\n // eslint-disable-next-line vue/require-default-prop\n args?: { props: RouterLinkProps };\n\n /**\n * Set the rendered link to a regular external anchor link.\n */\n external: boolean;\n }\n\n const props = defineProps({\n /**\n * Reduces sizing of button\n */\n condensed: { type: Boolean, default: false },\n\n /**\n * Displays button as critical\n */\n critical: { type: Boolean, default: false },\n\n /**\n * Disables button functionality\n */\n disabled: { type: Boolean, default: false },\n\n /**\n * Sets color set to inverse\n */\n inverse: { type: Boolean, default: false },\n\n /**\n * Object containing props passed on to the BentoLink component. @see BentoLink documentation for which properties you can pass.\n */\n link: { type: Object, default: undefined },\n\n /**\n * The default behavior of the button.\n * Possible values are: 'button', 'reset', 'submit'\n */\n type: {\n type: String as PropType<ButtonHTMLAttributes['type']>,\n default: 'button',\n },\n\n /**\n * Types of flavour of Button\n * @values primary, secondary, tertiary, tertiary-with-background\n */\n variant: {\n type: String as PropType<BentoButtonVariant | `${BentoButtonVariant}`>,\n default: BentoButtonVariant.PRIMARY,\n validator: (value: BentoButtonVariant) => Object.values(BentoButtonVariant).includes(value),\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emitted when the element has lost focus\n */\n (e: 'blur');\n\n /**\n * Emitted when the button is clicked\n */\n (e: 'click', event: MouseEvent);\n\n /**\n * Emitted when the element has received focus\n */\n (e: 'focus');\n\n /**\n * Emitted when the \"ESC\" key is pressed\n */\n (e: 'keydown.esc');\n }>();\n\n const attrs = useAttrs();\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const componentType = computed(() => {\n if (props?.link !== undefined) {\n return BentoLink;\n }\n return 'button';\n });\n const ariaAttributes = computed(() => ({\n 'aria-controls': attrs['aria-controls']?.toString() as string,\n 'aria-expanded': attrs['aria-expanded']?.toString() as Booleanish,\n }));\n\n const componentProps = computed(() =>\n componentType.value === 'button'\n ? {\n ...ariaAttributes.value,\n disabled: props.disabled,\n type: props.type,\n }\n : { ...props.link, disableTypography: true, variant: BentoLinkVariant.DEFAULT, isButton: true }\n );\n\n const variantClass = computed(() => ({\n [`b-button--${props.variant}${props.critical ? `-${BentoButtonPropClass.DESTRUCTIVE}` : ''}`]: true,\n }));\n\n const conditionalClasses = computed(() => ({\n ...variantClass.value,\n [`b-button--${BentoButtonPropClass.CONDENSED}`]: props.condensed,\n [`b-button--${BentoButtonPropClass.DISABLED}`]: props.disabled,\n [`b-button--${BentoButtonPropClass.INVERSE}`]: props.inverse,\n }));\n\n const getIconOnlyClass = () => ({\n [`b-button--${BentoButtonPropClass.ICON_ONLY}`]: !hasSlot('default'),\n });\n\n const onClickButton = (e: MouseEvent) => {\n if (!props.disabled) {\n emit('click', e);\n } else {\n e.preventDefault();\n e.stopPropagation();\n }\n };\n</script>\n\n<script lang=\"ts\">\n /**\n * Button component for all the various types of bento buttons.\n *\n * @example\n * import { BentoButton } from '@adyen/bento-vue2';\n * import { CheckMarkIcon } from '@adyen/ui-assets-icons-16';\n *\n * export default {\n * components: { BentoButton },\n * template: `\n * <bento-button\n * disabled\n * variant=\"secondary\"\n * >\n * <template #iconLeft>\n * <check-mark svg-title=\"checked\" />\n * </template>\n *\n * Button text\n *\n * <template #iconRight>\n * <check-mark svg-title=\"checked\" />\n * </template>\n * </bento-button>\n * `,\n * }\n */\n export default {\n name: 'bento-button',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"@/core/components/button/button.scss\" />\n"],"names":["BentoButtonVariant","BentoButtonVariant2","BentoButtonPropClass","BentoButtonPropClass2","__default__","attrs","useAttrs","slots","useSlots","hasSlot","useHasSlot","componentType","computed","props","BentoLink","ariaAttributes","_a","_b","componentProps","BentoLinkVariant","variantClass","conditionalClasses","getIconOnlyClass","onClickButton","e","emit"],"mappings":";;;;;;AAGY,IAAAA,IAAA,kBAAAC,OACRA,EAAA,UAAA,WACAA,EAAA,YAAA,aACAA,EAAA,WAAA,YACAA,EAAA,2BAAA,4BAJQA,IAAAD,KAAA,CAAA,CAAA,GAOAE,IAAA,kBAAAC,OACRA,EAAA,YAAA,aACAA,EAAA,cAAA,YACAA,EAAA,WAAA,YACAA,EAAA,YAAA,aACAA,EAAA,UAAA,WALQA,IAAAD,KAAA,CAAA,CAAA;;;;;;;;;GCkLRE,IAAA;AAAA,EAAe,MAAA;AAEf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAhFAC,IAAAC,EAAA,GACAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAEAI,IAAAC,EAAA,OACIC,KAAA,gBAAAA,EAAA,UAAA,SACIC,IAEJ,QAAO,GAEXC,IAAAH,EAAA,MAAA;;AAAA;AAAA,QAAuC,kBAAAI,IAAAX,EAAA,eAAA,MAAA,gBAAAW,EAAA;AAAA,QACe,kBAAAC,IAAAZ,EAAA,eAAA,MAAA,gBAAAY,EAAA;AAAA,MACA;AAAA,KAAA,GAGtDC,IAAAN;AAAA,MAAuB,MAAAD,EAAA,UAAA,WAAA;AAAA,QAEb,GAAAI,EAAA;AAAA,QACsB,UAAAF,EAAA;AAAA,QACF,MAAAA,EAAA;AAAA,MACJ,IAAA,EAAA,GAAAA,EAAA,MAAA,mBAAA,IAAA,SAAAM,EAAA,SAAA,UAAA,GAAA;AAAA,IAE4E,GAGtGC,IAAAR,EAAA,OAAA;AAAA,MAAqC,CAAA,aAAAC,EAAA,OAAA,GAAAA,EAAA,WAAA,IAAAX,EAAA,WAAA,KAAA,EAAA,EAAA,GAAA;AAAA,IAC8D,EAAA,GAGnGmB,IAAAT,EAAA,OAAA;AAAA,MAA2C,GAAAQ,EAAA;AAAA,MACvB,CAAA,aAAAlB,EAAA,SAAA,EAAA,GAAAW,EAAA;AAAA,MACuC,CAAA,aAAAX,EAAA,QAAA,EAAA,GAAAW,EAAA;AAAA,MACD,CAAA,aAAAX,EAAA,OAAA,EAAA,GAAAW,EAAA;AAAA,IACD,EAAA,GAGzDS,IAAA,OAAA;AAAA,MAAgC,CAAA,aAAApB,EAAA,SAAA,EAAA,GAAA,CAAAO,EAAA,SAAA;AAAA,IACuC,IAGvEc,IAAA,CAAAC,MAAA;AACI,MAAAX,EAAA,YAGIW,EAAA,eAAA,GACAA,EAAA,gBAAA,KAHAC,EAAA,SAAAD,CAAA;AAAA,IAIJ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|