simpo-component-library 0.0.2 → 0.0.4
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/hover-elements/hover-elements.component.mjs +1 -2
- package/esm2022/lib/sections/banner-section/banner-section.component.mjs +40 -16
- package/esm2022/lib/sections/faq-section/faq-section.component.mjs +42 -13
- package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +37 -6
- package/esm2022/lib/sections/image-grid-section/image-grid-section.component.mjs +39 -8
- package/esm2022/lib/sections/image-section/image-section.component.mjs +38 -5
- package/esm2022/lib/sections/navbar-section/navbar-section.component.mjs +24 -6
- package/esm2022/lib/sections/navbar-section/navbar-section.model.mjs +2 -0
- package/esm2022/lib/sections/service-section/service-section.component.mjs +38 -5
- package/esm2022/lib/sections/team-member-section/team-member-section.component.mjs +38 -5
- package/esm2022/lib/sections/testimonial-section/testimonial-section.component.mjs +36 -4
- package/esm2022/lib/sections/text-image-section/text-image-section.component.mjs +36 -3
- package/esm2022/lib/sections/text-section/text-section.component.mjs +36 -3
- package/esm2022/lib/sections/video-section/video-section.component.mjs +38 -6
- package/esm2022/public-api.mjs +27 -7
- package/fesm2022/simpo-component-library.mjs +789 -319
- package/fesm2022/simpo-component-library.mjs.map +1 -1
- package/lib/components/hover-elements/hover-elements.component.d.ts +1 -1
- package/lib/directive/background-directive.d.ts +1 -1
- package/lib/directive/button-directive.directive.d.ts +1 -1
- package/lib/sections/navbar-section/navbar-section.component.d.ts +8 -1
- package/lib/sections/navbar-section/navbar-section.model.d.ts +21 -0
- package/package.json +1 -1
- package/public-api.d.ts +24 -4
- package/simpo-component-library-0.0.4.tgz +0 -0
- package/simpo-component-library-0.0.2.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;
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
+
import { HeaderContentModel, HeaderSectionModel, HeaderStyleModel } from './navbar-section.model';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class NavbarSectionComponent implements OnInit {
|
|
5
|
+
data?: HeaderSectionModel;
|
|
4
6
|
index?: number;
|
|
7
|
+
content?: HeaderContentModel;
|
|
8
|
+
style?: HeaderStyleModel;
|
|
9
|
+
color: string;
|
|
5
10
|
constructor();
|
|
6
11
|
ngOnInit(): void;
|
|
12
|
+
screenWidth: number;
|
|
13
|
+
getScreenSize(event?: number): void;
|
|
7
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavbarSectionComponent, never>;
|
|
8
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavbarSectionComponent, "simpo-navbar-section", never, { "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavbarSectionComponent, "simpo-navbar-section", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; }, {}, never, never, true, never>;
|
|
9
16
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BackgroundModel, ButtonModel, InputTextModel } from "@simpo-ui/styles/style.model";
|
|
2
|
+
import { FooterLayoutModel, FooterLogoModel, FooterSocialChannelModel } from "../footer-section/footer-section.modal";
|
|
3
|
+
export interface HeaderSectionModel {
|
|
4
|
+
id: string;
|
|
5
|
+
sectionType: string;
|
|
6
|
+
sectionName: string;
|
|
7
|
+
content: HeaderContentModel;
|
|
8
|
+
styles: HeaderStyleModel;
|
|
9
|
+
}
|
|
10
|
+
export interface HeaderContentModel {
|
|
11
|
+
siteName: InputTextModel;
|
|
12
|
+
logo: FooterLogoModel;
|
|
13
|
+
isButton: boolean;
|
|
14
|
+
buttons: ButtonModel[];
|
|
15
|
+
isSocialLink: boolean;
|
|
16
|
+
socialLinks: FooterSocialChannelModel[];
|
|
17
|
+
}
|
|
18
|
+
export interface HeaderStyleModel {
|
|
19
|
+
layout: FooterLayoutModel;
|
|
20
|
+
background: BackgroundModel;
|
|
21
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -11,7 +11,27 @@ export * from './lib/sections/testimonial-section/testimonial-section.component'
|
|
|
11
11
|
export * from './lib/sections/text-image-section/text-image-section.component';
|
|
12
12
|
export * from './lib/sections/video-section/video-section.component';
|
|
13
13
|
export * from './lib/sections/navbar-section/navbar-section.component';
|
|
14
|
-
export * from './lib/
|
|
15
|
-
export * from './lib/
|
|
16
|
-
export * from './lib/
|
|
17
|
-
export * from './lib/
|
|
14
|
+
export * from './lib/directive/animation-directive';
|
|
15
|
+
export * from './lib/directive/background-directive';
|
|
16
|
+
export * from './lib/directive/banner-content-fit-directive';
|
|
17
|
+
export * from './lib/directive/border-directive';
|
|
18
|
+
export * from './lib/directive/button-directive.directive';
|
|
19
|
+
export * from './lib/directive/column-directive.directive';
|
|
20
|
+
export * from './lib/directive/container-fir.directive';
|
|
21
|
+
export * from './lib/directive/content-alignment-directive';
|
|
22
|
+
export * from './lib/directive/content-fit-directive';
|
|
23
|
+
export * from './lib/directive/corner-directive';
|
|
24
|
+
export * from './lib/directive/footer-layout-directive';
|
|
25
|
+
export * from './lib/directive/hover-element-directive';
|
|
26
|
+
export * from './lib/directive/image-directive.directive';
|
|
27
|
+
export * from './lib/directive/overlay-directive';
|
|
28
|
+
export * from './lib/directive/position-layout-directive.directive';
|
|
29
|
+
export * from './lib/directive/text-background-directive.directive';
|
|
30
|
+
export * from './lib/elements/below-image-card/below-image-card.component';
|
|
31
|
+
export * from './lib/elements/button/button.component';
|
|
32
|
+
export * from './lib/elements/covering-image-card/covering-image-card.component';
|
|
33
|
+
export * from './lib/elements/heading-element/heading-element.component';
|
|
34
|
+
export * from './lib/elements/simpo-button/simpo-button.component';
|
|
35
|
+
export * from './lib/elements/socia-icons/socia-icons.component';
|
|
36
|
+
export * from './lib/elements/text/text.component';
|
|
37
|
+
export * from './lib/elements/top-of-image-card/top-of-image-card.component';
|
|
Binary file
|
|
Binary file
|