@adyen/bento-vue2 1.6.0 → 1.6.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/accordion.js +2 -2
- package/dist/alert.js +3 -3
- package/dist/assets/base-modal.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/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 +86 -75
- package/dist/card.js.map +1 -1
- package/dist/checkbox.js +6 -6
- package/dist/chunks/{base-button.431fb8cf.js → base-button.d1ba66cd.js} +2 -2
- package/dist/chunks/{base-button.431fb8cf.js.map → base-button.d1ba66cd.js.map} +1 -1
- package/dist/chunks/{base-modal.f462dac0.js → base-modal.ec74044e.js} +4 -4
- package/dist/chunks/{base-modal.f462dac0.js.map → base-modal.ec74044e.js.map} +1 -1
- package/dist/chunks/{button.38099670.js → button.eb60d460.js} +2 -2
- package/dist/chunks/{button.38099670.js.map → button.eb60d460.js.map} +1 -1
- package/dist/chunks/{calendar.371e5ae2.js → calendar.b74f8a0f.js} +4 -4
- package/dist/chunks/{calendar.371e5ae2.js.map → calendar.b74f8a0f.js.map} +1 -1
- package/dist/chunks/{checkbox.b8c2e583.js → checkbox.96ee3f71.js} +3 -3
- package/dist/chunks/{checkbox.b8c2e583.js.map → checkbox.96ee3f71.js.map} +1 -1
- package/dist/chunks/{controls-group.d75f1d37.js → controls-group.e9537e45.js} +2 -2
- package/dist/chunks/{controls-group.d75f1d37.js.map → controls-group.e9537e45.js.map} +1 -1
- package/dist/chunks/{copy.8e44a660.js → copy.2ff56819.js} +3 -3
- package/dist/chunks/{copy.8e44a660.js.map → copy.2ff56819.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.6135874c.js → dropdown-default-textbox.3df0bf23.js} +2 -2
- package/dist/chunks/{dropdown-default-textbox.6135874c.js.map → dropdown-default-textbox.3df0bf23.js.map} +1 -1
- package/dist/chunks/{dropdown.5d22958c.js → dropdown.3f198167.js} +22 -22
- package/dist/chunks/{dropdown.5d22958c.js.map → dropdown.3f198167.js.map} +1 -1
- package/dist/chunks/{error-message.a04e8f9a.js → error-message.f5454f19.js} +2 -2
- package/dist/chunks/{error-message.a04e8f9a.js.map → error-message.f5454f19.js.map} +1 -1
- package/dist/chunks/{footer-actions.ee645663.js → footer-actions.00d20947.js} +3 -3
- package/dist/chunks/{footer-actions.ee645663.js.map → footer-actions.00d20947.js.map} +1 -1
- package/dist/chunks/{index.64cce50b.js → index.298f5eed.js} +6 -6
- package/dist/chunks/{index.64cce50b.js.map → index.298f5eed.js.map} +1 -1
- package/dist/chunks/{index.74da0d41.js → index.2fce7703.js} +2 -2
- package/dist/chunks/{index.74da0d41.js.map → index.2fce7703.js.map} +1 -1
- package/dist/chunks/{index.5d058912.js → index.31949c1a.js} +20 -20
- package/dist/chunks/{index.5d058912.js.map → index.31949c1a.js.map} +1 -1
- package/dist/chunks/{index.fd557233.js → index.a709a6b0.js} +2 -2
- package/dist/chunks/{index.fd557233.js.map → index.a709a6b0.js.map} +1 -1
- package/dist/chunks/{index.74258013.js → index.c39c64c9.js} +2 -2
- package/dist/chunks/{index.74258013.js.map → index.c39c64c9.js.map} +1 -1
- package/dist/chunks/{index.98b6db0e.js → index.eb52e785.js} +3 -3
- package/dist/chunks/{index.98b6db0e.js.map → index.eb52e785.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.a651fa46.js → listbox-option-tag.1362a2d7.js} +3 -3
- package/dist/chunks/{listbox-option-tag.a651fa46.js.map → listbox-option-tag.1362a2d7.js.map} +1 -1
- package/dist/chunks/{listbox.cbb27077.js → listbox.e7bf46e4.js} +4 -4
- package/dist/chunks/{listbox.cbb27077.js.map → listbox.e7bf46e4.js.map} +1 -1
- package/dist/chunks/{loading-button.21c48d50.js → loading-button.0ad06c99.js} +2 -2
- package/dist/chunks/{loading-button.21c48d50.js.map → loading-button.0ad06c99.js.map} +1 -1
- package/dist/chunks/{tooltip.ca9673ee.js → tooltip.68e81e9c.js} +2 -2
- package/dist/chunks/{tooltip.ca9673ee.js.map → tooltip.68e81e9c.js.map} +1 -1
- package/dist/code-snippet.js +7 -7
- 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 +7 -7
- package/dist/date-picker.js +20 -20
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +4 -4
- package/dist/empty-state.js +3 -3
- package/dist/filter-bar.js +13 -13
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +65 -60
- package/dist/form-layout.js.map +1 -1
- package/dist/header.js +2 -2
- package/dist/index.js +12 -12
- package/dist/info-icon.js +2 -2
- package/dist/input-field.js +4 -4
- package/dist/internal.js +8 -8
- package/dist/link.js +2 -2
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +4 -4
- package/dist/modal.js +3 -3
- package/dist/pagination.js +4 -4
- package/dist/payment-method.js +2 -2
- package/dist/popover.js +3 -3
- package/dist/popper-container.js +2 -2
- package/dist/radio-group.js +4 -4
- package/dist/search-bar.js +2 -2
- package/dist/segmented-control.js +4 -4
- package/dist/sidepanel.js +5 -5
- 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 +5 -5
- package/dist/toast.js +3 -3
- package/dist/toggle.js +2 -2
- package/dist/typography.js +1 -1
- package/dist/web-types.json +9 -1
- package/package.json +2 -2
package/dist/country.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ref as u, computed as c, defineComponent as T, toRefs as N, watch as m, inject as g } from "vue";
|
|
2
|
-
import { B as K, d as B } from "./chunks/index.
|
|
2
|
+
import { B as K, d as B } from "./chunks/index.2fce7703.js";
|
|
3
3
|
import { u as P } from "./chunks/i18n.155748d6.js";
|
|
4
4
|
import { n as I } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
5
|
-
import "./assets/
|
|
5
|
+
import "./assets/index26.css";
|
|
6
6
|
const d = {
|
|
7
7
|
"en-US": {
|
|
8
8
|
BD: "Dhaka",
|
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.2fce7703.js";
|
|
3
3
|
import { g as E } from "./chunks/get-slot-text.c1114034.js";
|
|
4
4
|
import { n as i } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
5
5
|
const U = [
|
package/dist/data-grid.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { ref as y, onMounted as he, nextTick as G, watch as B, onUnmounted as Se, reactive as ne, toRefs as se, computed as E, watchEffect as bt, onBeforeUpdate as ht, defineComponent as j, toRef as Le, inject as re } from "vue";
|
|
2
2
|
import { o as ye } from "./chunks/resize.a041304d.js";
|
|
3
3
|
import { u as St } from "./chunks/aria-label.ac9651a5.js";
|
|
4
|
-
import { B as Ee } from "./chunks/checkbox.
|
|
4
|
+
import { B as Ee } from "./chunks/checkbox.96ee3f71.js";
|
|
5
5
|
import { BentoPagination as Lt } from "./pagination.js";
|
|
6
6
|
import { BentoLoadingIndicator as Re } from "./loading-indicator.js";
|
|
7
|
-
import { B as ie, p as yt } from "./chunks/index.
|
|
7
|
+
import { B as ie, p as yt } from "./chunks/index.2fce7703.js";
|
|
8
8
|
import { g as Et } from "./chunks/get-slot-text.c1114034.js";
|
|
9
9
|
import { u as Te } from "./chunks/i18n.155748d6.js";
|
|
10
10
|
import { BentoEmptyState as Rt } from "./empty-state.js";
|
|
11
11
|
import { BentoFilterBar as J } from "./filter-bar.js";
|
|
12
12
|
import { E as Tt } from "./chunks/tabs.keys.358742f2.js";
|
|
13
13
|
import { BentoPopoverPositions as de, BentoPopover as Ot } from "./popover.js";
|
|
14
|
-
import { a as It } from "./chunks/button.
|
|
14
|
+
import { a as It } from "./chunks/button.eb60d460.js";
|
|
15
15
|
import { BentoToggle as Oe } from "./toggle.js";
|
|
16
16
|
import { BentoSearchBar as At } from "./search-bar.js";
|
|
17
|
-
import { u as Nt } from "./chunks/dropdown.
|
|
17
|
+
import { u as Nt } from "./chunks/dropdown.3f198167.js";
|
|
18
18
|
import { n as M } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
19
19
|
import { C as wt } from "./chunks/cross.a2cadac5.js";
|
|
20
20
|
import { S as Pt } from "./chunks/search.a8055e95.js";
|
|
@@ -22,11 +22,11 @@ import { g as Ut } from "./chunks/unique-id.a2a2b458.js";
|
|
|
22
22
|
import { B as Dt } from "./chunks/directive.0408e565.js";
|
|
23
23
|
import { BentoInfoIcon as Mt } from "./info-icon.js";
|
|
24
24
|
import { BentoMenu as $t } from "./menu.js";
|
|
25
|
-
import { K as x } from "./chunks/tooltip.
|
|
25
|
+
import { K as x } from "./chunks/tooltip.68e81e9c.js";
|
|
26
26
|
import { A as zt } from "./chunks/arrow-left.1d5d08bd.js";
|
|
27
27
|
import { l as ce } from "./chunks/events.58c00e6d.js";
|
|
28
|
-
import { B as xt, a as Ft } from "./chunks/loading-button.
|
|
29
|
-
import "./assets/
|
|
28
|
+
import { B as xt, a as Ft } from "./chunks/loading-button.0ad06c99.js";
|
|
29
|
+
import "./assets/index33.css";
|
|
30
30
|
const ue = (t, e) => {
|
|
31
31
|
const n = y(0);
|
|
32
32
|
let s = null;
|
package/dist/date-picker.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { ref as u, computed as p, defineComponent as q, toRef as x, watch as L, nextTick as E } from "vue";
|
|
2
|
-
import {
|
|
2
|
+
import { c as Y } from "./chunks/dropdown-default-textbox.3df0bf23.js";
|
|
3
|
+
import { BentoPopover as W } from "./popover.js";
|
|
3
4
|
import { g as d } from "./chunks/unique-id.a2a2b458.js";
|
|
4
|
-
import { B as
|
|
5
|
+
import { B as $ } from "./chunks/index.2fce7703.js";
|
|
5
6
|
import { u as B } from "./chunks/i18n.155748d6.js";
|
|
6
|
-
import { f as O } from "./chunks/index.
|
|
7
|
-
import { e as y, d as
|
|
8
|
-
import { D as T, v as
|
|
9
|
-
import { d as
|
|
10
|
-
import { u as
|
|
11
|
-
import { a as k } from "./chunks/calendar.
|
|
12
|
-
import { C as Be } from "./chunks/calendar.
|
|
13
|
-
import {
|
|
14
|
-
import { E as Q } from "./chunks/error-message.a04e8f9a.js";
|
|
7
|
+
import { f as O } from "./chunks/index.a709a6b0.js";
|
|
8
|
+
import { e as y, d as K, f as j } from "./chunks/index.f55fdc32.js";
|
|
9
|
+
import { D as T, v as z, f as G } from "./chunks/date-input.9186a0bf.js";
|
|
10
|
+
import { d as H } from "./chunks/debounce.b5ef6acf.js";
|
|
11
|
+
import { u as J } from "./chunks/use-form-layout-loading.d03e5d48.js";
|
|
12
|
+
import { a as k } from "./chunks/calendar.b74f8a0f.js";
|
|
13
|
+
import { C as Be } from "./chunks/calendar.b74f8a0f.js";
|
|
14
|
+
import { E as Q } from "./chunks/error-message.f5454f19.js";
|
|
15
15
|
import { B as X } from "./chunks/directive.0408e565.js";
|
|
16
16
|
import { n as Z } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
17
|
-
import "./assets/
|
|
17
|
+
import "./assets/index31.css";
|
|
18
18
|
var l = /* @__PURE__ */ ((a) => (a.INPUT = "input", a))(l || {});
|
|
19
19
|
const ee = ({ datePickerValue: a, isDateIncorrect: e }) => {
|
|
20
|
-
const { locale: t, t: n } = B(), f = { de:
|
|
20
|
+
const { locale: t, t: n } = B(), f = { de: K, enUS: y, fr: j }, s = u(null);
|
|
21
21
|
return {
|
|
22
22
|
// Values
|
|
23
23
|
dateDisplayValue: p(() => e.value ? s.value : a.value ? O(a.value, T.FULL_DATE, {
|
|
@@ -45,11 +45,11 @@ const ee = ({ datePickerValue: a, isDateIncorrect: e }) => {
|
|
|
45
45
|
i18n: { messages: ae },
|
|
46
46
|
name: "bento-date-picker",
|
|
47
47
|
components: {
|
|
48
|
-
BentoTypography:
|
|
49
|
-
BentoPopover:
|
|
48
|
+
BentoTypography: $,
|
|
49
|
+
BentoPopover: W,
|
|
50
50
|
Calendar: k,
|
|
51
51
|
ErrorMessage: Q,
|
|
52
|
-
DropdownInputDefault:
|
|
52
|
+
DropdownInputDefault: Y
|
|
53
53
|
},
|
|
54
54
|
directives: { BentoClickOutsideDirective: X },
|
|
55
55
|
props: {
|
|
@@ -96,7 +96,7 @@ const ee = ({ datePickerValue: a, isDateIncorrect: e }) => {
|
|
|
96
96
|
},
|
|
97
97
|
emits: [l.INPUT],
|
|
98
98
|
setup(a, { emit: e }) {
|
|
99
|
-
const { t } = B(), n = d("bento-date-picker-container"), f = d("bento-date-picker-label"), s = d("bento-date-picker-description"), m = d("bento-date-picker-error"), v = d("bento-date-picker-date-error"), D = p(() => a.label || t("datePicker", { name: n })), g = u(null), R = u(null), o = u(!1), i = u(!1), { isReadOnly: S } =
|
|
99
|
+
const { t } = B(), n = d("bento-date-picker-container"), f = d("bento-date-picker-label"), s = d("bento-date-picker-description"), m = d("bento-date-picker-error"), v = d("bento-date-picker-date-error"), D = p(() => a.label || t("datePicker", { name: n })), g = u(null), R = u(null), o = u(!1), i = u(!1), { isReadOnly: S } = J(x(a, "readonly"));
|
|
100
100
|
L(
|
|
101
101
|
() => a.disabled,
|
|
102
102
|
(r) => {
|
|
@@ -119,8 +119,8 @@ const ee = ({ datePickerValue: a, isDateIncorrect: e }) => {
|
|
|
119
119
|
}, M = async () => {
|
|
120
120
|
o.value && (o.value = !1, c.value = null), e(l.INPUT, null);
|
|
121
121
|
}, A = (r) => {
|
|
122
|
-
|
|
123
|
-
}, F =
|
|
122
|
+
z(r);
|
|
123
|
+
}, F = H((r) => {
|
|
124
124
|
if (r.length < 10)
|
|
125
125
|
return;
|
|
126
126
|
/^\d{4}-(0?[1-9]|1[012])-(0?[1-9]|[12][0-9]|3[01])$/.test(r) && h(new Date(r)) ? (o.value = !1, e(l.INPUT, new Date(r))) : r && (o.value = !0, e(l.INPUT, null));
|
|
@@ -151,7 +151,7 @@ const ee = ({ datePickerValue: a, isDateIncorrect: e }) => {
|
|
|
151
151
|
openDatePicker: P,
|
|
152
152
|
onDateKeyDown: A,
|
|
153
153
|
onDateInputChange: (r) => {
|
|
154
|
-
c.value =
|
|
154
|
+
c.value = G(r), F(c.value);
|
|
155
155
|
},
|
|
156
156
|
// Keyboard navigation
|
|
157
157
|
onSpaceBarOrEnter: async (r) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as t, a as r } from "./chunks/index.
|
|
2
|
-
import { C as o } from "./chunks/calendar.
|
|
1
|
+
import { B as t, a as r } from "./chunks/index.31949c1a.js";
|
|
2
|
+
import { C as o } from "./chunks/calendar.b74f8a0f.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,12 +1,12 @@
|
|
|
1
|
-
import { B as s } from "./chunks/dropdown.
|
|
1
|
+
import { B as s } from "./chunks/dropdown.3f198167.js";
|
|
2
2
|
import { defineComponent as u, computed as l, toRefs as m, provide as f } from "vue";
|
|
3
|
-
import { B as y, L as c } from "./chunks/listbox-option-tag.
|
|
3
|
+
import { B as y, L as c } from "./chunks/listbox-option-tag.1362a2d7.js";
|
|
4
4
|
import { n as d } from "./chunks/_plugin-vue2_normalizer.71e2aa87.js";
|
|
5
5
|
import { BentoCountry as v, BentoCountryVariant as _ } from "./country.js";
|
|
6
6
|
import { u as w } from "./chunks/useCountryItems.5d7b436e.js";
|
|
7
|
-
import { d as b } from "./chunks/index.
|
|
7
|
+
import { d as b } from "./chunks/index.2fce7703.js";
|
|
8
8
|
import { BentoPaymentMethod as I } from "./payment-method.js";
|
|
9
|
-
import "./assets/
|
|
9
|
+
import "./assets/index34.css";
|
|
10
10
|
const $ = u({
|
|
11
11
|
name: "bento-dropdown-avatar",
|
|
12
12
|
components: {
|