@db-ux/v-core-components 4.12.0 → 4.13.0-shell-f221975

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 (116) hide show
  1. package/CHANGELOG.md +14 -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/ControlPanelPrimaryActions.md +20 -0
  9. package/agent/ControlPanelSecondaryActions.md +24 -0
  10. package/agent/Drawer.md +0 -8
  11. package/agent/Shell.md +28 -0
  12. package/agent/ShellSubNavigation.md +6 -0
  13. package/agent/_instructions.md +11 -6
  14. package/dist/components/accordion/accordion.vue.d.ts +1 -1
  15. package/dist/components/accordion/model.d.ts +2 -8
  16. package/dist/components/button/button.vue.d.ts +3 -1
  17. package/dist/components/button/model.d.ts +8 -0
  18. package/dist/components/control-panel-brand/index.d.ts +1 -0
  19. package/dist/components/control-panel-brand/model.d.ts +5 -0
  20. package/dist/components/control-panel-desktop/control-panel-desktop.vue.d.ts +34 -0
  21. package/dist/components/control-panel-desktop/index.d.ts +1 -0
  22. package/dist/components/control-panel-desktop/model.d.ts +5 -0
  23. package/dist/components/control-panel-flat-icon/control-panel-flat-icon.vue.d.ts +22 -0
  24. package/dist/components/control-panel-flat-icon/index.d.ts +1 -0
  25. package/dist/components/control-panel-flat-icon/model.d.ts +12 -0
  26. package/dist/components/control-panel-meta/control-panel-meta.vue.d.ts +18 -0
  27. package/dist/components/control-panel-meta/index.d.ts +1 -0
  28. package/dist/components/control-panel-meta/model.d.ts +5 -0
  29. package/dist/components/control-panel-mobile/control-panel-mobile.vue.d.ts +33 -0
  30. package/dist/components/control-panel-mobile/index.d.ts +1 -0
  31. package/dist/components/control-panel-mobile/model.d.ts +21 -0
  32. package/dist/components/control-panel-navigation/control-panel-navigation.vue.d.ts +25 -0
  33. package/dist/components/control-panel-navigation/index.d.ts +1 -0
  34. package/dist/components/control-panel-navigation/model.d.ts +25 -0
  35. package/dist/components/control-panel-navigation-item/control-panel-navigation-item.vue.d.ts +27 -0
  36. package/dist/components/control-panel-navigation-item/index.d.ts +1 -0
  37. package/dist/components/control-panel-navigation-item/model.d.ts +20 -0
  38. package/dist/components/{navigation-item/navigation-item.vue.d.ts → control-panel-navigation-item-group/control-panel-navigation-item-group.vue.d.ts} +7 -11
  39. package/dist/components/control-panel-navigation-item-group/index.d.ts +1 -0
  40. package/dist/components/control-panel-navigation-item-group/model.d.ts +44 -0
  41. package/dist/components/control-panel-primary-actions/control-panel-primary-actions.vue.d.ts +18 -0
  42. package/dist/components/control-panel-primary-actions/index.d.ts +1 -0
  43. package/dist/components/control-panel-primary-actions/model.d.ts +5 -0
  44. package/dist/components/control-panel-secondary-actions/control-panel-secondary-actions.vue.d.ts +18 -0
  45. package/dist/components/control-panel-secondary-actions/index.d.ts +1 -0
  46. package/dist/components/control-panel-secondary-actions/model.d.ts +5 -0
  47. package/dist/components/{brand/brand.vue.d.ts → control-panel-skip-navigation/control-panel-skip-navigation.vue.d.ts} +3 -5
  48. package/dist/components/control-panel-skip-navigation/index.d.ts +1 -0
  49. package/dist/components/control-panel-skip-navigation/model.d.ts +16 -0
  50. package/dist/components/custom-button/custom-button.vue.d.ts +1 -1
  51. package/dist/components/custom-select/custom-select.vue.d.ts +1 -1
  52. package/dist/components/custom-select/model.d.ts +5 -1
  53. package/dist/components/custom-select-list/custom-select-list.vue.d.ts +1 -1
  54. package/dist/components/drawer/drawer.vue.d.ts +7 -7
  55. package/dist/components/drawer/model.d.ts +21 -3
  56. package/dist/components/drawer-footer/drawer-footer.vue.d.ts +18 -0
  57. package/dist/components/drawer-footer/index.d.ts +1 -0
  58. package/dist/components/drawer-footer/model.d.ts +5 -0
  59. package/dist/components/drawer-header/drawer-header.vue.d.ts +26 -0
  60. package/dist/components/drawer-header/index.d.ts +1 -0
  61. package/dist/components/drawer-header/model.d.ts +9 -0
  62. package/dist/components/input/input.vue.d.ts +1 -1
  63. package/dist/components/notification/notification.vue.d.ts +1 -1
  64. package/dist/components/select/select.vue.d.ts +1 -1
  65. package/dist/components/shell/index.d.ts +1 -0
  66. package/dist/components/shell/model.d.ts +34 -0
  67. package/dist/components/shell/shell.vue.d.ts +25 -0
  68. package/dist/components/shell-content/index.d.ts +1 -0
  69. package/dist/components/shell-content/model.d.ts +28 -0
  70. package/dist/components/{page/page.vue.d.ts → shell-content/shell-content.vue.d.ts} +7 -7
  71. package/dist/components/shell-sub-navigation/index.d.ts +1 -0
  72. package/dist/components/shell-sub-navigation/model.d.ts +5 -0
  73. package/dist/components/shell-sub-navigation/shell-sub-navigation.vue.d.ts +22 -0
  74. package/dist/components/table/table.vue.d.ts +1 -0
  75. package/dist/components/table-body/table-body.vue.d.ts +1 -0
  76. package/dist/components/table-caption/table-caption.vue.d.ts +1 -0
  77. package/dist/components/table-data-cell/table-data-cell.vue.d.ts +1 -0
  78. package/dist/components/table-footer/table-footer.vue.d.ts +1 -0
  79. package/dist/components/table-head/table-head.vue.d.ts +1 -0
  80. package/dist/components/table-header-cell/table-header-cell.vue.d.ts +1 -0
  81. package/dist/components/table-row/table-row.vue.d.ts +1 -0
  82. package/dist/components/tabs/model.d.ts +4 -12
  83. package/dist/components/tabs/tabs.vue.d.ts +4 -2
  84. package/dist/db-ux.es.js +2592 -1660
  85. package/dist/db-ux.umd.js +1 -1
  86. package/dist/index.d.ts +32 -10
  87. package/dist/shared/constants.d.ts +44 -39
  88. package/dist/shared/figma.d.ts +11 -4
  89. package/dist/shared/model.d.ts +109 -7
  90. package/dist/utils/abstract-document-listener.d.ts +18 -0
  91. package/dist/utils/abstract-observer-listener.d.ts +39 -0
  92. package/dist/utils/document-click-listener.d.ts +3 -3
  93. package/dist/utils/document-scroll-listener.d.ts +3 -3
  94. package/dist/utils/floating-components.d.ts +29 -6
  95. package/dist/utils/index.d.ts +11 -0
  96. package/dist/utils/intersection-observer-listener.d.ts +15 -0
  97. package/dist/utils/navigation.d.ts +12 -11
  98. package/dist/utils/resize-observer-listener.d.ts +15 -0
  99. package/package.json +8 -8
  100. package/agent/Brand.md +0 -19
  101. package/agent/Header.md +0 -35
  102. package/agent/Navigation.md +0 -23
  103. package/agent/NavigationItem.md +0 -29
  104. package/agent/Page.md +0 -33
  105. package/dist/components/brand/index.d.ts +0 -1
  106. package/dist/components/brand/model.d.ts +0 -10
  107. package/dist/components/header/header.vue.d.ts +0 -40
  108. package/dist/components/header/index.d.ts +0 -1
  109. package/dist/components/header/model.d.ts +0 -44
  110. package/dist/components/navigation/index.d.ts +0 -1
  111. package/dist/components/navigation/model.d.ts +0 -5
  112. package/dist/components/navigation-item/index.d.ts +0 -1
  113. package/dist/components/navigation-item/model.d.ts +0 -39
  114. package/dist/components/page/index.d.ts +0 -1
  115. package/dist/components/page/model.d.ts +0 -36
  116. /package/dist/components/{navigation/navigation.vue.d.ts → control-panel-brand/control-panel-brand.vue.d.ts} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @db-ux/v-core-components
