@db-ux/ngx-core-components 3.0.2-copilot2-e7bf98b → 3.0.2-shell-ed0ed7c
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/components/accordion/accordion.d.ts +30 -0
- package/components/accordion/index.d.ts +1 -0
- package/components/accordion/model.d.ts +41 -0
- package/components/accordion-item/accordion-item.d.ts +33 -0
- package/components/accordion-item/index.d.ts +1 -0
- package/components/accordion-item/model.d.ts +24 -0
- package/components/badge/badge.d.ts +27 -0
- package/components/badge/index.d.ts +1 -0
- package/components/badge/model.d.ts +16 -0
- package/components/button/button.d.ts +39 -0
- package/components/button/index.d.ts +1 -0
- package/components/button/model.d.ts +40 -0
- package/components/card/card.d.ts +25 -0
- package/components/card/index.d.ts +1 -0
- package/components/card/model.d.ts +18 -0
- package/components/checkbox/checkbox.d.ts +64 -0
- package/components/checkbox/index.d.ts +1 -0
- package/components/checkbox/model.d.ts +10 -0
- package/components/control-panel-brand/control-panel-brand.d.ts +24 -0
- package/components/control-panel-brand/index.d.ts +1 -0
- package/components/control-panel-brand/model.d.ts +5 -0
- package/components/control-panel-desktop/control-panel-desktop.d.ts +32 -0
- package/components/control-panel-desktop/index.d.ts +1 -0
- package/components/control-panel-desktop/model.d.ts +7 -0
- package/components/control-panel-flat-icon-navigation/control-panel-flat-icon-navigation.d.ts +22 -0
- package/components/control-panel-flat-icon-navigation/index.d.ts +1 -0
- package/components/control-panel-flat-icon-navigation/model.d.ts +7 -0
- package/components/control-panel-meta-navigation/control-panel-meta-navigation.d.ts +19 -0
- package/components/control-panel-meta-navigation/index.d.ts +1 -0
- package/components/control-panel-meta-navigation/model.d.ts +5 -0
- package/components/control-panel-mobile/control-panel-mobile.d.ts +29 -0
- package/components/control-panel-mobile/index.d.ts +1 -0
- package/components/control-panel-mobile/model.d.ts +30 -0
- package/components/control-panel-primary-actions/control-panel-primary-actions.d.ts +19 -0
- package/components/control-panel-primary-actions/index.d.ts +1 -0
- package/components/control-panel-primary-actions/model.d.ts +5 -0
- package/components/control-panel-secondary-actions/control-panel-secondary-actions.d.ts +19 -0
- package/components/control-panel-secondary-actions/index.d.ts +1 -0
- package/components/control-panel-secondary-actions/model.d.ts +5 -0
- package/components/custom-select/custom-select.d.ts +150 -0
- package/components/custom-select/index.d.ts +1 -0
- package/components/custom-select/model.d.ts +223 -0
- package/components/custom-select-dropdown/custom-select-dropdown.d.ts +20 -0
- package/components/custom-select-dropdown/index.d.ts +1 -0
- package/components/custom-select-dropdown/model.d.ts +15 -0
- package/components/custom-select-form-field/custom-select-form-field.d.ts +19 -0
- package/components/custom-select-form-field/index.d.ts +1 -0
- package/components/custom-select-form-field/model.d.ts +5 -0
- package/components/custom-select-list/custom-select-list.d.ts +21 -0
- package/components/custom-select-list/index.d.ts +1 -0
- package/components/custom-select-list/model.d.ts +8 -0
- package/components/custom-select-list-item/custom-select-list-item.d.ts +45 -0
- package/components/custom-select-list-item/index.d.ts +1 -0
- package/components/custom-select-list-item/model.d.ts +29 -0
- package/components/divider/divider.d.ts +23 -0
- package/components/divider/index.d.ts +1 -0
- package/components/divider/model.d.ts +18 -0
- package/components/drawer/drawer.d.ts +38 -0
- package/components/drawer/index.d.ts +1 -0
- package/components/drawer/model.d.ts +54 -0
- package/components/icon/icon.d.ts +23 -0
- package/components/icon/index.d.ts +1 -0
- package/components/icon/model.d.ts +10 -0
- package/components/infotext/index.d.ts +1 -0
- package/components/infotext/infotext.d.ts +25 -0
- package/components/infotext/model.d.ts +5 -0
- package/components/input/index.d.ts +1 -0
- package/components/input/input.d.ts +98 -0
- package/components/input/model.d.ts +43 -0
- package/components/link/index.d.ts +1 -0
- package/components/link/link.d.ts +32 -0
- package/components/link/model.d.ts +24 -0
- package/components/navigation/index.d.ts +1 -0
- package/components/navigation/model.d.ts +14 -0
- package/components/navigation/navigation.d.ts +35 -0
- package/components/navigation-item/index.d.ts +1 -0
- package/components/navigation-item/model.d.ts +19 -0
- package/components/navigation-item/navigation-item.d.ts +26 -0
- package/components/navigation-item-group/index.d.ts +1 -0
- package/components/navigation-item-group/model.d.ts +26 -0
- package/components/navigation-item-group/navigation-item-group.d.ts +49 -0
- package/components/notification/index.d.ts +1 -0
- package/components/notification/model.d.ts +57 -0
- package/components/notification/notification.d.ts +40 -0
- package/components/popover/index.d.ts +1 -0
- package/components/popover/model.d.ts +17 -0
- package/components/popover/popover.d.ts +37 -0
- package/components/radio/index.d.ts +1 -0
- package/components/radio/model.d.ts +5 -0
- package/components/radio/radio.d.ts +47 -0
- package/components/section/index.d.ts +1 -0
- package/components/section/model.d.ts +5 -0
- package/components/section/section.d.ts +22 -0
- package/components/select/index.d.ts +1 -0
- package/components/select/model.d.ts +44 -0
- package/components/select/select.d.ts +83 -0
- package/components/shell/index.d.ts +1 -0
- package/components/shell/model.d.ts +50 -0
- package/components/shell/shell.d.ts +28 -0
- package/components/shell-sub-navigation/index.d.ts +1 -0
- package/components/shell-sub-navigation/model.d.ts +5 -0
- package/components/shell-sub-navigation/shell-sub-navigation.d.ts +27 -0
- package/components/stack/index.d.ts +1 -0
- package/components/stack/model.d.ts +34 -0
- package/components/stack/stack.d.ts +26 -0
- package/components/switch/index.d.ts +1 -0
- package/components/switch/model.d.ts +10 -0
- package/components/switch/switch.d.ts +52 -0
- package/components/tab-item/index.d.ts +1 -0
- package/components/tab-item/model.d.ts +24 -0
- package/components/tab-item/tab-item.d.ts +46 -0
- package/components/tab-list/index.d.ts +1 -0
- package/components/tab-list/model.d.ts +5 -0
- package/components/tab-list/tab-list.d.ts +20 -0
- package/components/tab-panel/index.d.ts +1 -0
- package/components/tab-panel/model.d.ts +10 -0
- package/components/tab-panel/tab-panel.d.ts +20 -0
- package/components/tabs/index.d.ts +1 -0
- package/components/tabs/model.d.ts +58 -0
- package/components/tabs/tabs.d.ts +45 -0
- package/components/tag/index.d.ts +1 -0
- package/components/tag/model.d.ts +47 -0
- package/components/tag/tag.d.ts +34 -0
- package/components/textarea/index.d.ts +1 -0
- package/components/textarea/model.d.ts +34 -0
- package/components/textarea/textarea.d.ts +84 -0
- package/components/tooltip/index.d.ts +1 -0
- package/components/tooltip/model.d.ts +20 -0
- package/components/tooltip/tooltip.d.ts +39 -0
- package/fesm2022/db-ux-ngx-core-components.mjs +8583 -0
- package/fesm2022/db-ux-ngx-core-components.mjs.map +1 -0
- package/index.d.ts +92 -0
- package/package.json +3 -7
- package/shared/constants.d.ts +91 -0
- package/shared/model.d.ts +601 -0
- package/utils/document-click-listener.d.ts +8 -0
- package/utils/document-scroll-listener.d.ts +9 -0
- package/utils/floating-components.d.ts +36 -0
- package/utils/form-components.d.ts +2 -0
- package/utils/index.d.ts +40 -0
- package/utils/navigation.d.ts +28 -0
- package/agent/Accordion.md +0 -52
- package/agent/AccordionItem.md +0 -45
- package/agent/Badge.md +0 -48
- package/agent/Brand.md +0 -29
- package/agent/Button.md +0 -59
- package/agent/Card.md +0 -39
- package/agent/Checkbox.md +0 -52
- package/agent/CustomSelect.md +0 -89
- package/agent/Divider.md +0 -37
- package/agent/Drawer.md +0 -90
- package/agent/Header.md +0 -45
- package/agent/Icon.md +0 -36
- package/agent/Infotext.md +0 -41
- package/agent/Input.md +0 -58
- package/agent/Link.md +0 -60
- package/agent/Navigation.md +0 -34
- package/agent/NavigationItem.md +0 -45
- package/agent/Notification.md +0 -52
- package/agent/Page.md +0 -45
- package/agent/Popover.md +0 -69
- package/agent/Radio.md +0 -39
- package/agent/Section.md +0 -39
- package/agent/Select.md +0 -80
- package/agent/Stack.md +0 -51
- package/agent/Switch.md +0 -55
- package/agent/TabItem.md +0 -41
- package/agent/Tabs.md +0 -80
- package/agent/Tag.md +0 -48
- package/agent/Textarea.md +0 -57
- package/agent/Tooltip.md +0 -64
- package/agent/_instructions.md +0 -31
package/agent/Switch.md
DELETED
|
@@ -1,55 +0,0 @@
|
|
|
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
|
-
```
|
package/agent/TabItem.md
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
# TabItem Examples (angular)
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { Component, effect } from "@angular/core";
|
|
7
|
-
import { CommonModule } from "@angular/common";
|
|
8
|
-
|
|
9
|
-
import { DBTabItem } from "../index";
|
|
10
|
-
|
|
11
|
-
@Component({
|
|
12
|
-
selector: "tab-item",
|
|
13
|
-
standalone: true,
|
|
14
|
-
imports: [CommonModule, DBTabItem],
|
|
15
|
-
template: `<ng-container
|
|
16
|
-
><h1>DBTabItem Documentation Examples</h1>
|
|
17
|
-
<h2>1. Default Tab Item</h2>
|
|
18
|
-
<db-tab-item>Default Tab Item</db-tab-item>
|
|
19
|
-
<h2>2. Active State</h2>
|
|
20
|
-
<db-tab-item [active]="true">Active Tab Item</db-tab-item>
|
|
21
|
-
<h2>3. Disabled State</h2>
|
|
22
|
-
<db-tab-item [disabled]="true">Disabled Tab Item</db-tab-item>
|
|
23
|
-
<h2>4. Icon Variants</h2>
|
|
24
|
-
<db-tab-item icon="user">Tab Item with Icon</db-tab-item>
|
|
25
|
-
<db-tab-item iconLeading="arrow-left">
|
|
26
|
-
Tab Item with Leading Icon
|
|
27
|
-
</db-tab-item>
|
|
28
|
-
<db-tab-item iconTrailing="arrow-right">
|
|
29
|
-
Tab Item with Trailing Icon
|
|
30
|
-
</db-tab-item>
|
|
31
|
-
<h2>5. Label Property</h2>
|
|
32
|
-
<db-tab-item label="Tab Item Label">Tab Item with Label</db-tab-item>
|
|
33
|
-
<h2>6. No Text</h2>
|
|
34
|
-
<db-tab-item icon="user" [noText]="true"></db-tab-item
|
|
35
|
-
></ng-container> `,
|
|
36
|
-
styles: `:host { display: contents; }`,
|
|
37
|
-
})
|
|
38
|
-
export class TabItem {
|
|
39
|
-
constructor() {}
|
|
40
|
-
}
|
|
41
|
-
```
|
package/agent/Tabs.md
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
# Tabs Examples (angular)
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { Component, effect } from "@angular/core";
|
|
7
|
-
import { CommonModule } from "@angular/common";
|
|
8
|
-
|
|
9
|
-
import { DBTabItem } from "../../tab-item/index";
|
|
10
|
-
import { DBTabList } from "../../tab-list/index";
|
|
11
|
-
import { DBTabPanel } from "../../tab-panel/index";
|
|
12
|
-
import { DBTabs } from "../index";
|
|
13
|
-
|
|
14
|
-
@Component({
|
|
15
|
-
selector: "tabs",
|
|
16
|
-
standalone: true,
|
|
17
|
-
imports: [CommonModule, DBTabs, DBTabList, DBTabItem, DBTabPanel],
|
|
18
|
-
template: `<ng-container
|
|
19
|
-
><h1>DBTabs Documentation Examples</h1>
|
|
20
|
-
<h2>1. Default Tabs</h2>
|
|
21
|
-
<db-tabs
|
|
22
|
-
><db-tab-list
|
|
23
|
-
><db-tab-item>Tab 1</db-tab-item>
|
|
24
|
-
<db-tab-item>Tab 2</db-tab-item>
|
|
25
|
-
<db-tab-item>Tab 3</db-tab-item></db-tab-list
|
|
26
|
-
>
|
|
27
|
-
<db-tab-panel>Tab Panel 1</db-tab-panel>
|
|
28
|
-
<db-tab-panel>Tab Panel 2</db-tab-panel>
|
|
29
|
-
<db-tab-panel>Tab Panel 3</db-tab-panel></db-tabs
|
|
30
|
-
>
|
|
31
|
-
<h2>2. Behavior Variants</h2>
|
|
32
|
-
<db-tabs behavior="scrollbar"
|
|
33
|
-
><db-tab-list
|
|
34
|
-
><db-tab-item>Tab 1</db-tab-item>
|
|
35
|
-
<db-tab-item>Tab 2</db-tab-item>
|
|
36
|
-
<db-tab-item>Tab 3</db-tab-item></db-tab-list
|
|
37
|
-
>
|
|
38
|
-
<db-tab-panel>Tab Panel 1</db-tab-panel>
|
|
39
|
-
<db-tab-panel>Tab Panel 2</db-tab-panel>
|
|
40
|
-
<db-tab-panel>Tab Panel 3</db-tab-panel></db-tabs
|
|
41
|
-
>
|
|
42
|
-
<db-tabs behavior="arrows"
|
|
43
|
-
><db-tab-list
|
|
44
|
-
><db-tab-item>Tab 1</db-tab-item>
|
|
45
|
-
<db-tab-item>Tab 2</db-tab-item>
|
|
46
|
-
<db-tab-item>Tab 3</db-tab-item></db-tab-list
|
|
47
|
-
>
|
|
48
|
-
<db-tab-panel>Tab Panel 1</db-tab-panel>
|
|
49
|
-
<db-tab-panel>Tab Panel 2</db-tab-panel>
|
|
50
|
-
<db-tab-panel>Tab Panel 3</db-tab-panel></db-tabs
|
|
51
|
-
>
|
|
52
|
-
<h2>3. Initial Selected Index</h2>
|
|
53
|
-
<db-tabs [initialSelectedIndex]="1"
|
|
54
|
-
><db-tab-list
|
|
55
|
-
><db-tab-item>Tab 1</db-tab-item>
|
|
56
|
-
<db-tab-item>Tab 2</db-tab-item>
|
|
57
|
-
<db-tab-item>Tab 3</db-tab-item></db-tab-list
|
|
58
|
-
>
|
|
59
|
-
<db-tab-panel>Tab Panel 1</db-tab-panel>
|
|
60
|
-
<db-tab-panel>Tab Panel 2</db-tab-panel>
|
|
61
|
-
<db-tab-panel>Tab Panel 3</db-tab-panel></db-tabs
|
|
62
|
-
>
|
|
63
|
-
<h2>4. Initial Selected Mode</h2>
|
|
64
|
-
<db-tabs initialSelectedMode="manually"
|
|
65
|
-
><db-tab-list
|
|
66
|
-
><db-tab-item>Tab 1</db-tab-item>
|
|
67
|
-
<db-tab-item>Tab 2</db-tab-item>
|
|
68
|
-
<db-tab-item>Tab 3</db-tab-item></db-tab-list
|
|
69
|
-
>
|
|
70
|
-
<db-tab-panel>Tab Panel 1</db-tab-panel>
|
|
71
|
-
<db-tab-panel>Tab Panel 2</db-tab-panel>
|
|
72
|
-
<db-tab-panel>Tab Panel 3</db-tab-panel></db-tabs
|
|
73
|
-
></ng-container
|
|
74
|
-
> `,
|
|
75
|
-
styles: `:host { display: contents; }`,
|
|
76
|
-
})
|
|
77
|
-
export class Tabs {
|
|
78
|
-
constructor() {}
|
|
79
|
-
}
|
|
80
|
-
```
|
package/agent/Tag.md
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
# Tag Examples (angular)
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { Component, effect } from "@angular/core";
|
|
7
|
-
import { CommonModule } from "@angular/common";
|
|
8
|
-
|
|
9
|
-
import { DBButton } from "../../button";
|
|
10
|
-
import { DBCheckbox } from "../../checkbox";
|
|
11
|
-
import { DBLink } from "../../link";
|
|
12
|
-
import { DBRadio } from "../../radio";
|
|
13
|
-
import { DBTag } from "../index";
|
|
14
|
-
|
|
15
|
-
@Component({
|
|
16
|
-
selector: "tag",
|
|
17
|
-
standalone: true,
|
|
18
|
-
imports: [CommonModule, DBTag, DBButton, DBLink, DBCheckbox, DBRadio],
|
|
19
|
-
template: `<ng-container
|
|
20
|
-
><h1>DBTag Documentation Examples</h1>
|
|
21
|
-
<h2>1. Default Tags</h2>
|
|
22
|
-
<db-tag><db-button>Tag as Button</db-button></db-tag>
|
|
23
|
-
<db-tag><db-link>Tag as Link</db-link></db-tag>
|
|
24
|
-
<db-tag><db-checkbox>Tag as Checkbox</db-checkbox></db-tag>
|
|
25
|
-
<db-tag><db-radio>Tag as Radio</db-radio></db-tag>
|
|
26
|
-
<db-tag>Static Tag</db-tag>
|
|
27
|
-
<h2>2. Overflow Example</h2>
|
|
28
|
-
<db-tag [overflow]="true"><span>Static Tag with overflow</span></db-tag>
|
|
29
|
-
<h2>3. Removable Tag</h2>
|
|
30
|
-
<db-tag behavior="removable" (remove)="console.log('Tag removed')">
|
|
31
|
-
Removable Tag
|
|
32
|
-
</db-tag>
|
|
33
|
-
<h2>4. Semantic Variants</h2>
|
|
34
|
-
<db-tag semantic="adaptive">Adaptive Tag</db-tag>
|
|
35
|
-
<db-tag semantic="neutral">Neutral Tag</db-tag>
|
|
36
|
-
<db-tag semantic="critical">Critical Tag</db-tag>
|
|
37
|
-
<db-tag semantic="informational">Informational Tag</db-tag>
|
|
38
|
-
<db-tag semantic="warning">Warning Tag</db-tag>
|
|
39
|
-
<db-tag semantic="successful">Successful Tag</db-tag>
|
|
40
|
-
<h2>5. Icon Support</h2>
|
|
41
|
-
<db-tag icon="user">Tag with Icon</db-tag></ng-container
|
|
42
|
-
> `,
|
|
43
|
-
styles: `:host { display: contents; }`,
|
|
44
|
-
})
|
|
45
|
-
export class Tag {
|
|
46
|
-
constructor() {}
|
|
47
|
-
}
|
|
48
|
-
```
|
package/agent/Textarea.md
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
# Textarea Examples (angular)
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { Component, effect } from "@angular/core";
|
|
7
|
-
import { CommonModule } from "@angular/common";
|
|
8
|
-
|
|
9
|
-
import { DBTextarea } from "../index";
|
|
10
|
-
|
|
11
|
-
@Component({
|
|
12
|
-
selector: "textarea",
|
|
13
|
-
standalone: true,
|
|
14
|
-
imports: [CommonModule, DBTextarea],
|
|
15
|
-
template: `<ng-container
|
|
16
|
-
><h1>DBTextarea Documentation Examples</h1>
|
|
17
|
-
<h2>1. Default Textarea</h2>
|
|
18
|
-
<db-textarea label="Default Textarea"></db-textarea>
|
|
19
|
-
<h2>2. Resizable Variants</h2>
|
|
20
|
-
<db-textarea resize="none" label="No Resize"></db-textarea>
|
|
21
|
-
<db-textarea resize="both" label="Resize Both"></db-textarea>
|
|
22
|
-
<db-textarea resize="horizontal" label="Resize Horizontal"></db-textarea>
|
|
23
|
-
<db-textarea resize="vertical" label="Resize Vertical"></db-textarea>
|
|
24
|
-
<h2>3. Rows and Columns</h2>
|
|
25
|
-
<db-textarea
|
|
26
|
-
label="Custom Rows and Columns"
|
|
27
|
-
[rows]="5"
|
|
28
|
-
[cols]="30"
|
|
29
|
-
></db-textarea>
|
|
30
|
-
<h2>4. Wrap Variants</h2>
|
|
31
|
-
<db-textarea wrap="hard" label="Hard Wrap"></db-textarea>
|
|
32
|
-
<db-textarea wrap="soft" label="Soft Wrap"></db-textarea>
|
|
33
|
-
<db-textarea wrap="off" label="No Wrap"></db-textarea>
|
|
34
|
-
<h2>5. Disabled State</h2>
|
|
35
|
-
<db-textarea label="Disabled Textarea" [disabled]="true"></db-textarea>
|
|
36
|
-
<h2>6. Placeholder Examples</h2>
|
|
37
|
-
<db-textarea
|
|
38
|
-
placeholder="Enter text here"
|
|
39
|
-
label="With Placeholder"
|
|
40
|
-
></db-textarea>
|
|
41
|
-
<h2>7. Message Property Example</h2>
|
|
42
|
-
<db-textarea
|
|
43
|
-
label="Textarea with Message"
|
|
44
|
-
message="This is a helper message."
|
|
45
|
-
></db-textarea>
|
|
46
|
-
<h2>8. Input Event Example</h2>
|
|
47
|
-
<db-textarea
|
|
48
|
-
label="Input Event"
|
|
49
|
-
(input)="console.log('Input event:', $event.target.value)"
|
|
50
|
-
></db-textarea
|
|
51
|
-
></ng-container> `,
|
|
52
|
-
styles: `:host { display: contents; }`,
|
|
53
|
-
})
|
|
54
|
-
export class Textarea {
|
|
55
|
-
constructor() {}
|
|
56
|
-
}
|
|
57
|
-
```
|
package/agent/Tooltip.md
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
# Tooltip Examples (angular)
|
|
4
|
-
|
|
5
|
-
```ts
|
|
6
|
-
import { Component, effect } from "@angular/core";
|
|
7
|
-
import { CommonModule } from "@angular/common";
|
|
8
|
-
|
|
9
|
-
import { DBButton } from "../../button";
|
|
10
|
-
import { DBTooltip } from "../index";
|
|
11
|
-
|
|
12
|
-
@Component({
|
|
13
|
-
selector: "tooltip",
|
|
14
|
-
standalone: true,
|
|
15
|
-
imports: [CommonModule, DBButton, DBTooltip],
|
|
16
|
-
template: `<ng-container
|
|
17
|
-
><h1>DBTooltip Documentation Examples</h1>
|
|
18
|
-
<h2>1. Default Tooltip</h2>
|
|
19
|
-
<db-button>
|
|
20
|
-
Hover on me to open Tooltip
|
|
21
|
-
|
|
22
|
-
<db-tooltip>Tooltip</db-tooltip></db-button
|
|
23
|
-
>
|
|
24
|
-
<h2>2. Tooltip Variants</h2>
|
|
25
|
-
<db-button>
|
|
26
|
-
Description Tooltip
|
|
27
|
-
|
|
28
|
-
<db-tooltip variant="description">
|
|
29
|
-
Description Tooltip Content
|
|
30
|
-
</db-tooltip></db-button
|
|
31
|
-
>
|
|
32
|
-
<db-button>
|
|
33
|
-
Label Tooltip
|
|
34
|
-
|
|
35
|
-
<db-tooltip variant="label">Label Tooltip Content</db-tooltip></db-button
|
|
36
|
-
>
|
|
37
|
-
<h2>3. Tooltip with Arrow</h2>
|
|
38
|
-
<db-button>
|
|
39
|
-
Tooltip with Arrow
|
|
40
|
-
|
|
41
|
-
<db-tooltip [showArrow]="true">
|
|
42
|
-
Tooltip Content with Arrow
|
|
43
|
-
</db-tooltip></db-button
|
|
44
|
-
>
|
|
45
|
-
<h2>4. Placement Variants</h2>
|
|
46
|
-
<db-button>
|
|
47
|
-
Top Placement
|
|
48
|
-
|
|
49
|
-
<db-tooltip placement="top">Tooltip Content at Top</db-tooltip></db-button
|
|
50
|
-
>
|
|
51
|
-
<db-button>
|
|
52
|
-
Bottom Placement
|
|
53
|
-
|
|
54
|
-
<db-tooltip placement="bottom">
|
|
55
|
-
Tooltip Content at Bottom
|
|
56
|
-
</db-tooltip></db-button
|
|
57
|
-
></ng-container
|
|
58
|
-
> `,
|
|
59
|
-
styles: `:host { display: contents; }`,
|
|
60
|
-
})
|
|
61
|
-
export class Tooltip {
|
|
62
|
-
constructor() {}
|
|
63
|
-
}
|
|
64
|
-
```
|
package/agent/_instructions.md
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
- Use "@db-ux/ngx-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
|