@db-ux/v-core-components 4.14.0 → 5.0.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/CHANGELOG.md +28 -0
- package/agent/Drawer.md +0 -8
- package/agent/TabItem.md +2 -2
- package/agent/Tabs.md +23 -20
- package/agent/_instructions.md +1 -1
- package/dist/components/drawer/drawer.vue.d.ts +7 -7
- package/dist/components/drawer/model.d.ts +20 -5
- package/dist/components/drawer-footer/drawer-footer.vue.d.ts +18 -0
- package/dist/components/drawer-footer/index.d.ts +1 -0
- package/dist/components/drawer-footer/model.d.ts +5 -0
- package/dist/components/drawer-header/drawer-header.vue.d.ts +26 -0
- package/dist/components/drawer-header/index.d.ts +1 -0
- package/dist/components/drawer-header/model.d.ts +9 -0
- package/dist/components/header/header.vue.d.ts +3 -2
- package/dist/components/header/model.d.ts +5 -1
- package/dist/components/stack/model.d.ts +1 -1
- package/dist/components/tab-item/model.d.ts +24 -13
- package/dist/components/tab-item/tab-item.vue.d.ts +5 -12
- package/dist/components/tab-list/model.d.ts +5 -5
- package/dist/components/tab-list/tab-list.vue.d.ts +3 -1
- package/dist/components/tab-panel/model.d.ts +6 -4
- package/dist/components/tab-panel/tab-panel.vue.d.ts +1 -7
- package/dist/components/tabs/model.d.ts +93 -18
- package/dist/components/tabs/tabs.vue.d.ts +13 -13
- package/dist/db-ux.es.js +1108 -720
- package/dist/db-ux.umd.js +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/shared/model.d.ts +12 -20
- package/dist/utils/index.d.ts +9 -0
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -27,6 +27,10 @@ export * from './components/custom-select/model.js';
|
|
|
27
27
|
export * from './components/divider/index.js';
|
|
28
28
|
export * from './components/divider/model.js';
|
|
29
29
|
export * from './components/drawer/index.js';
|
|
30
|
+
export * from './components/drawer-footer/index.js';
|
|
31
|
+
export * from './components/drawer-footer/model.js';
|
|
32
|
+
export * from './components/drawer-header/index.js';
|
|
33
|
+
export * from './components/drawer-header/model.js';
|
|
30
34
|
export * from './components/drawer/model.js';
|
|
31
35
|
export * from './components/header/index.js';
|
|
32
36
|
export * from './components/header/model.js';
|
package/dist/shared/model.d.ts
CHANGED
|
@@ -25,6 +25,18 @@ export interface GlobalProps {
|
|
|
25
25
|
*/
|
|
26
26
|
propOverrides?: PropOverridesType;
|
|
27
27
|
}
|
|
28
|
+
export type StartSlotProps = {
|
|
29
|
+
/**
|
|
30
|
+
* Slot for start content, for example add a custom component between an icon and a label.
|
|
31
|
+
*/
|
|
32
|
+
startSlot?: any;
|
|
33
|
+
};
|
|
34
|
+
export type EndSlotProps = {
|
|
35
|
+
/**
|
|
36
|
+
* Slot for end content, for example add a custom component between an icon and a label.
|
|
37
|
+
*/
|
|
38
|
+
endSlot?: any;
|
|
39
|
+
};
|
|
28
40
|
export type PropOverridesType = Pick<GlobalProps, 'id'>;
|
|
29
41
|
export type GlobalState = {
|
|
30
42
|
_id?: string;
|
|
@@ -539,26 +551,6 @@ export type ValueLabelType = {
|
|
|
539
551
|
value: string;
|
|
540
552
|
label?: string;
|
|
541
553
|
};
|
|
542
|
-
export type OverflowScrollButtonProps = {
|
|
543
|
-
/**
|
|
544
|
-
* Change amount of scroll distance when clicking on an overflow scroll arrow button.
|
|
545
|
-
*/
|
|
546
|
-
arrowScrollDistance?: number | string;
|
|
547
|
-
/**
|
|
548
|
-
* Set the text for the scroll left button
|
|
549
|
-
*/
|
|
550
|
-
scrollLeftText?: string;
|
|
551
|
-
/**
|
|
552
|
-
* Set the text for the scroll right button
|
|
553
|
-
*/
|
|
554
|
-
scrollRightText?: string;
|
|
555
|
-
};
|
|
556
|
-
export type OverflowScrollButtonState = {
|
|
557
|
-
scroll: (left?: boolean) => void;
|
|
558
|
-
showScrollLeft?: boolean;
|
|
559
|
-
showScrollRight?: boolean;
|
|
560
|
-
evaluateScrollButtons: (tabList: Element) => void;
|
|
561
|
-
};
|
|
562
554
|
export type DocumentScrollState = {
|
|
563
555
|
_documentScrollListenerCallbackId?: string;
|
|
564
556
|
handleDocumentScroll: (event: any, parent?: HTMLElement) => void;
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -76,3 +76,12 @@ export declare const getNotificationRole: ({ semantic, role, ariaLive }: {
|
|
|
76
76
|
role?: string;
|
|
77
77
|
ariaLive?: string;
|
|
78
78
|
}) => string | undefined;
|
|
79
|
+
export declare const NAVIGATION_KEYS: readonly ["ArrowRight", "ArrowDown", "ArrowLeft", "ArrowUp", "Home", "End", "Enter", " "];
|
|
80
|
+
/**
|
|
81
|
+
* Checks whether the browser natively supports the `focusgroup` HTML attribute.
|
|
82
|
+
* When supported, the browser handles arrow-key navigation and roving tabindex
|
|
83
|
+
* for composite widgets (tablists, toolbars, etc.), so our JS fallback can be skipped.
|
|
84
|
+
*
|
|
85
|
+
* @public
|
|
86
|
+
*/
|
|
87
|
+
export declare const hasFocusgroupSupport: () => boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@db-ux/v-core-components",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Vue components for @db-ux/core-components",
|
|
6
6
|
"repository": {
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"dist/"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@db-ux/core-components": "
|
|
32
|
-
"@db-ux/core-foundations": "
|
|
31
|
+
"@db-ux/core-components": "5.0.0",
|
|
32
|
+
"@db-ux/core-foundations": "5.0.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@playwright/experimental-ct-vue": "1.60.0",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"replace-in-file": "8.4.0",
|
|
41
41
|
"tsx": "4.23.0",
|
|
42
42
|
"typescript": "5.9.3",
|
|
43
|
-
"vite": "8.1.
|
|
43
|
+
"vite": "8.1.4",
|
|
44
44
|
"vue": "3.5.39",
|
|
45
|
-
"vue-tsc": "3.3.
|
|
45
|
+
"vue-tsc": "3.3.7"
|
|
46
46
|
},
|
|
47
47
|
"publishConfig": {
|
|
48
48
|
"registry": "https://registry.npmjs.org/",
|