@adyen/bento-vue2 1.37.0 → 1.38.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 +60 -6
- package/dist/@types/index.d.ts +218 -159
- 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/checkbox-input.css +1 -1
- package/dist/assets/checkbox.css +1 -1
- package/dist/assets/data-grid.css +1 -1
- package/dist/assets/date-range-picker.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/info-icon.css +1 -1
- package/dist/assets/inspector.css +1 -1
- package/dist/assets/loading-indicator.css +1 -1
- package/dist/assets/menu.css +1 -1
- package/dist/assets/modal-fullscreen.css +1 -1
- package/dist/assets/pagination.css +1 -1
- package/dist/assets/popover.css +1 -1
- package/dist/assets/sidepanel.css +1 -1
- package/dist/button.js +2 -2
- package/dist/card.js +1 -1
- package/dist/checkbox.js +3 -3
- package/dist/chunks/{action-bar.CjdRoIjd.js → action-bar.D4-U6Fkb.js} +4 -4
- package/dist/chunks/{action-bar.CjdRoIjd.js.map → action-bar.D4-U6Fkb.js.map} +1 -1
- package/dist/chunks/{base-modal.D9nvAFwb.js → base-modal.O-Xbv58a.js} +2 -2
- package/dist/chunks/{base-modal.D9nvAFwb.js.map → base-modal.O-Xbv58a.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.BraBlJ_T.js → button-actions-with-menu.MEx5L6Sg.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.BraBlJ_T.js.map → button-actions-with-menu.MEx5L6Sg.js.map} +1 -1
- package/dist/chunks/{button-actions.22PlNl4O.js → button-actions.Daj6TvUt.js} +2 -2
- package/dist/chunks/{button-actions.22PlNl4O.js.map → button-actions.Daj6TvUt.js.map} +1 -1
- package/dist/chunks/{card.7EiG0W8f.js → card.CQTvuu6n.js} +2 -2
- package/dist/chunks/{card.7EiG0W8f.js.map → card.CQTvuu6n.js.map} +1 -1
- package/dist/chunks/{checkbox-group.BKDaJocG.js → checkbox-group.BEI5FPnW.js} +4 -4
- package/dist/chunks/{checkbox-group.BKDaJocG.js.map → checkbox-group.BEI5FPnW.js.map} +1 -1
- package/dist/chunks/{checkbox-input.DgfJgZaI.js → checkbox-input.Bo4NxNOh.js} +43 -39
- package/dist/chunks/checkbox-input.Bo4NxNOh.js.map +1 -0
- package/dist/chunks/{checkbox.DNsPAfq5.js → checkbox.5uVM-HLg.js} +53 -59
- package/dist/chunks/{checkbox.DNsPAfq5.js.map → checkbox.5uVM-HLg.js.map} +1 -1
- package/dist/chunks/{code-snippet.BPKC0Bxs.js → code-snippet.BweusD-1.js} +4 -4
- package/dist/chunks/{code-snippet.BPKC0Bxs.js.map → code-snippet.BweusD-1.js.map} +1 -1
- package/dist/chunks/{controls-group.Dx66LdfN.js → controls-group.Sni8leS5.js} +2 -2
- package/dist/chunks/{controls-group.Dx66LdfN.js.map → controls-group.Sni8leS5.js.map} +1 -1
- package/dist/chunks/{dashboard-section.CilMYHUI.js → dashboard-section.C42qpyhm.js} +2 -2
- package/dist/chunks/{dashboard-section.CilMYHUI.js.map → dashboard-section.C42qpyhm.js.map} +1 -1
- package/dist/chunks/{dashed-underline.3xCL30uf.js → dashed-underline.Dd9CWaDw.js} +2 -2
- package/dist/chunks/{dashed-underline.3xCL30uf.js.map → dashed-underline.Dd9CWaDw.js.map} +1 -1
- package/dist/chunks/{data-grid-template.DV7r3myJ.js → data-grid-template.DSFF6tTv.js} +2 -2
- package/dist/chunks/{data-grid-template.DV7r3myJ.js.map → data-grid-template.DSFF6tTv.js.map} +1 -1
- package/dist/chunks/{data-grid.CAs5qLq1.js → data-grid.Bs1AeOdW.js} +460 -440
- package/dist/chunks/data-grid.Bs1AeOdW.js.map +1 -0
- package/dist/chunks/{date-picker.Ce5xoP6x.js → date-picker.D9EWIMKc.js} +14 -14
- package/dist/chunks/{date-picker.Ce5xoP6x.js.map → date-picker.D9EWIMKc.js.map} +1 -1
- package/dist/chunks/date-range-picker.Dl7IDQX7.js +833 -0
- package/dist/chunks/{date-range-picker.WFZu39Kj.js.map → date-range-picker.Dl7IDQX7.js.map} +1 -1
- package/dist/chunks/{dropdown-tag.Df5CcYQ0.js → dropdown-tag.C8NnThcn.js} +2 -2
- package/dist/chunks/{dropdown-tag.Df5CcYQ0.js.map → dropdown-tag.C8NnThcn.js.map} +1 -1
- package/dist/chunks/{dropdown.DpiHAE1l.js → dropdown.D-z8R4hr.js} +17 -17
- package/dist/chunks/{dropdown.DpiHAE1l.js.map → dropdown.D-z8R4hr.js.map} +1 -1
- package/dist/chunks/{error-message.Btn_7Igx.js → error-message.Bk2maRF8.js} +2 -2
- package/dist/chunks/{error-message.Btn_7Igx.js.map → error-message.Bk2maRF8.js.map} +1 -1
- package/dist/chunks/es6.BvpG4Oi6.js.map +1 -1
- package/dist/chunks/{filter-bar.BSWkjktr.js → filter-bar.DQJ7y-B4.js} +12 -12
- package/dist/chunks/{filter-bar.BSWkjktr.js.map → filter-bar.DQJ7y-B4.js.map} +1 -1
- package/dist/chunks/{footer-actions.BL59SNj4.js → footer-actions.C33u1bdy.js} +2 -2
- package/dist/chunks/{footer-actions.BL59SNj4.js.map → footer-actions.C33u1bdy.js.map} +1 -1
- package/dist/chunks/{header.DGuyhMle.js → header.C9phQQdd.js} +4 -4
- package/dist/chunks/{header.DGuyhMle.js.map → header.C9phQQdd.js.map} +1 -1
- package/dist/chunks/{info-icon.BxWBisWG.js → info-icon.CCR-cAFR.js} +2 -2
- package/dist/chunks/{info-icon.BxWBisWG.js.map → info-icon.CCR-cAFR.js.map} +1 -1
- package/dist/chunks/{input-field.CT0_xKvJ.js → input-field.D8GdzKoR.js} +3 -3
- package/dist/chunks/{input-field.CT0_xKvJ.js.map → input-field.D8GdzKoR.js.map} +1 -1
- package/dist/chunks/{inspector.types.D1HKmbsJ.js → inspector.types.B8ma6aEp.js} +2 -2
- package/dist/chunks/{inspector.types.D1HKmbsJ.js.map → inspector.types.B8ma6aEp.js.map} +1 -1
- package/dist/chunks/{loading-button.CgiFM_c7.js → loading-button.DG5CBOC6.js} +2 -2
- package/dist/chunks/{loading-button.CgiFM_c7.js.map → loading-button.DG5CBOC6.js.map} +1 -1
- package/dist/chunks/{loading-indicator.DXc7I1Lm.js → loading-indicator.z8COalOc.js} +2 -2
- package/dist/chunks/loading-indicator.z8COalOc.js.map +1 -0
- package/dist/chunks/{menu.DEgYSQA2.js → menu.CRSCf_7g.js} +2 -2
- package/dist/chunks/{menu.DEgYSQA2.js.map → menu.CRSCf_7g.js.map} +1 -1
- package/dist/chunks/{modal-fullscreen.DsJnp4i6.js → modal-fullscreen.CHk3iiWD.js} +2 -2
- package/dist/chunks/{modal-fullscreen.DsJnp4i6.js.map → modal-fullscreen.CHk3iiWD.js.map} +1 -1
- package/dist/chunks/{modal.B1WqZZpr.js → modal.CZ7IpM0s.js} +4 -4
- package/dist/chunks/{modal.B1WqZZpr.js.map → modal.CZ7IpM0s.js.map} +1 -1
- package/dist/chunks/pagination.D1Eq93AU.js +344 -0
- package/dist/chunks/pagination.D1Eq93AU.js.map +1 -0
- package/dist/chunks/{popover.hzeFBXzL.js → popover.Dgrhz6Ty.js} +2 -2
- package/dist/chunks/{popover.hzeFBXzL.js.map → popover.Dgrhz6Ty.js.map} +1 -1
- package/dist/chunks/{radio-group.CZaVmmUe.js → radio-group.DtlPzh_w.js} +3 -3
- package/dist/chunks/{radio-group.CZaVmmUe.js.map → radio-group.DtlPzh_w.js.map} +1 -1
- package/dist/chunks/{search-bar.osJS8Cs-.js → search-bar.CKz-FPCl.js} +2 -2
- package/dist/chunks/{search-bar.osJS8Cs-.js.map → search-bar.CKz-FPCl.js.map} +1 -1
- package/dist/chunks/{secondary-nav.o_1YCWAx.js → secondary-nav.DDg3jyak.js} +2 -2
- package/dist/chunks/{secondary-nav.o_1YCWAx.js.map → secondary-nav.DDg3jyak.js.map} +1 -1
- package/dist/chunks/{selection-card-group.BRFV5iQl.js → selection-card-group.CW7c72r2.js} +4 -4
- package/dist/chunks/{selection-card-group.BRFV5iQl.js.map → selection-card-group.CW7c72r2.js.map} +1 -1
- package/dist/chunks/{sidepanel.GSooM2yT.js → sidepanel.Beqpqgzb.js} +2 -2
- package/dist/chunks/{sidepanel.GSooM2yT.js.map → sidepanel.Beqpqgzb.js.map} +1 -1
- package/dist/chunks/{structured-list-item.JDICCHjN.js → structured-list-item.CEvVHuPw.js} +2 -2
- package/dist/chunks/{structured-list-item.JDICCHjN.js.map → structured-list-item.CEvVHuPw.js.map} +1 -1
- package/dist/chunks/{summary-grid-item-custom.C-8hXJcP.js → summary-grid-item-custom.Mh4w6dXl.js} +2 -2
- package/dist/chunks/{summary-grid-item-custom.C-8hXJcP.js.map → summary-grid-item-custom.Mh4w6dXl.js.map} +1 -1
- package/dist/chunks/{textarea.CrYT_JJ-.js → textarea.DPL1yV7o.js} +2 -2
- package/dist/chunks/{textarea.CrYT_JJ-.js.map → textarea.DPL1yV7o.js.map} +1 -1
- package/dist/chunks/{timeline-item.BS_P9oEW.js → timeline-item.D1VPSSGb.js} +4 -4
- package/dist/chunks/{timeline-item.BS_P9oEW.js.map → timeline-item.D1VPSSGb.js.map} +1 -1
- package/dist/chunks/{tutorial.D_38Tuq-.js → tutorial.RhC117bN.js} +4 -4
- package/dist/chunks/{tutorial.D_38Tuq-.js.map → tutorial.RhC117bN.js.map} +1 -1
- package/dist/chunks/{use-cached-selected-values.DxHmVtct.js → use-cached-selected-values.DYwPtMZL.js} +4 -4
- package/dist/chunks/{use-cached-selected-values.DxHmVtct.js.map → use-cached-selected-values.DYwPtMZL.js.map} +1 -1
- package/dist/code-snippet.js +1 -1
- package/dist/dashboard-template.js +1 -1
- package/dist/dashed-underline.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1 -1
- package/dist/date-picker.js +1 -1
- package/dist/date-range-picker.js +1 -1
- package/dist/dropdown.js +3 -3
- package/dist/filter-bar.js +1 -1
- package/dist/header.js +1 -1
- package/dist/index.js +39 -39
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +1 -1
- package/dist/input-field.js +1 -1
- package/dist/inspector.js +1 -1
- package/dist/internal.js +3 -3
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +1 -1
- package/dist/modal.js +2 -2
- package/dist/pagination.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/radio-group.js +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +1 -1
- package/dist/selection-card.js +1 -1
- package/dist/sidepanel.js +1 -1
- package/dist/structured-list.js +1 -1
- package/dist/styles/bento-dark.css +3 -0
- package/dist/styles/bento-light.css +3 -0
- package/dist/styles/bento.css +3 -0
- package/dist/styles/legacy.css +3 -0
- package/dist/styles/styleguide.css +3 -0
- package/dist/summary-grid.js +1 -1
- package/dist/textarea.js +1 -1
- package/dist/timeline.js +1 -1
- package/dist/tutorial.js +1 -1
- package/dist/web-types.json +244 -207
- package/package.json +2 -2
- package/dist/chunks/checkbox-input.DgfJgZaI.js.map +0 -1
- package/dist/chunks/data-grid.CAs5qLq1.js.map +0 -1
- package/dist/chunks/date-range-picker.WFZu39Kj.js +0 -775
- package/dist/chunks/loading-indicator.DXc7I1Lm.js.map +0 -1
- package/dist/chunks/pagination.8BZz-h13.js +0 -500
- package/dist/chunks/pagination.8BZz-h13.js.map +0 -1
package/dist/@types/index.d.ts
CHANGED
|
@@ -43,6 +43,8 @@ declare type __VLS_NonUndefinedable_15<T> = T extends undefined ? never : T;
|
|
|
43
43
|
|
|
44
44
|
declare type __VLS_NonUndefinedable_16<T> = T extends undefined ? never : T;
|
|
45
45
|
|
|
46
|
+
declare type __VLS_NonUndefinedable_17<T> = T extends undefined ? never : T;
|
|
47
|
+
|
|
46
48
|
declare type __VLS_NonUndefinedable_2<T> = T extends undefined ? never : T;
|
|
47
49
|
|
|
48
50
|
declare type __VLS_NonUndefinedable_3<T> = T extends undefined ? never : T;
|
|
@@ -147,6 +149,17 @@ declare type __VLS_TypePropsToRuntimeProps_16<T> = {
|
|
|
147
149
|
};
|
|
148
150
|
};
|
|
149
151
|
|
|
152
|
+
declare type __VLS_TypePropsToRuntimeProps_17<T> = {
|
|
153
|
+
[K in keyof T]-?: {} extends Pick<T, K>
|
|
154
|
+
? {
|
|
155
|
+
type: PropType<__VLS_NonUndefinedable_17<T[K]>>;
|
|
156
|
+
}
|
|
157
|
+
: {
|
|
158
|
+
type: PropType<T[K]>;
|
|
159
|
+
required: true;
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
|
|
150
163
|
declare type __VLS_TypePropsToRuntimeProps_2<T> = {
|
|
151
164
|
[K in keyof T]-?: {} extends Pick<T, K>
|
|
152
165
|
? {
|
|
@@ -275,6 +288,14 @@ declare type __VLS_WithDefaults_13<P, D> = {
|
|
|
275
288
|
: P[K];
|
|
276
289
|
};
|
|
277
290
|
|
|
291
|
+
declare type __VLS_WithDefaults_14<P, D> = {
|
|
292
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
293
|
+
? P[K] & {
|
|
294
|
+
default: D[K];
|
|
295
|
+
}
|
|
296
|
+
: P[K];
|
|
297
|
+
};
|
|
298
|
+
|
|
278
299
|
declare type __VLS_WithDefaults_2<P, D> = {
|
|
279
300
|
[K in keyof Pick<P, keyof P>]: K extends keyof D
|
|
280
301
|
? P[K] & {
|
|
@@ -1529,8 +1550,8 @@ export declare enum BentoButtonVariant {
|
|
|
1529
1550
|
*/
|
|
1530
1551
|
export declare const BentoCard: __VLS_WithTemplateSlots_11<
|
|
1531
1552
|
DefineComponent<
|
|
1532
|
-
|
|
1533
|
-
|
|
1553
|
+
__VLS_WithDefaults_6<
|
|
1554
|
+
__VLS_TypePropsToRuntimeProps_6<{
|
|
1534
1555
|
/**
|
|
1535
1556
|
* List of actions that will be used to render the buttons.
|
|
1536
1557
|
* First element in the list will be rendered as "primary".
|
|
@@ -1613,8 +1634,8 @@ export declare const BentoCard: __VLS_WithTemplateSlots_11<
|
|
|
1613
1634
|
string,
|
|
1614
1635
|
Readonly<
|
|
1615
1636
|
ExtractPropTypes<
|
|
1616
|
-
|
|
1617
|
-
|
|
1637
|
+
__VLS_WithDefaults_6<
|
|
1638
|
+
__VLS_TypePropsToRuntimeProps_6<{
|
|
1618
1639
|
/**
|
|
1619
1640
|
* List of actions that will be used to render the buttons.
|
|
1620
1641
|
* First element in the list will be rendered as "primary".
|
|
@@ -1834,9 +1855,7 @@ export declare const BentoCheckbox: DefineComponent<
|
|
|
1834
1855
|
{
|
|
1835
1856
|
descriptionId: string;
|
|
1836
1857
|
errorId: string;
|
|
1837
|
-
ariaChecked: ComputedRef<(boolean | 'true' | 'false') | 'mixed'>;
|
|
1838
1858
|
ariaDescribedBy: ComputedRef<string>;
|
|
1839
|
-
ariaInvalid: ComputedRef<(boolean | 'true' | 'false') | 'grammar' | 'spelling'>;
|
|
1840
1859
|
computedAriaLabel: ComputedRef<string>;
|
|
1841
1860
|
conditionalClass: ComputedRef<{
|
|
1842
1861
|
'b-checkbox--disabled': boolean;
|
|
@@ -1844,8 +1863,6 @@ export declare const BentoCheckbox: DefineComponent<
|
|
|
1844
1863
|
}>;
|
|
1845
1864
|
defaultSlotValue: string;
|
|
1846
1865
|
descriptionSlotValue: string;
|
|
1847
|
-
isCheckboxGroup: ComputedRef<boolean>;
|
|
1848
|
-
isChecked: ComputedRef<boolean>;
|
|
1849
1866
|
isIndeterminate: ComputedRef<boolean>;
|
|
1850
1867
|
shouldShowError: ComputedRef<boolean>;
|
|
1851
1868
|
shouldShowErrorMessage: ComputedRef<boolean>;
|
|
@@ -3708,8 +3725,8 @@ export declare type BentoCurrencyListboxOptions = BentoCurrencyListboxOptionItem
|
|
|
3708
3725
|
*/
|
|
3709
3726
|
export declare const BentoDashboardSection: __VLS_WithTemplateSlots_37<
|
|
3710
3727
|
DefineComponent<
|
|
3711
|
-
|
|
3712
|
-
|
|
3728
|
+
__VLS_WithDefaults_14<
|
|
3729
|
+
__VLS_TypePropsToRuntimeProps_17<{
|
|
3713
3730
|
/**
|
|
3714
3731
|
* The header of the section
|
|
3715
3732
|
*/
|
|
@@ -3733,8 +3750,8 @@ export declare const BentoDashboardSection: __VLS_WithTemplateSlots_37<
|
|
|
3733
3750
|
string,
|
|
3734
3751
|
Readonly<
|
|
3735
3752
|
ExtractPropTypes<
|
|
3736
|
-
|
|
3737
|
-
|
|
3753
|
+
__VLS_WithDefaults_14<
|
|
3754
|
+
__VLS_TypePropsToRuntimeProps_17<{
|
|
3738
3755
|
/**
|
|
3739
3756
|
* The header of the section
|
|
3740
3757
|
*/
|
|
@@ -3792,8 +3809,8 @@ export declare const BentoDashboardSection: __VLS_WithTemplateSlots_37<
|
|
|
3792
3809
|
*/
|
|
3793
3810
|
export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_36<
|
|
3794
3811
|
DefineComponent<
|
|
3795
|
-
|
|
3796
|
-
|
|
3812
|
+
__VLS_WithDefaults_13<
|
|
3813
|
+
__VLS_TypePropsToRuntimeProps_16<{
|
|
3797
3814
|
/**
|
|
3798
3815
|
* The header that goes to the top of the template
|
|
3799
3816
|
*/
|
|
@@ -3829,8 +3846,8 @@ export declare const BentoDashboardTemplate: __VLS_WithTemplateSlots_36<
|
|
|
3829
3846
|
string,
|
|
3830
3847
|
Readonly<
|
|
3831
3848
|
ExtractPropTypes<
|
|
3832
|
-
|
|
3833
|
-
|
|
3849
|
+
__VLS_WithDefaults_13<
|
|
3850
|
+
__VLS_TypePropsToRuntimeProps_16<{
|
|
3834
3851
|
/**
|
|
3835
3852
|
* The header that goes to the top of the template
|
|
3836
3853
|
*/
|
|
@@ -4466,7 +4483,9 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_8<
|
|
|
4466
4483
|
lazyLoadType: BentoLazyLoadType;
|
|
4467
4484
|
emptyState: any;
|
|
4468
4485
|
fitContent: boolean;
|
|
4486
|
+
pagination: any;
|
|
4469
4487
|
hasResizableColumns: boolean;
|
|
4488
|
+
selectable: boolean;
|
|
4470
4489
|
selectableAcrossPages: boolean;
|
|
4471
4490
|
sortBy: BentoDatagridSortByColumn[];
|
|
4472
4491
|
truncateColumnHeaders: boolean;
|
|
@@ -4478,10 +4497,8 @@ export declare const BentoDataGrid: __VLS_WithTemplateSlots_8<
|
|
|
4478
4497
|
bulkActions: BentoButtonActionsList;
|
|
4479
4498
|
columnPanel: boolean;
|
|
4480
4499
|
filterSearchTerm: string;
|
|
4481
|
-
pagination: any;
|
|
4482
4500
|
stickyPagination: boolean;
|
|
4483
4501
|
stickyFilters: boolean;
|
|
4484
|
-
selectable: boolean;
|
|
4485
4502
|
selection: BentoDatagridDataItemId[];
|
|
4486
4503
|
highlightedRows: BentoDatagridDataItemId[];
|
|
4487
4504
|
noSpacingTop: boolean;
|
|
@@ -4571,8 +4588,8 @@ export declare enum BentoDatagridSortDirection {
|
|
|
4571
4588
|
* }
|
|
4572
4589
|
*/
|
|
4573
4590
|
export declare const BentoDataGridStaticIcon: DefineComponent<
|
|
4574
|
-
|
|
4575
|
-
|
|
4591
|
+
__VLS_WithDefaults_5<
|
|
4592
|
+
__VLS_TypePropsToRuntimeProps_5<{
|
|
4576
4593
|
/**
|
|
4577
4594
|
* Renderes the icon with color.
|
|
4578
4595
|
*/
|
|
@@ -4601,8 +4618,8 @@ export declare const BentoDataGridStaticIcon: DefineComponent<
|
|
|
4601
4618
|
string,
|
|
4602
4619
|
Readonly<
|
|
4603
4620
|
ExtractPropTypes<
|
|
4604
|
-
|
|
4605
|
-
|
|
4621
|
+
__VLS_WithDefaults_5<
|
|
4622
|
+
__VLS_TypePropsToRuntimeProps_5<{
|
|
4606
4623
|
/**
|
|
4607
4624
|
* Renderes the icon with color.
|
|
4608
4625
|
*/
|
|
@@ -5344,6 +5361,16 @@ export declare const BentoDateRangePicker: DefineComponent<
|
|
|
5344
5361
|
type: PropType<BentoDateRangePickerValue>;
|
|
5345
5362
|
default: any;
|
|
5346
5363
|
};
|
|
5364
|
+
/**
|
|
5365
|
+
* Enables the date picker selection to persist until it is explicitly applied.
|
|
5366
|
+
* Displays a set of buttons: Apply and Cancel.
|
|
5367
|
+
*
|
|
5368
|
+
* @deprecated This will be the default behaviour in v2.0.0.
|
|
5369
|
+
*/
|
|
5370
|
+
hasActions: {
|
|
5371
|
+
type: BooleanConstructor;
|
|
5372
|
+
default: boolean;
|
|
5373
|
+
};
|
|
5347
5374
|
},
|
|
5348
5375
|
{
|
|
5349
5376
|
inputContainerRef: any;
|
|
@@ -5352,6 +5379,8 @@ export declare const BentoDateRangePicker: DefineComponent<
|
|
|
5352
5379
|
descriptionConditionalClasses: ComputedRef<{
|
|
5353
5380
|
'b-date-range-picker__description--error': boolean;
|
|
5354
5381
|
}>;
|
|
5382
|
+
displayedTextInputValue: ComputedRef<DateRangePickerCalendarFormData>;
|
|
5383
|
+
displayedDateValue: ComputedRef<string>;
|
|
5355
5384
|
isDateIncorrect: Ref<boolean>;
|
|
5356
5385
|
isDateRangePickerOpen: Ref<boolean>;
|
|
5357
5386
|
isReadOnly: ComputedRef<boolean>;
|
|
@@ -5360,8 +5389,30 @@ export declare const BentoDateRangePicker: DefineComponent<
|
|
|
5360
5389
|
dateErrorId: string;
|
|
5361
5390
|
errorId: string;
|
|
5362
5391
|
popoverAriaLabel: ComputedRef<string>;
|
|
5392
|
+
shouldDisplayError: ComputedRef<boolean>;
|
|
5363
5393
|
ariaDescribedBy: ComputedRef<string>;
|
|
5364
5394
|
textInputDisplayValue: DateRangePickerCalendarFormData;
|
|
5395
|
+
rangePickerButtonActions: ComputedRef<
|
|
5396
|
+
(
|
|
5397
|
+
| {
|
|
5398
|
+
title: string;
|
|
5399
|
+
event: () => void;
|
|
5400
|
+
disabled: boolean;
|
|
5401
|
+
}
|
|
5402
|
+
| {
|
|
5403
|
+
title: string;
|
|
5404
|
+
event: () => void;
|
|
5405
|
+
disabled?: undefined;
|
|
5406
|
+
}
|
|
5407
|
+
)[]
|
|
5408
|
+
>;
|
|
5409
|
+
BentoButtonActionsLayout: {
|
|
5410
|
+
BUTTONS_START: import('../button').BentoButtonActionsLayoutExtended.BUTTONS_START;
|
|
5411
|
+
BUTTONS_END: import('../button').BentoButtonActionsLayoutBasic.BUTTONS_END;
|
|
5412
|
+
FILL_CONTAINER: import('../button').BentoButtonActionsLayoutBasic.FILL_CONTAINER;
|
|
5413
|
+
SPACE_BETWEEN: import('../button').BentoButtonActionsLayoutBasic.SPACE_BETWEEN;
|
|
5414
|
+
VERTICAL_STACK: import('../button').BentoButtonActionsLayoutBasic.VERTICAL_STACK;
|
|
5415
|
+
};
|
|
5365
5416
|
closeDateRangePicker: () => void;
|
|
5366
5417
|
clearDateRangePickerValue: () => Promise<void>;
|
|
5367
5418
|
openDateRangePicker: () => void;
|
|
@@ -5372,6 +5423,8 @@ export declare const BentoDateRangePicker: DefineComponent<
|
|
|
5372
5423
|
onDateRangePickerFormDateInputUpdate: (dateFormDate: DateRangePickerCalendarFormData) => void;
|
|
5373
5424
|
t: (
|
|
5374
5425
|
key:
|
|
5426
|
+
| 'cancel'
|
|
5427
|
+
| 'apply'
|
|
5375
5428
|
| 'selectDateRange'
|
|
5376
5429
|
| 'dateRangePicker'
|
|
5377
5430
|
| 'provideDateInAFormat'
|
|
@@ -5530,6 +5583,16 @@ export declare const BentoDateRangePicker: DefineComponent<
|
|
|
5530
5583
|
type: PropType<BentoDateRangePickerValue>;
|
|
5531
5584
|
default: any;
|
|
5532
5585
|
};
|
|
5586
|
+
/**
|
|
5587
|
+
* Enables the date picker selection to persist until it is explicitly applied.
|
|
5588
|
+
* Displays a set of buttons: Apply and Cancel.
|
|
5589
|
+
*
|
|
5590
|
+
* @deprecated This will be the default behaviour in v2.0.0.
|
|
5591
|
+
*/
|
|
5592
|
+
hasActions: {
|
|
5593
|
+
type: BooleanConstructor;
|
|
5594
|
+
default: boolean;
|
|
5595
|
+
};
|
|
5533
5596
|
}>
|
|
5534
5597
|
>,
|
|
5535
5598
|
{
|
|
@@ -5552,6 +5615,7 @@ export declare const BentoDateRangePicker: DefineComponent<
|
|
|
5552
5615
|
allowTimeInput: boolean;
|
|
5553
5616
|
granularities: BentoDateRangePickerGranularityConfig<CalendarGranularityType>[];
|
|
5554
5617
|
quickSelectRanges: DateRangePickerCalendarRangeSelectorItems;
|
|
5618
|
+
hasActions: boolean;
|
|
5555
5619
|
}
|
|
5556
5620
|
>;
|
|
5557
5621
|
|
|
@@ -9322,8 +9386,8 @@ export declare type BentoInpuWithDropdowntFilterValue = {
|
|
|
9322
9386
|
*/
|
|
9323
9387
|
export declare const BentoInspector: __VLS_WithTemplateSlots_17<
|
|
9324
9388
|
DefineComponent<
|
|
9325
|
-
|
|
9326
|
-
|
|
9389
|
+
__VLS_WithDefaults_7<
|
|
9390
|
+
__VLS_TypePropsToRuntimeProps_7<{
|
|
9327
9391
|
/**
|
|
9328
9392
|
* Shows the Expand icon in the inspector
|
|
9329
9393
|
*/
|
|
@@ -9366,8 +9430,8 @@ export declare const BentoInspector: __VLS_WithTemplateSlots_17<
|
|
|
9366
9430
|
string,
|
|
9367
9431
|
Readonly<
|
|
9368
9432
|
ExtractPropTypes<
|
|
9369
|
-
|
|
9370
|
-
|
|
9433
|
+
__VLS_WithDefaults_7<
|
|
9434
|
+
__VLS_TypePropsToRuntimeProps_7<{
|
|
9371
9435
|
/**
|
|
9372
9436
|
* Shows the Expand icon in the inspector
|
|
9373
9437
|
*/
|
|
@@ -9472,8 +9536,8 @@ export declare type BentoLazyLoadType = 'automatic' | 'button' | 'none';
|
|
|
9472
9536
|
*/
|
|
9473
9537
|
export declare const BentoLink: __VLS_WithTemplateSlots_18<
|
|
9474
9538
|
DefineComponent<
|
|
9475
|
-
|
|
9476
|
-
|
|
9539
|
+
__VLS_WithDefaults_8<
|
|
9540
|
+
__VLS_TypePropsToRuntimeProps_8<LinkProps>,
|
|
9477
9541
|
{
|
|
9478
9542
|
target: any;
|
|
9479
9543
|
variant: BentoLinkVariant;
|
|
@@ -9491,8 +9555,8 @@ export declare const BentoLink: __VLS_WithTemplateSlots_18<
|
|
|
9491
9555
|
string,
|
|
9492
9556
|
Readonly<
|
|
9493
9557
|
ExtractPropTypes<
|
|
9494
|
-
|
|
9495
|
-
|
|
9558
|
+
__VLS_WithDefaults_8<
|
|
9559
|
+
__VLS_TypePropsToRuntimeProps_8<LinkProps>,
|
|
9496
9560
|
{
|
|
9497
9561
|
target: any;
|
|
9498
9562
|
variant: BentoLinkVariant;
|
|
@@ -10966,82 +11030,8 @@ export declare type BentoMultiCheckboxType = Array<string | number>;
|
|
|
10966
11030
|
* }
|
|
10967
11031
|
*/
|
|
10968
11032
|
export declare const BentoPagination: DefineComponent<
|
|
10969
|
-
|
|
10970
|
-
|
|
10971
|
-
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
10972
|
-
*/
|
|
10973
|
-
/**
|
|
10974
|
-
* A brief description of the purpose of the navigation (for a11y).
|
|
10975
|
-
* Omit the term "navigation", as the screen reader will read both the role and the contents of the label.
|
|
10976
|
-
*/
|
|
10977
|
-
ariaLabel: {
|
|
10978
|
-
type: StringConstructor;
|
|
10979
|
-
default: any;
|
|
10980
|
-
};
|
|
10981
|
-
/**
|
|
10982
|
-
* Use to determine if the pager has a "next page".
|
|
10983
|
-
*/
|
|
10984
|
-
hasNext: {
|
|
10985
|
-
type: BooleanConstructor;
|
|
10986
|
-
default: any;
|
|
10987
|
-
};
|
|
10988
|
-
/**
|
|
10989
|
-
* Toggles the visibility of the "results per page" part of the pagination component.
|
|
10990
|
-
*/
|
|
10991
|
-
hidePageSize: {
|
|
10992
|
-
type: BooleanConstructor;
|
|
10993
|
-
default: boolean;
|
|
10994
|
-
};
|
|
10995
|
-
/**
|
|
10996
|
-
* The current page number of the pager.
|
|
10997
|
-
*/
|
|
10998
|
-
page: {
|
|
10999
|
-
type: NumberConstructor;
|
|
11000
|
-
default: number;
|
|
11001
|
-
validator: (value: number) => boolean;
|
|
11002
|
-
};
|
|
11003
|
-
/**
|
|
11004
|
-
* The size of the items the pager is paging through.
|
|
11005
|
-
*/
|
|
11006
|
-
size: {
|
|
11007
|
-
type: NumberConstructor;
|
|
11008
|
-
default: number;
|
|
11009
|
-
validator: (itemsPerPageValue: number) => boolean;
|
|
11010
|
-
};
|
|
11011
|
-
/**
|
|
11012
|
-
* The total number of items the pager is paging through.
|
|
11013
|
-
*/
|
|
11014
|
-
totalCount: {
|
|
11015
|
-
type: NumberConstructor;
|
|
11016
|
-
default: any;
|
|
11017
|
-
};
|
|
11018
|
-
/**
|
|
11019
|
-
* Enables virtual scrolling on all dropdowns if set to true.
|
|
11020
|
-
*/
|
|
11021
|
-
virtualScroll: {
|
|
11022
|
-
type: BooleanConstructor;
|
|
11023
|
-
default: boolean;
|
|
11024
|
-
};
|
|
11025
|
-
},
|
|
11026
|
-
{
|
|
11027
|
-
computedAriaLabel: ComputedRef<string>;
|
|
11028
|
-
totalPages: ComputedRef<number>;
|
|
11029
|
-
navigationConditionalClasses: ComputedRef<{
|
|
11030
|
-
'b-pagination__navigation--no-results-per-page': boolean;
|
|
11031
|
-
}>;
|
|
11032
|
-
navigate: (pageArg: number, itemsPerPage?: number) => void;
|
|
11033
|
-
onItemsPerPageChange: (elements: number) => void;
|
|
11034
|
-
onPageSelected: (pageNumber: number) => void;
|
|
11035
|
-
},
|
|
11036
|
-
{},
|
|
11037
|
-
{},
|
|
11038
|
-
{},
|
|
11039
|
-
ComponentOptionsMixin,
|
|
11040
|
-
ComponentOptionsMixin,
|
|
11041
|
-
('navigate' | 'items-page' | 'update:page' | 'update:size')[],
|
|
11042
|
-
string,
|
|
11043
|
-
Readonly<
|
|
11044
|
-
ExtractPropTypes<{
|
|
11033
|
+
__VLS_WithDefaults_4<
|
|
11034
|
+
__VLS_TypePropsToRuntimeProps_4<{
|
|
11045
11035
|
/**
|
|
11046
11036
|
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
11047
11037
|
*/
|
|
@@ -11049,55 +11039,106 @@ export declare const BentoPagination: DefineComponent<
|
|
|
11049
11039
|
* A brief description of the purpose of the navigation (for a11y).
|
|
11050
11040
|
* Omit the term "navigation", as the screen reader will read both the role and the contents of the label.
|
|
11051
11041
|
*/
|
|
11052
|
-
ariaLabel
|
|
11053
|
-
type: StringConstructor;
|
|
11054
|
-
default: any;
|
|
11055
|
-
};
|
|
11042
|
+
ariaLabel?: string;
|
|
11056
11043
|
/**
|
|
11057
11044
|
* Use to determine if the pager has a "next page".
|
|
11058
11045
|
*/
|
|
11059
|
-
hasNext
|
|
11060
|
-
type: BooleanConstructor;
|
|
11061
|
-
default: any;
|
|
11062
|
-
};
|
|
11046
|
+
hasNext?: boolean;
|
|
11063
11047
|
/**
|
|
11064
11048
|
* Toggles the visibility of the "results per page" part of the pagination component.
|
|
11065
11049
|
*/
|
|
11066
|
-
hidePageSize
|
|
11067
|
-
type: BooleanConstructor;
|
|
11068
|
-
default: boolean;
|
|
11069
|
-
};
|
|
11050
|
+
hidePageSize?: boolean;
|
|
11070
11051
|
/**
|
|
11071
11052
|
* The current page number of the pager.
|
|
11072
11053
|
*/
|
|
11073
|
-
page
|
|
11074
|
-
type: NumberConstructor;
|
|
11075
|
-
default: number;
|
|
11076
|
-
validator: (value: number) => boolean;
|
|
11077
|
-
};
|
|
11054
|
+
page?: number;
|
|
11078
11055
|
/**
|
|
11079
11056
|
* The size of the items the pager is paging through.
|
|
11080
11057
|
*/
|
|
11081
|
-
size
|
|
11082
|
-
type: NumberConstructor;
|
|
11083
|
-
default: number;
|
|
11084
|
-
validator: (itemsPerPageValue: number) => boolean;
|
|
11085
|
-
};
|
|
11058
|
+
size?: number;
|
|
11086
11059
|
/**
|
|
11087
11060
|
* The total number of items the pager is paging through.
|
|
11088
11061
|
*/
|
|
11089
|
-
totalCount
|
|
11090
|
-
type: NumberConstructor;
|
|
11091
|
-
default: any;
|
|
11092
|
-
};
|
|
11062
|
+
totalCount?: number;
|
|
11093
11063
|
/**
|
|
11094
11064
|
* Enables virtual scrolling on all dropdowns if set to true.
|
|
11095
11065
|
*/
|
|
11096
|
-
virtualScroll
|
|
11097
|
-
|
|
11098
|
-
|
|
11099
|
-
|
|
11100
|
-
|
|
11066
|
+
virtualScroll?: boolean;
|
|
11067
|
+
}>,
|
|
11068
|
+
{
|
|
11069
|
+
ariaLabel: any;
|
|
11070
|
+
hasNext: any;
|
|
11071
|
+
hidePageSize: boolean;
|
|
11072
|
+
page: number;
|
|
11073
|
+
size: number;
|
|
11074
|
+
totalCount: any;
|
|
11075
|
+
virtualScroll: boolean;
|
|
11076
|
+
}
|
|
11077
|
+
>,
|
|
11078
|
+
{},
|
|
11079
|
+
{},
|
|
11080
|
+
{},
|
|
11081
|
+
{},
|
|
11082
|
+
ComponentOptionsMixin,
|
|
11083
|
+
ComponentOptionsMixin,
|
|
11084
|
+
{
|
|
11085
|
+
navigate: (page: number, items?: number) => void;
|
|
11086
|
+
} & {
|
|
11087
|
+
'items-page': (size: number) => void;
|
|
11088
|
+
} & {
|
|
11089
|
+
'update:page': (page: number) => void;
|
|
11090
|
+
} & {
|
|
11091
|
+
'update:size': (size: number) => void;
|
|
11092
|
+
},
|
|
11093
|
+
string,
|
|
11094
|
+
Readonly<
|
|
11095
|
+
ExtractPropTypes<
|
|
11096
|
+
__VLS_WithDefaults_4<
|
|
11097
|
+
__VLS_TypePropsToRuntimeProps_4<{
|
|
11098
|
+
/**
|
|
11099
|
+
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
11100
|
+
*/
|
|
11101
|
+
/**
|
|
11102
|
+
* A brief description of the purpose of the navigation (for a11y).
|
|
11103
|
+
* Omit the term "navigation", as the screen reader will read both the role and the contents of the label.
|
|
11104
|
+
*/
|
|
11105
|
+
ariaLabel?: string;
|
|
11106
|
+
/**
|
|
11107
|
+
* Use to determine if the pager has a "next page".
|
|
11108
|
+
*/
|
|
11109
|
+
hasNext?: boolean;
|
|
11110
|
+
/**
|
|
11111
|
+
* Toggles the visibility of the "results per page" part of the pagination component.
|
|
11112
|
+
*/
|
|
11113
|
+
hidePageSize?: boolean;
|
|
11114
|
+
/**
|
|
11115
|
+
* The current page number of the pager.
|
|
11116
|
+
*/
|
|
11117
|
+
page?: number;
|
|
11118
|
+
/**
|
|
11119
|
+
* The size of the items the pager is paging through.
|
|
11120
|
+
*/
|
|
11121
|
+
size?: number;
|
|
11122
|
+
/**
|
|
11123
|
+
* The total number of items the pager is paging through.
|
|
11124
|
+
*/
|
|
11125
|
+
totalCount?: number;
|
|
11126
|
+
/**
|
|
11127
|
+
* Enables virtual scrolling on all dropdowns if set to true.
|
|
11128
|
+
*/
|
|
11129
|
+
virtualScroll?: boolean;
|
|
11130
|
+
}>,
|
|
11131
|
+
{
|
|
11132
|
+
ariaLabel: any;
|
|
11133
|
+
hasNext: any;
|
|
11134
|
+
hidePageSize: boolean;
|
|
11135
|
+
page: number;
|
|
11136
|
+
size: number;
|
|
11137
|
+
totalCount: any;
|
|
11138
|
+
virtualScroll: boolean;
|
|
11139
|
+
}
|
|
11140
|
+
>
|
|
11141
|
+
>
|
|
11101
11142
|
>,
|
|
11102
11143
|
{
|
|
11103
11144
|
page: number;
|
|
@@ -13384,7 +13425,7 @@ export declare interface BentoSearchBarItem {
|
|
|
13384
13425
|
* }
|
|
13385
13426
|
*/
|
|
13386
13427
|
export declare const BentoSecondaryNav: DefineComponent<
|
|
13387
|
-
|
|
13428
|
+
__VLS_TypePropsToRuntimeProps_10<{
|
|
13388
13429
|
/**
|
|
13389
13430
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
13390
13431
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -13408,7 +13449,7 @@ export declare const BentoSecondaryNav: DefineComponent<
|
|
|
13408
13449
|
string,
|
|
13409
13450
|
Readonly<
|
|
13410
13451
|
ExtractPropTypes<
|
|
13411
|
-
|
|
13452
|
+
__VLS_TypePropsToRuntimeProps_10<{
|
|
13412
13453
|
/**
|
|
13413
13454
|
* An array containing all the items on the nav. The array can have either {@see BentoSecondaryNavItemsCategory },
|
|
13414
13455
|
* which is used to group different items or {@see BentoSecondaryNavItemsItem } if you don't need to group them.
|
|
@@ -13458,8 +13499,8 @@ export declare interface BentoSecondaryNavState {
|
|
|
13458
13499
|
* }
|
|
13459
13500
|
*/
|
|
13460
13501
|
export declare const BentoSegmentedControl: DefineComponent<
|
|
13461
|
-
|
|
13462
|
-
|
|
13502
|
+
__VLS_WithDefaults_10<
|
|
13503
|
+
__VLS_TypePropsToRuntimeProps_11<{
|
|
13463
13504
|
/**
|
|
13464
13505
|
* Accessible name describing the segmented control.
|
|
13465
13506
|
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
@@ -13500,8 +13541,8 @@ export declare const BentoSegmentedControl: DefineComponent<
|
|
|
13500
13541
|
string,
|
|
13501
13542
|
Readonly<
|
|
13502
13543
|
ExtractPropTypes<
|
|
13503
|
-
|
|
13504
|
-
|
|
13544
|
+
__VLS_WithDefaults_10<
|
|
13545
|
+
__VLS_TypePropsToRuntimeProps_11<{
|
|
13505
13546
|
/**
|
|
13506
13547
|
* Accessible name describing the segmented control.
|
|
13507
13548
|
* @deprecated from version 2.0.0. Use the aria-label attribute instead.
|
|
@@ -14491,7 +14532,7 @@ export declare const BentoSidepanelPage: __VLS_WithTemplateSlots_28<
|
|
|
14491
14532
|
*/
|
|
14492
14533
|
export declare const BentoStatus: __VLS_WithTemplateSlots_30<
|
|
14493
14534
|
DefineComponent<
|
|
14494
|
-
|
|
14535
|
+
__VLS_TypePropsToRuntimeProps_12<{
|
|
14495
14536
|
variant: BentoStatusVariant | `${BentoStatusVariant}`;
|
|
14496
14537
|
}>,
|
|
14497
14538
|
{},
|
|
@@ -14504,7 +14545,7 @@ export declare const BentoStatus: __VLS_WithTemplateSlots_30<
|
|
|
14504
14545
|
string,
|
|
14505
14546
|
Readonly<
|
|
14506
14547
|
ExtractPropTypes<
|
|
14507
|
-
|
|
14548
|
+
__VLS_TypePropsToRuntimeProps_12<{
|
|
14508
14549
|
variant: BentoStatusVariant | `${BentoStatusVariant}`;
|
|
14509
14550
|
}>
|
|
14510
14551
|
>
|
|
@@ -14752,8 +14793,8 @@ export declare enum BentoStepperVariantOption {
|
|
|
14752
14793
|
*/
|
|
14753
14794
|
export declare const BentoStructuredList: __VLS_WithTemplateSlots_33<
|
|
14754
14795
|
DefineComponent<
|
|
14755
|
-
|
|
14756
|
-
|
|
14796
|
+
__VLS_WithDefaults_11<
|
|
14797
|
+
__VLS_TypePropsToRuntimeProps_13<{
|
|
14757
14798
|
/**
|
|
14758
14799
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
14759
14800
|
*/
|
|
@@ -14787,8 +14828,8 @@ export declare const BentoStructuredList: __VLS_WithTemplateSlots_33<
|
|
|
14787
14828
|
string,
|
|
14788
14829
|
Readonly<
|
|
14789
14830
|
ExtractPropTypes<
|
|
14790
|
-
|
|
14791
|
-
|
|
14831
|
+
__VLS_WithDefaults_11<
|
|
14832
|
+
__VLS_TypePropsToRuntimeProps_13<{
|
|
14792
14833
|
/**
|
|
14793
14834
|
* Width of the labels container, in pixels. Overrides layout prop.
|
|
14794
14835
|
*/
|
|
@@ -14851,7 +14892,7 @@ export declare const BentoStructuredList: __VLS_WithTemplateSlots_33<
|
|
|
14851
14892
|
*/
|
|
14852
14893
|
export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_34<
|
|
14853
14894
|
DefineComponent<
|
|
14854
|
-
|
|
14895
|
+
__VLS_TypePropsToRuntimeProps_14<{
|
|
14855
14896
|
/**
|
|
14856
14897
|
* Label to display for the value
|
|
14857
14898
|
*/
|
|
@@ -14887,7 +14928,7 @@ export declare const BentoStructuredListItem: __VLS_WithTemplateSlots_34<
|
|
|
14887
14928
|
string,
|
|
14888
14929
|
Readonly<
|
|
14889
14930
|
ExtractPropTypes<
|
|
14890
|
-
|
|
14931
|
+
__VLS_TypePropsToRuntimeProps_14<{
|
|
14891
14932
|
/**
|
|
14892
14933
|
* Label to display for the value
|
|
14893
14934
|
*/
|
|
@@ -16087,8 +16128,8 @@ declare enum BentoTabsEvent {
|
|
|
16087
16128
|
}
|
|
16088
16129
|
|
|
16089
16130
|
export declare const BentoTag: DefineComponent<
|
|
16090
|
-
|
|
16091
|
-
|
|
16131
|
+
__VLS_WithDefaults_9<
|
|
16132
|
+
__VLS_TypePropsToRuntimeProps_9<BentoTagProps>,
|
|
16092
16133
|
{
|
|
16093
16134
|
label: any;
|
|
16094
16135
|
truncate: any;
|
|
@@ -16105,8 +16146,8 @@ export declare const BentoTag: DefineComponent<
|
|
|
16105
16146
|
string,
|
|
16106
16147
|
Readonly<
|
|
16107
16148
|
ExtractPropTypes<
|
|
16108
|
-
|
|
16109
|
-
|
|
16149
|
+
__VLS_WithDefaults_9<
|
|
16150
|
+
__VLS_TypePropsToRuntimeProps_9<BentoTagProps>,
|
|
16110
16151
|
{
|
|
16111
16152
|
label: any;
|
|
16112
16153
|
truncate: any;
|
|
@@ -17357,8 +17398,8 @@ export declare interface BentoTutorialStep {
|
|
|
17357
17398
|
*/
|
|
17358
17399
|
export declare const BentoTypography: __VLS_WithTemplateSlots_35<
|
|
17359
17400
|
DefineComponent<
|
|
17360
|
-
|
|
17361
|
-
|
|
17401
|
+
__VLS_WithDefaults_12<
|
|
17402
|
+
__VLS_TypePropsToRuntimeProps_15<{
|
|
17362
17403
|
/**
|
|
17363
17404
|
* Sets the HTML DOM element.
|
|
17364
17405
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -17419,8 +17460,8 @@ export declare const BentoTypography: __VLS_WithTemplateSlots_35<
|
|
|
17419
17460
|
string,
|
|
17420
17461
|
Readonly<
|
|
17421
17462
|
ExtractPropTypes<
|
|
17422
|
-
|
|
17423
|
-
|
|
17463
|
+
__VLS_WithDefaults_12<
|
|
17464
|
+
__VLS_TypePropsToRuntimeProps_15<{
|
|
17424
17465
|
/**
|
|
17425
17466
|
* Sets the HTML DOM element.
|
|
17426
17467
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
@@ -17886,6 +17927,24 @@ export declare interface UseBentoTheme {
|
|
|
17886
17927
|
setTheme: (theme: BentoTheme | `${BentoTheme}`) => void;
|
|
17887
17928
|
}
|
|
17888
17929
|
|
|
17930
|
+
/**
|
|
17931
|
+
* Composable that handles theming-related capabilities for the Bento component library.
|
|
17932
|
+
* Requires the use of `BentoPlugin`.
|
|
17933
|
+
*
|
|
17934
|
+
* @example
|
|
17935
|
+
* <script setup lang="ts">
|
|
17936
|
+
* import { useBentoTheme, BentoTheme } from '@adyen/bento-vue2';
|
|
17937
|
+
*
|
|
17938
|
+
* const { setTheme } = useBentoTheme();
|
|
17939
|
+
*
|
|
17940
|
+
* setTheme(BentoTheme.BENTO_DARK)
|
|
17941
|
+
* </script>
|
|
17942
|
+
*
|
|
17943
|
+
* @returns {UseBentoTheme} An object with getter and setter method for the Bento theme.
|
|
17944
|
+
* @returns {Function} getTheme - Returns the current theme in the string form of BentoTheme enum.
|
|
17945
|
+
* @returns {Function} setTheme - Sets the theme of the Bento component library.
|
|
17946
|
+
*
|
|
17947
|
+
*/
|
|
17889
17948
|
export declare function useBentoTheme(): UseBentoTheme;
|
|
17890
17949
|
|
|
17891
17950
|
export declare const useBentoThemeKey: unique symbol;
|
package/dist/action-bar.js
CHANGED