@db-ux/v-core-components 2.4.4 → 3.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/dist/components/accordion/accordion.vue.d.ts +1 -1
- package/dist/components/accordion-item/accordion-item.vue.d.ts +1 -1
- package/dist/components/badge/badge.vue.d.ts +1 -1
- package/dist/components/brand/brand.vue.d.ts +1 -1
- package/dist/components/button/button.vue.d.ts +5 -6
- package/dist/components/button/model.d.ts +6 -22
- package/dist/components/card/card.vue.d.ts +1 -1
- package/dist/components/checkbox/checkbox.vue.d.ts +1 -1
- package/dist/components/custom-select/custom-select.vue.d.ts +2 -2
- package/dist/components/custom-select/model.d.ts +1 -0
- package/dist/components/custom-select-dropdown/custom-select-dropdown.vue.d.ts +1 -1
- package/dist/components/custom-select-form-field/custom-select-form-field.vue.d.ts +1 -1
- package/dist/components/custom-select-list/custom-select-list.vue.d.ts +1 -1
- package/dist/components/custom-select-list-item/custom-select-list-item.vue.d.ts +1 -1
- package/dist/components/custom-select-list-item/model.d.ts +1 -1
- package/dist/components/divider/divider.vue.d.ts +1 -1
- package/dist/components/drawer/drawer.vue.d.ts +1 -1
- package/dist/components/header/header.vue.d.ts +1 -1
- package/dist/components/icon/icon.vue.d.ts +1 -1
- package/dist/components/infotext/infotext.vue.d.ts +1 -1
- package/dist/components/input/input.vue.d.ts +7 -3
- package/dist/components/input/model.d.ts +6 -2
- package/dist/components/link/link.vue.d.ts +3 -5
- package/dist/components/link/model.d.ts +3 -3
- package/dist/components/navigation/model.d.ts +2 -2
- package/dist/components/navigation/navigation.vue.d.ts +1 -3
- package/dist/components/navigation-item/model.d.ts +2 -6
- package/dist/components/navigation-item/navigation-item.vue.d.ts +2 -2
- package/dist/components/notification/notification.vue.d.ts +1 -1
- package/dist/components/page/page.vue.d.ts +1 -1
- package/dist/components/popover/popover.vue.d.ts +1 -1
- package/dist/components/radio/radio.vue.d.ts +1 -3
- package/dist/components/section/section.vue.d.ts +1 -1
- package/dist/components/select/select.vue.d.ts +1 -1
- package/dist/components/stack/stack.vue.d.ts +1 -1
- package/dist/components/switch/model.d.ts +2 -2
- package/dist/components/switch/switch.vue.d.ts +3 -4
- package/dist/components/tab-item/model.d.ts +2 -2
- package/dist/components/tab-item/tab-item.vue.d.ts +5 -3
- package/dist/components/tab-list/tab-list.vue.d.ts +1 -1
- package/dist/components/tab-panel/model.d.ts +2 -2
- package/dist/components/tab-panel/tab-panel.vue.d.ts +1 -2
- package/dist/components/tabs/tabs.vue.d.ts +1 -1
- package/dist/components/tag/model.d.ts +2 -6
- package/dist/components/tag/tag.vue.d.ts +1 -2
- package/dist/components/textarea/textarea.vue.d.ts +1 -1
- package/dist/components/tooltip/tooltip.vue.d.ts +1 -1
- package/dist/db-ux.es.js +1873 -1879
- package/dist/db-ux.umd.js +1 -1
- package/dist/index.d.ts +39 -0
- package/dist/shared/model.d.ts +28 -27
- package/package.json +15 -15
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActiveProps,
|
|
1
|
+
import { ActiveProps, ChangeEventProps, ChangeEventState, GlobalProps, GlobalState, IconLeadingProps, IconProps, IconTrailingProps, InitializedState, NameProps, NameState, ShowIconLeadingProps, ShowIconProps, ShowIconTrailingProps } from '../../shared/model';
|
|
2
2
|
export type DBTabItemDefaultProps = {
|
|
3
3
|
/**
|
|
4
4
|
* To control the component
|
|
@@ -17,7 +17,7 @@ export type DBTabItemDefaultProps = {
|
|
|
17
17
|
*/
|
|
18
18
|
noText?: boolean | string;
|
|
19
19
|
};
|
|
20
|
-
export type DBTabItemProps = GlobalProps & DBTabItemDefaultProps & IconProps &
|
|
20
|
+
export type DBTabItemProps = GlobalProps & DBTabItemDefaultProps & IconProps & IconTrailingProps & IconLeadingProps & ShowIconLeadingProps & ShowIconTrailingProps & ActiveProps & ChangeEventProps<HTMLInputElement> & ShowIconProps & NameProps;
|
|
21
21
|
export type DBTabItemDefaultState = {
|
|
22
22
|
_selected: boolean;
|
|
23
23
|
};
|
|
@@ -3,7 +3,7 @@ declare var __VLS_1: {};
|
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
default?: (props: typeof __VLS_1) => any;
|
|
5
5
|
};
|
|
6
|
-
declare const __VLS_component: import("vue").DefineComponent<DBTabItemProps,
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<DBTabItemProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
7
7
|
"update:checked": (...args: any[]) => void;
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<DBTabItemProps> & Readonly<{
|
|
9
9
|
"onUpdate:checked"?: ((...args: any[]) => any) | undefined;
|
|
@@ -18,10 +18,12 @@ declare const __VLS_component: import("vue").DefineComponent<DBTabItemProps, {},
|
|
|
18
18
|
icon: import("@db-ux/core-foundations").IconTypes;
|
|
19
19
|
showIcon: boolean | string;
|
|
20
20
|
noText: boolean | string;
|
|
21
|
+
showIconLeading: boolean | string;
|
|
22
|
+
showIconTrailing: boolean | string;
|
|
23
|
+
iconLeading: import("@db-ux/core-foundations").IconTypes;
|
|
24
|
+
iconTrailing: import("@db-ux/core-foundations").IconTypes;
|
|
21
25
|
checked: boolean | string;
|
|
22
|
-
iconAfter: import("@db-ux/core-foundations").IconTypes;
|
|
23
26
|
active: boolean | string;
|
|
24
|
-
controls: string;
|
|
25
27
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
28
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
27
29
|
export default _default;
|
|
@@ -2,7 +2,7 @@ declare var __VLS_1: {};
|
|
|
2
2
|
type __VLS_Slots = {} & {
|
|
3
3
|
default?: (props: typeof __VLS_1) => any;
|
|
4
4
|
};
|
|
5
|
-
declare const __VLS_component: import("vue").DefineComponent<import("../..").GlobalProps,
|
|
5
|
+
declare const __VLS_component: import("vue").DefineComponent<import("../..").GlobalProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("../..").GlobalProps> & Readonly<{}>, {
|
|
6
6
|
children: any;
|
|
7
7
|
className: string;
|
|
8
8
|
id: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GlobalProps, GlobalState } from '../../shared/model';
|
|
2
2
|
export type DBTabPanelDefaultProps = {
|
|
3
3
|
/**
|
|
4
4
|
* The content if you don't want to use children.
|
|
5
5
|
*/
|
|
6
6
|
content?: string;
|
|
7
7
|
};
|
|
8
|
-
export type DBTabPanelProps = DBTabPanelDefaultProps & GlobalProps
|
|
8
|
+
export type DBTabPanelProps = DBTabPanelDefaultProps & GlobalProps;
|
|
9
9
|
export type DBTabPanelDefaultState = {};
|
|
10
10
|
export type DBTabPanelState = DBTabPanelDefaultState & GlobalState;
|
|
@@ -3,12 +3,11 @@ declare var __VLS_1: {};
|
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
default?: (props: typeof __VLS_1) => any;
|
|
5
5
|
};
|
|
6
|
-
declare const __VLS_component: import("vue").DefineComponent<DBTabPanelProps,
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<DBTabPanelProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBTabPanelProps> & Readonly<{}>, {
|
|
7
7
|
content: string;
|
|
8
8
|
children: any;
|
|
9
9
|
className: string;
|
|
10
10
|
id: string;
|
|
11
|
-
labelledBy: string;
|
|
12
11
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
12
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
14
13
|
export default _default;
|
|
@@ -4,7 +4,7 @@ declare var __VLS_21: {};
|
|
|
4
4
|
type __VLS_Slots = {} & {
|
|
5
5
|
default?: (props: typeof __VLS_21) => any;
|
|
6
6
|
};
|
|
7
|
-
declare const __VLS_component: import("vue").DefineComponent<DBTabsProps,
|
|
7
|
+
declare const __VLS_component: import("vue").DefineComponent<DBTabsProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBTabsProps> & Readonly<{}>, {
|
|
8
8
|
name: string;
|
|
9
9
|
children: any;
|
|
10
10
|
className: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClickEvent, ContentSlotProps, EmphasisProps, GlobalProps, GlobalState, IconProps,
|
|
1
|
+
import { ClickEvent, ContentSlotProps, EmphasisProps, GlobalProps, GlobalState, IconProps, OverflowProps, SemanticProps, ShowIconProps } from '../../shared/model';
|
|
2
2
|
export declare const TagBehaviorList: readonly ["static", "removable"];
|
|
3
3
|
export type TagBehaviorType = (typeof TagBehaviorList)[number];
|
|
4
4
|
export type DBTagEventsProps = {
|
|
@@ -18,10 +18,6 @@ export type DBTagDefaultProps = {
|
|
|
18
18
|
* - removable: add a remove button at the end of the tag
|
|
19
19
|
*/
|
|
20
20
|
behavior?: TagBehaviorType | string;
|
|
21
|
-
/**
|
|
22
|
-
* @deprecated Disable tag
|
|
23
|
-
*/
|
|
24
|
-
disabled?: boolean | string;
|
|
25
21
|
/**
|
|
26
22
|
* Define the text next to the icon specified via the icon Property to get hidden.
|
|
27
23
|
*/
|
|
@@ -48,4 +44,4 @@ export type DBTagDefaultState = {
|
|
|
48
44
|
getRemoveButtonText: () => string;
|
|
49
45
|
handleRemove: (event?: ClickEvent<HTMLButtonElement> | void) => void;
|
|
50
46
|
};
|
|
51
|
-
export type DBTagState = DBTagDefaultState & GlobalState
|
|
47
|
+
export type DBTagState = DBTagDefaultState & GlobalState;
|
|
@@ -6,9 +6,8 @@ type __VLS_Slots = {} & {
|
|
|
6
6
|
} & {
|
|
7
7
|
default?: (props: typeof __VLS_3) => any;
|
|
8
8
|
};
|
|
9
|
-
declare const __VLS_component: import("vue").DefineComponent<DBTagProps,
|
|
9
|
+
declare const __VLS_component: import("vue").DefineComponent<DBTagProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBTagProps> & Readonly<{}>, {
|
|
10
10
|
text: string;
|
|
11
|
-
disabled: boolean | string;
|
|
12
11
|
children: any;
|
|
13
12
|
className: string;
|
|
14
13
|
id: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChangeEvent, InputEvent, InteractionEvent } from "../../shared/model";
|
|
2
2
|
import { DBTextareaProps } from "./model";
|
|
3
|
-
declare const _default: import("vue").DefineComponent<DBTextareaProps,
|
|
3
|
+
declare const _default: import("vue").DefineComponent<DBTextareaProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4
4
|
"update:value": (...args: any[]) => void;
|
|
5
5
|
}, string, import("vue").PublicProps, Readonly<DBTextareaProps> & Readonly<{
|
|
6
6
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
@@ -3,7 +3,7 @@ declare var __VLS_1: {};
|
|
|
3
3
|
type __VLS_Slots = {} & {
|
|
4
4
|
default?: (props: typeof __VLS_1) => any;
|
|
5
5
|
};
|
|
6
|
-
declare const __VLS_component: import("vue").DefineComponent<DBTooltipProps,
|
|
6
|
+
declare const __VLS_component: import("vue").DefineComponent<DBTooltipProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBTooltipProps> & Readonly<{}>, {
|
|
7
7
|
children: any;
|
|
8
8
|
className: string;
|
|
9
9
|
id: string;
|