@db-ux/v-core-components 2.1.2 → 2.2.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/components/custom-select/custom-select.vue.d.ts +1 -1
- package/dist/components/custom-select/model.d.ts +3 -3
- package/dist/components/input/input.vue.d.ts +1 -0
- package/dist/components/link/link.vue.d.ts +1 -1
- package/dist/components/popover/model.d.ts +0 -1
- package/dist/components/tab-panel/tab-panel.vue.d.ts +1 -1
- package/dist/components/textarea/model.d.ts +4 -0
- package/dist/components/textarea/textarea.vue.d.ts +2 -0
- package/dist/components/tooltip/model.d.ts +5 -3
- package/dist/db-ux.es.js +1955 -1753
- package/dist/db-ux.umd.js +1 -1
- package/dist/shared/model.d.ts +18 -3
- package/dist/utils/document-scroll-listener.d.ts +9 -0
- package/dist/utils/floating-components.d.ts +7 -0
- package/dist/utils/index.d.ts +4 -13
- package/dist/utils/navigation.d.ts +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export interface DBDataOutsidePair {
|
|
2
|
+
vx?: 'left' | 'right';
|
|
3
|
+
vy?: 'top' | 'bottom';
|
|
4
|
+
}
|
|
5
|
+
export declare const handleDataOutside: (el: HTMLElement) => DBDataOutsidePair;
|
|
6
|
+
export declare const handleFixedDropdown: (element: HTMLElement, parent: HTMLElement, placement: string) => void;
|
|
7
|
+
export declare const handleFixedPopover: (element: HTMLElement, parent: HTMLElement, placement: string) => void;
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -7,19 +7,6 @@ export type ClassNameArg = string | {
|
|
|
7
7
|
[key: string]: boolean | undefined;
|
|
8
8
|
} | undefined;
|
|
9
9
|
export declare const cls: (...args: ClassNameArg[]) => string;
|
|
10
|
-
export declare const visibleInVX: (el: Element) => boolean;
|
|
11
|
-
export declare const visibleInVY: (el: Element) => boolean;
|
|
12
|
-
export declare const isInView: (el: Element) => {
|
|
13
|
-
outTop: boolean;
|
|
14
|
-
outBottom: boolean;
|
|
15
|
-
outLeft: boolean;
|
|
16
|
-
outRight: boolean;
|
|
17
|
-
};
|
|
18
|
-
export interface DBDataOutsidePair {
|
|
19
|
-
vx?: 'left' | 'right';
|
|
20
|
-
vy?: 'top' | 'bottom';
|
|
21
|
-
}
|
|
22
|
-
export declare const handleDataOutside: (el: Element) => DBDataOutsidePair;
|
|
23
10
|
export declare const isArrayOfStrings: (value: unknown) => value is string[];
|
|
24
11
|
export declare const hasVoiceOver: () => boolean;
|
|
25
12
|
export declare const delay: (fn: () => void, ms: number) => Promise<unknown>;
|
|
@@ -45,3 +32,7 @@ export declare const getInputValue: (value?: number | string, inputType?: string
|
|
|
45
32
|
export declare const getHideProp: (show?: boolean | string) => any;
|
|
46
33
|
export declare const stringPropVisible: (givenString?: string, showString?: boolean | string) => boolean;
|
|
47
34
|
export declare const getSearchInput: (element: HTMLElement) => HTMLInputElement | null;
|
|
35
|
+
export declare const getOptionKey: (option: {
|
|
36
|
+
id?: string;
|
|
37
|
+
value?: string | number | string[] | undefined;
|
|
38
|
+
}, prefix: string) => string;
|
|
@@ -15,7 +15,7 @@ export declare class NavigationItemSafeTriangle {
|
|
|
15
15
|
private initialized;
|
|
16
16
|
private mouseX;
|
|
17
17
|
private mouseY;
|
|
18
|
-
constructor(element: HTMLElement | null, subNavigation:
|
|
18
|
+
constructor(element: HTMLElement | null, subNavigation: HTMLElement | null);
|
|
19
19
|
private init;
|
|
20
20
|
enableFollow(): void;
|
|
21
21
|
disableFollow(): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@db-ux/v-core-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Vue components for @db-ux/core-components",
|
|
6
6
|
"repository": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"tsx": "^4.19.4",
|
|
44
44
|
"typescript": "^5.4.5",
|
|
45
45
|
"vite": "^6.3.5",
|
|
46
|
-
"vue": "^3.5.
|
|
46
|
+
"vue": "^3.5.16",
|
|
47
47
|
"vue-tsc": "^2.2.10"
|
|
48
48
|
},
|
|
49
49
|
"publishConfig": {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"sideEffects": false,
|
|
54
54
|
"source": "src/index.ts",
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@db-ux/core-components": "2.
|
|
57
|
-
"@db-ux/core-foundations": "2.
|
|
56
|
+
"@db-ux/core-components": "2.2.0",
|
|
57
|
+
"@db-ux/core-foundations": "2.2.0"
|
|
58
58
|
}
|
|
59
59
|
}
|