@db-ux/v-core-components 4.4.3 → 4.5.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/CHANGELOG.md +24 -0
- package/agent/.gitkeep +0 -0
- package/dist/components/accordion/accordion.vue.d.ts +3 -2
- package/dist/components/accordion-item/accordion-item.vue.d.ts +4 -3
- package/dist/components/badge/badge.vue.d.ts +5 -3
- package/dist/components/badge/model.d.ts +2 -2
- package/dist/components/brand/brand.vue.d.ts +3 -2
- package/dist/components/button/button.vue.d.ts +6 -4
- package/dist/components/button/model.d.ts +8 -10
- package/dist/components/card/card.vue.d.ts +2 -1
- package/dist/components/checkbox/checkbox.vue.d.ts +4 -3
- package/dist/components/custom-button/custom-button.vue.d.ts +29 -0
- package/dist/components/custom-button/index.d.ts +1 -0
- package/dist/components/custom-button/model.d.ts +6 -0
- package/dist/components/custom-select/custom-select.vue.d.ts +4 -3
- package/dist/components/custom-select-dropdown/custom-select-dropdown.vue.d.ts +2 -1
- package/dist/components/custom-select-form-field/custom-select-form-field.vue.d.ts +2 -1
- package/dist/components/custom-select-list/custom-select-list.vue.d.ts +3 -2
- package/dist/components/custom-select-list-item/custom-select-list-item.vue.d.ts +4 -3
- package/dist/components/divider/divider.vue.d.ts +2 -1
- package/dist/components/drawer/drawer.vue.d.ts +2 -1
- package/dist/components/header/header.vue.d.ts +2 -1
- package/dist/components/icon/icon.vue.d.ts +3 -2
- package/dist/components/infotext/infotext.vue.d.ts +5 -3
- package/dist/components/infotext/model.d.ts +2 -2
- package/dist/components/input/input.vue.d.ts +5 -4
- package/dist/components/link/link.vue.d.ts +5 -4
- package/dist/components/navigation/navigation.vue.d.ts +2 -1
- package/dist/components/navigation-item/navigation-item.vue.d.ts +5 -4
- package/dist/components/notification/model.d.ts +2 -2
- package/dist/components/notification/notification.vue.d.ts +4 -3
- package/dist/components/page/page.vue.d.ts +2 -1
- package/dist/components/popover/popover.vue.d.ts +2 -1
- package/dist/components/radio/radio.vue.d.ts +4 -3
- package/dist/components/section/section.vue.d.ts +2 -1
- package/dist/components/select/select.vue.d.ts +4 -3
- package/dist/components/stack/stack.vue.d.ts +3 -2
- package/dist/components/switch/switch.vue.d.ts +4 -3
- package/dist/components/tab-item/tab-item.vue.d.ts +5 -4
- package/dist/components/tab-list/tab-list.vue.d.ts +2 -1
- package/dist/components/tab-panel/tab-panel.vue.d.ts +3 -2
- package/dist/components/tabs/tabs.vue.d.ts +3 -2
- package/dist/components/tag/model.d.ts +2 -6
- package/dist/components/tag/tag.vue.d.ts +4 -3
- package/dist/components/textarea/textarea.vue.d.ts +4 -3
- package/dist/components/tooltip/model.d.ts +3 -3
- package/dist/components/tooltip/tooltip.vue.d.ts +3 -1
- package/dist/db-ux.es.js +1810 -1631
- package/dist/db-ux.umd.js +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/shared/model.d.ts +15 -1
- package/package.json +5 -5
- package/agent/Accordion.md +0 -42
- package/agent/AccordionItem.md +0 -31
- package/agent/Badge.md +0 -38
- package/agent/Brand.md +0 -19
- package/agent/Button.md +0 -47
- package/agent/Card.md +0 -29
- package/agent/Checkbox.md +0 -39
- package/agent/CustomSelect.md +0 -79
- package/agent/Divider.md +0 -27
- package/agent/Drawer.md +0 -91
- package/agent/Header.md +0 -35
- package/agent/Icon.md +0 -26
- package/agent/Infotext.md +0 -29
- package/agent/Input.md +0 -48
- package/agent/Link.md +0 -42
- package/agent/Navigation.md +0 -23
- package/agent/NavigationItem.md +0 -29
- package/agent/Notification.md +0 -40
- package/agent/Page.md +0 -33
- package/agent/Popover.md +0 -50
- package/agent/Radio.md +0 -29
- package/agent/Section.md +0 -27
- package/agent/Select.md +0 -70
- package/agent/Stack.md +0 -41
- package/agent/Switch.md +0 -36
- package/agent/TabItem.md +0 -29
- package/agent/Tabs.md +0 -55
- package/agent/Tag.md +0 -38
- package/agent/Textarea.md +0 -43
- package/agent/Tooltip.md +0 -48
- package/agent/_instructions.md +0 -31
|
@@ -9,14 +9,15 @@ declare const __VLS_base: import("vue").DefineComponent<DBSelectProps, {}, {}, {
|
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<DBSelectProps> & Readonly<{
|
|
10
10
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
11
11
|
}>, {
|
|
12
|
+
id: string;
|
|
13
|
+
children: any;
|
|
14
|
+
className: string;
|
|
15
|
+
propOverrides: import("../../shared/model").PropOverridesType;
|
|
12
16
|
name: string;
|
|
13
17
|
input: (event: InputEvent<HTMLSelectElement>) => void;
|
|
14
18
|
label: string;
|
|
15
19
|
value: any;
|
|
16
20
|
disabled: boolean | string;
|
|
17
|
-
children: any;
|
|
18
|
-
className: string;
|
|
19
|
-
id: string;
|
|
20
21
|
onFocus: (event: InteractionEvent<HTMLSelectElement>) => void;
|
|
21
22
|
onBlur: (event: InteractionEvent<HTMLSelectElement>) => void;
|
|
22
23
|
onChange: (event: ChangeEvent<HTMLSelectElement>) => void;
|
|
@@ -4,12 +4,13 @@ type __VLS_Slots = {} & {
|
|
|
4
4
|
default?: (props: typeof __VLS_1) => any;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_base: import("vue").DefineComponent<DBStackProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBStackProps> & Readonly<{}>, {
|
|
7
|
+
id: string;
|
|
7
8
|
children: any;
|
|
8
9
|
className: string;
|
|
9
|
-
|
|
10
|
+
propOverrides: import("../..").PropOverridesType;
|
|
10
11
|
variant: import("./model").StackVariantType;
|
|
11
|
-
direction: import("./model").StackDirectionType;
|
|
12
12
|
wrap: boolean | string;
|
|
13
|
+
direction: import("./model").StackDirectionType;
|
|
13
14
|
gap: import("../..").GapSpacingType;
|
|
14
15
|
alignment: import("./model").StackAlignmentType;
|
|
15
16
|
justifyContent: import("./model").StackJustifyContentType;
|
|
@@ -9,13 +9,14 @@ declare const __VLS_base: import("vue").DefineComponent<DBSwitchProps, {}, {}, {
|
|
|
9
9
|
}, string, import("vue").PublicProps, Readonly<DBSwitchProps> & Readonly<{
|
|
10
10
|
"onUpdate:checked"?: ((...args: any[]) => any) | undefined;
|
|
11
11
|
}>, {
|
|
12
|
+
id: string;
|
|
13
|
+
children: any;
|
|
14
|
+
className: string;
|
|
15
|
+
propOverrides: import("../../shared/model").PropOverridesType;
|
|
12
16
|
name: string;
|
|
13
17
|
label: string;
|
|
14
18
|
value: any;
|
|
15
19
|
disabled: boolean | string;
|
|
16
|
-
children: any;
|
|
17
|
-
className: string;
|
|
18
|
-
id: string;
|
|
19
20
|
onFocus: (event: InteractionEvent<HTMLInputElement>) => void;
|
|
20
21
|
onBlur: (event: InteractionEvent<HTMLInputElement>) => void;
|
|
21
22
|
onChange: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
@@ -8,20 +8,21 @@ declare const __VLS_base: import("vue").DefineComponent<DBTabItemProps, {}, {},
|
|
|
8
8
|
}, string, import("vue").PublicProps, Readonly<DBTabItemProps> & Readonly<{
|
|
9
9
|
"onUpdate:checked"?: ((...args: any[]) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
|
+
id: string;
|
|
12
|
+
children: any;
|
|
13
|
+
className: string;
|
|
14
|
+
propOverrides: import("../..").PropOverridesType;
|
|
11
15
|
name: string;
|
|
12
16
|
label: string;
|
|
13
17
|
disabled: boolean | string;
|
|
14
|
-
children: any;
|
|
15
|
-
className: string;
|
|
16
|
-
id: string;
|
|
17
18
|
onChange: (event: import("../..").ChangeEvent<HTMLInputElement>) => void;
|
|
18
19
|
icon: import("@db-ux/core-foundations").IconTypes;
|
|
19
20
|
showIcon: boolean | string;
|
|
20
|
-
noText: boolean | string;
|
|
21
21
|
showIconLeading: boolean | string;
|
|
22
22
|
showIconTrailing: boolean | string;
|
|
23
23
|
iconLeading: import("@db-ux/core-foundations").IconTypes;
|
|
24
24
|
iconTrailing: import("@db-ux/core-foundations").IconTypes;
|
|
25
|
+
noText: boolean | string;
|
|
25
26
|
checked: boolean | string;
|
|
26
27
|
active: boolean | string;
|
|
27
28
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -3,9 +3,10 @@ type __VLS_Slots = {} & {
|
|
|
3
3
|
default?: (props: typeof __VLS_1) => any;
|
|
4
4
|
};
|
|
5
5
|
declare const __VLS_base: import("vue").DefineComponent<import("../..").GlobalProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("../..").GlobalProps> & Readonly<{}>, {
|
|
6
|
+
id: string;
|
|
6
7
|
children: any;
|
|
7
8
|
className: string;
|
|
8
|
-
|
|
9
|
+
propOverrides: import("../..").PropOverridesType;
|
|
9
10
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
10
11
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
11
12
|
declare const _default: typeof __VLS_export;
|
|
@@ -4,10 +4,11 @@ type __VLS_Slots = {} & {
|
|
|
4
4
|
default?: (props: typeof __VLS_1) => any;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_base: import("vue").DefineComponent<DBTabPanelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBTabPanelProps> & Readonly<{}>, {
|
|
7
|
-
|
|
7
|
+
id: string;
|
|
8
8
|
children: any;
|
|
9
9
|
className: string;
|
|
10
|
-
|
|
10
|
+
propOverrides: import("../..").PropOverridesType;
|
|
11
|
+
content: string;
|
|
11
12
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
12
13
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
13
14
|
declare const _default: typeof __VLS_export;
|
|
@@ -5,10 +5,11 @@ type __VLS_Slots = {} & {
|
|
|
5
5
|
default?: (props: typeof __VLS_30) => any;
|
|
6
6
|
};
|
|
7
7
|
declare const __VLS_base: import("vue").DefineComponent<DBTabsProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBTabsProps> & Readonly<{}>, {
|
|
8
|
-
|
|
8
|
+
id: string;
|
|
9
9
|
children: any;
|
|
10
10
|
className: string;
|
|
11
|
-
|
|
11
|
+
propOverrides: import("../../shared/model").PropOverridesType;
|
|
12
|
+
name: string;
|
|
12
13
|
behavior: import("./model").TabsBehaviorType;
|
|
13
14
|
width: import("../../shared/model").WidthType | string;
|
|
14
15
|
alignment: import("../../shared/model").AlignmentType | string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClickEvent, ContentSlotProps, EmphasisProps, GlobalProps, GlobalState, IconProps, OverflowProps, SemanticProps, ShowIconProps } from '../../shared/model';
|
|
1
|
+
import { ClickEvent, ContentSlotProps, EmphasisProps, GlobalProps, GlobalState, IconProps, NoTextProps, 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
|
-
* Define the text next to the icon specified via the icon Property to get hidden.
|
|
23
|
-
*/
|
|
24
|
-
noText?: boolean | string;
|
|
25
21
|
/**
|
|
26
22
|
* The removeButton attribute shows the cancel button.
|
|
27
23
|
*/
|
|
@@ -39,7 +35,7 @@ export type DBTagDefaultProps = {
|
|
|
39
35
|
*/
|
|
40
36
|
value?: string;
|
|
41
37
|
};
|
|
42
|
-
export type DBTagProps = DBTagDefaultProps & GlobalProps & IconProps & SemanticProps & OverflowProps & EmphasisProps & ShowIconProps & ContentSlotProps & DBTagEventsProps;
|
|
38
|
+
export type DBTagProps = DBTagDefaultProps & GlobalProps & IconProps & SemanticProps & OverflowProps & EmphasisProps & ShowIconProps & ContentSlotProps & DBTagEventsProps & NoTextProps;
|
|
43
39
|
export type DBTagDefaultState = {
|
|
44
40
|
getRemoveButtonText: () => string;
|
|
45
41
|
handleRemove: (event?: ClickEvent<HTMLButtonElement> | void) => void;
|
|
@@ -7,11 +7,12 @@ type __VLS_Slots = {} & {
|
|
|
7
7
|
default?: (props: typeof __VLS_3) => any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_base: import("vue").DefineComponent<DBTagProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBTagProps> & Readonly<{}>, {
|
|
10
|
-
|
|
11
|
-
text: string;
|
|
10
|
+
id: string;
|
|
12
11
|
children: any;
|
|
13
12
|
className: string;
|
|
14
|
-
|
|
13
|
+
propOverrides: import("../../shared/model").PropOverridesType;
|
|
14
|
+
semantic: import("../../shared/model").SemanticType;
|
|
15
|
+
text: string;
|
|
15
16
|
behavior: import("./model").TagBehaviorType | string;
|
|
16
17
|
emphasis: import("../../shared/model").EmphasisType;
|
|
17
18
|
icon: import("@db-ux/core-foundations").IconTypes;
|
|
@@ -5,20 +5,22 @@ declare const __VLS_export: import("vue").DefineComponent<DBTextareaProps, {}, {
|
|
|
5
5
|
}, string, import("vue").PublicProps, Readonly<DBTextareaProps> & Readonly<{
|
|
6
6
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
7
7
|
}>, {
|
|
8
|
+
id: string;
|
|
9
|
+
className: string;
|
|
10
|
+
propOverrides: import("../../shared/model").PropOverridesType;
|
|
8
11
|
name: string;
|
|
9
12
|
form: string;
|
|
10
13
|
input: (event: InputEvent<HTMLTextAreaElement>) => void;
|
|
11
14
|
label: string;
|
|
12
15
|
value: any;
|
|
13
16
|
disabled: boolean | string;
|
|
14
|
-
className: string;
|
|
15
|
-
id: string;
|
|
16
17
|
onFocus: (event: InteractionEvent<HTMLTextAreaElement>) => void;
|
|
17
18
|
onBlur: (event: InteractionEvent<HTMLTextAreaElement>) => void;
|
|
18
19
|
onChange: (event: ChangeEvent<HTMLTextAreaElement>) => void;
|
|
19
20
|
onInput: (event: InputEvent<HTMLTextAreaElement>) => void;
|
|
20
21
|
resize: import("./model").TextareaResizeType;
|
|
21
22
|
variant: import("../../shared/model").LabelVariantType;
|
|
23
|
+
wrap: import("./model").TextareaWrapType;
|
|
22
24
|
ariaDescribedBy: string;
|
|
23
25
|
validation: import("../../shared/model").ValidationType;
|
|
24
26
|
required: boolean | string;
|
|
@@ -38,7 +40,6 @@ declare const __VLS_export: import("vue").DefineComponent<DBTextareaProps, {}, {
|
|
|
38
40
|
readOnly: boolean | string;
|
|
39
41
|
readonly: boolean | string;
|
|
40
42
|
fieldSizing: import("../../shared/model").FieldSizingType;
|
|
41
|
-
wrap: import("./model").TextareaWrapType;
|
|
42
43
|
cols: number | string;
|
|
43
44
|
showResizer: boolean | string;
|
|
44
45
|
rows: number | string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClickEventState, DocumentScrollState, EmphasisProps, GlobalProps, GlobalState, InitializedState, PlacementProps, PopoverProps, PopoverState } from '../../shared/model';
|
|
1
|
+
import { ClickEventState, DocumentScrollState, EmphasisProps, GlobalProps, GlobalState, InitializedState, PlacementProps, PopoverProps, PopoverState, ResetIdState, WrapProps } from '../../shared/model';
|
|
2
2
|
export declare const TooltipVariantList: readonly ["description", "label"];
|
|
3
3
|
export type TooltipVariantType = (typeof TooltipVariantList)[number];
|
|
4
4
|
export type DBTooltipDefaultProps = {
|
|
@@ -13,8 +13,8 @@ export type DBTooltipDefaultProps = {
|
|
|
13
13
|
*/
|
|
14
14
|
variant?: TooltipVariantType;
|
|
15
15
|
};
|
|
16
|
-
export type DBTooltipProps = DBTooltipDefaultProps & GlobalProps & EmphasisProps & PlacementProps & PopoverProps;
|
|
16
|
+
export type DBTooltipProps = DBTooltipDefaultProps & GlobalProps & EmphasisProps & PlacementProps & PopoverProps & WrapProps;
|
|
17
17
|
export type DBTooltipDefaultState = {
|
|
18
18
|
getParent: () => HTMLElement;
|
|
19
19
|
};
|
|
20
|
-
export type DBTooltipState = DBTooltipDefaultState & GlobalState & ClickEventState<HTMLElement> & PopoverState & InitializedState & DocumentScrollState;
|
|
20
|
+
export type DBTooltipState = DBTooltipDefaultState & GlobalState & ClickEventState<HTMLElement> & PopoverState & InitializedState & DocumentScrollState & ResetIdState;
|
|
@@ -4,12 +4,14 @@ type __VLS_Slots = {} & {
|
|
|
4
4
|
default?: (props: typeof __VLS_1) => any;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_base: import("vue").DefineComponent<DBTooltipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBTooltipProps> & Readonly<{}>, {
|
|
7
|
+
id: string;
|
|
7
8
|
children: any;
|
|
8
9
|
className: string;
|
|
9
|
-
|
|
10
|
+
propOverrides: import("../../shared/model").PropOverridesType;
|
|
10
11
|
variant: import("./model").TooltipVariantType;
|
|
11
12
|
placement: import("../../shared/model").PlacementType;
|
|
12
13
|
emphasis: import("../../shared/model").EmphasisType;
|
|
14
|
+
wrap: boolean | string;
|
|
13
15
|
width: import("../../shared/model").PopoverWidthType;
|
|
14
16
|
showArrow: boolean | string;
|
|
15
17
|
delay: import("../../shared/model").PopoverDelayType;
|