@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.
Files changed (90) hide show
  1. package/README.md +0 -11
  2. package/dist/components/button/button.vue.d.ts +2 -2
  3. package/dist/components/{brand/brand.vue.d.ts → control-panel-brand/control-panel-brand.vue.d.ts} +5 -4
  4. package/dist/components/control-panel-brand/index.d.ts +1 -0
  5. package/dist/components/control-panel-brand/model.d.ts +5 -0
  6. package/dist/components/control-panel-desktop/control-panel-desktop.vue.d.ts +30 -0
  7. package/dist/components/control-panel-desktop/index.d.ts +1 -0
  8. package/dist/components/control-panel-desktop/model.d.ts +7 -0
  9. package/dist/components/control-panel-flat-icon-navigation/control-panel-flat-icon-navigation.vue.d.ts +18 -0
  10. package/dist/components/control-panel-flat-icon-navigation/index.d.ts +1 -0
  11. package/dist/components/control-panel-flat-icon-navigation/model.d.ts +7 -0
  12. package/dist/components/control-panel-meta-navigation/control-panel-meta-navigation.vue.d.ts +16 -0
  13. package/dist/components/control-panel-meta-navigation/index.d.ts +1 -0
  14. package/dist/components/control-panel-meta-navigation/model.d.ts +5 -0
  15. package/dist/components/control-panel-mobile/control-panel-mobile.vue.d.ts +33 -0
  16. package/dist/components/control-panel-mobile/index.d.ts +1 -0
  17. package/dist/components/control-panel-mobile/model.d.ts +30 -0
  18. package/dist/components/control-panel-primary-actions/control-panel-primary-actions.vue.d.ts +16 -0
  19. package/dist/components/control-panel-primary-actions/index.d.ts +1 -0
  20. package/dist/components/control-panel-primary-actions/model.d.ts +5 -0
  21. package/dist/components/control-panel-secondary-actions/control-panel-secondary-actions.vue.d.ts +16 -0
  22. package/dist/components/control-panel-secondary-actions/index.d.ts +1 -0
  23. package/dist/components/control-panel-secondary-actions/model.d.ts +5 -0
  24. package/dist/components/custom-select/model.d.ts +4 -1
  25. package/dist/components/drawer/drawer.vue.d.ts +1 -0
  26. package/dist/components/drawer/model.d.ts +5 -1
  27. package/dist/components/navigation/model.d.ts +14 -5
  28. package/dist/components/navigation/navigation.vue.d.ts +7 -3
  29. package/dist/components/navigation-item/model.d.ts +9 -24
  30. package/dist/components/navigation-item/navigation-item.vue.d.ts +3 -12
  31. package/dist/components/navigation-item-group/index.d.ts +1 -0
  32. package/dist/components/navigation-item-group/model.d.ts +26 -0
  33. package/dist/components/navigation-item-group/navigation-item-group.vue.d.ts +29 -0
  34. package/dist/components/shell/index.d.ts +1 -0
  35. package/dist/components/shell/model.d.ts +50 -0
  36. package/dist/components/shell/shell.vue.d.ts +30 -0
  37. package/dist/components/shell-sub-navigation/index.d.ts +1 -0
  38. package/dist/components/shell-sub-navigation/model.d.ts +5 -0
  39. package/dist/components/shell-sub-navigation/shell-sub-navigation.vue.d.ts +20 -0
  40. package/dist/components/tab-item/tab-item.vue.d.ts +1 -1
  41. package/dist/components/tabs/model.d.ts +3 -11
  42. package/dist/components/tabs/tabs.vue.d.ts +2 -2
  43. package/dist/components/tag/tag.vue.d.ts +1 -1
  44. package/dist/db-ux.es.js +2427 -1996
  45. package/dist/db-ux.umd.js +1 -1
  46. package/dist/index.d.ts +19 -6
  47. package/dist/shared/constants.d.ts +3 -0
  48. package/dist/shared/model.d.ts +82 -3
  49. package/dist/utils/floating-components.d.ts +17 -1
  50. package/dist/utils/navigation.d.ts +2 -6
  51. package/package.json +6 -8
  52. package/agent/Accordion.md +0 -42
  53. package/agent/AccordionItem.md +0 -31
  54. package/agent/Badge.md +0 -38
  55. package/agent/Brand.md +0 -19
  56. package/agent/Button.md +0 -47
  57. package/agent/Card.md +0 -29
  58. package/agent/Checkbox.md +0 -39
  59. package/agent/CustomSelect.md +0 -79
  60. package/agent/Divider.md +0 -27
  61. package/agent/Drawer.md +0 -91
  62. package/agent/Header.md +0 -35
  63. package/agent/Icon.md +0 -26
  64. package/agent/Infotext.md +0 -29
  65. package/agent/Input.md +0 -48
  66. package/agent/Link.md +0 -42
  67. package/agent/Navigation.md +0 -23
  68. package/agent/NavigationItem.md +0 -29
  69. package/agent/Notification.md +0 -40
  70. package/agent/Page.md +0 -33
  71. package/agent/Popover.md +0 -50
  72. package/agent/Radio.md +0 -29
  73. package/agent/Section.md +0 -27
  74. package/agent/Select.md +0 -70
  75. package/agent/Stack.md +0 -41
  76. package/agent/Switch.md +0 -36
  77. package/agent/TabItem.md +0 -29
  78. package/agent/Tabs.md +0 -55
  79. package/agent/Tag.md +0 -38
  80. package/agent/Textarea.md +0 -43
  81. package/agent/Tooltip.md +0 -48
  82. package/agent/_instructions.md +0 -31
  83. package/dist/components/brand/index.d.ts +0 -1
  84. package/dist/components/brand/model.d.ts +0 -10
  85. package/dist/components/header/header.vue.d.ts +0 -36
  86. package/dist/components/header/index.d.ts +0 -1
  87. package/dist/components/header/model.d.ts +0 -44
  88. package/dist/components/page/index.d.ts +0 -1
  89. package/dist/components/page/model.d.ts +0 -36
  90. package/dist/components/page/page.vue.d.ts +0 -25
