angular-toolbox 1.5.2 → 1.5.4

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.
@@ -82,7 +82,7 @@ export declare class DropdownComponent extends IdentifiableComponent {
82
82
  *
83
83
  * @returns Returns `true` whether the dropdown is opened; `false` otherwise.
84
84
  */
85
- isOpened(): boolean;
85
+ isOpen(): boolean;
86
86
  /**
87
87
  * @private
88
88
  */
@@ -7,4 +7,5 @@
7
7
  */
8
8
  export * from './angular-toolbox-logo/angular-toolbox-logo.component';
9
9
  export * from './dropdown/dropdown.component';
10
+ export * from './navbar/navbar.component';
10
11
  export * from './layout';
@@ -0,0 +1,114 @@
1
+ /**
2
+ * @license
3
+ * Copyright Pascal ECHEMANN. All Rights Reserved.
4
+ *
5
+ * Use of this source code is governed by an MIT-style license that can be
6
+ * found in the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
7
+ */
8
+ import { EventEmitter, OnInit } from '@angular/core';
9
+ import * as i0 from "@angular/core";
10
+ /**
11
+ * The `NavbarComponent` component is a horizontal menu. It can be used to show a list of navigation
12
+ * links positioned on the top side of your page.
13
+ */
14
+ export declare class NavbarComponent implements OnInit {
15
+ /**
16
+ * Emits a event each time the collapse state of the component changes in responsive mode.
17
+ */
18
+ readonly stateChange: EventEmitter<boolean>;
19
+ /**
20
+ * A string that represents the aria label of the brand item.
21
+ */
22
+ brandLabel: string;
23
+ /**
24
+ * Gets or sets the breakpoint that is used to indicate whether the navbar is in responsive mode, or not.
25
+ */
26
+ set breakpoint(value: number);
27
+ get breakpoint(): number;
28
+ /**
29
+ * A string that represents the aria label of the button when the menu is expanded in responsive mode.
30
+ */
31
+ set expandedLabel(value: string);
32
+ get expandedLabel(): string;
33
+ /**
34
+ * A string that represents the aria label of the button when the menu is collapsed in responsive mode.
35
+ */
36
+ set collapsedLabel(value: string);
37
+ get collapsedLabel(): string;
38
+ /**
39
+ * @private
40
+ */
41
+ protected menuOpen: boolean;
42
+ /**
43
+ * @private
44
+ */
45
+ protected isResponsive: boolean;
46
+ /**
47
+ * @private
48
+ */
49
+ protected btnLabel: string;
50
+ /**
51
+ * @private
52
+ */
53
+ protected collLabel: string;
54
+ /**
55
+ * @private
56
+ */
57
+ protected expLabel: string;
58
+ /**
59
+ * @private
60
+ */
61
+ private bpNum;
62
+ /**
63
+ * @private
64
+ */
65
+ private bpString;
66
+ /**
67
+ * Forces the menu to open in responsive mode.
68
+ */
69
+ open(): void;
70
+ /**
71
+ * Forces the menu to close in responsive mode.
72
+ */
73
+ close(): void;
74
+ /**
75
+ * Returns a boolean that indicates whether the menu is currently in responsive mode (`true`),
76
+ * or not (`false`).
77
+ *
78
+ * @returns `true` whether the menu is in responsive mode; `false` otherwise.
79
+ */
80
+ isResponsiveMode(): boolean;
81
+ /**
82
+ * Returns a boolean that indicates whether the menu is open in responsive mode (`true`),
83
+ * or not (`false`).
84
+ *
85
+ * @returns `true` whether the menu is open in responsive mode; `false` otherwise.
86
+ */
87
+ isOpen(): boolean;
88
+ /**
89
+ * @private
90
+ */
91
+ ngOnInit(): void;
92
+ /**
93
+ * @private
94
+ */
95
+ protected onClick(): void;
96
+ /**
97
+ * @private
98
+ */
99
+ protected onResize(): void;
100
+ /**
101
+ * @private
102
+ */
103
+ private matchMedia;
104
+ /**
105
+ * @private
106
+ */
107
+ private setBtnLabel;
108
+ /**
109
+ * @private
110
+ */
111
+ private emitStateEvt;
112
+ static ɵfac: i0.ɵɵFactoryDeclaration<NavbarComponent, never>;
113
+ static ɵcmp: i0.ɵɵComponentDeclaration<NavbarComponent, "atx-navbar", never, { "brandLabel": { "alias": "brandLabel"; "required": false; }; "breakpoint": { "alias": "breakpoint"; "required": false; }; "expandedLabel": { "alias": "expandedLabel"; "required": false; }; "collapsedLabel": { "alias": "collapsedLabel"; "required": false; }; }, { "stateChange": "stateChange"; }, never, ["[brand]", "[icon]", "*"], true, never>;
114
+ }
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "angular-toolbox",
3
- "version": "1.5.2",
3
+ "version": "1.5.4",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "peerDependencies": {
6
- "@angular/common": "^19.0.3",
7
- "@angular/core": "^19.0.3",
8
- "@angular/platform-browser": "^19.0.3",
9
- "@angular/router": "^19.0.3"
6
+ "@angular/common": "^19.0.5",
7
+ "@angular/core": "^19.0.5",
8
+ "@angular/platform-browser": "^19.0.5",
9
+ "@angular/router": "^19.0.5"
10
10
  },
11
11
  "dependencies": {
12
12
  "tslib": "^2.3.0"