@adyen/bento-vue3 1.34.0 → 1.35.1
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/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.css +1 -1
- package/dist/assets/code-snippet.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/popover.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/structured-list-item.css +1 -1
- package/dist/assets/tutorial.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 +2 -2
- package/dist/chunks/accordion-item.C30QFxol.js +142 -0
- package/dist/chunks/accordion-item.C30QFxol.js.map +1 -0
- package/dist/chunks/{action-bar.DGQYYi8b.js → action-bar.5XBrXwYv.js} +58 -44
- package/dist/chunks/{action-bar.DGQYYi8b.js.map → action-bar.5XBrXwYv.js.map} +1 -1
- package/dist/chunks/{alert.Bz4tNKDH.js → alert.BvSx_Bi7.js} +26 -20
- package/dist/chunks/{alert.Bz4tNKDH.js.map → alert.BvSx_Bi7.js.map} +1 -1
- 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.BenvK-Np.js} +35 -29
- package/dist/chunks/{base-modal.Bl7DBkt0.js.map → base-modal.BenvK-Np.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.BLmcwr2f.js → button-actions-with-menu.CHOjMHpd.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.BLmcwr2f.js.map → button-actions-with-menu.CHOjMHpd.js.map} +1 -1
- package/dist/chunks/{button-actions.hdK5IgrZ.js → button-actions.DyI_dSvx.js} +2 -2
- package/dist/chunks/{button-actions.hdK5IgrZ.js.map → button-actions.DyI_dSvx.js.map} +1 -1
- package/dist/chunks/{calendar.D--sOCBT.js → calendar.DzYaxc0M.js} +148 -148
- package/dist/chunks/calendar.DzYaxc0M.js.map +1 -0
- package/dist/chunks/{card.BvSoujBc.js → card.Bt8jcp9I.js} +45 -37
- package/dist/chunks/card.Bt8jcp9I.js.map +1 -0
- package/dist/chunks/{checkbox-group.CuLP3hPd.js → checkbox-group.B0wngKi6.js} +4 -4
- package/dist/chunks/{checkbox-group.CuLP3hPd.js.map → checkbox-group.B0wngKi6.js.map} +1 -1
- package/dist/chunks/{checkbox.DMMXn-h8.js → checkbox.Bk_jmkGe.js} +50 -40
- package/dist/chunks/{checkbox.DMMXn-h8.js.map → checkbox.Bk_jmkGe.js.map} +1 -1
- package/dist/chunks/{code-snippet.BWM5w4CP.js → code-snippet.1SigVnjS.js} +97 -88
- package/dist/chunks/code-snippet.1SigVnjS.js.map +1 -0
- package/dist/chunks/{controls-group.BnZVHgQK.js → controls-group.COc0kArc.js} +2 -2
- package/dist/chunks/{controls-group.BnZVHgQK.js.map → controls-group.COc0kArc.js.map} +1 -1
- package/dist/chunks/{copy.h-wVGvID.js → copy.1-HH1fz5.js} +28 -20
- package/dist/chunks/{copy.h-wVGvID.js.map → copy.1-HH1fz5.js.map} +1 -1
- 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.BOrGKdY9.js} +2 -2
- package/dist/chunks/{dashboard-section.BIH2wzgk.js.map → dashboard-section.BOrGKdY9.js.map} +1 -1
- package/dist/chunks/{dashed-underline.CFJdLuJp.js → dashed-underline.BO4BuqUM.js} +2 -2
- package/dist/chunks/{dashed-underline.CFJdLuJp.js.map → dashed-underline.BO4BuqUM.js.map} +1 -1
- package/dist/chunks/{data-grid-template.21gqdYrs.js → data-grid-template.O946JKTa.js} +2 -2
- package/dist/chunks/{data-grid-template.21gqdYrs.js.map → data-grid-template.O946JKTa.js.map} +1 -1
- package/dist/chunks/{data-grid.DUwLxtW_.js → data-grid.Bv5TA_zR.js} +578 -532
- package/dist/chunks/{data-grid.DUwLxtW_.js.map → data-grid.Bv5TA_zR.js.map} +1 -1
- package/dist/chunks/{date-picker.21z_Sw4V.js → date-picker.DvEPEMIM.js} +99 -91
- package/dist/chunks/date-picker.DvEPEMIM.js.map +1 -0
- package/dist/chunks/{date-range-picker.K2TeW8aX.js → date-range-picker.BLVlkkG_.js} +338 -316
- package/dist/chunks/date-range-picker.BLVlkkG_.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/{dropdown-tag.BNJnscD2.js → dropdown-tag.bpKWbC_O.js} +3 -3
- package/dist/chunks/{dropdown-tag.BNJnscD2.js.map → dropdown-tag.bpKWbC_O.js.map} +1 -1
- package/dist/chunks/{dropdown.ex87AZ7s.js → dropdown.rFZp3hMb.js} +212 -193
- package/dist/chunks/dropdown.rFZp3hMb.js.map +1 -0
- package/dist/chunks/{error-message.D2Y99KjT.js → error-message.DblYEZ7E.js} +43 -29
- package/dist/chunks/{error-message.D2Y99KjT.js.map → error-message.DblYEZ7E.js.map} +1 -1
- package/dist/chunks/es6.BvpG4Oi6.js.map +1 -1
- package/dist/chunks/{filter-bar.BAmG-yML.js → filter-bar.IN7gqxsc.js} +727 -712
- package/dist/chunks/filter-bar.IN7gqxsc.js.map +1 -0
- package/dist/chunks/{footer-actions.gtxofUAa.js → footer-actions.CyoMN_ca.js} +2 -2
- package/dist/chunks/{footer-actions.gtxofUAa.js.map → footer-actions.CyoMN_ca.js.map} +1 -1
- package/dist/chunks/{form-layout-title.Boi0QQZL.js → form-layout-title.Bi_3du_6.js} +2 -2
- package/dist/chunks/{form-layout-title.Boi0QQZL.js.map → form-layout-title.Bi_3du_6.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.Byd6jXl6.js} +104 -98
- package/dist/chunks/{header.BMYhkrGT.js.map → header.Byd6jXl6.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/{input-field.Dely7A8G.js → input-field.CgS1AEGu.js} +3 -3
- package/dist/chunks/{input-field.Dely7A8G.js.map → input-field.CgS1AEGu.js.map} +1 -1
- package/dist/chunks/{inspector.types.t2SPyhw3.js → inspector.types.xpv2J9pJ.js} +44 -36
- package/dist/chunks/{inspector.types.t2SPyhw3.js.map → inspector.types.xpv2J9pJ.js.map} +1 -1
- package/dist/chunks/loading-button.Bntgn6Lk.js +137 -0
- package/dist/chunks/loading-button.Bntgn6Lk.js.map +1 -0
- package/dist/chunks/{menu.CLicp_2I.js → menu.BN5WGXw3.js} +2 -2
- package/dist/chunks/{menu.CLicp_2I.js.map → menu.BN5WGXw3.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.Caqa7dDp.js → modal-fullscreen.zljoH4pr.js} +35 -29
- package/dist/chunks/{modal-fullscreen.Caqa7dDp.js.map → modal-fullscreen.zljoH4pr.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.tT8umwqG.js} +31 -25
- package/dist/chunks/modal.vue_vue_type_script_setup_true_lang.tT8umwqG.js.map +1 -0
- package/dist/chunks/{pagination.I5w8bpUS.js → pagination.BMn5ryDD.js} +2 -2
- package/dist/chunks/{pagination.I5w8bpUS.js.map → pagination.BMn5ryDD.js.map} +1 -1
- package/dist/chunks/{popover.DQP3ce2x.js → popover.pDk6zsak.js} +2 -2
- package/dist/chunks/{popover.DQP3ce2x.js.map → popover.pDk6zsak.js.map} +1 -1
- package/dist/chunks/{radio-group.lOSBHghv.js → radio-group.DUtoFXmr.js} +3 -3
- package/dist/chunks/{radio-group.lOSBHghv.js.map → radio-group.DUtoFXmr.js.map} +1 -1
- package/dist/chunks/{search-bar.GCRTgBUA.js → search-bar.poJCoGD-.js} +49 -41
- package/dist/chunks/{search-bar.GCRTgBUA.js.map → search-bar.poJCoGD-.js.map} +1 -1
- package/dist/chunks/{secondary-nav.CGH_6m7u.js → secondary-nav.Dyvd-YBg.js} +2 -2
- package/dist/chunks/{secondary-nav.CGH_6m7u.js.map → secondary-nav.Dyvd-YBg.js.map} +1 -1
- package/dist/chunks/{selection-card-group.BdTuPhEm.js → selection-card-group.CHBS81j6.js} +3 -3
- package/dist/chunks/{selection-card-group.BdTuPhEm.js.map → selection-card-group.CHBS81j6.js.map} +1 -1
- package/dist/chunks/{sidepanel.DA8nQepj.js → sidepanel.CuQCXV1E.js} +36 -30
- package/dist/chunks/{sidepanel.DA8nQepj.js.map → sidepanel.CuQCXV1E.js.map} +1 -1
- package/dist/chunks/{structured-list-item.Z-1ivOFu.js → structured-list-item.1A2sjhP4.js} +35 -29
- package/dist/chunks/{structured-list-item.Z-1ivOFu.js.map → structured-list-item.1A2sjhP4.js.map} +1 -1
- package/dist/chunks/{summary-grid-item-custom.Dq3IIEvH.js → summary-grid-item-custom.CuvUVoQ8.js} +2 -2
- package/dist/chunks/{summary-grid-item-custom.Dq3IIEvH.js.map → summary-grid-item-custom.CuvUVoQ8.js.map} +1 -1
- package/dist/chunks/{textarea.kYFGQFwd.js → textarea.CHnvON8G.js} +2 -2
- package/dist/chunks/{textarea.kYFGQFwd.js.map → textarea.CHnvON8G.js.map} +1 -1
- package/dist/chunks/{timeline-item.D-Yy2qQr.js → timeline-item.Dc_l5Xyy.js} +81 -75
- package/dist/chunks/{timeline-item.D-Yy2qQr.js.map → timeline-item.Dc_l5Xyy.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.DdLmYCOe.js} +82 -70
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.D-ZFDn95.js.map → tutorial.vue_vue_type_script_setup_true_lang.DdLmYCOe.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.ClVxNmUf.js → use-cached-selected-values.CS3gHOyI.js} +86 -72
- package/dist/chunks/{use-cached-selected-values.ClVxNmUf.js.map → use-cached-selected-values.CS3gHOyI.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 +3 -3
- package/dist/filter-bar.js +1 -1
- package/dist/form-layout.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +43 -43
- package/dist/input-field.js +1 -1
- package/dist/inspector.js +1 -1
- package/dist/internal.js +5 -5
- 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/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/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +2 -2
- package/dist/chunks/accordion-item.CQ8DLt9l.js +0 -126
- package/dist/chunks/accordion-item.CQ8DLt9l.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/code-snippet.BWM5w4CP.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/dropdown.ex87AZ7s.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/modal.vue_vue_type_script_setup_true_lang.Dzmth-oW.js.map +0 -1
package/dist/code-snippet.js
CHANGED
package/dist/currency.js
CHANGED
package/dist/dashed-underline.js
CHANGED
package/dist/data-grid.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { B as e, d as o, a as r, f as n, e as i, c as B, b as d } from "./chunks/data-grid.
|
|
1
|
+
import { B as e, d as o, a as r, f as n, e as i, c as B, b as d } from "./chunks/data-grid.Bv5TA_zR.js";
|
|
2
2
|
export {
|
|
3
3
|
e as BentoColumnOverflow,
|
|
4
4
|
o as BentoDataGrid,
|
package/dist/date-picker.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as a, a as r } from "./chunks/date-picker.
|
|
2
|
-
import { C as i } from "./chunks/calendar.
|
|
1
|
+
import { B as a, a as r } from "./chunks/date-picker.DvEPEMIM.js";
|
|
2
|
+
import { C as i } from "./chunks/calendar.DzYaxc0M.js";
|
|
3
3
|
export {
|
|
4
4
|
a as BentoDatePicker,
|
|
5
5
|
r as BentoDatePickerEvent,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as t, a as r } from "./chunks/date-range-picker.
|
|
2
|
-
import { C as o } from "./chunks/calendar.
|
|
1
|
+
import { B as t, a as r } from "./chunks/date-range-picker.BLVlkkG_.js";
|
|
2
|
+
import { C as o } from "./chunks/calendar.DzYaxc0M.js";
|
|
3
3
|
export {
|
|
4
4
|
t as BentoDateRangePicker,
|
|
5
5
|
r as BentoDateRangePickerEvent,
|
package/dist/date.js
CHANGED
package/dist/dropdown.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { B as r } from "./chunks/dropdown.
|
|
1
|
+
import { B as r } from "./chunks/dropdown.rFZp3hMb.js";
|
|
2
2
|
import { B as t } from "./chunks/dropdown-default-textbox.Bu4bpNGU.js";
|
|
3
|
-
import { _ as p, a as d, b as B, c as s, d as w } from "./chunks/dropdown-tag.
|
|
4
|
-
import { a as m, B as y } from "./chunks/use-cached-selected-values.
|
|
3
|
+
import { _ as p, a as d, b as B, c as s, d as w } from "./chunks/dropdown-tag.bpKWbC_O.js";
|
|
4
|
+
import { a as m, B as y } from "./chunks/use-cached-selected-values.CS3gHOyI.js";
|
|
5
5
|
export {
|
|
6
6
|
r as BentoDropdown,
|
|
7
7
|
p as BentoDropdownAvatar,
|
package/dist/filter-bar.js
CHANGED
package/dist/form-layout.js
CHANGED
package/dist/header.js
CHANGED
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.5XBrXwYv.js";
|
|
7
|
+
import { a as j, b as z } from "./chunks/accordion-item.C30QFxol.js";
|
|
8
|
+
import { B as K, c as U, b as _, a as Z } from "./chunks/alert.BvSx_Bi7.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.
|
|
11
|
+
import { c as $, B as ee, a as te } from "./chunks/card.Bt8jcp9I.js";
|
|
12
|
+
import { d as ae } from "./chunks/dashed-underline.BO4BuqUM.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.Bv5TA_zR.js";
|
|
14
|
+
import { B as le, a as ce } from "./chunks/date-picker.DvEPEMIM.js";
|
|
15
|
+
import { B as xe, a as ge } from "./chunks/date-range-picker.BLVlkkG_.js";
|
|
16
|
+
import { B as Se, u as be } from "./chunks/dropdown.rFZp3hMb.js";
|
|
17
17
|
import { B as Te } from "./chunks/dropdown-default-textbox.Bu4bpNGU.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.Bk_jmkGe.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.1SigVnjS.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.IN7gqxsc.js";
|
|
28
|
+
import { f as st, a as Bt, c as it, b as pt } from "./chunks/form-layout-title.Bi_3du_6.js";
|
|
29
29
|
import { B as dt, a as ut, b as lt } from "./chunks/image.0KzfycGE.js";
|
|
30
30
|
import { B as ft } from "./chunks/info-icon.DIu8FeJC.js";
|
|
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.
|
|
31
|
+
import { i as gt, B as yt } from "./chunks/inspector.types.xpv2J9pJ.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.CgS1AEGu.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.BN5WGXw3.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.BenvK-Np.js";
|
|
37
|
+
import { m as Zt, B as Wt } from "./chunks/modal-fullscreen.zljoH4pr.js";
|
|
38
|
+
import { B as Ht } from "./chunks/header.Byd6jXl6.js";
|
|
39
|
+
import { B as Jt } from "./chunks/pagination.BMn5ryDD.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.pDk6zsak.js";
|
|
43
|
+
import { b as ro, B as so, a as Bo } from "./chunks/radio-group.DUtoFXmr.js";
|
|
44
|
+
import { B as po, b as mo, a as uo } from "./chunks/search-bar.poJCoGD-.js";
|
|
45
|
+
import { s as co } from "./chunks/secondary-nav.Dyvd-YBg.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.CHBS81j6.js";
|
|
49
|
+
import { a as Do, B as ho, s as Io } from "./chunks/sidepanel.CuQCXV1E.js";
|
|
50
50
|
import { s as Fo, B as Lo } from "./chunks/status.types.r9TfZmvE.js";
|
|
51
51
|
import { a as Vo, s as ko, B as wo, b as Go } from "./chunks/step.ClnCjesW.js";
|
|
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.
|
|
52
|
+
import { B as Ao, a as Oo } from "./chunks/structured-list-item.1A2sjhP4.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.CuvUVoQ8.js";
|
|
54
54
|
import { B as Ho, a as qo } from "./chunks/tabs.xY_6yqmE.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.
|
|
56
|
+
import { B as ea } from "./chunks/textarea.CHnvON8G.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.Dc_l5Xyy.js";
|
|
58
58
|
import { t as pa } from "./chunks/toast.CIVPmwmU.js";
|
|
59
59
|
import { B as da, b as ua, a as la } from "./chunks/toggle.8t4flh_3.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.BOrGKdY9.js";
|
|
63
|
+
import { d as ba } from "./chunks/data-grid-template.O946JKTa.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.CS3gHOyI.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.DyI_dSvx.js";
|
|
70
|
+
import { B as Ua, a as _a } from "./chunks/loading-button.Bntgn6Lk.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.
|
|
72
|
+
import { C as Ha, C as qa } from "./chunks/calendar.DzYaxc0M.js";
|
|
73
|
+
import { _ as Qa, a as Xa, b as $a, c as en, d as tn } from "./chunks/dropdown-tag.bpKWbC_O.js";
|
|
74
74
|
import { C as an } from "./chunks/checkbox-input.JdcvpfTa.js";
|
|
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.
|
|
75
|
+
import { c as rn, B as sn } from "./chunks/checkbox-group.B0wngKi6.js";
|
|
76
|
+
import { _ as pn } from "./chunks/modal.vue_vue_type_script_setup_true_lang.tT8umwqG.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.DdLmYCOe.js";
|
|
79
79
|
function h(e) {
|
|
80
80
|
return e;
|
|
81
81
|
}
|
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.CgS1AEGu.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.
|
|
1
|
+
import { a as o, b as r, C as s } from "./chunks/calendar.DzYaxc0M.js";
|
|
2
|
+
import { C as p, a as l } from "./chunks/copy.1-HH1fz5.js";
|
|
3
|
+
import { C } from "./chunks/controls-group.COc0kArc.js";
|
|
4
4
|
import { B as x, b as m, a as E, D as f } from "./chunks/dialog-page.DALFn9KR.js";
|
|
5
|
-
import { E as d, F as I } from "./chunks/error-message.
|
|
5
|
+
import { E as d, F as I } from "./chunks/error-message.DblYEZ7E.js";
|
|
6
6
|
import { F as _ } from "./chunks/fixed-scroller.DwYB1pqo.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.CS3gHOyI.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.BenvK-Np.js";
|
|
2
|
+
import { _ as i } from "./chunks/modal.vue_vue_type_script_setup_true_lang.tT8umwqG.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.poJCoGD-.js";
|
|
2
|
+
import { u as o } from "./chunks/dropdown.rFZp3hMb.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/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.CuvUVoQ8.js";
|
|
2
2
|
export {
|
|
3
3
|
r as BentoSummaryGrid,
|
|
4
4
|
t as BentoSummaryGridItemAmount,
|
package/dist/textarea.js
CHANGED
package/dist/timeline.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.1",
|
|
4
4
|
"description": "Adyen Bento Vue 3 components",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -35,7 +35,7 @@
|
|
|
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.1"
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|