@db-ux/wc-core-components 3.0.1 → 3.0.2-copilot2-e7bf98b

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 (46) hide show
  1. package/README.md +10 -0
  2. package/agent/Accordion.md +23 -0
  3. package/agent/AccordionItem.md +29 -0
  4. package/agent/Badge.md +32 -0
  5. package/agent/Brand.md +13 -0
  6. package/agent/Button.md +47 -0
  7. package/agent/Card.md +23 -0
  8. package/agent/Checkbox.md +41 -0
  9. package/agent/CustomSelect.md +54 -0
  10. package/agent/Divider.md +21 -0
  11. package/agent/Drawer.md +71 -0
  12. package/agent/Header.md +29 -0
  13. package/agent/Icon.md +20 -0
  14. package/agent/Infotext.md +25 -0
  15. package/agent/Input.md +48 -0
  16. package/agent/Link.md +52 -0
  17. package/agent/Navigation.md +19 -0
  18. package/agent/NavigationItem.md +29 -0
  19. package/agent/Notification.md +38 -0
  20. package/agent/Page.md +27 -0
  21. package/agent/Popover.md +52 -0
  22. package/agent/Radio.md +28 -0
  23. package/agent/Section.md +21 -0
  24. package/agent/Select.md +62 -0
  25. package/agent/Stack.md +35 -0
  26. package/agent/Switch.md +44 -0
  27. package/agent/TabItem.md +25 -0
  28. package/agent/Tabs.md +61 -0
  29. package/agent/Tag.md +41 -0
  30. package/agent/Textarea.md +44 -0
  31. package/agent/Tooltip.md +37 -0
  32. package/agent/_instructions.md +31 -0
  33. package/dist/cjs/db-tabs.cjs.entry.js +23 -18
  34. package/dist/cjs/db-tabs.cjs.entry.js.map +1 -1
  35. package/dist/cjs/db-tabs.entry.cjs.js.map +1 -1
  36. package/dist/collection/components/tabs/tabs.js +23 -18
  37. package/dist/collection/components/tabs/tabs.js.map +1 -1
  38. package/dist/db-ux/db-tabs.entry.esm.js.map +1 -1
  39. package/dist/db-ux/db-ux.esm.js +1 -1
  40. package/dist/db-ux/p-72330d25.entry.js +2 -0
  41. package/dist/db-ux/p-72330d25.entry.js.map +1 -0
  42. package/dist/esm/db-tabs.entry.js +23 -18
  43. package/dist/esm/db-tabs.entry.js.map +1 -1
  44. package/package.json +6 -4
  45. package/dist/db-ux/p-6c4115c8.entry.js +0 -2
  46. package/dist/db-ux/p-6c4115c8.entry.js.map +0 -1
package/README.md CHANGED
@@ -74,6 +74,16 @@ If you don't have it already, add a VS Code settings folder and file at the root
74
74
  }
