@adyen/bento-vue2 0.0.5 → 0.0.7
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 +13 -1
- package/dist/@types/components/button/button.vue.d.ts +0 -3
- package/dist/@types/components/button/components/button-actions/button-actions.types.d.ts +1 -1
- package/dist/@types/components/button/components/button-group.vue.d.ts +2 -2
- package/dist/@types/components/button/components/loading-button/loading-button.types.d.ts +1 -1
- package/dist/@types/components/card/card.vue.d.ts +9 -11
- package/dist/@types/components/card/components/card-image/card-image.vue.d.ts +1 -1
- package/dist/@types/components/checkbox/checkbox.types.d.ts +2 -2
- package/dist/@types/components/controls-group/controls-group.vue.d.ts +49 -0
- package/dist/@types/components/controls-group/index.d.ts +1 -0
- package/dist/@types/components/data-grid/composables/useCalculateColumnWidth/useCalculateColumnWidth.types.d.ts +1 -1
- package/dist/@types/components/data-grid/data-grid.types.d.ts +5 -5
- package/dist/@types/components/data-grid/data-grid.vue.d.ts +1 -1
- package/dist/@types/components/dropdown/components/dropdown-input-container/dropdown-input-container.vue.d.ts +1 -1
- package/dist/@types/components/dropdown/components/dropdown-options-container/components/dropdown-option/dropdown-option.vue.d.ts +1 -1
- package/dist/@types/components/dropdown/dropdown.types.d.ts +3 -3
- package/dist/@types/components/filter-bar/components/base-filter/base-filter.vue.d.ts +1 -1
- package/dist/@types/components/filter-bar/filter-bar.types.d.ts +1 -1
- package/dist/@types/components/focus-trap/focus-trap.types.d.ts +4 -4
- package/dist/@types/components/focus-trap/focus-trap.utils.d.ts +2 -2
- package/dist/@types/components/focus-trap/focus-trap.vue.d.ts +5 -5
- package/dist/@types/components/focus-trap/index.d.ts +1 -1
- package/dist/@types/components/input-field/input-field.vue.d.ts +1 -1
- package/dist/@types/components/link/link.vue.d.ts +4 -4
- package/dist/@types/components/page-header/components/title-item/title-item.vue.d.ts +1 -1
- package/dist/@types/components/popover/components/popover-dismiss-button/popover-dismiss-button.vue.d.ts +1 -1
- package/dist/@types/components/popover/components/popover-image/popover-image.vue.d.ts +1 -1
- package/dist/@types/components/popover/components/popover-title/popover-title.vue.d.ts +1 -1
- package/dist/@types/components/popover/popover.types.d.ts +1 -1
- package/dist/@types/components/popper-container/popper-container.types.d.ts +8 -8
- package/dist/@types/components/popper-container/popper-container.vue.d.ts +9 -0
- package/dist/@types/components/profile-picture/profile-picture.vue.d.ts +7 -7
- package/dist/@types/components/radio-button/radio-button.vue.d.ts +1 -1
- package/dist/@types/components/textarea/textarea.vue.d.ts +4 -4
- package/dist/@types/components/tooltip/index.d.ts +1 -2
- package/dist/@types/components/tooltip/tooltip.vue.d.ts +49 -15
- package/dist/@types/components.d.ts +0 -2
- package/dist/@types/directives/click-outside/directive.d.ts +1 -1
- package/dist/@types/directives/click-outside/types.d.ts +1 -1
- package/dist/@types/directives/click-outside/useEventListener/types.d.ts +3 -3
- package/dist/@types/directives/index.d.ts +2 -1
- package/dist/@types/directives/tooltip/index.d.ts +2 -0
- package/dist/@types/directives/tooltip/tooltip.d.ts +2 -0
- package/dist/@types/{components → directives}/tooltip/tooltip.types.d.ts +2 -2
- package/dist/@types/index.d.ts +0 -1
- package/dist/@types/types/elements.d.ts +5 -5
- package/dist/@types/types/functions.d.ts +2 -2
- package/dist/@types/types/maybe-ref.d.ts +1 -1
- package/dist/@types/types/refs.d.ts +3 -3
- package/dist/index.js +1377 -954
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/dist/@types/components/tooltip/components/tooltip-container.vue.d.ts +0 -70
- package/dist/@types/directives/tooltip.d.ts +0 -3
- package/dist/web-types.json +0 -2842
|
@@ -32,7 +32,6 @@ import {
|
|
|
32
32
|
BentoStatus,
|
|
33
33
|
BentoTag,
|
|
34
34
|
BentoToggle,
|
|
35
|
-
BentoTooltip,
|
|
36
35
|
BentoTypography,
|
|
37
36
|
} from './index';
|
|
38
37
|
|
|
@@ -71,7 +70,6 @@ declare module 'vue' {
|
|
|
71
70
|
BentoStatus: typeof BentoStatus;
|
|
72
71
|
BentoTag: typeof BentoTag;
|
|
73
72
|
BentoToggle: typeof BentoToggle;
|
|
74
|
-
BentoTooltip: typeof BentoTooltip;
|
|
75
73
|
BentoTypography: typeof BentoTypography;
|
|
76
74
|
}
|
|
77
75
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export type Arrayable<T> = T[] | T;
|
|
2
|
+
export type WindowEventName = keyof WindowEventMap;
|
|
3
|
+
export type DocumentEventName = keyof DocumentEventMap;
|
|
4
4
|
export interface GeneralEventListener<E = Event> {
|
|
5
5
|
(evt: E): void;
|
|
6
6
|
}
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
export
|
|
1
|
+
export * from './click-outside';
|
|
2
|
+
export * from './tooltip';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { PopperContainerPositionBasic } from '
|
|
1
|
+
import { PopperContainerPositionBasic } from '../../components/popper-container';
|
|
2
2
|
export declare const BentoTooltipPosition: {
|
|
3
3
|
TOP: PopperContainerPositionBasic.TOP;
|
|
4
4
|
RIGHT: PopperContainerPositionBasic.RIGHT;
|
|
5
5
|
BOTTOM: PopperContainerPositionBasic.BOTTOM;
|
|
6
6
|
LEFT: PopperContainerPositionBasic.LEFT;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type BentoTooltipPosition = PopperContainerPositionBasic;
|
|
9
9
|
export declare enum BentoTooltipState {
|
|
10
10
|
HIDDEN = "hidden"
|
|
11
11
|
}
|
package/dist/@types/index.d.ts
CHANGED
|
@@ -13,7 +13,6 @@ export * from './components/radio-button';
|
|
|
13
13
|
export * from './components/status';
|
|
14
14
|
export * from './components/tag';
|
|
15
15
|
export * from './components/toggle';
|
|
16
|
-
export * from './components/tooltip';
|
|
17
16
|
export * from './components/typography';
|
|
18
17
|
export * from './types';
|
|
19
18
|
export * from './directives';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import Vue from 'vue';
|
|
2
2
|
import type { ComponentPublicInstance } from 'vue';
|
|
3
3
|
import { MaybeComputedRef, MaybeRef } from './refs';
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
4
|
+
export type VueInstance = ComponentPublicInstance;
|
|
5
|
+
export type VueNodeElement = Vue | Element | (Vue | Element)[] | undefined;
|
|
6
|
+
export type MaybeElement = HTMLElement | SVGElement | VueInstance | undefined | null;
|
|
7
|
+
export type MaybeElementRef<T extends MaybeElement = MaybeElement> = MaybeRef<T>;
|
|
8
|
+
export type MaybeComputedElementRef<T extends MaybeElement = MaybeElement> = MaybeComputedRef<T>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
1
|
+
export type Fn = () => void;
|
|
2
|
+
export type AnyFn<T> = (...args: T[]) => T;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
|
-
export
|
|
2
|
+
export type MaybeRef<T> = T | Ref<T>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ComputedRef, Ref } from 'vue';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
2
|
+
export type MaybeRef<T> = T | Ref<T>;
|
|
3
|
+
export type MaybeReadonlyRef<T> = (() => T) | ComputedRef<T>;
|
|
4
|
+
export type MaybeComputedRef<T> = MaybeReadonlyRef<T> | MaybeRef<T>;
|