simpo-component-library 2.0.62 → 2.0.63
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/elements/index.mjs +6 -5
- package/esm2022/lib/elements/svg-divider/svg-divider.component.mjs +26 -0
- package/esm2022/lib/sections/banner-section/banner-section.component.mjs +9 -6
- package/esm2022/lib/styles/index.mjs +22 -1
- package/esm2022/lib/styles/style.model.mjs +1 -1
- package/fesm2022/simpo-component-library.mjs +52 -7
- 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/index.d.ts +2 -1
- package/lib/elements/svg-divider/svg-divider.component.d.ts +53 -0
- package/lib/sections/banner-carousel/banner-carousel.component.d.ts +2 -2
- package/lib/sections/banner-section/banner-section.component.d.ts +2 -1
- package/lib/sections/carousel-banner/carousel-banner.component.d.ts +1 -1
- package/lib/sections/image-section/image-section.component.d.ts +2 -2
- package/lib/sections/logo-showcase/logo-showcase.component.d.ts +1 -1
- package/lib/sections/pricing-section/pricing-section.component.d.ts +1 -1
- package/lib/styles/index.d.ts +17 -0
- package/lib/styles/style.model.d.ts +2 -1
- package/package.json +1 -1
- package/simpo-component-library-2.0.63.tgz +0 -0
- package/src/lib/styles/global-styles.css +12 -12
- package/simpo-component-library-2.0.62.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
|
}
|
@@ -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
|
}
|
package/lib/elements/index.d.ts
CHANGED
@@ -8,8 +8,9 @@ import * as i6 from "./heading-element/heading-element.component";
|
|
8
8
|
import * as i7 from "./simpo-button/simpo-button.component";
|
9
9
|
import * as i8 from "./socia-icons/socia-icons.component";
|
10
10
|
import * as i9 from "./card-skeleton-loader/card-skeleton-loader.component";
|
11
|
+
import * as i10 from "./svg-divider/svg-divider.component";
|
11
12
|
export declare class SimpoElementsModule {
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<SimpoElementsModule, never>;
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SimpoElementsModule, never, [typeof i1.ButtonElementComponent, typeof i2.TextElementComponent, typeof i3.BelowImageCardComponent, typeof i4.TopOfImageCardComponent, typeof i5.CoveringImageCardComponent, typeof i6.HeadingElementComponent, typeof i7.SimpoButtonComponent, typeof i8.SociaIconsComponent, typeof i9.CardSkeletonLoaderComponent], [typeof i1.ButtonElementComponent, typeof i2.TextElementComponent, typeof i3.BelowImageCardComponent, typeof i4.TopOfImageCardComponent, typeof i5.CoveringImageCardComponent, typeof i6.HeadingElementComponent, typeof i7.SimpoButtonComponent, typeof i8.SociaIconsComponent, typeof i9.CardSkeletonLoaderComponent]>;
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SimpoElementsModule, never, [typeof i1.ButtonElementComponent, typeof i2.TextElementComponent, typeof i3.BelowImageCardComponent, typeof i4.TopOfImageCardComponent, typeof i5.CoveringImageCardComponent, typeof i6.HeadingElementComponent, typeof i7.SimpoButtonComponent, typeof i8.SociaIconsComponent, typeof i9.CardSkeletonLoaderComponent, typeof i10.SvgDividerComponent], [typeof i1.ButtonElementComponent, typeof i2.TextElementComponent, typeof i3.BelowImageCardComponent, typeof i4.TopOfImageCardComponent, typeof i5.CoveringImageCardComponent, typeof i6.HeadingElementComponent, typeof i7.SimpoButtonComponent, typeof i8.SociaIconsComponent, typeof i9.CardSkeletonLoaderComponent, typeof i10.SvgDividerComponent]>;
|
14
15
|
static ɵinj: i0.ɵɵInjectorDeclaration<SimpoElementsModule>;
|
15
16
|
}
|
@@ -0,0 +1,53 @@
|
|
1
|
+
import { DeviderType } from '../../styles/index';
|
2
|
+
import * as i0 from "@angular/core";
|
3
|
+
export declare class SvgDividerComponent {
|
4
|
+
deviderTypeEnum: typeof DeviderType;
|
5
|
+
svgData: {
|
6
|
+
TILT: {
|
7
|
+
svg: string;
|
8
|
+
rotate: boolean;
|
9
|
+
rotateY: boolean;
|
10
|
+
};
|
11
|
+
INVERT_TILT: {
|
12
|
+
svg: string;
|
13
|
+
rotate: boolean;
|
14
|
+
rotateY: boolean;
|
15
|
+
};
|
16
|
+
TRIANGLE: {
|
17
|
+
svg: string;
|
18
|
+
rotate: boolean;
|
19
|
+
rotateY: boolean;
|
20
|
+
};
|
21
|
+
INVERT_TRIANGLE: {
|
22
|
+
svg: string;
|
23
|
+
rotate: boolean;
|
24
|
+
rotateY: boolean;
|
25
|
+
};
|
26
|
+
CURVE: {
|
27
|
+
svg: string;
|
28
|
+
rotate: boolean;
|
29
|
+
rotateY: boolean;
|
30
|
+
};
|
31
|
+
INVERT_CURVE: {
|
32
|
+
svg: string;
|
33
|
+
rotate: boolean;
|
34
|
+
rotateY: boolean;
|
35
|
+
};
|
36
|
+
WAVE: {
|
37
|
+
svg: string;
|
38
|
+
rotate: boolean;
|
39
|
+
rotateY: boolean;
|
40
|
+
};
|
41
|
+
INVERT_WAVE: {
|
42
|
+
svg: string;
|
43
|
+
rotate: boolean;
|
44
|
+
rotateY: boolean;
|
45
|
+
};
|
46
|
+
};
|
47
|
+
dividerType?: DeviderType;
|
48
|
+
color?: string;
|
49
|
+
svgType: any;
|
50
|
+
ngOnInit(): void;
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SvgDividerComponent, never>;
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SvgDividerComponent, "simpo-svg-divider", never, { "dividerType": { "alias": "dividerType"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
|
53
|
+
}
|
@@ -24,8 +24,8 @@ export declare class BannerCarouselComponent extends BaseSection implements OnIn
|
|
24
24
|
get stylesLayout(): LayOutModel;
|
25
25
|
get getBlurValue(): "NONE" | "LIGHT" | "MODERATE" | "STRONG" | "VERY_STRONG" | undefined;
|
26
26
|
get getBackgroundColor(): BackgroundModel;
|
27
|
-
get getBackgroundOpacity(): "0" | "0.
|
28
|
-
opacityValue(value: OverlayValue): "0" | "0.
|
27
|
+
get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "0";
|
28
|
+
opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
|
29
29
|
editSection(): void;
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<BannerCarouselComponent, never>;
|
31
31
|
static ɵcmp: i0.ɵɵComponentDeclaration<BannerCarouselComponent, "simpo-banner-carousel", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; }, {}, never, never, true, never>;
|
@@ -12,6 +12,7 @@ export declare class BannerSectionComponent extends BaseSection implements OnIni
|
|
12
12
|
edit?: boolean;
|
13
13
|
delete?: boolean;
|
14
14
|
customClass?: string;
|
15
|
+
nextComponentColor?: string;
|
15
16
|
styles?: BannerStylesModel;
|
16
17
|
constructor(_eventService: EventsService);
|
17
18
|
ngOnInit(): void;
|
@@ -23,5 +24,5 @@ export declare class BannerSectionComponent extends BaseSection implements OnIni
|
|
23
24
|
editSection(): void;
|
24
25
|
stopPropagation(event: any): void;
|
25
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<BannerSectionComponent, never>;
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BannerSectionComponent, "simpo-banner-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; }, {}, never, never, true, never>;
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BannerSectionComponent, "simpo-banner-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; "nextComponentColor": { "alias": "nextComponentColor"; "required": false; }; }, {}, never, never, true, never>;
|
27
28
|
}
|
@@ -24,7 +24,7 @@ export declare class CarouselBannerComponent extends BaseSection implements OnIn
|
|
24
24
|
get canMergeNavbar(): boolean | undefined;
|
25
25
|
get isBorderlessImage(): boolean | undefined;
|
26
26
|
get getPositionLayout(): PositionLayoutModal;
|
27
|
-
opacityValue(value: OverlayValue): "0" | "0.
|
27
|
+
opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "0";
|
28
28
|
editSection(): void;
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselBannerComponent, never>;
|
30
30
|
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselBannerComponent, "simpo-carousel-banner", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; }, {}, never, never, true, never>;
|
@@ -17,8 +17,8 @@ export declare class ImageSectionComponent extends BaseSection {
|
|
17
17
|
constructor(_eventService: EventsService);
|
18
18
|
ngOnInit(): void;
|
19
19
|
get canMergeNavbar(): boolean | undefined;
|
20
|
-
get getBackgroundOpacity(): "
|
21
|
-
opacityValue(value: OverlayValue): "
|
20
|
+
get getBackgroundOpacity(): "0.2" | "0.3" | "0.5" | "0.7" | "1";
|
21
|
+
opacityValue(value: OverlayValue): "0.2" | "0.3" | "0.5" | "0.7" | "1";
|
22
22
|
editSection(): void;
|
23
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<ImageSectionComponent, never>;
|
24
24
|
static ɵcmp: i0.ɵɵComponentDeclaration<ImageSectionComponent, "simpo-image-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; }, {}, never, never, true, never>;
|
@@ -22,7 +22,7 @@ export declare class LogoShowcaseComponent extends BaseSection implements OnInit
|
|
22
22
|
constructor(_eventService: EventsService);
|
23
23
|
ngOnInit(): void;
|
24
24
|
get animationDuration(): logoSpeed;
|
25
|
-
get animationDirection():
|
25
|
+
get animationDirection(): "reverse" | "normal" | logoDirection.Left;
|
26
26
|
screenWidth: number;
|
27
27
|
getScreenSize(event?: number): void;
|
28
28
|
editSection(): void;
|
@@ -16,7 +16,7 @@ export declare class PricingSectionComponent extends BaseSection {
|
|
16
16
|
style?: PricingSectionStylesModel;
|
17
17
|
constructor(_eventService: EventsService);
|
18
18
|
ngOnInit(): void;
|
19
|
-
getTextColor(): "#
|
19
|
+
getTextColor(): "#000000" | "#ffffff";
|
20
20
|
get headingSpace(): SPACING;
|
21
21
|
editSection(): void;
|
22
22
|
redirectTo(): void;
|
package/lib/styles/index.d.ts
CHANGED
@@ -204,3 +204,20 @@ export declare enum MapType {
|
|
204
204
|
INLINE_MAP = "Inline map",
|
205
205
|
BACKGROUND_MAP = "Background map"
|
206
206
|
}
|
207
|
+
export declare enum DeviderType {
|
208
|
+
TILT = "TILT",
|
209
|
+
INVERT_TILT = "INVERT_TILT",
|
210
|
+
TRIANGLE = "TRIANGLE",
|
211
|
+
INVERT_TRIANGLE = "INVERT_TRIANGLE",
|
212
|
+
CURVE = "CURVE",
|
213
|
+
INVERT_CURVE = "INVERT_CURVE",
|
214
|
+
WAVE = "WAVE",
|
215
|
+
INVERT_WAVE = "INVERT_WAVE"
|
216
|
+
}
|
217
|
+
export declare const svgData: {
|
218
|
+
[key in DeviderType]: {
|
219
|
+
svg: string;
|
220
|
+
rotate: boolean;
|
221
|
+
rotateY: boolean;
|
222
|
+
};
|
223
|
+
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { AlignContent, Corners, ImageFit, ImageRatio, OverlayValue, RedirectionLinkType, SPACING, TEXT_SIZE, TextPosition } from '.';
|
1
|
+
import { AlignContent, Corners, DeviderType, 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, BORDER_DIRECTION } from './types';
|
3
3
|
export interface SpacingModel {
|
4
4
|
top: SPACING_TYPE;
|
@@ -18,6 +18,7 @@ export interface BorderModel {
|
|
18
18
|
}
|
19
19
|
export interface DeviderModel {
|
20
20
|
display: boolean;
|
21
|
+
deviderType: DeviderType;
|
21
22
|
}
|
22
23
|
export interface LayOutModel {
|
23
24
|
align: ALIGN;
|
package/package.json
CHANGED
Binary file
|
@@ -1,28 +1,28 @@
|
|
1
1
|
@media screen and (min-width: 1280px) {
|
2
2
|
.content-side {
|
3
3
|
h1 {
|
4
|
-
font-size: 72px;
|
5
|
-
line-height: 80px;
|
4
|
+
font-size: 72px!important;
|
5
|
+
line-height: 80px!important;
|
6
6
|
}
|
7
7
|
h2 {
|
8
|
-
font-size: 48px;
|
9
|
-
line-height: 56px;
|
8
|
+
font-size: 48px!important;
|
9
|
+
line-height: 56px!important;
|
10
10
|
}
|
11
11
|
h3 {
|
12
|
-
font-size: 32px;
|
13
|
-
line-height: 40px;
|
12
|
+
font-size: 32px!important;
|
13
|
+
line-height: 40px!important;
|
14
14
|
}
|
15
15
|
h4 {
|
16
|
-
font-size: 24px;
|
17
|
-
line-height: 36px;
|
16
|
+
font-size: 24px!important;
|
17
|
+
line-height: 36px!important;
|
18
18
|
}
|
19
19
|
h5 {
|
20
|
-
font-size: 18px;
|
21
|
-
line-height: 28px;
|
20
|
+
font-size: 18px!important;
|
21
|
+
line-height: 28px!important;
|
22
22
|
}
|
23
23
|
p{
|
24
|
-
font-size: 16px;
|
25
|
-
line-height: 21px;
|
24
|
+
font-size: 16px!important;
|
25
|
+
line-height: 21px!important;
|
26
26
|
}
|
27
27
|
}
|
28
28
|
|
Binary file
|