@db-ux/v-core-components 5.1.6-shell-11663a0 → 5.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 (81) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/agent/_instructions.md +0 -10
  3. package/dist/components/accordion/accordion.vue.d.ts +1 -1
  4. package/dist/components/accordion/model.d.ts +8 -2
  5. package/dist/components/custom-select/custom-select.vue.d.ts +1 -1
  6. package/dist/components/custom-select/model.d.ts +1 -1
  7. package/dist/components/custom-select-list/custom-select-list.vue.d.ts +1 -1
  8. package/dist/components/drawer/model.d.ts +0 -1
  9. package/dist/components/header/header.vue.d.ts +2 -2
  10. package/dist/components/{shell-content/shell-content.vue.d.ts → heading/custom-heading.vue.d.ts} +6 -6
  11. package/dist/components/{control-panel-skip-navigation/control-panel-skip-navigation.vue.d.ts → heading/heading-h1.vue.d.ts} +6 -3
  12. package/dist/components/{control-panel-secondary-actions/control-panel-secondary-actions.vue.d.ts → heading/heading-h2.vue.d.ts} +7 -1
  13. package/dist/components/{control-panel-primary-actions/control-panel-primary-actions.vue.d.ts → heading/heading-h3.vue.d.ts} +7 -1
  14. package/dist/components/{control-panel-meta/control-panel-meta.vue.d.ts → heading/heading-h4.vue.d.ts} +7 -1
  15. package/dist/components/heading/heading-h5.vue.d.ts +24 -0
  16. package/dist/components/heading/heading-h6.vue.d.ts +24 -0
  17. package/dist/components/heading/index.d.ts +7 -0
  18. package/dist/components/heading/model.d.ts +73 -0
  19. package/dist/components/input/input.vue.d.ts +1 -1
  20. package/dist/components/navigation-item/navigation-item.vue.d.ts +2 -2
  21. package/dist/components/notification/notification.vue.d.ts +1 -1
  22. package/dist/components/popover/popover.vue.d.ts +0 -1
  23. package/dist/components/select/select.vue.d.ts +1 -1
  24. package/dist/components/stack/stack.vue.d.ts +1 -1
  25. package/dist/components/tooltip/tooltip.vue.d.ts +0 -1
  26. package/dist/db-ux.es.js +1808 -2745
  27. package/dist/db-ux.umd.js +1 -1
  28. package/dist/index.d.ts +2 -28
  29. package/dist/shared/constants.d.ts +1 -5
  30. package/dist/shared/model.d.ts +3 -94
  31. package/dist/utils/floating-components.d.ts +2 -7
  32. package/dist/utils/index.d.ts +0 -10
  33. package/dist/utils/navigation.d.ts +11 -27
  34. package/package.json +3 -3
  35. package/agent/ControlPanelBrand.md +0 -15
  36. package/agent/ControlPanelDesktop.md +0 -48
  37. package/agent/ControlPanelMeta.md +0 -19
  38. package/agent/ControlPanelMobile.md +0 -40
  39. package/agent/ControlPanelNavigation.md +0 -24
  40. package/agent/ControlPanelNavigationItem.md +0 -39
  41. package/agent/ControlPanelPrimaryActions.md +0 -20
  42. package/agent/ControlPanelSecondaryActions.md +0 -24
  43. package/agent/Shell.md +0 -28
  44. package/agent/ShellSubNavigation.md +0 -6
  45. package/dist/components/control-panel-brand/control-panel-brand.vue.d.ts +0 -22
  46. package/dist/components/control-panel-brand/index.d.ts +0 -1
  47. package/dist/components/control-panel-brand/model.d.ts +0 -7
  48. package/dist/components/control-panel-desktop/control-panel-desktop.vue.d.ts +0 -34
  49. package/dist/components/control-panel-desktop/index.d.ts +0 -1
  50. package/dist/components/control-panel-desktop/model.d.ts +0 -7
  51. package/dist/components/control-panel-flat-icon/control-panel-flat-icon.vue.d.ts +0 -22
  52. package/dist/components/control-panel-flat-icon/index.d.ts +0 -1
  53. package/dist/components/control-panel-flat-icon/model.d.ts +0 -12
  54. package/dist/components/control-panel-meta/index.d.ts +0 -1
  55. package/dist/components/control-panel-meta/model.d.ts +0 -5
  56. package/dist/components/control-panel-mobile/control-panel-mobile.vue.d.ts +0 -33
  57. package/dist/components/control-panel-mobile/index.d.ts +0 -1
  58. package/dist/components/control-panel-mobile/model.d.ts +0 -21
  59. package/dist/components/control-panel-navigation/control-panel-navigation.vue.d.ts +0 -26
  60. package/dist/components/control-panel-navigation/index.d.ts +0 -1
  61. package/dist/components/control-panel-navigation/model.d.ts +0 -27
  62. package/dist/components/control-panel-navigation-item/control-panel-navigation-item.vue.d.ts +0 -27
  63. package/dist/components/control-panel-navigation-item/index.d.ts +0 -1
  64. package/dist/components/control-panel-navigation-item/model.d.ts +0 -20
  65. package/dist/components/control-panel-navigation-item-group/control-panel-navigation-item-group.vue.d.ts +0 -32
  66. package/dist/components/control-panel-navigation-item-group/index.d.ts +0 -1
  67. package/dist/components/control-panel-navigation-item-group/model.d.ts +0 -42
  68. package/dist/components/control-panel-primary-actions/index.d.ts +0 -1
  69. package/dist/components/control-panel-primary-actions/model.d.ts +0 -5
  70. package/dist/components/control-panel-secondary-actions/index.d.ts +0 -1
  71. package/dist/components/control-panel-secondary-actions/model.d.ts +0 -5
  72. package/dist/components/control-panel-skip-navigation/index.d.ts +0 -1
  73. package/dist/components/control-panel-skip-navigation/model.d.ts +0 -16
  74. package/dist/components/shell/index.d.ts +0 -1
  75. package/dist/components/shell/model.d.ts +0 -38
  76. package/dist/components/shell/shell.vue.d.ts +0 -25
  77. package/dist/components/shell-content/index.d.ts +0 -1
  78. package/dist/components/shell-content/model.d.ts +0 -28
  79. package/dist/components/shell-sub-navigation/index.d.ts +0 -1
  80. package/dist/components/shell-sub-navigation/model.d.ts +0 -5
  81. package/dist/components/shell-sub-navigation/shell-sub-navigation.vue.d.ts +0 -22
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @db-ux/v-core-components
2
2
 
