@db-ux/v-core-components 2.3.1 → 2.4.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.
Files changed (41) hide show
  1. package/dist/components/accordion/accordion.vue.d.ts +1 -1
  2. package/dist/components/accordion-item/accordion-item.vue.d.ts +2 -2
  3. package/dist/components/badge/badge.vue.d.ts +2 -2
  4. package/dist/components/badge/model.d.ts +1 -1
  5. package/dist/components/brand/brand.vue.d.ts +1 -1
  6. package/dist/components/button/button.vue.d.ts +9 -9
  7. package/dist/components/card/card.vue.d.ts +1 -1
  8. package/dist/components/checkbox/checkbox.vue.d.ts +4 -3
  9. package/dist/components/custom-select/custom-select.vue.d.ts +7 -6
  10. package/dist/components/custom-select/model.d.ts +1 -1
  11. package/dist/components/custom-select-list-item/custom-select-list-item.vue.d.ts +4 -4
  12. package/dist/components/divider/divider.vue.d.ts +2 -2
  13. package/dist/components/drawer/drawer.vue.d.ts +8 -7
  14. package/dist/components/drawer/model.d.ts +11 -2
  15. package/dist/components/header/header.vue.d.ts +10 -10
  16. package/dist/components/header/model.d.ts +6 -6
  17. package/dist/components/icon/icon.vue.d.ts +1 -1
  18. package/dist/components/infotext/infotext.vue.d.ts +2 -2
  19. package/dist/components/input/input.vue.d.ts +8 -7
  20. package/dist/components/link/link.vue.d.ts +2 -2
  21. package/dist/components/navigation-item/navigation-item.vue.d.ts +5 -5
  22. package/dist/components/notification/model.d.ts +3 -3
  23. package/dist/components/notification/notification.vue.d.ts +6 -6
  24. package/dist/components/page/page.vue.d.ts +1 -1
  25. package/dist/components/popover/popover.vue.d.ts +3 -3
  26. package/dist/components/radio/radio.vue.d.ts +4 -3
  27. package/dist/components/select/select.vue.d.ts +9 -8
  28. package/dist/components/stack/stack.vue.d.ts +1 -1
  29. package/dist/components/switch/switch.vue.d.ts +5 -4
  30. package/dist/components/tab-item/tab-item.vue.d.ts +2 -2
  31. package/dist/components/tabs/model.d.ts +1 -1
  32. package/dist/components/tabs/tabs.vue.d.ts +5 -5
  33. package/dist/components/tag/model.d.ts +1 -1
  34. package/dist/components/tag/tag.vue.d.ts +5 -5
  35. package/dist/components/textarea/textarea.vue.d.ts +5 -4
  36. package/dist/components/tooltip/tooltip.vue.d.ts +4 -4
  37. package/dist/db-ux.es.js +3021 -2992
  38. package/dist/db-ux.umd.js +1 -1
  39. package/dist/index.d.ts +15 -16
  40. package/dist/shared/model.d.ts +12 -2
  41. package/package.json +5 -5
@@ -1,5 +1,5 @@
1
- import { DBSelectOptionType, DBSelectProps } from "./model";
2
1
  import { ChangeEvent, ClickEvent, InputEvent, InteractionEvent } from "../../shared/model";
2
+ import { DBSelectOptionType, DBSelectProps } from "./model";
3
3
  declare var __VLS_1: {};