75
75
  ```
76
76
 
77
+ ## Documentation for AI Agents
78
+
79
+ We provide a documentation for every component in the DB UX Design System via `docs` folder.
80
+ To consume those documentation for AI Agents the best way is to copy the `docs` folder into your project.
81
+
82
+ We provide a CLI tool to do this automatically, which you can run with:
83
+
84
+ ```shell
85
+ npx @db-ux/agent-cli
86
+ ```
77
87
 
78
88
  ## Deutsche Bahn brand
79
89
 
@@ -0,0 +1,23 @@
1
+
2
+
3
+ # Accordion Examples (stencil)
4
+
5
+ ```html
6
+ <h1>DBAccordion Documentation Examples</h1>
7
+ <h2>1. Default Accordion</h2>
8
+ <db-accordion>Default Accordion</db-accordion>
9
+ <h2>2. Behavior Variants</h2>
10
+ <db-accordion behavior="multiple">Multiple Behavior</db-accordion>
11
+ <db-accordion behavior="single">Single Behavior</db-accordion>
12
+ <h2>3. Initial Open Index</h2>
13
+ <db-accordion initOpenIndex={[0, 1]}>Initial Open Index</db-accordion>
14
+ <h2>4. Items</h2>
15
+ <db-accordion items={this.getItems()}>
16
+ Accordion with Items
17
+ </db-accordion>
18
+ <h2>5. Name Attribute</h2>
19
+ <db-accordion name="accordion-name">With Name</db-accordion>
20
+ <h2>6. Variant Types</h2>
21
+ <db-accordion variant="divider">Divider Variant</db-accordion>
22
+ <db-accordion variant="card">Card Variant</db-accordion>
23
+ ```
@@ -0,0 +1,29 @@
1
+
2
+
3
+ # AccordionItem Examples (stencil)
4
+
5
+ ```html
6
+ <h1>DBAccordionItem Documentation Examples</h1>
7
+ <h2>1. Default Accordion Item</h2>
8
+ <db-accordion-item>Default Accordion Item</db-accordion-item>
9
+ <h2>2. Initial State</h2>
10
+ <db-accordion-item defaultOpen={true}>Initially Open</db-accordion-item>
11
+ <db-accordion-item defaultOpen={false}>
12
+ Initially Closed
13
+ </db-accordion-item>
14
+ <h2>3. Disabled State</h2>
15
+ <db-accordion-item disabled={true}>
16
+ Disabled Accordion Item
17
+ </db-accordion-item>
18
+ <h2>4. Headline Variants</h2>
19
+ <db-accordion-item headline={<strong>Custom Headline</strong>}>
20
+ With Custom Headline
21
+ </db-accordion-item>
22
+ <db-accordion-item headlinePlain="Plain Headline">
23
+ With Plain Headline
24
+ </db-accordion-item>
25
+ <h2>5. Toggle Event</h2>
26
+ <db-accordion-item onToggle={(open) => console.log("Toggled:", open)}>
27
+ With Toggle Event
28
+ </db-accordion-item>
29
+ ```
package/agent/Badge.md ADDED
@@ -0,0 +1,32 @@
1
+
2
+
3
+ # Badge Examples (stencil)
4
+
5
+ ```html
6
+ <h1>DBBadge Documentation Examples</h1>
7
+ <h2>1. Default Badge</h2>
8
+ <db-badge>Default Badge</db-badge>
9
+ <h2>2. Semantic Variants</h2>
10
+ <db-badge semantic="adaptive">Adaptive</db-badge>
11
+ <db-badge semantic="neutral">Neutral</db-badge>
12
+ <db-badge semantic="critical">Critical</db-badge>
13
+ <db-badge semantic="informational">Informational</db-badge>
14
+ <db-badge semantic="warning">Warning</db-badge>
15
+ <db-badge semantic="successful">Successful</db-badge>
16
+ <h2>3. Sizes</h2>
17
+ <db-badge size="small">Small</db-badge>
18
+ <db-badge size="medium">Medium</db-badge>
19
+ <h2>4. Emphasis Variants</h2>
20
+ <db-badge emphasis="weak">Weak Emphasis</db-badge>
21
+ <db-badge emphasis="strong">Strong Emphasis</db-badge>
22
+ <h2>5. Placement Variants</h2>
23
+ <db-badge placement="inline">Inline</db-badge>
24
+ <db-badge placement="corner-top-left">Corner Top Left</db-badge>
25
+ <db-badge placement="corner-top-right">Corner Top Right</db-badge>
26
+ <db-badge placement="corner-center-left">Corner Center Left</db-badge>
27
+ <db-badge placement="corner-center-right">Corner Center Right</db-badge>
28
+ <db-badge placement="corner-bottom-left">Corner Bottom Left</db-badge>
29
+ <db-badge placement="corner-bottom-right">Corner Bottom Right</db-badge>
30
+ <h2>6. Custom Label</h2>
31
+ <db-badge label="Custom Label">With Custom Label</db-badge>
32
+ ```
package/agent/Brand.md ADDED
@@ -0,0 +1,13 @@
1
+
2
+
3
+ # Brand Examples (stencil)
4
+
5
+ ```html
6
+ <h1>DBBrand Documentation Examples</h1>
7
+ <h2>1. Default Brand</h2>
8
+ <db-brand>Default Brand</db-brand>
9
+ <h2>2. Icon Visibility</h2>
10
+ <db-brand showIcon={false}>Icon Hidden</db-brand>
11
+ <h2>3. Custom Text</h2>
12
+ <db-brand text="Custom Brand Text">With Custom Text</db-brand>
13
+ ```
@@ -0,0 +1,47 @@
1
+
2
+
3
+ # Button Examples (stencil)
4
+
5
+ ```html
6
+ <h1>DBButton Documentation Examples</h1>
7
+ <h2>1. Default Button</h2>
8
+ <db-button>Button</db-button>
9
+ <h2>2. Variants</h2>
10
+ <db-button variant="filled">Filled</db-button>
11
+ <db-button variant="outlined">Outlined</db-button>
12
+ <db-button variant="ghost">Ghost</db-button>
13
+ <db-button variant="brand">Brand</db-button>
14
+ <h2>3. Sizes</h2>
15
+ <db-button size="small">Small</db-button>
16
+ <db-button size="medium">Medium</db-button>
17
+ <h2>4. Icon Only</h2>
18
+ <db-button icon="check" noText={true}></db-button>
19
+ <h2>5. Disabled</h2>
20
+ <db-button disabled={true}>Disabled</db-button>
21
+ <h2>6. Button Types</h2>
22
+ <db-button type="button">Type=button</db-button>
23
+ <db-button type="submit">Type=submit</db-button>
24
+ <db-button type="reset">Type=reset</db-button>
25
+ <h2>7. Form Association</h2>
26
+ <form id="example-form">
27
+ <input name="exampleInput" placeholder="Example input" />
28
+ </form>
29
+ <db-button form="example-form" type="submit">
30
+ Submit Form
31
+ </db-button>
32
+ <h2>8. Name &amp; Value</h2>
33
+ <db-button name="testName" value="testValue">
34
+ Name/Value
35
+ </db-button>
36
+ <h2>9. Width</h2>
37
+ <db-button width="full">Full width</db-button>
38
+ <db-button width="auto">Auto width</db-button>
39
+ <h2>10. Icon Visibility</h2>
40
+ <db-button icon="check" showIcon={false}>
41
+ Icon Hidden
42
+ </db-button>
43
+ <h2>11. Custom Class</h2>
44
+ <db-button class="my-custom-class">Custom Class</db-button>
45
+ <h2>12. Click Event</h2>
46
+ <db-button onClick={() => alert("Button clicked!")}>Click Me</db-button>
47
+ ```
package/agent/Card.md ADDED
@@ -0,0 +1,23 @@
1
+
2
+
3
+ # Card Examples (stencil)
4
+
5
+ ```html
6
+ <h1>DBCard Documentation Examples</h1>
7
+ <h2>1. Default Card</h2>
8
+ <db-card>Default Card</db-card>
9
+ <h2>2. Behaviors</h2>
10
+ <db-card behavior="static">Static</db-card>
11
+ <db-card behavior="interactive">Interactive</db-card>
12
+ <h2>3. Elevation Levels</h2>
13
+ <db-card elevationLevel="1">Elevation Level 1</db-card>
14
+ <db-card elevationLevel="2">Elevation Level 2</db-card>
15
+ <db-card elevationLevel="3">Elevation Level 3</db-card>
16
+ <h2>4. Custom Class</h2>
17
+ <db-card class="my-custom-class">Custom Class</db-card>
18
+ <h2>5. Spacing</h2>
19
+ <db-card spacing="medium">Medium Spacing</db-card>
20
+ <db-card spacing="small">Small Spacing</db-card>
21
+ <db-card spacing="large">Large Spacing</db-card>
22
+ <db-card spacing="none">No Spacing</db-card>
23
+ ```
@@ -0,0 +1,41 @@
1
+
2
+
3
+ # Checkbox Examples (stencil)
4
+
5
+ ```html
6
+ <h1>DBCheckbox Documentation Examples</h1>
7
+ <h2>1. Default Checkbox</h2>
8
+ <db-checkbox label="Default Checkbox"></db-checkbox>
9
+ <h2>2. Indeterminate State</h2>
10
+ <db-checkbox
11
+ label="Indeterminate Checkbox"
12
+ indeterminate={true}
13
+ ></db-checkbox>
14
+ <h2>3. Sizes</h2>
15
+ <db-checkbox size="small" label="Small Checkbox"></db-checkbox>
16
+ <db-checkbox size="medium" label="Medium Checkbox"></db-checkbox>
17
+ <h2>4. Validation States</h2>
18
+ <db-checkbox validation="valid" label="Valid Checkbox"></db-checkbox>
19
+ <db-checkbox
20
+ validation="invalid"
21
+ label="Invalid Checkbox"
22
+ ></db-checkbox>
23
+ <db-checkbox
24
+ validation="no-validation"
25
+ label="No Validation Checkbox"
26
+ ></db-checkbox>
27
+ <h2>5. Disabled State</h2>
28
+ <db-checkbox label="Disabled Checkbox" disabled={true}></db-checkbox>
29
+ <h2>6. Message Property Example</h2>
30
+ <db-checkbox
31
+ label="Checkbox with Message"
32
+ message="This is a helper message."
33
+ ></db-checkbox>
34
+ <h2>7. Change Event Example</h2>
35
+ <db-checkbox
36
+ label="Change Event"
37
+ onChange={(event) =>
38
+ console.log("Change event:", event.target.checked)
39
+ }
40
+ ></db-checkbox>
41
+ ```
@@ -0,0 +1,54 @@
1
+
2
+
3
+ # CustomSelect Examples (stencil)
4
+
5
+ ```html
6
+ <h1>DBCustomSelect Documentation Examples</h1>
7
+ <h2>1. Default Custom Select</h2>
8
+ <db-custom-select
9
+ label="Default Custom Select"
10
+ options={this.getOptions()}
11
+ ></db-custom-select>
12
+ <h2>3. Multiple Select</h2>
13
+ <db-custom-select
14
+ label="Multiple Custom Select"
15
+ multiple={true}
16
+ options={this.getOptions()}
17
+ ></db-custom-select>
18
+ <h2>4. Disabled State</h2>
19
+ <db-custom-select
20
+ label="Disabled Custom Select"
21
+ disabled={true}
22
+ options={this.getOptions()}
23
+ ></db-custom-select>
24
+ <h2>5. Validation States</h2>
25
+ <db-custom-select
26
+ validMessage="This is a valid selection"
27
+ validation="valid"
28
+ label="Valid Custom Select"
29
+ options={this.getOptions()}
30
+ ></db-custom-select>
31
+ <db-custom-select
32
+ invalidMessage="This is an invalid selection"
33
+ validation="invalid"
34
+ label="Invalid Custom Select"
35
+ options={this.getOptions()}
36
+ ></db-custom-select>
37
+ <db-custom-select
38
+ validation="no-validation"
39
+ label="No Validation Custom Select"
40
+ options={this.getOptions()}
41
+ ></db-custom-select>
42
+ <h2>6. Change Event Example</h2>
43
+ <db-custom-select
44
+ label="Change Event"
45
+ onChange={(event) => console.log("Change event:", event.target.value)}
46
+ options={this.getOptions()}
47
+ ></db-custom-select>
48
+ <h2>7. Placeholder Example</h2>
49
+ <db-custom-select
50
+ label="Custom Select with Placeholder"
51
+ placeholder="Select an option"
52
+ options={this.getOptions()}
53
+ ></db-custom-select>
54
+ ```
@@ -0,0 +1,21 @@
1
+
2
+
3
+ # Divider Examples (stencil)
4
+
5
+ ```html
6
+ <h1>DBDivider Documentation Examples</h1>
7
+ <h2>1. Default Divider</h2>
8
+ <db-divider></db-divider>
9
+ <h2>2. Margin Variants</h2>
10
+ <db-divider margin="none"></db-divider>
11
+ <db-divider margin="_"></db-divider>
12
+ <h2>3. Orientation Variants</h2>
13
+ <db-divider variant="horizontal"></db-divider>
14
+ <db-divider variant="vertical"></db-divider>
15
+ <h2>4. Emphasis Variants</h2>
16
+ <db-divider emphasis="weak"></db-divider>
17
+ <db-divider emphasis="strong"></db-divider>
18
+ <h2>5. Width Variants</h2>
19
+ <db-divider width="full"></db-divider>
20
+ <db-divider width="auto"></db-divider>
21
+ ```
@@ -0,0 +1,71 @@
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 (stencil)
12
+
13
+ ```html
14
+ <h1>DBDrawer Documentation Examples</h1>
15
+ <h2>1. Default Drawer</h2>
16
+ <div>
17
+ <db-button
18
+ onClick={() => {
19
+ this.open = true;
20
+ }}
21
+ >
22
+ Open Me
23
+ </db-button>
24
+ <db-drawer
25
+ open={this.open}
26
+ onClose={() => {
27
+ this.open = false;
28
+ }}
29
+ drawerHeader={<header>Optional drawer header</header>}
30
+ >
31
+ My Drawer content
32
+ </db-drawer>
33
+ </div>
34
+ <h2>2. Drawer Variants</h2>
35
+ <div>
36
+ <db-button
37
+ onClick={() => {
38
+ this.open = true;
39
+ }}
40
+ >
41
+ Open Modal Drawer
42
+ </db-button>
43
+ <db-drawer
44
+ variant="modal"
45
+ open={this.open}
46
+ onClose={() => {
47
+ this.open = false;
48
+ }}
49
+ >
50
+ Modal Drawer content
51
+ </db-drawer>
52
+ </div>
53
+ <div>
54
+ <db-button
55
+ onClick={() => {
56
+ this.open = true;
57
+ }}
58
+ >
59
+ Open Inside Drawer
60
+ </db-button>
61
+ <db-drawer
62
+ variant="inside"
63
+ open={this.open}
64
+ onClose={() => {
65
+ this.open = false;
66
+ }}
67
+ >
68
+ Inside Drawer content
69
+ </db-drawer>
70
+ </div>
71
+ ```
@@ -0,0 +1,29 @@
1
+
2
+
3
+ # Header Examples (stencil)
4
+
5
+ ```html
6
+ <h1>DBHeader Documentation Examples</h1>
7
+ <h2>1. Default Header</h2>
8
+ <db-header
9
+ drawerOpen={this.drawerOpen}
10
+ onToggle={(open) => (this.drawerOpen = open)}
11
+ >
12
+ <db-brand slot="brand">My Awesome App</db-brand>
13
+ <div slot="metaNavigation"><db-link href="#">Imprint</db-link><db-link href="#">Help</db-link></div>
14
+ <db-button slot="primaryAction" icon="magnifying_glass" variant="ghost" noText>Search</db-button>
15
+ <div slot="secondaryAction"><db-button icon="x_placeholder" variant="ghost" noText>Profile</db-button><db-button icon="alert" variant="ghost" noText>Notification</db-button><db-button icon="help" variant="ghost" noText>Help</db-button></div>
16
+
17
+ <db-navigation>
18
+ <db-navigation-item>
19
+ <a href="#">Navi-Item 1</a>
20
+ </db-navigation-item>
21
+ <db-navigation-item icon="x_placeholder">
22
+ <a href="#">Navi-Item 2</a>
23
+ </db-navigation-item>
24
+ <db-navigation-item disabled={true}>
25
+ <a href="#">Navi-Item 3</a>
26
+ </db-navigation-item>
27
+ </db-navigation>
28
+ </db-header>
29
+ ```
package/agent/Icon.md ADDED
@@ -0,0 +1,20 @@
1
+
2
+
3
+ # Icon Examples (stencil)
4
+
5
+ ```html
6
+ <h1>DBIcon Documentation Examples</h1>
7
+ <h2>1. Default Icon</h2>
8
+ <db-icon>Default Icon</db-icon>
9
+ <h2>2. Icon Variants</h2>
10
+ <db-icon icon="user">User Icon</db-icon>
11
+ <db-icon icon="settings">Settings Icon</db-icon>
12
+ <h2>3. Icon Weights</h2>
13
+ <db-icon weight="16">16px Icon</db-icon>
14
+ <db-icon weight="24">24px Icon</db-icon>
15
+ <db-icon weight="32">32px Icon</db-icon>
16
+ <h2>4. Custom Class</h2>
17
+ <db-icon class="my-custom-class">Custom Class Icon</db-icon>
18
+ <h2>5. Text Content</h2>
19
+ <db-icon text="Icon with Text">Icon with Text</db-icon>
20
+ ```
@@ -0,0 +1,25 @@
1
+
2
+
3
+ # Infotext Examples (stencil)
4
+
5
+ ```html
6
+ <h1>DBInfotext Documentation Examples</h1>
7
+ <h2>1. Default Infotext</h2>
8
+ <db-infotext>Default Infotext</db-infotext>
9
+ <h2>2. Semantic Variants</h2>
10
+ <db-infotext semantic="adaptive">Adaptive</db-infotext>
11
+ <db-infotext semantic="neutral">Neutral</db-infotext>
12
+ <db-infotext semantic="critical">Critical</db-infotext>
13
+ <db-infotext semantic="informational">Informational</db-infotext>
14
+ <db-infotext semantic="warning">Warning</db-infotext>
15
+ <db-infotext semantic="successful">Successful</db-infotext>
16
+ <h2>3. Sizes</h2>
17
+ <db-infotext size="small">Small</db-infotext>
18
+ <db-infotext size="medium">Medium</db-infotext>
19
+ <h2>4. Icon Visibility</h2>
20
+ <db-infotext icon="info" showIcon={false}>
21
+ Icon Hidden
22
+ </db-infotext>
23
+ <h2>5. Custom Class</h2>
24
+ <db-infotext class="my-custom-class">Custom Class</db-infotext>
25
+ ```
package/agent/Input.md ADDED
@@ -0,0 +1,48 @@
1
+
2
+
3
+ # Input Examples (stencil)
4
+
5
+ ```html
6
+ <h1>DBInput Documentation Examples</h1>
7
+ <h2>1. Default Input</h2>
8
+ <db-input label="Enter text here"></db-input>
9
+ <h2>2. Input Types</h2>
10
+ <db-input type="text" label="Text Input"></db-input>
11
+ <db-input type="email" label="Email Input"></db-input>
12
+ <db-input type="password" label="Password Input"></db-input>
13
+ <db-input type="number" label="Number Input"></db-input>
14
+ <h2>3. Sizes</h2>
15
+ <db-input size="small" label="Small Input"></db-input>
16
+ <db-input size="medium" label="Medium Input"></db-input>
17
+ <h2>4. Icon Support</h2>
18
+ <db-input icon="search" label="Search Input"></db-input>
19
+ <db-input iconLeading="user" label="Leading Icon"></db-input>
20
+ <db-input iconTrailing="check" label="Trailing Icon"></db-input>
21
+ <h2>5. Validation States</h2>
22
+ <db-input validation="valid" label="Valid Input"></db-input>
23
+ <db-input validation="invalid" label="Invalid Input"></db-input>
24
+ <db-input validation="no-validation" label="No Validation"></db-input>
25
+ <h2>6. Disabled State</h2>
26
+ <db-input label="Disabled Input" disabled={true}></db-input>
27
+ <h2>7. Custom Class</h2>
28
+ <db-input class="my-custom-class" label="Custom Class"></db-input>
29
+ <h2>8. Placeholder Examples</h2>
30
+ <db-input
31
+ placeholder="Enter text here"
32
+ label="With Placeholder"
33
+ ></db-input>
34
+ <db-input
35
+ placeholder="Search here"
36
+ label="Search Placeholder"
37
+ ></db-input>
38
+ <h2>9. Input Event Example</h2>
39
+ <db-input
40
+ label="Input Event"
41
+ onInput={(event) => console.log("Input event:", event.target.value)}
42
+ ></db-input>
43
+ <h2>10. Message Property Example</h2>
44
+ <db-input
45
+ label="Input with Message"
46
+ message="This is a helper message."
47
+ ></db-input>
48
+ ```
package/agent/Link.md ADDED
@@ -0,0 +1,52 @@
1
+
2
+
3
+ # Link Examples (stencil)
4
+
5
+ ```html
6
+ <h1>DBLink Documentation Examples</h1>
7
+ <h2>1. Default Link</h2>
8
+ <db-link href="https://example.com">Default Link</db-link>
9
+ <h2>2. Disabled Link</h2>
10
+ <db-link href="https://example.com" disabled={true}>
11
+ Disabled Link
12
+ </db-link>
13
+ <h2>3. Target Variants</h2>
14
+ <db-link href="https://example.com" target="_self">
15
+ Self Target
16
+ </db-link>
17
+ <db-link href="https://example.com" target="_blank">
18
+ Blank Target
19
+ </db-link>
20
+ <h2>4. Custom Class</h2>
21
+ <db-link class="my-custom-class" href="https://example.com">
22
+ Custom Class
23
+ </db-link>
24
+ <h2>5. Rel Attribute</h2>
25
+ <db-link href="https://example.com" rel="noopener noreferrer">
26
+ No Referrer
27
+ </db-link>
28
+ <h2>6. Link Variants</h2>
29
+ <db-link href="https://example.com" variant="adaptive">
30
+ Adaptive Variant
31
+ </db-link>
32
+ <db-link href="https://example.com" variant="brand">
33
+ Brand Variant
34
+ </db-link>
35
+ <db-link href="https://example.com" variant="inline">
36
+ Inline Variant
37
+ </db-link>
38
+ <h2>7. Link Sizes</h2>
39
+ <db-link href="https://example.com" size="medium">
40
+ Medium Size
41
+ </db-link>
42
+ <db-link href="https://example.com" size="small">
43
+ Small Size
44
+ </db-link>
45
+ <h2>8. Link Content</h2>
46
+ <db-link href="https://example.com" content="external">
47
+ External Content
48
+ </db-link>
49
+ <db-link href="https://example.com" content="internal">
50
+ Internal Content
51
+ </db-link>
52
+ ```
@@ -0,0 +1,19 @@
1
+
2
+
3
+ # Navigation Examples (stencil)
4
+
5
+ ```html
6
+ <h1>DBNavigation Documentation Examples</h1>
7
+ <h2>1. Default Navigation</h2>
8
+ <db-navigation>
9
+ <db-navigation-item>
10
+ <a href="#">Navi-Item 1</a>
11
+ </db-navigation-item>
12
+ <db-navigation-item icon="x_placeholder">
13
+ <a href="#">Navi-Item 2</a>
14
+ </db-navigation-item>
15
+ <db-navigation-item disabled={true}>
16
+ <a href="#">Navi-Item 3</a>
17
+ </db-navigation-item>
18
+ </db-navigation>
19
+ ```
@@ -0,0 +1,29 @@
1
+
2
+
3
+ # NavigationItem Examples (stencil)
4
+
5
+ ```html
6
+ <h1>DBNavigationItem Documentation Examples</h1>
7
+ <h2>1. Default Navigation Item</h2>
8
+ <db-navigation-item>Default Navigation Item</db-navigation-item>
9
+ <h2>2. Active State</h2>
10
+ <db-navigation-item active={true}>
11
+ Active Navigation Item
12
+ </db-navigation-item>
13
+ <h2>3. Disabled State</h2>
14
+ <db-navigation-item disabled={true}>
15
+ Disabled Navigation Item
16
+ </db-navigation-item>
17
+ <h2>4. Sub-Navigation</h2>
18
+ <db-navigation-item subNavigation={<div>Sub Navigation Content</div>}>
19
+ Navigation Item with Sub-Navigation
20
+ </db-navigation-item>
21
+ <h2>5. Icon Support</h2>
22
+ <db-navigation-item icon="user">
23
+ Navigation Item with Icon
24
+ </db-navigation-item>
25
+ <h2>6. Custom Class</h2>
26
+ <db-navigation-item class="custom-class">
27
+ Navigation Item with Custom Class
28
+ </db-navigation-item>
29
+ ```
@@ -0,0 +1,38 @@
1
+
2
+
3
+ # Notification Examples (stencil)
4
+
5
+ ```html
6
+ <h1>DBNotification Documentation Examples</h1>
7
+ <h2>1. Default Notification</h2>
8
+ <db-notification>Default Notification</db-notification>
9
+ <h2>2. Semantic Variants</h2>
10
+ <db-notification semantic="adaptive">Adaptive</db-notification>
11
+ <db-notification semantic="neutral">Neutral</db-notification>
12
+ <db-notification semantic="critical">Critical</db-notification>
13
+ <db-notification semantic="informational">
14
+ Informational
15
+ </db-notification>
16
+ <db-notification semantic="warning">Warning</db-notification>
17
+ <db-notification semantic="successful">Successful</db-notification>
18
+ <h2>3. Variants</h2>
19
+ <db-notification variant="docked">Docked</db-notification>
20
+ <db-notification variant="standalone">Standalone</db-notification>
21
+ <db-notification variant="overlay">Overlay</db-notification>
22
+ <h2>4. Closeable</h2>
23
+ <db-notification closeable={true}>
24
+ Closeable Notification
25
+ </db-notification>
26
+ <h2>5. Headline</h2>
27
+ <db-notification headline="Important Update">
28
+ Notification with Headline
29
+ </db-notification>
30
+ <h2>6. Timestamp</h2>
31
+ <db-notification timestamp="10:30 AM">
32
+ Notification with Timestamp
33
+ </db-notification>
34
+ <h2>7. Icon Support</h2>
35
+ <db-notification icon="info">Notification with Icon</db-notification>
36
+ <h2>8. Custom Class</h2>
37
+ <db-notification class="my-custom-class">Custom Class</db-notification>
38
+ ```