@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.
Files changed (172) hide show
  1. package/README.md +115 -0
  2. package/dist/@types/components/accordion/accordion.keys.d.ts +1 -0
  3. package/dist/@types/components/accordion/accordion.types.d.ts +24 -0
  4. package/dist/@types/components/accordion/accordion.vue.d.ts +57 -0
  5. package/dist/@types/components/accordion/components/accordion-item.vue.d.ts +35 -0
  6. package/dist/@types/components/accordion/index.d.ts +3 -0
  7. package/dist/@types/components/alert/alert.types.d.ts +6 -0
  8. package/dist/@types/components/alert/alert.vue.d.ts +34 -0
  9. package/dist/@types/components/alert/index.d.ts +2 -0
  10. package/dist/@types/components/badge/badge.types.d.ts +7 -0
  11. package/dist/@types/components/badge/badge.vue.d.ts +32 -0
  12. package/dist/@types/components/badge/index.d.ts +2 -0
  13. package/dist/@types/components/button/button.types.d.ts +11 -0
  14. package/dist/@types/components/button/button.vue.d.ts +68 -0
  15. package/dist/@types/components/button/components/button-actions/button-actions.types.d.ts +13 -0
  16. package/dist/@types/components/button/components/button-actions/button-actions.vue.d.ts +33 -0
  17. package/dist/@types/components/button/components/button-actions/index.d.ts +2 -0
  18. package/dist/@types/components/button/components/button-group.vue.d.ts +9 -0
  19. package/dist/@types/components/button/components/loading-button/index.d.ts +2 -0
  20. package/dist/@types/components/button/components/loading-button/loading-button.types.d.ts +9 -0
  21. package/dist/@types/components/button/components/loading-button/loading-button.vue.d.ts +55 -0
  22. package/dist/@types/components/button/index.d.ts +5 -0
  23. package/dist/@types/components/card/card.types.d.ts +10 -0
  24. package/dist/@types/components/card/card.vue.d.ts +44 -0
  25. package/dist/@types/components/card/components/card-image/card-image.vue.d.ts +20 -0
  26. package/dist/@types/components/card/index.d.ts +3 -0
  27. package/dist/@types/components/checkbox/checkbox.types.d.ts +2 -0
  28. package/dist/@types/components/checkbox/checkbox.vue.d.ts +59 -0
  29. package/dist/@types/components/checkbox/index.d.ts +2 -0
  30. package/dist/@types/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.d.ts +10 -0
  31. package/dist/@types/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.types.d.ts +10 -0
  32. package/dist/@types/components/data-grid/composables/useResizer.d.ts +17 -0
  33. package/dist/@types/components/data-grid/composables/useSelector.d.ts +11 -0
  34. package/dist/@types/components/data-grid/composables/useSorter.d.ts +8 -0
  35. package/dist/@types/components/data-grid/data-grid.types.d.ts +33 -0
  36. package/dist/@types/components/data-grid/data-grid.vue.d.ts +290 -0
  37. package/dist/@types/components/data-grid/index.d.ts +2 -0
  38. package/dist/@types/components/dropdown/components/dropdown-input-container/dropdown-input-container.vue.d.ts +68 -0
  39. package/dist/@types/components/dropdown/components/dropdown-input-container/index.d.ts +1 -0
  40. package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-option/dropdown-option.vue.d.ts +38 -0
  41. package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-option/index.d.ts +1 -0
  42. package/dist/@types/components/dropdown/components/dropdown-options-container/dropdown-options-container.vue.d.ts +86 -0
  43. package/dist/@types/components/dropdown/components/dropdown-options-container/index.d.ts +1 -0
  44. package/dist/@types/components/dropdown/dropdown.types.d.ts +7 -0
  45. package/dist/@types/components/dropdown/dropdown.vue.d.ts +59 -0
  46. package/dist/@types/components/dropdown/index.d.ts +2 -0
  47. package/dist/@types/components/filter-bar/components/base-filter/base-filter.vue.d.ts +94 -0
  48. package/dist/@types/components/filter-bar/components/base-filter/composables/index.d.ts +9 -0
  49. package/dist/@types/components/filter-bar/components/base-filter/index.d.ts +1 -0
  50. package/dist/@types/components/filter-bar/components/text-filter/index.d.ts +1 -0
  51. package/dist/@types/components/filter-bar/components/text-filter/text-filter.vue.d.ts +49 -0
  52. package/dist/@types/components/filter-bar/filter-bar.types.d.ts +15 -0
  53. package/dist/@types/components/filter-bar/filter-bar.vue.d.ts +19 -0
  54. package/dist/@types/components/filter-bar/index.d.ts +2 -0
  55. package/dist/@types/components/focus-trap/focus-trap.types.d.ts +18 -0
  56. package/dist/@types/components/focus-trap/focus-trap.utils.d.ts +8 -0
  57. package/dist/@types/components/focus-trap/focus-trap.vue.d.ts +39 -0
  58. package/dist/@types/components/focus-trap/index.d.ts +1 -0
  59. package/dist/@types/components/input-field/index.d.ts +1 -0
  60. package/dist/@types/components/input-field/input-field.types.d.ts +13 -0
  61. package/dist/@types/components/input-field/input-field.vue.d.ts +74 -0
  62. package/dist/@types/components/input-radio/index.d.ts +1 -0
  63. package/dist/@types/components/input-radio/input-radio.vue.d.ts +45 -0
  64. package/dist/@types/components/link/index.d.ts +1 -0
  65. package/dist/@types/components/link/link.vue.d.ts +25 -0
  66. package/dist/@types/components/loading-indicator/index.d.ts +2 -0
  67. package/dist/@types/components/loading-indicator/loading-indicator.types.d.ts +4 -0
  68. package/dist/@types/components/loading-indicator/loading-indicator.vue.d.ts +39 -0
  69. package/dist/@types/components/page-header/components/title-item/title-item.vue.d.ts +12 -0
  70. package/dist/@types/components/page-header/index.d.ts +1 -0
  71. package/dist/@types/components/page-header/page-header.vue.d.ts +12 -0
  72. package/dist/@types/components/pagination/components/pagination-context/pagination-context.vue.d.ts +32 -0
  73. package/dist/@types/components/pagination/components/pagination-controls/pagination-controls.vue.d.ts +39 -0
  74. package/dist/@types/components/pagination/components/pagination-results-per-page/pagination-results-per-page.vue.d.ts +35 -0
  75. package/dist/@types/components/pagination/index.d.ts +1 -0
  76. package/dist/@types/components/pagination/pagination.vue.d.ts +59 -0
  77. package/dist/@types/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue.d.ts +20 -0
  78. package/dist/@types/components/popover/components/popover-image/index.d.ts +1 -0
  79. package/dist/@types/components/popover/components/popover-image/popover-image.vue.d.ts +20 -0
  80. package/dist/@types/components/popover/index.d.ts +2 -0
  81. package/dist/@types/components/popover/popover.types.d.ts +19 -0
  82. package/dist/@types/components/popover/popover.vue.d.ts +131 -0
  83. package/dist/@types/components/popper-container/index.d.ts +2 -0
  84. package/dist/@types/components/popper-container/popper-container.types.d.ts +54 -0
  85. package/dist/@types/components/popper-container/popper-container.utils.d.ts +23 -0
  86. package/dist/@types/components/popper-container/popper-container.vue.d.ts +116 -0
  87. package/dist/@types/components/profile-picture/index.d.ts +2 -0
  88. package/dist/@types/components/profile-picture/profile-picture.types.d.ts +4 -0
  89. package/dist/@types/components/profile-picture/profile-picture.vue.d.ts +42 -0
  90. package/dist/@types/components/segmented-control/components/segmented-option.vue.d.ts +59 -0
  91. package/dist/@types/components/segmented-control/index.d.ts +3 -0
  92. package/dist/@types/components/segmented-control/segmented-control.keys.d.ts +1 -0
  93. package/dist/@types/components/segmented-control/segmented-control.types.d.ts +15 -0
  94. package/dist/@types/components/segmented-control/segmented-control.vue.d.ts +42 -0
  95. package/dist/@types/components/status/index.d.ts +2 -0
  96. package/dist/@types/components/status/status.types.d.ts +8 -0
  97. package/dist/@types/components/status/status.vue.d.ts +23 -0
  98. package/dist/@types/components/tabs/components/tab.vue.d.ts +59 -0
  99. package/dist/@types/components/tabs/index.d.ts +3 -0
  100. package/dist/@types/components/tabs/tabs.keys.d.ts +1 -0
  101. package/dist/@types/components/tabs/tabs.types.d.ts +9 -0
  102. package/dist/@types/components/tabs/tabs.vue.d.ts +17 -0
  103. package/dist/@types/components/tag/index.d.ts +2 -0
  104. package/dist/@types/components/tag/tag.types.d.ts +7 -0
  105. package/dist/@types/components/tag/tag.vue.d.ts +37 -0
  106. package/dist/@types/components/textarea/index.d.ts +1 -0
  107. package/dist/@types/components/textarea/textarea.vue.d.ts +43 -0
  108. package/dist/@types/components/toggle/index.d.ts +2 -0
  109. package/dist/@types/components/toggle/toggle.types.d.ts +3 -0
  110. package/dist/@types/components/toggle/toggle.vue.d.ts +60 -0
  111. package/dist/@types/components/tooltip/index.d.ts +2 -0
  112. package/dist/@types/components/tooltip/tooltip.types.d.ts +17 -0
  113. package/dist/@types/components/tooltip/tooltip.vue.d.ts +62 -0
  114. package/dist/@types/components/typography/index.d.ts +2 -0
  115. package/dist/@types/components/typography/typography.types.d.ts +27 -0
  116. package/dist/@types/components/typography/typography.vue.d.ts +78 -0
  117. package/dist/@types/components.d.ts +75 -0
  118. package/dist/@types/directives/index.d.ts +1 -0
  119. package/dist/@types/directives/tooltip.d.ts +3 -0
  120. package/dist/@types/i18n/index.d.ts +8 -0
  121. package/dist/@types/index.d.ts +20 -0
  122. package/dist/@types/install.d.ts +10 -0
  123. package/dist/@types/types/index.d.ts +1 -0
  124. package/dist/@types/types/label-position.d.ts +4 -0
  125. package/dist/@types/types/maybe-ref.d.ts +2 -0
  126. package/dist/@types/types/utils-events.d.ts +9 -0
  127. package/dist/@types/types/vue-node-element.d.ts +2 -0
  128. package/dist/@types/utils/ts/events.d.ts +2 -0
  129. package/dist/@types/utils/ts/i18n.d.ts +12 -0
  130. package/dist/@types/utils/ts/inject-css.d.ts +2 -0
  131. package/dist/@types/utils/ts/resize.d.ts +1 -0
  132. package/dist/@types/utils/ts/storybook.d.ts +8 -0
  133. package/dist/@types/utils/ts/unique-id.d.ts +1 -0
  134. package/dist/fonts/Inter-Bold.otf +0 -0
  135. package/dist/fonts/Inter-Bold.ttf +0 -0
  136. package/dist/fonts/Inter-Bold.woff +0 -0
  137. package/dist/fonts/Inter-Bold.woff2 +0 -0
  138. package/dist/fonts/Inter-ExtraBold.otf +0 -0
  139. package/dist/fonts/Inter-ExtraBold.ttf +0 -0
  140. package/dist/fonts/Inter-ExtraBold.woff +0 -0
  141. package/dist/fonts/Inter-ExtraBold.woff2 +0 -0
  142. package/dist/fonts/Inter-ExtraLight.otf +0 -0
  143. package/dist/fonts/Inter-ExtraLight.ttf +0 -0
  144. package/dist/fonts/Inter-ExtraLight.woff +0 -0
  145. package/dist/fonts/Inter-ExtraLight.woff2 +0 -0
  146. package/dist/fonts/Inter-Italic.woff +0 -0
  147. package/dist/fonts/Inter-Italic.woff2 +0 -0
  148. package/dist/fonts/Inter-Light.otf +0 -0
  149. package/dist/fonts/Inter-Light.ttf +0 -0
  150. package/dist/fonts/Inter-Light.woff +0 -0
  151. package/dist/fonts/Inter-Light.woff2 +0 -0
  152. package/dist/fonts/Inter-Medium.otf +0 -0
  153. package/dist/fonts/Inter-Medium.ttf +0 -0
  154. package/dist/fonts/Inter-Medium.woff +0 -0
  155. package/dist/fonts/Inter-Medium.woff2 +0 -0
  156. package/dist/fonts/Inter-Regular.otf +0 -0
  157. package/dist/fonts/Inter-Regular.ttf +0 -0
  158. package/dist/fonts/Inter-Regular.woff +0 -0
  159. package/dist/fonts/Inter-Regular.woff2 +0 -0
  160. package/dist/fonts/Inter-SemiBold.otf +0 -0
  161. package/dist/fonts/Inter-SemiBold.ttf +0 -0
  162. package/dist/fonts/Inter-SemiBold.woff +0 -0
  163. package/dist/fonts/Inter-SemiBold.woff2 +0 -0
  164. package/dist/fonts/Inter-Thin.otf +0 -0
  165. package/dist/fonts/Inter-Thin.ttf +0 -0
  166. package/dist/fonts/Inter-Thin.woff +0 -0
  167. package/dist/fonts/Inter-Thin.woff2 +0 -0
  168. package/dist/fonts/fonts.css +71 -0
  169. package/dist/index.js +3189 -0
  170. package/dist/index.js.map +1 -0
  171. package/dist/web-types.json +2703 -0
  172. package/package.json +101 -0
