@db-ux/v-core-components 5.2.1 → 5.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/agent/ControlPanelBrand.md +15 -0
  3. package/agent/ControlPanelDesktop.md +48 -0
  4. package/agent/ControlPanelMeta.md +19 -0
  5. package/agent/ControlPanelMobile.md +40 -0
  6. package/agent/ControlPanelNavigation.md +24 -0
  7. package/agent/ControlPanelNavigationItem.md +39 -0
  8. package/agent/Shell.md +28 -0
  9. package/agent/_instructions.md +7 -0
  10. package/dist/components/accordion/accordion.vue.d.ts +1 -1
  11. package/dist/components/accordion/model.d.ts +2 -8
  12. package/dist/components/control-panel-actions/control-panel-actions-1.vue.d.ts +18 -0
  13. package/dist/components/control-panel-actions/control-panel-actions-2.vue.d.ts +18 -0
  14. package/dist/components/control-panel-actions/index.d.ts +2 -0
  15. package/dist/components/control-panel-actions/model.d.ts +9 -0
  16. package/dist/components/control-panel-brand/control-panel-brand.vue.d.ts +22 -0
  17. package/dist/components/control-panel-brand/index.d.ts +1 -0
  18. package/dist/components/control-panel-brand/model.d.ts +7 -0
  19. package/dist/components/control-panel-desktop/control-panel-desktop.vue.d.ts +35 -0
  20. package/dist/components/control-panel-desktop/index.d.ts +1 -0
  21. package/dist/components/control-panel-desktop/model.d.ts +7 -0
  22. package/dist/components/control-panel-flat-icon/control-panel-flat-icon.vue.d.ts +22 -0
  23. package/dist/components/control-panel-flat-icon/index.d.ts +1 -0
  24. package/dist/components/control-panel-flat-icon/model.d.ts +12 -0
  25. package/dist/components/control-panel-meta/control-panel-meta.vue.d.ts +18 -0
  26. package/dist/components/control-panel-meta/index.d.ts +1 -0
  27. package/dist/components/control-panel-meta/model.d.ts +5 -0
  28. package/dist/components/control-panel-mobile/control-panel-mobile.vue.d.ts +33 -0
  29. package/dist/components/control-panel-mobile/index.d.ts +1 -0
  30. package/dist/components/control-panel-mobile/model.d.ts +21 -0
  31. package/dist/components/control-panel-navigation/control-panel-navigation.vue.d.ts +26 -0
  32. package/dist/components/control-panel-navigation/index.d.ts +1 -0
  33. package/dist/components/control-panel-navigation/model.d.ts +27 -0
  34. package/dist/components/control-panel-navigation-item/control-panel-navigation-item.vue.d.ts +27 -0
  35. package/dist/components/control-panel-navigation-item/index.d.ts +1 -0
  36. package/dist/components/control-panel-navigation-item/model.d.ts +16 -0
  37. package/dist/components/control-panel-navigation-item-group/control-panel-navigation-item-group.vue.d.ts +32 -0
  38. package/dist/components/control-panel-navigation-item-group/index.d.ts +1 -0
  39. package/dist/components/control-panel-navigation-item-group/model.d.ts +42 -0
  40. package/dist/components/control-panel-skip-navigation/control-panel-skip-navigation.vue.d.ts +21 -0
  41. package/dist/components/control-panel-skip-navigation/index.d.ts +1 -0
  42. package/dist/components/control-panel-skip-navigation/model.d.ts +16 -0
  43. package/dist/components/custom-select/custom-select.vue.d.ts +1 -1
  44. package/dist/components/custom-select/model.d.ts +1 -1
  45. package/dist/components/custom-select-list/custom-select-list.vue.d.ts +1 -1
  46. package/dist/components/footer/footer.vue.d.ts +20 -0
  47. package/dist/components/footer/index.d.ts +1 -0
  48. package/dist/components/footer/model.d.ts +5 -0
  49. package/dist/components/footer-content/footer-content.vue.d.ts +18 -0
  50. package/dist/components/footer-content/index.d.ts +1 -0
  51. package/dist/components/footer-content/model.d.ts +5 -0
  52. package/dist/components/footer-meta/footer-meta.vue.d.ts +20 -0
  53. package/dist/components/footer-meta/index.d.ts +1 -0
  54. package/dist/components/footer-meta/model.d.ts +12 -0
  55. package/dist/components/header/header.vue.d.ts +2 -2
  56. package/dist/components/input/input.vue.d.ts +1 -1
  57. package/dist/components/navigation-item/navigation-item.vue.d.ts +2 -2
  58. package/dist/components/notification/notification.vue.d.ts +1 -1
  59. package/dist/components/popover/popover.vue.d.ts +1 -0
  60. package/dist/components/select/select.vue.d.ts +1 -1
  61. package/dist/components/shell/index.d.ts +1 -0
  62. package/dist/components/shell/model.d.ts +38 -0
  63. package/dist/components/shell/shell.vue.d.ts +25 -0
  64. package/dist/components/shell-content/index.d.ts +1 -0
  65. package/dist/components/shell-content/model.d.ts +28 -0
  66. package/dist/components/shell-content/shell-content.vue.d.ts +27 -0
  67. package/dist/components/shell-sub-navigation/index.d.ts +1 -0
  68. package/dist/components/shell-sub-navigation/model.d.ts +7 -0
  69. package/dist/components/shell-sub-navigation/shell-sub-navigation.vue.d.ts +23 -0
  70. package/dist/components/tooltip/tooltip.vue.d.ts +1 -0
  71. package/dist/db-ux.es.js +2768 -1453
  72. package/dist/db-ux.umd.js +1 -1
  73. package/dist/index.d.ts +32 -0
  74. package/dist/shared/constants.d.ts +5 -1
  75. package/dist/shared/model.d.ts +94 -3
  76. package/dist/utils/floating-components.d.ts +7 -2
  77. package/dist/utils/index.d.ts +10 -0
  78. package/dist/utils/navigation.d.ts +30 -11
  79. package/package.json +4 -4
