@db-ux/v-core-components 1.0.1 → 1.1.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.
Files changed (43) hide show
  1. package/README.md +6 -1
  2. package/dist/components/accordion/accordion.vue.d.ts +1 -5
  3. package/dist/components/accordion-item/accordion-item.vue.d.ts +1 -5
  4. package/dist/components/badge/badge.vue.d.ts +1 -5
  5. package/dist/components/brand/brand.vue.d.ts +1 -5
  6. package/dist/components/button/button.vue.d.ts +1 -5
  7. package/dist/components/card/card.vue.d.ts +1 -5
  8. package/dist/components/checkbox/checkbox.vue.d.ts +1 -5
  9. package/dist/components/divider/divider.vue.d.ts +1 -5
  10. package/dist/components/drawer/drawer.vue.d.ts +1 -6
  11. package/dist/components/header/header.vue.d.ts +1 -5
  12. package/dist/components/icon/icon.vue.d.ts +1 -5
  13. package/dist/components/infotext/infotext.vue.d.ts +1 -5
  14. package/dist/components/input/input.vue.d.ts +2 -5
  15. package/dist/components/input/model.d.ts +2 -2
  16. package/dist/components/link/link.vue.d.ts +4 -8
  17. package/dist/components/navigation/navigation.vue.d.ts +1 -5
  18. package/dist/components/navigation-item/model.d.ts +3 -2
  19. package/dist/components/navigation-item/navigation-item.vue.d.ts +1 -5
  20. package/dist/components/notification/notification.vue.d.ts +1 -5
  21. package/dist/components/page/page.vue.d.ts +1 -5
  22. package/dist/components/popover/popover.vue.d.ts +1 -5
  23. package/dist/components/radio/radio.vue.d.ts +3 -7
  24. package/dist/components/section/section.vue.d.ts +1 -5
  25. package/dist/components/select/model.d.ts +2 -2
  26. package/dist/components/select/select.vue.d.ts +2 -5
  27. package/dist/components/stack/stack.vue.d.ts +1 -5
  28. package/dist/components/switch/model.d.ts +2 -2
  29. package/dist/components/switch/switch.vue.d.ts +2 -5
  30. package/dist/components/tab-item/tab-item.vue.d.ts +1 -5
  31. package/dist/components/tab-list/tab-list.vue.d.ts +1 -5
  32. package/dist/components/tab-panel/tab-panel.vue.d.ts +2 -6
  33. package/dist/components/tabs/model.d.ts +9 -0
  34. package/dist/components/tabs/tabs.vue.d.ts +3 -5
  35. package/dist/components/tag/tag.vue.d.ts +1 -5
  36. package/dist/components/textarea/textarea.vue.d.ts +2 -6
  37. package/dist/components/tooltip/tooltip.vue.d.ts +1 -5
  38. package/dist/db-ux.es.js +895 -870
  39. package/dist/db-ux.umd.js +1 -1
  40. package/dist/shared/model.d.ts +6 -0
  41. package/dist/utils/index.d.ts +0 -4
  42. package/dist/utils/react.d.ts +7 -0
  43. package/package.json +6 -6
package/README.md CHANGED
@@ -51,6 +51,10 @@ import "@db-ux/core-components/build/styles/rollup.css";
51
51
 
