@adyen/bento-vue2 1.23.0 → 1.24.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/README.md +2 -0
- package/dist/@types/index.d.ts +235 -235
- package/dist/accordion.js +2 -2
- package/dist/action-bar.js +6 -6
- package/dist/alert.js +72 -53
- package/dist/alert.js.map +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/grid-layout.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/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.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 -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/button.js +5 -5
- package/dist/card.js +3 -3
- package/dist/checkbox.js +5 -5
- package/dist/chunks/{base-button.025269d7.js → base-button.090f511d.js} +2 -2
- package/dist/chunks/{base-button.025269d7.js.map → base-button.090f511d.js.map} +1 -1
- package/dist/chunks/{base-modal.c354f456.js → base-modal.aa09a60c.js} +6 -6
- package/dist/chunks/{base-modal.c354f456.js.map → base-modal.aa09a60c.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.15d22fa3.js → button-actions-with-menu.879c4573.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.15d22fa3.js.map → button-actions-with-menu.879c4573.js.map} +1 -1
- package/dist/chunks/{button-actions.3882346f.js → button-actions.239456cb.js} +3 -3
- package/dist/chunks/{button-actions.3882346f.js.map → button-actions.239456cb.js.map} +1 -1
- package/dist/chunks/{button.a823da67.js → button.6e6324f0.js} +3 -3
- package/dist/chunks/{button.a823da67.js.map → button.6e6324f0.js.map} +1 -1
- package/dist/chunks/{calendar.4ba3b251.js → calendar.1e416969.js} +4 -4
- package/dist/chunks/{calendar.4ba3b251.js.map → calendar.1e416969.js.map} +1 -1
- package/dist/chunks/{checkbox.1edcc4c0.js → checkbox.f38276e6.js} +3 -3
- package/dist/chunks/{checkbox.1edcc4c0.js.map → checkbox.f38276e6.js.map} +1 -1
- package/dist/chunks/{controls-group.b17e40ad.js → controls-group.f1dfa419.js} +3 -3
- package/dist/chunks/{controls-group.b17e40ad.js.map → controls-group.f1dfa419.js.map} +1 -1
- package/dist/chunks/{copy.b20b47f9.js → copy.acc9f1b0.js} +4 -4
- package/dist/chunks/{copy.b20b47f9.js.map → copy.acc9f1b0.js.map} +1 -1
- package/dist/chunks/{dialog-page.3965f89e.js → dialog-page.75b295b7.js} +3 -3
- package/dist/chunks/{dialog-page.3965f89e.js.map → dialog-page.75b295b7.js.map} +1 -1
- package/dist/chunks/{dropdown-default-textbox.537c81a2.js → dropdown-default-textbox.c1f8fe5f.js} +2 -2
- package/dist/chunks/{dropdown-default-textbox.537c81a2.js.map → dropdown-default-textbox.c1f8fe5f.js.map} +1 -1
- package/dist/chunks/{dropdown.93a582cc.js → dropdown.669b858b.js} +7 -7
- package/dist/chunks/{dropdown.93a582cc.js.map → dropdown.669b858b.js.map} +1 -1
- package/dist/chunks/{error-message.7022fa86.js → error-message.8734e591.js} +2 -2
- package/dist/chunks/{error-message.7022fa86.js.map → error-message.8734e591.js.map} +1 -1
- package/dist/chunks/{fixed-scroller.077a5709.js → fixed-scroller.772ad033.js} +2 -2
- package/dist/chunks/{fixed-scroller.077a5709.js.map → fixed-scroller.772ad033.js.map} +1 -1
- package/dist/chunks/{footer-actions.1f22f86d.js → footer-actions.11071f12.js} +4 -4
- package/dist/chunks/{footer-actions.1f22f86d.js.map → footer-actions.11071f12.js.map} +1 -1
- package/dist/chunks/{index.b231f9ef.js → index.03ae22b4.js} +2 -2
- package/dist/chunks/{index.b231f9ef.js.map → index.03ae22b4.js.map} +1 -1
- package/dist/chunks/index.49ce3f6a.js +49 -0
- package/dist/chunks/index.49ce3f6a.js.map +1 -0
- package/dist/chunks/{index.59d76d6b.js → index.51308a21.js} +3 -3
- package/dist/chunks/{index.59d76d6b.js.map → index.51308a21.js.map} +1 -1
- package/dist/chunks/{index.787ded40.js → index.5d5f2200.js} +6 -6
- package/dist/chunks/{index.787ded40.js.map → index.5d5f2200.js.map} +1 -1
- package/dist/chunks/{index.0be6a210.js → index.73abb1a9.js} +8 -8
- package/dist/chunks/{index.0be6a210.js.map → index.73abb1a9.js.map} +1 -1
- package/dist/chunks/{index.255c82a2.js → index.87180cdd.js} +6 -6
- package/dist/chunks/{index.255c82a2.js.map → index.87180cdd.js.map} +1 -1
- package/dist/chunks/{index.19675c16.js → index.8e6bc325.js} +3 -3
- package/dist/chunks/{index.19675c16.js.map → index.8e6bc325.js.map} +1 -1
- package/dist/chunks/{index.9d130872.js → index.94980f50.js} +2 -2
- package/dist/chunks/{index.9d130872.js.map → index.94980f50.js.map} +1 -1
- package/dist/chunks/index.ba6c1040.js +79 -0
- package/dist/chunks/index.ba6c1040.js.map +1 -0
- package/dist/chunks/{index.f828081b.js → index.f19887a1.js} +2 -2
- package/dist/chunks/{index.f828081b.js.map → index.f19887a1.js.map} +1 -1
- package/dist/chunks/{index.7a59b0b8.js → index.ff09389c.js} +6 -6
- package/dist/chunks/{index.7a59b0b8.js.map → index.ff09389c.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.e025da67.js → listbox-option-tag.c0a56a95.js} +3 -3
- package/dist/chunks/{listbox-option-tag.e025da67.js.map → listbox-option-tag.c0a56a95.js.map} +1 -1
- package/dist/chunks/{listbox.f99c2f3e.js → listbox.e6e1bc90.js} +5 -5
- package/dist/chunks/{listbox.f99c2f3e.js.map → listbox.e6e1bc90.js.map} +1 -1
- package/dist/chunks/{loading-button.5de13e50.js → loading-button.84a5529d.js} +2 -2
- package/dist/chunks/{loading-button.5de13e50.js.map → loading-button.84a5529d.js.map} +1 -1
- package/dist/chunks/{payment-method.bf9e71a2.js → payment-method.faa302de.js} +2 -2
- package/dist/chunks/{payment-method.bf9e71a2.js.map → payment-method.faa302de.js.map} +1 -1
- package/dist/chunks/{tooltip.eb1eb37e.js → tooltip.8e9d733c.js} +3 -3
- package/dist/chunks/{tooltip.eb1eb37e.js.map → tooltip.8e9d733c.js.map} +1 -1
- package/dist/chunks/use-bento-toast-controller.7d4436ad.js +52 -0
- package/dist/chunks/use-bento-toast-controller.7d4436ad.js.map +1 -0
- 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-template.js +1 -1
- package/dist/data-grid.js +432 -424
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +8 -8
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +7 -7
- package/dist/empty-state.js +3 -3
- package/dist/filter-bar.js +88 -92
- 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 +247 -269
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +3 -3
- package/dist/input-field.js +38 -34
- package/dist/input-field.js.map +1 -1
- 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 +4 -4
- package/dist/payment-method.js +1 -1
- 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 +2 -2
- package/dist/segmented-control.js +3 -3
- package/dist/selection-card.js +4 -4
- 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 +3 -3
- package/dist/tag.js +3 -3
- package/dist/textarea.js +4 -4
- package/dist/timeline.js +7 -7
- package/dist/toast.js +143 -98
- package/dist/toast.js.map +1 -1
- package/dist/toggle.js +2 -2
- package/dist/tutorial.js +6 -6
- package/dist/typography.js +1 -1
- package/dist/web-types.json +164 -117
- package/package.json +2 -2
- package/dist/chunks/index.0b534dc6.js +0 -83
- package/dist/chunks/index.0b534dc6.js.map +0 -1
- package/dist/chunks/index.be6917c8.js +0 -127
- package/dist/chunks/index.be6917c8.js.map +0 -1
- package/dist/chunks/info-filled.c37e091d.js +0 -26
- package/dist/chunks/info-filled.c37e091d.js.map +0 -1
- package/dist/chunks/toastController.fd667b68.js +0 -15
- package/dist/chunks/toastController.fd667b68.js.map +0 -1
package/dist/@types/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { ComponentOptionsMixin } from 'vue/types/v3-component-options';
|
|
|
2
2
|
import { ComponentOptionsMixin as ComponentOptionsMixin_2 } from 'vue/types/v3-component-options.js';
|
|
3
3
|
import type { ComponentPublicInstance } from 'vue';
|
|
4
4
|
import { ComputedRef } from 'vue';
|
|
5
|
+
import { DeepReadonly } from 'vue';
|
|
5
6
|
import { default as default_2 } from 'vue-i18n';
|
|
6
7
|
import { DefaultKeys } from 'vue/types/v3-component-props';
|
|
7
8
|
import { DefineComponent } from 'vue';
|
|
@@ -25,6 +26,8 @@ declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
|
25
26
|
|
|
26
27
|
declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
|
|
27
28
|
|
|
29
|
+
declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
|
|
30
|
+
|
|
28
31
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
29
32
|
[K in keyof T]-?: {} extends Pick<T, K>
|
|
30
33
|
? {
|
|
@@ -47,6 +50,17 @@ declare type __VLS_TypePropsToRuntimeProps_2<T> = {
|
|
|
47
50
|
};
|
|
48
51
|
};
|
|
49
52
|
|
|
53
|
+
declare type __VLS_TypePropsToRuntimeProps_3<T> = {
|
|
54
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
55
|
+
? {
|
|
56
|
+
type: PropType<__VLS_NonUndefinedable_3<T[K]>>;
|
|
57
|
+
}
|
|
58
|
+
: {
|
|
59
|
+
type: PropType<T[K]>;
|
|
60
|
+
required: true;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
|
|
50
64
|
declare type __VLS_WithDefaults<P, D> = {
|
|
51
65
|
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
52
66
|
? P[K] & {
|
|
@@ -55,6 +69,14 @@ declare type __VLS_WithDefaults<P, D> = {
|
|
|
55
69
|
: P[K];
|
|
56
70
|
};
|
|
57
71
|
|
|
72
|
+
declare type __VLS_WithDefaults_2<P, D> = {
|
|
73
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
74
|
+
? P[K] & {
|
|
75
|
+
default: D[K];
|
|
76
|
+
}
|
|
77
|
+
: P[K];
|
|
78
|
+
};
|
|
79
|
+
|
|
58
80
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
59
81
|
new (): {
|
|
60
82
|
$slots: S;
|
|
@@ -193,6 +215,12 @@ declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
|
193
215
|
};
|
|
194
216
|
};
|
|
195
217
|
|
|
218
|
+
declare type __VLS_WithTemplateSlots_30<T, S> = T & {
|
|
219
|
+
new (): {
|
|
220
|
+
$slots: S;
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
|
|
196
224
|
declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
197
225
|
new (): {
|
|
198
226
|
$slots: S;
|
|
@@ -1266,9 +1294,9 @@ export declare const BentoCard: DefineComponent<
|
|
|
1266
1294
|
wide: boolean;
|
|
1267
1295
|
stronger: boolean;
|
|
1268
1296
|
strongest: boolean;
|
|
1269
|
-
variant: 'body' | 'caption' | 'title' | 'subtitle' | BentoTypographyVariant;
|
|
1270
|
-
medium: boolean;
|
|
1271
1297
|
large: boolean;
|
|
1298
|
+
medium: boolean;
|
|
1299
|
+
variant: 'body' | 'caption' | 'title' | 'subtitle' | BentoTypographyVariant;
|
|
1272
1300
|
}> &
|
|
1273
1301
|
Omit<
|
|
1274
1302
|
Readonly<
|
|
@@ -1286,34 +1314,39 @@ export declare const BentoCard: DefineComponent<
|
|
|
1286
1314
|
| 'span'
|
|
1287
1315
|
| BentoTypographyElement
|
|
1288
1316
|
>;
|
|
1317
|
+
} & {
|
|
1289
1318
|
default: BentoTypographyElement;
|
|
1290
|
-
validator: (value: BentoTypographyElement) => boolean;
|
|
1291
1319
|
};
|
|
1292
|
-
|
|
1293
|
-
type:
|
|
1320
|
+
wide: {
|
|
1321
|
+
type: PropType<boolean>;
|
|
1322
|
+
} & {
|
|
1294
1323
|
default: boolean;
|
|
1295
1324
|
};
|
|
1296
|
-
|
|
1297
|
-
type:
|
|
1325
|
+
stronger: {
|
|
1326
|
+
type: PropType<boolean>;
|
|
1327
|
+
} & {
|
|
1298
1328
|
default: boolean;
|
|
1299
1329
|
};
|
|
1300
|
-
|
|
1301
|
-
type: PropType<
|
|
1302
|
-
|
|
1303
|
-
validator: (value: BentoTypographyVariant) => boolean;
|
|
1304
|
-
};
|
|
1305
|
-
medium: {
|
|
1306
|
-
type: BooleanConstructor;
|
|
1330
|
+
strongest: {
|
|
1331
|
+
type: PropType<boolean>;
|
|
1332
|
+
} & {
|
|
1307
1333
|
default: boolean;
|
|
1308
1334
|
};
|
|
1309
1335
|
large: {
|
|
1310
|
-
type:
|
|
1336
|
+
type: PropType<boolean>;
|
|
1337
|
+
} & {
|
|
1311
1338
|
default: boolean;
|
|
1312
1339
|
};
|
|
1313
|
-
|
|
1314
|
-
type:
|
|
1340
|
+
medium: {
|
|
1341
|
+
type: PropType<boolean>;
|
|
1342
|
+
} & {
|
|
1315
1343
|
default: boolean;
|
|
1316
1344
|
};
|
|
1345
|
+
variant: {
|
|
1346
|
+
type: PropType<'body' | 'caption' | 'title' | 'subtitle' | BentoTypographyVariant>;
|
|
1347
|
+
} & {
|
|
1348
|
+
default: BentoTypographyVariant;
|
|
1349
|
+
};
|
|
1317
1350
|
}>
|
|
1318
1351
|
>,
|
|
1319
1352
|
DefaultKeys<{
|
|
@@ -1330,34 +1363,39 @@ export declare const BentoCard: DefineComponent<
|
|
|
1330
1363
|
| 'span'
|
|
1331
1364
|
| BentoTypographyElement
|
|
1332
1365
|
>;
|
|
1366
|
+
} & {
|
|
1333
1367
|
default: BentoTypographyElement;
|
|
1334
|
-
validator: (value: BentoTypographyElement) => boolean;
|
|
1335
1368
|
};
|
|
1336
|
-
|
|
1337
|
-
type:
|
|
1369
|
+
wide: {
|
|
1370
|
+
type: PropType<boolean>;
|
|
1371
|
+
} & {
|
|
1338
1372
|
default: boolean;
|
|
1339
1373
|
};
|
|
1340
|
-
|
|
1341
|
-
type:
|
|
1374
|
+
stronger: {
|
|
1375
|
+
type: PropType<boolean>;
|
|
1376
|
+
} & {
|
|
1342
1377
|
default: boolean;
|
|
1343
1378
|
};
|
|
1344
|
-
|
|
1345
|
-
type: PropType<
|
|
1346
|
-
|
|
1347
|
-
validator: (value: BentoTypographyVariant) => boolean;
|
|
1348
|
-
};
|
|
1349
|
-
medium: {
|
|
1350
|
-
type: BooleanConstructor;
|
|
1379
|
+
strongest: {
|
|
1380
|
+
type: PropType<boolean>;
|
|
1381
|
+
} & {
|
|
1351
1382
|
default: boolean;
|
|
1352
1383
|
};
|
|
1353
1384
|
large: {
|
|
1354
|
-
type:
|
|
1385
|
+
type: PropType<boolean>;
|
|
1386
|
+
} & {
|
|
1355
1387
|
default: boolean;
|
|
1356
1388
|
};
|
|
1357
|
-
|
|
1358
|
-
type:
|
|
1389
|
+
medium: {
|
|
1390
|
+
type: PropType<boolean>;
|
|
1391
|
+
} & {
|
|
1359
1392
|
default: boolean;
|
|
1360
1393
|
};
|
|
1394
|
+
variant: {
|
|
1395
|
+
type: PropType<'body' | 'caption' | 'title' | 'subtitle' | BentoTypographyVariant>;
|
|
1396
|
+
} & {
|
|
1397
|
+
default: BentoTypographyVariant;
|
|
1398
|
+
};
|
|
1361
1399
|
}>
|
|
1362
1400
|
>
|
|
1363
1401
|
>
|
|
@@ -5489,7 +5527,7 @@ export declare enum BentoDatagridStyleState {
|
|
|
5489
5527
|
* `
|
|
5490
5528
|
* }
|
|
5491
5529
|
*/
|
|
5492
|
-
export declare const BentoDataGridTemplate:
|
|
5530
|
+
export declare const BentoDataGridTemplate: __VLS_WithTemplateSlots_30<
|
|
5493
5531
|
DefineComponent<
|
|
5494
5532
|
{
|
|
5495
5533
|
/**
|
|
@@ -10067,7 +10105,11 @@ export declare const BentoInputField: __VLS_WithTemplateSlots_13<
|
|
|
10067
10105
|
};
|
|
10068
10106
|
/**
|
|
10069
10107
|
* Dropdown props for the small selectable dropdown menu.
|
|
10070
|
-
*
|
|
10108
|
+
* Properties supported:
|
|
10109
|
+
*
|
|
10110
|
+
* - `value`: Selected value of the dropdown
|
|
10111
|
+
* - `items`: List of available items
|
|
10112
|
+
*
|
|
10071
10113
|
*/
|
|
10072
10114
|
dropdown: {
|
|
10073
10115
|
type: PropType<BentoInputDropdownProps>;
|
|
@@ -10233,7 +10275,11 @@ export declare const BentoInputField: __VLS_WithTemplateSlots_13<
|
|
|
10233
10275
|
};
|
|
10234
10276
|
/**
|
|
10235
10277
|
* Dropdown props for the small selectable dropdown menu.
|
|
10236
|
-
*
|
|
10278
|
+
* Properties supported:
|
|
10279
|
+
*
|
|
10280
|
+
* - `value`: Selected value of the dropdown
|
|
10281
|
+
* - `items`: List of available items
|
|
10282
|
+
*
|
|
10237
10283
|
*/
|
|
10238
10284
|
dropdown: {
|
|
10239
10285
|
type: PropType<BentoInputDropdownProps>;
|
|
@@ -11198,7 +11244,7 @@ export declare const BentoModal: __VLS_WithTemplateSlots_16<
|
|
|
11198
11244
|
* Sets the width of the modal
|
|
11199
11245
|
*/
|
|
11200
11246
|
size: {
|
|
11201
|
-
type: PropType<'small' | '
|
|
11247
|
+
type: PropType<'small' | 'large' | 'medium' | BentoModalSize>;
|
|
11202
11248
|
default: BentoModalSize;
|
|
11203
11249
|
validator: (value: BentoModalSize) => boolean;
|
|
11204
11250
|
};
|
|
@@ -11347,7 +11393,7 @@ export declare const BentoModal: __VLS_WithTemplateSlots_16<
|
|
|
11347
11393
|
* Sets the width of the modal
|
|
11348
11394
|
*/
|
|
11349
11395
|
size: {
|
|
11350
|
-
type: PropType<'small' | '
|
|
11396
|
+
type: PropType<'small' | 'large' | 'medium' | BentoModalSize>;
|
|
11351
11397
|
default: BentoModalSize;
|
|
11352
11398
|
validator: (value: BentoModalSize) => boolean;
|
|
11353
11399
|
};
|
|
@@ -11374,7 +11420,7 @@ export declare const BentoModal: __VLS_WithTemplateSlots_16<
|
|
|
11374
11420
|
variant: 'default' | 'dialog' | 'BentoModalDefault' | 'BentoModalDialog' | BentoModalVariant;
|
|
11375
11421
|
isOpen: boolean;
|
|
11376
11422
|
content: string;
|
|
11377
|
-
size: 'small' | '
|
|
11423
|
+
size: 'small' | 'large' | 'medium' | BentoModalSize;
|
|
11378
11424
|
activePage: string;
|
|
11379
11425
|
actions: BentoButtonActionsList;
|
|
11380
11426
|
actionsLabel: string;
|
|
@@ -16293,7 +16339,7 @@ export declare const BentoSummaryGridItemAmount: DefineComponent<
|
|
|
16293
16339
|
* Defines the size of the `summary-grid-item` text content
|
|
16294
16340
|
*/
|
|
16295
16341
|
size: {
|
|
16296
|
-
type: PropType<'small' | '
|
|
16342
|
+
type: PropType<'small' | 'large' | 'medium' | BentoSummaryGridItemSize>;
|
|
16297
16343
|
default: BentoSummaryGridItemSize;
|
|
16298
16344
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
16299
16345
|
};
|
|
@@ -16391,7 +16437,7 @@ export declare const BentoSummaryGridItemAmount: DefineComponent<
|
|
|
16391
16437
|
* Defines the size of the `summary-grid-item` text content
|
|
16392
16438
|
*/
|
|
16393
16439
|
size: {
|
|
16394
|
-
type: PropType<'small' | '
|
|
16440
|
+
type: PropType<'small' | 'large' | 'medium' | BentoSummaryGridItemSize>;
|
|
16395
16441
|
default: BentoSummaryGridItemSize;
|
|
16396
16442
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
16397
16443
|
};
|
|
@@ -16399,7 +16445,7 @@ export declare const BentoSummaryGridItemAmount: DefineComponent<
|
|
|
16399
16445
|
>,
|
|
16400
16446
|
{
|
|
16401
16447
|
copy: string;
|
|
16402
|
-
size: 'small' | '
|
|
16448
|
+
size: 'small' | 'large' | 'medium' | BentoSummaryGridItemSize;
|
|
16403
16449
|
fitContent: boolean;
|
|
16404
16450
|
infoIconTooltipText: string;
|
|
16405
16451
|
trend: string;
|
|
@@ -16602,7 +16648,7 @@ export declare const BentoSummaryGridItemNumeric: DefineComponent<
|
|
|
16602
16648
|
* Defines the size of the `summary-grid-item` text content
|
|
16603
16649
|
*/
|
|
16604
16650
|
size: {
|
|
16605
|
-
type: PropType<'small' | '
|
|
16651
|
+
type: PropType<'small' | 'large' | 'medium' | BentoSummaryGridItemSize>;
|
|
16606
16652
|
default: BentoSummaryGridItemSize;
|
|
16607
16653
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
16608
16654
|
};
|
|
@@ -16693,7 +16739,7 @@ export declare const BentoSummaryGridItemNumeric: DefineComponent<
|
|
|
16693
16739
|
* Defines the size of the `summary-grid-item` text content
|
|
16694
16740
|
*/
|
|
16695
16741
|
size: {
|
|
16696
|
-
type: PropType<'small' | '
|
|
16742
|
+
type: PropType<'small' | 'large' | 'medium' | BentoSummaryGridItemSize>;
|
|
16697
16743
|
default: BentoSummaryGridItemSize;
|
|
16698
16744
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
16699
16745
|
};
|
|
@@ -16701,7 +16747,7 @@ export declare const BentoSummaryGridItemNumeric: DefineComponent<
|
|
|
16701
16747
|
>,
|
|
16702
16748
|
{
|
|
16703
16749
|
copy: string;
|
|
16704
|
-
size: 'small' | '
|
|
16750
|
+
size: 'small' | 'large' | 'medium' | BentoSummaryGridItemSize;
|
|
16705
16751
|
fitContent: boolean;
|
|
16706
16752
|
infoIconTooltipText: string;
|
|
16707
16753
|
trend: string;
|
|
@@ -16810,7 +16856,7 @@ export declare const BentoSummaryGridItemPercentage: DefineComponent<
|
|
|
16810
16856
|
* Defines the size of the `summary-grid-item` text content
|
|
16811
16857
|
*/
|
|
16812
16858
|
size: {
|
|
16813
|
-
type: PropType<'small' | '
|
|
16859
|
+
type: PropType<'small' | 'large' | 'medium' | BentoSummaryGridItemSize>;
|
|
16814
16860
|
default: BentoSummaryGridItemSize;
|
|
16815
16861
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
16816
16862
|
};
|
|
@@ -16901,7 +16947,7 @@ export declare const BentoSummaryGridItemPercentage: DefineComponent<
|
|
|
16901
16947
|
* Defines the size of the `summary-grid-item` text content
|
|
16902
16948
|
*/
|
|
16903
16949
|
size: {
|
|
16904
|
-
type: PropType<'small' | '
|
|
16950
|
+
type: PropType<'small' | 'large' | 'medium' | BentoSummaryGridItemSize>;
|
|
16905
16951
|
default: BentoSummaryGridItemSize;
|
|
16906
16952
|
validator: (value: BentoSummaryGridItemSize) => boolean;
|
|
16907
16953
|
};
|
|
@@ -16909,7 +16955,7 @@ export declare const BentoSummaryGridItemPercentage: DefineComponent<
|
|
|
16909
16955
|
>,
|
|
16910
16956
|
{
|
|
16911
16957
|
copy: string;
|
|
16912
|
-
size: 'small' | '
|
|
16958
|
+
size: 'small' | 'large' | 'medium' | BentoSummaryGridItemSize;
|
|
16913
16959
|
fitContent: boolean;
|
|
16914
16960
|
infoIconTooltipText: string;
|
|
16915
16961
|
trend: string;
|
|
@@ -18077,39 +18123,9 @@ export declare interface BentoTimelineTimestamp {
|
|
|
18077
18123
|
value?: string;
|
|
18078
18124
|
}
|
|
18079
18125
|
|
|
18080
|
-
/**
|
|
18081
|
-
* @example
|
|
18082
|
-
* import { BentoToast, useBentoToastController } from '@adyen/bento-vue2';
|
|
18083
|
-
*
|
|
18084
|
-
* export default {
|
|
18085
|
-
* components: { BentoToast },
|
|
18086
|
-
* template: `
|
|
18087
|
-
* // in your project root
|
|
18088
|
-
* <bento-toast />
|
|
18089
|
-
* setup() {
|
|
18090
|
-
* bentoToastController = useBentoToastController();
|
|
18091
|
-
* onTrigger = () => {
|
|
18092
|
-
* bentoToastController.addToast({ text: 'Your toast text', action: { text: 'Button text', handler: () => { your code here } });
|
|
18093
|
-
* }
|
|
18094
|
-
* `
|
|
18095
|
-
* }
|
|
18096
|
-
*/
|
|
18097
18126
|
export declare const BentoToast: DefineComponent<
|
|
18098
18127
|
{},
|
|
18099
|
-
{
|
|
18100
|
-
computedPositioning: ComputedRef<
|
|
18101
|
-
{
|
|
18102
|
-
top: string;
|
|
18103
|
-
width: string;
|
|
18104
|
-
}[]
|
|
18105
|
-
>;
|
|
18106
|
-
computedHeight: ComputedRef<{
|
|
18107
|
-
bottom: string;
|
|
18108
|
-
height: string;
|
|
18109
|
-
}>;
|
|
18110
|
-
toastsToShow: ComputedRef<BentoToastItem[]>;
|
|
18111
|
-
toast: any;
|
|
18112
|
-
},
|
|
18128
|
+
{},
|
|
18113
18129
|
{},
|
|
18114
18130
|
{},
|
|
18115
18131
|
{},
|
|
@@ -18121,17 +18137,23 @@ export declare const BentoToast: DefineComponent<
|
|
|
18121
18137
|
{}
|
|
18122
18138
|
>;
|
|
18123
18139
|
|
|
18124
|
-
declare interface BentoToastItem {
|
|
18125
|
-
|
|
18126
|
-
|
|
18127
|
-
dismiss?: () => void;
|
|
18140
|
+
export declare interface BentoToastItem extends BentoToastItemParams {
|
|
18141
|
+
id: string;
|
|
18142
|
+
dismiss: () => void;
|
|
18128
18143
|
}
|
|
18129
18144
|
|
|
18130
|
-
declare interface BentoToastItemAction {
|
|
18145
|
+
export declare interface BentoToastItemAction {
|
|
18131
18146
|
handler: () => void;
|
|
18132
18147
|
text: string;
|
|
18133
18148
|
}
|
|
18134
18149
|
|
|
18150
|
+
export declare interface BentoToastItemParams {
|
|
18151
|
+
action?: BentoToastItemAction;
|
|
18152
|
+
text: string;
|
|
18153
|
+
}
|
|
18154
|
+
|
|
18155
|
+
export declare type BentoToastItemsList = Array<BentoToastItem>;
|
|
18156
|
+
|
|
18135
18157
|
/**
|
|
18136
18158
|
* A wrapper around the bento toggle, providing checkbox functionality with a knob-like toggle
|
|
18137
18159
|
*
|
|
@@ -18560,149 +18582,128 @@ export declare interface BentoTutorialStep {
|
|
|
18560
18582
|
* `
|
|
18561
18583
|
* }
|
|
18562
18584
|
*/
|
|
18563
|
-
export declare const BentoTypography:
|
|
18564
|
-
|
|
18565
|
-
|
|
18566
|
-
|
|
18567
|
-
|
|
18568
|
-
|
|
18569
|
-
|
|
18570
|
-
|
|
18571
|
-
|
|
18572
|
-
|
|
18573
|
-
|
|
18574
|
-
|
|
18575
|
-
|
|
18576
|
-
|
|
18577
|
-
|
|
18578
|
-
|
|
18579
|
-
|
|
18580
|
-
|
|
18581
|
-
|
|
18582
|
-
|
|
18583
|
-
|
|
18584
|
-
|
|
18585
|
-
|
|
18586
|
-
|
|
18587
|
-
|
|
18588
|
-
|
|
18589
|
-
|
|
18590
|
-
|
|
18591
|
-
|
|
18592
|
-
|
|
18593
|
-
|
|
18594
|
-
|
|
18595
|
-
|
|
18596
|
-
|
|
18597
|
-
|
|
18598
|
-
|
|
18599
|
-
|
|
18600
|
-
|
|
18601
|
-
|
|
18602
|
-
|
|
18603
|
-
|
|
18604
|
-
|
|
18605
|
-
|
|
18606
|
-
|
|
18607
|
-
|
|
18608
|
-
|
|
18609
|
-
|
|
18610
|
-
|
|
18611
|
-
|
|
18612
|
-
|
|
18613
|
-
|
|
18614
|
-
}
|
|
18615
|
-
|
|
18616
|
-
|
|
18617
|
-
|
|
18618
|
-
|
|
18619
|
-
|
|
18620
|
-
|
|
18621
|
-
|
|
18622
|
-
|
|
18623
|
-
|
|
18624
|
-
|
|
18625
|
-
|
|
18626
|
-
|
|
18627
|
-
|
|
18628
|
-
|
|
18629
|
-
|
|
18630
|
-
|
|
18631
|
-
|
|
18632
|
-
|
|
18633
|
-
|
|
18634
|
-
|
|
18635
|
-
|
|
18636
|
-
|
|
18637
|
-
|
|
18638
|
-
|
|
18639
|
-
|
|
18640
|
-
|
|
18641
|
-
|
|
18642
|
-
|
|
18643
|
-
|
|
18644
|
-
|
|
18645
|
-
|
|
18646
|
-
|
|
18647
|
-
|
|
18648
|
-
|
|
18649
|
-
|
|
18650
|
-
|
|
18651
|
-
|
|
18652
|
-
|
|
18653
|
-
|
|
18654
|
-
|
|
18655
|
-
|
|
18656
|
-
|
|
18657
|
-
|
|
18658
|
-
|
|
18659
|
-
|
|
18660
|
-
|
|
18661
|
-
|
|
18662
|
-
|
|
18663
|
-
|
|
18664
|
-
|
|
18665
|
-
|
|
18666
|
-
|
|
18667
|
-
|
|
18668
|
-
|
|
18669
|
-
|
|
18670
|
-
|
|
18671
|
-
|
|
18672
|
-
|
|
18673
|
-
|
|
18674
|
-
|
|
18675
|
-
|
|
18676
|
-
|
|
18677
|
-
|
|
18678
|
-
|
|
18679
|
-
|
|
18680
|
-
|
|
18681
|
-
|
|
18682
|
-
* Applicable to the Title variant.
|
|
18683
|
-
*/
|
|
18684
|
-
large: {
|
|
18685
|
-
type: BooleanConstructor;
|
|
18686
|
-
default: boolean;
|
|
18687
|
-
};
|
|
18688
|
-
/**
|
|
18689
|
-
* Adds the medium class modifier.
|
|
18690
|
-
* Applicable to tje Body variant.
|
|
18691
|
-
*/
|
|
18692
|
-
wide: {
|
|
18693
|
-
type: BooleanConstructor;
|
|
18694
|
-
default: boolean;
|
|
18695
|
-
};
|
|
18696
|
-
}>
|
|
18585
|
+
export declare const BentoTypography: __VLS_WithTemplateSlots_29<
|
|
18586
|
+
DefineComponent<
|
|
18587
|
+
__VLS_WithDefaults_2<
|
|
18588
|
+
__VLS_TypePropsToRuntimeProps_3<{
|
|
18589
|
+
/**
|
|
18590
|
+
* Sets the HTML DOM element.
|
|
18591
|
+
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
18592
|
+
*/
|
|
18593
|
+
el?: BentoTypographyElement | `${BentoTypographyElement}`;
|
|
18594
|
+
/**
|
|
18595
|
+
* Adds the large class modifier.
|
|
18596
|
+
* Applicable to the Title variant.
|
|
18597
|
+
*/
|
|
18598
|
+
large?: boolean;
|
|
18599
|
+
/**
|
|
18600
|
+
* Adds the medium class modifier.
|
|
18601
|
+
* Applicable to the Title variant.
|
|
18602
|
+
*/
|
|
18603
|
+
medium?: boolean;
|
|
18604
|
+
/**
|
|
18605
|
+
* Adds the stronger class modifier.
|
|
18606
|
+
* Applicable to Caption, Body and Subtitle variants.
|
|
18607
|
+
*/
|
|
18608
|
+
stronger?: boolean;
|
|
18609
|
+
/**
|
|
18610
|
+
* Adds the strongest class modifier.
|
|
18611
|
+
* Applicable to Caption, Body and Subtitle variants.
|
|
18612
|
+
*/
|
|
18613
|
+
strongest?: boolean;
|
|
18614
|
+
/**
|
|
18615
|
+
* Sets the type of typography variant.
|
|
18616
|
+
* @values caption, body, title.
|
|
18617
|
+
*/
|
|
18618
|
+
variant?: BentoTypographyVariant | `${BentoTypographyVariant}`;
|
|
18619
|
+
/**
|
|
18620
|
+
* Adds the medium class modifier.
|
|
18621
|
+
* Applicable to tje Body variant.
|
|
18622
|
+
*/
|
|
18623
|
+
wide?: boolean;
|
|
18624
|
+
}>,
|
|
18625
|
+
{
|
|
18626
|
+
el: BentoTypographyElement;
|
|
18627
|
+
large: boolean;
|
|
18628
|
+
medium: boolean;
|
|
18629
|
+
stronger: boolean;
|
|
18630
|
+
strongest: boolean;
|
|
18631
|
+
variant: BentoTypographyVariant;
|
|
18632
|
+
wide: boolean;
|
|
18633
|
+
}
|
|
18634
|
+
>,
|
|
18635
|
+
{},
|
|
18636
|
+
{},
|
|
18637
|
+
{},
|
|
18638
|
+
{},
|
|
18639
|
+
ComponentOptionsMixin,
|
|
18640
|
+
ComponentOptionsMixin,
|
|
18641
|
+
{},
|
|
18642
|
+
string,
|
|
18643
|
+
Readonly<
|
|
18644
|
+
ExtractPropTypes<
|
|
18645
|
+
__VLS_WithDefaults_2<
|
|
18646
|
+
__VLS_TypePropsToRuntimeProps_3<{
|
|
18647
|
+
/**
|
|
18648
|
+
* Sets the HTML DOM element.
|
|
18649
|
+
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
18650
|
+
*/
|
|
18651
|
+
el?: BentoTypographyElement | `${BentoTypographyElement}`;
|
|
18652
|
+
/**
|
|
18653
|
+
* Adds the large class modifier.
|
|
18654
|
+
* Applicable to the Title variant.
|
|
18655
|
+
*/
|
|
18656
|
+
large?: boolean;
|
|
18657
|
+
/**
|
|
18658
|
+
* Adds the medium class modifier.
|
|
18659
|
+
* Applicable to the Title variant.
|
|
18660
|
+
*/
|
|
18661
|
+
medium?: boolean;
|
|
18662
|
+
/**
|
|
18663
|
+
* Adds the stronger class modifier.
|
|
18664
|
+
* Applicable to Caption, Body and Subtitle variants.
|
|
18665
|
+
*/
|
|
18666
|
+
stronger?: boolean;
|
|
18667
|
+
/**
|
|
18668
|
+
* Adds the strongest class modifier.
|
|
18669
|
+
* Applicable to Caption, Body and Subtitle variants.
|
|
18670
|
+
*/
|
|
18671
|
+
strongest?: boolean;
|
|
18672
|
+
/**
|
|
18673
|
+
* Sets the type of typography variant.
|
|
18674
|
+
* @values caption, body, title.
|
|
18675
|
+
*/
|
|
18676
|
+
variant?: BentoTypographyVariant | `${BentoTypographyVariant}`;
|
|
18677
|
+
/**
|
|
18678
|
+
* Adds the medium class modifier.
|
|
18679
|
+
* Applicable to tje Body variant.
|
|
18680
|
+
*/
|
|
18681
|
+
wide?: boolean;
|
|
18682
|
+
}>,
|
|
18683
|
+
{
|
|
18684
|
+
el: BentoTypographyElement;
|
|
18685
|
+
large: boolean;
|
|
18686
|
+
medium: boolean;
|
|
18687
|
+
stronger: boolean;
|
|
18688
|
+
strongest: boolean;
|
|
18689
|
+
variant: BentoTypographyVariant;
|
|
18690
|
+
wide: boolean;
|
|
18691
|
+
}
|
|
18692
|
+
>
|
|
18693
|
+
>
|
|
18694
|
+
>,
|
|
18695
|
+
{
|
|
18696
|
+
el: BentoTypographyElement | `${BentoTypographyElement}`;
|
|
18697
|
+
wide: boolean;
|
|
18698
|
+
stronger: boolean;
|
|
18699
|
+
strongest: boolean;
|
|
18700
|
+
large: boolean;
|
|
18701
|
+
medium: boolean;
|
|
18702
|
+
variant: BentoTypographyVariant | `${BentoTypographyVariant}`;
|
|
18703
|
+
}
|
|
18697
18704
|
>,
|
|
18698
18705
|
{
|
|
18699
|
-
|
|
18700
|
-
wide: boolean;
|
|
18701
|
-
stronger: boolean;
|
|
18702
|
-
strongest: boolean;
|
|
18703
|
-
variant: 'body' | 'caption' | 'title' | 'subtitle' | BentoTypographyVariant;
|
|
18704
|
-
medium: boolean;
|
|
18705
|
-
large: boolean;
|
|
18706
|
+
default: (_: {}) => any;
|
|
18706
18707
|
}
|
|
18707
18708
|
>;
|
|
18708
18709
|
|
|
@@ -19057,16 +19058,13 @@ declare enum PopperContainerPositionExtended {
|
|
|
19057
19058
|
LEFT_END = 'left-end',
|
|
19058
19059
|
}
|
|
19059
19060
|
|
|
19060
|
-
declare
|
|
19061
|
-
|
|
19062
|
-
|
|
19063
|
-
|
|
19064
|
-
|
|
19065
|
-
|
|
19066
|
-
|
|
19067
|
-
addToast(params: BentoToastItem): {
|
|
19068
|
-
dismiss: () => void;
|
|
19069
|
-
};
|
|
19061
|
+
declare interface Toast {
|
|
19062
|
+
dismiss: () => void;
|
|
19063
|
+
}
|
|
19064
|
+
|
|
19065
|
+
export declare interface ToastStack {
|
|
19066
|
+
stack: DeepReadonly<Ref<BentoToastItemsList>>;
|
|
19067
|
+
addToast: (params: BentoToastItemParams) => Toast;
|
|
19070
19068
|
}
|
|
19071
19069
|
|
|
19072
19070
|
/**
|
|
@@ -19080,7 +19078,9 @@ declare class ToastController {
|
|
|
19080
19078
|
*/
|
|
19081
19079
|
export declare function toTypedSchema<T extends ZodSchema>(formSchema: T): T;
|
|
19082
19080
|
|
|
19083
|
-
export declare
|
|
19081
|
+
export declare type UseBentoToastController = ToastStack;
|
|
19082
|
+
|
|
19083
|
+
export declare function useBentoToastController(): UseBentoToastController;
|
|
19084
19084
|
|
|
19085
19085
|
/**
|
|
19086
19086
|
* Maps an ISO code to the country's translated capital city.
|