aeb-ui-kit 8.0.0-rc.921 → 8.0.0-rc.930
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/esm2022/lib/button/button.component.mjs +16 -17
- package/esm2022/lib/button/button.module.mjs +12 -4
- package/esm2022/lib/button/directives/button-left-icon.directive.mjs +19 -0
- package/esm2022/lib/button/directives/button-right-icon.directive.mjs +19 -0
- package/esm2022/lib/comment/comment.component.mjs +2 -2
- package/esm2022/lib/credit-item-card/credit-item-card.component.mjs +1 -1
- package/esm2022/lib/file-attach/components/attach-button/attach-button.component.mjs +4 -4
- package/esm2022/lib/file-attach/file-attach.component.mjs +1 -2
- package/esm2022/lib/modal/modal.component.mjs +1 -1
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/aeb-ui-kit.mjs +62 -26
- package/fesm2022/aeb-ui-kit.mjs.map +1 -1
- package/lib/button/button.component.d.ts +3 -8
- package/lib/button/button.module.d.ts +4 -2
- package/lib/button/directives/button-left-icon.directive.d.ts +6 -0
- package/lib/button/directives/button-right-icon.directive.d.ts +6 -0
- package/lib/file-attach/components/attach-button/attach-button.component.d.ts +1 -2
- package/lib/file-attach/file-attach.component.d.ts +1 -2
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
|
@@ -1,20 +1,15 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
export type ButtonIconSource = {
|
|
4
|
-
left?: string;
|
|
5
|
-
right?: string;
|
|
6
|
-
};
|
|
7
3
|
export type ButtonSize = 'L' | 'M' | 'S';
|
|
8
4
|
export type ButtonVariant = 'primary' | 'secondary' | 'outline' | 'tertiary';
|
|
9
5
|
export declare class ButtonComponent {
|
|
10
6
|
private buttonElement;
|
|
11
7
|
fill: boolean;
|
|
12
|
-
iconSource?: ButtonIconSource;
|
|
13
|
-
showIconLeft: boolean;
|
|
14
|
-
showIconRight: boolean;
|
|
15
8
|
isWarning: boolean;
|
|
16
9
|
size: ButtonSize;
|
|
17
10
|
variant: ButtonVariant;
|
|
11
|
+
private leftIcon?;
|
|
12
|
+
private rightIcon?;
|
|
18
13
|
private isButton;
|
|
19
14
|
constructor(buttonElement: ElementRef<HTMLButtonElement>);
|
|
20
15
|
private get isPrimary();
|
|
@@ -30,5 +25,5 @@ export declare class ButtonComponent {
|
|
|
30
25
|
private get isSmall();
|
|
31
26
|
private onLeave;
|
|
32
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
|
|
33
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[aebButton], a[aebButton]", never, { "fill": { "alias": "fill"; "required": false; }; "
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "button[aebButton], a[aebButton]", never, { "fill": { "alias": "fill"; "required": false; }; "isWarning": { "alias": "isWarning"; "required": false; }; "size": { "alias": "size"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; }, {}, ["leftIcon", "rightIcon"], [".aeb-icon-left", "*", ".aeb-icon-right"], false, never>;
|
|
34
29
|
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./button.component";
|
|
3
|
-
import * as i2 from "
|
|
3
|
+
import * as i2 from "./directives/button-left-icon.directive";
|
|
4
|
+
import * as i3 from "./directives/button-right-icon.directive";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
4
6
|
export declare class ButtonModule {
|
|
5
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonModule, never>;
|
|
6
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonModule, [typeof i1.ButtonComponent], [typeof
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ButtonModule, [typeof i1.ButtonComponent, typeof i2.ButtonLeftIconDirective, typeof i3.ButtonRightIconDirective], [typeof i4.CommonModule], [typeof i1.ButtonComponent, typeof i2.ButtonLeftIconDirective, typeof i3.ButtonRightIconDirective]>;
|
|
7
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<ButtonModule>;
|
|
8
10
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ButtonLeftIconDirective {
|
|
3
|
+
private get hostClasses();
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonLeftIconDirective, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonLeftIconDirective, "img.aeb-icon-left, svg.aeb-icon-left", never, {}, {}, never, never, false, never>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ButtonRightIconDirective {
|
|
3
|
+
private get hostClasses();
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonRightIconDirective, never>;
|
|
5
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonRightIconDirective, "img.aeb-icon-right, svg.aeb-icon-right", never, {}, {}, never, never, false, never>;
|
|
6
|
+
}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { ElementRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { Subject } from 'rxjs';
|
|
3
|
-
import { ButtonIconSource } from '../../../button/button.component';
|
|
4
3
|
import { FileAttach } from '../../file-attach.namespace';
|
|
5
4
|
import * as i0 from "@angular/core";
|
|
6
5
|
export declare class AttachButtonComponent {
|
|
7
6
|
fileInputRef: ElementRef<HTMLInputElement>;
|
|
8
7
|
attachButtonText: string;
|
|
9
|
-
attachButtonIcon
|
|
8
|
+
attachButtonIcon?: string;
|
|
10
9
|
multi: boolean;
|
|
11
10
|
filesAmount: number;
|
|
12
11
|
showErrorMessage: boolean;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
3
|
import { Subject } from 'rxjs';
|
|
4
|
-
import { ButtonIconSource } from '../button/button.component';
|
|
5
4
|
import { FileAttach } from './file-attach.namespace';
|
|
6
5
|
import * as i0 from "@angular/core";
|
|
7
6
|
import * as i1 from "./directives/drag-and-drop.directive";
|
|
@@ -14,7 +13,7 @@ export declare class FileAttachComponent implements ControlValueAccessor, OnDest
|
|
|
14
13
|
*/
|
|
15
14
|
documentListText: string;
|
|
16
15
|
attachButtonText: string;
|
|
17
|
-
attachButtonIcon
|
|
16
|
+
attachButtonIcon?: string;
|
|
18
17
|
multi: boolean;
|
|
19
18
|
layoutMod: FileAttach.LayoutMode;
|
|
20
19
|
attachmentDescription: FileAttach.DetailedDescription;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from './lib/aeb-ui-kit.module';
|
|
2
2
|
export * from './lib/button/button.module';
|
|
3
3
|
export * from './lib/button/button.component';
|
|
4
|
+
export * from './lib/button/directives/button-left-icon.directive';
|
|
5
|
+
export * from './lib/button/directives/button-right-icon.directive';
|
|
4
6
|
export * from './lib/form-field/form-field.module';
|
|
5
7
|
export * from './lib/form-field/form-field.component';
|
|
6
8
|
export * from './lib/form-field/directives/label.directive';
|