@adyen/bento-vue3 1.48.0 → 1.50.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/index.d.ts +107 -944
- package/dist/action-bar.js +1 -1
- package/dist/alert.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/file-uploader.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/link.css +1 -1
- package/dist/assets/menu.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/payment-method.css +1 -1
- package/dist/assets/popover.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/toggle-button.css +1 -1
- package/dist/button.js +3 -3
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chunks/{action-bar.DWekSxPr.js → action-bar.DkGjsKiy.js} +6 -6
- package/dist/chunks/{action-bar.DWekSxPr.js.map → action-bar.DkGjsKiy.js.map} +1 -1
- package/dist/chunks/{alert.Dd2DYCZ1.js → alert.DGewBB2a.js} +2 -2
- package/dist/chunks/{alert.Dd2DYCZ1.js.map → alert.DGewBB2a.js.map} +1 -1
- package/dist/chunks/{base-modal.DOrcARK1.js → base-modal.gW2mkOwf.js} +5 -5
- package/dist/chunks/{base-modal.DOrcARK1.js.map → base-modal.gW2mkOwf.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.BRdRrr4J.js → button-actions-with-menu.BXRKkFiw.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.BRdRrr4J.js.map → button-actions-with-menu.BXRKkFiw.js.map} +1 -1
- package/dist/chunks/{button-actions.ncthaz2m.js → button-actions.BZEKcCbe.js} +2 -2
- package/dist/chunks/{button-actions.ncthaz2m.js.map → button-actions.BZEKcCbe.js.map} +1 -1
- package/dist/chunks/{button.Cneb6rPP.js → button.BXVKUuum.js} +2 -2
- package/dist/chunks/{button.Cneb6rPP.js.map → button.BXVKUuum.js.map} +1 -1
- package/dist/chunks/{calendar.BdLQOioy.js → calendar.DNQlLbkK.js} +2 -2
- package/dist/chunks/{calendar.BdLQOioy.js.map → calendar.DNQlLbkK.js.map} +1 -1
- package/dist/chunks/{card.BAg7yMMT.js → card.Ec-SR2qG.js} +2 -2
- package/dist/chunks/{card.BAg7yMMT.js.map → card.Ec-SR2qG.js.map} +1 -1
- package/dist/chunks/{checkbox-group.C-EmVp5t.js → checkbox-group.KeIRO8lx.js} +4 -4
- package/dist/chunks/{checkbox-group.C-EmVp5t.js.map → checkbox-group.KeIRO8lx.js.map} +1 -1
- package/dist/chunks/{checkbox.BOtqaTUl.js → checkbox.BllRk82F.js} +17 -17
- package/dist/chunks/{checkbox.BOtqaTUl.js.map → checkbox.BllRk82F.js.map} +1 -1
- package/dist/chunks/{code-snippet.C9fCiM5V.js → code-snippet.DfTfz3vU.js} +6 -6
- package/dist/chunks/{code-snippet.C9fCiM5V.js.map → code-snippet.DfTfz3vU.js.map} +1 -1
- package/dist/chunks/{controls-group.BeK9igGT.js → controls-group.BnbQO34k.js} +2 -2
- package/dist/chunks/{controls-group.BeK9igGT.js.map → controls-group.BnbQO34k.js.map} +1 -1
- package/dist/chunks/{copy.HpUjy6OL.js → copy.DAu8GrR9.js} +3 -3
- package/dist/chunks/{copy.HpUjy6OL.js.map → copy.DAu8GrR9.js.map} +1 -1
- package/dist/chunks/currency.DagWnTry.js.map +1 -1
- package/dist/chunks/{dashboard-section.DoGuJKz_.js → dashboard-section.pyg05_v_.js} +4 -4
- package/dist/chunks/{dashboard-section.DoGuJKz_.js.map → dashboard-section.pyg05_v_.js.map} +1 -1
- package/dist/chunks/{dashed-underline.DZuyR-N7.js → dashed-underline.DTZGLrPu.js} +3 -3
- package/dist/chunks/{dashed-underline.DZuyR-N7.js.map → dashed-underline.DTZGLrPu.js.map} +1 -1
- package/dist/chunks/{data-grid-template.BpJbblNT.js → data-grid-template.sUNqCvbt.js} +3 -3
- package/dist/chunks/{data-grid-template.BpJbblNT.js.map → data-grid-template.sUNqCvbt.js.map} +1 -1
- package/dist/chunks/{data-grid.CdTcZ3DP.js → data-grid.BNXoMZf9.js} +1028 -1022
- package/dist/chunks/data-grid.BNXoMZf9.js.map +1 -0
- package/dist/chunks/{date-picker.CjbhJWGH.js → date-picker.DgpHNnu_.js} +17 -17
- package/dist/chunks/{date-picker.CjbhJWGH.js.map → date-picker.DgpHNnu_.js.map} +1 -1
- package/dist/chunks/{date-range-picker.CoonfpYT.js → date-range-picker.CUIOfxjB.js} +26 -26
- package/dist/chunks/{date-range-picker.CoonfpYT.js.map → date-range-picker.CUIOfxjB.js.map} +1 -1
- package/dist/chunks/{dialog-page.D_r_CbyD.js → dialog-page.DK2UKGH8.js} +2 -2
- package/dist/chunks/{dialog-page.D_r_CbyD.js.map → dialog-page.DK2UKGH8.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.B5QFkTl_.js → dropdown-tag.DqfoOcUU.js} +4 -4
- package/dist/chunks/{dropdown-tag.B5QFkTl_.js.map → dropdown-tag.DqfoOcUU.js.map} +1 -1
- package/dist/chunks/{dropdown.BN6DALZa.js → dropdown.a8OeeVAZ.js} +344 -344
- package/dist/chunks/dropdown.a8OeeVAZ.js.map +1 -0
- package/dist/chunks/{empty-state.C2ancCe6.js → empty-state.DkYtiTHG.js} +2 -2
- package/dist/chunks/{empty-state.C2ancCe6.js.map → empty-state.DkYtiTHG.js.map} +1 -1
- package/dist/chunks/{error-message.X-gxnQcx.js → error-message.B3z5WkLF.js} +2 -2
- package/dist/chunks/{error-message.X-gxnQcx.js.map → error-message.B3z5WkLF.js.map} +1 -1
- package/dist/chunks/es6.BtaxuP0b.js.map +1 -1
- package/dist/chunks/{file-uploader.CLZ1rPz0.js → file-uploader.DV4I5Lvf.js} +475 -470
- package/dist/chunks/file-uploader.DV4I5Lvf.js.map +1 -0
- package/dist/chunks/{filter-bar.zvHeHs9B.js → filter-bar.BZkXUVLH.js} +20 -19
- package/dist/chunks/{filter-bar.zvHeHs9B.js.map → filter-bar.BZkXUVLH.js.map} +1 -1
- package/dist/chunks/{fixed-scroller.BZwgM5Io.js → fixed-scroller.B4Eag_Sd.js} +2 -2
- package/dist/chunks/{fixed-scroller.BZwgM5Io.js.map → fixed-scroller.B4Eag_Sd.js.map} +1 -1
- package/dist/chunks/{focus-trap.CnKbO3b1.js → focus-trap.DPJj05sV.js} +6 -3
- package/dist/chunks/{focus-trap.CnKbO3b1.js.map → focus-trap.DPJj05sV.js.map} +1 -1
- package/dist/chunks/{footer-actions.X_RokrtM.js → footer-actions.WvWwFKM8.js} +3 -3
- package/dist/chunks/{footer-actions.X_RokrtM.js.map → footer-actions.WvWwFKM8.js.map} +1 -1
- package/dist/chunks/{form-layout-title.xkALokzl.js → form-layout-title.BHL_MDqT.js} +2 -2
- package/dist/chunks/{form-layout-title.xkALokzl.js.map → form-layout-title.BHL_MDqT.js.map} +1 -1
- package/dist/chunks/{header.CUhyy9NL.js → header.CRC9X7v2.js} +20 -20
- package/dist/chunks/{header.CUhyy9NL.js.map → header.CRC9X7v2.js.map} +1 -1
- package/dist/chunks/{index.BMkVmbZj.js → index.BS3BeXQJ.js} +8 -7
- package/dist/chunks/{index.BMkVmbZj.js.map → index.BS3BeXQJ.js.map} +1 -1
- package/dist/chunks/{info-icon-with-popover.NzQciGvf.js → info-icon-with-popover.BM0esxKN.js} +2 -2
- package/dist/chunks/{info-icon-with-popover.NzQciGvf.js.map → info-icon-with-popover.BM0esxKN.js.map} +1 -1
- package/dist/chunks/{info-icon.BCSBCH-5.js → info-icon.DQn8-VSp.js} +2 -2
- package/dist/chunks/{info-icon.BCSBCH-5.js.map → info-icon.DQn8-VSp.js.map} +1 -1
- package/dist/chunks/{input-field-password.B4HgGilX.js → input-field-password.Bo7FiAOq.js} +6 -6
- package/dist/chunks/{input-field-password.B4HgGilX.js.map → input-field-password.Bo7FiAOq.js.map} +1 -1
- package/dist/chunks/{input-field-phone-number.CpY2BLfO.js → input-field-phone-number.DO2uU2XW.js} +2 -2
- package/dist/chunks/{input-field-phone-number.CpY2BLfO.js.map → input-field-phone-number.DO2uU2XW.js.map} +1 -1
- package/dist/chunks/{input-field.DQKiMtZo.js → input-field.rgA0t2sp.js} +3 -3
- package/dist/chunks/{input-field.DQKiMtZo.js.map → input-field.rgA0t2sp.js.map} +1 -1
- package/dist/chunks/inspector.types.Io6ONte7.js +184 -0
- package/dist/chunks/inspector.types.Io6ONte7.js.map +1 -0
- package/dist/chunks/{layout-row.9G7yVMVt.js → layout-row.BAz7JrXo.js} +2 -2
- package/dist/chunks/{layout-row.9G7yVMVt.js.map → layout-row.BAz7JrXo.js.map} +1 -1
- package/dist/chunks/{link.ClFi8uSm.js → link.CyGCtpse.js} +9 -9
- package/dist/chunks/link.CyGCtpse.js.map +1 -0
- package/dist/chunks/{listbox-option-tag.CFNRfAtf.js → listbox-option-tag.DIk4F59J.js} +2 -2
- package/dist/chunks/{listbox-option-tag.CFNRfAtf.js.map → listbox-option-tag.DIk4F59J.js.map} +1 -1
- package/dist/chunks/{menu.DIKy_Pyt.js → menu.DKluB_Dn.js} +45 -44
- package/dist/chunks/menu.DKluB_Dn.js.map +1 -0
- package/dist/chunks/{modal-fullscreen.Fqcd3B6-.js → modal-fullscreen.D1gvJFag.js} +5 -5
- package/dist/chunks/{modal-fullscreen.Fqcd3B6-.js.map → modal-fullscreen.D1gvJFag.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.PEGJemgc.js → modal.vue_vue_type_script_setup_true_lang.91_wyIIq.js} +5 -5
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.PEGJemgc.js.map → modal.vue_vue_type_script_setup_true_lang.91_wyIIq.js.map} +1 -1
- package/dist/chunks/{pagination.DogGVwa2.js → pagination.CGS6fGUm.js} +3 -3
- package/dist/chunks/{pagination.DogGVwa2.js.map → pagination.CGS6fGUm.js.map} +1 -1
- package/dist/chunks/payment-method.CGNHCiy1.js +73 -0
- package/dist/chunks/payment-method.CGNHCiy1.js.map +1 -0
- package/dist/chunks/payment-method.types.CJKfZQN5.js.map +1 -1
- package/dist/chunks/{popover.NEP6wuPa.js → popover.BNOfWuSb.js} +94 -93
- package/dist/chunks/popover.BNOfWuSb.js.map +1 -0
- package/dist/chunks/{popper-container.DKDjRvdv.js → popper-container.BvGYgqiE.js} +2 -2
- package/dist/chunks/{popper-container.DKDjRvdv.js.map → popper-container.BvGYgqiE.js.map} +1 -1
- package/dist/chunks/{promo-banner.DTH4CZ_2.js → promo-banner.BUtq-2iR.js} +3 -3
- package/dist/chunks/{promo-banner.DTH4CZ_2.js.map → promo-banner.BUtq-2iR.js.map} +1 -1
- package/dist/chunks/{radio-group.BLHcC22p.js → radio-group.CivaJaaQ.js} +4 -4
- package/dist/chunks/{radio-group.BLHcC22p.js.map → radio-group.CivaJaaQ.js.map} +1 -1
- package/dist/chunks/{search-bar.CatznIEM.js → search-bar.Zdai5UhB.js} +3 -3
- package/dist/chunks/{search-bar.CatznIEM.js.map → search-bar.Zdai5UhB.js.map} +1 -1
- package/dist/chunks/{secondary-nav.LIzkbQY1.js → secondary-nav.C6D6dcs6.js} +3 -3
- package/dist/chunks/{secondary-nav.LIzkbQY1.js.map → secondary-nav.C6D6dcs6.js.map} +1 -1
- package/dist/chunks/{segmented-control.DOxyrdMz.js → segmented-control.DKWpxDho.js} +2 -2
- package/dist/chunks/{segmented-control.DOxyrdMz.js.map → segmented-control.DKWpxDho.js.map} +1 -1
- package/dist/chunks/{selection-card-group.BKatprYB.js → selection-card-group.DzwIeKQC.js} +12 -12
- package/dist/chunks/{selection-card-group.BKatprYB.js.map → selection-card-group.DzwIeKQC.js.map} +1 -1
- package/dist/chunks/{sidepanel.Be3uyOVd.js → sidepanel.DzF1iCZM.js} +5 -5
- package/dist/chunks/{sidepanel.Be3uyOVd.js.map → sidepanel.DzF1iCZM.js.map} +1 -1
- package/dist/chunks/{structured-list-item.BwgEJywb.js → structured-list-item.DQHvIbQo.js} +5 -5
- package/dist/chunks/{structured-list-item.BwgEJywb.js.map → structured-list-item.DQHvIbQo.js.map} +1 -1
- package/dist/chunks/{summary-grid-item-custom.Vx_YxH7S.js → summary-grid-item-custom.D6s8sw36.js} +4 -4
- package/dist/chunks/{summary-grid-item-custom.Vx_YxH7S.js.map → summary-grid-item-custom.D6s8sw36.js.map} +1 -1
- package/dist/chunks/{tabs.CR2tWuz3.js → tabs.CiTn85aw.js} +2 -2
- package/dist/chunks/{tabs.CR2tWuz3.js.map → tabs.CiTn85aw.js.map} +1 -1
- package/dist/chunks/{tag.Chr4TP7d.js → tag.Bmw9RaOG.js} +2 -2
- package/dist/chunks/{tag.Chr4TP7d.js.map → tag.Bmw9RaOG.js.map} +1 -1
- package/dist/chunks/{textarea.BLhKC_iw.js → textarea.CzuRg2pM.js} +3 -3
- package/dist/chunks/{textarea.BLhKC_iw.js.map → textarea.CzuRg2pM.js.map} +1 -1
- package/dist/chunks/{timeline-item.BVm2YscV.js → timeline-item.CjltBKy0.js} +7 -7
- package/dist/chunks/{timeline-item.BVm2YscV.js.map → timeline-item.CjltBKy0.js.map} +1 -1
- package/dist/chunks/{toast.A5f1_NqV.js → toast.BWxPbCOy.js} +2 -2
- package/dist/chunks/{toast.A5f1_NqV.js.map → toast.BWxPbCOy.js.map} +1 -1
- package/dist/chunks/{toggle-button.CCgvi7TQ.js → toggle-button.B9LWddx9.js} +23 -22
- package/dist/chunks/toggle-button.B9LWddx9.js.map +1 -0
- package/dist/chunks/{tooltip.2MOlGHD9.js → tooltip.DS1ok8gh.js} +2 -2
- package/dist/chunks/{tooltip.2MOlGHD9.js.map → tooltip.DS1ok8gh.js.map} +1 -1
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.D4ifiOTn.js → tutorial.vue_vue_type_script_setup_true_lang.CxTHd8yr.js} +5 -5
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.D4ifiOTn.js.map → tutorial.vue_vue_type_script_setup_true_lang.CxTHd8yr.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.CoelUIEy.js → use-cached-selected-values.CxAhnNa6.js} +483 -479
- package/dist/chunks/use-cached-selected-values.CxAhnNa6.js.map +1 -0
- package/dist/code-snippet.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/dropdown.js +3 -3
- package/dist/empty-state.js +1 -1
- package/dist/file-uploader.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +54 -54
- package/dist/info-icon.js +1 -1
- package/dist/input-field-password.js +1 -1
- package/dist/input-field-phone-number.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/inspector.js +1 -1
- package/dist/internal.js +12 -12
- package/dist/layout.js +1 -1
- package/dist/link.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/pagination.js +1 -1
- package/dist/payment-method.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/promo-banner.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/segmented-control.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento-dark.css +2 -1
- package/dist/styles/bento-light.css +2 -1
- package/dist/styles/bento.css +2 -1
- package/dist/styles/legacy.css +3 -0
- package/dist/styles/styleguide.css +2 -1
- package/dist/summary-grid.js +1 -1
- package/dist/tabs.js +1 -1
- package/dist/tag.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/toast.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +4 -4
- package/dist/chunks/data-grid.CdTcZ3DP.js.map +0 -1
- package/dist/chunks/dropdown.BN6DALZa.js.map +0 -1
- package/dist/chunks/file-uploader.CLZ1rPz0.js.map +0 -1
- package/dist/chunks/inspector.types.C-Qos3dV.js +0 -124
- package/dist/chunks/inspector.types.C-Qos3dV.js.map +0 -1
- package/dist/chunks/link.ClFi8uSm.js.map +0 -1
- package/dist/chunks/menu.DIKy_Pyt.js.map +0 -1
- package/dist/chunks/payment-method.NguqkTwG.js +0 -103
- package/dist/chunks/payment-method.NguqkTwG.js.map +0 -1
- package/dist/chunks/popover.NEP6wuPa.js.map +0 -1
- package/dist/chunks/toggle-button.CCgvi7TQ.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.CoelUIEy.js.map +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as C, computed as p, resolveComponent as T, createBlock as
|
|
2
|
-
import { P as O } from "./popper-container.
|
|
1
|
+
import { defineComponent as C, computed as p, resolveComponent as T, createBlock as m, openBlock as a, withCtx as b, createTextVNode as Y, toDisplayString as J, normalizeClass as P, createVNode as d, useSlots as K, useAttrs as x, inject as g, ref as H, toRefs as W, Transition as q, createCommentVNode as n, unref as o, createElementBlock as r, renderSlot as B, createElementVNode as z } from "vue";
|
|
2
|
+
import { P as O } from "./popper-container.BvGYgqiE.js";
|
|
3
3
|
import { c as M, b as G } from "./popper-container.types.BCZMbVFD.js";
|
|
4
4
|
import { B as Q, a as h } from "./typography.DN5eC5ch.js";
|
|
5
5
|
import { _ as E } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
6
|
-
import { B as X } from "./button.
|
|
6
|
+
import { B as X } from "./button.BXVKUuum.js";
|
|
7
7
|
import { C as Z } from "./cross.BZYw4R3N.js";
|
|
8
|
-
import { u as
|
|
9
|
-
import { u as
|
|
10
|
-
import { c as $, B as
|
|
8
|
+
import { u as ee } from "./use-has-slot.B7eQSabc.js";
|
|
9
|
+
import { u as te } from "./aria-label.CaUURpnB.js";
|
|
10
|
+
import { c as $, B as oe } from "./button-actions.BZEKcCbe.js";
|
|
11
11
|
import "../assets/popover.css";
|
|
12
|
-
const
|
|
12
|
+
const ae = C({
|
|
13
13
|
components: { BentoTypography: Q },
|
|
14
14
|
props: {
|
|
15
15
|
/**
|
|
@@ -21,31 +21,31 @@ const at = C({
|
|
|
21
21
|
*/
|
|
22
22
|
title: { type: String, default: null }
|
|
23
23
|
},
|
|
24
|
-
setup(
|
|
25
|
-
const
|
|
26
|
-
() =>
|
|
24
|
+
setup(e) {
|
|
25
|
+
const i = p(() => !e.isImageTitle), u = p(
|
|
26
|
+
() => e.isImageTitle ? h.SUBTITLE : h.BODY
|
|
27
27
|
);
|
|
28
28
|
return {
|
|
29
29
|
// Values
|
|
30
|
-
isStrongest:
|
|
30
|
+
isStrongest: i,
|
|
31
31
|
titleVariant: u
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
});
|
|
35
|
-
function
|
|
36
|
-
const
|
|
37
|
-
return a(),
|
|
38
|
-
strongest:
|
|
39
|
-
variant:
|
|
35
|
+
function se(e, i, u, t, v, _) {
|
|
36
|
+
const s = T("bento-typography");
|
|
37
|
+
return a(), m(s, {
|
|
38
|
+
strongest: e.isStrongest,
|
|
39
|
+
variant: e.titleVariant,
|
|
40
40
|
el: "span"
|
|
41
41
|
}, {
|
|
42
|
-
default:
|
|
43
|
-
Y(J(
|
|
42
|
+
default: b(() => [
|
|
43
|
+
Y(J(e.title), 1)
|
|
44
44
|
]),
|
|
45
45
|
_: 1
|
|
46
46
|
}, 8, ["strongest", "variant"]);
|
|
47
47
|
}
|
|
48
|
-
const
|
|
48
|
+
const ie = /* @__PURE__ */ E(ae, [["render", se]]), ne = C({
|
|
49
49
|
name: "bento-popover-dismiss-button",
|
|
50
50
|
components: { BentoButton: X, CrossIcon: Z },
|
|
51
51
|
props: {
|
|
@@ -54,42 +54,42 @@ const it = /* @__PURE__ */ E(at, [["render", st]]), nt = C({
|
|
|
54
54
|
default: !1
|
|
55
55
|
}
|
|
56
56
|
},
|
|
57
|
-
setup(
|
|
57
|
+
setup(e) {
|
|
58
58
|
return {
|
|
59
59
|
// Values
|
|
60
|
-
conditionalClass: p(() => ({ "b-popover-dismiss-button--on-image":
|
|
60
|
+
conditionalClass: p(() => ({ "b-popover-dismiss-button--on-image": e.onImage }))
|
|
61
61
|
};
|
|
62
62
|
}
|
|
63
63
|
});
|
|
64
|
-
function
|
|
65
|
-
const
|
|
66
|
-
return a(), f
|
|
67
|
-
class: P(
|
|
64
|
+
function le(e, i, u, t, v, _) {
|
|
65
|
+
const s = T("cross-icon"), f = T("bento-button");
|
|
66
|
+
return a(), m(f, {
|
|
67
|
+
class: P(e.conditionalClass),
|
|
68
68
|
variant: "tertiary",
|
|
69
|
-
onClick:
|
|
69
|
+
onClick: i[0] || (i[0] = (S) => e.$emit("click"))
|
|
70
70
|
}, {
|
|
71
|
-
iconLeft:
|
|
72
|
-
d(
|
|
71
|
+
iconLeft: b(() => [
|
|
72
|
+
d(s, { "svg-title": "dismiss" })
|
|
73
73
|
]),
|
|
74
74
|
_: 1
|
|
75
75
|
}, 8, ["class"]);
|
|
76
76
|
}
|
|
77
|
-
const L = /* @__PURE__ */ E(
|
|
77
|
+
const L = /* @__PURE__ */ E(ne, [["render", le], ["__scopeId", "data-v-df01cfb8"]]), N = { ...M }, re = Symbol("popover offset injection key"), pe = Symbol("input field popover injection key"), ce = Symbol("input field popover injection key"), de = {
|
|
78
78
|
key: 0,
|
|
79
79
|
class: "b-popover__image"
|
|
80
|
-
},
|
|
80
|
+
}, ue = {
|
|
81
81
|
key: 0,
|
|
82
82
|
class: "b-popover__image-dismiss-button"
|
|
83
|
-
},
|
|
83
|
+
}, fe = {
|
|
84
84
|
key: 1,
|
|
85
85
|
class: "b-popover__header"
|
|
86
|
-
},
|
|
86
|
+
}, me = { class: "b-popover__header-title" }, be = { key: 0 }, ve = {
|
|
87
87
|
key: 3,
|
|
88
88
|
class: "b-popover__footer"
|
|
89
|
-
},
|
|
89
|
+
}, _e = {};
|
|
90
90
|
var A;
|
|
91
|
-
const
|
|
92
|
-
...
|
|
91
|
+
const ye = /* @__PURE__ */ C({
|
|
92
|
+
..._e,
|
|
93
93
|
__name: "popover",
|
|
94
94
|
props: {
|
|
95
95
|
/**
|
|
@@ -133,7 +133,7 @@ const yt = /* @__PURE__ */ C({
|
|
|
133
133
|
actionsLayout: {
|
|
134
134
|
type: String,
|
|
135
135
|
default: $.BUTTONS_END,
|
|
136
|
-
validator: (
|
|
136
|
+
validator: (e) => Object.values($).includes(e)
|
|
137
137
|
},
|
|
138
138
|
/**
|
|
139
139
|
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
@@ -219,7 +219,7 @@ const yt = /* @__PURE__ */ C({
|
|
|
219
219
|
position: {
|
|
220
220
|
type: String,
|
|
221
221
|
default: N.BOTTOM_START,
|
|
222
|
-
validator: (
|
|
222
|
+
validator: (e) => Object.values(N).includes(e)
|
|
223
223
|
},
|
|
224
224
|
/**
|
|
225
225
|
* Displays the popover in a small size.
|
|
@@ -252,91 +252,92 @@ const yt = /* @__PURE__ */ C({
|
|
|
252
252
|
}
|
|
253
253
|
},
|
|
254
254
|
emits: ["dismiss", "placement"],
|
|
255
|
-
setup(
|
|
256
|
-
const
|
|
257
|
-
var
|
|
255
|
+
setup(e, { emit: i }) {
|
|
256
|
+
const t = e, v = i, _ = K(), s = x(), f = p(() => {
|
|
257
|
+
var l;
|
|
258
258
|
return {
|
|
259
|
-
id: (
|
|
259
|
+
id: (l = s.id) == null ? void 0 : l.toString(),
|
|
260
|
+
role: (s == null ? void 0 : s.role) === null ? void 0 : G.POPOVER
|
|
260
261
|
};
|
|
261
|
-
}), S = g(
|
|
262
|
+
}), S = g(re, 2), F = H(s["aria-label"]), { ariaLabel: V, title: y } = W(t), w = te({
|
|
262
263
|
ariaLabel: F.value,
|
|
263
264
|
// TODO: take this line away when the aria-label props is removed
|
|
264
265
|
label: V,
|
|
265
266
|
defaultFallback: y
|
|
266
|
-
}), R = g(
|
|
267
|
-
"b-popover--small":
|
|
268
|
-
"b-popover--with-divider": !!
|
|
269
|
-
"b-popover--large":
|
|
270
|
-
"b-popover--fit-content":
|
|
271
|
-
"b-popover--without-space":
|
|
267
|
+
}), R = g(ce, !1) || g(pe, !1), D = p(() => ({
|
|
268
|
+
"b-popover--small": t.small && !t.large,
|
|
269
|
+
"b-popover--with-divider": !!t.divider,
|
|
270
|
+
"b-popover--large": t.large && !t.small,
|
|
271
|
+
"b-popover--fit-content": t.fitContent,
|
|
272
|
+
"b-popover--without-space": t.withoutSpace,
|
|
272
273
|
"b-popover--overflow-visible": R
|
|
273
274
|
})), j = p(() => ({
|
|
274
|
-
"b-popover__content--with-title": !!
|
|
275
|
-
})), k = () =>
|
|
276
|
-
return (
|
|
277
|
-
default:
|
|
278
|
-
|
|
275
|
+
"b-popover__content--with-title": !!t.title
|
|
276
|
+
})), k = () => v("dismiss"), c = ee(_);
|
|
277
|
+
return (l, I) => (a(), m(q, { name: "b-popover__animation" }, {
|
|
278
|
+
default: b(() => [
|
|
279
|
+
e.open ? (a(), m(o(O), {
|
|
279
280
|
key: 0,
|
|
280
|
-
id:
|
|
281
|
-
"aria-role":
|
|
282
|
-
"aria-label":
|
|
281
|
+
id: f.value.id,
|
|
282
|
+
"aria-role": f.value.role,
|
|
283
|
+
"aria-label": o(w),
|
|
283
284
|
arrow: { classes: ["b-popover__arrow"] },
|
|
284
|
-
"disabled-focus-trap":
|
|
285
|
+
"disabled-focus-trap": e.disableFocusTrap,
|
|
285
286
|
class: P([D.value, "b-popover"]),
|
|
286
|
-
"fallback-position":
|
|
287
|
-
"fixed-positioning":
|
|
288
|
-
offset: [0,
|
|
289
|
-
position:
|
|
290
|
-
"target-element":
|
|
291
|
-
onPlacement: I[0] || (I[0] = (U) =>
|
|
287
|
+
"fallback-position": e.fallbackPosition,
|
|
288
|
+
"fixed-positioning": e.fixedPositioning,
|
|
289
|
+
offset: [0, o(S)],
|
|
290
|
+
position: e.position,
|
|
291
|
+
"target-element": e.targetElement,
|
|
292
|
+
onPlacement: I[0] || (I[0] = (U) => l.$emit("placement", U))
|
|
292
293
|
}, {
|
|
293
|
-
default:
|
|
294
|
-
|
|
295
|
-
|
|
294
|
+
default: b(() => [
|
|
295
|
+
o(c)("image") ? (a(), r("div", de, [
|
|
296
|
+
e.dismissible ? (a(), r("div", ue, [
|
|
296
297
|
d(L, {
|
|
297
298
|
"on-image": "",
|
|
298
299
|
onClick: k
|
|
299
300
|
})
|
|
300
|
-
])) :
|
|
301
|
-
B(
|
|
302
|
-
])) :
|
|
303
|
-
|
|
304
|
-
z("div",
|
|
305
|
-
|
|
306
|
-
d(
|
|
307
|
-
title:
|
|
308
|
-
"is-image-title": !!
|
|
301
|
+
])) : n("", !0),
|
|
302
|
+
B(l.$slots, "image", {}, void 0, !0)
|
|
303
|
+
])) : n("", !0),
|
|
304
|
+
o(y) ? (a(), r("div", fe, [
|
|
305
|
+
z("div", me, [
|
|
306
|
+
o(c)("headerIcon") ? B(l.$slots, "headerIcon", { key: 0 }, void 0, !0) : n("", !0),
|
|
307
|
+
d(ie, {
|
|
308
|
+
title: o(y),
|
|
309
|
+
"is-image-title": !!o(c)("image")
|
|
309
310
|
}, null, 8, ["title", "is-image-title"])
|
|
310
311
|
]),
|
|
311
|
-
|
|
312
|
+
e.dismissible && !o(c)("image") ? (a(), r("div", be, [
|
|
312
313
|
d(L, { onClick: k })
|
|
313
|
-
])) :
|
|
314
|
-
])) :
|
|
315
|
-
|
|
314
|
+
])) : n("", !0)
|
|
315
|
+
])) : n("", !0),
|
|
316
|
+
o(c)("default") ? (a(), r("div", {
|
|
316
317
|
key: 2,
|
|
317
318
|
class: P(["b-popover__content", j.value])
|
|
318
319
|
}, [
|
|
319
|
-
B(
|
|
320
|
-
], 2)) :
|
|
321
|
-
|
|
322
|
-
d(
|
|
323
|
-
actions:
|
|
324
|
-
layout:
|
|
320
|
+
B(l.$slots, "default", {}, void 0, !0)
|
|
321
|
+
], 2)) : n("", !0),
|
|
322
|
+
e.actions ? (a(), r("div", ve, [
|
|
323
|
+
d(o(oe), {
|
|
324
|
+
actions: e.actions,
|
|
325
|
+
layout: e.actionsLayout
|
|
325
326
|
}, null, 8, ["actions", "layout"])
|
|
326
|
-
])) :
|
|
327
|
+
])) : n("", !0)
|
|
327
328
|
]),
|
|
328
329
|
_: 3
|
|
329
|
-
}, 8, ["id", "aria-role", "aria-label", "disabled-focus-trap", "class", "fallback-position", "fixed-positioning", "offset", "position", "target-element"])) :
|
|
330
|
+
}, 8, ["id", "aria-role", "aria-label", "disabled-focus-trap", "class", "fallback-position", "fixed-positioning", "offset", "position", "target-element"])) : n("", !0)
|
|
330
331
|
]),
|
|
331
332
|
_: 3
|
|
332
333
|
}));
|
|
333
334
|
}
|
|
334
|
-
}),
|
|
335
|
+
}), he = /* @__PURE__ */ E(ye, [["__scopeId", "data-v-c53a73b8"]]);
|
|
335
336
|
export {
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
337
|
+
he as B,
|
|
338
|
+
pe as I,
|
|
339
|
+
re as P,
|
|
339
340
|
N as a,
|
|
340
|
-
|
|
341
|
+
ce as b
|
|
341
342
|
};
|
|
342
|
-
//# sourceMappingURL=popover.
|
|
343
|
+
//# sourceMappingURL=popover.BNOfWuSb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"popover.BNOfWuSb.js","sources":["../../../vue2/src/components/popover/components/popover-title/popover-title.vue","../../../vue2/src/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue","../../../vue2/src/components/popover/popover.types.ts","../../../vue2/src/components/popover/popover.keys.ts","../../../vue2/src/components/filter-bar/components/input-filter/input-filter.keys.ts","../../../vue2/src/components/filter-bar/components/input-with-dropdown-filter/input-with-dropdown-filter.keys.ts","../../../vue2/src/components/popover/popover.vue"],"sourcesContent":["<template>\n <bento-typography :strongest=\"isStrongest\" :variant=\"titleVariant\" el=\"span\">\n {{ title }}\n </bento-typography>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent } from 'vue';\n import { BentoTypography, BentoTypographyVariant } from '@/components/typography';\n\n export default defineComponent({\n components: { BentoTypography },\n props: {\n /**\n * Indicates if the popover contains an image.\n */\n isImageTitle: { type: Boolean, default: false },\n\n /**\n * Indicates the title you want to give the popover.\n */\n title: { type: String, default: null },\n },\n setup(props) {\n // Use strongest only when it has no image\n const isStrongest = computed(() => !props.isImageTitle);\n\n // If an image is present, change the variant from BODY to SUBTITLE and remove the \"strongest\" property of the title\n const titleVariant = computed(() =>\n props.isImageTitle ? BentoTypographyVariant.SUBTITLE : BentoTypographyVariant.BODY\n );\n\n return {\n // Values\n isStrongest,\n titleVariant,\n };\n },\n });\n</script>\n","<template>\n <bento-button :class=\"conditionalClass\" variant=\"tertiary\" @click=\"$emit('click')\">\n <template #iconLeft>\n <cross-icon svg-title=\"dismiss\" />\n </template>\n </bento-button>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent } from 'vue';\n import { BentoButton } from '@/components/button';\n import CrossIcon from '@adyen/ui-assets-icons-16/vue/cross';\n\n export default defineComponent({\n name: 'bento-popover-dismiss-button',\n components: { BentoButton, CrossIcon },\n props: {\n onImage: {\n type: Boolean,\n default: false,\n },\n },\n setup(props) {\n const conditionalClass = computed(() => ({ 'b-popover-dismiss-button--on-image': props.onImage }));\n\n return {\n // Values\n conditionalClass,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./popover-dismiss-button.scss\" />\n","import { PopperContainerPosition } from '../popper-container';\n\n/**\n * @deprecated for usage with properties since version 2.0. Use the string literal instead.\n */\nexport const BentoPopoverPositions = { ...PopperContainerPosition };\nexport type BentoPopoverPositions = PopperContainerPosition;\n","export const POPOVER_OFFSET_INJECTION_KEY = Symbol('popover offset injection key');\n","/**\n * @deprecated from version 2.0.0. Use BentoFilterItemType.INPUT_DROPDOWN and INPUT_FILTER_WITH_DROPDOWN_POPOVER_INJECTION_KEY instead.\n */\nexport const INPUT_FILTER_POPOVER_INJECTION_KEY = Symbol('input field popover injection key');\n","export const INPUT_FILTER_WITH_DROPDOWN_POPOVER_INJECTION_KEY = Symbol('input field popover injection key');\n","<template>\n <Transition name=\"b-popover__animation\">\n <popper-container\n v-if=\"open\"\n :id=\"computedAttributes['id']\"\n :aria-role=\"computedAttributes.role\"\n :aria-label=\"computedAriaLabel\"\n :arrow=\"{ classes: ['b-popover__arrow'] }\"\n :disabled-focus-trap=\"disableFocusTrap\"\n :class=\"conditionalClasses\"\n :fallback-position=\"fallbackPosition\"\n :fixed-positioning=\"fixedPositioning\"\n :offset=\"[0, offset]\"\n :position=\"position\"\n :target-element=\"targetElement\"\n class=\"b-popover\"\n @placement=\"$emit('placement', $event)\"\n >\n <div v-if=\"hasSlot('image')\" class=\"b-popover__image\">\n <div v-if=\"dismissible\" class=\"b-popover__image-dismiss-button\">\n <bento-popover-dismiss-button on-image @click=\"dismissPopover\" />\n </div>\n <slot name=\"image\"></slot>\n </div>\n <div v-if=\"title\" class=\"b-popover__header\">\n <div class=\"b-popover__header-title\">\n <slot v-if=\"hasSlot('headerIcon')\" name=\"headerIcon\"></slot>\n <bento-popover-title :title=\"title\" :is-image-title=\"!!hasSlot('image')\" />\n </div>\n <div v-if=\"dismissible && !hasSlot('image')\">\n <bento-popover-dismiss-button @click=\"dismissPopover\" />\n </div>\n </div>\n\n <div v-if=\"hasSlot('default')\" class=\"b-popover__content\" :class=\"contentConditionalClasses\">\n <slot></slot>\n </div>\n\n <div v-if=\"actions\" class=\"b-popover__footer\">\n <bento-button-actions :actions=\"actions\" :layout=\"actionsLayout\"></bento-button-actions>\n </div>\n </popper-container>\n </Transition>\n</template>\n\n<script setup lang=\"ts\">\n import { computed, inject, PropType, ref, toRefs, useAttrs, useSlots } from 'vue';\n\n import { BentoButtonActions, BentoButtonActionsLayout, BentoButtonActionsList } from '@/components/button';\n import { PopperContainer, PopperContainerAriaRole } from '@/components/popper-container';\n import BentoPopoverTitle from './components/popover-title/popover-title.vue';\n import BentoPopoverDismissButton from './components/popover-dismiss-button/popover-dismiss-button.vue';\n\n import { BentoPopoverPositions } from './popover.types';\n import { Placement } from '@floating-ui/vue';\n\n import { useHasSlot } from '@/composables';\n import { useAriaLabel } from '@/utils/ts/aria-label';\n\n import { POPOVER_OFFSET_INJECTION_KEY } from './popover.keys';\n import { INPUT_FILTER_POPOVER_INJECTION_KEY } from '@/components/filter-bar/components/input-filter/input-filter.keys';\n import { INPUT_FILTER_WITH_DROPDOWN_POPOVER_INJECTION_KEY } from '@/components/filter-bar/components/input-with-dropdown-filter/input-with-dropdown-filter.keys';\n\n const DEFAULT_OFFSET = 2;\n\n const props = defineProps({\n /**\n * List of actions that will be used to render the buttons.\n * First element in the list will be rendered as \"primary\".\n * All elements after the first will be rendered as \"secondary\".\n *\n * Each object in the list should have a `title`, an `event` and\n * (optional) a Vue `icon` from the library `@adyen/ui-assets-icons-16`.\n *\n * `title`: Button's text.\n *\n * `event`: Event triggered when clicking the Button.\n *\n * `icon`: Vue Icon from the library `@adyen/ui-assets-icons-16`.\n *\n * ```\n * [{\n * title: 'Primary',\n * event: () => { ... },\n * icon: FourPeopleIcon\n * }, {\n * title: 'Secondary',\n * event: () => { ... }\n * }]\n * ```\n */\n actions: {\n type: Array as PropType<BentoButtonActionsList>,\n default: null,\n },\n\n /**\n * Defines the layout in which the button actions is presented.\n * It can be one of:\n *\n * @values BUTTONS_END\n * @values FILL_CONTAINER\n * @values SPACE_BETWEEN\n * @values VERTICAL_STACK\n */\n actionsLayout: {\n type: String as PropType<BentoButtonActionsLayout | `${BentoButtonActionsLayout}`>,\n default: BentoButtonActionsLayout.BUTTONS_END,\n validator: (value: BentoButtonActionsLayout) => Object.values(BentoButtonActionsLayout).includes(value),\n },\n\n /**\n * @deprecated from version 2.0.0. Use the aria-label attribute instead.\n */\n /**\n * Defines a string value that provides an accessible name for the popover.\n */\n ariaLabel: {\n type: String,\n default: null,\n },\n\n /**\n * Adds a divider line to the actions section, reduces the top/bottom paddings and removes all padding in the \"default\" slot.\n */\n divider: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Supports disabling focus trap functionality to avoid scroll into view behavior when we don't need it.\n * */\n disableFocusTrap: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Adds a \"dismiss\" icon that triggers the \"dismiss\" event. Requires the `title` prop to be set.\n */\n dismissible: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Allows to configure to fallback position to the one specified, it could be ['right', 'top', ...].\n * Useful when not using auto as starting placement.\n * https://floating-ui.com/docs/flip#fallbackplacements\n */\n fallbackPosition: {\n type: Array as PropType<Placement[]>,\n default: () => ['bottom-start', 'right-start', 'top-start', 'left-start'],\n },\n\n /**\n * Sets the size of the container to fit its content\n */\n fitContent: { type: Boolean, default: false },\n\n /**\n * Instructs popover to be visible outside of the containing container.\n * Useful when component would be used in limited containers like Modal, Side panel, etc.\n * @see {@link https://floating-ui.com/docs/usefloating#strategy}\n */\n fixedPositioning: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Toggles the popover open and closed\n */\n open: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Displays the popover in a large size.\n */\n large: {\n type: Boolean,\n default: false,\n },\n\n /**\n * @deprecated\n * NOTE: This property no longer functions since moving to the floating-ui framework.\n */\n modifiers: { type: Array, default: null },\n\n /**\n * Popover's position relative to the target element.\n * Possible values are:\n * 'auto', 'auto-start', 'auto-end',\n * 'top', 'top-start', 'top-end'\n * 'right', 'right-start', 'right-end'\n * 'bottom', 'bottom-start', 'bottom-end'\n * 'left', 'left-start', 'left-end'\n */\n position: {\n type: String as PropType<BentoPopoverPositions | `${BentoPopoverPositions}`>,\n default: BentoPopoverPositions.BOTTOM_START,\n validator: (value: BentoPopoverPositions) => Object.values(BentoPopoverPositions).includes(value),\n },\n\n /**\n * Displays the popover in a small size.\n */\n small: {\n type: Boolean,\n default: false,\n },\n\n /**\n * Indicates the title you want to give the popover.\n */\n title: {\n type: String,\n default: null,\n },\n\n /**\n * Popover's target element.\n * The popover will position itself relatively to target element, in specified position.\n */\n targetElement: {\n type: PopperContainer.props?.targetElement.type,\n required: true,\n },\n /**\n * Displays the popover without padding.\n */\n withoutSpace: {\n type: Boolean,\n default: false,\n },\n });\n\n const emit = defineEmits<{\n /**\n * Triggered when the `dismiss` button is clicked\n */\n (e: 'dismiss'): void;\n /**\n * Triggered when the popover `placement` changes\n */\n (e: 'placement', placement: Placement): void;\n }>();\n\n const slots = useSlots();\n const attrs = useAttrs();\n\n const computedAttributes = computed(() => ({\n id: attrs.id?.toString() as string,\n role: attrs?.['role'] === null ? undefined : PopperContainerAriaRole.POPOVER,\n }));\n\n const offset = inject<number>(POPOVER_OFFSET_INJECTION_KEY, DEFAULT_OFFSET);\n\n const ariaLabelAttribute = ref(attrs['aria-label']);\n const { ariaLabel, title } = toRefs(props);\n const computedAriaLabel = useAriaLabel({\n ariaLabel: ariaLabelAttribute.value as string,\n // TODO: take this line away when the aria-label props is removed\n label: ariaLabel,\n defaultFallback: title,\n });\n\n const isOverflowVisible =\n inject(INPUT_FILTER_WITH_DROPDOWN_POPOVER_INJECTION_KEY, false) ||\n inject(INPUT_FILTER_POPOVER_INJECTION_KEY, false);\n\n const conditionalClasses = computed(() => ({\n 'b-popover--small': props.small && !props.large,\n 'b-popover--with-divider': !!props.divider,\n 'b-popover--large': props.large && !props.small,\n 'b-popover--fit-content': props.fitContent,\n 'b-popover--without-space': props.withoutSpace,\n 'b-popover--overflow-visible': isOverflowVisible,\n }));\n\n const contentConditionalClasses = computed(() => ({\n 'b-popover__content--with-title': !!props.title,\n }));\n\n const dismissPopover = () => emit('dismiss');\n\n const hasSlot = useHasSlot(slots);\n</script>\n\n<script lang=\"ts\">\n /**\n * Example description of the component...\n *\n * @example\n * import { BentoPopover } from '@adyen/adl-vue2';\n *\n * export default {\n * components: { BentoPopover },\n * template: `\n * <bento-popover id=\"your-popover-id\">\n * ...Example code of the component\n * </bento-popover>\n * `\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./popover.scss\" />\n"],"names":["_sfc_main$2","defineComponent","BentoTypography","props","isStrongest","computed","titleVariant","BentoTypographyVariant","_component_bento_typography","resolveComponent","openBlock","createBlock","_ctx","createTextVNode","toDisplayString","_sfc_main$1","BentoButton","CrossIcon","_component_bento_button","normalizeClass","_cache","$event","createVNode","_component_cross_icon","BentoPopoverPositions","PopperContainerPosition","POPOVER_OFFSET_INJECTION_KEY","INPUT_FILTER_POPOVER_INJECTION_KEY","INPUT_FILTER_WITH_DROPDOWN_POPOVER_INJECTION_KEY","__default__","__props","emit","__emit","slots","useSlots","attrs","useAttrs","computedAttributes","_a","PopperContainerAriaRole","offset","inject","ariaLabelAttribute","ref","ariaLabel","title","toRefs","computedAriaLabel","useAriaLabel","isOverflowVisible","conditionalClasses","contentConditionalClasses","dismissPopover","hasSlot","useHasSlot"],"mappings":"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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { computed as C, unref as V, ref as z, shallowRef as Jt, watch as ot, getCurrentScope as Qt, onScopeDispose as Zt, shallowReadonly as Q, defineComponent as te, toRefs as ee, createBlock as ne, openBlock as Ct, mergeProps as Et, withCtx as oe, renderSlot as ie, createElementBlock as re, createCommentVNode as se } from "vue";
|
|
2
|
-
import { B as le } from "./focus-trap.
|
|
2
|
+
import { B as le } from "./focus-trap.DPJj05sV.js";
|
|
3
3
|
import { c as St, b as ce } from "./popper-container.types.BCZMbVFD.js";
|
|
4
4
|
import { _ as ae } from "./_plugin-vue_export-helper.CHgC5LLL.js";
|
|
5
5
|
import "../assets/popper-container.css";
|
|
@@ -1389,4 +1389,4 @@ export {
|
|
|
1389
1389
|
ln as h,
|
|
1390
1390
|
je as o
|
|
1391
1391
|
};
|
|
1392
|
-
//# sourceMappingURL=popper-container.
|
|
1392
|
+
//# sourceMappingURL=popper-container.BvGYgqiE.js.map
|