@adyen/bento-vue3 1.23.0 → 1.25.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/packages/vue2/src/components/alert/alert.types.d.ts +3 -0
- package/dist/@types/packages/vue2/src/components/alert/alert.vue.d.ts +46 -54
- package/dist/@types/packages/vue2/src/components/avatar-image/avatar-image.vue.d.ts +38 -48
- package/dist/@types/packages/vue2/src/components/card/card.vue.d.ts +86 -174
- package/dist/@types/packages/vue2/src/components/checkbox/checkbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/checkbox/components/checkbox-group/checkbox-group.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.keys.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.types.d.ts +8 -1
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell/data-grid-cell.vue.d.ts +6 -3
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-cell-actions/data-grid-cell-actions.vue.d.ts +6 -2
- package/dist/@types/packages/vue2/src/components/data-grid/components/data-grid-config-settings/data-grid-config-settings.vue.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/data-grid/composables/use-calculate-column-width/use-calculate-column-width.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/data-grid/data-grid.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/date-picker/date-picker.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/date-range-picker/date-range-picker.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-base-textbox/dropdown-base-textbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-default-textbox/dropdown-default-textbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/composables/use-dropdown-options-listbox.d.ts +13 -7
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +14 -14
- package/dist/@types/packages/vue2/src/components/dropdown/components/dropdown-small-textbox/dropdown-small-textbox.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/dropdown/composables/use-display-value.types.d.ts +3 -24
- package/dist/@types/packages/vue2/src/components/dropdown/dropdown.vue.d.ts +5 -5
- package/dist/@types/packages/vue2/src/components/empty-state/empty-state.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/base-filter-button/base-filter-button.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/filter-bar/components/range-filter/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/select-filter-button/select-filter-button.vue.d.ts +148 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/components/select-filter-dropdown/select-filter-dropdown.vue.d.ts +150 -0
- package/dist/@types/packages/vue2/src/components/filter-bar/components/select-filter/select-filter.vue.d.ts +28 -27
- package/dist/@types/packages/vue2/src/components/input-field/input-field.vue.d.ts +21 -9
- package/dist/@types/packages/vue2/src/components/internal/checkbox-input/checkbox-input.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/controls-group/controls-group.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/dialog-page/dialog-page.types.d.ts +1 -0
- package/dist/@types/packages/vue2/src/components/internal/field-label/field-label.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-chips/listbox-multi-select-chips.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/components/listbox-multi-select-category/listbox-multi-select-category.vue.d.ts +25 -20
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/components/listbox-multi-select-options/listbox-multi-select-options.vue.d.ts +1 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-multi-select/listbox-multi-select.vue.d.ts +45 -9
- package/dist/@types/packages/vue2/src/components/internal/listbox/components/listbox-single-select/listbox-single-select.vue.d.ts +10 -9
- package/dist/@types/packages/vue2/src/components/internal/listbox/composables/use-cached-selected-values/use-cached-selected-values.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/internal/listbox/listbox.vue.d.ts +15 -15
- package/dist/@types/packages/vue2/src/components/internal/radio-input/radio-input.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/menu/components/menu-item-list/menu-item-list.vue.d.ts +3 -2
- package/dist/@types/packages/vue2/src/components/menu/components/menu-list-container/menu-list-container.vue.d.ts +8 -1
- package/dist/@types/packages/vue2/src/components/menu/menu.vue.d.ts +3 -1
- package/dist/@types/packages/vue2/src/components/modal/components/base-modal/base-modal.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/modal/components/modal-default/modal-default.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/modal/modal.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/popper-container/popper-container.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/radio-group/radio-group.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/selection-card/components/selection-card-group/selection-card-group.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item/summary-grid-item.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-amount/summary-grid-item-amount.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-numeric/summary-grid-item-numeric.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/summary-grid/components/summary-grid-item-percentage/summary-grid-item-percentage.vue.d.ts +3 -3
- package/dist/@types/packages/vue2/src/components/textarea/textarea.vue.d.ts +2 -2
- package/dist/@types/packages/vue2/src/components/toast/components/toast-item/toast-item.vue.d.ts +7 -40
- package/dist/@types/packages/vue2/src/components/toast/components/toast-shadow-stack/toast-shadow-stack.types.d.ts +5 -0
- package/dist/@types/packages/vue2/src/components/toast/components/toast-shadow-stack/toast-shadow-stack.vue.d.ts +7 -0
- package/dist/@types/packages/vue2/src/components/toast/index.d.ts +0 -1
- package/dist/@types/packages/vue2/src/components/toast/toast.vue.d.ts +1 -29
- package/dist/@types/packages/vue2/src/components/toggle/toggle.vue.d.ts +1 -1
- package/dist/@types/packages/vue2/src/components/tooltip/tooltip.vue.d.ts +195 -55
- package/dist/@types/packages/vue2/src/components/typography/typography.vue.d.ts +71 -85
- package/dist/@types/packages/vue2/src/composables/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/install.d.ts +6 -0
- package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/toast-stack.d.ts +7 -0
- package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/use-bento-toast-controller.d.ts +2 -0
- package/dist/@types/packages/vue2/src/composables/use-bento-toast-controller/use-bento-toast-controller.types.d.ts +23 -0
- package/dist/@types/packages/vue2/src/composables/use-click-outside/index.d.ts +1 -0
- package/dist/@types/packages/vue2/src/index.d.ts +2 -0
- package/dist/@types/packages/vue2/src/utils/ts/storybook.d.ts +10 -0
- package/dist/accordion.js +2 -2
- package/dist/action-bar.js +6 -6
- package/dist/alert.js +150 -154
- package/dist/alert.js.map +1 -1
- package/dist/assets/base-modal.css +1 -1
- package/dist/assets/dialog-page.css +1 -1
- package/dist/assets/dropdown.css +1 -1
- package/dist/assets/grid-layout.css +1 -1
- package/dist/assets/index10.css +1 -1
- package/dist/assets/index11.css +1 -1
- package/dist/assets/index12.css +1 -1
- package/dist/assets/index13.css +1 -1
- package/dist/assets/index14.css +1 -1
- package/dist/assets/index15.css +1 -1
- package/dist/assets/index16.css +1 -1
- package/dist/assets/index17.css +1 -1
- package/dist/assets/index18.css +1 -1
- package/dist/assets/index19.css +1 -1
- package/dist/assets/index2.css +1 -1
- package/dist/assets/index20.css +1 -1
- package/dist/assets/index21.css +1 -1
- package/dist/assets/index22.css +1 -1
- package/dist/assets/index23.css +1 -1
- package/dist/assets/index24.css +1 -1
- package/dist/assets/index25.css +1 -1
- package/dist/assets/index26.css +1 -1
- package/dist/assets/index27.css +1 -1
- package/dist/assets/index28.css +1 -1
- package/dist/assets/index29.css +1 -1
- package/dist/assets/index3.css +1 -1
- package/dist/assets/index30.css +1 -1
- package/dist/assets/index31.css +1 -1
- package/dist/assets/index32.css +1 -1
- package/dist/assets/index33.css +1 -1
- package/dist/assets/index34.css +1 -1
- package/dist/assets/index35.css +1 -1
- package/dist/assets/index36.css +1 -1
- package/dist/assets/index37.css +1 -1
- package/dist/assets/index38.css +1 -1
- package/dist/assets/index39.css +1 -1
- package/dist/assets/index4.css +1 -1
- package/dist/assets/index40.css +1 -1
- package/dist/assets/index41.css +1 -1
- package/dist/assets/index42.css +1 -1
- package/dist/assets/index43.css +1 -1
- package/dist/assets/index44.css +1 -1
- package/dist/assets/index45.css +1 -1
- package/dist/assets/index46.css +1 -1
- package/dist/assets/index47.css +1 -1
- package/dist/assets/index48.css +1 -1
- package/dist/assets/index5.css +1 -1
- package/dist/assets/index6.css +1 -1
- package/dist/assets/index7.css +1 -1
- package/dist/assets/index8.css +1 -1
- package/dist/assets/index9.css +1 -1
- package/dist/assets/{listbox.css → use-cached-selected-values.css} +1 -1
- package/dist/avatar-image.js +1 -1
- package/dist/button.js +5 -5
- package/dist/card.js +168 -267
- package/dist/card.js.map +1 -1
- package/dist/checkbox.js +5 -5
- package/dist/chunks/{base-button.13df4e44.js → base-button.6be8b60e.js} +2 -2
- package/dist/chunks/{base-button.13df4e44.js.map → base-button.6be8b60e.js.map} +1 -1
- package/dist/chunks/{base-modal.30bce990.js → base-modal.310c4790.js} +6 -6
- package/dist/chunks/{base-modal.30bce990.js.map → base-modal.310c4790.js.map} +1 -1
- package/dist/chunks/{button-actions-with-menu.a5d2bb13.js → button-actions-with-menu.a007b034.js} +4 -4
- package/dist/chunks/{button-actions-with-menu.a5d2bb13.js.map → button-actions-with-menu.a007b034.js.map} +1 -1
- package/dist/chunks/{button-actions.ec3c649c.js → button-actions.adc0a2fe.js} +3 -3
- package/dist/chunks/{button-actions.ec3c649c.js.map → button-actions.adc0a2fe.js.map} +1 -1
- package/dist/chunks/{button.e965bf53.js → button.de5589fa.js} +3 -3
- package/dist/chunks/{button.e965bf53.js.map → button.de5589fa.js.map} +1 -1
- package/dist/chunks/{calendar.52fe4032.js → calendar.73f5b904.js} +4 -4
- package/dist/chunks/{calendar.52fe4032.js.map → calendar.73f5b904.js.map} +1 -1
- package/dist/chunks/{checkbox.1442f41a.js → checkbox.4c96cc23.js} +3 -3
- package/dist/chunks/{checkbox.1442f41a.js.map → checkbox.4c96cc23.js.map} +1 -1
- package/dist/chunks/{controls-group.1f29b602.js → controls-group.37a67734.js} +3 -3
- package/dist/chunks/{controls-group.1f29b602.js.map → controls-group.37a67734.js.map} +1 -1
- package/dist/chunks/{copy.d052f444.js → copy.43de2653.js} +4 -4
- package/dist/chunks/{copy.d052f444.js.map → copy.43de2653.js.map} +1 -1
- package/dist/chunks/dialog-page.cd8c7fff.js +173 -0
- package/dist/chunks/dialog-page.cd8c7fff.js.map +1 -0
- package/dist/chunks/{dropdown-default-textbox.e0ca5afb.js → dropdown-default-textbox.424e0eb6.js} +2 -2
- package/dist/chunks/{dropdown-default-textbox.e0ca5afb.js.map → dropdown-default-textbox.424e0eb6.js.map} +1 -1
- package/dist/chunks/{dropdown.257691c0.js → dropdown.57b2ea6f.js} +295 -317
- package/dist/chunks/dropdown.57b2ea6f.js.map +1 -0
- package/dist/chunks/{error-message.56247bcc.js → error-message.4bd22112.js} +2 -2
- package/dist/chunks/{error-message.56247bcc.js.map → error-message.4bd22112.js.map} +1 -1
- package/dist/chunks/{fixed-scroller.47546775.js → fixed-scroller.5b93a6a6.js} +2 -2
- package/dist/chunks/{fixed-scroller.47546775.js.map → fixed-scroller.5b93a6a6.js.map} +1 -1
- package/dist/chunks/{footer-actions.3c2dbf43.js → footer-actions.c401ec50.js} +4 -4
- package/dist/chunks/{footer-actions.3c2dbf43.js.map → footer-actions.c401ec50.js.map} +1 -1
- package/dist/chunks/index.11b6dd35.js +74 -0
- package/dist/chunks/index.11b6dd35.js.map +1 -0
- package/dist/chunks/{index.4fb57ba0.js → index.38752f78.js} +6 -6
- package/dist/chunks/{index.4fb57ba0.js.map → index.38752f78.js.map} +1 -1
- package/dist/chunks/index.73ac0db6.js +62 -0
- package/dist/chunks/index.73ac0db6.js.map +1 -0
- package/dist/chunks/{index.824101bb.js → index.8682bd04.js} +2 -2
- package/dist/chunks/{index.824101bb.js.map → index.8682bd04.js.map} +1 -1
- package/dist/chunks/{index.10c69f39.js → index.8b10ee32.js} +212 -191
- package/dist/chunks/index.8b10ee32.js.map +1 -0
- package/dist/chunks/{index.f800b267.js → index.98bbaed9.js} +2 -2
- package/dist/chunks/{index.f800b267.js.map → index.98bbaed9.js.map} +1 -1
- package/dist/chunks/{index.bf4a116b.js → index.aa83aa48.js} +3 -3
- package/dist/chunks/{index.bf4a116b.js.map → index.aa83aa48.js.map} +1 -1
- package/dist/chunks/{index.08d813e2.js → index.bab8811d.js} +6 -6
- package/dist/chunks/{index.08d813e2.js.map → index.bab8811d.js.map} +1 -1
- package/dist/chunks/{index.44f2aca7.js → index.ea65003b.js} +2 -2
- package/dist/chunks/{index.44f2aca7.js.map → index.ea65003b.js.map} +1 -1
- package/dist/chunks/{index.9aaed799.js → index.f71015d8.js} +3 -3
- package/dist/chunks/{index.9aaed799.js.map → index.f71015d8.js.map} +1 -1
- package/dist/chunks/{index.56c13d2c.js → index.faec0854.js} +15 -15
- package/dist/chunks/{index.56c13d2c.js.map → index.faec0854.js.map} +1 -1
- package/dist/chunks/{listbox-option-tag.4de1659c.js → listbox-option-tag.d1a3b340.js} +3 -3
- package/dist/chunks/{listbox-option-tag.4de1659c.js.map → listbox-option-tag.d1a3b340.js.map} +1 -1
- package/dist/chunks/{loading-button.6e15f27f.js → loading-button.2db95771.js} +2 -2
- package/dist/chunks/{loading-button.6e15f27f.js.map → loading-button.2db95771.js.map} +1 -1
- package/dist/chunks/{payment-method.df1b62db.js → payment-method.26fa5509.js} +2 -2
- package/dist/chunks/{payment-method.df1b62db.js.map → payment-method.26fa5509.js.map} +1 -1
- package/dist/chunks/{tooltip.066fd8f7.js → tooltip.e29f7d7e.js} +3 -3
- package/dist/chunks/{tooltip.066fd8f7.js.map → tooltip.e29f7d7e.js.map} +1 -1
- package/dist/chunks/use-bento-toast-controller.98ca249a.js +50 -0
- package/dist/chunks/use-bento-toast-controller.98ca249a.js.map +1 -0
- package/dist/chunks/use-cached-selected-values.a9b0fb3d.js +1537 -0
- package/dist/chunks/use-cached-selected-values.a9b0fb3d.js.map +1 -0
- package/dist/code-snippet.js +7 -7
- package/dist/code-snippet.js.map +1 -1
- package/dist/country.js +2 -2
- package/dist/currency.js +1 -1
- package/dist/data-grid-template.js +1 -1
- package/dist/data-grid.js +1207 -1169
- package/dist/data-grid.js.map +1 -1
- package/dist/date-picker.js +19 -19
- package/dist/date-picker.js.map +1 -1
- package/dist/date-range-picker.js +2 -2
- package/dist/date.js +1 -1
- package/dist/divider.js +1 -1
- package/dist/dropdown.js +7 -7
- package/dist/empty-state.js +3 -3
- package/dist/filter-bar.js +1260 -1112
- package/dist/filter-bar.js.map +1 -1
- package/dist/focus-trap.js +1 -1
- package/dist/form-layout.js +2 -2
- package/dist/header.js +4 -4
- package/dist/index.js +259 -274
- package/dist/index.js.map +1 -1
- package/dist/info-icon.js +3 -3
- package/dist/input-field.js +100 -93
- package/dist/input-field.js.map +1 -1
- package/dist/internal.js +31 -78
- package/dist/internal.js.map +1 -1
- package/dist/link.js +1 -1
- package/dist/loading-indicator.js +1 -1
- package/dist/menu.js +1 -1
- package/dist/modal-fullscreen.js +6 -6
- package/dist/modal.js +6 -6
- package/dist/pagination.js +4 -4
- package/dist/payment-method.js +1 -1
- package/dist/popover.js +1 -1
- package/dist/popper-container.js +1 -1
- package/dist/radio-group.js +112 -112
- package/dist/radio-group.js.map +1 -1
- package/dist/search-bar.js +2 -2
- package/dist/secondary-nav.js +2 -2
- package/dist/segmented-control.js +3 -3
- package/dist/selection-card.js +4 -4
- package/dist/sidepanel.js +64 -62
- package/dist/sidepanel.js.map +1 -1
- package/dist/status.js +2 -2
- package/dist/stepper.js +3 -3
- package/dist/structured-list.js +1 -1
- package/dist/summary-grid.js +3 -3
- package/dist/tabs.js +3 -3
- package/dist/tag.js +3 -3
- package/dist/textarea.js +4 -4
- package/dist/timeline.js +7 -7
- package/dist/toast.js +185 -154
- package/dist/toast.js.map +1 -1
- package/dist/toggle.js +2 -2
- package/dist/tutorial.js +6 -6
- package/dist/typography.js +1 -1
- package/dist/web-types.json +1 -1
- package/package.json +7 -3
- package/dist/@types/packages/vue2/src/components/toast/components/toast-item/index.d.ts +0 -2
- package/dist/@types/packages/vue2/src/components/toast/components/toast-item/toast-item.types.d.ts +0 -9
- package/dist/@types/packages/vue2/src/plugins/toastController.d.ts +0 -12
- package/dist/@types/packages/vue2/src/utils/ts/toastController.d.ts +0 -2
- package/dist/chunks/dialog-page.d505c5ec.js +0 -172
- package/dist/chunks/dialog-page.d505c5ec.js.map +0 -1
- package/dist/chunks/dropdown.257691c0.js.map +0 -1
- package/dist/chunks/index.0e01e0b2.js +0 -101
- package/dist/chunks/index.0e01e0b2.js.map +0 -1
- package/dist/chunks/index.10c69f39.js.map +0 -1
- package/dist/chunks/index.99c63a74.js +0 -125
- package/dist/chunks/index.99c63a74.js.map +0 -1
- package/dist/chunks/info-filled.a6f9d7d0.js +0 -44
- package/dist/chunks/info-filled.a6f9d7d0.js.map +0 -1
- package/dist/chunks/listbox.eb436d06.js +0 -1466
- package/dist/chunks/listbox.eb436d06.js.map +0 -1
- package/dist/chunks/toastController.0b01d2e8.js +0 -9
- package/dist/chunks/toastController.0b01d2e8.js.map +0 -1
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BentoAlertEvent, BentoAlertTypeOption, BentoAlertVariant } from "./alert.types";
|
|
3
|
-
import { BentoTypographyElement, BentoTypographyVariant } from "../typography";
|
|
1
|
+
import { BentoAlertTypeOption, BentoAlertVariant } from "./alert.types";
|
|
4
2
|
/**
|
|
5
3
|
* An Alert component is used to display a persistent
|
|
6
4
|
* notification containing information important to the user
|
|
@@ -17,80 +15,74 @@ import { BentoTypographyElement, BentoTypographyVariant } from "../typography";
|
|
|
17
15
|
* `
|
|
18
16
|
* }
|
|
19
17
|
*/
|
|
20
|
-
declare const _default: import("../../../../vue3/node_modules/vue").DefineComponent<{
|
|
18
|
+
declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_modules/vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
21
19
|
/**
|
|
22
20
|
* Adds a close button on the right side of the alert
|
|
23
21
|
*/
|
|
24
|
-
closeButton
|
|
25
|
-
type: BooleanConstructor;
|
|
26
|
-
default: boolean;
|
|
27
|
-
};
|
|
22
|
+
closeButton?: boolean;
|
|
28
23
|
/**
|
|
29
24
|
* Type of a alert; set a distinctive icon and color. Defaults to highlight.
|
|
30
25
|
* @values HIGHLIGHT, SUCCESS, CRITICAL, WARNING
|
|
31
26
|
*/
|
|
32
|
-
type
|
|
33
|
-
type: PropType<"critical" | "success" | "warning" | "highlight" | BentoAlertTypeOption>;
|
|
34
|
-
default: BentoAlertTypeOption;
|
|
35
|
-
validator: (value: BentoAlertTypeOption) => boolean;
|
|
36
|
-
};
|
|
27
|
+
type?: BentoAlertTypeOption | `${BentoAlertTypeOption}`;
|
|
37
28
|
/**
|
|
38
29
|
* Variant for the alert
|
|
39
30
|
* @values DEFAULT, TIP
|
|
40
31
|
*/
|
|
41
|
-
variant
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}, {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
}>;
|
|
50
|
-
computedRole: import("../../../../vue3/node_modules/vue").ComputedRef<"alert" | "status">;
|
|
51
|
-
descriptionTypography: import("../../../../vue3/node_modules/vue").ComputedRef<{
|
|
52
|
-
el: BentoTypographyElement;
|
|
53
|
-
variant: BentoTypographyVariant;
|
|
54
|
-
wide: boolean;
|
|
55
|
-
}>;
|
|
56
|
-
iconComponent: import("../../../../vue3/node_modules/vue").ComputedRef<any>;
|
|
57
|
-
iconSvgTitle: import("../../../../vue3/node_modules/vue").ComputedRef<string>;
|
|
58
|
-
isTipVariant: import("../../../../vue3/node_modules/vue").ComputedRef<boolean>;
|
|
59
|
-
onCloseButtonClick: () => void;
|
|
60
|
-
hasSlot: (name: string) => boolean;
|
|
61
|
-
t: (key: "close" | "highlightIcon" | "successIcon" | "criticalIcon" | "warningIcon", values?: import("vue-i18n").default.Values) => string;
|
|
62
|
-
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
63
|
-
}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, BentoAlertEvent[], BentoAlertEvent, import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
32
|
+
variant?: BentoAlertVariant | `${BentoAlertVariant}`;
|
|
33
|
+
}>, {
|
|
34
|
+
closeButton: boolean;
|
|
35
|
+
type: BentoAlertTypeOption;
|
|
36
|
+
variant: BentoAlertVariant;
|
|
37
|
+
}>, {}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, {
|
|
38
|
+
"close-alert": () => void;
|
|
39
|
+
}, string, import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
64
40
|
/**
|
|
65
41
|
* Adds a close button on the right side of the alert
|
|
66
42
|
*/
|
|
67
|
-
closeButton
|
|
68
|
-
type: BooleanConstructor;
|
|
69
|
-
default: boolean;
|
|
70
|
-
};
|
|
43
|
+
closeButton?: boolean;
|
|
71
44
|
/**
|
|
72
45
|
* Type of a alert; set a distinctive icon and color. Defaults to highlight.
|
|
73
46
|
* @values HIGHLIGHT, SUCCESS, CRITICAL, WARNING
|
|
74
47
|
*/
|
|
75
|
-
type
|
|
76
|
-
type: PropType<"critical" | "success" | "warning" | "highlight" | BentoAlertTypeOption>;
|
|
77
|
-
default: BentoAlertTypeOption;
|
|
78
|
-
validator: (value: BentoAlertTypeOption) => boolean;
|
|
79
|
-
};
|
|
48
|
+
type?: BentoAlertTypeOption | `${BentoAlertTypeOption}`;
|
|
80
49
|
/**
|
|
81
50
|
* Variant for the alert
|
|
82
51
|
* @values DEFAULT, TIP
|
|
83
52
|
*/
|
|
84
|
-
variant
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
}
|
|
90
|
-
"onClose-alert"?: (
|
|
53
|
+
variant?: BentoAlertVariant | `${BentoAlertVariant}`;
|
|
54
|
+
}>, {
|
|
55
|
+
closeButton: boolean;
|
|
56
|
+
type: BentoAlertTypeOption;
|
|
57
|
+
variant: BentoAlertVariant;
|
|
58
|
+
}>>> & {
|
|
59
|
+
"onClose-alert"?: () => any;
|
|
91
60
|
}, {
|
|
92
|
-
type:
|
|
93
|
-
variant:
|
|
61
|
+
type: BentoAlertTypeOption | `${BentoAlertTypeOption}`;
|
|
62
|
+
variant: BentoAlertVariant | `${BentoAlertVariant}`;
|
|
94
63
|
closeButton: boolean;
|
|
64
|
+
}>, {
|
|
65
|
+
default: (_: {}) => any;
|
|
66
|
+
description: (_: {}) => any;
|
|
67
|
+
actions: (_: {}) => any;
|
|
95
68
|
}>;
|
|
96
69
|
export default _default;
|
|
70
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
71
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
72
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
73
|
+
type: import("../../../../vue3/node_modules/vue").PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
74
|
+
} : {
|
|
75
|
+
type: import("../../../../vue3/node_modules/vue").PropType<T[K]>;
|
|
76
|
+
required: true;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
type __VLS_WithDefaults<P, D> = {
|
|
80
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
81
|
+
default: D[K];
|
|
82
|
+
} : P[K];
|
|
83
|
+
};
|
|
84
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
85
|
+
new (): {
|
|
86
|
+
$slots: S;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { PropType } from "../../../../vue3/node_modules/vue";
|
|
2
1
|
import { BentoAvatarImageColor, BentoAvatarImageVariant } from './avatar-image.types';
|
|
3
|
-
declare const _default: import("../../../../vue3/node_modules/vue").DefineComponent<{
|
|
2
|
+
declare const _default: import("../../../../vue3/node_modules/vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
3
|
+
/**
|
|
4
|
+
* Avatar color. Defaults to yellow.
|
|
5
|
+
*/
|
|
6
|
+
color?: BentoAvatarImageColor;
|
|
4
7
|
/**
|
|
5
8
|
* Image src to load the profile picture.
|
|
6
9
|
*/
|
|
7
|
-
src
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
default: any;
|
|
10
|
-
};
|
|
10
|
+
src?: string;
|
|
11
11
|
/**
|
|
12
12
|
* Name of the user that will be used to extract initials to display default value.
|
|
13
13
|
* John => J
|
|
@@ -15,40 +15,26 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
|
|
|
15
15
|
* John Smith Doe => JD
|
|
16
16
|
* John Smith Doe Holly => JH
|
|
17
17
|
*/
|
|
18
|
-
username
|
|
19
|
-
type: StringConstructor;
|
|
20
|
-
default: any;
|
|
21
|
-
};
|
|
18
|
+
username?: string;
|
|
22
19
|
/**
|
|
23
20
|
* Variants supported for small and large.
|
|
24
21
|
* Default - large
|
|
25
22
|
*/
|
|
26
|
-
variant
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
23
|
+
variant?: BentoAvatarImageVariant;
|
|
24
|
+
}>, {
|
|
25
|
+
color: BentoAvatarImageColor;
|
|
26
|
+
src: any;
|
|
27
|
+
username: any;
|
|
28
|
+
variant: BentoAvatarImageVariant;
|
|
29
|
+
}>, {}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, {}, string, import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
31
30
|
/**
|
|
32
31
|
* Avatar color. Defaults to yellow.
|
|
33
32
|
*/
|
|
34
|
-
color
|
|
35
|
-
type: PropType<BentoAvatarImageColor>;
|
|
36
|
-
default: BentoAvatarImageColor;
|
|
37
|
-
validator: (value: BentoAvatarImageColor) => boolean;
|
|
38
|
-
};
|
|
39
|
-
}, {
|
|
40
|
-
conditionalClasses: import("../../../../vue3/node_modules/vue").ComputedRef<{
|
|
41
|
-
[x: string]: boolean | BentoAvatarImageColor;
|
|
42
|
-
}>;
|
|
43
|
-
initials: import("../../../../vue3/node_modules/vue").ComputedRef<string>;
|
|
44
|
-
}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, {}, string, import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
33
|
+
color?: BentoAvatarImageColor;
|
|
45
34
|
/**
|
|
46
35
|
* Image src to load the profile picture.
|
|
47
36
|
*/
|
|
48
|
-
src
|
|
49
|
-
type: StringConstructor;
|
|
50
|
-
default: any;
|
|
51
|
-
};
|
|
37
|
+
src?: string;
|
|
52
38
|
/**
|
|
53
39
|
* Name of the user that will be used to extract initials to display default value.
|
|
54
40
|
* John => J
|
|
@@ -56,31 +42,35 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
|
|
|
56
42
|
* John Smith Doe => JD
|
|
57
43
|
* John Smith Doe Holly => JH
|
|
58
44
|
*/
|
|
59
|
-
username
|
|
60
|
-
type: StringConstructor;
|
|
61
|
-
default: any;
|
|
62
|
-
};
|
|
45
|
+
username?: string;
|
|
63
46
|
/**
|
|
64
47
|
* Variants supported for small and large.
|
|
65
48
|
* Default - large
|
|
66
49
|
*/
|
|
67
|
-
variant
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
*/
|
|
75
|
-
color: {
|
|
76
|
-
type: PropType<BentoAvatarImageColor>;
|
|
77
|
-
default: BentoAvatarImageColor;
|
|
78
|
-
validator: (value: BentoAvatarImageColor) => boolean;
|
|
79
|
-
};
|
|
80
|
-
}>>, {
|
|
50
|
+
variant?: BentoAvatarImageVariant;
|
|
51
|
+
}>, {
|
|
52
|
+
color: BentoAvatarImageColor;
|
|
53
|
+
src: any;
|
|
54
|
+
username: any;
|
|
55
|
+
variant: BentoAvatarImageVariant;
|
|
56
|
+
}>>>, {
|
|
81
57
|
variant: BentoAvatarImageVariant;
|
|
82
58
|
src: string;
|
|
83
59
|
color: BentoAvatarImageColor;
|
|
84
60
|
username: string;
|
|
85
61
|
}>;
|
|
86
62
|
export default _default;
|
|
63
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
64
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
65
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
66
|
+
type: import("../../../../vue3/node_modules/vue").PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
67
|
+
} : {
|
|
68
|
+
type: import("../../../../vue3/node_modules/vue").PropType<T[K]>;
|
|
69
|
+
required: true;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
type __VLS_WithDefaults<P, D> = {
|
|
73
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
74
|
+
default: D[K];
|
|
75
|
+
} : P[K];
|
|
76
|
+
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { PropType } from "../../../../vue3/node_modules/vue";
|
|
2
1
|
import { BentoButtonActionsLayout, BentoButtonActionsList } from "../button";
|
|
3
2
|
import { BentoCardBackground, BentoCardTitleSize } from "./card.types";
|
|
4
3
|
/**
|
|
@@ -17,44 +16,7 @@ import { BentoCardBackground, BentoCardTitleSize } from "./card.types";
|
|
|
17
16
|
* `
|
|
18
17
|
* };
|
|
19
18
|
*/
|
|
20
|
-
declare const _default: import("../../../../vue3/node_modules/vue").DefineComponent<{
|
|
21
|
-
/**
|
|
22
|
-
* Defines the color of card background
|
|
23
|
-
*/
|
|
24
|
-
background: {
|
|
25
|
-
type: PropType<"primary" | "secondary" | BentoCardBackground>;
|
|
26
|
-
default: BentoCardBackground;
|
|
27
|
-
validator: (value: BentoCardBackground) => boolean;
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Defines the title size of the card header
|
|
31
|
-
*/
|
|
32
|
-
titleSize: {
|
|
33
|
-
type: PropType<"default" | "small" | BentoCardTitleSize>;
|
|
34
|
-
default: BentoCardTitleSize;
|
|
35
|
-
validator: (value: BentoCardTitleSize) => boolean;
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* The whole content of the card will be expandable in accordion manner
|
|
39
|
-
*/
|
|
40
|
-
expandable: {
|
|
41
|
-
type: BooleanConstructor;
|
|
42
|
-
default: boolean;
|
|
43
|
-
};
|
|
44
|
-
/**
|
|
45
|
-
* Sets the expandable card in a closed state
|
|
46
|
-
*/
|
|
47
|
-
closed: {
|
|
48
|
-
type: BooleanConstructor;
|
|
49
|
-
default: boolean;
|
|
50
|
-
};
|
|
51
|
-
/**
|
|
52
|
-
* Disables the expandable card
|
|
53
|
-
*/
|
|
54
|
-
disabled: {
|
|
55
|
-
type: BooleanConstructor;
|
|
56
|
-
default: boolean;
|
|
57
|
-
};
|
|
19
|
+
declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_modules/vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
58
20
|
/**
|
|
59
21
|
* List of actions that will be used to render the buttons.
|
|
60
22
|
* First element in the list will be rendered as "primary".
|
|
@@ -80,10 +42,7 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
|
|
|
80
42
|
* }]
|
|
81
43
|
* ```
|
|
82
44
|
*/
|
|
83
|
-
actions
|
|
84
|
-
type: PropType<BentoButtonActionsList>;
|
|
85
|
-
default: any;
|
|
86
|
-
};
|
|
45
|
+
actions?: BentoButtonActionsList;
|
|
87
46
|
/**
|
|
88
47
|
* Defines the layout in which the button actions is presented.
|
|
89
48
|
* It can be one of:
|
|
@@ -94,133 +53,40 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
|
|
|
94
53
|
* @values SPACE_BETWEEN
|
|
95
54
|
* @values VERTICAL_STACK
|
|
96
55
|
*/
|
|
97
|
-
actionsLayout
|
|
98
|
-
type: PropType<"space-between" | BentoButtonActionsLayout | "buttons-end" | "fill-container" | "vertical-stack" | "buttons-start">;
|
|
99
|
-
default: import("../button").BentoButtonActionsLayoutBasic;
|
|
100
|
-
validator: (value: BentoButtonActionsLayout) => boolean;
|
|
101
|
-
};
|
|
102
|
-
}, {
|
|
103
|
-
cardId: string;
|
|
104
|
-
cardConditionalClasses: import("../../../../vue3/node_modules/vue").ComputedRef<{
|
|
105
|
-
[x: string]: boolean | "primary" | "secondary" | BentoCardBackground;
|
|
106
|
-
'b-card--expandable': boolean;
|
|
107
|
-
'b-card--disabled': boolean;
|
|
108
|
-
}>;
|
|
109
|
-
cardBodyConditionalClasses: import("../../../../vue3/node_modules/vue").ComputedRef<{
|
|
110
|
-
'b-card__body--expandable': boolean;
|
|
111
|
-
'b-card__body--without-header': boolean;
|
|
112
|
-
}>;
|
|
113
|
-
cardHeaderConditionalClasses: import("../../../../vue3/node_modules/vue").ComputedRef<{
|
|
114
|
-
'b-card__header--expandable': boolean;
|
|
115
|
-
'b-card__header--without-body': boolean;
|
|
116
|
-
}>;
|
|
117
|
-
cardContentConditionalClasses: import("../../../../vue3/node_modules/vue").ComputedRef<{
|
|
118
|
-
'b-card__content--without-header': boolean;
|
|
119
|
-
'b-card__content--expandable': boolean;
|
|
120
|
-
}>;
|
|
121
|
-
cardActionsConditionalClasses: import("../../../../vue3/node_modules/vue").ComputedRef<{
|
|
122
|
-
'b-card__actions--without-content': boolean;
|
|
123
|
-
'b-card__actions--without-content-and-with-header': boolean;
|
|
124
|
-
}>;
|
|
125
|
-
cardTitleWrapperConditionalClasses: import("../../../../vue3/node_modules/vue").ComputedRef<{
|
|
126
|
-
'b-card__title-wrapper--truncated': boolean;
|
|
127
|
-
}>;
|
|
128
|
-
cardToggleConditionalClasses: import("../../../../vue3/node_modules/vue").ComputedRef<{
|
|
129
|
-
'b-card__toggle--small-text': boolean;
|
|
130
|
-
}>;
|
|
131
|
-
showCardBody: import("../../../../vue3/node_modules/vue").ComputedRef<boolean>;
|
|
132
|
-
showContent: import("../../../../vue3/node_modules/vue").Ref<boolean>;
|
|
133
|
-
tabIndex: import("../../../../vue3/node_modules/vue").ComputedRef<-1 | 0>;
|
|
134
|
-
showHeader: import("../../../../vue3/node_modules/vue").ComputedRef<boolean>;
|
|
135
|
-
showTitleWrapper: import("../../../../vue3/node_modules/vue").ComputedRef<boolean>;
|
|
136
|
-
typography: import("../../../../vue3/node_modules/vue").ComputedRef<Partial<{
|
|
137
|
-
wide: boolean;
|
|
138
|
-
stronger: boolean;
|
|
139
|
-
strongest: boolean;
|
|
140
|
-
el: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | import("../typography").BentoTypographyElement;
|
|
141
|
-
variant: "body" | "caption" | "title" | "subtitle" | import("../typography").BentoTypographyVariant;
|
|
142
|
-
medium: boolean;
|
|
143
|
-
large: boolean;
|
|
144
|
-
}> & Omit<Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
145
|
-
el: {
|
|
146
|
-
type: PropType<"div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | import("../typography").BentoTypographyElement>;
|
|
147
|
-
default: import("../typography").BentoTypographyElement;
|
|
148
|
-
validator: (value: import("../typography").BentoTypographyElement) => boolean;
|
|
149
|
-
};
|
|
150
|
-
stronger: {
|
|
151
|
-
type: BooleanConstructor;
|
|
152
|
-
default: boolean;
|
|
153
|
-
};
|
|
154
|
-
strongest: {
|
|
155
|
-
type: BooleanConstructor;
|
|
156
|
-
default: boolean;
|
|
157
|
-
};
|
|
158
|
-
variant: {
|
|
159
|
-
type: PropType<"body" | "caption" | "title" | "subtitle" | import("../typography").BentoTypographyVariant>;
|
|
160
|
-
default: import("../typography").BentoTypographyVariant;
|
|
161
|
-
validator: (value: import("../typography").BentoTypographyVariant) => boolean;
|
|
162
|
-
};
|
|
163
|
-
medium: {
|
|
164
|
-
type: BooleanConstructor;
|
|
165
|
-
default: boolean;
|
|
166
|
-
};
|
|
167
|
-
large: {
|
|
168
|
-
type: BooleanConstructor;
|
|
169
|
-
default: boolean;
|
|
170
|
-
};
|
|
171
|
-
wide: {
|
|
172
|
-
type: BooleanConstructor;
|
|
173
|
-
default: boolean;
|
|
174
|
-
};
|
|
175
|
-
}>> & import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, "wide" | "stronger" | "strongest" | "el" | "variant" | "medium" | "large">>;
|
|
176
|
-
contentDiv: import("../../../../vue3/node_modules/vue").Ref<HTMLDivElement>;
|
|
177
|
-
contentMaxHeight: import("../../../../vue3/node_modules/vue").ComputedRef<{
|
|
178
|
-
'max-height': string;
|
|
179
|
-
} | {
|
|
180
|
-
'max-height'?: undefined;
|
|
181
|
-
}>;
|
|
182
|
-
hasSlot: (name: string) => boolean;
|
|
183
|
-
onClick: () => void;
|
|
184
|
-
t: (key: "showCardContent" | "hideCardContent", values?: import("vue-i18n").default.Values) => string;
|
|
185
|
-
toggleExpansion: () => void;
|
|
186
|
-
}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, ("click" | "expanded")[], "click" | "expanded", import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
56
|
+
actionsLayout?: BentoButtonActionsLayout | `${BentoButtonActionsLayout}`;
|
|
187
57
|
/**
|
|
188
58
|
* Defines the color of card background
|
|
189
59
|
*/
|
|
190
|
-
background
|
|
191
|
-
type: PropType<"primary" | "secondary" | BentoCardBackground>;
|
|
192
|
-
default: BentoCardBackground;
|
|
193
|
-
validator: (value: BentoCardBackground) => boolean;
|
|
194
|
-
};
|
|
60
|
+
background?: BentoCardBackground | `${BentoCardBackground}`;
|
|
195
61
|
/**
|
|
196
|
-
*
|
|
62
|
+
* Sets the expandable card in a closed state
|
|
197
63
|
*/
|
|
198
|
-
|
|
199
|
-
type: PropType<"default" | "small" | BentoCardTitleSize>;
|
|
200
|
-
default: BentoCardTitleSize;
|
|
201
|
-
validator: (value: BentoCardTitleSize) => boolean;
|
|
202
|
-
};
|
|
64
|
+
closed?: boolean;
|
|
203
65
|
/**
|
|
204
|
-
*
|
|
66
|
+
* Disables the expandable card
|
|
205
67
|
*/
|
|
206
|
-
|
|
207
|
-
type: BooleanConstructor;
|
|
208
|
-
default: boolean;
|
|
209
|
-
};
|
|
68
|
+
disabled?: boolean;
|
|
210
69
|
/**
|
|
211
|
-
*
|
|
70
|
+
* The whole content of the card will be expandable in accordion manner
|
|
212
71
|
*/
|
|
213
|
-
|
|
214
|
-
type: BooleanConstructor;
|
|
215
|
-
default: boolean;
|
|
216
|
-
};
|
|
72
|
+
expandable?: boolean;
|
|
217
73
|
/**
|
|
218
|
-
*
|
|
74
|
+
* Defines the title size of the card header
|
|
219
75
|
*/
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
76
|
+
titleSize?: BentoCardTitleSize | `${BentoCardTitleSize}`;
|
|
77
|
+
}>, {
|
|
78
|
+
actions: any;
|
|
79
|
+
actionsLayout: import("../button").BentoButtonActionsLayoutBasic;
|
|
80
|
+
background: BentoCardBackground;
|
|
81
|
+
closed: boolean;
|
|
82
|
+
disabled: boolean;
|
|
83
|
+
expandable: boolean;
|
|
84
|
+
titleSize: BentoCardTitleSize;
|
|
85
|
+
}>, {}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, {
|
|
86
|
+
click: () => void;
|
|
87
|
+
} & {
|
|
88
|
+
expanded: (isExpanded: boolean) => void;
|
|
89
|
+
}, string, import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
224
90
|
/**
|
|
225
91
|
* List of actions that will be used to render the buttons.
|
|
226
92
|
* First element in the list will be rendered as "primary".
|
|
@@ -246,10 +112,7 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
|
|
|
246
112
|
* }]
|
|
247
113
|
* ```
|
|
248
114
|
*/
|
|
249
|
-
actions
|
|
250
|
-
type: PropType<BentoButtonActionsList>;
|
|
251
|
-
default: any;
|
|
252
|
-
};
|
|
115
|
+
actions?: BentoButtonActionsList;
|
|
253
116
|
/**
|
|
254
117
|
* Defines the layout in which the button actions is presented.
|
|
255
118
|
* It can be one of:
|
|
@@ -260,21 +123,70 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
|
|
|
260
123
|
* @values SPACE_BETWEEN
|
|
261
124
|
* @values VERTICAL_STACK
|
|
262
125
|
*/
|
|
263
|
-
actionsLayout
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
126
|
+
actionsLayout?: BentoButtonActionsLayout | `${BentoButtonActionsLayout}`;
|
|
127
|
+
/**
|
|
128
|
+
* Defines the color of card background
|
|
129
|
+
*/
|
|
130
|
+
background?: BentoCardBackground | `${BentoCardBackground}`;
|
|
131
|
+
/**
|
|
132
|
+
* Sets the expandable card in a closed state
|
|
133
|
+
*/
|
|
134
|
+
closed?: boolean;
|
|
135
|
+
/**
|
|
136
|
+
* Disables the expandable card
|
|
137
|
+
*/
|
|
138
|
+
disabled?: boolean;
|
|
139
|
+
/**
|
|
140
|
+
* The whole content of the card will be expandable in accordion manner
|
|
141
|
+
*/
|
|
142
|
+
expandable?: boolean;
|
|
143
|
+
/**
|
|
144
|
+
* Defines the title size of the card header
|
|
145
|
+
*/
|
|
146
|
+
titleSize?: BentoCardTitleSize | `${BentoCardTitleSize}`;
|
|
147
|
+
}>, {
|
|
148
|
+
actions: any;
|
|
149
|
+
actionsLayout: import("../button").BentoButtonActionsLayoutBasic;
|
|
150
|
+
background: BentoCardBackground;
|
|
151
|
+
closed: boolean;
|
|
152
|
+
disabled: boolean;
|
|
153
|
+
expandable: boolean;
|
|
154
|
+
titleSize: BentoCardTitleSize;
|
|
155
|
+
}>>> & {
|
|
156
|
+
onClick?: () => any;
|
|
157
|
+
onExpanded?: (isExpanded: boolean) => any;
|
|
271
158
|
}, {
|
|
272
|
-
titleSize:
|
|
159
|
+
titleSize: BentoCardTitleSize | `${BentoCardTitleSize}`;
|
|
273
160
|
disabled: boolean;
|
|
274
|
-
background:
|
|
161
|
+
background: BentoCardBackground | `${BentoCardBackground}`;
|
|
275
162
|
actions: BentoButtonActionsList;
|
|
276
|
-
actionsLayout:
|
|
163
|
+
actionsLayout: BentoButtonActionsLayout | `${BentoButtonActionsLayout}`;
|
|
277
164
|
closed: boolean;
|
|
278
165
|
expandable: boolean;
|
|
166
|
+
}>, {
|
|
167
|
+
image: (_: {}) => any;
|
|
168
|
+
default: (_: {}) => any;
|
|
169
|
+
header: (_: {}) => any;
|
|
170
|
+
description: (_: {}) => any;
|
|
171
|
+
content: (_: {}) => any;
|
|
279
172
|
}>;
|
|
280
173
|
export default _default;
|
|
174
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
175
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
176
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
177
|
+
type: import("../../../../vue3/node_modules/vue").PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
178
|
+
} : {
|
|
179
|
+
type: import("../../../../vue3/node_modules/vue").PropType<T[K]>;
|
|
180
|
+
required: true;
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
type __VLS_WithDefaults<P, D> = {
|
|
184
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
185
|
+
default: D[K];
|
|
186
|
+
} : P[K];
|
|
187
|
+
};
|
|
188
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
189
|
+
new (): {
|
|
190
|
+
$slots: S;
|
|
191
|
+
};
|
|
192
|
+
};
|
|
@@ -270,9 +270,9 @@ declare const _default: import("../../../../vue3/node_modules/vue").DefineCompon
|
|
|
270
270
|
tag: any;
|
|
271
271
|
indeterminate: boolean;
|
|
272
272
|
optional: boolean;
|
|
273
|
-
readonly: boolean;
|
|
274
273
|
errorMessage: string;
|
|
275
274
|
ariaLabel: string;
|
|
275
|
+
readonly: boolean;
|
|
276
276
|
hasError: boolean;
|
|
277
277
|
modelValue: BentoCheckboxType | BentoCheckboxGroupItems;
|
|
278
278
|
}>;
|
|
@@ -276,11 +276,11 @@ declare const _default: import("../../../../../../vue3/node_modules/vue").Define
|
|
|
276
276
|
variant: "horizontal" | "vertical" | BentoCheckboxGroupVariant;
|
|
277
277
|
disabled: boolean;
|
|
278
278
|
description: string;
|
|
279
|
-
optional: boolean;
|
|
280
|
-
readonly: boolean;
|
|
281
279
|
tooltipText: string;
|
|
280
|
+
optional: boolean;
|
|
282
281
|
hideLabel: boolean;
|
|
283
282
|
errorMessage: string;
|
|
283
|
+
readonly: boolean;
|
|
284
284
|
hasError: boolean;
|
|
285
285
|
modelValue: (string | number)[];
|
|
286
286
|
formId: string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const DATA_GRID_CELL_MENU_REGISTERING_INJECTION_KEY: unique symbol;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { BentoColumn } from '../../data-grid.types';
|
|
2
|
+
import type { Ref } from "../../../../../../vue3/node_modules/vue";
|
|
2
3
|
export declare enum DataGridCellPropClass {
|
|
3
4
|
COLUMN_HOVERED = "column-hovered",
|
|
4
5
|
COLUMN_HOVERED_NO_BORDER_LEFT = "column-hovered-no-border-left",
|
|
@@ -33,6 +34,12 @@ export interface DataGridCellEvents extends DataGridCellDragEvents {
|
|
|
33
34
|
keyup?: (event: KeyboardEvent) => void;
|
|
34
35
|
keydown?: (event: KeyboardEvent) => void;
|
|
35
36
|
mouseenter?: () => void;
|
|
36
|
-
mouseleave?: () => void;
|
|
37
|
+
mouseleave?: (e: MouseEvent) => void;
|
|
38
|
+
focus?: (e: FocusEvent) => void;
|
|
39
|
+
focusout?: (e: FocusEvent) => void;
|
|
37
40
|
}
|
|
38
41
|
export type DataGridCellEventsForColumn = (column: BentoColumn) => DataGridCellEvents;
|
|
42
|
+
export type DataGridCellRegisterMenu = {
|
|
43
|
+
registerMenuContainerElement: (menuContainerElement: Ref<HTMLDivElement>) => void;
|
|
44
|
+
menuMouseLeave: (e: MouseEvent) => void;
|
|
45
|
+
};
|