3
+ ## 5.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - feat: add static and custom Heading components (beta) - [see commit dfa8e2c](https://github.com/db-ux-design-system/core-web/commit/dfa8e2cf7c05d7bc42782a38b1eb3d65d971e156):
8
+
9
+ - `DBCustomHeading` takes the native heading as its default content and offers a
10
+ - `startSlot` and an `endSlot` for the content next to it, so that content stays out
11
+ - of the accessible heading name.
12
+
13
+ ### Patch Changes
14
+
15
+ - fix: preserve component sizing inside custom headings - [see commit 6f860bb](https://github.com/db-ux-design-system/core-web/commit/6f860bb13d99ea484030f3671f4c19993499a5d5)
16
+ - fix(DBCustomSelect): initialize search value as empty string instead of undefined - [see commit 6f860bb](https://github.com/db-ux-design-system/core-web/commit/6f860bb13d99ea484030f3671f4c19993499a5d5)
17
+
3
18
  ## 5.1.6
4
19
 
5
20
  ### Patch Changes
@@ -1,5 +1,4 @@
1
1
  - Use "@db-ux/v-core-components" as import for components:
2
- - use for `DBShellSubNavigation` or `ShellSubNavigation` the file __agent-path__/agent/ShellSubNavigation.md
3
2
  - use for `DBTooltip` or `Tooltip` the file __agent-path__/agent/Tooltip.md
4
3
  - use for `DBTextarea` or `Textarea` the file __agent-path__/agent/Textarea.md
5
4
  - use for `DBTag` or `Tag` the file __agent-path__/agent/Tag.md
@@ -7,7 +6,6 @@
7
6
  - use for `DBTabItem` or `TabItem` the file __agent-path__/agent/TabItem.md
8
7
  - use for `DBSwitch` or `Switch` the file __agent-path__/agent/Switch.md
9
8
  - use for `DBStack` or `Stack` the file __agent-path__/agent/Stack.md
10
- - use for `DBShell` or `Shell` the file __agent-path__/agent/Shell.md
11
9
  - use for `DBSelect` or `Select` the file __agent-path__/agent/Select.md
12
10
  - use for `DBSection` or `Section` the file __agent-path__/agent/Section.md
13
11
  - use for `DBRadio` or `Radio` the file __agent-path__/agent/Radio.md
@@ -24,14 +22,6 @@
24
22
  - use for `DBDrawer` or `Drawer` the file __agent-path__/agent/Drawer.md
25
23
  - use for `DBDivider` or `Divider` the file __agent-path__/agent/Divider.md
26
24
  - use for `DBCustomSelect` or `CustomSelect` the file __agent-path__/agent/CustomSelect.md
27
- - use for `DBControlPanelSecondaryActions` or `ControlPanelSecondaryActions` the file __agent-path__/agent/ControlPanelSecondaryActions.md
28
- - use for `DBControlPanelPrimaryActions` or `ControlPanelPrimaryActions` the file __agent-path__/agent/ControlPanelPrimaryActions.md
29
- - use for `DBControlPanelNavigationItem` or `ControlPanelNavigationItem` the file __agent-path__/agent/ControlPanelNavigationItem.md
30
- - use for `DBControlPanelNavigation` or `ControlPanelNavigation` the file __agent-path__/agent/ControlPanelNavigation.md
31
- - use for `DBControlPanelMobile` or `ControlPanelMobile` the file __agent-path__/agent/ControlPanelMobile.md
32
- - use for `DBControlPanelMeta` or `ControlPanelMeta` the file __agent-path__/agent/ControlPanelMeta.md
33
- - use for `DBControlPanelDesktop` or `ControlPanelDesktop` the file __agent-path__/agent/ControlPanelDesktop.md
34
- - use for `DBControlPanelBrand` or `ControlPanelBrand` the file __agent-path__/agent/ControlPanelBrand.md
35
25
  - use for `DBCheckbox` or `Checkbox` the file __agent-path__/agent/Checkbox.md
36
26
  - use for `DBCard` or `Card` the file __agent-path__/agent/Card.md
37
27
  - use for `DBButton` or `Button` the file __agent-path__/agent/Button.md
@@ -10,10 +10,10 @@ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBAccordio
10
10
  className: string;
11
11
  propOverrides: import("../../index.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
12
12
  name: string;
13
+ behavior: import("./model.js", { with: { "resolution-mode": "import" } }).AccordionBehaviorType;
13
14
  initOpenIndex: number[];
14
15
  items: DBAccordionItemDefaultProps[] | string;
15
16
  variant: import("./model.js", { with: { "resolution-mode": "import" } }).AccordionVariantType;
16
- behavior: import("../../index.js", { with: { "resolution-mode": "import" } }).CollapsibleBehaviorType;
17
17
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
18
18
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
19
  declare const _default: typeof __VLS_export;
@@ -1,8 +1,14 @@
1
- import { CollapsibleBehaviorProps, GlobalProps, InitializedState } from '../../shared/model.js';
1
+ import type { GlobalProps, InitializedState } from '../../shared/model.js';
2
2
  import type { DBAccordionItemDefaultProps } from '../accordion-item/model.js';
3
3
  export declare const AccordionVariantList: readonly ["divider", "card"];
4
4
  export type AccordionVariantType = (typeof AccordionVariantList)[number];
5
+ export declare const AccordionBehaviorList: readonly ["multiple", "single"];
6
+ export type AccordionBehaviorType = (typeof AccordionBehaviorList)[number];
5
7
  export type DBAccordionDefaultProps = {
8
+ /**
9
+ * To allow multiple items open at the same time or only 1 item
10
+ */
11
+ behavior?: AccordionBehaviorType;
6
12
  /**
7
13
  * The index of items which should be open when loading the accordion
8
14
  */
@@ -26,7 +32,7 @@ export type DBAccordionDefaultProps = {
26
32
  */
27
33
  variant?: AccordionVariantType;
28
34
  };
29
- export type DBAccordionProps = DBAccordionDefaultProps & GlobalProps & CollapsibleBehaviorProps;
35
+ export type DBAccordionProps = DBAccordionDefaultProps & GlobalProps;
30
36
  export type DBAccordionDefaultState = {
31
37
  _initOpenIndexDone: boolean;
32
38
  _name?: string;
@@ -14,12 +14,12 @@ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBCustomSe
14
14
  className: string;
15
15
  propOverrides: import("../../shared/model.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
16
16
  name: string;
17
- multiple: boolean | string;
18
17
  form: string;
19
18
  label: string;
20
19
  values: string[];
21
20
  open: boolean;
22
21
  disabled: boolean | string;
22
+ multiple: boolean | string;
23
23
  variant: import("../../shared/model.js", { with: { "resolution-mode": "import" } }).LabelVariantType;
24
24
  placement: import("../../shared/model.js", { with: { "resolution-mode": "import" } }).PlacementVerticalType;
25
25
  icon: import("@db-ux/core-foundations", { with: { "resolution-mode": "import" } }).IconTypes;
@@ -208,7 +208,7 @@ export type DBCustomSelectDefaultState = {
208
208
  searchEnabled: boolean;
209
209
  amountOptions: number;
210
210
  setDescById: (descId?: string) => void;
211
- handleTagRemove: (option: CustomSelectOptionType, event?: ClickEvent<HTMLButtonElement> | Event | void | any) => void;
211
+ handleTagRemove: (option: CustomSelectOptionType, event?: ClickEvent<HTMLButtonElement> | Event | void) => void;
212
212
  handleSummaryFocus: () => void;
213
213
  handleSelect: (value?: string) => void;
214
214
  handleSelectAll: (event: any) => void;
@@ -8,8 +8,8 @@ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBCustomSe
8
8
  children: any;
9
9
  className: string;
10
10
  propOverrides: import("../../index.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
11
- multiple: boolean;
12
11
  label: string;
12
+ multiple: boolean;
13
13
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
@@ -63,6 +63,5 @@ export type DBDrawerDefaultState = {
63
63
  isNotModal: () => boolean;
64
64
  handleBackdropPointerDown: (event: any) => void;
65
65
  backdropPointerDown: boolean;
66
- _closeTimeoutId?: number;
67
66
  };
68
67
  export type DBDrawerState = DBDrawerDefaultState & GlobalState & CloseEventState<ClickEvent<HTMLButtonElement | HTMLDialogElement> | GeneralKeyboardEvent<HTMLDialogElement>> & InitializedState;
@@ -26,10 +26,10 @@ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBHeaderPr
26
26
  width: import("../../index.js", { with: { "resolution-mode": "import" } }).MaxWidthType;
27
27
  closeButtonId: string;
28
28
  closeButtonText: string;
29
- drawerHeaderText: string;
30
- burgerMenuLabel: string;
31
29
  drawerOpen: boolean | string;
32
30
  forceMobile: boolean | string;
31
+ drawerHeaderText: string;
32
+ burgerMenuLabel: string;
33
33
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
34
34
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
35
35
  declare const _default: typeof __VLS_export;
@@ -1,4 +1,4 @@
1
- import { DBShellContentProps } from "./model.js";
1
+ import { DBCustomHeadingProps } from "./model.js";
2
2
  declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
3
3
  type __VLS_Slots = {} & {
4
4
  'start-slot'?: (props: typeof __VLS_1) => any;
@@ -7,15 +7,15 @@ type __VLS_Slots = {} & {
7
7
  } & {
8
8
  'end-slot'?: (props: typeof __VLS_5) => any;
9
9
  };
10
- declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBShellContentProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<DBShellContentProps> & Readonly<{}>, {
10
+ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBCustomHeadingProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<DBCustomHeadingProps> & Readonly<{}>, {
11
11
  id: string;
12
12
  children: any;
13
13
  className: string;
14
14
  propOverrides: import("../../index.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
15
- variant: import("./model.js", { with: { "resolution-mode": "import" } }).ShellContentVariantType;
16
- mainClass: string;
17
- mainId: string;
18
- mainLabel: string;
15
+ size: import("./model.js", { with: { "resolution-mode": "import" } }).HeadingSizeType;
16
+ fontWeight: import("./model.js", { with: { "resolution-mode": "import" } }).HeadingFontWeightType;
17
+ paragraphSpacing: boolean | string;
18
+ alignment: import("../../index.js", { with: { "resolution-mode": "import" } }).AlignmentType | string;
19
19
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
20
20
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
21
  declare const _default: typeof __VLS_export;
@@ -1,15 +1,18 @@
1
- import { DBControlPanelSkipNavigationProps } from "./model.js";
1
+ import { DBHeadingH1Props } from "./model.js";
2
2
  declare var __VLS_1: {};
3
3
  type __VLS_Slots = {} & {
4
4
  default?: (props: typeof __VLS_1) => any;
5
5
  };
6
- declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBControlPanelSkipNavigationProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<DBControlPanelSkipNavigationProps> & Readonly<{}>, {
6
+ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBHeadingH1Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<DBHeadingH1Props> & Readonly<{}>, {
7
7
  id: string;
8
8
  children: any;
9
9
  className: string;
10
10
  propOverrides: import("../../index.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
11
11
  text: string;
12
- target: string;
12
+ size: import("./model.js", { with: { "resolution-mode": "import" } }).HeadingSizeType;
13
+ fontWeight: import("./model.js", { with: { "resolution-mode": "import" } }).HeadingFontWeightType;
14
+ paragraphSpacing: boolean | string;
15
+ alignment: import("../../index.js", { with: { "resolution-mode": "import" } }).AlignmentType | string;
13
16
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
14
17
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
18
  declare const _default: typeof __VLS_export;
@@ -1,12 +1,18 @@
1
+ import { DBHeadingH2Props } from "./model.js";
1
2
  declare var __VLS_1: {};
2
3
  type __VLS_Slots = {} & {
3
4
  default?: (props: typeof __VLS_1) => any;
4
5
  };
5
- declare const __VLS_base: import("@vue/runtime-core").DefineComponent<import("../../index.js", { with: { "resolution-mode": "import" } }).GlobalProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("../../index.js", { with: { "resolution-mode": "import" } }).GlobalProps> & Readonly<{}>, {
6
+ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBHeadingH2Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<DBHeadingH2Props> & Readonly<{}>, {
6
7
  id: string;
7
8
  children: any;
8
9
  className: string;
9
10
  propOverrides: import("../../index.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
11
+ text: string;
12
+ size: import("./model.js", { with: { "resolution-mode": "import" } }).HeadingSizeType;
13
+ fontWeight: import("./model.js", { with: { "resolution-mode": "import" } }).HeadingFontWeightType;
14
+ paragraphSpacing: boolean | string;
15
+ alignment: import("../../index.js", { with: { "resolution-mode": "import" } }).AlignmentType | string;
10
16
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
11
17
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
18
  declare const _default: typeof __VLS_export;
@@ -1,12 +1,18 @@
1
+ import { DBHeadingH3Props } from "./model.js";
1
2
  declare var __VLS_1: {};
2
3
  type __VLS_Slots = {} & {
3
4
  default?: (props: typeof __VLS_1) => any;
4
5
  };
5
- declare const __VLS_base: import("@vue/runtime-core").DefineComponent<import("../../index.js", { with: { "resolution-mode": "import" } }).GlobalProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("../../index.js", { with: { "resolution-mode": "import" } }).GlobalProps> & Readonly<{}>, {
6
+ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBHeadingH3Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<DBHeadingH3Props> & Readonly<{}>, {
6
7
  id: string;
7
8
  children: any;
8
9
  className: string;
9
10
  propOverrides: import("../../index.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
11
+ text: string;
12
+ size: import("./model.js", { with: { "resolution-mode": "import" } }).HeadingSizeType;
13
+ fontWeight: import("./model.js", { with: { "resolution-mode": "import" } }).HeadingFontWeightType;
14
+ paragraphSpacing: boolean | string;
15
+ alignment: import("../../index.js", { with: { "resolution-mode": "import" } }).AlignmentType | string;
10
16
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
11
17
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
18
  declare const _default: typeof __VLS_export;
@@ -1,12 +1,18 @@
1
+ import { DBHeadingH4Props } from "./model.js";
1
2
  declare var __VLS_1: {};
2
3
  type __VLS_Slots = {} & {
3
4
  default?: (props: typeof __VLS_1) => any;
4
5
  };
5
- declare const __VLS_base: import("@vue/runtime-core").DefineComponent<import("../../index.js", { with: { "resolution-mode": "import" } }).GlobalProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<import("../../index.js", { with: { "resolution-mode": "import" } }).GlobalProps> & Readonly<{}>, {
6
+ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBHeadingH4Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<DBHeadingH4Props> & Readonly<{}>, {
6
7
  id: string;
7
8
  children: any;
8
9
  className: string;
9
10
  propOverrides: import("../../index.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
11
+ text: string;
12
+ size: import("./model.js", { with: { "resolution-mode": "import" } }).HeadingSizeType;
13
+ fontWeight: import("./model.js", { with: { "resolution-mode": "import" } }).HeadingFontWeightType;
14
+ paragraphSpacing: boolean | string;
15
+ alignment: import("../../index.js", { with: { "resolution-mode": "import" } }).AlignmentType | string;
10
16
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
11
17
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
18
  declare const _default: typeof __VLS_export;
@@ -0,0 +1,24 @@
1
+ import { DBHeadingH5Props } from "./model.js";
2
+ declare var __VLS_1: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ };
6
+ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBHeadingH5Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<DBHeadingH5Props> & Readonly<{}>, {
7
+ id: string;
8
+ children: any;
9
+ className: string;
10
+ propOverrides: import("../../index.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
11
+ text: string;
12
+ size: import("./model.js", { with: { "resolution-mode": "import" } }).HeadingSizeType;
13
+ fontWeight: import("./model.js", { with: { "resolution-mode": "import" } }).HeadingFontWeightType;
14
+ paragraphSpacing: boolean | string;
15
+ alignment: import("../../index.js", { with: { "resolution-mode": "import" } }).AlignmentType | string;
16
+ }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,24 @@
1
+ import { DBHeadingH6Props } from "./model.js";
2
+ declare var __VLS_1: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ };
6
+ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBHeadingH6Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<DBHeadingH6Props> & Readonly<{}>, {
7
+ id: string;
8
+ children: any;
9
+ className: string;
10
+ propOverrides: import("../../index.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
11
+ text: string;
12
+ size: import("./model.js", { with: { "resolution-mode": "import" } }).HeadingSizeType;
13
+ fontWeight: import("./model.js", { with: { "resolution-mode": "import" } }).HeadingFontWeightType;
14
+ paragraphSpacing: boolean | string;
15
+ alignment: import("../../index.js", { with: { "resolution-mode": "import" } }).AlignmentType | string;
16
+ }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
17
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
18
+ declare const _default: typeof __VLS_export;
19
+ export default _default;
20
+ type __VLS_WithSlots<T, S> = T & {
21
+ new (): {
22
+ $slots: S;
23
+ };
24
+ };
@@ -0,0 +1,7 @@
1
+ export { default as DBCustomHeading } from './custom-heading.vue';
2
+ export { default as DBHeadingH1 } from './heading-h1.vue';
3
+ export { default as DBHeadingH2 } from './heading-h2.vue';
4
+ export { default as DBHeadingH3 } from './heading-h3.vue';
5
+ export { default as DBHeadingH4 } from './heading-h4.vue';
6
+ export { default as DBHeadingH5 } from './heading-h5.vue';
7
+ export { default as DBHeadingH6 } from './heading-h6.vue';
@@ -0,0 +1,73 @@
1
+ import type { AlignmentProps, EndSlotProps, GlobalProps, GlobalState, StartSlotProps, TextProps } from '../../shared/model.js';
2
+ /** @public */
3
+ export declare const HeadingSizeList: readonly ["3xl", "2xl", "xl", "lg", "md", "sm", "xs", "2xs", "3xs"];
4
+ /** @public */
5
+ export type HeadingSizeType = (typeof HeadingSizeList)[number];
6
+ /** @public */
7
+ export declare const HeadingFontWeightList: readonly ["black", "light"];
8
+ /** @public */
9
+ export type HeadingFontWeightType = (typeof HeadingFontWeightList)[number];
10
+ /** @public */
11
+ export type DBHeadingBaseDefaultProps = {
12
+ /** Sets the visual size independently from the fixed semantic level. */
13
+ size?: HeadingSizeType;
14
+ /** Sets the headline font weight. Defaults to `black`. */
15
+ fontWeight?: HeadingFontWeightType;
16
+ /** Adds exactly `1lh` of margin at block-end when enabled. */
17
+ paragraphSpacing?: boolean | string;
18
+ };
19
+ /** @public */
20
+ export type DBHeadingBaseProps = DBHeadingBaseDefaultProps & GlobalProps & AlignmentProps;
21
+ /**
22
+ * Styling wrapper for a consumer-authored native heading plus optional sibling
23
+ * content. Mirrors the Heading styling API the same way `DBCustomButton` mirrors
24
+ * `DBButton`: the wrapper carries the styling properties, the nested native
25
+ * element carries the native attributes.
26
+ *
27
+ * The default slot takes the native heading, `startSlot` and `endSlot` take the
28
+ * content around it. Because that content is a sibling of the heading instead of
29
+ * one of its children, it stays out of the accessible heading name.
30
+ *
31
+ * @public
32
+ */
33
+ export type DBCustomHeadingDefaultProps = DBHeadingBaseDefaultProps;
34
+ /** @public */
35
+ export type DBCustomHeadingProps = DBHeadingBaseDefaultProps & GlobalProps & AlignmentProps & StartSlotProps & EndSlotProps;
36
+ /** @public */
37
+ export type DBHeadingH1DefaultProps = DBHeadingBaseDefaultProps;
38
+ /** @public */
39
+ export type DBHeadingH1Props = DBHeadingBaseDefaultProps & GlobalProps & AlignmentProps & TextProps;
40
+ /** @public */
41
+ export type DBHeadingH2DefaultProps = DBHeadingBaseDefaultProps;
42
+ /** @public */
43
+ export type DBHeadingH2Props = DBHeadingBaseDefaultProps & GlobalProps & AlignmentProps & TextProps;
44
+ /** @public */
45
+ export type DBHeadingH3DefaultProps = DBHeadingBaseDefaultProps;
46
+ /** @public */
47
+ export type DBHeadingH3Props = DBHeadingBaseDefaultProps & GlobalProps & AlignmentProps & TextProps;
48
+ /** @public */
49
+ export type DBHeadingH4DefaultProps = DBHeadingBaseDefaultProps;
50
+ /** @public */
51
+ export type DBHeadingH4Props = DBHeadingBaseDefaultProps & GlobalProps & AlignmentProps & TextProps;
52
+ /** @public */
53
+ export type DBHeadingH5DefaultProps = DBHeadingBaseDefaultProps;
54
+ /** @public */
55
+ export type DBHeadingH5Props = DBHeadingBaseDefaultProps & GlobalProps & AlignmentProps & TextProps;
56
+ /** @public */
57
+ export type DBHeadingH6DefaultProps = DBHeadingBaseDefaultProps;
58
+ /** @public */
59
+ export type DBHeadingH6Props = DBHeadingBaseDefaultProps & GlobalProps & AlignmentProps & TextProps;
60
+ export type DBCustomHeadingDefaultState = {};
61
+ export type DBCustomHeadingState = DBCustomHeadingDefaultState & GlobalState;
62
+ export type DBHeadingH1DefaultState = {};
63
+ export type DBHeadingH1State = DBHeadingH1DefaultState & GlobalState;
64
+ export type DBHeadingH2DefaultState = {};
65
+ export type DBHeadingH2State = DBHeadingH2DefaultState & GlobalState;
66
+ export type DBHeadingH3DefaultState = {};
67
+ export type DBHeadingH3State = DBHeadingH3DefaultState & GlobalState;
68
+ export type DBHeadingH4DefaultState = {};
69
+ export type DBHeadingH4State = DBHeadingH4DefaultState & GlobalState;
70
+ export type DBHeadingH5DefaultState = {};
71
+ export type DBHeadingH5State = DBHeadingH5DefaultState & GlobalState;
72
+ export type DBHeadingH6DefaultState = {};
73
+ export type DBHeadingH6State = DBHeadingH6DefaultState & GlobalState;
@@ -15,7 +15,6 @@ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBInputPro
15
15
  autofocus: boolean | string;
16
16
  propOverrides: import("../../shared/model.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
17
17
  name: string;
18
- multiple: boolean | string;
19
18
  form: string;
20
19
  input: (event: InputEvent<HTMLInputElement>) => void;
21
20
  label: string;
@@ -27,6 +26,7 @@ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBInputPro
27
26
  onChange: (event: ChangeEvent<HTMLInputElement>) => void;
28
27
  onInput: (event: InputEvent<HTMLInputElement>) => void;
29
28
  type: import("./model.js", { with: { "resolution-mode": "import" } }).InputTypeType | string;
29
+ multiple: boolean | string;
30
30
  variant: import("../../shared/model.js", { with: { "resolution-mode": "import" } }).LabelVariantType;
31
31
  size: number;
32
32
  icon: import("@db-ux/core-foundations", { with: { "resolution-mode": "import" } }).IconTypes;
@@ -21,10 +21,10 @@ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBNavigati
21
21
  showIcon: boolean | string;
22
22
  width: import("../../shared/model.js", { with: { "resolution-mode": "import" } }).WidthType | string;
23
23
  active: boolean;
24
- backButtonId: string;
25
- backButtonText: string;
26
24
  subNavigationExpanded: boolean | string;
27
25
  hideSubNavigation: boolean | string;
26
+ backButtonId: string;
27
+ backButtonText: string;
28
28
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
29
29
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
30
30
  declare const _default: typeof __VLS_export;
@@ -20,9 +20,9 @@ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBNotifica
20
20
  variant: import("./model.js", { with: { "resolution-mode": "import" } }).NotificationVariantType;
21
21
  icon: import("@db-ux/core-foundations", { with: { "resolution-mode": "import" } }).IconTypes;
22
22
  showIcon: boolean | string;
23
+ onClose: (event?: MouseEvent | undefined) => void;
23
24
  closeButtonId: string;
24
25
  closeButtonText: string;
25
- onClose: (event?: MouseEvent | undefined) => void;
26
26
  closeable: boolean | string;
27
27
  linkVariant: import("./model.js", { with: { "resolution-mode": "import" } }).NotificationLinkVariantType;
28
28
  showHeadline: boolean | string;
@@ -14,7 +14,6 @@ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBPopoverP
14
14
  placement: import("../../index.js", { with: { "resolution-mode": "import" } }).PlacementType;
15
15
  width: import("../../index.js", { with: { "resolution-mode": "import" } }).PopoverWidthType;
16
16
  spacing: import("../../index.js", { with: { "resolution-mode": "import" } }).SpacingType | string;
17
- forceAbsolute: boolean | string;
18
17
  delay: import("../../index.js", { with: { "resolution-mode": "import" } }).PopoverDelayType;
19
18
  animation: boolean | string;
20
19
  gap: boolean | string;
@@ -14,7 +14,6 @@ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBSelectPr
14
14
  className: string;
15
15
  propOverrides: import("../../shared/model.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
16
16
  name: string;
17
- multiple: boolean;
18
17
  input: (event: InputEvent<HTMLSelectElement>) => void;
19
18
  label: string;
20
19
  value: any;
@@ -24,6 +23,7 @@ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBSelectPr
24
23
  onChange: (event: ChangeEvent<HTMLSelectElement>) => void;
25
24
  onInput: (event: InputEvent<HTMLSelectElement>) => void;
26
25
  onClick: (event: ClickEvent<HTMLSelectElement>) => void;
26
+ multiple: boolean;
27
27
  variant: import("../../shared/model.js", { with: { "resolution-mode": "import" } }).LabelVariantType;
28
28
  size: number;
29
29
  icon: import("@db-ux/core-foundations", { with: { "resolution-mode": "import" } }).IconTypes;
@@ -11,8 +11,8 @@ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBStackPro
11
11
  variant: import("./model.js", { with: { "resolution-mode": "import" } }).StackVariantType;
12
12
  wrap: boolean | string;
13
13
  direction: import("./model.js", { with: { "resolution-mode": "import" } }).StackDirectionType;
14
- gap: import("../../index.js", { with: { "resolution-mode": "import" } }).GapSpacingType;
15
14
  alignment: import("./model.js", { with: { "resolution-mode": "import" } }).StackAlignmentType;
15
+ gap: import("../../index.js", { with: { "resolution-mode": "import" } }).GapSpacingType;
16
16
  justifyContent: import("./model.js", { with: { "resolution-mode": "import" } }).StackJustifyContentType;
17
17
  }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
18
18
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
@@ -14,7 +14,6 @@ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBTooltipP
14
14
  emphasis: import("../../shared/model.js", { with: { "resolution-mode": "import" } }).EmphasisType;
15
15
  wrap: boolean | string;
16
16
  width: import("../../shared/model.js", { with: { "resolution-mode": "import" } }).PopoverWidthType;
17
- forceAbsolute: boolean | string;
18
17
  showArrow: boolean | string;
19
18
  delay: import("../../shared/model.js", { with: { "resolution-mode": "import" } }).PopoverDelayType;
20
19
  animation: boolean | string;