@@ -0,0 +1,2 @@
1
+ export { default as BentoStatus } from './status.vue';
2
+ export * from './status.types';
@@ -0,0 +1,8 @@
1
+ export declare enum BentoStatusVariant {
2
+ BLUE = "blue",
3
+ GREEN = "green",
4
+ GREY = "grey",
5
+ ORANGE = "orange",
6
+ RED = "red",
7
+ YELLOW = "yellow"
8
+ }
@@ -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,3 @@
1
+ export { default as AdlTab } from './components/tab.vue';
2
+ export { default as AdlTabs } from './tabs.vue';
3
+ export * from './tabs.types';
@@ -0,0 +1 @@
1
+ export declare const TABS_INJECTION_KEY: unique symbol;
@@ -0,0 +1,9 @@
1
+ export declare enum AdlTabsHandleState {
2
+ ACTIVE = "active",
3
+ DISABLED = "disabled"
4
+ }
5
+ export interface AdlTabApi {
6
+ getActiveTab: () => string;
7
+ setActiveTab: (name: string) => void;
8
+ getTabsId: () => string;
9
+ }
@@ -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,2 @@
1
+ export { default as BentoTag } from './tag.vue';
2
+ export * from './tag.types';
@@ -0,0 +1,7 @@
1
+ export declare enum BentoTagVariant {
2
+ DEFAULT = "default",
3
+ BLUE = "blue",
4
+ GREEN = "green",
5
+ ORANGE = "orange",
6
+ RED = "red"
7
+ }
@@ -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,2 @@
1
+ export { default as BentoToggle } from './toggle.vue';
2
+ export * from './toggle.types';
@@ -0,0 +1,3 @@
1
+ export declare enum BentoTogglePropClass {
2
+ LABEL_FIRST = "label-first"
3
+ }
@@ -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,2 @@
1
+ export { default as BentoTooltip } from './tooltip.vue';
2
+ export { BentoTooltipPosition, BentoTooltipState } from './tooltip.types';
@@ -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,2 @@
1
+ export { default as BentoTypography } from './typography.vue';
2
+ export * from './typography.types';
@@ -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,3 @@
1
+ import { DirectiveOptions } from 'vue';
2
+ declare const TooltipDirective: DirectiveOptions;
3
+ export default TooltipDirective;
@@ -0,0 +1,8 @@
1
+ import VueI18n from 'vue-i18n';
2
+ export declare const defaultI18nOptions: {
3
+ locale: string;
4
+ fallbackLocale: string;
5
+ fallbackRoot: boolean;
6
+ };
7
+ declare const _default: (options?: {}) => VueI18n;
8
+ export default _default;
@@ -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,10 @@
1
+ import type { PluginObject } from 'vue';
2
+ export declare enum BentoTheme {
3
+ LEGACY = "b-legacy-theme",
4
+ BENTO = ""
5
+ }
6
+ interface BentoVuePlugin {
7
+ theme: BentoTheme;
8
+ }
9
+ declare const _default: PluginObject<BentoVuePlugin>;
10
+ export default _default;
@@ -0,0 +1 @@
1
+ export * from './label-position';
@@ -0,0 +1,4 @@
1
+ export declare enum AdlLabelPosition {
2
+ BEFORE = "before",
3
+ AFTER = "after"
4
+ }
@@ -0,0 +1,2 @@
1
+ import { Ref } from 'vue';
2
+ export type MaybeRef<T> = T | Ref<T>;
@@ -0,0 +1,9 @@
1
+ import Vue from 'vue';
2
+ export interface ListenOptions {
3
+ capture?: boolean;
4
+ passive?: boolean;
5
+ once?: boolean;
6
+ self?: boolean;
7
+ vm?: Vue;
8
+ onCleanup?: () => void;
9
+ }
@@ -0,0 +1,2 @@
1
+ import Vue from 'vue';
2
+ export type VueNodeElement = Vue | Element | (Vue | Element)[] | undefined;
@@ -0,0 +1,2 @@
1
+ import { ListenOptions } from '../../types/utils-events';
2
+ export declare function listen(target: EventTarget, type: string, listener: EventListener, options?: ListenOptions): any;