@db-ux/ngx-core-components 4.13.1-angular-signal-forms13-577b861 → 4.14.0-shell-52d18db

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/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @db-ux/ngx-core-components
2
2
 
3
+ ## 4.14.0
4
+
5
+ ### Minor Changes
6
+
7
+ - feat: support Angular Signal Forms starting with Angular 21 - [see commit e6be73f](https://github.com/db-ux-design-system/core-web/commit/e6be73fa3b104a324ac5d29ccda12f2857a6f807)
8
+
9
+ - refactor: consolidate floating component listeners into shared abstractions - [see commit de676fe](https://github.com/db-ux-design-system/core-web/commit/de676fe17e8a8157acd2e574fcea28ab6022389c)
10
+
11
+ ### Patch Changes
12
+
13
+ - fix: correct accordion variant backgrounds to match design (divider is transparent, card is level-1 including the open content area) - [see commit b611b84](https://github.com/db-ux-design-system/core-web/commit/b611b845e6aded8f50dd07f3727ebf5fdf902b69)
14
+
15
+ - fix: `track` special attributes need to be unique - [see commit 63eb9d5](https://github.com/db-ux-design-system/core-web/commit/63eb9d596e83f196ca00aee1de26a5a2e33b4864)
16
+
17
+ - fix: use inline-flex with align-items center for link components to vertically center text with fixed height across densities - [see commit 5ebdef8](https://github.com/db-ux-design-system/core-web/commit/5ebdef89b14d56d901630aa61e098213704ba603)
18
+
3
19
  ## 4.13.0
4
20
 
5
21
  ### Minor Changes
@@ -0,0 +1,25 @@
1
+
2
+
3
+ # ControlPanelBrand Examples (angular)
4
+
5
+ ```ts
6
+ import { Component, effect, VERSION } from "@angular/core";
7
+ import { CommonModule } from "@angular/common";
8
+
9
+ import { DBControlPanelBrand } from "../index";
10
+
11
+ @Component({
12
+ selector: "control-panel-brand",
13
+ standalone: true,
14
+ imports: [CommonModule, DBControlPanelBrand],
15
+ template: `<ng-container
16
+ ><h1>DBControlPanelBrand Documentation Examples</h1>
17
+ <h2>1. Default Control Panel Brand</h2>
18
+ <db-control-panel-brand></db-control-panel-brand
19
+ ></ng-container> `,
20
+ styles: `:host { display: contents; }`,
21
+ })
22
+ export class ControlPanelBrand {
23
+ constructor() {}
24
+ }
25
+ ```
@@ -0,0 +1,65 @@
1
+
2
+
3
+ # ControlPanelDesktop Examples (angular)
4
+
5
+ ```ts
6
+ import { Component, effect, VERSION } from "@angular/core";
7
+ import { CommonModule } from "@angular/common";
8
+
9
+ import { DBControlPanelBrand } from "../../control-panel-brand";
10
+ import { DBControlPanelNavigation } from "../../control-panel-navigation";
11
+ import { DBControlPanelNavigationItem } from "../../control-panel-navigation-item";
12
+ import { DBControlPanelDesktop } from "../index";
13
+
14
+ @Component({
15
+ selector: "control-panel-desktop",
16
+ standalone: true,
17
+ imports: [
18
+ CommonModule,
19
+ DBControlPanelDesktop,
20
+ DBControlPanelNavigation,
21
+ DBControlPanelNavigationItem,
22
+ DBControlPanelBrand,
23
+ ],
24
+ template: `<ng-container
25
+ ><h1>DBControlPanelDesktop Documentation Examples</h1>
26
+ <h2>1. Default Control Panel Desktop</h2>
27
+ <db-control-panel-desktop
28
+ [brand]="<DBControlPanelBrand>Application Name</DBControlPanelBrand>"
29
+ ><db-control-panel-navigation
30
+ ><db-control-panel-navigation-item icon="x_placeholder"
31
+ ><a href="#">Navi-Item 1</a></db-control-panel-navigation-item
32
+ >
33
+ <db-control-panel-navigation-item icon="x_placeholder" [disabled]="true"
34
+ ><a href="#">Navi-Item 2</a></db-control-panel-navigation-item
35
+ ></db-control-panel-navigation
36
+ ></db-control-panel-desktop
37
+ >
38
+ <h2>2. Vertical Orientation</h2>
39
+ <db-control-panel-desktop
40
+ orientation="vertical"
41
+ [brand]="<DBControlPanelBrand>Application Name</DBControlPanelBrand>"
42
+ ><db-control-panel-navigation
43
+ ><db-control-panel-navigation-item icon="x_placeholder"
44
+ ><a href="#">Navi-Item 1</a></db-control-panel-navigation-item
45
+ ></db-control-panel-navigation
46
+ ></db-control-panel-desktop
47
+ >
48
+ <h2>3. Collapsed (expanded=false)</h2>
49
+ <db-control-panel-desktop
50
+ orientation="vertical"
51
+ [expanded]="false"
52
+ [brand]="<DBControlPanelBrand>Application Name</DBControlPanelBrand>"
53
+ ><db-control-panel-navigation
54
+ ><db-control-panel-navigation-item icon="x_placeholder"
55
+ ><a href="#">Navi-Item 1</a></db-control-panel-navigation-item
56
+ ></db-control-panel-navigation
57
+ ></db-control-panel-desktop
58
+ ></ng-container
59
+ > `,
60
+ styles: `:host { display: contents; }`,
61
+ })
62
+ export class ControlPanelDesktop {
63
+ constructor() {}
64
+ }
65
+ ```
@@ -0,0 +1,30 @@
1
+
2
+
3
+ # ControlPanelMeta Examples (angular)
4
+
5
+ ```ts
6
+ import { Component, effect, VERSION } from "@angular/core";
7
+ import { CommonModule } from "@angular/common";
8
+
9
+ import { DBLink } from "../../link";
10
+ import { DBControlPanelMeta } from "../index";
11
+
12
+ @Component({
13
+ selector: "control-panel-meta",
14
+ standalone: true,
15
+ imports: [CommonModule, DBControlPanelMeta, DBLink],
16
+ template: `<ng-container
17
+ ><h1>DBControlPanelMeta Documentation Examples</h1>
18
+ <h2>1. Default Meta</h2>
19
+ <db-control-panel-meta
20
+ ><db-link href="#">Imprint</db-link>
21
+ <db-link href="#">Help</db-link>
22
+ <db-link href="#">Privacy</db-link></db-control-panel-meta
23
+ ></ng-container
24
+ > `,
25
+ styles: `:host { display: contents; }`,
26
+ })
27
+ export class ControlPanelMeta {
28
+ constructor() {}
29
+ }
30
+ ```
@@ -0,0 +1,57 @@
1
+
2
+
3
+ # ControlPanelMobile Examples (angular)
4
+
5
+ ```ts
6
+ import { Component, effect, VERSION } from "@angular/core";
7
+ import { CommonModule } from "@angular/common";
8
+
9
+ import { DBControlPanelBrand } from "../../control-panel-brand";
10
+ import { DBControlPanelNavigation } from "../../control-panel-navigation";
11
+ import { DBControlPanelNavigationItem } from "../../control-panel-navigation-item";
12
+ import { DBControlPanelMobile } from "../index";
13
+
14
+ @Component({
15
+ selector: "control-panel-mobile",
16
+ standalone: true,
17
+ imports: [
18
+ CommonModule,
19
+ DBControlPanelMobile,
20
+ DBControlPanelNavigation,
21
+ DBControlPanelNavigationItem,
22
+ DBControlPanelBrand,
23
+ ],
24
+ template: `<ng-container
25
+ ><h1>DBControlPanelMobile Documentation Examples</h1>
26
+ <h2>1. Default Control Panel Mobile (Drawer)</h2>
27
+ <db-control-panel-mobile
28
+ drawerHeaderText="Application Name"
29
+ [brand]="<DBControlPanelBrand>Application Name</DBControlPanelBrand>"
30
+ ><db-control-panel-navigation
31
+ ><db-control-panel-navigation-item icon="x_placeholder"
32
+ ><a href="#">Navi-Item 1</a></db-control-panel-navigation-item
33
+ >
34
+ <db-control-panel-navigation-item icon="x_placeholder" [disabled]="true"
35
+ ><a href="#">Navi-Item 2</a></db-control-panel-navigation-item
36
+ ></db-control-panel-navigation
37
+ ></db-control-panel-mobile
38
+ >
39
+ <h2>2. Bottom Position + Flat Icon Variant</h2>
40
+ <db-control-panel-mobile
41
+ position="bottom"
42
+ variant="flat-icon"
43
+ drawerHeaderText="Application Name"
44
+ [brand]="<DBControlPanelBrand>Application Name</DBControlPanelBrand>"
45
+ ><db-control-panel-navigation
46
+ ><db-control-panel-navigation-item icon="x_placeholder"
47
+ ><a href="#">Navi-Item 1</a></db-control-panel-navigation-item
48
+ ></db-control-panel-navigation
49
+ ></db-control-panel-mobile
50
+ ></ng-container
51
+ > `,
52
+ styles: `:host { display: contents; }`,
53
+ })
54
+ export class ControlPanelMobile {
55
+ constructor() {}
56
+ }
57
+ ```
@@ -0,0 +1,40 @@
1
+
2
+
3
+ # ControlPanelNavigation Examples (angular)
4
+
5
+ ```ts
6
+ import { Component, effect, VERSION } from "@angular/core";
7
+ import { CommonModule } from "@angular/common";
8
+
9
+ import { DBControlPanelNavigationItem } from "../../control-panel-navigation-item/index";
10
+ import { DBControlPanelNavigation } from "../index";
11
+
12
+ @Component({
13
+ selector: "control-panel-navigation",
14
+ standalone: true,
15
+ imports: [
16
+ CommonModule,
17
+ DBControlPanelNavigation,
18
+ DBControlPanelNavigationItem,
19
+ ],
20
+ template: `<ng-container
21
+ ><h1>DBControlPanelNavigation Documentation Examples</h1>
22
+ <h2>1. Default Navigation</h2>
23
+ <db-control-panel-navigation
24
+ ><db-control-panel-navigation-item
25
+ ><a href="#">Navi-Item 1</a></db-control-panel-navigation-item
26
+ >
27
+ <db-control-panel-navigation-item icon="x_placeholder"
28
+ ><a href="#">Navi-Item 2</a></db-control-panel-navigation-item
29
+ >
30
+ <db-control-panel-navigation-item [disabled]="true"
31
+ ><a href="#">Navi-Item 3</a></db-control-panel-navigation-item
32
+ ></db-control-panel-navigation
33
+ ></ng-container
34
+ > `,
35
+ styles: `:host { display: contents; }`,
36
+ })
37
+ export class ControlPanelNavigation {
38
+ constructor() {}
39
+ }
40
+ ```
@@ -0,0 +1,49 @@
1
+
2
+
3
+ # ControlPanelNavigationItem Examples (angular)
4
+
5
+ ```ts
6
+ import { Component, effect, VERSION } from "@angular/core";
7
+ import { CommonModule } from "@angular/common";
8
+
9
+ import { DBControlPanelNavigationItem } from "../index";
10
+
11
+ @Component({
12
+ selector: "control-panel-navigation-item",
13
+ standalone: true,
14
+ imports: [CommonModule, DBControlPanelNavigationItem],
15
+ template: `<ng-container
16
+ ><h1>DBControlPanelNavigationItem Documentation Examples</h1>
17
+ <h2>1. Default Navigation Item</h2>
18
+ <db-control-panel-navigation-item>
19
+ Default Navigation Item
20
+ </db-control-panel-navigation-item>
21
+ <h2>2. Active State</h2>
22
+ <db-control-panel-navigation-item [active]="true">
23
+ Active Navigation Item
24
+ </db-control-panel-navigation-item>
25
+ <h2>3. Disabled State</h2>
26
+ <db-control-panel-navigation-item [disabled]="true">
27
+ Disabled Navigation Item
28
+ </db-control-panel-navigation-item>
29
+ <h2>4. Sub-Navigation</h2>
30
+ <db-control-panel-navigation-item
31
+ [subNavigation]="<div>Sub Navigation Content</div>"
32
+ >
33
+ Navigation Item with Sub-Navigation
34
+ </db-control-panel-navigation-item>
35
+ <h2>5. Icon Support</h2>
36
+ <db-control-panel-navigation-item icon="user">
37
+ Navigation Item with Icon
38
+ </db-control-panel-navigation-item>
39
+ <h2>6. Custom Class</h2>
40
+ <db-control-panel-navigation-item className="custom-class">
41
+ Navigation Item with Custom Class
42
+ </db-control-panel-navigation-item></ng-container
43
+ > `,
44
+ styles: `:host { display: contents; }`,
45
+ })
46
+ export class ControlPanelNavigationItem {
47
+ constructor() {}
48
+ }
49
+ ```
@@ -0,0 +1,30 @@
1
+
2
+
3
+ # ControlPanelPrimaryActions Examples (angular)
4
+
5
+ ```ts
6
+ import { Component, effect, VERSION } from "@angular/core";
7
+ import { CommonModule } from "@angular/common";
8
+
9
+ import { DBButton } from "../../button";
10
+ import { DBControlPanelPrimaryActions } from "../index";
11
+
12
+ @Component({
13
+ selector: "control-panel-primary-actions",
14
+ standalone: true,
15
+ imports: [CommonModule, DBControlPanelPrimaryActions, DBButton],
16
+ template: `<ng-container
17
+ ><h1>DBControlPanelPrimaryActions Documentation Examples</h1>
18
+ <h2>1. Default Primary Actions</h2>
19
+ <db-control-panel-primary-actions
20
+ ><db-button icon="magnifying_glass" variant="ghost" [noText]="true">
21
+ Search
22
+ </db-button></db-control-panel-primary-actions
23
+ ></ng-container
24
+ > `,
25
+ styles: `:host { display: contents; }`,
26
+ })
27
+ export class ControlPanelPrimaryActions {
28
+ constructor() {}
29
+ }
30
+ ```
@@ -0,0 +1,36 @@
1
+
2
+
3
+ # ControlPanelSecondaryActions Examples (angular)
4
+
5
+ ```ts
6
+ import { Component, effect, VERSION } from "@angular/core";
7
+ import { CommonModule } from "@angular/common";
8
+
9
+ import { DBButton } from "../../button";
10
+ import { DBControlPanelSecondaryActions } from "../index";
11
+
12
+ @Component({
13
+ selector: "control-panel-secondary-actions",
14
+ standalone: true,
15
+ imports: [CommonModule, DBControlPanelSecondaryActions, DBButton],
16
+ template: `<ng-container
17
+ ><h1>DBControlPanelSecondaryActions Documentation Examples</h1>
18
+ <h2>1. Default Secondary Actions</h2>
19
+ <db-control-panel-secondary-actions
20
+ ><db-button icon="x_placeholder" variant="ghost" [noText]="true">
21
+ Profile
22
+ </db-button>
23
+ <db-button icon="x_placeholder" variant="ghost" [noText]="true">
24
+ Notification
25
+ </db-button>
26
+ <db-button icon="x_placeholder" variant="ghost" [noText]="true">
27
+ Help
28
+ </db-button></db-control-panel-secondary-actions
29
+ ></ng-container
30
+ > `,
31
+ styles: `:host { display: contents; }`,
32
+ })
33
+ export class ControlPanelSecondaryActions {
34
+ constructor() {}
35
+ }
36
+ ```
package/agent/Drawer.md CHANGED
@@ -1,11 +1,3 @@
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
1
 
10
2
 
11
3
  # Drawer Examples (angular)
package/agent/Shell.md ADDED
@@ -0,0 +1,45 @@
1
+
2
+
3
+ # Shell Examples (angular)
4
+
5
+ ```ts
6
+ import { Component, effect, VERSION } from "@angular/core";
7
+ import { CommonModule } from "@angular/common";
8
+
9
+ import { DBControlPanelNavigation } from "../../control-panel-navigation";
10
+ import { DBControlPanelNavigationItem } from "../../control-panel-navigation-item";
11
+ import { DBShell } from "../index";
12
+
13
+ @Component({
14
+ selector: "shell",
15
+ standalone: true,
16
+ imports: [
17
+ CommonModule,
18
+ DBShell,
19
+ DBControlPanelNavigation,
20
+ DBControlPanelNavigationItem,
21
+ ],
22
+ template: `<ng-container
23
+ ><h1>DBShell Documentation Examples</h1>
24
+ <h2>1. Full Shell (Desktop + Mobile Control Panel)</h2>
25
+ <db-shell>
26
+ <db-control-panel-desktop controlPanelDesktop><db-control-panel-brand brand data-logo="db-systel"></db-control-panel-brand><db-control-panel-meta meta><db-link href="#">Imprint</db-link><db-link href="#">Help</db-link></db-control-panel-meta><db-control-panel-primary-actions primaryActions><db-button icon="magnifying_glass" variant="ghost" noText>Search</db-button></db-control-panel-primary-actions><db-control-panel-secondary-actions secondaryActions><db-button icon="x_placeholder" variant="ghost" noText>Profile</db-button><db-button icon="x_placeholder" variant="ghost" noText>Notification</db-button><db-button icon="x_placeholder" variant="ghost" noText>Help</db-button></db-control-panel-secondary-actions><db-control-panel-navigation><db-control-panel-navigation-item icon="x_placeholder"><a href="#">Navi-Item 1</a></db-control-panel-navigation-item><db-control-panel-navigation-item icon="x_placeholder" disabled><a href="#">Navi-Item 2</a></db-control-panel-navigation-item></db-control-panel-navigation></db-control-panel-desktop>
27
+ <db-control-panel-mobile controlPanelMobile drawerHeaderText="Application Name"><db-control-panel-brand brand data-logo="db-systel"></db-control-panel-brand><db-control-panel-meta meta><db-link href="#">Imprint</db-link><db-link href="#">Help</db-link></db-control-panel-meta><db-control-panel-primary-actions primaryActions><db-button icon="magnifying_glass" variant="ghost" noText>Search</db-button></db-control-panel-primary-actions><db-control-panel-secondary-actions secondaryActions><db-button icon="x_placeholder" variant="ghost" noText>Profile</db-button><db-button icon="x_placeholder" variant="ghost" noText>Notification</db-button><db-button icon="x_placeholder" variant="ghost" noText>Help</db-button></db-control-panel-secondary-actions><db-control-panel-navigation><db-control-panel-navigation-item icon="x_placeholder"><a href="#">Navi-Item 1</a></db-control-panel-navigation-item><db-control-panel-navigation-item icon="x_placeholder" disabled><a href="#">Navi-Item 2</a></db-control-panel-navigation-item></db-control-panel-navigation></db-control-panel-mobile>
28
+
29
+
30
+ <db-control-panel-navigation
31
+ ><db-control-panel-navigation-item icon="x_placeholder"
32
+ ><a href="#">Navi-Item 1</a></db-control-panel-navigation-item
33
+ >
34
+ <db-control-panel-navigation-item icon="x_placeholder" [disabled]="true"
35
+ ><a href="#">Navi-Item 2</a></db-control-panel-navigation-item
36
+ ></db-control-panel-navigation
37
+ ></db-shell
38
+ ></ng-container
39
+ > `,
40
+ styles: `:host { display: contents; }`,
41
+ })
42
+ export class Shell {
43
+ constructor() {}
44
+ }
45
+ ```
@@ -0,0 +1,6 @@
1
+ ## CSS Properties
2
+
3
+ | CSS Variable | Default | CSS Property | Description | Example |
4
+ | --- | --- | --- | --- | --- |
5
+
6
+
@@ -1,5 +1,5 @@
1
1
  - Use "@db-ux/ngx-core-components" as import for components:
2
- - use for `DBDrawer` or `Drawer` the file __agent-path__/agent/Drawer.md
2
+ - use for `DBShellSubNavigation` or `ShellSubNavigation` the file __agent-path__/agent/ShellSubNavigation.md
3
3
  - use for `DBTooltip` or `Tooltip` the file __agent-path__/agent/Tooltip.md
4
4
  - use for `DBTextarea` or `Textarea` the file __agent-path__/agent/Textarea.md
5
5
  - use for `DBTag` or `Tag` the file __agent-path__/agent/Tag.md
@@ -7,6 +7,7 @@
7
7
  - use for `DBTabItem` or `TabItem` the file __agent-path__/agent/TabItem.md
8
8
  - use for `DBSwitch` or `Switch` the file __agent-path__/agent/Switch.md
9
9
  - use for `DBStack` or `Stack` the file __agent-path__/agent/Stack.md
10
+ - use for `DBShell` or `Shell` the file __agent-path__/agent/Shell.md
10
11
  - use for `DBSelect` or `Select` the file __agent-path__/agent/Select.md
11
12
  - use for `DBSection` or `Section` the file __agent-path__/agent/Section.md
12
13
  - use for `DBRadio` or `Radio` the file __agent-path__/agent/Radio.md
@@ -20,8 +21,17 @@
20
21
  - use for `DBInfotext` or `Infotext` the file __agent-path__/agent/Infotext.md
21
22
  - use for `DBIcon` or `Icon` the file __agent-path__/agent/Icon.md
22
23
  - use for `DBHeader` or `Header` the file __agent-path__/agent/Header.md
24
+ - use for `DBDrawer` or `Drawer` the file __agent-path__/agent/Drawer.md
23
25
  - use for `DBDivider` or `Divider` the file __agent-path__/agent/Divider.md
24
26
  - use for `DBCustomSelect` or `CustomSelect` the file __agent-path__/agent/CustomSelect.md
27
+ - use for `DBControlPanelSecondaryActions` or `ControlPanelSecondaryActions` the file __agent-path__/agent/ControlPanelSecondaryActions.md
28
+ - use for `DBControlPanelPrimaryActions` or `ControlPanelPrimaryActions` the file __agent-path__/agent/ControlPanelPrimaryActions.md
29
+ - use for `DBControlPanelNavigationItem` or `ControlPanelNavigationItem` the file __agent-path__/agent/ControlPanelNavigationItem.md
30
+ - use for `DBControlPanelNavigation` or `ControlPanelNavigation` the file __agent-path__/agent/ControlPanelNavigation.md
31
+ - use for `DBControlPanelMobile` or `ControlPanelMobile` the file __agent-path__/agent/ControlPanelMobile.md
32
+ - use for `DBControlPanelMeta` or `ControlPanelMeta` the file __agent-path__/agent/ControlPanelMeta.md
33
+ - use for `DBControlPanelDesktop` or `ControlPanelDesktop` the file __agent-path__/agent/ControlPanelDesktop.md
34
+ - use for `DBControlPanelBrand` or `ControlPanelBrand` the file __agent-path__/agent/ControlPanelBrand.md
25
35
  - use for `DBCheckbox` or `Checkbox` the file __agent-path__/agent/Checkbox.md
26
36
  - use for `DBCard` or `Card` the file __agent-path__/agent/Card.md
27
37
  - use for `DBButton` or `Button` the file __agent-path__/agent/Button.md