package/CHANGELOG.md CHANGED
@@ -1,5 +1,47 @@
1
1
  # @db-ux/v-core-components
2
2
 
3
+ ## 5.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - feat(DBFooter): add the composable DBFooter, DBFooterContent and DBFooterMeta components - [see commit 7df9937](https://github.com/db-ux-design-system/core-web/commit/7df99378cb41c17ca818792918e7e8f18a96a2ec):
8
+
9
+ - `DBFooter` renders the native `contentinfo` landmark and the layout container with the
10
+ - optional `width` variants. `DBFooterContent` holds the primary area, `DBFooterMeta` the
11
+ - secondary one including an optional `copyright` holder, for which the component prepends
12
+ - the copyright symbol. Both areas are optional, so consumers compose only the parts they
13
+ - need and wrap navigational content in a labelled `nav` themselves.
14
+ - Inside `DBFooterMeta` the copyright and the secondary content sit side by side from a
15
+ - viewport width of 768 px upwards, with the copyright aligned to the top of the row, and
16
+ - stack below that. `data-force-mobile="true"` on the footer forces the stacked
17
+ - arrangement, for a footer placed in a region narrower than the viewport suggests.
18
+
19
+ ## 5.3.0
20
+
21
+ ### Minor Changes
22
+
23
+ - feat: introduce control-panel shell architecture (deprecates DBPage, DBHeader, DBBrand, DBNavigation, DBNavigationItem) - [see commit eafd85b](https://github.com/db-ux-design-system/core-web/commit/eafd85bc0d1692e9124a7599fe1397f9ff68a759):
24
+ - New `DBShell` component (deprecates `DBPage`)
25
+ - New `DBControlPanelDesktop` and `DBControlPanelMobile` (deprecates `DBHeader`)
26
+ - New `DBControlPanelBrand` (deprecates `DBBrand`)
27
+ - New `DBControlPanelNavigation` (deprecates `DBNavigation`)
28
+ - New `DBControlPanelNavigationItem` (deprecates `DBNavigationItem`)
29
+ - New `DBControlPanelNavigationItemGroup` for sub-navigation
30
+ - New `DBShellContent` component for main content area
31
+ - New `DBShellSubNavigation` for secondary navigation panels
32
+ - New `DBControlPanelMeta`, `DBControlPanelActions1`, `DBControlPanelActions2` slot components
33
+ - New `DBControlPanelFlatIcon` for collapsed icon-only navigation
34
+
35
+ - feat: add logo token variables - [see commit eafd85b](https://github.com/db-ux-design-system/core-web/commit/eafd85bc0d1692e9124a7599fe1397f9ff68a759):
36
+ - Providing `--db-logo-url`, `--db-logo-aspect-ratio`, `--db-logo-url-short`, and `--db-logo-aspect-ratio-short` tokens.
37
+
38
+ ### Patch Changes
39
+
40
+ - fix(DBSelect): keep the user's selection when validation runs on `input` - [see commit 86d0feb](https://github.com/db-ux-design-system/core-web/commit/86d0feb14e3af59e170f08204fccf8c269e4c5fb):
41
+ - A browser dispatches `input` and `change` for a `select` in separate tasks. `DBSelect` validated synchronously on `input`, which changed internal state and triggered a re-render while the controlled `value` was still the previous one. Because React re-applies the `value` on every commit of a `select`, that re-render discarded the selection before `change` was dispatched — so controlled `required` selects never received the new value. Validation now runs once the value has been propagated.
42
+
43
+ - fix(DBSwitch): icon no longer bleeds through a closed popover - [see commit 6d4deb5](https://github.com/db-ux-design-system/core-web/commit/6d4deb54cff50c36b45b3ea9b6331b333d072845)
44
+
3
45
  ## 5.2.1
4
46
 
5
47
  ### Patch Changes
@@ -0,0 +1,15 @@
1
+
2
+
3
+ # ControlPanelBrand Examples (vue)
4
+
5
+ ```vue
6
+ <template>
7
+ <h1>DBControlPanelBrand Documentation Examples</h1>
8
+ <h2>1. Default Control Panel Brand</h2>
9
+ <DBControlPanelBrand></DBControlPanelBrand>
10
+ </template>
11
+
12
+ <script setup lang="ts">
13
+ import { DBControlPanelBrand } from "@db-ux/v-v-core-components";
14
+ </script>
15
+ ```
@@ -0,0 +1,48 @@
1
+
2
+
3
+ # ControlPanelDesktop Examples (vue)
4
+
5
+ ```vue
6
+ <template>
7
+ <h1>DBControlPanelDesktop Documentation Examples</h1>
8
+ <h2>1. Default Control Panel Desktop</h2>
9
+ <DBControlPanelDesktop
10
+ :brand="<DBControlPanelBrand>Application Name</DBControlPanelBrand>"
11
+ ><DBControlPanelNavigation
12
+ ><DBControlPanelNavigationItem icon="x_placeholder"
13
+ ><a href="#">Navi-Item 1</a></DBControlPanelNavigationItem
14
+ ><DBControlPanelNavigationItem icon="x_placeholder" :disabled="true"
15
+ ><a href="#">Navi-Item 2</a></DBControlPanelNavigationItem
16
+ ></DBControlPanelNavigation
17
+ ></DBControlPanelDesktop
18
+ >
19
+ <h2>2. Vertical Orientation</h2>
20
+ <DBControlPanelDesktop
21
+ orientation="vertical"
22
+ :brand="<DBControlPanelBrand>Application Name</DBControlPanelBrand>"
23
+ ><DBControlPanelNavigation
24
+ ><DBControlPanelNavigationItem icon="x_placeholder"
25
+ ><a href="#">Navi-Item 1</a></DBControlPanelNavigationItem
26
+ ></DBControlPanelNavigation
27
+ ></DBControlPanelDesktop
28
+ >
29
+ <h2>3. Collapsed (expanded=false)</h2>
30
+ <DBControlPanelDesktop
31
+ orientation="vertical"
32
+ :expanded="false"
33
+ :brand="<DBControlPanelBrand>Application Name</DBControlPanelBrand>"
34
+ ><DBControlPanelNavigation
35
+ ><DBControlPanelNavigationItem icon="x_placeholder"
36
+ ><a href="#">Navi-Item 1</a></DBControlPanelNavigationItem
37
+ ></DBControlPanelNavigation
38
+ ></DBControlPanelDesktop
39
+ >
40
+ </template>
41
+
42
+ <script setup lang="ts">
43
+ import { DBControlPanelBrand } from "@db-ux/v-v-core-components";
44
+ import { DBControlPanelNavigation } from "@db-ux/v-v-core-components";
45
+ import { DBControlPanelNavigationItem } from "@db-ux/v-v-core-components";
46
+ import { DBControlPanelDesktop } from "@db-ux/v-v-core-components";
47
+ </script>
48
+ ```
@@ -0,0 +1,19 @@
1
+
2
+
3
+ # ControlPanelMeta Examples (vue)
4
+
5
+ ```vue
6
+ <template>
7
+ <h1>DBControlPanelMeta Documentation Examples</h1>
8
+ <h2>1. Default Meta</h2>
9
+ <DBControlPanelMeta
10
+ ><DBLink href="#">Imprint</DBLink><DBLink href="#">Help</DBLink
11
+ ><DBLink href="#">Privacy</DBLink></DBControlPanelMeta
12
+ >
13
+ </template>
14
+
15
+ <script setup lang="ts">
16
+ import { DBLink } from "@db-ux/v-v-core-components";
17
+ import { DBControlPanelMeta } from "@db-ux/v-v-core-components";
18
+ </script>
19
+ ```
@@ -0,0 +1,40 @@
1
+
2
+
3
+ # ControlPanelMobile Examples (vue)
4
+
5
+ ```vue
6
+ <template>
7
+ <h1>DBControlPanelMobile Documentation Examples</h1>
8
+ <h2>1. Default Control Panel Mobile (Drawer)</h2>
9
+ <DBControlPanelMobile
10
+ drawerHeaderText="Application Name"
11
+ :brand="<DBControlPanelBrand>Application Name</DBControlPanelBrand>"
12
+ ><DBControlPanelNavigation
13
+ ><DBControlPanelNavigationItem icon="x_placeholder"
14
+ ><a href="#">Navi-Item 1</a></DBControlPanelNavigationItem
15
+ ><DBControlPanelNavigationItem icon="x_placeholder" :disabled="true"
16
+ ><a href="#">Navi-Item 2</a></DBControlPanelNavigationItem
17
+ ></DBControlPanelNavigation
18
+ ></DBControlPanelMobile
19
+ >
20
+ <h2>2. Bottom Position + Flat Icon Variant</h2>
21
+ <DBControlPanelMobile
22
+ position="bottom"
23
+ variant="flat-icon"
24
+ drawerHeaderText="Application Name"
25
+ :brand="<DBControlPanelBrand>Application Name</DBControlPanelBrand>"
26
+ ><DBControlPanelNavigation
27
+ ><DBControlPanelNavigationItem icon="x_placeholder"
28
+ ><a href="#">Navi-Item 1</a></DBControlPanelNavigationItem
29
+ ></DBControlPanelNavigation
30
+ ></DBControlPanelMobile
31
+ >
32
+ </template>
33
+
34
+ <script setup lang="ts">
35
+ import { DBControlPanelBrand } from "@db-ux/v-v-core-components";
36
+ import { DBControlPanelNavigation } from "@db-ux/v-v-core-components";
37
+ import { DBControlPanelNavigationItem } from "@db-ux/v-v-core-components";
38
+ import { DBControlPanelMobile } from "@db-ux/v-v-core-components";
39
+ </script>
40
+ ```
@@ -0,0 +1,24 @@
1
+
2
+
3
+ # ControlPanelNavigation Examples (vue)
4
+
5
+ ```vue
6
+ <template>
7
+ <h1>DBControlPanelNavigation Documentation Examples</h1>
8
+ <h2>1. Default Navigation</h2>
9
+ <DBControlPanelNavigation
10
+ ><DBControlPanelNavigationItem
11
+ ><a href="#">Navi-Item 1</a></DBControlPanelNavigationItem
12
+ ><DBControlPanelNavigationItem icon="x_placeholder"
13
+ ><a href="#">Navi-Item 2</a></DBControlPanelNavigationItem
14
+ ><DBControlPanelNavigationItem :disabled="true"
15
+ ><a href="#">Navi-Item 3</a></DBControlPanelNavigationItem
16
+ ></DBControlPanelNavigation
17
+ >
18
+ </template>
19
+
20
+ <script setup lang="ts">
21
+ import { DBControlPanelNavigationItem } from "@db-ux/v-v-core-components";
22
+ import { DBControlPanelNavigation } from "@db-ux/v-v-core-components";
23
+ </script>
24
+ ```
@@ -0,0 +1,39 @@
1
+
2
+
3
+ # ControlPanelNavigationItem Examples (vue)
4
+
5
+ ```vue
6
+ <template>
7
+ <h1>DBControlPanelNavigationItem Documentation Examples</h1>
8
+ <h2>1. Default Navigation Item</h2>
9
+ <DBControlPanelNavigationItem>
10
+ Default Navigation Item
11
+ </DBControlPanelNavigationItem>
12
+ <h2>2. Active State</h2>
13
+ <DBControlPanelNavigationItem :active="true">
14
+ Active Navigation Item
15
+ </DBControlPanelNavigationItem>
16
+ <h2>3. Disabled State</h2>
17
+ <DBControlPanelNavigationItem :disabled="true">
18
+ Disabled Navigation Item
19
+ </DBControlPanelNavigationItem>
20
+ <h2>4. Sub-Navigation</h2>
21
+ <DBControlPanelNavigationItem
22
+ :subNavigation="<div>Sub Navigation Content</div>"
23
+ >
24
+ Navigation Item with Sub-Navigation
25
+ </DBControlPanelNavigationItem>
26
+ <h2>5. Icon Support</h2>
27
+ <DBControlPanelNavigationItem icon="user">
28
+ Navigation Item with Icon
29
+ </DBControlPanelNavigationItem>
30
+ <h2>6. Custom Class</h2>
31
+ <DBControlPanelNavigationItem>
32
+ Navigation Item with Custom Class
33
+ </DBControlPanelNavigationItem>
34
+ </template>
35
+
36
+ <script setup lang="ts">
37
+ import { DBControlPanelNavigationItem } from "@db-ux/v-v-core-components";
38
+ </script>
39
+ ```
package/agent/Shell.md ADDED
@@ -0,0 +1,28 @@
1
+
2
+
3
+ # Shell Examples (vue)
4
+
5
+ ```vue
6
+ <template>
7
+ <h1>DBShell Documentation Examples</h1>
8
+ <h2>1. Full Shell (Desktop + Mobile Control Panel)</h2>
9
+ <DBShell>
10
+ <template v-slot:controlPanelDesktop><DBControlPanelDesktop><template v-slot:brand><DBControlPanelBrand data-logo="db-systel" /></template><template v-slot:meta><DBLink href="#">Imprint</DBLink><DBLink href="#">Help</DBLink></template><template v-slot:actions-1><DBButton icon="magnifying_glass" variant="ghost" noText>Search</DBButton></template><template v-slot:actions-2><DBButton icon="x_placeholder" variant="ghost" noText>Profile</DBButton><DBButton icon="x_placeholder" variant="ghost" noText>Notification</DBButton><DBButton icon="x_placeholder" variant="ghost" noText>Help</DBButton></template><DBControlPanelNavigation><DBControlPanelNavigationItem icon="x_placeholder"><a href="#">Navi-Item 1</a></DBControlPanelNavigationItem><DBControlPanelNavigationItem icon="x_placeholder" disabled><a href="#">Navi-Item 2</a></DBControlPanelNavigationItem></DBControlPanelNavigation></DBControlPanelDesktop></template>
11
+ <template v-slot:controlPanelMobile><DBControlPanelMobile drawerHeaderText="Application Name"><template v-slot:brand><DBControlPanelBrand data-logo="db-systel" /></template><template v-slot:meta><DBLink href="#">Imprint</DBLink><DBLink href="#">Help</DBLink></template><template v-slot:actions-1><DBButton icon="magnifying_glass" variant="ghost" noText>Search</DBButton></template><template v-slot:actions-2><DBButton icon="x_placeholder" variant="ghost" noText>Profile</DBButton><DBButton icon="x_placeholder" variant="ghost" noText>Notification</DBButton><DBButton icon="x_placeholder" variant="ghost" noText>Help</DBButton></template><DBControlPanelNavigation><DBControlPanelNavigationItem icon="x_placeholder"><a href="#">Navi-Item 1</a></DBControlPanelNavigationItem><DBControlPanelNavigationItem icon="x_placeholder" disabled><a href="#">Navi-Item 2</a></DBControlPanelNavigationItem></DBControlPanelNavigation></DBControlPanelMobile></template>
12
+
13
+ <DBControlPanelNavigation
14
+ ><DBControlPanelNavigationItem icon="x_placeholder"
15
+ ><a href="#">Navi-Item 1</a></DBControlPanelNavigationItem
16
+ ><DBControlPanelNavigationItem icon="x_placeholder" :disabled="true"
17
+ ><a href="#">Navi-Item 2</a></DBControlPanelNavigationItem
18
+ ></DBControlPanelNavigation
19
+ ></DBShell
20
+ >
21
+ </template>
22
+
23
+ <script setup lang="ts">
24
+ import { DBControlPanelNavigation } from "@db-ux/v-v-core-components";
25
+ import { DBControlPanelNavigationItem } from "@db-ux/v-v-core-components";
26
+ import { DBShell } from "@db-ux/v-v-core-components";
27
+ </script>
28
+ ```
@@ -6,6 +6,7 @@
6
6
  - use for `DBTabItem` or `TabItem` the file __agent-path__/agent/TabItem.md
7
7
  - use for `DBSwitch` or `Switch` the file __agent-path__/agent/Switch.md
8
8
  - use for `DBStack` or `Stack` the file __agent-path__/agent/Stack.md
9
+ - use for `DBShell` or `Shell` the file __agent-path__/agent/Shell.md
9
10
  - use for `DBSelect` or `Select` the file __agent-path__/agent/Select.md
10
11
  - use for `DBSection` or `Section` the file __agent-path__/agent/Section.md
11
12
  - use for `DBRadio` or `Radio` the file __agent-path__/agent/Radio.md
@@ -22,6 +23,12 @@
22
23
  - use for `DBDrawer` or `Drawer` the file __agent-path__/agent/Drawer.md
23
24
  - use for `DBDivider` or `Divider` the file __agent-path__/agent/Divider.md
24
25
  - use for `DBCustomSelect` or `CustomSelect` the file __agent-path__/agent/CustomSelect.md
26
+ - use for `DBControlPanelNavigationItem` or `ControlPanelNavigationItem` the file __agent-path__/agent/ControlPanelNavigationItem.md
27
+ - use for `DBControlPanelNavigation` or `ControlPanelNavigation` the file __agent-path__/agent/ControlPanelNavigation.md
28
+ - use for `DBControlPanelMobile` or `ControlPanelMobile` the file __agent-path__/agent/ControlPanelMobile.md
29
+ - use for `DBControlPanelMeta` or `ControlPanelMeta` the file __agent-path__/agent/ControlPanelMeta.md
30
+ - use for `DBControlPanelDesktop` or `ControlPanelDesktop` the file __agent-path__/agent/ControlPanelDesktop.md
31
+ - use for `DBControlPanelBrand` or `ControlPanelBrand` the file __agent-path__/agent/ControlPanelBrand.md
25
32
  - use for `DBCheckbox` or `Checkbox` the file __agent-path__/agent/Checkbox.md
26
33
  - use for `DBCard` or `Card` the file __agent-path__/agent/Card.md
27
34
  - 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;
14
13
  initOpenIndex: number[];
15
14
  items: DBAccordionItemDefaultProps[] | string;
16
15
  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,14 +1,8 @@
1
- import type { GlobalProps, InitializedState } from '../../shared/model.js';
1
+ import { CollapsibleBehaviorProps, 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];
7
5
  export type DBAccordionDefaultProps = {
8
- /**
9
- * To allow multiple items open at the same time or only 1 item
10
- */
11
- behavior?: AccordionBehaviorType;
12
6
  /**
13
7
  * The index of items which should be open when loading the accordion
14
8
  */
@@ -32,7 +26,7 @@ export type DBAccordionDefaultProps = {
32
26
  */
33
27
  variant?: AccordionVariantType;
34
28
  };
35
- export type DBAccordionProps = DBAccordionDefaultProps & GlobalProps;
29
+ export type DBAccordionProps = DBAccordionDefaultProps & GlobalProps & CollapsibleBehaviorProps;
36
30
  export type DBAccordionDefaultState = {
37
31
  _initOpenIndexDone: boolean;
38
32
  _name?: string;
@@ -0,0 +1,18 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
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
+ id: string;
7
+ children: any;
8
+ className: string;
9
+ propOverrides: import("../../index.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
10
+ }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,18 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
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
+ id: string;
7
+ children: any;
8
+ className: string;
9
+ propOverrides: import("../../index.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
10
+ }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1,2 @@
1
+ export { default as DBControlPanelActions1 } from './control-panel-actions-1.vue';
2
+ export { default as DBControlPanelActions2 } from './control-panel-actions-2.vue';
@@ -0,0 +1,9 @@
1
+ import { GlobalProps, GlobalState } from '../../shared/model.js';
2
+ export type DBControlPanelActions1DefaultProps = {};
3
+ export type DBControlPanelActions1Props = DBControlPanelActions1DefaultProps & GlobalProps;
4
+ export type DBControlPanelActions1DefaultState = {};
5
+ export type DBControlPanelActions1State = DBControlPanelActions1DefaultState & GlobalState;
6
+ export type DBControlPanelActions2DefaultProps = {};
7
+ export type DBControlPanelActions2Props = DBControlPanelActions2DefaultProps & GlobalProps;
8
+ export type DBControlPanelActions2DefaultState = {};
9
+ export type DBControlPanelActions2State = DBControlPanelActions2DefaultState & GlobalState;
@@ -0,0 +1,22 @@
1
+ import { DBControlPanelBrandProps } from "./model.js";
2
+ declare var __VLS_1: {}, __VLS_3: {};
3
+ type __VLS_Slots = {} & {
4
+ default?: (props: typeof __VLS_1) => any;
5
+ } & {
6
+ 'end-slot'?: (props: typeof __VLS_3) => any;
7
+ };
8
+ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBControlPanelBrandProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<DBControlPanelBrandProps> & Readonly<{}>, {
9
+ id: string;
10
+ children: any;
11
+ className: string;
12
+ propOverrides: import("../../index.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
13
+ secondLine: string;
14
+ }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
15
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
18
+ type __VLS_WithSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1 @@
1
+ export { default as DBControlPanelBrand } from './control-panel-brand.vue';
@@ -0,0 +1,7 @@
1
+ import { EndSlotProps, GlobalProps, GlobalState } from '../../shared/model.js';
2
+ export type DBControlPanelBrandDefaultProps = {
3
+ secondLine?: string;
4
+ };
5
+ export type DBControlPanelBrandProps = DBControlPanelBrandDefaultProps & GlobalProps & EndSlotProps;
6
+ export type DBControlPanelBrandDefaultState = {};
7
+ export type DBControlPanelBrandState = DBControlPanelBrandDefaultState & GlobalState;
@@ -0,0 +1,35 @@
1
+ import { DBControlPanelDesktopProps } from "./model.js";
2
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {};
3
+ type __VLS_Slots = {} & {
4
+ 'skip-navigation'?: (props: typeof __VLS_1) => any;
5
+ } & {
6
+ brand?: (props: typeof __VLS_3) => any;
7
+ } & {
8
+ default?: (props: typeof __VLS_5) => any;
9
+ } & {
10
+ meta?: (props: typeof __VLS_7) => any;
11
+ } & {
12
+ 'actions-1'?: (props: typeof __VLS_9) => any;
13
+ } & {
14
+ 'actions-2'?: (props: typeof __VLS_11) => any;
15
+ };
16
+ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBControlPanelDesktopProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<DBControlPanelDesktopProps> & Readonly<{}>, {
17
+ id: string;
18
+ children: any;
19
+ className: string;
20
+ propOverrides: import("../../index.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
21
+ width: import("../../index.js", { with: { "resolution-mode": "import" } }).MaxWidthType;
22
+ orientation: import("../../index.js", { with: { "resolution-mode": "import" } }).OrientationType;
23
+ expanded: boolean | string;
24
+ expandButtonTooltip: string;
25
+ expandButtonTooltipFn: (open: boolean) => string;
26
+ onExpandButtonTooltipFn: (open: boolean) => string;
27
+ }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
28
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
+ declare const _default: typeof __VLS_export;
30
+ export default _default;
31
+ type __VLS_WithSlots<T, S> = T & {
32
+ new (): {
33
+ $slots: S;
34
+ };
35
+ };
@@ -0,0 +1 @@
1
+ export { default as DBControlPanelDesktop } from './control-panel-desktop.vue';
@@ -0,0 +1,7 @@
1
+ import { ContainerWidthProps, ControlPanelProps, GlobalProps, GlobalState, OrientationProps, ResetIdState, SidebarProps, SidebarState, ToggleEventState } from '../../shared/model.js';
2
+ export type DBControlPanelDesktopDefaultProps = {};
3
+ export type DBControlPanelDesktopProps = DBControlPanelDesktopDefaultProps & GlobalProps & ContainerWidthProps & ControlPanelProps & OrientationProps & SidebarProps;
4
+ export type DBControlPanelDesktopDefaultState = {
5
+ syncExpanded: () => void;
6
+ };
7
+ export type DBControlPanelDesktopState = DBControlPanelDesktopDefaultState & GlobalState & ToggleEventState<HTMLButtonElement> & SidebarState & ResetIdState;
@@ -0,0 +1,22 @@
1
+ import { DBControlPanelFlatIconProps } from "./model.js";
2
+ declare var __VLS_1: {}, __VLS_3: {};
3
+ type __VLS_Slots = {} & {
4
+ 'skip-navigation'?: (props: typeof __VLS_1) => any;
5
+ } & {
6
+ default?: (props: typeof __VLS_3) => any;
7
+ };
8
+ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBControlPanelFlatIconProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<DBControlPanelFlatIconProps> & Readonly<{}>, {
9
+ id: string;
10
+ children: any;
11
+ className: string;
12
+ propOverrides: import("../../index.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
13
+ noText: boolean | string;
14
+ }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
15
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
+ declare const _default: typeof __VLS_export;
17
+ export default _default;
18
+ type __VLS_WithSlots<T, S> = T & {
19
+ new (): {
20
+ $slots: S;
21
+ };
22
+ };
@@ -0,0 +1 @@
1
+ export { default as DBControlPanelFlatIcon } from './control-panel-flat-icon.vue';
@@ -0,0 +1,12 @@
1
+ import { GlobalProps, GlobalState, NoTextProps } from '../../shared/model.js';
2
+ export type DBControlPanelFlatIconDefaultProps = {
3
+ /**
4
+ * Slot to pass an anchor or link to skip the navigation and jump to main content.
5
+ */
6
+ skipNavigation?: any;
7
+ };
8
+ export type DBControlPanelFlatIconProps = DBControlPanelFlatIconDefaultProps & GlobalProps & NoTextProps;
9
+ export type DBControlPanelFlatIconDefaultState = {
10
+ _resizeObserverCallbackId?: string;
11
+ };
12
+ export type DBControlPanelFlatIconState = DBControlPanelFlatIconDefaultState & GlobalState;
@@ -0,0 +1,18 @@
1
+ declare var __VLS_1: {};
2
+ type __VLS_Slots = {} & {
3
+ default?: (props: typeof __VLS_1) => any;
4
+ };
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
+ id: string;
7
+ children: any;
8
+ className: string;
9
+ propOverrides: import("../../index.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
10
+ }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
+ declare const _default: typeof __VLS_export;
13
+ export default _default;
14
+ type __VLS_WithSlots<T, S> = T & {
15
+ new (): {
16
+ $slots: S;
17
+ };
18
+ };
@@ -0,0 +1 @@
1
+ export { default as DBControlPanelMeta } from './control-panel-meta.vue';
@@ -0,0 +1,5 @@
1
+ import { GlobalProps, GlobalState } from '../../shared/model.js';
2
+ export type DBControlPanelMetaDefaultProps = {};
3
+ export type DBControlPanelMetaProps = DBControlPanelMetaDefaultProps & GlobalProps;
4
+ export type DBControlPanelMetaDefaultState = {};
5
+ export type DBControlPanelMetaState = DBControlPanelMetaDefaultState & GlobalState;
@@ -0,0 +1,33 @@
1
+ import { DBControlPanelMobileProps } from "./model.js";
2
+ declare var __VLS_1: {}, __VLS_9: {}, __VLS_11: {}, __VLS_26: {}, __VLS_28: {}, __VLS_30: {};
3
+ type __VLS_Slots = {} & {
4
+ 'skip-navigation'?: (props: typeof __VLS_1) => any;
5
+ } & {
6
+ default?: (props: typeof __VLS_9) => any;
7
+ } & {
8
+ meta?: (props: typeof __VLS_11) => any;
9
+ } & {
10
+ 'actions-2'?: (props: typeof __VLS_26) => any;
11
+ } & {
12
+ brand?: (props: typeof __VLS_28) => any;
13
+ } & {
14
+ 'actions-1'?: (props: typeof __VLS_30) => any;
15
+ };
16
+ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBControlPanelMobileProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<DBControlPanelMobileProps> & Readonly<{}>, {
17
+ id: string;
18
+ children: any;
19
+ className: string;
20
+ propOverrides: import("../../index.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
21
+ onToggle: (open: boolean) => void;
22
+ position: import("../../index.js", { with: { "resolution-mode": "import" } }).ShellControlPanelMobilePositionType;
23
+ drawerHeaderText: string;
24
+ burgerMenuLabel: string;
25
+ }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
26
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
27
+ declare const _default: typeof __VLS_export;
28
+ export default _default;
29
+ type __VLS_WithSlots<T, S> = T & {
30
+ new (): {
31
+ $slots: S;
32
+ };
33
+ };
@@ -0,0 +1 @@
1
+ export { default as DBControlPanelMobile } from './control-panel-mobile.vue';
@@ -0,0 +1,21 @@
1
+ import { ControlPanelProps, GlobalProps, GlobalState, NavigationBehaviorState, ShellControlPanelMobilePositionType, ToggleEventProps, ToggleEventState } from '../../shared/model.js';
2
+ export type DBControlPanelMobileDefaultProps = {
3
+ /**
4
+ * Text to pass in a headline for the drawer header.
5
+ */
6
+ drawerHeaderText?: string;
7
+ /**
8
+ * Sets the accessible label for the burger menu button of the mobile control panel.
9
+ */
10
+ burgerMenuLabel?: string;
11
+ /**
12
+ * Change the position of the mobile content panel
13
+ */
14
+ position?: ShellControlPanelMobilePositionType;
15
+ };
16
+ export type DBControlPanelMobileProps = DBControlPanelMobileDefaultProps & GlobalProps & ToggleEventProps & ControlPanelProps;
17
+ export type DBControlPanelMobileDefaultState = {
18
+ open: boolean;
19
+ handleClose: (event: any) => void;
20
+ };
21
+ export type DBControlPanelMobileState = DBControlPanelMobileDefaultState & GlobalState & ToggleEventState<HTMLElement> & NavigationBehaviorState;
@@ -0,0 +1,26 @@
1
+ import { NavigationItemGroupVariantType } from "../../shared/model.js";
2
+ import { DBControlPanelNavigationProps } from "./model.js";
3
+ declare var __VLS_7: {};
4
+ type __VLS_Slots = {} & {
5
+ default?: (props: typeof __VLS_7) => any;
6
+ };
7
+ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBControlPanelNavigationProps, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<DBControlPanelNavigationProps> & Readonly<{}>, {
8
+ id: string;
9
+ children: any;
10
+ className: string;
11
+ propOverrides: import("../../shared/model.js", { with: { "resolution-mode": "import" } }).PropOverridesType;
12
+ variant: NavigationItemGroupVariantType;
13
+ behavior: import("../../shared/model.js", { with: { "resolution-mode": "import" } }).CollapsibleBehaviorType;
14
+ showTreeLine: boolean | string;
15
+ arrowScrollDistance: number | string;
16
+ scrollLeftText: string;
17
+ scrollRightText: string;
18
+ }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
19
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
+ declare const _default: typeof __VLS_export;
21
+ export default _default;
22
+ type __VLS_WithSlots<T, S> = T & {
23
+ new (): {
24
+ $slots: S;
25
+ };
26
+ };
@@ -0,0 +1 @@
1
+ export { default as DBControlPanelNavigation } from './control-panel-navigation.vue';