@adyen/bento-vue2 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +115 -0
- package/dist/@types/components/accordion/accordion.keys.d.ts +1 -0
- package/dist/@types/components/accordion/accordion.types.d.ts +24 -0
- package/dist/@types/components/accordion/accordion.vue.d.ts +57 -0
- package/dist/@types/components/accordion/components/accordion-item.vue.d.ts +35 -0
- package/dist/@types/components/accordion/index.d.ts +3 -0
- package/dist/@types/components/alert/alert.types.d.ts +6 -0
- package/dist/@types/components/alert/alert.vue.d.ts +34 -0
- package/dist/@types/components/alert/index.d.ts +2 -0
- package/dist/@types/components/badge/badge.types.d.ts +7 -0
- package/dist/@types/components/badge/badge.vue.d.ts +32 -0
- package/dist/@types/components/badge/index.d.ts +2 -0
- package/dist/@types/components/button/button.types.d.ts +11 -0
- package/dist/@types/components/button/button.vue.d.ts +68 -0
- package/dist/@types/components/button/components/button-actions/button-actions.types.d.ts +13 -0
- package/dist/@types/components/button/components/button-actions/button-actions.vue.d.ts +33 -0
- package/dist/@types/components/button/components/button-actions/index.d.ts +2 -0
- package/dist/@types/components/button/components/button-group.vue.d.ts +9 -0
- package/dist/@types/components/button/components/loading-button/index.d.ts +2 -0
- package/dist/@types/components/button/components/loading-button/loading-button.types.d.ts +9 -0
- package/dist/@types/components/button/components/loading-button/loading-button.vue.d.ts +55 -0
- package/dist/@types/components/button/index.d.ts +5 -0
- package/dist/@types/components/card/card.types.d.ts +10 -0
- package/dist/@types/components/card/card.vue.d.ts +44 -0
- package/dist/@types/components/card/components/card-image/card-image.vue.d.ts +20 -0
- package/dist/@types/components/card/index.d.ts +3 -0
- package/dist/@types/components/checkbox/checkbox.types.d.ts +2 -0
- package/dist/@types/components/checkbox/checkbox.vue.d.ts +59 -0
- package/dist/@types/components/checkbox/index.d.ts +2 -0
- package/dist/@types/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.d.ts +10 -0
- package/dist/@types/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.types.d.ts +10 -0
- package/dist/@types/components/data-grid/composables/useResizer.d.ts +17 -0
- package/dist/@types/components/data-grid/composables/useSelector.d.ts +11 -0
- package/dist/@types/components/data-grid/composables/useSorter.d.ts +8 -0
- package/dist/@types/components/data-grid/data-grid.types.d.ts +33 -0
- package/dist/@types/components/data-grid/data-grid.vue.d.ts +290 -0
- package/dist/@types/components/data-grid/index.d.ts +2 -0
- package/dist/@types/components/dropdown/components/dropdown-input-container/dropdown-input-container.vue.d.ts +68 -0
- package/dist/@types/components/dropdown/components/dropdown-input-container/index.d.ts +1 -0
- package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-option/dropdown-option.vue.d.ts +38 -0
- package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-option/index.d.ts +1 -0
- package/dist/@types/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +86 -0
- package/dist/@types/components/dropdown/components/dropdown-options-container/index.d.ts +1 -0
- package/dist/@types/components/dropdown/dropdown.types.d.ts +7 -0
- package/dist/@types/components/dropdown/dropdown.vue.d.ts +59 -0
- package/dist/@types/components/dropdown/index.d.ts +2 -0
- package/dist/@types/components/filter-bar/components/base-filter/base-filter.vue.d.ts +94 -0
- package/dist/@types/components/filter-bar/components/base-filter/composables/index.d.ts +9 -0
- package/dist/@types/components/filter-bar/components/base-filter/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/text-filter/index.d.ts +1 -0
- package/dist/@types/components/filter-bar/components/text-filter/text-filter.vue.d.ts +49 -0
- package/dist/@types/components/filter-bar/filter-bar.types.d.ts +15 -0
- package/dist/@types/components/filter-bar/filter-bar.vue.d.ts +19 -0
- package/dist/@types/components/filter-bar/index.d.ts +2 -0
- package/dist/@types/components/focus-trap/focus-trap.types.d.ts +18 -0
- package/dist/@types/components/focus-trap/focus-trap.utils.d.ts +8 -0
- package/dist/@types/components/focus-trap/focus-trap.vue.d.ts +39 -0
- package/dist/@types/components/focus-trap/index.d.ts +1 -0
- package/dist/@types/components/input-field/index.d.ts +1 -0
- package/dist/@types/components/input-field/input-field.types.d.ts +13 -0
- package/dist/@types/components/input-field/input-field.vue.d.ts +74 -0
- package/dist/@types/components/input-radio/index.d.ts +1 -0
- package/dist/@types/components/input-radio/input-radio.vue.d.ts +45 -0
- package/dist/@types/components/link/index.d.ts +1 -0
- package/dist/@types/components/link/link.vue.d.ts +25 -0
- package/dist/@types/components/loading-indicator/index.d.ts +2 -0
- package/dist/@types/components/loading-indicator/loading-indicator.types.d.ts +4 -0
- package/dist/@types/components/loading-indicator/loading-indicator.vue.d.ts +39 -0
- package/dist/@types/components/page-header/components/title-item/title-item.vue.d.ts +12 -0
- package/dist/@types/components/page-header/index.d.ts +1 -0
- package/dist/@types/components/page-header/page-header.vue.d.ts +12 -0
- package/dist/@types/components/pagination/components/pagination-context/pagination-context.vue.d.ts +32 -0
- package/dist/@types/components/pagination/components/pagination-controls/pagination-controls.vue.d.ts +39 -0
- package/dist/@types/components/pagination/components/pagination-results-per-page/pagination-results-per-page.vue.d.ts +35 -0
- package/dist/@types/components/pagination/index.d.ts +1 -0
- package/dist/@types/components/pagination/pagination.vue.d.ts +59 -0
- package/dist/@types/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue.d.ts +20 -0
- package/dist/@types/components/popover/components/popover-image/index.d.ts +1 -0
- package/dist/@types/components/popover/components/popover-image/popover-image.vue.d.ts +20 -0
- package/dist/@types/components/popover/index.d.ts +2 -0
- package/dist/@types/components/popover/popover.types.d.ts +19 -0
- package/dist/@types/components/popover/popover.vue.d.ts +131 -0
- package/dist/@types/components/popper-container/index.d.ts +2 -0
- package/dist/@types/components/popper-container/popper-container.types.d.ts +54 -0
- package/dist/@types/components/popper-container/popper-container.utils.d.ts +23 -0
- package/dist/@types/components/popper-container/popper-container.vue.d.ts +116 -0
- package/dist/@types/components/profile-picture/index.d.ts +2 -0
- package/dist/@types/components/profile-picture/profile-picture.types.d.ts +4 -0
- package/dist/@types/components/profile-picture/profile-picture.vue.d.ts +42 -0
- package/dist/@types/components/segmented-control/components/segmented-option.vue.d.ts +59 -0
- package/dist/@types/components/segmented-control/index.d.ts +3 -0
- package/dist/@types/components/segmented-control/segmented-control.keys.d.ts +1 -0
- package/dist/@types/components/segmented-control/segmented-control.types.d.ts +15 -0
- package/dist/@types/components/segmented-control/segmented-control.vue.d.ts +42 -0
- package/dist/@types/components/status/index.d.ts +2 -0
- package/dist/@types/components/status/status.types.d.ts +8 -0
- package/dist/@types/components/status/status.vue.d.ts +23 -0
- package/dist/@types/components/tabs/components/tab.vue.d.ts +59 -0
- package/dist/@types/components/tabs/index.d.ts +3 -0
- package/dist/@types/components/tabs/tabs.keys.d.ts +1 -0
- package/dist/@types/components/tabs/tabs.types.d.ts +9 -0
- package/dist/@types/components/tabs/tabs.vue.d.ts +17 -0
- package/dist/@types/components/tag/index.d.ts +2 -0
- package/dist/@types/components/tag/tag.types.d.ts +7 -0
- package/dist/@types/components/tag/tag.vue.d.ts +37 -0
- package/dist/@types/components/textarea/index.d.ts +1 -0
- package/dist/@types/components/textarea/textarea.vue.d.ts +43 -0
- package/dist/@types/components/toggle/index.d.ts +2 -0
- package/dist/@types/components/toggle/toggle.types.d.ts +3 -0
- package/dist/@types/components/toggle/toggle.vue.d.ts +60 -0
- package/dist/@types/components/tooltip/index.d.ts +2 -0
- package/dist/@types/components/tooltip/tooltip.types.d.ts +17 -0
- package/dist/@types/components/tooltip/tooltip.vue.d.ts +62 -0
- package/dist/@types/components/typography/index.d.ts +2 -0
- package/dist/@types/components/typography/typography.types.d.ts +27 -0
- package/dist/@types/components/typography/typography.vue.d.ts +78 -0
- package/dist/@types/components.d.ts +75 -0
- package/dist/@types/directives/index.d.ts +1 -0
- package/dist/@types/directives/tooltip.d.ts +3 -0
- package/dist/@types/i18n/index.d.ts +8 -0
- package/dist/@types/index.d.ts +20 -0
- package/dist/@types/install.d.ts +10 -0
- package/dist/@types/types/index.d.ts +1 -0
- package/dist/@types/types/label-position.d.ts +4 -0
- package/dist/@types/types/maybe-ref.d.ts +2 -0
- package/dist/@types/types/utils-events.d.ts +9 -0
- package/dist/@types/types/vue-node-element.d.ts +2 -0
- package/dist/@types/utils/ts/events.d.ts +2 -0
- package/dist/@types/utils/ts/i18n.d.ts +12 -0
- package/dist/@types/utils/ts/inject-css.d.ts +2 -0
- package/dist/@types/utils/ts/resize.d.ts +1 -0
- package/dist/@types/utils/ts/storybook.d.ts +8 -0
- package/dist/@types/utils/ts/unique-id.d.ts +1 -0
- package/dist/fonts/Inter-Bold.otf +0 -0
- package/dist/fonts/Inter-Bold.ttf +0 -0
- package/dist/fonts/Inter-Bold.woff +0 -0
- package/dist/fonts/Inter-Bold.woff2 +0 -0
- package/dist/fonts/Inter-ExtraBold.otf +0 -0
- package/dist/fonts/Inter-ExtraBold.ttf +0 -0
- package/dist/fonts/Inter-ExtraBold.woff +0 -0
- package/dist/fonts/Inter-ExtraBold.woff2 +0 -0
- package/dist/fonts/Inter-ExtraLight.otf +0 -0
- package/dist/fonts/Inter-ExtraLight.ttf +0 -0
- package/dist/fonts/Inter-ExtraLight.woff +0 -0
- package/dist/fonts/Inter-ExtraLight.woff2 +0 -0
- package/dist/fonts/Inter-Italic.woff +0 -0
- package/dist/fonts/Inter-Italic.woff2 +0 -0
- package/dist/fonts/Inter-Light.otf +0 -0
- package/dist/fonts/Inter-Light.ttf +0 -0
- package/dist/fonts/Inter-Light.woff +0 -0
- package/dist/fonts/Inter-Light.woff2 +0 -0
- package/dist/fonts/Inter-Medium.otf +0 -0
- package/dist/fonts/Inter-Medium.ttf +0 -0
- package/dist/fonts/Inter-Medium.woff +0 -0
- package/dist/fonts/Inter-Medium.woff2 +0 -0
- package/dist/fonts/Inter-Regular.otf +0 -0
- package/dist/fonts/Inter-Regular.ttf +0 -0
- package/dist/fonts/Inter-Regular.woff +0 -0
- package/dist/fonts/Inter-Regular.woff2 +0 -0
- package/dist/fonts/Inter-SemiBold.otf +0 -0
- package/dist/fonts/Inter-SemiBold.ttf +0 -0
- package/dist/fonts/Inter-SemiBold.woff +0 -0
- package/dist/fonts/Inter-SemiBold.woff2 +0 -0
- package/dist/fonts/Inter-Thin.otf +0 -0
- package/dist/fonts/Inter-Thin.ttf +0 -0
- package/dist/fonts/Inter-Thin.woff +0 -0
- package/dist/fonts/Inter-Thin.woff2 +0 -0
- package/dist/fonts/fonts.css +71 -0
- package/dist/index.js +3189 -0
- package/dist/index.js.map +1 -0
- package/dist/web-types.json +2703 -0
- package/package.json +101 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
|
|
3
|
+
import { BentoStatusVariant } from './status.types';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
variant: {
|
|
6
|
+
type: PropType<BentoStatusVariant>;
|
|
7
|
+
required: true;
|
|
8
|
+
validator: (type: BentoStatusVariant) => boolean;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
conditionalClass: import("vue").ComputedRef<{
|
|
12
|
+
[x: string]: boolean;
|
|
13
|
+
}>;
|
|
14
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
15
|
+
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
16
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
variant: {
|
|
18
|
+
type: PropType<BentoStatusVariant>;
|
|
19
|
+
required: true;
|
|
20
|
+
validator: (type: BentoStatusVariant) => boolean;
|
|
21
|
+
};
|
|
22
|
+
}>>, {}>;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { AdlTabApi } from '../tabs.types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
name: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
title: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
disabled: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
testId: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
tabs: {
|
|
21
|
+
type: PropType<AdlTabApi>;
|
|
22
|
+
default: any;
|
|
23
|
+
};
|
|
24
|
+
}, {}, {}, {
|
|
25
|
+
isActive(): boolean;
|
|
26
|
+
contentName(): string;
|
|
27
|
+
conditionalClasses(): {
|
|
28
|
+
[className: string]: boolean;
|
|
29
|
+
};
|
|
30
|
+
adlTabApi(): AdlTabApi;
|
|
31
|
+
}, {
|
|
32
|
+
activate(): void;
|
|
33
|
+
}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
name: {
|
|
35
|
+
type: StringConstructor;
|
|
36
|
+
required: true;
|
|
37
|
+
};
|
|
38
|
+
title: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
disabled: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
testId: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
tabs: {
|
|
51
|
+
type: PropType<AdlTabApi>;
|
|
52
|
+
default: any;
|
|
53
|
+
};
|
|
54
|
+
}>>, {
|
|
55
|
+
disabled: boolean;
|
|
56
|
+
testId: string;
|
|
57
|
+
tabs: AdlTabApi;
|
|
58
|
+
}>;
|
|
59
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TABS_INJECTION_KEY: unique symbol;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
initialTab: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}, {}, {
|
|
7
|
+
activeTab: string;
|
|
8
|
+
tabsId: string;
|
|
9
|
+
}, {
|
|
10
|
+
activeTabContentName(): string;
|
|
11
|
+
}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
initialTab: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
}>>, {}>;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoTagVariant } from './tag.types';
|
|
3
|
+
import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
variant: {
|
|
6
|
+
type: PropType<BentoTagVariant>;
|
|
7
|
+
default: BentoTagVariant;
|
|
8
|
+
validator: (value: BentoTagVariant) => boolean;
|
|
9
|
+
};
|
|
10
|
+
truncate: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
default: any;
|
|
13
|
+
};
|
|
14
|
+
}, {
|
|
15
|
+
textFromSlot: string;
|
|
16
|
+
formattedText: import("vue").ComputedRef<string>;
|
|
17
|
+
tagConditionalClasses: import("vue").ComputedRef<{
|
|
18
|
+
[x: string]: BentoTagVariant;
|
|
19
|
+
}>;
|
|
20
|
+
shouldShowTooltip: import("vue").ComputedRef<boolean>;
|
|
21
|
+
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
22
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
23
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
24
|
+
variant: {
|
|
25
|
+
type: PropType<BentoTagVariant>;
|
|
26
|
+
default: BentoTagVariant;
|
|
27
|
+
validator: (value: BentoTagVariant) => boolean;
|
|
28
|
+
};
|
|
29
|
+
truncate: {
|
|
30
|
+
type: NumberConstructor;
|
|
31
|
+
default: any;
|
|
32
|
+
};
|
|
33
|
+
}>>, {
|
|
34
|
+
variant: BentoTagVariant;
|
|
35
|
+
truncate: number;
|
|
36
|
+
}>;
|
|
37
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as AdlTextarea } from './textarea.vue';
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
label: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
description: {
|
|
7
|
+
type: StringConstructor;
|
|
8
|
+
default: string;
|
|
9
|
+
};
|
|
10
|
+
placeholder: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
value: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
}, {}, {}, {}, {
|
|
19
|
+
onInput(event: Event): void;
|
|
20
|
+
}, import("vue/types/v3-component-options.js").ComponentOptionsMixin, import("vue/types/v3-component-options.js").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
label: {
|
|
22
|
+
type: StringConstructor;
|
|
23
|
+
default: string;
|
|
24
|
+
};
|
|
25
|
+
description: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default: string;
|
|
28
|
+
};
|
|
29
|
+
placeholder: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: string;
|
|
32
|
+
};
|
|
33
|
+
value: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
}>>, {
|
|
38
|
+
value: string;
|
|
39
|
+
label: string;
|
|
40
|
+
description: string;
|
|
41
|
+
placeholder: string;
|
|
42
|
+
}>;
|
|
43
|
+
export default _default;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoTypographyElement, BentoTypographyVariant } from '@/components/typography';
|
|
3
|
+
import { AdlLabelPosition } from '@/types';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
disabled: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
labelPosition: {
|
|
10
|
+
type: PropType<AdlLabelPosition>;
|
|
11
|
+
default: AdlLabelPosition;
|
|
12
|
+
validator: (value: AdlLabelPosition) => boolean;
|
|
13
|
+
};
|
|
14
|
+
value: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
ariaLabel: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: any;
|
|
21
|
+
};
|
|
22
|
+
}, {
|
|
23
|
+
toggleInput: import("vue").Ref<any>;
|
|
24
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
25
|
+
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
26
|
+
computedAriaLabel: import("vue").ComputedRef<string>;
|
|
27
|
+
computedDescription: import("vue").ComputedRef<string>;
|
|
28
|
+
shouldDisplayLabelSlot: import("vue").ComputedRef<boolean>;
|
|
29
|
+
shouldDisplaySubLabelSlot: import("vue").ComputedRef<boolean>;
|
|
30
|
+
conditionalClasses: import("vue").ComputedRef<{
|
|
31
|
+
[key: string]: boolean;
|
|
32
|
+
}>;
|
|
33
|
+
descriptionId: string;
|
|
34
|
+
isChecked: () => boolean;
|
|
35
|
+
onChange: (event: Event) => void;
|
|
36
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, "input"[], string, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
disabled: {
|
|
38
|
+
type: BooleanConstructor;
|
|
39
|
+
default: boolean;
|
|
40
|
+
};
|
|
41
|
+
labelPosition: {
|
|
42
|
+
type: PropType<AdlLabelPosition>;
|
|
43
|
+
default: AdlLabelPosition;
|
|
44
|
+
validator: (value: AdlLabelPosition) => boolean;
|
|
45
|
+
};
|
|
46
|
+
value: {
|
|
47
|
+
type: BooleanConstructor;
|
|
48
|
+
default: boolean;
|
|
49
|
+
};
|
|
50
|
+
ariaLabel: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
default: any;
|
|
53
|
+
};
|
|
54
|
+
}>>, {
|
|
55
|
+
value: boolean;
|
|
56
|
+
ariaLabel: string;
|
|
57
|
+
disabled: boolean;
|
|
58
|
+
labelPosition: AdlLabelPosition;
|
|
59
|
+
}>;
|
|
60
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { PopperContainerPositionBasic } from '../popper-container';
|
|
2
|
+
export declare const BentoTooltipPosition: {
|
|
3
|
+
TOP: PopperContainerPositionBasic.TOP;
|
|
4
|
+
RIGHT: PopperContainerPositionBasic.RIGHT;
|
|
5
|
+
BOTTOM: PopperContainerPositionBasic.BOTTOM;
|
|
6
|
+
LEFT: PopperContainerPositionBasic.LEFT;
|
|
7
|
+
};
|
|
8
|
+
export type BentoTooltipPosition = PopperContainerPositionBasic;
|
|
9
|
+
export declare enum BentoTooltipState {
|
|
10
|
+
HIDDEN = "hidden"
|
|
11
|
+
}
|
|
12
|
+
export interface TooltipInstance {
|
|
13
|
+
target: HTMLElement;
|
|
14
|
+
content: string;
|
|
15
|
+
position: BentoTooltipPosition;
|
|
16
|
+
removeListeners: Array<() => void>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { PopperContainerAriaRole } from '../popper-container';
|
|
3
|
+
import { BentoTypographyElement, BentoTypographyVariant } from '../typography';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<{
|
|
5
|
+
targetElement: {
|
|
6
|
+
type: PropType<import("../../types/vue-node-element").VueNodeElement>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
position: {
|
|
10
|
+
type: PropType<import("../popper-container").PopperContainerPositionBasic>;
|
|
11
|
+
default: import("../popper-container").PopperContainerPositionBasic;
|
|
12
|
+
validator: (value: unknown) => boolean;
|
|
13
|
+
};
|
|
14
|
+
offset: {
|
|
15
|
+
type: NumberConstructor;
|
|
16
|
+
default: number;
|
|
17
|
+
};
|
|
18
|
+
content: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
isShown: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
}, {
|
|
27
|
+
BentoTypographyElement: typeof BentoTypographyElement;
|
|
28
|
+
BentoTypographyVariant: typeof BentoTypographyVariant;
|
|
29
|
+
PopperContainerAriaRole: typeof PopperContainerAriaRole;
|
|
30
|
+
id: string;
|
|
31
|
+
conditionalClasses: import("vue").ComputedRef<{
|
|
32
|
+
[x: string]: boolean;
|
|
33
|
+
}>;
|
|
34
|
+
tabIndex: import("vue").ComputedRef<number>;
|
|
35
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
36
|
+
targetElement: {
|
|
37
|
+
type: PropType<import("../../types/vue-node-element").VueNodeElement>;
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
position: {
|
|
41
|
+
type: PropType<import("../popper-container").PopperContainerPositionBasic>;
|
|
42
|
+
default: import("../popper-container").PopperContainerPositionBasic;
|
|
43
|
+
validator: (value: unknown) => boolean;
|
|
44
|
+
};
|
|
45
|
+
offset: {
|
|
46
|
+
type: NumberConstructor;
|
|
47
|
+
default: number;
|
|
48
|
+
};
|
|
49
|
+
content: {
|
|
50
|
+
type: StringConstructor;
|
|
51
|
+
required: true;
|
|
52
|
+
};
|
|
53
|
+
isShown: {
|
|
54
|
+
type: BooleanConstructor;
|
|
55
|
+
default: boolean;
|
|
56
|
+
};
|
|
57
|
+
}>>, {
|
|
58
|
+
offset: number;
|
|
59
|
+
position: import("../popper-container").PopperContainerPositionBasic;
|
|
60
|
+
isShown: boolean;
|
|
61
|
+
}>;
|
|
62
|
+
export default _default;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare enum BentoTypographyVariant {
|
|
2
|
+
CAPTION = "caption",
|
|
3
|
+
BODY = "body",
|
|
4
|
+
SUBTITLE = "subtitle",
|
|
5
|
+
TITLE = "title"
|
|
6
|
+
}
|
|
7
|
+
export declare enum BentoTypographyModifier {
|
|
8
|
+
WIDE = "wide",
|
|
9
|
+
STRONGER = "stronger",
|
|
10
|
+
STRONGER_WIDE = "stronger-wide",
|
|
11
|
+
STRONGEST = "strongest",
|
|
12
|
+
STRONGEST_WIDE = "strongest-wide",
|
|
13
|
+
MEDIUM = "m",
|
|
14
|
+
LARGE = "l",
|
|
15
|
+
MOBILE = "mobile"
|
|
16
|
+
}
|
|
17
|
+
export declare enum BentoTypographyElement {
|
|
18
|
+
H1 = "h1",
|
|
19
|
+
H2 = "h2",
|
|
20
|
+
H3 = "h3",
|
|
21
|
+
H4 = "h4",
|
|
22
|
+
H5 = "h5",
|
|
23
|
+
H6 = "h6",
|
|
24
|
+
DIV = "div",
|
|
25
|
+
PARAGRAPH = "p",
|
|
26
|
+
SPAN = "span"
|
|
27
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { BentoTypographyElement, BentoTypographyVariant } from './typography.types';
|
|
3
|
+
declare const _default: import("vue").DefineComponent<{
|
|
4
|
+
el: {
|
|
5
|
+
type: PropType<BentoTypographyElement>;
|
|
6
|
+
default: BentoTypographyElement;
|
|
7
|
+
validator: (value: BentoTypographyElement) => boolean;
|
|
8
|
+
};
|
|
9
|
+
stronger: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
strongest: {
|
|
14
|
+
type: BooleanConstructor;
|
|
15
|
+
default: boolean;
|
|
16
|
+
};
|
|
17
|
+
variant: {
|
|
18
|
+
type: PropType<BentoTypographyVariant>;
|
|
19
|
+
default: BentoTypographyVariant;
|
|
20
|
+
validator: (value: BentoTypographyVariant) => boolean;
|
|
21
|
+
};
|
|
22
|
+
medium: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
large: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
wide: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
default: boolean;
|
|
33
|
+
};
|
|
34
|
+
}, {
|
|
35
|
+
conditionalClasses: import("vue").ComputedRef<{
|
|
36
|
+
[x: string]: boolean;
|
|
37
|
+
}>;
|
|
38
|
+
}, {}, {}, {}, import("vue/types/v3-component-options").ComponentOptionsMixin, import("vue/types/v3-component-options").ComponentOptionsMixin, {}, string, Readonly<import("vue").ExtractPropTypes<{
|
|
39
|
+
el: {
|
|
40
|
+
type: PropType<BentoTypographyElement>;
|
|
41
|
+
default: BentoTypographyElement;
|
|
42
|
+
validator: (value: BentoTypographyElement) => boolean;
|
|
43
|
+
};
|
|
44
|
+
stronger: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
strongest: {
|
|
49
|
+
type: BooleanConstructor;
|
|
50
|
+
default: boolean;
|
|
51
|
+
};
|
|
52
|
+
variant: {
|
|
53
|
+
type: PropType<BentoTypographyVariant>;
|
|
54
|
+
default: BentoTypographyVariant;
|
|
55
|
+
validator: (value: BentoTypographyVariant) => boolean;
|
|
56
|
+
};
|
|
57
|
+
medium: {
|
|
58
|
+
type: BooleanConstructor;
|
|
59
|
+
default: boolean;
|
|
60
|
+
};
|
|
61
|
+
large: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
wide: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
}>>, {
|
|
70
|
+
medium: boolean;
|
|
71
|
+
el: BentoTypographyElement;
|
|
72
|
+
large: boolean;
|
|
73
|
+
stronger: boolean;
|
|
74
|
+
strongest: boolean;
|
|
75
|
+
variant: BentoTypographyVariant;
|
|
76
|
+
wide: boolean;
|
|
77
|
+
}>;
|
|
78
|
+
export default _default;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import {
|
|
2
|
+
// ADL
|
|
3
|
+
// AdlAccordion,
|
|
4
|
+
// AdlAccordionItem,
|
|
5
|
+
// AdlAlert,
|
|
6
|
+
// AdlBadge,
|
|
7
|
+
// AdlCard,
|
|
8
|
+
// AdlCardImage,
|
|
9
|
+
// AdlDropdown,
|
|
10
|
+
// AdlPageHeader,
|
|
11
|
+
// AdlProfilePicture,
|
|
12
|
+
// AdlSegmentedControl,
|
|
13
|
+
// AdlSegmentedOption,
|
|
14
|
+
// AdlTab,
|
|
15
|
+
// AdlTabs,
|
|
16
|
+
// AdlTextarea,
|
|
17
|
+
|
|
18
|
+
// Bento
|
|
19
|
+
BentoButton,
|
|
20
|
+
BentoButtonActions,
|
|
21
|
+
BentoButtonGroup,
|
|
22
|
+
BentoCheckbox,
|
|
23
|
+
BentoDataGrid,
|
|
24
|
+
BentoInputField,
|
|
25
|
+
BentoInputRadio,
|
|
26
|
+
BentoLink,
|
|
27
|
+
BentoLoadingButton,
|
|
28
|
+
BentoLoadingIndicator,
|
|
29
|
+
BentoPagination,
|
|
30
|
+
BentoPopover,
|
|
31
|
+
BentoStatus,
|
|
32
|
+
BentoTag,
|
|
33
|
+
BentoToggle,
|
|
34
|
+
BentoTooltip,
|
|
35
|
+
BentoTypography,
|
|
36
|
+
} from './index';
|
|
37
|
+
|
|
38
|
+
declare module 'vue' {
|
|
39
|
+
export interface GlobalComponents {
|
|
40
|
+
// ADL
|
|
41
|
+
// AdlAccordion: typeof AdlAccordion;
|
|
42
|
+
// AdlAccordionItem: typeof AdlAccordionItem;
|
|
43
|
+
// AdlAlert: typeof AdlAlert;
|
|
44
|
+
// AdlBadge: typeof AdlBadge;
|
|
45
|
+
// AdlCard: typeof AdlCard;
|
|
46
|
+
// AdlCardImage: typeof AdlCardImage;
|
|
47
|
+
// AdlDropdown: typeof AdlDropdown;
|
|
48
|
+
// AdlProfilePicture: typeof AdlProfilePicture;
|
|
49
|
+
// AdlPageHeader: typeof AdlPageHeader;
|
|
50
|
+
// AdlSegmentedControl: typeof AdlSegmentedControl;
|
|
51
|
+
// AdlSegmentedOption: typeof AdlSegmentedOption;
|
|
52
|
+
// AdlTabs: typeof AdlTabs;
|
|
53
|
+
// AdlTab: typeof AdlTab;
|
|
54
|
+
// AdlTextarea: typeof AdlTextarea;
|
|
55
|
+
|
|
56
|
+
// Bento
|
|
57
|
+
BentoButton: typeof BentoButton;
|
|
58
|
+
BentoButtonGroup: typeof BentoButtonGroup;
|
|
59
|
+
BentoButtonActions: typeof BentoButtonActions;
|
|
60
|
+
BentoCheckbox: typeof BentoCheckbox;
|
|
61
|
+
BentoDataGrid: typeof BentoDataGrid;
|
|
62
|
+
BentoInputField: typeof BentoInputField;
|
|
63
|
+
BentoInputRadio: typeof BentoInputRadio;
|
|
64
|
+
BentoLink: typeof BentoLink;
|
|
65
|
+
BentoLoadingButton: typeof BentoLoadingButton;
|
|
66
|
+
BentoLoadingIndicator: typeof BentoLoadingIndicator;
|
|
67
|
+
BentoPagination: typeof BentoPagination;
|
|
68
|
+
BentoPopover: typeof BentoPopover;
|
|
69
|
+
BentoStatus: typeof BentoStatus;
|
|
70
|
+
BentoTag: typeof BentoTag;
|
|
71
|
+
BentoToggle: typeof BentoToggle;
|
|
72
|
+
BentoTooltip: typeof BentoTooltip;
|
|
73
|
+
BentoTypography: typeof BentoTypography;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as BentoTooltipDirective } from './tooltip';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import BentoVue from './install';
|
|
2
|
+
export * from './components/button';
|
|
3
|
+
export * from './components/data-grid';
|
|
4
|
+
export * from './components/checkbox';
|
|
5
|
+
export * from './components/filter-bar';
|
|
6
|
+
export * from './components/input-radio';
|
|
7
|
+
export * from './components/input-field';
|
|
8
|
+
export * from './components/loading-indicator';
|
|
9
|
+
export * from './components/link';
|
|
10
|
+
export * from './components/pagination';
|
|
11
|
+
export * from './components/popover';
|
|
12
|
+
export * from './components/status';
|
|
13
|
+
export * from './components/tag';
|
|
14
|
+
export * from './components/toggle';
|
|
15
|
+
export * from './components/tooltip';
|
|
16
|
+
export * from './components/typography';
|
|
17
|
+
export * from './types';
|
|
18
|
+
export * from './directives';
|
|
19
|
+
export default BentoVue;
|
|
20
|
+
export { BentoTheme } from './install';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './label-position';
|