simpo-component-library 0.6.4 → 0.6.6
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/directive/footer-layout-directive.mjs +4 -1
- package/esm2022/lib/directive/image-position.directive.mjs +2 -2
- package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +13 -9
- package/esm2022/lib/elements/covering-image-card/covering-image-card.component.mjs +13 -9
- package/esm2022/lib/elements/navbar-button-element/navbar-button-element.component.mjs +3 -3
- package/esm2022/lib/elements/top-of-image-card/top-of-image-card.component.mjs +13 -10
- package/esm2022/lib/sections/banner-section/banner-section.component.mjs +3 -3
- package/esm2022/lib/sections/footer-section/footer-section.component.mjs +3 -3
- package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +7 -5
- package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +3 -3
- package/esm2022/lib/sections/image-section/image-section.component.mjs +3 -3
- package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +3 -3
- package/esm2022/lib/styles/style.model.mjs +1 -1
- package/fesm2022/simpo-component-library.mjs +76 -64
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/background-directive.d.ts +1 -1
- package/lib/directive/button-directive.directive.d.ts +1 -1
- package/lib/directive/color.directive.d.ts +1 -1
- package/lib/elements/below-image-card/below-image-card.component.d.ts +4 -0
- package/lib/elements/covering-image-card/covering-image-card.component.d.ts +4 -0
- package/lib/elements/top-of-image-card/top-of-image-card.component.d.ts +4 -0
- package/lib/styles/style.model.d.ts +2 -0
- package/package.json +1 -1
- package/simpo-component-library-0.6.6.tgz +0 -0
- package/simpo-component-library-0.6.4.tgz +0 -0
|
@@ -10,7 +10,7 @@ export declare class BackgroundDirective implements OnChanges {
|
|
|
10
10
|
constructor(el: ElementRef, eventService: EventsService);
|
|
11
11
|
ngOnDestroy(): void;
|
|
12
12
|
ngOnChanges(change: SimpleChanges): void;
|
|
13
|
-
getTextColor(bgColor: string): "#
|
|
13
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
|
14
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
|
|
15
15
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[simpoBackground]", never, { "simpoBackground": { "alias": "simpoBackground"; "required": false; }; }, {}, never, never, true, never>;
|
|
16
16
|
}
|
|
@@ -14,7 +14,7 @@ export declare class ButtonDirectiveDirective implements OnChanges {
|
|
|
14
14
|
applyButtonStyleChanges(): void;
|
|
15
15
|
applyButtonType(style: ButtonStyleModel, color: string): void;
|
|
16
16
|
applyButtonShape(style: ButtonStyleModel): void;
|
|
17
|
-
getTextColor(bgColor: string): "#
|
|
17
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
|
18
18
|
buttonStyleSubscription?: Subscription;
|
|
19
19
|
buttonStyleChangeCheck(): void;
|
|
20
20
|
changeButtonStyle(id: any, style: ButtonStyleModel, bgColor: string): void;
|
|
@@ -12,7 +12,7 @@ export declare class ColorDirective implements OnChanges {
|
|
|
12
12
|
ngOnDestroy(): void;
|
|
13
13
|
applyColor(): void;
|
|
14
14
|
bgColorChangeCheck(): void;
|
|
15
|
-
getTextColor(): "#
|
|
15
|
+
getTextColor(): "#000000" | "#ffffff" | "#ffffff;";
|
|
16
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<ColorDirective, never>;
|
|
17
17
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ColorDirective, "[simpoColor]", never, { "bgColor": { "alias": "simpoColor"; "required": false; }; }, {}, never, never, true, never>;
|
|
18
18
|
}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { ButtonModel } from '../../styles/style.model';
|
|
2
|
+
import { EventsService } from '../../services/events.service';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class BelowImageCardComponent {
|
|
5
|
+
private _eventService;
|
|
4
6
|
data: any;
|
|
5
7
|
styles: any;
|
|
6
8
|
content: any;
|
|
7
9
|
componentId?: string;
|
|
8
10
|
button?: ButtonModel;
|
|
11
|
+
constructor(_eventService: EventsService);
|
|
9
12
|
ngOnInit(): void;
|
|
13
|
+
redirectTo(): void;
|
|
10
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<BelowImageCardComponent, never>;
|
|
11
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<BelowImageCardComponent, "simpo-below-image-card", never, { "data": { "alias": "data"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; "content": { "alias": "content"; "required": false; }; "componentId": { "alias": "componentId"; "required": false; }; "button": { "alias": "button"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
16
|
}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { ButtonModel } from '../../styles/style.model';
|
|
2
|
+
import { EventsService } from '../../services/events.service';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class CoveringImageCardComponent {
|
|
5
|
+
private _eventService;
|
|
4
6
|
data: any;
|
|
5
7
|
styles: any;
|
|
6
8
|
content: any;
|
|
7
9
|
componentId?: string;
|
|
8
10
|
button?: ButtonModel;
|
|
11
|
+
constructor(_eventService: EventsService);
|
|
9
12
|
ngOnInit(): void;
|
|
13
|
+
redirectTo(): void;
|
|
10
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<CoveringImageCardComponent, never>;
|
|
11
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<CoveringImageCardComponent, "simpo-covering-image-card", never, { "data": { "alias": "data"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; "content": { "alias": "content"; "required": false; }; "componentId": { "alias": "componentId"; "required": false; }; "button": { "alias": "button"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
16
|
}
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import { ButtonModel } from '../../styles/style.model';
|
|
2
|
+
import { EventsService } from '../../services/events.service';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class TopOfImageCardComponent {
|
|
5
|
+
private _eventService;
|
|
4
6
|
data: any;
|
|
5
7
|
styles: any;
|
|
6
8
|
content: any;
|
|
7
9
|
componentId?: string;
|
|
8
10
|
button?: ButtonModel;
|
|
11
|
+
constructor(_eventService: EventsService);
|
|
9
12
|
ngOnInit(): void;
|
|
13
|
+
redirectTo(): void;
|
|
10
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<TopOfImageCardComponent, never>;
|
|
11
15
|
static ɵcmp: i0.ɵɵComponentDeclaration<TopOfImageCardComponent, "simpo-top-of-image-card", never, { "data": { "alias": "data"; "required": false; }; "styles": { "alias": "styles"; "required": false; }; "content": { "alias": "content"; "required": false; }; "componentId": { "alias": "componentId"; "required": false; }; "button": { "alias": "button"; "required": false; }; }, {}, never, never, true, never>;
|
|
12
16
|
}
|
|
@@ -116,6 +116,7 @@ export interface InputTextModel {
|
|
|
116
116
|
isRTE: boolean;
|
|
117
117
|
}
|
|
118
118
|
export interface Image {
|
|
119
|
+
id: string;
|
|
119
120
|
url: string;
|
|
120
121
|
altText: string;
|
|
121
122
|
position: PositionModel;
|
|
@@ -130,6 +131,7 @@ export interface ButtonStyleModel {
|
|
|
130
131
|
}
|
|
131
132
|
export interface HeaderButtonStyleModel {
|
|
132
133
|
color: string;
|
|
134
|
+
boldColor: string;
|
|
133
135
|
backgroundColor: string;
|
|
134
136
|
subtleColor: string;
|
|
135
137
|
}
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|