nath-angular-ui 0.6.0 → 0.6.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nath-angular-ui",
3
- "version": "0.6.0",
3
+ "version": "0.6.1",
4
4
  "peerDependencies": {
5
5
  "@angular/aria": "^22.0.0",
6
6
  "@angular/cdk": "^22.0.0",
@@ -110,11 +110,25 @@ declare class BreadcrumbService {
110
110
  * Set the breadcrumbs for the current view.
111
111
  * @param crumbs Array of breadcrumbs items
112
112
  */
113
- set(crumbs: Breadcrumb[]): void;
113
+ set(crumbs: (Breadcrumb | null)[]): void;
114
+ /**
115
+ * Add a new breadcrumb to the current breadcrumbs array.
116
+ * @param crumb
117
+ */
114
118
  add(crumb: Breadcrumb): void;
119
+ /**
120
+ * Update a breadcrumb at a specific index.
121
+ * @param index
122
+ * @param crumb
123
+ */
115
124
  update(index: number, crumb: Breadcrumb): void;
116
125
  /**
117
- * Clears the breadcrumbs when leaving a page.
126
+ * Remove a breadcrumb at a specific index.
127
+ * @param index
128
+ */
129
+ remove(index: number): void;
130
+ /**
131
+ * Clear all breadcrumbs.
118
132
  */
119
133
  clear(): void;
120
134
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<BreadcrumbService, never>;