@datarailsshared/datarailsshared 1.6.308 → 1.6.310

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.
@@ -1,16 +1,21 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { ButtonType } from '../dr-inputs/button/button.component';
3
3
  import * as i0 from "@angular/core";
4
- export type TSystemMessageKind = 'prime' | 'info' | 'warning' | 'error';
4
+ export type TSystemMessageTheme = 'prime' | 'info' | 'warning' | 'error';
5
5
  export declare class DrSystemMessageComponent {
6
- kind: TSystemMessageKind;
6
+ /**
7
+ * Message content rendered via innerHTML.
8
+ * Supports basic HTML formatting (e.g. <b>, <strong>, <a>).
9
+ * Angular automatically sanitizes innerHTML.
10
+ */
7
11
  message: string;
12
+ theme: TSystemMessageTheme;
8
13
  actionButtonText: string;
9
14
  action: EventEmitter<void>;
10
15
  close: EventEmitter<void>;
11
16
  animation: boolean;
12
- get elementClasses(): TSystemMessageKind;
17
+ get elementClasses(): TSystemMessageTheme;
13
18
  get buttonType(): ButtonType;
14
19
  static ɵfac: i0.ɵɵFactoryDeclaration<DrSystemMessageComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<DrSystemMessageComponent, "dr-system-message", never, { "kind": { "alias": "kind"; "required": false; }; "message": { "alias": "message"; "required": false; }; "actionButtonText": { "alias": "actionButtonText"; "required": false; }; }, { "action": "action"; "close": "close"; }, never, never, true, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<DrSystemMessageComponent, "dr-system-message", never, { "message": { "alias": "message"; "required": false; }; "theme": { "alias": "theme"; "required": false; }; "actionButtonText": { "alias": "actionButtonText"; "required": false; }; }, { "action": "action"; "close": "close"; }, never, never, true, never>;
16
21
  }
package/local-api.d.ts CHANGED
@@ -156,7 +156,7 @@ export { DrChipComponent } from './lib/dr-chip/dr-chip.component';
156
156
  export { DrGalleryComponent } from './lib/dr-gallery/dr-gallery.component';
157
157
  export { DrProgressBarComponent, TProgressBarTheme } from './lib/dr-progress-bar/dr-progress-bar.component';
158
158
  export { DrBadgeComponent, TBadgeColor, TBadgeSize } from './lib/dr-badge/dr-badge.component';
159
- export { DrSystemMessageComponent, TSystemMessageKind } from './lib/dr-system-message/dr-system-message.component';
159
+ export { DrSystemMessageComponent, TSystemMessageTheme } from './lib/dr-system-message/dr-system-message.component';
160
160
  export * from './lib/drawer/public-api';
161
161
  export * from './lib/stepper-wizard/stepper-wizard.component';
162
162
  export * from './lib/stepper-wizard/directives/step-wizard.directive';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datarailsshared/datarailsshared",
3
- "version": "1.6.308",
3
+ "version": "1.6.310",
4
4
  "description": "DataRails shared components",
5
5
  "keywords": [
6
6
  "angular",