@datarailsshared/datarailsshared 1.6.307 → 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.
- package/datarailsshared-datarailsshared-1.6.310.tgz +0 -0
- package/esm2022/lib/dr-inputs/button/button.component.mjs +3 -3
- package/esm2022/lib/dr-system-message/dr-system-message.component.mjs +23 -21
- package/esm2022/local-api.mjs +1 -1
- package/fesm2022/datarailsshared-datarailsshared.mjs +24 -22
- package/fesm2022/datarailsshared-datarailsshared.mjs.map +1 -1
- package/lib/dr-inputs/button/button.component.d.ts +1 -1
- package/lib/dr-system-message/dr-system-message.component.d.ts +9 -4
- package/local-api.d.ts +1 -1
- package/package.json +1 -1
- package/datarailsshared-datarailsshared-1.6.307.tgz +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
export type ButtonType = 'primary' | 'split-primary-first' | 'split-primary-last' | 'secondary' | 'secondary-white' | 'split-secondary-first' | 'split-secondary-last' | 'icon' | 'icon-primary' | 'icon-secondary' | 'ghost' | 'selection' | 'highlight' | 'danger' | 'help' | 'dropdown' | 'ai-primary' | 'ai-secondary';
|
|
2
|
+
export type ButtonType = 'primary' | 'marketing' | 'split-primary-first' | 'split-primary-last' | 'secondary' | 'secondary-white' | 'split-secondary-first' | 'split-secondary-last' | 'icon' | 'icon-primary' | 'icon-secondary' | 'ghost' | 'selection' | 'highlight' | 'danger' | 'help' | 'dropdown' | 'ai-primary' | 'ai-secondary';
|
|
3
3
|
export declare class DrButtonComponent {
|
|
4
4
|
theme: ButtonType;
|
|
5
5
|
icon: string | string[];
|
|
@@ -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
|
|
4
|
+
export type TSystemMessageTheme = 'prime' | 'info' | 'warning' | 'error';
|
|
5
5
|
export declare class DrSystemMessageComponent {
|
|
6
|
-
|
|
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():
|
|
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, { "
|
|
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,
|
|
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
|
Binary file
|