@db-ux/v-core-components 2.1.1 → 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
|
@@ -11,6 +11,7 @@ declare const __VLS_component: import("vue").DefineComponent<DBCustomSelectProps
|
|
|
11
11
|
name: string;
|
|
12
12
|
form: string;
|
|
13
13
|
label: string;
|
|
14
|
+
values: string[];
|
|
14
15
|
disabled: boolean | string;
|
|
15
16
|
variant: import("../../shared/model").LabelVariantType;
|
|
16
17
|
children: any;
|
|
@@ -18,7 +19,6 @@ declare const __VLS_component: import("vue").DefineComponent<DBCustomSelectProps
|
|
|
18
19
|
id: string;
|
|
19
20
|
icon: import("@db-ux/core-foundations").IconTypes;
|
|
20
21
|
showIcon: boolean | string;
|
|
21
|
-
values: string[];
|
|
22
22
|
placement: import("../../shared/model").PlacementVerticalType;
|
|
23
23
|
ariaDescribedBy: string;
|
|
24
24
|
validation: import("../../shared/model").ValidationType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BaseFormProps, CloseEventState, CustomFormProps, FormMessageProps, FormState, FromValidState, GlobalProps, GlobalState, IconProps, PlacementVerticalType,
|
|
1
|
+
import { BaseFormProps, CloseEventState, CustomFormProps, DocumentScrollState, FormMessageProps, FormState, FromValidState, GlobalProps, GlobalState, IconProps, PlacementVerticalType, RequiredProps, ShowIconProps, ShowLabelProps, ValidationType, WidthType } from '../../shared/model';
|
|
2
2
|
import { DBCustomSelectFormFieldDefaultProps } from '../custom-select-form-field/model';
|
|
3
3
|
import { CustomSelectDropdownWidthType } from '../custom-select-dropdown/model';
|
|
4
4
|
import { DBCustomSelectListItemExtraProps } from '../custom-select-list-item/model';
|
|
@@ -193,7 +193,6 @@ export type DBCustomSelectDefaultState = {
|
|
|
193
193
|
getNativeSelectValue: () => string;
|
|
194
194
|
getOptionLabel: (option: CustomSelectOptionType) => string;
|
|
195
195
|
getOptionChecked: (value?: string) => boolean;
|
|
196
|
-
getOptionKey: (option: CustomSelectOptionType) => string;
|
|
197
196
|
getTagRemoveLabel: (index: number) => string;
|
|
198
197
|
selectAllEnabled: boolean;
|
|
199
198
|
searchEnabled: boolean;
|
|
@@ -215,5 +214,6 @@ export type DBCustomSelectDefaultState = {
|
|
|
215
214
|
getSelectAllLabel: () => string;
|
|
216
215
|
selectAllChecked: boolean;
|
|
217
216
|
selectAllIndeterminate: boolean;
|
|
217
|
+
handleAutoPlacement: () => void;
|
|
218
218
|
};
|
|
219
|
-
export type DBCustomSelectState = DBCustomSelectDefaultState & GlobalState & FormState & FromValidState & CloseEventState &
|
|
219
|
+
export type DBCustomSelectState = DBCustomSelectDefaultState & GlobalState & FormState & FromValidState & CloseEventState & DocumentScrollState;
|
|
@@ -51,6 +51,7 @@ declare const __VLS_component: import("vue").DefineComponent<DBInputProps, {}, {
|
|
|
51
51
|
minlength: number | string;
|
|
52
52
|
readOnly: boolean | string;
|
|
53
53
|
readonly: boolean | string;
|
|
54
|
+
fieldSizing: import("../../shared/model").FieldSizingType;
|
|
54
55
|
iconAfter: import("@db-ux/core-foundations").IconTypes;
|
|
55
56
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
56
57
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -5,6 +5,7 @@ type __VLS_Slots = {} & {
|
|
|
5
5
|
default?: (props: typeof __VLS_1) => any;
|
|
6
6
|
};
|
|
7
7
|
declare const __VLS_component: import("vue").DefineComponent<DBLinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBLinkProps> & Readonly<{}>, {
|
|
8
|
+
content: import("./model").LinkContentType;
|
|
8
9
|
label: string;
|
|
9
10
|
text: string;
|
|
10
11
|
disabled: boolean | string;
|
|
@@ -17,7 +18,6 @@ declare const __VLS_component: import("vue").DefineComponent<DBLinkProps, {}, {}
|
|
|
17
18
|
showIcon: boolean | string;
|
|
18
19
|
target: import("../../shared/model").LinkTargetType;
|
|
19
20
|
role: string;
|
|
20
|
-
content: import("./model").LinkContentType;
|
|
21
21
|
current: boolean | import("../../shared/model").LinkCurrentType;
|
|
22
22
|
href: string;
|
|
23
23
|
hreflang: string;
|
|
@@ -13,6 +13,5 @@ export type DBPopoverProps = DBPopoverDefaultProps & GlobalProps & SpacingProps
|
|
|
13
13
|
export type DBPopoverDefaultState = {
|
|
14
14
|
isExpanded?: boolean;
|
|
15
15
|
getTrigger: () => Element | null;
|
|
16
|
-
handleLeave: (event: any) => void;
|
|
17
16
|
};
|
|
18
17
|
export type DBPopoverState = DBPopoverDefaultState & GlobalState & PopoverState & InitializedState;
|
|
@@ -4,10 +4,10 @@ type __VLS_Slots = {} & {
|
|
|
4
4
|
default?: (props: typeof __VLS_1) => any;
|
|
5
5
|
};
|
|
6
6
|
declare const __VLS_component: import("vue").DefineComponent<DBTabPanelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBTabPanelProps> & Readonly<{}>, {
|
|
7
|
+
content: string;
|
|
7
8
|
children: any;
|
|
8
9
|
className: string;
|
|
9
10
|
id: string;
|
|
10
|
-
content: string;
|
|
11
11
|
labelledBy: string;
|
|
12
12
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
@@ -12,6 +12,10 @@ export type DBTextareaDefaultProps = {
|
|
|
12
12
|
* In most browsers, textareas are resizable — you'll notice the drag handle in the right-hand corner, you can control it with this
|
|
13
13
|
*/
|
|
14
14
|
resize?: TextareaResizeType;
|
|
15
|
+
/**
|
|
16
|
+
* Show/Hides drag handle in the right-hand corner - default: true
|
|
17
|
+
*/
|
|
18
|
+
showResizer?: boolean | string;
|
|
15
19
|
/**
|
|
16
20
|
* The number of visible text lines for the control. If it is specified, it must be a positive integer
|
|
17
21
|
*/
|
|
@@ -36,7 +36,9 @@ declare const _default: import("vue").DefineComponent<DBTextareaProps, {}, {}, {
|
|
|
36
36
|
minlength: number | string;
|
|
37
37
|
readOnly: boolean | string;
|
|
38
38
|
readonly: boolean | string;
|
|
39
|
+
fieldSizing: import("../../shared/model").FieldSizingType;
|
|
39
40
|
cols: number | string;
|
|
41
|
+
showResizer: boolean | string;
|
|
40
42
|
rows: number | string;
|
|
41
43
|
spellCheck: boolean;
|
|
42
44
|
wrap: import("./model").TextareaWrapType;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ClickEventState, EmphasisProps, GlobalProps, GlobalState, InitializedState, PlacementProps, PopoverProps, PopoverState } from '../../shared/model';
|
|
1
|
+
import { ClickEventState, DocumentScrollState, EmphasisProps, GlobalProps, GlobalState, InitializedState, PlacementProps, PopoverProps, PopoverState } 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 = {
|
|
@@ -14,5 +14,7 @@ export type DBTooltipDefaultProps = {
|
|
|
14
14
|
variant?: TooltipVariantType;
|
|
15
15
|
};
|
|
16
16
|
export type DBTooltipProps = DBTooltipDefaultProps & GlobalProps & EmphasisProps & PlacementProps & PopoverProps;
|
|
17
|
-
export type DBTooltipDefaultState = {
|
|
18
|
-
|
|
17
|
+
export type DBTooltipDefaultState = {
|
|
18
|
+
getParent: () => HTMLElement;
|
|
19
|
+
};
|
|
20
|
+
export type DBTooltipState = DBTooltipDefaultState & GlobalState & ClickEventState<HTMLElement> & PopoverState & InitializedState & DocumentScrollState;
|