@adyen/bento-vue2 1.10.0 → 1.11.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/components.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/code-snippet/{composables/useLanguage.d.ts → utils/get-lang-loader.d.ts} +1 -3
- package/dist/@types/packages/vue2/src/components/country/composables/index.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/country/composables/{useCountryCapital/useCountryCapital.d.ts → use-country-capital/use-country-capital.d.ts} +1 -1
- package/dist/@types/packages/vue2/src/components/country/composables/{useCountryName/useCountryName.d.ts → use-country-name/use-country-name.d.ts} +1 -1
- package/dist/@types/packages/vue2/src/components/country/composables/{useCountryPhoneCode/useCountryPhoneCode.d.ts → use-country-phone-code/use-country-phon-code.d.ts} +1 -1
- package/dist/@types/packages/vue2/src/components/country/country.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/index.d.ts +10 -8
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/{useCalculateColumnWidth/useCalculateColumnWidth.d.ts → use-calculate-column-width/use-calculate-column-width.d.ts} +1 -2
- package/dist/@types/packages/vue2/src/components/data-grid/composables/{useKeyboardNavigator/useKeyboardNavigator.d.ts → use-keyboard-navigator/use-keyboard-navigator.d.ts} +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/{useResizer.d.ts → use-resizer.d.ts} +0 -1
- package/dist/@types/packages/vue2/src/components/data-grid/composables/{useScroller/useScroller.d.ts → use-scroller/use-scroller.d.ts} +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/composables/useDropdownOptionsListbox.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/dropdown/components/variants/dropdown-currency/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +1587 -5
- package/dist/@types/packages/vue2/src/components/dropdown/index.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-category/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-category/secondary-nav-category.vue.d.ts +18 -0
- package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-item/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/secondary-nav/components/secondary-nav-item/secondary-nav-item.vue.d.ts +19 -0
- package/dist/@types/packages/vue2/src/components/secondary-nav/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.keys.d.ts +3 -0
- package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.types.d.ts +14 -0
- package/dist/@types/packages/vue2/src/components/secondary-nav/secondary-nav.vue.d.ts +20 -0
- package/dist/@types/packages/vue2/src/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/utils/ts/deprecate.d.ts +1 -0
- package/dist/accordion.js +2 -2
- package/dist/action-bar.js +5 -5
- package/dist/alert.js +3 -3
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/fixed-scroller.css +1 -1
- package/dist/assets/index.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index21.css +1 -1
- package/dist/assets/index22.css +1 -1
- package/dist/assets/index23.css +1 -1
- package/dist/assets/index24.css +1 -1
- package/dist/assets/index25.css +1 -1
- package/dist/assets/index26.css +1 -1
- package/dist/assets/index27.css +1 -1
- package/dist/assets/index28.css +1 -1
- package/dist/assets/index29.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index30.css +1 -1
- package/dist/assets/index31.css +1 -1
- package/dist/assets/index32.css +1 -1
- package/dist/assets/index33.css +1 -1
- package/dist/assets/index34.css +1 -1
- package/dist/assets/index35.css +1 -1
- package/dist/assets/index36.css +1 -1
- package/dist/assets/index37.css +1 -1
- package/dist/assets/index38.css +1 -1
- package/dist/assets/index39.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index40.css +1 -1
- package/dist/assets/index41.css +1 -1
- package/dist/assets/index42.css +1 -1
- package/dist/assets/index43.css +1 -1
- package/dist/assets/index44.css +1 -1
- package/dist/assets/index45.css +1 -1
- package/dist/assets/index46.css +1 -0
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/badge.js +1 -1
- package/dist/button.js +5 -5
- package/dist/card.js +2 -2
- package/dist/checkbox.js +6 -6
- package/dist/chunks/{base-button.46843461.js → base-button.f58ffaaa.js} +2 -2
- package/dist/chunks/{base-button.46843461.js.map → base-button.f58ffaaa.js.map} +1 -1
- package/dist/chunks/{base-modal.193ce866.js → base-modal.435bdd62.js} +5 -5
- package/dist/chunks/{base-modal.193ce866.js.map → base-modal.435bdd62.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.11988565.js → button-actions-with-menu.3849a35c.js} +3 -3
- package/dist/chunks/{button-actions-with-menu.11988565.js.map → button-actions-with-menu.3849a35c.js.map} +1 -1
- package/dist/chunks/{button.f3f05408.js → button.3ce10493.js} +2 -2
- package/dist/chunks/{button.f3f05408.js.map → button.3ce10493.js.map} +1 -1
- package/dist/chunks/{calendar.7dbac3b8.js → calendar.3e9c35d0.js} +4 -4
- package/dist/chunks/{calendar.7dbac3b8.js.map → calendar.3e9c35d0.js.map} +1 -1
- package/dist/chunks/{checkbox.f6f6ce39.js → checkbox.68cc1f84.js} +3 -3
- package/dist/chunks/{checkbox.f6f6ce39.js.map → checkbox.68cc1f84.js.map} +1 -1
- package/dist/chunks/{controls-group.24a9efb1.js → controls-group.9e878137.js} +3 -3
- package/dist/chunks/{controls-group.24a9efb1.js.map → controls-group.9e878137.js.map} +1 -1
- package/dist/chunks/{copy.f4019f8d.js → copy.14578696.js} +4 -4
- package/dist/chunks/{copy.f4019f8d.js.map → copy.14578696.js.map} +1 -1
- package/dist/chunks/country.types.002caff2.js +5871 -0
- package/dist/chunks/country.types.002caff2.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.a1240b9d.js → dropdown-default-textbox.4b227b24.js} +2 -2
- package/dist/chunks/{dropdown-default-textbox.a1240b9d.js.map → dropdown-default-textbox.4b227b24.js.map} +1 -1
- package/dist/chunks/{dropdown.f784ac67.js → dropdown.7749c2d7.js} +272 -271
- package/dist/chunks/dropdown.7749c2d7.js.map +1 -0
- package/dist/chunks/{field-label.bdf22f47.js → field-label.3019a2f3.js} +2 -2
- package/dist/chunks/{field-label.bdf22f47.js.map → field-label.3019a2f3.js.map} +1 -1
- package/dist/chunks/{fixed-scroller.28158c25.js → fixed-scroller.cd3e1f8d.js} +2 -2
- package/dist/chunks/{fixed-scroller.28158c25.js.map → fixed-scroller.cd3e1f8d.js.map} +1 -1
- package/dist/chunks/{footer-actions.08a8323b.js → footer-actions.da12aa54.js} +3 -3
- package/dist/chunks/{footer-actions.08a8323b.js.map → footer-actions.da12aa54.js.map} +1 -1
- package/dist/chunks/{index.f651209d.js → index.026ae47b.js} +2 -2
- package/dist/chunks/{index.f651209d.js.map → index.026ae47b.js.map} +1 -1
- package/dist/chunks/{index.6c299479.js → index.02859365.js} +2 -2
- package/dist/chunks/{index.6c299479.js.map → index.02859365.js.map} +1 -1
- package/dist/chunks/{index.9bdf4d78.js → index.13ede682.js} +6 -6
- package/dist/chunks/{index.9bdf4d78.js.map → index.13ede682.js.map} +1 -1
- package/dist/chunks/{index.858b0720.js → index.32095db1.js} +22 -22
- package/dist/chunks/index.32095db1.js.map +1 -0
- package/dist/chunks/{index.158c522b.js → index.618cc4cb.js} +2 -2
- package/dist/chunks/{index.158c522b.js.map → index.618cc4cb.js.map} +1 -1
- package/dist/chunks/{index.ad4b770b.js → index.6a417137.js} +5 -5
- package/dist/chunks/{index.ad4b770b.js.map → index.6a417137.js.map} +1 -1
- package/dist/chunks/{index.1036f656.js → index.8f1e4d8d.js} +3 -3
- package/dist/chunks/{index.1036f656.js.map → index.8f1e4d8d.js.map} +1 -1
- package/dist/chunks/{index.9051abfc.js → index.9398acc6.js} +29 -29
- package/dist/chunks/{index.9051abfc.js.map → index.9398acc6.js.map} +1 -1
- package/dist/chunks/{index.4824eab5.js → index.c032aa32.js} +7 -7
- package/dist/chunks/{index.4824eab5.js.map → index.c032aa32.js.map} +1 -1
- package/dist/chunks/{index.7039d901.js → index.eede8742.js} +3 -3
- package/dist/chunks/{index.7039d901.js.map → index.eede8742.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.60c0beca.js → listbox-option-tag.2efd15e0.js} +3 -3
- package/dist/chunks/{listbox-option-tag.60c0beca.js.map → listbox-option-tag.2efd15e0.js.map} +1 -1
- package/dist/chunks/{listbox.163433c5.js → listbox.371743bc.js} +4 -4
- package/dist/chunks/{listbox.163433c5.js.map → listbox.371743bc.js.map} +1 -1
- package/dist/chunks/{loading-button.7b5d0c22.js → loading-button.2e197f34.js} +2 -2
- package/dist/chunks/{loading-button.7b5d0c22.js.map → loading-button.2e197f34.js.map} +1 -1
- package/dist/chunks/{tooltip.4a1300d5.js → tooltip.1ec3479c.js} +3 -3
- package/dist/chunks/{tooltip.4a1300d5.js.map → tooltip.1ec3479c.js.map} +1 -1
- package/dist/chunks/useCountryItems.6b7985bf.js +29 -0
- package/dist/chunks/{useCountryItems.34ac8740.js.map → useCountryItems.6b7985bf.js.map} +1 -1
- package/dist/code-snippet.js +10 -12
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +41 -5902
- package/dist/country.js.map +1 -1
- package/dist/currency.js +1 -1
- package/dist/data-grid.js +344 -344
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +18 -18
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +41 -41
- package/dist/dropdown.js.map +1 -1
- package/dist/empty-state.js +3 -3
- package/dist/filter-bar.js +401 -402
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +2 -2
- package/dist/form-layout.js.map +1 -1
- package/dist/header.js +3 -3
- package/dist/index.js +173 -170
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +3 -3
- package/dist/input-field.js +4 -4
- package/dist/internal.js +7 -7
- package/dist/link.js +2 -2
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal.js +3 -3
- package/dist/pagination.js +22 -22
- package/dist/pagination.js.map +1 -1
- package/dist/payment-method.js +2 -2
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/radio-group.js +4 -4
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +98 -0
- package/dist/secondary-nav.js.map +1 -0
- package/dist/segmented-control.js +3 -3
- package/dist/sidepanel.js +4 -4
- package/dist/status.js +2 -2
- package/dist/stepper.js +3 -3
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +3 -3
- package/dist/tabs.js +3 -3
- package/dist/tag.js +3 -3
- package/dist/textarea.js +4 -4
- package/dist/timeline.js +5 -5
- package/dist/toast.js +3 -3
- package/dist/toggle.js +2 -2
- package/dist/tutorial.js +5 -5
- package/dist/typography.js +1 -1
- package/dist/web-types.json +129 -1
- package/package.json +6 -3
- package/dist/chunks/dropdown.f784ac67.js.map +0 -1
- package/dist/chunks/index.858b0720.js.map +0 -1
- package/dist/chunks/useCountryItems.34ac8740.js +0 -29
- /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useCalculateColumnWidth/useCalculateColumnWidth.types.d.ts → use-calculate-column-width/use-calculate-column-width.types.d.ts} +0 -0
- /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useCalculateStickyElementHeight/useCalculateStickyElementHeight.d.ts → use-calculate-sticky-element-height/use-calculate-sticky-element-height.d.ts} +0 -0
- /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useColumnReorderer/useColumnReorderer.d.ts → use-column-reorderer/use-column-reorderer.d.ts} +0 -0
- /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useConfigSettings/useConfigSettings.d.ts → use-config-settings/use-config-settings.d.ts} +0 -0
- /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useKeyboardNavigator/useKeyboardNavigator.types.d.ts → use-keyboard-navigator/use-keyboard-navigator.types.d.ts} +0 -0
- /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useLazyLoading/useLazyLoading.d.ts → use-lazy-loading/use-lazy-loading.d.ts} +0 -0
- /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useSelector.d.ts → use-selector.d.ts} +0 -0
- /package/dist/@types/packages/vue2/src/components/data-grid/composables/{useSorter.d.ts → use-sorter.d.ts} +0 -0
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { defineComponent as r, inject as d, computed as p, ref as y, readonly as f, provide as m } from "vue";
|
|
2
|
+
import { B as o } from "./chunks/index.32095db1.js";
|
|
3
|
+
import { n as c } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
4
|
+
import "./assets/index26.css";
|
|
5
|
+
const u = Symbol("secondary nav state"), b = {}, C = /* @__PURE__ */ r({
|
|
6
|
+
...b,
|
|
7
|
+
__name: "secondary-nav-item",
|
|
8
|
+
props: {
|
|
9
|
+
label: null,
|
|
10
|
+
value: null
|
|
11
|
+
},
|
|
12
|
+
emits: ["click"],
|
|
13
|
+
setup(n, { emit: e }) {
|
|
14
|
+
const a = n, { activeItemValue: s, updateActiveItemValue: t } = d(u), _ = p(() => ({
|
|
15
|
+
"b-secondary-nav-item--active": s.value === a.value
|
|
16
|
+
}));
|
|
17
|
+
return { __sfc: !0, activeItemValue: s, updateActiveItemValue: t, props: a, conditionalClasses: _, emit: e, onClick: (v) => {
|
|
18
|
+
e("click", v), t(a.value);
|
|
19
|
+
}, BentoTypography: o };
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
var g = function() {
|
|
23
|
+
var e = this, a = e._self._c, s = e._self._setupProxy;
|
|
24
|
+
return a("button", { staticClass: "b-secondary-nav-item", class: s.conditionalClasses, on: { click: s.onClick } }, [a(s.BentoTypography, { staticClass: "b-secondary-nav-item__title", attrs: { variant: "body", stronger: "" } }, [e._v(" " + e._s(e.label) + " ")])], 1);
|
|
25
|
+
}, N = [], x = /* @__PURE__ */ c(
|
|
26
|
+
C,
|
|
27
|
+
g,
|
|
28
|
+
N,
|
|
29
|
+
!1,
|
|
30
|
+
null,
|
|
31
|
+
"88034e97",
|
|
32
|
+
null,
|
|
33
|
+
null
|
|
34
|
+
);
|
|
35
|
+
const i = x.exports, $ = {}, h = /* @__PURE__ */ r({
|
|
36
|
+
...$,
|
|
37
|
+
__name: "secondary-nav-category",
|
|
38
|
+
props: {
|
|
39
|
+
label: null,
|
|
40
|
+
items: null
|
|
41
|
+
},
|
|
42
|
+
setup(n) {
|
|
43
|
+
return { __sfc: !0, BentoTypography: o, SecondaryNavItem: i };
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
var I = function() {
|
|
47
|
+
var e = this, a = e._self._c, s = e._self._setupProxy;
|
|
48
|
+
return a("section", { staticClass: "b-secondary-nav-category", attrs: { "aria-label": e.label } }, [a(s.BentoTypography, { staticClass: "b-secondary-nav-category__label", attrs: { el: "h1", variant: "caption", stronger: "" } }, [e._v(e._s(e.label))]), a("ul", { staticClass: "b-secondary-nav__list" }, e._l(e.items, function(t) {
|
|
49
|
+
return a("li", { key: t.value }, [a(s.SecondaryNavItem, { attrs: { label: t.label, value: t.value } })], 1);
|
|
50
|
+
}), 0)], 1);
|
|
51
|
+
}, S = [], k = /* @__PURE__ */ c(
|
|
52
|
+
h,
|
|
53
|
+
I,
|
|
54
|
+
S,
|
|
55
|
+
!1,
|
|
56
|
+
null,
|
|
57
|
+
"e84d58de",
|
|
58
|
+
null,
|
|
59
|
+
null
|
|
60
|
+
);
|
|
61
|
+
const V = k.exports, A = {}, B = /* @__PURE__ */ r({
|
|
62
|
+
...A,
|
|
63
|
+
__name: "secondary-nav",
|
|
64
|
+
props: {
|
|
65
|
+
items: null,
|
|
66
|
+
value: null
|
|
67
|
+
},
|
|
68
|
+
emits: ["change"],
|
|
69
|
+
setup(n, { emit: e }) {
|
|
70
|
+
const a = n, s = y(a.value), t = (l) => {
|
|
71
|
+
s.value = l, e("change", l);
|
|
72
|
+
}, _ = {
|
|
73
|
+
activeItemValue: f(s),
|
|
74
|
+
updateActiveItemValue: t
|
|
75
|
+
};
|
|
76
|
+
return m(u, _), { __sfc: !0, props: a, emit: e, activeItemValue: s, updateActiveItemValue: t, state: _, SecondaryNavItem: i, SecondaryNavCategory: V };
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
var T = function() {
|
|
80
|
+
var e = this, a = e._self._c, s = e._self._setupProxy;
|
|
81
|
+
return a("nav", { staticClass: "b-secondary-nav" }, [a("ul", { staticClass: "b-secondary-nav__list" }, e._l(e.items, function(t) {
|
|
82
|
+
return a("li", { key: t.label }, ["items" in t ? a(s.SecondaryNavCategory, { attrs: { label: t.label, items: t.items } }) : a(s.SecondaryNavItem, { attrs: { label: t.label, value: t.value } })], 1);
|
|
83
|
+
}), 0)]);
|
|
84
|
+
}, R = [], F = /* @__PURE__ */ c(
|
|
85
|
+
B,
|
|
86
|
+
T,
|
|
87
|
+
R,
|
|
88
|
+
!1,
|
|
89
|
+
null,
|
|
90
|
+
"7f3beaf9",
|
|
91
|
+
null,
|
|
92
|
+
null
|
|
93
|
+
);
|
|
94
|
+
const z = F.exports;
|
|
95
|
+
export {
|
|
96
|
+
z as BentoSecondaryNav
|
|
97
|
+
};
|
|
98
|
+
//# sourceMappingURL=secondary-nav.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"secondary-nav.js","sources":["../src/components/secondary-nav/secondary-nav.keys.ts","../src/components/secondary-nav/components/secondary-nav-item/secondary-nav-item.vue","../src/components/secondary-nav/components/secondary-nav-category/secondary-nav-category.vue","../src/components/secondary-nav/secondary-nav.vue"],"sourcesContent":["import { InjectionKey } from 'vue';\nimport { BentoSecondaryNavState } from './secondary-nav.types';\n\nexport const SECONDARY_NAV_STATE = Symbol('secondary nav state') as InjectionKey<BentoSecondaryNavState>;\n","<template>\n <button class=\"b-secondary-nav-item\" :class=\"conditionalClasses\" @click=\"onClick\">\n <bento-typography class=\"b-secondary-nav-item__title\" variant=\"body\" stronger>\n {{ label }}\n </bento-typography>\n </button>\n</template>\n\n<script lang=\"ts\" setup>\n import { SECONDARY_NAV_STATE } from '../../secondary-nav.keys';\n import { BentoTypography } from '@/components/typography';\n import { computed, inject } from 'vue';\n\n const { activeItemValue, updateActiveItemValue } = inject(SECONDARY_NAV_STATE);\n\n const props = defineProps<{\n /**\n * The display name of the navigation item\n */\n label: string;\n /**\n * The value of this item.\n */\n value: string;\n }>();\n\n const conditionalClasses = computed(() => ({\n 'b-secondary-nav-item--active': activeItemValue.value === props.value,\n }));\n\n const emit = defineEmits<{\n /**\n * Event emitted when this element is clicked\n */\n (e: 'click', clickEvent: MouseEvent): void;\n }>();\n\n const onClick = (e: MouseEvent) => {\n emit('click', e);\n updateActiveItemValue(props.value);\n };\n</script>\n\n<script lang=\"ts\">\n /**\n * This component shouldn't be used directly. It is internally used by {@see BentoSecondaryNav}\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./secondary-nav-item.scss\" />\n","<template>\n <section class=\"b-secondary-nav-category\" :aria-label=\"label\">\n <bento-typography el=\"h1\" class=\"b-secondary-nav-category__label\" variant=\"caption\" stronger>{{\n label\n }}</bento-typography>\n <ul class=\"b-secondary-nav__list\">\n <li v-for=\"item in items\" :key=\"item.value\">\n <secondary-nav-item :label=\"item.label\" :value=\"item.value\" />\n </li>\n </ul>\n </section>\n</template>\n\n<script lang=\"ts\" setup>\n import { BentoTypography } from '@/components/typography';\n import { SecondaryNavItem } from '../secondary-nav-item';\n import { BentoSecondaryNavItemsItem } from '../../secondary-nav.types';\n\n defineProps<{\n /**\n * The display name of the category\n */\n label: string;\n /**\n * A list of {@see BentoSecondaryNavItemsItem} that belongs to this category\n */\n items: BentoSecondaryNavItemsItem[];\n }>();\n</script>\n\n<script lang=\"ts\">\n /**\n * This component shouldn't be used directly. It is internally used by {@see BentoSecondaryNav}\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./secondary-nav-category.scss\" />\n","<template>\n <nav class=\"b-secondary-nav\">\n <ul class=\"b-secondary-nav__list\">\n <li v-for=\"item in items\" :key=\"item.label\">\n <secondary-nav-category v-if=\"'items' in item\" :label=\"item.label\" :items=\"item.items\" />\n <secondary-nav-item v-else :label=\"item.label\" :value=\"item.value\" />\n </li>\n </ul>\n </nav>\n</template>\n\n<script setup lang=\"ts\">\n import { provide, readonly, ref } from 'vue';\n import { SecondaryNavItem } from './components/secondary-nav-item';\n import { SecondaryNavCategory } from './components/secondary-nav-category';\n import { SECONDARY_NAV_STATE } from './secondary-nav.keys';\n import { BentoSecondaryNavItems, BentoSecondaryNavState } from './secondary-nav.types';\n\n const props = defineProps<{\n /**\n * An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },\n * which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.\n */\n items: BentoSecondaryNavItems;\n /**\n * The value of the selected item.\n */\n value?: string;\n }>();\n\n const emit = defineEmits<{\n /**\n * Emmited when the current selected item changes\n */\n (e: 'change', category: string): void;\n }>();\n\n const activeItemValue = ref(props.value);\n const updateActiveItemValue = (value: string) => {\n activeItemValue.value = value;\n emit('change', value);\n };\n\n // The component's state is inject on `secondary-nav-item` to determine the\n // current active item and to change its value\n const state: BentoSecondaryNavState = {\n activeItemValue: readonly(activeItemValue),\n updateActiveItemValue,\n };\n\n provide(SECONDARY_NAV_STATE, state);\n</script>\n\n<script lang=\"ts\">\n /**\n * Secondary Nav offers users a structured way to access information.\n * It also provides a clear hierarchy for users to understand and navigate through various information.\n *\n * @example\n * import { BentoSecondaryNav } from '@adyen/bento-vue2';\n *\n * export default {\n * components: { BentoSecondaryNav },\n * template: `\n * <bento-secondary-nav :value=\"value\" :items=\"items\" />\n * `,\n * setup() {\n * const value = ref(2) // Active item value\n * const items: BentoSecondaryNavItemInfo[] = [\n * { label: 'Option 1', value: 1 },\n * { label: 'Option 2', value: 2 },\n * ];\n * return { items, value };\n * }\n * }\n */\n export default {};\n</script>\n\n<style lang=\"scss\" scoped src=\"./secondary-nav.scss\" />\n"],"names":["SECONDARY_NAV_STATE","__default__$2","activeItemValue","updateActiveItemValue","inject","conditionalClasses","computed","props","e","emit","__default__$1","__default__","ref","value","state","readonly","provide"],"mappings":";;;;AAGa,MAAAA,IAAA,OAAA,qBAAA,GC4CTC,IAAA,CAAA;;;;;;;;;iBAlCA,EAAA,iBAAAC,GAAA,uBAAAC,EAAA,IAAAC,EAAAJ,CAAA,GAaAK,IAAAC,EAAA,OAAA;AAAA,MAA2C,gCAAAJ,EAAA,UAAAK,EAAA;AAAA,IACyB,EAAA;yHAUpE,CAAAC,MAAA;AACI,MAAAC,EAAA,SAAAD,CAAA,GACAL,EAAAI,EAAA,KAAA;AAAA,IAAiC;;;;;;;;;;;;;;;;qBCLrCG,IAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;qBC0CAC,IAAA,CAAA;;;;;;;;;iBAvCAT,IAAAU,EAAAL,EAAA,KAAA,GACAJ,IAAA,CAAAU,MAAA;AACI,MAAAX,EAAA,QAAAW,GACAJ,EAAA,UAAAI,CAAA;AAAA,IAAoB,GAKxBC,IAAA;AAAA,MAAsC,iBAAAC,EAAAb,CAAA;AAAA,MACO,uBAAAC;AAAA,IACzC;AAGJ,WAAAa,EAAAhB,GAAAc,CAAA;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as g, ref as r, computed as s, toRef as k, toRefs as w, onMounted as L } from "vue";
|
|
2
|
-
import { B as x } from "./chunks/index.
|
|
2
|
+
import { B as x } from "./chunks/index.32095db1.js";
|
|
3
3
|
import { g as I } from "./chunks/unique-id.a2a2b458.js";
|
|
4
4
|
import { C as S } from "./chunks/checkmark.a6ed8f47.js";
|
|
5
5
|
import { n as v } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
6
6
|
import { u as $ } from "./chunks/i18n.eb5b985b.js";
|
|
7
7
|
import { u as W } from "./chunks/aria-label.ac9651a5.js";
|
|
8
8
|
import { o as T } from "./chunks/resize.a041304d.js";
|
|
9
|
-
import { b as A } from "./chunks/tooltip.
|
|
10
|
-
import "./assets/
|
|
9
|
+
import { b as A } from "./chunks/tooltip.1ec3479c.js";
|
|
10
|
+
import "./assets/index28.css";
|
|
11
11
|
const F = g({
|
|
12
12
|
name: "bento-segmented-control-button",
|
|
13
13
|
components: { BentoTypography: x, CheckmarkIcon: S },
|
package/dist/sidepanel.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as L, ref as r, inject as B, onUnmounted as V, computed as p, watch as y, nextTick as N, toRefs as F, provide as O } from "vue";
|
|
2
|
-
import { a as w } from "./chunks/button.
|
|
3
|
-
import { B as G } from "./chunks/index.
|
|
4
|
-
import { F as $ } from "./chunks/footer-actions.
|
|
2
|
+
import { a as w } from "./chunks/button.3ce10493.js";
|
|
3
|
+
import { B as G } from "./chunks/index.32095db1.js";
|
|
4
|
+
import { F as $ } from "./chunks/footer-actions.da12aa54.js";
|
|
5
5
|
import { A as H } from "./chunks/arrow-left.2db60716.js";
|
|
6
6
|
import { u as R } from "./chunks/i18n.eb5b985b.js";
|
|
7
7
|
import { n as D } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
8
|
-
import { B as j } from "./chunks/index.
|
|
8
|
+
import { B as j } from "./chunks/index.02859365.js";
|
|
9
9
|
import { C as J } from "./chunks/cross.04678d81.js";
|
|
10
10
|
import "./assets/index24.css";
|
|
11
11
|
var h = /* @__PURE__ */ ((l) => (l.UPDATE_ACTIVE_PAGE = "update:active-page", l.UPDATE_IS_OPEN = "update:is-open", l))(h || {}), T = /* @__PURE__ */ ((l) => (l.TRANSITION_LEVEL_DEEPER = "b-sidepanel-page__animation--level-deeper", l.TRANSITION_LEVEL_UPPER = "b-sidepanel-page__animation--level-upper", l))(T || {});
|
package/dist/status.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as n, computed as a } from "vue";
|
|
2
|
-
import { B as o } from "./chunks/index.
|
|
2
|
+
import { B as o } from "./chunks/index.32095db1.js";
|
|
3
3
|
import { n as l } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
4
|
-
import "./assets/
|
|
4
|
+
import "./assets/index34.css";
|
|
5
5
|
var r = /* @__PURE__ */ ((s) => (s.BLUE = "blue", s.GREEN = "green", s.GREY = "grey", s.ORANGE = "orange", s.RED = "red", s.YELLOW = "yellow", s))(r || {});
|
|
6
6
|
const _ = n({
|
|
7
7
|
name: "bento-status",
|
package/dist/stepper.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as V, ref as p, computed as o, watch as A, provide as w, readonly as K, useSlots as W, inject as z, onMounted as Z } from "vue";
|
|
2
|
-
import { B as L } from "./chunks/index.
|
|
2
|
+
import { B as L } from "./chunks/index.32095db1.js";
|
|
3
3
|
import { B as I, a as M } from "./chunks/keyboard-navigation.ca47dfa8.js";
|
|
4
4
|
import { u as U } from "./chunks/i18n.eb5b985b.js";
|
|
5
5
|
import { n as T } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
6
|
-
import { B as j } from "./chunks/base-button.
|
|
6
|
+
import { B as j } from "./chunks/base-button.f58ffaaa.js";
|
|
7
7
|
import { C as G } from "./chunks/checkmark-small.520f01b1.js";
|
|
8
|
-
import "./assets/
|
|
8
|
+
import "./assets/index29.css";
|
|
9
9
|
const q = (i) => {
|
|
10
10
|
function s(r) {
|
|
11
11
|
return ({ detail: u }) => {
|
package/dist/structured-list.js
CHANGED
package/dist/summary-grid.js
CHANGED
|
@@ -4,10 +4,10 @@ import { S as h } from "./chunks/summary-grid.keys.1d1028c2.js";
|
|
|
4
4
|
import { G as E } from "./chunks/grid-layout.e0025286.js";
|
|
5
5
|
import { n as c } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
6
6
|
import { BentoInfoIcon as O } from "./info-icon.js";
|
|
7
|
-
import { B as L, a as g } from "./chunks/index.
|
|
7
|
+
import { B as L, a as g } from "./chunks/index.32095db1.js";
|
|
8
8
|
import { BentoTag as M, BentoTagVariant as f } from "./tag.js";
|
|
9
|
-
import { C as G } from "./chunks/copy.
|
|
10
|
-
import "./assets/
|
|
9
|
+
import { C as G } from "./chunks/copy.14578696.js";
|
|
10
|
+
import "./assets/index37.css";
|
|
11
11
|
const P = l({
|
|
12
12
|
name: "bento-summary-grid",
|
|
13
13
|
components: { GridLayout: E },
|
package/dist/tabs.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as m, toRefs as C, ref as _, provide as u, computed as w, inject as p, onUnmounted as A, watch as N, nextTick as B } from "vue";
|
|
2
2
|
import { E as k, T as I, a as h } from "./chunks/tabs.keys.358742f2.js";
|
|
3
3
|
import { n as g } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
4
|
-
import { B as R } from "./chunks/index.
|
|
4
|
+
import { B as R } from "./chunks/index.32095db1.js";
|
|
5
5
|
import { g as D } from "./chunks/unique-id.a2a2b458.js";
|
|
6
|
-
import { F as S } from "./chunks/fixed-scroller.
|
|
7
|
-
import "./assets/
|
|
6
|
+
import { F as S } from "./chunks/fixed-scroller.cd3e1f8d.js";
|
|
7
|
+
import "./assets/index38.css";
|
|
8
8
|
const K = m({
|
|
9
9
|
props: {
|
|
10
10
|
/**
|
package/dist/tag.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as c, computed as o } from "vue";
|
|
2
|
-
import { B as d } from "./chunks/index.
|
|
2
|
+
import { B as d } from "./chunks/index.32095db1.js";
|
|
3
3
|
import { u as m } from "./chunks/aria-label.ac9651a5.js";
|
|
4
4
|
import { g as s } from "./chunks/get-slot-text.99c3d860.js";
|
|
5
|
-
import { b as _ } from "./chunks/tooltip.
|
|
5
|
+
import { b as _ } from "./chunks/tooltip.1ec3479c.js";
|
|
6
6
|
import { n as v } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
7
|
-
import "./assets/
|
|
7
|
+
import "./assets/index39.css";
|
|
8
8
|
var r = /* @__PURE__ */ ((t) => (t.GREY = "grey", t.BLUE = "blue", t.GREEN = "green", t.ORANGE = "orange", t.RED = "red", t.WHITE = "white", t))(r || {});
|
|
9
9
|
const p = c({
|
|
10
10
|
name: "bento-tag",
|
package/dist/textarea.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as j, useAttrs as J, toRefs as B, ref as u, toRef as K, computed as o, watch as x, nextTick as Q, onMounted as X } from "vue";
|
|
2
|
-
import { a as ee } from "./chunks/button.
|
|
3
|
-
import { B as te } from "./chunks/index.
|
|
2
|
+
import { a as ee } from "./chunks/button.3ce10493.js";
|
|
3
|
+
import { B as te } from "./chunks/index.32095db1.js";
|
|
4
4
|
import { n as F } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
5
5
|
import { g as ae } from "./chunks/unique-id.a2a2b458.js";
|
|
6
6
|
import { o as k } from "./chunks/resize.a041304d.js";
|
|
7
7
|
import { u as re } from "./chunks/aria-label.ac9651a5.js";
|
|
8
8
|
import { u as le } from "./chunks/i18n.eb5b985b.js";
|
|
9
9
|
import { u as se } from "./chunks/use-form-layout-loading.d03e5d48.js";
|
|
10
|
-
import { E as oe, F as ne } from "./chunks/field-label.
|
|
11
|
-
import "./assets/
|
|
10
|
+
import { E as oe, F as ne } from "./chunks/field-label.3019a2f3.js";
|
|
11
|
+
import "./assets/index40.css";
|
|
12
12
|
let O = 0;
|
|
13
13
|
const ie = {
|
|
14
14
|
beforeCreate() {
|
package/dist/timeline.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { defineComponent as Y, computed as r, ref as N, toRefs as Z, provide as A, inject as D, onUnmounted as G } from "vue";
|
|
2
|
-
import { a as z } from "./chunks/button.
|
|
2
|
+
import { a as z } from "./chunks/button.3ce10493.js";
|
|
3
3
|
import { BentoTextarea as Q } from "./textarea.js";
|
|
4
4
|
import { u as H } from "./chunks/i18n.eb5b985b.js";
|
|
5
5
|
import { BentoButtonActions as X } from "./button.js";
|
|
6
6
|
import { n as x } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
7
|
-
import { B as ee } from "./chunks/index.
|
|
7
|
+
import { B as ee } from "./chunks/index.618cc4cb.js";
|
|
8
8
|
import { BentoLink as te } from "./link.js";
|
|
9
9
|
import { BentoTag as ie } from "./tag.js";
|
|
10
|
-
import { B as ae, d as se } from "./chunks/index.
|
|
11
|
-
import { B as ne, a as oe, S as re } from "./chunks/index.
|
|
10
|
+
import { B as ae, d as se } from "./chunks/index.32095db1.js";
|
|
11
|
+
import { B as ne, a as oe, S as re } from "./chunks/index.13ede682.js";
|
|
12
12
|
import { g as le } from "./chunks/unique-id.a2a2b458.js";
|
|
13
13
|
import { u as me } from "./chunks/use-has-slot.fbeb19ec.js";
|
|
14
14
|
import { r as ce, e as de, t as w, g as k } from "./chunks/index.f55fdc32.js";
|
|
15
15
|
import { c as ue, a as _e } from "./chunks/index.86453263.js";
|
|
16
|
-
import "./assets/
|
|
16
|
+
import "./assets/index41.css";
|
|
17
17
|
var F = 1e3 * 60, M = 60 * 24, U = M * 30, j = M * 365;
|
|
18
18
|
function $(t, e) {
|
|
19
19
|
var i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
package/dist/toast.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as d, ref as u, computed as c, onMounted as g, watch as T } from "vue";
|
|
2
2
|
import { u as y } from "./chunks/toastController.fd667b68.js";
|
|
3
3
|
import { C, I as k } from "./chunks/info-filled.27bd4bfb.js";
|
|
4
|
-
import { a as x } from "./chunks/button.
|
|
5
|
-
import { B as S } from "./chunks/index.
|
|
4
|
+
import { a as x } from "./chunks/button.3ce10493.js";
|
|
5
|
+
import { B as S } from "./chunks/index.32095db1.js";
|
|
6
6
|
import { u as w } from "./chunks/use-has-slot.fbeb19ec.js";
|
|
7
7
|
import { n as f } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
8
|
-
import "./assets/
|
|
8
|
+
import "./assets/index42.css";
|
|
9
9
|
const $ = {
|
|
10
10
|
"en-US": {
|
|
11
11
|
dismiss: "Dismiss"
|
package/dist/toggle.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { defineComponent as k, ref as p, computed as u, toRefs as I, watch as A } from "vue";
|
|
2
2
|
import { C as B } from "./chunks/checkmark-small.520f01b1.js";
|
|
3
|
-
import { B as L } from "./chunks/index.
|
|
3
|
+
import { B as L } from "./chunks/index.32095db1.js";
|
|
4
4
|
import { g as E } from "./chunks/unique-id.a2a2b458.js";
|
|
5
5
|
import { u as F } from "./chunks/use-default-slot-validator.b9bff4c6.js";
|
|
6
6
|
import { u as R } from "./chunks/use-has-slot.fbeb19ec.js";
|
|
7
7
|
import { g } from "./chunks/get-slot-text.99c3d860.js";
|
|
8
8
|
import { u as x } from "./chunks/aria-label.ac9651a5.js";
|
|
9
9
|
import { n as T } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
10
|
-
import "./assets/
|
|
10
|
+
import "./assets/index43.css";
|
|
11
11
|
var f = /* @__PURE__ */ ((t) => (t.LABEL_FIRST = "label-first", t))(f || {}), d = /* @__PURE__ */ ((t) => (t.BEFORE = "before", t.AFTER = "after", t))(d || {});
|
|
12
12
|
const D = k({
|
|
13
13
|
name: "bento-toggle",
|
package/dist/tutorial.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { defineComponent as g, ref as d, computed as a, isRef as R, watch as F, nextTick as $ } from "vue";
|
|
2
|
-
import { B as I } from "./chunks/index.
|
|
3
|
-
import { B as S, a as P } from "./chunks/index.
|
|
4
|
-
import { B as k } from "./chunks/index.
|
|
2
|
+
import { B as I } from "./chunks/index.c032aa32.js";
|
|
3
|
+
import { B as S, a as P } from "./chunks/index.6a417137.js";
|
|
4
|
+
import { B as k } from "./chunks/index.32095db1.js";
|
|
5
5
|
import { BentoImage as w } from "./image.js";
|
|
6
6
|
import { u as A } from "./chunks/i18n.eb5b985b.js";
|
|
7
7
|
import { R as N } from "./chunks/refresh.71a03998.js";
|
|
8
8
|
import { n as f } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
9
|
-
import { a as T, h as D, o as M } from "./chunks/index.
|
|
9
|
+
import { a as T, h as D, o as M } from "./chunks/index.eede8742.js";
|
|
10
10
|
import { BentoButtonActions as V } from "./button.js";
|
|
11
|
-
import "./assets/
|
|
11
|
+
import "./assets/index44.css";
|
|
12
12
|
var E;
|
|
13
13
|
const j = /* @__PURE__ */ g({
|
|
14
14
|
__name: "tutorial-indicator",
|
package/dist/typography.js
CHANGED
package/dist/web-types.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"framework": "vue",
|
|
3
3
|
"name": "@adyen/bento-vue2",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.11.1",
|
|
5
5
|
"contributions": {
|
|
6
6
|
"html": {
|
|
7
7
|
"description-markup": "markdown",
|
|
@@ -6590,6 +6590,30 @@
|
|
|
6590
6590
|
"symbol": "default"
|
|
6591
6591
|
}
|
|
6592
6592
|
},
|
|
6593
|
+
{
|
|
6594
|
+
"name": "dropdown-click-outside-stub",
|
|
6595
|
+
"description": "",
|
|
6596
|
+
"attributes": [
|
|
6597
|
+
{
|
|
6598
|
+
"name": "items",
|
|
6599
|
+
"value": {
|
|
6600
|
+
"kind": "expression",
|
|
6601
|
+
"type": "BentoDropdown.props.items"
|
|
6602
|
+
}
|
|
6603
|
+
},
|
|
6604
|
+
{
|
|
6605
|
+
"name": "multiple",
|
|
6606
|
+
"value": {
|
|
6607
|
+
"kind": "expression",
|
|
6608
|
+
"type": "BentoDropdown.props.multiple"
|
|
6609
|
+
}
|
|
6610
|
+
}
|
|
6611
|
+
],
|
|
6612
|
+
"source": {
|
|
6613
|
+
"module": "./src/components/dropdown/__tests__/dropdown-click-outside-stub.vue",
|
|
6614
|
+
"symbol": "default"
|
|
6615
|
+
}
|
|
6616
|
+
},
|
|
6593
6617
|
{
|
|
6594
6618
|
"name": "dropdown-default-textbox",
|
|
6595
6619
|
"description": "For internal use only, textbox component used in the dropdown component.",
|
|
@@ -7219,6 +7243,14 @@
|
|
|
7219
7243
|
"type": "BentoFilterBarModel"
|
|
7220
7244
|
},
|
|
7221
7245
|
"default": "undefined"
|
|
7246
|
+
},
|
|
7247
|
+
{
|
|
7248
|
+
"name": "filterValues",
|
|
7249
|
+
"value": {
|
|
7250
|
+
"kind": "expression",
|
|
7251
|
+
"type": "BentoFilterValues"
|
|
7252
|
+
},
|
|
7253
|
+
"default": "undefined"
|
|
7222
7254
|
}
|
|
7223
7255
|
],
|
|
7224
7256
|
"source": {
|
|
@@ -8962,6 +8994,102 @@
|
|
|
8962
8994
|
"symbol": "default"
|
|
8963
8995
|
}
|
|
8964
8996
|
},
|
|
8997
|
+
{
|
|
8998
|
+
"name": "secondary-nav",
|
|
8999
|
+
"description": "",
|
|
9000
|
+
"attributes": [
|
|
9001
|
+
{
|
|
9002
|
+
"name": "items",
|
|
9003
|
+
"required": true,
|
|
9004
|
+
"description": "An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },\nwhich is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.",
|
|
9005
|
+
"value": {
|
|
9006
|
+
"kind": "expression",
|
|
9007
|
+
"type": "BentoSecondaryNavItems"
|
|
9008
|
+
}
|
|
9009
|
+
},
|
|
9010
|
+
{
|
|
9011
|
+
"name": "value",
|
|
9012
|
+
"required": false,
|
|
9013
|
+
"description": "The value of the selected item.",
|
|
9014
|
+
"value": {
|
|
9015
|
+
"kind": "expression",
|
|
9016
|
+
"type": "string"
|
|
9017
|
+
}
|
|
9018
|
+
}
|
|
9019
|
+
],
|
|
9020
|
+
"events": [
|
|
9021
|
+
{
|
|
9022
|
+
"name": "change",
|
|
9023
|
+
"description": "Emmited when the current selected item changes"
|
|
9024
|
+
}
|
|
9025
|
+
],
|
|
9026
|
+
"source": {
|
|
9027
|
+
"module": "./src/components/secondary-nav/secondary-nav.vue",
|
|
9028
|
+
"symbol": "default"
|
|
9029
|
+
}
|
|
9030
|
+
},
|
|
9031
|
+
{
|
|
9032
|
+
"name": "secondary-nav-category",
|
|
9033
|
+
"description": "",
|
|
9034
|
+
"attributes": [
|
|
9035
|
+
{
|
|
9036
|
+
"name": "label",
|
|
9037
|
+
"required": true,
|
|
9038
|
+
"description": "The display name of the category",
|
|
9039
|
+
"value": {
|
|
9040
|
+
"kind": "expression",
|
|
9041
|
+
"type": "string"
|
|
9042
|
+
}
|
|
9043
|
+
},
|
|
9044
|
+
{
|
|
9045
|
+
"name": "items",
|
|
9046
|
+
"required": true,
|
|
9047
|
+
"description": "A list of {@see BentoSecondaryNavItemsItem} that belongs to this category",
|
|
9048
|
+
"value": {
|
|
9049
|
+
"kind": "expression",
|
|
9050
|
+
"type": "Array"
|
|
9051
|
+
}
|
|
9052
|
+
}
|
|
9053
|
+
],
|
|
9054
|
+
"source": {
|
|
9055
|
+
"module": "./src/components/secondary-nav/components/secondary-nav-category/secondary-nav-category.vue",
|
|
9056
|
+
"symbol": "default"
|
|
9057
|
+
}
|
|
9058
|
+
},
|
|
9059
|
+
{
|
|
9060
|
+
"name": "secondary-nav-item",
|
|
9061
|
+
"description": "",
|
|
9062
|
+
"attributes": [
|
|
9063
|
+
{
|
|
9064
|
+
"name": "label",
|
|
9065
|
+
"required": true,
|
|
9066
|
+
"description": "The display name of the navigation item",
|
|
9067
|
+
"value": {
|
|
9068
|
+
"kind": "expression",
|
|
9069
|
+
"type": "string"
|
|
9070
|
+
}
|
|
9071
|
+
},
|
|
9072
|
+
{
|
|
9073
|
+
"name": "value",
|
|
9074
|
+
"required": true,
|
|
9075
|
+
"description": "The value of this item.",
|
|
9076
|
+
"value": {
|
|
9077
|
+
"kind": "expression",
|
|
9078
|
+
"type": "string"
|
|
9079
|
+
}
|
|
9080
|
+
}
|
|
9081
|
+
],
|
|
9082
|
+
"events": [
|
|
9083
|
+
{
|
|
9084
|
+
"name": "click",
|
|
9085
|
+
"description": "Event emitted when this element is clicked"
|
|
9086
|
+
}
|
|
9087
|
+
],
|
|
9088
|
+
"source": {
|
|
9089
|
+
"module": "./src/components/secondary-nav/components/secondary-nav-item/secondary-nav-item.vue",
|
|
9090
|
+
"symbol": "default"
|
|
9091
|
+
}
|
|
9092
|
+
},
|
|
8965
9093
|
{
|
|
8966
9094
|
"name": "sidepanel",
|
|
8967
9095
|
"description": "",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adyen/bento-vue2",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.11.1",
|
|
4
4
|
"description": "Adyen Bento Vue2 components",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -10,7 +10,10 @@
|
|
|
10
10
|
"dist/"
|
|
11
11
|
],
|
|
12
12
|
"exports": {
|
|
13
|
-
".":
|
|
13
|
+
".": {
|
|
14
|
+
"types": "./dist/@types/packages/vue2/src/index.d.ts",
|
|
15
|
+
"default": "./dist/index.js"
|
|
16
|
+
},
|
|
14
17
|
"./fonts.css": "./dist/fonts/fonts.css"
|
|
15
18
|
},
|
|
16
19
|
"sideEffects": [
|
|
@@ -57,7 +60,7 @@
|
|
|
57
60
|
"url": "git@github.com:Adyen/bento.git"
|
|
58
61
|
},
|
|
59
62
|
"dependencies": {
|
|
60
|
-
"@adyen/bento-design-tokens": "1.
|
|
63
|
+
"@adyen/bento-design-tokens": "1.11.1",
|
|
61
64
|
"@adyen/ui-assets-icons-16": "4.1.0",
|
|
62
65
|
"@adyen/ui-assets-payment-method-icons": "6.1.0",
|
|
63
66
|
"@codemirror/commands": "6.3.3",
|