package/agent/Drawer.md DELETED
@@ -1,91 +0,0 @@
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
-
10
-
11
- # Drawer Examples (vue)
12
-
13
- ```vue
14
- <template>
15
- <h1>DBDrawer Documentation Examples</h1>
16
- <h2>1. Default Drawer</h2>
17
- <div>
18
- <DBButton
19
- :onClick="
20
- (event) => {
21
- open = true;
22
- }
23
- "
24
- >
25
- Open Me </DBButton
26
- ><DBDrawer
27
- :open="open"
28
- :onClose="
29
- (event) => {
30
- open = false;
31
- }
32
- "
33
- :drawerHeader="<header>Optional drawer header</header>"
34
- >
35
- My Drawer content
36
- </DBDrawer>
37
- </div>
38
- <h2>2. Drawer Variants</h2>
39
- <div>
40
- <DBButton
41
- :onClick="
42
- (event) => {
43
- open = true;
44
- }
45
- "
46
- >
47
- Open Modal Drawer </DBButton
48
- ><DBDrawer
49
- variant="modal"
50
- :open="open"
51
- :onClose="
52
- (event) => {
53
- open = false;
54
- }
55
- "
56
- >
57
- Modal Drawer content
58
- </DBDrawer>
59
- </div>
60
- <div>
61
- <DBButton
62
- :onClick="
63
- (event) => {
64
- open = true;
65
- }
66
- "
67
- >
68
- Open Inside Drawer </DBButton
69
- ><DBDrawer
70
- variant="inside"
71
- :open="open"
72
- :onClose="
73
- (event) => {
74
- open = false;
75
- }
76
- "
77
- >
78
- Inside Drawer content
79
- </DBDrawer>
80
- </div>
81
- </template>
82
-
83
- <script setup lang="ts">
84
- import { ref } from "vue";
85
-
86
- import { DBButton } from "@db-ux/v-v-core-components";
87
- import { DBDrawer } from "@db-ux/v-v-core-components";
88
-
89
- const open = ref<boolean>(false);
90
- </script>
91
- ```
package/agent/Header.md DELETED
@@ -1,35 +0,0 @@
1
-
2
-
3
- # Header Examples (vue)
4
-
5
- ```vue
6
- <template>
7
- <h1>DBHeader Documentation Examples</h1>
8
- <h2>1. Default Header</h2>
9
- <DBHeader :drawerOpen="drawerOpen" :onToggle="(open) => (drawerOpen = open)">
10
- <template v-slot:brand><DBBrand>My Awesome App</DBBrand></template>
11
- <template v-slot:metaNavigation><DBLink href="#">Imprint</DBLink><DBLink href="#">Help</DBLink></template>
12
- <template v-slot:primaryAction><DBButton icon="magnifying_glass" variant="ghost" noText>Search</DBButton></template>
13
- <template v-slot:secondaryAction><DBButton icon="x_placeholder" variant="ghost" noText>Profile</DBButton><DBButton icon="alert" variant="ghost" noText>Notification</DBButton><DBButton icon="help" variant="ghost" noText>Help</DBButton></template>
14
-
15
- <DBNavigation
16
- ><DBNavigationItem><a href="#">Navi-Item 1</a></DBNavigationItem
17
- ><DBNavigationItem icon="x_placeholder"
18
- ><a href="#">Navi-Item 2</a></DBNavigationItem
19
- ><DBNavigationItem :disabled="true"
20
- ><a href="#">Navi-Item 3</a></DBNavigationItem
21
- ></DBNavigation
22
- ></DBHeader
23
- >
24
- </template>
25
-
26
- <script setup lang="ts">
27
- import { ref } from "vue";
28
-
29
- import { DBNavigation } from "@db-ux/v-v-core-components";
30
- import { DBNavigationItem } from "@db-ux/v-v-core-components";
31
- import { DBHeader } from "@db-ux/v-v-core-components";
32
-
33
- const drawerOpen = ref<boolean>(false);
34
- </script>
35
- ```
package/agent/Icon.md DELETED
@@ -1,26 +0,0 @@
1
-
2
-
3
- # Icon Examples (vue)
4
-
5
- ```vue
6
- <template>
7
- <h1>DBIcon Documentation Examples</h1>
8
- <h2>1. Default Icon</h2>
9
- <DBIcon>Default Icon</DBIcon>
10
- <h2>2. Icon Variants</h2>
11
- <DBIcon icon="user">User Icon</DBIcon>
12
- <DBIcon icon="settings">Settings Icon</DBIcon>
13
- <h2>3. Icon Weights</h2>
14
- <DBIcon weight="16">16px Icon</DBIcon>
15
- <DBIcon weight="24">24px Icon</DBIcon>
16
- <DBIcon weight="32">32px Icon</DBIcon>
17
- <h2>4. Custom Class</h2>
18
- <DBIcon>Custom Class Icon</DBIcon>
19
- <h2>5. Text Content</h2>
20
- <DBIcon text="Icon with Text">Icon with Text</DBIcon>
21
- </template>
22
-
23
- <script setup lang="ts">
24
- import { DBIcon } from "@db-ux/v-v-core-components";
25
- </script>
26
- ```
package/agent/Infotext.md DELETED
@@ -1,29 +0,0 @@
1
-
2
-
3
- # Infotext Examples (vue)
4
-
5
- ```vue
6
- <template>
7
- <h1>DBInfotext Documentation Examples</h1>
8
- <h2>1. Default Infotext</h2>
9
- <DBInfotext>Default Infotext</DBInfotext>
10
- <h2>2. Semantic Variants</h2>
11
- <DBInfotext semantic="adaptive">Adaptive</DBInfotext>
12
- <DBInfotext semantic="neutral">Neutral</DBInfotext>
13
- <DBInfotext semantic="critical">Critical</DBInfotext>
14
- <DBInfotext semantic="informational">Informational</DBInfotext>
15
- <DBInfotext semantic="warning">Warning</DBInfotext>
16
- <DBInfotext semantic="successful">Successful</DBInfotext>
17
- <h2>3. Sizes</h2>
18
- <DBInfotext size="small">Small</DBInfotext>
19
- <DBInfotext size="medium">Medium</DBInfotext>
20
- <h2>4. Icon Visibility</h2>
21
- <DBInfotext icon="info" :showIcon="false"> Icon Hidden </DBInfotext>
22
- <h2>5. Custom Class</h2>
23
- <DBInfotext>Custom Class</DBInfotext>
24
- </template>
25
-
26
- <script setup lang="ts">
27
- import { DBInfotext } from "@db-ux/v-v-core-components";
28
- </script>
29
- ```
package/agent/Input.md DELETED
@@ -1,48 +0,0 @@
1
-
2
-
3
- # Input Examples (vue)
4
-
5
- ```vue
6
- <template>
7
- <h1>DBInput Documentation Examples</h1>
8
- <h2>1. Default Input</h2>
9
- <DBInput label="Enter text here"></DBInput>
10
- <h2>2. Input Types</h2>
11
- <DBInput type="text" label="Text Input"></DBInput>
12
- <DBInput type="email" label="Email Input"></DBInput>
13
- <DBInput type="password" label="Password Input"></DBInput>
14
- <DBInput type="number" label="Number Input"></DBInput>
15
- <h2>3. Sizes</h2>
16
- <DBInput size="small" label="Small Input"></DBInput>
17
- <DBInput size="medium" label="Medium Input"></DBInput>
18
- <h2>4. Icon Support</h2>
19
- <DBInput icon="search" label="Search Input"></DBInput>
20
- <DBInput iconLeading="user" label="Leading Icon"></DBInput>
21
- <DBInput iconTrailing="check" label="Trailing Icon"></DBInput>
22
- <h2>5. Validation States</h2>
23
- <DBInput validation="valid" label="Valid Input"></DBInput>
24
- <DBInput validation="invalid" label="Invalid Input"></DBInput>
25
- <DBInput validation="no-validation" label="No Validation"></DBInput>
26
- <h2>6. Disabled State</h2>
27
- <DBInput label="Disabled Input" :disabled="true"></DBInput>
28
- <h2>7. Custom Class</h2>
29
- <DBInput label="Custom Class"></DBInput>
30
- <h2>8. Placeholder Examples</h2>
31
- <DBInput placeholder="Enter text here" label="With Placeholder"></DBInput>
32
- <DBInput placeholder="Search here" label="Search Placeholder"></DBInput>
33
- <h2>9. Input Event Example</h2>
34
- <DBInput
35
- label="Input Event"
36
- :onInput="(event) => console.log('Input event:', event.target.value)"
37
- ></DBInput>
38
- <h2>10. Message Property Example</h2>
39
- <DBInput
40
- label="Input with Message"
41
- message="This is a helper message."
42
- ></DBInput>
43
- </template>
44
-
45
- <script setup lang="ts">
46
- import { DBInput } from "@db-ux/v-v-core-components";
47
- </script>
48
- ```
package/agent/Link.md DELETED
@@ -1,42 +0,0 @@
1
-
2
-
3
- # Link Examples (vue)
4
-
5
- ```vue
6
- <template>
7
- <h1>DBLink Documentation Examples</h1>
8
- <h2>1. Default Link</h2>
9
- <DBLink href="https://example.com">Default Link</DBLink>
10
- <h2>2. Disabled Link</h2>
11
- <DBLink href="https://example.com" :disabled="true"> Disabled Link </DBLink>
12
- <h2>3. Target Variants</h2>
13
- <DBLink href="https://example.com" target="_self"> Self Target </DBLink>
14
- <DBLink href="https://example.com" target="_blank"> Blank Target </DBLink>
15
- <h2>4. Custom Class</h2>
16
- <DBLink href="https://example.com"> Custom Class </DBLink>
17
- <h2>5. Rel Attribute</h2>
18
- <DBLink href="https://example.com" rel="noopener noreferrer">
19
- No Referrer
20
- </DBLink>
21
- <h2>6. Link Variants</h2>
22
- <DBLink href="https://example.com" variant="adaptive">
23
- Adaptive Variant
24
- </DBLink>
25
- <DBLink href="https://example.com" variant="brand"> Brand Variant </DBLink>
26
- <DBLink href="https://example.com" variant="inline"> Inline Variant </DBLink>
27
- <h2>7. Link Sizes</h2>
28
- <DBLink href="https://example.com" size="medium"> Medium Size </DBLink>
29
- <DBLink href="https://example.com" size="small"> Small Size </DBLink>
30
- <h2>8. Link Content</h2>
31
- <DBLink href="https://example.com" content="external">
32
- External Content
33
- </DBLink>
34
- <DBLink href="https://example.com" content="internal">
35
- Internal Content
36
- </DBLink>
37
- </template>
38
-
39
- <script setup lang="ts">
40
- import { DBLink } from "@db-ux/v-v-core-components";
41
- </script>
42
- ```
@@ -1,23 +0,0 @@
1
-
2
-
3
- # Navigation Examples (vue)
4
-
5
- ```vue
6
- <template>
7
- <h1>DBNavigation Documentation Examples</h1>
8
- <h2>1. Default Navigation</h2>
9
- <DBNavigation
10
- ><DBNavigationItem><a href="#">Navi-Item 1</a></DBNavigationItem
11
- ><DBNavigationItem icon="x_placeholder"
12
- ><a href="#">Navi-Item 2</a></DBNavigationItem
13
- ><DBNavigationItem :disabled="true"
14
- ><a href="#">Navi-Item 3</a></DBNavigationItem
15
- ></DBNavigation
16
- >
17
- </template>
18
-
19
- <script setup lang="ts">
20
- import { DBNavigationItem } from "@db-ux/v-v-core-components";
21
- import { DBNavigation } from "@db-ux/v-v-core-components";
22
- </script>
23
- ```
@@ -1,29 +0,0 @@
1
-
2
-
3
- # NavigationItem Examples (vue)
4
-
5
- ```vue
6
- <template>
7
- <h1>DBNavigationItem Documentation Examples</h1>
8
- <h2>1. Default Navigation Item</h2>
9
- <DBNavigationItem>Default Navigation Item</DBNavigationItem>
10
- <h2>2. Active State</h2>
11
- <DBNavigationItem :active="true">Active Navigation Item</DBNavigationItem>
12
- <h2>3. Disabled State</h2>
13
- <DBNavigationItem :disabled="true">
14
- Disabled Navigation Item
15
- </DBNavigationItem>
16
- <h2>4. Sub-Navigation</h2>
17
- <DBNavigationItem :subNavigation="<div>Sub Navigation Content</div>">
18
- Navigation Item with Sub-Navigation
19
- </DBNavigationItem>
20
- <h2>5. Icon Support</h2>
21
- <DBNavigationItem icon="user"> Navigation Item with Icon </DBNavigationItem>
22
- <h2>6. Custom Class</h2>
23
- <DBNavigationItem> Navigation Item with Custom Class </DBNavigationItem>
24
- </template>
25
-
26
- <script setup lang="ts">
27
- import { DBNavigationItem } from "@db-ux/v-v-core-components";
28
- </script>
29
- ```
@@ -1,40 +0,0 @@
1
-
2
-
3
- # Notification Examples (vue)
4
-
5
- ```vue
6
- <template>
7
- <h1>DBNotification Documentation Examples</h1>
8
- <h2>1. Default Notification</h2>
9
- <DBNotification>Default Notification</DBNotification>
10
- <h2>2. Semantic Variants</h2>
11
- <DBNotification semantic="adaptive">Adaptive</DBNotification>
12
- <DBNotification semantic="neutral">Neutral</DBNotification>
13
- <DBNotification semantic="critical">Critical</DBNotification>
14
- <DBNotification semantic="informational"> Informational </DBNotification>
15
- <DBNotification semantic="warning">Warning</DBNotification>
16
- <DBNotification semantic="successful">Successful</DBNotification>
17
- <h2>3. Variants</h2>
18
- <DBNotification variant="docked">Docked</DBNotification>
19
- <DBNotification variant="standalone">Standalone</DBNotification>
20
- <DBNotification variant="overlay">Overlay</DBNotification>
21
- <h2>4. Closeable</h2>
22
- <DBNotification :closeable="true">Closeable Notification</DBNotification>
23
- <h2>5. Headline</h2>
24
- <DBNotification headline="Important Update">
25
- Notification with Headline
26
- </DBNotification>
27
- <h2>6. Timestamp</h2>
28
- <DBNotification timestamp="10:30 AM">
29
- Notification with Timestamp
30
- </DBNotification>
31
- <h2>7. Icon Support</h2>
32
- <DBNotification icon="info">Notification with Icon</DBNotification>
33
- <h2>8. Custom Class</h2>
34
- <DBNotification> Custom Class </DBNotification>
35
- </template>
36
-
37
- <script setup lang="ts">
38
- import { DBNotification } from "@db-ux/v-v-core-components";
39
- </script>
40
- ```
package/agent/Page.md DELETED
@@ -1,33 +0,0 @@
1
-
2
-
3
- # Page Examples (vue)
4
-
5
- ```vue
6
- <template>
7
- <h1>DBPage Documentation Examples</h1>
8
- <h2>1. Default Page</h2>
9
- <DBPage><template v-slot:header><DBHeader>Header Content</DBHeader></template>
10
- Main Page</DBPage>
11
- <h2>2. Document Overflow Variants</h2>
12
- <DBPage documentOverflow="hidden">
13
- <template v-slot:header><DBHeader>Header Content</DBHeader></template>
14
- Main Page with Hidden Overflow
15
- </DBPage>
16
- <DBPage documentOverflow="auto">
17
- <template v-slot:header><DBHeader>Header Content</DBHeader></template>
18
- Main Page with Auto Overflow
19
- </DBPage>
20
- <h2>3. Fade-In Effect</h2>
21
- <DBPage :fadeIn="true"><template v-slot:header><DBHeader>Header Content</DBHeader></template>
22
- Main Page with Fade-In</DBPage>
23
- <h2>4. Variant Examples</h2>
24
- <DBPage variant="auto"><template v-slot:header><DBHeader>Header Content</DBHeader></template>
25
- Page with Auto Variant</DBPage>
26
- <DBPage variant="fixed"><template v-slot:header><DBHeader>Header Content</DBHeader></template>
27
- Page with Fixed Variant</DBPage>
28
- </template>
29
-
30
- <script setup lang="ts">
31
- import { DBPage } from "@db-ux/v-v-core-components";
32
- </script>
33
- ```
package/agent/Popover.md DELETED
@@ -1,50 +0,0 @@
1
-
2
-
3
- # Popover Examples (vue)
4
-
5
- ```vue
6
- <template>
7
- <h1>DBPopover Documentation Examples</h1>
8
- <h2>1. Default Popover</h2>
9
- <DBPopover :trigger="<DBButton>Hover on me to open Popover</DBButton>">
10
- Use any HTML code here like e.g. a <code>button</code>:
11
- <button type="button">Test</button></DBPopover
12
- >
13
- <h2>2. Placement Variants</h2>
14
- <DBPopover placement="top" :trigger="<DBButton>Top Placement</DBButton>">
15
- Popover with top placement
16
- </DBPopover>
17
- <DBPopover
18
- placement="bottom"
19
- :trigger="<DBButton>Bottom Placement</DBButton>"
20
- >
21
- Popover with bottom placement
22
- </DBPopover>
23
- <h2>3. Delay Variants</h2>
24
- <DBPopover delay="fast" :trigger="<DBButton>Fast Delay</DBButton>">
25
- Popover with fast delay
26
- </DBPopover>
27
- <DBPopover delay="slow" :trigger="<DBButton>Slow Delay</DBButton>">
28
- Popover with slow delay
29
- </DBPopover>
30
- <h2>4. Animation</h2>
31
- <DBPopover :trigger="<DBButton>With Animation</DBButton>" :animation="true">
32
- Popover with animation
33
- </DBPopover>
34
- <DBPopover :trigger="<DBButton>No Animation</DBButton>" :animation="false">
35
- Popover without animation
36
- </DBPopover>
37
- <h2>5. Width Variants</h2>
38
- <DBPopover width="auto" :trigger="<DBButton>Auto Width</DBButton>">
39
- Popover with auto width
40
- </DBPopover>
41
- <DBPopover width="fixed" :trigger="<DBButton>Fixed Width</DBButton>">
42
- Popover with fixed width
43
- </DBPopover>
44
- </template>
45
-
46
- <script setup lang="ts">
47
- import { DBButton } from "@db-ux/v-v-core-components";
48
- import { DBPopover } from "@db-ux/v-v-core-components";
49
- </script>
50
- ```
package/agent/Radio.md DELETED
@@ -1,29 +0,0 @@
1
-
2
-
3
- # Radio Examples (vue)
4
-
5
- ```vue
6
- <template>
7
- <h1>DBRadio Documentation Examples</h1>
8
- <h2>1. Default Radio</h2>
9
- <DBRadio label="Default Radio"></DBRadio>
10
- <h2>2. Sizes</h2>
11
- <DBRadio size="small" label="Small Radio"></DBRadio>
12
- <DBRadio size="medium" label="Medium Radio"></DBRadio>
13
- <h2>3. Validation States</h2>
14
- <DBRadio validation="valid" label="Valid Radio"></DBRadio>
15
- <DBRadio validation="invalid" label="Invalid Radio"></DBRadio>
16
- <DBRadio validation="no-validation" label="No Validation Radio"></DBRadio>
17
- <h2>4. Disabled State</h2>
18
- <DBRadio label="Disabled Radio" :disabled="true"></DBRadio>
19
- <h2>5. Change Event Example</h2>
20
- <DBRadio
21
- label="Change Event"
22
- :onChange="(event) => console.log('Change event:', event.target.checked)"
23
- ></DBRadio>
24
- </template>
25
-
26
- <script setup lang="ts">
27
- import { DBRadio } from "@db-ux/v-v-core-components";
28
- </script>
29
- ```
package/agent/Section.md DELETED
@@ -1,27 +0,0 @@
1
-
2
-
3
- # Section Examples (vue)
4
-
5
- ```vue
6
- <template>
7
- <h1>DBSection Documentation Examples</h1>
8
- <h2>1. Default Section</h2>
9
- <DBSection>Default Section</DBSection>
10
- <h2>2. Spacing Variants</h2>
11
- <DBSection spacing="medium">Medium Spacing</DBSection>
12
- <DBSection spacing="small">Small Spacing</DBSection>
13
- <DBSection spacing="large">Large Spacing</DBSection>
14
- <DBSection spacing="none">No Spacing</DBSection>
15
- <h2>3. Container Width</h2>
16
- <DBSection width="full">Full Width</DBSection>
17
- <DBSection width="medium">Medium Width</DBSection>
18
- <DBSection width="large">Large Width</DBSection>
19
- <DBSection width="small">Small Width</DBSection>
20
- <h2>4. Custom Class</h2>
21
- <DBSection>Custom Class</DBSection>
22
- </template>
23
-
24
- <script setup lang="ts">
25
- import { DBSection } from "@db-ux/v-v-core-components";
26
- </script>
27
- ```
package/agent/Select.md DELETED
@@ -1,70 +0,0 @@
1
-
2
-
3
- # Select Examples (vue)
4
-
5
- ```vue
6
- <template>
7
- <h1>DBSelect Documentation Examples</h1>
8
- <h2>1. Default Select</h2>
9
- <DBSelect label="Default Select"
10
- ><option value="1">Option 1</option>
11
- <option value="2" :disabled="true">Option 2</option></DBSelect
12
- >
13
- <h2>2. Options Array</h2>
14
- <DBSelect label="Select with Options" :options="getOptions()"></DBSelect>
15
- <h2>3. Multiple Select</h2>
16
- <DBSelect label="Multiple Select" :multiple="true"
17
- ><option value="1">Option 1</option>
18
- <option value="2" :disabled="true">Option 2</option></DBSelect
19
- >
20
- <h2>4. Disabled State</h2>
21
- <DBSelect label="Disabled Select" :disabled="true"
22
- ><option value="1">Option 1</option>
23
- <option value="2" :disabled="true">Option 2</option></DBSelect
24
- >
25
- <h2>5. Validation States</h2>
26
- <DBSelect validation="valid" label="Valid Select"
27
- ><option value="1">Option 1</option>
28
- <option value="2" :disabled="true">Option 2</option></DBSelect
29
- >
30
- <DBSelect validation="invalid" label="Invalid Select"
31
- ><option value="1">Option 1</option>
32
- <option value="2" :disabled="true">Option 2</option></DBSelect
33
- >
34
- <DBSelect validation="no-validation" label="No Validation Select"
35
- ><option value="1">Option 1</option>
36
- <option value="2" :disabled="true">Option 2</option></DBSelect
37
- >
38
- <h2>6. Change Event Example</h2>
39
- <DBSelect
40
- label="Change Event"
41
- :onChange="(event) => console.log('Change event:', event.target.value)"
42
- ><option value="1">Option 1</option>
43
- <option value="2" :disabled="true">Option 2</option></DBSelect
44
- >
45
- </template>
46
-
47
- <script setup lang="ts">
48
- import { DBSelect } from "@db-ux/v-v-core-components";
49
-
50
- function getOptions() {
51
- return [
52
- {
53
- id: "1",
54
- label: "Option 1",
55
- selected: false,
56
- },
57
- {
58
- id: "2",
59
- label: "Option 2",
60
- selected: true,
61
- },
62
- {
63
- id: "3",
64
- label: "Option 3",
65
- disabled: true,
66
- },
67
- ];
68
- }
69
- </script>
70
- ```
package/agent/Stack.md DELETED
@@ -1,41 +0,0 @@
1
-
2
-
3
- # Stack Examples (vue)
4
-
5
- ```vue
6
- <template>
7
- <h1>DBStack Documentation Examples</h1>
8
- <h2>1. Default Stack</h2>
9
- <DBStack>Default Stack</DBStack>
10
- <h2>2. Variants</h2>
11
- <DBStack variant="simple">Simple Variant</DBStack>
12
- <DBStack variant="divider">Divider Variant</DBStack>
13
- <h2>3. Directions</h2>
14
- <DBStack direction="row">Row Direction</DBStack>
15
- <DBStack direction="column">Column Direction</DBStack>
16
- <h2>4. Alignment</h2>
17
- <DBStack alignment="stretch">Stretch Alignment</DBStack>
18
- <DBStack alignment="start">Start Alignment</DBStack>
19
- <DBStack alignment="end">End Alignment</DBStack>
20
- <DBStack alignment="center">Center Alignment</DBStack>
21
- <h2>5. Justify Content</h2>
22
- <DBStack justifyContent="space-between">Space Between</DBStack>
23
- <DBStack justifyContent="start">Start Justify</DBStack>
24
- <DBStack justifyContent="end">End Justify</DBStack>
25
- <DBStack justifyContent="center">Center Justify</DBStack>
26
- <h2>6. Gap Spacing</h2>
27
- <DBStack gap="medium">Medium Gap</DBStack>
28
- <DBStack gap="small">Small Gap</DBStack>
29
- <DBStack gap="large">Large Gap</DBStack>
30
- <DBStack gap="none">No Gap</DBStack>
31
- <h2>7. Wrap</h2>
32
- <DBStack :wrap="true">Wrap Enabled</DBStack>
33
- <DBStack :wrap="false">Wrap Disabled</DBStack>
34
- <h2>8. Custom Class</h2>
35
- <DBStack>Custom Class</DBStack>
36
- </template>
37
-
38
- <script setup lang="ts">
39
- import { DBStack } from "@db-ux/v-v-core-components";
40
- </script>
41
- ```
package/agent/Switch.md DELETED
@@ -1,36 +0,0 @@
1
-
2
-
3
- # Switch Examples (vue)
4
-
5
- ```vue
6
- <template>
7
- <h1>DBSwitch Documentation Examples</h1>
8
- <h2>1. Default Switch</h2>
9
- <DBSwitch label="Default Switch"></DBSwitch>
10
- <h2>2. Visual Aid</h2>
11
- <DBSwitch label="Switch with Visual Aid" :visualAid="true"></DBSwitch>
12
- <DBSwitch label="Switch without Visual Aid" :visualAid="false"></DBSwitch>
13
- <h2>3. Sizes</h2>
14
- <DBSwitch size="small" label="Small Switch"></DBSwitch>
15
- <DBSwitch size="medium" label="Medium Switch"></DBSwitch>
16
- <h2>4. Validation States</h2>
17
- <DBSwitch validation="valid" label="Valid Switch"></DBSwitch>
18
- <DBSwitch validation="invalid" label="Invalid Switch"></DBSwitch>
19
- <DBSwitch validation="no-validation" label="No Validation Switch"></DBSwitch>
20
- <h2>5. Disabled State</h2>
21
- <DBSwitch label="Disabled Switch" :disabled="true"></DBSwitch>
22
- <h2>6. Icon Support</h2>
23
- <DBSwitch icon="check" label="Switch with Icon"></DBSwitch>
24
- <DBSwitch iconLeading="user" label="Switch with Leading Icon"></DBSwitch>
25
- <DBSwitch iconTrailing="arrow" label="Switch with Trailing Icon"></DBSwitch>
26
- <h2>7. Change Event Example</h2>
27
- <DBSwitch
28
- label="Change Event"
29
- :onChange="(event) => console.log('Change event:', event.target.checked)"
30
- ></DBSwitch>
31
- </template>
32
-
33
- <script setup lang="ts">
34
- import { DBSwitch } from "@db-ux/v-v-core-components";
35
- </script>
36
- ```