@adyen/bento-vue2 1.40.0 → 1.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/@types/components.d.ts +6 -0
- package/dist/@types/index.d.ts +620 -373
- package/dist/action-bar.js +1 -1
- package/dist/assets/accordion-item.css +1 -1
- package/dist/assets/action-bar.css +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/card.css +1 -1
- package/dist/assets/currency.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/layout-row.css +1 -0
- package/dist/assets/menu.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/popover.css +1 -1
- package/dist/assets/promo-banner.css +1 -0
- package/dist/assets/selection-card-group.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/assets/structured-list-item.css +1 -1
- package/dist/chunks/{action-bar.DJmskrzB.js → action-bar.r05wfyni.js} +2 -2
- package/dist/chunks/{action-bar.DJmskrzB.js.map → action-bar.r05wfyni.js.map} +1 -1
- package/dist/chunks/{code-snippet.CmBhucys.js → code-snippet.DRH4X9pH.js} +2 -2
- package/dist/chunks/{code-snippet.CmBhucys.js.map → code-snippet.DRH4X9pH.js.map} +1 -1
- package/dist/chunks/{currency.CEqsVP2T.js → currency.P7Psn_SK.js} +53 -61
- package/dist/chunks/currency.P7Psn_SK.js.map +1 -0
- package/dist/chunks/{dashboard-section.9R8bIh92.js → dashboard-section.DchlD4B2.js} +2 -2
- package/dist/chunks/{dashboard-section.9R8bIh92.js.map → dashboard-section.DchlD4B2.js.map} +1 -1
- package/dist/chunks/{data-grid.Czo9hi7m.js → data-grid.ahAWR42s.js} +934 -895
- package/dist/chunks/data-grid.ahAWR42s.js.map +1 -0
- package/dist/chunks/es6.b4enG1py.js +10 -0
- package/dist/chunks/es6.b4enG1py.js.map +1 -0
- package/dist/chunks/image.C2D2hKat.js +56 -0
- package/dist/chunks/image.C2D2hKat.js.map +1 -0
- package/dist/chunks/index.D5am6ibQ.js +249 -0
- package/dist/chunks/{index.iCshT3Hx.js.map → index.D5am6ibQ.js.map} +1 -1
- package/dist/chunks/layout-row.CtFsZ5-v.js +87 -0
- package/dist/chunks/layout-row.CtFsZ5-v.js.map +1 -0
- package/dist/chunks/promo-banner.NSOVGA7M.js +70 -0
- package/dist/chunks/promo-banner.NSOVGA7M.js.map +1 -0
- package/dist/chunks/{secondary-nav.bchOEARi.js → secondary-nav.DMw1l7rH.js} +3 -3
- package/dist/chunks/{secondary-nav.bchOEARi.js.map → secondary-nav.DMw1l7rH.js.map} +1 -1
- package/dist/chunks/selection-card-group.BjOuUbQD.js +299 -0
- package/dist/chunks/selection-card-group.BjOuUbQD.js.map +1 -0
- package/dist/chunks/{structured-list-item.C4gxvOkq.js → structured-list-item.CAcBJutf.js} +6 -6
- package/dist/chunks/structured-list-item.CAcBJutf.js.map +1 -0
- package/dist/chunks/{timeline-item.Bmn0Pu11.js → timeline-item.CxB3KFiu.js} +2 -2
- package/dist/chunks/{timeline-item.Bmn0Pu11.js.map → timeline-item.CxB3KFiu.js.map} +1 -1
- package/dist/chunks/{tutorial.DG5I6TRS.js → tutorial.CGjM0EJT.js} +2 -2
- package/dist/chunks/{tutorial.DG5I6TRS.js.map → tutorial.CGjM0EJT.js.map} +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/currency.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/image.js +1 -1
- package/dist/index.js +184 -177
- package/dist/index.js.map +1 -1
- package/dist/layout.js +6 -0
- package/dist/layout.js.map +1 -0
- package/dist/promo-banner.js +7 -0
- package/dist/promo-banner.js.map +1 -0
- package/dist/secondary-nav.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento-dark.css +16 -0
- package/dist/styles/bento-light.css +16 -0
- package/dist/styles/bento.css +16 -0
- package/dist/styles/legacy.css +16 -0
- package/dist/styles/styleguide.css +16 -0
- package/dist/timeline.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/web-types.json +276 -83
- package/package.json +2 -2
- package/dist/chunks/currency.CEqsVP2T.js.map +0 -1
- package/dist/chunks/data-grid.Czo9hi7m.js.map +0 -1
- package/dist/chunks/es6.BvpG4Oi6.js +0 -9
- package/dist/chunks/es6.BvpG4Oi6.js.map +0 -1
- package/dist/chunks/image.B3uqhFjl.js +0 -82
- package/dist/chunks/image.B3uqhFjl.js.map +0 -1
- package/dist/chunks/index.iCshT3Hx.js +0 -183
- package/dist/chunks/selection-card-group.CW7c72r2.js +0 -255
- package/dist/chunks/selection-card-group.CW7c72r2.js.map +0 -1
- package/dist/chunks/structured-list-item.C4gxvOkq.js.map +0 -1
package/dist/@types/index.d.ts
CHANGED
|
@@ -45,8 +45,18 @@ declare type __VLS_NonUndefinedable_16<T> = T extends undefined ? never : T;
|
|
|
45
45
|
|
|
46
46
|
declare type __VLS_NonUndefinedable_17<T> = T extends undefined ? never : T;
|
|
47
47
|
|
|
48
|
+
declare type __VLS_NonUndefinedable_18<T> = T extends undefined ? never : T;
|
|
49
|
+
|
|
50
|
+
declare type __VLS_NonUndefinedable_19<T> = T extends undefined ? never : T;
|
|
51
|
+
|
|
48
52
|
declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
|
|
49
53
|
|
|
54
|
+
declare type __VLS_NonUndefinedable_20<T> = T extends undefined ? never : T;
|
|
55
|
+
|
|
56
|
+
declare type __VLS_NonUndefinedable_21<T> = T extends undefined ? never : T;
|
|
57
|
+
|
|
58
|
+
declare type __VLS_NonUndefinedable_22<T> = T extends undefined ? never : T;
|
|
59
|
+
|
|
50
60
|
declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
|
|
51
61
|
|
|
52
62
|
declare type __VLS_NonUndefinedable_4<T> = T extends undefined ? never : T;
|
|
@@ -160,6 +170,28 @@ declare type __VLS_TypePropsToRuntimeProps_17<T> = {
|
|
|
160
170
|
};
|
|
161
171
|
};
|
|
162
172
|
|
|
173
|
+
declare type __VLS_TypePropsToRuntimeProps_18<T> = {
|
|
174
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
175
|
+
? {
|
|
176
|
+
type: PropType<__VLS_NonUndefinedable_18<T[K]>>;
|
|
177
|
+
}
|
|
178
|
+
: {
|
|
179
|
+
type: PropType<T[K]>;
|
|
180
|
+
required: true;
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
|
|
184
|
+
declare type __VLS_TypePropsToRuntimeProps_19<T> = {
|
|
185
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
186
|
+
? {
|
|
187
|
+
type: PropType<__VLS_NonUndefinedable_19<T[K]>>;
|
|
188
|
+
}
|
|
189
|
+
: {
|
|
190
|
+
type: PropType<T[K]>;
|
|
191
|
+
required: true;
|
|
192
|
+
};
|
|
193
|
+
};
|
|
194
|
+
|
|
163
195
|
declare type __VLS_TypePropsToRuntimeProps_2<T> = {
|
|
164
196
|
[K in keyof T]-?: {} extends Pick<T, K>
|
|
165
197
|
? {
|
|
@@ -171,6 +203,39 @@ declare type __VLS_TypePropsToRuntimeProps_2<T> = {
|
|
|
171
203
|
};
|
|
172
204
|
};
|
|
173
205
|
|
|
206
|
+
declare type __VLS_TypePropsToRuntimeProps_20<T> = {
|
|
207
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
208
|
+
? {
|
|
209
|
+
type: PropType<__VLS_NonUndefinedable_20<T[K]>>;
|
|
210
|
+
}
|
|
211
|
+
: {
|
|
212
|
+
type: PropType<T[K]>;
|
|
213
|
+
required: true;
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
declare type __VLS_TypePropsToRuntimeProps_21<T> = {
|
|
218
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
219
|
+
? {
|
|
220
|
+
type: PropType<__VLS_NonUndefinedable_21<T[K]>>;
|
|
221
|
+
}
|
|
222
|
+
: {
|
|
223
|
+
type: PropType<T[K]>;
|
|
224
|
+
required: true;
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
declare type __VLS_TypePropsToRuntimeProps_22<T> = {
|
|
229
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
230
|
+
? {
|
|
231
|
+
type: PropType<__VLS_NonUndefinedable_22<T[K]>>;
|
|
232
|
+
}
|
|
233
|
+
: {
|
|
234
|
+
type: PropType<T[K]>;
|
|
235
|
+
required: true;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
238
|
+
|
|
174
239
|
declare type __VLS_TypePropsToRuntimeProps_3<T> = {
|
|
175
240
|
[K in keyof T]-?: {} extends Pick<T, K>
|
|
176
241
|
? {
|
|
@@ -296,6 +361,46 @@ declare type __VLS_WithDefaults_14<P, D> = {
|
|
|
296
361
|
: P[K];
|
|
297
362
|
};
|
|
298
363
|
|
|
364
|
+
declare type __VLS_WithDefaults_15<P, D> = {
|
|
365
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
366
|
+
? P[K] & {
|
|
367
|
+
default: D[K];
|
|
368
|
+
}
|
|
369
|
+
: P[K];
|
|
370
|
+
};
|
|
371
|
+
|
|
372
|
+
declare type __VLS_WithDefaults_16<P, D> = {
|
|
373
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
374
|
+
? P[K] & {
|
|
375
|
+
default: D[K];
|
|
376
|
+
}
|
|
377
|
+
: P[K];
|
|
378
|
+
};
|
|
379
|
+
|
|
380
|
+
declare type __VLS_WithDefaults_17<P, D> = {
|
|
381
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
382
|
+
? P[K] & {
|
|
383
|
+
default: D[K];
|
|
384
|
+
}
|
|
385
|
+
: P[K];
|
|
386
|
+
};
|
|
387
|
+
|
|
388
|
+
declare type __VLS_WithDefaults_18<P, D> = {
|
|
389
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
390
|
+
? P[K] & {
|
|
391
|
+
default: D[K];
|
|
392
|
+
}
|
|
393
|
+
: P[K];
|
|
394
|
+
};
|
|
395
|
+
|
|
396
|
+
declare type __VLS_WithDefaults_19<P, D> = {
|
|
397
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
398
|
+
? P[K] & {
|
|
399
|
+
default: D[K];
|
|
400
|
+
}
|
|
401
|
+
: P[K];
|
|
402
|
+
};
|
|
403
|
+
|
|
299
404
|
declare type __VLS_WithDefaults_2<P, D> = {
|
|
300
405
|
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
301
406
|
? P[K] & {
|
|
@@ -564,6 +669,24 @@ declare type __VLS_WithTemplateSlots_4<T, S> = T & {
|
|
|
564
669
|
};
|
|
565
670
|
};
|
|
566
671
|
|
|
672
|
+
declare type __VLS_WithTemplateSlots_40<T, S> = T & {
|
|
673
|
+
new (): {
|
|
674
|
+
$slots: S;
|
|
675
|
+
};
|
|
676
|
+
};
|
|
677
|
+
|
|
678
|
+
declare type __VLS_WithTemplateSlots_41<T, S> = T & {
|
|
679
|
+
new (): {
|
|
680
|
+
$slots: S;
|
|
681
|
+
};
|
|
682
|
+
};
|
|
683
|
+
|
|
684
|
+
declare type __VLS_WithTemplateSlots_42<T, S> = T & {
|
|
685
|
+
new (): {
|
|
686
|
+
$slots: S;
|
|
687
|
+
};
|
|
688
|
+
};
|
|
689
|
+
|
|
567
690
|
declare type __VLS_WithTemplateSlots_5<T, S> = T & {
|
|
568
691
|
new (): {
|
|
569
692
|
$slots: S;
|
|
@@ -3283,43 +3406,29 @@ export declare enum BentoCountryVariant {
|
|
|
3283
3406
|
* A Currency component is used to display a formatted currency value.
|
|
3284
3407
|
*
|
|
3285
3408
|
* @example
|
|
3286
|
-
* import { BentoCurrency } from '@adyen/
|
|
3287
|
-
* import { BentoCurrency, BentoCurrencyCode } from '@adyen/bento-vue2';
|
|
3409
|
+
* import { BentoCurrency, BentoCurrencyISOCode } from '@adyen/bento-vue2';
|
|
3288
3410
|
*
|
|
3289
3411
|
* export default {
|
|
3290
3412
|
* components: { BentoCurrency },
|
|
3291
3413
|
* template: `
|
|
3292
|
-
* <bento-currency
|
|
3293
|
-
*
|
|
3294
|
-
*
|
|
3414
|
+
* <bento-currency
|
|
3415
|
+
* :currency="BentoCurrencyISOCode.USD"
|
|
3416
|
+
* :value="76.33"
|
|
3417
|
+
* />
|
|
3295
3418
|
* `
|
|
3296
3419
|
* }
|
|
3297
3420
|
*/
|
|
3298
3421
|
export declare const BentoCurrency: DefineComponent<
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
|
|
3303
|
-
|
|
3304
|
-
|
|
3305
|
-
|
|
3306
|
-
|
|
3307
|
-
|
|
3308
|
-
|
|
3309
|
-
type: BooleanConstructor;
|
|
3310
|
-
default: boolean;
|
|
3311
|
-
};
|
|
3312
|
-
/**
|
|
3313
|
-
* Disable the default typography for the component. Only use this when the component is inside another typography component.
|
|
3314
|
-
*/
|
|
3315
|
-
disableTypography: {
|
|
3316
|
-
type: BooleanConstructor;
|
|
3317
|
-
default: boolean;
|
|
3318
|
-
};
|
|
3319
|
-
},
|
|
3320
|
-
{
|
|
3321
|
-
formattedCurrency: ComputedRef<string>;
|
|
3322
|
-
},
|
|
3422
|
+
__VLS_WithDefaults_7<
|
|
3423
|
+
__VLS_TypePropsToRuntimeProps_7<BentoCurrencyProps>,
|
|
3424
|
+
{
|
|
3425
|
+
currency: BentoCurrencyISOCode;
|
|
3426
|
+
disableTypography: boolean;
|
|
3427
|
+
majorUnits: boolean;
|
|
3428
|
+
value: any;
|
|
3429
|
+
}
|
|
3430
|
+
>,
|
|
3431
|
+
{},
|
|
3323
3432
|
{},
|
|
3324
3433
|
{},
|
|
3325
3434
|
{},
|
|
@@ -3328,200 +3437,22 @@ export declare const BentoCurrency: DefineComponent<
|
|
|
3328
3437
|
{},
|
|
3329
3438
|
string,
|
|
3330
3439
|
Readonly<
|
|
3331
|
-
ExtractPropTypes<
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
default: boolean;
|
|
3343
|
-
};
|
|
3344
|
-
/**
|
|
3345
|
-
* Disable the default typography for the component. Only use this when the component is inside another typography component.
|
|
3346
|
-
*/
|
|
3347
|
-
disableTypography: {
|
|
3348
|
-
type: BooleanConstructor;
|
|
3349
|
-
default: boolean;
|
|
3350
|
-
};
|
|
3351
|
-
}>
|
|
3440
|
+
ExtractPropTypes<
|
|
3441
|
+
__VLS_WithDefaults_7<
|
|
3442
|
+
__VLS_TypePropsToRuntimeProps_7<BentoCurrencyProps>,
|
|
3443
|
+
{
|
|
3444
|
+
currency: BentoCurrencyISOCode;
|
|
3445
|
+
disableTypography: boolean;
|
|
3446
|
+
majorUnits: boolean;
|
|
3447
|
+
value: any;
|
|
3448
|
+
}
|
|
3449
|
+
>
|
|
3450
|
+
>
|
|
3352
3451
|
>,
|
|
3353
3452
|
{
|
|
3453
|
+
value: number;
|
|
3354
3454
|
disableTypography: boolean;
|
|
3355
|
-
currency:
|
|
3356
|
-
| 'TOP'
|
|
3357
|
-
| 'CVE'
|
|
3358
|
-
| 'DJF'
|
|
3359
|
-
| 'GNF'
|
|
3360
|
-
| 'IDR'
|
|
3361
|
-
| 'JPY'
|
|
3362
|
-
| 'KMF'
|
|
3363
|
-
| 'KRW'
|
|
3364
|
-
| 'PYG'
|
|
3365
|
-
| 'RWF'
|
|
3366
|
-
| 'UGX'
|
|
3367
|
-
| 'VND'
|
|
3368
|
-
| 'VUV'
|
|
3369
|
-
| 'XAF'
|
|
3370
|
-
| 'XOF'
|
|
3371
|
-
| 'XPF'
|
|
3372
|
-
| 'MRO'
|
|
3373
|
-
| 'BHD'
|
|
3374
|
-
| 'IQD'
|
|
3375
|
-
| 'JOD'
|
|
3376
|
-
| 'KWD'
|
|
3377
|
-
| 'LYD'
|
|
3378
|
-
| 'OMR'
|
|
3379
|
-
| 'TND'
|
|
3380
|
-
| 'AFA'
|
|
3381
|
-
| 'ALL'
|
|
3382
|
-
| 'DZD'
|
|
3383
|
-
| 'AOA'
|
|
3384
|
-
| 'ARS'
|
|
3385
|
-
| 'AMD'
|
|
3386
|
-
| 'AWG'
|
|
3387
|
-
| 'AUD'
|
|
3388
|
-
| 'AZN'
|
|
3389
|
-
| 'BSD'
|
|
3390
|
-
| 'BDT'
|
|
3391
|
-
| 'BBD'
|
|
3392
|
-
| 'BYR'
|
|
3393
|
-
| 'BEF'
|
|
3394
|
-
| 'BZD'
|
|
3395
|
-
| 'BMD'
|
|
3396
|
-
| 'BTN'
|
|
3397
|
-
| 'BTC'
|
|
3398
|
-
| 'BOB'
|
|
3399
|
-
| 'BAM'
|
|
3400
|
-
| 'BWP'
|
|
3401
|
-
| 'BRL'
|
|
3402
|
-
| 'GBP'
|
|
3403
|
-
| 'BND'
|
|
3404
|
-
| 'BGN'
|
|
3405
|
-
| 'BIF'
|
|
3406
|
-
| 'KHR'
|
|
3407
|
-
| 'CAD'
|
|
3408
|
-
| 'KYD'
|
|
3409
|
-
| 'CLP'
|
|
3410
|
-
| 'CLF'
|
|
3411
|
-
| 'CNY'
|
|
3412
|
-
| 'COP'
|
|
3413
|
-
| 'CDF'
|
|
3414
|
-
| 'CRC'
|
|
3415
|
-
| 'HRK'
|
|
3416
|
-
| 'CUC'
|
|
3417
|
-
| 'CZK'
|
|
3418
|
-
| 'DKK'
|
|
3419
|
-
| 'DOP'
|
|
3420
|
-
| 'XCD'
|
|
3421
|
-
| 'EGP'
|
|
3422
|
-
| 'ERN'
|
|
3423
|
-
| 'EEK'
|
|
3424
|
-
| 'ETB'
|
|
3425
|
-
| 'EUR'
|
|
3426
|
-
| 'FKP'
|
|
3427
|
-
| 'FJD'
|
|
3428
|
-
| 'GMD'
|
|
3429
|
-
| 'GEL'
|
|
3430
|
-
| 'DEM'
|
|
3431
|
-
| 'GHS'
|
|
3432
|
-
| 'GIP'
|
|
3433
|
-
| 'GRD'
|
|
3434
|
-
| 'GTQ'
|
|
3435
|
-
| 'GYD'
|
|
3436
|
-
| 'HTG'
|
|
3437
|
-
| 'HNL'
|
|
3438
|
-
| 'HKD'
|
|
3439
|
-
| 'HUF'
|
|
3440
|
-
| 'ISK'
|
|
3441
|
-
| 'INR'
|
|
3442
|
-
| 'IRR'
|
|
3443
|
-
| 'ILS'
|
|
3444
|
-
| 'ITL'
|
|
3445
|
-
| 'JMD'
|
|
3446
|
-
| 'KZT'
|
|
3447
|
-
| 'KES'
|
|
3448
|
-
| 'KGS'
|
|
3449
|
-
| 'LAK'
|
|
3450
|
-
| 'LVL'
|
|
3451
|
-
| 'LBP'
|
|
3452
|
-
| 'LSL'
|
|
3453
|
-
| 'LRD'
|
|
3454
|
-
| 'LTC'
|
|
3455
|
-
| 'LTL'
|
|
3456
|
-
| 'MOP'
|
|
3457
|
-
| 'MKD'
|
|
3458
|
-
| 'MGA'
|
|
3459
|
-
| 'MWK'
|
|
3460
|
-
| 'MYR'
|
|
3461
|
-
| 'MVR'
|
|
3462
|
-
| 'MUR'
|
|
3463
|
-
| 'MXN'
|
|
3464
|
-
| 'MDL'
|
|
3465
|
-
| 'MNT'
|
|
3466
|
-
| 'MAD'
|
|
3467
|
-
| 'MZM'
|
|
3468
|
-
| 'MMK'
|
|
3469
|
-
| 'NAD'
|
|
3470
|
-
| 'NPR'
|
|
3471
|
-
| 'ANG'
|
|
3472
|
-
| 'TWD'
|
|
3473
|
-
| 'NZD'
|
|
3474
|
-
| 'NIO'
|
|
3475
|
-
| 'NGN'
|
|
3476
|
-
| 'KPW'
|
|
3477
|
-
| 'NOK'
|
|
3478
|
-
| 'PKR'
|
|
3479
|
-
| 'PAB'
|
|
3480
|
-
| 'PGK'
|
|
3481
|
-
| 'PEN'
|
|
3482
|
-
| 'PHP'
|
|
3483
|
-
| 'PLN'
|
|
3484
|
-
| 'QAR'
|
|
3485
|
-
| 'RON'
|
|
3486
|
-
| 'RUB'
|
|
3487
|
-
| 'SVC'
|
|
3488
|
-
| 'WST'
|
|
3489
|
-
| 'STD'
|
|
3490
|
-
| 'SAR'
|
|
3491
|
-
| 'RSD'
|
|
3492
|
-
| 'SCR'
|
|
3493
|
-
| 'SLL'
|
|
3494
|
-
| 'SGD'
|
|
3495
|
-
| 'SKK'
|
|
3496
|
-
| 'SBD'
|
|
3497
|
-
| 'SOS'
|
|
3498
|
-
| 'ZAR'
|
|
3499
|
-
| 'SSP'
|
|
3500
|
-
| 'XDR'
|
|
3501
|
-
| 'LKR'
|
|
3502
|
-
| 'SHP'
|
|
3503
|
-
| 'SDG'
|
|
3504
|
-
| 'SRD'
|
|
3505
|
-
| 'SZL'
|
|
3506
|
-
| 'SEK'
|
|
3507
|
-
| 'CHF'
|
|
3508
|
-
| 'SYP'
|
|
3509
|
-
| 'TJS'
|
|
3510
|
-
| 'TZS'
|
|
3511
|
-
| 'THB'
|
|
3512
|
-
| 'TTD'
|
|
3513
|
-
| 'TRY'
|
|
3514
|
-
| 'TMT'
|
|
3515
|
-
| 'UAH'
|
|
3516
|
-
| 'AED'
|
|
3517
|
-
| 'UYU'
|
|
3518
|
-
| 'USD'
|
|
3519
|
-
| 'UZS'
|
|
3520
|
-
| 'VEF'
|
|
3521
|
-
| 'YER'
|
|
3522
|
-
| 'ZMK'
|
|
3523
|
-
| 'ZWL'
|
|
3524
|
-
| BentoCurrencyISOCode;
|
|
3455
|
+
currency: BentoCurrencyISOCode | `${BentoCurrencyISOCode}`;
|
|
3525
3456
|
majorUnits: boolean;
|
|
3526
3457
|
}
|
|
3527
3458
|
>;
|
|
@@ -3703,6 +3634,25 @@ export declare type BentoCurrencyListboxOptionItem = OmitStrict<BentoListboxOpti
|
|
|
3703
3634
|
|
|
3704
3635
|
export declare type BentoCurrencyListboxOptions = BentoCurrencyListboxOptionItem[];
|
|
3705
3636
|
|
|
3637
|
+
export declare interface BentoCurrencyProps {
|
|
3638
|
+
/**
|
|
3639
|
+
* Currency code based on the ISO 4217 standard
|
|
3640
|
+
*/
|
|
3641
|
+
currency?: BentoCurrencyISOCode | `${BentoCurrencyISOCode}`;
|
|
3642
|
+
/**
|
|
3643
|
+
* Disable the default typography for the component. Only use this when the component is inside another typography component.
|
|
3644
|
+
*/
|
|
3645
|
+
disableTypography?: boolean;
|
|
3646
|
+
/**
|
|
3647
|
+
* Accepts currency value in major units instead of minor ones
|
|
3648
|
+
*/
|
|
3649
|
+
majorUnits?: boolean;
|
|
3650
|
+
/**
|
|
3651
|
+
* Currency value to be formatted
|
|
3652
|
+
*/
|
|
3653
|
+
value?: number;
|
|
3654
|
+
}
|
|
3655
|
+
|
|
3706
3656
|
/**
|
|
3707
3657
|
* Dashboard section is subcomponent of Dashboard template meant to be used to create the different sections within the page.
|
|
3708
3658
|
*
|
|
@@ -3729,10 +3679,10 @@ export declare type BentoCurrencyListboxOptions = BentoCurrencyListboxOptionItem
|
|
|
3729
3679
|
* `
|
|
3730
3680
|
* }
|
|
3731
3681
|
*/
|
|
3732
|
-
export declare const BentoDashboardSection:
|
|
3682
|
+
export declare const BentoDashboardSection: __VLS_WithTemplateSlots_41<
|
|
3733
3683
|
DefineComponent<
|
|
3734
|
-
|
|
3735
|
-
|
|
3684
|
+
__VLS_WithDefaults_19<
|
|
3685
|
+
__VLS_TypePropsToRuntimeProps_22<{
|
|
3736
3686
|
/**
|
|
3737
3687
|
* The header of the section
|
|
3738
3688
|
*/
|
|
@@ -3756,8 +3706,8 @@ export declare const BentoDashboardSection: __VLS_WithTemplateSlots_38<
|
|
|
3756
3706
|
string,
|
|
3757
3707
|
Readonly<
|
|
3758
3708
|
ExtractPropTypes<
|
|
3759
|
-
|
|
3760
|
-
|
|
3709
|
+
__VLS_WithDefaults_19<
|
|
3710
|
+
__VLS_TypePropsToRuntimeProps_22<{
|
|
3761
3711
|
/**
|
|
3762
3712
|
* The header of the section
|
|
3763
3713
|
*/
|
|
@@ -3813,10 +3763,10 @@ export declare const BentoDashboardSection: __VLS_WithTemplateSlots_38<
|
|
|
3813
3763
|
* `
|
|
3814
3764
|
* }
|
|
3815
3765
|
*/
|
|
3816
|
-
export declare const BentoDashboardTemplate:
|
|
3766
|
+
export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_40<
|
|
3817
3767
|
DefineComponent<
|
|
3818
|
-
|
|
3819
|
-
|
|
3768
|
+
__VLS_WithDefaults_18<
|
|
3769
|
+
__VLS_TypePropsToRuntimeProps_21<{
|
|
3820
3770
|
/**
|
|
3821
3771
|
* The header that goes to the top of the template
|
|
3822
3772
|
*/
|
|
@@ -3852,8 +3802,8 @@ export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_37<
|
|
|
3852
3802
|
string,
|
|
3853
3803
|
Readonly<
|
|
3854
3804
|
ExtractPropTypes<
|
|
3855
|
-
|
|
3856
|
-
|
|
3805
|
+
__VLS_WithDefaults_18<
|
|
3806
|
+
__VLS_TypePropsToRuntimeProps_21<{
|
|
3857
3807
|
/**
|
|
3858
3808
|
* The header that goes to the top of the template
|
|
3859
3809
|
*/
|
|
@@ -4200,6 +4150,13 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_8<
|
|
|
4200
4150
|
type: BooleanConstructor;
|
|
4201
4151
|
default: boolean;
|
|
4202
4152
|
};
|
|
4153
|
+
/**
|
|
4154
|
+
* Sticks the horizontal scrollbar to the bottom of the screen if the data-grid is larger than the screen height.
|
|
4155
|
+
*/
|
|
4156
|
+
stickyHorizontalScrollbar: {
|
|
4157
|
+
type: BooleanConstructor;
|
|
4158
|
+
default: boolean;
|
|
4159
|
+
};
|
|
4203
4160
|
/**
|
|
4204
4161
|
* Make pagination stick to the bottom of the page when the data-grid is bigger than the screen.
|
|
4205
4162
|
* Because styles have to be applied to pagination container element, this has to be a data-grid prop (rather than a pagination prop).
|
|
@@ -4448,6 +4405,13 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_8<
|
|
|
4448
4405
|
type: BooleanConstructor;
|
|
4449
4406
|
default: boolean;
|
|
4450
4407
|
};
|
|
4408
|
+
/**
|
|
4409
|
+
* Sticks the horizontal scrollbar to the bottom of the screen if the data-grid is larger than the screen height.
|
|
4410
|
+
*/
|
|
4411
|
+
stickyHorizontalScrollbar: {
|
|
4412
|
+
type: BooleanConstructor;
|
|
4413
|
+
default: boolean;
|
|
4414
|
+
};
|
|
4451
4415
|
/**
|
|
4452
4416
|
* Make pagination stick to the bottom of the page when the data-grid is bigger than the screen.
|
|
4453
4417
|
* Because styles have to be applied to pagination container element, this has to be a data-grid prop (rather than a pagination prop).
|
|
@@ -4535,6 +4499,7 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_8<
|
|
|
4535
4499
|
columnPanel: boolean;
|
|
4536
4500
|
filterSearchTerm: string;
|
|
4537
4501
|
noSpacingTop: boolean;
|
|
4502
|
+
stickyHorizontalScrollbar: boolean;
|
|
4538
4503
|
stickyPagination: boolean;
|
|
4539
4504
|
stickyFilters: boolean;
|
|
4540
4505
|
selection: BentoDatagridDataItemId[];
|
|
@@ -4718,7 +4683,7 @@ export declare enum BentoDatagridStyleState {
|
|
|
4718
4683
|
* `
|
|
4719
4684
|
* }
|
|
4720
4685
|
*/
|
|
4721
|
-
export declare const BentoDataGridTemplate:
|
|
4686
|
+
export declare const BentoDataGridTemplate: __VLS_WithTemplateSlots_42<
|
|
4722
4687
|
DefineComponent<
|
|
4723
4688
|
{
|
|
4724
4689
|
/**
|
|
@@ -8751,45 +8716,34 @@ declare enum BentoHeaderVariant {
|
|
|
8751
8716
|
COMPONENT = 'component',
|
|
8752
8717
|
}
|
|
8753
8718
|
|
|
8719
|
+
/**
|
|
8720
|
+
* Image component used for resizing images to certain aspect ratios and fit strategies.
|
|
8721
|
+
*
|
|
8722
|
+
* @example
|
|
8723
|
+
* import { BentoImage } from '@adyen/bento-vue2';
|
|
8724
|
+
*
|
|
8725
|
+
* export default {
|
|
8726
|
+
* components: { BentoImage },
|
|
8727
|
+
* template: `
|
|
8728
|
+
* <bento-image
|
|
8729
|
+
* :src="imageSrc"
|
|
8730
|
+
* alt="alternative text"
|
|
8731
|
+
* aspect-ratio="landscape"
|
|
8732
|
+
* object-fit="cover"
|
|
8733
|
+
*
|
|
8734
|
+
* />
|
|
8735
|
+
* `
|
|
8736
|
+
* }
|
|
8737
|
+
*/
|
|
8754
8738
|
export declare const BentoImage: DefineComponent<
|
|
8755
|
-
|
|
8756
|
-
|
|
8757
|
-
|
|
8758
|
-
|
|
8759
|
-
|
|
8760
|
-
|
|
8761
|
-
|
|
8762
|
-
|
|
8763
|
-
/**
|
|
8764
|
-
* Accessible text describing the image, same as alt attribute of `<img>` tag
|
|
8765
|
-
*/
|
|
8766
|
-
alt: {
|
|
8767
|
-
type: StringConstructor;
|
|
8768
|
-
required: true;
|
|
8769
|
-
};
|
|
8770
|
-
/**
|
|
8771
|
-
* Aspect ratio of the image, maps to css aspect-ratio
|
|
8772
|
-
*/
|
|
8773
|
-
aspectRatio: {
|
|
8774
|
-
type: PropType<BentoImageAspectRatio | `${BentoImageAspectRatio}`>;
|
|
8775
|
-
default: any;
|
|
8776
|
-
validator: (value: BentoImageAspectRatio) => boolean;
|
|
8777
|
-
};
|
|
8778
|
-
/**
|
|
8779
|
-
* Object fitting strategy, maps to css object-fit
|
|
8780
|
-
*/
|
|
8781
|
-
objectFit: {
|
|
8782
|
-
type: PropType<BentoImageObjectFit | `${BentoImageObjectFit}`>;
|
|
8783
|
-
default: any;
|
|
8784
|
-
validator: (value: BentoImageObjectFit) => boolean;
|
|
8785
|
-
};
|
|
8786
|
-
},
|
|
8787
|
-
{
|
|
8788
|
-
imageStyles: ComputedRef<{
|
|
8789
|
-
aspectRatio: string;
|
|
8790
|
-
objectFit: 'fill' | 'contain' | 'cover' | BentoImageObjectFit;
|
|
8791
|
-
}>;
|
|
8792
|
-
},
|
|
8739
|
+
__VLS_WithDefaults_8<
|
|
8740
|
+
__VLS_TypePropsToRuntimeProps_8<BentoImageProps>,
|
|
8741
|
+
{
|
|
8742
|
+
aspectRatio: any;
|
|
8743
|
+
objectFit: any;
|
|
8744
|
+
}
|
|
8745
|
+
>,
|
|
8746
|
+
{},
|
|
8793
8747
|
{},
|
|
8794
8748
|
{},
|
|
8795
8749
|
{},
|
|
@@ -8798,55 +8752,19 @@ export declare const BentoImage: DefineComponent<
|
|
|
8798
8752
|
{},
|
|
8799
8753
|
string,
|
|
8800
8754
|
Readonly<
|
|
8801
|
-
ExtractPropTypes<
|
|
8802
|
-
|
|
8803
|
-
|
|
8804
|
-
|
|
8805
|
-
|
|
8806
|
-
|
|
8807
|
-
|
|
8808
|
-
|
|
8809
|
-
|
|
8810
|
-
* Accessible text describing the image, same as alt attribute of `<img>` tag
|
|
8811
|
-
*/
|
|
8812
|
-
alt: {
|
|
8813
|
-
type: StringConstructor;
|
|
8814
|
-
required: true;
|
|
8815
|
-
};
|
|
8816
|
-
/**
|
|
8817
|
-
* Aspect ratio of the image, maps to css aspect-ratio
|
|
8818
|
-
*/
|
|
8819
|
-
aspectRatio: {
|
|
8820
|
-
type: PropType<BentoImageAspectRatio | `${BentoImageAspectRatio}`>;
|
|
8821
|
-
default: any;
|
|
8822
|
-
validator: (value: BentoImageAspectRatio) => boolean;
|
|
8823
|
-
};
|
|
8824
|
-
/**
|
|
8825
|
-
* Object fitting strategy, maps to css object-fit
|
|
8826
|
-
*/
|
|
8827
|
-
objectFit: {
|
|
8828
|
-
type: PropType<BentoImageObjectFit | `${BentoImageObjectFit}`>;
|
|
8829
|
-
default: any;
|
|
8830
|
-
validator: (value: BentoImageObjectFit) => boolean;
|
|
8831
|
-
};
|
|
8832
|
-
}>
|
|
8755
|
+
ExtractPropTypes<
|
|
8756
|
+
__VLS_WithDefaults_8<
|
|
8757
|
+
__VLS_TypePropsToRuntimeProps_8<BentoImageProps>,
|
|
8758
|
+
{
|
|
8759
|
+
aspectRatio: any;
|
|
8760
|
+
objectFit: any;
|
|
8761
|
+
}
|
|
8762
|
+
>
|
|
8763
|
+
>
|
|
8833
8764
|
>,
|
|
8834
8765
|
{
|
|
8835
|
-
aspectRatio:
|
|
8836
|
-
|
|
8837
|
-
| 'landscape'
|
|
8838
|
-
| '4:3'
|
|
8839
|
-
| '3:3'
|
|
8840
|
-
| '16:9'
|
|
8841
|
-
| '2:1'
|
|
8842
|
-
| 'portrait'
|
|
8843
|
-
| '3:4'
|
|
8844
|
-
| '2:3'
|
|
8845
|
-
| '9:16'
|
|
8846
|
-
| '1:2'
|
|
8847
|
-
| '1:1'
|
|
8848
|
-
| BentoImageAspectRatio;
|
|
8849
|
-
objectFit: 'fill' | 'contain' | 'cover' | BentoImageObjectFit;
|
|
8766
|
+
aspectRatio: BentoImageAspectRatio | `${BentoImageAspectRatio}` | null;
|
|
8767
|
+
objectFit: BentoImageObjectFit | `${BentoImageObjectFit}` | null;
|
|
8850
8768
|
}
|
|
8851
8769
|
>;
|
|
8852
8770
|
|
|
@@ -8871,6 +8789,20 @@ export declare enum BentoImageObjectFit {
|
|
|
8871
8789
|
CONTAIN = 'contain',
|
|
8872
8790
|
}
|
|
8873
8791
|
|
|
8792
|
+
export declare interface BentoImageProps {
|
|
8793
|
+
/** Url to image, same as src attribute of `<img>` tag */
|
|
8794
|
+
src: string;
|
|
8795
|
+
|
|
8796
|
+
/** Accessible text describing the image, same as alt attribute of `<img>` tag */
|
|
8797
|
+
alt: string;
|
|
8798
|
+
|
|
8799
|
+
/** Aspect ratio of the image, maps to css aspect-ratio */
|
|
8800
|
+
aspectRatio?: BentoImageAspectRatio | `${BentoImageAspectRatio}` | null;
|
|
8801
|
+
|
|
8802
|
+
/** Object fitting strategy, maps to css object-fit */
|
|
8803
|
+
objectFit?: BentoImageObjectFit | `${BentoImageObjectFit}` | null;
|
|
8804
|
+
}
|
|
8805
|
+
|
|
8874
8806
|
/**
|
|
8875
8807
|
* @example
|
|
8876
8808
|
* import { BentoInfoIcon } from '@adyen/adl-vue-components';
|
|
@@ -9424,8 +9356,8 @@ export declare type BentoInpuWithDropdowntFilterValue = {
|
|
|
9424
9356
|
*/
|
|
9425
9357
|
export declare const BentoInspector: __VLS_WithTemplateSlots_18<
|
|
9426
9358
|
DefineComponent<
|
|
9427
|
-
|
|
9428
|
-
|
|
9359
|
+
__VLS_WithDefaults_9<
|
|
9360
|
+
__VLS_TypePropsToRuntimeProps_9<{
|
|
9429
9361
|
/**
|
|
9430
9362
|
* Shows the Expand icon in the inspector
|
|
9431
9363
|
*/
|
|
@@ -9468,8 +9400,8 @@ export declare const BentoInspector: __VLS_WithTemplateSlots_18<
|
|
|
9468
9400
|
string,
|
|
9469
9401
|
Readonly<
|
|
9470
9402
|
ExtractPropTypes<
|
|
9471
|
-
|
|
9472
|
-
|
|
9403
|
+
__VLS_WithDefaults_9<
|
|
9404
|
+
__VLS_TypePropsToRuntimeProps_9<{
|
|
9473
9405
|
/**
|
|
9474
9406
|
* Shows the Expand icon in the inspector
|
|
9475
9407
|
*/
|
|
@@ -9541,6 +9473,64 @@ export declare enum BentoKeyboardNavigationKeyDownEvent {
|
|
|
9541
9473
|
SPACE = 'keydown:space',
|
|
9542
9474
|
}
|
|
9543
9475
|
|
|
9476
|
+
/**
|
|
9477
|
+
* Layout is a basic scaffolding of a page that defines spacing, some functionality and responsive behaviour of its top level sections.
|
|
9478
|
+
*
|
|
9479
|
+
* @example
|
|
9480
|
+
* import { BentoLayout, BentoLayoutRow } from '@adyen/bento-vue2';
|
|
9481
|
+
*
|
|
9482
|
+
* export default {
|
|
9483
|
+
* components: { BentoLayout, BentoLayoutRow },
|
|
9484
|
+
* template: `
|
|
9485
|
+
* <bento-layout size="narrow">
|
|
9486
|
+
* <bento-layout-row>
|
|
9487
|
+
* Row 1
|
|
9488
|
+
* </bento-layout-row>
|
|
9489
|
+
* <bento-layout-row>
|
|
9490
|
+
* Row 2
|
|
9491
|
+
* </bento-layout-row>
|
|
9492
|
+
* </bento-layout>
|
|
9493
|
+
* `
|
|
9494
|
+
* }
|
|
9495
|
+
*/
|
|
9496
|
+
export declare const BentoLayout: __VLS_WithTemplateSlots_19<
|
|
9497
|
+
DefineComponent<
|
|
9498
|
+
__VLS_WithDefaults_10<
|
|
9499
|
+
__VLS_TypePropsToRuntimeProps_10<BentoLayoutProps>,
|
|
9500
|
+
{
|
|
9501
|
+
size: string;
|
|
9502
|
+
variant: string;
|
|
9503
|
+
}
|
|
9504
|
+
>,
|
|
9505
|
+
{},
|
|
9506
|
+
{},
|
|
9507
|
+
{},
|
|
9508
|
+
{},
|
|
9509
|
+
ComponentOptionsMixin,
|
|
9510
|
+
ComponentOptionsMixin,
|
|
9511
|
+
{},
|
|
9512
|
+
string,
|
|
9513
|
+
Readonly<
|
|
9514
|
+
ExtractPropTypes<
|
|
9515
|
+
__VLS_WithDefaults_10<
|
|
9516
|
+
__VLS_TypePropsToRuntimeProps_10<BentoLayoutProps>,
|
|
9517
|
+
{
|
|
9518
|
+
size: string;
|
|
9519
|
+
variant: string;
|
|
9520
|
+
}
|
|
9521
|
+
>
|
|
9522
|
+
>
|
|
9523
|
+
>,
|
|
9524
|
+
{
|
|
9525
|
+
variant: BentoLayoutVariant;
|
|
9526
|
+
size: BentoLayoutSize;
|
|
9527
|
+
}
|
|
9528
|
+
>,
|
|
9529
|
+
{
|
|
9530
|
+
default: (_: {}) => any;
|
|
9531
|
+
}
|
|
9532
|
+
>;
|
|
9533
|
+
|
|
9544
9534
|
declare type BentoLayoutGroupProportions =
|
|
9545
9535
|
| '33-33-33'
|
|
9546
9536
|
| '50-50'
|
|
@@ -9555,6 +9545,92 @@ declare type BentoLayoutGroupProportions =
|
|
|
9555
9545
|
|
|
9556
9546
|
declare const BentoLayoutGroupProportions: string[];
|
|
9557
9547
|
|
|
9548
|
+
export declare interface BentoLayoutProps {
|
|
9549
|
+
/** Defines if the layout is used in a page or only a section */
|
|
9550
|
+
variant?: BentoLayoutVariant;
|
|
9551
|
+
/** Defines the size of the page */
|
|
9552
|
+
size?: BentoLayoutSize;
|
|
9553
|
+
}
|
|
9554
|
+
|
|
9555
|
+
/**
|
|
9556
|
+
* Page row is subcomponent of Layout meant to be used to generate the row layout.
|
|
9557
|
+
*
|
|
9558
|
+
* @example
|
|
9559
|
+
* import { BentoLayout, BentoLayoutRow } from '@adyen/bento-vue2';
|
|
9560
|
+
*
|
|
9561
|
+
* export default {
|
|
9562
|
+
* components: { BentoLayout, BentoLayoutRow },
|
|
9563
|
+
* template: `
|
|
9564
|
+
* <bento-layout>
|
|
9565
|
+
* <bento-layout-row columns-layout="3-9">
|
|
9566
|
+
* <template #col-1>Narrow 3-9</template>
|
|
9567
|
+
* <template #col-2>Wide 3-9</template>
|
|
9568
|
+
* </bento-layout-row>
|
|
9569
|
+
* <bento-layout-row>
|
|
9570
|
+
* <template #col-1>6-6</template>
|
|
9571
|
+
* <template #col-2>6-6</template>
|
|
9572
|
+
* </bento-layout-row>
|
|
9573
|
+
* </bento-layout>
|
|
9574
|
+
* `
|
|
9575
|
+
* }
|
|
9576
|
+
*/
|
|
9577
|
+
export declare const BentoLayoutRow: __VLS_WithTemplateSlots_20<
|
|
9578
|
+
DefineComponent<
|
|
9579
|
+
__VLS_WithDefaults_11<
|
|
9580
|
+
__VLS_TypePropsToRuntimeProps_11<BentoLayoutRowProps>,
|
|
9581
|
+
{
|
|
9582
|
+
columnsLayout: string;
|
|
9583
|
+
}
|
|
9584
|
+
>,
|
|
9585
|
+
{},
|
|
9586
|
+
{},
|
|
9587
|
+
{},
|
|
9588
|
+
{},
|
|
9589
|
+
ComponentOptionsMixin,
|
|
9590
|
+
ComponentOptionsMixin,
|
|
9591
|
+
{},
|
|
9592
|
+
string,
|
|
9593
|
+
Readonly<
|
|
9594
|
+
ExtractPropTypes<
|
|
9595
|
+
__VLS_WithDefaults_11<
|
|
9596
|
+
__VLS_TypePropsToRuntimeProps_11<BentoLayoutRowProps>,
|
|
9597
|
+
{
|
|
9598
|
+
columnsLayout: string;
|
|
9599
|
+
}
|
|
9600
|
+
>
|
|
9601
|
+
>
|
|
9602
|
+
>,
|
|
9603
|
+
{
|
|
9604
|
+
columnsLayout: BentoLayoutRowColumnLayout;
|
|
9605
|
+
}
|
|
9606
|
+
>,
|
|
9607
|
+
{
|
|
9608
|
+
default: (_: {}) => any;
|
|
9609
|
+
'col-1': (_: {}) => any;
|
|
9610
|
+
'col-2': (_: {}) => any;
|
|
9611
|
+
}
|
|
9612
|
+
>;
|
|
9613
|
+
|
|
9614
|
+
export declare type BentoLayoutRowColumnLayout = (typeof BentoLayoutRowColumnLayoutOptions)[number];
|
|
9615
|
+
|
|
9616
|
+
declare const BentoLayoutRowColumnLayoutOptions: readonly ['3-9', '9-3', '4-8', '8-4', '6-6'];
|
|
9617
|
+
|
|
9618
|
+
export declare interface BentoLayoutRowProps {
|
|
9619
|
+
/** Sets the layout of the columns when multiple columns are used */
|
|
9620
|
+
columnsLayout?: BentoLayoutRowColumnLayout;
|
|
9621
|
+
}
|
|
9622
|
+
|
|
9623
|
+
export declare type BentoLayoutSize = (typeof BentoLayoutSizeOptions)[number];
|
|
9624
|
+
|
|
9625
|
+
declare const BentoLayoutSizeOptions: readonly ['full-width', 'narrow', 'half-width'];
|
|
9626
|
+
|
|
9627
|
+
export declare type BentoLayoutVariant = (typeof BentoLayoutVariantOptions)[number];
|
|
9628
|
+
|
|
9629
|
+
/**
|
|
9630
|
+
* @private
|
|
9631
|
+
*/
|
|
9632
|
+
declare const BentoLayoutVariantOptions: readonly ['page', 'component'];
|
|
9633
|
+
|
|
9558
9634
|
export declare type BentoLazyLoadType = 'automatic' | 'button' | 'none';
|
|
9559
9635
|
|
|
9560
9636
|
/**
|
|
@@ -9572,10 +9648,10 @@ export declare type BentoLazyLoadType = 'automatic' | 'button' | 'none';
|
|
|
9572
9648
|
* `
|
|
9573
9649
|
* }
|
|
9574
9650
|
*/
|
|
9575
|
-
export declare const BentoLink:
|
|
9651
|
+
export declare const BentoLink: __VLS_WithTemplateSlots_21<
|
|
9576
9652
|
DefineComponent<
|
|
9577
|
-
|
|
9578
|
-
|
|
9653
|
+
__VLS_WithDefaults_12<
|
|
9654
|
+
__VLS_TypePropsToRuntimeProps_12<BentoLinkProps>,
|
|
9579
9655
|
{
|
|
9580
9656
|
target: any;
|
|
9581
9657
|
variant: BentoLinkVariant;
|
|
@@ -9593,8 +9669,8 @@ export declare const BentoLink: __VLS_WithTemplateSlots_19<
|
|
|
9593
9669
|
string,
|
|
9594
9670
|
Readonly<
|
|
9595
9671
|
ExtractPropTypes<
|
|
9596
|
-
|
|
9597
|
-
|
|
9672
|
+
__VLS_WithDefaults_12<
|
|
9673
|
+
__VLS_TypePropsToRuntimeProps_12<BentoLinkProps>,
|
|
9598
9674
|
{
|
|
9599
9675
|
target: any;
|
|
9600
9676
|
variant: BentoLinkVariant;
|
|
@@ -10140,7 +10216,7 @@ export declare interface BentoMenuItem {
|
|
|
10140
10216
|
* `
|
|
10141
10217
|
* };
|
|
10142
10218
|
*/
|
|
10143
|
-
export declare const BentoModal:
|
|
10219
|
+
export declare const BentoModal: __VLS_WithTemplateSlots_23<
|
|
10144
10220
|
DefineComponent<
|
|
10145
10221
|
{
|
|
10146
10222
|
/**
|
|
@@ -10499,7 +10575,7 @@ export declare enum BentoModalEvent {
|
|
|
10499
10575
|
* `
|
|
10500
10576
|
* }
|
|
10501
10577
|
*/
|
|
10502
|
-
export declare const BentoModalFullscreen:
|
|
10578
|
+
export declare const BentoModalFullscreen: __VLS_WithTemplateSlots_24<
|
|
10503
10579
|
DefineComponent<
|
|
10504
10580
|
{
|
|
10505
10581
|
/**
|
|
@@ -10656,7 +10732,7 @@ export declare const BentoModalFullscreen: __VLS_WithTemplateSlots_22<
|
|
|
10656
10732
|
* `
|
|
10657
10733
|
* }
|
|
10658
10734
|
*/
|
|
10659
|
-
export declare const BentoModalFullscreenPage:
|
|
10735
|
+
export declare const BentoModalFullscreenPage: __VLS_WithTemplateSlots_25<
|
|
10660
10736
|
DefineComponent<
|
|
10661
10737
|
{
|
|
10662
10738
|
/**
|
|
@@ -10815,7 +10891,7 @@ export declare const BentoModalFullscreenPage: __VLS_WithTemplateSlots_23<
|
|
|
10815
10891
|
* `
|
|
10816
10892
|
* }
|
|
10817
10893
|
*/
|
|
10818
|
-
export declare const BentoModalPage:
|
|
10894
|
+
export declare const BentoModalPage: __VLS_WithTemplateSlots_22<
|
|
10819
10895
|
DefineComponent<
|
|
10820
10896
|
{
|
|
10821
10897
|
/**
|
|
@@ -12396,7 +12472,7 @@ export declare enum BentoPaymentMethodType {
|
|
|
12396
12472
|
* `
|
|
12397
12473
|
* }
|
|
12398
12474
|
*/
|
|
12399
|
-
export declare const BentoPopover:
|
|
12475
|
+
export declare const BentoPopover: __VLS_WithTemplateSlots_26<
|
|
12400
12476
|
DefineComponent<
|
|
12401
12477
|
{
|
|
12402
12478
|
/**
|
|
@@ -12815,6 +12891,164 @@ export declare const BentoPopoverPositions: {
|
|
|
12815
12891
|
|
|
12816
12892
|
export declare type BentoPopoverPositions = PopperContainerPosition;
|
|
12817
12893
|
|
|
12894
|
+
/**
|
|
12895
|
+
* Promotional Banner highlights important information, announcements, or promotions.
|
|
12896
|
+
*
|
|
12897
|
+
* @example
|
|
12898
|
+
* import { BentoPromoBanner } from '@adyen/bento-vue2';
|
|
12899
|
+
*
|
|
12900
|
+
* export default {
|
|
12901
|
+
* components: { BentoPromoBanner },
|
|
12902
|
+
* template: `
|
|
12903
|
+
* <bento-promo-banner
|
|
12904
|
+
* title="Title"
|
|
12905
|
+
* description="Brief description explaining and giving more information about the title"
|
|
12906
|
+
* :image="{ src: '16-1.png', aspectRatio: '16:9' }"
|
|
12907
|
+
* :actions="[{ title: 'Primary', event: () => {} }]"
|
|
12908
|
+
* >
|
|
12909
|
+
* </bento-promo-banner>
|
|
12910
|
+
* `
|
|
12911
|
+
* };
|
|
12912
|
+
*/
|
|
12913
|
+
export declare const BentoPromoBanner: __VLS_WithTemplateSlots_27<
|
|
12914
|
+
DefineComponent<
|
|
12915
|
+
__VLS_WithDefaults_13<
|
|
12916
|
+
__VLS_TypePropsToRuntimeProps_13<BentoPromoBannerProps>,
|
|
12917
|
+
{
|
|
12918
|
+
actions: any;
|
|
12919
|
+
color: BentoPromoBannerColor;
|
|
12920
|
+
isDismissible: boolean;
|
|
12921
|
+
dismissButtonText: any;
|
|
12922
|
+
layout: BentoPromoBannerLayout;
|
|
12923
|
+
}
|
|
12924
|
+
>,
|
|
12925
|
+
{},
|
|
12926
|
+
{},
|
|
12927
|
+
{},
|
|
12928
|
+
{},
|
|
12929
|
+
ComponentOptionsMixin,
|
|
12930
|
+
ComponentOptionsMixin,
|
|
12931
|
+
{
|
|
12932
|
+
dismiss: () => void;
|
|
12933
|
+
},
|
|
12934
|
+
string,
|
|
12935
|
+
Readonly<
|
|
12936
|
+
ExtractPropTypes<
|
|
12937
|
+
__VLS_WithDefaults_13<
|
|
12938
|
+
__VLS_TypePropsToRuntimeProps_13<BentoPromoBannerProps>,
|
|
12939
|
+
{
|
|
12940
|
+
actions: any;
|
|
12941
|
+
color: BentoPromoBannerColor;
|
|
12942
|
+
isDismissible: boolean;
|
|
12943
|
+
dismissButtonText: any;
|
|
12944
|
+
layout: BentoPromoBannerLayout;
|
|
12945
|
+
}
|
|
12946
|
+
>
|
|
12947
|
+
>
|
|
12948
|
+
>,
|
|
12949
|
+
{
|
|
12950
|
+
actions: BentoPromoBannerAction[];
|
|
12951
|
+
layout: `${BentoPromoBannerLayout}`;
|
|
12952
|
+
color: `${BentoPromoBannerColor}`;
|
|
12953
|
+
isDismissible: boolean;
|
|
12954
|
+
dismissButtonText: string;
|
|
12955
|
+
}
|
|
12956
|
+
>,
|
|
12957
|
+
{
|
|
12958
|
+
description: (_: {}) => any;
|
|
12959
|
+
}
|
|
12960
|
+
>;
|
|
12961
|
+
|
|
12962
|
+
export declare type BentoPromoBannerAction<IconType = object> = BentoButtonActionObject_2<IconType> & {
|
|
12963
|
+
variant: BentoPromoBannerButtonVariant;
|
|
12964
|
+
};
|
|
12965
|
+
|
|
12966
|
+
export declare type BentoPromoBannerButtonVariant = `${BentoButtonVariant.PRIMARY | BentoButtonVariant.SECONDARY}`;
|
|
12967
|
+
|
|
12968
|
+
export declare enum BentoPromoBannerColor {
|
|
12969
|
+
BLUE = 'blue',
|
|
12970
|
+
GREY = 'grey',
|
|
12971
|
+
GREEN = 'green',
|
|
12972
|
+
}
|
|
12973
|
+
|
|
12974
|
+
export declare type BentoPromoBannerImage = {
|
|
12975
|
+
src: BentoImageProps['src'];
|
|
12976
|
+
alt?: BentoImageProps['alt'];
|
|
12977
|
+
aspectRatio: BentoPromoBannerImageAspectRatio;
|
|
12978
|
+
};
|
|
12979
|
+
|
|
12980
|
+
export declare type BentoPromoBannerImageAspectRatio = `${
|
|
12981
|
+
| BentoImageAspectRatio.P16_9
|
|
12982
|
+
| BentoImageAspectRatio.P2_1
|
|
12983
|
+
| BentoImageAspectRatio.P1_1}`;
|
|
12984
|
+
|
|
12985
|
+
export declare enum BentoPromoBannerLayout {
|
|
12986
|
+
HORIZONTAL = 'horizontal',
|
|
12987
|
+
VERTICAL = 'vertical',
|
|
12988
|
+
}
|
|
12989
|
+
|
|
12990
|
+
export declare interface BentoPromoBannerProps {
|
|
12991
|
+
/**
|
|
12992
|
+
* List of actions that will be used to render the buttons.
|
|
12993
|
+
*
|
|
12994
|
+
* Each object in the list should have a `title`, an `event` and a `variant`.
|
|
12995
|
+
*
|
|
12996
|
+
* `title`: Button's text.
|
|
12997
|
+
* `event`: Event triggered when clicking the Button.
|
|
12998
|
+
* `variant`: Button's style.
|
|
12999
|
+
*
|
|
13000
|
+
* ```
|
|
13001
|
+
* [{
|
|
13002
|
+
* title: 'Primary',
|
|
13003
|
+
* event: () => { ... },
|
|
13004
|
+
* variant: 'primary'
|
|
13005
|
+
* }, {
|
|
13006
|
+
* title: 'Secondary',
|
|
13007
|
+
* event: () => { ... }
|
|
13008
|
+
* variant: 'secondary'
|
|
13009
|
+
* }]
|
|
13010
|
+
* ```
|
|
13011
|
+
*/
|
|
13012
|
+
actions?: BentoPromoBannerAction[];
|
|
13013
|
+
/**
|
|
13014
|
+
* Defines the color of banner's background
|
|
13015
|
+
*/
|
|
13016
|
+
color?: `${BentoPromoBannerColor}`;
|
|
13017
|
+
/**
|
|
13018
|
+
* Defines whether the banner has a `Dismiss` button
|
|
13019
|
+
*/
|
|
13020
|
+
isDismissible?: boolean;
|
|
13021
|
+
/**
|
|
13022
|
+
* Defines whether the banner has a `Dismiss` button
|
|
13023
|
+
*/
|
|
13024
|
+
dismissButtonText?: string;
|
|
13025
|
+
/**
|
|
13026
|
+
* Defines the image used in the banner.
|
|
13027
|
+
*
|
|
13028
|
+
* The promotional banner adapts to different container sizes based on the image's `aspect-ratio`.
|
|
13029
|
+
* Only the following `aspect-ratio` values are supported: `16:9`, `2:1`, and `1:1`.
|
|
13030
|
+
*
|
|
13031
|
+
* In Storybook, to verify the image display, update `image.src` and `image.aspectRatio` as follows:
|
|
13032
|
+
* - `./1-1.png` with an aspect ratio of `1:1`
|
|
13033
|
+
* - `./2-1.png` with an aspect ratio of `2:1`
|
|
13034
|
+
* - `./16-9.png` with an aspect ratio of `16:9`
|
|
13035
|
+
*/
|
|
13036
|
+
image: BentoPromoBannerImage;
|
|
13037
|
+
/**
|
|
13038
|
+
* Defines style of the banner.
|
|
13039
|
+
*
|
|
13040
|
+
* The horizontal layout is responsive to the container size and
|
|
13041
|
+
* changes depending on the image aspect ratio.
|
|
13042
|
+
*
|
|
13043
|
+
* The vertical layout remains the same regardless of container size.
|
|
13044
|
+
*/
|
|
13045
|
+
layout?: `${BentoPromoBannerLayout}`;
|
|
13046
|
+
/**
|
|
13047
|
+
* Defines the title text to be shown on the banner
|
|
13048
|
+
*/
|
|
13049
|
+
title: string;
|
|
13050
|
+
}
|
|
13051
|
+
|
|
12818
13052
|
/**
|
|
12819
13053
|
* Radio buttons are used when two or more options are mutually exclusive,
|
|
12820
13054
|
* the user can only select a single option from a list of pre-defined options.
|
|
@@ -12848,7 +13082,7 @@ export declare type BentoPopoverPositions = PopperContainerPosition;
|
|
|
12848
13082
|
* }
|
|
12849
13083
|
* }
|
|
12850
13084
|
*/
|
|
12851
|
-
export declare const BentoRadioButton:
|
|
13085
|
+
export declare const BentoRadioButton: __VLS_WithTemplateSlots_29<
|
|
12852
13086
|
DefineComponent<
|
|
12853
13087
|
{
|
|
12854
13088
|
/**
|
|
@@ -13018,7 +13252,7 @@ export declare type BentoRadioButtonValue = string | number;
|
|
|
13018
13252
|
* `
|
|
13019
13253
|
* };
|
|
13020
13254
|
*/
|
|
13021
|
-
export declare const BentoRadioGroup:
|
|
13255
|
+
export declare const BentoRadioGroup: __VLS_WithTemplateSlots_28<
|
|
13022
13256
|
DefineComponent<
|
|
13023
13257
|
{
|
|
13024
13258
|
/**
|
|
@@ -13493,7 +13727,7 @@ export declare interface BentoSearchBarItem {
|
|
|
13493
13727
|
* }
|
|
13494
13728
|
*/
|
|
13495
13729
|
export declare const BentoSecondaryNav: DefineComponent<
|
|
13496
|
-
|
|
13730
|
+
__VLS_TypePropsToRuntimeProps_15<{
|
|
13497
13731
|
/**
|
|
13498
13732
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
13499
13733
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -13517,7 +13751,7 @@ export declare const BentoSecondaryNav: DefineComponent<
|
|
|
13517
13751
|
string,
|
|
13518
13752
|
Readonly<
|
|
13519
13753
|
ExtractPropTypes<
|
|
13520
|
-
|
|
13754
|
+
__VLS_TypePropsToRuntimeProps_15<{
|
|
13521
13755
|
/**
|
|
13522
13756
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
13523
13757
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -13567,8 +13801,8 @@ export declare interface BentoSecondaryNavState {
|
|
|
13567
13801
|
* }
|
|
13568
13802
|
*/
|
|
13569
13803
|
export declare const BentoSegmentedControl: DefineComponent<
|
|
13570
|
-
|
|
13571
|
-
|
|
13804
|
+
__VLS_WithDefaults_15<
|
|
13805
|
+
__VLS_TypePropsToRuntimeProps_16<{
|
|
13572
13806
|
/**
|
|
13573
13807
|
* Accessible name describing the segmented control.
|
|
13574
13808
|
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
@@ -13609,8 +13843,8 @@ export declare const BentoSegmentedControl: DefineComponent<
|
|
|
13609
13843
|
string,
|
|
13610
13844
|
Readonly<
|
|
13611
13845
|
ExtractPropTypes<
|
|
13612
|
-
|
|
13613
|
-
|
|
13846
|
+
__VLS_WithDefaults_15<
|
|
13847
|
+
__VLS_TypePropsToRuntimeProps_16<{
|
|
13614
13848
|
/**
|
|
13615
13849
|
* Accessible name describing the segmented control.
|
|
13616
13850
|
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
@@ -13767,7 +14001,7 @@ export declare type BentoSelectFilterValue = BentoListboxSelectedValue;
|
|
|
13767
14001
|
* `
|
|
13768
14002
|
* }
|
|
13769
14003
|
*/
|
|
13770
|
-
export declare const BentoSelectionCard:
|
|
14004
|
+
export declare const BentoSelectionCard: __VLS_WithTemplateSlots_30<
|
|
13771
14005
|
DefineComponent<
|
|
13772
14006
|
{
|
|
13773
14007
|
/**
|
|
@@ -13977,7 +14211,7 @@ export declare const BentoSelectionCard: __VLS_WithTemplateSlots_27<
|
|
|
13977
14211
|
* `,
|
|
13978
14212
|
* }
|
|
13979
14213
|
*/
|
|
13980
|
-
export declare const BentoSelectionCardGroup:
|
|
14214
|
+
export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_31<
|
|
13981
14215
|
DefineComponent<
|
|
13982
14216
|
{
|
|
13983
14217
|
/**
|
|
@@ -14037,6 +14271,13 @@ export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_28<
|
|
|
14037
14271
|
type: PropType<BentoSelectionCardItem[]>;
|
|
14038
14272
|
required: true;
|
|
14039
14273
|
};
|
|
14274
|
+
/**
|
|
14275
|
+
* Sets the responsive number of items rendered in each row.
|
|
14276
|
+
*/
|
|
14277
|
+
itemsPerRow: {
|
|
14278
|
+
type: PropType<BentoSelectionCardGroupItemsPerRow>;
|
|
14279
|
+
default: any;
|
|
14280
|
+
};
|
|
14040
14281
|
/**
|
|
14041
14282
|
* Determines the initially selected value of the group. Corresponds to the BentoSelectionCardItem's value.
|
|
14042
14283
|
* Defaults to no value selected.
|
|
@@ -14153,6 +14394,13 @@ export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_28<
|
|
|
14153
14394
|
type: PropType<BentoSelectionCardItem[]>;
|
|
14154
14395
|
required: true;
|
|
14155
14396
|
};
|
|
14397
|
+
/**
|
|
14398
|
+
* Sets the responsive number of items rendered in each row.
|
|
14399
|
+
*/
|
|
14400
|
+
itemsPerRow: {
|
|
14401
|
+
type: PropType<BentoSelectionCardGroupItemsPerRow>;
|
|
14402
|
+
default: any;
|
|
14403
|
+
};
|
|
14156
14404
|
/**
|
|
14157
14405
|
* Determines the initially selected value of the group. Corresponds to the BentoSelectionCardItem's value.
|
|
14158
14406
|
* Defaults to no value selected.
|
|
@@ -14212,15 +14460,18 @@ export declare const BentoSelectionCardGroup: __VLS_WithTemplateSlots_28<
|
|
|
14212
14460
|
readonly: boolean;
|
|
14213
14461
|
modelValue: BentoSelectionCardModelValue;
|
|
14214
14462
|
formId: string;
|
|
14463
|
+
itemsPerRow: GridLayoutColumnWidth;
|
|
14215
14464
|
}
|
|
14216
14465
|
>,
|
|
14217
14466
|
{
|
|
14218
|
-
icon: (_:
|
|
14219
|
-
content: (_:
|
|
14220
|
-
dynamicContent: (_:
|
|
14467
|
+
icon: (_: any) => any;
|
|
14468
|
+
content: (_: any) => any;
|
|
14469
|
+
dynamicContent: (_: any) => any;
|
|
14221
14470
|
}
|
|
14222
14471
|
>;
|
|
14223
14472
|
|
|
14473
|
+
export declare type BentoSelectionCardGroupItemsPerRow = GridLayoutColumnWidth;
|
|
14474
|
+
|
|
14224
14475
|
export declare type BentoSelectionCardGroupLayout = 'horizontal' | 'vertical';
|
|
14225
14476
|
|
|
14226
14477
|
export declare type BentoSelectionCardGroupVariant = 'checkbox' | 'radio';
|
|
@@ -14293,7 +14544,7 @@ export declare type BentoSelectTagFilterOptions = OmitStrict<BentoSelectFilterOp
|
|
|
14293
14544
|
* `
|
|
14294
14545
|
* }
|
|
14295
14546
|
*/
|
|
14296
|
-
export declare const BentoSidepanel:
|
|
14547
|
+
export declare const BentoSidepanel: __VLS_WithTemplateSlots_33<
|
|
14297
14548
|
DefineComponent<
|
|
14298
14549
|
{
|
|
14299
14550
|
/**
|
|
@@ -14438,7 +14689,7 @@ export declare enum BentoSidepanelEvent {
|
|
|
14438
14689
|
* `
|
|
14439
14690
|
* }
|
|
14440
14691
|
*/
|
|
14441
|
-
export declare const BentoSidepanelPage:
|
|
14692
|
+
export declare const BentoSidepanelPage: __VLS_WithTemplateSlots_32<
|
|
14442
14693
|
DefineComponent<
|
|
14443
14694
|
{
|
|
14444
14695
|
/**
|
|
@@ -14598,9 +14849,9 @@ export declare const BentoSidepanelPage: __VLS_WithTemplateSlots_29<
|
|
|
14598
14849
|
* `
|
|
14599
14850
|
* }
|
|
14600
14851
|
*/
|
|
14601
|
-
export declare const BentoStatus:
|
|
14852
|
+
export declare const BentoStatus: __VLS_WithTemplateSlots_34<
|
|
14602
14853
|
DefineComponent<
|
|
14603
|
-
|
|
14854
|
+
__VLS_TypePropsToRuntimeProps_17<{
|
|
14604
14855
|
variant: BentoStatusVariant | `${BentoStatusVariant}`;
|
|
14605
14856
|
}>,
|
|
14606
14857
|
{},
|
|
@@ -14613,7 +14864,7 @@ export declare const BentoStatus: __VLS_WithTemplateSlots_31<
|
|
|
14613
14864
|
string,
|
|
14614
14865
|
Readonly<
|
|
14615
14866
|
ExtractPropTypes<
|
|
14616
|
-
|
|
14867
|
+
__VLS_TypePropsToRuntimeProps_17<{
|
|
14617
14868
|
variant: BentoStatusVariant | `${BentoStatusVariant}`;
|
|
14618
14869
|
}>
|
|
14619
14870
|
>
|
|
@@ -14659,7 +14910,7 @@ export declare enum BentoStatusVariant {
|
|
|
14659
14910
|
* `
|
|
14660
14911
|
* }
|
|
14661
14912
|
*/
|
|
14662
|
-
export declare const BentoStep:
|
|
14913
|
+
export declare const BentoStep: __VLS_WithTemplateSlots_36<
|
|
14663
14914
|
DefineComponent<
|
|
14664
14915
|
{
|
|
14665
14916
|
/**
|
|
@@ -14733,7 +14984,7 @@ export declare const BentoStep: __VLS_WithTemplateSlots_33<
|
|
|
14733
14984
|
* `
|
|
14734
14985
|
* }
|
|
14735
14986
|
*/
|
|
14736
|
-
export declare const BentoStepper:
|
|
14987
|
+
export declare const BentoStepper: __VLS_WithTemplateSlots_35<
|
|
14737
14988
|
DefineComponent<
|
|
14738
14989
|
{
|
|
14739
14990
|
/**
|
|
@@ -14851,18 +15102,16 @@ export declare enum BentoStepperVariantOption {
|
|
|
14851
15102
|
* <bento-payment-method label="Klarna" type="Klarna" />
|
|
14852
15103
|
* </bento-structured-list-item>
|
|
14853
15104
|
* <bento-structured-list-item label="Amount">
|
|
14854
|
-
* <bento-currency :currency="BentoCurrencyISOCode.USD"
|
|
14855
|
-
* 123456
|
|
14856
|
-
* </bento-currency>
|
|
15105
|
+
* <bento-currency :currency="BentoCurrencyISOCode.USD" :value="123456" />
|
|
14857
15106
|
* </bento-structured-list-item>
|
|
14858
15107
|
* </bento-structured-list>
|
|
14859
15108
|
* `
|
|
14860
15109
|
* }
|
|
14861
15110
|
*/
|
|
14862
|
-
export declare const BentoStructuredList:
|
|
15111
|
+
export declare const BentoStructuredList: __VLS_WithTemplateSlots_37<
|
|
14863
15112
|
DefineComponent<
|
|
14864
|
-
|
|
14865
|
-
|
|
15113
|
+
__VLS_WithDefaults_16<
|
|
15114
|
+
__VLS_TypePropsToRuntimeProps_18<{
|
|
14866
15115
|
/**
|
|
14867
15116
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
14868
15117
|
*/
|
|
@@ -14896,8 +15145,8 @@ export declare const BentoStructuredList: __VLS_WithTemplateSlots_34<
|
|
|
14896
15145
|
string,
|
|
14897
15146
|
Readonly<
|
|
14898
15147
|
ExtractPropTypes<
|
|
14899
|
-
|
|
14900
|
-
|
|
15148
|
+
__VLS_WithDefaults_16<
|
|
15149
|
+
__VLS_TypePropsToRuntimeProps_18<{
|
|
14901
15150
|
/**
|
|
14902
15151
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
14903
15152
|
*/
|
|
@@ -14950,17 +15199,15 @@ export declare const BentoStructuredList: __VLS_WithTemplateSlots_34<
|
|
|
14950
15199
|
* </bento-status>
|
|
14951
15200
|
* </bento-structured-list-item>
|
|
14952
15201
|
* <bento-structured-list-item label="Amount" copy='123456'>
|
|
14953
|
-
* <bento-currency :currency="BentoCurrencyISOCode.USD"
|
|
14954
|
-
* 123456
|
|
14955
|
-
* </bento-currency>
|
|
15202
|
+
* <bento-currency :currency="BentoCurrencyISOCode.USD" :value="123456" />
|
|
14956
15203
|
* </bento-structured-list-item>
|
|
14957
15204
|
* </bento-structured-list>
|
|
14958
15205
|
* `
|
|
14959
15206
|
* }
|
|
14960
15207
|
*/
|
|
14961
|
-
export declare const BentoStructuredListItem:
|
|
15208
|
+
export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_38<
|
|
14962
15209
|
DefineComponent<
|
|
14963
|
-
|
|
15210
|
+
__VLS_TypePropsToRuntimeProps_19<{
|
|
14964
15211
|
/**
|
|
14965
15212
|
* Label to display for the value
|
|
14966
15213
|
*/
|
|
@@ -14996,7 +15243,7 @@ export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_35<
|
|
|
14996
15243
|
string,
|
|
14997
15244
|
Readonly<
|
|
14998
15245
|
ExtractPropTypes<
|
|
14999
|
-
|
|
15246
|
+
__VLS_TypePropsToRuntimeProps_19<{
|
|
15000
15247
|
/**
|
|
15001
15248
|
* Label to display for the value
|
|
15002
15249
|
*/
|
|
@@ -16196,8 +16443,8 @@ declare enum BentoTabsEvent {
|
|
|
16196
16443
|
}
|
|
16197
16444
|
|
|
16198
16445
|
export declare const BentoTag: DefineComponent<
|
|
16199
|
-
|
|
16200
|
-
|
|
16446
|
+
__VLS_WithDefaults_14<
|
|
16447
|
+
__VLS_TypePropsToRuntimeProps_14<BentoTagProps>,
|
|
16201
16448
|
{
|
|
16202
16449
|
label: any;
|
|
16203
16450
|
truncate: any;
|
|
@@ -16214,8 +16461,8 @@ export declare const BentoTag: DefineComponent<
|
|
|
16214
16461
|
string,
|
|
16215
16462
|
Readonly<
|
|
16216
16463
|
ExtractPropTypes<
|
|
16217
|
-
|
|
16218
|
-
|
|
16464
|
+
__VLS_WithDefaults_14<
|
|
16465
|
+
__VLS_TypePropsToRuntimeProps_14<BentoTagProps>,
|
|
16219
16466
|
{
|
|
16220
16467
|
label: any;
|
|
16221
16468
|
truncate: any;
|
|
@@ -17464,10 +17711,10 @@ export declare interface BentoTutorialStep {
|
|
|
17464
17711
|
* `
|
|
17465
17712
|
* }
|
|
17466
17713
|
*/
|
|
17467
|
-
export declare const BentoTypography:
|
|
17714
|
+
export declare const BentoTypography: __VLS_WithTemplateSlots_39<
|
|
17468
17715
|
DefineComponent<
|
|
17469
|
-
|
|
17470
|
-
|
|
17716
|
+
__VLS_WithDefaults_17<
|
|
17717
|
+
__VLS_TypePropsToRuntimeProps_20<{
|
|
17471
17718
|
/**
|
|
17472
17719
|
* Sets the HTML DOM element.
|
|
17473
17720
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -17528,8 +17775,8 @@ export declare const BentoTypography: __VLS_WithTemplateSlots_36<
|
|
|
17528
17775
|
string,
|
|
17529
17776
|
Readonly<
|
|
17530
17777
|
ExtractPropTypes<
|
|
17531
|
-
|
|
17532
|
-
|
|
17778
|
+
__VLS_WithDefaults_17<
|
|
17779
|
+
__VLS_TypePropsToRuntimeProps_20<{
|
|
17533
17780
|
/**
|
|
17534
17781
|
* Sets the HTML DOM element.
|
|
17535
17782
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|