@adyen/bento-vue3 1.31.1 → 1.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/components.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/accordion/accordion.types.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/accordion/accordion.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/code-snippet/highlight.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/all-filters-modal/all-filters-modal.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/composables/useListboxKeyboardNavigation.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/tag/index.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/tag/tag.vue.d.ts +1 -1
- 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/base-modal.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/code-snippet.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/filter-bar.css +1 -1
- package/dist/assets/inspector.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/tag.css +1 -1
- package/dist/assets/use-cached-selected-values.css +1 -1
- package/dist/avatar.js +1 -1
- package/dist/button.js +4 -4
- package/dist/card.js +1 -1
- package/dist/checkbox.js +2 -2
- package/dist/chunks/{accordion-item.BcfGYvjn.js → accordion-item.C7rQK0Xh.js} +2 -2
- package/dist/chunks/{accordion-item.BcfGYvjn.js.map → accordion-item.C7rQK0Xh.js.map} +1 -1
- package/dist/chunks/{action-bar.C7PbsWC8.js → action-bar.2Ch92mVR.js} +6 -6
- package/dist/chunks/{action-bar.C7PbsWC8.js.map → action-bar.2Ch92mVR.js.map} +1 -1
- package/dist/chunks/{alert.DbvBT-G3.js → alert.BOqbFni9.js} +3 -3
- package/dist/chunks/{alert.DbvBT-G3.js.map → alert.BOqbFni9.js.map} +1 -1
- package/dist/chunks/{avatar.IHx0kN0u.js → avatar.DWSW4vWC.js} +2 -2
- package/dist/chunks/{avatar.IHx0kN0u.js.map → avatar.DWSW4vWC.js.map} +1 -1
- package/dist/chunks/{base-button.ewkxHD6W.js → base-button.jyEuuRdl.js} +2 -2
- package/dist/chunks/{base-button.ewkxHD6W.js.map → base-button.jyEuuRdl.js.map} +1 -1
- package/dist/chunks/{base-modal.BnZz-47O.js → base-modal.09efJqFH.js} +5 -5
- package/dist/chunks/{base-modal.BnZz-47O.js.map → base-modal.09efJqFH.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.Bvv0tcKZ.js → button-actions-with-menu.DAxUzw2c.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.Bvv0tcKZ.js.map → button-actions-with-menu.DAxUzw2c.js.map} +1 -1
- package/dist/chunks/{button-actions.NZCTl5Mr.js → button-actions.Dkrp7NsY.js} +3 -3
- package/dist/chunks/{button-actions.NZCTl5Mr.js.map → button-actions.Dkrp7NsY.js.map} +1 -1
- package/dist/chunks/{button.DDi9e0jg.js → button.BbV2BOSa.js} +3 -3
- package/dist/chunks/{button.DDi9e0jg.js.map → button.BbV2BOSa.js.map} +1 -1
- package/dist/chunks/{calendar.CT__HcJG.js → calendar.DrP5wyvL.js} +4 -4
- package/dist/chunks/{calendar.CT__HcJG.js.map → calendar.DrP5wyvL.js.map} +1 -1
- package/dist/chunks/{card.VrgI9htR.js → card.BKtIXyL-.js} +3 -3
- package/dist/chunks/{card.VrgI9htR.js.map → card.BKtIXyL-.js.map} +1 -1
- package/dist/chunks/{checkbox-group.BcbkUTiD.js → checkbox-group.CEzhFcdh.js} +5 -5
- package/dist/chunks/{checkbox-group.BcbkUTiD.js.map → checkbox-group.CEzhFcdh.js.map} +1 -1
- package/dist/chunks/{checkbox.k4EEI4LJ.js → checkbox.Blsg-Tvr.js} +4 -4
- package/dist/chunks/{checkbox.k4EEI4LJ.js.map → checkbox.Blsg-Tvr.js.map} +1 -1
- package/dist/chunks/{code-snippet.DMX4z3gw.js → code-snippet.DyvQts81.js} +13 -13
- package/dist/chunks/{code-snippet.DMX4z3gw.js.map → code-snippet.DyvQts81.js.map} +1 -1
- package/dist/chunks/{controls-group.cYkJcE7Z.js → controls-group.CLureEBJ.js} +3 -3
- package/dist/chunks/{controls-group.cYkJcE7Z.js.map → controls-group.CLureEBJ.js.map} +1 -1
- package/dist/chunks/{copy.CRP53v65.js → copy._G3BOh-w.js} +3 -3
- package/dist/chunks/{copy.CRP53v65.js.map → copy._G3BOh-w.js.map} +1 -1
- package/dist/chunks/{country.vX94O3uR.js → country.DfvzuoT-.js} +2 -2
- package/dist/chunks/{country.vX94O3uR.js.map → country.DfvzuoT-.js.map} +1 -1
- package/dist/chunks/{currency.CgVd9fQN.js → currency.CUF_wGMv.js} +2 -2
- package/dist/chunks/{currency.CgVd9fQN.js.map → currency.CUF_wGMv.js.map} +1 -1
- package/dist/chunks/{dashboard-section.C7fONBmY.js → dashboard-section.CwOasd7G.js} +3 -3
- package/dist/chunks/{dashboard-section.C7fONBmY.js.map → dashboard-section.CwOasd7G.js.map} +1 -1
- package/dist/chunks/{dashed-underline.DfgsO50u.js → dashed-underline.D_262wln.js} +4 -4
- package/dist/chunks/{dashed-underline.DfgsO50u.js.map → dashed-underline.D_262wln.js.map} +1 -1
- package/dist/chunks/{data-grid-template.lVUb5AOk.js → data-grid-template.ViVmshHU.js} +3 -3
- package/dist/chunks/{data-grid-template.lVUb5AOk.js.map → data-grid-template.ViVmshHU.js.map} +1 -1
- package/dist/chunks/{data-grid.BEUdR8kC.js → data-grid.CCVRJrXT.js} +521 -518
- package/dist/chunks/{data-grid.BEUdR8kC.js.map → data-grid.CCVRJrXT.js.map} +1 -1
- package/dist/chunks/{date-picker.BBaSWZPz.js → date-picker.CKiY1ZtA.js} +7 -7
- package/dist/chunks/{date-picker.BBaSWZPz.js.map → date-picker.CKiY1ZtA.js.map} +1 -1
- package/dist/chunks/{date-range-picker.BKJphQau.js → date-range-picker.T10FmcWb.js} +10 -10
- package/dist/chunks/{date-range-picker.BKJphQau.js.map → date-range-picker.T10FmcWb.js.map} +1 -1
- package/dist/chunks/{date.2ndGvIGE.js → date.DXg5sG5Z.js} +2 -2
- package/dist/chunks/{date.2ndGvIGE.js.map → date.DXg5sG5Z.js.map} +1 -1
- package/dist/chunks/{dialog-page.CZ4ZouAB.js → dialog-page.CBim-VWH.js} +35 -36
- package/dist/chunks/{dialog-page.CZ4ZouAB.js.map → dialog-page.CBim-VWH.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.Bt5p6VI-.js → dropdown-default-textbox.Bues7tON.js} +2 -2
- package/dist/chunks/{dropdown-default-textbox.Bt5p6VI-.js.map → dropdown-default-textbox.Bues7tON.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.C7P85-hm.js → dropdown-tag.BiVKlJ-B.js} +6 -6
- package/dist/chunks/{dropdown-tag.C7P85-hm.js.map → dropdown-tag.BiVKlJ-B.js.map} +1 -1
- package/dist/chunks/{dropdown.CnuM6WO5.js → dropdown.CZyiZiox.js} +6 -6
- package/dist/chunks/{dropdown.CnuM6WO5.js.map → dropdown.CZyiZiox.js.map} +1 -1
- package/dist/chunks/{empty-state.DlKnuaPT.js → empty-state.CApqeBsH.js} +3 -3
- package/dist/chunks/{empty-state.DlKnuaPT.js.map → empty-state.CApqeBsH.js.map} +1 -1
- package/dist/chunks/{error-message.BZmulANx.js → error-message.DCScf_vk.js} +3 -3
- package/dist/chunks/{error-message.BZmulANx.js.map → error-message.DCScf_vk.js.map} +1 -1
- package/dist/chunks/{filter-bar.Dw9Kl9r7.js → filter-bar.DCaEgOFF.js} +97 -95
- package/dist/chunks/filter-bar.DCaEgOFF.js.map +1 -0
- package/dist/chunks/{fixed-scroller.DL-B8KQD.js → fixed-scroller.BN3jp9Ss.js} +2 -2
- package/dist/chunks/{fixed-scroller.DL-B8KQD.js.map → fixed-scroller.BN3jp9Ss.js.map} +1 -1
- package/dist/chunks/{footer-actions.9iYchEOX.js → footer-actions.Dj2vH6Hj.js} +4 -4
- package/dist/chunks/{footer-actions.9iYchEOX.js.map → footer-actions.Dj2vH6Hj.js.map} +1 -1
- package/dist/chunks/{form-layout-title.DwyGd8m6.js → form-layout-title.BKJPBhsv.js} +3 -3
- package/dist/chunks/{form-layout-title.DwyGd8m6.js.map → form-layout-title.BKJPBhsv.js.map} +1 -1
- package/dist/chunks/{header.DUZjBeUT.js → header.DygonMXo.js} +5 -5
- package/dist/chunks/{header.DUZjBeUT.js.map → header.DygonMXo.js.map} +1 -1
- package/dist/chunks/{info-icon.B_3zOxf8.js → info-icon.Bb20bxQm.js} +2 -2
- package/dist/chunks/{info-icon.B_3zOxf8.js.map → info-icon.Bb20bxQm.js.map} +1 -1
- package/dist/chunks/{input-field.BYonjwjm.js → input-field.dPEY8nfT.js} +4 -4
- package/dist/chunks/{input-field.BYonjwjm.js.map → input-field.dPEY8nfT.js.map} +1 -1
- package/dist/chunks/{inspector.types.C0WZj6lQ.js → inspector.types.BpPQ6zrm.js} +3 -3
- package/dist/chunks/{inspector.types.C0WZj6lQ.js.map → inspector.types.BpPQ6zrm.js.map} +1 -1
- package/dist/chunks/{link.PWBu8zGO.js → link.DgEKZGKQ.js} +2 -2
- package/dist/chunks/{link.PWBu8zGO.js.map → link.DgEKZGKQ.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.B6XSQl--.js → listbox-option-tag.BU_sJ_KV.js} +3 -3
- package/dist/chunks/{listbox-option-tag.B6XSQl--.js.map → listbox-option-tag.BU_sJ_KV.js.map} +1 -1
- package/dist/chunks/{loading-button.CokvM6FB.js → loading-button.CrijUhme.js} +2 -2
- package/dist/chunks/{loading-button.CokvM6FB.js.map → loading-button.CrijUhme.js.map} +1 -1
- package/dist/chunks/{menu.BuL47dds.js → menu.CE8khC0O.js} +5 -5
- package/dist/chunks/{menu.BuL47dds.js.map → menu.CE8khC0O.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.C6GYTX-p.js → modal-fullscreen.DYfgO3lG.js} +5 -5
- package/dist/chunks/{modal-fullscreen.C6GYTX-p.js.map → modal-fullscreen.DYfgO3lG.js.map} +1 -1
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.xIjlimeg.js → modal.vue_vue_type_script_setup_true_lang.uUB7rtBH.js} +6 -6
- package/dist/chunks/{modal.vue_vue_type_script_setup_true_lang.xIjlimeg.js.map → modal.vue_vue_type_script_setup_true_lang.uUB7rtBH.js.map} +1 -1
- package/dist/chunks/{pagination.pQeDklkD.js → pagination.DfKNN2Mb.js} +4 -4
- package/dist/chunks/{pagination.pQeDklkD.js.map → pagination.DfKNN2Mb.js.map} +1 -1
- package/dist/chunks/{payment-method.NCItxw1D.js → payment-method.Dyrh0PaX.js} +2 -2
- package/dist/chunks/{payment-method.NCItxw1D.js.map → payment-method.Dyrh0PaX.js.map} +1 -1
- package/dist/chunks/{popover.CENPURSv.js → popover.BSGQxusD.js} +4 -4
- package/dist/chunks/{popover.CENPURSv.js.map → popover.BSGQxusD.js.map} +1 -1
- package/dist/chunks/{radio-group.fS7yGIgb.js → radio-group.CIXsaLLX.js} +5 -5
- package/dist/chunks/{radio-group.fS7yGIgb.js.map → radio-group.CIXsaLLX.js.map} +1 -1
- package/dist/chunks/{search-bar.DiEgrDzT.js → search-bar.exXNyvwZ.js} +2 -2
- package/dist/chunks/{search-bar.DiEgrDzT.js.map → search-bar.exXNyvwZ.js.map} +1 -1
- package/dist/chunks/{secondary-nav.32EKF4N1.js → secondary-nav.CRJ27DQY.js} +3 -3
- package/dist/chunks/{secondary-nav.32EKF4N1.js.map → secondary-nav.CRJ27DQY.js.map} +1 -1
- package/dist/chunks/{segmented-control.YqRdXOxu.js → segmented-control.hE7kcMb7.js} +3 -3
- package/dist/chunks/{segmented-control.YqRdXOxu.js.map → segmented-control.hE7kcMb7.js.map} +1 -1
- package/dist/chunks/{selection-card-group.Dlz0V4qY.js → selection-card-group.Bxv-t-CN.js} +4 -4
- package/dist/chunks/{selection-card-group.Dlz0V4qY.js.map → selection-card-group.Bxv-t-CN.js.map} +1 -1
- package/dist/chunks/{sidepanel.CBDC89dr.js → sidepanel.C6ndYx2_.js} +5 -5
- package/dist/chunks/{sidepanel.CBDC89dr.js.map → sidepanel.C6ndYx2_.js.map} +1 -1
- package/dist/chunks/{status.types.Bqdcr1WO.js → status.types.wKICxOth.js} +2 -2
- package/dist/chunks/{status.types.Bqdcr1WO.js.map → status.types.wKICxOth.js.map} +1 -1
- package/dist/chunks/{step.lGSc3G0r.js → step.D3y_Iv1_.js} +3 -3
- package/dist/chunks/{step.lGSc3G0r.js.map → step.D3y_Iv1_.js.map} +1 -1
- package/dist/chunks/{structured-list-item.B7exg4y9.js → structured-list-item.CnrBWJgo.js} +6 -6
- package/dist/chunks/{structured-list-item.B7exg4y9.js.map → structured-list-item.CnrBWJgo.js.map} +1 -1
- package/dist/chunks/{summary-grid-item-custom.VthQfaW5.js → summary-grid-item-custom.BMK48oR5.js} +5 -5
- package/dist/chunks/{summary-grid-item-custom.VthQfaW5.js.map → summary-grid-item-custom.BMK48oR5.js.map} +1 -1
- package/dist/chunks/{tabs.B3J65sBM.js → tabs.BeCbcy81.js} +3 -3
- package/dist/chunks/{tabs.B3J65sBM.js.map → tabs.BeCbcy81.js.map} +1 -1
- package/dist/chunks/{tag.CjZAmD9o.js → tag.BZ90rkBe.js} +10 -10
- package/dist/chunks/tag.BZ90rkBe.js.map +1 -0
- package/dist/chunks/{textarea.CCizWd-T.js → textarea.C9dCXF7c.js} +4 -4
- package/dist/chunks/{textarea.CCizWd-T.js.map → textarea.C9dCXF7c.js.map} +1 -1
- package/dist/chunks/{timeline-item.CQaN2Las.js → timeline-item.DVugzZI5.js} +9 -9
- package/dist/chunks/{timeline-item.CQaN2Las.js.map → timeline-item.DVugzZI5.js.map} +1 -1
- package/dist/chunks/{toast.DIXqmWVE.js → toast.CtEylmx6.js} +4 -4
- package/dist/chunks/{toast.DIXqmWVE.js.map → toast.CtEylmx6.js.map} +1 -1
- package/dist/chunks/{toggle-button.B1NdyfEo.js → toggle-button.CYVGUQYj.js} +2 -2
- package/dist/chunks/{toggle-button.B1NdyfEo.js.map → toggle-button.CYVGUQYj.js.map} +1 -1
- package/dist/chunks/{toggle.DmTjGY0a.js → toggle.D1DUlF_5.js} +2 -2
- package/dist/chunks/{toggle.DmTjGY0a.js.map → toggle.D1DUlF_5.js.map} +1 -1
- package/dist/chunks/{tooltip.D8i6THF3.js → tooltip.CVUXkVlR.js} +2 -2
- package/dist/chunks/{tooltip.D8i6THF3.js.map → tooltip.CVUXkVlR.js.map} +1 -1
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.Djqiqdi7.js → tutorial.vue_vue_type_script_setup_true_lang.Dorj2fX-.js} +5 -5
- package/dist/chunks/{tutorial.vue_vue_type_script_setup_true_lang.Djqiqdi7.js.map → tutorial.vue_vue_type_script_setup_true_lang.Dorj2fX-.js.map} +1 -1
- package/dist/chunks/{typography.D7onlQ9v.js → typography.CSIykcgS.js} +1 -2
- package/dist/chunks/{typography.D7onlQ9v.js.map → typography.CSIykcgS.js.map} +1 -1
- package/dist/chunks/{use-bento-toast-controller.C0A5tZgd.js → use-bento-toast-controller.kD6xtHQE.js} +2 -2
- package/dist/chunks/{use-bento-toast-controller.C0A5tZgd.js.map → use-bento-toast-controller.kD6xtHQE.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.C67Bg4Js.js → use-cached-selected-values.DplP72ef.js} +565 -561
- package/dist/chunks/use-cached-selected-values.DplP72ef.js.map +1 -0
- package/dist/code-snippet.js +1 -1
- package/dist/country.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/empty-state.js +1 -1
- package/dist/filter-bar.js +1 -1
- package/dist/form-layout.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +63 -63
- package/dist/info-icon.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/inspector.js +1 -1
- package/dist/internal.js +8 -8
- 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/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/status.js +1 -1
- package/dist/stepper.js +1 -1
- package/dist/structured-list.js +1 -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/toggle.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +3 -3
- package/dist/@types/packages/vue2/src/components/badge/badge.types.d.ts +0 -7
- package/dist/@types/packages/vue2/src/components/badge/badge.vue.d.ts +0 -46
- package/dist/@types/packages/vue2/src/components/badge/index.d.ts +0 -2
- package/dist/assets/badge.css +0 -1
- package/dist/badge.js +0 -57
- package/dist/badge.js.map +0 -1
- package/dist/chunks/filter-bar.Dw9Kl9r7.js.map +0 -1
- package/dist/chunks/tag.CjZAmD9o.js.map +0 -1
- package/dist/chunks/use-cached-selected-values.C67Bg4Js.js.map +0 -1
- /package/dist/@types/packages/{vue2 → core}/src/components/tag/tag.types.d.ts +0 -0
package/dist/index.js
CHANGED
|
@@ -1,81 +1,81 @@
|
|
|
1
1
|
import { shallowRef as c, ref as m } from "vue";
|
|
2
|
-
import { t as f, c as x } from "./chunks/use-bento-toast-controller.
|
|
3
|
-
import { u as P } from "./chunks/use-bento-toast-controller.
|
|
4
|
-
import { d as g } from "./chunks/typography.
|
|
5
|
-
import { B as V, c as k, b as w, a as M } from "./chunks/typography.
|
|
6
|
-
import { B as A } from "./chunks/action-bar.
|
|
7
|
-
import { a as R, b as j } from "./chunks/accordion-item.
|
|
8
|
-
import { B as N, c as K, b as _, a as U } from "./chunks/alert.
|
|
9
|
-
import { B as W } from "./chunks/avatar.
|
|
10
|
-
import { B as q, b as J, a as Q } from "./chunks/button.
|
|
11
|
-
import { c as Y, B as $, a as ee } from "./chunks/card.
|
|
12
|
-
import { d as oe } from "./chunks/dashed-underline.
|
|
13
|
-
import { B as ne, d as re, a as se, f as Be, e as ie, c as pe, b as me } from "./chunks/data-grid.
|
|
14
|
-
import { B as ue, a as le } from "./chunks/date-picker.
|
|
15
|
-
import { B as fe, a as xe } from "./chunks/date-range-picker.
|
|
16
|
-
import { B as ye, u as Se } from "./chunks/dropdown.
|
|
17
|
-
import { B as Ce } from "./chunks/dropdown-default-textbox.
|
|
2
|
+
import { t as f, c as x } from "./chunks/use-bento-toast-controller.kD6xtHQE.js";
|
|
3
|
+
import { u as P } from "./chunks/use-bento-toast-controller.kD6xtHQE.js";
|
|
4
|
+
import { d as g } from "./chunks/typography.CSIykcgS.js";
|
|
5
|
+
import { B as V, c as k, b as w, a as M } from "./chunks/typography.CSIykcgS.js";
|
|
6
|
+
import { B as A } from "./chunks/action-bar.2Ch92mVR.js";
|
|
7
|
+
import { a as R, b as j } from "./chunks/accordion-item.C7rQK0Xh.js";
|
|
8
|
+
import { B as N, c as K, b as _, a as U } from "./chunks/alert.BOqbFni9.js";
|
|
9
|
+
import { B as W } from "./chunks/avatar.DWSW4vWC.js";
|
|
10
|
+
import { B as q, b as J, a as Q } from "./chunks/button.BbV2BOSa.js";
|
|
11
|
+
import { c as Y, B as $, a as ee } from "./chunks/card.BKtIXyL-.js";
|
|
12
|
+
import { d as oe } from "./chunks/dashed-underline.D_262wln.js";
|
|
13
|
+
import { B as ne, d as re, a as se, f as Be, e as ie, c as pe, b as me } from "./chunks/data-grid.CCVRJrXT.js";
|
|
14
|
+
import { B as ue, a as le } from "./chunks/date-picker.CKiY1ZtA.js";
|
|
15
|
+
import { B as fe, a as xe } from "./chunks/date-range-picker.T10FmcWb.js";
|
|
16
|
+
import { B as ye, u as Se } from "./chunks/dropdown.CZyiZiox.js";
|
|
17
|
+
import { B as Ce } from "./chunks/dropdown-default-textbox.Bues7tON.js";
|
|
18
18
|
import { B as ve } from "./chunks/divider.CnwfddJD.js";
|
|
19
|
-
import { B as he, a as Ie } from "./chunks/checkbox.
|
|
19
|
+
import { B as he, a as Ie } from "./chunks/checkbox.Blsg-Tvr.js";
|
|
20
20
|
import { B as Fe } from "./chunks/click-outside.DSszkIvs.js";
|
|
21
|
-
import { c as Le, b as Ve, a as ke, B as we } from "./chunks/code-snippet.
|
|
22
|
-
import { c as Ge } from "./chunks/country.
|
|
21
|
+
import { c as Le, b as Ve, a as ke, B as we } from "./chunks/code-snippet.DyvQts81.js";
|
|
22
|
+
import { c as Ge } from "./chunks/country.DfvzuoT-.js";
|
|
23
23
|
import { a as Oe, B as Re, u as je, b as ze, c as Ne } from "./chunks/country.types.Br0AjxGy.js";
|
|
24
|
-
import { c as _e, B as Ue } from "./chunks/currency.
|
|
25
|
-
import { B as We, a as He } from "./chunks/date.
|
|
26
|
-
import { B as Je, b as Qe, c as Xe, a as Ye } from "./chunks/empty-state.
|
|
27
|
-
import { B as et, b as tt, a as ot, c as at } from "./chunks/filter-bar.
|
|
28
|
-
import { f as rt, a as st, c as Bt, b as it } from "./chunks/form-layout-title.
|
|
24
|
+
import { c as _e, B as Ue } from "./chunks/currency.CUF_wGMv.js";
|
|
25
|
+
import { B as We, a as He } from "./chunks/date.DXg5sG5Z.js";
|
|
26
|
+
import { B as Je, b as Qe, c as Xe, a as Ye } from "./chunks/empty-state.CApqeBsH.js";
|
|
27
|
+
import { B as et, b as tt, a as ot, c as at } from "./chunks/filter-bar.DCaEgOFF.js";
|
|
28
|
+
import { f as rt, a as st, c as Bt, b as it } from "./chunks/form-layout-title.BKJPBhsv.js";
|
|
29
29
|
import { B as mt, a as dt, b as ut } from "./chunks/image.0KzfycGE.js";
|
|
30
|
-
import { B as ct } from "./chunks/info-icon.
|
|
31
|
-
import { i as xt, B as gt } from "./chunks/inspector.types.
|
|
32
|
-
import { B as St, b as bt, e as Ct, c as Tt, d as vt, a as Dt } from "./chunks/input-field.
|
|
30
|
+
import { B as ct } from "./chunks/info-icon.Bb20bxQm.js";
|
|
31
|
+
import { i as xt, B as gt } from "./chunks/inspector.types.BpPQ6zrm.js";
|
|
32
|
+
import { B as St, b as bt, e as Ct, c as Tt, d as vt, a as Dt } from "./chunks/input-field.dPEY8nfT.js";
|
|
33
33
|
import { B as It, a as Et } from "./chunks/loading-indicator.BFMEf39U.js";
|
|
34
|
-
import { B as Pt, a as Lt } from "./chunks/link.
|
|
35
|
-
import { B as kt, a as wt } from "./chunks/menu.
|
|
36
|
-
import { d as Gt, f as At, g as Ot, B as Rt, e as jt, c as zt, a as Nt, b as Kt } from "./chunks/base-modal.
|
|
37
|
-
import { m as Ut, B as Zt } from "./chunks/modal-fullscreen.
|
|
38
|
-
import { B as Ht } from "./chunks/header.
|
|
39
|
-
import { B as Jt } from "./chunks/pagination.
|
|
40
|
-
import { B as Xt } from "./chunks/payment-method.
|
|
34
|
+
import { B as Pt, a as Lt } from "./chunks/link.DgEKZGKQ.js";
|
|
35
|
+
import { B as kt, a as wt } from "./chunks/menu.CE8khC0O.js";
|
|
36
|
+
import { d as Gt, f as At, g as Ot, B as Rt, e as jt, c as zt, a as Nt, b as Kt } from "./chunks/base-modal.09efJqFH.js";
|
|
37
|
+
import { m as Ut, B as Zt } from "./chunks/modal-fullscreen.DYfgO3lG.js";
|
|
38
|
+
import { B as Ht } from "./chunks/header.DygonMXo.js";
|
|
39
|
+
import { B as Jt } from "./chunks/pagination.DfKNN2Mb.js";
|
|
40
|
+
import { B as Xt } from "./chunks/payment-method.Dyrh0PaX.js";
|
|
41
41
|
import { B as $t } from "./chunks/payment-method.types.CJKfZQN5.js";
|
|
42
|
-
import { B as to, a as oo } from "./chunks/popover.
|
|
43
|
-
import { b as no, B as ro, a as so } from "./chunks/radio-group.
|
|
44
|
-
import { B as io, b as po, a as mo } from "./chunks/search-bar.
|
|
45
|
-
import { s as lo } from "./chunks/secondary-nav.
|
|
46
|
-
import { B as fo } from "./chunks/segmented-control.
|
|
42
|
+
import { B as to, a as oo } from "./chunks/popover.BSGQxusD.js";
|
|
43
|
+
import { b as no, B as ro, a as so } from "./chunks/radio-group.CIXsaLLX.js";
|
|
44
|
+
import { B as io, b as po, a as mo } from "./chunks/search-bar.exXNyvwZ.js";
|
|
45
|
+
import { s as lo } from "./chunks/secondary-nav.CRJ27DQY.js";
|
|
46
|
+
import { B as fo } from "./chunks/segmented-control.hE7kcMb7.js";
|
|
47
47
|
import { B as go } from "./chunks/segmented-control.types.BHRLV8KU.js";
|
|
48
|
-
import { B as So, s as bo, a as Co } from "./chunks/selection-card-group.
|
|
49
|
-
import { a as vo, B as Do, s as ho } from "./chunks/sidepanel.
|
|
50
|
-
import { s as Eo, B as Fo } from "./chunks/status.types.
|
|
51
|
-
import { a as Lo, s as Vo, B as ko, b as wo } from "./chunks/step.
|
|
52
|
-
import { B as Go, a as Ao } from "./chunks/structured-list-item.
|
|
53
|
-
import { s as Ro, a as jo, e as zo, b as No, c as Ko, B as _o, d as Uo, f as Zo } from "./chunks/summary-grid-item-custom.
|
|
54
|
-
import { B as Ho, a as qo } from "./chunks/tabs.
|
|
55
|
-
import { B as Qo, a as Xo } from "./chunks/tag.
|
|
56
|
-
import { B as $o } from "./chunks/textarea.
|
|
57
|
-
import { t as ta, b as oa, a as aa, c as na, B as ra, d as sa } from "./chunks/timeline-item.
|
|
58
|
-
import { t as ia } from "./chunks/toast.
|
|
59
|
-
import { B as ma, b as da, a as ua } from "./chunks/toggle.
|
|
48
|
+
import { B as So, s as bo, a as Co } from "./chunks/selection-card-group.Bxv-t-CN.js";
|
|
49
|
+
import { a as vo, B as Do, s as ho } from "./chunks/sidepanel.C6ndYx2_.js";
|
|
50
|
+
import { s as Eo, B as Fo } from "./chunks/status.types.wKICxOth.js";
|
|
51
|
+
import { a as Lo, s as Vo, B as ko, b as wo } from "./chunks/step.D3y_Iv1_.js";
|
|
52
|
+
import { B as Go, a as Ao } from "./chunks/structured-list-item.CnrBWJgo.js";
|
|
53
|
+
import { s as Ro, a as jo, e as zo, b as No, c as Ko, B as _o, d as Uo, f as Zo } from "./chunks/summary-grid-item-custom.BMK48oR5.js";
|
|
54
|
+
import { B as Ho, a as qo } from "./chunks/tabs.BeCbcy81.js";
|
|
55
|
+
import { B as Qo, a as Xo } from "./chunks/tag.BZ90rkBe.js";
|
|
56
|
+
import { B as $o } from "./chunks/textarea.C9dCXF7c.js";
|
|
57
|
+
import { t as ta, b as oa, a as aa, c as na, B as ra, d as sa } from "./chunks/timeline-item.DVugzZI5.js";
|
|
58
|
+
import { t as ia } from "./chunks/toast.CtEylmx6.js";
|
|
59
|
+
import { B as ma, b as da, a as ua } from "./chunks/toggle.D1DUlF_5.js";
|
|
60
60
|
import * as n from "zod";
|
|
61
61
|
import { u as ca } from "./chunks/use-click-outside.D6aIgS15.js";
|
|
62
|
-
import { a as xa, d as ga } from "./chunks/dashboard-section.
|
|
63
|
-
import { d as Sa } from "./chunks/data-grid-template.
|
|
62
|
+
import { a as xa, d as ga } from "./chunks/dashboard-section.CwOasd7G.js";
|
|
63
|
+
import { d as Sa } from "./chunks/data-grid-template.ViVmshHU.js";
|
|
64
64
|
import { D as Ca } from "./chunks/date-input.BqBdAO1E.js";
|
|
65
65
|
import { a as va, B as Da } from "./chunks/keyboard-navigation.Clz1jOaA.js";
|
|
66
|
-
import { a as Ia, B as Ea, a as Fa, B as Pa } from "./chunks/use-cached-selected-values.
|
|
66
|
+
import { a as Ia, B as Ea, a as Fa, B as Pa } from "./chunks/use-cached-selected-values.DplP72ef.js";
|
|
67
67
|
import { B as Va } from "./chunks/directive.O3yEdalv.js";
|
|
68
|
-
import { B as wa, a as Ma, b as Ga } from "./chunks/tooltip.
|
|
69
|
-
import { B as Oa, c as Ra, a as ja, b as za } from "./chunks/button-actions.
|
|
70
|
-
import { B as Ka, a as _a } from "./chunks/loading-button.
|
|
71
|
-
import { B as Za } from "./chunks/toggle-button.
|
|
72
|
-
import { C as Ha, C as qa } from "./chunks/calendar.
|
|
73
|
-
import { _ as Qa, a as Xa, b as Ya, c as $a, d as en } from "./chunks/dropdown-tag.
|
|
68
|
+
import { B as wa, a as Ma, b as Ga } from "./chunks/tooltip.CVUXkVlR.js";
|
|
69
|
+
import { B as Oa, c as Ra, a as ja, b as za } from "./chunks/button-actions.Dkrp7NsY.js";
|
|
70
|
+
import { B as Ka, a as _a } from "./chunks/loading-button.CrijUhme.js";
|
|
71
|
+
import { B as Za } from "./chunks/toggle-button.CYVGUQYj.js";
|
|
72
|
+
import { C as Ha, C as qa } from "./chunks/calendar.DrP5wyvL.js";
|
|
73
|
+
import { _ as Qa, a as Xa, b as Ya, c as $a, d as en } from "./chunks/dropdown-tag.BiVKlJ-B.js";
|
|
74
74
|
import { C as on } from "./chunks/checkbox-input.CR1lHf7f.js";
|
|
75
|
-
import { c as nn, B as rn } from "./chunks/checkbox-group.
|
|
76
|
-
import { _ as Bn } from "./chunks/modal.vue_vue_type_script_setup_true_lang.
|
|
75
|
+
import { c as nn, B as rn } from "./chunks/checkbox-group.CEzhFcdh.js";
|
|
76
|
+
import { _ as Bn } from "./chunks/modal.vue_vue_type_script_setup_true_lang.uUB7rtBH.js";
|
|
77
77
|
import { R as mn } from "./chunks/radio-input.Dp-se-SR.js";
|
|
78
|
-
import { _ as un } from "./chunks/tutorial.vue_vue_type_script_setup_true_lang.
|
|
78
|
+
import { _ as un } from "./chunks/tutorial.vue_vue_type_script_setup_true_lang.Dorj2fX-.js";
|
|
79
79
|
function D(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.dPEY8nfT.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,12 +1,12 @@
|
|
|
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.DrP5wyvL.js";
|
|
2
|
+
import { C as p, a as l } from "./chunks/copy._G3BOh-w.js";
|
|
3
|
+
import { C } from "./chunks/controls-group.CLureEBJ.js";
|
|
4
|
+
import { B as x, b as m, a as E, D as f } from "./chunks/dialog-page.CBim-VWH.js";
|
|
5
|
+
import { E as d, F as I } from "./chunks/error-message.DCScf_vk.js";
|
|
6
|
+
import { F as _ } from "./chunks/fixed-scroller.BN3jp9Ss.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.
|
|
9
|
-
import { L as F } from "./chunks/listbox-option-tag.
|
|
8
|
+
import { b as g, c as y, u as A } from "./chunks/use-cached-selected-values.DplP72ef.js";
|
|
9
|
+
import { L as F } from "./chunks/listbox-option-tag.BU_sJ_KV.js";
|
|
10
10
|
import { B as N } from "./chunks/teleport.L8qFCYpr.js";
|
|
11
11
|
export {
|
|
12
12
|
x as BentoDialogPageAnimation,
|
package/dist/link.js
CHANGED
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.09efJqFH.js";
|
|
2
|
+
import { _ as i } from "./chunks/modal.vue_vue_type_script_setup_true_lang.uUB7rtBH.js";
|
|
3
3
|
export {
|
|
4
4
|
i as BentoModal,
|
|
5
5
|
e as BentoModalColumnLayoutVariant,
|
package/dist/pagination.js
CHANGED
package/dist/payment-method.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.exXNyvwZ.js";
|
|
2
|
+
import { u as o } from "./chunks/dropdown.CZyiZiox.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/status.js
CHANGED
package/dist/stepper.js
CHANGED
package/dist/structured-list.js
CHANGED
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.BMK48oR5.js";
|
|
2
2
|
export {
|
|
3
3
|
r as BentoSummaryGrid,
|
|
4
4
|
t as BentoSummaryGridItemAmount,
|
package/dist/tabs.js
CHANGED
package/dist/tag.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/typography.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.32.0",
|
|
4
4
|
"description": "Adyen Bento Vue 3 components",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -38,14 +38,14 @@
|
|
|
38
38
|
"@codemirror/language": "6.10.3",
|
|
39
39
|
"@codemirror/language-data": "6.4.0",
|
|
40
40
|
"@codemirror/state": "6.4.0",
|
|
41
|
-
"@codemirror/view": "6.23.
|
|
41
|
+
"@codemirror/view": "6.23.1",
|
|
42
42
|
"@floating-ui/vue": "1.0.7",
|
|
43
43
|
"@vueuse/core": "10.9.0",
|
|
44
44
|
"date-fns": "2.28.0",
|
|
45
45
|
"focus-lock": "0.11.0",
|
|
46
46
|
"uuid": "9.0.0",
|
|
47
47
|
"vue-demi": "0.14.10",
|
|
48
|
-
"@adyen/bento-design-tokens": "1.
|
|
48
|
+
"@adyen/bento-design-tokens": "1.32.0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"vue": "^3.2.47",
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { PropType } from "../../../../../node_modules/.pnpm/vue@3.2.47/node_modules/vue";
|
|
2
|
-
import { AdlBadgeVariant } from './badge.types';
|
|
3
|
-
declare const _default: import("../../../../../node_modules/.pnpm/vue@3.2.47/node_modules/vue").DefineComponent<{
|
|
4
|
-
/**
|
|
5
|
-
* Types of flavour of Badge
|
|
6
|
-
* @values default, attention, warning, critical, success
|
|
7
|
-
*/
|
|
8
|
-
variant: {
|
|
9
|
-
type: PropType<AdlBadgeVariant>;
|
|
10
|
-
default: AdlBadgeVariant;
|
|
11
|
-
validator: (value: AdlBadgeVariant) => boolean;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* For testing purposes you can decide which testId your adl-badge instance will have
|
|
15
|
-
*/
|
|
16
|
-
testId: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
default: string;
|
|
19
|
-
};
|
|
20
|
-
}, {
|
|
21
|
-
ariaLabel: import("../../../../../node_modules/.pnpm/vue@3.2.47/node_modules/vue").ComputedRef<string>;
|
|
22
|
-
conditionalClasses: import("../../../../../node_modules/.pnpm/vue@3.2.47/node_modules/vue").ComputedRef<{
|
|
23
|
-
[x: string]: boolean;
|
|
24
|
-
}>;
|
|
25
|
-
}, unknown, {}, {}, import("../../../../../node_modules/.pnpm/vue@3.2.47/node_modules/vue").ComponentOptionsMixin, import("../../../../../node_modules/.pnpm/vue@3.2.47/node_modules/vue").ComponentOptionsMixin, {}, string, import("../../../../../node_modules/.pnpm/vue@3.2.47/node_modules/vue").VNodeProps & import("../../../../../node_modules/.pnpm/vue@3.2.47/node_modules/vue").AllowedComponentProps & import("../../../../../node_modules/.pnpm/vue@3.2.47/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../../node_modules/.pnpm/vue@3.2.47/node_modules/vue").ExtractPropTypes<{
|
|
26
|
-
/**
|
|
27
|
-
* Types of flavour of Badge
|
|
28
|
-
* @values default, attention, warning, critical, success
|
|
29
|
-
*/
|
|
30
|
-
variant: {
|
|
31
|
-
type: PropType<AdlBadgeVariant>;
|
|
32
|
-
default: AdlBadgeVariant;
|
|
33
|
-
validator: (value: AdlBadgeVariant) => boolean;
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* For testing purposes you can decide which testId your adl-badge instance will have
|
|
37
|
-
*/
|
|
38
|
-
testId: {
|
|
39
|
-
type: StringConstructor;
|
|
40
|
-
default: string;
|
|
41
|
-
};
|
|
42
|
-
}>>, {
|
|
43
|
-
variant: AdlBadgeVariant;
|
|
44
|
-
testId: string;
|
|
45
|
-
}>;
|
|
46
|
-
export default _default;
|
package/dist/assets/badge.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.adl2-badge[data-v-ca8f66f9]{color:var(--adl-component-base-text-color);font-family:var(--adl-component-base-font-family);font-size:var(--adl-component-base-font-size);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-weight:var(--adl-component-base-font-weight);line-height:var(--adl-component-base-line-height);align-items:center;border-radius:9999px;cursor:default;display:inline-flex;flex-direction:row;font-weight:var(--adl-badge-font-weight);gap:var(--adl-badge-gap);height:var(--adl-badge-height);padding:var(--adl-badge-padding);width:fit-content}.adl2-badge[data-v-ca8f66f9],.adl2-badge[data-v-ca8f66f9]:before,.adl2-badge[data-v-ca8f66f9]:after{box-sizing:border-box}.adl2-badge *[data-v-ca8f66f9],.adl2-badge *[data-v-ca8f66f9]:before,.adl2-badge *[data-v-ca8f66f9]:after{box-sizing:border-box}.adl2-badge--default[data-v-ca8f66f9]{background-color:var(--adl-badge-default-background-color)}.adl2-badge--attention[data-v-ca8f66f9]{background-color:var(--adl-badge-attention-background-color)}.adl2-badge--warning[data-v-ca8f66f9]{background-color:var(--adl-badge-warning-background-color)}.adl2-badge--critical[data-v-ca8f66f9]{background-color:var(--adl-badge-critical-background-color)}.adl2-badge--success[data-v-ca8f66f9]{background-color:var(--adl-badge-success-background-color)}
|
package/dist/badge.js
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { defineComponent as l, computed as n, openBlock as d, createElementBlock as i, normalizeClass as c, renderSlot as r, createCommentVNode as u } from "vue";
|
|
2
|
-
import { u as p } from "./chunks/aria-label.CaUURpnB.js";
|
|
3
|
-
import { g as f } from "./chunks/get-slot-text.D5WBGjic.js";
|
|
4
|
-
import { _ as m } from "./chunks/_plugin-vue_export-helper.CHgC5LLL.js";
|
|
5
|
-
import "./assets/badge.css";
|
|
6
|
-
var t = /* @__PURE__ */ ((e) => (e.DEFAULT = "default", e.ATTENTION = "attention", e.WARNING = "warning", e.CRITICAL = "critical", e.SUCCESS = "success", e))(t || {});
|
|
7
|
-
const b = l({
|
|
8
|
-
name: "adl-badge",
|
|
9
|
-
props: {
|
|
10
|
-
/**
|
|
11
|
-
* Types of flavour of Badge
|
|
12
|
-
* @values default, attention, warning, critical, success
|
|
13
|
-
*/
|
|
14
|
-
variant: {
|
|
15
|
-
type: String,
|
|
16
|
-
default: t.DEFAULT,
|
|
17
|
-
validator: (e) => Object.values(t).includes(e)
|
|
18
|
-
},
|
|
19
|
-
/**
|
|
20
|
-
* For testing purposes you can decide which testId your adl-badge instance will have
|
|
21
|
-
*/
|
|
22
|
-
testId: {
|
|
23
|
-
type: String,
|
|
24
|
-
default: "adl-badge"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
setup(e, { slots: a }) {
|
|
28
|
-
const o = p({
|
|
29
|
-
label: f(a)("default"),
|
|
30
|
-
defaultFallback: "badge"
|
|
31
|
-
}), s = n(() => ({
|
|
32
|
-
[`adl2-badge--${e.variant}`]: !0
|
|
33
|
-
}));
|
|
34
|
-
return {
|
|
35
|
-
// Values
|
|
36
|
-
ariaLabel: o,
|
|
37
|
-
conditionalClasses: s
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
}), v = ["aria-label", "data-testid"];
|
|
41
|
-
function C(e, a, o, s, g, $) {
|
|
42
|
-
return d(), i("div", {
|
|
43
|
-
class: c(["adl2-badge", e.conditionalClasses]),
|
|
44
|
-
"aria-label": e.ariaLabel,
|
|
45
|
-
role: "status",
|
|
46
|
-
"data-testid": e.testId
|
|
47
|
-
}, [
|
|
48
|
-
e.$slots.icon ? r(e.$slots, "icon", { key: 0 }, void 0, !0) : u("", !0),
|
|
49
|
-
r(e.$slots, "default", {}, void 0, !0)
|
|
50
|
-
], 10, v);
|
|
51
|
-
}
|
|
52
|
-
const L = /* @__PURE__ */ m(b, [["render", C], ["__scopeId", "data-v-ca8f66f9"]]);
|
|
53
|
-
export {
|
|
54
|
-
L as AdlBadge,
|
|
55
|
-
t as AdlBadgeVariant
|
|
56
|
-
};
|
|
57
|
-
//# sourceMappingURL=badge.js.map
|
package/dist/badge.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"badge.js","sources":["../../vue2/src/components/badge/badge.types.ts","../../vue2/src/components/badge/badge.vue"],"sourcesContent":["export enum AdlBadgeVariant {\n DEFAULT = 'default',\n ATTENTION = 'attention',\n WARNING = 'warning',\n CRITICAL = 'critical',\n SUCCESS = 'success',\n}\n","<template>\n <div class=\"adl2-badge\" :class=\"conditionalClasses\" :aria-label=\"ariaLabel\" role=\"status\" :data-testid=\"testId\">\n <slot v-if=\"$slots.icon\" name=\"icon\"></slot>\n <slot></slot>\n </div>\n</template>\n\n<script lang=\"ts\">\n import { computed, defineComponent, PropType } from 'vue';\n import { AdlBadgeVariant } from './badge.types';\n import { useAriaLabel } from '@/utils/ts/aria-label';\n import { getSlotText } from '@/utils/ts/get-slot-text';\n\n export default defineComponent({\n name: 'adl-badge',\n props: {\n /**\n * Types of flavour of Badge\n * @values default, attention, warning, critical, success\n */\n variant: {\n type: String as PropType<AdlBadgeVariant>,\n default: AdlBadgeVariant.DEFAULT,\n validator: (value: AdlBadgeVariant) => Object.values(AdlBadgeVariant).includes(value),\n },\n /**\n * For testing purposes you can decide which testId your adl-badge instance will have\n */\n testId: {\n type: String,\n default: 'adl-badge',\n },\n },\n setup(props, { slots }) {\n const ariaLabel = useAriaLabel({\n label: getSlotText(slots)('default'),\n defaultFallback: 'badge',\n });\n\n const conditionalClasses = computed((): { [x: string]: boolean } => ({\n [`adl2-badge--${props.variant}`]: true,\n }));\n\n return {\n // Values\n ariaLabel,\n conditionalClasses,\n };\n },\n });\n</script>\n\n<style lang=\"scss\" scoped src=\"./badge.scss\" />\n"],"names":["AdlBadgeVariant","AdlBadgeVariant2","_sfc_main","defineComponent","value","props","slots","ariaLabel","useAriaLabel","getSlotText","conditionalClasses","computed","_sfc_render","_ctx","_cache","$props","$setup","$data","$options","openBlock","createElementBlock","normalizeClass"],"mappings":";;;;;AAAY,IAAAA,IAAA,kBAAAC,OACRA,EAAA,UAAA,WACAA,EAAA,YAAA,aACAA,EAAA,UAAA,WACAA,EAAA,WAAA,YACAA,EAAA,UAAA,WALQA,IAAAD,KAAA,CAAA,CAAA;ACaR,MAAAE,IAAAC,EAAA;AAAA,EAA+B,MAAA;AAAA,EACrB,OAAA;AAAA;AAAA;AAAA;AAAA;AAAA,IACC,SAAA;AAAA,MAKM,MAAA;AAAA,MACC,SAAAH,EAAA;AAAA,MACmB,WAAA,CAAAI,MAAA,OAAA,OAAAJ,CAAA,EAAA,SAAAI,CAAA;AAAA,IAC2D;AAAA;AAAA;AAAA;AAAA,IACxF,QAAA;AAAA,MAIQ,MAAA;AAAA,MACE,SAAA;AAAA,IACG;AAAA,EACb;AAAA,EACJ,MAAAC,GAAA,EAAA,OAAAC,EAAA,GAAA;AAEI,UAAAC,IAAAC,EAAA;AAAA,MAA+B,OAAAC,EAAAH,CAAA,EAAA,SAAA;AAAA,MACQ,iBAAA;AAAA,IAClB,CAAA,GAGrBI,IAAAC,EAAA,OAAA;AAAA,MAAqE,CAAA,eAAAN,EAAA,OAAA,EAAA,GAAA;AAAA,IAC/B,EAAA;AAGtC,WAAA;AAAA;AAAA,MAAO,WAAAE;AAAA,MAEH,oBAAAG;AAAA,IACA;AAAA,EACJ;AAER,CAAA;AAhDU,SAAAE,EAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAAC,GAAA;AAA2C,SAAAC,EAAA,GAAAC,EAAA,OAAA;AAAA,IAAqB,OAAAC,EAAA,CAAA,cAAAR,EAAA,kBAAA,CAAA;AAAA,IAAe,cAAAA,EAAA;AAAA,IAAe,MAAA;AAAA;EAC7E,GAAA;AAAA;;;;;"}
|