4
4
  type __VLS_Slots = {} & {
5
5
  default?: (props: typeof __VLS_1) => any;
@@ -9,26 +9,28 @@ declare const __VLS_component: import("vue").DefineComponent<DBSelectProps, {},
9
9
  }, string, import("vue").PublicProps, Readonly<DBSelectProps> & Readonly<{
10
10
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
11
11
  }>, {
12
+ value: any;
12
13
  name: string;
13
14
  input: (event: InputEvent<HTMLSelectElement>) => void;
14
15
  label: string;
15
16
  disabled: boolean | string;
16
- value: any;
17
- variant: import("../../shared/model").LabelVariantType;
18
17
  children: any;
19
18
  className: string;
20
19
  id: string;
21
- onClick: (event: ClickEvent<HTMLSelectElement>) => void;
22
- icon: import("@db-ux/core-foundations").IconTypes;
23
- size: number;
24
- showIcon: boolean | string;
25
20
  onFocus: (event: InteractionEvent<HTMLSelectElement>) => void;
26
21
  onBlur: (event: InteractionEvent<HTMLSelectElement>) => void;
27
22
  onChange: (event: ChangeEvent<HTMLSelectElement>) => void;
28
23
  onInput: (event: InputEvent<HTMLSelectElement>) => void;
24
+ onClick: (event: ClickEvent<HTMLSelectElement>) => void;
25
+ multiple: boolean;
26
+ variant: import("../../shared/model").LabelVariantType;
27
+ size: number;
28
+ icon: import("@db-ux/core-foundations").IconTypes;
29
+ showIcon: boolean | string;
29
30
  ariaDescribedBy: string;
30
31
  validation: import("../../shared/model").ValidationType;
31
32
  required: boolean | string;
33
+ showRequiredAsterisk: boolean | string;
32
34
  showLabel: boolean | string;
33
35
  placeholder: string;
34
36
  message: string;
@@ -37,7 +39,6 @@ declare const __VLS_component: import("vue").DefineComponent<DBSelectProps, {},
37
39
  messageIcon: import("@db-ux/core-foundations").IconTypes;
38
40
  autocomplete: string | import("../../shared/model").AutoCompleteType;
39
41
  showMessage: boolean | string;
40
- multiple: boolean;
41
42
  options: DBSelectOptionType[];
42
43
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
43
44
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
@@ -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<DBStackProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBStackProps> & Readonly<{}>, {
7
- variant: import("./model").StackVariantType;
8
7
  children: any;
9
8
  className: string;
10
9
  id: string;
10
+ variant: import("./model").StackVariantType;
11
11
  direction: import("./model").StackDirectionType;
12
12
  wrap: boolean | string;
13
13
  gap: import("../..").GapSpacingType;
@@ -1,5 +1,5 @@
1
- import { DBSwitchProps } from "./model";
2
1
  import { ChangeEvent, InteractionEvent } from "../../shared/model";
2
+ import { DBSwitchProps } from "./model";
3
3
  declare var __VLS_1: {};
4
4
  type __VLS_Slots = {} & {
5
5
  default?: (props: typeof __VLS_1) => any;
@@ -9,23 +9,24 @@ declare const __VLS_component: import("vue").DefineComponent<DBSwitchProps, {},
9
9
  }, string, import("vue").PublicProps, Readonly<DBSwitchProps> & Readonly<{
10
10
  "onUpdate:checked"?: ((...args: any[]) => any) | undefined;
11
11
  }>, {
12
+ value: any;
12
13
  name: string;
13
14
  label: string;
14
15
  disabled: boolean | string;
15
- value: any;
16
16
  children: any;
17
17
  className: string;
18
18
  describedbyid: string;
19
19
  id: string;
20
- icon: import("@db-ux/core-foundations").IconTypes;
21
- size: import("../../shared/model").SizeType;
22
20
  onFocus: (event: InteractionEvent<HTMLInputElement>) => void;
23
21
  onBlur: (event: InteractionEvent<HTMLInputElement>) => void;
24
22
  onChange: (event: ChangeEvent<HTMLInputElement>) => void;
23
+ size: import("../../shared/model").SizeType;
25
24
  emphasis: import("../../shared/model").EmphasisType;
25
+ icon: import("@db-ux/core-foundations").IconTypes;
26
26
  ariaDescribedBy: string;
27
27
  validation: import("../../shared/model").ValidationType;
28
28
  required: boolean | string;
29
+ showRequiredAsterisk: boolean | string;
29
30
  showLabel: boolean | string;
30
31
  checked: boolean | string;
31
32
  iconAfter: import("@db-ux/core-foundations").IconTypes;
@@ -11,13 +11,13 @@ declare const __VLS_component: import("vue").DefineComponent<DBTabItemProps, {},
11
11
  name: string;
12
12
  label: string;
13
13
  disabled: boolean | string;
14
- noText: boolean | string;
15
14
  children: any;
16
15
  className: string;
17
16
  id: string;
17
+ onChange: (event: import("../..").ChangeEvent<HTMLInputElement>) => void;
18
18
  icon: import("@db-ux/core-foundations").IconTypes;
19
19
  showIcon: boolean | string;
20
- onChange: (event: import("../..").ChangeEvent<HTMLInputElement>) => void;
20
+ noText: boolean | string;
21
21
  checked: boolean | string;
22
22
  iconAfter: import("@db-ux/core-foundations").IconTypes;
23
23
  active: boolean | string;
@@ -1,4 +1,4 @@
1
- import { AlignmentProps, InputEvent, GlobalProps, GlobalState, InitializedState, OrientationProps, WidthProps } from '../../shared/model';
1
+ import { AlignmentProps, GlobalProps, GlobalState, InitializedState, InputEvent, OrientationProps, WidthProps } from '../../shared/model';
2
2
  import { DBTabItemProps } from '../tab-item/model';
3
3
  import { DBTabPanelProps } from '../tab-panel/model';
4
4
  export declare const TabsBehaviorList: readonly ["scrollbar", "arrows"];
@@ -1,22 +1,22 @@
1
- import { DBSimpleTabProps, DBTabsProps } from "./model";
2
1
  import { InputEvent } from "../../shared/model";
3
- declare var __VLS_16: {};
2
+ import { DBSimpleTabProps, DBTabsProps } from "./model";
3
+ declare var __VLS_21: {};
4
4
  type __VLS_Slots = {} & {
5
- default?: (props: typeof __VLS_16) => any;
5
+ default?: (props: typeof __VLS_21) => any;
6
6
  };
7
7
  declare const __VLS_component: import("vue").DefineComponent<DBTabsProps, {}, {}, {}, {}, 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;
11
11
  id: string;
12
- width: import("../../shared/model").WidthType | string;
13
12
  behavior: import("./model").TabsBehaviorType;
13
+ width: import("../../shared/model").WidthType | string;
14
+ alignment: import("../../shared/model").AlignmentType | string;
14
15
  arrowScrollDistance: number | string;
15
16
  initialSelectedIndex: number | string;
16
17
  initialSelectedMode: import("./model").TabsInitialSelectedModeType;
17
18
  tabs: DBSimpleTabProps[] | string;
18
19
  orientation: import("../../shared/model").OrientationType;
19
- alignment: import("../../shared/model").AlignmentType | string;
20
20
  onIndexChange: (index?: number) => void;
21
21
  onTabSelect: (event?: InputEvent<HTMLElement>) => void;
22
22
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
@@ -1,4 +1,4 @@
1
- import { ClickEvent, ContentSlotProps, GlobalProps, GlobalState, IconProps, InitializedState, OverflowProps, SemanticProps, ShowIconProps, EmphasisProps } from '../../shared/model';
1
+ import { ClickEvent, ContentSlotProps, EmphasisProps, GlobalProps, GlobalState, IconProps, InitializedState, 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 = {
@@ -1,5 +1,5 @@
1
- import { DBTagProps } from "./model";
2
1
  import { ClickEvent } from "../../shared/model";
2
+ import { DBTagProps } from "./model";
3
3
  declare var __VLS_1: {}, __VLS_3: {};
4
4
  type __VLS_Slots = {} & {
5
5
  content?: (props: typeof __VLS_1) => any;
@@ -9,15 +9,15 @@ type __VLS_Slots = {} & {
9
9
  declare const __VLS_component: import("vue").DefineComponent<DBTagProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBTagProps> & Readonly<{}>, {
10
10
  text: string;
11
11
  disabled: boolean | string;
12
- noText: boolean | string;
13
12
  children: any;
14
13
  className: string;
15
14
  id: string;
16
- icon: import("@db-ux/core-foundations").IconTypes;
17
- showIcon: boolean | string;
15
+ behavior: import("./model").TagBehaviorType | string;
18
16
  semantic: import("../../shared/model").SemanticType;
19
17
  emphasis: import("../../shared/model").EmphasisType;
20
- behavior: import("./model").TagBehaviorType | string;
18
+ icon: import("@db-ux/core-foundations").IconTypes;
19
+ showIcon: boolean | string;
20
+ noText: boolean | string;
21
21
  removeButton: string;
22
22
  showCheckState: boolean | string;
23
23
  overflow: boolean | string;
@@ -1,17 +1,16 @@
1
- import { DBTextareaProps } from "./model";
2
1
  import { ChangeEvent, InputEvent, InteractionEvent } from "../../shared/model";
2
+ import { DBTextareaProps } from "./model";
3
3
  declare const _default: import("vue").DefineComponent<DBTextareaProps, {}, {}, {}, {}, 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;
7
7
  }>, {
8
+ value: any;
8
9
  name: string;
9
10
  form: string;
10
11
  input: (event: InputEvent<HTMLTextAreaElement>) => void;
11
12
  label: string;
12
13
  disabled: boolean | string;
13
- value: any;
14
- variant: import("../../shared/model").LabelVariantType;
15
14
  className: string;
16
15
  id: string;
17
16
  resize: import("./model").TextareaResizeType;
@@ -19,9 +18,11 @@ declare const _default: import("vue").DefineComponent<DBTextareaProps, {}, {}, {
19
18
  onBlur: (event: InteractionEvent<HTMLTextAreaElement>) => void;
20
19
  onChange: (event: ChangeEvent<HTMLTextAreaElement>) => void;
21
20
  onInput: (event: InputEvent<HTMLTextAreaElement>) => void;
21
+ variant: import("../../shared/model").LabelVariantType;
22
22
  ariaDescribedBy: string;
23
23
  validation: import("../../shared/model").ValidationType;
24
24
  required: boolean | string;
25
+ showRequiredAsterisk: boolean | string;
25
26
  showLabel: boolean | string;
26
27
  placeholder: string;
27
28
  message: string;
@@ -37,10 +38,10 @@ declare const _default: import("vue").DefineComponent<DBTextareaProps, {}, {}, {
37
38
  readOnly: boolean | string;
38
39
  readonly: boolean | string;
39
40
  fieldSizing: import("../../shared/model").FieldSizingType;
41
+ wrap: import("./model").TextareaWrapType;
40
42
  cols: number | string;
41
43
  showResizer: boolean | string;
42
44
  rows: number | string;
43
45
  spellCheck: boolean;
44
- wrap: import("./model").TextareaWrapType;
45
46
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
46
47
  export default _default;
@@ -4,16 +4,16 @@ type __VLS_Slots = {} & {
4
4
  default?: (props: typeof __VLS_1) => any;
5
5
  };
6
6
  declare const __VLS_component: import("vue").DefineComponent<DBTooltipProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBTooltipProps> & Readonly<{}>, {
7
- variant: import("./model").TooltipVariantType;
8
7
  children: any;
9
8
  className: string;
10
9
  id: string;
11
- width: import("../../shared/model").PopoverWidthType;
12
- delay: import("../../shared/model").PopoverDelayType;
13
- animation: boolean | string;
10
+ variant: import("./model").TooltipVariantType;
14
11
  placement: import("../../shared/model").PlacementType;
15
12
  emphasis: import("../../shared/model").EmphasisType;
13
+ width: import("../../shared/model").PopoverWidthType;
16
14
  showArrow: boolean | string;
15
+ delay: import("../../shared/model").PopoverDelayType;
16
+ animation: boolean | string;
17
17
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
18
18
  declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
19
19
  export default _default;