@db-ux/ngx-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 (156) hide show
  1. package/README.md +11 -0
  2. package/agent/Accordion.md +52 -0
  3. package/agent/AccordionItem.md +45 -0
  4. package/agent/Badge.md +48 -0
  5. package/agent/Brand.md +29 -0
  6. package/agent/Button.md +59 -0
  7. package/agent/Card.md +39 -0
  8. package/agent/Checkbox.md +52 -0
  9. package/agent/CustomSelect.md +89 -0
  10. package/agent/Divider.md +37 -0
  11. package/agent/Drawer.md +90 -0
  12. package/agent/Header.md +45 -0
  13. package/agent/Icon.md +36 -0
  14. package/agent/Infotext.md +41 -0
  15. package/agent/Input.md +58 -0
  16. package/agent/Link.md +60 -0
  17. package/agent/Navigation.md +34 -0
  18. package/agent/NavigationItem.md +45 -0
  19. package/agent/Notification.md +52 -0
  20. package/agent/Page.md +45 -0
  21. package/agent/Popover.md +69 -0
  22. package/agent/Radio.md +39 -0
  23. package/agent/Section.md +39 -0
  24. package/agent/Select.md +80 -0
  25. package/agent/Stack.md +51 -0
  26. package/agent/Switch.md +55 -0
  27. package/agent/TabItem.md +41 -0
  28. package/agent/Tabs.md +80 -0
  29. package/agent/Tag.md +48 -0
  30. package/agent/Textarea.md +57 -0
  31. package/agent/Tooltip.md +64 -0
  32. package/agent/_instructions.md +31 -0
  33. package/package.json +7 -3
  34. package/components/accordion/accordion.d.ts +0 -30
  35. package/components/accordion/index.d.ts +0 -1
  36. package/components/accordion/model.d.ts +0 -41
  37. package/components/accordion-item/accordion-item.d.ts +0 -33
  38. package/components/accordion-item/index.d.ts +0 -1
  39. package/components/accordion-item/model.d.ts +0 -24
  40. package/components/badge/badge.d.ts +0 -27
  41. package/components/badge/index.d.ts +0 -1
  42. package/components/badge/model.d.ts +0 -16
  43. package/components/brand/brand.d.ts +0 -25
  44. package/components/brand/index.d.ts +0 -1
  45. package/components/brand/model.d.ts +0 -10
  46. package/components/button/button.d.ts +0 -39
  47. package/components/button/index.d.ts +0 -1
  48. package/components/button/model.d.ts +0 -40
  49. package/components/card/card.d.ts +0 -25
  50. package/components/card/index.d.ts +0 -1
  51. package/components/card/model.d.ts +0 -18
  52. package/components/checkbox/checkbox.d.ts +0 -64
  53. package/components/checkbox/index.d.ts +0 -1
  54. package/components/checkbox/model.d.ts +0 -10
  55. package/components/custom-select/custom-select.d.ts +0 -150
  56. package/components/custom-select/index.d.ts +0 -1
  57. package/components/custom-select/model.d.ts +0 -220
  58. package/components/custom-select-dropdown/custom-select-dropdown.d.ts +0 -20
  59. package/components/custom-select-dropdown/index.d.ts +0 -1
  60. package/components/custom-select-dropdown/model.d.ts +0 -15
  61. package/components/custom-select-form-field/custom-select-form-field.d.ts +0 -19
  62. package/components/custom-select-form-field/index.d.ts +0 -1
  63. package/components/custom-select-form-field/model.d.ts +0 -5
  64. package/components/custom-select-list/custom-select-list.d.ts +0 -21
  65. package/components/custom-select-list/index.d.ts +0 -1
  66. package/components/custom-select-list/model.d.ts +0 -8
  67. package/components/custom-select-list-item/custom-select-list-item.d.ts +0 -45
  68. package/components/custom-select-list-item/index.d.ts +0 -1
  69. package/components/custom-select-list-item/model.d.ts +0 -29
  70. package/components/divider/divider.d.ts +0 -23
  71. package/components/divider/index.d.ts +0 -1
  72. package/components/divider/model.d.ts +0 -18
  73. package/components/drawer/drawer.d.ts +0 -37
  74. package/components/drawer/index.d.ts +0 -1
  75. package/components/drawer/model.d.ts +0 -50
  76. package/components/header/MetaNavigation.directive.d.ts +0 -5
  77. package/components/header/Navigation.directive.d.ts +0 -5
  78. package/components/header/SecondaryAction.directive.d.ts +0 -5
  79. package/components/header/header.d.ts +0 -33
  80. package/components/header/index.d.ts +0 -1
  81. package/components/header/model.d.ts +0 -44
  82. package/components/icon/icon.d.ts +0 -23
  83. package/components/icon/index.d.ts +0 -1
  84. package/components/icon/model.d.ts +0 -10
  85. package/components/infotext/index.d.ts +0 -1
  86. package/components/infotext/infotext.d.ts +0 -25
  87. package/components/infotext/model.d.ts +0 -5
  88. package/components/input/index.d.ts +0 -1
  89. package/components/input/input.d.ts +0 -98
  90. package/components/input/model.d.ts +0 -43
  91. package/components/link/index.d.ts +0 -1
  92. package/components/link/link.d.ts +0 -32
  93. package/components/link/model.d.ts +0 -24
  94. package/components/navigation/index.d.ts +0 -1
  95. package/components/navigation/model.d.ts +0 -5
  96. package/components/navigation/navigation.d.ts +0 -20
  97. package/components/navigation-item/NavigationContent.directive.d.ts +0 -5
  98. package/components/navigation-item/index.d.ts +0 -1
  99. package/components/navigation-item/model.d.ts +0 -34
  100. package/components/navigation-item/navigation-item.d.ts +0 -46
  101. package/components/notification/index.d.ts +0 -1
  102. package/components/notification/model.d.ts +0 -57
  103. package/components/notification/notification.d.ts +0 -40
  104. package/components/page/index.d.ts +0 -1
  105. package/components/page/model.d.ts +0 -36
  106. package/components/page/page.d.ts +0 -27
  107. package/components/popover/index.d.ts +0 -1
  108. package/components/popover/model.d.ts +0 -17
  109. package/components/popover/popover.d.ts +0 -37
  110. package/components/radio/index.d.ts +0 -1
  111. package/components/radio/model.d.ts +0 -5
  112. package/components/radio/radio.d.ts +0 -47
  113. package/components/section/index.d.ts +0 -1
  114. package/components/section/model.d.ts +0 -5
  115. package/components/section/section.d.ts +0 -22
  116. package/components/select/index.d.ts +0 -1
  117. package/components/select/model.d.ts +0 -44
  118. package/components/select/select.d.ts +0 -83
  119. package/components/stack/index.d.ts +0 -1
  120. package/components/stack/model.d.ts +0 -34
  121. package/components/stack/stack.d.ts +0 -26
  122. package/components/switch/index.d.ts +0 -1
  123. package/components/switch/model.d.ts +0 -10
  124. package/components/switch/switch.d.ts +0 -52
  125. package/components/tab-item/index.d.ts +0 -1
  126. package/components/tab-item/model.d.ts +0 -24
  127. package/components/tab-item/tab-item.d.ts +0 -46
  128. package/components/tab-list/index.d.ts +0 -1
  129. package/components/tab-list/model.d.ts +0 -5
  130. package/components/tab-list/tab-list.d.ts +0 -20
  131. package/components/tab-panel/index.d.ts +0 -1
  132. package/components/tab-panel/model.d.ts +0 -10
  133. package/components/tab-panel/tab-panel.d.ts +0 -20
  134. package/components/tabs/index.d.ts +0 -1
  135. package/components/tabs/model.d.ts +0 -66
  136. package/components/tabs/tabs.d.ts +0 -45
  137. package/components/tag/index.d.ts +0 -1
  138. package/components/tag/model.d.ts +0 -47
  139. package/components/tag/tag.d.ts +0 -34
  140. package/components/textarea/index.d.ts +0 -1
  141. package/components/textarea/model.d.ts +0 -34
  142. package/components/textarea/textarea.d.ts +0 -84
  143. package/components/tooltip/index.d.ts +0 -1
  144. package/components/tooltip/model.d.ts +0 -20
  145. package/components/tooltip/tooltip.d.ts +0 -39
  146. package/fesm2022/db-ux-ngx-core-components.mjs +0 -7787
  147. package/fesm2022/db-ux-ngx-core-components.mjs.map +0 -1
  148. package/index.d.ts +0 -83
  149. package/shared/constants.d.ts +0 -88
  150. package/shared/model.d.ts +0 -522
  151. package/utils/document-click-listener.d.ts +0 -8
  152. package/utils/document-scroll-listener.d.ts +0 -9
  153. package/utils/floating-components.d.ts +0 -20
  154. package/utils/form-components.d.ts +0 -2
  155. package/utils/index.d.ts +0 -40
  156. package/utils/navigation.d.ts +0 -32
