@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
|
@@ -7,81 +7,221 @@ import { VueNodeElement } from "../../types";
|
|
|
7
7
|
export declare const Tooltip: {
|
|
8
8
|
name: string;
|
|
9
9
|
components: {
|
|
10
|
-
BentoTypography:
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
BentoTypography: {
|
|
11
|
+
new (...args: any[]): {
|
|
12
|
+
$: import("../../../../vue3/node_modules/vue").ComponentInternalInstance;
|
|
13
|
+
$data: {};
|
|
14
|
+
$props: Partial<{
|
|
15
|
+
wide: boolean;
|
|
16
|
+
stronger: boolean;
|
|
17
|
+
strongest: boolean;
|
|
18
|
+
el: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | import("../typography").BentoTypographyElement;
|
|
19
|
+
large: boolean;
|
|
20
|
+
medium: boolean;
|
|
21
|
+
variant: "body" | "caption" | "title" | "subtitle" | import("../typography").BentoTypographyVariant;
|
|
22
|
+
}> & Omit<Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
23
|
+
wide: {
|
|
24
|
+
type: PropType<boolean>;
|
|
25
|
+
} & {
|
|
26
|
+
default: boolean;
|
|
27
|
+
};
|
|
28
|
+
stronger: {
|
|
29
|
+
type: PropType<boolean>;
|
|
30
|
+
} & {
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
strongest: {
|
|
34
|
+
type: PropType<boolean>;
|
|
35
|
+
} & {
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
el: {
|
|
39
|
+
type: PropType<"div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | import("../typography").BentoTypographyElement>;
|
|
40
|
+
} & {
|
|
41
|
+
default: import("../typography").BentoTypographyElement;
|
|
42
|
+
};
|
|
43
|
+
large: {
|
|
44
|
+
type: PropType<boolean>;
|
|
45
|
+
} & {
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
medium: {
|
|
49
|
+
type: PropType<boolean>;
|
|
50
|
+
} & {
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
variant: {
|
|
54
|
+
type: PropType<"body" | "caption" | "title" | "subtitle" | import("../typography").BentoTypographyVariant>;
|
|
55
|
+
} & {
|
|
56
|
+
default: import("../typography").BentoTypographyVariant;
|
|
57
|
+
};
|
|
58
|
+
}>> & import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, "wide" | "stronger" | "strongest" | "el" | "large" | "medium" | "variant">;
|
|
59
|
+
$attrs: {
|
|
60
|
+
[x: string]: unknown;
|
|
61
|
+
};
|
|
62
|
+
$refs: {
|
|
63
|
+
[x: string]: unknown;
|
|
64
|
+
};
|
|
65
|
+
$slots: Readonly<{
|
|
66
|
+
[name: string]: import("../../../../vue3/node_modules/vue").Slot;
|
|
67
|
+
}>;
|
|
68
|
+
$root: import("../../../../vue3/node_modules/vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("../../../../vue3/node_modules/vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
69
|
+
$parent: import("../../../../vue3/node_modules/vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("../../../../vue3/node_modules/vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>;
|
|
70
|
+
$emit: (event: string, ...args: any[]) => void;
|
|
71
|
+
$el: any;
|
|
72
|
+
$options: import("../../../../vue3/node_modules/vue").ComponentOptionsBase<Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
73
|
+
wide: {
|
|
74
|
+
type: PropType<boolean>;
|
|
75
|
+
} & {
|
|
76
|
+
default: boolean;
|
|
77
|
+
};
|
|
78
|
+
stronger: {
|
|
79
|
+
type: PropType<boolean>;
|
|
80
|
+
} & {
|
|
81
|
+
default: boolean;
|
|
82
|
+
};
|
|
83
|
+
strongest: {
|
|
84
|
+
type: PropType<boolean>;
|
|
85
|
+
} & {
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
el: {
|
|
89
|
+
type: PropType<"div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | import("../typography").BentoTypographyElement>;
|
|
90
|
+
} & {
|
|
91
|
+
default: import("../typography").BentoTypographyElement;
|
|
92
|
+
};
|
|
93
|
+
large: {
|
|
94
|
+
type: PropType<boolean>;
|
|
95
|
+
} & {
|
|
96
|
+
default: boolean;
|
|
97
|
+
};
|
|
98
|
+
medium: {
|
|
99
|
+
type: PropType<boolean>;
|
|
100
|
+
} & {
|
|
101
|
+
default: boolean;
|
|
102
|
+
};
|
|
103
|
+
variant: {
|
|
104
|
+
type: PropType<"body" | "caption" | "title" | "subtitle" | import("../typography").BentoTypographyVariant>;
|
|
105
|
+
} & {
|
|
106
|
+
default: import("../typography").BentoTypographyVariant;
|
|
107
|
+
};
|
|
108
|
+
}>>, {}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, {}, string, {
|
|
109
|
+
wide: boolean;
|
|
110
|
+
stronger: boolean;
|
|
111
|
+
strongest: boolean;
|
|
112
|
+
el: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | import("../typography").BentoTypographyElement;
|
|
113
|
+
large: boolean;
|
|
114
|
+
medium: boolean;
|
|
115
|
+
variant: "body" | "caption" | "title" | "subtitle" | import("../typography").BentoTypographyVariant;
|
|
116
|
+
}, {}, string> & {
|
|
117
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
118
|
+
created?: (() => void) | (() => void)[];
|
|
119
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
120
|
+
mounted?: (() => void) | (() => void)[];
|
|
121
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
122
|
+
updated?: (() => void) | (() => void)[];
|
|
123
|
+
activated?: (() => void) | (() => void)[];
|
|
124
|
+
deactivated?: (() => void) | (() => void)[];
|
|
125
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
126
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
127
|
+
destroyed?: (() => void) | (() => void)[];
|
|
128
|
+
unmounted?: (() => void) | (() => void)[];
|
|
129
|
+
renderTracked?: ((e: import("../../../../vue3/node_modules/vue").DebuggerEvent) => void) | ((e: import("../../../../vue3/node_modules/vue").DebuggerEvent) => void)[];
|
|
130
|
+
renderTriggered?: ((e: import("../../../../vue3/node_modules/vue").DebuggerEvent) => void) | ((e: import("../../../../vue3/node_modules/vue").DebuggerEvent) => void)[];
|
|
131
|
+
errorCaptured?: ((err: unknown, instance: import("../../../../vue3/node_modules/vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("../../../../vue3/node_modules/vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void) | ((err: unknown, instance: import("../../../../vue3/node_modules/vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("../../../../vue3/node_modules/vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string>, {}>, info: string) => boolean | void)[];
|
|
132
|
+
};
|
|
133
|
+
$forceUpdate: () => void;
|
|
134
|
+
$nextTick: typeof import("../../../../vue3/node_modules/vue").nextTick;
|
|
135
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: import("../../../../vue3/node_modules/vue").WatchOptions<boolean>): import("../../../../vue3/node_modules/vue").WatchStopHandle;
|
|
136
|
+
} & Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
137
|
+
wide: {
|
|
138
|
+
type: PropType<boolean>;
|
|
139
|
+
} & {
|
|
140
|
+
default: boolean;
|
|
141
|
+
};
|
|
142
|
+
stronger: {
|
|
143
|
+
type: PropType<boolean>;
|
|
144
|
+
} & {
|
|
145
|
+
default: boolean;
|
|
146
|
+
};
|
|
147
|
+
strongest: {
|
|
148
|
+
type: PropType<boolean>;
|
|
149
|
+
} & {
|
|
150
|
+
default: boolean;
|
|
151
|
+
};
|
|
152
|
+
el: {
|
|
153
|
+
type: PropType<"div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | import("../typography").BentoTypographyElement>;
|
|
154
|
+
} & {
|
|
155
|
+
default: import("../typography").BentoTypographyElement;
|
|
156
|
+
};
|
|
157
|
+
large: {
|
|
158
|
+
type: PropType<boolean>;
|
|
159
|
+
} & {
|
|
160
|
+
default: boolean;
|
|
161
|
+
};
|
|
162
|
+
medium: {
|
|
163
|
+
type: PropType<boolean>;
|
|
164
|
+
} & {
|
|
165
|
+
default: boolean;
|
|
166
|
+
};
|
|
167
|
+
variant: {
|
|
168
|
+
type: PropType<"body" | "caption" | "title" | "subtitle" | import("../typography").BentoTypographyVariant>;
|
|
169
|
+
} & {
|
|
170
|
+
default: import("../typography").BentoTypographyVariant;
|
|
171
|
+
};
|
|
172
|
+
}>> & import("../../../../vue3/node_modules/vue").ShallowUnwrapRef<{}> & {} & import("../../../../vue3/node_modules/vue").ComponentCustomProperties & {};
|
|
173
|
+
__isFragment?: never;
|
|
174
|
+
__isTeleport?: never;
|
|
175
|
+
__isSuspense?: never;
|
|
176
|
+
} & import("../../../../vue3/node_modules/vue").ComponentOptionsBase<Readonly<import("../../../../vue3/node_modules/vue").ExtractPropTypes<{
|
|
177
|
+
wide: {
|
|
178
|
+
type: PropType<boolean>;
|
|
179
|
+
} & {
|
|
180
|
+
default: boolean;
|
|
15
181
|
};
|
|
16
182
|
stronger: {
|
|
17
|
-
type:
|
|
183
|
+
type: PropType<boolean>;
|
|
184
|
+
} & {
|
|
18
185
|
default: boolean;
|
|
19
186
|
};
|
|
20
187
|
strongest: {
|
|
21
|
-
type:
|
|
22
|
-
|
|
23
|
-
};
|
|
24
|
-
variant: {
|
|
25
|
-
type: PropType<"body" | "caption" | "title" | "subtitle" | import("../typography").BentoTypographyVariant>;
|
|
26
|
-
default: import("../typography").BentoTypographyVariant;
|
|
27
|
-
validator: (value: import("../typography").BentoTypographyVariant) => boolean;
|
|
28
|
-
};
|
|
29
|
-
medium: {
|
|
30
|
-
type: BooleanConstructor;
|
|
31
|
-
default: boolean;
|
|
32
|
-
};
|
|
33
|
-
large: {
|
|
34
|
-
type: BooleanConstructor;
|
|
35
|
-
default: boolean;
|
|
36
|
-
};
|
|
37
|
-
wide: {
|
|
38
|
-
type: BooleanConstructor;
|
|
188
|
+
type: PropType<boolean>;
|
|
189
|
+
} & {
|
|
39
190
|
default: boolean;
|
|
40
191
|
};
|
|
41
|
-
}, {
|
|
42
|
-
conditionalClasses: import("../../../../vue3/node_modules/vue").ComputedRef<{
|
|
43
|
-
[x: string]: boolean;
|
|
44
|
-
}>;
|
|
45
|
-
}, 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<{
|
|
46
192
|
el: {
|
|
47
193
|
type: PropType<"div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | import("../typography").BentoTypographyElement>;
|
|
194
|
+
} & {
|
|
48
195
|
default: import("../typography").BentoTypographyElement;
|
|
49
|
-
validator: (value: import("../typography").BentoTypographyElement) => boolean;
|
|
50
196
|
};
|
|
51
|
-
|
|
52
|
-
type:
|
|
197
|
+
large: {
|
|
198
|
+
type: PropType<boolean>;
|
|
199
|
+
} & {
|
|
53
200
|
default: boolean;
|
|
54
201
|
};
|
|
55
|
-
|
|
56
|
-
type:
|
|
202
|
+
medium: {
|
|
203
|
+
type: PropType<boolean>;
|
|
204
|
+
} & {
|
|
57
205
|
default: boolean;
|
|
58
206
|
};
|
|
59
207
|
variant: {
|
|
60
208
|
type: PropType<"body" | "caption" | "title" | "subtitle" | import("../typography").BentoTypographyVariant>;
|
|
209
|
+
} & {
|
|
61
210
|
default: import("../typography").BentoTypographyVariant;
|
|
62
|
-
validator: (value: import("../typography").BentoTypographyVariant) => boolean;
|
|
63
|
-
};
|
|
64
|
-
medium: {
|
|
65
|
-
type: BooleanConstructor;
|
|
66
|
-
default: boolean;
|
|
67
|
-
};
|
|
68
|
-
large: {
|
|
69
|
-
type: BooleanConstructor;
|
|
70
|
-
default: boolean;
|
|
71
|
-
};
|
|
72
|
-
wide: {
|
|
73
|
-
type: BooleanConstructor;
|
|
74
|
-
default: boolean;
|
|
75
211
|
};
|
|
76
|
-
}>>, {
|
|
212
|
+
}>>, {}, unknown, {}, {}, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, import("../../../../vue3/node_modules/vue").ComponentOptionsMixin, {}, string, {
|
|
77
213
|
wide: boolean;
|
|
78
214
|
stronger: boolean;
|
|
79
215
|
strongest: boolean;
|
|
80
216
|
el: "div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | import("../typography").BentoTypographyElement;
|
|
81
|
-
variant: "body" | "caption" | "title" | "subtitle" | import("../typography").BentoTypographyVariant;
|
|
82
|
-
medium: boolean;
|
|
83
217
|
large: boolean;
|
|
84
|
-
|
|
218
|
+
medium: boolean;
|
|
219
|
+
variant: "body" | "caption" | "title" | "subtitle" | import("../typography").BentoTypographyVariant;
|
|
220
|
+
}, {}, string> & import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps & (new () => {
|
|
221
|
+
$slots: {
|
|
222
|
+
default: (_: {}) => any;
|
|
223
|
+
};
|
|
224
|
+
});
|
|
85
225
|
PopperContainer: {
|
|
86
226
|
new (...args: any[]): {
|
|
87
227
|
$: import("../../../../vue3/node_modules/vue").ComponentInternalInstance;
|
|
@@ -89,12 +229,12 @@ export declare const Tooltip: {
|
|
|
89
229
|
$props: Partial<{
|
|
90
230
|
position: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | import("../popper-container").PopperContainerPosition;
|
|
91
231
|
offset: number[];
|
|
232
|
+
id: string;
|
|
92
233
|
ariaRole: PopperContainerAriaRole;
|
|
93
234
|
arrow: any;
|
|
94
235
|
disabledFocusTrap: boolean;
|
|
95
236
|
fallbackPosition: import("../popper-container").FallbackPositionProp;
|
|
96
237
|
fixedPositioning: boolean;
|
|
97
|
-
id: string;
|
|
98
238
|
isHidden: boolean;
|
|
99
239
|
matchWidth: boolean;
|
|
100
240
|
middleware: {
|
|
@@ -180,7 +320,7 @@ export declare const Tooltip: {
|
|
|
180
320
|
};
|
|
181
321
|
}>> & {
|
|
182
322
|
onPlacement?: (value: import("@floating-ui/utils").Placement) => any;
|
|
183
|
-
} & import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, "position" | "offset" | "ariaRole" | "arrow" | "disabledFocusTrap" | "fallbackPosition" | "fixedPositioning" | "
|
|
323
|
+
} & import("../../../../vue3/node_modules/vue").VNodeProps & import("../../../../vue3/node_modules/vue").AllowedComponentProps & import("../../../../vue3/node_modules/vue").ComponentCustomProps, "position" | "offset" | "id" | "ariaRole" | "arrow" | "disabledFocusTrap" | "fallbackPosition" | "fixedPositioning" | "isHidden" | "matchWidth" | "middleware">;
|
|
184
324
|
$attrs: {
|
|
185
325
|
[x: string]: unknown;
|
|
186
326
|
};
|
|
@@ -267,12 +407,12 @@ export declare const Tooltip: {
|
|
|
267
407
|
}, string, {
|
|
268
408
|
position: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | import("../popper-container").PopperContainerPosition;
|
|
269
409
|
offset: number[];
|
|
410
|
+
id: string;
|
|
270
411
|
ariaRole: PopperContainerAriaRole;
|
|
271
412
|
arrow: any;
|
|
272
413
|
disabledFocusTrap: boolean;
|
|
273
414
|
fallbackPosition: import("../popper-container").FallbackPositionProp;
|
|
274
415
|
fixedPositioning: boolean;
|
|
275
|
-
id: string;
|
|
276
416
|
isHidden: boolean;
|
|
277
417
|
matchWidth: boolean;
|
|
278
418
|
middleware: {
|
|
@@ -455,12 +595,12 @@ export declare const Tooltip: {
|
|
|
455
595
|
}, string, {
|
|
456
596
|
position: "auto" | "left" | "right" | "bottom" | "top" | "auto-start" | "auto-end" | "top-start" | "top-end" | "right-start" | "right-end" | "bottom-start" | "bottom-end" | "left-start" | "left-end" | import("../popper-container").PopperContainerPosition;
|
|
457
597
|
offset: number[];
|
|
598
|
+
id: string;
|
|
458
599
|
ariaRole: PopperContainerAriaRole;
|
|
459
600
|
arrow: any;
|
|
460
601
|
disabledFocusTrap: boolean;
|
|
461
602
|
fallbackPosition: import("../popper-container").FallbackPositionProp;
|
|
462
603
|
fixedPositioning: boolean;
|
|
463
|
-
id: string;
|
|
464
604
|
isHidden: boolean;
|
|
465
605
|
matchWidth: boolean;
|
|
466
606
|
middleware: {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { PropType } from "../../../../vue3/node_modules/vue";
|
|
2
1
|
import { BentoTypographyElement, BentoTypographyVariant } from './typography.types';
|
|
3
2
|
/**
|
|
4
3
|
* The Typography component makes it easy to apply a default set of font weights, sizes and other text styles
|
|
@@ -18,135 +17,122 @@ import { BentoTypographyElement, BentoTypographyVariant } from './typography.typ
|
|
|
18
17
|
* `
|
|
19
18
|
* }
|
|
20
19
|
*/
|
|
21
|
-
declare const _default: import("../../../../vue3/node_modules/vue").DefineComponent<{
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<import("../../../../vue3/node_modules/vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
22
21
|
/**
|
|
23
22
|
* Sets the HTML DOM element.
|
|
24
23
|
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
25
24
|
*/
|
|
26
|
-
el
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
el?: BentoTypographyElement | `${BentoTypographyElement}`;
|
|
26
|
+
/**
|
|
27
|
+
* Adds the large class modifier.
|
|
28
|
+
* Applicable to the Title variant.
|
|
29
|
+
*/
|
|
30
|
+
large?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Adds the medium class modifier.
|
|
33
|
+
* Applicable to the Title variant.
|
|
34
|
+
*/
|
|
35
|
+
medium?: boolean;
|
|
31
36
|
/**
|
|
32
37
|
* Adds the stronger class modifier.
|
|
33
38
|
* Applicable to Caption, Body and Subtitle variants.
|
|
34
39
|
*/
|
|
35
|
-
stronger
|
|
36
|
-
type: BooleanConstructor;
|
|
37
|
-
default: boolean;
|
|
38
|
-
};
|
|
40
|
+
stronger?: boolean;
|
|
39
41
|
/**
|
|
40
42
|
* Adds the strongest class modifier.
|
|
41
43
|
* Applicable to Caption, Body and Subtitle variants.
|
|
42
44
|
*/
|
|
43
|
-
strongest
|
|
44
|
-
type: BooleanConstructor;
|
|
45
|
-
default: boolean;
|
|
46
|
-
};
|
|
45
|
+
strongest?: boolean;
|
|
47
46
|
/**
|
|
48
47
|
* Sets the type of typography variant.
|
|
49
48
|
* @values caption, body, title.
|
|
50
49
|
*/
|
|
51
|
-
variant
|
|
52
|
-
type: PropType<"body" | "caption" | "title" | "subtitle" | BentoTypographyVariant>;
|
|
53
|
-
default: BentoTypographyVariant;
|
|
54
|
-
validator: (value: BentoTypographyVariant) => boolean;
|
|
55
|
-
};
|
|
50
|
+
variant?: BentoTypographyVariant | `${BentoTypographyVariant}`;
|
|
56
51
|
/**
|
|
57
52
|
* Adds the medium class modifier.
|
|
58
|
-
* Applicable to
|
|
53
|
+
* Applicable to tje Body variant.
|
|
59
54
|
*/
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
55
|
+
wide?: boolean;
|
|
56
|
+
}>, {
|
|
57
|
+
el: BentoTypographyElement;
|
|
58
|
+
large: boolean;
|
|
59
|
+
medium: boolean;
|
|
60
|
+
stronger: boolean;
|
|
61
|
+
strongest: boolean;
|
|
62
|
+
variant: BentoTypographyVariant;
|
|
63
|
+
wide: boolean;
|
|
64
|
+
}>, {}, 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<{
|
|
65
|
+
/**
|
|
66
|
+
* Sets the HTML DOM element.
|
|
67
|
+
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
68
|
+
*/
|
|
69
|
+
el?: BentoTypographyElement | `${BentoTypographyElement}`;
|
|
64
70
|
/**
|
|
65
71
|
* Adds the large class modifier.
|
|
66
72
|
* Applicable to the Title variant.
|
|
67
73
|
*/
|
|
68
|
-
large
|
|
69
|
-
type: BooleanConstructor;
|
|
70
|
-
default: boolean;
|
|
71
|
-
};
|
|
74
|
+
large?: boolean;
|
|
72
75
|
/**
|
|
73
76
|
* Adds the medium class modifier.
|
|
74
|
-
* Applicable to
|
|
75
|
-
*/
|
|
76
|
-
wide: {
|
|
77
|
-
type: BooleanConstructor;
|
|
78
|
-
default: boolean;
|
|
79
|
-
};
|
|
80
|
-
}, {
|
|
81
|
-
conditionalClasses: import("../../../../vue3/node_modules/vue").ComputedRef<{
|
|
82
|
-
[x: string]: boolean;
|
|
83
|
-
}>;
|
|
84
|
-
}, 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<{
|
|
85
|
-
/**
|
|
86
|
-
* Sets the HTML DOM element.
|
|
87
|
-
* @values h1, h2, h3, h4, h5, h6, div, p, span
|
|
77
|
+
* Applicable to the Title variant.
|
|
88
78
|
*/
|
|
89
|
-
|
|
90
|
-
type: PropType<"div" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | BentoTypographyElement>;
|
|
91
|
-
default: BentoTypographyElement;
|
|
92
|
-
validator: (value: BentoTypographyElement) => boolean;
|
|
93
|
-
};
|
|
79
|
+
medium?: boolean;
|
|
94
80
|
/**
|
|
95
81
|
* Adds the stronger class modifier.
|
|
96
82
|
* Applicable to Caption, Body and Subtitle variants.
|
|
97
83
|
*/
|
|
98
|
-
stronger
|
|
99
|
-
type: BooleanConstructor;
|
|
100
|
-
default: boolean;
|
|
101
|
-
};
|
|
84
|
+
stronger?: boolean;
|
|
102
85
|
/**
|
|
103
86
|
* Adds the strongest class modifier.
|
|
104
87
|
* Applicable to Caption, Body and Subtitle variants.
|
|
105
88
|
*/
|
|
106
|
-
strongest
|
|
107
|
-
type: BooleanConstructor;
|
|
108
|
-
default: boolean;
|
|
109
|
-
};
|
|
89
|
+
strongest?: boolean;
|
|
110
90
|
/**
|
|
111
91
|
* Sets the type of typography variant.
|
|
112
92
|
* @values caption, body, title.
|
|
113
93
|
*/
|
|
114
|
-
variant
|
|
115
|
-
type: PropType<"body" | "caption" | "title" | "subtitle" | BentoTypographyVariant>;
|
|
116
|
-
default: BentoTypographyVariant;
|
|
117
|
-
validator: (value: BentoTypographyVariant) => boolean;
|
|
118
|
-
};
|
|
119
|
-
/**
|
|
120
|
-
* Adds the medium class modifier.
|
|
121
|
-
* Applicable to the Title variant.
|
|
122
|
-
*/
|
|
123
|
-
medium: {
|
|
124
|
-
type: BooleanConstructor;
|
|
125
|
-
default: boolean;
|
|
126
|
-
};
|
|
127
|
-
/**
|
|
128
|
-
* Adds the large class modifier.
|
|
129
|
-
* Applicable to the Title variant.
|
|
130
|
-
*/
|
|
131
|
-
large: {
|
|
132
|
-
type: BooleanConstructor;
|
|
133
|
-
default: boolean;
|
|
134
|
-
};
|
|
94
|
+
variant?: BentoTypographyVariant | `${BentoTypographyVariant}`;
|
|
135
95
|
/**
|
|
136
96
|
* Adds the medium class modifier.
|
|
137
97
|
* Applicable to tje Body variant.
|
|
138
98
|
*/
|
|
139
|
-
wide
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
99
|
+
wide?: boolean;
|
|
100
|
+
}>, {
|
|
101
|
+
el: BentoTypographyElement;
|
|
102
|
+
large: boolean;
|
|
103
|
+
medium: boolean;
|
|
104
|
+
stronger: boolean;
|
|
105
|
+
strongest: boolean;
|
|
106
|
+
variant: BentoTypographyVariant;
|
|
107
|
+
wide: boolean;
|
|
108
|
+
}>>>, {
|
|
144
109
|
wide: boolean;
|
|
145
110
|
stronger: boolean;
|
|
146
111
|
strongest: boolean;
|
|
147
|
-
el:
|
|
148
|
-
variant: "body" | "caption" | "title" | "subtitle" | BentoTypographyVariant;
|
|
149
|
-
medium: boolean;
|
|
112
|
+
el: BentoTypographyElement | `${BentoTypographyElement}`;
|
|
150
113
|
large: boolean;
|
|
114
|
+
medium: boolean;
|
|
115
|
+
variant: BentoTypographyVariant | `${BentoTypographyVariant}`;
|
|
116
|
+
}>, {
|
|
117
|
+
default: (_: {}) => any;
|
|
151
118
|
}>;
|
|
152
119
|
export default _default;
|
|
120
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
121
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
122
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
123
|
+
type: import("../../../../vue3/node_modules/vue").PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
124
|
+
} : {
|
|
125
|
+
type: import("../../../../vue3/node_modules/vue").PropType<T[K]>;
|
|
126
|
+
required: true;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
type __VLS_WithDefaults<P, D> = {
|
|
130
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? P[K] & {
|
|
131
|
+
default: D[K];
|
|
132
|
+
} : P[K];
|
|
133
|
+
};
|
|
134
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
135
|
+
new (): {
|
|
136
|
+
$slots: S;
|
|
137
|
+
};
|
|
138
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ToastStack } from './use-bento-toast-controller.types';
|
|
2
|
+
export declare const toastStackInjectionKey: unique symbol;
|
|
3
|
+
/**
|
|
4
|
+
* This utility creates a global reactive state to add new toasts and keep track of them.
|
|
5
|
+
* @returns {ToastStack} An object that contains reactive stack property with all add toasts and a function to add new toasts
|
|
6
|
+
*/
|
|
7
|
+
export declare const createToastStack: () => ToastStack;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { type DeepReadonly, type Ref } from "../../../../vue3/node_modules/vue";
|
|
2
|
+
export interface BentoToastItemAction {
|
|
3
|
+
handler: () => void;
|
|
4
|
+
text: string;
|
|
5
|
+
}
|
|
6
|
+
export interface BentoToastItemParams {
|
|
7
|
+
action?: BentoToastItemAction;
|
|
8
|
+
text: string;
|
|
9
|
+
}
|
|
10
|
+
export interface BentoToastItem extends BentoToastItemParams {
|
|
11
|
+
id: string;
|
|
12
|
+
dismiss: () => void;
|
|
13
|
+
}
|
|
14
|
+
export type BentoToastItemsList = Array<BentoToastItem>;
|
|
15
|
+
interface Toast {
|
|
16
|
+
dismiss: () => void;
|
|
17
|
+
}
|
|
18
|
+
export interface ToastStack {
|
|
19
|
+
stack: DeepReadonly<Ref<BentoToastItemsList>>;
|
|
20
|
+
addToast: (params: BentoToastItemParams) => Toast;
|
|
21
|
+
}
|
|
22
|
+
export type UseBentoToastController = ToastStack;
|
|
23
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './use-click-outside';
|
|
@@ -49,6 +49,8 @@ export * from './components/toggle';
|
|
|
49
49
|
export * from './components/tutorial';
|
|
50
50
|
export * from './components/typography';
|
|
51
51
|
export * from './composables/use-form-validate';
|
|
52
|
+
export * from './composables/use-bento-toast-controller';
|
|
53
|
+
export * from './composables/use-click-outside';
|
|
52
54
|
export * from './templates/data-grid-template';
|
|
53
55
|
export * from './types';
|
|
54
56
|
export * from './directives';
|
|
@@ -10,3 +10,13 @@ export declare const getPokemonFromApi: (pokemonName?: string) => Promise<{
|
|
|
10
10
|
label: any;
|
|
11
11
|
value: any;
|
|
12
12
|
}[]>;
|
|
13
|
+
/**
|
|
14
|
+
* Adds necessary Toast component to display toasts.
|
|
15
|
+
* It should be added just once on the app level, but never in the views or components itself
|
|
16
|
+
*/
|
|
17
|
+
export declare const withToastDecorator: () => {
|
|
18
|
+
components: {
|
|
19
|
+
BentoToast: import("../../../../vue3/node_modules/vue").DefineComponent<{}, {}, {}, {}, {}, 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<{}>>, {}>;
|
|
20
|
+
};
|
|
21
|
+
template: string;
|
|
22
|
+
};
|
package/dist/accordion.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as C, provide as k, toRef as B, openBlock as a, createElementBlock as r, renderSlot as E, ref as b, inject as O, computed as $, watch as s, createVNode as y, unref as e, withCtx as g, createElementVNode as h, createBlock as I, createTextVNode as z, toDisplayString as A, Transition as D, normalizeStyle as H, createCommentVNode as V } from "vue";
|
|
2
2
|
import { _ as N } from "./chunks/_plugin-vue_export-helper.dad06003.js";
|
|
3
|
-
import { B as w } from "./chunks/index.
|
|
3
|
+
import { B as w } from "./chunks/index.11b6dd35.js";
|
|
4
4
|
import { C as R, a as j } from "./chunks/chevron-up.638a9f34.js";
|
|
5
5
|
import { g as x } from "./chunks/unique-id.a2a2b458.js";
|
|
6
6
|
import { o as M } from "./chunks/resize.a041304d.js";
|
|
7
7
|
import { u as U } from "./chunks/use-expandable-content-height.62fc84e5.js";
|
|
8
|
-
import "./assets/
|
|
8
|
+
import "./assets/index3.css";
|
|
9
9
|
const S = Symbol("accordion title size injection key"), q = { class: "b-accordion" }, J = {}, K = /* @__PURE__ */ C({
|
|
10
10
|
...J,
|
|
11
11
|
__name: "accordion",
|