@db-ux/v-core-components 1.1.0 → 1.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.
Files changed (38) hide show
  1. package/README.md +8 -3
  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 +2 -6
  7. package/dist/components/card/card.vue.d.ts +2 -6
  8. package/dist/components/checkbox/checkbox.vue.d.ts +1 -5
  9. package/dist/components/divider/divider.vue.d.ts +2 -6
  10. package/dist/components/drawer/drawer.vue.d.ts +3 -8
  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 +1 -5
  15. package/dist/components/link/link.vue.d.ts +1 -5
  16. package/dist/components/navigation/navigation.vue.d.ts +1 -5
  17. package/dist/components/navigation-item/model.d.ts +3 -2
  18. package/dist/components/navigation-item/navigation-item.vue.d.ts +2 -6
  19. package/dist/components/notification/notification.vue.d.ts +1 -5
  20. package/dist/components/page/model.d.ts +4 -0
  21. package/dist/components/page/page.vue.d.ts +2 -5
  22. package/dist/components/popover/popover.vue.d.ts +2 -6
  23. package/dist/components/radio/radio.vue.d.ts +3 -7
  24. package/dist/components/section/section.vue.d.ts +2 -6
  25. package/dist/components/select/select.vue.d.ts +1 -5
  26. package/dist/components/stack/stack.vue.d.ts +1 -5
  27. package/dist/components/switch/switch.vue.d.ts +1 -5
  28. package/dist/components/tab-item/tab-item.vue.d.ts +1 -5
  29. package/dist/components/tab-list/tab-list.vue.d.ts +1 -5
  30. package/dist/components/tab-panel/tab-panel.vue.d.ts +1 -5
  31. package/dist/components/tabs/tabs.vue.d.ts +3 -7
  32. package/dist/components/tag/tag.vue.d.ts +1 -5
  33. package/dist/components/textarea/textarea.vue.d.ts +1 -5
  34. package/dist/components/tooltip/tooltip.vue.d.ts +1 -5
  35. package/dist/db-ux.es.js +1095 -1085
  36. package/dist/db-ux.umd.js +1 -1
  37. package/dist/shared/model.d.ts +5 -5
  38. package/package.json +6 -6
package/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
 
8
8
  A Vue library containing all styles & components of [DB UX Design System (technical components)](https://github.com/db-ux-design-system/core-web).
9
9
 
10
- > **Note:** Find more information about specific components [here](https://db-ux-design-system.github.io/core-web/review/main)
10
+ > **Note:** Find more information about specific components [here](https://design-system.deutschebahn.com/core-web/review/main)
11
11
 
12
12
  ## Install
13
13
 
@@ -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
@@ -93,10 +97,11 @@ Both Inputs in this example do the same:
93
97
 
94
98
  ## Deutsche Bahn brand
95
99
 
96
- 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.
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 if being used with the code that we're providing 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;
@@ -20,11 +16,11 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBButtonPr
20
16
  id: string;
21
17
  onClick: (event: MouseEvent) => void;
22
18
  icon: import("@db-ux/core-foundations").BaseIconTypes | import("@db-ux/core-foundations").LooseAutocomplete;
23
- width: "full" | "auto";
19
+ width: string;
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;
@@ -10,8 +6,8 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBCardProp
10
6
  onClick: (event: MouseEvent) => void;
11
7
  behavior: "static" | "interactive";
12
8
  elevationLevel: "1" | "2" | "3";
13
- spacing: "medium" | "small" | "large" | "none";
14
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLDivElement>, {
9
+ spacing: string;
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,14 +1,10 @@
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;
9
5
  id: string;
10
- width: "full" | "auto";
6
+ width: string;
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,24 +1,19 @@
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;
10
5
  className: string;
11
6
  id: string;
12
- width: "full" | "auto";
7
+ width: string;
13
8
  onClose: (event?: any) => void;
14
9
  closeButtonId: string;
15
10
  closeButtonText: string;
16
- spacing: "medium" | "small" | "large" | "none";
11
+ spacing: string;
17
12
  backdrop: "none" | "weak" | "strong" | "invisible";
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<{
@@ -51,7 +47,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBInputPro
51
47
  minLength: number;
52
48
  readOnly: boolean;
53
49
  iconAfter: import("@db-ux/core-foundations").BaseIconTypes | import("@db-ux/core-foundations").LooseAutocomplete;
54
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLDivElement>, {
50
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
55
51
  default?: ((props: {}) => any) | undefined;
56
52
  }>;
57
53
  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 { 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
3
  disabled: boolean;
8
4
  label: string;
@@ -22,7 +18,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBLinkProp
22
18
  hreflang: string;
23
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;
@@ -10,14 +6,14 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBNavigati
10
6
  id: string;
11
7
  onClick: (event: MouseEvent) => void;
12
8
  icon: import("@db-ux/core-foundations").BaseIconTypes | import("@db-ux/core-foundations").LooseAutocomplete;
13
- width: "full" | "auto";
9
+ width: string;
14
10
  showIcon: boolean;
15
11
  text: string;
16
12
  active: boolean;
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;
@@ -20,6 +20,10 @@ export type DBPageDefaultProps = {
20
20
  * The slot can be used for React to set a header.
21
21
  */
22
22
  header?: any;
23
+ /**
24
+ * Adds `class` to `<main>` element
25
+ */
26
+ mainClass?: string;
23
27
  /**
24
28
  * The variant=fixed uses flex-box to make header and footer static
25
29
  */
@@ -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,8 @@ 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
+ mainClass: string;
10
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
14
11
  header?: ((props: {}) => any) | undefined;
15
12
  default?: ((props: {}) => any) | undefined;
16
13
  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;
@@ -11,10 +7,10 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBPopoverP
11
7
  delay: "none" | "slow" | "fast";
12
8
  animation: boolean;
13
9
  placement: "left" | "right" | "top" | "bottom" | "left-start" | "left-end" | "right-start" | "right-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end";
14
- spacing: "medium" | "small" | "large" | "none";
10
+ spacing: string;
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
- spacing: "medium" | "small" | "large" | "none";
12
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLElement>, {
7
+ spacing: string;
8
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
13
9
  default?: ((props: {}) => any) | undefined;
14
10
  }>;
15
11
  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 { 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<{
@@ -39,7 +35,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBSelectPr
39
35
  autocomplete: string;
40
36
  showMessage: boolean;
41
37
  options: DBSelectOptionType[];
42
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLDivElement>, {
38
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
43
39
  default?: ((props: {}) => any) | undefined;
44
40
  }>;
45
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,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<{
@@ -31,7 +27,7 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBSwitchPr
31
27
  checked: boolean;
32
28
  iconAfter: import("@db-ux/core-foundations").BaseIconTypes | import("@db-ux/core-foundations").LooseAutocomplete;
33
29
  visualAid: boolean;
34
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, __VLS_TemplateRefs, HTMLLabelElement>, {
30
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, {
35
31
  default?: ((props: {}) => any) | undefined;
36
32
  }>;
37
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;
@@ -1,15 +1,11 @@
1
- /// <reference types="../../../../../node_modules/.vue-global-types/vue_3.5_0_0_0.d.ts" />
2
1
  import { DBTabPanelProps } from "./model";
3
- type __VLS_TemplateRefs = {
4
- _ref: typeof __VLS_nativeElements['section'];
5
- };
6
2
  declare const _default: __VLS_WithSlots<import("vue").DefineComponent<DBTabPanelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBTabPanelProps> & Readonly<{}>, {
7
3
  children: any;
8
4
  className: string;
9
5
  id: string;
10
6
  content: string;
11
7
  labelledBy: string;
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;