52
52
  > **Note:** The `@db-ux/core-components/build/styles/relative` file contains optional and all components styles. If you consider performance issues see [@db-ux/core-components](https://www.npmjs.com/package/@db-ux/core-components) for more information.
53
53
 
54
+ ### DB Theme
55
+
56
+ In case that you're building a website or application for Deutsche Bahn, you'll additionally have to install the DB Theme via the [`@db-ux/db-theme`](https://www.npmjs.com/package/@db-ux/db-theme) node package (even also available as an inner source node package, as described within that packages README).
57
+
54
58
  ## Usage
55
59
 
56
60
  ```vue
@@ -96,7 +100,8 @@ Both Inputs in this example do the same:
96
100
  As we'd like to perfectly support our users and customers on their digital journey, the usage of Deutsche Bahn brand and trademarks are bound of clear guidelines and restrictions even when being used with the code that we're provide with this product; Deutsche Bahn fully reserves all rights regarding the Deutsche Bahn brand, even though that we're providing the code of DB UX Design System products free to use and release it under the Apache 2.0 license.
97
101
  Please have a look at our brand portal at <https://marketingportal.extranet.deutschebahn.com/> for any further questions and whom to contact on any brand issues.
98
102
 
99
- You must remove or replace any Deutsche Bahn brand and design assets as well as protected characteristics and trademarks. We're even also planning to provide a neutral theme that would make it much easier for you to use our product without the trademarks by Deutsche Bahn.
103
+ For any usage outside of Deutsche Bahn websites and applications you aren't allowed to use any Deutsche Bahn brand and
104
+ design assets as well as protected characteristics and trademarks, that for not including the DB Theme.
100
105
 
101
106
  ## Contributions
102
107
 
@@ -1,9 +1,5 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
1
  import { DBAccordionItemDefaultProps } from "../accordion-item/model";
3
2
  import { DBAccordionProps } from "./model";
4
- type __VLS_TemplateRefs = {
5
- _ref: typeof __VLS_nativeElements['ul'];
6
- };
7
3
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBAccordionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBAccordionProps> & Readonly<{}>, {
8
4
  name: string;
9
5
  variant: "divider" | "card";
@@ -13,7 +9,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBAccordio
13
9
  behavior: "multiple" | "single";
14
10
  initOpenIndex: number[];
15
11
  items: string | DBAccordionItemDefaultProps[];
16
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLUListElement>, {
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
17
13
  default?: ((props: {}) => any) | undefined;
18
14
  }>;
19
15
  export default _default;
@@ -1,8 +1,4 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
1
  import { DBAccordionItemProps } from "./model";
3
- type __VLS_TemplateRefs = {
4
- _ref: typeof __VLS_nativeElements['details'];
5
- };
6
2
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBAccordionItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBAccordionItemProps> & Readonly<{}>, {
7
3
  disabled: boolean;
8
4
  children: any;
@@ -12,7 +8,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBAccordio
12
8
  onToggle: (open: boolean) => void;
13
9
  defaultOpen: boolean;
14
10
  headlinePlain: string;
15
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLLIElement>, {
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
16
12
  headline?: ((props: {}) => any) | undefined;
17
13
  default?: ((props: {}) => any) | undefined;
18
14
  }>;
@@ -1,8 +1,4 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
1
  import { DBBadgeProps } from "./model";
3
- type __VLS_TemplateRefs = {
4
- _ref: typeof __VLS_nativeElements['span'];
5
- };
6
2
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBBadgeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBBadgeProps> & Readonly<{}>, {
7
3
  label: string;
8
4
  children: any;
@@ -13,7 +9,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBBadgePro
13
9
  semantic: "adaptive" | "neutral" | "critical" | "informational" | "warning" | "successful";
14
10
  placement: "inline" | "corner-top-left" | "corner-top-right" | "corner-center-left" | "corner-center-right" | "corner-bottom-left" | "corner-bottom-right";
15
11
  emphasis: "weak" | "strong" | "origin";
16
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLSpanElement>, {
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
17
13
  default?: ((props: {}) => any) | undefined;
18
14
  }>;
19
15
  export default _default;
@@ -1,8 +1,4 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
1
  import { DBBrandProps } from "./model";
3
- type __VLS_TemplateRefs = {
4
- _ref: typeof __VLS_nativeElements['div'];
5
- };
6
2
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBBrandProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBBrandProps> & Readonly<{}>, {
7
3
  children: any;
8
4
  className: string;
@@ -11,7 +7,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBBrandPro
11
7
  showIcon: boolean;
12
8
  text: string;
13
9
  hideLogo: boolean;
14
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLDivElement>, {
10
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
15
11
  default?: ((props: {}) => any) | undefined;
16
12
  }>;
17
13
  export default _default;
@@ -1,8 +1,4 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
1
  import type { DBButtonProps } from "./model";
3
- type __VLS_TemplateRefs = {
4
- _ref: typeof __VLS_nativeElements['button'];
5
- };
6
2
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBButtonProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBButtonProps> & Readonly<{}>, {
7
3
  name: string;
8
4
  ariaexpanded: boolean;
@@ -24,7 +20,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBButtonPr
24
20
  size: "medium" | "small";
25
21
  showIcon: boolean;
26
22
  text: string;
27
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLButtonElement>, {
23
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
28
24
  default?: ((props: {}) => any) | undefined;
29
25
  }>;
30
26
  export default _default;
@@ -1,8 +1,4 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
1
  import type { DBCardProps } from "./model";
3
- type __VLS_TemplateRefs = {
4
- _ref: typeof __VLS_nativeElements['div'];
5
- };
6
2
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBCardProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBCardProps> & Readonly<{}>, {
7
3
  children: any;
8
4
  className: string;
@@ -11,7 +7,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBCardProp
11
7
  behavior: "static" | "interactive";
12
8
  elevationLevel: "1" | "2" | "3";
13
9
  spacing: "medium" | "small" | "large" | "none";
14
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLDivElement>, {
10
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
15
11
  default?: ((props: {}) => any) | undefined;
16
12
  }>;
17
13
  export default _default;
@@ -1,8 +1,4 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
1
  import { DBCheckboxProps } from "./model";
3
- type __VLS_TemplateRefs = {
4
- _ref: typeof __VLS_nativeElements['input'];
5
- };
6
2
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBCheckboxProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
3
  "update:checked": (...args: any[]) => void;
8
4
  }, string, import("vue").PublicProps, Readonly<DBCheckboxProps> & Readonly<{
@@ -32,7 +28,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBCheckbox
32
28
  invalidMessage: string;
33
29
  messageIcon: import("@db-ux/core-foundations").BaseIconTypes | import("@db-ux/core-foundations").LooseAutocomplete;
34
30
  showMessage: boolean;
35
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLDivElement>, {
31
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
36
32
  default?: ((props: {}) => any) | undefined;
37
33
  }>;
38
34
  export default _default;
@@ -1,8 +1,4 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
1
  import { DBDividerProps } from "./model";
3
- type __VLS_TemplateRefs = {
4
- _ref: typeof __VLS_nativeElements['div'];
5
- };
6
2
  declare const _default: import("vue").DefineComponent<DBDividerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBDividerProps> & Readonly<{}>, {
7
3
  variant: "horizontal" | "vertical";
8
4
  className: string;
@@ -10,5 +6,5 @@ declare const _default: import("vue").DefineComponent<DBDividerProps, {}, {}, {}
10
6
  width: "full" | "auto";
11
7
  emphasis: "weak" | "strong";
12
8
  margin: "none";
13
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLDivElement>;
9
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
10
  export default _default;
@@ -1,9 +1,4 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
1
  import { DBDrawerProps } from "./model";
3
- type __VLS_TemplateRefs = {
4
- _ref: typeof __VLS_nativeElements['dialog'];
5
- dialogContainerRef: typeof __VLS_nativeElements['article'];
6
- };
7
2
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBDrawerProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBDrawerProps> & Readonly<{}>, {
8
3
  variant: "modal" | "inside";
9
4
  children: any;
@@ -18,7 +13,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBDrawerPr
18
13
  direction: "left" | "right" | "up" | "down";
19
14
  open: boolean;
20
15
  rounded: boolean;
21
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLDialogElement>, {
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
22
17
  'drawer-header'?: ((props: {}) => any) | undefined;
23
18
  default?: ((props: {}) => any) | undefined;
24
19
  }>;
@@ -1,8 +1,4 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
1
  import { DBHeaderProps } from "./model";
3
- type __VLS_TemplateRefs = {
4
- _ref: typeof __VLS_nativeElements['header'];
5
- };
6
2
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBHeaderProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBHeaderProps> & Readonly<{}>, {
7
3
  children: any;
8
4
  className: string;
@@ -12,7 +8,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBHeaderPr
12
8
  forceMobile: boolean;
13
9
  burgerMenuLabel: string;
14
10
  onToggle: (open: boolean) => void;
15
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLElement>, {
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
16
12
  default?: (((props: {}) => any) & ((props: {}) => any)) | undefined;
17
13
  'meta-navigation'?: (((props: {}) => any) & ((props: {}) => any)) | undefined;
18
14
  'secondary-action'?: (((props: {}) => any) & ((props: {}) => any)) | undefined;
@@ -1,8 +1,4 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
1
  import type { DBIconProps } from "./model";
3
- type __VLS_TemplateRefs = {
4
- _ref: typeof __VLS_nativeElements['span'];
5
- };
6
2
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBIconProps> & Readonly<{}>, {
7
3
  variant: "filled" | "default" | "inverted";
8
4
  children: any;
@@ -11,7 +7,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBIconProp
11
7
  icon: import("@db-ux/core-foundations").BaseIconTypes | import("@db-ux/core-foundations").LooseAutocomplete;
12
8
  text: string;
13
9
  weight: "16" | "20" | "24" | "32" | "48" | "64";
14
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLSpanElement>, {
10
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
15
11
  default?: ((props: {}) => any) | undefined;
16
12
  }>;
17
13
  export default _default;
@@ -1,8 +1,4 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
1
  import { DBInfotextProps } from "./model";
3
- type __VLS_TemplateRefs = {
4
- _ref: typeof __VLS_nativeElements['span'];
5
- };
6
2
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBInfotextProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBInfotextProps> & Readonly<{}>, {
7
3
  children: any;
8
4
  className: string;
@@ -12,7 +8,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBInfotext
12
8
  showIcon: boolean;
13
9
  text: string;
14
10
  semantic: "adaptive" | "neutral" | "critical" | "informational" | "warning" | "successful";
15
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLSpanElement>, {
11
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
16
12
  default?: ((props: {}) => any) | undefined;
17
13
  }>;
18
14
  export default _default;
@@ -1,9 +1,5 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
1
  import { DBInputProps } from "./model";
3
2
  import { ValueLabelType } from "../../shared/model";
4
- type __VLS_TemplateRefs = {
5
- _ref: typeof __VLS_nativeElements['input'];
6
- };
7
3
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBInputProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
8
4
  "update:value": (...args: any[]) => void;
9
5
  }, string, import("vue").PublicProps, Readonly<DBInputProps> & Readonly<{
@@ -21,6 +17,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBInputPro
21
17
  id: string;
22
18
  autofocus: boolean;
23
19
  icon: import("@db-ux/core-foundations").BaseIconTypes | import("@db-ux/core-foundations").LooseAutocomplete;
20
+ size: number;
24
21
  showIcon: boolean;
25
22
  blur: (event: FocusEvent) => void;
26
23
  change: (event: Event) => void;
@@ -50,7 +47,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBInputPro
50
47
  minLength: number;
51
48
  readOnly: boolean;
52
49
  iconAfter: import("@db-ux/core-foundations").BaseIconTypes | import("@db-ux/core-foundations").LooseAutocomplete;
53
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLDivElement>, {
50
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
54
51
  default?: ((props: {}) => any) | undefined;
55
52
  }>;
56
53
  export default _default;
@@ -1,4 +1,4 @@
1
- import { ChangeEventProps, ChangeEventState, FocusEventProps, FocusEventState, FormMessageProps, FormProps, FormState, FormTextProps, GlobalProps, GlobalState, IconAfterProps, IconProps, InputEventProps, InputEventState, ShowIconProps, ValueLabelType } from '../../shared/model';
1
+ import { ChangeEventProps, ChangeEventState, FocusEventProps, FocusEventState, FormMessageProps, FormProps, FormSizeProps, FormState, FormTextProps, GlobalProps, GlobalState, IconAfterProps, IconProps, InputEventProps, InputEventState, ShowIconProps, ValueLabelType } from '../../shared/model';
2
2
  export declare const InputTypeList: readonly ["color", "date", "datetime-local", "email", "file", "hidden", "month", "number", "password", "range", "search", "tel", "text", "time", "url", "week"];
3
3
  export type InputTypeType = (typeof InputTypeList)[number];
4
4
  export type DBInputDefaultProps = {
@@ -31,7 +31,7 @@ export type DBInputDefaultProps = {
31
31
  */
32
32
  step?: number | string;
33
33
  };
34
- export type DBInputProps = DBInputDefaultProps & GlobalProps & FormTextProps & InputEventProps<HTMLInputElement> & ChangeEventProps<HTMLInputElement> & FocusEventProps<HTMLInputElement> & FormProps & IconProps & IconAfterProps & FormMessageProps & ShowIconProps;
34
+ export type DBInputProps = DBInputDefaultProps & GlobalProps & FormTextProps & InputEventProps<HTMLInputElement> & ChangeEventProps<HTMLInputElement> & FocusEventProps<HTMLInputElement> & FormProps & IconProps & IconAfterProps & FormMessageProps & ShowIconProps & FormSizeProps;
35
35
  export type DBInputDefaultState = {
36
36
  _dataListId?: string;
37
37
  getDataList: (_list?: string[] | ValueLabelType[]) => ValueLabelType[];
@@ -1,12 +1,5 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
1
  import { DBLinkProps } from "./model";
3
- type __VLS_TemplateRefs = {
4
- _ref: typeof __VLS_nativeElements['a'];
5
- };
6
2
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBLinkProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBLinkProps> & Readonly<{}>, {
7
- rel: string;
8
- content: "external" | "internal";
9
- role: string;
10
3
  disabled: boolean;
11
4
  label: string;
12
5
  variant: "adaptive" | "brand";
@@ -18,11 +11,14 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBLinkProp
18
11
  showIcon: boolean;
19
12
  text: string;
20
13
  target: "_self" | "_blank" | "_parent" | "_top";
14
+ role: string;
15
+ content: "external" | "internal";
21
16
  current: boolean | "time" | "true" | "false" | "date" | "page" | "step" | "location";
22
17
  href: string;
23
18
  hreflang: string;
19
+ rel: string;
24
20
  selected: boolean;
25
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLAnchorElement>, {
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
26
22
  default?: ((props: {}) => any) | undefined;
27
23
  }>;
28
24
  export default _default;
@@ -1,14 +1,10 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
1
  import { DBNavigationProps } from "./model";
3
- type __VLS_TemplateRefs = {
4
- _ref: typeof __VLS_nativeElements['nav'];
5
- };
6
2
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBNavigationProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBNavigationProps> & Readonly<{}>, {
7
3
  children: any;
8
4
  className: string;
9
5
  id: string;
10
6
  labelledBy: string;
11
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLElement>, {
7
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
12
8
  default?: ((props: {}) => any) | undefined;
13
9
  }>;
14
10
  export default _default;
@@ -1,4 +1,4 @@
1
- import { ClickEvent, ClickEventProps, ClickEventState, GlobalProps, GlobalState, IconProps, InitializedState, NavigationBackButtonProps, ShowIconProps, TextProps, WidthProps } from '../../shared/model';
1
+ import { ClickEvent, ClickEventProps, ClickEventState, GlobalProps, GlobalState, IconProps, InitializedState, NavigationBackButtonProps, NavigationBehaviorState, ShowIconProps, TextProps, WidthProps } from '../../shared/model';
2
2
  import { NavigationItemSafeTriangle } from '../../utils/navigation';
3
3
  export type DBNavigationItemDefaultProps = {
4
4
  /**
@@ -30,5 +30,6 @@ export type DBNavigationItemDefaultState = {
30
30
  hasSubNavigation?: boolean;
31
31
  updateSubNavigationState: () => void;
32
32
  navigationItemSafeTriangle?: NavigationItemSafeTriangle;
33
+ autoClose?: boolean;
33
34
  };
34
- export type DBNavigationItemState = DBNavigationItemDefaultState & ClickEventState<HTMLButtonElement> & GlobalState & InitializedState;
35
+ export type DBNavigationItemState = DBNavigationItemDefaultState & ClickEventState<HTMLButtonElement> & GlobalState & InitializedState & NavigationBehaviorState;
@@ -1,8 +1,4 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
1
  import { DBNavigationItemProps } from "./model";
3
- type __VLS_TemplateRefs = {
4
- _ref: typeof __VLS_nativeElements['li'];
5
- };
6
2
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBNavigationItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBNavigationItemProps> & Readonly<{}>, {
7
3
  disabled: boolean;
8
4
  children: any;
@@ -17,7 +13,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBNavigati
17
13
  subNavigationExpanded: boolean;
18
14
  backButtonId: string;
19
15
  backButtonText: string;
20
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLLIElement>, {
16
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
21
17
  default?: (((props: {}) => any) & ((props: {}) => any)) | undefined;
22
18
  'sub-navigation'?: ((props: {}) => any) | undefined;
23
19
  }>;
@@ -1,8 +1,4 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
1
  import { DBNotificationProps } from "./model";
3
- type __VLS_TemplateRefs = {
4
- _ref: typeof __VLS_nativeElements['article'];
5
- };
6
2
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBNotificationProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBNotificationProps> & Readonly<{}>, {
7
3
  variant: "docked" | "standalone" | "overlay";
8
4
  children: any;
@@ -22,7 +18,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBNotifica
22
18
  semantic: "adaptive" | "neutral" | "critical" | "informational" | "warning" | "successful";
23
19
  closeButtonId: string;
24
20
  closeButtonText: string;
25
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLElement>, {
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
26
22
  image?: ((props: {}) => any) | undefined;
27
23
  default?: ((props: {}) => any) | undefined;
28
24
  link?: ((props: {}) => any) | undefined;
@@ -1,8 +1,4 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
1
  import { DBPageProps } from "./model";
3
- type __VLS_TemplateRefs = {
4
- _ref: typeof __VLS_nativeElements['div'];
5
- };
6
2
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBPageProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBPageProps> & Readonly<{}>, {
7
3
  variant: "auto" | "fixed";
8
4
  children: any;
@@ -10,7 +6,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBPageProp
10
6
  id: string;
11
7
  documentOverflow: "auto" | "hidden";
12
8
  fadeIn: boolean;
13
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLDivElement>, {
9
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
14
10
  header?: ((props: {}) => any) | undefined;
15
11
  default?: ((props: {}) => any) | undefined;
16
12
  footer?: ((props: {}) => any) | undefined;
@@ -1,8 +1,4 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
1
  import { DBPopoverProps } from "./model";
3
- type __VLS_TemplateRefs = {
4
- _ref: typeof __VLS_nativeElements['div'];
5
- };
6
2
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBPopoverProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBPopoverProps> & Readonly<{}>, {
7
3
  children: any;
8
4
  className: string;
@@ -14,7 +10,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBPopoverP
14
10
  spacing: "medium" | "small" | "large" | "none";
15
11
  open: boolean;
16
12
  gap: boolean;
17
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLDivElement>, {
13
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
18
14
  trigger?: ((props: {}) => any) | undefined;
19
15
  default?: ((props: {}) => any) | undefined;
20
16
  }>;
@@ -1,12 +1,8 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
1
  import { DBRadioProps } from "./model";
3
- type __VLS_TemplateRefs = {
4
- _ref: typeof __VLS_nativeElements['input'];
5
- };
6
2
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBRadioProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
- "update:checked": (...args: any[]) => void;
3
+ "update:value": (...args: any[]) => void;
8
4
  }, string, import("vue").PublicProps, Readonly<DBRadioProps> & Readonly<{
9
- "onUpdate:checked"?: ((...args: any[]) => any) | undefined;
5
+ "onUpdate:value"?: ((...args: any[]) => any) | undefined;
10
6
  }>, {
11
7
  name: string;
12
8
  disabled: boolean;
@@ -27,7 +23,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBRadioPro
27
23
  required: boolean;
28
24
  showLabel: boolean;
29
25
  checked: boolean;
30
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLLabelElement>, {
26
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
31
27
  default?: ((props: {}) => any) | undefined;
32
28
  }>;
33
29
  export default _default;
@@ -1,15 +1,11 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
1
  import { DBSectionProps } from "./model";
3
- type __VLS_TemplateRefs = {
4
- _ref: typeof __VLS_nativeElements['section'];
5
- };
6
2
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBSectionProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBSectionProps> & Readonly<{}>, {
7
3
  children: any;
8
4
  className: string;
9
5
  id: string;
10
6
  width: "medium" | "small" | "large" | "full";
11
7
  spacing: "medium" | "small" | "large" | "none";
12
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLElement>, {
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
13
9
  default?: ((props: {}) => any) | undefined;
14
10
  }>;
15
11
  export default _default;
@@ -1,4 +1,4 @@
1
- import { ChangeEventProps, ChangeEventState, ClickEventProps, ClickEventState, FocusEventProps, FocusEventState, FormMessageProps, FormProps, FormState, GlobalProps, GlobalState, IconProps, InitializedState, InputEventProps, InputEventState, ShowIconProps } from '../../shared/model';
1
+ import { ChangeEventProps, ChangeEventState, ClickEventProps, ClickEventState, FocusEventProps, FocusEventState, FormMessageProps, FormProps, FormSizeProps, FormState, GlobalProps, GlobalState, IconProps, InitializedState, InputEventProps, InputEventState, ShowIconProps } from '../../shared/model';
2
2
  export type DBSelectDefaultProps = {
3
3
  /**
4
4
  * The description attribute will add a paragraph below the select.
@@ -35,7 +35,7 @@ export type DBSelectOptionType = {
35
35
  */
36
36
  value: string | string[] | number;
37
37
  };
38
- export type DBSelectProps = DBSelectDefaultProps & GlobalProps & ClickEventProps<HTMLSelectElement> & ChangeEventProps<HTMLSelectElement> & FocusEventProps<HTMLSelectElement> & InputEventProps<HTMLSelectElement> & FormProps & IconProps & FormMessageProps & ShowIconProps;
38
+ export type DBSelectProps = DBSelectDefaultProps & GlobalProps & ClickEventProps<HTMLSelectElement> & ChangeEventProps<HTMLSelectElement> & FocusEventProps<HTMLSelectElement> & InputEventProps<HTMLSelectElement> & FormProps & IconProps & FormMessageProps & ShowIconProps & FormSizeProps;
39
39
  export type DBSelectDefaultState = {
40
40
  _placeholderId: string;
41
41
  getOptionLabel: (option: DBSelectOptionType) => string;
@@ -1,8 +1,4 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
1
  import { DBSelectOptionType, DBSelectProps } from "./model";
3
- type __VLS_TemplateRefs = {
4
- _ref: typeof __VLS_nativeElements['select'];
5
- };
6
2
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBSelectProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
3
  "update:value": (...args: any[]) => void;
8
4
  }, string, import("vue").PublicProps, Readonly<DBSelectProps> & Readonly<{
@@ -18,6 +14,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBSelectPr
18
14
  id: string;
19
15
  onClick: (event: MouseEvent) => void;
20
16
  icon: import("@db-ux/core-foundations").BaseIconTypes | import("@db-ux/core-foundations").LooseAutocomplete;
17
+ size: number;
21
18
  showIcon: boolean;
22
19
  blur: (event: FocusEvent) => void;
23
20
  change: (event: Event) => void;
@@ -38,7 +35,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBSelectPr
38
35
  autocomplete: string;
39
36
  showMessage: boolean;
40
37
  options: DBSelectOptionType[];
41
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLDivElement>, {
38
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
42
39
  default?: ((props: {}) => any) | undefined;
43
40
  }>;
44
41
  export default _default;
@@ -1,8 +1,4 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
1
  import { DBStackProps } from "./model";
3
- type __VLS_TemplateRefs = {
4
- _ref: typeof __VLS_nativeElements['div'];
5
- };
6
2
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBStackProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBStackProps> & Readonly<{}>, {
7
3
  variant: "divider" | "simple";
8
4
  children: any;
@@ -13,7 +9,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBStackPro
13
9
  gap: "medium" | "small" | "large" | "none" | "3x-large" | "2x-large" | "x-large" | "x-small" | "2x-small" | "3x-small";
14
10
  alignment: "start" | "center" | "stretch" | "end";
15
11
  justifyContent: "start" | "center" | "end" | "space-between";
16
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLDivElement>, {
12
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
17
13
  default?: ((props: {}) => any) | undefined;
18
14
  }>;
19
15
  export default _default;
@@ -1,4 +1,4 @@
1
- import { ChangeEventProps, ChangeEventState, EmphasisProps, FocusEventProps, FocusEventState, FormCheckProps, FormProps, FormState, GlobalProps, GlobalState, IconAfterProps, IconProps, InitializedState, SizeProps } from '../../shared/model';
1
+ import { ChangeEventProps, ChangeEventState, EmphasisProps, FocusEventProps, FocusEventState, FormCheckProps, FormProps, FormState, GlobalProps, GlobalState, IconAfterProps, IconProps, SizeProps } from '../../shared/model';
2
2
  export type DBSwitchDefaultProps = {
3
3
  /**
4
4
  * Add additional icons to indicate active/inactive state.
@@ -9,4 +9,4 @@ export type DBSwitchProps = DBSwitchDefaultProps & GlobalProps & ChangeEventProp
9
9
  export type DBSwitchDefaultState = {
10
10
  _checked: boolean;
11
11
  };
12
- export type DBSwitchState = DBSwitchDefaultState & GlobalState & ChangeEventState<HTMLInputElement> & FocusEventState<HTMLInputElement> & FormState & InitializedState;
12
+ export type DBSwitchState = DBSwitchDefaultState & GlobalState & ChangeEventState<HTMLInputElement> & FocusEventState<HTMLInputElement> & FormState;
@@ -1,8 +1,4 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
1
  import { DBSwitchProps } from "./model";
3
- type __VLS_TemplateRefs = {
4
- _ref: typeof __VLS_nativeElements['input'];
5
- };
6
2
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBSwitchProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
3
  "update:checked": (...args: any[]) => void;
8
4
  }, string, import("vue").PublicProps, Readonly<DBSwitchProps> & Readonly<{
@@ -11,6 +7,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBSwitchPr
11
7
  name: string;
12
8
  disabled: boolean;
13
9
  label: string;
10
+ value: any;
14
11
  children: any;
15
12
  className: string;
16
13
  describedbyid: string;
@@ -30,7 +27,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBSwitchPr
30
27
  checked: boolean;
31
28
  iconAfter: import("@db-ux/core-foundations").BaseIconTypes | import("@db-ux/core-foundations").LooseAutocomplete;
32
29
  visualAid: boolean;
33
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLLabelElement>, {
30
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
34
31
  default?: ((props: {}) => any) | undefined;
35
32
  }>;
36
33
  export default _default;
@@ -1,8 +1,4 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
1
  import type { DBTabItemProps } from "./model";
3
- type __VLS_TemplateRefs = {
4
- _ref: typeof __VLS_nativeElements['input'];
5
- };
6
2
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBTabItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
7
3
  "update:checked": (...args: any[]) => void;
8
4
  }, string, import("vue").PublicProps, Readonly<DBTabItemProps> & Readonly<{
@@ -22,7 +18,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBTabItemP
22
18
  iconAfter: import("@db-ux/core-foundations").BaseIconTypes | import("@db-ux/core-foundations").LooseAutocomplete;
23
19
  active: boolean;
24
20
  controls: string;
25
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLLIElement>, {
21
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
26
22
  default?: ((props: {}) => any) | undefined;
27
23
  }>;
28
24
  export default _default;
@@ -1,12 +1,8 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
- type __VLS_TemplateRefs = {
3
- _ref: typeof __VLS_nativeElements['div'];
4
- };
5
1
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("../..").GlobalProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("../..").GlobalProps> & Readonly<{}>, {
6
2
  children: any;
7
3
  className: string;
8
4
  id: string;
9
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLDivElement>, {
5
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
10
6
  default?: ((props: {}) => any) | undefined;
11
7
  }>;
12
8
  export default _default;