@adyen/bento-vue2 1.19.0 → 1.20.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/code-snippet/utils/indent-same-as-line-before-extension.d.ts +8 -0
- package/dist/@types/packages/vue2/src/components/code-snippet/utils/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/date-range-picker/components/date-range-picker-calendar/date-range-picker-calendar.types.d.ts +2 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/date-range-filter/date-range-filter.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/link/link.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/segmented-control/components/segmented-control-button/segmented-control-button.vue.d.ts +1 -1
- package/dist/accordion.js +2 -2
- package/dist/action-bar.js +6 -6
- package/dist/alert.js +3 -3
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown-default-textbox.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/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/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/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 -1
- package/dist/assets/index47.css +1 -1
- package/dist/assets/index48.css +1 -1
- 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 +3 -3
- package/dist/checkbox.js +6 -6
- package/dist/chunks/{base-button.3c3d473d.js → base-button.d3f27fe6.js} +2 -2
- package/dist/chunks/{base-button.3c3d473d.js.map → base-button.d3f27fe6.js.map} +1 -1
- package/dist/chunks/{base-modal.27c6f2db.js → base-modal.cc448ad3.js} +37 -32
- package/dist/chunks/base-modal.cc448ad3.js.map +1 -0
- package/dist/chunks/{button-actions-with-menu.a38327c2.js → button-actions-with-menu.4e274e5d.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.a38327c2.js.map → button-actions-with-menu.4e274e5d.js.map} +1 -1
- package/dist/chunks/{button-actions.1dc90a19.js → button-actions.98e96aa6.js} +3 -3
- package/dist/chunks/{button-actions.1dc90a19.js.map → button-actions.98e96aa6.js.map} +1 -1
- package/dist/chunks/{button.0b6cda85.js → button.27948f1c.js} +3 -3
- package/dist/chunks/{button.0b6cda85.js.map → button.27948f1c.js.map} +1 -1
- package/dist/chunks/{calendar.263cfc88.js → calendar.943ea7c3.js} +136 -136
- package/dist/chunks/{calendar.263cfc88.js.map → calendar.943ea7c3.js.map} +1 -1
- package/dist/chunks/{checkbox.c7a74005.js → checkbox.2c2a1f90.js} +3 -3
- package/dist/chunks/{checkbox.c7a74005.js.map → checkbox.2c2a1f90.js.map} +1 -1
- package/dist/chunks/{controls-group.8abe0bd1.js → controls-group.02abd743.js} +3 -3
- package/dist/chunks/{controls-group.8abe0bd1.js.map → controls-group.02abd743.js.map} +1 -1
- package/dist/chunks/{copy.647aae54.js → copy.a9f87101.js} +4 -4
- package/dist/chunks/{copy.647aae54.js.map → copy.a9f87101.js.map} +1 -1
- package/dist/chunks/{dialog-page.f787969c.js → dialog-page.0e787c2d.js} +3 -3
- package/dist/chunks/{dialog-page.f787969c.js.map → dialog-page.0e787c2d.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.59803edd.js → dropdown-default-textbox.b4f19086.js} +94 -92
- package/dist/chunks/dropdown-default-textbox.b4f19086.js.map +1 -0
- package/dist/chunks/{dropdown.0574f613.js → dropdown.9abc124c.js} +14 -14
- package/dist/chunks/{dropdown.0574f613.js.map → dropdown.9abc124c.js.map} +1 -1
- package/dist/chunks/{error-message.75666843.js → error-message.3d436de3.js} +2 -2
- package/dist/chunks/{error-message.75666843.js.map → error-message.3d436de3.js.map} +1 -1
- package/dist/chunks/{fixed-scroller.06574a66.js → fixed-scroller.c430a595.js} +2 -2
- package/dist/chunks/{fixed-scroller.06574a66.js.map → fixed-scroller.c430a595.js.map} +1 -1
- package/dist/chunks/{footer-actions.0268a57b.js → footer-actions.74983707.js} +4 -4
- package/dist/chunks/{footer-actions.0268a57b.js.map → footer-actions.74983707.js.map} +1 -1
- package/dist/chunks/{index.0bb773a7.js → index.211ea795.js} +6 -6
- package/dist/chunks/{index.0bb773a7.js.map → index.211ea795.js.map} +1 -1
- package/dist/chunks/index.25de3ab8.js +32 -0
- package/dist/chunks/{index.026ae47b.js.map → index.25de3ab8.js.map} +1 -1
- package/dist/chunks/{index.de687404.js → index.2f00afab.js} +22 -22
- package/dist/chunks/{index.de687404.js.map → index.2f00afab.js.map} +1 -1
- package/dist/chunks/{index.408e1419.js → index.3a8caa8d.js} +148 -147
- package/dist/chunks/index.3a8caa8d.js.map +1 -0
- package/dist/chunks/{index.5b47c56b.js → index.54eb824c.js} +18 -16
- package/dist/chunks/index.54eb824c.js.map +1 -0
- package/dist/chunks/{index.302e9cf2.js → index.900d8b24.js} +2 -2
- package/dist/chunks/{index.302e9cf2.js.map → index.900d8b24.js.map} +1 -1
- package/dist/chunks/{index.10b9618d.js → index.985d9d31.js} +2 -2
- package/dist/chunks/{index.10b9618d.js.map → index.985d9d31.js.map} +1 -1
- package/dist/chunks/{index.dc985e76.js → index.a2095588.js} +3 -3
- package/dist/chunks/{index.dc985e76.js.map → index.a2095588.js.map} +1 -1
- package/dist/chunks/{index.5bfc67d1.js → index.af17c8ac.js} +2 -2
- package/dist/chunks/{index.5bfc67d1.js.map → index.af17c8ac.js.map} +1 -1
- package/dist/chunks/{index.a52b98d1.js → index.d080a0e6.js} +7 -7
- package/dist/chunks/{index.a52b98d1.js.map → index.d080a0e6.js.map} +1 -1
- package/dist/chunks/{index.45cd2344.js → index.dd7d8418.js} +12 -12
- package/dist/chunks/{index.45cd2344.js.map → index.dd7d8418.js.map} +1 -1
- package/dist/chunks/{index.932c230b.js → index.de9a552e.js} +6 -6
- package/dist/chunks/{index.932c230b.js.map → index.de9a552e.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.89846151.js → listbox-option-tag.37da51ba.js} +3 -3
- package/dist/chunks/{listbox-option-tag.89846151.js.map → listbox-option-tag.37da51ba.js.map} +1 -1
- package/dist/chunks/{listbox.a8180c4a.js → listbox.a142458a.js} +5 -5
- package/dist/chunks/{listbox.a8180c4a.js.map → listbox.a142458a.js.map} +1 -1
- package/dist/chunks/{loading-button.50dddf2f.js → loading-button.2c3d9afc.js} +2 -2
- package/dist/chunks/{loading-button.50dddf2f.js.map → loading-button.2c3d9afc.js.map} +1 -1
- package/dist/chunks/{tooltip.6748027a.js → tooltip.0459eb5c.js} +3 -3
- package/dist/chunks/{tooltip.6748027a.js.map → tooltip.0459eb5c.js.map} +1 -1
- package/dist/code-snippet.js +181 -165
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +2 -2
- package/dist/currency.js +1 -1
- package/dist/data-grid.js +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 +6 -6
- package/dist/empty-state.js +3 -3
- package/dist/filter-bar.js +606 -600
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +2 -2
- package/dist/header.js +4 -4
- package/dist/index.js +20 -20
- package/dist/info-icon.js +3 -3
- package/dist/input-field.js +4 -4
- package/dist/internal.js +8 -8
- package/dist/link.js +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +6 -6
- package/dist/modal.js +6 -6
- package/dist/pagination.js +3 -3
- 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 +8 -8
- package/dist/search-bar.js.map +1 -1
- package/dist/secondary-nav.js +2 -2
- package/dist/segmented-control.js +3 -3
- package/dist/sidepanel.js +6 -6
- 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 +2 -2
- package/dist/tag.js +3 -3
- package/dist/textarea.js +4 -4
- package/dist/timeline.js +7 -7
- package/dist/toast.js +2 -2
- package/dist/toggle.js +2 -2
- package/dist/tutorial.js +6 -6
- package/dist/typography.js +1 -1
- package/dist/web-types.json +16 -7
- package/package.json +2 -2
- package/dist/chunks/base-modal.27c6f2db.js.map +0 -1
- package/dist/chunks/dropdown-default-textbox.59803edd.js.map +0 -1
- package/dist/chunks/index.026ae47b.js +0 -32
- package/dist/chunks/index.408e1419.js.map +0 -1
- package/dist/chunks/index.5b47c56b.js.map +0 -1
package/dist/country.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent as y, toRefs as _, ref as p, watch as d, inject as f } from "vue";
|
|
2
|
-
import { B as v, d as C } from "./chunks/index.
|
|
2
|
+
import { B as v, d as C } from "./chunks/index.2f00afab.js";
|
|
3
3
|
import { c as u, B as o, u as b, a as S, b as h } from "./chunks/country.types.002caff2.js";
|
|
4
4
|
import { u as L } from "./chunks/i18n.eb5b985b.js";
|
|
5
5
|
import { S as N } from "./chunks/summary-grid.keys.1d1028c2.js";
|
|
6
6
|
import { n as O } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
7
|
-
import "./assets/
|
|
7
|
+
import "./assets/index7.css";
|
|
8
8
|
const g = y({
|
|
9
9
|
name: "bento-country",
|
|
10
10
|
components: { BentoTypography: v },
|
package/dist/currency.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as F, computed as m } from "vue";
|
|
2
|
-
import { B as G } from "./chunks/index.
|
|
2
|
+
import { B as G } from "./chunks/index.2f00afab.js";
|
|
3
3
|
import { g as E } from "./chunks/get-slot-text.99c3d860.js";
|
|
4
4
|
import { n as i } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
5
5
|
const U = [
|
package/dist/data-grid.js
CHANGED
package/dist/date-picker.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { ref as f, computed as D, defineComponent as Y, toRef as E, watch as W, nextTick as T } from "vue";
|
|
2
|
-
import { a as q } from "./chunks/index.
|
|
3
|
-
import { B as K } from "./chunks/index.
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { D as O, v as $, f as G } from "./chunks/date-input.9186a0bf.js";
|
|
2
|
+
import { a as q } from "./chunks/index.de9a552e.js";
|
|
3
|
+
import { B as K } from "./chunks/index.2f00afab.js";
|
|
4
|
+
import { d as j } from "./chunks/debounce.b5ef6acf.js";
|
|
5
|
+
import { D as O, v as z, f as $ } from "./chunks/date-input.9186a0bf.js";
|
|
7
6
|
import { g as u } from "./chunks/unique-id.a2a2b458.js";
|
|
8
7
|
import { u as B } from "./chunks/i18n.eb5b985b.js";
|
|
9
|
-
import { f as S } from "./chunks/index.
|
|
10
|
-
import { e as I, d as
|
|
11
|
-
import { u as
|
|
8
|
+
import { f as S } from "./chunks/index.af17c8ac.js";
|
|
9
|
+
import { e as I, d as G, f as H } from "./chunks/index.f55fdc32.js";
|
|
10
|
+
import { u as J } from "./chunks/use-form-layout-loading.d03e5d48.js";
|
|
12
11
|
import "./chunks/index.4c062058.js";
|
|
13
|
-
import { C as p } from "./chunks/calendar.
|
|
14
|
-
import { b as Re } from "./chunks/calendar.
|
|
15
|
-
import {
|
|
12
|
+
import { C as p } from "./chunks/calendar.943ea7c3.js";
|
|
13
|
+
import { b as Re } from "./chunks/calendar.943ea7c3.js";
|
|
14
|
+
import { c as Q } from "./chunks/dropdown-default-textbox.b4f19086.js";
|
|
15
|
+
import { E as X, F as Z } from "./chunks/error-message.3d436de3.js";
|
|
16
16
|
import { B as ee } from "./chunks/directive.0408e565.js";
|
|
17
17
|
import { n as ae } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
18
|
-
import "./assets/
|
|
18
|
+
import "./assets/index24.css";
|
|
19
19
|
const te = ({ datePickerValue: a, isDateIncorrect: e }) => {
|
|
20
20
|
var v;
|
|
21
|
-
const { locale: r, t: n } = B(), m = { de:
|
|
21
|
+
const { locale: r, t: n } = B(), m = { de: G, enUS: I, fr: H }, s = f((v = a.value) == null ? void 0 : v.toDateString());
|
|
22
22
|
return {
|
|
23
23
|
// Values
|
|
24
24
|
dateDisplayValue: D(() => e.value ? s.value : a.value ? S(a.value, O.FULL_DATE, {
|
|
@@ -50,7 +50,7 @@ const re = {
|
|
|
50
50
|
BentoPopover: q,
|
|
51
51
|
Calendar: p,
|
|
52
52
|
ErrorMessage: X,
|
|
53
|
-
DropdownInputDefault:
|
|
53
|
+
DropdownInputDefault: Q,
|
|
54
54
|
FieldLabel: Z
|
|
55
55
|
},
|
|
56
56
|
directives: { BentoClickOutsideDirective: ee },
|
|
@@ -110,7 +110,7 @@ const re = {
|
|
|
110
110
|
},
|
|
111
111
|
emits: [i.INPUT],
|
|
112
112
|
setup(a, { emit: e }) {
|
|
113
|
-
const { t: r } = B(), n = u("bento-date-picker-container"), m = u("bento-date-picker-label"), s = u("bento-date-picker-description"), b = u("bento-date-picker-error"), y = u("bento-date-picker-date-error"), v = D(() => a.label || r("datePicker", { name: n })), c = f(null), w = f(null), l = f(!1), o = f(!1), { isReadOnly: R } =
|
|
113
|
+
const { t: r } = B(), n = u("bento-date-picker-container"), m = u("bento-date-picker-label"), s = u("bento-date-picker-description"), b = u("bento-date-picker-error"), y = u("bento-date-picker-date-error"), v = D(() => a.label || r("datePicker", { name: n })), c = f(null), w = f(null), l = f(!1), o = f(!1), { isReadOnly: R } = J(E(a, "readonly"));
|
|
114
114
|
W(
|
|
115
115
|
() => a.disabled,
|
|
116
116
|
(t) => {
|
|
@@ -133,12 +133,12 @@ const re = {
|
|
|
133
133
|
}, h = async () => {
|
|
134
134
|
l.value && (l.value = !1, d.value = null), e(i.INPUT, null);
|
|
135
135
|
}, A = (t) => {
|
|
136
|
-
|
|
136
|
+
z(t);
|
|
137
137
|
}, P = (t) => {
|
|
138
138
|
if (t.length < 10)
|
|
139
139
|
return;
|
|
140
140
|
/^\d{4}-(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01])$/.test(t) && M(new Date(t)) ? (l.value = !1, e(i.INPUT, new Date(t))) : t && (l.value = !0, e(i.INPUT, null));
|
|
141
|
-
}, L =
|
|
141
|
+
}, L = j(P, ne);
|
|
142
142
|
return {
|
|
143
143
|
// Refs
|
|
144
144
|
inputContainerRef: w,
|
|
@@ -165,7 +165,7 @@ const re = {
|
|
|
165
165
|
openDatePicker: C,
|
|
166
166
|
onDateKeyDown: A,
|
|
167
167
|
onDateInputChange: (t) => {
|
|
168
|
-
d.value =
|
|
168
|
+
d.value = $(t), o.value ? L(d.value) : P(d.value);
|
|
169
169
|
},
|
|
170
170
|
// Keyboard navigation
|
|
171
171
|
onSpaceBarOrEnter: async (t) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as t, a as r } from "./chunks/index.
|
|
2
|
-
import { b as o } from "./chunks/calendar.
|
|
1
|
+
import { B as t, a as r } from "./chunks/index.3a8caa8d.js";
|
|
2
|
+
import { b as o } from "./chunks/calendar.943ea7c3.js";
|
|
3
3
|
export {
|
|
4
4
|
t as BentoDateRangePicker,
|
|
5
5
|
r as BentoDateRangePickerEvent,
|
package/dist/date.js
CHANGED
package/dist/divider.js
CHANGED
package/dist/dropdown.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { B as p } from "./chunks/dropdown.
|
|
2
|
-
import { a as _t } from "./chunks/dropdown.
|
|
3
|
-
import { b as dt, a as ct } from "./chunks/listbox.
|
|
1
|
+
import { B as p } from "./chunks/dropdown.9abc124c.js";
|
|
2
|
+
import { a as _t } from "./chunks/dropdown.9abc124c.js";
|
|
3
|
+
import { b as dt, a as ct } from "./chunks/listbox.a142458a.js";
|
|
4
4
|
import { defineComponent as a, computed as l, toRefs as m } from "vue";
|
|
5
|
-
import { B as y, L as i } from "./chunks/listbox-option-tag.
|
|
5
|
+
import { B as y, L as i } from "./chunks/listbox-option-tag.37da51ba.js";
|
|
6
6
|
import { n as d } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
7
|
-
import { d as v, B as w } from "./chunks/index.
|
|
7
|
+
import { d as v, B as w } from "./chunks/index.2f00afab.js";
|
|
8
8
|
import { u as b } from "./chunks/use-country-items.6b7985bf.js";
|
|
9
9
|
import { B as c } from "./chunks/country.types.002caff2.js";
|
|
10
10
|
import { BentoPaymentMethod as B } from "./payment-method.js";
|
|
11
|
-
import "./assets/
|
|
11
|
+
import "./assets/index29.css";
|
|
12
12
|
const $ = a({
|
|
13
13
|
name: "bento-dropdown-avatar"
|
|
14
14
|
}), I = /* @__PURE__ */ a({
|