@@ -0,0 +1,41 @@
1
+
2
+
3
+ # Infotext Examples (angular)
4
+
5
+ ```ts
6
+ import { Component, effect } from "@angular/core";
7
+ import { CommonModule } from "@angular/common";
8
+
9
+ import { DBInfotext } from "../index";
10
+
11
+ @Component({
12
+ selector: "infotext",
13
+ standalone: true,
14
+ imports: [CommonModule, DBInfotext],
15
+ template: `<ng-container
16
+ ><h1>DBInfotext Documentation Examples</h1>
17
+ <h2>1. Default Infotext</h2>
18
+ <db-infotext>Default Infotext</db-infotext>
19
+ <h2>2. Semantic Variants</h2>
20
+ <db-infotext semantic="adaptive">Adaptive</db-infotext>
21
+ <db-infotext semantic="neutral">Neutral</db-infotext>
22
+ <db-infotext semantic="critical">Critical</db-infotext>
23
+ <db-infotext semantic="informational">Informational</db-infotext>
24
+ <db-infotext semantic="warning">Warning</db-infotext>
25
+ <db-infotext semantic="successful">Successful</db-infotext>
26
+ <h2>3. Sizes</h2>
27
+ <db-infotext size="small">Small</db-infotext>
28
+ <db-infotext size="medium">Medium</db-infotext>
29
+ <h2>4. Icon Visibility</h2>
30
+ <db-infotext icon="info" [showIcon]="false"> Icon Hidden </db-infotext>
31
+ <h2>5. Custom Class</h2>
32
+ <db-infotext className="my-custom-class"
33
+ >Custom Class</db-infotext
34
+ ></ng-container
35
+ > `,
36
+ styles: `:host { display: contents; }`,
37
+ })
38
+ export class Infotext {
39
+ constructor() {}
40
+ }
41
+ ```
package/agent/Input.md ADDED
@@ -0,0 +1,58 @@
1
+
2
+
3
+ # Input Examples (angular)
4
+
5
+ ```ts
6
+ import { Component, effect } from "@angular/core";
7
+ import { CommonModule } from "@angular/common";
8
+
9
+ import { DBInput } from "../index";
10
+
11
+ @Component({
12
+ selector: "input",
13
+ standalone: true,
14
+ imports: [CommonModule, DBInput],
15
+ template: `<ng-container
16
+ ><h1>DBInput Documentation Examples</h1>
17
+ <h2>1. Default Input</h2>
18
+ <db-input label="Enter text here"></db-input>
19
+ <h2>2. Input Types</h2>
20
+ <db-input type="text" label="Text Input"></db-input>
21
+ <db-input type="email" label="Email Input"></db-input>
22
+ <db-input type="password" label="Password Input"></db-input>
23
+ <db-input type="number" label="Number Input"></db-input>
24
+ <h2>3. Sizes</h2>
25
+ <db-input size="small" label="Small Input"></db-input>
26
+ <db-input size="medium" label="Medium Input"></db-input>
27
+ <h2>4. Icon Support</h2>
28
+ <db-input icon="search" label="Search Input"></db-input>
29
+ <db-input iconLeading="user" label="Leading Icon"></db-input>
30
+ <db-input iconTrailing="check" label="Trailing Icon"></db-input>
31
+ <h2>5. Validation States</h2>
32
+ <db-input validation="valid" label="Valid Input"></db-input>
33
+ <db-input validation="invalid" label="Invalid Input"></db-input>
34
+ <db-input validation="no-validation" label="No Validation"></db-input>
35
+ <h2>6. Disabled State</h2>
36
+ <db-input label="Disabled Input" [disabled]="true"></db-input>
37
+ <h2>7. Custom Class</h2>
38
+ <db-input className="my-custom-class" label="Custom Class"></db-input>
39
+ <h2>8. Placeholder Examples</h2>
40
+ <db-input placeholder="Enter text here" label="With Placeholder"></db-input>
41
+ <db-input placeholder="Search here" label="Search Placeholder"></db-input>
42
+ <h2>9. Input Event Example</h2>
43
+ <db-input
44
+ label="Input Event"
45
+ (input)="console.log('Input event:', $event.target.value)"
46
+ ></db-input>
47
+ <h2>10. Message Property Example</h2>
48
+ <db-input
49
+ label="Input with Message"
50
+ message="This is a helper message."
51
+ ></db-input
52
+ ></ng-container> `,
53
+ styles: `:host { display: contents; }`,
54
+ })
55
+ export class Input {
56
+ constructor() {}
57
+ }
58
+ ```
package/agent/Link.md ADDED
@@ -0,0 +1,60 @@
1
+
2
+
3
+ # Link Examples (angular)
4
+
5
+ ```ts
6
+ import { Component, effect } from "@angular/core";
7
+ import { CommonModule } from "@angular/common";
8
+
9
+ import { DBLink } from "../index";
10
+
11
+ @Component({
12
+ selector: "link",
13
+ standalone: true,
14
+ imports: [CommonModule, DBLink],
15
+ template: `<ng-container
16
+ ><h1>DBLink Documentation Examples</h1>
17
+ <h2>1. Default Link</h2>
18
+ <db-link href="https://example.com">Default Link</db-link>
19
+ <h2>2. Disabled Link</h2>
20
+ <db-link href="https://example.com" [disabled]="true">
21
+ Disabled Link
22
+ </db-link>
23
+ <h2>3. Target Variants</h2>
24
+ <db-link href="https://example.com" target="_self"> Self Target </db-link>
25
+ <db-link href="https://example.com" target="_blank"> Blank Target </db-link>
26
+ <h2>4. Custom Class</h2>
27
+ <db-link href="https://example.com" className="my-custom-class">
28
+ Custom Class
29
+ </db-link>
30
+ <h2>5. Rel Attribute</h2>
31
+ <db-link href="https://example.com" rel="noopener noreferrer">
32
+ No Referrer
33
+ </db-link>
34
+ <h2>6. Link Variants</h2>
35
+ <db-link href="https://example.com" variant="adaptive">
36
+ Adaptive Variant
37
+ </db-link>
38
+ <db-link href="https://example.com" variant="brand">
39
+ Brand Variant
40
+ </db-link>
41
+ <db-link href="https://example.com" variant="inline">
42
+ Inline Variant
43
+ </db-link>
44
+ <h2>7. Link Sizes</h2>
45
+ <db-link href="https://example.com" size="medium"> Medium Size </db-link>
46
+ <db-link href="https://example.com" size="small"> Small Size </db-link>
47
+ <h2>8. Link Content</h2>
48
+ <db-link href="https://example.com" content="external">
49
+ External Content
50
+ </db-link>
51
+ <db-link href="https://example.com" content="internal">
52
+ Internal Content
53
+ </db-link></ng-container
54
+ > `,
55
+ styles: `:host { display: contents; }`,
56
+ })
57
+ export class Link {
58
+ constructor() {}
59
+ }
60
+ ```
@@ -0,0 +1,34 @@
1
+
2
+
3
+ # Navigation Examples (angular)
4
+
5
+ ```ts
6
+ import { Component, effect } from "@angular/core";
7
+ import { CommonModule } from "@angular/common";
8
+
9
+ import { DBNavigationItem } from "../../navigation-item/index";
10
+ import { DBNavigation } from "../index";
11
+
12
+ @Component({
13
+ selector: "navigation",
14
+ standalone: true,
15
+ imports: [CommonModule, DBNavigation, DBNavigationItem],
16
+ template: `<ng-container
17
+ ><h1>DBNavigation Documentation Examples</h1>
18
+ <h2>1. Default Navigation</h2>
19
+ <db-navigation
20
+ ><db-navigation-item><a href="#">Navi-Item 1</a></db-navigation-item>
21
+ <db-navigation-item icon="x_placeholder"
22
+ ><a href="#">Navi-Item 2</a></db-navigation-item
23
+ >
24
+ <db-navigation-item [disabled]="true"
25
+ ><a href="#">Navi-Item 3</a></db-navigation-item
26
+ ></db-navigation
27
+ ></ng-container
28
+ > `,
29
+ styles: `:host { display: contents; }`,
30
+ })
31
+ export class Navigation {
32
+ constructor() {}
33
+ }
34
+ ```
@@ -0,0 +1,45 @@
1
+
2
+
3
+ # NavigationItem Examples (angular)
4
+
5
+ ```ts
6
+ import { Component, effect } from "@angular/core";
7
+ import { CommonModule } from "@angular/common";
8
+
9
+ import { DBNavigationItem } from "../index";
10
+
11
+ @Component({
12
+ selector: "navigation-item",
13
+ standalone: true,
14
+ imports: [CommonModule, DBNavigationItem],
15
+ template: `<ng-container
16
+ ><h1>DBNavigationItem Documentation Examples</h1>
17
+ <h2>1. Default Navigation Item</h2>
18
+ <db-navigation-item>Default Navigation Item</db-navigation-item>
19
+ <h2>2. Active State</h2>
20
+ <db-navigation-item [active]="true"
21
+ >Active Navigation Item</db-navigation-item
22
+ >
23
+ <h2>3. Disabled State</h2>
24
+ <db-navigation-item [disabled]="true">
25
+ Disabled Navigation Item
26
+ </db-navigation-item>
27
+ <h2>4. Sub-Navigation</h2>
28
+ <db-navigation-item [subNavigation]="<div>Sub Navigation Content</div>">
29
+ Navigation Item with Sub-Navigation
30
+ </db-navigation-item>
31
+ <h2>5. Icon Support</h2>
32
+ <db-navigation-item icon="user">
33
+ Navigation Item with Icon
34
+ </db-navigation-item>
35
+ <h2>6. Custom Class</h2>
36
+ <db-navigation-item className="custom-class">
37
+ Navigation Item with Custom Class
38
+ </db-navigation-item></ng-container
39
+ > `,
40
+ styles: `:host { display: contents; }`,
41
+ })
42
+ export class NavigationItem {
43
+ constructor() {}
44
+ }
45
+ ```
@@ -0,0 +1,52 @@
1
+
2
+
3
+ # Notification Examples (angular)
4
+
5
+ ```ts
6
+ import { Component, effect } from "@angular/core";
7
+ import { CommonModule } from "@angular/common";
8
+
9
+ import { DBNotification } from "../index";
10
+
11
+ @Component({
12
+ selector: "notification",
13
+ standalone: true,
14
+ imports: [CommonModule, DBNotification],
15
+ template: `<ng-container
16
+ ><h1>DBNotification Documentation Examples</h1>
17
+ <h2>1. Default Notification</h2>
18
+ <db-notification>Default Notification</db-notification>
19
+ <h2>2. Semantic Variants</h2>
20
+ <db-notification semantic="adaptive">Adaptive</db-notification>
21
+ <db-notification semantic="neutral">Neutral</db-notification>
22
+ <db-notification semantic="critical">Critical</db-notification>
23
+ <db-notification semantic="informational"> Informational </db-notification>
24
+ <db-notification semantic="warning">Warning</db-notification>
25
+ <db-notification semantic="successful">Successful</db-notification>
26
+ <h2>3. Variants</h2>
27
+ <db-notification variant="docked">Docked</db-notification>
28
+ <db-notification variant="standalone">Standalone</db-notification>
29
+ <db-notification variant="overlay">Overlay</db-notification>
30
+ <h2>4. Closeable</h2>
31
+ <db-notification [closeable]="true">Closeable Notification</db-notification>
32
+ <h2>5. Headline</h2>
33
+ <db-notification headline="Important Update">
34
+ Notification with Headline
35
+ </db-notification>
36
+ <h2>6. Timestamp</h2>
37
+ <db-notification timestamp="10:30 AM">
38
+ Notification with Timestamp
39
+ </db-notification>
40
+ <h2>7. Icon Support</h2>
41
+ <db-notification icon="info">Notification with Icon</db-notification>
42
+ <h2>8. Custom Class</h2>
43
+ <db-notification className="my-custom-class">
44
+ Custom Class
45
+ </db-notification></ng-container
46
+ > `,
47
+ styles: `:host { display: contents; }`,
48
+ })
49
+ export class Notification {
50
+ constructor() {}
51
+ }
52
+ ```
package/agent/Page.md ADDED
@@ -0,0 +1,45 @@
1
+
2
+
3
+ # Page Examples (angular)
4
+
5
+ ```ts
6
+ import { Component, effect } from "@angular/core";
7
+ import { CommonModule } from "@angular/common";
8
+
9
+ import { DBPage } from "../index";
10
+
11
+ @Component({
12
+ selector: "page",
13
+ standalone: true,
14
+ imports: [CommonModule, DBPage],
15
+ template: `<ng-container
16
+ ><h1>DBPage Documentation Examples</h1>
17
+ <h2>1. Default Page</h2>
18
+ <db-page><db-header header>Header Content</db-header>
19
+ Main Page</db-page>
20
+ <h2>2. Document Overflow Variants</h2>
21
+ <db-page documentOverflow="hidden">
22
+ <db-header header>Header Content</db-header>
23
+ Main Page with Hidden Overflow
24
+ </db-page>
25
+ <db-page documentOverflow="auto">
26
+ <db-header header>Header Content</db-header>
27
+ Main Page with Auto Overflow
28
+ </db-page>
29
+ <h2>3. Fade-In Effect</h2>
30
+ <db-page [fadeIn]="true"><db-header header>Header Content</db-header>
31
+ Main Page with Fade-In</db-page>
32
+ <h2>4. Variant Examples</h2>
33
+ <db-page variant="auto"><db-header header>Header Content</db-header>
34
+ Page with Auto Variant</db-page>
35
+ <db-page variant="fixed"
36
+ ><db-header header>Header Content</db-header>
37
+ Page with Fixed Variant</db-page
38
+ ></ng-container
39
+ > `,
40
+ styles: `:host { display: contents; }`,
41
+ })
42
+ export class Page {
43
+ constructor() {}
44
+ }
45
+ ```
@@ -0,0 +1,69 @@
1
+
2
+
3
+ # Popover Examples (angular)
4
+
5
+ ```ts
6
+ import { Component, effect } from "@angular/core";
7
+ import { CommonModule } from "@angular/common";
8
+
9
+ import { DBButton } from "../../button/index";
10
+ import { DBPopover } from "../index";
11
+
12
+ @Component({
13
+ selector: "popover",
14
+ standalone: true,
15
+ imports: [CommonModule, DBPopover, DBButton],
16
+ template: `<ng-container
17
+ ><h1>DBPopover Documentation Examples</h1>
18
+ <h2>1. Default Popover</h2>
19
+ <db-popover [trigger]="<DBButton>Hover on me to open Popover</DBButton>">
20
+ Use any HTML code here like e.g. a
21
+ <code>button</code>
22
+ :
23
+
24
+ <button type="button">Test</button></db-popover
25
+ >
26
+ <h2>2. Placement Variants</h2>
27
+ <db-popover placement="top" [trigger]="<DBButton>Top Placement</DBButton>">
28
+ Popover with top placement
29
+ </db-popover>
30
+ <db-popover
31
+ placement="bottom"
32
+ [trigger]="<DBButton>Bottom Placement</DBButton>"
33
+ >
34
+ Popover with bottom placement
35
+ </db-popover>
36
+ <h2>3. Delay Variants</h2>
37
+ <db-popover delay="fast" [trigger]="<DBButton>Fast Delay</DBButton>">
38
+ Popover with fast delay
39
+ </db-popover>
40
+ <db-popover delay="slow" [trigger]="<DBButton>Slow Delay</DBButton>">
41
+ Popover with slow delay
42
+ </db-popover>
43
+ <h2>4. Animation</h2>
44
+ <db-popover
45
+ [trigger]="<DBButton>With Animation</DBButton>"
46
+ [animation]="true"
47
+ >
48
+ Popover with animation
49
+ </db-popover>
50
+ <db-popover
51
+ [trigger]="<DBButton>No Animation</DBButton>"
52
+ [animation]="false"
53
+ >
54
+ Popover without animation
55
+ </db-popover>
56
+ <h2>5. Width Variants</h2>
57
+ <db-popover width="auto" [trigger]="<DBButton>Auto Width</DBButton>">
58
+ Popover with auto width
59
+ </db-popover>
60
+ <db-popover width="fixed" [trigger]="<DBButton>Fixed Width</DBButton>">
61
+ Popover with fixed width
62
+ </db-popover></ng-container
63
+ > `,
64
+ styles: `:host { display: contents; }`,
65
+ })
66
+ export class Popover {
67
+ constructor() {}
68
+ }
69
+ ```
package/agent/Radio.md ADDED
@@ -0,0 +1,39 @@
1
+
2
+
3
+ # Radio Examples (angular)
4
+
5
+ ```ts
6
+ import { Component, effect } from "@angular/core";
7
+ import { CommonModule } from "@angular/common";
8
+
9
+ import { DBRadio } from "../index";
10
+
11
+ @Component({
12
+ selector: "radio",
13
+ standalone: true,
14
+ imports: [CommonModule, DBRadio],
15
+ template: `<ng-container
16
+ ><h1>DBRadio Documentation Examples</h1>
17
+ <h2>1. Default Radio</h2>
18
+ <db-radio label="Default Radio"></db-radio>
19
+ <h2>2. Sizes</h2>
20
+ <db-radio size="small" label="Small Radio"></db-radio>
21
+ <db-radio size="medium" label="Medium Radio"></db-radio>
22
+ <h2>3. Validation States</h2>
23
+ <db-radio validation="valid" label="Valid Radio"></db-radio>
24
+ <db-radio validation="invalid" label="Invalid Radio"></db-radio>
25
+ <db-radio validation="no-validation" label="No Validation Radio"></db-radio>
26
+ <h2>4. Disabled State</h2>
27
+ <db-radio label="Disabled Radio" [disabled]="true"></db-radio>
28
+ <h2>5. Change Event Example</h2>
29
+ <db-radio
30
+ label="Change Event"
31
+ (change)="console.log('Change event:', $event.target.checked)"
32
+ ></db-radio
33
+ ></ng-container> `,
34
+ styles: `:host { display: contents; }`,
35
+ })
36
+ export class Radio {
37
+ constructor() {}
38
+ }
39
+ ```
@@ -0,0 +1,39 @@
1
+
2
+
3
+ # Section Examples (angular)
4
+
5
+ ```ts
6
+ import { Component, effect } from "@angular/core";
7
+ import { CommonModule } from "@angular/common";
8
+
9
+ import { DBSection } from "../index";
10
+
11
+ @Component({
12
+ selector: "section",
13
+ standalone: true,
14
+ imports: [CommonModule, DBSection],
15
+ template: `<ng-container
16
+ ><h1>DBSection Documentation Examples</h1>
17
+ <h2>1. Default Section</h2>
18
+ <db-section>Default Section</db-section>
19
+ <h2>2. Spacing Variants</h2>
20
+ <db-section spacing="medium">Medium Spacing</db-section>
21
+ <db-section spacing="small">Small Spacing</db-section>
22
+ <db-section spacing="large">Large Spacing</db-section>
23
+ <db-section spacing="none">No Spacing</db-section>
24
+ <h2>3. Container Width</h2>
25
+ <db-section width="full">Full Width</db-section>
26
+ <db-section width="medium">Medium Width</db-section>
27
+ <db-section width="large">Large Width</db-section>
28
+ <db-section width="small">Small Width</db-section>
29
+ <h2>4. Custom Class</h2>
30
+ <db-section className="my-custom-class"
31
+ >Custom Class</db-section
32
+ ></ng-container
33
+ > `,
34
+ styles: `:host { display: contents; }`,
35
+ })
36
+ export class Section {
37
+ constructor() {}
38
+ }
39
+ ```
@@ -0,0 +1,80 @@
1
+
2
+
3
+ # Select Examples (angular)
4
+
5
+ ```ts
6
+ import { Component, effect } from "@angular/core";
7
+ import { CommonModule } from "@angular/common";
8
+
9
+ import { DBSelect } from "../index";
10
+
11
+ @Component({
12
+ selector: "select",
13
+ standalone: true,
14
+ imports: [CommonModule, DBSelect],
15
+ template: `<ng-container
16
+ ><h1>DBSelect Documentation Examples</h1>
17
+ <h2>1. Default Select</h2>
18
+ <db-select label="Default Select"
19
+ ><option value="1">Option 1</option>
20
+ <option value="2" [attr.disabled]="true">Option 2</option></db-select
21
+ >
22
+ <h2>2. Options Array</h2>
23
+ <db-select label="Select with Options" [options]="getOptions()"></db-select>
24
+ <h2>3. Multiple Select</h2>
25
+ <db-select label="Multiple Select" [multiple]="true"
26
+ ><option value="1">Option 1</option>
27
+ <option value="2" [attr.disabled]="true">Option 2</option></db-select
28
+ >
29
+ <h2>4. Disabled State</h2>
30
+ <db-select label="Disabled Select" [disabled]="true"
31
+ ><option value="1">Option 1</option>
32
+ <option value="2" [attr.disabled]="true">Option 2</option></db-select
33
+ >
34
+ <h2>5. Validation States</h2>
35
+ <db-select validation="valid" label="Valid Select"
36
+ ><option value="1">Option 1</option>
37
+ <option value="2" [attr.disabled]="true">Option 2</option></db-select
38
+ >
39
+ <db-select validation="invalid" label="Invalid Select"
40
+ ><option value="1">Option 1</option>
41
+ <option value="2" [attr.disabled]="true">Option 2</option></db-select
42
+ >
43
+ <db-select validation="no-validation" label="No Validation Select"
44
+ ><option value="1">Option 1</option>
45
+ <option value="2" [attr.disabled]="true">Option 2</option></db-select
46
+ >
47
+ <h2>6. Change Event Example</h2>
48
+ <db-select
49
+ label="Change Event"
50
+ (change)="console.log('Change event:', $event.target.value)"
51
+ ><option value="1">Option 1</option>
52
+ <option value="2" [attr.disabled]="true">Option 2</option></db-select
53
+ ></ng-container
54
+ > `,
55
+ styles: `:host { display: contents; }`,
56
+ })
57
+ export class Select {
58
+ getOptions() {
59
+ return [
60
+ {
61
+ id: "1",
62
+ label: "Option 1",
63
+ selected: false,
64
+ },
65
+ {
66
+ id: "2",
67
+ label: "Option 2",
68
+ selected: true,
69
+ },
70
+ {
71
+ id: "3",
72
+ label: "Option 3",
73
+ disabled: true,
74
+ },
75
+ ];
76
+ }
77
+
78
+ constructor() {}
79
+ }
80
+ ```
package/agent/Stack.md ADDED
@@ -0,0 +1,51 @@
1
+
2
+
3
+ # Stack Examples (angular)
4
+
5
+ ```ts
6
+ import { Component, effect } from "@angular/core";
7
+ import { CommonModule } from "@angular/common";
8
+
9
+ import { DBStack } from "../index";
10
+
11
+ @Component({
12
+ selector: "stack",
13
+ standalone: true,
14
+ imports: [CommonModule, DBStack],
15
+ template: `<ng-container
16
+ ><h1>DBStack Documentation Examples</h1>
17
+ <h2>1. Default Stack</h2>
18
+ <db-stack>Default Stack</db-stack>
19
+ <h2>2. Variants</h2>
20
+ <db-stack variant="simple">Simple Variant</db-stack>
21
+ <db-stack variant="divider">Divider Variant</db-stack>
22
+ <h2>3. Directions</h2>
23
+ <db-stack direction="row">Row Direction</db-stack>
24
+ <db-stack direction="column">Column Direction</db-stack>
25
+ <h2>4. Alignment</h2>
26
+ <db-stack alignment="stretch">Stretch Alignment</db-stack>
27
+ <db-stack alignment="start">Start Alignment</db-stack>
28
+ <db-stack alignment="end">End Alignment</db-stack>
29
+ <db-stack alignment="center">Center Alignment</db-stack>
30
+ <h2>5. Justify Content</h2>
31
+ <db-stack justifyContent="space-between">Space Between</db-stack>
32
+ <db-stack justifyContent="start">Start Justify</db-stack>
33
+ <db-stack justifyContent="end">End Justify</db-stack>
34
+ <db-stack justifyContent="center">Center Justify</db-stack>
35
+ <h2>6. Gap Spacing</h2>
36
+ <db-stack gap="medium">Medium Gap</db-stack>
37
+ <db-stack gap="small">Small Gap</db-stack>
38
+ <db-stack gap="large">Large Gap</db-stack>
39
+ <db-stack gap="none">No Gap</db-stack>
40
+ <h2>7. Wrap</h2>
41
+ <db-stack [wrap]="true">Wrap Enabled</db-stack>
42
+ <db-stack [wrap]="false">Wrap Disabled</db-stack>
43
+ <h2>8. Custom Class</h2>
44
+ <db-stack className="my-custom-class">Custom Class</db-stack></ng-container
45
+ > `,
46
+ styles: `:host { display: contents; }`,
47
+ })
48
+ export class Stack {
49
+ constructor() {}
50
+ }
51
+ ```
@@ -0,0 +1,55 @@
1
+
2
+
3
+ # Switch Examples (angular)
4
+
5
+ ```ts
6
+ import { Component, effect } from "@angular/core";
7
+ import { CommonModule } from "@angular/common";
8
+
9
+ import { DBSwitch } from "../index";
10
+
11
+ @Component({
12
+ selector: "switch",
13
+ standalone: true,
14
+ imports: [CommonModule, DBSwitch],
15
+ template: `<ng-container
16
+ ><h1>DBSwitch Documentation Examples</h1>
17
+ <h2>1. Default Switch</h2>
18
+ <db-switch label="Default Switch"></db-switch>
19
+ <h2>2. Visual Aid</h2>
20
+ <db-switch label="Switch with Visual Aid" [visualAid]="true"></db-switch>
21
+ <db-switch
22
+ label="Switch without Visual Aid"
23
+ [visualAid]="false"
24
+ ></db-switch>
25
+ <h2>3. Sizes</h2>
26
+ <db-switch size="small" label="Small Switch"></db-switch>
27
+ <db-switch size="medium" label="Medium Switch"></db-switch>
28
+ <h2>4. Validation States</h2>
29
+ <db-switch validation="valid" label="Valid Switch"></db-switch>
30
+ <db-switch validation="invalid" label="Invalid Switch"></db-switch>
31
+ <db-switch
32
+ validation="no-validation"
33
+ label="No Validation Switch"
34
+ ></db-switch>
35
+ <h2>5. Disabled State</h2>
36
+ <db-switch label="Disabled Switch" [disabled]="true"></db-switch>
37
+ <h2>6. Icon Support</h2>
38
+ <db-switch icon="check" label="Switch with Icon"></db-switch>
39
+ <db-switch iconLeading="user" label="Switch with Leading Icon"></db-switch>
40
+ <db-switch
41
+ iconTrailing="arrow"
42
+ label="Switch with Trailing Icon"
43
+ ></db-switch>
44
+ <h2>7. Change Event Example</h2>
45
+ <db-switch
46
+ label="Change Event"
47
+ (change)="console.log('Change event:', $event.target.checked)"
48
+ ></db-switch
49
+ ></ng-container> `,
50
+ styles: `:host { display: contents; }`,
51
+ })
52
+ export class Switch {
53
+ constructor() {}
54
+ }
55
+ ```