simpo-component-library 0.5.1 → 0.5.3
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 +3 -3
- package/esm2022/lib/components/input-fields/input-fields.component.mjs +6 -4
- package/esm2022/lib/sections/banner-section/banner-section.component.mjs +3 -3
- package/esm2022/lib/sections/contact-us/contact-us.component.mjs +6 -3
- package/esm2022/lib/sections/contact-us/contact-us.modal.mjs +1 -1
- package/esm2022/lib/sections/image-carousel-section/image-carousel-section.component.mjs +3 -3
- package/esm2022/lib/sections/image-section/image-section.component.mjs +3 -3
- package/esm2022/lib/services/events.service.mjs +2 -1
- package/esm2022/lib/styles/types.mjs +1 -1
- package/fesm2022/simpo-component-library.mjs +19 -13
- 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/sections/contact-us/contact-us.component.d.ts +1 -0
- package/lib/sections/contact-us/contact-us.modal.d.ts +1 -0
- package/lib/services/events.service.d.ts +1 -0
- package/lib/styles/types.d.ts +1 -1
- package/package.json +1 -1
- package/simpo-component-library-0.5.3.tgz +0 -0
- package/simpo-component-library-0.5.1.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
|
}
|
|
@@ -17,6 +17,7 @@ export declare class ContactUsComponent extends BaseSection implements OnInit {
|
|
|
17
17
|
constructor(_eventService: EventsService);
|
|
18
18
|
ngOnInit(): void;
|
|
19
19
|
getWidthByField(field: any): "96" | "48";
|
|
20
|
+
buttonClick(): void;
|
|
20
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<ContactUsComponent, never>;
|
|
21
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<ContactUsComponent, "simpo-contact-us", never, { "data": { "alias": "data"; "required": false; }; "index": { "alias": "index"; "required": false; }; "edit": { "alias": "edit"; "required": false; }; "delete": { "alias": "delete"; "required": false; }; }, {}, never, never, true, never>;
|
|
22
23
|
}
|
|
@@ -11,6 +11,7 @@ export declare class EventsService {
|
|
|
11
11
|
restyleSection: EventEmitter<unknown>;
|
|
12
12
|
pageRedirectionButton: EventEmitter<unknown>;
|
|
13
13
|
buttonRedirection: EventEmitter<unknown>;
|
|
14
|
+
contactFormData: EventEmitter<unknown>;
|
|
14
15
|
backgroundImageChangeCheck: EventEmitter<unknown>;
|
|
15
16
|
colorOverlayChangeChecks: EventEmitter<unknown>;
|
|
16
17
|
alignmentChangeChecks: EventEmitter<unknown>;
|
package/lib/styles/types.d.ts
CHANGED
|
@@ -14,4 +14,4 @@ export type SOCIAL_ICON_SIZE = 'large' | 'medium' | 'small';
|
|
|
14
14
|
export type SOCIAL_ICON_SHAPE = 'circle' | 'square' | 'rounded';
|
|
15
15
|
export type SOCIAL_ICON_TYPE = 'solid' | 'outline';
|
|
16
16
|
export type SITE_NAME_LOGo = 'custom' | 'same as header';
|
|
17
|
-
export type INPUT_FIELDS_TYPE = "text" | "number" | "desc" | "password" | "checkbox" | "option" | "money" | "rating" | "dropdown" | "address";
|
|
17
|
+
export type INPUT_FIELDS_TYPE = "text" | "number" | "desc" | "password" | "checkbox" | "option" | "money" | "rating" | "dropdown" | "address" | "email";
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|