nath-angular-ui 0.5.6 → 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.5.6",
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>;
@@ -1082,6 +1096,18 @@ declare class NathTabs {
1082
1096
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<NathTabs, "nath-tabs", never, { "activeTab": { "alias": "activeTab"; "required": true; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "tabClass": { "alias": "tabClass"; "required": false; "isSignal": true; }; "tabPanelClass": { "alias": "tabPanelClass"; "required": false; "isSignal": true; }; "slidingWindowClass": { "alias": "slidingWindowClass"; "required": false; "isSignal": true; }; }, { "activeTab": "activeTabChange"; }, ["tabs", "tabPanels"], never, true, never>;
1083
1097
  }
1084
1098
 
1099
+ type NathTagVariant = 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'help';
1100
+ type NathTagSize = 'small' | 'medium' | 'large';
1101
+ declare class NathTag {
1102
+ variant: _angular_core.InputSignal<NathTagVariant>;
1103
+ size: _angular_core.InputSignal<NathTagSize>;
1104
+ closable: _angular_core.InputSignal<boolean>;
1105
+ closed: _angular_core.OutputEmitterRef<void>;
1106
+ protected onClose(event: MouseEvent): void;
1107
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<NathTag, never>;
1108
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<NathTag, "nath-tag", never, { "variant": { "alias": "variant"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; "isSignal": true; }; }, { "closed": "closed"; }, never, ["*"], true, never>;
1109
+ }
1110
+
1085
1111
  declare const DARK_THEME_CLASS = "dark";
1086
1112
  interface ThemeConfig {
1087
1113
  localStorageThemeKey: string;
@@ -1231,5 +1257,5 @@ declare const rangeNotMinMax: (range: number[] | undefined, min: number | undefi
1231
1257
 
1232
1258
  declare function isSortOrderValid(order: string): boolean;
1233
1259
 
1234
- export { BreadcrumbService, DARK_THEME_CLASS, DIALOG_DATA, NathAutocomplete, NathBooleanControl, NathBreadcrumbs, NathCodeViewer, NathConfirmationDialog, NathConfirmationService, NathDatepicker, NathDialogContainer, NathDialogRef, NathDialogService, NathDrawer, NathFileUpload, NathFloatingLabel, NathFormField, NathImagePreview, NathMenu, NathMenuList, NathMultiselect, NathPaginatedView, NathPaginator, NathPanel, NathPickList, NathProgressBar, NathProgressCircle, NathRadioButtonGroup, NathRatingHeart, NathRatingInput, NathSelect, NathShowErrors, NathSkeleton, NathSlider, NathSortIcon, NathSplitButton, NathTabs, NathThemeSwitch, NathToastContainer, NathToc, NathTooltipContainer, NathTooltipDirective, ORDER, RATING_MAP, THEME_CONFIG, TabDirective, TabPanelDirective, ThemeService, ToastService, getRatingColor, hasRequiredValidator, isRequired, isSortOrderValid, isTruthy, next, provideThemeConfig, rangeMinMax, rangeNotMinMax, validateAllFormFields };
1260
+ export { BreadcrumbService, DARK_THEME_CLASS, DIALOG_DATA, NathAutocomplete, NathBooleanControl, NathBreadcrumbs, NathCodeViewer, NathConfirmationDialog, NathConfirmationService, NathDatepicker, NathDialogContainer, NathDialogRef, NathDialogService, NathDrawer, NathFileUpload, NathFloatingLabel, NathFormField, NathImagePreview, NathMenu, NathMenuList, NathMultiselect, NathPaginatedView, NathPaginator, NathPanel, NathPickList, NathProgressBar, NathProgressCircle, NathRadioButtonGroup, NathRatingHeart, NathRatingInput, NathSelect, NathShowErrors, NathSkeleton, NathSlider, NathSortIcon, NathSplitButton, NathTabs, NathTag, NathThemeSwitch, NathToastContainer, NathToc, NathTooltipContainer, NathTooltipDirective, ORDER, RATING_MAP, THEME_CONFIG, TabDirective, TabPanelDirective, ThemeService, ToastService, getRatingColor, hasRequiredValidator, isRequired, isSortOrderValid, isTruthy, next, provideThemeConfig, rangeMinMax, rangeNotMinMax, validateAllFormFields };
1235
1261
  export type { BooleanDisplayMode, Breadcrumb, CodeFile, MenuItem, NathConfirmationButton, NathConfirmationConfig, NathDialogConfig, NathMenuPositionX, NathMenuPositionY, NathToastPosition, NathToastType, NathTooltipPosition, PaginatorChangeEvent, RadioOption, SelectItem, SliderValue, ThemeConfig, Toast, TrackByFnOrKey, TristateValue };