2
2
 
3
+ ## 4.13.0
4
+
5
+ ### Minor Changes
6
+
7
+ - feat: enable Invoker Commands (`command`- and `commandfor`-HTML-attributes) for DBButton - [see commit 00f50c3](https://github.com/db-ux-design-system/core-web/commit/00f50c3fc4508e62f2e30589c00148c54e2fc852)
8
+
9
+ ## 4.12.1
10
+
11
+ ### Patch Changes
12
+
13
+ - fix(custom-select): dropdown with `dropdownWidth="auto"` now correctly sizes to content width and respects the trigger minimum width. Long option labels no longer get truncated: `auto` keeps them on a single line (dropdown grows to the longest option), while `fixed` and `full` wrap long labels onto new lines. - [see commit 68dedc3](https://github.com/db-ux-design-system/core-web/commit/68dedc33c324b48339d5bb73a85fdff3045ed059)
14
+
15
+ - fix(drawer): prevent backdrop drag-close when selection starts inside content - [see commit b53ff8a](https://github.com/db-ux-design-system/core-web/commit/b53ff8a4f0a5350c5be41fad072e14797676bba7)
16
+
3
17
  ## 4.12.0
4
18
 
5
19
  ### Minor 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
+ ```
@@ -0,0 +1,20 @@
1
+
2
+
3
+ # ControlPanelPrimaryActions Examples (vue)
4
+
5
+ ```vue
6
+ <template>
7
+ <h1>DBControlPanelPrimaryActions Documentation Examples</h1>
8
+ <h2>1. Default Primary Actions</h2>
9
+ <DBControlPanelPrimaryActions
10
+ ><DBButton icon="magnifying_glass" variant="ghost" :noText="true">
11
+ Search
12
+ </DBButton></DBControlPanelPrimaryActions
13
+ >
14
+ </template>
15
+
16
+ <script setup lang="ts">
17
+ import { DBButton } from "@db-ux/v-v-core-components";
18
+ import { DBControlPanelPrimaryActions } from "@db-ux/v-v-core-components";
19
+ </script>
20
+ ```
@@ -0,0 +1,24 @@
1
+
2
+
3
+ # ControlPanelSecondaryActions Examples (vue)
4
+
5
+ ```vue
6
+ <template>
7
+ <h1>DBControlPanelSecondaryActions Documentation Examples</h1>
8
+ <h2>1. Default Secondary Actions</h2>
9
+ <DBControlPanelSecondaryActions
10
+ ><DBButton icon="x_placeholder" variant="ghost" :noText="true">
11
+ Profile </DBButton
12
+ ><DBButton icon="x_placeholder" variant="ghost" :noText="true">
13
+ Notification </DBButton
14
+ ><DBButton icon="x_placeholder" variant="ghost" :noText="true">
15
+ Help
16
+ </DBButton></DBControlPanelSecondaryActions
17
+ >
18
+ </template>
19
+
20
+ <script setup lang="ts">
21
+ import { DBButton } from "@db-ux/v-v-core-components";
22
+ import { DBControlPanelSecondaryActions } from "@db-ux/v-v-core-components";
23
+ </script>
24
+ ```
package/agent/Drawer.md CHANGED
@@ -1,11 +1,3 @@
1
- ## CSS Properties
2
-
3
- | CSS Variable | Default | CSS Property | Description | Example |
4
- | --- | --- | --- | --- | --- |
5
- | `--db-drawer-max-height` | `calc(100% - #{variables.$db-spacing-fixed-xl})` | max-block-size | Sets the maximum height of the drawer | — |
6
- | `--db-drawer-header-padding-block-end` | `#{map.get($spacing, "block")}` | padding-block-end | Controls the bottom padding inside the drawer header | — |
7
- | `--db-drawer-content-padding-inline` | `#{map.get($spacing, "inline")}` | padding-inline | Controls left/right padding inside the drawer content area | — |
8
- | `--db-drawer-max-width` | `calc(100% - #{variables.$db-spacing-fixed-xl})` | max-inline-size | Sets the maximum width of the drawer and some default values for the drawer | <pre>css - Wide drawer<br>.db-drawer-wide {<br>--db-drawer-max-width: 800px;<br>}<br>&lt;div class="db-drawer db-drawer-wide"&gt;<br>&lt;!-- wide drawer --&gt;<br>&lt;/div&gt;<br></pre> |
9
1
 
10
2
 
11
3
  # Drawer Examples (vue)
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:metaNavigation><DBLink href="#">Imprint</DBLink><DBLink href="#">Help</DBLink></template><template v-slot:primaryActions><DBButton icon="magnifying_glass" variant="ghost" noText>Search</DBButton></template><template v-slot:secondaryActions><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:metaNavigation><DBLink href="#">Imprint</DBLink><DBLink href="#">Help</DBLink></template><template v-slot:primaryActions><DBButton icon="magnifying_glass" variant="ghost" noText>Search</DBButton></template><template v-slot:secondaryActions><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
+ ```
@@ -0,0 +1,6 @@
1
+ ## CSS Properties
2
+
3
+ | CSS Variable | Default | CSS Property | Description | Example |
4
+ | --- | --- | --- | --- | --- |
5
+
6
+
@@ -1,5 +1,5 @@
1
1
  - Use "@db-ux/v-core-components" as import for components:
2
- - use for `DBDrawer` or `Drawer` the file __agent-path__/agent/Drawer.md
2
+ - use for `DBShellSubNavigation` or `ShellSubNavigation` the file __agent-path__/agent/ShellSubNavigation.md
3
3
  - use for `DBTooltip` or `Tooltip` the file __agent-path__/agent/Tooltip.md
4
4
  - use for `DBTextarea` or `Textarea` the file __agent-path__/agent/Textarea.md
5
5
  - use for `DBTag` or `Tag` the file __agent-path__/agent/Tag.md
@@ -7,25 +7,30 @@
7
7
  - use for `DBTabItem` or `TabItem` the file __agent-path__/agent/TabItem.md
8
8
  - use for `DBSwitch` or `Switch` the file __agent-path__/agent/Switch.md
9
9
  - 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
10
11
  - use for `DBSelect` or `Select` the file __agent-path__/agent/Select.md
11
12
  - use for `DBSection` or `Section` the file __agent-path__/agent/Section.md
12
13
  - use for `DBRadio` or `Radio` the file __agent-path__/agent/Radio.md
13
14
  - use for `DBPopover` or `Popover` the file __agent-path__/agent/Popover.md
14
- - use for `DBPage` or `Page` the file __agent-path__/agent/Page.md
15
15
  - use for `DBNotification` or `Notification` the file __agent-path__/agent/Notification.md
16
- - use for `DBNavigationItem` or `NavigationItem` the file __agent-path__/agent/NavigationItem.md
17
- - use for `DBNavigation` or `Navigation` the file __agent-path__/agent/Navigation.md
18
16
  - use for `DBLink` or `Link` the file __agent-path__/agent/Link.md
19
17
  - use for `DBInput` or `Input` the file __agent-path__/agent/Input.md
20
18
  - use for `DBInfotext` or `Infotext` the file __agent-path__/agent/Infotext.md
21
19
  - use for `DBIcon` or `Icon` the file __agent-path__/agent/Icon.md
22
- - use for `DBHeader` or `Header` the file __agent-path__/agent/Header.md
20
+ - use for `DBDrawer` or `Drawer` the file __agent-path__/agent/Drawer.md
23
21
  - use for `DBDivider` or `Divider` the file __agent-path__/agent/Divider.md
24
22
  - use for `DBCustomSelect` or `CustomSelect` the file __agent-path__/agent/CustomSelect.md
23
+ - use for `DBControlPanelSecondaryActions` or `ControlPanelSecondaryActions` the file __agent-path__/agent/ControlPanelSecondaryActions.md
24
+ - use for `DBControlPanelPrimaryActions` or `ControlPanelPrimaryActions` the file __agent-path__/agent/ControlPanelPrimaryActions.md
25
+ - use for `DBControlPanelNavigationItem` or `ControlPanelNavigationItem` the file __agent-path__/agent/ControlPanelNavigationItem.md
26
+ - use for `DBControlPanelNavigation` or `ControlPanelNavigation` the file __agent-path__/agent/ControlPanelNavigation.md
27
+ - use for `DBControlPanelMobile` or `ControlPanelMobile` the file __agent-path__/agent/ControlPanelMobile.md
28
+ - use for `DBControlPanelMeta` or `ControlPanelMeta` the file __agent-path__/agent/ControlPanelMeta.md
29
+ - use for `DBControlPanelDesktop` or `ControlPanelDesktop` the file __agent-path__/agent/ControlPanelDesktop.md
30
+ - use for `DBControlPanelBrand` or `ControlPanelBrand` the file __agent-path__/agent/ControlPanelBrand.md
25
31
  - use for `DBCheckbox` or `Checkbox` the file __agent-path__/agent/Checkbox.md
26
32
  - use for `DBCard` or `Card` the file __agent-path__/agent/Card.md
27
33
  - use for `DBButton` or `Button` the file __agent-path__/agent/Button.md
28
- - use for `DBBrand` or `Brand` the file __agent-path__/agent/Brand.md
29
34
  - use for `DBBadge` or `Badge` the file __agent-path__/agent/Badge.md
30
35
  - use for `DBAccordionItem` or `AccordionItem` the file __agent-path__/agent/AccordionItem.md
31
36
  - use for `DBAccordion` or `Accordion` the file __agent-path__/agent/Accordion.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;
@@ -18,9 +18,11 @@ declare const __VLS_base: import("@vue/runtime-core").DefineComponent<DBButtonPr
18
18
  variant: import("./model.js", { with: { "resolution-mode": "import" } }).ButtonVariantType | string;
19
19
  size: import("../../index.js", { with: { "resolution-mode": "import" } }).SizeType;
20
20
  wrap: boolean | string;
21
+ command: string;
22
+ commandfor: string;
21
23
  icon: import("@db-ux/core-foundations", { with: { "resolution-mode": "import" } }).IconTypes;
22
- showIcon: boolean | string;
23
24
  width: import("../../index.js", { with: { "resolution-mode": "import" } }).WidthType | string;
25
+ showIcon: boolean | string;
24
26
  showIconLeading: boolean | string;
25
27
  showIconTrailing: boolean | string;
26
28
  iconLeading: import("@db-ux/core-foundations", { with: { "resolution-mode": "import" } }).IconTypes;
@@ -10,6 +10,14 @@ export type DBButtonSharedProps = {
10
10
  variant?: ButtonVariantType | string;
11
11
  };
12
12
  export type DBButtonDefaultProps = {
13
+ /**
14
+ * The [command](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#command) attribute specifies the action to perform on the element controlled by a `<button>` element.
15
+ */
16
+ command?: string;
17
+ /**
18
+ * The [commandfor](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#commandfor) attribute turns a `<button>` into a command button that controls the given interactive element referenced by `id`.
19
+ */
20
+ commandfor?: string;
13
21
  /**
14
22
  * The disabled attribute can be set to [keep a user from clicking on the button](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#disabled).
15
23
  */
@@ -0,0 +1 @@
1
+ export { default as DBControlPanelBrand } from './control-panel-brand.vue';
@@ -0,0 +1,5 @@
1
+ import { GlobalProps, GlobalState } from '../../shared/model.js';
2
+ export type DBControlPanelBrandDefaultProps = {};
3
+ export type DBControlPanelBrandProps = DBControlPanelBrandDefaultProps & GlobalProps;
4
+ export type DBControlPanelBrandDefaultState = {};
5
+ export type DBControlPanelBrandState = DBControlPanelBrandDefaultState & GlobalState;
@@ -0,0 +1,34 @@
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-navigation'?: (props: typeof __VLS_7) => any;
11
+ } & {
12
+ 'primary-actions'?: (props: typeof __VLS_9) => any;
13
+ } & {
14
+ 'secondary-actions'?: (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
+ onExpandButtonTooltipFn: (open: boolean) => string;
26
+ }, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
27
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
28
+ declare const _default: typeof __VLS_export;
29
+ export default _default;
30
+ type __VLS_WithSlots<T, S> = T & {
31
+ new (): {
32
+ $slots: S;
33
+ };
34
+ };
@@ -0,0 +1 @@
1
+ export { default as DBControlPanelDesktop } from './control-panel-desktop.vue';
@@ -0,0 +1,5 @@
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
+ 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-navigation'?: (props: typeof __VLS_11) => any;
9
+ } & {
10
+ 'secondary-actions'?: (props: typeof __VLS_26) => any;
11
+ } & {
12
+ brand?: (props: typeof __VLS_28) => any;
13
+ } & {
14
+ 'primary-actions'?: (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;