@adyen/bento-vue3 1.27.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 +4 -0
- 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/index.d.ts +1 -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/index.d.ts +1 -0
- package/dist/accordion.js +3 -125
- package/dist/accordion.js.map +1 -1
- package/dist/action-bar.js +2 -186
- package/dist/action-bar.js.map +1 -1
- package/dist/alert.js +5 -181
- package/dist/alert.js.map +1 -1
- package/dist/assets/{index2.css → accordion-item.css} +1 -1
- package/dist/assets/{index5.css → action-bar.css} +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/button.css +1 -1
- package/dist/assets/{index18.css → card.css} +1 -1
- package/dist/assets/checkbox-input.css +1 -1
- package/dist/assets/{index39.css → dashboard-section.css} +1 -1
- package/dist/assets/dashed-underline.css +1 -0
- package/dist/assets/{index49.css → data-grid-template.css} +1 -1
- package/dist/assets/{index21.css → data-grid.css} +1 -1
- 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/link.css +1 -0
- package/dist/assets/listbox-option-tag.css +1 -1
- package/dist/assets/{index10.css → menu.css} +1 -1
- package/dist/assets/{index11.css → modal-fullscreen.css} +1 -1
- package/dist/assets/{index17.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/{index38.css → sidepanel.css} +1 -1
- package/dist/assets/status.css +1 -0
- package/dist/assets/toggle.css +1 -0
- package/dist/assets/tutorial.css +1 -0
- 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.a0140a4c.js → base-button.ewkxHD6W.js} +24 -25
- package/dist/chunks/{base-button.a0140a4c.js.map → base-button.ewkxHD6W.js.map} +1 -1
- package/dist/chunks/{base-modal.4102f69d.js → base-modal.BgYlnM_Q.js} +81 -83
- package/dist/chunks/{base-modal.4102f69d.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.4f311411.js → button-actions-with-menu.C14zvgVo.js} +14 -15
- package/dist/chunks/{button-actions-with-menu.4f311411.js.map → button-actions-with-menu.C14zvgVo.js.map} +1 -1
- package/dist/chunks/{button-actions.82163994.js → button-actions.hGhRdgC2.js} +32 -33
- package/dist/chunks/{button-actions.82163994.js.map → button-actions.hGhRdgC2.js.map} +1 -1
- package/dist/chunks/{button.ae4760cd.js → button.DoqHEvPh.js} +34 -35
- package/dist/chunks/{button.ae4760cd.js.map → button.DoqHEvPh.js.map} +1 -1
- package/dist/chunks/{calendar.a9c5a68c.js → calendar.CwULNbSL.js} +285 -326
- package/dist/chunks/{calendar.a9c5a68c.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.99336948.js → checkbox-input.CR1lHf7f.js} +43 -43
- package/dist/chunks/{checkbox-input.99336948.js.map → checkbox-input.CR1lHf7f.js.map} +1 -1
- package/dist/chunks/{checkbox.9c30c07b.js → checkbox.xjIFibII.js} +38 -39
- package/dist/chunks/{checkbox.9c30c07b.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.c45a999d.js.map → checkmark-circle-fill.D29b-JWj.js.map} +1 -1
- package/dist/chunks/{checkmark-small.c79220d9.js → checkmark-small.BCeGkayS.js} +9 -9
- package/dist/chunks/{checkmark-small.c79220d9.js.map → checkmark-small.BCeGkayS.js.map} +1 -1
- package/dist/chunks/{chevron-left.4ee92950.js → chevron-left.4JHuWe7i.js} +17 -17
- package/dist/chunks/{chevron-left.4ee92950.js.map → chevron-left.4JHuWe7i.js.map} +1 -1
- package/dist/chunks/{chevron-up.638a9f34.js → chevron-up.5-KtIp8i.js} +18 -18
- package/dist/chunks/{chevron-up.638a9f34.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.8357e3fd.js → controls-group.DWu8NqKL.js} +17 -18
- package/dist/chunks/{controls-group.8357e3fd.js.map → controls-group.DWu8NqKL.js.map} +1 -1
- package/dist/chunks/{copy.60ee6ac3.js → copy.BhO7oRgC.js} +39 -40
- package/dist/chunks/{copy.60ee6ac3.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.1abec1a2.js → cross-circle-fill.vLaelNTN.js} +11 -11
- package/dist/chunks/{cross-circle-fill.1abec1a2.js.map → cross-circle-fill.vLaelNTN.js.map} +1 -1
- package/dist/chunks/cross-small.48UCoOqB.js +29 -0
- package/dist/chunks/{cross-small.b85406fe.js.map → cross-small.48UCoOqB.js.map} +1 -1
- package/dist/chunks/cross.BlL0FyHo.js +29 -0
- package/dist/chunks/{cross.26509efc.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.2d7b4511.js → date-range-picker.CiwDo2jW.js} +217 -219
- package/dist/chunks/date-range-picker.CiwDo2jW.js.map +1 -0
- package/dist/chunks/{index.f9d081d2.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.cb6ce9b6.js → dialog-page.BLqqR73w.js} +48 -49
- package/dist/chunks/{dialog-page.cb6ce9b6.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.cda0798f.js → dropdown-default-textbox.-Oy2eT40.js} +75 -77
- package/dist/chunks/{dropdown-default-textbox.cda0798f.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.0ae3b842.js → dropdown.CxBlK83Q.js} +237 -239
- 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.d2bdeb80.js → error-message.DyjHMyEZ.js} +30 -32
- package/dist/chunks/{error-message.d2bdeb80.js.map → error-message.DyjHMyEZ.js.map} +1 -1
- package/dist/chunks/events.CMzGybJJ.js +47 -0
- package/dist/chunks/{events.f14a214b.js.map → events.CMzGybJJ.js.map} +1 -1
- package/dist/chunks/filter-bar.U2ZcPmSU.js +2775 -0
- package/dist/chunks/filter-bar.U2ZcPmSU.js.map +1 -0
- package/dist/chunks/{fixed-scroller.7b42cb1e.js → fixed-scroller.DV7HtKDr.js} +20 -21
- package/dist/chunks/{fixed-scroller.7b42cb1e.js.map → fixed-scroller.DV7HtKDr.js.map} +1 -1
- package/dist/chunks/{index.9d7fb316.js → focus-trap.CwkbHfT8.js} +20 -20
- package/dist/chunks/focus-trap.CwkbHfT8.js.map +1 -0
- package/dist/chunks/{footer-actions.64f6f5d8.js → footer-actions.D9nQFagi.js} +20 -21
- package/dist/chunks/{footer-actions.64f6f5d8.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.fedbb4c2.js → index.Dytpif0G.js} +2 -2
- package/dist/chunks/{index.fedbb4c2.js.map → index.Dytpif0G.js.map} +1 -1
- 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.550f9511.js → info.CNegCnli.js} +16 -16
- package/dist/chunks/{info.550f9511.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.bbc3d15c.js → keyboard-navigation.Clz1jOaA.js} +2 -2
- package/dist/chunks/{keyboard-navigation.bbc3d15c.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.6b81b546.js → loading-button.BI32pZiW.js} +19 -20
- package/dist/chunks/{loading-button.6b81b546.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.6bb6f38c.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.d5595a7c.js → payment-method.NCItxw1D.js} +26 -27
- package/dist/chunks/{payment-method.d5595a7c.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.a001a0a8.js → popover.DRb2GW7t.js} +48 -49
- package/dist/chunks/popover.DRb2GW7t.js.map +1 -0
- package/dist/chunks/{index.6295e754.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.bd60f6a8.js → refresh.BfxRdaQb.js} +12 -12
- package/dist/chunks/{refresh.bd60f6a8.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.ade93bda.js → search.0lh99z1F.js} +15 -15
- package/dist/chunks/{search.ade93bda.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.36172265.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.3dc4e113.js → use-bento-toast-controller.C0A5tZgd.js} +3 -3
- package/dist/chunks/{use-bento-toast-controller.3dc4e113.js.map → use-bento-toast-controller.C0A5tZgd.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.3c312296.js → use-cached-selected-values.BQBWFTvi.js} +271 -278
- package/dist/chunks/{use-cached-selected-values.3c312296.js.map → use-cached-selected-values.BQBWFTvi.js.map} +1 -1
- 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 -2133
- 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 +3 -166
- package/dist/dashboard-template.js.map +1 -1
- 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 -2651
- 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 -2780
- 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 -259
- 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 -249
- 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 -184
- 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 -407
- package/dist/tutorial.js.map +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +4 -6
- package/dist/assets/index.css +0 -1
- package/dist/assets/index26.css +0 -1
- package/dist/assets/index30.css +0 -1
- package/dist/assets/index34.css +0 -1
- package/dist/assets/index37.css +0 -1
- package/dist/assets/index40.css +0 -1
- package/dist/assets/index6.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/checkmark-circle-fill.c45a999d.js +0 -44
- package/dist/chunks/cross-small.b85406fe.js +0 -29
- package/dist/chunks/cross.26509efc.js +0 -29
- package/dist/chunks/dropdown.0ae3b842.js.map +0 -1
- package/dist/chunks/events.f14a214b.js +0 -50
- package/dist/chunks/index.2d7b4511.js.map +0 -1
- package/dist/chunks/index.2fcd1233.js +0 -103
- package/dist/chunks/index.2fcd1233.js.map +0 -1
- package/dist/chunks/index.6295e754.js.map +0 -1
- package/dist/chunks/index.6bb6f38c.js.map +0 -1
- package/dist/chunks/index.8aa536a8.js +0 -62
- package/dist/chunks/index.8aa536a8.js.map +0 -1
- package/dist/chunks/index.9d7fb316.js.map +0 -1
- package/dist/chunks/index.a001a0a8.js.map +0 -1
- package/dist/chunks/index.b18c78d6.js +0 -23
- package/dist/chunks/index.b18c78d6.js.map +0 -1
- package/dist/chunks/index.eb38a6c4.js +0 -118
- package/dist/chunks/index.eb38a6c4.js.map +0 -1
- package/dist/chunks/index.ee15db35.js +0 -74
- package/dist/chunks/index.ee15db35.js.map +0 -1
- package/dist/chunks/index.f9d081d2.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.2aea037c.js +0 -129
- package/dist/chunks/listbox-option-tag.2aea037c.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/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.36172265.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/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/{index44.css → alert.css} +0 -0
- /package/dist/assets/{index15.css → avatar-image.css} +0 -0
- /package/dist/assets/{index3.css → badge.css} +0 -0
- /package/dist/assets/{index16.css → checkbox-group.css} +0 -0
- /package/dist/assets/{index46.css → code-snippet.css} +0 -0
- /package/dist/assets/{index19.css → country.css} +0 -0
- /package/dist/assets/{index22.css → date-picker.css} +0 -0
- /package/dist/assets/{index42.css → date-range-picker.css} +0 -0
- /package/dist/assets/{index14.css → divider.css} +0 -0
- /package/dist/assets/{index47.css → dropdown-tag.css} +0 -0
- /package/dist/assets/{index43.css → empty-state.css} +0 -0
- /package/dist/assets/{index7.css → focus-trap.css} +0 -0
- /package/dist/assets/{index45.css → form-layout-title.css} +0 -0
- /package/dist/assets/{index20.css → header.css} +0 -0
- /package/dist/assets/{index8.css → info-icon.css} +0 -0
- /package/dist/assets/{index41.css → input-field.css} +0 -0
- /package/dist/assets/{index9.css → loading-indicator.css} +0 -0
- /package/dist/assets/{index13.css → pagination.css} +0 -0
- /package/dist/assets/{index4.css → popper-container.css} +0 -0
- /package/dist/assets/{index23.css → radio-group.css} +0 -0
- /package/dist/assets/{index24.css → search-bar.css} +0 -0
- /package/dist/assets/{index25.css → secondary-nav.css} +0 -0
- /package/dist/assets/{index27.css → step.css} +0 -0
- /package/dist/assets/{index31.css → structured-list-item.css} +0 -0
- /package/dist/assets/{index33.css → summary-grid-item-custom.css} +0 -0
- /package/dist/assets/{index29.css → tabs.css} +0 -0
- /package/dist/assets/{index35.css → tag.css} +0 -0
- /package/dist/assets/{index28.css → textarea.css} +0 -0
- /package/dist/assets/{index32.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/{index48.css → typography.css} +0 -0
package/dist/@types/packages/vue2/src/components/segmented-control/segmented-control.vue.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BentoSegmentedControlEvent, BentoSegmentedControlItem } from './segmented-control.types';
|
|
1
|
+
import { BentoSegmentedControlItem } from './segmented-control.types';
|
|
3
2
|
/**
|
|
4
3
|
* @example
|
|
5
4
|
* import { BentoSegmentedControl } from '@adyen/bento-vue2';
|
|
@@ -15,110 +14,79 @@ import { BentoSegmentedControlEvent, BentoSegmentedControlItem } from './segment
|
|
|
15
14
|
* `
|
|
16
15
|
* }
|
|
17
16
|
*/
|
|
18
|
-
declare const _default: import("../../../../vue3/node_modules/vue").DefineComponent<{
|
|
19
|
-
/**
|
|
20
|
-
* Items that will populate the segmented control.
|
|
21
|
-
*/
|
|
22
|
-
items: {
|
|
23
|
-
type: PropType<BentoSegmentedControlItem[]>;
|
|
24
|
-
required: true;
|
|
25
|
-
validator: (arr: Array<BentoSegmentedControlItem[]>) => boolean;
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* Determines the selected value of the group. Corresponds to the BentoSegmentedControlItem's value.
|
|
29
|
-
*/
|
|
30
|
-
modelValue: {
|
|
31
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
32
|
-
required: true;
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
36
|
-
*/
|
|
17
|
+
declare const _default: import("../../../../vue3/node_modules/vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
37
18
|
/**
|
|
38
19
|
* Accessible name describing the segmented control.
|
|
20
|
+
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
39
21
|
*/
|
|
40
|
-
ariaLabel
|
|
41
|
-
type: StringConstructor;
|
|
42
|
-
default: any;
|
|
43
|
-
};
|
|
22
|
+
ariaLabel?: string;
|
|
44
23
|
/**
|
|
45
24
|
* If set to true, renders the component full width.
|
|
46
25
|
*/
|
|
47
|
-
fullWidth
|
|
48
|
-
type: BooleanConstructor;
|
|
49
|
-
default: boolean;
|
|
50
|
-
};
|
|
51
|
-
/**
|
|
52
|
-
* If set to true, wraps the items in the segmented control to show their content whenever these don't fit in the available space anymore.
|
|
53
|
-
*/
|
|
54
|
-
wrap: {
|
|
55
|
-
type: BooleanConstructor;
|
|
56
|
-
default: boolean;
|
|
57
|
-
};
|
|
58
|
-
}, {
|
|
59
|
-
computedAriaLabel: import("../../../../vue3/node_modules/vue").ComputedRef<string>;
|
|
60
|
-
inputValue: import("../../../../vue3/node_modules/vue").Ref<string | number>;
|
|
61
|
-
segmentedControlRef: import("../../../../vue3/node_modules/vue").Ref<any>;
|
|
62
|
-
segmentedControlButtonRef: import("../../../../vue3/node_modules/vue").Ref<any>;
|
|
63
|
-
computedItems: import("../../../../vue3/node_modules/vue").ComputedRef<{
|
|
64
|
-
tooltipText: string;
|
|
65
|
-
label: string;
|
|
66
|
-
value: string | number;
|
|
67
|
-
disabled?: boolean;
|
|
68
|
-
}[]>;
|
|
69
|
-
truncate: import("../../../../vue3/node_modules/vue").ComputedRef<boolean>;
|
|
70
|
-
conditionalClasses: import("../../../../vue3/node_modules/vue").ComputedRef<{
|
|
71
|
-
'b-segmented-control--hug': boolean;
|
|
72
|
-
'b-segmented-control--full-width': boolean;
|
|
73
|
-
'b-segmented-control--truncate': boolean;
|
|
74
|
-
'b-segmented-control--wrap': boolean;
|
|
75
|
-
}>;
|
|
76
|
-
onInput: (value: any) => void;
|
|
77
|
-
}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, BentoSegmentedControlEvent[], BentoSegmentedControlEvent, import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
26
|
+
fullWidth?: boolean;
|
|
78
27
|
/**
|
|
79
28
|
* Items that will populate the segmented control.
|
|
80
29
|
*/
|
|
81
|
-
items:
|
|
82
|
-
type: PropType<BentoSegmentedControlItem[]>;
|
|
83
|
-
required: true;
|
|
84
|
-
validator: (arr: Array<BentoSegmentedControlItem[]>) => boolean;
|
|
85
|
-
};
|
|
30
|
+
items: BentoSegmentedControlItem[];
|
|
86
31
|
/**
|
|
87
32
|
* Determines the selected value of the group. Corresponds to the BentoSegmentedControlItem's value.
|
|
88
33
|
*/
|
|
89
|
-
modelValue:
|
|
90
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
91
|
-
required: true;
|
|
92
|
-
};
|
|
34
|
+
modelValue: string | number;
|
|
93
35
|
/**
|
|
94
|
-
*
|
|
36
|
+
* If set to true, wraps the items in the segmented control to show their content whenever these don't fit in the available space anymore.
|
|
95
37
|
*/
|
|
38
|
+
wrap?: boolean;
|
|
39
|
+
}>, {
|
|
40
|
+
ariaLabel: any;
|
|
41
|
+
fullWidth: boolean;
|
|
42
|
+
wrap: boolean;
|
|
43
|
+
}>, {}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, {
|
|
44
|
+
"update:model-value": (value: string | number) => void;
|
|
45
|
+
}, string, import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
96
46
|
/**
|
|
97
47
|
* Accessible name describing the segmented control.
|
|
48
|
+
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
98
49
|
*/
|
|
99
|
-
ariaLabel
|
|
100
|
-
type: StringConstructor;
|
|
101
|
-
default: any;
|
|
102
|
-
};
|
|
50
|
+
ariaLabel?: string;
|
|
103
51
|
/**
|
|
104
52
|
* If set to true, renders the component full width.
|
|
105
53
|
*/
|
|
106
|
-
fullWidth
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
54
|
+
fullWidth?: boolean;
|
|
55
|
+
/**
|
|
56
|
+
* Items that will populate the segmented control.
|
|
57
|
+
*/
|
|
58
|
+
items: BentoSegmentedControlItem[];
|
|
59
|
+
/**
|
|
60
|
+
* Determines the selected value of the group. Corresponds to the BentoSegmentedControlItem's value.
|
|
61
|
+
*/
|
|
62
|
+
modelValue: string | number;
|
|
110
63
|
/**
|
|
111
64
|
* If set to true, wraps the items in the segmented control to show their content whenever these don't fit in the available space anymore.
|
|
112
65
|
*/
|
|
113
|
-
wrap
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
66
|
+
wrap?: boolean;
|
|
67
|
+
}>, {
|
|
68
|
+
ariaLabel: any;
|
|
69
|
+
fullWidth: boolean;
|
|
70
|
+
wrap: boolean;
|
|
71
|
+
}>>> & {
|
|
72
|
+
"onUpdate:model-value"?: (value: string | number) => any;
|
|
119
73
|
}, {
|
|
120
74
|
wrap: boolean;
|
|
121
75
|
ariaLabel: string;
|
|
122
76
|
fullWidth: boolean;
|
|
123
77
|
}>;
|
|
124
78
|
export default _default;
|
|
79
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
80
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
81
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
82
|
+
type: import("../../../../vue3/node_modules/vue").PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
83
|
+
} : {
|
|
84
|
+
type: import("../../../../vue3/node_modules/vue").PropType<T[K]>;
|
|
85
|
+
required: true;
|
|
86
|
+
};
|
|
87
|
+
};
|
|
88
|
+
type __VLS_WithDefaults<P, D> = {
|
|
89
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
90
|
+
default: D[K];
|
|
91
|
+
} : P[K];
|
|
92
|
+
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { PropType } from "../../../../vue3/node_modules/vue";
|
|
2
1
|
import { BentoStatusVariant } from './status.types';
|
|
3
2
|
/**
|
|
4
3
|
* A Status component is used to indicate a
|
|
@@ -16,21 +15,25 @@ import { BentoStatusVariant } from './status.types';
|
|
|
16
15
|
* `
|
|
17
16
|
* }
|
|
18
17
|
*/
|
|
19
|
-
declare const _default: import("../../../../vue3/node_modules/vue").DefineComponent<{
|
|
20
|
-
variant: {
|
|
21
|
-
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_modules/vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
19
|
+
variant: BentoStatusVariant | `${BentoStatusVariant}`;
|
|
20
|
+
}>, {}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, {}, string, import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
21
|
+
variant: BentoStatusVariant | `${BentoStatusVariant}`;
|
|
22
|
+
}>>>, {}>, {
|
|
23
|
+
default: (_: {}) => any;
|
|
24
|
+
}>;
|
|
25
|
+
export default _default;
|
|
26
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
27
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
28
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
29
|
+
type: import("../../../../vue3/node_modules/vue").PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
30
|
+
} : {
|
|
31
|
+
type: import("../../../../vue3/node_modules/vue").PropType<T[K]>;
|
|
22
32
|
required: true;
|
|
23
|
-
validator: (type: BentoStatusVariant) => boolean;
|
|
24
33
|
};
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, {}, string, import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
30
|
-
variant: {
|
|
31
|
-
type: PropType<"blue" | "green" | "red" | "yellow" | "grey" | "orange" | BentoStatusVariant>;
|
|
32
|
-
required: true;
|
|
33
|
-
validator: (type: BentoStatusVariant) => boolean;
|
|
34
|
+
};
|
|
35
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
36
|
+
new (): {
|
|
37
|
+
$slots: S;
|
|
34
38
|
};
|
|
35
|
-
}
|
|
36
|
-
export default _default;
|
|
39
|
+
};
|
|
@@ -3,6 +3,7 @@ export * from './components/accordion';
|
|
|
3
3
|
export * from './components/action-bar';
|
|
4
4
|
export * from './components/alert';
|
|
5
5
|
export * from './components/button';
|
|
6
|
+
export * from './components/dashed-underline';
|
|
6
7
|
export * from './components/data-grid';
|
|
7
8
|
export * from './components/card';
|
|
8
9
|
export * from './components/date-picker';
|
package/dist/accordion.js
CHANGED
|
@@ -1,128 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { _ as N } from "./chunks/_plugin-vue_export-helper.dad06003.js";
|
|
3
|
-
import { B as w } from "./chunks/index.ee15db35.js";
|
|
4
|
-
import { C as R, a as j } from "./chunks/chevron-up.638a9f34.js";
|
|
5
|
-
import { g as x } from "./chunks/unique-id.a2a2b458.js";
|
|
6
|
-
import { o as M } from "./chunks/resize.a041304d.js";
|
|
7
|
-
import { u as U } from "./chunks/use-expandable-content-height.62fc84e5.js";
|
|
8
|
-
import "./assets/index2.css";
|
|
9
|
-
const S = Symbol("accordion title size injection key"), q = { class: "b-accordion" }, J = {}, K = /* @__PURE__ */ C({
|
|
10
|
-
...J,
|
|
11
|
-
__name: "accordion",
|
|
12
|
-
props: {
|
|
13
|
-
/**
|
|
14
|
-
* Controls accordion title size.
|
|
15
|
-
* @values default, small
|
|
16
|
-
*/
|
|
17
|
-
titleSize: {
|
|
18
|
-
type: String,
|
|
19
|
-
default: "default"
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
setup(i) {
|
|
23
|
-
return k(S, B(i, "titleSize")), (c, l) => (a(), r("div", q, [
|
|
24
|
-
E(c.$slots, "default", {}, void 0, !0)
|
|
25
|
-
]));
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
const ae = /* @__PURE__ */ N(K, [["__scopeId", "data-v-9fccc066"]]), L = { class: "b-accordion-item" }, Y = ["id", "aria-controls", "aria-expanded"], Z = ["id", "aria-labelledby"], F = {}, G = /* @__PURE__ */ C({
|
|
29
|
-
...F,
|
|
30
|
-
__name: "accordion-item",
|
|
31
|
-
props: {
|
|
32
|
-
/**
|
|
33
|
-
* Sets the title of the accordion item.
|
|
34
|
-
*/
|
|
35
|
-
title: {
|
|
36
|
-
type: String,
|
|
37
|
-
required: !0
|
|
38
|
-
},
|
|
39
|
-
/**
|
|
40
|
-
* Controls if the content is visible or hidden.
|
|
41
|
-
*/
|
|
42
|
-
isExpanded: {
|
|
43
|
-
type: Boolean,
|
|
44
|
-
default: !1
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
emits: ["update:is-expanded"],
|
|
48
|
-
setup(i, { emit: d }) {
|
|
49
|
-
const c = i, l = "b-accordion-item__animation--content", n = b(null), t = b(c.isExpanded), _ = x("accordionItemButton"), p = x("accordionItemContent"), u = O(S, "default"), { updateContentHeight: m, contentHeight: v } = U(n, t), T = $(() => v.value ? { "max-height": v.value } : {});
|
|
50
|
-
return s(
|
|
51
|
-
() => c.isExpanded,
|
|
52
|
-
(o) => {
|
|
53
|
-
t.value = o;
|
|
54
|
-
}
|
|
55
|
-
), s(
|
|
56
|
-
() => n.value,
|
|
57
|
-
() => {
|
|
58
|
-
let o = null;
|
|
59
|
-
!o && n.value && (o = M(n.value, () => {
|
|
60
|
-
n.value && m();
|
|
61
|
-
}));
|
|
62
|
-
}
|
|
63
|
-
), s(
|
|
64
|
-
t,
|
|
65
|
-
(o) => {
|
|
66
|
-
d("update:is-expanded", o), m();
|
|
67
|
-
},
|
|
68
|
-
{ immediate: !0 }
|
|
69
|
-
), (o, f) => (a(), r("div", L, [
|
|
70
|
-
y(e(w), {
|
|
71
|
-
el: "h3",
|
|
72
|
-
variant: e(u) === "small" ? "body" : "title",
|
|
73
|
-
strongest: e(u) === "small"
|
|
74
|
-
}, {
|
|
75
|
-
default: g(() => [
|
|
76
|
-
h("button", {
|
|
77
|
-
id: e(_),
|
|
78
|
-
"aria-controls": e(p),
|
|
79
|
-
"aria-expanded": `${t.value}`,
|
|
80
|
-
type: "button",
|
|
81
|
-
class: "b-accordion-item__button",
|
|
82
|
-
onClick: f[0] || (f[0] = (P) => t.value = !t.value)
|
|
83
|
-
}, [
|
|
84
|
-
t.value ? (a(), I(e(R), {
|
|
85
|
-
key: 0,
|
|
86
|
-
class: "b-accordion-item__icon",
|
|
87
|
-
"svg-title": "collapse",
|
|
88
|
-
"aria-hidden": "true"
|
|
89
|
-
})) : (a(), I(e(j), {
|
|
90
|
-
key: 1,
|
|
91
|
-
class: "b-accordion-item__icon",
|
|
92
|
-
"svg-title": "expand",
|
|
93
|
-
"aria-hidden": "true"
|
|
94
|
-
})),
|
|
95
|
-
z(" " + A(i.title), 1)
|
|
96
|
-
], 8, Y)
|
|
97
|
-
]),
|
|
98
|
-
_: 1
|
|
99
|
-
}, 8, ["variant", "strongest"]),
|
|
100
|
-
y(D, { name: l }, {
|
|
101
|
-
default: g(() => [
|
|
102
|
-
t.value ? (a(), r("div", {
|
|
103
|
-
key: 0,
|
|
104
|
-
id: e(p),
|
|
105
|
-
"aria-labelledby": e(_),
|
|
106
|
-
role: "region",
|
|
107
|
-
style: H(e(T))
|
|
108
|
-
}, [
|
|
109
|
-
h("div", {
|
|
110
|
-
ref_key: "contentDiv",
|
|
111
|
-
ref: n,
|
|
112
|
-
class: "b-accordion-item__content"
|
|
113
|
-
}, [
|
|
114
|
-
E(o.$slots, "default", {}, void 0, !0)
|
|
115
|
-
], 512)
|
|
116
|
-
], 12, Z)) : V("", !0)
|
|
117
|
-
]),
|
|
118
|
-
_: 3
|
|
119
|
-
})
|
|
120
|
-
]));
|
|
121
|
-
}
|
|
122
|
-
});
|
|
123
|
-
const ie = /* @__PURE__ */ N(G, [["__scopeId", "data-v-b1de8d3a"]]);
|
|
1
|
+
import { a as e, b as n } from "./chunks/accordion-item.BcfGYvjn.js";
|
|
124
2
|
export {
|
|
125
|
-
|
|
126
|
-
|
|
3
|
+
e as BentoAccordion,
|
|
4
|
+
n as BentoAccordionItem
|
|
127
5
|
};
|
|
128
6
|
//# sourceMappingURL=accordion.js.map
|
package/dist/accordion.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accordion.js","sources":[
|
|
1
|
+
{"version":3,"file":"accordion.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
package/dist/action-bar.js
CHANGED
|
@@ -1,189 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as J } from "./chunks/button.ae4760cd.js";
|
|
3
|
-
import { B as Y } from "./chunks/index.ee15db35.js";
|
|
4
|
-
import { B as Z } from "./chunks/button-actions-with-menu.4f311411.js";
|
|
5
|
-
import { C as $ } from "./chunks/cross.26509efc.js";
|
|
6
|
-
import { u as j } from "./chunks/i18n.f7e6533e.js";
|
|
7
|
-
import { u as H } from "./chunks/index.fedbb4c2.js";
|
|
8
|
-
import { P as Q } from "./chunks/index.a001a0a8.js";
|
|
9
|
-
import { B as X } from "./chunks/button-actions.82163994.js";
|
|
10
|
-
import { _ as ee } from "./chunks/_plugin-vue_export-helper.dad06003.js";
|
|
11
|
-
import "./assets/index5.css";
|
|
12
|
-
const N = {
|
|
13
|
-
"en-US": {
|
|
14
|
-
actionBar: "Action bar",
|
|
15
|
-
cancel: "Cancel",
|
|
16
|
-
close: "Close",
|
|
17
|
-
save: "Save",
|
|
18
|
-
selected: "selected",
|
|
19
|
-
unsavedChanges: "unsaved change | unsaved changes"
|
|
20
|
-
}
|
|
21
|
-
}, te = ["aria-label"], ae = {
|
|
22
|
-
key: 0,
|
|
23
|
-
class: "b-action-bar__close-button"
|
|
24
|
-
}, ne = {
|
|
25
|
-
i18n: { messages: N }
|
|
26
|
-
}, oe = /* @__PURE__ */ W({
|
|
27
|
-
...ne,
|
|
28
|
-
__name: "action-bar",
|
|
29
|
-
props: {
|
|
30
|
-
/**
|
|
31
|
-
* List of actions that will be used to render the buttons.
|
|
32
|
-
* Required and used for the `default` variant.
|
|
33
|
-
*
|
|
34
|
-
* Each object in the list should have a `title`, an `event` and,
|
|
35
|
-
* optionally, an `icon`.
|
|
36
|
-
*
|
|
37
|
-
* The component will display 4 actions and the hide the rest inside a menu.
|
|
38
|
-
*
|
|
39
|
-
* @see BentoButton for a list of all the other props supported by each button action.
|
|
40
|
-
*/
|
|
41
|
-
actions: {
|
|
42
|
-
type: Array,
|
|
43
|
-
default: () => []
|
|
44
|
-
},
|
|
45
|
-
/**
|
|
46
|
-
* How many actions should be visible outside the menu, cannot be more than 4
|
|
47
|
-
*/
|
|
48
|
-
visibleActions: {
|
|
49
|
-
type: Number,
|
|
50
|
-
default: 4,
|
|
51
|
-
validator: (n) => n > 0 && n <= 4
|
|
52
|
-
},
|
|
53
|
-
/**
|
|
54
|
-
* Use when there are sticky elements at the bottom, like sticky pagination
|
|
55
|
-
*/
|
|
56
|
-
extraBottomSpacing: {
|
|
57
|
-
type: Boolean,
|
|
58
|
-
default: !1
|
|
59
|
-
},
|
|
60
|
-
/**
|
|
61
|
-
* Show how many items are selected
|
|
62
|
-
*/
|
|
63
|
-
itemCounter: {
|
|
64
|
-
type: Number,
|
|
65
|
-
required: !0
|
|
66
|
-
},
|
|
67
|
-
/**
|
|
68
|
-
* Label for the selection, e.g. 'selected'/'changed'
|
|
69
|
-
*/
|
|
70
|
-
selectionLabel: {
|
|
71
|
-
type: String,
|
|
72
|
-
default: null
|
|
73
|
-
},
|
|
74
|
-
/**
|
|
75
|
-
* Variant for the action bar
|
|
76
|
-
* @values default, confirmation
|
|
77
|
-
*/
|
|
78
|
-
variant: {
|
|
79
|
-
type: String,
|
|
80
|
-
default: "default"
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
emits: ["close", "cancel", "save"],
|
|
84
|
-
setup(n, { emit: v }) {
|
|
85
|
-
const s = n, I = 100, x = 7, T = 500, A = 32, { t: i, tc: k } = j({ messages: N }), w = c(() => s.selectionLabel ? s.selectionLabel : i("selected")), r = p(null), { extraBottomSpacing: V, visibleActions: O } = U(s), { width: l } = H(), t = p(null), _ = p(null), u = c(() => s.variant === "confirmation");
|
|
86
|
-
g(
|
|
87
|
-
() => O.value,
|
|
88
|
-
(a) => {
|
|
89
|
-
_.value = a <= 4 ? a : 4, t.value = _.value;
|
|
90
|
-
},
|
|
91
|
-
{ immediate: !0 }
|
|
92
|
-
);
|
|
93
|
-
const P = c(() => ({
|
|
94
|
-
"b-action-bar--extra-spacing": V.value,
|
|
95
|
-
"b-action-bar--confirmation": u.value
|
|
96
|
-
}));
|
|
97
|
-
z(Q, x);
|
|
98
|
-
const R = c(() => {
|
|
99
|
-
const a = s.actions.map((L) => ({
|
|
100
|
-
...L,
|
|
101
|
-
variant: "secondary"
|
|
102
|
-
})), o = a.slice(0, t.value).reverse(), d = a.slice(t.value);
|
|
103
|
-
return [...o, ...d];
|
|
104
|
-
}), F = c(() => [
|
|
105
|
-
{
|
|
106
|
-
title: i("save"),
|
|
107
|
-
event: () => v("save")
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
title: i("cancel"),
|
|
111
|
-
variant: "secondary",
|
|
112
|
-
event: () => v("cancel")
|
|
113
|
-
}
|
|
114
|
-
]), C = async () => {
|
|
115
|
-
await f(), l.value > r.value.clientWidth + A + I && t.value < _.value && (t.value += 1, C());
|
|
116
|
-
}, h = async () => {
|
|
117
|
-
await f(), l.value < r.value.clientWidth + A && t.value > 0 && (t.value -= 1, h());
|
|
118
|
-
};
|
|
119
|
-
return g(
|
|
120
|
-
() => l.value,
|
|
121
|
-
async (a, o) => {
|
|
122
|
-
if (await f(), !r.value)
|
|
123
|
-
return;
|
|
124
|
-
const d = a > o;
|
|
125
|
-
l.value < T ? t.value = 0 : d ? C() : h();
|
|
126
|
-
},
|
|
127
|
-
{ immediate: !0 }
|
|
128
|
-
), (a, o) => (m(), b(D, {
|
|
129
|
-
name: "b-action-bar__animation",
|
|
130
|
-
appear: ""
|
|
131
|
-
}, {
|
|
132
|
-
default: y(() => [
|
|
133
|
-
E("section", {
|
|
134
|
-
class: G(["b-action-bar", e(P)]),
|
|
135
|
-
"aria-label": e(i)("actionBar")
|
|
136
|
-
}, [
|
|
137
|
-
E("div", {
|
|
138
|
-
ref_key: "actionBar",
|
|
139
|
-
ref: r,
|
|
140
|
-
class: "b-action-bar__container"
|
|
141
|
-
}, [
|
|
142
|
-
e(u) ? M("", !0) : (m(), K("div", ae, [
|
|
143
|
-
B(e(J), {
|
|
144
|
-
variant: "tertiary",
|
|
145
|
-
inverse: "",
|
|
146
|
-
"aria-label": e(i)("close"),
|
|
147
|
-
onClick: o[0] || (o[0] = (d) => v("close"))
|
|
148
|
-
}, {
|
|
149
|
-
iconLeft: y(() => [
|
|
150
|
-
B(e($), { "aria-hidden": !0 })
|
|
151
|
-
]),
|
|
152
|
-
_: 1
|
|
153
|
-
}, 8, ["aria-label"])
|
|
154
|
-
])),
|
|
155
|
-
B(e(Y), {
|
|
156
|
-
el: "span",
|
|
157
|
-
stronger: "",
|
|
158
|
-
class: "b-action-bar__selection"
|
|
159
|
-
}, {
|
|
160
|
-
default: y(() => [
|
|
161
|
-
q(S(n.itemCounter) + " " + S(e(u) ? e(k)("unsavedChanges", n.itemCounter) : e(w)), 1)
|
|
162
|
-
]),
|
|
163
|
-
_: 1
|
|
164
|
-
}),
|
|
165
|
-
e(u) ? (m(), b(e(X), {
|
|
166
|
-
key: 1,
|
|
167
|
-
actions: e(F),
|
|
168
|
-
class: "b-action-bar__actions",
|
|
169
|
-
inverse: ""
|
|
170
|
-
}, null, 8, ["actions"])) : (m(), b(Z, {
|
|
171
|
-
key: 2,
|
|
172
|
-
actions: e(R),
|
|
173
|
-
class: "b-action-bar__actions",
|
|
174
|
-
"displayed-actions": t.value,
|
|
175
|
-
"menu-position": "top-end",
|
|
176
|
-
inverse: ""
|
|
177
|
-
}, null, 8, ["actions", "displayed-actions"]))
|
|
178
|
-
], 512)
|
|
179
|
-
], 10, te)
|
|
180
|
-
]),
|
|
181
|
-
_: 1
|
|
182
|
-
}));
|
|
183
|
-
}
|
|
184
|
-
});
|
|
185
|
-
const pe = /* @__PURE__ */ ee(oe, [["__scopeId", "data-v-191a2ab0"]]);
|
|
1
|
+
import { B as t } from "./chunks/action-bar.BvAtk-jI.js";
|
|
186
2
|
export {
|
|
187
|
-
|
|
3
|
+
t as BentoActionBar
|
|
188
4
|
};
|
|
189
5
|
//# sourceMappingURL=action-bar.js.map
|
package/dist/action-bar.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-bar.js","sources":["../../vue2/src/components/action-bar/action-bar.vue"],"sourcesContent":["<template>\n <Transition name=\"b-action-bar__animation\" appear>\n <section class=\"b-action-bar\" :class=\"conditionalClasses\" :aria-label=\"t('actionBar')\">\n <div ref=\"actionBar\" class=\"b-action-bar__container\">\n <div v-if=\"!isConfirmationVariant\" class=\"b-action-bar__close-button\">\n <bento-button variant=\"tertiary\" inverse :aria-label=\"t('close')\" @click=\"emit('close')\">\n <template #iconLeft><cross-icon :aria-hidden=\"true\" /></template>\n </bento-button>\n </div>\n <bento-typography el=\"span\" stronger class=\"b-action-bar__selection\">\n {{ itemCounter }} {{ isConfirmationVariant ? tc('unsavedChanges', itemCounter) : label }}\n </bento-typography>\n <bento-button-actions\n v-if=\"isConfirmationVariant\"\n :actions=\"confirmationActions\"\n class=\"b-action-bar__actions\"\n inverse\n />\n <button-actions-with-menu\n v-else\n :actions=\"actionsInternal\"\n class=\"b-action-bar__actions\"\n :displayed-actions=\"internalDisplayedActions\"\n menu-position=\"top-end\"\n inverse\n />\n </div>\n </section>\n </Transition>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, nextTick, PropType, provide, ref, toRefs, watch } from 'vue';\n import { BentoButton, BentoButtonActions, BentoButtonActionsList } from '@/components/button';\n import { BentoTypography } from '@/components/typography';\n\n import { type BentoActionBarVariant } from '@/components/action-bar/action-bar.types';\n import ButtonActionsWithMenu from '@/components/internal/button-actions-with-menu/button-actions-with-menu.vue';\n import CrossIcon from '@adyen/ui-assets-icons-16/vue/cross';\n\n import { useI18n } from '@/utils/ts/i18n';\n import { useWindowSize } from '@vueuse/core';\n\n import messages from './messages.json';\n import { POPOVER_OFFSET_INJECTION_KEY } from '@/components/popover/popover.keys';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n // Constants\n const AVERAGE_BUTTON_SIZE = 100;\n const MENU_OFFSET = 7;\n const RESPONSIVE_BREAKPOINT = 500;\n const SPACING = 32;\n\n const props = defineProps({\n /**\n * List of actions that will be used to render the buttons.\n * Required and used for the `default` variant.\n *\n * Each object in the list should have a `title`, an `event` and,\n * optionally, an `icon`.\n *\n * The component will display 4 actions and the hide the rest inside a menu.\n *\n * @see BentoButton for a list of all the other props supported by each button action.\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: () => [],\n },\n /**\n * How many actions should be visible outside the menu, cannot be more than 4\n */\n visibleActions: {\n type: Number,\n default: 4,\n validator: (value: number) => value > 0 && value <= 4,\n },\n /**\n * Use when there are sticky elements at the bottom, like sticky pagination\n */\n extraBottomSpacing: {\n type: Boolean,\n default: false,\n },\n /**\n * Show how many items are selected\n */\n itemCounter: {\n type: Number,\n required: true,\n },\n /**\n * Label for the selection, e.g. 'selected'/'changed'\n */\n selectionLabel: {\n type: String,\n default: null,\n },\n /**\n * Variant for the action bar\n * @values default, confirmation\n */\n variant: {\n type: String as PropType<BentoActionBarVariant>,\n default: 'default',\n },\n });\n\n const emit = defineEmits<{\n /**\n * Event emitted when the user click the close button\n */\n (e: 'close'): void;\n (e: 'cancel'): void;\n (e: 'save'): void;\n }>();\n\n const { t, tc } = useI18n<{ message: MessageSchema }>({ messages });\n const label = computed(() => (props.selectionLabel ? props.selectionLabel : t('selected')));\n\n // Refs\n const actionBar = ref<HTMLDivElement>(null);\n const { extraBottomSpacing, visibleActions } = toRefs(props);\n const { width } = useWindowSize();\n const internalDisplayedActions = ref(null);\n const internalVisibleActions = ref(null);\n\n const isConfirmationVariant = computed(() => props.variant === 'confirmation');\n\n watch(\n () => visibleActions.value,\n value => {\n internalVisibleActions.value = value <= 4 ? value : 4;\n internalDisplayedActions.value = internalVisibleActions.value;\n },\n { immediate: true }\n );\n\n // Styling\n const conditionalClasses = computed(() => ({\n 'b-action-bar--extra-spacing': extraBottomSpacing.value,\n 'b-action-bar--confirmation': isConfirmationVariant.value,\n }));\n\n // Provide POPOVER_OFFSET_INJECTION_KEY to change the value of the popover offset\n provide(POPOVER_OFFSET_INJECTION_KEY, MENU_OFFSET);\n\n // Manipulate actions array to display as intended\n const actionsInternal = computed(() => {\n // All buttons should be of type secondary in the action bar\n const actions = props.actions.map(action => ({\n ...action,\n variant: 'secondary',\n })) as BentoButtonActionsList;\n // Shown actions should display from left to right in action bar, instead of right to left which is the button actions default\n const shownActions = actions.slice(0, internalDisplayedActions.value).reverse();\n const hiddenActions = actions.slice(internalDisplayedActions.value);\n\n return [...shownActions, ...hiddenActions];\n });\n\n const confirmationActions = computed<BentoButtonActionsList>(() => [\n {\n title: t('save'),\n event: () => emit('save'),\n },\n {\n title: t('cancel'),\n variant: 'secondary',\n event: () => emit('cancel'),\n },\n ]);\n\n // Recursive functions to determine how many actions should be visible/hidden based on the screens width\n const showActions = async () => {\n await nextTick();\n if (\n width.value > actionBar.value.clientWidth + SPACING + AVERAGE_BUTTON_SIZE &&\n internalDisplayedActions.value < internalVisibleActions.value\n ) {\n internalDisplayedActions.value += 1;\n showActions();\n }\n };\n\n const hideActions = async () => {\n await nextTick();\n if (width.value < actionBar.value.clientWidth + SPACING && internalDisplayedActions.value > 0) {\n internalDisplayedActions.value -= 1;\n hideActions();\n }\n };\n\n // Screen width watcher to toggle hidden/visible actions\n watch(\n () => width.value,\n async (newValue, oldValue) => {\n await nextTick();\n if (!actionBar.value) {\n return;\n }\n const isIncreasing = newValue > oldValue;\n if (width.value < RESPONSIVE_BREAKPOINT) {\n internalDisplayedActions.value = 0;\n } else if (isIncreasing) {\n showActions();\n } else {\n hideActions();\n }\n },\n { immediate: true }\n );\n</script>\n\n<script lang=\"ts\">\n /**\n * Action bar is a floating bar that provides users with quick access to key actions that can be applied to one or multiple items.\n *\n * @example\n * import { BentoActionBar } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoActionBar },\n * template: `\n * <bento-action-bar\n * :actions='[\n * {\n * title: 'Delete',\n * critical: true,\n * icon: BinIcon,\n * event: () => true,\n * },\n * {\n * title: 'Edit',\n * icon: EditIcon,\n * event: () => true,\n * }\n * ]'\n * @close=\"closeAction\"\n * :item-counter=\"5\"\n * />\n * `\n * }\n */\n export default {\n i18n: { messages },\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./action-bar.scss\" />\n"],"names":["__default__","messages","AVERAGE_BUTTON_SIZE","MENU_OFFSET","RESPONSIVE_BREAKPOINT","SPACING","t","tc","useI18n","label","computed","props","actionBar","ref","extraBottomSpacing","visibleActions","toRefs","width","useWindowSize","internalDisplayedActions","internalVisibleActions","isConfirmationVariant","watch","value","conditionalClasses","provide","POPOVER_OFFSET_INJECTION_KEY","actionsInternal","actions","action","shownActions","hiddenActions","confirmationActions","emit","showActions","nextTick","hideActions","newValue","oldValue","isIncreasing"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;GAqPIA,KAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAEf;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAtMAC,IAAA,KACAC,IAAA,GACAC,IAAA,KACAC,IAAA,IAkEA,EAAA,GAAAC,GAAA,IAAAC,EAAA,IAAAC,EAAA,EAAA,UAAAP,EAAA,CAAA,GACAQ,IAAAC,EAAA,MAAAC,EAAA,iBAAAA,EAAA,iBAAAL,EAAA,UAAA,CAAA,GAGAM,IAAAC,EAAA,IAAA,GACA,EAAA,oBAAAC,GAAA,gBAAAC,EAAA,IAAAC,EAAAL,CAAA,GACA,EAAA,OAAAM,EAAA,IAAAC,EAAA,GACAC,IAAAN,EAAA,IAAA,GACAO,IAAAP,EAAA,IAAA,GAEAQ,IAAAX,EAAA,MAAAC,EAAA,YAAA,cAAA;AAEA,IAAAW;AAAA,MAAA,MAAAP,EAAA;AAAA,MACyB,CAAAQ,MAAA;AAEjB,QAAAH,EAAA,QAAAG,KAAA,IAAAA,IAAA,GACAJ,EAAA,QAAAC,EAAA;AAAA,MAAwD;AAAA,MAC5D,EAAA,WAAA,GAAA;AAAA,IACkB;AAItB,UAAAI,IAAAd,EAAA,OAAA;AAAA,MAA2C,+BAAAI,EAAA;AAAA,MACW,8BAAAO,EAAA;AAAA,IACE,EAAA;AAIxD,IAAAI,EAAAC,GAAAvB,CAAA;AAGA,UAAAwB,IAAAjB,EAAA,MAAA;AAEI,YAAAkB,IAAAjB,EAAA,QAAA,IAAA,CAAAkB,OAAA;AAAA,QAA6C,GAAAA;AAAA,QACtC,SAAA;AAAA,MACM,EAAA,GAGbC,IAAAF,EAAA,MAAA,GAAAT,EAAA,KAAA,EAAA,QAAA,GACAY,IAAAH,EAAA,MAAAT,EAAA,KAAA;AAEA,aAAA,CAAA,GAAAW,GAAA,GAAAC,CAAA;AAAA,IAAyC,CAAA,GAG7CC,IAAAtB,EAAA,MAAA;AAAA,MAAmE;AAAA,QAC/D,OAAAJ,EAAA,MAAA;AAAA,QACmB,OAAA,MAAA2B,EAAA,MAAA;AAAA,MACS;AAAA,MAC5B;AAAA,QACA,OAAA3B,EAAA,QAAA;AAAA,QACqB,SAAA;AAAA,QACR,OAAA,MAAA2B,EAAA,QAAA;AAAA,MACiB;AAAA,IAC9B,CAAA,GAIJC,IAAA,YAAA;AACI,YAAAC,EAAA,GACAlB,EAAA,QAAAL,EAAA,MAAA,cAAAP,IAAAH,KAAAiB,EAAA,QAAAC,EAAA,UAIID,EAAA,SAAA,GACAe,EAAA;AAAA,IACJ,GAGJE,IAAA,YAAA;AACI,YAAAD,EAAA,GACAlB,EAAA,QAAAL,EAAA,MAAA,cAAAP,KAAAc,EAAA,QAAA,MACIA,EAAA,SAAA,GACAiB,EAAA;AAAA,IACJ;AAIJ,WAAAd;AAAA,MAAA,MAAAL,EAAA;AAAA,MACgB,OAAAoB,GAAAC,MAAA;AAGR,YADA,MAAAH,EAAA,GACA,CAAAvB,EAAA;AACI;AAEJ,cAAA2B,IAAAF,IAAAC;AACA,QAAArB,EAAA,QAAAb,IACIe,EAAA,QAAA,IAAiCoB,IAEjCL,EAAA,IAEAE,EAAA;AAAA,MACJ;AAAA,MACJ,EAAA,WAAA,GAAA;AAAA,IACkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
1
|
+
{"version":3,"file":"action-bar.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|