@adyen/bento-vue3 1.34.0 → 1.35.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/code-snippet/code-snippet.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-avatar-filter/select-avatar-filter.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-country-filter/select-country-filter.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-currency-filter/select-currency-filter.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-payment-method-filter/select-payment-method-filter.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/variants/select-tag-filter/select-tag-filter.vue.d.ts +7 -7
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/utils/ts/get-date-locale/get-date-locale.d.ts +11 -0
- package/dist/accordion.js +1 -1
- package/dist/action-bar.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/alert.css +1 -1
- package/dist/assets/avatar.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/calendar.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/checkbox-input.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/code-snippet.css +1 -1
- package/dist/assets/copy.css +1 -1
- package/dist/assets/currency.css +1 -0
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/date-range-picker.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/error-message.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/header.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/loading-button.css +1 -1
- package/dist/assets/menu.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/pagination.css +1 -1
- package/dist/assets/popover.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/step.css +1 -1
- package/dist/assets/structured-list-item.css +1 -1
- package/dist/assets/timeline-item.css +1 -1
- package/dist/assets/tutorial.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/avatar.js +1 -1
- package/dist/button.js +2 -2
- package/dist/card.js +1 -1
- package/dist/checkbox.js +3 -3
- package/dist/chunks/accordion-item.4Cnn47v_.js +142 -0
- package/dist/chunks/accordion-item.4Cnn47v_.js.map +1 -0
- package/dist/chunks/{action-bar.DGQYYi8b.js → action-bar.BYMas_1s.js} +58 -44
- package/dist/chunks/{action-bar.DGQYYi8b.js.map → action-bar.BYMas_1s.js.map} +1 -1
- package/dist/chunks/{alert.Bz4tNKDH.js → alert.B_GZON9f.js} +30 -23
- package/dist/chunks/alert.B_GZON9f.js.map +1 -0
- package/dist/chunks/{avatar.mNlMngHQ.js → avatar.8erKxh8t.js} +13 -13
- package/dist/chunks/avatar.8erKxh8t.js.map +1 -0
- package/dist/chunks/{base-modal.Bl7DBkt0.js → base-modal.BbiSFAn1.js} +37 -31
- package/dist/chunks/{base-modal.Bl7DBkt0.js.map → base-modal.BbiSFAn1.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.BLmcwr2f.js → button-actions-with-menu.0ypQxYbM.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.BLmcwr2f.js.map → button-actions-with-menu.0ypQxYbM.js.map} +1 -1
- package/dist/chunks/{button-actions.hdK5IgrZ.js → button-actions.DcvU9vMt.js} +2 -2
- package/dist/chunks/{button-actions.hdK5IgrZ.js.map → button-actions.DcvU9vMt.js.map} +1 -1
- package/dist/chunks/{calendar.D--sOCBT.js → calendar.BPatBsD5.js} +148 -148
- package/dist/chunks/calendar.BPatBsD5.js.map +1 -0
- package/dist/chunks/{card.BvSoujBc.js → card.B7AyQI7f.js} +46 -38
- package/dist/chunks/card.B7AyQI7f.js.map +1 -0
- package/dist/chunks/{checkbox-group.CuLP3hPd.js → checkbox-group.BJM2i93S.js} +4 -4
- package/dist/chunks/{checkbox-group.CuLP3hPd.js.map → checkbox-group.BJM2i93S.js.map} +1 -1
- package/dist/chunks/{checkbox-input.JdcvpfTa.js → checkbox-input.YgPBRaZP.js} +12 -11
- package/dist/chunks/checkbox-input.YgPBRaZP.js.map +1 -0
- package/dist/chunks/{checkbox.DMMXn-h8.js → checkbox.BnYx06nC.js} +50 -40
- package/dist/chunks/{checkbox.DMMXn-h8.js.map → checkbox.BnYx06nC.js.map} +1 -1
- package/dist/chunks/{checkmark-circle-fill.ChV7Jy6r.js → checkmark-circle-fill.Bgdq29pu.js} +4 -4
- package/dist/chunks/checkmark-circle-fill.Bgdq29pu.js.map +1 -0
- package/dist/chunks/{checkmark-small.DEc2T64_.js → checkmark-small.4DMun1A_.js} +4 -4
- package/dist/chunks/checkmark-small.4DMun1A_.js.map +1 -0
- package/dist/chunks/{chevron-left.NvV5m76j.js → chevron-left.ChbQxOxi.js} +6 -6
- package/dist/chunks/chevron-left.ChbQxOxi.js.map +1 -0
- package/dist/chunks/{chevron-up.DQZG_BP3.js → chevron-up.zKonWHVc.js} +6 -6
- package/dist/chunks/chevron-up.zKonWHVc.js.map +1 -0
- package/dist/chunks/{code-snippet.BWM5w4CP.js → code-snippet.1duYqiRx.js} +98 -89
- package/dist/chunks/code-snippet.1duYqiRx.js.map +1 -0
- package/dist/chunks/{controls-group.BnZVHgQK.js → controls-group.DmroeX6Q.js} +2 -2
- package/dist/chunks/{controls-group.BnZVHgQK.js.map → controls-group.DmroeX6Q.js.map} +1 -1
- package/dist/chunks/{copy.h-wVGvID.js → copy.5y12_05v.js} +29 -20
- package/dist/chunks/copy.5y12_05v.js.map +1 -0
- package/dist/chunks/{cross-circle-fill-small.BXO78Wde.js → cross-circle-fill-small.2_Xjp4id.js} +4 -4
- package/dist/chunks/cross-circle-fill-small.2_Xjp4id.js.map +1 -0
- package/dist/chunks/{cross-circle-fill.DN5b3_eL.js → cross-circle-fill.CEUPgI5F.js} +4 -4
- package/dist/chunks/cross-circle-fill.CEUPgI5F.js.map +1 -0
- package/dist/chunks/{cross-small.CXWTuKA_.js → cross-small.DvCEQd10.js} +4 -4
- package/dist/chunks/cross-small.DvCEQd10.js.map +1 -0
- package/dist/chunks/{cross.OvPfvoqX.js → cross.CowwLfo4.js} +4 -4
- package/dist/chunks/cross.CowwLfo4.js.map +1 -0
- package/dist/chunks/{currency.CFJy6QYU.js → currency.BdtY-UIM.js} +3 -2
- package/dist/chunks/{currency.CFJy6QYU.js.map → currency.BdtY-UIM.js.map} +1 -1
- package/dist/chunks/{dashboard-section.BIH2wzgk.js → dashboard-section.BDkYN89r.js} +3 -3
- package/dist/chunks/{dashboard-section.BIH2wzgk.js.map → dashboard-section.BDkYN89r.js.map} +1 -1
- package/dist/chunks/{dashed-underline.CFJdLuJp.js → dashed-underline.CMKbg0Fq.js} +2 -2
- package/dist/chunks/{dashed-underline.CFJdLuJp.js.map → dashed-underline.CMKbg0Fq.js.map} +1 -1
- package/dist/chunks/{data-grid-template.21gqdYrs.js → data-grid-template.CydHXTmg.js} +3 -3
- package/dist/chunks/{data-grid-template.21gqdYrs.js.map → data-grid-template.CydHXTmg.js.map} +1 -1
- package/dist/chunks/{data-grid.DUwLxtW_.js → data-grid.CcGMljDl.js} +585 -538
- package/dist/chunks/data-grid.CcGMljDl.js.map +1 -0
- package/dist/chunks/{date-picker.21z_Sw4V.js → date-picker.BsXcXOgl.js} +99 -91
- package/dist/chunks/date-picker.BsXcXOgl.js.map +1 -0
- package/dist/chunks/{date-range-picker.K2TeW8aX.js → date-range-picker.BFm6Udzx.js} +338 -316
- package/dist/chunks/date-range-picker.BFm6Udzx.js.map +1 -0
- package/dist/chunks/{date.D8rQMzMG.js → date.CYUV4seY.js} +92 -92
- package/dist/chunks/{date.D8rQMzMG.js.map → date.CYUV4seY.js.map} +1 -1
- package/dist/chunks/{dialog-page.DALFn9KR.js → dialog-page.CjKMgUlz.js} +4 -3
- package/dist/chunks/dialog-page.CjKMgUlz.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.Bu4bpNGU.js → dropdown-default-textbox.BopLaEkG.js} +4 -4
- package/dist/chunks/{dropdown-default-textbox.Bu4bpNGU.js.map → dropdown-default-textbox.BopLaEkG.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.BNJnscD2.js → dropdown-tag.x3n5-YkA.js} +3 -3
- package/dist/chunks/{dropdown-tag.BNJnscD2.js.map → dropdown-tag.x3n5-YkA.js.map} +1 -1
- package/dist/chunks/{dropdown.ex87AZ7s.js → dropdown.BxvydNp0.js} +214 -194
- package/dist/chunks/dropdown.BxvydNp0.js.map +1 -0
- package/dist/chunks/{error-message.D2Y99KjT.js → error-message.CUZgtlDT.js} +44 -30
- package/dist/chunks/{error-message.D2Y99KjT.js.map → error-message.CUZgtlDT.js.map} +1 -1
- package/dist/chunks/es6.BvpG4Oi6.js.map +1 -1
- package/dist/chunks/{expand.CgwNEbbz.js → expand.B5tyMqaF.js} +4 -4
- package/dist/chunks/expand.B5tyMqaF.js.map +1 -0
- package/dist/chunks/{filter-bar.BAmG-yML.js → filter-bar.re1Tqyai.js} +728 -712
- package/dist/chunks/filter-bar.re1Tqyai.js.map +1 -0
- package/dist/chunks/{fixed-scroller.DwYB1pqo.js → fixed-scroller.Co0y0kWZ.js} +2 -2
- package/dist/chunks/{fixed-scroller.DwYB1pqo.js.map → fixed-scroller.Co0y0kWZ.js.map} +1 -1
- package/dist/chunks/{footer-actions.gtxofUAa.js → footer-actions.M83ZEElA.js} +2 -2
- package/dist/chunks/{footer-actions.gtxofUAa.js.map → footer-actions.M83ZEElA.js.map} +1 -1
- package/dist/chunks/{form-layout-title.Boi0QQZL.js → form-layout-title.ATi1W9uG.js} +2 -2
- package/dist/chunks/{form-layout-title.Boi0QQZL.js.map → form-layout-title.ATi1W9uG.js.map} +1 -1
- package/dist/chunks/{index.B_UZQ6qF.js → get-date-locale.BN8xEjY0.js} +855 -204
- package/dist/chunks/get-date-locale.BN8xEjY0.js.map +1 -0
- package/dist/chunks/{header.BMYhkrGT.js → header.CrNceSOd.js} +104 -98
- package/dist/chunks/{header.BMYhkrGT.js.map → header.CrNceSOd.js.map} +1 -1
- package/dist/chunks/{index.Z84QE0E2.js → index.CrhTVr5J.js} +2 -2
- package/dist/chunks/{index.Z84QE0E2.js.map → index.CrhTVr5J.js.map} +1 -1
- package/dist/chunks/{index.xqFSZOAb.js → index.DDnf1O9p.js} +2 -2
- package/dist/chunks/{index.xqFSZOAb.js.map → index.DDnf1O9p.js.map} +1 -1
- package/dist/chunks/{index.B_EJflcs.js → index.DPafeRJa.js} +2 -2
- package/dist/chunks/{index.B_EJflcs.js.map → index.DPafeRJa.js.map} +1 -1
- package/dist/chunks/{info-icon.DIu8FeJC.js → info-icon.CBiqUH3L.js} +2 -2
- package/dist/chunks/{info-icon.DIu8FeJC.js.map → info-icon.CBiqUH3L.js.map} +1 -1
- package/dist/chunks/{info.CIFBUqf-.js → info.D6XuLsYR.js} +4 -4
- package/dist/chunks/{info.CIFBUqf-.js.map → info.D6XuLsYR.js.map} +1 -1
- package/dist/chunks/{input-field.Dely7A8G.js → input-field.foJTqE5i.js} +3 -3
- package/dist/chunks/{input-field.Dely7A8G.js.map → input-field.foJTqE5i.js.map} +1 -1
- package/dist/chunks/{inspector.types.t2SPyhw3.js → inspector.types.X_7VgZmS.js} +44 -36
- package/dist/chunks/{inspector.types.t2SPyhw3.js.map → inspector.types.X_7VgZmS.js.map} +1 -1
- package/dist/chunks/link.2YS7haGc.js.map +1 -1
- package/dist/chunks/loading-button.BU536EK4.js +137 -0
- package/dist/chunks/loading-button.BU536EK4.js.map +1 -0
- package/dist/chunks/{menu.CLicp_2I.js → menu.CI4R2iw1.js} +6 -5
- package/dist/chunks/menu.CI4R2iw1.js.map +1 -0
- package/dist/chunks/{modal-fullscreen.Caqa7dDp.js → modal-fullscreen.B4sPrlfq.js} +37 -31
- package/dist/chunks/{modal-fullscreen.Caqa7dDp.js.map → modal-fullscreen.B4sPrlfq.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.Dzmth-oW.js → modal.vue_vue_type_script_setup_true_lang.DuNQ8N4W.js} +31 -25
- package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.DuNQ8N4W.js.map +1 -0
- package/dist/chunks/{pagination.I5w8bpUS.js → pagination.-1ibfp5g.js} +5 -4
- package/dist/chunks/pagination.-1ibfp5g.js.map +1 -0
- package/dist/chunks/{popover.DQP3ce2x.js → popover.BN52L17t.js} +3 -3
- package/dist/chunks/{popover.DQP3ce2x.js.map → popover.BN52L17t.js.map} +1 -1
- package/dist/chunks/{radio-group.lOSBHghv.js → radio-group.RLUDLHPT.js} +3 -3
- package/dist/chunks/{radio-group.lOSBHghv.js.map → radio-group.RLUDLHPT.js.map} +1 -1
- package/dist/chunks/{refresh.DvQeGwUF.js → refresh.DPE_95xY.js} +4 -4
- package/dist/chunks/refresh.DPE_95xY.js.map +1 -0
- package/dist/chunks/{search-bar.GCRTgBUA.js → search-bar.CCWTGvJ6.js} +50 -42
- package/dist/chunks/{search-bar.GCRTgBUA.js.map → search-bar.CCWTGvJ6.js.map} +1 -1
- package/dist/chunks/{search.EnLryD8V.js → search.DJr0124y.js} +4 -4
- package/dist/chunks/{search.EnLryD8V.js.map → search.DJr0124y.js.map} +1 -1
- package/dist/chunks/{secondary-nav.CGH_6m7u.js → secondary-nav.D81GEGuc.js} +2 -2
- package/dist/chunks/{secondary-nav.CGH_6m7u.js.map → secondary-nav.D81GEGuc.js.map} +1 -1
- package/dist/chunks/{selection-card-group.BdTuPhEm.js → selection-card-group.3OexUu8G.js} +4 -4
- package/dist/chunks/{selection-card-group.BdTuPhEm.js.map → selection-card-group.3OexUu8G.js.map} +1 -1
- package/dist/chunks/{sidepanel.DA8nQepj.js → sidepanel.iEewXNIJ.js} +38 -32
- package/dist/chunks/{sidepanel.DA8nQepj.js.map → sidepanel.iEewXNIJ.js.map} +1 -1
- package/dist/chunks/{step.ClnCjesW.js → step.CyvTQbAk.js} +29 -28
- package/dist/chunks/step.CyvTQbAk.js.map +1 -0
- package/dist/chunks/{structured-list-item.Z-1ivOFu.js → structured-list-item.DZvCfZuG.js} +36 -30
- package/dist/chunks/{structured-list-item.Z-1ivOFu.js.map → structured-list-item.DZvCfZuG.js.map} +1 -1
- package/dist/chunks/{summary-grid-item-custom.Dq3IIEvH.js → summary-grid-item-custom.BRXtpB7y.js} +3 -3
- package/dist/chunks/{summary-grid-item-custom.Dq3IIEvH.js.map → summary-grid-item-custom.BRXtpB7y.js.map} +1 -1
- package/dist/chunks/{tabs.xY_6yqmE.js → tabs.BUPiNLbZ.js} +2 -2
- package/dist/chunks/{tabs.xY_6yqmE.js.map → tabs.BUPiNLbZ.js.map} +1 -1
- package/dist/chunks/{textarea.kYFGQFwd.js → textarea.Bk8-ivBT.js} +3 -3
- package/dist/chunks/{textarea.kYFGQFwd.js.map → textarea.Bk8-ivBT.js.map} +1 -1
- package/dist/chunks/{timeline-item.D-Yy2qQr.js → timeline-item.USmzRWfs.js} +84 -77
- package/dist/chunks/timeline-item.USmzRWfs.js.map +1 -0
- package/dist/chunks/{toast.CIVPmwmU.js → toast.BwPhzM1x.js} +2 -2
- package/dist/chunks/{toast.CIVPmwmU.js.map → toast.BwPhzM1x.js.map} +1 -1
- package/dist/chunks/{toggle.8t4flh_3.js → toggle.PLkyyLr1.js} +2 -2
- package/dist/chunks/{toggle.8t4flh_3.js.map → toggle.PLkyyLr1.js.map} +1 -1
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.D-ZFDn95.js → tutorial.vue_vue_type_script_setup_true_lang.CoFRoKtq.js} +85 -72
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.CoFRoKtq.js.map +1 -0
- package/dist/chunks/{use-cached-selected-values.ClVxNmUf.js → use-cached-selected-values.DditZmZy.js} +92 -77
- package/dist/chunks/use-cached-selected-values.DditZmZy.js.map +1 -0
- package/dist/chunks/{warning-filled.Dm_HhqzW.js → warning-filled.CKoabS8f.js} +4 -4
- package/dist/chunks/{warning-filled.Dm_HhqzW.js.map → warning-filled.CKoabS8f.js.map} +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/currency.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +2 -2
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/dropdown.js +4 -4
- package/dist/filter-bar.js +1 -1
- package/dist/form-layout.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +50 -50
- package/dist/info-icon.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/inspector.js +1 -1
- package/dist/internal.js +7 -7
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/pagination.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/stepper.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento.css +3 -0
- package/dist/styles/legacy.css +3 -0
- package/dist/styles/styleguide.css +3 -0
- package/dist/summary-grid.js +1 -1
- package/dist/tabs.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/toast.js +1 -1
- package/dist/toggle.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +4 -4
- package/dist/chunks/accordion-item.CQ8DLt9l.js +0 -126
- package/dist/chunks/accordion-item.CQ8DLt9l.js.map +0 -1
- package/dist/chunks/alert.Bz4tNKDH.js.map +0 -1
- package/dist/chunks/avatar.mNlMngHQ.js.map +0 -1
- package/dist/chunks/calendar.D--sOCBT.js.map +0 -1
- package/dist/chunks/card.BvSoujBc.js.map +0 -1
- package/dist/chunks/checkbox-input.JdcvpfTa.js.map +0 -1
- package/dist/chunks/checkmark-circle-fill.ChV7Jy6r.js.map +0 -1
- package/dist/chunks/checkmark-small.DEc2T64_.js.map +0 -1
- package/dist/chunks/chevron-left.NvV5m76j.js.map +0 -1
- package/dist/chunks/chevron-up.DQZG_BP3.js.map +0 -1
- package/dist/chunks/code-snippet.BWM5w4CP.js.map +0 -1
- package/dist/chunks/copy.h-wVGvID.js.map +0 -1
- package/dist/chunks/cross-circle-fill-small.BXO78Wde.js.map +0 -1
- package/dist/chunks/cross-circle-fill.DN5b3_eL.js.map +0 -1
- package/dist/chunks/cross-small.CXWTuKA_.js.map +0 -1
- package/dist/chunks/cross.OvPfvoqX.js.map +0 -1
- package/dist/chunks/data-grid.DUwLxtW_.js.map +0 -1
- package/dist/chunks/date-picker.21z_Sw4V.js.map +0 -1
- package/dist/chunks/date-range-picker.K2TeW8aX.js.map +0 -1
- package/dist/chunks/dialog-page.DALFn9KR.js.map +0 -1
- package/dist/chunks/dropdown.ex87AZ7s.js.map +0 -1
- package/dist/chunks/expand.CgwNEbbz.js.map +0 -1
- package/dist/chunks/filter-bar.BAmG-yML.js.map +0 -1
- package/dist/chunks/index.B_UZQ6qF.js.map +0 -1
- package/dist/chunks/loading-button.Mx-oDIGy.js +0 -123
- package/dist/chunks/loading-button.Mx-oDIGy.js.map +0 -1
- package/dist/chunks/menu.CLicp_2I.js.map +0 -1
- package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.Dzmth-oW.js.map +0 -1
- package/dist/chunks/pagination.I5w8bpUS.js.map +0 -1
- package/dist/chunks/refresh.DvQeGwUF.js.map +0 -1
- package/dist/chunks/step.ClnCjesW.js.map +0 -1
- package/dist/chunks/timeline-item.D-Yy2qQr.js.map +0 -1
- package/dist/chunks/tutorial.vue_vue_type_script_setup_true_lang.D-ZFDn95.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.ClVxNmUf.js.map +0 -1
- /package/dist/assets/{cross.css → main.css} +0 -0
package/dist/index.js
CHANGED
|
@@ -3,79 +3,79 @@ import { t as f, c as x } from "./chunks/use-bento-toast-controller.BDYlxAYq.js"
|
|
|
3
3
|
import { u as P } from "./chunks/use-bento-toast-controller.BDYlxAYq.js";
|
|
4
4
|
import { d as g } from "./chunks/typography.z9P0Ec3Q.js";
|
|
5
5
|
import { B as k, c as w, b as G, a as M } from "./chunks/typography.z9P0Ec3Q.js";
|
|
6
|
-
import { B as O } from "./chunks/action-bar.
|
|
7
|
-
import { a as j, b as z } from "./chunks/accordion-item.
|
|
8
|
-
import { B as K, c as U, b as _, a as Z } from "./chunks/alert.
|
|
9
|
-
import { B as Y } from "./chunks/avatar.
|
|
6
|
+
import { B as O } from "./chunks/action-bar.BYMas_1s.js";
|
|
7
|
+
import { a as j, b as z } from "./chunks/accordion-item.4Cnn47v_.js";
|
|
8
|
+
import { B as K, c as U, b as _, a as Z } from "./chunks/alert.B_GZON9f.js";
|
|
9
|
+
import { B as Y } from "./chunks/avatar.8erKxh8t.js";
|
|
10
10
|
import { B as q, b as J, a as Q } from "./chunks/button.Br6CyG40.js";
|
|
11
|
-
import { c as $, B as ee, a as te } from "./chunks/card.
|
|
12
|
-
import { d as ae } from "./chunks/dashed-underline.
|
|
13
|
-
import { B as re, d as se, a as Be, f as ie, e as pe, c as me, b as de } from "./chunks/data-grid.
|
|
14
|
-
import { B as le, a as ce } from "./chunks/date-picker.
|
|
15
|
-
import { B as xe, a as ge } from "./chunks/date-range-picker.
|
|
16
|
-
import { B as Se, u as be } from "./chunks/dropdown.
|
|
17
|
-
import { B as Te } from "./chunks/dropdown-default-textbox.
|
|
11
|
+
import { c as $, B as ee, a as te } from "./chunks/card.B7AyQI7f.js";
|
|
12
|
+
import { d as ae } from "./chunks/dashed-underline.CMKbg0Fq.js";
|
|
13
|
+
import { B as re, d as se, a as Be, f as ie, e as pe, c as me, b as de } from "./chunks/data-grid.CcGMljDl.js";
|
|
14
|
+
import { B as le, a as ce } from "./chunks/date-picker.BsXcXOgl.js";
|
|
15
|
+
import { B as xe, a as ge } from "./chunks/date-range-picker.BFm6Udzx.js";
|
|
16
|
+
import { B as Se, u as be } from "./chunks/dropdown.BxvydNp0.js";
|
|
17
|
+
import { B as Te } from "./chunks/dropdown-default-textbox.BopLaEkG.js";
|
|
18
18
|
import { B as De } from "./chunks/divider.ugNXYI-T.js";
|
|
19
|
-
import { B as Ie, a as Ee } from "./chunks/checkbox.
|
|
19
|
+
import { B as Ie, a as Ee } from "./chunks/checkbox.BnYx06nC.js";
|
|
20
20
|
import { B as Le } from "./chunks/click-outside.DSszkIvs.js";
|
|
21
|
-
import { c as Ve, b as ke, a as we, B as Ge } from "./chunks/code-snippet.
|
|
21
|
+
import { c as Ve, b as ke, a as we, B as Ge } from "./chunks/code-snippet.1duYqiRx.js";
|
|
22
22
|
import { c as Ae } from "./chunks/country.CVI-oSer.js";
|
|
23
23
|
import { a as Re, B as je, u as ze, b as Ne, c as Ke } from "./chunks/country.types.Br0AjxGy.js";
|
|
24
|
-
import { c as _e, B as Ze } from "./chunks/currency.
|
|
25
|
-
import { B as Ye, a as He } from "./chunks/date.
|
|
24
|
+
import { c as _e, B as Ze } from "./chunks/currency.BdtY-UIM.js";
|
|
25
|
+
import { B as Ye, a as He } from "./chunks/date.CYUV4seY.js";
|
|
26
26
|
import { B as Je, b as Qe, c as Xe, a as $e } from "./chunks/empty-state.CyEWCcDk.js";
|
|
27
|
-
import { B as tt, b as ot, a as at, c as nt } from "./chunks/filter-bar.
|
|
28
|
-
import { f as st, a as Bt, c as it, b as pt } from "./chunks/form-layout-title.
|
|
27
|
+
import { B as tt, b as ot, a as at, c as nt } from "./chunks/filter-bar.re1Tqyai.js";
|
|
28
|
+
import { f as st, a as Bt, c as it, b as pt } from "./chunks/form-layout-title.ATi1W9uG.js";
|
|
29
29
|
import { B as dt, a as ut, b as lt } from "./chunks/image.0KzfycGE.js";
|
|
30
|
-
import { B as ft } from "./chunks/info-icon.
|
|
31
|
-
import { i as gt, B as yt } from "./chunks/inspector.types.
|
|
32
|
-
import { B as bt, b as Ct, e as Tt, c as vt, d as Dt, a as ht } from "./chunks/input-field.
|
|
30
|
+
import { B as ft } from "./chunks/info-icon.CBiqUH3L.js";
|
|
31
|
+
import { i as gt, B as yt } from "./chunks/inspector.types.X_7VgZmS.js";
|
|
32
|
+
import { B as bt, b as Ct, e as Tt, c as vt, d as Dt, a as ht } from "./chunks/input-field.foJTqE5i.js";
|
|
33
33
|
import { B as Et, a as Ft } from "./chunks/loading-indicator.BFMEf39U.js";
|
|
34
34
|
import { B as Pt, a as Vt } from "./chunks/link.2YS7haGc.js";
|
|
35
|
-
import { B as wt, a as Gt } from "./chunks/menu.
|
|
36
|
-
import { d as At, f as Ot, g as Rt, B as jt, e as zt, c as Nt, a as Kt, b as Ut } from "./chunks/base-modal.
|
|
37
|
-
import { m as Zt, B as Wt } from "./chunks/modal-fullscreen.
|
|
38
|
-
import { B as Ht } from "./chunks/header.
|
|
39
|
-
import { B as Jt } from "./chunks/pagination.
|
|
35
|
+
import { B as wt, a as Gt } from "./chunks/menu.CI4R2iw1.js";
|
|
36
|
+
import { d as At, f as Ot, g as Rt, B as jt, e as zt, c as Nt, a as Kt, b as Ut } from "./chunks/base-modal.BbiSFAn1.js";
|
|
37
|
+
import { m as Zt, B as Wt } from "./chunks/modal-fullscreen.B4sPrlfq.js";
|
|
38
|
+
import { B as Ht } from "./chunks/header.CrNceSOd.js";
|
|
39
|
+
import { B as Jt } from "./chunks/pagination.-1ibfp5g.js";
|
|
40
40
|
import { B as Xt } from "./chunks/payment-method.-3VYG5ud.js";
|
|
41
41
|
import { B as eo } from "./chunks/payment-method.types.CJKfZQN5.js";
|
|
42
|
-
import { B as oo, a as ao } from "./chunks/popover.
|
|
43
|
-
import { b as ro, B as so, a as Bo } from "./chunks/radio-group.
|
|
44
|
-
import { B as po, b as mo, a as uo } from "./chunks/search-bar.
|
|
45
|
-
import { s as co } from "./chunks/secondary-nav.
|
|
42
|
+
import { B as oo, a as ao } from "./chunks/popover.BN52L17t.js";
|
|
43
|
+
import { b as ro, B as so, a as Bo } from "./chunks/radio-group.RLUDLHPT.js";
|
|
44
|
+
import { B as po, b as mo, a as uo } from "./chunks/search-bar.CCWTGvJ6.js";
|
|
45
|
+
import { s as co } from "./chunks/secondary-nav.D81GEGuc.js";
|
|
46
46
|
import { B as xo } from "./chunks/segmented-control.DbR5NYWR.js";
|
|
47
47
|
import { B as yo } from "./chunks/segmented-control.types.BHRLV8KU.js";
|
|
48
|
-
import { B as bo, s as Co, a as To } from "./chunks/selection-card-group.
|
|
49
|
-
import { a as Do, B as ho, s as Io } from "./chunks/sidepanel.
|
|
48
|
+
import { B as bo, s as Co, a as To } from "./chunks/selection-card-group.3OexUu8G.js";
|
|
49
|
+
import { a as Do, B as ho, s as Io } from "./chunks/sidepanel.iEewXNIJ.js";
|
|
50
50
|
import { s as Fo, B as Lo } from "./chunks/status.types.r9TfZmvE.js";
|
|
51
|
-
import { a as Vo, s as ko, B as wo, b as Go } from "./chunks/step.
|
|
52
|
-
import { B as Ao, a as Oo } from "./chunks/structured-list-item.
|
|
53
|
-
import { s as jo, a as zo, e as No, b as Ko, c as Uo, B as _o, d as Zo, f as Wo } from "./chunks/summary-grid-item-custom.
|
|
54
|
-
import { B as Ho, a as qo } from "./chunks/tabs.
|
|
51
|
+
import { a as Vo, s as ko, B as wo, b as Go } from "./chunks/step.CyvTQbAk.js";
|
|
52
|
+
import { B as Ao, a as Oo } from "./chunks/structured-list-item.DZvCfZuG.js";
|
|
53
|
+
import { s as jo, a as zo, e as No, b as Ko, c as Uo, B as _o, d as Zo, f as Wo } from "./chunks/summary-grid-item-custom.BRXtpB7y.js";
|
|
54
|
+
import { B as Ho, a as qo } from "./chunks/tabs.BUPiNLbZ.js";
|
|
55
55
|
import { B as Qo, a as Xo } from "./chunks/tag.RYw4OhWk.js";
|
|
56
|
-
import { B as ea } from "./chunks/textarea.
|
|
57
|
-
import { t as oa, b as aa, a as na, c as ra, B as sa, d as Ba } from "./chunks/timeline-item.
|
|
58
|
-
import { t as pa } from "./chunks/toast.
|
|
59
|
-
import { B as da, b as ua, a as la } from "./chunks/toggle.
|
|
56
|
+
import { B as ea } from "./chunks/textarea.Bk8-ivBT.js";
|
|
57
|
+
import { t as oa, b as aa, a as na, c as ra, B as sa, d as Ba } from "./chunks/timeline-item.USmzRWfs.js";
|
|
58
|
+
import { t as pa } from "./chunks/toast.BwPhzM1x.js";
|
|
59
|
+
import { B as da, b as ua, a as la } from "./chunks/toggle.PLkyyLr1.js";
|
|
60
60
|
import * as n from "zod";
|
|
61
61
|
import { u as fa } from "./chunks/use-click-outside.D6aIgS15.js";
|
|
62
|
-
import { a as ga, d as ya } from "./chunks/dashboard-section.
|
|
63
|
-
import { d as ba } from "./chunks/data-grid-template.
|
|
62
|
+
import { a as ga, d as ya } from "./chunks/dashboard-section.BDkYN89r.js";
|
|
63
|
+
import { d as ba } from "./chunks/data-grid-template.CydHXTmg.js";
|
|
64
64
|
import { D as Ta } from "./chunks/date-input.BqBdAO1E.js";
|
|
65
65
|
import { a as Da, B as ha } from "./chunks/keyboard-navigation.Clz1jOaA.js";
|
|
66
|
-
import { a as Ea, B as Fa, a as La, B as Pa } from "./chunks/use-cached-selected-values.
|
|
66
|
+
import { a as Ea, B as Fa, a as La, B as Pa } from "./chunks/use-cached-selected-values.DditZmZy.js";
|
|
67
67
|
import { B as ka } from "./chunks/directive.O3yEdalv.js";
|
|
68
68
|
import { B as Ga, a as Ma, b as Aa } from "./chunks/tooltip.DvsfWV0-.js";
|
|
69
|
-
import { B as Ra, c as ja, a as za, b as Na } from "./chunks/button-actions.
|
|
70
|
-
import { B as Ua, a as _a } from "./chunks/loading-button.
|
|
69
|
+
import { B as Ra, c as ja, a as za, b as Na } from "./chunks/button-actions.DcvU9vMt.js";
|
|
70
|
+
import { B as Ua, a as _a } from "./chunks/loading-button.BU536EK4.js";
|
|
71
71
|
import { B as Wa } from "./chunks/toggle-button.CBRd1v6x.js";
|
|
72
|
-
import { C as Ha, C as qa } from "./chunks/calendar.
|
|
73
|
-
import { _ as Qa, a as Xa, b as $a, c as en, d as tn } from "./chunks/dropdown-tag.
|
|
74
|
-
import { C as an } from "./chunks/checkbox-input.
|
|
75
|
-
import { c as rn, B as sn } from "./chunks/checkbox-group.
|
|
76
|
-
import { _ as pn } from "./chunks/modal.vue_vue_type_script_setup_true_lang.
|
|
72
|
+
import { C as Ha, C as qa } from "./chunks/calendar.BPatBsD5.js";
|
|
73
|
+
import { _ as Qa, a as Xa, b as $a, c as en, d as tn } from "./chunks/dropdown-tag.x3n5-YkA.js";
|
|
74
|
+
import { C as an } from "./chunks/checkbox-input.YgPBRaZP.js";
|
|
75
|
+
import { c as rn, B as sn } from "./chunks/checkbox-group.BJM2i93S.js";
|
|
76
|
+
import { _ as pn } from "./chunks/modal.vue_vue_type_script_setup_true_lang.DuNQ8N4W.js";
|
|
77
77
|
import { R as dn } from "./chunks/radio-input.DtvlM-mr.js";
|
|
78
|
-
import { _ as ln } from "./chunks/tutorial.vue_vue_type_script_setup_true_lang.
|
|
78
|
+
import { _ as ln } from "./chunks/tutorial.vue_vue_type_script_setup_true_lang.CoFRoKtq.js";
|
|
79
79
|
function h(e) {
|
|
80
80
|
return e;
|
|
81
81
|
}
|
package/dist/info-icon.js
CHANGED
package/dist/input-field.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as n, b as a, e as o, c as i, d as s, a as l } from "./chunks/input-field.
|
|
1
|
+
import { B as n, b as a, e as o, c as i, d as s, a as l } from "./chunks/input-field.foJTqE5i.js";
|
|
2
2
|
export {
|
|
3
3
|
n as BentoInputField,
|
|
4
4
|
a as BentoInputFieldElementPosition,
|
package/dist/inspector.js
CHANGED
package/dist/internal.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a as o, b as r, C as s } from "./chunks/calendar.
|
|
2
|
-
import { C as p, a as l } from "./chunks/copy.
|
|
3
|
-
import { C } from "./chunks/controls-group.
|
|
4
|
-
import { B as x, b as m, a as E, D as f } from "./chunks/dialog-page.
|
|
5
|
-
import { E as d, F as I } from "./chunks/error-message.
|
|
6
|
-
import { F as _ } from "./chunks/fixed-scroller.
|
|
1
|
+
import { a as o, b as r, C as s } from "./chunks/calendar.BPatBsD5.js";
|
|
2
|
+
import { C as p, a as l } from "./chunks/copy.5y12_05v.js";
|
|
3
|
+
import { C } from "./chunks/controls-group.DmroeX6Q.js";
|
|
4
|
+
import { B as x, b as m, a as E, D as f } from "./chunks/dialog-page.CjKMgUlz.js";
|
|
5
|
+
import { E as d, F as I } from "./chunks/error-message.CUZgtlDT.js";
|
|
6
|
+
import { F as _ } from "./chunks/fixed-scroller.Co0y0kWZ.js";
|
|
7
7
|
import { G as O, a as T } from "./chunks/grid-layout.CqLbbEzI.js";
|
|
8
|
-
import { b as g, c as y, u as A } from "./chunks/use-cached-selected-values.
|
|
8
|
+
import { b as g, c as y, u as A } from "./chunks/use-cached-selected-values.DditZmZy.js";
|
|
9
9
|
import { L as F } from "./chunks/listbox-option-tag.QqDEHMKB.js";
|
|
10
10
|
import { B as N } from "./chunks/teleport.L8qFCYpr.js";
|
|
11
11
|
export {
|
package/dist/menu.js
CHANGED
package/dist/modal-fullscreen.js
CHANGED
package/dist/modal.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as e, f as t, g as n, B as l, e as d, c as B, a as M, b as s } from "./chunks/base-modal.
|
|
2
|
-
import { _ as i } from "./chunks/modal.vue_vue_type_script_setup_true_lang.
|
|
1
|
+
import { d as e, f as t, g as n, B as l, e as d, c as B, a as M, b as s } from "./chunks/base-modal.BbiSFAn1.js";
|
|
2
|
+
import { _ as i } from "./chunks/modal.vue_vue_type_script_setup_true_lang.DuNQ8N4W.js";
|
|
3
3
|
export {
|
|
4
4
|
i as BentoModal,
|
|
5
5
|
e as BentoModalColumnLayoutVariant,
|
package/dist/pagination.js
CHANGED
package/dist/popover.js
CHANGED
package/dist/radio-group.js
CHANGED
package/dist/search-bar.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as r, b as t, a as B } from "./chunks/search-bar.
|
|
2
|
-
import { u as o } from "./chunks/dropdown.
|
|
1
|
+
import { B as r, b as t, a as B } from "./chunks/search-bar.CCWTGvJ6.js";
|
|
2
|
+
import { u as o } from "./chunks/dropdown.BxvydNp0.js";
|
|
3
3
|
export {
|
|
4
4
|
r as BentoSearchBar,
|
|
5
5
|
t as BentoSearchBarEvent,
|
package/dist/secondary-nav.js
CHANGED
package/dist/selection-card.js
CHANGED
package/dist/sidepanel.js
CHANGED
package/dist/stepper.js
CHANGED
package/dist/structured-list.js
CHANGED
package/dist/styles/bento.css
CHANGED
|
@@ -1377,6 +1377,7 @@
|
|
|
1377
1377
|
--b-dashboard-template-xxl-padding: var(--b-spacer-110) var(--b-spacer-130);
|
|
1378
1378
|
--b-dashboard-template-m-and-up-padding: var(--b-spacer-110) var(--b-spacer-110);
|
|
1379
1379
|
--b-dashboard-template-padding: var(--b-spacer-090) var(--b-spacer-090);
|
|
1380
|
+
--b-currency-color: var(--b-color-label-primary);
|
|
1380
1381
|
--b-country-label-color: var(--b-color-label-primary);
|
|
1381
1382
|
--b-controls-group-label-container-margin-bottom: var(--b-spacer-060);
|
|
1382
1383
|
--b-controls-group-label-container-gap: var(--b-spacer-020);
|
|
@@ -1733,10 +1734,12 @@
|
|
|
1733
1734
|
--b-accordion-item-animation-easing: var(--b-animation-easing-standard);
|
|
1734
1735
|
--b-accordion-item-animation-duration: var(--b-animation-duration-moderate);
|
|
1735
1736
|
--b-accordion-item-content-padding: var(--b-spacer-060) var(--b-spacer-070) var(--b-spacer-070) var(--b-spacer-100);
|
|
1737
|
+
--b-accordion-item-content-color: var(--b-color-label-primary);
|
|
1736
1738
|
--b-accordion-item-button-active-background-color: var(--b-color-background-primary-active);
|
|
1737
1739
|
--b-accordion-item-button-hover-background-color: var(--b-color-background-primary-hover);
|
|
1738
1740
|
--b-accordion-item-button-padding: var(--b-spacer-060) var(--b-spacer-070) var(--b-spacer-060) 0;
|
|
1739
1741
|
--b-accordion-item-button-gap: var(--b-spacer-070);
|
|
1742
|
+
--b-accordion-item-button-color: var(--b-color-label-primary);
|
|
1740
1743
|
--b-accordion-item-border: var(--b-border-width-s) solid var(--b-color-outline-primary);
|
|
1741
1744
|
--b-accordion-item-background-color: var(--b-color-background-primary);
|
|
1742
1745
|
--b-focus-ring-outline: var(--b-border-width-l);
|
package/dist/styles/legacy.css
CHANGED
|
@@ -1326,6 +1326,7 @@
|
|
|
1326
1326
|
--b-dashboard-template-xxl-padding: var(--b-spacer-110) var(--b-spacer-130);
|
|
1327
1327
|
--b-dashboard-template-m-and-up-padding: var(--b-spacer-110) var(--b-spacer-110);
|
|
1328
1328
|
--b-dashboard-template-padding: var(--b-spacer-090) var(--b-spacer-090);
|
|
1329
|
+
--b-currency-color: var(--b-color-label-primary);
|
|
1329
1330
|
--b-country-label-color: var(--b-color-label-primary);
|
|
1330
1331
|
--b-controls-group-label-container-margin-bottom: var(--b-spacer-060);
|
|
1331
1332
|
--b-controls-group-label-container-gap: var(--b-spacer-020);
|
|
@@ -1598,10 +1599,12 @@
|
|
|
1598
1599
|
--b-accordion-item-animation-easing: var(--b-animation-easing-standard);
|
|
1599
1600
|
--b-accordion-item-animation-duration: var(--b-animation-duration-moderate);
|
|
1600
1601
|
--b-accordion-item-content-padding: 0 var(--b-spacer-070) var(--b-spacer-090) 44px;
|
|
1602
|
+
--b-accordion-item-content-color: var(--b-color-label-primary);
|
|
1601
1603
|
--b-accordion-item-button-active-background-color: var(--b-color-grey-20);
|
|
1602
1604
|
--b-accordion-item-button-hover-background-color: var(--b-color-grey-10);
|
|
1603
1605
|
--b-accordion-item-button-padding: var(--b-spacer-070);
|
|
1604
1606
|
--b-accordion-item-button-gap: var(--b-spacer-070);
|
|
1607
|
+
--b-accordion-item-button-color: var(--b-color-label-primary);
|
|
1605
1608
|
--b-accordion-item-border: var(--b-border-width-s) solid var(--b-color-grey-20);
|
|
1606
1609
|
--b-text-title-l-font-weight: var(--b-font-weight-600);
|
|
1607
1610
|
--b-text-title-l-font-family: var(--b-font-family-primary);
|
|
@@ -1432,6 +1432,7 @@
|
|
|
1432
1432
|
--b-dashboard-template-xxl-padding: var(--b-spacer-110) var(--b-spacer-130);
|
|
1433
1433
|
--b-dashboard-template-m-and-up-padding: var(--b-spacer-110) var(--b-spacer-110);
|
|
1434
1434
|
--b-dashboard-template-padding: var(--b-spacer-090) var(--b-spacer-090);
|
|
1435
|
+
--b-currency-color: var(--b-color-label-primary);
|
|
1435
1436
|
--b-country-label-color: var(--b-color-label-primary);
|
|
1436
1437
|
--b-controls-group-label-container-margin-bottom: var(--b-spacer-060);
|
|
1437
1438
|
--b-controls-group-label-container-gap: var(--b-spacer-020);
|
|
@@ -1788,10 +1789,12 @@
|
|
|
1788
1789
|
--b-accordion-item-animation-easing: var(--b-animation-easing-standard);
|
|
1789
1790
|
--b-accordion-item-animation-duration: var(--b-animation-duration-moderate);
|
|
1790
1791
|
--b-accordion-item-content-padding: var(--b-spacer-060) var(--b-spacer-070) var(--b-spacer-070) var(--b-spacer-100);
|
|
1792
|
+
--b-accordion-item-content-color: var(--b-color-label-primary);
|
|
1791
1793
|
--b-accordion-item-button-active-background-color: var(--b-color-background-primary-active);
|
|
1792
1794
|
--b-accordion-item-button-hover-background-color: var(--b-color-background-primary-hover);
|
|
1793
1795
|
--b-accordion-item-button-padding: var(--b-spacer-060) var(--b-spacer-070) var(--b-spacer-060) 0;
|
|
1794
1796
|
--b-accordion-item-button-gap: var(--b-spacer-070);
|
|
1797
|
+
--b-accordion-item-button-color: var(--b-color-label-primary);
|
|
1795
1798
|
--b-accordion-item-border: var(--b-border-width-s) solid var(--b-color-outline-primary);
|
|
1796
1799
|
--b-accordion-item-background-color: var(--b-color-background-primary);
|
|
1797
1800
|
--b-focus-ring-outline: var(--b-border-width-l);
|
package/dist/summary-grid.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as r, a as t, e as a, b as o, c as i, B as n, d as u, f as d } from "./chunks/summary-grid-item-custom.
|
|
1
|
+
import { s as r, a as t, e as a, b as o, c as i, B as n, d as u, f as d } from "./chunks/summary-grid-item-custom.BRXtpB7y.js";
|
|
2
2
|
export {
|
|
3
3
|
r as BentoSummaryGrid,
|
|
4
4
|
t as BentoSummaryGridItemAmount,
|
package/dist/tabs.js
CHANGED
package/dist/textarea.js
CHANGED
package/dist/timeline.js
CHANGED
package/dist/toast.js
CHANGED
package/dist/toggle.js
CHANGED
package/dist/tutorial.js
CHANGED
package/dist/web-types.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adyen/bento-vue3",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.35.0",
|
|
4
4
|
"description": "Adyen Bento Vue 3 components",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"url": "git@github.com:Adyen/bento.git"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@adyen/ui-assets-icons-16": "
|
|
31
|
-
"@adyen/ui-assets-payment-method-icons": "
|
|
30
|
+
"@adyen/ui-assets-icons-16": "6.0.2",
|
|
31
|
+
"@adyen/ui-assets-payment-method-icons": "8.0.1",
|
|
32
32
|
"@floating-ui/vue": "1.0.7",
|
|
33
33
|
"@vueuse/core": "10.9.0",
|
|
34
34
|
"date-fns": "2.28.0",
|
|
35
35
|
"focus-lock": "0.11.0",
|
|
36
36
|
"uuid": "9.0.0",
|
|
37
37
|
"vue-demi": "0.14.10",
|
|
38
|
-
"@adyen/bento-design-tokens": "1.
|
|
38
|
+
"@adyen/bento-design-tokens": "1.35.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"vue": "^3.2.47",
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
import { defineComponent as C, provide as B, toRef as O, openBlock as a, createElementBlock as d, renderSlot as E, ref as b, inject as $, computed as z, watch as s, createVNode as h, unref as e, withCtx as y, createElementVNode as g, createBlock as I, createTextVNode as D, toDisplayString as H, Transition as V, normalizeStyle as w, createCommentVNode as A } from "vue";
|
|
2
|
-
import { _ as N } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
3
|
-
import { B as R } from "./typography.z9P0Ec3Q.js";
|
|
4
|
-
import { C as j, a as M } from "./chevron-up.DQZG_BP3.js";
|
|
5
|
-
import { g as x } from "./unique-id.XFfoKuc2.js";
|
|
6
|
-
import { o as U } from "./resize.Bqks3WUm.js";
|
|
7
|
-
import { u as q } from "./use-expandable-content-height.GkjjbmPy.js";
|
|
8
|
-
import "../assets/accordion-item.css";
|
|
9
|
-
const S = Symbol("accordion title size injection key"), J = { class: "b-accordion" }, K = {}, L = /* @__PURE__ */ C({
|
|
10
|
-
...K,
|
|
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 B(S, O(i, "titleSize")), (r, c) => (a(), d("div", J, [
|
|
24
|
-
E(r.$slots, "default", {}, void 0, !0)
|
|
25
|
-
]));
|
|
26
|
-
}
|
|
27
|
-
}), ie = /* @__PURE__ */ N(L, [["__scopeId", "data-v-9fccc066"]]), Y = { class: "b-accordion-item" }, Z = ["id", "aria-controls", "aria-expanded"], F = ["id", "aria-labelledby"], G = {}, P = /* @__PURE__ */ C({
|
|
28
|
-
...G,
|
|
29
|
-
__name: "accordion-item",
|
|
30
|
-
props: {
|
|
31
|
-
/**
|
|
32
|
-
* Sets the title of the accordion item.
|
|
33
|
-
*/
|
|
34
|
-
title: {
|
|
35
|
-
type: String,
|
|
36
|
-
required: !0
|
|
37
|
-
},
|
|
38
|
-
/**
|
|
39
|
-
* Controls if the content is visible or hidden.
|
|
40
|
-
*/
|
|
41
|
-
isExpanded: {
|
|
42
|
-
type: Boolean,
|
|
43
|
-
default: !1
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
emits: ["update:is-expanded"],
|
|
47
|
-
setup(i, { emit: l }) {
|
|
48
|
-
const r = "b-accordion-item__animation--content", c = i, T = l, n = b(null), t = b(c.isExpanded), u = x("accordionItemButton"), m = x("accordionItemContent"), p = $(S, "default"), { updateContentHeight: _, contentHeight: v } = q(n, t), k = z(() => v.value ? { "max-height": v.value } : {});
|
|
49
|
-
return s(
|
|
50
|
-
() => c.isExpanded,
|
|
51
|
-
(o) => {
|
|
52
|
-
t.value = o;
|
|
53
|
-
}
|
|
54
|
-
), s(
|
|
55
|
-
() => n.value,
|
|
56
|
-
() => {
|
|
57
|
-
let o = null;
|
|
58
|
-
!o && n.value && (o = U(n.value, () => {
|
|
59
|
-
n.value && _();
|
|
60
|
-
}));
|
|
61
|
-
}
|
|
62
|
-
), s(
|
|
63
|
-
t,
|
|
64
|
-
(o) => {
|
|
65
|
-
T("update:is-expanded", o), _();
|
|
66
|
-
},
|
|
67
|
-
{ immediate: !0 }
|
|
68
|
-
), (o, f) => (a(), d("div", Y, [
|
|
69
|
-
h(e(R), {
|
|
70
|
-
el: "h3",
|
|
71
|
-
variant: e(p) === "small" ? "body" : "title",
|
|
72
|
-
strongest: e(p) === "small"
|
|
73
|
-
}, {
|
|
74
|
-
default: y(() => [
|
|
75
|
-
g("button", {
|
|
76
|
-
id: e(u),
|
|
77
|
-
"aria-controls": e(m),
|
|
78
|
-
"aria-expanded": `${t.value}`,
|
|
79
|
-
type: "button",
|
|
80
|
-
class: "b-accordion-item__button",
|
|
81
|
-
onClick: f[0] || (f[0] = (Q) => t.value = !t.value)
|
|
82
|
-
}, [
|
|
83
|
-
t.value ? (a(), I(e(j), {
|
|
84
|
-
key: 0,
|
|
85
|
-
class: "b-accordion-item__icon",
|
|
86
|
-
"svg-title": "collapse",
|
|
87
|
-
"aria-hidden": "true"
|
|
88
|
-
})) : (a(), I(e(M), {
|
|
89
|
-
key: 1,
|
|
90
|
-
class: "b-accordion-item__icon",
|
|
91
|
-
"svg-title": "expand",
|
|
92
|
-
"aria-hidden": "true"
|
|
93
|
-
})),
|
|
94
|
-
D(" " + H(i.title), 1)
|
|
95
|
-
], 8, Z)
|
|
96
|
-
]),
|
|
97
|
-
_: 1
|
|
98
|
-
}, 8, ["variant", "strongest"]),
|
|
99
|
-
h(V, { name: r }, {
|
|
100
|
-
default: y(() => [
|
|
101
|
-
t.value ? (a(), d("div", {
|
|
102
|
-
key: 0,
|
|
103
|
-
id: e(m),
|
|
104
|
-
"aria-labelledby": e(u),
|
|
105
|
-
role: "region",
|
|
106
|
-
style: w(k.value)
|
|
107
|
-
}, [
|
|
108
|
-
g("div", {
|
|
109
|
-
ref_key: "contentDiv",
|
|
110
|
-
ref: n,
|
|
111
|
-
class: "b-accordion-item__content"
|
|
112
|
-
}, [
|
|
113
|
-
E(o.$slots, "default", {}, void 0, !0)
|
|
114
|
-
], 512)
|
|
115
|
-
], 12, F)) : A("", !0)
|
|
116
|
-
]),
|
|
117
|
-
_: 3
|
|
118
|
-
})
|
|
119
|
-
]));
|
|
120
|
-
}
|
|
121
|
-
}), re = /* @__PURE__ */ N(P, [["__scopeId", "data-v-b1de8d3a"]]);
|
|
122
|
-
export {
|
|
123
|
-
ie as a,
|
|
124
|
-
re as b
|
|
125
|
-
};
|
|
126
|
-
//# sourceMappingURL=accordion-item.CQ8DLt9l.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"accordion-item.CQ8DLt9l.js","sources":["../../../vue2/src/components/accordion/accordion.keys.ts","../../../vue2/src/components/accordion/accordion.vue","../../../vue2/src/components/accordion/components/accordion-item.vue"],"sourcesContent":["export const ACCORDION_TITLE_SIZE_INJECTION_KEY = Symbol('accordion title size injection key');\n","<template>\n <div class=\"b-accordion\">\n <slot />\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { PropType, provide, toRef } from 'vue';\n\n import { ACCORDION_TITLE_SIZE_INJECTION_KEY } from './accordion.keys';\n\n import type { BentoAccordionTitleSize } from './accordion.types';\n\n const props = defineProps({\n /**\n * Controls accordion title size.\n * @values default, small\n */\n titleSize: {\n type: String as PropType<BentoAccordionTitleSize>,\n default: 'default',\n },\n });\n\n provide(ACCORDION_TITLE_SIZE_INJECTION_KEY, toRef(props, 'titleSize'));\n</script>\n\n<script lang=\"ts\">\n /**\n * An accordion is a vertical stack of interactive headers used to reveal or hide\n * sections of content associated with these headers.\n *\n * This component must only have `BentoAccordionItem` components in its default slot.\n *\n * Accordion items should be collapsed by default.\n *\n * @example\n * import { BentoAccordion, BentoAccordionItem } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoAccordion, BentoAccordionItem },\n * template: `\n * <bento-accordion>\n * <bento-accordion-item title=\"Item 1\">\n * Content for item 1\n * </bento-accordion-item>\n * <bento-accordion-item title=\"Item 2\">\n * Content for item 2\n * </bento-accordion-item>\n * </bento-accordion>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./accordion.scss\" />\n","<template>\n <div class=\"b-accordion-item\">\n <bento-typography\n el=\"h3\"\n :variant=\"titleSize === 'small' ? 'body' : 'title'\"\n :strongest=\"titleSize === 'small'\"\n >\n <button\n :id=\"buttonId\"\n :aria-controls=\"contentId\"\n :aria-expanded=\"`${isOpen}`\"\n type=\"button\"\n class=\"b-accordion-item__button\"\n @click=\"isOpen = !isOpen\"\n >\n <chevron-up-icon v-if=\"isOpen\" class=\"b-accordion-item__icon\" svg-title=\"collapse\" aria-hidden=\"true\" />\n <chevron-down-icon v-else class=\"b-accordion-item__icon\" svg-title=\"expand\" aria-hidden=\"true\" />\n {{ title }}\n </button>\n </bento-typography>\n\n <Transition :name=\"CONTENT_TRANSITION_NAME\">\n <div v-if=\"isOpen\" :id=\"contentId\" :aria-labelledby=\"buttonId\" role=\"region\" :style=\"contentMaxHeight\">\n <div ref=\"contentDiv\" class=\"b-accordion-item__content\">\n <slot />\n </div>\n </div>\n </Transition>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, inject, ref, watch } from 'vue';\n\n import { BentoTypography } from '@/components/typography';\n import ChevronDownIcon from '@adyen/ui-assets-icons-16/vue/chevron-down';\n import ChevronUpIcon from '@adyen/ui-assets-icons-16/vue/chevron-up';\n\n import { generateUid } from '@/utils/ts/unique-id';\n import { observeSizeOfElement } from '@/utils/ts/resize';\n\n import { ACCORDION_TITLE_SIZE_INJECTION_KEY } from '../accordion.keys';\n\n import type { BentoAccordionTitleSize } from '../accordion.types';\n import { useExpandableContentHeight } from '@/composables/use-expandable-content-height/use-expandable-content-height';\n\n const CONTENT_TRANSITION_NAME = 'b-accordion-item__animation--content';\n\n const props = defineProps({\n /**\n * Sets the title of the accordion item.\n */\n title: {\n type: String,\n required: true,\n },\n /**\n * Controls if the content is visible or hidden.\n */\n isExpanded: {\n type: Boolean,\n default: false,\n },\n });\n\n const emit = defineEmits<{\n /**\n * Emits update event when content is toggled\n */\n (e: 'update:is-expanded', value: boolean): void;\n }>();\n\n // Refs\n const contentDiv = ref<HTMLDivElement>(null);\n const isOpen = ref(props.isExpanded);\n\n // Generating IDs\n const buttonId = generateUid('accordionItemButton');\n const contentId = generateUid('accordionItemContent');\n\n // Injecting prop from parent\n const titleSize = inject<`${BentoAccordionTitleSize}`>(ACCORDION_TITLE_SIZE_INJECTION_KEY, 'default');\n\n // Getting and setting the item height to be able to handle height animation\n const { updateContentHeight, contentHeight } = useExpandableContentHeight(contentDiv, isOpen);\n\n const contentMaxHeight = computed(() => (contentHeight.value ? { 'max-height': contentHeight.value } : {}));\n\n watch(\n () => props.isExpanded,\n value => {\n isOpen.value = value;\n }\n );\n\n watch(\n () => contentDiv.value,\n () => {\n let observer: ResizeObserver | null = null;\n if (!observer && contentDiv.value) {\n observer = observeSizeOfElement(contentDiv.value, () => {\n if (contentDiv.value) {\n updateContentHeight();\n }\n });\n }\n }\n );\n\n watch(\n isOpen,\n value => {\n // Enable two-way data binding for `isExpanded`\n emit('update:is-expanded', value);\n\n updateContentHeight();\n },\n { immediate: true }\n );\n</script>\n\n<script lang=\"ts\">\n /**\n * An accordion item is an interactive header used to reveal or hide a\n * section of content associated with this header.\n *\n * This component must always be wrapped by a `BentoAccordion` component.\n *\n * @example\n * import { BentoAccordion, BentoAccordionItem } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoAccordion, BentoAccordionItem },\n * template: `\n * <bento-accordion>\n * <bento-accordion-item title=\"Item 1\">\n * Content for item 1\n * </bento-accordion-item>\n * <bento-accordion-item title=\"Item 2\">\n * Content for item 2\n * </bento-accordion-item>\n * </bento-accordion>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./accordion-item.scss\" />\n"],"names":["ACCORDION_TITLE_SIZE_INJECTION_KEY","__default__$1","provide","toRef","__props","__default__","CONTENT_TRANSITION_NAME","props","emit","__emit","contentDiv","ref","isOpen","buttonId","generateUid","contentId","titleSize","inject","updateContentHeight","contentHeight","useExpandableContentHeight","contentMaxHeight","computed","watch","value","observer","observeSizeOfElement"],"mappings":";;;;;;;;AAAa,MAAAA,IAAA,OAAA,oCAAA,iCCqDTC,IAAA,CAAA;;;;;;;;;;;;;;AA7BA,WAAAC,EAAAF,GAAAG,EAXAC,GAWA,WAAA,CAAA;;;;mLCyHAC,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;AAnGA,UAAAC,IAAA,wCAEAC,IAAAH,GAiBAI,IAAAC,GAQAC,IAAAC,EAAA,IAAA,GACAC,IAAAD,EAAAJ,EAAA,UAAA,GAGAM,IAAAC,EAAA,qBAAA,GACAC,IAAAD,EAAA,sBAAA,GAGAE,IAAAC,EAAAjB,GAAA,SAAA,GAGA,EAAA,qBAAAkB,GAAA,eAAAC,EAAA,IAAAC,EAAAV,GAAAE,CAAA,GAEAS,IAAAC,EAAA,MAAAH,EAAA,QAAA,EAAA,cAAAA,EAAA,MAAA,IAAA,CAAA,CAAA;AAEA,WAAAI;AAAA,MAAA,MAAAhB,EAAA;AAAA,MACgB,CAAAiB,MAAA;AAER,QAAAZ,EAAA,QAAAY;AAAA,MAAe;AAAA,IACnB,GAGJD;AAAA,MAAA,MAAAb,EAAA;AAAA,MACqB,MAAA;AAEb,YAAAe,IAAA;AACA,QAAA,CAAAA,KAAAf,EAAA,UACIe,IAAAC,EAAAhB,EAAA,OAAA,MAAA;AACI,UAAAA,EAAA,SACIQ,EAAA;AAAA,QACJ,CAAA;AAAA,MAER;AAAA,IACJ,GAGJK;AAAA,MAAAX;AAAA,MACI,CAAAY,MAAA;AAGI,QAAAhB,EAAA,sBAAAgB,CAAA,GAEAN,EAAA;AAAA,MAAoB;AAAA,MACxB,EAAA,WAAA,GAAA;AAAA,IACkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"alert.Bz4tNKDH.js","sources":["../../../vue2/src/components/alert/alert.types.ts","../../../../node_modules/.pnpm/@adyen+ui-assets-icons-16@4.1.0_vue@2.7.16/node_modules/@adyen/ui-assets-icons-16/dist/vue/info-filled.vue","../../../vue2/src/components/alert/alert.vue"],"sourcesContent":["/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoAlertVariant {\n DEFAULT = 'default',\n TIP = 'tip',\n}\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport enum BentoAlertTypeOption {\n WARNING = 'warning',\n CRITICAL = 'critical',\n HIGHLIGHT = 'highlight',\n SUCCESS = 'success',\n}\n\n/**\n * @deprecated from version 2.0.0. Use \"@close-alert\" instead.\n */\nexport enum BentoAlertEvent {\n CLOSE_ALERT = 'close-alert',\n}\n","\n<template>\n <svg role=\"img\" v-bind=\"$attrs\" class=\"ui-assets-icons-16\" xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\"><title v-if=\"$attrs['svg-title']\">{{ $attrs['svg-title'] }}</title><g :clip-path=\"'url(#uia-icons-16-info_filled__a' + uuid + ')'\"><path fill=\"#00112C\" d=\"M5.0342 0.839937C6.45033 0.253358 8.00859 0.0998821 9.51195 0.398918C11.0153 0.697953 12.3962 1.43607 13.4801 2.51993C14.5639 3.60378 15.3021 4.9847 15.6011 6.48805C15.9001 7.99141 15.7466 9.54967 15.1601 10.9658C14.5735 12.3819 13.5801 13.5923 12.3057 14.4439C11.0312 15.2955 9.53281 15.75 8 15.75C5.94457 15.75 3.97333 14.9335 2.51992 13.4801C1.06652 12.0267 0.25 10.0554 0.25 8C0.25 6.4672 0.704529 4.96881 1.55611 3.69433C2.40769 2.41985 3.61808 1.42652 5.0342 0.839937ZM8.75 4.5C8.75 4.23478 8.64464 3.98043 8.45711 3.79289C8.26957 3.60536 8.01522 3.5 7.75 3.5C7.55222 3.5 7.35888 3.55865 7.19443 3.66853C7.02998 3.77841 6.90181 3.93459 6.82612 4.11732C6.75043 4.30004 6.73063 4.50111 6.76921 4.69509C6.8078 4.88907 6.90304 5.06725 7.04289 5.20711C7.18275 5.34696 7.36093 5.4422 7.55491 5.48079C7.74889 5.51937 7.94996 5.49957 8.13268 5.42388C8.31541 5.34819 8.47159 5.22002 8.58147 5.05557C8.69135 4.89112 8.75 4.69778 8.75 4.5ZM8.75 6.25H6.25V7.75H7.25V10.25H6.25V11.75H9.75V10.25H8.75V6.25Z\"/></g><defs><clipPath :id=\"'uia-icons-16-info_filled__a' + uuid\"><rect width=\"16\" height=\"16\" fill=\"#fff\"/></clipPath></defs></svg>\n</template>\n<script>\n let uuid = 0;\n\n export default {\n beforeCreate() {\n this.uuid = uuid.toString();\n uuid += 1;\n },\n };\n</script>\n<style>\n @import '../css/main.css';\n</style>\n","<template>\n <div class=\"b-alert\" :role=\"computedRole\">\n <div class=\"b-alert__inner-container\" :class=\"alertConditionalClasses\">\n <div class=\"b-alert__icon\">\n <component :is=\"iconComponent\" aria-hidden=\"true\" :svg-title=\"iconSvgTitle\" />\n </div>\n\n <div class=\"b-alert__content\">\n <bento-typography\n v-if=\"hasSlot('default') && !isTipVariant\"\n class=\"b-alert__title\"\n el=\"div\"\n variant=\"body\"\n strongest\n wide\n >\n <slot />\n </bento-typography>\n\n <bento-typography\n v-if=\"hasSlot('description')\"\n class=\"b-alert__description\"\n v-bind=\"descriptionTypography\"\n data-testid=\"alert-description\"\n >\n <slot name=\"description\" />\n </bento-typography>\n\n <div v-if=\"hasSlot('actions') && !isTipVariant\" class=\"b-alert__actions\" data-testid=\"alert-actions\">\n <slot name=\"actions\" />\n </div>\n </div>\n\n <bento-button\n v-if=\"closeButton && !isTipVariant\"\n class=\"b-alert__close-button\"\n variant=\"tertiary\"\n type=\"button\"\n @click=\"onCloseButtonClick\"\n >\n <cross-small :svg-title=\"t('close')\" />\n </bento-button>\n </div>\n </div>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, onMounted, useSlots } from 'vue';\n\n // Component\n import { BentoAlertEvent, BentoAlertTypeOption, BentoAlertVariant } from '@/components/alert/alert.types';\n import { BentoTypography, BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';\n import { BentoButton } from '@/components/button';\n\n import CrossSmall from '@adyen/ui-assets-icons-16/vue/cross-small';\n import Warning from '@adyen/ui-assets-icons-16/vue/warning-filled';\n import CrossCircle from '@adyen/ui-assets-icons-16/vue/cross-circle-fill';\n import CheckedCircle from '@adyen/ui-assets-icons-16/vue/checkmark-circle-fill';\n import Info from '@adyen/ui-assets-icons-16/vue/info-filled';\n\n // Utils\n import { useHasSlot } from '@/composables';\n import { useI18n } from '@/utils/ts/i18n';\n\n import messages from './messages.json';\n\n type MessageSchema = (typeof messages)['en-US'];\n\n const slots = useSlots();\n const hasSlot = useHasSlot(slots);\n\n const emit = defineEmits<{\n /**\n * Emits event when the alert is closed. `closeButton` must be `true`\n */\n (e: 'close-alert');\n }>();\n\n const props = withDefaults(\n defineProps<{\n /**\n * Adds a close button on the right side of the alert\n */\n closeButton?: boolean;\n\n /**\n * Type of a alert; set a distinctive icon and color. Defaults to highlight.\n * @values HIGHLIGHT, SUCCESS, CRITICAL, WARNING\n */\n type?: BentoAlertTypeOption | `${BentoAlertTypeOption}`;\n\n /**\n * Variant for the alert\n * @values DEFAULT, TIP\n */\n variant?: BentoAlertVariant | `${BentoAlertVariant}`;\n }>(),\n {\n closeButton: false,\n type: BentoAlertTypeOption.HIGHLIGHT,\n variant: BentoAlertVariant.DEFAULT,\n }\n );\n\n const { t } = useI18n<{ message: MessageSchema }>({ messages });\n\n const isTipVariant = computed(() => props.variant === BentoAlertVariant.TIP);\n\n const alertConditionalClasses = computed(() => ({\n [`b-alert--${props.type}`]: props.type,\n [`b-alert--${BentoAlertVariant.TIP}`]: isTipVariant.value,\n }));\n\n const iconSvgTitle = computed(() => t(`${props.type}Icon`));\n\n const iconComponent = computed(() => {\n switch (props.type) {\n case BentoAlertTypeOption.CRITICAL:\n return CrossCircle;\n case BentoAlertTypeOption.SUCCESS:\n return CheckedCircle;\n case BentoAlertTypeOption.WARNING:\n return Warning;\n case BentoAlertTypeOption.HIGHLIGHT:\n default:\n return Info;\n }\n });\n\n const descriptionTypography = computed(() => ({\n el: BentoTypographyElement.DIV,\n variant: isTipVariant.value ? BentoTypographyVariant.CAPTION : BentoTypographyVariant.BODY,\n wide: true,\n }));\n\n const computedRole = computed(() => (props.type === BentoAlertTypeOption.HIGHLIGHT ? 'status' : 'alert'));\n\n const onCloseButtonClick = () => {\n emit(BentoAlertEvent.CLOSE_ALERT);\n };\n\n onMounted(() => {\n if (!slots.default && !slots.description) {\n throw new Error('Alert Component requires a title or a description');\n }\n });\n</script>\n\n<script lang=\"ts\">\n /**\n * An Alert component is used to display a persistent\n * notification containing information important to the user\n *\n * @example\n * import { BentoAlert, BentoAlertTypeOption } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoAlert },\n * template: `\n * <bento-alert type=\"highlight\">\n * Title of the Alert\n * </bento-alert>\n * `\n * }\n */\n export default {\n i18n: { messages },\n name: 'bento-alert',\n };\n</script>\n\n<style lang=\"scss\" scoped src=\"./alert.scss\" />\n"],"names":["BentoAlertVariant","BentoAlertVariant2","BentoAlertTypeOption","BentoAlertTypeOption2","BentoAlertEvent","BentoAlertEvent2","uuid","_hoisted_2$1","_hoisted_3$1","openBlock","createElementBlock","mergeProps","_ctx","createCommentVNode","__default__","messages","slots","useSlots","hasSlot","useHasSlot","emit","__emit","props","__props","t","useI18n","isTipVariant","computed","alertConditionalClasses","iconSvgTitle","iconComponent","CrossCircleFillIcon","CheckmarkIcon","WarningIcon","Info","descriptionTypography","BentoTypographyElement","BentoTypographyVariant","computedRole","onCloseButtonClick","onMounted"],"mappings":";;;;;;;;;;;AAGY,IAAAA,IAAA,kBAAAC,OACRA,EAAA,UAAA,WACAA,EAAA,MAAA,OAFQA,IAAAD,KAAA,CAAA,CAAA,GAQAE,IAAA,kBAAAC,OACRA,EAAA,UAAA,WACAA,EAAA,WAAA,YACAA,EAAA,YAAA,aACAA,EAAA,UAAA,WAJQA,IAAAD,KAAA,CAAA,CAAA,GAUAE,IAAA,kBAAAC,OACRA,EAAA,cAAA,eADQA,IAAAD,KAAA,CAAA,CAAA;AChBR,IAAAE,IAAA;;EAGI,eAAA;8BAEIA,KAAA;AAAA;mBAVZC,IAAA,CAAA,WAAA,GAAAC,IAAA,CAAA,IAAA;;AAEI,SAAAC,EAAA,GAAAC,EAAA,OAAAC,EAAA,EAAA,MAAA,MAAA,GAAAC,EAAA,QAAA;AAAA,IAAgC,OAAA;AAAA,IAA2B,OAAA;AAAA,IAAmC,OAAA;AAAA,IAAW,QAAA;AAAA,IAAY,MAAA;AAAA;gFAFzHC,EAAA,IAAA,EAAA;AAAA;MAE4M,aAAA,qCAAAD,EAAA,OAAA;AAAA;;QAAkE,MAAA;AAAA,QAAe,GAAA;AAAA;IAF7R,IAAA,GAAAL,CAAA;AAAA;;QAE8xC,IAAA,gCAAAK,EAAA;AAAA;;UAAgD,OAAA;AAAA,UAAW,QAAA;AAAA,UAAY,MAAA;AAAA;MAFr2C,IAAA,GAAAJ,CAAA;AAAA;;;;;;;;;;;;;;;GCqKIM,KAAA;AAAA,EAAe,MAAA,EAAA,UAAAC,EAAA;AAAA,EACM,MAAA;AAErB;;;;;;;;;AApGA,UAAAC,IAAAC,EAAA,GACAC,IAAAC,EAAAH,CAAA,GAEAI,IAAAC,GAOAC,IAAAC,GA0BA,EAAA,GAAAC,EAAA,IAAAC,EAAA,EAAA,UAAAV,EAAA,CAAA,GAEAW,IAAAC,EAAA,MAAAL,EAAA,YAAAtB,EAAA,GAAA,GAEA4B,IAAAD,EAAA,OAAA;AAAA,MAAgD,CAAA,YAAAL,EAAA,IAAA,EAAA,GAAAA,EAAA;AAAA,MACV,CAAA,YAAAtB,EAAA,GAAA,EAAA,GAAA0B,EAAA;AAAA,IACkB,EAAA,GAGxDG,IAAAF,EAAA,MAAAH,EAAA,GAAAF,EAAA,IAAA,MAAA,CAAA,GAEAQ,IAAAH,EAAA,MAAA;AACI,cAAAL,EAAA,MAAA;AAAA,QAAoB,KAAApB,EAAA;AAEZ,iBAAA6B;AAAA,QAAO,KAAA7B,EAAA;AAEP,iBAAA8B;AAAA,QAAO,KAAA9B,EAAA;AAEP,iBAAA+B;AAAA,QAAO,KAAA/B,EAAA;AAAA,QACe;AAEtB,iBAAAgC;AAAA,MAAO;AAAA,IACf,CAAA,GAGJC,IAAAR,EAAA,OAAA;AAAA,MAA8C,IAAAS,EAAA;AAAA,MACf,SAAAV,EAAA,QAAAW,EAAA,UAAAA,EAAA;AAAA,MAC2D,MAAA;AAAA,IAChF,EAAA,GAGVC,IAAAX,EAAA,MAAAL,EAAA,SAAApB,EAAA,YAAA,WAAA,OAAA,GAEAqC,IAAA,MAAA;AACI,MAAAnB,EAAAhB,EAAA,WAAA;AAAA,IAAgC;AAGpC,WAAAoC,EAAA,MAAA;AACI,UAAA,CAAAxB,EAAA,WAAA,CAAAA,EAAA;AACI,cAAA,IAAA,MAAA,mDAAA;AAAA,IACJ,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[1]}
|