simpo-component-library 1.1.6 → 1.1.7
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/components/input-fields/input-fields.component.mjs +5 -4
- package/esm2022/lib/directive/blur-content.directive.mjs +18 -2
- package/esm2022/lib/directive/image-container.directive.mjs +65 -0
- package/esm2022/lib/elements/below-image-card/below-image-card.component.mjs +14 -3
- package/esm2022/lib/sections/banner-carousel/banner-carousel.component.mjs +4 -4
- package/esm2022/lib/sections/banner-carousel/banner-carousel.model.mjs +1 -1
- package/esm2022/lib/sections/banner-section/banner-section.component.mjs +3 -3
- package/esm2022/lib/sections/faq-section/faq-section.component.mjs +4 -4
- package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
- package/esm2022/lib/sections/text-section/text-section.component.mjs +6 -7
- package/esm2022/lib/styles/style.model.mjs +1 -1
- package/fesm2022/simpo-component-library.mjs +105 -18
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/directive/background-directive.d.ts +1 -1
- package/lib/directive/blur-content.directive.d.ts +2 -1
- package/lib/directive/button-directive.directive.d.ts +1 -1
- package/lib/directive/color.directive.d.ts +1 -1
- package/lib/directive/image-container.directive.d.ts +19 -0
- package/lib/elements/below-image-card/below-image-card.component.d.ts +1 -0
- package/lib/sections/banner-carousel/banner-carousel.component.d.ts +1 -1
- package/lib/sections/banner-carousel/banner-carousel.model.d.ts +1 -3
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/styles/style.model.d.ts +3 -1
- package/package.json +1 -1
- package/simpo-component-library-1.1.7.tgz +0 -0
- package/simpo-component-library-1.1.6.tgz +0 -0
|
@@ -11,7 +11,7 @@ export declare class BackgroundDirective implements OnChanges {
|
|
|
11
11
|
constructor(el: ElementRef, eventService: EventsService);
|
|
12
12
|
ngOnDestroy(): void;
|
|
13
13
|
ngOnChanges(change: SimpleChanges): void;
|
|
14
|
-
getTextColor(bgColor: string): "#
|
|
14
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
|
15
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<BackgroundDirective, never>;
|
|
16
16
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BackgroundDirective, "[simpoBackground]", never, { "simpoBackground": { "alias": "simpoBackground"; "required": false; }; "scrollValue": { "alias": "scrollValue"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
17
|
}
|
|
@@ -3,11 +3,12 @@ import { OverlayValue } from "../styles/index";
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SimpoBlurContentDirective implements OnChanges, OnInit, OnDestroy {
|
|
5
5
|
private el;
|
|
6
|
-
simpoBlurContent?:
|
|
6
|
+
simpoBlurContent?: OverlayValue;
|
|
7
7
|
constructor(el: ElementRef);
|
|
8
8
|
ngOnChanges(changes: SimpleChanges): void;
|
|
9
9
|
ngOnDestroy(): void;
|
|
10
10
|
ngOnInit(): void;
|
|
11
|
+
get getOverlayValue(): OverlayValue;
|
|
11
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<SimpoBlurContentDirective, never>;
|
|
12
13
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SimpoBlurContentDirective, "[simpoBlurContent]", never, { "simpoBlurContent": { "alias": "simpoBlurContent"; "required": false; }; }, {}, never, never, true, never>;
|
|
13
14
|
}
|
|
@@ -15,7 +15,7 @@ export declare class ButtonDirectiveDirective implements OnChanges {
|
|
|
15
15
|
applyButtonStyleChanges(): void;
|
|
16
16
|
applyButtonType(style: ButtonStyleModel, color: string): void;
|
|
17
17
|
applyButtonShape(style: ButtonStyleModel): void;
|
|
18
|
-
getTextColor(bgColor: string): "#
|
|
18
|
+
getTextColor(bgColor: string): "#000000" | "#ffffff" | "#ffffff;";
|
|
19
19
|
buttonStyleSubscription?: Subscription;
|
|
20
20
|
buttonStyleChangeCheck(): void;
|
|
21
21
|
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
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ElementRef, OnChanges } from '@angular/core';
|
|
2
|
+
import { EventsService } from '../services/events.service';
|
|
3
|
+
import { ImageStyle } from '../styles/style.model';
|
|
4
|
+
import { Subscription } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ImageContainerDirective implements OnChanges {
|
|
7
|
+
private el;
|
|
8
|
+
private eventService;
|
|
9
|
+
simpoImageContainerDirective?: ImageStyle;
|
|
10
|
+
constructor(el: ElementRef, eventService: EventsService);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
ngOnChanges(): void;
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
imageStyleSubscription?: Subscription;
|
|
15
|
+
imageStyleChangeCheck(): void;
|
|
16
|
+
changeImageStyle(id: string, style: ImageStyle): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ImageContainerDirective, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ImageContainerDirective, "[simpoImageContainerDirective]", never, { "simpoImageContainerDirective": { "alias": "simpoImageContainerDirective"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -11,6 +11,7 @@ export declare class BelowImageCardComponent {
|
|
|
11
11
|
constructor(_eventService: EventsService);
|
|
12
12
|
ngOnInit(): void;
|
|
13
13
|
redirectTo(): void;
|
|
14
|
+
get getAspectRatio(): any;
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<BelowImageCardComponent, never>;
|
|
15
16
|
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>;
|
|
16
17
|
}
|
|
@@ -21,7 +21,7 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
|
|
|
21
21
|
constructor(_eventService: EventsService);
|
|
22
22
|
ngOnInit(): void;
|
|
23
23
|
get stylesLayout(): LayOutModel;
|
|
24
|
-
get getBlurValue():
|
|
24
|
+
get getBlurValue(): OverlayValue | undefined;
|
|
25
25
|
get getBackgroundColor(): BackgroundModel;
|
|
26
26
|
get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "0";
|
|
27
27
|
opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Corners
|
|
1
|
+
import { Corners } from '../../styles/index';
|
|
2
2
|
import { ActionModel, Image, InputTextModel, ListItemModal, StylesModel } from '../../styles/style.model';
|
|
3
3
|
export interface BannerCarouselModel {
|
|
4
4
|
id: string;
|
|
@@ -21,6 +21,4 @@ export interface textModel {
|
|
|
21
21
|
}
|
|
22
22
|
export interface BannerCarouselStylesModel extends StylesModel {
|
|
23
23
|
corners: Corners;
|
|
24
|
-
blur: keyof typeof OverlayValue;
|
|
25
|
-
overlay: OverlayValue;
|
|
26
24
|
}
|
|
@@ -15,7 +15,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
|
15
15
|
style?: PricingSectionStylesModel;
|
|
16
16
|
constructor(_eventService: EventsService);
|
|
17
17
|
ngOnInit(): void;
|
|
18
|
-
getTextColor(): "#
|
|
18
|
+
getTextColor(): "#000000" | "#ffffff";
|
|
19
19
|
get headingSpace(): SPACING;
|
|
20
20
|
editSection(): void;
|
|
21
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<PricingSectionComponent, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AlignContent, Corners, ImageFit, ImageRatio, RedirectionLinkType, SPACING, TEXT_SIZE, TextPosition } from '.';
|
|
1
|
+
import { AlignContent, Corners, ImageFit, ImageRatio, OverlayValue, RedirectionLinkType, SPACING, TEXT_SIZE, TextPosition } from '.';
|
|
2
2
|
import { ALIGN, ANIMATION_DIRECTION, ANIMATION_SPEED, BUTTON_SHAPE, BUTTON_TYPE, CARD_SIZE, FIT, LAYOUTPOSITION, LINK_TYPE, SPACING_TYPE, CONTENTPOSITION } from './types';
|
|
3
3
|
export interface SpacingModel {
|
|
4
4
|
top: SPACING_TYPE;
|
|
@@ -48,6 +48,8 @@ export interface BackgroundModel {
|
|
|
48
48
|
opacity: number;
|
|
49
49
|
showImage: boolean;
|
|
50
50
|
position: PositionModel;
|
|
51
|
+
blur?: keyof typeof OverlayValue;
|
|
52
|
+
overlay?: OverlayValue;
|
|
51
53
|
}
|
|
52
54
|
export interface AnimationModel {
|
|
53
55
|
type: ANIMATION_DIRECTION;
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|