@db-ux/v-core-components 3.0.2-copilot2-e7bf98b → 3.0.2-shell2-badc28f
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.
- package/README.md +0 -11
- package/dist/components/button/button.vue.d.ts +2 -2
- package/dist/components/{brand/brand.vue.d.ts → control-panel-brand/control-panel-brand.vue.d.ts} +5 -4
- package/dist/components/control-panel-brand/index.d.ts +1 -0
- package/dist/components/control-panel-brand/model.d.ts +5 -0
- package/dist/components/control-panel-desktop/control-panel-desktop.vue.d.ts +30 -0
- package/dist/components/control-panel-desktop/index.d.ts +1 -0
- package/dist/components/control-panel-desktop/model.d.ts +7 -0
- package/dist/components/control-panel-flat-icon-navigation/control-panel-flat-icon-navigation.vue.d.ts +18 -0
- package/dist/components/control-panel-flat-icon-navigation/index.d.ts +1 -0
- package/dist/components/control-panel-flat-icon-navigation/model.d.ts +7 -0
- package/dist/components/control-panel-meta-navigation/control-panel-meta-navigation.vue.d.ts +16 -0
- package/dist/components/control-panel-meta-navigation/index.d.ts +1 -0
- package/dist/components/control-panel-meta-navigation/model.d.ts +5 -0
- package/dist/components/control-panel-mobile/control-panel-mobile.vue.d.ts +33 -0
- package/dist/components/control-panel-mobile/index.d.ts +1 -0
- package/dist/components/control-panel-mobile/model.d.ts +30 -0
- package/dist/components/control-panel-primary-actions/control-panel-primary-actions.vue.d.ts +16 -0
- package/dist/components/control-panel-primary-actions/index.d.ts +1 -0
- package/dist/components/control-panel-primary-actions/model.d.ts +5 -0
- package/dist/components/control-panel-secondary-actions/control-panel-secondary-actions.vue.d.ts +16 -0
- package/dist/components/control-panel-secondary-actions/index.d.ts +1 -0
- package/dist/components/control-panel-secondary-actions/model.d.ts +5 -0
- package/dist/components/custom-select/model.d.ts +4 -1
- package/dist/components/drawer/drawer.vue.d.ts +1 -0
- package/dist/components/drawer/model.d.ts +5 -1
- package/dist/components/navigation/model.d.ts +14 -5
- package/dist/components/navigation/navigation.vue.d.ts +7 -3
- package/dist/components/navigation-item/model.d.ts +9 -24
- package/dist/components/navigation-item/navigation-item.vue.d.ts +3 -12
- package/dist/components/navigation-item-group/index.d.ts +1 -0
- package/dist/components/navigation-item-group/model.d.ts +26 -0
- package/dist/components/navigation-item-group/navigation-item-group.vue.d.ts +29 -0
- package/dist/components/shell/index.d.ts +1 -0
- package/dist/components/shell/model.d.ts +50 -0
- package/dist/components/shell/shell.vue.d.ts +30 -0
- package/dist/components/shell-sub-navigation/index.d.ts +1 -0
- package/dist/components/shell-sub-navigation/model.d.ts +5 -0
- package/dist/components/shell-sub-navigation/shell-sub-navigation.vue.d.ts +20 -0
- package/dist/components/tab-item/tab-item.vue.d.ts +1 -1
- package/dist/components/tabs/model.d.ts +3 -11
- package/dist/components/tabs/tabs.vue.d.ts +2 -2
- package/dist/components/tag/tag.vue.d.ts +1 -1
- package/dist/db-ux.es.js +2427 -1996
- package/dist/db-ux.umd.js +1 -1
- package/dist/index.d.ts +19 -6
- package/dist/shared/constants.d.ts +3 -0
- package/dist/shared/model.d.ts +82 -3
- package/dist/utils/floating-components.d.ts +17 -1
- package/dist/utils/navigation.d.ts +2 -6
- package/package.json +6 -8
- package/agent/Accordion.md +0 -42
- package/agent/AccordionItem.md +0 -31
- package/agent/Badge.md +0 -38
- package/agent/Brand.md +0 -19
- package/agent/Button.md +0 -47
- package/agent/Card.md +0 -29
- package/agent/Checkbox.md +0 -39
- package/agent/CustomSelect.md +0 -79
- package/agent/Divider.md +0 -27
- package/agent/Drawer.md +0 -91
- package/agent/Header.md +0 -35
- package/agent/Icon.md +0 -26
- package/agent/Infotext.md +0 -29
- package/agent/Input.md +0 -48
- package/agent/Link.md +0 -42
- package/agent/Navigation.md +0 -23
- package/agent/NavigationItem.md +0 -29
- package/agent/Notification.md +0 -40
- package/agent/Page.md +0 -33
- package/agent/Popover.md +0 -50
- package/agent/Radio.md +0 -29
- package/agent/Section.md +0 -27
- package/agent/Select.md +0 -70
- package/agent/Stack.md +0 -41
- package/agent/Switch.md +0 -36
- package/agent/TabItem.md +0 -29
- package/agent/Tabs.md +0 -55
- package/agent/Tag.md +0 -38
- package/agent/Textarea.md +0 -43
- package/agent/Tooltip.md +0 -48
- package/agent/_instructions.md +0 -31
- package/dist/components/brand/index.d.ts +0 -1
- package/dist/components/brand/model.d.ts +0 -10
- package/dist/components/header/header.vue.d.ts +0 -36
- package/dist/components/header/index.d.ts +0 -1
- package/dist/components/header/model.d.ts +0 -44
- package/dist/components/page/index.d.ts +0 -1
- package/dist/components/page/model.d.ts +0 -36
- package/dist/components/page/page.vue.d.ts +0 -25
package/agent/TabItem.md
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
# TabItem Examples (vue)
|
|
4
|
-
|
|
5
|
-
```vue
|
|
6
|
-
<template>
|
|
7
|
-
<h1>DBTabItem Documentation Examples</h1>
|
|
8
|
-
<h2>1. Default Tab Item</h2>
|
|
9
|
-
<DBTabItem>Default Tab Item</DBTabItem>
|
|
10
|
-
<h2>2. Active State</h2>
|
|
11
|
-
<DBTabItem :active="true">Active Tab Item</DBTabItem>
|
|
12
|
-
<h2>3. Disabled State</h2>
|
|
13
|
-
<DBTabItem :disabled="true">Disabled Tab Item</DBTabItem>
|
|
14
|
-
<h2>4. Icon Variants</h2>
|
|
15
|
-
<DBTabItem icon="user">Tab Item with Icon</DBTabItem>
|
|
16
|
-
<DBTabItem iconLeading="arrow-left"> Tab Item with Leading Icon </DBTabItem>
|
|
17
|
-
<DBTabItem iconTrailing="arrow-right">
|
|
18
|
-
Tab Item with Trailing Icon
|
|
19
|
-
</DBTabItem>
|
|
20
|
-
<h2>5. Label Property</h2>
|
|
21
|
-
<DBTabItem label="Tab Item Label">Tab Item with Label</DBTabItem>
|
|
22
|
-
<h2>6. No Text</h2>
|
|
23
|
-
<DBTabItem icon="user" :noText="true"></DBTabItem>
|
|
24
|
-
</template>
|
|
25
|
-
|
|
26
|
-
<script setup lang="ts">
|
|
27
|
-
import { DBTabItem } from "@db-ux/v-v-core-components";
|
|
28
|
-
</script>
|
|
29
|
-
```
|
package/agent/Tabs.md
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
# Tabs Examples (vue)
|
|
4
|
-
|
|
5
|
-
```vue
|
|
6
|
-
<template>
|
|
7
|
-
<h1>DBTabs Documentation Examples</h1>
|
|
8
|
-
<h2>1. Default Tabs</h2>
|
|
9
|
-
<DBTabs
|
|
10
|
-
><DBTabList
|
|
11
|
-
><DBTabItem>Tab 1</DBTabItem><DBTabItem>Tab 2</DBTabItem
|
|
12
|
-
><DBTabItem>Tab 3</DBTabItem></DBTabList
|
|
13
|
-
><DBTabPanel>Tab Panel 1</DBTabPanel><DBTabPanel>Tab Panel 2</DBTabPanel
|
|
14
|
-
><DBTabPanel>Tab Panel 3</DBTabPanel></DBTabs
|
|
15
|
-
>
|
|
16
|
-
<h2>2. Behavior Variants</h2>
|
|
17
|
-
<DBTabs behavior="scrollbar"
|
|
18
|
-
><DBTabList
|
|
19
|
-
><DBTabItem>Tab 1</DBTabItem><DBTabItem>Tab 2</DBTabItem
|
|
20
|
-
><DBTabItem>Tab 3</DBTabItem></DBTabList
|
|
21
|
-
><DBTabPanel>Tab Panel 1</DBTabPanel><DBTabPanel>Tab Panel 2</DBTabPanel
|
|
22
|
-
><DBTabPanel>Tab Panel 3</DBTabPanel></DBTabs
|
|
23
|
-
>
|
|
24
|
-
<DBTabs behavior="arrows"
|
|
25
|
-
><DBTabList
|
|
26
|
-
><DBTabItem>Tab 1</DBTabItem><DBTabItem>Tab 2</DBTabItem
|
|
27
|
-
><DBTabItem>Tab 3</DBTabItem></DBTabList
|
|
28
|
-
><DBTabPanel>Tab Panel 1</DBTabPanel><DBTabPanel>Tab Panel 2</DBTabPanel
|
|
29
|
-
><DBTabPanel>Tab Panel 3</DBTabPanel></DBTabs
|
|
30
|
-
>
|
|
31
|
-
<h2>3. Initial Selected Index</h2>
|
|
32
|
-
<DBTabs :initialSelectedIndex="1"
|
|
33
|
-
><DBTabList
|
|
34
|
-
><DBTabItem>Tab 1</DBTabItem><DBTabItem>Tab 2</DBTabItem
|
|
35
|
-
><DBTabItem>Tab 3</DBTabItem></DBTabList
|
|
36
|
-
><DBTabPanel>Tab Panel 1</DBTabPanel><DBTabPanel>Tab Panel 2</DBTabPanel
|
|
37
|
-
><DBTabPanel>Tab Panel 3</DBTabPanel></DBTabs
|
|
38
|
-
>
|
|
39
|
-
<h2>4. Initial Selected Mode</h2>
|
|
40
|
-
<DBTabs initialSelectedMode="manually"
|
|
41
|
-
><DBTabList
|
|
42
|
-
><DBTabItem>Tab 1</DBTabItem><DBTabItem>Tab 2</DBTabItem
|
|
43
|
-
><DBTabItem>Tab 3</DBTabItem></DBTabList
|
|
44
|
-
><DBTabPanel>Tab Panel 1</DBTabPanel><DBTabPanel>Tab Panel 2</DBTabPanel
|
|
45
|
-
><DBTabPanel>Tab Panel 3</DBTabPanel></DBTabs
|
|
46
|
-
>
|
|
47
|
-
</template>
|
|
48
|
-
|
|
49
|
-
<script setup lang="ts">
|
|
50
|
-
import { DBTabItem } from "@db-ux/v-v-core-components";
|
|
51
|
-
import { DBTabList } from "@db-ux/v-v-core-components";
|
|
52
|
-
import { DBTabPanel } from "@db-ux/v-v-core-components";
|
|
53
|
-
import { DBTabs } from "@db-ux/v-v-core-components";
|
|
54
|
-
</script>
|
|
55
|
-
```
|
package/agent/Tag.md
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
# Tag Examples (vue)
|
|
4
|
-
|
|
5
|
-
```vue
|
|
6
|
-
<template>
|
|
7
|
-
<h1>DBTag Documentation Examples</h1>
|
|
8
|
-
<h2>1. Default Tags</h2>
|
|
9
|
-
<DBTag><DBButton>Tag as Button</DBButton></DBTag>
|
|
10
|
-
<DBTag><DBLink>Tag as Link</DBLink></DBTag>
|
|
11
|
-
<DBTag><DBCheckbox>Tag as Checkbox</DBCheckbox></DBTag>
|
|
12
|
-
<DBTag><DBRadio>Tag as Radio</DBRadio></DBTag>
|
|
13
|
-
<DBTag>Static Tag</DBTag>
|
|
14
|
-
<h2>2. Overflow Example</h2>
|
|
15
|
-
<DBTag :overflow="true"><span>Static Tag with overflow</span></DBTag>
|
|
16
|
-
<h2>3. Removable Tag</h2>
|
|
17
|
-
<DBTag behavior="removable" :onRemove="(event) => console.log('Tag removed')">
|
|
18
|
-
Removable Tag
|
|
19
|
-
</DBTag>
|
|
20
|
-
<h2>4. Semantic Variants</h2>
|
|
21
|
-
<DBTag semantic="adaptive">Adaptive Tag</DBTag>
|
|
22
|
-
<DBTag semantic="neutral">Neutral Tag</DBTag>
|
|
23
|
-
<DBTag semantic="critical">Critical Tag</DBTag>
|
|
24
|
-
<DBTag semantic="informational">Informational Tag</DBTag>
|
|
25
|
-
<DBTag semantic="warning">Warning Tag</DBTag>
|
|
26
|
-
<DBTag semantic="successful">Successful Tag</DBTag>
|
|
27
|
-
<h2>5. Icon Support</h2>
|
|
28
|
-
<DBTag icon="user">Tag with Icon</DBTag>
|
|
29
|
-
</template>
|
|
30
|
-
|
|
31
|
-
<script setup lang="ts">
|
|
32
|
-
import { DBButton } from "@db-ux/v-v-core-components";
|
|
33
|
-
import { DBCheckbox } from "@db-ux/v-v-core-components";
|
|
34
|
-
import { DBLink } from "@db-ux/v-v-core-components";
|
|
35
|
-
import { DBRadio } from "@db-ux/v-v-core-components";
|
|
36
|
-
import { DBTag } from "@db-ux/v-v-core-components";
|
|
37
|
-
</script>
|
|
38
|
-
```
|
package/agent/Textarea.md
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
# Textarea Examples (vue)
|
|
4
|
-
|
|
5
|
-
```vue
|
|
6
|
-
<template>
|
|
7
|
-
<h1>DBTextarea Documentation Examples</h1>
|
|
8
|
-
<h2>1. Default Textarea</h2>
|
|
9
|
-
<DBTextarea label="Default Textarea"></DBTextarea>
|
|
10
|
-
<h2>2. Resizable Variants</h2>
|
|
11
|
-
<DBTextarea resize="none" label="No Resize"></DBTextarea>
|
|
12
|
-
<DBTextarea resize="both" label="Resize Both"></DBTextarea>
|
|
13
|
-
<DBTextarea resize="horizontal" label="Resize Horizontal"></DBTextarea>
|
|
14
|
-
<DBTextarea resize="vertical" label="Resize Vertical"></DBTextarea>
|
|
15
|
-
<h2>3. Rows and Columns</h2>
|
|
16
|
-
<DBTextarea label="Custom Rows and Columns" :rows="5" :cols="30"></DBTextarea>
|
|
17
|
-
<h2>4. Wrap Variants</h2>
|
|
18
|
-
<DBTextarea wrap="hard" label="Hard Wrap"></DBTextarea>
|
|
19
|
-
<DBTextarea wrap="soft" label="Soft Wrap"></DBTextarea>
|
|
20
|
-
<DBTextarea wrap="off" label="No Wrap"></DBTextarea>
|
|
21
|
-
<h2>5. Disabled State</h2>
|
|
22
|
-
<DBTextarea label="Disabled Textarea" :disabled="true"></DBTextarea>
|
|
23
|
-
<h2>6. Placeholder Examples</h2>
|
|
24
|
-
<DBTextarea
|
|
25
|
-
placeholder="Enter text here"
|
|
26
|
-
label="With Placeholder"
|
|
27
|
-
></DBTextarea>
|
|
28
|
-
<h2>7. Message Property Example</h2>
|
|
29
|
-
<DBTextarea
|
|
30
|
-
label="Textarea with Message"
|
|
31
|
-
message="This is a helper message."
|
|
32
|
-
></DBTextarea>
|
|
33
|
-
<h2>8. Input Event Example</h2>
|
|
34
|
-
<DBTextarea
|
|
35
|
-
label="Input Event"
|
|
36
|
-
:onInput="(event) => console.log('Input event:', event.target.value)"
|
|
37
|
-
></DBTextarea>
|
|
38
|
-
</template>
|
|
39
|
-
|
|
40
|
-
<script setup lang="ts">
|
|
41
|
-
import { DBTextarea } from "@db-ux/v-v-core-components";
|
|
42
|
-
</script>
|
|
43
|
-
```
|
package/agent/Tooltip.md
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
# Tooltip Examples (vue)
|
|
4
|
-
|
|
5
|
-
```vue
|
|
6
|
-
<template>
|
|
7
|
-
<h1>DBTooltip Documentation Examples</h1>
|
|
8
|
-
<h2>1. Default Tooltip</h2>
|
|
9
|
-
<DBButton>
|
|
10
|
-
Hover on me to open Tooltip
|
|
11
|
-
<DBTooltip>Tooltip</DBTooltip></DBButton
|
|
12
|
-
>
|
|
13
|
-
<h2>2. Tooltip Variants</h2>
|
|
14
|
-
<DBButton>
|
|
15
|
-
Description Tooltip
|
|
16
|
-
<DBTooltip variant="description">
|
|
17
|
-
Description Tooltip Content
|
|
18
|
-
</DBTooltip></DBButton
|
|
19
|
-
>
|
|
20
|
-
<DBButton>
|
|
21
|
-
Label Tooltip
|
|
22
|
-
<DBTooltip variant="label">Label Tooltip Content</DBTooltip></DBButton
|
|
23
|
-
>
|
|
24
|
-
<h2>3. Tooltip with Arrow</h2>
|
|
25
|
-
<DBButton>
|
|
26
|
-
Tooltip with Arrow
|
|
27
|
-
<DBTooltip :showArrow="true">
|
|
28
|
-
Tooltip Content with Arrow
|
|
29
|
-
</DBTooltip></DBButton
|
|
30
|
-
>
|
|
31
|
-
<h2>4. Placement Variants</h2>
|
|
32
|
-
<DBButton>
|
|
33
|
-
Top Placement
|
|
34
|
-
<DBTooltip placement="top">Tooltip Content at Top</DBTooltip></DBButton
|
|
35
|
-
>
|
|
36
|
-
<DBButton>
|
|
37
|
-
Bottom Placement
|
|
38
|
-
<DBTooltip placement="bottom">
|
|
39
|
-
Tooltip Content at Bottom
|
|
40
|
-
</DBTooltip></DBButton
|
|
41
|
-
>
|
|
42
|
-
</template>
|
|
43
|
-
|
|
44
|
-
<script setup lang="ts">
|
|
45
|
-
import { DBButton } from "@db-ux/v-v-core-components";
|
|
46
|
-
import { DBTooltip } from "@db-ux/v-v-core-components";
|
|
47
|
-
</script>
|
|
48
|
-
```
|
package/agent/_instructions.md
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
- Use "@db-ux/v-core-components" as import for components:
|
|
2
|
-
- use for `DBDrawer` or `Drawer` the file __agent-path__/Drawer.md
|
|
3
|
-
- use for `DBTooltip` or `Tooltip` the file __agent-path__/Tooltip.md
|
|
4
|
-
- use for `DBTextarea` or `Textarea` the file __agent-path__/Textarea.md
|
|
5
|
-
- use for `DBTag` or `Tag` the file __agent-path__/Tag.md
|
|
6
|
-
- use for `DBTabs` or `Tabs` the file __agent-path__/Tabs.md
|
|
7
|
-
- use for `DBTabItem` or `TabItem` the file __agent-path__/TabItem.md
|
|
8
|
-
- use for `DBSwitch` or `Switch` the file __agent-path__/Switch.md
|
|
9
|
-
- use for `DBStack` or `Stack` the file __agent-path__/Stack.md
|
|
10
|
-
- use for `DBSelect` or `Select` the file __agent-path__/Select.md
|
|
11
|
-
- use for `DBSection` or `Section` the file __agent-path__/Section.md
|
|
12
|
-
- use for `DBRadio` or `Radio` the file __agent-path__/Radio.md
|
|
13
|
-
- use for `DBPopover` or `Popover` the file __agent-path__/Popover.md
|
|
14
|
-
- use for `DBPage` or `Page` the file __agent-path__/Page.md
|
|
15
|
-
- use for `DBNotification` or `Notification` the file __agent-path__/Notification.md
|
|
16
|
-
- use for `DBNavigationItem` or `NavigationItem` the file __agent-path__/NavigationItem.md
|
|
17
|
-
- use for `DBNavigation` or `Navigation` the file __agent-path__/Navigation.md
|
|
18
|
-
- use for `DBLink` or `Link` the file __agent-path__/Link.md
|
|
19
|
-
- use for `DBInput` or `Input` the file __agent-path__/Input.md
|
|
20
|
-
- use for `DBInfotext` or `Infotext` the file __agent-path__/Infotext.md
|
|
21
|
-
- use for `DBIcon` or `Icon` the file __agent-path__/Icon.md
|
|
22
|
-
- use for `DBHeader` or `Header` the file __agent-path__/Header.md
|
|
23
|
-
- use for `DBDivider` or `Divider` the file __agent-path__/Divider.md
|
|
24
|
-
- use for `DBCustomSelect` or `CustomSelect` the file __agent-path__/CustomSelect.md
|
|
25
|
-
- use for `DBCheckbox` or `Checkbox` the file __agent-path__/Checkbox.md
|
|
26
|
-
- use for `DBCard` or `Card` the file __agent-path__/Card.md
|
|
27
|
-
- use for `DBButton` or `Button` the file __agent-path__/Button.md
|
|
28
|
-
- use for `DBBrand` or `Brand` the file __agent-path__/Brand.md
|
|
29
|
-
- use for `DBBadge` or `Badge` the file __agent-path__/Badge.md
|
|
30
|
-
- use for `DBAccordionItem` or `AccordionItem` the file __agent-path__/AccordionItem.md
|
|
31
|
-
- use for `DBAccordion` or `Accordion` the file __agent-path__/Accordion.md
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as DBBrand } from './brand.vue';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { GlobalProps, GlobalState, IconProps, ShowIconProps, TextProps } from '../../shared/model';
|
|
2
|
-
export type DBBrandDefaultProps = {
|
|
3
|
-
/**
|
|
4
|
-
* @deprecated: Disable the default logo svg to pass in a custom `img`
|
|
5
|
-
*/
|
|
6
|
-
hideLogo?: boolean;
|
|
7
|
-
};
|
|
8
|
-
export type DBBrandProps = DBBrandDefaultProps & GlobalProps & IconProps & ShowIconProps & TextProps;
|
|
9
|
-
export type DBBrandDefaultState = {};
|
|
10
|
-
export type DBBrandState = DBBrandDefaultState & GlobalState;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { DBHeaderProps } from "./model";
|
|
2
|
-
declare var __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_15: {}, __VLS_17: {}, __VLS_23: {};
|
|
3
|
-
type __VLS_Slots = {} & {
|
|
4
|
-
default?: (props: typeof __VLS_5) => any;
|
|
5
|
-
} & {
|
|
6
|
-
'meta-navigation'?: (props: typeof __VLS_7) => any;
|
|
7
|
-
} & {
|
|
8
|
-
'secondary-action'?: (props: typeof __VLS_9) => any;
|
|
9
|
-
} & {
|
|
10
|
-
'meta-navigation'?: (props: typeof __VLS_11) => any;
|
|
11
|
-
} & {
|
|
12
|
-
brand?: (props: typeof __VLS_13) => any;
|
|
13
|
-
} & {
|
|
14
|
-
default?: (props: typeof __VLS_15) => any;
|
|
15
|
-
} & {
|
|
16
|
-
'primary-action'?: (props: typeof __VLS_17) => any;
|
|
17
|
-
} & {
|
|
18
|
-
'secondary-action'?: (props: typeof __VLS_23) => any;
|
|
19
|
-
};
|
|
20
|
-
declare const __VLS_component: import("vue").DefineComponent<DBHeaderProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBHeaderProps> & Readonly<{}>, {
|
|
21
|
-
children: any;
|
|
22
|
-
className: string;
|
|
23
|
-
id: string;
|
|
24
|
-
onToggle: (open: boolean) => void;
|
|
25
|
-
width: import("../..").MaxWidthType;
|
|
26
|
-
drawerOpen: boolean | string;
|
|
27
|
-
forceMobile: boolean | string;
|
|
28
|
-
burgerMenuLabel: string;
|
|
29
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
30
|
-
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
31
|
-
export default _default;
|
|
32
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
33
|
-
new (): {
|
|
34
|
-
$slots: S;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as DBHeader } from './header.vue';
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { ContainerWidthProps, GlobalProps, GlobalState, InitializedState, NavigationBehaviorState, ToggleEventProps, ToggleEventState } from '../../shared/model';
|
|
2
|
-
export type DBHeaderDefaultProps = {
|
|
3
|
-
/**
|
|
4
|
-
* Slot to pass in the DBBrand component
|
|
5
|
-
*/
|
|
6
|
-
brand?: any;
|
|
7
|
-
/**
|
|
8
|
-
* Slot to pass in a meta navigation.
|
|
9
|
-
* - Desktop: Above the regular header
|
|
10
|
-
* - Mobile: Inside the drawer
|
|
11
|
-
*/
|
|
12
|
-
metaNavigation?: any;
|
|
13
|
-
/**
|
|
14
|
-
* Slot to pass one or more elements like DBButton (e.g. search) as primary action.
|
|
15
|
-
* - Desktop: Shown next to the main-navigation
|
|
16
|
-
* - Mobile: Shown next to the brand
|
|
17
|
-
*/
|
|
18
|
-
primaryAction?: any;
|
|
19
|
-
/**
|
|
20
|
-
* Slot to pass one or more elements like DBButton (e.g. profile, language, etc.) as secondary action.
|
|
21
|
-
* - Desktop: Shown separated by divider at the end of the header
|
|
22
|
-
* - Mobile: Shown inside the drawer at the bottom.
|
|
23
|
-
*/
|
|
24
|
-
secondaryAction?: any;
|
|
25
|
-
/**
|
|
26
|
-
* Open/closes the drawer for mobile header or if `forceMobile` is true.
|
|
27
|
-
*/
|
|
28
|
-
drawerOpen?: boolean | string;
|
|
29
|
-
/**
|
|
30
|
-
* Forces the header to use mobile layout for desktop as well.
|
|
31
|
-
* You should only use this setting if you really can't provide a smaller navigation.
|
|
32
|
-
* Overwrite size of the drawer with '--db-drawer-max-width: xxx'
|
|
33
|
-
*/
|
|
34
|
-
forceMobile?: boolean | string;
|
|
35
|
-
/**
|
|
36
|
-
* This attribute sets the label for the burger menu button for mobile headers.
|
|
37
|
-
*/
|
|
38
|
-
burgerMenuLabel?: string;
|
|
39
|
-
};
|
|
40
|
-
export type DBHeaderProps = DBHeaderDefaultProps & GlobalProps & ToggleEventProps & ContainerWidthProps;
|
|
41
|
-
export type DBHeaderDefaultState = {
|
|
42
|
-
forcedToMobile?: boolean;
|
|
43
|
-
};
|
|
44
|
-
export type DBHeaderState = DBHeaderDefaultState & GlobalState & ToggleEventState<HTMLElement> & InitializedState & NavigationBehaviorState;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as DBPage } from './page.vue';
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { GlobalProps, GlobalState } from '../../shared/model';
|
|
2
|
-
export declare const PageVariantList: readonly ["auto", "fixed"];
|
|
3
|
-
export type PageVariantType = (typeof PageVariantList)[number];
|
|
4
|
-
export declare const PageDocumentOverflowList: readonly ["hidden", "auto"];
|
|
5
|
-
export type PageDocumentOverflowType = (typeof PageDocumentOverflowList)[number];
|
|
6
|
-
export type DBPageDefaultProps = {
|
|
7
|
-
/**
|
|
8
|
-
* The documentOverflow sets the overflow:hidden/auto to the root document
|
|
9
|
-
*/
|
|
10
|
-
documentOverflow?: PageDocumentOverflowType;
|
|
11
|
-
/**
|
|
12
|
-
* Set this to have a transition with opacity to avoid layout-shifts https://simonhearne.com/2021/layout-shifts-webfonts/
|
|
13
|
-
*/
|
|
14
|
-
fadeIn?: boolean | string;
|
|
15
|
-
/**
|
|
16
|
-
* The slot can be used for React to set a footer.
|
|
17
|
-
*/
|
|
18
|
-
footer?: any;
|
|
19
|
-
/**
|
|
20
|
-
* The slot can be used for React to set a header.
|
|
21
|
-
*/
|
|
22
|
-
header?: any;
|
|
23
|
-
/**
|
|
24
|
-
* Adds `class` to `<main>` element
|
|
25
|
-
*/
|
|
26
|
-
mainClass?: string;
|
|
27
|
-
/**
|
|
28
|
-
* The variant=fixed uses flex-box to make header and footer static
|
|
29
|
-
*/
|
|
30
|
-
variant?: PageVariantType;
|
|
31
|
-
};
|
|
32
|
-
export type DBPageProps = DBPageDefaultProps & GlobalProps;
|
|
33
|
-
export type DBPageDefaultState = {
|
|
34
|
-
fontsLoaded?: boolean;
|
|
35
|
-
};
|
|
36
|
-
export type DBPageState = DBPageDefaultState & GlobalState;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { DBPageProps } from "./model";
|
|
2
|
-
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {};
|
|
3
|
-
type __VLS_Slots = {} & {
|
|
4
|
-
header?: (props: typeof __VLS_1) => any;
|
|
5
|
-
} & {
|
|
6
|
-
default?: (props: typeof __VLS_3) => any;
|
|
7
|
-
} & {
|
|
8
|
-
footer?: (props: typeof __VLS_5) => any;
|
|
9
|
-
};
|
|
10
|
-
declare const __VLS_component: import("vue").DefineComponent<DBPageProps, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<DBPageProps> & Readonly<{}>, {
|
|
11
|
-
children: any;
|
|
12
|
-
className: string;
|
|
13
|
-
id: string;
|
|
14
|
-
variant: import("./model").PageVariantType;
|
|
15
|
-
documentOverflow: import("./model").PageDocumentOverflowType;
|
|
16
|
-
fadeIn: boolean | string;
|
|
17
|
-
mainClass: string;
|
|
18
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
-
declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
20
|
-
export default _default;
|
|
21
|
-
type __VLS_WithSlots<T, S> = T & {
|
|
22
|
-
new (): {
|
|
23
|
-
$slots: S;
|
|
24
|
-
};
|
|
25
|
-
};
|